@ckeditor/ckeditor5-track-changes 37.0.1 → 38.0.0-rc.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 (164) 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 +31 -21
  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 +34 -23
  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 +15 -4
  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.d.ts +23 -5
  155. package/src/trackchanges.js +1 -1
  156. package/src/trackchangesconfig.d.ts +23 -5
  157. package/src/trackchangesdata.js +1 -1
  158. package/src/trackchangesediting.js +1 -1
  159. package/src/trackchangesui.js +1 -1
  160. package/src/ui/suggestioncontroller.js +1 -1
  161. package/src/ui/view/basesuggestionthreadview.js +1 -1
  162. package/src/ui/view/suggestionthreadview.js +1 -1
  163. package/src/utils/common-translations.js +1 -1
  164. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3555=['has','locale','DocumentListPropertiesUtils','startIndex','handleListReversedCommand','isFirstBlockOfListItem','type','format','selection','getAttribute','listReversed','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','ELEMENT_','list.properties','handleDescriptions','getListTypeFromListStyleType','afterInit','handleListStyleCommand','listStart','listStyle','plugins','document','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListUtils','commandParams','numbered','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','handleListStartCommand','commandName','from','DocumentListPropertiesEditing','editor','enableCommand','styles','model','TrackChangesEditing','get','_getSuggestionBlocksForListStyle','isListItemBlock','config','length','bind','reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','filter','change','_getSuggestionBlocks'];(function(_0x369161,_0x3555da){const _0x573d42=function(_0xc9cfaa){while(--_0xc9cfaa){_0x369161['push'](_0x369161['shift']());}};_0x573d42(++_0x3555da);}(_0x3555,0x149));const _0x573d=function(_0x369161,_0x3555da){_0x369161=_0x369161-0x0;let _0x573d42=_0x3555[_0x369161];return _0x573d42;};import{Plugin as _0x1bcd6a}from'ckeditor5/src/core';import{getTranslation as _0x365adc}from'../utils/common-translations';export default class St extends _0x1bcd6a{[_0x573d('0x27')](){if(!this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0x15')](_0x573d('0x4')))return;const _0x8dea46=this[_0x573d('0x5')][_0x573d('0xd')]['get'](_0x573d('0x24')),_0x35c238=this[_0x573d('0x5')][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x9'));_0x8dea46[_0x573d('0x7')]&&_0x35c238[_0x573d('0x6')](_0x573d('0x2a'),this['handleListStyleCommand']['bind'](this)),_0x8dea46['reversed']&&_0x35c238[_0x573d('0x6')](_0x573d('0x1f'),this[_0x573d('0x19')][_0x573d('0xf')](this)),_0x8dea46['startIndex']&&_0x35c238[_0x573d('0x6')]('listStart',this[_0x573d('0x1')]['bind'](this)),_0x35c238['_descriptionFactory']['registerDescriptionCallback'](this[_0x573d('0x25')]['bind'](this));}[_0x573d('0x28')](_0x1c1350,_0x16bfe3={}){const _0x5932b9=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5b56d2=this['_getSuggestionBlocksForListStyle']();this[_0x573d('0x5')][_0x573d('0x8')][_0x573d('0x13')](()=>{_0x5932b9[_0x573d('0x20')](_0x5b56d2,{'commandName':'listStyle','commandParams':[{'type':_0x16bfe3['type']}],'formatGroupId':_0x573d('0x2a')});});}[_0x573d('0x19')](_0x5d321b,_0x38e4d3={}){const _0x445c64=this['editor'][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x3d44be=this['editor'][_0x573d('0x2b')][_0x573d('0xa')](_0x573d('0x2e')),_0x56610c=this[_0x573d('0x14')](_0x1bc3ba=>_0x3d44be[_0x573d('0xc')](_0x1bc3ba)&&'numbered'===_0x1bc3ba[_0x573d('0x1e')]('listType'));null!==_0x56610c&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x445c64['markMultiRangeBlockFormat'](_0x56610c,{'commandName':_0x573d('0x1f'),'commandParams':[{'reversed':_0x38e4d3[_0x573d('0x10')]}],'formatGroupId':_0x573d('0x1f')});});}[_0x573d('0x1')](_0x35af9e,_0x806aef={}){const _0x5ebae6=this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x9')),_0x5ccb7c=this[_0x573d('0x5')]['plugins'][_0x573d('0xa')]('DocumentListUtils'),_0x58c8be=this['_getSuggestionBlocks'](_0x328954=>_0x5ccb7c[_0x573d('0xc')](_0x328954)&&_0x573d('0x30')===_0x328954[_0x573d('0x1e')]('listType'));null!==_0x58c8be&&this[_0x573d('0x5')]['model'][_0x573d('0x13')](()=>{_0x5ebae6[_0x573d('0x20')](_0x58c8be,{'commandName':'listStart','commandParams':[{'startIndex':_0x806aef[_0x573d('0x18')]}],'formatGroupId':_0x573d('0x29')});});}[_0x573d('0x25')](_0x3d5569){const _0x31fc4=this['editor'][_0x573d('0x16')],{data:_0x439978}=_0x3d5569;if(!_0x439978)return;let _0x3c5e10,_0x3d79ad;switch(_0x439978[_0x573d('0x2')]){case _0x573d('0x2a'):_0x3c5e10='*Change\x20to:*\x20%0',_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x365adc(_0x31fc4,this[_0x573d('0x31')](_0x439978['commandParams'][0x0][_0x573d('0x1b')])))};break;case _0x573d('0x1f'):_0x3c5e10=_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x10')]?_0x573d('0x2d'):_0x573d('0x21'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10)};break;case _0x573d('0x29'):_0x3c5e10=_0x573d('0x11'),_0x3d79ad={'type':_0x573d('0x1c'),'content':_0x365adc(_0x31fc4,_0x3c5e10,_0x439978[_0x573d('0x2f')][0x0][_0x573d('0x18')])};}return _0x3d79ad;}[_0x573d('0xb')](){const _0x35774d=this['editor'][_0x573d('0x2b')][_0x573d('0xa')]('DocumentListUtils');let _0x3054d3=Array['from'](this[_0x573d('0x5')]['model'][_0x573d('0x2c')][_0x573d('0x1d')]['getSelectedBlocks']());return _0x3054d3['push'](..._0x35774d['expandListBlocksToCompleteList'](_0x3054d3)),_0x3054d3=[...new Set(_0x3054d3)],_0x3054d3;}['_getSuggestionBlocks'](_0x12d734){const _0x1b5ecd=this[_0x573d('0x5')]['plugins']['get'](_0x573d('0x2e'));let _0x4e8362=Array[_0x573d('0x3')](this[_0x573d('0x5')][_0x573d('0x8')]['document'][_0x573d('0x1d')]['getSelectedBlocks']())[_0x573d('0x12')](_0x12d734);if(!_0x4e8362[_0x573d('0xe')])return null;_0x4e8362=_0x1b5ecd[_0x573d('0x0')](_0x4e8362);const _0xacce6c=[];for(const _0x473741 of _0x4e8362)_0x1b5ecd[_0x573d('0x1a')](_0x473741)&&_0xacce6c['push'](_0x473741);return _0xacce6c;}[_0x573d('0x31')](_0x4bbfcf){return _0x573d('0x23')+this[_0x573d('0x5')][_0x573d('0x2b')]['get'](_0x573d('0x17'))[_0x573d('0x26')](_0x4bbfcf)[_0x573d('0x22')]()+'_LIST_'+_0x4bbfcf[_0x573d('0x22')]()['replace'](/-/g,'_');}}
