@ckeditor/ckeditor5-track-changes 37.0.1 → 37.1.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 (162) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +15 -1
  50. package/lang/translations/az.po +11 -1
  51. package/lang/translations/bg.po +11 -1
  52. package/lang/translations/bn.po +11 -1
  53. package/lang/translations/ca.po +11 -1
  54. package/lang/translations/cs.po +13 -1
  55. package/lang/translations/da.po +11 -1
  56. package/lang/translations/de.po +11 -1
  57. package/lang/translations/el.po +11 -1
  58. package/lang/translations/en-au.po +11 -1
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +12 -1
  61. package/lang/translations/et.po +11 -1
  62. package/lang/translations/fi.po +11 -1
  63. package/lang/translations/fr.po +12 -1
  64. package/lang/translations/gl.po +11 -1
  65. package/lang/translations/he.po +13 -1
  66. package/lang/translations/hi.po +11 -1
  67. package/lang/translations/hr.po +12 -1
  68. package/lang/translations/hu.po +11 -1
  69. package/lang/translations/id.po +10 -1
  70. package/lang/translations/it.po +12 -1
  71. package/lang/translations/ja.po +10 -1
  72. package/lang/translations/ko.po +10 -1
  73. package/lang/translations/lt.po +13 -1
  74. package/lang/translations/lv.po +12 -1
  75. package/lang/translations/ms.po +10 -1
  76. package/lang/translations/nl.po +11 -1
  77. package/lang/translations/no.po +11 -1
  78. package/lang/translations/pl.po +13 -1
  79. package/lang/translations/pt-br.po +12 -1
  80. package/lang/translations/pt.po +12 -1
  81. package/lang/translations/ro.po +12 -1
  82. package/lang/translations/ru.po +13 -1
  83. package/lang/translations/sk.po +13 -1
  84. package/lang/translations/sr-latn.po +12 -1
  85. package/lang/translations/sr.po +33 -22
  86. package/lang/translations/sv.po +11 -1
  87. package/lang/translations/th.po +10 -1
  88. package/lang/translations/tk.po +11 -1
  89. package/lang/translations/tr.po +11 -1
  90. package/lang/translations/tt.po +10 -1
  91. package/lang/translations/uk.po +13 -1
  92. package/lang/translations/ur.po +11 -1
  93. package/lang/translations/vi.po +10 -1
  94. package/lang/translations/zh-cn.po +10 -1
  95. package/lang/translations/zh.po +10 -1
  96. package/package.json +3 -3
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardsuggestioncommand.js +1 -1
  99. package/src/commands/executeonallsuggestionscommand.js +1 -1
  100. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/index.d.ts +1 -1
  103. package/src/integrations/alignment.js +1 -1
  104. package/src/integrations/basicstyles.js +1 -1
  105. package/src/integrations/blockquote.js +1 -1
  106. package/src/integrations/ckbox.js +1 -1
  107. package/src/integrations/codeblock.js +1 -1
  108. package/src/integrations/comments.js +1 -1
  109. package/src/integrations/deletecommand.js +1 -1
  110. package/src/integrations/documentlist.js +1 -1
  111. package/src/integrations/documentlistproperties.js +1 -1
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/findandreplace.js +1 -1
  114. package/src/integrations/font.js +1 -1
  115. package/src/integrations/formatpainter.d.ts +13 -0
  116. package/src/integrations/formatpainter.js +23 -0
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/importword.js +1 -1
  124. package/src/integrations/indent.js +1 -1
  125. package/src/integrations/inputcommand.js +1 -1
  126. package/src/integrations/link.js +1 -1
  127. package/src/integrations/list.js +1 -1
  128. package/src/integrations/listproperties.js +1 -1
  129. package/src/integrations/mediaembed.js +1 -1
  130. package/src/integrations/mention.js +1 -1
  131. package/src/integrations/pagebreak.js +1 -1
  132. package/src/integrations/paragraph.js +1 -1
  133. package/src/integrations/removeformat.js +1 -1
  134. package/src/integrations/restrictededitingmode.js +1 -1
  135. package/src/integrations/shiftentercommand.js +1 -1
  136. package/src/integrations/standardeditingmode.js +1 -1
  137. package/src/integrations/style.js +1 -1
  138. package/src/integrations/table.js +1 -1
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.js +1 -1
  141. package/src/integrations/tablecolumnresize.js +1 -1
  142. package/src/integrations/tableheadings.js +1 -1
  143. package/src/integrations/tablemergesplit.js +1 -1
  144. package/src/integrations/tableofcontents.d.ts +13 -0
  145. package/src/integrations/tableofcontents.js +23 -0
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.d.ts +13 -0
  148. package/src/integrations/template.js +23 -0
  149. package/src/integrations/title.js +1 -1
  150. package/src/integrations/undo.js +1 -1
  151. package/src/integrations/utils.js +1 -1
  152. package/src/suggestion.js +1 -1
  153. package/src/suggestiondescriptionfactory.js +1 -1
  154. package/src/trackchanges.js +1 -1
  155. package/src/trackchangesdata.js +1 -1
  156. package/src/trackchangesediting.js +1 -1
  157. package/src/trackchangesui.js +1 -1
  158. package/src/ui/suggestioncontroller.js +1 -1
  159. package/src/ui/view/basesuggestionthreadview.js +1 -1
  160. package/src/ui/view/suggestionthreadview.js +1 -1
  161. package/src/utils/common-translations.js +1 -1
  162. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe9aa=['locale','view','unbind','_setPendingAction','isEnabled','canAccept','model','acceptSuggestion','commands','canDiscard','_pendingAction','listenTo','discardSuggestion','add','change:isDirty','_editor','_acceptCommand','isDirty','_removePendingAction','commentThreadController','get','execute','bind','stopListening','PendingActions','remove','destroy','plugins','_discardCommand'];(function(_0x4a37ab,_0xe9aae9){const _0x395e5b=function(_0x532d54){while(--_0x532d54){_0x4a37ab['push'](_0x4a37ab['shift']());}};_0x395e5b(++_0xe9aae9);}(_0xe9aa,0x19c));const _0x395e=function(_0x4a37ab,_0xe9aae9){_0x4a37ab=_0x4a37ab-0x0;let _0x395e5b=_0xe9aa[_0x4a37ab];return _0x395e5b;};import{ObservableMixin as _0x2a1998}from'ckeditor5/src/utils';import{getTranslation as _0x53fb1f}from'../utils/common-translations';export default class Lt extends _0x2a1998(){constructor(_0xa28128,_0x2f7d71,_0x2109fb,_0x39a8a0){super(),this[_0x395e('0x0')]=_0x2f7d71,this[_0x395e('0x18')]=_0x2109fb,this[_0x395e('0xd')]=_0x39a8a0,this[_0x395e('0x9')]=_0xa28128,this['_acceptCommand']=_0xa28128[_0x395e('0x2')][_0x395e('0xe')]('acceptSuggestion'),this['_discardCommand']=_0xa28128[_0x395e('0x2')][_0x395e('0xe')](_0x395e('0x6')),this['view'][_0x395e('0x10')](_0x395e('0x1b'))['to'](this[_0x395e('0xa')],this[_0x395e('0x16')],(_0x1b7579,_0x547d7b)=>_0x1b7579||_0x547d7b),this[_0x395e('0x18')][_0x395e('0x10')](_0x395e('0x1c'))['to'](this[_0x395e('0xa')],'isEnabled'),this['view']['bind'](_0x395e('0x3'))['to'](this[_0x395e('0x16')],_0x395e('0x1b')),this[_0x395e('0x4')]=null,_0x2109fb['isDirty']&&this['_setPendingAction'](),this[_0x395e('0x5')](_0x2109fb,_0x395e('0x1'),()=>this['acceptSuggestion']()),this[_0x395e('0x5')](_0x2109fb,_0x395e('0x6'),()=>this[_0x395e('0x6')]()),this[_0x395e('0x5')](_0x2109fb,_0x395e('0x8'),()=>{_0x2109fb[_0x395e('0xb')]?this['_setPendingAction']():this['_removePendingAction']();});}[_0x395e('0x1')](){this[_0x395e('0xa')][_0x395e('0xf')](this['model']['id']);}[_0x395e('0x6')](){this[_0x395e('0x16')][_0x395e('0xf')](this[_0x395e('0x0')]['id']);}[_0x395e('0x14')](){this[_0x395e('0x18')][_0x395e('0x19')]('isEnabled'),this['view'][_0x395e('0x19')](_0x395e('0x1c')),this[_0x395e('0x18')]['unbind'](_0x395e('0x3')),this[_0x395e('0x11')](),this[_0x395e('0xd')][_0x395e('0x14')](),this[_0x395e('0x4')]&&this['_removePendingAction']();}[_0x395e('0x1a')](){const _0x4feb8b=_0x53fb1f(this[_0x395e('0x9')][_0x395e('0x17')],'PENDING_ACTION_SUGGESTION');this[_0x395e('0x4')]=this[_0x395e('0x9')][_0x395e('0x15')][_0x395e('0xe')](_0x395e('0x12'))[_0x395e('0x7')](_0x4feb8b);}[_0x395e('0xc')](){null!==this[_0x395e('0x4')]&&this[_0x395e('0x9')][_0x395e('0x15')][_0x395e('0xe')](_0x395e('0x12'))[_0x395e('0x13')](this['_pendingAction']),this['_pendingAction']=null;}}
