1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6948],{25527:(e,t,i)=>{i.d(t,{T:()=>w});var r=i(69154),a=i(26949),s=i(49404),n=i(49776),o=i(44455),d=i(97324),h=i(4071),w=function(){function e(){this.customXMLItemsPath="customXml/item",this.customXMLItemsPropspath="customXml/itemProps",this.itemPropsPath="itemProps",this.documentPath="word/document.xml",this.stylePath="word/styles.xml",this.chartPath="word/charts",this.numberingPath="word/numbering.xml",this.settingsPath="word/settings.xml",this.headerPath="word/header",this.footerPath="word/footer",this.imagePath="word/media/image",this.footnotesPath="word/footnotes.xml",this.endnotesPath="word/endnotes.xml",this.appPath="docProps/app.xml",this.corePath="docProps/core.xml",this.contentTypesPath="[Content_Types].xml",this.defaultEmbeddingPath="word/embeddings/",this.commentsPath="word/comments.xml",this.commentsExtendedPath="word/commentsExtended.xml",this.themePath="word/theme/theme1.xml",this.generalRelationPath="_rels/.rels",this.wordRelationPath="word/_rels/document.xml.rels",this.customXMLRelPath="customXml/_rels/item",this.excelRelationPath="xl/_rels/workbook.xml.rels",this.footnotesRelationPath="word/_rels/footnotes.xml.rels",this.endnotesRelationPath="word/_rels/endnotes.xml.rels",this.headerRelationPath="word/_rels/header",this.footerRelationPath="word/_rels/footer",this.xmlContentType="application/xml",this.fontContentType="application/vnd.openxmlformats-officedocument.obfuscatedFont",this.documentContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",this.TemplateContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml",this.settingsContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",this.commentsContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",this.commentsExContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml",this.endnoteContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml",this.footerContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",this.footnoteContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",this.headerContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",this.numberingContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",this.stylesContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",this.webSettingsContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml",this.appContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml",this.coreContentType="application/vnd.openxmlformats-package.core-properties+xml",this.customContentType="application/vnd.openxmlformats-officedocument.custom-properties+xml",this.customXmlContentType="application/vnd.openxmlformats-officedocument.customXmlProperties+xml",this.relationContentType="application/vnd.openxmlformats-package.relationships+xml",this.chartsContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",this.themeContentType="application/vnd.openxmlformats-officedocument.theme+xml",this.tableStyleContentType="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml",this.chartColorStyleContentType="application/vnd.ms-office.chartcolorstyle+xml",this.commentsRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",this.commentsExRelType="http://schemas.microsoft.com/office/2011/relationships/commentsExtended",this.settingsRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",this.endnoteRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",this.footerRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",this.footnoteRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",this.headerRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",this.documentRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",this.numberingRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",this.stylesRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",this.chartRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",this.ThemeRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",this.fontRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",this.tableStyleRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles",this.coreRelType="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",this.appRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",this.customRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",this.imageRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",this.hyperlinkRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",this.controlRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/control",this.packageRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package",this.customXmlRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",this.customUIRelType="http://schemas.microsoft.com/office/2006/relationships/ui/extensibility",this.attachedTemplateRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate",this.chartColorStyleRelType="http://schemas.microsoft.com/office/2011/relationships/chartColorStyle",this.wNamespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main",this.wpNamespace="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",this.pictureNamespace="http://schemas.openxmlformats.org/drawingml/2006/picture",this.aNamespace="http://schemas.openxmlformats.org/drawingml/2006/main",this.a14Namespace="http://schemas.microsoft.com/office/drawing/2010/main",this.svgNamespace="http://schemas.microsoft.com/office/drawing/2016/SVG/main",this.rNamespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships",this.rpNamespace="http://schemas.openxmlformats.org/package/2006/relationships",this.vNamespace="urn:schemas-microsoft-com:vml",this.oNamespace="urn:schemas-microsoft-com:office:office",this.xmlNamespace="http://www.w3.org/XML/1998/namespace",this.w10Namespace="urn:schemas-microsoft-com:office:word",this.cpNamespace="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",this.dcNamespace="http://purl.org/dc/elements/1.1/",this.docPropsNamespace="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",this.veNamespace="http://schemas.openxmlformats.org/markup-compatibility/2006",this.mNamespace="http://schemas.openxmlformats.org/officeDocument/2006/math",this.wneNamespace="http://schemas.microsoft.com/office/word/2006/wordml",this.customPropsNamespace="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",this.vtNamespace="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",this.chartNamespace="http://schemas.openxmlformats.org/drawingml/2006/chart",this.slNamespace="http://schemas.openxmlformats.org/schemaLibrary/2006/main",this.dtNamespace="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",this.wmlNamespace="http://schemas.microsoft.com/office/word/2003/wordml",this.w14Namespace="http://schemas.microsoft.com/office/word/2010/wordml",this.wpCanvasNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",this.wpDrawingNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",this.wpGroupNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",this.wpInkNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingInk",this.wpShapeNamespace="http://schemas.microsoft.com/office/word/2010/wordprocessingShape",this.w15Namespace="http://schemas.microsoft.com/office/word/2012/wordml",this.diagramNamespace="http://schemas.openxmlformats.org/drawingml/2006/diagram",this.eNamespace="http://schemas.microsoft.com/office/2006/encryption",this.pNamespace="http://schemas.microsoft.com/office/2006/keyEncryptor/password",this.certNamespace="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate",this.cxNamespace="http://schemas.microsoft.com/office/drawing/2014/chartex",this.c15Namespace="http://schemas.microsoft.com/office/drawing/2015/06/chart",this.c7Namespace="http://schemas.microsoft.com/office/drawing/2007
1/8/2/chart",this.csNamespace="http://schemas.microsoft.com/office/drawing/2012/chartStyle",this.spreadSheetNamespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main",this.spreadSheet9="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",this.cRelationshipsTag="Relationships",this.cRelationshipTag="Relationship",this.cIdTag="Id",this.cTypeTag="Type",this.cTargetTag="Target",this.cUserShapesTag="userShapes",this.cExternalData="externalData",this.twipsInOnePoint=20,this.twentiethOfPoint=20,this.borderMultiplier=8,this.percentageFactor=50,this.emusPerPoint=12700,this.cConditionalTableStyleTag="tblStylePr",this.cTableFormatTag="tblPr",this.cTowFormatTag="trPr",this.cCellFormatTag="tcPr",this.cParagraphFormatTag="pPr",this.cCharacterFormatTag="rPr",this.packageType="http://schemas.microsoft.com/office/2006/xmlPackage",this.relsPartPath="/_rels/.rels",this.documentRelsPartPath="/word/_rels/document.xml.rels",this.webSettingsPath="/word/webSettings.xml",this.wordMLDocumentPath="/word/document.xml",this.wordMLStylePath="/word/styles.xml",this.wordMLNumberingPath="/word/numbering.xml",this.wordMLSettingsPath="/word/settings.xml",this.wordMLHeaderPath="/word/header",this.wordMLFooterPath="/word/footer",this.wordMLCommentsPath="/word/comments.xml",this.wordMLImagePath="/word/media/image",this.wordMLFootnotesPath="/word/footnotes.xml",this.wordMLEndnotesPath="/word/endnotes.xml",this.wordMLAppPath="/docProps/app.xml",this.wordMLCorePath="/docProps/core.xml",this.wordMLCustomPath="/docProps/custom.xml",this.wordMLFontTablePath="/word/fontTable.xml",this.wordMLChartsPath="/word/charts/",this.wordMLDefaultEmbeddingPath="/word/embeddings/",this.wordMLEmbeddingPath="/word/embeddings/",this.wordMLDrawingPath="/word/drawings/",this.wordMLThemePath="/word/theme/theme1.xml",this.wordMLFontsPath="/word/fonts/",this.wordMLDiagramPath="/word/diagrams/",this.wordMLControlPath="/word/activeX/",this.wordMLVbaProject="/vbaProject.bin",this.wordMLVbaData="/vbaData.xml",this.wordMLVbaProjectPath="/word/vbaProject.bin",this.wordMLVbaDataPath="/word/vbaData.xml",this.wordMLWebSettingsPath="/word/webSettings.xml",this.wordMLCustomItemProp1Path="/customXml/itemProps1.xml",this.wordMLFootnoteRelPath="/word/_rels/footnotes.xml.rels",this.wordMLEndnoteRelPath="/word/_rels/endnotes.xml.rels",this.wordMLSettingsRelPath="/word/_rels/settings.xml.rels",this.wordMLNumberingRelPath="/word/_rels/numbering.xml.rels",this.wordMLFontTableRelPath="/word/_rels/fontTable.xml.rels",this.wordMLCustomXmlPropsRelType="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",this.wordMLControlRelType="http://schemas.microsoft.com/office/2006/relationships/activeXControlBinary",this.wordMLDiagramContentType="application/vnd.ms-office.drawingml.diagramDrawing+xml",this.dsNamespace="http://schemas.openxmlformats.org/officeDocument/2006/customXml",this.excelFiles=void 0,this.lastSection=!1,this.mRelationShipID=0,this.cRelationShipId=0,this.eRelationShipId=0,this.efRelationShipId=0,this.mDocPrID=1,this.chartCount=0,this.seriesCount=0,this.chartStringCount=0,this.mDifferentFirstPage=!1,this.mBookmarks=void 0,this.mComments=[],this.revisions=[],this.customXMLProps=[],this.paraID=0,this.commentParaID=0,this.commentParaIDInfo={},this.isInsideComment=!1,this.commentId={},this.currentCommentId=0,this.trackChangesId=0,this.prevRevisionIds=[],this.isRevisionContinuous=!1,this.isBookmarkAtEnd=!1,this.isBookmarkAtRowEnd=!1,this.isVerticalMergeCell=!1,this.keywordIndex=void 0,this.isHeaderFooter=!1,this.isSerializeFootEndNote=void 0,this.containerWidth=0}return e.prototype.getModuleName=function(){return"WordExport"},Object.defineProperty(e.prototype,"bookmarks",{get:function(){return(0,s.hX)(this.mBookmarks)&&(this.mBookmarks=[]),this.mBookmarks},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"documentImages",{get:function(){return void 0===this.mDocumentImages&&(this.mDocumentImages=new o.b),this.mDocumentImages},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"svgImages",{get:function(){return void 0===this.mSvgImages&&(this.mSvgImages=new o.b),this.mSvgImages},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"externalImages",{get:function(){return void 0===this.mExternalLinkImages&&(this.mExternalLinkImages=new o.b),this.mExternalLinkImages},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerFooterImages",{get:function(){return void 0===this.mHeaderFooterImages&&(this.mHeaderFooterImages=new o.b),this.mHeaderFooterImages},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headerFooterSvgImages",{get:function(){return void 0===this.mHeaderFooterSvgImages&&(this.mHeaderFooterSvgImages=new o.b),this.mHeaderFooterSvgImages},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"documentCharts",{get:function(){return void 0===this.mDocumentCharts&&(this.mDocumentCharts=new o.b),this.mDocumentCharts},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headersFooters",{get:function(){return void 0===this.mHeaderFooterColl&&(this.mHeaderFooterColl=new o.b),this.mHeaderFooterColl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endnotesFootnotes",{get:function(){return void 0===this.mFootEndnotesColl&&(this.mFootEndnotesColl=new o.b),this.mFootEndnotesColl},enumerable:!0,configurable:!0}),e.prototype.save=function(e,t,i){var r=this;this.fileName=t,this.serialize(e,i);var a=this.serializeExcelFiles();a&&a.length>0?Promise.all(a).then(function(){r.saveInternal(t,i)}):this.saveInternal(t,i),this.close()},e.prototype.saveInternal=function(e,t){"Docx"===t?this.mArchive.save(e+".docx").then(function(e){e.destroy()}):"Dotx"===t&&this.mArchive.save(e+".dotx").then(function(e){e.destroy()})},e.prototype.saveAsBlob=function(e,t){var i=this;this.serialize(e,t);var r=this.serializeExcelFiles();return new Promise(function(e,t){r.length>0?Promise.all(r).then(function(){i.mArchive.saveAsBlob().then(function(t){i.mArchive.destroy(),e(t=new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}))})}):i.mArchive.saveAsBlob().then(function(t){i.mArchive.destroy(),e(t=new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}))})})},e.prototype.serializeExcelFiles=function(){var e=this,t=this.excelFiles,i=[];if(t&&t.length>0){for(var a=0;a<t.length;a++)!function(a){var s=t.keys[parseInt(a.toString(),10)],n=t.get(s).saveAsBlob();i.push(n),n.then(function(t){var i=new r.B8(t,s);e.mArchive.addItem(i)})}(a);this.excelFiles.clear()}return i},e.prototype.saveExcel=function(){var e=this.defaultEmbeddingPath+"Microsoft_Excel_Worksheet"+this.chartCount+".xlsx";this.excelFiles.add(e,this.mArchiveExcel),this.mArchiveExcel=void 0},e.prototype.destroy=function(){this.clearDocument(),this.mRelationShipID=void 0,this.mDocPrID=void 0,this.mDifferentFirstPage=void 0,this.fileName=void 0,this.imageRelationIds=void 0,this.svgImageRelationIds=void 0,this.mArchive&&(this.mArchive.destroy(),this.mArchive=void 0),this.mArchiveExcel&&(this.mArchiveExcel.destroy(),this.mArchiveExcel=void 0)},e.prototype.serialize=function(e,t){this.keywordIndex=+!!e.owner.documentEditorSettings.optimizeSfdt;var i,a=e.owner.sfdtExportModule.write(this.keywordIndex);this.setDocument(a),this.mComments=e.comments,this.mCustomXML=e.customXmlData,this.mImages=e.images,this.revisions=e.owner.revisions.changes,this.mArchive=ne
1w r.SJ,this.mArchive.compressionLevel="Normal",this.commentParaIDInfo={},this.commentParaID=0,this.currentCommentId=0,this.commentId={},this.mVerticalMerge=new o.b,this.mGridSpans=new o.b,this.imageRelationIds=new o.b,this.svgImageRelationIds=new o.b,this.serializeDocument(),this.serializeStyles(),this.serializeNumberings(),this.serializeComments(),this.serializeCommentsExtended(),this.serializeThemes(),this.serializeSettings(),this.serializeCoreProperties(),this.serializeAppProperties(),this.serializeFontTable(i),this.serializeSettingsRelation(),this.serializeHeaderFooters(),this.serializeFootnotes(),this.serializeEndnotes(),this.serializeDocumentRelations(),this.serializeGeneralRelations(),this.serializeContentTypes(i,t),this.clearDocument()},e.prototype.setDocument=function(e,t){(0,s.hX)(this.keywordIndex)&&(this.keywordIndex=t),this.document=e,this.mSections=e[h.gNC[this.keywordIndex]],this.mLists=e[h.lne[this.keywordIndex]],this.mAbstractLists=e[h.Nky[this.keywordIndex]],this.defCharacterFormat=e[h.yjl[this.keywordIndex]],this.defParagraphFormat=e[h.bm$[this.keywordIndex]],this.defaultTabWidthValue=e[h.owP[this.keywordIndex]],this.themeFontLang=e[h.L4m[this.keywordIndex]],this.dontUseHtmlParagraphAutoSpacing=n.LD.parseBoolValue(e[h.A6j[this.keywordIndex]]),this.mStyles=e[h.C9Q[this.keywordIndex]],this.mThemes=e[h.qvS[this.keywordIndex]],this.formatting=n.LD.parseBoolValue(e[h.XGw[this.keywordIndex]]),this.enforcement=n.LD.parseBoolValue(e[h.aIf[this.keywordIndex]]),this.hashValue=e[h.n_F[this.keywordIndex]],this.saltValue=e[h.ljK[this.keywordIndex]],this.cryptAlgorithmSid=e[h.Xdo[this.keywordIndex]],this.cryptAlgorithmType=e[h.jzd[this.keywordIndex]],this.cryptAlgorithmClass=e[h.J6y[this.keywordIndex]],this.protectionType=e[h.FvF[this.keywordIndex]],this.formFieldShading=n.LD.parseBoolValue(e[h.k$t[this.keywordIndex]]),this.trackChanges=n.LD.parseBoolValue(e[h.SEu[this.keywordIndex]]),this.compatibilityMode=e[h.fFD[this.keywordIndex]],this.allowSpaceOfSameStyleInTable=n.LD.parseBoolValue(e[h._cN[this.keywordIndex]])},e.prototype.clearDocument=function(){this.section=void 0,this.lastSection=void 0,this.blockOwner=void 0,this.paragraph=void 0,this.table=void 0,this.row=void 0,this.headerFooter=void 0,this.commentParaIDInfo={},this.commentParaID=0,this.currentCommentId=0,this.commentId={},this.document=void 0,this.mSections=void 0,this.mLists=void 0,this.mAbstractLists=void 0,this.defCharacterFormat=void 0,this.defParagraphFormat=void 0,this.defaultTabWidthValue=void 0,this.trackChanges=void 0,this.customXMLProps=[],this.mRelationShipID=0,this.eRelationShipId=0,this.cRelationShipId=0,this.efRelationShipId=0,this.mDocPrID=1,this.chartCount=0,this.keywordIndex=void 0,this.mDifferentFirstPage=!1,this.mHeaderFooterColl&&(this.mHeaderFooterColl.destroy(),this.mHeaderFooterColl=void 0),this.mVerticalMerge&&(this.mVerticalMerge.destroy(),this.mVerticalMerge=void 0),this.mGridSpans&&(this.mGridSpans.destroy(),this.mGridSpans=void 0),this.mDocumentImages&&(this.mDocumentImages.destroy(),this.mDocumentImages=void 0),this.mSvgImages&&(this.mSvgImages.destroy(),this.mSvgImages=void 0),this.mExternalLinkImages&&(this.mExternalLinkImages.destroy(),this.mExternalLinkImages=void 0),this.mHeaderFooterImages&&(this.mHeaderFooterImages.destroy(),this.mHeaderFooterImages=void 0),this.mHeaderFooterSvgImages&&(this.mHeaderFooterSvgImages.destroy(),this.mHeaderFooterSvgImages=void 0),this.mDocumentCharts&&(this.mDocumentCharts.destroy(),this.mDocumentCharts=void 0),this.mFootEndnotesColl&&(this.mFootEndnotesColl.destroy(),this.mFootEndnotesColl=void 0)},e.prototype.serializeDocument=function(){var e=new a.Bi;e.writeStartElement("w","document",this.wNamespace),this.writeCommonAttributeStrings(e),e.writeStartElement("w","background",this.wNamespace),e.writeAttributeString("w","color",void 0,this.getColor(this.document[h.SM0[this.keywordIndex]][h.N64[this.keywordIndex]])),e.writeEndElement(),this.serializeDocumentBody(e),e.writeEndElement();var t=new r.B8(e.buffer,this.documentPath);this.mArchive.addItem(t)},e.prototype.writeCommonAttributeStrings=function(e){e.writeAttributeString("xmlns","wpc",void 0,this.wpCanvasNamespace),this.writeCustom(e),e.writeAttributeString("xmlns","wp14",void 0,this.wpDrawingNamespace),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeAttributeString("xmlns","w10",void 0,this.w10Namespace),e.writeAttributeString("xmlns","w",void 0,this.wNamespace),this.writeDup(e),e.writeAttributeString("xmlns","wne",void 0,this.wneNamespace),e.writeAttributeString("xmlns","wps",void 0,this.wpShapeNamespace),e.writeAttributeString("mc","Ignorable",void 0,"w14 w15 wp14")},e.prototype.writeDup=function(e){e.writeAttributeString("xmlns","w14",void 0,this.w14Namespace),e.writeAttributeString("xmlns","w15",void 0,this.w15Namespace),e.writeAttributeString("xmlns","wpg",void 0,this.wpGroupNamespace),e.writeAttributeString("xmlns","wpi",void 0,this.wpInkNamespace)},e.prototype.writeCustom=function(e){e.writeAttributeString("xmlns","mc",void 0,this.veNamespace),e.writeAttributeString("xmlns","o",void 0,this.oNamespace),e.writeAttributeString("xmlns","r",void 0,this.rN
1amespace),e.writeAttributeString("xmlns","m",void 0,this.mNamespace),e.writeAttributeString("xmlns","v",void 0,this.vNamespace)},e.prototype.serializeDocumentBody=function(e){e.writeStartElement(void 0,"body",this.wNamespace);for(var t=this.document[h.gNC[this.keywordIndex]].length,i=0;i<t;i++)this.section=this.document[h.gNC[this.keywordIndex]][parseInt(i.toString(),10)],this.lastSection=i===t-1,this.containerWidth=this.section[h.Kbh[this.keywordIndex]][h.LWC[this.keywordIndex]]-(this.section[h.Kbh[this.keywordIndex]][h.FJj[this.keywordIndex]]+this.section[h.Kbh[this.keywordIndex]][h.wW3[this.keywordIndex]]),this.serializeSection(e,this.section,i===t-1),this.section=void 0;e.writeEndElement()},e.prototype.serializeSection=function(e,t,i){this.blockOwner=t,(0,s.hX)(t[h.u3O[this.keywordIndex]])||this.serializeBodyItems(e,t[h.u3O[this.keywordIndex]],i),i&&this.serializeSectionProperties(e,t),this.blockOwner=void 0},e.prototype.serializeComments=function(){if(0!==this.mComments.length&&(1!==this.mComments.length||""!==this.mComments[0].text)){var e=new a.Bi;e.writeStartElement("w","comments",this.wNamespace),this.serializeCommentCommonAttribute(e),this.serializeCommentInternal(e,this.mComments),e.writeEndElement();var t=new r.B8(e.buffer,this.commentsPath);this.mArchive.addItem(t)}},e.prototype.serializeThemes=function(){if(!(0,s.hX)(this.mThemes)){var e=new a.Bi;e.writeStartElement("a","theme",this.aNamespace),e.writeAttributeString(void 0,"name",void 0,"Office Theme"),e.writeStartElement(void 0,"themeElements",this.aNamespace),e.writeRaw('<a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000" /></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF" /></a:lt1><a:dk2><a:srgbClr val="44546A" /></a:dk2><a:lt2><a:srgbClr val="E7E6E6" /></a:lt2><a:accent1><a:srgbClr val="4472C4" /></a:accent1><a:accent2><a:srgbClr val="ED7D31" /></a:accent2><a:accent3><a:srgbClr val="A5A5A5" /></a:accent3><a:accent4><a:srgbClr val="FFC000" /></a:accent4><a:accent5><a:srgbClr val="5B9BD5" /></a:accent5><a:accent6><a:srgbClr val="70AD47" /></a:accent6><a:hlink><a:srgbClr val="0563C1" /></a:hlink><a:folHlink><a:srgbClr val="954F72" /></a:folHlink></a:clrScheme>'),e.writeStartElement(void 0,"fontScheme",this.aNamespace),e.writeAttributeString(void 0,"name",void 0,this.mThemes[h.ntg[this.keywordIndex]]),e.writeStartElement(void 0,"majorFont",this.aNamespace);for(var t=0;t<this.mThemes[h.GtS[this.keywordIndex]][h.jhr[this.keywordIndex]][h.eHu[this.keywordIndex]].length;t++){var i=this.mThemes[h.GtS[this.keywordIndex]][h.jhr[this.keywordIndex]][h.eHu[this.keywordIndex]][parseInt(t.toString(),10)];this.themeFont(e,i)}for(var n=Object.keys(this.mThemes[h.GtS[this.keywordIndex]][h.jhr[this.keywordIndex]][h.yEQ[this.keywordIndex]]),o=0,d=n;o<d.length;o++){var w=d[o];this.themeType(e,w,this.mThemes[h.GtS[this.keywordIndex]][h.jhr[this.keywordIndex]][h.yEQ[this.keywordIndex]][""+w])}e.writeEndElement(),e.writeStartElement(void 0,"minorFont",this.aNamespace);for(var t=0;t<this.mThemes[h.GtS[this.keywordIndex]][h.tEd[this.keywordIndex]][h.eHu[this.keywordIndex]].length;t++){var i=this.mThemes[h.GtS[this.keywordIndex]][h.tEd[this.keywordIndex]][h.eHu[this.keywordIndex]][parseInt(t.toString(),10)];this.themeFont(e,i)}n=Object.keys(this.mThemes[h.GtS[this.keywordIndex]][h.tEd[this.keywordIndex]][h.yEQ[this.keywordIndex]]);for(var l=0,c=n;l<c.length;l++){var w=c[l];this.themeType(e,w,this.mThemes[h.GtS[this.keywordIndex]][h.tEd[this.keywordIndex]][h.yEQ[this.keywordIndex]][""+w])}e.writeEndElement(),e.writeEndElement(),e.writeStartElement(void 0,"fmtScheme",this.aNamespace),e.writeAttributeString(void 0,"name",void 0,"Office"),e.writeRaw('<a:fillStyleLst><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000" /><a:satMod val="105000" /><a:tint val="67000" /></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000" /><a:satMod val="103000" /><a:tint val="73000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000" /><a:satMod val="109000" /><a:tint val="81000" /></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0" /></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000" /><a:lumMod val="102000" /><a:tint val="94000" /></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000" /><a:lumMod val="100000" /><a:shade val="100000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000" /><a:satMod val="120000" /><a:shade val="78000" /></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0" /></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:prstDash val="solid" /><a:miter lim="800000" /></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:prstDash val="solid" /><a:miter lim="800000" /></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:prstDash val="solid" /><a:miter lim="800000" /></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst /></a:effectStyle><a:effectStyle><a:effectLst /></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000" /></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr" /></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000" /><a:satMod val="170000" /></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000" /><a:satMod val="150000" /><a:shade val="98000" /><a:lumMod val="102000" /></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000" /><a:satMod val="130000" /><a:shade val="90000" /><a:lumMod val="103000" /></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000" /><a:satMod val="120000" /></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0" /></a:gradFill></a:bgFillStyleLst>'),e.writeEndElement(),e.writeEndElement(),e.writeEndElement();var m=new r.B8(e.buffer,this.themePath);this.mArchive.addItem(m)}},e.prototype.themeFont=function(e,t){("latin"===t[h.RL$[this.keywordIndex]]||"ea"===t[h.RL$[this.keywordIndex]]||"cs"===t[h.RL$[this.keywordIndex]])&&(e.writeStartElement(void 0,t[h.RL$[this.keywordIndex]],this.aNamespace),e.writeAttributeString(void 0,"typeface",void 0,t[h.NK_[this.keywordIndex]]),e.writeAttributeString(void 0,"panose",void 0,t[h.orq[this.keywordIndex]]),e.writeEndElement())},e.prototype.themeType=function(e,t,i){e.writeStartElement(void 0,"font",this.aNamespace),e.writeAttributeString(void 0,"script",void 0,t),e.writeAttributeString(void 0,"typeface",void 0,i),e.writeEndElement()},e.prototype.serializeCommentCommonAttribute=function(e){e.writeAttributeString("xmlns","wpc",void 0,this.wpCanvasNamespace),e.writeAttributeString("xmlns","cx",void 0,this.cxNamespace),e.writeAttributeString("xmlns","mc",void 0,this.veNamespace),e.writeAttributeString("xmlns","o",void 0,this.oNamespace),e.writeAttributeString("xmlns","r",void 0,this.rN
1amespace),e.writeAttributeString("xmlns","m",void 0,this.mNamespace),e.writeAttributeString("xmlns","v",void 0,this.vNamespace),e.writeAttributeString("xmlns","wp14",void 0,this.wpDrawingNamespace),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeAttributeString("xmlns","w10",void 0,this.w10Namespace),e.writeAttributeString("xmlns","w",void 0,this.wNamespace),e.writeAttributeString("xmlns","w14",void 0,this.w14Namespace),e.writeAttributeString("xmlns","w15",void 0,this.w15Namespace),e.writeAttributeString("mc","Ignorable",void 0,"w14 w15")},e.prototype.serializeCommentInternal=function(e,t){for(var i=0;i<t.length;i++){var r=t[parseInt(i.toString(),10)];if(!(0,s.hX)(this.commentId[r.commentId])&&(r.isPosted||r.isReply)){e.writeStartElement("w","comment",this.wNamespace),e.writeAttributeString("w","id",this.wNamespace,this.commentId[r.commentId].toString()),r.author&&" "!==r.author&&e.writeAttributeString("w","author",this.wNamespace,r.author),r.date&&e.writeAttributeString("w","date",this.wNamespace,r.date),r.initial&&""!==r.initial&&e.writeAttributeString("w","initials",this.wNamespace,r.initial);for(var a=n.LD.commentInlines(r.text,r.mentions,this.keywordIndex),o=0;o<a.length;o++)this.isInsideComment=!0,this.commentParaID++,this.serializeBodyItem(e,a[parseInt(o.toString(),10)],!0),this.isInsideComment=!1;0===a.length&&(this.isInsideComment=!0,this.commentParaID++),this.commentParaIDInfo[r.commentId]=this.commentParaID,this.isInsideComment=!1,e.writeEndElement(),r.replyComments.length>0&&this.serializeCommentInternal(e,r.replyComments)}}},e.prototype.serializeCommentsExtended=function(){if(0!==this.mComments.length&&(1!==this.mComments.length||""!==this.mComments[0].text)){var e=new a.Bi;e.writeStartElement("w15","commentsEx",this.wNamespace),this.serializeCommentCommonAttribute(e),this.serializeCommentsExInternal(e,this.mComments,!1),e.writeEndElement();var t=new r.B8(e.buffer,this.commentsExtendedPath);this.mArchive.addItem(t)}},e.prototype.serializeCommentsExInternal=function(e,t,i){for(var r=0;r<t.length;r++){var a=t[parseInt(r.toString(),10)];if(!(0,s.hX)(this.commentParaIDInfo[a.commentId])&&(a.isPosted||a.isReply)){e.writeStartElement("w15","commentEx",this.wNamespace);var n=this.commentParaIDInfo[a.commentId];if(i){var o=this.commentParaIDInfo[a.ownerComment.commentId];e.writeAttributeString("w15","paraIdParent",this.wNamespace,o.toString())}e.writeAttributeString("w15","paraId",this.wNamespace,n.toString());var d=+!!a.done;e.writeAttributeString("w15","done",this.wNamespace,d.toString()),e.writeEndElement(),a.replyComments.length>0&&this.serializeCommentsExInternal(e,a.replyComments,!0)}}},e.prototype.serializeSectionProperties=function(e,t){if((0,s.hX)(this.document.optimizeSfdt)||(this.keywordIndex=+!!this.document.optimizeSfdt),e.writeStartElement("w","sectPr",this.wNamespace),t[h.gID[this.keywordIndex]]&&this.serializeHFReference(e,t[h.gID[this.keywordIndex]]),!(0,s.hX)(t[h.Kbh[this.keywordIndex]][h.G4q[this.keywordIndex]])){var i=this.getSectionBreakCode(t[h.Kbh[this.keywordIndex]][h.G4q[this.keywordIndex]]);this.serializeSectionType(e,i)}this.serializePageSetup(e,t[h.Kbh[this.keywordIndex]]),this.serializeColumns(e,t[h.Kbh[this.keywordIndex]]),this.serializeFootNotesPr(e,t[h.Kbh[this.keywordIndex]]),this.serializeEndNotesPr(e,t[h.Kbh[this.keywordIndex]]),void 0!==t[h.Kbh[this.keywordIndex]]&&n.LD.parseBoolValue(t[h.Kbh[this.keywordIndex]][h.y5G[this.keywordIndex]])&&(e.writeStartElement(void 0,"titlePg",this.wNamespace),e.writeEndElement()),!(0,s.hX)(t[h.Kbh[this.keywordIndex]])&&n.LD.parseBoolValue(t[h.Kbh[this.keywordIndex]][h.y1q[this.keywordIndex]])&&(e.writeStartElement(void 0,"bidi",this.wNamespace),e.writeEndElement()),e.writeEndElement()},e.prototype.getSectionBreakCode=function(e){switch(e){case"NoBreak":return"continuous";case"NewColumn":return"nextColumn";case"EvenPage":return"evenPage";case"Oddpage":return"oddPage";default:return"nextPage"}},e.prototype.serializeFootNotesPr=function(e,t){(t[h.Cfz[this.keywordIndex]]||t[h.BU5[this.keywordIndex]])&&(e.writeStartElement(void 0,"footnotePr",this.wNamespace),e.writeStartElement(void 0,"pos",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,"pageBottom"),e.writeEndElement(),void 0!==t[h.Cfz[this.keywordIndex]]&&(e.writeStartElement(void 0,"numFmt",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.getFootNoteNumberFormat(t[h.Cfz[this.keywordIndex]])),e.writeEndElement()),void 0!==t[h.BU5[this.keywordIndex]]&&(e.writeStartElement(void 0,"numRestart",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.getFootNoteNumberRestart(t[h.BU5[this.keywordIndex]])),e.writeEndElement()),void 0!==t[h.TGt[this.keywordIndex]]&&(e.writeStartElement(void 0,"numStart",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.TGt[this.keywordIndex]].toString()),e.writeEndElement()),e.writeEndElement())},e.prototype.getFootNoteNumberFormat=function(e){var t;switch(e){case"UpperCaseRoman":case 1:t="upperRoman";break;case"LowerCaseRoman":case 2:t="lowerRoman";break;case"UpperCaseLetter":case 3:t="upperLetter";break;case"LowerCaseLetter":case 4:t="lowerLetter";break;default:t="decimal"}return t},e.prototype.getFootNoteNumberRestart=function(e){switch(e){case"RestartForEachSection ":case 1:return"eachSect";
1case"RestartForEachPage":case 2:return"eachPage";default:return"continuous"}},e.prototype.getPageNumberFormat=function(e){var t;switch(e){case"RomanUpper":t="upperRoman";break;case"RomanLower":t="lowerRoman";break;case"LetterUpper":t="upperLetter";break;case"LetterLower":t="lowerLetter";break;default:t="Arabic"}return t},e.prototype.serializeEndNotesPr=function(e,t){(0,s.hX)(t[h.tgw[this.keywordIndex]])&&(0,s.hX)(t[h.GYd[this.keywordIndex]])||(e.writeStartElement(void 0,"endnotePr",this.wNamespace),e.writeStartElement(void 0,"pos",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,"docEnd"),e.writeEndElement(),void 0!==t[h.tgw[this.keywordIndex]]&&(e.writeStartElement(void 0,"numFmt",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.getFootNoteNumberFormat(t[h.tgw[this.keywordIndex]])),e.writeEndElement()),void 0!==t[h.GYd[this.keywordIndex]]&&(e.writeStartElement(void 0,"numRestart",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.getFootNoteNumberRestart(t[h.GYd[this.keywordIndex]])),e.writeEndElement()),void 0!==t[h.G4M[this.keywordIndex]]&&(e.writeStartElement(void 0,"numStart",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.G4M[this.keywordIndex]].toString()),e.writeEndElement()),e.writeEndElement())},e.prototype.serializeColumns=function(e,t){if(void 0!==t[h.Rm5[this.keywordIndex]]&&t[h.Rm5[this.keywordIndex]]>1){if(e.writeStartElement(void 0,"cols",this.wNamespace),e.writeAttributeString(void 0,"num",this.wNamespace,t[h.Rm5[this.keywordIndex]].toString()),n.LD.parseBoolValue(t[h.lW5[this.keywordIndex]])&&e.writeAttributeString(void 0,"sep",this.wNamespace,"1"),n.LD.parseBoolValue(t[h.WUD[this.keywordIndex]]))e.writeAttributeString(void 0,"equalWidth",this.wNamespace,"1");else if(e.writeAttributeString(void 0,"equalWidth",this.wNamespace,"0"),void 0!==t[h.FCt[this.keywordIndex]]&&t[h.FCt[this.keywordIndex]].length>0)for(var i=0;i<t[h.FCt[this.keywordIndex]].length;i++)e.writeStartElement(void 0,"col",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,this.roundToTwoDecimal(t[h.FCt[this.keywordIndex]][parseInt(i.toString(),10)][h.u5V[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeAttributeString(void 0,"space",this.wNamespace,this.roundToTwoDecimal(t[h.FCt[this.keywordIndex]][parseInt(i.toString(),10)][h.yip[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeEndElement();e.writeEndElement()}},e.prototype.serializePageSetup=function(e,t){void 0!==t&&(this.serializePageSize(e,t),this.serializePageMargins(e,t),this.serializePageNumberType(e,t)),n.LD.parseBoolValue(t[h.P_6[this.keywordIndex]])&&(e.writeStartElement(void 0,"pgNumType",this.wNamespace),e.writeAttributeString(void 0,"start",this.wNamespace,t[h.GBM[this.keywordIndex]].toString()),e.writeEndElement()),e.writeStartElement(void 0,"pgBorders",this.wNamespace),e.writeEndElement()},e.prototype.serializePageSize=function(e,t){e.writeStartElement(void 0,"pgSz",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,this.roundToTwoDecimal(t[h.LWC[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeAttributeString(void 0,"h",this.wNamespace,this.roundToTwoDecimal(t[h.sT9[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeEndElement()},e.prototype.serializePageMargins=function(e,t){e.writeStartElement(void 0,"pgMar",this.wNamespace);var i=Math.round(t[h.PkB[this.keywordIndex]]*this.twentiethOfPoint);e.writeAttributeString(void 0,"top",this.wNamespace,i.toString()),i=Math.round(t[h.wW3[this.keywordIndex]]*this.twentiethOfPoint),e.writeAttributeString(void 0,"right",this.wNamespace,i.toString()),i=Math.round(t[h.fRV[this.keywordIndex]]*this.twentiethOfPoint),e.writeAttributeString(void 0,"bottom",this.wNamespace,i.toString()),i=Math.round(t[h.FJj[this.keywordIndex]]*this.twentiethOfPoint),e.writeAttributeString(void 0,"left",this.wNamespace,i.toString()),e.writeAttributeString(void 0,"header",this.wNamespace,this.roundToTwoDecimal(t[h.GHV[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeAttributeString(void 0,"footer",this.wNamespace,this.roundToTwoDecimal(t[h.mGG[this.keywordIndex]]*this.twentiethOfPoint).toString()),e.writeAttributeString(void 0,"gutter",this.wNamespace,"0"),e.writeEndElement()},e.prototype.serializePageNumberType=function(e,t){void 0!==t[h.tkr[this.keywordIndex]]&&(e.writeStartElement(void 0,"pgNumType",this.wNamespace),e.writeAttributeString(void 0,"fmt",this.wNamespace,this.getPageNumberFormat(t[h.tkr[this.keywordIndex]])),e.writeEndElement())},e.prototype.serializeSectionType=function(e,t){e.writeStartElement("w","type",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t),e.writeEndElement()},e.prototype.serializeHFReference=function(e,t){var i="";if(void 0!==t){this.mDifferentFirstPage=n.LD.parseBoolValue(this.section[h.Kbh[this.keywordIndex]][h.DFv[this.keywordIndex]]);var r=t[h.elv[this.keywordIndex]];r&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"headerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"first"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"FirstPageHeader",i),e.writeEndElement()),(r=t[h.msI[this.keywordIndex]])&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"footerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"first"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"FirstPageFooter",i),e.writeEndElement()),(r=t[h.ZAm[this.keywordIndex]])&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"headerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"even"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"EvenHeader",i),e.writeEndElement()),(r=t[h.$of[this.keywordIndex]])&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"footerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"even"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"EvenFooter",i),e.writeEndElement()),(r=t[h.ZCS[this.keywordIndex]])&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"headerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"default"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"OddHeader",i),e.writeEndElement()),(r=t[h.xnl[this.keywordIndex]])&&r[h.u3O[this.keywordIndex]]&&r[h.u3O[this.keywordIndex]].length>0&&(e.writeStartElement(void 0,"footerReference",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"default"),i=this.getNextRelationShipID(),e.writeAttributeString(void 0,"id",this.rNamespace,i),this.addHeaderFooter(r,"OddFooter",i),e.writeEndElement())}},e.prototype.addHeaderFooter=function(e,t,i){var r=new o.b;this.headersFooters.add(t,r),this.headersFooters.get(t).add(i,e)},e.prototype.serializeBodyItems=function(e,t,i){for(var r=0;r<t.length;r++)this.serializeBodyItem(e,t[parseInt(r.toString(),10)],i)},e.prototype.serializeContentControl=function(e,t,i,r,a){if((0,s.hX)(t))throw Error("contentCOntrol should not be undefined");e.writeStartElement("w","sdt",this.wNamespace),e.writeStartElement(void 0,"sdtPr",this.wNamespace),(0,s.hX)(t)||this.serializeContentProperties(e,t,i,r,a)},e.prototype.serializeContentProperties=function(e,t,i,r,a){if((0,s.hX)(t[h.akK[this.keywordIndex]])||
1(e.writeStartElement(void 0,"alias",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.akK[this.keywordIndex]]),e.writeEndElement(),e.writeStartElement(void 0,"tag",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.CJL[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(t[h.yjl[this.keywordIndex]])||this.serializeCharacterFormat(e,i[h.F7o[this.keywordIndex]][h.yjl[this.keywordIndex]]),(n.LD.parseBoolValue(t[h.tiW[this.keywordIndex]])||n.LD.parseBoolValue(t[h.ZM4[this.keywordIndex]]))&&(e.writeStartElement(void 0,"lock",this.wNamespace),n.LD.parseBoolValue(t[h.ZM4[this.keywordIndex]])&&n.LD.parseBoolValue(t[h.tiW[this.keywordIndex]])?e.writeAttributeString("w","val",this.wNamespace,"sdtContentLocked"):n.LD.parseBoolValue(t[h.ZM4[this.keywordIndex]])?e.writeAttributeString("w","val",this.wNamespace,"sdtLocked"):n.LD.parseBoolValue(t[h.tiW[this.keywordIndex]])&&e.writeAttributeString("w","val",this.wNamespace,"contentLocked"),e.writeEndElement()),n.LD.parseBoolValue(t[h.mHg[this.keywordIndex]])&&(0,s.hX)(void 0)&&(e.writeStartElement("w","placeholder",void 0),e.writeAttributeString("w","docPart",this.wNamespace,void 0),e.writeEndElement(),e.writeStartElement("w","showingPlcHdr",void 0),e.writeEndElement()),n.LD.parseBoolValue(t[h.JE6[this.keywordIndex]])&&(e.writeStartElement("w","temporary",void 0),e.writeEndElement()),(0,s.hX)(t[h.CD[this.keywordIndex]])||(e.writeStartElement("w15","appearance",void 0),e.writeAttributeString("w15","val",void 0,1===this.keywordIndex?this.getContentControlAppearance(t[h.CD[this.keywordIndex]]).toLowerCase():t[h.CD[this.keywordIndex]].toLowerCase()),e.writeEndElement()),(0,s.hX)(t[h.N64[this.keywordIndex]])||(e.writeStartElement("w15","color",void 0),"empty"===t[h.N64[this.keywordIndex]]||"#00000000"===t[h.N64[this.keywordIndex]]?e.writeAttributeString("w","val",void 0,"auto"):e.writeAttributeString("w","val",void 0,this.getColor(t[h.N64[this.keywordIndex]])),e.writeEndElement()),(0,s.hX)(t[h.sf$[this.keywordIndex]])||t[h.sf$[this.keywordIndex]]!==(1===this.keywordIndex?9:"Text")||(e.writeStartElement(void 0,"text",this.wNamespace),e.writeEndElement()),n.LD.parseBoolValue(t[h.$zT[this.keywordIndex]])&&(e.writeStartElement(void 0,"text",this.wNamespace),e.writeAttributeString("w","multiLine",this.wNamespace,"1"),e.writeEndElement()),!(0,s.hX)(t[h.pwc[this.keywordIndex]])&&n.LD.parseBoolValue(t[h.pwc[this.keywordIndex]][h.v4d[this.keywordIndex]])){e.writeStartElement("w","dataBinding",this.wNamespace);var d=t[h.pwc[this.keywordIndex]][h.y2Z[this.keywordIndex]];e.writeAttributeString("w","prefixMappings",void 0,d);var w=t[h.pwc[this.keywordIndex]][h.fz5[this.keywordIndex]];e.writeAttributeString("w","xpath",void 0,w);var l=t[h.pwc[this.keywordIndex]][h.BS[this.keywordIndex]];e.writeAttributeString("w","storeItemID",void 0,l),e.writeEndElement()}if(t.picture&&(e.writeStartElement("w","picture",this.wNamespace),e.writeEndElement()),(0,s.hX)(t[h.XXD[this.keywordIndex]]||t[h.iv_[this.keywordIndex]])||(e.writeStartElement("w14","checkbox",void 0),n.LD.parseBoolValue(t[h.djV[this.keywordIndex]])?(e.writeStartElement("w14","checked",void 0),e.writeAttributeString("w14","val",void 0,"1")):(e.writeStartElement("w14","checked",void 0),e.writeAttributeString("w14","val",void 0,"0")),e.writeEndElement(),t[h.XXD[this.keywordIndex]]&&(e.writeStartElement("w14","uncheckedState",void 0),e.writeAttributeString("w14","val",void 0,this.toUnicode(t[h.XXD[this.keywordIndex]][h.tV8[this.keywordIndex]])),e.writeAttributeString("w14","font",void 0,t[h.XXD[this.keywordIndex]][h.Xxk[this.keywordIndex]]),e.writeEndElement()),t[h.iv_[this.keywordIndex]]&&(e.writeStartElement("w14","checkedState",void 0),e.writeAttributeString("w14","val",void 0,this.toUnicode(t[h.iv_[this.keywordIndex]][h.tV8[this.keywordIndex]])),e.writeAttributeString("w14","font",void 0,t[h.iv_[this.keywordIndex]][h.Xxk[this.keywordIndex]]),e.writeEndElement()),e.writeEndElement()),!(0,s.hX)(t[h.Axm[this.keywordIndex]])&&t[h.sf$[this.keywordIndex]]===(1===this.keywordIndex?5:"DropDownList")){var c=t[h.Axm[this.keywordIndex]];e.writeStartElement(void 0,"dropDownList",this.wNamespace),this.serializeContentControl
1List(e,c),e.writeEndElement()}if(!(0,s.hX)(t[h.Axm[this.keywordIndex]])&&t[h.sf$[this.keywordIndex]]===(1===this.keywordIndex?3:"ComboBox")){var m=t[h.Axm[this.keywordIndex]];e.writeStartElement(void 0,"comboBox",this.wNamespace),this.serializeContentControlList(e,m),e.writeEndElement()}if(this.serializeContentControlDate(e,t),(0,s.hX)(t[h.sf$[this.keywordIndex]])||t[h.sf$[this.keywordIndex]]!==(1===this.keywordIndex?7:"Picture")||(e.writeStartElement(void 0,"picture",this.wNamespace),e.writeEndElement()),e.writeEndElement(),e.writeStartElement("w","sdtContent",this.wNamespace),!a){if(i.hasOwnProperty(h.u3O[this.keywordIndex])&&(0,s.hX)(i[h.Vre[this.keywordIndex]]))for(var p=0;p<i[h.u3O[this.keywordIndex]].length;p++){var u=i[h.u3O[this.keywordIndex]][p];if(u.hasOwnProperty(h.K2P[this.keywordIndex]))this.paragraph=u,this.serializeParagraph(e,u,r),this.paragraph=void 0;else if(u.hasOwnProperty(h.rfM[this.keywordIndex])){var y=new o.b;this.serializeRow(e,u,y)}else u.hasOwnProperty(h.F7o[this.keywordIndex])?this.serializeContentControl(e,u[h.F7o[this.keywordIndex]],u,r):this.serializeTable(e,u)}else if(i.hasOwnProperty(h.rfM[this.keywordIndex])){if(i[h.pzy[this.keywordIndex]].length>0){var y=new o.b;this.serializeRow(e,i,y)}}else if(i.hasOwnProperty(h.Vre[this.keywordIndex])){var y=new o.b;this.serializeCell(e,i,y)}e.writeEndElement(),e.writeEndElement()}},e.prototype.toUnicode=function(e){return e.charCodeAt(0).toString(16)},e.prototype.serializeContentControlList=function(e,t){for(var i=0;i<t.length;i++)e.writeStartElement(void 0,"listItem",this.wNamespace),(0,s.hX)(t[i][h.bO8[this.keywordIndex]])||e.writeAttributeString("w","displayText",this.wNamespace,t[i][h.bO8[this.keywordIndex]]),e.writeAttributeString("w","value",this.wNamespace,t[i][h.tV8[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeContentParagraph=function(e,t){for(var i=0;i<t[h.u3O[this.keywordIndex]].length;i++){var r=t[h.u3O[this.keywordIndex]][i];if(r.hasOwnProperty(h.K2P[this.keywordIndex]))for(var a=0;a<r[h.K2P[this.keywordIndex]].length;a++){var n=r[h.K2P[this.keywordIndex]][a];(0,s.hX)(n[h.yjl[this.keywordIndex]])||this.serializeCharacterFormat(e,n[h.yjl[this.keywordIndex]])}}},e.prototype.serializeContentControlDate=function(e,t){t[h.sf$[this.keywordIndex]]===(1==this.keywordIndex?4:"Date")&&(e.writeStartElement("w","date",this.wNamespace),(0,s.hX)(t[h.m$Q[this.keywordIndex]])||(e.writeStartElement("w","calender",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,1==this.keywordIndex?this.getDateCalendarType(t[h.m$Q[this.keywordIndex]]):t[h.m$Q[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(t[h.oiV[this.keywordIndex]])||(e.writeStartElement("w","lid",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.oiV[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(t[h.u4X[this.keywordIndex]])||(e.writeStartElement("w","storeMappedDataAs",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,1==this.keywordIndex?this.getDateStorageFormat(t[h.u4X[this.keywordIndex]]):t[h.u4X[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(t[h.nw3[this.keywordIndex]])||(e.writeStartElement("w","dateFormat",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.nw3[this.keywordIndex]]),e.writeEndElement()),e.writeEndElement())},e.prototype.serializeBodyItem=function(e,t,i){if((0,s.hX)(t))throw Error("BodyItem should not be undefined");if(t.hasOwnProperty(h.F7o[this.keywordIndex]))this.serializeContentControl(e,t[h.F7o[this.keywordIndex]],t,i);else if(t.hasOwnProperty(h.K2P[this.keywordIndex]))this.paragraph=t,this.serializeParagraph(e,t,i),this.paragraph=void 0;else{for(var r=0;r<t[h.fDI[this.keywordIndex]].length;r++)if(t[h.fDI[this.keywordIndex]][r][h.pzy[this.keywordIndex]].length>0){this.serializeTable(e,t);break}var a=this.blockOwner;!i&&a.hasOwnProperty(h.Kbh[this.keywordIndex])&&a[h.u3O[this.keywordIndex]].indexOf(t)===a[h.u3O[this.keywordIndex]].length-1&&(e.writeStartElement("w","p",this.wNamespace),e.writeStartElement(void 0,"pPr",this.wNamespace),this.serializeSectionProperties(e,a),e.writeEndElement(),e.writeEndElement())}},e.prototype.serializeParagraph=function(e,t,i){if((0,s.hX)(t))throw Error("Paragraph should not be undefined");(0,s.hX)(this.document.optimizeSfdt)||(this.keywordIndex=+!!this.document.optimizeSfdt),e.writeStartElement("w","p",this.wNamespace),this.isInsideComment&&e.writeAttributeString("w14","paraId",void 0,this.commentParaID.toString()),e.writeStartElement(void 0,"pPr",this.wNamespace),(0,s.hX)(t[h.bm$[this.keywordIndex]])||this.serializeParagraphFormat(e,t[h.bm$[this.keywordIndex]],t),(0,s.hX)(t[h.yjl[this.keywordIndex]])||this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]);var r=this.blockOwner;!i&&r.hasOwnProperty(h.Kbh[this.keywordIndex])&&r[h.u3O[this.keywordIndex]].indexOf(t)===r[h.u3O[this.keywordIndex]].length-1&&this.serializeSectionProperties(e,r),e.writeEndElement(),this.prevRevisionIds=[],this.serializeParagraphItems(e,t[h.K2P[this.keywordIndex]]),(this.isBookmarkAtEnd||this.isBookmarkAtRowEnd)&&!this.isVerticalMergeCell||e.writeEndElement(),this.isBookmarkAtEnd=!1},e.prototype.serializeRevisionStart=function(e,t,i){if(t.hasOwnProperty(h.PQt[this.keywordIndex])&&!(!(0,s.hX)(i)&&i.hasOwnProperty(h.k$Q[this.keywordIndex])&&0===i[h.k$Q[this.keywordIndex]]&&!(i[h.RL$[this.keywordIndex]].indexOf("_Toc")>=0)&&(0,s.hX)(t[h.PQt[this.keywordIndex]])))for(var r=t[h.PQt[this.keywordIndex]],a=0;a<r.length;a++){var n=this.retrieveRevision(r[a]);"Insertion"===n.revisionType&&this.serializeTrackChanges(e,"ins",n.author,n.date),"Deletion"===n.revisionType&&this.serializeTrackChanges(e,"del",n.author,n.date)}},e.prototype.serializeTrackChanges=function(e,t,i,r){e.writeStartElement("w",t,this.wNamespace),e.writeAttributeString("w","id",this.wNamespace,(this.trackChangesId++).toString()),"Unknown"!=i&&e.writeAttributeString("w","author",this.wNamespace,i),e.writeAttributeString("w","date",this.wNamespace,r)},e.prototype.retrieveRevision=function(e){for(var t=0;t<this.revisions.length;t++)if(this.revisions[t].revisionID===e)return this.revisions[t]},e.prototype.serializeParagraphItems=function(e,t,i){if((0,s.hX)(t))throw Error("Paragraph should not be undefined");var r,a=void 0,n=!1;(0,s.hX)(this.keywordIndex)&&(this.keywordIndex=i);for(var o=0;o<t.length;o++){var d=t[o];d.hasOwnProperty(h.F7o[this.keywordIndex])&&(r=!0,this.serializeContentControl(e,d[h.F7o[this.keywordIndex]],d,void 0,r),this.serializeParagraphItems(e,d[h.K2P[this.keywordIndex]])),d.hasOwnProperty(h.K2P[this.keywordIndex])&&this.serializeParagraphItems(e,d),this.serializeRevisionStart(e,d,a);var w=!1;if(d[h.yjl[this.keywordIndex]]&&(w=!(0,s.hX)(d[h.yjl[this.keywordIndex]][h.N8M[this.keywordIndex]])&&0!==d[h.yjl[this.keywordIndex]][h.N8M[this.keywordIndex]])&&!n&&(this.serializeBiDirectionalOverride(e,d[h.yjl[this.keywordIndex]]),n=!0),n&&!w&&(e.writeEndElement(),n=!1),d.hasOwnProperty(h.a3m[this.keywordIndex]))this.serializeFieldCharacter(e,d);else if(d.hasOwnProperty(h.koM[this.keywordIndex]))this.serializePicture(e,d);else if(d.hasOwnProperty(h.was[this.keywordIndex])){var l=this.paragraph;this.serializeShape(e,d),this.paragraph=l}else d.hasOwnProperty(h.k$Q[this.keywordIndex])?this.serializeBookMark(e,d):d.hasOwnProperty(h.AUk[this.keywordIndex])?this.serializeEditRange(e,d):d.hasOwnProperty(h.QoS[this.keywordIndex])?(this.chart=d,this.serializeChart(e,d),this.serializeChartStructure()):d.hasOwnProperty(h.ikb[this.keywordIndex])?this.serializeComment(e,d):d.hasOwnProperty(h.g5o[this.keywordIndex])?this.serializeEFReference(e,d):this.serializeTextRange(e,d,a);this.serializeRevisionEnd(e,d,a),a=d,r&&(e.writeEndElement(),e.writeEndElement(),r=!1)}n&&e.writeEndElement()},e.prototype.serializeEFReference=function(e,t){var i="",r=t[h.u3O[this.keywordIndex]];t[h.g5o[this.keywordIndex]]===(1==this.keywordIndex?0:"Footnote")?(e.writeStartElement(void 0,"r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),e.writeStartElement(void 0,"footnoteReference",this.wNamespace),this.document[h.Tsn[this.keywordIndex]][h.T8h[this.keywordIndex]]&&0===this.efRelationShipId&&(this.efRelationShipId=1),i=this.getEFNextRelationShipID(),e.writeAttributeString(void 0,"id",this.wNamespace,i),this.addFootnotesEndnotes(r,"footnote",i)):(e.writeStartElement(void 0,"r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),e.writeStartElement(void 0,"endnoteReference",this.wNamespace),this.document[h.Mo6[this.keywordIndex]][h.T8h[this.keywordIndex]]&&0===this.efRelationShipId&&(this.efRelationShipId=1),i=this.getEFNextRelationShipID(),e.writeAttributeString(void 0,"id",this.wNamespace,i),this.addFootnotesEndnotes(r,"endnote",i)),e.writeEndElement(),e.writeEndElement()},e.prototype.addFootnotesEndnotes=function(e,t,i){var r=new o.b;this.endnotesFootnotes.add(t,r),this.endnotesFootnotes.get(t).add(i,e)},e.prototype.serializeEndnotesFootnote=function(e,t){if(0!==this.endnotesFootnotes.length&&this.endnotesFootnotes.containsKey(t))for(var i=this.endnotesFootnotes.get(t),r=void 0,a=0;a<i.keys.length;a++){var s=i.keys[a];r=i.get(s),"endnote"===t?(this.endnotesPath,this.endnotesRelationPath,this.serializeInlineEndnotes(e,r,s)):(this.footnotesPath,this.footnotesRelationPath,this.serializeInlineFootnotes(e,r,s))}},e.prototype.serializeInlineEndnotes=function(e,t,i){this.isSerializeFootEndNote="Endnote",this.endNoteFootnote=t;var r=this.blockOwner;this.blockOwner=t,e.writeStartElement("w","endnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,i),this.serializeBodyItems(e,t,!0),e.writeEndElement(),this.blockOwner=r,this.endNoteFootnote=void 0,this.isSerializeFootEndNote=void 0},e.prototype.serializeInlineFootnotes=function(e,t,i){this.isSerializeFootEndNote="Footnote",this.endNoteFootnote=t;var r=this.blockOwner;this.blockOwner=t,e.writeStartElement("w","footnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,i),this.serializeBodyItems(e,t,!0),e.writeEndElement(),this.blockOwner=r,this.endNoteFootnote=void 0,this.isSerializeFootEndNote=void 0},e.prototype.writeEFCommonAttributes=function(e){e.writeAttributeString("xmlns","wpc",void 0,this.wpCanvasNamespace),e.writeAttributeString("xmlns","cx",void 0,this.cxNamespace),e.writeAttributeString("xmlns","aink",void 0,"http://schemas.microsoft.com/office/drawing/2016/ink"),e.writeAttributeString("xmlns","am3d",void 0,"http://schemas.microsoft.com/office/drawing/2017/,odel3d"),this.writeCustom(e),e.writeAttributeString("xmlns","wp14",void 0,this.wpDrawingNamespace),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeAttributeString("xmlns","w",void 0,this.wNamespace),this.writeDup(e),e.writeAttributeString("xmlns","wne",void 0,this.wneNamespace),e.writeAttributeString("xmlns","wps",void 0,this.wpShapeNamespace),e.writeAttributeString("mc","Ignorable",void 0,"w14 w15")},e.prototype.serializeFootnotes=function(){if(!(0,s.hX)(this.document[h.Tsn[this.keywordIndex]])){var e=new a.Bi;e.writeStartElement("w","footnotes",this.wNamespace),this.writeEFCommonAttributes(e),e.writeStartElement("w","footnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"separator"),e.writeAttributeString(void 0,"id",this.wNamespace,"-1"),this.serializeBodyItems(e,this.document[h.Tsn[this.keywordIndex]][h.jTJ[this.keywordIndex]],!0),e.writeEndElement(),e.writeStartElement("w","footnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"continuationSeparator"),e.writeAttributeString(void 0,"id",this.wNamespace,"0"),this.serializeBodyItems(e,this.document[h.Tsn[this.keywordIndex]][h.WSS[this.keywordIndex]],!0),e.writeEndElement(),this.document[h.Tsn[this.keywordIndex]][h.T8h[this.keywordIndex]]&&(e.writeStartElement("w","footnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"continuationNotice"),e.writeAttributeString(void 0,"id",this.wNamespace,"1"),this.serializeBodyItems(e,this.document[h.Tsn[this.keywordIndex]][h.T8h[this.keywordIndex]],!0),e.writeEndElement()),this.serializeEndnotesFootnote(e,"footnote"),e.writeEndElement();var t=new r.B8(e.buffer,this.footnotesPath);this.mArchive.addItem(t)}},e.prototype.serializeEndnotes=function(){if(!(0,s.hX)(this.document[h.Mo6[this.keywordIndex]])){var e=new a.Bi;e.writeStartElement("w","endnotes",this.wNamespace),this.writeEFCommonAttributes(e),e.writeStartElement("w","endnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"separator"),e.writeAttributeString(void 0,"id",this.wNamespace,"-1"),this.serializeBodyItems(e,this.document[h.Mo6[this.keywordIndex]][h.jTJ[this.keywordIndex]],!0),e.writeEndElement(),e.writeStartElement("w","endnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"continuationSeparator"),e.writeAttributeString(void 0,"id",this.wNamespace,"0"),this.serializeBodyItems(e,this.document[h.Mo6[this.keywordIndex]][h.WSS[this.keywordIndex]],!0),e.writeEndElement(),this.document[h.Mo6[this.keywordIndex]][h.T8h[this.keywordIndex]]&&(e.writeStartElement("w","endnote",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"continuationNotice"),e.writeAttributeString(void 0,"id",this.wNamespace,"1"),this.serializeBodyItems(e,this.document[h.Mo6[this.keywordIndex]][h.T8h[this.keywordIndex]],!0),e.writeEndElement()),this.serializeEndnotesFootnote(e,"endnote"),e.writeEndElement();var t=new r.B8(e.buffer,this.endnotesPath);this.mArchive.addItem(t)}},e.prototype.serializeRevisionEnd=function(e,t,i){if(t.hasOwnProperty(h.PQt[this.keywordIndex]))for(var r=0;r<t[h.PQt[this.keywordIndex]].length;r++){var a=this.retrieveRevision(t[h.PQt[this.keywordIndex]][r]);("Insertion"===a.revisionType||"Deletion"===a.revisionType)&&e.writeEndElement()}},e.prototype.serializeComment=function(e,t){if(1!==this.mComments.length||""!==this.mComments[0].text){0===t[h.ikb[this.keywordIndex]]?e.writeStartElement("w","commentRangeStart",this.wNamespace):1===t[h.ikb[this.keywordIndex]]&&e.writeStartElement("w","commentRangeEnd",this.wNamespace);var i=this.commentId[t[h.Cl$[this.keywordIndex]]];(0,s.hX)(i)&&(i=this.commentId[t[h.Cl$[this.keywordIndex]]]=this.currentCommentId++),e.
1writeAttributeString("w","id",this.wNamespace,i.toString()),e.writeEndElement(),1===t[h.ikb[this.keywordIndex]]&&this.serializeCommentItems(e,i)}},e.prototype.serializeCommentItems=function(e,t){e.writeStartElement("w","r",this.wNamespace),e.writeStartElement("w","commentReference",this.wNamespace),e.writeAttributeString("w","id",this.wNamespace,t.toString()),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeBiDirectionalOverride=function(e,t){e.writeStartElement(void 0,"bdo",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,1==this.keywordIndex?this.getBiDirectionalOverride(t[h.N8M[this.keywordIndex]]).toLowerCase():t[h.N8M[this.keywordIndex]].toLowerCase())},e.prototype.serializeEditRange=function(e,t){t.hasOwnProperty(h.LIW[this.keywordIndex])?e.writeStartElement("w","permEnd",this.wNamespace):(e.writeStartElement("w","permStart",this.wNamespace),t[h.J7t[this.keywordIndex]]&&""!==t[h.J7t[this.keywordIndex]]&&e.writeAttributeString("w","ed",this.wNamespace,t[h.J7t[this.keywordIndex]]),t[h.nFd[this.keywordIndex]]&&""!==t[h.nFd[this.keywordIndex]]&&e.writeAttributeString("w","edGrp",this.wNamespace,t[h.nFd[this.keywordIndex]].toLowerCase()),(0,s.hX)(t[h.u3$[this.keywordIndex]])||-1===t[h.u3$[this.keywordIndex]]||e.writeAttributeString("w","colFirst",this.wNamespace,t[h.u3$[this.keywordIndex]].toString()),(0,s.hX)(t[h._f6[this.keywordIndex]])||-1===t[h._f6[this.keywordIndex]]||e.writeAttributeString("w","colLast",this.wNamespace,t[h._f6[this.keywordIndex]].toString())),e.writeAttributeString("w","id",this.wNamespace,t[h.AUk[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeBookMark=function(e,t){var i=this.getBookmarkId(t[h.RL$[this.keywordIndex]]),r=t[h.RL$[this.keywordIndex]];0===t[h.k$Q[this.keywordIndex]]?(e.writeStartElement("w","bookmarkStart",this.wNamespace),e.writeAttributeString("w","name",this.wNamespace,r),(0,s.hX)(t[h.Vuk[this.keywordIndex]])||(e.writeAttributeString("w","colFirst",this.wNamespace,t[h.Vuk[this.keywordIndex]][h.u3$[this.keywordIndex]].toString()),e.writeAttributeString("w","colLast",this.wNamespace,t[h.Vuk[this.keywordIndex]][h._f6[this.keywordIndex]].toString()))):1===t[h.k$Q[this.keywordIndex]]&&((0,s.hX)(t[h.Vuk[this.keywordIndex]])||this.isBookmarkAtEnd||this.isBookmarkAtRowEnd||(n.LD.parseBoolValue(t[h.Vuk[this.keywordIndex]][h.LvU[this.keywordIndex]])?(e.writeEndElement(),this.isBookmarkAtEnd=!0):n.LD.parseBoolValue(t[h.Vuk[this.keywordIndex]][h.x1y[this.keywordIndex]])&&(e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),this.isBookmarkAtRowEnd=!0)),e.writeStartElement("w","bookmarkEnd",this.wNamespace)),e.writeAttributeString("w","id",this.wNamespace,i.toString()),e.writeEndElement()},e.prototype.getBookmarkId=function(e){var t=this.bookmarks.indexOf(e);return t<0&&(t=this.bookmarks.length,this.bookmarks.push(e)),t},e.prototype.serializePicture=function(e,t){t[h.u5V[this.keywordIndex]]>=0&&t[h.xf2[this.keywordIndex]]>=0&&(e.writeStartElement(void 0,"r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),this.serializeDrawing(e,t),e.writeEndElement())},e.prototype.serializeShape=function(e,t){t[h.u5V[this.keywordIndex]]>=0&&t[h.xf2[this.keywordIndex]]>=0&&(e.writeStartElement(void 0,"r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),t[h.SD5[this.keywordIndex]]>0?this.serializeHorizontalRule(e,t):this.serializeDrawing(e,t),e.writeEndElement())},e.prototype.serializeHorizontalRule=function(e,t){e.writeStartElement(void 0,"pict",this.wNamespace),e.writeStartElement("v","rect",void 0);var i=Math.round(t[h.u5V[this.keywordIndex]]),r=Math.round(t[h.xf2[this.keywordIndex]]);if(e.writeAttributeString(void 0,"style",void 0,"width:"+i.toString()+";height:"+r.toString()),t[h.rMV[this.keywordIndex]]>0){var a=1==this.keywordIndex?this.getShapeHorizontalAlignment(t[h.rMV[this.keywordIndex]]):t[h.rMV[this.keywordIndex]].toString();e.writeAttributeString("o","hralign",void 0,a.toLowerCase())}e.writeAttributeString("o","hrstd",void 0,"t"),e.writeAttributeString("o","hr",void 0,"t"),e.writeAttributeString(void 0,"fillcolor",void 0,this.getColor(t[h.eZy[this.keywordIndex]][h.N64[this.keywordIndex]])),e.writeAttributeString(void 0,"stroked",void 0,"f"),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeDrawing=function(e,t){e.writeStartElement(void 0,"drawing",this.wNamespace),t.hasOwnProperty(h.QoS[this.keywordIndex])?this.serializeInlineCharts(e,t):t[h.Ewx[this.keywordIndex]]===(1==this.keywordIndex?0:"Inline")?this.serializeInlinePictureAndShape(e,t):this.serializeWrappingPictureAndShape(e,t),e.writeEndElement()},e.prototype.serializeWrappingPictureAndShape=function(e,t){(0,s.hX)(this.document.optimizeSfdt)||(this.keywordIndex=+!!this.document.optimizeSfdt),e.writeStartElement("wp","anchor",this.wpNamespace),this.serializePictureAndShapeDistance(e,t),e.writeAttributeString(void 0,"simplePos",void 0,"0"),e.writeAttributeString(void 0,"relativeHeight",void 0,t[h.Ver[this.keywordIndex]]?Math.abs(t[h.Ver[this.keywordIndex]]).toString():"0");var i=t[h.Ewx[this.keywordIndex]]&&t[h.Ewx[this.keywordIndex]]===(1==this.keywordIndex?4:"Behind");e.writeAttributeString(void 0,"behindDoc",void 0,i?"1":"0");var r=1==this.keywordIndex?(0,s.hX)(t[h.uNp[this.keywordIndex]])?"0":t[h.uNp[this.keywordIndex]].toString():t[h.uNp[this.keywordIndex]]?"1":"0";e.writeAttributeString(void 0,"locked",void 0,r);var a=1==this.keywordIndex?(0,s.hX)(t[h.D5Z[this.keywordIndex]])?"0":t[h.D5Z[this.keywordIndex]].toString():t[h.D5Z[this.keywordIndex]]?"1":"0";e.writeAttributeString(void 0,"layoutInCell",void 0,a);var o=1==this.keywordIndex?(0,s.hX)(t[h.IL1[this.keywordIndex]])?"0":t[h.IL1[this.keywordIndex]].toString():t[h.IL1[this.keywordIndex]]?"1":"0";e.writeAttributeString(void 0,"allowOverlap",void 0,o),e.writeStartElement("wp","simplePos",this.wpNamespace),e.writeAttributeString(void 0,"x",void 0,"0"),e.writeAttributeString(void 0,"y",void 0,"0"),e.writeEndElement(),e.writeStartElement("wp","positionH",this.wpNamespace);var d=1==this.keywordIndex?this.getHorizontalOrigin(t[h._JI[this.keywordIndex]]):t[h._JI[this.keywordIndex]].toString();if(e.writeAttributeString(void 0,"relativeFrom",void 0,n.LD.formatText("firstlower",d)),t[h.rMV[this.keywordIndex]]===(1==this.keywordIndex?0:"None")){e.writeStartElement("wp","posOffset",this.wpNamespace);var w=Math.round(t[h.xVu[this.keywordIndex]]*this.emusPerPoint);e.writeString(w.toString()),e.writeEndElement()}else{e.writeStartElement("wp","align",this.wpNamespace);
1var l=1==this.keywordIndex?this.getShapeHorizontalAlignment(t[h.rMV[this.keywordIndex]]):t[h.rMV[this.keywordIndex]].toString();e.writeString(l.toLowerCase()),e.writeEndElement()}e.writeEndElement(),e.writeStartElement("wp","positionV",this.wpNamespace);var c=1==this.keywordIndex?this.getVerticalOrigin(t[h.kTt[this.keywordIndex]]):t[h.kTt[this.keywordIndex]].toString();if(e.writeAttributeString(void 0,"relativeFrom",void 0,n.LD.formatText("firstlower",c)),t[h.x07[this.keywordIndex]]===(1==this.keywordIndex?0:"None")){e.writeStartElement("wp","posOffset",this.wpNamespace);var m=Math.round(t[h.Zib[this.keywordIndex]]*this.emusPerPoint);e.writeString(m.toString()),e.writeEndElement()}else{e.writeStartElement("wp","align",this.wpNamespace);var p=1==this.keywordIndex?this.getShapeVerticalAlignment(t[h.x07[this.keywordIndex]]):t[h.x07[this.keywordIndex]];e.writeString(p.toLowerCase()),e.writeEndElement()}e.writeEndElement(),e.writeStartElement(void 0,"extent",this.wpNamespace);var u=Math.round(t[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,u.toString());var y=Math.round(t[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,y.toString()),e.writeEndElement(),e.writeStartElement(void 0,"effectExtent",this.wpNamespace),e.writeAttributeString(void 0,"l",void 0,"0"),e.writeAttributeString(void 0,"t",void 0,"0"),e.writeAttributeString(void 0,"r",void 0,"0"),e.writeAttributeString(void 0,"b",void 0,"0"),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeEndElement(),(0,s.hX)(t[h.koM[this.keywordIndex]])?(0,s.hX)(t[h.hN2[this.keywordIndex]])?(this.serializeShapeDrawings(e,t),this.serializeShapeDrawingGraphics(e,t)):(this.serializeShapeDrawings(e,t),this.serializeGroupShapeDrawingGraphics(e,t)):(this.serializeShapeWrapStyle(e,t),this.serializeDrawingGraphics(e,t)),e.writeEndElement()},e.prototype.serializeShapeDrawings=function(e,t){this.serializeShapeWrapStyle(e,t),e.writeStartElement("wp","docPr",this.wpNamespace),e.writeAttributeString(void 0,"id",void 0,(this.mDocPrID++).toString()),e.writeAttributeString(void 0,"name",void 0,t[h.RL$[this.keywordIndex]]),e.writeAttributeString(void 0,"title",void 0,t[h.akK[this.keywordIndex]]),e.writeEndElement(),e.writeStartElement("wp","cNvGraphicFramePr",this.wpNamespace),e.writeEndElement(),e.writeStartElement("a","graphic",this.aNamespace),e.writeStartElement("a","graphicData",this.aNamespace),(0,s.hX)(t[h.hN2[this.keywordIndex]])?e.writeAttributeString(void 0,"uri",void 0,this.wpShapeNamespace):e.writeAttributeString(void 0,"uri",void 0,this.wpGroupNamespace)},e.prototype.serializeInlinePictureAndShape=function(e,t){e.writeStartElement(void 0,"inline",this.wpNamespace),this.writeDefaultDistAttribute(e),e.writeStartElement(void 0,"extent",this.wpNamespace);var i=Math.round(t[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,i.toString());var r=Math.round(t[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,r.toString()),e.writeEndElement(),e.writeStartElement(void 0,"effectExtent",this.wpNamespace),e.writeAttributeString(void 0,"l",void 0,"0"),e.writeAttributeString(void 0,"t",void 0,"0"),e.writeAttributeString(void 0,"r",void 0,"0"),e.writeAttributeString(void 0,"b",void 0,"0"),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeEndElement(),(0,s.hX)(t[h.koM[this.keywordIndex]])?(0,s.hX)(t[h.hN2[this.keywordIndex]])?(this.serializeShapeDrawings(e,t),this.serializeShapeDrawingGraphics(e,t)):(this.serializeShapeDrawings(e,t),this.serializeGroupShapeDrawingGraphics(e,t)):(this.serializeShapeWrapStyle(e,t),this.serializeDrawingGraphics(e,t)),e.writeEndElement()},e.prototype.serializePictureAndShapeDistance=function(e,t){var i=t[h.u_3[this.keywordIndex]]?Math.round(t[h.u_3[this.keywordIndex]]*this.emusPerPoint).toString():"0";e.writeAttributeString(void 0,"distT",void 0,i);var r=t[h.kpo[this.keywordIndex]]?Math.round(t[h.kpo[this.keywordIndex]]*this.emusPerPoint).toString():"0";e.writeAttributeString(void 0,"distB",void 0,r);var a=t[h.ggm[this.keywordIndex]]?Math.round(t[h.ggm[this.keywordIndex]]*this.emusPerPoint).toString():"114300";e.writeAttributeString(void 0,"distL",void 0,a);var s=t[h.H35[this.keywordIndex]]?Math.round(t[h.H35[this.keywordIndex]]*this.emusPerPoint).toString():"114300";e.writeAttributeString(void 0,"distR",void 0,s)},e.prototype.writeDefaultDistAttribute=function(e){e.writeAttributeString(void 0,"distT",void 0,"0"),e.writeAttributeString(void 0,"distB",void 0,"0"),e.writeAttributeString(void 0,"distL",void 0,"0"),e.writeAttributeString(void 0,"distR",void 0,"0")},e.prototype.serializeInlineCharts=function(e,t){e.writeStartElement(void 0,"inline",this.wpNamespace),this.writeDefaultDistAttribute(e),e.writeStartElement(void 0,"extent",this.wpNamespace);var i=Math.round(t[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,i.toString());var r=Math.round(t[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,r.toString()),e.writeEndElement(),e.writeStartElement(void 0,"effectExtent",this.wpNamespace),e.writeAttributeString(void 0,"l",void 0,"0"),e.writeAttributeString(void 0,"t",void 0,"0"),e.writeAttributeString(void 0,"r",void 0,"0"),e.writeAttributeString(void 0,"b",void 0,"0"),e.writeEndElement(),this.serializeDrawingGraphicsChart(e,t),e.writeEndElement()},e.prototype.serializeDrawingGraphicsChart=function(e,t){var i="";i=this.updatechartId(t),e.writeStartElement("wp","docPr",this.wpNamespace),e.writeAttributeString(void 0,"id",void 0,(this.mDocPrID++).toString()),e.writeAttributeString(void 0,"name",void 0,this.getNextChartName()),e.writeEndElement(),e.writeStartElement("wp","cNvGraphicFramePr",this.wpNamespace),e.writeEndElement(),e.writeStartElement("a","graphic",this.aNamespace),e.writeStartElement("a","graphicData",this.aNamespace),e.writeAttributeString(void 0,"uri",void 0,this.chartNamespace),e.writeStartElement("c","chart",this.chartNamespace),e.writeAttributeString("xmlns","r",void 0,this.rN
1amespace),e.writeAttributeString("r","id",void 0,i),e.writeEndElement(),e.writeEndElement(),e.writeEndElement()},e.prototype.getBase64ImageString=function(e){var t=(0,s.hX)(e[h.HKM[this.keywordIndex]])?this.mImages.get(parseInt(e[h.koM[this.keywordIndex]])):this.mImages.get(parseInt(e[h.HKM[this.keywordIndex]])),i=t[+!!n.LD.parseBoolValue(e[h.z86[this.keywordIndex]])],r=t[this.startsWith(i,"https://")||this.startsWith(i,"http://")||this.startsWith(i,"file://")?1:0];return{imageString:i,metaFileImageString:r}},e.prototype.getNextChartName=function(){return"Chart"+ ++this.chartCount},e.prototype.serializeChart=function(e,t){e.writeStartElement("w","r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),this.serializeDrawing(e,t),e.writeEndElement()},e.prototype.serializeChartStructure=function(){this.serializeChartXML(),this.serializeChartColors(),this.serializeChartExcelData(),this.serializeChartRelations(),this.chart=void 0,this.saveExcel()},e.prototype.serializeChartXML=function(){var e="",t=new a.Bi;t.writeStartElement("c","chartSpace",this.chartNamespace),t.writeAttributeString("xmlns","a",void 0,this.aNamespace),t.writeAttributeString("xmlns","r",void 0,this.rNamespace),t.writeAttributeString("xmlns","c16r2",void 0,this.c15Namespace),this.serializeChartData(t,this.chart),t.writeStartElement("c","externalData",this.chartNamespace),t.writeAttributeString("r","id",void 0,"rId1"),t.writeStartElement("c","autoUpdate",this.chartNamespace),t.writeAttributeString(void 0,"val",void 0,"0"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),e=this.chartPath+"/chart"+this.chartCount+".xml";var i=new r.B8(t.buffer,e);this.mArchive.addItem(i)},e.prototype.serializeChartColors=function(){var e=new a.Bi,t="";e.writeStartElement("cs","colorStyle",this.csNamespace),e.writeAttributeString("xmlns","a",void 0,this.aNamespace),e.writeAttributeString(void 0,"meth",void 0,"cycle"),e.writeAttributeString(void 0,"id",void 0,"10"),this.serializeChartColor(e),t=this.chartPath+"/colors"+this.chartCount+".xml",e.writeEndElement();var i=new r.B8(e.buffer,t);this.mArchive.addItem(i)},e.prototype.serializeChartColor=function(e){for(var t=1;t<=6;t++)e.writeStartElement("a","schemeClr",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"accent"+t),e.writeEndElement();e.writeStartElement("cs","variation",this.csNamespace),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"60000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"80000"),e.writeEndElement(),e.writeStartElement("a","lumOff",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"20000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"80000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"60000"),e.writeEndElement(),e.writeStartElement("a","lumOff",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"40000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"50000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"70000"),e.writeEndElement(),e.writeStartElement("a","lumOff",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"30000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"70000"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("cs","variation",this.csNamespace),e.writeStartElement("a","lumMod",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"50000"),e.writeEndElement(),e.writeStartElement("a","lumOff",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"50000"),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeChartExcelData=function(){(0,s.hX)(this.excelFiles)&&(this.excelFiles=new o.b),this.mArchiveExcel=new r.SJ,this.mArchiveExcel.compressionLevel="Normal";var e=this.chart[h.QoS[this.keywordIndex]],t="Scatter_Markers"===e||"Bubble"===e;this.serializeWorkBook(),this.serializeSharedString(t),this.serializeExcelContentTypes(),this.serializeExcelData(t),this.serializeExcelStyles(),this.serializeExcelRelation(),this.serializeExcelGeneralRelations(),this.chartStringCount=0},e.prototype.serializeWorkBook=function(){var e=new a.Bi;this.resetExcelRelationShipId(),e.writeStartElement(void 0,"workbook",void 0),e.writeAttributeString("xmlns","r",void 0,this.rN
1amespace),e.writeAttributeString("xmlns",void 0,void 0,this.spreadSheetNamespace),e.writeStartElement(void 0,"sheets",void 0),e.writeStartElement(void 0,"sheet",void 0),e.writeAttributeString(void 0,"name",void 0,"Sheet1"),e.writeAttributeString(void 0,"sheetId",void 0,"1"),e.writeAttributeString("r","id",void 0,this.getNextExcelRelationShipID()),e.writeEndElement(),e.writeEndElement(),e.writeEndElement();var t=new r.B8(e.buffer,"xl/workbook.xml");this.mArchiveExcel.addItem(t)},e.prototype.serializeExcelStyles=function(){var e=new a.Bi;e.writeStartElement(void 0,"styleSheet",void 0),e.writeAttributeString("xmlns","mc",void 0,this.veNamespace),e.writeAttributeString("mc","Ignorable",void 0,"x14ac"),e.writeAttributeString("xmlns","x14ac",void 0,"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"),e.writeAttributeString("xmlns",void 0,void 0,this.spreadSheetNamespace),e.writeEndElement();var t=new r.B8(e.buffer,"xl/styles.xml");this.mArchiveExcel.addItem(t)},e.prototype.serializeExcelData=function(e){var t="",i=new a.Bi;i.writeStartElement(void 0,"worksheet",void 0),i.writeAttributeString("xmlns","r",void 0,this.rNamespace),i.writeAttributeString("xmlns","x14",void 0,this.spreadSheet9),i.writeAttributeString("xmlns","mc",void 0,this.veNamespace),i.writeAttributeString("xmlns",void 0,void 0,this.spreadSheetNamespace),this.serializeExcelSheet(i,e),i.writeEndElement(),t="xl/worksheets/sheet1.xml";var s=new r.B8(i.buffer,t);this.mArchiveExcel.addItem(s)},e.prototype.serializeSharedString=function(e){for(var t=this.chart,i=new a.Bi,s="",n=[],o=this.chart[h.QoS[this.keywordIndex]],d=t[h.Jtp[this.keywordIndex]].length,w=0;w<d;w++){var l=t[h.Jtp[this.keywordIndex]][w],c=l[h.Eq8[this.keywordIndex]].match(/[a-z]/i);e&&0===w&&n.push("X-Values"),c&&(n.push(l[h.Eq8[this.keywordIndex]]),this.chartStringCount++)}"Bubble"===o&&n.push("Size");for(var m=0;m<t[h.WhX[this.keywordIndex]].length;m++){var p=t[h.WhX[this.keywordIndex]][m],u=t[h.ltJ[this.keywordIndex]][h.kg5[this.keywordIndex]],y=p[h.jZw[this.keywordIndex]],c=y.match(/[a-z]/i);(/^(((0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4})|((0[1-9]|1[0-2])\/(0[1-9]|[12][0-9]|3[01])\/\d{4})|((\d{4})\/(0[1-9]|1[0-2])\/(0[1-9]|[12][0-9]|3[01])))/.test(y)||c||"m/d/yyyy"===u)&&(n.push(p[h.jZw[this.keywordIndex]]),this.chartStringCount++)}var g=this.chartStringCount+1;i.writeStartElement(void 0,"sst",void 0),i.writeAttributeString("xmlns",void 0,void 0,this.spreadSheetNamespace),i.writeAttributeString(void 0,"count",void 0,g.toString()),i.writeAttributeString(void 0,"uniqueCount",void 0,g.toString());for(var v=0;v<=n.length;v++)i.writeStartElement(void 0,"si",void 0),i.writeStartElement(void 0,"t",void 0),v!==n.length?i.writeString(n[v]):e||(i.writeAttributeString("xml","space",this.xmlNamespace,"preserve"),i.writeString(" ")),i.writeEndElement(),i.writeEndElement();i.writeEndElement(),s="xl/sharedStrings.xml";var S=new r.B8(i.buffer,s);this.mArchiveExcel.addItem(S)},e.prototype.serializeExcelSheet=function(e,t){var i,r=this.chart,a="s",n="Bubble"===r[h.QoS[this.keywordIndex]],o=r[h.WhX[this.keywordIndex]].length+1,d=r[h.ltJ[this.keywordIndex]][h.kg5[this.keywordIndex]],w=r[h.Jtp[this.keywordIndex]].length+1;n&&(i=w,w+=1);var l=void 0,c=void 0,m=0;e.writeStartElement(void 0,"sheetData",void 0);for(var p=0;p<o;p++){e.writeStartElement(void 0,"row",void 0),e.writeAttributeString(void 0,"r",void 0,(p+1).toString());for(var u=0;u<w;u++){var y=String.fromCharCode(65+u)+(p+1).toString();if(e.writeStartElement(void 0,"c",void 0),e.writeAttributeString(void 0,"r",void 0,y),0!==p&&0===u){var g=(l=r[h.WhX[this.keywordIndex]][p-1])[h.jZw[this.keywordIndex]],v=g.match(/[a-z]/i);a=/^(((0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4})|((0[1-9]|1[0-2])\/(0[1-9]|[12][0-9]|3[01])\/\d{4})|((\d{4})\/(0[1-9]|1[0-2])\/(0[1-9]|[12][0-9]|3[01])))/.test(g)||(0,s.hX)(v)&&"m/d/yyyy"===d?"s":!v||t?"n":"s"}else if(0===p&&0!==u&&u!==i){var v=(c=r[h.Jtp[this.keywordIndex]][u-1])[h.Eq8[this.keywordIndex]].match(/[a-z]/i);a=v?"s":"n"}else a=0===p&&n&&u===i||0===p&&0===u?"s":"n";if(e.writeAttributeString(void 0,"t",void 0,a),e.writeStartElement(void 0,"v",void 0),0!==p||0!==u||t){if("s"===a&&m<this.chartStringCount)e.writeString(m.toString()),m++;else if(0!==p&&"s"!==a&&0===u&&u!==i)e.writeString(l[h.jZw[this.keywordIndex]]);else if(0!==u&&"s"!==a&&0===p&&u!==i)e.writeString(c[h.Eq8[this.keywordIndex]]);else if(0!==p&&0!==u&&u!==i){var S=l[h._Vu[this.keywordIndex]][u-1];if(!(0,s.hX)(S)){var x=S[h.EZM[this.keywordIndex]];e.writeString(x.toString())}}else if(0!==p&&n&&u===i){var S=l[h._Vu[this.keywordIndex]][u-2];if(!(0,s.hX)(S)){var E=S[h.x4o[this.keywordIndex]];e.writeString(E.toString())}}}else e.writeString(this.chartStringCount.toString());e.writeEndElement(),e.writeEndElement(),a=""}e.writeEndElement()}e.writeEndElement()},e.prototype.serializeExcelContentTypes=function(){var e=new a.Bi;e.writeStartElement(void 0,"Types","http://schemas.openxmlformats.org/package/2006/content-types"),this.serializeDefaultContentType(e,"xml",this.xmlContentType),this.serializeDefaultContentType(e,"rels",this.relationContentType),this.serializeOverrideContentType(e,"xl/styles.xml","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"),this.serializeOverrideContentType(e,"xl/workbook.xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"),this.serializeOverrideContentType(e,"xl/sharedStrings.xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"),this.serializeOverrideContentType(e,"xl/worksheets/sheet1.xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"),e.writeEndElement();var t=new r.B8(e.buffer,this.contentTypesPath);this.mArchiveExcel.addItem(t)},e.prototype.serializeExcelRelation=function(){var e=new a.Bi;this.resetExcelRelationShipId(),e.writeStartElement(void 0,"Relationships",this.rpNamespace),this.serializeRelationShip(e,this.getNextExcelRelationShipID(),"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","worksheets/sheet1.xml"),this.serializeRelationShip(e,this.getNextExcelRelationShipID(),this.stylesRelType,"styles.xml"),this.serializeRelationShip(e,this.getNextExcelRelationShipID(),"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings","sharedStrings.xml"),e.writeEndElement();var t=new r.B8(e.buffer,this.excelRelationPath);this.mArchiveExcel.addItem(t)},e.prototype.serializeExcelGeneralRelations=function(){var e=new a.Bi;this.resetExcelRelationShipId(),e.writeStartElement(void 0,"Relationships",this.rpNamespace),this.serializeRelationShip(e,this.getNextExcelRelationShipID(),this.documentRelType,"xl/workbook.xml"),e.writeEndElement();var t=new r.B8(e.buffer,this.generalRelationPath);this.mArchiveExcel.addItem(t)},e.prototype.getNextExcelRelationShipID=function(){return"rId"+ ++this.eRelationShipId},e.prototype.getNextChartRelationShipID=function(){return"rId"+ ++this.cRelationShipId},e.prototype.serializeChartData=function(e,t){e.writeStartElement("c","date1904",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","lang",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"en-US"),e.writeEndElement(),e.writeStartElement("c","roundedCorners",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("mc","AlternateContent",this.veNamespace),e.writeStartElement("mc","Choice",this.veNamespace),e.writeAttributeString("xmlns","c14",void 0,this.c7Namespace),e.writeAttributeString(void 0,"Requires",void 0,"c14"),e.writeStartElement("c14","style",void 0),e.writeAttributeString(void 0,"val",void 0,"102"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("mc","Fallback",this.veNamespace),e.writeStartElement("c","style",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"2"),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("c","chart",this.chartNamespace),(0,s.hX)(this.chart[h.c2l[this.keywordIndex]])||
1(e.writeStartElement("c","title",this.chartNamespace),this.serializeTextProperties(e,this.chart[h.T6O[this.keywordIndex]],this.chart[h.c2l[this.keywordIndex]]),e.writeEndElement()),this.serializeChartPlotArea(e,t),e.writeEndElement(),this.serializeShapeProperties(e,"D9D9D9",!0),e.writeStartElement("c","txPr",this.chartNamespace),e.writeAttributeString("xmlns","c",void 0,this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeAttributeString("xmlns","a",void 0,this.aNamespace),e.writeEndElement(),e.writeStartElement("a","lstStyle",this.aNamespace),e.writeAttributeString("xmlns","a",void 0,this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),e.writeAttributeString("xmlns","a",void 0,this.aNamespace),e.writeStartElement("a","pPr",this.aNamespace),e.writeStartElement("a","defRPr",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","endParaRPr",this.aNamespace),e.writeAttributeString(void 0,"lang",void 0,"en-US"),e.writeEndElement(),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeChartPlotArea=function(e,t){e.writeStartElement("c","autoTitleDeleted",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","plotArea",this.chartNamespace),e.writeStartElement("c","layout",this.chartNamespace),e.writeEndElement();var i=this.chartType(t),r="pieChart"===i||"doughnutChart"===i,a="scatterChart"===i||"bubbleChart"===i;if(e.writeStartElement("c",i,this.chartNamespace),"barChart"===i){var o="";o="Column_Clustered"===t[h.QoS[this.keywordIndex]]||"Column_Stacked"===t[h.QoS[this.keywordIndex]]||"Column_Stacked_100"===t[h.QoS[this.keywordIndex]]?"col":"bar",e.writeStartElement("c","barDir",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,o),e.writeEndElement()}if(!r&&!a){var d=this.chartGrouping(t[h.QoS[this.keywordIndex]]);e.writeStartElement("c","grouping",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,d),e.writeEndElement()}"scatterChart"===i&&(e.writeStartElement("c","scatterStyle",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"marker"),e.writeEndElement()),e.writeStartElement("c","varyColors",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement();for(var w="",l=0;l<t[h.Jtp[this.keywordIndex]].length;l++){var c=t[h.Jtp[this.keywordIndex]][l];this.seriesCount=l,e.writeStartElement("c","ser",this.chartNamespace),e.writeStartElement("c","idx",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,l.toString()),e.writeEndElement(),e.writeStartElement("c","order",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,l.toString()),e.writeEndElement(),e.writeStartElement("c","tx",this.chartNamespace),e.writeStartElement("c","strRef",this.chartNamespace),e.writeStartElement("c","f",this.chartNamespace);var m=String.fromCharCode(66+l);if(w="Sheet1!$"+m,e.writeString(w+"$1"),w=w+"$2:$"+m+"$",e.writeEndElement(),e.writeStartElement("c","strCache",this.chartNamespace),e.writeStartElement("c","ptCount",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"1"),e.writeEndElement(),e.writeStartElement("c","pt",this.chartNamespace),e.writeAttributeString(void 0,"idx",void 0,"0"),e.writeStartElement("c","v",this.chartNamespace),e.writeString(c[h.Eq8[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),"Pie"===t[h.QoS[this.keywordIndex]]||"Doughnut"===t[h.QoS[this.keywordIndex]]||"Column_Stacked"===t[h.QoS[this.keywordIndex]]&&c[h.JbX[this.keywordIndex]].length>1?(this.parseChartDataPoint(e,c),e.writeStartElement("c","explosion",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement()):a||this.parseChartSeriesColor(e,c[h.JbX[this.keywordIndex]],i),"scatterChart"===i){var p=c[h.JbX[this.keywordIndex]][0][h.XJR[this.keywordIndex]][h.J98[this.keywordIndex]];e.writeStartElement("c","marker",this.chartNamespace),e.writeStartElement("c","symbol",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"circle"),e.writeEndElement(),e.writeStartElement("c","size",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"5"),e.writeEndElement(),this.serializeShapeProperties(e,p,!1),e.writeEndElement()}c[h.AHL[this.keywordIndex]]&&this.parseChartDataLabels(e,c[h.AHL[this.keywordIndex]]),c[h.abV[this.keywordIndex]]&&this.parseChartTrendLines(e,c),c[h.Zfq[this.keywordIndex]]&&this.serializeChartErrorBar(e,c),"scatterChart"===i?this.serializeDefaultShapeProperties(e):"bubbleChart"===i&&this.serializeShapeProperties(e,c[h.JbX[this.keywordIndex]][0][h.XJR[this.keywordIndex]][h.J98[this.keywordIndex]],!1);var u="cat",y="strRef",g="strCache";"scatterChart"===i&&(u="xVal",y="numRef",g="numCache"),e.writeStartElement("c",u,this.chartNamespace),e.writeStartElement("c",y,this.chartNamespace),this.serializeChartCategory(e,t,g),e.writeEndElement(),e.writeEndElement(),this.serializeChartValue(e,w,i),e.writeEndElement()}if(e.writeStartElement("c","dLbls",this.chartNamespace),r&&(e.writeStartElement("c","dLblPos",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"bestFit"),e.writeEndElement()),e.writeStartElement("c","showLegendKey",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showVal",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showCatName",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showSerName",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showPercent",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showBubbleSize",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","showLeaderLines",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"1"),e.writeEndElement(),e.writeEndElement(),r){var c=this.chart[h.Jtp[this.keywordIndex]][0],v=0,S=0;c.hasOwnProperty(h.dyS[this.keywordIndex])&&(v=c[h.dyS[this.keywordIndex]]),e.writeStartElement("c","firstSliceAng",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,v.toString()),e.writeEndElement(),"Doughnut"===t[h.QoS[this.keywordIndex]]&&(S=c[h.LeI[this.keywordIndex]],e.
1writeStartElement("c","holeSize",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,S.toString()),e.writeEndElement())}"lineChart"===i||a?"bubbleChart"!==i&&(e.writeStartElement("c","smooth",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement()):(e.writeStartElement("c","gapWidth",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,this.chart[h.Url[this.keywordIndex]].toString()),e.writeEndElement(),e.writeStartElement("c","overlap",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,this.chart[h.Bu8[this.keywordIndex]].toString()),e.writeEndElement()),"bubbleChart"===i&&(e.writeStartElement("c","sizeRepresents",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"area"),e.writeEndElement());var x=this.chart[h.QoS[this.keywordIndex]];r||(e.writeStartElement("c","axId",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"335265000"),e.writeEndElement(),e.writeStartElement("c","axId",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"335263360"),e.writeEndElement()),e.writeEndElement();var E="Column_Stacked_100"===x||"Area_Stacked_100"===x||"Bar_Stacked_100"===x||"Line_Stacked_100"===x||"Line_Markers_Stacked_100"===x,k=this.chart[h.ltJ[this.keywordIndex]][h.OwU[this.keywordIndex]];if(r||(this.serializeCategoryAxis(e,k,E),this.serializeValueAxis(e,k,E)),this.chart.hasOwnProperty(h.CQB[this.keywordIndex])){var I=this.chart[h.CQB[this.keywordIndex]],f=0,b=0,N=0,A=0;n.LD.parseBoolValue(I[h.eKo[this.keywordIndex]])&&(A=1),n.LD.parseBoolValue(I[h.SoG[this.keywordIndex]])&&(f=1),n.LD.parseBoolValue(I[h.Uo_[this.keywordIndex]])&&(b=1),n.LD.parseBoolValue(I[h.Xwy[this.keywordIndex]])&&(N=1),e.writeStartElement("c","dTable",this.chartNamespace),e.writeStartElement("c","showHorzBorder",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,f.toString()),e.writeEndElement(),e.writeStartElement("c","showVertBorder",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,b.toString()),e.writeEndElement(),e.writeStartElement("c","showOutline",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,N.toString()),e.writeEndElement(),e.writeStartElement("c","showKeys",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,A.toString()),e.writeEndElement(),e.writeEndElement()}this.serializeDefaultShapeProperties(e),e.writeEndElement(),(0,s.hX)(this.chart[h.ny2[this.keywordIndex]][h.FDR[this.keywordIndex]])||this.serializeChartLegend(e),e.writeStartElement("c","plotVisOnly",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"1"),e.writeEndElement(),e.writeStartElement("c","dispBlanksAs",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"gap"),e.writeEndElement()},e.prototype.serializeChartLegend=function(e){var t=this.chartLegendPosition(this.chart[h.ny2[this.keywordIndex]]),i=this.chart[h.ny2[this.keywordIndex]][h.T6O[this.keywordIndex]],r=i[h.zQ7[this.keywordIndex]][h.XJR[this.keywordIndex]][h.J98[this.keywordIndex]];e.writeStartElement("c","legend",this.chartNamespace),e.writeStartElement("c","legendPos",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,t),e.writeEndElement(),e.writeStartElement("c","overlay",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),this.serializeDefaultShapeProperties(e),e.writeStartElement("c","txPr",this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","lstStyle",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),this.serializeChartTitleFont(e,i[h.Woy[this.keywordIndex]],r,i[h.Agd[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeChartErrorBar=function(e,t){var i=t[h.Zfq[this.keywordIndex]],r=this.errorBarValueType(i[h.sf$[this.keywordIndex]]),a=0;"Cap"!==i[h.G3k[this.keywordIndex]]&&(a=1),e.writeStartElement("c","errBars",this.chartNamespace),e.writeStartElement("c","errBarType",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,i[h.t$c[this.keywordIndex]].toLowerCase()),e.writeEndElement(),e.writeStartElement("c","errValType",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,r),e.writeEndElement(),e.writeStartElement("c","noEndCap",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("c","val",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,i[h.kVE[this.keywordIndex]].toString()),e.writeEndElement(),this.serializeShapeProperties(e,"595959",!0),e.writeEndElement()},e.prototype.errorBarValueType=function(e){var t="";switch(e){case"StandardError":default:t="stdErr";break;case"StandardDeviation":t="stdDev";break;case"Percentage":t="percentage";break;case"Fixed":t="fixedVal"}return t},e.prototype.serializeCategoryAxis=function(e,t,i){var r="catAx",a=this.chart[h.ltJ[this.keywordIndex]][h.kg5[this.keywordIndex]],s=this.chart[h.QoS[this.keywordIndex]],n="Scatter_Markers"===s||"Bubble"===s;"Time"===t&&(r="dateAx"),n&&(r="valAx"),e.writeStartElement("c",r,this.chartNamespace),e.writeStartElement("c","axId",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"335265000"),e.writeEndElement(),this.serializeAxis(e,"335263360",this.chart[h.ltJ[this.keywordIndex]],a,i),n||(e.writeStartElement("c","auto",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"1"),e.writeEndElement(),e.writeStartElement("c","lblAlgn",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"ctr"),e.writeEndElement(),e.writeStartElement("c","lblOff
1set",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"100"),e.writeEndElement()),"Time"===t?(e.writeStartElement("c","baseTimeUnit",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"days"),e.writeEndElement()):"Bubble"!==this.chart[h.QoS[this.keywordIndex]]&&(e.writeStartElement("c","noMultiLvlLbl",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement()),e.writeEndElement()},e.prototype.serializeValueAxis=function(e,t,i){var r=this.chart[h.ygi[this.keywordIndex]],a="between";"Time"===t&&(a="midCat"),e.writeStartElement("c","valAx",this.chartNamespace),e.writeStartElement("c","axId",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"335263360"),e.writeEndElement(),this.serializeAxis(e,"335265000",r,"General",i),e.writeStartElement("c","crossBetween",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a),e.writeEndElement(),0===r[h.fxC[this.keywordIndex]]||i||r[h.SlD[this.keywordIndex]]||(e.writeStartElement("c","majorUnit",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,r[h.fxC[this.keywordIndex]].toString()),e.writeEndElement()),e.writeEndElement()},e.prototype.serializeAxis=function(e,t,i,r,a){e.writeStartElement("c","scaling",this.chartNamespace),e.writeStartElement("c","orientation",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"minMax"),e.writeEndElement(),0===i[h.PSr[this.keywordIndex]]||a||(e.writeStartElement("c","max",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,i[h.PSr[this.keywordIndex]].toString()),e.writeEndElement(),e.writeStartElement("c","min",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,i[h.P1n[this.keywordIndex]].toString()),e.writeEndElement()),e.writeEndElement(),e.writeStartElement("c","delete",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),e.writeStartElement("c","axPos",this.chartNamespace),"335265000"===t?e.writeAttributeString(void 0,"val",void 0,"l"):e.writeAttributeString(void 0,"val",void 0,"b"),e.writeEndElement(),n.LD.parseBoolValue(i[h.iHy[this.keywordIndex]])&&(e.writeStartElement("c","majorGridlines",this.chartNamespace),this.serializeShapeProperties(e,"D9D9D9",!0),e.writeEndElement()),n.LD.parseBoolValue(i[h.qNO[this.keywordIndex]])&&(e.writeStartElement("c","minorGridlines",this.chartNamespace),this.serializeShapeProperties(e,"F2F2F2",!0),e.writeEndElement()),i[h.c2l[this.keywordIndex]]&&(e.writeStartElement("c","title",this.chartNamespace),this.serializeTextProperties(e,i[h.T6O[this.keywordIndex]],i[h.c2l[this.keywordIndex]]),e.writeEndElement()),e.writeStartElement("c","numFmt",this.chartNamespace),e.writeAttributeString(void 0,"formatCode",void 0,r),e.writeAttributeString(void 0,"sourceLinked",void 0,"1"),e.writeEndElement(),e.writeStartElement("c","majorTickMark",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"none"),e.writeEndElement(),e.writeStartElement("c","minorTickMark",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"none"),e.writeEndElement(),e.writeStartElement("c","tickLblPos",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"nextTo"),e.writeEndElement(),"Bubble"===this.chart[h.QoS[this.keywordIndex]]?this.serializeShapeProperties(e,"BFBFBF",!0):this.serializeDefaultShapeProperties(e),e.writeStartElement("c","txPr",this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),this.serializeChartTitleFont(e,i[h.Woy[this.keywordIndex]],"595959",i[h.Agd[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("c","crossAx",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,t),e.writeEndElement(),e.writeStartElement("c","crosses",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"autoZero"),e.writeEndElement()},e.prototype.parseChartTrendLines=function(e,t){for(var i=0;i<t[h.abV[this.keywordIndex]].length;i++){var r=t[h.abV[this.keywordIndex]][i],a=this.chartTrendLineType(r[h.sf$[this.keywordIndex]]),s=0,o=0;n.LD.parseBoolValue(r[h.a9d[this.keywordIndex]])?o=1:n.LD.parseBoolValue(r[h.nAX[this.keywordIndex]])&&(s=1);var d=t[h.JbX[this.keywordIndex]][i];e.writeStartElement("c","trendline",this.chartNamespace),e.writeStartElement("c","spPr",this.chartNamespace),e.writeStartElement("a","ln",this.aNamespace),e.writeAttributeString(void 0,"w",void 0,"19050"),this.serializeChartSolidFill(e,d[h.XJR[this.keywordIndex]][h.J98[this.keywordIndex]],!1),e.writeStartElement("a","prstDash",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"sysDot"),e.writeEndElement(),e.writeStartElement("a","round",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("c","trendlineType",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a),e.writeEndElement(),e.writeStartElement("c","forward",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,r[h.dFG[this.keywordIndex]].toString()),e.writeEndElement(),e.writeStartElement("c","backward",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,r[h.xSX[this.keywordIndex]].toString()),e.writeEndElement(),"NaN"!==r[h.k1J[this.keywordIndex]]&&(e.writeStartElement("c","intercept",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,r[h.k1J[this.keywordIndex]].toString()),e.writeEndElement()),e.writeStartElement("c","dispRSqr",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,s.toString()),e.writeEndElement(),e.writeStartElement("c","dispEq",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,o.toString()),e.writeEndElement(),e.writeEndElement()}},e.prototype.chartTrendLineType=function(e){var t="";switch(e){case"Linear":t="linear";break;case"Exponential":t="exp"}return t},e.prototype.parseChartDataLabels=function(e,t){var i="",r=t[h.FDR[this.keywordIndex]],a=0,s=0,o=0,d=0,w=0,l=0,c=0;switch(r){case"Center":i="ctr";break;case"Left":i="l";break;case"Right":i="r";break;case"Outside":i="outEnd";break;case"BestFit":i="bestFit";break;case"Bottom":case"OutsideBase":i="inBase";break;case"Inside":i="inEnd";break;case"Above":i="t";break;case"Below":i="b";break;default:i="Automatic"}e.writeStartElement("c","dLbls",this.chartNamespace),this.serializeDefaultShapeProperties(e),e.writeStartElement("c","txPr",this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","lstStyle",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),this.serializeChartTitleFont(e,t[h.Woy[this.keywordIndex]],t[h.w6H[this.keywordIndex]],t[h.Agd[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement(),n.LD.parseBoolValue(t[h.MKA[this.keywordIndex]])?a=1:n.LD.parseBoolValue(t[h.ZrW[this.keywordIndex]])?s=1:n.LD.parseBoolValue(t[h.xb9[this.keywordIndex]])?o=1:n.LD.parseBoolValue(t[h.W9F[this.keywordIndex]])?d=1:n.LD.parseBoolValue(t[h.BBl[this.keywordIndex]])?w=1:n.LD.parseBoolValue(t[h.WeS[this.keywordIndex]])?l=1:n.LD.parseBoolValue(t[h.K5[this.keywordIndex]])&&(c=1),"Automatic"!==i&&(e.writeStartElement("c","dLblPos",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,i),e.writeEndElement()),e.writeStartElement("c","showLegendKey",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("c","showVal",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,w.toString()),e.writeEndElement(),e.writeStartElement("c","showCatName",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,o.toString()),e.writeEndElement(),e.writeStartElement("c","showSerName",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,d.toString()),e.writeEndElement(),e.writeStartElement("c","showPercent",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,l.toString()),e.writeEndElement(),e.writeStartElement("c","showBubbleSize",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,s.toString()),e.writeEndElement(),e.writeStartElement("c","showLeaderLines",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,c.toString()),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeShapeProperties=function(e,t,i){var r=this.chart[h.QoS[this.keywordIndex]];e.writeStartElement("c","spPr",this.chartNamespace),"Scatter_Markers"!==r&&"Bubble"!==r||i?(e.writeStartElement("a","ln",this.aNamespace),e.writeAttributeString(void 0,"w",void 0,"9525"),this.serializeChartSolidFill(e,t,!1),e.writeStartElement("a","prstDash",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"solid"),e.writeEndElement(),e.writeStartElement("a","round",this.aNamespace),e.writeEndElement(),e.writeEndElement()):"Scatter_Markers"===r?(this.serializeChartSolidFill(e,t,!1),this.serializeDefaultLineProperties(e)):"Bubble"===r&&(this.serializeChartSolidFill(e,t,!0),this.serializeDefaultLineProperties(e)),e.writeStartElement("a","effectLst",this.aNamespace),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeDefaultShapeProperties=function(e){e.writeStartElement("c","spPr",this.chartNamespace),e.writeStartElement("a","noFill",this.aNamespace),e.writeEndElement(),this.serializeDefaultLineProperties(e),e.writeStartElement("a","effectLst",this.aNamespace),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeDefaultLineProperties=function(e){e.writeStartElement("a","ln",this.aNamespace),e.writeStartElement("a","noFill",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","round",this.aNamespace),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeTextProperties=function(e,t,i){var r=t[h.zQ7[this.keywordIndex]][h.XJR[this.keywordIndex]][h.J98[this.keywordIndex]],a=100*t[h.Woy[this.keywordIndex]];e.writeStartElement("c","tx",this.chartNamespace),e.writeStartElement("c","rich",this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeAttributeString(void 0,"rot",void 0,"0"),e.writeAttributeString(void 0,"vert",void 0,"horz"),e.writeEndElement(),e.writeStartElement("a","lstStyle",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),this.serializeChartTitleFont(e,t[h.Woy[this.keywordIndex]],r,t[h.Agd[this.keywordIndex]]),e.writeStartElement("a","r",this.aNamespace),e.writeStartElement("a","rPr",this.aNamespace),e.writeAttributeString(void 0,"lang",void 0,"en-US"),e.writeAttributeString(void 0,"b",void 0,"0"),e.writeAttributeString(void 0,"sz",void 0,this.roundToTwoDecimal(a).toString()),e.writeAttributeString(void 0,"baseline",void 0,"0"),this.serializeChartSolidFill(e,r,!1),this.serializeFont(e,t[h.Agd[this.keywordIndex]]),e.writeEndElement(),e.writeStartElement("a","t",this.aNamespace),e.writeString(i),e.
1writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("c","layout",this.chartNamespace),e.writeEndElement(),e.writeStartElement("c","overlay",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),this.serializeDefaultShapeProperties(e),e.writeStartElement("c","txPr",this.chartNamespace),e.writeStartElement("a","bodyPr",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","lstStyle",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","p",this.aNamespace),e.writeEndElement(),this.serializeChartTitleFont(e,t[h.Woy[this.keywordIndex]],r,t[h.Agd[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeChartTitleFont=function(e,t,i,r){e.writeStartElement("a","pPr",this.aNamespace),e.writeStartElement("a","defRPr",this.aNamespace),e.writeAttributeString(void 0,"lang",void 0,"en-US"),e.writeAttributeString(void 0,"b",void 0,"0"),e.writeAttributeString(void 0,"sz",void 0,this.roundToTwoDecimal(100*t).toString()),e.writeAttributeString(void 0,"baseline",void 0,"0"),this.serializeChartSolidFill(e,i,!1),this.serializeFont(e,r),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeChartSolidFill=function(e,t,i){e.writeStartElement("a","solidFill",this.aNamespace),e.writeStartElement("a","srgbClr",this.aNamespace),"000000"!==t?e.writeAttributeString(void 0,"val",void 0,t):e.writeAttributeString(void 0,"val",void 0,"595959"),"Bubble"===this.chart[h.QoS[this.keywordIndex]]&&i&&(e.writeStartElement("a","alpha",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,"75000"),e.writeEndElement()),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeFont=function(e,t){e.writeStartElement("a","latin",this.aNamespace),e.writeAttributeString(void 0,"typeface",void 0,t),e.writeEndElement(),e.writeStartElement("a","ea",this.aNamespace),e.writeAttributeString(void 0,"typeface",void 0,t),e.writeEndElement(),e.writeStartElement("a","cs",this.aNamespace),e.writeAttributeString(void 0,"typeface",void 0,t),e.writeEndElement()},e.prototype.parseChartSeriesColor=function(e,t,i){for(var r=0;r<t.length;r++){var a=t[r];if(e.writeStartElement("c","spPr",this.chartNamespace),"lineChart"===i&&(e.writeStartElement("a","ln",this.aNamespace),e.writeAttributeString(void 0,"w",void 0,"28575"),e.writeAttributeString(void 0,"cap",void 0,"rnd")),"lineChart"!==i?this.serializeChartSolidFill(e,this.getColor(a[h.XJR[this.keywordIndex]][h.VKB[this.keywordIndex]]),!0):this.serializeChartSolidFill(e,a[h.O$n[this.keywordIndex]][h.N64[this.keywordIndex]],!0),"lineChart"!==i&&(e.writeStartElement("a","ln",this.aNamespace),e.writeStartElement("a","noFill",this.aNamespace),e.writeEndElement()),e.writeStartElement("a","round",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","effectLst",this.aNamespace),e.writeEndElement(),e.writeEndElement(),"lineChart"===i){var s="none",n=0;this.chart[h.Jtp[this.keywordIndex]][r].hasOwnProperty(h.ckl[this.keywordIndex])&&(s=this.chart[h.Jtp[this.keywordIndex]][r][h.ckl[this.keywordIndex]][h.Lvu[this.keywordIndex]],n=this.chart[h.Jtp[this.keywordIndex]][r][h.ckl[this.keywordIndex]][h.$AM[this.keywordIndex]]),e.writeStartElement("c","marker",this.chartNamespace),e.writeStartElement("c","symbol",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,s.toLowerCase()),e.writeEndElement(),this.chart[h.Jtp[this.keywordIndex]][r].hasOwnProperty(h.ckl[this.keywordIndex])&&(e.writeStartElement("c","size",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,n.toString()),e.writeEndElement()),e.writeEndElement()}}},e.prototype.parseChartDataPoint=function(e,t){for(var i=t[h.JbX[this.keywordIndex]],r=[],a=0;a<i.length;a++)r.push(i[a]),e.writeStartElement("c","dPt",this.chartNamespace),e.writeStartElement("c","idx",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("c","bubble3D",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement(),this.parseChartSeriesColor(e,r,this.chart[h.QoS[this.keywordIndex]]),e.writeEndElement(),r=[]},e.prototype.serializeChartCategory=function(e,t,i){var r=t[h.WhX[this.keywordIndex]],a=r.length;e.writeStartElement("c","f",this.chartNamespace),e.writeString("Sheet1!$A$2:$A$"+(a+1).toString()),e.writeEndElement(),e.writeStartElement("c",i,this.chartNamespace),"numCache"===i&&(e.writeStartElement("c","formatCode",this.chartNamespace),e.writeString("General"),e.writeEndElement()),e.writeStartElement("c","ptCount",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a.toString()),e.writeEndElement();for(var s=0;s<r.length;s++){var n=r[s];e.writeStartElement("c","pt",this.chartNamespace),e.writeAttributeString(void 0,"idx",void 0,s.toString()),e.writeStartElement("c","v",this.chartNamespace),""!==n[h.jZw[this.keywordIndex]]&&e.writeString(n[h.jZw[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement()}e.writeEndElement()},e.prototype.serializeChartValue=function(e,t,i){var r="val";("scatterChart"===i||"bubbleChart"===i)&&(r="yVal"),this.serializeChartYValue(e,r,t),"bubbleChart"===i&&(r="bubbleSize",t="Sheet1!$C$2:$C$",this.serializeChartYValue(e,r,t)),("lineChart"===i||"scatterChart"===i)&&(e.writeStartElement("c","smooth",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,"0"),e.writeEndElement())},e.prototype.serializeChartYValue=function(e,t,i){var r=this.chart[h.WhX[this.keywordIndex]],a=r.length;e.writeStartElement("c",t,this.chartNamespace),e.writeStartElement("c","numRef",this.chartNamespace),e.writeStartElement("c","f",this.chartNamespace),e.writeString(i+(a+1).toString()),e.writeEndElement(),e.writeStartElement("c","numCache",this.chartNamespace),e.writeStartElement("c","formatCode",this.chartNamespace),e.writeString("General"),e.writeEndElement(),e.writeStartElement("c","ptCount",this.chartNamespace),e.writeAttributeString(void 0,"val",void 0,a.toString()),e.writeEndElement();for(var s=0;s<a;s++)for(var n=r[s],o=0;o<n[h._Vu[this.keywordIndex]].length;o++)if(o===this.seriesCount){var d=n[h._Vu[this.keywordIndex]][this.seriesCount];e.writeStartElement("c","pt",this.chartNamespace),e.writeAttributeString(void 0,"idx",void 0,s.toString()),e.writeStartElement("c","v",this.chartNamespace),"bubbleSize"!==t?e.writeString(d[h.EZ
1M[this.keywordIndex]].toString()):e.writeString(d[h.x4o[this.keywordIndex]].toString()),e.writeEndElement(),e.writeEndElement()}e.writeEndElement(),e.writeEndElement(),e.writeEndElement()},e.prototype.chartType=function(e){var t=e[h.QoS[this.keywordIndex]];switch(t){case"Pie":t="pieChart";break;case"Doughnut":t="doughnutChart";break;case"Scatter_Markers":t="scatterChart";break;case"Bubble":t="bubbleChart"}return("Area"===t||"Area_Stacked"===t||"Area_Stacked_100"===t)&&(t="areaChart"),("Bar_Stacked_100"===t||"Bar_Stacked"===t||"Bar_Clustered"===t||"Column_Clustered"===t||"Column_Stacked"===t||"Column_Stacked_100"===t)&&(t="barChart"),("Line"===t||"Line_Markers"===t||"Line_Markers_Stacked"===t||"Line_Stacked"===t||"Line_Markers_Stacked_100"===t||"Line_Stacked_100"===t)&&(t="lineChart"),t},e.prototype.chartGrouping=function(e){var t="standard";return"Bar_Stacked"===e||"Column_Stacked"===e||"Area_Stacked"===e||"Line_Stacked"===e||"Line_Markers_Stacked"===e?t="stacked":"Bar_Stacked_100"===e||"Column_Stacked_100"===e||"Area_Stacked_100"===e||"Line_Stacked_100"===e||"Line_Markers_Stacked_100"===e?t="percentStacked":("Bar_Clustered"===e||"Column_Clustered"===e)&&(t="clustered"),t},e.prototype.chartLegendPosition=function(e){var t=e[h.FDR[this.keywordIndex]];switch(t){case"Top":t="t";break;case"Bottom":default:t="b";break;case"Left":t="l";break;case"Right":t="r";break;case"Corner":t="tr"}return t},e.prototype.updatechartId=function(e){var t="";return""===t&&(t=this.addChartRelation(this.documentCharts,e)),t},e.prototype.addChartRelation=function(e,t){var i="";return i=this.getNextRelationShipID(),e.add(i,t),i},e.prototype.startsWith=function(e,t){return t.length>0&&e.substring(0,t.length)===t},e.prototype.serializeGroupShapeDrawingGraphics=function(e,t,i){i?e.writeStartElement("wpg","grpSp",this.wpGroupNamespace):e.writeStartElement("wpg","wgp",this.wpGroupNamespace),e.writeStartElement("wpg","cNvGrpSpPr",this.wpGroupNamespace),e.writeEndElement(),e.writeStartElement("wpg","grpSpPr",this.wpGroupNamespace),e.writeStartElement("a","xfrm",this.aNamespace),e.writeStartElement("a","off",this.aNamespace);var r=0,a=0;i?(r=Math.round(t[h.NDH[this.keywordIndex]]*this.emusPerPoint),a=Math.round(t[h.ev3[this.keywordIndex]]*this.emusPerPoint)):(r=Math.round(t.x*this.emusPerPoint),a=Math.round(t.y*this.emusPerPoint)),e.writeAttributeString(void 0,"x",void 0,r.toString()),e.writeAttributeString(void 0,"y",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("a","ext",this.aNamespace);var s=Math.round(t[h.u5V[this.keywordIndex]]*t[h.eH7[this.keywordIndex]]/100*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,s.toString());var n=Math.round(t[h.xf2[this.keywordIndex]]*t[h.$v[this.keywordIndex]]/100*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,n.toString()),e.writeEndElement(),e.writeStartElement("a","chOff",this.aNamespace),r=Math.round(t.x*this.emusPerPoint),a=Math.round(t.y*this.emusPerPoint),e.writeAttributeString(void 0,"x",void 0,r.toString()),e.writeAttributeString(void 0,"y",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("a","chExt",this.aNamespace),s=Math.round(t[h.EtO[this.keywordIndex]]*this.emusPerPoint),e.writeAttributeString(void 0,"cx",void 0,s.toString()),n=Math.round(t[h.FUt[this.keywordIndex]]*this.emusPerPoint),e.writeAttributeString(void 0,"cy",void 0,n.toString()),e.writeEndElement(),e.writeEndElement(),e.writeEndElement();for(var o=t[h.hN2[this.keywordIndex]],d=0;d<o.length;d++){var w=this.paragraph;o[d].hasOwnProperty(h.hN2[this.keywordIndex])?this.serializeGroupShapeDrawingGraphics(e,o[d],!0):o[d].hasOwnProperty(h.w4j[this.keywordIndex])?this.serializeShapeDrawingGraphics(e,o[d],!0):o[d].hasOwnProperty(h.QoS[this.keywordIndex])?this.serializeChildChart(e,o[d]):o[d].hasOwnProperty(h.koM[this.keywordIndex])&&this.serializeDrawingGraphics(e,o[d],!0),this.paragraph=w}e.writeEndElement(),i||(e.writeEndElement(),e.writeEndElement())},e.prototype.serializeShapeDrawingGraphics=function(e,t,i){var r=t[h.w4j[this.keywordIndex]];if(e.writeStartElement("wps","wsp",this.wpShapeNamespace),i){e.writeStartElement("wps","cNvPr",this.wpShapeNamespace);var a=t[h.was[this.keywordIndex]],o=t[h.RL$[this.keywordIndex]];e.writeAttributeString(void 0,"id",void 0,a.toString()),e.writeAttributeString(void 0,"name",void 0,o.toString()),e.writeEndElement()}if(e.writeStartElement("wps","cNvCnPr",this.wpShapeNamespace),e.writeStartElement("a","cxnSpLocks",this.aNamespace),e.writeAttributeString(void 0,"noChangeShapeType",void 0,"1"),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("wps","spPr",this.wpShapeNamespace),e.writeAttributeString(void 0,"b
1wMode",void 0,"auto"),e.writeStartElement("a","xfrm",this.aNamespace),e.writeStartElement("a","off",this.aNamespace),i){var d=Math.round(t.x*this.emusPerPoint),w=Math.round(t.y*this.emusPerPoint);e.writeAttributeString(void 0,"x",void 0,d.toString()),e.writeAttributeString(void 0,"y",void 0,w.toString())}else e.writeAttributeString(void 0,"x",void 0,"0"),e.writeAttributeString(void 0,"y",void 0,"0");e.writeEndElement(),e.writeStartElement("a","ext",this.aNamespace);var l=Math.round(t[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,l.toString());var c=Math.round(t[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,c.toString()),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","prstGeom",this.aNamespace),r===(1==this.keywordIndex?3:"StraightConnector")?e.writeAttributeString(void 0,"prst",void 0,"straightConnector1"):r===(1==this.keywordIndex?2:"RoundedRectangle")?e.writeAttributeString(void 0,"prst",void 0,"roundRect"):"number"!=typeof r?e.writeAttributeString(void 0,"prst",void 0,this.getExportAutoShapeType(this.getAutoShapeTypeEnumValue(r))):e.writeAttributeString(void 0,"prst",void 0,this.getExportAutoShapeType(r)),e.writeStartElement("a","avLst",this.aNamespace),e.writeEndElement(),e.writeEndElement(),t[h.eZy[this.keywordIndex]]&&t[h.eZy[this.keywordIndex]][h.N64[this.keywordIndex]]&&n.LD.parseBoolValue(t[h.eZy[this.keywordIndex]][h.XJR[this.keywordIndex]])?(e.writeStartElement("a","solidFill",this.aNamespace),e.writeStartElement("a","srgbClr",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,this.getColor(t[h.eZy[this.keywordIndex]][h.N64[this.keywordIndex]])),e.writeEndElement()):e.writeStartElement("a","noFill",this.aNamespace),e.writeEndElement();var m=t[h.$Hn[this.keywordIndex]][h.OwH[this.keywordIndex]]?t[h.$Hn[this.keywordIndex]][h.OwH[this.keywordIndex]]*this.emusPerPoint:this.emusPerPoint;if(e.writeStartElement("a","ln",this.aNamespace),e.writeAttributeString(void 0,"w",void 0,Math.round(m).toString()),!(0,s.hX)(t[h.$Hn[this.keywordIndex]][h.FgB[this.keywordIndex]])&&t[h.$Hn[this.keywordIndex]][h.FgB[this.keywordIndex]]!==(1==this.keywordIndex?3:"None")&&n.LD.parseBoolValue(t[h.$Hn[this.keywordIndex]][h.O$n[this.keywordIndex]])?(e.writeStartElement("a","solidFill",this.aNamespace),e.writeStartElement("a","srgbClr",this.aNamespace),e.writeAttributeString(void 0,"val",void 0,this.getColor(t[h.$Hn[this.keywordIndex]][h.N64[this.keywordIndex]])),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","round",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","headEnd",this.aNamespace),e.writeEndElement(),e.writeStartElement("a","tailEnd",this.aNamespace)):e.writeStartElement("a","noFill",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),(r===(1==this.keywordIndex?1:"Rectangle")||r===(1==this.keywordIndex?2:"RoundedRectangle"))&&(e.writeStartElement("wps","txbx",this.wpShapeNamespace),e.writeStartElement(void 0,"txbxContent",this.wNamespace),this.serializeBodyItems(e,t[h.ap$[this.keywordIndex]][h.u3O[this.keywordIndex]],!0),e.writeEndElement(),e.writeEndElement()),e.writeStartElement("wps","bodyPr",this.wpShapeNamespace),!(0,s.hX)(t[h.ap$[this.keywordIndex]])){var p=void 0;if(t[h.ap$[this.keywordIndex]][h.FJj[this.keywordIndex]]>=0&&(p=Math.round(t[h.ap$[this.keywordIndex]][h.FJj[this.keywordIndex]]*this.emusPerPoint).toString(),e.writeAttributeString(void 0,"lIns",void 0,p)),t[h.ap$[this.keywordIndex]][h.PkB[this.keywordIndex]]>=0&&(p=Math.round(t[h.ap$[this.keywordIndex]][h.PkB[this.keywordIndex]]*this.emusPerPoint).toString(),e.writeAttributeString(void 0,"tIns",void 0,p)),t[h.ap$[this.keywordIndex]][h.wW3[this.keywordIndex]]>=0&&(p=Math.round(t[h.ap$[this.keywordIndex]][h.wW3[this.keywordIndex]]*this.emusPerPoint).toString(),e.writeAttributeString(void 0,"rIns",void 0,p)),t[h.ap$[this.keywordIndex]][h.fRV[this.keywordIndex]]>=0&&(p=Math.round(t[h.ap$[this.keywordIndex]][h.fRV[this.keywordIndex]]*this.emusPerPoint).toString(),e.writeAttributeString(void 0,"bIns",void 0,p)),t[h.ap$[this.keywordIndex]][h.Evz[this.keywordIndex]]){var u=void 0;u=1==this.keywordIndex?n.LD.getTextVerticalAlignment(t[h.ap$[this.keywordIndex]][h.Evz[this.keywordIndex]]).toString().toLowerCase():t[h.ap$[this.keywordIndex]][h.Evz[this.keywordIndex]].toString().toLowerCase(),e.writeAttributeString(void 0,"anchor",void 0,this.getTextVerticalAlignmentProperty(u))}e.writeAttributeString(void 0,"anchorCtr",void 0,"0")}e.writeEndElement(),e.writeEndElement(),i||(e.writeEndElement(),e.writeEndElement())}
1,e.prototype.serializeChildChart=function(e,t){this.chart=t;var i="";i=this.updatechartId(this.chart),e.writeStartElement("wpg","graphicFrame",this.wpGroupNamespace),e.writeStartElement("wpg","cNvPr",this.wpGroupNamespace),e.writeAttributeString(void 0,"id",void 0,(this.mDocPrID++).toString()),e.writeAttributeString(void 0,"name",void 0,this.getNextChartName()),e.writeEndElement(),e.writeStartElement("wpg","cNvFrPr",this.wpNamespace),e.writeEndElement(),e.writeStartElement("wpg","xfrm",this.wpGroupNamespace),e.writeStartElement("a","off",this.aNamespace);var r=Math.round(this.chart.x*this.emusPerPoint),a=Math.round(this.chart.y*this.emusPerPoint);e.writeAttributeString(void 0,"x",void 0,r.toString()),e.writeAttributeString(void 0,"y",void 0,a.toString()),e.writeEndElement(),e.writeStartElement("a","ext",this.aNamespace);var s=Math.round(this.chart[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,s.toString());var n=Math.round(this.chart[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,n.toString()),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","graphic",this.aNamespace),e.writeStartElement("a","graphicData",this.aNamespace),e.writeAttributeString(void 0,"uri",void 0,this.chartNamespace),e.writeStartElement("c","chart",this.chartNamespace),e.writeAttributeString("xmlns","c",void 0,this.chartNamespace),e.writeAttributeString("xmlns","r",void 0,this.rNamespace),e.writeAttributeString("r","id",void 0,i),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),this.serializeChartStructure()},e.prototype.getTextVerticalAlignmentProperty=function(e){switch(e){case"top":return"t";case"middle":case"center":return"ctr";case"bottom":return"b";default:return e}},e.prototype.serializeShapeWrapStyle=function(e,t){var i=1==this.keywordIndex?this.getTextWrappingStyle(t[h.Ewx[this.keywordIndex]]):t[h.Ewx[this.keywordIndex]];if("Inline"!==i){var r="wrapNone";if(i&&"InFrontOfText"!==i&&"Behind"!==i&&(r="wrap"+i,"Tight"===i&&(r="wrapSquare")),e.writeStartElement("wp",r,this.wpNamespace),i&&"InFrontOfText"!==i&&"Behind"!==i&&!(0,s.hX)(t[h.ro2[this.keywordIndex]])){var a=1==this.keywordIndex?this.getTextWrappingType(t[h.ro2[this.keywordIndex]]):"Both"===t[h.ro2[this.keywordIndex]]?"bothSides":t[h.ro2[this.keywordIndex]].toLowerCase();e.writeAttributeString(void 0,"wrapText",void 0,a)}e.writeEndElement()}},e.prototype.serializeDrawingGraphics=function(e,t,i){var r,a="",o=this.getBase64ImageString(t),d=o.imageString;if(n.LD.parseBoolValue(t[h.z86[this.keywordIndex]])&&".svg"!==(r=n.LD.formatClippedString(o.metaFileImageString).extension)&&(d=o.metaFileImageString),a=this.updateShapeId(t,!1),i||(e.writeStartElement("wp","docPr",this.wpNamespace),e.writeAttributeString(void 0,"id",void 0,(this.mDocPrID++).toString()),(0,s.hX)(t[h.gMY[this.keywordIndex]])||e.writeAttributeString(void 0,"descr",void 0,t[h.gMY[this.keywordIndex]]),e.writeAttributeString(void 0,"name",void 0,(0,s.hX)(t[h.RL$[this.keywordIndex]])?"":t[h.RL$[this.keywordIndex]]),(0,s.hX)(t[h.akK[this.keywordIndex]])||e.writeAttributeString(void 0,"title",void 0,t[h.akK[this.keywordIndex]]),e.writeEndElement()),i||(e.writeStartElement("a","graphic",this.aNamespace),e.writeStartElement("a","graphicData",this.aNamespace),e.writeAttributeString(void 0,"uri",void 0,this.pictureNamespace)),e.writeStartElement("pic","pic",this.pictureNamespace),e.writeStartElement("pic","nvPicPr",this.pictureNamespace),e.writeStartElement("pic","cNvPr",this.pictureNamespace),e.writeAttributeString(void 0,"id",void 0,"0"),e.writeAttributeString(void 0,"name",void 0,""),e.writeAttributeString(void 0,"descr",void 0,""),e.writeEndElement(),e.writeStartElement("pic","cNvPicPr",this.pictureNamespace),e.writeStartElement("a","picLocks",this.aNamespace),e.writeAttributeString(void 0,"noChangeAspect",void 0,"1"),e.writeAttributeString(void 0,"noChangeArrowheads",void 0,"1"),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("pic","blipFill",this.pictureNamespace),e.writeStartElement("a","blip",this.aNamespace),this.startsWith(d,"data:image"))e.writeAttributeString("r","embed",this.rNamespace,a);else if(this.documentImages.containsKey(a)&&(this.documentImages.remove(a),this.externalImages.add(a,d),e.writeAttributeString(void 0,"link",this.rNamespace,a),!(0,s.hX)(o.metaFileImageString)&&(!t.hasOwnProperty(h.K_M[this.keywordIndex])||n.LD.parseBoolValue(t[h.K_M[this.keywordIndex]]))&&(this.startsWith(d,"https://")||this.startsWith(d,"http://")||this.startsWith(d,"file://")))){var w=this.getNextRelationShipID();this.documentImages.add(w,o.metaFileImageString),e.writeAttributeString("r","embed",this.rNamespace,w)}if(".svg"===r&&this.serializeBlipExtensions(e,t),e.writeEndElement(),!(0,s.hX)(t[h.xOy[this.keywordIndex]])&&0!==t[h.xOy[this.keywordIndex]]||!(0,s.hX)(t[h.HAU[this.keywordIndex]])&&0!==t[h.HAU[this.keywordIndex]]||!(0,s.hX)(t[h.pkW[this.keywordIndex]])&&0!==t[h.pkW[this.keywordIndex]]||!(0,s.hX)(t[h.E$6[this.keywordIndex]])&&0!==t[h.E$6[this.keywordIndex]]){e.writeStartElement("a","srcRect",this.aNamespace);var l=Math.round(1e3*t[h.pkW[this.keywordIndex]]);e.writeAttributeString(void 0,"l",void 0,l.toString());var c=Math.round(1e3*t[h.xOy[this.keywordIndex]]);e.writeAttributeString(void 0,"t",void 0,c.toString());var m=Math.round(1e3*t[h.E$6[this.keywordIndex]]);e.writeAttributeString(void 0,"r",void 0,m.toString());var p=Math.round(1e3*t[h.HAU[this.keywordIndex]]);e.writeAttributeString(void 0,"b",void 0,p.toString()),e.writeEndElement()}if(e.writeStartElement("a","stretch",this.aNamespace),e.writeStartElement("a","fillRect",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("pic","spPr",this.pictureNamespace),e.writeAttributeString(void 0,"b
1wMode",void 0,"auto"),e.writeStartElement("a","xfrm",this.aNamespace),e.writeStartElement("a","off",this.aNamespace),i){var u=Math.round(t.x*this.emusPerPoint),y=Math.round(t.y*this.emusPerPoint);e.writeAttributeString(void 0,"x",void 0,u.toString()),e.writeAttributeString(void 0,"y",void 0,y.toString())}else e.writeAttributeString(void 0,"x",void 0,"0"),e.writeAttributeString(void 0,"y",void 0,"0");e.writeEndElement(),e.writeStartElement("a","ext",this.aNamespace);var g=Math.round(t[h.u5V[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cx",void 0,g.toString());var v=Math.round(t[h.xf2[this.keywordIndex]]*this.emusPerPoint);e.writeAttributeString(void 0,"cy",void 0,v.toString()),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("a","prstGeom",this.aNamespace),e.writeAttributeString(void 0,"prst",void 0,"rect"),e.writeStartElement("a","avLst",this.aNamespace),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),e.writeEndElement(),i||(e.writeEndElement(),e.writeEndElement())},e.prototype.serializeBlipExtensions=function(e,t){e.writeStartElement("a","extLst",this.aNamespace),e.writeStartElement("a","ext",this.aNamespace),e.writeAttributeString(void 0,"uri",void 0,"{96DAC541-7B7A-43D3-8B79-37D633B846F1}"),e.writeStartElement("asvg","svgBlip",this.svgNamespace);var i=this.updateShapeId(t,!0);e.writeAttributeString("r","embed",void 0,i),e.writeEndElement(),e.writeEndElement(),e.writeEndElement()},e.prototype.updateShapeId=function(e,t){var i="",r=this.paragraph;return this.headerFooter?i=this.updateHFImageRels(this.headerFooter,e,t):""===i&&(r.hasOwnProperty(h.Kbh[this.keywordIndex])||r.hasOwnProperty(h.K2P[this.keywordIndex]))&&(i=this.addImageRelation(t?this.svgImages:this.documentImages,e,t)),i},e.prototype.addImageRelation=function(e,t,i){var r="";return(i?this.svgImageRelationIds.keys.indexOf(parseInt(t[h.koM[this.keywordIndex]])):this.imageRelationIds.keys.indexOf(parseInt(t[h.koM[this.keywordIndex]])))<0||this.isHeaderFooter?(r=this.getNextRelationShipID(),i?this.svgImageRelationIds.add(parseInt(t[h.koM[this.keywordIndex]]),r):this.imageRelationIds.add(parseInt(t[h.koM[this.keywordIndex]]),r)):r=i?this.svgImageRelationIds.get(parseInt(t[h.koM[this.keywordIndex]])):this.imageRelationIds.get(parseInt(t[h.koM[this.keywordIndex]])),e.add(r,t),r},e.prototype.updateHFImageRels=function(e,t,i){for(var r="",a="",s=this.headersFooters.keys,n=0;n<s.length;n++)for(var d=this.headersFooters.get(s[n]),h=d.keys,w=0;w<h.length;w++)if(d.get(h[w])===e){a=h[w];var l=void 0;i?this.headerFooterSvgImages.containsKey(a)?(l=this.headerFooterSvgImages.get(a),r=this.addImageRelation(l,t,!0)):(l=new o.b,r=this.addImageRelation(l,t,!0),this.headerFooterSvgImages.add(a,l)):this.headerFooterImages.containsKey(a)?(l=this.headerFooterImages.get(a),r=this.addImageRelation(l,t,!1)):(l=new o.b,r=this.addImageRelation(l,t,!1),this.headerFooterImages.add(a,l))}return r},e.prototype.serializeTable=function(e,t){if((0,s.hX)(this.keywordIndex)&&(this.keywordIndex=0),!(t[h.fDI[this.keywordIndex]].length<=0)){var i=this.table;this.table=t,e.writeStartElement(void 0,"tbl",this.wNamespace);var r=t[h.fDI[this.keywordIndex]][0][h.rfM[this.keywordIndex]];this.serializeTableFormat(e,r,t),this.serializeTableGrid(e,t);var a=new o.b,n=new o.b,d=new o.b,w=t[h.fDI[this.keywordIndex]];if(w.length>0)for(var l=0;l<w.length;l++){var c=w[l];if(c[h.pzy[this.keywordIndex]].length>0){if(c.hasOwnProperty(h.F7o[this.keywordIndex])){this.serializeContentControl(e,c[h.F7o[this.keywordIndex]],c);continue}var m=this.row;this.row=c,e.writeStartElement(void 0,"tr",this.wNamespace),this.serializeRowFormat(e,c);for(var p=c[h.pzy[this.keywordIndex]],u=p.length,y=0,g=0;g<u;g++){var v=p[g],S=v[h.YvS[this.keywordIndex]];if(v.hasOwnProperty(h.F7o[this.keywordIndex])){this.serializeContentControl(e,v[h.F7o[this.keywordIndex]],v);continue}var x=v[h.Vre[this.keywordIndex]];if(S-y>0){for(var E=0===g?0:y+1,k=E;k<S;k++)if(a.containsKey(k)){var I=this.getMergeCellFormat(x,d.get(k),k<v[h.YvS[this.keywordIndex]]);this.isVerticalMergeCell=!0,this.isBookmarkAtRowEnd=!0,this.serializeTableCell(e,v,I,!1),a.set(k,a.get(k)-1),1===a.get(k)&&(a.remove(k),d.remove(k),n.containsKey(k)&&n.remove(k)),n.containsKey(k)&&(y+=n.get(k)-1,(k+=n.get(k))>0&&k--)}}this.isVerticalMergeCell=!1,this.isBookmarkAtRowEnd=!1,y=S,x[h.uHM[this.keywordIndex]]>1&&(a.add(S,x[h.uHM[this.keywordIndex]]),d.add(S,x)),this.serializeTableCell(e,v,x,!0),x[h.IYo[this.keywordIndex]]>1&&x[h.uHM[this.keywordIndex]]>1&&n.add(S,x[h.IYo[this.keywordIndex]]);for(var f=S+1;;f++)if(a.containsKey(f)){var b=this.getMergeCellFormat(x,d.get(f),f<v[h.YvS[this.keywordIndex]]);this.serializeTableCell(e,v,b,!1),a.set(f,a.get(f)-1),y++,1===a.get(f)&&(a.remove(f),d.remove(f),n.containsKey(f)&&n.remove(f)),n.containsKey(f)&&(y+=n.get(f)-1,(f+=n.get(f))>
10&&f--)}else if(!(g===u-1&&f<t[h.bqZ[this.keywordIndex]]))break}this.isBookmarkAtRowEnd||e.writeEndElement(),this.isBookmarkAtRowEnd=!1,this.row=m}}e.writeEndElement(),this.table=i}},e.prototype.getMergeCellFormat=function(e,t,i){return i?t[h.TVR[this.keywordIndex]][h.E$6[this.keywordIndex]]=e[h.TVR[this.keywordIndex]][h.pkW[this.keywordIndex]]:t[h.TVR[this.keywordIndex]][h.pkW[this.keywordIndex]]=e[h.TVR[this.keywordIndex]][h.E$6[this.keywordIndex]],t},e.prototype.serializeTableCell=function(e,t,i,r){var a=this.blockOwner;if(this.blockOwner=t,e.writeStartElement(void 0,"tc",this.wNamespace),e.writeStartElement(void 0,"tcPr",this.wNamespace),this.serializeCellWidth(e,i),this.serializeCellMargins(e,i),e.writeStartElement(void 0,"tcBorders",this.wNamespace),this.serializeBorders(e,i[h.TVR[this.keywordIndex]],8,!1),e.writeEndElement(),this.serializeShading(e,t[h.Vre[this.keywordIndex]][h._Y1[this.keywordIndex]]),this.serializeTableCellDirection(e,i),this.serializeCellVerticalAlign(e,i[h.x07[this.keywordIndex]]),i[h.IYo[this.keywordIndex]]>1){var s=i[h.IYo[this.keywordIndex]];e.writeStartElement(void 0,"gridSpan",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,s.toString()),e.writeEndElement()}if(i[h.uHM[this.keywordIndex]]>1&&(e.writeStartElement(void 0,"vMerge",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,r?"restart":"continue"),e.writeEndElement()),e.writeEndElement(),!this.isVerticalMergeCell&&t&&t[h.u3O[this.keywordIndex]].length>0)for(var n=0,o=void 0;n<t[h.u3O[this.keywordIndex]].length;)o=t[h.u3O[this.keywordIndex]][n],this.serializeBodyItem(e,o,!1),n+=1;else e.writeStartElement(void 0,"p",this.wNamespace),e.writeStartElement(void 0,"pPr",this.wNamespace),e.writeStartElement(void 0,"pStyle",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"Normal"),e.writeEndElement(),e.writeEndElement(),e.writeEndElement();(!this.isBookmarkAtRowEnd||this.isVerticalMergeCell)&&e.writeEndElement(),this.blockOwner=a},e.prototype.serializeTableGrid=function(e,t){e.writeStartElement(void 0,"tblGrid",this.wNamespace),0!==t[h.Q$X[this.keywordIndex]].length&&this.serializeGridColumns(e,t[h.Q$X[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeTableRows=function(e,t){var i=new o.b;if(t.length>0)for(var r=0;r<t.length;r++){var a=t[r];if(a[h.pzy[this.keywordIndex]].length>0){if(a.hasOwnProperty(h.F7o[this.keywordIndex])){this.serializeContentControl(e,a[h.F7o[this.keywordIndex]],a);continue}this.serializeRow(e,a,i)}}},e.prototype.serializeRow=function(e,t,i){var r=this.row;this.row=t,e.writeStartElement(void 0,"tr",this.wNamespace),this.serializeRowFormat(e,t),this.serializeCells(e,t[h.pzy[this.keywordIndex]],i),this.isBookmarkAtRowEnd||e.writeEndElement(),this.isBookmarkAtRowEnd=!1,this.row=r},e.prototype.serializeRowFormat=function(e,t){if(this.serializeRowMargins(e,t[h.rfM[this.keywordIndex]]),e.writeStartElement(void 0,"trPr",this.wNamespace),t[h.rfM[this.keywordIndex]][h.xf2[this.keywordIndex]]>0){e.writeStartElement(void 0,"trHeight",this.wNamespace),t[h.rfM[this.keywordIndex]][h.Zdb[this.keywordIndex]]===(1==this.keywordIndex?1:"Exactly")?e.writeAttributeString("w","hRule",this.wNamespace,"exact"):t[h.rfM[this.keywordIndex]][h.Zdb[this.keywordIndex]]===(1==this.keywordIndex?0:"AtLeast")&&e.writeAttributeString("w","hRule",this.wNamespace,"atLeast");var i=this.roundToTwoDecimal(t[h.rfM[this.keywordIndex]][h.xf2[this.keywordIndex]]*this.twentiethOfPoint).toString();e.writeAttributeString("w","val",this.wNamespace,i),e.writeEndElement()}var r=t[h.rfM[this.keywordIndex]],a=r[h.Rd3[this.keywordIndex]];a>0&&(e.writeStartElement(void 0,"gridBefore",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,a.toString()),e.writeEndElement());var o=r[h.wZ6[this.keywordIndex]];if(o>0&&(e.writeStartElement(void 0,"gridAfter",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,o.toString()),e.writeEndElement()),a>0){switch(e.writeStartElement(void 0,"wBefore",this.wNamespace),r[h.F$P[this.keywordIndex]]){case"Percent":case 1:var d=this.roundToTwoDecimal(r[h.pFY[this.keywordIndex]]*this.percentageFactor).toString();e.writeAttributeString("w","w",this.wNamespace,d),e.writeAttributeString("w","type",this.wNamespace,"pct");break;case"Point":case 2:var w=this.roundToTwoDecimal(r[h.pFY[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","w",this.wNamespace,w),e.writeAttributeString("w","type",this.wNamespace,"dxa")}e.writeEndElement()}if(o>0){switch(e.writeStartElement(void 0,"wAfter",this.wNamespace),r[h.q76[this.keywordIndex]]){case"Percent":case 1:var d=this.roundToTwoDecimal(r[h.oke[this.keywordIndex]]*this.percentageFactor).toString();e.writeAttributeString("w","val",this.wNamespace,d),e.writeAttributeString("w","type",this.wNamespace,"pct");break;case"Point":case 2:var w=this.roundToTwoDecimal(r[h.oke[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","val",this.wNamespace,w),e.writeAttributeString("w","type",this.wNamespace,"dxa")}e.writeEndElement()}(0,s.hX)(r[h.z$_[this.keywordIndex]])||n.LD.parseBoolValue(r[h.z$_[this.keywordIndex]])||
1(e.writeStartElement(void 0,"cantSplit",this.wNamespace),e.writeEndElement()),n.LD.parseBoolValue(r[h.pk2[this.keywordIndex]])&&(e.writeStartElement(void 0,"tblHeader",this.wNamespace),e.writeEndElement()),!(0,s.hX)(r[h.PQt[this.keywordIndex]])&&r[h.PQt[this.keywordIndex]].length>0&&(this.serializeRevisionStart(e,r,void 0),this.serializeRevisionEnd(e,r,void 0)),e.writeEndElement()},e.prototype.serializeCells=function(e,t,i){for(var r=0;r<t.length;r++){if(t[r].hasOwnProperty(h.F7o[this.keywordIndex])){this.serializeContentControl(e,t[r][h.F7o[this.keywordIndex]],t[r]);continue}this.serializeCell(e,t[r],i)}},e.prototype.serializeCell=function(e,t,i){var r=this.blockOwner;if(this.blockOwner=t,e.writeStartElement(void 0,"tc",this.wNamespace),i=this.serializeCellFormat(e,t[h.Vre[this.keywordIndex]],!0,!0,i),t[h.u3O[this.keywordIndex]].length>0)for(var a=0,s=void 0;a<t[h.u3O[this.keywordIndex]].length;)s=t[h.u3O[this.keywordIndex]][a],this.serializeBodyItem(e,s,!1),a+=1;else e.writeStartElement(void 0,"p",this.wNamespace),e.writeStartElement(void 0,"pPr",this.wNamespace),e.writeStartElement(void 0,"pStyle",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"Normal"),e.writeEndElement(),e.writeEndElement(),e.writeEndElement();this.isBookmarkAtRowEnd||e.writeEndElement();var n=1;if(i.containsKey(t[h.YvS[this.keywordIndex]]+t[h.Vre[this.keywordIndex]][h.IYo[this.keywordIndex]]-1+n)&&1===this.row[h.pzy[this.keywordIndex]].length)for(var o=i.keys[i.keys.length-1];n<=o;)n=this.createCellForMerge(e,t,i,n),n++;else this.createCellForMerge(e,t,i,n);this.blockOwner=r},e.prototype.createCellForMerge=function(e,t,i,r){for(;i.containsKey(t[h.YvS[this.keywordIndex]]+t[h.Vre[this.keywordIndex]][h.IYo[this.keywordIndex]]-1+r)&&(this.row[h.pzy[this.keywordIndex]].indexOf(t)===this.row[h.pzy[this.keywordIndex]].length-1||this.row[h.pzy[this.keywordIndex]].indexOf(t)===t[h.YvS[this.keywordIndex]])&&void 0===t.nextNode;){var a=t[h.YvS[this.keywordIndex]]+t[h.Vre[this.keywordIndex]][h.IYo[this.keywordIndex]]-1+r;e.writeStartElement(void 0,"tc",this.wNamespace);var n=!0;(0,s.hX)(this.spanCellFormat)?(e.writeStartElement(void 0,"tcPr",this.wNamespace),n=!1):(n=!1,i=this.serializeCellFormat(e,this.spanCellFormat,!1,n,i)),this.serializeColumnSpan(a,e),e.writeStartElement(void 0,"vMerge",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"continue"),e.writeEndElement(),(0,s.hX)(this.spanCellFormat)&&(e.writeStartElement(void 0,"tcBorders",this.wNamespace),this.serializeBorders(e,t[h.Vre[this.keywordIndex]][h.TVR[this.keywordIndex]],8,!1),e.writeEndElement()),n||e.writeEndElement(),i=this.checkMergeCell(a,i),e.writeStartElement("w","p",this.wNamespace),e.writeEndElement(),e.writeEndElement(),r++}return r},e.prototype.serializeCellFormat=function(e,t,i,r,a){var s=this.blockOwner;return this.table[h.xA2[this.keywordIndex]],this.row[h.rfM[this.keywordIndex]],e.writeStartElement(void 0,"tcPr",this.wNamespace),this.serializeCellWidth(e,t),this.serializeCellMargins(e,t),i&&(a=this.serializeCellMerge(e,t,a),this.serializeGridSpan(e,s)),e.writeStartElement(void 0,"tcBorders",this.wNamespace),this.serializeBorders(e,t[h.TVR[this.keywordIndex]],8,!1),e.writeEndElement(),this.serializeShading(e,s[h.Vre[this.keywordIndex]][h._Y1[this.keywordIndex]]),this.serializeTableCellDirection(e,t),this.serializeCellVerticalAlign(e,t[h.x07[this.keywordIndex]]),r&&e.writeEndElement(),a},e.prototype.serializeCellWidth=function(e,t){e.writeStartElement(void 0,"tcW",this.wNamespace),t[h.$0U[this.keywordIndex]]===(1==this.keywordIndex?1:"Percent")?(e.writeAttributeString(void 0,"type",this.wNamespace,"pct"),e.writeAttributeString(void 0,"w",this.wNamespace,this.roundToTwoDecimal(t[h.P22[this.keywordIndex]]*this.percentageFactor).toString())):t[h.$0U[this.keywordIndex]]===(1==this.keywordIndex?0:"Auto")?(e.writeAttributeString(void 0,"type",this.wNamespace,"auto"),e.writeAttributeString(void 0,"w",this.wNamespace,"0")):(e.writeAttributeString(void 0,"w",this.wNamespace,this.roundToTwoDecimal(t[h.P22[this.keywordIndex]]*this.twipsInOnePoint).toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa")),e.writeEndElement()},e.prototype.serializeCellMerge=function(e,t,i){var r,a=this.blockOwner,s=!1,n=a[h.YvS[this.keywordIndex]],o=this.row[h.pzy[this.keywordIndex]].indexOf(a),d=o>0?this.row[h.pzy[this.keywordIndex]][o-1][h.YvS[this.keywordIndex]]:a[h.YvS[this.keywordIndex]];if(a[h.YvS[this.keywordIndex]]===o?(r=a[h.YvS[this.keywordIndex]],s=!0):s=!1,!s){0===o&&(n=a[h.YvS[this.keywordIndex]],d=-1);for(var w=d;w<n;w++)r=d+1,d+=1,0===r&&i.containsKey(r)&&(i=this.createMerge(e,r,a,i))}return t[h.uHM[this.keywordIndex]]>1?(e.writeStartElement(void 0,"vMerge",this.wNamespace),this.spanCellFormat=t,i.add(r,t[h.uHM[this.keywordIndex]]-1),t[h.IYo[this.keywordIndex]]>1&&this.mGridSpans.add(r,t[h.IYo[this.keywordIndex]]),e.writeAttributeString("w","val",this.wNamespace,"restart"),e.writeEndElement()):i.containsKey(r)&&s&&(i=this.createMerge(e,r,a,i)),i},e.prototype.createMerge=function(e,t,i,r){return this.serializeColumnSpan(t,e),e.writeStartElement(void 0,"vMerge",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"continue"),e.writeEndElement(),e.writeStartElement(void 0,"tcBorders",this.wNamespace),this.serializeBorders(e,i[h.Vre[this.keywordIndex]][h.TVR[this.keywordIndex]],8,!1),e.writeEndElement(),e.writeEndElement(),e.writeStartElement("w","p",this.wNamespace),e.writeEndElement(),e.writeEndElement(),e.writeStartElement(void 0,"tc",this.wNamespace),e.writeStartElement(void 0,"tcPr",this.wNamespace),this.serializeCellWidth(e,i[h.Vre[this.keywordIndex]]),r=this.checkMergeCell(t,r)},e.prototype.serializeColumnSpan=function(e,t){this.mGridSpans.keys.length>
10&&this.mGridSpans.containsKey(e)&&(t.writeStartElement(void 0,"gridSpan",this.wNamespace),t.writeAttributeString("w","val",this.wNamespace,this.mGridSpans.get(e).toString()),t.writeEndElement())},e.prototype.checkMergeCell=function(e,t){return t.get(e)-1==0?(t.remove(e),this.spanCellFormat=void 0,this.mGridSpans.keys.length>0&&this.mGridSpans.containsKey(e)&&this.mGridSpans.remove(e)):t.set(e,t.get(e)-1),t},e.prototype.serializeGridSpan=function(e,t){if(t[h.Vre[this.keywordIndex]][h.IYo[this.keywordIndex]]>1){var i=t[h.Vre[this.keywordIndex]][h.IYo[this.keywordIndex]];e.writeStartElement(void 0,"gridSpan",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,i.toString()),e.writeEndElement()}},e.prototype.serializeTableCellDirection=function(e,t){},e.prototype.serializeCellVerticalAlign=function(e,t){switch(e.writeStartElement(void 0,"vAlign",this.wNamespace),t){case"Center":case 1:e.writeAttributeString("w","val",this.wNamespace,"center");break;case"Bottom":case 2:e.writeAttributeString("w","val",this.wNamespace,"bottom");break;default:e.writeAttributeString("w","val",this.wNamespace,"top")}e.writeEndElement()},e.prototype.serializeGridColumns=function(e,t){for(var i=0,r=t.length;i<r;i++){var a=Math.round(20*t[i]);0===a&&(a=1),e.writeStartElement(void 0,"gridCol",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,a.toString()),e.writeEndElement()}},e.prototype.serializeTableFormat=function(e,t,i){e.writeStartElement(void 0,"tblPr",this.wNamespace),(0,s.hX)(i[h.xA2[this.keywordIndex]][h.eEo[this.keywordIndex]])||(e.writeStartElement(void 0,"tblStyle",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,i[h.xA2[this.keywordIndex]][h.eEo[this.keywordIndex]]),e.writeEndElement()),this.serializeTablePositioning(e,i),this.serializeTableWidth(e,i),this.serializeTableAlignment(e,i[h.xA2[this.keywordIndex]]),this.serializeCellSpacing(e,i[h.xA2[this.keywordIndex]]),this.serializeTableIndentation(e,i[h.xA2[this.keywordIndex]]),this.serializeTableMargins(e,i[h.xA2[this.keywordIndex]]),this.serializeTableBorders(e,i[h.xA2[this.keywordIndex]]),this.serializeShading(e,i[h.xA2[this.keywordIndex]][h._Y1[this.keywordIndex]]),n.LD.parseBoolValue(i[h.xA2[this.keywordIndex]][h.y1q[this.keywordIndex]])&&(e.writeStartElement(void 0,"bidiVisual",this.wNamespace),e.writeEndElement()),this.serializeTblLayout(e,i[h.xA2[this.keywordIndex]]),(0,s.hX)(i)||e.writeEndElement()},e.prototype.serializeTablePositioning=function(e,t){if(n.LD.parseBoolValue(t[h.OXd[this.keywordIndex]])){if(e.writeStartElement("w","tblpPr",this.wNamespace),t[h.vUP[this.keywordIndex]][h.ggm[this.keywordIndex]]>0){var i=Math.round(t[h.vUP[this.keywordIndex]][h.ggm[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","leftFromText",this.wNamespace,i)}if(t[h.vUP[this.keywordIndex]][h.H35[this.keywordIndex]]>0){var r=Math.round(t[h.vUP[this.keywordIndex]][h.H35[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","rightFromText",this.wNamespace,r)}if(t[h.vUP[this.keywordIndex]][h.u_3[this.keywordIndex]]>0){var a=Math.round(t[h.vUP[this.keywordIndex]][h.u_3[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","topFromText",this.wNamespace,a)}if(t[h.vUP[this.keywordIndex]][h.kpo[this.keywordIndex]]>0){var o=Math.round(t[h.vUP[this.keywordIndex]][h.kpo[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","bottomFromText",this.wNamespace,o)}if(!(0,s.hX)(t[h.vUP[this.keywordIndex]][h.kTt[this.keywordIndex]])){var d=t[h.vUP[this.keywordIndex]][h.kTt[this.keywordIndex]]===(1==this.keywordIndex?0:"Paragraph")?"text":1==this.keywordIndex?this.getTableVerticalRelation(t[h.vUP[this.keywordIndex]][h.kTt[this.keywordIndex]]).toLowerCase():this.getTableVerticalRelation(this.getTableVerticalRelationEnumValue(t[h.vUP[this.keywordIndex]][h.kTt[this.keywordIndex]])).toLowerCase();e.writeAttributeString("w","vertAnchor",this.wNamespace,d)}if(!(0,s.hX)(t[h.vUP[this.keywordIndex]][h._JI[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h._JI[this.keywordIndex]]!==(1==this.keywordIndex?0:"Column")){var w=1==this.keywordIndex?this.getTableHorizontalRelation(t[h.vUP[this.keywordIndex]][h._JI[this.keywordIndex]]).toLowerCase():t[h.vUP[this.keywordIndex]][h._JI[this.keywordIndex]].toLowerCase();e.writeAttributeString("w","horzAnchor",this.wNamespace,w)}if(!(0,s.hX)(t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]]!==(1==this.keywordIndex?0:"Left")){var l=1==this.keywordIndex?this.getTableHorizontalAlignment(t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]]):t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]].toLowerCase();e.writeAttributeString("w","tblpXSpec",this.wNamespace,l)}if(!(0,s.hX)(t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]]!==(1==this.keywordIndex?0:"None")){var c=1==this.keywordIndex?this.getTableVerticalAlignment(t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]]):t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]].toLowerCase();e.writeAttributeString("w","tblpYSpec",this.wNamespace,c)}if((!(0,s.hX)(t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]]===(1==this.keywordIndex?0:"Left")||!t[h.vUP[this.keywordIndex]][h.rMV[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h.xVu[this.keywordIndex]]>0){var m=Math.round(t[h.vUP[this.keywordIndex]][h.xVu[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","tblpX",this.wNamespace,m)}if(!(0,s.hX)(t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]])&&t[h.vUP[this.keywordIndex]][h.x07[this.keywordIndex]]===(1==this.keywordIndex?0:"None")){var p=Math.round(t[h.vUP[this.keywordIndex]][h.Zib[this.keywordIndex]]*this.twipsInOnePoint).toString();e.writeAttributeString("w","tblpY",this.wNamespace,p)}e.writeEndElement(),n.LD.parseBoolValue(t[h.vUP[this.keywordIndex]][h.IL1[this.keywordIndex]])||
1(e.writeStartElement("w","tblOverlap",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"never"),e.writeEndElement())}(0,s.hX)(t[h.CWr[this.keywordIndex]])||(e.writeStartElement("w","tblDescription",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.CWr[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(t[h.akK[this.keywordIndex]])||(e.writeStartElement("w","tblCaption",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.akK[this.keywordIndex]]),e.writeEndElement())},e.prototype.serializeTableMargins=function(e,t){this.serializeMargins(e,t,"tblCellMar")},e.prototype.serializeRowMargins=function(e,t){e.writeStartElement(void 0,"tblPrEx",this.wNamespace),e.writeStartElement(void 0,"tblBorders",this.wNamespace),this.serializeBorders(e,t[h.TVR[this.keywordIndex]],8,!1),e.writeEndElement(),this.serializeMargins(e,t,"tblCellMar"),e.writeEndElement()},e.prototype.serializeCellMargins=function(e,t){this.serializeMargins(e,t,"tcMar")},e.prototype.serializeMargins=function(e,t,i){if(void 0!==t[h.PkB[this.keywordIndex]]||void 0!==t[h.FJj[this.keywordIndex]]||void 0!==t[h.fRV[this.keywordIndex]]||void 0!==t[h.wW3[this.keywordIndex]]){if(e.writeStartElement(void 0,i,this.wNamespace),!(0,s.hX)(t[h.PkB[this.keywordIndex]])){var r=Math.round(20*t[h.PkB[this.keywordIndex]]);e.writeStartElement(void 0,"top",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,r.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement()}if(!(0,s.hX)(t[h.FJj[this.keywordIndex]])){var a=Math.round(20*t[h.FJj[this.keywordIndex]]);e.writeStartElement(void 0,"left",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,a.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement()}if(!(0,s.hX)(t[h.fRV[this.keywordIndex]])){var n=Math.round(20*t[h.fRV[this.keywordIndex]]);e.writeStartElement(void 0,"bottom",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,n.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement()}if(!(0,s.hX)(t[h.wW3[this.keywordIndex]])){var o=Math.round(20*t[h.wW3[this.keywordIndex]]);e.writeStartElement(void 0,"right",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,o.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement()}e.writeEndElement()}},e.prototype.serializeShading=function(e,t){e.writeStartElement(void 0,"shd",this.wNamespace),t[h.FIL[this.keywordIndex]]&&"empty"!==t[h.FIL[this.keywordIndex]]?e.writeAttributeString(void 0,"fill",this.wNamespace,this.getColor(t[h.FIL[this.keywordIndex]])):e.writeAttributeString(void 0,"fill",this.wNamespace,"auto"),"empty"===t[h.wIP[this.keywordIndex]]||(0,s.hX)(t[h.wIP[this.keywordIndex]])?e.writeAttributeString(void 0,"color",this.wNamespace,"auto"):e.writeAttributeString(void 0,"color",this.wNamespace,this.getColor(t[h.wIP[this.keywordIndex]])),(0,s.hX)(t[h.rTL[this.keywordIndex]])||e.writeAttributeString("w","val",this.wNamespace,this.getTextureStyle(t[h.rTL[this.keywordIndex]])),e.writeEndElement()},e.prototype.getTextureStyle=function(e){switch(e){case"Texture5Percent":case"Texture2Pt5Percent":case"Texture7Pt5Percent":case 1:case 2:case 3:return"pct5";case"Texture10Percent":case 4:return"pct10";case"Texture12Pt5Percent":case 5:return"pct12";case"Texture15Percent":case"Texture17Pt5Percent":case 6:case 7:return"pct15";case"Texture20Percent":case"Texture22Pt5Percent":case 8:case 9:return"pct20";case"Texture25Percent":case"Texture27Pt5Percent":case 10:case 11:return"pct25";case"Texture30Percent":case"Texture32Pt5Percent":case 12:case 13:return"pct30";case"Texture35Percent":case 14:return"pct35";case"Texture37Pt5Percent":case 15:return"pct37";case"Texture40Percent":case"Texture42Pt5Percent":case 16:case 17:return"pct40";case"Texture45Percent":case"Texture47Pt5Percent":case 18:case 19:return"pct45";case"Texture50Percent":case"Texture52Pt5Percent":case 20:case 21:return"pct50";case"Texture55Percent":case"Texture57Pt5Percent":case 22:case 23:return"pct55";case"Texture60Percent":case 24:return"pct60";case"Texture62Pt5Percent":case 25:return"pct62";case"Texture65Percent":case"Texture67Pt5Percent":case 26:case 27:return"pct65";case"Texture70Percent":case"Texture72Pt5Percent":case 28:case 29:return"pct70";case"Texture75Percent":case"Texture77Pt5Percent":case 30:case 31:return"pct75";case"Texture80Percent":case"Texture82Pt5Percent":case 32:case 33:return"pct80";case"Texture85Percent":case 34:return"pct85";case"Texture87Pt5Percent":case 35:return"pct87";case"Texture90Percent":case"Texture92Pt5Percent":case 36:case 37:return"pct90";case"Texture95Percent":case"Texture97Pt5Percent":case 38:case 39:return"pct95";case 40:case"TextureSolid":return"solid";case"TextureCross":case 51:return"thinHorzCross";case"TextureDarkCross":case 45:return"horzCross";case"TextureDarkDiagonalCross":case 46:return"diagCross";case"TextureDarkDiagonalDown":case 43:return"reverseDiagStripe";
1case"TextureDarkDiagonalUp":case 44:return"diagStripe";case"TextureDarkHorizontal":case 41:return"horzStripe";case"TextureDarkVertical":case 42:return"vertStripe";case"TextureDiagonalCross":case 52:return"thinDiagCross";case"TextureDiagonalDown":case 49:return"thinReverseDiagStripe";case"TextureDiagonalUp":case 50:return"thinDiagStripe";case"TextureHorizontal":case 47:return"thinHorzStripe";case"TextureVertical":case 48:return"thinVertStripe";default:return"clear"}},e.prototype.serializeParagraphBorders=function(e,t){var i=t[h.TVR[this.keywordIndex]];!(0,s.hX)(i)&&this.hasBorderContent(i,!0)&&(e.writeStartElement(void 0,"pBdr",this.wNamespace),this.serializeBorders(e,t[h.TVR[this.keywordIndex]],8,!0),e.writeEndElement())},e.prototype.serializeTableBorders=function(e,t){var i=t[h.TVR[this.keywordIndex]];!(0,s.hX)(i)&&this.hasBorderContent(i,!1)&&(e.writeStartElement(void 0,"tblBorders",this.wNamespace),this.serializeBorders(e,t[h.TVR[this.keywordIndex]],8,!1),e.writeEndElement())},e.prototype.serializeBorders=function(e,t,i,r){this.serializeBorder(e,t[h.xOy[this.keywordIndex]],"top",i),this.serializeBorder(e,t[h.pkW[this.keywordIndex]],"left",i),this.serializeBorder(e,t[h.HAU[this.keywordIndex]],"bottom",i),this.serializeBorder(e,t[h.E$6[this.keywordIndex]],"right",i),r?(this.serializeBorder(e,t[h.QRf[this.keywordIndex]],"between",i),this.serializeBorder(e,t[h.aHk[this.keywordIndex]],"bar",i)):(this.serializeBorder(e,t[h.QRf[this.keywordIndex]],"insideH",i),this.serializeBorder(e,t[h.aHk[this.keywordIndex]],"insideV",i),this.serializeBorder(e,t[h.ZtF[this.keywordIndex]],"tl2br",i),this.serializeBorder(e,t[h.oor[this.keywordIndex]],"tr2bl",i))},e.prototype.hasBorderContent=function(e,t){var i=[e[h.xOy[this.keywordIndex]],e[h.pkW[this.keywordIndex]],e[h.HAU[this.keywordIndex]],e[h.E$6[this.keywordIndex]]];t?(i.push(e[h.QRf[this.keywordIndex]]),i.push(e[h.aHk[this.keywordIndex]])):(i.push(e[h.QRf[this.keywordIndex]]),i.push(e[h.aHk[this.keywordIndex]]),i.push(e[h.ZtF[this.keywordIndex]]),i.push(e[h.oor[this.keywordIndex]]));for(var r=0;r<i.length;r++){var a=i[r];if(!(0,s.hX)(a)){var o=a[h.Fg0[this.keywordIndex]],d=(a[h.u8R[this.keywordIndex]]?a[h.u8R[this.keywordIndex]]:0)*8;if(o===(1==this.keywordIndex?26:"Cleared")||!((o===(1==this.keywordIndex?1:"None")||(0,s.hX)(o))&&!n.LD.parseBoolValue(a[h.VFH[this.keywordIndex]]))&&!(d<0&&!n.LD.parseBoolValue(a[h.VFH[this.keywordIndex]])))return!0}}return!1},e.prototype.serializeTblLayout=function(e,t){(!n.LD.parseBoolValue(t[h.N0D[this.keywordIndex]])||t[h.P22[this.keywordIndex]]>this.containerWidth)&&(e.writeStartElement(void 0,"tblLayout",this.wNamespace),e.writeAttributeString(void 0,"type",this.wNamespace,"fixed"),e.writeEndElement())},e.prototype.serializeBorder=function(e,t,i,r){var a=t[h.Fg0[this.keywordIndex]],o=(t[h.u8R[this.keywordIndex]]?t[h.u8R[this.keywordIndex]]:0)*r,d=t[h.yip[this.keywordIndex]]?t[h.yip[this.keywordIndex]]:0;if(a===(1==this.keywordIndex?26:"Cleared")){e.writeStartElement(void 0,i,this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"nil"),e.writeEndElement();return}(!(a===(1==this.keywordIndex?1:"None")||(0,s.hX)(a))||n.LD.parseBoolValue(t[h.VFH[this.keywordIndex]]))&&(!(o<0)||n.LD.parseBoolValue(t[h.VFH[this.keywordIndex]]))&&(e.writeStartElement(void 0,i,this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.getBorderStyle(a)),t[h.N64[this.keywordIndex]]&&e.writeAttributeString(void 0,"color",this.wNamespace,this.getColor(t[h.N64[this.keywordIndex]])),e.writeAttributeString(void 0,"sz",this.wNamespace,this.roundToTwoDecimal(o).toString()),e.writeAttributeString(void 0,"space",this.wNamespace,d.toString()),n.LD.parseBoolValue(t[h.w1c[this.keywordIndex]])&&e.writeAttributeString(void 0,"shadow",this.wNamespace,"on"),e.writeEndElement())},e.prototype.getBorderStyle=function(e){switch(e){case"Cleared":case 26:return"cleared";case"None":case 1:return"none";case"DashSmallGap":case 3:return"dashSmallGap";case"Triple":case 8:return"triple";case"Dot":case 2:return"dotted";case"DashDot":case 5:return"dotDash";case"DashLargeGap":case 4:return"dashed";case"DashDotDot":case 6:return"dotDotDash";case"Double":case 7:return"double";case"ThinThickSmallGap":case 9:return"thinThickSmallGap";case"ThickThinSmallGap":case 10:return"thickThinSmallGap";case"ThinThickThinSmallGap":case 11:return"thinThickThinSmallGap";case"ThickThinMediumGap":case 12:return"thickThinMediumGap";case"ThinThickMediumGap":case 13:return"thinThickMediumGap";case"ThinThickThinMediumGap":case 14:return"thinThickThinMediumGap";case"ThickThinLargeGap":case 16:return"thickThinLargeGap";case"ThinThickLargeGap":case 15:return"thinThickLargeGap";case"ThinThickThinLargeGap":case 17:return"thinThickThinLargeGap";case"Thick":case 25:return"thick";case"SingleWavy":case 18:return"wave";case"DoubleWavy":case 19:return"doubleWave";case"DashDotStroked":case 20:return"dashDotStroked";case"Engrave3D":case 22:return"threeDEngrave";case"Emboss3D":case 21:return"threeDEmboss";case"Outset":case 23:return"outset";case"Inset":case 24:return"inset";default:return"single"}},e.prototype.serializeTableIndentation=function(e,t){if(!(0,s.hX)(t[h.xtd[this.keywordIndex]])){e.writeStartElement(void 0,"tblInd",this.wNamespace);var i=Math.round(t[h.xtd[this.keywordIndex]]*this.twipsInOnePoint);e.writeAttributeString(void 0,"w",this.wNamespace,i.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement()}},e.prototype.serializeCellSpacing=function(e,t){!(0,s.hX)(t[h.dL2[this.keywordIndex]])&&t[h.dL2[this.keywordIndex]]>0&&(e.writeStartElement(void 0,"tblCellSpacing",this.wNamespace),e.writeAttributeString(void 0,"w",this.wNamespace,this.roundToTwoDecimal(t[h.dL2[this.keywordIndex]]/2*this.twentiethOfPoint).toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa"),e.writeEndElement())},e.prototype.serializeTableWidth=function(e,t){if(e.writeStartElement(void 0,"tblW",this.wNamespace),t[h.xA2[this.keywordIndex]][h.$0U[this.keywordIndex]]===(1==this.keywordIndex?1:"Percent")){var i=Math.round(t[h.xA2[this.keywordIndex]][h.P22[this.keywordIndex]]*this.percentageFactor);e.writeAttributeString(void 0,"w",this.wNamespace,i.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"pct")}else if(t[h.xA2[this.keywordIndex]][h.$0U[this.keywordIndex]]===(1==this.keywordIndex?2:"Point")){var i=Math.round(t[h.xA2[this.keywordIndex]][h.P22[this.keywordIndex]]*this.twipsInOnePoint);e.writeAttributeString(void 0,"w",this.wNamespace,i.toString()),e.writeAttributeString(void 0,"type",this.wNamespace,"dxa")}else e.writeAttributeString(void 0,"w",this.wNamespace,"0"),e.writeAttributeString(void 0,"type",this.wNamespace,"auto");e.writeEndElement()},e.prototype.serializeTableAlignment=function(e,t){switch(e.writeStartElement(void 0,"jc",this.wNamespace),t[h.jpM[this.keywordIndex]]){case"Right":case 2:e.writeAttributeString("w","val",this.wNamespace,"right");break;case"Center":case 1:e.writeAttributeString("w","val",this.wNamespace,"center");break;default:e.writeAttributeString("w","val",this.wNamespace,"left")}e.writeEndElement()},e.prototype.serializeFieldCharacter=function(e,t){e.writeStartElement(void 0,"r",this.wNamespace),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),e.writeStartElement(void 0,"fldChar",this.wNamespace);var i=0===t[h.a3m[this.keywordIndex]]?"begin":1===t[h.a3m[this.keywordIndex]]?"end":"separate";if(e.writeAttributeString(void 0,"fldCharType",this.wNamespace,i),"begin"===i&&!(0,s.hX)(t[h.K0Q[this.keywordIndex]])){var r=t[h.K0Q[this.keywordIndex]];if(e.writeStartElement(void 0,"ffData",this.wNamespace),e.writeStartElement(void 0,"name",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.RL$[this.keywordIndex]]),e.writeEndElement(),e.writeStartElement(void 0,"enabled",this.wNamespace),e.writeEndElement(),r.hasOwnProperty(h.HMj[this.keywordIndex])){e.writeStartElement(void 0,"textInput",this.wNamespace);var a=1==this.keywordIndex?this.getTextFormFieldType(r[h.HMj[this.keywordIndex]][h.sf$[this.keywordIndex]]):r[h.HMj[this.keywordIndex]][h.sf$[this.keywordIndex]].toString();e.writeStartElement(void 0,"type",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,"Calculation"==a?"calculated":a.toLowerCase()),e.writeEndElement(),e.writeStartElement(void 0,"default",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.HMj[this.keywordIndex]][h._zf[this.keywordIndex]]),e.writeEndElement(),e.writeStartElement(void 0,"format",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,1==this.keywordIndex&&"Text"===a?this.getTextFormField
1Format(r[h.HMj[this.keywordIndex]][h.Lyi[this.keywordIndex]]):r[h.HMj[this.keywordIndex]][h.Lyi[this.keywordIndex]]),e.writeEndElement(),e.writeEndElement()}else if(r.hasOwnProperty(h.Z4M[this.keywordIndex]))e.writeStartElement(void 0,"checkBox",this.wNamespace),r[h.Z4M[this.keywordIndex]][h.l2j[this.keywordIndex]]===(1==this.keywordIndex?0:"Auto")?e.writeStartElement(void 0,"sizeAuto",this.wNamespace):(e.writeStartElement(void 0,"size",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.roundToTwoDecimal(2*r[h.Z4M[this.keywordIndex]][h.x4o[this.keywordIndex]]).toString())),e.writeEndElement(),e.writeStartElement(void 0,"defalut",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.Z4M[this.keywordIndex]][h._zf[this.keywordIndex]]?"1":"0"),e.writeEndElement(),r[h.Z4M[this.keywordIndex]][h.N7s[this.keywordIndex]]&&(e.writeStartElement(void 0,"checked",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.Z4M[this.keywordIndex]][h.N7s[this.keywordIndex]]?"1":"0"),e.writeEndElement()),e.writeEndElement();else{e.writeStartElement(void 0,"ddList",this.wNamespace),0!==r[h.xg8[this.keywordIndex]][h.bFh[this.keywordIndex]]&&(e.writeStartElement(void 0,"result",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.xg8[this.keywordIndex]][h.bFh[this.keywordIndex]].toString()),e.writeEndElement());for(var n=0;n<r[h.xg8[this.keywordIndex]][h.PDu[this.keywordIndex]].length;n++)e.writeStartElement(void 0,"listEntry",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.xg8[this.keywordIndex]][h.PDu[this.keywordIndex]][n].toString()),e.writeEndElement();e.writeEndElement()}e.writeEndElement()}e.writeEndElement(),e.writeEndElement(),0===t[h.a3m[this.keywordIndex]]&&"FieldFormTextInput"===t[h.a3m[this.keywordIndex]]&&(e.writeStartElement("w","r",this.wNamespace),e.writeStartElement(void 0,"instrText",this.wNamespace),e.writeAttributeString("xml","space",this.xmlNamespace,"preserve"),e.writeString("FORMTEXT"),e.writeEndElement(),e.writeEndElement())},e.prototype.serializeTextRange=function(e,t,i,r){if(e.writeStartElement("w","r",this.wNamespace),(0,s.hX)(t[h.yjl[this.keywordIndex]])||this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]])," "===t[h.Puk[this.keywordIndex]])e.writeElementString(void 0,"tab",this.wNamespace,void 0);else if("\v"===t[h.Puk[this.keywordIndex]])e.writeElementString(void 0,"br",this.wNamespace,void 0);else if((0,s.hX)(t[h.Ouo[this.keywordIndex]]))if("\f"===t[h.Puk[this.keywordIndex]])e.writeStartElement(void 0,"br",this.wNamespace),e.writeAttributeString("w","type",this.wNamespace,"page"),e.writeEndElement();else if("\r"===t[h.Puk[this.keywordIndex]])e.writeStartElement("w","cr",this.wNamespace),e.writeEndElement();else if("\x0e"===t[h.Puk[this.keywordIndex]])e.writeStartElement(void 0,"br",this.wNamespace),e.writeAttributeString("w","type",this.wNamespace,"column"),e.writeEndElement();else if("%02"===encodeURI(t[h.Puk[this.keywordIndex]]))e.writeStartElement(void 0,"footnoteRef",this.wNamespace),e.writeEndElement();else if("%02"===encodeURI(t[h.Puk[this.keywordIndex]])&&"endnote"===r)e.writeStartElement(void 0,"endnoteRef",this.wNamespace),e.writeEndElement();else if("%03"===encodeURI(t[h.Puk[this.keywordIndex]]))e.writeStartElement(void 0,"separator",this.wNamespace),e.writeEndElement();else if("%04"===encodeURI(t[h.Puk[this.keywordIndex]]))e.writeStartElement(void 0,"continuationSeparator",this.wNamespace),e.writeEndElement();else{var a=this.retrieveDeleteRevision(t),n=!(0,s.hX)(i)&&i.hasOwnProperty(h.a3m[this.keywordIndex])&&2!==i[h.a3m[this.keywordIndex]];e.writeStartElement(void 0,n?a?"delInstrText":"instrText":a?"delText":"t",this.wNamespace),e.writeAttributeString("xml","space",this.xmlNamespace,"preserve"),e.writeString(t[h.Puk[this.keywordIndex]]),e.writeEndElement()}else e.writeStartElement(void 0,"br",this.wNamespace),e.writeAttributeString("w","type",this.wNamespace,"textWrapping"),e.writeAttributeString("w","clear",this.wNamespace,this.getBreakClearType(t[h.Ouo[this.keywordIndex]]).toString().toLowerCase()),e.writeEndElement();e.writeEndElement()},e.prototype.retrieveDeleteRevision=function(e){if(e.hasOwnProperty(h.PQt[this.keywordIndex])&&e[h.PQt[this.keywordIndex]].length>0){for(var t=0;t<e[h.PQt[this.keywordIndex]].length;
1t++)if("Deletion"===this.retrieveRevision(e[h.PQt[this.keywordIndex]][t]).revisionType)return!0}return!1},e.prototype.serializeParagraphFormat=function(e,t,i,r){(0,s.hX)(t)||((0,s.hX)(this.keywordIndex)&&(this.keywordIndex=r),this.serializeParagraphBorders(e,t),(0,s.hX)(t[h.eEo[this.keywordIndex]])||(e.writeStartElement(void 0,"pStyle",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.eEo[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(i)?this.serializeListFormat(e,t[h.pBP[this.keywordIndex]]):this.serializeListFormat(e,i[h.bm$[this.keywordIndex]][h.pBP[this.keywordIndex]]),n.LD.parseBoolValue(t[h.y1q[this.keywordIndex]])&&(e.writeStartElement(void 0,"bidi",this.wNamespace),e.writeEndElement()),(0,s.hX)(t[h.K4C[this.keywordIndex]])||(e.writeStartElement(void 0,"keepNext",this.wNamespace),n.LD.parseBoolValue(t[h.K4C[this.keywordIndex]])||e.writeAttributeString("w","val",this.wNamespace,"0"),e.writeEndElement()),(0,s.hX)(t[h.gvY[this.keywordIndex]])||(e.writeStartElement(void 0,"keepLines",this.wNamespace),n.LD.parseBoolValue(t[h.gvY[this.keywordIndex]])||e.writeAttributeString("w","val",this.wNamespace,"0"),e.writeEndElement()),(0,s.hX)(t[h.u_B[this.keywordIndex]])||(e.writeStartElement(void 0,"outlineLvl",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.getOutlineLevelValue(t[h.u_B[this.keywordIndex]]).toString()),e.writeEndElement()),this.serializeParagraphSpacing(e,t),(0,s.hX)(t[h.i9u[this.keywordIndex]])||(e.writeStartElement("w","contextualSpacing",this.wNamespace),n.LD.parseBoolValue(t[h.i9u[this.keywordIndex]])||e.writeAttributeString("w","val",this.wNamespace,"0"),e.writeEndElement()),(0,s.hX)(t[h.bAD[this.keywordIndex]])||(e.writeStartElement("w","widowControl",this.wNamespace),n.LD.parseBoolValue(t[h.bAD[this.keywordIndex]])?e.writeAttributeString("w","val",this.wNamespace,"1"):e.writeAttributeString("w","val",this.wNamespace,"0"),e.writeEndElement()),this.serializeIndentation(e,t),this.serializeParagraphAlignment(e,t[h.GL[this.keywordIndex]],n.LD.parseBoolValue(t[h.y1q[this.keywordIndex]])),!(0,s.hX)(t[h.e6f[this.keywordIndex]])&&t[h.e6f[this.keywordIndex]].length>0&&this.serializeTabs(e,t[h.e6f[this.keywordIndex]]))},e.prototype.getOutlineLevelValue=function(e){if(1==this.keywordIndex){if(e>0)return e-1}else if(-1!==e.toString().indexOf("Level")){var t=parseInt(e.toString().substring(5),10);if(t>0)return t-1}return 9},e.prototype.serializeTabs=function(e,t){e.writeStartElement("w","tabs",this.wNamespace);for(var i=0;i<t.length;i++)this.serializeTab(e,t[i]);e.writeEndElement()},e.prototype.serializeTab=function(e,t){var i=0;e.writeStartElement("w","tab",this.wNamespace),0===t[h.FDR[this.keywordIndex]]&&0!==t[h.U$i[this.keywordIndex]]?(i=t[h.U$i[this.keywordIndex]]*this.twentiethOfPoint,e.writeAttributeString("w","val",this.wNamespace,"clear")):(i=t[h.FDR[this.keywordIndex]]*this.twentiethOfPoint,e.writeAttributeString("w","val",this.wNamespace,this.getTabJustification(t[h.Xyg[this.keywordIndex]]))),(0,s.hX)(t[h.Qrb[this.keywordIndex]])||t[h.Qrb[this.keywordIndex]]===(1==this.keywordIndex?0:"None")||e.writeAttributeString("w","leader",this.wNamespace,this.getTabLeader(t[h.Qrb[this.keywordIndex]])),isNaN(i)||e.writeAttributeString("w","pos",this.wNamespace,i.toString()+""),e.writeEndElement()},e.prototype.getTextWrappingType=function(e){switch(e){case 0:default:return"bothSides";case 1:return"left";case 2:return"right";case 3:return"largest"}},e.prototype.getTextWrappingStyle=function(e){switch(e){case 1:return"InFrontOfText";case 2:return"Square";case 3:return"TopAndBottom";case 4:return"Behind";default:return"Inline"}},e.prototype.getDateStorageFormat=function(e){switch(e){case 2:return"DateStorageDateTime";case 3:return"DateStorageText";default:return"DateStorageDate"}},e.prototype.getDateCalendarType=function(e){switch(e){case 1:return"GregorianArabic";case 2:return"GregorianEnglish";case 3:return"GregorianMiddleEastFrench";case 4:return"GregorianTransliteratedEnglish";case 5:return"GregorianTransliteratedFrench";case 6:return"Hebrew";case 7:return"Hijri";case 8:return"Japan";case 9:return"Korean";case 10:return"Saka";case 11:return"Taiwan";case 12:return"Thai";default:return"Gregorian"}},e.prototype.getContentControlAppearance=function(e){switch(e){case 2:return"Hidden";case 3:return"Tags";default:return"BoundingBox"}}
1,e.prototype.getTextFormFieldFormat=function(e){switch(e){case 1:return"FirstCapital";case 2:return"Lowercase";case 3:return"Uppercase";case 4:return"Titlecase";default:return"None"}},e.prototype.getTextFormFieldType=function(e){switch(e){case 1:return"Number";case 2:return"Date";case 3:return"Calculation";default:return"Text"}},e.prototype.getTabLeader=function(e){switch(e){case"Dot":case 2:return"dot";case"Hyphen":case 3:return"hyphen";case"Underscore":case 4:return"underscore";default:return"none"}},e.prototype.getTabJustification=function(e){switch(e){case"Bar":case 0:case"Left":return"left";case 1:return"bar";case"Center":case 2:return"center";case"Decimal":case 3:return"decimal";case"List":case 4:return"num";case"Right":case 5:return"right";default:return"clear"}},e.prototype.getTableVerticalAlignment=function(e){switch(e){case 1:return"top";case 2:return"center";case 3:return"bottom";case 4:return"inside";case 5:return"outside";default:return"none"}},e.prototype.getTableHorizontalAlignment=function(e){switch(e){case 1:return"center";case 2:return"inside";case 3:return"outside";case 4:return"right";default:return"left"}},e.prototype.getTableVerticalRelationEnumValue=function(e){switch(e){case"Paragraph":default:return 0;case"Margin":return 1;case"Page":return 2}},e.prototype.getTableVerticalRelation=function(e){switch(e){case 1:return"Margin";case 2:return"Page";default:return"Paragraph"}},e.prototype.getTableHorizontalRelation=function(e){switch(e){case 1:return"Margin";case 2:return"Page";default:return"Column"}},e.prototype.getVerticalOrigin=function(e){switch(e){case 1:return"BottomMargin";case 2:return"InsideMargin";case 3:return"Line";case 4:return"Margin";case 5:return"OutsideMargin";case 6:return"Page";case 7:return"TopMargin";default:return"Paragraph"}},e.prototype.getHorizontalOrigin=function(e){switch(e){case 1:return"Character";case 2:return"InsideMargin";case 3:return"LeftMargin";case 4:return"Margin";case 5:return"OutsideMargin";case 6:return"Page";case 7:return"RightMargin";default:return"Column"}},e.prototype.getShapeVerticalAlignment=function(e){switch(e){case 1:return"Top";case 2:return"Center";case 3:return"Bottom";case 4:return"Inline";case 5:return"Inside";case 6:return"Outside";default:return"None"}},e.prototype.getShapeHorizontalAlignment=function(e){switch(e){case 1:return"Center";case 2:return"Inside";case 3:return"Left";case 4:return"Outside";case 5:return"Right";default:return"None"}},e.prototype.getBiDirectionalOverride=function(e){switch(e){case 1:return"LTR";case 2:return"RTL";default:return"None"}},e.prototype.getBreakClearType=function(e){switch(e){case 0:return"None";case 1:return"Left";case 2:return"Right";case 3:return"All";default:return e}},e.prototype.serializeListFormat=function(e,t){if(!(0,s.hX)(t[h.Bo2[this.keywordIndex]])||!(0,s.hX)(t[h.TtU[this.keywordIndex]])){if(e.writeStartElement(void 0,"numPr",this.wNamespace),(0,s.hX)(t[h.TtU[this.keywordIndex]])||-1===t[h.TtU[this.keywordIndex]]||(e.writeStartElement(void 0,"ilvl",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.TtU[this.keywordIndex]].toString()),e.writeEndElement()),!(0,s.hX)(t[h.Bo2[this.keywordIndex]])){e.writeStartElement(void 0,"numId",this.wNamespace);var i=(t[h.Bo2[this.keywordIndex]]+1).toString();e.writeAttributeString("w","val",this.wNamespace,i),e.writeEndElement()}e.writeEndElement()}},e.prototype.serializeParagraphAlignment=function(e,t,i){if(!(0,s.hX)(t)){e.writeStartElement(void 0,"jc",this.wNamespace);var r=void 0;switch(t){case"Center":case 1:r="center";break;case"Right":case 2:r="right";break;case"Justify":case 3:r="both";break;default:r="left"}e.writeAttributeString("w","val",this.wNamespace,r),e.writeEndElement()}},e.prototype.serializeParagraphSpacing=function(e,t){if(!((0,s.hX)(t[h.af2[this.keywordIndex]])&&(0,s.hX)(t[h.Kql[this.keywordIndex]])&&(0,s.hX)(t[h.NX2[this.keywordIndex]])&&(0,s.hX)(t[h.hnh[this.keywordIndex]])&&(0,s.hX)(t[h.LhI[this.keywordIndex]])&&(0,s.hX)(t[h.lcE[this.keywordIndex]]))){if(e.writeStartElement(void 0,"spacing",this.wNamespace),(0,s.hX)(t[h.af2[this.keywordIndex]])||e.writeAttributeString(void 0,"before",this.wNamespace,this.roundToTwoDecimal(t[h.af2[this.keywordIndex]]*this.twentiethOfPoint).toString()),!(0,s.hX)(t[h.Kql[this.keywordIndex]])){var i=1==this.keywordIndex?t[h.Kql[this.keywordIndex]].toString():t[h.Kql[this.keywordIndex]]?"1":"0";e.writeAttributeString(void 0,"beforeAutospacing",this.wNamespace,i)}if((0,s.hX)(t[h.NX2[this.keywordIndex]])||e.writeAttributeString(void 0,"after",this.wNamespace,this.roundToTwoDecimal(t[h.NX2[this.keywordIndex]]*this.twentiethOfPoint).toString()),!(0,s.hX)(t[h.hnh[this.keywordIndex]])){var i=1==this.keywordIndex?t[h.hnh[this.keywordIndex]].toString():t[h.hnh[this.keywordIndex]]?"1":"0";e.writeAttributeString(void 0,"afterAutospacing",this.wNamespace,i)}if(!(0,s.hX)(t[h.LhI[this.keywordIndex]])){var r=t[h.lcE[this.keywordIndex]]===(1==this.keywordIndex?1:"AtLeast")||t[h.lcE[this.keywordIndex]]===(1==this.keywordIndex?2:"Exactly")?this.roundToTwoDecimal(t[h.LhI[this.keywordIndex]]*this.twentiethOfPoint):this.roundToTwoDecimal(240*t[h.LhI[this.keywordIndex]]);e.writeAttributeString(void 0,"line",this.wNamespace,r.toString())}if(!(0,s.hX)(t[h.lcE[this.keywordIndex]])){var a="auto";t[h.lcE[this.keywordIndex]]===(1==this.keywordIndex?1:"AtLeast")?a="atLeast":t[h.lcE[this.keywordIndex]]===(1==this.keywordIndex?2:"Exactly")&&(a="exact"),e.writeAttributeString(void 0,"lineRule",this.wNamespace,a)}e.writeEndElement()}},e.prototype.serializeIndentation=function(e,t){(0,s.hX)(t[h.xtd[this.keywordIndex]])&&(0,s.hX)(t[h.OLD[this.keywordIndex]])&&(0,s.hX)(t[h.oLG[this.keywordIndex]])||
1(e.writeStartElement(void 0,"ind",this.wNamespace),(0,s.hX)(t[h.xtd[this.keywordIndex]])||e.writeAttributeString(void 0,"left",this.wNamespace,this.roundToTwoDecimal(t[h.xtd[this.keywordIndex]]*this.twipsInOnePoint).toString()),(0,s.hX)(t[h.OLD[this.keywordIndex]])||e.writeAttributeString(void 0,"right",this.wNamespace,this.roundToTwoDecimal(t[h.OLD[this.keywordIndex]]*this.twipsInOnePoint).toString()),(0,s.hX)(t[h.oLG[this.keywordIndex]])||(t[h.oLG[this.keywordIndex]]<0?e.writeAttributeString(void 0,"hanging",this.wNamespace,this.roundToTwoDecimal(-1*t[h.oLG[this.keywordIndex]]*this.twipsInOnePoint).toString()):e.writeAttributeString(void 0,"firstLine",this.wNamespace,this.roundToTwoDecimal(t[h.oLG[this.keywordIndex]]*this.twipsInOnePoint).toString())),e.writeEndElement())},e.prototype.serializeCustomXMLMapping=function(e,t){if(e.length>0)for(var i=e.keys,s=0;s<i.length;s++){var n=new a.Bi;n.writeStartElement(void 0,"Relationships",this.rpNamespace);var o=this.mCustomXML.get(i[s]),d=i[s],h=this.getNextRelationShipID(),w=s+1,l=this.createXMLItem(o,h,w),c=this.createXMLItemProps(d,w);this.serializeRelationShip(t,h,this.customXmlRelType,"../"+l),this.customXMLRelation(n,w,c),n.writeEndElement();var m=new r.B8(n.buffer,this.customXMLRelPath+w+".xml.rels");this.mArchive.addItem(m)}},e.prototype.customXMLRelation=function(e,t,i){this.serializeRelationShip(e,"rId1",this.wordMLCustomXmlPropsRelType,i)},e.prototype.createXMLItem=function(e,t,i){var a=new Blob([e],{type:"text/plain"}),s=this.customXMLItemsPath+i+".xml",n=new r.B8(a,s);return this.mArchive.addItem(n),s},e.prototype.createXMLItemProps=function(e,t){var i=new a.Bi,s=this.customXMLItemsPropspath+t+".xml",n=this.itemPropsPath+t+".xml";i.writeStartElement("ds","datastoreItem",this.wNamespace),i.writeAttributeString("ds","itemID",void 0,e),i.writeAttributeString("xmlns","ds",void 0,this.dsNamespace),i.writeEndElement(),this.customXMLProps.push(s);var o=new r.B8(i.buffer,s);return this.mArchive.addItem(o),n},e.prototype.serializeStyles=function(){var e=new a.Bi;e.writeStartElement("w","styles",this.wNamespace),e.writeAttributeString("xmlns","mc",void 0,this.veNamespace),e.writeAttributeString("xmlns","r",void 0,this.rNamespace),e.writeAttributeString("xmlns","w",void 0,this.wNamespace),e.writeAttributeString("xmlns","w14",void 0,this.w14Namespace),e.writeAttributeString("xmlns","w15",void 0,this.w15Namespace),e.writeAttributeString("mc","Ignorable",void 0,"w14 w15"),this.serializeDefaultStyles(e),this.serializeDocumentStyles(e),e.writeEndElement();var t=new r.B8(e.buffer,this.stylePath);this.mArchive.addItem(t)},e.prototype.serializeDefaultStyles=function(e){e.writeStartElement(void 0,"docDefaults",this.wNamespace),e.writeStartElement(void 0,"rPrDefault",this.wNamespace),this.serializeCharacterFormat(e,this.defCharacterFormat),e.writeEndElement(),e.writeStartElement(void 0,"pPrDefault",this.wNamespace),(0,s.hX)(this.defParagraphFormat)||(e.writeStartElement(void 0,"pPr",this.wNamespace),this.serializeParagraphFormat(e,this.defParagraphFormat,void 0),e.writeEndElement()),e.writeEndElement(),e.writeEndElement()},e.prototype.serializeDocumentStyles=function(e){for(var t=0;t<this.mStyles.length;t++){var i=this.mStyles[t];e.writeStartElement(void 0,"style",this.wNamespace);var r=this.getStyleType(i[h.sf$[this.keywordIndex]]);e.writeAttributeString("w","type",this.wNamespace,r),e.writeAttributeString("w","styleId",this.wNamespace,i[h.RL$[this.keywordIndex]]),e.writeStartElement(void 0,"name",this.wNamespace),-1!=["TOC 1","TOC 2","TOC 3","TOC 4","TOC 5","TOC 6","TOC 7","TOC 8","TOC 9"].indexOf(i[h.RL$[this.keywordIndex]])?e.writeAttributeString("w","val",this.wNamespace,i[h.RL$[this.keywordIndex]].toLowerCase()):e.writeAttributeString("w","val",this.wNamespace,i[h.RL$[this.keywordIndex]]),e.writeEndElement(),(0,s.hX)(i[h.i8H[this.keywordIndex]])||(e.writeStartElement(void 0,"basedOn",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,i[h.i8H[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(i[h.rJj[this.keywordIndex]])||(e.writeStartElement(void 0,"next",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,i[h.rJj[this.keywordIndex]]),e.writeEndElement()),(0,s.hX)(i[h.YFC[this.keywordIndex]])||
1(e.writeStartElement(void 0,"link",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,i[h.YFC[this.keywordIndex]]),e.writeEndElement()),i[h.sf$[this.keywordIndex]]===(1==this.keywordIndex?0:"Paragraph")&&(e.writeStartElement(void 0,"pPr",this.wNamespace),this.serializeParagraphFormat(e,i[h.bm$[this.keywordIndex]],void 0),e.writeEndElement()),i[h.sf$[this.keywordIndex]]!==(1==this.keywordIndex?2:"Table")&&this.serializeCharacterFormat(e,i[h.yjl[this.keywordIndex]]),e.writeEndElement()}},e.prototype.serializeLanguage=function(e,t){var i=t[h.FOQ[this.keywordIndex]]>0,r=t[h.dVg[this.keywordIndex]]>0,a=t[h.fqX[this.keywordIndex]]>0;if(r||a||i){if(e.writeStartElement(void 0,"lang",this.wNamespace),r){var n=d.IA[t[h.dVg[this.keywordIndex]]];if((0,s.hX)(n)){var o=this.getLanguage(t[h.dVg[this.keywordIndex]]);(0,s.hX)(o)||e.writeAttributeString("w","val",void 0,o.replace("_","-"))}else e.writeAttributeString("w","val",void 0,n.replace("_","-"))}if(a){var w=d.IA[t[h.fqX[this.keywordIndex]]];(0,s.hX)(w)||e.writeAttributeString("w","eastAsia",void 0,w.replace("_","-"))}if(i){var l=d.IA[t[h.FOQ[this.keywordIndex]]];(0,s.hX)(l)||e.writeAttributeString("w","bidi",void 0,l.replace("_","-"))}e.writeEndElement()}},e.prototype.getLanguage=function(e){switch(e){case 0:return"x-none";case 1:return"ar";case 2:return"bg";case 3:return"ca";case 4:return"zh";case 5:return"cs";case 6:return"da";case 7:return"de";case 8:return"el";case 9:return"en";case 10:return"es";case 11:return"fi";case 12:return"fr";case 13:return"he";case 14:return"hu";case 15:return"is";case 16:return"it";case 17:return"ja";case 18:return"ko";case 19:return"nl";case 20:return"nb";case 21:return"pl";case 22:return"pt";case 23:return"rm";case 24:return"ro";case 25:return"ru";case 26:return"hr";case 27:return"sk";case 28:return"sq";case 29:return"sv";case 30:return"th";case 31:return"tr";case 32:return"ur";case 33:return"id";case 34:return"uk";case 35:return"be";case 36:return"sl";case 37:return"et";case 38:return"lv";case 39:return"lt";case 40:return"tg";case 41:return"fa";case 42:return"vi";case 43:return"hy";case 44:return"az";case 45:return"eu";case 46:return"hsb";case 47:return"mk";case 50:return"tn";case 52:return"xh";case 53:return"zu";case 54:return"af";case 55:return"ka";case 56:return"fo";case 57:return"hi";case 58:return"mt";case 59:return"smn";case 62:return"ms";case 63:return"kk";case 64:return"ky";case 65:return"sw";case 66:return"tk";case 67:return"uz";case 68:return"tt";case 69:return"bn";case 70:return"pa";case 71:return"gu";case 72:return"or";case 73:return"ta";case 74:return"te";case 75:return"kn";case 76:return"ml";case 78:return"mr";case 79:return"sa";case 80:return"mn";case 81:return"bo";case 82:return"cy";case 84:return"lo";case 86:return"gl";case 87:return"kok";case 90:return"syr";case 91:return"si";case 92:return"chr";case 93:return"iu";case 94:return"am";case 97:return"ne";case 98:return"fy";case 99:return"ps";case 100:return"fil";case 101:return"dv";case 103:return"ff";case 104:return"ha";case 107:return"quz";case 108:return"nso";case 109:return"ba";case 110:return"lb";case 111:return"kl";case 112:return"ig";case 115:return"ti";case 117:return"haw";case 120:return"ii";case 122:return"arn";case 126:return"br";case 128:return"ug";case 129:return"mi";case 130:return"oc";case 131:return"co";case 132:return"gsw";case 133:return"sah";case 134:return"qut";case 135:return"rw";case 140:return"prs";default:return"en-US"}},e.prototype.serializeCharacterFormat=function(e,t){if((0,s.hX)(this.keywordIndex)&&(this.keywordIndex=0),!(0,s.hX)(t[h.eEo[this.keywordIndex]])||!(0,s.hX)(t[h.deU[this.keywordIndex]])||!(0,s.hX)(t[h.$ER[this.keywordIndex]])||!(0,s.hX)(t[h.rd3[this.keywordIndex]])||!(0,s.hX)(t[h._Zw[this.keywordIndex]])||!(0,s.hX)(t[h.wRS[this.keywordIndex]])||!(0,s.hX)(t[h.WEp[this.keywordIndex]])||!(0,s.hX)(t[h.DIu[this.keywordIndex]])||n.LD.parseBoolValue(t[h.jpm[this.keywordIndex]])||!(0,s.hX)(t[h.kH9[this.keywordIndex]])||!(0,s.hX)(t[h.qfo[this.keywordIndex]])||!(0,s.hX)(t[h.c$R[this.keywordIndex]])&&n.LD.parseBoolValue(t[h.c$R[this.keywordIndex]])||n.LD.parseBoolValue(t[h.y1q[this.keywordIndex]])||!(0,s.hX)(t[h.SAy[this.keywordIndex]])||n.LD.parseBoolValue(t[h.jdo[this.keywordIndex]])||!(0,s.hX)(t[h.xS6[this.keywordIndex]])||!(0,s.hX)(t[h.w6H[this.keywordIndex]])||!(0,s.hX)(t[h.Xun[this.keywordIndex]])&&t[h.Xun[this.keywordIndex]]!==(1===this.keywordIndex?0:"NoColor")||!(0,s.hX)(t[h.Woy[this.keywordIndex]])||!(0,s.hX)(t[h.Ai7[this.keywordIndex]])||!(0,s.hX)(t[h.UYh[this.keywordIndex]])||!(0,s.hX)(t[h.HOd[this.keywordIndex]])||!(0,s.hX)(t[h._fy[this.keywordIndex]])||!(0,s.hX)(t[h.FOQ[this.keywordIndex]])||!(0,s.hX)(t[h.fqX[this.keywordIndex]])||!(0,s.hX)(t[h.dVg[this.keywordIndex]])||!(0,s.hX)(t[h.SSb[this.keywordIndex]])||!(0,s.hX)(t[h.Rhy[this.keywordIndex]])||!(0,s.hX)(t[h.PQt[this.keywordIndex]])&&t[h.PQt[this.keywordIndex]].length>0||!(0,s.hX)(t[h.L77[this.keywordIndex]])&&"StandardContextual"===t[h.L77[this.keywordIndex]]){if
1(e.writeStartElement(void 0,"rPr",this.wNamespace),(0,s.hX)(t[h.eEo[this.keywordIndex]])||(e.writeStartElement(void 0,"rStyle",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.eEo[this.keywordIndex]]),e.writeEndElement()),!(0,s.hX)(t[h.deU[this.keywordIndex]])||!(0,s.hX)(t[h.$ER[this.keywordIndex]])||!(0,s.hX)(t[h.rd3[this.keywordIndex]])){if(e.writeStartElement(void 0,"rFonts",this.wNamespace),!(0,s.hX)(t[h._Zw[this.keywordIndex]])){var i=n.LD.isThemeFont(t[h._Zw[this.keywordIndex]])?"asciiTheme":"ascii";e.writeAttributeString(void 0,i,this.wNamespace,t[h._Zw[this.keywordIndex]])}if(!(0,s.hX)(t[h.rd3[this.keywordIndex]])){var i=n.LD.isThemeFont(t[h.rd3[this.keywordIndex]])?"eastAsiaTheme":"eastAsia";e.writeAttributeString(void 0,i,this.wNamespace,t[h.rd3[this.keywordIndex]])}if(!(0,s.hX)(t[h.wRS[this.keywordIndex]])){var i=n.LD.isThemeFont(t[h.wRS[this.keywordIndex]])?"hAnsiTheme":"hAnsi";e.writeAttributeString(void 0,i,this.wNamespace,t[h.wRS[this.keywordIndex]])}if(!(0,s.hX)(t[h.$ER[this.keywordIndex]])){var i=n.LD.isThemeFont(t[h.$ER[this.keywordIndex]])?"cstheme":"cs";e.writeAttributeString(void 0,i,this.wNamespace,t[h.$ER[this.keywordIndex]])}(0,s.hX)(t[h.WEp[this.keywordIndex]])||e.writeAttributeString(void 0,"hint",this.wNamespace,this.getFontHintType(t[h.WEp[this.keywordIndex]])),e.writeEndElement()}if((0,s.hX)(t[h.DIu[this.keywordIndex]])||this.serializeBoolProperty(e,"b",n.LD.parseBoolValue(t[h.DIu[this.keywordIndex]])),n.LD.parseBoolValue(t[h.jpm[this.keywordIndex]])&&this.serializeBoolProperty(e,"bCs",n.LD.parseBoolValue(t[h.jpm[this.keywordIndex]])),(0,s.hX)(t[h.kH9[this.keywordIndex]])||this.serializeBoolProperty(e,"i",n.LD.parseBoolValue(t[h.kH9[this.keywordIndex]])),(0,s.hX)(t[h.qfo[this.keywordIndex]])||this.serializeBoolProperty(e,"iCs",n.LD.parseBoolValue(t[h.qfo[this.keywordIndex]])),!(0,s.hX)(t[h.c$R[this.keywordIndex]])&&n.LD.parseBoolValue(t[h.c$R[this.keywordIndex]])&&this.serializeBoolProperty(e,"vanish",n.LD.parseBoolValue(t[h.c$R[this.keywordIndex]])),n.LD.parseBoolValue(t[h.y1q[this.keywordIndex]])&&(e.writeStartElement(void 0,"rtl",this.wNamespace),e.writeEndElement()),(0,s.hX)(t[h.SAy[this.keywordIndex]])||this.serializeBoolProperty(e,"caps",n.LD.parseBoolValue(t[h.SAy[this.keywordIndex]])),n.LD.parseBoolValue(t[h.jdo[this.keywordIndex]])&&this.serializeBoolProperty(e,"cs",n.LD.parseBoolValue(t[h.jdo[this.keywordIndex]])),!(0,s.hX)(t[h.xS6[this.keywordIndex]]))switch(t[h.xS6[this.keywordIndex]]){case"SingleStrike":case 1:this.serializeBoolProperty(e,"strike",!0);break;case"DoubleStrike":case 2:this.serializeBoolProperty(e,"dstrike",!0);break;default:this.serializeBoolProperty(e,"strike",!1),this.serializeBoolProperty(e,"dstrike",!1)}if((0,s.hX)(t[h.w6H[this.keywordIndex]])||(e.writeStartElement(void 0,"color",this.wNamespace),"empty"===t[h.w6H[this.keywordIndex]]||"#00000000"===t[h.w6H[this.keywordIndex]]?e.writeAttributeString("w","val",this.wNamespace,"auto"):e.writeAttributeString("w","val",this.wNamespace,this.getColor(t[h.w6H[this.keywordIndex]])),e.writeEndElement()),(0,s.hX)(t[h.Woy[this.keywordIndex]])||(e.writeStartElement(void 0,"sz",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.roundToTwoDecimal(2*t[h.Woy[this.keywordIndex]]).toString()),e.writeEndElement()),(0,s.hX)(t[h.SSb[this.keywordIndex]])||(e.writeStartElement(void 0,"spacing",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,(20*t[h.SSb[this.keywordIndex]]).toString()),e.writeEndElement()),(0,s.hX)(t[h.Rhy[this.keywordIndex]])||(e.writeStartElement(void 0,"w",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,t[h.Rhy[this.keywordIndex]].toString()),e.writeEndElement()),(0,s.hX)(t[h.Ai7[this.keywordIndex]])||(e.writeStartElement(void 0,"szCs",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.roundToTwoDecimal(2*t[h.Ai7[this.keywordIndex]]).toString()),e.writeEndElement()),(0,s.hX)(t[h.Xun[this.keywordIndex]])||t[h.Xun[this.keywordIndex]]===(1==this.keywordIndex?0:"NoColor")||(e.writeStartElement(void 0,"highlight",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.getHighlightColor(t[h.Xun[this.keywordIndex]])),e.writeEndElement()),!(0,s.hX)(t[h.PQt[this.keywordIndex]])&&t[h.PQt[this.keywordIndex]].length>0&&(this.serializeRevisionStart(e,t,void 0),this.serializeRevisionEnd(e,t,void 0)),(0,s.hX)(t[h.UYh[this.keywordIndex]])||
1(e.writeStartElement(void 0,"u",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,this.getUnderlineStyle(t[h.UYh[this.keywordIndex]])),(0,s.hX)(t[h.HOd[this.keywordIndex]])||e.writeAttributeString("w","color",this.wNamespace,this.getColor(t[h.HOd[this.keywordIndex]])),e.writeEndElement()),(0,s.hX)(t[h.L77[this.keywordIndex]])||"StandardContextual"===t[h.L77[this.keywordIndex]]&&(e.writeStartElement("w14","ligatures",this.w14Namespace),e.writeAttributeString("w14","val",this.w14Namespace,"standardContextual"),e.writeEndElement()),!(0,s.hX)(t[h._fy[this.keywordIndex]])){switch(e.writeStartElement(void 0,"vertAlign",this.wNamespace),t[h._fy[this.keywordIndex]]){case"Superscript":case 1:e.writeAttributeString("w","val",this.wNamespace,"superscript");break;case"Subscript":case 2:e.writeAttributeString("w","val",this.wNamespace,"subscript");break;default:e.writeAttributeString("w","val",this.wNamespace,"baseline")}e.writeEndElement()}(0,s.hX)(t[h.dVg[this.keywordIndex]])||this.serializeLanguage(e,t),e.writeEndElement()}},e.prototype.getColor=function(e){return e.length>0&&("#"===e[0]&&(e=e.substr(1)),e.length>6&&(e=e.substr(0,6))),e},e.prototype.getStyleType=function(e){switch(e){case"Character":case 1:return"character";case"Table":case 2:return"table";default:return"paragraph"}},e.prototype.getUnderlineStyle=function(e){switch(e){case"None":case 0:return"none";case"Single":case 1:return"single";case"Words":case 2:return"words";case"Double":case 3:return"double";case"Dotted":case 4:return"dotted";case"Thick":case 5:return"thick";case 6:default:return"dash";case"DashLong":case 7:return"dashLong";case"DotDash":case 8:return"dotDash";case"DotDotDash":case 9:return"dotDotDash";case"Wavy":case 10:return"wave";case"DottedHeavy":case 11:return"dottedHeavy";case"DashHeavy":case 12:return"dashedHeavy";case"DashLongHeavy":case 13:return"dashLongHeavy";case"DotDashHeavy":case 14:return"dashDotHeavy";case"DotDotDashHeavy":case 15:return"dashDotDotHeavy";case"WavyHeavy":case 16:return"wavyHeavy";case"WavyDouble":case 17:return"wavyDouble"}},e.prototype.getFontHintType=function(e){switch(e){case"EastAsia":case 1:return"eastAsia";case"CS":case 2:return"cs";default:return"default"}},e.prototype.getHighlightColor=function(e){switch(e){case"BrightGreen":case 2:return"green";case"Turquoise":case 3:return"cyan";case"Pink":case 4:return"magenta";case"Blue":case 5:return"blue";case"Red":case 6:return"red";case"DarkBlue":case 7:return"darkBlue";case"Teal":case 8:return"darkCyan";case"Green":case 9:return"darkGreen";case"Violet":case 10:return"darkMagenta";case"DarkRed":case 11:return"darkRed";case"DarkYellow":case 12:return"darkYellow";
1case"Gray50":case 13:return"darkGray";case"Gray25":case 14:return"lightGray";case"Black":case 15:return"black";default:return"yellow"}},e.prototype.serializeBoolProperty=function(e,t,i){e.writeStartElement(void 0,t,this.wNamespace),i||e.writeAttributeString(void 0,"val",this.wNamespace,"0"),e.writeEndElement()},e.prototype.serializeNumberings=function(){if(0!==this.document[h.lne[this.keywordIndex]].length){var e=new a.Bi;e.writeStartElement("w","numbering",this.wNamespace),this.writeCommonAttributeStrings(e),this.serializeAbstractListStyles(e,this.document[h.Nky[this.keywordIndex]]),this.serializeListInstances(e,this.document[h.lne[this.keywordIndex]]),e.writeEndElement();var t=new r.B8(e.buffer,this.numberingPath);this.mArchive.addItem(t)}},e.prototype.serializeAbstractListStyles=function(e,t){for(var i=0;i<t.length;i++){var r=t[i];e.writeStartElement(void 0,"abstractNum",this.wNamespace),e.writeAttributeString(void 0,"abstractNumId",this.wNamespace,r[h.zOm[this.keywordIndex]].toString()),e.writeStartElement(void 0,"nsid",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,n.LD.numberToHexDecimal(r[h.cUk])),e.writeEndElement();for(var a=0,s=r[h.dxC[this.keywordIndex]].length;a<s;a++)this.serializeListLevel(e,r[h.dxC[this.keywordIndex]][a],a);e.writeEndElement()}},e.prototype.serializeListInstances=function(e,t){for(var i=0;i<t.length;i++){var r=t[i];e.writeStartElement(void 0,"num",this.wNamespace),e.writeAttributeString(void 0,"numId",this.wNamespace,(r[h.Bo2[this.keywordIndex]]+1).toString()),e.writeStartElement(void 0,"abstractNumId",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,r[h.zOm[this.keywordIndex]].toString()),e.writeEndElement();for(var a=0,s=r[h.z66[this.keywordIndex]].length;a<s;a++)this.serializeLevelOverrides(e,r[h.z66[this.keywordIndex]][a],r[h.z66[this.keywordIndex]][a][h.$LD[this.keywordIndex]]);e.writeEndElement()}},e.prototype.roundToTwoDecimal=function(e){return Math.round(e)},e.prototype.serializeListLevel=function(e,t,i){e.writeStartElement(void 0,"lvl",this.wNamespace),e.writeAttributeString(void 0,"ilvl",this.wNamespace,i.toString()),!(0,s.hX)(t[h.Vb9[this.keywordIndex]])&&t[h.Vb9[this.keywordIndex]]&&e.writeElementString(void 0,"isLgl",this.wNamespace,void 0),e.writeStartElement(void 0,"start",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.PEc[this.keywordIndex]].toString()),e.writeEndElement(),e.writeStartElement(void 0,"numFmt",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,this.getLevelPattern(t[h.K_H[this.keywordIndex]])),e.writeEndElement(),(0,s.hX)(t[h.sWc[this.keywordIndex]])||""===t[h.sWc[this.keywordIndex]].toString()||(e.writeStartElement(void 0,"pStyle",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.sWc[this.keywordIndex]].toString()),e.writeEndElement()),this.serializeLevelFollow(e,t),this.serializeLevelText(e,t,i+1),e.writeStartElement(void 0,"pPr",this.wNamespace),this.serializeParagraphFormat(e,t[h.bm$[this.keywordIndex]],void 0),e.writeEndElement(),this.serializeCharacterFormat(e,t[h.yjl[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeLevelOverrides=function(e,t,i){e.writeStartElement(void 0,"lvlOverride",this.wNamespace),e.writeAttributeString(void 0,"ilvl",this.wNamespace,i.toString()),(0,s.hX)(t[h.UjB[this.keywordIndex]])||this.serializeListLevel(e,t[h.UjB[this.keywordIndex]],i),(0,s.hX)(t[h.PEc[this.keywordIndex]])||(e.writeStartElement(void 0,"startOverride",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.PEc[this.keywordIndex]].toString()),e.writeEndElement()),e.writeEndElement()},e.prototype.getLevelPattern=function(e){var t;switch(e){case"None":case 0:t="none";break;case"Arabic":case 1:t="decimal";break;case"UpRoman":case 2:t="upperRoman";break;case"LowRoman":case 3:t="lowerRoman";break;case"UpLetter":case 4:t="upperLetter";break;case"LowLetter":case 5:t="lowerLetter";break;case"Ordinal":case 6:t="ordinal";break;case"Number":case 7:t="cardinalText";break;case"OrdinalText":case 8:t="ordinalText";break;case"LeadingZero":case 9:t="decimalZero";break;case"FarEast":case 11:t="aiueoFullWidth";break;case"Special":case 12:t="russianLower";break;default:t="bullet"}return t},e.prototype.serializeLevelText=function(e,t,i){e.writeStartElement(void 0,"lvlText",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,t[h.kg5[this.keywordIndex]]),e.writeEndElement()},e.prototype.serializeLevelFollow=function(e,t){var i;i=t[h.Yuw[this.keywordIndex]]===(1==this.keywordIndex?0:"Tab")?"tab":t[h.Yuw[this.keywordIndex]]===(1==this.keywordIndex?1:"Space")?"space":"nothing",e.writeStartElement(void 0,"suff",this.wNamespace),e.writeAttributeString(void 0,"val",this.wNamespace,i),e.writeEndElement()},e.prototype.serializeThemeFontLang=function(e){var t=this.themeFontLang[h.FOQ[this.keywordIndex]]>0,i=this.themeFontLang[h.dVg[this.keywordIndex]]>0,r=this.themeFontLang[h.fqX[this.keywordIndex]]>0;if(i||r||t){if(e.writeStartElement("w","themeFontLang",void 0),i){var a=d.IA[this.themeFontLang[h.dVg[this.keywordIndex]]];e.writeAttributeString("w","val",void 0,a.replace("_","-"))}if(t){var s=d.IA[this.themeFontLang[h.FOQ[this.keywordIndex]]];e.writeAttributeString("w","bidi",void 0,s.replace("_","-"))}if(r){var n=d.IA[this.themeFontLang[h.fqX[this.keywordIndex]]];e.writeAttributeString("w","eastAsia",void 0,n.replace("_","-"))}e.writeEndElement()}},e.prototype.serializeDocumentProtectionSettings=function(e){if(e.writeStartElement("w","documentProtection",this.wNamespace),this.formatting&&e.writeAttributeString("w","formatting",this.wNamespace,"1"),this.protectionType&&0!==this.protectionType){var t=void 0;switch(this.protectionType){case"ReadOnly":case 1:t="readOnly";break;case"FormFieldsOnly":case 2:t="forms";break;case"CommentsOnly":case 3:t="comments";break;case"RevisionsOnly":case 4:t="trackedChanges"}e.writeAttributeString("w","edit",this.wNamespace,t)}e.writeAttributeString("w","cryptProviderType",this.wNamespace,"rsaAES"),e.writeAttributeString("w","cryptSpinCount",this.wNamespace,"100000"),this.enforcement&&e.writeAttributeString("w","enforcement",this.wNamespace,"1"),this.hashValue&&e.writeAttributeString("w","hash",this.wNamespace,this.hashValue),this.saltValue&&e.writeAttributeString("w","salt",this.wNamespace,this.saltValue),this.cryptAlgorithmSid?e.writeAttributeString("w","cryptAlgorithmSid",this.wNamespace,this.cryptAlgorithmSid):e.writeAttributeString("w","cryptAlgorithmSid",this.wNamespace,"14"),this.cryptAlgorithmType?e.writeAttributeString("w","cryptAlgorithmType",this.wNamespace,this.cryptAlgorithmType):e.writeAttributeString("w","cryptAlgorithmType",this.wNamespace,"typeAny"),this.cryptAlgorithmClass?e.writeAttributeString("w","cryptAlgorithmClass",this.wNamespace,this.cryptAlgorithmClass):e.writeAttributeString("w","cryptAlgorithmClass",this.wNamespace,"hash"),e.writeEndElement()},e.prototype.serializeSettings=function(){var e=new a.Bi;e.writeStartElement("w","settings",this.wNamespace),this.writeCustom(e),e.writeAttributeString("xmlns","w10",void 0,this.w10Namespace),e.writeAttributeString("xmlns","w14",void 0,this.w14Namespace),e.writeAttributeString("xmlns","w15",void 0,this.w15Namespace),e.writeAttributeString("xmlns","sl",void 0,this.slNamespace),e.writeAttributeString("mc","Ignorable",void 0,"w14 w15"),this.serializeDocumentProtectionSettings(e),e.writeStartElement("w","zoom",this.wNamespace),e.writeAttributeString("w","val",this.wNamespace,"none"),e.writeAttributeString("w","percent",this.wNamespace,"100"),e.writeEndElement(),this.serializeThemeFontLang(e),e.writeStartElement(void 0,"displayBackgroun
1dShape",this.wNamespace),e.writeEndElement(),e.writeStartElement(void 0,"defaultTabStop",this.wNamespace);var t=Math.round(this.defaultTabWidthValue*this.twipsInOnePoint);e.writeAttributeString(void 0,"val",this.wNamespace,t.toString()),e.writeEndElement(),this.trackChanges&&(e.writeStartElement(void 0,"trackRevisions",this.wNamespace),e.writeEndElement()),this.mDifferentFirstPage&&(e.writeStartElement(void 0,"evenAndOddHeaders",this.wNamespace),e.writeEndElement()),this.formFieldShading||(e.writeStartElement(void 0,"doNotShadeFormData",this.wNamespace),e.writeEndElement()),e.writeStartElement(void 0,"compat",this.wNamespace),this.dontUseHtmlParagraphAutoSpacing&&this.serializeBoolProperty(e,"doNotUseHTMLParagraphAutoSpacing",this.dontUseHtmlParagraphAutoSpacing),this.allowSpaceOfSameStyleInTable&&this.serializeBoolProperty(e,"allowSpaceOfSameStyleInTable",this.allowSpaceOfSameStyleInTable),e.writeStartElement(void 0,"compatSetting",this.wNamespace),e.writeAttributeString(void 0,"name",this.wNamespace,"compatibilityMode"),e.writeAttributeString(void 0,"uri",this.wNamespace,"http://schemas.microsoft.com/office/word");var i=1===this.keywordIndex?n.LD.getCompatibilityModeValue(this.compatibilityMode):n.LD.getCompatibilityModeValue(this.getCompatibilityModeEnumValue(this.compatibilityMode.toString()));e.writeAttributeString(void 0,"val",this.wNamespace,i),e.writeEndElement(),e.writeEndElement(),this.document[h.Tsn[this.keywordIndex]]&&(e.writeStartElement(void 0,"footnotePr",this.wNamespace),e.writeStartElement(void 0,"footnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,"-1"),e.writeEndElement(),e.writeStartElement(void 0,"footnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,"0"),e.writeEndElement(),e.writeEndElement()),this.document[h.Mo6[this.keywordIndex]]&&(e.writeStartElement(void 0,"endnotePr",this.wNamespace),e.writeStartElement(void 0,"endnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,"-1"),e.writeEndElement(),e.writeStartElement(void 0,"endnote",this.wNamespace),e.writeAttributeString(void 0,"id",this.wNamespace,"0"),e.writeEndElement(),e.writeEndElement()),e.writeEndElement();var s=new r.B8(e.buffer,this.settingsPath);this.mArchive.addItem(s)},e.prototype.serializeCoreProperties=function(){},e.prototype.serializeAppProperties=function(){},e.prototype.serializeFontTable=function(e){},e.prototype.serializeSettingsRelation=function(){},e.prototype.getCompatibilityModeEnumValue=function(e){switch(e){case"Word2013":return 0;case"Word2003":return 1;case"Word2007":return 2;case"Word2010":return 3}},e.prototype.serializeHeaderFooters=function(){this.isHeaderFooter=!0,this.serializeHeaderFooter("EvenFooter"),this.serializeHeaderFooter("EvenHeader"),this.serializeHeaderFooter("FirstPageFooter"),this.serializeHeaderFooter("FirstPageHeader"),this.serializeHeaderFooter("OddFooter"),this.serializeHeaderFooter("OddHeader"),this.isHeaderFooter=!1},e.prototype.serializeHeaderFooter=function(e){if(0!==this.headersFooters.length&&this.headersFooters.containsKey(e))for(var t,i,r=this.headersFooters.get(e),a=void 0,s=0;s<r.keys.length;s++){var n=r.keys[s];a=r.get(n),"EvenHeader"===e||"FirstPageHeader"===e||"OddHeader"===e?(t=this.headerPath+n.replace("rId","")+".xml",i=this.headerRelationPath+n.replace("rId","")+".xml.rels",this.serializeHeader(a,n,t,i)):(t=this.footerPath+n.replace("rId","")+".xml",i=this.footerRelationPath+n.replace("rId","")+".xml.rels",this.serializeFooter(a,n,t,i))}},e.prototype.serializeHeader=function(e,t,i,s){this.headerFooter=e;var n=new a.Bi;n.writeStartElement("w","hdr",this.wNamespace),this.writeHFCommonAttributes(n);var o=this.blockOwner;this.blockOwner=e,this.serializeBodyItems(n,e[h.u3O[this.keywordIndex]],!0),this.blockOwner=o,n.writeEndElement();var d=new r.B8(n.buffer,i);this.mArchive.addItem(d),this.serializeHFRelations(t,s),this.headerFooter=void 0},e.prototype.serializeHFRelations=function(e,t){if(this.headerFooterImages.containsKey(e)){var i=new a.Bi;i.writeStartElement(void 0,"Relationships",this.rpNamespace),this.serializeImagesRelations(this.headerFooterImages.get(e),i,!1),this.headerFooterSvgImages.containsKey(e)&&this.serializeSvgImageRelation(this.headerFooterSvgImages.get(e),i),i.writeEndElement();var s=new r.B8(i.buffer,t);this.mArchive.addItem(s)}},e.prototype.writeHFCommonAttributes=function(e){e.writeAttributeString("xmlns","v",void 0,this.vNamespace),e.writeAttributeString("xmlns","w10",void 0,this.w10Namespace),e.writeAttributeString("xmlns","o",void 0,this.oNamespace),e.writeAttributeString("xmlns","ve",void 0,this.veNamespace),e.writeAttributeString("xmlns","r",void 0,this.rN
1amespace),e.writeAttributeString("xmlns","m",void 0,this.mNamespace),e.writeAttributeString("xmlns","wne",void 0,this.wneNamespace),e.writeAttributeString("xmlns","a",void 0,this.aNamespace),e.writeAttributeString("xmlns","pic",void 0,this.pictureNamespace),e.writeAttributeString("xmlns","wp",void 0,this.wpNamespace),e.writeAttributeString("xmlns","wpc",void 0,this.wpCanvasNamespace),e.writeAttributeString("xmlns","wp14",void 0,this.wpDrawingNamespace),this.writeDup(e),e.writeAttributeString("xmlns","wps",void 0,this.wpShapeNamespace),e.writeAttributeString("ve","Ignorable",void 0,"w14 w15 wp14")},e.prototype.serializeFooter=function(e,t,i,s){this.headerFooter=e;var n=new a.Bi;n.writeStartElement("w","ftr",this.wNamespace),this.writeHFCommonAttributes(n),this.serializeBodyItems(n,e[h.u3O[this.keywordIndex]],!0),n.writeEndElement();var o=new r.B8(n.buffer,i);this.mArchive.addItem(o),this.serializeHFRelations(t,s)},e.prototype.serializeDocumentRelations=function(){var e=new a.Bi;e.writeStartElement(void 0,"Relationships",this.rpNamespace),this.serializeRelationShip(e,this.getNextRelationShipID(),this.stylesRelType,"styles.xml"),this.serializeRelationShip(e,this.getNextRelationShipID(),this.settingsRelType,"settings.xml"),this.document[h.Mo6[this.keywordIndex]]&&this.serializeRelationShip(e,this.getNextRelationShipID(),this.endnoteRelType,"endnotes.xml"),this.document[h.Tsn[this.keywordIndex]]&&this.serializeRelationShip(e,this.getNextRelationShipID(),this.footnoteRelType,"footnotes.xml"),this.mComments.length>0&&(1!==this.mComments.length||""!==this.mComments[0].text)&&(this.serializeRelationShip(e,this.getNextRelationShipID(),this.commentsRelType,"comments.xml"),this.serializeRelationShip(e,this.getNextRelationShipID(),this.commentsExRelType,"commentsExtended.xml")),(0,s.hX)(this.mThemes)||this.serializeRelationShip(e,this.getNextRelationShipID(),this.ThemeRelType,"theme/theme1.xml"),this.document[h.lne[this.keywordIndex]].length>0&&this.serializeRelationShip(e,this.getNextRelationShipID(),this.numberingRelType,"numbering.xml"),this.serializeHeaderFooterRelations(e),this.serializeImagesRelations(this.documentImages,e,!1),this.serializeSvgImageRelation(this.svgImages,e),this.serializeCustomXMLMapping(this.mCustomXML,e),this.serializeChartDocumentRelations(this.documentCharts,e),this.serializeExternalLinkImages(e),e.writeEndElement();var t=new r.B8(e.buffer,this.wordRelationPath);this.mArchive.addItem(t),this.headerFooter=void 0},e.prototype.serializeChartDocumentRelations=function(e,t){if(e.length>0)for(var i=e.keys,r=1;r<=i.length;r++)this.serializeRelationShip(t,i[r-1],this.chartRelType,"charts/chart"+r+".xml")},e.prototype.serializeChartRelations=function(){var e=new a.Bi;this.resetChartRelationShipId(),e.writeStartElement(void 0,"Relationships",this.rpNamespace);var t="colors"+this.chartCount+".xml",i=this.chartPath+"/_rels/chart"+this.chartCount+".xml.rels",s="../embeddings/Microsoft_Excel_Worksheet"+this.chartCount+".xlsx";this.serializeRelationShip(e,this.getNextChartRelationShipID(),this.packageRelType,s),this.serializeRelationShip(e,this.getNextChartRelationShipID(),this.chartColorStyleRelType,t),e.writeEndElement();var n=new r.B8(e.buffer,i);this.mArchive.addItem(n)},e.prototype.serializeImagesRelations=function(e,t,i){if(e.length>0)for(var a="",o=void 0,d=e.keys,w=0;w<d.length;w++){var l=e.get(d[w]),c=void 0;if("string"==typeof l&&this.startsWith(l,"data")?o=l:(o=(c=this.getBase64ImageString(l)).imageString,n.LD.parseBoolValue(l[h.z86[this.keywordIndex]])&&(".svg"!==n.LD.formatClippedString(c.metaFileImageString).extension||i)&&(o=c.metaFileImageString)),(0,s.hX)(o))a=this.imagePath+"/0.jpeg",this.serializeRelationShip(t,d[w],this.imageRelType,a.replace("word/",""));else{var m=n.LD.formatClippedString(o),p=m.extension,u=m.formatClippedString;a=this.imagePath+d[w]+p,this.serializeRelationShip(t,d[w],this.imageRelType,a.replace("word/",""));var y=void 0;y=new Blob(this.startsWith(o,"data:image/svg+xml;utf8,")?[u]:[this.encodedString(u)]);var g=new r.B8(y,a);this.mArchive.addItem(g)}}},e.prototype.serializeSvgImageRelation=function(e,t){this.serializeImagesRelations(e,t,!0)},e.prototype.encodedString=function(e){var t,i,r,a,s,n,o,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",h=0,w=0,l=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===d.charAt(64)&&l--,e.charAt(e.length-2)===d.charAt(64)&&l--,l%1!=0)throw Error("Invalid base64 input, bad content length.");for(var c=new Uint8Array(0|l);h<e.length;)a=d.indexOf(e.charAt(h++)),s=d.indexOf(e.charAt(h++)),n=d.indexOf(e.charAt(h++)),o=d.indexOf(e.charAt(h++)),t=a<<2|s>>4,i=(15&s)<<4|n>>2,r=(3&n)<<6|o,c[w++]=t,64!==n&&(c[w++]=i),64!==o&&(c[w++]=r);return c},e.prototype.serializeExternalLinkImages=function(e){for(var t=this.externalImages.keys,i=0;i<this.externalImages.keys.length;i++)this.serializeRelationShip(e,t[i],this.imageRelType,this.externalImages.get(t[i]))},e.prototype.serializeHeaderFooterRelations=function(e){this.serializeHFRelation(e,"EvenFooter"),this.serializeHFRelation(e,"EvenHeader"),this.serializeHFRelation(e,"FirstPageFooter"),this.serializeHFRelation(e,"FirstPageHeader"),this.serializeHFRelation(e,"OddFooter"),this.serializeHFRelation(e,"OddHeader")},e.prototype.serializeHFRelation=function(e,t){var i,r="";if(this.headersFooters.containsKey(t))for(var a=this.headersFooters.get(t),s=0;s<a.keys.length;s++){var n=a.keys[s];"EvenHeader"===t||"FirstPageHeader"===t||"OddHeader"===t?(r="header"+n.replace("rId","")+".xml",i=this.headerRelType):(r="footer"+n.replace("rId","")+".xml",i=this.footerRelType),this.serializeRelationShip(e,n,i,r)}},e.prototype.serializeRelationShip=function(e,t,i,r){e.writeStartElement(void 0,"Relationship",void 0),e.writeAttributeString(void 0,"Id",void 0,t),e.writeAttributeString(void 0,"Type",void 0,i),e.writeAttributeString(void 0,"Target",void 0,r.replace("\\","/").replace("\v","")),(i===this.hyperlinkRelType||this.startsWith(r,"http://")||this.startsWith(r,"https://")||this.startsWith(r,"file:///"))&&e.writeAttributeString(void 0,"TargetMode",void 0,"External"),e.writeEndElement()},e.prototype.getNextRelationShipID=function(){return"rId"+ ++this.mRelationShipID},e.prototype.getEFNextRelationShipID=function(){return(++this.efRelationShipId).toString()},e.prototype.serializeGeneralRelations=function(){var e=new a.Bi;this.resetRelationShipID(),e.writeStartElement(void 0,"Relationships",this.rpNamespace),this.serializeRelationShip(e,this.getNextRelationShipID(),this.documentRelType,this.documentPath),e.writeEndElement();var t=new r.B8(e.buffer,this.generalRelationPath);this.mArchive.addItem(t)},e.prototype.serializeContentTypes=function(e,t){var i=new a.Bi;if(i.writeStartElement(void 0,"Types","http://schemas.openxmlformats.org/package/2006/content-types"),this.serializeDefaultContentType(i,"rels",this.relationContentType),this.serializeDefaultContentType(i,"xml",this.xmlContentType),(this.documentImages.length>0||this.externalImages.length>0||this.headerFooterImages.length>0)&&(this.serializeDefaultContentType(i,"png","image/png"),this.serializeDefaultContentType(i,"bmp","image/bmp"),this.serializeDefaultContentType(i,"emf","image/x-emf"),this.serializeDefaultContentType(i,"wmf","image/x-wmf"),this.serializeDefaultContentType(i,"gif","image/gif"),this.serializeDefaultContentType(i,"ico","image/x-icon"),this.serializeDefaultContentType(i,"tif","image/tiff"),this.serializeDefaultContentType(i,"tiff","image/tiff"),this.serializeDefaultContentType(i,"jpeg","image/jpeg"),this.serializeDefaultContentType(i,"jpg","image/jpeg"),this.serializeDefaultContentType(i,"svg","image/svg+xml")),"Docx"==t?this.serializeOverrideContentType(i,this.documentPath,this.documentContentType):"Dotx"==t&&this.serializeOverrideContentType(i,this.documentPath,this.TemplateContentType),this.serializeOverrideContentType(i,this.numberingPath,this.numberingContentType),this.serializeOverrideContentType(i,this.stylePath,this.stylesContentType),this.serializeOverrideContentType(i,this.settingsPath,this.settingsContentType),this.serializeOverrideContentType(i,this.commentsPath,this.commentsContentType),this.serializeOverrideContentType(i,this.themePath,this.themeContentType),this.serializeOverrideContentType(i,this.commentsExtendedPath,this.commentsExContentType),this.chartCount>0){var s=1;for(this.serializeDefaultContentType(i,"xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");s<=this.chartCount;)this.serializeOverrideContentType(i,"word/charts/chart"+s+".xml",this.chartsContentType),this.serializeOverrideContentType(i,"word/charts/colors"+s+".xml",this.chartColorStyleContentType),s++}if(this.customXMLProps.length>0)for(var n=0;n<this.customXMLProps.length;n++)this.serializeOverrideContentType(i,this.customXMLProps[n],this.customXmlContentType);this.serializeHFContentTypes(i),this.SerializeEFContentTypes(i),i.writeEndElement();var o=new r.B8(i.buffer,this.contentTypesPath);this.mArchive.addItem(o)},e.prototype.serializeHFContentTypes=function(e){this.serializeHeaderFootersContentType(e,"EvenFooter"),this.serializeHeaderFootersContentType(e,"EvenHeader"),this.serializeHeaderFootersContentType(e,"FirstPageFooter"),this.serializeHeaderFootersContentType(e,"FirstPageHeader"),this.serializeHeaderFootersContentType(e,"OddFooter"),this.serializeHeaderFootersContentType(e,"OddHeader")},e.prototype.serializeHeaderFootersContentType=function(e,t){if(this.headersFooters.containsKey(t))for(var i,r,a=this.headersFooters.get(t),s=0;s<a.keys.length;s++){var n=a.keys[s];"EvenHeader"===t||"FirstPageHeader"===t||"OddHeader"===t?(r=this.headerPath+n.replace("rId","")+".xml",i=this.headerContentType):(r=this.footerPath+n.replace("rId","")+".xml",i=this.footerContentType),this.serializeOverrideContentType(e,r,i)}},e.prototype.SerializeEFContentTypes=function(e){this.serializeEFContentType(e)},e.prototype.serializeEFContentType=function(e){var t,i;i=this.endnotesPath,t=this.endnoteContentType,this.serializeOverrideContentType(e,i,t),i=this.footnotesPath,t=this.footnoteContentType,this.serializeOverrideContentType(e,i,t)},e.prototype.serializeOverrideContentType=function(e,t,i){e.writeStartElement(void 0,"Override",void 0),e.writeAttributeString(void 0,"PartName",void 0,"/"+t.replace("\\","/")),e.writeAttributeString(void 0,"ContentType",void 0,i),e.writeEndElement()},e.prototype.serializeDefaultContentType=function(e,t,i){e.writeStartElement(void 0,"Default",void 0),e.writeAttributeString(void 0,"Extension",void 0,t),e.writeAttributeString(void 0,"ContentType",void 0,i),e.writeEndElement()},e.prototype.resetRelationShipID=function(){this.mRelationShipID=0},e.prototype.resetExcelRelationShipId=function(){this.eRelationShipId=0},e.prototype.resetChartRelationShipId=function(){this.cRelationShipId=0},e.prototype.close=function(){},e.prototype.getExportAutoShapeType=function(e){switch(e){case 1:return"rect";case 2:return"roundRect";case 3:return"straightConnector1";case 4:return"ellipse";case 5:return"triangle";case 6:return"rtTriangle";case 7:return"parallelogram";case 8:return"trapezoid";case 9:return"diamond";case 10:return"pentagon";case 11:return"hexagon";case 12:return"heptagon";case 13:return"octagon";case 14:return"decagon";
1case 15:return"dodecagon";case 16:return"chord";case 17:return"teardrop";case 18:return"frame";case 19:return"halfFrame";case 20:return"corner";case 21:return"pie";case 22:return"diagStripe";case 23:return"plus";case 24:return"plaque";case 25:return"can";case 26:return"cube";case 27:return"bevel";case 28:return"donut";case 29:return"noSmoking";case 30:return"blockArc";case 31:return"foldedCorner";case 32:return"smileyFace";case 33:return"heart";case 34:return"lightningBolt";case 35:return"sun";case 36:return"moon";case 37:return"cloud";case 38:return"arc";case 39:return"bracketPair";case 40:return"bracePair";case 41:return"leftBracket";case 42:return"rightBracket";case 43:return"leftBrace";case 44:return"rightBrace";case 45:return"flowChartProcess";case 46:return"flowChartAlternateProcess";case 47:return"flowChartDecision";case 48:return"flowChartInputOutput";case 49:return"flowChartPredefinedProcess";case 50:return"flowChartInternalStorage";case 51:return"flowChartDocument";case 52:return"flowChartMultidocument";case 53:return"flowChartTerminator";case 54:return"flowChartPreparation";case 55:return"flowChartManualInput";case 56:return"flowChartManualOperation";case 57:return"flowChartConnector";case 58:return"flowChartOffpageConnector";case 59:return"flowChartPunchedCard";case 60:return"flowChartPunchedTape";case 61:return"flowChartSummingJunction";case 62:return"flowChartOr";case 63:return"flowChartCollate";case 64:return"flowChartSort";case 65:return"flowChartExtract";case 66:return"flowChartMerge";case 67:return"flowChartOnlineStorage";case 68:return"flowChartDelay";case 69:return"flowChartMagneticTape";case 70:return"flowChartMagneticDisk";case 71:return"flowChartMagneticDrum";case 72:return"flowChartDisplay";case 73:return"rightArrow";case 74:return"leftArrow";case 75:return"upArrow";case 76:return"downArrow";case 77:return"leftRightArrow";case 78:return"upDownArrow";case 79:return"quadArrow";case 80:return"leftRightUpArrow";case 81:return"bentArrow";case 82:return"uturnArrow";case 83:return"leftUpArrow";case 84:return"bentUpArrow";case 85:return"curvedRightArrow";case 86:return"curvedLeftArrow";case 87:return"curvedUpArrow";case 88:return"curvedDownArrow";case 89:return"stripedRightArrow";case 90:return"notchedRightArrow";case 91:return"homePlate";case 92:return"chevron";case 93:return"rightArrowCallout";case 94:return"downArrowCallout";case 95:return"leftArrowCallout";case 96:return"upArrowCallout";case 97:return"leftRightArrowCallout";case 98:return"quadArrowCallout";case 99:return"circularArrow";case 100:return"mathPlus";case 101:return"mathMinus";case 102:return"mathMultiply";case 103:return"mathDivide";case 104:return"mathEqual";case 105:return"mathNotEqual";case 106:return"irregularSeal1";case 107:return"irregularSeal2";case 108:return"star4";case 109:return"star5";case 110:return"star6";case 111:return"star7";case 112:return"star8";case 113:return"star10";case 114:return"star12";case 115:return"star16";case 116:return"star24";case 117:return"star32";case 118:return"ribbon2";case 119:return"ribbon";case 120:return"ellipseRibbon2";case 121:return"ellipseRibbon";case 122:return"verticalScroll";case 123:return"horizontalScroll";case 124:return"wave";case 125:return"doubleWave";case 126:return"snip1Rect";case 127:return"snip2SameRect";case 128:return"snip2DiagRect";case 129:return"snipRoundRect";case 130:return"round1Rect";case 131:return"round2SameRect";case 132:return"round2DiagRect";case 133:return"textNoShape";case 134:return"bentConnector3";case 135:return"curvedConnector3";case 136:return"wedgeRectCallout";case 137:return"cloudCallout";case 138:return"lineCallout1NoBorder";default:return e}},e.prototype.getAutoShapeTypeEnumValue=function(e){switch(e){case"Rectangle":return 1;case"RoundedRectangle":return 2;case"StraightConnector":return 3;case"Oval":return 4;case"IsoscelesTriangle":return 5;case"RightTriangle":return 6;case"Parallelogram":return 7;case"Trapezoid":return 8;case"Diamond":return 9;case"RegularPentagon":return 10;case"Hexagon":return 11;case"Heptagon":return 12;case"Octagon":return 13;case"Decagon":return 14;case"Dodecagon":return 15;case"Chord":return 16;case"Teardrop":return 17;case"Frame":return 18;case"HalfFrame":return 19;case"L_Shape":return 20;
1case"Pie":return 21;case"DiagonalStripe":return 22;case"Cross":return 23;case"Plaque":return 24;case"Can":return 25;case"Cube":return 26;case"Bevel":return 27;case"Donut":return 28;case"NoSymbol":return 29;case"BlockArc":return 30;case"FoldedCorner":return 31;case"SmileyFace":return 32;case"Heart":return 33;case"LightningBolt":return 34;case"Sun":return 35;case"Moon":return 36;case"Cloud":return 37;case"Arc":return 38;case"DoubleBracket":return 39;case"DoubleBrace":return 40;case"LeftBracket":return 41;case"RightBracket":return 42;case"LeftBrace":return 43;case"RightBrace":return 44;case"FlowChartProcess":return 45;case"FlowChartAlternateProcess":return 46;case"FlowChartDecision":return 47;case"FlowChartData":return 48;case"FlowChartPredefinedProcess":return 49;case"FlowChartInternalStorage":return 50;case"FlowChartDocument":return 51;case"FlowChartMultiDocument":return 52;case"FlowChartTerminator":return 53;case"FlowChartPreparation":return 54;case"FlowChartManualInput":return 55;case"FlowChartManualOperation":return 56;case"FlowChartConnector":return 57;case"FlowChartOffPageConnector":return 58;case"FlowChartCard":return 59;case"FlowChartPunchedTape":return 60;case"FlowChartSummingJunction":return 61;case"FlowChartOr":return 62;case"FlowChartCollate":return 63;case"FlowChartSort":return 64;case"FlowChartExtract":return 65;case"FlowChartMerge":return 66;case"FlowChartStoredData":return 67;case"FlowChartDelay":return 68;case"FlowChartSequentialAccessStorage":return 69;case"FlowChartMagneticDisk":return 70;case"FlowChartDirectAccessStorage":return 71;case"FlowChartDisplay":return 72;case"RightArrow":return 73;case"LeftArrow":return 74;case"UpArrow":return 75;case"DownArrow":return 76;case"LeftRightArrow":return 77;case"UpDownArrow":return 78;case"QuadArrow":return 79;case"LeftRightUpArrow":return 80;case"BentArrow":return 81;case"UTurnArrow":return 82;case"LeftUpArrow":return 83;case"BentUpArrow":return 84;case"CurvedRightArrow":return 85;case"CurvedLeftArrow":return 86;case"CurvedUpArrow":return 87;case"CurvedDownArrow":return 88;case"StripedRightArrow":return 89;case"NotchedRightArrow":return 90;case"Pentagon":return 91;case"Chevron":return 92;case"RightArrowCallout":return 93;case"DownArrowCallout":return 94;case"LeftArrowCallout":return 95;case"UpArrowCallout":return 96;case"LeftRightArrowCallout":return 97;case"QuadArrowCallout":return 98;case"CircularArrow":return 99;case"MathPlus":return 100;case"MathMinus":return 101;case"MathMultiply":return 102;case"MathDivision":return 103;case"MathEqual":return 104;case"MathNotEqual":return 105;case"Explosion1":return 106;case"Explosion2":return 107;case"Star4Point":return 108;case"Star5Point":return 109;case"Star6Point":return 110;case"Star7Point":return 111;case"Star8Point":return 112;case"Star10Point":return 113;case"Star12Point":return 114;case"Star16Point":return 115;case"Star24Point":return 116;case"Star32Point":return 117;case"UpRibbon":return 118;case"DownRibbon":return 119;case"CurvedUpRibbon":return 120;case"CurvedDownRibbon":return 121;case"VerticalScroll":return 122;case"HorizontalScroll":return 123;case"Wave":return 124;case"DoubleWave":return 125;case"SnipSingleCornerRectangle":return 126;case"SnipSameSideCornerRectangle":return 127;case"SnipDiagonalCornerRectangle":return 128;case"SnipAndRoundSingleCornerRectangle":return 129;case"RoundSingleCornerRectangle":return 130;case"RoundSameSideCornerRectangle":return 131;case"RoundDiagonalCornerRectangle":return 132;case"Unknown":return 133;case"ElbowConnector":return 134;case"CurvedConnector":return 135;case"RectangularCallout":return 136;case"CloudCallout":return 137;case"LineCallout1NoBorder":return 138;default:return 0}},e}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.