@sapui5/sap.ui.export 1.108.21 → 1.108.23

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.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/export/.library +1 -1
  3. package/src/sap/ui/export/ExportBase.js +1 -1
  4. package/src/sap/ui/export/ExportHandler.js +1 -1
  5. package/src/sap/ui/export/ExportUtils.js +2 -2
  6. package/src/sap/ui/export/PortableDocument.js +1 -1
  7. package/src/sap/ui/export/Spreadsheet.js +3 -3
  8. package/src/sap/ui/export/SpreadsheetExport.js +1 -1
  9. package/src/sap/ui/export/js/XLSXBuilder.js +1 -1
  10. package/src/sap/ui/export/js/XLSXBuilder.js.map +1 -1
  11. package/src/sap/ui/export/library.js +2 -2
  12. package/src/sap/ui/export/messagebundle_ar.properties +62 -0
  13. package/src/sap/ui/export/messagebundle_bg.properties +62 -0
  14. package/src/sap/ui/export/messagebundle_ca.properties +62 -0
  15. package/src/sap/ui/export/messagebundle_cs.properties +62 -0
  16. package/src/sap/ui/export/messagebundle_cy.properties +62 -0
  17. package/src/sap/ui/export/messagebundle_da.properties +62 -0
  18. package/src/sap/ui/export/messagebundle_de.properties +62 -0
  19. package/src/sap/ui/export/messagebundle_el.properties +62 -0
  20. package/src/sap/ui/export/messagebundle_en.properties +62 -0
  21. package/src/sap/ui/export/messagebundle_en_GB.properties +62 -0
  22. package/src/sap/ui/export/messagebundle_es.properties +62 -0
  23. package/src/sap/ui/export/messagebundle_es_MX.properties +62 -0
  24. package/src/sap/ui/export/messagebundle_et.properties +62 -0
  25. package/src/sap/ui/export/messagebundle_fi.properties +62 -0
  26. package/src/sap/ui/export/messagebundle_fr.properties +62 -0
  27. package/src/sap/ui/export/messagebundle_fr_CA.properties +62 -0
  28. package/src/sap/ui/export/messagebundle_hi.properties +62 -0
  29. package/src/sap/ui/export/messagebundle_hr.properties +62 -0
  30. package/src/sap/ui/export/messagebundle_hu.properties +62 -0
  31. package/src/sap/ui/export/messagebundle_id.properties +62 -0
  32. package/src/sap/ui/export/messagebundle_it.properties +62 -0
  33. package/src/sap/ui/export/messagebundle_iw.properties +62 -0
  34. package/src/sap/ui/export/messagebundle_ja.properties +62 -0
  35. package/src/sap/ui/export/messagebundle_kk.properties +62 -0
  36. package/src/sap/ui/export/messagebundle_ko.properties +62 -0
  37. package/src/sap/ui/export/messagebundle_lt.properties +62 -0
  38. package/src/sap/ui/export/messagebundle_lv.properties +62 -0
  39. package/src/sap/ui/export/messagebundle_mk.properties +120 -0
  40. package/src/sap/ui/export/messagebundle_ms.properties +62 -0
  41. package/src/sap/ui/export/messagebundle_nl.properties +62 -0
  42. package/src/sap/ui/export/messagebundle_no.properties +62 -0
  43. package/src/sap/ui/export/messagebundle_pl.properties +62 -0
  44. package/src/sap/ui/export/messagebundle_pt.properties +62 -0
  45. package/src/sap/ui/export/messagebundle_pt_PT.properties +62 -0
  46. package/src/sap/ui/export/messagebundle_ro.properties +62 -0
  47. package/src/sap/ui/export/messagebundle_ru.properties +62 -0
  48. package/src/sap/ui/export/messagebundle_sh.properties +72 -10
  49. package/src/sap/ui/export/messagebundle_sk.properties +62 -0
  50. package/src/sap/ui/export/messagebundle_sl.properties +62 -0
  51. package/src/sap/ui/export/messagebundle_sr.properties +182 -0
  52. package/src/sap/ui/export/messagebundle_sv.properties +62 -0
  53. package/src/sap/ui/export/messagebundle_th.properties +62 -0
  54. package/src/sap/ui/export/messagebundle_tr.properties +62 -0
  55. package/src/sap/ui/export/messagebundle_uk.properties +62 -0
  56. package/src/sap/ui/export/messagebundle_vi.properties +62 -0
  57. package/src/sap/ui/export/messagebundle_zh_CN.properties +62 -0
  58. package/src/sap/ui/export/messagebundle_zh_TW.properties +62 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.export",
3
- "version": "1.108.21",
3
+ "version": "1.108.23",
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 2009-2022 SAP SE. All rights reserved.</copyright>
8
- <version>1.108.21</version>
8
+ <version>1.108.23</version>
9
9
 
10
10
  <documentation>UI5 library: sap.ui.export</documentation>
11
11
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @constructor 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.108.21
30
+ * @version 1.108.23
31
31
  *
32
32
  * @since 1.96
33
33
  * @name sap.ui.export.ExportBase
