@ckeditor/ckeditor5-track-changes 35.2.1 → 35.3.1

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 (158) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +4 -1
  51. package/lang/translations/ar.po +12 -0
  52. package/lang/translations/az.po +12 -0
  53. package/lang/translations/bg.po +12 -0
  54. package/lang/translations/bn.po +12 -0
  55. package/lang/translations/ca.po +12 -0
  56. package/lang/translations/cs.po +12 -0
  57. package/lang/translations/da.po +12 -0
  58. package/lang/translations/de.po +12 -0
  59. package/lang/translations/el.po +12 -0
  60. package/lang/translations/en-au.po +12 -0
  61. package/lang/translations/en.po +12 -0
  62. package/lang/translations/es.po +12 -0
  63. package/lang/translations/et.po +12 -0
  64. package/lang/translations/fi.po +12 -0
  65. package/lang/translations/fr.po +12 -0
  66. package/lang/translations/gl.po +12 -0
  67. package/lang/translations/he.po +12 -0
  68. package/lang/translations/hi.po +12 -0
  69. package/lang/translations/hr.po +12 -0
  70. package/lang/translations/hu.po +12 -0
  71. package/lang/translations/id.po +12 -0
  72. package/lang/translations/it.po +12 -0
  73. package/lang/translations/ja.po +12 -0
  74. package/lang/translations/ko.po +12 -0
  75. package/lang/translations/lt.po +12 -0
  76. package/lang/translations/lv.po +12 -0
  77. package/lang/translations/ms.po +12 -0
  78. package/lang/translations/nl.po +12 -0
  79. package/lang/translations/no.po +12 -0
  80. package/lang/translations/pl.po +12 -0
  81. package/lang/translations/pt-br.po +12 -0
  82. package/lang/translations/pt.po +12 -0
  83. package/lang/translations/ro.po +12 -0
  84. package/lang/translations/ru.po +12 -0
  85. package/lang/translations/sk.po +12 -0
  86. package/lang/translations/sr-latn.po +12 -0
  87. package/lang/translations/sr.po +12 -0
  88. package/lang/translations/sv.po +12 -0
  89. package/lang/translations/th.po +12 -0
  90. package/lang/translations/tk.po +12 -0
  91. package/lang/translations/tr.po +12 -0
  92. package/lang/translations/tt.po +12 -0
  93. package/lang/translations/uk.po +12 -0
  94. package/lang/translations/ur.po +12 -0
  95. package/lang/translations/vi.po +12 -0
  96. package/lang/translations/zh-cn.po +12 -0
  97. package/lang/translations/zh.po +12 -0
  98. package/package.json +4 -4
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardsuggestioncommand.js +1 -1
  101. package/src/{utils/sortsuggestions.js → commands/executeonallsuggestionscommand.js} +1 -1
  102. package/src/commands/executeonselectedsuggestionscommand.js +23 -0
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +23 -0
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/font.js +1 -1
  114. package/src/integrations/heading.js +1 -1
  115. package/src/integrations/highlight.js +1 -1
  116. package/src/integrations/horizontalline.js +1 -1
  117. package/src/integrations/htmlembed.js +1 -1
  118. package/src/integrations/image.js +1 -1
  119. package/src/integrations/importword.js +1 -1
  120. package/src/integrations/indent.js +1 -1
  121. package/src/integrations/inputcommand.js +1 -1
  122. package/src/integrations/link.js +1 -1
  123. package/src/integrations/list.js +1 -1
  124. package/src/integrations/mediaembed.js +1 -1
  125. package/src/integrations/mention.js +1 -1
  126. package/src/integrations/pagebreak.js +1 -1
  127. package/src/integrations/paragraph.js +1 -1
  128. package/src/integrations/removeformat.js +1 -1
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.js +1 -1
  131. package/src/integrations/standardeditingmode.js +1 -1
  132. package/src/integrations/style.js +1 -1
  133. package/src/integrations/table.js +1 -1
  134. package/src/{utils/normalizedescription.js → integrations/tablecaption.js} +1 -1
  135. package/src/integrations/tableclipboard.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/title.js +1 -1
  139. package/src/integrations/undo.js +1 -1
  140. package/src/integrations/utils.js +1 -1
  141. package/src/suggestion.js +1 -1
  142. package/src/suggestiondescriptionfactory.js +1 -1
  143. package/src/trackchanges.js +1 -1
  144. package/src/trackchangesdata.js +1 -1
  145. package/src/trackchangesediting.js +1 -1
  146. package/src/trackchangesui.js +1 -1
  147. package/src/ui/suggestioncontroller.js +1 -1
  148. package/src/ui/view/basesuggestionthreadview.js +1 -1
  149. package/src/ui/view/suggestionthreadview.js +1 -1
  150. package/src/utils/common-translations.js +1 -1
  151. package/src/utils/utils.js +23 -0
  152. package/src/commands/acceptallsuggestionscommand.js +0 -23
  153. package/src/commands/acceptselectedsuggestionscommand.js +0 -23
  154. package/src/commands/discardallsuggestionscommand.js +0 -23
  155. package/src/commands/discardselectedsuggestionscommand.js +0 -23
  156. package/src/utils/getrangesofblockgroups.js +0 -23
  157. package/src/utils/getselectedsuggestions.js +0 -23
  158. package/src/utils/hashobject.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2271=['name','isActive','type','push','div','locale','@external','discardButton','ck-annotation__main','commentsListView','ck-annotation__info-time','change:description','join','ck-annotation__content-wrapper','bind','querySelector','getTemplate','ck-annotation','span','ck-suggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','check','_model','children','</p>','externalAuthor','map','disableComments','userView','ck-annotation__info-name','innerHTML','_createButton','set','ck-suggestion--discard','commentThreadInputView','ck-annotation__info','</span>','render','createElement','_config','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-','ck-suggestion__info-name','EXTERNAL_SUGGESTION','.ck-annotation__content-wrapper','setTemplate','split','acceptButton','author','ck-comment__external','commentThread','ck-suggestion__info','formatDateTime','extendTemplate','ck-comment__info-time','_descriptionElement','<p>','ck-suggestion__actions','ck-annotation__actions','ck-suggestion--accept','ck-suggestion__user','ck-suggestion-wrapper','descriptionParts','element','description','createdAt','acceptSuggestion','title','ck-annotation__user','ck-suggestion__main'];(function(_0x24299a,_0x22714e){const _0x2d2bd5=function(_0x485a23){while(--_0x485a23){_0x24299a['push'](_0x24299a['shift']());}};_0x2d2bd5(++_0x22714e);}(_0x2271,0x6d));const _0x2d2b=function(_0x24299a,_0x22714e){_0x24299a=_0x24299a-0x0;let _0x2d2bd5=_0x2271[_0x24299a];return _0x2d2bd5;};import{getTranslation as _0xc50fb6}from'../../utils/common-translations';import _0x4da17d from'./basesuggestionthreadview';import{ButtonView as _0x159876}from'ckeditor5/src/ui';import{icons as _0x547518}from'ckeditor5/src/core';import{trimHtml as _0x383d13,UserView as _0x49149b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x4da17d{constructor(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8){super(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8),this[_0x2d2b('0x42')]('type',''),this[_0x2d2b('0x2f')]('type')['to'](this,_0x2d2b('0x19'),_0x5558a4=>_0x5558a4&&_0x5558a4[0x0]?_0x5558a4[0x0][_0x2d2b('0x23')]:''),this[_0x2d2b('0x2f')]('description')['to'](this,_0x2d2b('0x19'),this,_0x2d2b('0x22'),(_0x2145b8,_0x579dbf)=>{let _0x44f4ce='';for(const _0x461517 of _0x2145b8)_0x44f4ce+=_0x2d2b('0x13')+es(_0x461517['content'],_0x461517['color'])+_0x2d2b('0x3a');return _0x579dbf?_0x44f4ce:_0x383d13(_0x44f4ce,{'limit':0x8c});}),this[_0x2d2b('0x12')]=null,this['acceptButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Accept\x20suggestion'),_0x547518[_0x2d2b('0x37')],_0x2d2b('0x16'),_0x2d2b('0x1d'),'sw'),this['discardButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Discard\x20suggestion'),_0x547518['cancel'],_0x2d2b('0x43'),'discardSuggestion','sw');const _0x2b482e=this[_0x2d2b('0x38')]['externalAuthor']?this[_0x2d2b('0x38')]['attributes'][_0x2d2b('0x27')]:this[_0x2d2b('0x38')];this['set'](_0x2d2b('0x1c'),_0x2b482e['createdAt']),this[_0x2d2b('0x3e')]=new _0x49149b(_0x52a1e2,this[_0x2d2b('0x38')][_0x2d2b('0x3b')]||this[_0x2d2b('0x38')][_0x2d2b('0xb')]),this[_0x2d2b('0x3e')][_0x2d2b('0x10')]({'attributes':{'class':[_0x2d2b('0x17'),_0x2d2b('0x1f')]}}),this[_0x2d2b('0x8')](this[_0x2d2b('0x31')]());}[_0x2d2b('0x31')](){const _0x15fb48=this['bindTemplate'],_0x16bbb9=[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xe'),_0x2d2b('0x45')]},'children':[{'tag':_0x2d2b('0x33'),'children':[{'text':this[_0x2d2b('0x3e')][_0x2d2b('0x21')]}],'attributes':{'class':[_0x2d2b('0x5'),_0x2d2b('0x3f')]}},{'tag':'time','attributes':{'datetime':_0x15fb48['to']('createdAt'),'class':[_0x2d2b('0x11'),_0x2d2b('0x2b')]},'children':[{'text':_0x15fb48['to'](_0x2d2b('0x1c'),_0x59474b=>this['_config'][_0x2d2b('0xf')](_0x59474b))}]}]},{'tag':'div','attributes':{'class':[_0x2d2b('0x14'),_0x2d2b('0x15')]},'children':[this[_0x2d2b('0xa')],this[_0x2d2b('0x28')]]},{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x2e')]}}];this['_model'][_0x2d2b('0x3b')]&&_0x16bbb9[_0x2d2b('0x24')]({'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xc')]},'children':[{'text':_0xc50fb6(this[_0x2d2b('0x26')],_0x2d2b('0x6'))}]});const _0x49a561={'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x18'),_0x15fb48['if'](_0x2d2b('0x22'),'ck-suggestion-wrapper--active'),_0x15fb48['to'](_0x2d2b('0x23'),_0x316b85=>_0x2d2b('0x4')+_0x316b85),this[_0x2d2b('0x2')][_0x2d2b('0x3d')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x2d2b('0x38')][_0x2d2b('0xd')]['id'],'data-author-id':this[_0x2d2b('0x38')][_0x2d2b('0xb')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x34'),_0x2d2b('0x32')]},'children':[this['userView'],{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x20'),_0x2d2b('0x29')]},'children':_0x16bbb9}]}]};return this['commentsListView']&&this[_0x2d2b('0x44')]&&_0x49a561[_0x2d2b('0x39')][_0x2d2b('0x24')](this[_0x2d2b('0x2a')],this[_0x2d2b('0x44')]),_0x49a561;}[_0x2d2b('0x0')](){super[_0x2d2b('0x0')](),this[_0x2d2b('0x12')]=this[_0x2d2b('0x1a')][_0x2d2b('0x30')](_0x2d2b('0x7')),this[_0x2d2b('0x12')][_0x2d2b('0x40')]=this[_0x2d2b('0x1b')],this['on'](_0x2d2b('0x2c'),(_0x5d8614,_0x569607,_0x7d1e47)=>{this[_0x2d2b('0x12')]['innerHTML']=_0x7d1e47;});}[_0x2d2b('0x41')](_0xe89e4c,_0x4f66c0,_0x2c321d,_0x5a516d,_0x2206df){const _0x5afdd7=new _0x159876(this['locale']);return _0x5afdd7[_0x2d2b('0x42')]({'label':_0xe89e4c,'icon':_0x4f66c0,'tooltip':!0x0,'tooltipPosition':_0x2206df}),_0x5afdd7[_0x2d2b('0x10')]({'attributes':{'class':_0x2c321d}}),_0x5afdd7['on']('execute',()=>{this['fire'](_0x5a516d,this[_0x2d2b('0x38')]['id']);}),_0x5afdd7[_0x2d2b('0x2f')]('isEnabled')['to'](this),_0x5afdd7;}}function es(_0x57a7e1,_0x167321){let _0x19728e='';return _0x19728e+=_0x57a7e1[_0x2d2b('0x9')]('*')[_0x2d2b('0x3c')]((_0x41f1a9,_0x636069)=>_0x636069%0x2!=0x0?_0x2d2b('0x3')+ns(_0x41f1a9)+_0x2d2b('0x46'):ns(_0x41f1a9))[_0x2d2b('0x2d')](''),_0x167321&&(_0x19728e+=_0x2d2b('0x35')+_0x167321[_0x2d2b('0x36')]+'\x22\x20title=\x22'+_0x167321[_0x2d2b('0x1e')]+'\x22></span>'),_0x19728e;}function ns(_0x581e96){const _0x2ef731=document[_0x2d2b('0x1')](_0x2d2b('0x33'));return _0x2ef731['innerText']=_0x581e96,_0x2ef731[_0x2d2b('0x40')];}
