@syncfusion/ej2-richtexteditor
Version:
Essential JS 2 RichTextEditor component
10 lines • 1 MB
JavaScript
/*!
* filename: ej2-richtexteditor.min.js
* version : 29.1.37
* Copyright Syncfusion Inc. 2001 - 2024. 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("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionInputs"),require("SyncfusionButtons"),require("SyncfusionDropdowns"),require("SyncfusionFilemanager")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionNavigations","SyncfusionSplitbuttons","SyncfusionPopups","SyncfusionInputs","SyncfusionButtons","SyncfusionDropdowns","SyncfusionFilemanager"],t):"object"==typeof exports?exports.SyncfusionRichtexteditor=t(require("SyncfusionBase"),require("SyncfusionNavigations"),require("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionInputs"),require("SyncfusionButtons"),require("SyncfusionDropdowns"),require("SyncfusionFilemanager")):e.SyncfusionRichtexteditor=t(e.SyncfusionBase,e.SyncfusionNavigations,e.SyncfusionSplitbuttons,e.SyncfusionPopups,e.SyncfusionInputs,e.SyncfusionButtons,e.SyncfusionDropdowns,e.SyncfusionFilemanager)}(self,((e,t,n,i,o,r,s,a)=>(()=>{"use strict";var l={766:t=>{t.exports=e},741:e=>{e.exports=r},778:e=>{e.exports=s},771:e=>{e.exports=a},323:e=>{e.exports=o},215:e=>{e.exports=t},197:e=>{e.exports=i},295:e=>{e.exports=n}},d={};function c(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}};return l[e](n,n.exports,c),n.exports}c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};return(()=>{c.r(h),c.d(h,{ACTION:()=>Qs,ALIGNMENT_TYPE:()=>us,ALLOWED_ACTIONKEYS:()=>To,ALLOWED_TABLE_BLOCK_TAGS:()=>Os,AUDIO:()=>Xr,Alignments:()=>ba,Audio:()=>ml,AudioCommand:()=>Va,BLOCKQUOTE_LIST_HANDLE:()=>ra,BLOCK_TAGS:()=>gs,BaseQuickToolbar:()=>kd,BaseToolbar:()=>Ed,CLASS_AUDIO:()=>Ia,CLASS_AUDIO_BREAK:()=>La,CLASS_AUDIO_FOCUS:()=>Fa,CLASS_AUDIO_INLINE:()=>Aa,CLASS_AUDIO_WRAP:()=>Pa,CLASS_CAPTION:()=>xa,CLASS_CAPTION_INLINE:()=>Da,CLASS_CLICK_ELEM:()=>Ba,CLASS_EMBED_VIDEO_WRAP:()=>ja,CLASS_IMAGE_BREAK:()=>Oa,CLASS_IMAGE_CENTER:()=>Na,CLASS_IMAGE_INLINE:()=>Ma,CLASS_IMAGE_LEFT:()=>Ca,CLASS_IMAGE_RIGHT:()=>ya,CLASS_RTE_CAPTION:()=>wa,CLASS_VIDEO:()=>Ua,CLASS_VIDEO_BREAK:()=>ka,CLASS_VIDEO_CENTER:()=>Ta,CLASS_VIDEO_CLICK_ELEM:()=>Ra,CLASS_VIDEO_FOCUS:()=>qa,CLASS_VIDEO_INLINE:()=>za,CLASS_VIDEO_LEFT:()=>Sa,CLASS_VIDEO_RIGHT:()=>Ea,CLASS_VIDEO_WRAP:()=>Ha,CLEAR_COMMAND:()=>Ud,CLEAR_TYPE:()=>Es,CLS_ACTIVE:()=>fi,CLS_ALIGN_TB_BTN:()=>ki,CLS_AUDIOBREAK:()=>Zn,CLS_AUDIOINLINE:()=>di,CLS_AUDIOWRAP:()=>ni,CLS_AUD_FOCUS:()=>io,CLS_BACK:()=>_n,CLS_BACKGROUND_COLOR_DROPDOWN:()=>Ai,CLS_BACKGROUND_COLOR_PICKER:()=>Ii,CLS_BACKGROUND_COLOR_TARGET:()=>wi,CLS_BULLETFORMATLIST_TB_BTN:()=>Si,CLS_CAPINLINE:()=>ai,CLS_CAPTION:()=>ri,CLS_CLICKELEM:()=>ei,CLS_COLOR_CONTENT:()=>Di,CLS_COLOR_PALETTE:()=>Bi,CLS_CONTENT:()=>dn,CLS_COUNT:()=>hi,CLS_CUSTOM_TILE:()=>fo,CLS_DISABLED:()=>cn,CLS_DROPAREA:()=>co,CLS_DROPDOWN_BTN:()=>Rn,CLS_DROPDOWN_ICONS:()=>An,CLS_DROPDOWN_ITEMS:()=>Bn,CLS_DROPDOWN_POPUP:()=>Mn,CLS_ERROR:()=>ui,CLS_EXPAND_OPEN:()=>gi,CLS_FOCUS:()=>Kn,CLS_FONT_COLOR_DROPDOWN:()=>Mi,CLS_FONT_COLOR_PICKER:()=>Ri,CLS_FONT_COLOR_TARGET:()=>xi,CLS_FONT_NAME_TB_BTN:()=>Oi,CLS_FONT_SIZE_TB_BTN:()=>Li,CLS_FORMATS_TB_BTN:()=>Ti,CLS_FULL_SCREEN:()=>Cn,CLS_HIDE:()=>Wn,CLS_HR_SEPARATOR:()=>yi,CLS_ICONS:()=>mi,CLS_IMAGE_POP:()=>kn,CLS_IMGBREAK:()=>$n,CLS_IMGCENTER:()=>Jn,CLS_IMGINLINE:()=>li,CLS_IMGLEFT:()=>Yn,CLS_IMGRIGHT:()=>Xn,CLS_IMG_FOCUS:()=>no,CLS_IMG_INNER:()=>ho,CLS_IMG_RESIZE:()=>lo,CLS_INLINE:()=>bn,CLS_INLINE_DROPDOWN:()=>Dn,CLS_INLINE_POP:()=>wn,CLS_LIST_PRIMARY_CONTENT:()=>Ni,CLS_MAXIMIZE:()=>zn,CLS_MINIMIZE:()=>qn,CLS_NOCOLOR_ITEM:()=>go,CLS_NUMBERFORMATLIST_TB_BTN:()=>Ei,CLS_POP:()=>Sn,CLS_POPUP:()=>jn,CLS_POPUP_OPEN:()=>ao,CLS_QUICK_DROPDOWN:()=>Ln,CLS_QUICK_POP:()=>On,CLS_QUICK_TB:()=>Nn,CLS_RESIZE:()=>to,CLS_RM_WHITE_SPACE:()=>Gn,CLS_RTE:()=>an,CLS_RTE_CAPTION:()=>si,CLS_RTE_CONTAINER:()=>un,CLS_RTE_CONTENT:()=>In,CLS_RTE_DIALOG_MIN_HEIGHT:()=>Ji,CLS_RTE_DIALOG_UPLOAD:()=>uo,CLS_RTE_DRAG_IMAGE:()=>ro,CLS_RTE_ELEMENTS:()=>bi,CLS_RTE_EXPAND_TB:()=>yn,CLS_RTE_FIXED_TB_EXPAND:()=>Co,CLS_RTE_HIDDEN:()=>Wi,CLS_RTE_IMAGE:()=>eo,CLS_RTE_PASTE_CANCEL:()=>Yi,CLS_RTE_PASTE_KEEP_FORMAT:()=>Qi,CLS_RTE_PASTE_OK:()=>Xi,CLS_RTE_PASTE_PLAIN_FORMAT:()=>Gi,CLS_RTE_PASTE_REMOVE_FORMAT:()=>Ki,CLS_RTE_READONLY:()=>Ui,CLS_RTE_RES_CNT:()=>mo,CLS_RTE_RES_EAST:()=>Zi,CLS_RTE_RES_HANDLE:()=>$i,CLS_RTE_RES_WEST:()=>Eo,CLS_RTE_SOURCE_CODE_TXTAREA:()=>So,CLS_RTE_TABLE_RESIZE:()=>yo,CLS_RTE_TB_ENABLED:()=>No,CLS_RTE_UPLOAD_POPUP:()=>so,CLS_RTL:()=>ln,CLS_SCRIPT_SHEET:()=>hn,CLS_SEPARATOR:()=>Fn,CLS_SHOW:()=>Vn,CLS_STYLE_SHEET:()=>pn,CLS_TABLE:()=>bo,CLS_TABLE_BORDER:()=>vo,CLS_TABLE_MULTI_CELL:()=>ji,CLS_TABLE_SEL:()=>Pi,CLS_TABLE_SEL_END:()=>Hi,CLS_TB_ALT_BOR:()=>qi,CLS_TB_BOX_RES:()=>Vi,CLS_TB_BTN:()=>vi,CLS_TB_COL_RES:()=>zi,CLS_TB_DASH_BOR:()=>Fi,CLS_TB_EXTENDED:()=>Pn,CLS_TB_FIXED:()=>fn,CLS_TB_FLOAT:()=>gn,CLS_TB_INLINE:()=>vn,CLS_TB_IOS_FIX:()=>Ci,CLS_TB_ITEM:()=>Un,CLS_TB_ROW_RES:()=>_i,CLS_TB_STATIC:()=>Tn,CLS_TB_WRAP:()=>Hn,CLS_TEXT_POP:()=>xn,CLS_TEXT_QUICK_TB:()=>En,CLS_TOOLBAR:()=>mn,CLS_UPLOAD_FILES:()=>po,CLS_VIDEOBREAK:()=>oi,CLS_VIDEOINLINE:()=>ci,CLS_VIDEOWRAP:()=>ii,CLS_VID_CLICK_ELEM:()=>ti,CLS_VID_FOCUS:()=>oo,CLS_VISIBLE:()=>Qn,CLS_WARNING:()=>pi,ClearFormat:()=>Wd,ClearFormatExec:()=>Za,ColorPickerInput:()=>Od,ContentRender:()=>qr,Count:()=>wd,DEFAULT_TAG:()=>fs,DELETECOLUMN:()=>ns,DELETEROW:()=>ts,DESTROY:()=>la,DOMNode:()=>Vs,DialogRenderer:()=>El,DialogType:()=>n,DropDownButtons:()=>Sd,EMOJI_PICKER_ACTIONS:()=>sa,EditorManager:()=>rl,EmojiPicker:()=>sc,EmojiPickerAction:()=>il,ExecCommandCallBack:()=>Al,FORMAT_PAINTER_ACTIONS:()=>oa,FORMAT_TYPE:()=>Ks,FileManager:()=>oc,FormatPainter:()=>rc,FormatPainterActions:()=>ol,Formats:()=>fa,Formatter:()=>Ad,FullScreen:()=>cd,HTMLFormatter:()=>$d,HtmlEditor:()=>tc,HtmlToolbarStatus:()=>Zd,IGNORE_BLOCK_TAGS:()=>bs,IMAGE:()=>Gr,INDENT_TYPE:()=>ms,INSERTHTML_TYPE:()=>Cs,INSERT_COLUMN:()=>es,INSERT_ROW:()=>Zr,INSERT_TEXT_COMMAND:()=>Hd,INSERT_TEXT_TYPE:()=>Ns,INTERNAL_DESTROY:()=>da,IframeContentRender:()=>Ol,Image:()=>ul,ImageCommand:()=>_a,ImageInputSource:()=>i,ImportExport:()=>ac,Indents:()=>va,InsertHtml:()=>pa,InsertHtmlExec:()=>Ja,InsertMethods:()=>ca,InsertTextExec:()=>nl,IsFormatted:()=>Kr,KEY_DOWN:()=>Ws,KEY_DOWN_HANDLER:()=>Gs,KEY_UP:()=>Js,KEY_UP_HANDLER:()=>Ys,KeyboardEvents:()=>yl,LINK:()=>$r,LINK_COMMAND:()=>Id,LISTS_COMMAND:()=>Bd,LIST_TYPE:()=>Xs,Link:()=>pl,LinkCommand:()=>ga,Lists:()=>ma,MDFormats:()=>Fd,MDLink:()=>_d,MDLists:()=>jd,MDSelectionFormats:()=>qd,MDTable:()=>Vd,MD_TABLE:()=>Pd,MODEL_CHANGED:()=>Zs,MODEL_CHANGED_PLUGIN:()=>$s,MOUSE_DOWN:()=>aa,MS_WORD_CLEANUP:()=>ta,MS_WORD_CLEANUP_PLUGIN:()=>ea,MarkdownEditor:()=>Yd,MarkdownFormatter:()=>Xd,MarkdownParser:()=>Kd,MarkdownRender:()=>Ll,MarkdownSelection:()=>Dd,MarkdownToolbarStatus:()=>Md,MsWordPaste:()=>tl,NodeCutter:()=>ha,NodeSelection:()=>sl,ON_BEGIN:()=>na,PASTE_SOURCE:()=>Ts,PasteCleanup:()=>nc,PopupRenderer:()=>kl,QuickToolbar:()=>xd,REMOVETABLE:()=>is,Render:()=>zr,RenderType:()=>e,RendererFactory:()=>Ml,Resize:()=>ic,RichTextEditor:()=>Cd,SELECTION_TYPE:()=>ys,SELF_CLOSING_TAGS:()=>Ss,SPACE_ACTION:()=>ia,SelectionBasedExec:()=>Ya,SelectionCommands:()=>Xa,ServiceLocator:()=>Dl,SlashMenu:()=>Nd,TABLE:()=>Jr,TABLEHEADER:()=>os,TABLE_ALTERNATE:()=>cs,TABLE_BACKGROUND_COLOR:()=>hs,TABLE_BLOCK_TAGS:()=>vs,TABLE_DASHED:()=>ds,TABLE_HORIZONTAL_SPLIT:()=>ls,TABLE_MERGE:()=>ss,TABLE_MOVE:()=>ps,TABLE_VERTICAL_ALIGN:()=>rs,TABLE_VERTICAL_SPLIT:()=>as,Table:()=>Nl,TableCommand:()=>Qa,Toolbar:()=>Ld,ToolbarAction:()=>Td,ToolbarRenderer:()=>cl,ToolbarStatus:()=>ll,ToolbarType:()=>t,UndoRedoCommands:()=>zd,UndoRedoManager:()=>el,VIDEO:()=>Yr,Video:()=>fl,VideoCommand:()=>Wa,ViewSource:()=>Cl,XhtmlValidation:()=>ec,actionBegin:()=>$,actionComplete:()=>Z,actionSuccess:()=>te,afterImageDelete:()=>bt,afterKeyDown:()=>Gt,afterMediaDelete:()=>vt,afterPasteCleanup:()=>wt,audioDelete:()=>fe,audioToolbarAction:()=>j,autoResize:()=>Zt,beforeDialogClose:()=>tt,beforeDialogOpen:()=>Je,beforeDropDownItemRender:()=>U,beforeDropDownOpen:()=>Se,beforeFileUpload:()=>St,beforeImageDrop:()=>Lt,beforeImageUpload:()=>Et,beforePasteCleanup:()=>xt,beforeQuickToolbarOpen:()=>it,bindCssClass:()=>qt,bindOnEnd:()=>N,blockEmptyNodes:()=>en,checkUndo:()=>Ke,cleanupInternalElements:()=>Hr,cleanupResizeElements:()=>Kt,clearDialogObj:()=>$e,closeAudioDialog:()=>Pt,closeImageDialog:()=>Ut,closeLinkDialog:()=>At,closeTableDialog:()=>Ft,closeTooltip:()=>$t,closeVideoDialog:()=>Ht,colorPickerChanged:()=>Ie,contentBlur:()=>we,contentChanged:()=>p,contentFocus:()=>xe,contentscroll:()=>Re,conversionFactors:()=>on,convertToBlob:()=>Ir,count:()=>ke,createTable:()=>Ve,created:()=>r,decode:()=>Ar,destroy:()=>f,destroyTooltip:()=>Wt,destroyed:()=>s,dialogClose:()=>nt,dialogOpen:()=>et,disableFullScreen:()=>R,dispatchEvent:()=>Tr,docClick:()=>We,documentClickClosedBy:()=>Yt,drop:()=>yt,dropDownSelect:()=>I,dynamicModule:()=>kt,editAreaClick:()=>Ae,editLink:()=>Y,emojiPicker:()=>Vt,enableFullScreen:()=>B,enterHandler:()=>Ye,execCommandCallBack:()=>P,executeGroup:()=>wl,expandPopupClick:()=>Le,fileRemoving:()=>gt,fileSelected:()=>pt,fileUploadFailed:()=>ft,fileUploadSuccess:()=>mt,fileUploading:()=>ut,focusChange:()=>Ue,formatPainterClick:()=>zt,formatPainterDoubleClick:()=>_t,getCollection:()=>Cr,getDefaultValue:()=>Dr,getDropDownValue:()=>mr,getEditValue:()=>xr,getFormattedFontSize:()=>gr,getIndex:()=>pr,getLocaleFontFormat:()=>Ur,getSelectedHtml:()=>je,getTBarItemsIndex:()=>Er,getTextNodesUnder:()=>Lr,getTooltipText:()=>vr,hasClass:()=>ur,hidePopup:()=>Qt,hideTableQuickToolbar:()=>Ze,htmlKeyConfig:()=>ws,htmlToolbarClick:()=>E,iframeMouseDown:()=>m,imageAlt:()=>ue,imageBreak:()=>ce,imageCaption:()=>be,imageCenter:()=>de,imageDelete:()=>me,imageInline:()=>he,imageLeft:()=>ae,imageLink:()=>pe,imageRemoving:()=>ht,imageResizeFactor:()=>Rs,imageRight:()=>le,imageSelected:()=>at,imageSize:()=>ve,imageToolbarAction:()=>H,imageUploadFailed:()=>ct,imageUploadSuccess:()=>dt,imageUploading:()=>lt,imgModule:()=>ze,initialEnd:()=>u,initialLoad:()=>d,inlineEmptyNodes:()=>tn,insertAudio:()=>oe,insertCompleted:()=>se,insertImage:()=>ie,insertLink:()=>G,insertVideo:()=>re,isEditableValueEmpty:()=>Mr,isIDevice:()=>fr,keyDown:()=>k,keyUp:()=>L,linkToolbarAction:()=>q,listConversionFilters:()=>As,load:()=>l,markdownFormatTags:()=>Ls,markdownKeyConfig:()=>Ds,markdownListsTags:()=>xs,markdownSelectionTags:()=>ks,markdownToolbarClick:()=>S,markerClassName:()=>_s,mentionRestrictKeys:()=>Is,modelChanged:()=>T,mouseDown:()=>De,mouseUp:()=>D,onExport:()=>w,onHandleFontsizeChange:()=>rn,onImport:()=>x,onResize:()=>V,openLink:()=>J,pageYOffset:()=>br,parseHelper:()=>Rr,parseHtml:()=>Or,paste:()=>qe,pasteClean:()=>Xe,pasteCleanupGroupingTags:()=>Ms,popupHide:()=>st,preventQuickToolbarClose:()=>sn,quickToolbarClose:()=>rt,quickToolbarOpen:()=>ot,readOnlyMode:()=>Ge,redo:()=>K,refreshBegin:()=>y,removeSelectionClassStates:()=>jr,renderFileManager:()=>Ot,renderInlineToolbar:()=>Fe,renderQuickToolbar:()=>Ct,resetContentEditableElements:()=>Pr,resizeInitialized:()=>Tt,resizeStart:()=>_,resizeStop:()=>W,rtlMode:()=>_e,sanitizeHelper:()=>Br,scroll:()=>Be,selectAll:()=>Pe,selectRange:()=>He,selectionCommand:()=>Rd,selectionRestore:()=>Oe,selectionSave:()=>Te,selfClosingTags:()=>Bs,setAttributes:()=>dd,setToolbarStatus:()=>yr,showAudioDialog:()=>Rt,showColorPicker:()=>Jt,showImageDialog:()=>Bt,showLinkDialog:()=>Mt,showTableDialog:()=>jt,showVideoDialog:()=>It,slashMenuOpening:()=>v,sourceCode:()=>Ce,sourceCodeMouseDown:()=>Me,statusCollection:()=>al,supportedUnits:()=>nn,tableModulekeyUp:()=>O,tableToolbarAction:()=>Qe,tableclass:()=>a,toObjectLowerCase:()=>kr,toolbarClick:()=>g,toolbarCreated:()=>M,toolbarOpen:()=>Ee,toolbarRefresh:()=>b,toolbarRenderComplete:()=>A,toolbarUpdated:()=>C,unLink:()=>X,undo:()=>Q,updateDropDownFontFormatLocale:()=>Fr,updateDropdownContent:()=>Nr,updateSource:()=>Ne,updateTbItemsStatus:()=>Dt,updateTextNode:()=>wr,updateToolbarItem:()=>ne,updateUndoRedoStatus:()=>Sr,updateValueOnIdle:()=>Xt,updatedToolbarStatus:()=>ee,videoDelete:()=>ge,videoSize:()=>ye,videoToolbarAction:()=>F,windowResize:()=>z,xhtmlValidation:()=>Nt});var e,t,n,i,o=c(766),r="create",s="destroy",a="tableclass",l="load",d="initial-load",p="content-changed",u="initial-end",m="iframe-click",f="destroy",g="toolbarClick",b="toolbar-refresh",v="slash-menu-opening",y="refresh-begin",C="toolbar-updated",N="bind-on-end",E="html-toolbar-click",S="markdown-toolbar-click",T="model-changed",O="tableModulekeyUp",L="keyUp",k="keyDown",x="onImport",w="onExport",D="mouseUp",M="toolbarCreated",A="toolbarRenderComplete",B="enableFullScreen",R="disableFullScreen",I="dropDownSelect",U="beforeDropDownItemRender",P="execCommandCallBack",H="image-toolbar-action",j="audio-toolbar-action",F="video-toolbar-action",q="link-toolbar-action",z="resize",_="resizeStart",V="resizing",W="resizeStop",Q="undo",K="redo",G="insertLink",X="unLink",Y="editLink",J="openLink",$="actionBegin",Z="actionComplete",ee="updatedToolbarStatus",te="actionSuccess",ne="updateToolbarItem",ie="insertImage",oe="insertAudio",re="insertVideo",se="insertCompleted",ae="justifyLeft",le="justifyRight",de="justifyCenter",ce="break",he="inline",pe="insertImgLink",ue="imgAltText",me="delete",fe="delete",ge="delete",be="caption",ve="imageSize",ye="videoSize",Ce="sourceCode",Ne="updateSource",Ee="toolbarOpen",Se="beforeDropDownOpen",Te="selection-save",Oe="selection-restore",Le="expandPopupClick",ke="count",xe="contentFocus",we="contentBlur",De="mouseDown",Me="sourceCodeMouseDown",Ae="editAreaClick",Be="scroll",Re="contentscroll",Ie="colorPickerChanged",Ue="focusChange",Pe="selectAll",He="selectRange",je="getSelectedHtml",Fe="renderInlineToolbar",qe="paste-content",ze="imageModule",_e="rtl-mode",Ve="createTable",We="docClick",Qe="table-toolbar-action",Ke="checkUndoStack",Ge="readOnlyMode",Xe="pasteClean",Ye="enterHandler",Je="beforeDialogOpen",$e="clearDialogObj",Ze="hideTableQuickToolbar",et="dialogOpen",tt="beforeDialogClose",nt="dialogClose",it="beforeQuickToolbarOpen",ot="quickToolbarOpen",rt="quickToolbarClose",st="popupHide",at="imageSelected",lt="imageUploading",dt="imageUploadSuccess",ct="imageUploadFailed",ht="imageRemoving",pt="fileSelected",ut="fileUploading",mt="fileUploadSuccess",ft="fileUploadFailed",gt="fileRemoving",bt="afterImageDelete",vt="afterMediaDelete",yt="drop",Ct="renderQuickToolbar",Nt="xhtmlValidation",Et="beforeImageUpload",St="beforeFileUpload",Tt="resizeInitialized",Ot="renderFileManager",Lt="beforeImageDrop",kt="dynamicModule",xt="beforePasteCleanup",wt="afterPasteCleanup",Dt="updateTbItemsStatus",Mt="showLinkDialog",At="closeLinkDialog",Bt="showImageDialog",Rt="showAudioDialog",It="showVideoDialog",Ut="closeImageDialog",Pt="closeAudioDialog",Ht="closeVideoDialog",jt="showTableDialog",Ft="closeTableDialog",qt="bindCssClass",zt="formatPainterClick",_t="formatPainterDoubleClick",Vt="emojiPicker",Wt="destroyTooltip",Qt="hidePopup",Kt="cleanupResizeElements",Gt="afterKeyDown",Xt="updateValueOnIdle",Yt="documentClickClosedBy",Jt="showColorPicker",$t="closeTooltip",Zt="autoResize",en="address:empty, article:empty, aside:empty, blockquote:empty,\n details:empty, dd:empty, div:empty, dl:empty, dt:empty, fieldset:empty, footer:empty,form:empty, h1:empty,\n h2:empty, h3:empty, h4:empty, h5:empty, h6:empty, header:empty, hgroup:empty, li:empty, main:empty, nav:empty,\n noscript:empty, output:empty, p:empty, pre:empty, section:empty, td:empty, th:empty",tn="a:empty, abbr:empty, acronym:empty, b:empty, bdi:empty, bdo:empty, big:empty, button:empty,\ncanvas:empty, cite:empty, code:empty, data:empty, datalist:empty, del:empty, dfn:empty, em:empty, font:empty, i:empty, iframe:empty,\nins:empty, kbd:empty, label:empty, map:empty, mark:empty, meter:empty, noscript:empty, object:empty, output:empty, picture:empty, progress:empty,\nq:empty, ruby:empty, s:empty, samp:empty, script:empty, select:empty, slot:empty, small:empty, span:empty, strong:empty, strike:empty, sub:empty, sup:empty, svg:empty,\ntemplate:empty, textarea:empty, time:empty, u:empty, tt:empty, var:empty, wbr:empty",nn=["px","em","rem","pt","cm","mm","in","pc","vw","vh","vmin","vmax"],on={px:{px:1,em:.0625,rem:.0625,pt:.75,cm:.0264583,mm:.0026458,in:.0104167,pc:.0625,vw:.00625,vh:.00625,vmin:.00625,vmax:.00625},em:{px:16,em:1,rem:1,pt:12,cm:.423333,mm:.0423333,in:.166667,pc:.0625,vw:1,vh:1,vmin:1,vmax:1},rem:{px:16,em:1,rem:1,pt:12,cm:.423333,mm:.0423333,in:.166667,pc:.0625,vw:1,vh:1,vmin:1,vmax:1},pt:{px:1.33333,em:.0833333,rem:.0833333,pt:1,cm:.0352778,mm:.0035278,in:.0138889,pc:.0416667,vw:.00416667,vh:.00416667,vmin:.00416667,vmax:.00416667},cm:{px:37.7953,em:2.3622,rem:2.3622,pt:28.3465,cm:1,mm:.1,in:.393701,pc:.148148,vw:.0377953,vh:.0377953,vmin:.0377953,vmax:.0377953},mm:{px:3.77953,em:.23622,rem:.23622,pt:2.83465,cm:10,mm:1,in:.0393701,pc:.0148148,vw:.00377953,vh:.00377953,vmin:.00377953,vmax:.00377953},in:{px:96,em:6,rem:6,pt:72,cm:2.54,mm:25.4,in:1,pc:.375,vw:.09375,vh:.09375,vmin:.09375,vmax:.09375},pc:{px:16,em:1,rem:1,pt:12,cm:.423333,mm:.0423333,in:.166667,pc:1,vw:.0625,vh:.0625,vmin:.0625,vmax:.0625},vw:{px:160,em:10,rem:10,pt:120,cm:4.23333,mm:.423333,in:1.66667,pc:.625,vw:1,vh:1,vmin:1,vmax:1},vh:{px:160,em:10,rem:10,pt:120,cm:4.23333,mm:.423333,in:1.66667,pc:.625,vw:1,vh:1,vmin:1,vmax:1},vmin:{px:160,em:10,rem:10,pt:120,cm:4.23333,mm:.423333,in:1.66667,pc:.625,vw:1,vh:1,vmin:1,vmax:1},vmax:{px:160,em:10,rem:10,pt:120,cm:4.23333,mm:.423333,in:1.66667,pc:.625,vw:1,vh:1,vmin:1,vmax:1}},rn="onHandleFontsizeChange",sn="preventQuickToolbarClose",an="e-richtexteditor",ln="e-rtl",dn="e-content",cn="e-disabled",hn="rte-iframe-script-sheet",pn="rte-iframe-style-sheet",un="e-rte-container",mn="e-rte-toolbar",fn="e-rte-tb-fixed",gn="e-rte-tb-float",bn="e-rte-inline",vn="e-rte-tb-inline",yn="e-rte-tb-expand",Cn="e-rte-full-screen",Nn="e-rte-quick-toolbar",En="e-rte-text-quicktoolbar",Sn="e-rte-pop",Tn="e-tb-static",On="e-rte-quick-popup",Ln="e-quick-dropdown",kn="e-rte-image-popup",xn="e-rte-text-popup",wn="e-rte-inline-popup",Dn="e-rte-inline-dropdown",Mn="e-rte-dropdown-popup",An="e-rte-dropdown-icons",Bn="e-rte-dropdown-items",Rn="e-rte-dropdown-btn",In="e-rte-content",Un="e-toolbar-item",Pn="e-toolbar-extended",Hn="e-toolbar-wrapper",jn="e-popup",Fn="e-separator",qn="e-minimize",zn="e-maximize",_n="e-back",Vn="e-show",Wn="e-hide",Qn="e-visible",Kn="e-focused",Gn="e-remove-white-space",Xn="e-imgright",Yn="e-imgleft",Jn="e-imgcenter",$n="e-imgbreak",Zn="e-audio-break",ei="e-clickelem",ti="e-video-clickelem",ni="e-audio-wrap",ii="e-video-wrap",oi="e-video-break",ri="e-img-caption",si="e-rte-img-caption",ai="e-caption-inline",li="e-imginline",di="e-audio-inline",ci="e-video-inline",hi="e-rte-character-count",pi="e-warning",ui="e-error",mi="e-icons",fi="e-active",gi="e-expand-open",bi="e-rte-elements",vi="e-tbar-btn",yi="e-rte-horizontal-separator",Ci="e-tbar-ios-fixed",Ni="e-rte-list-primary-content",Ei="e-rte-numberformatlist-dropdown",Si="e-rte-bulletformatlist-dropdown",Ti="e-formats-tbar-btn",Oi="e-font-name-tbar-btn",Li="e-font-size-tbar-btn",ki="e-alignment-tbar-btn",xi="e-rte-fontcolor-element",wi="e-rte-backgroundcolor-element",Di="e-rte-color-content",Mi="e-rte-fontcolor-dropdown",Ai="e-rte-backgroundcolor-dropdown",Bi="e-rte-square-palette",Ri="e-rte-fontcolor-colorpicker",Ii="e-rte-backgroundcolor-colorpicker",Ui="e-rte-readonly",Pi="e-cell-select",Hi="e-cell-select-end",ji="e-multi-cells-select",Fi="e-dashed-border",qi="e-alternate-border",zi="e-column-resize",_i="e-row-resize",Vi="e-table-box",Wi="e-rte-hidden",Qi="e-rte-keepformat",Ki="e-rte-removeformat",Gi="e-rte-plainformat",Xi="e-rte-pasteok",Yi="e-rte-pastecancel",Ji="e-rte-dialog-minheight",$i="e-resize-handle",Zi="e-south-east",eo="e-rte-image",to="e-resize",no="e-img-focus",io="e-audio-focus",oo="e-video-focus",ro="e-rte-drag-image",so="e-rte-upload-popup",ao="e-popup-open",lo="e-img-resize",co="e-droparea",ho="e-img-inner",po="e-upload-files",uo="e-rte-dialog-upload",mo="e-rte-resize",fo="e-custom-tile",go="e-nocolor-item",bo="e-rte-table",vo="e-rte-table-border",yo="e-rte-table-resize",Co="e-rte-fixed-tb-expand",No="e-rte-toolbar-enabled",Eo="e-south-west",So="e-rte-srctextarea",To=["Enter","ArrowRight","ArrowLeft"];!function(e){e[e.Toolbar=0]="Toolbar",e[e.Content=1]="Content",e[e.Popup=2]="Popup",e[e.LinkToolbar=3]="LinkToolbar",e[e.TextToolbar=4]="TextToolbar",e[e.ImageToolbar=5]="ImageToolbar",e[e.AudioToolbar=6]="AudioToolbar",e[e.VideoToolbar=7]="VideoToolbar",e[e.InlineToolbar=8]="InlineToolbar",e[e.TableToolbar=9]="TableToolbar"}(e||(e={})),function(e){e.Expand="Expand",e.MultiRow="MultiRow",e.Scrollable="Scrollable"}(t||(t={})),function(e){e.InsertLink="InsertLink",e.InsertImage="InsertImage",e.InsertAudio="InsertAudio",e.InsertVideo="InsertVideo",e.InsertTable="InsertTable"}(n||(n={})),function(e){e.Uploaded="Uploaded",e.Dropped="Dropped",e.Pasted="Pasted"}(i||(i={}));var Oo=["alignments","formats","fontname","fontsize","fontcolor","backgroundcolor","align","display","audiolayoutoption","videolayoutoption","videoalign","tablerows","tablecolumns","tablecell","tablecellhorizontalalign","tablecellverticalalign","styles","numberformatlist","bulletformatlist"],Lo={alignments:{id:"Alignments",icon:"e-alignments",tooltip:"Alignments",command:"Alignments",subCommand:"Alignments"},justifyleft:{id:"JustifyLeft",icon:"e-justify-left",tooltip:"JustifyLeft",command:"Alignments",subCommand:"JustifyLeft"},justifycenter:{id:"JustifyCenter",icon:"e-justify-center",tooltip:"JustifyCenter",command:"Alignments",subCommand:"JustifyCenter"},justifyright:{id:"JustifyRight",icon:"e-justify-right",tooltip:"JustifyRight",command:"Alignments",subCommand:"JustifyRight"},justifyfull:{id:"JustifyFull",icon:"e-justify-full",tooltip:"JustifyFull",command:"Alignments",subCommand:"JustifyFull"},fontname:{id:"FontName",icon:"e-font-name",tooltip:"Font Name",command:"Font",subCommand:"FontName"},fontsize:{id:"FontSize",icon:"e-font-size",tooltip:"Font Size",command:"Font",subCommand:"FontSize"},fontcolor:{id:"FontColor",icon:"e-rte-font-color",tooltip:"Font Color",command:"Font",subCommand:"FontColor",value:"#ff0000ff"},backgroundcolor:{id:"BackgroundColor",icon:"e-background-color",tooltip:"Background Color",command:"Font",subCommand:"BackgroundColor",value:"#ffff00ff"},importword:{id:"ImportWord",icon:"e-rte-import-doc",tooltip:"Import from Word",command:"Import",subCommand:"ImportWord"},exportword:{id:"ExportWord",icon:"e-rte-export-doc",tooltip:"Export to Word",command:"Export",subCommand:"ExportWord"},exportpdf:{id:"ExportPdf",icon:"e-rte-export-pdf",tooltip:"Export to PDF",command:"Export",subCommand:"ExportPdf"},bold:{id:"Bold",icon:"e-bold",tooltip:"Bold",command:"Style",subCommand:"Bold"},italic:{id:"Italic",icon:"e-italic",tooltip:"Italic",command:"Style",subCommand:"Italic"},underline:{id:"Underline",icon:"e-underline",tooltip:"Underline",command:"Style",subCommand:"Underline"},strikethrough:{id:"StrikeThrough",icon:"e-strike-through",tooltip:"StrikeThrough",command:"Style",subCommand:"StrikeThrough"},clearformat:{id:"ClearFormat",icon:"e-clear-format",tooltip:"Clear Format",command:"Clear",subCommand:"ClearFormat"},clearall:{id:"ClearAll",icon:"e-clear-all",tooltip:"Clear All",command:"Clear",subCommand:"ClearAll"},cut:{id:"Cut",icon:"e-cut",tooltip:"Cut",command:"ClipBoard",subCommand:"Cut"},copy:{id:"Copy",icon:"e-copy",tooltip:"Copy",command:"ClipBoard",subCommand:"Copy"},paste:{id:"Paste",icon:"e-paste",tooltip:"Paste",command:"ClipBoard",subCommand:"Paste"},unorderedlist:{id:"UnorderedList",icon:"e-unorder-list",tooltip:"Bulleted List",command:"Lists",subCommand:"UL"},orderedlist:{id:"OrderedList",icon:"e-order-list",tooltip:"Numbered List",command:"Lists",subCommand:"OL"},numberformatlist:{id:"NumberFormatList",icon:"e-order-list",tooltip:"Number Format List",command:"NumberFormatList",subCommand:"NumberFormatList"},bulletformatlist:{id:"BulletFormatList",icon:"e-unorder-list",tooltip:"Bullet Format List",command:"BulletFormatList",subCommand:"BulletFormatList"},indent:{id:"Indent",icon:"e-indent",tooltip:"Increase Indent",command:"Indents",subCommand:"Indent"},outdent:{id:"Outdent",icon:"e-outdent",tooltip:"Decrease Indent",command:"Indents",subCommand:"Outdent"},undo:{id:"Undo",icon:"e-undo",tooltip:"Undo",command:"Actions",subCommand:"Undo"},redo:{id:"Redo",icon:"e-redo",tooltip:"Redo",command:"Actions",subCommand:"Redo"},superscript:{id:"SuperScript",icon:"e-super-script",tooltip:"Superscript",command:"Effects",subCommand:"SuperScript"},subscript:{id:"SubScript",icon:"e-sub-script",tooltip:"Subscript",command:"Effects",subCommand:"SubScript"},createlink:{id:"CreateLink",icon:"e-create-link",tooltip:"Insert Hyperlink",command:"Links",subCommand:"CreateLink"},openlink:{id:"OpenLink",icon:"e-open-link",tooltip:"Open Link",command:"Links",subCommand:"OpenLink"},editlink:{id:"EditLink",icon:"e-edit-link",tooltip:"Edit Link",command:"Links",subCommand:"EditLink"},removelink:{id:"RemoveLink",icon:"e-remove-link",tooltip:"Remove Link",command:"Links",subCommand:"RemoveLink"},image:{id:"Image",icon:"e-image",tooltip:"Insert Image",command:"Images",subCommand:"Image"},audio:{id:"Audio",icon:"e-audio",tooltip:"Insert Audio",command:"Audios",subCommand:"Audio"},video:{id:"Video",icon:"e-video",tooltip:"Insert Video",command:"Videos",subCommand:"Video"},filemanager:{id:"FileManager",icon:"e-rte-file-manager",tooltip:"File Manager",command:"Files",subCommand:"File"},createtable:{id:"CreateTable",icon:"e-create-table",tooltip:"Create Table",command:"Table",subCommand:"CreateTable"},removetable:{id:"removeTable",icon:"e-remove-table",tooltip:"Remove Table",command:"removeTable",subCommand:"removeTable"},replace:{id:"Replace",icon:"e-replace",tooltip:"Replace",command:"Images",subCommand:"Replace"},audioreplace:{id:"AudioReplace",icon:"e-audio-replace",tooltip:"Audio Replace",command:"Audios",subCommand:"AudioReplace"},audioremove:{id:"AudioRemove",icon:"e-audio-remove",tooltip:"Audio Remove",command:"Audios",subCommand:"AudioRemove"},audiolayoutoption:{id:"AudioLayoutOption",icon:"e-audio-display",tooltip:"Audio LayoutOption",command:"Audios",subCommand:"AudioLayoutOption"},videoreplace:{id:"VideoReplace",icon:"e-video-replace",tooltip:"Video Replace",command:"Videos",subCommand:"VideoReplace"},videoalign:{id:"VideoAlign",icon:"e-video-align",tooltip:"Video Align",command:"Videos",subCommand:"VideoAlign"},videoremove:{id:"VideoRemove",icon:"e-video-remove",tooltip:"Video Remove",command:"Videos",subCommand:"VideoRemove"},videolayoutoption:{id:"VideoLayoutOption",icon:"e-video-display",tooltip:"Video LayoutOption",command:"Videos",subCommand:"VideoLayoutOption"},videodimension:{id:"VideoDimension",icon:"e-video-dimension",tooltip:"Video Dimension",command:"Videos",subCommand:"VideoDimension"},align:{id:"Align",icon:"e-align",tooltip:"Align",command:"Images",subCommand:"Align"},caption:{id:"Caption",icon:"e-caption",tooltip:"Image Caption",command:"Images",subCommand:"Caption"},remove:{id:"Remove",icon:"e-remove",tooltip:"Remove",command:"Images",subCommand:"Remove"},openimagelink:{id:"OpenImageLink",icon:"e-open-link",tooltip:"Open Link",command:"Images",subCommand:"OpenImageLink"},editimagelink:{id:"EditImageLink",icon:"e-edit-link",tooltip:"Edit Link",command:"Images",subCommand:"EditImageLink"},removeimagelink:{id:"RemoveImageLink",icon:"e-remove-link",tooltip:"Remove Link",command:"Images",subCommand:"RemoveImageLink"},insertlink:{id:"InsertLink",icon:"e-insert-link",tooltip:"Insert Link",command:"Images",subCommand:"InsertLink"},display:{id:"Display",icon:"e-display",tooltip:"Display",command:"Images",subCommand:"Display"},alttext:{id:"AltText",icon:"e-alt-text",tooltip:"Alternative Text",command:"Images",subCommand:"AltText"},dimension:{id:"Dimension",icon:"e-img-dimension",tooltip:"Change Size",command:"Images",subCommand:"Dimension"},fullscreen:{id:"Maximize",icon:"e-maximize",tooltip:"Maximize",command:"View",subCommand:"Maximize"},maximize:{id:"Maximize",icon:"e-maximize",tooltip:"Maximize",command:"FullScreen",subCommand:"Maximize"},minimize:{id:"Minimize",icon:"e-minimize",tooltip:"Minimize",command:"FullScreen",subCommand:"Minimize"},lowercase:{id:"LowerCase",icon:"e-lower-case",tooltip:"Lower Case",command:"Casing",subCommand:"LowerCase"},uppercase:{id:"UpperCase",icon:"e-upper-case",tooltip:"Upper Case",command:"Casing",subCommand:"UpperCase"},print:{id:"Print",icon:"e-print",tooltip:"Print",command:"Print",subCommand:"Print"},formats:{id:"Formats",icon:"e-formats",tooltip:"Formats",command:"Formats",subCommand:"Formats"},sourcecode:{id:"SourceCode",icon:"e-source-code",tooltip:"Code View (Ctrl+Shift+H)",command:"SourceCode",subCommand:"SourceCode"},preview:{id:"Preview",icon:"e-preview",tooltip:"Preview (Ctrl+Shift+H)",command:"Preview",subCommand:"Preview"},viewside:{id:"ViewSide",icon:"e-view-side",tooltip:"ViewSide",command:"ViewSide",subCommand:"ViewSide"},insertcode:{id:"InsertCode",icon:"e-preformat-code",tooltip:"Insert Code",command:"Formats",subCommand:"Pre"},blockquote:{id:"Blockquote",icon:"e-blockquote",tooltip:"Blockquote",command:"Formats",subCommand:"blockquote"},tableheader:{id:"TableHeader",icon:"e-table-header",tooltip:"Table Header",command:"Table",subCommand:"TableHeader"},tableremove:{id:"TableRemove",icon:"e-table-remove",tooltip:"Table Remove",command:"Table",subCommand:"TableRemove"},tablerows:{id:"TableRows",icon:"e-table-rows",tooltip:"Table Rows",command:"Table",subCommand:"TableRows"},tablecolumns:{id:"TableColumns",icon:"e-table-columns",tooltip:"Table Columns",command:"Table",subCommand:"TableColumns"},tablecell:{id:"TableCell",icon:"e-table-cell",tooltip:"Table Cell",command:"Table",subCommand:"TableCell"},tablecellbackground:{id:"TableCellBackground",icon:"e-table-cell-background",tooltip:"Table Cell Background",command:"Table",subCommand:"TableCellBackground"},tablecellhorizontalalign:{id:"TableCellHorizontalAlign",icon:"e-table-cell-horizontalAlign",tooltip:"Table Cell HorizontalAlign",command:"Table",subCommand:"TableCellHorizontalAlign"},tablecellverticalalign:{id:"TableCellVerticalAlign",icon:"e-table-cell-verticalAlign",tooltip:"Table Cell VerticalAlign",command:"Table",subCommand:"TableCellVerticalAlign"},tableeditproperties:{id:"TableEditProperties",icon:"e-table-edit-properties",tooltip:"Table Edit Properties",command:"Table",subCommand:"TableEditProperties"},styles:{id:"Styles",icon:"e-table-styles",tooltip:"Styles",command:"Table",subCommand:"Styles"},formatpainter:{id:"FormatPainter",icon:"e-rte-format-painter",tooltip:"Format Painter",command:"FormatPainter",subCommand:"FormatPainter"},emojipicker:{id:"EmojiPicker",icon:"e-emoji",tooltip:"Emoji Icon",command:"EmojiPicker",subCommand:"EmojiPicker"},inlinecode:{id:"inlineCode",icon:"e-inline-code",tooltip:"inlineCode",command:"Style",subCommand:"InlineCode"}},ko=[{locale:"alignmentsDropDownLeft",value:"JustifyLeft"},{locale:"alignmentsDropDownCenter",value:"JustifyCenter"},{locale:"alignmentsDropDownRight",value:"JustifyRight"},{locale:"alignmentsDropDownJustify",value:"JustifyFull"}],xo=[{iconCss:"e-icons e-justify-left",text:"Align Left",command:"Alignments",subCommand:"JustifyLeft"},{iconCss:"e-icons e-justify-center",text:"Align Center",command:"Alignments",subCommand:"JustifyCenter"},{iconCss:"e-icons e-justify-right",text:"Align Right",command:"Alignments",subCommand:"JustifyRight"},{iconCss:"e-icons e-justify-full",text:"Align Justify",command:"Alignments",subCommand:"JustifyFull"}],wo=[{iconCss:"e-icons e-justify-left",command:"Images",subCommand:"JustifyLeft"},{iconCss:"e-icons e-justify-center",command:"Images",subCommand:"JustifyCenter"},{iconCss:"e-icons e-justify-right",command:"Images",subCommand:"JustifyRight"}],Do=[{iconCss:"e-icons e-justify-left",command:"Videos",subCommand:"JustifyLeft"},{iconCss:"e-icons e-justify-center",command:"Videos",subCommand:"JustifyCenter"},{iconCss:"e-icons e-justify-right",command:"Videos",subCommand:"JustifyRight"}],Mo=[{locale:"imageDisplayDropDownInline",value:"Inline"},{locale:"imageDisplayDropDownBreak",value:"Break"}],Ao=[{locale:"audioLayoutOptionDropDownInline",value:"Inline"},{locale:"audioLayoutOptionDropDownBreak",value:"Break"}],Bo=[{locale:"videoLayoutOptionDropDownInline",value:"Inline"},{locale:"videoLayoutOptionDropDownBreak",value:"Break"}],Ro=[{text:"Inline",cssClass:"e-inline",command:"Images",subCommand:"Inline"},{text:"Break",cssClass:"e-break",command:"Images",subCommand:"Break"}],Io=[{text:"Inline",cssClass:"e-audio-inline",command:"Audios",subCommand:"Inline"},{text:"Break",cssClass:"e-audio-break",command:"Audios",subCommand:"Break"}],Uo=[{text:"Inline",cssClass:"e-video-inline",command:"Videos",subCommand:"Inline"},{text:"Break",cssClass:"e-video-break",command:"Videos",subCommand:"Break"}],Po=[{iconCss:"e-icons e-cell-merge",text:"Merge cells",command:"Table",subCommand:"Merge"},{iconCss:"e-icons e-cell-horizontal-split",text:"Horizontal split",command:"Table",subCommand:"HorizontalSplit"},{iconCss:"e-icons e-cell-vertical-split",text:"Vertical split",command:"Table",subCommand:"VerticalSplit"}],Ho=[{locale:"tableInsertRowDropDownBefore",value:"InsertRowBefore"},{locale:"tableInsertRowDropDownAfter",value:"InsertRowAfter"},{locale:"tableInsertRowDropDownDelete",value:"DeleteRow"}],jo=[{iconCss:"e-icons e-insert-row-before",text:"Insert row before",command:"Table",subCommand:"InsertRowBefore"},{iconCss:"e-icons e-insert-row-after",text:"Insert row after",command:"Table",subCommand:"InsertRowAfter"},{iconCss:"e-icons e-delete-row",text:"Delete row",command:"Table",subCommand:"DeleteRow"}],Fo=[{locale:"tableInsertColumnDropDownLeft",value:"InsertColumnLeft"},{locale:"tableInsertColumnDropDownRight",value:"InsertColumnRight"},{locale:"tableInsertColumnDropDownDelete",value:"DeleteColumn"}],qo=[{iconCss:"e-icons e-insert-column-left",text:"Insert column left",command:"Table",subCommand:"InsertColumnLeft"},{iconCss:"e-icons e-insert-column-right",text:"Insert column right",command:"Table",subCommand:"InsertColumnRight"},{iconCss:"e-icons e-delete-column",text:"Delete column",command:"Table",subCommand:"DeleteColumn"}],zo=[{locale:"tableVerticalAlignDropDownTop",value:"AlignTop"},{locale:"tableVerticalAlignDropDownMiddle",value:"AlignMiddle"},{locale:"tableVerticalAlignDropDownBottom",value:"AlignBottom"}],_o=[{iconCss:"e-icons e-align-top",text:"Align Top",command:"Table",subCommand:"AlignTop"},{iconCss:"e-icons e-align-middle",text:"Align Middle",command:"Table",subCommand:"AlignMiddle"},{iconCss:"e-icons e-align-bottom",text:"Align Bottom",command:"Table",subCommand:"AlignBottom"}],Vo=[{locale:"tableStylesDropDownDashedBorder",value:"Dashed"},{locale:"tableStylesDropDownAlternateRows",value:"Alternate"}],Wo=[{text:"Dashed Borders",cssClass:"e-dashed-borders",command:"Table",subCommand:"Dashed"},{text:"Alternate Rows",cssClass:"e-alternate-rows",command:"Table",subCommand:"Alternate"}],Qo=["Bold","Italic","Underline","|","Formats","Alignments","Blockquote","OrderedList","UnorderedList","|","CreateLink","Image","|","SourceCode","Undo","Redo"],Ko=[{cssClass:"e-default",text:"Default",command:"Font",subCommand:"FontName",value:""},{cssClass:"e-segoe-ui",text:"Segoe UI",command:"Font",subCommand:"FontName",value:"Segoe UI"},{cssClass:"e-arial",text:"Arial",command:"Font",subCommand:"FontName",value:"Arial,Helvetica,sans-serif"},{cssClass:"e-georgia",text:"Georgia",command:"Font",subCommand:"FontName",value:"Georgia,serif"},{cssClass:"e-impact",text:"Impact",command:"Font",subCommand:"FontName",value:"Impact,Charcoal,sans-serif"},{cssClass:"e-tahoma",text:"Tahoma",command:"Font",subCommand:"FontName",value:"Tahoma,Geneva,sans-serif"},{cssClass:"e-times-new-roman",text:"Times New Roman",command:"Font",subCommand:"FontName",value:"Times New Roman,Times,serif"},{cssClass:"e-verdana",text:"Verdana",command:"Font",subCommand:"FontName",value:"Verdana,Geneva,sans-serif"}],Go=[{text:"Default",value:""},{text:"8 pt",value:"8pt"},{text:"10 pt",value:"10pt"},{text:"12 pt",value:"12pt"},{text:"14 pt",value:"14pt"},{text:"18 pt",value:"18pt"},{text:"24 pt",value:"24pt"},{text:"36 pt",value:"36pt"}],Xo=[{cssClass:"e-paragraph",text:"Paragraph",command:"Formats",subCommand:"P",value:"P"},{cssClass:"e-h1",text:"Heading 1",command:"Formats",subCommand:"H1",value:"H1"},{cssClass:"e-h2",text:"Heading 2",command:"Formats",subCommand:"H2",value:"H2"},{cssClass:"e-h3",text:"Heading 3",command:"Formats",subCommand:"H3",value:"H3"},{cssClass:"e-h4",text:"Heading 4",command:"Formats",subCommand:"H4",value:"H4"},{cssClass:"e-code",text:"preformatted",command:"Formats",subCommand:"Pre",value:"Pre"}],Yo={Custom:["","#000000","#e7e6e6","#44546a","#4472c4","#ed7d31","#a5a5a5","#ffc000","#70ad47","#ff0000","#f2f2f2","#808080","#cfcdcd","#d5dce4","#d9e2f3","#fbe4d5","#ededed","#fff2cc","#e2efd9","#ffcccc","#d9d9d9","#595959","#aeaaaa","#acb9ca","#b4c6e7","#f7caac","#dbdbdb","#ffe599","#c5e0b3","#ff8080","#bfbfbf","#404040","#747070","#8496b0","#8eaadb","#f4b083","#c9c9c9","#ffd966","#a8d08d","#ff3333","#a6a6a6","#262626","#3b3838","#323e4f","#2f5496","#c45911","#7b7b7b","#bf8f00","#538135","#b30000","#7f7f7f","#0d0d0d","#161616","#212934","#1f3763","#823b0b","#525252","#7f5f00","#375623","#660000"]},Jo={Custom:["","#000000","#ffff00","#00ff00","#00ffff","#0000ff","#ff0000","#000080","#800080","#996633","#f2f2f2","#808080","#ffffcc","#b3ffb3","#ccffff","#ccccff","#ffcccc","#ccccff","#ff80ff","#f2e6d9","#d9d9d9","#595959","#ffff80","#80ff80","#b3ffff","#8080ff","#ff8080","#8080ff","#ff00ff","#dfbf9f","#bfbfbf","#404040","#ffff33","#33ff33","#33ffff","#3333ff","#ff3333","#0000b3","#b300b3","#c68c53","#a6a6a6","#262626","#e6e600","#00b300","#009999","#000099","#b30000","#000066","#660066","#86592d","#7f7f7f","#0d0d0d","#999900","#006600","#006666","#000066","#660000","#00004d","#4d004d","#734d26"]},$o=[{text:"None",command:"Lists",subCommand:"NumberFormatList",value:"none"},{text:"Number",command:"Lists",subCommand:"NumberFormatList",value:"decimal"},{text:"Lower Greek",command:"Lists",subCommand:"NumberFormatList",value:"lowerGreek"},{text:"Lower Roman",command:"Lists",subCommand:"NumberFormatList",value:"lowerRoman"},{text:"Upper Alpha",command:"Lists",subCommand:"NumberFormatList",value:"upperAlpha"},{text:"Lower Alpha",command:"Lists",subCommand:"NumberFormatList",value:"lowerAlpha"},{text:"Upper Roman",command:"Lists",subCommand:"NumberFormatList",value:"upperRoman"}],Zo=[{text:"None",command:"Lists",subCommand:"BulletFormatList",value:"none"},{text:"Disc",command:"Lists",subCommand:"BulletFormatList",value:"disc"},{text:"Circle",command:"Lists",subCommand:"BulletFormatList",value:"circle"},{text:"Square",command:"Lists",subCommand:"BulletFormatList",value:"square"}];function er(e,t,n){for(var i=0;t.length>i;i++)if(t[i].value===n.subCommand)return e.localeObj.getConstant(t[i].locale);return n.text}var tr={CreateLink:"Ctrl+K",Image:"Ctrl+Shift+I",CreateTable:"Ctrl+Shift+E",Undo:"Ctrl+Z",Redo:"Ctrl+Y",Copy:"Ctrl+C",Cut:"Ctrl+X",Paste:"Ctrl+V",Bold:"Ctrl+B",Italic:"Ctrl+I",Underline:"Ctrl+U",StrikeThrough:"Ctrl+Shift+S",UpperCase:"Ctrl+Shift+U",LowerCase:"Ctrl+Shift+L",SuperScript:"Ctrl+Shift+=",SubScript:"Ctrl+=",SourceCode:"Ctrl+Shift+H",Maximize:"Ctrl+Shift+F",Minimize:"Esc",ClearFormat:"Ctrl+Shift+R",OL:"Ctrl+Shift+O",UL:"Ctrl+Alt+O",NumberFormatList:"Ctrl+Shift+O",BulletFormatList:"Ctrl+Alt+O",Audio:"Ctrl+Shift+A",Video:"Ctrl+Alt+V",Indent:"Ctrl+]",Outdent:"Ctrl+[","Decrease Fontsize":"Ctrl+Shift+<","Increase Fontsize":"Ctrl+Shift+>",JustifyCenter:"Ctrl+E",JustifyFull:"Ctrl+J",JustifyLeft:"Ctrl+L",JustifyRight:"Ctrl+R",FormatPainter:"Alt+Shift+C, Alt+Shift+V",InlineCode:"Ctrl+`"},nr=[{name:"Smilies & People",code:"1F600",iconCss:"e-emoji",icons:[{code:"1F600",desc:"Grinning face"},{code:"1F603",desc:"Grinning face with big eyes"},{code:"1F604",desc:"Grinning face with smiling eyes"},{code:"1F606",desc:"Grinning squinting face"},{code:"1F605",desc:"Grinning face with sweat"},{code:"1F602",desc:"Face with tears of joy"},{code:"1F923",desc:"Rolling on the floor laughing"},{code:"1F60A",desc:"Smiling face with smiling eyes"},{code:"1F607",desc:"Smiling face with halo"},{code:"1F642",desc:"Slightly smiling face"},{code:"1F643",desc:"Upside-down face"},{code:"1F60D",desc:"Smiling face with heart-eyes"},{code:"1F618",desc:"Face blowing a kiss"},{code:"1F61B",desc:"Face with tongue"},{code:"1F61C",desc:"Winking face with tongue"},{code:"1F604",desc:"Grinning face with smiling eyes"},{code:"1F469",desc:"Woman"},{code:"1F468",desc:"Man"},{code:"1F467",desc:"Girl"},{code:"1F466",desc:"Boy"},{code:"1F476",desc:"Baby"},{code:"1F475",desc:"Old woman"},{code:"1F474",desc:"Old man"},{code:"1F46E",desc:"Police officer"},{code:"1F477",desc:"Construction worker"},{code:"1F482",desc:"Guard"},{code:"1F575",desc:"Detective"},{code:"1F9D1",desc:"Cook"}]},{name:"Animals & Nature",code:"1F435",iconCss:"e-animals",icons:[{code:"1F436",desc:"Dog face"},{code:"1F431",desc:"Cat face"},{code:"1F42D",desc:"Mouse face"},{code:"1F439",desc:"Hamster face"},{code:"1F430",desc:"Rabbit face"},{code:"1F98A",desc:"Fox face"},{code:"1F43B",desc:"Bear face"},{code:"1F43C",desc:"Panda face"},{code:"1F428",desc:"Koala"},{code:"1F42F",desc:"Tiger face"},{code:"1F981",desc:"Lion face"},{code:"1F42E",desc:"Cow face"},{code:"1F437",desc:"Pig face"},{code:"1F43D",desc:"Pig nose"},{code:"1F438",desc:"Frog face"},{code:"1F435",desc:"Monkey face"},{code:"1F649",desc:"Hear-no-evil monkey"},{code:"1F64A",desc:"Speak-no-evil monkey"},{code:"1F412",desc:"Monkey"},{code:"1F414",desc:"Chicken"},{code:"1F427",desc:"Penguin"},{code:"1F426",desc:"Bird"},{code:"1F424",desc:"Baby chick"},{code:"1F986",desc:"Duck"},{code:"1F985",desc:"Eagle"}]},{name:"Food & Drink",code:"1F347",iconCss:"e-food-and-drinks",icons:[{code:"1F34E",desc:"Red apple"},{code:"1F34C",desc:"Banana"},{code:"1F347",desc:"Grapes"},{code:"1F353",desc:"Strawberry"},{code:"1F35E",desc:"Bread"},{code:"1F950",desc:"Croissant"},{code:"1F955",desc:"Carrot"},{code:"1F354",desc:"Hamburger"},{code:"1F355",desc:"Pizza"},{code:"1F32D",desc:"Hot dog"},{code:"1F35F",desc:"French fries"},{code:"1F37F",desc:"Popcorn"},{code:"1F366",desc:"Soft ice cream"},{code:"1F367",desc:"Shaved ice"},{code:"1F36A",desc:"Cookie"},{code:"1F382",desc:"Birthday cake"},{code:"1F370",desc:"Shortcake"},{code:"1F36B",desc:"Chocolate bar"},{code:"1F369",desc:"Donut"},{code:"1F36E",desc:"Custard"},{code:"1F36D",desc:"Lollipop"},{code:"1F36C",desc:"Candy"},{code:"1F377",desc:"Wine glass"},{code:"1F37A",desc:"Beer mug"},{code:"1F37E",desc:"Bottle with popping cork"}]},{name:"Activities",code:"1F383",iconCss:"e-activities",icons:[{code:"26BD",desc:"Soccer ball"},{code:"1F3C0",desc:"Basketball"},{code:"1F3C8",desc:"American football"},{code:"26BE",desc:"Baseball"},{code:"1F3BE",desc:"Tennis"},{code:"1F3D0",desc:"Volleyball"},{code:"1F3C9",desc:"Rugby football"},{code:"1F3B1",desc:"Pool 8 ball"},{code:"1F3D3",desc:"Ping pong"},{code:"1F3F8",desc:"Badminton"},{code:"1F94A",desc:"Boxing glove"},{code:"1F3CA",desc:"Swimmer"},{code:"1F3CB",desc:"Weightlifter"},{code:"1F6B4",desc:"Bicyclist"},{code:"1F6F9",desc:"Skateboard"},{code:"1F3AE",desc:"Video game"},{code:"1F579",desc:"Joystick"},{code:"1F3CF",desc:"Cricket"},{code:"1F3C7",desc:"Horse racing"},{code:"1F3AF",desc:"Direct hit"},{code:"1F3D1",desc:"Field hockey"},{code:"1F3B0",desc:"Slot machine"},{code:"1F3B3",desc:"Bowling"},{code:"1F3B2",desc:"Game die"},{code:"265F",desc:"Chess pawn"}]},{name:"Travel & Places",code:"1F30D",iconCss:"e-travel-and-places",icons:[{code:"2708",desc:"Airplane"},{code:"1F697",desc:"Automobile"},{code:"1F695",desc:"Taxi"},{code:"1F6B2",desc:"Bicycle"},{code:"1F68C",desc:"Bus"},{code:"1F682",desc:"Locomotive"},{code:"1F6F3",desc:"Passenger ship"},{code:"1F680",desc:"Rocket"},{code:"1F681",desc:"Helicopter"},{code:"1F6A2",desc:"Ship"},{code:"1F3DF",desc:"Stadium"},{code:"1F54C",desc:"Mosque"},{code:"26EA",desc:"Church"},{code:"1F6D5",desc:"Hindu Temple"},{code:"1F3D4",desc:"Snow-capped mountain"},{code:"1F3EB",desc:"School"},{code:"1F30B",desc:"Volcano"},{code:"1F3D6",desc:"Beach with umbrella"},{code:"1F3DD",desc:"Desert island"},{code:"1F3DE",desc:"National park"},{code:"1F3F0",desc:"Castle"},{code:"1F5FC",desc:"Tokyo tower"},{code:"1F5FD",desc:"Statue of liberty"},{code:"26E9",desc:"Shinto shrine"},{code:"1F3EF",desc:"Japanese castle"},{code:"1F3A2",desc:"Roller coaster"}]},{name:"Objects",code:"1F507",iconCss:"e-objects",icons:[{code:"1F4A1",desc:"Light bulb"},{code:"1F526",desc:"Flashlight"},{code:"1F4BB",desc:"Laptop computer"},{code:"1F5A5",desc:"Desktop computer"},{code:"1F5A8",desc:"Printer"},{code:"1F4F7",desc:"Camera"},{code:"1F4F8",desc:"Camera with flash"},{code:"1F4FD",desc:"Film projector"},{code:"1F3A5",desc:"Movie camera"},{code:"1F4FA",desc:"Television"},{code:"1F4FB",desc:"Radio"},{code:"1F50B",desc:"Battery"},{code:"231A",desc:"Watch"},{code:"1F4F1",desc:"Mobile phone"},{code:"260E",desc:"Telephone"},{code:"1F4BE",desc:"Floppy disk"},{code:"1F4BF",desc:"Optical disk"},{code:"1F4C0",desc:"Digital versatile disc"},{code:"1F4BD",desc:"Computer disk"},{code:"1F3A7",desc:"Headphone"},{code:"1F3A4",desc:"Microphone"},{code:"1F3B6",desc:"Multiple musical notes"},{code:"1F4DA",desc:"Books"}]},{name:"Symbols",code:"1F3E7",iconCss:"e-symbols",icons:[{code:"274C",desc:"Cross mark"},{code:"2714",desc:"Check mark"},{code:"26A0",desc:"Warning sign"},{code:"1F6AB",desc:"Prohibited"},{code:"2139",desc:"Information"},{code:"267B",desc:"Recycling symbol"},{code:"1F6AD",desc:"No smoking"},{code:"1F4F5",desc:"No mobile phones"},{code:"1F6AF",desc:"No littering"},{code:"1F6B3",desc:"No bicycles"},{code:"1F6B7",desc:"No pedestrians"},{code:"2795",desc:"Plus"},{code:"2796",desc:"Minus"},{code:"2797",desc:"Divide"},{code:"2716",desc:"Multiplication"},{code:"1F4B2",desc:"Dollar banknote"},{code:"1F4AC",desc:"Speech balloon"},{code:"2755",desc:"White exclamation mark"},{code:"2754",desc:"White question mark"},{code:"2764",desc:"Heart"}]}],ir={alignments:"Alignments",justifyLeft:"Align Left",justifyCenter:"Align Center",justifyRight:"Align Right",justifyFull:"Align Justify",fontName:"Font Name",fontSize:"Font Size",fontColor:"Font Color",backgroundColor:"Background Color",importWord:"Import from Word",exportWord:"Export to Word",exportPdf:"Export to PDF",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",clearFormat:"Clear Format",clearAll:"Clear All",cut:"Cut",copy:"Copy",paste:"Paste",unorderedList:"Bulleted List",orderedList:"Numbered List",indent:"Increase Indent",outdent:"Decrease Indent",undo:"Undo",redo:"Redo",superscript:"Superscript",subscript:"Subscript",createLink:"Insert Link",openLink:"Open Link",editLink:"Edit Link",removeLink:"Remove Link",image:"Insert Image",audio:"Insert Audio",video:"Insert Video",replace:"Replace",numberFormatList:"Number Format List",bulletFormatList:"Bullet Format List",audioReplace:"Replace",videoReplace:"Replace",videoAlign:"Align",videoDimension:"Dimension",audioRemove:"Remove",videoRemove:"Remove",audioLayoutOption:"Layout option",videoLayoutOption:"Layout option",align:"Align",caption:"Caption",remove:"Remove",insertLink:"Insert Link",display:"Display",altText:"Alternative text",dimension:"Change Size",fullscreen:"Maximize",maximize:"Maximize",minimize:"Minimize",lowerCase:"Lower Case",upperCase:"Upper Case",print:"Print",formats:"Formats",sourcecode:"Code View",preview:"Preview",viewside:"ViewSide",insertCode:"Insert Code",blockquote:"Blockquote",linkText:"Display text",linkTooltipLabel:"Title",linkWebUrl:"Web address",linkTitle:"Enter a title",linkurl:"https://example.com",linkOpenInNewWindow:"Open link in new window",linkHeader:"Insert Link",dialogInsert:"Insert",dialogCancel:"Cancel",dialogUpdate:"Update",imageHeader:"Insert Image",audioHeader:"Insert Audio",videoHeader:"Insert Video",imageLinkHeader:"You can also provide a link from the web",audioLinkHeader:"You can also provide a link from the web",videoLinkHeader:"Web URL",embedVideoLinkHeader:"Media Embed URL",mdimageLink:"Please provide a URL for your image",imageUploadMessage:"Drop image here or browse to upload",audioUploadMessage:"Drop an audio file or browse to upload",videoUploadMessage:"Drop a video file or browse to upload",imageDeviceUploadMessage:"Click here to upload",audioDeviceUploadMessage:"Click here to upload",videoDeviceUploadMessage:"Click here to upload",imageAlternateText:"Alternate Text",alternateHeader:"Alternative Text",browse:"Browse",imageUrl:"https://example.com/image.png",audioUrl:"https://example.com/audio.mp3",videoUrl:"https://example.com/video.mp4",webUrl:"Web URL",embedUrl:"Embed Code",imageCaption:"Caption",imageSizeHeader:"Image Size",videoSizeHeader:"Video Size",imageHeight:"Height",imageWidth:"Width",videoHeight:"Height",videoWidth:"Width",textPlaceholder:"Enter text",inserttablebtn:"Insert Table",tabledialogHeader:"Insert Table",tableWidth:"Width",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",columns:"Number of columns",rows:"Number of rows",tableRows:"Row",tableColumns:"Column",tableCellHorizontalAlign:"Table Cell Horizontal Align",tableCellVerticalAlign:"Vertical Align",createTable:"Create Table",removeTable:"Remove Table",tableHeader:"Header Row",