2024-06-16 06:59:39 +00:00
|
|
|
|
import{O as Zn,N as Qn,M as Xc,w as zc,v as Kc,k as $c,ak as jc,_ as Yc}from"./index.899a9c7c.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as gs,t as Jc,c as Pt,w as qc,h as ei,aI as Le,r as ri,o as Zc,bH as Qc,C as ti,D as eo,aH as Xe,G as Q0,aN as Tt,aM as it,aE as ro,aF as to,u as ai,a6 as ao,a$ as no,ba as io,bI as so,O as fo,bm as co,bK as oo,be as lo,bf as uo}from"./arco.949c921a.js";import{h as ho}from"./vue.d12e9c08.js";import{u as xo}from"./loading.68e8c78e.js";import{e as ni,a as P0,u as ii,f as po,h as L0,s as vo,b as B0,g as mo}from"./serial.c741fbda.js";import{b as go,I as M0}from"./form-model.e5cd0550.js";import{S as Gr,C as _o,a as wo}from"./dep-6deb4e3a.0db5d94a.js";import{M as To,T as Eo}from"./index.bfabb95f.js";import{_ as So}from"./helper.5634149e.js";import{u as ko,a as Fo,_ as Lt}from"./useConfig.15f5316e.js";import{L as yo}from"./index.1f3ced7b.js";import{u as Ao}from"./useDisabled.e09eb804.js";import{B as Co}from"./index.487a8728.js";import"./chart.b6f2f6d9.js";import"./dialog.7bec0c4a.js";import"./slot.e31bca8f.js";/**
|
2024-06-15 00:08:13 +00:00
|
|
|
|
* tdesign v1.9.4
|
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/var Do={customValue:{type:Array},disabled:{type:Boolean,default:void 0},label:{type:[Array,Function],default:function(){return[]}},loading:Boolean,size:{type:String,default:"medium",validator:function(t){return t?["small","medium","large"].includes(t):!0}},value:{type:[String,Number,Boolean],default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},defaultValue:{type:[String,Number,Boolean]},onChange:Function};/**
|
|
|
|
|
* tdesign v1.9.4
|
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/function si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Oo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?si(Object(r),!0).forEach(function(a){Lt(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):si(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}var Io=gs({name:"TSwitch",props:Oo({},Do),setup:function(t,r){var a=r.slots,n=Ao(),i=ko("switch"),s=Fo(),f=s.STATUS,c=s.SIZE,o=Jc(t),l=o.value,u=o.modelValue,x=go(l,u,t.defaultValue,t.onChange),d=So(x,2),p=d[0],h=d[1],v=Pt(function(){return t.customValue&&t.customValue.length>0?t.customValue[0]:!0}),k=Pt(function(){return t.customValue&&t.customValue.length>1?t.customValue[1]:!1});function I(b){var N=p.value===v.value?k.value:v.value;h(N,{e:b})}function _(b){n.value||t.loading||I(b)}var m=Pt(function(){return["".concat(i.value),c.value[t.size],Lt(Lt(Lt({},f.value.disabled,n.value),f.value.loading,t.loading),f.value.checked,p.value===v.value||t.modelValue===v.value)]}),E=Pt(function(){return["".concat(i.value,"__handle"),Lt(Lt({},f.value.disabled,n.value),f.value.loading,t.loading)]}),y=Pt(function(){return["".concat(i.value,"__content"),c.value[t.size],Lt({},f.value.disabled,n.value)]});qc(p,function(b){if(t.customValue&&t.customValue.length&&!t.customValue.includes(b))throw new Error("value is not in ".concat(JSON.stringify(t.customValue)))},{immediate:!0});var S=Pt(function(){if(Zn(t.label))return t.label(ei,{value:p.value});if(Qn(t.label))return t.label;if(Xc(t.label)&&t.label.length){var b=p.value===v.value?t.label[0]:t.label[1];if(!b)return;if(Qn(b))return b;if(Zn(b))return b(ei)}return a.label?a.label({value:p.value}):null});return function(){var b,N;return t.loading?N=Le(yo,{size:"small"},null):S.value&&(b=S.value),Le("div",{class:m.value,disabled:n.value,onClick:_},[Le("span",{class:E.value},[N]),Le("div",{class:y.value},[b])])}}});/**
|
|
|
|
|
* tdesign v1.9.4
|
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/var Ro=zc(Io),bo={S:"\u4E07\u4E0E\u4E11\u4E13\u4E1A\u4E1B\u4E1C\u4E1D\u4E22\u4E24\u4E25\u4E27\u4E2A\u4E2C\u4E30\u4E34\u4E3A\u4E3D\u4E3E\u4E48\u4E49\u4E4C\u4E50\u4E54\u4E60\u4E61\u4E66\u4E70\u4E71\u4E89\u4E8E\u4E8F\u4E91\u4E98\u4E9A\u4EA7\u4EA9\u4EB2\u4EB5\u4EB8\u4EBF\u4EC5\u4ECE\u4ED1\u4ED3\u4EEA\u4EEC\u4EF7\u4F17\u4F18\u4F19\u4F1A\u4F1B\u4F1E\u4F1F\u4F20\u4F24\u4F25\u4F26\u4F27\u4F2A\u4F2B\u4F53\u4F59\u4F63\u4F65\u4FA0\u4FA3\u4FA5\u4FA6\u4FA7\u4FA8\u4FA9\u4FAA\u4FAC\u4FE3\u4FE6\u4FE8\u4FE9\u4FEA\u4FED\u503A\u503E\u506C\u507B\u507E\u507F\u50A5\u50A7\u50A8\u50A9\u513F\u5151\u5156\u515A\u5170\u5173\u5174\u5179\u517B\u517D\u5181\u5185\u5188\u518C\u5199\u519B\u519C\u51A2\u51AF\u51B2\u51B3\u51B5\u51BB\u51C0\u51C4\u51C9\u51CC\u51CF\u51D1\u51DB\u51E0\u51E4\u51EB\u51ED\u51EF\u51FB\u51FC\u51FF\u520D\u5212\u5218\u5219\u521A\u521B\u5220\u522B\u522C\u522D\u523D\u523F\u5240\u5242\u5250\u5251\u5265\u5267\u529D\u529E\u52A1\u52A2\u52A8\u52B1\u52B2\u52B3\u52BF\u52CB\u52D0\u52DA\u5300\u5326\u532E\u533A\u533B\u534E\u534F\u5355\u5356\u5362\u5364\u5367\u536B\u5374\u537A\u5382\u5385\u5386\u5389\u538B\u538C\u538D\u5395\u53A2\u53A3\u53A6\u53A8\u53A9\u53AE\u53BF\u53C2\u53C6\u53C7\u53CC\u53D1\u53D8\u53D9\u53E0\u53F6\u53F7\u53F9\u53FD\u5401\u540E\u5413\u5415\u5417\u5423\u5428\u542C\u542F\u5434\u5452\u5453\u5455\u5456\u5457\u5458\u5459\u545B\u545C\u548F\u5494\u5499\u549B\u549D\u54A4\u54B4\u54B8\u54CC\u54CD\u54D1\u54D2\u54D3\u54D4\u54D5\u54D7\u54D9\u54DC\u54DD\u54DF\u551B\u551D\u5520\u5521\u5522\u5523\u5524\u553F\u5567\u556C\u556D\u556E\u5570\u5574\u5578\u55B7\u55BD\u55BE\u55EB\u5475\u55F3\u5618\u5624\u5631\u565C\u567C\u56A3\u56AF\u56E2\u56ED\u56F1\u56F4\u56F5\u56FD\u56FE\u5706\u5723\u5739\u573A\u5742\u574F\u5757\u575A\u575B\u575C\u575D\u575E\u575F\u5760\u5784\u5785\u5786\u5792\u57A6\u57A7\u57A9\u57AB\u57AD\u57AF\u57B1\u57B2\u57B4\u57D8\u57D9\u57DA\u57DD\u57EF\u5811\u5815\u5846\u5899\u58EE\u58F0\u58F3\u58F6\u58F8\u5904\u5907\u590D\u591F\u5934\u5938\u5939\u593A\u5941\u5942\u594B\u5956\u5965\u5986\u5987\u5988\u59A9\u59AA\u59AB\u59D7\u59DC\u5A04\u5A05\u5A06\u5A07\u5A08\u5A31\u5A32\u5A34\u5A73\u5A74\u5A75\u5A76\u5AAA\u5AD2\u5AD4\u5AF1\u5B37\u5B59\u5B66\u5B6A\u5B81\u5B9D\u5B9E\u5BA0\u5BA1\u5BAA\u5BAB\u5BBD\u5BBE\u5BDD\u5BF9\u5BFB\u5BFC\u5BFF\u5C06\u5C14\u5C18\u5C27\u5C34\u5C38\u5C3D\u5C42\u5C43\u5C49\u5C4A\u5C5E\u5C61\u5C66\u5C7F\u5C81\u5C82\u5C96\u5C97\u5C98\u5C99\u5C9A\u5C9B\u5CAD\u5CB3\u5CBD\u5CBF\u5CC3\u5CC4\u5CE1\u5CE3\u5CE4\u5CE5\u5CE6\u5D02\u5D03\u5D04\u5D2D\u5D58\u5D5A\u5D5B\u5D5D\u5D74\u5DC5\u5DE9\u5DEF\u5E01\u5E05\u5E08\u5E0F\u5E10\u5E18\u5E1C\u5E26\u5E27\u5E2E\u5E31\u5E3B\u5E3C\u5E42\u5E5E\u5E72\u5E76\u5E7F\u5E84\u5E86\u5E90\u5E91\u5E93\u5E94\u5E99\u5E9E\u5E9F\u5EBC\u5EEA\u5F00\u5F02\u5F03\u5F20\u5F25\u5F2A\u5F2F\u5F39\u5F3A\u5F52\u5F53\u5F55\u5F5F\u5F66\u5F7B\u5F84\u5F95\u5FA1\u5FC6\u5FCF\u5FE7\u5FFE\u6000\u6001\u6002\u6003\u6004\u6005\u6006\u601C\u603B\u603C\u603F\u604B\u6073\u6076\u6078\u6079\u607A\u607B\u607C\u607D\u60A6\u60AB\u60AC\u60AD\u60AF\u60CA\u60E7\u60E8\u60E9\u60EB\u60EC\u60ED\u60EE\u60EF\u610D\u6120\u6124\u6126\u613F\u6151\u616D\u61B7\u61D1\u61D2\u61D4\u6206\u620B\u620F\u6217\u6218\u622C\u6237\u624E\u6251\u6266\u6267\u6269\u626A\u626B\u626C\u6270\u629A\u629B\u629F\u62A0\u62A1\u62A2\u62A4\u62A5\u62C5\u62DF\u62E2\u62E3\u62E5\u62E6\u62E7\u62E8\u62E9\u6302\u631A\u631B\u631C\u631D\u631E\u631F\u6320\u6321\u6322\u6323\u6324\u6325\u6326\u635E\u635F\u6361\u6362\u6363\u636E\u637B\u63B3\u63B4\u63B7\u63B8\u63BA\u63BC\u63F8\u63FD\u63FF\u6400\u6401\u6402\u6405\u643A\u6444\u6445\u6446\u6447\u6448\u644A\u6484\u6491\u64B5\u64B7\u64B8\u64BA\u64DE\u6512\u654C\u655B\u6570\u658B\u6593\u6597\u65A9\u65AD\u65E0\u65E7\u65F6\u65F7\u65F8\u6619\u663C\u663D\u663E\u664B\u6652\u6653\u6654\u6655\u6656\u6682\u66A7\u672D\u672F\u6734\u673A\u6740\u6742\u6743\u6761\u6765\u6768\u6769\u6770\u6781\u6784\u679E\u67A2\u67A3\u67A5\u67A7\u67A8\u67AA\u67AB\u67AD\u67DC\u67E0\u67FD\u6800\u6805\u6807\u6808\u6809\u680A\u680B\u680C\u680E\u680F\u6811\u6816\u6837\u683E\u684A\u6860\u6861\u6862\u6863\u6864\u6865\u6866\u6867\u6868\u6869\u68A6\u68BC\u68BE\u68C0\u68C2\u6901\u691F\u6
|
|
|
|
|
`)+`\r
|
|
|
|
|
`}function Pc(g){var F=g.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(X){var z=X.charCodeAt(0).toString(16).toUpperCase();return"="+(z.length==1?"0"+z:z)});F=F.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),F.charAt(0)==`
|
|
|
|
|
`&&(F="=0D"+F.slice(1)),F=F.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
|
|
|
|
|
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var w=[],T=F.split(`\r
|
|
|
|
|
`),A=0;A<T.length;++A){var D=T[A];if(D.length==0){w.push("");continue}for(var G=0;G<D.length;){var q=76,V=D.slice(G,G+q);V.charAt(q-1)=="="?q--:V.charAt(q-2)=="="?q-=2:V.charAt(q-3)=="="&&(q-=3),V=D.slice(G,G+q),G+=q,G<D.length&&(V+="="),w.push(V)}}return w.join(`\r
|
|
|
|
|
`)}function Lc(g){for(var F=[],w=0;w<g.length;++w){for(var T=g[w];w<=g.length&&T.charAt(T.length-1)=="=";)T=T.slice(0,T.length-1)+g[++w];F.push(T)}for(var A=0;A<F.length;++A)F[A]=F[A].replace(/[=][0-9A-Fa-f]{2}/g,function(D){return String.fromCharCode(parseInt(D.slice(1),16))});return Ur(F.join(`\r
|
|
|
|
|
`))}function Bc(g,F,w){for(var T="",A="",D="",G,q=0;q<10;++q){var V=F[q];if(!V||V.match(/^\s*$/))break;var X=V.match(/^(.*?):\s*([^\s].*)$/);if(X)switch(X[1].toLowerCase()){case"content-location":T=X[2].trim();break;case"content-type":D=X[2].trim();break;case"content-transfer-encoding":A=X[2].trim();break}}switch(++q,A.toLowerCase()){case"base64":G=Ur(Hr(F.slice(q).join("")));break;case"quoted-printable":G=Lc(F.slice(q));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+A)}var z=b0(g,T.slice(w.length),G,{unsafe:!0});D&&(z.ctype=D)}function Mc(g,F){if(U(g.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var w=F&&F.root||"",T=(Ce&&Buffer.isBuffer(g)?g.toString("binary"):U(g)).split(`\r
|
|
|
|
|
`),A=0,D="";for(A=0;A<T.length;++A)if(D=T[A],!!/^Content-Location:/i.test(D)&&(D=D.slice(D.indexOf("file")),w||(w=D.slice(0,D.lastIndexOf("/")+1)),D.slice(0,w.length)!=w))for(;w.length>0&&(w=w.slice(0,w.length-1),w=w.slice(0,w.lastIndexOf("/")+1),D.slice(0,w.length)!=w););var G=(T[1]||"").match(/boundary="(.*?)"/);if(!G)throw new Error("MAD cannot find boundary");var q="--"+(G[1]||""),V=[],X=[],z={FileIndex:V,FullPaths:X};S(z);var ne,xe=0;for(A=0;A<T.length;++A){var ve=T[A];ve!==q&&ve!==q+"--"||(xe++&&Bc(z,T.slice(ne,A),w),ne=A)}return z}function Uc(g,F){var w=F||{},T=w.boundary||"SheetJS";T="------="+T;for(var A=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+T.slice(2)+'"',"","",""],D=g.FullPaths[0],G=D,q=g.FileIndex[0],V=1;V<g.FullPaths.length;++V)if(G=g.FullPaths[V].slice(D.length),q=g.FileIndex[V],!(!q.size||!q.content||G=="Sh33tJ5")){G=G.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Fe){return"_x"+Fe.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Fe){return"_u"+Fe.charCodeAt(0).toString(16)+"_"});for(var X=q.content,z=Ce&&Buffer.isBuffer(X)?X.toString("binary"):U(X),ne=0,xe=Math.min(1024,z.length),ve=0,ie=0;ie<=xe;++ie)(ve=z.charCodeAt(ie))>=32&&ve<128&&++ne;var de=ne>=xe*4/5;A.push(T),A.push("Content-Location: "+(w.root||"file:///C:/SheetJS/")+G),A.push("Content-Transfer-Encoding: "+(de?"quoted-printable":"base64")),A.push("Content-Type: "+bc(q,G)),A.push(""),A.push(de?Pc(z):Nc(z))}return A.push(T+`--\r
|
|
|
|
|
`),A.join(`\r
|
|
|
|
|
`)}function Wc(g){var F={};return S(F,g),F}function b0(g,F,w,T){var A=T&&T.unsafe;A||S(g);var D=!A&&me.find(g,F);if(!D){var G=g.FullPaths[0];F.slice(0,G.length)==G?G=F:(G.slice(-1)!="/"&&(G+="/"),G=(G+F).replace("//","/")),D={name:n(F),type:2},g.FileIndex.push(D),g.FullPaths.push(G),A||me.utils.cfb_gc(g)}return D.content=w,D.size=w?w.length:0,T&&(T.CLSID&&(D.clsid=T.CLSID),T.mt&&(D.mt=T.mt),T.ct&&(D.ct=T.ct)),D}function Hc(g,F){S(g);var w=me.find(g,F);if(w){for(var T=0;T<g.FileIndex.length;++T)if(g.FileIndex[T]==w)return g.FileIndex.splice(T,1),g.FullPaths.splice(T,1),!0}return!1}function Vc(g,F,w){S(g);var T=me.find(g,F);if(T){for(var A=0;A<g.FileIndex.length;++A)if(g.FileIndex[A]==T)return g.FileIndex[A].name=n(w),g.FullPaths[A]=w,!0}return!1}function Gc(g){N(g,!0)}return t.find=H,t.read=y,t.parse=l,t.write=he,t.writeFile=Se,t.utils={cfb_new:Wc,cfb_add:b0,cfb_del:Hc,cfb_mov:Vc,cfb_gc:Gc,ReadShift:Sa,CheckField:ef,prep_blob:gr,bconcat:dr,use_zlib:C,_deflateRaw:De,_inflateRaw:Yn,consts:se},t}();function dl(e){return typeof e=="string"?k0(e):Array.isArray(e)?Wo(e):e}function za(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=k0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var a=r=="utf8"?ot(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(a,e);if(typeof Blob<"u"){var n=new Blob([dl(a)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs<"u")return saveAs(n,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=i,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(e);return f.open("w"),f.encoding="binary",Array.isArray(t)&&(t=It(t)),f.write(t),f.close(),t}catch(c){if(!c.message||!c.message.match(/onstruct/))throw c}throw new Error("cannot save file "+e)}function pl(e){if(typeof Deno<"u")return Deno.readFileSync(e);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")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 tr(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 wi(e,t){for(var r=[],a=tr(e),n=0;n!==a.length;++n)r[e[a[n]][t]]==null&&(r[e[a[n]][t]]=a[n]);return r}function y0(e){for(var t=[],r=tr(e),a=0;a!==r.length;++a)t[e[r[a]]]=r[a];return t}function A0(e){for(var t=[],r=tr(e),a=0;a!==r.length;++a)t[e[r[a]]]=parseInt(r[a],10);return t}function vl(e){for(var t=[],r=tr(e),a=0;a!==r.length;++a)t[e[r[a]]]==null&&(t[e[r[a]]]=[]),t[e[r[a]]].push(r[a]);return t}var v0=new Date(1899,11,30,0,0,0);function wr(e,t){var r=e.getTime();t&&(r-=1462*24*60*60*1e3);var a=v0.getTime()+(e.getTimezoneOffset()-v0.getTimezoneOffset())*6e4;return(r-a)/(24*60*60*1e3)}var bs=new Date,ml=v0.getTime()+(bs.getTimezoneOffset()-v0.getTimezoneOffset())*6e4,Ti=bs.getTimezoneOffset();function C0(e){var t=new Date;return t.setTime(e*24*60*60*1e3+ml),t.getTimezoneOffset()!==Ti&&t.setTime(t.getTime()+(t.getTimezoneOffset()-Ti)*6e4),t}function gl(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 i=1;i!=n.length;++i)if(!!n[i]){switch(r=1,i>3&&(a=!0),n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case
|
|
|
|
|
`,Sl=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ki=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,kl=/<[^>]*>/g,Or=ar.match(ki)?ki:kl,Fl=/<\w*:/,yl=/<(\/?)\w+:/;function we(e,t,r){for(var a={},n=0,i=0;n!==e.length&&!((i=e.charCodeAt(n))===32||i===10||i===13);++n);if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var s=e.match(Sl),f=0,c="",o=0,l="",u="",x=1;if(s)for(o=0;o!=s.length;++o){for(u=s[o],i=0;i!=u.length&&u.charCodeAt(i)!==61;++i);for(l=u.slice(0,i).trim();u.charCodeAt(i+1)==32;)++i;for(x=(n=u.charCodeAt(i+1))==34||n==39?1:0,c=u.slice(i+1+x,u.length-x),f=0;f!=l.length&&l.charCodeAt(f)!==58;++f);if(f===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),a[l]=c,r||(a[l.toLowerCase()]=c);else{var d=(f===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(f+1);if(a[d]&&l.slice(f-3,f)=="ext")continue;a[d]=c,r||(a[d.toLowerCase()]=c)}}return a}function lt(e){return e.replace(yl,"<$1")}var Us={""":'"',"'":"'",">":">","<":"<","&":"&"},wn=y0(Us),Ne=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(f,c){return Us[f]||String.fromCharCode(parseInt(c,f.indexOf("x")>-1?16:10))||f}).replace(t,function(f,c){return String.fromCharCode(parseInt(c,16))});var s=n.indexOf("]]>");return r(n.slice(0,i))+n.slice(i+9,s)+r(n.slice(s+3))}}(),Tn=/[&<>'"]/g,Al=/[\u0000-\u0008\u000b-\u001f]/g;function Ge(e){var t=e+"";return t.replace(Tn,function(r){return wn[r]}).replace(Al,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Fi(e){return Ge(e).replace(/ /g,"_x0020_")}var Ws=/[\u0000-\u001f]/g;function En(e){var t=e+"";return t.replace(Tn,function(r){return wn[r]}).replace(/\n/g,"<br/>").replace(Ws,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Cl(e){var t=e+"";return t.replace(Tn,function(r){return wn[r]}).replace(Ws,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var yi=function(){var e=/&#(\d+);/g;function t(r,a){return String.fromCharCode(parseInt(a,10))}return function(a){return a.replace(e,t)}}();function Dl(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Ke(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function W0(e){for(var t="",r=0,a=0,n=0,i=0,s=0,f=0;r<e.length;){if(a=e.charCodeAt(r++),a<128){t+=String.fromCharCode(a);continue}if(n=e.charCodeAt(r++),a>191&&a<224){s=(a&31)<<6,s|=n&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),a<240){t+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function Ai(e){var t=yt(2*e.length),r,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n)n=1,(f=e.charCodeAt(a))<128?r=f:f<224?(r=(f&31)*64+(e.charCodeAt(a+1)&63),n=2):f<240?(r=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63),n=3):(n=4,r=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function Ci(e){return gt(e,"binary").toString("utf8")}var t0="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",ze=Ce&&(Ci(t0)==W0(t0)&&Ci||Ai(t0)==W0(t0)&&Ai)||W0,ot=Ce?function(e){return gt(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,a=0,n=0;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+(a&63)));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+(n&63)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromChar
|
|
|
|
|
`).replace(/<[^>]*>/g,""),n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}(),Il=function(){var e={};return function(r){return e[r]!==void 0?e[r]:e[r]=new RegExp("<(?:vt:)?"+r+">([\\s\\S]*?)</(?:vt:)?"+r+">","g")}}(),Rl=/<\/?(?:vt:)?variant>/g,bl=/<(?:vt:)([^>]*)>([\s\S]*)</;function Di(e,t){var r=we(e),a=e.match(Il(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(i){var s=i.replace(Rl,"").match(bl);s&&n.push({v:ze(s[2]),t:s[1]})}),n}var Hs=/(^\s|\s$|\n)/;function _r(e,t){return"<"+e+(t.match(Hs)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function La(e){return tr(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function fe(e,t,r){return"<"+e+(r!=null?La(r):"")+(t!=null?(t.match(Hs)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function en(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Nl(e,t){switch(typeof e){case"string":var r=fe("vt:lpwstr",Ge(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return fe((e|0)==e?"vt:i4":"vt:r8",Ge(String(e)));case"boolean":return fe("vt:bool",e?"true":"false")}if(e instanceof Date)return fe("vt:filetime",en(e));throw new Error("Unable to serialize "+e)}function Sn(e){if(Ce&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return ze(It(pn(e)));throw new Error("Bad input format: expected Buffer or string")}var Ba=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg,lr={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"},Yt=["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"],Br={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 Pl(e,t){for(var r=1-2*(e[t+7]>>>7),a=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),n=e[t+6]&15,i=5;i>=0;--i)n=n*256+e[t+i];return a==2047?n==0?r*(1/0):NaN:(a==0?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}function Ll(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,i=0,s=a?-t:t;isFinite(s)?s==0?n=i=0:(n=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-n),n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?n=-1022:(i-=Math.pow(2,52),n+=1023)):(n=2047,i=isNaN(t)?26985:0);for(var f=0;f<=5;++f,i/=256)e[r+f]=i&255;e[r+6]=(n&15)<<4|i&15,e[r+7]=n>>4|a}var Oi=function(e){for(var t=[],r=10240,a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=r)t.push.apply(t,e[0][a].slice(n,n+r));return t},Ii=Ce?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:gt(t)})):Oi(e)}:Oi,Ri=function(e,t,r){for(var a=[],n=t;n<r;n+=2)a.push(String.fromCharCode(xt(e,n)));return a.join("").replace(br,"")},kn=Ce?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le"
|
|
|
|
|
`),t.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
|
|
|
|
|
`);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]+`"/>
|
|
|
|
|
`);return t.push("</manifest:manifest>"),t.join("")}function Ui(e,t,r){return[' <rdf:Description rdf:about="'+e+`">
|
|
|
|
|
`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/>
|
|
|
|
|
`,` </rdf:Description>
|
|
|
|
|
`].join("")}function wu(e,t){return[' <rdf:Description rdf:about="'+e+`">
|
|
|
|
|
`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/>
|
|
|
|
|
`,` </rdf:Description>
|
|
|
|
|
`].join("")}function Tu(e){var t=[ar];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
|
|
|
`);for(var r=0;r!=e.length;++r)t.push(Ui(e[r][0],e[r][1])),t.push(wu("",e[r][0]));return t.push(Ui("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function uf(){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 '+h0.version+"</meta:generator></office:meta></office:document-meta>"}var Jr=[["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"]],Eu=function(){for(var e=new Array(Jr.length),t=0;t<Jr.length;++t){var r=Jr[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 hf(e){var t={};e=ze(e);for(var r=0;r<Jr.length;++r){var a=Jr[r],n=e.match(Eu[r]);n!=null&&n.length>0&&(t[a[1]]=Ne(n[1])),a[2]==="date"&&t[a[1]]&&(t[a[1]]=je(t[a[1]]))}return t}function V0(e,t,r,a,n){n[e]!=null||t==null||t===""||(n[e]=t,t=Ge(t),a[a.length]=r?fe(e,t,r):_r(e,t))}function xf(e,t){var r=t||{},a=[ar,fe("cp:coreProperties",null,{"xmlns:cp":lr.CORE_PROPS,"xmlns:dc":lr.dc,"xmlns:dcterms":lr.dcterms,"xmlns:dcmitype":lr.dcmitype,"xmlns:xsi":lr.xsi})],n={};if(!e&&!r.Props)return a.join("");e&&(e.CreatedDate!=null&&V0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:en(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),e.ModifiedDate!=null&&V0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:en(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var i=0;i!=Jr.length;++i){var s=Jr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&V0(s[0],f,null,a,n)}return a.length>2&&(a[a.length]="</cp:coreProperties>",a[1]=a[1].replace("/>",">")),a.join("")}var Wt=[["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"]],df=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function pf(e,t,r,a){var n=[];if(typeof e=="string")n=Di(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(l){return{v:l}}));var s=typeof t=="string"?Di(t,a).map(function(l){return l.v}):t,f=0,c=0;if(s.length>0)for(var o=0;o!==n.length;o+=2){switch(c=+n[o+1].v,n[o].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=s.slice(f,f+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":r.NamedRanges=c,r.DefinedNames=s.slice(f,f+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=s.slice(f,f+c);break}f+=c}}function Su(e,t,r){var a={};return t||(t={}),e=ze(e),Wt.forEach(function(n){var i=(e.match(Pa(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Ne(i));break;case"bool":t[n[1]]=i==
|
|
|
|
|
`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),x["!cols"]&&o(p,x["!cols"]),x["!rows"]&&l(p,x["!rows"]),p.push("B;Y"+(v.e.r-v.s.r+1)+";X"+(v.e.c-v.s.c+1)+";D"+[v.s.c,v.s.r,v.e.c,v.e.r].join(" "));for(var m=v.s.r;m<=v.e.r;++m)for(var E=v.s.c;E<=v.e.c;++E){var y=Ee({r:m,c:E});k=I?(x[m]||[])[E]:x[y],!(!k||k.v==null&&(!k.f||k.F))&&h.push(c(k,x,m,E))}return p.join(_)+_+h.join(_)+_+"E"+_}return{to_workbook:f,to_sheet:s,from_sheet:u}}(),Pf=function(){function e(i,s){switch(s.type){case"base64":return t(Hr(i),s);case"binary":return t(i,s);case"buffer":return t(Ce&&Buffer.isBuffer(i)?i.toString("binary"):It(i),s);case"array":return t(Xt(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(`
|
|
|
|
|
`),c=-1,o=-1,l=0,u=[];l!==f.length;++l){if(f[l].trim()==="BOT"){u[++c]=[],o=0;continue}if(!(c<0)){var x=f[l].trim().split(","),d=x[0],p=x[1];++l;for(var h=f[l]||"";(h.match(/["]/g)||[]).length&1&&l<f.length-1;)h+=`
|
|
|
|
|
`+f[++l];switch(h=h.trim(),+d){case-1:if(h==="BOT"){u[++c]=[],o=0;continue}else if(h!=="EOD")throw new Error("Unrecognized DIF special command "+h);break;case 0:h==="TRUE"?u[c][o]=!0:h==="FALSE"?u[c][o]=!1:isNaN(vt(p))?isNaN(Na(p).getDate())?u[c][o]=p:u[c][o]=je(p):u[c][o]=vt(p),++o;break;case 1:h=h.slice(1,h.length-1),h=h.replace(/""/g,'"'),h&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),u[c][o++]=h!==""?h:null;break}if(h==="EOD")break}}return s&&s.sheetRows&&(u=u.slice(0,s.sheetRows)),u}function r(i,s){return $a(e(i,s),s)}function a(i,s){return Jt(r(i,s),s)}var n=function(){var i=function(c,o,l,u,x){c.push(o),c.push(l+","+u),c.push('"'+x.replace(/"/g,'""')+'"')},s=function(c,o,l,u){c.push(o+","+l),c.push(o==1?'"'+u.replace(/"/g,'""')+'"':u)};return function(c){var o=[],l=We(c["!ref"]),u,x=Array.isArray(c);i(o,"TABLE",0,1,"sheetjs"),i(o,"VECTORS",0,l.e.r-l.s.r+1,""),i(o,"TUPLES",0,l.e.c-l.s.c+1,""),i(o,"DATA",0,0,"");for(var d=l.s.r;d<=l.e.r;++d){s(o,-1,0,"BOT");for(var p=l.s.c;p<=l.e.c;++p){var h=Ee({r:d,c:p});if(u=x?(c[d]||[])[p]:c[h],!u){s(o,1,0,"");continue}switch(u.t){case"n":var v=u.w;!v&&u.v!=null&&(v=u.v),v==null?u.f&&!u.F?s(o,1,0,"="+u.f):s(o,1,0,""):s(o,0,v,"V");break;case"b":s(o,0,u.v?1:0,u.v?"TRUE":"FALSE");break;case"s":s(o,1,0,isNaN(u.v)?u.v:'="'+u.v+'"');break;case"d":u.w||(u.w=qr(u.z||_e[14],wr(je(u.v)))),s(o,0,u.w,"V");break;default:s(o,1,0,"")}}}s(o,-1,0,"EOD");var k=`\r
|
|
|
|
|
`,I=o.join(k);return I}}();return{to_workbook:a,to_sheet:r,from_sheet:n}}(),Lf=function(){function e(u){return u.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
|
|
|
|
|
`)}function t(u){return u.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(u,x){for(var d=u.split(`
|
|
|
|
|
`),p=-1,h=-1,v=0,k=[];v!==d.length;++v){var I=d[v].trim().split(":");if(I[0]==="cell"){var _=ur(I[1]);if(k.length<=_.r)for(p=k.length;p<=_.r;++p)k[p]||(k[p]=[]);switch(p=_.r,h=_.c,I[2]){case"t":k[p][h]=e(I[3]);break;case"v":k[p][h]=+I[3];break;case"vtf":var m=I[I.length-1];case"vtc":switch(I[3]){case"nl":k[p][h]=!!+I[4];break;default:k[p][h]=+I[4];break}I[2]=="vtf"&&(k[p][h]=[k[p][h],m])}}}return x&&x.sheetRows&&(k=k.slice(0,x.sheetRows)),k}function a(u,x){return $a(r(u,x),x)}function n(u,x){return Jt(a(u,x),x)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
|
|
|
|
|
`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
|
|
|
|
|
`)+`
|
|
|
|
|
`,f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
|
|
|
|
|
`),c="--SocialCalcSpreadsheetControlSave--";function o(u){if(!u||!u["!ref"])return"";for(var x=[],d=[],p,h="",v=Zr(u["!ref"]),k=Array.isArray(u),I=v.s.r;I<=v.e.r;++I)for(var _=v.s.c;_<=v.e.c;++_)if(h=Ee({r:I,c:_}),p=k?(u[I]||[])[_]:u[h],!(!p||p.v==null||p.t==="z")){switch(d=["cell",h,"t"],p.t){case"s":case"str":d.push(t(p.v));break;case"n":p.f?(d[2]="vtf",d[3]="n",d[4]=p.v,d[5]=t(p.f)):(d[2]="v",d[3]=p.v);break;case"b":d[2]="vt"+(p.f?"f":"c"),d[3]="nl",d[4]=p.v?"1":"0",d[5]=t(p.f||(p.v?"TRUE":"FALSE"));break;case"d":var m=wr(je(p.v));d[2]="vtc",d[3]="nd",d[4]=""+m,d[5]=p.w||qr(p.z||_e[14],m);break;case"e":continue}x.push(d.join(":"))}return x.push("sheet:c:"+(v.e.c-v.s.c+1)+":r:"+(v.e.r-v.s.r+1)+":tvf:1"),x.push("valueformat:1:text-wiki"),x.join(`
|
|
|
|
|
`)}function l(u){return[i,s,f,s,o(u),c].join(`
|
|
|
|
|
`)}return{to_workbook:n,to_sheet:a,from_sheet:l}}(),ua=function(){function e(l,u,x,d,p){p.raw?u[x][d]=l:l===""||(l==="TRUE"?u[x][d]=!0:l==="FALSE"?u[x][d]=!1:isNaN(vt(l))?isNaN(Na(l).getDate())?u[x][d]=l:u[x][d]=je(l):u[x][d]=vt(l))}function t(l,u){var x=u||{},d=[];if(!l||l.length===0)return d;for(var p=l.split(/[\r\n]/),h=p.length-1;h>=0&&p[h].length===0;)--h;for(var v=10,k=0,I=0;I<=h;++I)k=p[I].indexOf(" "),k==-1?k=p[I].length:k++,v=Math.max(v,k);for(I=0;I<=h;++I){d[I]=[];var _=0;for(e(p[I].slice(0,v).trim(),d,I,_,x),_=1;_<=(p[I].length-v)/10+1;++_)e(p[I].slice(v+(_-1)*10,v+_*10).trim(),d,I,_,x)}return x.sheetRows&&(d=d.slice(0,x.sheetRows)),d}var r={44:",",9:" ",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(l){for(var u={},x=!1,d=0,p=0;d<l.length;++d)(p=l.charCodeAt(d))==34?x=!x:!x&&p in r&&(u[p]=(u[p]||0)+1);p=[];for(d in u)Object.prototype.hasOwnProperty.call(u,d)&&p.push([u[d],d]);if(!p.length){u=a;for(d in u)Object.prototype.hasOwnProperty.call(u,d)&&p.push([u[d],d])}return p.sort(function(h,v){return h[0]-v[0]||a[h[1]]-a[v[1]]}),r[p.pop()[1]]||44}function i(l,u){var x=u||{},d="",p=x.dense?[]:{},h={s:{c:0,r:0},e:{c:0,r:0}};l.slice(0,4)=="sep="?l.charCodeAt(5)==13&&l.charCodeAt(6)==10?(d=l.charAt(4),l=l.slice(7)):l.charCodeAt(5)==13||l.charCodeAt(5)==10?(d=l.charAt(4),l=l.slice(6)):d=n(l.slice(0,1024)):x&&x.FS?d=x.FS:d=n(l.slice(0,1024));var v=0,k=0,I=0,_=0,m=0,E=d.charCodeAt(0),y=!1,S=0,b=l.charCodeAt(0);l=l.replace(/\r\n/mg,`
|
|
|
|
|
`);var N=x.dateNF!=null?ul(x.dateNF):null;function R(){var H=l.slice(_,m),B={};if(H.charAt(0)=='"'&&H.charAt(H.length-1)=='"'&&(H=H.slice(1,-1).replace(/""/g,'"')),H.length===0)B.t="z";else if(x.raw)B.t="s",B.v=H;else if(H.trim().length===0)B.t="s",B.v=H;else if(H.charCodeAt(0)==61)H.charCodeAt(1)==34&&H.charCodeAt(H.length-1)==34?(B.t="s",B.v=H.slice(2,-1).replace(/""/g,'"')):Wd(H)?(B.t="n",B.f=H.slice(1)):(B.t="s",B.v=H);else if(H=="TRUE")B.t="b",B.v=!0;else if(H=="FALSE")B.t="b",B.v=!1;else if(!isNaN(I=vt(H)))B.t="n",x.cellText!==!1&&(B.w=H),B.v=I;else if(!isNaN(Na(H).getDate())||N&&H.match(N)){B.z=x.dateNF||_e[14];var j=0;N&&H.match(N)&&(H=hl(H,x.dateNF,H.match(N)||[]),j=1),x.cellDates?(B.t="d",B.v=je(H,j)):(B.t="n",B.v=wr(je(H,j))),x.cellText!==!1&&(B.w=qr(B.z,B.v instanceof Date?wr(B.v):B.v)),x.cellNF||delete B.z}else B.t="s",B.v=H;if(B.t=="z"||(x.dense?(p[v]||(p[v]=[]),p[v][k]=B):p[Ee({c:k,r:v})]=B),_=m+1,b=l.charCodeAt(_),h.e.c<k&&(h.e.c=k),h.e.r<v&&(h.e.r=v),S==E)++k;else if(k=0,++v,x.sheetRows&&x.sheetRows<=v)return!0}e:for(;m<l.length;++m)switch(S=l.charCodeAt(m)){case 34:b===34&&(y=!y);break;case E:case 10:case 13:if(!y&&R())break e;break}return m-_>0&&R(),p["!ref"]=Ie(h),p}function s(l,u){return!(u&&u.PRN)||u.FS||l.slice(0,4)=="sep="||l.indexOf(" ")>=0||l.indexOf(",")>=0||l.indexOf(";")>=0?i(l,u):$a(t(l,u),u)}function f(l,u){var x="",d=u.type=="string"?[0,0,0,0]:$n(l,u);switch(u.type){case"base64":x=Hr(l);break;case"binary":x=l;break;case"buffer":u.codepage==65001?x=l.toString("utf8"):u.codepage&&typeof St<"u"?x=St.utils.decode(u.codepage,l):x=Ce&&Buffer.isBuffer(l)?l.toString("binary"):It(l);break;case"array":x=Xt(l);break;case"string":x=l;break;default:throw new Error("Unrecognized type "+u.type)}return d[0]==239&&d[1]==187&&d[2]==191?x=ze(x.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?x=ze(x):u.type=="binary"&&typeof St<"u"&&u.codepage&&(x=St.utils.decode(u.codepage,St.utils.encode(28591,x))),x.slice(0,19)=="socialcalc:version:"?Lf.to_sheet(u.type=="string"?x:ze(x),u):s(x,u)}function c(l,u){return Jt(f(l,u),u)}function o(l){for(var u=[],x=We(l["!ref"]),d,p=Array.isArray(l),h=x.s.r;h<=x.e.r;++h){for(var v=[],k=x.s.c;k<=x.e.c;++k){var I=Ee({r:h,c:k});if(d=p?(l[h]||[])[k]:l[I],!d||d.v==null){v.push(" ");continue}for(var _=(d.w||(At(d),d.w)||"").slice(0,10);_.length<10;)_+=" ";v.push(_+(k===0?" ":""))}u.push(v.join(""))}return u.join(`
|
|
|
|
|
`)}return{to_workbook:c,to_sheet:f,from_sheet:o}}();function y1(e,t){var r=t||{},a=!!r.WTF;r.WTF=!0;try{var n=Nf.to_workbook(e,r);return r.WTF=a,n}catch(i){if(r.WTF=a,!i.message.match(/SYLK bad record ID/)&&a)throw i;return ua.to_workbook(e,t)}}var Ht=function(){function e(C,M,P){if(!!C){gr(C,C.l||0);for(var L=P.Enum||he;C.l<C.length;){var Y=C.read_shift(2),te=L[Y]||L[65535],ae=C.read_shift(2),re=C.l+ae,ee=te.f&&te.f(C,ae,P);if(C.l=re,M(ee,te,Y))return}}}function t(C,M){switch(M.type){case"base64":return r(Ur(Hr(C)),M);case"binary":return r(Ur(C),M);case"buffer":case"array":return r(C,M)}throw"Unsupported type "+M.type}function r(C,M){if(!C)return C;var P=M||{},L=P.dense?[]:{},Y="Sheet1",te="",ae=0,re={},ee=[],ge=[],O={s:{r:0,c:0},e:{r:0,c:0}},be=P.sheetRows||0;if(C[2]==0&&(C[3]==8||C[3]==9)&&C.length>=16&&C[14]==5&&C[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(C[2]==2)P.Enum=he,e(C,function(oe,Be,Qe){switch(Qe){case 0:P.vers=oe,oe>=4096&&(P.qpro=!0);break;case 6:O=oe;break;case 204:oe&&(te=oe);break;case 222:te=oe;break;case 15:case 51:P.qpro||(oe[1].v=oe[1].v.slice(1));case 13:case 14:case 16:Qe==14&&(oe[2]&112)==112&&(oe[2]&15)>1&&(oe[2]&15)<15&&(oe[1].z=P.dateNF||_e[14],P.cellDates&&(oe[1].t="d",oe[1].v=C0(oe[1].v))),P.qpro&&oe[3]>ae&&(L["!ref"]=Ie(O),re[Y]=L,ee.push(Y),L=P.dense?[]:{},O={s:{r:0,c:0},e:{r:0,c:0}},ae=oe[3],Y=te||"Sheet"+(ae+1),te="");var nr=P.dense?(L[oe[0].r]||[])[oe[0].c]:L[Ee(oe[0])];if(nr){nr.t=oe[1].t,nr.v=oe[1].v,oe[1].z!=null&&(nr.z=oe[1].z),oe[1].f!=null&&(nr.f=oe[1].f);break}P.dense?(L[oe[0].r]||(L[oe[0].r]=[]),L[oe[0].r][oe[0].c]=oe[1]):L[Ee(oe[0])]=oe[1];break}},P);else if(C[2]==26||C[2]==14)P.Enum=pe,C[2]==14&&(P.qpro=!0,C.l=0),e(C,function(oe,Be,Qe){switch(Qe){case 204:Y=oe;break;case 22:oe[1].v=oe[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(oe[3]>ae&&(L["!ref"]=Ie(O),re[Y]=L,ee.push(Y),L=P.dense?[]:{},O={s:{r:0,c:0},e:{r:0,c:0}},ae=oe[3],Y="Sheet"+(ae+1)),be>0&&oe[0].r>=be)break;P.dense?(L[oe[0].r]||(L[oe[0].r]=[]),L[oe[0].r][oe[0].c]=oe[1]):L[Ee(oe[0])]=oe[1],O.e.c<oe[0].c&&(O.e.c=oe[0].c),O.e.r<oe[0].r&&(O.e.r=oe[0].r);break;case 27:oe[14e3]&&(ge[oe[14e3][0]]=oe[14e3][1]);break;case 1537:ge[oe[0]]=oe[1],oe[0]==ae&&(Y=oe[1]);break}},P);else throw new Error("Unrecognized LOTUS BOF "+C[2]);if(L["!ref"]=Ie(O),re[te||Y]=L,ee.push(te||Y),!ge.length)return{SheetNames:ee,Sheets:re};for(var ke={},Re=[],Te=0;Te<ge.length;++Te)re[ee[Te]]?(Re.push(ge[Te]||ee[Te]),ke[ge[Te]]=re[ge[Te]]||re[ee[Te]]):(Re.push(ge[Te]),ke[ge[Te]]={"!ref":"A1"});return{SheetNames:Re,Sheets:ke}}function a(C,M){var P=M||{};if(+P.codepage>=0&&rt(+P.codepage),P.type=="string")throw new Error("Cannot write WK1 to JS string");var L=Lr(),Y=We(C["!ref"]),te=Array.isArray(C),ae=[];ce(L,0,i(1030)),ce(L,6,c(Y));for(var re=Math.min(Y.e.r,8191),ee=Y.s.r;ee<=re;++ee)for(var ge=vr(ee),O=Y.s.c;O<=Y.e.c;++O){ee===Y.s.r&&(ae[O]=cr(O));var be=ae[O]+ge,ke=te?(C[ee]||[])[O]:C[be];if(!(!ke||ke.t=="z"))if(ke.t=="n")(ke.v|0)==ke.v&&ke.v>=-32768&&ke.v<=32767?ce(L,13,d(ee,O,ke.v)):ce(L,14,h(ee,O,ke.v));else{var Re=At(ke);ce(L,15,u(ee,O,Re.slice(0,239)))}}return ce(L,1),L.end()}function n(C,M){var P=M||{};if(+P.codepage>=0&&rt(+P.codepage),P.type=="string")throw new Error("Cannot write WK3 to JS string");var L=Lr();ce(L,0,s(C));for(var Y=0,te=0;Y<C.SheetNames.length;++Y)(C.Sheets[C.SheetNames[Y]]||{})["!ref"]&&ce(L,27,U(C.SheetNames[Y],te++));var ae=0;for(Y=0;Y<C.SheetNames.length;++Y){var re=C.Sheets[C.SheetNames[Y]];if(!(!re||!re["!ref"])){for(var ee=We(re["!ref"]),ge=Array.isArray(re),O=[],be=Math.min(ee.e.r,8191),ke=ee.s.r;ke<=be;++ke)for(var Re=vr(ke),Te=ee.s.c;Te<=ee.e.c;++Te){ke===ee.s.r&&(O[Te]=cr(Te));var oe=O[Te]+Re,Be=ge?(re[ke]||[])[Te]:re[oe];if(!(!Be||Be.t=="z"))if(Be.t=="n")ce(L,23,R(ke,Te,ae,Be.v));else{var Qe=At(Be);ce(L,22,S(ke,Te,ae,Qe.slice(0,239)))}}++ae}}return ce(L,1),L.end()}function i(C){var M=J(2);return M.write_shift(2,C),M}function s(C){var M=J(26);M.write_shift(2,4096),M.write_shift(2,4),M.write_shift(4,0);for(var P=0,L=0,Y=0,te=0;te<C.SheetNames.length;++te){var ae=C.SheetNa
|
|
|
|
|
<metadataTypes count="1">
|
|
|
|
|
<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"/>
|
|
|
|
|
</metadataTypes>
|
|
|
|
|
<futureMetadata name="XLDAPR" count="1">
|
|
|
|
|
<bk>
|
|
|
|
|
<extLst>
|
|
|
|
|
<ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
|
|
|
|
|
<xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
|
|
|
|
|
</ext>
|
|
|
|
|
</extLst>
|
|
|
|
|
</bk>
|
|
|
|
|
</futureMetadata>
|
|
|
|
|
<cellMetadata count="1">
|
|
|
|
|
<bk>
|
|
|
|
|
<rc t="1" v="0"/>
|
|
|
|
|
</bk>
|
|
|
|
|
</cellMetadata>
|
|
|
|
|
</metadata>`),e.join("")}function vd(e){var t=[];if(!e)return t;var r=1;return(e.match(Or)||[]).forEach(function(a){var n=we(a);switch(n[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n);break}}),t}function md(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=Ee(r);var a=e.read_shift(1);return a&2&&(t.l="1"),a&8&&(t.a="1"),t}function gd(e,t,r){var a=[];return _t(e,function(i,s,f){switch(f){case 63:a.push(i);break;default:if(!s.T)throw new Error("Unexpected record 0x"+f.toString(16))}}),a}function _d(e,t,r,a){if(!e)return e;var n=a||{},i=!1;_t(e,function(f,c,o){switch(o){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:i=!0;break;case 36:i=!1;break;default:if(!c.T){if(!i||n.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}},n)}function wd(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var sa=1024;function Yf(e,t){for(var r=[21600,21600],a=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),n=[fe("xml",null,{"xmlns:v":Br.v,"xmlns:o":Br.o,"xmlns:x":Br.x,"xmlns:mv":Br.mv}).replace(/\/>/,">"),fe("o:shapelayout",fe("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),fe("v:shapetype",[fe("v:stroke",null,{joinstyle:"miter"}),fe("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:a})];sa<e*1e3;)sa+=1e3;return t.forEach(function(i){var s=ur(i[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var c=f.type=="gradient"?fe("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=fe("v:fill",c,f),l={on:"t",obscured:"t"};++sa,n=n.concat(["<v:shape"+La({id:"_x0000_s"+sa,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,fe("v:shadow",null,l),fe("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",_r("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),_r("x:AutoFill","False"),_r("x:Row",String(s.r)),_r("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),n.push("</xml>"),n.join("")}function ts(e,t,r,a){var n=Array.isArray(e),i;t.forEach(function(s){var f=ur(s.ref);if(n?(e[f.r]||(e[f.r]=[]),i=e[f.r][f.c]):i=e[s.ref],!i){i={t:"z"},n?e[f.r][f.c]=i:e[s.ref]=i;var c=We(e["!ref"]||"BDWGO1000001:A1");c.s.r>f.r&&(c.s.r=f.r),c.e.r<f.r&&(c.e.r=f.r),c.s.c>f.c&&(c.s.c=f.c),c.e.c<f.c&&(c.e.c=f.c);var o=Ie(c);o!==e["!ref"]&&(e["!ref"]=o)}i.c||(i.c=[]);var l={a:s.author,t:s.t,r:s.r,T:r};s.h&&(l.h=s.h);for(var u=i.c.length-1;u>=0;--u){if(!r&&i.c[u].T)return;r&&!i.c[u].T&&i.c.splice(u,1)}if(r&&a){for(u=0;u<a.length;++u)if(l.a==a[u].id){l.a=a[u].name||l.a;break}}i.c.push(l)})}function Td(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(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?author[^>]*>(.*)/);f&&r.push(f[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?comment[^>]*>/);if(!!f){var c=we(f[0]),o={author:c.authorId&&r[c.authorId]||"sheetjsghost",ref:c.ref,guid:c.guid},l=ur(c.ref);if(!(t.sheetRows&&t.sheetRows<=l.r)){var u=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),x=!!u&&!!u[1]&&Nn(u[1])||{r:"",t:"",h:""};o.r=x.r,x.r=="<t></t>"&&(x.t=x.h=""),o.t=(x.t||"").replace(/\r\n/g,`
|
|
|
|
|
`).replace(/\r/g,`
|
|
|
|
|
`),t.cellHTML&&(o.h=x.h),a.push(o)}}}}),a}function Jf(e){var t=[ar,fe("comments",null,{xmlns:Yt[0]})],r=[];return t.push("<authors>"),e.forEach(function(a){a[1].forEach(function(n){var i=Ge(n.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),n.T&&n.ID&&r.indexOf("tc="+n.ID)==-1&&(r.push("tc="+n.ID),t.push("<author>tc="+n.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(a){var n=0,i=[];if(a[1][0]&&a[1][0].T&&a[1][0].ID?n=r.indexOf("tc="+a[1][0].ID):a[1].forEach(function(c){c.a&&(n=r.indexOf(Ge(c.a))),i.push(c.t||"")}),t.push('<comment ref="'+a[0]+'" authorId="'+n+'"><text>'),i.length<=1)t.push(_r("t",Ge(i[0]||"")));else{for(var s=`Comment:
|
|
|
|
|
`+i[0]+`
|
|
|
|
|
`,f=1;f<i.length;++f)s+=`Reply:
|
|
|
|
|
`+i[f]+`
|
|
|
|
|
`;t.push(_r("t",Ge(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function Ed(e,t){var r=[],a=!1,n={},i=0;return e.replace(Or,function(f,c){var o=we(f);switch(lt(o[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:o.personId,guid:o.id,ref:o.ref,T:1};break;case"</threadedComment>":n.t!=null&&r.push(n);break;case"<text>":case"<text":i=c+f.length;break;case"</text>":n.t=e.slice(i,c).replace(/\r\n/g,`
|
|
|
|
|
`).replace(/\r/g,`
|
|
|
|
|
`);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 "+o[0]+" in threaded comments")}return f}),r}function Sd(e,t,r){var a=[ar,fe("ThreadedComments",null,{xmlns:lr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(n){var i="";(n[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var c={ref:n[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=c.id:c.parentId=i,s.ID=c.id,s.a&&(c.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),a.push(fe("threadedComment",_r("text",s.t||""),c))})}),a.push("</ThreadedComments>"),a.join("")}function kd(e,t){var r=[],a=!1;return e.replace(Or,function(i){var s=we(i);switch(lt(s[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":r.push({name:s.displayname,id:s.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 "+s[0]+" in threaded comments")}return i}),r}function Fd(e){var t=[ar,fe("personList",null,{xmlns:lr.TCMNT,"xmlns:x":Yt[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,a){t.push(fe("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+a).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function yd(e){var t={};t.iauthor=e.read_shift(4);var r=ea(e);return t.rfx=r.s,t.ref=Ee(r.s),e.l+=16,t}function Ad(e,t){return t==null&&(t=J(36)),t.write_shift(4,e[1].iauthor),pa(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Cd=Cr;function Dd(e){return pr(e.slice(0,54))}function Od(e,t){var r=[],a=[],n={},i=!1;return _t(e,function(f,c,o){switch(o){case 632:a.push(f);break;case 635:n=f;break;case 637:n.t=f.t,n.h=f.h,n.r=f.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:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!c.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}}),r}function Id(e){var t=Lr(),r=[];return Z(t,628),Z(t,630),e.forEach(function(a){a[1].forEach(function(n){r.indexOf(n.a)>-1||(r.push(n.a.slice(0,54)),Z(t,632,Dd(n.a)))})}),Z(t,631),Z(t,633),e.forEach(function(a){a[1].forEach(function(n){n.iauthor=r.indexOf(n.a);var i={s:ur(a[0]),e:ur(a[0])};Z(t,635,Ad([i,n])),n.t&&n.t.length>0&&Z(t,637,Ql(n)),Z(t,636),delete n.iauthor})}),Z(t,634),Z(t,629),t.end()}var Rd="application/vnd.ms-office.vbaProject";function bd(e){var t=me.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*/,"");me.utils.cfb_add(t,n,e.FileIndex[a].content)}}),me.write(t)}function Nd(e,t){t.FullPaths.forEach(function(r,a){if(a!=0){var n=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");n.slice(-1)!=="/"&&me.utils.cfb_add(e,n,t.FileIndex[a].content)}})}var qf=["xlsb","xlsm","xlam","biff8","xla"];function Pd(){return{"!type":"dialog"}}function Ld(){return{"!type":"dialog"}}function Bd(){return{"!type":"macro"}}function Md(){return{"!type":"macro"}}var oa=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(a,n,i,s){var f=!1,c=!1;i.length==0?c=!0:i.charAt(0)=="["&&(c=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=i.length>0?parseInt(i,10)|0:0,l=s.length>0?parseInt(s,10)|0:0;return f?l+=t.c:--l,c?o+=t.r:--o,n+(f?"":"$")+cr(l)+(c?"":"$")+vr(o)}return function(n,i){return t=i,n.replace(e,r)}}(),Mn=/(^|[^._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})(?![_.\
|
|
|
|
|
`),l.xlfn||(y.f=as(y.f)),k[0].indexOf('t="array"')>-1)y.F=(E.match(n)||[])[1],y.F.indexOf(":")>-1&&ue.push([We(y.F),y.F]);else if(k[0].indexOf('t="shared"')>-1){H=we(k[0]);var re=Ne(ze(k[1]));l.xlfn||(re=as(re)),se[parseInt(H.si,10)]=[H,re,S.r]}}else(k=E.match(/<f[^>]*\/>/))&&(H=we(k[0]),se[H.si]&&(y.f=Ud(se[H.si][1],se[H.si][2],S.r)));var ee=ur(S.r);for(_=0;_<ue.length;++_)ee.r>=ue[_][0].s.r&&ee.r<=ue[_][0].e.r&&ee.c>=ue[_][0].s.c&&ee.c<=ue[_][0].e.c&&(y.F=ue[_][1])}if(S.t==null&&y.v===void 0)if(y.f||y.F)y.v=0,y.t="n";else if(C)y.t="z";else continue;else y.t=S.t||"n";switch(u.s.c>N&&(u.s.c=N),u.e.c<N&&(u.e.c=N),y.t){case"n":if(y.v==""||y.v==null){if(!C)continue;y.t="z"}else y.v=parseFloat(y.v);break;case"s":if(typeof y.v>"u"){if(!C)continue;y.t="z"}else R=Aa[parseInt(y.v,10)],y.v=R.t,y.r=R.r,l.cellHTML&&(y.h=R.h);break;case"str":y.t="s",y.v=y.v!=null?ze(y.v):"",l.cellHTML&&(y.h=En(y.v));break;case"inlineStr":k=E.match(a),y.t="s",k!=null&&(R=Nn(k[1]))?(y.v=R.t,l.cellHTML&&(y.h=R.h)):y.v="";break;case"b":y.v=Ke(y.v);break;case"d":l.cellDates?y.v=je(y.v,1):(y.v=wr(je(y.v,1)),y.t="n");break;case"e":(!l||l.cellText!==!1)&&(y.w=y.v),y.v=of[y.v];break}if(B=j=0,K=null,Q&&S.s!==void 0&&(K=d.CellXf[S.s],K!=null&&(K.numFmtId!=null&&(B=K.numFmtId),l.cellStyles&&K.fillId!=null&&(j=K.fillId))),sc(y,B,j,l,x,d),l.cellDates&&Q&&y.t=="n"&&xa(_e[B])&&(y.t="d",y.v=C0(y.v)),S.cm&&l.xlmeta){var ge=(l.xlmeta.Cell||[])[+S.cm-1];ge&&ge.type=="XLDAPR"&&(y.D=!0)}if(Se){var O=ur(S.r);o[O.r]||(o[O.r]=[]),o[O.r][O.c]=y}else o[S.r]=y}}}U.length>0&&(o["!rows"]=U)}}();function X2(e,t,r,a){var n=[],i=[],s=We(e["!ref"]),f="",c,o="",l=[],u=0,x=0,d=e["!rows"],p=Array.isArray(e),h={r:o},v,k=-1;for(x=s.s.c;x<=s.e.c;++x)l[x]=cr(x);for(u=s.s.r;u<=s.e.r;++u){for(i=[],o=vr(u),x=s.s.c;x<=s.e.c;++x){c=l[x]+o;var I=p?(e[u]||[])[x]:e[c];I!==void 0&&(f=V2(I,c,e,t))!=null&&i.push(f)}(i.length>0||d&&d[u])&&(h={r:o},d&&d[u]&&(v=d[u],v.hidden&&(h.hidden=1),k=-1,v.hpx?k=Va(v.hpx):v.hpt&&(k=v.hpt),k>-1&&(h.ht=k,h.customHeight=1),v.level&&(h.outlineLevel=v.level)),n[n.length]=fe("row",i.join(""),h))}if(d)for(;u<d.length;++u)d&&d[u]&&(h={r:u+1},v=d[u],v.hidden&&(h.hidden=1),k=-1,v.hpx?k=Va(v.hpx):v.hpt&&(k=v.hpt),k>-1&&(h.ht=k,h.customHeight=1),v.level&&(h.outlineLevel=v.level),n[n.length]=fe("row","",h));return n.join("")}function cc(e,t,r,a){var n=[ar,fe("worksheet",null,{xmlns:Yt[0],"xmlns:r":lr.r})],i=r.SheetNames[e],s=0,f="",c=r.Sheets[i];c==null&&(c={});var o=c["!ref"]||"A1",l=We(o);if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575),o=Ie(l)}a||(a={}),c["!comments"]=[];var u=[];C2(c,r,e,t,n),n[n.length]=fe("dimension",null,{ref:o}),n[n.length]=H2(c,t,e,r),t.sheetFormat&&(n[n.length]=fe("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),c["!cols"]!=null&&c["!cols"].length>0&&(n[n.length]=L2(c,c["!cols"])),n[s=n.length]="<sheetData/>",c["!links"]=[],c["!ref"]!=null&&(f=X2(c,t),f.length>0&&(n[n.length]=f)),n.length>s+1&&(n[n.length]="</sheetData>",n[s]=n[s].replace("/>",">")),c["!protect"]&&(n[n.length]=I2(c["!protect"])),c["!autofilter"]!=null&&(n[n.length]=M2(c["!autofilter"],c,r,e)),c["!merges"]!=null&&c["!merges"].length>0&&(n[n.length]=y2(c["!merges"]));var x=-1,d,p=-1;return c["!links"].length>0&&(n[n.length]="<hyperlinks>",c["!links"].forEach(function(h){!h[1].Target||(d={ref:h[0]},h[1].Target.charAt(0)!="#"&&(p=Ve(a,-1,Ge(h[1].Target).replace(/#.*$/,""),Oe.HLINK),d["r:id"]="rId"+p),(x=h[1].Target.indexOf("#"))>-1&&(d.location=Ge(h[1].Target.slice(x+1))),h[1].Tooltip&&(d.tooltip=Ge(h[1].Tooltip)),n[n.length]=fe("hyperlink",null,d))}),n[n.length]="</hyperlinks>"),delete c["!links"],c["!margins"]!=null&&(n[n.length]=N2(c["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(n[n.length]=_r("ignoredErrors",fe("ignoredError",null,{numberStoredAsText:1,sqref:o}))),u.length>0&&(p=Ve(a,-1,"../drawings/drawing"+(e+1)+".xml",Oe.DRAW),n[n.length
|
|
|
|
|
`).replace(/\r/g,`
|
|
|
|
|
`),e.v=e.w=e.ixfe=void 0}function j0(e,t){var r=t||{};da();var a=wa(Sn(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(a=ze(a));var n=a.slice(0,1024).toLowerCase(),i=!1;if(n=n.replace(/".*?"/g,""),(n.indexOf(">")&1023)>Math.min(n.indexOf(",")&1023,n.indexOf(";")&1023)){var s=$e(r);return s.type="string",ua.to_workbook(a,s)}if(n.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(Be){n.indexOf("<"+Be)>=0&&(i=!0)}),i)return Hg(a,r);Da={"General Number":"General","General Date":_e[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":_e[15],"Short Date":_e[14],"Long Time":_e[19],"Medium Time":_e[18],"Short Time":_e[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:_e[2],Standard:_e[4],Percent:_e[10],Scientific:_e[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var f,c=[],o,l={},u=[],x=r.dense?[]:{},d="",p={},h={},v=et('<Data ss:Type="String">'),k=0,I=0,_=0,m={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},y={},S="",b=0,N=[],R={},H={},B=0,j=[],Q=[],K={},ue=[],se,Se=!1,U=[],he=[],pe={},C=0,M=0,P={Sheets:[],WBProps:{date1904:!1}},L={};Ba.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/mg,"");for(var Y="";f=Ba.exec(a);)switch(f[3]=(Y=f[3]).toLowerCase()){case"data":if(Y=="data"){if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break}if(c[c.length-1][1])break;f[1]==="/"?rg(a.slice(k,f.index),S,v,c[c.length-1][0]=="comment"?K:p,{c:I,r:_},E,ue[I],h,U,r):(S="",v=et(f[0]),k=f.index+f[0].length);break;case"cell":if(f[1]==="/")if(Q.length>0&&(p.c=Q),(!r.sheetRows||r.sheetRows>_)&&p.v!==void 0&&(r.dense?(x[_]||(x[_]=[]),x[_][I]=p):x[cr(I)+vr(_)]=p),p.HRef&&(p.l={Target:Ne(p.HRef)},p.HRefScreenTip&&(p.l.Tooltip=p.HRefScreenTip),delete p.HRef,delete p.HRefScreenTip),(p.MergeAcross||p.MergeDown)&&(C=I+(parseInt(p.MergeAcross,10)|0),M=_+(parseInt(p.MergeDown,10)|0),N.push({s:{c:I,r:_},e:{c:C,r:M}})),!r.sheetStubs)p.MergeAcross?I=C+1:++I;else if(p.MergeAcross||p.MergeDown){for(var te=I;te<=C;++te)for(var ae=_;ae<=M;++ae)(te>I||ae>_)&&(r.dense?(x[ae]||(x[ae]=[]),x[ae][te]={t:"z"}):x[cr(te)+vr(ae)]={t:"z"});I=C+1}else++I;else p=Jm(f[0]),p.Index&&(I=+p.Index-1),I<m.s.c&&(m.s.c=I),I>m.e.c&&(m.e.c=I),f[0].slice(-2)==="/>"&&++I,Q=[];break;case"row":f[1]==="/"||f[0].slice(-2)==="/>"?(_<m.s.r&&(m.s.r=_),_>m.e.r&&(m.e.r=_),f[0].slice(-2)==="/>"&&(h=et(f[0]),h.Index&&(_=+h.Index-1)),I=0,++_):(h=et(f[0]),h.Index&&(_=+h.Index-1),pe={},(h.AutoFitHeight=="0"||h.Height)&&(pe.hpx=parseInt(h.Height,10),pe.hpt=Va(pe.hpx),he[_]=pe),h.Hidden=="1"&&(pe.hidden=!0,he[_]=pe));break;case"worksheet":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"));u.push(d),m.s.r<=m.e.r&&m.s.c<=m.e.c&&(x["!ref"]=Ie(m),r.sheetRows&&r.sheetRows<=m.e.r&&(x["!fullref"]=x["!ref"],m.e.r=r.sheetRows-1,x["!ref"]=Ie(m))),N.length&&(x["!merges"]=N),ue.length>0&&(x["!cols"]=ue),he.length>0&&(x["!rows"]=he),l[d]=x}else m={s:{r:2e6,c:2e6},e:{r:0,c:0}},_=I=0,c.push([f[3],!1]),o=et(f[0]),d=Ne(o.Name),x=r.dense?[]:{},N=[],U=[],he=[],L={name:d,Hidden:0},P.Sheets.push(L);break;case"table":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else{if(f[0].slice(-2)=="/>")break;c.push([f[3],!1]),ue=[],Se=!1}break;case"style":f[1]==="/"?eg(E,y,r):y=et(f[0]);break;case"numberformat":y.nf=Ne(et(f[0]).Format||"General"),Da[y.nf]&&(y.nf=Da[y.nf]);for(var re=0;re!=392&&_e[re]!=y.nf;++re);if(re==392){for(re=57;re!=392;++re)if(_e[re]==null){pt(y.nf,re);break}}break;case"column":if(c[c.length-1][0]!=="table")break;if(se=et(f[0]),se.Hidden&&(se.hidden=!0,delete se.Hidden),se.Width&&(se.wpx=parseInt(se.Width,10)),!Se&&se.wpx>10){Se=!0,yr=Gf;for(var ee=0;ee<ue.length;++ee)ue[ee]&&Ct(ue[ee])}Se&&Ct(se),ue[se.Index-1||ue.length]=se;for(var ge=0;ge<+se.Span;++ge)ue[ue.length]=$e(se);break;case"namedrange":if(f[1]==="/")break;P.Names||(P.Names=[]);var O=we(f[0]),be={Name:O.Name,Ref:oa(O.RefersTo.slice(1),{r:0,c:0})};P.Sheets.length>0&&(be.Sheet=P.Sheets.length-1),P.Names
|
|
|
|
|
`),r=Ne(t.replace(/<[^>]*>/g,""));return[r]}var us={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 _c(e,t){var r=t||{},a=Sn(e),n=[],i,s,f={name:""},c="",o=0,l,u,x={},d=[],p=r.dense?[]:{},h,v,k={value:""},I="",_=0,m=[],E=-1,y=-1,S={s:{r:1e6,c:1e7},e:{r:0,c:0}},b=0,N={},R=[],H={},B=0,j=0,Q=[],K=1,ue=1,se=[],Se={Names:[]},U={},he=["",""],pe=[],C={},M="",P=0,L=!1,Y=!1,te=0;for(Ba.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");h=Ba.exec(a);)switch(h[3]=h[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":h[1]==="/"?(S.e.c>=S.s.c&&S.e.r>=S.s.r?p["!ref"]=Ie(S):p["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=S.e.r&&(p["!fullref"]=p["!ref"],S.e.r=r.sheetRows-1,p["!ref"]=Ie(S)),R.length&&(p["!merges"]=R),Q.length&&(p["!rows"]=Q),l.name=l.\u540D\u79F0||l.name,typeof JSON<"u"&&JSON.stringify(l),d.push(l.name),x[l.name]=p,Y=!1):h[0].charAt(h[0].length-2)!=="/"&&(l=we(h[0],!1),E=y=-1,S.s.r=S.s.c=1e7,S.e.r=S.e.c=0,p=r.dense?[]:{},R=[],Q=[],Y=!0);break;case"table-row-group":h[1]==="/"?--b:++b;break;case"table-row":case"\u884C":if(h[1]==="/"){E+=K,K=1;break}if(u=we(h[0],!1),u.\u884C\u53F7?E=u.\u884C\u53F7-1:E==-1&&(E=0),K=+u["number-rows-repeated"]||1,K<10)for(te=0;te<K;++te)b>0&&(Q[E+te]={level:b});y=-1;break;case"covered-table-cell":h[1]!=="/"&&++y,r.sheetStubs&&(r.dense?(p[E]||(p[E]=[]),p[E][y]={t:"z"}):p[Ee({r:E,c:y})]={t:"z"}),I="",m=[];break;case"table-cell":case"\u6570\u636E":if(h[0].charAt(h[0].length-2)==="/")++y,k=we(h[0],!1),ue=parseInt(k["number-columns-repeated"]||"1",10),v={t:"z",v:null},k.formula&&r.cellFormula!=!1&&(v.f=fs(Ne(k.formula))),(k.\u6570\u636E\u7C7B\u578B||k["value-type"])=="string"&&(v.t="s",v.v=Ne(k["string-value"]||""),r.dense?(p[E]||(p[E]=[]),p[E][y]=v):p[Ee({r:E,c:y})]=v),y+=ue-1;else if(h[1]!=="/"){++y,I="",_=0,m=[],ue=1;var ae=K?E+K-1:E;if(y>S.e.c&&(S.e.c=y),y<S.s.c&&(S.s.c=y),E<S.s.r&&(S.s.r=E),ae>S.e.r&&(S.e.r=ae),k=we(h[0],!1),pe=[],C={},v={t:k.\u6570\u636E\u7C7B\u578B||k["value-type"],v:null},r.cellFormula)if(k.formula&&(k.formula=Ne(k.formula)),k["number-matrix-columns-spanned"]&&k["number-matrix-rows-spanned"]&&(B=parseInt(k["number-matrix-rows-spanned"],10)||0,j=parseInt(k["number-matrix-columns-spanned"],10)||0,H={s:{r:E,c:y},e:{r:E+B-1,c:y+j-1}},v.F=Ie(H),se.push([H,v.F])),k.formula)v.f=fs(k.formula);else for(te=0;te<se.length;++te)E>=se[te][0].s.r&&E<=se[te][0].e.r&&y>=se[te][0].s.c&&y<=se[te][0].e.c&&(v.F=se[te][1]);switch((k["number-columns-spanned"]||k["number-rows-spanned"])&&(B=parseInt(k["number-rows-spanned"],10)||0,j=parseInt(k["number-columns-spanned"],10)||0,H={s:{r:E,c:y},e:{r:E+B-1,c:y+j-1}},R.push(H)),k["number-columns-repeated"]&&(ue=parseInt(k["number-columns-repeated"],10)),v.t){case"boolean":v.t="b",v.v=Ke(k["boolean-value"]);break;case"float":v.t="n",v.v=parseFloat(k.value);break;case"percentage":v.t="n",v.v=parseFloat(k.value);break;case"currency":v.t="n",v.v=parseFloat(k.value);break;case"date":v.t="d",v.v=je(k["date-value"]),r.cellDates||(v.t="n",v.v=wr(v.v)),v.z="m/d/yy";break;case"time":v.t="n",v.v=gl(k["time-value"])/86400,r.cellDates&&(v.t="d",v.v=C0(v.v)),v.z="HH:MM:SS";break;case"number":v.t="n",v.v=parseFloat(k.\u6570\u636E\u6570\u503C);break;default:if(v.t==="string"||v.t==="text"||!v.t)v.t="s",k["string-value"]!=null&&(I=Ne(k["string-value"]),m=[]);else throw new Error("Unsupported value type "+v.t)}}else{if(L=!1,v.t==="s"&&(v.v=I||"",m.length&&(v.R=m),L=_==0),U.Target&&(v.l=U),pe.length>0&&(v.c=pe,pe=[]),I&&r.cellText!==!1&&(v.w=I),L&&(v.t="z",delete v.v),(!L||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=E))for(var re=0;re<K;++re){if(ue=parseInt(k["number-columns-repeated"]||"1",10),r.dense)for(p[E+re]||(p[E+re]=[]),p[E+re][y]=re==0?v:$e(v);--ue>0;)p[E+re][y+ue]=$e(v);else for(p[Ee({r:E+re,c:y})]=v;--ue>0;)p[Ee({r:E+re,c:y+ue})]=$e(v);S.e.c<=y&&(S.e.c=y)}ue=parseInt(k["number-columns-repeated"]||"1",10),y+=ue-1,ue=0,v={},I="",m=[]}U={};break;case"
|
|
|
|
|
`:"")+ge[0]}else we(h[0],!1),_=h.index+h[0].length;break;case"s":break;case"database-range":if(h[1]==="/")break;try{he=$0(we(h[0])["target-range-address"]),x[he[0]]["!autofilter"]={ref:he[1]}}catch{}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(h[1]!=="/"){if(U=we(h[0],!1),!U.href)break;U.Target=Ne(U.href),delete U.href,U.Target.charAt(0)=="#"&&U.Target.indexOf(".")>-1?(he=$0(U.Target.slice(1)),U.Target="#"+he[0]+"!"+he[1]):U.Target.match(/^\.\.[\\\/]/)&&(U.Target=U.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(h[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(r.WTF)throw new Error(h)}}var O={Sheets:x,SheetNames:d,Workbook:Se};return r.bookSheets&&delete O.Sheets,O}function hs(e,t){t=t||{},jr(e,"META-INF/manifest.xml")&&gu(sr(e,"META-INF/manifest.xml"),t);var r=Wr(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var a=_c(ze(r),t);return jr(e,"meta.xml")&&(a.Props=hf(sr(e,"meta.xml"))),a}function xs(e,t){return _c(e,t)}var zg=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 "+La({"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:o
|
|
|
|
|
`,r=` <table:covered-table-cell/>
|
|
|
|
|
`,a=function(i,s,f){var c=[];c.push(' <table:table table:name="'+Ge(s.SheetNames[f])+`" table:style-name="ta1">
|
|
|
|
|
`);var o=0,l=0,u=Zr(i["!ref"]||"A1"),x=i["!merges"]||[],d=0,p=Array.isArray(i);if(i["!cols"])for(l=0;l<=u.e.c;++l)c.push(" <table:table-column"+(i["!cols"][l]?' table:style-name="co'+i["!cols"][l].ods+'"':"")+`></table:table-column>
|
|
|
|
|
`);var h="",v=i["!rows"]||[];for(o=0;o<u.s.r;++o)h=v[o]?' table:style-name="ro'+v[o].ods+'"':"",c.push(" <table:table-row"+h+`></table:table-row>
|
|
|
|
|
`);for(;o<=u.e.r;++o){for(h=v[o]?' table:style-name="ro'+v[o].ods+'"':"",c.push(" <table:table-row"+h+`>
|
|
|
|
|
`),l=0;l<u.s.c;++l)c.push(t);for(;l<=u.e.c;++l){var k=!1,I={},_="";for(d=0;d!=x.length;++d)if(!(x[d].s.c>l)&&!(x[d].s.r>o)&&!(x[d].e.c<l)&&!(x[d].e.r<o)){(x[d].s.c!=l||x[d].s.r!=o)&&(k=!0),I["table:number-columns-spanned"]=x[d].e.c-x[d].s.c+1,I["table:number-rows-spanned"]=x[d].e.r-x[d].s.r+1;break}if(k){c.push(r);continue}var m=Ee({r:o,c:l}),E=p?(i[o]||[])[l]:i[m];if(E&&E.f&&(I["table:formula"]=Ge(h2(E.f)),E.F&&E.F.slice(0,m.length)==m)){var y=Zr(E.F);I["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,I["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(!E){c.push(t);continue}switch(E.t){case"b":_=E.v?"TRUE":"FALSE",I["office:value-type"]="boolean",I["office:boolean-value"]=E.v?"true":"false";break;case"n":_=E.w||String(E.v||0),I["office:value-type"]="float",I["office:value"]=E.v||0;break;case"s":case"str":_=E.v==null?"":E.v,I["office:value-type"]="string";break;case"d":_=E.w||je(E.v).toISOString(),I["office:value-type"]="date",I["office:date-value"]=je(E.v).toISOString(),I["table:style-name"]="ce1";break;default:c.push(t);continue}var S=e(_);if(E.l&&E.l.Target){var b=E.l.Target;b=b.charAt(0)=="#"?"#"+x2(b.slice(1)):b,b.charAt(0)!="#"&&!b.match(/^\w+:/)&&(b="../"+b),S=fe("text:a",S,{"xlink:href":b.replace(/&/g,"&")})}c.push(" "+fe("table:table-cell",fe("text:p",S,{}),I)+`
|
|
|
|
|
`)}c.push(` </table:table-row>
|
|
|
|
|
`)}return c.push(` </table:table>
|
|
|
|
|
`),c.join("")},n=function(i,s){i.push(` <office:automatic-styles>
|
|
|
|
|
`),i.push(` <number:date-style style:name="N37" number:automatic-order="true">
|
|
|
|
|
`),i.push(` <number:month number:style="long"/>
|
|
|
|
|
`),i.push(` <number:text>/</number:text>
|
|
|
|
|
`),i.push(` <number:day number:style="long"/>
|
|
|
|
|
`),i.push(` <number:text>/</number:text>
|
|
|
|
|
`),i.push(` <number:year/>
|
|
|
|
|
`),i.push(` </number:date-style>
|
|
|
|
|
`);var f=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(!!o&&o["!cols"]){for(var l=0;l<o["!cols"].length;++l)if(o["!cols"][l]){var u=o["!cols"][l];if(u.width==null&&u.wpx==null&&u.wch==null)continue;Ct(u),u.ods=f;var x=o["!cols"][l].wpx+"px";i.push(' <style:style style:name="co'+f+`" style:family="table-column">
|
|
|
|
|
`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+x+`"/>
|
|
|
|
|
`),i.push(` </style:style>
|
|
|
|
|
`),++f}}});var c=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(!!o&&o["!rows"]){for(var l=0;l<o["!rows"].length;++l)if(o["!rows"][l]){o["!rows"][l].ods=c;var u=o["!rows"][l].hpx+"px";i.push(' <style:style style:name="ro'+c+`" style:family="table-row">
|
|
|
|
|
`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+u+`"/>
|
|
|
|
|
`),i.push(` </style:style>
|
|
|
|
|
`),++c}}}),i.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
|
|
|
|
|
`),i.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
|
|
|
|
|
`),i.push(` </style:style>
|
|
|
|
|
`),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
|
|
|
|
|
`),i.push(` </office:automatic-styles>
|
|
|
|
|
`)};return function(s,f){var c=[ar],o=La({"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"}),l=La({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(c.push("<office:document"+o+l+`>
|
|
|
|
|
`),c.push(uf().replace(/office:document-meta/g,"office:meta"))):c.push("<office:document-content"+o+`>
|
|
|
|
|
`),n(c,s),c.push(` <office:body>
|
|
|
|
|
`),c.push(` <office:spreadsheet>
|
|
|
|
|
`);for(var u=0;u!=s.SheetNames.length;++u)c.push(a(s.Sheets[s.SheetNames[u]],s,u));return c.push(` </office:spreadsheet>
|
|
|
|
|
`),c.push(` </office:body>
|
|
|
|
|
`),f.bookType=="fods"?c.push("</office:document>"):c.push("</office:document-content>"),c.join("")}}();function wc(e,t){if(t.bookType=="fods")return ds(e,t);var r=_n(),a="",n=[],i=[];return a="mimetype",Ae(r,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",Ae(r,a,ds(e,t)),n.push([a,"text/xml"]),i.push([a,"ContentFile"]),a="styles.xml",Ae(r,a,zg(e,t)),n.push([a,"text/xml"]),i.push([a,"StylesFile"]),a="meta.xml",Ae(r,a,ar+uf()),n.push([a,"text/xml"]),i.push([a,"MetadataFile"]),a="manifest.rdf",Ae(r,a,Tu(i)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",Ae(r,a,_u(n)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function jt(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function un(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):ze(It(e))}function Kg(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Ur(ot(e))}function $g(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 Ot(e){var t=e.reduce(function(n,i){return n+i.length},0),r=new Uint8Array(t),a=0;return e.forEach(function(n){r.set(n,a),a+=n.length}),r}function ps(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function jg(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,a=e[t+14]&1,n=t+13;n>=t;--n)a=a*256+e[n];return(e[t+15]&128?-a:a)*Math.pow(10,r-6176)}function Yg(e,t,r){var a=Math.floor(r==0?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]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[t+i]=n&255;e[t+15]|=r>=0?0:128}function Xa(e,t){var r=t?t[0]:0,a=e[r]&127;e:if(e[r++]>=128&&(a|=(e[r]&127)<<7,e[r++]<128||(a|=(e[r]&127)<<14,e[r++]<128)||(a|=(e[r]&127)<<21,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),a}function He(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(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 Ze(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Pe(e){for(var t=[],r=[0];r[0]<e.length;){var a=r[0],n=Xa(e,r),i=n&7;n=Math.floor(n/8);var s=0,f;if(n==0)break;switch(i){case 0:{for(var c=r[0];e[r[0]++]>=128;);f=e.slice(c,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Xa(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a))}var o={data:f,type:i};t[n]==null?t[n]=[o]:t[n].push(o)}return t}function mr(e){var t=[];return e.forEach(function(r,a){r.forEach(function(n){!n.data||(t.push(He(a*8+n.type)),n.type==2&&t.push(He(n.data.length)),t.push(n.data))})}),Ot(t)}function Xn(e,t){return(e==null?void 0:e.map(function(r){return t(r.data)}))||[]}function Kr(e){for(var t,r=[],a=[0];a[0]<e.length;){var n=Xa(e,a),i=Pe(e.slice(a[0],a[0]+n));a[0]+=n;var s={id:Ze(i[1][0].data),messages:[]};i[2].forEach(function(f){var c=Pe(f.data),o=Ze(c[3][0].data);s.messages.push({meta:c,data:e.slice(a[0],a[0]+o)}),a[0]+=o}),(t=i[3])!=null&&t[0]&&(s.merge=Ze(i[3][0].data)>>>0>0),r.push(s)}return r}function aa(e){var t=[];return e.forEach(function(r){var a=[];a[1]=[{data:He(r.id),type:0}],a[2]=[],r.merge!=null&&(a[3]=[{data:He(+!!r.merge),type:0}]);var n=[];r.messages.forEach(function(s){n.push(s.data),s.meta[3]=[{type:0,data:He(s.data.length)}],a[2].push({data:mr(s.meta),type:2})});var i=mr(a);t.push(He(i.length)),t.push(i),n.forEach(function(s){return t.push(s)})}),Ot(t)}function Jg(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(
|
|
|
|
|
`,c=f.charCodeAt(0),o=new RegExp((i=="|"?"\\|":i)+"+$"),l="",u=[];a.dense=Array.isArray(e);for(var x=a.skipHidden&&e["!cols"]||[],d=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(x[p]||{}).hidden||(u[p]=cr(p));for(var h=0,v=n.s.r;v<=n.e.r;++v)(d[v]||{}).hidden||(l=C_(e,n,v,u,s,c,i,a),l!=null&&(a.strip&&(l=l.replace(o,"")),(l||a.blankrows!==!1)&&r.push((h++?f:"")+l)));return delete a.dense,r.join("")}function D_(e,t){t||(t={}),t.FS=" ",t.RS=`
|
|
|
|
|
`;var r=yc(e,t);return r}function Ac(){return{SheetNames:[],Sheets:{}}}function Cc(e,t,r,a){var n=1;if(!r)for(;n<=65535&&e.SheetNames.indexOf(r="Sheet"+n)!=-1;++n,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||r;for(++n;n<=65535&&e.SheetNames.indexOf(r=s+n)!=-1;++n);}if(hc(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}const O_=e=>(lo("data-v-204dc979"),e=e(),uo(),e),I_={class:"container"},R_=O_(()=>Q0("br",null,null,-1)),b_={name:"SearchTable"},N_=gs({...b_,setup(e){const{t}=Kc.exports.useI18n(),r=$c(),{loading:a,setLoading:n}=xo(!1),i={bandwidthOption:{0:"25KHz",1:"12.5KHz"},modeOption:{0:"FM",1:"AM",2:"USB"},powerOption:{0:"\u4F4E",1:"\u4E2D",2:"\u9AD8"},toneOption:{1:"\u4E9A\u97F3\u9891",2:"\u6570\u5B57\u4E9A\u97F3",3:"\u53CD\u5411\u6570\u5B57\u4E9A\u97F3"},CTCSSOption:[67,69.3,71.9,74.4,77,79.7,82.5,85.4,88.5,91.5,94.8,97.4,100,103.5,107.2,110.9,114.8,118.8,123,127.3,131.8,136.5,141.3,146.2,151.4,156.7,159.8,162.2,165.5,167.9,171.3,173.8,177.3,179.9,183.5,186.2,189.9,192.8,196.6,199.5,203.5,206.5,210.7,218.1,225.7,229.1,233.6,241.8,250.3,254.1],DCSOption:[23,25,26,31,32,36,43,47,51,53,54,65,71,72,73,74,114,115,116,122,125,131,132,134,143,145,152,155,156,162,165,172,174,205,212,223,225,226,243,244,245,246,251,252,255,261,263,265,266,271,274,306,311,315,325,331,332,343,346,351,356,364,365,371,411,412,413,423,431,432,445,446,452,454,455,462,464,465,466,503,506,516,523,526,532,546,565,606,612,624,627,631,632,654,662,664,703,712,723,731,732,734,743,754],stepOption:[2.5,5,6.25,10,12.5,25,8.33,.01,.05,.1,.25,.5,1,1.25,9,15,20,30,50,100,125,200,250,500],scrambOption:["1","2","3","4","5","6","7","8","9","10"],pttidOption:["\u4E0A\u7EBF\u7801","\u4E0B\u7EBF\u7801","\u4E0A\u7EBF+\u4E0B\u7EBF\u7801","Quindar\u7801"]},s=ri({renderData:Array.from({length:200}).map(m=>({scanlist:[]})),pageSize:15,nowPage:1}),f=ri({showHide:0}),c=m=>{s.renderData=m.newData},o=ho();Zc(async()=>{var E,y,S,b,N,R,H,B,j,Q,K,ue,se,Se,U,he,pe,C,M,P,L,Y,te,ae,re,ee,ge,O,be,ke,Re,Te,oe,Be,Qe;if(o.query.url){const nr=await fetch(o.query.url),hr=(E=nr==null?void 0:nr.body)==null?void 0:E.getReader();if(hr){const Nr=[];for(;;){const{done:W,value:le}=await hr.read();if(W)break;Nr.push(...le)}const Tr=new Uint8Array(Nr);var m=Ia(Tr);const ye=Array.from({length:200}).map(W=>({scanlist:[]}));for(let W=2;W<202;W++)(y=m.Sheets.Sheet1["B"+W])!=null&&y.w&&(ye[W-2].name=(S=m.Sheets.Sheet1["B"+W])==null?void 0:S.w),(b=m.Sheets.Sheet1["C"+W])!=null&&b.w&&(ye[W-2].bandwidth=Object.keys(i.bandwidthOption).find(le=>{var Me;return i.bandwidthOption[le]==((Me=m.Sheets.Sheet1["C"+W])==null?void 0:Me.w)})),(N=m.Sheets.Sheet1["D"+W])!=null&&N.w&&(ye[W-2].rx=(R=m.Sheets.Sheet1["D"+W])==null?void 0:R.w),(H=m.Sheets.Sheet1["E"+W])!=null&&H.w&&(ye[W-2].tx=(B=m.Sheets.Sheet1["E"+W])==null?void 0:B.w),(j=m.Sheets.Sheet1["F"+W])!=null&&j.w&&(ye[W-2].power=Object.keys(i.powerOption).find(le=>{var Me;return i.powerOption[le]==((Me=m.Sheets.Sheet1["F"+W])==null?void 0:Me.w)})),(Q=m.Sheets.Sheet1["G"+W])!=null&&Q.w&&(ye[W-2].rxTone=Object.keys(i.toneOption).find(le=>{var Me;return i.toneOption[le]==((Me=m.Sheets.Sheet1["G"+W])==null?void 0:Me.w)})),(K=m.Sheets.Sheet1["H"+W])!=null&&K.w&&(ye[W-2].rxCTCSS=parseFloat((ue=m.Sheets.Sheet1["H"+W])==null?void 0:ue.w)),(se=m.Sheets.Sheet1["I"+W])!=null&&se.w&&(ye[W-2].rxDCS=parseFloat((Se=m.Sheets.Sheet1["I"+W])==null?void 0:Se.w)),(U=m.Sheets.Sheet1["J"+W])!=null&&U.w&&(ye[W-2].txTone=Object.keys(i.toneOption).find(le=>{var Me;return i.toneOption[le]==((Me=m.Sheets.Sheet1["J"+W])==null?void 0:Me.w)})),(he=m.Sheets.Sheet1["K"+W])!=null&&he.w&&(ye[W-2].txCTCSS=parseFloat((pe=m.Sheets.Sheet1["K"+W])==null?void 0:pe.w)),(C=m.Sheets.Sheet1["L"+W])!=null&&C.w&&(ye[W-2].txDCS=parseFloat((M=m.Sheets.Sheet1["L"+W])==null?void 0:M.w)),(P=m.Sheets.Sheet1["M"+W])!=null&&P.w&&(ye[W-2].step=parseFloat((L=m.Sheets.Sheet1["M"+W])==null?void 0:L.w
|