2016.c8bf4147.js 441 KB

12
  1. (self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[2016],{72016:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var a=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"projectApplication"},[e._m(0),t("hr"),t("div",{staticClass:"selectInp"},[t("div",{staticClass:"manageSelects"},[t("div",{staticClass:"selectsBlock"},[t("div",{staticClass:"selectLabel"},[e._v("项目筛选")]),t("el-select",{attrs:{placeholder:"我的项目"},on:{change:e.getData},model:{value:e.selectInp.filter,callback:function(t){e.$set(e.selectInp,"filter",t)},expression:"selectInp.filter"}},[t("el-option",{attrs:{label:"所有项目",value:""}}),e._l(e.options.projectFilter,(function(e){return t("el-option",{key:e.courseId,attrs:{label:e.title,value:e.courseId}})}))],2)],1),t("div",{staticClass:"selectsBlock"},[t("div",{staticClass:"selectLabel"},[e._v("部门")]),t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getData},model:{value:e.selectInp.department,callback:function(t){e.$set(e.selectInp,"department",t)},expression:"selectInp.department"}},[t("el-option",{attrs:{label:"所有部门",value:""}}),e._l(e.options.department,(function(e){return t("el-option",{key:e.classid,attrs:{label:e.name,value:e.classid}})}))],2)],1),t("div",{staticClass:"selectsBlock"},[t("div",{staticClass:"selectLabel"},[e._v("分类")]),t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getData},model:{value:e.selectInp.sort,callback:function(t){e.$set(e.selectInp,"sort",t)},expression:"selectInp.sort"}},[t("el-option",{attrs:{label:"所有分类",value:""}}),e._l(e.options.sort,(function(e){return t("el-option",{key:e.typeid,attrs:{label:e.name,value:e.typeid}})}))],2)],1),t("div",{staticClass:"selectsBlock"},[t("div",{staticClass:"selectLabel"},[e._v("负责人")]),t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getData},model:{value:e.selectInp.person,callback:function(t){e.$set(e.selectInp,"person",t)},expression:"selectInp.person"}},[t("el-option",{attrs:{label:"所有负责人",value:""}}),e._l(e.options.person,(function(e,r){return t("el-option",{key:r,attrs:{label:e.pro_leader,value:e.pro_leader}})}))],2)],1),t("div",{staticClass:"selectsBlock"},[t("div",{staticClass:"selectLabel"},[e._v("状态")]),t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getData},model:{value:e.selectInp.state,callback:function(t){e.$set(e.selectInp,"state",t)},expression:"selectInp.state"}},[t("el-option",{attrs:{label:"所有状态",value:""}}),e._l(e.classType,(function(e,r){return t("el-option",{key:e.index,attrs:{label:e.title,value:e.value}})}))],2)],1),t("div",{staticClass:"selectsBlock"},[t("span",{staticClass:"selectLabel"},[e._v("年份")]),t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.getData},model:{value:e.selectInp.year,callback:function(t){e.$set(e.selectInp,"year",t)},expression:"selectInp.year"}},[t("el-option",{attrs:{label:"所有年份",value:""}}),e._l(e.options.year,(function(e){return t("el-option",{key:e.time,attrs:{label:e.time+"年",value:e.time}})}))],2)],1)]),t("div",{staticClass:"ProjectManagementQuery"},[t("el-input",{attrs:{placeholder:"输入项目名称/负责人/老师",clearable:""},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),t("el-button",{staticClass:"btn",attrs:{type:"primary",size:"mini"},on:{click:e.getData}},[e._v("查询")])],1),0==e.$store.state.userInfo.type?t("div",{staticClass:"ProjectManagementQuery",staticStyle:{"margin-top":"60px"}},[t("el-button",{staticClass:"btn",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.exportExcel.apply(null,arguments)}}},[e._v("导出EXCEL")])],1):e._e()]),t("div",[t("div",[0==e.$store.state.userInfo.type||3==e.$store.state.userInfo.type?t("el-button",{staticStyle:{"font-size":"16px"},attrs:{size:"mini",type:e.isPromotion?"":"primary"},on:{click:e.selectAll}},[e._v("全部")]):e._e(),0==e.$store.state.userInfo.type||3==e.$store.state.userInfo.type?t("el-button",{staticStyle:{"font-size":"16px"},attrs:{size:"mini",type:e.isPromotion?"primary":""},on:{click:e.selectPromotion}},[e._v("2024年立项项目")]):e._e(),t("span",{staticStyle:{"font-size":"12px","margin-left":"10px"}},[e._v("共 "+e._s(e.table.total)+" 条")])],1),t("el-table",{ref:"multipleTable",staticClass:"fontSize",attrs:{data:e.tableData,"tooltip-effect":"dark",stripe:"","header-cell-style":{background:"#f2f2f2",color:"#000"}},on:{"selection-change":e.handleSelectionChange,"cell-click":e.cellProjectClick}},[t("el-table-column",{attrs:{prop:"ProjectNo",label:"项目编号",align:"center","min-width":"20%"}}),t("el-table-column",{attrs:{prop:"title",label:"项目名称",align:"center","min-width":"35%"}}),t("el-table-column",{attrs:{prop:"pro_leader",align:"center",label:"项目负责人","min-width":"15%"}}),t("el-table-column",{attrs:{prop:"name",align:"center",label:"所在部门","min-width":"20%"}}),t("el-table-column",{attrs:{prop:"sort",align:"center",label:"分类","min-width":"20%"}}),t("el-table-column",{attrs:{prop:"fund",label:"预算(万)",align:"center","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",[e._v(" "+e._s(r.row.fund/1e4)+" ")])]}}])}),t("el-table-column",{attrs:{prop:"createTime",align:"center",label:"创建时间","min-width":"25%"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",[e._v(" "+e._s(r.row.createTime.split(" ")[0])),t("br"),e._v(e._s(r.row.createTime.split(" ")[1])+" ")])]}}])}),t("el-table-column",{attrs:{prop:"phone",align:"center",label:"联系电话","min-width":"20%"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",[e._v(" "+e._s(null!=r.row.phone||""==r.row.phone?r.row.phone:"-")+" ")])]}}])}),t("el-table-column",{attrs:{prop:"state",label:"状态",align:"center","min-width":"20%"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",[0!=r.row.isReturn?t("span",[e._v(e._s(e.isReturnType[r.row.isReturn]))]):t("span",[e._v(e._s(e.classType.find((e=>e.value==r.row.isupload))["title"]))])])]}}])}),t("el-table-column",{attrs:{prop:"operation",width:"370",align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(r){return[t("div",{staticClass:"operations"},[t("el-button",{staticClass:"btnClass",attrs:{type:"primary",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.lookDetail(r.row.courseId,r.row.typeid)}}},[e._v("查看详情")]),0==r.row.isupload?t("el-button",{staticClass:"btnClass",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.audit(r.row,0)}}},[e._v("提交")]):e._e(),1==r.row.isupload?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary"}},[e._v("已提交")]):e._e(),[5,6,7].includes(r.row.isupload)&&![0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("审核中")]):e._e(),2!=r.row.isupload||[0,3].includes(e.$store.state.userInfo.type)?e._e():t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("待结项")]),3!=r.row.isupload||[0,3].includes(e.$store.state.userInfo.type)?e._e():t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("结项中")]),4!=r.row.isupload||[0,3].includes(e.$store.state.userInfo.type)?e._e():t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("已结项")]),r.row.isupload>1&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary"}},[e._v("已提交")]):e._e(),0==r.row.isupload&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("审核")]):e._e(),1==r.row.isupload&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"btnClass",attrs:{type:"primary",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.audit(r.row,1)}}},[e._v("审核")]):e._e(),[3,5,6,7].includes(r.row.isupload)&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("审核中")]):e._e(),2==r.row.isupload&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("待结项")]):e._e(),[4].includes(r.row.isupload)&&[0,3].includes(e.$store.state.userInfo.type)?t("el-button",{staticClass:"disa btnClass",attrs:{type:"primary",size:"mini"}},[e._v("已结项")]):e._e(),t("el-button",{staticClass:"btnClass",attrs:{type:"primary",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.del(r.row)}}},[e._v("删除")])],1)]}}])})],1)],1),t("el-pagination",{staticClass:"paginations",attrs:{"current-page":e.table.currentPage,"page-size":e.table.packageSize,layout:" prev, pager, next",background:"",total:e.table.total},on:{"current-change":e.handleCurrentChange}}),t("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"立项审核",visible:e.dialogVisible,width:"700px","before-close":e.init},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"diaTit"},[t("div",{staticClass:"spans"},[e._v("项目名称:")]),t("div",{staticClass:"spanCon"},[e._v(e._s(e.auditDialog.projectName))]),t("div",{staticClass:"spans"},[e._v("项目负责人:")]),t("div",{staticClass:"spanCon"},[e._v(e._s(e.auditDialog.person))])]),t("div",{staticClass:"diaTit1"},[t("div",{staticClass:"spans1"},[e._v("所在部门")]),t("div",{staticClass:"inp"},[t("el-input",{attrs:{disabled:"",placeholder:"所在部门"},model:{value:e.auditDialog.department,callback:function(t){e.$set(e.auditDialog,"department",t)},expression:"auditDialog.department"}})],1)]),t("div",{staticClass:"diaTit1"},[t("div",{staticClass:"spans1"},[e._v("预算总经费")]),t("div",{staticClass:"inp"},[t("el-input",{attrs:{disabled:"",placeholder:"预算总经费"},model:{value:e.auditDialog.fund,callback:function(t){e.$set(e.auditDialog,"fund",t)},expression:"auditDialog.fund"}})],1)]),t("div",{staticClass:"diaTit1"},[t("div",{staticClass:"spans1"},[e._v("联系电话")]),t("div",{staticClass:"inp"},[t("el-input",{attrs:{disabled:"",placeholder:"联系电话"},model:{value:e.auditDialog.tel,callback:function(t){e.$set(e.auditDialog,"tel",t)},expression:"auditDialog.tel"}})],1)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0==e.isManager?t("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:e.ApplyPersonCommit}},[e._v("确定")]):e._e(),1==e.isManager?t("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:e.ManagerCommit}},[e._v("立项通过")]):e._e(),1==e.isManager?t("el-tooltip",{attrs:{effect:"light",content:"(直接进入学校终审状态)",placement:"top"}},[t("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:e.ManagerCommit2}},[e._v(" 二次审核通过 ")])],1):e._e(),1==e.isManager?t("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:e.rejectApply}},[e._v("撤回")]):e._e(),t("el-button",{staticClass:"AllDialogBtn",on:{click:e.init}},[e._v("取消")])],1)]),t("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"删除项目",visible:e.dialogVisible2,width:"600px"},on:{"update:visible":function(t){e.dialogVisible2=t}}},[t("div",{staticClass:"deleteContent"},[e._v("确定删除项目?")]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:e.dialogDel}},[e._v("确认")]),t("el-button",{staticClass:"AllDialogBtn",on:{click:e.init}},[e._v("取消")])],1)])],1)},n=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"pAHeader"},[t("div",{staticClass:"pAHeader1"},[e._v("项目立项管理")])])}],s=(r(57658),{data(){return{isPromotion:"",iid:"",loading:!1,textarea:"",input:"",dialogVisible:!1,dialogVisible1:!1,dialogVisible2:!1,WordPreview:!1,downloadWord:!1,PreviewTid:"",PreviewData:"",rejectApplyText:"",isManager:0,table:{total:0,packageSize:7,currentPage:1},tableData:[],classType:[{index:0,value:"0",title:"未提交"},{index:1,value:"1",title:"已提交"},{index:2,value:"5",title:"所在学院/部门审核中"},{index:3,value:"6",title:"双创学院审核中"},{index:4,value:"7",title:"学校终审中"},{index:5,value:"2",title:"待结项"},{index:6,value:"3",title:"提交结项中"},{index:7,value:"4",title:"已结项"}],isReturnType:{5:"所在学院/部门审核驳回",6:"双创学院审核驳回",7:"学校终审驳回"},selectInp:{filter:"",department:"",sort:"",person:"",state:"",year:""},options:{projectFilter:[],department:[],sort:[],person:[],state:[],year:[]},auditDialog:{projectName:"",person:"",department:"",fund:"",tel:""}}},methods:{selectAll(){console.log("所有"),this.isPromotion="",this.getData()},selectPromotion(){console.log("晋级"),this.isPromotion=1,this.getData()},init(){this.dialogVisible=!1,this.dialogVisible1=!1,this.dialogVisible2=!1},audit(e,t){this.isManager=t,this.iid=e,this.dialogVisible=!0,this.auditDialog.projectName=e.title,this.auditDialog.person=e.pro_leader,this.auditDialog.department=e.name,this.auditDialog.fund=e.fund,this.auditDialog.tel=e.phone||"-"},appTable(e,t){"5e21b204-c206-11ed-a4cd-509a4c5b67cf"==e?this.ajax.get(this.$store.state.api+"/SelectProjectWordMakerStudent",{uid:this.$store.state.userInfo.userid,pid:t}).then((e=>{e["data"];this.downloadWord=!0})).catch((e=>{console.log(e)})):"5f7a66d5-c206-11ed-a4cd-509a4c5b67cf"==e?this.ajax.get(this.$store.state.api+"/SelectProjectWordMakerSpace",{uid:this.$store.state.userInfo.userid,pid:t}).then((t=>{this.PreviewData=[t["data"][0][0],t["data"][1]],this.WordPreview=!0,this.PreviewTid=e})).catch((e=>{console.log(e)})):this.$message.error("错误")},downWord(e){"5f7a66d5-c206-11ed-a4cd-509a4c5b67cf"==this.PreviewTid?MakerSpaceWord(this.PreviewData[0],this.PreviewData[1]):getWord(e[0][0])},ManagerCommit(){let e={pid:this.iid.courseId};this.ajax.get(this.$store.state.api+"/selectSign",e).then((e=>{let t=e.data[0].length>0?Math.max(...e.data[0].map((e=>e.isAgree))):1;if(2!=t){let e={uid:this.$store.state.userInfo.userid,pid:this.iid.courseId,num:5};this.ajax.post(this.$store.state.api+"/updateIsupload",e).then((e=>{this.dialogVisible=!1,this.$message.success("已通过"),this.getData()}),(e=>{console.log(e)}))}else{let t="项目已被驳回,原因为:";for(var r=0;r<e.data[0].length;r++)2==e.data[0][r].isAgree&&(t+=e.data[0][r].text);this.$message.warning(t)}}),(e=>{console.log(e)}))},ManagerCommit2(){let e={uid:this.$store.state.userInfo.userid,pid:this.iid.courseId,num:7};this.ajax.post(this.$store.state.api+"/updateIsupload",e).then((e=>{this.dialogVisible=!1,this.$message.success("已通过"),this.getData()}),(e=>{console.log(e)}))},ApplyPersonCommit(){let e={pid:this.iid.courseId};this.ajax.get(this.$store.state.api+"/selectSign",e).then((e=>{let t=e.data[0].length>0?Math.max(...e.data[0].map((e=>e.isAgree))):1;if(2!=t){let e={uid:this.$store.state.userInfo.userid,pid:this.iid.courseId,num:1};this.ajax.post(this.$store.state.api+"/updateIsupload",e).then((e=>{this.dialogVisible=!1,this.$message.success("已提交"),this.getData()}))}else{let t="项目已被驳回,原因为:";for(var r=0;r<e.data[0].length;r++)2==e.data[0][r].isAgree&&(t+=e.data[0][r].text);this.$message.warning(t)}}),(e=>{console.log(e)}))},rejectApply(){let e={uid:this.$store.state.userInfo.userid,pid:this.iid.courseId,num:0};this.ajax.post(this.$store.state.api+"/updateIsupload",e).then((e=>{this.dialogVisible=!1,this.$message.success("已撤回项目申请"),this.getData()}))},commit2(e){this.dialogVisible1=!1,this.status--},handleSelectionChange(e){this.multipleSelection=e},cellProjectClick(e,t,r,a){"operation"!=t.property&&this.lookDetail(e.courseId,e.typeid)},lookDetail(e,t){this.$router.push(`/projectApplicationDetailMain?tid=${t}&pid=${e}`)},getData(){if(this.loading)return;this.loading=!0;let e={uid:this.$store.state.userInfo.userid,pid:this.selectInp.filter,did:this.selectInp.department,tid:this.selectInp.sort,leader:this.selectInp.person,st:this.selectInp.state,year:this.selectInp.year,textInp:encodeURIComponent(this.input),promotion:this.isPromotion,page:this.table.currentPage,lim:this.table.packageSize};this.tableData=[],this.ajax.get(this.$store.state.api+"/SelectAllProject",e).then((e=>{let t=e.data;if(console.log(t),0==t[0].length&&0!=t[5][0]["total"])return this.table.currentPage=1,this.loading=!1,this.getData();let r=this.options;this.tableData=t[0],r.projectFilter=t[1],r.department=t[2],r.sort=t[3],r.person=t[4],r.year=t[6],0==r.year.filter((e=>e["time"]==(new Date).getFullYear().toString())).length&&r.year.push({time:(new Date).getFullYear().toString()}),this.table.total=t[5][0].total,this.loading=!1}),(e=>{console.log(e)}))},del(e){this.dialogVisible2=!0,this.iid=e},dialogDel(){let e={uid:this.$store.state.userInfo.userid,pid:this.iid.courseId};this.ajax.post(this.$store.state.api+"/DeleteProject",e).then((e=>{if(console.log(e),e.data)return this.$message.success("删除成功"),this.getData(),void(this.dialogVisible2=!1);this.$message.error("删除失败")}),(e=>{console.log(e)}))},handleCurrentChange(e){this.table.currentPage=e,this.getData()},exportExcel(){this.$confirm("是否导出Excel?","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then((()=>{this.loading=!0;let e={uid:this.$store.state.userInfo.userid,pid:this.selectInp.filter,did:this.selectInp.department,tid:this.selectInp.sort,leader:this.selectInp.person,st:this.selectInp.state,year:this.selectInp.year,textInp:encodeURIComponent(this.input),promotion:this.isPromotion,page:1,lim:99999999};this.ajax.get(this.$store.state.api+"/SelectAllProject",e).then((e=>{let t=e.data[0],a=[];t.forEach(((e,t)=>{let r={},n=(e.course_teacher&&JSON.parse(e.course_teacher),e.course_student&&JSON.parse(e.course_student),e.money?JSON.parse(e.money):{});r["项目名称"]=e.title,r["项目负责人"]=e.pro_leader,r["小型仪器设备费"]=n["device"]?n["device"]:"0",r["材料费"]=n["Material"]?n["Material"]:"0",r["测试化验加工费"]=n["processing"]?n["processing"]:"0",r["项目协作费"]=n["Collaboration"]?n["Collaboration"]:"0",r["项目成果鉴定费"]=n["APPRAISAL"]?n["APPRAISAL"]:"0",r["参展参赛费"]=n["entery"]?n["entery"]:"0",r["创客交流活动费"]=n["activities"]?n["activities"]:"0",r["知识产权事务费"]=n["Transaction"]?n["Transaction"]:"0",a.push(r)}));let n=r(87092);const s=n.utils.book_new();let i=n.utils.json_to_sheet(a);i["!cols"]=[{wch:50},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:20},{wch:10},{wch:10},{wch:10},{wch:10},{wch:10},{wch:10},{wch:10}],n.utils.book_append_sheet(s,i,"sheet1"),n.writeFile(s,"项目列表.xlsx"),this.loading=!1,console.log(t)}))})).catch((()=>{}))}},watch:{},mounted(){this.selectInp.year=(new Date).getFullYear().toString()},activated(){this.getData()}}),i=s,o=r(43736),c=(0,o.Z)(i,a,n,!1,null,"8ddf32de",null),l=c.exports},67066:function(e,t,r){"use strict";var a=r(19670);e.exports=function(){var e=a(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},92087:function(e,t,r){var a=r(17854),n=r(19781),s=r(47045),i=r(67066),o=r(47293),c=a.RegExp,l=c.prototype,f=n&&o((function(){var e=!0;try{c(".","d")}catch(f){e=!1}var t={},r="",a=e?"dgimsy":"gimsy",n=function(e,a){Object.defineProperty(t,e,{get:function(){return r+=a,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(s.hasIndices="d"),s)n(i,s[i]);var o=Object.getOwnPropertyDescriptor(l,"flags").get.call(t);return o!==a||r!==a}));f&&s(l,"flags",{configurable:!0,get:i})},87092:function(e,t,r){"use strict";r.r(t),r.d(t,{CFB:function(){return Qe},SSF:function(){return Xe},parse_xlscfb:function(){return dv},parse_zip:function(){return jg},read:function(){return aw},readFile:function(){return nw},readFileSync:function(){return nw},set_cptable:function(){return w},set_fs:function(){return tt},stream:function(){return jw},utils:function(){return Bw},version:function(){return Gw},write:function(){return pw},writeFile:function(){return bw},writeFileAsync:function(){return gw},writeFileSync:function(){return bw},writeFileXLSX:function(){return vw},writeXLSX:function(){return dw}});r(23767),r(8585),r(68696),r(57658),r(30541),r(92087);var a={version:"0.18.5"},n=1200,s=1252,i=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={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},c=function(e){-1!=i.indexOf(e)&&(s=o[0]=e)};function l(){c(1252)}var f=function(e){n=e,c(e)};function h(){f(1200),l()}function u(e){for(var t=[],r=0,a=e.length;r<a;++r)t[r]=e.charCodeAt(r);return t}function d(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function p(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 m,b=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?d(e.slice(2)):254==t&&255==r?p(e.slice(2)):65279==t?e.slice(1):e},v=function(e){return String.fromCharCode(e)},g=function(e){return String.fromCharCode(e)};function w(e){m=e,f=function(e){n=e,c(e)},b=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?m.utils.decode(1200,u(e.slice(2))):e},v=function(e){return 1200===n?String.fromCharCode(e):m.utils.decode(n,[255&e,e>>8])[0]},g=function(e){return m.utils.decode(s,[e])[0]},ta()}var k=null,T=!0,E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function y(e){for(var t="",r=0,a=0,n=0,s=0,i=0,o=0,c=0,l=0;l<e.length;)r=e.charCodeAt(l++),s=r>>2,a=e.charCodeAt(l++),i=(3&r)<<4|a>>4,n=e.charCodeAt(l++),o=(15&a)<<2|n>>6,c=63&n,isNaN(a)?o=c=64:isNaN(n)&&(c=64),t+=E.charAt(s)+E.charAt(i)+E.charAt(o)+E.charAt(c);return t}function S(e){var t="",r=0,a=0,n=0,s=0,i=0,o=0,c=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)s=E.indexOf(e.charAt(l++)),i=E.indexOf(e.charAt(l++)),r=s<<2|i>>4,t+=String.fromCharCode(r),o=E.indexOf(e.charAt(l++)),a=(15&i)<<4|o>>2,64!==o&&(t+=String.fromCharCode(a)),c=E.indexOf(e.charAt(l++)),n=(3&o)<<6|c,64!==c&&(t+=String.fromCharCode(n));return t}var _=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),x=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 A(e){return _?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function C(e){return _?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var R=function(e){return _?x(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function I(e){if("undefined"===typeof ArrayBuffer)return R(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),a=0;a!=e.length;++a)r[a]=255&e.charCodeAt(a);return t}function O(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 N(e){if("undefined"===typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}function D(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return D(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var F=_?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:x(e)})))}:function(e){if("undefined"!==typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var a=new Uint8Array(r),n=0;for(t=0,r=0;t<e.length;r+=n,++t)if(n=e[t].length,e[t]instanceof Uint8Array)a.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";a.set(new Uint8Array(e[t]),r)}return a}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};function P(e){for(var t=[],r=0,a=e.length+250,n=A(e.length+255),s=0;s<e.length;++s){var i=e.charCodeAt(s);if(i<128)n[r++]=i;else if(i<2048)n[r++]=192|i>>6&31,n[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var o=1023&e.charCodeAt(++s);n[r++]=240|i>>8&7,n[r++]=128|i>>2&63,n[r++]=128|o>>6&15|(3&i)<<4,n[r++]=128|63&o}else n[r++]=224|i>>12&15,n[r++]=128|i>>6&63,n[r++]=128|63&i;r>a&&(t.push(n.slice(0,r)),r=0,n=A(65535),a=65530)}return t.push(n.slice(0,r)),F(t)}var M=/\u0000/g,L=/[\u0001-\u0006]/g;function U(e){var t="",r=e.length-1;while(r>=0)t+=e.charAt(r--);return t}function B(e,t){var r=""+e;return r.length>=t?r:yt("0",t-r.length)+r}function W(e,t){var r=""+e;return r.length>=t?r:yt(" ",t-r.length)+r}function H(e,t){var r=""+e;return r.length>=t?r:r+yt(" ",t-r.length)}function z(e,t){var r=""+Math.round(e);return r.length>=t?r:yt("0",t-r.length)+r}function V(e,t){var r=""+e;return r.length>=t?r:yt("0",t-r.length)+r}var j=Math.pow(2,32);function G(e,t){if(e>j||e<-j)return z(e,t);var r=Math.round(e);return V(r,t)}function X(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],K=[["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 J(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 Z={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"秒 "'},q={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},Q={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 ee(e,t,r){var a=e<0?-1:1,n=e*a,s=0,i=1,o=0,c=1,l=0,f=0,h=Math.floor(n);while(l<t){if(h=Math.floor(n),o=h*i+s,f=h*l+c,n-h<5e-8)break;n=1/(n-h),s=i,i=o,c=l,l=f}if(f>t&&(l>t?(f=c,o=s):(f=l,o=i)),!r)return[0,a*o,f];var u=Math.floor(a*o/f);return[u,a*o-u*f,f]}function te(e,t,r){if(e>2958465||e<0)return null;var a=0|e,n=Math.floor(86400*(e-a)),s=0,i=[],o={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(a+=1462),o.u>.9999&&(o.u=0,86400==++n&&(o.T=n=0,++a,++o.D)),60===a)i=r?[1317,10,29]:[1900,2,29],s=3;else if(0===a)i=r?[1317,8,29]:[1900,1,0],s=6;else{a>60&&--a;var c=new Date(1900,0,1);c.setDate(c.getDate()+a-1),i=[c.getFullYear(),c.getMonth()+1,c.getDate()],s=c.getDay(),a<60&&(s=(s+6)%7),r&&(s=ue(c,i))}return o.y=i[0],o.m=i[1],o.d=i[2],o.S=n%60,n=Math.floor(n/60),o.M=n%60,n=Math.floor(n/60),o.H=n,o.q=s,o}var re=new Date(1899,11,31,0,0,0),ae=re.getTime(),ne=new Date(1900,2,1,0,0,0);function se(e,t){var r=e.getTime();return t?r-=1262304e5:e>=ne&&(r+=864e5),(r-(ae+6e4*(e.getTimezoneOffset()-re.getTimezoneOffset())))/864e5}function ie(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function oe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ce(e){var t=e<0?12:11,r=ie(e.toFixed(12));return r.length<=t?r:(r=e.toPrecision(10),r.length<=t?r:e.toExponential(5))}function le(e){var t=ie(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}function fe(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?ce(e):10===r?e.toFixed(10).substr(0,12):le(e),ie(oe(t.toUpperCase()))}function he(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):fe(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Ve(14,se(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function ue(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function de(e,t,r,a){var n,s="",i=0,o=0,c=r.y,l=0;switch(e){case 98:c=r.y+543;case 121:switch(t.length){case 1:case 2:n=c%100,l=2;break;default:n=c%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:n=r.m,l=t.length;break;case 3:return K[r.m-1][1];case 5:return K[r.m-1][0];default:return K[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:n=r.d,l=t.length;break;case 3:return Y[r.q][0];default:return Y[r.q][1]}break;case 104:switch(t.length){case 1:case 2:n=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:n=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:n=r.M,l=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?(o=a>=2?3===a?1e3:100:1===a?10:1,i=Math.round(o*(r.S+r.u)),i>=60*o&&(i=0),"s"===t?0===i?"0":""+i/o:(s=B(i,2+a),"ss"===t?s.substr(0,2):"."+s.substr(2,t.length-1))):B(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":n=24*r.D+r.H;break;case"[m]":case"[mm]":n=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":n=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:n=c,l=1;break}var f=l>0?B(n,l):"";return f}function pe(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,a=e.substr(0,r);r!=e.length;r+=t)a+=(a.length>0?",":"")+e.substr(r,t);return a}var me=/%/g;function be(e,t,r){var a=t.replace(me,""),n=t.length-a.length;return Pe(e,a,r*Math.pow(10,2*n))+yt("%",n)}function ve(e,t,r){var a=t.length-1;while(44===t.charCodeAt(a-1))--a;return Pe(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function ge(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+ge(e,-t);var n=e.indexOf(".");-1===n&&(n=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),r=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),-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,n)+"."+r.substr(2+n),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,a){return t+r+a.substr(0,(n+s)%n)+"."+a.substr(s)+"E"}))}else r=t.toExponential(a);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 we=/# (\?+)( ?)\/( ?)(\d+)/;function ke(e,t,r){var a=parseInt(e[4],10),n=Math.round(t*a),s=Math.floor(n/a),i=n-s*a,o=a;return r+(0===s?"":""+s)+" "+(0===i?yt(" ",e[1].length+1+e[4].length):W(i,e[1].length)+e[2]+"/"+e[3]+B(o,e[4].length))}function Te(e,t,r){return r+(0===t?"":""+t)+yt(" ",e[1].length+2+e[4].length)}var Ee=/^#*0*\.([0#]+)/,ye=/\).*[0#]/,Se=/\(###\) ###\\?-####/;function _e(e){for(var t,r="",a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function xe(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function Ae(e,t){var r=e-Math.floor(e),a=Math.pow(10,t);return t<(""+Math.round(r*a)).length?0:Math.round(r*a)}function Ce(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Re(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Ie(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ye)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ie("n",a,r):"("+Ie("n",a,-r)+")"}if(44===t.charCodeAt(t.length-1))return ve(e,t,r);if(-1!==t.indexOf("%"))return be(e,t,r);if(-1!==t.indexOf("E"))return ge(t,r);if(36===t.charCodeAt(0))return"$"+Ie(e,t.substr(" "==t.charAt(1)?2:1),r);var n,s,i,o,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+G(c,t.length);if(t.match(/^[#?]+$/))return n=G(r,0),"0"===n&&(n=""),n.length>t.length?n:_e(t.substr(0,t.length-n.length))+n;if(s=t.match(we))return ke(s,c,l);if(t.match(/^#+0+$/))return l+G(c,t.length-t.indexOf("0"));if(s=t.match(Ee))return n=xe(r,s[1].length).replace(/^([^\.]+)$/,"$1."+_e(s[1])).replace(/\.$/,"."+_e(s[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+yt("0",_e(s[1]).length-t.length)})),-1!==t.indexOf("0.")?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return l+xe(c,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 l+pe(G(c,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ie(e,t,-r):pe(""+(Math.floor(r)+Ce(r,s[1].length)))+"."+B(Ae(r,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return Ie(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=U(Ie(e,t.replace(/[\\-]/g,""),r)),i=0,U(U(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<n.length?n.charAt(i++):"0"===e?"0":""})));if(t.match(Se))return n=Ie(e,"##########",r),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),o=ee(c,Math.pow(10,i)-1,!1),n=""+l,f=Pe("n",s[1],o[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),n+=f+s[2]+"/"+s[3],f=H(o[2],i),f.length<s[4].length&&(f=_e(s[4].substr(s[4].length-f.length))+f),n+=f,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),o=ee(c,Math.pow(10,i)-1,!0),l+(o[0]||(o[1]?"":"0"))+" "+(o[1]?W(o[1],i)+s[2]+"/"+s[3]+H(o[2],i):yt(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=G(r,0),t.length<=n.length?n:_e(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0?]+)\.([#0]+)$/)){n=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var h=t.indexOf(".")-i,u=t.length-n.length-h;return _e(t.substr(0,h)+n+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return i=Ae(r,s[1].length),r<0?"-"+Ie(e,t,-r):pe(Re(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?B(0,3-e.length):"")+e}))+"."+B(i,s[1].length);switch(t){case"###,##0.00":return Ie(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=pe(G(c,0));return"0"!==d?l+d:"";case"###,###.00":return Ie(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Ie(e,"#,##0.00",r).replace(/^0\./,".");default:}throw new Error("unsupported format |"+t+"|")}function Oe(e,t,r){var a=t.length-1;while(44===t.charCodeAt(a-1))--a;return Pe(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function Ne(e,t,r){var a=t.replace(me,""),n=t.length-a.length;return Pe(e,a,r*Math.pow(10,2*n))+yt("%",n)}function De(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+De(e,-t);var n=e.indexOf(".");-1===n&&(n=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),r=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),!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,a){return t+r+a.substr(0,(n+s)%n)+"."+a.substr(s)+"E"}))}else r=t.toExponential(a);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 Fe(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ye)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Fe("n",a,r):"("+Fe("n",a,-r)+")"}if(44===t.charCodeAt(t.length-1))return Oe(e,t,r);if(-1!==t.indexOf("%"))return Ne(e,t,r);if(-1!==t.indexOf("E"))return De(t,r);if(36===t.charCodeAt(0))return"$"+Fe(e,t.substr(" "==t.charAt(1)?2:1),r);var n,s,i,o,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+B(c,t.length);if(t.match(/^[#?]+$/))return n=""+r,0===r&&(n=""),n.length>t.length?n:_e(t.substr(0,t.length-n.length))+n;if(s=t.match(we))return Te(s,c,l);if(t.match(/^#+0+$/))return l+B(c,t.length-t.indexOf("0"));if(s=t.match(Ee))return n=(""+r).replace(/^([^\.]+)$/,"$1."+_e(s[1])).replace(/\.$/,"."+_e(s[1])),n=n.replace(/\.(\d*)$/,(function(e,t){return"."+t+yt("0",_e(s[1]).length-t.length)})),-1!==t.indexOf("0.")?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return l+pe(""+c);if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Fe(e,t,-r):pe(""+r)+"."+yt("0",s[1].length);if(s=t.match(/^#,#*,#0/))return Fe(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=U(Fe(e,t.replace(/[\\-]/g,""),r)),i=0,U(U(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<n.length?n.charAt(i++):"0"===e?"0":""})));if(t.match(Se))return n=Fe(e,"##########",r),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),o=ee(c,Math.pow(10,i)-1,!1),n=""+l,f=Pe("n",s[1],o[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),n+=f+s[2]+"/"+s[3],f=H(o[2],i),f.length<s[4].length&&(f=_e(s[4].substr(s[4].length-f.length))+f),n+=f,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),o=ee(c,Math.pow(10,i)-1,!0),l+(o[0]||(o[1]?"":"0"))+" "+(o[1]?W(o[1],i)+s[2]+"/"+s[3]+H(o[2],i):yt(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=""+r,t.length<=n.length?n:_e(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0]+)\.([#0]+)$/)){n=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var h=t.indexOf(".")-i,u=t.length-n.length-h;return _e(t.substr(0,h)+n+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Fe(e,t,-r):pe(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?B(0,3-e.length):"")+e}))+"."+B(0,s[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=pe(""+c);return"0"!==d?l+d:"";default:if(t.match(/\.[0#?]*$/))return Fe(e,t.slice(0,t.lastIndexOf(".")),r)+_e(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Pe(e,t,r){return(0|r)===r?Fe(e,t,r):Ie(e,t,r)}function Me(e){for(var t=[],r=!1,a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:r=!r;break;case 95:case 42:case 92:++a;break;case 59:t[t.length]=e.substr(n,a-n),n=a+1}if(t[t.length]=e.substr(n),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}var Le=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ue(e){var t=0,r="",a="";while(t<e.length)switch(r=e.charAt(t)){case"G":X(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"[":a=r;while("]"!==e.charAt(t++)&&t<e.length)a+=e.charAt(t);if(a.match(Le))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 Be(e,t,r,a){var n,s,i,o=[],c="",l=0,f="",h="t",u="H";while(l<e.length)switch(f=e.charAt(l)){case"G":if(!X(e,l))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(i=e.charCodeAt(++l))&&l<e.length;)c+=String.fromCharCode(i);o[o.length]={t:"t",v:c},++l;break;case"\\":var d=e.charAt(++l),p="("===d||")"===d?d:"t";o[o.length]={t:p,v:d},++l;break;case"_":o[o.length]={t:"t",v:" "},l+=2;break;case"@":o[o.length]={t:"T",v:t},++l;break;case"B":case"b":if("1"===e.charAt(l+1)||"2"===e.charAt(l+1)){if(null==n&&(n=te(t,r,"2"===e.charAt(l+1)),null==n))return"";o[o.length]={t:"X",v:e.substr(l,2)},h=f,l+=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==n&&(n=te(t,r),null==n))return"";c=f;while(++l<e.length&&e.charAt(l).toLowerCase()===f)c+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=u),o[o.length]={t:f,v:c},h=f;break;case"A":case"a":case"上":var m={t:f,v:f};if(null==n&&(n=te(t,r)),"A/P"===e.substr(l,3).toUpperCase()?(null!=n&&(m.v=n.H>=12?"P":"A"),m.t="T",u="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=n&&(m.v=n.H>=12?"PM":"AM"),m.t="T",l+=5,u="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=n&&(m.v=n.H>=12?"下午":"上午"),m.t="T",l+=5,u="h"):(m.t="t",++l),null==n&&"T"===m.t)return"";o[o.length]=m,h=f;break;case"[":c=f;while("]"!==e.charAt(l++)&&l<e.length)c+=e.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(Le)){if(null==n&&(n=te(t,r),null==n))return"";o[o.length]={t:"Z",v:c.toLowerCase()},h=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ue(e)||(o[o.length]={t:"t",v:c}));break;case".":if(null!=n){c=f;while(++l<e.length&&"0"===(f=e.charAt(l)))c+=f;o[o.length]={t:"s",v:c};break}case"0":case"#":c=f;while(++l<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(l))>-1)c+=f;o[o.length]={t:"n",v:c};break;case"?":c=f;while(e.charAt(++l)===f)c+=f;o[o.length]={t:f,v:c},h=f;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break;case"(":case")":o[o.length]={t:1===a?"t":f,v:f},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=f;while(l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1)c+=e.charAt(l);o[o.length]={t:"D",v:c};break;case" ":o[o.length]={t:f,v:f},++l;break;case"$":o[o.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"t",v:f},++l;break}var b,v=0,g=0;for(l=o.length-1,h="t";l>=0;--l)switch(o[l].t){case"h":case"H":o[l].t=u,h="h",v<1&&(v=1);break;case"s":(b=o[l].v.match(/\.0+$/))&&(g=Math.max(g,b[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":h=o[l].t;break;case"m":"s"===h&&(o[l].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&o[l].v.match(/[Hh]/)&&(v=1),v<2&&o[l].v.match(/[Mm]/)&&(v=2),v<3&&o[l].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:n.u>=.5&&(n.u=0,++n.S),n.S>=60&&(n.S=0,++n.M),n.M>=60&&(n.M=0,++n.H);break;case 2:n.u>=.5&&(n.u=0,++n.S),n.S>=60&&(n.S=0,++n.M);break}var w,k="";for(l=0;l<o.length;++l)switch(o[l].t){case"t":case"T":case" ":case"D":break;case"X":o[l].v="",o[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":o[l].v=de(o[l].t.charCodeAt(0),o[l].v,n,g),o[l].t="t";break;case"n":case"?":w=l+1;while(null!=o[w]&&("?"===(f=o[w].t)||"D"===f||(" "===f||"t"===f)&&null!=o[w+1]&&("?"===o[w+1].t||"t"===o[w+1].t&&"/"===o[w+1].v)||"("===o[l].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===o[w].v||" "===o[w].v&&null!=o[w+1]&&"?"==o[w+1].t)))o[l].v+=o[w].v,o[w]={v:"",t:";"},++w;k+=o[l].v,l=w-1;break;case"G":o[l].t="t",o[l].v=he(t,r);break}var T,E,y="";if(k.length>0){40==k.charCodeAt(0)?(T=t<0&&45===k.charCodeAt(0)?-t:t,E=Pe("n",k,T)):(T=t<0&&a>1?-t:t,E=Pe("n",k,T),T<0&&o[0]&&"t"==o[0].t&&(E=E.substr(1),o[0].v="-"+o[0].v)),w=E.length-1;var S=o.length;for(l=0;l<o.length;++l)if(null!=o[l]&&"t"!=o[l].t&&o[l].v.indexOf(".")>-1){S=l;break}var _=o.length;if(S===o.length&&-1===E.indexOf("E")){for(l=o.length-1;l>=0;--l)null!=o[l]&&-1!=="n?".indexOf(o[l].t)&&(w>=o[l].v.length-1?(w-=o[l].v.length,o[l].v=E.substr(w+1,o[l].v.length)):w<0?o[l].v="":(o[l].v=E.substr(0,w+1),w=-1),o[l].t="t",_=l);w>=0&&_<o.length&&(o[_].v=E.substr(0,w+1)+o[_].v)}else if(S!==o.length&&-1===E.indexOf("E")){for(w=E.indexOf(".")-1,l=S;l>=0;--l)if(null!=o[l]&&-1!=="n?".indexOf(o[l].t)){for(s=o[l].v.indexOf(".")>-1&&l===S?o[l].v.indexOf(".")-1:o[l].v.length-1,y=o[l].v.substr(s+1);s>=0;--s)w>=0&&("0"===o[l].v.charAt(s)||"#"===o[l].v.charAt(s))&&(y=E.charAt(w--)+y);o[l].v=y,o[l].t="t",_=l}for(w>=0&&_<o.length&&(o[_].v=E.substr(0,w+1)+o[_].v),w=E.indexOf(".")+1,l=S;l<o.length;++l)if(null!=o[l]&&(-1!=="n?(".indexOf(o[l].t)||l===S)){for(s=o[l].v.indexOf(".")>-1&&l===S?o[l].v.indexOf(".")+1:0,y=o[l].v.substr(0,s);s<o[l].v.length;++s)w<E.length&&(y+=E.charAt(w++));o[l].v=y,o[l].t="t",_=l}}}for(l=0;l<o.length;++l)null!=o[l]&&"n?".indexOf(o[l].t)>-1&&(T=a>1&&t<0&&l>0&&"-"===o[l-1].v?-t:t,o[l].v=Pe(o[l].t,o[l].v,T),o[l].t="t");var x="";for(l=0;l!==o.length;++l)null!=o[l]&&(x+=o[l].v);return x}var We=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function He(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 ze(e,t){var r=Me(e),a=r.length,n=r[a-1].indexOf("@");if(a<4&&n>-1&&--a,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof t)return[4,4===r.length||n>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=n>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=n>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=n>-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[a,s];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(We),o=r[1].match(We);return He(t,i)?[a,r[0]]:He(t,o)?[a,r[1]]:[a,r[null!=i&&null!=o?2:1]]}return[a,s]}function Ve(e,t,r){null==r&&(r={});var a="";switch(typeof e){case"string":a="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":a=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:Z)[e],null==a&&(a=r.table&&r.table[q[e]]||Z[q[e]]),null==a&&(a=Q[e]||"General");break}if(X(a,0))return he(t,r);t instanceof Date&&(t=se(t,r.date1904));var n=ze(a,t);if(X(n[1]))return he(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return Be(n[1],t,r,n[0])}function je(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(void 0!=Z[r]){if(Z[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return Z[t]=e,t}function Ge(e){for(var t=0;392!=t;++t)void 0!==e[t]&&je(e[t],t)}function $e(){Z=J()}var Xe={format:Ve,load:je,_table:Z,load_table:Ge,parse_date_code:te,is_date:Ue,get_table:function(){return Xe._table=Z}},Ye={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ke=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Je(e){var t="number"==typeof e?Z[e]:e;return t=t.replace(Ke,"(\\d+)"),new RegExp("^"+t+"$")}function Ze(e,t,r){var a=-1,n=-1,s=-1,i=-1,o=-1,c=-1;(t.match(Ke)||[]).forEach((function(e,t){var l=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=l;break;case"d":s=l;break;case"h":i=l;break;case"s":c=l;break;case"m":i>=0?o=l:n=l;break}})),c>=0&&-1==o&&n>=0&&(o=n,n=-1);var l=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var f=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==o&&-1==c?l:-1==a&&-1==n&&-1==s?f:l+"T"+f}var qe=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 a(e){var t=0,r=0,a=0,n="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(a=0;256!=a;++a)n[a]=e[a];for(a=0;256!=a;++a)for(r=e[a],t=256+a;t<4096;t+=256)r=n[t]=r>>>8^e[255&r];var s=[];for(a=1;16!=a;++a)s[a-1]="undefined"!==typeof Int32Array?n.subarray(256*a,256*a+256):n.slice(256*a,256*a+256);return s}var n=a(r),s=n[0],i=n[1],o=n[2],c=n[3],l=n[4],f=n[5],h=n[6],u=n[7],d=n[8],p=n[9],m=n[10],b=n[11],v=n[12],g=n[13],w=n[14];function k(e,t){for(var a=-1^t,n=0,s=e.length;n<s;)a=a>>>8^r[255&(a^e.charCodeAt(n++))];return~a}function T(e,t){for(var a=-1^t,n=e.length-15,k=0;k<n;)a=w[e[k++]^255&a]^g[e[k++]^a>>8&255]^v[e[k++]^a>>16&255]^b[e[k++]^a>>>24]^m[e[k++]]^p[e[k++]]^d[e[k++]]^u[e[k++]]^h[e[k++]]^f[e[k++]]^l[e[k++]]^c[e[k++]]^o[e[k++]]^i[e[k++]]^s[e[k++]]^r[e[k++]];n+=15;while(k<n)a=a>>>8^r[255&(a^e[k++])];return~a}function E(e,t){for(var a=-1^t,n=0,s=e.length,i=0,o=0;n<s;)i=e.charCodeAt(n++),i<128?a=a>>>8^r[255&(a^i)]:i<2048?(a=a>>>8^r[255&(a^(192|i>>6&31))],a=a>>>8^r[255&(a^(128|63&i))]):i>=55296&&i<57344?(i=64+(1023&i),o=1023&e.charCodeAt(n++),a=a>>>8^r[255&(a^(240|i>>8&7))],a=a>>>8^r[255&(a^(128|i>>2&63))],a=a>>>8^r[255&(a^(128|o>>6&15|(3&i)<<4))],a=a>>>8^r[255&(a^(128|63&o))]):(a=a>>>8^r[255&(a^(224|i>>12&15))],a=a>>>8^r[255&(a^(128|i>>6&63))],a=a>>>8^r[255&(a^(128|63&i))]);return~a}return e.table=r,e.bstr=k,e.buf=T,e.str=E,e}(),Qe=function(){var e,t={};function r(e,t){for(var r=e.split("/"),a=t.split("/"),n=0,s=0,i=Math.min(r.length,a.length);n<i;++n){if(s=r[n].length-a[n].length)return s;if(r[n]!=a[n])return r[n]<a[n]?-1:1}return r.length-a.length}function a(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:a(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(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 a=t.getFullYear()-1980;a=a<<4|t.getMonth()+1,a=a<<5|t.getDate(),e.write_shift(2,a)}function i(e){var t=65535&e.read_shift(2),r=65535&e.read_shift(2),a=new Date,n=31&r;r>>>=5;var s=15&r;r>>>=4,a.setMilliseconds(0),a.setFullYear(r+1980),a.setMonth(s-1),a.setDate(n);var i=31&t;t>>>=5;var o=63&t;return t>>>=6,a.setHours(t),a.setMinutes(o),a.setSeconds(i<<1),a}function o(e){pa(e,0);var t={},r=0;while(e.l<=e.length-4){var a=e.read_shift(2),n=e.read_shift(2),s=e.l+n,i={};switch(a){case 21589:r=e.read_shift(1),1&r&&(i.mtime=e.read_shift(4)),n>5&&(2&r&&(i.atime=e.read_shift(4)),4&r&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime));break}e.l=s,t[a]=i}return t}function c(){return e||(e={})}function l(e,t){if(80==e[0]&&75==e[1])return Oe(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,a=512,n=0,s=0,i=0,o=0,c=0,l=[],p=e.slice(0,512);pa(p,0);var b=f(p);switch(r=b[0],r){case 3:a=512;break;case 4:a=4096;break;case 0:if(0==b[1])return Oe(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==a&&(p=e.slice(0,a),pa(p,28));var w=e.slice(0,a);h(p,r);var k=p.read_shift(4,"i");if(3===r&&0!==k)throw new Error("# Directory Sectors: Expected 0 saw "+k);p.l+=4,i=p.read_shift(4,"i"),p.l+=4,p.chk("00100000","Mini Stream Cutoff Size: "),o=p.read_shift(4,"i"),n=p.read_shift(4,"i"),c=p.read_shift(4,"i"),s=p.read_shift(4,"i");for(var T=-1,E=0;E<109;++E){if(T=p.read_shift(4,"i"),T<0)break;l[E]=T}var y=u(e,a);m(c,s,y,a,l);var S=v(y,i,l,a);S[i].name="!Directory",n>0&&o!==B&&(S[o].name="!MiniFAT"),S[l[0]].name="!FAT",S.fat_addrs=l,S.ssz=a;var _={},x=[],A=[],C=[];g(i,S,y,x,n,_,A,o),d(A,C,x),x.shift();var R={FileIndex:A,FullPaths:C};return t&&t.raw&&(R.raw={header:w,sectors:y}),R}function f(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(W,"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,a=[],n=1;n<r;++n)a[n-1]=e.slice(n*t,(n+1)*t);return a[r-1]=e.slice(r*t),a}function d(e,t,r){for(var a=0,n=0,s=0,i=0,o=0,c=r.length,l=[],f=[];a<c;++a)l[a]=f[a]=a,t[a]=r[a];for(;o<f.length;++o)a=f[o],n=e[a].L,s=e[a].R,i=e[a].C,l[a]===a&&(-1!==n&&l[n]!==n&&(l[a]=l[n]),-1!==s&&l[s]!==s&&(l[a]=l[s])),-1!==i&&(l[i]=a),-1!==n&&a!=l[a]&&(l[n]=l[a],f.lastIndexOf(n)<o&&f.push(n)),-1!==s&&a!=l[a]&&(l[s]=l[a],f.lastIndexOf(s)<o&&f.push(s));for(a=1;a<c;++a)l[a]===a&&(-1!==s&&l[s]!==s?l[a]=l[s]:-1!==n&&l[n]!==n&&(l[a]=l[n]));for(a=1;a<c;++a)if(0!==e[a].type){if(o=a,o!=l[o])do{o=l[o],t[a]=t[o]+"/"+t[a]}while(0!==o&&-1!==l[o]&&o!=l[o]);l[a]=-1}for(t[0]+="/",a=1;a<c;++a)2!==e[a].type&&(t[a]+="/")}function p(e,t,r){var a=e.start,n=e.size,s=[],i=a;while(r&&n>0&&i>=0)s.push(t.slice(i*U,i*U+U)),n-=U,i=ia(r,4*i);return 0===s.length?ba(0):F(s).slice(0,e.size)}function m(e,t,r,a,n){var s=B;if(e===B){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=r[e],o=(a>>>2)-1;if(!i)return;for(var c=0;c<o;++c){if((s=ia(i,4*c))===B)break;n.push(s)}m(ia(i,a-4),t-1,r,a,n)}}function b(e,t,r,a,n){var s=[],i=[];n||(n=[]);var o=a-1,c=0,l=0;for(c=t;c>=0;){n[c]=!0,s[s.length]=c,i.push(e[c]);var f=r[Math.floor(4*c/a)];if(l=4*c&o,a<4+l)throw new Error("FAT boundary crossed: "+c+" 4 "+a);if(!e[f])break;c=ia(e[f],l)}return{nodes:s,data:Pr([i])}}function v(e,t,r,a){var n=e.length,s=[],i=[],o=[],c=[],l=a-1,f=0,h=0,u=0,d=0;for(f=0;f<n;++f)if(o=[],u=f+t,u>=n&&(u-=n),!i[u]){c=[];var p=[];for(h=u;h>=0;){p[h]=!0,i[h]=!0,o[o.length]=h,c.push(e[h]);var m=r[Math.floor(4*h/a)];if(d=4*h&l,a<4+d)throw new Error("FAT boundary crossed: "+h+" 4 "+a);if(!e[m])break;if(h=ia(e[m],d),p[h])break}s[u]={nodes:o,data:Pr([c])}}return s}function g(e,t,r,a,n,s,i,o){for(var c,l=0,f=a.length?2:0,h=t[e].data,u=0,d=0;u<h.length;u+=128){var m=h.slice(u,u+128);pa(m,64),d=m.read_shift(2),c=Lr(m,0,d-f),a.push(c);var v={name:c,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},g=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==g&&(v.ct=w(m,m.l-8));var k=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==k&&(v.mt=w(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=B,v.name=""),5===v.type?(l=v.start,n>0&&l!==B&&(t[l].name="!StreamData")):v.size>=4096?(v.storage="fat",void 0===t[v.start]&&(t[v.start]=b(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:l!==B&&v.start!==B&&t[l]&&(v.content=p(v,t[l].data,(t[o]||{}).data))),v.content&&pa(v.content,0),s[c]=v,i.push(v)}}function w(e,t){return new Date(1e3*(sa(e,t+4)/1e7*Math.pow(2,32)+sa(e,t)/1e7-11644473600))}function k(t,r){return c(),l(e.readFileSync(t),r)}function T(e,t){var r=t&&t.type;switch(r||_&&Buffer.isBuffer(e)&&(r="buffer"),r||"base64"){case"file":return k(e,t);case"base64":return l(R(S(e)),t);case"binary":return l(R(e),t)}return l(e,t)}function E(e,t){var r=t||{},a=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]=a+"/",e.FileIndex[0]={name:a,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),I(e)}function I(e){var t="Sh33tJ5";if(!Qe.find(e,"/"+t)){var r=ba(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),O(e)}}function O(e,t){E(e);for(var s=!1,i=!1,o=e.FullPaths.length-1;o>=0;--o){var c=e.FileIndex[o];switch(c.type){case 0:i?s=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:i=!0,isNaN(c.R*c.L*c.C)&&(s=!0),c.R>-1&&c.L>-1&&c.R==c.L&&(s=!0);break;default:s=!0;break}}if(s||t){var l=new Date(1987,1,19),f=0,h=Object.create?Object.create(null):{},u=[];for(o=0;o<e.FullPaths.length;++o)h[e.FullPaths[o]]=!0,0!==e.FileIndex[o].type&&u.push([e.FullPaths[o],e.FileIndex[o]]);for(o=0;o<u.length;++o){var d=a(u[o][0]);i=h[d],i||(u.push([d,{name:n(d).replace("/",""),type:1,clsid:z,ct:l,mt:l,content:null}]),h[d]=!0)}for(u.sort((function(e,t){return r(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],o=0;o<u.length;++o)e.FullPaths[o]=u[o][0],e.FileIndex[o]=u[o][1];for(o=0;o<u.length;++o){var p=e.FileIndex[o],m=e.FullPaths[o];if(p.name=n(m).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||z,0===o)p.C=u.length>1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(f=o+1;f<u.length;++f)if(a(e.FullPaths[f])==m)break;for(p.C=f>=u.length?-1:f,f=o+1;f<u.length;++f)if(a(e.FullPaths[f])==a(m))break;p.R=f>=u.length?-1:f,p.type=1}else a(e.FullPaths[o+1]||"")==a(m)&&(p.R=o+1),p.type=2}}}function N(e,t){var r=t||{};if("mad"==r.fileType)return He(e,r);switch(O(e),r.fileType){case"zip":return De(e,r)}var a=function(e){for(var t=0,r=0,a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(n.content){var s=n.content.length;s>0&&(s<4096?t+=s+63>>6:r+=s+511>>9)}}var i=e.FullPaths.length+3>>2,o=t+7>>3,c=t+127>>7,l=o+r+i+c,f=l+127>>7,h=f<=109?0:Math.ceil((f-109)/127);while(l+f+h+127>>7>f)h=++f<=109?0:Math.ceil((f-109)/127);var u=[1,h,f,c,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),n=ba(a[7]<<9),s=0,i=0;for(s=0;s<8;++s)n.write_shift(1,H[s]);for(s=0;s<8;++s)n.write_shift(2,0);for(n.write_shift(2,62),n.write_shift(2,3),n.write_shift(2,65534),n.write_shift(2,9),n.write_shift(2,6),s=0;s<3;++s)n.write_shift(2,0);for(n.write_shift(4,0),n.write_shift(4,a[2]),n.write_shift(4,a[0]+a[1]+a[2]+a[3]-1),n.write_shift(4,0),n.write_shift(4,4096),n.write_shift(4,a[3]?a[0]+a[1]+a[2]-1:B),n.write_shift(4,a[3]),n.write_shift(-4,a[1]?a[0]-1:B),n.write_shift(4,a[1]),s=0;s<109;++s)n.write_shift(-4,s<a[2]?a[1]+s:-1);if(a[1])for(i=0;i<a[1];++i){for(;s<236+127*i;++s)n.write_shift(-4,s<a[2]?a[1]+s:-1);n.write_shift(-4,i===a[1]-1?B:i+1)}var o=function(e){for(i+=e;s<i-1;++s)n.write_shift(-4,s+1);e&&(++s,n.write_shift(-4,B))};for(i=s=0,i+=a[1];s<i;++s)n.write_shift(-4,V.DIFSECT);for(i+=a[2];s<i;++s)n.write_shift(-4,V.FATSECT);o(a[3]),o(a[4]);for(var c=0,l=0,f=e.FileIndex[0];c<e.FileIndex.length;++c)f=e.FileIndex[c],f.content&&(l=f.content.length,l<4096||(f.start=i,o(l+511>>9)));o(a[6]+7>>3);while(511&n.l)n.write_shift(-4,V.ENDOFCHAIN);for(i=s=0,c=0;c<e.FileIndex.length;++c)f=e.FileIndex[c],f.content&&(l=f.content.length,!l||l>=4096||(f.start=i,o(l+63>>6)));while(511&n.l)n.write_shift(-4,V.ENDOFCHAIN);for(s=0;s<a[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:B);var u=0===s&&r.root||f.name;if(l=2*(u.length+1),n.write_shift(64,u,"utf16le"),n.write_shift(2,l),n.write_shift(1,f.type),n.write_shift(1,f.color),n.write_shift(-4,f.L),n.write_shift(-4,f.R),n.write_shift(-4,f.C),f.clsid)n.write_shift(16,f.clsid,"hex");else for(c=0;c<4;++c)n.write_shift(4,0);n.write_shift(4,f.state||0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,f.start),n.write_shift(4,f.size),n.write_shift(4,0)}else{for(c=0;c<17;++c)n.write_shift(4,0);for(c=0;c<3;++c)n.write_shift(4,-1);for(c=0;c<12;++c)n.write_shift(4,0)}}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>=4096)if(n.l=f.start+1<<9,_&&Buffer.isBuffer(f.content))f.content.copy(n,n.l,0,f.size),n.l+=f.size+511&-512;else{for(c=0;c<f.size;++c)n.write_shift(1,f.content[c]);for(;511&c;++c)n.write_shift(1,0)}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>0&&f.size<4096)if(_&&Buffer.isBuffer(f.content))f.content.copy(n,n.l,0,f.size),n.l+=f.size+63&-64;else{for(c=0;c<f.size;++c)n.write_shift(1,f.content[c]);for(;63&c;++c)n.write_shift(1,0)}if(_)n.l=n.length;else while(n.l<n.length)n.write_shift(1,0);return n}function D(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),a=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),n=!1;47===t.charCodeAt(0)?(n=!0,t=r[0].slice(0,-1)+t):n=-1!==t.indexOf("/");var s=t.toUpperCase(),i=!0===n?r.indexOf(s):a.indexOf(s);if(-1!==i)return e.FileIndex[i];var o=!s.match(L);for(s=s.replace(M,""),o&&(s=s.replace(L,"!")),i=0;i<r.length;++i){if((o?r[i].replace(L,"!"):r[i]).replace(M,"")==s)return e.FileIndex[i];if((o?a[i].replace(L,"!"):a[i]).replace(M,"")==s)return e.FileIndex[i]}return null}t.version="1.2.1";var P,U=64,B=-2,W="d0cf11e0a1b11ae1",H=[208,207,17,224,161,177,26,225],z="00000000000000000000000000000000",V={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:B,FREESECT:-1,HEADER_SIGNATURE:W,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function j(t,r,a){c();var n=N(t,a);e.writeFileSync(r,n)}function G(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function $(t,r){var a=N(t,r);switch(r&&r.type||"buffer"){case"file":return c(),e.writeFileSync(r.filename,a),a;case"binary":return"string"==typeof a?a:G(a);case"base64":return y("string"==typeof a?a:G(a));case"buffer":if(_)return Buffer.isBuffer(a)?a:x(a);case"array":return"string"==typeof a?R(a):a}return a}function X(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");P=e}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function Y(e,t){if(!P)return Re(e,t);var r=P.InflateRaw,a=new r,n=a._processChunk(e.slice(e.l),a._finishFlushFlag);return e.l+=a.bytesRead,n}function K(e){return P?P.deflateRawSync(e):Te(e)}var J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=[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],q=[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 Q(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var ee="undefined"!==typeof Uint8Array,te=ee?new Uint8Array(256):[],re=0;re<256;++re)te[re]=Q(re);function ae(e,t){var r=te[255&e];return t<=8?r>>>8-t:(r=r<<8|te[e>>8&255],t<=16?r>>>16-t:(r=r<<8|te[e>>16&255],r>>>24-t))}function ne(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=6?0:e[a+1]<<8))>>>r&3}function se(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=5?0:e[a+1]<<8))>>>r&7}function ie(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=4?0:e[a+1]<<8))>>>r&15}function oe(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=3?0:e[a+1]<<8))>>>r&31}function ce(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=1?0:e[a+1]<<8))>>>r&127}function le(e,t,r){var a=7&t,n=t>>>3,s=(1<<r)-1,i=e[n]>>>a;return r<8-a?i&s:(i|=e[n+1]<<8-a,r<16-a?i&s:(i|=e[n+2]<<16-a,r<24-a||(i|=e[n+3]<<24-a),i&s))}function fe(e,t,r){var a=7&t,n=t>>>3;return a<=5?e[n]|=(7&r)<<a:(e[n]|=r<<a&255,e[n+1]=(7&r)>>8-a),t+3}function he(e,t,r){var a=7&t,n=t>>>3;return r=(1&r)<<a,e[n]|=r,t+1}function ue(e,t,r){var a=7&t,n=t>>>3;return r<<=a,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function de(e,t,r){var a=7&t,n=t>>>3;return r<<=a,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function pe(e,t){var r=e.length,a=2*r>t?2*r:t+5,n=0;if(r>=t)return e;if(_){var s=C(a);if(e.copy)e.copy(s);else for(;n<e.length;++n)s[n]=e[n];return s}if(ee){var i=new Uint8Array(a);if(i.set)i.set(e);else for(;n<r;++n)i[n]=e[n];return i}return e.length=a,e}function me(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function be(e,t,r){var a=1,n=0,s=0,i=0,o=0,c=e.length,l=ee?new Uint16Array(32):me(32);for(s=0;s<32;++s)l[s]=0;for(s=c;s<r;++s)e[s]=0;c=e.length;var f=ee?new Uint16Array(c):me(c);for(s=0;s<c;++s)l[n=e[s]]++,a<n&&(a=n),f[s]=0;for(l[0]=0,s=1;s<=a;++s)l[s+16]=o=o+l[s-1]<<1;for(s=0;s<c;++s)o=e[s],0!=o&&(f[s]=l[o+16]++);var h=0;for(s=0;s<c;++s)if(h=e[s],0!=h)for(o=ae(f[s],a)>>a-h,i=(1<<a+4-h)-1;i>=0;--i)t[o|i<<h]=15&h|s<<4;return a}var ve=ee?new Uint16Array(512):me(512),ge=ee?new Uint16Array(32):me(32);if(!ee){for(var we=0;we<512;++we)ve[we]=0;for(we=0;we<32;++we)ge[we]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);be(e,ge,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);be(r,ve,288)})();var ke=function(){for(var e=ee?new Uint8Array(32768):[],t=0,r=0;t<q.length-1;++t)for(;r<q[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var a=ee?new Uint8Array(259):[];for(t=0,r=0;t<Z.length-1;++t)for(;r<Z[t+1];++r)a[r]=t;function n(e,t){var r=0;while(r<e.length){var a=Math.min(65535,e.length-r),n=r+a==e.length;t.write_shift(1,+n),t.write_shift(2,a),t.write_shift(2,65535&~a);while(a-- >0)t[t.l++]=e[r++]}return t.l}function s(t,r){var n=0,s=0,i=ee?new Uint16Array(32768):[];while(s<t.length){var o=Math.min(65535,t.length-s);if(o<10){n=fe(r,n,+!(s+o!=t.length)),7&n&&(n+=8-(7&n)),r.l=n/8|0,r.write_shift(2,o),r.write_shift(2,65535&~o);while(o-- >0)r[r.l++]=t[s++];n=8*r.l}else{n=fe(r,n,+!(s+o!=t.length)+2);var c=0;while(o-- >0){var l=t[s];c=32767&(c<<5^l);var f=-1,h=0;if((f=i[c])&&(f|=-32768&s,f>s&&(f-=32768),f<s))while(t[f+h]==t[s+h]&&h<250)++h;if(h>2){l=a[h],l<=22?n=ue(r,n,te[l+1]>>1)-1:(ue(r,n,3),n+=5,ue(r,n,te[l-23]>>5),n+=3);var u=l<8?0:l-4>>2;u>0&&(de(r,n,h-Z[l]),n+=u),l=e[s-f],n=ue(r,n,te[l]>>3),n-=3;var d=l<4?0:l-2>>1;d>0&&(de(r,n,s-f-q[l]),n+=d);for(var p=0;p<h;++p)i[c]=32767&s,c=32767&(c<<5^t[s]),++s;o-=h-1}else l<=143?l+=48:n=he(r,n,1),n=ue(r,n,te[l]),i[c]=32767&s,++s}n=ue(r,n,0)-1}}return r.l=(n+7)/8|0,r.l}return function(e,t){return e.length<8?n(e,t):s(e,t)}}();function Te(e){var t=ba(50+Math.floor(1.1*e.length)),r=ke(e,t);return t.slice(0,r)}var Ee=ee?new Uint16Array(32768):me(32768),ye=ee?new Uint16Array(32768):me(32768),Se=ee?new Uint16Array(128):me(128),_e=1,xe=1;function Ae(e,t){var r=oe(e,t)+257;t+=5;var a=oe(e,t)+1;t+=5;var n=ie(e,t)+4;t+=4;for(var s=0,i=ee?new Uint8Array(19):me(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=ee?new Uint8Array(8):me(8),f=ee?new Uint8Array(8):me(8),h=i.length,u=0;u<n;++u)i[J[u]]=s=se(e,t),c<s&&(c=s),l[s]++,t+=3;var d=0;for(l[0]=0,u=1;u<=c;++u)f[u]=d=d+l[u-1]<<1;for(u=0;u<h;++u)0!=(d=i[u])&&(o[u]=f[d]++);var p=0;for(u=0;u<h;++u)if(p=i[u],0!=p){d=te[o[u]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Se[d|m<<p]=7&p|u<<3}var b=[];for(c=1;b.length<r+a;)switch(d=Se[ce(e,t)],t+=7&d,d>>>=3){case 16:s=3+ne(e,t),t+=2,d=b[b.length-1];while(s-- >0)b.push(d);break;case 17:s=3+se(e,t),t+=3;while(s-- >0)b.push(0);break;case 18:s=11+ce(e,t),t+=7;while(s-- >0)b.push(0);break;default:b.push(d),c<d&&(c=d);break}var v=b.slice(0,r),g=b.slice(r);for(u=r;u<286;++u)v[u]=0;for(u=a;u<30;++u)g[u]=0;return _e=be(v,Ee,286),xe=be(g,ye,30),t}function Ce(e,t){if(3==e[0]&&!(3&e[1]))return[A(t),2];var r=0,a=0,n=C(t||1<<18),s=0,i=n.length>>>0,o=0,c=0;while(0==(1&a))if(a=se(e,r),r+=3,a>>>1!=0)for(a>>1==1?(o=9,c=5):(r=Ae(e,r),o=_e,c=xe);;){!t&&i<s+32767&&(n=pe(n,s+32767),i=n.length);var l=le(e,r,o),f=a>>>1==1?ve[l]:Ee[l];if(r+=15&f,f>>>=4,0===(f>>>8&255))n[s++]=f;else{if(256==f)break;f-=257;var h=f<8?0:f-4>>2;h>5&&(h=0);var u=s+Z[f];h>0&&(u+=le(e,r,h),r+=h),l=le(e,r,c),f=a>>>1==1?ge[l]:ye[l],r+=15&f,f>>>=4;var d=f<4?0:f-2>>1,p=q[f];d>0&&(p+=le(e,r,d),r+=d),!t&&i<u&&(n=pe(n,u+100),i=n.length);while(s<u)n[s]=n[s-p],++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&&(n=pe(n,s+m),i=n.length);while(m-- >0)n[s++]=e[r>>>3],r+=8}}return t?[n,r+7>>>3]:[n.slice(0,s),r+7>>>3]}function Re(e,t){var r=e.slice(e.l||0),a=Ce(r,t);return e.l+=a[1],a[0]}function Ie(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Oe(e,t){var r=e;pa(r,0);var a=[],n=[],s={FileIndex:a,FullPaths:n};E(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 c=r.read_shift(2);r.l+=6;var l=r.read_shift(4);for(r.l=l,i=0;i<c;++i){r.l+=20;var f=r.read_shift(4),h=r.read_shift(4),u=r.read_shift(2),d=r.read_shift(2),p=r.read_shift(2);r.l+=8;var m=r.read_shift(4),b=o(r.slice(r.l+u,r.l+u+d));r.l+=u+d+p;var v=r.l;r.l=m+4,Ne(r,f,h,s,b),r.l=v}return s}function Ne(e,t,r,a,n){e.l+=2;var s=e.read_shift(2),c=e.read_shift(2),l=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),d=e.read_shift(2),p=e.read_shift(2),m="",b=0;b<d;++b)m+=String.fromCharCode(e[e.l++]);if(p){var v=o(e.slice(e.l,e.l+p));(v[21589]||{}).mt&&(l=v[21589].mt),((n||{})[21589]||{}).mt&&(l=n[21589].mt)}e.l+=p;var g=e.slice(e.l,e.l+h);switch(c){case 8:g=Y(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+c)}var w=!1;8&s&&(f=e.read_shift(4),134695760==f&&(f=e.read_shift(4),w=!0),h=e.read_shift(4),u=e.read_shift(4)),h!=t&&Ie(w,"Bad compressed size: "+t+" != "+h),u!=r&&Ie(w,"Bad uncompressed size: "+r+" != "+u),Ve(a,m,g,{unsafe:!0,mt:l})}function De(e,t){var r=t||{},a=[],n=[],i=ba(1),o=r.compression?8:0,c=0,l=!1;l&&(c|=8);var f=0,h=0,u=0,d=0,p=e.FullPaths[0],m=p,b=e.FileIndex[0],v=[],g=0;for(f=1;f<e.FullPaths.length;++f)if(m=e.FullPaths[f].slice(p.length),b=e.FileIndex[f],b.size&&b.content&&"Sh33tJ5"!=m){var w=u,k=ba(m.length);for(h=0;h<m.length;++h)k.write_shift(1,127&m.charCodeAt(h));k=k.slice(0,k.l),v[d]=qe.buf(b.content,0);var T=b.content;8==o&&(T=K(T)),i=ba(30),i.write_shift(4,67324752),i.write_shift(2,20),i.write_shift(2,c),i.write_shift(2,o),b.mt?s(i,b.mt):i.write_shift(4,0),i.write_shift(-4,8&c?0:v[d]),i.write_shift(4,8&c?0:T.length),i.write_shift(4,8&c?0:b.content.length),i.write_shift(2,k.length),i.write_shift(2,0),u+=i.length,a.push(i),u+=k.length,a.push(k),u+=T.length,a.push(T),8&c&&(i=ba(12),i.write_shift(-4,v[d]),i.write_shift(4,T.length),i.write_shift(4,b.content.length),u+=i.l,a.push(i)),i=ba(46),i.write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,c),i.write_shift(2,o),i.write_shift(4,0),i.write_shift(-4,v[d]),i.write_shift(4,T.length),i.write_shift(4,b.content.length),i.write_shift(2,k.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,w),g+=i.l,n.push(i),g+=k.length,n.push(k),++d}return i=ba(22),i.write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,d),i.write_shift(2,d),i.write_shift(4,g),i.write_shift(4,u),i.write_shift(2,0),F([F(a),F(n),i])}var Fe={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 Pe(e,t){if(e.ctype)return e.ctype;var r=e.name||"",a=r.match(/\.([^\.]+)$/);return a&&Fe[a[1]]||t&&(a=(r=t).match(/[\.\\]([^\.\\])+$/),a&&Fe[a[1]])?Fe[a[1]]:"application/octet-stream"}function Me(e){for(var t=y(e),r=[],a=0;a<t.length;a+=76)r.push(t.slice(a,a+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=[],a=t.split("\r\n"),n=0;n<a.length;++n){var s=a[n];if(0!=s.length)for(var i=0;i<s.length;){var o=76,c=s.slice(i,i+o);"="==c.charAt(o-1)?o--:"="==c.charAt(o-2)?o-=2:"="==c.charAt(o-3)&&(o-=3),c=s.slice(i,i+o),i+=o,i<s.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function Ue(e){for(var t=[],r=0;r<e.length;++r){var a=e[r];while(r<=e.length&&"="==a.charAt(a.length-1))a=a.slice(0,a.length-1)+e[++r];t.push(a)}for(var n=0;n<t.length;++n)t[n]=t[n].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return R(t.join("\r\n"))}function Be(e,t,r){for(var a,n="",s="",i="",o=0;o<10;++o){var c=t[o];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":n=l[2].trim();break;case"content-type":i=l[2].trim();break;case"content-transfer-encoding":s=l[2].trim();break}}switch(++o,s.toLowerCase()){case"base64":a=R(S(t.slice(o).join("")));break;case"quoted-printable":a=Ue(t.slice(o));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+s)}var f=Ve(e,n.slice(r.length),a,{unsafe:!0});i&&(f.ctype=i)}function We(e,t){if("mime-version:"!=G(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",a=(_&&Buffer.isBuffer(e)?e.toString("binary"):G(e)).split("\r\n"),n=0,s="";for(n=0;n<a.length;++n)if(s=a[n],/^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=(a[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var o="--"+(i[1]||""),c=[],l=[],f={FileIndex:c,FullPaths:l};E(f);var h,u=0;for(n=0;n<a.length;++n){var d=a[n];d!==o&&d!==o+"--"||(u++&&Be(f,a.slice(h,n),r),h=n)}return f}function He(e,t){var r=t||{},a=r.boundary||"SheetJS";a="------="+a;for(var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""],s=e.FullPaths[0],i=s,o=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(i=e.FullPaths[c].slice(s.length),o=e.FileIndex[c],o.size&&o.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 l=o.content,f=_&&Buffer.isBuffer(l)?l.toString("binary"):G(l),h=0,u=Math.min(1024,f.length),d=0,p=0;p<=u;++p)(d=f.charCodeAt(p))>=32&&d<128&&++h;var m=h>=4*u/5;n.push(a),n.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),n.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),n.push("Content-Type: "+Pe(o,i)),n.push(""),n.push(m?Le(f):Me(f))}return n.push(a+"--\r\n"),n.join("\r\n")}function ze(e){var t={};return E(t,e),t}function Ve(e,t,r,a){var s=a&&a.unsafe;s||E(e);var i=!s&&Qe.find(e,t);if(!i){var o=e.FullPaths[0];t.slice(0,o.length)==o?o=t:("/"!=o.slice(-1)&&(o+="/"),o=(o+t).replace("//","/")),i={name:n(t),type:2},e.FileIndex.push(i),e.FullPaths.push(o),s||Qe.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,a&&(a.CLSID&&(i.clsid=a.CLSID),a.mt&&(i.mt=a.mt),a.ct&&(i.ct=a.ct)),i}function je(e,t){E(e);var r=Qe.find(e,t);if(r)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==r)return e.FileIndex.splice(a,1),e.FullPaths.splice(a,1),!0;return!1}function Ge(e,t,r){E(e);var a=Qe.find(e,t);if(a)for(var s=0;s<e.FileIndex.length;++s)if(e.FileIndex[s]==a)return e.FileIndex[s].name=n(r),e.FullPaths[s]=r,!0;return!1}function $e(e){O(e,!0)}return t.find=D,t.read=T,t.parse=l,t.write=$,t.writeFile=j,t.utils={cfb_new:ze,cfb_add:Ve,cfb_del:je,cfb_mov:Ge,cfb_gc:$e,ReadShift:ca,CheckField:da,prep_blob:pa,bconcat:F,use_zlib:X,_deflateRaw:Te,_inflateRaw:Re,consts:V},t}();let et;function tt(e){et=e}function rt(e){return"string"===typeof e?I(e):Array.isArray(e)?N(e):e}function at(e,t,r){if("undefined"!==typeof et&&et.writeFileSync)return r?et.writeFileSync(e,t,r):et.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=I(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var a="utf8"==r?pr(t):t;if("undefined"!==typeof IE_SaveFile)return IE_SaveFile(a,e);if("undefined"!==typeof Blob){var n=new Blob([rt(a)],{type:"application/octet-stream"});if("undefined"!==typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if("undefined"!==typeof saveAs)return saveAs(n,e);if("undefined"!==typeof URL&&"undefined"!==typeof document&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(n);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 o=File(e);return o.open("w"),o.encoding="binary",Array.isArray(t)&&(t=O(t)),o.write(t),o.close(),t}catch(c){if(!c.message||!c.message.match(/onstruct/))throw c}throw new Error("cannot save file "+e)}function nt(e){if("undefined"!==typeof et)return et.readFileSync(e);if("undefined"!==typeof Deno)return Deno.readFileSync(e);if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function st(e){for(var t=Object.keys(e),r=[],a=0;a<t.length;++a)Object.prototype.hasOwnProperty.call(e,t[a])&&r.push(t[a]);return r}function it(e,t){for(var r=[],a=st(e),n=0;n!==a.length;++n)null==r[e[a[n]][t]]&&(r[e[a[n]][t]]=a[n]);return r}function ot(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)t[e[r[a]]]=r[a];return t}function ct(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)t[e[r[a]]]=parseInt(r[a],10);return t}function lt(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)null==t[e[r[a]]]&&(t[e[r[a]]]=[]),t[e[r[a]]].push(r[a]);return t}var ft=new Date(1899,11,30,0,0,0);function ht(e,t){var r=e.getTime();t&&(r-=1263168e5);var a=ft.getTime()+6e4*(e.getTimezoneOffset()-ft.getTimezoneOffset());return(r-a)/864e5}var ut=new Date,dt=ft.getTime()+6e4*(ut.getTimezoneOffset()-ft.getTimezoneOffset()),pt=ut.getTimezoneOffset();function mt(e){var t=new Date;return t.setTime(24*e*60*60*1e3+dt),t.getTimezoneOffset()!==pt&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-pt)),t}function bt(e){var t=0,r=0,a=!1,n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=n.length;++s)if(n[s]){switch(r=1,s>3&&(a=!0),n[s].slice(n[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[s].slice(n[s].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");r*=60;case"S":break}t+=r*parseInt(n[s],10)}return t}var vt=new Date("2017-02-19T19:06:09.000Z"),gt=isNaN(vt.getFullYear())?new Date("2/19/17"):vt,wt=2017==gt.getFullYear();function kt(e,t){var r=new Date(e);if(wt)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==gt.getFullYear()&&!isNaN(r.getFullYear())){var a=r.getFullYear();return e.indexOf(""+a)>-1||r.setFullYear(r.getFullYear()+100),r}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function Tt(e,t){if(_&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return pr(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return pr(p(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return pr(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return pr(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 a=[],n=0;n!=e.length;++n)a.push(String.fromCharCode(e[n]));return a.join("")}function Et(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]=Et(e[r]));return t}function yt(e,t){var r="";while(r.length<t)r+=e;return r}function St(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(a))?(a=a.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(a))?t:t/r):t/r}var _t=["january","february","march","april","may","june","july","august","september","october","november","december"];function xt(e){var t=new Date(e),r=new Date(NaN),a=t.getYear(),n=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==_t.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return a<0||a>8099?r:(n>0||s>1)&&101!=a?t:e.match(/[^-0-9:,\/\\]/)?r:t}var At=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,a){if(e||"string"==typeof r)return t.split(r);for(var n=t.split(r),s=[n[0]],i=1;i<n.length;++i)s.push(a),s.push(n[i]);return s}}();function Ct(e){return e?e.content&&e.type?Tt(e.content,!0):e.data?b(e.data):e.asNodeBuffer&&_?b(e.asNodeBuffer().toString("binary")):e.asBinary?b(e.asBinary()):e._data&&e._data.getContent?b(Tt(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Rt(e){if(!e)return null;if(e.data)return u(e.data);if(e.asNodeBuffer&&_)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?u(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function It(e){return e&&".bin"===e.name.slice(-4)?Rt(e):Ct(e)}function Ot(e,t){for(var r=e.FullPaths||st(e.files),a=t.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/"),s=0;s<r.length;++s){var i=r[s].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==i||n==i)return e.files?e.files[r[s]]:e.FileIndex[s]}return null}function Nt(e,t){var r=Ot(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function Dt(e,t,r){if(!r)return It(Nt(e,t));if(!t)return null;try{return Dt(e,t)}catch(a){return null}}function Ft(e,t,r){if(!r)return Ct(Nt(e,t));if(!t)return null;try{return Ft(e,t)}catch(a){return null}}function Pt(e,t,r){if(!r)return Rt(Nt(e,t));if(!t)return null;try{return Pt(e,t)}catch(a){return null}}function Mt(e){for(var t=e.FullPaths||st(e.files),r=[],a=0;a<t.length;++a)"/"!=t[a].slice(-1)&&r.push(t[a].replace(/^Root Entry[\/]/,""));return r.sort()}function Lt(e,t,r){if(e.FullPaths){var a;if("string"==typeof r)return a=_?x(r):P(r),Qe.utils.cfb_add(e,t,a);Qe.utils.cfb_add(e,t,r)}else e.file(t,r)}function Ut(){return Qe.utils.cfb_new()}function Bt(e,t){switch(t.type){case"base64":return Qe.read(e,{type:"base64"});case"binary":return Qe.read(e,{type:"binary"});case"buffer":case"array":return Qe.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Wt(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();var a=e.split("/");while(0!==a.length){var n=a.shift();".."===n?r.pop():"."!==n&&r.push(n)}return r.join("/")}var Ht='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',zt=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Vt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,jt=/<[^>]*>/g,Gt=Ht.match(Vt)?Vt:jt,$t=/<\w*:/,Xt=/<(\/?)\w+:/;function Yt(e,t,r){for(var a={},n=0,s=0;n!==e.length;++n)if(32===(s=e.charCodeAt(n))||10===s||13===s)break;if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var i=e.match(zt),o=0,c="",l=0,f="",h="",u=1;if(i)for(l=0;l!=i.length;++l){for(h=i[l],s=0;s!=h.length;++s)if(61===h.charCodeAt(s))break;f=h.slice(0,s).trim();while(32==h.charCodeAt(s+1))++s;for(u=34==(n=h.charCodeAt(s+1))||39==n?1:0,c=h.slice(s+1+u,h.length-u),o=0;o!=f.length;++o)if(58===f.charCodeAt(o))break;if(o===f.length)f.indexOf("_")>0&&(f=f.slice(0,f.indexOf("_"))),a[f]=c,r||(a[f.toLowerCase()]=c);else{var d=(5===o&&"xmlns"===f.slice(0,5)?"xmlns":"")+f.slice(o+1);if(a[d]&&"ext"==f.slice(o-3,o))continue;a[d]=c,r||(a[d.toLowerCase()]=c)}}return a}function Kt(e){return e.replace(Xt,"<$1")}var Jt={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},Zt=ot(Jt),qt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(a){var n=a+"",s=n.indexOf("<![CDATA[");if(-1==s)return n.replace(e,(function(e,t){return Jt[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=n.indexOf("]]>");return r(n.slice(0,s))+n.slice(s+9,i)+r(n.slice(i+3))}}(),Qt=/[&<>'"]/g,er=/[\u0000-\u0008\u000b-\u001f]/g;function tr(e){var t=e+"";return t.replace(Qt,(function(e){return Zt[e]})).replace(er,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function rr(e){return tr(e).replace(/ /g,"_x0020_")}var ar=/[\u0000-\u001f]/g;function nr(e){var t=e+"";return t.replace(Qt,(function(e){return Zt[e]})).replace(/\n/g,"<br/>").replace(ar,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function sr(e){var t=e+"";return t.replace(Qt,(function(e){return Zt[e]})).replace(ar,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var ir=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function or(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function cr(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,a=0,n=0,s=0,i=0,o=0;while(r<e.length)a=e.charCodeAt(r++),a<128?t+=String.fromCharCode(a):(n=e.charCodeAt(r++),a>191&&a<224?(i=(31&a)<<6,i|=63&n,t+=String.fromCharCode(i)):(s=e.charCodeAt(r++),a<240?t+=String.fromCharCode((15&a)<<12|(63&n)<<6|63&s):(i=e.charCodeAt(r++),o=((7&a)<<18|(63&n)<<12|(63&s)<<6|63&i)-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function fr(e){var t,r,a,n=A(2*e.length),s=1,i=0,o=0;for(r=0;r<e.length;r+=s)s=1,(a=e.charCodeAt(r))<128?t=a:a<224?(t=64*(31&a)+(63&e.charCodeAt(r+1)),s=2):a<240?(t=4096*(15&a)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),s=3):(s=4,t=262144*(7&a)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),t-=65536,o=55296+(t>>>10&1023),t=56320+(1023&t)),0!==o&&(n[i++]=255&o,n[i++]=o>>>8,o=0),n[i++]=t%256,n[i++]=t>>>8;return n.slice(0,i).toString("ucs2")}function hr(e){return x(e,"binary").toString("utf8")}var ur="foo bar baz☃🍣",dr=_&&(hr(ur)==lr(ur)&&hr||fr(ur)==lr(ur)&&fr)||lr,pr=_?function(e){return x(e,"utf8").toString("binary")}:function(e){var t=[],r=0,a=0,n=0;while(r<e.length)switch(a=e.charCodeAt(r++),!0){case a<128:t.push(String.fromCharCode(a));break;case a<2048:t.push(String.fromCharCode(192+(a>>6))),t.push(String.fromCharCode(128+(63&a)));break;case a>=55296&&a<57344:a-=55296,n=e.charCodeAt(r++)-56320+(a<<10),t.push(String.fromCharCode(240+(n>>18&7))),t.push(String.fromCharCode(144+(n>>12&63))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)))}return t.join("")},mr=function(){var e={};return function(t,r){var a=t+"|"+(r||"");return e[a]?e[a]:e[a]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),br=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,""),a=0;a<e.length;++a)r=r.replace(e[a][0],e[a][1]);return r}}(),vr=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),gr=/<\/?(?:vt:)?variant>/g,wr=/<(?:vt:)([^>]*)>([\s\S]*)</;function kr(e,t){var r=Yt(e),a=e.match(vr(r.baseType))||[],n=[];if(a.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+a.length+" != "+r.size);return n}return a.forEach((function(e){var t=e.replace(gr,"").match(wr);t&&n.push({v:dr(t[2]),t:t[1]})})),n}var Tr=/(^\s|\s$|\n)/;function Er(e,t){return"<"+e+(t.match(Tr)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function yr(e){return st(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Sr(e,t,r){return"<"+e+(null!=r?yr(r):"")+(null!=t?(t.match(Tr)?' 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=Sr("vt:lpwstr",tr(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return Sr((0|e)==e?"vt:i4":"vt:r8",tr(String(e)));case"boolean":return Sr("vt:bool",e?"true":"false")}if(e instanceof Date)return Sr("vt:filetime",_r(e));throw new Error("Unable to serialize "+e)}function Ar(e){if(_&&Buffer.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return dr(O(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Cr=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Rr={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"},Ir=["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"],Or={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 Nr(e,t){for(var r=1-2*(e[t+7]>>>7),a=((127&e[t+7])<<4)+(e[t+6]>>>4&15),n=15&e[t+6],s=5;s>=0;--s)n=256*n+e[t+s];return 2047==a?0==n?r*(1/0):NaN:(0==a?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}function Dr(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,s=0,i=a?-t:t;isFinite(i)?0==i?n=s=0:(n=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-n),n<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?n=-1022:(s-=Math.pow(2,52),n+=1023)):(n=2047,s=isNaN(t)?26985:0);for(var o=0;o<=5;++o,s/=256)e[r+o]=255&s;e[r+6]=(15&n)<<4|15&s,e[r+7]=n>>4|a}var Fr=function(e){for(var t=[],r=10240,a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,s=e[0][a].length;n<s;n+=r)t.push.apply(t,e[0][a].slice(n,n+r));return t},Pr=_?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:x(e)}))):Fr(e)}:Fr,Mr=function(e,t,r){for(var a=[],n=t;n<r;n+=2)a.push(String.fromCharCode(aa(e,n)));return a.join("").replace(M,"")},Lr=_?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(M,""):Mr(e,t,r)}:Mr,Ur=function(e,t,r){for(var a=[],n=t;n<t+r;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")},Br=_?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Ur(e,t,r)}:Ur,Wr=function(e,t,r){for(var a=[],n=t;n<r;n++)a.push(String.fromCharCode(ra(e,n)));return a.join("")},Hr=_?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):Wr(e,t,r)}:Wr,zr=function(e,t){var r=sa(e,t);return r>0?Hr(e,t+4,t+4+r-1):""},Vr=zr,jr=function(e,t){var r=sa(e,t);return r>0?Hr(e,t+4,t+4+r-1):""},Gr=jr,$r=function(e,t){var r=2*sa(e,t);return r>0?Hr(e,t+4,t+4+r-1):""},Xr=$r,Yr=function(e,t){var r=sa(e,t);return r>0?Lr(e,t+4,t+4+r):""},Kr=Yr,Jr=function(e,t){var r=sa(e,t);return r>0?Hr(e,t+4,t+4+r):""},Zr=Jr,qr=function(e,t){return Nr(e,t)},Qr=qr,ea=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function ta(){Lr=function(e,t,r){return m.utils.decode(1200,e.slice(t,r)).replace(M,"")},Hr=function(e,t,r){return m.utils.decode(65001,e.slice(t,r))},Vr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(s,e.slice(t+4,t+4+r-1)):""},Gr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(n,e.slice(t+4,t+4+r-1)):""},Xr=function(e,t){var r=2*sa(e,t);return r>0?m.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},Kr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(1200,e.slice(t+4,t+4+r)):""},Zr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(65001,e.slice(t+4,t+4+r)):""}}_&&(Vr=function(e,t){if(!Buffer.isBuffer(e))return zr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Gr=function(e,t){if(!Buffer.isBuffer(e))return jr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Xr=function(e,t){if(!Buffer.isBuffer(e))return $r(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},Kr=function(e,t){if(!Buffer.isBuffer(e))return Yr(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},Zr=function(e,t){if(!Buffer.isBuffer(e))return Jr(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Qr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):qr(e,t)},ea=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof m&&ta();var ra=function(e,t){return e[t]},aa=function(e,t){return 256*e[t+1]+e[t]},na=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},sa=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},ia=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},oa=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function ca(e,t){var r,a,s,i,o,c,l="",f=[];switch(t){case"dbcs":if(c=this.l,_&&Buffer.isBuffer(this))l=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)l+=String.fromCharCode(aa(this,c)),c+=2;e*=2;break;case"utf8":l=Hr(this,this.l,this.l+e);break;case"utf16le":e*=2,l=Lr(this,this.l,this.l+e);break;case"wstr":if("undefined"===typeof m)return ca.call(this,e,"dbcs");l=m.utils.decode(n,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":l=Vr(this,this.l),e=4+sa(this,this.l);break;case"lpstr-cp":l=Gr(this,this.l),e=4+sa(this,this.l);break;case"lpwstr":l=Xr(this,this.l),e=4+2*sa(this,this.l);break;case"lpp4":e=4+sa(this,this.l),l=Kr(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+sa(this,this.l),l=Zr(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":e=0,l="";while(0!==(s=ra(this,this.l+e++)))f.push(v(s));l=f.join("");break;case"_wstr":e=0,l="";while(0!==(s=aa(this,this.l+e)))f.push(v(s)),e+=2;e+=2,l=f.join("");break;case"dbcs-cont":for(l="",c=this.l,o=0;o<e;++o){if(this.lens&&-1!==this.lens.indexOf(c))return s=ra(this,c),this.l=c+1,i=ca.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),f.join("")+i;f.push(v(aa(this,c))),c+=2}l=f.join(""),e*=2;break;case"cpstr":if("undefined"!==typeof m){l=m.utils.decode(n,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(l="",c=this.l,o=0;o!=e;++o){if(this.lens&&-1!==this.lens.indexOf(c))return s=ra(this,c),this.l=c+1,i=ca.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),f.join("")+i;f.push(v(ra(this,c))),c+=1}l=f.join("");break;default:switch(e){case 1:return r=ra(this,this.l),this.l++,r;case 2:return r=("i"===t?na:aa)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===t||0===(128&this[this.l+3])?(r=(e>0?ia:oa)(this,this.l),this.l+=4,r):(a=sa(this,this.l),this.l+=4,a);case 8:case-8:if("f"===t)return a=8==e?Qr(this,this.l):Qr([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,a;e=8;case 16:l=Br(this,this.l,e);break}}return this.l+=e,l}var la=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},fa=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},ha=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function ua(e,t,r){var a=0,n=0;if("dbcs"===r){for(n=0;n!=t.length;++n)ha(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if("sbcs"===r){if("undefined"!==typeof m&&874==s)for(n=0;n!=t.length;++n){var i=m.utils.encode(s,t.charAt(n));this[this.l+n]=i[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=t.length;++n)this[this.l+n]=255&t.charCodeAt(n);a=t.length}else{if("hex"===r){for(;n<e;++n)this[this.l++]=parseInt(t.slice(2*n,2*n+2),16)||0;return this}if("utf16le"===r){var o=Math.min(this.l+e,this.length);for(n=0;n<Math.min(t.length,e);++n){var c=t.charCodeAt(n);this[this.l++]=255&c,this[this.l++]=c>>8}while(this.l<o)this[this.l++]=0;return this}switch(e){case 1:a=1,this[this.l]=255&t;break;case 2:a=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:a=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:a=4,la(this,t,this.l);break;case 8:if(a=8,"f"===r){Dr(this,t,this.l);break}case 16:break;case-4:a=4,fa(this,t,this.l);break}}return this.l+=a,this}function da(e,t){var r=Br(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function pa(e,t){e.l=t,e.read_shift=ca,e.chk=da,e.write_shift=ua}function ma(e,t){e.l+=t}function ba(e){var t=A(e);return pa(t,0),t}function va(e,t,r){if(e){var a,n,s;pa(e,e.l||0);var i=e.length,o=0,c=0;while(e.l<i){o=e.read_shift(1),128&o&&(o=(127&o)+((127&e.read_shift(1))<<7));var l=mv[o]||mv[65535];for(a=e.read_shift(1),s=127&a,n=1;n<4&&128&a;++n)s+=(127&(a=e.read_shift(1)))<<7*n;c=e.l+s;var f=l.f&&l.f(e,s,r);if(e.l=c,t(f,l,o))return}}}function ga(){var e=[],t=_?256:2048,r=function(e){var t=ba(e);return pa(t,0),t},a=r(t),n=function(){a&&(a.length>a.l&&(a=a.slice(0,a.l),a.l=a.length),a.length>0&&e.push(a),a=null)},s=function(e){return a&&e<a.length-a.l?a:(n(),a=r(Math.max(e+1,t)))},i=function(){return n(),F(e)},o=function(e){n(),a=e,null==a.l&&(a.l=a.length),s(t)};return{next:s,push:o,end:i,_bufs:e}}function wa(e,t,r,a){var n,s=+t;if(!isNaN(s)){a||(a=mv[s].p||(r||[]).length||0),n=1+(s>=128?1:0)+1,a>=128&&++n,a>=16384&&++n,a>=2097152&&++n;var i=e.next(n);s<=127?i.write_shift(1,s):(i.write_shift(1,128+(127&s)),i.write_shift(1,s>>7));for(var o=0;4!=o;++o){if(!(a>=128)){i.write_shift(1,a);break}i.write_shift(1,128+(127&a)),a>>=7}a>0&&ea(r)&&e.push(r)}}function ka(e,t,r){var a=Et(e);if(t.s?(a.cRel&&(a.c+=t.s.c),a.rRel&&(a.r+=t.s.r)):(a.cRel&&(a.c+=t.c),a.rRel&&(a.r+=t.r)),!r||r.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function Ta(e,t,r){var a=Et(e);return a.s=ka(a.s,t.s,r),a.e=ka(a.e,t.s,r),a}function Ea(e,t){if(e.cRel&&e.c<0){e=Et(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=Et(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var r=Fa(e);return e.cRel||null==e.cRel||(r=Ia(r)),e.rRel||null==e.rRel||(r=xa(r)),r}function ya(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?Ea(e.s,t.biff)+":"+Ea(e.e,t.biff):(e.s.rRel?"":"$")+_a(e.s.r)+":"+(e.e.rRel?"":"$")+_a(e.e.r):(e.s.cRel?"":"$")+Ra(e.s.c)+":"+(e.e.cRel?"":"$")+Ra(e.e.c)}function Sa(e){return parseInt(Aa(e),10)-1}function _a(e){return""+(e+1)}function xa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Aa(e){return e.replace(/\$(\d+)$/,"$1")}function Ca(e){for(var t=Oa(e),r=0,a=0;a!==t.length;++a)r=26*r+t.charCodeAt(a)-64;return r-1}function Ra(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 Ia(e){return e.replace(/^([A-Z])/,"$$$1")}function Oa(e){return e.replace(/^\$([A-Z])/,"$1")}function Na(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Da(e){for(var t=0,r=0,a=0;a<e.length;++a){var n=e.charCodeAt(a);n>=48&&n<=57?t=10*t+(n-48):n>=65&&n<=90&&(r=26*r+(n-64))}return{c:r-1,r:t-1}}function Fa(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 Pa(e){var t=e.indexOf(":");return-1==t?{s:Da(e),e:Da(e)}:{s:Da(e.slice(0,t)),e:Da(e.slice(t+1))}}function Ma(e,t){return"undefined"===typeof t||"number"===typeof t?Ma(e.s,e.e):("string"!==typeof e&&(e=Fa(e)),"string"!==typeof t&&(t=Fa(t)),e==t?e:e+":"+t)}function La(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,a=0,n=0,s=e.length;for(r=0;a<s;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;r=26*r+n}for(t.s.c=--r,r=0;a<s;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;r=10*r+n}if(t.s.r=--r,a===s||10!=n)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,r=0;a!=s;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;r=26*r+n}for(t.e.c=--r,r=0;a!=s;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;r=10*r+n}return t.e.r=--r,t}function Ua(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Ve(e.z,r?ht(t):t)}catch(a){}try{return e.w=Ve((e.XF||{}).numFmtId||(r?14:0),r?ht(t):t)}catch(a){return""+t}}function Ba(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?$n[e.v]||e.v:Ua(e,void 0==t?e.v:t))}function Wa(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",a={};return a[r]=e,{SheetNames:[r],Sheets:a}}function Ha(e,t,r){var a=r||{},n=e?Array.isArray(e):a.dense;null!=k&&null==n&&(n=k);var s=e||(n?[]:{}),i=0,o=0;if(s&&null!=a.origin){if("number"==typeof a.origin)i=a.origin;else{var c="string"==typeof a.origin?Da(a.origin):a.origin;i=c.r,o=c.c}s["!ref"]||(s["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=La(s["!ref"]);l.s.c=f.s.c,l.s.r=f.s.r,l.e.c=Math.max(l.e.c,f.e.c),l.e.r=Math.max(l.e.r,f.e.r),-1==i&&(l.e.r=i=f.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[h].length;++u)if("undefined"!==typeof t[h][u]){var d={v:t[h][u]},p=i+h,m=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>m&&(l.s.c=m),l.e.r<p&&(l.e.r=p),l.e.c<m&&(l.e.c=m),!t[h][u]||"object"!==typeof t[h][u]||Array.isArray(t[h][u])||t[h][u]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[h][u][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(a.nullError)d.t="e",d.v=0;else{if(!a.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=a.dateNF||Z[14],a.cellDates?(d.t="d",d.w=Ve(d.z,ht(d.v))):(d.t="n",d.v=ht(d.v),d.w=Ve(d.z,d.v))):d.t="s";else d=t[h][u];if(n)s[p]||(s[p]=[]),s[p][m]&&s[p][m].z&&(d.z=s[p][m].z),s[p][m]=d;else{var b=Fa({c:m,r:p});s[b]&&s[b].z&&(d.z=s[b].z),s[b]=d}}}return l.s.c<1e7&&(s["!ref"]=Ma(l)),s}function za(e,t){return Ha(null,e,t)}function Va(e){return e.read_shift(4,"i")}function ja(e,t){return t||(t=ba(4)),t.write_shift(4,e),t}function Ga(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function $a(e,t){var r=!1;return null==t&&(r=!0,t=ba(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 Xa(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Ya(e,t){return t||(t=ba(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function Ka(e,t){var r=e.l,a=e.read_shift(1),n=Ga(e),s=[],i={t:n,h:n};if(0!==(1&a)){for(var o=e.read_shift(4),c=0;c!=o;++c)s.push(Xa(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}function Ja(e,t){var r=!1;return null==t&&(r=!0,t=ba(15+4*e.t.length)),t.write_shift(1,0),$a(e.t,t),r?t.slice(0,t.l):t}var Za=Ka;function qa(e,t){var r=!1;return null==t&&(r=!0,t=ba(23+4*e.t.length)),t.write_shift(1,1),$a(e.t,t),t.write_shift(4,1),Ya({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Qa(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 en(e,t){return null==t&&(t=ba(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function tn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function rn(e,t){return null==t&&(t=ba(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var an=Ga,nn=$a;function sn(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function on(e,t){var r=!1;return null==t&&(r=!0,t=ba(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 cn=Ga,ln=sn,fn=on;function hn(e){var t=e.slice(e.l,e.l+4),r=1&t[0],a=2&t[0];e.l+=4;var n=0===a?Qr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):ia(t,0)>>2;return r?n/100:n}function un(e,t){null==t&&(t=ba(4));var r=0,a=0,n=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?a=1:n==(0|n)&&n>=-(1<<29)&&n<1<<29&&(a=1,r=1),!a)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?n:e)<<2)+(r+2))}function dn(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 pn(e,t){return t||(t=ba(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 mn=dn,bn=pn;function vn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function gn(e,t){return(t||ba(8)).write_shift(8,e,"f")}function wn(e){var t={},r=e.read_shift(1),a=r>>>1,n=e.read_shift(1),s=e.read_shift(2,"i"),i=e.read_shift(1),o=e.read_shift(1),c=e.read_shift(1);switch(e.l++,a){case 0:t.auto=1;break;case 1:t.index=n;var l=Gn[n];l&&(t.rgb=wl(l));break;case 2:t.rgb=wl([i,o,c]);break;case 3:t.theme=n;break}return 0!=s&&(t.tint=s>0?s/32767:s/32768),t}function kn(e,t){if(t||(t=ba(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var a=e.rgb||"FFFFFF";"number"==typeof a&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function Tn(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 En(e,t){t||(t=ba(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}function yn(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},a=e.read_shift(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}function Sn(e){return yn(e,1)}function _n(e){return yn(e,2)}var xn=2,An=3,Cn=11,Rn=12,In=19,On=64,Nn=65,Dn=71,Fn=4108,Pn=4126,Mn=80,Ln=81,Un=[Mn,Ln],Bn={1:{n:"CodePage",t:xn},2:{n:"Category",t:Mn},3:{n:"PresentationFormat",t:Mn},4:{n:"ByteCount",t:An},5:{n:"LineCount",t:An},6:{n:"ParagraphCount",t:An},7:{n:"SlideCount",t:An},8:{n:"NoteCount",t:An},9:{n:"HiddenCount",t:An},10:{n:"MultimediaClipCount",t:An},11:{n:"ScaleCrop",t:Cn},12:{n:"HeadingPairs",t:Fn},13:{n:"TitlesOfParts",t:Pn},14:{n:"Manager",t:Mn},15:{n:"Company",t:Mn},16:{n:"LinksUpToDate",t:Cn},17:{n:"CharacterCount",t:An},19:{n:"SharedDoc",t:Cn},22:{n:"HyperlinksChanged",t:Cn},23:{n:"AppVersion",t:An,p:"version"},24:{n:"DigSig",t:Nn},26:{n:"ContentType",t:Mn},27:{n:"ContentStatus",t:Mn},28:{n:"Language",t:Mn},29:{n:"Version",t:Mn},255:{},2147483648:{n:"Locale",t:In},2147483651:{n:"Behavior",t:In},1919054434:{}},Wn={1:{n:"CodePage",t:xn},2:{n:"Title",t:Mn},3:{n:"Subject",t:Mn},4:{n:"Author",t:Mn},5:{n:"Keywords",t:Mn},6:{n:"Comments",t:Mn},7:{n:"Template",t:Mn},8:{n:"LastAuthor",t:Mn},9:{n:"RevNumber",t:Mn},10:{n:"EditTime",t:On},11:{n:"LastPrinted",t:On},12:{n:"CreatedDate",t:On},13:{n:"ModifiedDate",t:On},14:{n:"PageCount",t:An},15:{n:"WordCount",t:An},16:{n:"CharCount",t:An},17:{n:"Thumbnail",t:Dn},18:{n:"Application",t:Mn},19:{n:"DocSecurity",t:An},255:{},2147483648:{n:"Locale",t:In},2147483651:{n:"Behavior",t:In},1919054434:{}},Hn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},zn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Vn(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var jn=Vn([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]),Gn=Et(jn),$n={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Xn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Yn={"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"},Kn={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 Jn(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Zn(e){var t=Jn();if(!e||!e.match)return t;var r={};if((e.match(Gt)||[]).forEach((function(e){var a=Yt(e);switch(a[0].replace($t,"<")){case"<?xml":break;case"<Types":t.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[a.Extension]=a.ContentType;break;case"<Override":void 0!==t[Yn[a.ContentType]]&&t[Yn[a.ContentType]].push(a.PartName);break}})),t.xmlns!==Rr.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function qn(e,t){var r,a=lt(Yn),n=[];n[n.length]=Ht,n[n.length]=Sr("Types",null,{xmlns:Rr.CT,"xmlns:xsd":Rr.xsd,"xmlns:xsi":Rr.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return Sr("Default",null,{Extension:e[0],ContentType:e[1]})})));var s=function(a){e[a]&&e[a].length>0&&(r=e[a][0],n[n.length]=Sr("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Kn[a][t.bookType]||Kn[a]["xlsx"]}))},i=function(r){(e[r]||[]).forEach((function(e){n[n.length]=Sr("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Kn[r][t.bookType]||Kn[r]["xlsx"]})}))},o=function(t){(e[t]||[]).forEach((function(e){n[n.length]=Sr("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:a[t][0]})}))};return s("workbooks"),i("sheets"),i("charts"),o("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),i("metadata"),o("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var Qn={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 es(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function ts(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var a={};return(e.match(Gt)||[]).forEach((function(e){var n=Yt(e);if("<Relationship"===n[0]){var s={};s.Type=n.Type,s.Target=n.Target,s.Id=n.Id,n.TargetMode&&(s.TargetMode=n.TargetMode);var i="External"===n.TargetMode?n.Target:Wt(n.Target,t);r[i]=s,a[n.Id]=s}})),r["!id"]=a,r}function rs(e){var t=[Ht,Sr("Relationships",null,{xmlns:Rr.RELS})];return st(e["!id"]).forEach((function(r){t[t.length]=Sr("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function as(e,t,r,a,n,s){if(n||(n={}),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,n.Id="rId"+t,n.Type=a,n.Target=r,s?n.TargetMode=s:[Qn.HLINK,Qn.XPATH,Qn.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,t}var ns="application/vnd.oasis.opendocument.spreadsheet";function ss(e,t){var r,a,n=Ar(e);while(r=Cr.exec(n))switch(r[3]){case"manifest":break;case"file-entry":if(a=Yt(r[0],!1),"/"==a.path&&a.type!==ns)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}function is(e){var t=[Ht];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 os(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 cs(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 ls(e){var t=[Ht];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(os(e[r][0],e[r][1])),t.push(cs("",e[r][0]));return t.push(os("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function fs(){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 '+a.version+"</meta:generator></office:meta></office:document-meta>"}var hs=[["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"]],us=function(){for(var e=new Array(hs.length),t=0;t<hs.length;++t){var r=hs[t],a="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function ds(e){var t={};e=dr(e);for(var r=0;r<hs.length;++r){var a=hs[r],n=e.match(us[r]);null!=n&&n.length>0&&(t[a[1]]=qt(n[1])),"date"===a[2]&&t[a[1]]&&(t[a[1]]=kt(t[a[1]]))}return t}function ps(e,t,r,a,n){null==n[e]&&null!=t&&""!==t&&(n[e]=t,t=tr(t),a[a.length]=r?Sr(e,t,r):Er(e,t))}function ms(e,t){var r=t||{},a=[Ht,Sr("cp:coreProperties",null,{"xmlns:cp":Rr.CORE_PROPS,"xmlns:dc":Rr.dc,"xmlns:dcterms":Rr.dcterms,"xmlns:dcmitype":Rr.dcmitype,"xmlns:xsi":Rr.xsi})],n={};if(!e&&!r.Props)return a.join("");e&&(null!=e.CreatedDate&&ps("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:_r(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),null!=e.ModifiedDate&&ps("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:_r(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var s=0;s!=hs.length;++s){var i=hs[s],o=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===o?o="1":!1===o?o="0":"number"==typeof o&&(o=String(o)),null!=o&&ps(i[0],o,null,a,n)}return a.length>2&&(a[a.length]="</cp:coreProperties>",a[1]=a[1].replace("/>",">")),a.join("")}var bs=[["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"]],vs=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function gs(e,t,r,a){var n=[];if("string"==typeof e)n=kr(e,a);else for(var s=0;s<e.length;++s)n=n.concat(e[s].map((function(e){return{v:e}})));var i="string"==typeof t?kr(t,a).map((function(e){return e.v})):t,o=0,c=0;if(i.length>0)for(var l=0;l!==n.length;l+=2){switch(c=+n[l+1].v,n[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=i.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=i.slice(o,o+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(o,o+c);break}o+=c}}function ws(e,t,r){var a={};return t||(t={}),e=dr(e),bs.forEach((function(r){var n=(e.match(mr(r[0]))||[])[1];switch(r[2]){case"string":n&&(t[r[1]]=qt(n));break;case"bool":t[r[1]]="true"===n;break;case"raw":var s=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));s&&s.length>0&&(a[r[1]]=s[1]);break}})),a.HeadingPairs&&a.TitlesOfParts&&gs(a.HeadingPairs,a.TitlesOfParts,t,r),t}function ks(e){var t=[],r=Sr;return e||(e={}),e.Application="SheetJS",t[t.length]=Ht,t[t.length]=Sr("Properties",null,{xmlns:Rr.EXT_PROPS,"xmlns:vt":Rr.vt}),bs.forEach((function(a){if(void 0!==e[a[1]]){var n;switch(a[2]){case"string":n=tr(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break}void 0!==n&&(t[t.length]=r(a[0],n))}})),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>"+tr(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Ts=/<[^>]+>[^<]*/g;function Es(e,t){var r={},a="",n=e.match(Ts);if(n)for(var s=0;s!=n.length;++s){var i=n[s],o=Yt(i);switch(o[0]){case"<?xml":break;case"<Properties":break;case"<property":a=qt(o.name);break;case"</property>":a=null;break;default:if(0===i.indexOf("<vt:")){var c=i.split(">"),l=c[0].slice(4),f=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":r[a]=qt(f);break;case"bool":r[a]=cr(f);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[a]=parseInt(f,10);break;case"r4":case"r8":case"decimal":r[a]=parseFloat(f);break;case"filetime":case"date":r[a]=kt(f);break;case"cy":case"error":r[a]=qt(f);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",i,l,c)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}function ys(e){var t=[Ht,Sr("Properties",null,{xmlns:Rr.CUST_PROPS,"xmlns:vt":Rr.vt})];if(!e)return t.join("");var r=1;return st(e).forEach((function(a){++r,t[t.length]=Sr("property",xr(e[a],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:tr(a)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Ss,_s={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 xs(e,t,r){Ss||(Ss=ot(_s)),t=Ss[t]||t,e[t]=r}function As(e,t){var r=[];return st(_s).map((function(e){for(var t=0;t<hs.length;++t)if(hs[t][1]==e)return hs[t];for(t=0;t<bs.length;++t)if(bs[t][1]==e)return bs[t];throw e})).forEach((function(a){if(null!=e[a[1]]){var n=t&&t.Props&&null!=t.Props[a[1]]?t.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break}"number"==typeof n?n=String(n):!0===n||!1===n?n=n?"1":"0":n instanceof Date&&(n=new Date(n).toISOString().replace(/\.\d*Z/,"")),r.push(Er(_s[a[1]]||a[1],n))}})),Sr("DocumentProperties",r.join(""),{xmlns:Or.o})}function Cs(e,t){var r=["Worksheets","SheetNames"],a="CustomDocumentProperties",n=[];return e&&st(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var a=0;a<hs.length;++a)if(t==hs[a][1])return;for(a=0;a<bs.length;++a)if(t==bs[a][1])return;for(a=0;a<r.length;++a)if(t==r[a])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),n.push(Sr(rr(t),s,{"dt:dt":i}))}})),t&&st(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var a=t[r],s="string";"number"==typeof a?(s="float",a=String(a)):!0===a||!1===a?(s="boolean",a=a?"1":"0"):a instanceof Date?(s="dateTime.tz",a=a.toISOString()):a=String(a),n.push(Sr(rr(r),a,{"dt:dt":s}))}})),"<"+a+' xmlns="'+Or.o+'">'+n.join("")+"</"+a+">"}function Rs(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Is(e){var t="string"==typeof e?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,a=r%Math.pow(2,32),n=(r-a)/Math.pow(2,32);a*=1e7,n*=1e7;var s=a/Math.pow(2,32)|0;s>0&&(a%=Math.pow(2,32),n+=s);var i=ba(8);return i.write_shift(4,a),i.write_shift(4,n),i}function Os(e,t,r){var a=e.l,n=e.read_shift(0,"lpstr-cp");if(r)while(e.l-a&3)++e.l;return n}function Ns(e,t,r){var a=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(a.length+1&3)&3),a}function Ds(e,t,r){return 31===t?Ns(e):Os(e,t,r)}function Fs(e,t,r){return Ds(e,t,!1===r?0:4)}function Ps(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Ds(e,t,0)}function Ms(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a){var n=e.l;r[a]=e.read_shift(0,"lpwstr").replace(M,""),e.l-n&2&&(e.l+=2)}return r}function Ls(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a)r[a]=e.read_shift(0,"lpstr-cp").replace(M,"");return r}function Us(e){var t=e.l,r=Vs(e,Ln);0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2);var a=Vs(e,An);return[r,a]}function Bs(e){for(var t=e.read_shift(4),r=[],a=0;a<t/2;++a)r.push(Us(e));return r}function Ws(e,t){for(var r=e.read_shift(4),a={},n=0;n!=r;++n){var s=e.read_shift(4),i=e.read_shift(4);a[s]=e.read_shift(i,1200===t?"utf16le":"utf8").replace(M,"").replace(L,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),a}function Hs(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function zs(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Vs(e,t,r){var a,n=e.read_shift(2),s=r||{};if(e.l+=2,t!==Rn&&n!==t&&-1===Un.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&n)))throw new Error("Expected type "+t+" saw "+n);switch(t===Rn?n:t){case 2:return a=e.read_shift(2,"i"),s.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i"),a;case 11:return 0!==e.read_shift(4);case 19:return a=e.read_shift(4),a;case 30:return Os(e,n,4).replace(M,"");case 31:return Ns(e);case 64:return Rs(e);case 65:return Hs(e);case 71:return zs(e);case 80:return Fs(e,n,!s.raw).replace(M,"");case 81:return Ps(e,n).replace(M,"");case 4108:return Bs(e);case 4126:case 4127:return 4127==n?Ms(e):Ls(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function js(e,t){var r=ba(4),a=ba(4);switch(r.write_shift(4,80==e?31:e),e){case 3:a.write_shift(-4,t);break;case 5:a=ba(8),a.write_shift(8,t,"f");break;case 11:a.write_shift(4,t?1:0);break;case 64:a=Is(t);break;case 31:case 80:a=ba(4+2*(t.length+1)+(t.length%2?0:2)),a.write_shift(4,t.length+1),a.write_shift(0,t,"dbcs");while(a.l!=a.length)a.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return F([r,a])}function Gs(e,t){var r=e.l,a=e.read_shift(4),n=e.read_shift(4),s=[],i=0,o=0,c=-1,l={};for(i=0;i!=n;++i){var h=e.read_shift(4),u=e.read_shift(4);s[i]=[h,u+r]}s.sort((function(e,t){return e[1]-t[1]}));var d={};for(i=0;i!=n;++i){if(e.l!==s[i][1]){var p=!0;if(i>0&&t)switch(t[s[i-1][0]].t){case 2:e.l+2===s[i][1]&&(e.l+=2,p=!1);break;case 80:e.l<=s[i][1]&&(e.l=s[i][1],p=!1);break;case 4108:e.l<=s[i][1]&&(e.l=s[i][1],p=!1);break}if((!t||0==i)&&e.l<=s[i][1]&&(p=!1,e.l=s[i][1]),p)throw new Error("Read Error: Expected address "+s[i][1]+" at "+e.l+" :"+i)}if(t){var m=t[s[i][0]];if(d[m.n]=Vs(e,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:f(o=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===s[i][0]){if(o=d.CodePage=Vs(e,xn),f(o),-1!==c){var b=e.l;e.l=s[c][1],l=Ws(e,o),e.l=b}}else if(0===s[i][0]){if(0===o){c=i,e.l=s[i+1][1];continue}l=Ws(e,o)}else{var v,g=l[s[i][0]];switch(e[e.l]){case 65:e.l+=4,v=Hs(e);break;case 30:e.l+=4,v=Fs(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,v=Fs(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e.read_shift(4,"i");break;case 19:e.l+=4,v=e.read_shift(4);break;case 5:e.l+=4,v=e.read_shift(8,"f");break;case 11:e.l+=4,v=ei(e,4);break;case 64:e.l+=4,v=kt(Rs(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[g]=v}}return e.l=r+a,d}var $s=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Xs(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 Ys(e,t,r){var a=ba(8),n=[],s=[],i=8,o=0,c=ba(8),l=ba(8);if(c.write_shift(4,2),c.write_shift(4,1200),l.write_shift(4,1),s.push(c),n.push(l),i+=8+c.length,!t){l=ba(8),l.write_shift(4,0),n.unshift(l);var f=[ba(4)];for(f[0].write_shift(4,e.length),o=0;o<e.length;++o){var h=e[o][0];c=ba(8+2*(h.length+1)+(h.length%2?0:2)),c.write_shift(4,o+2),c.write_shift(4,h.length+1),c.write_shift(0,h,"dbcs");while(c.l!=c.length)c.write_shift(1,0);f.push(c)}c=F(f),s.unshift(c),i+=8+c.length}for(o=0;o<e.length;++o)if((!t||t[e[o][0]])&&!($s.indexOf(e[o][0])>-1||vs.indexOf(e[o][0])>-1)&&null!=e[o][1]){var u=e[o][1],d=0;if(t){d=+t[e[o][0]];var p=r[d];if("version"==p.p&&"string"==typeof u){var m=u.split(".");u=(+m[0]<<16)+(+m[1]||0)}c=js(p.t,u)}else{var b=Xs(u);-1==b&&(b=31,u=String(u)),c=js(b,u)}s.push(c),l=ba(8),l.write_shift(4,t?d:2+o),n.push(l),i+=8+c.length}var v=8*(s.length+1);for(o=0;o<s.length;++o)n[o].write_shift(4,v),v+=s[o].length;return a.write_shift(4,i),a.write_shift(4,s.length),F([a].concat(n).concat(s))}function Ks(e,t,r){var a=e.content;if(!a)return{};pa(a,0);var n,s,i,o,c=0;a.chk("feff","Byte Order: "),a.read_shift(2);var l=a.read_shift(4),f=a.read_shift(16);if(f!==Qe.utils.consts.HEADER_CLSID&&f!==r)throw new Error("Bad PropertySet CLSID "+f);if(n=a.read_shift(4),1!==n&&2!==n)throw new Error("Unrecognized #Sets: "+n);if(s=a.read_shift(16),o=a.read_shift(4),1===n&&o!==a.l)throw new Error("Length mismatch: "+o+" !== "+a.l);2===n&&(i=a.read_shift(16),c=a.read_shift(4));var h,u=Gs(a,t),d={SystemIdentifier:l};for(var p in u)d[p]=u[p];if(d.FMTID=s,1===n)return d;if(c-a.l==2&&(a.l+=2),a.l!==c)throw new Error("Length mismatch 2: "+a.l+" !== "+c);try{h=Gs(a,null)}catch(m){}for(p in h)d[p]=h[p];return d.FMTID=[s,i],d}function Js(e,t,r,a,n,s){var i=ba(n?68:48),o=[i];i.write_shift(2,65534),i.write_shift(2,0),i.write_shift(4,842412599),i.write_shift(16,Qe.utils.consts.HEADER_CLSID,"hex"),i.write_shift(4,n?2:1),i.write_shift(16,t,"hex"),i.write_shift(4,n?68:48);var c=Ys(e,r,a);if(o.push(c),n){var l=Ys(n,null,null);i.write_shift(16,s,"hex"),i.write_shift(4,68+c.length),o.push(l)}return F(o)}function Zs(e,t){return e.read_shift(t),null}function qs(e,t){t||(t=ba(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Qs(e,t,r){var a=[],n=e.l+t;while(e.l<n)a.push(r(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function ei(e,t){return 1===e.read_shift(t)}function ti(e,t){return t||(t=ba(2)),t.write_shift(2,+!!e),t}function ri(e){return e.read_shift(2,"u")}function ai(e,t){return t||(t=ba(2)),t.write_shift(2,e),t}function ni(e,t){return Qs(e,t,ri)}function si(e){var t=e.read_shift(1),r=e.read_shift(1);return 1===r?t:1===t}function ii(e,t,r){return r||(r=ba(2)),r.write_shift(1,"e"==t?+e:+!!e),r.write_shift(1,"e"==t?1:0),r}function oi(e,t,r){var a=e.read_shift(r&&r.biff>=12?2:1),s="sbcs-cont",i=n;if(r&&r.biff>=8&&(n=1200),r&&8!=r.biff)12==r.biff&&(s="wstr");else{var o=e.read_shift(1);o&&(s="dbcs-cont")}r.biff>=2&&r.biff<=5&&(s="cpstr");var c=a?e.read_shift(a,s):"";return n=i,c}function ci(e){var t=n;n=1200;var r,a=e.read_shift(2),s=e.read_shift(1),i=4&s,o=8&s,c=1+(1&s),l=0,f={};o&&(l=e.read_shift(2)),i&&(r=e.read_shift(4));var h=2==c?"dbcs-cont":"sbcs-cont",u=0===a?"":e.read_shift(a,h);return o&&(e.l+=4*l),i&&(e.l+=r),f.t=u,o||(f.raw="<t>"+f.t+"</t>",f.r=f.t),n=t,f}function li(e){var t=e.t||"",r=1,a=ba(3+(r>1?2:0));a.write_shift(2,t.length),a.write_shift(1,1|(r>1?8:0)),r>1&&a.write_shift(2,r);var n=ba(2*t.length);n.write_shift(2*t.length,t,"utf16le");var s=[a,n];return F(s)}function fi(e,t,r){var a;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 n=e.read_shift(1);return a=0===n?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),a}function hi(e,t,r){var a=e.read_shift(r&&2==r.biff?1:2);return 0===a?(e.l++,""):fi(e,a,r)}function ui(e,t,r){if(r.biff>5)return hi(e,t,r);var a=e.read_shift(1);return 0===a?(e.l++,""):e.read_shift(a,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function di(e,t,r){return r||(r=ba(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function pi(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function mi(e){var t=e.read_shift(4),r=e.l,a=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(a=!0),e.l=r);var n=e.read_shift((a?t-24:t)>>1,"utf16le").replace(M,"");return a&&(e.l+=24),n}function bi(e){var t=e.read_shift(2),r="";while(t-- >0)r+="../";var a=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");var n=e.read_shift(4);if(0===n)return r+a.replace(/\\/g,"/");var s=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");var i=e.read_shift(s>>1,"utf16le").replace(M,"");return r+i}function vi(e,t){var r=e.read_shift(16);switch(t-=16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return mi(e,t);case"0303000000000000c000000000000046":return bi(e,t);default:throw new Error("Unsupported Moniker "+r)}}function gi(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(M,""):"";return r}function wi(e,t){t||(t=ba(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 ki(e,t){var r=e.l+t,a=e.read_shift(4);if(2!==a)throw new Error("Unrecognized streamVersion: "+a);var n=e.read_shift(2);e.l+=2;var s,i,o,c,l,f,h="";16&n&&(s=gi(e,r-e.l)),128&n&&(i=gi(e,r-e.l)),257===(257&n)&&(o=gi(e,r-e.l)),1===(257&n)&&(c=vi(e,r-e.l)),8&n&&(h=gi(e,r-e.l)),32&n&&(l=e.read_shift(16)),64&n&&(f=Rs(e)),e.l=r;var u=i||o||c||"";u&&h&&(u+="#"+h),u||(u="#"+h),2&n&&"/"==u.charAt(0)&&"/"!=u.charAt(1)&&(u="file://"+u);var d={Target:u};return l&&(d.guid=l),f&&(d.time=f),s&&(d.Tooltip=s),d}function Ti(e){var t=ba(512),r=0,a=e.Target;"file://"==a.slice(0,7)&&(a=a.slice(7));var n=a.indexOf("#"),s=n>-1?31:23;switch(a.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)a=a.slice(1),wi(a,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 o=n>-1?a.slice(0,n):a;for(t.write_shift(4,2*(o.length+1)),r=0;r<o.length;++r)t.write_shift(2,o.charCodeAt(r));t.write_shift(2,0),8&s&&wi(n>-1?a.slice(n+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 c=0;while("../"==a.slice(3*c,3*c+3)||"..\\"==a.slice(3*c,3*c+3))++c;for(t.write_shift(2,c),t.write_shift(4,a.length-3*c+1),r=0;r<a.length-3*c;++r)t.write_shift(1,255&a.charCodeAt(r+3*c));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 Ei(e){var t=e.read_shift(1),r=e.read_shift(1),a=e.read_shift(1),n=e.read_shift(1);return[t,r,a,n]}function yi(e,t){var r=Ei(e,t);return r[3]=0,r}function Si(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return{r:t,c:r,ixfe:a}}function _i(e,t,r,a){return a||(a=ba(6)),a.write_shift(2,e),a.write_shift(2,t),a.write_shift(2,r||0),a}function xi(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}function Ai(e,t,r){return 0===t?"":ui(e,t,r)}function Ci(e,t,r){var a=r.biff>8?4:2,n=e.read_shift(a),s=e.read_shift(a,"i"),i=e.read_shift(a,"i");return[n,s,i]}function Ri(e){var t=e.read_shift(2),r=hn(e);return[t,r]}function Ii(e,t,r){e.l+=4,t-=4;var a=e.l+t,n=oi(e,t,r),s=e.read_shift(2);if(a-=e.l,s!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+s);return e.l+=s,n}function Oi(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2);return{s:{c:a,r:t},e:{c:n,r:r}}}function Ni(e,t){return t||(t=ba(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 Di(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(1),n=e.read_shift(1);return{s:{c:a,r:t},e:{c:n,r:r}}}var Fi=Di;function Pi(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return e.l+=12,[r,t,a]}function Mi(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Li(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function Ui(e){e.l+=2,e.l+=e.read_shift(2)}var Bi={0:Ui,4:Ui,5:Ui,6:Ui,7:Li,8:Ui,9:Ui,10:Ui,11:Ui,12:Ui,13:Mi,14:Ui,15:Ui,16:Ui,17:Ui,18:Ui,19:Ui,20:Ui,21:Pi};function Wi(e,t){var r=e.l+t,a=[];while(e.l<r){var n=e.read_shift(2);e.l-=2;try{a.push(Bi[n](e,r-e.l))}catch(s){return e.l=r,a}}return e.l!=r&&(e.l=r),a}function Hi(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),t-=2,t>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function zi(e,t,r){var a=1536,n=16;switch(r.bookType){case"biff8":break;case"biff5":a=1280,n=8;break;case"biff4":a=4,n=6;break;case"biff3":a=3,n=6;break;case"biff2":a=2,n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var s=ba(n);return s.write_shift(2,a),s.write_shift(2,t),n>4&&s.write_shift(2,29282),n>6&&s.write_shift(2,1997),n>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function Vi(e,t){return 0===t||e.read_shift(2),1200}function ji(e,t,r){if(r.enc)return e.l+=t,"";var a=e.l,n=ui(e,0,r);return e.read_shift(t+a-e.l),n}function Gi(e,t){var r=!t||8==t.biff,a=ba(r?112:54);a.write_shift(8==t.biff?2:1,7),r&&a.write_shift(1,0),a.write_shift(4,859007059),a.write_shift(4,5458548|(r?0:536870912));while(a.l<a.length)a.write_shift(1,r?0:32);return a}function $i(e,t,r){var a=r&&8==r.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&a,fBelow:64&a,fRight:128&a}}function Xi(e,t,r){var a=e.read_shift(4),n=3&e.read_shift(1),s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break}var i=oi(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:a,hs:n,dt:s,name:i}}function Yi(e,t){var r=!t||t.biff>=8?2:1,a=ba(8+r*e.name.length);a.write_shift(4,e.pos),a.write_shift(1,e.hs||0),a.write_shift(1,e.dt),a.write_shift(1,e.name.length),t.biff>=8&&a.write_shift(1,1),a.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);return n.l=a.l,n}function Ki(e,t){for(var r=e.l+t,a=e.read_shift(4),n=e.read_shift(4),s=[],i=0;i!=n&&e.l<r;++i)s.push(ci(e));return s.Count=a,s.Unique=n,s}function Ji(e,t){var r=ba(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var a=[],n=0;n<e.length;++n)a[n]=li(e[n],t);var s=F([r].concat(a));return s.parts=[r.length].concat(a.map((function(e){return e.length}))),s}function Zi(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}function qi(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var a=e.read_shift(1);return e.l+=3,7&a&&(t.level=7&a),32&a&&(t.hidden=!0),64&a&&(t.hpt=r/20),t}function Qi(e){var t=xi(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);var r=e.read_shift(4);return 0!==r}function eo(e){return e.read_shift(2),e.read_shift(4)}function to(e,t,r){var a=0;r&&2==r.biff||(a=e.read_shift(2));var n=e.read_shift(2);r&&2==r.biff&&(a=1-(n>>15),n&=32767);var s={Unsynced:1&a,DyZero:(2&a)>>1,ExAsc:(4&a)>>2,ExDsc:(8&a)>>3};return[s,n]}function ro(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),c=e.read_shift(2),l=e.read_shift(2);return{Pos:[t,r],Dim:[a,n],Flags:s,CurTab:i,FirstTab:o,Selected:c,TabRatio:l}}function ao(){var e=ba(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 no(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var a=e.read_shift(2);return{RTL:64&a}}function so(e){var t=ba(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 io(){}function oo(e,t,r){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return a.name=oi(e,0,r),a}function co(e,t){var r=e.name||"Arial",a=t&&5==t.biff,n=a?15+r.length:16+2*r.length,s=ba(n);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),a||s.write_shift(1,1),s.write_shift((a?1:2)*r.length,r,a?"sbcs":"utf16le"),s}function lo(e){var t=Si(e);return t.isst=e.read_shift(4),t}function fo(e,t,r,a){var n=ba(10);return _i(e,t,a,n),n.write_shift(4,r),n}function ho(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var a=e.l+t,n=Si(e,6);2==r.biff&&e.l++;var s=hi(e,a-e.l,r);return n.val=s,n}function uo(e,t,r,a,n){var s=!n||8==n.biff,i=ba(+s+8+(1+s)*r.length);return _i(e,t,a,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 po(e,t,r){var a=e.read_shift(2),n=ui(e,0,r);return[a,n]}function mo(e,t,r,a){var n=r&&5==r.biff;a||(a=ba(n?3+t.length:5+2*t.length)),a.write_shift(2,e),a.write_shift(n?1:2,t.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*t.length,t,n?"sbcs":"utf16le");var s=a.length>a.l?a.slice(0,a.l):a;return null==s.l&&(s.l=s.length),s}var bo=ui;function vo(e,t,r){var a=e.l+t,n=8!=r.biff&&r.biff?2:4,s=e.read_shift(n),i=e.read_shift(n),o=e.read_shift(2),c=e.read_shift(2);return e.l=a,{s:{r:s,c:o},e:{r:i,c:c}}}function go(e,t){var r=8!=t.biff&&t.biff?2:4,a=ba(2*r+6);return a.write_shift(r,e.s.r),a.write_shift(r,e.e.r+1),a.write_shift(2,e.s.c),a.write_shift(2,e.e.c+1),a.write_shift(2,0),a}function wo(e){var t=e.read_shift(2),r=e.read_shift(2),a=Ri(e);return{r:t,c:r,ixfe:a[0],rknum:a[1]}}function ko(e,t){var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),s=[];while(e.l<r)s.push(Ri(e));if(e.l!==r)throw new Error("MulRK read error");var i=e.read_shift(2);if(s.length!=i-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:i,rkrec:s}}function To(e,t){var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),s=[];while(e.l<r)s.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e.read_shift(2);if(s.length!=i-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:i,ixfe:s}}function Eo(e,t,r,a){var n={},s=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return n.patternType=zn[o>>26],a.cellStyles?(n.alc=7&s,n.fWrap=s>>3&1,n.alcV=s>>4&7,n.fJustLast=s>>7&1,n.trot=s>>8&255,n.cIndent=s>>16&15,n.fShrinkToFit=s>>20&1,n.iReadOrder=s>>22&2,n.fAtrNum=s>>26&1,n.fAtrFnt=s>>27&1,n.fAtrAlc=s>>28&1,n.fAtrBdr=s>>29&1,n.fAtrPat=s>>30&1,n.fAtrProt=s>>31&1,n.dgLeft=15&i,n.dgRight=i>>4&15,n.dgTop=i>>8&15,n.dgBottom=i>>12&15,n.icvLeft=i>>16&127,n.icvRight=i>>23&127,n.grbitDiag=i>>30&3,n.icvTop=127&o,n.icvBottom=o>>7&127,n.icvDiag=o>>14&127,n.dgDiag=o>>21&15,n.icvFore=127&c,n.icvBack=c>>7&127,n.fsxButton=c>>14&1,n):n}function yo(e,t,r){var a={};return a.ifnt=e.read_shift(2),a.numFmtId=e.read_shift(2),a.flags=e.read_shift(2),a.fStyle=a.flags>>2&1,t-=6,a.data=Eo(e,t,a.fStyle,r),a}function So(e,t,r,a){var n=r&&5==r.biff;a||(a=ba(n?16:20)),a.write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,t<<4));var s=0;return e.numFmtId>0&&n&&(s|=1024),a.write_shift(4,s),a.write_shift(4,0),n||a.write_shift(4,0),a.write_shift(2,0),a}function _o(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function xo(e){var t=ba(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 Ao(e,t,r){var a=Si(e,6);2!=r.biff&&9!=t||++e.l;var n=si(e,2);return a.val=n,a.t=!0===n||!1===n?"b":"e",a}function Co(e,t,r,a,n,s){var i=ba(8);return _i(e,t,a,i),ii(r,s,i),i}function Ro(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var a=Si(e,6),n=vn(e,8);return a.val=n,a}function Io(e,t,r,a){var n=ba(14);return _i(e,t,a,n),gn(r,n),n}var Oo=Ai;function No(e,t,r){var a=e.l+t,n=e.read_shift(2),s=e.read_shift(2);if(r.sbcch=s,1025==s||14849==s)return[s,n];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);var i=fi(e,s),o=[];while(a>e.l)o.push(hi(e));return[s,n,i,o]}function Do(e,t,r){var a,n=e.read_shift(2),s={fBuiltIn:1&n,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return 14849===r.sbcch&&(a=Ii(e,t-2,r)),s.body=a||e.read_shift(t-2),"string"===typeof a&&(s.Name=a),s}var Fo=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Po(e,t,r){var a=e.l+t,n=e.read_shift(2),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var l=fi(e,i,r);32&n&&(l=Fo[l.charCodeAt(0)]);var f=a-e.l;r&&2==r.biff&&--f;var h=a!=e.l&&0!==o&&f>0?ud(e,f,r,o):[];return{chKey:s,Name:l,itab:c,rgce:h}}function Mo(e,t,r){if(r.biff<8)return Lo(e,t,r);var a=[],n=e.l+t,s=e.read_shift(r.biff>8?4:2);while(0!==s--)a.push(Ci(e,r.biff>8?12:6,r));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function Lo(e,t,r){3==e[e.l+1]&&e[e.l]++;var a=oi(e,t,r);return 3==a.charCodeAt(0)?a.slice(1):a}function Uo(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),s=fi(e,a,r),i=fi(e,n,r);return[s,i]}e.l+=t}function Bo(e,t,r){var a=Di(e,6);e.l++;var n=e.read_shift(1);return t-=8,[dd(e,t,r),n,a]}function Wo(e,t,r){var a=Fi(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[a,fd(e,t,r,a)]}function Ho(e){var t=0!==e.read_shift(4),r=0!==e.read_shift(4),a=e.read_shift(4);return[t,r,a]}function zo(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=ui(e,0,r);return r.biff<8&&e.read_shift(1),[{r:a,c:n},o,i,s]}}function Vo(e,t,r){return zo(e,t,r)}function jo(e,t){var r=[],a=e.read_shift(2);while(a--)r.push(Oi(e,t));return r}function Go(e){var t=ba(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)Ni(e[r],t);return t}function $o(e,t,r){if(r&&r.biff<8)return Yo(e,t,r);var a=Pi(e,22),n=Wi(e,t-22,a[1]);return{cmo:a,ft:n}}var Xo={8:function(e,t){var r=e.l+t;e.l+=10;var a=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var n=e.read_shift(1);return e.l+=n,e.l=r,{fmt:a}}};function Yo(e,t,r){e.l+=4;var a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((Xo[a]||ma)(e,t,r)),{cmo:[n,a,s],ft:i}}function Ko(e,t,r){var a=e.l,n="";try{e.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(s)?e.l+=6:pi(e,6,r);var i=e.read_shift(2);e.read_shift(2),ri(e,2);var o=e.read_shift(2);e.l+=o;for(var c=1;c<e.lens.length-1;++c){if(e.l-a!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l],f=fi(e,e.lens[c+1]-e.lens[c]-1);if(n+=f,n.length>=(l?i:2*i))break}if(n.length!==i&&n.length!==2*i)throw new Error("cchText: "+i+" != "+n.length);return e.l=a+t,{t:n}}catch(h){return e.l=a+t,{t:n}}}function Jo(e,t){var r=Oi(e,8);e.l+=16;var a=ki(e,t-24);return[r,a]}function Zo(e){var t=ba(24),r=Da(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 a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<16;++n)t.write_shift(1,parseInt(a[n],16));return F([t,Ti(e[1])])}function qo(e,t){e.read_shift(2);var r=Oi(e,8),a=e.read_shift((t-10)/2,"dbcs-cont");return a=a.replace(M,""),[r,a]}function Qo(e){var t=e[1].Tooltip,r=ba(10+2*(t.length+1));r.write_shift(2,2048);var a=Da(e[0]);r.write_shift(2,a.r),r.write_shift(2,a.r),r.write_shift(2,a.c),r.write_shift(2,a.c);for(var n=0;n<t.length;++n)r.write_shift(2,t.charCodeAt(n));return r.write_shift(2,0),r}function ec(e){var t,r=[0,0];return t=e.read_shift(2),r[0]=Hn[t]||t,t=e.read_shift(2),r[1]=Hn[t]||t,r}function tc(e){return e||(e=ba(4)),e.write_shift(2,1),e.write_shift(2,1),e}function rc(e){var t=e.read_shift(2),r=[];while(t-- >0)r.push(yi(e,8));return r}function ac(e){var t=e.read_shift(2),r=[];while(t-- >0)r.push(yi(e,8));return r}function nc(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function sc(e,t,r){if(!r.cellStyles)return ma(e,t);var a=r&&r.biff>=12?4:2,n=e.read_shift(a),s=e.read_shift(a),i=e.read_shift(a),o=e.read_shift(a),c=e.read_shift(2);2==a&&(e.l+=2);var l={s:n,e:s,w:i,ixfe:o,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}function ic(e,t){var r=ba(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var a=0;return e.hidden&&(a|=1),r.write_shift(1,a),a=e.level||0,r.write_shift(1,a),r.write_shift(2,0),r}function oc(e,t){var r={};return t<32||(e.l+=16,r.header=vn(e,8),r.footer=vn(e,8),e.l+=2),r}function cc(e,t,r){var a={area:!1};if(5!=r.biff)return e.l+=t,a;var n=e.read_shift(1);return e.l+=3,16&n&&(a.area=!0),a}function lc(e){for(var t=ba(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}var fc=Si,hc=ni,uc=hi;function dc(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n={fmt:t,env:r,len:a,data:e.slice(e.l,e.l+a)};return e.l+=a,n}function pc(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var a=Si(e,6);++e.l;var n=ui(e,t-7,r);return a.t="str",a.val=n,a}function mc(e){var t=Si(e,6);++e.l;var r=vn(e,8);return t.t="n",t.val=r,t}function bc(e,t,r){var a=ba(15);return wv(a,e,t),a.write_shift(8,r,"f"),a}function vc(e){var t=Si(e,6);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}function gc(e,t,r){var a=ba(9);return wv(a,e,t),a.write_shift(2,r),a}function wc(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function kc(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function Tc(e,t,r){var a=e.l+t,n=Si(e,6),s=e.read_shift(2),i=fi(e,s,r);return e.l=a,n.t="str",n.val=i,n}var Ec=[2,3,48,49,131,139,140,245],yc=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=ot({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 a=[],n=A(1);switch(r.type){case"base64":n=R(S(t));break;case"binary":n=R(t);break;case"buffer":case"array":n=t;break}pa(n,0);var s=n.read_shift(1),i=!!(136&s),o=!1,c=!1;switch(s){case 2:break;case 3:break;case 48:o=!0,i=!0;break;case 49:o=!0,i=!0;break;case 131:break;case 139:break;case 140:c=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16))}var l=0,f=521;2==s&&(l=n.read_shift(2)),n.l+=3,2!=s&&(l=n.read_shift(4)),l>1048576&&(l=1e6),2!=s&&(f=n.read_shift(2));var h=n.read_shift(2),u=r.codepage||1252;2!=s&&(n.l+=16,n.read_shift(1),0!==n[n.l]&&(u=e[n[n.l]]),n.l+=1,n.l+=2),c&&(n.l+=36);var d=[],p={},b=Math.min(n.length,2==s?521:f-10-(o?264:0)),v=c?32:11;while(n.l<b&&13!=n[n.l])switch(p={},p.name=m.utils.decode(u,n.slice(n.l,n.l+v)).replace(/[\u0000\r\n].*$/g,""),n.l+=v,p.type=String.fromCharCode(n.read_shift(1)),2==s||c||(p.offset=n.read_shift(4)),p.len=n.read_shift(1),2==s&&(p.offset=n.read_shift(2)),p.dec=n.read_shift(1),p.name.length&&d.push(p),2!=s&&(n.l+=c?13:14),p.type){case"B":o&&8==p.len||!r.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+p.name+":"+p.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: "+p.type)}if(13!==n[n.l]&&(n.l=f-1),13!==n.read_shift(1))throw new Error("DBF Terminator not found "+n.l+" "+n[n.l]);n.l=f;var g=0,w=0;for(a[0]=[],w=0;w!=d.length;++w)a[0][w]=d[w].name;while(l-- >0)if(42!==n[n.l])for(++n.l,a[++g]=[],w=0,w=0;w!=d.length;++w){var k=n.slice(n.l,n.l+d[w].len);n.l+=d[w].len,pa(k,0);var T=m.utils.decode(u,k);switch(d[w].type){case"C":T.trim().length&&(a[g][w]=T.replace(/\s+$/,""));break;case"D":8===T.length?a[g][w]=new Date(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8)):a[g][w]=T;break;case"F":a[g][w]=parseFloat(T.trim());break;case"+":case"I":a[g][w]=c?2147483648^k.read_shift(-4,"i"):k.read_shift(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":case"T":a[g][w]=!0;break;case"N":case"F":a[g][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));a[g][w]="##MEMO##"+(c?parseInt(T.trim(),10):k.read_shift(4));break;case"N":T=T.replace(/\u0000/g,"").trim(),T&&"."!=T&&(a[g][w]=+T||0);break;case"@":a[g][w]=new Date(k.read_shift(-8,"f")-621356832e5);break;case"T":a[g][w]=new Date(864e5*(k.read_shift(4)-2440588)+k.read_shift(4));break;case"Y":a[g][w]=k.read_shift(4,"i")/1e4+k.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":a[g][w]=-k.read_shift(-8,"f");break;case"B":if(o&&8==d[w].len){a[g][w]=k.read_shift(8,"f");break}case"G":case"P":k.l+=d[w].len;break;case"0":if("_NullFlags"===d[w].name)break;default:throw new Error("DBF Unsupported data type "+d[w].type)}}else n.l+=h;if(2!=s&&n.l<n.length&&26!=n[n.l++])throw new Error("DBF EOF Marker missing "+(n.l-1)+" of "+n.length+" "+n[n.l-1].toString(16));return r&&r.sheetRows&&(a=a.slice(0,r.sheetRows)),r.DBF=d,a}function a(e,t){var a=t||{};a.dateNF||(a.dateNF="yyyymmdd");var n=za(r(e,a),a);return n["!cols"]=a.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete a.DBF,n}function n(e,t){try{return Wa(a(e,t),t)}catch(r){if(t&&t.WTF)throw r}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function o(e,r){var a=r||{};if(+a.codepage>=0&&f(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var n=ga(),o=kw(e,{header:1,raw:!0,cellDates:!0}),c=o[0],l=o.slice(1),h=e["!cols"]||[],u=0,d=0,p=0,m=1;for(u=0;u<c.length;++u)if(((h[u]||{}).DBF||{}).name)c[u]=h[u].DBF.name,++p;else if(null!=c[u]){if(++p,"number"===typeof c[u]&&(c[u]=c[u].toString(10)),"string"!==typeof c[u])throw new Error("DBF Invalid column name "+c[u]+" |"+typeof c[u]+"|");if(c.indexOf(c[u])!==u)for(d=0;d<1024;++d)if(-1==c.indexOf(c[u]+"_"+d)){c[u]+="_"+d;break}}var b=La(e["!ref"]),v=[],g=[],w=[];for(u=0;u<=b.e.c-b.s.c;++u){var k="",T="",E=0,y=[];for(d=0;d<l.length;++d)null!=l[d][u]&&y.push(l[d][u]);if(0!=y.length&&null!=c[u]){for(d=0;d<y.length;++d){switch(typeof y[d]){case"number":T="B";break;case"string":T="C";break;case"boolean":T="L";break;case"object":T=y[d]instanceof Date?"D":"C";break;default:T="C"}E=Math.max(E,String(y[d]).length),k=k&&k!=T?"C":T}E>250&&(E=250),T=((h[u]||{}).DBF||{}).type,"C"==T&&h[u].DBF.len>E&&(E=h[u].DBF.len),"B"==k&&"N"==T&&(k="N",w[u]=h[u].DBF.dec,E=h[u].DBF.len),g[u]="C"==k||"N"==T?E:i[k]||0,m+=g[u],v[u]=k}else v[u]="?"}var S=n.next(32);for(S.write_shift(4,318902576),S.write_shift(4,l.length),S.write_shift(2,296+32*p),S.write_shift(2,m),u=0;u<4;++u)S.write_shift(4,0);for(S.write_shift(4,0|(+t[s]||3)<<8),u=0,d=0;u<c.length;++u)if(null!=c[u]){var _=n.next(32),x=(c[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);_.write_shift(1,x,"sbcs"),_.write_shift(1,"?"==v[u]?"C":v[u],"sbcs"),_.write_shift(4,d),_.write_shift(1,g[u]||i[v[u]]||0),_.write_shift(1,w[u]||0),_.write_shift(1,2),_.write_shift(4,0),_.write_shift(1,0),_.write_shift(4,0),_.write_shift(4,0),d+=g[u]||i[v[u]]||0}var A=n.next(264);for(A.write_shift(4,13),u=0;u<65;++u)A.write_shift(4,0);for(u=0;u<l.length;++u){var C=n.next(m);for(C.write_shift(1,0),d=0;d<c.length;++d)if(null!=c[d])switch(v[d]){case"L":C.write_shift(1,null==l[u][d]?63:l[u][d]?84:70);break;case"B":C.write_shift(8,l[u][d]||0,"f");break;case"N":var R="0";for("number"==typeof l[u][d]&&(R=l[u][d].toFixed(w[d]||0)),p=0;p<g[d]-R.length;++p)C.write_shift(1,32);C.write_shift(1,R,"sbcs");break;case"D":l[u][d]?(C.write_shift(4,("0000"+l[u][d].getFullYear()).slice(-4),"sbcs"),C.write_shift(2,("00"+(l[u][d].getMonth()+1)).slice(-2),"sbcs"),C.write_shift(2,("00"+l[u][d].getDate()).slice(-2),"sbcs")):C.write_shift(8,"00000000","sbcs");break;case"C":var I=String(null!=l[u][d]?l[u][d]:"").slice(0,g[d]);for(C.write_shift(1,I,"sbcs"),p=0;p<g[d]-I.length;++p)C.write_shift(1,32);break}}return n.next(1).write_shift(1,26),n.end()}return{to_workbook:n,to_sheet:a,from_sheet:o}}(),Sc=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("+st(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var a=e[r];return"number"==typeof a?g(a):a},a=function(e,t,r){var a=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==a?e:g(a)};function n(e,t){switch(t.type){case"base64":return s(S(e),t);case"binary":return s(e,t);case"buffer":return s(_&&Buffer.isBuffer(e)?e.toString("binary"):O(e),t);case"array":return s(Tt(e),t)}throw new Error("Unrecognized type "+t.type)}function s(e,n){var s,i=e.split(/[\n\r]+/),o=-1,c=-1,l=0,h=0,u=[],d=[],p=null,b={},v=[],g=[],w=[],k=0;for(+n.codepage>=0&&f(+n.codepage);l!==i.length;++l){k=0;var T,E=i[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(t,r),y=E.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),S=y[0];if(E.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==y[1].charAt(0)&&d.push(E.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,x=!1,A=!1,C=!1,R=-1,I=-1;for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"A":break;case"X":c=parseInt(y[h].slice(1))-1,x=!0;break;case"Y":for(o=parseInt(y[h].slice(1))-1,x||(c=0),s=u.length;s<=o;++s)u[s]=[];break;case"K":T=y[h].slice(1),'"'===T.charAt(0)?T=T.slice(1,T.length-1):"TRUE"===T?T=!0:"FALSE"===T?T=!1:isNaN(St(T))?isNaN(xt(T).getDate())||(T=kt(T)):(T=St(T),null!==p&&Ue(p)&&(T=mt(T))),"undefined"!==typeof m&&"string"==typeof T&&"string"!=(n||{}).type&&(n||{}).codepage&&(T=m.utils.decode(n.codepage,T)),_=!0;break;case"E":C=!0;var O=Ch(y[h].slice(1),{r:o,c:c});u[o][c]=[u[o][c],O];break;case"S":A=!0,u[o][c]=[u[o][c],"S5S"];break;case"G":break;case"R":R=parseInt(y[h].slice(1))-1;break;case"C":I=parseInt(y[h].slice(1))-1;break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+E)}if(_&&(u[o][c]&&2==u[o][c].length?u[o][c][0]=T:u[o][c]=T,p=null),A){if(C)throw new Error("SYLK shared formula cannot have own formula");var N=R>-1&&u[R][I];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");u[o][c][1]=Oh(N[1],{r:o-R,c:c-I})}break;case"F":var D=0;for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"X":c=parseInt(y[h].slice(1))-1,++D;break;case"Y":for(o=parseInt(y[h].slice(1))-1,s=u.length;s<=o;++s)u[s]=[];break;case"M":k=parseInt(y[h].slice(1))/20;break;case"F":break;case"G":break;case"P":p=d[parseInt(y[h].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(w=y[h].slice(1).split(" "),s=parseInt(w[0],10);s<=parseInt(w[1],10);++s)k=parseInt(w[2],10),g[s-1]=0===k?{hidden:!0}:{wch:k},Nl(g[s-1]);break;case"C":c=parseInt(y[h].slice(1))-1,g[c]||(g[c]={});break;case"R":o=parseInt(y[h].slice(1))-1,v[o]||(v[o]={}),k>0?(v[o].hpt=k,v[o].hpx=Ml(k)):0===k&&(v[o].hidden=!0);break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+E)}D<1&&(p=null);break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+E)}}return v.length>0&&(b["!rows"]=v),g.length>0&&(b["!cols"]=g),n&&n.sheetRows&&(u=u.slice(0,n.sheetRows)),[u,b]}function i(e,t){var r=n(e,t),a=r[0],s=r[1],i=za(a,t);return st(s).forEach((function(e){i[e]=s[e]})),i}function o(e,t){return Wa(i(e,t),t)}function c(e,t,r,a){var n="C;Y"+(r+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0,e.f&&!e.F&&(n+=";E"+Ih(e.f,{r:r,c:a}));break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return n}function l(e,t){t.forEach((function(t,r){var a="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?a+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Al(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=Cl(t.wpx)),"number"==typeof t.wch&&(a+=Math.round(t.wch)))," "!=a.charAt(a.length-1)&&e.push(a)}))}function h(e,t){t.forEach((function(t,r){var a="F;";t.hidden?a+="M0;":t.hpt?a+="M"+20*t.hpt+";":t.hpx&&(a+="M"+20*Pl(t.hpx)+";"),a.length>2&&e.push(a+"R"+(r+1))}))}function u(e,t){var r,a=["ID;PWXL;N;E"],n=[],s=La(e["!ref"]),i=Array.isArray(e),o="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&l(a,e["!cols"]),e["!rows"]&&h(a,e["!rows"]),a.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 f=s.s.r;f<=s.e.r;++f)for(var u=s.s.c;u<=s.e.c;++u){var d=Fa({r:f,c:u});r=i?(e[f]||[])[u]:e[d],r&&(null!=r.v||r.f&&!r.F)&&n.push(c(r,e,f,u,t))}return a.join(o)+o+n.join(o)+o+"E"+o}return e["|"]=254,{to_workbook:o,to_sheet:i,from_sheet:u}}(),_c=function(){function e(e,r){switch(r.type){case"base64":return t(S(e),r);case"binary":return t(e,r);case"buffer":return t(_&&Buffer.isBuffer(e)?e.toString("binary"):O(e),r);case"array":return t(Tt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),a=-1,n=-1,s=0,i=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(a<0)){var o=r[s].trim().split(","),c=o[0],l=o[1];++s;var f=r[s]||"";while(1&(f.match(/["]/g)||[]).length&&s<r.length-1)f+="\n"+r[++s];switch(f=f.trim(),+c){case-1:if("BOT"===f){i[++a]=[],n=0;continue}if("EOD"!==f)throw new Error("Unrecognized DIF special command "+f);break;case 0:"TRUE"===f?i[a][n]=!0:"FALSE"===f?i[a][n]=!1:isNaN(St(l))?isNaN(xt(l).getDate())?i[a][n]=l:i[a][n]=kt(l):i[a][n]=St(l),++n;break;case 1:f=f.slice(1,f.length-1),f=f.replace(/""/g,'"'),T&&f&&f.match(/^=".*"$/)&&(f=f.slice(2,-1)),i[a][n++]=""!==f?f:null;break}if("EOD"===f)break}}else i[++a]=[],n=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return za(e(t,r),r)}function a(e,t){return Wa(r(e,t),t)}var n=function(){var e=function(e,t,r,a,n){e.push(t),e.push(r+","+a),e.push('"'+n.replace(/"/g,'""')+'"')},t=function(e,t,r,a){e.push(t+","+r),e.push(1==t?'"'+a.replace(/"/g,'""')+'"':a)};return function(r){var a,n=[],s=La(r["!ref"]),i=Array.isArray(r);e(n,"TABLE",0,1,"sheetjs"),e(n,"VECTORS",0,s.e.r-s.s.r+1,""),e(n,"TUPLES",0,s.e.c-s.s.c+1,""),e(n,"DATA",0,0,"");for(var o=s.s.r;o<=s.e.r;++o){t(n,-1,0,"BOT");for(var c=s.s.c;c<=s.e.c;++c){var l=Fa({r:o,c:c});if(a=i?(r[o]||[])[c]:r[l],a)switch(a.t){case"n":var f=T?a.w:a.v;f||null==a.v||(f=a.v),null==f?T&&a.f&&!a.F?t(n,1,0,"="+a.f):t(n,1,0,""):t(n,0,f,"V");break;case"b":t(n,0,a.v?1:0,a.v?"TRUE":"FALSE");break;case"s":t(n,1,0,!T||isNaN(a.v)?a.v:'="'+a.v+'"');break;case"d":a.w||(a.w=Ve(a.z||Z[14],ht(kt(a.v)))),T?t(n,0,a.w,"V"):t(n,1,0,a.w);break;default:t(n,1,0,"")}else t(n,1,0,"")}}t(n,-1,0,"EOD");var h="\r\n",u=n.join(h);return u}}();return{to_workbook:a,to_sheet:r,from_sheet:n}}(),xc=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 a=t.split("\n"),n=-1,s=-1,i=0,o=[];i!==a.length;++i){var c=a[i].trim().split(":");if("cell"===c[0]){var l=Da(c[1]);if(o.length<=l.r)for(n=o.length;n<=l.r;++n)o[n]||(o[n]=[]);switch(n=l.r,s=l.c,c[2]){case"t":o[n][s]=e(c[3]);break;case"v":o[n][s]=+c[3];break;case"vtf":var f=c[c.length-1];case"vtc":switch(c[3]){case"nl":o[n][s]=!!+c[4];break;default:o[n][s]=+c[4];break}"vtf"==c[2]&&(o[n][s]=[o[n][s],f])}}}return r&&r.sheetRows&&(o=o.slice(0,r.sheetRows)),o}function a(e,t){return za(r(e,t),t)}function n(e,t){return Wa(a(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",o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),c="--SocialCalcSpreadsheetControlSave--";function l(e){if(!e||!e["!ref"])return"";for(var r,a=[],n=[],s="",i=Pa(e["!ref"]),o=Array.isArray(e),c=i.s.r;c<=i.e.r;++c)for(var l=i.s.c;l<=i.e.c;++l)if(s=Fa({r:c,c:l}),r=o?(e[c]||[])[l]:e[s],r&&null!=r.v&&"z"!==r.t){switch(n=["cell",s,"t"],r.t){case"s":case"str":n.push(t(r.v));break;case"n":r.f?(n[2]="vtf",n[3]="n",n[4]=r.v,n[5]=t(r.f)):(n[2]="v",n[3]=r.v);break;case"b":n[2]="vt"+(r.f?"f":"c"),n[3]="nl",n[4]=r.v?"1":"0",n[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var f=ht(kt(r.v));n[2]="vtc",n[3]="nd",n[4]=""+f,n[5]=r.w||Ve(r.z||Z[14],f);break;case"e":continue}a.push(n.join(":"))}return a.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),a.push("valueformat:1:text-wiki"),a.join("\n")}function f(e){return[s,i,o,i,l(e),c].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:f}}(),Ac=function(){function e(e,t,r,a,n){n.raw?t[r][a]=e:""===e||("TRUE"===e?t[r][a]=!0:"FALSE"===e?t[r][a]=!1:isNaN(St(e))?isNaN(xt(e).getDate())?t[r][a]=e:t[r][a]=kt(e):t[r][a]=St(e))}function t(t,r){var a=r||{},n=[];if(!t||0===t.length)return n;var s=t.split(/[\r\n]/),i=s.length-1;while(i>=0&&0===s[i].length)--i;for(var o=10,c=0,l=0;l<=i;++l)c=s[l].indexOf(" "),-1==c?c=s[l].length:c++,o=Math.max(o,c);for(l=0;l<=i;++l){n[l]=[];var f=0;for(e(s[l].slice(0,o).trim(),n,l,f,a),f=1;f<=(s[l].length-o)/10+1;++f)e(s[l].slice(o+10*(f-1),o+10*f).trim(),n,l,f,a)}return a.sheetRows&&(n=n.slice(0,a.sheetRows)),n}var r={44:",",9:"\t",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(e){for(var t={},n=!1,s=0,i=0;s<e.length;++s)34==(i=e.charCodeAt(s))?n=!n:!n&&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=a,t)Object.prototype.hasOwnProperty.call(t,s)&&i.push([t[s],s]);return i.sort((function(e,t){return e[0]-t[0]||a[e[1]]-a[t[1]]})),r[i.pop()[1]]||44}function s(e,t){var r=t||{},a="";null!=k&&null==r.dense&&(r.dense=k);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)?(a=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(a=e.charAt(4),e=e.slice(6)):a=n(e.slice(0,1024)):a=r&&r.FS?r.FS:n(e.slice(0,1024));var o=0,c=0,l=0,f=0,h=0,u=a.charCodeAt(0),d=!1,p=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var b=null!=r.dateNF?Je(r.dateNF):null;function v(){var t=e.slice(f,h),a={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)a.t="z";else if(r.raw)a.t="s",a.v=t;else if(0===t.trim().length)a.t="s",a.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(a.t="s",a.v=t.slice(2,-1).replace(/""/g,'"')):Dh(t)?(a.t="n",a.f=t.slice(1)):(a.t="s",a.v=t);else if("TRUE"==t)a.t="b",a.v=!0;else if("FALSE"==t)a.t="b",a.v=!1;else if(isNaN(l=St(t)))if(!isNaN(xt(t).getDate())||b&&t.match(b)){a.z=r.dateNF||Z[14];var n=0;b&&t.match(b)&&(t=Ze(t,r.dateNF,t.match(b)||[]),n=1),r.cellDates?(a.t="d",a.v=kt(t,n)):(a.t="n",a.v=ht(kt(t,n))),!1!==r.cellText&&(a.w=Ve(a.z,a.v instanceof Date?ht(a.v):a.v)),r.cellNF||delete a.z}else a.t="s",a.v=t;else a.t="n",!1!==r.cellText&&(a.w=t),a.v=l;if("z"==a.t||(r.dense?(s[o]||(s[o]=[]),s[o][c]=a):s[Fa({c:c,r:o})]=a),f=h+1,m=e.charCodeAt(f),i.e.c<c&&(i.e.c=c),i.e.r<o&&(i.e.r=o),p==u)++c;else if(c=0,++o,r.sheetRows&&r.sheetRows<=o)return!0}e:for(;h<e.length;++h)switch(p=e.charCodeAt(h)){case 34:34===m&&(d=!d);break;case u:case 10:case 13:if(!d&&v())break e;break;default:break}return h-f>0&&v(),s["!ref"]=Ma(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):za(t(e,r),r):s(e,r)}function o(e,t){var r="",a="string"==t.type?[0,0,0,0]:Kg(e,t);switch(t.type){case"base64":r=S(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof m?m.utils.decode(t.codepage,e):_&&Buffer.isBuffer(e)?e.toString("binary"):O(e);break;case"array":r=Tt(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==a[0]&&187==a[1]&&191==a[2]?r=dr(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=dr(r):"binary"==t.type&&"undefined"!==typeof m&&t.codepage&&(r=m.utils.decode(t.codepage,m.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?xc.to_sheet("string"==t.type?r:dr(r),t):i(r,t)}function c(e,t){return Wa(o(e,t),t)}function l(e){for(var t,r=[],a=La(e["!ref"]),n=Array.isArray(e),s=a.s.r;s<=a.e.r;++s){for(var i=[],o=a.s.c;o<=a.e.c;++o){var c=Fa({r:s,c:o});if(t=n?(e[s]||[])[o]:e[c],t&&null!=t.v){var l=(t.w||(Ba(t),t.w)||"").slice(0,10);while(l.length<10)l+=" ";i.push(l+(0===o?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}return{to_workbook:c,to_sheet:o,from_sheet:l}}();function Cc(e,t){var r=t||{},a=!!r.WTF;r.WTF=!0;try{var n=Sc.to_workbook(e,r);return r.WTF=a,n}catch(s){if(r.WTF=a,!s.message.match(/SYLK bad record ID/)&&a)throw s;return Ac.to_workbook(e,t)}}var Rc=function(){function e(e,t,r){if(e){pa(e,e.l||0);var a=r.Enum||W;while(e.l<e.length){var n=e.read_shift(2),s=a[n]||a[65535],i=e.read_shift(2),o=e.l+i,c=s.f&&s.f(e,i,r);if(e.l=o,t(c,s,n))return}}}function t(e,t){switch(t.type){case"base64":return r(R(S(e)),t);case"binary":return r(R(e),t);case"buffer":case"array":return r(e,t)}throw"Unsupported type "+t.type}function r(t,r){if(!t)return t;var a=r||{};null!=k&&null==a.dense&&(a.dense=k);var n=a.dense?[]:{},s="Sheet1",i="",o=0,c={},l=[],f=[],h={s:{r:0,c:0},e:{r:0,c:0}},u=a.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])a.Enum=W,e(t,(function(e,t,r){switch(r){case 0:a.vers=e,e>=4096&&(a.qpro=!0);break;case 6:h=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:a.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=a.dateNF||Z[14],a.cellDates&&(e[1].t="d",e[1].v=mt(e[1].v))),a.qpro&&e[3]>o&&(n["!ref"]=Ma(h),c[s]=n,l.push(s),n=a.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],s=i||"Sheet"+(o+1),i="");var f=a.dense?(n[e[0].r]||[])[e[0].c]:n[Fa(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}a.dense?(n[e[0].r]||(n[e[0].r]=[]),n[e[0].r][e[0].c]=e[1]):n[Fa(e[0])]=e[1];break;default:}}),a);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);a.Enum=H,14==t[2]&&(a.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]>o&&(n["!ref"]=Ma(h),c[s]=n,l.push(s),n=a.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],s="Sheet"+(o+1)),u>0&&e[0].r>=u)break;a.dense?(n[e[0].r]||(n[e[0].r]=[]),n[e[0].r][e[0].c]=e[1]):n[Fa(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]==o&&(s=e[1]);break;default:break}}),a)}if(n["!ref"]=Ma(h),c[i||s]=n,l.push(i||s),!f.length)return{SheetNames:l,Sheets:c};for(var d={},p=[],m=0;m<f.length;++m)c[l[m]]?(p.push(f[m]||l[m]),d[f[m]]=c[f[m]]||c[l[m]]):(p.push(f[m]),d[f[m]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function a(e,t){var r=t||{};if(+r.codepage>=0&&f(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var a=ga(),n=La(e["!ref"]),i=Array.isArray(e),o=[];vv(a,0,s(1030)),vv(a,6,c(n));for(var l=Math.min(n.e.r,8191),h=n.s.r;h<=l;++h)for(var d=_a(h),m=n.s.c;m<=n.e.c;++m){h===n.s.r&&(o[m]=Ra(m));var v=o[m]+d,g=i?(e[h]||[])[m]:e[v];if(g&&"z"!=g.t)if("n"==g.t)(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?vv(a,13,p(h,m,g.v)):vv(a,14,b(h,m,g.v));else{var w=Ba(g);vv(a,15,u(h,m,w.slice(0,239)))}}return vv(a,1),a.end()}function n(e,t){var r=t||{};if(+r.codepage>=0&&f(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var a=ga();vv(a,0,i(e));for(var n=0,s=0;n<e.SheetNames.length;++n)(e.Sheets[e.SheetNames[n]]||{})["!ref"]&&vv(a,27,B(e.SheetNames[n],s++));var o=0;for(n=0;n<e.SheetNames.length;++n){var c=e.Sheets[e.SheetNames[n]];if(c&&c["!ref"]){for(var l=La(c["!ref"]),h=Array.isArray(c),u=[],d=Math.min(l.e.r,8191),p=l.s.r;p<=d;++p)for(var m=_a(p),b=l.s.c;b<=l.e.c;++b){p===l.s.r&&(u[b]=Ra(b));var v=u[b]+m,g=h?(c[p]||[])[b]:c[v];if(g&&"z"!=g.t)if("n"==g.t)vv(a,23,I(p,b,o,g.v));else{var w=Ba(g);vv(a,22,x(p,b,o,w.slice(0,239)))}}++o}}return vv(a,1),a.end()}function s(e){var t=ba(2);return t.write_shift(2,e),t}function i(e){var t=ba(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,a=0,n=0,s=0;s<e.SheetNames.length;++s){var i=e.SheetNames[s],o=e.Sheets[i];if(o&&o["!ref"]){++n;var c=Pa(o["!ref"]);r<c.e.r&&(r=c.e.r),a<c.e.c&&(a=c.e.c)}}return r>8191&&(r=8191),t.write_shift(2,r),t.write_shift(1,n),t.write_shift(1,a),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 o(e,t,r){var a={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(a.s.c=e.read_shift(1),e.l++,a.s.r=e.read_shift(2),a.e.c=e.read_shift(1),e.l++,a.e.r=e.read_shift(2),a):(a.s.c=e.read_shift(2),a.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),a.e.c=e.read_shift(2),a.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==a.s.c&&(a.s.c=a.e.c=a.s.r=a.e.r=0),a)}function c(e){var t=ba(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 l(e,t,r){var a=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(a[0].c=e.read_shift(1),a[3]=e.read_shift(1),a[0].r=e.read_shift(2),e.l+=2):(a[2]=e.read_shift(1),a[0].c=e.read_shift(2),a[0].r=e.read_shift(2)),a}function h(e,t,r){var a=e.l+t,n=l(e,t,r);if(n[1].t="s",20768==r.vers){e.l++;var s=e.read_shift(1);return n[1].v=e.read_shift(s,"utf8"),n}return r.qpro&&e.l++,n[1].v=e.read_shift(a-e.l,"cstr"),n}function u(e,t,r){var a=ba(7+r.length);a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(1,39);for(var n=0;n<a.length;++n){var s=r.charCodeAt(n);a.write_shift(1,s>=128?95:s)}return a.write_shift(1,0),a}function d(e,t,r){var a=l(e,t,r);return a[1].v=e.read_shift(2,"i"),a}function p(e,t,r){var a=ba(7);return a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(2,r,"i"),a}function m(e,t,r){var a=l(e,t,r);return a[1].v=e.read_shift(8,"f"),a}function b(e,t,r){var a=ba(13);return a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(8,r,"f"),a}function v(e,t,r){var a=e.l+t,n=l(e,t,r);if(n[1].v=e.read_shift(8,"f"),r.qpro)e.l=a;else{var s=e.read_shift(2);E(e.slice(e.l,e.l+s),n),e.l+=s}return n}function g(e,t,r){var a=32768&t;return t&=-32769,t=(a?e:0)+(t>=8192?t-16384:t),(a?"":"$")+(r?Ra(t):_a(t))}var w={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 E(e,t){pa(e,0);var r=[],a=0,n="",s="",i="",o="";while(e.l<e.length){var c=e[e.l++];switch(c){case 0:r.push(e.read_shift(8,"f"));break;case 1:s=g(t[0].c,e.read_shift(2),!0),n=g(t[0].r,e.read_shift(2),!1),r.push(s+n);break;case 2:var l=g(t[0].c,e.read_shift(2),!0),f=g(t[0].r,e.read_shift(2),!1);s=g(t[0].c,e.read_shift(2),!0),n=g(t[0].r,e.read_shift(2),!1),r.push(l+f+":"+s+n);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(c=e[e.l++])h+=String.fromCharCode(c);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:o=r.pop(),i=r.pop(),r.push(["AND","OR"][c-20]+"("+i+","+o+")");break;default:if(c<32&&T[c])o=r.pop(),i=r.pop(),r.push(i+T[c]+o);else{if(!w[c])return c<=7?console.error("WK1 invalid opcode "+c.toString(16)):c<=24?console.error("WK1 unsupported op "+c.toString(16)):c<=30?console.error("WK1 invalid opcode "+c.toString(16)):c<=115?console.error("WK1 unsupported function opcode "+c.toString(16)):console.error("WK1 unrecognized opcode "+c.toString(16));if(a=w[c][1],69==a&&(a=e[e.l++]),a>r.length)return void console.error("WK1 bad formula parse 0x"+c.toString(16)+":|"+r.join("|")+"|");var u=r.slice(-a);r.length-=a,r.push(w[c][0]+"("+u.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}function y(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 _(e,t){var r=y(e,t);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}function x(e,t,r,a){var n=ba(6+a.length);n.write_shift(2,e),n.write_shift(1,r),n.write_shift(1,t),n.write_shift(1,39);for(var s=0;s<a.length;++s){var i=a.charCodeAt(s);n.write_shift(1,i>=128?95:i)}return n.write_shift(1,0),n}function A(e,t){var r=y(e,t);r[1].v=e.read_shift(2);var a=r[1].v>>1;if(1&r[1].v)switch(7&a){case 0:a=5e3*(a>>3);break;case 1:a=500*(a>>3);break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break}return r[1].v=a,r}function C(e,t){var r=y(e,t),a=e.read_shift(4),n=e.read_shift(4),s=e.read_shift(2);if(65535==s)return 0===a&&3221225472===n?(r[1].t="e",r[1].v=15):0===a&&3489660928===n?(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)*(n*Math.pow(2,s+32)+a*Math.pow(2,s)),r}function I(e,t,r,a){var n=ba(14);if(n.write_shift(2,e),n.write_shift(1,r),n.write_shift(1,t),0==a)return n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,65535),n;var s=0,i=0,o=0,c=0;return a<0&&(s=1,a=-a),i=0|Math.log2(a),a/=Math.pow(2,i-31),c=a>>>0,0==(2147483648&c)&&(a/=2,++i,c=a>>>0),a-=c,c|=2147483648,c>>>=0,a*=Math.pow(2,32),o=a>>>0,n.write_shift(4,o),n.write_shift(4,c),i+=16383+(s?32768:0),n.write_shift(2,i),n}function O(e,t){var r=C(e,14);return e.l+=t-14,r}function N(e,t){var r=y(e,t),a=e.read_shift(4);return r[1].v=a>>6,r}function D(e,t){var r=y(e,t),a=e.read_shift(8,"f");return r[1].v=a,r}function F(e,t){var r=D(e,14);return e.l+=t-10,r}function P(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function M(e,t){var r=e[e.l++];r>t-1&&(r=t-1);var a="";while(a.length<r)a+=String.fromCharCode(e[e.l++]);return a}function L(e,t,r){if(r.qpro&&!(t<21)){var a=e.read_shift(1);e.l+=17,e.l+=1,e.l+=2;var n=e.read_shift(t-21,"cstr");return[a,n]}}function U(e,t){var r={},a=e.l+t;while(e.l<a){var n=e.read_shift(2);if(14e3==n){r[n]=[0,""],r[n][0]=e.read_shift(2);while(e[e.l])r[n][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}function B(e,t){var r=ba(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);r[r.l++]=n>127?95:n}return r[r.l++]=0,r}var W={0:{n:"BOF",f:ri},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:m},15:{n:"LABEL",f:h},16:{n:"FORMULA",f:v},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:h},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:P},222:{n:"SHEETNAMELP",f:M},65535:{n:""}},H={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:_},23:{n:"NUMBER17",f:C},24:{n:"NUMBER18",f:A},25:{n:"FORMULA19",f:O},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:U},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:N},38:{n:"??"},39:{n:"NUMBER27",f:D},40:{n:"FORMULA28",f:F},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:P},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:L},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:a,book_to_wk3:n,to_workbook:t}}();function Ic(e){var t={},r=e.match(Gt),a=0,n=!1;if(r)for(;a!=r.length;++a){var s=Yt(r[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==s.val)break;t.cp=o[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=s.val;break;case"<sz":t.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting";break}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==s.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==s.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":s.rgb&&(t.color=s.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=s.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=s.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":break;case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(47!==s[0].charCodeAt(1)&&!n)throw new Error("Unrecognized rich format "+s[0])}}return t}var Oc=function(){var e=mr("t"),t=mr("rPr");function r(r){var a=r.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:qt(a[1])},s=r.match(t);return s&&(n.s=Ic(s[1])),n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(e){return e.replace(a,"").split(n).map(r).filter((function(e){return e.v}))}}(),Nc=function(){var e=/(\r\n|\n)/g;function t(e,t,r){var a=[];e.u&&a.push("text-decoration: underline;"),e.uval&&a.push("text-underline-style:"+e.uval+";"),e.sz&&a.push("font-size:"+e.sz+"pt;"),e.outline&&a.push("text-effect: outline;"),e.shadow&&a.push("text-shadow: auto;"),t.push('<span style="'+a.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var n=e.valign||"";return"superscript"==n||"super"==n?n="sup":"subscript"==n&&(n="sub"),""!=n&&(t.push("<"+n+">"),r.push("</"+n+">")),r.push("</span>"),e}function r(r){var a=[[],r.v,[]];return r.v?(r.s&&t(r.s,a[0],a[2]),a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")):""}return function(e){return e.map(r).join("")}}(),Dc=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Fc=/<(?:\w+:)?r>/,Pc=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Mc(e,t){var r=!t||t.cellHTML,a={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(a.t=qt(dr(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),a.r=dr(e),r&&(a.h=nr(a.t))):e.match(Fc)&&(a.r=dr(e),a.t=qt(dr((e.replace(Pc,"").match(Dc)||[]).join("").replace(Gt,""))),r&&(a.h=Nc(Oc(a.r)))),a):{t:""}}var Lc=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Uc=/<(?:\w+:)?(?:si|sstItem)>/g,Bc=/<\/(?:\w+:)?(?:si|sstItem)>/;function Wc(e,t){var r=[],a="";if(!e)return r;var n=e.match(Lc);if(n){a=n[2].replace(Uc,"").split(Bc);for(var s=0;s!=a.length;++s){var i=Mc(a[s].trim(),t);null!=i&&(r[r.length]=i)}n=Yt(n[1]),r.Count=n.count,r.Unique=n.uniqueCount}return r}var Hc=/^\s|\s$|[\t\n\r]/;function zc(e,t){if(!t.bookSST)return"";var r=[Ht];r[r.length]=Sr("sst",null,{xmlns:Ir[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a)if(null!=e[a]){var n=e[a],s="<si>";n.r?s+=n.r:(s+="<t",n.t||(n.t=""),n.t.match(Hc)&&(s+=' xml:space="preserve"'),s+=">"+tr(n.t)+"</t>"),s+="</si>",r[r.length]=s}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function Vc(e){return[e.read_shift(4),e.read_shift(4)]}function jc(e,t){var r=[],a=!1;return va(e,(function(e,n,s){switch(s){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:a=!0;break;case 36:a=!1;break;default:if(n.T,!a||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}function Gc(e,t){return t||(t=ba(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var $c=Ja;function Xc(e){var t=ga();wa(t,159,Gc(e));for(var r=0;r<e.length;++r)wa(t,19,$c(e[r]));return wa(t,160),t.end()}function Yc(e){if("undefined"!==typeof m)return m.utils.encode(s,e);for(var t=[],r=e.split(""),a=0;a<r.length;++a)t[a]=r[a].charCodeAt(0);return t}function Kc(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function Jc(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Kc(e,4),t.U=Kc(e,4),t.W=Kc(e,4),t}function Zc(e){var t=e.read_shift(4),r=e.l+t-4,a={},n=e.read_shift(4),s=[];while(n-- >0)s.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(a.name=e.read_shift(0,"lpp4"),a.comps=s,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return a}function qc(e){var t=[];e.l+=4;var r=e.read_shift(4);while(r-- >0)t.push(Zc(e));return t}function Qc(e){var t=[];e.l+=4;var r=e.read_shift(4);while(r-- >0)t.push(e.read_shift(0,"lpp4"));return t}function el(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Kc(e,4),t.U=Kc(e,4),t.W=Kc(e,4),t}function tl(e){var t=el(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function rl(e,t){var r=e.l+t,a={};a.Flags=63&e.read_shift(4),e.l+=4,a.AlgID=e.read_shift(4);var n=!1;switch(a.AlgID){case 26126:case 26127:case 26128:n=36==a.Flags;break;case 26625:n=4==a.Flags;break;case 0:n=16==a.Flags||4==a.Flags||36==a.Flags;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");return a.AlgIDHash=e.read_shift(4),a.KeySize=e.read_shift(4),a.ProviderType=e.read_shift(4),e.l+=8,a.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,a}function al(e,t){var r={},a=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,a),e.l=a,r}function nl(e){var t=Kc(e);switch(t.Minor){case 2:return[t.Minor,sl(e,t)];case 3:return[t.Minor,il(e,t)];case 4:return[t.Minor,ol(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function sl(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),a=rl(e,r),n=al(e,e.length-e.l);return{t:"Std",h:a,v:n}}function il(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ol(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),a={};return r.replace(Gt,(function(e){var r=Yt(e);switch(Kt(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach((function(e){a[e]=r[e]}));break;case"<dataIntegrity":a.encryptedHmacKey=r.encryptedHmacKey,a.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(r);break;default:throw r[0]}})),a}function cl(e,t){var r={},a=r.EncryptionVersionInfo=Kc(e,4);if(t-=4,2!=a.Minor)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);r.Flags=e.read_shift(4),t-=4;var n=e.read_shift(4);return t-=4,r.EncryptionHeader=rl(e,n),t-=n,r.EncryptionVerifier=al(e,t),r}function ll(e){var t={},r=t.EncryptionVersionInfo=Kc(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function fl(e){var t,r,a,n,s,i,o=0,c=Yc(e),l=c.length+1;for(t=A(l),t[0]=c.length,r=1;r!=l;++r)t[r]=c[r-1];for(r=l-1;r>=0;--r)a=t[r],n=0===(16384&o)?0:1,s=o<<1&32767,i=n|s,o=i^a;return 52811^o}var hl=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],a=function(e){return 255&(e/2|128*e)},n=function(e,t){return a(e^t)},s=function(e){for(var a=t[e.length-1],n=104,s=e.length-1;s>=0;--s)for(var i=e[s],o=0;7!=o;++o)64&i&&(a^=r[n]),i*=2,--n;return a};return function(t){for(var r,a,i,o=Yc(t),c=s(o),l=o.length,f=A(16),h=0;16!=h;++h)f[h]=0;1===(1&l)&&(r=c>>8,f[l]=n(e[0],r),--l,r=255&c,a=o[o.length-1],f[l]=n(a,r));while(l>0)--l,r=c>>8,f[l]=n(o[l],r),--l,r=255&c,f[l]=n(o[l],r);l=15,i=15-o.length;while(i>0)r=c>>8,f[l]=n(e[i],r),--l,--i,r=255&c,f[l]=n(o[l],r),--l,--i;return f}}(),ul=function(e,t,r,a,n){var s,i;for(n||(n=t),a||(a=hl(e)),s=0;s!=t.length;++s)i=t[s],i^=a[r],i=255&(i>>5|i<<3),n[s]=i,++r;return[n,r,a]},dl=function(e){var t=0,r=hl(e);return function(e){var a=ul("",e,t,r);return t=a[1],a[0]}};function pl(e,t,r,a){var n={key:ri(e),verificationBytes:ri(e)};return r.password&&(n.verifier=fl(r.password)),a.valid=n.verificationBytes===n.verifier,a.valid&&(a.insitu=dl(r.password)),n}function ml(e,t,r){var a=r||{};return a.Info=e.read_shift(2),e.l-=2,1===a.Info?a.Data=ll(e,t):a.Data=cl(e,t),a}function bl(e,t,r){var a={Type:r.biff>=8?e.read_shift(2):0};return a.Type?ml(e,t-2,a):pl(e,r.biff>=8?t:t-2,r,a),a}var vl=function(){function e(e,r){switch(r.type){case"base64":return t(S(e),r);case"binary":return t(e,r);case"buffer":return t(_&&Buffer.isBuffer(e)?e.toString("binary"):O(e),r);case"array":return t(Tt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=t||{},a=r.dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(a)&&(a[t]=[]);var r,n=/\\\w+\b/g,i=0,o=-1;while(r=n.exec(e)){switch(r[0]){case"\\cell":var c=e.slice(i,n.lastIndex-r[0].length);if(" "==c[0]&&(c=c.slice(1)),++o,c.length){var l={v:c,t:"s"};Array.isArray(a)?a[t][o]=l:a[Fa({r:t,c:o})]=l}break}i=n.lastIndex}o>s.e.c&&(s.e.c=o)})),a["!ref"]=Ma(s),a}function r(t,r){return Wa(e(t,r),r)}function a(e){for(var t,r=["{\\rtf1\\ansi"],a=La(e["!ref"]),n=Array.isArray(e),s=a.s.r;s<=a.e.r;++s){r.push("\\trowd\\trautofit1");for(var i=a.s.c;i<=a.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=a.s.c;i<=a.e.c;++i){var o=Fa({r:s,c:i});t=n?(e[s]||[])[i]:e[o],t&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Ba(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:a}}();function gl(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function wl(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)}function kl(e){var t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.max(t,r,a),s=Math.min(t,r,a),i=n-s;if(0===i)return[0,0,t];var o=0,c=0,l=n+s;switch(c=i/(l>1?2-l:l),n){case t:o=((r-a)/i+6)%6;break;case r:o=(a-t)/i+2;break;case a:o=(t-r)/i+4;break}return[o/6,c,l/2]}function Tl(e){var t,r=e[0],a=e[1],n=e[2],s=2*a*(n<.5?n:1-n),i=n-s/2,o=[i,i,i],c=6*r;if(0!==a)switch(0|c){case 0:case 6:t=s*c,o[0]+=s,o[1]+=t;break;case 1:t=s*(2-c),o[0]+=t,o[1]+=s;break;case 2:t=s*(c-2),o[1]+=s,o[2]+=t;break;case 3:t=s*(4-c),o[1]+=t,o[2]+=s;break;case 4:t=s*(c-4),o[2]+=s,o[0]+=t;break;case 5:t=s*(6-c),o[2]+=t,o[0]+=s;break}for(var l=0;3!=l;++l)o[l]=Math.round(255*o[l]);return o}function El(e,t){if(0===t)return e;var r=kl(gl(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),wl(Tl(r))}var yl=6,Sl=15,_l=1,xl=yl;function Al(e){return Math.floor((e+Math.round(128/xl)/256)*xl)}function Cl(e){return Math.floor((e-5)/xl*100+.5)/100}function Rl(e){return Math.round((e*xl+5)/xl*256)/256}function Il(e){return Rl(Cl(Al(e)))}function Ol(e){var t=Math.abs(e-Il(e)),r=xl;if(t>.005)for(xl=_l;xl<Sl;++xl)Math.abs(e-Il(e))<=t&&(t=Math.abs(e-Il(e)),r=xl);xl=r}function Nl(e){e.width?(e.wpx=Al(e.width),e.wch=Cl(e.wpx),e.MDW=xl):e.wpx?(e.wch=Cl(e.wpx),e.width=Rl(e.wch),e.MDW=xl):"number"==typeof e.wch&&(e.width=Rl(e.wch),e.wpx=Al(e.width),e.MDW=xl),e.customWidth&&delete e.customWidth}var Dl=96,Fl=Dl;function Pl(e){return 96*e/Fl}function Ml(e){return e*Fl/96}var Ll={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ul(e,t,r,a){t.Borders=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var r=Yt(e);switch(Kt(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":n={},r.diagonalUp&&(n.diagonalUp=cr(r.diagonalUp)),r.diagonalDown&&(n.diagonalDown=cr(r.diagonalDown)),t.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+r[0]+" in borders")}}))}function Bl(e,t,r,a){t.Fills=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var r=Yt(e);switch(Kt(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":n={},t.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(n),n={};break;case"<patternFill":case"<patternFill>":r.patternType&&(n.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":n.bgColor||(n.bgColor={}),r.indexed&&(n.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(n.bgColor.theme=parseInt(r.theme,10)),r.tint&&(n.bgColor.tint=parseFloat(r.tint)),r.rgb&&(n.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":n.fgColor||(n.fgColor={}),r.theme&&(n.fgColor.theme=parseInt(r.theme,10)),r.tint&&(n.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(n.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+r[0]+" in fills")}}))}function Wl(e,t,r,a){t.Fonts=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var i=Yt(e);switch(Kt(i[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(n),n={};break;case"<name":i.val&&(n.name=dr(i.val));break;case"<name/>":case"</name>":break;case"<b":n.bold=i.val?cr(i.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=i.val?cr(i.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(i.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=i.val?cr(i.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=i.val?cr(i.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=i.val?cr(i.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=i.val?cr(i.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=i.val?cr(i.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":i.val&&(n.sz=+i.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":i.val&&(n.vertAlign=i.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":i.val&&(n.family=parseInt(i.val,10));break;case"<family/>":case"</family>":break;case"<scheme":i.val&&(n.scheme=i.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==i.val)break;i.codepage=o[parseInt(i.val,10)];break;case"<color":if(n.color||(n.color={}),i.auto&&(n.color.auto=cr(i.auto)),i.rgb)n.color.rgb=i.rgb.slice(-6);else if(i.indexed){n.color.index=parseInt(i.indexed,10);var c=Gn[n.color.index];81==n.color.index&&(c=Gn[1]),c||(c=Gn[1]),n.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else i.theme&&(n.color.theme=parseInt(i.theme,10),i.tint&&(n.color.tint=parseFloat(i.tint)),i.theme&&r.themeElements&&r.themeElements.clrScheme&&(n.color.rgb=El(r.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":s=!0;break;case"</AlternateContent>":s=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+i[0]+" in fonts")}}))}function Hl(e,t,r){t.NumberFmt=[];for(var a=st(Z),n=0;n<a.length;++n)t.NumberFmt[a[n]]=Z[a[n]];var s=e[0].match(Gt);if(s)for(n=0;n<s.length;++n){var i=Yt(s[n]);switch(Kt(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var o=qt(dr(i.formatCode)),c=parseInt(i.numFmtId,10);if(t.NumberFmt[c]=o,c>0){if(c>392){for(c=392;c>60;--c)if(null==t.NumberFmt[c])break;t.NumberFmt[c]=o}je(o,c)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}function zl(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var a=r[0];a<=r[1];++a)null!=e[a]&&(t[t.length]=Sr("numFmt",null,{numFmtId:a,formatCode:tr(e[a])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Sr("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Vl=["numFmtId","fillId","fontId","borderId","xfId"],jl=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Gl(e,t,r){var a;t.CellXf=[];var n=!1;(e[0].match(Gt)||[]).forEach((function(e){var s=Yt(e),i=0;switch(Kt(s[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(a=s,delete a[0],i=0;i<Vl.length;++i)a[Vl[i]]&&(a[Vl[i]]=parseInt(a[Vl[i]],10));for(i=0;i<jl.length;++i)a[jl[i]]&&(a[jl[i]]=cr(a[jl[i]]));if(t.NumberFmt&&a.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[a.numFmtId]==t.NumberFmt[i]){a.numFmtId=i;break}t.CellXf.push(a);break;case"</xf>":break;case"<alignment":case"<alignment/>":var o={};s.vertical&&(o.vertical=s.vertical),s.horizontal&&(o.horizontal=s.horizontal),null!=s.textRotation&&(o.textRotation=s.textRotation),s.indent&&(o.indent=s.indent),s.wrapText&&(o.wrapText=cr(s.wrapText)),a.alignment=o;break;case"</alignment>":break;case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":n=!0;break;case"</AlternateContent>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(r&&r.WTF&&!n)throw new Error("unrecognized "+s[0]+" in cellXfs")}}))}function $l(e){var t=[];return t[t.length]=Sr("cellXfs",null),e.forEach((function(e){t[t.length]=Sr("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Sr("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Xl=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,i,o){var c,l={};return s?(s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""),(c=s.match(e))&&Hl(c,l,o),(c=s.match(a))&&Wl(c,l,i,o),(c=s.match(r))&&Bl(c,l,i,o),(c=s.match(n))&&Ul(c,l,i,o),(c=s.match(t))&&Gl(c,l,o),l):l}}();function Yl(e,t){var r,a=[Ht,Sr("styleSheet",null,{xmlns:Ir[0],"xmlns:vt":Rr.vt})];return e.SSF&&null!=(r=zl(e.SSF))&&(a[a.length]=r),a[a.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',a[a.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',a[a.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',a[a.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=$l(t.cellXfs))&&(a[a.length]=r),a[a.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',a[a.length]='<dxfs count="0"/>',a[a.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',a.length>2&&(a[a.length]="</styleSheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Kl(e,t){var r=e.read_shift(2),a=Ga(e,t-2);return[r,a]}function Jl(e,t,r){r||(r=ba(6+4*t.length)),r.write_shift(2,e),$a(t,r);var a=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),a}function Zl(e,t,r){var a={};a.sz=e.read_shift(2)/20;var n=Tn(e,2,r);n.fItalic&&(a.italic=1),n.fCondense&&(a.condense=1),n.fExtend&&(a.extend=1),n.fShadow&&(a.shadow=1),n.fOutline&&(a.outline=1),n.fStrikeout&&(a.strike=1);var s=e.read_shift(2);switch(700===s&&(a.bold=1),e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var i=e.read_shift(1);0!=i&&(a.underline=i);var o=e.read_shift(1);o>0&&(a.family=o);var c=e.read_shift(1);switch(c>0&&(a.charset=c),e.l++,a.color=wn(e,8),e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}return a.name=Ga(e,t-21),a}function ql(e,t){t||(t=ba(153)),t.write_shift(2,20*e.sz),En(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),kn(e.color,t);var a=0;return"major"==e.scheme&&(a=1),"minor"==e.scheme&&(a=2),t.write_shift(1,a),$a(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Ql,ef=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],tf=ma;function rf(e,t){t||(t=ba(84)),Ql||(Ql=ot(ef));var r=Ql[e.patternType];null==r&&(r=40),t.write_shift(4,r);var a=0;if(40!=r)for(kn({auto:1},t),kn({auto:1},t);a<12;++a)t.write_shift(4,0);else{for(;a<4;++a)t.write_shift(4,0);for(;a<12;++a)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function af(e,t){var r=e.l+t,a=e.read_shift(2),n=e.read_shift(2);return e.l=r,{ixfe:a,numFmtId:n}}function nf(e,t,r){r||(r=ba(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 a=0;return r.write_shift(1,a),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function sf(e,t){return t||(t=ba(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var of=ma;function cf(e,t){return t||(t=ba(51)),t.write_shift(1,0),sf(null,t),sf(null,t),sf(null,t),sf(null,t),sf(null,t),t.length>t.l?t.slice(0,t.l):t}function lf(e,t){return t||(t=ba(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),on(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function ff(e,t,r){var a=ba(2052);return a.write_shift(4,e),on(t,a),on(r,a),a.length>a.l?a.slice(0,a.l):a}function hf(e,t,r){var a={NumberFmt:[]};for(var n in Z)a.NumberFmt[n]=Z[n];a.CellXf=[],a.Fonts=[];var s=[],i=!1;return va(e,(function(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1],je(e[1],e[0]);break;case 43:a.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=El(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:617==s[s.length-1]&&a.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:s.push(o),i=!0;break;case 38:s.pop(),i=!1;break;default:if(n.T>0)s.push(o);else if(n.T<0)s.pop();else if(!i||r.WTF&&37!=s[s.length-1])throw new Error("Unexpected record 0x"+o.toString(16))}})),a}function uf(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var a=e[0];a<=e[1];++a)null!=t[a]&&++r})),0!=r&&(wa(e,615,ja(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var a=r[0];a<=r[1];++a)null!=t[a]&&wa(e,44,Jl(a,t[a]))})),wa(e,616))}}function df(e){var t=1;0!=t&&(wa(e,611,ja(t)),wa(e,43,ql({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),wa(e,612))}function pf(e){var t=2;0!=t&&(wa(e,603,ja(t)),wa(e,45,rf({patternType:"none"})),wa(e,45,rf({patternType:"gray125"})),wa(e,604))}function mf(e){var t=1;0!=t&&(wa(e,613,ja(t)),wa(e,46,cf({})),wa(e,614))}function bf(e){var t=1;wa(e,626,ja(t)),wa(e,47,nf({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),wa(e,627)}function vf(e,t){wa(e,617,ja(t.length)),t.forEach((function(t){wa(e,47,nf(t,0))})),wa(e,618)}function gf(e){var t=1;wa(e,619,ja(t)),wa(e,48,lf({xfId:0,builtinId:0,name:"Normal"})),wa(e,620)}function wf(e){var t=0;wa(e,505,ja(t)),wa(e,506)}function kf(e){var t=0;wa(e,508,ff(t,"TableStyleMedium9","PivotStyleMedium4")),wa(e,509)}function Tf(){}function Ef(e,t){var r=ga();return wa(r,278),uf(r,e.SSF),df(r,e),pf(r,e),mf(r,e),bf(r,e),vf(r,t.cellXfs),gf(r,e),wf(r,e),kf(r,e),Tf(r,e),wa(r,279),r.end()}var yf=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Sf(e,t,r){t.themeElements.clrScheme=[];var a={};(e[0].match(Gt)||[]).forEach((function(e){var n=Yt(e);switch(n[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===n[0].charAt(1)?(t.themeElements.clrScheme[yf.indexOf(n[0])]=a,a={}):a.name=n[0].slice(3,n[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme")}}))}function _f(){}function xf(){}var Af=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Cf=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Rf=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function If(e,t,r){var a;t.themeElements={},[["clrScheme",Af,Sf],["fontScheme",Cf,_f],["fmtScheme",Rf,xf]].forEach((function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,t,r)}))}var Of=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Nf(e,t){var r;e&&0!==e.length||(e=Df());var a={};if(!(r=e.match(Of)))throw new Error("themeElements not found in theme");return If(r[0],a,t),a.raw=e,a}function Df(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[Ht];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="MS 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="MS 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 Ff(e,t,r){var a=e.l+t,n=e.read_shift(4);if(124226!==n)if(r.cellStyles){var s,i=e.slice(e.l);e.l=a;try{s=Bt(i,{type:"array"})}catch(c){return}var o=Ft(s,"theme/theme/theme1.xml",!0);if(o)return Nf(o,r)}else e.l=a}function Pf(e){return e.read_shift(4)}function Mf(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Lf(e,4);break;case 2:t.xclrValue=Ei(e,4);break;case 3:t.xclrValue=Pf(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Lf(e,t){return ma(e,t)}function Uf(e,t){return ma(e,t)}function Bf(e){var t=e.read_shift(2),r=e.read_shift(2)-4,a=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=Mf(e,r);break;case 6:a[1]=Uf(e,r);break;case 14:case 15:a[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return a}function Wf(e,t){var r=e.l+t;e.l+=2;var a=e.read_shift(2);e.l+=2;var n=e.read_shift(2),s=[];while(n-- >0)s.push(Bf(e,r-e.l));return{ixfe:a,ext:s}}function Hf(e,t){t.forEach((function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}}))}function zf(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ga(e,t-8)}}function Vf(e){var t=ba(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),$a(e.name,t),t.slice(0,t.l)}function jf(e){var t=[],r=e.read_shift(4);while(r-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Gf(e){var t=ba(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 $f(e,t){var r=ba(8+2*t.length);return r.write_shift(4,e),$a(t,r),r.slice(0,r.l)}function Xf(e){return e.l+=4,0!=e.read_shift(4)}function Yf(e,t){var r=ba(8);return r.write_shift(4,e),r.write_shift(4,t?1:0),r}function Kf(e,t,r){var a={Types:[],Cell:[],Value:[]},n=r||{},s=[],i=!1,o=2;return va(e,(function(e,t,r){switch(r){case 335:a.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==o?a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]}):0==o&&a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})}));break;case 337:o=e?1:0;break;case 338:o=2;break;case 35:s.push(r),i=!0;break;case 36:s.pop(),i=!1;break;default:if(t.T);else if(!i||n.WTF&&35!=s[s.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),a}function Jf(){var e=ga();return wa(e,332),wa(e,334,ja(1)),wa(e,335,Vf({name:"XLDAPR",version:12e4,flags:3496657072})),wa(e,336),wa(e,339,$f(1,"XLDAPR")),wa(e,52),wa(e,35,ja(514)),wa(e,4096,ja(0)),wa(e,4097,ai(1)),wa(e,36),wa(e,53),wa(e,340),wa(e,337,Yf(1,!0)),wa(e,51,Gf([[1,0]])),wa(e,338),wa(e,333),e.end()}function Zf(e,t,r){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n,s=!1,i=2;return e.replace(Gt,(function(e){var t=Yt(e);switch(Kt(t[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:t.name});break;case"</metadataType>":break;case"<futureMetadata":for(var o=0;o<a.Types.length;++o)a.Types[o].name==t.name&&(n=a.Types[o]);break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":1==i?a.Cell.push({type:a.Types[t.t-1].name,index:+t.v}):0==i&&a.Value.push({type:a.Types[t.t-1].name,index:+t.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;case"<rvb":if(!n)break;n.offsets||(n.offsets=[]),n.offsets.push(+t.i);break;default:if(!s&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),a}function qf(){var e=[Ht];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 Qf(e){var t=[];if(!e)return t;var r=1;return(e.match(Gt)||[]).forEach((function(e){var a=Yt(e);switch(a[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete a[0],a.i?r=a.i:a.i=r,t.push(a);break}})),t}function eh(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=Fa(r);var a=e.read_shift(1);return 2&a&&(t.l="1"),8&a&&(t.a="1"),t}function th(e,t,r){var a=[],n=!1;return va(e,(function(e,t,s){switch(s){case 63:a.push(e);break;default:if(t.T);else if(!n||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),a}function rh(){}function ah(e,t,r,a){if(!e)return e;var n=a||{},s=!1,i=!1;va(e,(function(e,t,r){if(!i)switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:s=!0;break;case 36:s=!1;break;default:if(t.T);else if(!s||n.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),n)}function nh(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var sh=1024;function ih(e,t){var r=[21600,21600],a=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),n=[Sr("xml",null,{"xmlns:v":Or.v,"xmlns:o":Or.o,"xmlns:x":Or.x,"xmlns:mv":Or.mv}).replace(/\/>/,">"),Sr("o:shapelayout",Sr("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Sr("v:shapetype",[Sr("v:stroke",null,{joinstyle:"miter"}),Sr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:a})];while(sh<1e3*e)sh+=1e3;return t.forEach((function(e){var t=Da(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var a="gradient"==r.type?Sr("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Sr("v:fill",a,r),i={on:"t",obscured:"t"};++sh,n=n.concat(["<v:shape"+yr({id:"_x0000_s"+sh,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,Sr("v:shadow",null,i),Sr("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Er("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Er("x:AutoFill","False"),Er("x:Row",String(t.r)),Er("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),n.push("</xml>"),n.join("")}function oh(e,t,r,a){var n,s=Array.isArray(e);t.forEach((function(t){var i=Da(t.ref);if(s?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},s?e[i.r][i.c]=n:e[t.ref]=n;var o=La(e["!ref"]||"BDWGO1000001:A1");o.s.r>i.r&&(o.s.r=i.r),o.e.r<i.r&&(o.e.r=i.r),o.s.c>i.c&&(o.s.c=i.c),o.e.c<i.c&&(o.e.c=i.c);var c=Ma(o);c!==e["!ref"]&&(e["!ref"]=c)}n.c||(n.c=[]);var l={a:t.author,t:t.t,r:t.r,T:r};t.h&&(l.h=t.h);for(var f=n.c.length-1;f>=0;--f){if(!r&&n.c[f].T)return;r&&!n.c[f].T&&n.c.splice(f,1)}if(r&&a)for(f=0;f<a.length;++f)if(l.a==a[f].id){l.a=a[f].name||l.a;break}n.c.push(l)}))}function ch(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],a=[],n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);n&&n[1]&&n[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var s=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return s&&s[1]&&s[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(n){var s=Yt(n[0]),i={author:s.authorId&&r[s.authorId]||"sheetjsghost",ref:s.ref,guid:s.guid},o=Da(s.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Mc(c[1])||{r:"",t:"",h:""};i.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),i.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),a.push(i)}}}})),a}function lh(e){var t=[Ht,Sr("comments",null,{xmlns:Ir[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var a=tr(e.a);-1==r.indexOf(a)&&(r.push(a),t.push("<author>"+a+"</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 a=0,n=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?a=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(a=r.indexOf(tr(e.a))),n.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>'),n.length<=1)t.push(Er("t",tr(n[0]||"")));else{for(var s="Comment:\n "+n[0]+"\n",i=1;i<n.length;++i)s+="Reply:\n "+n[i]+"\n";t.push(Er("t",tr(s)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function fh(e,t){var r=[],a=!1,n={},s=0;return e.replace(Gt,(function(i,o){var c=Yt(i);switch(Kt(c[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=n.t&&r.push(n);break;case"<text>":case"<text":s=o+i.length;break;case"</text>":n.t=e.slice(s,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":a=!0;break;case"</mentions>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return i})),r}function hh(e,t,r){var a=[Ht,Sr("ThreadedComments",null,{xmlns:Rr.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var n="";(e[1]||[]).forEach((function(s,i){if(s.T){s.a&&-1==t.indexOf(s.a)&&t.push(s.a);var o={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?n=o.id:o.parentId=n,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),a.push(Sr("threadedComment",Er("text",s.t||""),o))}else delete s.ID}))})),a.push("</ThreadedComments>"),a.join("")}function uh(e,t){var r=[],a=!1;return e.replace(Gt,(function(e){var n=Yt(e);switch(Kt(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":r.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments")}return e})),r}function dh(e){var t=[Ht,Sr("personList",null,{xmlns:Rr.TCMNT,"xmlns:x":Ir[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(Sr("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}function ph(e){var t={};t.iauthor=e.read_shift(4);var r=mn(e,16);return t.rfx=r.s,t.ref=Fa(r.s),e.l+=16,t}function mh(e,t){return null==t&&(t=ba(36)),t.write_shift(4,e[1].iauthor),bn(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 bh=Ga;function vh(e){return $a(e.slice(0,54))}function gh(e,t){var r=[],a=[],n={},s=!1;return va(e,(function(e,i,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t,n.h=e.h,n.r=e.r;break;case 636:if(n.author=a[n.iauthor],delete n.iauthor,t.sheetRows&&n.rfx&&t.sheetRows<=n.rfx.r)break;n.t||(n.t=""),delete n.rfx,r.push(n);break;case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(i.T);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}function wh(e){var t=ga(),r=[];return wa(t,628),wa(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),wa(t,632,vh(e.a)))}))})),wa(t,631),wa(t,633),e.forEach((function(e){e[1].forEach((function(a){a.iauthor=r.indexOf(a.a);var n={s:Da(e[0]),e:Da(e[0])};wa(t,635,mh([n,a])),a.t&&a.t.length>0&&wa(t,637,qa(a)),wa(t,636),delete a.iauthor}))})),wa(t,634),wa(t,629),t.end()}var kh="application/vnd.ms-office.vbaProject";function Th(e){var t=Qe.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,a){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var n=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(t,n,e.FileIndex[a].content)}})),Qe.write(t)}function Eh(e,t){t.FullPaths.forEach((function(r,a){if(0!=a){var n=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==n.slice(-1)&&Qe.utils.cfb_add(e,n,t.FileIndex[a].content)}}))}var yh=["xlsb","xlsm","xlam","biff8","xla"];function Sh(){return{"!type":"dialog"}}function _h(){return{"!type":"dialog"}}function xh(){return{"!type":"macro"}}function Ah(){return{"!type":"macro"}}var Ch=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,a,n){var s=!1,i=!1;0==a.length?i=!0:"["==a.charAt(0)&&(i=!0,a=a.slice(1,-1)),0==n.length?s=!0:"["==n.charAt(0)&&(s=!0,n=n.slice(1,-1));var o=a.length>0?0|parseInt(a,10):0,c=n.length>0?0|parseInt(n,10):0;return s?c+=t.c:--c,i?o+=t.r:--o,r+(s?"":"$")+Ra(c)+(i?"":"$")+_a(o)}return function(a,n){return t=n,a.replace(e,r)}}(),Rh=/(^|[^._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,Ih=function(){return function(e,t){return e.replace(Rh,(function(e,r,a,n,s,i){var o=Ca(n)-(a?0:t.c),c=Sa(i)-(s?0:t.r),l=0==c?"":s?c+1:"["+c+"]",f=0==o?"":a?o+1:"["+o+"]";return r+"R"+l+"C"+f}))}}();function Oh(e,t){return e.replace(Rh,(function(e,r,a,n,s,i){return r+("$"==a?a+n:Ra(Ca(n)+t.c))+("$"==s?s+i:_a(Sa(i)+t.r))}))}function Nh(e,t,r){var a=Pa(t),n=a.s,s=Da(r),i={r:s.r-n.r,c:s.c-n.c};return Oh(e,i)}function Dh(e){return 1!=e.length}function Fh(e){return e.replace(/_xlfn\./g,"")}function Ph(e){e.l+=1}function Mh(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function Lh(e,t,r){var a=2;if(r){if(r.biff>=2&&r.biff<=5)return Uh(e,t,r);12==r.biff&&(a=4)}var n=e.read_shift(a),s=e.read_shift(a),i=Mh(e,2),o=Mh(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:o[0],cRel:o[1],rRel:o[2]}}}function Uh(e){var t=Mh(e,2),r=Mh(e,2),a=e.read_shift(1),n=e.read_shift(1);return{s:{r:t[0],c:a,cRel:t[1],rRel:t[2]},e:{r:r[0],c:n,cRel:r[1],rRel:r[2]}}}function Bh(e,t,r){if(r.biff<8)return Uh(e,t,r);var a=e.read_shift(12==r.biff?4:2),n=e.read_shift(12==r.biff?4:2),s=Mh(e,2),i=Mh(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:n,c:i[0],cRel:i[1],rRel:i[2]}}}function Wh(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Hh(e,t,r);var a=e.read_shift(r&&12==r.biff?4:2),n=Mh(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Hh(e){var t=Mh(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function zh(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 Vh(e,t,r){var a=r&&r.biff?r.biff:8;if(a>=2&&a<=5)return jh(e,t,r);var n=e.read_shift(a>=12?4:2),s=e.read_shift(2),i=(16384&s)>>14,o=(32768&s)>>15;if(s&=16383,1==o)while(n>524287)n-=1048576;if(1==i)while(s>8191)s-=16384;return{r:n,c:s,cRel:i,rRel:o}}function jh(e){var t=e.read_shift(2),r=e.read_shift(1),a=(32768&t)>>15,n=(16384&t)>>14;return t&=16383,1==a&&t>=8192&&(t-=16384),1==n&&r>=128&&(r-=256),{r:t,c:r,cRel:n,rRel:a}}function Gh(e,t,r){var a=(96&e[e.l++])>>5,n=Lh(e,r.biff>=2&&r.biff<=5?6:8,r);return[a,n]}function $h(e,t,r){var a=(96&e[e.l++])>>5,n=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=Lh(e,s,r);return[a,n,i]}function Xh(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[a]}function Yh(e,t,r){var a=(96&e[e.l++])>>5,n=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,[a,n]}function Kh(e,t,r){var a=(96&e[e.l++])>>5,n=Bh(e,t-1,r);return[a,n]}function Jh(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[a]}function Zh(e){var t=1&e[e.l+1],r=1;return e.l+=4,[t,r]}function qh(e,t,r){e.l+=2;for(var a=e.read_shift(r&&2==r.biff?1:2),n=[],s=0;s<=a;++s)n.push(e.read_shift(r&&2==r.biff?1:2));return n}function Qh(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,e.read_shift(r&&2==r.biff?1:2)]}function eu(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,e.read_shift(r&&2==r.biff?1:2)]}function tu(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function ru(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[a]}function au(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function nu(e){return e.read_shift(2),au(e,2)}function su(e){return e.read_shift(2),au(e,2)}function iu(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=Wh(e,0,r);return[a,n]}function ou(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=Vh(e,0,r);return[a,n]}function cu(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=e.read_shift(2);r&&5==r.biff&&(e.l+=12);var s=Wh(e,0,r);return[a,n,s]}function lu(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=e.read_shift(r&&r.biff<=3?1:2);return[_d[n],Sd[n],a]}function fu(e,t,r){var a=e[e.l++],n=e.read_shift(1),s=r&&r.biff<=3?[88==a?-1:0,e.read_shift(1)]:hu(e);return[n,(0===s[0]?Sd:yd)[s[1]]]}function hu(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function uu(e,t,r){e.l+=r&&2==r.biff?3:4}function du(e,t,r){if(e.l++,r&&12==r.biff)return[e.read_shift(4,"i"),0];var a=e.read_shift(2),n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function pu(e){return e.l++,$n[e.read_shift(1)]}function mu(e){return e.l++,e.read_shift(2)}function bu(e){return e.l++,0!==e.read_shift(1)}function vu(e){return e.l++,vn(e,8)}function gu(e,t,r){return e.l++,oi(e,t-1,r)}function wu(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]=ei(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=$n[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=vn(e,8);break;case 2:r[1]=ui(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function ku(e,t,r){for(var a=e.read_shift(12==r.biff?4:2),n=[],s=0;s!=a;++s)n.push((12==r.biff?mn:Oi)(e,8));return n}function Tu(e,t,r){var a=0,n=0;12==r.biff?(a=e.read_shift(4),n=e.read_shift(4)):(n=1+e.read_shift(1),a=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--a,0==--n&&(n=256));for(var s=0,i=[];s!=a&&(i[s]=[]);++s)for(var o=0;o!=n;++o)i[s][o]=wu(e,r.biff);return i}function Eu(e,t,r){var a=e.read_shift(1)>>>5&3,n=!r||r.biff>=8?4:2,s=e.read_shift(n);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,s]}function yu(e,t,r){if(5==r.biff)return Su(e,t,r);var a=e.read_shift(1)>>>5&3,n=e.read_shift(2),s=e.read_shift(4);return[a,n,s]}function Su(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var a=e.read_shift(2);return e.l+=12,[t,r,a]}function _u(e,t,r){var a=e.read_shift(1)>>>5&3;e.l+=r&&2==r.biff?3:4;var n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function xu(e,t,r){var a=e.read_shift(1)>>>5&3,n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function Au(e,t,r){var a=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[a]}function Cu(e,t,r){var a=(96&e[e.l++])>>5,n=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,[a,n]}var Ru=ma,Iu=ma,Ou=ma;function Nu(e,t,r){return e.l+=2,[zh(e,4,r)]}function Du(e){return e.l+=6,[]}var Fu=Nu,Pu=Du,Mu=Du,Lu=Nu;function Uu(e){return e.l+=2,[ri(e),1&e.read_shift(2)]}var Bu=Nu,Wu=Uu,Hu=Du,zu=Nu,Vu=Nu,ju=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Gu(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),s=e.read_shift(2),i=ju[r>>2&31];return{ixti:t,coltype:3&r,rt:i,idx:a,c:n,C:s}}function $u(e){return e.l+=2,[e.read_shift(4)]}function Xu(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}function Yu(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}function Ku(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Ju(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Zu(e){return e.l+=4,[0,0]}var qu={1:{n:"PtgExp",f:du},2:{n:"PtgTbl",f:Ou},3:{n:"PtgAdd",f:Ph},4:{n:"PtgSub",f:Ph},5:{n:"PtgMul",f:Ph},6:{n:"PtgDiv",f:Ph},7:{n:"PtgPower",f:Ph},8:{n:"PtgConcat",f:Ph},9:{n:"PtgLt",f:Ph},10:{n:"PtgLe",f:Ph},11:{n:"PtgEq",f:Ph},12:{n:"PtgGe",f:Ph},13:{n:"PtgGt",f:Ph},14:{n:"PtgNe",f:Ph},15:{n:"PtgIsect",f:Ph},16:{n:"PtgUnion",f:Ph},17:{n:"PtgRange",f:Ph},18:{n:"PtgUplus",f:Ph},19:{n:"PtgUminus",f:Ph},20:{n:"PtgPercent",f:Ph},21:{n:"PtgParen",f:Ph},22:{n:"PtgMissArg",f:Ph},23:{n:"PtgStr",f:gu},26:{n:"PtgSheet",f:Xu},27:{n:"PtgEndSheet",f:Yu},28:{n:"PtgErr",f:pu},29:{n:"PtgBool",f:bu},30:{n:"PtgInt",f:mu},31:{n:"PtgNum",f:vu},32:{n:"PtgArray",f:Jh},33:{n:"PtgFunc",f:lu},34:{n:"PtgFuncVar",f:fu},35:{n:"PtgName",f:Eu},36:{n:"PtgRef",f:iu},37:{n:"PtgArea",f:Gh},38:{n:"PtgMemArea",f:_u},39:{n:"PtgMemErr",f:Ru},40:{n:"PtgMemNoMem",f:Iu},41:{n:"PtgMemFunc",f:xu},42:{n:"PtgRefErr",f:Au},43:{n:"PtgAreaErr",f:Xh},44:{n:"PtgRefN",f:ou},45:{n:"PtgAreaN",f:Kh},46:{n:"PtgMemAreaN",f:Ku},47:{n:"PtgMemNoMemN",f:Ju},57:{n:"PtgNameX",f:yu},58:{n:"PtgRef3d",f:cu},59:{n:"PtgArea3d",f:$h},60:{n:"PtgRefErr3d",f:Cu},61:{n:"PtgAreaErr3d",f:Yh},255:{}},Qu={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},ed={1:{n:"PtgElfLel",f:Uu},2:{n:"PtgElfRw",f:zu},3:{n:"PtgElfCol",f:Fu},6:{n:"PtgElfRwV",f:Vu},7:{n:"PtgElfColV",f:Lu},10:{n:"PtgElfRadical",f:Bu},11:{n:"PtgElfRadicalS",f:Hu},13:{n:"PtgElfColS",f:Pu},15:{n:"PtgElfColSV",f:Mu},16:{n:"PtgElfRadicalLel",f:Wu},25:{n:"PtgList",f:Gu},29:{n:"PtgSxName",f:$u},255:{}},td={0:{n:"PtgAttrNoop",f:Zu},1:{n:"PtgAttrSemi",f:ru},2:{n:"PtgAttrIf",f:eu},4:{n:"PtgAttrChoose",f:qh},8:{n:"PtgAttrGoto",f:Qh},16:{n:"PtgAttrSum",f:uu},32:{n:"PtgAttrBaxcel",f:Zh},33:{n:"PtgAttrBaxcel",f:Zh},64:{n:"PtgAttrSpace",f:nu},65:{n:"PtgAttrSpaceSemi",f:su},128:{n:"PtgAttrIfError",f:tu},255:{}};function rd(e,t,r,a){if(a.biff<8)return ma(e,t);for(var n=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Tu(e,0,a),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=ku(e,r[i][1],a),s.push(r[i][2]);break;case"PtgExp":a&&12==a.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=n-e.l,0!==t&&s.push(ma(e,t)),s}function ad(e,t,r){var a,n,s=e.l+t,i=[];while(s!=e.l)t=s-e.l,n=e[e.l],a=qu[n]||qu[Qu[n]],24!==n&&25!==n||(a=(24===n?ed:td)[e[e.l+1]]),a&&a.f?i.push([a.n,a.f(e,t,r)]):ma(e,t);return i}function nd(e){for(var t=[],r=0;r<e.length;++r){for(var a=e[r],n=[],s=0;s<a.length;++s){var i=a[s];if(i)switch(i[0]){case 2:n.push('"'+i[1].replace(/"/g,'""')+'"');break;default:n.push(i[1])}else n.push("")}t.push(n.join(","))}return t.join(";")}var sd={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function id(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 od(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 a=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!a)return"SH33TJSERR1";var n="";if(r.biff>8)switch(e[a[0]][0]){case 357:return n=-1==a[1]?"#REF":e.SheetNames[a[1]],a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:return n=-1==a[1]?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3",a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[a[0]][0][3]?(n=-1==a[1]?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4",a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]):"SH33TJSERR2"}}function cd(e,t,r){var a=od(e,t,r);return"#REF"==a?a:id(a,r)}function ld(e,t,r,a,n){var s,i,o,c,l=n&&n.biff||8,f={s:{c:0,r:0},e:{c:0,r:0}},h=[],u=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,b="",v=0,g=e[0].length;v<g;++v){var w=e[0][v];switch(w[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:b=yt(" ",e[0][m][1][1]);break;case 1:b=yt("\r",e[0][m][1][1]);break;default:if(b="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=b,m=-1}h.push(i+sd[w[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":o=ka(w[1][1],f,n),h.push(Ea(o,l));break;case"PtgRefN":o=r?ka(w[1][1],r,n):w[1][1],h.push(Ea(o,l));break;case"PtgRef3d":u=w[1][1],o=ka(w[1][2],f,n),p=cd(a,u,n);h.push(p+"!"+Ea(o,l));break;case"PtgFunc":case"PtgFuncVar":var k=w[1][0],T=w[1][1];k||(k=0),k&=127;var E=0==k?[]:h.slice(-k);h.length-=k,"User"===T&&(T=E.shift()),h.push(T+"("+E.join(",")+")");break;case"PtgBool":h.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(w[1]);break;case"PtgNum":h.push(String(w[1]));break;case"PtgStr":h.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(w[1]);break;case"PtgAreaN":c=Ta(w[1][1],r?{s:r}:f,n),h.push(ya(c,n));break;case"PtgArea":c=Ta(w[1][1],f,n),h.push(ya(c,n));break;case"PtgArea3d":u=w[1][1],c=w[1][2],p=cd(a,u,n),h.push(p+"!"+ya(c,n));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=w[1][2];var y=(a.names||[])[d-1]||(a[0]||[])[d],S=y?y.Name:"SH33TJSNAME"+String(d);S&&"_xlfn."==S.slice(0,6)&&!n.xlfn&&(S=S.slice(6)),h.push(S);break;case"PtgNameX":var _,x=w[1][1];if(d=w[1][2],!(n.biff<=5)){var A="";if(14849==((a[x]||[])[0]||[])[0]||(1025==((a[x]||[])[0]||[])[0]?a[x][d]&&a[x][d].itab>0&&(A=a.SheetNames[a[x][d].itab-1]+"!"):A=a.SheetNames[d-1]+"!"),a[x]&&a[x][d])A+=a[x][d].Name;else if(a[0]&&a[0][d])A+=a[0][d].Name;else{var C=(od(a,x,n)||"").split(";;");C[d-1]?A=C[d-1]:A+="SH33TJSERRX"}h.push(A);break}x<0&&(x=-x),a[x]&&(_=a[x][d]),_||(_={Name:"SH33TJSERRY"}),h.push(_.Name);break;case"PtgParen":var R="(",I=")";if(m>=0){switch(b="",e[0][m][1][0]){case 2:R=yt(" ",e[0][m][1][1])+R;break;case 3:R=yt("\r",e[0][m][1][1])+R;break;case 4:I=yt(" ",e[0][m][1][1])+I;break;case 5:I=yt("\r",e[0][m][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(R+h.pop()+I);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":o={c:w[1][1],r:w[1][0]};var O={c:r.c,r:r.r};if(a.sharedf[Fa(o)]){var N=a.sharedf[Fa(o)];h.push(ld(N,f,O,a,n))}else{var D=!1;for(s=0;s!=a.arrayf.length;++s)if(i=a.arrayf[s],!(o.c<i[0].s.c||o.c>i[0].e.c)&&!(o.r<i[0].s.r||o.r>i[0].e.r)){h.push(ld(i[1],f,O,a,n)),D=!0;break}D||h.push(w[1])}break;case"PtgArray":h.push("{"+nd(w[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"+w[1].idx+"[#"+w[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(w));default:throw new Error("Unrecognized Formula Token: "+String(w))}var F=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=n.biff&&m>=0&&-1==F.indexOf(e[0][v][0])){w=e[0][m];var P=!0;switch(w[1][0]){case 4:P=!1;case 0:b=yt(" ",w[1][1]);break;case 5:P=!1;case 1:b=yt("\r",w[1][1]);break;default:if(b="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0])}h.push((P?b:"")+h.pop()+(P?"":b)),m=-1}}if(h.length>1&&n.WTF)throw new Error("bad formula stack");return h[0]}function fd(e,t,r){var a,n=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],ma(e,t-2)];var o=ad(e,i,r);return t!==i+s&&(a=rd(e,t-i-s,o,r)),e.l=n,[o,a]}function hd(e,t,r){var a,n=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],ma(e,t-2)];var o=ad(e,i,r);return t!==i+s&&(a=rd(e,t-i-s,o,r)),e.l=n,[o,a]}function ud(e,t,r,a){var n,s=e.l+t,i=ad(e,a,r);return s!==e.l&&(n=rd(e,s-e.l,i,r)),[i,n]}function dd(e,t,r){var a,n=e.l+t,s=e.read_shift(2),i=ad(e,s,r);return 65535==s?[[],ma(e,t-2)]:(t!==s+2&&(a=rd(e,n-s-2,i,r)),[i,a])}function pd(e){var t;if(65535!==aa(e,e.l+6))return[vn(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function md(e){if(null==e){var t=ba(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 gn("number"==typeof e?e:0)}function bd(e,t,r){var a=e.l+t,n=Si(e,6);2==r.biff&&++e.l;var s=pd(e,8),i=e.read_shift(1);2!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var o=hd(e,a-e.l,r);return{cell:n,val:s[0],formula:o,shared:i>>3&1,tt:s[1]}}function vd(e,t,r,a,n){var s=_i(t,r,n),i=md(e.v),o=ba(6),c=33;o.write_shift(2,c),o.write_shift(4,0);for(var l=ba(e.bf.length),f=0;f<e.bf.length;++f)l[f]=e.bf[f];var h=F([s,i,o,l]);return h}function gd(e,t,r){var a=e.read_shift(4),n=ad(e,a,r),s=e.read_shift(4),i=s>0?rd(e,s,n,r):null;return[n,i]}var wd=gd,kd=gd,Td=gd,Ed=gd,yd={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"},Sd={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"},_d={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 xd(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function Ad(e){var t="of:="+e.replace(Rh,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Cd(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function Rd(e){return e.replace(/\./,"!")}var Id={},Od={},Nd="undefined"!==typeof Map;function Dd(e,t,r){var a=0,n=e.length;if(r){if(Nd?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=Nd?r.get(t):r[t];a<s.length;++a)if(e[s[a]].t===t)return e.Count++,s[a]}else for(;a<n;++a)if(e[a].t===t)return e.Count++,a;return e[n]={t:t},e.Count++,e.Unique++,r&&(Nd?(r.has(t)||r.set(t,[]),r.get(t).push(n)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(n))),n}function Fd(e,t){var r={min:e+1,max:e+1},a=-1;return t.MDW&&(xl=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?a=Cl(t.wpx):null!=t.wch&&(a=t.wch),a>-1?(r.width=Rl(a),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 Pd(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 Md(e,t,r){var a=r.revssf[null!=t.z?t.z:"General"],n=60,s=e.length;if(null==a&&r.ssf)for(;n<392;++n)if(null==r.ssf[n]){je(t.z,n),r.ssf[n]=t.z,r.revssf[t.z]=a=n;break}for(n=0;n!=s;++n)if(e[n].numFmtId===a)return n;return e[s]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function Ld(e,t,r,a,n,s){try{a.cellNF&&(e.z=Z[t])}catch(o){if(a.WTF)throw o}if("z"!==e.t||a.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=kt(e.v)),(!a||!1!==a.cellText)&&"z"!==e.t)try{if(null==Z[t]&&je(Ye[t]||"General",t),"e"===e.t)e.w=e.w||$n[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v);else if("d"===e.t){var i=ht(e.v);e.w=(0|i)===i?i.toString(10):fe(i)}else{if(void 0===e.v)return"";e.w=he(e.v,Od)}else"d"===e.t?e.w=Ve(t,ht(e.v),Od):e.w=Ve(t,e.v,Od)}catch(o){if(a.WTF)throw o}if(a.cellStyles&&null!=r)try{e.s=s.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=El(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),a.WTF&&(e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=El(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),a.WTF&&(e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(a.WTF&&s.Fills)throw o}}}function Ud(e,t,r){if(e&&e["!ref"]){var a=La(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Bd(e,t){var r=La(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=Ma(r))}var Wd=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Hd=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,zd=/<(?:\w:)?hyperlink [^>]*>/gm,Vd=/"(\w*:\w*)"/,jd=/<(?:\w:)?col\b[^>]*[\/]?>/g,Gd=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,$d=/<(?:\w:)?pageMargins[^>]*\/>/g,Xd=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Yd=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Kd=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Jd(e,t,r,a,n,s,i){if(!e)return e;a||(a={"!id":{}}),null!=k&&null==t.dense&&(t.dense=k);var o=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",f="",h=e.match(Hd);h?(l=e.slice(0,h.index),f=e.slice(h.index+h[0].length)):l=f=e;var u=l.match(Xd);u?qd(u[0],o,n,r):(u=l.match(Yd))&&Qd(u[0],u[1]||"",o,n,r,i,s);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=l.slice(d,d+50).match(Vd);p&&Bd(o,p[1])}var m=l.match(Kd);m&&m[1]&&up(m[1],n);var b=[];if(t.cellStyles){var v=l.match(jd);v&&op(b,v)}h&&mp(h[1],o,t,c,s,i);var g=f.match(Gd);g&&(o["!autofilter"]=lp(g[0]));var w=[],T=f.match(Wd);if(T)for(d=0;d!=T.length;++d)w[d]=La(T[d].slice(T[d].indexOf('"')+1));var E=f.match(zd);E&&np(o,E,a);var y=f.match($d);if(y&&(o["!margins"]=sp(Yt(y[0]))),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=Ma(c)),t.sheetRows>0&&o["!ref"]){var S=La(o["!ref"]);t.sheetRows<=+S.e.r&&(S.e.r=t.sheetRows-1,S.e.r>c.e.r&&(S.e.r=c.e.r),S.e.r<S.s.r&&(S.s.r=S.e.r),S.e.c>c.e.c&&(S.e.c=c.e.c),S.e.c<S.s.c&&(S.s.c=S.e.c),o["!fullref"]=o["!ref"],o["!ref"]=Ma(S))}return b.length>0&&(o["!cols"]=b),w.length>0&&(o["!merges"]=w),o}function Zd(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Ma(e[r])+'"/>';return t+"</mergeCells>"}function qd(e,t,r,a){var n=Yt(e);r.Sheets[a]||(r.Sheets[a]={}),n.codeName&&(r.Sheets[a].CodeName=qt(dr(n.codeName)))}function Qd(e,t,r,a,n){qd(e.slice(0,e.indexOf(">")),r,a,n)}function ep(e,t,r,a,n){var s=!1,i={},o=null;if("xlsx"!==a.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(f){}s=!0,i.codeName=pr(tr(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),o=(o||"")+Sr("outlinePr",null,l)}(s||o)&&(n[n.length]=Sr("sheetPr",o,i))}var tp=["objects","scenarios","selectLockedCells","selectUnlockedCells"],rp=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function ap(e){var t={sheet:1};return tp.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),rp.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=fl(e.password).toString(16).toUpperCase()),Sr("sheetProtection",null,t)}function np(e,t,r){for(var a=Array.isArray(e),n=0;n!=t.length;++n){var s=Yt(dr(t[n]),!0);if(!s.ref)return;var i=((r||{})["!id"]||[])[s.id];i?(s.Target=i.Target,s.location&&(s.Target+="#"+qt(s.location))):(s.Target="#"+qt(s.location),i={Target:s.Target,TargetMode:"Internal"}),s.Rel=i,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var o=La(s.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var f=Fa({c:l,r:c});a?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=s):(e[f]||(e[f]={t:"z",v:void 0}),e[f].l=s)}}}function sp(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}function ip(e){return Pd(e),Sr("pageMargins",null,e)}function op(e,t){for(var r=!1,a=0;a!=t.length;++a){var n=Yt(t[a],!0);n.hidden&&(n.hidden=cr(n.hidden));var s=parseInt(n.min,10)-1,i=parseInt(n.max,10)-1;n.outlineLevel&&(n.level=+n.outlineLevel||0),delete n.min,delete n.max,n.width=+n.width,!r&&n.width&&(r=!0,Ol(n.width)),Nl(n);while(s<=i)e[s++]=Et(n)}}function cp(e,t){for(var r,a=["<cols>"],n=0;n!=t.length;++n)(r=t[n])&&(a[a.length]=Sr("col",null,Fd(n,r)));return a[a.length]="</cols>",a.join("")}function lp(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function fp(e,t,r,a){var n="string"==typeof e.ref?e.ref:Ma(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=Pa(n);i.s.r==i.e.r&&(i.e.r=Pa(t["!ref"]).e.r,n=Ma(i));for(var o=0;o<s.length;++o){var c=s[o];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==a){c.Ref="'"+r.SheetNames[a]+"'!"+n;break}}return o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+r.SheetNames[a]+"'!"+n}),Sr("autoFilter",null,{ref:n})}var hp=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function up(e,t){t.Views||(t.Views=[{}]),(e.match(hp)||[]).forEach((function(e,r){var a=Yt(e);t.Views[r]||(t.Views[r]={}),+a.zoomScale&&(t.Views[r].zoom=+a.zoomScale),cr(a.rightToLeft)&&(t.Views[r].RTL=!0)}))}function dp(e,t,r,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),Sr("sheetViews",Sr("sheetView",null,n),{})}function pp(e,t,r,a){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!==typeof e.f||"z"===e.t&&!e.f)return"";var n="",s=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=$n[e.v];break;case"d":a&&a.cellDates?n=kt(e.v,-1).toISOString():(e=Et(e),e.t="n",n=""+(e.v=ht(kt(e.v)))),"undefined"===typeof e.z&&(e.z=Z[14]);break;default:n=e.v;break}var o=Er("v",tr(n)),c={r:t},l=Md(a.cellXfs,e,a);switch(0!==l&&(c.s=l),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.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(a&&a.bookSST){o=Er("v",""+Dd(a.Strings,e.v,a.revStrings)),c.t="s";break}c.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;o=Sr("f",tr(e.f),f)+(null!=e.v?o:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),Sr("c",o,c)}var mp=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,n=/ref=["']([^"']*)["']/,s=mr("v"),i=mr("f");return function(o,c,l,f,h,u){for(var d,p,m,b,v,g=0,w="",k=[],T=[],E=0,y=0,S=0,_="",x=0,A=0,C=0,R=0,I=Array.isArray(u.CellXf),O=[],N=[],D=Array.isArray(c),F=[],P={},M=!1,L=!!l.sheetStubs,U=o.split(t),B=0,W=U.length;B!=W;++B){w=U[B].trim();var H=w.length;if(0!==H){var z=0;e:for(g=0;g<H;++g)switch(w[g]){case">":if("/"!=w[g-1]){++g;break e}if(l&&l.cellStyles){if(p=Yt(w.slice(z,g),!0),x=null!=p.r?parseInt(p.r,10):x+1,A=-1,l.sheetRows&&l.sheetRows<x)continue;P={},M=!1,p.ht&&(M=!0,P.hpt=parseFloat(p.ht),P.hpx=Ml(P.hpt)),"1"==p.hidden&&(M=!0,P.hidden=!0),null!=p.outlineLevel&&(M=!0,P.level=+p.outlineLevel),M&&(F[x-1]=P)}break;case"<":z=g;break}if(z>=g)break;if(p=Yt(w.slice(z,g),!0),x=null!=p.r?parseInt(p.r,10):x+1,A=-1,!(l.sheetRows&&l.sheetRows<x)){f.s.r>x-1&&(f.s.r=x-1),f.e.r<x-1&&(f.e.r=x-1),l&&l.cellStyles&&(P={},M=!1,p.ht&&(M=!0,P.hpt=parseFloat(p.ht),P.hpx=Ml(P.hpt)),"1"==p.hidden&&(M=!0,P.hidden=!0),null!=p.outlineLevel&&(M=!0,P.level=+p.outlineLevel),M&&(F[x-1]=P)),k=w.slice(g).split(e);for(var V=0;V!=k.length;++V)if("<"!=k[V].trim().charAt(0))break;for(k=k.slice(V),g=0;g!=k.length;++g)if(w=k[g].trim(),0!==w.length){if(T=w.match(r),E=g,y=0,S=0,w="<c "+("<"==w.slice(0,1)?">":"")+w,null!=T&&2===T.length){for(E=0,_=T[1],y=0;y!=_.length;++y){if((S=_.charCodeAt(y)-64)<1||S>26)break;E=26*E+S}--E,A=E}else++A;for(y=0;y!=w.length;++y)if(62===w.charCodeAt(y))break;if(++y,p=Yt(w.slice(0,y),!0),p.r||(p.r=Fa({r:x-1,c:A})),_=w.slice(y),d={t:""},null!=(T=_.match(s))&&""!==T[1]&&(d.v=qt(T[1])),l.cellFormula){if(null!=(T=_.match(i))&&""!==T[1]){if(d.f=qt(dr(T[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=Fh(d.f)),T[0].indexOf('t="array"')>-1)d.F=(_.match(n)||[])[1],d.F.indexOf(":")>-1&&O.push([La(d.F),d.F]);else if(T[0].indexOf('t="shared"')>-1){b=Yt(T[0]);var j=qt(dr(T[1]));l.xlfn||(j=Fh(j)),N[parseInt(b.si,10)]=[b,j,p.r]}}else(T=_.match(/<f[^>]*\/>/))&&(b=Yt(T[0]),N[b.si]&&(d.f=Nh(N[b.si][1],N[b.si][2],p.r)));var G=Da(p.r);for(y=0;y<O.length;++y)G.r>=O[y][0].s.r&&G.r<=O[y][0].e.r&&G.c>=O[y][0].s.c&&G.c<=O[y][0].e.c&&(d.F=O[y][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!L)continue;d.t="z"}else d.t=p.t||"n";switch(f.s.c>A&&(f.s.c=A),f.e.c<A&&(f.e.c=A),d.t){case"n":if(""==d.v||null==d.v){if(!L)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!L)continue;d.t="z"}else m=Id[parseInt(d.v,10)],d.v=m.t,d.r=m.r,l.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?dr(d.v):"",l.cellHTML&&(d.h=nr(d.v));break;case"inlineStr":T=_.match(a),d.t="s",null!=T&&(m=Mc(T[1]))?(d.v=m.t,l.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=cr(d.v);break;case"d":l.cellDates?d.v=kt(d.v,1):(d.v=ht(kt(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Xn[d.v];break}if(C=R=0,v=null,I&&void 0!==p.s&&(v=u.CellXf[p.s],null!=v&&(null!=v.numFmtId&&(C=v.numFmtId),l.cellStyles&&null!=v.fillId&&(R=v.fillId))),Ld(d,C,R,l,h,u),l.cellDates&&I&&"n"==d.t&&Ue(Z[C])&&(d.t="d",d.v=mt(d.v)),p.cm&&l.xlmeta){var $=(l.xlmeta.Cell||[])[+p.cm-1];$&&"XLDAPR"==$.type&&(d.D=!0)}if(D){var X=Da(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}F.length>0&&(c["!rows"]=F)}}();function bp(e,t,r,a){var n,s,i=[],o=[],c=La(e["!ref"]),l="",f="",h=[],u=0,d=0,p=e["!rows"],m=Array.isArray(e),b={r:f},v=-1;for(d=c.s.c;d<=c.e.c;++d)h[d]=Ra(d);for(u=c.s.r;u<=c.e.r;++u){for(o=[],f=_a(u),d=c.s.c;d<=c.e.c;++d){n=h[d]+f;var g=m?(e[u]||[])[d]:e[n];void 0!==g&&(null!=(l=pp(g,n,e,t,r,a))&&o.push(l))}(o.length>0||p&&p[u])&&(b={r:f},p&&p[u]&&(s=p[u],s.hidden&&(b.hidden=1),v=-1,s.hpx?v=Pl(s.hpx):s.hpt&&(v=s.hpt),v>-1&&(b.ht=v,b.customHeight=1),s.level&&(b.outlineLevel=s.level)),i[i.length]=Sr("row",o.join(""),b))}if(p)for(;u<p.length;++u)p&&p[u]&&(b={r:u+1},s=p[u],s.hidden&&(b.hidden=1),v=-1,s.hpx?v=Pl(s.hpx):s.hpt&&(v=s.hpt),v>-1&&(b.ht=v,b.customHeight=1),s.level&&(b.outlineLevel=s.level),i[i.length]=Sr("row","",b));return i.join("")}function vp(e,t,r,a){var n=[Ht,Sr("worksheet",null,{xmlns:Ir[0],"xmlns:r":Rr.r})],s=r.SheetNames[e],i=0,o="",c=r.Sheets[s];null==c&&(c={});var l=c["!ref"]||"A1",f=La(l);if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),l=Ma(f)}a||(a={}),c["!comments"]=[];var h=[];ep(c,r,e,t,n),n[n.length]=Sr("dimension",null,{ref:l}),n[n.length]=dp(c,t,e,r),t.sheetFormat&&(n[n.length]=Sr("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(n[n.length]=cp(c,c["!cols"])),n[i=n.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(o=bp(c,t,e,r,a),o.length>0&&(n[n.length]=o)),n.length>i+1&&(n[n.length]="</sheetData>",n[i]=n[i].replace("/>",">")),c["!protect"]&&(n[n.length]=ap(c["!protect"])),null!=c["!autofilter"]&&(n[n.length]=fp(c["!autofilter"],c,r,e)),null!=c["!merges"]&&c["!merges"].length>0&&(n[n.length]=Zd(c["!merges"]));var u,d=-1,p=-1;return c["!links"].length>0&&(n[n.length]="<hyperlinks>",c["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=as(a,-1,tr(e[1].Target).replace(/#.*$/,""),Qn.HLINK),u["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(u.location=tr(e[1].Target.slice(d+1))),e[1].Tooltip&&(u.tooltip=tr(e[1].Tooltip)),n[n.length]=Sr("hyperlink",null,u))})),n[n.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(n[n.length]=ip(c["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(n[n.length]=Er("ignoredErrors",Sr("ignoredError",null,{numberStoredAsText:1,sqref:l}))),h.length>0&&(p=as(a,-1,"../drawings/drawing"+(e+1)+".xml",Qn.DRAW),n[n.length]=Sr("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=h),c["!comments"].length>0&&(p=as(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Qn.VML),n[n.length]=Sr("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),n.length>1&&(n[n.length]="</worksheet>",n[1]=n[1].replace("/>",">")),n.join("")}function gp(e,t){var r={},a=e.l+t;r.r=e.read_shift(4),e.l+=4;var n=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=a,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=n/20),r}function wp(e,t,r){var a=ba(145),n=(r["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var s=320;n.hpx?s=20*Pl(n.hpx):n.hpt&&(s=20*n.hpt),a.write_shift(2,s),a.write_shift(1,0);var i=0;n.level&&(i|=n.level),n.hidden&&(i|=16),(n.hpx||n.hpt)&&(i|=32),a.write_shift(1,i),a.write_shift(1,0);var o=0,c=a.l;a.l+=4;for(var l={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,d=f<<10;d<f+1<<10;++d){l.c=d;var p=Array.isArray(r)?(r[l.r]||[])[l.c]:r[Fa(l)];p&&(h<0&&(h=d),u=d)}h<0||(++o,a.write_shift(4,h),a.write_shift(4,u))}var m=a.l;return a.l=c,a.write_shift(4,o),a.l=m,a.length>a.l?a.slice(0,a.l):a}function kp(e,t,r,a){var n=wp(a,r,t);(n.length>17||(t["!rows"]||[])[a])&&wa(e,0,n)}var Tp=mn,Ep=bn;function yp(){}function Sp(e,t){var r={},a=e[e.l];return++e.l,r.above=!(64&a),r.left=!(128&a),e.l+=18,r.name=an(e,t-19),r}function _p(e,t,r){null==r&&(r=ba(84+4*e.length));var a=192;t&&(t.above&&(a&=-65),t.left&&(a&=-129)),r.write_shift(1,a);for(var n=1;n<3;++n)r.write_shift(1,0);return kn({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),nn(e,r),r.slice(0,r.l)}function xp(e){var t=Qa(e);return[t]}function Ap(e,t,r){return null==r&&(r=ba(8)),en(t,r)}function Cp(e){var t=tn(e);return[t]}function Rp(e,t,r){return null==r&&(r=ba(4)),rn(t,r)}function Ip(e){var t=Qa(e),r=e.read_shift(1);return[t,r,"b"]}function Op(e,t,r){return null==r&&(r=ba(9)),en(t,r),r.write_shift(1,e.v?1:0),r}function Np(e){var t=tn(e),r=e.read_shift(1);return[t,r,"b"]}function Dp(e,t,r){return null==r&&(r=ba(5)),rn(t,r),r.write_shift(1,e.v?1:0),r}function Fp(e){var t=Qa(e),r=e.read_shift(1);return[t,r,"e"]}function Pp(e,t,r){return null==r&&(r=ba(9)),en(t,r),r.write_shift(1,e.v),r}function Mp(e){var t=tn(e),r=e.read_shift(1);return[t,r,"e"]}function Lp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function Up(e){var t=Qa(e),r=e.read_shift(4);return[t,r,"s"]}function Bp(e,t,r){return null==r&&(r=ba(12)),en(t,r),r.write_shift(4,t.v),r}function Wp(e){var t=tn(e),r=e.read_shift(4);return[t,r,"s"]}function Hp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),r.write_shift(4,t.v),r}function zp(e){var t=Qa(e),r=vn(e);return[t,r,"n"]}function Vp(e,t,r){return null==r&&(r=ba(16)),en(t,r),gn(e.v,r),r}function jp(e){var t=tn(e),r=vn(e);return[t,r,"n"]}function Gp(e,t,r){return null==r&&(r=ba(12)),rn(t,r),gn(e.v,r),r}function $p(e){var t=Qa(e),r=hn(e);return[t,r,"n"]}function Xp(e,t,r){return null==r&&(r=ba(12)),en(t,r),un(e.v,r),r}function Yp(e){var t=tn(e),r=hn(e);return[t,r,"n"]}function Kp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),un(e.v,r),r}function Jp(e){var t=Qa(e),r=Ka(e);return[t,r,"is"]}function Zp(e){var t=Qa(e),r=Ga(e);return[t,r,"str"]}function qp(e,t,r){return null==r&&(r=ba(12+4*e.v.length)),en(t,r),$a(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Qp(e){var t=tn(e),r=Ga(e);return[t,r,"str"]}function em(e,t,r){return null==r&&(r=ba(8+4*e.v.length)),rn(t,r),$a(e.v,r),r.length>r.l?r.slice(0,r.l):r}function tm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=e.read_shift(1),i=[n,s,"b"];if(r.cellFormula){e.l+=2;var o=kd(e,a-e.l,r);i[3]=ld(o,null,n,r.supbooks,r)}else e.l=a;return i}function rm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=e.read_shift(1),i=[n,s,"e"];if(r.cellFormula){e.l+=2;var o=kd(e,a-e.l,r);i[3]=ld(o,null,n,r.supbooks,r)}else e.l=a;return i}function am(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=vn(e),i=[n,s,"n"];if(r.cellFormula){e.l+=2;var o=kd(e,a-e.l,r);i[3]=ld(o,null,n,r.supbooks,r)}else e.l=a;return i}function nm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=Ga(e),i=[n,s,"str"];if(r.cellFormula){e.l+=2;var o=kd(e,a-e.l,r);i[3]=ld(o,null,n,r.supbooks,r)}else e.l=a;return i}var sm=mn,im=bn;function om(e,t){return null==t&&(t=ba(4)),t.write_shift(4,e),t}function cm(e,t){var r=e.l+t,a=mn(e,16),n=sn(e),s=Ga(e),i=Ga(e),o=Ga(e);e.l=r;var c={rfx:a,relId:n,loc:s,display:o};return i&&(c.Tooltip=i),c}function lm(e,t){var r=ba(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));bn({s:Da(e[0]),e:Da(e[0])},r),fn("rId"+t,r);var a=e[1].Target.indexOf("#"),n=-1==a?"":e[1].Target.slice(a+1);return $a(n||"",r),$a(e[1].Tooltip||"",r),$a("",r),r.slice(0,r.l)}function fm(){}function hm(e,t,r){var a=e.l+t,n=dn(e,16),s=e.read_shift(1),i=[n];if(i[2]=s,r.cellFormula){var o=wd(e,a-e.l,r);i[1]=o}else e.l=a;return i}function um(e,t,r){var a=e.l+t,n=mn(e,16),s=[n];if(r.cellFormula){var i=Ed(e,a-e.l,r);s[1]=i,e.l=a}else e.l=a;return s}function dm(e,t,r){null==r&&(r=ba(18));var a=Fd(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(a.width||10)),r.write_shift(4,0);var n=0;return t.hidden&&(n|=1),"number"==typeof a.width&&(n|=2),t.level&&(n|=t.level<<8),r.write_shift(2,n),r}var pm=["left","right","top","bottom","header","footer"];function mm(e){var t={};return pm.forEach((function(r){t[r]=vn(e,8)})),t}function bm(e,t){return null==t&&(t=ba(48)),Pd(e),pm.forEach((function(r){gn(e[r],t)})),t}function vm(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function gm(e,t,r){null==r&&(r=ba(30));var a=924;return(((t||{}).Views||[])[0]||{}).RTL&&(a|=32),r.write_shift(2,a),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 wm(e){var t=ba(24);return t.write_shift(4,4),t.write_shift(4,1),bn(e,t),t}function km(e,t){return null==t&&(t=ba(66)),t.write_shift(2,e.password?fl(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 Tm(){}function Em(){}function ym(e,t,r,a,n,s,i){if(!e)return e;var o=t||{};a||(a={"!id":{}}),null!=k&&null==o.dense&&(o.dense=k);var c,l,f,h,u,d,p,m,b,v,g=o.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},T=[],E=!1,y=!1,S=[];o.biff=12,o["!row"]=0;var _=0,x=!1,A=[],C={},R=o.supbooks||n.supbooks||[[]];if(R.sharedf=C,R.arrayf=A,R.SheetNames=n.SheetNames||n.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=R,n.Names))for(var I=0;I<n.Names.length;++I)R[0][I+1]=n.Names[I];var O,N,D=[],F=[],P=!1;if(mv[16]={n:"BrtShortReal",f:jp},va(e,(function(e,t,k){if(!y)switch(k){case 148:c=e;break;case 0:l=e,o.sheetRows&&o.sheetRows<=l.r&&(y=!0),b=_a(u=l.r),o["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Ml(e.hpt)),F[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(f={t:e[2]},e[2]){case"n":f.v=e[1];break;case"s":m=Id[e[1]],f.v=m.t,f.r=m.r;break;case"b":f.v=!!e[1];break;case"e":f.v=e[1],!1!==o.cellText&&(f.w=$n[f.v]);break;case"str":f.t="s",f.v=e[1];break;case"is":f.t="s",f.v=e[1].t;break}if((h=i.CellXf[e[0].iStyleRef])&&Ld(f,h.numFmtId,null,o,s,i),d=-1==e[0].c?d+1:e[0].c,o.dense?(g[u]||(g[u]=[]),g[u][d]=f):g[Ra(d)+b]=f,o.cellFormula){for(x=!1,_=0;_<A.length;++_){var I=A[_];l.r>=I[0].s.r&&l.r<=I[0].e.r&&d>=I[0].s.c&&d<=I[0].e.c&&(f.F=Ma(I[0]),x=!0)}!x&&e.length>3&&(f.f=e[3])}if(w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),o.cellDates&&h&&"n"==f.t&&Ue(Z[h.numFmtId])){var M=te(f.v);M&&(f.t="d",f.v=new Date(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u))}O&&("XLDAPR"==O.type&&(f.D=!0),O=void 0),N&&(N=void 0);break;case 1:case 12:if(!o.sheetStubs||E)break;f={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,o.dense?(g[u]||(g[u]=[]),g[u][d]=f):g[Ra(d)+b]=f,w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),O&&("XLDAPR"==O.type&&(f.D=!0),O=void 0),N&&(N=void 0);break;case 176:S.push(e);break;case 49:O=((o.xlmeta||{}).Cell||[])[e-1];break;case 494:var L=a["!id"][e.relId];for(L?(e.Target=L.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=L):""==e.relId&&(e.Target="#"+e.loc),u=e.rfx.s.r;u<=e.rfx.e.r;++u)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)o.dense?(g[u]||(g[u]=[]),g[u][d]||(g[u][d]={t:"z",v:void 0}),g[u][d].l=e):(p=Fa({c:d,r:u}),g[p]||(g[p]={t:"z",v:void 0}),g[p].l=e);break;case 426:if(!o.cellFormula)break;A.push(e),v=o.dense?g[u][d]:g[Ra(d)+b],v.f=ld(e[1],w,{r:l.r,c:d},R,o),v.F=Ma(e[0]);break;case 427:if(!o.cellFormula)break;C[Fa(e[0].s)]=e[1],v=o.dense?g[u][d]:g[Ra(d)+b],v.f=ld(e[1],w,{r:l.r,c:d},R,o);break;case 60:if(!o.cellStyles)break;while(e.e>=e.s)D[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},P||(P=!0,Ol(e.w/256)),Nl(D[e.e+1]);break;case 161:g["!autofilter"]={ref:Ma(e)};break;case 476:g["!margins"]=e;break;case 147:n.Sheets[r]||(n.Sheets[r]={}),e.name&&(n.Sheets[r].CodeName=e.name),(e.above||e.left)&&(g["!outline"]={above:e.above,left:e.left});break;case 137:n.Views||(n.Views=[{}]),n.Views[0]||(n.Views[0]={}),e.RTL&&(n.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:E=!0;break;case 36:E=!1;break;case 37:T.push(k),E=!0;break;case 38:T.pop(),E=!1;break;default:if(t.T);else if(!E||o.WTF)throw new Error("Unexpected record 0x"+k.toString(16))}}),o),delete o.supbooks,delete o["!row"],!g["!ref"]&&(w.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(g["!ref"]=Ma(c||w)),o.sheetRows&&g["!ref"]){var M=La(g["!ref"]);o.sheetRows<=+M.e.r&&(M.e.r=o.sheetRows-1,M.e.r>w.e.r&&(M.e.r=w.e.r),M.e.r<M.s.r&&(M.s.r=M.e.r),M.e.c>w.e.c&&(M.e.c=w.e.c),M.e.c<M.s.c&&(M.s.c=M.e.c),g["!fullref"]=g["!ref"],g["!ref"]=Ma(M))}return S.length>0&&(g["!merges"]=S),D.length>0&&(g["!cols"]=D),F.length>0&&(g["!rows"]=F),g}function Sm(e,t,r,a,n,s,i){if(void 0===t.v)return!1;var o="";switch(t.t){case"b":o=t.v?"1":"0";break;case"d":t=Et(t),t.z=t.z||Z[14],t.v=ht(kt(t.v)),t.t="n";break;case"n":case"e":o=""+t.v;break;default:o=t.v;break}var c={r:r,c:a};switch(c.s=Md(n.cellXfs,t,n),t.l&&s["!links"].push([Fa(c),t.l]),t.c&&s["!comments"].push([Fa(c),t.c]),t.t){case"s":case"str":return n.bookSST?(o=Dd(n.Strings,t.v,n.revStrings),c.t="s",c.v=o,i?wa(e,18,Hp(t,c)):wa(e,7,Bp(t,c))):(c.t="str",i?wa(e,17,em(t,c)):wa(e,6,qp(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?wa(e,13,Kp(t,c)):wa(e,2,Xp(t,c)):i?wa(e,16,Gp(t,c)):wa(e,5,Vp(t,c)),!0;case"b":return c.t="b",i?wa(e,15,Dp(t,c)):wa(e,4,Op(t,c)),!0;case"e":return c.t="e",i?wa(e,14,Lp(t,c)):wa(e,3,Pp(t,c)),!0}return i?wa(e,12,Rp(t,c)):wa(e,1,Ap(t,c)),!0}function _m(e,t,r,a){var n,s=La(t["!ref"]||"A1"),i="",o=[];wa(e,145);var c=Array.isArray(t),l=s.e.r;t["!rows"]&&(l=Math.max(s.e.r,t["!rows"].length-1));for(var f=s.s.r;f<=l;++f){i=_a(f),kp(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&&(o[u]=Ra(u)),n=o[u]+i;var d=c?(t[f]||[])[u]:t[n];d?h=Sm(e,d,f,u,a,t,h):h=!1}}wa(e,146)}function xm(e,t){t&&t["!merges"]&&(wa(e,177,om(t["!merges"].length)),t["!merges"].forEach((function(t){wa(e,176,im(t))})),wa(e,178))}function Am(e,t){t&&t["!cols"]&&(wa(e,390),t["!cols"].forEach((function(t,r){t&&wa(e,60,dm(r,t))})),wa(e,391))}function Cm(e,t){t&&t["!ref"]&&(wa(e,648),wa(e,649,wm(La(t["!ref"]))),wa(e,650))}function Rm(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var a=as(r,-1,t[1].Target.replace(/#.*$/,""),Qn.HLINK);wa(e,494,lm(t,a))}})),delete t["!links"]}function Im(e,t,r,a){if(t["!comments"].length>0){var n=as(a,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Qn.VML);wa(e,551,fn("rId"+n)),t["!legacy"]=n}}function Om(e,t,r,a){if(t["!autofilter"]){var n=t["!autofilter"],s="string"===typeof n.ref?n.ref:Ma(n.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,o=Pa(s);o.s.r==o.e.r&&(o.e.r=Pa(t["!ref"]).e.r,s=Ma(o));for(var c=0;c<i.length;++c){var l=i[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==a){l.Ref="'"+r.SheetNames[a]+"'!"+s;break}}c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+r.SheetNames[a]+"'!"+s}),wa(e,161,bn(La(s))),wa(e,162)}}function Nm(e,t,r){wa(e,133),wa(e,137,gm(t,r)),wa(e,138),wa(e,134)}function Dm(){}function Fm(e,t){t["!protect"]&&wa(e,535,km(t["!protect"]))}function Pm(e,t,r,a){var n=ga(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=s;try{r&&r.Workbook&&(o=r.Workbook.Sheets[e].CodeName||o)}catch(l){}var c=La(i["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],wa(n,129),(r.vbaraw||i["!outline"])&&wa(n,147,_p(o,i["!outline"])),wa(n,148,Ep(c)),Nm(n,i,r.Workbook),Dm(n,i),Am(n,i,e,t,r),_m(n,i,e,t,r),Fm(n,i),Om(n,i,r,e),xm(n,i),Rm(n,i,a),i["!margins"]&&wa(n,476,bm(i["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||Cm(n,i),Im(n,i,e,a),wa(n,130),n.end()}function Mm(e){var t,r=[],a=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=a?+t[2]:t[2])}));var n=qt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,n,t]}function Lm(e,t,r,a,n,s){var i=s||{"!type":"chart"};if(!e)return s;var o=0,c=0,l="A",f={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=Mm(e);f.s.r=f.s.c=0,f.e.c=o,l=Ra(o),t[0].forEach((function(e,r){i[l+_a(r)]={t:"n",v:e,z:t[1]},c=r})),f.e.r<c&&(f.e.r=c),++o})),o>0&&(i["!ref"]=Ma(f)),i}function Um(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var s,i={"!type":"chart","!drawel":null,"!rel":""},o=e.match(Xd);return o&&qd(o[0],i,n,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}function Bm(e,t){e.l+=10;var r=Ga(e,t-10);return{name:r}}function Wm(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},i=[],o=!1;return va(e,(function(e,a,c){switch(c){case 550:s["!rel"]=e;break;case 651:n.Sheets[r]||(n.Sheets[r]={}),e.name&&(n.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:i.push(c);break;case 38:i.pop();break;default:if(a.T>0)i.push(c);else if(a.T<0)i.pop();else if(!o||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),t),a["!id"][s["!rel"]]&&(s["!drawel"]=a["!id"][s["!rel"]]),s}var Hm=[["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"]],zm=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Vm=[],jm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Gm(e,t){for(var r=0;r!=e.length;++r)for(var a=e[r],n=0;n!=t.length;++n){var s=t[n];if(null==a[s[0]])a[s[0]]=s[1];else switch(s[2]){case"bool":"string"==typeof a[s[0]]&&(a[s[0]]=cr(a[s[0]]));break;case"int":"string"==typeof a[s[0]]&&(a[s[0]]=parseInt(a[s[0]],10));break}}}function $m(e,t){for(var r=0;r!=t.length;++r){var a=t[r];if(null==e[a[0]])e[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof e[a[0]]&&(e[a[0]]=cr(e[a[0]]));break;case"int":"string"==typeof e[a[0]]&&(e[a[0]]=parseInt(e[a[0]],10));break}}}function Xm(e){$m(e.WBProps,Hm),$m(e.CalcPr,jm),Gm(e.WBView,zm),Gm(e.Sheets,Vm),Od.date1904=cr(e.WBProps.date1904)}function Ym(e){return e.Workbook&&e.Workbook.WBProps&&cr(e.Workbook.WBProps.date1904)?"true":"false"}var Km="][*?/\\".split("");function Jm(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return Km.forEach((function(a){if(-1!=e.indexOf(a)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function Zm(e,t,r){e.forEach((function(a,n){Jm(a);for(var s=0;s<n;++s)if(a==e[s])throw new Error("Duplicate Sheet Name: "+a);if(r){var i=t&&t[n]&&t[n].CodeName||a;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}))}function qm(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||[];Zm(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)Ud(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var Qm=/<\w+:workbook/;function eb(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},a=!1,n="xmlns",s={},i=0;if(e.replace(Gt,(function(o,c){var l=Yt(o);switch(Kt(l[0])){case"<?xml":break;case"<workbook":o.match(Qm)&&(n="xmlns"+o.match(/<(\w+):/)[1]),r.xmlns=l[n];break;case"</workbook>":break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Hm.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=cr(l[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:r.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(r.WBProps.CodeName=dr(l.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=qt(dr(l.name)),delete l[0],r.Sheets.push(l);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":a=!0;break;case"</definedNames>":a=!1;break;case"<definedName":s={},s.Name=dr(l.name),l.comment&&(s.Comment=l.comment),l.localSheetId&&(s.Sheet=+l.localSheetId),cr(l.hidden||"0")&&(s.Hidden=!0),i=c+o.length;break;case"</definedName>":s.Ref=qt(dr(e.slice(i,c))),r.Names.push(s);break;case"<definedName/>":break;case"<calcPr":delete l[0],r.CalcPr=l;break;case"<calcPr/>":delete l[0],r.CalcPr=l;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":a=!0;break;case"</AlternateContent>":a=!1;break;case"<revisionPtr":break;default:if(!a&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return o})),-1===Ir.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return Xm(r),r}function tb(e){var t=[Ht];t[t.length]=Sr("workbook",null,{xmlns:Ir[0],"xmlns:r":Rr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,a={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Hm.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(a[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(a.codeName=e.Workbook.WBProps.CodeName,delete a.CodeName)),t[t.length]=Sr("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[],s=0;if(n&&n[0]&&n[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=e.SheetNames.length;++s){if(!n[s])break;if(!n[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:tr(e.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),n[s])switch(n[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden";break}t[t.length]=Sr("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]=Sr("definedName",tr(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function rb(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=ln(e,t-8),r.name=Ga(e),r}function ab(e,t){return t||(t=ba(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),fn(e.strRelID,t),$a(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function nb(e,t){var r={},a=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var n=t>8?Ga(e):"";return n.length>0&&(r.CodeName=n),r.autoCompressPictures=!!(65536&a),r.backupFile=!!(64&a),r.checkCompatibility=!!(4096&a),r.date1904=!!(1&a),r.filterPrivacy=!!(8&a),r.hidePivotFieldList=!!(1024&a),r.promptedSolutions=!!(16&a),r.publishItems=!!(2048&a),r.refreshAllConnections=!!(262144&a),r.saveExternalLinkValues=!!(128&a),r.showBorderUnselectedTables=!!(4&a),r.showInkAnnotation=!!(32&a),r.showObjects=["all","placeholders","none"][a>>13&3],r.showPivotChartFilter=!!(32768&a),r.updateLinks=["userSet","never","always"][a>>8&3],r}function sb(e,t){t||(t=ba(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),nn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function ib(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function ob(e,t,r){var a=e.l+t;e.l+=4,e.l+=1;var n=e.read_shift(4),s=cn(e),i=Td(e,0,r),o=sn(e);e.l=a;var c={Name:s,Ptg:i};return n<268435455&&(c.Sheet=n),o&&(c.Comment=o),c}function cb(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},a=[],n=!1;t||(t={}),t.biff=12;var s=[],i=[[]];return i.SheetNames=[],i.XTI=[],mv[16]={n:"BrtFRTArchID$",f:ib},va(e,(function(e,o,c){switch(c){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=ld(e.Ptg,null,null,i,t),delete t.SID,delete e.Ptg,s.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:a.push(c),n=!0;break;case 36:a.pop(),n=!1;break;case 37:a.push(c),n=!0;break;case 38:a.pop(),n=!1;break;case 16:break;default:if(o.T);else if(!n||t.WTF&&37!=a[a.length-1]&&35!=a[a.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),Xm(r),r.Names=s,r.supbooks=i,r}function lb(e,t){wa(e,143);for(var r=0;r!=t.SheetNames.length;++r){var a=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,n={Hidden:a,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};wa(e,156,ab(n))}wa(e,144)}function fb(e,t){t||(t=ba(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return $a("SheetJS",t),$a(a.version,t),$a(a.version,t),$a("7262",t),t.length>t.l?t.slice(0,t.l):t}function hb(e,t){t||(t=ba(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 ub(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,a=0,n=-1,s=-1;a<r.length;++a)!r[a]||!r[a].Hidden&&-1==n?n=a:1==r[a].Hidden&&-1==s&&(s=a);s>n||(wa(e,135),wa(e,158,hb(n)),wa(e,136))}}function db(e,t){var r=ga();return wa(r,131),wa(r,128,fb()),wa(r,153,sb(e.Workbook&&e.Workbook.WBProps||null)),ub(r,e,t),lb(r,e,t),wa(r,132),r.end()}function pb(e,t,r){return".bin"===t.slice(-4)?cb(e,r):eb(e,r)}function mb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?ym(e,a,r,n,s,i,o):Jd(e,a,r,n,s,i,o)}function bb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?Wm(e,a,r,n,s,i,o):Um(e,a,r,n,s,i,o)}function vb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?xh(e,a,r,n,s,i,o):Ah(e,a,r,n,s,i,o)}function gb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?Sh(e,a,r,n,s,i,o):_h(e,a,r,n,s,i,o)}function wb(e,t,r,a){return".bin"===t.slice(-4)?hf(e,r,a):Xl(e,r,a)}function kb(e,t,r){return Nf(e,r)}function Tb(e,t,r){return".bin"===t.slice(-4)?jc(e,r):Wc(e,r)}function Eb(e,t,r){return".bin"===t.slice(-4)?gh(e,r):ch(e,r)}function yb(e,t,r){return".bin"===t.slice(-4)?th(e,t,r):Qf(e,t,r)}function Sb(e,t,r,a){return".bin"===r.slice(-4)?ah(e,t,r,a):rh(e,t,r,a)}function _b(e,t,r){return".bin"===t.slice(-4)?Kf(e,t,r):Zf(e,t,r)}function xb(e,t,r){return(".bin"===t.slice(-4)?db:tb)(e,r)}function Ab(e,t,r,a,n){return(".bin"===t.slice(-4)?Pm:vp)(e,r,a,n)}function Cb(e,t,r){return(".bin"===t.slice(-4)?Ef:Yl)(e,r)}function Rb(e,t,r){return(".bin"===t.slice(-4)?Xc:zc)(e,r)}function Ib(e,t,r){return(".bin"===t.slice(-4)?wh:lh)(e,r)}function Ob(e){return(".bin"===e.slice(-4)?Jf:qf)()}var Nb,Db=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Fb=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Pb(e,t){var r=e.split(/\s+/),a=[];if(t||(a[0]=r[0]),1===r.length)return a;var n,s,i,o,c=e.match(Db);if(c)for(o=0;o!=c.length;++o)n=c[o].match(Fb),-1===(s=n[1].indexOf(":"))?a[n[1]]=n[2].slice(1,n[2].length-1):(i="xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(s+1),a[i]=n[2].slice(1,n[2].length-1));return a}function Mb(e){var t=e.split(/\s+/),r={};if(1===t.length)return r;var a,n,s,i,o=e.match(Db);if(o)for(i=0;i!=o.length;++i)a=o[i].match(Fb),-1===(n=a[1].indexOf(":"))?r[a[1]]=a[2].slice(1,a[2].length-1):(s="xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(n+1),r[s]=a[2].slice(1,a[2].length-1));return r}function Lb(e,t){var r=Nb[e]||qt(e);return"General"===r?he(t):Ve(r,t)}function Ub(e,t,r,a){var n=a;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=cr(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=kt(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[qt(t)]=n}function Bb(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v):e.w=he(e.v):e.w=Lb(t||"General",e.v)}catch(s){if(r.WTF)throw s}try{var a=Nb[t]||t||"General";if(r.cellNF&&(e.z=a),r.cellDates&&"n"==e.t&&Ue(a)){var n=te(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}catch(s){if(r.WTF)throw s}}}function Wb(e,t,r){if(r.cellStyles&&t.Interior){var a=t.Interior;a.Pattern&&(a.patternType=Ll[a.Pattern]||a.Pattern)}e[t.ID]=t}function Hb(e,t,r,a,n,s,i,o,c,l){var f="General",h=a.StyleID,u={};l=l||{};var d=[],p=0;void 0===h&&o&&(h=o.StyleID),void 0===h&&i&&(h=i.StyleID);while(void 0!==s[h]){if(s[h].nf&&(f=s[h].nf),s[h].Interior&&d.push(s[h].Interior),!s[h].Parent)break;h=s[h].Parent}switch(r.Type){case"Boolean":a.t="b",a.v=cr(e);break;case"String":a.t="s",a.r=ir(qt(e)),a.v=e.indexOf("<")>-1?qt(t||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),a.v=(kt(e)-new Date(Date.UTC(1899,11,30)))/864e5,a.v!==a.v?a.v=qt(e):a.v<60&&(a.v=a.v-1),f&&"General"!=f||(f="yyyy-mm-dd");case"Number":void 0===a.v&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=Xn[e],!1!==l.cellText&&(a.w=e);break;default:""==e&&""==t?a.t="z":(a.t="s",a.v=ir(t||e));break}if(Bb(a,f,l),!1!==l.cellFormula)if(a.Formula){var m=qt(a.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),a.f=Ch(m,n),delete a.Formula,"RC"==a.ArrayRange?a.F=Ch("RC:RC",n):a.ArrayRange&&(a.F=Ch(a.ArrayRange,n),c.push([La(a.F),a.F]))}else for(p=0;p<c.length;++p)n.r>=c[p][0].s.r&&n.r<=c[p][0].e.r&&n.c>=c[p][0].s.c&&n.c<=c[p][0].e.c&&(a.F=c[p][1]);l.cellStyles&&(d.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),a.s=u),void 0!==a.StyleID&&(a.ixfe=a.StyleID)}function zb(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Vb(e,t){var r=t||{};$e();var a=b(Ar(e));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(a="undefined"!==typeof m?m.utils.decode(65001,u(a)):dr(a));var n,s=a.slice(0,1024).toLowerCase(),i=!1;if(s=s.replace(/".*?"/g,""),(1023&s.indexOf(">"))>Math.min(1023&s.indexOf(","),1023&s.indexOf(";"))){var o=Et(r);return o.type="string",Ac.to_workbook(a,o)}if(-1==s.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){s.indexOf("<"+e)>=0&&(i=!0)})),i)return Wv(a,r);Nb={"General Number":"General","General Date":Z[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Z[15],"Short Date":Z[14],"Long Time":Z[19],"Medium Time":Z[18],"Short Time":Z[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Z[2],Standard:Z[4],Percent:Z[10],Scientific:Z[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,l=[];null!=k&&null==r.dense&&(r.dense=k);var f,h={},d=[],p=r.dense?[]:{},v="",g={},w={},T=Pb('<Data ss:Type="String">'),E=0,y=0,S=0,_={s:{r:2e6,c:2e6},e:{r:0,c:0}},x={},A={},C="",R=0,I=[],O={},N={},D=0,F=[],P=[],M={},L=[],U=!1,B=[],W=[],H={},z=0,V=0,j={Sheets:[],WBProps:{date1904:!1}},G={};Cr.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/gm,"");var $="";while(n=Cr.exec(a))switch(n[3]=($=n[3]).toLowerCase()){case"data":if("data"==$){if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&l.push([n[3],!0]);break}if(l[l.length-1][1])break;"/"===n[1]?Hb(a.slice(E,n.index),C,T,"comment"==l[l.length-1][0]?M:g,{c:y,r:S},x,L[y],w,B,r):(C="",T=Pb(n[0]),E=n.index+n[0].length);break;case"cell":if("/"===n[1])if(P.length>0&&(g.c=P),(!r.sheetRows||r.sheetRows>S)&&void 0!==g.v&&(r.dense?(p[S]||(p[S]=[]),p[S][y]=g):p[Ra(y)+_a(S)]=g),g.HRef&&(g.l={Target:qt(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(z=y+(0|parseInt(g.MergeAcross,10)),V=S+(0|parseInt(g.MergeDown,10)),I.push({s:{c:y,r:S},e:{c:z,r:V}})),r.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var X=y;X<=z;++X)for(var Y=S;Y<=V;++Y)(X>y||Y>S)&&(r.dense?(p[Y]||(p[Y]=[]),p[Y][X]={t:"z"}):p[Ra(X)+_a(Y)]={t:"z"});y=z+1}else++y;else g.MergeAcross?y=z+1:++y;else g=Mb(n[0]),g.Index&&(y=+g.Index-1),y<_.s.c&&(_.s.c=y),y>_.e.c&&(_.e.c=y),"/>"===n[0].slice(-2)&&++y,P=[];break;case"row":"/"===n[1]||"/>"===n[0].slice(-2)?(S<_.s.r&&(_.s.r=S),S>_.e.r&&(_.e.r=S),"/>"===n[0].slice(-2)&&(w=Pb(n[0]),w.Index&&(S=+w.Index-1)),y=0,++S):(w=Pb(n[0]),w.Index&&(S=+w.Index-1),H={},("0"==w.AutoFitHeight||w.Height)&&(H.hpx=parseInt(w.Height,10),H.hpt=Pl(H.hpx),W[S]=H),"1"==w.Hidden&&(H.hidden=!0,W[S]=H));break;case"worksheet":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"));d.push(v),_.s.r<=_.e.r&&_.s.c<=_.e.c&&(p["!ref"]=Ma(_),r.sheetRows&&r.sheetRows<=_.e.r&&(p["!fullref"]=p["!ref"],_.e.r=r.sheetRows-1,p["!ref"]=Ma(_))),I.length&&(p["!merges"]=I),L.length>0&&(p["!cols"]=L),W.length>0&&(p["!rows"]=W),h[v]=p}else _={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=y=0,l.push([n[3],!1]),c=Pb(n[0]),v=qt(c.Name),p=r.dense?[]:{},I=[],B=[],W=[],G={name:v,Hidden:0},j.Sheets.push(G);break;case"table":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==n[0].slice(-2))break;l.push([n[3],!1]),L=[],U=!1}break;case"style":"/"===n[1]?Wb(x,A,r):A=Pb(n[0]);break;case"numberformat":A.nf=qt(Pb(n[0]).Format||"General"),Nb[A.nf]&&(A.nf=Nb[A.nf]);for(var K=0;392!=K;++K)if(Z[K]==A.nf)break;if(392==K)for(K=57;392!=K;++K)if(null==Z[K]){je(A.nf,K);break}break;case"column":if("table"!==l[l.length-1][0])break;if(f=Pb(n[0]),f.Hidden&&(f.hidden=!0,delete f.Hidden),f.Width&&(f.wpx=parseInt(f.Width,10)),!U&&f.wpx>10){U=!0,xl=yl;for(var J=0;J<L.length;++J)L[J]&&Nl(L[J])}U&&Nl(f),L[f.Index-1||L.length]=f;for(var q=0;q<+f.Span;++q)L[L.length]=Et(f);break;case"namedrange":if("/"===n[1])break;j.Names||(j.Names=[]);var Q=Yt(n[0]),ee={Name:Q.Name,Ref:Ch(Q.RefersTo.slice(1),{r:0,c:0})};j.Sheets.length>0&&(ee.Sheet=j.Sheets.length-1),j.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if("/>"===n[0].slice(-2))break;"/"===n[1]?C+=a.slice(R,n.index):R=n.index+n[0].length;break;case"interior":if(!r.cellStyles)break;A.Interior=Pb(n[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===n[0].slice(-2))break;"/"===n[1]?xs(O,$,a.slice(D,n.index)):D=n.index+n[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else l.push([n[3],!1]);break;case"comment":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"));zb(M),P.push(M)}else l.push([n[3],!1]),c=Pb(n[0]),M={a:c.Author};break;case"autofilter":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==n[0].charAt(n[0].length-2)){var te=Pb(n[0]);p["!autofilter"]={ref:Ch(te.Range).replace(/\$/g,"")},l.push([n[3],!0])}break;case"name":break;case"datavalidation":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&l.push([n[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===n[1]){if((c=l.pop())[0]!==n[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&l.push([n[3],!0]);break;case"null":break;default:if(0==l.length&&"document"==n[3])return qv(a,r);if(0==l.length&&"uof"==n[3])return qv(a,r);var re=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(n[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(n[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(n[3]){case"date1904":j.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(n[3]){case"owcversion":break;case"height":break;case"width":break;default:re=!1}break;case"worksheetoptions":switch(n[3]){case"visible":if("/>"===n[0].slice(-2));else if("/"===n[1])switch(a.slice(D,n.index)){case"SheetHidden":G.Hidden=1;break;case"SheetVeryHidden":G.Hidden=2;break}else D=n.index+n[0].length;break;case"header":p["!margins"]||Pd(p["!margins"]={},"xlml"),isNaN(+Yt(n[0]).Margin)||(p["!margins"].header=+Yt(n[0]).Margin);break;case"footer":p["!margins"]||Pd(p["!margins"]={},"xlml"),isNaN(+Yt(n[0]).Margin)||(p["!margins"].footer=+Yt(n[0]).Margin);break;case"pagemargins":var ae=Yt(n[0]);p["!margins"]||Pd(p["!margins"]={},"xlml"),isNaN(+ae.Top)||(p["!margins"].top=+ae.Top),isNaN(+ae.Left)||(p["!margins"].left=+ae.Left),isNaN(+ae.Right)||(p["!margins"].right=+ae.Right),isNaN(+ae.Bottom)||(p["!margins"].bottom=+ae.Bottom);break;case"displayrighttoleft":j.Views||(j.Views=[]),j.Views[0]||(j.Views[0]={}),j.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:re=!1}break;case"pivottable":case"pivotcache":switch(n[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:re=!1}break;case"pagebreaks":switch(n[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:re=!1}break;case"autofilter":switch(n[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:re=!1}break;case"querytable":switch(n[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(n[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(n[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(n[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1;break}if(re)break;if(n[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+n[3]+"|"+l.join("|");if("customdocumentproperties"===l[l.length-1][0]){if("/>"===n[0].slice(-2))break;"/"===n[1]?Ub(N,$,F,a.slice(D,n.index)):(F=n,D=n.index+n[0].length);break}if(r.WTF)throw"Unrecognized tag: "+n[3]+"|"+l.join("|")}var ne={};return r.bookSheets||r.bookProps||(ne.Sheets=h),ne.SheetNames=d,ne.Workbook=j,ne.SSF=Et(Z),ne.Props=O,ne.Custprops=N,ne}function jb(e,t){switch(Ug(t=t||{}),t.type||"base64"){case"base64":return Vb(S(e),t);case"binary":case"buffer":case"file":return Vb(e,t);case"array":return Vb(O(e),t)}}function Gb(e,t){var r=[];return e.Props&&r.push(As(e.Props,t)),e.Custprops&&r.push(Cs(e.Props,e.Custprops,t)),r.join("")}function $b(){return""}function Xb(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var a=[];a.push(Sr("NumberFormat",null,{"ss:Format":tr(Z[e.numFmtId])}));var n={"ss:ID":"s"+(21+t)};r.push(Sr("Style",a.join(""),n))})),Sr("Styles",r.join(""))}function Yb(e){return Sr("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Ih(e.Ref,{r:0,c:0})})}function Kb(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],a=0;a<t.length;++a){var n=t[a];null==n.Sheet&&(n.Name.match(/^_xlfn\./)||r.push(Yb(n)))}return Sr("Names",r.join(""))}function Jb(e,t,r,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";for(var n=a.Workbook.Names,s=[],i=0;i<n.length;++i){var o=n[i];o.Sheet==r&&(o.Name.match(/^_xlfn\./)||s.push(Yb(o)))}return s.join("")}function Zb(e,t,r,a){if(!e)return"";var n=[];if(e["!margins"]&&(n.push("<PageSetup>"),e["!margins"].header&&n.push(Sr("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&n.push(Sr("Footer",null,{"x:Margin":e["!margins"].footer})),n.push(Sr("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"})),n.push("</PageSetup>")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[r])if(a.Workbook.Sheets[r].Hidden)n.push(Sr("Visible",1==a.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s<r;++s)if(a.Workbook.Sheets[s]&&!a.Workbook.Sheets[s].Hidden)break;s==r&&n.push("<Selected/>")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push("<DisplayRightToLeft/>"),e["!protect"]&&(n.push(Er("ProtectContents","True")),e["!protect"].objects&&n.push(Er("ProtectObjects","True")),e["!protect"].scenarios&&n.push(Er("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||n.push(Er("EnableSelection","UnlockedCells")):n.push(Er("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]]&&n.push("<"+t[1]+"/>")}))),0==n.length?"":Sr("WorksheetOptions",n.join(""),{xmlns:Or.x})}function qb(e){return e.map((function(e){var t=or(e.t||""),r=Sr("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return Sr("Comment",r,{"ss:Author":e.a})})).join("")}function Qb(e,t,r,a,n,s,i){if(!e||void 0==e.v&&void 0==e.f)return"";var o={};if(e.f&&(o["ss:Formula"]="="+tr(Ih(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=Da(e.F.slice(t.length+1));o["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=tr(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=tr(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],f=0;f!=l.length;++f)l[f].s.c==i.c&&l[f].s.r==i.r&&(l[f].e.c>l[f].s.c&&(o["ss:MergeAcross"]=l[f].e.c-l[f].s.c),l[f].e.r>l[f].s.r&&(o["ss:MergeDown"]=l[f].e.r-l[f].s.r));var h="",u="";switch(e.t){case"z":if(!a.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=$n[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||Z[14]);break;case"s":h="String",u=sr(e.v||"");break}var d=Md(a.cellXfs,e,a);o["ss:StyleID"]="s"+(21+d),o["ss:Index"]=i.c+1;var p=null!=e.v?u:"",m="z"==e.t?"":'<Data ss:Type="'+h+'">'+p+"</Data>";return(e.c||[]).length>0&&(m+=qb(e.c)),Sr("Cell",m,o)}function ev(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Ml(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function tv(e,t,r,a){if(!e["!ref"])return"";var n=La(e["!ref"]),s=e["!merges"]||[],i=0,o=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Nl(e);var r=!!e.width,a=Fd(t,e),n={"ss:Index":t+1};r&&(n["ss:Width"]=Al(a.width)),e.hidden&&(n["ss:Hidden"]="1"),o.push(Sr("Column",null,n))}));for(var c=Array.isArray(e),l=n.s.r;l<=n.e.r;++l){for(var f=[ev(l,(e["!rows"]||[])[l])],h=n.s.c;h<=n.e.c;++h){var u=!1;for(i=0;i!=s.length;++i)if(!(s[i].s.c>h)&&!(s[i].s.r>l)&&!(s[i].e.c<h)&&!(s[i].e.r<l)){s[i].s.c==h&&s[i].s.r==l||(u=!0);break}if(!u){var d={r:l,c:h},p=Fa(d),m=c?(e[l]||[])[h]:e[p];f.push(Qb(m,p,e,t,r,a,d))}}f.push("</Row>"),f.length>2&&o.push(f.join(""))}return o.join("")}function rv(e,t,r){var a=[],n=r.SheetNames[e],s=r.Sheets[n],i=s?Jb(s,t,e,r):"";return i.length>0&&a.push("<Names>"+i+"</Names>"),i=s?tv(s,t,e,r):"",i.length>0&&a.push("<Table>"+i+"</Table>"),a.push(Zb(s,t,e,r)),a.join("")}function av(e,t){t||(t={}),e.SSF||(e.SSF=Et(Z)),e.SSF&&($e(),Ge(e.SSF),t.revssf=ct(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Gb(e,t)),r.push($b(e,t)),r.push(""),r.push("");for(var a=0;a<e.SheetNames.length;++a)r.push(Sr("Worksheet",rv(a,t,e),{"ss:Name":tr(e.SheetNames[a])}));return r[2]=Xb(e,t),r[3]=Kb(e,t),Ht+Sr("Workbook",r.join(""),{xmlns:Or.ss,"xmlns:o":Or.o,"xmlns:x":Or.x,"xmlns:ss":Or.ss,"xmlns:dt":Or.dt,"xmlns:html":Or.html})}function nv(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=Sn(r),r.length-r.l<=4)return t;var a=r.read_shift(4);return 0==a||a>40?t:(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4?t:(a=r.read_shift(4),1907505652!==a?t:(t.UnicodeClipboardFormat=_n(r),a=r.read_shift(4),0==a||a>40?t:(r.l-=4,void(t.Reserved2=r.read_shift(0,"lpwstr"))))))}var sv=[60,1084,2066,2165,2175];function iv(e,t,r,a,n){var s=a,i=[],o=r.slice(r.l,r.l+s);if(n&&n.enc&&n.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:n.enc.insitu(o)}i.push(o),r.l+=s;var c=aa(r,r.l),l=bv[c],f=0;while(null!=l&&sv.indexOf(c)>-1)s=aa(r,r.l+2),f=r.l+4,2066==c?f+=4:2165!=c&&2175!=c||(f+=12),o=r.slice(f,r.l+4+s),i.push(o),r.l+=4+s,l=bv[c=aa(r,r.l)];var h=F(i);pa(h,0);var u=0;h.lens=[];for(var d=0;d<i.length;++d)h.lens.push(u),u+=i[d].length;if(h.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+h.length+" < "+a;return t.f(h,h.length,n)}function ov(e,t,r){if("z"!==e.t&&e.XF){var a=0;try{a=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=Z[a])}catch(s){if(t.WTF)throw s}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:0===a||"General"==a?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v):e.w=he(e.v):e.w=Ve(a,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(s){if(t.WTF)throw s}if(t.cellDates&&a&&"n"==e.t&&Ue(Z[a]||String(a))){var n=te(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}}function cv(e,t,r){return{v:e,ixfe:t,t:r}}function lv(e,t){var r={opts:{}},a={};null!=k&&null==t.dense&&(t.dense=k);var n,s,i,o,c,l,h,u,d=t.dense?[]:{},p={},m={},b=null,v=[],g="",w={},T="",E={},y=[],S=[],_=[],x={Sheets:[],WBProps:{date1904:!1},Views:[{}]},A={},C=function(e){return e<8?Gn[e]:e<64&&_[e-8]||Gn[e]},R=function(e,t,r){var a,n=t.XF.data;n&&n.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=n.patternType,(a=wl(C(n.icvFore)))&&(t.s.fgColor={rgb:a}),(a=wl(C(n.icvBack)))&&(t.s.bgColor={rgb:a}))},I=function(e,t,r){if(!(W>1)&&!(r.sheetRows&&e.r>=r.sheetRows)){if(r.cellStyles&&t.XF&&t.XF.data&&R(e,t,r),delete t.ixfe,delete t.XF,n=e,T=Fa(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var a=0;a<y.length;++a)if(!(y[a][0].s.c>e.c||y[a][0].s.r>e.r)&&!(y[a][0].e.c<e.c||y[a][0].e.r<e.r)){t.F=Ma(y[a][0]),y[a][0].s.c==e.c&&y[a][0].s.r==e.r||delete t.f,t.f&&(t.f=""+ld(y[a][1],m,e,L,O));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[T]=t}},O={enc:!1,sbcch:0,snames:[],sharedf:E,arrayf:y,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(O.password=t.password);var N=[],D=[],F=[],P=[],M=!1,L=[];L.SheetNames=O.snames,L.sharedf=O.sharedf,L.arrayf=O.arrayf,L.names=[],L.XTI=[];var U,B=0,W=0,H=0,z=[],V=[];O.codepage=1200,f(1200);var j=!1;while(e.l<e.length-1){var G=e.l,$=e.read_shift(2);if(0===$&&10===B)break;var X=e.l===e.length?0:e.read_shift(2),Y=bv[$];if(Y&&Y.f){if(t.bookSheets&&133===B&&133!==$)break;if(B=$,2===Y.r||12==Y.r){var K=e.read_shift(2);if(X-=2,!O.enc&&K!==$&&((255&K)<<8|K>>8)!==$)throw new Error("rt mismatch: "+K+"!="+$);12==Y.r&&(e.l+=10,X-=10)}var J={};if(J=10===$?Y.f(e,X,O):iv($,Y,e,X,O),0==W&&-1===[9,521,1033,2057].indexOf(B))continue;switch($){case 34:r.opts.Date1904=x.WBProps.date1904=J;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(O.enc||(e.l=0),O.enc=J,!t.password)throw new Error("File is password-protected");if(null==J.valid)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=J;break;case 66:var q=Number(J);switch(q){case 21010:q=1200;break;case 32768:q=1e4;break;case 32769:q=1252;break}f(O.codepage=q),j=!0;break;case 317:O.rrtabid=J;break;case 25:O.winlocked=J;break;case 439:r.opts["RefreshAll"]=J;break;case 12:r.opts["CalcCount"]=J;break;case 16:r.opts["CalcDelta"]=J;break;case 17:r.opts["CalcIter"]=J;break;case 13:r.opts["CalcMode"]=J;break;case 14:r.opts["CalcPrecision"]=J;break;case 95:r.opts["CalcSaveRecalc"]=J;break;case 15:O.CalcRefMode=J;break;case 2211:r.opts.FullCalc=J;break;case 129:J.fDialog&&(d["!type"]="dialog"),J.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),J.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:S.push(J);break;case 430:L.push([J]),L[L.length-1].XTI=[];break;case 35:case 547:L[L.length-1].push(J);break;case 24:case 536:U={Name:J.Name,Ref:ld(J.rgce,m,null,L,O)},J.itab>0&&(U.Sheet=J.itab-1),L.names.push(U),L[0]||(L[0]=[],L[0].XTI=[]),L[L.length-1].push(J),"_xlnm._FilterDatabase"==J.Name&&J.itab>0&&J.rgce&&J.rgce[0]&&J.rgce[0][0]&&"PtgArea3d"==J.rgce[0][0][0]&&(V[J.itab-1]={ref:Ma(J.rgce[0][0][1][2])});break;case 22:O.ExternCount=J;break;case 23:0==L.length&&(L[0]=[],L[0].XTI=[]),L[L.length-1].XTI=L[L.length-1].XTI.concat(J),L.XTI=L.XTI.concat(J);break;case 2196:if(O.biff<8)break;null!=U&&(U.Comment=J[1]);break;case 18:d["!protect"]=J;break;case 19:0!==J&&O.WTF&&console.error("Password verifier: "+J);break;case 133:p[J.pos]=J,O.snames.push(J.name);break;case 10:if(--W)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=Ma(m),t.sheetRows&&t.sheetRows<=m.e.r){var Q=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=Ma(m),m.e.r=Q}m.e.r++,m.e.c++}N.length>0&&(d["!merges"]=N),D.length>0&&(d["!objects"]=D),F.length>0&&(d["!cols"]=F),P.length>0&&(d["!rows"]=P),x.Sheets.push(A)}""===g?w=d:a[g]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===O.biff&&(O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8),O.biffguess=0==J.BIFFVer,0==J.BIFFVer&&4096==J.dt&&(O.biff=5,j=!0,f(O.codepage=28591)),8==O.biff&&0==J.BIFFVer&&16==J.dt&&(O.biff=2),W++)break;if(d=t.dense?[]:{},O.biff<8&&!j&&(j=!0,f(O.codepage=t.codepage||1252)),O.biff<5||0==J.BIFFVer&&4096==J.dt){""===g&&(g="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-X,name:g};p[ee.pos]=ee,O.snames.push(g)}else g=(p[G]||{name:""}).name;32==J.dt&&(d["!type"]="chart"),64==J.dt&&(d["!type"]="macro"),N=[],D=[],O.arrayf=y=[],F=[],P=[],M=!1,A={Hidden:(p[G]||{hs:0}).hs,name:g};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[J.r]||[])[J.c]:d[Fa({c:J.c,r:J.r})])&&++J.c,l={ixfe:J.ixfe,XF:S[J.ixfe]||{},v:J.val,t:"n"},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case 5:case 517:l={ixfe:J.ixfe,XF:S[J.ixfe],v:J.val,t:J.t},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case 638:l={ixfe:J.ixfe,XF:S[J.ixfe],v:J.rknum,t:"n"},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case 189:for(var te=J.c;te<=J.C;++te){var re=J.rkrec[te-J.c][0];l={ixfe:re,XF:S[re],v:J.rkrec[te-J.c][1],t:"n"},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:te,r:J.r},l,t)}break;case 6:case 518:case 1030:if("String"==J.val){b=J;break}if(l=cv(J.val,J.cell.ixfe,J.tt),l.XF=S[l.ixfe],t.cellFormula){var ae=J.formula;if(ae&&ae[0]&&ae[0][0]&&"PtgExp"==ae[0][0][0]){var ne=ae[0][0][1][0],se=ae[0][0][1][1],ie=Fa({r:ne,c:se});E[ie]?l.f=""+ld(J.formula,m,J.cell,L,O):l.F=((t.dense?(d[ne]||[])[se]:d[ie])||{}).F}else l.f=""+ld(J.formula,m,J.cell,L,O)}H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I(J.cell,l,t),b=J;break;case 7:case 519:if(!b)throw new Error("String record expects Formula");b.val=J,l=cv(J,b.cell.ixfe,"s"),l.XF=S[l.ixfe],t.cellFormula&&(l.f=""+ld(b.formula,m,b.cell,L,O)),H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I(b.cell,l,t),b=null;break;case 33:case 545:y.push(J);var oe=Fa(J[0].s);if(s=t.dense?(d[J[0].s.r]||[])[J[0].s.c]:d[oe],t.cellFormula&&s){if(!b)break;if(!oe||!s)break;s.f=""+ld(J[1],m,J[0],L,O),s.F=Ma(J[0])}break;case 1212:if(!t.cellFormula)break;if(T){if(!b)break;E[Fa(b.cell)]=J[0],s=t.dense?(d[b.cell.r]||[])[b.cell.c]:d[Fa(b.cell)],(s||{}).f=""+ld(J[0],m,n,L,O)}break;case 253:l=cv(v[J.isst].t,J.ixfe,"s"),v[J.isst].h&&(l.h=v[J.isst].h),l.XF=S[l.ixfe],H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case 513:t.sheetStubs&&(l={ixfe:J.ixfe,XF:S[J.ixfe],t:"z"},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t));break;case 190:if(t.sheetStubs)for(var ce=J.c;ce<=J.C;++ce){var le=J.ixfe[ce-J.c];l={ixfe:le,XF:S[le],t:"z"},H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:ce,r:J.r},l,t)}break;case 214:case 516:case 4:l=cv(J.val,J.ixfe,"s"),l.XF=S[l.ixfe],H>0&&(l.z=z[l.ixfe>>8&63]),ov(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case 0:case 512:1===W&&(m=J);break;case 252:v=J;break;case 1054:if(4==O.biff){z[H++]=J[1];for(var fe=0;fe<H+163;++fe)if(Z[fe]==J[1])break;fe>=163&&je(J[1],H+163)}else je(J[1],J[0]);break;case 30:z[H++]=J;for(var he=0;he<H+163;++he)if(Z[he]==J)break;he>=163&&je(J,H+163);break;case 229:N=N.concat(J);break;case 93:D[J.cmo[0]]=O.lastobj=J;break;case 438:O.lastobj.TxO=J;break;case 127:O.lastobj.ImData=J;break;case 440:for(c=J[0].s.r;c<=J[0].e.r;++c)for(o=J[0].s.c;o<=J[0].e.c;++o)s=t.dense?(d[c]||[])[o]:d[Fa({c:o,r:c})],s&&(s.l=J[1]);break;case 2048:for(c=J[0].s.r;c<=J[0].e.r;++c)for(o=J[0].s.c;o<=J[0].e.c;++o)s=t.dense?(d[c]||[])[o]:d[Fa({c:o,r:c})],s&&s.l&&(s.l.Tooltip=J[1]);break;case 28:if(O.biff<=5&&O.biff>=2)break;s=t.dense?(d[J[0].r]||[])[J[0].c]:d[Fa(J[0])];var ue=D[J[2]];s||(t.dense?(d[J[0].r]||(d[J[0].r]=[]),s=d[J[0].r][J[0].c]={t:"z"}):s=d[Fa(J[0])]={t:"z"},m.e.r=Math.max(m.e.r,J[0].r),m.s.r=Math.min(m.s.r,J[0].r),m.e.c=Math.max(m.e.c,J[0].c),m.s.c=Math.min(m.s.c,J[0].c)),s.c||(s.c=[]),i={a:J[1],t:ue.TxO.t},s.c.push(i);break;case 2173:Hf(S[J.ixfe],J.ext);break;case 125:if(!O.cellStyles)break;while(J.e>=J.s)F[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(1&J.flags)},M||(M=!0,Ol(J.w/256)),Nl(F[J.e+1]);break;case 520:var de={};null!=J.level&&(P[J.r]=de,de.level=J.level),J.hidden&&(P[J.r]=de,de.hidden=!0),J.hpt&&(P[J.r]=de,de.hpt=J.hpt,de.hpx=Ml(J.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||Pd(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=J;break;case 161:d["!margins"]||Pd(d["!margins"]={}),d["!margins"].header=J.header,d["!margins"].footer=J.footer;break;case 574:J.RTL&&(x.Views[0].RTL=!0);break;case 146:_=J;break;case 2198:u=J;break;case 140:h=J;break;case 442:g?A.CodeName=J||A.name:x.WBProps.CodeName=J||"ThisWorkbook";break}}else Y||console.error("Missing Info for XLS Record 0x"+$.toString(16)),e.l+=X}return r.SheetNames=st(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(r.Sheets=a),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets["Sheet1"]=w)):r.Preamble=w,r.Sheets&&V.forEach((function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e})),r.Strings=v,r.SSF=Et(Z),O.enc&&(r.Encryption=O.enc),u&&(r.Themes=u),r.Metadata={},void 0!==h&&(r.Metadata.Country=h),L.names.length>0&&(x.Names=L.names),r.Workbook=x,r}var fv={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function hv(e,t,r){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=Ks(a,Bn,fv.DSI);for(var s in n)t[s]=n[s]}catch(l){if(r.WTF)throw l}var i=Qe.find(e,"/!SummaryInformation");if(i&&i.size>0)try{var o=Ks(i,Wn,fv.SI);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(l){if(r.WTF)throw l}t.HeadingPairs&&t.TitlesOfParts&&(gs(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function uv(e,t){var r,a=[],n=[],s=[],i=0,o=it(Bn,"n"),c=it(Wn,"n");if(e.Props)for(r=st(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(o,r[i])?a:Object.prototype.hasOwnProperty.call(c,r[i])?n:s).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=st(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(o,r[i])?a:Object.prototype.hasOwnProperty.call(c,r[i])?n:s).push([r[i],e.Custprops[r[i]]]);var l=[];for(i=0;i<s.length;++i)$s.indexOf(s[i][0])>-1||vs.indexOf(s[i][0])>-1||null!=s[i][1]&&l.push(s[i]);n.length&&Qe.utils.cfb_add(t,"/SummaryInformation",Js(n,fv.SI,c,Wn)),(a.length||l.length)&&Qe.utils.cfb_add(t,"/DocumentSummaryInformation",Js(a,fv.DSI,o,Bn,l.length?l:null,fv.UDI))}function dv(e,t){var r,a,n,s;if(t||(t={}),Ug(t),h(),t.codepage&&c(t.codepage),e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");r=Qe.find(e,"!CompObj"),a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(t.type){case"base64":e=R(S(e));break;case"binary":e=R(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}pa(e,0),a={content:e}}if(r&&nv(r),t.bookProps&&!t.bookSheets)n={};else{var i=_?"buffer":"array";if(a&&a.content)n=lv(a.content,t);else if((s=Qe.find(e,"PerfectOffice_MAIN"))&&s.content)n=Rc.to_workbook(s.content,(t.type=i,t));else{if(!(s=Qe.find(e,"NativeContent_MAIN"))||!s.content)throw(s=Qe.find(e,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");n=Rc.to_workbook(s.content,(t.type=i,t))}t.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(n.vbaraw=Th(e))}var o={};return e.FullPaths&&hv(e,o,t),n.Props=n.Custprops=o,t.bookFiles&&(n.cfb=e),n}function pv(e,t){var r=t||{},a=Qe.utils.cfb_new({root:"R"}),n="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":n="/Workbook",r.biff=8;break;case"biff5":n="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Qe.utils.cfb_add(a,n,Pv(e,r)),8==r.biff&&(e.Props||e.Custprops)&&uv(e,a),8==r.biff&&e.vbaraw&&Eh(a,Qe.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),a}var mv={0:{f:gp},1:{f:xp},2:{f:$p},3:{f:Fp},4:{f:Ip},5:{f:zp},6:{f:Zp},7:{f:Up},8:{f:nm},9:{f:am},10:{f:tm},11:{f:rm},12:{f:Cp},13:{f:Yp},14:{f:Mp},15:{f:Np},16:{f:jp},17:{f:Qp},18:{f:Wp},19:{f:Ka},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:ob},40:{},42:{},43:{f:Zl},44:{f:Kl},45:{f:tf},46:{f:of},47:{f:af},48:{},49:{f:Va},50:{},51:{f:jf},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:sc},62:{f:Jp},63:{f:eh},64:{f:Tm},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ma,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:vm},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:Sp},148:{f:Tp,p:16},151:{f:fm},152:{},153:{f:nb},154:{},155:{},156:{f:rb},157:{},158:{},159:{T:1,f:Vc},160:{T:-1},161:{T:1,f:mn},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:sm},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:zf},336:{T:-1},337:{f:Xf,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:ln},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Mo},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:hm},427:{f:um},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:mm},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:yp},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:cm},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:ln},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:bh},633:{T:1},634:{T:-1},635:{T:1,f:ph},636:{T:-1},637:{f:Za},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:Bm},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:Em},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:""}},bv={6:{f:bd},10:{f:Zs},12:{f:ri},13:{f:ri},14:{f:ei},15:{f:ei},16:{f:vn},17:{f:ei},18:{f:ei},19:{f:ri},20:{f:Oo},21:{f:Oo},23:{f:Mo},24:{f:Po},25:{f:ei},26:{},27:{},28:{f:Vo},29:{},34:{f:ei},35:{f:Do},38:{f:vn},39:{f:vn},40:{f:vn},41:{f:vn},42:{f:ei},43:{f:ei},47:{f:bl},49:{f:oo},51:{f:ri},60:{},61:{f:ro},64:{f:ei},65:{f:io},66:{f:ri},77:{},80:{},81:{},82:{},85:{f:ri},89:{},90:{},91:{},92:{f:ji},93:{f:$o},94:{},95:{f:ei},96:{},97:{},99:{f:ei},125:{f:sc},128:{f:_o},129:{f:$i},130:{f:ri},131:{f:ei},132:{f:ei},133:{f:Xi},134:{},140:{f:ec},141:{f:ri},144:{},146:{f:ac},151:{},152:{},153:{},154:{},155:{},156:{f:ri},157:{},158:{},160:{f:hc},161:{f:oc},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:ko},190:{f:To},193:{f:Zs},197:{},198:{},199:{},200:{},201:{},202:{f:ei},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ri},220:{},221:{f:ei},222:{},224:{f:yo},225:{f:Vi},226:{f:Zs},227:{},229:{f:jo},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Ki},253:{f:lo},255:{f:Zi},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ni},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:ei},353:{f:Zs},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:No},431:{f:ei},432:{},433:{},434:{},437:{},438:{f:Ko},439:{f:ei},440:{f:Jo},441:{},442:{f:hi},443:{},444:{f:ri},445:{},446:{},448:{f:Zs},449:{f:eo,r:2},450:{f:Zs},512:{f:vo},513:{f:fc},515:{f:Ro},516:{f:ho},517:{f:Ao},519:{f:uc},520:{f:qi},523:{},545:{f:Wo},549:{f:to},566:{},574:{f:no},638:{f:wo},659:{},1048:{},1054:{f:po},1084:{},1212:{f:Bo},2048:{f:qo},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Hi},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Zs},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:nc,r:12},2173:{f:Wf,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:ei,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:Uo,r:12},2197:{},2198:{f:Ff,r:12},2199:{},2200:{},2201:{},2202:{f:Ho,r:12},2203:{f:Zs},2204:{},2205:{},2206:{},2207:{},2211:{f:Qi},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:ri},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:cc},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:rc},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:vo},1:{},2:{f:vc},3:{f:mc},4:{f:pc},5:{f:Ao},7:{f:wc},8:{},9:{f:Hi},11:{},22:{f:ri},30:{f:bo},31:{},32:{},33:{f:Wo},36:{},37:{f:to},50:{f:kc},62:{},52:{},67:{},68:{f:ri},69:{},86:{},126:{},127:{f:dc},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Tc},223:{},234:{},354:{},421:{},518:{f:bd},521:{f:Hi},536:{f:Po},547:{f:Do},561:{},579:{},1030:{f:bd},1033:{f:Hi},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function vv(e,t,r,a){var n=t;if(!isNaN(n)){var s=a||(r||[]).length||0,i=e.next(4);i.write_shift(2,n),i.write_shift(2,s),s>0&&ea(r)&&e.push(r)}}function gv(e,t,r,a){var n=a||(r||[]).length||0;if(n<=8224)return vv(e,t,r,n);var s=t;if(!isNaN(s)){var i=r.parts||[],o=0,c=0,l=0;while(l+(i[o]||8224)<=8224)l+=i[o]||8224,o++;var f=e.next(4);f.write_shift(2,s),f.write_shift(2,l),e.push(r.slice(c,c+l)),c+=l;while(c<n){f=e.next(4),f.write_shift(2,60),l=0;while(l+(i[o]||8224)<=8224)l+=i[o]||8224,o++;f.write_shift(2,l),e.push(r.slice(c,c+l)),c+=l}}}function wv(e,t,r){return e||(e=ba(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function kv(e,t,r,a){var n=ba(9);return wv(n,e,t),ii(r,a||"b",n),n}function Tv(e,t,r){var a=ba(8+2*r.length);return wv(a,e,t),a.write_shift(1,r.length),a.write_shift(r.length,r,"sbcs"),a.l<a.length?a.slice(0,a.l):a}function Ev(e,t,r,a){if(null!=t.v)switch(t.t){case"d":case"n":var n="d"==t.t?ht(kt(t.v)):t.v;return void(n==(0|n)&&n>=0&&n<65536?vv(e,2,gc(r,a,n)):vv(e,3,bc(r,a,n)));case"b":case"e":return void vv(e,5,kv(r,a,t.v,t.t));case"s":case"str":return void vv(e,4,Tv(r,a,(t.v||"").slice(0,255)))}vv(e,1,wv(null,r,a))}function yv(e,t,r,a){var n,s=Array.isArray(t),i=La(t["!ref"]||"A1"),o="",c=[];if(i.e.c>255||i.e.r>16383){if(a.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),n=Ma(i)}for(var l=i.s.r;l<=i.e.r;++l){o=_a(l);for(var f=i.s.c;f<=i.e.c;++f){l===i.s.r&&(c[f]=Ra(f)),n=c[f]+o;var h=s?(t[l]||[])[f]:t[n];h&&Ev(e,h,l,f,a)}}}function Sv(e,t){var r=t||{};null!=k&&null==r.dense&&(r.dense=k);for(var a=ga(),n=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==r.sheet&&(n=s);if(0==n&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return vv(a,4==r.biff?1033:3==r.biff?521:9,zi(e,16,r)),yv(a,e.Sheets[e.SheetNames[n]],n,r,e),vv(a,10),a.end()}function _v(e,t,r){vv(e,49,co({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function xv(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(a){for(var n=a[0];n<=a[1];++n)null!=t[n]&&vv(e,1054,mo(n,t[n],r))}))}function Av(e,t){var r=ba(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),vv(e,2151,r),r=ba(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),Ni(La(t["!ref"]||"A1"),r),r.write_shift(4,4),vv(e,2152,r)}function Cv(e,t){for(var r=0;r<16;++r)vv(e,224,So({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){vv(e,224,So(r,0,t))}))}function Rv(e,t){for(var r=0;r<t["!links"].length;++r){var a=t["!links"][r];vv(e,440,Zo(a)),a[1].Tooltip&&vv(e,2048,Qo(a))}delete t["!links"]}function Iv(e,t){if(t){var r=0;t.forEach((function(t,a){++r<=256&&t&&vv(e,125,ic(Fd(a,t),a))}))}}function Ov(e,t,r,a,n){var s=16+Md(n.cellXfs,t,n);if(null!=t.v||t.bf)if(t.bf)vv(e,6,vd(t,r,a,n,s));else switch(t.t){case"d":case"n":var i="d"==t.t?ht(kt(t.v)):t.v;vv(e,515,Io(r,a,i,s,n));break;case"b":case"e":vv(e,517,Co(r,a,t.v,s,n,t.t));break;case"s":case"str":if(n.bookSST){var o=Dd(n.Strings,t.v,n.revStrings);vv(e,253,fo(r,a,o,s,n))}else vv(e,516,uo(r,a,(t.v||"").slice(0,255),s,n));break;default:vv(e,513,_i(r,a,s))}else vv(e,513,_i(r,a,s))}function Nv(e,t,r){var a,n=ga(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=(r||{}).Workbook||{},c=(o.Sheets||[])[e]||{},l=Array.isArray(i),f=8==t.biff,h="",u=[],d=La(i["!ref"]||"A1"),p=f?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}vv(n,2057,zi(r,16,t)),vv(n,13,ai(1)),vv(n,12,ai(100)),vv(n,15,ti(!0)),vv(n,17,ti(!1)),vv(n,16,gn(.001)),vv(n,95,ti(!0)),vv(n,42,ti(!1)),vv(n,43,ti(!1)),vv(n,130,ai(1)),vv(n,128,xo([0,0])),vv(n,131,ti(!1)),vv(n,132,ti(!1)),f&&Iv(n,i["!cols"]),vv(n,512,go(d,t)),f&&(i["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){h=_a(m);for(var b=d.s.c;b<=d.e.c;++b){m===d.s.r&&(u[b]=Ra(b)),a=u[b]+h;var v=l?(i[m]||[])[b]:i[a];v&&(Ov(n,v,m,b,t),f&&v.l&&i["!links"].push([a,v.l]))}}var g=c.CodeName||c.name||s;return f&&vv(n,574,so((o.Views||[])[0])),f&&(i["!merges"]||[]).length&&vv(n,229,Go(i["!merges"])),f&&Rv(n,i),vv(n,442,di(g,t)),f&&Av(n,i),vv(n,10),n.end()}function Dv(e,t,r){var a=ga(),n=(e||{}).Workbook||{},s=n.Sheets||[],i=n.WBProps||{},o=8==r.biff,c=5==r.biff;if(vv(a,2057,zi(e,5,r)),"xla"==r.bookType&&vv(a,135),vv(a,225,o?ai(1200):null),vv(a,193,qs(2)),c&&vv(a,191),c&&vv(a,192),vv(a,226),vv(a,92,Gi("SheetJS",r)),vv(a,66,ai(o?1200:1252)),o&&vv(a,353,ai(0)),o&&vv(a,448),vv(a,317,lc(e.SheetNames.length)),o&&e.vbaraw&&vv(a,211),o&&e.vbaraw){var l=i.CodeName||"ThisWorkbook";vv(a,442,di(l,r))}vv(a,156,ai(17)),vv(a,25,ti(!1)),vv(a,18,ti(!1)),vv(a,19,ai(0)),o&&vv(a,431,ti(!1)),o&&vv(a,444,ai(0)),vv(a,61,ao(r)),vv(a,64,ti(!1)),vv(a,141,ai(0)),vv(a,34,ti("true"==Ym(e))),vv(a,14,ti(!0)),o&&vv(a,439,ti(!1)),vv(a,218,ai(0)),_v(a,e,r),xv(a,e.SSF,r),Cv(a,r),o&&vv(a,352,ti(!1));var f=a.end(),h=ga();o&&vv(h,140,tc()),o&&r.Strings&&gv(h,252,Ji(r.Strings,r)),vv(h,10);var u=h.end(),d=ga(),p=0,m=0;for(m=0;m<e.SheetNames.length;++m)p+=(o?12:11)+(o?2:1)*e.SheetNames[m].length;var b=f.length+p+u.length;for(m=0;m<e.SheetNames.length;++m){var v=s[m]||{};vv(d,133,Yi({pos:b,hs:v.Hidden||0,dt:0,name:e.SheetNames[m]},r)),b+=t[m].length}var g=d.end();if(p!=g.length)throw new Error("BS8 "+p+" != "+g.length);var w=[];return f.length&&w.push(f),g.length&&w.push(g),u.length&&w.push(u),F(w)}function Fv(e,t){var r=t||{},a=[];e&&!e.SSF&&(e.SSF=Et(Z)),e&&e.SSF&&($e(),Ge(e.SSF),r.revssf=ct(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Bg(r),r.cellXfs=[],Md(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var n=0;n<e.SheetNames.length;++n)a[a.length]=Nv(n,r,e);return a.unshift(Dv(e,a,r)),F(a)}function Pv(e,t){for(var r=0;r<=e.SheetNames.length;++r){var a=e.Sheets[e.SheetNames[r]];if(a&&a["!ref"]){var n=Pa(a["!ref"]);n.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 Fv(e,t);case 4:case 3:case 2:return Sv(e,t)}throw new Error("invalid type "+s.bookType+" for BIFF")}function Mv(e,t){var r=t||{};null!=k&&null==r.dense&&(r.dense=k);var a=r.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var n=e.match(/<table/i);if(!n)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),i=n.index,o=s&&s.index||e.length,c=At(e.slice(i,o),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,f=0,h=0,u=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(i=0;i<c.length;++i){var m=c[i].trim(),b=m.slice(0,3).toLowerCase();if("<tr"!=b){if("<td"==b||"<th"==b){var v=m.split(/<\/t[dh]>/i);for(o=0;o<v.length;++o){var g=v[o].trim();if(g.match(/<t[dh]/i)){var w=g,T=0;while("<"==w.charAt(0)&&(T=w.indexOf(">"))>-1)w=w.slice(T+1);for(var E=0;E<p.length;++E){var y=p[E];y.s.c==f&&y.s.r<l&&l<=y.e.r&&(f=y.e.c+1,E=-1)}var S=Yt(g.slice(0,g.indexOf(">")));u=S.colspan?+S.colspan:1,((h=+S.rowspan)>1||u>1)&&p.push({s:{r:l,c:f},e:{r:l+(h||1)-1,c:f+u-1}});var _=S.t||S["data-t"]||"";if(w.length)if(w=br(w),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>f&&(d.s.c=f),d.e.c<f&&(d.e.c=f),w.length){var x={t:"s",v:w};r.raw||!w.trim().length||"s"==_||("TRUE"===w?x={t:"b",v:!0}:"FALSE"===w?x={t:"b",v:!1}:isNaN(St(w))?isNaN(xt(w).getDate())||(x={t:"d",v:kt(w)},r.cellDates||(x={t:"n",v:ht(x.v)}),x.z=r.dateNF||Z[14]):x={t:"n",v:St(w)}),r.dense?(a[l]||(a[l]=[]),a[l][f]=x):a[Fa({r:l,c:f})]=x,f+=u}else f+=u;else f+=u}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}f=0}}return a["!ref"]=Ma(d),p.length&&(a["!merges"]=p),a}function Lv(e,t,r,a){for(var n=e["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var o=0,c=0,l=0;l<n.length;++l)if(!(n[l].s.r>r||n[l].s.c>i)&&!(n[l].e.r<r||n[l].e.c<i)){if(n[l].s.r<r||n[l].s.c<i){o=-1;break}o=n[l].e.r-n[l].s.r+1,c=n[l].e.c-n[l].s.c+1;break}if(!(o<0)){var f=Fa({r:r,c:i}),h=a.dense?(e[r]||[])[i]:e[f],u=h&&null!=h.v&&(h.h||nr(h.w||(Ba(h),h.w)||""))||"",d={};o>1&&(d.rowspan=o),c>1&&(d.colspan=c),a.editable?u='<span contenteditable="true">'+u+"</span>":h&&(d["data-t"]=h&&h.t||"z",null!=h.v&&(d["data-v"]=h.v),null!=h.z&&(d["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(u='<a href="'+h.l.Target+'">'+u+"</a>")),d.id=(a.id||"sjs")+"-"+f,s.push(Sr("td",u,d))}}var p="<tr>";return p+s.join("")+"</tr>"}var Uv='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Bv="</body></html>";function Wv(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Wa(Mv(r[0],t),t);var a=Iw();return r.forEach((function(e,r){Ow(a,Mv(e,t),"Sheet"+(r+1))})),a}function Hv(e,t,r){var a=[];return a.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function zv(e,t){var r=t||{},a=null!=r.header?r.header:Uv,n=null!=r.footer?r.footer:Bv,s=[a],i=Pa(e["!ref"]);r.dense=Array.isArray(e),s.push(Hv(e,i,r));for(var o=i.s.r;o<=i.e.r;++o)s.push(Lv(e,i,o,r));return s.push("</table>"+n),s.join("")}function Vv(e,t,r){var a=r||{};null!=k&&(a.dense=k);var n=0,s=0;if(null!=a.origin)if("number"==typeof a.origin)n=a.origin;else{var i="string"==typeof a.origin?Da(a.origin):a.origin;n=i.r,s=i.c}var o=t.getElementsByTagName("tr"),c=Math.min(a.sheetRows||1e7,o.length),l={s:{r:0,c:0},e:{r:n,c:s}};if(e["!ref"]){var f=Pa(e["!ref"]);l.s.r=Math.min(l.s.r,f.s.r),l.s.c=Math.min(l.s.c,f.s.c),l.e.r=Math.max(l.e.r,f.e.r),l.e.c=Math.max(l.e.c,f.e.c),-1==n&&(l.e.r=n=f.e.r+1)}var h=[],u=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,b=0,v=0,g=0,w=0;for(e["!cols"]||(e["!cols"]=[]);p<o.length&&m<c;++p){var T=o[p];if($v(T)){if(a.display)continue;d[m]={hidden:!0}}var E=T.children;for(b=v=0;b<E.length;++b){var y=E[b];if(!a.display||!$v(y)){var S=y.hasAttribute("data-v")?y.getAttribute("data-v"):y.hasAttribute("v")?y.getAttribute("v"):br(y.innerHTML),_=y.getAttribute("data-z")||y.getAttribute("z");for(u=0;u<h.length;++u){var x=h[u];x.s.c==v+s&&x.s.r<m+n&&m+n<=x.e.r&&(v=x.e.c+1-s,u=-1)}w=+y.getAttribute("colspan")||1,((g=+y.getAttribute("rowspan")||1)>1||w>1)&&h.push({s:{r:m+n,c:v+s},e:{r:m+n+(g||1)-1,c:v+s+(w||1)-1}});var A={t:"s",v:S},C=y.getAttribute("data-t")||y.getAttribute("t")||"";null!=S&&(0==S.length?A.t=C||"z":a.raw||0==S.trim().length||"s"==C||("TRUE"===S?A={t:"b",v:!0}:"FALSE"===S?A={t:"b",v:!1}:isNaN(St(S))?isNaN(xt(S).getDate())||(A={t:"d",v:kt(S)},a.cellDates||(A={t:"n",v:ht(A.v)}),A.z=a.dateNF||Z[14]):A={t:"n",v:St(S)})),void 0===A.z&&null!=_&&(A.z=_);var R="",I=y.getElementsByTagName("A");if(I&&I.length)for(var O=0;O<I.length;++O)if(I[O].hasAttribute("href")&&(R=I[O].getAttribute("href"),"#"!=R.charAt(0)))break;R&&"#"!=R.charAt(0)&&(A.l={Target:R}),a.dense?(e[m+n]||(e[m+n]=[]),e[m+n][v+s]=A):e[Fa({c:v+s,r:m+n})]=A,l.e.c<v+s&&(l.e.c=v+s),v+=w}}++m}return h.length&&(e["!merges"]=(e["!merges"]||[]).concat(h)),l.e.r=Math.max(l.e.r,m-1+n),e["!ref"]=Ma(l),m>=c&&(e["!fullref"]=Ma((l.e.r=o.length-p+m-1+n,l))),e}function jv(e,t){var r=t||{},a=r.dense?[]:{};return Vv(a,e,t)}function Gv(e,t){return Wa(jv(e,t),t)}function $v(e){var t="",r=Xv(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function Xv(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}function Yv(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),r=qt(t.replace(/<[^>]*>/g,""));return[r]}var Kv={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Jv(e,t){var r=t||{};null!=k&&null==r.dense&&(r.dense=k);var a,n,s,i,o,c,l,f=Ar(e),h=[],u={name:""},d="",p=0,m={},b=[],v=r.dense?[]:{},g={value:""},w="",T=0,E=[],y=-1,S=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},x=0,A={},C=[],R={},I=0,O=0,N=[],D=1,F=1,P=[],M={Names:[]},L={},U=["",""],B=[],W={},H="",z=0,V=!1,j=!1,G=0;Cr.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(o=Cr.exec(f))switch(o[3]=o[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===o[1]?(_.e.c>=_.s.c&&_.e.r>=_.s.r?v["!ref"]=Ma(_):v["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=_.e.r&&(v["!fullref"]=v["!ref"],_.e.r=r.sheetRows-1,v["!ref"]=Ma(_)),C.length&&(v["!merges"]=C),N.length&&(v["!rows"]=N),s.name=s["名称"]||s.name,"undefined"!==typeof JSON&&JSON.stringify(s),b.push(s.name),m[s.name]=v,j=!1):"/"!==o[0].charAt(o[0].length-2)&&(s=Yt(o[0],!1),y=S=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,v=r.dense?[]:{},C=[],N=[],j=!0);break;case"table-row-group":"/"===o[1]?--x:++x;break;case"table-row":case"行":if("/"===o[1]){y+=D,D=1;break}if(i=Yt(o[0],!1),i["行号"]?y=i["行号"]-1:-1==y&&(y=0),D=+i["number-rows-repeated"]||1,D<10)for(G=0;G<D;++G)x>0&&(N[y+G]={level:x});S=-1;break;case"covered-table-cell":"/"!==o[1]&&++S,r.sheetStubs&&(r.dense?(v[y]||(v[y]=[]),v[y][S]={t:"z"}):v[Fa({r:y,c:S})]={t:"z"}),w="",E=[];break;case"table-cell":case"数据":if("/"===o[0].charAt(o[0].length-2))++S,g=Yt(o[0],!1),F=parseInt(g["number-columns-repeated"]||"1",10),c={t:"z",v:null},g.formula&&0!=r.cellFormula&&(c.f=xd(qt(g.formula))),"string"==(g["数据类型"]||g["value-type"])&&(c.t="s",c.v=qt(g["string-value"]||""),r.dense?(v[y]||(v[y]=[]),v[y][S]=c):v[Fa({r:y,c:S})]=c),S+=F-1;else if("/"!==o[1]){++S,w="",T=0,E=[],F=1;var $=D?y+D-1:y;if(S>_.e.c&&(_.e.c=S),S<_.s.c&&(_.s.c=S),y<_.s.r&&(_.s.r=y),$>_.e.r&&(_.e.r=$),g=Yt(o[0],!1),B=[],W={},c={t:g["数据类型"]||g["value-type"],v:null},r.cellFormula)if(g.formula&&(g.formula=qt(g.formula)),g["number-matrix-columns-spanned"]&&g["number-matrix-rows-spanned"]&&(I=parseInt(g["number-matrix-rows-spanned"],10)||0,O=parseInt(g["number-matrix-columns-spanned"],10)||0,R={s:{r:y,c:S},e:{r:y+I-1,c:S+O-1}},c.F=Ma(R),P.push([R,c.F])),g.formula)c.f=xd(g.formula);else for(G=0;G<P.length;++G)y>=P[G][0].s.r&&y<=P[G][0].e.r&&S>=P[G][0].s.c&&S<=P[G][0].e.c&&(c.F=P[G][1]);switch((g["number-columns-spanned"]||g["number-rows-spanned"])&&(I=parseInt(g["number-rows-spanned"],10)||0,O=parseInt(g["number-columns-spanned"],10)||0,R={s:{r:y,c:S},e:{r:y+I-1,c:S+O-1}},C.push(R)),g["number-columns-repeated"]&&(F=parseInt(g["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=cr(g["boolean-value"]);break;case"float":c.t="n",c.v=parseFloat(g.value);break;case"percentage":c.t="n",c.v=parseFloat(g.value);break;case"currency":c.t="n",c.v=parseFloat(g.value);break;case"date":c.t="d",c.v=kt(g["date-value"]),r.cellDates||(c.t="n",c.v=ht(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=bt(g["time-value"])/86400,r.cellDates&&(c.t="d",c.v=mt(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(g["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=g["string-value"]&&(w=qt(g["string-value"]),E=[])}}else{if(V=!1,"s"===c.t&&(c.v=w||"",E.length&&(c.R=E),V=0==T),L.Target&&(c.l=L),B.length>0&&(c.c=B,B=[]),w&&!1!==r.cellText&&(c.w=w),V&&(c.t="z",delete c.v),(!V||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=y))for(var X=0;X<D;++X){if(F=parseInt(g["number-columns-repeated"]||"1",10),r.dense){v[y+X]||(v[y+X]=[]),v[y+X][S]=0==X?c:Et(c);while(--F>0)v[y+X][S+F]=Et(c)}else{v[Fa({r:y+X,c:S})]=c;while(--F>0)v[Fa({r:y+X,c:S+F})]=Et(c)}_.e.c<=S&&(_.e.c=S)}F=parseInt(g["number-columns-repeated"]||"1",10),S+=F-1,F=0,c={},w="",E=[]}L={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===o[1]){if((a=h.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"annotation":if("/"===o[1]){if((a=h.pop())[0]!==o[3])throw"Bad state: "+a;W.t=w,E.length&&(W.R=E),W.a=H,B.push(W)}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!1]);H="",z=0,w="",T=0,E=[];break;case"creator":"/"===o[1]?H=f.slice(z,o.index):z=o.index+o[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===o[1]){if((a=h.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!1]);w="",T=0,E=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===o[1]){if(A[u.name]=d,(a=h.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&(d="",u=Yt(o[0],!1),h.push([o[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":n=Yt(o[0],!1),d+=Kv[o[3]]["long"===n.style?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":n=Yt(o[0],!1),d+=Kv[o[3]]["long"===n.style?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if("/>"===o[0].slice(-2))break;if("/"===o[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":d+=f.slice(p,o.index);break}else p=o.index+o[0].length;break;case"named-range":n=Yt(o[0],!1),U=Cd(n["cell-range-address"]);var Y={Name:n.name,Ref:U[0]+"!"+U[1]};j&&(Y.Sheet=b.length),M.Names.push(Y);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==o[1]||g&&g["string-value"])l=Yt(o[0],!1),T=o.index+o[0].length;else{var K=Yv(f.slice(T,o.index),l);w=(w.length>0?w+"\n":"")+K[0]}break;case"s":break;case"database-range":if("/"===o[1])break;try{U=Cd(Yt(o[0])["target-range-address"]),m[U[0]]["!autofilter"]={ref:U[1]}}catch(Z){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if("/"!==o[1]){if(L=Yt(o[0],!1),!L.href)break;L.Target=qt(L.href),delete L.href,"#"==L.Target.charAt(0)&&L.Target.indexOf(".")>-1?(U=Cd(L.Target.slice(1)),L.Target="#"+U[0]+"!"+U[1]):L.Target.match(/^\.\.[\\\/]/)&&(L.Target=L.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(o[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(o)}}var J={Sheets:m,SheetNames:b,Workbook:M};return r.bookSheets&&delete J.Sheets,J}function Zv(e,t){t=t||{},Ot(e,"META-INF/manifest.xml")&&ss(Dt(e,"META-INF/manifest.xml"),t);var r=Ft(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var a=Jv(dr(r),t);return Ot(e,"meta.xml")&&(a.Props=ds(Dt(e,"meta.xml"))),a}function qv(e,t){return Jv(e,t)}var Qv=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 "+yr({"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 Ht+t}}(),eg=function(){var e=function(e){return tr(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",a=function(a,n,s){var i=[];i.push(' <table:table table:name="'+tr(n.SheetNames[s])+'" table:style-name="ta1">\n');var o=0,c=0,l=Pa(a["!ref"]||"A1"),f=a["!merges"]||[],h=0,u=Array.isArray(a);if(a["!cols"])for(c=0;c<=l.e.c;++c)i.push(" <table:table-column"+(a["!cols"][c]?' table:style-name="co'+a["!cols"][c].ods+'"':"")+"></table:table-column>\n");var d="",p=a["!rows"]||[];for(o=0;o<l.s.r;++o)d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",i.push(" <table:table-row"+d+"></table:table-row>\n");for(;o<=l.e.r;++o){for(d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",i.push(" <table:table-row"+d+">\n"),c=0;c<l.s.c;++c)i.push(t);for(;c<=l.e.c;++c){var m=!1,b={},v="";for(h=0;h!=f.length;++h)if(!(f[h].s.c>c)&&!(f[h].s.r>o)&&!(f[h].e.c<c)&&!(f[h].e.r<o)){f[h].s.c==c&&f[h].s.r==o||(m=!0),b["table:number-columns-spanned"]=f[h].e.c-f[h].s.c+1,b["table:number-rows-spanned"]=f[h].e.r-f[h].s.r+1;break}if(m)i.push(r);else{var g=Fa({r:o,c:c}),w=u?(a[o]||[])[c]:a[g];if(w&&w.f&&(b["table:formula"]=tr(Ad(w.f)),w.F&&w.F.slice(0,g.length)==g)){var k=Pa(w.F);b["table:number-matrix-columns-spanned"]=k.e.c-k.s.c+1,b["table:number-matrix-rows-spanned"]=k.e.r-k.s.r+1}if(w){switch(w.t){case"b":v=w.v?"TRUE":"FALSE",b["office:value-type"]="boolean",b["office:boolean-value"]=w.v?"true":"false";break;case"n":v=w.w||String(w.v||0),b["office:value-type"]="float",b["office:value"]=w.v||0;break;case"s":case"str":v=null==w.v?"":w.v,b["office:value-type"]="string";break;case"d":v=w.w||kt(w.v).toISOString(),b["office:value-type"]="date",b["office:date-value"]=kt(w.v).toISOString(),b["table:style-name"]="ce1";break;default:i.push(t);continue}var T=e(v);if(w.l&&w.l.Target){var E=w.l.Target;E="#"==E.charAt(0)?"#"+Rd(E.slice(1)):E,"#"==E.charAt(0)||E.match(/^\w+:/)||(E="../"+E),T=Sr("text:a",T,{"xlink:href":E.replace(/&/g,"&amp;")})}i.push(" "+Sr("table:table-cell",Sr("text:p",T,{}),b)+"\n")}else i.push(t)}}i.push(" </table:table-row>\n")}return i.push(" </table:table>\n"),i.join("")},n=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 a=0;a<t["!cols"].length;++a)if(t["!cols"][a]){var n=t["!cols"][a];if(null==n.width&&null==n.wpx&&null==n.wch)continue;Nl(n),n.ods=r;var s=t["!cols"][a].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 a=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=a;var n=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+a+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+n+'"/>\n'),e.push(" </style:style>\n"),++a}})),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=[Ht],s=yr({"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=yr({"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(fs().replace(/office:document-meta/g,"office:meta"))):r.push("<office:document-content"+s+">\n"),n(r,e),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)r.push(a(e.Sheets[e.SheetNames[o]],e,o,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 tg(e,t){if("fods"==t.bookType)return eg(e,t);var r=Ut(),a="",n=[],s=[];return a="mimetype",Lt(r,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",Lt(r,a,eg(e,t)),n.push([a,"text/xml"]),s.push([a,"ContentFile"]),a="styles.xml",Lt(r,a,Qv(e,t)),n.push([a,"text/xml"]),s.push([a,"StylesFile"]),a="meta.xml",Lt(r,a,Ht+fs()),n.push([a,"text/xml"]),s.push([a,"MetadataFile"]),a="manifest.rdf",Lt(r,a,ls(s)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",Lt(r,a,is(n)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function rg(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function ag(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):dr(O(e))}function ng(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):R(pr(e))}function sg(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var a=0;a<t.length;++a)if(e[r+a]!=t[a])continue e;return!0}return!1}function ig(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),a=0;return e.forEach((function(e){r.set(e,a),a+=e.length})),r}function og(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function cg(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,a=1&e[t+14],n=t+13;n>=t;--n)a=256*a+e[n];return(128&e[t+15]?-a:a)*Math.pow(10,r-6176)}function lg(e,t,r){var a=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,n=r/Math.pow(10,a-6176);e[t+15]|=a>>7,e[t+14]|=(127&a)<<1;for(var s=0;n>=1;++s,n/=256)e[t+s]=255&n;e[t+15]|=r>=0?0:128}function fg(e,t){var r=t?t[0]:0,a=127&e[r];e:if(e[r++]>=128){if(a|=(127&e[r])<<7,e[r++]<128)break e;if(a|=(127&e[r])<<14,e[r++]<128)break e;if(a|=(127&e[r])<<21,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),a}function hg(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 ug(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 dg(e){var t=[],r=[0];while(r[0]<e.length){var a=r[0],n=fg(e,r),s=7&n;n=Math.floor(n/8);var i,o=0;if(0==n)break;switch(s){case 0:var c=r[0];while(e[r[0]++]>=128);i=e.slice(c,r[0]);break;case 5:o=4,i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=fg(e,r),i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(s," for Field ").concat(n," at offset ").concat(a))}var l={data:i,type:s};null==t[n]?t[n]=[l]:t[n].push(l)}return t}function pg(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(hg(8*r+e.type)),2==e.type&&t.push(hg(e.data.length)),t.push(e.data))}))})),ig(t)}function mg(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function bg(e){var t,r=[],a=[0];while(a[0]<e.length){var n=fg(e,a),s=dg(e.slice(a[0],a[0]+n));a[0]+=n;var i={id:ug(s[1][0].data),messages:[]};s[2].forEach((function(t){var r=dg(t.data),n=ug(r[3][0].data);i.messages.push({meta:r,data:e.slice(a[0],a[0]+n)}),a[0]+=n})),(null==(t=s[3])?void 0:t[0])&&(i.merge=ug(s[3][0].data)>>>0>0),r.push(i)}return r}function vg(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:hg(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:hg(+!!e.merge),type:0}]);var a=[];e.messages.forEach((function(e){a.push(e.data),e.meta[3]=[{type:0,data:hg(e.data.length)}],r[2].push({data:pg(e.meta),type:2})}));var n=pg(r);t.push(hg(n.length)),t.push(n),a.forEach((function(e){return t.push(e)}))})),ig(t)}function gg(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var r=[0],a=fg(t,r),n=[];while(r[0]<t.length){var s=3&t[r[0]];if(0!=s){var i=0,o=0;if(1==s?(o=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(o=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)),n=[ig(n)],0==i)throw new Error("Invalid offset 0");if(i>n[0].length)throw new Error("Invalid offset beyond length");if(o>=i){n.push(n[0].slice(-i)),o-=i;while(o>=n[n.length-1].length)n.push(n[n.length-1]),o-=n[n.length-1].length}n.push(n[0].slice(-i,-i+o))}else{var c=t[r[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[r[0]],l>1&&(c|=t[r[0]+1]<<8),l>2&&(c|=t[r[0]+2]<<16),l>3&&(c|=t[r[0]+3]<<24),c>>>=0,c++,r[0]+=l}n.push(t.slice(r[0],r[0]+c)),r[0]+=c}}var f=ig(n);if(f.length!=a)throw new Error("Unexpected length: ".concat(f.length," != ").concat(a));return f}function wg(e){var t=[],r=0;while(r<e.length){var a=e[r++],n=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(gg(a,e.slice(r,r+n))),r+=n}if(r!==e.length)throw new Error("data is not a valid framed stream!");return ig(t)}function kg(e){var t=[],r=0;while(r<e.length){var a=Math.min(e.length-r,268435455),n=new Uint8Array(4);t.push(n);var s=hg(a),i=s.length;t.push(s),a<=60?(i++,t.push(new Uint8Array([a-1<<2]))):a<=256?(i+=2,t.push(new Uint8Array([240,a-1&255]))):a<=65536?(i+=3,t.push(new Uint8Array([244,a-1&255,a-1>>8&255]))):a<=16777216?(i+=4,t.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(i+=5,t.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),t.push(e.slice(r,r+a)),i+=a,n[0]=0,n[1]=255&i,n[2]=i>>8&255,n[3]=i>>16&255,r+=a}return ig(t)}function Tg(e,t,r,a){var n,s=rg(e),i=s.getUint32(4,!0),o=(a>1?12:8)+4*og(i&(a>1?3470:398)),c=-1,l=-1,f=NaN,h=new Date(2001,0,1);switch(512&i&&(c=s.getUint32(o,!0),o+=4),o+=4*og(i&(a>1?12288:4096)),16&i&&(l=s.getUint32(o,!0),o+=4),32&i&&(f=s.getFloat64(o,!0),o+=8),64&i&&(h.setTime(h.getTime()+1e3*s.getFloat64(o,!0)),o+=8),e[2]){case 0:break;case 2:n={t:"n",v:f};break;case 3:n={t:"s",v:t[l]};break;case 5:n={t:"d",v:h};break;case 6:n={t:"b",v:f>0};break;case 7:n={t:"n",v:f/86400};break;case 8:n={t:"e",v:0};break;case 9:if(c>-1)n={t:"s",v:r[c]};else if(l>-1)n={t:"s",v:t[l]};else{if(isNaN(f))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));n={t:"n",v:f}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return n}function Eg(e,t,r){var a,n=rg(e),s=n.getUint32(8,!0),i=12,o=-1,c=-1,l=NaN,f=NaN,h=new Date(2001,0,1);switch(1&s&&(l=cg(e,i),i+=16),2&s&&(f=n.getFloat64(i,!0),i+=8),4&s&&(h.setTime(h.getTime()+1e3*n.getFloat64(i,!0)),i+=8),8&s&&(c=n.getUint32(i,!0),i+=4),16&s&&(o=n.getUint32(i,!0),i+=4),e[1]){case 0:break;case 2:a={t:"n",v:l};break;case 3:a={t:"s",v:t[c]};break;case 5:a={t:"d",v:h};break;case 6:a={t:"b",v:f>0};break;case 7:a={t:"n",v:f/86400};break;case 8:a={t:"e",v:0};break;case 9:if(!(o>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)));a={t:"s",v:r[o]};break;case 10:a={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)))}return a}function yg(e,t){var r=new Uint8Array(32),a=rg(r),n=12,s=0;switch(r[0]=5,e.t){case"n":r[1]=2,lg(r,n,e.v),s|=1,n+=16;break;case"b":r[1]=6,a.setFloat64(n,e.v?1:0,!0),s|=2,n+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,a.setUint32(n,t.indexOf(e.v),!0),s|=8,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(8,s,!0),r.slice(0,n)}function Sg(e,t){var r=new Uint8Array(32),a=rg(r),n=12,s=0;switch(r[0]=3,e.t){case"n":r[2]=2,a.setFloat64(n,e.v,!0),s|=32,n+=8;break;case"b":r[2]=6,a.setFloat64(n,e.v?1:0,!0),s|=32,n+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,a.setUint32(n,t.indexOf(e.v),!0),s|=16,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(4,s,!0),r.slice(0,n)}function _g(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return Tg(e,t,r,e[0]);case 5:return Eg(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function xg(e){var t=dg(e);return fg(t[1][0].data)}function Ag(e,t){var r=dg(t.data),a=ug(r[1][0].data),n=r[3],s=[];return(n||[]).forEach((function(t){var r=dg(t.data),n=ug(r[1][0].data)>>>0;switch(a){case 1:s[n]=ag(r[3][0].data);break;case 8:var i=e[xg(r[9][0].data)][0],o=dg(i.data),c=e[xg(o[1][0].data)][0],l=ug(c.meta[1][0].data);if(2001!=l)throw new Error("2000 unexpected reference to ".concat(l));var f=dg(c.data);s[n]=f[3].map((function(e){return ag(e.data)})).join("");break}})),s}function Cg(e,t){var r,a,n,s,i,o,c,l,f,h,u,d,p,m,b,v,g=dg(e),w=ug(g[1][0].data)>>>0,k=ug(g[2][0].data)>>>0,T=(null==(a=null==(r=g[8])?void 0:r[0])?void 0:a.data)&&ug(g[8][0].data)>0||!1;if((null==(s=null==(n=g[7])?void 0:n[0])?void 0:s.data)&&0!=t)b=null==(o=null==(i=g[7])?void 0:i[0])?void 0:o.data,v=null==(l=null==(c=g[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(h=null==(f=g[4])?void 0:f[0])?void 0:h.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");b=null==(d=null==(u=g[4])?void 0:u[0])?void 0:d.data,v=null==(m=null==(p=g[3])?void 0:p[0])?void 0:m.data}for(var E=T?4:1,y=rg(b),S=[],_=0;_<b.length/2;++_){var x=y.getUint16(2*_,!0);x<65535&&S.push([_,x])}if(S.length!=k)throw"Expected ".concat(k," cells, found ").concat(S.length);var A=[];for(_=0;_<S.length-1;++_)A[S[_][0]]=v.subarray(S[_][1]*E,S[_+1][1]*E);return S.length>=1&&(A[S[S.length-1][0]]=v.subarray(S[S.length-1][1]*E)),{R:w,cells:A}}function Rg(e,t){var r,a=dg(t.data),n=(null==(r=null==a?void 0:a[7])?void 0:r[0])?ug(a[7][0].data)>>>0>0?1:0:-1,s=mg(a[5],(function(e){return Cg(e,n)}));return{nrows:ug(a[4][0].data)>>>0,data:s.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(r,a){if(e[t.R][a])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(a));e[t.R][a]=r})),e}),[])}}function Ig(e,t,r){var a,n=dg(t.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(ug(n[6][0].data)>>>0)-1,s.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));if(s.e.c=(ug(n[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));r["!ref"]=Ma(s);var i=dg(n[4][0].data),o=Ag(e,e[xg(i[4][0].data)][0]),c=(null==(a=i[17])?void 0:a[0])?Ag(e,e[xg(i[17][0].data)][0]):[],l=dg(i[3][0].data),f=0;l[1].forEach((function(t){var a=dg(t.data),n=e[xg(a[2][0].data)][0],s=ug(n.meta[1][0].data);if(6002!=s)throw new Error("6001 unexpected reference to ".concat(s));var i=Rg(e,n);i.data.forEach((function(e,t){e.forEach((function(e,a){var n=Fa({r:f+t,c:a}),s=_g(e,o,c);s&&(r[n]=s)}))})),f+=i.nrows}))}function Og(e,t){var r=dg(t.data),a={"!ref":"A1"},n=e[xg(r[2][0].data)],s=ug(n[0].meta[1][0].data);if(6001!=s)throw new Error("6000 unexpected reference to ".concat(s));return Ig(e,n[0],a),a}function Ng(e,t){var r,a=dg(t.data),n={name:(null==(r=a[1])?void 0:r[0])?ag(a[1][0].data):"",sheets:[]},s=mg(a[2],xg);return s.forEach((function(t){e[t].forEach((function(t){var r=ug(t.meta[1][0].data);6e3==r&&n.sheets.push(Og(e,t))}))})),n}function Dg(e,t){var r=Iw(),a=dg(t.data),n=mg(a[1],xg);if(n.forEach((function(t){e[t].forEach((function(t){var a=ug(t.meta[1][0].data);if(2==a){var n=Ng(e,t);n.sheets.forEach((function(e,t){Ow(r,e,0==t?n.name:n.name+"_"+t,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Fg(e){var t,r,a,n,s={},i=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=wg(e.content)}catch(a){return console.log("?? "+e.content.length+" "+(a.message||a))}try{r=bg(t)}catch(a){return console.log("## "+(a.message||a))}r.forEach((function(e){s[e.id]=e.messages,i.push(e.id)}))}})),!i.length)throw new Error("File has no messages");var o=(null==(n=null==(a=null==(r=null==(t=null==s?void 0:s[1])?void 0:t[0])?void 0:r.meta)?void 0:a[1])?void 0:n[0].data)&&1==ug(s[1][0].meta[1][0].data)&&s[1][0];if(o||i.forEach((function(e){s[e].forEach((function(e){var t=ug(e.meta[1][0].data)>>>0;if(1==t){if(o)throw new Error("Document has multiple roots");o=e}}))})),!o)throw new Error("Cannot find Document root");return Dg(s,o)}function Pg(e,t,r){var a,n,s,i;if(!(null==(a=e[6])?void 0:a[0])||!(null==(n=e[7])?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var o=(null==(i=null==(s=e[8])?void 0:s[0])?void 0:i.data)&&ug(e[8][0].data)>0||!1;if(o)throw"Math only works with normal offsets";for(var c=0,l=rg(e[7][0].data),f=0,h=[],u=rg(e[4][0].data),d=0,p=[],m=0;m<t.length;++m)if(null!=t[m]){var b,v;switch(l.setUint16(2*m,f,!0),u.setUint16(2*m,d,!0),typeof t[m]){case"string":b=yg({t:"s",v:t[m]},r),v=Sg({t:"s",v:t[m]},r);break;case"number":b=yg({t:"n",v:t[m]},r),v=Sg({t:"n",v:t[m]},r);break;case"boolean":b=yg({t:"b",v:t[m]},r),v=Sg({t:"b",v:t[m]},r);break;default:throw new Error("Unsupported value "+t[m])}h.push(b),f+=b.length,p.push(v),d+=v.length,++c}else l.setUint16(2*m,65535,!0),u.setUint16(2*m,65535);for(e[2][0].data=hg(c);m<e[7][0].data.length/2;++m)l.setUint16(2*m,65535,!0),u.setUint16(2*m,65535,!0);return e[6][0].data=ig(h),e[3][0].data=ig(p),c}function Mg(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 a=Pa(r["!ref"]);a.s.r=a.s.c=0;var n=!1;a.e.c>9&&(n=!0,a.e.c=9),a.e.r>49&&(n=!0,a.e.r=49),n&&console.error("The Numbers writer is currently limited to ".concat(Ma(a)));var s=kw(r,{range:a,header:1}),i=["~Sh33tJ5~"];s.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var o={},c=[],l=Qe.read(t.numbers,{type:"base64"});l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];if(2==t.type&&t.name.match(/\.iwa/)){var a=t.content,n=wg(a),s=bg(n);s.forEach((function(e){c.push(e.id),o[e.id]={deps:[],location:r,type:ug(e.messages[0].meta[1][0].data)}}))}})),c.sort((function(e,t){return e-t}));var f=c.filter((function(e){return e>1})).map((function(e){return[e,hg(e)]}));l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1];if(t.name.match(/\.iwa/)){var r=bg(wg(t.content));r.forEach((function(e){e.messages.forEach((function(t){f.forEach((function(t){e.messages.some((function(e){return 11006!=ug(e.meta[1][0].data)&&sg(e.data,t[1])}))&&o[t[0]].deps.push(e.id)}))}))}))}}));for(var h,u=Qe.find(l,o[1].location),d=bg(wg(u.content)),p=0;p<d.length;++p){var m=d[p];1==m.id&&(h=m)}var b=xg(dg(h.messages[0].data)[1][0].data);for(u=Qe.find(l,o[b].location),d=bg(wg(u.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(h=m);for(b=xg(dg(h.messages[0].data)[2][0].data),u=Qe.find(l,o[b].location),d=bg(wg(u.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(h=m);for(b=xg(dg(h.messages[0].data)[2][0].data),u=Qe.find(l,o[b].location),d=bg(wg(u.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(h=m);var v=dg(h.messages[0].data);v[6][0].data=hg(a.e.r+1),v[7][0].data=hg(a.e.c+1);for(var g=xg(v[46][0].data),w=Qe.find(l,o[g].location),k=bg(wg(w.content)),T=0;T<k.length;++T)if(k[T].id==g)break;if(k[T].id!=g)throw"Bad ColumnRowUIDMapArchive";var E=dg(k[T].messages[0].data);E[1]=[],E[2]=[],E[3]=[];for(var y=0;y<=a.e.c;++y){var S=[];S[1]=S[2]=[{type:0,data:hg(y+420690)}],E[1].push({type:2,data:pg(S)}),E[2].push({type:0,data:hg(y)}),E[3].push({type:0,data:hg(y)})}E[4]=[],E[5]=[],E[6]=[];for(var _=0;_<=a.e.r;++_)S=[],S[1]=S[2]=[{type:0,data:hg(_+726270)}],E[4].push({type:2,data:pg(S)}),E[5].push({type:0,data:hg(_)}),E[6].push({type:0,data:hg(_)});k[T].messages[0].data=pg(E),w.content=kg(vg(k)),w.size=w.content.length,delete v[46];var x=dg(v[4][0].data);x[7][0].data=hg(a.e.r+1);var A=dg(x[1][0].data),C=xg(A[2][0].data);if(w=Qe.find(l,o[C].location),k=bg(wg(w.content)),k[0].id!=C)throw"Bad HeaderStorageBucket";var R=dg(k[0].messages[0].data);for(_=0;_<s.length;++_){var I=dg(R[2][0].data);I[1][0].data=hg(_),I[4][0].data=hg(s[_].length),R[2][_]={type:R[2][0].type,data:pg(I)}}k[0].messages[0].data=pg(R),w.content=kg(vg(k)),w.size=w.content.length;var O=xg(x[2][0].data);if(w=Qe.find(l,o[O].location),k=bg(wg(w.content)),k[0].id!=O)throw"Bad HeaderStorageBucket";for(R=dg(k[0].messages[0].data),y=0;y<=a.e.c;++y)I=dg(R[2][0].data),I[1][0].data=hg(y),I[4][0].data=hg(a.e.r+1),R[2][y]={type:R[2][0].type,data:pg(I)};k[0].messages[0].data=pg(R),w.content=kg(vg(k)),w.size=w.content.length;var N=xg(x[4][0].data);(function(){for(var e,t=Qe.find(l,o[N].location),r=bg(wg(t.content)),a=0;a<r.length;++a){var n=r[a];n.id==N&&(e=n)}var s=dg(e.messages[0].data);s[3]=[];var c=[];i.forEach((function(e,t){c[1]=[{type:0,data:hg(t)}],c[2]=[{type:0,data:hg(1)}],c[3]=[{type:2,data:ng(e)}],s[3].push({type:2,data:pg(c)})})),e.messages[0].data=pg(s);var f=vg(r),h=kg(f);t.content=h,t.size=t.content.length})();var D=dg(x[3][0].data),F=D[1][0];delete D[2];var P=dg(F.data),M=xg(P[2][0].data);(function(){for(var e,t=Qe.find(l,o[M].location),r=bg(wg(t.content)),n=0;n<r.length;++n){var c=r[n];c.id==M&&(e=c)}var f=dg(e.messages[0].data);delete f[6],delete D[7];var h=new Uint8Array(f[5][0].data);f[5]=[];for(var u=0,d=0;d<=a.e.r;++d){var p=dg(h);u+=Pg(p,s[d],i),p[1][0].data=hg(d),f[5].push({data:pg(p),type:2})}f[1]=[{type:0,data:hg(a.e.c+1)}],f[2]=[{type:0,data:hg(a.e.r+1)}],f[3]=[{type:0,data:hg(u)}],f[4]=[{type:0,data:hg(a.e.r+1)}],e.messages[0].data=pg(f);var m=vg(r),b=kg(m);t.content=b,t.size=t.content.length})(),F.data=pg(P),x[3][0].data=pg(D),v[4][0].data=pg(x),h.messages[0].data=pg(v);var L=vg(d),U=kg(L);return u.content=U,u.size=u.content.length,l}function Lg(e){return function(t){for(var r=0;r!=e.length;++r){var a=e[r];void 0===t[a[0]]&&(t[a[0]]=a[1]),"n"===a[2]&&(t[a[0]]=Number(t[a[0]]))}}}function Ug(e){Lg([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Bg(e){Lg([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function Wg(e){return Qn.WS.indexOf(e)>-1?"sheet":Qn.CS&&e==Qn.CS?"chart":Qn.DS&&e==Qn.DS?"dialog":Qn.MS&&e==Qn.MS?"macro":e&&e.length?e:"sheet"}function Hg(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Wg(e["!id"][t.id].Type)]}))}catch(r){return null}return e&&0!==e.length?e:null}function zg(e,t,r,a,n,s,i,o,c,l,f,h){try{s[a]=ts(Ft(e,r,!0),t);var u,d=Dt(e,t);switch(o){case"sheet":u=mb(d,t,n,c,s[a],l,f,h);break;case"chart":if(u=bb(d,t,n,c,s[a],l,f,h),!u||!u["!drawel"])break;var p=Wt(u["!drawel"].Target,t),m=es(p),b=nh(Ft(e,p,!0),ts(Ft(e,m,!0),p)),v=Wt(b,p),g=es(v);u=Lm(Ft(e,v,!0),v,c,ts(Ft(e,g,!0),v),l,u);break;case"macro":u=vb(d,t,n,c,s[a],l,f,h);break;case"dialog":u=gb(d,t,n,c,s[a],l,f,h);break;default:throw new Error("Unrecognized sheet type "+o)}i[a]=u;var w=[];s&&s[a]&&st(s[a]).forEach((function(r){var n="";if(s[a][r].Type==Qn.CMNT){n=Wt(s[a][r].Target,t);var i=Eb(Dt(e,n,!0),n,c);if(!i||!i.length)return;oh(u,i,!1)}s[a][r].Type==Qn.TCMNT&&(n=Wt(s[a][r].Target,t),w=w.concat(fh(Dt(e,n,!0),c)))})),w&&w.length&&oh(u,w,!0,c.people||[])}catch(k){if(c.WTF)throw k}}function Vg(e){return"/"==e.charAt(0)?e.slice(1):e}function jg(e,t){if($e(),t=t||{},Ug(t),Ot(e,"META-INF/manifest.xml"))return Zv(e,t);if(Ot(e,"objectdata.xml"))return Zv(e,t);if(Ot(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof Fg){if(e.FileIndex)return Fg(e);var r=Qe.utils.cfb_new();return Mt(e).forEach((function(t){Lt(r,t,Pt(e,t))})),Fg(r)}throw new Error("Unsupported NUMBERS file")}if(!Ot(e,"[Content_Types].xml")){if(Ot(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ot(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var a,n,s=Mt(e),i=Zn(Ft(e,"[Content_Types].xml")),o=!1;if(0===i.workbooks.length&&(n="xl/workbook.xml",Dt(e,n,!0)&&i.workbooks.push(n)),0===i.workbooks.length){if(n="xl/workbook.bin",!Dt(e,n,!0))throw new Error("Could not find workbook");i.workbooks.push(n),o=!0}"bin"==i.workbooks[0].slice(-3)&&(o=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(Id=[],i.sst)try{Id=Tb(Dt(e,Vg(i.sst)),i.sst,t)}catch(I){if(t.WTF)throw I}t.cellStyles&&i.themes.length&&(c=kb(Ft(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(l=wb(Dt(e,Vg(i.style)),i.style,c,t))}i.links.map((function(r){try{var a=ts(Ft(e,es(Vg(r))),r);return Sb(Dt(e,Vg(r)),a,r,t)}catch(I){}}));var f=pb(Dt(e,Vg(i.workbooks[0])),i.workbooks[0],t),h={},u="";i.coreprops.length&&(u=Dt(e,Vg(i.coreprops[0]),!0),u&&(h=ds(u)),0!==i.extprops.length&&(u=Dt(e,Vg(i.extprops[0]),!0),u&&ws(u,h,t)));var d={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(u=Ft(e,Vg(i.custprops[0]),!0),u&&(d=Es(u,t)));var p={};if((t.bookSheets||t.bookProps)&&(f.Sheets?a=f.Sheets.map((function(e){return e.name})):h.Worksheets&&h.SheetNames.length>0&&(a=h.SheetNames),t.bookProps&&(p.Props=h,p.Custprops=d),t.bookSheets&&"undefined"!==typeof a&&(p.SheetNames=a),t.bookSheets?p.SheetNames:t.bookProps))return p;a={};var m={};t.bookDeps&&i.calcchain&&(m=yb(Dt(e,Vg(i.calcchain)),i.calcchain,t));var b,v,g=0,w={},k=f.Sheets;h.Worksheets=k.length,h.SheetNames=[];for(var T=0;T!=k.length;++T)h.SheetNames[T]=k[T].name;var E=o?"bin":"xml",y=i.workbooks[0].lastIndexOf("/"),S=(i.workbooks[0].slice(0,y+1)+"_rels/"+i.workbooks[0].slice(y+1)+".rels").replace(/^\//,"");Ot(e,S)||(S="xl/_rels/workbook."+E+".rels");var _=ts(Ft(e,S,!0),S.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(t.xlmeta=_b(Dt(e,Vg(i.metadata[0])),i.metadata[0],t)),(i.people||[]).length>=1&&(t.people=uh(Dt(e,Vg(i.people[0])),t)),_&&(_=Hg(_,f.Sheets));var x=Dt(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(g=0;g!=h.Worksheets;++g){var A="sheet";if(_&&_[g]?(b="xl/"+_[g][1].replace(/[\/]?xl\//,""),Ot(e,b)||(b=_[g][1]),Ot(e,b)||(b=S.replace(/_rels\/.*$/,"")+_[g][1]),A=_[g][2]):(b="xl/worksheets/sheet"+(g+1-x)+"."+E,b=b.replace(/sheet0\./,"sheet.")),v=b.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(g!=t.sheets)continue e;break;case"string":if(h.SheetNames[g].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var C=!1,R=0;R!=t.sheets.length;++R)"number"==typeof t.sheets[R]&&t.sheets[R]==g&&(C=1),"string"==typeof t.sheets[R]&&t.sheets[R].toLowerCase()==h.SheetNames[g].toLowerCase()&&(C=1);if(!C)continue e}}zg(e,b,v,h.SheetNames[g],g,w,a,A,t,f,c,l)}return p={Directory:i,Workbook:f,Props:h,Custprops:d,Deps:m,Sheets:a,SheetNames:h.SheetNames,Strings:Id,Styles:l,Themes:c,SSF:Et(Z)},t&&t.bookFiles&&(e.files?(p.keys=s,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]})))),t&&t.bookVBA&&(i.vba.length>0?p.vbaraw=Dt(e,Vg(i.vba[0]),!0):i.defaults&&i.defaults.bin===kh&&(p.vbaraw=Dt(e,"xl/vbaProject.bin",!0))),p}function Gg(e,t){var r=t||{},a="Workbook",n=Qe.find(e,a);try{if(a="/!DataSpaces/Version",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(Jc(n.content),a="/!DataSpaces/DataSpaceMap",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=qc(n.content);if(1!==s.length||1!==s[0].comps.length||0!==s[0].comps[0].t||"StrongEncryptionDataSpace"!==s[0].name||"EncryptedPackage"!==s[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Qc(n.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);tl(n.content)}catch(c){}if(a="/EncryptionInfo",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=nl(n.content);if(a="/EncryptedPackage",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(4==o[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(o[1],n.content,r.password||"",r);if(2==o[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(o[1],n.content,r.password||"",r);throw new Error("File is password-protected")}function $g(e,t){return"ods"==t.bookType?tg(e,t):"numbers"==t.bookType?Mg(e,t):"xlsb"==t.bookType?Xg(e,t):Yg(e,t)}function Xg(e,t){sh=1024,e&&!e.SSF&&(e.SSF=Et(Z)),e&&e.SSF&&($e(),Ge(e.SSF),t.revssf=ct(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,Nd?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",a=yh.indexOf(t.bookType)>-1,n=Jn();Bg(t=t||{});var s=Ut(),i="",o=0;if(t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Lt(s,i,ms(e.Props,t)),n.coreprops.push(i),as(t.rels,2,i,Qn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,Lt(s,i,ks(e.Props,t)),n.extprops.push(i),as(t.rels,3,i,Qn.EXT_PROPS),e.Custprops!==e.Props&&st(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Lt(s,i,ys(e.Custprops,t)),n.custprops.push(i),as(t.rels,4,i,Qn.CUST_PROPS)),o=1;o<=e.SheetNames.length;++o){var f={"!id":{}},h=e.Sheets[e.SheetNames[o-1]],u=(h||{})["!type"]||"sheet";switch(u){case"chart":default:i="xl/worksheets/sheet"+o+"."+r,Lt(s,i,Ab(o-1,i,t,e,f)),n.sheets.push(i),as(t.wbrels,-1,"worksheets/sheet"+o+"."+r,Qn.WS[0])}if(h){var d=h["!comments"],p=!1,m="";d&&d.length>0&&(m="xl/comments"+o+"."+r,Lt(s,m,Ib(d,m,t)),n.comments.push(m),as(f,-1,"../comments"+o+"."+r,Qn.CMNT),p=!0),h["!legacy"]&&p&&Lt(s,"xl/drawings/vmlDrawing"+o+".vml",ih(o,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&Lt(s,es(i),rs(f))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Lt(s,i,Rb(t.Strings,i,t)),n.strs.push(i),as(t.wbrels,-1,"sharedStrings."+r,Qn.SST)),i="xl/workbook."+r,Lt(s,i,xb(e,i,t)),n.workbooks.push(i),as(t.rels,1,i,Qn.WB),i="xl/theme/theme1.xml",Lt(s,i,Df(e.Themes,t)),n.themes.push(i),as(t.wbrels,-1,"theme/theme1.xml",Qn.THEME),i="xl/styles."+r,Lt(s,i,Cb(e,i,t)),n.styles.push(i),as(t.wbrels,-1,"styles."+r,Qn.STY),e.vbaraw&&a&&(i="xl/vbaProject.bin",Lt(s,i,e.vbaraw),n.vba.push(i),as(t.wbrels,-1,"vbaProject.bin",Qn.VBA)),i="xl/metadata."+r,Lt(s,i,Ob(i)),n.metadata.push(i),as(t.wbrels,-1,"metadata."+r,Qn.XLMETA),Lt(s,"[Content_Types].xml",qn(n,t)),Lt(s,"_rels/.rels",rs(t.rels)),Lt(s,"xl/_rels/workbook."+r+".rels",rs(t.wbrels)),delete t.revssf,delete t.ssf,s}function Yg(e,t){sh=1024,e&&!e.SSF&&(e.SSF=Et(Z)),e&&e.SSF&&($e(),Ge(e.SSF),t.revssf=ct(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,Nd?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",a=yh.indexOf(t.bookType)>-1,n=Jn();Bg(t=t||{});var s=Ut(),i="",o=0;if(t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Lt(s,i,ms(e.Props,t)),n.coreprops.push(i),as(t.rels,2,i,Qn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,Lt(s,i,ks(e.Props,t)),n.extprops.push(i),as(t.rels,3,i,Qn.EXT_PROPS),e.Custprops!==e.Props&&st(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Lt(s,i,ys(e.Custprops,t)),n.custprops.push(i),as(t.rels,4,i,Qn.CUST_PROPS));var f=["SheetJ5"];for(t.tcid=0,o=1;o<=e.SheetNames.length;++o){var h={"!id":{}},u=e.Sheets[e.SheetNames[o-1]],d=(u||{})["!type"]||"sheet";switch(d){case"chart":default:i="xl/worksheets/sheet"+o+"."+r,Lt(s,i,vp(o-1,t,e,h)),n.sheets.push(i),as(t.wbrels,-1,"worksheets/sheet"+o+"."+r,Qn.WS[0])}if(u){var p=u["!comments"],m=!1,b="";if(p&&p.length>0){var v=!1;p.forEach((function(e){e[1].forEach((function(e){1==e.T&&(v=!0)}))})),v&&(b="xl/threadedComments/threadedComment"+o+"."+r,Lt(s,b,hh(p,f,t)),n.threadedcomments.push(b),as(h,-1,"../threadedComments/threadedComment"+o+"."+r,Qn.TCMNT)),b="xl/comments"+o+"."+r,Lt(s,b,lh(p,t)),n.comments.push(b),as(h,-1,"../comments"+o+"."+r,Qn.CMNT),m=!0}u["!legacy"]&&m&&Lt(s,"xl/drawings/vmlDrawing"+o+".vml",ih(o,u["!comments"])),delete u["!comments"],delete u["!legacy"]}h["!id"].rId1&&Lt(s,es(i),rs(h))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Lt(s,i,zc(t.Strings,t)),n.strs.push(i),as(t.wbrels,-1,"sharedStrings."+r,Qn.SST)),i="xl/workbook."+r,Lt(s,i,tb(e,t)),n.workbooks.push(i),as(t.rels,1,i,Qn.WB),i="xl/theme/theme1.xml",Lt(s,i,Df(e.Themes,t)),n.themes.push(i),as(t.wbrels,-1,"theme/theme1.xml",Qn.THEME),i="xl/styles."+r,Lt(s,i,Yl(e,t)),n.styles.push(i),as(t.wbrels,-1,"styles."+r,Qn.STY),e.vbaraw&&a&&(i="xl/vbaProject.bin",Lt(s,i,e.vbaraw),n.vba.push(i),as(t.wbrels,-1,"vbaProject.bin",Qn.VBA)),i="xl/metadata."+r,Lt(s,i,qf()),n.metadata.push(i),as(t.wbrels,-1,"metadata."+r,Qn.XLMETA),f.length>1&&(i="xl/persons/person.xml",Lt(s,i,dh(f,t)),n.people.push(i),as(t.wbrels,-1,"persons/person.xml",Qn.PEOPLE)),Lt(s,"[Content_Types].xml",qn(n,t)),Lt(s,"_rels/.rels",rs(t.rels)),Lt(s,"xl/_rels/workbook."+r+".rels",rs(t.wbrels)),delete t.revssf,delete t.ssf,s}function Kg(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=S(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 Jg(e,t){return Qe.find(e,"EncryptedPackage")?Gg(e,t):dv(e,t)}function Zg(e,t){var r,a=e,n=t||{};return n.type||(n.type=_&&Buffer.isBuffer(e)?"buffer":"base64"),r=Bt(a,n),jg(r,n)}function qg(e,t){var r=0;e:while(r<e.length)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return jb(e.slice(r),t);default:break e}return Ac.to_workbook(e,t)}function Qg(e,t){var r="",a=Kg(e,t);switch(t.type){case"base64":r=S(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=Tt(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==a[0]&&187==a[1]&&191==a[2]&&(r=dr(r)),t.type="binary",qg(r,t)}function ew(e,t){var r=e;return"base64"==t.type&&(r=S(r)),r=m.utils.decode(1200,r.slice(2),"str"),t.type="binary",qg(r,t)}function tw(e){return e.match(/[^\x00-\x7F]/)?pr(e):e}function rw(e,t,r,a){return a?(r.type="string",Ac.to_workbook(e,r)):Ac.to_workbook(t,r)}function aw(e,t){h();var r=t||{};if("undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer)return aw(new Uint8Array(e),(r=Et(r),r.type="array",r));"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!==typeof Deno?"buffer":"array");var a=e,n=[0,0,0,0],s=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),Od={},r.dateNF&&(Od.dateNF=r.dateNF),r.type||(r.type=_&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=_?"buffer":"binary",a=nt(e),"undefined"===typeof Uint8Array||_||(r.type="array")),"string"==r.type&&(s=!0,r.type="binary",r.codepage=65001,a=tw(e)),"array"==r.type&&"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var i=new ArrayBuffer(3),o=new Uint8Array(i);if(o.foo="bar",!o.foo)return r=Et(r),r.type="array",aw(D(a),r)}switch((n=Kg(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return Jg(Qe.read(a,r),r);break;case 9:if(n[1]<=8)return dv(a,r);break;case 60:return jb(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return Cc(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return _c.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?Zg(a,r):rw(e,a,r,s);case 239:return 60===n[3]?jb(a,r):rw(e,a,r,s);case 255:if(254===n[1])return ew(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Rc.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Rc.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Rc.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return yc.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return vl.to_workbook(a,r);break;case 10:case 13:case 32:return Qg(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet");break}return Ec.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?yc.to_workbook(a,r):rw(e,a,r,s)}function nw(e,t){var r=t||{};return r.type="file",aw(e,r)}function sw(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return at(t.file,Qe.write(e,{type:_?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Qe.write(e,t)}function iw(e,t){var r=Et(t||{}),a=$g(e,r);return cw(a,r)}function ow(e,t){var r=Et(t||{}),a=Yg(e,r);return cw(a,r)}function cw(e,t){var r={},a=_?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=a;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=a;break;default:throw new Error("Unrecognized type "+t.type)}var n=e.FullPaths?Qe.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 n){if("binary"==t.type||"base64"==t.type)return n;n=new Uint8Array(I(n))}return t.password&&"undefined"!==typeof encrypt_agile?sw(encrypt_agile(n,t.password),t):"file"===t.type?at(t.file,n):"string"==t.type?dr(n):n}function lw(e,t){var r=t||{},a=pv(e,r);return sw(a,r)}function fw(e,t,r){r||(r="");var a=r+e;switch(t.type){case"base64":return y(pr(a));case"binary":return pr(a);case"string":return e;case"file":return at(t.file,a,"utf8");case"buffer":return _?x(a,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(a):fw(a,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function hw(e,t){switch(t.type){case"base64":return y(e);case"binary":return e;case"string":return e;case"file":return at(t.file,e,"binary");case"buffer":return _?x(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function uw(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",a=0;a<e.length;++a)r+=String.fromCharCode(e[a]);return"base64"==t.type?y(r):"string"==t.type?dr(r):r;case"file":return at(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function dw(e,t){h(),qm(e);var r=Et(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var a=dw(e,r);return r.type="array",I(a)}return ow(e,r)}function pw(e,t){h(),qm(e);var r=Et(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var a=pw(e,r);return r.type="array",I(a)}var n=0;if(r.sheet&&(n="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[n]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return fw(av(e,r),r);case"slk":case"sylk":return fw(Sc.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"htm":case"html":return fw(zv(e.Sheets[e.SheetNames[n]],r),r);case"txt":return hw(Sw(e.Sheets[e.SheetNames[n]],r),r);case"csv":return fw(yw(e.Sheets[e.SheetNames[n]],r),r,"\ufeff");case"dif":return fw(_c.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"dbf":return uw(yc.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"prn":return fw(Ac.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"rtf":return fw(vl.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"eth":return fw(xc.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"fods":return fw(tg(e,r),r);case"wk1":return uw(Rc.sheet_to_wk1(e.Sheets[e.SheetNames[n]],r),r);case"wk3":return uw(Rc.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),uw(Pv(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),lw(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return iw(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function mw(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function bw(e,t,r){var a=r||{};return a.type="file",a.file=t,mw(a),pw(e,a)}function vw(e,t,r){var a=r||{};return a.type="file",a.file=t,mw(a),dw(e,a)}function gw(e,t,r,a){var n=r||{};n.type="file",n.file=e,mw(n),n.type="buffer";var s=a;return s instanceof Function||(s=r),et.writeFile(e,pw(t,n),s)}function ww(e,t,r,a,n,s,i,o){var c=_a(r),l=o.defval,f=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),h=!0,u=1===n?[]:{};if(1!==n)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:r,enumerable:!1})}catch(b){u.__rowNum__=r}else u.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[a[d]+c];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.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 "+p.t)}if(null!=s[d]){if(null==m)if("e"==p.t&&null===m)u[s[d]]=null;else if(void 0!==l)u[s[d]]=l;else{if(!f||null!==m)continue;u[s[d]]=null}else u[s[d]]=f&&("n"!==p.t||"n"===p.t&&!1!==o.rawNumbers)?m:Ba(p,m,o);null!=m&&(h=!1)}}else{if(void 0===l)continue;null!=s[d]&&(u[s[d]]=l)}}return{row:u,isempty:h}}function kw(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},a=0,n=1,s=[],i=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},f=null!=l.range?l.range:e["!ref"];switch(1===l.header?a=1:"A"===l.header?a=2:Array.isArray(l.header)?a=3:null==l.header&&(a=0),typeof f){case"string":c=La(f);break;case"number":c=La(e["!ref"]),c.s.r=f;break;default:c=f}a>0&&(n=0);var h=_a(c.s.r),u=[],d=[],p=0,m=0,b=Array.isArray(e),v=c.s.r,g=0,w={};b&&!e[v]&&(e[v]=[]);var k=l.skipHidden&&e["!cols"]||[],T=l.skipHidden&&e["!rows"]||[];for(g=c.s.c;g<=c.e.c;++g)if(!(k[g]||{}).hidden)switch(u[g]=Ra(g),r=b?e[v][g]:e[u[g]+h],a){case 1:s[g]=g-c.s.c;break;case 2:s[g]=u[g];break;case 3:s[g]=l.header[g-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),o=i=Ba(r,null,l),m=w[i]||0,m){do{o=i+"_"+m++}while(w[o]);w[i]=m,w[o]=1}else w[i]=1;s[g]=o}for(v=c.s.r+n;v<=c.e.r;++v)if(!(T[v]||{}).hidden){var E=ww(e,c,v,u,a,s,b,l);(!1===E.isempty||(1===a?!1!==l.blankrows:l.blankrows))&&(d[p++]=E.row)}return d.length=p,d}var Tw=/"/g;function Ew(e,t,r,a,n,s,i,o){for(var c=!0,l=[],f="",h=_a(r),u=t.s.c;u<=t.e.c;++u)if(a[u]){var d=o.dense?(e[r]||[])[u]:e[a[u]+h];if(null==d)f="";else if(null!=d.v){c=!1,f=""+(o.rawNumbers&&"n"==d.t?d.v:Ba(d,null,o));for(var p=0,m=0;p!==f.length;++p)if((m=f.charCodeAt(p))===n||m===s||34===m||o.forceQuotes){f='"'+f.replace(Tw,'""')+'"';break}"ID"==f&&(f='"ID"')}else null==d.f||d.F?f="":(c=!1,f="="+d.f,f.indexOf(",")>=0&&(f='"'+f.replace(Tw,'""')+'"'));l.push(f)}return!1===o.blankrows&&c?null:l.join(i)}function yw(e,t){var r=[],a=null==t?{}:t;if(null==e||null==e["!ref"])return"";var n=La(e["!ref"]),s=void 0!==a.FS?a.FS:",",i=s.charCodeAt(0),o=void 0!==a.RS?a.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==s?"\\|":s)+"+$"),f="",h=[];a.dense=Array.isArray(e);for(var u=a.skipHidden&&e["!cols"]||[],d=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(u[p]||{}).hidden||(h[p]=Ra(p));for(var m=0,b=n.s.r;b<=n.e.r;++b)(d[b]||{}).hidden||(f=Ew(e,n,b,h,i,c,s,a),null!=f&&(a.strip&&(f=f.replace(l,"")),(f||!1!==a.blankrows)&&r.push((m++?o:"")+f)));return delete a.dense,r.join("")}function Sw(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=yw(e,t);if("undefined"==typeof m||"string"==t.type)return r;var a=m.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function _w(e){var t,r="",a="";if(null==e||null==e["!ref"])return[];var n,s=La(e["!ref"]),i="",o=[],c=[],l=Array.isArray(e);for(n=s.s.c;n<=s.e.c;++n)o[n]=Ra(n);for(var f=s.s.r;f<=s.e.r;++f)for(i=_a(f),n=s.s.c;n<=s.e.c;++n)if(r=o[n]+i,t=l?(e[f]||[])[n]:e[r],a="",void 0!==t){if(null!=t.F){if(r=t.F,!t.f)continue;a=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)a=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)a=""+t.v;else if("b"==t.t)a=t.v?"TRUE":"FALSE";else if(void 0!==t.w)a="'"+t.w;else{if(void 0===t.v)continue;a="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=r+"="+a}return c}function xw(e,t,r){var a,n=r||{},s=+!n.skipHeader,i=e||{},o=0,c=0;if(i&&null!=n.origin)if("number"==typeof n.origin)o=n.origin;else{var l="string"==typeof n.origin?Da(n.origin):n.origin;o=l.r,c=l.c}var f={s:{c:0,r:0},e:{c:c,r:o+t.length-1+s}};if(i["!ref"]){var h=La(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==o&&(o=h.e.r+1,f.e.r=o+t.length-1+s)}else-1==o&&(o=0,f.e.r=t.length-1+s);var u=n.header||[],d=0;t.forEach((function(e,t){st(e).forEach((function(r){-1==(d=u.indexOf(r))&&(u[d=u.length]=r);var l=e[r],f="z",h="",p=Fa({c:c+d,r:o+t+s});a=Cw(i,p),!l||"object"!==typeof l||l instanceof Date?("number"==typeof l?f="n":"boolean"==typeof l?f="b":"string"==typeof l?f="s":l instanceof Date?(f="d",n.cellDates||(f="n",l=ht(l)),h=n.dateNF||Z[14]):null===l&&n.nullError&&(f="e",l=0),a?(a.t=f,a.v=l,delete a.w,delete a.R,h&&(a.z=h)):i[p]=a={t:f,v:l},h&&(a.z=h)):i[p]=l}))})),f.e.c=Math.max(f.e.c,c+u.length-1);var p=_a(o);if(s)for(d=0;d<u.length;++d)i[Ra(d+c)+p]={t:"s",v:u[d]};return i["!ref"]=Ma(f),i}function Aw(e,t){return xw(null,e,t)}function Cw(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var a=Da(t);return e[a.r]||(e[a.r]=[]),e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Cw(e,Fa("number"!=typeof t?t:{r:t,c:r||0}))}function Rw(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 Iw(){return{SheetNames:[],Sheets:{}}}function Ow(e,t,r,a){var n=1;if(!r)for(;n<=65535;++n,r=void 0)if(-1==e.SheetNames.indexOf(r="Sheet"+n))break;if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(r)>=0){var s=r.match(/(^.*?)(\d+)$/);n=s&&+s[2]||0;var i=s&&s[1]||r;for(++n;n<=65535;++n)if(-1==e.SheetNames.indexOf(r=i+n))break}if(Jm(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 Nw(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var a=Rw(e,t);switch(e.Workbook.Sheets[a]||(e.Workbook.Sheets[a]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r}function Dw(e,t){return e.z=t,e}function Fw(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Pw(e,t,r){return Fw(e,"#"+t,r)}function Mw(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})}function Lw(e,t,r,a){for(var n="string"!=typeof t?t:La(t),s="string"==typeof t?t:Ma(t),i=n.s.r;i<=n.e.r;++i)for(var o=n.s.c;o<=n.e.c;++o){var c=Cw(e,i,o);c.t="n",c.F=s,delete c.v,i==n.s.r&&o==n.s.c&&(c.f=r,a&&(c.D=!0))}return e}var Uw,Bw={encode_col:Ra,encode_row:_a,encode_cell:Fa,encode_range:Ma,decode_col:Ca,decode_row:Sa,split_cell:Na,decode_cell:Da,decode_range:Pa,format_cell:Ba,sheet_add_aoa:Ha,sheet_add_json:xw,sheet_add_dom:Vv,aoa_to_sheet:za,json_to_sheet:Aw,table_to_sheet:jv,table_to_book:Gv,sheet_to_csv:yw,sheet_to_txt:Sw,sheet_to_json:kw,sheet_to_html:zv,sheet_to_formulae:_w,sheet_to_row_object_array:kw,sheet_get_cell:Cw,book_new:Iw,book_append_sheet:Ow,book_set_sheet_visibility:Nw,cell_set_number_format:Dw,cell_set_hyperlink:Fw,cell_set_internal_link:Pw,cell_add_comment:Mw,sheet_set_array_formula:Lw,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Ww(e){Uw=e}function Hw(e,t){var r=Uw(),a=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;var n=La(e["!ref"]),s=void 0!==a.FS?a.FS:",",i=s.charCodeAt(0),o=void 0!==a.RS?a.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==s?"\\|":s)+"+$"),f="",h=[];a.dense=Array.isArray(e);for(var u=a.skipHidden&&e["!cols"]||[],d=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(u[p]||{}).hidden||(h[p]=Ra(p));var m=n.s.r,b=!1,v=0;return r._read=function(){if(!b)return b=!0,r.push("\ufeff");while(m<=n.e.r)if(++m,!(d[m-1]||{}).hidden&&(f=Ew(e,n,m-1,h,i,c,s,a),null!=f&&(a.strip&&(f=f.replace(l,"")),f||!1!==a.blankrows)))return r.push((v++?o:"")+f);return r.push(null)},r}function zw(e,t){var r=Uw(),a=t||{},n=null!=a.header?a.header:Uv,s=null!=a.footer?a.footer:Bv;r.push(n);var i=Pa(e["!ref"]);a.dense=Array.isArray(e),r.push(Hv(e,i,a));var o=i.s.r,c=!1;return r._read=function(){if(o>i.e.r)return c||(c=!0,r.push("</table>"+s)),r.push(null);while(o<=i.e.r){r.push(Lv(e,i,o,a)),++o;break}},r}function Vw(e,t){var r=Uw({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var a={t:"n",v:0},n=0,s=1,i=[],o=0,c="",l={s:{r:0,c:0},e:{r:0,c:0}},f=t||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?n=1:"A"===f.header?n=2:Array.isArray(f.header)&&(n=3),typeof h){case"string":l=La(h);break;case"number":l=La(e["!ref"]),l.s.r=h;break;default:l=h}n>0&&(s=0);var u=_a(l.s.r),d=[],p=0,m=Array.isArray(e),b=l.s.r,v=0,g={};m&&!e[b]&&(e[b]=[]);var w=f.skipHidden&&e["!cols"]||[],k=f.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(w[v]||{}).hidden)switch(d[v]=Ra(v),a=m?e[b][v]:e[d[v]+u],n){case 1:i[v]=v-l.s.c;break;case 2:i[v]=d[v];break;case 3:i[v]=f.header[v-l.s.c];break;default:if(null==a&&(a={w:"__EMPTY",t:"s"}),c=o=Ba(a,null,f),p=g[o]||0,p){do{c=o+"_"+p++}while(g[c]);g[o]=p,g[c]=1}else g[o]=1;i[v]=c}return b=l.s.r+s,r._read=function(){while(b<=l.e.r)if(!(k[b-1]||{}).hidden){var t=ww(e,l,b,d,n,i,m,f);if(++b,!1===t.isempty||(1===n?!1!==f.blankrows:f.blankrows))return void r.push(t.row)}return r.push(null)},r}var jw={to_json:Vw,to_html:zw,to_csv:Hw,set_readable:Ww};const Gw=a.version}}]);
  2. //# sourceMappingURL=2016.c8bf4147.js.map