23
+ const _0x1d29=['\x22></span>','map','.ck-annotation__content-wrapper','source','ck-suggestion-wrapper','userView','ck-annotation__info-name','ck-suggestion-','innerText','ck-annotation','ck-annotation__content-wrapper','getExternalSuggestionNote','ck-comment__info-time','descriptionParts','description','isEnabled','ck-suggestion__actions','getUserViewNotificationText','ck-suggestion--accept','_createButton','push','extendTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION','render','acceptButton','getTemplate','title','ck-suggestion__main','author','ck-suggestion__info','<p>','span','ck-annotation__user','fire','element','importWord','innerHTML','</span>','<span\x20class=\x22ck-suggestion-type\x22>','color','discardSuggestion','ck-annotation__actions','EXTERNAL_SUGGESTION','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','bind','EXTERNAL_AVATAR','isActive','commentThreadInputView','change:description','time','createElement','setTemplate','value','commentsListView','ck-annotation__info-time','_model','ck-suggestion--discard','_descriptionElement','_config','ck-suggestion__user','creator','ck-suggestion--disabled-comments','attributes','check','@external','discardButton','ck-comment__external','ck-suggestion__info-name','isExternal','name','querySelector','set','type','div','locale','authoredAt'];(function(_0x4a3e3c,_0x1d2943){const _0x51d406=function(_0xaa8cfa){while(--_0xaa8cfa){_0x4a3e3c['push'](_0x4a3e3c['shift']());}};_0x51d406(++_0x1d2943);}(_0x1d29,0x19c));const _0x51d4=function(_0x4a3e3c,_0x1d2943){_0x4a3e3c=_0x4a3e3c-0x0;let _0x51d406=_0x1d29[_0x4a3e3c];return _0x51d406;};import{getTranslation as _0xa64aba}from'../../utils/common-translations';import _0x743430 from'./basesuggestionthreadview';import{ButtonView as _0x5679c9}from'ckeditor5/src/ui';import{icons as _0x26acf0}from'ckeditor5/src/core';import{trimHtml as _0x451a03,UserView as _0x1e0422}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x743430{constructor(_0x31133d,_0x486225,_0xbc42e3,_0x8c8550){super(_0x31133d,_0x486225,_0xbc42e3,_0x8c8550),this[_0x51d4('0x27')](_0x51d4('0x28'),''),this[_0x51d4('0xc')](_0x51d4('0x28'))['to'](this,_0x51d4('0x39'),_0x481297=>_0x481297&&_0x481297[0x0]?_0x481297[0x0]['type']:''),this['bind'](_0x51d4('0x3a'))['to'](this,'descriptionParts',this,_0x51d4('0xe'),(_0x10248d,_0xad154b)=>{let _0x3e3554='';for(const _0x37977b of _0x10248d)_0x3e3554+=_0x51d4('0x4a')+ns(_0x37977b['content'],_0x37977b[_0x51d4('0x7')])+'</p>';return _0xad154b?_0x3e3554:_0x451a03(_0x3e3554,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x51d4('0x44')]=this[_0x51d4('0x3f')](_0xa64aba(_0x31133d,'Accept\x20suggestion'),_0x26acf0[_0x51d4('0x1f')],_0x51d4('0x3e'),'acceptSuggestion','sw'),this[_0x51d4('0x21')]=this[_0x51d4('0x3f')](_0xa64aba(_0x31133d,'Discard\x20suggestion'),_0x26acf0['cancel'],_0x51d4('0x18'),_0x51d4('0x8'),'sw'),this['userView']=new _0x1e0422(_0x31133d,this['_model']['author'],this[_0x51d4('0x3d')]()),this[_0x51d4('0x31')][_0x51d4('0x41')]({'attributes':{'class':[_0x51d4('0x1b'),_0x51d4('0x0')]}}),this[_0x51d4('0x13')](this['getTemplate']());}[_0x51d4('0x45')](){const _0x9e56f1=this['bindTemplate'],_0x10a380=[{'tag':_0x51d4('0x29'),'attributes':{'class':[_0x51d4('0x49'),'ck-annotation__info']},'children':[{'tag':_0x51d4('0x4b'),'children':[{'text':this[_0x51d4('0x31')][_0x51d4('0x25')]}],'attributes':{'class':[_0x51d4('0x23'),_0x51d4('0x32')]}},{'tag':_0x51d4('0x11'),'attributes':{'datetime':_0x9e56f1['to'](_0x51d4('0x2b')),'class':[_0x51d4('0x38'),_0x51d4('0x16')]},'children':[{'text':_0x9e56f1['to'](_0x51d4('0x2b'),_0x5ada74=>this[_0x51d4('0x1a')]['formatDateTime'](_0x5ada74))}]}]},{'tag':_0x51d4('0x29'),'attributes':{'class':[_0x51d4('0x3c'),_0x51d4('0x9')]},'children':[this[_0x51d4('0x44')],this[_0x51d4('0x21')]]},{'tag':'div','attributes':{'class':[_0x51d4('0x36')]}}];this['_model'][_0x51d4('0x24')]&&_0x10a380['push']({'tag':_0x51d4('0x29'),'attributes':{'class':[_0x51d4('0x22')]},'children':[{'text':this[_0x51d4('0x37')]()}]});const _0x3cb1fe={'tag':_0x51d4('0x29'),'attributes':{'class':[_0x51d4('0x30'),_0x9e56f1['if']('isActive','ck-suggestion-wrapper--active'),_0x9e56f1['to']('type',_0x31594c=>_0x51d4('0x33')+_0x31594c),this[_0x51d4('0x1a')]['disableComments']&&_0x51d4('0x1d')],'data-suggestion-id':this[_0x51d4('0x17')]['id'],'data-thread-id':this[_0x51d4('0x17')]['commentThread']['id'],'data-author-id':this[_0x51d4('0x17')][_0x51d4('0x48')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-suggestion',_0x51d4('0x35')]},'children':[this['userView'],{'tag':_0x51d4('0x29'),'attributes':{'class':[_0x51d4('0x47'),'ck-annotation__main']},'children':_0x10a380}]}]};return this[_0x51d4('0x15')]&&this[_0x51d4('0xf')]&&_0x3cb1fe['children'][_0x51d4('0x40')](this[_0x51d4('0x15')],this[_0x51d4('0xf')]),_0x3cb1fe;}[_0x51d4('0x43')](){super[_0x51d4('0x43')](),this[_0x51d4('0x19')]=this[_0x51d4('0x2')][_0x51d4('0x26')](_0x51d4('0x2e')),this['_descriptionElement'][_0x51d4('0x4')]=this[_0x51d4('0x3a')],this['on'](_0x51d4('0x10'),(_0x1748dc,_0x14b189,_0x10b4af)=>{this[_0x51d4('0x19')][_0x51d4('0x4')]=_0x10b4af;});}['_createButton'](_0x34c05a,_0x493eef,_0x280e25,_0x3fb464,_0x351935){const _0x324bae=new _0x5679c9(this[_0x51d4('0x2a')]);return _0x324bae['set']({'label':_0x34c05a,'icon':_0x493eef,'tooltip':!0x0,'tooltipPosition':_0x351935}),_0x324bae['extendTemplate']({'attributes':{'class':_0x280e25}}),_0x324bae['on']('execute',()=>{this[_0x51d4('0x1')](_0x3fb464,this['_model']['id']);}),_0x324bae['bind'](_0x51d4('0x3b'))['to'](this),_0x324bae;}[_0x51d4('0x37')](){return'importWord'===this['_model'][_0x51d4('0x1e')]['@external'][_0x51d4('0x2f')]?_0xa64aba(this[_0x51d4('0x2a')],_0x51d4('0x42')):_0xa64aba(this['locale'],_0x51d4('0xa'));}[_0x51d4('0x3d')](){return this[_0x51d4('0x17')][_0x51d4('0x24')]?_0x51d4('0x3')===this['_model'][_0x51d4('0x1e')][_0x51d4('0x20')][_0x51d4('0x2f')]?_0xa64aba(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator'][_0x51d4('0x25')]):_0xa64aba(this[_0x51d4('0x2a')],_0x51d4('0xd'),this[_0x51d4('0x17')][_0x51d4('0x1c')][_0x51d4('0x25')]):null;}}function ns(_0x44c097,_0x342615){let _0x4d2d07='';return _0x4d2d07+=_0x44c097['split']('*')[_0x51d4('0x2d')]((_0x1d733c,_0x17a96b)=>_0x17a96b%0x2!=0x0?_0x51d4('0x6')+os(_0x1d733c)+_0x51d4('0x5'):os(_0x1d733c))['join'](''),_0x342615&&(_0x4d2d07+=_0x51d4('0xb')+_0x342615[_0x51d4('0x14')]+'\x22\x20title=\x22'+_0x342615[_0x51d4('0x46')]+_0x51d4('0x2c')),_0x4d2d07;}function os(_0x35954b){const _0x46d944=document[_0x51d4('0x12')](_0x51d4('0x4b'));return _0x46d944[_0x51d4('0x34')]=_0x35954b,_0x46d944[_0x51d4('0x4')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x45b9cd,_0x2646dc,_0x5c1231){const t=_0x45b9cd['t'];switch(_0x2646dc){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',_0x5c1231);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5c1231);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5c1231);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5c1231);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5c1231);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5c1231);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5c1231);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5c1231);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5c1231);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5c1231);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5c1231);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5c1231);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5c1231);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5c1231);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5c1231);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5c1231);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5c1231);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5c1231);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'},_0x5c1231);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5c1231);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5c1231);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5c1231);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5c1231);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5c1231);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5c1231);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5c1231);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5c1231);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});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'},_0x5c1231);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5c1231);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'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5c1231);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.'});}}
23
+ export function getTranslation(_0x15a943,_0x2e0514,_0x274efe){const t=_0x15a943['t'];switch(_0x2e0514){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',_0x274efe);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x274efe);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x274efe);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x274efe);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x274efe);case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x274efe);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x274efe);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x274efe);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x274efe);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x274efe);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x274efe);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x274efe);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x274efe);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x274efe);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x274efe);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x274efe);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x274efe);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x274efe);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x274efe);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x274efe);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'},_0x274efe);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x274efe);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x274efe);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x274efe);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x274efe);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x274efe);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'},_0x274efe);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x274efe);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x274efe);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x274efe);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x274efe);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});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'},_0x274efe);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x274efe);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'},_0x274efe);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'},_0x274efe);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x274efe);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'},_0x274efe);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x274efe);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'},_0x274efe);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x274efe);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'},_0x274efe);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'},_0x274efe);}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2b42=['add','isCollapsed','isObject','isTouching','content','isInContent','splice','schema','color','replace','execute','push','type','from','next','createPositionBefore','end','deletion','getRanges','\x20[color\x20','createPositionAfter','createPositionAt','getMarkers','createRange','sort','join','getRange','map'];(function(_0xedb91,_0x2b42b0){const _0x498e76=function(_0x395df9){while(--_0x395df9){_0xedb91['push'](_0xedb91['shift']());}};_0x498e76(++_0x2b42b0);}(_0x2b42,0x67));const _0x498e=function(_0xedb91,_0x2b42b0){_0xedb91=_0xedb91-0x0;let _0x498e76=_0x2b42[_0xedb91];return _0x498e76;};export function normalizeDescription(_0x5c7b3d){return Array['isArray'](_0x5c7b3d)||(_0x5c7b3d=[_0x5c7b3d]),_0x5c7b3d[_0x498e('0x8')](_0x4c33de=>{const _0x36429c=_0x4c33de[_0x498e('0xd')][_0x498e('0x12')](/\*/g,''),_0x5156d2=_0x4c33de[_0x498e('0x11')]?_0x498e('0x0')+_0x4c33de[_0x498e('0x11')]['value']+']':'';return'['+_0x4c33de['type']+']\x20'+_0x36429c+_0x5156d2;})[_0x498e('0x6')](';\x20');}export function sortSuggestions(_0xdbf282){return _0xdbf282[_0x498e('0x5')]((_0x593074,_0x403deb)=>_0x498e('0x1a')==_0x593074[_0x498e('0x15')]&&'deletion'!=_0x403deb[_0x498e('0x15')]?-0x1:_0x498e('0x1a')!=_0x593074[_0x498e('0x15')]&&_0x498e('0x1a')==_0x403deb[_0x498e('0x15')]?0x1:0x0);}export function getSelectedSuggestions(_0xd1340,_0x42a899){const _0x4383db=Array[_0x498e('0x16')](_0xd1340[_0x498e('0x1b')]()),_0x4bb608=new Set();for(const _0x5db911 of _0x42a899)if(_0x5db911['isInContent'])for(const _0x14479f of _0x4383db)for(const _0x4448ad of _0x5db911[_0x498e('0x3')]()){const _0xf51577=_0x4448ad[_0x498e('0x7')]();(_0x14479f['isIntersecting'](_0xf51577)||_0xd1340[_0x498e('0xa')]&&!_0x5db911['isMultiRange']&&_0x5db911[_0x498e('0x17')]&&_0xf51577[_0x498e('0x19')][_0x498e('0xc')](_0x14479f['start']))&&_0x4bb608[_0x498e('0x9')](_0x5db911);}return _0x4bb608;}export function getRangesOfBlockGroups(_0x30bb0b,_0x3fa3d5){let _0x4c815c,_0x1e139d=0x0;const _0x3b3500=[],_0x1e509c=_0x3fa3d5[_0x498e('0x10')];for(;_0x1e139d<_0x30bb0b['length'];){const _0x1ca4d1=_0x30bb0b[_0x1e139d],_0x448e18=_0x30bb0b[_0x1e139d+0x1];_0x4c815c||(_0x4c815c=_0x3fa3d5[_0x498e('0x18')](_0x1ca4d1)),no(_0x3fa3d5,_0x1ca4d1,_0x448e18)||(_0x3b3500[_0x498e('0x14')](_0x3fa3d5[_0x498e('0x4')](_0x4c815c,_0x1e509c[_0x498e('0xb')](_0x1ca4d1)?_0x3fa3d5[_0x498e('0x1')](_0x1ca4d1):_0x3fa3d5[_0x498e('0x2')](_0x1ca4d1,'end'))),_0x4c815c=null),_0x1e139d++;}return _0x3b3500;}function no(_0x59b828,_0x308adc,_0x3f1fb8){if(!_0x3f1fb8)return!0x1;const _0x3ace75=_0x59b828['createPositionAfter'](_0x308adc),_0x4c8d73=_0x59b828[_0x498e('0x18')](_0x3f1fb8);return _0x3ace75[_0x498e('0xc')](_0x4c8d73);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x14ebc2,_0x492b63,_0x2a64c0){for(;_0x2a64c0['length'];){const _0x39e3a1=_0x2a64c0[_0x498e('0xf')](0x0,0x64);_0x14ebc2['change'](()=>{for(const _0x1bebe3 of _0x39e3a1)_0x1bebe3[_0x498e('0xe')]&&_0x492b63[_0x498e('0x13')](_0x1bebe3['id']);});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x5644=['values','isInContent','execute','editor','model','some','isEnabled','_suggestions','refresh','from','change','_acceptSuggestionCommand'];(function(_0x7218d8,_0x5644f2){const _0x19781d=function(_0x2730d2){while(--_0x2730d2){_0x7218d8['push'](_0x7218d8['shift']());}};_0x19781d(++_0x5644f2);}(_0x5644,0x81));const _0x1978=function(_0x7218d8,_0x5644f2){_0x7218d8=_0x7218d8-0x0;let _0x19781d=_0x5644[_0x7218d8];return _0x19781d;};import{Command as _0x264d48}from'ckeditor5/src/core';import _0x234351 from'../utils/sortsuggestions';export default class R extends _0x264d48{constructor(_0x2038e2,_0x3bbcb5,_0xa006fc){super(_0x2038e2),this[_0x1978('0x2')]=_0x3bbcb5,this[_0x1978('0xa')]=_0xa006fc,this[_0x1978('0xb')]();}[_0x1978('0xb')](){const _0x14a65d=this['_acceptSuggestionCommand'];this[_0x1978('0x9')]=_0x14a65d[_0x1978('0x9')]&&Array[_0x1978('0x0')](this[_0x1978('0xa')]['values']())[_0x1978('0x8')](_0x17c11e=>_0x17c11e[_0x1978('0x4')]);}['execute'](){this[_0x1978('0x6')][_0x1978('0x7')][_0x1978('0x1')](()=>{const _0x1def05=_0x234351(Array[_0x1978('0x0')](this['_suggestions'][_0x1978('0x3')]()));for(const _0xe671f9 of _0x1def05)_0xe671f9[_0x1978('0x4')]&&this[_0x1978('0x2')][_0x1978('0x5')](_0xe671f9['id']);});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x482e=['values','editor','size','_selectedSuggestions','from','_acceptSuggestionCommand','_suggestions','selection','refresh','model','execute'];(function(_0x44c26e,_0x482e70){const _0xabbdaa=function(_0x2623a6){while(--_0x2623a6){_0x44c26e['push'](_0x44c26e['shift']());}};_0xabbdaa(++_0x482e70);}(_0x482e,0x185));const _0xabbd=function(_0x44c26e,_0x482e70){_0x44c26e=_0x44c26e-0x0;let _0xabbdaa=_0x482e[_0x44c26e];return _0xabbdaa;};import{Command as _0x1636b3}from'ckeditor5/src/core';import _0x387221 from'../utils/sortsuggestions';import _0xebcf1a from'../utils/getselectedsuggestions';export default class j extends _0x1636b3{constructor(_0x12d202,_0x747e87,_0x5d0853){super(_0x12d202),this[_0xabbd('0x1')]=_0x747e87,this[_0xabbd('0x2')]=_0x5d0853,this[_0xabbd('0xa')]=new Set(),this['refresh']();}[_0xabbd('0x4')](){const _0x561a20=this['_acceptSuggestionCommand'],_0x277e53=this[_0xabbd('0x8')][_0xabbd('0x5')]['document'][_0xabbd('0x3')],_0xe38dbe=Array['from'](this[_0xabbd('0x2')][_0xabbd('0x7')]());this[_0xabbd('0xa')]=_0xebcf1a(_0x277e53,_0xe38dbe),this['isEnabled']=_0x561a20['isEnabled']&&!!this[_0xabbd('0xa')][_0xabbd('0x9')];}[_0xabbd('0x6')](){this[_0xabbd('0x8')][_0xabbd('0x5')]['change'](()=>{const _0x8ab27d=_0x387221(Array[_0xabbd('0x0')](this[_0xabbd('0xa')]));for(const _0x39ed4d of _0x8ab27d)this[_0xabbd('0x1')][_0xabbd('0x6')](_0x39ed4d['id']);});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x55a8=['_suggestions','refresh','isEnabled','execute','_discardSuggestionCommand','isInContent','from','editor','model','values'];(function(_0x5c6878,_0x55a889){const _0x35c287=function(_0x56ee86){while(--_0x56ee86){_0x5c6878['push'](_0x5c6878['shift']());}};_0x35c287(++_0x55a889);}(_0x55a8,0x1e8));const _0x35c2=function(_0x5c6878,_0x55a889){_0x5c6878=_0x5c6878-0x0;let _0x35c287=_0x55a8[_0x5c6878];return _0x35c287;};import{Command as _0x312d50}from'ckeditor5/src/core';export default class x extends _0x312d50{constructor(_0x5b90ab,_0x438637,_0x54e25b){super(_0x5b90ab),this[_0x35c2('0x6')]=_0x438637,this[_0x35c2('0x2')]=_0x54e25b,this[_0x35c2('0x3')]();}[_0x35c2('0x3')](){const _0x48a59e=this[_0x35c2('0x6')];this[_0x35c2('0x4')]=_0x48a59e[_0x35c2('0x4')]&&Array[_0x35c2('0x8')](this[_0x35c2('0x2')][_0x35c2('0x1')]())['some'](_0x206f1a=>_0x206f1a['isInContent']);}[_0x35c2('0x5')](){this[_0x35c2('0x9')][_0x35c2('0x0')]['change'](()=>{for(const _0x13216f of this[_0x35c2('0x2')][_0x35c2('0x1')]())_0x13216f[_0x35c2('0x7')]&&this['_discardSuggestionCommand']['execute'](_0x13216f['id']);});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x1467=['refresh','values','execute','_selectedSuggestions','from','size','model','_discardSuggestionCommand','change','_suggestions','editor','isEnabled'];(function(_0x231d4d,_0x146780){const _0x5b08e9=function(_0xe5b785){while(--_0xe5b785){_0x231d4d['push'](_0x231d4d['shift']());}};_0x5b08e9(++_0x146780);}(_0x1467,0xf7));const _0x5b08=function(_0x231d4d,_0x146780){_0x231d4d=_0x231d4d-0x0;let _0x5b08e9=_0x1467[_0x231d4d];return _0x5b08e9;};import{Command as _0x24b891}from'ckeditor5/src/core';import _0xa94fa9 from'../utils/getselectedsuggestions';export default class U extends _0x24b891{constructor(_0xb09cda,_0x2af079,_0x34bd91){super(_0xb09cda),this[_0x5b08('0x0')]=_0x2af079,this['_suggestions']=_0x34bd91,this[_0x5b08('0x8')]=new Set(),this['refresh']();}[_0x5b08('0x5')](){const _0x3716fe=this[_0x5b08('0x0')],_0x213188=this[_0x5b08('0x3')][_0x5b08('0xb')]['document']['selection'],_0x4cfb70=Array[_0x5b08('0x9')](this[_0x5b08('0x2')][_0x5b08('0x6')]());this[_0x5b08('0x8')]=_0xa94fa9(_0x213188,_0x4cfb70),this[_0x5b08('0x4')]=_0x3716fe[_0x5b08('0x4')]&&!!this['_selectedSuggestions'][_0x5b08('0xa')];}[_0x5b08('0x7')](){this[_0x5b08('0x3')][_0x5b08('0xb')][_0x5b08('0x1')](()=>{for(const _0x1a76b0 of this[_0x5b08('0x8')])this[_0x5b08('0x0')]['execute'](_0x1a76b0['id']);});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x471b=['end','length','createPositionAt','createPositionBefore','schema','createPositionAfter','push'];(function(_0x4034e0,_0x471b5e){const _0x2d3330=function(_0x2dfe98){while(--_0x2dfe98){_0x4034e0['push'](_0x4034e0['shift']());}};_0x2d3330(++_0x471b5e);}(_0x471b,0x171));const _0x2d33=function(_0x4034e0,_0x471b5e){_0x4034e0=_0x4034e0-0x0;let _0x2d3330=_0x471b[_0x4034e0];return _0x2d3330;};export function getRangesOfBlockGroups(_0x4ccf22,_0x4bb065){let _0x11aeaf,_0x344afd=0x0;const _0x184341=[],_0x572055=_0x4bb065[_0x2d33('0x6')];for(;_0x344afd<_0x4ccf22[_0x2d33('0x3')];){const _0x269d90=_0x4ccf22[_0x344afd],_0x5e8116=_0x4ccf22[_0x344afd+0x1];_0x11aeaf||(_0x11aeaf=_0x4bb065[_0x2d33('0x5')](_0x269d90)),tn(_0x4bb065,_0x269d90,_0x5e8116)||(_0x184341[_0x2d33('0x1')](_0x4bb065['createRange'](_0x11aeaf,_0x572055['isObject'](_0x269d90)?_0x4bb065['createPositionAfter'](_0x269d90):_0x4bb065[_0x2d33('0x4')](_0x269d90,_0x2d33('0x2')))),_0x11aeaf=null),_0x344afd++;}return _0x184341;}function tn(_0x339ee9,_0x5e1bf2,_0x1a0857){if(!_0x1a0857)return!0x1;const _0x1574a4=_0x339ee9[_0x2d33('0x0')](_0x5e1bf2),_0x349451=_0x339ee9[_0x2d33('0x5')](_0x1a0857);return _0x1574a4['isTouching'](_0x349451);}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x30bb=['isCollapsed','isMultiRange','next','isInContent','getMarkers','isTouching','getRange','add','isIntersecting','from','getRanges'];(function(_0x5af044,_0x30bb53){const _0x4fea25=function(_0x18b34a){while(--_0x18b34a){_0x5af044['push'](_0x5af044['shift']());}};_0x4fea25(++_0x30bb53);}(_0x30bb,0x7b));const _0x4fea=function(_0x5af044,_0x30bb53){_0x5af044=_0x5af044-0x0;let _0x4fea25=_0x30bb[_0x5af044];return _0x4fea25;};export default function jt(_0x41005a,_0x3a5d6f){const _0x232f53=Array[_0x4fea('0x7')](_0x41005a[_0x4fea('0x8')]()),_0x5b4982=new Set();for(const _0x77c9fc of _0x3a5d6f)if(_0x77c9fc[_0x4fea('0x1')])for(const _0x1f066f of _0x232f53)for(const _0x49ce54 of _0x77c9fc[_0x4fea('0x2')]()){const _0x1b2d6b=_0x49ce54[_0x4fea('0x4')]();(_0x1f066f[_0x4fea('0x6')](_0x1b2d6b)||_0x41005a[_0x4fea('0x9')]&&!_0x77c9fc[_0x4fea('0xa')]&&_0x77c9fc[_0x4fea('0x0')]&&_0x1b2d6b['end'][_0x4fea('0x3')](_0x1f066f['start']))&&_0x5b4982[_0x4fea('0x5')](_0x77c9fc);}return _0x5b4982;}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x563d=['object','keys','boolean','isArray','charCodeAt','number','string','toString','sort'];(function(_0x577ae5,_0x563d0c){const _0x48c628=function(_0x5c435a){while(--_0x5c435a){_0x577ae5['push'](_0x577ae5['shift']());}};_0x48c628(++_0x563d0c);}(_0x563d,0x1d3));const _0x48c6=function(_0x577ae5,_0x563d0c){_0x577ae5=_0x577ae5-0x0;let _0x48c628=_0x563d[_0x577ae5];return _0x48c628;};export default function kt(_0x5405ba){let _0x132c7f=0x0,_0x444314=0x0;for(const _0x3ba0e7 of fe(_0x5405ba))_0x132c7f=(_0x132c7f<<0x5)-_0x132c7f+_0x3ba0e7,_0x132c7f&=_0x132c7f,[_0x132c7f,_0x444314]=[_0x444314,_0x132c7f];return ce(_0x132c7f)+ce(_0x444314);}function*ie(_0x1d38ec){_0x1d38ec?_0x48c6('0x3')==typeof _0x1d38ec?yield 0x1:Array[_0x48c6('0x4')](_0x1d38ec)?yield*function*(_0x1c71b5){for(const _0x53e11e of _0x1c71b5)yield*ie(_0x53e11e);}(_0x1d38ec):_0x48c6('0x1')==typeof _0x1d38ec?yield*fe(_0x1d38ec):_0x48c6('0x7')==typeof _0x1d38ec?yield*ye(_0x1d38ec):_0x48c6('0x6')==typeof _0x1d38ec&&(yield _0x1d38ec):yield 0x0;}function*fe(_0x2b693d){if(yield de('{'),_0x2b693d){const _0x3e5376=Object[_0x48c6('0x2')](_0x2b693d)[_0x48c6('0x0')]();for(const _0xf50d61 of _0x3e5376){yield*ye(_0xf50d61),yield de(':');const _0x552841=_0x2b693d[_0xf50d61];yield*ie(_0x552841);}}yield de('}');}function*ye(_0x30ff06){yield de('\x22');for(const _0x2a2805 of _0x30ff06)yield de(_0x2a2805);yield de('\x22');}function de(_0x8a286e){return _0x8a286e[_0x48c6('0x5')](0x0);}function ce(_0x209c3f){return(_0x209c3f*=Math['sign'](_0x209c3f))[_0x48c6('0x8')](0x24);}