23
+ const _0x3bf9=['_pendingAction','isEnabled','bind','get','_setPendingAction','execute','unbind','acceptSuggestion','destroy','view','PENDING_ACTION_SUGGESTION','model','PendingActions','canAccept','discardSuggestion','canDiscard','listenTo','_removePendingAction','remove','commands','add','change:isDirty','_discardCommand','plugins','commentThreadController','_editor','_acceptCommand'];(function(_0x3683fb,_0x3bf9d9){const _0x20b07a=function(_0x55febd){while(--_0x55febd){_0x3683fb['push'](_0x3683fb['shift']());}};_0x20b07a(++_0x3bf9d9);}(_0x3bf9,0x149));const _0x20b0=function(_0x3683fb,_0x3bf9d9){_0x3683fb=_0x3683fb-0x0;let _0x20b07a=_0x3bf9[_0x3683fb];return _0x20b07a;};import{ObservableMixin as _0x1c68b3}from'ckeditor5/src/utils';import{getTranslation as _0x4b4758}from'../utils/common-translations';export default class qt extends _0x1c68b3(){constructor(_0x44985b,_0x4620c5,_0xde16b2,_0x30bf46){super(),this[_0x20b0('0x6')]=_0x4620c5,this[_0x20b0('0x4')]=_0xde16b2,this[_0x20b0('0x13')]=_0x30bf46,this[_0x20b0('0x14')]=_0x44985b,this[_0x20b0('0x15')]=_0x44985b[_0x20b0('0xe')][_0x20b0('0x19')]('acceptSuggestion'),this[_0x20b0('0x11')]=_0x44985b[_0x20b0('0xe')][_0x20b0('0x19')](_0x20b0('0x9')),this[_0x20b0('0x4')][_0x20b0('0x18')](_0x20b0('0x17'))['to'](this['_acceptCommand'],this['_discardCommand'],(_0x17afdd,_0x4d8528)=>_0x17afdd||_0x4d8528),this['view']['bind'](_0x20b0('0x8'))['to'](this[_0x20b0('0x15')],'isEnabled'),this[_0x20b0('0x4')][_0x20b0('0x18')](_0x20b0('0xa'))['to'](this[_0x20b0('0x11')],_0x20b0('0x17')),this['_pendingAction']=null,_0xde16b2['isDirty']&&this['_setPendingAction'](),this[_0x20b0('0xb')](_0xde16b2,_0x20b0('0x2'),()=>this[_0x20b0('0x2')]()),this[_0x20b0('0xb')](_0xde16b2,_0x20b0('0x9'),()=>this[_0x20b0('0x9')]()),this[_0x20b0('0xb')](_0xde16b2,_0x20b0('0x10'),()=>{_0xde16b2['isDirty']?this[_0x20b0('0x1a')]():this[_0x20b0('0xc')]();});}['acceptSuggestion'](){this[_0x20b0('0x15')][_0x20b0('0x0')](this[_0x20b0('0x6')]['id']);}['discardSuggestion'](){this[_0x20b0('0x11')][_0x20b0('0x0')](this[_0x20b0('0x6')]['id']);}[_0x20b0('0x3')](){this['view'][_0x20b0('0x1')](_0x20b0('0x17')),this[_0x20b0('0x4')][_0x20b0('0x1')](_0x20b0('0x8')),this[_0x20b0('0x4')]['unbind'](_0x20b0('0xa')),this['stopListening'](),this[_0x20b0('0x13')][_0x20b0('0x3')](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x3636ed=_0x4b4758(this[_0x20b0('0x14')]['locale'],_0x20b0('0x5'));this[_0x20b0('0x16')]=this[_0x20b0('0x14')][_0x20b0('0x12')][_0x20b0('0x19')](_0x20b0('0x7'))[_0x20b0('0xf')](_0x3636ed);}[_0x20b0('0xc')](){null!==this[_0x20b0('0x16')]&&this['_editor'][_0x20b0('0x12')][_0x20b0('0x19')](_0x20b0('0x7'))[_0x20b0('0xd')](this[_0x20b0('0x16')]),this[_0x20b0('0x16')]=null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53c5=['canDiscard','value','bind','_model','editorConfig','isDirty','updateComment','delegate','commentsListView','destroy','length','_config','_createCommentThreadInputView','isEnabled','cancel','addComment','_localUser','authoredAt','commentThreadInputView','commentInputView','commentThread','showInput','assign','isReadOnly','canAccept','set','locale','isActive','focus','setData','element','_createCommentViews','removeComment'];(function(_0x3af7e8,_0x53c55b){const _0x92035e=function(_0x43c931){while(--_0x43c931){_0x3af7e8['push'](_0x3af7e8['shift']());}};_0x92035e(++_0x53c55b);}(_0x53c5,0x15b));const _0x9203=function(_0x3af7e8,_0x53c55b){_0x3af7e8=_0x3af7e8-0x0;let _0x92035e=_0x53c5[_0x3af7e8];return _0x92035e;};import{View as _0x42ff75}from'ckeditor5/src/ui';export default class ii extends _0x42ff75{constructor(_0x364550,_0x589e41,_0x47fb31,_0x342d82){super(_0x364550),this['commentsListView']=null,this[_0x9203('0x1')]=null,this['set']('isActive',!0x1),this['set']('authoredAt',_0x589e41[_0x9203('0x0')]),this['bind'](_0x9203('0x0'))['to'](_0x589e41),this[_0x9203('0x8')]('descriptionParts',[]),this['set'](_0x9203('0x15'),!0x1),this[_0x9203('0x8')](_0x9203('0x1d'),!0x1),this[_0x9203('0x8')](_0x9203('0x7'),!0x1),this['set'](_0x9203('0x10'),!0x1),this[_0x9203('0x13')]=_0x589e41,this[_0x9203('0x20')]=_0x47fb31,this[_0x9203('0x1b')]=_0x342d82,_0x342d82['disableComments']?this[_0x9203('0x8')]('length',0x1):this[_0x9203('0xe')]();}[_0x9203('0xb')](){this[_0x9203('0xd')]['focus']();}[_0x9203('0x19')](){this['commentsListView']&&this['commentsListView'][_0x9203('0x19')](),this['commentThreadInputView']&&this[_0x9203('0x1')]['destroy'](),super[_0x9203('0x19')]();}[_0x9203('0xe')](){const {CommentsListView:_0x2d151f}=this['_config'];this[_0x9203('0x18')]=new _0x2d151f(this[_0x9203('0x9')],this[_0x9203('0x13')]['commentThread'],Object[_0x9203('0x5')]({'CommentView':this[_0x9203('0x1b')]['CommentView']},this[_0x9203('0x1b')])),this['commentsListView'][_0x9203('0x17')](_0x9203('0xf'))['to'](this),this[_0x9203('0x18')][_0x9203('0x17')](_0x9203('0x16'))['to'](this),this[_0x9203('0x18')][_0x9203('0x12')](_0x9203('0xa'))['to'](this),this[_0x9203('0x8')](_0x9203('0x1a'),this['commentsListView']['length']+0x1),this['bind'](_0x9203('0x1a'))['to'](this[_0x9203('0x18')],'length',_0x508e82=>_0x508e82+0x1),this[_0x9203('0x1')]=this[_0x9203('0x1c')](),this['on'](_0x9203('0xf'),()=>this[_0x9203('0xb')]()),this['bind'](_0x9203('0x15'))['to'](this[_0x9203('0x18')],'hasDirtyComment',this[_0x9203('0x1')][_0x9203('0x2')],_0x9203('0x11'),(_0x383e79,_0x5d76e7)=>_0x383e79||!!_0x5d76e7);}[_0x9203('0x1c')](){const {CommentThreadInputView:_0x4a5dbc}=this[_0x9203('0x1b')],_0x7a0e9c=new _0x4a5dbc(this[_0x9203('0x9')],this['_localUser'],this[_0x9203('0x1b')][_0x9203('0x14')]),_0x34b97e=_0x7a0e9c[_0x9203('0x2')];return _0x7a0e9c[_0x9203('0x12')](_0x9203('0x4'))['to'](this,'isActive',this[_0x9203('0x13')][_0x9203('0x3')],_0x9203('0x6'),_0x34b97e,_0x9203('0x11'),(_0x5cf548,_0x4de9ee,_0x4cd5c4)=>!!_0x4cd5c4||_0x5cf548&&!_0x4de9ee),_0x34b97e['on']('submit',(_0x36ed64,_0x3b068e)=>{this['fire'](_0x9203('0x1f'),_0x3b068e),_0x34b97e['editor'][_0x9203('0xc')]('');}),_0x34b97e['on'](_0x9203('0x1e'),()=>this[_0x9203('0xb')]()),_0x34b97e['bind']('disabledSubmit')['to'](this[_0x9203('0x13')][_0x9203('0x3')],'isReadOnly'),_0x7a0e9c;}}
23
+ const _0xeeee=['set','_model','setData','isDirty','locale','_localUser','CommentView','element','authoredAt','canAccept','_config','fire','isEnabled','bind','delegate','disabledSubmit','commentThreadInputView','cancel','hasDirtyComment','focus','value','removeComment','destroy','commentsListView','_createCommentThreadInputView','disableComments','commentInputView','addComment','commentThread','submit','_createCommentViews','showInput','isActive','canDiscard','isReadOnly','length'];(function(_0x2a4d6f,_0xeeee96){const _0x5da339=function(_0x2c26ce){while(--_0x2c26ce){_0x2a4d6f['push'](_0x2a4d6f['shift']());}};_0x5da339(++_0xeeee96);}(_0xeeee,0x115));const _0x5da3=function(_0x2a4d6f,_0xeeee96){_0x2a4d6f=_0x2a4d6f-0x0;let _0x5da339=_0xeeee[_0x2a4d6f];return _0x5da339;};import{View as _0xc162d7}from'ckeditor5/src/ui';export default class ii extends _0xc162d7{constructor(_0x3a9d20,_0xa4010a,_0xa22ee,_0x3b163e){super(_0x3a9d20),this[_0x5da3('0x22')]=null,this['commentThreadInputView']=null,this[_0x5da3('0xb')]('isActive',!0x1),this['set'](_0x5da3('0x13'),_0xa4010a['authoredAt']),this['bind'](_0x5da3('0x13'))['to'](_0xa4010a),this[_0x5da3('0xb')]('descriptionParts',[]),this[_0x5da3('0xb')](_0x5da3('0xe'),!0x1),this[_0x5da3('0xb')](_0x5da3('0x17'),!0x1),this[_0x5da3('0xb')](_0x5da3('0x14'),!0x1),this['set'](_0x5da3('0x8'),!0x1),this[_0x5da3('0xc')]=_0xa4010a,this[_0x5da3('0x10')]=_0xa22ee,this[_0x5da3('0x15')]=_0x3b163e,_0x3b163e[_0x5da3('0x0')]?this[_0x5da3('0xb')]('length',0x1):this['_createCommentViews']();}[_0x5da3('0x1e')](){this[_0x5da3('0x12')][_0x5da3('0x1e')]();}[_0x5da3('0x21')](){this['commentsListView']&&this['commentsListView'][_0x5da3('0x21')](),this[_0x5da3('0x1b')]&&this['commentThreadInputView'][_0x5da3('0x21')](),super['destroy']();}[_0x5da3('0x5')](){const {CommentsListView:_0x51fca0}=this[_0x5da3('0x15')];this[_0x5da3('0x22')]=new _0x51fca0(this[_0x5da3('0xf')],this[_0x5da3('0xc')]['commentThread'],Object['assign']({'CommentView':this[_0x5da3('0x15')][_0x5da3('0x11')]},this['_config'])),this[_0x5da3('0x22')][_0x5da3('0x19')](_0x5da3('0x20'))['to'](this),this[_0x5da3('0x22')][_0x5da3('0x19')]('updateComment')['to'](this),this['commentsListView'][_0x5da3('0x18')]('isActive')['to'](this),this['set'](_0x5da3('0xa'),this[_0x5da3('0x22')][_0x5da3('0xa')]+0x1),this['bind'](_0x5da3('0xa'))['to'](this[_0x5da3('0x22')],_0x5da3('0xa'),_0xcdbc52=>_0xcdbc52+0x1),this[_0x5da3('0x1b')]=this[_0x5da3('0x23')](),this['on'](_0x5da3('0x20'),()=>this['focus']()),this[_0x5da3('0x18')](_0x5da3('0xe'))['to'](this[_0x5da3('0x22')],_0x5da3('0x1d'),this['commentThreadInputView']['commentInputView'],_0x5da3('0x1f'),(_0x24e32c,_0x2a26ea)=>_0x24e32c||!!_0x2a26ea);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x49f5a1}=this[_0x5da3('0x15')],_0x225a57=new _0x49f5a1(this[_0x5da3('0xf')],this[_0x5da3('0x10')],this[_0x5da3('0x15')]['editorConfig']),_0x1e7819=_0x225a57[_0x5da3('0x1')];return _0x225a57[_0x5da3('0x18')](_0x5da3('0x6'))['to'](this,_0x5da3('0x7'),this[_0x5da3('0xc')][_0x5da3('0x3')],_0x5da3('0x9'),_0x1e7819,_0x5da3('0x1f'),(_0x5bf770,_0x2ec4b7,_0x3f8820)=>!!_0x3f8820||_0x5bf770&&!_0x2ec4b7),_0x1e7819['on'](_0x5da3('0x4'),(_0x144c0b,_0xdfc9b8)=>{this[_0x5da3('0x16')](_0x5da3('0x2'),_0xdfc9b8),_0x1e7819['editor'][_0x5da3('0xd')]('');}),_0x1e7819['on'](_0x5da3('0x1c'),()=>this['focus']()),_0x1e7819[_0x5da3('0x18')](_0x5da3('0x1a'))['to'](this[_0x5da3('0xc')][_0x5da3('0x3')],'isReadOnly'),_0x225a57;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45ac=['isEnabled','creator','locale','_createButton','ck-suggestion--disabled-comments','ck-suggestion__actions','acceptButton','check','Discard\x20suggestion','commentThreadInputView','ck-suggestion-','importWord','formatDateTime','source','getUserViewNotificationText','join','ck-annotation__main','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-suggestion-wrapper--active','createElement','discardSuggestion','EXTERNAL_IMPORT_WORD_AVATAR','author','bind','@external','ck-suggestion__user','span','getExternalSuggestionNote','EXTERNAL_SUGGESTION','_model','description','ck-annotation__info-time','canDiscard','querySelector','change:description','descriptionParts','ck-comment__external','execute','canAccept','_config','userView','<p>','ck-annotation__info-name','getTemplate','attributes','fire','<span\x20class=\x22ck-suggestion-type\x22>','type','</p>','authoredAt','ck-suggestion__info-name','ck-comment__info-time','</span>','title','ck-annotation__user','ck-suggestion__info','bindTemplate','div','isActive','ck-suggestion__main','render','discardButton','ck-suggestion--discard','push','value','ck-annotation__info','_descriptionElement','commentThread','set','\x22></span>','disableComments','time','cancel','color','isExternal','innerHTML','name','extendTemplate','content','split','children','element'];(function(_0x179b9a,_0x45ac07){const _0x4ce906=function(_0xa7a83){while(--_0xa7a83){_0x179b9a['push'](_0x179b9a['shift']());}};_0x4ce906(++_0x45ac07);}(_0x45ac,0xc7));const _0x4ce9=function(_0x179b9a,_0x45ac07){_0x179b9a=_0x179b9a-0x0;let _0x4ce906=_0x45ac[_0x179b9a];return _0x4ce906;};import{getTranslation as _0x5c72a7}from'../../utils/common-translations';import{default as _0x288fa3}from'./basesuggestionthreadview';import{ButtonView as _0x323952}from'ckeditor5/src/ui';import{icons as _0x37b5d1}from'ckeditor5/src/core';import{trimHtml as _0x537b48,UserView as _0x394743}from'ckeditor5-collaboration/src/collaboration-core';export default class Rt extends _0x288fa3{constructor(_0x1cefc2,_0x531c99,_0x343af6,_0x21776e){super(_0x1cefc2,_0x531c99,_0x343af6,_0x21776e),this[_0x4ce9('0x21')](_0x4ce9('0xc'),''),this[_0x4ce9('0x46')]('type')['to'](this,'descriptionParts',_0x186948=>_0x186948&&_0x186948[0x0]?_0x186948[0x0]['type']:''),this[_0x4ce9('0x46')]('description')['to'](this,_0x4ce9('0x0'),this,_0x4ce9('0x17'),(_0x5ac0ee,_0x34926f)=>{let _0x5733d4='';for(const _0x18fca6 of _0x5ac0ee)_0x5733d4+=_0x4ce9('0x6')+ns(_0x18fca6[_0x4ce9('0x2b')],_0x18fca6[_0x4ce9('0x26')])+_0x4ce9('0xd');return _0x34926f?_0x5733d4:_0x537b48(_0x5733d4,{'limit':0x8c});}),this[_0x4ce9('0x1f')]=null,this[_0x4ce9('0x35')]=this[_0x4ce9('0x32')](_0x5c72a7(_0x1cefc2,'Accept\x20suggestion'),_0x37b5d1[_0x4ce9('0x36')],'ck-suggestion--accept','acceptSuggestion','sw'),this['acceptButton'][_0x4ce9('0x46')](_0x4ce9('0x2f'))['to'](this,_0x4ce9('0x3')),this[_0x4ce9('0x1a')]=this[_0x4ce9('0x32')](_0x5c72a7(_0x1cefc2,_0x4ce9('0x37')),_0x37b5d1[_0x4ce9('0x25')],_0x4ce9('0x1b'),_0x4ce9('0x43'),'sw'),this[_0x4ce9('0x1a')][_0x4ce9('0x46')](_0x4ce9('0x2f'))['to'](this,_0x4ce9('0x4f')),this[_0x4ce9('0x5')]=new _0x394743(_0x1cefc2,this[_0x4ce9('0x4c')][_0x4ce9('0x45')],this[_0x4ce9('0x3d')]()),this['userView'][_0x4ce9('0x2a')]({'attributes':{'class':[_0x4ce9('0x48'),_0x4ce9('0x13')]}}),this['setTemplate'](this[_0x4ce9('0x8')]());}[_0x4ce9('0x8')](){const _0x1aa544=this[_0x4ce9('0x15')],_0x286dc6=[{'tag':_0x4ce9('0x16'),'attributes':{'class':[_0x4ce9('0x14'),_0x4ce9('0x1e')]},'children':[{'tag':_0x4ce9('0x49'),'children':[{'text':this[_0x4ce9('0x5')][_0x4ce9('0x29')]}],'attributes':{'class':[_0x4ce9('0xf'),_0x4ce9('0x7')]}},{'tag':_0x4ce9('0x24'),'attributes':{'datetime':_0x1aa544['to'](_0x4ce9('0xe')),'class':[_0x4ce9('0x10'),_0x4ce9('0x4e')]},'children':[{'text':_0x1aa544['to'](_0x4ce9('0xe'),_0x4499cd=>this[_0x4ce9('0x4')][_0x4ce9('0x3b')](_0x4499cd))}]}]},{'tag':_0x4ce9('0x16'),'attributes':{'class':[_0x4ce9('0x34'),'ck-annotation__actions']},'children':[this[_0x4ce9('0x35')],this['discardButton']]},{'tag':_0x4ce9('0x16'),'attributes':{'class':['ck-annotation__content-wrapper']}}];this[_0x4ce9('0x4c')][_0x4ce9('0x27')]&&_0x286dc6[_0x4ce9('0x1c')]({'tag':_0x4ce9('0x16'),'attributes':{'class':[_0x4ce9('0x1')]},'children':[{'text':this[_0x4ce9('0x4a')]()}]});const _0x36067a={'tag':_0x4ce9('0x16'),'attributes':{'class':['ck-suggestion-wrapper',_0x1aa544['if'](_0x4ce9('0x17'),_0x4ce9('0x41')),_0x1aa544['to']('type',_0x216759=>_0x4ce9('0x39')+_0x216759),this[_0x4ce9('0x4')][_0x4ce9('0x23')]&&_0x4ce9('0x33')],'data-suggestion-id':this[_0x4ce9('0x4c')]['id'],'data-thread-id':this[_0x4ce9('0x4c')][_0x4ce9('0x20')]['id'],'data-author-id':this[_0x4ce9('0x4c')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x4ce9('0x16'),'attributes':{'class':['ck-suggestion','ck-annotation']},'children':[this[_0x4ce9('0x5')],{'tag':_0x4ce9('0x16'),'attributes':{'class':[_0x4ce9('0x18'),_0x4ce9('0x3f')]},'children':_0x286dc6}]}]};return this['commentsListView']&&this[_0x4ce9('0x38')]&&_0x36067a[_0x4ce9('0x2d')][_0x4ce9('0x1c')](this['commentsListView'],this[_0x4ce9('0x38')]),_0x36067a;}[_0x4ce9('0x19')](){super[_0x4ce9('0x19')](),this[_0x4ce9('0x1f')]=this[_0x4ce9('0x2e')][_0x4ce9('0x50')]('.ck-annotation__content-wrapper'),this[_0x4ce9('0x1f')][_0x4ce9('0x28')]=this[_0x4ce9('0x4d')],this['on'](_0x4ce9('0x51'),(_0x2b37be,_0x4fa139,_0x5ba9dc)=>{this[_0x4ce9('0x1f')][_0x4ce9('0x28')]=_0x5ba9dc;});}[_0x4ce9('0x32')](_0x4c152e,_0x233d1d,_0x460a0d,_0x188951,_0x1504e5){const _0x193723=new _0x323952(this[_0x4ce9('0x31')]);return _0x193723[_0x4ce9('0x21')]({'label':_0x4c152e,'icon':_0x233d1d,'tooltip':!0x0,'tooltipPosition':_0x1504e5}),_0x193723[_0x4ce9('0x2a')]({'attributes':{'class':_0x460a0d}}),_0x193723['on'](_0x4ce9('0x2'),()=>{this[_0x4ce9('0xa')](_0x188951,this[_0x4ce9('0x4c')]['id']);}),_0x193723;}[_0x4ce9('0x4a')](){return _0x4ce9('0x3a')===this['_model'][_0x4ce9('0x9')][_0x4ce9('0x47')][_0x4ce9('0x3c')]?_0x5c72a7(this[_0x4ce9('0x31')],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x5c72a7(this[_0x4ce9('0x31')],_0x4ce9('0x4b'));}['getUserViewNotificationText'](){return this[_0x4ce9('0x4c')][_0x4ce9('0x27')]?_0x4ce9('0x3a')===this[_0x4ce9('0x4c')]['attributes'][_0x4ce9('0x47')][_0x4ce9('0x3c')]?_0x5c72a7(this[_0x4ce9('0x31')],_0x4ce9('0x44'),this[_0x4ce9('0x4c')][_0x4ce9('0x30')]['name']):_0x5c72a7(this[_0x4ce9('0x31')],'EXTERNAL_AVATAR',this['_model'][_0x4ce9('0x30')][_0x4ce9('0x29')]):null;}}function ns(_0x57a1dd,_0x5728de){let _0x4a85eb='';return _0x4a85eb+=_0x57a1dd[_0x4ce9('0x2c')]('*')['map']((_0x4e7833,_0x4b3986)=>_0x4b3986%0x2!=0x0?_0x4ce9('0xb')+os(_0x4e7833)+_0x4ce9('0x11'):os(_0x4e7833))[_0x4ce9('0x3e')](''),_0x5728de&&(_0x4a85eb+=_0x4ce9('0x40')+_0x5728de[_0x4ce9('0x1d')]+'\x22\x20title=\x22'+_0x5728de[_0x4ce9('0x12')]+_0x4ce9('0x22')),_0x4a85eb;}function os(_0x3866a1){const _0x20f131=document[_0x4ce9('0x42')](_0x4ce9('0x49'));return _0x20f131['innerText']=_0x3866a1,_0x20f131[_0x4ce9('0x28')];}
23
+ const _0x7afd=['</p>','name','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__content-wrapper','check','ck-suggestion__user','formatDateTime','getTemplate','getExternalSuggestionNote','change:description','render','\x22\x20title=\x22','ck-comment__info-time','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','discardButton','ck-suggestion--accept','ck-annotation__info-time','<p>','title','set','isExternal','userView','EXTERNAL_AVATAR','ck-annotation__user','creator','attributes','\x22></span>','ck-suggestion-wrapper','ck-suggestion-wrapper--active','acceptButton','innerHTML','EXTERNAL_IMPORT_WORD_AVATAR','@external','ck-suggestion','span','ck-suggestion__info','cancel','ck-suggestion__info-name','discardSuggestion','canDiscard','<span\x20class=\x22ck-suggestion-type\x22>','fire','_descriptionElement','ck-annotation','type','Accept\x20suggestion','_config','innerText','execute','</span>','content','authoredAt','isEnabled','setTemplate','acceptSuggestion','author','extendTemplate','ck-suggestion--discard','ck-annotation__info-name','color','children','commentsListView','getUserViewNotificationText','descriptionParts','commentThreadInputView','element','ck-suggestion__main','_createButton','push','bindTemplate','querySelector','.ck-annotation__content-wrapper','map','_model','locale','bind','ck-suggestion-','source','disableComments','Discard\x20suggestion','description','div','split','ck-suggestion--disabled-comments','ck-suggestion__actions'];(function(_0x2fe544,_0x7afda5){const _0x236f0c=function(_0xeaa964){while(--_0xeaa964){_0x2fe544['push'](_0x2fe544['shift']());}};_0x236f0c(++_0x7afda5);}(_0x7afd,0x70));const _0x236f=function(_0x2fe544,_0x7afda5){_0x2fe544=_0x2fe544-0x0;let _0x236f0c=_0x7afd[_0x2fe544];return _0x236f0c;};import{getTranslation as _0x49b905}from'../../utils/common-translations';import{default as _0x5730da}from'./basesuggestionthreadview';import{ButtonView as _0x405611}from'ckeditor5/src/ui';import{icons as _0x33766e}from'ckeditor5/src/core';import{trimHtml as _0x4f9042,UserView as _0x68a9f3}from'ckeditor5-collaboration/src/collaboration-core';export default class zt extends _0x5730da{constructor(_0x20efca,_0x32f6ec,_0x52adcf,_0x3776cb){super(_0x20efca,_0x32f6ec,_0x52adcf,_0x3776cb),this[_0x236f('0x4d')](_0x236f('0x11'),''),this[_0x236f('0x30')](_0x236f('0x11'))['to'](this,_0x236f('0x24'),_0x5d2e5c=>_0x5d2e5c&&_0x5d2e5c[0x0]?_0x5d2e5c[0x0][_0x236f('0x11')]:''),this[_0x236f('0x30')](_0x236f('0x35'))['to'](this,_0x236f('0x24'),this,'isActive',(_0x1de2d5,_0x2b9f1d)=>{let _0x501665='';for(const _0x4bce85 of _0x1de2d5)_0x501665+=_0x236f('0x4b')+ns(_0x4bce85[_0x236f('0x17')],_0x4bce85[_0x236f('0x20')])+_0x236f('0x3a');return _0x2b9f1d?_0x501665:_0x4f9042(_0x501665,{'limit':0x8c});}),this[_0x236f('0xf')]=null,this['acceptButton']=this[_0x236f('0x28')](_0x49b905(_0x20efca,_0x236f('0x12')),_0x33766e[_0x236f('0x3e')],_0x236f('0x49'),_0x236f('0x1b'),'sw'),this[_0x236f('0x2')]['bind'](_0x236f('0x19'))['to'](this,'canAccept'),this[_0x236f('0x48')]=this[_0x236f('0x28')](_0x49b905(_0x20efca,_0x236f('0x34')),_0x33766e[_0x236f('0x9')],_0x236f('0x1e'),_0x236f('0xb'),'sw'),this['discardButton']['bind'](_0x236f('0x19'))['to'](this,_0x236f('0xc')),this[_0x236f('0x4f')]=new _0x68a9f3(_0x20efca,this[_0x236f('0x2e')]['author'],this[_0x236f('0x23')]()),this[_0x236f('0x4f')][_0x236f('0x1d')]({'attributes':{'class':[_0x236f('0x3f'),_0x236f('0x51')]}}),this[_0x236f('0x1a')](this[_0x236f('0x41')]());}[_0x236f('0x41')](){const _0x48f40c=this[_0x236f('0x2a')],_0x5b9e50=[{'tag':_0x236f('0x36'),'attributes':{'class':[_0x236f('0x8'),'ck-annotation__info']},'children':[{'tag':_0x236f('0x7'),'children':[{'text':this[_0x236f('0x4f')][_0x236f('0x3b')]}],'attributes':{'class':[_0x236f('0xa'),_0x236f('0x1f')]}},{'tag':'time','attributes':{'datetime':_0x48f40c['to'](_0x236f('0x18')),'class':[_0x236f('0x46'),_0x236f('0x4a')]},'children':[{'text':_0x48f40c['to'](_0x236f('0x18'),_0x205eb9=>this['_config'][_0x236f('0x40')](_0x205eb9))}]}]},{'tag':_0x236f('0x36'),'attributes':{'class':[_0x236f('0x39'),'ck-annotation__actions']},'children':[this['acceptButton'],this[_0x236f('0x48')]]},{'tag':_0x236f('0x36'),'attributes':{'class':[_0x236f('0x3d')]}}];this[_0x236f('0x2e')][_0x236f('0x4e')]&&_0x5b9e50[_0x236f('0x29')]({'tag':_0x236f('0x36'),'attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x236f('0x42')]()}]});const _0x4c7edf={'tag':'div','attributes':{'class':[_0x236f('0x0'),_0x48f40c['if']('isActive',_0x236f('0x1')),_0x48f40c['to']('type',_0x1a505e=>_0x236f('0x31')+_0x1a505e),this[_0x236f('0x13')][_0x236f('0x33')]&&_0x236f('0x38')],'data-suggestion-id':this[_0x236f('0x2e')]['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this[_0x236f('0x2e')][_0x236f('0x1c')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x236f('0x6'),_0x236f('0x10')]},'children':[this[_0x236f('0x4f')],{'tag':_0x236f('0x36'),'attributes':{'class':[_0x236f('0x27'),'ck-annotation__main']},'children':_0x5b9e50}]}]};return this['commentsListView']&&this[_0x236f('0x25')]&&_0x4c7edf[_0x236f('0x21')][_0x236f('0x29')](this[_0x236f('0x22')],this[_0x236f('0x25')]),_0x4c7edf;}[_0x236f('0x44')](){super[_0x236f('0x44')](),this['_descriptionElement']=this[_0x236f('0x26')][_0x236f('0x2b')](_0x236f('0x2c')),this[_0x236f('0xf')]['innerHTML']=this[_0x236f('0x35')],this['on'](_0x236f('0x43'),(_0x5b03a6,_0x4f0c0d,_0x4e073e)=>{this[_0x236f('0xf')][_0x236f('0x3')]=_0x4e073e;});}[_0x236f('0x28')](_0x22f424,_0x36471e,_0x27a390,_0x7a9e93,_0x5d4ea0){const _0x487151=new _0x405611(this[_0x236f('0x2f')]);return _0x487151[_0x236f('0x4d')]({'label':_0x22f424,'icon':_0x36471e,'tooltip':!0x0,'tooltipPosition':_0x5d4ea0}),_0x487151[_0x236f('0x1d')]({'attributes':{'class':_0x27a390}}),_0x487151['on'](_0x236f('0x15'),()=>{this[_0x236f('0xe')](_0x7a9e93,this[_0x236f('0x2e')]['id']);}),_0x487151;}['getExternalSuggestionNote'](){return'importWord'===this['_model'][_0x236f('0x53')][_0x236f('0x5')][_0x236f('0x32')]?_0x49b905(this[_0x236f('0x2f')],_0x236f('0x3c')):_0x49b905(this[_0x236f('0x2f')],'EXTERNAL_SUGGESTION');}['getUserViewNotificationText'](){return this[_0x236f('0x2e')][_0x236f('0x4e')]?'importWord'===this[_0x236f('0x2e')][_0x236f('0x53')]['@external'][_0x236f('0x32')]?_0x49b905(this[_0x236f('0x2f')],_0x236f('0x4'),this[_0x236f('0x2e')][_0x236f('0x52')][_0x236f('0x3b')]):_0x49b905(this[_0x236f('0x2f')],_0x236f('0x50'),this[_0x236f('0x2e')]['creator'][_0x236f('0x3b')]):null;}}function ns(_0x1bf2da,_0x44b841){let _0x55184c='';return _0x55184c+=_0x1bf2da[_0x236f('0x37')]('*')[_0x236f('0x2d')]((_0x3e9f27,_0x35ea65)=>_0x35ea65%0x2!=0x0?_0x236f('0xd')+os(_0x3e9f27)+_0x236f('0x16'):os(_0x3e9f27))['join'](''),_0x44b841&&(_0x55184c+=_0x236f('0x47')+_0x44b841['value']+_0x236f('0x45')+_0x44b841[_0x236f('0x4c')]+_0x236f('0x54')),_0x55184c;}function os(_0x41f3e3){const _0x13c567=document['createElement']('span');return _0x13c567[_0x236f('0x14')]=_0x41f3e3,_0x13c567[_0x236f('0x3')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x491287,_0x8406df,_0x5c0474){const t=_0x491287['t'];switch(_0x8406df){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',_0x5c0474);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5c0474);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5c0474);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5c0474);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5c0474);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',_0x5c0474);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5c0474);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',_0x5c0474);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5c0474);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5c0474);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5c0474);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5c0474);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5c0474);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5c0474);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5c0474);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5c0474);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5c0474);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5c0474);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5c0474);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5c0474);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5c0474);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'},_0x5c0474);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5c0474);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5c0474);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5c0474);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5c0474);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5c0474);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'},_0x5c0474);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5c0474);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5c0474);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5c0474);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5c0474);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'},_0x5c0474);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5c0474);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'},_0x5c0474);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'},_0x5c0474);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5c0474);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'},_0x5c0474);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5c0474);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'},_0x5c0474);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5c0474);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'},_0x5c0474);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'},_0x5c0474);default:return _0x8406df;}}
23
+ export function getTranslation(_0x22567f,_0x560900,_0x1a3774){const t=_0x22567f['t'];switch(_0x560900){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',_0x1a3774);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1a3774);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1a3774);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1a3774);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1a3774);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',_0x1a3774);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1a3774);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',_0x1a3774);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1a3774);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1a3774);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1a3774);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1a3774);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1a3774);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1a3774);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1a3774);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1a3774);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1a3774);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1a3774);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1a3774);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1a3774);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1a3774);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1a3774);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'},_0x1a3774);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1a3774);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1a3774);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1a3774);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1a3774);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1a3774);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'},_0x1a3774);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1a3774);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1a3774);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1a3774);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1a3774);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'},_0x1a3774);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1a3774);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'},_0x1a3774);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'},_0x1a3774);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1a3774);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'},_0x1a3774);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1a3774);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'},_0x1a3774);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1a3774);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1a3774);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'},_0x1a3774);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'},_0x1a3774);default:return _0x560900;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cb3=['add','length','createPositionAt','getRanges','from','isArray','isCollapsed','isTouching','start','deletion','value','isIntersecting','color','isInContent','execute','change','createPositionAfter','schema','getRange','next','isObject','end','sort','splice','type','content','createRange'];(function(_0x1212e5,_0x3cb3c5){const _0x7e7d16=function(_0x5ee4bd){while(--_0x5ee4bd){_0x1212e5['push'](_0x1212e5['shift']());}};_0x7e7d16(++_0x3cb3c5);}(_0x3cb3,0xaf));const _0x7e7d=function(_0x1212e5,_0x3cb3c5){_0x1212e5=_0x1212e5-0x0;let _0x7e7d16=_0x3cb3[_0x1212e5];return _0x7e7d16;};export function normalizeDescription(_0x41404a){return Array[_0x7e7d('0x13')](_0x41404a)||(_0x41404a=[_0x41404a]),_0x41404a['map'](_0x41d533=>{const _0x46ee69=_0x41d533[_0x7e7d('0xc')]['replace'](/\*/g,''),_0xf8a98=_0x41d533[_0x7e7d('0x1a')]?'\x20[color\x20'+_0x41d533[_0x7e7d('0x1a')][_0x7e7d('0x18')]+']':'';return'['+_0x41d533['type']+']\x20'+_0x46ee69+_0xf8a98;})['join'](';\x20');}export function sortSuggestions(_0x42abdb){return _0x42abdb[_0x7e7d('0x9')]((_0x2eb7c4,_0x4efb48)=>'deletion'==_0x2eb7c4[_0x7e7d('0xb')]&&'deletion'!=_0x4efb48[_0x7e7d('0xb')]?-0x1:_0x7e7d('0x17')!=_0x2eb7c4['type']&&_0x7e7d('0x17')==_0x4efb48[_0x7e7d('0xb')]?0x1:0x0);}export function getSelectedSuggestions(_0x1acb4f,_0x393b03){const _0x5a69b9=Array[_0x7e7d('0x12')](_0x1acb4f[_0x7e7d('0x11')]()),_0x1ad02c=new Set();for(const _0x5cc0b4 of _0x393b03)if(_0x5cc0b4[_0x7e7d('0x0')])for(const _0x42b7cd of _0x5a69b9)for(const _0x4d7019 of _0x5cc0b4['getMarkers']()){const _0x4e49d9=_0x4d7019[_0x7e7d('0x5')]();(_0x42b7cd[_0x7e7d('0x19')](_0x4e49d9)||_0x1acb4f[_0x7e7d('0x14')]&&!_0x5cc0b4['isMultiRange']&&_0x5cc0b4[_0x7e7d('0x6')]&&_0x4e49d9['end'][_0x7e7d('0x15')](_0x42b7cd[_0x7e7d('0x16')]))&&_0x1ad02c[_0x7e7d('0xe')](_0x5cc0b4);}return _0x1ad02c;}export function getRangesOfBlockGroups(_0x542c0f,_0x2fd32d){let _0x113883,_0x44a127=0x0;const _0x4e0399=[],_0x488269=_0x2fd32d[_0x7e7d('0x4')];for(;_0x44a127<_0x542c0f['length'];){const _0x407111=_0x542c0f[_0x44a127],_0xfbb01c=_0x542c0f[_0x44a127+0x1];_0x113883||(_0x113883=_0x2fd32d['createPositionBefore'](_0x407111)),oo(_0x2fd32d,_0x407111,_0xfbb01c)||(_0x4e0399['push'](_0x2fd32d[_0x7e7d('0xd')](_0x113883,_0x488269[_0x7e7d('0x7')](_0x407111)?_0x2fd32d['createPositionAfter'](_0x407111):_0x2fd32d[_0x7e7d('0x10')](_0x407111,_0x7e7d('0x8')))),_0x113883=null),_0x44a127++;}return _0x4e0399;}function oo(_0x1399fe,_0x3bbb3c,_0x4eb09f){if(!_0x4eb09f)return!0x1;const _0x2fa16d=_0x1399fe[_0x7e7d('0x3')](_0x3bbb3c),_0x5ec323=_0x1399fe['createPositionBefore'](_0x4eb09f);return _0x2fa16d['isTouching'](_0x5ec323);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4e177a,_0x148492,_0x300a4e){for(;_0x300a4e[_0x7e7d('0xf')];){const _0x51cd4d=_0x300a4e[_0x7e7d('0xa')](0x0,0x64);_0x4e177a[_0x7e7d('0x2')](()=>{for(const _0x50bc38 of _0x51cd4d)_0x50bc38['isInContent']&&_0x148492[_0x7e7d('0x1')](_0x50bc38['id']);});}}
23
+ const _0x4b34=['getRange','schema','from','change','next','replace','push','length','splice','map','getMarkers','isMultiRange','value','isArray','type','end','execute','sort','isTouching','color','createPositionAt','isInContent','isCollapsed','createRange','createPositionAfter','createPositionBefore','deletion','\x20[color\x20','getRanges','join','add'];(function(_0x50ffab,_0x4b3491){const _0x272258=function(_0x17863d){while(--_0x17863d){_0x50ffab['push'](_0x50ffab['shift']());}};_0x272258(++_0x4b3491);}(_0x4b34,0x1b8));const _0x2722=function(_0x50ffab,_0x4b3491){_0x50ffab=_0x50ffab-0x0;let _0x272258=_0x4b34[_0x50ffab];return _0x272258;};export function normalizeDescription(_0x23f8e4){return Array[_0x2722('0x7')](_0x23f8e4)||(_0x23f8e4=[_0x23f8e4]),_0x23f8e4[_0x2722('0x3')](_0xc8184d=>{const _0x8b1e91=_0xc8184d['content'][_0x2722('0x1e')](/\*/g,''),_0x19b2ff=_0xc8184d[_0x2722('0xd')]?_0x2722('0x15')+_0xc8184d[_0x2722('0xd')][_0x2722('0x6')]+']':'';return'['+_0xc8184d['type']+']\x20'+_0x8b1e91+_0x19b2ff;})[_0x2722('0x17')](';\x20');}export function sortSuggestions(_0x184c22){return _0x184c22[_0x2722('0xb')]((_0x338a3b,_0x3554e5)=>_0x2722('0x14')==_0x338a3b['type']&&_0x2722('0x14')!=_0x3554e5[_0x2722('0x8')]?-0x1:_0x2722('0x14')!=_0x338a3b[_0x2722('0x8')]&&_0x2722('0x14')==_0x3554e5['type']?0x1:0x0);}export function getSelectedSuggestions(_0x17ca23,_0x19c14e){const _0x56155c=Array[_0x2722('0x1b')](_0x17ca23[_0x2722('0x16')]()),_0x3b6489=new Set();for(const _0x4b4c31 of _0x19c14e)if(_0x4b4c31[_0x2722('0xf')])for(const _0x223a79 of _0x56155c)for(const _0x229a1e of _0x4b4c31[_0x2722('0x4')]()){const _0x38a5e1=_0x229a1e[_0x2722('0x19')]();(_0x223a79['isIntersecting'](_0x38a5e1)||_0x17ca23[_0x2722('0x10')]&&!_0x4b4c31[_0x2722('0x5')]&&_0x4b4c31[_0x2722('0x1d')]&&_0x38a5e1[_0x2722('0x9')][_0x2722('0xc')](_0x223a79['start']))&&_0x3b6489[_0x2722('0x18')](_0x4b4c31);}return _0x3b6489;}export function getRangesOfBlockGroups(_0x266476,_0x3303dc){let _0x2d8ef6,_0xd1329=0x0;const _0x39e541=[],_0x577129=_0x3303dc[_0x2722('0x1a')];for(;_0xd1329<_0x266476[_0x2722('0x1')];){const _0x3fb3d3=_0x266476[_0xd1329],_0x148c20=_0x266476[_0xd1329+0x1];_0x2d8ef6||(_0x2d8ef6=_0x3303dc[_0x2722('0x13')](_0x3fb3d3)),oo(_0x3303dc,_0x3fb3d3,_0x148c20)||(_0x39e541[_0x2722('0x0')](_0x3303dc[_0x2722('0x11')](_0x2d8ef6,_0x577129['isObject'](_0x3fb3d3)?_0x3303dc[_0x2722('0x12')](_0x3fb3d3):_0x3303dc[_0x2722('0xe')](_0x3fb3d3,_0x2722('0x9')))),_0x2d8ef6=null),_0xd1329++;}return _0x39e541;}function oo(_0x1b48ab,_0x20c93e,_0x5a8263){if(!_0x5a8263)return!0x1;const _0x1a3203=_0x1b48ab[_0x2722('0x12')](_0x20c93e),_0x27e89e=_0x1b48ab[_0x2722('0x13')](_0x5a8263);return _0x1a3203[_0x2722('0xc')](_0x27e89e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x482fc4,_0x58d63f,_0x40bb4c){for(;_0x40bb4c[_0x2722('0x1')];){const _0x5c617b=_0x40bb4c[_0x2722('0x2')](0x0,0x64);_0x482fc4[_0x2722('0x1c')](()=>{for(const _0x303db3 of _0x5c617b)_0x303db3['isInContent']&&_0x58d63f[_0x2722('0xa')](_0x303db3['id']);});}}