@sapui5/sap.ui.export 1.139.1 → 1.139.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.export",
3
- "version": "1.139.1",
3
+ "version": "1.139.3",
4
4
  "description": "SAPUI5 Library sap.ui.export",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
8
- <version>1.139.1</version>
8
+ <version>1.139.3</version>
9
9
 
10
10
  <documentation>UI5 library: sap.ui.export</documentation>
11
11
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class The <code>sap.ui.export.ExportBase</code> class allows you to export table data from a UI5 application to certain formats. This class is an abstract class that requires specific implementations for each file format.
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.139.1
30
+ * @version 1.139.3
31
31
  *
32
32
  * @since 1.96
33
33
  * @alias sap.ui.export.ExportBase
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @class The <code>sap.ui.export.ExportHandler</code> class allows you to export table data from an SAPUI5 application.
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.139.1
31
+ * @version 1.139.3
32
32
  *
33
33
  * @since 1.102
34
34
  * @alias sap.ui.export.ExportHandler
@@ -145,7 +145,7 @@ sap.ui.define([
145
145
  * @class Utilities related to export to enable reuse in integration scenarios (e.g. tables).
146
146
  *
147
147
  * @author SAP SE
148
- * @version 1.139.1
148
+ * @version 1.139.3
149
149
  *
150
150
  * @since 1.59
151
151
  * @alias sap.ui.export.ExportUtils
@@ -1245,7 +1245,7 @@ sap.ui.define([
1245
1245
  *
1246
1246
  * @param {object} oContext Context object
1247
1247
  * @param {string} [oContext.application] Name of the application (default: "SAP UI5")
1248
- * @param {string} [oContext.version] Application version (default: "1.139.1")
1248
+ * @param {string} [oContext.version] Application version (default: "1.139.3")
1249
1249
  * @param {string} [oContext.title] Title that will be written to the file (NOT the filename)
1250
1250
  * @param {string} [oContext.modifiedBy] Optional user context that will be written to the file
1251
1251
  * @param {string} [oContext.sheetName] Name of the data sheet - Maximum length of 31 characters
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @class The <code>sap.ui.export.PortableDocument</code> class allows you to export table data from a UI5 application to a Portable Document Format (*.PDF) file.
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.139.1
31
+ * @version 1.139.3
32
32
  *
33
33
  * @since 1.96
34
34
  * @alias sap.ui.export.PortableDocument
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * columns: aColumns,
97
97
  * context: {
98
98
  * application: 'Debug Test Application',
99
- * version: '1.139.1',
99
+ * version: '1.139.3',
100
100
  * title: 'Some random title',
101
101
  * modifiedBy: 'John Doe',
102
102
  * metaSheetName: 'Custom metadata',
@@ -183,7 +183,7 @@ sap.ui.define([
183
183
  * @class The <code>sap.ui.export.Spreadsheet</code> class allows you to export table data from a UI5 application to a spreadsheet file.
184
184
  *
185
185
  * @author SAP SE
186
- * @version 1.139.1
186
+ * @version 1.139.3
187
187
  *
188
188
  * @since 1.50
189
189
  * @alias sap.ui.export.Spreadsheet
@@ -21,7 +21,7 @@ sap.ui.define(['sap/base/Log', 'sap/ui/export/ExportUtils'], function(Log, Expor
21
21
  * Utility class to perform spreadsheet export.
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.139.1
24
+ * @version 1.139.3
25
25
  *
26
26
  * @alias sap.ui.export.SpreadsheetExport
27
27
  * @private
@@ -1,2 +1,2 @@
1
- var XLSXBuilder;(()=>{var t={838:(t,e,r)=>{var i=r(164),o=r(409),a=r(272),n=r(760),s=r(658),l=r(891),p=r(666);function u(t,e,r,i){var o,a,n,s,l;if(!(t instanceof Array&&t.length))throw new Error("No binding provided");if(s="SAP Document Export",l="Metadata",this.app=new this.objects.App(e),this.core=new this.objects.Core(e),this.workbook=new this.objects.Workbook,i&&p.update(i),e&&(s=e.sheetName?e.sheetName:s,l=e.metaSheetName?e.metaSheetName:l),this.sheet=this.workbook.addSheet(s,{columns:t,hierarchyLevel:r}),this.workbook.selectSheet(this.sheet),"object"==typeof e&&e.metainfo instanceof Array)for(o=[{property:"key",label:"Key",width:20},{property:"value",label:"Value",width:20}],this.metadata=this.workbook.addSheet(l,{columns:o,hideHeader:!0}),a=0;a<e.metainfo.length;a++)n=e.metainfo[a],this.metadata.createGroup(n.name,1),this._insertIntoSheet(n.items.slice(),this.metadata)}u.prototype={objects:{App:i,ContentTypes:o,Core:a,Relationships:n,Sheet:s,Workbook:l},build:function(){var t,e,r,i,o,a,n,s;for(t=[{name:"[Content_Types].xml",path:"",type:this.objects.ContentTypes},{name:".rels",path:"_rels/",type:this.objects.Relationships,relationships:[{target:"xl/workbook.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"},{target:"docProps/app.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"},{target:"docProps/core.xml",type:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"}]}],e=new JSZip3,r=0;r<t.length;r++){if((a=new(0,(o=t[r]).type))instanceof this.objects.Relationships)for(i=0;i<o.relationships.length;i++)n=o.relationships[i],a.addRelationship(n.target,n.type);e.file(o.path+o.name,a.serialize())}return e.file(this.app.getAbsolutePath(),this.app.serialize()),e.file(this.core.getAbsolutePath(),this.core.serialize()),e.file(this.workbook.getAbsolutePath(),this.workbook.serialize()),e.file(this.workbook.getRelationships().getAbsolutePath(),this.workbook.getRelationships().serialize()),this.workbook.getRelatedFiles().forEach((function(t){e.file(t.getAbsolutePath(),t.serialize(!0))})),s={compression:"DEFLATE",type:JSZip3.support.nodebuffer?"nodebuffer":"arraybuffer"},e.generateAsync(s)},append:function(t){this._insertIntoSheet(t,this.sheet)},_insertIntoSheet:function(t,e){var r;if(null!=t)for(r=t instanceof Array?t:[t];r.length;)e.insert(r.shift())}},t.exports=u},350:(t,e,r)=>{var i=r(488),o=r(587),a=r(924),n=r(813),s=r(992),l=r(777),p=r(376),u=r(666),h=r(996),c=r(696),m=r(780),d=r(256);function f(t,e,r){var i;if(!(i="string"==typeof t?{property:t}:t)||"string"!=typeof i.property&&!Array.isArray(i.property))throw new Error("The property for the column is not defined");this.property=i.property,this.label=i.label?i.label:i.property,this.width=i.width,this.styles=r,this.type=this._initType(i),this.cell=new l(this.type,e)}f.prototype._initType=function(t){var e;switch("string"==typeof t.type?t.type.toLowerCase():t.type){case"datetime":t.timezone&&"string"==typeof t.timezone&&!t.timezoneProperty&&(this.label+=` (${u.getTimezoneTranslation(t.timezone)})`),e=new s(t);break;case"date":e=new n(t);break;case"time":e=new a(t);break;case"timezone":e=new d(t);break;case"percentage":case"number":e=new c(t);break;case"currency":e=new p(t);break;case"boolean":e=new o(t);break;case"enumeration":e=new h(t);break;case"bignumber":e=new i(t);break;default:t.type="text",e=new m(t)}return e.registerAt(this.styles),e},f.prototype.getCell=function(){return this.cell},f.prototype.bind=function(t){try{this.cell.setValue(this.property,t)}catch(e){throw e.message=(e.message?e.message+"\n\n":"")+"Column: "+this.label,e.message+="\nData: "+JSON.stringify(t),e}},t.exports=f},818:(t,e,r)=>{var i=r(350),o=r(780),a=r(453),n=r(777);function s(t,e,r){var o,a,n;for(this.columns=[],this._row=null,this.styles=r,this.sharedStrings=e,this.hideHeader=t.hideHeader,Object.defineProperty(this,"hierarchyLevelProperty",{value:t.hierarchyLevel}),o=t.columns,n=0;n<o.length;n++)0==n&&("string"==typeof o[n]&&(o[n]={property:o[n]}),o[n].hierarchyLevel=this.hierarchyLevelProperty),a=o[n]instanceof i?o[n]:new i(o[n],this.sharedStrings,this.styles),this.columns.push(a)}s.prototype._initBinding=function(){var t;for(this._row=new a,t=0;t<this.columns.length;t++)this._row.addCell(this.columns[t].getCell())},s.prototype.bind=function(t,e){var r,i;for(null===this._row&&this._initBinding(),(i=Math.min(e,7))&&!this._row.outline?this._row.addAttribute({id:"outline",name:"outlineLevel",value:i}):i&&this._row.outline?this._row.outline.value=i:!i&&this._row.outline&&this._row.remove("outline"),r=0;r<this.columns.length;r++)this.columns[r].bind(t);return this._row},s.prototype.getHeader=function(){var t,e,r;return this.hideHeader?null:(e=new a,(r=new o({font:{name:"Arial",size:11,bold:!0},fill:{color:"F7F7F7"}})).registerAt(this.styles),e.setStyle(r.getStyleId({})),e.addAttribute({name:"customFormat",value:"1"}),this.columns.forEach(function(i){(t=new n(r,this.sharedStrings)).setValue("label",i),e.addCell(t)}.bind(this)),e)},s.prototype.getGroupHeader=function(t){var e,r,i,s;return r=new a,s={name:t},(i=new o({font:{name:"Arial",size:11,bold:!0},fill:{color:"F2F2F2"}})).registerAt(this.styles),r.setStyle(i.getStyleId(s)),r.addAttribute({name:"customFormat",value:"1"}),r.spans.value="1:"+this.size(),(e=new n(i,this.sharedStrings)).setValue("name",s),r.addCell(e),r},s.prototype.size=function(){return this.columns.length},t.exports=s},666:t=>{var e={update:function(t){var r,i;if(t.currency)for(r in t.currency.DEFAULT&&"number"==typeof t.currency.DEFAULT.scale&&(e.CURRENCY={}),t.currency)e.CURRENCY[r]=i=t.currency[r].scale,i>e.MAX_CURRENCY_SCALE&&(e.MAX_CURRENCY_SCALE=i);if(t.unit)for(r in t.unit)e.UNIT[r]=t.unit[r].scale;t.timezone&&Object.assign(e.TIMEZONE,t.timezone)},getScaleForCurrency:function(t){var r;return"number"!=typeof(r=e.CURRENCY[t])&&(r=e.CURRENCY.DEFAULT),r},getScaleForUnit:function(t){return e.UNIT[t]},getTimezoneTranslation:function(t){return e.TIMEZONE[t]||t},MAX_CURRENCY_SCALE:3,UNIT:{},TIMEZONE:{},CURRENCY:{ADP:0,AFN:0,ALL:0,BHD:3,BIF:0,BYR:0,CLF:4,CLP:0,DEFAULT:2,DJF:0,ESP:0,GNF:0,HUF:0,IQD:0,IRR:0,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MRO:0,OMR:3,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TWD:0,UGX:0,UYI:0,UYW:4,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0}};t.exports=e},488:(t,e,r)=>{var i=r(855),o=r(666),a=r(603);function n(t){i.call(this,t),this.type=t?t.type:null,this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.delimiter=!!t&&t.delimiter,this.scale=t?t.scale:null,this.alignment=null===this.alignment?a.horizontal.RIGHT:a.horizontal.LEFT}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.prototype.getScale=function(t){var e;return e=("currency"===this.type?o.getScaleForCurrency:o.getScaleForUnit)(t),isNaN(e)&&(e=this.scale),e},n.prototype.getValue=function(t,e){var r,i,o,a;return"number"==typeof(a=e[t])&&(a=a.toString()),"string"==typeof a&&a.match(/^(-){0,1}[0-9]+(\.[0-9]+)*$/g)?(o=e[this.unitProperty]||this.unit,r=this.getScale(o),i=this._parseValue(a,r,this.delimiter),this.displayUnit&&(i+=o?" "+o:""),i):null},n.prototype._parseValue=function(t,e,r){var i,o,a,n,s;if(s=(i=t.split("."))[0],n=i.length>1?i[1]:"",r&&(o=s.split(""),s=("-"===o[0]?o.shift():"")+o.reduceRight((function(t,e){return e+(t.length%4==3?","+t:t)}),"")),"number"==typeof e)if(e<n.length)n=n.substring(0,e);else for(a=n.length;a<e;a++)n+="0";return s+(n?"."+n:"")},t.exports=n},587:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this.trueValue=t?t.trueValue:null,this.falseValue=t?t.falseValue:null}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT={numberFormat:0},o.prototype.isCustomFormatted=function(){return!!this.trueValue&&"string"==typeof this.trueValue&&!!this.falseValue&&"string"==typeof this.falseValue},o.prototype._createConfiguration=function(){var t;return(t=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this)).numberFormat=this.isCustomFormatted()?{format:`"${this.trueValue}";;"${this.falseValue}"`}:o.DEFAULT.numberFormat,t},t.exports=o},736:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this.format=t?t.format:null,this.calendar=t&&"string"==typeof t.calendar?t.calendar.toLowerCase():null,this.inputFormat=t&&"string"==typeof t.inputFormat?t.inputFormat.toUpperCase():null}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.LOCAL_TIMEZONE=(new Intl.DateTimeFormat).resolvedOptions().timeZone,o.DEFAULT={numberFormat:14},o.BUILTIN={14:"mm-dd-yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0"},o.oSymbols={Y:{apply:function(t,e){e.setUTCFullYear(t)}},M:{apply:function(t,e){e.setUTCMonth(t-1)}},D:{apply:function(t,e){e.setUTCDate(t)}}},o.prototype._createConfiguration=function(t){var e,r,i;switch(e=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this,t),i=this.getDefaultFormat(t),this.calendar){case"islamic":i="b2"+i;break;case"japanese":i="[$-ja-JP]"+i}for(r in e.numberFormat={format:i},o.BUILTIN)o.BUILTIN[r]===i&&(e.numberFormat=parseInt(r,10));return e},o.prototype.getDefaultFormat=function(){var t;return"string"==typeof this.format&&this.format.match(/^[gdhmsy\s-,.:/]+(AM\/PM)?$/)?t=this.format:"islamic"===this.calendar?t="d mmmm yyyy":"japanese"===this.calendar&&(t="ge.m.d"),t},o.prototype.getValue=function(t,e){var r,i;return null==(i=e[t])||""===i?null:("object"==typeof i&&(i="number"==typeof i.ms?i.ms:i.valueOf()),"number"!=typeof i||isNaN(i)||(r=i),"string"==typeof i&&(r=this._parseStringValue(i)),"number"==typeof r?this.dateToExcel(r,e):null)},o.prototype._parseStringValue=function(t){return this.inputFormat&&"string"==typeof this.inputFormat?o._parseStringDate(t,this.inputFormat):o.odataDateRegex.test(t)?o._parseOdataDate(t):o.odataDateTimeOffsetRegex.test(t)?Date.parse(t):isFinite(t)?parseInt(t,10):null},o._parseODataDuration=function(t){var e,r,i,a,n,s;return e=o.odataDurationRegex.exec(t),r=parseInt(e[4]||0,10),i=parseInt(e[5]||0,10),a=parseInt(e[6]||0,10),n=parseFloat(e[7]||0),s=(s=e[8])?1e3*parseFloat("0."+s):0,s+=1e3*n+6e4*a+36e5*i+864e5*r,"-"===e[1]&&(s=-s),s},o._parseTimeOfDay=function(t){var e,r,i,a,n=new Date(0);return e=o.timeOfDayRegex.exec(t),r=parseInt(e[1]||0,10),i=parseInt(e[2]||0,10),a=parseFloat(e[4]||0),n.setUTCHours(r,i,a),n.getTime()},o._parseOdataDate=function(t){var e,r,i;return e=o.odataDateRegex.exec(t),r=new Date(parseInt(e[1],10)),e[2]&&e[3]&&(i=parseInt(e[2]+e[3],10),r.setUTCMinutes(r.getUTCMinutes()-i)),r.getTime()},o.odataDateRegex=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/,o.odataDurationRegex=/^([+-])?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:\.(\d+))?S)?)?/,o.odataDateTimeOffsetRegex=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T([0-1]\d|2[0-3])(:[0-5]\d)(:[0-5]\d(\.\d{1,12})?)?(Z|[+\-](0\d|1[0-2]):[0-5]\d)/,o.dateStringRegex=/([Y]{4,}|[M]{2}|[D]{2})/g,o.timeOfDayRegex=/^([0-1]\d|2[0-3]):([0-5]\d)(:([0-5]\d)(.\d{1,12})?)?$/,o.prototype.dateToExcel=function(t){var e;return e=t>=-22038912e5?2:1,Math.max((t-t%1e3)/864e5+(25567+e),0)},o._parseStringDate=function(t,e){var r,i,a;i=new Date(0);do{null!==(r=o.dateStringRegex.exec(e))&&(a=t.slice(r.index,r.index+r[0].length),o.oSymbols[r[0].charAt(0)].apply(parseInt(a,10),i))}while(null!==r);return i.getTime()},t.exports=o},813:(t,e,r)=>{var i=r(736);function o(t){i.call(this,t),this.utc=!0}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(o.prototype).getDefaultFormat.call(this)||i.BUILTIN[14]},t.exports=o},992:(t,e,r)=>{var i=r(736),o=r(666);function a(t){i.call(this,t),this.timezone=t?t.timezone:null,this.timezoneProperty=t?t.timezoneProperty:null,this.displayTimezone=!t||"boolean"!=typeof t.displayTimezone||t.displayTimezone,this.styleIds={}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a._oCache=new Map,a.prototype.getDefaultFormat=function(t){var e;return e=Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[22],("islamic"===this.calendar&&"d mmmm yyyy"===e||"japanese"===this.calendar&&"ge.m.d"===e)&&(e+=" hh:mm"),this.timezoneProperty&&this.displayTimezone&&(e=`_-${e}* "${o.getTimezoneTranslation(this.getTimezone(t))}"`),e},a.prototype.getTimezone=function(t){return t&&t[this.timezoneProperty]&&"string"==typeof t[this.timezoneProperty]?t[this.timezoneProperty]:this.timezone?this.timezone:"UTC"},a.prototype.getStyleId=function(t,e){var r;return this.timezoneProperty?t?(r=this.getTimezone(t),void 0===this.styleIds[r]&&(this.styleIds[r]=this.styles.addStyle(this._createConfiguration(t))),this.styleIds[r]):0:Object.getPrototypeOf(a.prototype).getStyleId.call(this,t,e)},a.prototype.dateToExcel=function(t,e){var r,i,o,n,s,l,p;return p=this.getTimezone(e),i=Object.getPrototypeOf(a.prototype).dateToExcel.call(this,t),p&&"UTC"!==p&&(s=a.getTimezoneFormat(p),n=new Date(t),l=s.formatToParts(new Date(t)).reduce((function(t,e){switch(e.type){case"day":case"hour":case"minute":t[e.type]=e.value}return t}),{}),(r=n.getUTCDate()-parseInt(l.day,10))>1?r=-1:r<-1&&(r=1),o=24*r*60,o+=60*(n.getUTCHours()-parseInt(l.hour,10)),i-=(o+=n.getUTCMinutes()-parseInt(l.minute,10))/1440),i},a.getTimezoneFormat=function(t){var e,r,i;return(e=a._oCache.get(t))?e:(i={hourCycle:"h23",hour:"2-digit",minute:"2-digit",day:"2-digit",timeZone:t,era:"narrow"},r=new Intl.DateTimeFormat("en-US",i),a._oCache.set(t,r),r)},t.exports=a},924:(t,e,r)=>{var i=r(736);function o(t){i.call(this,t),this.utc=!0}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getValue=function(t,e){var r;return"number"==typeof(r=Object.getPrototypeOf(o.prototype).getValue.call(this,t,e))?r%1:null},o.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(o.prototype).getDefaultFormat.call(this)||i.BUILTIN[21]},o.prototype._parseStringValue=function(t){var e;return"number"==typeof(e=Object.getPrototypeOf(o.prototype)._parseStringValue.call(this,t))?e:i.timeOfDayRegex.test(t)?i._parseTimeOfDay(t):i.odataDurationRegex.test(t)?i._parseODataDuration(t):null},t.exports=o},376:(t,e,r)=>{var i=r(696),o=r(666);function a(t){i.call(this,t)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getScale=function(t){return o.getScaleForCurrency(t)},a.prototype.getNumberFormatTemplate=function(t){let e,r="#,##0";e=t||"number"!=typeof this.scale?this.getScale(t):this.scale,r+=e>0?".":"_.";for(let t=0;t<e;t++)r+="0";for(let t=o.MAX_CURRENCY_SCALE-e;t>0;t--)r+="_0";return this.displayUnit&&(r+="\\ "+(t?`"${t}"`:"_E_U_R")),`* ${r};* \\-\\ ${r}`},a.prototype._createConfiguration=function(t){const e=this.getUnit(t);return{numberFormat:{format:this.getNumberFormatTemplate(e)}}},t.exports=a},996:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this._valueMap=t&&t.valueMap?t.valueMap:{}}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getValue=function(t,e){var r;return r=e[t],(this._valueMap instanceof Map?this._valueMap.get(r):this._valueMap[r])||""},t.exports=o},696:(t,e,r)=>{var i=r(855),o=r(666);function a(t){i.call(this,t),this.autoScale=!!t&&t.autoScale,this.delimiter=!!t&&t.delimiter,this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.scale=t?t.scale:null,this.type=t&&"string"==typeof t.type?t.type.toLowerCase():null,this.styleIds={}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT={numberFormat:0},a.builtin={1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",37:"#,##0;(#,##0)",38:"#,##0;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",48:"##0.0E+0"},a.scientificRegEx=/^-?\d?(\.\d)?\d*[eE][+-]?\d{1,3}$/,a.prototype.getScale=function(t){var e;return this.autoScale&&(e=o.getScaleForUnit(t)),isNaN(e)&&(e=this.scale),e},a.prototype.getNumberFormatTemplate=function(t){const e=this.getScale(t);let r=a.builtin[1];if("number"==typeof e&&e>0){r+=".";for(let t=0;t<e;t++)r+="0"}return this.delimiter&&(r="#,##"+r),"percentage"===this.type?r+="%":t&&this.displayUnit&&(r+='\\ "'+t+'"'),r},a.prototype._createConfiguration=function(t){const e=Object.getPrototypeOf(a.prototype)._createConfiguration.call(this,t),r=this.getUnit(t),i=this.getScale(r);if(!this.delimiter&&"number"!=typeof i&&!r)return e.numberFormat=a.DEFAULT.numberFormat,e;const o=this.getNumberFormatTemplate(r);e.numberFormat={format:o};for(const t in a.builtin)a.builtin[t]===o&&(e.numberFormat=parseInt(t,10));return e},a.prototype.getStyleId=function(t,e){var r;return this.unitProperty?t?(r=t[this.unitProperty],void 0===this.styleIds[r]&&(this.styleIds[r]=this.styles.addStyle(this._createConfiguration(t))),this.styleIds[r]):0:Object.getPrototypeOf(a.prototype).getStyleId.call(this,t,e)},a.prototype.getValue=function(t,e){var r,i,o,n=e[t];return"string"==typeof n&&a.scientificRegEx.test(n)&&(i=3===(r=n.split(/\.|[eE]/g)).length?r[1].length:0,o=Number(r[r.length-1]),n=Number(n).toFixed(Math.max(i-o,0)),e[t]=n),n},a.prototype.isIEEE754Compliant=function(t,e){var r=!1,i=this.getUnit(e),o=this.getScale(i);return"number"==typeof t&&(t=""+t),"string"==typeof t&&(r=t.trim().replace(/^-*0*|0+$/g,"").split(".").reduce((function(t,e,r){return t+(r>0&&"number"==typeof o?Math.min(o,e.length):e.length)||1}),0)<=15),r},a.prototype.getUnit=function(t){var e;return"percentage"===this.type?e="%":"string"==typeof this.unitProperty&&t?e=t[this.unitProperty]:"string"==typeof this.unit&&(e=this.unit),"string"==typeof e&&'"'!==e||(e=""),e||""},t.exports=a},780:(t,e,r)=>{var i=r(855),o=r(603),a=String.fromCharCode(13,10);function n(t){i.call(this,t),this.font=t?t.font:null,this.fill=t?t.fill:null,this.template=t?t.template:null,this.hierarchyLevel=t?t.hierarchyLevel:null,this.wrap=!!t&&t.wrap,this.inputFormat=t?t.inputFormat:null,this._mStyleIds={}}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.DEFAULT={font:{size:11,name:"Arial"}},n.formulaRegex=/^[\s]*[=+\-@]/,n.convertLineBreaks=function(t){return"string"!=typeof t?t:t.replace(/\r/g,"").replace(/\n/g,a)},n.prototype._createConfiguration=function(t){var e;return(e=Object.getPrototypeOf(n.prototype)._createConfiguration.call(this)).fill=this.fill,e.font=this.font,this.hierarchyLevel&&(e.align={horizontal:o.horizontal.LEFT,indent:2*t[this.hierarchyLevel]}),this.wrap&&(e.align=e.align||{},e.align.wrap=this.wrap),e},n.prototype.getStyleId=function(t,e){var r,i,o;return t?(r=e&&n.formulaRegex.test(e),this.hierarchyLevel||r?(i="id_"+t[this.hierarchyLevel]+(r?"_prefix":""),void 0===this._mStyleIds[i]&&((o=this._createConfiguration(t)).quotePrefix=r,this._mStyleIds[i]=this.styles.addStyle(o)),this._mStyleIds[i]):Object.getPrototypeOf(n.prototype).getStyleId.call(this)):0},n.prototype.getValue=function(t,e){var r,i,o,a,s,l;if(!this.template)return a="string"==typeof t?e[t]:e[t[0]],this.wrap?n.convertLineBreaks(a):a;if("string"==typeof this.inputFormat?(l=new RegExp(this.inputFormat).exec(e[t]),s=Array.isArray(l)?l.slice(1):[e[t]]):s=t.reduce((function(t,r){return t.push(e[r]),t}),[]),s.every((function(t){return null==t||"string"==typeof t&&""===t})))return"";for(o=this.template,r=(i=/{([0-9]+)}/g).exec(this.template);null!==r;)null==(a=s[r[1]])&&(a=""),o=o.replace(r[0],a),r=i.exec(this.template);return o},t.exports=n},256:(t,e,r)=>{var i=r(666),o=r(855);function a(t){o.call(this,t)}a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){const r=e[t];return i.getTimezoneTranslation(r)},t.exports=a},855:t=>{function e(t){this.styleId=null,this.alignment=t&&t.textAlign?t.textAlign:null}e.prototype._createConfiguration=function(t){return this.alignment?{align:{horizontal:this.alignment}}:{}},e.prototype.getStyleId=function(t,e){return null===this.styleId&&(this.styleId=this.styles.addStyle(this._createConfiguration(t))),this.styleId},e.prototype.registerAt=function(t){this.styles=t},e.prototype.getValue=function(t,e){return e[t]},t.exports=e},777:(t,e,r)=>{var i=r(427),o=r(488),a=r(813),n=r(992),s=r(924),l=r(696),p=r(587),u=r(376);function h(t,e){i.call(this,h.metadata),Object.defineProperty(this,"type",{value:h.DataType.SharedString,writable:!0}),this._shared=e,this._oFallbackType=null,this._applyType(t)}h.prototype=Object.create(i.prototype),h.prototype.constructor=h,h.DataType={Boolean:"b",Date:"d",InlineString:"inlineStr",Number:"n",SharedString:"s",FormularString:"str"},h._cellTypeProperty="cellType",h.metadata={tag:"c",attributes:[{id:"reference",name:"r",value:""},{id:"style",name:"s",value:"0"}],properties:[{id:"text",tag:"v"}]},h.prototype._applyType=function(t){switch(this.bindingType=t,t.constructor){case p:this.type=h.DataType.Boolean,t.isCustomFormatted()||this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.Boolean});break;case a:case n:case s:this.type=h.DataType.Date;break;case l:case u:this.type=h.DataType.Number,this._oFallbackType=new o(t),this._oFallbackType.registerAt(t.styles);break;default:this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.SharedString}),this.type=h.DataType.SharedString}},h.prototype.setStyle=function(t){this.style.value=t},h.prototype.setReference=function(t){if("string"!=typeof t||!t.match(/^[A-Z]+[1-9]+[0-9]*$/g))throw new Error(`The given Cell reference "${t}" does not match the reference pattern.`);this.reference.value=t},h.prototype.setValue=function(t,e){var r,i;if(r=(i=this.bindingType).getValue(t,e),this._isValuePresent(r)){switch(this.type){case h.DataType.Boolean:"string"==typeof r&&(r="true"===r.toLowerCase()),this.text.value=r?"1":"0";break;case h.DataType.Date:this.text.value=r;break;case h.DataType.Number:if(i.isIEEE754Compliant(r,e)){this.text.value=r,this[h._cellTypeProperty]&&this.remove(h._cellTypeProperty);break}r=(i=this._oFallbackType).getValue(t,e),this[h._cellTypeProperty]||this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.SharedString});default:this.text.value=this._shared.insert(r)}this.setStyle(i.getStyleId(e,r))}else this.text.value=""},h.prototype._isValuePresent=function(t){return"string"==typeof t&&!!t||"number"==typeof t||"boolean"==typeof t||t instanceof Date},h.prototype.serialize=function(){return this._isValuePresent(this.text.value)?i.prototype.serialize.call(this):""},t.exports=h},453:(t,e,r)=>{var i=r(427),o=r(777);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"row",attributes:[{id:"reference",name:"r",value:""},{id:"spans",name:"spans",value:"1:1"}]},a.getColumnReferenceByIndex=function(t){return t<26?String.fromCharCode(65+t):a.getColumnReferenceByIndex(Math.floor(t/26)-1)+String.fromCharCode(65+t%26)},a.prototype._updateSpans=function(){this.spans.value="1:"+this.childs.length},a.prototype.addCell=function(t){var e;t&&t instanceof o&&(e=this.childs.push(t),this._updateSpans(),this.reference.value&&t.setReference(a.getColumnReferenceByIndex(e-1)+this.reference.value),this.style&&t.setStyle(this.style.value))},a.prototype.setReference=function(t){var e,r;if((r="number"==typeof t?String(t):t)&&r.match(/^[1-9]+[0-9]*$/g)&&this.reference.value!=r)for(this.reference.value=r,e=0;e<this.childs.length;e++)this.childs[e].setReference(a.getColumnReferenceByIndex(e)+r)},a.prototype.setStyle=function(t){var e,r;for(this.style||(r=this.addAttribute({name:"s"}),Object.defineProperty(this,"style",{value:r})),this.style.value=t,e=0;e<this.childs.length;e++)this.childs[e].setStyle(t)},t.exports=a},345:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),this.setValue(t)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.spacePreserveAttributeId="spacePreserve",o.controlCharacterTestRegex=/[\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]/m,o.controlCharacterReplaceRegex=/[\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]/gm,o.spacePreserveRegex=/^ | $/,o.metadata={tag:"si",properties:[{id:"text",tag:"t"}]},o._escapeControlCharacters=function(t){var e;return t.replace(o.controlCharacterReplaceRegex,(function(t){return"_x00"+(1===(e=t.codePointAt(0).toString(16).toUpperCase()).length?"0":"")+e+"_"}))},o.prototype.setValue=function(t){this.text.remove(o.spacePreserveAttributeId),o.controlCharacterTestRegex.test(t)&&(t=o._escapeControlCharacters(t)),o.spacePreserveRegex.test(t)&&this.text.addAttribute({id:o.spacePreserveAttributeId,name:"space",prefix:"xml",value:"preserve"}),this.text.value=t&&"string"==typeof t?t:""+t},o.prototype.serialize=function(){return(" "+Object.getPrototypeOf(o.prototype).serialize.call(this)).substr(1)},t.exports=o},116:(t,e,r)=>{var i=r(41),o=r(345);function a(){i.call(this,a.metadata),Object.defineProperty(this,"map",{value:new Map,writable:!1}),Object.defineProperty(this,"_shared",{value:new o(""),writable:!1}),a.instance=this}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.MAX_CELL_LENGTH=32767,a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.metadata={filename:"sharedStrings.xml",tag:"sst",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{id:"count",name:"count",value:0},{id:"uniqueCount",name:"uniqueCount",value:0}]},a.prototype.insert=function(t){var e;return this.count.value=this.count.value+1,t.length>a.MAX_CELL_LENGTH&&(t=t.substring(0,a.MAX_CELL_LENGTH+1)),this.map.has(t)?this.map.get(t):(this._shared.setValue(t),e=this.map.size,this.map.set(t,e),this.childs.push(this._shared.serialize()),this.uniqueCount.value=this.childs.length,e)},a.prototype.cleanup=function(){this.map.clear()},t.exports=a},658:(t,e,r)=>{var i=r(41),o=r(453);function a(t){i.call(this,a.metadata),Object.defineProperty(this,"_columns",{value:t,writable:!1}),this._hierarchyProperty=t._hierarchyProperty,this._hierarchyLevel=0,this._rowCount=0,this._createCols(),this._createHeader()}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"worksheet",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{tag:"sheetPr",properties:[{tag:"outlinePr",attributes:[{name:"summaryBelow",value:"0"}]}]},{id:"dimension",tag:"dimension",attributes:[{id:"reference",name:"ref",value:"A1"}]},{id:"views",tag:"sheetViews",properties:[{id:"defaultView",tag:"sheetView",attributes:[{name:"workbookViewId",value:"0"}],properties:[{id:"pane",tag:"pane",attributes:[{name:"ySplit",value:"1"},{name:"topLeftCell",value:"A2"},{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}]}]}]},{id:"format",tag:"sheetFormatPr",attributes:[{name:"defaultRowHeight",value:"15"}]},{id:"columns",tag:"cols"},{id:"data",tag:"sheetData"},{id:"filter",tag:"autoFilter",attributes:[{id:"reference",name:"ref",value:"A1"}]},{tag:"pageMargins",attributes:[{name:"left",value:"0.75"},{name:"right",value:"0.75"},{name:"top",value:"1"},{name:"bottom",value:"1"},{name:"header",value:"0.5"},{name:"footer",value:"0.5"}]}]},a.MAX_ROWS=1048576,a.prototype._createCols=function(){var t,e,r,i,o;for(e=0;e<this._columns.size();e++)t=this._columns.columns[e],r=this._calculateColumnWidth(t.label.length)+2.4,o=Math.max(this._calculateColumnWidth(t.width),r),i=Math.ceil(4*o)/4,this.columns.addChild({tag:"col",attributes:[{name:"min",value:e+1},{name:"max",value:e+1},{name:"bestFit",value:"1"},{name:"width",value:Math.max(i,r)},{name:"customWidth",value:"1"}]})},a.prototype._calculateColumnWidth=function(t){return"number"!=typeof t?0:Math.floor((8*t+5)/8*256)/256},a.prototype._setHierarchyDepth=function(t){"number"!=typeof t||t<1||t>7||(t=t||0,this.format.hierarchyDepth?this.format.hierarchyDepth.value=Math.max(this.format.hierarchyDepth.value,t):this.format.addAttribute({id:"hierarchyDepth",name:"outlineLevelRow",value:t}))},a.prototype._createHeader=function(){var t=this._columns.getHeader();if(null===t)return this.remove("filter"),void this.views.defaultView.remove("pane");this._appendRow(t)},a.prototype._appendRow=function(t){var e,r;this._rowCount++,t.setReference(""+this._rowCount),r=t.serialize(),this._rowCount%2==0&&(r=this.data.childs.pop()+r),this.data.childs.push((" "+r).substr(1)),e="A1:"+o.getColumnReferenceByIndex(this._columns.size()-1)+this._rowCount,this.dimension.reference.value=e,this.filter&&(this.filter.reference.value=e)},a.prototype.createGroup=function(t,e){var r;this._hierarchyLevel=e,r=this._columns.getGroupHeader(t),this._appendRow(r)},a.prototype.insert=function(t){var e;if(this._rowCount>=a.MAX_ROWS)throw new Error("Row limit reached.");e=this._columns.hierarchyLevelProperty?t[this._columns.hierarchyLevelProperty]:this._hierarchyLevel,this._appendRow(this._columns.bind(t,e)),this._setHierarchyDepth(e)},a.prototype.cleanup=function(){this.remove("data")},a.prototype.getRowCount=function(){return this._rowCount},t.exports=a},164:(t,e,r)=>{var i=r(41);function o(t){i.call(this,o.metadata),t&&(t.application&&(this.application.value=t.application),t.version&&(this.version.value=t.version))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={path:"docProps/",filename:"app.xml",tag:"Properties",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"},{name:"xmlns",suffix:"vt",value:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}],properties:[{id:"application",tag:"Application",value:"SAP UI5"},{tag:"DocSecurity",value:"0"},{tag:"Company",value:"SAP SE"},{tag:"SharedDoc",value:"false"},{id:"version",tag:"AppVersion",value:"1.118"}]},t.exports=o},409:(t,e,r)=>{var i=r(41);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.FILENAME="",o.metadata={filename:"[Content_Types].xml",tag:"Types",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/content-types"}],properties:[{tag:"Default",attributes:[{name:"Extension",value:"xml"},{name:"ContentType",value:"application/xml"}]},{tag:"Default",attributes:[{name:"Extension",value:"rels"},{name:"ContentType",value:"application/vnd.openxmlformats-package.relationships+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/workbook.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/worksheets/sheet1.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/styles.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/sharedStrings.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/docProps/core.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-package.core-properties+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/docProps/app.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}]}]},t.exports=o},272:(t,e,r)=>{var i=r(41);function o(t){i.call(this,o.metadata),t&&(t.title&&(this.title.value=t.title),t.modifiedBy&&(this.modifiedBy.value=t.modifiedBy))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={path:"docProps/",filename:"core.xml",tag:"cp:coreProperties",root:!0,attributes:[{name:"xmlns",suffix:"cp",value:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties"},{name:"xmlns",suffix:"dc",value:"http://purl.org/dc/elements/1.1/"},{name:"xmlns",suffix:"dcterms",value:"http://purl.org/dc/terms/"},{name:"xmlns",suffix:"dcmitype",value:"http://purl.org/dc/dcmitype/"},{name:"xmlns",suffix:"xsi",value:"http://www.w3.org/2001/XMLSchema-instance"}],properties:[{id:"title",tag:"dc:title",value:"Table Export"},{tag:"dc:creator",value:"SAP UI5 Document Export"},{tag:"cp:keywords",value:"SAP UI5 EXPORT"},{id:"modifiedBy",tag:"cp:lastModifiedBy",value:"SAP UI5"},{tag:"dcterms:created",attributes:[{prefix:"xsi",name:"type",value:"dcterms:W3CDTF"}],value:(new Date).toISOString()},{id:"modified",tag:"dcterms:modified",attributes:[{prefix:"xsi",name:"type",value:"dcterms:W3CDTF"}],value:(new Date).toISOString()}]},o.prototype.serialize=function(){return this.modified.value=(new Date).toISOString(),Object.getPrototypeOf(o.prototype).serialize.call(this)},t.exports=o},906:(t,e,r)=>{var i=r(41),o=r(760);function a(t){i.call(this,t),this._relatedFiles=[],this._relationships=new o(this),this.addRelatedFile(this._relationships)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.addRelatedFile=function(t){if(!(t instanceof i))throw new Error("A related file must be of type XMLFile");this._relatedFiles.push(t)},a.prototype.getRelationships=function(){return this._relationships},a.prototype.getRelatedFiles=function(){return this._relatedFiles.slice()},t.exports=a},760:(t,e,r)=>{var i=r(41),o=r(427);function a(t){i.call(this,a.metadata),t instanceof i&&(this.setFileName(t.getFileName()+".rels"),this.setPath(t.getPath()+"_rels/"))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={filename:".rels",path:"_rels/",tag:"Relationships",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/relationships"}],properties:[]},a.prototype.addRelationship=function(t,e){var r="rId"+(this.childs.length+1);return this.childs.push(new o({tag:"Relationship",attributes:[{name:"Id",value:r},{name:"Type",value:e},{name:"Target",value:t}]})),r},t.exports=a},891:(t,e,r)=>{var i=r(818),o=r(906),a=r(116),n=r(658),s=r(94);function l(){var t;for(t in o.call(this,l.metadata),this._styles=new s,this._styles.setPath(this.getPath()),this.addRelatedFile(this._styles),this._sharedStrings=new a,this._sharedStrings.setPath(this.getPath()),this.addRelatedFile(this._sharedStrings),l.RELATIONS)this._relationships.addRelationship(l.RELATIONS[t].target,l.RELATIONS[t].type);this._registeredSheets=[]}l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.RELATIONS={sharedStrings:{target:"sharedStrings.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"},styles:{target:"styles.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"}},l.metadata={filename:"workbook.xml",path:"xl/",tag:"workbook",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{tag:"bookViews",properties:[{tag:"workbookView",attributes:[{name:"xWindow",value:"0"},{name:"yWindow",value:"0"},{name:"windowWidth",value:"22260"},{name:"windowHeight",value:"12645"}]}]},{id:"sheets",tag:"sheets"},{id:"definedNames",tag:"definedNames"}]},l.prototype.addSheet=function(t,e){var r,o,a,s,l;return l="sheet"+(o=this.sheets.childs.length+1)+".xml",a=this._relationships.addRelationship("worksheets/"+l,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"),this.sheets.addChild({tag:"sheet",attributes:[{id:"name",name:"name",value:t},{name:"sheetId",value:""+o},{name:"id",prefix:"r",value:a}]}),r=new i(e,this._sharedStrings,this._styles),(s=new n(r)).setFileName(l),s.setPath(this.getPath()+"worksheets/"),this.addRelatedFile(s),this._registeredSheets.push(s),s},l.prototype.selectSheet=function(t){if(!(t instanceof n)||this._registeredSheets.indexOf(t)<0)throw new Error("Could not select sheet. Sheet not found.");this._registeredSheets.forEach((function(t,e,r){t.views.defaultView.remove("selected")})),t.views.defaultView.addAttribute({id:"selected",name:"tabSelected",value:"1"})},l.prototype.serialize=function(){var t=this;function e(t,e){var r,i;return i=e.filter.reference.value,r=/^[a-zA-Z0-9]+$/.test(t)?t:`'${t}'`,(r+="!")+i.replace(/([A-Z]+)|(\d+)/g,(function(t){return"$"+t}))}return this._registeredSheets.forEach((function(r,i,o){var a=t.sheets.childs[i].name.value;r.filter&&t.definedNames.addChild({tag:"definedName",attributes:[{name:"name",value:"_xlnm._FilterDatabase"},{name:"localSheetId",value:i},{name:"hidden",value:"1"}],value:e(a,r)})})),Object.getPrototypeOf(l.prototype).serialize.call(this)},t.exports=l},603:(t,e,r)=>{var i=r(427);function o(){i.call(this,o.metadata)}function a(t,e){var r,i=!1;for(r in e)i=i||e[r]===t&&"function"!=typeof e[r];return i}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"alignment"},o.horizontal={LEFT:"left",CENTER:"center",RIGHT:"right",contains:function(t){return a(t,o.horizontal)}},o.vertical={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",contains:function(t){return a(t,o.vertical)}},o.prototype.isDefault=function(){return 0==this.attributes.length},o.prototype.setIndent=function(t){"number"!=typeof t||t<=0?this.remove("indent"):(this._setAlignmentAttribute("indent",t),this.horizontal||this.setHorizontalAlignment(o.horizontal.LEFT))},o.prototype.setWrapText=function(t){var e="wrapText";t?this._setAlignmentAttribute(e,"1"):this[e]&&this.remove(e)},o.prototype.setHorizontalAlignment=function(t){o.horizontal.contains(t)&&this._setAlignmentAttribute("horizontal",t)},o.prototype.setVerticalAlignment=function(t){o.vertical.contains(t)&&this._setAlignmentAttribute("vertical",t)},o.prototype._setAlignmentAttribute=function(t,e){this[t]||this.addAttribute({id:t,name:t}),this[t].value=e},o.prototype._getAlignmentAttribute=function(t){return this[t]&&this[t].value},o.prototype.equals=function(t){return null!=t&&this._getAlignmentAttribute("vertical")==t._getAlignmentAttribute("vertical")&&this._getAlignmentAttribute("horizontal")==t._getAlignmentAttribute("horizontal")&&this._getAlignmentAttribute("indent")==t._getAlignmentAttribute("indent")&&this._getAlignmentAttribute("wrapText")==t._getAlignmentAttribute("wrapText")},t.exports=o},270:(t,e,r)=>{var i=r(427);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"border",properties:[{tag:"left"},{tag:"right"},{tag:"top"},{tag:"bottom"},{tag:"diagonal"}]},o.prototype.equals=function(t){return t instanceof o},t.exports=o},13:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),t&&(t.color?this.setFill(t.color):t.type&&this.setType(t.type))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT_TYPE="none",o.metadata={tag:"fill",properties:[{id:"fill",tag:"patternFill",attributes:[{id:"type",name:"patternType",value:o.DEFAULT_TYPE}]}]},o.prototype.equals=function(t){return t instanceof o&&this.getType()===t.getType()&&this.getFill()===t.getFill()},o.prototype.getFill=function(){return this.fill.childs.length?this.fill.color.rgb.value.substring(2):null},o.prototype.setFill=function(t){this.reset(),t&&"string"==typeof t&&/^[A-Fa-f0-9]{6}$/.test(t)&&(this.fill.type.value="solid",this.fill.addChild({id:"color",tag:"fgColor",attributes:[{id:"rgb",name:"rgb",value:"FF"+t}]}),this.fill.addChild({tag:"bgColor",attributes:[{name:"indexed",value:"64"}]}))},o.prototype.getType=function(){return this.fill.type.value},o.prototype.setType=function(t){this.reset(),this.fill.type.value=t},o.prototype.reset=function(){this.fill.type.value="none",this.fill.childs.length=0},t.exports=o},261:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),t&&t instanceof Object&&this.setName(t.name).setSize(t.size).setFamily(t.family).setBold(!!t.bold)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT_SIZE=11,o.DEFAULT_NAME="Arial",o.metadata={tag:"font",properties:[{id:"size",tag:"sz",attributes:[{id:"valueAttribute",name:"val",value:o.DEFAULT_SIZE}]},{id:"color",tag:"color",attributes:[{id:"valueAttribute",name:"theme",value:"1"}]},{id:"name",tag:"name",attributes:[{id:"valueAttribute",name:"val",value:o.DEFAULT_NAME}]},{id:"family",tag:"family",attributes:[{id:"valueAttribute",name:"val",value:2}]}]},o.prototype.equals=function(t){return t instanceof o&&this.getName()==t.getName()&&this.getSize()==t.getSize()&&this.isBold()==t.isBold()&&this.getColor()==t.getColor()&&this.getFamily()==t.getFamily()},o.prototype.isBold=function(){return!!this.bold},o.prototype.getSize=function(){return this.size.valueAttribute.value},o.prototype.getName=function(){return this.name.valueAttribute.value},o.prototype.getColor=function(){return this.color.valueAttribute.value},o.prototype.getFamily=function(){return this.family.valueAttribute.value},o.prototype.setBold=function(t){var e="bold";return t===!!this[e]||(t?this.addChild({id:e,tag:"b"}):this.remove(e)),this},o.prototype.setFamily=function(t){return t>0&&t<15&&(this.family.valueAttribute.value=t),this},o.prototype.setName=function(t){return t&&"string"==typeof t&&(this.name.valueAttribute.value=t),this},o.prototype.setSize=function(t){if("number"!=typeof t||isNaN(t)||t<1||t>96)throw new Error(`The size ${t} is not supported.`);return this.size.valueAttribute.value=t,this},t.exports=o},898:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),this.format.value=t&&t.format?t.format:o.DEFAULT}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"numFmt",attributes:[{id:"formatId",name:"numFmtId"},{id:"format",name:"formatCode"}]},o.BUILTIN_IDS=[0,1,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,37,38,39,40,45,46,47,48,49],o.ID_OFFSET=164,o.DEFAULT="#,##0.00",o.prototype.getId=function(){return this.formatId.value},o.prototype.getFormat=function(){return this.format.value},o.prototype.setId=function(t){var e="number"==typeof t?t:parseInt(t,10);isNaN(e)||e<0||o._isBuiltin(e)||(this.formatId.value=t)},o.prototype.setFormat=function(t){this.format.value=t},o._isBuiltin=function(t){return o.BUILTIN_IDS.indexOf(t)>-1},o.prototype.equals=function(t){return t instanceof o&&this.getFormat()===t.getFormat()},t.exports=o},635:(t,e,r)=>{var i=r(427),o=r(603);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"xf",attributes:[{id:"numberFormat",name:"numFmtId",value:"0"},{id:"font",name:"fontId",value:"0"},{id:"fill",name:"fillId",value:"0"},{id:"border",name:"borderId",value:"0"}]},a.DEFAULT={font:{name:"Arial",size:11,family:"2",color:"1",bold:!1},fill:{type:"none"}},a.prototype.getAlignment=function(){return this.alignment?this.alignment:null},a.prototype.getFontId=function(){return this.font.value},a.prototype.getFillId=function(){return this.fill.value},a.prototype.getBorderId=function(){return this.border.value},a.prototype.getNumberFormatId=function(){return this.numberFormat.value},a.prototype.hasQuotePrefix=function(){return"quotePrefix"in this},a.prototype.setAlignment=function(t){var e,r;r="alignment",this._apply(t,"Alignment"),null!=t?(r in this||(e=new o,this.addChild(e),Object.defineProperty(this,r,{value:e,writable:!1,configurable:!0})),this[r].setHorizontalAlignment(t.horizontal),this[r].setVerticalAlignment(t.vertical),this[r].setWrapText(t.wrap),this[r].setIndent(t.indent)):this.remove(r)},a.prototype.setFontId=function(t){this._apply(t,"Font"),this.font.value=t},a.prototype.setFillId=function(t){this._apply(t,"Fill"),this.fill.value=t},a.prototype.setBorderId=function(t){this.border.value=t},a.prototype.setNumberFormatId=function(t){this._apply(t,"NumberFormat"),this.numberFormat.value=t},a.prototype.setQuotePrefix=function(t){var e="quotePrefix";t&&!this.hasQuotePrefix()?this.addAttribute({id:e,name:e,value:"1"}):!t&&this.hasQuotePrefix()&&this.remove(e)},a.prototype._apply=function(t,e){var r="apply"+e;this.remove(r),t&&this.addAttribute({id:r,name:r,value:"1"})},a.prototype.equals=function(t){return t instanceof a&&this.getFontId()===t.getFontId()&&this.getFillId()===t.getFillId()&&this.getBorderId()===t.getBorderId()&&this.getNumberFormatId()===t.getNumberFormatId()&&this.hasQuotePrefix()===t.hasQuotePrefix()&&(!this.alignment&&!t.alignment||this.alignment&&this.alignment.equals(t.alignment))},t.exports=a},94:(t,e,r)=>{var i=r(41),o=r(635),a=r(261),n=r(13),s=r(270),l=r(898);function p(){i.call(this,p.metadata),this.addFill({type:"none"}),this.addFill({type:"gray125"}),this.addStyle(o.DEFAULT)}p.prototype=Object.create(i.prototype),p.prototype.constructor=p,p.metadata={filename:"styles.xml",tag:"styleSheet",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{id:"numberFormats",tag:"numFmts",attributes:[{id:"count",name:"count",value:0}]},{id:"fonts",tag:"fonts",attributes:[{id:"count",name:"count",value:0}]},{id:"fills",tag:"fills",attributes:[{id:"count",name:"count",value:0}]},{id:"borders",tag:"borders",attributes:[{id:"count",name:"count",value:0}]},{tag:"cellStyleXfs",attributes:[{name:"count",value:"1"}],properties:[{tag:"xf",attributes:[{name:"numFmtId",value:"0"},{name:"fontId",value:"0"},{name:"fillId",value:"0"},{name:"borderId",value:"0"}]}]},{id:"cellXfs",tag:"cellXfs",attributes:[{id:"count",name:"count",value:0}]},{tag:"cellStyles",attributes:[{name:"count",value:"1"}],properties:[{tag:"cellStyle",attributes:[{name:"name",value:"Normal"},{name:"xfId",value:"0"},{name:"builtinId",value:"0"}]}]},{tag:"dxfs",attributes:[{name:"count",value:0}]},{tag:"tableStyles",attributes:[{name:"count",value:0},{name:"defaultTableStyle",value:"TableStyleMedium2"},{name:"defaultPivotStyle",value:"PivotStyleLight16"}]}]},p.prototype.addStyle=function(t){var e,r,i,a,n;return r=this.addFont(t.font),i=this.addFill(t.fill),a=this.addBorder(t.border),void 0===t.numberFormat&&(t.numberFormat=0),n=l._isBuiltin(t.numberFormat)?t.numberFormat:this.addNumberFormat(t.numberFormat),(e=new o).setFontId(r),e.setFillId(i),e.getBorderId(a),e.setNumberFormatId(n),e.setAlignment(t.align),e.setQuotePrefix(t.quotePrefix),this._addToAggregation(e,this.cellXfs)},p.prototype._addToAggregation=function(t,e){var r,i;return i=-1,e.childs.forEach((function(e,r,o){e.equals(t)&&(i=r)})),-1===i&&(e.addChild(t),r=e.childs.length,e.count.value=r,i=r-1),i},p.prototype.addColor=function(t){this.colors||this.addChild({id:"colors",tag:"colors",properties:[{id:"mru",tag:"mruColors"}]}),this.colors.mru.childs.some((function(e){return e.rgb.value==="FF"+t}))||this.colors.mru.addChild({tag:"color",attributes:[{id:"rgb",name:"rgb",value:"FF"+t}]})},p.prototype.addFont=function(t){var e=new a(t);return this._addToAggregation(e,this.fonts)},p.prototype.addFill=function(t){var e,r;return r=new n(t),e=this._addToAggregation(r,this.fills),null!==r.getFill()&&this.addColor(r.getFill()),e},p.prototype.addBorder=function(t){var e=new s(t);return this._addToAggregation(e,this.borders)},p.prototype.addNumberFormat=function(t){var e,r;return r=new l(t),e=this._addToAggregation(r,this.numberFormats),r.setId(l.ID_OFFSET+e),r.getId()},t.exports=p},983:(t,e,r)=>{var i=r(383);function o(t){i.call(this,t),this.name=t.name?t.name:"",this.prefix=t.prefix?t.prefix:"",this.suffix=t.suffix?t.suffix:""}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.serialize=function(){return` ${this.prefix?this.prefix+":":""}${this.name}${this.suffix?":"+this.suffix:""}="${this.xmlEncode(this.value)}"`},t.exports=o},383:t=>{function e(t){this.value=t&&(t.value||"number"==typeof t.value)?t.value:""}e.prototype.xmlEncode=function(t){return"string"==typeof t&&null!==t.match(/[><"&]+/)?this._replace(t):t},e.prototype._replace=function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},t.exports=e},41:(t,e,r)=>{var i=r(427);function o(t){i.call(this,t),this._filename=t.filename,this._path=t.path}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getFileName=function(){return this._filename},o.prototype.setFileName=function(t){if(!t.match(/^\S+\.\S{3,4}$/))throw new Error("Invalid file name: "+t);this._filename=t},o.prototype.getPath=function(){return this._path},o.prototype.getAbsolutePath=function(){return this.getPath()+this.getFileName()},o.prototype.setPath=function(t){if(!t||t.lastIndexOf("/")!==t.length-1)throw new Error("Invalid file path: "+t);this._path=t},o.prototype.serialize=function(t){const e=Object.getPrototypeOf(o.prototype).serialize.call(this);return t&&(this.childs.length=0,this.cleanup()),e},o.prototype.cleanup=function(){},t.exports=o},427:(t,e,r)=>{var i=r(383),o=r(983);function a(t){i.call(this,t);const e="string"==typeof t?{tag:t}:t;if(Object.defineProperty(this,"root",{value:!!e.root,writable:!1}),this.tag="string"==typeof e.tag?e.tag:"",this.attributes=[],this.childs=[],e.attributes)for(let t=0;t<e.attributes.length;t++)this.addAttribute(e.attributes[t]);if(e.properties)for(let t=0;t<e.properties.length;t++)this.addChild(e.properties[t])}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.processingInformation='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',a.prototype.addAttribute=function(t){const e=t instanceof o?t:new o(t);return this.attributes.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},a.prototype.addChild=function(t){const e=t instanceof a?t:new a(t);return this.childs.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},a.prototype.remove=function(t){if(!(t in this))return null;let e;const r=this[t];if(r instanceof o)e=this.attributes;else{if(!(r instanceof a)||t in new a(""))return null;e=this.childs}const i=e.indexOf(r);return e.splice(i,1),delete this[t],r},a.prototype.serialize=function(){let t=(this.root?a.processingInformation:"")+"<"+this.tag;for(let e=0;e<this.attributes.length;e++)t+=this.attributes[e].serialize();const e=this.getSerializedContent();return e?(t=(" "+t).substr(1),t+=`>${e}</${this.tag}>`):(t+="/>",t=(" "+t).substr(1)),t},a.prototype.getSerializedContent=function(){let t="";for(let e=0;e<this.childs.length;e++)t+="string"==typeof this.childs[e]?this.childs[e]:this.childs[e].serialize();return t+=this.xmlEncode(this.value),t},t.exports=a}},e={},r=function r(i){var o=e[i];if(void 0!==o)return o.exports;var a=e[i]={exports:{}};return t[i](a,a.exports,r),a.exports}(838);XLSXBuilder=r})();
1
+ var XLSXBuilder;(()=>{var t={838:(t,e,r)=>{var i=r(164),o=r(409),a=r(272),n=r(760),s=r(658),l=r(891),p=r(666);function u(t,e,r,i){var o,a,n,s,l;if(!(t instanceof Array&&t.length))throw new Error("No binding provided");if(s="SAP Document Export",l="Metadata",this.app=new this.objects.App(e),this.core=new this.objects.Core(e),this.workbook=new this.objects.Workbook,i&&p.update(i),e&&(s=e.sheetName?e.sheetName:s,l=e.metaSheetName?e.metaSheetName:l),this.sheet=this.workbook.addSheet(s,{columns:t,hierarchyLevel:r}),this.workbook.selectSheet(this.sheet),"object"==typeof e&&e.metainfo instanceof Array)for(o=[{property:"key",label:"Key",width:20},{property:"value",label:"Value",width:20}],this.metadata=this.workbook.addSheet(l,{columns:o,hideHeader:!0}),a=0;a<e.metainfo.length;a++)n=e.metainfo[a],this.metadata.createGroup(n.name,1),this._insertIntoSheet(n.items.slice(),this.metadata)}u.prototype={objects:{App:i,ContentTypes:o,Core:a,Relationships:n,Sheet:s,Workbook:l},build:function(){var t,e,r,i,o,a,n,s;for(t=[{name:"[Content_Types].xml",path:"",type:this.objects.ContentTypes},{name:".rels",path:"_rels/",type:this.objects.Relationships,relationships:[{target:"xl/workbook.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"},{target:"docProps/app.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"},{target:"docProps/core.xml",type:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"}]}],e=new JSZip3,r=0;r<t.length;r++){if((a=new(0,(o=t[r]).type))instanceof this.objects.Relationships)for(i=0;i<o.relationships.length;i++)n=o.relationships[i],a.addRelationship(n.target,n.type);e.file(o.path+o.name,a.serialize())}return e.file(this.app.getAbsolutePath(),this.app.serialize()),e.file(this.core.getAbsolutePath(),this.core.serialize()),e.file(this.workbook.getAbsolutePath(),this.workbook.serialize()),e.file(this.workbook.getRelationships().getAbsolutePath(),this.workbook.getRelationships().serialize()),this.workbook.getRelatedFiles().forEach((function(t){e.file(t.getAbsolutePath(),t.serialize(!0))})),s={compression:"DEFLATE",type:JSZip3.support.nodebuffer?"nodebuffer":"arraybuffer"},e.generateAsync(s)},append:function(t){this._insertIntoSheet(t,this.sheet)},_insertIntoSheet:function(t,e){var r;if(null!=t)for(r=t instanceof Array?t:[t];r.length;)e.insert(r.shift())}},t.exports=u},350:(t,e,r)=>{var i=r(488),o=r(587),a=r(924),n=r(813),s=r(992),l=r(777),p=r(376),u=r(666),h=r(996),c=r(696),m=r(780),d=r(256);function f(t,e,r){var i;if(!(i="string"==typeof t?{property:t}:t)||"string"!=typeof i.property&&!Array.isArray(i.property))throw new Error("The property for the column is not defined");this.property=i.property,this.label=i.label?i.label:i.property,this.width=i.width,this.styles=r,this.type=this._initType(i),this.cell=new l(this.type,e)}f.prototype._initType=function(t){var e;switch("string"==typeof t.type?t.type.toLowerCase():t.type){case"datetime":t.timezone&&"string"==typeof t.timezone&&!t.timezoneProperty&&(this.label+=` (${u.getTimezoneTranslation(t.timezone)})`),e=new s(t);break;case"date":e=new n(t);break;case"time":e=new a(t);break;case"timezone":e=new d(t);break;case"percentage":case"number":e=new c(t);break;case"currency":e=new p(t);break;case"boolean":e=new o(t);break;case"enumeration":e=new h(t);break;case"bignumber":e=new i(t);break;default:t.type="text",e=new m(t)}return e.registerAt(this.styles),e},f.prototype.getCell=function(){return this.cell},f.prototype.bind=function(t){try{this.cell.setValue(this.property,t)}catch(e){throw e.message=(e.message?e.message+"\n\n":"")+"Column: "+this.label,e.message+="\nData: "+JSON.stringify(t),e}},t.exports=f},818:(t,e,r)=>{var i=r(350),o=r(780),a=r(453),n=r(777);function s(t,e,r){var o,a,n;for(this.columns=[],this._row=null,this.styles=r,this.sharedStrings=e,this.hideHeader=t.hideHeader,Object.defineProperty(this,"hierarchyLevelProperty",{value:t.hierarchyLevel}),o=t.columns,n=0;n<o.length;n++)0==n&&("string"==typeof o[n]&&(o[n]={property:o[n]}),o[n].hierarchyLevel=this.hierarchyLevelProperty),a=o[n]instanceof i?o[n]:new i(o[n],this.sharedStrings,this.styles),this.columns.push(a)}s.prototype._initBinding=function(){var t;for(this._row=new a,t=0;t<this.columns.length;t++)this._row.addCell(this.columns[t].getCell())},s.prototype.bind=function(t,e){var r,i;for(null===this._row&&this._initBinding(),(i=Math.min(e,7))&&!this._row.outline?this._row.addAttribute({id:"outline",name:"outlineLevel",value:i}):i&&this._row.outline?this._row.outline.value=i:!i&&this._row.outline&&this._row.remove("outline"),r=0;r<this.columns.length;r++)this.columns[r].bind(t);return this._row},s.prototype.getHeader=function(){var t,e,r;return this.hideHeader?null:(e=new a,(r=new o({font:{name:"Arial",size:11,bold:!0},fill:{color:"F7F7F7"}})).registerAt(this.styles),e.setStyle(r.getStyleId({})),e.addAttribute({name:"customFormat",value:"1"}),this.columns.forEach(function(i){(t=new n(r,this.sharedStrings)).setValue("label",i),e.addCell(t)}.bind(this)),e)},s.prototype.getGroupHeader=function(t){var e,r,i,s;return r=new a,s={name:t},(i=new o({font:{name:"Arial",size:11,bold:!0},fill:{color:"F2F2F2"}})).registerAt(this.styles),r.setStyle(i.getStyleId(s)),r.addAttribute({name:"customFormat",value:"1"}),r.spans.value="1:"+this.size(),(e=new n(i,this.sharedStrings)).setValue("name",s),r.addCell(e),r},s.prototype.size=function(){return this.columns.length},t.exports=s},666:t=>{var e={update:function(t){var r,i;if(t.currency)for(r in t.currency.DEFAULT&&"number"==typeof t.currency.DEFAULT.scale&&(e.CURRENCY={}),t.currency)e.CURRENCY[r]=i=t.currency[r].scale,i>e.MAX_CURRENCY_SCALE&&(e.MAX_CURRENCY_SCALE=i);if(t.unit)for(r in t.unit)e.UNIT[r]=t.unit[r].scale;t.timezone&&Object.assign(e.TIMEZONE,t.timezone)},getScaleForCurrency:function(t){var r;return"number"!=typeof(r=e.CURRENCY[t])&&(r=e.CURRENCY.DEFAULT),r},getScaleForUnit:function(t){return e.UNIT[t]},getTimezoneTranslation:function(t){return e.TIMEZONE[t]||t},MAX_CURRENCY_SCALE:3,UNIT:{},TIMEZONE:{},CURRENCY:{ADP:0,AFN:0,ALL:0,BHD:3,BIF:0,BYR:0,CLF:4,CLP:0,DEFAULT:2,DJF:0,ESP:0,GNF:0,HUF:0,IQD:0,IRR:0,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MRO:0,OMR:3,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TWD:0,UGX:0,UYI:0,UYW:4,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0}};t.exports=e},488:(t,e,r)=>{var i=r(855),o=r(666),a=r(603);function n(t){i.call(this,t),this.type=t?t.type:null,this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.delimiter=!!t&&t.delimiter,this.scale=t?t.scale:null,this.alignment=null===this.alignment?a.horizontal.RIGHT:a.horizontal.LEFT}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.prototype.getScale=function(t){var e;return e=("currency"===this.type?o.getScaleForCurrency:o.getScaleForUnit)(t),isNaN(e)&&(e=this.scale),e},n.prototype.getValue=function(t,e){var r,i,o,a;return"number"==typeof(a=e[t])&&(a=a.toString()),"string"==typeof a&&a.match(/^(-){0,1}[0-9]+(\.[0-9]+)*$/g)?(o=e[this.unitProperty]||this.unit,r=this.getScale(o),i=this._parseValue(a,r,this.delimiter),this.displayUnit&&(i+=o?" "+o:""),i):null},n.prototype._parseValue=function(t,e,r){var i,o,a,n,s;if(s=(i=t.split("."))[0],n=i.length>1?i[1]:"",r&&(o=s.split(""),s=("-"===o[0]?o.shift():"")+o.reduceRight((function(t,e){return e+(t.length%4==3?","+t:t)}),"")),"number"==typeof e)if(e<n.length)n=n.substring(0,e);else for(a=n.length;a<e;a++)n+="0";return s+(n?"."+n:"")},t.exports=n},587:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this.trueValue=t?t.trueValue:null,this.falseValue=t?t.falseValue:null}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT={numberFormat:0},o.prototype.isCustomFormatted=function(){return!!this.trueValue&&"string"==typeof this.trueValue&&!!this.falseValue&&"string"==typeof this.falseValue},o.prototype._createConfiguration=function(){var t;return(t=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this)).numberFormat=this.isCustomFormatted()?{format:`"${this.trueValue}";;"${this.falseValue}"`}:o.DEFAULT.numberFormat,t},t.exports=o},736:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this.format=t?t.format:null,this.calendar=t&&"string"==typeof t.calendar?t.calendar.toLowerCase():null,this.inputFormat=t&&"string"==typeof t.inputFormat?t.inputFormat.toUpperCase():null}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.LOCAL_TIMEZONE=(new Intl.DateTimeFormat).resolvedOptions().timeZone,o.DEFAULT={numberFormat:14},o.BUILTIN={14:"mm-dd-yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0"},o.oSymbols={Y:{apply:function(t,e){e.setUTCFullYear(t)}},M:{apply:function(t,e){e.setUTCMonth(t-1)}},D:{apply:function(t,e){e.setUTCDate(t)}}},o.prototype._createConfiguration=function(t){var e,r,i;switch(e=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this,t),i=this.getDefaultFormat(t),this.calendar){case"islamic":i="b2"+i;break;case"japanese":i="[$-ja-JP]"+i}for(r in e.numberFormat={format:i},o.BUILTIN)o.BUILTIN[r]===i&&(e.numberFormat=parseInt(r,10));return e},o.prototype.getDefaultFormat=function(){var t;return"string"==typeof this.format&&this.format.match(/^[gdhmsy\s-,.:/]+(AM\/PM)?$/)?t=this.format:"islamic"===this.calendar?t="d mmmm yyyy":"japanese"===this.calendar&&(t="ge.m.d"),t},o.prototype.getValue=function(t,e){var r,i;return null==(i=e[t])||""===i?null:("object"==typeof i&&(i="number"==typeof i.ms?i.ms:i.valueOf()),"number"!=typeof i||isNaN(i)||(r=i),"string"==typeof i&&(r=this._parseStringValue(i)),"number"==typeof r?this.dateToExcel(r,e):null)},o.prototype._parseStringValue=function(t){return this.inputFormat&&"string"==typeof this.inputFormat?o._parseStringDate(t,this.inputFormat):o.odataDateRegex.test(t)?o._parseOdataDate(t):o.odataDateTimeOffsetRegex.test(t)?Date.parse(t):isFinite(t)?parseInt(t,10):null},o._parseODataDuration=function(t){var e,r,i,a,n,s;return e=o.odataDurationRegex.exec(t),r=parseInt(e[4]||0,10),i=parseInt(e[5]||0,10),a=parseInt(e[6]||0,10),n=parseFloat(e[7]||0),s=(s=e[8])?1e3*parseFloat("0."+s):0,s+=1e3*n+6e4*a+36e5*i+864e5*r,"-"===e[1]&&(s=-s),s},o._parseTimeOfDay=function(t){var e,r,i,a,n=new Date(0);return e=o.timeOfDayRegex.exec(t),r=parseInt(e[1]||0,10),i=parseInt(e[2]||0,10),a=parseFloat(e[4]||0),n.setUTCHours(r,i,a),n.getTime()},o._parseOdataDate=function(t){var e,r,i;return e=o.odataDateRegex.exec(t),r=new Date(parseInt(e[1],10)),e[2]&&e[3]&&(i=parseInt(e[2]+e[3],10),r.setUTCMinutes(r.getUTCMinutes()-i)),r.getTime()},o.odataDateRegex=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/,o.odataDurationRegex=/^([+-])?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:\.(\d+))?S)?)?/,o.odataDateTimeOffsetRegex=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2]\d|3[0-1])T([0-1]\d|2[0-3])(:[0-5]\d)(:[0-5]\d(\.\d{1,12})?)?(Z|[+\-](0\d|1[0-2]):[0-5]\d)/,o.dateStringRegex=/([Y]{4,}|[M]{2}|[D]{2})/g,o.timeOfDayRegex=/^([0-1]\d|2[0-3]):([0-5]\d)(:([0-5]\d)(.\d{1,12})?)?$/,o.prototype.dateToExcel=function(t){var e;return e=t>=-22038912e5?2:1,Math.max((t-t%1e3)/864e5+(25567+e),0)},o._parseStringDate=function(t,e){var r,i,a;i=new Date(0);do{null!==(r=o.dateStringRegex.exec(e))&&(a=t.slice(r.index,r.index+r[0].length),o.oSymbols[r[0].charAt(0)].apply(parseInt(a,10),i))}while(null!==r);return i.getTime()},t.exports=o},813:(t,e,r)=>{var i=r(736);function o(t){i.call(this,t),this.utc=!0}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(o.prototype).getDefaultFormat.call(this)||i.BUILTIN[14]},t.exports=o},992:(t,e,r)=>{var i=r(736),o=r(666);function a(t){i.call(this,t),this.timezone=t?t.timezone:null,this.timezoneProperty=t?t.timezoneProperty:null,this.displayTimezone=!t||"boolean"!=typeof t.displayTimezone||t.displayTimezone,this.styleIds={}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a._oCache=new Map,a.prototype.getDefaultFormat=function(t){var e;return e=Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[22],("islamic"===this.calendar&&"d mmmm yyyy"===e||"japanese"===this.calendar&&"ge.m.d"===e)&&(e+=" hh:mm"),this.timezoneProperty&&this.displayTimezone&&(e=`_-${e}* "${o.getTimezoneTranslation(this.getTimezone(t))}"`),e},a.prototype.getTimezone=function(t){return t&&t[this.timezoneProperty]&&"string"==typeof t[this.timezoneProperty]?t[this.timezoneProperty]:this.timezone?this.timezone:"UTC"},a.prototype.getStyleId=function(t,e){var r;return this.timezoneProperty?t?(r=this.getTimezone(t),void 0===this.styleIds[r]&&(this.styleIds[r]=this.styles.addStyle(this._createConfiguration(t))),this.styleIds[r]):0:Object.getPrototypeOf(a.prototype).getStyleId.call(this,t,e)},a.prototype.dateToExcel=function(t,e){var r,i,o,n,s,l,p;return p=this.getTimezone(e),i=Object.getPrototypeOf(a.prototype).dateToExcel.call(this,t),p&&"UTC"!==p&&(s=a.getTimezoneFormat(p),n=new Date(t),l=s.formatToParts(new Date(t)).reduce((function(t,e){switch(e.type){case"day":case"hour":case"minute":t[e.type]=e.value}return t}),{}),(r=n.getUTCDate()-parseInt(l.day,10))>1?r=-1:r<-1&&(r=1),o=24*r*60,o+=60*(n.getUTCHours()-parseInt(l.hour,10)),i-=(o+=n.getUTCMinutes()-parseInt(l.minute,10))/1440),i},a.getTimezoneFormat=function(t){var e,r,i;return(e=a._oCache.get(t))?e:(i={hourCycle:"h23",hour:"2-digit",minute:"2-digit",day:"2-digit",timeZone:t,era:"narrow"},r=new Intl.DateTimeFormat("en-US",i),a._oCache.set(t,r),r)},t.exports=a},924:(t,e,r)=>{var i=r(736);function o(t){i.call(this,t),this.utc=!0}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getValue=function(t,e){var r;return"number"==typeof(r=Object.getPrototypeOf(o.prototype).getValue.call(this,t,e))?r%1:null},o.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(o.prototype).getDefaultFormat.call(this)||i.BUILTIN[21]},o.prototype._parseStringValue=function(t){var e;return"number"==typeof(e=Object.getPrototypeOf(o.prototype)._parseStringValue.call(this,t))?e:i.timeOfDayRegex.test(t)?i._parseTimeOfDay(t):i.odataDurationRegex.test(t)?i._parseODataDuration(t):null},t.exports=o},376:(t,e,r)=>{var i=r(696),o=r(666);function a(t){i.call(this,t)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getScale=function(t){return o.getScaleForCurrency(t)},a.prototype.getNumberFormatTemplate=function(t){let e,r="#,##0";e=t||"number"!=typeof this.scale?this.getScale(t):this.scale,r+=e>0?".":"_.";for(let t=0;t<e;t++)r+="0";for(let t=o.MAX_CURRENCY_SCALE-e;t>0;t--)r+="_0";return this.displayUnit&&(r+="\\ "+(t?`"${t}"`:"_E_U_R")),`* ${r};* \\-\\ ${r}`},a.prototype._createConfiguration=function(t){const e=this.getUnit(t);return{numberFormat:{format:this.getNumberFormatTemplate(e)}}},t.exports=a},996:(t,e,r)=>{var i=r(855);function o(t){i.call(this,t),this._valueMap=t&&t.valueMap?t.valueMap:{}}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getValue=function(t,e){var r;return r=e[t],(this._valueMap instanceof Map?this._valueMap.get(r):this._valueMap[r])||""},t.exports=o},696:(t,e,r)=>{var i=r(855),o=r(666);function a(t){i.call(this,t),this.autoScale=!!t&&t.autoScale,this.delimiter=!!t&&t.delimiter,this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.scale=t?t.scale:null,this.type=t&&"string"==typeof t.type?t.type.toLowerCase():null,this.styleIds={}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT={numberFormat:0},a.builtin={1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",37:"#,##0;(#,##0)",38:"#,##0;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",48:"##0.0E+0"},a.scientificRegEx=/^-?\d?(\.\d)?\d*[eE][+-]?\d{1,3}$/,a.prototype.getScale=function(t){var e;return this.autoScale&&(e=o.getScaleForUnit(t)),isNaN(e)&&(e=this.scale),e},a.prototype.getNumberFormatTemplate=function(t){const e=this.getScale(t);let r=a.builtin[1];if("number"==typeof e&&e>0){r+=".";for(let t=0;t<e;t++)r+="0"}return this.delimiter&&(r="#,##"+r),"percentage"===this.type?r+="%":t&&this.displayUnit&&(r+='\\ "'+t+'"'),r},a.prototype._createConfiguration=function(t){const e=Object.getPrototypeOf(a.prototype)._createConfiguration.call(this,t),r=this.getUnit(t),i=this.getScale(r);if(!this.delimiter&&"number"!=typeof i&&!r)return e.numberFormat=a.DEFAULT.numberFormat,e;const o=this.getNumberFormatTemplate(r);e.numberFormat={format:o};for(const t in a.builtin)a.builtin[t]===o&&(e.numberFormat=parseInt(t,10));return e},a.prototype.getStyleId=function(t,e){var r;return this.unitProperty?t?(r=t[this.unitProperty],void 0===this.styleIds[r]&&(this.styleIds[r]=this.styles.addStyle(this._createConfiguration(t))),this.styleIds[r]):0:Object.getPrototypeOf(a.prototype).getStyleId.call(this,t,e)},a.prototype.getValue=function(t,e){var r,i,o,n=e[t];return"string"==typeof n&&a.scientificRegEx.test(n)&&(i=3===(r=n.split(/\.|[eE]/g)).length?r[1].length:0,o=Number(r[r.length-1]),n=Number(n).toFixed(Math.max(i-o,0)),e[t]=n),n},a.prototype.isIEEE754Compliant=function(t,e){var r=!1,i=this.getUnit(e),o=this.getScale(i);return"number"==typeof t&&(t=""+t),"string"==typeof t&&(r=t.trim().replace(/^-*0*|0+$/g,"").split(".").reduce((function(t,e,r){return t+(r>0&&"number"==typeof o?Math.min(o,e.length):e.length)||1}),0)<=15),r},a.prototype.getUnit=function(t){var e;return"percentage"===this.type?e="%":"string"==typeof this.unitProperty&&t?e=t[this.unitProperty]:"string"==typeof this.unit&&(e=this.unit),"string"==typeof e&&'"'!==e||(e=""),e||""},t.exports=a},780:(t,e,r)=>{var i=r(855),o=r(603),a=String.fromCharCode(13,10);function n(t){i.call(this,t),this.font=t?t.font:null,this.fill=t?t.fill:null,this.template=t?t.template:null,this.hierarchyLevel=t?t.hierarchyLevel:null,this.wrap=!!t&&t.wrap,this.inputFormat=t?t.inputFormat:null,this._mStyleIds={}}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.DEFAULT={font:{size:11,name:"Arial"}};const s=/^[\s]*[=+\-@]/,l=/\$[\$&`']/;n.convertLineBreaks=function(t){return"string"!=typeof t?t:t.replace(/\r/g,"").replace(/\n/g,a)},n.prototype._createConfiguration=function(t){var e;return(e=Object.getPrototypeOf(n.prototype)._createConfiguration.call(this)).fill=this.fill,e.font=this.font,this.hierarchyLevel&&(e.align={horizontal:o.horizontal.LEFT,indent:2*t[this.hierarchyLevel]}),this.wrap&&(e.align=e.align||{},e.align.wrap=this.wrap),e},n.prototype.getStyleId=function(t,e){var r,i,o;return t?(r=e&&s.test(e),this.hierarchyLevel||r?(i="id_"+t[this.hierarchyLevel]+(r?"_prefix":""),void 0===this._mStyleIds[i]&&((o=this._createConfiguration(t)).quotePrefix=r,this._mStyleIds[i]=this.styles.addStyle(o)),this._mStyleIds[i]):Object.getPrototypeOf(n.prototype).getStyleId.call(this)):0},n.prototype.getValue=function(t,e){var r,i,o,a,s,p;if(!this.template)return a="string"==typeof t?e[t]:e[t[0]],this.wrap?n.convertLineBreaks(a):a;if("string"==typeof this.inputFormat?(p=new RegExp(this.inputFormat).exec(e[t]),s=Array.isArray(p)?p.slice(1):[e[t]]):s=t.reduce((function(t,r){return t.push(e[r]),t}),[]),s.every((function(t){return null==t||"string"==typeof t&&""===t})))return"";for(o=this.template,r=(i=/{([0-9]+)}/g).exec(this.template);null!==r;){if(null==(a=s[r[1]])&&(a=""),l.test(a)){const t=a;o=o.replace(r[0],(()=>t))}else o=o.replace(r[0],a);r=i.exec(this.template)}return o},t.exports=n},256:(t,e,r)=>{var i=r(666),o=r(855);function a(t){o.call(this,t)}a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){const r=e[t];return i.getTimezoneTranslation(r)},t.exports=a},855:t=>{function e(t){this.styleId=null,this.alignment=t&&t.textAlign?t.textAlign:null}e.prototype._createConfiguration=function(t){return this.alignment?{align:{horizontal:this.alignment}}:{}},e.prototype.getStyleId=function(t,e){return null===this.styleId&&(this.styleId=this.styles.addStyle(this._createConfiguration(t))),this.styleId},e.prototype.registerAt=function(t){this.styles=t},e.prototype.getValue=function(t,e){return e[t]},t.exports=e},777:(t,e,r)=>{var i=r(427),o=r(488),a=r(813),n=r(992),s=r(924),l=r(696),p=r(587),u=r(376);function h(t,e){i.call(this,h.metadata),Object.defineProperty(this,"type",{value:h.DataType.SharedString,writable:!0}),this._shared=e,this._oFallbackType=null,this._applyType(t)}h.prototype=Object.create(i.prototype),h.prototype.constructor=h,h.DataType={Boolean:"b",Date:"d",InlineString:"inlineStr",Number:"n",SharedString:"s",FormularString:"str"},h._cellTypeProperty="cellType",h.metadata={tag:"c",attributes:[{id:"reference",name:"r",value:""},{id:"style",name:"s",value:"0"}],properties:[{id:"text",tag:"v"}]},h.prototype._applyType=function(t){switch(this.bindingType=t,t.constructor){case p:this.type=h.DataType.Boolean,t.isCustomFormatted()||this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.Boolean});break;case a:case n:case s:this.type=h.DataType.Date;break;case l:case u:this.type=h.DataType.Number,this._oFallbackType=new o(t),this._oFallbackType.registerAt(t.styles);break;default:this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.SharedString}),this.type=h.DataType.SharedString}},h.prototype.setStyle=function(t){this.style.value=t},h.prototype.setReference=function(t){if("string"!=typeof t||!t.match(/^[A-Z]+[1-9]+[0-9]*$/g))throw new Error(`The given Cell reference "${t}" does not match the reference pattern.`);this.reference.value=t},h.prototype.setValue=function(t,e){var r,i;if(r=(i=this.bindingType).getValue(t,e),this._isValuePresent(r)){switch(this.type){case h.DataType.Boolean:"string"==typeof r&&(r="true"===r.toLowerCase()),this.text.value=r?"1":"0";break;case h.DataType.Date:this.text.value=r;break;case h.DataType.Number:if(i.isIEEE754Compliant(r,e)){this.text.value=r,this[h._cellTypeProperty]&&this.remove(h._cellTypeProperty);break}r=(i=this._oFallbackType).getValue(t,e),this[h._cellTypeProperty]||this.addAttribute({id:h._cellTypeProperty,name:"t",value:h.DataType.SharedString});default:this.text.value=this._shared.insert(r)}this.setStyle(i.getStyleId(e,r))}else this.text.value=""},h.prototype._isValuePresent=function(t){return"string"==typeof t&&!!t||"number"==typeof t||"boolean"==typeof t||t instanceof Date},h.prototype.serialize=function(){return this._isValuePresent(this.text.value)?i.prototype.serialize.call(this):""},t.exports=h},453:(t,e,r)=>{var i=r(427),o=r(777);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"row",attributes:[{id:"reference",name:"r",value:""},{id:"spans",name:"spans",value:"1:1"}]},a.getColumnReferenceByIndex=function(t){return t<26?String.fromCharCode(65+t):a.getColumnReferenceByIndex(Math.floor(t/26)-1)+String.fromCharCode(65+t%26)},a.prototype._updateSpans=function(){this.spans.value="1:"+this.childs.length},a.prototype.addCell=function(t){var e;t&&t instanceof o&&(e=this.childs.push(t),this._updateSpans(),this.reference.value&&t.setReference(a.getColumnReferenceByIndex(e-1)+this.reference.value),this.style&&t.setStyle(this.style.value))},a.prototype.setReference=function(t){var e,r;if((r="number"==typeof t?String(t):t)&&r.match(/^[1-9]+[0-9]*$/g)&&this.reference.value!=r)for(this.reference.value=r,e=0;e<this.childs.length;e++)this.childs[e].setReference(a.getColumnReferenceByIndex(e)+r)},a.prototype.setStyle=function(t){var e,r;for(this.style||(r=this.addAttribute({name:"s"}),Object.defineProperty(this,"style",{value:r})),this.style.value=t,e=0;e<this.childs.length;e++)this.childs[e].setStyle(t)},t.exports=a},345:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),this.setValue(t)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.spacePreserveAttributeId="spacePreserve",o.controlCharacterTestRegex=/[\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]/m,o.controlCharacterReplaceRegex=/[\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F]/gm,o.spacePreserveRegex=/^ | $/,o.metadata={tag:"si",properties:[{id:"text",tag:"t"}]},o._escapeControlCharacters=function(t){var e;return t.replace(o.controlCharacterReplaceRegex,(function(t){return"_x00"+(1===(e=t.codePointAt(0).toString(16).toUpperCase()).length?"0":"")+e+"_"}))},o.prototype.setValue=function(t){this.text.remove(o.spacePreserveAttributeId),o.controlCharacterTestRegex.test(t)&&(t=o._escapeControlCharacters(t)),o.spacePreserveRegex.test(t)&&this.text.addAttribute({id:o.spacePreserveAttributeId,name:"space",prefix:"xml",value:"preserve"}),this.text.value=t&&"string"==typeof t?t:""+t},o.prototype.serialize=function(){return(" "+Object.getPrototypeOf(o.prototype).serialize.call(this)).substr(1)},t.exports=o},116:(t,e,r)=>{var i=r(41),o=r(345);function a(){i.call(this,a.metadata),Object.defineProperty(this,"map",{value:new Map,writable:!1}),Object.defineProperty(this,"_shared",{value:new o(""),writable:!1}),a.instance=this}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.MAX_CELL_LENGTH=32767,a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.metadata={filename:"sharedStrings.xml",tag:"sst",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{id:"count",name:"count",value:0},{id:"uniqueCount",name:"uniqueCount",value:0}]},a.prototype.insert=function(t){var e;return this.count.value=this.count.value+1,t.length>a.MAX_CELL_LENGTH&&(t=t.substring(0,a.MAX_CELL_LENGTH+1)),this.map.has(t)?this.map.get(t):(this._shared.setValue(t),e=this.map.size,this.map.set(t,e),this.childs.push(this._shared.serialize()),this.uniqueCount.value=this.childs.length,e)},a.prototype.cleanup=function(){this.map.clear()},t.exports=a},658:(t,e,r)=>{var i=r(41),o=r(453);function a(t){i.call(this,a.metadata),Object.defineProperty(this,"_columns",{value:t,writable:!1}),this._hierarchyProperty=t._hierarchyProperty,this._hierarchyLevel=0,this._rowCount=0,this._createCols(),this._createHeader()}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"worksheet",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{tag:"sheetPr",properties:[{tag:"outlinePr",attributes:[{name:"summaryBelow",value:"0"}]}]},{id:"dimension",tag:"dimension",attributes:[{id:"reference",name:"ref",value:"A1"}]},{id:"views",tag:"sheetViews",properties:[{id:"defaultView",tag:"sheetView",attributes:[{name:"workbookViewId",value:"0"}],properties:[{id:"pane",tag:"pane",attributes:[{name:"ySplit",value:"1"},{name:"topLeftCell",value:"A2"},{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}]}]}]},{id:"format",tag:"sheetFormatPr",attributes:[{name:"defaultRowHeight",value:"15"}]},{id:"columns",tag:"cols"},{id:"data",tag:"sheetData"},{id:"filter",tag:"autoFilter",attributes:[{id:"reference",name:"ref",value:"A1"}]},{tag:"pageMargins",attributes:[{name:"left",value:"0.75"},{name:"right",value:"0.75"},{name:"top",value:"1"},{name:"bottom",value:"1"},{name:"header",value:"0.5"},{name:"footer",value:"0.5"}]}]},a.MAX_ROWS=1048576,a.prototype._createCols=function(){var t,e,r,i,o;for(e=0;e<this._columns.size();e++)t=this._columns.columns[e],r=this._calculateColumnWidth(t.label.length)+2.4,o=Math.max(this._calculateColumnWidth(t.width),r),i=Math.ceil(4*o)/4,this.columns.addChild({tag:"col",attributes:[{name:"min",value:e+1},{name:"max",value:e+1},{name:"bestFit",value:"1"},{name:"width",value:Math.max(i,r)},{name:"customWidth",value:"1"}]})},a.prototype._calculateColumnWidth=function(t){return"number"!=typeof t?0:Math.floor((8*t+5)/8*256)/256},a.prototype._setHierarchyDepth=function(t){"number"!=typeof t||t<1||t>7||(t=t||0,this.format.hierarchyDepth?this.format.hierarchyDepth.value=Math.max(this.format.hierarchyDepth.value,t):this.format.addAttribute({id:"hierarchyDepth",name:"outlineLevelRow",value:t}))},a.prototype._createHeader=function(){var t=this._columns.getHeader();if(null===t)return this.remove("filter"),void this.views.defaultView.remove("pane");this._appendRow(t)},a.prototype._appendRow=function(t){var e,r;this._rowCount++,t.setReference(""+this._rowCount),r=t.serialize(),this._rowCount%2==0&&(r=this.data.childs.pop()+r),this.data.childs.push((" "+r).substr(1)),e="A1:"+o.getColumnReferenceByIndex(this._columns.size()-1)+this._rowCount,this.dimension.reference.value=e,this.filter&&(this.filter.reference.value=e)},a.prototype.createGroup=function(t,e){var r;this._hierarchyLevel=e,r=this._columns.getGroupHeader(t),this._appendRow(r)},a.prototype.insert=function(t){var e;if(this._rowCount>=a.MAX_ROWS)throw new Error("Row limit reached.");e=this._columns.hierarchyLevelProperty?t[this._columns.hierarchyLevelProperty]:this._hierarchyLevel,this._appendRow(this._columns.bind(t,e)),this._setHierarchyDepth(e)},a.prototype.cleanup=function(){this.remove("data")},a.prototype.getRowCount=function(){return this._rowCount},t.exports=a},164:(t,e,r)=>{var i=r(41);function o(t){i.call(this,o.metadata),t&&(t.application&&(this.application.value=t.application),t.version&&(this.version.value=t.version))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={path:"docProps/",filename:"app.xml",tag:"Properties",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"},{name:"xmlns",suffix:"vt",value:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}],properties:[{id:"application",tag:"Application",value:"SAP UI5"},{tag:"DocSecurity",value:"0"},{tag:"Company",value:"SAP SE"},{tag:"SharedDoc",value:"false"},{id:"version",tag:"AppVersion",value:"1.118"}]},t.exports=o},409:(t,e,r)=>{var i=r(41);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.FILENAME="",o.metadata={filename:"[Content_Types].xml",tag:"Types",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/content-types"}],properties:[{tag:"Default",attributes:[{name:"Extension",value:"xml"},{name:"ContentType",value:"application/xml"}]},{tag:"Default",attributes:[{name:"Extension",value:"rels"},{name:"ContentType",value:"application/vnd.openxmlformats-package.relationships+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/workbook.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/worksheets/sheet1.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/styles.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/xl/sharedStrings.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/docProps/core.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-package.core-properties+xml"}]},{tag:"Override",attributes:[{name:"PartName",value:"/docProps/app.xml"},{name:"ContentType",value:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}]}]},t.exports=o},272:(t,e,r)=>{var i=r(41);function o(t){i.call(this,o.metadata),t&&(t.title&&(this.title.value=t.title),t.modifiedBy&&(this.modifiedBy.value=t.modifiedBy))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={path:"docProps/",filename:"core.xml",tag:"cp:coreProperties",root:!0,attributes:[{name:"xmlns",suffix:"cp",value:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties"},{name:"xmlns",suffix:"dc",value:"http://purl.org/dc/elements/1.1/"},{name:"xmlns",suffix:"dcterms",value:"http://purl.org/dc/terms/"},{name:"xmlns",suffix:"dcmitype",value:"http://purl.org/dc/dcmitype/"},{name:"xmlns",suffix:"xsi",value:"http://www.w3.org/2001/XMLSchema-instance"}],properties:[{id:"title",tag:"dc:title",value:"Table Export"},{tag:"dc:creator",value:"SAP UI5 Document Export"},{tag:"cp:keywords",value:"SAP UI5 EXPORT"},{id:"modifiedBy",tag:"cp:lastModifiedBy",value:"SAP UI5"},{tag:"dcterms:created",attributes:[{prefix:"xsi",name:"type",value:"dcterms:W3CDTF"}],value:(new Date).toISOString()},{id:"modified",tag:"dcterms:modified",attributes:[{prefix:"xsi",name:"type",value:"dcterms:W3CDTF"}],value:(new Date).toISOString()}]},o.prototype.serialize=function(){return this.modified.value=(new Date).toISOString(),Object.getPrototypeOf(o.prototype).serialize.call(this)},t.exports=o},906:(t,e,r)=>{var i=r(41),o=r(760);function a(t){i.call(this,t),this._relatedFiles=[],this._relationships=new o(this),this.addRelatedFile(this._relationships)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.addRelatedFile=function(t){if(!(t instanceof i))throw new Error("A related file must be of type XMLFile");this._relatedFiles.push(t)},a.prototype.getRelationships=function(){return this._relationships},a.prototype.getRelatedFiles=function(){return this._relatedFiles.slice()},t.exports=a},760:(t,e,r)=>{var i=r(41),o=r(427);function a(t){i.call(this,a.metadata),t instanceof i&&(this.setFileName(t.getFileName()+".rels"),this.setPath(t.getPath()+"_rels/"))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={filename:".rels",path:"_rels/",tag:"Relationships",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/relationships"}],properties:[]},a.prototype.addRelationship=function(t,e){var r="rId"+(this.childs.length+1);return this.childs.push(new o({tag:"Relationship",attributes:[{name:"Id",value:r},{name:"Type",value:e},{name:"Target",value:t}]})),r},t.exports=a},891:(t,e,r)=>{var i=r(818),o=r(906),a=r(116),n=r(658),s=r(94);function l(){var t;for(t in o.call(this,l.metadata),this._styles=new s,this._styles.setPath(this.getPath()),this.addRelatedFile(this._styles),this._sharedStrings=new a,this._sharedStrings.setPath(this.getPath()),this.addRelatedFile(this._sharedStrings),l.RELATIONS)this._relationships.addRelationship(l.RELATIONS[t].target,l.RELATIONS[t].type);this._registeredSheets=[]}l.prototype=Object.create(o.prototype),l.prototype.constructor=l,l.RELATIONS={sharedStrings:{target:"sharedStrings.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"},styles:{target:"styles.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"}},l.metadata={filename:"workbook.xml",path:"xl/",tag:"workbook",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{tag:"bookViews",properties:[{tag:"workbookView",attributes:[{name:"xWindow",value:"0"},{name:"yWindow",value:"0"},{name:"windowWidth",value:"22260"},{name:"windowHeight",value:"12645"}]}]},{id:"sheets",tag:"sheets"},{id:"definedNames",tag:"definedNames"}]},l.prototype.addSheet=function(t,e){var r,o,a,s,l;return l="sheet"+(o=this.sheets.childs.length+1)+".xml",a=this._relationships.addRelationship("worksheets/"+l,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"),this.sheets.addChild({tag:"sheet",attributes:[{id:"name",name:"name",value:t},{name:"sheetId",value:""+o},{name:"id",prefix:"r",value:a}]}),r=new i(e,this._sharedStrings,this._styles),(s=new n(r)).setFileName(l),s.setPath(this.getPath()+"worksheets/"),this.addRelatedFile(s),this._registeredSheets.push(s),s},l.prototype.selectSheet=function(t){if(!(t instanceof n)||this._registeredSheets.indexOf(t)<0)throw new Error("Could not select sheet. Sheet not found.");this._registeredSheets.forEach((function(t,e,r){t.views.defaultView.remove("selected")})),t.views.defaultView.addAttribute({id:"selected",name:"tabSelected",value:"1"})},l.prototype.serialize=function(){var t=this;function e(t,e){var r,i;return i=e.filter.reference.value,r=/^[a-zA-Z0-9]+$/.test(t)?t:`'${t}'`,(r+="!")+i.replace(/([A-Z]+)|(\d+)/g,(function(t){return"$"+t}))}return this._registeredSheets.forEach((function(r,i,o){var a=t.sheets.childs[i].name.value;r.filter&&t.definedNames.addChild({tag:"definedName",attributes:[{name:"name",value:"_xlnm._FilterDatabase"},{name:"localSheetId",value:i},{name:"hidden",value:"1"}],value:e(a,r)})})),Object.getPrototypeOf(l.prototype).serialize.call(this)},t.exports=l},603:(t,e,r)=>{var i=r(427);function o(){i.call(this,o.metadata)}function a(t,e){var r,i=!1;for(r in e)i=i||e[r]===t&&"function"!=typeof e[r];return i}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"alignment"},o.horizontal={LEFT:"left",CENTER:"center",RIGHT:"right",contains:function(t){return a(t,o.horizontal)}},o.vertical={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",contains:function(t){return a(t,o.vertical)}},o.prototype.isDefault=function(){return 0==this.attributes.length},o.prototype.setIndent=function(t){"number"!=typeof t||t<=0?this.remove("indent"):(this._setAlignmentAttribute("indent",t),this.horizontal||this.setHorizontalAlignment(o.horizontal.LEFT))},o.prototype.setWrapText=function(t){var e="wrapText";t?this._setAlignmentAttribute(e,"1"):this[e]&&this.remove(e)},o.prototype.setHorizontalAlignment=function(t){o.horizontal.contains(t)&&this._setAlignmentAttribute("horizontal",t)},o.prototype.setVerticalAlignment=function(t){o.vertical.contains(t)&&this._setAlignmentAttribute("vertical",t)},o.prototype._setAlignmentAttribute=function(t,e){this[t]||this.addAttribute({id:t,name:t}),this[t].value=e},o.prototype._getAlignmentAttribute=function(t){return this[t]&&this[t].value},o.prototype.equals=function(t){return null!=t&&this._getAlignmentAttribute("vertical")==t._getAlignmentAttribute("vertical")&&this._getAlignmentAttribute("horizontal")==t._getAlignmentAttribute("horizontal")&&this._getAlignmentAttribute("indent")==t._getAlignmentAttribute("indent")&&this._getAlignmentAttribute("wrapText")==t._getAlignmentAttribute("wrapText")},t.exports=o},270:(t,e,r)=>{var i=r(427);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"border",properties:[{tag:"left"},{tag:"right"},{tag:"top"},{tag:"bottom"},{tag:"diagonal"}]},o.prototype.equals=function(t){return t instanceof o},t.exports=o},13:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),t&&(t.color?this.setFill(t.color):t.type&&this.setType(t.type))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT_TYPE="none",o.metadata={tag:"fill",properties:[{id:"fill",tag:"patternFill",attributes:[{id:"type",name:"patternType",value:o.DEFAULT_TYPE}]}]},o.prototype.equals=function(t){return t instanceof o&&this.getType()===t.getType()&&this.getFill()===t.getFill()},o.prototype.getFill=function(){return this.fill.childs.length?this.fill.color.rgb.value.substring(2):null},o.prototype.setFill=function(t){this.reset(),t&&"string"==typeof t&&/^[A-Fa-f0-9]{6}$/.test(t)&&(this.fill.type.value="solid",this.fill.addChild({id:"color",tag:"fgColor",attributes:[{id:"rgb",name:"rgb",value:"FF"+t}]}),this.fill.addChild({tag:"bgColor",attributes:[{name:"indexed",value:"64"}]}))},o.prototype.getType=function(){return this.fill.type.value},o.prototype.setType=function(t){this.reset(),this.fill.type.value=t},o.prototype.reset=function(){this.fill.type.value="none",this.fill.childs.length=0},t.exports=o},261:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),t&&t instanceof Object&&this.setName(t.name).setSize(t.size).setFamily(t.family).setBold(!!t.bold)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT_SIZE=11,o.DEFAULT_NAME="Arial",o.metadata={tag:"font",properties:[{id:"size",tag:"sz",attributes:[{id:"valueAttribute",name:"val",value:o.DEFAULT_SIZE}]},{id:"color",tag:"color",attributes:[{id:"valueAttribute",name:"theme",value:"1"}]},{id:"name",tag:"name",attributes:[{id:"valueAttribute",name:"val",value:o.DEFAULT_NAME}]},{id:"family",tag:"family",attributes:[{id:"valueAttribute",name:"val",value:2}]}]},o.prototype.equals=function(t){return t instanceof o&&this.getName()==t.getName()&&this.getSize()==t.getSize()&&this.isBold()==t.isBold()&&this.getColor()==t.getColor()&&this.getFamily()==t.getFamily()},o.prototype.isBold=function(){return!!this.bold},o.prototype.getSize=function(){return this.size.valueAttribute.value},o.prototype.getName=function(){return this.name.valueAttribute.value},o.prototype.getColor=function(){return this.color.valueAttribute.value},o.prototype.getFamily=function(){return this.family.valueAttribute.value},o.prototype.setBold=function(t){var e="bold";return t===!!this[e]||(t?this.addChild({id:e,tag:"b"}):this.remove(e)),this},o.prototype.setFamily=function(t){return t>0&&t<15&&(this.family.valueAttribute.value=t),this},o.prototype.setName=function(t){return t&&"string"==typeof t&&(this.name.valueAttribute.value=t),this},o.prototype.setSize=function(t){if("number"!=typeof t||isNaN(t)||t<1||t>96)throw new Error(`The size ${t} is not supported.`);return this.size.valueAttribute.value=t,this},t.exports=o},898:(t,e,r)=>{var i=r(427);function o(t){i.call(this,o.metadata),this.format.value=t&&t.format?t.format:o.DEFAULT}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"numFmt",attributes:[{id:"formatId",name:"numFmtId"},{id:"format",name:"formatCode"}]},o.BUILTIN_IDS=[0,1,2,3,4,9,10,11,12,13,14,15,16,17,18,19,20,21,22,37,38,39,40,45,46,47,48,49],o.ID_OFFSET=164,o.DEFAULT="#,##0.00",o.prototype.getId=function(){return this.formatId.value},o.prototype.getFormat=function(){return this.format.value},o.prototype.setId=function(t){var e="number"==typeof t?t:parseInt(t,10);isNaN(e)||e<0||o._isBuiltin(e)||(this.formatId.value=t)},o.prototype.setFormat=function(t){this.format.value=t},o._isBuiltin=function(t){return o.BUILTIN_IDS.indexOf(t)>-1},o.prototype.equals=function(t){return t instanceof o&&this.getFormat()===t.getFormat()},t.exports=o},635:(t,e,r)=>{var i=r(427),o=r(603);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"xf",attributes:[{id:"numberFormat",name:"numFmtId",value:"0"},{id:"font",name:"fontId",value:"0"},{id:"fill",name:"fillId",value:"0"},{id:"border",name:"borderId",value:"0"}]},a.DEFAULT={font:{name:"Arial",size:11,family:"2",color:"1",bold:!1},fill:{type:"none"}},a.prototype.getAlignment=function(){return this.alignment?this.alignment:null},a.prototype.getFontId=function(){return this.font.value},a.prototype.getFillId=function(){return this.fill.value},a.prototype.getBorderId=function(){return this.border.value},a.prototype.getNumberFormatId=function(){return this.numberFormat.value},a.prototype.hasQuotePrefix=function(){return"quotePrefix"in this},a.prototype.setAlignment=function(t){var e,r;r="alignment",this._apply(t,"Alignment"),null!=t?(r in this||(e=new o,this.addChild(e),Object.defineProperty(this,r,{value:e,writable:!1,configurable:!0})),this[r].setHorizontalAlignment(t.horizontal),this[r].setVerticalAlignment(t.vertical),this[r].setWrapText(t.wrap),this[r].setIndent(t.indent)):this.remove(r)},a.prototype.setFontId=function(t){this._apply(t,"Font"),this.font.value=t},a.prototype.setFillId=function(t){this._apply(t,"Fill"),this.fill.value=t},a.prototype.setBorderId=function(t){this.border.value=t},a.prototype.setNumberFormatId=function(t){this._apply(t,"NumberFormat"),this.numberFormat.value=t},a.prototype.setQuotePrefix=function(t){var e="quotePrefix";t&&!this.hasQuotePrefix()?this.addAttribute({id:e,name:e,value:"1"}):!t&&this.hasQuotePrefix()&&this.remove(e)},a.prototype._apply=function(t,e){var r="apply"+e;this.remove(r),t&&this.addAttribute({id:r,name:r,value:"1"})},a.prototype.equals=function(t){return t instanceof a&&this.getFontId()===t.getFontId()&&this.getFillId()===t.getFillId()&&this.getBorderId()===t.getBorderId()&&this.getNumberFormatId()===t.getNumberFormatId()&&this.hasQuotePrefix()===t.hasQuotePrefix()&&(!this.alignment&&!t.alignment||this.alignment&&this.alignment.equals(t.alignment))},t.exports=a},94:(t,e,r)=>{var i=r(41),o=r(635),a=r(261),n=r(13),s=r(270),l=r(898);function p(){i.call(this,p.metadata),this.addFill({type:"none"}),this.addFill({type:"gray125"}),this.addStyle(o.DEFAULT)}p.prototype=Object.create(i.prototype),p.prototype.constructor=p,p.metadata={filename:"styles.xml",tag:"styleSheet",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{name:"xmlns",suffix:"mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"}],properties:[{id:"numberFormats",tag:"numFmts",attributes:[{id:"count",name:"count",value:0}]},{id:"fonts",tag:"fonts",attributes:[{id:"count",name:"count",value:0}]},{id:"fills",tag:"fills",attributes:[{id:"count",name:"count",value:0}]},{id:"borders",tag:"borders",attributes:[{id:"count",name:"count",value:0}]},{tag:"cellStyleXfs",attributes:[{name:"count",value:"1"}],properties:[{tag:"xf",attributes:[{name:"numFmtId",value:"0"},{name:"fontId",value:"0"},{name:"fillId",value:"0"},{name:"borderId",value:"0"}]}]},{id:"cellXfs",tag:"cellXfs",attributes:[{id:"count",name:"count",value:0}]},{tag:"cellStyles",attributes:[{name:"count",value:"1"}],properties:[{tag:"cellStyle",attributes:[{name:"name",value:"Normal"},{name:"xfId",value:"0"},{name:"builtinId",value:"0"}]}]},{tag:"dxfs",attributes:[{name:"count",value:0}]},{tag:"tableStyles",attributes:[{name:"count",value:0},{name:"defaultTableStyle",value:"TableStyleMedium2"},{name:"defaultPivotStyle",value:"PivotStyleLight16"}]}]},p.prototype.addStyle=function(t){var e,r,i,a,n;return r=this.addFont(t.font),i=this.addFill(t.fill),a=this.addBorder(t.border),void 0===t.numberFormat&&(t.numberFormat=0),n=l._isBuiltin(t.numberFormat)?t.numberFormat:this.addNumberFormat(t.numberFormat),(e=new o).setFontId(r),e.setFillId(i),e.getBorderId(a),e.setNumberFormatId(n),e.setAlignment(t.align),e.setQuotePrefix(t.quotePrefix),this._addToAggregation(e,this.cellXfs)},p.prototype._addToAggregation=function(t,e){var r,i;return i=-1,e.childs.forEach((function(e,r,o){e.equals(t)&&(i=r)})),-1===i&&(e.addChild(t),r=e.childs.length,e.count.value=r,i=r-1),i},p.prototype.addColor=function(t){this.colors||this.addChild({id:"colors",tag:"colors",properties:[{id:"mru",tag:"mruColors"}]}),this.colors.mru.childs.some((function(e){return e.rgb.value==="FF"+t}))||this.colors.mru.addChild({tag:"color",attributes:[{id:"rgb",name:"rgb",value:"FF"+t}]})},p.prototype.addFont=function(t){var e=new a(t);return this._addToAggregation(e,this.fonts)},p.prototype.addFill=function(t){var e,r;return r=new n(t),e=this._addToAggregation(r,this.fills),null!==r.getFill()&&this.addColor(r.getFill()),e},p.prototype.addBorder=function(t){var e=new s(t);return this._addToAggregation(e,this.borders)},p.prototype.addNumberFormat=function(t){var e,r;return r=new l(t),e=this._addToAggregation(r,this.numberFormats),r.setId(l.ID_OFFSET+e),r.getId()},t.exports=p},983:(t,e,r)=>{var i=r(383);function o(t){i.call(this,t),this.name=t.name?t.name:"",this.prefix=t.prefix?t.prefix:"",this.suffix=t.suffix?t.suffix:""}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.serialize=function(){return` ${this.prefix?this.prefix+":":""}${this.name}${this.suffix?":"+this.suffix:""}="${this.xmlEncode(this.value)}"`},t.exports=o},383:t=>{function e(t){this.value=t&&(t.value||"number"==typeof t.value)?t.value:""}e.prototype.xmlEncode=function(t){return"string"==typeof t&&null!==t.match(/[><"&]+/)?this._replace(t):t},e.prototype._replace=function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},t.exports=e},41:(t,e,r)=>{var i=r(427);function o(t){i.call(this,t),this._filename=t.filename,this._path=t.path}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getFileName=function(){return this._filename},o.prototype.setFileName=function(t){if(!t.match(/^\S+\.\S{3,4}$/))throw new Error("Invalid file name: "+t);this._filename=t},o.prototype.getPath=function(){return this._path},o.prototype.getAbsolutePath=function(){return this.getPath()+this.getFileName()},o.prototype.setPath=function(t){if(!t||t.lastIndexOf("/")!==t.length-1)throw new Error("Invalid file path: "+t);this._path=t},o.prototype.serialize=function(t){const e=Object.getPrototypeOf(o.prototype).serialize.call(this);return t&&(this.childs.length=0,this.cleanup()),e},o.prototype.cleanup=function(){},t.exports=o},427:(t,e,r)=>{var i=r(383),o=r(983);function a(t){i.call(this,t);const e="string"==typeof t?{tag:t}:t;if(Object.defineProperty(this,"root",{value:!!e.root,writable:!1}),this.tag="string"==typeof e.tag?e.tag:"",this.attributes=[],this.childs=[],e.attributes)for(let t=0;t<e.attributes.length;t++)this.addAttribute(e.attributes[t]);if(e.properties)for(let t=0;t<e.properties.length;t++)this.addChild(e.properties[t])}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.processingInformation='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',a.prototype.addAttribute=function(t){const e=t instanceof o?t:new o(t);return this.attributes.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},a.prototype.addChild=function(t){const e=t instanceof a?t:new a(t);return this.childs.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},a.prototype.remove=function(t){if(!(t in this))return null;let e;const r=this[t];if(r instanceof o)e=this.attributes;else{if(!(r instanceof a)||t in new a(""))return null;e=this.childs}const i=e.indexOf(r);return e.splice(i,1),delete this[t],r},a.prototype.serialize=function(){let t=(this.root?a.processingInformation:"")+"<"+this.tag;for(let e=0;e<this.attributes.length;e++)t+=this.attributes[e].serialize();const e=this.getSerializedContent();return e?(t=(" "+t).substr(1),t+=`>${e}</${this.tag}>`):(t+="/>",t=(" "+t).substr(1)),t},a.prototype.getSerializedContent=function(){let t="";for(let e=0;e<this.childs.length;e++)t+="string"==typeof this.childs[e]?this.childs[e]:this.childs[e].serialize();return t+=this.xmlEncode(this.value),t},t.exports=a}},e={},r=function r(i){var o=e[i];if(void 0!==o)return o.exports;var a=e[i]={exports:{}};return t[i](a,a.exports,r),a.exports}(838);XLSXBuilder=r})();
2
2
  //# sourceMappingURL=XLSXBuilder.js.map