huchuan2025/.obsidian/plugins/workbooks/main.js

507 lines
1.9 MiB
JavaScript
Raw Normal View History

2025-02-27 00:58:54 +08:00
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var Bp=Object.create;var Ra=Object.defineProperty,Up=Object.defineProperties,zp=Object.getOwnPropertyDescriptor,Hp=Object.getOwnPropertyDescriptors,Wp=Object.getOwnPropertyNames,$f=Object.getOwnPropertySymbols,Vp=Object.getPrototypeOf,Zf=Object.prototype.hasOwnProperty,Xp=Object.prototype.propertyIsEnumerable;var qf=(e,r,t)=>r in e?Ra(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Er=(e,r)=>{for(var t in r||(r={}))Zf.call(r,t)&&qf(e,t,r[t]);if($f)for(var t of $f(r))Xp.call(r,t)&&qf(e,t,r[t]);return e},rn=(e,r)=>Up(e,Hp(r));var Gf=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),$p=(e,r)=>{for(var t in r)Ra(e,t,{get:r[t],enumerable:!0})},Yf=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wp(r))!Zf.call(e,i)&&i!==t&&Ra(e,i,{get:()=>r[i],enumerable:!(n=zp(r,i))||n.enumerable});return e};var _s=(e,r,t)=>(t=e!=null?Bp(Vp(e)):{},Yf(r||!e||!e.__esModule?Ra(t,"default",{value:e,enumerable:!0}):t,e)),qp=e=>Yf(Ra({},"__esModule",{value:!0}),e);var wn=(e,r,t)=>new Promise((n,i)=>{var u=p=>{try{m(t.next(p))}catch(g){i(g)}},l=p=>{try{m(t.throw(p))}catch(g){i(g)}},m=p=>p.done?n(p.value):Promise.resolve(p.value).then(u,l);m((t=t.apply(e,r)).next())});var Xc=Gf((pd,Vc)=>{(function(e){typeof pd=="object"&&typeof Vc!="undefined"?Vc.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).ExcelJS=e()})(function(){return function e(r,t,n){function i(m,p){if(!t[m]){if(!r[m]){var g=typeof require=="function"&&require;if(!p&&g)return g(m,!0);if(u)return u(m,!0);var v=new Error("Cannot find module '"+m+"'");throw v.code="MODULE_NOT_FOUND",v}var c=t[m]={exports:{}};r[m][0].call(c.exports,function(o){return i(r[m][1][o]||o)},c,c.exports,e,r,t,n)}return t[m].exports}for(var u=typeof require=="function"&&require,l=0;l<n.length;l++)i(n[l]);return i}({1:[function(e,r,t){"use strict";function n(h){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(h)}function i(h,y,b,w,x,_,C){try{var R=h[_](C),P=R.value}catch(S){return void b(S)}R.done?y(P):Promise.resolve(P).then(w,x)}function u(h){return function(){var y=this,b=arguments;return new Promise(function(w,x){var _=h.apply(y,b);function C(P){i(_,w,x,C,R,"next",P)}function R(P){i(_,w,x,C,R,"throw",P)}C(void 0)})}}function l(h,y){for(var b=0;b<y.length;b++){var w=y[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,w.key,w)}}var m=e("fs"),p=e("fast-csv"),g=e("dayjs/plugin/customParseFormat"),v=e("dayjs/plugin/utc"),c=e("dayjs").extend(g).extend(v),o=e("../utils/stream-buf"),a=e("../utils/utils").fs.exists,s={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},d=function(){function h(C){(function(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")})(this,h),this.workbook=C,this.worksheet=null}var y,b,w,x,_;return y=h,(b=[{key:"readFile",value:(_=u(regeneratorRuntime.mark(function C(R,P){var S,A;return regeneratorRuntime.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return P=P||{},k.next=3,a(R);case 3:if(k.sent){k.next=5;break}throw new Error("File not found: ".concat(R));case 5:return S=m.createReadStream(R),k.next=8,this.read(S,P);case 8:return A=k.sent,S.close(),k.abrupt("return",A);case 11:case"end":return k.stop()}},C,this)})),function(C,R){return _.apply(this,arguments)})},{key:"read",value:function(C,R){var P=this;return R=R||{},new Promise(function(S,A){var k=P.workbook.addWorksheet(R.sheetName),T=R.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=R.map||function(O){if(O==="")return null;var j=Number(O);if(!Number.isNaN(j)&&j!==1/0)return j;var L=T.reduce(function(D,U){if(D)return D;var G=c(O,U,!0);return G.isVali
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function m(x,_){(_==null||_>x.length)&&(_=x.length);for(var C=0,R=new Array(_);C<_;C++)R[C]=x[C];return R}function p(x,_){for(var C=0;C<_.length;C++){var R=_[C];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(x,R.key,R)}}var g=e("../utils/under-dash"),v=e("../utils/col-cache"),c=e("./range"),o=e("./row"),a=e("./column"),s=e("./enums"),d=e("./image"),h=e("./table"),y=e("./data-validations"),b=e("../utils/encryptor"),w=function(){function x(P){(function(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")})(this,x),P=P||{},this.id=P.id,this.orderNo=P.orderNo,this.name=P.name||"Sheet".concat(this.id),this.state=P.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this._workbook=P.workbook,this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},P.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!P.pageSetup||!P.pageSetup.fitToWidth&&!P.pageSetup.fitToHeight||P.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},P.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},P.headerFooter),this.dataValidations=new y,this.views=P.views||[],this.autoFilter=P.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}var _,C,R;return _=x,(C=[{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"getColumnKey",value:function(P){return this._keys[P]}},{key:"setColumnKey",value:function(P,S){this._keys[P]=S}},{key:"deleteColumnKey",value:function(P){delete this._keys[P]}},{key:"eachColumnKey",value:function(P){g.each(this._keys,P)}},{key:"getColumn",value:function(P){if(typeof P=="string"){var S=this._keys[P];if(S)return S;P=v.l2n(P)}if(this._columns||(this._columns=[]),P>this._columns.length)for(var A=this._columns.length+1;A<=P;)this._columns.push(new a(this,A++));return this._columns[P-1]}},{key:"spliceColumns",value:function(P,S){for(var A=this,k=this._rows,T=k.length,I=arguments.length,E=new Array(I>2?I-2:0),O=2;O<I;O++)E[O-2]=arguments[O];if(E.length>0)for(var j=function(ee){var ne=[P,S];E.forEach(function(M){ne.push(M[ee]||null)});var te=A.getRow(ee+1);te.splice.apply(te,ne)},L=0;L<T;L++)j(L);else this._rows.forEach(function(ee){ee&&ee.splice(P,S)});var N=E.length-S,D=P+S,U=this._columns.length;if(N<0)for(var G=P+E.length;G<=U;G++)this.getColumn(G).defn=this.getColumn(G-N).defn;else if(N>0)for(var X=U;X>=D;X--)this.getColumn(X+N).defn=this.getColumn(X).defn;for(var Y=P;Y<P+E.length;Y++)this.getColumn(Y).defn=null;this.workbook.definedNames.spliceColumns(this.name,P,S,E.length)}},{key:"_commitRow",value:function(){}},{key:"findRow",value:function(P){return this._rows[P-1]}},{key:"findRows",value:function(P,S){return this._rows.slice(P-1,P-1+S)}},{key:"getRow",value:function(P){var S=this._rows[P-1];return S||(S=this._rows[P-1]=new o(this,P)),S}},{key:"getRows",value:function(P,S){if(!(S<1)){for(var A=[],k=P;k<P+S;k++)A.push(this.getRow(k));return A}}},{key:"addRow",value:function(P){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",A=this._nextRow,k=this.getRow(A);return k.values=P,this._setStyleOption(A,S[0]==="i"?S:"n"),k}},{key:"addRows",value:function(P){var S=this,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",k=[];return P.forEach(function(T){k.push(S.addRow(T,A))}),k}},{key:"insertRow",value:function(P,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function i(g,v){(v==null||v>g.length)&&(v=g.length);for(var c=0,o=new Array(v);c<v;c++)o[c]=g[c];return o}function u(g,v){var c=Object.keys(g);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(g);v&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(g,a).enumerable})),c.push.apply(c,o)}return c}function l(g,v,c){return v in g?Object.defineProperty(g,v,{value:c,enumerable:!0,configurable:!0,writable:!0}):g[v]=c,g}var m=/^[A-Z]+\d+$/,p={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(g){return g<=26?1:g<=676?2:3},_fill:function(g){var v,c,o,a,s,d=1;if(g>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&g>=1){for(;d<=26;)v=this._dictionary[d-1],this._n2l[d]=v,this._l2n[v]=d,d++;this._l2nFill=1}if(this._l2nFill<2&&g>=2){for(d=27;d<=702;)o=(c=d-27)%26,a=Math.floor(c/26),v=this._dictionary[a]+this._dictionary[o],this._n2l[d]=v,this._l2n[v]=d,d++;this._l2nFill=2}if(this._l2nFill<3&&g>=3){for(d=703;d<=16384;)o=(c=d-703)%26,a=Math.floor(c/26)%26,s=Math.floor(c/676),v=this._dictionary[s]+this._dictionary[a]+this._dictionary[o],this._n2l[d]=v,this._l2n[v]=d,d++;this._l2nFill=3}},l2n:function(g){if(this._l2n[g]||this._fill(g.length),!this._l2n[g])throw new Error("Out of bounds. Invalid column letter: ".concat(g));return this._l2n[g]},n2l:function(g){if(g<1||g>16384)throw new Error("".concat(g," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[g]||this._fill(this._level(g)),this._n2l[g]},_hash:{},validateAddress:function(g){if(!m.test(g))throw new Error("Invalid Address: ".concat(g));return!0},decodeAddress:function(g){var v=g.length<5&&this._hash[g];if(v)return v;for(var c,o=!1,a="",s=0,d=!1,h="",y=0,b=0;b<g.length;b++)if(c=g.charCodeAt(b),!d&&c>=65&&c<=90)o=!0,a+=g[b],s=26*s+c-64;else if(c>=48&&c<=57)d=!0,h+=g[b],y=10*y+c-48;else if(d&&o&&c!==36)break;if(o){if(s>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(a))}else s=void 0;d||(y=void 0);var w={address:g=a+h,col:s,row:y,$col$row:"$".concat(a,"$").concat(h)};return s<=100&&y<=100&&(this._hash[g]=w,this._hash[w.$col$row]=w),w},getAddress:function(g,v){if(v){var c=this.n2l(v)+g;return this.decodeAddress(c)}return this.decodeAddress(g)},decode:function(g){var v=g.split(":");if(v.length===2){var c=this.decodeAddress(v[0]),o=this.decodeAddress(v[1]),a={top:Math.min(c.row,o.row),left:Math.min(c.col,o.col),bottom:Math.max(c.row,o.row),right:Math.max(c.col,o.col)};return a.tl=this.n2l(a.left)+a.top,a.br=this.n2l(a.right)+a.bottom,a.dimensions="".concat(a.tl,":").concat(a.br),a}return this.decodeAddress(g)},decodeEx:function(g){var v=g.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),c=v[1]||v[2],o=v[3],a=o.split(":");if(a.length>1){var s=this.decodeAddress(a[0]),d=this.decodeAddress(a[1]),h=Math.min(s.row,d.row),y=Math.min(s.col,d.col),b=Math.max(s.row,d.row),w=Math.max(s.col,d.col);return s=this.n2l(y)+h,d=this.n2l(w)+b,{top:h,left:y,bottom:b,right:w,sheetName:c,tl:{address:s,col:y,row:h,$col$row:"$".concat(this.n2l(y),"$").concat(h),sheetName:c},br:{address:d,col:w,row:b,$col$row:"$".concat(this.n2l(w),"$").concat(b),sheetName:c},dimensions:"".concat(s,":").concat(d)}}if(o.startsWith("#"))return c?{sheetName:c,error:o}:{error:o};var x=this.decodeAddress(o);return c?function(_){for(var C=1;C<arguments.length;C++){var R=arguments[C]!=null?arguments[C]:{};C%2?u(Object(R),!0).forEach(function(P){l(_,P,R[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(R)):u(Object(R)).forEach(function(P){Object.defineProperty(_,P,Object.getOwnPropertyDescriptor(R,P))})}return _}({sheetName:c},x):x},encodeAddress:function(g,v){return p.n2l(v)+g},encode:function(){switch(arguments.length){case 2:return p.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(p.encodeAddress(arguments[0],arguments[1]),":").concat(p.encodeAdd
`)}},{key:"openNode",value:function(a,s){var d=this.tos,h=this._xml;d&&this.open&&h.push(">"),this._stack.push(a),h.push("<"),h.push(a),m(h,s),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(a,s){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");s!==void 0&&l(this._xml,a,s)}},{key:"addAttributes",value:function(a){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");m(this._xml,a)}},{key:"writeText",value:function(a){var s=this._xml;this.open&&(s.push(">"),this.open=!1),this.leaf=!1,s.push(u.xmlEncode(a.toString()))}},{key:"writeXml",value:function(a){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(a)}},{key:"closeNode",value:function(){var a=this._stack.pop(),s=this._xml;this.leaf?s.push("/>"):(s.push("</"),s.push(a),s.push(">")),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(a,s,d){this.openNode(a,s),d!==void 0&&this.writeText(d),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var a=this._rollbacks.pop();this._xml.length>a.xml&&this._xml.splice(a.xml,this._xml.length-a.xml),this._stack.length>a.stack&&this._stack.splice(a.stack,this._stack.length-a.stack),this.leaf=a.leaf,this.open=a.open}},{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])&&n(v.prototype,c),o&&n(v,o),g}();p.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},r.exports=p},{"./under-dash":25,"./utils":26}],28:[function(e,r,t){(function(n){"use strict";function i(h){return(i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(h)}function u(h,y,b,w,x,_,C){try{var R=h[_](C),P=R.value}catch(S){return void b(S)}R.done?y(P):Promise.resolve(P).then(w,x)}function l(h,y){for(var b=0;b<y.length;b++){var w=y[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,w.key,w)}}function m(h,y){return(m=Object.setPrototypeOf||function(b,w){return b.__proto__=w,b})(h,y)}function p(h){var y=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(b){return!1}}();return function(){var b,w=v(h);if(y){var x=v(this).constructor;b=Reflect.construct(w,arguments,x)}else b=w.apply(this,arguments);return g(this,b)}}function g(h,y){return!y||i(y)!=="object"&&typeof y!="function"?function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(h):y}function v(h){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)})(h)}var c=e("events"),o=e("jszip"),a=e("./stream-buf"),s=e("./browser-buffer-encode").stringToBuffer,d=function(h){(function(P,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(S&&S.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),S&&m(P,S)})(R,h);var y,b,w,x,_,C=p(R);function R(P){var S;return function(A,k){if(!(A instanceof k))throw new TypeError("Cannot call a class as a function")}(this,R),(S=C.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},P),S.zip=new o,S.stream=new a,S}return y=R,(b=[{key:"append",value:function(P,S){S.hasOwnProperty("base64")&&S.base64?this.zip.file(S.name,P,{base64:!0}):(n.browser&&typeof P=="string"&&(P=s(P)),this.zip.file(S.name,P))}},{key:"finalize",value:(x=rege
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y,b=!0,w=!1;return{s:function(){s=o[Symbol.iterator]()},n:function(){var x=s.next();return b=x.done,x},e:function(x){w=!0,y=x},f:function(){try{b||s.return==null||s.return()}finally{if(w)throw y}}}}function i(o,a){(a==null||a>o.length)&&(a=o.length);for(var s=0,d=new Array(a);s<a;s++)d[s]=o[s];return d}function u(o,a,s,d,h,y,b){try{var w=o[y](b),x=w.value}catch(_){return void s(_)}w.done?a(x):Promise.resolve(x).then(d,h)}function l(o){return function(){var a=this,s=arguments;return new Promise(function(d,h){var y=o.apply(a,s);function b(x){u(y,d,h,b,w,"next",x)}function w(x){u(y,d,h,b,w,"throw",x)}b(void 0)})}}function m(o,a){for(var s=0;s<a.length;s++){var d=a[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(o,d.key,d)}}function p(o){var a;if(typeof Symbol!="undefined"&&(Symbol.asyncIterator&&(a=o[Symbol.asyncIterator])!=null||Symbol.iterator&&(a=o[Symbol.iterator])!=null))return a.call(o);throw new TypeError("Object is not async iterable")}var g=e("../../utils/parse-sax"),v=e("../../utils/xml-stream"),c=function(){function o(){(function(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")})(this,o)}var a,s,d,h,y;return a=o,s=[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(b){}},{key:"parseText",value:function(b){}},{key:"parseClose",value:function(b){}},{key:"reconcile",value:function(b,w){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach(function(b){b instanceof o?b.reset():b.xform&&b.xform.reset()})}},{key:"mergeModel",value:function(b){this.model=Object.assign(this.model||{},b)}},{key:"parse",value:(y=l(regeneratorRuntime.mark(function b(w){var x,_,C,R,P,S,A,k,T,I,E;return regeneratorRuntime.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:x=!0,_=!1,O.prev=2,R=p(w);case 4:return O.next=6,R.next();case 6:return P=O.sent,x=P.done,O.next=10,P.value;case 10:if(S=O.sent,x){O.next=42;break}A=n(S),O.prev=14,A.s();case 16:if((k=A.n()).done){O.next=31;break}if(T=k.value,I=T.eventType,E=T.value,I!=="opentag"){O.next=22;break}this.parseOpen(E),O.next=29;break;case 22:if(I!=="text"){O.next=26;break}this.parseText(E),O.next=29;break;case 26:if(I!=="closetag"){O.next=29;break}if(this.parseClose(E.name)){O.next=29;break}return O.abrupt("return",this.model);case 29:O.next=16;break;case 31:O.next=36;break;case 33:O.prev=33,O.t0=O.catch(14),A.e(O.t0);case 36:return O.prev=36,A.f(),O.finish(36);case 39:x=!0,O.next=4;break;case 42:O.next=48;break;case 44:O.prev=44,O.t1=O.catch(2),_=!0,C=O.t1;case 48:if(O.prev=48,O.prev=49,x||R.return==null){O.next=53;break}return O.next=53,R.return();case 53:if(O.prev=53,!_){O.next=56;break}throw C;case 56:return O.finish(53);case 57:return O.finish(48);case 58:return O.abrupt("return",this.model);case 59:case"end":return O.stop()}},b,this,[[2,44,48,58],[14,33,36,39],[49,,53,57]])})),function(b){return y.apply(this,arguments)})},{key:"parseStream",value:(h=l(regeneratorRuntime.mark(function b(w){return regeneratorRuntime.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.abrupt("return",this.parse(g(w)));case 1:case"end":return x.stop()}},b,this)})),function(b){return h.apply(this,arguments)})},{key:"toXml",value:function(b){var w=new v;return this.render(w,b),w.xml}},{key:"xml",get:function(){return this.toXml(this.model)}}],d=[{key:"toAttribute",value:function(b,w){var x=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(b===void 0){if(x)return w}else if(x||b!==w)return b.toString()}},{key:"toStringAttribute",value:function(b,w){var x=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return o.toAttribute(b,w,x)}},{key:"toStringValue",value:function(b,w){return b===void 0?w:b}},{key:"toBoolAttribute",value:function(b,w){var x=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(b===void 0){if(x)return w}else if(x||b!==w)return b?"1":"0"}},{key:"toBoolValue",value:function(b,w){return b===void 0?w:b==="1"
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function u(h,y){(y==null||y>h.length)&&(y=h.length);for(var b=0,w=new Array(y);b<y;b++)w[b]=h[b];return w}function l(h,y){for(var b=0;b<y.length;b++){var w=y[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,w.key,w)}}function m(h,y){return(m=Object.setPrototypeOf||function(b,w){return b.__proto__=w,b})(h,y)}function p(h){var y=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(b){return!1}}();return function(){var b,w=v(h);if(y){var x=v(this).constructor;b=Reflect.construct(w,arguments,x)}else b=w.apply(this,arguments);return g(this,b)}}function g(h,y){return!y||n(y)!=="object"&&typeof y!="function"?function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(h):y}function v(h){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)})(h)}var c=e("../../base-xform"),o=e("../../composite-xform"),a=e("../../style/color-xform"),s=e("./cfvo-ext-xform"),d=function(h){(function(C,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(R&&R.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),R&&m(C,R)})(_,h);var y,b,w,x=p(_);function _(){var C;return function(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")}(this,_),(C=x.call(this)).map={"x14:cfvo":C.cfvoXform=new s,"x14:borderColor":C.borderColorXform=new a("x14:borderColor"),"x14:negativeBorderColor":C.negativeBorderColorXform=new a("x14:negativeBorderColor"),"x14:negativeFillColor":C.negativeFillColorXform=new a("x14:negativeFillColor"),"x14:axisColor":C.axisColorXform=new a("x14:axisColor")},C}return y=_,w=[{key:"isExt",value:function(C){return!C.gradient}}],(b=[{key:"render",value:function(C,R){var P=this;C.openNode(this.tag,{minLength:c.toIntAttribute(R.minLength,0,!0),maxLength:c.toIntAttribute(R.maxLength,100,!0),border:c.toBoolAttribute(R.border,!1),gradient:c.toBoolAttribute(R.gradient,!0),negativeBarColorSameAsPositive:c.toBoolAttribute(R.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:c.toBoolAttribute(R.negativeBarBorderColorSameAsPositive,!0),axisPosition:c.toAttribute(R.axisPosition,"auto"),direction:c.toAttribute(R.direction,"leftToRight")}),R.cfvo.forEach(function(S){P.cfvoXform.render(C,S)}),this.borderColorXform.render(C,R.borderColor),this.negativeBorderColorXform.render(C,R.negativeBorderColor),this.negativeFillColorXform.render(C,R.negativeFillColor),this.axisColorXform.render(C,R.axisColor),C.closeNode()}},{key:"createNewModel",value:function(C){var R=C.attributes;return{cfvo:[],minLength:c.toIntValue(R.minLength,0),maxLength:c.toIntValue(R.maxLength,100),border:c.toBoolValue(R.border,!1),gradient:c.toBoolValue(R.gradient,!0),negativeBarColorSameAsPositive:c.toBoolValue(R.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:c.toBoolValue(R.negativeBarBorderColorSameAsPositive,!0),axisPosition:c.toStringValue(R.axisPosition,"auto"),direction:c.toStringValue(R.direction,"leftToRight")}}},{key:"onParserClose",value:function(C,R){var P=i(C.split(":"),2)[1];switch(P){case"cfvo":this.model.cfvo.push(R.model);break;default:this.model[P]=R.model}}},{key:"tag",get:function(){return"x14:dataBar"}}])&&l(y.prototype,b),w&&l(y,w),_}(o);r.exports=d},{"../../base-xform":31,"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-ext-xform":75}],79:[function(e,r,t){"use strict";function n(c){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(c)}function i(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a cla
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function u(h,y){(y==null||y>h.length)&&(y=h.length);for(var b=0,w=new Array(y);b<y;b++)w[b]=h[b];return w}function l(h,y){for(var b=0;b<y.length;b++){var w=y[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,w.key,w)}}function m(h,y){return(m=Object.setPrototypeOf||function(b,w){return b.__proto__=w,b})(h,y)}function p(h){var y=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(b){return!1}}();return function(){var b,w=v(h);if(y){var x=v(this).constructor;b=Reflect.construct(w,arguments,x)}else b=w.apply(this,arguments);return g(this,b)}}function g(h,y){return!y||n(y)!=="object"&&typeof y!="function"?function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(h):y}function v(h){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)})(h)}var c=e("../../base-xform"),o=e("../../composite-xform"),a=e("./cfvo-ext-xform"),s=e("./cf-icon-ext-xform"),d=function(h){(function(C,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(R&&R.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),R&&m(C,R)})(_,h);var y,b,w,x=p(_);function _(){var C;return function(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")}(this,_),(C=x.call(this)).map={"x14:cfvo":C.cfvoXform=new a,"x14:cfIcon":C.cfIconXform=new s},C}return y=_,(b=[{key:"render",value:function(C,R){var P=this;C.openNode(this.tag,{iconSet:c.toStringAttribute(R.iconSet),reverse:c.toBoolAttribute(R.reverse,!1),showValue:c.toBoolAttribute(R.showValue,!0),custom:c.toBoolAttribute(R.icons,!1)}),R.cfvo.forEach(function(S){P.cfvoXform.render(C,S)}),R.icons&&R.icons.forEach(function(S,A){S.iconId=A,P.cfIconXform.render(C,S)}),C.closeNode()}},{key:"createNewModel",value:function(C){var R=C.attributes;return{cfvo:[],iconSet:c.toStringValue(R.iconSet,"3TrafficLights"),reverse:c.toBoolValue(R.reverse,!1),showValue:c.toBoolValue(R.showValue,!0)}}},{key:"onParserClose",value:function(C,R){var P=i(C.split(":"),2)[1];switch(P){case"cfvo":this.model.cfvo.push(R.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(R.model);break;default:this.model[P]=R.model}}},{key:"tag",get:function(){return"x14:iconSet"}}])&&l(y.prototype,b),w&&l(y,w),_}(o);r.exports=d},{"../../base-xform":31,"../../composite-xform":47,"./cf-icon-ext-xform":73,"./cfvo-ext-xform":75}],81:[function(e,r,t){"use strict";function n(c){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(c)}function i(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function u(c,o){for(var a=0;a<o.length;a++){var s=o[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,s.key,s)}}function l(c,o){return(l=Object.setPrototypeOf||function(a,s){return a.__proto__=s,a})(c,o)}function m(c){var o=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(a){return!1}}();return function(){var a,s=g(c);if(o){var d=g(this).constructor;a=Reflect.construct(s,arguments,d)}else a=s.apply(this,arguments);return p(this,a)}}function p(c,o){return!o||n(o)!=="object"&&typeof o!="function"?function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(c):o}function g(c){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(o){ret
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function u(s,d){(d==null||d>s.length)&&(d=s.length);for(var h=0,y=new Array(d);h<d;h++)y[h]=s[h];return y}function l(s,d){for(var h=0;h<d.length;h++){var y=d[h];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(s,y.key,y)}}function m(s,d){return(m=Object.setPrototypeOf||function(h,y){return h.__proto__=y,h})(s,d)}function p(s){var d=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(h){return!1}}();return function(){var h,y=v(s);if(d){var b=v(this).constructor;h=Reflect.construct(y,arguments,b)}else h=y.apply(this,arguments);return g(this,h)}}function g(s,d){return!d||n(d)!=="object"&&typeof d!="function"?function(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}(s):d}function v(s){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(s)}var c=e("../../base-xform"),o=e("./conditional-formatting-xform"),a=function(s){(function(x,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(_&&_.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),_&&m(x,_)})(w,s);var d,h,y,b=p(w);function w(){var x;return function(_,C){if(!(_ instanceof C))throw new TypeError("Cannot call a class as a function")}(this,w),(x=b.call(this)).cfXform=new o,x}return d=w,(h=[{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(x,_){var C=x.reduce(function(R,P){return Math.max.apply(Math,[R].concat(i(P.rules.map(function(S){return S.priority||0}))))},1);x.forEach(function(R){R.rules.forEach(function(P){P.priority||(P.priority=C++),P.style&&(P.dxfId=_.styles.addDxfStyle(P.style))})})}},{key:"render",value:function(x,_){var C=this;_.forEach(function(R){C.cfXform.render(x,R)})}},{key:"parseOpen",value:function(x){if(this.parser)return this.parser.parseOpen(x),!0;switch(x.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(x),!0;default:return!1}}},{key:"parseText",value:function(x){this.parser&&this.parser.parseText(x)}},{key:"parseClose",value:function(x){return!(!this.parser||!this.parser.parseClose(x)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(x,_){x.forEach(function(C){C.rules.forEach(function(R){R.dxfId!==void 0&&(R.style=_.styles.getDxfStyle(R.dxfId),delete R.dxfId)})})}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&l(d.prototype,h),y&&l(d,y),w}(c);r.exports=a},{"../../base-xform":31,"./conditional-formatting-xform":85}],87:[function(e,r,t){"use strict";function n(a){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(a)}function i(a,s){for(var d=0;d<s.length;d++){var h=s[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}function u(a,s){return(u=Object.setPrototypeOf||function(d,h){return d.__proto__=h,d})(a,s)}function l(a){var s=function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(d){return!1}}();return function(){var d,h=p(a);if(s){var y=p(this).constructor;d=Reflect.construct(h,arguments,y)}else d=h.apply(this,arguments);return m(this,d)}}function m(a,s){return!s||n(s)!=="object"&&typeof s!="function"?function(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}(a):s}function p(a){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(s){return s.__proto__||Ob
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/> <a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/> <a:font script="Hans" typeface="\u5B8B\u4F53"/> <a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/> <a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/> <a:font script="Hans" typeface="\u5B8B\u4F53"/> <a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod
`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,l||{}),(l==null?void 0:l.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(l==null?void 0:l.quote)===!0?this.quote='"':(l==null?void 0:l.quote)===!1&&(this.quote=""),typeof(l==null?void 0:l.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((u=l.writeHeaders)===null||u===void 0||u),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)}},{}],145:[function(e,r,t){"use strict";function n(g,v){for(var c=0;c<v.length;c++){var o=v[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}var i=function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldFormatter=void 0;var u=i(e("lodash.isboolean")),l=i(e("lodash.isnil")),m=i(e("lodash.escaperegexp")),p=function(){function g(a){(function(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")})(this,g),this._headers=null,this.formatterOptions=a,a.headers!==null&&(this.headers=a.headers),this.REPLACE_REGEXP=new RegExp(a.quote,"g");var s="[".concat(a.delimiter).concat(m.default(a.rowDelimiter),`|\r|
']`);this.ESCAPE_REGEXP=new RegExp(s)}var v,c,o;return v=g,(c=[{key:"shouldQuote",value:function(a,s){var d=s?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return u.default(d)?d:Array.isArray(d)?d[a]:this._headers!==null&&d[this._headers[a]]}},{key:"format",value:function(a,s,d){var h="".concat(l.default(a)?"":a).replace(/\0/g,""),y=this.formatterOptions;return y.quote!==""&&h.indexOf(y.quote)!==-1?this.quoteField(h.replace(this.REPLACE_REGEXP,y.escapedQuote)):h.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(s,d)?this.quoteField(h):h}},{key:"quoteField",value:function(a){var s=this.formatterOptions.quote;return"".concat(s).concat(a).concat(s)}},{key:"headers",set:function(a){this._headers=a}}])&&n(v.prototype,c),o&&n(v,o),g}();t.FieldFormatter=p},{"lodash.escaperegexp":426,"lodash.isboolean":428,"lodash.isnil":431}],146:[function(e,r,t){"use strict";function n(v,c){for(var o=0;o<c.length;o++){var a=c[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}var i=function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(t,"__esModule",{value:!0}),t.RowFormatter=void 0;var u=i(e("lodash.isfunction")),l=i(e("lodash.isequal")),m=e("./FieldFormatter"),p=e("../types"),g=function(){function v(s){(function(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")})(this,v),this.rowCount=0,this.formatterOptions=s,this.fieldFormatter=new m.FieldFormatter(s),this.headers=s.headers,this.shouldWriteHeaders=s.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),s.transform&&(this.rowTransform=s.transform)}var c,o,a;return c=v,a=[{key:"isHashArray",value:function(s){return!!Array.isArray(s)&&Array.isArray(s[0])&&s[0].length===2}},{key:"gatherHeaders",value:function(s){return v.isHashArray(s)?s.map(function(d){return d[0]}):Array.isArray(s)?s:Object.keys(s)}},{key:"createTransform",value:function(s){return p.isSyncTransform(s)?function(d,h){var y=null;try{y=s(d)}catch(b){return h(b)}return h(null,y)}:function(d,h){s(d,h)}}}],(o=[{key:"format",value:function(s,d){var h=this;this.callTransformer(s,function(y,b){if(y)return d(y);if(!s)return d(null);var w=[];if(b){var x=h.checkHeaders(b),_=x.shouldFormatColumns,C=x.headers;if(h.shouldWriteHeaders&&C&&!h.hasWrittenHeaders&&(w.push(h.formatColumns(C,!0)),h.hasWrittenHeaders=!0),_){var R=h.gatherColumns(b);w.push(h.formatColumns(R,!1))}}return d(null,w)})}},{key:"finish",value:function(s){var d=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return s(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));d.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&d.push(this.formatterOptions.rowDelimiter),s(null,d)}},{key:"checkHeaders",value:function(s){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var d=v.gatherHeaders(s);return this.headers=d,this.fieldFormatter.headers=d,this.shouldWriteHeaders?{shouldFormatColumns:!l.default(d,s),headers:d}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(s){if(this.headers===null)throw new Error("Headers is currently null");return Array.isArray(s)?v.isHashArray(s)?this.headers.map(function(d,h){var y=s[h];return y?y[1]:""}):this.headers.map(function(d,h){return s[h]}):this.headers.map(function(d){return s[d]})}},{key:"callTransformer",value:function(s,d){return this._rowTransform?this._rowTransform(s,d):d(null,s)}},{key:"formatColumns",value:function(s,d){var h=this,y=s.map(function(w,x){return h.fieldFormatter.format(w,x,d)}).join(this.formatterOptions.delimiter),b=this.rowCount;return this.rowCount+=1,b?[this.formatterOptions.rowDelimiter,y].join(""):y}},{key:"rowTransform",set:function(s){if(!u.default(s))throw new TypeError("The transform should be a function");this._rowTransform=v.createTransform(s)}}])&&n(c.prototype,o),a&&n(c,a),v}();t.RowFormatter=g},{"../types":149,"./FieldFormatter":145,"lodash.isequal":429,"lo
`||v===`\r
`}},{key:"isTokenCarriageReturn",value:function(g,v){return g.token===v.carriageReturn}},{key:"isTokenComment",value:function(g,v){return v.supportsComments&&!!g&&g.token===v.comment}},{key:"isTokenEscapeCharacter",value:function(g,v){return g.token===v.escapeChar}},{key:"isTokenQuote",value:function(g,v){return g.token===v.quote}},{key:"isTokenDelimiter",value:function(g,v){return g.token===v.delimiter}}],(m=null)&&n(l.prototype,m),p&&n(l,p),u}();t.Token=i},{}],157:[function(e,r,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnFormatter=void 0,t.ColumnFormatter=function n(i){(function(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")})(this,n),i.trim?this.format=function(u){return u.trim()}:i.ltrim?this.format=function(u){return u.trimLeft()}:i.rtrim?this.format=function(u){return u.trimRight()}:this.format=function(u){return u}}},{}],158:[function(e,r,t){"use strict";function n(p,g){for(var v=0;v<g.length;v++){var c=g[v];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(p,c.key,c)}}Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnParser=void 0;var i=e("./NonQuotedColumnParser"),u=e("./QuotedColumnParser"),l=e("../Token"),m=function(){function p(o){(function(a,s){if(!(a instanceof s))throw new TypeError("Cannot call a class as a function")})(this,p),this.parserOptions=o,this.quotedColumnParser=new u.QuotedColumnParser(o),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(o)}var g,v,c;return g=p,(v=[{key:"parse",value:function(o){var a=o.nextNonSpaceToken;return a!==null&&l.Token.isTokenQuote(a,this.parserOptions)?(o.advanceToToken(a),this.quotedColumnParser.parse(o)):this.nonQuotedColumnParser.parse(o)}}])&&n(g.prototype,v),c&&n(g,c),p}();t.ColumnParser=m},{"../Token":156,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],159:[function(e,r,t){"use strict";function n(g,v){for(var c=0;c<v.length;c++){var o=v[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(g,o.key,o)}}Object.defineProperty(t,"__esModule",{value:!0}),t.NonQuotedColumnParser=void 0;var i=e("./ColumnFormatter"),u=e("../Token").Token,l=u.isTokenDelimiter,m=u.isTokenRowDelimiter,p=function(){function g(a){(function(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")})(this,g),this.parserOptions=a,this.columnFormatter=new i.ColumnFormatter(a)}var v,c,o;return v=g,(c=[{key:"parse",value:function(a){if(!a.hasMoreCharacters)return null;for(var s=this.parserOptions,d=[],h=a.nextCharacterToken;h&&!l(h,s)&&!m(h);h=a.nextCharacterToken)d.push(h.token),a.advancePastToken(h);return this.columnFormatter.format(d.join(""))}}])&&n(v.prototype,c),o&&n(v,o),g}();t.NonQuotedColumnParser=p},{"../Token":156,"./ColumnFormatter":157}],160:[function(e,r,t){"use strict";function n(c,o){for(var a=0;a<o.length;a++){var s=o[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,s.key,s)}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuotedColumnParser=void 0;var i=e("./ColumnFormatter"),u=e("../Token").Token,l=u.isTokenDelimiter,m=u.isTokenRowDelimiter,p=u.isTokenEscapeCharacter,g=u.isTokenQuote,v=function(){function c(d){(function(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")})(this,c),this.parserOptions=d,this.columnFormatter=new i.ColumnFormatter(d)}var o,a,s;return o=c,(a=[{key:"parse",value:function(d){if(!d.hasMoreCharacters)return null;var h=d.cursor,y=this.gatherDataBetweenQuotes(d),b=y.foundClosingQuote,w=y.col;if(!b){if(d.advanceTo(h),!d.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(d.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(d),w}},{key:"gatherDataBetweenQuotes",value:function(d){for(var h=this.parserOptions,y=!1,b=!1,w=[],x=d.nextCharacterToken;!b&&x!==null;x=d.nextCharacterToken){var _=g(x,h);if(!y&&_)y=!0;else if(y)if(p(x,h)){d.advancePastToken(x
`)}},{"./der":178,inherits:387}],181:[function(e,r,t){"use strict";function n(i){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(i)}(function(i,u){function l(k,T){if(!k)throw new Error(T||"Assertion failed")}function m(k,T){k.super_=T;var I=function(){};I.prototype=T.prototype,k.prototype=new I,k.prototype.constructor=k}function p(k,T,I){if(p.isBN(k))return k;this.negative=0,this.words=null,this.length=0,this.red=null,k!==null&&(T!=="le"&&T!=="be"||(I=T,T=10),this._init(k||0,T||10,I||"be"))}var g;n(i)==="object"?i.exports=p:(void 0).BN=p,p.BN=p,p.wordSize=26;try{g=e("buffer").Buffer}catch(k){}function v(k,T,I){for(var E=0,O=Math.min(k.length,I),j=T;j<O;j++){var L=k.charCodeAt(j)-48;E<<=4,E|=L>=49&&L<=54?L-49+10:L>=17&&L<=22?L-17+10:15&L}return E}function c(k,T,I,E){for(var O=0,j=Math.min(k.length,I),L=T;L<j;L++){var N=k.charCodeAt(L)-48;O*=E,O+=N>=49?N-49+10:N>=17?N-17+10:N}return O}p.isBN=function(k){return k instanceof p||k!==null&&n(k)==="object"&&k.constructor.wordSize===p.wordSize&&Array.isArray(k.words)},p.max=function(k,T){return k.cmp(T)>0?k:T},p.min=function(k,T){return k.cmp(T)<0?k:T},p.prototype._init=function(k,T,I){if(typeof k=="number")return this._initNumber(k,T,I);if(n(k)==="object")return this._initArray(k,T,I);T==="hex"&&(T=16),l(T===(0|T)&&T>=2&&T<=36);var E=0;(k=k.toString().replace(/\s+/g,""))[0]==="-"&&E++,T===16?this._parseHex(k,E):this._parseBase(k,T,E),k[0]==="-"&&(this.negative=1),this.strip(),I==="le"&&this._initArray(this.toArray(),T,I)},p.prototype._initNumber=function(k,T,I){k<0&&(this.negative=1,k=-k),k<67108864?(this.words=[67108863&k],this.length=1):k<4503599627370496?(this.words=[67108863&k,k/67108864&67108863],this.length=2):(l(k<9007199254740992),this.words=[67108863&k,k/67108864&67108863,1],this.length=3),I==="le"&&this._initArray(this.toArray(),T,I)},p.prototype._initArray=function(k,T,I){if(l(typeof k.length=="number"),k.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(k.length/3),this.words=new Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var O,j,L=0;if(I==="be")for(E=k.length-1,O=0;E>=0;E-=3)j=k[E]|k[E-1]<<8|k[E-2]<<16,this.words[O]|=j<<L&67108863,this.words[O+1]=j>>>26-L&67108863,(L+=24)>=26&&(L-=26,O++);else if(I==="le")for(E=0,O=0;E<k.length;E+=3)j=k[E]|k[E+1]<<8|k[E+2]<<16,this.words[O]|=j<<L&67108863,this.words[O+1]=j>>>26-L&67108863,(L+=24)>=26&&(L-=26,O++);return this.strip()},p.prototype._parseHex=function(k,T){this.length=Math.ceil((k.length-T)/6),this.words=new Array(this.length);for(var I=0;I<this.length;I++)this.words[I]=0;var E,O,j=0;for(I=k.length-6,E=0;I>=T;I-=6)O=v(k,I,I+6),this.words[E]|=O<<j&67108863,this.words[E+1]|=O>>>26-j&4194303,(j+=24)>=26&&(j-=26,E++);I+6!==T&&(O=v(k,T,I+6),this.words[E]|=O<<j&67108863,this.words[E+1]|=O>>>26-j&4194303),this.strip()},p.prototype._parseBase=function(k,T,I){this.words=[0],this.length=1;for(var E=0,O=1;O<=67108863;O*=T)E++;E--,O=O/T|0;for(var j=k.length-I,L=j%E,N=Math.min(j,j-L)+I,D=0,U=I;U<N;U+=E)D=c(k,U,U+E,T),this.imuln(O),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D);if(L!==0){var G=1;for(D=c(k,U,k.length,T),U=0;U<L;U++)G*=T;this.imuln(G),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D)}},p.prototype.copy=function(k){k.words=new Array(this.length);for(var T=0;T<this.length;T++)k.words[T]=this.words[T];k.length=this.length,k.negative=this.negative,k.red=this.red},p.prototype.clone=function(){var k=new p(null);return this.copy(k),k},p.prototype._expand=function(k){for(;this.length<k;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var o=["","0","00","000","0000","00000","000000","0000000","00000000","0000
`))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":203,"browserify-sign":211,"browserify-sign/algos":208,"create-ecdh":329,"create-hash":331,"create-hmac":333,"diffie-hellman":345,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],336:[function(e,r,t){"use strict";function n(i){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(i)}(function(i,u){(t===void 0?"undefined":n(t))=="object"&&r!==void 0?r.exports=u():(void 0).dayjs=u()})(0,function(){var i="millisecond",u="second",l="minute",m="hour",p="day",g="week",v="month",c="quarter",o="year",a="date",s=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(k,T,I){var E=String(k);return!E||E.length>=T?k:""+Array(T+1-E.length).join(I)+k},y={s:h,z:function(k){var T=-k.utcOffset(),I=Math.abs(T),E=Math.floor(I/60),O=I%60;return(T<=0?"+":"-")+h(E,2,"0")+":"+h(O,2,"0")},m:function k(T,I){if(T.date()<I.date())return-k(I,T);var E=12*(I.year()-T.year())+(I.month()-T.month()),O=T.add(E,v),j=I-O<0,L=T.add(E+(j?-1:1),v);return+(-(E+(I-O)/(j?O-L:L-O))||0)},a:function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},p:function(k){return{M:v,y:o,w:g,d:p,D:a,h:m,m:l,s:u,ms:i,Q:c}[k]||String(k||"").toLowerCase().replace(/s$/,"")},u:function(k){return k===void 0}},b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},w="en",x={};x[w]=b;var _=function(k){return k instanceof S},C=function(k,T,I){var E;if(!k)return w;if(typeof k=="string")x[k]&&(E=k),T&&(x[k]=T,E=k);else{var O=k.name;x[O]=k,E=O}return!I&&E&&(w=E),E||!I&&w},R=function(k,T){if(_(k))return k.clone();var I=n(T)=="object"?T:{};return I.date=k,I.args=arguments,new S(I)},P=y;P.l=C,P.i=_,P.w=function(k,T){return R(k,{locale:T.$L,utc:T.$u,$offset:T.$offset})};var S=function(){function k(I){this.$L=this.$L||C(I.locale,null,!0),this.parse(I)}var T=k.prototype;return T.parse=function(I){this.$d=function(E){var O=E.date,j=E.utc;if(O===null)return new Date(NaN);if(P.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var L=O.match(s);if(L){var N=L[2]-1||0,D=(L[7]||"0").substring(0,3);return j?new Date(Date.UTC(L[1],N,L[3]||1,L[4]||0,L[5]||0,L[6]||0,D)):new Date(L[1],N,L[3]||1,L[4]||0,L[5]||0,L[6]||0,D)}}return new Date(O)}(I),this.init()},T.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},T.$utils=function(){return P},T.isValid=function(){return this.$d.toString()!=="Invalid Date"},T.isSame=function(I,E){var O=R(I);return this.startOf(E)<=O&&O<=this.endOf(E)},T.isAfter=function(I,E){return R(I)<this.startOf(E)},T.isBefore=function(I,E){return this.endOf(E)<R(I)},T.$g=function(I,E,O){return P.u(I)?this[E]:this.set(O,I)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(I,E){var O=this,j=!!P.u(E)||E,L=P.p(I),N=function(te,M){var B=P.w(O.$u?Date.UTC(O.$y,M,te):new Date(O.$y,M,te),O);return j?B:B.endOf(p)},D=function(te,M){return P.w(O.toDate()[te].apply(O.toDate("s"),(j?[0,0,0,0]:[23,59,59,999]).slice(M)),O)},U=this.$W,G=this.$M,X=this.$D,Y="set"+(this.$u?"UTC":"");switch(L){case o:return j?N(1,0):N(31,11);case v:return j?N(1,G):N(0,G+1);case g:var ee=this.$locale().weekStart||0,ne=(U<ee
\0`,te+=p(U,2),te+=_.magic,te+=p(b,2),te+=p(w,2),te+=p(D.crc32,4),te+=p(D.compressedSize,4),te+=p(D.uncompressedSize,4),te+=p(R.length,2),te+=p(E.length,2),{fileRecord:m.LOCAL_FILE_HEADER+te+R+E,dirRecord:m.CENTRAL_FILE_HEADER+p(ne,2)+te+p(A.length,2)+"\0\0\0\0"+p(ee,4)+p(d,4)+R+E+A}},v=function(o){return m.DATA_DESCRIPTOR+p(o.crc32,4)+p(o.compressedSize,4)+p(o.uncompressedSize,4)};function c(o,a,s,d){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=a,this.zipPlatform=s,this.encodeFileName=d,this.streamFiles=o,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,i),c.prototype.push=function(o){var a=o.meta.percent||0,s=this.entriesCount,d=this._sources.length;this.accumulate?this.contentBuffer.push(o):(this.bytesWritten+=o.data.length,i.prototype.push.call(this,{data:o.data,meta:{currentFile:this.currentFile,percent:s?(a+100*(s-d-1))/s:100}}))},c.prototype.openedSource=function(o){this.currentSourceOffset=this.bytesWritten,this.currentFile=o.file.name;var a=this.streamFiles&&!o.file.dir;if(a){var s=g(o,a,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:s.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(o){this.accumulate=!1;var a=this.streamFiles&&!o.file.dir,s=g(o,a,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(s.dirRecord),a)this.push({data:v(o),meta:{percent:100}});else for(this.push({data:s.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var o=this.bytesWritten,a=0;a<this.dirRecords.length;a++)this.push({data:this.dirRecords[a],meta:{percent:100}});var s=this.bytesWritten-o,d=function(h,y,b,w,x){var _=n.transformTo("string",x(w));return m.CENTRAL_DIRECTORY_END+"\0\0\0\0"+p(h,2)+p(h,2)+p(y,4)+p(b,4)+p(_.length,2)+_}(this.dirRecords.length,s,o,this.zipComment,this.encodeFileName);this.push({data:d,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(o){this._sources.push(o);var a=this;return o.on("data",function(s){a.processChunk(s)}),o.on("end",function(){a.closedSource(a.previous.streamInfo),a._sources.length?a.prepareNextSource():a.end()}),o.on("error",function(s){a.error(s)}),this},c.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(o){var a=this._sources;if(!i.prototype.error.call(this,o))return!1;for(var s=0;s<a.length;s++)try{a[s].error(o)}catch(d){}return!0},c.prototype.lock=function(){i.prototype.lock.call(this);for(var o=this._sources,a=0;a<o.length;a++)o[a].lock()},r.exports=c},{"../crc32":393,"../signature":412,"../stream/GenericWorker":417,"../utf8":420,"../utils":421}],398:[function(e,r,t){"use strict";var n=e("../compressions"),i=e("./ZipFileWorker");t.generateWorker=function(u,l,m){var p=new i(l.streamFiles,m,l.platform,l.encodeFileName),g=0;try{u.forEach(function(v,c){g++;var o=function(h,y){var b=h||y,w=n[b];if(!w)throw new Error(b+" is not a valid compression method !");return w}(c.options.compression,l.compression),a=c.options.compressionOptions||l.compressionOptions||{},s=c.dir,d=c.date;c._compressWorker(o,a).withStreamInfo("file",{name:v,dir:s,date:d,comment:c.comment||"",unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions}).pipe(p)}),p.entriesCount=g}catch(v){p.error(v)}return p}},{"../compressions":392,"./ZipFileWorker":397}],399:[function(e,r,t){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this,e("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,r,t){(function(n,i){"use strict";function u(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var l=e("safe-buffer"),m=e("randombytes"),p=l.Buffer,g=l.kMaxLength,v=i.crypto||i.msCrypto,c=Math.pow(2,32)-1;function o(d,h){if(typeof d!="number"||d!=d)throw new TypeError("offset must be a number");if(d>c||d<0)throw new TypeError("offset must be a uint32");if(d>g||d>h)throw new RangeError("offset out of range")}function a(d,h,y){if(typeof d!="number"||d!=d)throw new TypeError("size must be a number");if(d>c||d<0)throw new TypeError("size must be a uint32");if(d+h>y||d>g)throw new RangeError("buffer too small")}function s(d,h,y,b){if(n.browser){var w=d.buffer,x=new Uint8Array(w,h,y);return v.getRandomValues(x),b?void n.nextTick(function(){b(null,d)}):d}if(!b)return m(y).copy(d,h),d;m(y,function(_,C){if(_)return b(_);C.copy(d,h),b(null,d)})}v&&v.getRandomValues||!n.browser?(t.randomFill=function(d,h,y,b){if(!(p.isBuffer(d)||d instanceof i.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof h=="function")b=h,h=0,y=d.length;else if(typeof y=="function")b=y,y=d.length-h;else if(typeof b!="function")throw new TypeError('"cb" argument must be a function');return o(h,d.length),a(y,h,d.length),s(d,h,y,b)},t.randomFillSync=function(d,h,y){if(h===void 0&&(h=0),!(p.isBuffer(d)||d instanceof i.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return o(h,d.length),y===void 0&&(y=d.length-h),a(y,h,d.length),s(d,h,y)}):(t.randomFill=u,t.randomFillSync=u)}).call(this,e("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,r,t){"use strict";function n(m){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(m)}var i={};function u(m,p,g){g||(g=Error);var v=function(c){var o,a;function s(d,h,y){return c.call(this,function(b,w,x){return typeof p=="string"?p:p(b,w,x)}(d,h,y))||this}return a=c,(o=s).prototype=Object.create(a.prototype),o.prototype.constructor=o,o.__proto__=a,s}(g);v.prototype.name=g.name,v.prototype.code=m,i[m]=v}function l(m,p){if(Array.isArray(m)){var g=m.length;return m=m.map(function(v){return String(v)}),g>2?"one of ".concat(p," ").concat(m.slice(0,g-1).join(", "),", or ")+m[g-1]:g===2?"one of ".concat(p," ").concat(m[0]," or ").concat(m[1]):"of ".concat(p," ").concat(m[0])}return"of ".concat(p," ").concat(String(m))}u("ERR_INVALID_OPT_VALUE",function(m,p){return'The value "'+p+'" is invalid for option "'+m+'"'},TypeError),u("ERR_INVALID_ARG_TYPE",function(m,p,g){var v,c,o,a;if(typeof p=="string"&&(c="not ",p.substr(!o||o<0?0:+o,c.length)===c)?(v="must not be",p=p.replace(/^not /,"")):v="must be",function(d,h,y){return(y===void 0||y>d.length)&&(y=d.length),d.substring(y-h.length,y)===h}(m," argument"))a="The ".concat(m," ").concat(v," ").concat(l(p,"type"));else{var s=function(d,h,y){return typeof y!="number"&&(y=0),!(y+h.length>d.length)&&d.indexOf(h,y)!==-1}(m,".")?"property":"argument";a='The "'.concat(m,'" ').concat(s," ").concat(v," ").concat(l(p,"type"))}return a+=". Received type ".concat(n(g))},TypeError),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),u("ERR_METHOD_NOT_IMPLEMENTED",function(m){return"The "+m+" method is not implemented"}),u("ERR_STREAM_PREMATURE_CLOSE","Premature close"),u("ERR_STREAM_DESTROYED",function(m){return"Cannot call "+m+" after a stream was destroyed"}),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),u("ERR_STREAM_WRITE_AFTER_END","write after end"),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_UNKNOWN_ENCODING",function(m){return"Unknown encoding: "+m},TypeError),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r.exports.codes=i},{}],478:[function(e,r,t){(function(n){"use strict";var i=Object.keys||function(a){var s=[];for(var d in a)s.push(d);return
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B,z=!0,q=!1;return{s:function(){ne=Y[Symbol.iterator]()},n:function(){var J=ne.next();return z=J.done,J},e:function(J){q=!0,B=J},f:function(){try{z||ne.return==null||ne.return()}finally{if(q)throw B}}}}function i(Y){return(i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(Y)}function u(Y,ee){for(var ne=0;ne<ee.length;ne++){var te=ee[ne];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(Y,te.key,te)}}function l(Y){return function(ee){if(Array.isArray(ee))return p(ee)}(Y)||function(ee){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(ee))return Array.from(ee)}(Y)||m(Y)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function m(Y,ee){if(Y){if(typeof Y=="string")return p(Y,ee);var ne=Object.prototype.toString.call(Y).slice(8,-1);return ne==="Object"&&Y.constructor&&(ne=Y.constructor.name),ne==="Map"||ne==="Set"?Array.from(Y):ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne)?p(Y,ee):void 0}}function p(Y,ee){(ee==null||ee>Y.length)&&(ee=Y.length);for(var ne=0,te=new Array(ee);ne<ee;ne++)te[ne]=Y[ne];return te}Object.defineProperty(t,"__esModule",{value:!0});var g=e("xmlchars/xml/1.0/ed5"),v=e("xmlchars/xml/1.1/ed2"),c=e("xmlchars/xmlns/1.0/ed3"),o=g.isS,a=g.isChar,s=g.isNameStartChar,d=g.isNameChar,h=g.S_LIST,y=g.NAME_RE,b=v.isChar,w=c.isNCNameStartChar,x=c.isNCNameChar,_=c.NC_NAME_RE,C="http://www.w3.org/XML/1998/namespace",R="http://www.w3.org/2000/xmlns/",P={__proto__:null,xml:C,xmlns:R},S={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},A=61,k=63,T=function(Y){return Y===34||Y===39},I=[34,39],E=[].concat(I,[91,62]),O=[].concat(I,[60,93]),j=[A,k].concat(l(h)),L=[].concat(l(h),[62,38,60]);function N(Y,ee,ne){switch(ee){case"xml":ne!==C&&Y.fail("xml prefix must be bound to ".concat(C,"."));break;case"xmlns":ne!==R&&Y.fail("xmlns prefix must be bound to ".concat(R,"."))}switch(ne){case R:Y.fail(ee===""?"the default namespace may not be set to ".concat(ne,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(R,"."));break;case C:switch(ee){case"xml":break;case"":Y.fail("the default namespace may not be set to ".concat(ne,"."));break;default:Y.fail("may not assign the xml namespace to another prefix.")}}}var D=function(Y){return _.test(Y)},U=function(Y){return y.test(Y)};t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var G={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},X=function(){function Y(M){(function(q,J){if(!(q instanceof J))throw new TypeError("Cannot call a class as a function")})(this,Y),this.opt=M!=null?M:{},this.fragmentOpt=!!this.opt.fragment;var B=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,B){this.nameStartCheck=w,this.nameCheck=x,this.isName=D,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},P);var z=this.opt.additionalNamespaces;z!=null&&(function(q,J){for(var Q=0,K=Object.keys(J);Q<K.length;Q++){var ie=K[Q];N(q,ie,J[ie])}}(this,z),Object.assign(this.ns,z))}else this.nameStartCheck=s,this.nameCheck=d,this.isName=U,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}var ee,ne,te;return ee=Y,(ne=[{key:"_init",value:function(){var M;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void
`),B=this.i)}}},{key:"captureToChar",value:function(M){for(var B=this.i,z=this.chunk;;){var q=this.getCode();switch(q){case-2:this.text+="".concat(z.slice(B,this.prevI),`
`),B=this.i,q=10;break;case-1:return this.text+=z.slice(B),!1}if(q===M)return this.text+=z.slice(B,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var M=this.chunk,B=this.i;;){var z=this.getCode();if(z===-1)return this.name+=M.slice(B),-1;if(!d(z))return this.name+=M.slice(B,this.prevI),z===-2?10:z}}},{key:"skipSpaces",value:function(){for(;;){var M=this.getCodeNorm();if(M===-1||!o(M))return M}}},{key:"setXMLVersion",value:function(M){this.currentXMLVersion=M,M==="1.0"?(this.isChar=a,this.getCode=this.getCode10):(this.isChar=b,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}},{key:"sBeginWhitespace",value:function(){var M=this.i,B=this.skipSpaces();switch(this.prevI!==M&&(this.xmlDeclPossible=!1),B){case 60:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var M,B=this.captureTo(E);switch(B){case 62:(M=this.doctypeHandler)===null||M===void 0||M.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(B),B===91?this.state=4:T(B)&&(this.state=3,this.q=B)}}},{key:"sDoctypeQuote",value:function(){var M=this.q;this.captureToChar(M)&&(this.text+=String.fromCodePoint(M),this.q=null,this.state=2)}},{key:"sDTD",value:function(){var M=this.captureTo(O);M!==-1&&(this.text+=String.fromCodePoint(M),M===93?this.state=2:M===60?this.state=6:T(M)&&(this.state=5,this.q=M))}},{key:"sDTDQuoted",value:function(){var M=this.q;this.captureToChar(M)&&(this.text+=String.fromCodePoint(M),this.state=4,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var M=this.getCodeNorm();switch(this.text+=String.fromCodePoint(M),M){case 33:this.state=7,this.openWakaBang="";break;case k:this.state=11;break;default:this.state=4}}},{key:"sDTDOpenWakaBang",value:function(){var M=String.fromCodePoint(this.getCodeNorm()),B=this.openWakaBang+=M;this.text+=M,B!=="-"&&(this.state=B==="--"?8:4,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(45)&&(this.text+="-",this.state=9)}},{key:"sDTDCommentEnding",value:function(){var M=this.getCodeNorm();this.text+=String.fromCodePoint(M),this.state=M===45?10:8}},{key:"sDTDCommentEnded",value:function(){var M=this.getCodeNorm();this.text+=String.fromCodePoint(M),M===62?this.state=4:(this.fail("malformed comment."),this.state=8)}},{key:"sDTDPI",value:function(){this.captureToChar(k)&&(this.text+="?",this.state=12)}},{key:"sDTDPIEnding",value:function(){var M=this.getCodeNorm();this.text+=String.fromCodePoint(M),M===62&&(this.state=4)}},{key:"sText",value:function(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var M=this.i,B=this.chunk;e:for(;;)switch(this.getCode()){case-2:this.entity+="".concat(B.slice(M,this.prevI),`
`),M=this.i;break;case 59:var z=this.entityReturnState,q=this.entity+B.slice(M,this.prevI);this.state=z;var J=void 0;q===""?(this.fail("empty entity name."),J="&;"):(J=this.parseEntity(q),this.entity=""),z===13&&this.textHandler===void 0||(this.text+=J);break e;case-1:this.entity+=B.slice(M);break e}}},{key:"sOpenWaka",value:function(){var M=this.getCode();if(s(M))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(M){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case k:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(45)&&(this.state=18)}},{key:"sCommentEnding",value:function(){var M,B=this.getCodeNorm();B===45?(this.state=19,(M=this.commentHandler)===null||M===void 0||M.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(B)),this.state=17)}},{key:"sCommentEnded",value:function(){var M=this.getCodeNorm();M!==62?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(M)),this.state=17):this.state=13}},{key:"sCData",value:function(){this.captureToChar(93)&&(this.state=21)}},{key:"sCDataEnding",value:function(){var M=this.getCodeNorm();M===93?this.state=22:(this.text+="]".concat(String.fromCodePoint(M)),this.state=20)}},{key:"sCDataEnding2",value:function(){var M,B=this.getCodeNorm();switch(B){case 62:(M=this.cdataHandler)===null||M===void 0||M.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(B)),this.state=20}}},{key:"sPIFirstChar",value:function(){var M=this.getCodeNorm();this.nameStartCheck(M)?(this.piTarget+=String.fromCodePoint(M),this.state=24):M===k||o(M)?(this.fail("processing instruction without a target."),this.state=M===k?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(M),this.state=24)}},{key:"sPIRest",value:function(){for(var M=this.chunk,B=this.i;;){var z=this.getCodeNorm();if(z===-1)return void(this.piTarget+=M.slice(B));if(!this.nameCheck(z)){this.piTarget+=M.slice(B,this.prevI);var q=z===k;q||o(z)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=q?33:27):this.state=q?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(z));break}}}},{key:"sPIBody",value:function(){if(this.text.length===0){var M=this.getCodeNorm();M===k?this.state=26:o(M)||(this.text=String.fromCodePoint(M))}else this.captureToChar(k)&&(this.state=26)}},{key:"sPIEnding",value:function(){var M,B=this.getCodeNorm();if(B===62){var z=this.piTarget;z.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(M=this.piHandler)===null||M===void 0||M.call(this,{target:z,body:this.text}),this.piTarget=this.text="",this.state=13}else B===k?this.text+="?":(this.text+="?".concat(String.fromCodePoint(B)),this.state=25);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var M=this.skipSpaces();M!==k?M!==-1&&(this.state=28,this.name=String.fromCodePoint(M)):this.state=33}},{key:"sXMLDeclName",value:function(){var M=this.captureTo(j);if(M===k)return this.state=33,this.name+=this.text,this.text="",voi
`)),M=this.i,B=0;break;case-1:q!==void 0&&(this.text+=z.slice(M));break e;default:B=0}this.forbiddenState=B}},{key:"handleTextOutsideRoot",value:function(){var M=this.i,B=this.chunk,z=this.textHandler,q=!1;e:for(;;){var J=this.getCode();switch(J){case 60:if(this.state=15,z!==void 0){var Q=this.text,K=B.slice(M,this.prevI);Q.length!==0?(z(Q+K),this.text=""):K.length!==0&&z(K)}break e;case 38:this.state=14,this.entityReturnState=13,z!==void 0&&(this.text+=B.slice(M,this.prevI)),q=!0;break e;case-2:z!==void 0&&(this.text+="".concat(B.slice(M,this.prevI),`
`)),M=this.i;break;case-1:z!==void 0&&(this.text+=B.slice(M));break e;default:o(J)||(q=!0)}}q&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(M,B){var z,q=this.qname(M),J=q.prefix,Q=q.local,K={name:M,prefix:J,local:Q,value:B};if(this.attribList.push(K),(z=this.attributeHandler)===null||z===void 0||z.call(this,K),J==="xmlns"){var ie=B.trim();this.currentXMLVersion==="1.0"&&ie===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[Q]=ie,N(this,Q,ie)}else if(M==="xmlns"){var Z=B.trim();this.topNS[""]=Z,N(this,"",Z)}}},{key:"pushAttribPlain",value:function(M,B){var z,q={name:M,value:B};this.attribList.push(q),(z=this.attributeHandler)===null||z===void 0||z.call(this,q)}},{key:"end",value:function(){var M,B;this.sawRoot||this.fail("document must contain a root element.");for(var z=this.tags;z.length>0;){var q=z.pop();this.fail("unclosed tag: ".concat(q.name))}this.state!==0&&this.state!==13&&this.fail("unexpected end.");var J=this.text;return J.length!==0&&((M=this.textHandler)===null||M===void 0||M.call(this,J),this.text=""),this._closed=!0,(B=this.endHandler)===null||B===void 0||B.call(this),this._init(),this}},{key:"resolve",value:function(M){var B,z,q=this.topNS[M];if(q!==void 0)return q;for(var J=this.tags,Q=J.length-1;Q>=0;Q--)if((q=J[Q].ns[M])!==void 0)return q;return(q=this.ns[M])!==void 0?q:(z=(B=this.opt).resolvePrefix)===null||z===void 0?void 0:z.call(B,M)}},{key:"qname",value:function(M){var B=M.indexOf(":");if(B===-1)return{prefix:"",local:M};var z=M.slice(B+1),q=M.slice(0,B);return(q===""||z===""||z.includes(":"))&&this.fail("malformed name: ".concat(M,".")),{prefix:q,local:z}}},{key:"processAttribsNS",value:function(){var M,B=this.attribList,z=this.tag,q=this.qname(z.name),J=q.prefix,Q=q.local;z.prefix=J,z.local=Q;var K=z.uri=(M=this.resolve(J))!==null&&M!==void 0?M:"";if(J!==""&&(J==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),K===""&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(J),".")),z.uri=J)),B.length!==0){var ie,Z=z.attributes,re=new Set,ae=n(B);try{for(ae.s();!(ie=ae.n()).done;){var ce=ie.value,ke=ce.name,we=ce.prefix,Se=ce.local,Ge=void 0,xe=void 0;we===""?(Ge=ke==="xmlns"?R:"",xe=ke):((Ge=this.resolve(we))===void 0&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(we),".")),Ge=we),xe="{".concat(Ge,"}").concat(Se)),re.has(xe)&&this.fail("duplicate attribute: ".concat(xe,".")),re.add(xe),ce.uri=Ge,Z[ke]=ce}}catch(be){ae.e(be)}finally{ae.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var M,B=this.attribList,z=this.tag.attributes,q=n(B);try{for(q.s();!(M=q.n()).done;){var J=M.value,Q=J.name,K=J.value;z[Q]!==void 0&&this.fail("duplicate attribute: ".concat(Q,".")),z[Q]=K}}catch(ie){q.e(ie)}finally{q.f()}this.attribList=[]}},{key:"openTag",value:function(){var M;this.processAttribs();var B=this.tags,z=this.tag;z.isSelfClosing=!1,(M=this.openTagHandler)===null||M===void 0||M.call(this,z),B.push(z),this.state=13,this.name=""}},{key:"openSelfClosingTag",value:function(){var M,B,z;this.processAttribs();var q=this.tags,J=this.tag;J.isSelfClosing=!0,(M=this.openTagHandler)===null||M===void 0||M.call(this,J),(B=this.closeTagHandler)===null||B===void 0||B.call(this,J),(this.tag=(z=q[q.length-1])!==null&&z!==void 0?z:null)===null&&(this.closedRoot=!0),this.state=13,this.name=""}},{key:"closeTag",value:function(){var M=this.tags,B=this.name;if(this.state=13,this.name="",B==="")return this.fail("weird empty close tag."),void(this.text+="</>");for(var z=this.closeTagHandler,q=M.length;q-- >0;){var J=this.tag=M.pop();if(this.topNS=J.ns,z==null||z(J),J.name===B)break;this.fail("unexpected close tag.")}q===0?this.closedRoot=!0:q<0&&(this.fail("unmatched closing tag: ".concat(B,".")),this.text+="</".concat(B,">"))}},{key:"parseEntity",value:function(M){if(M[0]!=="#"){var B=this.ENTITIES[M];return B!==vo
`)>=0,q+J.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?z[0]+(B===""?"":B+`
`)+" "+M.join(`,
`)+" "+z[1]:z[0]+B+" "+M.join(", ")+" "+z[1]}(Y,ee,te)):te[0]+ee+te[1]}function a(O){return"["+Error.prototype.toString.call(O)+"]"}function s(O,j,L,N,D,U){var G,X,Y;if((Y=Object.getOwnPropertyDescriptor(j,D)||{value:j[D]}).get?X=Y.set?O.stylize("[Getter/Setter]","special"):O.stylize("[Getter]","special"):Y.set&&(X=O.stylize("[Setter]","special")),E(N,D)||(G="["+D+"]"),X||(O.seen.indexOf(Y.value)<0?(X=y(L)?o(O,Y.value,null):o(O,Y.value,L-1)).indexOf(`
`)>-1&&(X=U?X.split(`
`).map(function(ee){return" "+ee}).join(`
`).substr(2):`
`+X.split(`
`).map(function(ee){return" "+ee}).join(`
`)):X=O.stylize("[Circular]","special")),x(G)){if(U&&D.match(/^\d+$/))return X;(G=JSON.stringify(""+D)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.substr(1,G.length-2),G=O.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=O.stylize(G,"string"))}return G+": "+X}function d(O){return Array.isArray(O)}function h(O){return typeof O=="boolean"}function y(O){return O===null}function b(O){return typeof O=="number"}function w(O){return typeof O=="string"}function x(O){return O===void 0}function _(O){return C(O)&&A(O)==="[object RegExp]"}function C(O){return u(O)==="object"&&O!==null}function R(O){return C(O)&&A(O)==="[object Date]"}function P(O){return C(O)&&(A(O)==="[object Error]"||O instanceof Error)}function S(O){return typeof O=="function"}function A(O){return Object.prototype.toString.call(O)}function k(O){return O<10?"0"+O.toString(10):O.toString(10)}t.debuglog=function(O){if(x(m)&&(m=n.env.NODE_DEBUG||""),O=O.toUpperCase(),!p[O])if(new RegExp("\\b"+O+"\\b","i").test(m)){var j=n.pid;p[O]=function(){var L=t.format.apply(t,arguments);console.error("%s %d: %s",O,j,L)}}else p[O]=function(){};return p[O]},t.inspect=g,g.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},g.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=h,t.isNull=y,t.isNullOrUndefined=function(O){return O==null},t.isNumber=b,t.isString=w,t.isSymbol=function(O){return u(O)==="symbol"},t.isUndefined=x,t.isRegExp=_,t.isObject=C,t.isDate=R,t.isError=P,t.isFunction=S,t.isPrimitive=function(O){return O===null||typeof O=="boolean"||typeof O=="number"||typeof O=="string"||u(O)==="symbol"||O===void 0},t.isBuffer=e("./support/isBuffer");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var O=new Date,j=[k(O.getHours()),k(O.getMinutes()),k(O.getSeconds())].join(":");return[O.getDate(),T[O.getMonth()],j].join(" ")}function E(O,j){return Object.prototype.hasOwnProperty.call(O,j)}t.log=function(){console.log("%s - %s",I(),t.format.apply(t,arguments))},t.inherits=e("inherits"),t._extend=function(O,j){if(!j||!C(j))return O;for(var L=Object.keys(j),N=L.length;N--;)O[L[N]]=j[L[N]];return O}}).call(this,e("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":524,_process:467,inherits:523}],526:[function(e,r,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return c.default}});var n=o(e("./v1.js")),i=o(e("./v3.js")),u=o(e("./v4.js")),l=o(e("./v5.js")),m=o(e("./nil.js")),p=o(e("./version.js")),g=o(e("./validate.js")),v=o(e("./stringify.js")),c=o(e("./parse.js"));function o(a){return a&&a.__esModule?a:{default:a}}},{"./nil.js":528,"./parse.js":529,"./stringify.js":533,"./v1.js":534,"./v3.js":535,"./v4.js":537,"./v5.js":538,"./validate.js":539,"./version.js":540}],527:[function(e,r,t){"use strict";function n(c){return 14+(c+64>>>9<<4)+1}function i(c,o){var a=(65535&c)+(65535&o);return(c>>16)+(o>>16)+(a>>16)<<16|65535&a}function u(c,o,a,s,d,h){return i((y=i(i(o,c),i(s,h)))<<(b=d)|y>>>32-b,a);var y,b}function l(c,o,a,s,d,h,y){return u(o&a|~o&s,c,o,d,h,y)}function m(c,o
\r -\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}`,t.S=` \r
`,t.NAME_START_CHAR=":A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function n(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},t.isS=function(i){return i===32||i===10||i===13||i===9},t.isNameStartChar=n,t.isNameChar=function(i){return n(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256}},{}],542:[function(e,r,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="-\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}",t.RESTRICTED_CHAR="-\b\v\f-\x7F-\x84\x86-\x9F",t.S=` \r
`,t.NAME_START_CHAR=":A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.RESTRICTED_CHAR_RE=new RegExp("^["+t.RESTRICTED_CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");function n(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}t.S_LIST=[32,10,13,9],t.isChar=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},t.isRestrictedChar=function(i){return i>=1&&i<=8||i===11||i===12||i>=14&&i<=31||i>=127&&i<=132||i>=134&&i<=159},t.isCharAndNotRestricted=function(i){return i===9||i===10||i===13||i>31&&i<127||i===133||i>159&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},t.isS=function(i){return i===32||i===10||i===13||i===9},t.isNameStartChar=n,t.isNameChar=function(i){return n(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256}},{}],543:[function(e,r,t){"use strict";function n(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}Object.defineProperty(t,"__esModule",{value:!0}),t.NC_NAME_START_CHAR="A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",t.NC_NAME_CHAR="-"+t.NC_NAME_START_CHAR+".0-9\xB7\u0300-\u036F\u203F-\u2040",t.NC_NAME_START_CHAR_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]$","u"),t.NC_NAME_CHAR_RE=new RegExp("^["+t.NC_NAME_CHAR+"]$","u"),t.NC_NAME_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]["+t.NC_NAME_CHAR+"]*$","u"),t.isNCNameStartChar=n,t.isNCNameChar=function(i){return n(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256}},{}]},{},[15])(15)})});var kd=Gf((ls,$c)=>{(function(e,r){typeof ls=="object"&&typeof $c=="object"?$c.exports=r():typeof define=="function"&&define.amd?define([],r):typeof ls=="object"?ls.x_data_spreadsheet=r():e.x_data_spreadsheet=r()})(window,function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(n,i,u){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:u})},t.r=function(n){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){if(1&i&&(n=t(n)),8&i||4&i&&typeof n=="object"&&n&&n.__esModule)return n;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:n}),2&i&&typeof n!="string")for(var l in n)t.d(u,l,function(m){return n[m]}.bind(null,l));return u},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},t.p="",t(t.s=22)}([function(e,r,t){"use strict";function n(m){return function(p){if(Array.isArray(p))return p}(m)||function(p){if(Symbol.iterator in Object(p)||Object.prototype.toString.call(p)==="[object Arguments]")return Array.from(p)}(m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(m,p){for(var g=0;g<p.length;g++){var v=p[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(m,v.ke
<g><path fill-rule="evenodd" d="M11.5656391,4.43436088 L9,7 L16,7 L16,0 L13.0418424,2.95815758 C11.5936787,1.73635959 9.72260775,1 7.67955083,1 C4.22126258,1 1.25575599,3.10984908 0,6 L2,7 C2.93658775,4.60974406 5.12943697,3.08011229 7.67955083,3 C9.14881247,3.0528747 10.4994783,3.57862053 11.5656391,4.43436088 Z" transform="matrix(-1 0 0 1 17 5)"/>
</g>
</svg>`,redo:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M11.5656391,4.43436088 L9,7 L16,7 L16,0 L13.0418424,2.95815758 C11.5936787,1.73635959 9.72260775,1 7.67955083,1 C4.22126258,1 1.25575599,3.10984908 0,6 L2,7 C2.93658775,4.60974406 5.12943697,3.08011229 7.67955083,3 C9.14881247,3.0528747 10.4994783,3.57862053 11.5656391,4.43436088 Z"
transform="translate(1 5)" />
</g>
</svg>`,print:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M13,14 L3,14 L3,11 L0,11 L0,6.00591905 C0,4.89808055 0.894513756,4 1.99406028,4 L14.0059397,4 C15.1072288,4 16,4.88655484 16,6.00591905 L16,11 L13,11 L13,14 Z M5,9 L11,9 L11,12 L5,12 L5,9 Z M3,0 L13,0 L13,3 L3,3 L3,0 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z"
transform="translate(1 2)" />
</g>
</svg>
`,paintformat:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M9,0 L1,0 C0.45,0 0,0.45 0,1 L0,4 C0,4.55 0.45,5 1,5 L9,5 C9.55,5 10,4.55 10,4 L10,3 L11,3 L11,6 L4,6 L4,14 L6,14 L6,8 L13,8 L13,2 L10,2 L10,1 C10,0.45 9.55,0 9,0 Z"
transform="translate(3 2)" />
</g>
</svg>`,clearformat:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0.27,1.55 L5.43,6.7 L3,12 L5.5,12 L7.14,8.42 L11.73,13 L13,11.73 L1.55,0.27 L0.27,1.55 L0.27,1.55 Z M3.82,0 L5.82,2 L7.58,2 L7.03,3.21 L8.74,4.92 L10.08,2 L14,2 L14,0 L3.82,0 L3.82,0 Z"
transform="translate(2 3)" />
</g>
</svg>`,"font-bold":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M9,3.5 C9,1.57 7.43,0 5.5,0 L1.77635684e-15,0 L1.77635684e-15,12 L6.25,12 C8.04,12 9.5,10.54 9.5,8.75 C9.5,7.45 8.73,6.34 7.63,5.82 C8.46,5.24 9,4.38 9,3.5 Z M5,2 C5.82999992,2 6.5,2.67 6.5,3.5 C6.5,4.33 5.82999992,5 5,5 L3,5 L3,2 L5,2 Z M3,10 L3,7 L5.5,7 C6.32999992,7 7,7.67 7,8.5 C7,9.33 6.32999992,10 5.5,10 L3,10 Z"
transform="translate(4 3)" />
</g>
</svg>`,"font-italic":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd"
points="4 0 4 2 6.58 2 2.92 10 0 10 0 12 8 12 8 10 5.42 10 9.08 2 12 2 12 0"
transform="translate(3 3)" />
</g>
</svg>
`,underline:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path
d="M6,12 C8.76,12 11,9.76 11,7 L11,0 L9,0 L9,7 C9,8.75029916 7.49912807,10 6,10 C4.50087193,10 3,8.75837486 3,7 L3,0 L1,0 L1,7 C1,9.76 3.24,12 6,12 Z M0,13 L0,15 L12,15 L12,13 L0,13 Z"
transform="translate(3 3)" />
</g>
</svg>`,strike:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M2.8875,3.06 C2.8875,2.6025 2.985,2.18625 3.18375,1.8075 C3.3825,1.42875 3.66,1.10625 4.02,0.84 C4.38,0.57375 4.80375,0.3675 5.29875,0.22125 C5.79375,0.075 6.33375,0 6.92625,0 C7.53375,0 8.085,0.0825 8.58,0.25125 C9.075,0.42 9.49875,0.6525 9.85125,0.95625 C10.20375,1.25625 10.47375,1.6125 10.665,2.02875 C10.85625,2.44125 10.95,2.895 10.95,3.38625 L8.6925,3.38625 C8.6925,3.1575 8.655,2.94375 8.58375,2.74875 C8.5125,2.55 8.4,2.38125 8.25,2.2425 C8.1,2.10375 7.9125,1.99125 7.6875,1.91625 C7.4625,1.8375 7.19625,1.8 6.88875,1.8 C6.5925,1.8 6.3375,1.83375 6.11625,1.8975 C5.89875,1.96125 5.71875,2.05125 5.57625,2.1675 C5.43375,2.28375 5.325,2.41875 5.25375,2.5725 C5.1825,2.72625 5.145,2.895 5.145,3.0675 C5.145,3.4275 5.32875,3.73125 5.69625,3.975 C5.71780203,3.98908066 5.73942012,4.00311728 5.76118357,4.01733315 C6.02342923,4.18863185 6.5,4.5 7,5 L4,5 C4,5 3.21375,4.37625 3.17625,4.30875 C2.985,3.9525 2.8875,3.53625 2.8875,3.06 Z M14,6 L0,6 L0,8 L7.21875,8 C7.35375,8.0525 7.51875,8.105 7.63125,8.15375 C7.90875,8.2775 8.12625,8.40875 8.28375,8.53625 C8.44125,8.6675 8.54625,8.81 8.6025,8.96 C8.65875,9.11375 8.685,9.28625 8.685,9.47375 C8.685,9.65 8.65125,9.815 8.58375,9.965 C8.51625,10.11875 8.41125,10.25 8.2725,10.35875 C8.13375,10.4675 7.95375,10.55375 7.74,10.6175 C7.5225,10.68125 7.27125,10.71125 6.97875,10.71125 C6.6525,10.71125 6.35625,10.6775 6.09,10.61375 C5.82375,10.55 5.59875,10.445 5.41125,10.3025 C5.22375,10.16 5.0775,9.9725 4.9725,9.74375 C4.8675,9.515 4.78125,9.17 4.78125,9 L2.55,9 C2.55,9.2525 2.61,9.6875 2.72625,10.025 C2.8425,10.3625 3.0075,10.66625 3.21375,10.9325 C3.42,11.19875 3.6675,11.4275 3.94875,11.6225 C4.23,11.8175 4.53375,11.9825 4.86375,12.11 C5.19375,12.24125 5.535,12.33875 5.89875,12.39875 C6.25875,12.4625 6.6225,12.4925 6.9825,12.4925 C7.5825,12.4925 8.13,12.425 8.6175,12.28625 C9.105,12.1475 9.525,11.94875 9.87,11.69375 C10.215,11.435 10.48125,11.12 10.6725,10.74125 C10.86375,10.3625 10.95375,9.935 10.95375,9.455 C10.95375,9.005 10.875,8.6 10.72125,8.24375 C10.68375,8.1575 10.6425,8.075 10.59375,7.9925 L14,8 L14,6 Z"
transform="translate(2 3)" />
</g>
</svg>
`,color:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M7,0 L5,0 L0.5,12 L2.5,12 L3.62,9 L8.37,9 L9.49,12 L11.49,12 L7,0 L7,0 Z M4.38,7 L6,2.67 L7.62,7 L4.38,7 L4.38,7 Z"
transform="translate(3 1)" />
</g>
</svg>`,bgcolor:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g fill-rule="evenodd">
<path
d="M14.5,8.87 C14.5,8.87 13,10.49 13,11.49 C13,12.32 13.67,12.99 14.5,12.99 C15.33,12.99 16,12.32 16,11.49 C16,10.5 14.5,8.87 14.5,8.87 L14.5,8.87 Z M12.71,6.79 L5.91,0 L4.85,1.06 L6.44,2.65 L2.29,6.79 C1.9,7.18 1.9,7.81 2.29,8.2 L6.79,12.7 C6.99,12.9 7.24,13 7.5,13 C7.76,13 8.01,12.9 8.21,12.71 L12.71,8.21 C13.1,7.82 13.1,7.18 12.71,6.79 L12.71,6.79 Z M4.21,7 L7.5,3.71 L10.79,7 L4.21,7 L4.21,7 Z" />
</g>
</svg>
`,merge:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M3,6 L1,6 L1,2 L8,2 L8,4 L3,4 L3,6 Z M10,4 L10,2 L17,2 L17,6 L15,6 L15,4 L10,4 Z M10,14 L15,14 L15,12 L17,12 L17,16 L10,16 L10,14 Z M1,12 L3,12 L3,14 L8,14 L8,16 L1,16 L1,12 Z M1,8 L5,8 L5,6 L8,9 L5,12 L5,10 L1,10 L1,8 Z M10,9 L13,6 L13,8 L17,8 L17,10 L13,10 L13,12 L10,9 Z" />
</g>
</svg>`,"align-left":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0,14 L10,14 L10,12 L0,12 L0,14 Z M10,4 L0,4 L0,6 L10,6 L10,4 Z M0,0 L0,2 L14,2 L14,0 L0,0 Z M0,10 L14,10 L14,8 L0,8 L0,10 Z"
transform="translate(2)" />
</g>
</svg>`,"align-center":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M2,12 L2,14 L12,14 L12,12 L2,12 Z M2,4 L2,6 L12,6 L12,4 L2,4 Z M0,10 L14,10 L14,8 L0,8 L0,10 Z M0,0 L0,2 L14,2 L14,0 L0,0 Z"
transform="translate(2 2)" />
</g>
</svg>`,"align-right":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M4,14 L14,14 L14,12 L4,12 L4,14 Z M0,10 L14,10 L14,8 L0,8 L0,10 Z M0,0 L0,2 L14,2 L14,0 L0,0 Z M4,6 L14,6 L14,4 L4,4 L4,6 Z"
transform="translate(2 2)" />
</g>
</svg>`,"align-top":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0,0 L0,2 L12,2 L12,0 L0,0 L0,0 Z M2.5,7 L5,7 L5,14 L7,14 L7,7 L9.5,7 L6,3.5 L2.5,7 L2.5,7 Z"
transform="translate(3 2)" />
</g>
</svg>`,"align-middle":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="18" version="1.1">
<g>
<path fill-rule="evenodd"
d="M9.5,3 L7,3 L7,0 L5,0 L5,3 L2.5,3 L6,6.5 L9.5,3 L9.5,3 Z M0,8 L0,10 L12,10 L12,8 L0,8 L0,8 Z M2.5,15 L5,15 L5,18 L7,18 L7,15 L9.5,15 L6,11.5 L2.5,15 L2.5,15 Z"
transform="translate(3)" />
</g>
</svg>
`,"align-bottom":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M9.5,7 L7,7 L7,0 L5,0 L5,7 L2.5,7 L6,10.5 L9.5,7 L9.5,7 Z M0,12 L0,14 L12,14 L12,12 L0,12 L0,12 Z"
transform="translate(3 2)" />
</g>
</svg>
`,textwrap:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M14,0 L0,0 L0,2 L14,2 L14,0 Z M0,12 L4,12 L4,10 L0,10 L0,12 Z M11.5,5 L0,5 L0,7 L11.75,7 C12.58,7 13.25,7.67 13.25,8.5 C13.25,9.33 12.58,10 11.75,10 L9,10 L9,8 L6,11 L9,14 L9,12 L11.5,12 C13.43,12 15,10.43 15,8.5 C15,6.57 13.43,5 11.5,5 Z"
transform="translate(2 3)" />
</g>
</svg>`,autofilter:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0,0 L0,1 L6,7 L6,12 L8,11 L8,7 L14,1 L14,0 L0,0 Z M4,3 L10,3 L7,6 L4,3 Z"
transform="translate(2 3)" />
</g>
</svg>
`,formula:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd"
points="10 0 0 0 0 1.8 5.5 7 0 12.2 0 14 10 14 10 12 3.1 12 8 7 3.1 2 10 2"
transform="translate(4 2)" />
</g>
</svg>`,"arrow-down":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd" points="0 0 4 4 8 0" transform="translate(0 7)" />
</g>
</svg>`,"arrow-right":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd" points="-2 2 2 6 6 2" transform="rotate(-90 8 3)" />
</g>
</svg>
`,link:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M1.9,4 C1.9,2.84 2.84,1.9 4,1.9 L8,1.9 L8,0 L4,0 C1.79,0 0,1.79 0,4 C0,6.21 1.79,8 4,8 L8,8 L8,6.1 L4,6.1 C2.84,6.1 1.9,5.16 1.9,4 L1.9,4 Z M14,0 L10,0 L10,1.9 L14,1.9 C15.16,1.9 16.1,2.84 16.1,4 C16.1,5.16 15.16,6.1 14,6.1 L10,6.1 L10,8 L14,8 C16.21,8 18,6.21 18,4 C18,1.79 16.21,0 14,0 L14,0 Z M6,5 L12,5 L12,3 L6,3 L6,5 L6,5 Z"
transform="translate(-1 5)" />
</g>
</svg>`,graph:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M15,0 C15.55,0 16,0.45 16,1 L16,15 C16,15.55 15.55,16 15,16 L1,16 C0.45,16 0,15.55 0,15 L0,1 C0,0.45 0.45,0 1,0 L15,0 Z M2,2 L2,14 L14,14 L14,2 L2,2 Z M6,12 L4,12 L4,7 L6,7 L6,12 L6,12 Z M9,12 L7,12 L7,4 L9,4 L9,12 L9,12 Z M12,12 L10,12 L10,8 L12,8 L12,12 L12,12 Z"
transform="translate(1 1)" />
</g>
</svg>
`,freeze:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g fill="none" fill-rule="evenodd">
<path stroke="#000000" d="M1.5 3.5H16.5V15.5H1.5z" />
<path fill="#000000" d="M6 8H7V15H6z" />
<path fill="#D8D8D8" d="M2 4H16V7H2z" />
<path fill="#000000" d="M2 7H16V8H2zM2 11H16V12H2z" />
</g>
</svg>`,ellipsis:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M2,0.5 C1.17,0.5 0.5,1.17 0.5,2 C0.5,2.83 1.17,3.5 2,3.5 C2.83,3.5 3.5,2.83 3.5,2 C3.5,1.17 2.83,0.5 2,0.5 L2,0.5 Z M12,0.5 C11.17,0.5 10.5,1.17 10.5,2 C10.5,2.83 11.17,3.5 12,3.5 C12.83,3.5 13.5,2.83 13.5,2 C13.5,1.17 12.83,0.5 12,0.5 L12,0.5 Z M7,0.5 C6.17,0.5 5.5,1.17 5.5,2 C5.5,2.83 6.17,3.5 7,3.5 C7.83,3.5 8.5,2.83 8.5,2 C8.5,1.17 7.83,0.5 7,0.5 L7,0.5 Z"
transform="translate(2 7)" />
</g>
</svg>`,add:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M6,4 L6,0 L4,0 L4,4 L0,4 L0,6 L4,6 L4,10 L6,10 L6,6 L10,6 L10,4 L6,4 Z"
transform="translate(4 4)" />
</g>
</svg>`,"border-all":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0,0 L0,14 L14,14 L14,0 L0,0 L0,0 Z M6,12 L2,12 L2,8 L6,8 L6,12 L6,12 Z M6,6 L2,6 L2,2 L6,2 L6,6 L6,6 Z M12,12 L8,12 L8,8 L12,8 L12,12 L12,12 Z M12,6 L8,6 L8,2 L12,2 L12,6 L12,6 Z"
transform="translate(2 2)" />
</g>
</svg>`,"border-inside":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M2,3 L0,3 L0,5 L2,5 L2,3 L2,3 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M11,0 L9,0 L9,2 L11,2 L11,0 L11,0 Z M2,0 L0,0 L0,2 L2,2 L2,0 L2,0 Z M5,0 L3,0 L3,2 L5,2 L5,0 L5,0 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z"
opacity=".54" />
<polygon points="8 0 6 0 6 6 0 6 0 8 6 8 6 14 8 14 8 8 14 8 14 6 8 6" />
</g>
</svg>`,"border-horizontal":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M6,14 L8,14 L8,12 L6,12 L6,14 L6,14 Z M3,2 L5,2 L5,0 L3,0 L3,2 L3,2 Z M6,11 L8,11 L8,9 L6,9 L6,11 L6,11 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M0,5 L2,5 L2,3 L0,3 L0,5 L0,5 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M0,2 L2,2 L2,0 L0,0 L0,2 L0,2 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M6,2 L8,2 L8,0 L6,0 L6,2 L6,2 Z M9,2 L11,2 L11,0 L9,0 L9,2 L9,2 Z M6,5 L8,5 L8,3 L6,3 L6,5 L6,5 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z"
opacity=".54" />
<polygon points="0 8 14 8 14 6 0 6" />
</g>
</svg>`,"border-vertical":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M0,5 L2,5 L2,3 L0,3 L0,5 L0,5 Z M0,2 L2,2 L2,0 L0,0 L0,2 L0,2 Z M3,8 L5,8 L5,6 L3,6 L3,8 L3,8 Z M3,2 L5,2 L5,0 L3,0 L3,2 L3,2 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M0,8 L2,8 L2,6 L0,6 L0,8 L0,8 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M12,8 L14,8 L14,6 L12,6 L12,8 L12,8 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M9,8 L11,8 L11,6 L9,6 L9,8 L9,8 Z M9,2 L11,2 L11,0 L9,0 L9,2 L9,2 Z"
opacity=".54" />
<polygon points="6 14 8 14 8 0 6 0" />
</g>
</svg>`,"border-outside":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M8,3 L6,3 L6,5 L8,5 L8,3 L8,3 Z M11,6 L9,6 L9,8 L11,8 L11,6 L11,6 Z M8,6 L6,6 L6,8 L8,8 L8,6 L8,6 Z M8,9 L6,9 L6,11 L8,11 L8,9 L8,9 Z M5,6 L3,6 L3,8 L5,8 L5,6 L5,6 Z"
opacity=".54" />
<path d="M0,0 L14,0 L14,14 L0,14 L0,0 Z M12,12 L12,2 L2,2 L2,12 L12,12 Z" />
</g>
</svg>`,"border-left":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M6,8 L8,8 L8,6 L6,6 L6,8 L6,8 Z M6,5 L8,5 L8,3 L6,3 L6,5 L6,5 Z M6,11 L8,11 L8,9 L6,9 L6,11 L6,11 Z M6,14 L8,14 L8,12 L6,12 L6,14 L6,14 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M3,2 L5,2 L5,0 L3,0 L3,2 L3,2 Z M3,8 L5,8 L5,6 L3,6 L3,8 L3,8 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z M12,8 L14,8 L14,6 L12,6 L12,8 L12,8 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M6,2 L8,2 L8,0 L6,0 L6,2 L6,2 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M9,8 L11,8 L11,6 L9,6 L9,8 L9,8 Z M9,2 L11,2 L11,0 L9,0 L9,2 L9,2 Z"
opacity=".54" />
<polygon points="0 14 2 14 2 0 0 0" />
</g>
</svg>`,"border-top":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M3,8 L5,8 L5,6 L3,6 L3,8 L3,8 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,14 L8,14 L8,12 L6,12 L6,14 L6,14 Z M6,11 L8,11 L8,9 L6,9 L6,11 L6,11 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M6,8 L8,8 L8,6 L6,6 L6,8 L6,8 Z M0,5 L2,5 L2,3 L0,3 L0,5 L0,5 Z M0,8 L2,8 L2,6 L0,6 L0,8 L0,8 Z M12,8 L14,8 L14,6 L12,6 L12,8 L12,8 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M6,5 L8,5 L8,3 L6,3 L6,5 L6,5 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M9,8 L11,8 L11,6 L9,6 L9,8 L9,8 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z"
opacity=".54" />
<polygon points="0 0 0 2 14 2 14 0" />
</g>
</svg>
`,"border-right":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M0,2 L2,2 L2,0 L0,0 L0,2 L0,2 Z M3,2 L5,2 L5,0 L3,0 L3,2 L3,2 Z M3,8 L5,8 L5,6 L3,6 L3,8 L3,8 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M0,5 L2,5 L2,3 L0,3 L0,5 L0,5 Z M0,8 L2,8 L2,6 L0,6 L0,8 L0,8 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M9,8 L11,8 L11,6 L9,6 L9,8 L9,8 Z M6,14 L8,14 L8,12 L6,12 L6,14 L6,14 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M6,2 L8,2 L8,0 L6,0 L6,2 L6,2 Z M9,2 L11,2 L11,0 L9,0 L9,2 L9,2 Z M6,11 L8,11 L8,9 L6,9 L6,11 L6,11 Z M6,5 L8,5 L8,3 L6,3 L6,5 L6,5 Z M6,8 L8,8 L8,6 L6,6 L6,8 L6,8 Z"
opacity=".54" />
<polygon points="12 0 12 14 14 14 14 0" />
</g>
</svg>
`,"border-bottom":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g transform="translate(2 2)">
<path
d="M5,0 L3,0 L3,2 L5,2 L5,0 L5,0 Z M8,6 L6,6 L6,8 L8,8 L8,6 L8,6 Z M8,9 L6,9 L6,11 L8,11 L8,9 L8,9 Z M11,6 L9,6 L9,8 L11,8 L11,6 L11,6 Z M5,6 L3,6 L3,8 L5,8 L5,6 L5,6 Z M11,0 L9,0 L9,2 L11,2 L11,0 L11,0 Z M8,3 L6,3 L6,5 L8,5 L8,3 L8,3 Z M8,0 L6,0 L6,2 L8,2 L8,0 L8,0 Z M2,9 L0,9 L0,11 L2,11 L2,9 L2,9 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M12,8 L14,8 L14,6 L12,6 L12,8 L12,8 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M2,0 L0,0 L0,2 L2,2 L2,0 L2,0 Z M2,3 L0,3 L0,5 L2,5 L2,3 L2,3 Z M2,6 L0,6 L0,8 L2,8 L2,6 L2,6 Z"
opacity=".54" />
<polygon points="0 14 14 14 14 12 0 12" />
</g>
</svg>`,"border-none":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M6,14 L8,14 L8,12 L6,12 L6,14 L6,14 Z M3,8 L5,8 L5,6 L3,6 L3,8 L3,8 Z M3,2 L5,2 L5,0 L3,0 L3,2 L3,2 Z M6,11 L8,11 L8,9 L6,9 L6,11 L6,11 Z M3,14 L5,14 L5,12 L3,12 L3,14 L3,14 Z M0,5 L2,5 L2,3 L0,3 L0,5 L0,5 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M0,2 L2,2 L2,0 L0,0 L0,2 L0,2 Z M0,8 L2,8 L2,6 L0,6 L0,8 L0,8 Z M6,8 L8,8 L8,6 L6,6 L6,8 L6,8 Z M0,11 L2,11 L2,9 L0,9 L0,11 L0,11 Z M12,11 L14,11 L14,9 L12,9 L12,11 L12,11 Z M12,14 L14,14 L14,12 L12,12 L12,14 L12,14 Z M12,8 L14,8 L14,6 L12,6 L12,8 L12,8 Z M12,5 L14,5 L14,3 L12,3 L12,5 L12,5 Z M12,0 L12,2 L14,2 L14,0 L12,0 L12,0 Z M6,2 L8,2 L8,0 L6,0 L6,2 L6,2 Z M9,2 L11,2 L11,0 L9,0 L9,2 L9,2 Z M6,5 L8,5 L8,3 L6,3 L6,5 L6,5 Z M9,14 L11,14 L11,12 L9,12 L9,14 L9,14 Z M9,8 L11,8 L11,6 L9,6 L9,8 L9,8 Z"
transform="translate(2 2)" opacity=".54" />
</g>
</svg>`,"line-color":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M6.5,3.62 L0,10.12 L0,13 L2.88,13 L9.38,6.5 L6.5,3.62 Z M11.85,4.02 C12.05,3.82 12.05,3.51 11.85,3.31 L9.68,1.14 C9.48,0.94 9.17,0.94 8.97,1.14 L7.62,2.5 L10.5,5.38 L11.85,4.02 L11.85,4.02 Z"
transform="translate(4)" />
</g>
</svg>`,"line-type":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<path fill-rule="evenodd"
d="M0,0 L14,0 L14,2 L0,2 L0,0 Z M0,4 L6,4 L6,6 L0,6 L0,4 Z M0,8 L2,8 L2,10 L0,10 L0,8 Z M8,4 L14,4 L14,6 L8,6 L8,4 Z M4,8 L6,8 L6,10 L4,10 L4,8 Z M8,8 L10,8 L10,10 L8,10 L8,8 Z M12,8 L14,8 L14,10 L12,10 L12,8 Z"
transform="translate(2 4)" />
</g>
</svg>`,"chevron-left":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd" points="-2 2 2 6 6 2" transform="rotate(90 3 10)" />
</g>
</svg>`,"chevron-right":`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill="#000000" fill-rule="evenodd" points="-2 2 2 6 6 2" transform="rotate(-90 8 3)" />
</g>
</svg>`,close:`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" version="1.1">
<g>
<polygon fill-rule="evenodd"
points="7.53 1.53 6.47 .47 4 2.94 1.53 .47 .47 1.53 2.94 4 .47 6.47 1.53 7.53 4 5.06 6.47 7.53 7.53 6.47 5.06 4"
transform="translate(5 5)" />
</g>
</svg>
`},c=function(a){return v[a]?v[a]:(console.log("icon ".concat(a," not found")),"")},o=function(a){function s(b){var w;(function(_,C){if(!(_ instanceof C))throw new TypeError("Cannot call a class as a function")})(this,s),w=m(this,p(s).call(this,"div","".concat(i.a,"-icon icon-").concat(b)));var x=c(b);return w.el.innerHTML+=x,w.iconNameEl=w.el.firstChild,w}var d,h,y;return function(b,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(w&&w.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),w&&g(b,w)}(s,n.a),d=s,(h=[{key:"setName",value:function(b){this.className(" icon-".concat(b))}}])&&l(d.prototype,h),y&&l(d,y),s}()},function(e,r,t){"use strict";t.d(r,"b",function(){return u});var n=function l(){for(var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=arguments.length,g=new Array(p>1?p-1:0),v=1;v<p;v++)g[v-1]=arguments[v];return g.forEach(function(c){Object.keys(c).forEach(function(o){var a=c[o];typeof a=="string"||typeof a=="number"||typeof a=="boolean"?m[o]=a:typeof a!="function"&&!Array.isArray(a)&&a instanceof Object?(m[o]=m[o]||{},l(m[o],a)):m[o]=a})}),m};function i(l){for(var m="".concat(l),p=0,g=!1,v=0;v<m.length;v+=1)g===!0&&(p+=1),m.charAt(v)==="."&&(g=!0);return p}function u(l,m,p){if(Number.isNaN(m)||Number.isNaN(p))return m+l+p;var g=i(m),v=i(p),c=Number(m),o=Number(p),a=0;if(l==="-")a=c-o;else if(l==="+")a=c+o;else if(l==="*")a=c*o;else if(l==="/")return i(a=c/o)>5?a.toFixed(2):a;return a.toFixed(Math.max(g,v))}r.a={cloneDeep:function(l){return JSON.parse(JSON.stringify(l))},merge:function(){for(var l=arguments.length,m=new Array(l),p=0;p<l;p++)m[p]=arguments[p];return n.apply(void 0,[{}].concat(m))},equals:function l(m,p){var g=Object.keys(m);if(g.length!==Object.keys(p).length)return!1;for(var v=0;v<g.length;v+=1){var c=g[v],o=m[c],a=p[c];if(a===void 0)return!1;if(typeof o=="string"||typeof o=="number"||typeof o=="boolean"){if(o!==a)return!1}else if(Array.isArray(o)){if(o.length!==a.length)return!1;for(var s=0;s<o.length;s+=1)if(!l(o[s],a[s]))return!1}else if(typeof o!="function"&&!Array.isArray(o)&&o instanceof Object&&!l(o,a))return!1}return!0},arrayEquals:function(l,m){if(l.length!==m.length)return!1;for(var p=0;p<l.length;p+=1)if(l[p]!==m[p])return!1;return!0},sum:function(l){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(v){return v},p=0,g=0;return Object.keys(l).forEach(function(v){p+=m(l[v],v),g+=1}),[p,g]},rangeEach:function(l,m,p){for(var g=l;g<m;g+=1)p(g)},rangeSum:function(l,m,p){for(var g=0,v=l;v<m;v+=1)g+=p(v);return g},rangeReduceIf:function(l,m,p,g,v,c){for(var o=p,a=g,s=l;s<m&&!(o>v);s+=1)o+=a=c(s);return[s,o-a,a]},deleteProperty:function(l,m){var p=l["".concat(m)];return delete l["".concat(m)],p},numberCalc:u}},function(e,r,t){"use strict";t.d(r,"c",function(){return u}),t.d(r,"b",function(){return m}),t.d(r,"d",function(){return p}),t.d(r,"a",function(){return g}),t(17);function n(v,c){return function(o){if(Array.isArray(o))return o}(v)||function(o,a){var s=[],d=!0,h=!1,y=void 0;try{for(var b,w=o[Symbol.iterator]();!(d=(b=w.next()).done)&&(s.push(b.value),!a||s.length!==a);d=!0);}catch(x){h=!0,y=x}finally{try{d||w.return==null||w.return()}finally{if(h)throw y}}return s}(v,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function u(v){for(var c="",o=v;o>=i.length;)o/=i.length,o-=1,c+=i[parseInt(o,10)%i.length];var a=v%i.length;return c+=i[a]}function l(v){for(var c=0,o=0;o!==v.length;++o)c=26*c+v.charCodeAt(o)-64;return c-1}function m(v){for(var c="",o="",a=!1,s=!1,d=0;d<v.length;d+=1)v.charAt(d)==="$"?c.length>0?s=!0:a=!0:v.charAt(d)>="0"&&v.charAt(d)<="9"?o+=v.charAt(d):c+=v.charAt(d);return[l(c),parseInt(o,10)-1,a,s]}function p(v,c,o,a){var s=a?"$":"";return"".concat(o?"$":"").concat(u(v)).concat(s).concat(c+1)}function g(v,c,o){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:functi
`),E=y.innerWidth(),O=[];I.forEach(function(N){var D=_.measureText(N).width;if(x&&D>v(E)){for(var U={w:0,len:0,start:0},G=0;G<N.length;G+=1)U.w>=v(E)&&(O.push(N.substr(U.start,U.len)),U={w:0,len:0,start:G}),U.len+=1,U.w+=_.measureText(N[G]).width+1;U.len>0&&O.push(N.substr(U.start,U.len))}else O.push(N)});var j=(O.length-1)*(P.size+2),L=y.texty(R,j);return O.forEach(function(N){var D=_.measureText(N).width;b.fillText(N,T,L),A&&a.call(b,"strike",T,L,C,R,P.size,D),k&&a.call(b,"underline",T,L,C,R,P.size,D),L+=P.size+2}),_.restore(),this}},{key:"border",value:function(h,y){var b=this.ctx;return b.lineWidth=g,b.strokeStyle=y,h==="medium"?b.lineWidth=v(2)-.5:h==="thick"?b.lineWidth=v(3):h==="dashed"?b.setLineDash([v(3),v(2)]):h==="dotted"?b.setLineDash([v(1),v(1)]):h==="double"&&b.setLineDash([v(2),0]),this}},{key:"line",value:function(){var h=this.ctx;if(arguments.length>1){h.beginPath();var y=arguments.length<=0?void 0:arguments[0],b=i(y,2),w=b[0],x=b[1];h.moveTo(c(w),c(x));for(var _=1;_<arguments.length;_+=1){var C=_<0||arguments.length<=_?void 0:arguments[_],R=i(C,2),P=R[0],S=R[1];h.lineTo(c(P),c(S))}h.stroke()}return this}},{key:"strokeBorders",value:function(h){var y=this.ctx;y.save();var b=h.borderTop,w=h.borderRight,x=h.borderBottom,_=h.borderLeft;b&&(this.border.apply(this,n(b)),this.line.apply(this,n(h.topxys()))),w&&(this.border.apply(this,n(w)),this.line.apply(this,n(h.rightxys()))),x&&(this.border.apply(this,n(x)),this.line.apply(this,n(h.bottomxys()))),_&&(this.border.apply(this,n(_)),this.line.apply(this,n(h.leftxys()))),y.restore()}},{key:"dropdown",value:function(h){var y=this.ctx,b=h.x,w=h.y,x=b+h.width-15,_=w+h.height-15;y.save(),y.beginPath(),y.moveTo(v(x),v(_)),y.lineTo(v(x+8),v(_)),y.lineTo(v(x+4),v(_+6)),y.closePath(),y.fillStyle=h.color||"rgba(0, 0, 0, .45)",y.fill(),y.restore()}},{key:"error",value:function(h){var y=this.ctx,b=h.x,w=h.y,x=b+h.width-1;y.save(),y.beginPath(),y.moveTo(v(x-8),v(w-1)),y.lineTo(v(x),v(w-1)),y.lineTo(v(x),v(w+8)),y.closePath(),y.fillStyle="rgba(255, 0, 0, .65)",y.fill(),y.restore()}},{key:"frozen",value:function(h){var y=this.ctx,b=h.x,w=h.y,x=b+h.width-1;y.save(),y.beginPath(),y.moveTo(v(x-8),v(w-1)),y.lineTo(v(x),v(w-1)),y.lineTo(v(x),v(w+8)),y.closePath(),y.fillStyle="rgba(0, 255, 0, .85)",y.fill(),y.restore()}},{key:"rect",value:function(h,y){var b=this.ctx,w=h.x,x=h.y,_=h.width,C=h.height,R=h.bgcolor;b.save(),b.beginPath(),b.fillStyle=R||"#fff",b.rect(c(w+1),c(x+1),v(_-2),v(C-2)),b.clip(),b.fill(),y(),b.restore()}}]),d}()},function(e,r,t){"use strict";t.d(r,"a",function(){return l});var n=t(0),i=t(1);function u(m,p){for(var g=0;g<p.length;g++){var v=p[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(m,v.key,v)}}var l=function(){function m(c,o){var a=this;(function(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")})(this,m),this.vchange=function(){},this.el=Object(n.b)("div","".concat(i.a,"-form-input")),this.input=Object(n.b)("input","").css("width",c).on("input",function(s){return a.vchange(s)}).attr("placeholder",o),this.el.child(this.input)}var p,g,v;return p=m,(g=[{key:"focus",value:function(){var c=this;setTimeout(function(){c.input.el.focus()},10)}},{key:"hint",value:function(c){this.input.attr("placeholder",c)}},{key:"val",value:function(c){return this.input.val(c)}}])&&u(p.prototype,g),v&&u(p,v),m}()},function(e,r,t){"use strict";t.d(r,"b",function(){return s}),t.d(r,"c",function(){return a}),t.d(r,"a",function(){return o});var n=t(2),i=t(5);function u(d,h){return v(d)||function(y,b){var w=[],x=!0,_=!1,C=void 0;try{for(var R,P=y[Symbol.iterator]();!(x=(R=P.next()).done)&&(w.push(R.value),!b||w.length!==b);x=!0);}catch(S){_=!0,C=S}finally{try{x||P.return==null||P.return()}finally{if(_)throw C}}return w}(d,h)||p()}function l(d){return function(h){if(Array.isArray(h)){for(var y=0,b=new Array(h.length);y<h.length;y++)b[y]=h[y];return b}}(d)||g(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function m(d){return v(d)||g(d)||p()}function p(){t
`),oe=Math.max.apply(Math,te(ye.map(function(Ot){return Ot.length}))),le=F.offset().width/V.length,Ae=(oe+1)*le+5,De=this.viewFn().width-W.left-le,Ze=ye.length;if(Ae>W.width){var rt=Ae;Ae>De&&(rt=De,Ze+=parseInt(Ae/De,10),Ze+=Ae%De>0?1:0),H.css("width","".concat(rt,"px"))}(Ze*=this.rowHeight)>W.height&&H.css("height","".concat(Ze,"px"))}}function B(V){var F=V.keyCode,H=V.altKey;F!==13&&F!==9&&V.stopPropagation(),F===13&&H&&(function(W,ye){var oe=W.target,le=oe.value,Ae=oe.selectionEnd,De="".concat(le.slice(0,Ae)).concat(ye).concat(le.slice(Ae));oe.value=De,oe.setSelectionRange(Ae+1,Ae+1),this.inputText=De,this.textlineEl.html(De),M.call(this)}.call(this,V,`
`),V.stopPropagation()),F!==13||H||V.preventDefault()}function z(V,F){var H=this.textEl,W=this.textlineEl;H.el.blur(),H.val(V),W.html(V),function(ye){var oe=this.textEl.el;setTimeout(function(){oe.focus(),oe.setSelectionRange(ye,ye)},0)}.call(this,F)}var q=function(){function V(ye,oe,le){var Ae=this;(function(De,Ze){if(!(De instanceof Ze))throw new TypeError("Cannot call a class as a function")})(this,V),this.viewFn=oe,this.rowHeight=le,this.formulas=ye,this.suggest=new O(ye,function(De){(function(Ze){var rt=this.inputText,Ot=this.validator,tt=0;if(Ot&&Ot.type==="list")this.inputText=Ze,tt=this.inputText.length;else{var ht=rt.lastIndexOf("="),lt=rt.substring(0,ht+1),St=rt.substring(ht+1);St=St.indexOf(")")!==-1?St.substring(St.indexOf(")")):"",this.inputText="".concat(lt+Ze.key,"("),tt=this.inputText.length,this.inputText+=")".concat(St)}z.call(this,this.inputText,tt)}).call(Ae,De)}),this.datepicker=new ee,this.datepicker.change(function(De){Ae.setText(function(Ze){var rt=Ze.getMonth()+1,Ot=Ze.getDate();return rt<10&&(rt="0".concat(rt)),Ot<10&&(Ot="0".concat(Ot)),"".concat(Ze.getFullYear(),"-").concat(rt,"-").concat(Ot)}(De)),Ae.clear()}),this.areaEl=Object(n.b)("div","".concat(u.a,"-editor-area")).children(this.textEl=Object(n.b)("textarea","").on("input",function(De){return function(Ze){var rt=Ze.target.value,Ot=this.suggest,tt=this.textlineEl,ht=this.validator,lt=this.cell;if(lt!==null)if("editable"in lt&&lt.editable===!0||lt.editable===void 0){if(this.inputText=rt,ht)ht.type==="list"?Ot.search(rt):Ot.hide();else{var St=rt.lastIndexOf("=");St!==-1?Ot.search(rt.substring(St+1)):Ot.hide()}tt.html(rt),M.call(this),this.change("input",rt)}else Ze.target.value=lt.text||"";else{if(this.inputText=rt,ht)ht.type==="list"?Ot.search(rt):Ot.hide();else{var _t=rt.lastIndexOf("=");_t!==-1?Ot.search(rt.substring(_t+1)):Ot.hide()}tt.html(rt),M.call(this),this.change("input",rt)}}.call(Ae,De)}).on("paste.stop",function(){}).on("keydown",function(De){return B.call(Ae,De)}),this.textlineEl=Object(n.b)("div","textline"),this.suggest.el,this.datepicker.el).on("mousemove.stop",function(){}).on("mousedown.stop",function(){}),this.el=Object(n.b)("div","".concat(u.a,"-editor")).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.change=function(){}}var F,H,W;return F=V,(H=[{key:"setFreezeLengths",value:function(ye,oe){this.freeze.w=ye,this.freeze.h=oe}},{key:"clear",value:function(){this.inputText!==""&&this.change("finished",this.inputText),this.cell=null,this.areaOffset=null,this.inputText="",this.el.hide(),this.textEl.val(""),this.textlineEl.html(""),function(){this.suggest.setItems(this.formulas)}.call(this),this.datepicker.hide()}},{key:"setOffset",value:function(ye){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",le=this.textEl,Ae=this.areaEl,De=this.suggest,Ze=this.freeze,rt=this.el;if(ye){this.areaOffset=ye;var Ot=ye.left,tt=ye.top,ht=ye.width,lt=ye.height,St=ye.l,_t=ye.t,Pt={left:0,top:0};Ze.w>St&&Ze.h>_t||(Ze.w<St&&Ze.h<_t?(Pt.left=Ze.w,Pt.top=Ze.h):Ze.w>St?Pt.top=Ze.h:Ze.h>_t&&(Pt.left=Ze.w)),rt.offset(Pt),Ae.offset({left:Ot-Pt.left-.8,top:tt-Pt.top-.8}),le.offset({width:ht-9+.8,height:lt-3+.8});var Bt={left:0};Bt[oe]=lt,De.setOffset(Bt),De.hide()}}},{key:"setCell",value:function(ye,oe){if(!ye||ye.editable!==!1){var le=this.el,Ae=this.datepicker,De=this.suggest;le.show(),this.cell=ye;var Ze=ye&&ye.text||"";if(this.setText(Ze),this.validator=oe,oe){var rt=oe.type;rt==="date"&&(Ae.show(),/^\s*$/.test(Ze)||Ae.setValue(Ze)),rt==="list"&&(De.setItems(oe.values()),De.search(""))}}}},{key:"setText",value:function(ye){this.inputText=ye,z.call(this,ye,ye.length),M.call(this)}}])&&ne(F.prototype,H),W&&ne(F,W),V}();function J(V){return(J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(V)}function Q(V,F){return!F||J(F)!=="object"&&typeof F!="function"?function(H){if(H===void
@page { size: `.concat(ye.width,"px ").concat(ye.height,`px; };
canvas {
page-break-before: auto;
page-break-after: always;
image-rendering: pixelated;
};
`),Ae.head.appendChild(De),this.canvases.forEach(function(Ze){var rt=Ze.cloneNode(!1);rt.getContext("2d").drawImage(Ze,0,0),Ae.body.appendChild(rt)}),le.print()}}])&&ke(F.prototype,H),W&&ke(F,W),V}();function _e(V){return function(F){if(Array.isArray(F)){for(var H=0,W=new Array(F.length);H<F.length;H++)W[H]=F[H];return W}}(V)||function(F){if(Symbol.iterator in Object(F)||Object.prototype.toString.call(F)==="[object Arguments]")return Array.from(F)}(V)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Oe(V,F){for(var H=0;H<F.length;H++){var W=F[H];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(V,W.key,W)}}var Fe=[{key:"copy",title:Object(L.c)("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:Object(L.c)("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:Object(L.c)("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:Object(L.c)("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:Object(L.c)("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:Object(L.c)("contextmenu.insertRow")},{key:"insert-column",title:Object(L.c)("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:Object(L.c)("contextmenu.deleteRow")},{key:"delete-column",title:Object(L.c)("contextmenu.deleteColumn")},{key:"delete-cell-text",title:Object(L.c)("contextmenu.deleteCellText")},{key:"hide",title:Object(L.c)("contextmenu.hide")},{key:"divider"},{key:"validation",title:Object(L.c)("contextmenu.validation")},{key:"divider"},{key:"cell-printable",title:Object(L.c)("contextmenu.cellprintable")},{key:"cell-non-printable",title:Object(L.c)("contextmenu.cellnonprintable")},{key:"divider"},{key:"cell-editable",title:Object(L.c)("contextmenu.celleditable")},{key:"cell-non-editable",title:Object(L.c)("contextmenu.cellnoneditable")}];function ze(V){var F=this,H=Fe;if(!V.showValidation){var W=Fe.findIndex(function(ye){return ye.key==="validation"});(H=Fe.slice()).splice(W,2)}return H.map(function(ye){return function(oe){var le=this;return oe.key==="divider"?Object(n.b)("div","".concat(u.a,"-item divider")):Object(n.b)("div","".concat(u.a,"-item")).on("click",function(){le.itemClick(oe.key),le.hide()}).children(oe.title(),Object(n.b)("div","label").child(oe.label||""))}.call(F,ye)})}var Me=function(){function V(ye){var oe,le=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(function(De,Ze){if(!(De instanceof Ze))throw new TypeError("Cannot call a class as a function")})(this,V),this.menuItems=ze.call(this,Ae),this.el=(oe=Object(n.b)("div","".concat(u.a,"-contextmenu"))).children.apply(oe,_e(this.menuItems)).hide(),this.viewFn=ye,this.itemClick=function(){},this.isHide=le,this.setMode("range")}var F,H,W;return F=V,(H=[{key:"setMode",value:function(ye){var oe=this.menuItems[12];ye==="row-col"?oe.show():oe.hide()}},{key:"hide",value:function(){var ye=this.el;ye.hide(),Object(i.g)(ye)}},{key:"setPosition",value:function(ye,oe){if(!this.isHide){var le=this.el,Ae=le.show().offset().width,De=this.viewFn(),Ze=De.height/2,rt=ye;De.width-ye<=Ae&&(rt-=Ae),le.css("left","".concat(rt,"px")),oe>Ze?le.css("bottom","".concat(De.height-oe,"px")).css("max-height","".concat(oe,"px")).css("top","auto"):le.css("top","".concat(oe,"px")).css("max-height","".concat(De.height-oe,"px")).css("bottom","auto"),Object(i.b)(le)}}}])&&Oe(F.prototype,H),W&&Oe(F,W),V}();function Re(V,F){for(var H=0;H<F.length;H++){var W=F[H];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(V,W.key,W)}}var Pe=function(){function V(ye,oe,le){(function(Ae,De){if(!(Ae instanceof De))throw new TypeError("Cannot call a class as a function")})(this,V),this.tip="",ye&&(this.tip=Object(L.b)("toolbar.".concat(ye.replace(/-[a-z]/g,function(Ae){return Ae[1].toUpperCase()})))),oe&&(this.tip+=" (".concat(oe,")")),this.tag=ye,this.shortcut=oe,this.value=le,this.el=this.element(),this.change=function(){}}var F,H,W;return F=V,(H=[{k
`),Z&&(Z.clipboardData.clearData(),Z.clipboardData.setData("text/plain",re),Z.preventDefault()),navigator.clipboard&&navigator.clipboard.writeText(re).then(function(){},function(Oe){console.log("text copy to the system clipboard error ",re,Oe)})}},{key:"cut",value:function(){this.clipboard.cut(this.selector.range)}},{key:"paste",value:function(){var Z=this,re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"all",ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},ce=this.clipboard,ke=this.selector;return!ce.isClear()&&!!te.call(this,ce.range,ke.range,ae)&&(this.changeData(function(){ce.isCopy()?M.call(Z,ce.range,ke.range,re,Z.settings.autoFillOnCopy):ce.isCut()&&B.call(Z,ce.range,ke.range)}),!0)}},{key:"pasteFromSystemClipboard",value:function(Z,re){var ae=this,ce=this.selector;navigator.clipboard.readText().then(function(ke){var we=ae.parseClipboardContent(ke),Se=ce.ri;we.forEach(function(Ge){var xe=ce.ci;Ge.forEach(function(be){ae.setCellText(Se,xe,be,"input"),xe+=1}),Se+=1}),Z(),re(ae.rows.getData())})}},{key:"parseClipboardContent",value:function(Z){var re=[],ae=Z.split(`
`),ce=0;return ae.forEach(function(ke){re[ce]=ke.split(" "),ce+=1}),re}},{key:"pasteFromText",value:function(Z){var re=[];if((re=/\r\n/.test(Z)?Z.split(`\r
`).map(function(ke){return ke.replace(/"/g,"").split(" ")}):Z.split(`
`).map(function(ke){return ke.replace(/"/g,"").split(" ")})).length){var ae=this.rows,ce=this.selector;this.changeData(function(){ae.paste(re,ce.range)})}}},{key:"autofill",value:function(Z,re){var ae=this,ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},ke=this.selector.range;return!!te.call(this,ke,Z,ce)&&(this.changeData(function(){M.call(ae,ke,Z,re,!0)}),!0)}},{key:"clearClipboard",value:function(){this.clipboard.clear()}},{key:"calSelectedRangeByEnd",value:function(Z,re){var ae=this.selector,ce=this.rows,ke=this.cols,we=this.merges,Se=ae.range,Ge=Se.sri,xe=Se.sci,be=Se.eri,_e=Se.eci,Oe=ae.ri,Fe=ae.ci,ze=Z,Me=re;return Z<0&&(ze=ce.len-1),re<0&&(Me=ke.len-1),ze>Oe?(Ge=Oe,be=ze):(Ge=ze,be=Oe),Me>Fe?(xe=Fe,_e=Me):(xe=Me,_e=Fe),ae.range=we.union(new n.a(Ge,xe,be,_e)),ae.range=we.union(ae.range),ae.range}},{key:"calSelectedRangeByStart",value:function(Z,re){var ae=this.selector,ce=this.rows,ke=this.cols,we=this.merges.getFirstIncludes(Z,re);return we===null&&(we=new n.a(Z,re,Z,re),Z===-1&&(we.sri=0,we.eri=ce.len-1),re===-1&&(we.sci=0,we.eci=ke.len-1)),ae.range=we,we}},{key:"setSelectedCellAttr",value:function(Z,re){var ae=this;this.changeData(function(){var ce=ae.selector,ke=ae.styles,we=ae.rows;if(Z==="merge")re?ae.merge():ae.unmerge();else if(Z==="border")(function(Ve){var He=this,nt=Ve.mode,he=Ve.style,ue=Ve.color,Te=this.styles,Ne=this.selector,Xe=this.rows,dt=Ne.range,Qe=dt.sri,Ke=dt.sci,Ie=dt.eri,Le=dt.eci,pt=!this.isSingleSelected();if(pt||nt!=="inside"&&nt!=="horizontal"&&nt!=="vertical")if(nt!=="outside"||pt){if(nt==="none")Ne.range.each(function(bt,xt){var Je=Xe.getCell(bt,xt);if(Je&&Je.style!==void 0){var ct=w.a.cloneDeep(Te[Je.style]);delete ct.border,Je.style=He.addStyle(ct)}});else if(nt==="all"||nt==="inside"||nt==="outside"||nt==="horizontal"||nt==="vertical")(function(){for(var bt=[],xt=Qe;xt<=Ie;xt+=1)for(var Je=Ke;Je<=Le;Je+=1){for(var ct=[],Ce=0;Ce<bt.length;Ce+=1){var je=ee(bt[Ce],4),qe=je[0],mt=je[1],se=je[2],fe=je[3];if(xt===qe+se+1&&ct.push(Ce),qe<=xt&&xt<=qe+se&&Je===mt){Je+=fe+1;break}}if(ct.forEach(function(We){return bt.splice(We,1)}),Je>Le)break;var ve=Xe.getCell(xt,Je),pe=0,de=0;if(ve&&ve.merge){var ge=ee(ve.merge,2);pe=ge[0],de=ge[1],bt.push([xt,Je,pe,de])}var Ee=pe>0&&xt+pe===Ie,$e=de>0&&Je+de===Le,Be={};nt==="all"?Be={bottom:[he,ue],top:[he,ue],left:[he,ue],right:[he,ue]}:nt==="inside"?(!$e&&Je<Le&&(Be.right=[he,ue]),!Ee&&xt<Ie&&(Be.bottom=[he,ue])):nt==="horizontal"?!Ee&&xt<Ie&&(Be.bottom=[he,ue]):nt==="vertical"?!$e&&Je<Le&&(Be.right=[he,ue]):nt==="outside"&&pt&&(Qe===xt&&(Be.top=[he,ue]),(Ee||Ie===xt)&&(Be.bottom=[he,ue]),Ke===Je&&(Be.left=[he,ue]),($e||Le===Je)&&(Be.right=[he,ue])),Object.keys(Be).length>0&&z.call(He,xt,Je,Be),Je+=de}})();else if(nt==="top"||nt==="bottom")for(var gt=Ke;gt<=Le;gt+=1)nt==="top"&&(z.call(this,Qe,gt,{top:[he,ue]}),gt+=Xe.getCellMerge(Qe,gt)[1]),nt==="bottom"&&(z.call(this,Ie,gt,{bottom:[he,ue]}),gt+=Xe.getCellMerge(Ie,gt)[1]);else if(nt==="left"||nt==="right")for(var ot=Qe;ot<=Ie;ot+=1)nt==="left"&&(z.call(this,ot,Ke,{left:[he,ue]}),ot+=Xe.getCellMerge(ot,Ke)[0]),nt==="right"&&(z.call(this,ot,Le,{right:[he,ue]}),ot+=Xe.getCellMerge(ot,Le)[0])}else z.call(this,Qe,Ke,{top:[he,ue],bottom:[he,ue],left:[he,ue],right:[he,ue]})}).call(ae,re);else if(Z==="formula"){var Se=ce.ri,Ge=ce.ci,xe=ce.range;if(ce.multiple()){var be=ee(ce.size(),2),_e=be[0],Oe=be[1],Fe=xe.sri,ze=xe.sci,Me=xe.eri,Re=xe.eci;if(_e>1)for(var Pe=ze;Pe<=Re;Pe+=1)we.getCellOrNew(Me+1,Pe).text="=".concat(re,"(").concat(Object(x.d)(Pe,Fe),":").concat(Object(x.d)(Pe,Me),")");else Oe>1&&(we.getCellOrNew(Se,Re+1).text="=".concat(re,"(").concat(Object(x.d)(ze,Se),":").concat(Object(x.d)(Re,Se),")"))}else we.getCellOrNew(Se,Ge).text="=".concat(re,"()")}else ce.range.each(function(Ve,He){var nt=we.getCellOrNew(Ve,He),he={};if(nt.style!==void 0&&(he=w.a.cloneDeep(ke[nt.style])),Z==="format")he.format=re,nt.style=ae.addStyle(he);else if(Z==="font-bold"||Z==="font-italic"||Z==="font-name"||Z==="font-size"){var ue={};ue[Z.split("-")[1]]=re,he.font=Object.assign(he.font||{},ue),nt.style=
`)+`\r
`}function gt(se){var fe=se.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(We){var Ye=We.charCodeAt(0).toString(16).toUpperCase();return"="+(Ye.length==1?"0"+Ye:Ye)});fe=fe.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),fe.charAt(0)==`
`&&(fe="=0D"+fe.slice(1)),fe=fe.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var ve=[],pe=fe.split(`\r
`),de=0;de<pe.length;++de){var ge=pe[de];if(ge.length==0){ve.push("");continue}for(var Ee=0;Ee<ge.length;){var $e=76,Be=ge.slice(Ee,Ee+$e);Be.charAt($e-1)=="="?$e--:Be.charAt($e-2)=="="?$e-=2:Be.charAt($e-3)=="="&&($e-=3),Be=ge.slice(Ee,Ee+$e),Ee+=$e,Ee<ge.length&&(Be+="="),ve.push(Be)}}return ve.join(`\r
`)}function ot(se){for(var fe=[],ve=0;ve<se.length;++ve){for(var pe=se[ve];ve<=se.length&&pe.charAt(pe.length-1)=="=";)pe=pe.slice(0,pe.length-1)+se[++ve];fe.push(pe)}for(var de=0;de<fe.length;++de)fe[de]=fe[de].replace(/[=][0-9A-Fa-f]{2}/g,function(ge){return String.fromCharCode(parseInt(ge.slice(1),16))});return on(fe.join(`\r
`))}function bt(se,fe,ve){for(var pe="",de="",ge="",Ee,$e=0;$e<10;++$e){var Be=fe[$e];if(!Be||Be.match(/^\s*$/))break;var We=Be.match(/^(.*?):\s*([^\s].*)$/);if(We)switch(We[1].toLowerCase()){case"content-location":pe=We[2].trim();break;case"content-type":ge=We[2].trim();break;case"content-transfer-encoding":de=We[2].trim();break}}switch(++$e,de.toLowerCase()){case"base64":Ee=on(yn(fe.slice($e).join("")));break;case"quoted-printable":Ee=ot(fe.slice($e));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+de)}var Ye=Ce(se,pe.slice(ve.length),Ee,{unsafe:!0});ge&&(Ye.ctype=ge)}function xt(se,fe){if(D(se.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var ve=fe&&fe.root||"",pe=(qt&&Buffer.isBuffer(se)?se.toString("binary"):D(se)).split(`\r
`),de=0,ge="";for(de=0;de<pe.length;++de)if(ge=pe[de],!!/^Content-Location:/i.test(ge)&&(ge=ge.slice(ge.indexOf("file")),ve||(ve=ge.slice(0,ge.lastIndexOf("/")+1)),ge.slice(0,ve.length)!=ve))for(;ve.length>0&&(ve=ve.slice(0,ve.length-1),ve=ve.slice(0,ve.lastIndexOf("/")+1),ge.slice(0,ve.length)!=ve););var Ee=(pe[1]||"").match(/boundary="(.*?)"/);if(!Ee)throw new Error("MAD cannot find boundary");var $e="--"+(Ee[1]||""),Be=[],We=[],Ye={FileIndex:Be,FullPaths:We};R(Ye);var ut,vt=0;for(de=0;de<pe.length;++de){var Et=pe[de];Et!==$e&&Et!==$e+"--"||(vt++&&bt(Ye,pe.slice(ut,de),ve),ut=de)}return Ye}function Je(se,fe){var ve=fe||{},pe=ve.boundary||"SheetJS";pe="------="+pe;for(var de=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+pe.slice(2)+'"',"","",""],ge=se.FullPaths[0],Ee=ge,$e=se.FileIndex[0],Be=1;Be<se.FullPaths.length;++Be)if(Ee=se.FullPaths[Be].slice(ge.length),$e=se.FileIndex[Be],!(!$e.size||!$e.content||Ee=="Sh33tJ5")){Ee=Ee.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(Ue){return"_x"+Ue.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(Ue){return"_u"+Ue.charCodeAt(0).toString(16)+"_"});for(var We=$e.content,Ye=qt&&Buffer.isBuffer(We)?We.toString("binary"):D(We),ut=0,vt=Math.min(1024,Ye.length),Et=0,wt=0;wt<=vt;++wt)(Et=Ye.charCodeAt(wt))>=32&&Et<128&&++ut;var me=ut>=vt*4/5;de.push(pe),de.push("Content-Location: "+(ve.root||"file:///C:/SheetJS/")+Ee),de.push("Content-Transfer-Encoding: "+(me?"quoted-printable":"base64")),de.push("Content-Type: "+Le($e,Ee)),de.push(""),de.push(me?gt(Ye):pt(Ye))}return de.push(pe+`--\r
`),de.join(`\r
`)}function ct(se){var fe={};return R(fe,se),fe}function Ce(se,fe,ve,pe){var de=pe&&pe.unsafe;de||R(se);var ge=!de&&Dt.find(se,fe);if(!ge){var Ee=se.FullPaths[0];fe.slice(0,Ee.length)==Ee?Ee=fe:(Ee.slice(-1)!="/"&&(Ee+="/"),Ee=(Ee+fe).replace("//","/")),ge={name:i(fe),type:2},se.FileIndex.push(ge),se.FullPaths.push(Ee),de||Dt.utils.cfb_gc(se)}return ge.content=ve,ge.size=ve?ve.length:0,pe&&(pe.CLSID&&(ge.clsid=pe.CLSID),pe.mt&&(ge.mt=pe.mt),pe.ct&&(ge.ct=pe.ct)),ge}function je(se,fe){R(se);var ve=Dt.find(se,fe);if(ve){for(var pe=0;pe<se.FileIndex.length;++pe)if(se.FileIndex[pe]==ve)return se.FileIndex.splice(pe,1),se.FullPaths.splice(pe,1),!0}return!1}function qe(se,fe,ve){R(se);var pe=Dt.find(se,fe);if(pe){for(var de=0;de<se.FileIndex.length;++de)if(se.FileIndex[de]==pe)return se.FileIndex[de].name=i(ve),se.FullPaths[de]=ve,!0}return!1}function mt(se){S(se,!0)}return r.find=k,r.read=C,r.parse=v,r.write=U,r.writeFile=N,r.utils={cfb_new:ct,cfb_add:Ce,cfb_del:je,cfb_mov:qe,cfb_gc:mt,ReadShift:Fa,CheckField:Nh,prep_blob:Rr,bconcat:wr,use_zlib:X,_deflateRaw:Re,_inflateRaw:Ne,consts:L},r}(),Fi;function ul(e){return typeof e=="string"?Go(e):Array.isArray(e)?Qp(e):e}function co(e,r,t){if(typeof Fi!="undefined"&&Fi.writeFileSync)return t?Fi.writeFileSync(e,r,t):Fi.writeFileSync(e,r);if(typeof Deno!="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=Go(r);break;default:throw new Error("Unsupported encoding "+t)}return Deno.writeFileSync(e,r)}var n=t=="utf8"?Kn(r):r;if(typeof IE_SaveFile!="undefined")return IE_SaveFile(n,e);if(typeof Blob!="undefined"){var i=new Blob([ul(n)],{type:"application/octet-stream"});if(typeof navigator!="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if(typeof saveAs!="undefined")return saveAs(i,e);if(typeof URL!="undefined"&&typeof document!="undefined"&&document.createElement&&URL.createObjectURL){var u=URL.createObjectURL(i);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout!="undefined"&&setTimeout(function(){URL.revokeObjectURL(u)},6e4),chrome.downloads.download({url:u,filename:e,saveAs:!0});var l=document.createElement("a");if(l.download!=null)return l.download=e,l.href=u,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL&&typeof setTimeout!="undefined"&&setTimeout(function(){URL.revokeObjectURL(u)},6e4),u}else if(typeof URL!="undefined"&&!URL.createObjectURL&&typeof chrome=="object"){var m="data:application/octet-stream;base64,"+Jp(new Uint8Array(ul(n)));return chrome.downloads.download({url:m,filename:e,saveAs:!0})}}if(typeof $!="undefined"&&typeof File!="undefined"&&typeof Folder!="undefined")try{var p=File(e);return p.open("w"),p.encoding="binary",Array.isArray(r)&&(r=Jn(r)),p.write(r),p.close(),r}catch(g){if(!g.message||!g.message.match(/onstruct/))throw g}throw new Error("cannot save file "+e)}function E1(e){if(typeof Fi!="undefined")return Fi.readFileSync(e);if(typeof Deno!="undefined")return Deno.readFileSync(e);if(typeof $!="undefined"&&typeof File!="undefined"&&typeof Folder!="undefined")try{var r=File(e);r.open("r"),r.encoding="binary";var t=r.read();return r.close(),t}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+e)}function pr(e){for(var r=Object.keys(e),t=[],n=0;n<r.length;++n)Object.prototype.hasOwnProperty.call(e,r[n])&&t.push(r[n]);return t}function fl(e,r){for(var t=[],n=pr(e),i=0;i!==n.length;++i)t[e[n[i]][r]]==null&&(t[e[n[i]][r]]=n[i]);return t}function Ko(e){for(var r=[],t=pr(e),n=0;n!==t.length;++n)r[e[t[n]]]=t[n];return r}function Jo(e){for(var r=[],t=pr(e),n=0;n!==t.length;++n)r[e[t[n]]]=parseInt(t[n],10);return r}function O1(e){for(var r=[],t=pr(e),n=0;n!==t.length;++n)r[e[t[n]]]==null&&(r[e[t[n]]]=[]),r[e[t[n]]].push(t[n]);return r}var xh=Date.UTC(1899,11,30,0,0,0),T1=Date.UTC(1899,11,31,0,0,0),C1=Date.UTC(1904,0,1,0,0,0);function yr(e,r){var t=e.getTime(),n=(t-xh)/(24*60*60*1e3);return r?(n-=1462,n<-1402?n-1:n):n<60?n-1:n}function o
`,z1=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,hl=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,H1=/<[^>]*>/g,Br=kr.match(hl)?hl:H1,W1=/<\w*:/,V1=/<(\/?)\w+:/;function Rt(e,r,t){for(var n={},i=0,u=0;i!==e.length&&!((u=e.charCodeAt(i))===32||u===10||u===13);++i);if(r||(n[0]=e.slice(0,i)),i===e.length)return n;var l=e.match(z1),m=0,p="",g=0,v="",c="",o=1;if(l)for(g=0;g!=l.length;++g){for(c=l[g],u=0;u!=c.length&&c.charCodeAt(u)!==61;++u);for(v=c.slice(0,u).trim();c.charCodeAt(u+1)==32;)++u;for(o=(i=c.charCodeAt(u+1))==34||i==39?1:0,p=c.slice(u+1+o,c.length-o),m=0;m!=v.length&&v.charCodeAt(m)!==58;++m);if(m===v.length)v.indexOf("_")>0&&(v=v.slice(0,v.indexOf("_"))),n[v]=p,t||(n[v.toLowerCase()]=p);else{var a=(m===5&&v.slice(0,5)==="xmlns"?"xmlns":"")+v.slice(m+1);if(n[a]&&v.slice(m-3,m)=="ext")continue;n[a]=p,t||(n[a.toLowerCase()]=p)}}return n}function Cn(e){return e.replace(V1,"<$1")}var Th={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},fc=Ko(Th),Kt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,r=/_x([\da-fA-F]{4})_/ig;function t(n){var i=n+"",u=i.indexOf("<![CDATA[");if(u==-1)return i.replace(e,function(m,p){return Th[m]||String.fromCharCode(parseInt(p,m.indexOf("x")>-1?16:10))||m}).replace(r,function(m,p){return String.fromCharCode(parseInt(p,16))});var l=i.indexOf("]]>");return t(i.slice(0,u))+i.slice(u+9,l)+t(i.slice(l+3))}return function(i,u){var l=t(i);return u?l.replace(/\r\n/g,`
`):l}}(),lc=/[&<>'"]/g,X1=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function Xt(e){var r=e+"";return r.replace(lc,function(t){return fc[t]}).replace(X1,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"})}function dl(e){return Xt(e).replace(/ /g,"_x0020_")}var Ch=/[\u0000-\u001f]/g;function Ho(e){var r=e+"";return r.replace(lc,function(t){return fc[t]}).replace(/\n/g,"<br/>").replace(Ch,function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"})}function $1(e){var r=e+"";return r.replace(lc,function(t){return fc[t]}).replace(Ch,function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"})}var pl=function(){var e=/&#(\d+);/g;function r(t,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,r)}}();function q1(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function cr(e){switch(e){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function Ss(e){for(var r="",t=0,n=0,i=0,u=0,l=0,m=0;t<e.length;){if(n=e.charCodeAt(t++),n<128){r+=String.fromCharCode(n);continue}if(i=e.charCodeAt(t++),n>191&&n<224){l=(n&31)<<6,l|=i&63,r+=String.fromCharCode(l);continue}if(u=e.charCodeAt(t++),n<240){r+=String.fromCharCode((n&15)<<12|(i&63)<<6|u&63);continue}l=e.charCodeAt(t++),m=((n&7)<<18|(i&63)<<12|(u&63)<<6|l&63)-65536,r+=String.fromCharCode(55296+(m>>>10&1023)),r+=String.fromCharCode(56320+(m&1023))}return r}function ml(e){var r=bi(2*e.length),t,n,i=1,u=0,l=0,m;for(n=0;n<e.length;n+=i)i=1,(m=e.charCodeAt(n))<128?t=m:m<224?(t=(m&31)*64+(e.charCodeAt(n+1)&63),i=2):m<240?(t=(m&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),i=3):(i=4,t=(m&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),t-=65536,l=55296+(t>>>10&1023),t=56320+(t&1023)),l!==0&&(r[u++]=l&255,r[u++]=l>>>8,l=0),r[u++]=t%256,r[u++]=t>>>8;return r.slice(0,u).toString("ucs2")}function yl(e){return Qn(e,"binary").toString("utf8")}var Eo="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",ur=qt&&(yl(Eo)==Ss(Eo)&&yl||ml(Eo)==Ss(Eo)&&ml)||Ss,Kn=qt?function(e){return Qn(e,"utf8").toString("binary")}:function(e){for(var r=[],t=0,n=0,i=0;t<e.length;)switch(n=e.charCodeAt(t++),!0){case n<128:r.push(String.fromCharCode(n));break;case n<2048:r.push(String.fromCharCode(192+(n>>6))),r.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=e.charCodeAt(t++)-56320+(n<<10),r.push(String.fromCharCode(240+(i>>18&7))),r.push(String.fromCharCode(144+(i>>12&63))),r.push(String.fromCharCode(128+(i>>6&63))),r.push(String.fromCharCode(128+(i&63)));break;default:r.push(String.fromCharCode(224+(n>>12))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(n&63)))}return r.join("")},qa=function(){var e={};return function(t,n){var i=t+"|"+(n||"");return e[i]?e[i]:e[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),Ah=function(){var e=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(r){return[new RegExp("&"+r[0]+";","ig"),r[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
`).replace(/<[^>]*>/g,""),i=0;i<e.length;++i)n=n.replace(e[i][0],e[i][1]);return n}}(),Z1=function(){var e={};return function(t){return e[t]!==void 0?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),G1=/<\/?(?:vt:)?variant>/g,Y1=/<(?:vt:)([^>]*)>([\s\S]*)</;function vl(e,r){var t=Rt(e),n=e.match(Z1(t.baseType))||[],i=[];if(n.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+n.length+" != "+t.size);return i}return n.forEach(function(u){var l=u.replace(G1,"").match(Y1);l&&i.push({v:ur(l[2]),t:l[1]})}),i}var Rh=/(^\s|\s$|\n)/;function Nr(e,r){return"<"+e+(r.match(Rh)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function Za(e){return pr(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function kt(e,r,t){return"<"+e+(t!=null?Za(t):"")+(r!=null?(r.match(Rh)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Ws(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function K1(e,r){switch(typeof e){case"string":var t=kt("vt:lpwstr",Xt(e));return r&&(t=t.replace(/&quot;/g,"_x0022_")),t;case"number":return kt((e|0)==e?"vt:i4":"vt:r8",Xt(String(e)));case"boolean":return kt("vt:bool",e?"true":"false")}if(e instanceof Date)return kt("vt:filetime",Ws(e));throw new Error("Unable to serialize "+e)}function es(e){if(qt&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array!="undefined"&&e instanceof Uint8Array)return ur(Jn(ac(e)));throw new Error("Bad input format: expected Buffer or string")}var Cr=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg,Pr={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"},qi=["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"],pn={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 J1(e,r){for(var t=1-2*(e[r+7]>>>7),n=((e[r+7]&127)<<4)+(e[r+6]>>>4&15),i=e[r+6]&15,u=5;u>=0;--u)i=i*256+e[r+u];return n==2047?i==0?t*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),t*Math.pow(2,n-52)*i)}function Q1(e,r,t){var n=(r<0||1/r==-1/0?1:0)<<7,i=0,u=0,l=n?-r:r;isFinite(l)?l==0?i=u=0:(i=Math.floor(Math.log(l)/Math.LN2),u=l*Math.pow(2,52-i),i<=-1023&&(!isFinite(u)||u<Math.pow(2,52))?i=-1022:(u-=Math.pow(2,52),i+=1023)):(i=2047,u=isNaN(r)?26985:0);for(var m=0;m<=5;++m,u/=256)e[t+m]=u&255;e[t+6]=(i&15)<<4|u&15,e[t+7]=i>>4|n}var bl=function(e){for(var r=[],t=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var i=0,u=e[0][n].length;i<u;i+=t)r.push.apply(r,e[0][n].slice(i,i+t));return r},gl=qt?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(r){return Buffer.isBuffer(r)?r:Qn(r)})):bl(e)}:bl,wl=function(e,r,t){for(var n=[],i=r;i<t;i+=2)n.push(String.fromCharCode(ii(e,i)));return n.join("").replace(Yr,"")},ts=qt?function(e,r,t){return!Buffer.isBuffer
`),r.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
`);for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+`"/>
`);return r.push("</manifest:manifest>"),r.join("")}function Tl(e,r,t){return[' <rdf:Description rdf:about="'+e+`">
`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+`"/>
`,` </rdf:Description>
`].join("")}function Nm(e,r){return[' <rdf:Description rdf:about="'+e+`">
`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+`"/>
`,` </rdf:Description>
`].join("")}function Bm(e){var r=[kr];r.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`);for(var t=0;t!=e.length;++t)r.push(Tl(e[t][0],e[t][1])),r.push(Nm("",e[t][0]));return r.push(Tl("","Document","pkg")),r.push("</rdf:RDF>"),r.join("")}function $h(e,r){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 '+Wa.version+"</meta:generator></office:meta></office:document-meta>"}var On=[["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"]],Um=function(){for(var e=new Array(On.length),r=0;r<On.length;++r){var t=On[r],n="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function qh(e){var r={};e=ur(e);for(var t=0;t<On.length;++t){var n=On[t],i=e.match(Um[t]);i!=null&&i.length>0&&(r[n[1]]=Kt(i[1])),n[2]==="date"&&r[n[1]]&&(r[n[1]]=mr(r[n[1]]))}return r}function Os(e,r,t,n,i){i[e]!=null||r==null||r===""||(i[e]=r,r=Xt(r),n[n.length]=t?kt(e,r,t):Nr(e,r))}function Zh(e,r){var t=r||{},n=[kr,kt("cp:coreProperties",null,{"xmlns:cp":Pr.CORE_PROPS,"xmlns:dc":Pr.dc,"xmlns:dcterms":Pr.dcterms,"xmlns:dcmitype":Pr.dcmitype,"xmlns:xsi":Pr.xsi})],i={};if(!e&&!t.Props)return n.join("");e&&(e.CreatedDate!=null&&Os("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Ws(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i),e.ModifiedDate!=null&&Os("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Ws(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i));for(var u=0;u!=On.length;++u){var l=On[u],m=t.Props&&t.Props[l[1]]!=null?t.Props[l[1]]:e?e[l[1]]:null;m===!0?m="1":m===!1?m="0":typeof m=="number"&&(m=String(m)),m!=null&&Os(l[0],m,null,n,i)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var Ii=[["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"]],Gh=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Yh(e,r,t,n){var i=[];if(typeof e=="string")i=vl(e,n);else for(var u=0;u<e.length;++u)i=i.concat(e[u].map(function(v){return{v}}));var l=typeof r=="string"?vl(r,n).map(function(v){return v.v}):r,m=0,p=0;if(l.length>0)for(var g=0;g!==i.length;g+=2){switch(p=+i[g+1].v,i[g].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":t.Worksheets=p,t.SheetNames=l.slice(m,m+p);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":t.NamedRanges=p,t.DefinedNames=l.slice(m,m+p);break;case"Charts":case"Diagramme":t.Chartsheets=p,t.ChartNames=l.slice(m,m+p);break}m+=p}}function zm(e,r,t){var n={};return r||(r={}),e=ur(e),Ii.forEach(function(i){var u=(e.match(qa(i[0]))||[])[1];switch(i[2]){case"string":u&&(r[i[1]]=Kt(u));break;case"bool":r[i[1]]=u=
`,C=(((d||{}).Workbook||{}).WBProps||{}).date1904,R="General";h.push("P;PGeneral");var P=b.s.r,S=b.s.c,A=[];for(P=b.s.r;P<=b.e.r;++P)if(!(x&&!a["!data"][P])){for(A=[],S=b.s.c;S<=b.e.c;++S)w=x?a["!data"][P][S]:a[Zt(S)+Jt(P)],!(!w||!w.c)&&A.push(g(w.c,P,S));A.length&&y.push(A.join(_))}for(P=b.s.r;P<=b.e.r;++P)if(!(x&&!a["!data"][P])){for(A=[],S=b.s.c;S<=b.e.c;++S)if(w=x?a["!data"][P][S]:a[Zt(S)+Jt(P)],!(!w||w.v==null&&(!w.f||w.F))){if((w.z||(w.t=="d"?It[14]:"General"))!=R){var k=s._formats.indexOf(w.z);k==-1&&(s._formats.push(w.z),k=s._formats.length-1,h.push("P;P"+w.z.replace(/;/g,";;"))),A.push("F;P"+k+";Y"+(P+1)+";X"+(S+1))}A.push(p(w,a,P,S,s,C))}y.push(A.join(_))}return h.push("F;P0;DG0G8;M255"),a["!cols"]&&v(h,a["!cols"]),a["!rows"]&&c(h,a["!rows"]),h.push("B;Y"+(b.e.r-b.s.r+1)+";X"+(b.e.c-b.s.c+1)+";D"+[b.s.c,b.s.r,b.e.c,b.e.r].join(" ")),h.push("O;L;D;B"+(C?";V4":"")+";K47;G100 0.001"),delete s._formats,h.join(_)+_+y.join(_)+_+"E"+_}return{to_workbook:m,from_sheet:o}}(),b0=function(){function e(m,p){switch(p.type){case"base64":return r(yn(m),p);case"binary":return r(m,p);case"buffer":return r(qt&&Buffer.isBuffer(m)?m.toString("binary"):Jn(m),p);case"array":return r(zi(m),p)}throw new Error("Unrecognized type "+p.type)}function r(m,p){for(var g=m.split(`
`),v=-1,c=-1,o=0,a=[];o!==g.length;++o){if(g[o].trim()==="BOT"){a[++v]=[],c=0;continue}if(!(v<0)){var s=g[o].trim().split(","),d=s[0],h=s[1];++o;for(var y=g[o]||"";(y.match(/["]/g)||[]).length&1&&o<g.length-1;)y+=`
`+g[++o];switch(y=y.trim(),+d){case-1:if(y==="BOT"){a[++v]=[],c=0;continue}else if(y!=="EOD")throw new Error("Unrecognized DIF special command "+y);break;case 0:y==="TRUE"?a[v][c]=!0:y==="FALSE"?a[v][c]=!1:isNaN(mn(h))?isNaN($a(h).getDate())?a[v][c]=h:(a[v][c]=mr(h),p&&p.UTC||(a[v][c]=Hi(a[v][c]))):a[v][c]=mn(h),++c;break;case 1:y=y.slice(1,y.length-1),y=y.replace(/""/g,'"'),Qf&&y&&y.match(/^=".*"$/)&&(y=y.slice(2,-1)),a[v][c++]=y!==""?y:null;break}if(y==="EOD")break}}return p&&p.sheetRows&&(a=a.slice(0,p.sheetRows)),a}function t(m,p){return xa(e(m,p),p)}function n(m,p){var g=_i(t(m,p),p);return g.bookType="dif",g}function i(m,p){return"0,"+String(m)+`\r
`+p}function u(m){return`1,0\r
"`+m.replace(/"/g,'""')+'"'}function l(m){for(var p=Qf,g=ir(m["!ref"]),v=m["!data"]!=null,c=[`TABLE\r
0,1\r
"sheetjs"\r
`,`VECTORS\r
0,`+(g.e.r-g.s.r+1)+`\r
""\r
`,`TUPLES\r
0,`+(g.e.c-g.s.c+1)+`\r
""\r
`,`DATA\r
0,0\r
""\r
`],o=g.s.r;o<=g.e.r;++o){for(var a=v?m["!data"][o]:[],s=`-1,0\r
BOT\r
`,d=g.s.c;d<=g.e.c;++d){var h=v?a&&a[d]:m[$t({r:o,c:d})];if(h==null){s+=`1,0\r
""\r
`;continue}switch(h.t){case"n":p?h.w!=null?s+="0,"+h.w+`\r
V`:h.v!=null?s+=i(h.v,"V"):h.f!=null&&!h.F?s+=u("="+h.f):s+=`1,0\r
""`:h.v==null?s+=`1,0\r
""`:s+=i(h.v,"V");break;case"b":s+=h.v?i(1,"TRUE"):i(0,"FALSE");break;case"s":s+=u(!p||isNaN(+h.v)?h.v:'="'+h.v+'"');break;case"d":h.w||(h.w=vn(h.z||It[14],yr(mr(h.v)))),p?s+=i(h.w,"V"):s+=u(h.w);break;default:s+=`1,0\r
""`}s+=`\r
`}c.push(s)}return c.join("")+`-1,0\r
EOD`}return{to_workbook:n,to_sheet:t,from_sheet:l}}(),g0=function(){function e(c){return c.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
`)}function r(c){return c.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(c,o){for(var a=c.split(`
`),s=-1,d=-1,h=0,y=[];h!==a.length;++h){var b=a[h].trim().split(":");if(b[0]==="cell"){var w=fr(b[1]);if(y.length<=w.r)for(s=y.length;s<=w.r;++s)y[s]||(y[s]=[]);switch(s=w.r,d=w.c,b[2]){case"t":y[s][d]=e(b[3]);break;case"v":y[s][d]=+b[3];break;case"vtf":var x=b[b.length-1];case"vtc":switch(b[3]){case"nl":y[s][d]=!!+b[4];break;default:y[s][d]=+b[4];break}b[2]=="vtf"&&(y[s][d]=[y[s][d],x])}}}return o&&o.sheetRows&&(y=y.slice(0,o.sheetRows)),y}function n(c,o){return xa(t(c,o),o)}function i(c,o){return _i(n(c,o),o)}var u=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
`),l=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
`)+`
`,m=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
`),p="--SocialCalcSpreadsheetControlSave--";function g(c){if(!c||!c["!ref"])return"";for(var o=[],a=[],s,d="",h=Dr(c["!ref"]),y=c["!data"]!=null,b=h.s.r;b<=h.e.r;++b)for(var w=h.s.c;w<=h.e.c;++w)if(d=$t({r:b,c:w}),s=y?(c["!data"][b]||[])[w]:c[d],!(!s||s.v==null||s.t==="z")){switch(a=["cell",d,"t"],s.t){case"s":case"str":a.push(r(s.v));break;case"n":s.f?(a[2]="vtf",a[3]="n",a[4]=s.v,a[5]=r(s.f)):(a[2]="v",a[3]=s.v);break;case"b":a[2]="vt"+(s.f?"f":"c"),a[3]="nl",a[4]=s.v?"1":"0",a[5]=r(s.f||(s.v?"TRUE":"FALSE"));break;case"d":var x=yr(mr(s.v));a[2]="vtc",a[3]="nd",a[4]=""+x,a[5]=s.w||vn(s.z||It[14],x);break;case"e":continue}o.push(a.join(":"))}return o.push("sheet:c:"+(h.e.c-h.s.c+1)+":r:"+(h.e.r-h.s.r+1)+":tvf:1"),o.push("valueformat:1:text-wiki"),o.join(`
`)}function v(c){return[u,l,m,l,g(c),p].join(`
`)}return{to_workbook:i,to_sheet:n,from_sheet:v}}(),ya=function(){function e(v,c,o,a,s){s.raw?c[o][a]=v:v===""||(v==="TRUE"?c[o][a]=!0:v==="FALSE"?c[o][a]=!1:isNaN(mn(v))?isNaN($a(v).getDate())?c[o][a]=v:c[o][a]=mr(v):c[o][a]=mn(v))}function r(v,c){var o=c||{},a=[];if(!v||v.length===0)return a;for(var s=v.split(/[\r\n]/),d=s.length-1;d>=0&&s[d].length===0;)--d;for(var h=10,y=0,b=0;b<=d;++b)y=s[b].indexOf(" "),y==-1?y=s[b].length:y++,h=Math.max(h,y);for(b=0;b<=d;++b){a[b]=[];var w=0;for(e(s[b].slice(0,h).trim(),a,b,w,o),w=1;w<=(s[b].length-h)/10+1;++w)e(s[b].slice(h+(w-1)*10,h+w*10).trim(),a,b,w,o)}return o.sheetRows&&(a=a.slice(0,o.sheetRows)),a}var t={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(v){for(var c={},o=!1,a=0,s=0;a<v.length;++a)(s=v.charCodeAt(a))==34?o=!o:!o&&s in t&&(c[s]=(c[s]||0)+1);s=[];for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&s.push([c[a],a]);if(!s.length){c=n;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&s.push([c[a],a])}return s.sort(function(d,h){return d[0]-h[0]||n[d[1]]-n[h[1]]}),t[s.pop()[1]]||44}function u(v,c){var o=c||{},a="";xr!=null&&o.dense==null&&(o.dense=xr);var s={};o.dense&&(s["!data"]=[]);var d={s:{c:0,r:0},e:{c:0,r:0}};v.slice(0,4)=="sep="?v.charCodeAt(5)==13&&v.charCodeAt(6)==10?(a=v.charAt(4),v=v.slice(7)):v.charCodeAt(5)==13||v.charCodeAt(5)==10?(a=v.charAt(4),v=v.slice(6)):a=i(v.slice(0,1024)):o&&o.FS?a=o.FS:a=i(v.slice(0,1024));var h=0,y=0,b=0,w=0,x=0,_=a.charCodeAt(0),C=!1,R=0,P=v.charCodeAt(0),S=o.dateNF!=null?_1(o.dateNF):null;function A(){var k=v.slice(w,x);k.slice(-1)=="\r"&&(k=k.slice(0,-1));var T={};if(k.charAt(0)=='"'&&k.charAt(k.length-1)=='"'&&(k=k.slice(1,-1).replace(/""/g,'"')),o.cellText!==!1&&(T.w=k),k.length===0)T.t="z";else if(o.raw)T.t="s",T.v=k;else if(k.trim().length===0)T.t="s",T.v=k;else if(k.charCodeAt(0)==61)k.charCodeAt(1)==34&&k.charCodeAt(k.length-1)==34?(T.t="s",T.v=k.slice(2,-1).replace(/""/g,'"')):v2(k)?(T.t="n",T.f=k.slice(1)):(T.t="s",T.v=k);else if(k=="TRUE")T.t="b",T.v=!0;else if(k=="FALSE")T.t="b",T.v=!1;else if(!isNaN(b=mn(k)))T.t="n",T.v=b;else if(!isNaN((b=$a(k)).getDate())||S&&k.match(S)){if(T.z=o.dateNF||It[14],S&&k.match(S)){var I=k1(k,o.dateNF,k.match(S)||[]);b=mr(I),o&&o.UTC===!1&&(b=Hi(b))}else o&&o.UTC===!1?b=Hi(b):o.cellText!==!1&&o.dateNF&&(T.w=vn(T.z,b));o.cellDates?(T.t="d",T.v=b):(T.t="n",T.v=yr(b)),o.cellNF||delete T.z}else T.t="s",T.v=k;if(T.t=="z"||(o.dense?(s["!data"][h]||(s["!data"][h]=[]),s["!data"][h][y]=T):s[$t({c:y,r:h})]=T),w=x+1,P=v.charCodeAt(w),d.e.c<y&&(d.e.c=y),d.e.r<h&&(d.e.r=h),R==_)++y;else if(y=0,++h,o.sheetRows&&o.sheetRows<=h)return!0}e:for(;x<v.length;++x)switch(R=v.charCodeAt(x)){case 34:P===34&&(C=!C);break;case 13:if(C)break;v.charCodeAt(x+1)==10&&++x;case _:case 10:if(!C&&A())break e;break;default:break}return x-w>0&&A(),s["!ref"]=Vt(d),s}function l(v,c){return!(c&&c.PRN)||c.FS||v.slice(0,4)=="sep="||v.indexOf(" ")>=0||v.indexOf(",")>=0||v.indexOf(";")>=0?u(v,c):xa(r(v,c),c)}function m(v,c){var o="",a=c.type=="string"?[0,0,0,0]:Bc(v,c);switch(c.type){case"base64":o=yn(v);break;case"binary":o=v;break;case"buffer":c.codepage==65001?o=v.toString("utf8"):c.codepage&&typeof Yt!="undefined"?o=Yt.utils.decode(c.codepage,v):o=qt&&Buffer.isBuffer(v)?v.toString("binary"):Jn(v);break;case"array":o=zi(v);break;case"string":o=v;break;default:throw new Error("Unrecognized type "+c.type)}return a[0]==239&&a[1]==187&&a[2]==191?o=ur(o.slice(3)):c.type!="string"&&c.type!="buffer"&&c.codepage==65001?o=ur(o):c.type=="binary"&&typeof Yt!="undefined"&&c.codepage&&(o=Yt.utils.decode(c.codepage,Yt.utils.encode(28591,o))),o.slice(0,19)=="socialcalc:version:"?g0.to_sheet(c.type=="string"?o:ur(o),c):l(o,c)}function p(v,c){return _i(m(v,c),c)}function g(v){for(var c=[],o=ir(v["!ref"]),a,s=v["!data"]!=null,d=o.s.r;d<=o.e.r;++d){for(var h=[],y=o.s.c;y<=o.e.c;++y){var b=$t({r:d,c:y});if(a=s?(v["!data"][d]||[])[y]:v[b],!a||a.v==null){h.push(" ");continue}for(var w=(a.w||(ci(a),a.w)||"").slice(0,10);w.length<10;)w+=" ";h.push(w+(y===0?" ":""))}c.push(h.join(""))}return c.join(`
`)}return{to_workbook:p,to_sheet:m,from_sheet:g}}();function Yv(e,r){var t=r||{},n=!!t.WTF;t.WTF=!0;try{var i=v0.to_workbook(e,t);return t.WTF=n,i}catch(u){if(t.WTF=n,!u.message.match(/SYLK bad record ID/)&&n)throw u;return ya.to_workbook(e,r)}}var Di=function(){function e(M,B,z){if(!!M){Rr(M,M.l||0);for(var q=z.Enum||Y;M.l<M.length;){var J=M.read_shift(2),Q=q[J]||q[65535],K=M.read_shift(2),ie=M.l+K,Z=Q.f&&Q.f(M,K,z);if(M.l=ie,B(Z,Q,J))return}}}function r(M,B){switch(B.type){case"base64":return n(on(yn(M)),B);case"binary":return n(on(M),B);case"buffer":case"array":return n(M,B)}throw"Unsupported type "+B.type}var t=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function n(M,B){if(!M)return M;var z=B||{};xr!=null&&z.dense==null&&(z.dense=xr);var q={},J="Sheet1",Q="",K=0,ie={},Z=[],re=[],ae=[];z.dense&&(ae=q["!data"]=[]);var ce={s:{r:0,c:0},e:{r:0,c:0}},ke=z.sheetRows||0,we={};if(M[4]==81&&M[5]==80&&M[6]==87)return te(M,B);if(M[2]==0&&(M[3]==8||M[3]==9)&&M.length>=16&&M[14]==5&&M[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(M[2]==2)z.Enum=Y,e(M,function(be,_e,Oe){switch(Oe){case 0:z.vers=be,be>=4096&&(z.qpro=!0);break;case 255:z.vers=be,z.works=!0;break;case 6:ce=be;break;case 204:be&&(Q=be);break;case 222:Q=be;break;case 15:case 51:(!z.qpro&&!z.works||Oe==51)&&be[1].v.charCodeAt(0)<48&&(be[1].v=be[1].v.slice(1)),(z.works||z.works2)&&(be[1].v=be[1].v.replace(/\r\n/g,`
`));case 13:case 14:case 16:(be[2]&112)==112&&(be[2]&15)>1&&(be[2]&15)<15&&(be[1].z=z.dateNF||t[(be[2]&15)-1]||It[14],z.cellDates&&(be[1].v=oi(be[1].v),be[1].t=typeof be[1].v=="number"?"n":"d")),z.qpro&&be[3]>K&&(q["!ref"]=Vt(ce),ie[J]=q,Z.push(J),q={},z.dense&&(ae=q["!data"]=[]),ce={s:{r:0,c:0},e:{r:0,c:0}},K=be[3],J=Q||"Sheet"+(K+1),Q="");var Fe=z.dense?(ae[be[0].r]||[])[be[0].c]:q[$t(be[0])];if(Fe){Fe.t=be[1].t,Fe.v=be[1].v,be[1].z!=null&&(Fe.z=be[1].z),be[1].f!=null&&(Fe.f=be[1].f),we=Fe;break}z.dense?(ae[be[0].r]||(ae[be[0].r]=[]),ae[be[0].r][be[0].c]=be[1]):q[$t(be[0])]=be[1],we=be[1];break;case 21509:z.works2=!0;break;case 21506:be==5281&&(we.z="hh:mm:ss",z.cellDates&&we.t=="n"&&(we.v=oi(we.v),we.t=typeof we.v=="number"?"n":"d"));break}},z);else if(M[2]==26||M[2]==14)z.Enum=ee,M[2]==14&&(z.qpro=!0,M.l=0),e(M,function(be,_e,Oe){switch(Oe){case 204:J=be;break;case 22:be[1].v.charCodeAt(0)<48&&(be[1].v=be[1].v.slice(1)),be[1].v=be[1].v.replace(/\x0F./g,function(Fe){return String.fromCharCode(Fe.charCodeAt(1)-32)}).replace(/\r\n/g,`
`);case 23:case 24:case 25:case 37:case 39:case 40:if(be[3]>K&&(q["!ref"]=Vt(ce),ie[J]=q,Z.push(J),q={},z.dense&&(ae=q["!data"]=[]),ce={s:{r:0,c:0},e:{r:0,c:0}},K=be[3],J="Sheet"+(K+1)),ke>0&&be[0].r>=ke)break;z.dense?(ae[be[0].r]||(ae[be[0].r]=[]),ae[be[0].r][be[0].c]=be[1]):q[$t(be[0])]=be[1],ce.e.c<be[0].c&&(ce.e.c=be[0].c),ce.e.r<be[0].r&&(ce.e.r=be[0].r);break;case 27:be[14e3]&&(re[be[14e3][0]]=be[14e3][1]);break;case 1537:re[be[0]]=be[1],be[0]==K&&(J=be[1]);break;default:break}},z);else throw new Error("Unrecognized LOTUS BOF "+M[2]);if(q["!ref"]=Vt(ce),ie[Q||J]=q,Z.push(Q||J),!re.length)return{SheetNames:Z,Sheets:ie};for(var Se={},Ge=[],xe=0;xe<re.length;++xe)ie[Z[xe]]?(Ge.push(re[xe]||Z[xe]),Se[re[xe]]=ie[re[xe]]||ie[Z[xe]]):(Ge.push(re[xe]),Se[re[xe]]={"!ref":"A1"});return{SheetNames:Ge,Sheets:Se}}function i(M,B){var z=B||{};if(+z.codepage>=0&&Ln(+z.codepage),z.type=="string")throw new Error("Cannot write WK1 to JS string");var q=Kr(),J=ir(M["!ref"]),Q=M["!data"]!=null,K=[];yt(q,0,l(1030)),yt(q,6,g(J));for(var ie=Math.min(J.e.r,8191),Z=J.s.c;Z<=J.e.c;++Z)K[Z]=Zt(Z);for(var re=J.s.r;re<=ie;++re){var ae=Jt(re);for(Z=J.s.c;Z<=J.e.c;++Z){var ce=Q?(M["!data"][re]||[])[Z]:M[K[Z]+ae];if(!(!ce||ce.t=="z"))switch(ce.t){case"n":(ce.v|0)==ce.v&&ce.v>=-32768&&ce.v<=32767?yt(q,13,h(re,Z,ce)):yt(q,14,b(re,Z,ce));break;case"d":var ke=yr(ce.v);(ke|0)==ke&&ke>=-32768&&ke<=32767?yt(q,13,h(re,Z,{t:"n",v:ke,z:ce.z||It[14]})):yt(q,14,b(re,Z,{t:"n",v:ke,z:ce.z||It[14]}));break;default:var we=ci(ce);yt(q,15,a(re,Z,we.slice(0,239)))}}}return yt(q,1),q.end()}function u(M,B){var z=B||{};if(+z.codepage>=0&&Ln(+z.codepage),z.type=="string")throw new Error("Cannot write WK3 to JS string");var q=Kr();yt(q,0,m(M));for(var J=0,Q=0;J<M.SheetNames.length;++J)(M.Sheets[M.SheetNames[J]]||{})["!ref"]&&yt(q,27,X(M.SheetNames[J],Q++));var K=0;for(J=0;J<M.SheetNames.length;++J){var ie=M.Sheets[M.SheetNames[J]];if(!(!ie||!ie["!ref"])){for(var Z=ir(ie["!ref"]),re=ie["!data"]!=null,ae=[],ce=Math.min(Z.e.r,8191),ke=Z.s.r;ke<=ce;++ke)for(var we=Jt(ke),Se=Z.s.c;Se<=Z.e.c;++Se){ke===Z.s.r&&(ae[Se]=Zt(Se));var Ge=ae[Se]+we,xe=re?(ie["!data"][ke]||[])[Se]:ie[Ge];if(!(!xe||xe.t=="z"))if(xe.t=="n")yt(q,23,I(ke,Se,K,xe.v));else{var be=ci(xe);yt(q,22,A(ke,Se,K,be.slice(0,239)))}}++K}}return yt(q,1),q.end()}function l(M){var B=et(2);return B.write_shift(2,M),B}function m(M){var B=et(26);B.write_shift(2,4096),B.write_shift(2,4),B.write_shift(4,0);for(var z=0,q=0,J=0,Q=0;Q<M.SheetNames.length;++Q){var K=M.SheetNames[Q],ie=M.Sheets[K];if(!(!ie||!ie["!ref"])){++J;var Z=Dr(ie["!ref"]);z<Z.e.r&&(z=Z.e.r),q<Z.e.c&&(q=Z.e.c)}}return z>8191&&(z=8191),B.write_shift(2,z),B.write_shift(1,J),B.write_shift(1,q),B.write_shift(2,0),B.write_shift(2,0),B.write_shift(1,1),B.write_shift(1,2),B.write_shift(4,0),B.write_shift(4,0),B}function p(M,B,z){var q={s:{c:0,r:0},e:{c:0,r:0}};return B==8&&z.qpro?(q.s.c=M.read_shift(1),M.l++,q.s.r=M.read_shift(2),q.e.c=M.read_shift(1),M.l++,q.e.r=M.read_shift(2),q):(q.s.c=M.read_shift(2),q.s.r=M.read_shift(2),B==12&&z.qpro&&(M.l+=2),q.e.c=M.read_shift(2),q.e.r=M.read_shift(2),B==12&&z.qpro&&(M.l+=2),q.s.c==65535&&(q.s.c=q.e.c=q.s.r=q.e.r=0),q)}function g(M){var B=et(8);return B.write_shift(2,M.s.c),B.write_shift(2,M.s.r),B.write_shift(2,M.e.c),B.write_shift(2,M.e.r),B}function v(M,B,z){var q=[{c:0,r:0},{t:"n",v:0},0,0];return z.qpro&&z.vers!=20768?(q[0].c=M.read_shift(1),q[3]=M.read_shift(1),q[0].r=M.read_shift(2),M.l+=2):z.works?(q[0].c=M.read_shift(2),q[0].r=M.read_shift(2),q[2]=M.read_shift(2)):(q[2]=M.read_shift(1),q[0].c=M.read_shift(2),q[0].r=M.read_shift(2)),q}function c(M){return M.z&&Tn(M.z)?240|(t.indexOf(M.z)+1||2):255}function o(M,B,z){var q=M.l+B,J=v(M,B,z);if(J[1].t="s",(z.vers&65534)==20768){M.l++;var Q=M.read_shift(1);return J[1].v=M.read_shift(Q,"utf8"),J}return z.qpro&&M.l++,J[1].v=M.read_shift(q-M.l,"cstr"),J}function a(M,B,z){var q=et(7+z.length);q.write_shift(1,255),q.write_shift(2,B),q.write_shift(2,M),q.write_shift(1,39);for(var J=0;J<q.length;++J){var Q=z.charCodeAt(J);q.write_shift(1,Q>=128?95:Q)}return q.write_shift(1,0),
`);break}c=v.lastIndex}a>l.e.c&&(l.e.c=a)}),n["!ref"]=Vt(l),n}function Mb(e,r){var t=_i(Pb(e,r),r);return t.bookType="rtf",t}function jb(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";for(var n=ir(e["!ref"]),i,u=e["!data"]!=null,l=[],m=n.s.r;m<=n.e.r;++m){t.push("\\trowd\\trautofit1");for(var p=n.s.c;p<=n.e.c;++p)t.push("\\cellx"+(p+1));for(t.push("\\pard\\intbl"),u&&(l=e["!data"][m]||[]),p=n.s.c;p<=n.e.c;++p){var g=$t({r:m,c:p});if(i=u?l[p]:e[g],!i||i.v==null&&(!i.f||i.F)){t.push(" \\cell");continue}t.push(" "+(i.w||(ci(i),i.w)||"").replace(/[\r\n]/g,"\\par ")),t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function Fb(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function Qa(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function Lb(e){var r=e[0]/255,t=e[1]/255,n=e[2]/255,i=Math.max(r,t,n),u=Math.min(r,t,n),l=i-u;if(l===0)return[0,0,r];var m=0,p=0,g=i+u;switch(p=l/(g>1?2-g:g),i){case r:m=((t-n)/l+6)%6;break;case t:m=(n-r)/l+2;break;case n:m=(r-t)/l+4;break}return[m/6,p,g/2]}function Ib(e){var r=e[0],t=e[1],n=e[2],i=t*2*(n<.5?n:1-n),u=n-i/2,l=[u,u,u],m=6*r,p;if(t!==0)switch(m|0){case 0:case 6:p=i*m,l[0]+=i,l[1]+=p;break;case 1:p=i*(2-m),l[0]+=p,l[1]+=i;break;case 2:p=i*(m-2),l[1]+=i,l[2]+=p;break;case 3:p=i*(4-m),l[1]+=p,l[2]+=i;break;case 4:p=i*(m-4),l[2]+=i,l[0]+=p;break;case 5:p=i*(6-m),l[2]+=p,l[0]+=i;break}for(var g=0;g!=3;++g)l[g]=Math.round(l[g]*255);return l}function qo(e,r){if(r===0)return e;var t=Lb(Fb(e));return r<0?t[2]=t[2]*(1+r):t[2]=1-(1-t[2])*(1-r),Qa(Ib(t))}var S0=6,Db=15,Nb=1,$r=S0;function eo(e){return Math.floor((e+Math.round(128/$r)/256)*$r)}function to(e){return Math.floor((e-5)/$r*100+.5)/100}function Zo(e){return Math.round((e*$r+5)/$r*256)/256}function Rs(e){return Zo(to(eo(e)))}function Rc(e){var r=Math.abs(e-Rs(e)),t=$r;if(r>.005)for($r=Nb;$r<Db;++$r)Math.abs(e-Rs(e))<=r&&(r=Math.abs(e-Rs(e)),t=$r);$r=t}function gi(e){e.width?(e.wpx=eo(e.width),e.wch=to(e.wpx),e.MDW=$r):e.wpx?(e.wch=to(e.wpx),e.width=Zo(e.wch),e.MDW=$r):typeof e.wch=="number"&&(e.width=Zo(e.wch),e.wpx=eo(e.width),e.MDW=$r),e.customWidth&&delete e.customWidth}var Bb=96,E0=Bb;function ro(e){return e*96/E0}function va(e){return e*E0/96}var Ub={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function zb(e,r,t,n){r.Borders=[];var i={},u=!1;(e[0].match(Br)||[]).forEach(function(l){var m=Rt(l);switch(Cn(m[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},m.diagonalUp&&(i.diagonalUp=cr(m.diagonalUp)),m.diagonalDown&&(i.diagonalDown=cr(m.diagonalDown)),r.Borders.push(i);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":u=!0;break;case"</ext>":u=!1;break;default:if(n&&n.WTF&&!u)throw new Error("unrecognized "+m[0]+" in borders")}})}function Hb(e,r,t,n){r.Fills=[];var i={},u=!1;(e[0].match(Br)||[]).forEach(function(l){var m=Rt(l
<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 $g(e){var r=[];if(!e)return r;var t=1;return(e.match(Br)||[]).forEach(function(n){var i=Rt(n);switch(i[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete i[0],i.i?t=i.i:i.i=t,r.push(i);break}}),r}function qg(e){var r={};r.i=e.read_shift(4);var t={};t.r=e.read_shift(4),t.c=e.read_shift(4),r.r=$t(t);var n=e.read_shift(1);return n&2&&(r.l="1"),n&8&&(r.a="1"),r}function Zg(e,r,t){var n=[],i=!1;return fi(e,function(l,m,p){switch(p){case 63:n.push(l);break;default:if(!m.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}}}),n}function Gg(e,r,t,n){if(!e)return e;var i=n||{},u=!1,l=!1;fi(e,function(p,g,v){if(!l)switch(v){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:u=!0;break;case 36:u=!1;break;default:if(!g.T){if(!u||i.WTF)throw new Error("Unexpected record 0x"+v.toString(16))}}},i)}function Yg(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var Kg=/<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g;function Jg(e,r,t){var n=0;(e.match(Kg)||[]).forEach(function(i){var u="",l=!0,m=-1,p=-1,g=-1;switch(i.replace(Br,function(c,o){var a=Rt(c);switch(Cn(a[0])){case"<ClientData":a.ObjectType&&(u=a.ObjectType);break;case"<Visible":case"<Visible/>":l=!1;break;case"<Row":case"<Row>":m=o+c.length;break;case"</Row>":p=+i.slice(m,o).trim();break;case"<Column":case"<Column>":m=o+c.length;break;case"</Column>":g=+i.slice(m,o).trim();break}return""}),u){case"Note":var v=so(r,p>=0&&g>=0?$t({r:p,c:g}):t[n].ref);v.c&&(v.c.hidden=l),++n;break}})}function C0(e,r,t){var n=[21600,21600],i=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),u=[kt("xml",null,{"xmlns:v":pn.v,"xmlns:o":pn.o,"xmlns:x":pn.x,"xmlns:mv":pn.mv}).replace(/\/>/,">"),kt("o:shapelayout",kt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})],l=65536*e,m=r||[];return m.length>0&&u.push(kt("v:shapetype",[kt("v:stroke",null,{joinstyle:"miter"}),kt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:n.join(","),"o:spt":202,path:i})),m.forEach(function(p){++l,u.push(Qg(p,l))}),u.push("</xml>"),u.join("")}function Qg(e,r,t){var n=fr(e[0]),i={color2:"#BEFF82",type:"gradient"};i.type=="gradient"&&(i.angle="-180");var u=i.type=="gradient"?kt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,l=kt("v:fill",u,i),m={on:"t",obscured:"t"};return["<v:shape"+Za({id:"_x0000_s"+r,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",l,kt("v:shadow",null,m),kt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Nr("x:Anchor",[n.c+1,0,n.r+1,0,n.c+3,20,n.r+5,20].join(",")),Nr("x:AutoFill","False"),Nr("x:Row",String(n.r)),Nr("x:Column",String(n.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function Vl(e,r,t,n){var i=e["!data"]!=null,u;r.forEach(function(l){var m=fr(l.ref);if(!(m.r<0||m.c<0)){if(i?(e["!data"][m.r]||(e["!data"][m.r]=[]),u=e["!data"][m.r][m.c]):u=e[l.ref],!u){u={t:"z"},i?e["!data"][m.r][m.c]=u:e[l.ref]=u;var p=ir(e["!ref"]||"BDWGO1000001:A1");p.s.r>m.r&&(p.s.r=m.r),p.e.r<m.r&&(p.e.r=m.r),p.s.c>m.c&&(p.s.c=m.c),p.e.c<m.c&&(p.e.c=m.c);var g=Vt(p);e["!ref"]=g}u.c||(u.c=[]);var v={a:l.author,t:l.t,r:l.r,T:t};l.h&&(v.h=l.h);for(var c=u.c.length-1;c>=0;--c){if(!t&&u.c[c].T)return;t&&!u.c[c].T&&u.c.splice(c,1)}if(t&&n){for(c=0;c<n.length;++c)if(v.a==n[c].id){v.a=n[c].name||v.a;break}}u.c.push(v)}})}function e2(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var t=[],n=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(l){if(!(l===""||l.trim()==="")
`).replace(/\r/g,`
`),r.cellHTML&&(g.h=o.h),n.push(g)}}}}),n}function t2(e){var r=[kr,kt("comments",null,{xmlns:qi[0]})],t=[];return r.push("<authors>"),e.forEach(function(n){n[1].forEach(function(i){var u=Xt(i.a);t.indexOf(u)==-1&&(t.push(u),r.push("<author>"+u+"</author>")),i.T&&i.ID&&t.indexOf("tc="+i.ID)==-1&&(t.push("tc="+i.ID),r.push("<author>tc="+i.ID+"</author>"))})}),t.length==0&&(t.push("SheetJ5"),r.push("<author>SheetJ5</author>")),r.push("</authors>"),r.push("<commentList>"),e.forEach(function(n){var i=0,u=[],l=0;if(n[1][0]&&n[1][0].T&&n[1][0].ID&&(i=t.indexOf("tc="+n[1][0].ID)),n[1].forEach(function(g){g.a&&(i=t.indexOf(Xt(g.a))),g.T&&++l,u.push(g.t==null?"":Xt(g.t))}),l===0)n[1].forEach(function(g){r.push('<comment ref="'+n[0]+'" authorId="'+t.indexOf(Xt(g.a))+'"><text>'),r.push(Nr("t",g.t==null?"":Xt(g.t))),r.push("</text></comment>")});else{n[1][0]&&n[1][0].T&&n[1][0].ID&&(i=t.indexOf("tc="+n[1][0].ID)),r.push('<comment ref="'+n[0]+'" authorId="'+i+'"><text>');for(var m=`Comment:
`+u[0]+`
`,p=1;p<u.length;++p)m+=`Reply:
`+u[p]+`
`;r.push(Nr("t",Xt(m))),r.push("</text></comment>")}}),r.push("</commentList>"),r.length>2&&(r[r.length]="</comments>",r[1]=r[1].replace("/>",">")),r.join("")}function r2(e,r){var t=[],n=!1,i={},u=0;return e.replace(Br,function(m,p){var g=Rt(m);switch(Cn(g[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":i={author:g.personId,guid:g.id,ref:g.ref,T:1};break;case"</threadedComment>":i.t!=null&&t.push(i);break;case"<text>":case"<text":u=p+m.length;break;case"</text>":i.t=e.slice(u,p).replace(/\r\n/g,`
`).replace(/\r/g,`
`);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&&r.WTF)throw new Error("unrecognized "+g[0]+" in threaded comments")}return m}),t}function A0(e,r,t){var n=[kr,kt("ThreadedComments",null,{xmlns:Pr.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(i){var u="";(i[1]||[]).forEach(function(l,m){if(!l.T){delete l.ID;return}l.a&&r.indexOf(l.a)==-1&&r.push(l.a);var p={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};m==0?u=p.id:p.parentId=u,l.ID=p.id,l.a&&(p.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(l.a)).slice(-12)+"}"),n.push(kt("threadedComment",Nr("text",l.t||""),p))})}),n.push("</ThreadedComments>"),n.join("")}function n2(e,r){var t=[],n=!1;return e.replace(Br,function(u){var l=Rt(u);switch(Cn(l[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:l.displayname,id:l.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&&r.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return u}),t}function R0(e){var r=[kr,kt("personList",null,{xmlns:Pr.TCMNT,"xmlns:x":qi[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,n){r.push(kt("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push("</personList>"),r.join("")}function i2(e){var r={};r.iauthor=e.read_shift(4);var t=Ki(e,16);return r.rfx=t.s,r.ref=$t(t.s),e.l+=16,r}function a2(e,r){return r==null&&(r=et(36)),r.write_shift(4,e[1].iauthor),_a(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var o2=Jr;function Xl(e){return Mr(e.slice(0,54))}function s2(e,r){var t=[],n=[],i={},u=!1;return fi(e,function(m,p,g){switch(g){case 632:n.push(m);break;case 635:i=m;break;case 637:i.t=m.t,i.h=m.h,i.r=m.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,r.sheetRows&&i.rfx&&r.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,t.push(i);break;case 3072:break;case 35:u=!0;break;case 36:u=!1;break;case 37:break;case 38:break;default:if(!p.T){if(!u||r.WTF)throw new Error("Unexpected record 0x"+g.toString(16))}}}),t}function c2(e){var r=Kr(),t=[];return st(r,628),st(r,630),e.forEach(function(n){n[1].forEach(function(i){t.indexOf(i.a)>-1||(t.push(i.a.slice(0,54)),st(r,632,Xl(i.a)),i.T&&i.ID&&t.indexOf("tc="+i.ID)==-1&&(t.push("tc="+i.ID),st(r,632,Xl("tc="+i.ID))))})}),st(r,631),st(r,633),e.forEach(function(n){n[1].forEach(function(i){var u=-1;i.ID&&(u=t.indexOf("tc="+i.ID)),u==-1&&n[1][0].T&&n[1][0].ID&&(u=t.indexOf("tc="+n[1][0].ID)),u==-1&&(u=t.indexOf(i.a)),i.iauthor=u;var l={s:fr(n[0]),e:fr(n[0])};st(r,635,a2([l,i])),i.t&&i.t.length>0&&st(r,637,vm(i)),st(r,636),delete i.iauthor})}),st(r,634),st(r,629),r.end()}var u2="application/vnd.ms-office.vbaProject";function f2(e){var r=Dt.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(t,n){if(!(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))){var i=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Dt.utils.cfb_add(r,i,e.FileIndex[n].content)}}),Dt.write(r)}function l2(e,r){r.FullPaths.forEach(function(t,n){if(n!=0){var i=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&Dt.utils.cfb_add(e,i,r.FileIndex[n].content)}})}var h2=["xlsb","xlsm","xlam","biff8","xla"];function d2(){return{"!type":"dialog"}}function p2(){return{"!type":"dialog"}}function m2(){return{"!type":"macro"}}function y2(){return{"!type":"macro"}}var Ni=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,i,u,l){var m=!1,p=!1;u.length==0?p=!0:u.charAt(0)=="["&&(p=!0,u=u.slice(1,-1)),l.length==0?m=!0:l.charAt(0)=="["&&(m=!0,l=l.slice(1,-1));var g=u.length>0?parseInt(u,10)|0:0,v=l.length>0?parseInt(l,10)|0:0;return m?v+=r.c:--v,p?g+=r.r:--g,i+(m?"":"$")+Zt(v)+(p?"":"$")+Jt(g)}re
`).replace(/\r/g,`
`),e.v=e.w=e.ixfe=void 0}function Is(e,r){var t=r||{};ga();var n=Ma(es(e));(t.type=="binary"||t.type=="array"||t.type=="base64")&&(typeof Yt!="undefined"?n=Yt.utils.decode(65001,Hs(n)):n=ur(n));var i=n.slice(0,1024).toLowerCase(),u=!1;if(i=i.replace(/".*?"/g,""),(i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var l=hr(t);return l.type="string",ya.to_workbook(n,l)}if(i.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(ce){i.indexOf("<"+ce)>=0&&(u=!0)}),u)return T_(n,t);Ua={"General Number":"General","General Date":It[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":It[15],"Short Date":It[14],"Long Time":It[19],"Medium Time":It[18],"Short Time":It[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:It[2],Standard:It[4],Percent:It[10],Scientific:It[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var m,p=[],g;xr!=null&&t.dense==null&&(t.dense=xr);var v={},c=[],o={},a="";t.dense&&(o["!data"]=[]);var s={},d={},h=jn('<Data ss:Type="String">'),y=0,b=0,w=0,x={s:{r:2e6,c:2e6},e:{r:0,c:0}},_={},C={},R="",P=0,S=[],A={},k={},T=0,I=[],E=[],O={},j=[],L,N=!1,D=[],U=[],G={},X=0,Y=0,ee={Sheets:[],WBProps:{date1904:!1}},ne={};Cr.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/mg,"");for(var te="";m=Cr.exec(n);)switch(m[3]=(te=m[3]).toLowerCase()){case"data":if(te=="data"){if(m[1]==="/"){if((g=p.pop())[0]!==m[3])throw new Error("Bad state: "+g.join("|"))}else m[0].charAt(m[0].length-2)!=="/"&&p.push([m[3],!0]);break}if(p[p.length-1][1])break;m[1]==="/"?B4(n.slice(y,m.index),R,h,p[p.length-1][0]=="comment"?O:s,{c:b,r:w},_,j[b],d,D,t,ee.WBProps.date1904):(R="",h=jn(m[0]),y=m.index+m[0].length);break;case"cell":if(m[1]==="/")if(E.length>0&&(s.c=E),(!t.sheetRows||t.sheetRows>w)&&s.v!==void 0&&(t.dense?(o["!data"][w]||(o["!data"][w]=[]),o["!data"][w][b]=s):o[Zt(b)+Jt(w)]=s),s.HRef&&(s.l={Target:Kt(s.HRef)},s.HRefScreenTip&&(s.l.Tooltip=s.HRefScreenTip),delete s.HRef,delete s.HRefScreenTip),(s.MergeAcross||s.MergeDown)&&(X=b+(parseInt(s.MergeAcross,10)|0),Y=w+(parseInt(s.MergeDown,10)|0),(X>b||Y>w)&&S.push({s:{c:b,r:w},e:{c:X,r:Y}})),!t.sheetStubs)s.MergeAcross?b=X+1:++b;else if(s.MergeAcross||s.MergeDown){for(var M=b;M<=X;++M)for(var B=w;B<=Y;++B)(M>b||B>w)&&(t.dense?(o["!data"][B]||(o["!data"][B]=[]),o["!data"][B][M]={t:"z"}):o[Zt(M)+Jt(B)]={t:"z"});b=X+1}else++b;else s=F4(m[0]),s.Index&&(b=+s.Index-1),b<x.s.c&&(x.s.c=b),b>x.e.c&&(x.e.c=b),m[0].slice(-2)==="/>"&&++b,E=[];break;case"row":m[1]==="/"||m[0].slice(-2)==="/>"?(w<x.s.r&&(x.s.r=w),w>x.e.r&&(x.e.r=w),m[0].slice(-2)==="/>"&&(d=jn(m[0]),d.Index&&(w=+d.Index-1)),b=0,++w):(d=jn(m[0]),d.Index&&(w=+d.Index-1),G={},(d.AutoFitHeight=="0"||d.Height)&&(G.hpx=parseInt(d.Height,10),G.hpt=ro(G.hpx),U[w]=G),d.Hidden=="1"&&(G.hidden=!0,U[w]=G));break;case"worksheet":if(m[1]==="/"){if((g=p.pop())[0]!==m[3])throw new Error("Bad state: "+g.join("|"));c.push(a),x.s.r<=x.e.r&&x.s.c<=x.e.c&&(o["!ref"]=Vt(x),t.sheetRows&&t.sheetRows<=x.e.r&&(o["!fullref"]=o["!ref"],x.e.r=t.sheetRows-1,o["!ref"]=Vt(x))),S.length&&(o["!merges"]=S),j.length>0&&(o["!cols"]=j),U.length>0&&(o["!rows"]=U),v[a]=o}else x={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=b=0,p.push([m[3],!1]),g=jn(m[0]),a=Kt(g.Name),o={},t.dense&&(o["!data"]=[]),S=[],D=[],U=[],ne={name:a,Hidden:0},ee.Sheets.push(ne);break;case"table":if(m[1]==="/"){if((g=p.pop())[0]!==m[3])throw new Error("Bad state: "+g.join("|"))}else{if(m[0].slice(-2)=="/>")break;p.push([m[3],!1]),j=[],N=!1}break;case"style":m[1]==="/"?N4(_,C,t):C=jn(m[0]);break;case"numberformat":C.nf=Kt(jn(m[0]).Format||"General"),Ua[C.nf]&&(C.nf=Ua[C.nf]);for(var z=0;z!=392&&It[z]!=C.nf;++z);if(z==392){for(z=57;z!=392;++z)if(It[z]==null){vi(C.nf,z);break}}break;case"column":if(p[p.length-1][0]!=="table"||m[1]==="/")break;if(L=jn(m[0]),L.Hidden&&(L.hidden=!0,delete L.Hidden),L.Width&&(L.wpx=parseInt(L.Width,10)),!N&&L.wpx>10){N=!0,$r=S0;for(var q=0;q<j.length;++q)j[q]&&gi(j[q])}N&&gi(L),j[L.Index-1||j.length]=L;for(var J=0;J<+L.Span;++J)j[j.length]=hr(L);break;case"namedrange":if(m[1]===
`),t=Kt(r.replace(/<[^>]*>/g,""));return[t]}function td(e,r,t){var n=t||{},i=es(e);Cr.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");for(var u,l,m="",p="",g,v=0,c=-1,o=!1,a="";u=Cr.exec(i);)switch(u[3]=u[3].replace(/_.*$/,"")){case"number-style":case"currency-style":case"percentage-style":case"date-style":case"time-style":case"text-style":u[1]==="/"?(o=!1,l["truncate-on-overflow"]=="false"&&(m.match(/h/)?m=m.replace(/h+/,"[$&]"):m.match(/m/)?m=m.replace(/m+/,"[$&]"):m.match(/s/)&&(m=m.replace(/s+/,"[$&]"))),n[l.name]=m,m=""):u[0].charAt(u[0].length-2)!=="/"&&(o=!0,m="",l=Rt(u[0],!1));break;case"boolean-style":u[1]==="/"?(o=!1,n[l.name]="General",m=""):u[0].charAt(u[0].length-2)!=="/"&&(o=!0,m="",l=Rt(u[0],!1));break;case"boolean":m+="General";break;case"text":u[1]==="/"?(a=i.slice(c,Cr.lastIndex-u[0].length),a=="%"&&l[0]=="<number:percentage-style"?m+="%":m+='"'+a.replace(/"/g,'""')+'"'):u[0].charAt(u[0].length-2)!=="/"&&(c=Cr.lastIndex);break;case"day":switch(g=Rt(u[0],!1),g.style){case"short":m+="d";break;case"long":m+="dd";break;default:m+="dd";break}break;case"day-of-week":switch(g=Rt(u[0],!1),g.style){case"short":m+="ddd";break;case"long":m+="dddd";break;default:m+="ddd";break}break;case"era":switch(g=Rt(u[0],!1),g.style){case"short":m+="ee";break;case"long":m+="eeee";break;default:m+="eeee";break}break;case"hours":switch(g=Rt(u[0],!1),g.style){case"short":m+="h";break;case"long":m+="hh";break;default:m+="hh";break}break;case"minutes":switch(g=Rt(u[0],!1),g.style){case"short":m+="m";break;case"long":m+="mm";break;default:m+="mm";break}break;case"month":switch(g=Rt(u[0],!1),g.textual&&(m+="mm"),g.style){case"short":m+="m";break;case"long":m+="mm";break;default:m+="m";break}break;case"seconds":{switch(g=Rt(u[0],!1),g.style){case"short":m+="s";break;case"long":m+="ss";break;default:m+="ss";break}g["decimal-places"]&&(m+="."+nr("0",+g["decimal-places"]))}break;case"year":switch(g=Rt(u[0],!1),g.style){case"short":m+="yy";break;case"long":m+="yyyy";break;default:m+="yy";break}break;case"am-pm":m+="AM/PM";break;case"week-of-year":case"quarter":console.error("Excel does not support ODS format token "+u[3]);break;case"fill-character":u[1]==="/"?(a=i.slice(c,Cr.lastIndex-u[0].length),m+='"'+a.replace(/"/g,'""')+'"*'):u[0].charAt(u[0].length-2)!=="/"&&(c=Cr.lastIndex);break;case"scientific-number":g=Rt(u[0],!1),m+="0."+nr("0",+g["min-decimal-places"]||+g["decimal-places"]||2)+nr("?",+g["decimal-places"]-+g["min-decimal-places"]||0)+"E"+(cr(g["forced-exponent-sign"])?"+":"")+nr("0",+g["min-exponent-digits"]||2);break;case"fraction":g=Rt(u[0],!1),+g["min-integer-digits"]?m+=nr("0",+g["min-integer-digits"]):m+="#",m+=" ",m+=nr("?",+g["min-numerator-digits"]||1),m+="/",+g["denominator-value"]?m+=g["denominator-value"]:m+=nr("?",+g["min-denominator-digits"]||1);break;case"currency-symbol":u[1]==="/"?m+='"'+i.slice(c,Cr.lastIndex-u[0].length).replace(/"/g,'""')+'"':u[0].charAt(u[0].length-2)!=="/"?c=Cr.lastIndex:m+="$";break;case"text-properties":switch(g=Rt(u[0],!1),(g.color||"").toLowerCase().replace("#","")){case"ff0000":case"red":m="[Red]"+m;break}break;case"text-content":m+="@";break;case"map":g=Rt(u[0],!1),Kt(g.condition)=="value()>=0"?m=n[g["apply-style-name"]]+";"+m:console.error("ODS number format may be incorrect: "+g.condition);break;case"number":if(u[1]==="/")break;g=Rt(u[0],!1),p="",p+=nr("0",+g["min-integer-digits"]||1),cr(g.grouping)&&(p=ni(nr("#",Math.max(0,4-p.length))+p)),(+g["min-decimal-places"]||+g["decimal-places"])&&(p+="."),+g["min-decimal-places"]&&(p+=nr("0",+g["min-decimal-places"]||1)),+g["decimal-places"]-(+g["min-decimal-places"]||0)&&(p+=nr("0",+g["decimal-places"]-(+g["min-decimal-places"]||0))),m+=p;break;case"embedded-text":u[1]==="/"?v==0?m+='"'+i.slice(c,Cr.lastIndex-u[0].length).replace(/"/g,'""')+'"':m=m.slice(0,v)+'"'+i.slice(c,Cr.lastIndex-u[0].length).replace(/"/g,'""')+'"'+m.slice(v):u[0].charAt(u[0].length-2)!=="/"&&(c=Cr.lastIndex,v=-+Rt(u[0],!1).position||0);break}return n}function rd(e,r,t){var n=r||{};xr!=null&&n.dense==null&&(n.dense=xr);v
`:"")+we[0]}else h[0].slice(-2)=="/>"?w+=`
`:(_=Rt(h[0],!1),x=h.index+h[0].length);break;case"s":break;case"database-range":if(h[1]==="/")break;try{te=js(Rt(h[0])["target-range-address"]),a[te[0]]["!autofilter"]={ref:te[1]}}catch(Ge){}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(ne=Rt(h[0],!1),!ne.href)break;ne.Target=Kt(ne.href),delete ne.href,ne.Target.charAt(0)=="#"&&ne.Target.indexOf(".")>-1?(te=js(ne.Target.slice(1)),ne.Target="#"+te[0]+"!"+te[1]):ne.Target.match(/^\.\.[\\\/]/)&&(ne.Target=ne.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(n.WTF)throw new Error(h)}}var Se={Sheets:a,SheetNames:s,Workbook:ee};return n.bookSheets&&delete Se.Sheets,Se}function nh(e,r){r=r||{},kn(e,"META-INF/manifest.xml")&&Im(Tr(e,"META-INF/manifest.xml"),r);var t=sn(e,"styles.xml"),n=t&&td(ur(t),r),i=sn(e,"content.xml");if(!i)throw new Error("Missing content.xml in ODS / UOF file");var u=rd(ur(i),r,n);return kn(e,"meta.xml")&&(u.Props=qh(Tr(e,"meta.xml"))),u.bookType="ods",u}function ih(e,r){var t=rd(e,r);return t.bookType="fods",t}var M_=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(""),r="<office:document-styles "+Za({"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
`+n.map(function(l){var m=(t==-1?"$":"")+B0(l.Ref);return" "+kt("table:named-range",null,{"table:name":l.Name,"table:cell-range-address":m,"table:base-cell-address":m.replace(/[\.]?[^\.]*$/,".$A$1")})}).join(`
`)+`
</table:named-expressions>
`:""}var oh=function(){var e=function(i){return Xt(i).replace(/ +/g,function(u){return'<text:s text:c="'+u.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},r=` <table:table-cell />
`,t=function(i,u,l,m,p,g){var v=[];v.push(' <table:table table:name="'+Xt(u.SheetNames[l])+`" table:style-name="ta1">
`);var c=0,o=0,a=Dr(i["!ref"]||"A1"),s=i["!merges"]||[],d=0,h=i["!data"]!=null;if(i["!cols"])for(o=0;o<=a.e.c;++o)v.push(" <table:table-column"+(i["!cols"][o]?' table:style-name="co'+i["!cols"][o].ods+'"':"")+`></table:table-column>
`);var y="",b=i["!rows"]||[];for(c=0;c<a.s.r;++c)y=b[c]?' table:style-name="ro'+b[c].ods+'"':"",v.push(" <table:table-row"+y+`></table:table-row>
`);for(;c<=a.e.r;++c){for(y=b[c]?' table:style-name="ro'+b[c].ods+'"':"",v.push(" <table:table-row"+y+`>
`),o=0;o<a.s.c;++o)v.push(r);for(;o<=a.e.c;++o){var w=!1,x={},_="";for(d=0;d!=s.length;++d)if(!(s[d].s.c>o)&&!(s[d].s.r>c)&&!(s[d].e.c<o)&&!(s[d].e.r<c)){(s[d].s.c!=o||s[d].s.r!=c)&&(w=!0),x["table:number-columns-spanned"]=s[d].e.c-s[d].s.c+1,x["table:number-rows-spanned"]=s[d].e.r-s[d].s.r+1;break}if(w){v.push(` <table:covered-table-cell/>
`);continue}var C=$t({r:c,c:o}),R=h?(i["!data"][c]||[])[o]:i[C];if(R&&R.f&&(x["table:formula"]=Xt(ex(R.f)),R.F&&R.F.slice(0,C.length)==C)){var P=Dr(R.F);x["table:number-matrix-columns-spanned"]=P.e.c-P.s.c+1,x["table:number-matrix-rows-spanned"]=P.e.r-P.s.r+1}if(!R){v.push(r);continue}switch(R.t){case"b":_=R.v?"TRUE":"FALSE",x["office:value-type"]="boolean",x["office:boolean-value"]=R.v?"true":"false";break;case"n":_=R.w||String(R.v||0),x["office:value-type"]="float",x["office:value"]=R.v||0;break;case"s":case"str":_=R.v==null?"":R.v,x["office:value-type"]="string";break;case"d":_=R.w||mr(R.v,g).toISOString(),x["office:value-type"]="date",x["office:date-value"]=mr(R.v,g).toISOString(),x["table:style-name"]="ce1";break;default:v.push(r);continue}var S=e(_);if(R.l&&R.l.Target){var A=R.l.Target;A=A.charAt(0)=="#"?"#"+B0(A.slice(1)):A,A.charAt(0)!="#"&&!A.match(/^\w+:/)&&(A="../"+A),S=kt("text:a",S,{"xlink:href":A.replace(/&/g,"&amp;")})}p[R.z]&&(x["table:style-name"]="ce"+p[R.z].slice(1));var k=kt("text:p",S,{});if(R.c){for(var T="",I="",E={},O=0;O<R.c.length;++O)!T&&R.c[O].a&&(T=R.c[O].a),I+="<text:p>"+e(R.c[O].t)+"</text:p>";R.c.hidden||(E["office:display"]=!0),k=kt("office:annotation",I,E)+k}v.push(" "+kt("table:table-cell",k,x)+`
`)}v.push(` </table:table-row>
`)}return(u.Workbook||{}).Names&&v.push(ah(u.Workbook.Names,u.SheetNames,l)),v.push(` </table:table>
`),v.join("")},n=function(i,u){i.push(` <office:automatic-styles>
`);var l=0;u.SheetNames.map(function(v){return u.Sheets[v]}).forEach(function(v){if(!!v&&v["!cols"]){for(var c=0;c<v["!cols"].length;++c)if(v["!cols"][c]){var o=v["!cols"][c];if(o.width==null&&o.wpx==null&&o.wch==null)continue;gi(o),o.ods=l;var a=v["!cols"][c].wpx+"px";i.push(' <style:style style:name="co'+l+`" style:family="table-column">
`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+a+`"/>
`),i.push(` </style:style>
`),++l}}});var m=0;u.SheetNames.map(function(v){return u.Sheets[v]}).forEach(function(v){if(!!v&&v["!rows"]){for(var c=0;c<v["!rows"].length;++c)if(v["!rows"][c]){v["!rows"][c].ods=m;var o=v["!rows"][c].hpx+"px";i.push(' <style:style style:name="ro'+m+`" style:family="table-row">
`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+o+`"/>
`),i.push(` </style:style>
`),++m}}}),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(` <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 p={},g=69;return u.SheetNames.map(function(v){return u.Sheets[v]}).forEach(function(v){if(!!v)for(var c=v["!data"]!=null,o=Dr(v["!ref"]),a=0;a<=o.e.r;++a)for(var s=0;s<=o.e.c;++s){var d=c?(v["!data"][a]||[])[s]:v[$t({r:a,c:s})];if(!(!d||!d.z||d.z.toLowerCase()=="general")&&!p[d.z]){var h=j_(d.z,"N"+g);h&&(p[d.z]="N"+g,++g,i.push(h+`
`))}}}),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
`),pr(p).forEach(function(v){i.push('<style:style style:name="ce'+p[v].slice(1)+'" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="'+p[v]+`"/>
`)}),i.push(` </office:automatic-styles>
`),p};return function(u,l){var m=[kr],p=Za({"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"}),g=Za({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});l.bookType=="fods"?(m.push("<office:document"+p+g+`>
`),m.push($h().replace(/<office:document-meta.*?>/,"").replace(/<\/office:document-meta>/,"")+`
`)):m.push("<office:document-content"+p+`>
`);var v=n(m,u);m.push(` <office:body>
`),m.push(` <office:spreadsheet>
`),((u.Workbook||{}).WBProps||{}).date1904&&m.push(` <table:calculation-settings table:case-sensitive="false" table:search-criteria-must-apply-to-whole-cell="true" table:use-wildcards="true" table:use-regular-expressions="false" table:automatic-find-labels="false">
<table:null-date table:date-value="1904-01-01"/>
</table:calculation-settings>
`);for(var c=0;c!=u.SheetNames.length;++c)m.push(t(u.Sheets[u.SheetNames[c]],u,c,l,v,((u.Workbook||{}).WBProps||{}).date1904));return(u.Workbook||{}).Names&&m.push(ah(u.Workbook.Names,u.SheetNames,-1)),m.push(` </office:spreadsheet>
`),m.push(` </office:body>
`),l.bookType=="fods"?m.push("</office:document>"):m.push("</office:document-content>"),m.join("")}}();function nd(e,r){if(r.bookType=="fods")return oh(e,r);var t=uc(),n="",i=[],u=[];return n="mimetype",Ht(t,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Ht(t,n,oh(e,r)),i.push([n,"text/xml"]),u.push([n,"ContentFile"]),n="styles.xml",Ht(t,n,M_(e,r)),i.push([n,"text/xml"]),u.push([n,"StylesFile"]),n="meta.xml",Ht(t,n,kr+$h()),i.push([n,"text/xml"]),u.push([n,"MetadataFile"]),n="manifest.rdf",Ht(t,n,Bm(u)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Ht(t,n,Dm(i)),t}var _r=function(){try{return typeof Uint8Array=="undefined"||typeof Uint8Array.prototype.subarray=="undefined"?"slice":typeof Buffer!="undefined"?typeof Buffer.prototype.subarray=="undefined"?"slice":(typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?"subarray":"slice":"subarray"}catch(e){return"slice"}}();function ui(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Bn(e){return typeof TextDecoder!="undefined"?new TextDecoder().decode(e):ur(Jn(e))}function nn(e){return typeof TextEncoder!="undefined"?new TextEncoder().encode(e):on(Kn(e))}function xi(e){for(var r=0,t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),i=0;for(t=0;t<e.length;++t){var u=e[t],l=u.length;if(l<250)for(var m=0;m<l;++m)n[i++]=u[m];else n.set(u,i),i+=l}return n}function Ha(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function F_(e,r){for(var t=(e[r+15]&127)<<7|e[r+14]>>1,n=e[r+14]&1,i=r+13;i>=r;--i)n=n*256+e[i];return(e[r+15]&128?-n:n)*Math.pow(10,t-6176)}function L_(e,r,t){var n=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16,i=t/Math.pow(10,n-6176);e[r+15]|=n>>7,e[r+14]|=(n&127)<<1;for(var u=0;i>=1;++u,i/=256)e[r+u]=i&255;e[r+15]|=t>=0?0:128}function io(e,r){var t=r.l,n=e[t]&127;e:if(e[t++]>=128&&(n|=(e[t]&127)<<7,e[t++]<128||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r.l=t,n}function Mt(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r[_r](0,t)}function id(e){for(var r={l:0},t=[];r.l<e.length;)t.push(io(e,r));return t}function ad(e){return xi(e.map(function(r){return Mt(r)}))}function Qt(e){var r=0,t=e[r]&127;return e[r++]<128||(t|=(e[r]&127)<<7,e[r++]<128)||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128)||(t|=(e[r]&15)<<28),t}function Ct(e){for(var r=[],t={l:0};t.l<e.length;){var n=t.l,i=io(e,t),u=i&7;i=i/8|0;var l,m=t.l;switch(u){case 0:{for(;e[m++]>=128;);l=e[_r](t.l,m),t.l=m}break;case 1:l=e[_r](m,m+8),t.l=m+8;break;case 2:{var p=io(e,t);l=e[_r](t.l,t.l+p),t.l+=p}break;case 5:l=e[_r](m,m+4),t.l=m+4;break;default:throw new Error("PB Type ".concat(u," for Field ").concat(i," at offset ").concat(n))}var g={data:l,type:u};r[i]==null&&(r[i]=[]),r[i].push(g)}return r}function jt(e){var r=[];return e.forEach(function(t,n){n!=0&&t.forEach(function(i){!i.data||(r.push(Mt(n*8+i.type)),i.type==2&&r.push(Mt(i.data.length)),r.push(i.data))})}),xi(r)}function $i(e,r){return(e==null?void 0:e.map(function(t){return r(t.data)}))||[]}function ao(e){for(var r,t=[],n={l:0};n.l<e.length;){var i=io(e,n),u=Ct(e[_r](n.l,n.l+i));n.l+=i;var l={id:Qt(u[1][0].data),messages:[]};u[2].forEach(function(m){var p=Ct(m.data),g=Qt(p[3][0].data);l.messages.push({meta:p,data:e[_r](n.l,n.l+g)}),n.l+=g}),(r=u[3])!=null&&r[0]&&(l.merge=Qt(u[3][0].data)>>>0>0),t.push(l)}return t}function ha(e){var r=[];return e.forEach(function(t){var n=[[],[{data:Mt(t.id),type:0}],[]];t.merge!=null&&(n[3]=[{data:Mt(+!!t.merge),type:0}]);var i=[];t.messages.forEach(function(l){
`,p=m.charCodeAt(0),g=new RegExp((u=="|"?"\\|":u)+"+$"),v="",c=[],o=n.skipHidden&&e["!cols"]||[],a=n.skipHidden&&e["!rows"]||[],s=i.s.c;s<=i.e.c;++s)(o[s]||{}).hidden||(c[s]=Zt(s));for(var d=0,h=i.s.r;h<=i.e.r;++h)(a[h]||{}).hidden||(v=x6(e,i,h,c,l,p,u,n),v!=null&&(n.strip&&(v=v.replace(g,"")),(v||n.blankrows!==!1)&&t.push((d++?m:"")+v)));return t.join("")}function ld(e,r){r||(r={}),r.FS=" ",r.RS=`
`;var t=zc(e,r);if(typeof Yt=="undefined"||r.type=="string")return t;var n=Yt.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function _6(e){var r="",t,n="";if(e==null||e["!ref"]==null)return[];var i=ir(e["!ref"]),u="",l=[],m,p=[],g=e["!data"]!=null;for(m=i.s.c;m<=i.e.c;++m)l[m]=Zt(m);for(var v=i.s.r;v<=i.e.r;++v)for(u=Jt(v),m=i.s.c;m<=i.e.c;++m)if(r=l[m]+u,t=g?(e["!data"][v]||[])[m]:e[r],n="",t!==void 0){if(t.F!=null){if(r=t.F,!t.f)continue;n=t.f,r.indexOf(":")==-1&&(r=r+":"+r)}if(t.f!=null)n=t.f;else{if(t.t=="z")continue;if(t.t=="n"&&t.v!=null)n=""+t.v;else if(t.t=="b")n=t.v?"TRUE":"FALSE";else if(t.w!==void 0)n="'"+t.w;else{if(t.v===void 0)continue;t.t=="s"?n="'"+t.v:n=""+t.v}}p[p.length]=r+"="+n}return p}function hd(e,r,t){var n=t||{},i=e?e["!data"]!=null:n.dense;xr!=null&&i==null&&(i=xr);var u=+!n.skipHeader,l=e||{};!e&&i&&(l["!data"]=[]);var m=0,p=0;if(l&&n.origin!=null)if(typeof n.origin=="number")m=n.origin;else{var g=typeof n.origin=="string"?fr(n.origin):n.origin;m=g.r,p=g.c}var v={s:{c:0,r:0},e:{c:p,r:m+r.length-1+u}};if(l["!ref"]){var c=ir(l["!ref"]);v.e.c=Math.max(v.e.c,c.e.c),v.e.r=Math.max(v.e.r,c.e.r),m==-1&&(m=c.e.r+1,v.e.r=m+r.length-1+u)}else m==-1&&(m=0,v.e.r=r.length-1+u);var o=n.header||[],a=0,s=[];r.forEach(function(h,y){i&&!l["!data"][m+y+u]&&(l["!data"][m+y+u]=[]),i&&(s=l["!data"][m+y+u]),pr(h).forEach(function(b){(a=o.indexOf(b))==-1&&(o[a=o.length]=b);var w=h[b],x="z",_="",C=i?"":Zt(p+a)+Jt(m+y+u),R=i?s[p+a]:l[C];w&&typeof w=="object"&&!(w instanceof Date)?i?s[p+a]=w:l[C]=w:(typeof w=="number"?x="n":typeof w=="boolean"?x="b":typeof w=="string"?x="s":w instanceof Date?(x="d",n.UTC||(w=Qo(w)),n.cellDates||(x="n",w=yr(w)),_=R!=null&&R.z&&Tn(R.z)?R.z:n.dateNF||It[14]):w===null&&n.nullError&&(x="e",w=0),R?(R.t=x,R.v=w,delete R.w,delete R.R,_&&(R.z=_)):i?s[p+a]=R={t:x,v:w}:l[C]=R={t:x,v:w},_&&(R.z=_))})}),v.e.c=Math.max(v.e.c,p+o.length-1);var d=Jt(m);if(i&&!l["!data"][m]&&(l["!data"][m]=[]),u)for(a=0;a<o.length;++a)i?l["!data"][m][a+p]={t:"s",v:o[a]}:l[Zt(a+p)+d]={t:"s",v:o[a]};return l["!ref"]=Vt(v),l}function k6(e,r){return hd(null,e,r)}function so(e,r,t){if(typeof r=="string"){if(e["!data"]!=null){var n=fr(r);return e["!data"][n.r]||(e["!data"][n.r]=[]),e["!data"][n.r][n.c]||(e["!data"][n.r][n.c]={t:"z"})}return e[r]||(e[r]={t:"z"})}return typeof r!="number"?so(e,$t(r)):so(e,Zt(t||0)+Jt(r))}function S6(e,r){if(typeof r=="number"){if(r>=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function Hc(){return{SheetNames:[],Sheets:{}}}function us(e,r,t,n){var i=1;if(!t)for(;i<=65535&&e.SheetNames.indexOf(t="Sheet"+i)!=-1;++i,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(t)>=0){var u=t.match(/(^.*?)(\d+)$/);i=u&&+u[2]||0;var l=u&&u[1]||t;for(++i;i<=65535&&e.SheetNames.indexOf(t=l+i)!=-1;++i);}if(X0(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}function E6(e,r,t){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=S6(e,r);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),t){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+t)}e.Workbook.Sheets[n].Hidden=t}function O6(e,r){return e.z=r,e}function dd(e,r,t){return r?(e.l={Target:r},t&&(e.l.Tooltip=t)):delete e.l,e}function T6(e,r,t){return dd(e,"#"+r,t)}function C6(e,r,t){e.c||(e.c=[]),e.c.push({t:r,a:t||"SheetJS"})}function A6(e,r,t,n){for(var i=typeof r!="string"?r:ir(r),u=typeof r=="string"?r:Vt(r),l=i.s.r;l<=i.e.r;++l)for(var m=i.s.c;m<=i.e.c;++m){var p=so(e,l,m);p.t="n",p.F=u,delete p.v,l==i.s.r&&m==i.s.c&&(p.f=t,n&&(p.D=!0))}var g=Dr(e["!ref"]);return g.s.r>i.s.r&&(g.s.r=i.s.r),g.s.c>i.s.c&&(g.s.c=i.s.c),g.e.r<i.e.r&&(g.e.r=i.e.r),g.e.c<i.e.c&&(g.e.c=i.e.c),e["!ref"]=Vt(g),e}var ei={encode_col:Zt,enco
`;u==null||u.editor.replaceRange(p,{line:(l==null?void 0:l.lineStart)+1,ch:0},{line:l==null?void 0:l.lineEnd,ch:0},"*"),console.info("Data saved on code block")}}else new Si.Notice("Sheet not saved while in reading mode")}function Zc(e,r){return wn(this,null,function*(){let t=e.getData(),n=D6(r);if(n==="xlsx"||n==="csv"){let i=_d(t);if(n==="xlsx"){let u=yield i.xlsx.writeBuffer();app.vault.adapter.writeBinary(r,u)}else{let u=yield i.csv.writeBuffer();app.vault.adapter.writeBinary(r,u)}}else{let i=yd(t),u=Uc(i,{bookType:n,type:"buffer",compression:!0,bookSST:!0,cellStyles:!0});app.vault.adapter.writeBinary(r,u)}})}function N6(e){let r=e.getData(),t=e.sheet.data.selector,n=e.sheet.data.name;for(let u of r){let l=[],m=new Map;if(u.styles!==void 0)for(let p in u.rows){let g=Number(p);if(!isNaN(g)){let v=u.rows[g];for(let c in v.cells){let o=Number(c),a=v.cells[o];if(a.style!==void 0)if(m.has(a.style))a.style=m.get(a.style);else{l.push(u.styles[a.style]);let s=l.length-1;m.set(a.style,s),a.style=s}}}}u.styles=l}let i=Er({},r);return i.state={sheetName:n,selector:t},i}function B6(e,r){var t,n;if(r===void 0)return e.loadData({});{let i=[];for(let u in r){let l=Number(u);isNaN(l)||(i[l]=r[u])}if(e.loadData(i),(t=r.state)!=null&&t.sheetName){let u=e,l=u.datas.findIndex(g=>{var v;return g.name===((v=r.state)==null?void 0:v.sheetName)}),m=u.datas[l],p=(n=r.state)==null?void 0:n.selector;p&&(m.selector.setIndexes(p.ri,p.ci),m.selector.range.sci=p.range.sci,m.selector.range.sri=p.range.sri,m.selector.range.eci=p.range.eci,m.selector.range.eri=p.range.eri,m.selector.range.h=p.range.h,m.selector.range.w=p.range.w),l>=0&&u.bottombar.clickSwap2(u.bottombar.items[l])}return e}}var Ad=require("stream"),mo=require("obsidian");var Od=`<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2678" width="18"
height="18" xmlns:xlink="http://www.w3.org/1999/xlink">
<path
d="M213.333333 128h597.333334a85.333333 85.333333 0 0 1 85.333333 85.333333v597.333334a85.333333 85.333333 0 0 1-85.333333 85.333333H213.333333a85.333333 85.333333 0 0 1-85.333333-85.333333V213.333333a85.333333 85.333333 0 0 1 85.333333-85.333333z m366.933334 128h34.133333a25.6 25.6 0 0 1 25.6 25.6v119.466667a25.6 25.6 0 0 1-25.6 25.6h-34.133333a25.6 25.6 0 0 1-25.6-25.6V281.6a25.6 25.6 0 0 1 25.6-25.6zM213.333333 213.333333v597.333334h597.333334V213.333333H213.333333z m128 0v256h341.333334V213.333333h85.333333v298.666667a42.666667 42.666667 0 0 1-42.666667 42.666667H298.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V213.333333h85.333333zM256 213.333333h85.333333-85.333333z m426.666667 0h85.333333-85.333333z m0 597.333334v-128H341.333333v128H256v-170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667h426.666666a42.666667 42.666667 0 0 1 42.666667 42.666667v170.666667h-85.333333z m85.333333 0h-85.333333 85.333333zM341.333333 810.666667H256h85.333333z"
p-id="2679" ></path>
</svg>`;var z6={height:540,width:"auto",rows:100,cols:26,fontSize:10,cellHeight:25,cellWidth:100},H6=400;function Rd(e,r,t,n){if(n.spreadsheet)return;let i=Er(rn(Er({},z6),{enableSave:t.enableSaveToFile,autoSave:t.autoSave}),(0,Td.parseYaml)(e));i.height=Math.max(i.height,H6);let{filename:u,height:l,width:m,rows:p,cols:g,fontSize:v,cellHeight:c,cellWidth:o}=i,a=()=>m==="auto"?n.containerEl.offsetWidth||1024:m,s=r;s.style.width=a()+"px",s.tabIndex=-1,s.parentElement&&(s.parentElement.style.overflow="hidden");let d=app.workspace.getActiveFileView(),y={mode:(d==null?void 0:d.getMode())==="source"?"edit":"read",showToolbar:!0,showGrid:!0,showContextmenu:!0,showValidation:!1,view:{height:()=>l,width:()=>a()},row:{len:p,height:c},col:{len:g,width:o},style:{align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,font:{size:v,bold:!1,italic:!1}},formats:[{key:"date",numfmt:mo.moment.localeData().longDateFormat("L").toLowerCase(),label:(0,mo.moment)().format("L"),title:"Short Date"},{key:"longdate",numfmt:mo.moment.localeData().longDateFormat("LL").toLowerCase(),label:(0,mo.moment)().format("LL"),title:"Long Date"}]};if(!u||i.enableSave){let b=document.createElement("div");b.innerHTML=Od,y.extendToolbar={left:[{tip:"Save",el:b.firstChild,shortcut:"Ctrl+S",onClick:(w,x)=>{u?Zc(n.spreadsheet,u):Ed(w,x,n)}}]}}if(u!==void 0)wn(this,null,function*(){let b;try{let w=yield app.vault.adapter.readBinary(u);b=yield W6(u,w)}catch(w){console.warn(w)}n.spreadsheet=qc(s,y,rn(Er({},i),{data:b}),n)});else{let b=0;n.containerEl.offsetWidth||(b=500),setTimeout(()=>{n.spreadsheet=qc(s,y,Er({},i),n)},b)}}function W6(e,r){return wn(this,null,function*(){let t=e.slice(e.lastIndexOf(".")).toLowerCase();if(t===".xlsx"||t===".csv"){let n=new Cd.Workbook;return t===".csv"?yield n.csv.read(new Ad.Readable({read(){this.push(Buffer.from(r)),this.push(null)}})):yield n.xlsx.load(r),xd(n)}else{let n=ba(r,{cellStyles:!0,sheetStubs:!0});return md(n)}})}var V6=`<svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 482.81 482.81" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <path d="M464.764,25.771H18.037C8.086,25.771,0,33.869,0,43.808v395.196c0,6.106,3.068,11.491,7.729,14.76v2.843h6.469 c1.241,0.272,2.518,0.432,3.839,0.432h446.738c1.318,0,2.595-0.159,3.83-0.432h0.887v-0.271 c7.654-2.093,13.317-9.032,13.317-17.331V43.813C482.81,33.869,474.717,25.771,464.764,25.771z M467.347,43.813v51.979H348.363 v-54.56h116.4C466.194,41.233,467.347,42.392,467.347,43.813z M466.105,441.145H348.363V392.18h118.983v46.824 C467.347,439.92,466.832,440.695,466.105,441.145z M15.457,439.004V392.18h55.842v48.965H16.698 C15.971,440.695,15.457,439.92,15.457,439.004z M201.448,256.87v53.61H86.758v-53.61H201.448z M86.758,241.407v-57.99h114.689 v57.99H86.758z M201.448,325.943v50.773H86.758v-50.773H201.448z M201.448,392.18v48.965H86.758V392.18H201.448z M216.913,392.18 H332.9v48.965H216.913V392.18z M216.913,376.717v-50.779H332.9v50.779H216.913z M216.913,310.48v-53.61H332.9v53.61H216.913z M216.913,241.407v-57.99H332.9v57.99H216.913z M216.913,167.954v-56.702H332.9v56.702H216.913z M216.913,95.787v-54.56H332.9 v54.56H216.913z M201.448,95.787H86.758v-54.56h114.689V95.787z M201.448,111.252v56.702H86.758v-56.702H201.448z M71.299,167.954 H15.457v-56.702h55.842V167.954z M71.299,183.417v57.99H15.457v-57.99H71.299z M71.299,256.87v53.61H15.457v-53.61H71.299z M71.299,325.943v50.773H15.457v-50.773H71.299z M348.363,376.717v-50.779h118.983v50.779H348.363z M348.363,310.48v-53.61h118.983 v53.61H348.363z M348.363,241.407v-57.99h118.983v57.99H348.363z M348.363,167.954v-56.702h118.983v56.702H348.363z"></path> </g> </g></svg>
`,jd;function Gc(){return jd}var hs=class extends Md.Plugin{onload(){return wn(this,null,function*(){yield this.loadSettings(),(0,Pd.addIcon)("sheet",V6),this.registerCodeBlock(),this.addSettingTab(new _o(this.app,this))})}onunload(){}loadSettings(){return wn(this,null,function*(){this.settings=Object.assign({},Kf,yield this.loadData()),jd=this.settings})}saveSettings(){return wn(this,null,function*(){yield this.saveData(this.settings)})}registerCodeBlock(){return wn(this,null,function*(){this.registerMarkdownCodeBlockProcessor("sheet",(t,n,i)=>{Rd(t,n,this.settings,i)})})}};
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*! ExcelJS 21-08-2021 */
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
/*! xlsxspread.js (C) SheetJS LLC -- https://sheetjs.com/ */
/**
* Character class utilities for XML NS 1.0 edition 3.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
*/
/**
* Character classes and associated utilities for the 2nd edition of XML 1.1.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
*/
/**
* Character classes and associated utilities for the 5th edition of XML 1.0.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
*/