23
+ const _0x17cc=['listType','expandListBlocksToCompleteList','ELEMENT_','handleDescriptions','bind','commandParams','isListItemBlock','editor','enableCommand','list.properties','_getTranslationKeyForListStyle','length','listReversed','handleListStyleCommand','_LIST_','push','from','model','listStart','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','_getSuggestionBlocksForListStyle','selection','format','change','_descriptionFactory','reversed','TrackChangesEditing','_getSuggestionBlocks','locale','type','handleListReversedCommand','document','startIndex','DocumentListPropertiesUtils','plugins','afterInit','getSelectedBlocks','getAttribute','*Format:*\x20set\x20start\x20index\x20to\x20%0','markMultiRangeBlockFormat','commandName','get','toUpperCase','DocumentListUtils','numbered','filter','DocumentListPropertiesEditing','isFirstBlockOfListItem'];(function(_0x33cb8e,_0x17cc40){const _0x75dd4d=function(_0x170328){while(--_0x170328){_0x33cb8e['push'](_0x33cb8e['shift']());}};_0x75dd4d(++_0x17cc40);}(_0x17cc,0x13d));const _0x75dd=function(_0x33cb8e,_0x17cc40){_0x33cb8e=_0x33cb8e-0x0;let _0x75dd4d=_0x17cc[_0x33cb8e];return _0x75dd4d;};import{Plugin as _0xb364c}from'ckeditor5/src/core';import{getTranslation as _0x2f5674}from'../utils/common-translations';export default class At extends _0xb364c{[_0x75dd('0xd')](){if(!this['editor'][_0x75dd('0xc')]['has'](_0x75dd('0x18')))return;const _0x1cc9d6=this[_0x75dd('0x21')]['config'][_0x75dd('0x13')](_0x75dd('0x23')),_0x1c7859=this[_0x75dd('0x21')]['plugins'][_0x75dd('0x13')]('TrackChangesEditing');_0x1cc9d6['styles']&&_0x1c7859[_0x75dd('0x22')]('listStyle',this[_0x75dd('0x27')][_0x75dd('0x1e')](this)),_0x1cc9d6[_0x75dd('0x3')]&&_0x1c7859[_0x75dd('0x22')](_0x75dd('0x26'),this[_0x75dd('0x8')][_0x75dd('0x1e')](this)),_0x1cc9d6[_0x75dd('0xa')]&&_0x1c7859[_0x75dd('0x22')](_0x75dd('0x2c'),this['handleListStartCommand']['bind'](this)),_0x1c7859[_0x75dd('0x2')]['registerDescriptionCallback'](this['handleDescriptions'][_0x75dd('0x1e')](this));}['handleListStyleCommand'](_0x4d0bf0,_0x26feac={}){const _0x21b4d8=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x4')),_0x2ec4ae=this[_0x75dd('0x2f')]();this[_0x75dd('0x21')][_0x75dd('0x2b')][_0x75dd('0x1')](()=>{_0x21b4d8[_0x75dd('0x11')](_0x2ec4ae,{'commandName':_0x75dd('0x2d'),'commandParams':[{'type':_0x26feac['type']}],'formatGroupId':_0x75dd('0x2d')});});}[_0x75dd('0x8')](_0x1559d,_0x2cc16c={}){const _0x639d66=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x4')),_0x1b6dc8=this[_0x75dd('0x21')][_0x75dd('0xc')]['get'](_0x75dd('0x15')),_0x85e775=this[_0x75dd('0x5')](_0x40dfd7=>_0x1b6dc8[_0x75dd('0x20')](_0x40dfd7)&&_0x75dd('0x16')===_0x40dfd7[_0x75dd('0xf')](_0x75dd('0x1a')));null!==_0x85e775&&this['editor'][_0x75dd('0x2b')][_0x75dd('0x1')](()=>{_0x639d66[_0x75dd('0x11')](_0x85e775,{'commandName':_0x75dd('0x26'),'commandParams':[{'reversed':_0x2cc16c[_0x75dd('0x3')]}],'formatGroupId':_0x75dd('0x26')});});}['handleListStartCommand'](_0x243db8,_0x2a1f99={}){const _0x19ade6=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')]('TrackChangesEditing'),_0x3a4f99=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15')),_0x3949b4=this['_getSuggestionBlocks'](_0x39bc95=>_0x3a4f99[_0x75dd('0x20')](_0x39bc95)&&_0x75dd('0x16')===_0x39bc95[_0x75dd('0xf')](_0x75dd('0x1a')));null!==_0x3949b4&&this[_0x75dd('0x21')]['model'][_0x75dd('0x1')](()=>{_0x19ade6['markMultiRangeBlockFormat'](_0x3949b4,{'commandName':_0x75dd('0x2c'),'commandParams':[{'startIndex':_0x2a1f99[_0x75dd('0xa')]}],'formatGroupId':'listStart'});});}[_0x75dd('0x1d')](_0x4d6f10){const _0x2b901f=this[_0x75dd('0x21')][_0x75dd('0x6')],{data:_0x25e8d1}=_0x4d6f10;if(!_0x25e8d1)return;let _0x594ded,_0x50441d;switch(_0x25e8d1[_0x75dd('0x12')]){case _0x75dd('0x2d'):_0x594ded='*Change\x20to:*\x20%0',_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded,_0x2f5674(_0x2b901f,this[_0x75dd('0x24')](_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0x7')])))};break;case _0x75dd('0x26'):_0x594ded=_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0x3')]?_0x75dd('0x2e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded)};break;case _0x75dd('0x2c'):_0x594ded=_0x75dd('0x10'),_0x50441d={'type':_0x75dd('0x0'),'content':_0x2f5674(_0x2b901f,_0x594ded,_0x25e8d1[_0x75dd('0x1f')][0x0][_0x75dd('0xa')])};}return _0x50441d;}[_0x75dd('0x2f')](){const _0x348808=this[_0x75dd('0x21')][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15'));let _0x3b1125=Array['from'](this[_0x75dd('0x21')]['model'][_0x75dd('0x9')][_0x75dd('0x30')][_0x75dd('0xe')]());return _0x3b1125[_0x75dd('0x29')](..._0x348808[_0x75dd('0x1b')](_0x3b1125)),_0x3b1125=[...new Set(_0x3b1125)],_0x3b1125;}[_0x75dd('0x5')](_0x550b9b){const _0x184d7b=this['editor'][_0x75dd('0xc')][_0x75dd('0x13')](_0x75dd('0x15'));let _0x3578bf=Array[_0x75dd('0x2a')](this[_0x75dd('0x21')][_0x75dd('0x2b')][_0x75dd('0x9')][_0x75dd('0x30')][_0x75dd('0xe')]())[_0x75dd('0x17')](_0x550b9b);if(!_0x3578bf[_0x75dd('0x25')])return null;_0x3578bf=_0x184d7b[_0x75dd('0x1b')](_0x3578bf);const _0x41b3a4=[];for(const _0x8c545e of _0x3578bf)_0x184d7b[_0x75dd('0x19')](_0x8c545e)&&_0x41b3a4[_0x75dd('0x29')](_0x8c545e);return _0x41b3a4;}[_0x75dd('0x24')](_0xbeaa08){return _0x75dd('0x1c')+this[_0x75dd('0x21')]['plugins'][_0x75dd('0x13')](_0x75dd('0xb'))['getListTypeFromListStyleType'](_0xbeaa08)[_0x75dd('0x14')]()+_0x75dd('0x28')+_0xbeaa08[_0x75dd('0x14')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x96e0=['parent','markerName','mapper','change','writer','model','downcastDispatcher','markerNameToElements','getFirstRange','enableCommand','options','nextSibling','hasClass','requires','createPositionAt','editing','document','setSelection','commands','high','fire','get','afterExecute','selection','TrackChangesEditing','addMarker:suggestion:insertion','ck-suggestion-marker-split','bind','enterBlock','unbindElementFromMarkerName','data','fromRange','removeMarker:suggestion:insertion','createRange','split','markInsertion','showSuggestionHighlights'];(function(_0x1841e0,_0x96e0ff){const _0x1f97f7=function(_0x14927c){while(--_0x14927c){_0x1841e0['push'](_0x1841e0['shift']());}};_0x1f97f7(++_0x96e0ff);}(_0x96e0,0xc9));const _0x1f97=function(_0x1841e0,_0x96e0ff){_0x1841e0=_0x1841e0-0x0;let _0x1f97f7=_0x96e0[_0x1841e0];return _0x1f97f7;};import{Plugin as _0x543ec8}from'ckeditor5/src/core';import{Enter as _0x487d7e}from'ckeditor5/src/enter';import{LiveRange as _0x32468c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a5b3f}from'./utils';export default class q extends _0x543ec8{static get[_0x1f97('0x22')](){return[_0x487d7e];}['init'](){const _0x418fd2=this['editor'],_0x5551f3=_0x418fd2['plugins'][_0x1f97('0x5')](_0x1f97('0x8')),_0x70380c=_0x418fd2[_0x1f97('0x2')]['get']('enter');_0x5551f3[_0x1f97('0x1e')]('enter',()=>{_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x18')](_0x342edc=>{const _0x210c1d=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x0')][_0x1f97('0x7')],_0x9e1a7f=_0x210c1d['getFirstPosition'](),_0x976545=_0x32468c[_0x1f97('0xf')](_0x210c1d[_0x1f97('0x1d')]());if(_0x70380c[_0x1f97('0xc')](_0x342edc)){const _0x4b4793=_0x418fd2[_0x1f97('0x1a')][_0x1f97('0x23')](_0x9e1a7f[_0x1f97('0x15')][_0x1f97('0x20')],0x0),_0x8ddc7c=_0x342edc[_0x1f97('0x11')](_0x9e1a7f,_0x4b4793);_0x5551f3[_0x1f97('0x13')](_0x8ddc7c);}else _0x342edc[_0x1f97('0x1')](_0x342edc[_0x1f97('0x11')](_0x976545['end']));_0x976545['detach'](),_0x70380c[_0x1f97('0x4')](_0x1f97('0x6'),{'writer':_0x342edc});});}),_0x418fd2['editing']['downcastDispatcher']['on'](_0x1f97('0x9'),_0x2a5b3f(_0x418fd2,_0x1f97('0x12')),{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0x24')][_0x1f97('0x1b')]['on'](_0x1f97('0x10'),(_0x6011b8,_0x8c7655,_0x370780)=>{const _0x5710ab=_0x370780[_0x1f97('0x17')][_0x1f97('0x1c')](_0x8c7655[_0x1f97('0x16')]);if(_0x5710ab)for(const _0x3531e3 of _0x5710ab)_0x3531e3[_0x1f97('0x21')](_0x1f97('0xa'))&&(_0x370780['mapper'][_0x1f97('0xd')](_0x3531e3,_0x8c7655[_0x1f97('0x16')]),_0x370780[_0x1f97('0x19')]['remove'](_0x3531e3));},{'priority':_0x1f97('0x3')}),_0x418fd2[_0x1f97('0xe')][_0x1f97('0x1b')]['on']('addMarker:suggestion:insertion',(_0x4b69f5,_0x238ea5,_0x56b307)=>{_0x56b307[_0x1f97('0x1f')][_0x1f97('0x14')]&&_0x2a5b3f(_0x418fd2,_0x1f97('0x12'),{'showActiveMarker':!0x1})[_0x1f97('0xb')](this)(_0x4b69f5,_0x238ea5,_0x56b307);},{'priority':_0x1f97('0x3')});}}
23
+ const _0x2592=['remove','showSuggestionHighlights','markInsertion','TrackChangesEditing','data','get','writer','selection','split','afterExecute','editing','markerNameToElements','parent','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','setSelection','editor','hasClass','fire','unbindElementFromMarkerName','model','high','createRange','change','bind','init','getFirstRange','enter','nextSibling','enableCommand','commands','options','detach','downcastDispatcher','requires','markerName','mapper'];(function(_0x19094c,_0x259215){const _0x318045=function(_0x326a83){while(--_0x326a83){_0x19094c['push'](_0x19094c['shift']());}};_0x318045(++_0x259215);}(_0x2592,0xcd));const _0x3180=function(_0x19094c,_0x259215){_0x19094c=_0x19094c-0x0;let _0x318045=_0x2592[_0x19094c];return _0x318045;};import{Plugin as _0x7a39ad}from'ckeditor5/src/core';import{Enter as _0x430db}from'ckeditor5/src/enter';import{LiveRange as _0x3e24c7}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xf373bd}from'./utils';export default class q extends _0x7a39ad{static get[_0x3180('0xe')](){return[_0x430db];}[_0x3180('0x5')](){const _0x579d9c=this[_0x3180('0x21')],_0x1c2821=_0x579d9c['plugins'][_0x3180('0x16')](_0x3180('0x14')),_0x50c745=_0x579d9c[_0x3180('0xa')][_0x3180('0x16')]('enter');_0x1c2821[_0x3180('0x9')](_0x3180('0x7'),()=>{_0x579d9c[_0x3180('0x0')][_0x3180('0x3')](_0x3d45da=>{const _0x59d213=_0x579d9c['model']['document'][_0x3180('0x18')],_0x15ccde=_0x59d213['getFirstPosition'](),_0x169e04=_0x3e24c7['fromRange'](_0x59d213[_0x3180('0x6')]());if(_0x50c745['enterBlock'](_0x3d45da)){const _0x111477=_0x579d9c['model']['createPositionAt'](_0x15ccde[_0x3180('0x1d')][_0x3180('0x8')],0x0),_0x3c34fa=_0x3d45da[_0x3180('0x2')](_0x15ccde,_0x111477);_0x1c2821[_0x3180('0x13')](_0x3c34fa);}else _0x3d45da[_0x3180('0x20')](_0x3d45da[_0x3180('0x2')](_0x169e04['end']));_0x169e04[_0x3180('0xc')](),_0x50c745[_0x3180('0x23')](_0x3180('0x1a'),{'writer':_0x3d45da});});}),_0x579d9c[_0x3180('0x1b')]['downcastDispatcher']['on'](_0x3180('0x1e'),_0xf373bd(_0x579d9c,'split'),{'priority':_0x3180('0x1')}),_0x579d9c['editing']['downcastDispatcher']['on'](_0x3180('0x1f'),(_0x2c3006,_0x5324ae,_0x5c1c35)=>{const _0x4606da=_0x5c1c35[_0x3180('0x10')][_0x3180('0x1c')](_0x5324ae['markerName']);if(_0x4606da)for(const _0x216a75 of _0x4606da)_0x216a75[_0x3180('0x22')]('ck-suggestion-marker-split')&&(_0x5c1c35[_0x3180('0x10')][_0x3180('0x24')](_0x216a75,_0x5324ae[_0x3180('0xf')]),_0x5c1c35[_0x3180('0x17')][_0x3180('0x11')](_0x216a75));},{'priority':_0x3180('0x1')}),_0x579d9c[_0x3180('0x15')][_0x3180('0xd')]['on'](_0x3180('0x1e'),(_0x5e6844,_0x3d23a4,_0x9d3a2d)=>{_0x9d3a2d[_0x3180('0xb')][_0x3180('0x12')]&&_0xf373bd(_0x579d9c,_0x3180('0x19'),{'showActiveMarker':!0x1})[_0x3180('0x4')](this)(_0x5e6844,_0x3d23a4,_0x9d3a2d);},{'priority':_0x3180('0x1')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd151=['filter','plugins','createPositionAt','item','getRange','_isInDeletionRange','string','FindAndReplaceEditing','getIntersection','start','find','suggestion:deletion','editor','replaceAll','findByTextCallback','end','model','markers','has','handleFindCommand','bind','TrackChangesEditing','enableCommand','afterInit'];(function(_0x11d54b,_0xd151f9){const _0x42394d=function(_0x31a1c3){while(--_0x31a1c3){_0x11d54b['push'](_0x11d54b['shift']());}};_0x42394d(++_0xd151f9);}(_0xd151,0xae));const _0x4239=function(_0x11d54b,_0xd151f9){_0x11d54b=_0x11d54b-0x0;let _0x42394d=_0xd151[_0x11d54b];return _0x42394d;};import{Plugin as _0x4e8e91}from'ckeditor5/src/core';export default class z extends _0x4e8e91{[_0x4239('0x11')](){if(!this['editor'][_0x4239('0x13')][_0x4239('0xc')](_0x4239('0x1')))return;const _0x412aad=this['editor']['plugins']['get'](_0x4239('0xf'));_0x412aad[_0x4239('0x10')](_0x4239('0x4'),this[_0x4239('0xd')][_0x4239('0xe')](this)),_0x412aad['enableCommand']('findNext'),_0x412aad[_0x4239('0x10')]('findPrevious'),_0x412aad[_0x4239('0x10')]('replace'),_0x412aad[_0x4239('0x10')](_0x4239('0x7'));}['handleFindCommand'](_0x15d97b,_0x4d0571,_0x90ea51={}){const _0x2541b3=this['editor'][_0x4239('0x13')]['get']('FindAndReplaceUtils');void 0x0!==_0x90ea51&&_0x15d97b(_0x42f555=>(_0x4239('0x0')==typeof _0x4d0571?_0x2541b3[_0x4239('0x8')](_0x4d0571,_0x90ea51):_0x4d0571)(_0x42f555)[_0x4239('0x12')](_0x1984fb=>!0x1===this[_0x4239('0x17')](_0x1984fb,_0x42f555[_0x4239('0x15')])),_0x90ea51);}[_0x4239('0x17')](_0x59cae6,_0x59a49b){const _0x42d6d0=this[_0x4239('0x6')][_0x4239('0xa')]['createRange'](this['editor']['model'][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x3')]),this['editor'][_0x4239('0xa')][_0x4239('0x14')](_0x59a49b,_0x59cae6[_0x4239('0x9')]));for(const _0x20540f of this[_0x4239('0x6')][_0x4239('0xa')][_0x4239('0xb')]['getMarkersGroup'](_0x4239('0x5')))if(null!==_0x42d6d0[_0x4239('0x2')](_0x20540f[_0x4239('0x16')]()))return!0x0;return!0x1;}}
23
+ const _0x15a5=['replaceAll','createRange','model','item','getIntersection','get','has','getMarkersGroup','find','createPositionAt','handleFindCommand','enableCommand','plugins','bind','_isInDeletionRange','TrackChangesEditing','string','end','editor','findPrevious','start','suggestion:deletion','findNext','replace','filter','findByTextCallback'];(function(_0x37e41d,_0x15a561){const _0xa8532e=function(_0x1e0482){while(--_0x1e0482){_0x37e41d['push'](_0x37e41d['shift']());}};_0xa8532e(++_0x15a561);}(_0x15a5,0x14e));const _0xa853=function(_0x37e41d,_0x15a561){_0x37e41d=_0x37e41d-0x0;let _0xa8532e=_0x15a5[_0x37e41d];return _0xa8532e;};import{Plugin as _0x5c0f88}from'ckeditor5/src/core';export default class z extends _0x5c0f88{['afterInit'](){if(!this[_0xa853('0x16')]['plugins'][_0xa853('0xa')]('FindAndReplaceEditing'))return;const _0x5d33f3=this[_0xa853('0x16')]['plugins'][_0xa853('0x9')](_0xa853('0x13'));_0x5d33f3['enableCommand'](_0xa853('0xc'),this[_0xa853('0xe')][_0xa853('0x11')](this)),_0x5d33f3[_0xa853('0xf')](_0xa853('0x0')),_0x5d33f3[_0xa853('0xf')](_0xa853('0x17')),_0x5d33f3[_0xa853('0xf')](_0xa853('0x1')),_0x5d33f3['enableCommand'](_0xa853('0x4'));}[_0xa853('0xe')](_0xd8f0a7,_0x33e754,_0x5c756f={}){const _0x56f835=this[_0xa853('0x16')][_0xa853('0x10')][_0xa853('0x9')]('FindAndReplaceUtils');void 0x0!==_0x5c756f&&_0xd8f0a7(_0x51e1aa=>(_0xa853('0x14')==typeof _0x33e754?_0x56f835[_0xa853('0x3')](_0x33e754,_0x5c756f):_0x33e754)(_0x51e1aa)[_0xa853('0x2')](_0x2a270d=>!0x1===this[_0xa853('0x12')](_0x2a270d,_0x51e1aa[_0xa853('0x7')])),_0x5c756f);}[_0xa853('0x12')](_0x2f0711,_0x3d8f11){const _0x51a7b1=this['editor'][_0xa853('0x6')][_0xa853('0x5')](this[_0xa853('0x16')][_0xa853('0x6')][_0xa853('0xd')](_0x3d8f11,_0x2f0711[_0xa853('0x18')]),this[_0xa853('0x16')]['model'][_0xa853('0xd')](_0x3d8f11,_0x2f0711[_0xa853('0x15')]));for(const _0x5dfb8d of this['editor'][_0xa853('0x6')]['markers'][_0xa853('0xb')](_0xa853('0x19')))if(null!==_0x51a7b1[_0xa853('0x8')](_0x5dfb8d['getRange']()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x82e3=['from','*Reset\x20font\x20color*','FontSizeEditing','*Reset\x20font\x20family*','fontSize.options','isCollapsed','*Reset\x20font\x20size*','has','toLowerCase','*Set\x20font\x20family:*\x20%0','locale','model','fontBackgroundColor','selection','_enableCommand','find','fontColor','*Reset\x20font\x20background\x20color*','format','TrackChangesEditing','editor','FontColorEditing','config','change','document','fontSize','normalizeSizeOptions','afterInit','markInlineFormat','commandName','FontFamilyEditing','registerDescriptionCallback','plugins','get','commandParams','title','value','trim','label','FontBackgroundColorEditing'];(function(_0x4c8598,_0x82e349){const _0x285eff=function(_0x4a5253){while(--_0x4a5253){_0x4c8598['push'](_0x4c8598['shift']());}};_0x285eff(++_0x82e349);}(_0x82e3,0x1a5));const _0x285e=function(_0x4c8598,_0x82e349){_0x4c8598=_0x4c8598-0x0;let _0x285eff=_0x82e3[_0x4c8598];return _0x285eff;};import{Plugin as _0x350928}from'ckeditor5/src/core';import{normalizeColorOptions as _0x23cf03}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x133022}from'./utils';import{getTranslation as _0x333cfd}from'../utils/common-translations';const Jt=[{'pluginName':_0x285e('0x15'),'commandName':'fontSize'},{'pluginName':_0x285e('0x9'),'commandName':'fontFamily'},{'pluginName':_0x285e('0x0'),'commandName':'fontColor'},{'pluginName':_0x285e('0x12'),'commandName':_0x285e('0x1f')}];export default class H extends _0x350928{[_0x285e('0x6')](){const _0x214d3f=this['editor'][_0x285e('0x1d')];for(const {pluginName:_0x3f8e94,commandName:_0x3e408e}of Jt)this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0x1a')](_0x3f8e94)&&this['_enableCommand'](_0x3e408e);this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('TrackChangesEditing')['_descriptionFactory'][_0x285e('0xa')](_0x2390e7=>{const _0x5028ab=_0x214d3f['t'],{data:_0x5bc575}=_0x2390e7;if(null!=_0x5bc575){if(_0x285e('0x4')==_0x5bc575[_0x285e('0x8')]){const _0x4726f4=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4726f4){const _0x576e90=_0x5028ab(this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('FontSize')[_0x285e('0x5')](this['editor'][_0x285e('0x1')]['get'](_0x285e('0x17')))[_0x285e('0x22')](_0x50d53e=>_0x50d53e[_0x285e('0x1e')]==_0x4726f4)[_0x285e('0xe')])[_0x285e('0x1b')]();return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20size:*\x20%0',_0x576e90)};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x19'))};}if('fontFamily'==_0x5bc575[_0x285e('0x8')]){const _0x48edae=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];return _0x48edae?{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x1c'),_0x48edae)}:{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x16'))};}if(_0x285e('0x23')==_0x5bc575[_0x285e('0x8')]){const _0xf0ff85=_0x5bc575[_0x285e('0xd')][0x0]['value'];if(_0xf0ff85){const _0x53bae3=_0x23cf03(this[_0x285e('0x27')][_0x285e('0x1')][_0x285e('0xc')]('fontColor.colors'))['find'](_0x2afb90=>_0x2afb90[_0x285e('0x1e')]==_0xf0ff85);let _0x383379=_0xf0ff85,_0x444b82='';return _0x53bae3&&(_0x383379=_0x53bae3['label'],_0x444b82=_0x5028ab(_0x383379)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20color:*\x20%0',_0x444b82)['trim'](),'color':{'value':_0xf0ff85,'title':_0x444b82||_0x383379}};}return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x14'))};}if(_0x285e('0x1f')==_0x5bc575[_0x285e('0x8')]){const _0x4f26a0=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4f26a0){const _0x13ad34=_0x23cf03(this['editor'][_0x285e('0x1')][_0x285e('0xc')]('fontBackgroundColor.colors'))[_0x285e('0x22')](_0x5ea44a=>_0x5ea44a[_0x285e('0x1e')]==_0x4f26a0);let _0x15b12c=_0x4f26a0,_0x4a5766='';return _0x13ad34&&(_0x15b12c=_0x13ad34[_0x285e('0x11')],_0x4a5766=_0x5028ab(_0x15b12c)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20background\x20color:*\x20%0',_0x4a5766)[_0x285e('0x10')](),'color':{'value':_0x4f26a0,'title':_0x4a5766||_0x15b12c}};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x24'))};}}});}[_0x285e('0x21')](_0x35dc8f){const _0xe23dd0=this[_0x285e('0x27')];_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))['enableCommand'](_0x35dc8f,(_0x4976eb,_0x5e87b7={})=>{const _0x464e22=_0xe23dd0[_0x285e('0x1e')][_0x285e('0x3')][_0x285e('0x20')],_0x3b782d=_0x5e87b7[_0x285e('0xf')];_0x464e22[_0x285e('0x18')]?_0x4976eb(_0x5e87b7):_0xe23dd0[_0x285e('0x1e')][_0x285e('0x2')](()=>{const _0x464e76=Array[_0x285e('0x13')](_0x464e22['getRanges']());for(const _0xfd8741 of _0x464e76){const _0x4bfe8f=_0x3b782d?[_0xfd8741]:_0x133022(_0x35dc8f,_0xfd8741,_0xe23dd0[_0x285e('0x1e')]);for(const _0x52178c of _0x4bfe8f)_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))[_0x285e('0x7')](_0x52178c,{'commandName':_0x35dc8f,'commandParams':[{'value':_0x3b782d}]});}});});}}
23
+ const _0x4bb8=['fontColor','config','get','isCollapsed','fontFamily','normalizeSizeOptions','enableCommand','has','fontSize','label','*Reset\x20font\x20family*','*Reset\x20font\x20color*','FontFamilyEditing','value','title','_enableCommand','change','*Set\x20font\x20background\x20color:*\x20%0','FontBackgroundColorEditing','model','editor','fontBackgroundColor','*Set\x20font\x20color:*\x20%0','locale','*Reset\x20font\x20background\x20color*','FontColorEditing','trim','markInlineFormat','afterInit','format','plugins','commandName','registerDescriptionCallback','commandParams','FontSizeEditing','TrackChangesEditing','fontColor.colors','*Set\x20font\x20size:*\x20%0','toLowerCase','selection','getRanges','document','*Reset\x20font\x20size*','fontSize.options','fontBackgroundColor.colors','_descriptionFactory','find'];(function(_0x3ed6a2,_0x4bb842){const _0x4a21e4=function(_0x50f657){while(--_0x50f657){_0x3ed6a2['push'](_0x3ed6a2['shift']());}};_0x4a21e4(++_0x4bb842);}(_0x4bb8,0x16c));const _0x4a21=function(_0x3ed6a2,_0x4bb842){_0x3ed6a2=_0x3ed6a2-0x0;let _0x4a21e4=_0x4bb8[_0x3ed6a2];return _0x4a21e4;};import{Plugin as _0x4dfffc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x31a404}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3370be}from'./utils';import{getTranslation as _0x47330d}from'../utils/common-translations';const Zt=[{'pluginName':_0x4a21('0x2e'),'commandName':_0x4a21('0x14')},{'pluginName':_0x4a21('0x18'),'commandName':_0x4a21('0x10')},{'pluginName':_0x4a21('0x25'),'commandName':_0x4a21('0xc')},{'pluginName':_0x4a21('0x1e'),'commandName':'fontBackgroundColor'}];export default class H extends _0x4dfffc{[_0x4a21('0x28')](){const _0x5bcd49=this[_0x4a21('0x20')][_0x4a21('0x23')];for(const {pluginName:_0x51c021,commandName:_0x3a5c74}of Zt)this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0x13')](_0x51c021)&&this[_0x4a21('0x1b')](_0x3a5c74);this['editor'][_0x4a21('0x2a')]['get'](_0x4a21('0x0'))[_0x4a21('0xa')][_0x4a21('0x2c')](_0x2e4050=>{const _0x47d58e=_0x5bcd49['t'],{data:_0x3260e7}=_0x2e4050;if(null!=_0x3260e7){if(_0x4a21('0x14')==_0x3260e7['commandName']){const _0x2eb27e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x2eb27e){const _0x372ad0=_0x47d58e(this[_0x4a21('0x20')][_0x4a21('0x2a')][_0x4a21('0xe')]('FontSize')[_0x4a21('0x11')](this['editor'][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x8')))[_0x4a21('0xb')](_0x3cc08f=>_0x3cc08f[_0x4a21('0x1f')]==_0x2eb27e)[_0x4a21('0x1a')])[_0x4a21('0x3')]();return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x2'),_0x372ad0)};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x7'))};}if(_0x4a21('0x10')==_0x3260e7[_0x4a21('0x2b')]){const _0x986d2d=_0x3260e7[_0x4a21('0x2d')][0x0]['value'];return _0x986d2d?{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,'*Set\x20font\x20family:*\x20%0',_0x986d2d)}:{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x16'))};}if(_0x4a21('0xc')==_0x3260e7[_0x4a21('0x2b')]){const _0xf7502c=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0xf7502c){const _0x429510=_0x31a404(this[_0x4a21('0x20')][_0x4a21('0xd')][_0x4a21('0xe')](_0x4a21('0x1')))['find'](_0x106439=>_0x106439['model']==_0xf7502c);let _0x2b2c61=_0xf7502c,_0x462ae8='';return _0x429510&&(_0x2b2c61=_0x429510[_0x4a21('0x15')],_0x462ae8=_0x47d58e(_0x2b2c61)[_0x4a21('0x3')]()),{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x22'),_0x462ae8)[_0x4a21('0x26')](),'color':{'value':_0xf7502c,'title':_0x462ae8||_0x2b2c61}};}return{'type':'format','content':_0x47330d(_0x5bcd49,_0x4a21('0x17'))};}if(_0x4a21('0x21')==_0x3260e7[_0x4a21('0x2b')]){const _0x5dce9e=_0x3260e7[_0x4a21('0x2d')][0x0][_0x4a21('0x19')];if(_0x5dce9e){const _0xcfc772=_0x31a404(this['editor'][_0x4a21('0xd')]['get'](_0x4a21('0x9')))['find'](_0x3241e2=>_0x3241e2['model']==_0x5dce9e);let _0x37dc49=_0x5dce9e,_0x28fa2a='';return _0xcfc772&&(_0x37dc49=_0xcfc772['label'],_0x28fa2a=_0x47d58e(_0x37dc49)['toLowerCase']()),{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x1d'),_0x28fa2a)[_0x4a21('0x26')](),'color':{'value':_0x5dce9e,'title':_0x28fa2a||_0x37dc49}};}return{'type':_0x4a21('0x29'),'content':_0x47330d(_0x5bcd49,_0x4a21('0x24'))};}}});}['_enableCommand'](_0x449a8a){const _0x32497b=this[_0x4a21('0x20')];_0x32497b[_0x4a21('0x2a')][_0x4a21('0xe')]('TrackChangesEditing')[_0x4a21('0x12')](_0x449a8a,(_0x41119a,_0xd1de76={})=>{const _0x3be145=_0x32497b[_0x4a21('0x1f')][_0x4a21('0x6')][_0x4a21('0x4')],_0x4e4149=_0xd1de76[_0x4a21('0x19')];_0x3be145[_0x4a21('0xf')]?_0x41119a(_0xd1de76):_0x32497b['model'][_0x4a21('0x1c')](()=>{const _0x13b06b=Array['from'](_0x3be145[_0x4a21('0x5')]());for(const _0x626431 of _0x13b06b){const _0x13a707=_0x4e4149?[_0x626431]:_0x3370be(_0x449a8a,_0x626431,_0x32497b[_0x4a21('0x1f')]);for(const _0x19ef40 of _0x13a707)_0x32497b['plugins'][_0x4a21('0xe')](_0x4a21('0x0'))[_0x4a21('0x27')](_0x19ef40,{'commandName':_0x449a8a,'commandParams':[{'value':_0x4e4149}]});}});});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/formatpainter
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for the Format Painter feature.
7
+ */
8
+ export default class TrackChangesFormatPainter extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, 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 _0x1c0c=['enableCommand','locale','keys','pasteFormat','FontSize','commands','fontSize.options','*Remove\x20all\x20formatting*','label','editor','config','copyFormat','isFormatting','format','createRange','getRanges','afterInit','commandParams','length','word','getSelectedBlocks','getLastPosition','commandName','entries','getAttributeProperties','selection','getItems','isBlock','slice','modifySelection','getFirstPosition','fontColor','get','join','fontColor.colors','TrackChangesEditing','markInlineFormat','getAttributes','normalizeSizeOptions','isCollapsed','model','forward','change','fontBackgroundColor','from','plugins','createSelection','boolean','toUpperCase','toLowerCase'];(function(_0x588bc3,_0x1c0c20){const _0xd469a3=function(_0x5d67f5){while(--_0x5d67f5){_0x588bc3['push'](_0x588bc3['shift']());}};_0xd469a3(++_0x1c0c20);}(_0x1c0c,0x7b));const _0xd469=function(_0x588bc3,_0x1c0c20){_0x588bc3=_0x588bc3-0x0;let _0xd469a3=_0x1c0c[_0x588bc3];return _0xd469a3;};import{Plugin as _0x3b09f7}from'ckeditor5/src/core';import{normalizeColorOptions as _0xccaa89}from'ckeditor5/src/ui';import{first as _0x590002}from'ckeditor5/src/utils';import{getTranslation as _0x1c3ef8}from'../utils/common-translations';export default class W extends _0x3b09f7{[_0xd469('0x2b')](){const _0x34c3d0=this[_0xd469('0x24')],_0x4a091b=_0x34c3d0[_0xd469('0x11')],_0x1d695e=_0x4a091b['document'][_0xd469('0x2')],_0x42f208=_0x34c3d0[_0xd469('0x16')][_0xd469('0x9')]('TrackChangesEditing'),_0x9dbe7c=_0x34c3d0[_0xd469('0x1c')],_0x331dd4=_0x34c3d0['commands'][_0xd469('0x9')](_0xd469('0x26')),_0x10a65a=_0x34c3d0[_0xd469('0x20')]['get'](_0xd469('0x1e'));_0x331dd4&&_0x10a65a&&(_0x42f208[_0xd469('0x1b')](_0xd469('0x1e'),(_0x460907,_0x37ef58={})=>{const _0x395817=_0x37ef58;_0x4a091b[_0xd469('0x13')](()=>{const _0x3de22e=Array[_0xd469('0x15')](_0x1d695e[_0xd469('0x2a')]()),_0xb7f0d2=_0x1d695e[_0xd469('0x10')]?[ro(_0x4a091b,_0x1d695e)]:_0x3de22e,_0x2b95c8=!!_0x590002(function*(_0x6b3e15,_0x15bfe2){const _0x1d6595=_0x2c92a6=>!!_0x590002(function*(_0xd32ef7,_0x493a23){for(const [_0x47210b]of _0xd32ef7[_0xd469('0xe')]()){const _0x138f12=_0x493a23[_0xd469('0x1')](_0x47210b);_0x138f12&&_0x138f12[_0xd469('0x27')]&&(yield _0x47210b);}}(_0x2c92a6,_0x15bfe2));for(const _0x165dda of _0x6b3e15[_0xd469('0x2a')]())for(const _0x42c8c6 of _0x165dda[_0xd469('0x3')]())!_0x15bfe2[_0xd469('0x4')](_0x42c8c6)&&_0x1d6595(_0x42c8c6)&&(yield _0x42c8c6);for(const _0x81ddea of _0x6b3e15[_0xd469('0x2f')]())_0x1d6595(_0x81ddea)&&(yield _0x81ddea);_0x1d6595(_0x6b3e15)&&(yield _0x6b3e15);}(_0x1d695e,_0x4a091b['schema']));if(_0x2b95c8||0x0!==Object[_0xd469('0x1d')](_0x395817)[_0xd469('0x2d')])for(const _0x3bcbf3 of _0xb7f0d2)_0x42f208[_0xd469('0xd')](_0x3bcbf3,{'commandName':_0xd469('0x1e'),'commandParams':[_0x395817]});});}),_0x42f208['_descriptionFactory']['registerDescriptionCallback'](_0x1cfa5b=>{const {data:_0x5f1c16}=_0x1cfa5b;if(_0x5f1c16&&_0xd469('0x1e')===_0x5f1c16[_0xd469('0x31')]){const _0x5a1297=[],_0x28f235=_0x5f1c16[_0xd469('0x2c')][0x0];for(const [_0x388fe5,_0x1eefa1]of Object[_0xd469('0x0')](_0x28f235))_0x5a1297['push'](no(_0x34c3d0,_0x388fe5,_0x1eefa1));return _0x5a1297[_0xd469('0x2d')]?{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,'*Set\x20format\x20to:*\x20%0',_0x5a1297[_0xd469('0xa')](',\x20'))}:{'type':_0xd469('0x28'),'content':_0x1c3ef8(_0x9dbe7c,_0xd469('0x22'))};}}),_0x34c3d0[_0xd469('0x16')]['get'](_0xd469('0xc'))[_0xd469('0x1b')](_0xd469('0x26')));}}function ro(_0x52d3c9,_0x1469d2){const _0x54bd67=_0x52d3c9[_0xd469('0x17')](_0x1469d2);_0x52d3c9[_0xd469('0x6')](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':'backward'});const _0x16b944=_0x54bd67[_0xd469('0x7')]();_0x52d3c9['modifySelection'](_0x54bd67,{'unit':_0xd469('0x2e'),'direction':_0xd469('0x12')});const _0x114a71=_0x54bd67[_0xd469('0x30')]();return _0x52d3c9[_0xd469('0x29')](_0x16b944,_0x114a71);}function no(_0x2ab0b5,_0x34d7c7,_0x5caa3e){const _0x15d261=_0x2ab0b5['locale']['t'],_0x230b0d=_0x34d7c7['split'](/(?=[A-Z])/)[_0xd469('0xa')]('\x20'),_0x4eaf67=_0x15d261(_0x230b0d['charAt'](0x0)[_0xd469('0x19')]()+_0x230b0d[_0xd469('0x5')](0x1))[_0xd469('0x1a')]();if(_0xd469('0x18')==typeof _0x5caa3e)return _0x4eaf67;if(_0xd469('0x8')===_0x34d7c7||_0xd469('0x14')===_0x34d7c7){const _0x376afd=_0xccaa89(_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0xb')))['find'](_0x4756ed=>_0x4756ed[_0xd469('0x11')]==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x376afd?_0x15d261(_0x376afd[_0xd469('0x23')])['toLowerCase']():_0x5caa3e)+')';}if('fontSize'===_0x34d7c7&&isNaN(parseFloat(_0x5caa3e))){const _0x39f95a=_0x2ab0b5[_0xd469('0x16')]['get'](_0xd469('0x1f'))[_0xd469('0xf')](_0x2ab0b5[_0xd469('0x25')][_0xd469('0x9')](_0xd469('0x21')))['find'](_0x166fc1=>_0x166fc1['model']==_0x5caa3e);return _0x4eaf67+'\x20('+(_0x39f95a?_0x15d261(_0x39f95a['title'])['toLowerCase']():_0x5caa3e)+')';}return _0x4eaf67+'\x20('+_0x5caa3e+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f74=['get','has','isObject','plugins','_descriptionFactory','value','selection','parent','model','match','registerDescriptionCallback','commandParams','name','checkChild','format','document','enableCommand','formatBlock','heading.options','commandName','change','editor','HeadingEditing','markBlockFormat','paragraph','heading','config','ELEMENT_HEADING','TrackChangesEditing','getSelectedBlocks','*Change\x20to:*\x20%0','locale'];(function(_0x1f2fad,_0x4f745e){const _0x308b3d=function(_0x48df0b){while(--_0x48df0b){_0x1f2fad['push'](_0x1f2fad['shift']());}};_0x308b3d(++_0x4f745e);}(_0x4f74,0xe7));const _0x308b=function(_0x1f2fad,_0x4f745e){_0x1f2fad=_0x1f2fad-0x0;let _0x308b3d=_0x4f74[_0x1f2fad];return _0x308b3d;};import{Plugin as _0x512bea}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xd47ca5}from'./utils';import{getTranslation as _0xa2258f}from'../utils/common-translations';export default class W extends _0x512bea{['afterInit'](){const _0x249ac2=this[_0x308b('0xe')],_0x56b2ca=_0x249ac2[_0x308b('0x18')],_0x4ddfc5=_0x249ac2[_0x308b('0x13')]['get'](_0x308b('0xb'));if(!_0x249ac2[_0x308b('0x1c')][_0x308b('0x1a')](_0x308b('0xf')))return;const _0x54c0de=_0x249ac2[_0x308b('0x1c')][_0x308b('0x19')](_0x308b('0x15'));_0x54c0de[_0x308b('0x9')]('heading',(_0x1e9ab,_0x1e0474)=>{const _0x350557=_0x1e0474[_0x308b('0x1e')],_0x390bfc=Array['from'](this[_0x308b('0xe')]['model'][_0x308b('0x8')][_0x308b('0x1f')][_0x308b('0x16')]())['filter'](_0x32fd3d=>function(_0x5d4faf,_0x48d5ec,_0x19dbdc){return _0x19dbdc[_0x308b('0x6')](_0x5d4faf[_0x308b('0x0')],_0x48d5ec)&&!_0x19dbdc[_0x308b('0x1b')](_0x5d4faf)&&_0x5d4faf[_0x308b('0x5')]!=_0x48d5ec;}(_0x32fd3d,_0x350557,this[_0x308b('0xe')]['model']['schema']));_0x249ac2['model'][_0x308b('0xd')](()=>{for(const _0xa7e98 of _0x390bfc)_0x54c0de[_0x308b('0x10')](_0xa7e98,{'commandName':'heading','commandParams':[_0x1e0474],'formatGroupId':'blockName'},_0xd47ca5(_0xa7e98));});});for(const _0x1233bf of _0x4ddfc5)_0x308b('0x11')!=_0x1233bf['model']&&_0x54c0de[_0x308b('0x1d')]['registerElementLabel'](_0x1233bf[_0x308b('0x1')],_0x4cc77b=>{const _0x21750f=Yt(_0x1233bf[_0x308b('0x1')]);return null!==_0x21750f?_0x2cbdba(_0x4cc77b,_0x21750f):_0x5d0d56(_0x4cc77b,_0x1233bf['title']);});function _0x2cbdba(_0x463b80,_0x6ff9fd){return _0xa2258f(_0x56b2ca,_0x308b('0x14'),[_0x463b80,_0x6ff9fd]);}function _0x5d0d56(_0x2bd18b,_0x39ed3e){return _0xa2258f(_0x56b2ca,'ELEMENT_HEADING_CUSTOM',[_0x2bd18b,_0x39ed3e]);}_0x54c0de[_0x308b('0x1d')][_0x308b('0x3')](_0x4b402c=>{const {type:_0x65d834,data:_0x2ffd8b}=_0x4b402c;if(_0x308b('0xa')==_0x65d834&&_0x2ffd8b&&_0x308b('0x12')==_0x2ffd8b[_0x308b('0xc')]){const _0x249387=_0x2ffd8b[_0x308b('0x4')][0x0][_0x308b('0x1e')],_0x52052a=Yt(_0x249387);if(null!==_0x52052a)return{'type':'format','content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x2cbdba(0x1,_0x52052a))};const _0x20deb2=_0x4ddfc5['find'](_0x1e8531=>_0x1e8531[_0x308b('0x1')]===_0x249387)['title'];return{'type':_0x308b('0x7'),'content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x5d0d56(0x1,_0x20deb2))};}});}}function Yt(_0xca7f31){const _0x388add=_0xca7f31[_0x308b('0x2')](/^heading(\d+)$/);return _0x388add?_0x388add[0x1]:null;}
23
+ const _0x2edf=['enableCommand','change','formatBlock','title','heading','heading.options','filter','find','model','ELEMENT_HEADING','format','from','getSelectedBlocks','parent','name','match','has','commandParams','plugins','registerElementLabel','isObject','paragraph','_descriptionFactory','ELEMENT_HEADING_CUSTOM','markBlockFormat','editor','schema','get','registerDescriptionCallback','value','locale'];(function(_0x22b377,_0x2edf57){const _0x1ad466=function(_0x2c4a89){while(--_0x2c4a89){_0x22b377['push'](_0x22b377['shift']());}};_0x1ad466(++_0x2edf57);}(_0x2edf,0xf5));const _0x1ad4=function(_0x22b377,_0x2edf57){_0x22b377=_0x22b377-0x0;let _0x1ad466=_0x2edf[_0x22b377];return _0x1ad466;};import{Plugin as _0x255a77}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x435d78}from'./utils';import{getTranslation as _0x2475de}from'../utils/common-translations';export default class J extends _0x255a77{['afterInit'](){const _0x197d95=this[_0x1ad4('0x1c')],_0x1845a6=_0x197d95[_0x1ad4('0x2')],_0x2959a7=_0x197d95['config'][_0x1ad4('0x1e')](_0x1ad4('0x8'));if(!_0x197d95['plugins'][_0x1ad4('0x13')]('HeadingEditing'))return;const _0x4fd6b0=_0x197d95[_0x1ad4('0x15')][_0x1ad4('0x1e')]('TrackChangesEditing');_0x4fd6b0[_0x1ad4('0x3')](_0x1ad4('0x7'),(_0x361593,_0x2f2c03)=>{const _0x411706=_0x2f2c03['value'],_0x52e37d=Array[_0x1ad4('0xe')](this[_0x1ad4('0x1c')]['model']['document']['selection'][_0x1ad4('0xf')]())[_0x1ad4('0x9')](_0x16ce70=>function(_0x5f48ae,_0x569e1f,_0x56f78f){return _0x56f78f['checkChild'](_0x5f48ae[_0x1ad4('0x10')],_0x569e1f)&&!_0x56f78f[_0x1ad4('0x17')](_0x5f48ae)&&_0x5f48ae[_0x1ad4('0x11')]!=_0x569e1f;}(_0x16ce70,_0x411706,this[_0x1ad4('0x1c')][_0x1ad4('0xb')][_0x1ad4('0x1d')]));_0x197d95['model'][_0x1ad4('0x4')](()=>{for(const _0x336248 of _0x52e37d)_0x4fd6b0[_0x1ad4('0x1b')](_0x336248,{'commandName':_0x1ad4('0x7'),'commandParams':[_0x2f2c03],'formatGroupId':'blockName'},_0x435d78(_0x336248));});});for(const _0x275601 of _0x2959a7)_0x1ad4('0x18')!=_0x275601[_0x1ad4('0xb')]&&_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x16')](_0x275601[_0x1ad4('0xb')],_0x3d95a6=>{const _0x489bb8=nn(_0x275601[_0x1ad4('0xb')]);return null!==_0x489bb8?_0x551063(_0x3d95a6,_0x489bb8):_0x337301(_0x3d95a6,_0x275601[_0x1ad4('0x6')]);});function _0x551063(_0x1f7e9c,_0x4797c0){return _0x2475de(_0x1845a6,_0x1ad4('0xc'),[_0x1f7e9c,_0x4797c0]);}function _0x337301(_0x8bf75c,_0x137791){return _0x2475de(_0x1845a6,_0x1ad4('0x1a'),[_0x8bf75c,_0x137791]);}_0x4fd6b0[_0x1ad4('0x19')][_0x1ad4('0x0')](_0x11ce85=>{const {type:_0x2d4a7f,data:_0x6787f2}=_0x11ce85;if(_0x1ad4('0x5')==_0x2d4a7f&&_0x6787f2&&_0x1ad4('0x7')==_0x6787f2['commandName']){const _0x37a172=_0x6787f2[_0x1ad4('0x14')][0x0][_0x1ad4('0x1')],_0x5e624b=nn(_0x37a172);if(null!==_0x5e624b)return{'type':'format','content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x551063(0x1,_0x5e624b))};const _0x525474=_0x2959a7[_0x1ad4('0xa')](_0x520d6c=>_0x520d6c[_0x1ad4('0xb')]===_0x37a172)[_0x1ad4('0x6')];return{'type':_0x1ad4('0xd'),'content':_0x2475de(_0x1845a6,'*Change\x20to:*\x20%0',_0x337301(0x1,_0x525474))};}});}}function nn(_0x360095){const _0x2e4ac3=_0x360095[_0x1ad4('0x12')](/^heading(\d+)$/);return _0x2e4ac3?_0x2e4ac3[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1123=['plugins','get','getRanges','selection','title','getLastMatchingPosition','locale','_descriptionFactory','document','markInlineFormat','isCollapsed','backward','color','item','FORMAT_HIGHLIGHT','push','createRange','HighlightEditing','afterInit','commandName','TrackChangesEditing','format','formatInline','*Remove\x20highlight*','commandParams','registerDescriptionCallback','highlight','enableCommand','editor','getAttribute','model','value','toLowerCase','highlight.options'];(function(_0x7ce59f,_0x1123cc){const _0x1a1132=function(_0x59618b){while(--_0x59618b){_0x7ce59f['push'](_0x7ce59f['shift']());}};_0x1a1132(++_0x1123cc);}(_0x1123,0x84));const _0x1a11=function(_0x7ce59f,_0x1123cc){_0x7ce59f=_0x7ce59f-0x0;let _0x1a1132=_0x1123[_0x7ce59f];return _0x1a1132;};import{Plugin as _0x2d4567}from'ckeditor5/src/core';import{getTranslation as _0x512391}from'../utils/common-translations';import{getRangesWithAttribute as _0x536af7}from'./utils';export default class J extends _0x2d4567{[_0x1a11('0x16')](){const _0x13aff9=this[_0x1a11('0x20')];if(!_0x13aff9[_0x1a11('0x4')]['has'](_0x1a11('0x15')))return;const _0xcb6304=_0x13aff9['plugins']['get'](_0x1a11('0x18'));_0xcb6304[_0x1a11('0x1f')](_0x1a11('0x1e'),(_0x1a1fbe,_0x5e025c={})=>{const _0x4750a9=_0x13aff9[_0x1a11('0x0')][_0x1a11('0xc')][_0x1a11('0x7')],_0x24da18=_0x4750a9[_0x1a11('0x21')]('highlight');let _0x5a2fd1=_0x5e025c[_0x1a11('0x1')],_0x24281e=[];if(_0x4750a9[_0x1a11('0xe')]){const _0x2cff77=_0x4750a9['getFirstPosition']();if(!_0x4750a9['hasAttribute'](_0x1a11('0x1e')))return void _0x1a1fbe(_0x5e025c);{const _0x117abb=_0x35f5f1=>_0x35f5f1[_0x1a11('0x11')][_0x1a11('0x21')](_0x1a11('0x1e'))===_0x24da18,_0x5e6f7b=_0x2cff77[_0x1a11('0x9')](_0x117abb,{'direction':_0x1a11('0xf')}),_0x383084=_0x2cff77[_0x1a11('0x9')](_0x117abb);_0x24281e=[_0x13aff9[_0x1a11('0x0')][_0x1a11('0x14')](_0x5e6f7b,_0x383084)],_0x5a2fd1==_0x24da18&&(_0x5a2fd1=null);}}else for(const _0xb2855a of _0x4750a9[_0x1a11('0x6')]())_0x5a2fd1?_0x24281e[_0x1a11('0x13')](_0xb2855a):_0x24281e[_0x1a11('0x13')](..._0x536af7('highlight',_0xb2855a,_0x13aff9[_0x1a11('0x0')]));_0x13aff9[_0x1a11('0x0')]['change'](()=>{for(const _0x21064a of _0x24281e)_0xcb6304[_0x1a11('0xd')](_0x21064a,{'commandName':_0x1a11('0x1e'),'commandParams':[{'value':_0x5a2fd1}]});});});const _0x291610=_0x13aff9[_0x1a11('0xa')];_0xcb6304[_0x1a11('0xb')][_0x1a11('0x1d')](_0x473f93=>{const {type:_0x26f023,data:_0x142f59}=_0x473f93;if(_0x1a11('0x1a')==_0x26f023&&_0x142f59&&'highlight'==_0x142f59[_0x1a11('0x17')]){const _0x307d57=_0x291610['t'],_0x3dbf82=_0x142f59[_0x1a11('0x1c')][0x0]['value'];if(_0x3dbf82){const _0x16953d=_0x13aff9['config'][_0x1a11('0x5')](_0x1a11('0x3'))['find'](_0x459674=>_0x459674['model']==_0x3dbf82),_0xa1239e=_0x307d57(_0x16953d[_0x1a11('0x8')])[_0x1a11('0x2')]();return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,'*Set\x20highlight:*\x20%0',_0xa1239e),'color':{'value':_0x16953d[_0x1a11('0x10')],'title':_0x16953d[_0x1a11('0x8')]}};}return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,_0x1a11('0x1b'),_0x512391(_0x291610,_0x1a11('0x12')))};}});}}
23
+ const _0x8a1b=['format','get','config','selection','FORMAT_HIGHLIGHT','HighlightEditing','createRange','getRanges','commandParams','model','getLastMatchingPosition','getFirstPosition','locale','getAttribute','plugins','value','toLowerCase','has','*Remove\x20highlight*','title','push','item','enableCommand','hasAttribute','color','find','formatInline','highlight','change','TrackChangesEditing','editor','commandName'];(function(_0x2aba96,_0x8a1b6b){const _0x418401=function(_0x2da1e6){while(--_0x2da1e6){_0x2aba96['push'](_0x2aba96['shift']());}};_0x418401(++_0x8a1b6b);}(_0x8a1b,0x117));const _0x4184=function(_0x2aba96,_0x8a1b6b){_0x2aba96=_0x2aba96-0x0;let _0x418401=_0x8a1b[_0x2aba96];return _0x418401;};import{Plugin as _0x229725}from'ckeditor5/src/core';import{getTranslation as _0x35f18a}from'../utils/common-translations';import{getRangesWithAttribute as _0x1704df}from'./utils';export default class K extends _0x229725{['afterInit'](){const _0x3dbdff=this[_0x4184('0x7')];if(!_0x3dbdff[_0x4184('0x17')][_0x4184('0x1a')](_0x4184('0xe')))return;const _0x51f3dd=_0x3dbdff['plugins']['get'](_0x4184('0x6'));_0x51f3dd[_0x4184('0x1f')](_0x4184('0x4'),(_0x26cf4f,_0x1b6e5a={})=>{const _0x1baa73=_0x3dbdff[_0x4184('0x12')]['document'][_0x4184('0xc')],_0x404c7d=_0x1baa73[_0x4184('0x16')](_0x4184('0x4'));let _0x533a62=_0x1b6e5a[_0x4184('0x18')],_0x358384=[];if(_0x1baa73['isCollapsed']){const _0x5dffba=_0x1baa73[_0x4184('0x14')]();if(!_0x1baa73[_0x4184('0x0')](_0x4184('0x4')))return void _0x26cf4f(_0x1b6e5a);{const _0x3f7c6f=_0xef7417=>_0xef7417[_0x4184('0x1e')][_0x4184('0x16')](_0x4184('0x4'))===_0x404c7d,_0x2823d3=_0x5dffba[_0x4184('0x13')](_0x3f7c6f,{'direction':'backward'}),_0x19194f=_0x5dffba[_0x4184('0x13')](_0x3f7c6f);_0x358384=[_0x3dbdff['model'][_0x4184('0xf')](_0x2823d3,_0x19194f)],_0x533a62==_0x404c7d&&(_0x533a62=null);}}else for(const _0xd59a40 of _0x1baa73[_0x4184('0x10')]())_0x533a62?_0x358384[_0x4184('0x1d')](_0xd59a40):_0x358384[_0x4184('0x1d')](..._0x1704df(_0x4184('0x4'),_0xd59a40,_0x3dbdff['model']));_0x3dbdff[_0x4184('0x12')][_0x4184('0x5')](()=>{for(const _0x323311 of _0x358384)_0x51f3dd['markInlineFormat'](_0x323311,{'commandName':_0x4184('0x4'),'commandParams':[{'value':_0x533a62}]});});});const _0x448db3=_0x3dbdff[_0x4184('0x15')];_0x51f3dd['_descriptionFactory']['registerDescriptionCallback'](_0x56af4a=>{const {type:_0xbe8ecd,data:_0x34dc8f}=_0x56af4a;if(_0x4184('0x3')==_0xbe8ecd&&_0x34dc8f&&_0x4184('0x4')==_0x34dc8f[_0x4184('0x8')]){const _0x2f1f8c=_0x448db3['t'],_0x23900f=_0x34dc8f[_0x4184('0x11')][0x0]['value'];if(_0x23900f){const _0x509066=_0x3dbdff[_0x4184('0xb')][_0x4184('0xa')]('highlight.options')[_0x4184('0x2')](_0x38ff53=>_0x38ff53[_0x4184('0x12')]==_0x23900f),_0x104cfb=_0x2f1f8c(_0x509066['title'])[_0x4184('0x19')]();return{'type':_0x4184('0x9'),'content':_0x35f18a(_0x448db3,'*Set\x20highlight:*\x20%0',_0x104cfb),'color':{'value':_0x509066[_0x4184('0x1')],'title':_0x509066[_0x4184('0x1c')]}};}return{'type':'format','content':_0x35f18a(_0x448db3,_0x4184('0x1b'),_0x35f18a(_0x448db3,_0x4184('0xd')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3279=['createPositionAt','div','for','registerElementLabel','locale','showSuggestionHighlights','addClass','ck-horizontal-line','insert','_descriptionFactory','get','HorizontalLineEditing','conversion','afterInit','horizontalLine','elementToStructure','TrackChangesEditing','createEmptyElement','plugins'];(function(_0x442ff5,_0x327988){const _0x5c7c4f=function(_0x518de1){while(--_0x518de1){_0x442ff5['push'](_0x442ff5['shift']());}};_0x5c7c4f(++_0x327988);}(_0x3279,0x182));const _0x5c7c=function(_0x442ff5,_0x327988){_0x442ff5=_0x442ff5-0x0;let _0x5c7c4f=_0x3279[_0x442ff5];return _0x5c7c4f;};import{Plugin as _0x5179d2}from'ckeditor5/src/core';import{getTranslation as _0x49e595}from'../utils/common-translations';export default class K extends _0x5179d2{[_0x5c7c('0x7')](){const _0x2408c3=this['editor'];if(!_0x2408c3['plugins']['has'](_0x5c7c('0x5')))return;_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa'))['enableCommand'](_0x5c7c('0x8'));const _0x2a1be6=_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa')),_0x85a836=_0x2408c3[_0x5c7c('0x11')];_0x2a1be6[_0x5c7c('0x3')][_0x5c7c('0x10')]('horizontalLine',_0x1aac6b=>_0x49e595(_0x85a836,'ELEMENT_HORIZONTAL_LINE',_0x1aac6b)),_0x2408c3[_0x5c7c('0x6')][_0x5c7c('0xf')]('dataDowncast')[_0x5c7c('0x9')]({'model':_0x5c7c('0x8'),'view':(_0x338192,{writer:_0x1ff232,options:_0x19a5c3})=>{if(!_0x19a5c3[_0x5c7c('0x12')])return null;const _0x311998=_0x1ff232['createContainerElement'](_0x5c7c('0xe')),_0x5e4e68=_0x1ff232[_0x5c7c('0xb')]('hr');return _0x1ff232[_0x5c7c('0x0')](_0x5c7c('0x1'),_0x311998),_0x1ff232[_0x5c7c('0x2')](_0x1ff232[_0x5c7c('0xd')](_0x311998,0x0),_0x5e4e68),_0x311998;},'converterPriority':'high'});}}
23
+ const _0x3115=['enableCommand','createEmptyElement','addClass','createContainerElement','get','registerElementLabel','ck-horizontal-line','showSuggestionHighlights','TrackChangesEditing','horizontalLine','dataDowncast','ELEMENT_HORIZONTAL_LINE','plugins','for','elementToStructure','createPositionAt','insert'];(function(_0x5c8fc9,_0x311551){const _0x238916=function(_0xca4026){while(--_0xca4026){_0x5c8fc9['push'](_0x5c8fc9['shift']());}};_0x238916(++_0x311551);}(_0x3115,0x1e9));const _0x2389=function(_0x5c8fc9,_0x311551){_0x5c8fc9=_0x5c8fc9-0x0;let _0x238916=_0x3115[_0x5c8fc9];return _0x238916;};import{Plugin as _0x3ceff9}from'ckeditor5/src/core';import{getTranslation as _0x20033d}from'../utils/common-translations';export default class Q extends _0x3ceff9{['afterInit'](){const _0xaf8200=this['editor'];if(!_0xaf8200[_0x2389('0x10')]['has']('HorizontalLineEditing'))return;_0xaf8200[_0x2389('0x10')][_0x2389('0x8')]('TrackChangesEditing')[_0x2389('0x4')](_0x2389('0xd'));const _0x253694=_0xaf8200['plugins'][_0x2389('0x8')](_0x2389('0xc')),_0x3ac829=_0xaf8200['locale'];_0x253694['_descriptionFactory'][_0x2389('0x9')]('horizontalLine',_0x4e9504=>_0x20033d(_0x3ac829,_0x2389('0xf'),_0x4e9504)),_0xaf8200['conversion'][_0x2389('0x0')](_0x2389('0xe'))[_0x2389('0x1')]({'model':'horizontalLine','view':(_0x6cbe8a,{writer:_0x360b79,options:_0x4194b9})=>{if(!_0x4194b9[_0x2389('0xb')])return null;const _0x165950=_0x360b79[_0x2389('0x7')]('div'),_0x15254d=_0x360b79[_0x2389('0x5')]('hr');return _0x360b79[_0x2389('0x6')](_0x2389('0xa'),_0x165950),_0x360b79[_0x2389('0x3')](_0x360b79[_0x2389('0x2')](_0x165950,0x0),_0x15254d),_0x165950;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f9=['format','editing','selection','change','markBlockFormat','*Change\x20%0\x20content*','get','registerDescriptionCallback','getSelectedElement','ELEMENT_HTML_EMBED','_descriptionFactory','getAttribute','commandName','registerElementLabel','plugins','getCustomProperty','htmlEmbed','locale','TrackChangesEditing','view','has','value','enableCommand','rawHtml','afterInit'];(function(_0x528457,_0x29f9ab){const _0xf586f2=function(_0x4464ad){while(--_0x4464ad){_0x528457['push'](_0x528457['shift']());}};_0xf586f2(++_0x29f9ab);}(_0x29f9,0x1be));const _0xf586=function(_0x528457,_0x29f9ab){_0x528457=_0x528457-0x0;let _0xf586f2=_0x29f9[_0x528457];return _0xf586f2;};import{Plugin as _0x5c7961}from'ckeditor5/src/core';import{getTranslation as _0x48358f}from'../utils/common-translations';export default class Q extends _0x5c7961{[_0xf586('0x3')](){const _0x33d79f=this['editor'];if(!_0x33d79f[_0xf586('0x12')][_0xf586('0x18')]('HtmlEmbed'))return;const _0x3765d1=_0x33d79f[_0xf586('0x12')][_0xf586('0xa')](_0xf586('0x16')),_0x487c2c=_0x33d79f[_0xf586('0x15')],_0x36dd41=_0x33d79f[_0xf586('0x5')][_0xf586('0x17')]['document'][_0xf586('0x6')];_0x3765d1[_0xf586('0xe')][_0xf586('0x11')](_0xf586('0x2'),_0x1b815c=>_0x48358f(_0x487c2c,_0xf586('0xd'),_0x1b815c)),_0x33d79f['plugins']['get'](_0xf586('0x16'))[_0xf586('0x1')]('htmlEmbed',(_0x127813,_0x3a13e7)=>{const _0x4f9f67=_0x33d79f['model'],_0x1ba25c=_0x4f9f67['document'][_0xf586('0x6')];_0x4f9f67[_0xf586('0x7')](()=>{const _0x3a1e9d=function(_0x402f2b){const _0x51330c=_0x402f2b[_0xf586('0xc')]();if(_0x51330c&&_0x51330c['is']('element',_0xf586('0x2')))return _0x402f2b[_0xf586('0xc')]();return null;}(_0x1ba25c);if(!_0x3a1e9d)return void _0x127813(null);const _0x46e831=_0x3a1e9d[_0xf586('0xf')](_0xf586('0x0'))||'';if(void 0x0===_0x3a13e7)return;if(_0x3a13e7===_0x46e831)return;_0x3765d1[_0xf586('0x8')](_0x3a1e9d,{'commandName':_0xf586('0x14'),'commandParams':[_0x3a13e7]}),_0x36dd41[_0xf586('0xc')]()[_0xf586('0x13')]('rawHtmlApi')['cancel']();});}),_0x3765d1[_0xf586('0xe')][_0xf586('0xb')](_0x5f5b8b=>{const {data:_0x47ba83}=_0x5f5b8b;if(_0x47ba83&&'htmlEmbed'==_0x47ba83[_0xf586('0x10')]){const _0x1bb2cd=_0x48358f(_0x487c2c,_0xf586('0xd'));return{'type':_0xf586('0x4'),'content':_0x48358f(_0x487c2c,_0xf586('0x9'),_0x1bb2cd)};}});}}
23
+ const _0x3726=['element','rawHtmlApi','HtmlEmbed','commandName','_descriptionFactory','editor','rawHtml','enableCommand','htmlEmbed','locale','get','ELEMENT_HTML_EMBED','selection','change','document','getSelectedElement','value','cancel','plugins','has','TrackChangesEditing','getCustomProperty','registerElementLabel','markBlockFormat','format','model'];(function(_0x45bf83,_0x37267d){const _0x1c2321=function(_0x17fc99){while(--_0x17fc99){_0x45bf83['push'](_0x45bf83['shift']());}};_0x1c2321(++_0x37267d);}(_0x3726,0x189));const _0x1c23=function(_0x45bf83,_0x37267d){_0x45bf83=_0x45bf83-0x0;let _0x1c2321=_0x3726[_0x45bf83];return _0x1c2321;};import{Plugin as _0x119141}from'ckeditor5/src/core';import{getTranslation as _0x1915e9}from'../utils/common-translations';export default class V extends _0x119141{['afterInit'](){const _0xc4cb4c=this[_0x1c23('0x2')];if(!_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x10')](_0x1c23('0x19')))return;const _0x3d7a5e=_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x7')](_0x1c23('0x11')),_0x3445c3=_0xc4cb4c[_0x1c23('0x6')],_0x194c57=_0xc4cb4c['editing']['view']['document'][_0x1c23('0x9')];_0x3d7a5e[_0x1c23('0x1')][_0x1c23('0x13')](_0x1c23('0x3'),_0x1bdf8b=>_0x1915e9(_0x3445c3,_0x1c23('0x8'),_0x1bdf8b)),_0xc4cb4c[_0x1c23('0xf')][_0x1c23('0x7')](_0x1c23('0x11'))[_0x1c23('0x4')](_0x1c23('0x5'),(_0x3d7f9e,_0x2ee870)=>{const _0x567fbe=_0xc4cb4c[_0x1c23('0x16')],_0x5aeb00=_0x567fbe[_0x1c23('0xb')][_0x1c23('0x9')];_0x567fbe[_0x1c23('0xa')](()=>{const _0x12918e=function(_0x537d5c){const _0x46445b=_0x537d5c[_0x1c23('0xc')]();if(_0x46445b&&_0x46445b['is'](_0x1c23('0x17'),_0x1c23('0x3')))return _0x537d5c['getSelectedElement']();return null;}(_0x5aeb00);if(!_0x12918e)return void _0x3d7f9e(null);const _0x1c90e0=_0x12918e['getAttribute'](_0x1c23('0xd'))||'';if(void 0x0===_0x2ee870)return;if(_0x2ee870===_0x1c90e0)return;_0x3d7a5e[_0x1c23('0x14')](_0x12918e,{'commandName':_0x1c23('0x5'),'commandParams':[_0x2ee870]}),_0x194c57[_0x1c23('0xc')]()[_0x1c23('0x12')](_0x1c23('0x18'))[_0x1c23('0xe')]();});}),_0x3d7a5e[_0x1c23('0x1')]['registerDescriptionCallback'](_0x285e5e=>{const {data:_0x27661a}=_0x285e5e;if(_0x27661a&&_0x1c23('0x5')==_0x27661a[_0x1c23('0x0')]){const _0x530865=_0x1915e9(_0x3445c3,_0x1c23('0x8'));return{'type':_0x1c23('0x15'),'content':_0x1915e9(_0x3445c3,'*Change\x20%0\x20content*',_0x530865)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a22=['start','_splitMarkerName','_descriptionFactory','registerPostFixer','Users','value','refresh','toNext','Block\x20image\x20to\x20inline\x20image','backward','formatInline','change','fromPosition','end','*Remove\x20image\x20text\x20alternative*','imageStyle','hasSuggestion','createRangeOn','commands','enableCommand','resizeImage','markInlineFormat','document','differ','insertion','discardSuggestion','getNearestSelectionRange','next','getAttribute','newRange','forEach','accept','convertInlineImageToBlock','FORMAT_SIDE_IMAGE','detach','ImageEditing','isBlockImage','createRange','markInsertion','markBlockFormat','getContainedElement','toggleImageCaption','*Reset\x20image\x20width*','element','imageTypeInline','deletion','Inline\x20image\x20to\x20block\x20image','registerElementLabel','name','from','subType','editor','_suggestionFactory','registerDescriptionCallback','join','previous','format','find','chain','commandParams','getClosestSelectedImageElement','*Format:*\x20%0','author','width','model','getChangedMarkers','ImageUtils','isBefore','forward','locale','isInContent','title','*Set\x20image\x20text\x20alternative:*\x20%0','ImageBlockEditing','addObject','findIndex','imageTextAlternative','hasAttribute','formatBlock','*Set\x20image\x20width:*\x20%0','imageStylePreApply','ImageCaptionUtils','getSuggestion','ImageStyleEditing','selection','registerCustomCallback','getSuggestionCallback','suggestion','getFirstRange','commandName','isOwn','plugins','imageTypeBlock','ImageInlineEditing','imageBlock','ELEMENT_INLINE_IMAGE','type','commandReversedParams','ELEMENT_CAPTION','getSuggestions','imageStylePostApply','imageInline','get','convertBlockImageToInline','schema','_findSuggestions','isEqual','caption','isIntersecting','imageCaption','shouldConvertImageType','toPrevious','ImageCaptionEditing','getCaptionFromImageModelElement','side','has','isInlineImage','isCollapsed','filter','discard','length','uploadImage'];(function(_0x5881e9,_0x1a22ee){const _0xd62a61=function(_0x25a0ea){while(--_0x25a0ea){_0x5881e9['push'](_0x5881e9['shift']());}};_0xd62a61(++_0x1a22ee);}(_0x1a22,0x1d8));const _0xd62a=function(_0x5881e9,_0x1a22ee){_0x5881e9=_0x5881e9-0x0;let _0xd62a61=_0x1a22[_0x5881e9];return _0xd62a61;};import{Plugin as _0xfa4741}from'ckeditor5/src/core';import{LivePosition as _0x57bf7e}from'ckeditor5/src/engine';import{uid as _0x289e26}from'ckeditor5/src/utils';import{getTranslation as _0x326d54}from'../utils/common-translations';export default class V extends _0xfa4741{['afterInit'](){const _0xae0880=this[_0xd62a('0x43')];if(!_0xae0880['plugins']['has'](_0xd62a('0x33')))return;const _0x33f8b7=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')]('TrackChangesEditing'),_0x33eafd=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x52')),_0x3a1f41={},_0xa59cfc=_0xae0880[_0xd62a('0x55')];if(_0x33f8b7[_0xd62a('0x23')]('insertImage'),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x6e'),_0x3fca11=>_0x326d54(_0xa59cfc,'ELEMENT_IMAGE',_0x3fca11)),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x75'),_0x4a6bda=>_0x326d54(_0xa59cfc,_0xd62a('0x6f'),_0x4a6bda)),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x3f')](_0xd62a('0x1'),()=>_0x326d54(_0xa59cfc,_0xd62a('0x72'))),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')]('ImageUploadEditing')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0xf')),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x59'))&&_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6d'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x3c'),(_0x4ed82a,_0x5e1c00)=>{const _0x37c09e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]);_0xae0880['model'][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x37c09e,{'commandName':_0xd62a('0x3c'),'commandParams':[_0x5e1c00]},[],_0xd62a('0x77'));});}),_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x6c'),(_0x2a923c,_0x33817e)=>{_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](_0x3c96db=>{let _0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x2602ba=_0x57bf7e[_0xd62a('0x1c')](_0x1d5a9f[_0xd62a('0x10')],_0xd62a('0x5')),_0x16d294=_0x57bf7e['fromPosition'](_0x1d5a9f['end'],_0xd62a('0x17'));_0x33f8b7['forceDefaultExecution'](()=>_0x2a923c(_0x33817e)),_0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x13fe1c=_0x3c96db['createRange'](_0x2602ba,_0x16d294);_0x2602ba[_0xd62a('0x32')](),_0x16d294[_0xd62a('0x32')](),_0x33f8b7[_0xd62a('0x37')](_0x12ff09,{'commandName':_0xd62a('0x3c'),'commandParams':[]},[],_0xd62a('0x30')),_0x13fe1c[_0xd62a('0x10')][_0xd62a('0x53')](_0x1d5a9f[_0xd62a('0x10')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db['createRange'](_0x13fe1c[_0xd62a('0x10')],_0x1d5a9f[_0xd62a('0x10')]),'convertInlineImageToBlock'),_0x1d5a9f[_0xd62a('0x1d')][_0xd62a('0x53')](_0x13fe1c[_0xd62a('0x1d')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db[_0xd62a('0x35')](_0x1d5a9f[_0xd62a('0x1d')],_0x13fe1c[_0xd62a('0x1d')]),_0xd62a('0x30'));});}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),'convertInlineImageToBlock','join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),'discard',_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback'](_0xd62a('0x5e'),'','accept')),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('insertion',_0xd62a('0x30'),'join',()=>{}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x28'),_0xd62a('0x30'),_0xd62a('0xd'),([_0x1221e1])=>{const _0x1a52e3=_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x66')]('insertion','','discard');let _0x125180=_0x1221e1['start'],_0x3cd3b6=_0x1221e1[_0xd62a('0x1d')];const _0x5434d8=_0xae0880[_0xd62a('0x50')][_0xd62a('0x78')]['getNearestSelectionRange'](_0x125180,_0xd62a('0x19')),_0x2ceb54=_0xae0880['model'][_0xd62a('0x78')][_0xd62a('0x2a')](_0x3cd3b6,_0xd62a('0x54'));_0x5434d8[_0xd62a('0xb')]&&(_0x125180=_0x5434d8['start']),_0x2ceb54['isCollapsed']&&(_0x3cd3b6=_0x2ceb54[_0xd62a('0x1d')]),_0x1a52e3([_0xae0880[_0xd62a('0x50')][_0xd62a('0x35')](_0x125180,_0x3cd3b6)]);}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x5e'),_0xd62a('0x30'),'chain',_0x49ceda),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x28'),'convertInlineImageToBlock','chain',_0x49ceda)),_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x39'),(_0x5e4705,_0x3e82f0)=>{const _0xd77d68=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x61'));let _0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model']['document']['selection']),_0x3b54f9=_0xd77d68[_0xd62a('0x7')](_0x157d14);_0xae0880[_0xd62a('0x50')]['change'](()=>{if(_0x3b54f9)return void _0x33f8b7['markDeletion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9));const _0x445f62=_0x33eafd[_0xd62a('0x34')](_0x157d14);_0x5e4705(_0x3e82f0),_0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x3b54f9=_0xd77d68['getCaptionFromImageModelElement'](_0x157d14),_0x33f8b7['markInsertion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9),_0x445f62?null:_0xd62a('0x3'));});}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x28'),_0xd62a('0x3'),_0xd62a('0x4a'),_0x49ceda)),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x63'))){_0x33f8b7['enableCommand']('imageStyle',(_0x4c1627,_0x419780)=>{const _0xe37d17=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x14'))['me'],_0x3e2b81=_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x1f'));let _0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model'][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x35c42e),_0x2ec7e4=_0x3e2b81['value'];if(_0x2ec7e4==_0x419780[_0xd62a('0x15')])return;const _0x485965={'commandName':_0xd62a('0x1f'),'commandParams':[_0x419780],'formatGroupId':_0x289e26()};_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{if(_0x33f8b7[_0xd62a('0x73')]()[_0xd62a('0xc')](_0x1cc1a1=>_0x1cc1a1[_0xd62a('0x56')]&&_0xe37d17==_0x1cc1a1[_0xd62a('0x4e')]&&('formatBlock'==_0x1cc1a1['type']||_0xd62a('0x1a')==_0x1cc1a1['type'])&&('imageStylePreApply'==_0x1cc1a1[_0xd62a('0x42')]||_0xd62a('0x74')==_0x1cc1a1[_0xd62a('0x42')])&&_0x1cc1a1[_0xd62a('0x68')]()[_0xd62a('0x0')](_0x506c69))[_0xd62a('0x2e')](_0x6f1cf9=>_0x33f8b7[_0xd62a('0x29')](_0x6f1cf9['head'])),_0x35c42e=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880['model'][_0xd62a('0x21')](_0x35c42e),_0x3e2b81[_0xd62a('0x16')](),_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x3c'))['refresh'](),_0xae0880['commands'][_0xd62a('0x76')]('imageTypeBlock')[_0xd62a('0x16')](),_0x2ec7e4=_0x3e2b81['value'],_0x2ec7e4!=_0x419780['value'])return _0x33eafd[_0xd62a('0xa')](_0x35c42e)&&_0x3e2b81[_0xd62a('0x4')](_0x419780[_0xd62a('0x15')],_0x35c42e)?(_0x4c1627(_0x419780),_0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')]['selection']),void _0x33f8b7['markBlockFormat'](_0x35c42e,{..._0x485965,'commandReversedParams':[{'value':_0x2ec7e4||null}]},[],_0xd62a('0x60'))):void(_0x33eafd['isBlockImage'](_0x35c42e)?_0x33f8b7[_0xd62a('0x37')](_0x35c42e,_0x485965,[],'imageStylePostApply'):_0x33f8b7[_0xd62a('0x25')](_0x506c69,_0x485965,_0xd62a('0x74')));});});for(const _0x2ce382 of _0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x63'))['normalizedStyles'])_0x3a1f41[_0x2ce382[_0xd62a('0x40')]]=_0x2ce382[_0xd62a('0x57')]['toLowerCase']();_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('formatBlock',_0xd62a('0x74'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x1a'),_0xd62a('0x74'),'join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0xd'),(_0x5913d7,_0x54cf03)=>{_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback']('formatBlock','',_0xd62a('0x2f'))(_0x5913d7,{'commandName':_0x54cf03[_0xd62a('0x69')],'commandParams':_0x54cf03[_0xd62a('0x71')]});}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x4a'),_0x49ceda);}const _0x4b4902=[{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x60')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x3')},{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x30')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x30')}];function _0x1d9871(_0x379eed,_0x3ff347){const _0x2893d8=_0x4b4902[_0xd62a('0x5b')](({type:_0x2a2196,subType:_0x2a4c55})=>_0x379eed[_0xd62a('0x70')]==_0x2a2196&&_0x379eed[_0xd62a('0x42')]==_0x2a4c55),_0xaf8a25=_0x4b4902['findIndex'](({type:_0x236976,subType:_0x4cb517})=>_0x3ff347[_0xd62a('0x70')]==_0x236976&&_0x3ff347[_0xd62a('0x42')]==_0x4cb517);if(_0x2893d8<0x0||_0xaf8a25<0x0)return!0x1;const _0x5ee8ad=_0x379eed[_0xd62a('0x68')](),_0x1b6cee=_0x3ff347[_0xd62a('0x68')]();if((0x0==_0x2893d8||0x1==_0x2893d8)&&0x2==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x2')](_0x1b6cee))return!0x0;if(0x2==_0x2893d8&&0x3==_0xaf8a25){const _0x55b9da=_0x33f8b7[_0xd62a('0x79')](_0x5ee8ad,_0xd62a('0x28'))[_0xd62a('0xc')](({suggestion:_0x496bfe,meta:_0x1e6035})=>_0x1e6035[_0xd62a('0x6a')]&&_0xd62a('0x30')==_0x496bfe[_0xd62a('0x42')]);if(_0x55b9da[_0xd62a('0xe')]>0x1&&_0x1b6cee[_0xd62a('0x1d')][_0xd62a('0x0')](_0x5ee8ad['start']))return!0x0;if(0x1==_0x55b9da['length']&&(_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x1d')])||_0x5ee8ad[_0xd62a('0x1d')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x10')])))return!0x0;}if(0x3==_0x2893d8&&0x3==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x53')](_0x1b6cee[_0xd62a('0x10')])){const _0x521bcb=_0x5ee8ad[_0xd62a('0x1d')]['nodeAfter'],_0x2a4a6f=_0x1b6cee[_0xd62a('0x10')]['nodeBefore'];return _0x33eafd[_0xd62a('0x34')](_0x521bcb)&&_0x521bcb===_0x2a4a6f;}return!0x1;}function _0x49ceda(_0x42cda8,_0x42cc33){return _0x1d9871(_0x42cda8,_0x42cc33)?[_0x42cda8,_0x42cc33]:_0x1d9871(_0x42cc33,_0x42cda8)?[_0x42cc33,_0x42cda8]:null;}_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x13')](()=>{let _0x17d286=!0x1;const _0x266f49=Array[_0xd62a('0x41')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x27')][_0xd62a('0x51')]());for(const {name:_0x2a19e2,data:_0x4b9633}of _0x266f49){const {group:_0x2e2d24,type:_0x134c5c,subType:_0x41f582,id:_0x3f0203}=_0x33f8b7[_0xd62a('0x11')](_0x2a19e2);if(_0xd62a('0x67')==_0x2e2d24&&_0x33f8b7[_0xd62a('0x20')](_0x3f0203)){if('formatBlock'==_0x134c5c&&(_0xd62a('0x60')==_0x41f582||'imageStylePostApply'==_0x41f582)){const _0x4a0e24=_0x33f8b7['getSuggestion'](_0x3f0203);if(_0x4b9633[_0xd62a('0x2d')]){const _0x5dd64b=_0x4a0e24[_0xd62a('0x68')]()['getContainedElement']();if(_0x33eafd['isBlockImage'](_0x5dd64b))continue;_0x33f8b7[_0xd62a('0x29')](_0x4a0e24),_0x17d286=!0x0;}}if(_0xd62a('0x28')==_0x134c5c&&_0xd62a('0x3')==_0x41f582&&!_0x4b9633[_0xd62a('0x2d')]){const _0x224278=_0x33f8b7[_0xd62a('0x62')](_0x3f0203);_0x224278[_0xd62a('0x2b')]&&_0x224278[_0xd62a('0x2b')][_0xd62a('0x56')]&&(_0x33f8b7[_0xd62a('0x29')](_0x224278[_0xd62a('0x2b')]),_0x17d286=!0x0);}}}return _0x17d286;}),_0xae0880[_0xd62a('0x6b')]['has']('ImageResize')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x24'),(_0x5469cb,_0x17319a)=>{const _0x42a528=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);_0x42a528['getAttribute'](_0xd62a('0x4f'))!=_0x17319a['width']&&_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x42a528,{'commandName':_0xd62a('0x24'),'commandParams':[_0x17319a]});});}),_0xae0880[_0xd62a('0x6b')]['has']('ImageTextAlternativeEditing')&&_0x33f8b7['enableCommand'](_0xd62a('0x5c'),(_0x2b94d6,_0x42244a)=>{const _0x2fd26f=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);(_0x2fd26f[_0xd62a('0x5d')]('alt')?_0x2fd26f[_0xd62a('0x2c')]('alt'):'')!=_0x42244a['newValue']&&_0xae0880['model']['change'](()=>{_0x33f8b7[_0xd62a('0x37')](_0x2fd26f,{'commandName':_0xd62a('0x5c'),'commandParams':[_0x42244a]});});}),_0x33f8b7['_descriptionFactory']['registerDescriptionCallback'](_0x2d12d7=>{if(!!_0x4b4902[_0xd62a('0x49')](({type:_0x201911,subType:_0x2bbffd})=>_0x2d12d7[_0xd62a('0x70')]==_0x201911&&_0x2d12d7[_0xd62a('0x42')]==_0x2bbffd))return _0x2d12d7[_0xd62a('0x47')]?{}:void 0x0;}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x1b24b2=>{if(_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]||_0xd62a('0x3d')==_0x1b24b2[_0xd62a('0x70')]){const _0x52e81e=_0x1b24b2[_0xd62a('0x38')]();if(_0x52e81e&&_0x52e81e['is'](_0xd62a('0x3b'),_0xd62a('0x1')))return{'type':_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]?_0xd62a('0x5a'):'removeObject','element':_0x52e81e,'quantity':0x1};}}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x3574f1=>_0xd62a('0x5e')==_0x3574f1[_0xd62a('0x70')]&&_0xd62a('0x30')==_0x3574f1[_0xd62a('0x42')]?{'type':'format','content':_0xd62a('0x3e')}:_0xd62a('0x5e')==_0x3574f1['type']&&_0xd62a('0x77')==_0x3574f1[_0xd62a('0x42')]?{'type':_0xd62a('0x48'),'content':_0xd62a('0x18')}:void 0x0),_0x33f8b7['_descriptionFactory'][_0xd62a('0x45')](_0x18b019=>{const {data:_0x14818d}=_0x18b019;if(_0x14818d){if(_0xd62a('0x1f')==_0x14818d[_0xd62a('0x69')]){const _0x20edd1=_0x14818d[_0xd62a('0x4b')][0x0][_0xd62a('0x15')];return _0x1d1aab(_0xd62a('0x8')===_0x20edd1?_0x326d54(_0xa59cfc,_0xd62a('0x31')):_0x3a1f41[_0x20edd1]||_0x20edd1);}if('imageTextAlternative'==_0x14818d['commandName']){const _0x733692=_0x14818d[_0xd62a('0x4b')][0x0]['newValue'];return _0x733692?{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x58'),'\x22'+_0x733692+'\x22')}:{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x1e'))};}if(_0xd62a('0x24')==_0x14818d[_0xd62a('0x69')]){const _0x5eb5e7=_0x14818d['commandParams'][0x0][_0xd62a('0x4f')];return _0x5eb5e7?{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x5f'),_0x5eb5e7)}:{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x3a'))};}}function _0x1d1aab(_0x1f3e0a){return{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x4d'),_0x1f3e0a)};}});}}
23
+ const _0x31ed=['discard','imageTextAlternative','commandParams','forceDefaultExecution','get','resizeImage','forward','commandName','imageInline','type','imageTypeInline','markInsertion','selection','find','ImageUploadEditing','getCaptionFromImageModelElement','name','*Format:*\x20%0','toPrevious','filter','isEqual','document','ELEMENT_INLINE_IMAGE','ImageTextAlternativeEditing','ELEMENT_IMAGE','ImageBlockEditing','findIndex','chain','imageStylePreApply','isInContent','toNext','subType','imageStyle','formatBlock','FORMAT_SIDE_IMAGE','Block\x20image\x20to\x20inline\x20image','backward','newValue','registerPostFixer','nodeBefore','refresh','ELEMENT_CAPTION','schema','*Reset\x20image\x20width*','createRangeOn','width','markInlineFormat','ImageStyleEditing','imageStylePostApply','commands','next','start','getSuggestion','addObject','isOwn','markBlockFormat','newRange','removeObject','fromPosition','registerElementLabel','from','author','side','getAttribute','model','detach','imageCaption','end','change','hasSuggestion','editor','convertInlineImageToBlock','insertion','insertImage','alt','accept','markDeletion','getNearestSelectionRange','toLowerCase','plugins','getFirstRange','join','has','_descriptionFactory','getClosestSelectedImageElement','head','*Remove\x20image\x20text\x20alternative*','isBlockImage','ImageCaptionUtils','isCollapsed','locale','value','format','registerCustomCallback','afterInit','createRange','isInlineImage','isBefore','deletion','shouldConvertImageType','nodeAfter','uploadImage','TrackChangesEditing','toggleImageCaption','previous','formatInline','length','ImageEditing','getSuggestionCallback','*Set\x20image\x20width:*\x20%0','ImageUtils','convertBlockImageToInline','element','discardSuggestion','isIntersecting','enableCommand','forEach','getContainedElement','imageTypeBlock','registerDescriptionCallback','caption','_suggestionFactory'];(function(_0x35f5d7,_0x31ed74){const _0x21231c=function(_0x2a48fb){while(--_0x2a48fb){_0x35f5d7['push'](_0x35f5d7['shift']());}};_0x21231c(++_0x31ed74);}(_0x31ed,0x146));const _0x2123=function(_0x35f5d7,_0x31ed74){_0x35f5d7=_0x35f5d7-0x0;let _0x21231c=_0x31ed[_0x35f5d7];return _0x21231c;};import{Plugin as _0x11a7e7}from'ckeditor5/src/core';import{LivePosition as _0x33711f}from'ckeditor5/src/engine';import{uid as _0x1f670d}from'ckeditor5/src/utils';import{getTranslation as _0x1adf2f}from'../utils/common-translations';export default class X extends _0x11a7e7{[_0x2123('0xc')](){const _0x2aebe3=this[_0x2123('0x6e')];if(!_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x19')))return;const _0x50cfca=_0x2aebe3[_0x2123('0x77')][_0x2123('0x2c')](_0x2123('0x14')),_0x163010=_0x2aebe3['plugins']['get'](_0x2123('0x1c')),_0x1fe626={},_0x236755=_0x2aebe3[_0x2123('0x8')];if(_0x50cfca[_0x2123('0x21')](_0x2123('0x71')),_0x50cfca[_0x2123('0x1')][_0x2123('0x63')]('imageBlock',_0x2ea53e=>_0x1adf2f(_0x236755,_0x2123('0x40'),_0x2ea53e)),_0x50cfca[_0x2123('0x1')][_0x2123('0x63')](_0x2123('0x30'),_0x3bd17e=>_0x1adf2f(_0x236755,_0x2123('0x3e'),_0x3bd17e)),_0x50cfca[_0x2123('0x1')]['registerElementLabel'](_0x2123('0x26'),()=>_0x1adf2f(_0x236755,_0x2123('0x51'))),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x36'))&&_0x50cfca[_0x2123('0x21')](_0x2123('0x13')),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x41'))&&_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')]('ImageInlineEditing')&&(_0x50cfca['enableCommand']('imageTypeInline',(_0x4ff0e0,_0x187aaa)=>{const _0x70973a=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]);_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{_0x50cfca[_0x2123('0x5f')](_0x70973a,{'commandName':_0x2123('0x32'),'commandParams':[_0x187aaa]},[],_0x2123('0x1d'));});}),_0x50cfca[_0x2123('0x21')](_0x2123('0x24'),(_0x5627e5,_0x3ff8b1)=>{_0x2aebe3['model'][_0x2123('0x6c')](_0x3a81f1=>{let _0x415edb=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]),_0x510c09=_0x3a81f1[_0x2123('0x54')](_0x415edb);const _0x10ad3f=_0x33711f[_0x2123('0x62')](_0x510c09[_0x2123('0x5b')],_0x2123('0x3a')),_0x4302b3=_0x33711f['fromPosition'](_0x510c09[_0x2123('0x6b')],_0x2123('0x46'));_0x50cfca[_0x2123('0x2b')](()=>_0x5627e5(_0x3ff8b1)),_0x415edb=_0x163010[_0x2123('0x2')](_0x2aebe3['model'][_0x2123('0x3d')][_0x2123('0x34')]),_0x510c09=_0x3a81f1[_0x2123('0x54')](_0x415edb);const _0x2a9240=_0x3a81f1[_0x2123('0xd')](_0x10ad3f,_0x4302b3);_0x10ad3f[_0x2123('0x69')](),_0x4302b3[_0x2123('0x69')](),_0x50cfca[_0x2123('0x5f')](_0x415edb,{'commandName':_0x2123('0x32'),'commandParams':[]},[],_0x2123('0x6f')),_0x2a9240[_0x2123('0x5b')][_0x2123('0xf')](_0x510c09[_0x2123('0x5b')])&&_0x50cfca['markInsertion'](_0x3a81f1['createRange'](_0x2a9240[_0x2123('0x5b')],_0x510c09[_0x2123('0x5b')]),_0x2123('0x6f')),_0x510c09[_0x2123('0x6b')][_0x2123('0xf')](_0x2a9240[_0x2123('0x6b')])&&_0x50cfca[_0x2123('0x33')](_0x3a81f1[_0x2123('0xd')](_0x510c09[_0x2123('0x6b')],_0x2a9240[_0x2123('0x6b')]),_0x2123('0x6f'));});}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x73'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('formatBlock',_0x2123('0x6f'),_0x2123('0x28'),_0x50cfca[_0x2123('0x27')][_0x2123('0x1a')](_0x2123('0x49'),'',_0x2123('0x73'))),_0x50cfca['_suggestionFactory'][_0x2123('0xb')](_0x2123('0x70'),'convertInlineImageToBlock',_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')]['registerCustomCallback'](_0x2123('0x70'),_0x2123('0x6f'),'discard',([_0x3660ae])=>{const _0x3a309d=_0x50cfca[_0x2123('0x27')]['getSuggestionCallback'](_0x2123('0x70'),'','discard');let _0x5c4ef2=_0x3660ae[_0x2123('0x5b')],_0x4f7669=_0x3660ae[_0x2123('0x6b')];const _0x31e9f6=_0x2aebe3[_0x2123('0x68')][_0x2123('0x52')][_0x2123('0x75')](_0x5c4ef2,_0x2123('0x4c')),_0x43e686=_0x2aebe3['model']['schema']['getNearestSelectionRange'](_0x4f7669,_0x2123('0x2e'));_0x31e9f6['isCollapsed']&&(_0x5c4ef2=_0x31e9f6[_0x2123('0x5b')]),_0x43e686[_0x2123('0x7')]&&(_0x4f7669=_0x43e686['end']),_0x3a309d([_0x2aebe3[_0x2123('0x68')][_0x2123('0xd')](_0x5c4ef2,_0x4f7669)]);}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x6f'),_0x2123('0x43'),_0x25451c),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('insertion',_0x2123('0x6f'),_0x2123('0x43'),_0x25451c)),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')]('ImageCaptionEditing')&&(_0x50cfca[_0x2123('0x21')](_0x2123('0x15'),(_0x3a051d,_0x3fe936)=>{const _0x183912=_0x2aebe3[_0x2123('0x77')][_0x2123('0x2c')](_0x2123('0x6'));let _0x1a2820=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]),_0x3379de=_0x183912['getCaptionFromImageModelElement'](_0x1a2820);_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{if(_0x3379de)return void _0x50cfca[_0x2123('0x74')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x3379de));const _0xc9501c=_0x163010[_0x2123('0x5')](_0x1a2820);_0x3a051d(_0x3fe936),_0x1a2820=_0x163010[_0x2123('0x2')](_0x2aebe3['model'][_0x2123('0x3d')][_0x2123('0x34')]),_0x3379de=_0x183912[_0x2123('0x37')](_0x1a2820),_0x50cfca[_0x2123('0x33')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x3379de),_0xc9501c?null:_0x2123('0x6a'));});}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('insertion',_0x2123('0x6a'),_0x2123('0x43'),_0x25451c)),_0x2aebe3['plugins'][_0x2123('0x0')]('ImageStyleEditing')){_0x50cfca[_0x2123('0x21')]('imageStyle',(_0x28e616,_0x51ab5d)=>{const _0x41fb12=_0x2aebe3[_0x2123('0x77')]['get']('Users')['me'],_0x38fb78=_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')](_0x2123('0x48'));let _0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']),_0x1e688b=_0x2aebe3[_0x2123('0x68')][_0x2123('0x54')](_0x2882cd),_0x3347fd=_0x38fb78[_0x2123('0x9')];if(_0x3347fd==_0x51ab5d[_0x2123('0x9')])return;const _0x35dee9={'commandName':_0x2123('0x48'),'commandParams':[_0x51ab5d],'formatGroupId':_0x1f670d()};_0x2aebe3[_0x2123('0x68')]['change'](()=>{if(_0x50cfca['getSuggestions']()[_0x2123('0x3b')](_0x58bc93=>_0x58bc93[_0x2123('0x45')]&&_0x41fb12==_0x58bc93[_0x2123('0x65')]&&(_0x2123('0x49')==_0x58bc93[_0x2123('0x31')]||_0x2123('0x17')==_0x58bc93[_0x2123('0x31')])&&('imageStylePreApply'==_0x58bc93['subType']||_0x2123('0x58')==_0x58bc93[_0x2123('0x47')])&&_0x58bc93[_0x2123('0x78')]()['isEqual'](_0x1e688b))[_0x2123('0x22')](_0x543d56=>_0x50cfca[_0x2123('0x1f')](_0x543d56[_0x2123('0x3')])),_0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']),_0x1e688b=_0x2aebe3['model']['createRangeOn'](_0x2882cd),_0x38fb78['refresh'](),_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')]('imageTypeInline')['refresh'](),_0x2aebe3[_0x2123('0x59')][_0x2123('0x2c')](_0x2123('0x24'))[_0x2123('0x50')](),_0x3347fd=_0x38fb78[_0x2123('0x9')],_0x3347fd!=_0x51ab5d[_0x2123('0x9')])return _0x163010[_0x2123('0xe')](_0x2882cd)&&_0x38fb78[_0x2123('0x11')](_0x51ab5d[_0x2123('0x9')],_0x2882cd)?(_0x28e616(_0x51ab5d),_0x2882cd=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')]['document']['selection']),void _0x50cfca[_0x2123('0x5f')](_0x2882cd,{..._0x35dee9,'commandReversedParams':[{'value':_0x3347fd||null}]},[],_0x2123('0x44'))):void(_0x163010[_0x2123('0x5')](_0x2882cd)?_0x50cfca['markBlockFormat'](_0x2882cd,_0x35dee9,[],'imageStylePostApply'):_0x50cfca[_0x2123('0x56')](_0x1e688b,_0x35dee9,_0x2123('0x58')));});});for(const _0xdd3189 of _0x2aebe3[_0x2123('0x77')]['get'](_0x2123('0x57'))['normalizedStyles'])_0x1fe626[_0xdd3189[_0x2123('0x38')]]=_0xdd3189['title'][_0x2123('0x76')]();_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),'imageStylePreApply',_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x58'),'join',()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x17'),_0x2123('0x58'),_0x2123('0x79'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')]('formatBlock',_0x2123('0x44'),_0x2123('0x73'),()=>{}),_0x50cfca[_0x2123('0x27')][_0x2123('0xb')](_0x2123('0x49'),_0x2123('0x44'),_0x2123('0x28'),(_0x1a77de,_0x50ec8d)=>{_0x50cfca[_0x2123('0x27')][_0x2123('0x1a')](_0x2123('0x49'),'',_0x2123('0x73'))(_0x1a77de,{'commandName':_0x50ec8d[_0x2123('0x2f')],'commandParams':_0x50ec8d['commandReversedParams']});}),_0x50cfca[_0x2123('0x27')]['registerCustomCallback'](_0x2123('0x49'),'imageStylePreApply',_0x2123('0x43'),_0x25451c);}const _0x59765a=[{'type':_0x2123('0x49'),'subType':_0x2123('0x44')},{'type':_0x2123('0x70'),'subType':_0x2123('0x6a')},{'type':_0x2123('0x49'),'subType':'convertInlineImageToBlock'},{'type':_0x2123('0x70'),'subType':_0x2123('0x6f')}];function _0x14f27d(_0x3a0306,_0x3ce349){const _0x27db09=_0x59765a['findIndex'](({type:_0x158d48,subType:_0x20308e})=>_0x3a0306[_0x2123('0x31')]==_0x158d48&&_0x3a0306['subType']==_0x20308e),_0x1dd8bf=_0x59765a[_0x2123('0x42')](({type:_0x111155,subType:_0x401ec6})=>_0x3ce349[_0x2123('0x31')]==_0x111155&&_0x3ce349[_0x2123('0x47')]==_0x401ec6);if(_0x27db09<0x0||_0x1dd8bf<0x0)return!0x1;const _0x33fff5=_0x3a0306[_0x2123('0x78')](),_0x23af49=_0x3ce349[_0x2123('0x78')]();if((0x0==_0x27db09||0x1==_0x27db09)&&0x2==_0x1dd8bf&&_0x33fff5[_0x2123('0x20')](_0x23af49))return!0x0;if(0x2==_0x27db09&&0x3==_0x1dd8bf){const _0x4d8249=_0x50cfca['_findSuggestions'](_0x33fff5,_0x2123('0x70'))[_0x2123('0x3b')](({suggestion:_0x37d849,meta:_0x19ba7a})=>_0x19ba7a[_0x2123('0x5e')]&&'convertInlineImageToBlock'==_0x37d849[_0x2123('0x47')]);if(_0x4d8249[_0x2123('0x18')]>0x1&&_0x23af49[_0x2123('0x6b')]['isEqual'](_0x33fff5[_0x2123('0x5b')]))return!0x0;if(0x1==_0x4d8249[_0x2123('0x18')]&&(_0x33fff5[_0x2123('0x5b')][_0x2123('0x3c')](_0x23af49[_0x2123('0x6b')])||_0x33fff5[_0x2123('0x6b')][_0x2123('0x3c')](_0x23af49[_0x2123('0x5b')])))return!0x0;}if(0x3==_0x27db09&&0x3==_0x1dd8bf&&_0x33fff5[_0x2123('0x5b')]['isBefore'](_0x23af49['start'])){const _0x2c6a38=_0x33fff5[_0x2123('0x6b')][_0x2123('0x12')],_0xc71472=_0x23af49[_0x2123('0x5b')][_0x2123('0x4f')];return _0x163010['isBlockImage'](_0x2c6a38)&&_0x2c6a38===_0xc71472;}return!0x1;}function _0x25451c(_0x77f0e5,_0x221101){return _0x14f27d(_0x77f0e5,_0x221101)?[_0x77f0e5,_0x221101]:_0x14f27d(_0x221101,_0x77f0e5)?[_0x221101,_0x77f0e5]:null;}_0x2aebe3[_0x2123('0x68')]['document'][_0x2123('0x4e')](()=>{let _0x1f751a=!0x1;const _0x5c63e7=Array[_0x2123('0x64')](_0x2aebe3['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4caec6,data:_0x150660}of _0x5c63e7){const {group:_0x324ee8,type:_0x47d5c5,subType:_0xaf1c25,id:_0x1ee001}=_0x50cfca['_splitMarkerName'](_0x4caec6);if('suggestion'==_0x324ee8&&_0x50cfca[_0x2123('0x6d')](_0x1ee001)){if(_0x2123('0x49')==_0x47d5c5&&(_0x2123('0x44')==_0xaf1c25||_0x2123('0x58')==_0xaf1c25)){const _0x2b75da=_0x50cfca['getSuggestion'](_0x1ee001);if(_0x150660['newRange']){const _0x36ffb8=_0x2b75da[_0x2123('0x78')]()[_0x2123('0x23')]();if(_0x163010[_0x2123('0x5')](_0x36ffb8))continue;_0x50cfca['discardSuggestion'](_0x2b75da),_0x1f751a=!0x0;}}if(_0x2123('0x70')==_0x47d5c5&&_0x2123('0x6a')==_0xaf1c25&&!_0x150660[_0x2123('0x60')]){const _0x5c8023=_0x50cfca[_0x2123('0x5c')](_0x1ee001);_0x5c8023[_0x2123('0x5a')]&&_0x5c8023[_0x2123('0x5a')][_0x2123('0x45')]&&(_0x50cfca['discardSuggestion'](_0x5c8023[_0x2123('0x5a')]),_0x1f751a=!0x0);}}}return _0x1f751a;}),_0x2aebe3[_0x2123('0x77')]['has']('ImageResize')&&_0x50cfca[_0x2123('0x21')](_0x2123('0x2d'),(_0x5d4bf4,_0x3429de)=>{const _0x35c9d2=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')][_0x2123('0x34')]);_0x35c9d2['getAttribute'](_0x2123('0x55'))!=_0x3429de[_0x2123('0x55')]&&_0x2aebe3['model']['change'](()=>{_0x50cfca['markBlockFormat'](_0x35c9d2,{'commandName':_0x2123('0x2d'),'commandParams':[_0x3429de]});});}),_0x2aebe3[_0x2123('0x77')][_0x2123('0x0')](_0x2123('0x3f'))&&_0x50cfca[_0x2123('0x21')](_0x2123('0x29'),(_0x47eac8,_0x5611a7)=>{const _0x48cd4e=_0x163010[_0x2123('0x2')](_0x2aebe3[_0x2123('0x68')][_0x2123('0x3d')]['selection']);(_0x48cd4e['hasAttribute'](_0x2123('0x72'))?_0x48cd4e[_0x2123('0x67')](_0x2123('0x72')):'')!=_0x5611a7[_0x2123('0x4d')]&&_0x2aebe3[_0x2123('0x68')][_0x2123('0x6c')](()=>{_0x50cfca[_0x2123('0x5f')](_0x48cd4e,{'commandName':'imageTextAlternative','commandParams':[_0x5611a7]});});}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x10f55f=>{if(!!_0x59765a[_0x2123('0x35')](({type:_0xa6d02c,subType:_0x178705})=>_0x10f55f[_0x2123('0x31')]==_0xa6d02c&&_0x10f55f[_0x2123('0x47')]==_0x178705))return _0x10f55f[_0x2123('0x16')]?{}:void 0x0;}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x37b0e7=>{if(_0x2123('0x70')==_0x37b0e7[_0x2123('0x31')]||_0x2123('0x10')==_0x37b0e7[_0x2123('0x31')]){const _0x49da14=_0x37b0e7[_0x2123('0x23')]();if(_0x49da14&&_0x49da14['is'](_0x2123('0x1e'),_0x2123('0x26')))return{'type':_0x2123('0x70')==_0x37b0e7['type']?_0x2123('0x5d'):_0x2123('0x61'),'element':_0x49da14,'quantity':0x1};}}),_0x50cfca[_0x2123('0x1')][_0x2123('0x25')](_0x3c0b4d=>_0x2123('0x49')==_0x3c0b4d[_0x2123('0x31')]&&'convertInlineImageToBlock'==_0x3c0b4d[_0x2123('0x47')]?{'type':_0x2123('0xa'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x3c0b4d[_0x2123('0x31')]&&_0x2123('0x1d')==_0x3c0b4d[_0x2123('0x47')]?{'type':'format','content':_0x2123('0x4b')}:void 0x0),_0x50cfca['_descriptionFactory']['registerDescriptionCallback'](_0x5f0265=>{const {data:_0x3fcbaf}=_0x5f0265;if(_0x3fcbaf){if(_0x2123('0x48')==_0x3fcbaf[_0x2123('0x2f')]){const _0x441004=_0x3fcbaf[_0x2123('0x2a')][0x0][_0x2123('0x9')];return _0x5ccefb(_0x2123('0x66')===_0x441004?_0x1adf2f(_0x236755,_0x2123('0x4a')):_0x1fe626[_0x441004]||_0x441004);}if(_0x2123('0x29')==_0x3fcbaf['commandName']){const _0x46b12b=_0x3fcbaf[_0x2123('0x2a')][0x0]['newValue'];return _0x46b12b?{'type':'format','content':_0x1adf2f(_0x236755,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x46b12b+'\x22')}:{'type':'format','content':_0x1adf2f(_0x236755,_0x2123('0x4'))};}if(_0x2123('0x2d')==_0x3fcbaf['commandName']){const _0x4d20f5=_0x3fcbaf[_0x2123('0x2a')][0x0][_0x2123('0x55')];return _0x4d20f5?{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x1b'),_0x4d20f5)}:{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x53'))};}}function _0x5ccefb(_0x4b8f24){return{'type':_0x2123('0xa'),'content':_0x1adf2f(_0x236755,_0x2123('0x39'),_0x4b8f24)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c14=['discard','replaceImageSource','registerDescriptionCallback','handleReplaceImageCommand','editor','enableCommand','accept','handleSuggestionDescription','format','afterInit','*Format:*\x20replace\x20image\x20URL','getAttribute','subType','formatBlock','Users','registerCustomCallback','document','plugins','getSuggestionCallback','source','has','getSuggestions','get','commandParams','TrackChangesEditing','selection','src','getContainedElement','data','markBlockFormat','_descriptionFactory','ImageEditing','locale','_suggestionFactory','model','getSelectedElement'];(function(_0x1b9b8e,_0x1c14fd){const _0x4457b2=function(_0x3b3982){while(--_0x3b3982){_0x1b9b8e['push'](_0x1b9b8e['shift']());}};_0x4457b2(++_0x1c14fd);}(_0x1c14,0xd8));const _0x4457=function(_0x1b9b8e,_0x1c14fd){_0x1b9b8e=_0x1b9b8e-0x0;let _0x4457b2=_0x1c14[_0x1b9b8e];return _0x4457b2;};import{Plugin as _0x48d9ed}from'ckeditor5/src/core';import{getTranslation as _0x5754e5}from'../utils/common-translations';export default class X extends _0x48d9ed{[_0x4457('0x9')](){if(!this['editor'][_0x4457('0x11')][_0x4457('0x14')](_0x4457('0x1f')))return;const _0x321370=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0x18'));_0x321370[_0x4457('0x5')](_0x4457('0x1'),(_0x282097,_0x375909)=>this['handleReplaceImageCommand'](_0x282097,_0x375909)),_0x321370[_0x4457('0x21')][_0x4457('0xf')]('formatBlock','replaceImageSource',_0x4457('0x6'),_0x321370['_suggestionFactory']['getSuggestionCallback'](_0x4457('0xd'),null,'discard')),_0x321370[_0x4457('0x21')][_0x4457('0xf')](_0x4457('0xd'),_0x4457('0x1'),'discard',_0x321370[_0x4457('0x21')][_0x4457('0x12')]('formatBlock',null,_0x4457('0x6'))),_0x321370[_0x4457('0x1e')][_0x4457('0x2')](_0xb2642b=>this[_0x4457('0x7')](_0xb2642b));}[_0x4457('0x3')](_0x2249e2,_0x21c985){const _0x532dc4=this[_0x4457('0x4')]['plugins'][_0x4457('0x16')](_0x4457('0x18')),_0x59c50d=this[_0x4457('0x4')][_0x4457('0x22')][_0x4457('0x10')][_0x4457('0x19')][_0x4457('0x23')]();this['editor'][_0x4457('0x22')]['change'](()=>{let _0x29f5c0=_0x59c50d[_0x4457('0xb')](_0x4457('0x1a'));const _0x5d3890=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0xe'))['me'];for(const _0xe90bef of _0x532dc4[_0x4457('0x15')]({'skipNotAttached':!0x0})){const _0x773c0b=_0xe90bef[_0x4457('0x1b')]();if(_0x4457('0x1')===_0xe90bef[_0x4457('0xc')]&&_0x773c0b===_0x59c50d){_0xe90bef['author']!==_0x5d3890&&_0xe90bef[_0x4457('0x0')](),_0x29f5c0=_0xe90bef[_0x4457('0x1c')][_0x4457('0x17')][0x0][_0x4457('0x13')];break;}}_0x2249e2(_0x21c985),_0x532dc4[_0x4457('0x1d')](_0x59c50d,{'commandName':'replaceImageSource','commandParams':[{'source':_0x29f5c0}]},[],'replaceImageSource');});}['handleSuggestionDescription'](_0x49d75c){const {data:_0x2cf5e4}=_0x49d75c;if(_0x2cf5e4&&'replaceImageSource'===_0x2cf5e4['commandName']){const _0x566b6a=_0x4457('0xa');return{'type':_0x4457('0x8'),'content':_0x5754e5(this[_0x4457('0x4')][_0x4457('0x20')],_0x566b6a)};}}}
23
+ const _0x48ac=['_suggestionFactory','handleSuggestionDescription','getAttribute','document','source','enableCommand','getSuggestionCallback','has','TrackChangesEditing','author','formatBlock','getContainedElement','replaceImageSource','Users','src','data','subType','model','handleReplaceImageCommand','format','registerCustomCallback','afterInit','*Format:*\x20replace\x20image\x20URL','commandName','_descriptionFactory','plugins','getSelectedElement','markBlockFormat','ImageEditing','accept','get','editor','selection','discard'];(function(_0x2a9fbb,_0x48ac4b){const _0x555219=function(_0x1c9bdf){while(--_0x1c9bdf){_0x2a9fbb['push'](_0x2a9fbb['shift']());}};_0x555219(++_0x48ac4b);}(_0x48ac,0x117));const _0x5552=function(_0x2a9fbb,_0x48ac4b){_0x2a9fbb=_0x2a9fbb-0x0;let _0x555219=_0x48ac[_0x2a9fbb];return _0x555219;};import{Plugin as _0x3c12d2}from'ckeditor5/src/core';import{getTranslation as _0x173957}from'../utils/common-translations';export default class Y extends _0x3c12d2{[_0x5552('0xe')](){if(!this['editor'][_0x5552('0x12')][_0x5552('0x0')](_0x5552('0x15')))return;const _0x218240=this[_0x5552('0x18')]['plugins'][_0x5552('0x17')](_0x5552('0x1'));_0x218240[_0x5552('0x20')]('replaceImageSource',(_0x16f310,_0x3aac20)=>this[_0x5552('0xb')](_0x16f310,_0x3aac20)),_0x218240['_suggestionFactory'][_0x5552('0xd')](_0x5552('0x3'),'replaceImageSource',_0x5552('0x16'),_0x218240[_0x5552('0x1b')][_0x5552('0x21')](_0x5552('0x3'),null,_0x5552('0x1a'))),_0x218240[_0x5552('0x1b')][_0x5552('0xd')](_0x5552('0x3'),_0x5552('0x5'),_0x5552('0x1a'),_0x218240[_0x5552('0x1b')][_0x5552('0x21')](_0x5552('0x3'),null,_0x5552('0x16'))),_0x218240[_0x5552('0x11')]['registerDescriptionCallback'](_0x5b05b2=>this[_0x5552('0x1c')](_0x5b05b2));}[_0x5552('0xb')](_0x141fc7,_0x49a021){const _0x765f14=this['editor'][_0x5552('0x12')][_0x5552('0x17')]('TrackChangesEditing'),_0x18ea40=this[_0x5552('0x18')]['model'][_0x5552('0x1e')][_0x5552('0x19')][_0x5552('0x13')]();this[_0x5552('0x18')][_0x5552('0xa')]['change'](()=>{let _0x54584c=_0x18ea40[_0x5552('0x1d')](_0x5552('0x7'));const _0x4620ca=this[_0x5552('0x18')][_0x5552('0x12')][_0x5552('0x17')](_0x5552('0x6'))['me'];for(const _0x301e43 of _0x765f14['getSuggestions']({'skipNotAttached':!0x0})){const _0x30f0dc=_0x301e43[_0x5552('0x4')]();if('replaceImageSource'===_0x301e43[_0x5552('0x9')]&&_0x30f0dc===_0x18ea40){_0x301e43[_0x5552('0x2')]!==_0x4620ca&&_0x301e43[_0x5552('0x1a')](),_0x54584c=_0x301e43[_0x5552('0x8')]['commandParams'][0x0][_0x5552('0x1f')];break;}}_0x141fc7(_0x49a021),_0x765f14[_0x5552('0x14')](_0x18ea40,{'commandName':_0x5552('0x5'),'commandParams':[{'source':_0x54584c}]},[],_0x5552('0x5'));});}[_0x5552('0x1c')](_0x46f663){const {data:_0x5ab0b8}=_0x46f663;if(_0x5ab0b8&&_0x5552('0x5')===_0x5ab0b8[_0x5552('0x10')]){const _0x135c55=_0x5552('0xf');return{'type':_0x5552('0xc'),'content':_0x173957(this[_0x5552('0x18')]['locale'],_0x135c55)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1781=['TrackChangesEditing','importWord','enableCommand','Users','_handleImportedData','editor','_setSuggestionData','dataInsert','value','high','get','collaboration_features','execute','listenTo','track_changes','afterInit','_trackChangesValueDuringImport','_trackChangesExecuted','plugins','commands','trackChanges'];(function(_0x475941,_0x178157){const _0x4079d4=function(_0x1ee633){while(--_0x1ee633){_0x475941['push'](_0x475941['shift']());}};_0x4079d4(++_0x178157);}(_0x1781,0x18f));const _0x4079=function(_0x475941,_0x178157){_0x475941=_0x475941-0x0;let _0x4079d4=_0x1781[_0x475941];return _0x4079d4;};import{Plugin as _0x2341c5}from'ckeditor5/src/core';export default class Y extends _0x2341c5{constructor(_0x79928d){super(_0x79928d),this[_0x4079('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4079('0xf')](){const _0x1394a2=this[_0x4079('0x5')],_0x94c97b=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x1')),_0x234638=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x14'));_0x94c97b&&(_0x94c97b['on'](_0x4079('0xc'),(_0x2a0140,[,_0x1741fa])=>{this[_0x4079('0x10')]=_0x234638[_0x4079('0x8')],_0x1741fa[_0x4079('0xb')][_0x4079('0xe')]=!this[_0x4079('0x10')];},{'priority':_0x4079('0x9')}),this[_0x4079('0xd')](_0x94c97b,_0x4079('0x7'),this[_0x4079('0x4')]['bind'](this)),this[_0x4079('0xd')](_0x94c97b,'dataInsert',()=>{this[_0x4079('0x11')]&&(_0x234638[_0x4079('0xc')](),this[_0x4079('0x11')]=!0x1);},{'priority':'lowest'}),_0x1394a2[_0x4079('0x12')][_0x4079('0xa')]('TrackChangesEditing')[_0x4079('0x2')](_0x4079('0x1')));}[_0x4079('0x4')](_0x56b178,_0x5341ac){const {suggestions:_0x52576b}=_0x5341ac,_0x4e0672=this[_0x4079('0x5')][_0x4079('0x13')][_0x4079('0xa')]('trackChanges'),_0x202aa8=_0x4e0672[_0x4079('0x8')];this['_trackChangesValueDuringImport']!==_0x202aa8&&(_0x4e0672[_0x4079('0xc')](),this['_trackChangesExecuted']=!0x0),_0x52576b&&_0x52576b['forEach'](({id:_0xc4da1a,type:_0x370241,author:_0x244474,created_at:_0x4031d2})=>{const _0x582f85={'id':_0xc4da1a,'type':_0x370241,'authorId':this[_0x4079('0x5')]['plugins'][_0x4079('0xa')](_0x4079('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x244474,'createdAt':_0x4031d2?new Date(_0x4031d2):new Date(),'source':_0x4079('0x1')}}};this[_0x4079('0x5')][_0x4079('0x12')][_0x4079('0xa')](_0x4079('0x0'))[_0x4079('0x6')](_0x582f85);});}}
23
+ const _0x44c8=['execute','commands','enableCommand','importWord','get','_trackChangesExecuted','editor','value','collaboration_features','listenTo','afterInit','_trackChangesValueDuringImport','plugins','Users','_setSuggestionData','_handleImportedData','trackChanges','TrackChangesEditing','dataInsert','track_changes','bind','lowest'];(function(_0x32e1fc,_0x44c867){const _0x1f6243=function(_0x5add88){while(--_0x5add88){_0x32e1fc['push'](_0x32e1fc['shift']());}};_0x1f6243(++_0x44c867);}(_0x44c8,0x71));const _0x1f62=function(_0x32e1fc,_0x44c867){_0x32e1fc=_0x32e1fc-0x0;let _0x1f6243=_0x44c8[_0x32e1fc];return _0x1f6243;};import{Plugin as _0x1b534f}from'ckeditor5/src/core';export default class Z extends _0x1b534f{constructor(_0x5f55bc){super(_0x5f55bc),this[_0x1f62('0x8')]=!0x1,this[_0x1f62('0x2')]=!0x1;}[_0x1f62('0x7')](){const _0x3ef7e9=this['editor'],_0xbc3037=_0x3ef7e9[_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0x0')),_0x560113=_0x3ef7e9[_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0xd'));_0xbc3037&&(_0xbc3037['on'](_0x1f62('0x13'),(_0x1a66d3,[,_0x432180])=>{this[_0x1f62('0x8')]=_0x560113[_0x1f62('0x4')],_0x432180[_0x1f62('0x5')][_0x1f62('0x10')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x1f62('0x6')](_0xbc3037,_0x1f62('0xf'),this[_0x1f62('0xc')][_0x1f62('0x11')](this)),this[_0x1f62('0x6')](_0xbc3037,'dataInsert',()=>{this[_0x1f62('0x2')]&&(_0x560113[_0x1f62('0x13')](),this[_0x1f62('0x2')]=!0x1);},{'priority':_0x1f62('0x12')}),_0x3ef7e9[_0x1f62('0x9')][_0x1f62('0x1')]('TrackChangesEditing')[_0x1f62('0x15')](_0x1f62('0x0')));}[_0x1f62('0xc')](_0x11215f,_0x5aced4){const {suggestions:_0x4aec51}=_0x5aced4,_0x11cdf7=this['editor'][_0x1f62('0x14')][_0x1f62('0x1')](_0x1f62('0xd')),_0x153246=_0x11cdf7[_0x1f62('0x4')];this[_0x1f62('0x8')]!==_0x153246&&(_0x11cdf7[_0x1f62('0x13')](),this[_0x1f62('0x2')]=!0x0),_0x4aec51&&_0x4aec51['forEach'](({id:_0x393e5a,type:_0x52c57d,author:_0xcb49d4,created_at:_0x12806a})=>{const _0x2c2ec8={'id':_0x393e5a,'type':_0x52c57d,'authorId':this[_0x1f62('0x3')][_0x1f62('0x9')][_0x1f62('0x1')](_0x1f62('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xcb49d4,'createdAt':_0x12806a?new Date(_0x12806a):new Date(),'source':_0x1f62('0x0')}}};this['editor']['plugins'][_0x1f62('0x1')](_0x1f62('0xe'))[_0x1f62('0xb')](_0x2c2ec8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x304c=['indent','getItems','plugins','afterInit','registerDescriptionCallback','getSelectedBlocks','document','checkAttribute','has','model','selection','_descriptionFactory','editor','IndentBlock','outdent','blockIndent','from','indentBlock','enableCommand','change','schema','TrackChangesEditing','getItemLabel','outdentBlock','commandName','IndentEditing'];(function(_0xf35d9c,_0x304c4b){const _0x3893d7=function(_0x1c9501){while(--_0x1c9501){_0xf35d9c['push'](_0xf35d9c['shift']());}};_0x3893d7(++_0x304c4b);}(_0x304c,0xa3));const _0x3893=function(_0xf35d9c,_0x304c4b){_0xf35d9c=_0xf35d9c-0x0;let _0x3893d7=_0x304c[_0xf35d9c];return _0x3893d7;};import{Plugin as _0x3746bc}from'ckeditor5/src/core';import{getTranslation as _0x18c4d2}from'../utils/common-translations';export default class Z extends _0x3746bc{[_0x3893('0x16')](){const _0x30926a=this[_0x3893('0x5')],_0x4d319f=_0x30926a[_0x3893('0x15')]['get'](_0x3893('0xe'));_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x12'))&&(_0x4d319f[_0x3893('0xb')](_0x3893('0x13')),_0x4d319f['enableCommand'](_0x3893('0x7')));const _0x2414d0=_0x30926a['locale'];if(_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x6'))){for(const _0x57266a of[_0x3893('0xa'),_0x3893('0x10')])_0x4d319f[_0x3893('0xb')](_0x57266a,()=>{const _0x4cf598=Array[_0x3893('0x9')](this[_0x3893('0x5')][_0x3893('0x2')][_0x3893('0x19')][_0x3893('0x3')][_0x3893('0x18')]())['filter'](_0x4c2aa4=>this['editor'][_0x3893('0x2')][_0x3893('0xd')][_0x3893('0x0')](_0x4c2aa4,_0x3893('0x8')));_0x30926a[_0x3893('0x2')][_0x3893('0xc')](()=>{for(const _0x81ec04 of _0x4cf598)_0x4d319f['markBlockFormat'](_0x81ec04,{'commandName':_0x57266a,'commandParams':[{'value':''}],'formatGroupId':_0x3893('0xa')});});});_0x4d319f[_0x3893('0x4')][_0x3893('0x17')](_0x1f2ced=>{const {data:_0x255a36}=_0x1f2ced;if(!_0x255a36)return;if(_0x3893('0xa')!=_0x255a36['commandName']&&_0x3893('0x10')!=_0x255a36['commandName'])return;const _0x21cd81=_0x1f2ced[_0x3893('0x14')]()[0x0],_0x500fc6=_0x4d319f[_0x3893('0x4')][_0x3893('0xf')](_0x21cd81);return _0x3893('0xa')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Indent:*\x20%0',_0x500fc6)}:_0x3893('0x10')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Outdent:*\x20%0',_0x500fc6)}:void 0x0;});}}}
23
+ const _0x30ee=['from','get','blockIndent','indentBlock','*Outdent:*\x20%0','selection','enableCommand','IndentEditing','document','plugins','change','registerDescriptionCallback','_descriptionFactory','editor','outdentBlock','IndentBlock','has','model','getSelectedBlocks','checkAttribute','format','outdent','filter','getItemLabel','afterInit','commandName'];(function(_0x1a520f,_0x30eec4){const _0x2c5caf=function(_0x2f1c43){while(--_0x2f1c43){_0x1a520f['push'](_0x1a520f['shift']());}};_0x2c5caf(++_0x30eec4);}(_0x30ee,0xd2));const _0x2c5c=function(_0x1a520f,_0x30eec4){_0x1a520f=_0x1a520f-0x0;let _0x2c5caf=_0x30ee[_0x1a520f];return _0x2c5caf;};import{Plugin as _0x4a7df1}from'ckeditor5/src/core';import{getTranslation as _0x5e3ed2}from'../utils/common-translations';export default class tt extends _0x4a7df1{[_0x2c5c('0x16')](){const _0x2b3b95=this[_0x2c5c('0xb')],_0x13e7a6=_0x2b3b95['plugins'][_0x2c5c('0x19')]('TrackChangesEditing');_0x2b3b95[_0x2c5c('0x7')]['has'](_0x2c5c('0x5'))&&(_0x13e7a6[_0x2c5c('0x4')]('indent'),_0x13e7a6[_0x2c5c('0x4')](_0x2c5c('0x13')));const _0x3539a1=_0x2b3b95['locale'];if(_0x2b3b95[_0x2c5c('0x7')][_0x2c5c('0xe')](_0x2c5c('0xd'))){for(const _0x3e1648 of['indentBlock','outdentBlock'])_0x13e7a6['enableCommand'](_0x3e1648,()=>{const _0x1ea8eb=Array[_0x2c5c('0x18')](this[_0x2c5c('0xb')]['model'][_0x2c5c('0x6')][_0x2c5c('0x3')][_0x2c5c('0x10')]())[_0x2c5c('0x14')](_0x289e4d=>this[_0x2c5c('0xb')][_0x2c5c('0xf')]['schema'][_0x2c5c('0x11')](_0x289e4d,_0x2c5c('0x0')));_0x2b3b95[_0x2c5c('0xf')][_0x2c5c('0x8')](()=>{for(const _0x222187 of _0x1ea8eb)_0x13e7a6['markBlockFormat'](_0x222187,{'commandName':_0x3e1648,'commandParams':[{'value':''}],'formatGroupId':_0x2c5c('0x1')});});});_0x13e7a6[_0x2c5c('0xa')][_0x2c5c('0x9')](_0x47e7b6=>{const {data:_0x451ee1}=_0x47e7b6;if(!_0x451ee1)return;if(_0x2c5c('0x1')!=_0x451ee1['commandName']&&_0x2c5c('0xc')!=_0x451ee1[_0x2c5c('0x17')])return;const _0x288eb8=_0x47e7b6['getItems']()[0x0],_0x50a4ef=_0x13e7a6['_descriptionFactory'][_0x2c5c('0x15')](_0x288eb8);return _0x2c5c('0x1')==_0x451ee1[_0x2c5c('0x17')]?{'type':_0x2c5c('0x12'),'content':_0x5e3ed2(_0x3539a1,'*Indent:*\x20%0',_0x50a4ef)}:_0x2c5c('0xc')==_0x451ee1[_0x2c5c('0x17')]?{'type':_0x2c5c('0x12'),'content':_0x5e3ed2(_0x3539a1,_0x2c5c('0x2'),_0x50a4ef)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f52=['editor','requires','plugins','init','input','TrackChangesEditing'];(function(_0x3bde01,_0x2f5266){var _0x16d6b8=function(_0x15f07b){while(--_0x15f07b){_0x3bde01['push'](_0x3bde01['shift']());}};_0x16d6b8(++_0x2f5266);}(_0x2f52,0x73));var _0x16d6=function(_0x3bde01,_0x2f5266){_0x3bde01=_0x3bde01-0x0;var _0x16d6b8=_0x2f52[_0x3bde01];return _0x16d6b8;};import{Plugin as _0x4e0140}from'ckeditor5/src/core';import{Input as _0x4d85bd}from'ckeditor5/src/typing';export default class tt extends _0x4e0140{static get[_0x16d6('0x0')](){return[_0x4d85bd];}[_0x16d6('0x2')](){this[_0x16d6('0x5')][_0x16d6('0x1')]['get'](_0x16d6('0x4'))['enableCommand'](_0x16d6('0x3'));}}
23
+ var _0x5de0=['enableCommand','editor','TrackChangesEditing','init','get','requires','input'];(function(_0x15c5dd,_0x5de09e){var _0x165623=function(_0x3ba0e5){while(--_0x3ba0e5){_0x15c5dd['push'](_0x15c5dd['shift']());}};_0x165623(++_0x5de09e);}(_0x5de0,0xbf));var _0x1656=function(_0x15c5dd,_0x5de09e){_0x15c5dd=_0x15c5dd-0x0;var _0x165623=_0x5de0[_0x15c5dd];return _0x165623;};import{Plugin as _0xeb627}from'ckeditor5/src/core';import{Input as _0x3582a0}from'ckeditor5/src/typing';export default class it extends _0xeb627{static get[_0x1656('0x3')](){return[_0x3582a0];}[_0x1656('0x1')](){this[_0x1656('0x6')]['plugins'][_0x1656('0x2')](_0x1656('0x0'))[_0x1656('0x5')](_0x1656('0x4'));}}