@@ -15,7 +15,7 @@ sap.ui.define(['./library', './ExportUtils', './ExportDialog', 'sap/m/MessageToa
15
15
  * @constructor The <code>sap.ui.export.ExportHandler</code> class allows you to export table data from a UI5 application.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.108.21
18
+ * @version 1.108.23
19
19
  *
20
20
  * @since 1.102
21
21
  * @name sap.ui.export.ExportHandler
@@ -132,7 +132,7 @@ sap.ui.define([
132
132
  * Utilities related to export to enable reuse in integration scenarios (e.g. tables).
133
133
  *
134
134
  * @author SAP SE
135
- * @version 1.108.21
135
+ * @version 1.108.23
136
136
  *
137
137
  * @since 1.59
138
138
  * @name sap.ui.export.ExportUtils
@@ -1141,7 +1141,7 @@ sap.ui.define([
1141
1141
  *
1142
1142
  * @param {object} oContext Context object
1143
1143
  * @param {string} [oContext.application] Name of the application (default: "SAP UI5")
1144
- * @param {string} [oContext.version] Application version (default: "1.108.21")
1144
+ * @param {string} [oContext.version] Application version (default: "1.108.23")
1145
1145
  * @param {string} [oContext.title] Title that will be written to the file (NOT the filename)
1146
1146
  * @param {string} [oContext.modifiedBy] Optional user context that will be written to the file
1147
1147
  * @param {string} [oContext.sheetName] Name of the data sheet - Maximum length of 31 characters
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @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.
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.108.21
20
+ * @version 1.108.23
21
21
  *
22
22
  * @since 1.96
23
23
  * @alias sap.ui.export.PortableDocument
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  * <li><code>workbook.context</code> - Context object that will be applied to the generated file. It may contain the following fields:</li>
84
84
  * <ul>
85
85
  * <li><code>application</code> (string) - The application that creates the XLSX document (default: "SAP UI5")</li>
86
- * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.108.21")</li>
86
+ * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.108.23")</li>
87
87
  * <li><code>title</code> (string) - Title of the XLSX document (NOT the filename)</li>
88
88
  * <li><code>modifiedBy</code> (string) - User context for the XLSX document</li>
89
89
  * <li><code>sheetName</code> (string) - The label of the data sheet</li>
@@ -166,7 +166,7 @@ sap.ui.define([
166
166
  * columns: aColumns,
167
167
  * context: {
168
168
  * application: 'Debug Test Application',
169
- * version: '1.108.21',
169
+ * version: '1.108.23',
170
170
  * title: 'Some random title',
171
171
  * modifiedBy: 'John Doe',
172
172
  * metaSheetName: 'Custom metadata',
@@ -278,7 +278,7 @@ sap.ui.define([
278
278
  * @constructor The <code>sap.ui.export.Spreadsheet</code> class allows you to export table data from a UI5 application to a spreadsheet file.
279
279
  *
280
280
  * @author SAP SE
281
- * @version 1.108.21
281
+ * @version 1.108.23
282
282
  *
283
283
  * @since 1.50
284
284
  * @name sap.ui.export.Spreadsheet
@@ -22,7 +22,7 @@ sap.ui.define(['sap/base/Log', 'sap/ui/export/ExportUtils'], function(Log, Expor
22
22
  *
23
23
  * @namespace
24
24
  * @author SAP SE
25
- * @version 1.108.21
25
+ * @version 1.108.23
26
26
  *
27
27
  * @private
28
28
  * @since 1.50.0
@@ -1,2 +1,2 @@
1
- var XLSXBuilder;(()=>{var t={707:(t,e,r)=>{var i=r(309),a=r(505),o=r(513),n=r(810),s=r(783),l=r(838),p=r(731);function u(t,e,r,i){var a,o,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&&(i.currency||i.unit)&&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(a=[{property:"key",label:"Key",width:20},{property:"value",label:"Value",width:20}],this.metadata=this.workbook.addSheet(l,{columns:a,hideHeader:!0}),o=0;o<e.metainfo.length;o++)n=e.metainfo[o],this.metadata.createGroup(n.name,1),this._insertIntoSheet(n.items.slice(),this.metadata)}u.prototype={objects:{App:i,ContentTypes:a,Core:o,Relationships:n,Sheet:s,Workbook:l},build:function(){var t,e,r,i,a,o,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((o=new(0,(a=t[r]).type))instanceof this.objects.Relationships)for(i=0;i<a.relationships.length;i++)n=a.relationships[i],o.addRelationship(n.target,n.type);e.file(a.path+a.name,o.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},706:(t,e,r)=>{var i=r(423),a=r(975),o=r(532),n=r(283),s=r(658),l=r(432),p=r(386),u=r(926),h=r(972),c=r(3);function m(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)}m.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+=" ("+t.timezone.replace("_"," ")+")"),e=new s(t);break;case"date":e=new n(t);break;case"time":e=new o(t);break;case"percentage":case"number":e=new h(t);break;case"currency":e=new p(t);break;case"boolean":e=new a(t);break;case"enumeration":e=new u(t);break;case"bignumber":e=new i(t);break;default:t.type="text",e=new c(t)}return e.registerAt(this.styles),e},m.prototype.getCell=function(){return this.cell},m.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=m},803:(t,e,r)=>{var i=r(706),a=r(3),o=r(9),n=r(432);function s(t,e,r){var a,o,n;for(this.columns=[],this._row=null,this.styles=r,this.sharedStrings=e,this.hideHeader=t.hideHeader,Object.defineProperty(this,"hierarchyLevelProperty",{value:t.hierarchyLevel}),a=t.columns,n=0;n<a.length;n++)0==n&&("string"==typeof a[n]&&(a[n]={property:a[n]}),a[n].hierarchyLevel=this.hierarchyLevelProperty),o=a[n]instanceof i?a[n]:new i(a[n],this.sharedStrings,this.styles),this.columns.push(o)}s.prototype._initBinding=function(){var t;for(this._row=new o,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 o,(r=new a({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 o,s={name:t},(i=new a({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},423:(t,e,r)=>{var i=r(858),a=r(731),o=r(813);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?o.horizontal.RIGHT:o.horizontal.LEFT}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.prototype.getScale=function(t){var e;return e=("currency"===this.type?a.getScaleForCurrency:a.getScaleForUnit)(t),isNaN(e)&&(e=this.scale),e},n.prototype.getValue=function(t,e){var r,i,a,o;return"number"==typeof(o=e[t])&&(o=o.toString()),"string"==typeof o&&o.match(/^(-){0,1}[0-9]+(\.[0-9]+)*$/g)?(a=e[this.unitProperty]||this.unit,r=this.getScale(a),i=this._parseValue(o,r,this.delimiter),this.displayUnit&&(i+=a?" "+a:""),i):null},n.prototype._parseValue=function(t,e,r){var i,a,o,n,s;if(s=(i=t.split("."))[0],n=i.length>1?i[1]:"",r&&(a=s.split(""),s=("-"===a[0]?a.shift():"")+a.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(o=n.length;o<e;o++)n+="0";return s+(n?"."+n:"")},t.exports=n},975:(t,e,r)=>{var i=r(858);function a(t){i.call(this,t),this.trueValue=t?t.trueValue:null,this.falseValue=t?t.falseValue:null}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT={numberFormat:0},a.prototype.isCustomFormatted=function(){return!!this.trueValue&&"string"==typeof this.trueValue&&!!this.falseValue&&"string"==typeof this.falseValue},a.prototype._createConfiguration=function(){var t;return(t=Object.getPrototypeOf(a.prototype)._createConfiguration.call(this)).numberFormat=this.isCustomFormatted()?{format:'"'+this.trueValue+'";;"'+this.falseValue+'"'}:a.DEFAULT.numberFormat,t},t.exports=a},373:(t,e,r)=>{var i=r(858);function a(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}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.LOCAL_TIMEZONE=(new Intl.DateTimeFormat).resolvedOptions().timeZone,a.DEFAULT={numberFormat:14},a.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"},a.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)}}},a.prototype._createConfiguration=function(t){var e,r,i;switch(e=Object.getPrototypeOf(a.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},a.BUILTIN)a.BUILTIN[r]===i&&(e.numberFormat=parseInt(r,10));return e},a.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},a.prototype.getValue=function(t,e){var r,i;return null==(i=e[t])||""===i?null:("object"==typeof i&&(i=i.valueOf()),"number"==typeof i&&(r=i),"string"==typeof i&&(r=this._parseStringValue(i)),"number"==typeof r?this.dateToExcel(r,e):null)},a.prototype._parseStringValue=function(t){return this.inputFormat&&"string"==typeof this.inputFormat?a._parseStringDate(t,this.inputFormat):a.odataDateRegex.test(t)?a._parseOdataDate(t):a.odataDateTimeOffsetRegex.test(t)?Date.parse(t):isFinite(t)?parseInt(t,10):null},a._parseODataDuration=function(t){var e,r,i,o,n,s;return e=a.odataDurationRegex.exec(t),r=parseInt(e[4]||0,10),i=parseInt(e[5]||0,10),o=parseInt(e[6]||0,10),n=parseFloat(e[7]||0),s=(s=e[8])?1e3*parseFloat("0."+s):0,s+=1e3*n+6e4*o+36e5*i+864e5*r,"-"===e[1]&&(s=-s),s},a._parseTimeOfDay=function(t){var e,r,i,o,n=new Date(0);return e=a.timeOfDayRegex.exec(t),r=parseInt(e[1]||0,10),i=parseInt(e[2]||0,10),o=parseFloat(e[4]||0),n.setUTCHours(r,i,o),n.getTime()},a._parseOdataDate=function(t){var e,r,i;return e=a.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()},a.odataDateRegex=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/,a.odataDurationRegex=/^([+-])?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:\.(\d+))?S)?)?/,a.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)/,a.dateStringRegex=/([Y]{4,}|[M]{2}|[D]{2})/g,a.timeOfDayRegex=/^([0-1]\d|2[0-3]):([0-5]\d)(:([0-5]\d)(.\d{1,12})?)?$/,a.prototype.dateToExcel=function(t){var e;return e=t>=-22038912e5?2:1,Math.max((t-t%1e3)/864e5+(25567+e),0)},a._parseStringDate=function(t,e){var r,i,o;i=new Date(0);do{null!==(r=a.dateStringRegex.exec(e))&&(o=t.slice(r.index,r.index+r[0].length),a.oSymbols[r[0].charAt(0)].apply(parseInt(o,10),i))}while(null!==r);return i.getTime()},t.exports=a},283:(t,e,r)=>{var i=r(373);function a(t){i.call(this,t),this.utc=!0}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[14]},t.exports=a},658:(t,e,r)=>{var i=r(373);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+"* ",e+='"'+this.getTimezone(t).replace("_"," ")+'"'),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},532:(t,e,r)=>{var i=r(373);function a(t){i.call(this,t),this.utc=!0}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){var r;return"number"==typeof(r=Object.getPrototypeOf(a.prototype).getValue.call(this,t,e))?r%1:null},a.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[21]},a.prototype._parseStringValue=function(t){var e;return"number"==typeof(e=Object.getPrototypeOf(a.prototype)._parseStringValue.call(this,t))?e:i.timeOfDayRegex.test(t)?i._parseTimeOfDay(t):i.odataDurationRegex.test(t)?i._parseODataDuration(t):null},t.exports=a},386:(t,e,r)=>{var i=r(972),a=r(731);function o(t){i.call(this,t),this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getScale=function(t){return a.getScaleForCurrency(t)},o.prototype._createConfiguration=function(t){var e,r,i,o,n;for(o="#,##0",n=this.getUnit(t),o+=(i=this.unitProperty||"number"!=typeof this.scale?this.getScale(n):this.scale)>0?".":"_.",e=0;e<i;e++)o+="0";for(r=a.MAX_CURRENCY_SCALE-i;r>0;r--)o+="_0";return this.displayUnit&&(o=o+"\\ "+(n=n?'"'+n+'"':"_E_U_R")),{numberFormat:{format:o="* "+o+";* \\-\\ "+o}}},t.exports=o},926:(t,e,r)=>{var i=r(858);function a(t){i.call(this,t),this._valueMap=t&&t.valueMap?t.valueMap:{}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){var r;return r=e[t],(this._valueMap instanceof Map?this._valueMap.get(r):this._valueMap[r])||""},t.exports=a},972:(t,e,r)=>{var i=r(858),a=r(731);function o(t){i.call(this,t),this.type=t&&"string"==typeof t.type?t.type.toLowerCase():null,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.autoScale=!!t&&t.autoScale,this.delimiter=!!t&&t.delimiter,this.scale=t?t.scale:null,this.styleIds={}}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT={numberFormat:0},o.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"},o.scientificRegEx=/^-?\d?(\.\d)?\d*[eE][+-]?\d{1,3}$/,o.prototype.getScale=function(t){var e;return this.autoScale&&(e=a.getScaleForUnit(t)),isNaN(e)&&(e=this.scale),e},o.prototype._createConfiguration=function(t){var e,r,i,a,n,s;if(e=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this,t),n=this.getUnit(t),s=this.getScale(n),!this.delimiter&&"number"!=typeof s&&!n)return e.numberFormat=o.DEFAULT.numberFormat,e;if(a=o.builtin[1],this.delimiter&&(a="#,##"+a),"number"==typeof s&&s>0)for(a+=".",r=0;r<s;r++)a+="0";for(i in"percentage"===this.type?a+=n:n&&(a+='\\ "'+n+'"'),e.numberFormat={format:a},o.builtin)o.builtin[i]===a&&(e.numberFormat=parseInt(i,10));return e},o.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(o.prototype).getStyleId.call(this,t,e)},o.prototype.getValue=function(t,e){var r,i,a,n=e[t];return"string"==typeof n&&o.scientificRegEx.test(n)&&(i=3===(r=n.split(/\.|[eE]/g)).length?r[1].length:0,a=Number(r[r.length-1]),n=Number(n).toFixed(Math.max(i-a,0)),e[t]=n),n},o.prototype.isIEEE754Compliant=function(t,e){var r=!1,i=this.getUnit(e),a=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 a?Math.min(a,e.length):e.length)||1}),0)<=15),r},o.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=o},731: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]=t.currency[r].scale;for(r in e.CURRENCY)(i=e.CURRENCY[r])>e.MAX_CURRENCY_SCALE&&(e.MAX_CURRENCY_SCALE=i);if(t.unit)for(r in t.unit)e.UNIT[r]=t.unit[r].scale},getScaleForCurrency:function(t){var r;return"number"!=typeof(r=e.CURRENCY[t])&&(r=e.CURRENCY.DEFAULT),r},getScaleForUnit:function(t){return e.UNIT[t]},MAX_CURRENCY_SCALE:3,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},UNIT:{}};t.exports=e},3:(t,e,r)=>{var i=r(858),a=r(813),o=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,o)},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:a.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,a;return t?(r=e&&n.formulaRegex.test(e),this.hierarchyLevel||r?(i="id_"+t[this.hierarchyLevel]+(r?"_prefix":""),void 0===this._mStyleIds[i]&&((a=this._createConfiguration(t)).quotePrefix=r,this._mStyleIds[i]=this.styles.addStyle(a)),this._mStyleIds[i]):Object.getPrototypeOf(n.prototype).getStyleId.call(this)):0},n.prototype.getValue=function(t,e){var r,i,a,o,s,l;if(!this.template)return o="string"==typeof t?e[t]:e[t[0]],this.wrap?n.convertLineBreaks(o):o;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(a=this.template,r=(i=/{([0-9]+)}/g).exec(this.template);null!==r;)null==(o=s[r[1]])&&(o=""),a=a.replace(r[0],o),r=i.exec(this.template);return a},t.exports=n},858: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},432:(t,e,r)=>{var i=r(249),a=r(423),o=r(283),n=r(658),s=r(532),l=r(972),p=r(975),u=r(386);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 o:case n:case s:this.type=h.DataType.Date;break;case l:case u:this.type=h.DataType.Number,this._oFallbackType=new a(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},9:(t,e,r)=>{var i=r(249),a=r(432);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"row",attributes:[{id:"reference",name:"r",value:""},{id:"spans",name:"spans",value:"1:1"}]},o.getColumnReferenceByIndex=function(t){return t<26?String.fromCharCode(65+t):o.getColumnReferenceByIndex(Math.floor(t/26)-1)+String.fromCharCode(65+t%26)},o.prototype._updateSpans=function(){this.spans.value="1:"+this.childs.length},o.prototype.addCell=function(t){var e;t&&t instanceof a&&(e=this.childs.push(t),this._updateSpans(),this.reference.value&&t.setReference(o.getColumnReferenceByIndex(e-1)+this.reference.value),this.style&&t.setStyle(this.style.value))},o.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(o.getColumnReferenceByIndex(e)+r)},o.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=o},815:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),this.setValue(t)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.spacePreserveAttributeId="spacePreserve",a.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,a.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,a.spacePreserveRegex=/^ | $/,a.metadata={tag:"si",properties:[{id:"text",tag:"t"}]},a._escapeControlCharacters=function(t){var e;return t.replace(a.controlCharacterReplaceRegex,(function(t){return"_x00"+(1===(e=t.codePointAt(0).toString(16).toUpperCase()).length?"0":"")+e+"_"}))},a.prototype.setValue=function(t){this.text.remove(a.spacePreserveAttributeId),a.controlCharacterTestRegex.test(t)&&(t=a._escapeControlCharacters(t)),a.spacePreserveRegex.test(t)&&this.text.addAttribute({id:a.spacePreserveAttributeId,name:"space",prefix:"xml",value:"preserve"}),this.text.value=t&&"string"==typeof t?t:""+t},a.prototype.serialize=function(){return(" "+Object.getPrototypeOf(a.prototype).serialize.call(this)).substr(1)},t.exports=a},684:(t,e,r)=>{var i=r(999),a=r(815);function o(){i.call(this,o.metadata),Object.defineProperty(this,"map",{value:new Map,writable:!1}),Object.defineProperty(this,"_shared",{value:new a(""),writable:!1}),o.instance=this}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.MAX_CELL_LENGTH=32767,o.getInstance=function(){return o.instance||(o.instance=new o),o.instance},o.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}]},o.prototype.insert=function(t){var e;return this.count.value=this.count.value+1,t.length>o.MAX_CELL_LENGTH&&(t=t.substring(0,o.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)},o.prototype.cleanup=function(){this.map.clear()},t.exports=o},783:(t,e,r)=>{var i=r(999),a=r(9);function o(t){i.call(this,o.metadata),Object.defineProperty(this,"_columns",{value:t,writable:!1}),this._hierarchyProperty=t._hierarchyProperty,this._hierarchyLevel=0,this._rowCount=0,this._createCols(),this._createHeader()}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.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"}]}]},o.MAX_ROWS=1048576,o.prototype._createCols=function(){var t,e,r,i,a;for(e=0;e<this._columns.size();e++)t=this._columns.columns[e],r=this._calculateColumnWidth(t.label.length)+2.4,a=Math.max(this._calculateColumnWidth(t.width),r),i=Math.ceil(4*a)/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"}]})},o.prototype._calculateColumnWidth=function(t){return"number"!=typeof t?0:(2*t/3*11+5)/7.33},o.prototype._setHierarchyDepth=function(t){"number"!=typeof t||t<1||t>7||(this.format.hierarchyDepth||this.format.addAttribute({id:"hierarchyDepth",name:"outlineLevelRow",value:t||0}),this.format.hierarchyDepth.value=Math.max(this.format.hierarchyDepth.value,t))},o.prototype._createHeader=function(){var t=this._columns.getHeader();if(null===t)return this.remove("filter"),void this.views.defaultView.remove("pane");this._appendRow(t)},o.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:"+a.getColumnReferenceByIndex(this._columns.size()-1)+this._rowCount,this.dimension.reference.value=e,this.filter&&(this.filter.reference.value=e)},o.prototype.createGroup=function(t,e){var r;this._hierarchyLevel=e,r=this._columns.getGroupHeader(t),this._appendRow(r)},o.prototype.insert=function(t){var e;if(this._rowCount>=o.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)},o.prototype.cleanup=function(){this.remove("data")},o.prototype.getRowCount=function(){return this._rowCount},t.exports=o},309:(t,e,r)=>{var i=r(999);function a(t){i.call(this,a.metadata),t&&(t.application&&(this.application.value=t.application),t.version&&(this.version.value=t.version))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.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.85"}]},t.exports=a},505:(t,e,r)=>{var i=r(999);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.FILENAME="",a.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=a},513:(t,e,r)=>{var i=r(999);function a(t){i.call(this,a.metadata),t&&(t.title&&(this.title.value=t.title),t.modifiedBy&&(this.modifiedBy.value=t.modifiedBy))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.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()}]},a.prototype.serialize=function(){return this.modified.value=(new Date).toISOString(),Object.getPrototypeOf(a.prototype).serialize.call(this)},t.exports=a},712:(t,e,r)=>{var i=r(999),a=r(810);function o(t){i.call(this,t),this._relatedFiles=[],this._relationships=new a(this),this.addRelatedFile(this._relationships)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.addRelatedFile=function(t){if(!(t instanceof i))throw new Error("A related file must be of type XMLFile");this._relatedFiles.push(t)},o.prototype.getRelationships=function(){return this._relationships},o.prototype.getRelatedFiles=function(){return this._relatedFiles.slice()},t.exports=o},810:(t,e,r)=>{var i=r(999),a=r(249);function o(t){i.call(this,o.metadata),t instanceof i&&(this.setFileName(t.getFileName()+".rels"),this.setPath(t.getPath()+"_rels/"))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={filename:".rels",path:"_rels/",tag:"Relationships",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/relationships"}],properties:[]},o.prototype.addRelationship=function(t,e){var r="rId"+(this.childs.length+1);return this.childs.push(new a({tag:"Relationship",attributes:[{name:"Id",value:r},{name:"Type",value:e},{name:"Target",value:t}]})),r},t.exports=o},838:(t,e,r)=>{var i=r(803),a=r(712),o=r(684),n=r(783),s=r(415);function l(){var t;for(t in a.call(this,l.metadata),this._styles=new s,this._styles.setPath(this.getPath()),this.addRelatedFile(this._styles),this._sharedStrings=new o,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(a.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,a,o,s,l;return l="sheet"+(a=this.sheets.childs.length+1)+".xml",o=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:""+a},{name:"id",prefix:"r",value:o}]}),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,a){var o=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(o,r)})})),Object.getPrototypeOf(l.prototype).serialize.call(this)},t.exports=l},813:(t,e,r)=>{var i=r(249);function a(){i.call(this,a.metadata)}function o(t,e){var r,i=!1;for(r in e)i=i||e[r]===t&&"function"!=typeof e[r];return i}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"alignment"},a.horizontal={LEFT:"left",CENTER:"center",RIGHT:"right",contains:function(t){return o(t,a.horizontal)}},a.vertical={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",contains:function(t){return o(t,a.vertical)}},a.prototype.isDefault=function(){return 0==this.attributes.length},a.prototype.setIndent=function(t){"number"!=typeof t||t<=0?this.remove("indent"):(this._setAlignmentAttribute("indent",t),this.horizontal||this.setHorizontalAlignment(a.horizontal.LEFT))},a.prototype.setWrapText=function(t){var e="wrapText";t?this._setAlignmentAttribute(e,"1"):this[e]&&this.remove(e)},a.prototype.setHorizontalAlignment=function(t){a.horizontal.contains(t)&&this._setAlignmentAttribute("horizontal",t)},a.prototype.setVerticalAlignment=function(t){a.vertical.contains(t)&&this._setAlignmentAttribute("vertical",t)},a.prototype._setAlignmentAttribute=function(t,e){this[t]||this.addAttribute({id:t,name:t}),this[t].value=e},a.prototype._getAlignmentAttribute=function(t){return this[t]&&this[t].value},a.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=a},111:(t,e,r)=>{var i=r(249);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"border",properties:[{tag:"left"},{tag:"right"},{tag:"top"},{tag:"bottom"},{tag:"diagonal"}]},a.prototype.equals=function(t){return t instanceof a},t.exports=a},780:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),t&&(t.color?this.setFill(t.color):t.type&&this.setType(t.type))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT_TYPE="none",a.metadata={tag:"fill",properties:[{id:"fill",tag:"patternFill",attributes:[{id:"type",name:"patternType",value:a.DEFAULT_TYPE}]}]},a.prototype.equals=function(t){return t instanceof a&&this.getType()===t.getType()&&this.getFill()===t.getFill()},a.prototype.getFill=function(){return this.fill.childs.length?this.fill.color.rgb.value.substring(2):null},a.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"}]}))},a.prototype.getType=function(){return this.fill.type.value},a.prototype.setType=function(t){this.reset(),this.fill.type.value=t},a.prototype.reset=function(){this.fill.type.value="none",this.fill.childs.length=0},t.exports=a},243:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),t&&t instanceof Object&&this.setName(t.name).setSize(t.size).setFamily(t.family).setBold(!!t.bold)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT_SIZE=11,a.DEFAULT_NAME="Arial",a.metadata={tag:"font",properties:[{id:"size",tag:"sz",attributes:[{id:"valueAttribute",name:"val",value:a.DEFAULT_SIZE}]},{id:"color",tag:"color",attributes:[{id:"valueAttribute",name:"theme",value:"1"}]},{id:"name",tag:"name",attributes:[{id:"valueAttribute",name:"val",value:a.DEFAULT_NAME}]},{id:"family",tag:"family",attributes:[{id:"valueAttribute",name:"val",value:2}]}]},a.prototype.equals=function(t){return t instanceof a&&this.getName()==t.getName()&&this.getSize()==t.getSize()&&this.isBold()==t.isBold()&&this.getColor()==t.getColor()&&this.getFamily()==t.getFamily()},a.prototype.isBold=function(){return!!this.bold},a.prototype.getSize=function(){return this.size.valueAttribute.value},a.prototype.getName=function(){return this.name.valueAttribute.value},a.prototype.getColor=function(){return this.color.valueAttribute.value},a.prototype.getFamily=function(){return this.family.valueAttribute.value},a.prototype.setBold=function(t){var e="bold";return t===!!this[e]||(t?this.addChild({id:e,tag:"b"}):this.remove(e)),this},a.prototype.setFamily=function(t){return t>0&&t<15&&(this.family.valueAttribute.value=t),this},a.prototype.setName=function(t){return t&&"string"==typeof t&&(this.name.valueAttribute.value=t),this},a.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=a},711:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),this.format.value=t&&t.format?t.format:a.DEFAULT}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"numFmt",attributes:[{id:"formatId",name:"numFmtId"},{id:"format",name:"formatCode"}]},a.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],a.ID_OFFSET=164,a.DEFAULT="#,##0.00",a.prototype.getId=function(){return this.formatId.value},a.prototype.getFormat=function(){return this.format.value},a.prototype.setId=function(t){var e="number"==typeof t?t:parseInt(t,10);isNaN(e)||e<0||a._isBuiltin(e)||(this.formatId.value=t)},a.prototype.setFormat=function(t){this.format.value=t},a._isBuiltin=function(t){return a.BUILTIN_IDS.indexOf(t)>-1},a.prototype.equals=function(t){return t instanceof a&&this.getFormat()===t.getFormat()},t.exports=a},943:(t,e,r)=>{var i=r(249),a=r(813);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.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"}]},o.DEFAULT={font:{name:"Arial",size:11,family:"2",color:"1",bold:!1},fill:{type:"none"}},o.prototype.getAlignment=function(){return this.alignment?this.alignment:null},o.prototype.getFontId=function(){return this.font.value},o.prototype.getFillId=function(){return this.fill.value},o.prototype.getBorderId=function(){return this.border.value},o.prototype.getNumberFormatId=function(){return this.numberFormat.value},o.prototype.hasQuotePrefix=function(){return"quotePrefix"in this},o.prototype.setAlignment=function(t){var e,r;r="alignment",this._apply(t,"Alignment"),null!=t?(r in this||(e=new a,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)},o.prototype.setFontId=function(t){this._apply(t,"Font"),this.font.value=t},o.prototype.setFillId=function(t){this._apply(t,"Fill"),this.fill.value=t},o.prototype.setBorderId=function(t){this.border.value=t},o.prototype.setNumberFormatId=function(t){this._apply(t,"NumberFormat"),this.numberFormat.value=t},o.prototype.setQuotePrefix=function(t){var e="quotePrefix";t&&!this.hasQuotePrefix()?this.addAttribute({id:e,name:e,value:"1"}):!t&&this.hasQuotePrefix()&&this.remove(e)},o.prototype._apply=function(t,e){var r="apply"+e;this.remove(r),t&&this.addAttribute({id:r,name:r,value:"1"})},o.prototype.equals=function(t){return t instanceof o&&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=o},415:(t,e,r)=>{var i=r(999),a=r(943),o=r(243),n=r(780),s=r(111),l=r(711);function p(){i.call(this,p.metadata),this.addFill({type:"none"}),this.addFill({type:"gray125"}),this.addStyle(a.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,o,n;return r=this.addFont(t.font),i=this.addFill(t.fill),o=this.addBorder(t.border),void 0===t.numberFormat&&(t.numberFormat=0),n=l._isBuiltin(t.numberFormat)?t.numberFormat:this.addNumberFormat(t.numberFormat),(e=new a).setFontId(r),e.setFillId(i),e.getBorderId(o),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,a){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 o(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},6:(t,e,r)=>{var i=r(779);function a(t){i.call(this,t),this.name=t.name?t.name:"",this.prefix=t.prefix?t.prefix:"",this.suffix=t.suffix?t.suffix:""}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.serialize=function(){return" "+(this.prefix?this.prefix+":":"")+this.name+(this.suffix?":"+this.suffix:"")+'="'+this.xmlEncode(this.value)+'"'},t.exports=a},779: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},999:(t,e,r)=>{var i=r(249);function a(t){i.call(this,t),this._filename=t.filename,this._path=t.path}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getFileName=function(){return this._filename},a.prototype.setFileName=function(t){if(!t.match(/^\S+\.\S{3,4}$/))throw new Error("Invalid file name: "+t);this._filename=t},a.prototype.getPath=function(){return this._path},a.prototype.getAbsolutePath=function(){return this.getPath()+this.getFileName()},a.prototype.setPath=function(t){if(!t||t.lastIndexOf("/")!==t.length-1)throw new Error("Invalid file path: "+t);this._path=t},a.prototype.serialize=function(t){var e;return e=Object.getPrototypeOf(a.prototype).serialize.call(this),t&&(this.childs.length=0,this.cleanup()),e},a.prototype.cleanup=function(){},t.exports=a},249:(t,e,r)=>{var i=r(779),a=r(6);function o(t){var e,r,a;if(i.call(this,t),a="string"==typeof t?{tag:t}:t,Object.defineProperty(this,"root",{value:!!a.root,writable:!1}),this.tag="string"==typeof a.tag?a.tag:"",this.attributes=[],this.childs=[],a.attributes)for(e=0;e<a.attributes.length;e++)this.addAttribute(a.attributes[e]);if(a.properties)for(r=0;r<a.properties.length;r++)this.addChild(a.properties[r])}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.processingInformation='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',o.prototype.addAttribute=function(t){var e=t instanceof a?t:new a(t);return this.attributes.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},o.prototype.addChild=function(t){var e=t instanceof o?t:new o(t);return this.childs.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},o.prototype.remove=function(t){var e,r,i;if(!(t in this))return null;if((r=this[t])instanceof a)i=this.attributes;else{if(!(r instanceof o)||t in new o(""))return null;i=this.childs}return e=i.indexOf(r),i.splice(e,1),delete this[t],r},o.prototype.serialize=function(){var t,e,r;for(e=(this.root?o.processingInformation:"")+"<"+this.tag,t=0;t<this.attributes.length;t++)e+=this.attributes[t].serialize();return(r=this.getSerializedContent())?(e=(" "+(e+=">")).substr(1),e+=r,e+="</"+this.tag+">"):e=(" "+(e+="/>")).substr(1),e},o.prototype.getSerializedContent=function(){var t,e;for(e="",t=0;t<this.childs.length;t++)e+="string"==typeof this.childs[t]?this.childs[t]:this.childs[t].serialize();return e+this.xmlEncode(this.value)},t.exports=o}},e={},r=function r(i){var a=e[i];if(void 0!==a)return a.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,r),o.exports}(707);XLSXBuilder=r})();
1
+ var XLSXBuilder;(()=>{var t={707:(t,e,r)=>{var i=r(309),a=r(505),o=r(513),n=r(810),s=r(783),l=r(838),p=r(731);function u(t,e,r,i){var a,o,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&&(i.currency||i.unit)&&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(a=[{property:"key",label:"Key",width:20},{property:"value",label:"Value",width:20}],this.metadata=this.workbook.addSheet(l,{columns:a,hideHeader:!0}),o=0;o<e.metainfo.length;o++)n=e.metainfo[o],this.metadata.createGroup(n.name,1),this._insertIntoSheet(n.items.slice(),this.metadata)}u.prototype={objects:{App:i,ContentTypes:a,Core:o,Relationships:n,Sheet:s,Workbook:l},build:function(){var t,e,r,i,a,o,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((o=new(0,(a=t[r]).type))instanceof this.objects.Relationships)for(i=0;i<a.relationships.length;i++)n=a.relationships[i],o.addRelationship(n.target,n.type);e.file(a.path+a.name,o.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},706:(t,e,r)=>{var i=r(423),a=r(975),o=r(532),n=r(283),s=r(658),l=r(432),p=r(386),u=r(926),h=r(972),c=r(3);function m(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)}m.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+=" ("+t.timezone.replace("_"," ")+")"),e=new s(t);break;case"date":e=new n(t);break;case"time":e=new o(t);break;case"percentage":case"number":e=new h(t);break;case"currency":e=new p(t);break;case"boolean":e=new a(t);break;case"enumeration":e=new u(t);break;case"bignumber":e=new i(t);break;default:t.type="text",e=new c(t)}return e.registerAt(this.styles),e},m.prototype.getCell=function(){return this.cell},m.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=m},803:(t,e,r)=>{var i=r(706),a=r(3),o=r(9),n=r(432);function s(t,e,r){var a,o,n;for(this.columns=[],this._row=null,this.styles=r,this.sharedStrings=e,this.hideHeader=t.hideHeader,Object.defineProperty(this,"hierarchyLevelProperty",{value:t.hierarchyLevel}),a=t.columns,n=0;n<a.length;n++)0==n&&("string"==typeof a[n]&&(a[n]={property:a[n]}),a[n].hierarchyLevel=this.hierarchyLevelProperty),o=a[n]instanceof i?a[n]:new i(a[n],this.sharedStrings,this.styles),this.columns.push(o)}s.prototype._initBinding=function(){var t;for(this._row=new o,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 o,(r=new a({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 o,s={name:t},(i=new a({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},423:(t,e,r)=>{var i=r(858),a=r(731),o=r(813);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?o.horizontal.RIGHT:o.horizontal.LEFT}n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.prototype.getScale=function(t){var e;return e=("currency"===this.type?a.getScaleForCurrency:a.getScaleForUnit)(t),isNaN(e)&&(e=this.scale),e},n.prototype.getValue=function(t,e){var r,i,a,o;return"number"==typeof(o=e[t])&&(o=o.toString()),"string"==typeof o&&o.match(/^(-){0,1}[0-9]+(\.[0-9]+)*$/g)?(a=e[this.unitProperty]||this.unit,r=this.getScale(a),i=this._parseValue(o,r,this.delimiter),this.displayUnit&&(i+=a?" "+a:""),i):null},n.prototype._parseValue=function(t,e,r){var i,a,o,n,s;if(s=(i=t.split("."))[0],n=i.length>1?i[1]:"",r&&(a=s.split(""),s=("-"===a[0]?a.shift():"")+a.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(o=n.length;o<e;o++)n+="0";return s+(n?"."+n:"")},t.exports=n},975:(t,e,r)=>{var i=r(858);function a(t){i.call(this,t),this.trueValue=t?t.trueValue:null,this.falseValue=t?t.falseValue:null}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT={numberFormat:0},a.prototype.isCustomFormatted=function(){return!!this.trueValue&&"string"==typeof this.trueValue&&!!this.falseValue&&"string"==typeof this.falseValue},a.prototype._createConfiguration=function(){var t;return(t=Object.getPrototypeOf(a.prototype)._createConfiguration.call(this)).numberFormat=this.isCustomFormatted()?{format:'"'+this.trueValue+'";;"'+this.falseValue+'"'}:a.DEFAULT.numberFormat,t},t.exports=a},373:(t,e,r)=>{var i=r(858);function a(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}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.LOCAL_TIMEZONE=(new Intl.DateTimeFormat).resolvedOptions().timeZone,a.DEFAULT={numberFormat:14},a.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"},a.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)}}},a.prototype._createConfiguration=function(t){var e,r,i;switch(e=Object.getPrototypeOf(a.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},a.BUILTIN)a.BUILTIN[r]===i&&(e.numberFormat=parseInt(r,10));return e},a.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},a.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&&(r=i),"string"==typeof i&&(r=this._parseStringValue(i)),"number"==typeof r?this.dateToExcel(r,e):null)},a.prototype._parseStringValue=function(t){return this.inputFormat&&"string"==typeof this.inputFormat?a._parseStringDate(t,this.inputFormat):a.odataDateRegex.test(t)?a._parseOdataDate(t):a.odataDateTimeOffsetRegex.test(t)?Date.parse(t):isFinite(t)?parseInt(t,10):null},a._parseODataDuration=function(t){var e,r,i,o,n,s;return e=a.odataDurationRegex.exec(t),r=parseInt(e[4]||0,10),i=parseInt(e[5]||0,10),o=parseInt(e[6]||0,10),n=parseFloat(e[7]||0),s=(s=e[8])?1e3*parseFloat("0."+s):0,s+=1e3*n+6e4*o+36e5*i+864e5*r,"-"===e[1]&&(s=-s),s},a._parseTimeOfDay=function(t){var e,r,i,o,n=new Date(0);return e=a.timeOfDayRegex.exec(t),r=parseInt(e[1]||0,10),i=parseInt(e[2]||0,10),o=parseFloat(e[4]||0),n.setUTCHours(r,i,o),n.getTime()},a._parseOdataDate=function(t){var e,r,i;return e=a.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()},a.odataDateRegex=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/,a.odataDurationRegex=/^([+-])?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:\.(\d+))?S)?)?/,a.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)/,a.dateStringRegex=/([Y]{4,}|[M]{2}|[D]{2})/g,a.timeOfDayRegex=/^([0-1]\d|2[0-3]):([0-5]\d)(:([0-5]\d)(.\d{1,12})?)?$/,a.prototype.dateToExcel=function(t){var e;return e=t>=-22038912e5?2:1,Math.max((t-t%1e3)/864e5+(25567+e),0)},a._parseStringDate=function(t,e){var r,i,o;i=new Date(0);do{null!==(r=a.dateStringRegex.exec(e))&&(o=t.slice(r.index,r.index+r[0].length),a.oSymbols[r[0].charAt(0)].apply(parseInt(o,10),i))}while(null!==r);return i.getTime()},t.exports=a},283:(t,e,r)=>{var i=r(373);function a(t){i.call(this,t),this.utc=!0}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[14]},t.exports=a},658:(t,e,r)=>{var i=r(373);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+"* ",e+='"'+this.getTimezone(t).replace("_"," ")+'"'),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},532:(t,e,r)=>{var i=r(373);function a(t){i.call(this,t),this.utc=!0}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){var r;return"number"==typeof(r=Object.getPrototypeOf(a.prototype).getValue.call(this,t,e))?r%1:null},a.prototype.getDefaultFormat=function(){return Object.getPrototypeOf(a.prototype).getDefaultFormat.call(this)||i.BUILTIN[21]},a.prototype._parseStringValue=function(t){var e;return"number"==typeof(e=Object.getPrototypeOf(a.prototype)._parseStringValue.call(this,t))?e:i.timeOfDayRegex.test(t)?i._parseTimeOfDay(t):i.odataDurationRegex.test(t)?i._parseODataDuration(t):null},t.exports=a},386:(t,e,r)=>{var i=r(972),a=r(731);function o(t){i.call(this,t),this.displayUnit=!t||"boolean"!=typeof t.displayUnit||t.displayUnit}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.getScale=function(t){return a.getScaleForCurrency(t)},o.prototype._createConfiguration=function(t){var e,r,i,o,n;for(o="#,##0",n=this.getUnit(t),o+=(i=this.unitProperty||"number"!=typeof this.scale?this.getScale(n):this.scale)>0?".":"_.",e=0;e<i;e++)o+="0";for(r=a.MAX_CURRENCY_SCALE-i;r>0;r--)o+="_0";return this.displayUnit&&(o=o+"\\ "+(n=n?'"'+n+'"':"_E_U_R")),{numberFormat:{format:o="* "+o+";* \\-\\ "+o}}},t.exports=o},926:(t,e,r)=>{var i=r(858);function a(t){i.call(this,t),this._valueMap=t&&t.valueMap?t.valueMap:{}}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getValue=function(t,e){var r;return r=e[t],(this._valueMap instanceof Map?this._valueMap.get(r):this._valueMap[r])||""},t.exports=a},972:(t,e,r)=>{var i=r(858),a=r(731);function o(t){i.call(this,t),this.type=t&&"string"==typeof t.type?t.type.toLowerCase():null,this.unit=t?t.unit:null,this.unitProperty=t?t.unitProperty:null,this.autoScale=!!t&&t.autoScale,this.delimiter=!!t&&t.delimiter,this.scale=t?t.scale:null,this.styleIds={}}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.DEFAULT={numberFormat:0},o.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"},o.scientificRegEx=/^-?\d?(\.\d)?\d*[eE][+-]?\d{1,3}$/,o.prototype.getScale=function(t){var e;return this.autoScale&&(e=a.getScaleForUnit(t)),isNaN(e)&&(e=this.scale),e},o.prototype._createConfiguration=function(t){var e,r,i,a,n,s;if(e=Object.getPrototypeOf(o.prototype)._createConfiguration.call(this,t),n=this.getUnit(t),s=this.getScale(n),!this.delimiter&&"number"!=typeof s&&!n)return e.numberFormat=o.DEFAULT.numberFormat,e;if(a=o.builtin[1],this.delimiter&&(a="#,##"+a),"number"==typeof s&&s>0)for(a+=".",r=0;r<s;r++)a+="0";for(i in"percentage"===this.type?a+=n:n&&(a+='\\ "'+n+'"'),e.numberFormat={format:a},o.builtin)o.builtin[i]===a&&(e.numberFormat=parseInt(i,10));return e},o.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(o.prototype).getStyleId.call(this,t,e)},o.prototype.getValue=function(t,e){var r,i,a,n=e[t];return"string"==typeof n&&o.scientificRegEx.test(n)&&(i=3===(r=n.split(/\.|[eE]/g)).length?r[1].length:0,a=Number(r[r.length-1]),n=Number(n).toFixed(Math.max(i-a,0)),e[t]=n),n},o.prototype.isIEEE754Compliant=function(t,e){var r=!1,i=this.getUnit(e),a=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 a?Math.min(a,e.length):e.length)||1}),0)<=15),r},o.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=o},731: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]=t.currency[r].scale;for(r in e.CURRENCY)(i=e.CURRENCY[r])>e.MAX_CURRENCY_SCALE&&(e.MAX_CURRENCY_SCALE=i);if(t.unit)for(r in t.unit)e.UNIT[r]=t.unit[r].scale},getScaleForCurrency:function(t){var r;return"number"!=typeof(r=e.CURRENCY[t])&&(r=e.CURRENCY.DEFAULT),r},getScaleForUnit:function(t){return e.UNIT[t]},MAX_CURRENCY_SCALE:3,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},UNIT:{}};t.exports=e},3:(t,e,r)=>{var i=r(858),a=r(813),o=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,o)},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:a.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,a;return t?(r=e&&n.formulaRegex.test(e),this.hierarchyLevel||r?(i="id_"+t[this.hierarchyLevel]+(r?"_prefix":""),void 0===this._mStyleIds[i]&&((a=this._createConfiguration(t)).quotePrefix=r,this._mStyleIds[i]=this.styles.addStyle(a)),this._mStyleIds[i]):Object.getPrototypeOf(n.prototype).getStyleId.call(this)):0},n.prototype.getValue=function(t,e){var r,i,a,o,s,l;if(!this.template)return o="string"==typeof t?e[t]:e[t[0]],this.wrap?n.convertLineBreaks(o):o;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(a=this.template,r=(i=/{([0-9]+)}/g).exec(this.template);null!==r;)null==(o=s[r[1]])&&(o=""),a=a.replace(r[0],o),r=i.exec(this.template);return a},t.exports=n},858: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},432:(t,e,r)=>{var i=r(249),a=r(423),o=r(283),n=r(658),s=r(532),l=r(972),p=r(975),u=r(386);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 o:case n:case s:this.type=h.DataType.Date;break;case l:case u:this.type=h.DataType.Number,this._oFallbackType=new a(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},9:(t,e,r)=>{var i=r(249),a=r(432);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={tag:"row",attributes:[{id:"reference",name:"r",value:""},{id:"spans",name:"spans",value:"1:1"}]},o.getColumnReferenceByIndex=function(t){return t<26?String.fromCharCode(65+t):o.getColumnReferenceByIndex(Math.floor(t/26)-1)+String.fromCharCode(65+t%26)},o.prototype._updateSpans=function(){this.spans.value="1:"+this.childs.length},o.prototype.addCell=function(t){var e;t&&t instanceof a&&(e=this.childs.push(t),this._updateSpans(),this.reference.value&&t.setReference(o.getColumnReferenceByIndex(e-1)+this.reference.value),this.style&&t.setStyle(this.style.value))},o.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(o.getColumnReferenceByIndex(e)+r)},o.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=o},815:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),this.setValue(t)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.spacePreserveAttributeId="spacePreserve",a.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,a.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,a.spacePreserveRegex=/^ | $/,a.metadata={tag:"si",properties:[{id:"text",tag:"t"}]},a._escapeControlCharacters=function(t){var e;return t.replace(a.controlCharacterReplaceRegex,(function(t){return"_x00"+(1===(e=t.codePointAt(0).toString(16).toUpperCase()).length?"0":"")+e+"_"}))},a.prototype.setValue=function(t){this.text.remove(a.spacePreserveAttributeId),a.controlCharacterTestRegex.test(t)&&(t=a._escapeControlCharacters(t)),a.spacePreserveRegex.test(t)&&this.text.addAttribute({id:a.spacePreserveAttributeId,name:"space",prefix:"xml",value:"preserve"}),this.text.value=t&&"string"==typeof t?t:""+t},a.prototype.serialize=function(){return(" "+Object.getPrototypeOf(a.prototype).serialize.call(this)).substr(1)},t.exports=a},684:(t,e,r)=>{var i=r(999),a=r(815);function o(){i.call(this,o.metadata),Object.defineProperty(this,"map",{value:new Map,writable:!1}),Object.defineProperty(this,"_shared",{value:new a(""),writable:!1}),o.instance=this}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.MAX_CELL_LENGTH=32767,o.getInstance=function(){return o.instance||(o.instance=new o),o.instance},o.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}]},o.prototype.insert=function(t){var e;return this.count.value=this.count.value+1,t.length>o.MAX_CELL_LENGTH&&(t=t.substring(0,o.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)},o.prototype.cleanup=function(){this.map.clear()},t.exports=o},783:(t,e,r)=>{var i=r(999),a=r(9);function o(t){i.call(this,o.metadata),Object.defineProperty(this,"_columns",{value:t,writable:!1}),this._hierarchyProperty=t._hierarchyProperty,this._hierarchyLevel=0,this._rowCount=0,this._createCols(),this._createHeader()}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.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"}]}]},o.MAX_ROWS=1048576,o.prototype._createCols=function(){var t,e,r,i,a;for(e=0;e<this._columns.size();e++)t=this._columns.columns[e],r=this._calculateColumnWidth(t.label.length)+2.4,a=Math.max(this._calculateColumnWidth(t.width),r),i=Math.ceil(4*a)/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"}]})},o.prototype._calculateColumnWidth=function(t){return"number"!=typeof t?0:(2*t/3*11+5)/7.33},o.prototype._setHierarchyDepth=function(t){"number"!=typeof t||t<1||t>7||(this.format.hierarchyDepth||this.format.addAttribute({id:"hierarchyDepth",name:"outlineLevelRow",value:t||0}),this.format.hierarchyDepth.value=Math.max(this.format.hierarchyDepth.value,t))},o.prototype._createHeader=function(){var t=this._columns.getHeader();if(null===t)return this.remove("filter"),void this.views.defaultView.remove("pane");this._appendRow(t)},o.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:"+a.getColumnReferenceByIndex(this._columns.size()-1)+this._rowCount,this.dimension.reference.value=e,this.filter&&(this.filter.reference.value=e)},o.prototype.createGroup=function(t,e){var r;this._hierarchyLevel=e,r=this._columns.getGroupHeader(t),this._appendRow(r)},o.prototype.insert=function(t){var e;if(this._rowCount>=o.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)},o.prototype.cleanup=function(){this.remove("data")},o.prototype.getRowCount=function(){return this._rowCount},t.exports=o},309:(t,e,r)=>{var i=r(999);function a(t){i.call(this,a.metadata),t&&(t.application&&(this.application.value=t.application),t.version&&(this.version.value=t.version))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.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.85"}]},t.exports=a},505:(t,e,r)=>{var i=r(999);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.FILENAME="",a.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=a},513:(t,e,r)=>{var i=r(999);function a(t){i.call(this,a.metadata),t&&(t.title&&(this.title.value=t.title),t.modifiedBy&&(this.modifiedBy.value=t.modifiedBy))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.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()}]},a.prototype.serialize=function(){return this.modified.value=(new Date).toISOString(),Object.getPrototypeOf(a.prototype).serialize.call(this)},t.exports=a},712:(t,e,r)=>{var i=r(999),a=r(810);function o(t){i.call(this,t),this._relatedFiles=[],this._relationships=new a(this),this.addRelatedFile(this._relationships)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.addRelatedFile=function(t){if(!(t instanceof i))throw new Error("A related file must be of type XMLFile");this._relatedFiles.push(t)},o.prototype.getRelationships=function(){return this._relationships},o.prototype.getRelatedFiles=function(){return this._relatedFiles.slice()},t.exports=o},810:(t,e,r)=>{var i=r(999),a=r(249);function o(t){i.call(this,o.metadata),t instanceof i&&(this.setFileName(t.getFileName()+".rels"),this.setPath(t.getPath()+"_rels/"))}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.metadata={filename:".rels",path:"_rels/",tag:"Relationships",root:!0,attributes:[{name:"xmlns",value:"http://schemas.openxmlformats.org/package/2006/relationships"}],properties:[]},o.prototype.addRelationship=function(t,e){var r="rId"+(this.childs.length+1);return this.childs.push(new a({tag:"Relationship",attributes:[{name:"Id",value:r},{name:"Type",value:e},{name:"Target",value:t}]})),r},t.exports=o},838:(t,e,r)=>{var i=r(803),a=r(712),o=r(684),n=r(783),s=r(415);function l(){var t;for(t in a.call(this,l.metadata),this._styles=new s,this._styles.setPath(this.getPath()),this.addRelatedFile(this._styles),this._sharedStrings=new o,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(a.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,a,o,s,l;return l="sheet"+(a=this.sheets.childs.length+1)+".xml",o=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:""+a},{name:"id",prefix:"r",value:o}]}),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,a){var o=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(o,r)})})),Object.getPrototypeOf(l.prototype).serialize.call(this)},t.exports=l},813:(t,e,r)=>{var i=r(249);function a(){i.call(this,a.metadata)}function o(t,e){var r,i=!1;for(r in e)i=i||e[r]===t&&"function"!=typeof e[r];return i}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"alignment"},a.horizontal={LEFT:"left",CENTER:"center",RIGHT:"right",contains:function(t){return o(t,a.horizontal)}},a.vertical={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",contains:function(t){return o(t,a.vertical)}},a.prototype.isDefault=function(){return 0==this.attributes.length},a.prototype.setIndent=function(t){"number"!=typeof t||t<=0?this.remove("indent"):(this._setAlignmentAttribute("indent",t),this.horizontal||this.setHorizontalAlignment(a.horizontal.LEFT))},a.prototype.setWrapText=function(t){var e="wrapText";t?this._setAlignmentAttribute(e,"1"):this[e]&&this.remove(e)},a.prototype.setHorizontalAlignment=function(t){a.horizontal.contains(t)&&this._setAlignmentAttribute("horizontal",t)},a.prototype.setVerticalAlignment=function(t){a.vertical.contains(t)&&this._setAlignmentAttribute("vertical",t)},a.prototype._setAlignmentAttribute=function(t,e){this[t]||this.addAttribute({id:t,name:t}),this[t].value=e},a.prototype._getAlignmentAttribute=function(t){return this[t]&&this[t].value},a.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=a},111:(t,e,r)=>{var i=r(249);function a(){i.call(this,a.metadata)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"border",properties:[{tag:"left"},{tag:"right"},{tag:"top"},{tag:"bottom"},{tag:"diagonal"}]},a.prototype.equals=function(t){return t instanceof a},t.exports=a},780:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),t&&(t.color?this.setFill(t.color):t.type&&this.setType(t.type))}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT_TYPE="none",a.metadata={tag:"fill",properties:[{id:"fill",tag:"patternFill",attributes:[{id:"type",name:"patternType",value:a.DEFAULT_TYPE}]}]},a.prototype.equals=function(t){return t instanceof a&&this.getType()===t.getType()&&this.getFill()===t.getFill()},a.prototype.getFill=function(){return this.fill.childs.length?this.fill.color.rgb.value.substring(2):null},a.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"}]}))},a.prototype.getType=function(){return this.fill.type.value},a.prototype.setType=function(t){this.reset(),this.fill.type.value=t},a.prototype.reset=function(){this.fill.type.value="none",this.fill.childs.length=0},t.exports=a},243:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),t&&t instanceof Object&&this.setName(t.name).setSize(t.size).setFamily(t.family).setBold(!!t.bold)}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.DEFAULT_SIZE=11,a.DEFAULT_NAME="Arial",a.metadata={tag:"font",properties:[{id:"size",tag:"sz",attributes:[{id:"valueAttribute",name:"val",value:a.DEFAULT_SIZE}]},{id:"color",tag:"color",attributes:[{id:"valueAttribute",name:"theme",value:"1"}]},{id:"name",tag:"name",attributes:[{id:"valueAttribute",name:"val",value:a.DEFAULT_NAME}]},{id:"family",tag:"family",attributes:[{id:"valueAttribute",name:"val",value:2}]}]},a.prototype.equals=function(t){return t instanceof a&&this.getName()==t.getName()&&this.getSize()==t.getSize()&&this.isBold()==t.isBold()&&this.getColor()==t.getColor()&&this.getFamily()==t.getFamily()},a.prototype.isBold=function(){return!!this.bold},a.prototype.getSize=function(){return this.size.valueAttribute.value},a.prototype.getName=function(){return this.name.valueAttribute.value},a.prototype.getColor=function(){return this.color.valueAttribute.value},a.prototype.getFamily=function(){return this.family.valueAttribute.value},a.prototype.setBold=function(t){var e="bold";return t===!!this[e]||(t?this.addChild({id:e,tag:"b"}):this.remove(e)),this},a.prototype.setFamily=function(t){return t>0&&t<15&&(this.family.valueAttribute.value=t),this},a.prototype.setName=function(t){return t&&"string"==typeof t&&(this.name.valueAttribute.value=t),this},a.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=a},711:(t,e,r)=>{var i=r(249);function a(t){i.call(this,a.metadata),this.format.value=t&&t.format?t.format:a.DEFAULT}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.metadata={tag:"numFmt",attributes:[{id:"formatId",name:"numFmtId"},{id:"format",name:"formatCode"}]},a.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],a.ID_OFFSET=164,a.DEFAULT="#,##0.00",a.prototype.getId=function(){return this.formatId.value},a.prototype.getFormat=function(){return this.format.value},a.prototype.setId=function(t){var e="number"==typeof t?t:parseInt(t,10);isNaN(e)||e<0||a._isBuiltin(e)||(this.formatId.value=t)},a.prototype.setFormat=function(t){this.format.value=t},a._isBuiltin=function(t){return a.BUILTIN_IDS.indexOf(t)>-1},a.prototype.equals=function(t){return t instanceof a&&this.getFormat()===t.getFormat()},t.exports=a},943:(t,e,r)=>{var i=r(249),a=r(813);function o(){i.call(this,o.metadata)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.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"}]},o.DEFAULT={font:{name:"Arial",size:11,family:"2",color:"1",bold:!1},fill:{type:"none"}},o.prototype.getAlignment=function(){return this.alignment?this.alignment:null},o.prototype.getFontId=function(){return this.font.value},o.prototype.getFillId=function(){return this.fill.value},o.prototype.getBorderId=function(){return this.border.value},o.prototype.getNumberFormatId=function(){return this.numberFormat.value},o.prototype.hasQuotePrefix=function(){return"quotePrefix"in this},o.prototype.setAlignment=function(t){var e,r;r="alignment",this._apply(t,"Alignment"),null!=t?(r in this||(e=new a,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)},o.prototype.setFontId=function(t){this._apply(t,"Font"),this.font.value=t},o.prototype.setFillId=function(t){this._apply(t,"Fill"),this.fill.value=t},o.prototype.setBorderId=function(t){this.border.value=t},o.prototype.setNumberFormatId=function(t){this._apply(t,"NumberFormat"),this.numberFormat.value=t},o.prototype.setQuotePrefix=function(t){var e="quotePrefix";t&&!this.hasQuotePrefix()?this.addAttribute({id:e,name:e,value:"1"}):!t&&this.hasQuotePrefix()&&this.remove(e)},o.prototype._apply=function(t,e){var r="apply"+e;this.remove(r),t&&this.addAttribute({id:r,name:r,value:"1"})},o.prototype.equals=function(t){return t instanceof o&&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=o},415:(t,e,r)=>{var i=r(999),a=r(943),o=r(243),n=r(780),s=r(111),l=r(711);function p(){i.call(this,p.metadata),this.addFill({type:"none"}),this.addFill({type:"gray125"}),this.addStyle(a.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,o,n;return r=this.addFont(t.font),i=this.addFill(t.fill),o=this.addBorder(t.border),void 0===t.numberFormat&&(t.numberFormat=0),n=l._isBuiltin(t.numberFormat)?t.numberFormat:this.addNumberFormat(t.numberFormat),(e=new a).setFontId(r),e.setFillId(i),e.getBorderId(o),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,a){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 o(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},6:(t,e,r)=>{var i=r(779);function a(t){i.call(this,t),this.name=t.name?t.name:"",this.prefix=t.prefix?t.prefix:"",this.suffix=t.suffix?t.suffix:""}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.serialize=function(){return" "+(this.prefix?this.prefix+":":"")+this.name+(this.suffix?":"+this.suffix:"")+'="'+this.xmlEncode(this.value)+'"'},t.exports=a},779: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},999:(t,e,r)=>{var i=r(249);function a(t){i.call(this,t),this._filename=t.filename,this._path=t.path}a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.prototype.getFileName=function(){return this._filename},a.prototype.setFileName=function(t){if(!t.match(/^\S+\.\S{3,4}$/))throw new Error("Invalid file name: "+t);this._filename=t},a.prototype.getPath=function(){return this._path},a.prototype.getAbsolutePath=function(){return this.getPath()+this.getFileName()},a.prototype.setPath=function(t){if(!t||t.lastIndexOf("/")!==t.length-1)throw new Error("Invalid file path: "+t);this._path=t},a.prototype.serialize=function(t){var e;return e=Object.getPrototypeOf(a.prototype).serialize.call(this),t&&(this.childs.length=0,this.cleanup()),e},a.prototype.cleanup=function(){},t.exports=a},249:(t,e,r)=>{var i=r(779),a=r(6);function o(t){var e,r,a;if(i.call(this,t),a="string"==typeof t?{tag:t}:t,Object.defineProperty(this,"root",{value:!!a.root,writable:!1}),this.tag="string"==typeof a.tag?a.tag:"",this.attributes=[],this.childs=[],a.attributes)for(e=0;e<a.attributes.length;e++)this.addAttribute(a.attributes[e]);if(a.properties)for(r=0;r<a.properties.length;r++)this.addChild(a.properties[r])}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.processingInformation='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',o.prototype.addAttribute=function(t){var e=t instanceof a?t:new a(t);return this.attributes.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},o.prototype.addChild=function(t){var e=t instanceof o?t:new o(t);return this.childs.push(e),t.id&&Object.defineProperty(this,t.id,{value:e,writable:!1,configurable:!0}),e},o.prototype.remove=function(t){var e,r,i;if(!(t in this))return null;if((r=this[t])instanceof a)i=this.attributes;else{if(!(r instanceof o)||t in new o(""))return null;i=this.childs}return e=i.indexOf(r),i.splice(e,1),delete this[t],r},o.prototype.serialize=function(){var t,e,r;for(e=(this.root?o.processingInformation:"")+"<"+this.tag,t=0;t<this.attributes.length;t++)e+=this.attributes[t].serialize();return(r=this.getSerializedContent())?(e=(" "+(e+=">")).substr(1),e+=r,e+="</"+this.tag+">"):e=(" "+(e+="/>")).substr(1),e},o.prototype.getSerializedContent=function(){var t,e;for(e="",t=0;t<this.childs.length;t++)e+="string"==typeof this.childs[t]?this.childs[t]:this.childs[t].serialize();return e+this.xmlEncode(this.value)},t.exports=o}},e={},r=function r(i){var a=e[i];if(void 0!==a)return a.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,r),o.exports}(707);XLSXBuilder=r})();
2
2
  //# sourceMappingURL=XLSXBuilder.js.map