@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
10 lines • 4.36 MB
JavaScript
/*!
* filename: ej2-documenteditor.min.js
* version : 33.2.3
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionBase"),require("SyncfusionNavigations"),require("SyncfusionCompression"),require("SyncfusionButtons"),require("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionLists"),require("SyncfusionInputs"),require("SyncfusionDropdowns"),require("SyncfusionCalendars"),require("SyncfusionData"),require("SyncfusionOfficeChart"),require("SyncfusionFileUtils")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionNavigations","SyncfusionCompression","SyncfusionButtons","SyncfusionSplitbuttons","SyncfusionPopups","SyncfusionLists","SyncfusionInputs","SyncfusionDropdowns","SyncfusionCalendars","SyncfusionData","SyncfusionOfficeChart","SyncfusionFileUtils"],t):"object"==typeof exports?exports.SyncfusionDocumenteditor=t(require("SyncfusionBase"),require("SyncfusionNavigations"),require("SyncfusionCompression"),require("SyncfusionButtons"),require("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionLists"),require("SyncfusionInputs"),require("SyncfusionDropdowns"),require("SyncfusionCalendars"),require("SyncfusionData"),require("SyncfusionOfficeChart"),require("SyncfusionFileUtils")):e.SyncfusionDocumenteditor=t(e.SyncfusionBase,e.SyncfusionNavigations,e.SyncfusionCompression,e.SyncfusionButtons,e.SyncfusionSplitbuttons,e.SyncfusionPopups,e.SyncfusionLists,e.SyncfusionInputs,e.SyncfusionDropdowns,e.SyncfusionCalendars,e.SyncfusionData,e.SyncfusionOfficeChart,e.SyncfusionFileUtils)}(self,(e,t,i,n,r,o,s,a,l,d,h,c,p)=>(()=>{"use strict";var u={766:t=>{t.exports=e},741:e=>{e.exports=n},570:e=>{e.exports=d},50:e=>{e.exports=i},74:e=>{e.exports=h},778:e=>{e.exports=l},115:e=>{e.exports=p},323:e=>{e.exports=a},90:e=>{e.exports=s},215:e=>{e.exports=t},35:e=>{e.exports=c},197:e=>{e.exports=o},295:e=>{e.exports=r}},g={};function m(e){var t=g[e];if(void 0!==t)return t.exports;var i=g[e]={exports:{}};return u[e](i,i.exports,m),i.exports}m.d=(e,t)=>{for(var i in t)m.o(t,i)&&!m.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return(()=>{var e,t,i,n;m.r(f),m.d(f,{AddUserDialog:()=>El,AutoResizeSettings:()=>Jp,Base64:()=>Ua,BaseHistoryInfo:()=>jc,BlockContainer:()=>id,BlockWidget:()=>od,BodyWidget:()=>nd,BookmarkDialog:()=>dc,BookmarkElementBox:()=>Sd,BordersAndShadingDialog:()=>xc,BreakElementBox:()=>uh,BulletsAndNumberingDialog:()=>yc,CONTROL_CHARACTERS:()=>o,CellFormatHistoryInfo:()=>_c,CellHistoryFormat:()=>qc,CellOptionsDialog:()=>kc,ChangesSingleView:()=>ja,CharacterRangeType:()=>e,ChartArea:()=>qd,ChartCategory:()=>jd,ChartCategoryAxis:()=>nh,ChartData:()=>Gd,ChartDataFormat:()=>eh,ChartDataLabels:()=>Yd,ChartDataTable:()=>rh,ChartElementBox:()=>_d,ChartErrorBar:()=>Zd,ChartFill:()=>th,ChartLayout:()=>ih,ChartLegend:()=>Kd,ChartSeries:()=>Xd,ChartSeriesFormat:()=>Jd,ChartTitleArea:()=>$d,ChartTrendLines:()=>Qd,CheckBoxFormField:()=>vd,CheckBoxFormFieldDialog:()=>Tc,CheckBoxState:()=>Hd,CollaborativeEditing:()=>ip,CollaborativeEditingHandler:()=>Np,CollaborativeEditingSettings:()=>eu,ColumnLayout:()=>Jl,ColumnSizeInfo:()=>hh,ColumnsDialog:()=>Oc,Comment:()=>s,CommentCharacterElementBox:()=>oh,CommentEditInfo:()=>ch,CommentElementBox:()=>sh,CommentPane:()=>oc,CommentReviewPane:()=>rc,CommentView:()=>sc,ContainerServerActionSettings:()=>tu,ContentControl:()=>Pd,ContentControlListItems:()=>Fd,ContentControlProperties:()=>Td,ContextMenu:()=>nc,CustomXmlPart:()=>Od,Dictionary:()=>l,DocumentEditor:()=>Yp,DocumentEditorContainer:()=>Tw,DocumentEditorSettings:()=>Gp,DocumentHelper:()=>Gl,DocumentSettings:()=>Kp,DropDownFormField:()=>yd,DropDownFormFieldDialog:()=>Hc,EditRangeEndElementBox:()=>zd,EditRangeStartElementBox:()=>Vd,Editor:()=>Qc,EditorHistory:()=>Xc,ElementBox:()=>ud,EnforceProtectionDialog:()=>Wl,ErrorTextElementBox:()=>xd,FieldElementBox:()=>gd,FieldTextElementBox:()=>Id,FillFormat:()=>Md,FontDialog:()=>bc,FontScheme:()=>Ul,FontSchemeStruct:()=>zl,FontScriptType:()=>t,FootNoteWidget:()=>sd,Footnote:()=>wd,FootnoteElementBox:()=>Cd,FootnoteEndnoteMarkerElementBox:()=>mh,FormField:()=>md,FormFieldPopUp:()=>Rl,FormFieldSettings:()=>$p,GroupShapeElementBox:()=>Ld,HOME_TAB_ID:()=>Lv,HOME_TAB_TEXT:()=>Dv,HeaderFooterWidget:()=>rd,HelperMethods:()=>Ma,HistoryInfo:()=>Kc,HomeTab:()=>Rv,HtmlExport:()=>xp,Hyperlink:()=>Lc,HyperlinkDialog:()=>ac,ImageElementBox:()=>Ad,ImageResizer:()=>$c,ImageResizingPoints:()=>ep,ImageSizeInfo:()=>Dc,Layout:()=>pl,LayoutViewer:()=>Kl,LineFormat:()=>Rd,LineWidget:()=>pd,ListDialog:()=>mc,ListTextElementBox:()=>Ud,LocaleId:()=>i,MajorMinorFontScheme:()=>Al,Margin:()=>ed,MentionDataEditInfo:()=>ph,ModifiedLevel:()=>Rc,ModifiedParagraphFormat:()=>Mc,OpenAsyncSettings:()=>Zp,Optimized:()=>Sp,OptionsPane:()=>hp,Padding:()=>$l,Page:()=>ah,PageLayoutViewer:()=>Xl,PageSetupDialog:()=>cc,ParagraphDialog:()=>pc,ParagraphWidget:()=>ad,Point:()=>Aa,Print:()=>Ta,Rect:()=>Ql,Regular:()=>Pp,Renderer:()=>Pl,RestrictEditing:()=>Ll,Revision:()=>Ga,RevisionCollection:()=>Ka,RevisionSettings:()=>Xp,Ribbon:()=>mw,RowFormatHistoryInfo:()=>Vc,RowHistoryFormat:()=>Ac,Search:()=>dp,SearchWidgetInfo:()=>op,SectionBreakType:()=>n,SelectedImageInfo:()=>tp,Selection:()=>Ip,SelectionBorder:()=>pp,SelectionBorders:()=>up,SelectionCellFormat:()=>yp,SelectionCharacterFormat:()=>cp,SelectionColumnFormat:()=>Cp,SelectionHeaderFooter:()=>mp,SelectionImageFormat:()=>wp,SelectionParagraphFormat:()=>gp,SelectionRowFormat:()=>bp,SelectionSectionFormat:()=>fp,SelectionTableFormat:()=>vp,SelectionWidgetInfo:()=>Bc,ServerActionSettings:()=>Qp,SfdtExport:()=>Wp,SfdtReader:()=>Fp,ShapeBase:()=>Nd,ShapeCommon:()=>Wd,ShapeElementBox:()=>Bd,SpellCheckDialog:()=>Pc,SpellChecker:()=>kp,StyleDialog:()=>vc,StylesDialog:()=>Sc,TabDialog:()=>Wc,TabElementBox:()=>kd,TabStopListInfo:()=>gh,TableCellWidget:()=>cd,TableDialog:()=>lc,TableFormatHistoryInfo:()=>zc,TableHistoryInfo:()=>Uc,TableOfContentsDialog:()=>hc,TableOptionsDialog:()=>Ic,TablePosition:()=>ld,TablePropertiesDialog:()=>wc,TableResizer:()=>Zc,TableRowWidget:()=>hd,TableWidget:()=>dd,TextElementBox:()=>bd,TextExport:()=>Op,TextFormField:()=>fd,TextFormFieldDialog:()=>Fc,TextFrame:()=>Dd,TextHelper:()=>ll,TextPosition:()=>Nc,TextSearch:()=>rp,TextSearchResult:()=>sp,TextSearchResults:()=>ap,Themes:()=>Vl,Toolbar:()=>Xu,TrackChangesPane:()=>qa,UnProtectDocumentDialog:()=>Nl,VIEW_TAB_ID:()=>lw,ViewTab:()=>dw,WAbstractList:()=>rl,WBorder:()=>Oa,WBorders:()=>Wa,WCellFormat:()=>nl,WCharacterFormat:()=>Xa,WCharacterStyle:()=>Qa,WColumn:()=>dh,WColumnFormat:()=>Ea,WLevelOverride:()=>ol,WList:()=>uc,WListFormat:()=>Na,WListLevel:()=>sl,WParagraphFormat:()=>La,WParagraphStyle:()=>Ya,WRowFormat:()=>Da,WSectionFormat:()=>Ha,WShading:()=>tl,WStyle:()=>Ja,WStyles:()=>el,WTabStop:()=>Ba,WTableFormat:()=>il,WTableHolder:()=>lh,WTableStyle:()=>$a,WUniqueFormat:()=>d,WUniqueFormats:()=>h,WebLayoutViewer:()=>Zl,Widget:()=>td,WordExport:()=>Ep,WrapPosition:()=>za,XmlHttpRequestHandler:()=>c,XmlMapping:()=>Ed,XmlPane:()=>np,Zoom:()=>Tl,abstractListIdProperty:()=>fs,abstractListsProperty:()=>he,actionCompleteEvent:()=>R,afterFieldFillEvent:()=>w,afterFormFieldFillEvent:()=>C,afterSpacingProperty:()=>kt,afterWidthProperty:()=>fi,aftercontentControlFillEvent:()=>H,alignTablesRowByRowProperty:()=>He,allCapsProperty:()=>ht,allowAutoFitProperty:()=>Ii,allowBreakAcrossPagesProperty:()=>pi,allowHyphensInBookmarkNamesProperty:()=>Pa,allowOverlapProperty:()=>qo,allowSpaceOfSameStyleInTableProperty:()=>oa,alternativeTextProperty:()=>qn,appearanceProperty:()=>na,asyncPagesVisible:()=>ne,authorProperty:()=>Gr,autoShapeTypeProperty:()=>dr,backgroundColorProperty:()=>Oi,backgroundProperty:()=>ce,backwardProperty:()=>on,basedOnProperty:()=>Me,baselineAlignmentProperty:()=>Je,bdoProperty:()=>rt,beforeAutoResize:()=>Y,beforeCommentActionEvent:()=>W,beforeFieldFillEvent:()=>b,beforeFileOpenEvent:()=>V,beforeFormFieldFillEvent:()=>x,beforePaneSwitchEvent:()=>L,beforePaste:()=>ie,beforeSpacingProperty:()=>St,beforeWidthProperty:()=>mi,beforeXmlHttpRequestSend:()=>q,beforecontentControlFillEvent:()=>F,belowTextProperty:()=>Gn,bidiProperty:()=>nt,blocksProperty:()=>es,boldBidiProperty:()=>lt,boldProperty:()=>qe,bookmarkTypeProperty:()=>ks,bordersProperty:()=>Dt,bottomMarginProperty:()=>Kt,bottomProperty:()=>Cr,breakClearTypeProperty:()=>ot,breakCodeProperty:()=>ai,categoryTypeProperty:()=>Fn,categoryXNameProperty:()=>ji,cellFormatProperty:()=>Lo,cellSpacingProperty:()=>ki,cellWidthProperty:()=>li,cellsProperty:()=>Ro,characterFormatProperty:()=>ae,characterSpacingProperty:()=>vt,chartAreaProperty:()=>On,chartCategoryProperty:()=>Hn,chartDataProperty:()=>qi,chartDataTableProperty:()=>zn,chartLegendProperty:()=>Bn,chartPrimaryCategoryAxisProperty:()=>Ln,chartPrimaryValueAxisProperty:()=>Dn,chartSeriesProperty:()=>En,chartTitleAreaProperty:()=>Wn,chartTitleProperty:()=>Rn,chartTypeProperty:()=>Mn,checkBoxProperty:()=>Br,checkedProperty:()=>zr,checkedStateProperty:()=>xo,childShapeProperty:()=>Ca,colorProperty:()=>cr,columnCountProperty:()=>fa,columnFirstProperty:()=>Ws,columnIndexProperty:()=>ha,columnLastProperty:()=>Ns,columnSpanProperty:()=>di,columnsProperty:()=>ni,commentBeginEvent:()=>E,commentCharacterTypeProperty:()=>jr,commentDeleteEvent:()=>N,commentEndEvent:()=>O,commentIdProperty:()=>qr,commentsProperty:()=>ue,compatibilityModeProperty:()=>Be,complexScriptProperty:()=>ct,contentChangeEvent:()=>u,contentControlEvent:()=>T,contentControlListItemsProperty:()=>Io,contentControlPropertiesProperty:()=>ao,contextualSpacingProperty:()=>Lt,continuationNoticeProperty:()=>Is,continuationSeparatorProperty:()=>xs,cryptAlgorithmClassProperty:()=>ke,cryptAlgorithmSidProperty:()=>Pe,cryptAlgorithmTypeProperty:()=>Se,cryptProviderTypeProperty:()=>Ie,cryptSpinCountProperty:()=>Te,customContextMenuBeforeOpenEvent:()=>P,customContextMenuSelectEvent:()=>S,customDataProperty:()=>$r,customMarkerProperty:()=>oo,customXmlPartProperty:()=>No,customXmlProperty:()=>me,dataFormatProperty:()=>Vi,dataLabelProperty:()=>hn,dataPointsProperty:()=>gn,dateCalendarTypeProperty:()=>fo,dateDisplayFormatProperty:()=>bo,dateDisplayLocaleProperty:()=>yo,dateProperty:()=>Xr,dateStorageFormatProperty:()=>vo,defaultFont:()=>Z,defaultTabWidthProperty:()=>fe,defaultValueProperty:()=>Rr,deletePositionProperty:()=>Fs,descriptionProperty:()=>Ao,diagonalDownProperty:()=>Mi,diagonalUpProperty:()=>Ri,differentFirstPageProperty:()=>Ut,differentOddAndEvenPagesProperty:()=>zt,directionProperty:()=>Yi,displayTextProperty:()=>To,distanceBottomProperty:()=>Xo,distanceLeftProperty:()=>Ko,distanceRightProperty:()=>Go,distanceTopProperty:()=>jo,doNotUseHTMLParagraphAutoSpacingProperty:()=>Fe,documentChangeEvent:()=>g,documentLoadFailedEvent:()=>ee,doneProperty:()=>Zr,dropDownItemsProperty:()=>Vr,dropDownListProperty:()=>Lr,editRangeIdProperty:()=>Os,editableRangeStartProperty:()=>Ds,editingPointsProperty:()=>wa,enabledProperty:()=>Er,endStyleProperty:()=>Qi,endnoteNumberFormatProperty:()=>Jt,endnotesProperty:()=>Ne,enforcementProperty:()=>we,equalWidthProperty:()=>oi,errorBarProperty:()=>cn,evenFooterProperty:()=>rs,evenHeaderProperty:()=>ns,extentXValue:()=>ka,extentYValue:()=>Sa,fieldTypeProperty:()=>Fr,fileMenuItemClickEvent:()=>te,fillFormatProperty:()=>$n,fillProperty:()=>pr,firstLineIndentProperty:()=>xt,firstPageFooterProperty:()=>ss,firstPageHeaderProperty:()=>os,firstSliceAngleProperty:()=>mn,followCharacterProperty:()=>hs,fontColorProperty:()=>et,fontFamilyAsciiProperty:()=>pt,fontFamilyBidiProperty:()=>at,fontFamilyFarEastProperty:()=>ut,fontFamilyNonFarEastProperty:()=>gt,fontFamilyProperty:()=>tt,fontHintTypeProperty:()=>Ze,fontNameProperty:()=>la,fontProperty:()=>So,fontSchemeListProperty:()=>Vs,fontSchemeNameProperty:()=>As,fontSchemeProperty:()=>Ms,fontSizeBidiProperty:()=>st,fontSizeProperty:()=>$e,fontSubstitutionTableProperty:()=>se,fontTypefaceProperty:()=>_s,footNoteNumberFormatProperty:()=>Yt,footerDistanceProperty:()=>At,footerProperty:()=>is,footnoteTypeProperty:()=>io,footnotesProperty:()=>We,foreColorProperty:()=>Ki,foregroundColorProperty:()=>Wi,formFieldDataProperty:()=>Tr,formFieldShadingProperty:()=>Ee,formatProperty:()=>Mr,formattingProperty:()=>ve,forwardProperty:()=>rn,gapWidthProperty:()=>An,getImageHeightProperty:()=>kr,getImageWidthProperty:()=>Sr,gridAfterProperty:()=>wi,gridAfterWidthProperty:()=>Ci,gridAfterWidthTypeProperty:()=>xi,gridBeforeProperty:()=>vi,gridBeforeWidthProperty:()=>yi,gridBeforeWidthTypeProperty:()=>bi,gridProperty:()=>ma,groupProperty:()=>Ls,hasBordersProperty:()=>Tn,hasFieldEndProperty:()=>Pr,hasHorizontalBorderProperty:()=>Sn,hasImageReferenceProperty:()=>br,hasMajorGridLinesProperty:()=>Ys,hasMinorGridLinesProperty:()=>Qs,hasNoneStyleProperty:()=>Bi,hasPlaceHolderTextProperty:()=>uo,hasVerticalBorderProperty:()=>Pn,hashValueProperty:()=>Ce,headerDistanceProperty:()=>Mt,headerProperty:()=>ts,headersFootersProperty:()=>as,heightProperty:()=>Zn,heightRelativePercentProperty:()=>rr,heightScaleProperty:()=>Yn,heightTypeProperty:()=>gi,helpTextProperty:()=>Or,hiddenProperty:()=>ba,highlightColorProperty:()=>Qe,holeSizeProperty:()=>fn,horizontalAlignmentProperty:()=>Qo,horizontalOriginProperty:()=>Yo,horizontalPositionAbsProperty:()=>Hi,horizontalPositionProperty:()=>$o,horizontalProperty:()=>Di,horizontalRelativePercentProperty:()=>nr,horizontalRuleProperty:()=>Kn,idProperty:()=>Bo,imageStringProperty:()=>gr,imagesProperty:()=>ca,incrementalOps:()=>ya,initialEndNoteNumberProperty:()=>ti,initialFootNoteNumberProperty:()=>ei,initialProperty:()=>Kr,inlineFormatProperty:()=>aa,inlinesProperty:()=>so,interceptProperty:()=>sn,internalAsyncPagesVisible:()=>X,internalAutoResize:()=>J,internalDocumentEditorSettingsChange:()=>G,internalOptionPaneChange:()=>$,internalStyleCollectionChange:()=>K,internalZoomFactorChange:()=>p,internalviewChangeEvent:()=>_,isAfterCellMarkProperty:()=>ua,isAfterParagraphMarkProperty:()=>pa,isAfterRowMarkProperty:()=>ga,isAfterTableMarkProperty:()=>va,isAutoMajorProperty:()=>Xs,isBubbleSizeProperty:()=>yn,isCategoryNameProperty:()=>bn,isCheckedProperty:()=>wo,isCompressedProperty:()=>da,isCreatedUsingHtmlSpanTagProperty:()=>Hr,isDisplayEquationProperty:()=>ln,isDisplayRSquaredProperty:()=>an,isHeaderProperty:()=>ui,isInlineImageProperty:()=>vr,isLeaderLinesProperty:()=>In,isLegalStyleNumberingProperty:()=>zo,isLegendKeyProperty:()=>vn,isMappedProperty:()=>Fo,isMetaFileProperty:()=>yr,isPercentageProperty:()=>xn,isSeriesNameProperty:()=>wn,isTemporaryProperty:()=>mo,isValueProperty:()=>Cn,isWordMlProperty:()=>Ho,italicBidiProperty:()=>dt,italicProperty:()=>je,itemIDProperty:()=>eo,keepLinesTogetherProperty:()=>Nt,keepWithNextProperty:()=>Ot,keyDownEvent:()=>U,lastParagraphMarkCopiedProperty:()=>Oe,layoutInCellProperty:()=>ar,layoutProperty:()=>zi,layoutXProperty:()=>Zi,layoutYProperty:()=>Ji,leaderProperty:()=>Hs,leftIndentProperty:()=>wt,leftMarginProperty:()=>qt,leftProperty:()=>Ir,lengthProperty:()=>fr,levelNumberProperty:()=>us,levelOverridesProperty:()=>ws,levelsProperty:()=>ys,ligatureProperty:()=>Ge,lineBetweenColumnsProperty:()=>si,lineFormatProperty:()=>Qn,lineFormatTypeProperty:()=>ra,lineProperty:()=>Gi,lineSpacingProperty:()=>Ft,lineSpacingTypeProperty:()=>Ht,lineStyleProperty:()=>Ai,lineWidthProperty:()=>Ui,linkProperty:()=>Ue,listFormatProperty:()=>Et,listIdProperty:()=>ft,listLevelNumberProperty:()=>bt,listLevelPatternProperty:()=>ds,listsProperty:()=>de,localeIdBidiProperty:()=>_e,localeIdFarEastProperty:()=>Ve,localeIdProperty:()=>ze,lockAnchorProperty:()=>lr,lockContentControlProperty:()=>lo,lockContentsProperty:()=>ho,majorFontSchemeProperty:()=>Us,majorTickMarkProperty:()=>$s,majorUnitProperty:()=>Ks,markerColorProperty:()=>tn,markerSizeProperty:()=>nn,markerStyleProperty:()=>en,maxLengthProperty:()=>Dr,maximumValueProperty:()=>Zs,metaFileImageStringProperty:()=>mr,minimumValueProperty:()=>Js,minorFontSchemeProperty:()=>zs,minorTickMarkProperty:()=>ea,multiLineProperty:()=>go,nameProperty:()=>Re,nextProperty:()=>Ae,nsidProperty:()=>vs,numberFormatProperty:()=>gs,numberOfColumnsProperty:()=>ri,numberValueProperty:()=>$i,offsetXValue:()=>xa,offsetYValue:()=>Ia,outlineLevelProperty:()=>Bt,overlapProperty:()=>Un,overrideListLevelProperty:()=>bs,pageHeightProperty:()=>_t,pageNumberStyleProperty:()=>ii,pageStartingNumberProperty:()=>Zt,pageWidthProperty:()=>Vt,panoseProperty:()=>js,paraStyleNameProperty:()=>ms,paragraphFormatProperty:()=>le,patternProperty:()=>Xi,plotAreaProperty:()=>Nn,positionProperty:()=>Ts,positioningProperty:()=>Vo,preferredWidthProperty:()=>Ti,preferredWidthTypeProperty:()=>Fi,prefixMappingProperty:()=>Eo,propertiesProperty:()=>Ss,protectionTypeChangeEvent:()=>j,protectionTypeProperty:()=>be,replyCommentsProperty:()=>Jr,requestNavigateEvent:()=>D,restartIndexForEndnotesProperty:()=>$t,restartIndexForFootnotesProperty:()=>Qt,restartLevelProperty:()=>ps,restartPageNumberingProperty:()=>Xt,revisionActionEvent:()=>B,revisionIdProperty:()=>Qr,revisionIdsProperty:()=>mt,revisionTypeProperty:()=>Yr,revisionsProperty:()=>ge,rgbProperty:()=>ia,rightIndentProperty:()=>Ct,rightMarginProperty:()=>jt,rightProperty:()=>xr,rowFormatProperty:()=>Do,rowSpanProperty:()=>hi,rowsProperty:()=>Mo,saltValueProperty:()=>xe,scalingProperty:()=>yt,searchResultsChangeEvent:()=>A,sectionFormatProperty:()=>ls,sectionsProperty:()=>oe,selectedIndexProperty:()=>_r,selectionChangeEvent:()=>v,separatorProperty:()=>Cs,seriesFormatProperty:()=>pn,seriesNameProperty:()=>dn,serviceFailureEvent:()=>I,shadingProperty:()=>Si,shadowProperty:()=>Ni,shapeIdProperty:()=>_n,showSeriesKeysProperty:()=>kn,sizeProperty:()=>Ur,sizeTypeProperty:()=>Ar,spaceAfterAutoProperty:()=>Pt,spaceBeforeAutoProperty:()=>Tt,spaceProperty:()=>Rs,startAtProperty:()=>cs,statusTextProperty:()=>Wr,storeItemIdProperty:()=>Wo,strikethroughProperty:()=>Ye,styleNameProperty:()=>it,stylesProperty:()=>pe,symbolCodeProperty:()=>no,symbolFontNameProperty:()=>ro,tabJustificationProperty:()=>Ps,tabLeaderProperty:()=>Es,tableAlignmentProperty:()=>Pi,tableFormatProperty:()=>_o,tabsProperty:()=>Rt,tagProperty:()=>co,textAlignmentProperty:()=>It,textFrameProperty:()=>hr,textInputProperty:()=>Nr,textProperty:()=>Vn,textVerticalAlignmentProperty:()=>ur,textWrappingStyleProperty:()=>er,textWrappingTypeProperty:()=>tr,textureProperty:()=>Ei,themeFontLanguagesProperty:()=>Le,themesProperty:()=>De,tickLabelPositionProperty:()=>ta,titleProperty:()=>po,toolbarClickEvent:()=>z,topMarginProperty:()=>Gt,topProperty:()=>wr,trackChangeEvent:()=>M,trackChanges:()=>Q,trackChangesProperty:()=>ye,trendLinesProperty:()=>un,typeProperty:()=>Gs,typefaceProperty:()=>qs,uncheckedStateProperty:()=>Co,underlineColorProperty:()=>Xe,underlineProperty:()=>Ke,unsupportedBorderStyleClick:()=>re,userProperty:()=>Bs,valueProperty:()=>Po,verticalAlignmentProperty:()=>ci,verticalOriginProperty:()=>Zo,verticalPositionProperty:()=>Jo,verticalProperty:()=>Li,verticalRelativePercentProperty:()=>ir,viewChangeEvent:()=>k,visibleProperty:()=>jn,weightProperty:()=>sa,widowControlProperty:()=>Wt,widthProperty:()=>Xn,widthRelativePercentProperty:()=>or,widthScaleProperty:()=>Jn,wrapTextAroundProperty:()=>Uo,xPathProperty:()=>Oo,xmlMappingProperty:()=>ko,xmlProperty:()=>to,yValueProperty:()=>_i,zOrderPositionProperty:()=>sr,zoomFactorChangeEvent:()=>y}),function(e){e[e.LeftToRight=0]="LeftToRight",e[e.RightToLeft=1]="RightToLeft",e[e.WordSplit=2]="WordSplit",e[e.Number=4]="Number",e[e.Tab=6]="Tab"}(e||(e={})),function(e){e[e.English=0]="English",e[e.Hindi=1]="Hindi",e[e.Korean=2]="Korean",e[e.Chinese=3]="Chinese",e[e.Arabic=4]="Arabic",e[e.Hebrew=5]="Hebrew",e[e.Japanese=6]="Japanese",e[e.Thai=7]="Thai",e[e.SpecialCharacter=8]="SpecialCharacter"}(t||(t={})),function(e){e[e.af_ZA=1078]="af_ZA",e[e.sq_AL=1052]="sq_AL",e[e.am_ET=1118]="am_ET",e[e.gsw_FR=1156]="gsw_FR",e[e.ar_DZ=5121]="ar_DZ",e[e.ar_BH=15361]="ar_BH",e[e.ar_EG=3073]="ar_EG",e[e.ar_IQ=2049]="ar_IQ",e[e.ar_JO=11265]="ar_JO",e[e.ar_KW=13313]="ar_KW",e[e.ar_LB=12289]="ar_LB",e[e.ar_LY=4097]="ar_LY",e[e.ar_MA=6145]="ar_MA",e[e.ar_OM=8193]="ar_OM",e[e.ar_QA=16385]="ar_QA",e[e.ar_SA=1025]="ar_SA",e[e.ar_SY=10241]="ar_SY",e[e.ar_TN=7169]="ar_TN",e[e.ar_AE=14337]="ar_AE",e[e.ar_YE=9217]="ar_YE",e[e.hy_AM=1067]="hy_AM",e[e.as_IN=1101]="as_IN",e[e.az_Cyrl_AZ=2092]="az_Cyrl_AZ",e[e.az_Latn_AZ=1068]="az_Latn_AZ",e[e.ba_RU=1133]="ba_RU",e[e.eu_ES=1069]="eu_ES",e[e.be_BY=1059]="be_BY",e[e.bn_BD=2117]="bn_BD",e[e.bn_IN=1093]="bn_IN",e[e.bs_Cyrl_BA=8218]="bs_Cyrl_BA",e[e.bs_Latn_BA=5146]="bs_Latn_BA",e[e.bg_BG=1026]="bg_BG",e[e.br_FR=1150]="br_FR",e[e.my_MM=1109]="my_MM",e[e.ca_ES=1027]="ca_ES",e[e.chr_US=1116]="chr_US",e[e.zh_HK=3076]="zh_HK",e[e.zh_MO=5124]="zh_MO",e[e.zh_CN=2052]="zh_CN",e[e.zh_SG=4100]="zh_SG",e[e.zh_TW=1028]="zh_TW",e[e.co_FR=1155]="co_FR",e[e.hr_BA=4122]="hr_BA",e[e.hr_HR=1050]="hr_HR",e[e.cs_CZ=1029]="cs_CZ",e[e.da_DK=1030]="da_DK",e[e.prs_AF=1164]="prs_AF",e[e.dv_MV=1125]="dv_MV",e[e.nl_BE=2067]="nl_BE",e[e.nl_NL=1043]="nl_NL",e[e.bin_NG=1126]="bin_NG",e[e.et_EE=1061]="et_EE",e[e.en_AU=3081]="en_AU",e[e.en_BZ=10249]="en_BZ",e[e.en_CA=4105]="en_CA",e[e.en_029=9225]="en_029",e[e.en_HK=15369]="en_HK",e[e.en_IN=16393]="en_IN",e[e.en_ID=14345]="en_ID",e[e.en_IE=6153]="en_IE",e[e.en_JM=8201]="en_JM",e[e.en_MY=17417]="en_MY",e[e.en_NZ=5129]="en_NZ",e[e.en_PH=13321]="en_PH",e[e.en_SG=18441]="en_SG",e[e.en_ZA=7177]="en_ZA",e[e.en_TT=11273]="en_TT",e[e.en_GB=2057]="en_GB",e[e.en_US=1033]="en_US",e[e.en_ZW=12297]="en_ZW",e[e.fo_FO=1080]="fo_FO",e[e.fil_PH=1124]="fil_PH",e[e.fi_FI=1035]="fi_FI",e[e.fr_BE=2060]="fr_BE",e[e.fr_CM=11276]="fr_CM",e[e.fr_CA=3084]="fr_CA",e[e.fr_CD=9228]="fr_CD",e[e.fr_CI=12300]="fr_CI",e[e.fr_FR=1036]="fr_FR",e[e.fr_HT=15372]="fr_HT",e[e.fr_LU=5132]="fr_LU",e[e.fr_ML=13324]="fr_ML",e[e.fr_MC=6156]="fr_MC",e[e.fr_MA=14348]="fr_MA",e[e.fr_RE=8204]="fr_RE",e[e.fr_SN=10252]="fr_SN",e[e.fr_CH=4108]="fr_CH",e[e.fy_NL=1122]="fy_NL",e[e.ff_NG=1127]="ff_NG",e[e.gd_GB=1084]="gd_GB",e[e.gl_ES=1110]="gl_ES",e[e.ka_GE=1079]="ka_GE",e[e.de_AT=3079]="de_AT",e[e.de_DE=1031]="de_DE",e[e.de_LI=5127]="de_LI",e[e.de_LU=4103]="de_LU",e[e.de_CH=2055]="de_CH",e[e.el_GR=1032]="el_GR",e[e.gn_PY=1140]="gn_PY",e[e.gu_IN=1095]="gu_IN",e[e.kl_GL=1135]="kl_GL",e[e.ha_Latn_NG=1128]="ha_Latn_NG",e[e.haw_US=1141]="haw_US",e[e.he_IL=1037]="he_IL",e[e.hi_IN=1081]="hi_IN",e[e.hu_HU=1038]="hu_HU",e[e.ibb_NG=1129]="ibb_NG",e[e.is_IS=1039]="is_IS",e[e.ig_NG=1136]="ig_NG",e[e.id_ID=1057]="id_ID",e[e.iu_Latn_CA=2141]="iu_Latn_CA",e[e.iu_Cans_CA=1117]="iu_Cans_CA",e[e.it_IT=1040]="it_IT",e[e.it_CH=2064]="it_CH",e[e.ga_IE=2108]="ga_IE",e[e.xh_ZA=1076]="xh_ZA",e[e.zu_ZA=1077]="zu_ZA",e[e.kn_IN=1099]="kn_IN",e[e.kr_NG=1137]="kr_NG",e[e.ks_Deva=2144]="ks_Deva",e[e.ks_Arab=1120]="ks_Arab",e[e.kk_KZ=1087]="kk_KZ",e[e.km_KH=1107]="km_KH",e[e.kok_IN=1111]="kok_IN",e[e.ko_KR=1042]="ko_KR",e[e.ky_KG=1088]="ky_KG",e[e.qut_GT=1158]="qut_GT",e[e.rw_RW=1159]="rw_RW",e[e.lo_LA=1108]="lo_LA",e[e.la_Latn=1142]="la_Latn",e[e.lv_LV=1062]="lv_LV",e[e.lt_LT=1063]="lt_LT",e[e.dsb_DE=2094]="dsb_DE",e[e.lb_LU=1134]="lb_LU",e[e.mk_MK=1071]="mk_MK",e[e.ms_BN=2110]="ms_BN",e[e.ms_MY=1086]="ms_MY",e[e.ml_IN=1100]="ml_IN",e[e.mt_MT=1082]="mt_MT",e[e.mni_IN=1112]="mni_IN",e[e.mi_NZ=1153]="mi_NZ",e[e.mr_IN=1102]="mr_IN",e[e.arn_CL=1146]="arn_CL",e[e.mn_MN=1104]="mn_MN",e[e.mn_Mong_CN=2128]="mn_Mong_CN",e[e.ne_NP=1121]="ne_NP",e[e.ne_IN=2145]="ne_IN",e[e.nb_NO=1044]="nb_NO",e[e.nn_NO=2068]="nn_NO",e[e.oc_FR=1154]="oc_FR",e[e.or_IN=1096]="or_IN",e[e.om_Ethi_ET=1138]="om_Ethi_ET",e[e.pap_AN=1145]="pap_AN",e[e.ps_AF=1123]="ps_AF",e[e.fa_IR=1065]="fa_IR",e[e.pl_PL=1045]="pl_PL",e[e.pt_BR=1046]="pt_BR",e[e.pt_PT=2070]="pt_PT",e[e.pa_IN=1094]="pa_IN",e[e.pa_PK=2118]="pa_PK",e[e.quz_BO=1131]="quz_BO",e[e.guz_EC=2155]="guz_EC",e[e.guz_PE=3179]="guz_PE",e[e.ro_RO=1048]="ro_RO",e[e.ro_MO=2072]="ro_MO",e[e.rm_CH=1047]="rm_CH",e[e.ru_RU=1049]="ru_RU",e[e.ru_MO=2073]="ru_MO",e[e.smn_FI=9275]="smn_FI",e[e.smj_NO=4155]="smj_NO",e[e.smj_SE=5179]="smj_SE",e[e.se_FI=3131]="se_FI",e[e.se_NO=1083]="se_NO",e[e.se_SE=2107]="se_SE",e[e.sms_FI=8251]="sms_FI",e[e.sma_NO=6203]="sma_NO",e[e.sma_SE=7227]="sma_SE",e[e.sa_IN=1103]="sa_IN",e[e.sr_Cyrl_BA=7194]="sr_Cyrl_BA",e[e.sr_Cyrl_CS=3098]="sr_Cyrl_CS",e[e.sr_Latn_BA=6170]="sr_Latn_BA",e[e.sr_Latn_CS=2074]="sr_Latn_CS",e[e.nso_ZA=1132]="nso_ZA",e[e.tn_ZA=1074]="tn_ZA",e[e.sd_Arab_PK=2137]="sd_Arab_PK",e[e.sd_Deva_IN=1113]="sd_Deva_IN",e[e.si_LK=1115]="si_LK",e[e.sk_SK=1051]="sk_SK",e[e.sl_SI=1060]="sl_SI",e[e.so_SO=1143]="so_SO",e[e.es_AR=11274]="es_AR",e[e.es_BO=16394]="es_BO",e[e.es_CL=13322]="es_CL",e[e.es_CO=9226]="es_CO",e[e.es_CR=5130]="es_CR",e[e.es_DO=7178]="es_DO",e[e.es_EC=12298]="es_EC",e[e.es_SV=17418]="es_SV",e[e.es_GT=4106]="es_GT",e[e.es_HN=18442]="es_HN",e[e.es_MX=2058]="es_MX",e[e.es_NI=19466]="es_NI",e[e.es_PA=6154]="es_PA",e[e.es_PY=15370]="es_PY",e[e.es_PE=10250]="es_PE",e[e.es_PR=20490]="es_PR",e[e.es_ES=3082]="es_ES",e[e.es_ES_tradnl=1034]="es_ES_tradnl",e[e.es_US=21514]="es_US",e[e.es_UY=14346]="es_UY",e[e.es_VE=8202]="es_VE",e[e.st_ZA=1072]="st_ZA",e[e.sw_KE=1089]="sw_KE",e[e.sv_FI=2077]="sv_FI",e[e.sv_SE=1053]="sv_SE",e[e.syr_SY=1114]="syr_SY",e[e.tg_Cyrl_TJ=1064]="tg_Cyrl_TJ",e[e.tzm_Arab_MA=1119]="tzm_Arab_MA",e[e.tzm_Latn_DZ=2143]="tzm_Latn_DZ",e[e.ta_IN=1097]="ta_IN",e[e.tt_RU=1092]="tt_RU",e[e.te_IN=1098]="te_IN",e[e.th_TH=1054]="th_TH",e[e.bo_CN=1105]="bo_CN",e[e.ti_ER=2163]="ti_ER",e[e.ti_ET=1139]="ti_ET",e[e.ts_ZA=1073]="ts_ZA",e[e.tr_TR=1055]="tr_TR",e[e.tk_TM=1090]="tk_TM",e[e.ug_CN=1152]="ug_CN",e[e.uk_UA=1058]="uk_UA",e[e.hsb_DE=1070]="hsb_DE",e[e.ur_PK=1056]="ur_PK",e[e.uz_Cyrl_UZ=2115]="uz_Cyrl_UZ",e[e.uz_Latn_UZ=1091]="uz_Latn_UZ",e[e.ve_ZA=1075]="ve_ZA",e[e.vi_VN=1066]="vi_VN",e[e.cy_GB=1106]="cy_GB",e[e.wo_SN=1160]="wo_SN",e[e.sah_RU=1157]="sah_RU",e[e.ii_CN=1144]="ii_CN",e[e.yi_Hebr=1085]="yi_Hebr",e[e.yo_NG=1130]="yo_NG",e[e.ja_JP=1041]="ja_JP"}(i||(i={})),function(e){e.EvenPage="EvenPage",e.NewPage="NewPage",e.Continuous="NoBreak",e.OddPage="OddPage"}(n||(n={}));var r,o={Tab:"\t",Paragraph:"\n",LineBreak:"\v",PageBreak:"\f",ColumnBreak:"",Image:"",Table:"",Row:"",Cell:"",Marker_Start:"",Marker_End:"",Field_Separator:"",Section_Break:""},s=function(e,t,i){this.id=e,this.commentProperties=t,this.text=i},a=m(766),l=function(){function e(){this.keysInternal=[],this.valuesInternal=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.keysInternal.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.keysInternal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){return this.valuesInternal},enumerable:!0,configurable:!0}),e.prototype.add=function(e,t){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key or value is not valid.");return this.keysInternal.indexOf(e)<0&&(this.keysInternal.push(e),this.valuesInternal.push(t)),1},e.prototype.get=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);return t<0||t>this.keysInternal.length-1?void 0:this.valuesInternal[t]},e.prototype.set=function(e,t){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var i=this.keysInternal.indexOf(e);if(i<0||i>this.keysInternal.length-1)throw new RangeError("No item with the specified key has been added.");this.valuesInternal[i]=t},e.prototype.remove=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);if(t<0||t>this.keysInternal.length-1)throw new RangeError("No item with the specified key has been added.");return this.keysInternal.splice(t,1),this.valuesInternal.splice(t,1),!0},e.prototype.containsKey=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);return!(t<0||t>this.keysInternal.length-1)},e.prototype.clear=function(){this.keysInternal=[],this.valuesInternal=[]},e.prototype.destroy=function(){this.clear(),this.keysInternal=void 0,this.valuesInternal=void 0},e}(),d=function(){function e(e){this.referenceCount=0,this.uniqueFormatType=e,this.propertiesHash=new l}return e.prototype.isEqual=function(e,t,i){var n=!1;switch(this.uniqueFormatType){case 1:n=this.isBorderEqual(e,t,i);break;case 2:n=this.isCharacterFormatEqual(e,t,i);break;case 3:n=this.isParagraphFormatEqual(e,t,i);break;case 4:n=this.isCellFormatEqual(e,t,i);break;case 5:n=this.isShadingEqual(e,t,i);break;case 6:n=this.isRowFormatEqual(e,t,i);break;case 7:n=this.isListFormatEqual(e,t,i);break;case 8:n=this.isTableFormatEqual(e,t,i);break;case 9:n=this.isListLevelEqual(e,t,i);break;case 10:n=this.isSectionFormatEqual(e,t,i);break;case 11:n=this.isColumnFormatEqual(e,t,i)}return n},e.prototype.isNotEqual=function(t,i,n,r,o){var s=void 0,l=e.getPropertyType(o,t);this.propertiesHash.containsKey(l)&&(s=this.propertiesHash.get(l));var d=void 0;return t===n?d=r:i.containsKey(l)&&(d=i.get(l)),!(s===d||!(0,a.isNullOrUndefined)(s)&&!(0,a.isNullOrUndefined)(d)&&s===d)},e.getPropertyType=function(e,t){var i=0;switch(e){case 1:i=this.getBorderPropertyType(t);break;case 2:i=this.getCharacterFormatPropertyType(t);break;case 3:i=this.getParaFormatPropertyType(t);break;case 4:i=this.getCellFormatPropertyType(t);break;case 5:i=this.getShadingPropertyType(t);break;case 6:i=this.getRowFormatType(t);break;case 7:i=this.getListFormatType(t);break;case 8:i=this.getTableFormatType(t);break;case 9:i=this.getListLevelType(t);break;case 10:i=this.getSectionFormatType(t);break;case 11:i=this.getColumnFormatType(t)}return i},e.getRowFormatType=function(e){switch(e){case"allowBreakAcrossPages":return 1;case"isHeader":return 2;case"height":return 3;case"heightType":return 4;case"gridBefore":return 5;case"gridBeforeWidth":return 6;case"gridBeforeWidthType":return 7;case"gridAfter":return 8;case"gridAfterWidth":return 9;case"gridAfterWidthType":return 10;case"leftMargin":return 11;case"topMargin":return 12;case"bottomMargin":return 13;case"rightMargin":return 14;case"leftIndent":return 15;default:return 0}},e.getListFormatType=function(e){switch(e){case"listId":return 1;case"listLevelNumber":return 2;case"nsid":return 3;default:return 0}},e.getTableFormatType=function(e){switch(e){case"leftMargin":return 1;case"rightMargin":return 2;case"topMargin":return 3;case"bottomMargin":return 4;case"cellSpacing":return 5;case"leftIndent":return 6;case"tableAlignment":return 7;case"preferredWidth":return 8;case"preferredWidthType":return 9;case"bidi":return 10;case"allowAutoFit":return 11;case"horizontalPositionAbs":return 12;case"horizontalPosition":return 13;default:return 0}},e.getListLevelType=function(e){switch(e){case"listLevelPattern":return 1;case"startAt":return 2;case"followCharacter":return 3;case"numberFormat":return 4;case"restartLevel":return 5;case"isLegalStyleNumbering":return 6;case"paraStyleName":return 7;default:return 0}},e.getShadingPropertyType=function(e){switch(e){case"backgroundColor":return 1;case"foregroundColor":return 2;case"textureStyle":return 3;default:return 0}},e.getCellFormatPropertyType=function(e){switch(e){case"leftMargin":return 1;case"rightMargin":return 2;case"topMargin":return 3;case"bottomMargin":return 4;case"columnSpan":return 5;case"rowSpan":return 6;case"verticalAlignment":return 7;case"preferredWidthType":return 8;case"preferredWidth":return 9;case"cellWidth":return 10;default:return 0}},e.getBorderPropertyType=function(e){switch(e){case"color":return 1;case"lineStyle":return 2;case"lineWidth":return 3;case"shadow":return 4;case"space":return 5;case"hasNoneStyle":return 6;default:return 0}},e.getCharacterFormatPropertyType=function(e){switch(e){case"fontColor":return 1;case"fontFamily":return 2;case"fontSize":return 3;case"bold":return 4;case"italic":return 5;case"underline":return 6;case"strikethrough":return 7;case"baselineAlignment":return 8;case"highlightColor":return 9;case"bidi":return 10;case"bdo":return 11;case"boldBidi":return 12;case"italicBidi":return 13;case"fontFamilyBidi":return 14;case"fontSizeBidi":return 15;case"allCaps":return 16;case"localeIdBidi":return 17;case"complexScript":return 18;case"fontFamilyFarEast":return 19;case"fontFamilyAscii":return 20;case"fontFamilyNonFarEast":return 21;case"localeIdAscii":return 22;case"localeIdFarEast":return 23;case"characterSpacing":return 24;case"scaling":return 25;case"hidden":return 26;case"underlineColor":return 27;case"fontHintType":return 28;case"ligature":return 29;default:return 0}},e.getParaFormatPropertyType=function(e){switch(e){case"leftIndent":return 1;case"rightIndent":return 2;case"firstLineIndent":return 3;case"textAlignment":return 4;case"beforeSpacing":return 5;case"afterSpacing":return 6;case"lineSpacing":return 7;case"lineSpacingType":return 8;case"outlineLevel":return 9;case"bidi":return 10;case"contextualSpacing":return 11;case"keepWithNext":return 12;case"keepLinesTogether":return 13;case"widowControl":return 14;case"spaceBeforeAuto":return 15;case"spaceAfterAuto":return 16;default:return 0}},e.getColumnFormatType=function(e){switch(e){case"width":return 1;case"space":return 2;default:return 0}},e.getSectionFormatType=function(e){switch(e){case"headerDistance":return 1;case"footerDistance":return 2;case"differentFirstPage":return 3;case"differentOddAndEvenPages":return 4;case"pageWidth":return 5;case"pageHeight":return 6;case"leftMargin":return 7;case"topMargin":return 8;case"rightMargin":return 9;case"bottomMargin":return 10;case"bidi":return 11;case"restartPageNumbering":return 12;case"pageStartingNumber":return 13;case"endnoteNumberFormat":return 14;case"endnotePosition":return 15;case"footNoteNumberFormat":return 16;case"footnotePosition":return 17;case"restartIndexForEndnotes":return 18;case"restartIndexForFootnotes":return 19;case"initialFootNoteNumber":return 20;case"initialEndNoteNumber":return 21;case"pageNumberStyle":return 22;case"numberOfColumns":return 23;case"equalWidth":return 24;case"lineBetweenColumns":return 25;case"columns":return 26;case"breakCode":return 27;default:return 0}},e.prototype.isBorderEqual=function(e,t,i){return!this.isNotEqual("color",e,t,i,1)&&(!this.isNotEqual("lineStyle",e,t,i,1)&&(!this.isNotEqual("lineWidth",e,t,i,1)&&(!this.isNotEqual("shadow",e,t,i,1)&&(!this.isNotEqual("space",e,t,i,1)&&!this.isNotEqual("hasNoneStyle",e,t,i,1)))))},e.prototype.isCharacterFormatEqual=function(e,t,i){return!this.isNotEqual("fontColor",e,t,i,2)&&(!this.isNotEqual("fontFamily",e,t,i,2)&&(!this.isNotEqual("fontSize",e,t,i,2)&&(!this.isNotEqual("bold",e,t,i,2)&&(!this.isNotEqual("italic",e,t,i,2)&&(!this.isNotEqual("underline",e,t,i,2)&&(!this.isNotEqual("strikethrough",e,t,i,2)&&(!this.isNotEqual("baselineAlignment",e,t,i,2)&&(!this.isNotEqual("highlightColor",e,t,i,2)&&(!this.isNotEqual("bidi",e,t,i,2)&&(!this.isNotEqual("bdo",e,t,i,2)&&(!this.isNotEqual("fontColor",e,t,i,2)&&(!this.isNotEqual("fontFamilyBidi",e,t,i,2)&&(!this.isNotEqual("fontSizeBidi",e,t,i,2)&&(!this.isNotEqual("boldBidi",e,t,i,2)&&(!this.isNotEqual("italicBidi",e,t,i,2)&&(!this.isNotEqual("allCaps",e,t,i,2)&&(!this.isNotEqual("localeIdBidi",e,t,i,2)&&(!this.isNotEqual("localeIdAscii",e,t,i,2)&&(!this.isNotEqual("localeIdFarEast",e,t,i,2)&&(!this.isNotEqual("complexScript",e,t,i,2)&&(!this.isNotEqual("hidden",e,t,i,2)&&(!this.isNotEqual("fontFamilyFarEast",e,t,i,2)&&(!this.isNotEqual("fontFamilyAscii",e,t,i,2)&&(!this.isNotEqual("fontFamilyNonFarEast",e,t,i,2)&&(!this.isNotEqual("characterSpacing",e,t,i,2)&&(!this.isNotEqual("scaling",e,t,i,2)&&(!this.isNotEqual("underlineColor",e,t,i,2)&&(!this.isNotEqual("ligature",e,t,i,2)&&!this.isNotEqual("fontHintType",e,t,i,2)))))))))))))))))))))))))))))},e.prototype.isParagraphFormatEqual=function(e,t,i){return!this.isNotEqual("leftIndent",e,t,i,3)&&(!this.isNotEqual("rightIndent",e,t,i,3)&&(!this.isNotEqual("firstLineIndent",e,t,i,3)&&(!this.isNotEqual("textAlignment",e,t,i,3)&&(!this.isNotEqual("beforeSpacing",e,t,i,3)&&(!this.isNotEqual("afterSpacing",e,t,i,3)&&(!this.isNotEqual("spaceBeforeAuto",e,t,i,3)&&(!this.isNotEqual("spaceAfterAuto",e,t,i,3)&&(!this.isNotEqual("lineSpacing",e,t,i,3)&&(!this.isNotEqual("lineSpacingType",e,t,i,3)&&(!this.isNotEqual("outlineLevel",e,t,i,3)&&(!this.isNotEqual("bidi",e,t,i,3)&&(!this.isNotEqual("contextualSpacing",e,t,i,3)&&(!this.isNotEqual("keepWithNext",e,t,i,3)&&(!this.isNotEqual("keepLinesTogether",e,t,i,3)&&!this.isNotEqual("widowControl",e,t,i,3)))))))))))))))},e.prototype.isCellFormatEqual=function(e,t,i){return!this.isNotEqual("leftMargin",e,t,i,4)&&(!this.isNotEqual("rightMargin",e,t,i,4)&&(!this.isNotEqual("topMargin",e,t,i,4)&&(!this.isNotEqual("bottomMargin",e,t,i,4)&&(!this.isNotEqual("columnSpan",e,t,i,4)&&(!this.isNotEqual("rowSpan",e,t,i,4)&&(!this.isNotEqual("verticalAlignment",e,t,i,4)&&(!this.isNotEqual("preferredWidthType",e,t,i,4)&&(!this.isNotEqual("preferredWidth",e,t,i,4)&&!this.isNotEqual("cellWidth",e,t,i,4)))))))))},e.prototype.isShadingEqual=function(e,t,i){return!this.isNotEqual("backgroundColor",e,t,i,5)&&(!this.isNotEqual("foregroundColor",e,t,i,5)&&!this.isNotEqual("textureStyle",e,t,i,5))},e.prototype.isRowFormatEqual=function(e,t,i){return!this.isNotEqual("allowBreakAcrossPages",e,t,i,6)&&(!this.isNotEqual("isHeader",e,t,i,6)&&(!this.isNotEqual("height",e,t,i,6)&&(!this.isNotEqual("heightType",e,t,i,6)&&(!this.isNotEqual("gridBefore",e,t,i,6)&&(!this.isNotEqual("gridBeforeWidth",e,t,i,6)&&(!this.isNotEqual("gridBeforeWidthType",e,t,i,6)&&(!this.isNotEqual("gridAfter",e,t,i,6)&&(!this.isNotEqual("gridAfterWidth",e,t,i,6)&&(!this.isNotEqual("gridAfterWidthType",e,t,i,6)&&(!this.isNotEqual("leftMargin",e,t,i,6)&&(!this.isNotEqual("topMargin",e,t,i,6)&&(!this.isNotEqual("bottomMargin",e,t,i,6)&&(!this.isNotEqual("rightMargin",e,t,i,6)&&!this.isNotEqual("leftIndent",e,t,i,6))))))))))))))},e.prototype.isListFormatEqual=function(e,t,i){return!this.isNotEqual("listId",e,t,i,7)&&(!this.isNotEqual("listLevelNumber",e,t,i,7)&&!this.isNotEqual("nsid",e,t,i,7))},e.prototype.isTableFormatEqual=function(e,t,i){return!this.isNotEqual("leftMargin",e,t,i,8)&&(!this.isNotEqual("rightMargin",e,t,i,8)&&(!this.isNotEqual("topMargin",e,t,i,8)&&(!this.isNotEqual("bottomMargin",e,t,i,8)&&(!this.isNotEqual("cellSpacing",e,t,i,8)&&(!this.isNotEqual("leftIndent",e,t,i,8)&&(!this.isNotEqual("tableAlignment",e,t,i,8)&&(!this.isNotEqual("preferredWidth",e,t,i,8)&&(!this.isNotEqual("preferredWidthType",e,t,i,8)&&(!this.isNotEqual("bidi",e,t,i,8)&&(!this.isNotEqual("allowAutoFit",e,t,i,8)&&(!this.isNotEqual("horizontalPositionAbs",e,t,i,8)&&!this.isNotEqual("horizontalPosition",e,t,i,8))))))))))))},e.prototype.isListLevelEqual=function(e,t,i){return!this.isNotEqual("listLevelPattern",e,t,i,9)&&(!this.isNotEqual("startAt",e,t,i,9)&&(!this.isNotEqual("followCharacter",e,t,i,9)&&(!this.isNotEqual("numberFormat",e,t,i,9)&&(!this.isNotEqual("paraStyleName",e,t,i,9)&&(!this.isNotEqual("restartLevel",e,t,i,9)&&!this.isNotEqual("isLegalStyleNumbering",e,t,i,9))))))},e.prototype.isSectionFormatEqual=function(e,t,i){return!this.isNotEqual("headerDistance",e,t,i,10)&&(!this.isNotEqual("footerDistance",e,t,i,10)&&(!this.isNotEqual("differentFirstPage",e,t,i,10)&&(!this.isNotEqual("differentOddAndEvenPages",e,t,i,10)&&(!this.isNotEqual("pageWidth",e,t,i,10)&&(!this.isNotEqual("pageHeight",e,t,i,10)&&(!this.isNotEqual("leftMargin",e,t,i,10)&&(!this.isNotEqual("topMargin",e,t,i,10)&&(!this.isNotEqual("rightMargin",e,t,i,10)&&(!this.isNotEqual("bottomMargin",e,t,i,10)&&(!this.isNotEqual("bidi",e,t,i,10)&&(!this.isNotEqual("restartPageNumbering",e,t,i,10)&&(!this.isNotEqual("pageStartingNumber",e,t,i,10)&&(!this.isNotEqual("endnoteNumberFormat",e,t,i,10)&&(!this.isNotEqual("endnotePosition",e,t,i,10)&&(!this.isNotEqual("footNoteNumberFormat",e,t,i,10)&&(!this.isNotEqual("footnotePosition",e,t,i,10)&&(!this.isNotEqual("restartIndexForEndnotes",e,t,i,10)&&(!this.isNotEqual("restartIndexForFootnotes",e,t,i,10)&&(!this.isNotEqual("initialFootNoteNumber",e,t,i,10)&&(!this.isNotEqual("initialEndNoteNumber",e,t,i,10)&&(!this.isNotEqual("pageNumberStyle",e,t,i,10)&&(!this.isNotEqual("numberOfColumns",e,t,i,10)&&(!this.isNotEqual("equalWidth",e,t,i,10)&&(!this.isNotEqual("lineBetweenColumns",e,t,i,10)&&!this.isNotEqual("breakCode",e,t,i,10)))))))))))))))))))))))))},e.prototype.isColumnFormatEqual=function(e,t,i){return!this.isNotEqual("width",e,t,i,11)&&!this.isNotEqual("space",e,t,i,11)},e.prototype.cloneItems=function(t,i,n,r){for(var o=e.getPropertyType(r,i),s=t.propertiesHash.keys,a=0;a<s.length;a++)s[a]===o?this.propertiesHash.add(o,n):this.propertiesHash.add(s[a],t.propertiesHash.get(s[a]));t.propertiesHash.containsKey(o)||this.propertiesHash.add(o,n)},e.prototype.mergeProperties=function(e){for(var t=e.cloneProperties(),i=this.propertiesHash.keys,n=0;n<i.length;n++)t.containsKey(i[n])||t.add(i[n],this.propertiesHash.get(i[n]));return t},e.prototype.cloneProperties=function(){for(var e=new l,t=this.propertiesHash.keys,i=0;i<t.length;i++)e.add(t[i],this.propertiesHash.get(t[i]));return e},e.prototype.destroy=function(){(0,a.isNullOrUndefined)(this.propertiesHash)||this.propertiesHash.destroy(),this.propertiesHash=void 0,this.referenceCount=void 0,this.uniqueFormatType=void 0},e}(),h=function(){function e(){this.items=[]}return e.prototype.addUniqueFormat=function(e,t){for(var i=void 0,n=0;n<this.items.length;n++)if(this.items[n].isEqual(e,void 0,void 0)){i=this.items[n];break}return(0,a.isNullOrUndefined)(i)?((i=new d(t)).propertiesHash=e,i.referenceCount=1,this.items.push(i)):i.referenceCount++,i},e.prototype.updateUniqueFormat=function(e,t,i){for(var n=void 0,r=0;r<this.items.length;r++)if(this.items[r].isEqual(e.propertiesHash,t,i)){n=this.items[r];break}return(0,a.isNullOrUndefined)(n)?((n=new d(e.uniqueFormatType)).cloneItems(e,t,i,e.uniqueFormatType),n.referenceCount=1,this.items.push(n)):n.referenceCount++,this.remove(e),n},e.prototype.remove=function(e){e.referenceCount--,e.referenceCount<=0&&(this.items.splice(this.items.indexOf(e),1),e.destroy(),e=void 0)},e.prototype.clear=function(){if((0,a.isNullOrUndefined)(this.items))for(var e=0;e<this.items.length;e++)this.items[e].destroy();this.items=[]},e.prototype.destroy=function(){this.clear(),this.items=void 0},e}(),c=function(){function e(){this.mode=!0}return e.prototype.send=function(e,t,i){var n=this;this.xmlHttpRequest=new XMLHttpRequest;var r=0;i=!!(0,a.isNullOrUndefined)(i)||i,(0,a.isNullOrUndefined)(t)||(this.xmlHttpRequest.withCredentials=t.withCredentials,r=t.timeout>=0?t.timeout:0,this.customHeaders=t.headers),this.xmlHttpRequest.onreadystatechange=function(){n.stateChange(n)},this.xmlHttpRequest.onerror=function(){n.error(n)},this.mode?this.sendRequest(e,r,i):setTimeout(function(){n.sendRequest(e,r,i)})},e.prototype.sendRequest=function(e,t,i){this.xmlHttpRequest.open("POST",this.url,i),i&&(this.xmlHttpRequest.timeout=t),this.contentType&&this.xmlHttpRequest.setRequestHeader("Content-Type",this.contentType),this.setCustomAjaxHeaders(),this.responseType&&(this.xmlHttpRequest.responseType=this.responseType);var n=e instanceof FormData?e:JSON.stringify(e);this.xmlHttpRequest.send(n)},e.prototype.stateChange=function(e){if(4===e.xmlHttpRequest.readyState&&200===e.xmlHttpRequest.status){var t={name:"onSuccess",data:this.responseType?e.xmlHttpRequest.response:e.xmlHttpRequest.responseText,readyState:e.xmlHttpRequest.readyState,status:e.xmlHttpRequest.status};e.successHandler(t)}else if(4===e.xmlHttpRequest.readyState&&200!==e.xmlHttpRequest.status){t={name:"onFailure",status:e.xmlHttpRequest.status,statusText:e.xmlHttpRequest.statusText,url:e.url};e.failureHandler(t)}},e.prototype.error=function(e){var t={name:"onError",status:this.xmlHttpRequest.status,statusText:this.xmlHttpRequest.statusText};e.errorHandler(t)},e.prototype.successHandler=function(e){return this.onSuccess&&this.onSuccess(e),e},e.prototype.failureHandler=function(e){return this.onFailure&&this.onFailure(e),e},e.prototype.errorHandler=function(e){return this.onError&&this.onError(e),e},e.prototype.setCustomAjaxHeaders=function(){for(var e=0;e<this.customHeaders.length;e++)for(var t=this.customHeaders[e],i=0,n=Object.keys(t);i<n.length;i++){var r=n[i];this.xmlHttpRequest.setRequestHeader(r,t[r])}},e}(),p="internalZoomFactorChange",u="contentChange",g="documentChange",v="selectionChange",y="zoomFactorChange",b="beforeFieldFill",w="afterFieldFill",C="afterFormFieldFill",x="beforeFormFieldFill",I="serviceFailure",k="viewChange",S="customContextMenuSelect",P="customContextMenuBeforeOpen",T="contentControl",F="beforeContentControlFill",H="afterContentControlFill",E="commentBegin",O="commentEnd",W="beforeCommentAction",N="commentDelete",B="beforeAcceptRejectChanges",L="beforePaneSwitch",D="requestNavigate",R="actionComplete",M="trackChange",A="searchResultsChange",U="keyDown",z="toolbarClick",V="beforeFileOpen",_="internalviewChange",q="beforeXmlHttpRequestSend",j="protectionTypeChange",G="internalDocumentEditorSettingsChange",K="internalStyleCollectionChange",X="internalAsyncPagesVisible",Z="Times New Roman",J="internalAutoResize",Y="beforeAutoResize",Q="trackChanges",$="internalOptionPaneChange",ee="documentLoadFailed",te="fileMenuItemClick",ie="beforePaste",ne="asyncPagesVisible",re="unsupportedBorderStyleClick",oe=["sections","sec"],se=["fontSubstitutionTable","fst"],ae=["characterFormat","cf"],le=["paragraphFormat","pf"],de=["lists","li"],he=["abstractLists","al"],ce=["background","bg"],pe=["styles","sty"],ue=["comments","cm"],ge=["revisions","r"],me=["customXml","cx"],fe=["defaultTabWidth","dtw"],ve=["formatting","fmt"],ye=["trackChanges","tc"],be=["protectionType","pt"],we=["enforcement","enf"],Ce=["hashValue","hv"],xe=["saltValue","sv"],Ie=["cryptProviderType","cpt"],ke=["cryptAlgorithmClass","cac"],Se=["cryptAlgorithmType","cat"],Pe=["cryptAlgorithmSid","cas"],Te=["cryptSpinCount","csc"],Fe=["dontUseHTMLParagraphAutoSpacing","dhtml"],He=["alignTablesRowByRow","atrr"],Ee=["formFieldShading","ffs"],Oe=["lastParagraphMarkCopied","lpmc"],We=["footnotes","fn"],Ne=["endnotes","en"],Be=["compatibilityMode","comp"],Le=["themeFontLanguages","tfl"],De=["themes","thm"],Re=["name","n"],Me=["basedOn","b"],Ae=["next","nx"],Ue=["link","l"],ze=["localeId","id"],Ve=["localeIdFarEast","idfe"],_e=["localeIdBidi","idbi"],qe=["bold","b"],je=["italic","i"],Ge=["ligature","lig"],Ke=["underline","u"],Xe=["underlineColor","uc"],Ze=["fontHintType","fht"],Je=["baselineAlignment","ba"],Ye=["strikethrough","st"],Qe=["highlightColor","hc"],$e=["fontSize","fsz"],et=["fontColor","fc"],tt=["fontFamily","ff"],it=["styleName","stn"],nt=["bidi","bi"],rt=["bdo","bdo"],ot=["breakClearType","bct"],st=["fontSizeBidi","fszbi"],at=["fontFamilyBidi","ffbi"],lt=["boldBidi","bbi"],dt=["italicBidi","ibi"],ht=["allCaps","ac"],ct=["complexScript","cs"],pt=["fontFamilyAscii","ffa"],ut=["fontFamilyFarEast","fffe"],gt=["fontFamilyNonFarEast","ffnfe"],mt=["revisionIds","rids"],ft=["listId","lid"],vt=["characterSpacing","csp"],yt=["scaling","sc"],bt=["listLevelNumber","lilno"],wt=["leftIndent","lin"],Ct=["rightIndent","rin"],xt=["firstLineIndent","fin"],It=["textAlignment","ta"],kt=["afterSpacing","as"],St=["beforeSpacing","bs"],Pt=["spaceAfterAuto","saa"],Tt=["spaceBeforeAuto","sba"],Ft=["lineSpacing","ls"],Ht=["lineSpacingType","lst"],Et=["listFormat","lif"],Ot=["keepWithNext","kwn"],Wt=["widowControl","wc"],Nt=["keepLinesTogether","klt"],Bt=["outlineLevel","ol"],Lt=["contextualSpacing","cs"],Dt=["borders","bdrs"],Rt=["tabs","tb"],Mt=["headerDistance","hd"],At=["footerDistance","fd"],Ut=["differentFirstPage","dfp"],zt=["differentOddAndEvenPages","doep"],Vt=["pageWidth","pw"],_t=["pageHeight","ph"],qt=["leftMargin","lm"],jt=["rightMargin","rm"],Gt=["topMargin","tm"],Kt=["bottomMargin","bm"],Xt=["restartPageNumbering","rpn"],Zt=["pageStartingNumber","psn"],Jt=["endnoteNumberFormat","enf"],Yt=["footNoteNumberFormat","fnf"],Qt=["restartIndexForFootnotes","rif"],$t=["restartIndexForEndnotes","rie"],ei=["initialFootNoteNumber","ifn"],ti=["initialEndNoteNumber","ien"],ii=["pageNumberStyle","pgns"],ni=["columns","cols"],ri=["numberOfColumns","ncols"],oi=["equalWidth","eqw"],si=["lineBetweenColumns","lbtc"],ai=["breakCode","bc"],li=["cellWidth","cw"],di=["columnSpan","colsp"],hi=["rowSpan","rwsp"],ci=["verticalAlignment","va"],pi=["allowBreakAcrossPages","abrk"],ui=["isHeader","hdr"],gi=["heightType","ht"],mi=["beforeWidth","bw"],fi=["afterWidth","aw"],vi=["gridBefore","gb"],yi=["gridBeforeWidth","gbw"],bi=["gridBeforeWidthType","gbwt"],wi=["gridAfter","ga"],Ci=["gridAfterWidth","gaw"],xi=["gridAfterWidthType","gawt"],Ii=["allowAutoFit","auft"],ki=["cellSpacing","csp"],Si=["shading","sd"],Pi=["tableAlignment","ta"],Ti=["preferredWidth","pw"],Fi=["preferredWidthType","pwt"],Hi=["horizontalPositionAbs","hpa"],Ei=["texture","t"],Oi=["backgroundColor","bgc"],Wi=["foregroundColor","fgc"],Ni=["shadow","sh"],Bi=["hasNoneStyle","hns"],Li=["vertical","v"],Di=["horizontal","h"],Ri=["diagonalUp","du"],Mi=["diagonalDown","dd"],Ai=["lineStyle","ls"],Ui=["lineWidth","lw"],zi=["layout","l"],Vi=["dataFormat","df"],_i=["yValue","y"],qi=["chartData","chd"],ji=["categoryXName","cx"],Gi=["line","l"],Ki=["foreColor","fc"],Xi=["pattern","pt"],Zi=["layoutX","x"],Ji=["layoutY","y"],Yi=["direction","dir"],Qi=["endStyle","est"],$i=["numberValue","no"],en=["markerStyle"