2024-10-01 16:35:45 +00:00
|
|
|
|
import{e as pc,b as vc,c as mc,n as gc,f as pt,a3 as q0,m as Q0,k as _c,ac as wc,w as Tc,v as Ec,t as kc,ad as Sc,O as Fc,_ as Ac}from"./index.a0309a28.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as ui,t as Cc,c as vt,w as yc,h as en,aI as Oe,r as rn,bA as Dc,o as Oc,bI as Rc,C as tn,D as Ic,aH as Pe,G as x0,aN as tt,aM as Xr,aE as Nc,aF as Pc,u as an,a6 as bc,b8 as Lc,bi as Mc,bK as Bc,O as Uc,bv as Vc,bO as Wc,bm as Hc,bn as Gc}from"./arco.b087a425.js";import{f as Xc}from"./vue.23fb8a9a.js";import{u as zc}from"./loading.9d534c38.js";import{e as nn,a as Za,u as sn,f as Kc,h as qa,s as $c,b as Qa,g as jc}from"./serial.c6b76da8.js";import{b as Yc,I as e0}from"./index.e1e291ce.js";import{S as Or,C as Jc,a as Zc}from"./dep-71c4f289.8a8673b4.js";import{M as qc,T as Qc}from"./index.ec10cfd0.js";import"./chart.836a9fe2.js";import"./form-model.7bb64fbd.js";import"./slot.ff9cd5b8.js";/**
|
2024-09-02 02:23:47 +00:00
|
|
|
|
* tdesign v1.9.9
|
2024-06-27 16:44:51 +00:00
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
2024-07-06 09:01:56 +00:00
|
|
|
|
*/var ef={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};/**
|
2024-09-02 02:23:47 +00:00
|
|
|
|
* tdesign v1.9.9
|
2024-06-27 16:44:51 +00:00
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
2024-07-20 03:44:29 +00:00
|
|
|
|
*/function cn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function rf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cn(Object(r),!0).forEach(function(n){pt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var tf=ui({name:"TSwitch",props:rf({},ef),setup:function(t,r){var n=r.slots,a=pc(),i=vc("switch"),s=mc(),c=s.STATUS,f=s.SIZE,o=Cc(t),l=o.value,u=o.modelValue,x=Yc(l,u,t.defaultValue,t.onChange),p=gc(x,2),d=p[0],h=p[1],m=vt(function(){return t.customValue&&t.customValue.length>0?t.customValue[0]:!0}),O=vt(function(){return t.customValue&&t.customValue.length>1?t.customValue[1]:!1});function P(N){var I=d.value===m.value?O.value:m.value;h(I,{e:N})}function T(N){a.value||t.loading||P(N)}var g=vt(function(){return["".concat(i.value),f.value[t.size],pt(pt(pt({},c.value.disabled,a.value),c.value.loading,t.loading),c.value.checked,d.value===m.value||t.modelValue===m.value)]}),y=vt(function(){return["".concat(i.value,"__handle"),pt(pt({},c.value.disabled,a.value),c.value.loading,t.loading)]}),C=vt(function(){return["".concat(i.value,"__content"),f.value[t.size],pt({},c.value.disabled,a.value)]});yc(d,function(N){if(t.customValue&&t.customValue.length&&!t.customValue.includes(N))throw new Error("value is not in ".concat(JSON.stringify(t.customValue)))},{immediate:!0});var S=vt(function(){if(q0(t.label))return t.label(en,{value:d.value});if(Q0(t.label))return t.label;if(_c(t.label)&&t.label.length){var N=d.value===m.value?t.label[0]:t.label[1];if(!N)return;if(Q0(N))return N;if(q0(N))return N(en)}return n.label?n.label({value:d.value}):null});return function(){var N,I;return t.loading?I=Oe(wc,{size:"small"},null):S.value&&(N=S.value),Oe("div",{class:g.value,disabled:a.value,onClick:T},[Oe("span",{class:y.value},[I]),Oe("div",{class:C.value},[N])])}}});/**
|
2024-09-02 02:23:47 +00:00
|
|
|
|
* tdesign v1.9.9
|
2024-06-27 16:44:51 +00:00
|
|
|
|
* (c) 2024 tdesign
|
|
|
|
|
* @license MIT
|
2024-07-20 03:44:29 +00:00
|
|
|
|
*/var af=Tc(tf),nf={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
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`)+`\r
|
|
|
|
|
`}function sc(v){var E=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(G){var X=G.charCodeAt(0).toString(16).toUpperCase();return"="+(X.length==1?"0"+X:X)});E=E.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),E.charAt(0)==`
|
|
|
|
|
`&&(E="=0D"+E.slice(1)),E=E.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
|
|
|
|
|
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var _=[],w=E.split(`\r
|
|
|
|
|
`),k=0;k<w.length;++k){var A=w[k];if(A.length==0){_.push("");continue}for(var H=0;H<A.length;){var j=76,V=A.slice(H,H+j);V.charAt(j-1)=="="?j--:V.charAt(j-2)=="="?j-=2:V.charAt(j-3)=="="&&(j-=3),V=A.slice(H,H+j),H+=j,H<A.length&&(V+="="),_.push(V)}}return _.join(`\r
|
|
|
|
|
`)}function cc(v){for(var E=[],_=0;_<v.length;++_){for(var w=v[_];_<=v.length&&w.charAt(w.length-1)=="=";)w=w.slice(0,w.length-1)+v[++_];E.push(w)}for(var k=0;k<E.length;++k)E[k]=E[k].replace(/[=][0-9A-Fa-f]{2}/g,function(A){return String.fromCharCode(parseInt(A.slice(1),16))});return Pr(E.join(`\r
|
|
|
|
|
`))}function fc(v,E,_){for(var w="",k="",A="",H,j=0;j<10;++j){var V=E[j];if(!V||V.match(/^\s*$/))break;var G=V.match(/^(.*?):\s*([^\s].*)$/);if(G)switch(G[1].toLowerCase()){case"content-location":w=G[2].trim();break;case"content-type":A=G[2].trim();break;case"content-transfer-encoding":k=G[2].trim();break}}switch(++j,k.toLowerCase()){case"base64":H=Pr(yr(E.slice(j).join("")));break;case"quoted-printable":H=cc(E.slice(j));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+k)}var X=Ya(v,w.slice(_.length),H,{unsafe:!0});A&&(X.ctype=A)}function oc(v,E){if(B(v.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var _=E&&E.root||"",w=(Ae&&Buffer.isBuffer(v)?v.toString("binary"):B(v)).split(`\r
|
|
|
|
|
`),k=0,A="";for(k=0;k<w.length;++k)if(A=w[k],!!/^Content-Location:/i.test(A)&&(A=A.slice(A.indexOf("file")),_||(_=A.slice(0,A.lastIndexOf("/")+1)),A.slice(0,_.length)!=_))for(;_.length>0&&(_=_.slice(0,_.length-1),_=_.slice(0,_.lastIndexOf("/")+1),A.slice(0,_.length)!=_););var H=(w[1]||"").match(/boundary="(.*?)"/);if(!H)throw new Error("MAD cannot find boundary");var j="--"+(H[1]||""),V=[],G=[],X={FileIndex:V,FullPaths:G};S(X);var Q,fe=0;for(k=0;k<w.length;++k){var he=w[k];he!==j&&he!==j+"--"||(fe++&&fc(X,w.slice(Q,k),_),Q=k)}return X}function lc(v,E){var _=E||{},w=_.boundary||"SheetJS";w="------="+w;for(var k=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+w.slice(2)+'"',"","",""],A=v.FullPaths[0],H=A,j=v.FileIndex[0],V=1;V<v.FullPaths.length;++V)if(H=v.FullPaths[V].slice(A.length),j=v.FileIndex[V],!(!j.size||!j.content||H=="Sh33tJ5")){H=H.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(me){return"_x"+me.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(me){return"_u"+me.charCodeAt(0).toString(16)+"_"});for(var G=j.content,X=Ae&&Buffer.isBuffer(G)?G.toString("binary"):B(G),Q=0,fe=Math.min(1024,X.length),he=0,re=0;re<=fe;++re)(he=X.charCodeAt(re))>=32&&he<128&&++Q;var ue=Q>=fe*4/5;k.push(w),k.push("Content-Location: "+(_.root||"file:///C:/SheetJS/")+H),k.push("Content-Transfer-Encoding: "+(ue?"quoted-printable":"base64")),k.push("Content-Type: "+nc(j,H)),k.push(""),k.push(ue?sc(X):ic(X))}return k.push(w+`--\r
|
|
|
|
|
`),k.join(`\r
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`)}function uc(v){var E={};return S(E,v),E}function Ya(v,E,_,w){var k=w&&w.unsafe;k||S(v);var A=!k&&Fe.find(v,E);if(!A){var H=v.FullPaths[0];E.slice(0,H.length)==H?H=E:(H.slice(-1)!="/"&&(H+="/"),H=(H+E).replace("//","/")),A={name:a(E),type:2},v.FileIndex.push(A),v.FullPaths.push(H),k||Fe.utils.cfb_gc(v)}return A.content=_,A.size=_?_.length:0,w&&(w.CLSID&&(A.clsid=w.CLSID),w.mt&&(A.mt=w.mt),w.ct&&(A.ct=w.ct)),A}function hc(v,E){S(v);var _=Fe.find(v,E);if(_){for(var w=0;w<v.FileIndex.length;++w)if(v.FileIndex[w]==_)return v.FileIndex.splice(w,1),v.FullPaths.splice(w,1),!0}return!1}function xc(v,E,_){S(v);var w=Fe.find(v,E);if(w){for(var k=0;k<v.FileIndex.length;++k)if(v.FileIndex[k]==w)return v.FileIndex[k].name=a(_),v.FullPaths[k]=_,!0}return!1}function dc(v){I(v,!0)}return t.find=W,t.read=C,t.parse=l,t.write=oe,t.writeFile=Ee,t.utils={cfb_new:uc,cfb_add:Ya,cfb_del:hc,cfb_mov:xc,cfb_gc:dc,ReadShift:$t,CheckField:qi,prep_blob:ir,bconcat:it,use_zlib:F,_deflateRaw:ke,_inflateRaw:Y0,consts:ie},t}();function Wf(e){return typeof e=="string"?Xa(e):Array.isArray(e)?hf(e):e}function Ai(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=Xa(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?_t(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([Wf(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);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 c=File(e);return c.open("w"),c.encoding="binary",Array.isArray(t)&&(t=ut(t)),c.write(t),c.close(),t}catch(f){if(!f.message||!f.message.match(/onstruct/))throw f}throw new Error("cannot save file "+e)}function Hf(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(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+e)}function Sr(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function O0(e){for(var t=[],r=Sr(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Gf(e){for(var t=[],r=Sr(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function Xf(e){for(var t=[],r=Sr(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var Pa=new Date(1899,11,30,0,0,0);function Fr(e,t){var r=e.getTime();t&&(r-=1462*24*60*60*1e3);var n=Pa.getTime()+(e.getTimezoneOffset()-Pa.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var Ci=new Date,zf=Pa.getTime()+(Ci.getTimezoneOffset()-Pa.getTimezoneOffset())*6e4,En=Ci.getTimezoneOffset();function za(e){var t=new Date;return t.setTime(e*24*60*60*1e3+zf),t.getTimezoneOffset()!==En&&t.setTime(t.getTime()+(t.getTimezoneOffset()-En)*6e4),t}function Kf(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=a.length;++i)if(!!a[i]){switch(r=1,i>3&&(n=!0),a[i].slice(a[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[i].slice(a[i].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*pars
|
|
|
|
|
`,qf=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Fn=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,Qf=/<[^>]*>/g,mr=wr.match(Fn)?Fn:Qf,eo=/<\w*:/,ro=/<(\/?)\w+:/;function pe(e,t,r){for(var n={},a=0,i=0;a!==e.length&&!((i=e.charCodeAt(a))===32||i===10||i===13);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var s=e.match(qf),c=0,f="",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=(a=u.charCodeAt(i+1))==34||a==39?1:0,f=u.slice(i+1+x,u.length-x),c=0;c!=l.length&&l.charCodeAt(c)!==58;++c);if(c===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),n[l]=f,r||(n[l.toLowerCase()]=f);else{var p=(c===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(c+1);if(n[p]&&l.slice(c-3,c)=="ext")continue;n[p]=f,r||(n[p.toLowerCase()]=f)}}return n}function $r(e){return e.replace(ro,"<$1")}var Ni={""":'"',"'":"'",">":">","<":"<","&":"&"},Pi=O0(Ni),ye=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(n){var a=n+"",i=a.indexOf("<![CDATA[");if(i==-1)return a.replace(e,function(c,f){return Ni[c]||String.fromCharCode(parseInt(f,c.indexOf("x")>-1?16:10))||c}).replace(t,function(c,f){return String.fromCharCode(parseInt(f,16))});var s=a.indexOf("]]>");return r(a.slice(0,i))+a.slice(i+9,s)+r(a.slice(s+3))}}(),bi=/[&<>'"]/g,to=/[\u0000-\u0008\u000b-\u001f]/g;function Je(e){var t=e+"";return t.replace(bi,function(r){return Pi[r]}).replace(to,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}var ao=/[\u0000-\u001f]/g;function Li(e){var t=e+"";return t.replace(bi,function(r){return Pi[r]}).replace(/\n/g,"<br/>").replace(ao,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var An=function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}}();function Me(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function t0(e){for(var t="",r=0,n=0,a=0,i=0,s=0,c=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),c=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(c>>>10&1023)),t+=String.fromCharCode(56320+(c&1023))}return t}function Cn(e){var t=ot(2*e.length),r,n,a=1,i=0,s=0,c;for(n=0;n<e.length;n+=a)a=1,(c=e.charCodeAt(n))<128?r=c:c<224?(r=(c&31)*64+(e.charCodeAt(n+1)&63),a=2):c<240?(r=(c&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(c&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+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 yn(e){return Ft(e,"binary").toString("utf8")}var wa="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",be=Ae&&(yn(wa)==t0(wa)&&yn||Cn(wa)==t0(wa)&&Cn)||t0,_t=Ae?function(e){return Ft(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},aa=function(){var e={};return function(r,n){var a=r+"|"+(n||"");return e[a]?e[a]:e[a]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+r+">",n||""
|
|
|
|
|
`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),io=function(){var e={};return function(r){return e[r]!==void 0?e[r]:e[r]=new RegExp("<(?:vt:)?"+r+">([\\s\\S]*?)</(?:vt:)?"+r+">","g")}}(),so=/<\/?(?:vt:)?variant>/g,co=/<(?:vt:)([^>]*)>([\s\S]*)</;function Dn(e,t){var r=pe(e),n=e.match(io(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach(function(i){var s=i.replace(so,"").match(co);s&&a.push({v:be(s[2]),t:s[1]})}),a}var Mi=/(^\s|\s$|\n)/;function Hr(e,t){return"<"+e+(t.match(Mi)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Bi(e){return Sr(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function de(e,t,r){return"<"+e+(r!=null?Bi(r):"")+(t!=null?(t.match(Mi)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function d0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function fo(e,t){switch(typeof e){case"string":var r=de("vt:lpwstr",Je(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return de((e|0)==e?"vt:i4":"vt:r8",Je(String(e)));case"boolean":return de("vt:bool",e?"true":"false")}if(e instanceof Date)return de("vt:filetime",d0(e));throw new Error("Unable to serialize "+e)}function I0(e){if(Ae&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return be(ut(A0(e)));throw new Error("Bad input format: expected Buffer or string")}var na=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg,er={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"},At=["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"],Ta={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 oo(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function lo(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var c=0;c<=5;++c,i/=256)e[r+c]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var On=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},Rn=Ae?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Ft(t)})):On(e)}:On,In=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(Jr(e,a)));return n.join("").replace(_r,"")},N0=Ae?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le"
|
|
|
|
|
`;d.push("P;PGeneral"),d.push("F;P0;DG0G8;M255"),x["!cols"]&&o(d,x["!cols"]),x["!rows"]&&l(d,x["!rows"]),d.push("B;Y"+(m.e.r-m.s.r+1)+";X"+(m.e.c-m.s.c+1)+";D"+[m.s.c,m.s.r,m.e.c,m.e.r].join(" "));for(var g=m.s.r;g<=m.e.r;++g)for(var y=m.s.c;y<=m.e.c;++y){var C=Se({r:g,c:y});O=P?(x[g]||[])[y]:x[C],!(!O||O.v==null&&(!O.f||O.F))&&h.push(f(O,x,g,y))}return d.join(T)+T+h.join(T)+T+"E"+T}return{to_workbook:c,to_sheet:s,from_sheet:u}}(),C1=function(){function e(i,s){switch(s.type){case"base64":return t(yr(i),s);case"binary":return t(i,s);case"buffer":return t(Ae&&Buffer.isBuffer(i)?i.toString("binary"):ut(i),s);case"array":return t(kt(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var c=i.split(`
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`),f=-1,o=-1,l=0,u=[];l!==c.length;++l){if(c[l].trim()==="BOT"){u[++f]=[],o=0;continue}if(!(f<0)){var x=c[l].trim().split(","),p=x[0],d=x[1];++l;for(var h=c[l]||"";(h.match(/["]/g)||[]).length&1&&l<c.length-1;)h+=`
|
|
|
|
|
`+c[++l];switch(h=h.trim(),+p){case-1:if(h==="BOT"){u[++f]=[],o=0;continue}else if(h!=="EOD")throw new Error("Unrecognized DIF special command "+h);break;case 0:h==="TRUE"?u[f][o]=!0:h==="FALSE"?u[f][o]=!1:isNaN(Qr(d))?isNaN(ta(d).getDate())?u[f][o]=d:u[f][o]=rr(d):u[f][o]=Qr(d),++o;break;case 1:h=h.slice(1,h.length-1),h=h.replace(/""/g,'"'),h&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),u[f][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 ha(e(i,s),s)}function n(i,s){return Ct(r(i,s),s)}var a=function(){var i=function(f,o,l,u,x){f.push(o),f.push(l+","+u),f.push('"'+x.replace(/"/g,'""')+'"')},s=function(f,o,l,u){f.push(o+","+l),f.push(o==1?'"'+u.replace(/"/g,'""')+'"':u)};return function(f){var o=[],l=ze(f["!ref"]),u,x=Array.isArray(f);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 p=l.s.r;p<=l.e.r;++p){s(o,-1,0,"BOT");for(var d=l.s.c;d<=l.e.c;++d){var h=Se({r:p,c:d});if(u=x?(f[p]||[])[d]:f[h],!u){s(o,1,0,"");continue}switch(u.t){case"n":var m=u.w;!m&&u.v!=null&&(m=u.v),m==null?u.f&&!u.F?s(o,1,0,"="+u.f):s(o,1,0,""):s(o,0,m,"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=Lr(u.z||_e[14],Fr(rr(u.v)))),s(o,0,u.w,"V");break;default:s(o,1,0,"")}}}s(o,-1,0,"EOD");var O=`\r
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`,P=o.join(O);return P}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),y1=function(){function e(u){return u.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`)}function t(u){return u.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(u,x){for(var p=u.split(`
|
|
|
|
|
`),d=-1,h=-1,m=0,O=[];m!==p.length;++m){var P=p[m].trim().split(":");if(P[0]==="cell"){var T=br(P[1]);if(O.length<=T.r)for(d=O.length;d<=T.r;++d)O[d]||(O[d]=[]);switch(d=T.r,h=T.c,P[2]){case"t":O[d][h]=e(P[3]);break;case"v":O[d][h]=+P[3];break;case"vtf":var g=P[P.length-1];case"vtc":switch(P[3]){case"nl":O[d][h]=!!+P[4];break;default:O[d][h]=+P[4];break}P[2]=="vtf"&&(O[d][h]=[O[d][h],g])}}}return x&&x.sheetRows&&(O=O.slice(0,x.sheetRows)),O}function n(u,x){return ha(r(u,x),x)}function a(u,x){return Ct(n(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(`
|
|
|
|
|
`)+`
|
|
|
|
|
`,c=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
|
|
|
|
|
`),f="--SocialCalcSpreadsheetControlSave--";function o(u){if(!u||!u["!ref"])return"";for(var x=[],p=[],d,h="",m=ia(u["!ref"]),O=Array.isArray(u),P=m.s.r;P<=m.e.r;++P)for(var T=m.s.c;T<=m.e.c;++T)if(h=Se({r:P,c:T}),d=O?(u[P]||[])[T]:u[h],!(!d||d.v==null||d.t==="z")){switch(p=["cell",h,"t"],d.t){case"s":case"str":p.push(t(d.v));break;case"n":d.f?(p[2]="vtf",p[3]="n",p[4]=d.v,p[5]=t(d.f)):(p[2]="v",p[3]=d.v);break;case"b":p[2]="vt"+(d.f?"f":"c"),p[3]="nl",p[4]=d.v?"1":"0",p[5]=t(d.f||(d.v?"TRUE":"FALSE"));break;case"d":var g=Fr(rr(d.v));p[2]="vtc",p[3]="nd",p[4]=""+g,p[5]=d.w||Lr(d.z||_e[14],g);break;case"e":continue}x.push(p.join(":"))}return x.push("sheet:c:"+(m.e.c-m.s.c+1)+":r:"+(m.e.r-m.s.r+1)+":tvf:1"),x.push("valueformat:1:text-wiki"),x.join(`
|
|
|
|
|
`)}function l(u){return[i,s,c,s,o(u),f].join(`
|
|
|
|
|
`)}return{to_workbook:a,to_sheet:n,from_sheet:l}}(),sa=function(){function e(l,u,x,p,d){d.raw?u[x][p]=l:l===""||(l==="TRUE"?u[x][p]=!0:l==="FALSE"?u[x][p]=!1:isNaN(Qr(l))?isNaN(ta(l).getDate())?u[x][p]=l:u[x][p]=rr(l):u[x][p]=Qr(l))}function t(l,u){var x=u||{},p=[];if(!l||l.length===0)return p;for(var d=l.split(/[\r\n]/),h=d.length-1;h>=0&&d[h].length===0;)--h;for(var m=10,O=0,P=0;P<=h;++P)O=d[P].indexOf(" "),O==-1?O=d[P].length:O++,m=Math.max(m,O);for(P=0;P<=h;++P){p[P]=[];var T=0;for(e(d[P].slice(0,m).trim(),p,P,T,x),T=1;T<=(d[P].length-m)/10+1;++T)e(d[P].slice(m+(T-1)*10,m+T*10).trim(),p,P,T,x)}return x.sheetRows&&(p=p.slice(0,x.sheetRows)),p}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(l){for(var u={},x=!1,p=0,d=0;p<l.length;++p)(d=l.charCodeAt(p))==34?x=!x:!x&&d in r&&(u[d]=(u[d]||0)+1);d=[];for(p in u)Object.prototype.hasOwnProperty.call(u,p)&&d.push([u[p],p]);if(!d.length){u=n;for(p in u)Object.prototype.hasOwnProperty.call(u,p)&&d.push([u[p],p])}return d.sort(function(h,m){return h[0]-m[0]||n[h[1]]-n[m[1]]}),r[d.pop()[1]]||44}function i(l,u){var x=u||{},p="",d=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?(p=l.charAt(4),l=l.slice(7)):l.charCodeAt(5)==13||l.charCodeAt(5)==10?(p=l.charAt(4),l=l.slice(6)):p=a(l.slice(0,1024)):x&&x.FS?p=x.FS:p=a(l.slice(0,1024));var m=0,O=0,P=0,T=0,g=0,y=p.charCodeAt(0),C=!1,S=0,N=l.charCodeAt(0);l=l.replace(/\r\n/mg,`
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`);var I=x.dateNF!=null?Bf(x.dateNF):null;function R(){var W=l.slice(T,g),b={};if(W.charAt(0)=='"'&&W.charAt(W.length-1)=='"'&&(W=W.slice(1,-1).replace(/""/g,'"')),W.length===0)b.t="z";else if(x.raw)b.t="s",b.v=W;else if(W.trim().length===0)b.t="s",b.v=W;else if(W.charCodeAt(0)==61)W.charCodeAt(1)==34&&W.charCodeAt(W.length-1)==34?(b.t="s",b.v=W.slice(2,-1).replace(/""/g,'"')):kh(W)?(b.t="n",b.f=W.slice(1)):(b.t="s",b.v=W);else if(W=="TRUE")b.t="b",b.v=!0;else if(W=="FALSE")b.t="b",b.v=!1;else if(!isNaN(P=Qr(W)))b.t="n",x.cellText!==!1&&(b.w=W),b.v=P;else if(!isNaN(ta(W).getDate())||I&&W.match(I)){b.z=x.dateNF||_e[14];var K=0;I&&W.match(I)&&(W=Uf(W,x.dateNF,W.match(I)||[]),K=1),x.cellDates?(b.t="d",b.v=rr(W,K)):(b.t="n",b.v=Fr(rr(W,K))),x.cellText!==!1&&(b.w=Lr(b.z,b.v instanceof Date?Fr(b.v):b.v)),x.cellNF||delete b.z}else b.t="s",b.v=W;if(b.t=="z"||(x.dense?(d[m]||(d[m]=[]),d[m][O]=b):d[Se({c:O,r:m})]=b),T=g+1,N=l.charCodeAt(T),h.e.c<O&&(h.e.c=O),h.e.r<m&&(h.e.r=m),S==y)++O;else if(O=0,++m,x.sheetRows&&x.sheetRows<=m)return!0}e:for(;g<l.length;++g)switch(S=l.charCodeAt(g)){case 34:N===34&&(C=!C);break;case y:case 10:case 13:if(!C&&R())break e;break}return g-T>0&&R(),d["!ref"]=De(h),d}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):ha(t(l,u),u)}function c(l,u){var x="",p=u.type=="string"?[0,0,0,0]:$0(l,u);switch(u.type){case"base64":x=yr(l);break;case"binary":x=l;break;case"buffer":u.codepage==65001?x=l.toString("utf8"):u.codepage&&typeof nt<"u"?x=nt.utils.decode(u.codepage,l):x=Ae&&Buffer.isBuffer(l)?l.toString("binary"):ut(l);break;case"array":x=kt(l);break;case"string":x=l;break;default:throw new Error("Unrecognized type "+u.type)}return p[0]==239&&p[1]==187&&p[2]==191?x=be(x.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?x=be(x):u.type=="binary"&&typeof nt<"u"&&u.codepage&&(x=nt.utils.decode(u.codepage,nt.utils.encode(28591,x))),x.slice(0,19)=="socialcalc:version:"?y1.to_sheet(u.type=="string"?x:be(x),u):s(x,u)}function f(l,u){return Ct(c(l,u),u)}function o(l){for(var u=[],x=ze(l["!ref"]),p,d=Array.isArray(l),h=x.s.r;h<=x.e.r;++h){for(var m=[],O=x.s.c;O<=x.e.c;++O){var P=Se({r:h,c:O});if(p=d?(l[h]||[])[O]:l[P],!p||p.v==null){m.push(" ");continue}for(var T=(p.w||(Mt(p),p.w)||"").slice(0,10);T.length<10;)T+=" ";m.push(T+(O===0?" ":""))}u.push(m.join(""))}return u.join(`
|
|
|
|
|
`)}return{to_workbook:f,to_sheet:c,from_sheet:o}}();function D1(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=A1.to_workbook(e,r);return r.WTF=n,a}catch(i){if(r.WTF=n,!i.message.match(/SYLK bad record ID/)&&n)throw i;return sa.to_workbook(e,t)}}var Zt=function(){function e(F,U,M){if(!!F){ir(F,F.l||0);for(var L=M.Enum||oe;F.l<F.length;){var Y=F.read_shift(2),te=L[Y]||L[65535],le=F.read_shift(2),ee=F.l+le,Z=te.f&&te.f(F,le,M);if(F.l=ee,U(Z,te,Y))return}}}function t(F,U){switch(U.type){case"base64":return r(Pr(yr(F)),U);case"binary":return r(Pr(F),U);case"buffer":case"array":return r(F,U)}throw"Unsupported type "+U.type}function r(F,U){if(!F)return F;var M=U||{},L=M.dense?[]:{},Y="Sheet1",te="",le=0,ee={},Z=[],ge=[],D={s:{r:0,c:0},e:{r:0,c:0}},Re=M.sheetRows||0;if(F[2]==0&&(F[3]==8||F[3]==9)&&F.length>=16&&F[14]==5&&F[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(F[2]==2)M.Enum=oe,e(F,function(ne,Ie,We){switch(We){case 0:M.vers=ne,ne>=4096&&(M.qpro=!0);break;case 6:D=ne;break;case 204:ne&&(te=ne);break;case 222:te=ne;break;case 15:case 51:M.qpro||(ne[1].v=ne[1].v.slice(1));case 13:case 14:case 16:We==14&&(ne[2]&112)==112&&(ne[2]&15)>1&&(ne[2]&15)<15&&(ne[1].z=M.dateNF||_e[14],M.cellDates&&(ne[1].t="d",ne[1].v=za(ne[1].v))),M.qpro&&ne[3]>le&&(L["!ref"]=De(D),ee[Y]=L,Z.push(Y),L=M.dense?[]:{},D={s:{r:0,c:0},e:{r:0,c:0}},le=ne[3],Y=te||"Sheet"+(le+1),te="");var Ke=M.dense?(L[ne[0].r]||[])[ne[0].c]:L[Se(ne[0])];if(Ke){Ke.t=ne[1].t,Ke.v=ne[1].v,ne[1].z!=null&&(Ke.z=ne[1].z),ne[1].f!=null&&(Ke.f=ne[1].f);break}M.dense?(L[ne[0].r]||(L[ne[0].r]=[]),L[ne[0].r][ne[0].c]=ne[1]):L[Se(ne[0])]=ne[1];break}},M);else if(F[2]==26||F[2]==14)M.Enum=xe,F[2]==14&&(M.qpro=!0,F.l=0),e(F,function(ne,Ie,We){switch(We){case 204:Y=ne;break;case 22:ne[1].v=ne[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ne[3]>le&&(L["!ref"]=De(D),ee[Y]=L,Z.push(Y),L=M.dense?[]:{},D={s:{r:0,c:0},e:{r:0,c:0}},le=ne[3],Y="Sheet"+(le+1)),Re>0&&ne[0].r>=Re)break;M.dense?(L[ne[0].r]||(L[ne[0].r]=[]),L[ne[0].r][ne[0].c]=ne[1]):L[Se(ne[0])]=ne[1],D.e.c<ne[0].c&&(D.e.c=ne[0].c),D.e.r<ne[0].r&&(D.e.r=ne[0].r);break;case 27:ne[14e3]&&(ge[ne[14e3][0]]=ne[14e3][1]);break;case 1537:ge[ne[0]]=ne[1],ne[0]==le&&(Y=ne[1]);break}},M);else throw new Error("Unrecognized LOTUS BOF "+F[2]);if(L["!ref"]=De(D),ee[te||Y]=L,Z.push(te||Y),!ge.length)return{SheetNames:Z,Sheets:ee};for(var we={},Ce=[],ve=0;ve<ge.length;++ve)ee[Z[ve]]?(Ce.push(ge[ve]||Z[ve]),we[ge[ve]]=ee[ge[ve]]||ee[Z[ve]]):(Ce.push(ge[ve]),we[ge[ve]]={"!ref":"A1"});return{SheetNames:Ce,Sheets:we}}function n(F,U){var M=U||{};if(+M.codepage>=0&&Vr(+M.codepage),M.type=="string")throw new Error("Cannot write WK1 to JS string");var L=p0(),Y=ze(F["!ref"]),te=Array.isArray(F),le=[];Ur(L,0,i(1030)),Ur(L,6,f(Y));for(var ee=Math.min(Y.e.r,8191),Z=Y.s.r;Z<=ee;++Z)for(var ge=kr(Z),D=Y.s.c;D<=Y.e.c;++D){Z===Y.s.r&&(le[D]=xr(D));var Re=le[D]+ge,we=te?(F[Z]||[])[D]:F[Re];if(!(!we||we.t=="z"))if(we.t=="n")(we.v|0)==we.v&&we.v>=-32768&&we.v<=32767?Ur(L,13,p(Z,D,we.v)):Ur(L,14,h(Z,D,we.v));else{var Ce=Mt(we);Ur(L,15,u(Z,D,Ce.slice(0,239)))}}return Ur(L,1),L.end()}function a(F,U){var M=U||{};if(+M.codepage>=0&&Vr(+M.codepage),M.type=="string")throw new Error("Cannot write WK3 to JS string");var L=p0();Ur(L,0,s(F));for(var Y=0,te=0;Y<F.SheetNames.length;++Y)(F.Sheets[F.SheetNames[Y]]||{})["!ref"]&&Ur(L,27,B(F.SheetNames[Y],te++));var le=0;for(Y=0;Y<F.SheetNames.length;++Y){var ee=F.Sheets[F.SheetNames[Y]];if(!(!ee||!ee["!ref"])){for(var Z=ze(ee["!ref"]),ge=Array.isArray(ee),D=[],Re=Math.min(Z.e.r,8191),we=Z.s.r;we<=Re;++we)for(var Ce=kr(we),ve=Z.s.c;ve<=Z.e.c;++ve){we===Z.s.r&&(D[ve]=xr(ve));var ne=D[ve]+Ce,Ie=ge?(ee[we]||[])[ve]:ee[ne];if(!(!Ie||Ie.t=="z"))if(Ie.t=="n")Ur(L,23,R(we,ve,le,Ie.v));else{var We=Mt(Ie);Ur(L,22,S(we,ve,le,We.slice(0,239)))}}++le}}return Ur(L,1),L.end()}function i(F){var U=Qe(2);return U.write_shift(2,F),U}function s(F){var U=Qe(26);U.write_shift(2,4096),U.write_shift(2,4),U.write_shift(4,0);for(var M=0,L=0,Y=0,te=0;te<F.SheetNames.length;++te){var le=F.SheetNames[te],ee=F.Sheets[le]
|
2024-06-27 16:44:51 +00:00
|
|
|
|
<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>
|
2024-07-06 09:01:56 +00:00
|
|
|
|
</metadata>`),e.join("")}function Qu(e){var t=[];if(!e)return t;var r=1;return(e.match(mr)||[]).forEach(function(n){var a=pe(n);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=Se(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}function rh(e,t,r){var n=[];return rt(e,function(i,s,c){switch(c){case 63:n.push(i);break;default:if(!s.T)throw new Error("Unexpected record 0x"+c.toString(16))}}),n}function th(e,t,r,n){if(!e)return e;var a=n||{},i=!1;rt(e,function(c,f,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(!f.T){if(!i||a.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}},a)}function ah(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var Kt=1024;function nh(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[de("xml",null,{"xmlns:v":Ta.v,"xmlns:o":Ta.o,"xmlns:x":Ta.x,"xmlns:mv":Ta.mv}).replace(/\/>/,">"),de("o:shapelayout",de("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),de("v:shapetype",[de("v:stroke",null,{joinstyle:"miter"}),de("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];Kt<e*1e3;)Kt+=1e3;return t.forEach(function(i){var s=br(i[0]),c={color2:"#BEFF82",type:"gradient"};c.type=="gradient"&&(c.angle="-180");var f=c.type=="gradient"?de("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=de("v:fill",f,c),l={on:"t",obscured:"t"};++Kt,a=a.concat(["<v:shape"+Bi({id:"_x0000_s"+Kt,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,de("v:shadow",null,l),de("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Hr("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),Hr("x:AutoFill","False"),Hr("x:Row",String(s.r)),Hr("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function Jn(e,t,r,n){var a=Array.isArray(e),i;t.forEach(function(s){var c=br(s.ref);if(a?(e[c.r]||(e[c.r]=[]),i=e[c.r][c.c]):i=e[s.ref],!i){i={t:"z"},a?e[c.r][c.c]=i:e[s.ref]=i;var f=ze(e["!ref"]||"BDWGO1000001:A1");f.s.r>c.r&&(f.s.r=c.r),f.e.r<c.r&&(f.e.r=c.r),f.s.c>c.c&&(f.s.c=c.c),f.e.c<c.c&&(f.e.c=c.c);var o=De(f);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&&n){for(u=0;u<n.length;++u)if(l.a==n[u].id){l.a=n[u].name||l.a;break}}i.c.push(l)})}function ih(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach(function(s){if(!(s===""||s.trim()==="")){var c=s.match(/<(?:\w+:)?author[^>]*>(.*)/);c&&r.push(c[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 c=s.match(/<(?:\w+:)?comment[^>]*>/);if(!!c){var f=pe(c[0]),o={author:f.authorId&&r[f.authorId]||"sheetjsghost",ref:f.ref,guid:f.guid},l=br(f.ref);if(!(t.sheetRows&&t.sheetRows<=l.r)){var u=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),x=!!u&&!!u[1]&&U0(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,`
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`).replace(/\r/g,`
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`),t.cellHTML&&(o.h=x.h),n.push(o)}}}}),n}function sh(e){var t=[wr,de("comments",null,{xmlns:At[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=Je(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(f){f.a&&(a=r.indexOf(Je(f.a))),i.push(f.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(Hr("t",Je(i[0]||"")));else{for(var s=`Comment:
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`+i[0]+`
|
|
|
|
|
`,c=1;c<i.length;++c)s+=`Reply:
|
|
|
|
|
`+i[c]+`
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`;t.push(Hr("t",Je(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function ch(e,t){var r=[],n=!1,a={},i=0;return e.replace(mr,function(c,f){var o=pe(c);switch($r(o[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":a={author:o.personId,guid:o.id,ref:o.ref,T:1};break;case"</threadedComment>":a.t!=null&&r.push(a);break;case"<text>":case"<text":i=f+c.length;break;case"</text>":a.t=e.slice(i,f).replace(/\r\n/g,`
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`).replace(/\r/g,`
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`);break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return c}),r}function fh(e,t,r){var n=[wr,de("ThreadedComments",null,{xmlns:er.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,c){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var f={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};c==0?i=f.id:f.parentId=i,s.ID=f.id,s.a&&(f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(de("threadedComment",Hr("text",s.t||""),f))})}),n.push("</ThreadedComments>"),n.join("")}function oh(e,t){var r=[],n=!1;return e.replace(mr,function(i){var s=pe(i);switch($r(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":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return i}),r}function lh(e){var t=[wr,de("personList",null,{xmlns:er.TCMNT,"xmlns:x":At[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(de("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function uh(e){var t={};t.iauthor=e.read_shift(4);var r=Dt(e);return t.rfx=r.s,t.ref=Se(r.s),e.l+=16,t}var hh=pr;function xh(e,t){var r=[],n=[],a={},i=!1;return rt(e,function(c,f,o){switch(o){case 632:n.push(c);break;case 635:a=c;break;case 637:a.t=c.t,a.h=c.h,a.r=c.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!f.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}}),r}var dh="application/vnd.ms-office.vbaProject";function ph(e){var t=Fe.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Fe.utils.cfb_add(t,a,e.FileIndex[n].content)}}),Fe.write(t)}var vh=["xlsb","xlsm","xlam","biff8","xla"];function mh(){return{"!type":"dialog"}}function gh(){return{"!type":"dialog"}}function _h(){return{"!type":"macro"}}function wh(){return{"!type":"macro"}}var Pt=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(n,a,i,s){var c=!1,f=!1;i.length==0?f=!0:i.charAt(0)=="["&&(f=!0,i=i.slice(1,-1)),s.length==0?c=!0:s.charAt(0)=="["&&(c=!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 c?l+=t.c:--l,f?o+=t.r:--o,a+(c?"":"$")+xr(l)+(f?"":"$")+kr(o)}return function(a,i){return t=i,a.replace(e,r)}}(),Os=/(^|[^._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,Th=function(){return function(t,r){return t.replace(Os,function(n,a,i,s,c,f){var o=es(s)-(i?0:r.c),l=Qi(f)-(c?0:r.r),u=l==0?"":c?l+1:"["+l+"]",x=o==0?"":i?o+1:"["+o+"]";return a+"R"+u+"C"+x})}}();function Rs(e,t){return e.replace(Os,function(r,n,a,i,s,c){return n+(a=="$"?a+i:xr(es(i)+t.c))+(s=="$"?s+c:kr(Qi(c)+t.r))})}function Eh(e,t,r){var n=ia(t),a=n.s,i=br(r),s={r:i.r-a.r,c:i.c-a.c};return Rs(e,s)}function kh(e){return e.length!=1}function Zn(e){return e.replace(/_xlfn\./g,"")}function $e(e){e.l+=1}function lt(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function Is(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Ns(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=lt(e,2),c=lt(e,2);return{s:{r:a,c:s[0],cRel:s[1]
|
|
|
|
|
`),l.xlfn||(C.f=Zn(C.f)),O[0].indexOf('t="array"')>-1)C.F=(y.match(a)||[])[1],C.F.indexOf(":")>-1&&ce.push([ze(C.F),C.F]);else if(O[0].indexOf('t="shared"')>-1){W=pe(O[0]);var ee=ye(be(O[1]));l.xlfn||(ee=Zn(ee)),ie[parseInt(W.si,10)]=[W,ee,S.r]}}else(O=y.match(/<f[^>]*\/>/))&&(W=pe(O[0]),ie[W.si]&&(C.f=Eh(ie[W.si][1],ie[W.si][2],S.r)));var Z=br(S.r);for(T=0;T<ce.length;++T)Z.r>=ce[T][0].s.r&&Z.r<=ce[T][0].e.r&&Z.c>=ce[T][0].s.c&&Z.c<=ce[T][0].e.c&&(C.F=ce[T][1])}if(S.t==null&&C.v===void 0)if(C.f||C.F)C.v=0,C.t="n";else if(F)C.t="z";else continue;else C.t=S.t||"n";switch(u.s.c>I&&(u.s.c=I),u.e.c<I&&(u.e.c=I),C.t){case"n":if(C.v==""||C.v==null){if(!F)continue;C.t="z"}else C.v=parseFloat(C.v);break;case"s":if(typeof C.v>"u"){if(!F)continue;C.t="z"}else R=qt[parseInt(C.v,10)],C.v=R.t,C.r=R.r,l.cellHTML&&(C.h=R.h);break;case"str":C.t="s",C.v=C.v!=null?be(C.v):"",l.cellHTML&&(C.h=Li(C.v));break;case"inlineStr":O=y.match(n),C.t="s",O!=null&&(R=U0(O[1]))?(C.v=R.t,l.cellHTML&&(C.h=R.h)):C.v="";break;case"b":C.v=Me(C.v);break;case"d":l.cellDates?C.v=rr(C.v,1):(C.v=Fr(rr(C.v,1)),C.t="n");break;case"e":(!l||l.cellText!==!1)&&(C.w=C.v),C.v=ns[C.v];break}if(b=K=0,z=null,q&&S.s!==void 0&&(z=p.CellXf[S.s],z!=null&&(z.numFmtId!=null&&(b=z.numFmtId),l.cellStyles&&z.fillId!=null&&(K=z.fillId))),Vs(C,b,K,l,x,p),l.cellDates&&q&&C.t=="n"&&Ut(_e[b])&&(C.t="d",C.v=za(C.v)),S.cm&&l.xlmeta){var ge=(l.xlmeta.Cell||[])[+S.cm-1];ge&&ge.type=="XLDAPR"&&(C.D=!0)}if(Ee){var D=br(S.r);o[D.r]||(o[D.r]=[]),o[D.r][D.c]=C}else o[S.r]=C}}}B.length>0&&(o["!rows"]=B)}}();function Fd(e,t,r,n){var a=[],i=[],s=ze(e["!ref"]),c="",f,o="",l=[],u=0,x=0,p=e["!rows"],d=Array.isArray(e),h={r:o},m,O=-1;for(x=s.s.c;x<=s.e.c;++x)l[x]=xr(x);for(u=s.s.r;u<=s.e.r;++u){for(i=[],o=kr(u),x=s.s.c;x<=s.e.c;++x){f=l[x]+o;var P=d?(e[u]||[])[x]:e[f];P!==void 0&&(c=kd(P,f,e,t))!=null&&i.push(c)}(i.length>0||p&&p[u])&&(h={r:o},p&&p[u]&&(m=p[u],m.hidden&&(h.hidden=1),O=-1,m.hpx?O=Ha(m.hpx):m.hpt&&(O=m.hpt),O>-1&&(h.ht=O,h.customHeight=1),m.level&&(h.outlineLevel=m.level)),a[a.length]=de("row",i.join(""),h))}if(p)for(;u<p.length;++u)p&&p[u]&&(h={r:u+1},m=p[u],m.hidden&&(h.hidden=1),O=-1,m.hpx?O=Ha(m.hpx):m.hpt&&(O=m.hpt),O>-1&&(h.ht=O,h.customHeight=1),m.level&&(h.outlineLevel=m.level),a[a.length]=de("row","",h));return a.join("")}function Ad(e,t,r,n){var a=[wr,de("worksheet",null,{xmlns:At[0],"xmlns:r":er.r})],i=r.SheetNames[e],s=0,c="",f=r.Sheets[i];f==null&&(f={});var o=f["!ref"]||"A1",l=ze(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=De(l)}n||(n={}),f["!comments"]=[];var u=[];od(f,r,e,t,a),a[a.length]=de("dimension",null,{ref:o}),a[a.length]=Ed(f,t,e,r),t.sheetFormat&&(a[a.length]=de("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),f["!cols"]!=null&&f["!cols"].length>0&&(a[a.length]=md(f,f["!cols"])),a[s=a.length]="<sheetData/>",f["!links"]=[],f["!ref"]!=null&&(c=Fd(f,t),c.length>0&&(a[a.length]=c)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),f["!protect"]&&(a[a.length]=hd(f["!protect"])),f["!autofilter"]!=null&&(a[a.length]=_d(f["!autofilter"],f,r,e)),f["!merges"]!=null&&f["!merges"].length>0&&(a[a.length]=cd(f["!merges"]));var x=-1,p,d=-1;return f["!links"].length>0&&(a[a.length]="<hyperlinks>",f["!links"].forEach(function(h){!h[1].Target||(p={ref:h[0]},h[1].Target.charAt(0)!="#"&&(d=or(n,-1,Je(h[1].Target).replace(/#.*$/,""),Le.HLINK),p["r:id"]="rId"+d),(x=h[1].Target.indexOf("#"))>-1&&(p.location=Je(h[1].Target.slice(x+1))),h[1].Tooltip&&(p.tooltip=Je(h[1].Tooltip)),a[a.length]=de("hyperlink",null,p))}),a[a.length]="</hyperlinks>"),delete f["!links"],f["!margins"]!=null&&(a[a.length]=pd(f["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=Hr("ignoredErrors",de("ignoredError",null,{numberStoredAsText:1,sqref:o}))),u.length>0&&(d=or(n,-1,"../drawings/drawing"+(e+1)+".xml",Le.DRAW),a[a.length]=de(
|
2024-06-27 16:44:51 +00:00
|
|
|
|
`).replace(/\r/g,`
|
2024-07-06 09:01:56 +00:00
|
|
|
|
`),e.v=e.w=e.ixfe=void 0}function l0(e,t){var r=t||{};D0();var n=Gt(I0(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=be(n));var a=n.slice(0,1024).toLowerCase(),i=!1;if(a=a.replace(/".*?"/g,""),(a.indexOf(">")&1023)>Math.min(a.indexOf(",")&1023,a.indexOf(";")&1023)){var s=Xe(r);return s.type="string",sa.to_workbook(n,s)}if(a.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(Ie){a.indexOf("<"+Ie)>=0&&(i=!0)}),i)return Yp(n,r);Qt={"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 c,f=[],o,l={},u=[],x=r.dense?[]:{},p="",d={},h={},m=Br('<Data ss:Type="String">'),O=0,P=0,T=0,g={s:{r:2e6,c:2e6},e:{r:0,c:0}},y={},C={},S="",N=0,I=[],R={},W={},b=0,K=[],q=[],z={},ce=[],ie,Ee=!1,B=[],oe=[],xe={},F=0,U=0,M={Sheets:[],WBProps:{date1904:!1}},L={};na.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/mg,"");for(var Y="";c=na.exec(n);)switch(c[3]=(Y=c[3]).toLowerCase()){case"data":if(Y=="data"){if(c[1]==="/"){if((o=f.pop())[0]!==c[3])throw new Error("Bad state: "+o.join("|"))}else c[0].charAt(c[0].length-2)!=="/"&&f.push([c[3],!0]);break}if(f[f.length-1][1])break;c[1]==="/"?Hp(n.slice(O,c.index),S,m,f[f.length-1][0]=="comment"?z:d,{c:P,r:T},y,ce[P],h,B,r):(S="",m=Br(c[0]),O=c.index+c[0].length);break;case"cell":if(c[1]==="/")if(q.length>0&&(d.c=q),(!r.sheetRows||r.sheetRows>T)&&d.v!==void 0&&(r.dense?(x[T]||(x[T]=[]),x[T][P]=d):x[xr(P)+kr(T)]=d),d.HRef&&(d.l={Target:ye(d.HRef)},d.HRefScreenTip&&(d.l.Tooltip=d.HRefScreenTip),delete d.HRef,delete d.HRefScreenTip),(d.MergeAcross||d.MergeDown)&&(F=P+(parseInt(d.MergeAcross,10)|0),U=T+(parseInt(d.MergeDown,10)|0),I.push({s:{c:P,r:T},e:{c:F,r:U}})),!r.sheetStubs)d.MergeAcross?P=F+1:++P;else if(d.MergeAcross||d.MergeDown){for(var te=P;te<=F;++te)for(var le=T;le<=U;++le)(te>P||le>T)&&(r.dense?(x[le]||(x[le]=[]),x[le][te]={t:"z"}):x[xr(te)+kr(le)]={t:"z"});P=F+1}else++P;else d=Mp(c[0]),d.Index&&(P=+d.Index-1),P<g.s.c&&(g.s.c=P),P>g.e.c&&(g.e.c=P),c[0].slice(-2)==="/>"&&++P,q=[];break;case"row":c[1]==="/"||c[0].slice(-2)==="/>"?(T<g.s.r&&(g.s.r=T),T>g.e.r&&(g.e.r=T),c[0].slice(-2)==="/>"&&(h=Br(c[0]),h.Index&&(T=+h.Index-1)),P=0,++T):(h=Br(c[0]),h.Index&&(T=+h.Index-1),xe={},(h.AutoFitHeight=="0"||h.Height)&&(xe.hpx=parseInt(h.Height,10),xe.hpt=Ha(xe.hpx),oe[T]=xe),h.Hidden=="1"&&(xe.hidden=!0,oe[T]=xe));break;case"worksheet":if(c[1]==="/"){if((o=f.pop())[0]!==c[3])throw new Error("Bad state: "+o.join("|"));u.push(p),g.s.r<=g.e.r&&g.s.c<=g.e.c&&(x["!ref"]=De(g),r.sheetRows&&r.sheetRows<=g.e.r&&(x["!fullref"]=x["!ref"],g.e.r=r.sheetRows-1,x["!ref"]=De(g))),I.length&&(x["!merges"]=I),ce.length>0&&(x["!cols"]=ce),oe.length>0&&(x["!rows"]=oe),l[p]=x}else g={s:{r:2e6,c:2e6},e:{r:0,c:0}},T=P=0,f.push([c[3],!1]),o=Br(c[0]),p=ye(o.Name),x=r.dense?[]:{},I=[],B=[],oe=[],L={name:p,Hidden:0},M.Sheets.push(L);break;case"table":if(c[1]==="/"){if((o=f.pop())[0]!==c[3])throw new Error("Bad state: "+o.join("|"))}else{if(c[0].slice(-2)=="/>")break;f.push([c[3],!1]),ce=[],Ee=!1}break;case"style":c[1]==="/"?Wp(y,C,r):C=Br(c[0]);break;case"numberformat":C.nf=ye(Br(c[0]).Format||"General"),Qt[C.nf]&&(C.nf=Qt[C.nf]);for(var ee=0;ee!=392&&_e[ee]!=C.nf;++ee);if(ee==392){for(ee=57;ee!=392;++ee)if(_e[ee]==null){qr(C.nf,ee);break}}break;case"column":if(f[f.length-1][0]!=="table")break;if(ie=Br(c[0]),ie.Hidden&&(ie.hidden=!0,delete ie.Hidden),ie.Width&&(ie.wpx=parseInt(ie.Width,10)),!Ee&&ie.wpx>10){Ee=!0,ur=As;for(var Z=0;Z<ce.length;++Z)ce[Z]&&Bt(ce[Z])}Ee&&Bt(ie),ce[ie.Index-1||ce.length]=ie;for(var ge=0;ge<+ie.Span;++ge)ce[ce.length]=Xe(ie);break;case"namedrange":if(c[1]==="/")break;M.Names||(M.Names=[]);var D=pe(c[0]),Re={Name:D.Name,Ref:Pt(D.RefersTo.slice(1),{r:0,c:0})};M.Sheets.length>0&&(Re.Sheet=M.Sheets.length-1),M.Names.push
|
|
|
|
|
`),r=ye(t.replace(/<[^>]*>/g,""));return[r]}var si={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 js(e,t){var r=t||{},n=I0(e),a=[],i,s,c={name:""},f="",o=0,l,u,x={},p=[],d=r.dense?[]:{},h,m,O={value:""},P="",T=0,g=[],y=-1,C=-1,S={s:{r:1e6,c:1e7},e:{r:0,c:0}},N=0,I={},R=[],W={},b=0,K=0,q=[],z=1,ce=1,ie=[],Ee={Names:[]},B={},oe=["",""],xe=[],F={},U="",M=0,L=!1,Y=!1,te=0;for(na.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");h=na.exec(n);)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?d["!ref"]=De(S):d["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=S.e.r&&(d["!fullref"]=d["!ref"],S.e.r=r.sheetRows-1,d["!ref"]=De(S)),R.length&&(d["!merges"]=R),q.length&&(d["!rows"]=q),l.name=l.\u540D\u79F0||l.name,typeof JSON<"u"&&JSON.stringify(l),p.push(l.name),x[l.name]=d,Y=!1):h[0].charAt(h[0].length-2)!=="/"&&(l=pe(h[0],!1),y=C=-1,S.s.r=S.s.c=1e7,S.e.r=S.e.c=0,d=r.dense?[]:{},R=[],q=[],Y=!0);break;case"table-row-group":h[1]==="/"?--N:++N;break;case"table-row":case"\u884C":if(h[1]==="/"){y+=z,z=1;break}if(u=pe(h[0],!1),u.\u884C\u53F7?y=u.\u884C\u53F7-1:y==-1&&(y=0),z=+u["number-rows-repeated"]||1,z<10)for(te=0;te<z;++te)N>0&&(q[y+te]={level:N});C=-1;break;case"covered-table-cell":h[1]!=="/"&&++C,r.sheetStubs&&(r.dense?(d[y]||(d[y]=[]),d[y][C]={t:"z"}):d[Se({r:y,c:C})]={t:"z"}),P="",g=[];break;case"table-cell":case"\u6570\u636E":if(h[0].charAt(h[0].length-2)==="/")++C,O=pe(h[0],!1),ce=parseInt(O["number-columns-repeated"]||"1",10),m={t:"z",v:null},O.formula&&r.cellFormula!=!1&&(m.f=ri(ye(O.formula))),(O.\u6570\u636E\u7C7B\u578B||O["value-type"])=="string"&&(m.t="s",m.v=ye(O["string-value"]||""),r.dense?(d[y]||(d[y]=[]),d[y][C]=m):d[Se({r:y,c:C})]=m),C+=ce-1;else if(h[1]!=="/"){++C,P="",T=0,g=[],ce=1;var le=z?y+z-1:y;if(C>S.e.c&&(S.e.c=C),C<S.s.c&&(S.s.c=C),y<S.s.r&&(S.s.r=y),le>S.e.r&&(S.e.r=le),O=pe(h[0],!1),xe=[],F={},m={t:O.\u6570\u636E\u7C7B\u578B||O["value-type"],v:null},r.cellFormula)if(O.formula&&(O.formula=ye(O.formula)),O["number-matrix-columns-spanned"]&&O["number-matrix-rows-spanned"]&&(b=parseInt(O["number-matrix-rows-spanned"],10)||0,K=parseInt(O["number-matrix-columns-spanned"],10)||0,W={s:{r:y,c:C},e:{r:y+b-1,c:C+K-1}},m.F=De(W),ie.push([W,m.F])),O.formula)m.f=ri(O.formula);else for(te=0;te<ie.length;++te)y>=ie[te][0].s.r&&y<=ie[te][0].e.r&&C>=ie[te][0].s.c&&C<=ie[te][0].e.c&&(m.F=ie[te][1]);switch((O["number-columns-spanned"]||O["number-rows-spanned"])&&(b=parseInt(O["number-rows-spanned"],10)||0,K=parseInt(O["number-columns-spanned"],10)||0,W={s:{r:y,c:C},e:{r:y+b-1,c:C+K-1}},R.push(W)),O["number-columns-repeated"]&&(ce=parseInt(O["number-columns-repeated"],10)),m.t){case"boolean":m.t="b",m.v=Me(O["boolean-value"]);break;case"float":m.t="n",m.v=parseFloat(O.value);break;case"percentage":m.t="n",m.v=parseFloat(O.value);break;case"currency":m.t="n",m.v=parseFloat(O.value);break;case"date":m.t="d",m.v=rr(O["date-value"]),r.cellDates||(m.t="n",m.v=Fr(m.v)),m.z="m/d/yy";break;case"time":m.t="n",m.v=Kf(O["time-value"])/86400,r.cellDates&&(m.t="d",m.v=za(m.v)),m.z="HH:MM:SS";break;case"number":m.t="n",m.v=parseFloat(O.\u6570\u636E\u6570\u503C);break;default:if(m.t==="string"||m.t==="text"||!m.t)m.t="s",O["string-value"]!=null&&(P=ye(O["string-value"]),g=[]);else throw new Error("Unsupported value type "+m.t)}}else{if(L=!1,m.t==="s"&&(m.v=P||"",g.length&&(m.R=g),L=T==0),B.Target&&(m.l=B),xe.length>0&&(m.c=xe,xe=[]),P&&r.cellText!==!1&&(m.w=P),L&&(m.t="z",delete m.v),(!L||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=y))for(var ee=0;ee<z;++ee){if(ce=parseInt(O["number-columns-repeated"]||"1",10),r.dense)for(d[y+ee]||(d[y+ee]=[]),d[y+ee][C]=ee==0?m:Xe(m);--ce>0;)d[y+ee][C+ce]=Xe(m);else for(d[Se({r:y+ee,c:C})]=m;--ce>0;)d[Se({r:y+ee,c:C+ce})]=Xe(m);S.e.c<=C&&(S.e.c=C)}ce=parseInt(O["number-columns-repeated"]||"1",10),C+=ce-1,ce=0,m={},P="",g=[]}B={};break;case"
|
2024-09-23 15:10:56 +00:00
|
|
|
|
`:"")+ge[0]}else pe(h[0],!1),T=h.index+h[0].length;break;case"s":break;case"database-range":if(h[1]==="/")break;try{oe=o0(pe(h[0])["target-range-address"]),x[oe[0]]["!autofilter"]={ref:oe[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(B=pe(h[0],!1),!B.href)break;B.Target=ye(B.href),delete B.href,B.Target.charAt(0)=="#"&&B.Target.indexOf(".")>-1?(oe=o0(B.Target.slice(1)),B.Target="#"+oe[0]+"!"+oe[1]):B.Target.match(/^\.\.[\\\/]/)&&(B.Target=B.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 D={Sheets:x,SheetNames:p,Workbook:Ee};return r.bookSheets&&delete D.Sheets,D}function ci(e,t){t=t||{},Nr(e,"META-INF/manifest.xml")&&zo(je(e,"META-INF/manifest.xml"),t);var r=Cr(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=js(be(r),t);return Nr(e,"meta.xml")&&(n.Props=ss(je(e,"meta.xml"))),n}function fi(e,t){return js(e,t)}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function X0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function T0(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):be(ut(e))}function E0(e){var t=e.reduce(function(a,i){return a+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(a){r.set(a,n),n+=a.length}),r}function oi(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function Zp(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,n=e[t+14]&1,a=t+13;a>=t;--a)n=n*256+e[a];return(e[t+15]&128?-n:n)*Math.pow(10,r-6176)}function la(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function tr(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t+
|