@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230728.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 (68) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/gl.js +1 -1
  3. package/build/translations/sq.js +1 -0
  4. package/lang/translations/gl.po +23 -23
  5. package/lang/translations/sq.po +487 -0
  6. package/package.json +3 -3
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  11. package/src/commands/trackchangescommand.js +1 -1
  12. package/src/integrations/alignment.js +1 -1
  13. package/src/integrations/basicstyles.js +1 -1
  14. package/src/integrations/blockquote.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/documentlist.js +1 -1
  20. package/src/integrations/documentlistproperties.js +1 -1
  21. package/src/integrations/entercommand.js +1 -1
  22. package/src/integrations/findandreplace.js +1 -1
  23. package/src/integrations/font.js +1 -1
  24. package/src/integrations/formatpainter.js +1 -1
  25. package/src/integrations/heading.js +1 -1
  26. package/src/integrations/highlight.js +1 -1
  27. package/src/integrations/horizontalline.js +1 -1
  28. package/src/integrations/htmlembed.js +1 -1
  29. package/src/integrations/image.js +1 -1
  30. package/src/integrations/imagereplace.js +1 -1
  31. package/src/integrations/importword.js +1 -1
  32. package/src/integrations/indent.js +1 -1
  33. package/src/integrations/inputcommand.js +1 -1
  34. package/src/integrations/link.js +1 -1
  35. package/src/integrations/list.js +1 -1
  36. package/src/integrations/listproperties.js +1 -1
  37. package/src/integrations/mediaembed.js +1 -1
  38. package/src/integrations/mention.js +1 -1
  39. package/src/integrations/pagebreak.js +1 -1
  40. package/src/integrations/paragraph.js +1 -1
  41. package/src/integrations/removeformat.js +1 -1
  42. package/src/integrations/restrictededitingmode.js +1 -1
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.js +1 -1
  48. package/src/integrations/tableclipboard.js +1 -1
  49. package/src/integrations/tablecolumnresize.js +1 -1
  50. package/src/integrations/tableheadings.js +1 -1
  51. package/src/integrations/tablemergesplit.js +1 -1
  52. package/src/integrations/tableofcontents.js +1 -1
  53. package/src/integrations/tableproperties.js +1 -1
  54. package/src/integrations/template.js +1 -1
  55. package/src/integrations/title.js +1 -1
  56. package/src/integrations/undo.js +1 -1
  57. package/src/integrations/utils.js +1 -1
  58. package/src/suggestion.js +1 -1
  59. package/src/suggestiondescriptionfactory.js +1 -1
  60. package/src/trackchanges.js +1 -1
  61. package/src/trackchangesdata.js +1 -1
  62. package/src/trackchangesediting.js +1 -1
  63. package/src/trackchangesui.js +1 -1
  64. package/src/ui/suggestioncontroller.js +1 -1
  65. package/src/ui/view/basesuggestionthreadview.js +1 -1
  66. package/src/ui/view/suggestionthreadview.js +1 -1
  67. package/src/utils/common-translations.js +1 -1
  68. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8cc5=['hasDirtyComment','disabledSubmit','_localUser','value','delegate','_createCommentViews','removeComment','_config','addComment','isDirty','commentInputView','editor','_createCommentThreadInputView','isReadOnly','assign','bind','updateComment','fire','set','CommentView','element','focus','submit','commentThread','commentThreadInputView','_model','authoredAt','isEnabled','length','canDiscard','commentsListView','isActive','canAccept','locale','destroy'];(function(_0x1491d9,_0x8cc53b){const _0xec85b5=function(_0x348f21){while(--_0x348f21){_0x1491d9['push'](_0x1491d9['shift']());}};_0xec85b5(++_0x8cc53b);}(_0x8cc5,0xba));const _0xec85=function(_0x1491d9,_0x8cc53b){_0x1491d9=_0x1491d9-0x0;let _0xec85b5=_0x8cc5[_0x1491d9];return _0xec85b5;};import{View as _0x1877b6}from'ckeditor5/src/ui';export default class ii extends _0x1877b6{constructor(_0x417e7d,_0x58ca3e,_0x430b2b,_0x306688){super(_0x417e7d),this[_0xec85('0x13')]=null,this['commentThreadInputView']=null,this[_0xec85('0x7')](_0xec85('0x14'),!0x1),this['set'](_0xec85('0xf'),_0x58ca3e[_0xec85('0xf')]),this['bind'](_0xec85('0xf'))['to'](_0x58ca3e),this[_0xec85('0x7')]('descriptionParts',[]),this[_0xec85('0x7')](_0xec85('0x21'),!0x1),this[_0xec85('0x7')](_0xec85('0x10'),!0x1),this['set'](_0xec85('0x15'),!0x1),this[_0xec85('0x7')](_0xec85('0x12'),!0x1),this[_0xec85('0xe')]=_0x58ca3e,this[_0xec85('0x1a')]=_0x430b2b,this[_0xec85('0x1f')]=_0x306688,_0x306688['disableComments']?this[_0xec85('0x7')](_0xec85('0x11'),0x1):this[_0xec85('0x1d')]();}['focus'](){this[_0xec85('0x9')]['focus']();}[_0xec85('0x17')](){this[_0xec85('0x13')]&&this[_0xec85('0x13')][_0xec85('0x17')](),this[_0xec85('0xd')]&&this['commentThreadInputView'][_0xec85('0x17')](),super[_0xec85('0x17')]();}[_0xec85('0x1d')](){const {CommentsListView:_0x2d837f}=this['_config'];this['commentsListView']=new _0x2d837f(this[_0xec85('0x16')],this['_model'][_0xec85('0xc')],Object[_0xec85('0x3')]({'CommentView':this['_config'][_0xec85('0x8')]},this['_config'])),this[_0xec85('0x13')][_0xec85('0x1c')]('removeComment')['to'](this),this[_0xec85('0x13')]['delegate'](_0xec85('0x5'))['to'](this),this[_0xec85('0x13')][_0xec85('0x4')]('isActive')['to'](this),this[_0xec85('0x7')](_0xec85('0x11'),this[_0xec85('0x13')]['length']+0x1),this['bind'](_0xec85('0x11'))['to'](this['commentsListView'],_0xec85('0x11'),_0x184897=>_0x184897+0x1),this[_0xec85('0xd')]=this[_0xec85('0x1')](),this['on'](_0xec85('0x1e'),()=>this[_0xec85('0xa')]()),this[_0xec85('0x4')]('isDirty')['to'](this['commentsListView'],_0xec85('0x18'),this[_0xec85('0xd')]['commentInputView'],_0xec85('0x1b'),(_0x2c7d2a,_0xc378f9)=>_0x2c7d2a||!!_0xc378f9);}[_0xec85('0x1')](){const {CommentThreadInputView:_0x32b4a0}=this[_0xec85('0x1f')],_0x48cd8b=new _0x32b4a0(this[_0xec85('0x16')],this[_0xec85('0x1a')],this['_config']['editorConfig']),_0x5af6f8=_0x48cd8b[_0xec85('0x22')];return _0x48cd8b['bind']('showInput')['to'](this,_0xec85('0x14'),this[_0xec85('0xe')][_0xec85('0xc')],_0xec85('0x2'),_0x5af6f8,_0xec85('0x1b'),(_0x349d9c,_0x62e3b7,_0x50aa26)=>!!_0x50aa26||_0x349d9c&&!_0x62e3b7),_0x5af6f8['on'](_0xec85('0xb'),(_0x3c5575,_0xa60dc1)=>{this[_0xec85('0x6')](_0xec85('0x20'),_0xa60dc1),_0x5af6f8[_0xec85('0x0')]['setData']('');}),_0x5af6f8['on']('cancel',()=>this[_0xec85('0xa')]()),_0x5af6f8[_0xec85('0x4')](_0xec85('0x19'))['to'](this[_0xec85('0xe')][_0xec85('0xc')],'isReadOnly'),_0x48cd8b;}}
