@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230803.0 → 0.0.0-nightly-20230804.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4207=['creator','fire','_config','\x22></span>','set','isActive','ck-suggestion__info','commentThreadInputView','delegate','description','span','importWord','ck-suggestion__actions','div','render','type','acceptSuggestion','commentThread','</span>','@external','getUserViewNotificationText','<p>','getExternalSuggestionNote','editorReady','execute','canAccept','EXTERNAL_IMPORT_WORD_SUGGESTION','title','ck-annotation__user','Accept\x20suggestion','name','authoredAt','push','isEnabled','_model','ck-annotation__content-wrapper','EXTERNAL_AVATAR','ck-annotation__info-name','getTemplate','ck-annotation__info-time','ck-annotation__actions','ck-comment__external','split','bindTemplate','discardButton','cancel','EXTERNAL_IMPORT_WORD_AVATAR','commentsListView','change:description','locale','ck-suggestion__user','_createButton','attributes','ck-annotation__main','.ck-annotation__content-wrapper','time','formatDateTime','element','_descriptionElement','disableComments','isExternal','createElement','extendTemplate','setTemplate','userView','Discard\x20suggestion','source','ck-suggestion-wrapper','EXTERNAL_SUGGESTION','author','ck-suggestion-wrapper--active','descriptionParts','ck-suggestion--discard','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-suggestion__main','innerHTML','join','editorDestroyed','content','ck-annotation__info','check','bind','ck-suggestion--accept','ck-annotation','canDiscard'];(function(_0x34c957,_0x4207c8){const _0x15d1b5=function(_0x279d4c){while(--_0x279d4c){_0x34c957['push'](_0x34c957['shift']());}};_0x15d1b5(++_0x4207c8);}(_0x4207,0x141));const _0x15d1=function(_0x34c957,_0x4207c8){_0x34c957=_0x34c957-0x0;let _0x15d1b5=_0x4207[_0x34c957];return _0x15d1b5;};import{getTranslation as _0x4155cd}from'../../utils/common-translations';import{default as _0x20f11e}from'./basesuggestionthreadview';import{ButtonView as _0x3bc324}from'ckeditor5/src/ui';import{icons as _0x2e3647}from'ckeditor5/src/core';import{trimHtml as _0x453cd1,UserView as _0x3cb6c}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x20f11e{constructor(_0x429268,_0x29a064,_0x42f187,_0x16052b){super(_0x429268,_0x29a064,_0x42f187,_0x16052b),this[_0x15d1('0x17')](_0x15d1('0x22'),''),this[_0x15d1('0xf')](_0x15d1('0x22'))['to'](this,_0x15d1('0x5'),_0x5ccf63=>_0x5ccf63&&_0x5ccf63[0x0]?_0x5ccf63[0x0][_0x15d1('0x22')]:''),this['bind'](_0x15d1('0x1c'))['to'](this,_0x15d1('0x5'),this,'isActive',(_0x52d7b8,_0x3ffbbe)=>{let _0x35c33e='';for(const _0x55840e of _0x52d7b8)_0x35c33e+=_0x15d1('0x28')+ai(_0x55840e[_0x15d1('0xc')],_0x55840e['color'])+'</p>';return _0x3ffbbe?_0x35c33e:_0x453cd1(_0x35c33e,{'limit':0x8c});}),this['_descriptionElement']=null,this['acceptButton']=this[_0x15d1('0x46')](_0x4155cd(_0x429268,_0x15d1('0x30')),_0x2e3647[_0x15d1('0xe')],_0x15d1('0x10'),_0x15d1('0x23'),'sw'),this['acceptButton'][_0x15d1('0xf')]('isEnabled')['to'](this,_0x15d1('0x2c')),this[_0x15d1('0x3f')]=this['_createButton'](_0x4155cd(_0x429268,_0x15d1('0x54')),_0x2e3647[_0x15d1('0x40')],_0x15d1('0x6'),'discardSuggestion','sw'),this[_0x15d1('0x3f')][_0x15d1('0xf')](_0x15d1('0x34'))['to'](this,_0x15d1('0x12')),this[_0x15d1('0x53')]=new _0x3cb6c(_0x429268,this['_model']['author'],this['getUserViewNotificationText']()),this[_0x15d1('0x53')][_0x15d1('0x51')]({'attributes':{'class':[_0x15d1('0x45'),_0x15d1('0x2f')]}}),this[_0x15d1('0x52')](this[_0x15d1('0x39')]());}['getTemplate'](){const _0x6d12fa=this[_0x15d1('0x3e')],_0x295434=[{'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x19'),_0x15d1('0xd')]},'children':[{'tag':'span','children':[{'text':this[_0x15d1('0x53')][_0x15d1('0x31')]}],'attributes':{'class':['ck-suggestion__info-name',_0x15d1('0x38')]}},{'tag':_0x15d1('0x4a'),'attributes':{'datetime':_0x6d12fa['to']('authoredAt'),'class':['ck-comment__info-time',_0x15d1('0x3a')]},'children':[{'text':_0x6d12fa['to'](_0x15d1('0x32'),_0x118b12=>this['_config'][_0x15d1('0x4b')](_0x118b12))}]}]},{'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x1f'),_0x15d1('0x3b')]},'children':[this['acceptButton'],this[_0x15d1('0x3f')]]},{'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x36')]}}];this[_0x15d1('0x35')][_0x15d1('0x4f')]&&_0x295434[_0x15d1('0x33')]({'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x3c')]},'children':[{'text':this[_0x15d1('0x29')]()}]});const _0x5d9715={'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x1'),_0x6d12fa['if'](_0x15d1('0x18'),_0x15d1('0x4')),_0x6d12fa['to'](_0x15d1('0x22'),_0x26dafe=>'ck-suggestion-'+_0x26dafe),this[_0x15d1('0x15')][_0x15d1('0x4e')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x15d1('0x35')]['id'],'data-thread-id':this['_model'][_0x15d1('0x24')]['id'],'data-author-id':this[_0x15d1('0x35')][_0x15d1('0x3')]['id'],'tabindex':-0x1},'children':[{'tag':_0x15d1('0x20'),'attributes':{'class':['ck-suggestion',_0x15d1('0x11')]},'children':[this[_0x15d1('0x53')],{'tag':_0x15d1('0x20'),'attributes':{'class':[_0x15d1('0x8'),_0x15d1('0x48')]},'children':_0x295434}]}]};return this[_0x15d1('0x42')]&&this['commentThreadInputView']&&(_0x5d9715['children'][_0x15d1('0x33')](this[_0x15d1('0x42')],this['commentThreadInputView']),this[_0x15d1('0x42')][_0x15d1('0x1b')](_0x15d1('0x2a'))['to'](this),this[_0x15d1('0x42')][_0x15d1('0x1b')]('editorDestroyed')['to'](this),this['commentThreadInputView'][_0x15d1('0x1b')]('editorReady')['to'](this),this[_0x15d1('0x1a')][_0x15d1('0x1b')](_0x15d1('0xb'))['to'](this)),_0x5d9715;}['render'](){super[_0x15d1('0x21')](),this['_descriptionElement']=this[_0x15d1('0x4c')]['querySelector'](_0x15d1('0x49')),this[_0x15d1('0x4d')][_0x15d1('0x9')]=this[_0x15d1('0x1c')],this['on'](_0x15d1('0x43'),(_0xdc3f4,_0x5ddf07,_0x464df7)=>{this[_0x15d1('0x4d')][_0x15d1('0x9')]=_0x464df7;});}['_createButton'](_0x319c5b,_0x2a4775,_0x1f59f7,_0x29194b,_0x1661c3){const _0x34e3a7=new _0x3bc324(this[_0x15d1('0x44')]);return _0x34e3a7[_0x15d1('0x17')]({'label':_0x319c5b,'icon':_0x2a4775,'tooltip':!0x0,'tooltipPosition':_0x1661c3}),_0x34e3a7[_0x15d1('0x51')]({'attributes':{'class':_0x1f59f7}}),_0x34e3a7['on'](_0x15d1('0x2b'),()=>{this[_0x15d1('0x14')](_0x29194b,this[_0x15d1('0x35')]['id']);}),_0x34e3a7;}[_0x15d1('0x29')](){return'importWord'===this[_0x15d1('0x35')][_0x15d1('0x47')][_0x15d1('0x26')][_0x15d1('0x0')]?_0x4155cd(this['locale'],_0x15d1('0x2d')):_0x4155cd(this[_0x15d1('0x44')],_0x15d1('0x2'));}[_0x15d1('0x27')](){return this[_0x15d1('0x35')][_0x15d1('0x4f')]?_0x15d1('0x1e')===this['_model'][_0x15d1('0x47')]['@external'][_0x15d1('0x0')]?_0x4155cd(this[_0x15d1('0x44')],_0x15d1('0x41'),this[_0x15d1('0x35')][_0x15d1('0x13')][_0x15d1('0x31')]):_0x4155cd(this[_0x15d1('0x44')],_0x15d1('0x37'),this[_0x15d1('0x35')][_0x15d1('0x13')][_0x15d1('0x31')]):null;}}function ai(_0x293743,_0x4aabb6){let _0x3729bb='';return _0x3729bb+=_0x293743[_0x15d1('0x3d')]('*')['map']((_0x11fb3f,_0x413366)=>_0x413366%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+ci(_0x11fb3f)+_0x15d1('0x25'):ci(_0x11fb3f))[_0x15d1('0xa')](''),_0x4aabb6&&(_0x3729bb+=_0x15d1('0x7')+_0x4aabb6['value']+'\x22\x20title=\x22'+_0x4aabb6[_0x15d1('0x2e')]+_0x15d1('0x16')),_0x3729bb;}function ci(_0x21fbcf){const _0x19c0d6=document[_0x15d1('0x50')](_0x15d1('0x1d'));return _0x19c0d6['innerText']=_0x21fbcf,_0x19c0d6[_0x15d1('0x9')];}
23
+ const _0x3e28=['getTemplate','innerText','join','.ck-annotation__content-wrapper','ck-suggestion','Accept\x20suggestion','ck-suggestion-wrapper','canAccept','isExternal','locale','acceptButton','\x22\x20title=\x22','discardButton','disableComments','time','\x22></span>','ck-annotation__info-time','ck-annotation','EXTERNAL_SUGGESTION','editorDestroyed','div','userView','ck-suggestion--discard','isEnabled','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion--disabled-comments','ck-suggestion__main','content','author','_descriptionElement','ck-suggestion__actions','change:description','innerHTML','ck-comment__external','ck-annotation__info-name','value','_config','commentsListView','push','description','querySelector','getUserViewNotificationText','bindTemplate','_createButton','</span>','importWord','commentThread','setTemplate','split','map','attributes','type','createElement','span','descriptionParts','name','@external','authoredAt','execute','element','ck-suggestion__info','render','delegate','check','_model','creator','ck-annotation__info','bind','isActive','ck-suggestion-wrapper--active','source','editorReady','getExternalSuggestionNote','ck-annotation__content-wrapper','ck-comment__info-time','commentThreadInputView','ck-suggestion-','title','EXTERNAL_AVATAR'];(function(_0x140bcb,_0x3e2835){const _0x2a9912=function(_0x18ab27){while(--_0x18ab27){_0x140bcb['push'](_0x140bcb['shift']());}};_0x2a9912(++_0x3e2835);}(_0x3e28,0xb8));const _0x2a99=function(_0x140bcb,_0x3e2835){_0x140bcb=_0x140bcb-0x0;let _0x2a9912=_0x3e28[_0x140bcb];return _0x2a9912;};import{getTranslation as _0x1ebc22}from'../../utils/common-translations';import{default as _0x1a1462}from'./basesuggestionthreadview';import{ButtonView as _0x553815}from'ckeditor5/src/ui';import{icons as _0x5620ba}from'ckeditor5/src/core';import{trimHtml as _0x21ec6d,UserView as _0x49f553}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x1a1462{constructor(_0x57d807,_0x3829e5,_0x35161f,_0x3fff3d){super(_0x57d807,_0x3829e5,_0x35161f,_0x3fff3d),this['set']('type',''),this['bind'](_0x2a99('0x1c'))['to'](this,_0x2a99('0x1f'),_0x36c116=>_0x36c116&&_0x36c116[0x0]?_0x36c116[0x0]['type']:''),this[_0x2a99('0x2c')](_0x2a99('0x10'))['to'](this,_0x2a99('0x1f'),this,_0x2a99('0x2d'),(_0x239a22,_0x1d5cc2)=>{let _0x58fba0='';for(const _0x1bd6e3 of _0x239a22)_0x58fba0+='<p>'+ai(_0x1bd6e3[_0x2a99('0x4')],_0x1bd6e3['color'])+'</p>';return _0x1d5cc2?_0x58fba0:_0x21ec6d(_0x58fba0,{'limit':0x8c});}),this[_0x2a99('0x6')]=null,this[_0x2a99('0x42')]=this[_0x2a99('0x14')](_0x1ebc22(_0x57d807,_0x2a99('0x3d')),_0x5620ba[_0x2a99('0x28')],'ck-suggestion--accept','acceptSuggestion','sw'),this['acceptButton'][_0x2a99('0x2c')](_0x2a99('0x4f'))['to'](this,_0x2a99('0x3f')),this[_0x2a99('0x44')]=this[_0x2a99('0x14')](_0x1ebc22(_0x57d807,'Discard\x20suggestion'),_0x5620ba['cancel'],_0x2a99('0x4e'),'discardSuggestion','sw'),this['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['userView']=new _0x49f553(_0x57d807,this[_0x2a99('0x29')]['author'],this['getUserViewNotificationText']()),this[_0x2a99('0x4d')]['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this[_0x2a99('0x18')](this[_0x2a99('0x38')]());}[_0x2a99('0x38')](){const _0x598a27=this[_0x2a99('0x13')],_0x246140=[{'tag':'div','attributes':{'class':[_0x2a99('0x25'),_0x2a99('0x2b')]},'children':[{'tag':'span','children':[{'text':this[_0x2a99('0x4d')][_0x2a99('0x20')]}],'attributes':{'class':['ck-suggestion__info-name',_0x2a99('0xb')]}},{'tag':_0x2a99('0x46'),'attributes':{'datetime':_0x598a27['to'](_0x2a99('0x22')),'class':[_0x2a99('0x33'),_0x2a99('0x48')]},'children':[{'text':_0x598a27['to'](_0x2a99('0x22'),_0x3c500f=>this[_0x2a99('0xd')]['formatDateTime'](_0x3c500f))}]}]},{'tag':'div','attributes':{'class':[_0x2a99('0x7'),'ck-annotation__actions']},'children':[this[_0x2a99('0x42')],this['discardButton']]},{'tag':_0x2a99('0x4c'),'attributes':{'class':[_0x2a99('0x32')]}}];this[_0x2a99('0x29')][_0x2a99('0x40')]&&_0x246140['push']({'tag':'div','attributes':{'class':[_0x2a99('0xa')]},'children':[{'text':this[_0x2a99('0x31')]()}]});const _0x15b476={'tag':'div','attributes':{'class':[_0x2a99('0x3e'),_0x598a27['if'](_0x2a99('0x2d'),_0x2a99('0x2e')),_0x598a27['to'](_0x2a99('0x1c'),_0xb97af6=>_0x2a99('0x35')+_0xb97af6),this[_0x2a99('0xd')][_0x2a99('0x45')]&&_0x2a99('0x2')],'data-suggestion-id':this[_0x2a99('0x29')]['id'],'data-thread-id':this[_0x2a99('0x29')][_0x2a99('0x17')]['id'],'data-author-id':this[_0x2a99('0x29')][_0x2a99('0x5')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2a99('0x4c'),'attributes':{'class':[_0x2a99('0x3c'),_0x2a99('0x49')]},'children':[this['userView'],{'tag':_0x2a99('0x4c'),'attributes':{'class':[_0x2a99('0x3'),'ck-annotation__main']},'children':_0x246140}]}]};return this[_0x2a99('0xe')]&&this[_0x2a99('0x34')]&&(_0x15b476['children'][_0x2a99('0xf')](this[_0x2a99('0xe')],this[_0x2a99('0x34')]),this[_0x2a99('0xe')]['delegate']('editorReady')['to'](this),this['commentsListView'][_0x2a99('0x27')](_0x2a99('0x4b'))['to'](this),this['commentThreadInputView'][_0x2a99('0x27')](_0x2a99('0x30'))['to'](this),this['commentThreadInputView'][_0x2a99('0x27')](_0x2a99('0x4b'))['to'](this)),_0x15b476;}[_0x2a99('0x26')](){super['render'](),this[_0x2a99('0x6')]=this[_0x2a99('0x24')][_0x2a99('0x11')](_0x2a99('0x3b')),this[_0x2a99('0x6')][_0x2a99('0x9')]=this['description'],this['on'](_0x2a99('0x8'),(_0x9d5e51,_0xb3f628,_0x1ac79e)=>{this[_0x2a99('0x6')][_0x2a99('0x9')]=_0x1ac79e;});}[_0x2a99('0x14')](_0x1cbade,_0x553ea5,_0x549c6e,_0x2b5b1c,_0x4a01bf){const _0x4f7d16=new _0x553815(this[_0x2a99('0x41')]);return _0x4f7d16['set']({'label':_0x1cbade,'icon':_0x553ea5,'tooltip':!0x0,'tooltipPosition':_0x4a01bf}),_0x4f7d16['extendTemplate']({'attributes':{'class':_0x549c6e}}),_0x4f7d16['on'](_0x2a99('0x23'),()=>{this[_0x2a99('0x0')](_0x2b5b1c,this[_0x2a99('0x29')]['id']);}),_0x4f7d16;}[_0x2a99('0x31')](){return _0x2a99('0x16')===this[_0x2a99('0x29')][_0x2a99('0x1b')][_0x2a99('0x21')][_0x2a99('0x2f')]?_0x1ebc22(this['locale'],_0x2a99('0x1')):_0x1ebc22(this[_0x2a99('0x41')],_0x2a99('0x4a'));}[_0x2a99('0x12')](){return this[_0x2a99('0x29')][_0x2a99('0x40')]?_0x2a99('0x16')===this[_0x2a99('0x29')][_0x2a99('0x1b')][_0x2a99('0x21')]['source']?_0x1ebc22(this[_0x2a99('0x41')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x2a99('0x29')][_0x2a99('0x2a')][_0x2a99('0x20')]):_0x1ebc22(this[_0x2a99('0x41')],_0x2a99('0x37'),this['_model'][_0x2a99('0x2a')]['name']):null;}}function ai(_0x58b0d1,_0x1e3b28){let _0x5b644e='';return _0x5b644e+=_0x58b0d1[_0x2a99('0x19')]('*')[_0x2a99('0x1a')]((_0x47cb87,_0x4626b5)=>_0x4626b5%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+ci(_0x47cb87)+_0x2a99('0x15'):ci(_0x47cb87))[_0x2a99('0x3a')](''),_0x1e3b28&&(_0x5b644e+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x1e3b28[_0x2a99('0xc')]+_0x2a99('0x43')+_0x1e3b28[_0x2a99('0x36')]+_0x2a99('0x47')),_0x5b644e;}function ci(_0x2a9e3a){const _0x583673=document[_0x2a99('0x1d')](_0x2a99('0x1e'));return _0x583673[_0x2a99('0x39')]=_0x2a9e3a,_0x583673[_0x2a99('0x9')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3bd8d9,_0x59033f,_0x2392fb){const t=_0x3bd8d9['t'];switch(_0x59033f){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x2392fb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2392fb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2392fb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2392fb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2392fb);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x2392fb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2392fb);case'*Format:*\x20replace\x20image\x20URL':return t('*Format:*\x20replace\x20image\x20URL');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2392fb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2392fb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2392fb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2392fb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2392fb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2392fb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2392fb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2392fb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2392fb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2392fb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2392fb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2392fb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2392fb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2392fb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2392fb);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x2392fb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2392fb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2392fb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2392fb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2392fb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2392fb);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2392fb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2392fb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2392fb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2392fb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2392fb);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2392fb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2392fb);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2392fb);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2392fb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2392fb);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x2392fb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2392fb);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x2392fb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2392fb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2392fb);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2392fb);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2392fb);default:return _0x59033f;}}
23
+ export function getTranslation(_0xdb6032,_0x1fe199,_0x10db03){const t=_0xdb6032['t'];switch(_0x1fe199){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x10db03);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x10db03);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x10db03);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x10db03);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x10db03);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x10db03);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x10db03);case'*Format:*\x20replace\x20image\x20URL':return t('*Format:*\x20replace\x20image\x20URL');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x10db03);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x10db03);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x10db03);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x10db03);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x10db03);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x10db03);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x10db03);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x10db03);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x10db03);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x10db03);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x10db03);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x10db03);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x10db03);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x10db03);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x10db03);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x10db03);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x10db03);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x10db03);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x10db03);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x10db03);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x10db03);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x10db03);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x10db03);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x10db03);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x10db03);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x10db03);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x10db03);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x10db03);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x10db03);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x10db03);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x10db03);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x10db03);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x10db03);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x10db03);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x10db03);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x10db03);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x10db03);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x10db03);default:return _0x1fe199;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b5a=['isInContent','deletion','add','type','color','getMarkers','replace','createPositionAt','isArray','createPositionBefore','isMultiRange','length','end','sort','schema','isTouching','content','createPositionAfter','getRange','change','push','execute','isIntersecting','isObject','map','createRange','isCollapsed','start'];(function(_0x5375b1,_0x3b5a83){const _0x1c1b53=function(_0x6594e7){while(--_0x6594e7){_0x5375b1['push'](_0x5375b1['shift']());}};_0x1c1b53(++_0x3b5a83);}(_0x3b5a,0x1c2));const _0x1c1b=function(_0x5375b1,_0x3b5a83){_0x5375b1=_0x5375b1-0x0;let _0x1c1b53=_0x3b5a[_0x5375b1];return _0x1c1b53;};export function normalizeDescription(_0x3bb633){return Array[_0x1c1b('0x6')](_0x3bb633)||(_0x3bb633=[_0x3bb633]),_0x3bb633[_0x1c1b('0x16')](_0x25b43e=>{const _0x1b1412=_0x25b43e[_0x1c1b('0xe')][_0x1c1b('0x4')](/\*/g,''),_0x22bace=_0x25b43e[_0x1c1b('0x2')]?'\x20[color\x20'+_0x25b43e[_0x1c1b('0x2')]['value']+']':'';return'['+_0x25b43e[_0x1c1b('0x1')]+']\x20'+_0x1b1412+_0x22bace;})['join'](';\x20');}export function sortSuggestions(_0x3321b7){return _0x3321b7[_0x1c1b('0xb')]((_0x56eaee,_0x2fbd8f)=>'deletion'==_0x56eaee[_0x1c1b('0x1')]&&_0x1c1b('0x1b')!=_0x2fbd8f[_0x1c1b('0x1')]?-0x1:_0x1c1b('0x1b')!=_0x56eaee[_0x1c1b('0x1')]&&_0x1c1b('0x1b')==_0x2fbd8f[_0x1c1b('0x1')]?0x1:0x0);}export function getSelectedSuggestions(_0x43b5b0,_0x56fa8b){const _0x251ae7=Array['from'](_0x43b5b0['getRanges']()),_0x543075=new Set();for(const _0x57381b of _0x56fa8b)if(_0x57381b['isInContent'])for(const _0x44c969 of _0x251ae7)for(const _0x331c8d of _0x57381b[_0x1c1b('0x3')]()){const _0x52a062=_0x331c8d[_0x1c1b('0x10')]();(_0x44c969[_0x1c1b('0x14')](_0x52a062)||_0x43b5b0[_0x1c1b('0x18')]&&!_0x57381b[_0x1c1b('0x8')]&&_0x57381b['next']&&_0x52a062['end'][_0x1c1b('0xd')](_0x44c969[_0x1c1b('0x19')]))&&_0x543075[_0x1c1b('0x0')](_0x57381b);}return _0x543075;}export function getRangesOfBlockGroups(_0x5cb5c0,_0x36393b){let _0x3c1999,_0x13290c=0x0;const _0x479172=[],_0x5cb2c2=_0x36393b[_0x1c1b('0xc')];for(;_0x13290c<_0x5cb5c0[_0x1c1b('0x9')];){const _0x417bff=_0x5cb5c0[_0x13290c],_0x347b43=_0x5cb5c0[_0x13290c+0x1];_0x3c1999||(_0x3c1999=_0x36393b[_0x1c1b('0x7')](_0x417bff)),co(_0x36393b,_0x417bff,_0x347b43)||(_0x479172[_0x1c1b('0x12')](_0x36393b[_0x1c1b('0x17')](_0x3c1999,_0x5cb2c2[_0x1c1b('0x15')](_0x417bff)?_0x36393b['createPositionAfter'](_0x417bff):_0x36393b[_0x1c1b('0x5')](_0x417bff,_0x1c1b('0xa')))),_0x3c1999=null),_0x13290c++;}return _0x479172;}function co(_0x18e541,_0x5c4197,_0x3fc8e8){if(!_0x3fc8e8)return!0x1;const _0x4e2d6a=_0x18e541[_0x1c1b('0xf')](_0x5c4197),_0x4b1d10=_0x18e541['createPositionBefore'](_0x3fc8e8);return _0x4e2d6a[_0x1c1b('0xd')](_0x4b1d10);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x22c095,_0x2002af,_0x2b434b){for(;_0x2b434b[_0x1c1b('0x9')];){const _0x41b22b=_0x2b434b['splice'](0x0,0x64);_0x22c095[_0x1c1b('0x11')](()=>{for(const _0x464b22 of _0x41b22b)_0x464b22[_0x1c1b('0x1a')]&&_0x2002af[_0x1c1b('0x13')](_0x464b22['id']);});}}
23
+ const _0x3979=['execute','isObject','next','color','value','isIntersecting','getRange','isInContent','createPositionBefore','push','replace','\x20[color\x20','add','type','map','isMultiRange','isArray','splice','deletion','createPositionAt','schema','length','join','end','content','createPositionAfter','getMarkers','from','sort','isTouching','start','createRange'];(function(_0xbc83e,_0x39796c){const _0x5edce9=function(_0x12045d){while(--_0x12045d){_0xbc83e['push'](_0xbc83e['shift']());}};_0x5edce9(++_0x39796c);}(_0x3979,0x67));const _0x5edc=function(_0xbc83e,_0x39796c){_0xbc83e=_0xbc83e-0x0;let _0x5edce9=_0x3979[_0xbc83e];return _0x5edce9;};export function normalizeDescription(_0x5cde89){return Array[_0x5edc('0x9')](_0x5cde89)||(_0x5cde89=[_0x5cde89]),_0x5cde89[_0x5edc('0x7')](_0x2a464b=>{const _0x429259=_0x2a464b[_0x5edc('0x11')][_0x5edc('0x3')](/\*/g,''),_0xef2cfb=_0x2a464b[_0x5edc('0x1c')]?_0x5edc('0x4')+_0x2a464b['color'][_0x5edc('0x1d')]+']':'';return'['+_0x2a464b['type']+']\x20'+_0x429259+_0xef2cfb;})[_0x5edc('0xf')](';\x20');}export function sortSuggestions(_0x40e92d){return _0x40e92d[_0x5edc('0x15')]((_0x436de0,_0xb16c16)=>'deletion'==_0x436de0[_0x5edc('0x6')]&&_0x5edc('0xb')!=_0xb16c16[_0x5edc('0x6')]?-0x1:'deletion'!=_0x436de0['type']&&_0x5edc('0xb')==_0xb16c16[_0x5edc('0x6')]?0x1:0x0);}export function getSelectedSuggestions(_0x3ddd34,_0x5bd50a){const _0x1e71bf=Array[_0x5edc('0x14')](_0x3ddd34['getRanges']()),_0xa90a16=new Set();for(const _0x24439f of _0x5bd50a)if(_0x24439f[_0x5edc('0x0')])for(const _0xe024c8 of _0x1e71bf)for(const _0x47ea0c of _0x24439f[_0x5edc('0x13')]()){const _0x3b08eb=_0x47ea0c[_0x5edc('0x1f')]();(_0xe024c8[_0x5edc('0x1e')](_0x3b08eb)||_0x3ddd34['isCollapsed']&&!_0x24439f[_0x5edc('0x8')]&&_0x24439f[_0x5edc('0x1b')]&&_0x3b08eb[_0x5edc('0x10')][_0x5edc('0x16')](_0xe024c8[_0x5edc('0x17')]))&&_0xa90a16[_0x5edc('0x5')](_0x24439f);}return _0xa90a16;}export function getRangesOfBlockGroups(_0x1961b0,_0x467f18){let _0x457355,_0x49d926=0x0;const _0x5614fa=[],_0x172521=_0x467f18[_0x5edc('0xd')];for(;_0x49d926<_0x1961b0[_0x5edc('0xe')];){const _0x4c0223=_0x1961b0[_0x49d926],_0x3c70cf=_0x1961b0[_0x49d926+0x1];_0x457355||(_0x457355=_0x467f18[_0x5edc('0x1')](_0x4c0223)),co(_0x467f18,_0x4c0223,_0x3c70cf)||(_0x5614fa[_0x5edc('0x2')](_0x467f18[_0x5edc('0x18')](_0x457355,_0x172521[_0x5edc('0x1a')](_0x4c0223)?_0x467f18[_0x5edc('0x12')](_0x4c0223):_0x467f18[_0x5edc('0xc')](_0x4c0223,_0x5edc('0x10')))),_0x457355=null),_0x49d926++;}return _0x5614fa;}function co(_0x3332bd,_0x1686cd,_0x29c572){if(!_0x29c572)return!0x1;const _0x2fa013=_0x3332bd[_0x5edc('0x12')](_0x1686cd),_0x7c5569=_0x3332bd['createPositionBefore'](_0x29c572);return _0x2fa013['isTouching'](_0x7c5569);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1d221a,_0x444ae1,_0x1a029b){for(;_0x1a029b[_0x5edc('0xe')];){const _0x47eb9b=_0x1a029b[_0x5edc('0xa')](0x0,0x64);_0x1d221a['change'](()=>{for(const _0x709ab8 of _0x47eb9b)_0x709ab8['isInContent']&&_0x444ae1[_0x5edc('0x19')](_0x709ab8['id']);});}}