tft-fe/dist/js/2629.8606a504.js
2023-06-28 17:05:34 +08:00

2 lines
315 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2629],{2629:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Qp}});var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"finalInspectionData"},[t("el-row",{staticClass:"box-top"},[t("el-col",[t("div",{staticClass:"search-box"},[t("search-bar",{ref:"searchBarForm",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick,"select-changed":e.selectChanged}})],1)])],1),t("div",{staticClass:"box"},[t("split-pane",{scopedSlots:e._u([{key:"left",fn:function(){return[t("div",{staticClass:"split-pane left-box"},[t("span",{staticClass:"table-button",on:{click:e.generateReport}},[e._v("生成表格")]),t("base-table",{attrs:{selectWidth:40,"table-props":e.tablePropsL,"table-data":e.tableDataL,"max-height":e.tableHL},on:{"selection-change":e.selectChange}})],1)]},proxy:!0},{key:"right",fn:function(){return[t("div",{staticClass:"split-pane right-box"},[t("div",{staticClass:"inner-box"},[e.reportTitle?t("div",[t("span",{staticClass:"title"},[e._v(e._s(e.reportTitle))])]):e._e(),"玻璃基板品质报表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("glass-quality-report",{attrs:{tableData:e.glassQualityArr}})],1):e._e(),"厚度汇总报表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("glass-thick-report",{attrs:{tableData:e.thickReportArr}})],1):e._e(),"终检下片包装"===e.reportTitle?t("div",{staticClass:"table-box"},[t("glass-pack-report",{attrs:{tableData1:e.packClaReportArr,tableData2:e.packReportArr}})],1):e._e(),"玻璃判废统计表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("glass-waste-report",{attrs:{tableData:e.wasteReportArr}})],1):e._e(),"判废机组统计表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("waste-machine-report",{attrs:{tableData:e.wasteMachineArr}})],1):e._e(),"判废位置统计表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("waste-location-report",{attrs:{tableData:e.wasteLocationArr}})],1):e._e(),"玻璃基板缺陷报表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("glass-defect-report",{attrs:{tableData:e.glassDefectArr}})],1):e._e(),"厚度检查机报表"===e.reportTitle?t("div",{staticClass:"table-box"},[t("thickness-report",{attrs:{tableData:e.glassDefectArr}})],1):e._e()])])]},proxy:!0}]),model:{value:e.split1,callback:function(t){e.split1=t},expression:"split1"}})],1)],1)},a=[],s=r(475),i=r(6527),l=function(){var e=this,t=e._self._c;return t("div",[t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}})],1)},o=[];const c=[{prop:"time",label:"检测时间",filter:s.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"tin",label:"点状缺陷"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var f={name:"glassQualityReport",data(){return{tableProps:c,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},h=f,u=r(1001),p=(0,u.Z)(h,l,o,!1,null,null,null),d=p.exports,m=function(){var e=this,t=e._self._c;return t("div",[t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}})],1)},g=[];const v=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:s.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var b={name:"glassThickReport",data(){return{tableProps:v,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},T=b,w=(0,u.Z)(T,m,g,!1,null,null,null),E=w.exports,S=function(){var e=this,t=e._self._c;return t("div",[t("base-table",{attrs:{"table-props":e.tableProps1,"table-data":e.tableData1,"max-height":e.tableH}}),t("base-table",{attrs:{"table-props":e.tableProps2,"table-data":e.tableData2,"max-height":e.tableH}})],1)},A=[];const y=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{prop:"surfaceAvg",label:"颗粒均值",minWidth:120},{prop:"surfaceMin",label:"最小值",minWidth:120},{prop:"surfaceMax",label:"最大值",minWidth:120},{prop:"savg",label:"S均值<1um",minWidth:120},{prop:"mavg",label:"M均值1-3um",minWidth:120},{prop:"lavg",label:"L均值3-5um",minWidth:120},{prop:"xlAvg",label:"XL均值5-10um",minWidth:120},{prop:"defectAvg",label:"缺陷均值",minWidth:120},{prop:"defectMin",label:"最小值",minWidth:120},{prop:"defectMax",label:"最大值",minWidth:120},{prop:"blAvg",label:"气泡均值",minWidth:120},{prop:"distortionAvg",label:"变形均值",minWidth:120},{prop:"fiberAvg",label:"纤维均值",minWidth:120},{prop:"iisrestAvg",label:"无法识别均值",minWidth:120},{prop:"knotAvg",label:"结节均值",minWidth:120},{prop:"ptAvg",label:"铂金欠点均值",minWidth:120},{prop:"scratchAvg",label:"划伤均值",minWidth:120},{prop:"stoneAvg",label:"结石均值",minWidth:120},{prop:"tailAvg",label:"拖尾均值",minWidth:120},{prop:"tinAvg",label:"点状缺陷均值",minWidth:120},{prop:"bottomAvg",label:"锡(锡面)均值",minWidth:120},{prop:"topAvg",label:"锡(空气面)均值",minWidth:120}],k=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"rackNum",label:"包装架号",minWidth:120},{prop:"testTime",label:"包装时间",filter:s.g6,minWidth:160},{prop:"num",label:"包装数量",minWidth:120},{prop:"particleSum",label:"颗粒Sum",minWidth:120},{prop:"s",label:"S<1um",minWidth:120},{prop:"m",label:"M1-3um",minWidth:120},{prop:"l",label:"L3-5um",minWidth:120},{prop:"xl",label:"XL5-10um",minWidth:120},{prop:"defectSum",label:"缺陷Sum",minWidth:120},{prop:"bl",label:"气泡",minWidth:120},{prop:"distortion",label:"变形",minWidth:120},{prop:"fiber",label:"纤维",minWidth:120},{prop:"iisrest",label:"无法识别",minWidth:120},{prop:"knot",label:"结节",minWidth:120},{prop:"pt",label:"铂金欠点",minWidth:120},{prop:"scratch",label:"划伤",minWidth:120},{prop:"stone",label:"结石",minWidth:120},{prop:"tail",label:"拖尾",minWidth:120},{prop:"tin",label:"点状缺陷",minWidth:120},{prop:"bottom",label:"锡(锡面)",minWidth:120},{prop:"top",label:"锡(空气面)",minWidth:120},{prop:"adg",label:"ADG",minWidth:120},{prop:"allSum",label:"合计",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120}];var _={name:"glassPackReport",data(){return{tableProps1:y,tableProps2:k,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData1:{type:Array,required:!0,default:()=>[]},tableData2:{type:Array,required:!0,default:()=>[]}}},x=_,O=(0,u.Z)(x,S,A,!1,null,null,null),C=O.exports,R=function(){var e=this,t=e._self._c;return t("div",{staticClass:"glassWasteReport"},[t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH,page:1,limit:20,"show-summary":"","summary-method":e.getSummaries}})],1)},I=[];const N=[{prop:"glassId",label:"ID"},{prop:"qualified",label:"合格"},{prop:"lineA",label:"前工程不良",children:[{prop:"bubblesNum",label:"气泡数量"},{prop:"bubblesSize",label:"气泡尺寸"},{prop:"topNum",label:"上表锡数量"},{prop:"topSize",label:"上表锡尺寸"},{prop:"bottomNum",label:"下表锡数量"},{prop:"bottomSize",label:"下表锡尺寸"},{prop:"defectNum",label:"欠点数合计"},{prop:"defectGather",label:"缺陷聚集"},{prop:"tumor",label:"结瘤"},{prop:"pt",label:"PT"},{prop:"stone",label:"结石"},{prop:"otherPre",label:"其他"}]},{prop:"lineB",label:"后工程不良",children:[{prop:"kqOutnumber",label:"颗粒/面检数超"},{prop:"scratch",label:"划伤"},{prop:"kqGather",label:"颗粒/缺陷聚集"},{prop:"wheelMark",label:"轮印"},{prop:"grindingMark",label:"面磨印记"},{prop:"residue",label:"残留"},{prop:"stain",label:"污渍"},{prop:"fiber",label:"纤维"},{prop:"waterStain",label:"水渍"},{prop:"grindingCrack",label:"磨痕"},{prop:"airAbrasion",label:"气浮擦伤"},{prop:"fogSurface",label:"雾面"},{prop:"foreignBody",label:"异物"},{prop:"otherPost",label:"其他"}]}];var D={name:"glassWasteReport",data(){return{tableProps:N,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}},methods:{getSummaries(e){const{columns:t,data:r}=e,n=[];return t.forEach(((e,t)=>{if(0===t)return void(n[t]="汇总");if(1===t)return void(n[t]=" ");const a=r.map((t=>Number(t[e.property])));a.every((e=>isNaN(e)))?n[t]="0":n[t]=a.reduce(((e,t)=>{const r=Number(t);return isNaN(r)?e:e+t}),0)})),n}}},P=D,L=(0,u.Z)(P,R,I,!1,null,null,null),M=L.exports,F=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wasteMachineReport"},[t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}})],1)},U=[];const B=[{label:"研磨机组",children:[{prop:"name",label:"判废原因",minWidth:110}]},{prop:"name1",label:"1#"},{prop:"name2",label:"2#"},{prop:"name3",label:"3#"},{prop:"name4",label:"4#"},{prop:"name5",label:"5#"},{prop:"name6",label:"6#"},{prop:"name7",label:"7#"}];var W={name:"wasteMachineReport",data(){return{tableProps:B,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}},methods:{}},H=W,G=(0,u.Z)(H,F,U,!1,null,null,null),V=G.exports,j=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wasteLocationReport"},[t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}})],1)},z=[];const X=[{label:"九宫格",children:[{prop:"name",label:"判废原因",minWidth:110}]},{prop:"name1",label:"1#"},{prop:"name2",label:"2#"},{prop:"name3",label:"3#"},{prop:"name4",label:"4#"},{prop:"name5",label:"5#"},{prop:"name6",label:"6#"},{prop:"name7",label:"7#"},{prop:"name8",label:"8#"},{prop:"name9",label:"9#"},{prop:"name10",label:"整板"}];var K={name:"wasteLocationReport",data(){return{tableProps:X,tableH:(0,s.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},Y=K,Z=(0,u.Z)(Y,j,z,!1,null,null,null),J=Z.exports,q=function(){var e=this,t=e._self._c;return t("div",{staticClass:"glassDefectReport"},[t("ul",{staticClass:"baseMsg"},[e._m(0),t("li",{attrs:{title:e.glassId}},[t("span",[e._v("玻璃ID:")]),e._v(e._s(e.glassId))]),e._m(1),e._m(2)]),t("base-table",{attrs:{"table-props":e.tablePropsT,"table-data":e.tableDataT}}),t("base-table",{attrs:{"table-props":e.tablePropsB,"table-data":e.tableDataB}})],1)},Q=[function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("单位:")]),e._v("um")])},function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("生产日期:")]),e._v("2022.12.24 14:45:34")])},function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("等级:")]),e._v("G1")])}];const ee=[{label:"尺寸",children:[{prop:"name1",label:"面检缺陷",width:110}]},{label:"class1",children:[{prop:"class1",label:"<10*25",minWidth:70}]},{label:"class2",children:[{prop:"class2",label:"<10*25",minWidth:70}]},{label:"class3",children:[{prop:"class3",label:"<10*25",minWidth:70}]},{label:"class4",children:[{prop:"class4",label:"<10*25",minWidth:70}]},{label:"class5",children:[{prop:"class5",label:"<10*25",minWidth:70}]},{label:"class6",children:[{prop:"class6",label:"<10*25",minWidth:70}]},{label:"class7",children:[{prop:"class7",label:"<10*25",minWidth:70}]},{label:"class8",children:[{prop:"class8",label:"<10*25",minWidth:70}]},{label:"class9",children:[{prop:"class9",label:"<10*25",minWidth:70}]},{label:"class10",children:[{prop:"class10",label:"<10*25",minWidth:70}]},{prop:"total",label:"总数",minWidth:70}],te=[{label:"尺寸",children:[{prop:"name1",label:"面检缺陷",width:110}]},{label:"class1",children:[{prop:"class1",label:"100-200",minWidth:70}]},{label:"class2",children:[{prop:"class2",label:"200-500",minWidth:70}]},{label:"class3",children:[{prop:"class3",label:"300-800",minWidth:70}]},{label:"class4",children:[{prop:"class4",label:"500-1000",minWidth:70}]},{label:"class5",children:[{prop:"class5",label:"1000-2000",minWidth:70}]},{label:"class6",children:[{prop:"class6",label:"<1000-30000",minWidth:70}]},{label:"class7",children:[{prop:"class7",label:"1000-5000",minWidth:70}]},{label:"class8",children:[{prop:"class8",label:"1000-8000",minWidth:70}]},{label:"class9",children:[{prop:"class9",label:"1000-10000",minWidth:70}]},{label:"class10",children:[{prop:"class10",label:"1000-10000",minWidth:70}]},{prop:"total",label:"总数",minWidth:70}];var re={name:"glassDefectReport",data(){return{tablePropsT:ee,tableDataT:[],tablePropsB:te,tableDataB:[],glassId:"203839738763,5324723648623,87423745327845,23645326,4532675444"}},mounted(){this.getList()},methods:{getList(){this.tableDataT=[{name1:"BL",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Distortion",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Fiber",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"IIS rest",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Knot",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"PT",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Scratch",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Stone",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tail",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Bottom)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Top)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"面检sum",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20}],this.tableDataB=[{name1:"BL",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Distortion",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Fiber",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"IIS rest",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Knot",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"PT",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Scratch",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Stone",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tail",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Bottom)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Top)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"面检sum",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20}]}}},ne=re,ae=(0,u.Z)(ne,q,Q,!1,null,null,null),se=ae.exports,ie=function(){var e=this,t=e._self._c;return t("div",{staticClass:"thicknessReport"},[t("ul",{staticClass:"baseMsg"},[e._m(0),t("li",{attrs:{title:e.glassId}},[t("span",[e._v("玻璃ID:")]),e._v(e._s(e.glassId))]),e._m(1),e._m(2)]),t("base-table",{attrs:{"table-props":e.tableProps,"table-data":e.tableDD,"max-height":e.tableH,"show-header":!1}}),t("button",{on:{click:e.exportData}},[e._v("导出,(开发自测用,后续会删除)")])],1)},le=[function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("厚度检查机报表(此表接口还未调试)")])])},function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("检测时间:")]),e._v("2022.12.24 14:45:34")])},function(){var e=this,t=e._self._c;return t("li",[t("span",[e._v("研磨类型:")]),e._v("4ABC")])}],oe={version:"0.18.5"},ce=1200,fe=1252,he=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],ue={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},pe=function(e){-1!=he.indexOf(e)&&(fe=ue[0]=e)};function de(){pe(1252)}var me=function(e){ce=e,pe(e)};function ge(){me(1200),de()}function ve(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var be,Te=function(e){return String.fromCharCode(e)},we=function(e){return String.fromCharCode(e)};var Ee=null,Se=!0,Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ye(e){for(var t="",r=0,n=0,a=0,s=0,i=0,l=0,o=0,c=0;c<e.length;)r=e.charCodeAt(c++),s=r>>2,n=e.charCodeAt(c++),i=(3&r)<<4|n>>4,a=e.charCodeAt(c++),l=(15&n)<<2|a>>6,o=63&a,isNaN(n)?l=o=64:isNaN(a)&&(o=64),t+=Ae.charAt(s)+Ae.charAt(i)+Ae.charAt(l)+Ae.charAt(o);return t}function ke(e){var t="",r=0,n=0,a=0,s=0,i=0,l=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)s=Ae.indexOf(e.charAt(c++)),i=Ae.indexOf(e.charAt(c++)),r=s<<2|i>>4,t+=String.fromCharCode(r),l=Ae.indexOf(e.charAt(c++)),n=(15&i)<<4|l>>2,64!==l&&(t+=String.fromCharCode(n)),o=Ae.indexOf(e.charAt(c++)),a=(3&l)<<6|o,64!==o&&(t+=String.fromCharCode(a));return t}var _e=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),xe=function(){if("undefined"!==typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function Oe(e){return _e?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function Ce(e){return _e?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var Re=function(e){return _e?xe(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function Ie(e){if("undefined"===typeof ArrayBuffer)return Re(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function Ne(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function De(e){if("undefined"===typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}var Pe=_e?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:xe(e)})))}:function(e){if("undefined"!==typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};function Le(e){for(var t=[],r=0,n=e.length+250,a=Oe(e.length+255),s=0;s<e.length;++s){var i=e.charCodeAt(s);if(i<128)a[r++]=i;else if(i<2048)a[r++]=192|i>>6&31,a[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var l=1023&e.charCodeAt(++s);a[r++]=240|i>>8&7,a[r++]=128|i>>2&63,a[r++]=128|l>>6&15|(3&i)<<4,a[r++]=128|63&l}else a[r++]=224|i>>12&15,a[r++]=128|i>>6&63,a[r++]=128|63&i;r>n&&(t.push(a.slice(0,r)),r=0,a=Oe(65535),n=65530)}return t.push(a.slice(0,r)),Pe(t)}var Me=/\u0000/g,Fe=/[\u0001-\u0006]/g;function Ue(e){var t="",r=e.length-1;while(r>=0)t+=e.charAt(r--);return t}function Be(e,t){var r=""+e;return r.length>=t?r:vr("0",t-r.length)+r}function We(e,t){var r=""+e;return r.length>=t?r:vr(" ",t-r.length)+r}function He(e,t){var r=""+e;return r.length>=t?r:r+vr(" ",t-r.length)}function Ge(e,t){var r=""+Math.round(e);return r.length>=t?r:vr("0",t-r.length)+r}function Ve(e,t){var r=""+e;return r.length>=t?r:vr("0",t-r.length)+r}var je=Math.pow(2,32);function ze(e,t){if(e>je||e<-je)return Ge(e,t);var r=Math.round(e);return Ve(r,t)}function $e(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var Xe=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Ke=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Ye(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var Ze={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},Je={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},qe={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Qe(e,t,r){var n=e<0?-1:1,a=e*n,s=0,i=1,l=0,o=1,c=0,f=0,h=Math.floor(a);while(c<t){if(h=Math.floor(a),l=h*i+s,f=h*c+o,a-h<5e-8)break;a=1/(a-h),s=i,i=l,o=c,c=f}if(f>t&&(c>t?(f=o,l=s):(f=c,l=i)),!r)return[0,n*l,f];var u=Math.floor(n*l/f);return[u,n*l-u*f,f]}function et(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),s=0,i=[],l={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(l.u)<1e-6&&(l.u=0),t&&t.date1904&&(n+=1462),l.u>.9999&&(l.u=0,86400==++a&&(l.T=a=0,++n,++l.D)),60===n)i=r?[1317,10,29]:[1900,2,29],s=3;else if(0===n)i=r?[1317,8,29]:[1900,1,0],s=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),i=[o.getFullYear(),o.getMonth()+1,o.getDate()],s=o.getDay(),n<60&&(s=(s+6)%7),r&&(s=ht(o,i))}return l.y=i[0],l.m=i[1],l.d=i[2],l.S=a%60,a=Math.floor(a/60),l.M=a%60,a=Math.floor(a/60),l.H=a,l.q=s,l}var tt=new Date(1899,11,31,0,0,0),rt=tt.getTime(),nt=new Date(1900,2,1,0,0,0);function at(e,t){var r=e.getTime();return t?r-=1262304e5:e>=nt&&(r+=864e5),(r-(rt+6e4*(e.getTimezoneOffset()-tt.getTimezoneOffset())))/864e5}function st(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function it(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function lt(e){var t=e<0?12:11,r=st(e.toFixed(12));return r.length<=t?r:(r=e.toPrecision(10),r.length<=t?r:e.toExponential(5))}function ot(e){var t=st(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}function ct(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?lt(e):10===r?e.toFixed(10).substr(0,12):ot(e),st(it(t.toUpperCase()))}function ft(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):ct(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Gt(14,at(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function ht(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function ut(e,t,r,n){var a,s="",i=0,l=0,o=r.y,c=0;switch(e){case 98:o=r.y+543;case 121:switch(t.length){case 1:case 2:a=o%100,c=2;break;default:a=o%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:a=r.m,c=t.length;break;case 3:return Ke[r.m-1][1];case 5:return Ke[r.m-1][0];default:return Ke[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=r.d,c=t.length;break;case 3:return Xe[r.q][0];default:return Xe[r.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(r.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=r.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=r.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(l=n>=2?3===n?1e3:100:1===n?10:1,i=Math.round(l*(r.S+r.u)),i>=60*l&&(i=0),"s"===t?0===i?"0":""+i/l:(s=Be(i,2+n),"ss"===t?s.substr(0,2):"."+s.substr(2,t.length-1))):Be(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*r.D+r.H;break;case"[m]":case"[mm]":a=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":a=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:a=o,c=1;break}var f=c>0?Be(a,c):"";return f}function pt(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var dt=/%/g;function mt(e,t,r){var n=t.replace(dt,""),a=t.length-n.length;return Pt(e,n,r*Math.pow(10,2*a))+vr("%",a)}function gt(e,t,r){var n=t.length-1;while(44===t.charCodeAt(n-1))--n;return Pt(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function vt(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+vt(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%a;if(s<0&&(s+=a),r=(t/Math.pow(10,s)).toPrecision(n+1+(a+s)%a),-1===r.indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+s):r+="E+"+(i-s);while("0."===r.substr(0,2))r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+s)%a)+"."+n.substr(s)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var bt=/# (\?+)( ?)\/( ?)(\d+)/;function Tt(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),s=Math.floor(a/n),i=a-s*n,l=n;return r+(0===s?"":""+s)+" "+(0===i?vr(" ",e[1].length+1+e[4].length):We(i,e[1].length)+e[2]+"/"+e[3]+Be(l,e[4].length))}function wt(e,t,r){return r+(0===t?"":""+t)+vr(" ",e[1].length+2+e[4].length)}var Et=/^#*0*\.([0#]+)/,St=/\).*[0#]/,At=/\(###\) ###\\?-####/;function yt(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function kt(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function _t(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function xt(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Ot(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Ct(e,t,r){if(40===e.charCodeAt(0)&&!t.match(St)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ct("n",n,r):"("+Ct("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return gt(e,t,r);if(-1!==t.indexOf("%"))return mt(e,t,r);if(-1!==t.indexOf("E"))return vt(t,r);if(36===t.charCodeAt(0))return"$"+Ct(e,t.substr(" "==t.charAt(1)?2:1),r);var a,s,i,l,o=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+ze(o,t.length);if(t.match(/^[#?]+$/))return a=ze(r,0),"0"===a&&(a=""),a.length>t.length?a:yt(t.substr(0,t.length-a.length))+a;if(s=t.match(bt))return Tt(s,o,c);if(t.match(/^#+0+$/))return c+ze(o,t.length-t.indexOf("0"));if(s=t.match(Et))return a=kt(r,s[1].length).replace(/^([^\.]+)$/,"$1."+yt(s[1])).replace(/\.$/,"."+yt(s[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+vr("0",yt(s[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+kt(o,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+pt(ze(o,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ct(e,t,-r):pt(""+(Math.floor(r)+xt(r,s[1].length)))+"."+Be(_t(r,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return Ct(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Ue(Ct(e,t.replace(/[\\-]/g,""),r)),i=0,Ue(Ue(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(At))return a=Ct(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),l=Qe(o,Math.pow(10,i)-1,!1),a=""+c,f=Pt("n",s[1],l[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),a+=f+s[2]+"/"+s[3],f=He(l[2],i),f.length<s[4].length&&(f=yt(s[4].substr(s[4].length-f.length))+f),a+=f,a;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),l=Qe(o,Math.pow(10,i)-1,!0),c+(l[0]||(l[1]?"":"0"))+" "+(l[1]?We(l[1],i)+s[2]+"/"+s[3]+He(l[2],i):vr(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return a=ze(r,0),t.length<=a.length?a:yt(t.substr(0,t.length-a.length))+a;if(s=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var h=t.indexOf(".")-i,u=t.length-a.length-h;return yt(t.substr(0,h)+a+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return i=_t(r,s[1].length),r<0?"-"+Ct(e,t,-r):pt(Ot(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?Be(0,3-e.length):"")+e}))+"."+Be(i,s[1].length);switch(t){case"###,##0.00":return Ct(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var p=pt(ze(o,0));return"0"!==p?c+p:"";case"###,###.00":return Ct(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Ct(e,"#,##0.00",r).replace(/^0\./,".");default:}throw new Error("unsupported format |"+t+"|")}function Rt(e,t,r){var n=t.length-1;while(44===t.charCodeAt(n-1))--n;return Pt(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function It(e,t,r){var n=t.replace(dt,""),a=t.length-n.length;return Pt(e,n,r*Math.pow(10,2*a))+vr("%",a)}function Nt(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Nt(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%a;if(s<0&&(s+=a),r=(t/Math.pow(10,s)).toPrecision(n+1+(a+s)%a),!r.match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+s):r+="E+"+(i-s),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+s)%a)+"."+n.substr(s)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function Dt(e,t,r){if(40===e.charCodeAt(0)&&!t.match(St)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Dt("n",n,r):"("+Dt("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return Rt(e,t,r);if(-1!==t.indexOf("%"))return It(e,t,r);if(-1!==t.indexOf("E"))return Nt(t,r);if(36===t.charCodeAt(0))return"$"+Dt(e,t.substr(" "==t.charAt(1)?2:1),r);var a,s,i,l,o=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+Be(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,0===r&&(a=""),a.length>t.length?a:yt(t.substr(0,t.length-a.length))+a;if(s=t.match(bt))return wt(s,o,c);if(t.match(/^#+0+$/))return c+Be(o,t.length-t.indexOf("0"));if(s=t.match(Et))return a=(""+r).replace(/^([^\.]+)$/,"$1."+yt(s[1])).replace(/\.$/,"."+yt(s[1])),a=a.replace(/\.(\d*)$/,(function(e,t){return"."+t+vr("0",yt(s[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+pt(""+o);if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Dt(e,t,-r):pt(""+r)+"."+vr("0",s[1].length);if(s=t.match(/^#,#*,#0/))return Dt(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Ue(Dt(e,t.replace(/[\\-]/g,""),r)),i=0,Ue(Ue(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(At))return a=Dt(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),l=Qe(o,Math.pow(10,i)-1,!1),a=""+c,f=Pt("n",s[1],l[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),a+=f+s[2]+"/"+s[3],f=He(l[2],i),f.length<s[4].length&&(f=yt(s[4].substr(s[4].length-f.length))+f),a+=f,a;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),l=Qe(o,Math.pow(10,i)-1,!0),c+(l[0]||(l[1]?"":"0"))+" "+(l[1]?We(l[1],i)+s[2]+"/"+s[3]+He(l[2],i):vr(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:yt(t.substr(0,t.length-a.length))+a;if(s=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var h=t.indexOf(".")-i,u=t.length-a.length-h;return yt(t.substr(0,h)+a+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Dt(e,t,-r):pt(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?Be(0,3-e.length):"")+e}))+"."+Be(0,s[1].length);switch(t){case"###,###":case"##,###":case"#,###":var p=pt(""+o);return"0"!==p?c+p:"";default:if(t.match(/\.[0#?]*$/))return Dt(e,t.slice(0,t.lastIndexOf(".")),r)+yt(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Pt(e,t,r){return(0|r)===r?Dt(e,t,r):Ct(e,t,r)}function Lt(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}var Mt=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ft(e){var t=0,r="",n="";while(t<e.length)switch(r=e.charAt(t)){case"G":$e(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":n=r;while("]"!==e.charAt(t++)&&t<e.length)n+=e.charAt(t);if(n.match(Mt))return!0;break;case".":case"0":case"#":while(t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1));break;case"?":while(e.charAt(++t)===r);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1);break;case" ":++t;break;default:++t;break}return!1}function Ut(e,t,r,n){var a,s,i,l=[],o="",c=0,f="",h="t",u="H";while(c<e.length)switch(f=e.charAt(c)){case"G":if(!$e(e,c))throw new Error("unrecognized character "+f+" in "+e);l[l.length]={t:"G",v:"General"},c+=7;break;case'"':for(o="";34!==(i=e.charCodeAt(++c))&&c<e.length;)o+=String.fromCharCode(i);l[l.length]={t:"t",v:o},++c;break;case"\\":var p=e.charAt(++c),d="("===p||")"===p?p:"t";l[l.length]={t:d,v:p},++c;break;case"_":l[l.length]={t:"t",v:" "},c+=2;break;case"@":l[l.length]={t:"T",v:t},++c;break;case"B":case"b":if("1"===e.charAt(c+1)||"2"===e.charAt(c+1)){if(null==a&&(a=et(t,r,"2"===e.charAt(c+1)),null==a))return"";l[l.length]={t:"X",v:e.substr(c,2)},h=f,c+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&(a=et(t,r),null==a))return"";o=f;while(++c<e.length&&e.charAt(c).toLowerCase()===f)o+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=u),l[l.length]={t:f,v:o},h=f;break;case"A":case"a":case"上":var m={t:f,v:f};if(null==a&&(a=et(t,r)),"A/P"===e.substr(c,3).toUpperCase()?(null!=a&&(m.v=a.H>=12?"P":"A"),m.t="T",u="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,u="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"下午":"上午"),m.t="T",c+=5,u="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";l[l.length]=m,h=f;break;case"[":o=f;while("]"!==e.charAt(c++)&&c<e.length)o+=e.charAt(c);if("]"!==o.slice(-1))throw'unterminated "[" block: |'+o+"|";if(o.match(Mt)){if(null==a&&(a=et(t,r),null==a))return"";l[l.length]={t:"Z",v:o.toLowerCase()},h=o.charAt(1)}else o.indexOf("$")>-1&&(o=(o.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ft(e)||(l[l.length]={t:"t",v:o}));break;case".":if(null!=a){o=f;while(++c<e.length&&"0"===(f=e.charAt(c)))o+=f;l[l.length]={t:"s",v:o};break}case"0":case"#":o=f;while(++c<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(c))>-1)o+=f;l[l.length]={t:"n",v:o};break;case"?":o=f;while(e.charAt(++c)===f)o+=f;l[l.length]={t:f,v:o},h=f;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":l[l.length]={t:1===n?"t":f,v:f},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":o=f;while(c<e.length&&"0123456789".indexOf(e.charAt(++c))>-1)o+=e.charAt(c);l[l.length]={t:"D",v:o};break;case" ":l[l.length]={t:f,v:f},++c;break;case"$":l[l.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);l[l.length]={t:"t",v:f},++c;break}var g,v=0,b=0;for(c=l.length-1,h="t";c>=0;--c)switch(l[c].t){case"h":case"H":l[c].t=u,h="h",v<1&&(v=1);break;case"s":(g=l[c].v.match(/\.0+$/))&&(b=Math.max(b,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":h=l[c].t;break;case"m":"s"===h&&(l[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&l[c].v.match(/[Hh]/)&&(v=1),v<2&&l[c].v.match(/[Mm]/)&&(v=2),v<3&&l[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M);break}var T,w="";for(c=0;c<l.length;++c)switch(l[c].t){case"t":case"T":case" ":case"D":break;case"X":l[c].v="",l[c].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":l[c].v=ut(l[c].t.charCodeAt(0),l[c].v,a,b),l[c].t="t";break;case"n":case"?":T=c+1;while(null!=l[T]&&("?"===(f=l[T].t)||"D"===f||(" "===f||"t"===f)&&null!=l[T+1]&&("?"===l[T+1].t||"t"===l[T+1].t&&"/"===l[T+1].v)||"("===l[c].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===l[T].v||" "===l[T].v&&null!=l[T+1]&&"?"==l[T+1].t)))l[c].v+=l[T].v,l[T]={v:"",t:";"},++T;w+=l[c].v,c=T-1;break;case"G":l[c].t="t",l[c].v=ft(t,r);break}var E,S,A="";if(w.length>0){40==w.charCodeAt(0)?(E=t<0&&45===w.charCodeAt(0)?-t:t,S=Pt("n",w,E)):(E=t<0&&n>1?-t:t,S=Pt("n",w,E),E<0&&l[0]&&"t"==l[0].t&&(S=S.substr(1),l[0].v="-"+l[0].v)),T=S.length-1;var y=l.length;for(c=0;c<l.length;++c)if(null!=l[c]&&"t"!=l[c].t&&l[c].v.indexOf(".")>-1){y=c;break}var k=l.length;if(y===l.length&&-1===S.indexOf("E")){for(c=l.length-1;c>=0;--c)null!=l[c]&&-1!=="n?".indexOf(l[c].t)&&(T>=l[c].v.length-1?(T-=l[c].v.length,l[c].v=S.substr(T+1,l[c].v.length)):T<0?l[c].v="":(l[c].v=S.substr(0,T+1),T=-1),l[c].t="t",k=c);T>=0&&k<l.length&&(l[k].v=S.substr(0,T+1)+l[k].v)}else if(y!==l.length&&-1===S.indexOf("E")){for(T=S.indexOf(".")-1,c=y;c>=0;--c)if(null!=l[c]&&-1!=="n?".indexOf(l[c].t)){for(s=l[c].v.indexOf(".")>-1&&c===y?l[c].v.indexOf(".")-1:l[c].v.length-1,A=l[c].v.substr(s+1);s>=0;--s)T>=0&&("0"===l[c].v.charAt(s)||"#"===l[c].v.charAt(s))&&(A=S.charAt(T--)+A);l[c].v=A,l[c].t="t",k=c}for(T>=0&&k<l.length&&(l[k].v=S.substr(0,T+1)+l[k].v),T=S.indexOf(".")+1,c=y;c<l.length;++c)if(null!=l[c]&&(-1!=="n?(".indexOf(l[c].t)||c===y)){for(s=l[c].v.indexOf(".")>-1&&c===y?l[c].v.indexOf(".")+1:0,A=l[c].v.substr(0,s);s<l[c].v.length;++s)T<S.length&&(A+=S.charAt(T++));l[c].v=A,l[c].t="t",k=c}}}for(c=0;c<l.length;++c)null!=l[c]&&"n?".indexOf(l[c].t)>-1&&(E=n>1&&t<0&&c>0&&"-"===l[c-1].v?-t:t,l[c].v=Pt(l[c].t,l[c].v,E),l[c].t="t");var _="";for(c=0;c!==l.length;++c)null!=l[c]&&(_+=l[c].v);return _}var Bt=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Wt(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function Ht(e,t){var r=Lt(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break;case 4:break}var s=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,s];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(Bt),l=r[1].match(Bt);return Wt(t,i)?[n,r[0]]:Wt(t,l)?[n,r[1]]:[n,r[null!=i&&null!=l?2:1]]}return[n,s]}function Gt(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:Ze)[e],null==n&&(n=r.table&&r.table[Je[e]]||Ze[Je[e]]),null==n&&(n=qe[e]||"General");break}if($e(n,0))return ft(t,r);t instanceof Date&&(t=at(t,r.date1904));var a=Ht(n,t);if($e(a[1]))return ft(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return Ut(a[1],t,r,a[0])}function Vt(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(void 0!=Ze[r]){if(Ze[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return Ze[t]=e,t}function jt(e){for(var t=0;392!=t;++t)void 0!==e[t]&&Vt(e[t],t)}function zt(){Ze=Ye()}var $t=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Xt(e){var t="number"==typeof e?Ze[e]:e;return t=t.replace($t,"(\\d+)"),new RegExp("^"+t+"$")}function Kt(e,t,r){var n=-1,a=-1,s=-1,i=-1,l=-1,o=-1;(t.match($t)||[]).forEach((function(e,t){var c=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=c;break;case"d":s=c;break;case"h":i=c;break;case"s":o=c;break;case"m":i>=0?l=c:a=c;break}})),o>=0&&-1==l&&a>=0&&(l=a,a=-1);var c=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var f=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return-1==i&&-1==l&&-1==o?c:-1==n&&-1==a&&-1==s?f:c+"T"+f}var Yt=function(){var e={};function t(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=r,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var r=t();function n(e){var t=0,r=0,n=0,a="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=a[t]=r>>>8^e[255&r];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!==typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return s}var a=n(r),s=a[0],i=a[1],l=a[2],o=a[3],c=a[4],f=a[5],h=a[6],u=a[7],p=a[8],d=a[9],m=a[10],g=a[11],v=a[12],b=a[13],T=a[14];function w(e,t){for(var n=-1^t,a=0,s=e.length;a<s;)n=n>>>8^r[255&(n^e.charCodeAt(a++))];return~n}function E(e,t){for(var n=-1^t,a=e.length-15,w=0;w<a;)n=T[e[w++]^255&n]^b[e[w++]^n>>8&255]^v[e[w++]^n>>16&255]^g[e[w++]^n>>>24]^m[e[w++]]^d[e[w++]]^p[e[w++]]^u[e[w++]]^h[e[w++]]^f[e[w++]]^c[e[w++]]^o[e[w++]]^l[e[w++]]^i[e[w++]]^s[e[w++]]^r[e[w++]];a+=15;while(w<a)n=n>>>8^r[255&(n^e[w++])];return~n}function S(e,t){for(var n=-1^t,a=0,s=e.length,i=0,l=0;a<s;)i=e.charCodeAt(a++),i<128?n=n>>>8^r[255&(n^i)]:i<2048?(n=n>>>8^r[255&(n^(192|i>>6&31))],n=n>>>8^r[255&(n^(128|63&i))]):i>=55296&&i<57344?(i=64+(1023&i),l=1023&e.charCodeAt(a++),n=n>>>8^r[255&(n^(240|i>>8&7))],n=n>>>8^r[255&(n^(128|i>>2&63))],n=n>>>8^r[255&(n^(128|l>>6&15|(3&i)<<4))],n=n>>>8^r[255&(n^(128|63&l))]):(n=n>>>8^r[255&(n^(224|i>>12&15))],n=n>>>8^r[255&(n^(128|i>>6&63))],n=n>>>8^r[255&(n^(128|63&i))]);return~n}return e.table=r,e.bstr=w,e.buf=E,e.str=S,e}(),Zt=function(){var e,t={};function r(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,s=0,i=Math.min(r.length,n.length);a<i;++a){if(s=r[a].length-n[a].length)return s;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(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 s(e,t){"string"===typeof t&&(t=new Date(t));var r=t.getHours();r=r<<6|t.getMinutes(),r=r<<5|t.getSeconds()>>>1,e.write_shift(2,r);var n=t.getFullYear()-1980;n=n<<4|t.getMonth()+1,n=n<<5|t.getDate(),e.write_shift(2,n)}function i(e){var t=65535&e.read_shift(2),r=65535&e.read_shift(2),n=new Date,a=31&r;r>>>=5;var s=15&r;r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(s-1),n.setDate(a);var i=31&t;t>>>=5;var l=63&t;return t>>>=6,n.setHours(t),n.setMinutes(l),n.setSeconds(i<<1),n}function l(e){Pn(e,0);var t={},r=0;while(e.l<=e.length-4){var n=e.read_shift(2),a=e.read_shift(2),s=e.l+a,i={};switch(n){case 21589:r=e.read_shift(1),1&r&&(i.mtime=e.read_shift(4)),a>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));break}e.l=s,t[n]=i}return t}function o(){return e||(e={})}function c(e,t){if(80==e[0]&&75==e[1])return Ee(e,t);if(109==(32|e[0])&&105==(32|e[1]))return We(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r=3,n=512,a=0,s=0,i=0,l=0,o=0,c=[],d=e.slice(0,512);Pn(d,0);var g=f(d);switch(r=g[0],r){case 3:n=512;break;case 4:n=4096;break;case 0:if(0==g[1])return Ee(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==n&&(d=e.slice(0,n),Pn(d,28));var T=e.slice(0,n);h(d,r);var w=d.read_shift(4,"i");if(3===r&&0!==w)throw new Error("# Directory Sectors: Expected 0 saw "+w);d.l+=4,i=d.read_shift(4,"i"),d.l+=4,d.chk("00100000","Mini Stream Cutoff Size: "),l=d.read_shift(4,"i"),a=d.read_shift(4,"i"),o=d.read_shift(4,"i"),s=d.read_shift(4,"i");for(var E=-1,S=0;S<109;++S){if(E=d.read_shift(4,"i"),E<0)break;c[S]=E}var A=u(e,n);m(o,s,A,n,c);var y=v(A,i,c,n);y[i].name="!Directory",a>0&&l!==C&&(y[l].name="!MiniFAT"),y[c[0]].name="!FAT",y.fat_addrs=c,y.ssz=n;var k={},_=[],x=[],O=[];b(i,y,A,_,a,k,x,l),p(x,O,_),_.shift();var R={FileIndex:x,FullPaths:O};return t&&t.raw&&(R.raw={header:T,sectors:A}),R}function f(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(R,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function h(e,t){var r=9;switch(e.l+=2,r=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function u(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}function p(e,t,r){for(var n=0,a=0,s=0,i=0,l=0,o=r.length,c=[],f=[];n<o;++n)c[n]=f[n]=n,t[n]=r[n];for(;l<f.length;++l)n=f[l],a=e[n].L,s=e[n].R,i=e[n].C,c[n]===n&&(-1!==a&&c[a]!==a&&(c[n]=c[a]),-1!==s&&c[s]!==s&&(c[n]=c[s])),-1!==i&&(c[i]=n),-1!==a&&n!=c[n]&&(c[a]=c[n],f.lastIndexOf(a)<l&&f.push(a)),-1!==s&&n!=c[n]&&(c[s]=c[n],f.lastIndexOf(s)<l&&f.push(s));for(n=1;n<o;++n)c[n]===n&&(-1!==s&&c[s]!==s?c[n]=c[s]:-1!==a&&c[a]!==a&&(c[n]=c[a]));for(n=1;n<o;++n)if(0!==e[n].type){if(l=n,l!=c[l])do{l=c[l],t[n]=t[l]+"/"+t[n]}while(0!==l&&-1!==c[l]&&l!=c[l]);c[n]=-1}for(t[0]+="/",n=1;n<o;++n)2!==e[n].type&&(t[n]+="/")}function d(e,t,r){var n=e.start,a=e.size,s=[],i=n;while(r&&a>0&&i>=0)s.push(t.slice(i*O,i*O+O)),a-=O,i=_n(r,4*i);return 0===s.length?Mn(0):Pe(s).slice(0,e.size)}function m(e,t,r,n,a){var s=C;if(e===C){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=r[e],l=(n>>>2)-1;if(!i)return;for(var o=0;o<l;++o){if((s=_n(i,4*o))===C)break;a.push(s)}m(_n(i,n-4),t-1,r,n,a)}}function g(e,t,r,n,a){var s=[],i=[];a||(a=[]);var l=n-1,o=0,c=0;for(o=t;o>=0;){a[o]=!0,s[s.length]=o,i.push(e[o]);var f=r[Math.floor(4*o/n)];if(c=4*o&l,n<4+c)throw new Error("FAT boundary crossed: "+o+" 4 "+n);if(!e[f])break;o=_n(e[f],c)}return{nodes:s,data:en([i])}}function v(e,t,r,n){var a=e.length,s=[],i=[],l=[],o=[],c=n-1,f=0,h=0,u=0,p=0;for(f=0;f<a;++f)if(l=[],u=f+t,u>=a&&(u-=a),!i[u]){o=[];var d=[];for(h=u;h>=0;){d[h]=!0,i[h]=!0,l[l.length]=h,o.push(e[h]);var m=r[Math.floor(4*h/n)];if(p=4*h&c,n<4+p)throw new Error("FAT boundary crossed: "+h+" 4 "+n);if(!e[m])break;if(h=_n(e[m],p),d[h])break}s[u]={nodes:l,data:en([o])}}return s}function b(e,t,r,n,a,s,i,l){for(var o,c=0,f=n.length?2:0,h=t[e].data,u=0,p=0;u<h.length;u+=128){var m=h.slice(u,u+128);Pn(m,64),p=m.read_shift(2),o=rn(m,0,p-f),n.push(o);var v={name:o,type:m.read_shift(1),color:m.read_shift(1),L:m.read_shift(4,"i"),R:m.read_shift(4,"i"),C:m.read_shift(4,"i"),clsid:m.read_shift(16),state:m.read_shift(4,"i"),start:0,size:0},b=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==b&&(v.ct=T(m,m.l-8));var w=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==w&&(v.mt=T(m,m.l-8)),v.start=m.read_shift(4,"i"),v.size=m.read_shift(4,"i"),v.size<0&&v.start<0&&(v.size=v.type=0,v.start=C,v.name=""),5===v.type?(c=v.start,a>0&&c!==C&&(t[c].name="!StreamData")):v.size>=4096?(v.storage="fat",void 0===t[v.start]&&(t[v.start]=g(r,v.start,t.fat_addrs,t.ssz)),t[v.start].name=v.name,v.content=t[v.start].data.slice(0,v.size)):(v.storage="minifat",v.size<0?v.size=0:c!==C&&v.start!==C&&t[c]&&(v.content=d(v,t[c].data,(t[l]||{}).data))),v.content&&Pn(v.content,0),s[o]=v,i.push(v)}}function T(e,t){return new Date(1e3*(kn(e,t+4)/1e7*Math.pow(2,32)+kn(e,t)/1e7-11644473600))}function w(t,r){return o(),c(e.readFileSync(t),r)}function E(e,t){var r=t&&t.type;switch(r||_e&&Buffer.isBuffer(e)&&(r="buffer"),r||"base64"){case"file":return w(e,t);case"base64":return c(Re(ke(e)),t);case"binary":return c(Re(e),t)}return c(e,t)}function S(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),A(e)}function A(e){var t="Sh33tJ5";if(!Zt.find(e,"/"+t)){var r=Mn(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),y(e)}}function y(e,t){S(e);for(var s=!1,i=!1,l=e.FullPaths.length-1;l>=0;--l){var o=e.FileIndex[l];switch(o.type){case 0:i?s=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:i=!0,isNaN(o.R*o.L*o.C)&&(s=!0),o.R>-1&&o.L>-1&&o.R==o.L&&(s=!0);break;default:s=!0;break}}if(s||t){var c=new Date(1987,1,19),f=0,h=Object.create?Object.create(null):{},u=[];for(l=0;l<e.FullPaths.length;++l)h[e.FullPaths[l]]=!0,0!==e.FileIndex[l].type&&u.push([e.FullPaths[l],e.FileIndex[l]]);for(l=0;l<u.length;++l){var p=n(u[l][0]);i=h[p],i||(u.push([p,{name:a(p).replace("/",""),type:1,clsid:N,ct:c,mt:c,content:null}]),h[p]=!0)}for(u.sort((function(e,t){return r(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],l=0;l<u.length;++l)e.FullPaths[l]=u[l][0],e.FileIndex[l]=u[l][1];for(l=0;l<u.length;++l){var d=e.FileIndex[l],m=e.FullPaths[l];if(d.name=a(m).replace("/",""),d.L=d.R=d.C=-(d.color=1),d.size=d.content?d.content.length:0,d.start=0,d.clsid=d.clsid||N,0===l)d.C=u.length>1?1:-1,d.size=0,d.type=5;else if("/"==m.slice(-1)){for(f=l+1;f<u.length;++f)if(n(e.FullPaths[f])==m)break;for(d.C=f>=u.length?-1:f,f=l+1;f<u.length;++f)if(n(e.FullPaths[f])==n(m))break;d.R=f>=u.length?-1:f,d.type=1}else n(e.FullPaths[l+1]||"")==n(m)&&(d.R=l+1),d.type=2}}}function k(e,t){var r=t||{};if("mad"==r.fileType)return He(e,r);switch(y(e),r.fileType){case"zip":return Ae(e,r)}var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var s=a.content.length;s>0&&(s<4096?t+=s+63>>6:r+=s+511>>9)}}var i=e.FullPaths.length+3>>2,l=t+7>>3,o=t+127>>7,c=l+r+i+o,f=c+127>>7,h=f<=109?0:Math.ceil((f-109)/127);while(c+f+h+127>>7>f)h=++f<=109?0:Math.ceil((f-109)/127);var u=[1,h,f,o,i,r,t,0];return e.FileIndex[0].size=t<<6,u[7]=(e.FileIndex[0].start=u[0]+u[1]+u[2]+u[3]+u[4]+u[5])+(u[6]+7>>3),u}(e),a=Mn(n[7]<<9),s=0,i=0;for(s=0;s<8;++s)a.write_shift(1,I[s]);for(s=0;s<8;++s)a.write_shift(2,0);for(a.write_shift(2,62),a.write_shift(2,3),a.write_shift(2,65534),a.write_shift(2,9),a.write_shift(2,6),s=0;s<3;++s)a.write_shift(2,0);for(a.write_shift(4,0),a.write_shift(4,n[2]),a.write_shift(4,n[0]+n[1]+n[2]+n[3]-1),a.write_shift(4,0),a.write_shift(4,4096),a.write_shift(4,n[3]?n[0]+n[1]+n[2]-1:C),a.write_shift(4,n[3]),a.write_shift(-4,n[1]?n[0]-1:C),a.write_shift(4,n[1]),s=0;s<109;++s)a.write_shift(-4,s<n[2]?n[1]+s:-1);if(n[1])for(i=0;i<n[1];++i){for(;s<236+127*i;++s)a.write_shift(-4,s<n[2]?n[1]+s:-1);a.write_shift(-4,i===n[1]-1?C:i+1)}var l=function(e){for(i+=e;s<i-1;++s)a.write_shift(-4,s+1);e&&(++s,a.write_shift(-4,C))};for(i=s=0,i+=n[1];s<i;++s)a.write_shift(-4,D.DIFSECT);for(i+=n[2];s<i;++s)a.write_shift(-4,D.FATSECT);l(n[3]),l(n[4]);for(var o=0,c=0,f=e.FileIndex[0];o<e.FileIndex.length;++o)f=e.FileIndex[o],f.content&&(c=f.content.length,c<4096||(f.start=i,l(c+511>>9)));l(n[6]+7>>3);while(511&a.l)a.write_shift(-4,D.ENDOFCHAIN);for(i=s=0,o=0;o<e.FileIndex.length;++o)f=e.FileIndex[o],f.content&&(c=f.content.length,!c||c>=4096||(f.start=i,l(c+63>>6)));while(511&a.l)a.write_shift(-4,D.ENDOFCHAIN);for(s=0;s<n[4]<<2;++s){var h=e.FullPaths[s];if(h&&0!==h.length){f=e.FileIndex[s],0===s&&(f.start=f.size?f.start-1:C);var u=0===s&&r.root||f.name;if(c=2*(u.length+1),a.write_shift(64,u,"utf16le"),a.write_shift(2,c),a.write_shift(1,f.type),a.write_shift(1,f.color),a.write_shift(-4,f.L),a.write_shift(-4,f.R),a.write_shift(-4,f.C),f.clsid)a.write_shift(16,f.clsid,"hex");else for(o=0;o<4;++o)a.write_shift(4,0);a.write_shift(4,f.state||0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,f.start),a.write_shift(4,f.size),a.write_shift(4,0)}else{for(o=0;o<17;++o)a.write_shift(4,0);for(o=0;o<3;++o)a.write_shift(4,-1);for(o=0;o<12;++o)a.write_shift(4,0)}}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>=4096)if(a.l=f.start+1<<9,_e&&Buffer.isBuffer(f.content))f.content.copy(a,a.l,0,f.size),a.l+=f.size+511&-512;else{for(o=0;o<f.size;++o)a.write_shift(1,f.content[o]);for(;511&o;++o)a.write_shift(1,0)}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>0&&f.size<4096)if(_e&&Buffer.isBuffer(f.content))f.content.copy(a,a.l,0,f.size),a.l+=f.size+63&-64;else{for(o=0;o<f.size;++o)a.write_shift(1,f.content[o]);for(;63&o;++o)a.write_shift(1,0)}if(_e)a.l=a.length;else while(a.l<a.length)a.write_shift(1,0);return a}function _(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var s=t.toUpperCase(),i=!0===a?r.indexOf(s):n.indexOf(s);if(-1!==i)return e.FileIndex[i];var l=!s.match(Fe);for(s=s.replace(Me,""),l&&(s=s.replace(Fe,"!")),i=0;i<r.length;++i){if((l?r[i].replace(Fe,"!"):r[i]).replace(Me,"")==s)return e.FileIndex[i];if((l?n[i].replace(Fe,"!"):n[i]).replace(Me,"")==s)return e.FileIndex[i]}return null}t.version="1.2.1";var x,O=64,C=-2,R="d0cf11e0a1b11ae1",I=[208,207,17,224,161,177,26,225],N="00000000000000000000000000000000",D={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:C,FREESECT:-1,HEADER_SIGNATURE:R,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:N,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function P(t,r,n){o();var a=k(t,n);e.writeFileSync(r,a)}function L(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function M(t,r){var n=k(t,r);switch(r&&r.type||"buffer"){case"file":return o(),e.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:L(n);case"base64":return ye("string"==typeof n?n:L(n));case"buffer":if(_e)return Buffer.isBuffer(n)?n:xe(n);case"array":return"string"==typeof n?Re(n):n}return n}function F(e){try{var t=e.InflateRaw,r=new t;if(r._processChunk(new Uint8Array([3,0]),r._finishFlushFlag),!r.bytesRead)throw new Error("zlib does not expose bytesRead");x=e}catch(n){console.error("cannot use native zlib: "+(n.message||n))}}function U(e,t){if(!x)return Te(e,t);var r=x.InflateRaw,n=new r,a=n._processChunk(e.slice(e.l),n._finishFlushFlag);return e.l+=n.bytesRead,a}function B(e){return x?x.deflateRawSync(e):he(e)}var W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],G=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function V(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var j="undefined"!==typeof Uint8Array,z=j?new Uint8Array(256):[],$=0;$<256;++$)z[$]=V($);function X(e,t){var r=z[255&e];return t<=8?r>>>8-t:(r=r<<8|z[e>>8&255],t<=16?r>>>16-t:(r=r<<8|z[e>>16&255],r>>>24-t))}function K(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function Y(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function Z(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}function J(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function q(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function Q(e,t,r){var n=7&t,a=t>>>3,s=(1<<r)-1,i=e[a]>>>n;return r<8-n?i&s:(i|=e[a+1]<<8-n,r<16-n?i&s:(i|=e[a+2]<<16-n,r<24-n||(i|=e[a+3]<<24-n),i&s))}function ee(e,t,r){var n=7&t,a=t>>>3;return n<=5?e[a]|=(7&r)<<n:(e[a]|=r<<n&255,e[a+1]=(7&r)>>8-n),t+3}function te(e,t,r){var n=7&t,a=t>>>3;return r=(1&r)<<n,e[a]|=r,t+1}function re(e,t,r){var n=7&t,a=t>>>3;return r<<=n,e[a]|=255&r,r>>>=8,e[a+1]=r,t+8}function ne(e,t,r){var n=7&t,a=t>>>3;return r<<=n,e[a]|=255&r,r>>>=8,e[a+1]=255&r,e[a+2]=r>>>8,t+16}function ae(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(_e){var s=Ce(n);if(e.copy)e.copy(s);else for(;a<e.length;++a)s[a]=e[a];return s}if(j){var i=new Uint8Array(n);if(i.set)i.set(e);else for(;a<r;++a)i[a]=e[a];return i}return e.length=n,e}function se(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function ie(e,t,r){var n=1,a=0,s=0,i=0,l=0,o=e.length,c=j?new Uint16Array(32):se(32);for(s=0;s<32;++s)c[s]=0;for(s=o;s<r;++s)e[s]=0;o=e.length;var f=j?new Uint16Array(o):se(o);for(s=0;s<o;++s)c[a=e[s]]++,n<a&&(n=a),f[s]=0;for(c[0]=0,s=1;s<=n;++s)c[s+16]=l=l+c[s-1]<<1;for(s=0;s<o;++s)l=e[s],0!=l&&(f[s]=c[l+16]++);var h=0;for(s=0;s<o;++s)if(h=e[s],0!=h)for(l=X(f[s],n)>>n-h,i=(1<<n+4-h)-1;i>=0;--i)t[l|i<<h]=15&h|s<<4;return n}var le=j?new Uint16Array(512):se(512),oe=j?new Uint16Array(32):se(32);if(!j){for(var ce=0;ce<512;++ce)le[ce]=0;for(ce=0;ce<32;++ce)oe[ce]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);ie(e,oe,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);ie(r,le,288)})();var fe=function(){for(var e=j?new Uint8Array(32768):[],t=0,r=0;t<G.length-1;++t)for(;r<G[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var n=j?new Uint8Array(259):[];for(t=0,r=0;t<H.length-1;++t)for(;r<H[t+1];++r)n[r]=t;function a(e,t){var r=0;while(r<e.length){var n=Math.min(65535,e.length-r),a=r+n==e.length;t.write_shift(1,+a),t.write_shift(2,n),t.write_shift(2,65535&~n);while(n-- >0)t[t.l++]=e[r++]}return t.l}function s(t,r){var a=0,s=0,i=j?new Uint16Array(32768):[];while(s<t.length){var l=Math.min(65535,t.length-s);if(l<10){a=ee(r,a,+!(s+l!=t.length)),7&a&&(a+=8-(7&a)),r.l=a/8|0,r.write_shift(2,l),r.write_shift(2,65535&~l);while(l-- >0)r[r.l++]=t[s++];a=8*r.l}else{a=ee(r,a,+!(s+l!=t.length)+2);var o=0;while(l-- >0){var c=t[s];o=32767&(o<<5^c);var f=-1,h=0;if((f=i[o])&&(f|=-32768&s,f>s&&(f-=32768),f<s))while(t[f+h]==t[s+h]&&h<250)++h;if(h>2){c=n[h],c<=22?a=re(r,a,z[c+1]>>1)-1:(re(r,a,3),a+=5,re(r,a,z[c-23]>>5),a+=3);var u=c<8?0:c-4>>2;u>0&&(ne(r,a,h-H[c]),a+=u),c=e[s-f],a=re(r,a,z[c]>>3),a-=3;var p=c<4?0:c-2>>1;p>0&&(ne(r,a,s-f-G[c]),a+=p);for(var d=0;d<h;++d)i[o]=32767&s,o=32767&(o<<5^t[s]),++s;l-=h-1}else c<=143?c+=48:a=te(r,a,1),a=re(r,a,z[c]),i[o]=32767&s,++s}a=re(r,a,0)-1}}return r.l=(a+7)/8|0,r.l}return function(e,t){return e.length<8?a(e,t):s(e,t)}}();function he(e){var t=Mn(50+Math.floor(1.1*e.length)),r=fe(e,t);return t.slice(0,r)}var ue=j?new Uint16Array(32768):se(32768),pe=j?new Uint16Array(32768):se(32768),de=j?new Uint16Array(128):se(128),me=1,ge=1;function ve(e,t){var r=J(e,t)+257;t+=5;var n=J(e,t)+1;t+=5;var a=Z(e,t)+4;t+=4;for(var s=0,i=j?new Uint8Array(19):se(19),l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o=1,c=j?new Uint8Array(8):se(8),f=j?new Uint8Array(8):se(8),h=i.length,u=0;u<a;++u)i[W[u]]=s=Y(e,t),o<s&&(o=s),c[s]++,t+=3;var p=0;for(c[0]=0,u=1;u<=o;++u)f[u]=p=p+c[u-1]<<1;for(u=0;u<h;++u)0!=(p=i[u])&&(l[u]=f[p]++);var d=0;for(u=0;u<h;++u)if(d=i[u],0!=d){p=z[l[u]]>>8-d;for(var m=(1<<7-d)-1;m>=0;--m)de[p|m<<d]=7&d|u<<3}var g=[];for(o=1;g.length<r+n;)switch(p=de[q(e,t)],t+=7&p,p>>>=3){case 16:s=3+K(e,t),t+=2,p=g[g.length-1];while(s-- >0)g.push(p);break;case 17:s=3+Y(e,t),t+=3;while(s-- >0)g.push(0);break;case 18:s=11+q(e,t),t+=7;while(s-- >0)g.push(0);break;default:g.push(p),o<p&&(o=p);break}var v=g.slice(0,r),b=g.slice(r);for(u=r;u<286;++u)v[u]=0;for(u=n;u<30;++u)b[u]=0;return me=ie(v,ue,286),ge=ie(b,pe,30),t}function be(e,t){if(3==e[0]&&!(3&e[1]))return[Oe(t),2];var r=0,n=0,a=Ce(t||1<<18),s=0,i=a.length>>>0,l=0,o=0;while(0==(1&n))if(n=Y(e,r),r+=3,n>>>1!=0)for(n>>1==1?(l=9,o=5):(r=ve(e,r),l=me,o=ge);;){!t&&i<s+32767&&(a=ae(a,s+32767),i=a.length);var c=Q(e,r,l),f=n>>>1==1?le[c]:ue[c];if(r+=15&f,f>>>=4,0===(f>>>8&255))a[s++]=f;else{if(256==f)break;f-=257;var h=f<8?0:f-4>>2;h>5&&(h=0);var u=s+H[f];h>0&&(u+=Q(e,r,h),r+=h),c=Q(e,r,o),f=n>>>1==1?oe[c]:pe[c],r+=15&f,f>>>=4;var p=f<4?0:f-2>>1,d=G[f];p>0&&(d+=Q(e,r,p),r+=p),!t&&i<u&&(a=ae(a,u+100),i=a.length);while(s<u)a[s]=a[s-d],++s}}else{7&r&&(r+=8-(7&r));var m=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,m>0){!t&&i<s+m&&(a=ae(a,s+m),i=a.length);while(m-- >0)a[s++]=e[r>>>3],r+=8}}return t?[a,r+7>>>3]:[a.slice(0,s),r+7>>>3]}function Te(e,t){var r=e.slice(e.l||0),n=be(r,t);return e.l+=n[1],n[0]}function we(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Ee(e,t){var r=e;Pn(r,0);var n=[],a=[],s={FileIndex:n,FullPaths:a};S(s,{root:t.root});var i=r.length-4;while((80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0)--i;r.l=i+4,r.l+=4;var o=r.read_shift(2);r.l+=6;var c=r.read_shift(4);for(r.l=c,i=0;i<o;++i){r.l+=20;var f=r.read_shift(4),h=r.read_shift(4),u=r.read_shift(2),p=r.read_shift(2),d=r.read_shift(2);r.l+=8;var m=r.read_shift(4),g=l(r.slice(r.l+u,r.l+u+p));r.l+=u+p+d;var v=r.l;r.l=m+4,Se(r,f,h,s,g),r.l=v}return s}function Se(e,t,r,n,a){e.l+=2;var s=e.read_shift(2),o=e.read_shift(2),c=i(e);if(8257&s)throw new Error("Unsupported ZIP encryption");for(var f=e.read_shift(4),h=e.read_shift(4),u=e.read_shift(4),p=e.read_shift(2),d=e.read_shift(2),m="",g=0;g<p;++g)m+=String.fromCharCode(e[e.l++]);if(d){var v=l(e.slice(e.l,e.l+d));(v[21589]||{}).mt&&(c=v[21589].mt),((a||{})[21589]||{}).mt&&(c=a[21589].mt)}e.l+=d;var b=e.slice(e.l,e.l+h);switch(o){case 8:b=U(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+o)}var T=!1;8&s&&(f=e.read_shift(4),134695760==f&&(f=e.read_shift(4),T=!0),h=e.read_shift(4),u=e.read_shift(4)),h!=t&&we(T,"Bad compressed size: "+t+" != "+h),u!=r&&we(T,"Bad uncompressed size: "+r+" != "+u),Ve(n,m,b,{unsafe:!0,mt:c})}function Ae(e,t){var r=t||{},n=[],a=[],i=Mn(1),l=r.compression?8:0,o=0,c=!1;c&&(o|=8);var f=0,h=0,u=0,p=0,d=e.FullPaths[0],m=d,g=e.FileIndex[0],v=[],b=0;for(f=1;f<e.FullPaths.length;++f)if(m=e.FullPaths[f].slice(d.length),g=e.FileIndex[f],g.size&&g.content&&"Sh33tJ5"!=m){var T=u,w=Mn(m.length);for(h=0;h<m.length;++h)w.write_shift(1,127&m.charCodeAt(h));w=w.slice(0,w.l),v[p]=Yt.buf(g.content,0);var E=g.content;8==l&&(E=B(E)),i=Mn(30),i.write_shift(4,67324752),i.write_shift(2,20),i.write_shift(2,o),i.write_shift(2,l),g.mt?s(i,g.mt):i.write_shift(4,0),i.write_shift(-4,8&o?0:v[p]),i.write_shift(4,8&o?0:E.length),i.write_shift(4,8&o?0:g.content.length),i.write_shift(2,w.length),i.write_shift(2,0),u+=i.length,n.push(i),u+=w.length,n.push(w),u+=E.length,n.push(E),8&o&&(i=Mn(12),i.write_shift(-4,v[p]),i.write_shift(4,E.length),i.write_shift(4,g.content.length),u+=i.l,n.push(i)),i=Mn(46),i.write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,o),i.write_shift(2,l),i.write_shift(4,0),i.write_shift(-4,v[p]),i.write_shift(4,E.length),i.write_shift(4,g.content.length),i.write_shift(2,w.length),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(4,0),i.write_shift(4,T),b+=i.l,a.push(i),b+=w.length,a.push(w),++p}return i=Mn(22),i.write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,p),i.write_shift(2,p),i.write_shift(4,b),i.write_shift(4,u),i.write_shift(2,0),Pe([Pe(n),Pe(a),i])}var Ie={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ne(e,t){if(e.ctype)return e.ctype;var r=e.name||"",n=r.match(/\.([^\.]+)$/);return n&&Ie[n[1]]||t&&(n=(r=t).match(/[\.\\]([^\.\\])+$/),n&&Ie[n[1]])?Ie[n[1]]:"application/octet-stream"}function De(e){for(var t=ye(e),r=[],n=0;n<t.length;n+=76)r.push(t.slice(n,n+76));return r.join("\r\n")+"\r\n"}function Le(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09"),"\n"==t.charAt(0)&&(t="=0D"+t.slice(1)),t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");for(var r=[],n=t.split("\r\n"),a=0;a<n.length;++a){var s=n[a];if(0!=s.length)for(var i=0;i<s.length;){var l=76,o=s.slice(i,i+l);"="==o.charAt(l-1)?l--:"="==o.charAt(l-2)?l-=2:"="==o.charAt(l-3)&&(l-=3),o=s.slice(i,i+l),i+=l,i<s.length&&(o+="="),r.push(o)}else r.push("")}return r.join("\r\n")}function Ue(e){for(var t=[],r=0;r<e.length;++r){var n=e[r];while(r<=e.length&&"="==n.charAt(n.length-1))n=n.slice(0,n.length-1)+e[++r];t.push(n)}for(var a=0;a<t.length;++a)t[a]=t[a].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return Re(t.join("\r\n"))}function Be(e,t,r){for(var n,a="",s="",i="",l=0;l<10;++l){var o=t[l];if(!o||o.match(/^\s*$/))break;var c=o.match(/^(.*?):\s*([^\s].*)$/);if(c)switch(c[1].toLowerCase()){case"content-location":a=c[2].trim();break;case"content-type":i=c[2].trim();break;case"content-transfer-encoding":s=c[2].trim();break}}switch(++l,s.toLowerCase()){case"base64":n=Re(ke(t.slice(l).join("")));break;case"quoted-printable":n=Ue(t.slice(l));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+s)}var f=Ve(e,a.slice(r.length),n,{unsafe:!0});i&&(f.ctype=i)}function We(e,t){if("mime-version:"!=L(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",n=(_e&&Buffer.isBuffer(e)?e.toString("binary"):L(e)).split("\r\n"),a=0,s="";for(a=0;a<n.length;++a)if(s=n[a],/^Content-Location:/i.test(s)&&(s=s.slice(s.indexOf("file")),r||(r=s.slice(0,s.lastIndexOf("/")+1)),s.slice(0,r.length)!=r))while(r.length>0)if(r=r.slice(0,r.length-1),r=r.slice(0,r.lastIndexOf("/")+1),s.slice(0,r.length)==r)break;var i=(n[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var l="--"+(i[1]||""),o=[],c=[],f={FileIndex:o,FullPaths:c};S(f);var h,u=0;for(a=0;a<n.length;++a){var p=n[a];p!==l&&p!==l+"--"||(u++&&Be(f,n.slice(h,a),r),h=a)}return f}function He(e,t){var r=t||{},n=r.boundary||"SheetJS";n="------="+n;for(var a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+n.slice(2)+'"',"","",""],s=e.FullPaths[0],i=s,l=e.FileIndex[0],o=1;o<e.FullPaths.length;++o)if(i=e.FullPaths[o].slice(s.length),l=e.FileIndex[o],l.size&&l.content&&"Sh33tJ5"!=i){i=i.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var c=l.content,f=_e&&Buffer.isBuffer(c)?c.toString("binary"):L(c),h=0,u=Math.min(1024,f.length),p=0,d=0;d<=u;++d)(p=f.charCodeAt(d))>=32&&p<128&&++h;var m=h>=4*u/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),a.push("Content-Type: "+Ne(l,i)),a.push(""),a.push(m?Le(f):De(f))}return a.push(n+"--\r\n"),a.join("\r\n")}function Ge(e){var t={};return S(t,e),t}function Ve(e,t,r,n){var s=n&&n.unsafe;s||S(e);var i=!s&&Zt.find(e,t);if(!i){var l=e.FullPaths[0];t.slice(0,l.length)==l?l=t:("/"!=l.slice(-1)&&(l+="/"),l=(l+t).replace("//","/")),i={name:a(t),type:2},e.FileIndex.push(i),e.FullPaths.push(l),s||Zt.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,n&&(n.CLSID&&(i.clsid=n.CLSID),n.mt&&(i.mt=n.mt),n.ct&&(i.ct=n.ct)),i}function je(e,t){S(e);var r=Zt.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1}function ze(e,t,r){S(e);var n=Zt.find(e,t);if(n)for(var s=0;s<e.FileIndex.length;++s)if(e.FileIndex[s]==n)return e.FileIndex[s].name=a(r),e.FullPaths[s]=r,!0;return!1}function $e(e){y(e,!0)}return t.find=_,t.read=E,t.parse=c,t.write=M,t.writeFile=P,t.utils={cfb_new:Ge,cfb_add:Ve,cfb_del:je,cfb_mov:ze,cfb_gc:$e,ReadShift:On,CheckField:Dn,prep_blob:Pn,bconcat:Pe,use_zlib:F,_deflateRaw:he,_inflateRaw:Te,consts:D},t}();let Jt;function qt(e){return"string"===typeof e?Ie(e):Array.isArray(e)?De(e):e}function Qt(e,t,r){if("undefined"!==typeof Jt&&Jt.writeFileSync)return r?Jt.writeFileSync(e,t,r):Jt.writeFileSync(e,t);if("undefined"!==typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=Ie(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n="utf8"==r?Wr(t):t;if("undefined"!==typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!==typeof Blob){var a=new Blob([qt(n)],{type:"application/octet-stream"});if("undefined"!==typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if("undefined"!==typeof saveAs)return saveAs(a,e);if("undefined"!==typeof URL&&"undefined"!==typeof document&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(a);if("object"===typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),chrome.downloads.download({url:s,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=s,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),s}}if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var l=File(e);return l.open("w"),l.encoding="binary",Array.isArray(t)&&(t=Ne(t)),l.write(t),l.close(),t}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function er(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function tr(e,t){for(var r=[],n=er(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function rr(e){for(var t=[],r=er(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function nr(e){for(var t=[],r=er(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function ar(e){for(var t=[],r=er(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var sr=new Date(1899,11,30,0,0,0);function ir(e,t){var r=e.getTime();t&&(r-=1263168e5);var n=sr.getTime()+6e4*(e.getTimezoneOffset()-sr.getTimezoneOffset());return(r-n)/864e5}var lr=new Date,or=sr.getTime()+6e4*(lr.getTimezoneOffset()-sr.getTimezoneOffset()),cr=lr.getTimezoneOffset();function fr(e){var t=new Date;return t.setTime(24*e*60*60*1e3+or),t.getTimezoneOffset()!==cr&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-cr)),t}var hr=new Date("2017-02-19T19:06:09.000Z"),ur=isNaN(hr.getFullYear())?new Date("2/19/17"):hr,pr=2017==ur.getFullYear();function dr(e,t){var r=new Date(e);if(pr)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==ur.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function mr(e,t){if(_e&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Wr(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Wr(ve(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Wr(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Wr(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"€","":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","":"‹","Œ":"Œ","Ž":"Ž","":"‘","":"’","“":"“","”":"”","•":"•","":"–","—":"—","˜":"˜","™":"™","š":"š","":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(s){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function gr(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=gr(e[r]));return t}function vr(e,t){var r="";while(r.length<t)r+=e;return r}function br(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(n))?t:t/r):t/r}var Tr=["january","february","march","april","may","june","july","august","september","october","november","december"];function wr(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),s=t.getDate();if(isNaN(s))return r;var i=e.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),i.length>3&&-1==Tr.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||s>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}function Er(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=_e?xe(r):Le(r),Zt.utils.cfb_add(e,t,n);Zt.utils.cfb_add(e,t,r)}else e.file(t,r)}function Sr(){return Zt.utils.cfb_new()}var Ar='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var yr={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},kr=rr(yr),_r=/[&<>'"]/g,xr=/[\u0000-\u0008\u000b-\u001f]/g;function Or(e){var t=e+"";return t.replace(_r,(function(e){return kr[e]})).replace(xr,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function Cr(e){return Or(e).replace(/ /g,"_x0020_")}var Rr=/[\u0000-\u001f]/g;function Ir(e){var t=e+"";return t.replace(_r,(function(e){return kr[e]})).replace(/\n/g,"<br/>").replace(Rr,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function Nr(e){var t=e+"";return t.replace(_r,(function(e){return kr[e]})).replace(Rr,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}function Dr(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function Pr(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Lr(e){var t="",r=0,n=0,a=0,s=0,i=0,l=0;while(r<e.length)n=e.charCodeAt(r++),n<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(s=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s):(i=e.charCodeAt(r++),l=((7&n)<<18|(63&a)<<12|(63&s)<<6|63&i)-65536,t+=String.fromCharCode(55296+(l>>>10&1023)),t+=String.fromCharCode(56320+(1023&l)))));return t}function Mr(e){var t,r,n,a=Oe(2*e.length),s=1,i=0,l=0;for(r=0;r<e.length;r+=s)s=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),s=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),s=3):(s=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),t-=65536,l=55296+(t>>>10&1023),t=56320+(1023&t)),0!==l&&(a[i++]=255&l,a[i++]=l>>>8,l=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function Fr(e){return xe(e,"binary").toString("utf8")}var Ur="foo bar baz☃🍣",Br=_e&&(Fr(Ur)==Lr(Ur)&&Fr||Mr(Ur)==Lr(Ur)&&Mr)||Lr,Wr=_e?function(e){return xe(e,"utf8").toString("binary")}:function(e){var t=[],r=0,n=0,a=0;while(r<e.length)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},Hr=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}();var Gr=/(^\s|\s$|\n)/;function Vr(e,t){return"<"+e+(t.match(Gr)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function jr(e){return er(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function zr(e,t,r){return"<"+e+(null!=r?jr(r):"")+(null!=t?(t.match(Gr)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function $r(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Xr(e,t){switch(typeof e){case"string":var r=zr("vt:lpwstr",Or(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return zr((0|e)==e?"vt:i4":"vt:r8",Or(String(e)));case"boolean":return zr("vt:bool",e?"true":"false")}if(e instanceof Date)return zr("vt:filetime",$r(e));throw new Error("Unable to serialize "+e)}var Kr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Yr=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Zr={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Jr(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],s=5;s>=0;--s)a=256*a+e[t+s];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function qr(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,s=0,i=n?-t:t;isFinite(i)?0==i?a=s=0:(a=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?a=-1022:(s-=Math.pow(2,52),a+=1023)):(a=2047,s=isNaN(t)?26985:0);for(var l=0;l<=5;++l,s/=256)e[r+l]=255&s;e[r+6]=(15&a)<<4|15&s,e[r+7]=a>>4|n}var Qr=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,s=e[0][n].length;a<s;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},en=_e?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:xe(e)}))):Qr(e)}:Qr,tn=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(An(e,a)));return n.join("").replace(Me,"")},rn=_e?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Me,""):tn(e,t,r)}:tn,nn=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},an=_e?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):nn(e,t,r)}:nn,sn=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(Sn(e,a)));return n.join("")},ln=_e?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):sn(e,t,r)}:sn,on=function(e,t){var r=kn(e,t);return r>0?ln(e,t+4,t+4+r-1):""},cn=on,fn=function(e,t){var r=kn(e,t);return r>0?ln(e,t+4,t+4+r-1):""},hn=fn,un=function(e,t){var r=2*kn(e,t);return r>0?ln(e,t+4,t+4+r-1):""},pn=un,dn=function(e,t){var r=kn(e,t);return r>0?rn(e,t+4,t+4+r):""},mn=dn,gn=function(e,t){var r=kn(e,t);return r>0?ln(e,t+4,t+4+r):""},vn=gn,bn=function(e,t){return Jr(e,t)},Tn=bn,wn=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function En(){rn=function(e,t,r){return be.utils.decode(1200,e.slice(t,r)).replace(Me,"")},ln=function(e,t,r){return be.utils.decode(65001,e.slice(t,r))},cn=function(e,t){var r=kn(e,t);return r>0?be.utils.decode(fe,e.slice(t+4,t+4+r-1)):""},hn=function(e,t){var r=kn(e,t);return r>0?be.utils.decode(ce,e.slice(t+4,t+4+r-1)):""},pn=function(e,t){var r=2*kn(e,t);return r>0?be.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},mn=function(e,t){var r=kn(e,t);return r>0?be.utils.decode(1200,e.slice(t+4,t+4+r)):""},vn=function(e,t){var r=kn(e,t);return r>0?be.utils.decode(65001,e.slice(t+4,t+4+r)):""}}_e&&(cn=function(e,t){if(!Buffer.isBuffer(e))return on(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},hn=function(e,t){if(!Buffer.isBuffer(e))return fn(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},pn=function(e,t){if(!Buffer.isBuffer(e))return un(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},mn=function(e,t){if(!Buffer.isBuffer(e))return dn(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},vn=function(e,t){if(!Buffer.isBuffer(e))return gn(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Tn=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):bn(e,t)},wn=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof be&&En();var Sn=function(e,t){return e[t]},An=function(e,t){return 256*e[t+1]+e[t]},yn=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},kn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},_n=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},xn=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function On(e,t){var r,n,a,s,i,l,o="",c=[];switch(t){case"dbcs":if(l=this.l,_e&&Buffer.isBuffer(this))o=this.slice(this.l,this.l+2*e).toString("utf16le");else for(i=0;i<e;++i)o+=String.fromCharCode(An(this,l)),l+=2;e*=2;break;case"utf8":o=ln(this,this.l,this.l+e);break;case"utf16le":e*=2,o=rn(this,this.l,this.l+e);break;case"wstr":if("undefined"===typeof be)return On.call(this,e,"dbcs");o=be.utils.decode(ce,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":o=cn(this,this.l),e=4+kn(this,this.l);break;case"lpstr-cp":o=hn(this,this.l),e=4+kn(this,this.l);break;case"lpwstr":o=pn(this,this.l),e=4+2*kn(this,this.l);break;case"lpp4":e=4+kn(this,this.l),o=mn(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+kn(this,this.l),o=vn(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":e=0,o="";while(0!==(a=Sn(this,this.l+e++)))c.push(Te(a));o=c.join("");break;case"_wstr":e=0,o="";while(0!==(a=An(this,this.l+e)))c.push(Te(a)),e+=2;e+=2,o=c.join("");break;case"dbcs-cont":for(o="",l=this.l,i=0;i<e;++i){if(this.lens&&-1!==this.lens.indexOf(l))return a=Sn(this,l),this.l=l+1,s=On.call(this,e-i,a?"dbcs-cont":"sbcs-cont"),c.join("")+s;c.push(Te(An(this,l))),l+=2}o=c.join(""),e*=2;break;case"cpstr":if("undefined"!==typeof be){o=be.utils.decode(ce,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(o="",l=this.l,i=0;i!=e;++i){if(this.lens&&-1!==this.lens.indexOf(l))return a=Sn(this,l),this.l=l+1,s=On.call(this,e-i,a?"dbcs-cont":"sbcs-cont"),c.join("")+s;c.push(Te(Sn(this,l))),l+=1}o=c.join("");break;default:switch(e){case 1:return r=Sn(this,this.l),this.l++,r;case 2:return r=("i"===t?yn:An)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===t||0===(128&this[this.l+3])?(r=(e>0?_n:xn)(this,this.l),this.l+=4,r):(n=kn(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?Tn(this,this.l):Tn([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:o=an(this,this.l,e);break}}return this.l+=e,o}var Cn=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Rn=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},In=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Nn(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)In(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){if("undefined"!==typeof be&&874==fe)for(a=0;a!=t.length;++a){var s=be.utils.encode(fe,t.charAt(a));this[this.l+a]=s[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}if("utf16le"===r){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var l=t.charCodeAt(a);this[this.l++]=255&l,this[this.l++]=l>>8}while(this.l<i)this[this.l++]=0;return this}switch(e){case 1:n=1,this[this.l]=255&t;break;case 2:n=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,Cn(this,t,this.l);break;case 8:if(n=8,"f"===r){qr(this,t,this.l);break}case 16:break;case-4:n=4,Rn(this,t,this.l);break}}return this.l+=n,this}function Dn(e,t){var r=an(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Pn(e,t){e.l=t,e.read_shift=On,e.chk=Dn,e.write_shift=Nn}function Ln(e,t){e.l+=t}function Mn(e){var t=Oe(e);return Pn(t,0),t}function Fn(){var e=[],t=_e?256:2048,r=function(e){var t=Mn(e);return Pn(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},s=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))},i=function(){return a(),Pe(e)},l=function(e){a(),n=e,null==n.l&&(n.l=n.length),s(t)};return{next:s,push:l,end:i,_bufs:e}}function Un(e,t,r,n){var a,s=+t;if(!isNaN(s)){n||(n=lu[s].p||(r||[]).length||0),a=1+(s>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);s<=127?i.write_shift(1,s):(i.write_shift(1,128+(127&s)),i.write_shift(1,s>>7));for(var l=0;4!=l;++l){if(!(n>=128)){i.write_shift(1,n);break}i.write_shift(1,128+(127&n)),n>>=7}n>0&&wn(r)&&e.push(r)}}function Bn(e,t,r){var n=gr(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){while(n.c>=256)n.c-=256;while(n.r>=65536)n.r-=65536}return n}function Wn(e,t,r){var n=gr(e);return n.s=Bn(n.s,t.s,r),n.e=Bn(n.e,t.s,r),n}function Hn(e,t){if(e.cRel&&e.c<0){e=gr(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=gr(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var r=Qn(e);return e.cRel||null==e.cRel||(r=Yn(r)),e.rRel||null==e.rRel||(r=zn(r)),r}function Gn(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Hn(e.s,t.biff)+":"+Hn(e.e,t.biff):(e.s.rRel?"":"$")+jn(e.s.r)+":"+(e.e.rRel?"":"$")+jn(e.e.r):(e.s.cRel?"":"$")+Kn(e.s.c)+":"+(e.e.cRel?"":"$")+Kn(e.e.c)}function Vn(e){return parseInt($n(e),10)-1}function jn(e){return""+(e+1)}function zn(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function $n(e){return e.replace(/\$(\d+)$/,"$1")}function Xn(e){for(var t=Zn(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Kn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Yn(e){return e.replace(/^([A-Z])/,"$$$1")}function Zn(e){return e.replace(/^\$([A-Z])/,"$1")}function Jn(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function qn(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function Qn(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function ea(e){var t=e.indexOf(":");return-1==t?{s:qn(e),e:qn(e)}:{s:qn(e.slice(0,t)),e:qn(e.slice(t+1))}}function ta(e,t){return"undefined"===typeof t||"number"===typeof t?ta(e.s,e.e):("string"!==typeof e&&(e=Qn(e)),"string"!==typeof t&&(t=Qn(t)),e==t?e:e+":"+t)}function ra(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,s=e.length;for(r=0;n<s;++n){if((a=e.charCodeAt(n)-64)<1||a>26)break;r=26*r+a}for(t.s.c=--r,r=0;n<s;++n){if((a=e.charCodeAt(n)-48)<0||a>9)break;r=10*r+a}if(t.s.r=--r,n===s||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=s;++n){if((a=e.charCodeAt(n)-64)<1||a>26)break;r=26*r+a}for(t.e.c=--r,r=0;n!=s;++n){if((a=e.charCodeAt(n)-48)<0||a>9)break;r=10*r+a}return t.e.r=--r,t}function na(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Gt(e.z,r?ir(t):t)}catch(n){}try{return e.w=Gt((e.XF||{}).numFmtId||(r?14:0),r?ir(t):t)}catch(n){return""+t}}function aa(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?rs[e.v]||e.v:na(e,void 0==t?e.v:t))}function sa(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function ia(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=Ee&&null==a&&(a=Ee);var s=e||(a?[]:{}),i=0,l=0;if(s&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var o="string"==typeof n.origin?qn(n.origin):n.origin;i=o.r,l=o.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=ra(s["!ref"]);c.s.c=f.s.c,c.s.r=f.s.r,c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),-1==i&&(c.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("undefined"!==typeof t[h][u]){var p={v:t[h][u]},d=i+h,m=l+u;if(c.s.r>d&&(c.s.r=d),c.s.c>m&&(c.s.c=m),c.e.r<d&&(c.e.r=d),c.e.c<m&&(c.e.c=m),!t[h][u]||"object"!==typeof t[h][u]||Array.isArray(t[h][u])||t[h][u]instanceof Date)if(Array.isArray(p.v)&&(p.f=t[h][u][1],p.v=p.v[0]),null===p.v)if(p.f)p.t="n";else if(n.nullError)p.t="e",p.v=0;else{if(!n.sheetStubs)continue;p.t="z"}else"number"===typeof p.v?p.t="n":"boolean"===typeof p.v?p.t="b":p.v instanceof Date?(p.z=n.dateNF||Ze[14],n.cellDates?(p.t="d",p.w=Gt(p.z,ir(p.v))):(p.t="n",p.v=ir(p.v),p.w=Gt(p.z,p.v))):p.t="s";else p=t[h][u];if(a)s[d]||(s[d]=[]),s[d][m]&&s[d][m].z&&(p.z=s[d][m].z),s[d][m]=p;else{var g=Qn({c:m,r:d});s[g]&&s[g].z&&(p.z=s[g].z),s[g]=p}}}return c.s.c<1e7&&(s["!ref"]=ta(c)),s}function la(e,t){return ia(null,e,t)}function oa(e){return e.read_shift(4,"i")}function ca(e,t){return t||(t=Mn(4)),t.write_shift(4,e),t}function fa(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function ha(e,t){var r=!1;return null==t&&(r=!0,t=Mn(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function ua(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function pa(e,t){return t||(t=Mn(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function da(e,t){var r=e.l,n=e.read_shift(1),a=fa(e),s=[],i={t:a,h:a};if(0!==(1&n)){for(var l=e.read_shift(4),o=0;o!=l;++o)s.push(ua(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}function ma(e,t){var r=!1;return null==t&&(r=!0,t=Mn(15+4*e.t.length)),t.write_shift(1,0),ha(e.t,t),r?t.slice(0,t.l):t}var ga=da;function va(e,t){var r=!1;return null==t&&(r=!0,t=Mn(23+4*e.t.length)),t.write_shift(1,1),ha(e.t,t),t.write_shift(4,1),pa({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function ba(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 Ta(e,t){return null==t&&(t=Mn(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function wa(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Ea(e,t){return null==t&&(t=Mn(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Sa=fa,Aa=ha;function ya(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function ka(e,t){var r=!1;return null==t&&(r=!0,t=Mn(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 _a=fa,xa=ya,Oa=ka;function Ca(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?Tn([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):_n(t,0)>>2;return r?a/100:a}function Ra(e,t){null==t&&(t=Mn(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}function Ia(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}function Na(e,t){return t||(t=Mn(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}var Da=Ia,Pa=Na;function La(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Ma(e,t){return(t||Mn(8)).write_shift(8,e,"f")}function Fa(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),s=e.read_shift(2,"i"),i=e.read_shift(1),l=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var c=ts[a];c&&(t.rgb=Fi(c));break;case 2:t.rgb=Fi([i,l,o]);break;case 3:t.theme=a;break}return 0!=s&&(t.tint=s>0?s/32767:s/32768),t}function Ua(e,t){if(t||(t=Mn(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 n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.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 Ba(e){var t=e.read_shift(1);e.l++;var r={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return r}function Wa(e,t){t||(t=Mn(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var Ha=2,Ga=3,Va=11,ja=19,za=64,$a=65,Xa=71,Ka=4108,Ya=4126,Za=80,Ja={1:{n:"CodePage",t:Ha},2:{n:"Category",t:Za},3:{n:"PresentationFormat",t:Za},4:{n:"ByteCount",t:Ga},5:{n:"LineCount",t:Ga},6:{n:"ParagraphCount",t:Ga},7:{n:"SlideCount",t:Ga},8:{n:"NoteCount",t:Ga},9:{n:"HiddenCount",t:Ga},10:{n:"MultimediaClipCount",t:Ga},11:{n:"ScaleCrop",t:Va},12:{n:"HeadingPairs",t:Ka},13:{n:"TitlesOfParts",t:Ya},14:{n:"Manager",t:Za},15:{n:"Company",t:Za},16:{n:"LinksUpToDate",t:Va},17:{n:"CharacterCount",t:Ga},19:{n:"SharedDoc",t:Va},22:{n:"HyperlinksChanged",t:Va},23:{n:"AppVersion",t:Ga,p:"version"},24:{n:"DigSig",t:$a},26:{n:"ContentType",t:Za},27:{n:"ContentStatus",t:Za},28:{n:"Language",t:Za},29:{n:"Version",t:Za},255:{},2147483648:{n:"Locale",t:ja},2147483651:{n:"Behavior",t:ja},1919054434:{}},qa={1:{n:"CodePage",t:Ha},2:{n:"Title",t:Za},3:{n:"Subject",t:Za},4:{n:"Author",t:Za},5:{n:"Keywords",t:Za},6:{n:"Comments",t:Za},7:{n:"Template",t:Za},8:{n:"LastAuthor",t:Za},9:{n:"RevNumber",t:Za},10:{n:"EditTime",t:za},11:{n:"LastPrinted",t:za},12:{n:"CreatedDate",t:za},13:{n:"ModifiedDate",t:za},14:{n:"PageCount",t:Ga},15:{n:"WordCount",t:Ga},16:{n:"CharCount",t:Ga},17:{n:"Thumbnail",t:Xa},18:{n:"Application",t:Za},19:{n:"DocSecurity",t:Ga},255:{},2147483648:{n:"Locale",t:ja},2147483651:{n:"Behavior",t:ja},1919054434:{}};function Qa(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var es=Qa([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]),ts=gr(es),rs={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},ns={"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"},as={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 ss(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function is(e,t){var r,n=ar(ns),a=[];a[a.length]=Ar,a[a.length]=zr("Types",null,{xmlns:Kr.CT,"xmlns:xsd":Kr.xsd,"xmlns:xsi":Kr.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return zr("Default",null,{Extension:e[0],ContentType:e[1]})})));var s=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=zr("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:as[n][t.bookType]||as[n]["xlsx"]}))},i=function(r){(e[r]||[]).forEach((function(e){a[a.length]=zr("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:as[r][t.bookType]||as[r]["xlsx"]})}))},l=function(t){(e[t]||[]).forEach((function(e){a[a.length]=zr("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return s("workbooks"),i("sheets"),i("charts"),l("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(l),l("vba"),l("comments"),l("threadedcomments"),l("drawings"),i("metadata"),l("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var ls={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 os(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function cs(e){var t=[Ar,zr("Relationships",null,{xmlns:Kr.RELS})];return er(e["!id"]).forEach((function(r){t[t.length]=zr("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function fs(e,t,r,n,a,s){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,s?a.TargetMode=s:[ls.HLINK,ls.XPATH,ls.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function hs(e){var t=[Ar];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}function us(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function ps(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function ds(e){var t=[Ar];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=e.length;++r)t.push(us(e[r][0],e[r][1])),t.push(ps("",e[r][0]));return t.push(us("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function ms(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+oe.version+"</meta:generator></office:meta></office:document-meta>"}var gs=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function vs(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=Or(t),n[n.length]=r?zr(e,t,r):Vr(e,t))}function bs(e,t){var r=t||{},n=[Ar,zr("cp:coreProperties",null,{"xmlns:cp":Kr.CORE_PROPS,"xmlns:dc":Kr.dc,"xmlns:dcterms":Kr.dcterms,"xmlns:dcmitype":Kr.dcmitype,"xmlns:xsi":Kr.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&vs("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:$r(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&vs("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:$r(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=gs.length;++s){var i=gs[s],l=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===l?l="1":!1===l?l="0":"number"==typeof l&&(l=String(l)),null!=l&&vs(i[0],l,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var Ts=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],ws=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Es(e){var t=[],r=zr;return e||(e={}),e.Application="SheetJS",t[t.length]=Ar,t[t.length]=zr("Properties",null,{xmlns:Kr.EXT_PROPS,"xmlns:vt":Kr.vt}),Ts.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=Or(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+Or(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Ss(e){var t=[Ar,zr("Properties",null,{xmlns:Kr.CUST_PROPS,"xmlns:vt":Kr.vt})];if(!e)return t.join("");var r=1;return er(e).forEach((function(n){++r,t[t.length]=zr("property",Xr(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Or(n)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var As={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function ys(e,t){var r=[];return er(As).map((function(e){for(var t=0;t<gs.length;++t)if(gs[t][1]==e)return gs[t];for(t=0;t<Ts.length;++t)if(Ts[t][1]==e)return Ts[t];throw e})).forEach((function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z");break}"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Vr(As[n[1]]||n[1],a))}})),zr("DocumentProperties",r.join(""),{xmlns:Zr.o})}function ks(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&er(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<gs.length;++n)if(t==gs[n][1])return;for(n=0;n<Ts.length;++n)if(t==Ts[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var s=e[t],i="string";"number"==typeof s?(i="float",s=String(s)):!0===s||!1===s?(i="boolean",s=s?"1":"0"):s=String(s),a.push(zr(Cr(t),s,{"dt:dt":i}))}})),t&&er(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],s="string";"number"==typeof n?(s="float",n=String(n)):!0===n||!1===n?(s="boolean",n=n?"1":"0"):n instanceof Date?(s="dateTime.tz",n=n.toISOString()):n=String(n),a.push(zr(Cr(r),n,{"dt:dt":s}))}})),"<"+n+' xmlns="'+Zr.o+'">'+a.join("")+"</"+n+">"}function _s(e){var t="string"==typeof e?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var s=n/Math.pow(2,32)|0;s>0&&(n%=Math.pow(2,32),a+=s);var i=Mn(8);return i.write_shift(4,n),i.write_shift(4,a),i}function xs(e,t){var r=Mn(4),n=Mn(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=Mn(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=_s(t);break;case 31:case 80:n=Mn(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");while(n.l!=n.length)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return Pe([r,n])}var Os=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Cs(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Rs(e,t,r){var n=Mn(8),a=[],s=[],i=8,l=0,o=Mn(8),c=Mn(8);if(o.write_shift(4,2),o.write_shift(4,1200),c.write_shift(4,1),s.push(o),a.push(c),i+=8+o.length,!t){c=Mn(8),c.write_shift(4,0),a.unshift(c);var f=[Mn(4)];for(f[0].write_shift(4,e.length),l=0;l<e.length;++l){var h=e[l][0];o=Mn(8+2*(h.length+1)+(h.length%2?0:2)),o.write_shift(4,l+2),o.write_shift(4,h.length+1),o.write_shift(0,h,"dbcs");while(o.l!=o.length)o.write_shift(1,0);f.push(o)}o=Pe(f),s.unshift(o),i+=8+o.length}for(l=0;l<e.length;++l)if((!t||t[e[l][0]])&&!(Os.indexOf(e[l][0])>-1||ws.indexOf(e[l][0])>-1)&&null!=e[l][1]){var u=e[l][1],p=0;if(t){p=+t[e[l][0]];var d=r[p];if("version"==d.p&&"string"==typeof u){var m=u.split(".");u=(+m[0]<<16)+(+m[1]||0)}o=xs(d.t,u)}else{var g=Cs(u);-1==g&&(g=31,u=String(u)),o=xs(g,u)}s.push(o),c=Mn(8),c.write_shift(4,t?p:2+l),a.push(c),i+=8+o.length}var v=8*(s.length+1);for(l=0;l<s.length;++l)a[l].write_shift(4,v),v+=s[l].length;return n.write_shift(4,i),n.write_shift(4,s.length),Pe([n].concat(a).concat(s))}function Is(e,t,r,n,a,s){var i=Mn(a?68:48),l=[i];i.write_shift(2,65534),i.write_shift(2,0),i.write_shift(4,842412599),i.write_shift(16,Zt.utils.consts.HEADER_CLSID,"hex"),i.write_shift(4,a?2:1),i.write_shift(16,t,"hex"),i.write_shift(4,a?68:48);var o=Rs(e,r,n);if(l.push(o),a){var c=Rs(a,null,null);i.write_shift(16,s,"hex"),i.write_shift(4,68+o.length),l.push(c)}return Pe(l)}function Ns(e,t){t||(t=Mn(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Ds(e,t){return 1===e.read_shift(t)}function Ps(e,t){return t||(t=Mn(2)),t.write_shift(2,+!!e),t}function Ls(e){return e.read_shift(2,"u")}function Ms(e,t){return t||(t=Mn(2)),t.write_shift(2,e),t}function Fs(e,t,r){return r||(r=Mn(2)),r.write_shift(1,"e"==t?+e:+!!e),r.write_shift(1,"e"==t?1:0),r}function Us(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont",s=ce;if(r&&r.biff>=8&&(ce=1200),r&&8!=r.biff)12==r.biff&&(a="wstr");else{var i=e.read_shift(1);i&&(a="dbcs-cont")}r.biff>=2&&r.biff<=5&&(a="cpstr");var l=n?e.read_shift(n,a):"";return ce=s,l}function Bs(e){var t=e.t||"",r=1,n=Mn(3+(r>1?2:0));n.write_shift(2,t.length),n.write_shift(1,1|(r>1?8:0)),r>1&&n.write_shift(2,r);var a=Mn(2*t.length);a.write_shift(2*t.length,t,"utf16le");var s=[n,a];return Pe(s)}function Ws(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return n=0===a?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),n}function Hs(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Ws(e,n,r)}function Gs(e,t,r){if(r.biff>5)return Hs(e,t,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Vs(e,t,r){return r||(r=Mn(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function js(e,t){t||(t=Mn(6+2*e.length)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function zs(e){var t=Mn(512),r=0,n=e.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var a=n.indexOf("#"),s=a>-1?31:23;switch(n.charAt(0)){case"#":s=28;break;case".":s&=-3;break}t.write_shift(4,2),t.write_shift(4,s);var i=[8,6815827,6619237,4849780,83];for(r=0;r<i.length;++r)t.write_shift(4,i[r]);if(28==s)n=n.slice(1),js(n,t);else if(2&s){for(i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<i.length;++r)t.write_shift(1,parseInt(i[r],16));var l=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(l.length+1)),r=0;r<l.length;++r)t.write_shift(2,l.charCodeAt(r));t.write_shift(2,0),8&s&&js(a>-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<i.length;++r)t.write_shift(1,parseInt(i[r],16));var o=0;while("../"==n.slice(3*o,3*o+3)||"..\\"==n.slice(3*o,3*o+3))++o;for(t.write_shift(2,o),t.write_shift(4,n.length-3*o+1),r=0;r<n.length-3*o;++r)t.write_shift(1,255&n.charCodeAt(r+3*o));for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function $s(e,t,r,n){return n||(n=Mn(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function Xs(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),s=e.read_shift(n,"i"),i=e.read_shift(n,"i");return[a,s,i]}function Ks(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r:r}}}function Ys(e,t){return t||(t=Mn(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Zs(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var s=Mn(a);return s.write_shift(2,n),s.write_shift(2,t),a>4&&s.write_shift(2,29282),a>6&&s.write_shift(2,1997),a>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function Js(e,t){var r=!t||8==t.biff,n=Mn(r?112:54);n.write_shift(8==t.biff?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));while(n.l<n.length)n.write_shift(1,r?0:32);return n}function qs(e,t){var r=!t||t.biff>=8?2:1,n=Mn(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Qs(e,t){var r=Mn(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=Bs(e[a],t);var s=Pe([r].concat(n));return s.parts=[r.length].concat(n.map((function(e){return e.length}))),s}function ei(){var e=Mn(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function ti(e){var t=Mn(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function ri(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=n?15+r.length:16+2*r.length,s=Mn(a);return s.write_shift(2,20*(e.sz||12)),s.write_shift(4,0),s.write_shift(2,400),s.write_shift(4,0),s.write_shift(2,0),s.write_shift(1,r.length),n||s.write_shift(1,1),s.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),s}function ni(e,t,r,n){var a=Mn(10);return $s(e,t,n,a),a.write_shift(4,r),a}function ai(e,t,r,n,a){var s=!a||8==a.biff,i=Mn(+s+8+(1+s)*r.length);return $s(e,t,n,i),i.write_shift(2,r.length),s&&i.write_shift(1,1),i.write_shift((1+s)*r.length,r,s?"utf16le":"sbcs"),i}function si(e,t,r,n){var a=r&&5==r.biff;n||(n=Mn(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var s=n.length>n.l?n.slice(0,n.l):n;return null==s.l&&(s.l=s.length),s}function ii(e,t){var r=8!=t.biff&&t.biff?2:4,n=Mn(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function li(e,t,r,n){var a=r&&5==r.biff;n||(n=Mn(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var s=0;return e.numFmtId>0&&a&&(s|=1024),n.write_shift(4,s),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function oi(e){var t=Mn(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function ci(e,t,r,n,a,s){var i=Mn(8);return $s(e,t,n,i),Fs(r,s,i),i}function fi(e,t,r,n){var a=Mn(14);return $s(e,t,n,a),Ma(r,a),a}function hi(e,t,r){if(r.biff<8)return ui(e,t,r);var n=[],a=e.l+t,s=e.read_shift(r.biff>8?4:2);while(0!==s--)n.push(Xs(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function ui(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Us(e,t,r);return 3==n.charCodeAt(0)?n.slice(1):n}function pi(e){var t=Mn(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)Ys(e[r],t);return t}function di(e){var t=Mn(24),r=qn(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return Pe([t,zs(e[1])])}function mi(e){var t=e[1].Tooltip,r=Mn(10+2*(t.length+1));r.write_shift(2,2048);var n=qn(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function gi(e){return e||(e=Mn(4)),e.write_shift(2,1),e.write_shift(2,1),e}function vi(e,t,r){if(!r.cellStyles)return Ln(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),s=e.read_shift(n),i=e.read_shift(n),l=e.read_shift(n),o=e.read_shift(2);2==n&&(e.l+=2);var c={s:a,e:s,w:i,ixfe:l,flags:o};return(r.biff>=5||!r.biff)&&(c.level=o>>8&7),c}function bi(e,t){var r=Mn(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function Ti(e){for(var t=Mn(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function wi(e,t,r){var n=Mn(15);return fu(n,e,t),n.write_shift(8,r,"f"),n}function Ei(e,t,r){var n=Mn(9);return fu(n,e,t),n.write_shift(2,r),n}var Si=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=rr({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(t,r){var n=[],a=Oe(1);switch(r.type){case"base64":a=Re(ke(t));break;case"binary":a=Re(t);break;case"buffer":case"array":a=t;break}Pn(a,0);var s=a.read_shift(1),i=!!(136&s),l=!1,o=!1;switch(s){case 2:break;case 3:break;case 48:l=!0,i=!0;break;case 49:l=!0,i=!0;break;case 131:break;case 139:break;case 140:o=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16))}var c=0,f=521;2==s&&(c=a.read_shift(2)),a.l+=3,2!=s&&(c=a.read_shift(4)),c>1048576&&(c=1e6),2!=s&&(f=a.read_shift(2));var h=a.read_shift(2),u=r.codepage||1252;2!=s&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(u=e[a[a.l]]),a.l+=1,a.l+=2),o&&(a.l+=36);var p=[],d={},m=Math.min(a.length,2==s?521:f-10-(l?264:0)),g=o?32:11;while(a.l<m&&13!=a[a.l])switch(d={},d.name=be.utils.decode(u,a.slice(a.l,a.l+g)).replace(/[\u0000\r\n].*$/g,""),a.l+=g,d.type=String.fromCharCode(a.read_shift(1)),2==s||o||(d.offset=a.read_shift(4)),d.len=a.read_shift(1),2==s&&(d.offset=a.read_shift(2)),d.dec=a.read_shift(1),d.name.length&&p.push(d),2!=s&&(a.l+=o?13:14),d.type){case"B":l&&8==d.len||!r.WTF||console.log("Skipping "+d.name+":"+d.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+d.name+":"+d.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+d.type)}if(13!==a[a.l]&&(a.l=f-1),13!==a.read_shift(1))throw new Error("DBF Terminator not found "+a.l+" "+a[a.l]);a.l=f;var v=0,b=0;for(n[0]=[],b=0;b!=p.length;++b)n[0][b]=p[b].name;while(c-- >0)if(42!==a[a.l])for(++a.l,n[++v]=[],b=0,b=0;b!=p.length;++b){var T=a.slice(a.l,a.l+p[b].len);a.l+=p[b].len,Pn(T,0);var w=be.utils.decode(u,T);switch(p[b].type){case"C":w.trim().length&&(n[v][b]=w.replace(/\s+$/,""));break;case"D":8===w.length?n[v][b]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):n[v][b]=w;break;case"F":n[v][b]=parseFloat(w.trim());break;case"+":case"I":n[v][b]=o?2147483648^T.read_shift(-4,"i"):T.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":n[v][b]=!0;break;case"N":case"F":n[v][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[v][b]="##MEMO##"+(o?parseInt(w.trim(),10):T.read_shift(4));break;case"N":w=w.replace(/\u0000/g,"").trim(),w&&"."!=w&&(n[v][b]=+w||0);break;case"@":n[v][b]=new Date(T.read_shift(-8,"f")-621356832e5);break;case"T":n[v][b]=new Date(864e5*(T.read_shift(4)-2440588)+T.read_shift(4));break;case"Y":n[v][b]=T.read_shift(4,"i")/1e4+T.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[v][b]=-T.read_shift(-8,"f");break;case"B":if(l&&8==p[b].len){n[v][b]=T.read_shift(8,"f");break}case"G":case"P":T.l+=p[b].len;break;case"0":if("_NullFlags"===p[b].name)break;default:throw new Error("DBF Unsupported data type "+p[b].type)}}else a.l+=h;if(2!=s&&a.l<a.length&&26!=a[a.l++])throw new Error("DBF EOF Marker missing "+(a.l-1)+" of "+a.length+" "+a[a.l-1].toString(16));return r&&r.sheetRows&&(n=n.slice(0,r.sheetRows)),r.DBF=p,n}function n(e,t){var n=t||{};n.dateNF||(n.dateNF="yyyymmdd");var a=la(r(e,n),n);return a["!cols"]=n.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete n.DBF,a}function a(e,t){try{return sa(n(e,t),t)}catch(r){if(t&&t.WTF)throw r}return{SheetNames:[],Sheets:{}}}var s={B:8,C:250,L:1,D:8,"?":0,"":0};function i(e,r){var n=r||{};if(+n.codepage>=0&&me(+n.codepage),"string"==n.type)throw new Error("Cannot write DBF to JS string");var a=Fn(),i=Ep(e,{header:1,raw:!0,cellDates:!0}),l=i[0],o=i.slice(1),c=e["!cols"]||[],f=0,h=0,u=0,p=1;for(f=0;f<l.length;++f)if(((c[f]||{}).DBF||{}).name)l[f]=c[f].DBF.name,++u;else if(null!=l[f]){if(++u,"number"===typeof l[f]&&(l[f]=l[f].toString(10)),"string"!==typeof l[f])throw new Error("DBF Invalid column name "+l[f]+" |"+typeof l[f]+"|");if(l.indexOf(l[f])!==f)for(h=0;h<1024;++h)if(-1==l.indexOf(l[f]+"_"+h)){l[f]+="_"+h;break}}var d=ra(e["!ref"]),m=[],g=[],v=[];for(f=0;f<=d.e.c-d.s.c;++f){var b="",T="",w=0,E=[];for(h=0;h<o.length;++h)null!=o[h][f]&&E.push(o[h][f]);if(0!=E.length&&null!=l[f]){for(h=0;h<E.length;++h){switch(typeof E[h]){case"number":T="B";break;case"string":T="C";break;case"boolean":T="L";break;case"object":T=E[h]instanceof Date?"D":"C";break;default:T="C"}w=Math.max(w,String(E[h]).length),b=b&&b!=T?"C":T}w>250&&(w=250),T=((c[f]||{}).DBF||{}).type,"C"==T&&c[f].DBF.len>w&&(w=c[f].DBF.len),"B"==b&&"N"==T&&(b="N",v[f]=c[f].DBF.dec,w=c[f].DBF.len),g[f]="C"==b||"N"==T?w:s[b]||0,p+=g[f],m[f]=b}else m[f]="?"}var S=a.next(32);for(S.write_shift(4,318902576),S.write_shift(4,o.length),S.write_shift(2,296+32*u),S.write_shift(2,p),f=0;f<4;++f)S.write_shift(4,0);for(S.write_shift(4,0|(+t[fe]||3)<<8),f=0,h=0;f<l.length;++f)if(null!=l[f]){var A=a.next(32),y=(l[f].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);A.write_shift(1,y,"sbcs"),A.write_shift(1,"?"==m[f]?"C":m[f],"sbcs"),A.write_shift(4,h),A.write_shift(1,g[f]||s[m[f]]||0),A.write_shift(1,v[f]||0),A.write_shift(1,2),A.write_shift(4,0),A.write_shift(1,0),A.write_shift(4,0),A.write_shift(4,0),h+=g[f]||s[m[f]]||0}var k=a.next(264);for(k.write_shift(4,13),f=0;f<65;++f)k.write_shift(4,0);for(f=0;f<o.length;++f){var _=a.next(p);for(_.write_shift(1,0),h=0;h<l.length;++h)if(null!=l[h])switch(m[h]){case"L":_.write_shift(1,null==o[f][h]?63:o[f][h]?84:70);break;case"B":_.write_shift(8,o[f][h]||0,"f");break;case"N":var x="0";for("number"==typeof o[f][h]&&(x=o[f][h].toFixed(v[h]||0)),u=0;u<g[h]-x.length;++u)_.write_shift(1,32);_.write_shift(1,x,"sbcs");break;case"D":o[f][h]?(_.write_shift(4,("0000"+o[f][h].getFullYear()).slice(-4),"sbcs"),_.write_shift(2,("00"+(o[f][h].getMonth()+1)).slice(-2),"sbcs"),_.write_shift(2,("00"+o[f][h].getDate()).slice(-2),"sbcs")):_.write_shift(8,"00000000","sbcs");break;case"C":var O=String(null!=o[f][h]?o[f][h]:"").slice(0,g[h]);for(_.write_shift(1,O,"sbcs"),u=0;u<g[h]-O.length;++u)_.write_shift(1,32);break}}return a.next(1).write_shift(1,26),a.end()}return{to_workbook:a,to_sheet:n,from_sheet:i}}(),Ai=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+er(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?we(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:we(n)};function a(e,t){switch(t.type){case"base64":return s(ke(e),t);case"binary":return s(e,t);case"buffer":return s(_e&&Buffer.isBuffer(e)?e.toString("binary"):Ne(e),t);case"array":return s(mr(e),t)}throw new Error("Unrecognized type "+t.type)}function s(e,a){var s,i=e.split(/[\n\r]+/),l=-1,o=-1,c=0,f=0,h=[],u=[],p=null,d={},m=[],g=[],v=[],b=0;for(+a.codepage>=0&&me(+a.codepage);c!==i.length;++c){b=0;var T,w=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),E=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),S=E[0];if(w.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==E[1].charAt(0)&&u.push(w.slice(3).replace(/;;/g,";"));break;case"C":var A=!1,y=!1,k=!1,_=!1,x=-1,O=-1;for(f=1;f<E.length;++f)switch(E[f].charAt(0)){case"A":break;case"X":o=parseInt(E[f].slice(1))-1,y=!0;break;case"Y":for(l=parseInt(E[f].slice(1))-1,y||(o=0),s=h.length;s<=l;++s)h[s]=[];break;case"K":T=E[f].slice(1),'"'===T.charAt(0)?T=T.slice(1,T.length-1):"TRUE"===T?T=!0:"FALSE"===T?T=!1:isNaN(br(T))?isNaN(wr(T).getDate())||(T=dr(T)):(T=br(T),null!==p&&Ft(p)&&(T=fr(T))),"undefined"!==typeof be&&"string"==typeof T&&"string"!=(a||{}).type&&(a||{}).codepage&&(T=be.utils.decode(a.codepage,T)),A=!0;break;case"E":_=!0;var C=$l(E[f].slice(1),{r:l,c:o});h[l][o]=[h[l][o],C];break;case"S":k=!0,h[l][o]=[h[l][o],"S5S"];break;case"G":break;case"R":x=parseInt(E[f].slice(1))-1;break;case"C":O=parseInt(E[f].slice(1))-1;break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}if(A&&(h[l][o]&&2==h[l][o].length?h[l][o][0]=T:h[l][o]=T,p=null),k){if(_)throw new Error("SYLK shared formula cannot have own formula");var R=x>-1&&h[x][O];if(!R||!R[1])throw new Error("SYLK shared formula cannot find base");h[l][o][1]=Yl(R[1],{r:l-x,c:o-O})}break;case"F":var I=0;for(f=1;f<E.length;++f)switch(E[f].charAt(0)){case"X":o=parseInt(E[f].slice(1))-1,++I;break;case"Y":for(l=parseInt(E[f].slice(1))-1,s=h.length;s<=l;++s)h[s]=[];break;case"M":b=parseInt(E[f].slice(1))/20;break;case"F":break;case"G":break;case"P":p=u[parseInt(E[f].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(v=E[f].slice(1).split(" "),s=parseInt(v[0],10);s<=parseInt(v[1],10);++s)b=parseInt(v[2],10),g[s-1]=0===b?{hidden:!0}:{wch:b},Vi(g[s-1]);break;case"C":o=parseInt(E[f].slice(1))-1,g[o]||(g[o]={});break;case"R":l=parseInt(E[f].slice(1))-1,m[l]||(m[l]={}),b>0?(m[l].hpt=b,m[l].hpx=Xi(b)):0===b&&(m[l].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}I<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}}return m.length>0&&(d["!rows"]=m),g.length>0&&(d["!cols"]=g),a&&a.sheetRows&&(h=h.slice(0,a.sheetRows)),[h,d]}function i(e,t){var r=a(e,t),n=r[0],s=r[1],i=la(n,t);return er(s).forEach((function(e){i[e]=s[e]})),i}function l(e,t){return sa(i(e,t),t)}function o(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+Kl(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return a}function c(e,t){t.forEach((function(t,r){var n="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Wi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=Hi(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&e.push(n)}))}function f(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*$i(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}function h(e,t){var r,n=["ID;PWXL;N;E"],a=[],s=ra(e["!ref"]),i=Array.isArray(e),l="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),e["!cols"]&&c(n,e["!cols"]),e["!rows"]&&f(n,e["!rows"]),n.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var h=s.s.r;h<=s.e.r;++h)for(var u=s.s.c;u<=s.e.c;++u){var p=Qn({r:h,c:u});r=i?(e[h]||[])[u]:e[p],r&&(null!=r.v||r.f&&!r.F)&&a.push(o(r,e,h,u,t))}return n.join(l)+l+a.join(l)+l+"E"+l}return e["|"]=254,{to_workbook:l,to_sheet:i,from_sheet:h}}(),yi=function(){function e(e,r){switch(r.type){case"base64":return t(ke(e),r);case"binary":return t(e,r);case"buffer":return t(_e&&Buffer.isBuffer(e)?e.toString("binary"):Ne(e),r);case"array":return t(mr(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,i=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(n<0)){var l=r[s].trim().split(","),o=l[0],c=l[1];++s;var f=r[s]||"";while(1&(f.match(/["]/g)||[]).length&&s<r.length-1)f+="\n"+r[++s];switch(f=f.trim(),+o){case-1:if("BOT"===f){i[++n]=[],a=0;continue}if("EOD"!==f)throw new Error("Unrecognized DIF special command "+f);break;case 0:"TRUE"===f?i[n][a]=!0:"FALSE"===f?i[n][a]=!1:isNaN(br(c))?isNaN(wr(c).getDate())?i[n][a]=c:i[n][a]=dr(c):i[n][a]=br(c),++a;break;case 1:f=f.slice(1,f.length-1),f=f.replace(/""/g,'"'),Se&&f&&f.match(/^=".*"$/)&&(f=f.slice(2,-1)),i[n][a++]=""!==f?f:null;break}if("EOD"===f)break}}else i[++n]=[],a=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return la(e(t,r),r)}function n(e,t){return sa(r(e,t),t)}var a=function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],s=ra(r["!ref"]),i=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,s.e.r-s.s.r+1,""),e(a,"TUPLES",0,s.e.c-s.s.c+1,""),e(a,"DATA",0,0,"");for(var l=s.s.r;l<=s.e.r;++l){t(a,-1,0,"BOT");for(var o=s.s.c;o<=s.e.c;++o){var c=Qn({r:l,c:o});if(n=i?(r[l]||[])[o]:r[c],n)switch(n.t){case"n":var f=Se?n.w:n.v;f||null==n.v||(f=n.v),null==f?Se&&n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,f,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,!Se||isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=Gt(n.z||Ze[14],ir(dr(n.v)))),Se?t(a,0,n.w,"V"):t(a,1,0,n.w);break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");var h="\r\n",u=a.join(h);return u}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),ki=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(t,r){for(var n=t.split("\n"),a=-1,s=-1,i=0,l=[];i!==n.length;++i){var o=n[i].trim().split(":");if("cell"===o[0]){var c=qn(o[1]);if(l.length<=c.r)for(a=l.length;a<=c.r;++a)l[a]||(l[a]=[]);switch(a=c.r,s=c.c,o[2]){case"t":l[a][s]=e(o[3]);break;case"v":l[a][s]=+o[3];break;case"vtf":var f=o[o.length-1];case"vtc":switch(o[3]){case"nl":l[a][s]=!!+o[4];break;default:l[a][s]=+o[4];break}"vtf"==o[2]&&(l[a][s]=[l[a][s],f])}}}return r&&r.sheetRows&&(l=l.slice(0,r.sheetRows)),l}function n(e,t){return la(r(e,t),t)}function a(e,t){return sa(n(e,t),t)}var s=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),i=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",l=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),o="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";for(var r,n=[],a=[],s="",i=ea(e["!ref"]),l=Array.isArray(e),o=i.s.r;o<=i.e.r;++o)for(var c=i.s.c;c<=i.e.c;++c)if(s=Qn({r:o,c:c}),r=l?(e[o]||[])[c]:e[s],r&&null!=r.v&&"z"!==r.t){switch(a=["cell",s,"t"],r.t){case"s":case"str":a.push(t(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=t(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var f=ir(dr(r.v));a[2]="vtc",a[3]="nd",a[4]=""+f,a[5]=r.w||Gt(r.z||Ze[14],f);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}function f(e){return[s,i,l,i,c(e),o].join("\n")}return{to_workbook:a,to_sheet:n,from_sheet:f}}(),_i=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:""===e||("TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:isNaN(br(e))?isNaN(wr(e).getDate())?t[r][n]=e:t[r][n]=dr(e):t[r][n]=br(e))}function t(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;var s=t.split(/[\r\n]/),i=s.length-1;while(i>=0&&0===s[i].length)--i;for(var l=10,o=0,c=0;c<=i;++c)o=s[c].indexOf(" "),-1==o?o=s[c].length:o++,l=Math.max(l,o);for(c=0;c<=i;++c){a[c]=[];var f=0;for(e(s[c].slice(0,l).trim(),a,c,f,n),f=1;f<=(s[c].length-l)/10+1;++f)e(s[c].slice(l+10*(f-1),l+10*f).trim(),a,c,f,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}var r={44:",",9:"\t",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(e){for(var t={},a=!1,s=0,i=0;s<e.length;++s)34==(i=e.charCodeAt(s))?a=!a:!a&&i in r&&(t[i]=(t[i]||0)+1);for(s in i=[],t)Object.prototype.hasOwnProperty.call(t,s)&&i.push([t[s],s]);if(!i.length)for(s in t=n,t)Object.prototype.hasOwnProperty.call(t,s)&&i.push([t[s],s]);return i.sort((function(e,t){return e[0]-t[0]||n[e[1]]-n[t[1]]})),r[i.pop()[1]]||44}function s(e,t){var r=t||{},n="";null!=Ee&&null==r.dense&&(r.dense=Ee);var s=r.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(n=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(n=e.charAt(4),e=e.slice(6)):n=a(e.slice(0,1024)):n=r&&r.FS?r.FS:a(e.slice(0,1024));var l=0,o=0,c=0,f=0,h=0,u=n.charCodeAt(0),p=!1,d=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var g=null!=r.dateNF?Xt(r.dateNF):null;function v(){var t=e.slice(f,h),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(r.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):Zl(t)?(n.t="n",n.f=t.slice(1)):(n.t="s",n.v=t);else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(c=br(t)))if(!isNaN(wr(t).getDate())||g&&t.match(g)){n.z=r.dateNF||Ze[14];var a=0;g&&t.match(g)&&(t=Kt(t,r.dateNF,t.match(g)||[]),a=1),r.cellDates?(n.t="d",n.v=dr(t,a)):(n.t="n",n.v=ir(dr(t,a))),!1!==r.cellText&&(n.w=Gt(n.z,n.v instanceof Date?ir(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=c;if("z"==n.t||(r.dense?(s[l]||(s[l]=[]),s[l][o]=n):s[Qn({c:o,r:l})]=n),f=h+1,m=e.charCodeAt(f),i.e.c<o&&(i.e.c=o),i.e.r<l&&(i.e.r=l),d==u)++o;else if(o=0,++l,r.sheetRows&&r.sheetRows<=l)return!0}e:for(;h<e.length;++h)switch(d=e.charCodeAt(h)){case 34:34===m&&(p=!p);break;case u:case 10:case 13:if(!p&&v())break e;break;default:break}return h-f>0&&v(),s["!ref"]=ta(i),s}function i(e,r){return r&&r.PRN?r.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?s(e,r):la(t(e,r),r):s(e,r)}function l(e,t){var r="",n="string"==t.type?[0,0,0,0]:hp(e,t);switch(t.type){case"base64":r=ke(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof be?be.utils.decode(t.codepage,e):_e&&Buffer.isBuffer(e)?e.toString("binary"):Ne(e);break;case"array":r=mr(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=Br(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=Br(r):"binary"==t.type&&"undefined"!==typeof be&&t.codepage&&(r=be.utils.decode(t.codepage,be.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?ki.to_sheet("string"==t.type?r:Br(r),t):i(r,t)}function o(e,t){return sa(l(e,t),t)}function c(e){for(var t,r=[],n=ra(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){for(var i=[],l=n.s.c;l<=n.e.c;++l){var o=Qn({r:s,c:l});if(t=a?(e[s]||[])[l]:e[o],t&&null!=t.v){var c=(t.w||(aa(t),t.w)||"").slice(0,10);while(c.length<10)c+=" ";i.push(c+(0===l?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();var xi=function(){function e(e,t,r){if(e){Pn(e,e.l||0);var n=r.Enum||M;while(e.l<e.length){var a=e.read_shift(2),s=n[a]||n[65535],i=e.read_shift(2),l=e.l+i,o=s.f&&s.f(e,i,r);if(e.l=l,t(o,s,a))return}}}function t(e,t){switch(t.type){case"base64":return r(Re(ke(e)),t);case"binary":return r(Re(e),t);case"buffer":case"array":return r(e,t)}throw"Unsupported type "+t.type}function r(t,r){if(!t)return t;var n=r||{};null!=Ee&&null==n.dense&&(n.dense=Ee);var a=n.dense?[]:{},s="Sheet1",i="",l=0,o={},c=[],f=[],h={s:{r:0,c:0},e:{r:0,c:0}},u=n.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=M,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:h=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||Ze[14],n.cellDates&&(e[1].t="d",e[1].v=fr(e[1].v))),n.qpro&&e[3]>l&&(a["!ref"]=ta(h),o[s]=a,c.push(s),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},l=e[3],s=i||"Sheet"+(l+1),i="");var f=n.dense?(a[e[0].r]||[])[e[0].c]:a[Qn(e[0])];if(f){f.t=e[1].t,f.v=e[1].v,null!=e[1].z&&(f.z=e[1].z),null!=e[1].f&&(f.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Qn(e[0])]=e[1];break;default:}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=F,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:s=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>l&&(a["!ref"]=ta(h),o[s]=a,c.push(s),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},l=e[3],s="Sheet"+(l+1)),u>0&&e[0].r>=u)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Qn(e[0])]=e[1],h.e.c<e[0].c&&(h.e.c=e[0].c),h.e.r<e[0].r&&(h.e.r=e[0].r);break;case 27:e[14e3]&&(f[e[14e3][0]]=e[14e3][1]);break;case 1537:f[e[0]]=e[1],e[0]==l&&(s=e[1]);break;default:break}}),n)}if(a["!ref"]=ta(h),o[i||s]=a,c.push(i||s),!f.length)return{SheetNames:c,Sheets:o};for(var p={},d=[],m=0;m<f.length;++m)o[c[m]]?(d.push(f[m]||c[m]),p[f[m]]=o[f[m]]||o[c[m]]):(d.push(f[m]),p[f[m]]={"!ref":"A1"});return{SheetNames:d,Sheets:p}}function n(e,t){var r=t||{};if(+r.codepage>=0&&me(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Fn(),a=ra(e["!ref"]),i=Array.isArray(e),l=[];ou(n,0,s(1030)),ou(n,6,o(a));for(var c=Math.min(a.e.r,8191),f=a.s.r;f<=c;++f)for(var u=jn(f),d=a.s.c;d<=a.e.c;++d){f===a.s.r&&(l[d]=Kn(d));var g=l[d]+u,v=i?(e[f]||[])[d]:e[g];if(v&&"z"!=v.t)if("n"==v.t)(0|v.v)==v.v&&v.v>=-32768&&v.v<=32767?ou(n,13,p(f,d,v.v)):ou(n,14,m(f,d,v.v));else{var b=aa(v);ou(n,15,h(f,d,b.slice(0,239)))}}return ou(n,1),n.end()}function a(e,t){var r=t||{};if(+r.codepage>=0&&me(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Fn();ou(n,0,i(e));for(var a=0,s=0;a<e.SheetNames.length;++a)(e.Sheets[e.SheetNames[a]]||{})["!ref"]&&ou(n,27,L(e.SheetNames[a],s++));var l=0;for(a=0;a<e.SheetNames.length;++a){var o=e.Sheets[e.SheetNames[a]];if(o&&o["!ref"]){for(var c=ra(o["!ref"]),f=Array.isArray(o),h=[],u=Math.min(c.e.r,8191),p=c.s.r;p<=u;++p)for(var d=jn(p),m=c.s.c;m<=c.e.c;++m){p===c.s.r&&(h[m]=Kn(m));var g=h[m]+d,v=f?(o[p]||[])[m]:o[g];if(v&&"z"!=v.t)if("n"==v.t)ou(n,23,_(p,m,l,v.v));else{var b=aa(v);ou(n,22,A(p,m,l,b.slice(0,239)))}}++l}}return ou(n,1),n.end()}function s(e){var t=Mn(2);return t.write_shift(2,e),t}function i(e){var t=Mn(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,n=0,a=0,s=0;s<e.SheetNames.length;++s){var i=e.SheetNames[s],l=e.Sheets[i];if(l&&l["!ref"]){++a;var o=ea(l["!ref"]);r<o.e.r&&(r=o.e.r),n<o.e.c&&(n=o.e.c)}}return r>8191&&(r=8191),t.write_shift(2,r),t.write_shift(1,a),t.write_shift(1,n),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function l(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e.read_shift(1),e.l++,n.s.r=e.read_shift(2),n.e.c=e.read_shift(1),e.l++,n.e.r=e.read_shift(2),n):(n.s.c=e.read_shift(2),n.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e.read_shift(2),n.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}function o(e){var t=Mn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function c(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e.read_shift(1),n[3]=e.read_shift(1),n[0].r=e.read_shift(2),e.l+=2):(n[2]=e.read_shift(1),n[0].c=e.read_shift(2),n[0].r=e.read_shift(2)),n}function f(e,t,r){var n=e.l+t,a=c(e,t,r);if(a[1].t="s",20768==r.vers){e.l++;var s=e.read_shift(1);return a[1].v=e.read_shift(s,"utf8"),a}return r.qpro&&e.l++,a[1].v=e.read_shift(n-e.l,"cstr"),a}function h(e,t,r){var n=Mn(7+r.length);n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(1,39);for(var a=0;a<n.length;++a){var s=r.charCodeAt(a);n.write_shift(1,s>=128?95:s)}return n.write_shift(1,0),n}function u(e,t,r){var n=c(e,t,r);return n[1].v=e.read_shift(2,"i"),n}function p(e,t,r){var n=Mn(7);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r,"i"),n}function d(e,t,r){var n=c(e,t,r);return n[1].v=e.read_shift(8,"f"),n}function m(e,t,r){var n=Mn(13);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(8,r,"f"),n}function g(e,t,r){var n=e.l+t,a=c(e,t,r);if(a[1].v=e.read_shift(8,"f"),r.qpro)e.l=n;else{var s=e.read_shift(2);w(e.slice(e.l,e.l+s),a),e.l+=s}return a}function v(e,t,r){var n=32768&t;return t&=-32769,t=(n?e:0)+(t>=8192?t-16384:t),(n?"":"$")+(r?Kn(t):jn(t))}var b={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},T=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function w(e,t){Pn(e,0);var r=[],n=0,a="",s="",i="",l="";while(e.l<e.length){var o=e[e.l++];switch(o){case 0:r.push(e.read_shift(8,"f"));break;case 1:s=v(t[0].c,e.read_shift(2),!0),a=v(t[0].r,e.read_shift(2),!1),r.push(s+a);break;case 2:var c=v(t[0].c,e.read_shift(2),!0),f=v(t[0].r,e.read_shift(2),!1);s=v(t[0].c,e.read_shift(2),!0),a=v(t[0].r,e.read_shift(2),!1),r.push(c+f+":"+s+a);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e.read_shift(2));break;case 6:var h="";while(o=e[e.l++])h+=String.fromCharCode(o);r.push('"'+h.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:l=r.pop(),i=r.pop(),r.push(["AND","OR"][o-20]+"("+i+","+l+")");break;default:if(o<32&&T[o])l=r.pop(),i=r.pop(),r.push(i+T[o]+l);else{if(!b[o])return o<=7?console.error("WK1 invalid opcode "+o.toString(16)):o<=24?console.error("WK1 unsupported op "+o.toString(16)):o<=30?console.error("WK1 invalid opcode "+o.toString(16)):o<=115?console.error("WK1 unsupported function opcode "+o.toString(16)):console.error("WK1 unrecognized opcode "+o.toString(16));if(n=b[o][1],69==n&&(n=e[e.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+o.toString(16)+":|"+r.join("|")+"|");var u=r.slice(-n);r.length-=n,r.push(b[o][0]+"("+u.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}function E(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function S(e,t){var r=E(e,t);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}function A(e,t,r,n){var a=Mn(6+n.length);a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),a.write_shift(1,39);for(var s=0;s<n.length;++s){var i=n.charCodeAt(s);a.write_shift(1,i>=128?95:i)}return a.write_shift(1,0),a}function y(e,t){var r=E(e,t);r[1].v=e.read_shift(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64;break}return r[1].v=n,r}function k(e,t){var r=E(e,t),n=e.read_shift(4),a=e.read_shift(4),s=e.read_shift(2);if(65535==s)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&s;return s=(32767&s)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,s+32)+n*Math.pow(2,s)),r}function _(e,t,r,n){var a=Mn(14);if(a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),0==n)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var s=0,i=0,l=0,o=0;return n<0&&(s=1,n=-n),i=0|Math.log2(n),n/=Math.pow(2,i-31),o=n>>>0,0==(2147483648&o)&&(n/=2,++i,o=n>>>0),n-=o,o|=2147483648,o>>>=0,n*=Math.pow(2,32),l=n>>>0,a.write_shift(4,l),a.write_shift(4,o),i+=16383+(s?32768:0),a.write_shift(2,i),a}function x(e,t){var r=k(e,14);return e.l+=t-14,r}function O(e,t){var r=E(e,t),n=e.read_shift(4);return r[1].v=n>>6,r}function C(e,t){var r=E(e,t),n=e.read_shift(8,"f");return r[1].v=n,r}function R(e,t){var r=C(e,14);return e.l+=t-10,r}function I(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function N(e,t){var r=e[e.l++];r>t-1&&(r=t-1);var n="";while(n.length<r)n+=String.fromCharCode(e[e.l++]);return n}function D(e,t,r){if(r.qpro&&!(t<21)){var n=e.read_shift(1);e.l+=17,e.l+=1,e.l+=2;var a=e.read_shift(t-21,"cstr");return[n,a]}}function P(e,t){var r={},n=e.l+t;while(e.l<n){var a=e.read_shift(2);if(14e3==a){r[a]=[0,""],r[a][0]=e.read_shift(2);while(e[e.l])r[a][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}function L(e,t){var r=Mn(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var n=0;n<e.length;++n){var a=e.charCodeAt(n);r[r.l++]=a>127?95:a}return r[r.l++]=0,r}var M={0:{n:"BOF",f:Ls},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:l},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:u},14:{n:"NUMBER",f:d},15:{n:"LABEL",f:f},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:f},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:I},222:{n:"SHEETNAMELP",f:N},65535:{n:""}},F={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:S},23:{n:"NUMBER17",f:k},24:{n:"NUMBER18",f:y},25:{n:"FORMULA19",f:x},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:P},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:O},38:{n:"??"},39:{n:"NUMBER27",f:C},40:{n:"FORMULA28",f:R},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:I},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:D},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}();var Oi=/^\s|\s$|[\t\n\r]/;function Ci(e,t){if(!t.bookSST)return"";var r=[Ar];r[r.length]=zr("sst",null,{xmlns:Yr[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],s="<si>";a.r?s+=a.r:(s+="<t",a.t||(a.t=""),a.t.match(Oi)&&(s+=' xml:space="preserve"'),s+=">"+Or(a.t)+"</t>"),s+="</si>",r[r.length]=s}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function Ri(e){return[e.read_shift(4),e.read_shift(4)]}function Ii(e,t){return t||(t=Mn(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var Ni=ma;function Di(e){var t=Fn();Un(t,159,Ii(e));for(var r=0;r<e.length;++r)Un(t,19,Ni(e[r]));return Un(t,160),t.end()}function Pi(e){if("undefined"!==typeof be)return be.utils.encode(fe,e);for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function Li(e){var t,r,n,a,s,i,l=0,o=Pi(e),c=o.length+1;for(t=Oe(c),t[0]=o.length,r=1;r!=c;++r)t[r]=o[r-1];for(r=c-1;r>=0;--r)n=t[r],a=0===(16384&l)?0:1,s=l<<1&32767,i=a|s,l=i^n;return 52811^l}var Mi=function(){function e(e,r){switch(r.type){case"base64":return t(ke(e),r);case"binary":return t(e,r);case"buffer":return t(_e&&Buffer.isBuffer(e)?e.toString("binary"):Ne(e),r);case"array":return t(mr(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=t||{},n=r.dense?[]:{},a=e.match(/\\trowd.*?\\row\b/g);if(!a.length)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:a.length-1}};return a.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);var r,a=/\\\w+\b/g,i=0,l=-1;while(r=a.exec(e)){switch(r[0]){case"\\cell":var o=e.slice(i,a.lastIndex-r[0].length);if(" "==o[0]&&(o=o.slice(1)),++l,o.length){var c={v:o,t:"s"};Array.isArray(n)?n[t][l]=c:n[Qn({r:t,c:l})]=c}break}i=a.lastIndex}l>s.e.c&&(s.e.c=l)})),n["!ref"]=ta(s),n}function r(t,r){return sa(e(t,r),r)}function n(e){for(var t,r=["{\\rtf1\\ansi"],n=ra(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var l=Qn({r:s,c:i});t=a?(e[s]||[])[i]:e[l],t&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(aa(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function Fi(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var Ui=6,Bi=Ui;function Wi(e){return Math.floor((e+Math.round(128/Bi)/256)*Bi)}function Hi(e){return Math.floor((e-5)/Bi*100+.5)/100}function Gi(e){return Math.round((e*Bi+5)/Bi*256)/256}function Vi(e){e.width?(e.wpx=Wi(e.width),e.wch=Hi(e.wpx),e.MDW=Bi):e.wpx?(e.wch=Hi(e.wpx),e.width=Gi(e.wch),e.MDW=Bi):"number"==typeof e.wch&&(e.width=Gi(e.wch),e.wpx=Wi(e.width),e.MDW=Bi),e.customWidth&&delete e.customWidth}var ji=96,zi=ji;function $i(e){return 96*e/zi}function Xi(e){return e*zi/96}function Ki(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=zr("numFmt",null,{numFmtId:n,formatCode:Or(e[n])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=zr("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Yi(e){var t=[];return t[t.length]=zr("cellXfs",null),e.forEach((function(e){t[t.length]=zr("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=zr("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Zi(e,t){var r,n=[Ar,zr("styleSheet",null,{xmlns:Yr[0],"xmlns:vt":Kr.vt})];return e.SSF&&null!=(r=Ki(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=Yi(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Ji(e,t){var r=e.read_shift(2),n=fa(e,t-2);return[r,n]}function qi(e,t,r){r||(r=Mn(6+4*t.length)),r.write_shift(2,e),ha(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Qi(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=Ba(e,2,r);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var s=e.read_shift(2);switch(700===s&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var i=e.read_shift(1);0!=i&&(n.underline=i);var l=e.read_shift(1);l>0&&(n.family=l);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=Fa(e,8),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=fa(e,t-21),n}function el(e,t){t||(t=Mn(153)),t.write_shift(2,20*e.sz),Wa(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Ua(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t.write_shift(1,n),ha(e.name,t),t.length>t.l?t.slice(0,t.l):t}var tl,rl=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],nl=Ln;function al(e,t){t||(t=Mn(84)),tl||(tl=rr(rl));var r=tl[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(Ua({auto:1},t),Ua({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function sl(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function il(e,t,r){r||(r=Mn(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function ll(e,t){return t||(t=Mn(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var ol=Ln;function cl(e,t){return t||(t=Mn(51)),t.write_shift(1,0),ll(null,t),ll(null,t),ll(null,t),ll(null,t),ll(null,t),t.length>t.l?t.slice(0,t.l):t}function fl(e,t){return t||(t=Mn(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),ka(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function hl(e,t,r){var n=Mn(2052);return n.write_shift(4,e),ka(t,n),ka(r,n),n.length>n.l?n.slice(0,n.l):n}function ul(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(Un(e,615,ca(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Un(e,44,qi(n,t[n]))})),Un(e,616))}}function pl(e){var t=1;0!=t&&(Un(e,611,ca(t)),Un(e,43,el({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Un(e,612))}function dl(e){var t=2;0!=t&&(Un(e,603,ca(t)),Un(e,45,al({patternType:"none"})),Un(e,45,al({patternType:"gray125"})),Un(e,604))}function ml(e){var t=1;0!=t&&(Un(e,613,ca(t)),Un(e,46,cl({})),Un(e,614))}function gl(e){var t=1;Un(e,626,ca(t)),Un(e,47,il({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Un(e,627)}function vl(e,t){Un(e,617,ca(t.length)),t.forEach((function(t){Un(e,47,il(t,0))})),Un(e,618)}function bl(e){var t=1;Un(e,619,ca(t)),Un(e,48,fl({xfId:0,builtinId:0,name:"Normal"})),Un(e,620)}function Tl(e){var t=0;Un(e,505,ca(t)),Un(e,506)}function wl(e){var t=0;Un(e,508,hl(t,"TableStyleMedium9","PivotStyleMedium4")),Un(e,509)}function El(){}function Sl(e,t){var r=Fn();return Un(r,278),ul(r,e.SSF),pl(r,e),dl(r,e),ml(r,e),gl(r,e),vl(r,t.cellXfs),bl(r,e),Tl(r,e),wl(r,e),El(r,e),Un(r,279),r.end()}function Al(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[Ar];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function yl(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:fa(e,t-8)}}function kl(e){var t=Mn(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),ha(e.name,t),t.slice(0,t.l)}function _l(e){var t=[],r=e.read_shift(4);while(r-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function xl(e){var t=Mn(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function Ol(e,t){var r=Mn(8+2*t.length);return r.write_shift(4,e),ha(t,r),r.slice(0,r.l)}function Cl(e){return e.l+=4,0!=e.read_shift(4)}function Rl(e,t){var r=Mn(8);return r.write_shift(4,e),r.write_shift(4,t?1:0),r}function Il(){var e=Fn();return Un(e,332),Un(e,334,ca(1)),Un(e,335,kl({name:"XLDAPR",version:12e4,flags:3496657072})),Un(e,336),Un(e,339,Ol(1,"XLDAPR")),Un(e,52),Un(e,35,ca(514)),Un(e,4096,ca(0)),Un(e,4097,Ms(1)),Un(e,36),Un(e,53),Un(e,340),Un(e,337,Rl(1,!0)),Un(e,51,xl([[1,0]])),Un(e,338),Un(e,333),e.end()}function Nl(){var e=[Ar];return e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}function Dl(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=Qn(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}var Pl=1024;function Ll(e,t){var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[zr("xml",null,{"xmlns:v":Zr.v,"xmlns:o":Zr.o,"xmlns:x":Zr.x,"xmlns:mv":Zr.mv}).replace(/\/>/,">"),zr("o:shapelayout",zr("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),zr("v:shapetype",[zr("v:stroke",null,{joinstyle:"miter"}),zr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];while(Pl<1e3*e)Pl+=1e3;return t.forEach((function(e){var t=qn(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?zr("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=zr("v:fill",n,r),i={on:"t",obscured:"t"};++Pl,a=a.concat(["<v:shape"+jr({id:"_x0000_s"+Pl,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,zr("v:shadow",null,i),zr("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Vr("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Vr("x:AutoFill","False"),Vr("x:Row",String(t.r)),Vr("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),a.push("</xml>"),a.join("")}function Ml(e){var t=[Ar,zr("comments",null,{xmlns:Yr[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var n=Or(e.a);-1==r.indexOf(n)&&(r.push(n),t.push("<author>"+n+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(Or(e.a))),a.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+n+'"><text>'),a.length<=1)t.push(Vr("t",Or(a[0]||"")));else{for(var s="Comment:\n "+a[0]+"\n",i=1;i<a.length;++i)s+="Reply:\n "+a[i]+"\n";t.push(Vr("t",Or(s)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function Fl(e,t,r){var n=[Ar,zr("ThreadedComments",null,{xmlns:Kr.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(s,i){if(s.T){s.a&&-1==t.indexOf(s.a)&&t.push(s.a);var l={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?a=l.id:l.parentId=a,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(zr("threadedComment",Vr("text",s.t||""),l))}else delete s.ID}))})),n.push("</ThreadedComments>"),n.join("")}function Ul(e){var t=[Ar,zr("personList",null,{xmlns:Kr.TCMNT,"xmlns:x":Yr[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(zr("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}function Bl(e){var t={};t.iauthor=e.read_shift(4);var r=Da(e,16);return t.rfx=r.s,t.ref=Qn(r.s),e.l+=16,t}function Wl(e,t){return null==t&&(t=Mn(36)),t.write_shift(4,e[1].iauthor),Pa(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Hl=fa;function Gl(e){return ha(e.slice(0,54))}function Vl(e){var t=Fn(),r=[];return Un(t,628),Un(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Un(t,632,Gl(e.a)))}))})),Un(t,631),Un(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:qn(e[0]),e:qn(e[0])};Un(t,635,Wl([a,n])),n.t&&n.t.length>0&&Un(t,637,va(n)),Un(t,636),delete n.iauthor}))})),Un(t,634),Un(t,629),t.end()}function jl(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Zt.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}var zl=["xlsb","xlsm","xlam","biff8","xla"];var $l=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var s=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?s=!0:"["==a.charAt(0)&&(s=!0,a=a.slice(1,-1));var l=n.length>0?0|parseInt(n,10):0,o=a.length>0?0|parseInt(a,10):0;return s?o+=t.c:--o,i?l+=t.r:--l,r+(s?"":"$")+Kn(o)+(i?"":"$")+jn(l)}return function(n,a){return t=a,n.replace(e,r)}}(),Xl=/(^|[^._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,Kl=function(){return function(e,t){return e.replace(Xl,(function(e,r,n,a,s,i){var l=Xn(a)-(n?0:t.c),o=Vn(i)-(s?0:t.r),c=0==o?"":s?o+1:"["+o+"]",f=0==l?"":n?l+1:"["+l+"]";return r+"R"+c+"C"+f}))}}();function Yl(e,t){return e.replace(Xl,(function(e,r,n,a,s,i){return r+("$"==n?n+a:Kn(Xn(a)+t.c))+("$"==s?s+i:jn(Vn(i)+t.r))}))}function Zl(e){return 1!=e.length}function Jl(e){e.l+=1}function ql(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function Ql(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return eo(e,t,r);12==r.biff&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),i=ql(e,2),l=ql(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:l[0],cRel:l[1],rRel:l[2]}}}function eo(e){var t=ql(e,2),r=ql(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function to(e,t,r){if(r.biff<8)return eo(e,t,r);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),s=ql(e,2),i=ql(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}function ro(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return no(e,t,r);var n=e.read_shift(r&&12==r.biff?4:2),a=ql(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function no(e){var t=ql(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function ao(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function so(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return io(e,t,r);var a=e.read_shift(n>=12?4:2),s=e.read_shift(2),i=(16384&s)>>14,l=(32768&s)>>15;if(s&=16383,1==l)while(a>524287)a-=1048576;if(1==i)while(s>8191)s-=16384;return{r:a,c:s,cRel:i,rRel:l}}function io(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}function lo(e,t,r){var n=(96&e[e.l++])>>5,a=Ql(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function oo(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i"),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}var i=Ql(e,s,r);return[n,a,i]}function co(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function fo(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}return e.l+=s,[n,a]}function ho(e,t,r){var n=(96&e[e.l++])>>5,a=to(e,t-1,r);return[n,a]}function uo(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}function po(e){var t=1&e[e.l+1],r=1;return e.l+=4,[t,r]}function mo(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],s=0;s<=n;++s)a.push(e.read_shift(r&&2==r.biff?1:2));return a}function go(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}function vo(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}function bo(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function To(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}function wo(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function Eo(e){return e.read_shift(2),wo(e,2)}function So(e){return e.read_shift(2),wo(e,2)}function Ao(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=ro(e,0,r);return[n,a]}function yo(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=so(e,0,r);return[n,a]}function ko(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);r&&5==r.biff&&(e.l+=12);var s=ro(e,0,r);return[n,a,s]}function _o(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[Mc[a],Lc[a],n]}function xo(e,t,r){var n=e[e.l++],a=e.read_shift(1),s=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:Oo(e);return[a,(0===s[0]?Lc:Pc)[s[1]]]}function Oo(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function Co(e,t,r){e.l+=r&&2==r.biff?3:4}function Ro(e,t,r){if(e.l++,r&&12==r.biff)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function Io(e){return e.l++,rs[e.read_shift(1)]}function No(e){return e.l++,e.read_shift(2)}function Do(e){return e.l++,0!==e.read_shift(1)}function Po(e){return e.l++,La(e,8)}function Lo(e,t,r){return e.l++,Us(e,t-1,r)}function Mo(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Ds(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=rs[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=La(e,8);break;case 2:r[1]=Gs(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Fo(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],s=0;s!=n;++s)a.push((12==r.biff?Da:Ks)(e,8));return a}function Uo(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var s=0,i=[];s!=n&&(i[s]=[]);++s)for(var l=0;l!=a;++l)i[s][l]=Mo(e,r.biff);return i}function Bo(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,s=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,s]}function Wo(e,t,r){if(5==r.biff)return Ho(e,t,r);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),s=e.read_shift(4);return[n,a,s]}function Ho(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function Go(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&2==r.biff?3:4;var a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function Vo(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function jo(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}function zo(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6;break}return e.l+=s,[n,a]}var $o=Ln,Xo=Ln,Ko=Ln;function Yo(e,t,r){return e.l+=2,[ao(e,4,r)]}function Zo(e){return e.l+=6,[]}var Jo=Yo,qo=Zo,Qo=Zo,ec=Yo;function tc(e){return e.l+=2,[Ls(e),1&e.read_shift(2)]}var rc=Yo,nc=tc,ac=Zo,sc=Yo,ic=Yo,lc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function oc(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),s=e.read_shift(2),i=lc[r>>2&31];return{ixti:t,coltype:3&r,rt:i,idx:n,c:a,C:s}}function cc(e){return e.l+=2,[e.read_shift(4)]}function fc(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}function hc(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}function uc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function pc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function dc(e){return e.l+=4,[0,0]}var mc={1:{n:"PtgExp",f:Ro},2:{n:"PtgTbl",f:Ko},3:{n:"PtgAdd",f:Jl},4:{n:"PtgSub",f:Jl},5:{n:"PtgMul",f:Jl},6:{n:"PtgDiv",f:Jl},7:{n:"PtgPower",f:Jl},8:{n:"PtgConcat",f:Jl},9:{n:"PtgLt",f:Jl},10:{n:"PtgLe",f:Jl},11:{n:"PtgEq",f:Jl},12:{n:"PtgGe",f:Jl},13:{n:"PtgGt",f:Jl},14:{n:"PtgNe",f:Jl},15:{n:"PtgIsect",f:Jl},16:{n:"PtgUnion",f:Jl},17:{n:"PtgRange",f:Jl},18:{n:"PtgUplus",f:Jl},19:{n:"PtgUminus",f:Jl},20:{n:"PtgPercent",f:Jl},21:{n:"PtgParen",f:Jl},22:{n:"PtgMissArg",f:Jl},23:{n:"PtgStr",f:Lo},26:{n:"PtgSheet",f:fc},27:{n:"PtgEndSheet",f:hc},28:{n:"PtgErr",f:Io},29:{n:"PtgBool",f:Do},30:{n:"PtgInt",f:No},31:{n:"PtgNum",f:Po},32:{n:"PtgArray",f:uo},33:{n:"PtgFunc",f:_o},34:{n:"PtgFuncVar",f:xo},35:{n:"PtgName",f:Bo},36:{n:"PtgRef",f:Ao},37:{n:"PtgArea",f:lo},38:{n:"PtgMemArea",f:Go},39:{n:"PtgMemErr",f:$o},40:{n:"PtgMemNoMem",f:Xo},41:{n:"PtgMemFunc",f:Vo},42:{n:"PtgRefErr",f:jo},43:{n:"PtgAreaErr",f:co},44:{n:"PtgRefN",f:yo},45:{n:"PtgAreaN",f:ho},46:{n:"PtgMemAreaN",f:uc},47:{n:"PtgMemNoMemN",f:pc},57:{n:"PtgNameX",f:Wo},58:{n:"PtgRef3d",f:ko},59:{n:"PtgArea3d",f:oo},60:{n:"PtgRefErr3d",f:zo},61:{n:"PtgAreaErr3d",f:fo},255:{}},gc={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},vc={1:{n:"PtgElfLel",f:tc},2:{n:"PtgElfRw",f:sc},3:{n:"PtgElfCol",f:Jo},6:{n:"PtgElfRwV",f:ic},7:{n:"PtgElfColV",f:ec},10:{n:"PtgElfRadical",f:rc},11:{n:"PtgElfRadicalS",f:ac},13:{n:"PtgElfColS",f:qo},15:{n:"PtgElfColSV",f:Qo},16:{n:"PtgElfRadicalLel",f:nc},25:{n:"PtgList",f:oc},29:{n:"PtgSxName",f:cc},255:{}},bc={0:{n:"PtgAttrNoop",f:dc},1:{n:"PtgAttrSemi",f:To},2:{n:"PtgAttrIf",f:vo},4:{n:"PtgAttrChoose",f:mo},8:{n:"PtgAttrGoto",f:go},16:{n:"PtgAttrSum",f:Co},32:{n:"PtgAttrBaxcel",f:po},33:{n:"PtgAttrBaxcel",f:po},64:{n:"PtgAttrSpace",f:Eo},65:{n:"PtgAttrSpaceSemi",f:So},128:{n:"PtgAttrIfError",f:bo},255:{}};function Tc(e,t,r,n){if(n.biff<8)return Ln(e,t);for(var a=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Uo(e,0,n),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=Fo(e,r[i][1],n),s.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e.read_shift(4),s.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0];default:break}return t=a-e.l,0!==t&&s.push(Ln(e,t)),s}function wc(e,t,r){var n,a,s=e.l+t,i=[];while(s!=e.l)t=s-e.l,a=e[e.l],n=mc[a]||mc[gc[a]],24!==a&&25!==a||(n=(24===a?vc:bc)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Ln(e,t);return i}function Ec(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],s=0;s<n.length;++s){var i=n[s];if(i)switch(i[0]){case 2:a.push('"'+i[1].replace(/"/g,'""')+'"');break;default:a.push(i[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var Sc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ac(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function yc(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function kc(e,t,r){var n=yc(e,t,r);return"#REF"==n?n:Ac(n,r)}function _c(e,t,r,n,a){var s,i,l,o,c=a&&a.biff||8,f={s:{c:0,r:0},e:{c:0,r:0}},h=[],u=0,p=0,d="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,b=e[0].length;v<b;++v){var T=e[0][v];switch(T[0]){case"PtgUminus":h.push("-"+h.pop());break;case"PtgUplus":h.push("+"+h.pop());break;case"PtgPercent":h.push(h.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(s=h.pop(),i=h.pop(),m>=0){switch(e[0][m][1][0]){case 0:g=vr(" ",e[0][m][1][1]);break;case 1:g=vr("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}h.push(i+Sc[T[0]]+s);break;case"PtgIsect":s=h.pop(),i=h.pop(),h.push(i+" "+s);break;case"PtgUnion":s=h.pop(),i=h.pop(),h.push(i+","+s);break;case"PtgRange":s=h.pop(),i=h.pop(),h.push(i+":"+s);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=Bn(T[1][1],f,a),h.push(Hn(l,c));break;case"PtgRefN":l=r?Bn(T[1][1],r,a):T[1][1],h.push(Hn(l,c));break;case"PtgRef3d":u=T[1][1],l=Bn(T[1][2],f,a),d=kc(n,u,a);h.push(d+"!"+Hn(l,c));break;case"PtgFunc":case"PtgFuncVar":var w=T[1][0],E=T[1][1];w||(w=0),w&=127;var S=0==w?[]:h.slice(-w);h.length-=w,"User"===E&&(E=S.shift()),h.push(E+"("+S.join(",")+")");break;case"PtgBool":h.push(T[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(T[1]);break;case"PtgNum":h.push(String(T[1]));break;case"PtgStr":h.push('"'+T[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(T[1]);break;case"PtgAreaN":o=Wn(T[1][1],r?{s:r}:f,a),h.push(Gn(o,a));break;case"PtgArea":o=Wn(T[1][1],f,a),h.push(Gn(o,a));break;case"PtgArea3d":u=T[1][1],o=T[1][2],d=kc(n,u,a),h.push(d+"!"+Gn(o,a));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":p=T[1][2];var A=(n.names||[])[p-1]||(n[0]||[])[p],y=A?A.Name:"SH33TJSNAME"+String(p);y&&"_xlfn."==y.slice(0,6)&&!a.xlfn&&(y=y.slice(6)),h.push(y);break;case"PtgNameX":var k,_=T[1][1];if(p=T[1][2],!(a.biff<=5)){var x="";if(14849==((n[_]||[])[0]||[])[0]||(1025==((n[_]||[])[0]||[])[0]?n[_][p]&&n[_][p].itab>0&&(x=n.SheetNames[n[_][p].itab-1]+"!"):x=n.SheetNames[p-1]+"!"),n[_]&&n[_][p])x+=n[_][p].Name;else if(n[0]&&n[0][p])x+=n[0][p].Name;else{var O=(yc(n,_,a)||"").split(";;");O[p-1]?x=O[p-1]:x+="SH33TJSERRX"}h.push(x);break}_<0&&(_=-_),n[_]&&(k=n[_][p]),k||(k={Name:"SH33TJSERRY"}),h.push(k.Name);break;case"PtgParen":var C="(",R=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:C=vr(" ",e[0][m][1][1])+C;break;case 3:C=vr("\r",e[0][m][1][1])+C;break;case 4:R=vr(" ",e[0][m][1][1])+R;break;case 5:R=vr("\r",e[0][m][1][1])+R;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(C+h.pop()+R);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":l={c:T[1][1],r:T[1][0]};var I={c:r.c,r:r.r};if(n.sharedf[Qn(l)]){var N=n.sharedf[Qn(l)];h.push(_c(N,f,I,n,a))}else{var D=!1;for(s=0;s!=n.arrayf.length;++s)if(i=n.arrayf[s],!(l.c<i[0].s.c||l.c>i[0].e.c)&&!(l.r<i[0].s.r||l.r>i[0].e.r)){h.push(_c(i[1],f,I,n,a)),D=!0;break}D||h.push(T[1])}break;case"PtgArray":h.push("{"+Ec(T[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":h.push("#REF!");break;case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+T[1].idx+"[#"+T[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(T));default:throw new Error("Unrecognized Formula Token: "+String(T))}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=a.biff&&m>=0&&-1==P.indexOf(e[0][v][0])){T=e[0][m];var L=!0;switch(T[1][0]){case 4:L=!1;case 0:g=vr(" ",T[1][1]);break;case 5:L=!1;case 1:g=vr("\r",T[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+T[1][0])}h.push((L?g:"")+h.pop()+(L?"":g)),m=-1}}if(h.length>1&&a.WTF)throw new Error("bad formula stack");return h[0]}function xc(e){if(null==e){var t=Mn(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return Ma("number"==typeof e?e:0)}function Oc(e,t,r,n,a){var s=$s(t,r,a),i=xc(e.v),l=Mn(6),o=33;l.write_shift(2,o),l.write_shift(4,0);for(var c=Mn(e.bf.length),f=0;f<e.bf.length;++f)c[f]=e.bf[f];var h=Pe([s,i,l,c]);return h}function Cc(e,t,r){var n=e.read_shift(4),a=wc(e,n,r),s=e.read_shift(4),i=s>0?Tc(e,s,a,r):null;return[a,i]}var Rc=Cc,Ic=Cc,Nc=Cc,Dc=Cc,Pc={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"},Lc={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"},Mc={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 Fc(e){var t="of:="+e.replace(Xl,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Uc(e){return e.replace(/\./,"!")}var Bc="undefined"!==typeof Map;function Wc(e,t,r){var n=0,a=e.length;if(r){if(Bc?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=Bc?r.get(t):r[t];n<s.length;++n)if(e[s[n]].t===t)return e.Count++,s[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(Bc?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function Hc(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(Bi=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=Hi(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=Gi(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function Gc(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function Vc(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,s=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){Vt(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=s;++a)if(e[a].numFmtId===n)return a;return e[s]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function jc(e,t,r){if(e&&e["!ref"]){var n=ra(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function zc(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+ta(e[r])+'"/>';return t+"</mergeCells>"}function $c(e,t,r,n,a){var s=!1,i={},l=null;if("xlsx"!==n.bookType&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch(f){}s=!0,i.codeName=Wr(Or(o))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),l=(l||"")+zr("outlinePr",null,c)}(s||l)&&(a[a.length]=zr("sheetPr",l,i))}var Xc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Kc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Yc(e){var t={sheet:1};return Xc.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Kc.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=Li(e.password).toString(16).toUpperCase()),zr("sheetProtection",null,t)}function Zc(e){return Gc(e),zr("pageMargins",null,e)}function Jc(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=zr("col",null,Hc(a,r)));return n[n.length]="</cols>",n.join("")}function qc(e,t,r,n){var a="string"==typeof e.ref?e.ref:ta(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=ea(a);i.s.r==i.e.r&&(i.e.r=ea(t["!ref"]).e.r,a=ta(i));for(var l=0;l<s.length;++l){var o=s[l];if("_xlnm._FilterDatabase"==o.Name&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return l==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),zr("autoFilter",null,{ref:a})}function Qc(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),zr("sheetViews",zr("sheetView",null,a),{})}function ef(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!==typeof e.f||"z"===e.t&&!e.f)return"";var a="",s=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=rs[e.v];break;case"d":n&&n.cellDates?a=dr(e.v,-1).toISOString():(e=gr(e),e.t="n",a=""+(e.v=ir(dr(e.v)))),"undefined"===typeof e.z&&(e.z=Ze[14]);break;default:a=e.v;break}var l=Vr("v",Or(a)),o={r:t},c=Vc(n.cellXfs,e,n);switch(0!==c&&(o.s=c),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){l=Vr("v",""+Wc(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=s&&(e.t=s,e.v=i),"string"==typeof e.f&&e.f){var f=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;l=zr("f",Or(e.f),f)+(null!=e.v?l:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),zr("c",l,o)}function tf(e,t,r,n){var a,s,i=[],l=[],o=ra(e["!ref"]),c="",f="",h=[],u=0,p=0,d=e["!rows"],m=Array.isArray(e),g={r:f},v=-1;for(p=o.s.c;p<=o.e.c;++p)h[p]=Kn(p);for(u=o.s.r;u<=o.e.r;++u){for(l=[],f=jn(u),p=o.s.c;p<=o.e.c;++p){a=h[p]+f;var b=m?(e[u]||[])[p]:e[a];void 0!==b&&(null!=(c=ef(b,a,e,t,r,n))&&l.push(c))}(l.length>0||d&&d[u])&&(g={r:f},d&&d[u]&&(s=d[u],s.hidden&&(g.hidden=1),v=-1,s.hpx?v=$i(s.hpx):s.hpt&&(v=s.hpt),v>-1&&(g.ht=v,g.customHeight=1),s.level&&(g.outlineLevel=s.level)),i[i.length]=zr("row",l.join(""),g))}if(d)for(;u<d.length;++u)d&&d[u]&&(g={r:u+1},s=d[u],s.hidden&&(g.hidden=1),v=-1,s.hpx?v=$i(s.hpx):s.hpt&&(v=s.hpt),v>-1&&(g.ht=v,g.customHeight=1),s.level&&(g.outlineLevel=s.level),i[i.length]=zr("row","",g));return i.join("")}function rf(e,t,r,n){var a=[Ar,zr("worksheet",null,{xmlns:Yr[0],"xmlns:r":Kr.r})],s=r.SheetNames[e],i=0,l="",o=r.Sheets[s];null==o&&(o={});var c=o["!ref"]||"A1",f=ra(c);if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),c=ta(f)}n||(n={}),o["!comments"]=[];var h=[];$c(o,r,e,t,a),a[a.length]=zr("dimension",null,{ref:c}),a[a.length]=Qc(o,t,e,r),t.sheetFormat&&(a[a.length]=zr("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=o["!cols"]&&o["!cols"].length>0&&(a[a.length]=Jc(o,o["!cols"])),a[i=a.length]="<sheetData/>",o["!links"]=[],null!=o["!ref"]&&(l=tf(o,t,e,r,n),l.length>0&&(a[a.length]=l)),a.length>i+1&&(a[a.length]="</sheetData>",a[i]=a[i].replace("/>",">")),o["!protect"]&&(a[a.length]=Yc(o["!protect"])),null!=o["!autofilter"]&&(a[a.length]=qc(o["!autofilter"],o,r,e)),null!=o["!merges"]&&o["!merges"].length>0&&(a[a.length]=zc(o["!merges"]));var u,p=-1,d=-1;return o["!links"].length>0&&(a[a.length]="<hyperlinks>",o["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(d=fs(n,-1,Or(e[1].Target).replace(/#.*$/,""),ls.HLINK),u["r:id"]="rId"+d),(p=e[1].Target.indexOf("#"))>-1&&(u.location=Or(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=Or(e[1].Tooltip)),a[a.length]=zr("hyperlink",null,u))})),a[a.length]="</hyperlinks>"),delete o["!links"],null!=o["!margins"]&&(a[a.length]=Zc(o["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(a[a.length]=Vr("ignoredErrors",zr("ignoredError",null,{numberStoredAsText:1,sqref:c}))),h.length>0&&(d=fs(n,-1,"../drawings/drawing"+(e+1)+".xml",ls.DRAW),a[a.length]=zr("drawing",null,{"r:id":"rId"+d}),o["!drawing"]=h),o["!comments"].length>0&&(d=fs(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ls.VML),a[a.length]=zr("legacyDrawing",null,{"r:id":"rId"+d}),o["!legacy"]=d),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function nf(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=n,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=a/20),r}function af(e,t,r){var n=Mn(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var s=320;a.hpx?s=20*$i(a.hpx):a.hpt&&(s=20*a.hpt),n.write_shift(2,s),n.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n.write_shift(1,i),n.write_shift(1,0);var l=0,o=n.l;n.l+=4;for(var c={r:e,c:0},f=0;f<16;++f)if(!(t.s.c>f+1<<10||t.e.c<f<<10)){for(var h=-1,u=-1,p=f<<10;p<f+1<<10;++p){c.c=p;var d=Array.isArray(r)?(r[c.r]||[])[c.c]:r[Qn(c)];d&&(h<0&&(h=p),u=p)}h<0||(++l,n.write_shift(4,h),n.write_shift(4,u))}var m=n.l;return n.l=o,n.write_shift(4,l),n.l=m,n.length>n.l?n.slice(0,n.l):n}function sf(e,t,r,n){var a=af(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Un(e,0,a)}var lf=Da,of=Pa;function cf(){}function ff(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=Sa(e,t-19),r}function hf(e,t,r){null==r&&(r=Mn(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return Ua({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Aa(e,r),r.slice(0,r.l)}function uf(e){var t=ba(e);return[t]}function pf(e,t,r){return null==r&&(r=Mn(8)),Ta(t,r)}function df(e){var t=wa(e);return[t]}function mf(e,t,r){return null==r&&(r=Mn(4)),Ea(t,r)}function gf(e){var t=ba(e),r=e.read_shift(1);return[t,r,"b"]}function vf(e,t,r){return null==r&&(r=Mn(9)),Ta(t,r),r.write_shift(1,e.v?1:0),r}function bf(e){var t=wa(e),r=e.read_shift(1);return[t,r,"b"]}function Tf(e,t,r){return null==r&&(r=Mn(5)),Ea(t,r),r.write_shift(1,e.v?1:0),r}function wf(e){var t=ba(e),r=e.read_shift(1);return[t,r,"e"]}function Ef(e,t,r){return null==r&&(r=Mn(9)),Ta(t,r),r.write_shift(1,e.v),r}function Sf(e){var t=wa(e),r=e.read_shift(1);return[t,r,"e"]}function Af(e,t,r){return null==r&&(r=Mn(8)),Ea(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function yf(e){var t=ba(e),r=e.read_shift(4);return[t,r,"s"]}function kf(e,t,r){return null==r&&(r=Mn(12)),Ta(t,r),r.write_shift(4,t.v),r}function _f(e){var t=wa(e),r=e.read_shift(4);return[t,r,"s"]}function xf(e,t,r){return null==r&&(r=Mn(8)),Ea(t,r),r.write_shift(4,t.v),r}function Of(e){var t=ba(e),r=La(e);return[t,r,"n"]}function Cf(e,t,r){return null==r&&(r=Mn(16)),Ta(t,r),Ma(e.v,r),r}function Rf(e){var t=wa(e),r=La(e);return[t,r,"n"]}function If(e,t,r){return null==r&&(r=Mn(12)),Ea(t,r),Ma(e.v,r),r}function Nf(e){var t=ba(e),r=Ca(e);return[t,r,"n"]}function Df(e,t,r){return null==r&&(r=Mn(12)),Ta(t,r),Ra(e.v,r),r}function Pf(e){var t=wa(e),r=Ca(e);return[t,r,"n"]}function Lf(e,t,r){return null==r&&(r=Mn(8)),Ea(t,r),Ra(e.v,r),r}function Mf(e){var t=ba(e),r=da(e);return[t,r,"is"]}function Ff(e){var t=ba(e),r=fa(e);return[t,r,"str"]}function Uf(e,t,r){return null==r&&(r=Mn(12+4*e.v.length)),Ta(t,r),ha(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Bf(e){var t=wa(e),r=fa(e);return[t,r,"str"]}function Wf(e,t,r){return null==r&&(r=Mn(8+4*e.v.length)),Ea(t,r),ha(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Hf(e,t,r){var n=e.l+t,a=ba(e);a.r=r["!row"];var s=e.read_shift(1),i=[a,s,"b"];if(r.cellFormula){e.l+=2;var l=Ic(e,n-e.l,r);i[3]=_c(l,null,a,r.supbooks,r)}else e.l=n;return i}function Gf(e,t,r){var n=e.l+t,a=ba(e);a.r=r["!row"];var s=e.read_shift(1),i=[a,s,"e"];if(r.cellFormula){e.l+=2;var l=Ic(e,n-e.l,r);i[3]=_c(l,null,a,r.supbooks,r)}else e.l=n;return i}function Vf(e,t,r){var n=e.l+t,a=ba(e);a.r=r["!row"];var s=La(e),i=[a,s,"n"];if(r.cellFormula){e.l+=2;var l=Ic(e,n-e.l,r);i[3]=_c(l,null,a,r.supbooks,r)}else e.l=n;return i}function jf(e,t,r){var n=e.l+t,a=ba(e);a.r=r["!row"];var s=fa(e),i=[a,s,"str"];if(r.cellFormula){e.l+=2;var l=Ic(e,n-e.l,r);i[3]=_c(l,null,a,r.supbooks,r)}else e.l=n;return i}var zf=Da,$f=Pa;function Xf(e,t){return null==t&&(t=Mn(4)),t.write_shift(4,e),t}function Kf(e,t){var r=e.l+t,n=Da(e,16),a=ya(e),s=fa(e),i=fa(e),l=fa(e);e.l=r;var o={rfx:n,relId:a,loc:s,display:l};return i&&(o.Tooltip=i),o}function Yf(e,t){var r=Mn(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Pa({s:qn(e[0]),e:qn(e[0])},r),Oa("rId"+t,r);var n=e[1].Target.indexOf("#"),a=-1==n?"":e[1].Target.slice(n+1);return ha(a||"",r),ha(e[1].Tooltip||"",r),ha("",r),r.slice(0,r.l)}function Zf(){}function Jf(e,t,r){var n=e.l+t,a=Ia(e,16),s=e.read_shift(1),i=[a];if(i[2]=s,r.cellFormula){var l=Rc(e,n-e.l,r);i[1]=l}else e.l=n;return i}function qf(e,t,r){var n=e.l+t,a=Da(e,16),s=[a];if(r.cellFormula){var i=Dc(e,n-e.l,r);s[1]=i,e.l=n}else e.l=n;return s}function Qf(e,t,r){null==r&&(r=Mn(18));var n=Hc(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var eh=["left","right","top","bottom","header","footer"];function th(e){var t={};return eh.forEach((function(r){t[r]=La(e,8)})),t}function rh(e,t){return null==t&&(t=Mn(48)),Gc(e),eh.forEach((function(r){Ma(e[r],t)})),t}function nh(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function ah(e,t,r){null==r&&(r=Mn(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function sh(e){var t=Mn(24);return t.write_shift(4,4),t.write_shift(4,1),Pa(e,t),t}function ih(e,t){return null==t&&(t=Mn(66)),t.write_shift(2,e.password?Li(e.password):0),t.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(r){r[1]?t.write_shift(4,null==e[r[0]]||e[r[0]]?0:1):t.write_shift(4,null!=e[r[0]]&&e[r[0]]?0:1)})),t}function lh(){}function oh(){}function ch(e,t,r,n,a,s,i){if(void 0===t.v)return!1;var l="";switch(t.t){case"b":l=t.v?"1":"0";break;case"d":t=gr(t),t.z=t.z||Ze[14],t.v=ir(dr(t.v)),t.t="n";break;case"n":case"e":l=""+t.v;break;default:l=t.v;break}var o={r:r,c:n};switch(o.s=Vc(a.cellXfs,t,a),t.l&&s["!links"].push([Qn(o),t.l]),t.c&&s["!comments"].push([Qn(o),t.c]),t.t){case"s":case"str":return a.bookSST?(l=Wc(a.Strings,t.v,a.revStrings),o.t="s",o.v=l,i?Un(e,18,xf(t,o)):Un(e,7,kf(t,o))):(o.t="str",i?Un(e,17,Wf(t,o)):Un(e,6,Uf(t,o))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?Un(e,13,Lf(t,o)):Un(e,2,Df(t,o)):i?Un(e,16,If(t,o)):Un(e,5,Cf(t,o)),!0;case"b":return o.t="b",i?Un(e,15,Tf(t,o)):Un(e,4,vf(t,o)),!0;case"e":return o.t="e",i?Un(e,14,Af(t,o)):Un(e,3,Ef(t,o)),!0}return i?Un(e,12,mf(t,o)):Un(e,1,pf(t,o)),!0}function fh(e,t,r,n){var a,s=ra(t["!ref"]||"A1"),i="",l=[];Un(e,145);var o=Array.isArray(t),c=s.e.r;t["!rows"]&&(c=Math.max(s.e.r,t["!rows"].length-1));for(var f=s.s.r;f<=c;++f){i=jn(f),sf(e,t,s,f);var h=!1;if(f<=s.e.r)for(var u=s.s.c;u<=s.e.c;++u){f===s.s.r&&(l[u]=Kn(u)),a=l[u]+i;var p=o?(t[f]||[])[u]:t[a];p?h=ch(e,p,f,u,n,t,h):h=!1}}Un(e,146)}function hh(e,t){t&&t["!merges"]&&(Un(e,177,Xf(t["!merges"].length)),t["!merges"].forEach((function(t){Un(e,176,$f(t))})),Un(e,178))}function uh(e,t){t&&t["!cols"]&&(Un(e,390),t["!cols"].forEach((function(t,r){t&&Un(e,60,Qf(r,t))})),Un(e,391))}function ph(e,t){t&&t["!ref"]&&(Un(e,648),Un(e,649,sh(ra(t["!ref"]))),Un(e,650))}function dh(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=fs(r,-1,t[1].Target.replace(/#.*$/,""),ls.HLINK);Un(e,494,Yf(t,n))}})),delete t["!links"]}function mh(e,t,r,n){if(t["!comments"].length>0){var a=fs(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",ls.VML);Un(e,551,Oa("rId"+a)),t["!legacy"]=a}}function gh(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],s="string"===typeof a.ref?a.ref:ta(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,l=ea(s);l.s.r==l.e.r&&(l.e.r=ea(t["!ref"]).e.r,s=ta(l));for(var o=0;o<i.length;++o){var c=i[o];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+s;break}}o==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+s}),Un(e,161,Pa(ra(s))),Un(e,162)}}function vh(e,t,r){Un(e,133),Un(e,137,ah(t,r)),Un(e,138),Un(e,134)}function bh(){}function Th(e,t){t["!protect"]&&Un(e,535,ih(t["!protect"]))}function wh(e,t,r,n){var a=Fn(),s=r.SheetNames[e],i=r.Sheets[s]||{},l=s;try{r&&r.Workbook&&(l=r.Workbook.Sheets[e].CodeName||l)}catch(c){}var o=ra(i["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Un(a,129),(r.vbaraw||i["!outline"])&&Un(a,147,hf(l,i["!outline"])),Un(a,148,of(o)),vh(a,i,r.Workbook),bh(a,i),uh(a,i,e,t,r),fh(a,i,e,t,r),Th(a,i),gh(a,i,r,e),hh(a,i),dh(a,i,n),i["!margins"]&&Un(a,476,rh(i["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||ph(a,i),mh(a,i,e,n),Un(a,130),a.end()}function Eh(e,t){e.l+=10;var r=fa(e,t-10);return{name:r}}var Sh=[["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 Ah(e){return e.Workbook&&e.Workbook.WBProps&&Pr(e.Workbook.WBProps.date1904)?"true":"false"}var yh="][*?/\\".split("");function kh(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return yh.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function _h(e,t,r){e.forEach((function(n,a){kh(n);for(var s=0;s<a;++s)if(n==e[s])throw new Error("Duplicate Sheet Name: "+n);if(r){var i=t&&t[a]&&t[a].CodeName||n;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}))}function xh(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];_h(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)jc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function Oh(e){var t=[Ar];t[t.length]=zr("workbook",null,{xmlns:Yr[0],"xmlns:r":Kr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Sh.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=zr("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=e.SheetNames.length;++s){if(!a[s])break;if(!a[s].Hidden)break}s==e.SheetNames.length&&(s=0),t[t.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",s=0;s!=e.SheetNames.length;++s){var i={name:Or(e.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),a[s])switch(a[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden";break}t[t.length]=zr("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=zr("definedName",Or(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Ch(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=xa(e,t-8),r.name=fa(e),r}function Rh(e,t){return t||(t=Mn(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),Oa(e.strRelID,t),ha(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function Ih(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?fa(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}function Nh(e,t){t||(t=Mn(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Aa(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function Dh(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),s=_a(e),i=Nc(e,0,r),l=ya(e);e.l=n;var o={Name:s,Ptg:i};return a<268435455&&(o.Sheet=a),l&&(o.Comment=l),o}function Ph(e,t){Un(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};Un(e,156,Rh(a))}Un(e,144)}function Lh(e,t){t||(t=Mn(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return ha("SheetJS",t),ha(oe.version,t),ha(oe.version,t),ha("7262",t),t.length>t.l?t.slice(0,t.l):t}function Mh(e,t){t||(t=Mn(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function Fh(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,n=0,a=-1,s=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&-1==a?a=n:1==r[n].Hidden&&-1==s&&(s=n);s>a||(Un(e,135),Un(e,158,Mh(a)),Un(e,136))}}function Uh(e,t){var r=Fn();return Un(r,131),Un(r,128,Lh()),Un(r,153,Nh(e.Workbook&&e.Workbook.WBProps||null)),Fh(r,e,t),Ph(r,e,t),Un(r,132),r.end()}function Bh(e,t,r){return(".bin"===t.slice(-4)?Uh:Oh)(e,r)}function Wh(e,t,r,n,a){return(".bin"===t.slice(-4)?wh:rf)(e,r,n,a)}function Hh(e,t,r){return(".bin"===t.slice(-4)?Sl:Zi)(e,r)}function Gh(e,t,r){return(".bin"===t.slice(-4)?Di:Ci)(e,r)}function Vh(e,t,r){return(".bin"===t.slice(-4)?Vl:Ml)(e,r)}function jh(e){return(".bin"===e.slice(-4)?Il:Nl)()}function zh(e,t){var r=[];return e.Props&&r.push(ys(e.Props,t)),e.Custprops&&r.push(ks(e.Props,e.Custprops,t)),r.join("")}function $h(){return""}function Xh(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(zr("NumberFormat",null,{"ss:Format":Or(Ze[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(zr("Style",n.join(""),a))})),zr("Styles",r.join(""))}function Kh(e){return zr("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Kl(e.Ref,{r:0,c:0})})}function Yh(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(Kh(a)))}return zr("Names",r.join(""))}function Zh(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,s=[],i=0;i<a.length;++i){var l=a[i];l.Sheet==r&&(l.Name.match(/^_xlfn\./)||s.push(Kh(l)))}return s.join("")}function Jh(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(zr("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(zr("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(zr("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"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(zr("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s<r;++s)if(n.Workbook.Sheets[s]&&!n.Workbook.Sheets[s].Hidden)break;s==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Vr("ProtectContents","True")),e["!protect"].objects&&a.push(Vr("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Vr("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Vr("EnableSelection","UnlockedCells")):a.push(Vr("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":zr("WorksheetOptions",a.join(""),{xmlns:Zr.x})}function qh(e){return e.map((function(e){var t=Dr(e.t||""),r=zr("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return zr("Comment",r,{"ss:Author":e.a})})).join("")}function Qh(e,t,r,n,a,s,i){if(!e||void 0==e.v&&void 0==e.f)return"";var l={};if(e.f&&(l["ss:Formula"]="="+Or(Kl(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var o=qn(e.F.slice(t.length+1));l["ss:ArrayRange"]="RC:R"+(o.r==i.r?"":"["+(o.r-i.r)+"]")+"C"+(o.c==i.c?"":"["+(o.c-i.c)+"]")}if(e.l&&e.l.Target&&(l["ss:HRef"]=Or(e.l.Target),e.l.Tooltip&&(l["x:HRefScreenTip"]=Or(e.l.Tooltip))),r["!merges"])for(var c=r["!merges"],f=0;f!=c.length;++f)c[f].s.c==i.c&&c[f].s.r==i.r&&(c[f].e.c>c[f].s.c&&(l["ss:MergeAcross"]=c[f].e.c-c[f].s.c),c[f].e.r>c[f].s.r&&(l["ss:MergeDown"]=c[f].e.r-c[f].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=rs[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||Ze[14]);break;case"s":h="String",u=Nr(e.v||"");break}var p=Vc(n.cellXfs,e,n);l["ss:StyleID"]="s"+(21+p),l["ss:Index"]=i.c+1;var d=null!=e.v?u:"",m="z"==e.t?"":'<Data ss:Type="'+h+'">'+d+"</Data>";return(e.c||[]).length>0&&(m+=qh(e.c)),zr("Cell",m,l)}function eu(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Xi(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function tu(e,t,r,n){if(!e["!ref"])return"";var a=ra(e["!ref"]),s=e["!merges"]||[],i=0,l=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Vi(e);var r=!!e.width,n=Hc(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=Wi(n.width)),e.hidden&&(a["ss:Hidden"]="1"),l.push(zr("Column",null,a))}));for(var o=Array.isArray(e),c=a.s.r;c<=a.e.r;++c){for(var f=[eu(c,(e["!rows"]||[])[c])],h=a.s.c;h<=a.e.c;++h){var u=!1;for(i=0;i!=s.length;++i)if(!(s[i].s.c>h)&&!(s[i].s.r>c)&&!(s[i].e.c<h)&&!(s[i].e.r<c)){s[i].s.c==h&&s[i].s.r==c||(u=!0);break}if(!u){var p={r:c,c:h},d=Qn(p),m=o?(e[c]||[])[h]:e[d];f.push(Qh(m,d,e,t,r,n,p))}}f.push("</Row>"),f.length>2&&l.push(f.join(""))}return l.join("")}function ru(e,t,r){var n=[],a=r.SheetNames[e],s=r.Sheets[a],i=s?Zh(s,t,e,r):"";return i.length>0&&n.push("<Names>"+i+"</Names>"),i=s?tu(s,t,e,r):"",i.length>0&&n.push("<Table>"+i+"</Table>"),n.push(Jh(s,t,e,r)),n.join("")}function nu(e,t){t||(t={}),e.SSF||(e.SSF=gr(Ze)),e.SSF&&(zt(),jt(e.SSF),t.revssf=nr(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Vc(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(zh(e,t)),r.push($h(e,t)),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(zr("Worksheet",ru(n,t,e),{"ss:Name":Or(e.SheetNames[n])}));return r[2]=Xh(e,t),r[3]=Yh(e,t),Ar+zr("Workbook",r.join(""),{xmlns:Zr.ss,"xmlns:o":Zr.o,"xmlns:x":Zr.x,"xmlns:ss":Zr.ss,"xmlns:dt":Zr.dt,"xmlns:html":Zr.html})}var au={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function su(e,t){var r,n=[],a=[],s=[],i=0,l=tr(Ja,"n"),o=tr(qa,"n");if(e.Props)for(r=er(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(l,r[i])?n:Object.prototype.hasOwnProperty.call(o,r[i])?a:s).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=er(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(l,r[i])?n:Object.prototype.hasOwnProperty.call(o,r[i])?a:s).push([r[i],e.Custprops[r[i]]]);var c=[];for(i=0;i<s.length;++i)Os.indexOf(s[i][0])>-1||ws.indexOf(s[i][0])>-1||null!=s[i][1]&&c.push(s[i]);a.length&&Zt.utils.cfb_add(t,"/SummaryInformation",Is(a,au.SI,o,qa)),(n.length||c.length)&&Zt.utils.cfb_add(t,"/DocumentSummaryInformation",Is(n,au.DSI,l,Ja,c.length?c:null,au.UDI))}function iu(e,t){var r=t||{},n=Zt.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Zt.utils.cfb_add(n,a,_u(e,r)),8==r.biff&&(e.Props||e.Custprops)&&su(e,n),8==r.biff&&e.vbaraw&&jl(n,Zt.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var lu={0:{f:nf},1:{f:uf},2:{f:Nf},3:{f:wf},4:{f:gf},5:{f:Of},6:{f:Ff},7:{f:yf},8:{f:jf},9:{f:Vf},10:{f:Hf},11:{f:Gf},12:{f:df},13:{f:Pf},14:{f:Sf},15:{f:bf},16:{f:Rf},17:{f:Bf},18:{f:_f},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:Dh},40:{},42:{},43:{f:Qi},44:{f:Ji},45:{f:nl},46:{f:ol},47:{f:sl},48:{},49:{f:oa},50:{},51:{f:_l},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:vi},62:{f:Mf},63:{f:Dl},64:{f:lh},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Ln,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:nh},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:ff},148:{f:lf,p:16},151:{f:Zf},152:{},153:{f:Ih},154:{},155:{},156:{f:Ch},157:{},158:{},159:{T:1,f:Ri},160:{T:-1},161:{T:1,f:Da},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:zf},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:yl},336:{T:-1},337:{f:Cl,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:xa},357:{},358:{},359:{},360:{T:1},361:{},362:{f:hi},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:Jf},427:{f:qf},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:th},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:cf},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:Kf},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:xa},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:Hl},633:{T:1},634:{T:-1},635:{T:1,f:Bl},636:{T:-1},637:{f:ga},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:Eh},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:oh},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 ou(e,t,r,n){var a=t;if(!isNaN(a)){var s=n||(r||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,s),s>0&&wn(r)&&e.push(r)}}function cu(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return ou(e,t,r,a);var s=t;if(!isNaN(s)){var i=r.parts||[],l=0,o=0,c=0;while(c+(i[l]||8224)<=8224)c+=i[l]||8224,l++;var f=e.next(4);f.write_shift(2,s),f.write_shift(2,c),e.push(r.slice(o,o+c)),o+=c;while(o<a){f=e.next(4),f.write_shift(2,60),c=0;while(c+(i[l]||8224)<=8224)c+=i[l]||8224,l++;f.write_shift(2,c),e.push(r.slice(o,o+c)),o+=c}}}function fu(e,t,r){return e||(e=Mn(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function hu(e,t,r,n){var a=Mn(9);return fu(a,e,t),Fs(r,n||"b",a),a}function uu(e,t,r){var n=Mn(8+2*r.length);return fu(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function pu(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?ir(dr(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?ou(e,2,Ei(r,n,a)):ou(e,3,wi(r,n,a)));case"b":case"e":return void ou(e,5,hu(r,n,t.v,t.t));case"s":case"str":return void ou(e,4,uu(r,n,(t.v||"").slice(0,255)))}ou(e,1,fu(null,r,n))}function du(e,t,r,n){var a,s=Array.isArray(t),i=ra(t["!ref"]||"A1"),l="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=ta(i)}for(var c=i.s.r;c<=i.e.r;++c){l=jn(c);for(var f=i.s.c;f<=i.e.c;++f){c===i.s.r&&(o[f]=Kn(f)),a=o[f]+l;var h=s?(t[c]||[])[f]:t[a];h&&pu(e,h,c,f,n)}}}function mu(e,t){var r=t||{};null!=Ee&&null==r.dense&&(r.dense=Ee);for(var n=Fn(),a=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==r.sheet&&(a=s);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return ou(n,4==r.biff?1033:3==r.biff?521:9,Zs(e,16,r)),du(n,e.Sheets[e.SheetNames[a]],a,r,e),ou(n,10),n.end()}function gu(e,t,r){ou(e,49,ri({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function vu(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&ou(e,1054,si(a,t[a],r))}))}function bu(e,t){var r=Mn(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),ou(e,2151,r),r=Mn(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),Ys(ra(t["!ref"]||"A1"),r),r.write_shift(4,4),ou(e,2152,r)}function Tu(e,t){for(var r=0;r<16;++r)ou(e,224,li({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){ou(e,224,li(r,0,t))}))}function wu(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];ou(e,440,di(n)),n[1].Tooltip&&ou(e,2048,mi(n))}delete t["!links"]}function Eu(e,t){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&ou(e,125,bi(Hc(n,t),n))}))}}function Su(e,t,r,n,a){var s=16+Vc(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)ou(e,6,Oc(t,r,n,a,s));else switch(t.t){case"d":case"n":var i="d"==t.t?ir(dr(t.v)):t.v;ou(e,515,fi(r,n,i,s,a));break;case"b":case"e":ou(e,517,ci(r,n,t.v,s,a,t.t));break;case"s":case"str":if(a.bookSST){var l=Wc(a.Strings,t.v,a.revStrings);ou(e,253,ni(r,n,l,s,a))}else ou(e,516,ai(r,n,(t.v||"").slice(0,255),s,a));break;default:ou(e,513,$s(r,n,s))}else ou(e,513,$s(r,n,s))}function Au(e,t,r){var n,a=Fn(),s=r.SheetNames[e],i=r.Sheets[s]||{},l=(r||{}).Workbook||{},o=(l.Sheets||[])[e]||{},c=Array.isArray(i),f=8==t.biff,h="",u=[],p=ra(i["!ref"]||"A1"),d=f?65536:16384;if(p.e.c>255||p.e.r>=d){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");p.e.c=Math.min(p.e.c,255),p.e.r=Math.min(p.e.c,d-1)}ou(a,2057,Zs(r,16,t)),ou(a,13,Ms(1)),ou(a,12,Ms(100)),ou(a,15,Ps(!0)),ou(a,17,Ps(!1)),ou(a,16,Ma(.001)),ou(a,95,Ps(!0)),ou(a,42,Ps(!1)),ou(a,43,Ps(!1)),ou(a,130,Ms(1)),ou(a,128,oi([0,0])),ou(a,131,Ps(!1)),ou(a,132,Ps(!1)),f&&Eu(a,i["!cols"]),ou(a,512,ii(p,t)),f&&(i["!links"]=[]);for(var m=p.s.r;m<=p.e.r;++m){h=jn(m);for(var g=p.s.c;g<=p.e.c;++g){m===p.s.r&&(u[g]=Kn(g)),n=u[g]+h;var v=c?(i[m]||[])[g]:i[n];v&&(Su(a,v,m,g,t),f&&v.l&&i["!links"].push([n,v.l]))}}var b=o.CodeName||o.name||s;return f&&ou(a,574,ti((l.Views||[])[0])),f&&(i["!merges"]||[]).length&&ou(a,229,pi(i["!merges"])),f&&wu(a,i),ou(a,442,Vs(b,t)),f&&bu(a,i),ou(a,10),a.end()}function yu(e,t,r){var n=Fn(),a=(e||{}).Workbook||{},s=a.Sheets||[],i=a.WBProps||{},l=8==r.biff,o=5==r.biff;if(ou(n,2057,Zs(e,5,r)),"xla"==r.bookType&&ou(n,135),ou(n,225,l?Ms(1200):null),ou(n,193,Ns(2)),o&&ou(n,191),o&&ou(n,192),ou(n,226),ou(n,92,Js("SheetJS",r)),ou(n,66,Ms(l?1200:1252)),l&&ou(n,353,Ms(0)),l&&ou(n,448),ou(n,317,Ti(e.SheetNames.length)),l&&e.vbaraw&&ou(n,211),l&&e.vbaraw){var c=i.CodeName||"ThisWorkbook";ou(n,442,Vs(c,r))}ou(n,156,Ms(17)),ou(n,25,Ps(!1)),ou(n,18,Ps(!1)),ou(n,19,Ms(0)),l&&ou(n,431,Ps(!1)),l&&ou(n,444,Ms(0)),ou(n,61,ei(r)),ou(n,64,Ps(!1)),ou(n,141,Ms(0)),ou(n,34,Ps("true"==Ah(e))),ou(n,14,Ps(!0)),l&&ou(n,439,Ps(!1)),ou(n,218,Ms(0)),gu(n,e,r),vu(n,e.SSF,r),Tu(n,r),l&&ou(n,352,Ps(!1));var f=n.end(),h=Fn();l&&ou(h,140,gi()),l&&r.Strings&&cu(h,252,Qs(r.Strings,r)),ou(h,10);var u=h.end(),p=Fn(),d=0,m=0;for(m=0;m<e.SheetNames.length;++m)d+=(l?12:11)+(l?2:1)*e.SheetNames[m].length;var g=f.length+d+u.length;for(m=0;m<e.SheetNames.length;++m){var v=s[m]||{};ou(p,133,qs({pos:g,hs:v.Hidden||0,dt:0,name:e.SheetNames[m]},r)),g+=t[m].length}var b=p.end();if(d!=b.length)throw new Error("BS8 "+d+" != "+b.length);var T=[];return f.length&&T.push(f),b.length&&T.push(b),u.length&&T.push(u),Pe(T)}function ku(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=gr(Ze)),e&&e.SSF&&(zt(),jt(e.SSF),r.revssf=nr(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,lp(r),r.cellXfs=[],Vc(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=Au(a,r,e);return n.unshift(yu(e,n,r)),Pe(n)}function _u(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(n&&n["!ref"]){var a=ea(n["!ref"]);a.e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var s=t||{};switch(s.biff||2){case 8:case 5:return ku(e,t);case 4:case 3:case 2:return mu(e,t)}throw new Error("invalid type "+s.bookType+" for BIFF")}function xu(e,t,r,n){for(var a=e["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var l=0,o=0,c=0;c<a.length;++c)if(!(a[c].s.r>r||a[c].s.c>i)&&!(a[c].e.r<r||a[c].e.c<i)){if(a[c].s.r<r||a[c].s.c<i){l=-1;break}l=a[c].e.r-a[c].s.r+1,o=a[c].e.c-a[c].s.c+1;break}if(!(l<0)){var f=Qn({r:r,c:i}),h=n.dense?(e[r]||[])[i]:e[f],u=h&&null!=h.v&&(h.h||Ir(h.w||(aa(h),h.w)||""))||"",p={};l>1&&(p.rowspan=l),o>1&&(p.colspan=o),n.editable?u='<span contenteditable="true">'+u+"</span>":h&&(p["data-t"]=h&&h.t||"z",null!=h.v&&(p["data-v"]=h.v),null!=h.z&&(p["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(u='<a href="'+h.l.Target+'">'+u+"</a>")),p.id=(n.id||"sjs")+"-"+f,s.push(zr("td",u,p))}}var d="<tr>";return d+s.join("")+"</tr>"}var Ou='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Cu="</body></html>";function Ru(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Iu(e,t){var r=t||{},n=null!=r.header?r.header:Ou,a=null!=r.footer?r.footer:Cu,s=[n],i=ea(e["!ref"]);r.dense=Array.isArray(e),s.push(Ru(e,i,r));for(var l=i.s.r;l<=i.e.r;++l)s.push(xu(e,i,l,r));return s.push("</table>"+a),s.join("")}function Nu(e,t,r){var n=r||{};null!=Ee&&(n.dense=Ee);var a=0,s=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var i="string"==typeof n.origin?qn(n.origin):n.origin;a=i.r,s=i.c}var l=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,l.length),c={s:{r:0,c:0},e:{r:a,c:s}};if(e["!ref"]){var f=ea(e["!ref"]);c.s.r=Math.min(c.s.r,f.s.r),c.s.c=Math.min(c.s.c,f.s.c),c.e.r=Math.max(c.e.r,f.e.r),c.e.c=Math.max(c.e.c,f.e.c),-1==a&&(c.e.r=a=f.e.r+1)}var h=[],u=0,p=e["!rows"]||(e["!rows"]=[]),d=0,m=0,g=0,v=0,b=0,T=0;for(e["!cols"]||(e["!cols"]=[]);d<l.length&&m<o;++d){var w=l[d];if(Lu(w)){if(n.display)continue;p[m]={hidden:!0}}var E=w.children;for(g=v=0;g<E.length;++g){var S=E[g];if(!n.display||!Lu(S)){var A=S.hasAttribute("data-v")?S.getAttribute("data-v"):S.hasAttribute("v")?S.getAttribute("v"):Hr(S.innerHTML),y=S.getAttribute("data-z")||S.getAttribute("z");for(u=0;u<h.length;++u){var k=h[u];k.s.c==v+s&&k.s.r<m+a&&m+a<=k.e.r&&(v=k.e.c+1-s,u=-1)}T=+S.getAttribute("colspan")||1,((b=+S.getAttribute("rowspan")||1)>1||T>1)&&h.push({s:{r:m+a,c:v+s},e:{r:m+a+(b||1)-1,c:v+s+(T||1)-1}});var _={t:"s",v:A},x=S.getAttribute("data-t")||S.getAttribute("t")||"";null!=A&&(0==A.length?_.t=x||"z":n.raw||0==A.trim().length||"s"==x||("TRUE"===A?_={t:"b",v:!0}:"FALSE"===A?_={t:"b",v:!1}:isNaN(br(A))?isNaN(wr(A).getDate())||(_={t:"d",v:dr(A)},n.cellDates||(_={t:"n",v:ir(_.v)}),_.z=n.dateNF||Ze[14]):_={t:"n",v:br(A)})),void 0===_.z&&null!=y&&(_.z=y);var O="",C=S.getElementsByTagName("A");if(C&&C.length)for(var R=0;R<C.length;++R)if(C[R].hasAttribute("href")&&(O=C[R].getAttribute("href"),"#"!=O.charAt(0)))break;O&&"#"!=O.charAt(0)&&(_.l={Target:O}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][v+s]=_):e[Qn({c:v+s,r:m+a})]=_,c.e.c<v+s&&(c.e.c=v+s),v+=T}}++m}return h.length&&(e["!merges"]=(e["!merges"]||[]).concat(h)),c.e.r=Math.max(c.e.r,m-1+a),e["!ref"]=ta(c),m>=o&&(e["!fullref"]=ta((c.e.r=l.length-d+m-1+a,c))),e}function Du(e,t){var r=t||{},n=r.dense?[]:{};return Nu(n,e,t)}function Pu(e,t){return sa(Du(e,t),t)}function Lu(e){var t="",r=Mu(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function Mu(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}var Fu=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+jr({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Ar+t}}(),Uu=function(){var e=function(e){return Or(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",r=" <table:covered-table-cell/>\n",n=function(n,a,s){var i=[];i.push(' <table:table table:name="'+Or(a.SheetNames[s])+'" table:style-name="ta1">\n');var l=0,o=0,c=ea(n["!ref"]||"A1"),f=n["!merges"]||[],h=0,u=Array.isArray(n);if(n["!cols"])for(o=0;o<=c.e.c;++o)i.push(" <table:table-column"+(n["!cols"][o]?' table:style-name="co'+n["!cols"][o].ods+'"':"")+"></table:table-column>\n");var p="",d=n["!rows"]||[];for(l=0;l<c.s.r;++l)p=d[l]?' table:style-name="ro'+d[l].ods+'"':"",i.push(" <table:table-row"+p+"></table:table-row>\n");for(;l<=c.e.r;++l){for(p=d[l]?' table:style-name="ro'+d[l].ods+'"':"",i.push(" <table:table-row"+p+">\n"),o=0;o<c.s.c;++o)i.push(t);for(;o<=c.e.c;++o){var m=!1,g={},v="";for(h=0;h!=f.length;++h)if(!(f[h].s.c>o)&&!(f[h].s.r>l)&&!(f[h].e.c<o)&&!(f[h].e.r<l)){f[h].s.c==o&&f[h].s.r==l||(m=!0),g["table:number-columns-spanned"]=f[h].e.c-f[h].s.c+1,g["table:number-rows-spanned"]=f[h].e.r-f[h].s.r+1;break}if(m)i.push(r);else{var b=Qn({r:l,c:o}),T=u?(n[l]||[])[o]:n[b];if(T&&T.f&&(g["table:formula"]=Or(Fc(T.f)),T.F&&T.F.slice(0,b.length)==b)){var w=ea(T.F);g["table:number-matrix-columns-spanned"]=w.e.c-w.s.c+1,g["table:number-matrix-rows-spanned"]=w.e.r-w.s.r+1}if(T){switch(T.t){case"b":v=T.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=T.v?"true":"false";break;case"n":v=T.w||String(T.v||0),g["office:value-type"]="float",g["office:value"]=T.v||0;break;case"s":case"str":v=null==T.v?"":T.v,g["office:value-type"]="string";break;case"d":v=T.w||dr(T.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=dr(T.v).toISOString(),g["table:style-name"]="ce1";break;default:i.push(t);continue}var E=e(v);if(T.l&&T.l.Target){var S=T.l.Target;S="#"==S.charAt(0)?"#"+Uc(S.slice(1)):S,"#"==S.charAt(0)||S.match(/^\w+:/)||(S="../"+S),E=zr("text:a",E,{"xlink:href":S.replace(/&/g,"&amp;")})}i.push(" "+zr("table:table-cell",zr("text:p",E,{}),g)+"\n")}else i.push(t)}}i.push(" </table:table-row>\n")}return i.push(" </table:table>\n"),i.join("")},a=function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var n=0;n<t["!cols"].length;++n)if(t["!cols"][n]){var a=t["!cols"][n];if(null==a.width&&null==a.wpx&&null==a.wch)continue;Vi(a),a.ods=r;var s=t["!cols"][n].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+s+'"/>\n'),e.push(" </style:style>\n"),++r}}));var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=n;var a=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")};return function(e,t){var r=[Ar],s=jr({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),i=jr({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(r.push("<office:document"+s+i+">\n"),r.push(ms().replace(/office:document-meta/g,"office:meta"))):r.push("<office:document-content"+s+">\n"),a(r,e),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var l=0;l!=e.SheetNames.length;++l)r.push(n(e.Sheets[e.SheetNames[l]],e,l,t));return r.push(" </office:spreadsheet>\n"),r.push(" </office:body>\n"),"fods"==t.bookType?r.push("</office:document>"):r.push("</office:document-content>"),r.join("")}}();function Bu(e,t){if("fods"==t.bookType)return Uu(e,t);var r=Sr(),n="",a=[],s=[];return n="mimetype",Er(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Er(r,n,Uu(e,t)),a.push([n,"text/xml"]),s.push([n,"ContentFile"]),n="styles.xml",Er(r,n,Fu(e,t)),a.push([n,"text/xml"]),s.push([n,"StylesFile"]),n="meta.xml",Er(r,n,Ar+ms()),a.push([n,"text/xml"]),s.push([n,"MetadataFile"]),n="manifest.rdf",Er(r,n,ds(s)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Er(r,n,hs(a)),r}
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Wu(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Hu(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):Re(Wr(e))}function Gu(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function Vu(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),n=0;return e.forEach((function(e){r.set(e,n),n+=e.length})),r}function ju(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var s=0;a>=1;++s,a/=256)e[t+s]=255&a;e[t+15]|=r>=0?0:128}function zu(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function $u(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103)break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Xu(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function Ku(e){var t=[],r=[0];while(r[0]<e.length){var n=r[0],a=zu(e,r),s=7&a;a=Math.floor(a/8);var i,l=0;if(0==a)break;switch(s){case 0:var o=r[0];while(e[r[0]++]>=128);i=e.slice(o,r[0]);break;case 5:l=4,i=e.slice(r[0],r[0]+l),r[0]+=l;break;case 1:l=8,i=e.slice(r[0],r[0]+l),r[0]+=l;break;case 2:l=zu(e,r),i=e.slice(r[0],r[0]+l),r[0]+=l;break;case 3:case 4:default:throw new Error("PB Type ".concat(s," for Field ").concat(a," at offset ").concat(n))}var c={data:i,type:s};null==t[a]?t[a]=[c]:t[a].push(c)}return t}function Yu(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push($u(8*r+e.type)),2==e.type&&t.push($u(e.data.length)),t.push(e.data))}))})),Vu(t)}function Zu(e){var t,r=[],n=[0];while(n[0]<e.length){var a=zu(e,n),s=Ku(e.slice(n[0],n[0]+a));n[0]+=a;var i={id:Xu(s[1][0].data),messages:[]};s[2].forEach((function(t){var r=Ku(t.data),a=Xu(r[3][0].data);i.messages.push({meta:r,data:e.slice(n[0],n[0]+a)}),n[0]+=a})),(null==(t=s[3])?void 0:t[0])&&(i.merge=Xu(s[3][0].data)>>>0>0),r.push(i)}return r}function Ju(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:$u(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:$u(+!!e.merge),type:0}]);var n=[];e.messages.forEach((function(e){n.push(e.data),e.meta[3]=[{type:0,data:$u(e.data.length)}],r[2].push({data:Yu(e.meta),type:2})}));var a=Yu(r);t.push($u(a.length)),t.push(a),n.forEach((function(e){return t.push(e)}))})),Vu(t)}function qu(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var r=[0],n=zu(t,r),a=[];while(r[0]<t.length){var s=3&t[r[0]];if(0!=s){var i=0,l=0;if(1==s?(l=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(l=1+(t[r[0]++]>>2),2==s?(i=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(i=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Vu(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(l>=i){a.push(a[0].slice(-i)),l-=i;while(l>=a[a.length-1].length)a.push(a[a.length-1]),l-=a[a.length-1].length}a.push(a[0].slice(-i,-i+l))}else{var o=t[r[0]++]>>2;if(o<60)++o;else{var c=o-59;o=t[r[0]],c>1&&(o|=t[r[0]+1]<<8),c>2&&(o|=t[r[0]+2]<<16),c>3&&(o|=t[r[0]+3]<<24),o>>>=0,o++,r[0]+=c}a.push(t.slice(r[0],r[0]+o)),r[0]+=o}}var f=Vu(a);if(f.length!=n)throw new Error("Unexpected length: ".concat(f.length," != ").concat(n));return f}function Qu(e){var t=[],r=0;while(r<e.length){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(qu(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Vu(t)}function ep(e){var t=[],r=0;while(r<e.length){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var s=$u(n),i=s.length;t.push(s),n<=60?(i++,t.push(new Uint8Array([n-1<<2]))):n<=256?(i+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(i+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(i+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(i+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),i+=n,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,r+=n}return Vu(t)}function tp(e,t){var r=new Uint8Array(32),n=Wu(r),a=12,s=0;switch(r[0]=5,e.t){case"n":r[1]=2,ju(r,a,e.v),s|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),s|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),s|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,s,!0),r.slice(0,a)}function rp(e,t){var r=new Uint8Array(32),n=Wu(r),a=12,s=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),s|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),s|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),s|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,s,!0),r.slice(0,a)}function np(e){var t=Ku(e);return zu(t[1][0].data)}function ap(e,t,r){var n,a,s,i;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";var l=(null==(i=null==(s=e[8])?void 0:s[0])?void 0:i.data)&&Xu(e[8][0].data)>0||!1;if(l)throw"Math only works with normal offsets";for(var o=0,c=Wu(e[7][0].data),f=0,h=[],u=Wu(e[4][0].data),p=0,d=[],m=0;m<t.length;++m)if(null!=t[m]){var g,v;switch(c.setUint16(2*m,f,!0),u.setUint16(2*m,p,!0),typeof t[m]){case"string":g=tp({t:"s",v:t[m]},r),v=rp({t:"s",v:t[m]},r);break;case"number":g=tp({t:"n",v:t[m]},r),v=rp({t:"n",v:t[m]},r);break;case"boolean":g=tp({t:"b",v:t[m]},r),v=rp({t:"b",v:t[m]},r);break;default:throw new Error("Unsupported value "+t[m])}h.push(g),f+=g.length,d.push(v),p+=v.length,++o}else c.setUint16(2*m,65535,!0),u.setUint16(2*m,65535);for(e[2][0].data=$u(o);m<e[7][0].data.length/2;++m)c.setUint16(2*m,65535,!0),u.setUint16(2*m,65535,!0);return e[6][0].data=Vu(h),e[3][0].data=Vu(d),o}function sp(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=ea(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(ta(n)));var s=Ep(r,{range:n,header:1}),i=["~Sh33tJ5~"];s.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var l={},o=[],c=Zt.read(t.numbers,{type:"base64"});c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];if(2==t.type&&t.name.match(/\.iwa/)){var n=t.content,a=Qu(n),s=Zu(a);s.forEach((function(e){o.push(e.id),l[e.id]={deps:[],location:r,type:Xu(e.messages[0].meta[1][0].data)}}))}})),o.sort((function(e,t){return e-t}));var f=o.filter((function(e){return e>1})).map((function(e){return[e,$u(e)]}));c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1];if(t.name.match(/\.iwa/)){var r=Zu(Qu(t.content));r.forEach((function(e){e.messages.forEach((function(t){f.forEach((function(t){e.messages.some((function(e){return 11006!=Xu(e.meta[1][0].data)&&Gu(e.data,t[1])}))&&l[t[0]].deps.push(e.id)}))}))}))}}));for(var h,u=Zt.find(c,l[1].location),p=Zu(Qu(u.content)),d=0;d<p.length;++d){var m=p[d];1==m.id&&(h=m)}var g=np(Ku(h.messages[0].data)[1][0].data);for(u=Zt.find(c,l[g].location),p=Zu(Qu(u.content)),d=0;d<p.length;++d)m=p[d],m.id==g&&(h=m);for(g=np(Ku(h.messages[0].data)[2][0].data),u=Zt.find(c,l[g].location),p=Zu(Qu(u.content)),d=0;d<p.length;++d)m=p[d],m.id==g&&(h=m);for(g=np(Ku(h.messages[0].data)[2][0].data),u=Zt.find(c,l[g].location),p=Zu(Qu(u.content)),d=0;d<p.length;++d)m=p[d],m.id==g&&(h=m);var v=Ku(h.messages[0].data);v[6][0].data=$u(n.e.r+1),v[7][0].data=$u(n.e.c+1);for(var b=np(v[46][0].data),T=Zt.find(c,l[b].location),w=Zu(Qu(T.content)),E=0;E<w.length;++E)if(w[E].id==b)break;if(w[E].id!=b)throw"Bad ColumnRowUIDMapArchive";var S=Ku(w[E].messages[0].data);S[1]=[],S[2]=[],S[3]=[];for(var A=0;A<=n.e.c;++A){var y=[];y[1]=y[2]=[{type:0,data:$u(A+420690)}],S[1].push({type:2,data:Yu(y)}),S[2].push({type:0,data:$u(A)}),S[3].push({type:0,data:$u(A)})}S[4]=[],S[5]=[],S[6]=[];for(var k=0;k<=n.e.r;++k)y=[],y[1]=y[2]=[{type:0,data:$u(k+726270)}],S[4].push({type:2,data:Yu(y)}),S[5].push({type:0,data:$u(k)}),S[6].push({type:0,data:$u(k)});w[E].messages[0].data=Yu(S),T.content=ep(Ju(w)),T.size=T.content.length,delete v[46];var _=Ku(v[4][0].data);_[7][0].data=$u(n.e.r+1);var x=Ku(_[1][0].data),O=np(x[2][0].data);if(T=Zt.find(c,l[O].location),w=Zu(Qu(T.content)),w[0].id!=O)throw"Bad HeaderStorageBucket";var C=Ku(w[0].messages[0].data);for(k=0;k<s.length;++k){var R=Ku(C[2][0].data);R[1][0].data=$u(k),R[4][0].data=$u(s[k].length),C[2][k]={type:C[2][0].type,data:Yu(R)}}w[0].messages[0].data=Yu(C),T.content=ep(Ju(w)),T.size=T.content.length;var I=np(_[2][0].data);if(T=Zt.find(c,l[I].location),w=Zu(Qu(T.content)),w[0].id!=I)throw"Bad HeaderStorageBucket";for(C=Ku(w[0].messages[0].data),A=0;A<=n.e.c;++A)R=Ku(C[2][0].data),R[1][0].data=$u(A),R[4][0].data=$u(n.e.r+1),C[2][A]={type:C[2][0].type,data:Yu(R)};w[0].messages[0].data=Yu(C),T.content=ep(Ju(w)),T.size=T.content.length;var N=np(_[4][0].data);(function(){for(var e,t=Zt.find(c,l[N].location),r=Zu(Qu(t.content)),n=0;n<r.length;++n){var a=r[n];a.id==N&&(e=a)}var s=Ku(e.messages[0].data);s[3]=[];var o=[];i.forEach((function(e,t){o[1]=[{type:0,data:$u(t)}],o[2]=[{type:0,data:$u(1)}],o[3]=[{type:2,data:Hu(e)}],s[3].push({type:2,data:Yu(o)})})),e.messages[0].data=Yu(s);var f=Ju(r),h=ep(f);t.content=h,t.size=t.content.length})();var D=Ku(_[3][0].data),P=D[1][0];delete D[2];var L=Ku(P.data),M=np(L[2][0].data);(function(){for(var e,t=Zt.find(c,l[M].location),r=Zu(Qu(t.content)),a=0;a<r.length;++a){var o=r[a];o.id==M&&(e=o)}var f=Ku(e.messages[0].data);delete f[6],delete D[7];var h=new Uint8Array(f[5][0].data);f[5]=[];for(var u=0,p=0;p<=n.e.r;++p){var d=Ku(h);u+=ap(d,s[p],i),d[1][0].data=$u(p),f[5].push({data:Yu(d),type:2})}f[1]=[{type:0,data:$u(n.e.c+1)}],f[2]=[{type:0,data:$u(n.e.r+1)}],f[3]=[{type:0,data:$u(u)}],f[4]=[{type:0,data:$u(n.e.r+1)}],e.messages[0].data=Yu(f);var m=Ju(r),g=ep(m);t.content=g,t.size=t.content.length})(),P.data=Yu(L),_[3][0].data=Yu(D),v[4][0].data=Yu(_),h.messages[0].data=Yu(v);var F=Ju(p),U=ep(F);return u.content=U,u.size=u.content.length,c}function ip(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}function lp(e){ip([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function op(e,t){return"ods"==t.bookType?Bu(e,t):"numbers"==t.bookType?sp(e,t):"xlsb"==t.bookType?cp(e,t):fp(e,t)}function cp(e,t){Pl=1024,e&&!e.SSF&&(e.SSF=gr(Ze)),e&&e.SSF&&(zt(),jt(e.SSF),t.revssf=nr(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Bc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=zl.indexOf(t.bookType)>-1,a=ss();lp(t=t||{});var s=Sr(),i="",l=0;if(t.cellXfs=[],Vc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Er(s,i,bs(e.Props,t)),a.coreprops.push(i),fs(t.rels,2,i,ls.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var o=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&o.push(e.SheetNames[c]);e.Props.SheetNames=o}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,Er(s,i,Es(e.Props,t)),a.extprops.push(i),fs(t.rels,3,i,ls.EXT_PROPS),e.Custprops!==e.Props&&er(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Er(s,i,Ss(e.Custprops,t)),a.custprops.push(i),fs(t.rels,4,i,ls.CUST_PROPS)),l=1;l<=e.SheetNames.length;++l){var f={"!id":{}},h=e.Sheets[e.SheetNames[l-1]],u=(h||{})["!type"]||"sheet";switch(u){case"chart":default:i="xl/worksheets/sheet"+l+"."+r,Er(s,i,Wh(l-1,i,t,e,f)),a.sheets.push(i),fs(t.wbrels,-1,"worksheets/sheet"+l+"."+r,ls.WS[0])}if(h){var p=h["!comments"],d=!1,m="";p&&p.length>0&&(m="xl/comments"+l+"."+r,Er(s,m,Vh(p,m,t)),a.comments.push(m),fs(f,-1,"../comments"+l+"."+r,ls.CMNT),d=!0),h["!legacy"]&&d&&Er(s,"xl/drawings/vmlDrawing"+l+".vml",Ll(l,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&Er(s,os(i),cs(f))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Er(s,i,Gh(t.Strings,i,t)),a.strs.push(i),fs(t.wbrels,-1,"sharedStrings."+r,ls.SST)),i="xl/workbook."+r,Er(s,i,Bh(e,i,t)),a.workbooks.push(i),fs(t.rels,1,i,ls.WB),i="xl/theme/theme1.xml",Er(s,i,Al(e.Themes,t)),a.themes.push(i),fs(t.wbrels,-1,"theme/theme1.xml",ls.THEME),i="xl/styles."+r,Er(s,i,Hh(e,i,t)),a.styles.push(i),fs(t.wbrels,-1,"styles."+r,ls.STY),e.vbaraw&&n&&(i="xl/vbaProject.bin",Er(s,i,e.vbaraw),a.vba.push(i),fs(t.wbrels,-1,"vbaProject.bin",ls.VBA)),i="xl/metadata."+r,Er(s,i,jh(i)),a.metadata.push(i),fs(t.wbrels,-1,"metadata."+r,ls.XLMETA),Er(s,"[Content_Types].xml",is(a,t)),Er(s,"_rels/.rels",cs(t.rels)),Er(s,"xl/_rels/workbook."+r+".rels",cs(t.wbrels)),delete t.revssf,delete t.ssf,s}function fp(e,t){Pl=1024,e&&!e.SSF&&(e.SSF=gr(Ze)),e&&e.SSF&&(zt(),jt(e.SSF),t.revssf=nr(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Bc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=zl.indexOf(t.bookType)>-1,a=ss();lp(t=t||{});var s=Sr(),i="",l=0;if(t.cellXfs=[],Vc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Er(s,i,bs(e.Props,t)),a.coreprops.push(i),fs(t.rels,2,i,ls.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var o=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&o.push(e.SheetNames[c]);e.Props.SheetNames=o}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,Er(s,i,Es(e.Props,t)),a.extprops.push(i),fs(t.rels,3,i,ls.EXT_PROPS),e.Custprops!==e.Props&&er(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Er(s,i,Ss(e.Custprops,t)),a.custprops.push(i),fs(t.rels,4,i,ls.CUST_PROPS));var f=["SheetJ5"];for(t.tcid=0,l=1;l<=e.SheetNames.length;++l){var h={"!id":{}},u=e.Sheets[e.SheetNames[l-1]],p=(u||{})["!type"]||"sheet";switch(p){case"chart":default:i="xl/worksheets/sheet"+l+"."+r,Er(s,i,rf(l-1,t,e,h)),a.sheets.push(i),fs(t.wbrels,-1,"worksheets/sheet"+l+"."+r,ls.WS[0])}if(u){var d=u["!comments"],m=!1,g="";if(d&&d.length>0){var v=!1;d.forEach((function(e){e[1].forEach((function(e){1==e.T&&(v=!0)}))})),v&&(g="xl/threadedComments/threadedComment"+l+"."+r,Er(s,g,Fl(d,f,t)),a.threadedcomments.push(g),fs(h,-1,"../threadedComments/threadedComment"+l+"."+r,ls.TCMNT)),g="xl/comments"+l+"."+r,Er(s,g,Ml(d,t)),a.comments.push(g),fs(h,-1,"../comments"+l+"."+r,ls.CMNT),m=!0}u["!legacy"]&&m&&Er(s,"xl/drawings/vmlDrawing"+l+".vml",Ll(l,u["!comments"])),delete u["!comments"],delete u["!legacy"]}h["!id"].rId1&&Er(s,os(i),cs(h))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Er(s,i,Ci(t.Strings,t)),a.strs.push(i),fs(t.wbrels,-1,"sharedStrings."+r,ls.SST)),i="xl/workbook."+r,Er(s,i,Oh(e,t)),a.workbooks.push(i),fs(t.rels,1,i,ls.WB),i="xl/theme/theme1.xml",Er(s,i,Al(e.Themes,t)),a.themes.push(i),fs(t.wbrels,-1,"theme/theme1.xml",ls.THEME),i="xl/styles."+r,Er(s,i,Zi(e,t)),a.styles.push(i),fs(t.wbrels,-1,"styles."+r,ls.STY),e.vbaraw&&n&&(i="xl/vbaProject.bin",Er(s,i,e.vbaraw),a.vba.push(i),fs(t.wbrels,-1,"vbaProject.bin",ls.VBA)),i="xl/metadata."+r,Er(s,i,Nl()),a.metadata.push(i),fs(t.wbrels,-1,"metadata."+r,ls.XLMETA),f.length>1&&(i="xl/persons/person.xml",Er(s,i,Ul(f,t)),a.people.push(i),fs(t.wbrels,-1,"persons/person.xml",ls.PEOPLE)),Er(s,"[Content_Types].xml",is(a,t)),Er(s,"_rels/.rels",cs(t.rels)),Er(s,"xl/_rels/workbook."+r+".rels",cs(t.wbrels)),delete t.revssf,delete t.ssf,s}function hp(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=ke(e.slice(0,12));break;case"binary":r=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 "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function up(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Qt(t.file,Zt.write(e,{type:_e?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Zt.write(e,t)}function pp(e,t){var r=gr(t||{}),n=op(e,r);return dp(n,r)}function dp(e,t){var r={},n=_e?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Zt.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!==typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(Ie(a))}return t.password&&"undefined"!==typeof encrypt_agile?up(encrypt_agile(a,t.password),t):"file"===t.type?Qt(t.file,a):"string"==t.type?Br(a):a}function mp(e,t){var r=t||{},n=iu(e,r);return up(n,r)}function gp(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return ye(Wr(n));case"binary":return Wr(n);case"string":return e;case"file":return Qt(t.file,n,"utf8");case"buffer":return _e?xe(n,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(n):gp(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function vp(e,t){switch(t.type){case"base64":return ye(e);case"binary":return e;case"string":return e;case"file":return Qt(t.file,e,"binary");case"buffer":return _e?xe(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function bp(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?ye(r):"string"==t.type?Br(r):r;case"file":return Qt(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Tp(e,t){ge(),xh(e);var r=gr(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=Tp(e,r);return r.type="array",Ie(n)}var a=0;if(r.sheet&&(a="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return gp(nu(e,r),r);case"slk":case"sylk":return gp(Ai.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return gp(Iu(e.Sheets[e.SheetNames[a]],r),r);case"txt":return vp(kp(e.Sheets[e.SheetNames[a]],r),r);case"csv":return gp(yp(e.Sheets[e.SheetNames[a]],r),r,"\ufeff");case"dif":return gp(yi.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return bp(Si.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return gp(_i.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return gp(Mi.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return gp(ki.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return gp(Bu(e,r),r);case"wk1":return bp(xi.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return bp(xi.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),bp(_u(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),mp(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return pp(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function wp(e,t,r,n,a,s,i,l){var o=jn(r),c=l.defval,f=l.raw||!Object.prototype.hasOwnProperty.call(l,"raw"),h=!0,u=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:r,enumerable:!1})}catch(g){u.__rowNum__=r}else u.__rowNum__=r;if(!i||e[r])for(var p=t.s.c;p<=t.e.c;++p){var d=i?e[r][p]:e[n[p]+o];if(void 0!==d&&void 0!==d.t){var m=d.v;switch(d.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+d.t)}if(null!=s[p]){if(null==m)if("e"==d.t&&null===m)u[s[p]]=null;else if(void 0!==c)u[s[p]]=c;else{if(!f||null!==m)continue;u[s[p]]=null}else u[s[p]]=f&&("n"!==d.t||"n"===d.t&&!1!==l.rawNumbers)?m:aa(d,m,l);null!=m&&(h=!1)}}else{if(void 0===c)continue;null!=s[p]&&(u[s[p]]=c)}}return{row:u,isempty:h}}function Ep(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,s=[],i=0,l="",o={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},f=null!=c.range?c.range:e["!ref"];switch(1===c.header?n=1:"A"===c.header?n=2:Array.isArray(c.header)?n=3:null==c.header&&(n=0),typeof f){case"string":o=ra(f);break;case"number":o=ra(e["!ref"]),o.s.r=f;break;default:o=f}n>0&&(a=0);var h=jn(o.s.r),u=[],p=[],d=0,m=0,g=Array.isArray(e),v=o.s.r,b=0,T={};g&&!e[v]&&(e[v]=[]);var w=c.skipHidden&&e["!cols"]||[],E=c.skipHidden&&e["!rows"]||[];for(b=o.s.c;b<=o.e.c;++b)if(!(w[b]||{}).hidden)switch(u[b]=Kn(b),r=g?e[v][b]:e[u[b]+h],n){case 1:s[b]=b-o.s.c;break;case 2:s[b]=u[b];break;case 3:s[b]=c.header[b-o.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),l=i=aa(r,null,c),m=T[i]||0,m){do{l=i+"_"+m++}while(T[l]);T[i]=m,T[l]=1}else T[i]=1;s[b]=l}for(v=o.s.r+a;v<=o.e.r;++v)if(!(E[v]||{}).hidden){var S=wp(e,o,v,u,n,s,g,c);(!1===S.isempty||(1===n?!1!==c.blankrows:c.blankrows))&&(p[d++]=S.row)}return p.length=d,p}var Sp=/"/g;function Ap(e,t,r,n,a,s,i,l){for(var o=!0,c=[],f="",h=jn(r),u=t.s.c;u<=t.e.c;++u)if(n[u]){var p=l.dense?(e[r]||[])[u]:e[n[u]+h];if(null==p)f="";else if(null!=p.v){o=!1,f=""+(l.rawNumbers&&"n"==p.t?p.v:aa(p,null,l));for(var d=0,m=0;d!==f.length;++d)if((m=f.charCodeAt(d))===a||m===s||34===m||l.forceQuotes){f='"'+f.replace(Sp,'""')+'"';break}"ID"==f&&(f='"ID"')}else null==p.f||p.F?f="":(o=!1,f="="+p.f,f.indexOf(",")>=0&&(f='"'+f.replace(Sp,'""')+'"'));c.push(f)}return!1===l.blankrows&&o?null:c.join(i)}function yp(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=ra(e["!ref"]),s=void 0!==n.FS?n.FS:",",i=s.charCodeAt(0),l=void 0!==n.RS?n.RS:"\n",o=l.charCodeAt(0),c=new RegExp(("|"==s?"\\|":s)+"+$"),f="",h=[];n.dense=Array.isArray(e);for(var u=n.skipHidden&&e["!cols"]||[],p=n.skipHidden&&e["!rows"]||[],d=a.s.c;d<=a.e.c;++d)(u[d]||{}).hidden||(h[d]=Kn(d));for(var m=0,g=a.s.r;g<=a.e.r;++g)(p[g]||{}).hidden||(f=Ap(e,a,g,h,i,o,s,n),null!=f&&(n.strip&&(f=f.replace(c,"")),(f||!1!==n.blankrows)&&r.push((m++?l:"")+f)));return delete n.dense,r.join("")}function kp(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=yp(e,t);if("undefined"==typeof be||"string"==t.type)return r;var n=be.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function _p(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,s=ra(e["!ref"]),i="",l=[],o=[],c=Array.isArray(e);for(a=s.s.c;a<=s.e.c;++a)l[a]=Kn(a);for(var f=s.s.r;f<=s.e.r;++f)for(i=jn(f),a=s.s.c;a<=s.e.c;++a)if(r=l[a]+i,t=c?(e[f]||[])[a]:e[r],n="",void 0!==t){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}o[o.length]=r+"="+n}return o}function xp(e,t,r){var n,a=r||{},s=+!a.skipHeader,i=e||{},l=0,o=0;if(i&&null!=a.origin)if("number"==typeof a.origin)l=a.origin;else{var c="string"==typeof a.origin?qn(a.origin):a.origin;l=c.r,o=c.c}var f={s:{c:0,r:0},e:{c:o,r:l+t.length-1+s}};if(i["!ref"]){var h=ra(i["!ref"]);f.e.c=Math.max(f.e.c,h.e.c),f.e.r=Math.max(f.e.r,h.e.r),-1==l&&(l=h.e.r+1,f.e.r=l+t.length-1+s)}else-1==l&&(l=0,f.e.r=t.length-1+s);var u=a.header||[],p=0;t.forEach((function(e,t){er(e).forEach((function(r){-1==(p=u.indexOf(r))&&(u[p=u.length]=r);var c=e[r],f="z",h="",d=Qn({c:o+p,r:l+t+s});n=Cp(i,d),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?f="n":"boolean"==typeof c?f="b":"string"==typeof c?f="s":c instanceof Date?(f="d",a.cellDates||(f="n",c=ir(c)),h=a.dateNF||Ze[14]):null===c&&a.nullError&&(f="e",c=0),n?(n.t=f,n.v=c,delete n.w,delete n.R,h&&(n.z=h)):i[d]=n={t:f,v:c},h&&(n.z=h)):i[d]=c}))})),f.e.c=Math.max(f.e.c,o+u.length-1);var d=jn(l);if(s)for(p=0;p<u.length;++p)i[Kn(p+o)+d]={t:"s",v:u[p]};return i["!ref"]=ta(f),i}function Op(e,t){return xp(null,e,t)}function Cp(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var n=qn(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Cp(e,Qn("number"!=typeof t?t:{r:t,c:r||0}))}function Rp(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}function Ip(){return{SheetNames:[],Sheets:{}}}function Np(e,t,r,n){var a=1;if(!r)for(;a<=65535;++a,r=void 0)if(-1==e.SheetNames.indexOf(r="Sheet"+a))break;if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var s=r.match(/(^.*?)(\d+)$/);a=s&&+s[2]||0;var i=s&&s[1]||r;for(++a;a<=65535;++a)if(-1==e.SheetNames.indexOf(r=i+a))break}if(kh(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Dp(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Rp(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Pp(e,t){return e.z=t,e}function Lp(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Mp(e,t,r){return Lp(e,"#"+t,r)}function Fp(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})}function Up(e,t,r,n){for(var a="string"!=typeof t?t:ra(t),s="string"==typeof t?t:ta(t),i=a.s.r;i<=a.e.r;++i)for(var l=a.s.c;l<=a.e.c;++l){var o=Cp(e,i,l);o.t="n",o.F=s,delete o.v,i==a.s.r&&l==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var Bp={encode_col:Kn,encode_row:jn,encode_cell:Qn,encode_range:ta,decode_col:Xn,decode_row:Vn,split_cell:Jn,decode_cell:qn,decode_range:ea,format_cell:aa,sheet_add_aoa:ia,sheet_add_json:xp,sheet_add_dom:Nu,aoa_to_sheet:la,json_to_sheet:Op,table_to_sheet:Du,table_to_book:Pu,sheet_to_csv:yp,sheet_to_txt:kp,sheet_to_json:Ep,sheet_to_html:Iu,sheet_to_formulae:_p,sheet_to_row_object_array:Ep,sheet_get_cell:Cp,book_new:Ip,book_append_sheet:Np,book_set_sheet_visibility:Dp,cell_set_number_format:Pp,cell_set_hyperlink:Lp,cell_set_internal_link:Mp,cell_add_comment:Fp,sheet_set_array_formula:Up,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};oe.version;var Wp=r(3162),Hp=r.n(Wp);let Gp=[];for(let $=0;$<21;$++){let e={};e.prop="a"+($+1),e.label="a"+($+1),e.minWidth=75,Gp.push(e)}var Vp={name:"thickReport",data(){return{tableProps:Gp,tableH:(0,s.NC)(292),exportDD:[],tableDD:[],glassId:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(292)})),this.getList()},props:{tableData:{type:Array,required:!0,default:()=>[]}},methods:{getList(){let e=Array(7).fill().map((()=>Array(21))),t=[];for(let n=0;n<7;n++){let e={a1:"",a2:"",a3:"",a4:"",a5:"",a6:"",a7:"",a8:"",a9:"",a10:"",a11:"",a12:"",a13:"",a14:"",a15:"",a16:"",a17:"",a18:"",a19:"",a20:"",a21:""};t.push(e)}let r=[{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"},{glassId:"1212121212",testTime:"2022-06-24T16:59:55",grindType:"2AB",thickOne:"502.457",thickTwo:"503.226",thickThree:"503.203",thickFour:"502.220",thickFive:"503.411",thickSix:"500.904",thickSeven:"499.810"}];this.glassId=r[0].glassId,e.unshift(Array.from({length:21},(()=>null))),e[0][0]="厚度检查机报表",e[0][6]="玻璃ID:",e[0][8]=r[0].glassId,e[0][11]="检测时间:",e[0][13]=r[0].testTime,e[0][16]="研磨类型:",e[0][18]=r[0].grindType;for(let n=0;n<r.length;n++)e[1][n]=r[n].thickOne,e[2][n]=r[n].thickTwo,e[3][n]=r[n].thickThree,e[4][n]=r[n].thickFour,e[5][n]=r[n].thickFive,e[6][n]=r[n].thickSix,e[7][n]=r[n].thickSeven,t[0]["a"+(n+1)]=r[n].thickOne,t[1]["a"+(n+1)]=r[n].thickTwo,t[2]["a"+(n+1)]=r[n].thickThree,t[3]["a"+(n+1)]=r[n].thickFour,t[4]["a"+(n+1)]=r[n].thickFive,t[5]["a"+(n+1)]=r[n].thickSix,t[6]["a"+(n+1)]=r[n].thickSeven;console.log(e),console.log(t),this.exportDD=e,this.tableDD=t},exportData(){const e="厚度表.xlsx",t="Sheet1",r=Bp.book_new(),n=Bp.aoa_to_sheet(this.exportDD);Bp.book_append_sheet(r,n,t),n["!merges"]=[{s:{r:0,c:0},e:{r:0,c:5}},{s:{r:0,c:6},e:{r:0,c:7}},{s:{r:0,c:8},e:{r:0,c:10}},{s:{r:0,c:11},e:{r:0,c:12}},{s:{r:0,c:13},e:{r:0,c:15}},{s:{r:0,c:16},e:{r:0,c:17}},{s:{r:0,c:18},e:{r:0,c:20}}];let a=Tp(r,{bookType:"xlsx",bookSST:!1,type:"array"});Hp().saveAs(new Blob([a],{type:"application/octet-stream"}),e)}}},jp=Vp,zp=(0,u.Z)(jp,ie,le,!1,null,null,null),$p=zp.exports,Xp=r(381),Kp=r.n(Xp);const Yp=[{prop:"glassId",label:"ID",minWidth:120},{prop:"unloadTime",label:"检测时间",minWidth:160,filter:s.g6},{prop:"grindtype",label:"研磨类型",minWidth:80},{prop:"rackId",label:"玻璃架",minWidth:80},{prop:"glassNum",label:"数量",minWidth:80}];var Zp={name:"FinalInspectionData",components:{glassQualityReport:d,glassThickReport:E,glassPackReport:C,glassWasteReport:M,wasteMachineReport:V,wasteLocationReport:J,glassDefectReport:se,thicknessReport:$p},data(){return{split1:.3,formConfig:[{type:"select",label:"报表类型",selectOptions:[{id:"玻璃基板品质报表",name:"玻璃基板品质报表"},{id:"终检下片包装",name:"终检下片包装"},{id:"厚度汇总报表",name:"厚度汇总报表"},{id:"玻璃判废统计表",name:"玻璃判废统计表"},{id:"判废机组统计表",name:"判废机组统计表"},{id:"判废位置统计表",name:"判废位置统计表"},{id:"玻璃基板缺陷报表",name:"玻璃基板缺陷报表"},{id:"厚度检查机报表",name:"厚度检查机报表"}],param:"fullInspectionType",defaultSelect:"",onchange:!0,width:150},{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"玻璃架",selectOptions:[],param:"glassFrame",defaultSelect:"全部",width:150,clearable:!1},{type:"",label:"",selectOptions:[{id:"1",name:"1"},{id:"2",name:"2"},{id:"3",name:"3"},{id:"4",name:"4"},{id:"5",name:"5"},{id:"6",name:"6"},{id:"全部",name:"全部"}],param:"glassFrame1",defaultSelect:"全部",width:150,clearable:!1},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:Yp,tableDataL:[],tableHL:(0,s.NC)(300),reportTitle:"",listQuery:{startTime:"",endTime:"",glassFrame:"",current:1,size:500},selectArr:[],glassQualityArr:[],thickReportArr:[],packReportArr:[],packClaReportArr:[],wasteReportArr:[{name1:11},{name1:22}],wasteMachineArr:[],wasteLocationArr:[{name:"颗粒/面检数超标",dd1:"11",dd2:"0"},{name:"颗粒/缺陷聚集",name1:"22"},{name:"划伤",name1:"33"},{name:"面磨印记",name1:"44"},{name:"磨痕",name1:"55"}],glassDefectArr:[]}},mounted(){this.getOption(),window.addEventListener("resize",(()=>{this.tableHL=(0,s.NC)(300)})),this.formConfig[1].defaultSelect=[Kp()().format("yyyy-MM-DD")+"T00:00:00",Kp()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=Kp()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=Kp()().format("yyyy-MM-DD")+"T23:59:59",this.listQuery.glassFrame="全部",this.getList()},methods:{getList(){(0,i.uW)({...this.listQuery}).then((e=>{0===e.code?this.tableDataL=e.data:this.tableDataL=[]}))},getOption(){let e=JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,t=e.map((e=>({id:e.dataName,name:e.dataName})));t.push({id:"全部",name:"全部"},{id:"废片",name:"废片"}),this.formConfig[2].selectOptions=t,console.log(t)},buttonClick(e){let t=[];switch(e.btnName){case"search":this.listQuery.startTime=e.timeVal?e.timeVal[0]:"",this.listQuery.endTime=e.timeVal?e.timeVal[1]:"",this.listQuery.glassFrame=e.glassFrame,this.getList();break;default:if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;console.log(this.selectArr);for(let e of this.selectArr)t.push(e.glassId);"玻璃基板品质报表"===this.reportTitle?this.exportGlassReport(t):"厚度汇总报表"===this.reportTitle&&this.exportThickReport(t)}},selectChanged(e){this.reportTitle=e.value,this.glassQualityArr=[],this.thickReportArr=[],this.packReportArr=[],this.packClaReportArr=[],this.wasteReportArr=[],this.wasteMachineArr=[],console.log(e),"判废位置统计表"===e.value?(this.formConfig[3].type="select",this.formConfig[3].label="研磨类型"):(this.formConfig[3].type="",this.formConfig[3].label=""),this.formConfig[1].defaultSelect=this.$refs.searchBarForm.formInline.timeVal,this.formConfig[2].defaultSelect=this.$refs.searchBarForm.formInline.glassFrame},selectChange(e){this.selectArr=e},generateReport(){if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;let e=[];for(let t of this.selectArr)e.push(t.glassId);switch(this.reportTitle){case"玻璃基板品质报表":this.getGlassReport(e);break;case"厚度汇总报表":this.getThickReport(e);break;case"终检下片包装":this.getGlassData(e);break;case"玻璃判废统计表":this.getWasteData(e);break;case"判废机组统计表":this.getWasteMachineData(e);break;default:console.log("111")}},getGlassReport(e){(0,i.uj)({glassId:e,size:1e3,current:1}).then((e=>{console.log(e),this.glassQualityArr=e.data}))},exportGlassReport(e){(0,i.oR)({glassId:e,size:1e3,current:1}).then((e=>{console.log(e);let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([e.data]),a=new FileReader;a.readAsDataURL(n),a.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))},getThickReport(e){(0,i.bu)({glassId:e,size:1e3,current:1}).then((e=>{console.log(e),this.thickReportArr=e.data}))},exportThickReport(e){(0,i.an)({glassId:e,size:1e3,current:1}).then((e=>{console.log(e);let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([e.data]),a=new FileReader;a.readAsDataURL(n),a.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))},getGlassData(e){(0,i.AT)({glassId:e}).then((e=>{console.log(e),this.packReportArr=e.data})),(0,i.fL)({glassId:e}).then((e=>{console.log(e),this.packClaReportArr=e.data}))},getWasteData(e){(0,i.Kx)({size:1e3,current:1,glassId:e}).then((e=>{console.log(e),this.wasteReportArr=e.data}))},getWasteMachineData(e){(0,i.gc)({size:1e3,current:1,glassId:e}).then((e=>{console.log(e),this.wasteMachineArr=e.data}))}}},Jp=Zp,qp=(0,u.Z)(Jp,n,a,!1,null,"988f9d78",null),Qp=qp.exports},3162:function(e,t,r){var n,a,s;(function(r,i){a=[],n=i,s="function"===typeof n?n.apply(t,a):n,void 0===s||(e.exports=s)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function n(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){o(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function a(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r.g&&r.g.global===r.g?r.g:void 0,l=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(e,t,r){var l=i.URL||i.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin===location.origin?s(o):a(o.href)?n(e,t,r):s(o,o.target="_blank")):(o.href=l.createObjectURL(e),setTimeout((function(){l.revokeObjectURL(o.href)}),4e4),setTimeout((function(){s(o)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,i){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,i),r);else if(a(e))n(e,r,i);else{var l=document.createElement("a");l.href=e,l.target="_blank",setTimeout((function(){s(l)}))}}:function(e,t,r,a){if(a=a||open("","_blank"),a&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var s="application/octet-stream"===e.type,o=/constructor/i.test(i.HTMLElement)||i.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&o||l)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var e=f.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},f.readAsDataURL(e)}else{var h=i.URL||i.webkitURL,u=h.createObjectURL(e);a?a.location=u:location.href=u,a=null,setTimeout((function(){h.revokeObjectURL(u)}),4e4)}});i.saveAs=o.saveAs=o,e.exports=o}))},6527:function(e,t,r){"use strict";r.d(t,{AT:function(){return T},Hg:function(){return u},J_:function(){return a},Kx:function(){return E},QL:function(){return o},W0:function(){return p},a:function(){return h},an:function(){return b},bu:function(){return v},fL:function(){return w},gc:function(){return S},kB:function(){return s},m3:function(){return f},oR:function(){return g},sy:function(){return i},uW:function(){return d},uj:function(){return m},wy:function(){return l},yk:function(){return c}});var n=r(8859);function a(e){return(0,n.Z)({url:"/report/report-sheet-category/list",method:"post",data:e})}function s(e){return(0,n.Z)({url:"/report/report-sheet/page",method:"post",data:e})}function i(e){return(0,n.Z)({url:"/report/report-sheet/update",method:"post",data:e})}function l(e){return(0,n.Z)({url:"/report/report-sheet/delete",method:"post",data:e})}function o(e){return(0,n.Z)({url:"/report/report-sheet/get",method:"post",data:e})}function c(e){return(0,n.Z)({url:"/report/report-sheet-category/page",method:"post",data:e})}function f(e){return(0,n.Z)({url:"/report/report-sheet-category/add",method:"post",data:e})}function h(e){return(0,n.Z)({url:"/report/report-sheet-category/update",method:"post",data:e})}function u(e){return(0,n.Z)({url:"/report/report-sheet-category/get",method:"post",data:e})}function p(e){return(0,n.Z)({url:"/report/report-sheet-category/delete",method:"post",data:e})}function d(e){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:e})}function m(e){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:e})}function g(e){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:e})}function v(e){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:e})}function b(e){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:e})}function T(e){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:e})}function w(e){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:e})}function E(e){return(0,n.Z)({url:"/report/GlassReport/getGlassVoid",method:"post",data:e})}function S(e){return(0,n.Z)({url:"/report/GlassReport/getUnitVoid",method:"post",data:e})}}}]);