23
+ const _0xf215=['updateComment','isEnabled','_createCommentViews','_localUser','isReadOnly','authoredAt','commentThread','length','addComment','delegate','commentThreadInputView','bind','focus','editorConfig','removeComment','canDiscard','destroy','locale','fire','hasDirtyComment','isActive','commentInputView','_model','_config','_createCommentThreadInputView','submit','isDirty','cancel','showInput','disabledSubmit','set','disableComments','setData','value','assign','commentsListView'];(function(_0x975a75,_0xf215c8){const _0x5f2372=function(_0x58e6eb){while(--_0x58e6eb){_0x975a75['push'](_0x975a75['shift']());}};_0x5f2372(++_0xf215c8);}(_0xf215,0x8b));const _0x5f23=function(_0x975a75,_0xf215c8){_0x975a75=_0x975a75-0x0;let _0x5f2372=_0xf215[_0x975a75];return _0x5f2372;};import{View as _0x479e58}from'ckeditor5/src/ui';export default class ii extends _0x479e58{constructor(_0x12c017,_0x97ba1b,_0x531a6c,_0x5901f7){super(_0x12c017),this[_0x5f23('0x4')]=null,this[_0x5f23('0xf')]=null,this[_0x5f23('0x23')](_0x5f23('0x19'),!0x1),this[_0x5f23('0x23')](_0x5f23('0xa'),_0x97ba1b[_0x5f23('0xa')]),this['bind'](_0x5f23('0xa'))['to'](_0x97ba1b),this[_0x5f23('0x23')]('descriptionParts',[]),this[_0x5f23('0x23')](_0x5f23('0x1f'),!0x1),this[_0x5f23('0x23')](_0x5f23('0x6'),!0x1),this[_0x5f23('0x23')]('canAccept',!0x1),this[_0x5f23('0x23')](_0x5f23('0x14'),!0x1),this[_0x5f23('0x1b')]=_0x97ba1b,this[_0x5f23('0x8')]=_0x531a6c,this[_0x5f23('0x1c')]=_0x5901f7,_0x5901f7[_0x5f23('0x0')]?this['set'](_0x5f23('0xc'),0x1):this[_0x5f23('0x7')]();}[_0x5f23('0x11')](){this['element'][_0x5f23('0x11')]();}[_0x5f23('0x15')](){this[_0x5f23('0x4')]&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this[_0x5f23('0xf')][_0x5f23('0x15')](),super[_0x5f23('0x15')]();}[_0x5f23('0x7')](){const {CommentsListView:_0x19b7a3}=this[_0x5f23('0x1c')];this[_0x5f23('0x4')]=new _0x19b7a3(this['locale'],this[_0x5f23('0x1b')][_0x5f23('0xb')],Object[_0x5f23('0x3')]({'CommentView':this[_0x5f23('0x1c')]['CommentView']},this[_0x5f23('0x1c')])),this[_0x5f23('0x4')][_0x5f23('0xe')](_0x5f23('0x13'))['to'](this),this[_0x5f23('0x4')][_0x5f23('0xe')](_0x5f23('0x5'))['to'](this),this[_0x5f23('0x4')]['bind'](_0x5f23('0x19'))['to'](this),this[_0x5f23('0x23')](_0x5f23('0xc'),this[_0x5f23('0x4')]['length']+0x1),this[_0x5f23('0x10')]('length')['to'](this[_0x5f23('0x4')],'length',_0x4d37ce=>_0x4d37ce+0x1),this[_0x5f23('0xf')]=this[_0x5f23('0x1d')](),this['on'](_0x5f23('0x13'),()=>this[_0x5f23('0x11')]()),this[_0x5f23('0x10')](_0x5f23('0x1f'))['to'](this[_0x5f23('0x4')],_0x5f23('0x18'),this['commentThreadInputView']['commentInputView'],'value',(_0x2be84f,_0x2fcd29)=>_0x2be84f||!!_0x2fcd29);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x4a1100}=this['_config'],_0x3bce4b=new _0x4a1100(this[_0x5f23('0x16')],this[_0x5f23('0x8')],this['_config'][_0x5f23('0x12')]),_0x57e508=_0x3bce4b[_0x5f23('0x1a')];return _0x3bce4b[_0x5f23('0x10')](_0x5f23('0x21'))['to'](this,_0x5f23('0x19'),this['_model'][_0x5f23('0xb')],_0x5f23('0x9'),_0x57e508,_0x5f23('0x2'),(_0x5f2b68,_0x4149e3,_0xced5b1)=>!!_0xced5b1||_0x5f2b68&&!_0x4149e3),_0x57e508['on'](_0x5f23('0x1e'),(_0x591840,_0x477aec)=>{this[_0x5f23('0x17')](_0x5f23('0xd'),_0x477aec),_0x57e508['editor'][_0x5f23('0x1')]('');}),_0x57e508['on'](_0x5f23('0x20'),()=>this['focus']()),_0x57e508[_0x5f23('0x10')](_0x5f23('0x22'))['to'](this[_0x5f23('0x1b')][_0x5f23('0xb')],_0x5f23('0x9')),_0x3bce4b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x513a=['_config','ck-annotation__info-time','\x22></span>','querySelector','formatDateTime','Discard\x20suggestion','ck-suggestion__info','map','ck-annotation__content-wrapper','ck-suggestion--discard','ck-annotation__info','name','locale','check','<p>','span','title','extendTemplate','disableComments','descriptionParts','source','_model','getExternalSuggestionNote','ck-suggestion--disabled-comments','</span>','ck-suggestion__actions','canDiscard','EXTERNAL_IMPORT_WORD_SUGGESTION','getUserViewNotificationText','canAccept','isEnabled','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerText','ck-suggestion-wrapper','cancel','bind','attributes','EXTERNAL_SUGGESTION','push','change:description','children','getTemplate','discardSuggestion','set','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion__user','bindTemplate','importWord','.ck-annotation__content-wrapper','discardButton','createElement','ck-suggestion','_createButton','_descriptionElement','isExternal','EXTERNAL_AVATAR','type','@external','execute','innerHTML','isActive','commentThreadInputView','ck-suggestion__info-name','acceptSuggestion','time','EXTERNAL_IMPORT_WORD_AVATAR','acceptButton','userView','creator','content','join','div','fire','value','ck-suggestion-wrapper--active','commentsListView','description','author','render','authoredAt'];(function(_0x4d8421,_0x513ac8){const _0x1c697a=function(_0x37ea40){while(--_0x37ea40){_0x4d8421['push'](_0x4d8421['shift']());}};_0x1c697a(++_0x513ac8);}(_0x513a,0x1a9));const _0x1c69=function(_0x4d8421,_0x513ac8){_0x4d8421=_0x4d8421-0x0;let _0x1c697a=_0x513a[_0x4d8421];return _0x1c697a;};import{getTranslation as _0x3b04b6}from'../../utils/common-translations';import{default as _0x204fd9}from'./basesuggestionthreadview';import{ButtonView as _0xde5084}from'ckeditor5/src/ui';import{icons as _0x1c10d9}from'ckeditor5/src/core';import{trimHtml as _0x188eb5,UserView as _0x5a185d}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x204fd9{constructor(_0x1d9fc5,_0x4b60c8,_0x49c454,_0x5a85d6){super(_0x1d9fc5,_0x4b60c8,_0x49c454,_0x5a85d6),this[_0x1c69('0x18')](_0x1c69('0x25'),''),this['bind']('type')['to'](this,'descriptionParts',_0x3af986=>_0x3af986&&_0x3af986[0x0]?_0x3af986[0x0]['type']:''),this[_0x1c69('0x10')](_0x1c69('0x39'))['to'](this,_0x1c69('0x50'),this,_0x1c69('0x29'),(_0x26db17,_0xdb4756)=>{let _0x2674be='';for(const _0x3de9b6 of _0x26db17)_0x2674be+=_0x1c69('0x4b')+ns(_0x3de9b6[_0x1c69('0x32')],_0x3de9b6['color'])+'</p>';return _0xdb4756?_0x2674be:_0x188eb5(_0x2674be,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x1c69('0x2f')]=this['_createButton'](_0x3b04b6(_0x1d9fc5,'Accept\x20suggestion'),_0x1c10d9[_0x1c69('0x4a')],'ck-suggestion--accept',_0x1c69('0x2c'),'sw'),this['acceptButton'][_0x1c69('0x10')](_0x1c69('0xa'))['to'](this,_0x1c69('0x9')),this[_0x1c69('0x1e')]=this[_0x1c69('0x21')](_0x3b04b6(_0x1d9fc5,_0x1c69('0x42')),_0x1c10d9[_0x1c69('0xf')],_0x1c69('0x46'),_0x1c69('0x17'),'sw'),this[_0x1c69('0x1e')]['bind'](_0x1c69('0xa'))['to'](this,_0x1c69('0x6')),this[_0x1c69('0x30')]=new _0x5a185d(_0x1d9fc5,this['_model']['author'],this[_0x1c69('0x8')]()),this[_0x1c69('0x30')][_0x1c69('0x4e')]({'attributes':{'class':[_0x1c69('0x1a'),'ck-annotation__user']}}),this['setTemplate'](this['getTemplate']());}[_0x1c69('0x16')](){const _0x50820f=this[_0x1c69('0x1b')],_0x13b8de=[{'tag':_0x1c69('0x34'),'attributes':{'class':[_0x1c69('0x43'),_0x1c69('0x47')]},'children':[{'tag':_0x1c69('0x4c'),'children':[{'text':this['userView'][_0x1c69('0x48')]}],'attributes':{'class':[_0x1c69('0x2b'),'ck-annotation__info-name']}},{'tag':_0x1c69('0x2d'),'attributes':{'datetime':_0x50820f['to'](_0x1c69('0x3c')),'class':['ck-comment__info-time',_0x1c69('0x3e')]},'children':[{'text':_0x50820f['to'](_0x1c69('0x3c'),_0x1144c7=>this[_0x1c69('0x3d')][_0x1c69('0x41')](_0x1144c7))}]}]},{'tag':'div','attributes':{'class':[_0x1c69('0x5'),'ck-annotation__actions']},'children':[this[_0x1c69('0x2f')],this[_0x1c69('0x1e')]]},{'tag':_0x1c69('0x34'),'attributes':{'class':[_0x1c69('0x45')]}}];this[_0x1c69('0x1')]['isExternal']&&_0x13b8de[_0x1c69('0x13')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x5ebf17={'tag':_0x1c69('0x34'),'attributes':{'class':[_0x1c69('0xe'),_0x50820f['if'](_0x1c69('0x29'),_0x1c69('0x37')),_0x50820f['to'](_0x1c69('0x25'),_0x5a9ecf=>'ck-suggestion-'+_0x5a9ecf),this['_config'][_0x1c69('0x4f')]&&_0x1c69('0x3')],'data-suggestion-id':this[_0x1c69('0x1')]['id'],'data-thread-id':this[_0x1c69('0x1')]['commentThread']['id'],'data-author-id':this[_0x1c69('0x1')][_0x1c69('0x3a')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1c69('0x34'),'attributes':{'class':[_0x1c69('0x20'),'ck-annotation']},'children':[this[_0x1c69('0x30')],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':_0x13b8de}]}]};return this[_0x1c69('0x38')]&&this[_0x1c69('0x2a')]&&_0x5ebf17[_0x1c69('0x15')]['push'](this[_0x1c69('0x38')],this[_0x1c69('0x2a')]),_0x5ebf17;}[_0x1c69('0x3b')](){super[_0x1c69('0x3b')](),this['_descriptionElement']=this['element'][_0x1c69('0x40')](_0x1c69('0x1d')),this[_0x1c69('0x22')][_0x1c69('0x28')]=this[_0x1c69('0x39')],this['on'](_0x1c69('0x14'),(_0x1a4de7,_0x502e28,_0x8c1901)=>{this[_0x1c69('0x22')][_0x1c69('0x28')]=_0x8c1901;});}[_0x1c69('0x21')](_0x46720e,_0xfad0b0,_0x1b4738,_0x1cd4e3,_0x3998ff){const _0x21116b=new _0xde5084(this[_0x1c69('0x49')]);return _0x21116b[_0x1c69('0x18')]({'label':_0x46720e,'icon':_0xfad0b0,'tooltip':!0x0,'tooltipPosition':_0x3998ff}),_0x21116b[_0x1c69('0x4e')]({'attributes':{'class':_0x1b4738}}),_0x21116b['on'](_0x1c69('0x27'),()=>{this[_0x1c69('0x35')](_0x1cd4e3,this[_0x1c69('0x1')]['id']);}),_0x21116b;}[_0x1c69('0x2')](){return _0x1c69('0x1c')===this['_model'][_0x1c69('0x11')][_0x1c69('0x26')]['source']?_0x3b04b6(this[_0x1c69('0x49')],_0x1c69('0x7')):_0x3b04b6(this[_0x1c69('0x49')],_0x1c69('0x12'));}[_0x1c69('0x8')](){return this[_0x1c69('0x1')][_0x1c69('0x23')]?_0x1c69('0x1c')===this[_0x1c69('0x1')][_0x1c69('0x11')][_0x1c69('0x26')][_0x1c69('0x0')]?_0x3b04b6(this[_0x1c69('0x49')],_0x1c69('0x2e'),this[_0x1c69('0x1')][_0x1c69('0x31')][_0x1c69('0x48')]):_0x3b04b6(this[_0x1c69('0x49')],_0x1c69('0x24'),this['_model'][_0x1c69('0x31')][_0x1c69('0x48')]):null;}}function ns(_0x2ed35b,_0x48cf1b){let _0x5e5ccc='';return _0x5e5ccc+=_0x2ed35b['split']('*')[_0x1c69('0x44')]((_0x1c1988,_0x2772de)=>_0x2772de%0x2!=0x0?_0x1c69('0x19')+os(_0x1c1988)+_0x1c69('0x4'):os(_0x1c1988))[_0x1c69('0x33')](''),_0x48cf1b&&(_0x5e5ccc+=_0x1c69('0xc')+_0x48cf1b[_0x1c69('0x36')]+_0x1c69('0xb')+_0x48cf1b[_0x1c69('0x4d')]+_0x1c69('0x3f')),_0x5e5ccc;}function os(_0xc2bdc){const _0x3a2552=document[_0x1c69('0x1f')](_0x1c69('0x4c'));return _0x3a2552[_0x1c69('0xd')]=_0xc2bdc,_0x3a2552[_0x1c69('0x28')];}
23
+ const _0x4e3a=['span','<p>','author','innerHTML','disableComments','ck-suggestion','ck-suggestion__main','bind','ck-suggestion--disabled-comments','@external','source','EXTERNAL_AVATAR','_config','_createButton','ck-suggestion-','change:description','discardSuggestion','ck-comment__external','EXTERNAL_IMPORT_WORD_SUGGESTION','check','fire','isActive','ck-suggestion-wrapper--active','canAccept','ck-suggestion__info','color','description','ck-annotation__content-wrapper','content','ck-suggestion__actions','ck-annotation__info-time','execute','userView','children','set','EXTERNAL_SUGGESTION','\x22\x20title=\x22','creator','name','commentThreadInputView','extendTemplate','innerText','_descriptionElement','type','split','ck-suggestion__user','createElement','push','<span\x20class=\x22ck-suggestion-type\x22>','locale','descriptionParts','authoredAt','</span>','ck-annotation__actions','getExternalSuggestionNote','cancel','getUserViewNotificationText','importWord','</p>','isEnabled','ck-annotation__main','acceptButton','ck-annotation__info','discardButton','\x22></span>','acceptSuggestion','formatDateTime','ck-annotation__user','_model','ck-suggestion--discard','setTemplate','ck-annotation__info-name','canDiscard','Discard\x20suggestion','.ck-annotation__content-wrapper','value','join','render','EXTERNAL_IMPORT_WORD_AVATAR','div','ck-suggestion__info-name','commentThread'];(function(_0x2d196a,_0x4e3a7d){const _0x38acd3=function(_0x139f53){while(--_0x139f53){_0x2d196a['push'](_0x2d196a['shift']());}};_0x38acd3(++_0x4e3a7d);}(_0x4e3a,0x121));const _0x38ac=function(_0x2d196a,_0x4e3a7d){_0x2d196a=_0x2d196a-0x0;let _0x38acd3=_0x4e3a[_0x2d196a];return _0x38acd3;};import{getTranslation as _0x373f15}from'../../utils/common-translations';import{default as _0xac9b95}from'./basesuggestionthreadview';import{ButtonView as _0x5d2e08}from'ckeditor5/src/ui';import{icons as _0x1af5cb}from'ckeditor5/src/core';import{trimHtml as _0x33524a,UserView as _0x3f8cda}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0xac9b95{constructor(_0x56c87c,_0x3dab5a,_0x3ca82c,_0x1bb302){super(_0x56c87c,_0x3dab5a,_0x3ca82c,_0x1bb302),this[_0x38ac('0x49')]('type',''),this[_0x38ac('0x2e')](_0x38ac('0x0'))['to'](this,_0x38ac('0x7'),_0x4dec87=>_0x4dec87&&_0x4dec87[0x0]?_0x4dec87[0x0][_0x38ac('0x0')]:''),this[_0x38ac('0x2e')]('description')['to'](this,'descriptionParts',this,_0x38ac('0x3c'),(_0x2842ab,_0x52e634)=>{let _0x2363dc='';for(const _0x4fb62a of _0x2842ab)_0x2363dc+=_0x38ac('0x28')+ns(_0x4fb62a[_0x38ac('0x43')],_0x4fb62a[_0x38ac('0x40')])+_0x38ac('0xf');return _0x52e634?_0x2363dc:_0x33524a(_0x2363dc,{'limit':0x8c});}),this[_0x38ac('0x51')]=null,this[_0x38ac('0x12')]=this[_0x38ac('0x34')](_0x373f15(_0x56c87c,'Accept\x20suggestion'),_0x1af5cb[_0x38ac('0x3a')],'ck-suggestion--accept',_0x38ac('0x16'),'sw'),this[_0x38ac('0x12')]['bind'](_0x38ac('0x10'))['to'](this,_0x38ac('0x3e')),this[_0x38ac('0x14')]=this[_0x38ac('0x34')](_0x373f15(_0x56c87c,_0x38ac('0x1e')),_0x1af5cb[_0x38ac('0xc')],_0x38ac('0x1a'),_0x38ac('0x37'),'sw'),this[_0x38ac('0x14')]['bind'](_0x38ac('0x10'))['to'](this,_0x38ac('0x1d')),this['userView']=new _0x3f8cda(_0x56c87c,this[_0x38ac('0x19')][_0x38ac('0x29')],this[_0x38ac('0xd')]()),this[_0x38ac('0x47')][_0x38ac('0x4f')]({'attributes':{'class':[_0x38ac('0x2'),_0x38ac('0x18')]}}),this[_0x38ac('0x1b')](this['getTemplate']());}['getTemplate'](){const _0x194923=this['bindTemplate'],_0x4653d6=[{'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x3f'),_0x38ac('0x13')]},'children':[{'tag':_0x38ac('0x27'),'children':[{'text':this[_0x38ac('0x47')][_0x38ac('0x4d')]}],'attributes':{'class':[_0x38ac('0x25'),_0x38ac('0x1c')]}},{'tag':'time','attributes':{'datetime':_0x194923['to'](_0x38ac('0x8')),'class':['ck-comment__info-time',_0x38ac('0x45')]},'children':[{'text':_0x194923['to'](_0x38ac('0x8'),_0x3b4eb5=>this[_0x38ac('0x33')][_0x38ac('0x17')](_0x3b4eb5))}]}]},{'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x44'),_0x38ac('0xa')]},'children':[this['acceptButton'],this['discardButton']]},{'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x42')]}}];this['_model']['isExternal']&&_0x4653d6[_0x38ac('0x4')]({'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x38')]},'children':[{'text':this[_0x38ac('0xb')]()}]});const _0x2bc265={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x194923['if'](_0x38ac('0x3c'),_0x38ac('0x3d')),_0x194923['to'](_0x38ac('0x0'),_0x1a776d=>_0x38ac('0x35')+_0x1a776d),this[_0x38ac('0x33')][_0x38ac('0x2b')]&&_0x38ac('0x2f')],'data-suggestion-id':this[_0x38ac('0x19')]['id'],'data-thread-id':this[_0x38ac('0x19')][_0x38ac('0x26')]['id'],'data-author-id':this[_0x38ac('0x19')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x2c'),'ck-annotation']},'children':[this['userView'],{'tag':_0x38ac('0x24'),'attributes':{'class':[_0x38ac('0x2d'),_0x38ac('0x11')]},'children':_0x4653d6}]}]};return this['commentsListView']&&this[_0x38ac('0x4e')]&&_0x2bc265[_0x38ac('0x48')][_0x38ac('0x4')](this['commentsListView'],this[_0x38ac('0x4e')]),_0x2bc265;}[_0x38ac('0x22')](){super[_0x38ac('0x22')](),this[_0x38ac('0x51')]=this['element']['querySelector'](_0x38ac('0x1f')),this[_0x38ac('0x51')][_0x38ac('0x2a')]=this[_0x38ac('0x41')],this['on'](_0x38ac('0x36'),(_0x4fc7f0,_0x475ed9,_0x1ea530)=>{this[_0x38ac('0x51')]['innerHTML']=_0x1ea530;});}['_createButton'](_0xe8ea5d,_0x5e56a3,_0x45479e,_0x37d38d,_0x11c0f7){const _0x27f906=new _0x5d2e08(this[_0x38ac('0x6')]);return _0x27f906['set']({'label':_0xe8ea5d,'icon':_0x5e56a3,'tooltip':!0x0,'tooltipPosition':_0x11c0f7}),_0x27f906[_0x38ac('0x4f')]({'attributes':{'class':_0x45479e}}),_0x27f906['on'](_0x38ac('0x46'),()=>{this[_0x38ac('0x3b')](_0x37d38d,this[_0x38ac('0x19')]['id']);}),_0x27f906;}['getExternalSuggestionNote'](){return'importWord'===this[_0x38ac('0x19')]['attributes'][_0x38ac('0x30')][_0x38ac('0x31')]?_0x373f15(this[_0x38ac('0x6')],_0x38ac('0x39')):_0x373f15(this[_0x38ac('0x6')],_0x38ac('0x4a'));}['getUserViewNotificationText'](){return this[_0x38ac('0x19')]['isExternal']?_0x38ac('0xe')===this[_0x38ac('0x19')]['attributes']['@external'][_0x38ac('0x31')]?_0x373f15(this[_0x38ac('0x6')],_0x38ac('0x23'),this[_0x38ac('0x19')]['creator'][_0x38ac('0x4d')]):_0x373f15(this[_0x38ac('0x6')],_0x38ac('0x32'),this[_0x38ac('0x19')][_0x38ac('0x4c')]['name']):null;}}function ns(_0x281e5b,_0x400676){let _0x189ff5='';return _0x189ff5+=_0x281e5b[_0x38ac('0x1')]('*')['map']((_0x422c82,_0x3f0bb8)=>_0x3f0bb8%0x2!=0x0?_0x38ac('0x5')+os(_0x422c82)+_0x38ac('0x9'):os(_0x422c82))[_0x38ac('0x21')](''),_0x400676&&(_0x189ff5+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x400676[_0x38ac('0x20')]+_0x38ac('0x4b')+_0x400676['title']+_0x38ac('0x15')),_0x189ff5;}function os(_0x4e383f){const _0x2aaeb5=document[_0x38ac('0x3')](_0x38ac('0x27'));return _0x2aaeb5[_0x38ac('0x50')]=_0x4e383f,_0x2aaeb5[_0x38ac('0x2a')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3fc2fd,_0x3d1e29,_0x11eb25){const t=_0x3fc2fd['t'];switch(_0x3d1e29){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',_0x11eb25);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x11eb25);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x11eb25);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x11eb25);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x11eb25);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',_0x11eb25);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x11eb25);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',_0x11eb25);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x11eb25);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x11eb25);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x11eb25);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x11eb25);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x11eb25);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x11eb25);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x11eb25);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x11eb25);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x11eb25);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x11eb25);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x11eb25);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x11eb25);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x11eb25);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x11eb25);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'},_0x11eb25);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x11eb25);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x11eb25);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x11eb25);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x11eb25);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x11eb25);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'},_0x11eb25);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x11eb25);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x11eb25);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x11eb25);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x11eb25);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'},_0x11eb25);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x11eb25);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'},_0x11eb25);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'},_0x11eb25);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x11eb25);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'},_0x11eb25);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x11eb25);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'},_0x11eb25);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x11eb25);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x11eb25);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'},_0x11eb25);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'},_0x11eb25);default:return _0x3d1e29;}}
23
+ export function getTranslation(_0x42b9ab,_0x2df86a,_0x17d01a){const t=_0x42b9ab['t'];switch(_0x2df86a){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',_0x17d01a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x17d01a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x17d01a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x17d01a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x17d01a);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',_0x17d01a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x17d01a);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',_0x17d01a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x17d01a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x17d01a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x17d01a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x17d01a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x17d01a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x17d01a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x17d01a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x17d01a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x17d01a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x17d01a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x17d01a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x17d01a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x17d01a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x17d01a);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'},_0x17d01a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x17d01a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x17d01a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x17d01a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x17d01a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x17d01a);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'},_0x17d01a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x17d01a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x17d01a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x17d01a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x17d01a);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'},_0x17d01a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x17d01a);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'},_0x17d01a);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'},_0x17d01a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x17d01a);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'},_0x17d01a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x17d01a);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'},_0x17d01a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x17d01a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x17d01a);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'},_0x17d01a);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'},_0x17d01a);default:return _0x2df86a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21aa=['color','length','isMultiRange','from','push','end','createPositionAfter','join','sort','getRange','isTouching','next','change','replace','isCollapsed','deletion','splice','type','start','execute','content','createPositionAt','value','getRanges','map','isInContent','isArray','createPositionBefore','isObject','createRange','add'];(function(_0x53f873,_0x21aa6f){const _0xbb06e4=function(_0x609709){while(--_0x609709){_0x53f873['push'](_0x53f873['shift']());}};_0xbb06e4(++_0x21aa6f);}(_0x21aa,0x1c5));const _0xbb06=function(_0x53f873,_0x21aa6f){_0x53f873=_0x53f873-0x0;let _0xbb06e4=_0x21aa[_0x53f873];return _0xbb06e4;};export function normalizeDescription(_0x2bec20){return Array[_0xbb06('0x7')](_0x2bec20)||(_0x2bec20=[_0x2bec20]),_0x2bec20[_0xbb06('0x5')](_0x232f7=>{const _0x393ff1=_0x232f7[_0xbb06('0x1')][_0xbb06('0x19')](/\*/g,''),_0x524eb9=_0x232f7[_0xbb06('0xc')]?'\x20[color\x20'+_0x232f7[_0xbb06('0xc')][_0xbb06('0x3')]+']':'';return'['+_0x232f7[_0xbb06('0x1d')]+']\x20'+_0x393ff1+_0x524eb9;})[_0xbb06('0x13')](';\x20');}export function sortSuggestions(_0x4f4dc0){return _0x4f4dc0[_0xbb06('0x14')]((_0x296a7e,_0x29d397)=>_0xbb06('0x1b')==_0x296a7e[_0xbb06('0x1d')]&&'deletion'!=_0x29d397['type']?-0x1:_0xbb06('0x1b')!=_0x296a7e[_0xbb06('0x1d')]&&_0xbb06('0x1b')==_0x29d397['type']?0x1:0x0);}export function getSelectedSuggestions(_0x5cfec8,_0x24bb00){const _0x55c35a=Array[_0xbb06('0xf')](_0x5cfec8[_0xbb06('0x4')]()),_0x53e612=new Set();for(const _0x3e4d46 of _0x24bb00)if(_0x3e4d46['isInContent'])for(const _0x4a6e84 of _0x55c35a)for(const _0x2f5710 of _0x3e4d46['getMarkers']()){const _0x114b3c=_0x2f5710[_0xbb06('0x15')]();(_0x4a6e84['isIntersecting'](_0x114b3c)||_0x5cfec8[_0xbb06('0x1a')]&&!_0x3e4d46[_0xbb06('0xe')]&&_0x3e4d46[_0xbb06('0x17')]&&_0x114b3c['end'][_0xbb06('0x16')](_0x4a6e84[_0xbb06('0x1e')]))&&_0x53e612[_0xbb06('0xb')](_0x3e4d46);}return _0x53e612;}export function getRangesOfBlockGroups(_0x1cf273,_0x307596){let _0x557ad4,_0x2f7957=0x0;const _0x4724a4=[],_0x465bfb=_0x307596['schema'];for(;_0x2f7957<_0x1cf273[_0xbb06('0xd')];){const _0x1baeb2=_0x1cf273[_0x2f7957],_0x3ddc24=_0x1cf273[_0x2f7957+0x1];_0x557ad4||(_0x557ad4=_0x307596[_0xbb06('0x8')](_0x1baeb2)),co(_0x307596,_0x1baeb2,_0x3ddc24)||(_0x4724a4[_0xbb06('0x10')](_0x307596[_0xbb06('0xa')](_0x557ad4,_0x465bfb[_0xbb06('0x9')](_0x1baeb2)?_0x307596[_0xbb06('0x12')](_0x1baeb2):_0x307596[_0xbb06('0x2')](_0x1baeb2,_0xbb06('0x11')))),_0x557ad4=null),_0x2f7957++;}return _0x4724a4;}function co(_0x4205f6,_0xe3cfa8,_0xd39b7e){if(!_0xd39b7e)return!0x1;const _0x56d6fe=_0x4205f6[_0xbb06('0x12')](_0xe3cfa8),_0x40e655=_0x4205f6[_0xbb06('0x8')](_0xd39b7e);return _0x56d6fe[_0xbb06('0x16')](_0x40e655);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5235bd,_0x572ed8,_0x2f195e){for(;_0x2f195e[_0xbb06('0xd')];){const _0x136e65=_0x2f195e[_0xbb06('0x1c')](0x0,0x64);_0x5235bd[_0xbb06('0x18')](()=>{for(const _0x410f58 of _0x136e65)_0x410f58[_0xbb06('0x6')]&&_0x572ed8[_0xbb06('0x0')](_0x410f58['id']);});}}
23
+ const _0x168d=['end','isInContent','isMultiRange','add','isTouching','splice','getRanges','createPositionAfter','isIntersecting','createPositionBefore','replace','type','\x20[color\x20','createRange','next','execute','isCollapsed','from','createPositionAt','color','sort','isArray','value','start','join','deletion','content','push'];(function(_0xa05f36,_0x168de6){const _0x4271a2=function(_0x54be1f){while(--_0x54be1f){_0xa05f36['push'](_0xa05f36['shift']());}};_0x4271a2(++_0x168de6);}(_0x168d,0x8e));const _0x4271=function(_0xa05f36,_0x168de6){_0xa05f36=_0xa05f36-0x0;let _0x4271a2=_0x168d[_0xa05f36];return _0x4271a2;};export function normalizeDescription(_0x5eea2){return Array[_0x4271('0x13')](_0x5eea2)||(_0x5eea2=[_0x5eea2]),_0x5eea2['map'](_0x240edf=>{const _0x22151b=_0x240edf[_0x4271('0x18')][_0x4271('0x8')](/\*/g,''),_0x32fc8c=_0x240edf['color']?_0x4271('0xa')+_0x240edf[_0x4271('0x11')][_0x4271('0x14')]+']':'';return'['+_0x240edf[_0x4271('0x9')]+']\x20'+_0x22151b+_0x32fc8c;})[_0x4271('0x16')](';\x20');}export function sortSuggestions(_0x5255d7){return _0x5255d7[_0x4271('0x12')]((_0x2a5a39,_0x2189fa)=>_0x4271('0x17')==_0x2a5a39['type']&&_0x4271('0x17')!=_0x2189fa['type']?-0x1:_0x4271('0x17')!=_0x2a5a39['type']&&_0x4271('0x17')==_0x2189fa['type']?0x1:0x0);}export function getSelectedSuggestions(_0x24ed11,_0x2fd70e){const _0x1df749=Array[_0x4271('0xf')](_0x24ed11[_0x4271('0x4')]()),_0x2adcef=new Set();for(const _0x1d9af1 of _0x2fd70e)if(_0x1d9af1[_0x4271('0x1b')])for(const _0x22143a of _0x1df749)for(const _0x4b0ba7 of _0x1d9af1['getMarkers']()){const _0x4bb8bb=_0x4b0ba7['getRange']();(_0x22143a[_0x4271('0x6')](_0x4bb8bb)||_0x24ed11[_0x4271('0xe')]&&!_0x1d9af1[_0x4271('0x0')]&&_0x1d9af1[_0x4271('0xc')]&&_0x4bb8bb[_0x4271('0x1a')][_0x4271('0x2')](_0x22143a[_0x4271('0x15')]))&&_0x2adcef[_0x4271('0x1')](_0x1d9af1);}return _0x2adcef;}export function getRangesOfBlockGroups(_0x5e3dd5,_0x5a0dba){let _0x3b8d82,_0x169af6=0x0;const _0x9fac7=[],_0x355d80=_0x5a0dba['schema'];for(;_0x169af6<_0x5e3dd5['length'];){const _0x4413c6=_0x5e3dd5[_0x169af6],_0x161352=_0x5e3dd5[_0x169af6+0x1];_0x3b8d82||(_0x3b8d82=_0x5a0dba[_0x4271('0x7')](_0x4413c6)),co(_0x5a0dba,_0x4413c6,_0x161352)||(_0x9fac7[_0x4271('0x19')](_0x5a0dba[_0x4271('0xb')](_0x3b8d82,_0x355d80['isObject'](_0x4413c6)?_0x5a0dba[_0x4271('0x5')](_0x4413c6):_0x5a0dba[_0x4271('0x10')](_0x4413c6,_0x4271('0x1a')))),_0x3b8d82=null),_0x169af6++;}return _0x9fac7;}function co(_0x42a4a1,_0x5708b4,_0x4c83bf){if(!_0x4c83bf)return!0x1;const _0x320515=_0x42a4a1['createPositionAfter'](_0x5708b4),_0x5c8267=_0x42a4a1[_0x4271('0x7')](_0x4c83bf);return _0x320515[_0x4271('0x2')](_0x5c8267);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x294284,_0x5571ac,_0x568d23){for(;_0x568d23['length'];){const _0x585744=_0x568d23[_0x4271('0x3')](0x0,0x64);_0x294284['change'](()=>{for(const _0x1444f8 of _0x585744)_0x1444f8[_0x4271('0x1b')]&&_0x5571ac[_0x4271('0xd')](_0x1444f8['id']);});}}