@ckeditor/ckeditor5-track-changes 35.2.0 → 35.3.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 (158) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +4 -1
  51. package/lang/translations/ar.po +12 -0
  52. package/lang/translations/az.po +12 -0
  53. package/lang/translations/bg.po +12 -0
  54. package/lang/translations/bn.po +12 -0
  55. package/lang/translations/ca.po +12 -0
  56. package/lang/translations/cs.po +12 -0
  57. package/lang/translations/da.po +12 -0
  58. package/lang/translations/de.po +12 -0
  59. package/lang/translations/el.po +12 -0
  60. package/lang/translations/en-au.po +12 -0
  61. package/lang/translations/en.po +12 -0
  62. package/lang/translations/es.po +12 -0
  63. package/lang/translations/et.po +12 -0
  64. package/lang/translations/fi.po +12 -0
  65. package/lang/translations/fr.po +12 -0
  66. package/lang/translations/gl.po +12 -0
  67. package/lang/translations/he.po +12 -0
  68. package/lang/translations/hi.po +12 -0
  69. package/lang/translations/hr.po +12 -0
  70. package/lang/translations/hu.po +12 -0
  71. package/lang/translations/id.po +12 -0
  72. package/lang/translations/it.po +12 -0
  73. package/lang/translations/ja.po +12 -0
  74. package/lang/translations/ko.po +12 -0
  75. package/lang/translations/lt.po +12 -0
  76. package/lang/translations/lv.po +12 -0
  77. package/lang/translations/ms.po +12 -0
  78. package/lang/translations/nl.po +12 -0
  79. package/lang/translations/no.po +12 -0
  80. package/lang/translations/pl.po +12 -0
  81. package/lang/translations/pt-br.po +12 -0
  82. package/lang/translations/pt.po +12 -0
  83. package/lang/translations/ro.po +12 -0
  84. package/lang/translations/ru.po +12 -0
  85. package/lang/translations/sk.po +12 -0
  86. package/lang/translations/sr-latn.po +12 -0
  87. package/lang/translations/sr.po +12 -0
  88. package/lang/translations/sv.po +12 -0
  89. package/lang/translations/th.po +12 -0
  90. package/lang/translations/tk.po +12 -0
  91. package/lang/translations/tr.po +12 -0
  92. package/lang/translations/tt.po +12 -0
  93. package/lang/translations/uk.po +12 -0
  94. package/lang/translations/ur.po +12 -0
  95. package/lang/translations/vi.po +12 -0
  96. package/lang/translations/zh-cn.po +12 -0
  97. package/lang/translations/zh.po +12 -0
  98. package/package.json +4 -4
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardsuggestioncommand.js +1 -1
  101. package/src/{utils/sortsuggestions.js → commands/executeonallsuggestionscommand.js} +1 -1
  102. package/src/commands/executeonselectedsuggestionscommand.js +23 -0
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +23 -0
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/font.js +1 -1
  114. package/src/integrations/heading.js +1 -1
  115. package/src/integrations/highlight.js +1 -1
  116. package/src/integrations/horizontalline.js +1 -1
  117. package/src/integrations/htmlembed.js +1 -1
  118. package/src/integrations/image.js +1 -1
  119. package/src/integrations/importword.js +1 -1
  120. package/src/integrations/indent.js +1 -1
  121. package/src/integrations/inputcommand.js +1 -1
  122. package/src/integrations/link.js +1 -1
  123. package/src/integrations/list.js +1 -1
  124. package/src/integrations/mediaembed.js +1 -1
  125. package/src/integrations/mention.js +1 -1
  126. package/src/integrations/pagebreak.js +1 -1
  127. package/src/integrations/paragraph.js +1 -1
  128. package/src/integrations/removeformat.js +1 -1
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.js +1 -1
  131. package/src/integrations/standardeditingmode.js +1 -1
  132. package/src/integrations/style.js +1 -1
  133. package/src/integrations/table.js +1 -1
  134. package/src/{utils/normalizedescription.js → integrations/tablecaption.js} +1 -1
  135. package/src/integrations/tableclipboard.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/title.js +1 -1
  139. package/src/integrations/undo.js +1 -1
  140. package/src/integrations/utils.js +1 -1
  141. package/src/suggestion.js +1 -1
  142. package/src/suggestiondescriptionfactory.js +1 -1
  143. package/src/trackchanges.js +1 -1
  144. package/src/trackchangesdata.js +1 -1
  145. package/src/trackchangesediting.js +1 -1
  146. package/src/trackchangesui.js +1 -1
  147. package/src/ui/suggestioncontroller.js +1 -1
  148. package/src/ui/view/basesuggestionthreadview.js +1 -1
  149. package/src/ui/view/suggestionthreadview.js +1 -1
  150. package/src/utils/common-translations.js +1 -1
  151. package/src/utils/utils.js +23 -0
  152. package/src/commands/acceptallsuggestionscommand.js +0 -23
  153. package/src/commands/acceptselectedsuggestionscommand.js +0 -23
  154. package/src/commands/discardallsuggestionscommand.js +0 -23
  155. package/src/commands/discardselectedsuggestionscommand.js +0 -23
  156. package/src/utils/getrangesofblockgroups.js +0 -23
  157. package/src/utils/getselectedsuggestions.js +0 -23
  158. package/src/utils/hashobject.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1300=['fontBackgroundColor','FontBackgroundColorEditing','markInlineFormat','has','fontColor.colors','FontSizeEditing','label','commandParams','getRanges','find','format','_enableCommand','FontColorEditing','trim','commandName','editor','FontFamilyEditing','FontSize','toLowerCase','normalizeSizeOptions','value','_descriptionFactory','fontBackgroundColor.colors','*Reset\x20font\x20size*','*Set\x20font\x20background\x20color:*\x20%0','title','locale','config','model','fontColor','fontSize.options','get','fontSize','change','*Set\x20font\x20family:*\x20%0','fontFamily','document','selection','*Set\x20font\x20color:*\x20%0','isCollapsed','TrackChangesEditing','*Reset\x20font\x20family*','plugins','afterInit'];(function(_0x25c2be,_0x130066){const _0x346315=function(_0x4f3de9){while(--_0x4f3de9){_0x25c2be['push'](_0x25c2be['shift']());}};_0x346315(++_0x130066);}(_0x1300,0x102));const _0x3463=function(_0x25c2be,_0x130066){_0x25c2be=_0x25c2be-0x0;let _0x346315=_0x1300[_0x25c2be];return _0x346315;};import{Plugin as _0x25c789}from'ckeditor5/src/core';import{normalizeColorOptions as _0xde1221}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x445ae1}from'./utils';import{getTranslation as _0x55327a}from'../utils/common-translations';const Bt=[{'pluginName':_0x3463('0xb'),'commandName':'fontSize'},{'pluginName':_0x3463('0x16'),'commandName':'fontFamily'},{'pluginName':_0x3463('0x12'),'commandName':'fontColor'},{'pluginName':_0x3463('0x7'),'commandName':_0x3463('0x6')}];export default class W extends _0x25c789{[_0x3463('0x5')](){const _0x45a7c0=this['editor']['locale'];for(const {pluginName:_0x384881,commandName:_0xc7ab7f}of Bt)this[_0x3463('0x15')][_0x3463('0x4')][_0x3463('0x9')](_0x384881)&&this[_0x3463('0x11')](_0xc7ab7f);this[_0x3463('0x15')][_0x3463('0x4')]['get'](_0x3463('0x2'))[_0x3463('0x1b')]['registerDescriptionCallback'](_0x132baa=>{const {data:_0x561270}=_0x132baa;if(null!=_0x561270){if(_0x3463('0x26')==_0x561270['commandName']){const _0x48fc64=_0x561270[_0x3463('0xd')][0x0]['value'];if(_0x48fc64){const _0x348c9a=this[_0x3463('0x15')]['plugins'][_0x3463('0x25')](_0x3463('0x17'))[_0x3463('0x19')](this[_0x3463('0x15')][_0x3463('0x21')][_0x3463('0x25')](_0x3463('0x24')))['find'](_0x5a1e74=>_0x5a1e74[_0x3463('0x22')]==_0x48fc64)[_0x3463('0x1f')],_0x881086=this['editor'][_0x3463('0x20')]['_t'](_0x348c9a)['toLowerCase']();return{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,'*Set\x20font\x20size:*\x20%0',_0x881086)};}return{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x1d'))};}if(_0x3463('0x29')==_0x561270['commandName']){const _0x24c562=_0x561270[_0x3463('0xd')][0x0]['value'];return _0x24c562?{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x28'),_0x24c562)}:{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x3'))};}if(_0x3463('0x23')==_0x561270[_0x3463('0x14')]){const _0x363d81=_0x561270['commandParams'][0x0][_0x3463('0x1a')];if(_0x363d81){const _0x32f10b=_0xde1221(this[_0x3463('0x15')][_0x3463('0x21')][_0x3463('0x25')](_0x3463('0xa')))['find'](_0x10fcfb=>_0x10fcfb[_0x3463('0x22')]==_0x363d81);let _0x4df842=_0x363d81,_0x52f236='';return _0x32f10b&&(_0x4df842=_0x32f10b['label'],_0x52f236=_0x45a7c0['_t'](_0x4df842)[_0x3463('0x18')]()),{'type':'format','content':_0x55327a(_0x45a7c0,_0x3463('0x0'),_0x52f236)[_0x3463('0x13')](),'color':{'value':_0x363d81,'title':_0x52f236||_0x4df842}};}return{'type':'format','content':_0x55327a(_0x45a7c0,'*Reset\x20font\x20color*')};}if(_0x3463('0x6')==_0x561270['commandName']){const _0x2abd92=_0x561270[_0x3463('0xd')][0x0]['value'];if(_0x2abd92){const _0xb65cd1=_0xde1221(this[_0x3463('0x15')]['config'][_0x3463('0x25')](_0x3463('0x1c')))[_0x3463('0xf')](_0x4ced70=>_0x4ced70[_0x3463('0x22')]==_0x2abd92);let _0x5bd4bd=_0x2abd92,_0x8e0b7f='';return _0xb65cd1&&(_0x5bd4bd=_0xb65cd1[_0x3463('0xc')],_0x8e0b7f=_0x45a7c0['_t'](_0x5bd4bd)[_0x3463('0x18')]()),{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x1e'),_0x8e0b7f)[_0x3463('0x13')](),'color':{'value':_0x2abd92,'title':_0x8e0b7f||_0x5bd4bd}};}return{'type':'format','content':_0x55327a(_0x45a7c0,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0x14de5b){const _0x29ca18=this[_0x3463('0x15')];_0x29ca18[_0x3463('0x4')][_0x3463('0x25')](_0x3463('0x2'))['enableCommand'](_0x14de5b,(_0x4346b9,_0x502b52={})=>{const _0x1aa255=_0x29ca18['model'][_0x3463('0x2a')][_0x3463('0x2b')],_0x2d9ee1=_0x502b52['value'];_0x1aa255[_0x3463('0x1')]?_0x4346b9(_0x502b52):_0x29ca18['model'][_0x3463('0x27')](()=>{const _0x117254=Array['from'](_0x1aa255[_0x3463('0xe')]());for(const _0x1a8154 of _0x117254){const _0x634457=_0x2d9ee1?[_0x1a8154]:_0x445ae1(_0x14de5b,_0x1a8154,_0x29ca18[_0x3463('0x22')]);for(const _0x1106c9 of _0x634457)_0x29ca18['plugins'][_0x3463('0x25')](_0x3463('0x2'))[_0x3463('0x8')](_0x1106c9,{'commandName':_0x14de5b,'commandParams':[{'value':_0x2d9ee1}]});}});});}}
23
+ const _0x5853=['fontBackgroundColor','locale','normalizeSizeOptions','commandParams','title','TrackChangesEditing','label','format','fontSize.options','FontFamilyEditing','get','getRanges','*Set\x20font\x20size:*\x20%0','document','isCollapsed','find','commandName','fontSize','*Set\x20font\x20color:*\x20%0','toLowerCase','editor','from','change','trim','*Reset\x20font\x20size*','plugins','has','_enableCommand','markInlineFormat','fontColor','model','fontFamily','*Reset\x20font\x20color*','value','config','FontSizeEditing','FontBackgroundColorEditing','FontSize','afterInit'];(function(_0x310228,_0x585311){const _0xdd122e=function(_0x2bb7db){while(--_0x2bb7db){_0x310228['push'](_0x310228['shift']());}};_0xdd122e(++_0x585311);}(_0x5853,0x132));const _0xdd12=function(_0x310228,_0x585311){_0x310228=_0x310228-0x0;let _0xdd122e=_0x5853[_0x310228];return _0xdd122e;};import{Plugin as _0x54f879}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1c1157}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4d264f}from'./utils';import{getTranslation as _0xeb842}from'../utils/common-translations';const Jt=[{'pluginName':_0xdd12('0x2'),'commandName':_0xdd12('0x17')},{'pluginName':_0xdd12('0xf'),'commandName':_0xdd12('0x25')},{'pluginName':'FontColorEditing','commandName':_0xdd12('0x23')},{'pluginName':_0xdd12('0x3'),'commandName':_0xdd12('0x6')}];export default class W extends _0x54f879{[_0xdd12('0x5')](){const _0x3a9199=this[_0xdd12('0x1a')][_0xdd12('0x7')];for(const {pluginName:_0x1a1d51,commandName:_0x576828}of Jt)this[_0xdd12('0x1a')][_0xdd12('0x1f')][_0xdd12('0x20')](_0x1a1d51)&&this[_0xdd12('0x21')](_0x576828);this[_0xdd12('0x1a')]['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))['_descriptionFactory']['registerDescriptionCallback'](_0x55587a=>{const {data:_0x418c90}=_0x55587a;if(null!=_0x418c90){if(_0xdd12('0x17')==_0x418c90[_0xdd12('0x16')]){const _0x2f7e89=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];if(_0x2f7e89){const _0x27d958=this[_0xdd12('0x1a')][_0xdd12('0x1f')]['get'](_0xdd12('0x4'))[_0xdd12('0x8')](this[_0xdd12('0x1a')][_0xdd12('0x1')][_0xdd12('0x10')](_0xdd12('0xe')))['find'](_0x141a34=>_0x141a34[_0xdd12('0x24')]==_0x2f7e89)[_0xdd12('0xa')],_0x4b66f0=this['editor']['locale']['_t'](_0x27d958)[_0xdd12('0x19')]();return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x12'),_0x4b66f0)};}return{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x1e'))};}if('fontFamily'==_0x418c90[_0xdd12('0x16')]){const _0x2a55b5=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];return _0x2a55b5?{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Set\x20font\x20family:*\x20%0',_0x2a55b5)}:{'type':'format','content':_0xeb842(_0x3a9199,'*Reset\x20font\x20family*')};}if('fontColor'==_0x418c90[_0xdd12('0x16')]){const _0x596615=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x596615){const _0x136084=_0x1c1157(this['editor'][_0xdd12('0x1')][_0xdd12('0x10')]('fontColor.colors'))[_0xdd12('0x15')](_0x1b6b66=>_0x1b6b66[_0xdd12('0x24')]==_0x596615);let _0xb5fb=_0x596615,_0x437897='';return _0x136084&&(_0xb5fb=_0x136084[_0xdd12('0xc')],_0x437897=_0x3a9199['_t'](_0xb5fb)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x18'),_0x437897)[_0xdd12('0x1d')](),'color':{'value':_0x596615,'title':_0x437897||_0xb5fb}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x26'))};}if(_0xdd12('0x6')==_0x418c90['commandName']){const _0x25182f=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x25182f){const _0x28deb3=_0x1c1157(this[_0xdd12('0x1a')]['config']['get']('fontBackgroundColor.colors'))['find'](_0x931d49=>_0x931d49[_0xdd12('0x24')]==_0x25182f);let _0x5b1ef0=_0x25182f,_0x24fe33='';return _0x28deb3&&(_0x5b1ef0=_0x28deb3[_0xdd12('0xc')],_0x24fe33=_0x3a9199['_t'](_0x5b1ef0)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,'*Set\x20font\x20background\x20color:*\x20%0',_0x24fe33)['trim'](),'color':{'value':_0x25182f,'title':_0x24fe33||_0x5b1ef0}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Reset\x20font\x20background\x20color*')};}}});}[_0xdd12('0x21')](_0x39a216){const _0x6f5698=this['editor'];_0x6f5698[_0xdd12('0x1f')][_0xdd12('0x10')](_0xdd12('0xb'))['enableCommand'](_0x39a216,(_0x1b2b7e,_0xf2ab20={})=>{const _0x337c2b=_0x6f5698[_0xdd12('0x24')][_0xdd12('0x13')]['selection'],_0x1ed9cd=_0xf2ab20[_0xdd12('0x0')];_0x337c2b[_0xdd12('0x14')]?_0x1b2b7e(_0xf2ab20):_0x6f5698[_0xdd12('0x24')][_0xdd12('0x1c')](()=>{const _0x2a435e=Array[_0xdd12('0x1b')](_0x337c2b[_0xdd12('0x11')]());for(const _0x3b0a30 of _0x2a435e){const _0x1d9d2a=_0x1ed9cd?[_0x3b0a30]:_0x4d264f(_0x39a216,_0x3b0a30,_0x6f5698[_0xdd12('0x24')]);for(const _0x43b703 of _0x1d9d2a)_0x6f5698['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))[_0xdd12('0x22')](_0x43b703,{'commandName':_0x39a216,'commandParams':[{'value':_0x1ed9cd}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x420c=['enableCommand','model','has','ELEMENT_HEADING_CUSTOM','parent','checkChild','_descriptionFactory','registerElementLabel','selection','formatBlock','name','paragraph','locale','find','document','getSelectedBlocks','editor','title','value','afterInit','markBlockFormat','commandName','HeadingEditing','get','heading.options','blockName','format','*Change\x20to:*\x20%0','commandParams','registerDescriptionCallback','heading','config'];(function(_0x528b8d,_0x420c46){const _0x20dcf7=function(_0x3b39e5){while(--_0x3b39e5){_0x528b8d['push'](_0x528b8d['shift']());}};_0x20dcf7(++_0x420c46);}(_0x420c,0x1bf));const _0x20dc=function(_0x528b8d,_0x420c46){_0x528b8d=_0x528b8d-0x0;let _0x20dcf7=_0x420c[_0x528b8d];return _0x20dcf7;};import{Plugin as _0x1bd58f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x310469}from'./utils';import{getTranslation as _0x43b3d9}from'../utils/common-translations';export default class z extends _0x1bd58f{[_0x20dc('0x14')](){const _0x9b06f5=this[_0x20dc('0x11')],_0x1fd168=_0x9b06f5[_0x20dc('0xd')],_0x2e0af3=_0x9b06f5[_0x20dc('0x0')][_0x20dc('0x18')](_0x20dc('0x19'));if(!_0x9b06f5['plugins'][_0x20dc('0x3')](_0x20dc('0x17')))return;const _0x3b8790=_0x9b06f5['plugins'][_0x20dc('0x18')]('TrackChangesEditing');_0x3b8790[_0x20dc('0x1')]('heading',(_0x3cbeb4,_0x1b24a8)=>{const _0x35bfdb=_0x1b24a8[_0x20dc('0x13')],_0x4205d4=Array['from'](this[_0x20dc('0x11')][_0x20dc('0x2')][_0x20dc('0xf')][_0x20dc('0x9')][_0x20dc('0x10')]())['filter'](_0x3173e1=>function(_0x570971,_0x47efb3,_0x459c23){return _0x459c23[_0x20dc('0x6')](_0x570971[_0x20dc('0x5')],_0x47efb3)&&!_0x459c23['isObject'](_0x570971)&&_0x570971[_0x20dc('0xb')]!=_0x47efb3;}(_0x3173e1,_0x35bfdb,this['editor'][_0x20dc('0x2')]['schema']));_0x9b06f5[_0x20dc('0x2')]['change'](()=>{for(const _0x3b38cc of _0x4205d4)_0x3b8790[_0x20dc('0x15')](_0x3b38cc,{'commandName':_0x20dc('0x1f'),'commandParams':[_0x1b24a8],'formatGroupId':_0x20dc('0x1a')},_0x310469(_0x3b38cc));});});for(const _0x5ea3de of _0x2e0af3)_0x20dc('0xc')!=_0x5ea3de[_0x20dc('0x2')]&&_0x3b8790[_0x20dc('0x7')][_0x20dc('0x8')](_0x5ea3de[_0x20dc('0x2')],_0x504e8d=>{const _0x16af57=Ht(_0x5ea3de[_0x20dc('0x2')]);return null!==_0x16af57?_0x200a92(_0x504e8d,_0x16af57):_0x4a2247(_0x504e8d,_0x5ea3de['title']);});function _0x200a92(_0x99b5e2,_0x58fe52){return _0x43b3d9(_0x1fd168,'ELEMENT_HEADING',[_0x99b5e2,_0x58fe52]);}function _0x4a2247(_0x58a64c,_0x39491f){return _0x43b3d9(_0x1fd168,_0x20dc('0x4'),[_0x58a64c,_0x39491f]);}_0x3b8790[_0x20dc('0x7')][_0x20dc('0x1e')](_0x2a7652=>{const {type:_0x389a41,data:_0x5d87b5}=_0x2a7652;if(_0x20dc('0xa')==_0x389a41&&_0x5d87b5&&_0x20dc('0x1f')==_0x5d87b5[_0x20dc('0x16')]){const _0x336fd1=_0x5d87b5[_0x20dc('0x1d')][0x0]['value'],_0x48c769=Ht(_0x336fd1);if(null!==_0x48c769)return{'type':_0x20dc('0x1b'),'content':_0x43b3d9(_0x1fd168,_0x20dc('0x1c'),_0x200a92(0x1,_0x48c769))};const _0x15ded0=_0x2e0af3[_0x20dc('0xe')](_0x5b1d78=>_0x5b1d78['model']===_0x336fd1)[_0x20dc('0x12')];return{'type':'format','content':_0x43b3d9(_0x1fd168,_0x20dc('0x1c'),_0x4a2247(0x1,_0x15ded0))};}});}}function Ht(_0x14f80d){const _0x437bb8=_0x14f80d['match'](/^heading(\d+)$/);return _0x437bb8?_0x437bb8[0x1]:null;}
23
+ const _0x1b91=['from','enableCommand','heading.options','find','markBlockFormat','isObject','ELEMENT_HEADING','document','get','selection','match','has','title','checkChild','getSelectedBlocks','paragraph','name','formatBlock','registerDescriptionCallback','locale','commandParams','commandName','_descriptionFactory','heading','editor','schema','value','filter','change','config','plugins','model','blockName','*Change\x20to:*\x20%0'];(function(_0x8ce50e,_0x1b913b){const _0x50d2f9=function(_0x1abeac){while(--_0x1abeac){_0x8ce50e['push'](_0x8ce50e['shift']());}};_0x50d2f9(++_0x1b913b);}(_0x1b91,0x88));const _0x50d2=function(_0x8ce50e,_0x1b913b){_0x8ce50e=_0x8ce50e-0x0;let _0x50d2f9=_0x1b91[_0x8ce50e];return _0x50d2f9;};import{Plugin as _0x4744b9}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x157bb3}from'./utils';import{getTranslation as _0x3369eb}from'../utils/common-translations';export default class z extends _0x4744b9{['afterInit'](){const _0x5a51fc=this['editor'],_0x356bb5=_0x5a51fc[_0x50d2('0x13')],_0x43bad0=_0x5a51fc[_0x50d2('0x1d')][_0x50d2('0x8')](_0x50d2('0x2'));if(!_0x5a51fc[_0x50d2('0x1e')][_0x50d2('0xb')]('HeadingEditing'))return;const _0x1f2c53=_0x5a51fc['plugins'][_0x50d2('0x8')]('TrackChangesEditing');_0x1f2c53[_0x50d2('0x1')](_0x50d2('0x17'),(_0x249d5a,_0x234e7b)=>{const _0x5b5a69=_0x234e7b['value'],_0x2f4315=Array[_0x50d2('0x0')](this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x7')][_0x50d2('0x9')][_0x50d2('0xe')]())[_0x50d2('0x1b')](_0x1ca798=>function(_0x1ac385,_0x170861,_0x11390d){return _0x11390d[_0x50d2('0xd')](_0x1ac385['parent'],_0x170861)&&!_0x11390d[_0x50d2('0x5')](_0x1ac385)&&_0x1ac385[_0x50d2('0x10')]!=_0x170861;}(_0x1ca798,_0x5b5a69,this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x19')]));_0x5a51fc[_0x50d2('0x1f')][_0x50d2('0x1c')](()=>{for(const _0x566860 of _0x2f4315)_0x1f2c53[_0x50d2('0x4')](_0x566860,{'commandName':_0x50d2('0x17'),'commandParams':[_0x234e7b],'formatGroupId':_0x50d2('0x20')},_0x157bb3(_0x566860));});});for(const _0x3e08bb of _0x43bad0)_0x50d2('0xf')!=_0x3e08bb['model']&&_0x1f2c53[_0x50d2('0x16')]['registerElementLabel'](_0x3e08bb[_0x50d2('0x1f')],_0xab0ae4=>{const _0x17a0d7=Kt(_0x3e08bb['model']);return null!==_0x17a0d7?_0x26b305(_0xab0ae4,_0x17a0d7):_0xb1e504(_0xab0ae4,_0x3e08bb[_0x50d2('0xc')]);});function _0x26b305(_0x6a02e9,_0x47c13f){return _0x3369eb(_0x356bb5,_0x50d2('0x6'),[_0x6a02e9,_0x47c13f]);}function _0xb1e504(_0x55d158,_0x4f1a3b){return _0x3369eb(_0x356bb5,'ELEMENT_HEADING_CUSTOM',[_0x55d158,_0x4f1a3b]);}_0x1f2c53[_0x50d2('0x16')][_0x50d2('0x12')](_0x505466=>{const {type:_0x15d2c9,data:_0xf3caf6}=_0x505466;if(_0x50d2('0x11')==_0x15d2c9&&_0xf3caf6&&'heading'==_0xf3caf6[_0x50d2('0x15')]){const _0x23989d=_0xf3caf6[_0x50d2('0x14')][0x0][_0x50d2('0x1a')],_0x1b3bc3=Kt(_0x23989d);if(null!==_0x1b3bc3)return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0x26b305(0x1,_0x1b3bc3))};const _0x4aa8c4=_0x43bad0[_0x50d2('0x3')](_0x48af61=>_0x48af61[_0x50d2('0x1f')]===_0x23989d)[_0x50d2('0xc')];return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0xb1e504(0x1,_0x4aa8c4))};}});}}function Kt(_0x4e8443){const _0x5a6796=_0x4e8443[_0x50d2('0xa')](/^heading(\d+)$/);return _0x5a6796?_0x5a6796[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3542=['plugins','push','getAttribute','selection','format','createRange','markInlineFormat','value','find','_descriptionFactory','formatInline','locale','commandName','editor','get','highlight.options','getFirstPosition','toLowerCase','isCollapsed','TrackChangesEditing','registerDescriptionCallback','*Remove\x20highlight*','highlight','color','afterInit','enableCommand','getRanges','item','backward','model','getLastMatchingPosition'];(function(_0x385241,_0x3542f1){const _0x3ffded=function(_0x4ef0b9){while(--_0x4ef0b9){_0x385241['push'](_0x385241['shift']());}};_0x3ffded(++_0x3542f1);}(_0x3542,0x150));const _0x3ffd=function(_0x385241,_0x3542f1){_0x385241=_0x385241-0x0;let _0x3ffded=_0x3542[_0x385241];return _0x3ffded;};import{Plugin as _0x566b17}from'ckeditor5/src/core';import{getTranslation as _0x24c22b}from'../utils/common-translations';import{getRangesWithAttribute as _0x4d135c}from'./utils';export default class J extends _0x566b17{[_0x3ffd('0x1d')](){const _0x2613d1=this[_0x3ffd('0x12')];if(!_0x2613d1[_0x3ffd('0x5')]['has']('HighlightEditing'))return;const _0x1fe29a=_0x2613d1[_0x3ffd('0x5')]['get'](_0x3ffd('0x18'));_0x1fe29a[_0x3ffd('0x1e')]('highlight',(_0x292762,_0x45f635={})=>{const _0x3c9702=_0x2613d1['model']['document'][_0x3ffd('0x8')],_0x6e4034=_0x3c9702[_0x3ffd('0x7')](_0x3ffd('0x1b'));let _0x17ab79=_0x45f635[_0x3ffd('0xc')],_0x274099=[];if(_0x3c9702[_0x3ffd('0x17')]){const _0x46ab4d=_0x3c9702[_0x3ffd('0x15')]();if(!_0x3c9702['hasAttribute'](_0x3ffd('0x1b')))return void _0x292762(_0x45f635);{const _0x205678=_0x30c6e7=>_0x30c6e7[_0x3ffd('0x1')][_0x3ffd('0x7')](_0x3ffd('0x1b'))===_0x6e4034,_0x3e6590=_0x46ab4d[_0x3ffd('0x4')](_0x205678,{'direction':_0x3ffd('0x2')}),_0x4be175=_0x46ab4d[_0x3ffd('0x4')](_0x205678);_0x274099=[_0x2613d1['model'][_0x3ffd('0xa')](_0x3e6590,_0x4be175)],_0x17ab79==_0x6e4034&&(_0x17ab79=null);}}else for(const _0x506e29 of _0x3c9702[_0x3ffd('0x0')]())_0x17ab79?_0x274099['push'](_0x506e29):_0x274099[_0x3ffd('0x6')](..._0x4d135c(_0x3ffd('0x1b'),_0x506e29,_0x2613d1[_0x3ffd('0x3')]));_0x2613d1['model']['change'](()=>{for(const _0x5a602a of _0x274099)_0x1fe29a[_0x3ffd('0xb')](_0x5a602a,{'commandName':'highlight','commandParams':[{'value':_0x17ab79}]});});});const _0x218668=_0x2613d1[_0x3ffd('0x10')];_0x1fe29a[_0x3ffd('0xe')][_0x3ffd('0x19')](_0x5933ce=>{const {type:_0x225f1b,data:_0x316014}=_0x5933ce;if(_0x3ffd('0xf')==_0x225f1b&&_0x316014&&_0x3ffd('0x1b')==_0x316014[_0x3ffd('0x11')]){const _0x393fa4=_0x316014['commandParams'][0x0][_0x3ffd('0xc')];if(_0x393fa4){const _0x2698a5=_0x2613d1['config'][_0x3ffd('0x13')](_0x3ffd('0x14'))[_0x3ffd('0xd')](_0x151649=>_0x151649[_0x3ffd('0x3')]==_0x393fa4),_0x461928=_0x218668['_t'](_0x2698a5['title'])[_0x3ffd('0x16')]();return{'type':_0x3ffd('0x9'),'content':_0x24c22b(_0x218668,'*Set\x20highlight:*\x20%0',_0x461928),'color':{'value':_0x2698a5[_0x3ffd('0x1c')],'title':_0x2698a5['title']}};}return{'type':_0x3ffd('0x9'),'content':_0x24c22b(_0x218668,_0x3ffd('0x1a'),_0x24c22b(_0x218668,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x7006=['toLowerCase','find','change','enableCommand','getAttribute','commandParams','editor','getLastMatchingPosition','plugins','hasAttribute','title','color','isCollapsed','HighlightEditing','_descriptionFactory','registerDescriptionCallback','format','FORMAT_HIGHLIGHT','value','commandName','afterInit','TrackChangesEditing','*Set\x20highlight:*\x20%0','push','formatInline','*Remove\x20highlight*','config','locale','highlight','model','has','getRanges','highlight.options','document','backward','get','getFirstPosition','markInlineFormat','selection'];(function(_0xedcfe0,_0x70064c){const _0x12643e=function(_0x46d8a1){while(--_0x46d8a1){_0xedcfe0['push'](_0xedcfe0['shift']());}};_0x12643e(++_0x70064c);}(_0x7006,0xa2));const _0x1264=function(_0xedcfe0,_0x70064c){_0xedcfe0=_0xedcfe0-0x0;let _0x12643e=_0x7006[_0xedcfe0];return _0x12643e;};import{Plugin as _0x5ecf18}from'ckeditor5/src/core';import{getTranslation as _0x5d45ca}from'../utils/common-translations';import{getRangesWithAttribute as _0x1109fd}from'./utils';export default class J extends _0x5ecf18{[_0x1264('0xe')](){const _0x51c0c6=this[_0x1264('0x0')];if(!_0x51c0c6[_0x1264('0x2')][_0x1264('0x18')](_0x1264('0x7')))return;const _0x28f551=_0x51c0c6[_0x1264('0x2')][_0x1264('0x1d')](_0x1264('0xf'));_0x28f551[_0x1264('0x24')](_0x1264('0x16'),(_0x4e24d9,_0x378768={})=>{const _0x3aa542=_0x51c0c6['model'][_0x1264('0x1b')][_0x1264('0x20')],_0x20deb4=_0x3aa542[_0x1264('0x25')]('highlight');let _0x23f254=_0x378768[_0x1264('0xc')],_0x3f1135=[];if(_0x3aa542[_0x1264('0x6')]){const _0x53a28b=_0x3aa542[_0x1264('0x1e')]();if(!_0x3aa542[_0x1264('0x3')](_0x1264('0x16')))return void _0x4e24d9(_0x378768);{const _0x562814=_0x3601c2=>_0x3601c2['item'][_0x1264('0x25')](_0x1264('0x16'))===_0x20deb4,_0x5512fb=_0x53a28b[_0x1264('0x1')](_0x562814,{'direction':_0x1264('0x1c')}),_0x1cd4b1=_0x53a28b[_0x1264('0x1')](_0x562814);_0x3f1135=[_0x51c0c6[_0x1264('0x17')]['createRange'](_0x5512fb,_0x1cd4b1)],_0x23f254==_0x20deb4&&(_0x23f254=null);}}else for(const _0x4b695b of _0x3aa542[_0x1264('0x19')]())_0x23f254?_0x3f1135[_0x1264('0x11')](_0x4b695b):_0x3f1135[_0x1264('0x11')](..._0x1109fd(_0x1264('0x16'),_0x4b695b,_0x51c0c6['model']));_0x51c0c6[_0x1264('0x17')][_0x1264('0x23')](()=>{for(const _0xb01fe0 of _0x3f1135)_0x28f551[_0x1264('0x1f')](_0xb01fe0,{'commandName':_0x1264('0x16'),'commandParams':[{'value':_0x23f254}]});});});const _0x582371=_0x51c0c6[_0x1264('0x15')];_0x28f551[_0x1264('0x8')][_0x1264('0x9')](_0x1fe4ea=>{const {type:_0x221f56,data:_0xd1c69e}=_0x1fe4ea;if(_0x1264('0x12')==_0x221f56&&_0xd1c69e&&'highlight'==_0xd1c69e[_0x1264('0xd')]){const _0x586652=_0xd1c69e[_0x1264('0x26')][0x0][_0x1264('0xc')];if(_0x586652){const _0x41986d=_0x51c0c6[_0x1264('0x14')][_0x1264('0x1d')](_0x1264('0x1a'))[_0x1264('0x22')](_0xa3cb0f=>_0xa3cb0f['model']==_0x586652),_0x2b966b=_0x582371['_t'](_0x41986d['title'])[_0x1264('0x21')]();return{'type':_0x1264('0xa'),'content':_0x5d45ca(_0x582371,_0x1264('0x10'),_0x2b966b),'color':{'value':_0x41986d[_0x1264('0x5')],'title':_0x41986d[_0x1264('0x4')]}};}return{'type':'format','content':_0x5d45ca(_0x582371,_0x1264('0x13'),_0x5d45ca(_0x582371,_0x1264('0xb')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15ca=['enableCommand','createPositionAt','TrackChangesEditing','afterInit','showSuggestionHighlights','ELEMENT_HORIZONTAL_LINE','createEmptyElement','_descriptionFactory','insert','HorizontalLineEditing','createContainerElement','plugins','ck-horizontal-line','dataDowncast','registerElementLabel','horizontalLine','div','conversion','get'];(function(_0x243c2f,_0x15caf4){const _0x561bc9=function(_0xb8d25d){while(--_0xb8d25d){_0x243c2f['push'](_0x243c2f['shift']());}};_0x561bc9(++_0x15caf4);}(_0x15ca,0x6d));const _0x561b=function(_0x243c2f,_0x15caf4){_0x243c2f=_0x243c2f-0x0;let _0x561bc9=_0x15ca[_0x243c2f];return _0x561bc9;};import{Plugin as _0x21da05}from'ckeditor5/src/core';import{getTranslation as _0x2a0301}from'../utils/common-translations';export default class K extends _0x21da05{[_0x561b('0x8')](){const _0x4463fc=this['editor'];if(!_0x4463fc['plugins']['has'](_0x561b('0xe')))return;_0x4463fc[_0x561b('0x10')][_0x561b('0x4')](_0x561b('0x7'))[_0x561b('0x5')](_0x561b('0x1'));const _0x478c3e=_0x4463fc[_0x561b('0x10')][_0x561b('0x4')]('TrackChangesEditing'),_0x1dc4d3=_0x4463fc['locale'];_0x478c3e[_0x561b('0xc')][_0x561b('0x0')](_0x561b('0x1'),_0x2c6b9d=>_0x2a0301(_0x1dc4d3,_0x561b('0xa'),_0x2c6b9d)),_0x4463fc[_0x561b('0x3')]['for'](_0x561b('0x12'))['elementToStructure']({'model':'horizontalLine','view':(_0x3162bc,{writer:_0x263536,options:_0x5db94d})=>{if(!_0x5db94d[_0x561b('0x9')])return;const _0x3a70d5=_0x263536[_0x561b('0xf')](_0x561b('0x2')),_0x37b2c4=_0x263536[_0x561b('0xb')]('hr');return _0x263536['addClass'](_0x561b('0x11'),_0x3a70d5),_0x263536[_0x561b('0xd')](_0x263536[_0x561b('0x6')](_0x3a70d5,0x0),_0x37b2c4),_0x3a70d5;},'converterPriority':'high'});}}
23
+ const _0xcf74=['enableCommand','createPositionAt','_descriptionFactory','HorizontalLineEditing','high','addClass','horizontalLine','insert','div','for','createContainerElement','TrackChangesEditing','registerElementLabel','showSuggestionHighlights','ck-horizontal-line','createEmptyElement','editor','plugins','get','ELEMENT_HORIZONTAL_LINE'];(function(_0x2d21e9,_0xcf7416){const _0x78a56b=function(_0x15c67b){while(--_0x15c67b){_0x2d21e9['push'](_0x2d21e9['shift']());}};_0x78a56b(++_0xcf7416);}(_0xcf74,0x121));const _0x78a5=function(_0x2d21e9,_0xcf7416){_0x2d21e9=_0x2d21e9-0x0;let _0x78a56b=_0xcf74[_0x2d21e9];return _0x78a56b;};import{Plugin as _0x2133d6}from'ckeditor5/src/core';import{getTranslation as _0x1107e3}from'../utils/common-translations';export default class K extends _0x2133d6{['afterInit'](){const _0x2be8ed=this[_0x78a5('0x7')];if(!_0x2be8ed['plugins']['has'](_0x78a5('0xe')))return;_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2'))[_0x78a5('0xb')](_0x78a5('0x11'));const _0x41e81e=_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2')),_0x3368fd=_0x2be8ed['locale'];_0x41e81e[_0x78a5('0xd')][_0x78a5('0x3')](_0x78a5('0x11'),_0x5ba4b9=>_0x1107e3(_0x3368fd,_0x78a5('0xa'),_0x5ba4b9)),_0x2be8ed['conversion'][_0x78a5('0x0')]('dataDowncast')['elementToStructure']({'model':_0x78a5('0x11'),'view':(_0x48c68c,{writer:_0x20b545,options:_0x1b2263})=>{if(!_0x1b2263[_0x78a5('0x4')])return;const _0x5d5db4=_0x20b545[_0x78a5('0x1')](_0x78a5('0x13')),_0x3f0f6b=_0x20b545[_0x78a5('0x6')]('hr');return _0x20b545[_0x78a5('0x10')](_0x78a5('0x5'),_0x5d5db4),_0x20b545[_0x78a5('0x12')](_0x20b545[_0x78a5('0xc')](_0x5d5db4,0x0),_0x3f0f6b),_0x5d5db4;},'converterPriority':_0x78a5('0xf')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5244=['model','cancel','getSelectedElement','htmlEmbed','get','format','rawHtmlApi','editor','value','has','document','editing','selection','afterInit','registerDescriptionCallback','*Change\x20%0\x20content*','ELEMENT_HTML_EMBED','HtmlEmbed','plugins','view','getCustomProperty','getAttribute','TrackChangesEditing','commandName','enableCommand','_descriptionFactory','registerElementLabel'];(function(_0x490c5f,_0x524465){const _0x4ec8d3=function(_0x54cffa){while(--_0x54cffa){_0x490c5f['push'](_0x490c5f['shift']());}};_0x4ec8d3(++_0x524465);}(_0x5244,0x197));const _0x4ec8=function(_0x490c5f,_0x524465){_0x490c5f=_0x490c5f-0x0;let _0x4ec8d3=_0x5244[_0x490c5f];return _0x4ec8d3;};import{Plugin as _0x4a27d5}from'ckeditor5/src/core';import{getTranslation as _0x421c71}from'../utils/common-translations';export default class Q extends _0x4a27d5{[_0x4ec8('0xb')](){const _0x144509=this[_0x4ec8('0x5')];if(!_0x144509[_0x4ec8('0x10')][_0x4ec8('0x7')](_0x4ec8('0xf')))return;const _0x3ce54c=_0x144509[_0x4ec8('0x10')][_0x4ec8('0x2')](_0x4ec8('0x14')),_0x59d2f8=_0x144509['locale'],_0x40a46a=_0x144509[_0x4ec8('0x9')][_0x4ec8('0x11')][_0x4ec8('0x8')][_0x4ec8('0xa')];_0x3ce54c[_0x4ec8('0x17')][_0x4ec8('0x18')]('rawHtml',_0x4e8f3d=>_0x421c71(_0x59d2f8,_0x4ec8('0xe'),_0x4e8f3d)),_0x144509['plugins'][_0x4ec8('0x2')](_0x4ec8('0x14'))[_0x4ec8('0x16')](_0x4ec8('0x1'),(_0x36909a,_0x6631dd)=>{const _0x2209be=_0x144509[_0x4ec8('0x19')],_0x108c1d=_0x2209be[_0x4ec8('0x8')][_0x4ec8('0xa')];_0x2209be['change'](()=>{const _0xad0930=function(_0x136c08){const _0x425b70=_0x136c08[_0x4ec8('0x0')]();if(_0x425b70&&_0x425b70['is']('element','rawHtml'))return _0x136c08[_0x4ec8('0x0')]();return null;}(_0x108c1d);if(!_0xad0930)return void _0x36909a(null);const _0x37a5b2=_0xad0930[_0x4ec8('0x13')](_0x4ec8('0x6'))||'';if(void 0x0===_0x6631dd)return;if(_0x6631dd===_0x37a5b2)return;_0x3ce54c['markBlockFormat'](_0xad0930,{'commandName':'htmlEmbed','commandParams':[_0x6631dd]}),_0x40a46a[_0x4ec8('0x0')]()[_0x4ec8('0x12')](_0x4ec8('0x4'))[_0x4ec8('0x1a')]();});}),_0x3ce54c['_descriptionFactory'][_0x4ec8('0xc')](_0x4aebde=>{const {data:_0x1eea1a}=_0x4aebde;if(_0x1eea1a&&'htmlEmbed'==_0x1eea1a[_0x4ec8('0x15')]){const _0x359531=_0x421c71(_0x59d2f8,_0x4ec8('0xe'));return{'type':_0x4ec8('0x3'),'content':_0x421c71(_0x59d2f8,_0x4ec8('0xd'),_0x359531)};}});}}
23
+ const _0x5a15=['getAttribute','afterInit','locale','getCustomProperty','rawHtmlApi','TrackChangesEditing','value','editing','enableCommand','htmlEmbed','selection','get','*Change\x20%0\x20content*','_descriptionFactory','rawHtml','editor','document','markBlockFormat','getSelectedElement','HtmlEmbed','view','model','ELEMENT_HTML_EMBED','plugins'];(function(_0x3c6ab8,_0x5a157e){const _0xa0e69e=function(_0x1fc7fa){while(--_0x1fc7fa){_0x3c6ab8['push'](_0x3c6ab8['shift']());}};_0xa0e69e(++_0x5a157e);}(_0x5a15,0x162));const _0xa0e6=function(_0x3c6ab8,_0x5a157e){_0x3c6ab8=_0x3c6ab8-0x0;let _0xa0e69e=_0x5a15[_0x3c6ab8];return _0xa0e69e;};import{Plugin as _0x53e4ef}from'ckeditor5/src/core';import{getTranslation as _0xa2bf83}from'../utils/common-translations';export default class Q extends _0x53e4ef{[_0xa0e6('0x7')](){const _0x162ce8=this[_0xa0e6('0x15')];if(!_0x162ce8[_0xa0e6('0x5')]['has'](_0xa0e6('0x1')))return;const _0x368183=_0x162ce8[_0xa0e6('0x5')]['get'](_0xa0e6('0xb')),_0x23f7af=_0x162ce8[_0xa0e6('0x8')],_0x40292c=_0x162ce8[_0xa0e6('0xd')][_0xa0e6('0x2')]['document']['selection'];_0x368183['_descriptionFactory']['registerElementLabel'](_0xa0e6('0x14'),_0x1770fa=>_0xa2bf83(_0x23f7af,_0xa0e6('0x4'),_0x1770fa)),_0x162ce8[_0xa0e6('0x5')][_0xa0e6('0x11')](_0xa0e6('0xb'))[_0xa0e6('0xe')](_0xa0e6('0xf'),(_0x42ed23,_0x59f565)=>{const _0x1fed7d=_0x162ce8[_0xa0e6('0x3')],_0x38b7e7=_0x1fed7d[_0xa0e6('0x16')][_0xa0e6('0x10')];_0x1fed7d['change'](()=>{const _0x352354=function(_0x1f6159){const _0x31f658=_0x1f6159[_0xa0e6('0x0')]();if(_0x31f658&&_0x31f658['is']('element','rawHtml'))return _0x1f6159[_0xa0e6('0x0')]();return null;}(_0x38b7e7);if(!_0x352354)return void _0x42ed23(null);const _0x7ef17e=_0x352354[_0xa0e6('0x6')](_0xa0e6('0xc'))||'';if(void 0x0===_0x59f565)return;if(_0x59f565===_0x7ef17e)return;_0x368183[_0xa0e6('0x17')](_0x352354,{'commandName':_0xa0e6('0xf'),'commandParams':[_0x59f565]}),_0x40292c[_0xa0e6('0x0')]()[_0xa0e6('0x9')](_0xa0e6('0xa'))['cancel']();});}),_0x368183[_0xa0e6('0x13')]['registerDescriptionCallback'](_0x55f8fb=>{const {data:_0x5bb49e}=_0x55f8fb;if(_0x5bb49e&&_0xa0e6('0xf')==_0x5bb49e['commandName']){const _0x460e64=_0xa2bf83(_0x23f7af,_0xa0e6('0x4'));return{'type':'format','content':_0xa2bf83(_0x23f7af,_0xa0e6('0x12'),_0x460e64)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f62=['get','subType','getClosestSelectedImageElement','isBlockImage','normalizedStyles','ImageUploadEditing','imageTextAlternative','backward','markDeletion','getFirstRange','alt','imageTypeInline','author','ImageTextAlternativeEditing','model','isInContent','getSuggestions','nodeAfter','newValue','_suggestionFactory','length','convertBlockImageToInline','name','ImageUtils','element','join','schema','Users','isIntersecting','discard','imageStyle','ELEMENT_IMAGE','addObject','*Set\x20image\x20width:*\x20%0','selection','locale','previous','ELEMENT_CAPTION','start','markInlineFormat','getAttribute','side','registerElementLabel','TrackChangesEditing','toNext','markBlockFormat','title','insertion','newRange','fromPosition','createRangeOn','isBefore','imageStylePostApply','filter','*Reset\x20image\x20width*','ImageResize','forEach','commandParams','change','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','afterInit','formatBlock','ImageInlineEditing','plugins','end','getContainedElement','getSuggestionCallback','ImageStyleEditing','suggestion','hasAttribute','isOwn','ImageCaptionUtils','refresh','registerCustomCallback','document','forward','removeObject','getNearestSelectionRange','getCaptionFromImageModelElement','isEqual','find','resizeImage','commands','_descriptionFactory','commandReversedParams','next','isCollapsed','format','getChangedMarkers','enableCommand','commandName','Inline\x20image\x20to\x20block\x20image','discardSuggestion','forceDefaultExecution','detach','ImageCaptionEditing','width','chain','registerDescriptionCallback','_findSuggestions','convertInlineImageToBlock','ELEMENT_INLINE_IMAGE','formatInline','createRange','findIndex','caption','Block\x20image\x20to\x20inline\x20image','accept','*Remove\x20image\x20text\x20alternative*','markInsertion','imageTypeBlock','ImageEditing','value','head','imageStylePreApply','getSuggestion','imageCaption','type','has'];(function(_0x25abc9,_0x4f6255){const _0x4399f3=function(_0x1269dd){while(--_0x1269dd){_0x25abc9['push'](_0x25abc9['shift']());}};_0x4399f3(++_0x4f6255);}(_0x4f62,0x102));const _0x4399=function(_0x25abc9,_0x4f6255){_0x25abc9=_0x25abc9-0x0;let _0x4399f3=_0x4f62[_0x25abc9];return _0x4399f3;};import{Plugin as _0x59457e}from'ckeditor5/src/core';import{LivePosition as _0x2ada7a}from'ckeditor5/src/engine';import{uid as _0x2d0bd2}from'ckeditor5/src/utils';import{getTranslation as _0x27528b}from'../utils/common-translations';export default class V extends _0x59457e{[_0x4399('0x2b')](){const _0x4a7357=this['editor'];if(!_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x5e')))return;const _0x2bca1c=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x19')),_0x4f0c03=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x5')),_0x1b39e2={},_0x1958ac=_0x4a7357[_0x4399('0x11')];if(_0x2bca1c['enableCommand']('insertImage'),_0x2bca1c[_0x4399('0x42')]['registerElementLabel']('imageBlock',_0x5bdb4a=>_0x27528b(_0x1958ac,_0x4399('0xd'),_0x5bdb4a)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')]('imageInline',_0x27f5eb=>_0x27528b(_0x1958ac,_0x4399('0x54'),_0x27f5eb)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')](_0x4399('0x58'),_0x27528b(_0x1958ac,_0x4399('0x13'))),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x6b'))&&_0x2bca1c['enableCommand']('uploadImage'),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageBlockEditing')&&_0x4a7357['plugins']['has'](_0x4399('0x2d'))&&(_0x2bca1c[_0x4399('0x48')](_0x4399('0x71'),(_0x167ed7,_0x5bcadd)=>{const _0x227412=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x227412,{'commandName':_0x4399('0x71'),'commandParams':[_0x5bcadd]},[],_0x4399('0x3'));});}),_0x2bca1c[_0x4399('0x48')](_0x4399('0x5d'),(_0x4b1993,_0x1c1ad7)=>{_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](_0x7c1e2b=>{let _0x4c0f38=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x599976=_0x2ada7a[_0x4399('0x1f')](_0xb00c21['start'],'toPrevious'),_0x338c8a=_0x2ada7a[_0x4399('0x1f')](_0xb00c21[_0x4399('0x2f')],_0x4399('0x1a'));_0x2bca1c[_0x4399('0x4c')](()=>_0x4b1993(_0x1c1ad7)),_0x4c0f38=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x3c3db3=_0x7c1e2b[_0x4399('0x56')](_0x599976,_0x338c8a);_0x599976[_0x4399('0x4d')](),_0x338c8a[_0x4399('0x4d')](),_0x2bca1c['markBlockFormat'](_0x4c0f38,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x3c3db3[_0x4399('0x14')]['isBefore'](_0xb00c21[_0x4399('0x14')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b['createRange'](_0x3c3db3[_0x4399('0x14')],_0xb00c21[_0x4399('0x14')]),'convertInlineImageToBlock'),_0xb00c21[_0x4399('0x2f')][_0x4399('0x21')](_0x3c3db3[_0x4399('0x2f')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b[_0x4399('0x56')](_0xb00c21[_0x4399('0x2f')],_0x3c3db3[_0x4399('0x2f')]),'convertInlineImageToBlock');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),'accept',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),_0x4399('0xb'),_0x2bca1c['_suggestionFactory'][_0x4399('0x31')](_0x4399('0x2c'),'',_0x4399('0x5a'))),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('insertion',_0x4399('0x53'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('insertion',_0x4399('0x53'),_0x4399('0xb'),([_0x3c7f55])=>{const _0x1c54d6=_0x2bca1c[_0x4399('0x1')][_0x4399('0x31')]('insertion','',_0x4399('0xb'));let _0x1e6b14=_0x3c7f55[_0x4399('0x14')],_0x5eaf3c=_0x3c7f55[_0x4399('0x2f')];const _0x170795=_0x4a7357[_0x4399('0x74')]['schema'][_0x4399('0x3c')](_0x1e6b14,_0x4399('0x6d')),_0x54cb51=_0x4a7357[_0x4399('0x74')][_0x4399('0x8')][_0x4399('0x3c')](_0x5eaf3c,_0x4399('0x3a'));_0x170795[_0x4399('0x45')]&&(_0x1e6b14=_0x170795[_0x4399('0x14')]),_0x54cb51['isCollapsed']&&(_0x5eaf3c=_0x54cb51[_0x4399('0x2f')]),_0x1c54d6([_0x4a7357[_0x4399('0x74')][_0x4399('0x56')](_0x1e6b14,_0x5eaf3c)]);}),_0x2bca1c['_suggestionFactory'][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','chain',_0x54a3ae),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x53'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x4e'))&&(_0x2bca1c[_0x4399('0x48')]('toggleImageCaption',(_0x4e6ec4,_0x376ffb)=>{const _0x1d2290=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x36'));let _0x481463=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')]['document']['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x23b5e1)return void _0x2bca1c[_0x4399('0x6e')](_0x4a7357['model']['createRangeOn'](_0x23b5e1));const _0xa3b49d=_0x4f0c03[_0x4399('0x69')](_0x481463);_0x4e6ec4(_0x376ffb),_0x481463=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')]['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463),_0x2bca1c['markInsertion'](_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x23b5e1),_0xa3b49d?null:'imageCaption');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x63'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageStyleEditing')){_0x2bca1c[_0x4399('0x48')]('imageStyle',(_0x37288b,_0x34b96d)=>{const _0xc81bfb=_0x4a7357['plugins'][_0x4399('0x66')](_0x4399('0x9'))['me'],_0x1068d3=_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0xc'));let _0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x1420a4),_0x10bbef=_0x1068d3[_0x4399('0x5f')];if(_0x10bbef==_0x34b96d[_0x4399('0x5f')])return;const _0x3fcb54={'commandName':_0x4399('0xc'),'commandParams':[_0x34b96d],'formatGroupId':_0x2d0bd2()};_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x2bca1c[_0x4399('0x76')]()[_0x4399('0x23')](_0x2b0229=>_0x2b0229[_0x4399('0x75')]&&_0xc81bfb==_0x2b0229[_0x4399('0x72')]&&(_0x4399('0x2c')==_0x2b0229['type']||_0x4399('0x55')==_0x2b0229['type'])&&(_0x4399('0x61')==_0x2b0229[_0x4399('0x67')]||'imageStylePostApply'==_0x2b0229[_0x4399('0x67')])&&_0x2b0229['getFirstRange']()[_0x4399('0x3e')](_0x1f78e5))[_0x4399('0x26')](_0x1718c7=>_0x2bca1c['discardSuggestion'](_0x1718c7[_0x4399('0x60')])),_0x1420a4=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')]['createRangeOn'](_0x1420a4),_0x1068d3[_0x4399('0x37')](),_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0x71'))[_0x4399('0x37')](),_0x4a7357['commands'][_0x4399('0x66')]('imageTypeBlock')[_0x4399('0x37')](),_0x10bbef=_0x1068d3[_0x4399('0x5f')],_0x10bbef!=_0x34b96d[_0x4399('0x5f')])return _0x4f0c03['isInlineImage'](_0x1420a4)&&_0x1068d3['shouldConvertImageType'](_0x34b96d['value'],_0x1420a4)?(_0x37288b(_0x34b96d),_0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['selection']),void _0x2bca1c['markBlockFormat'](_0x1420a4,{..._0x3fcb54,'commandReversedParams':[{'value':_0x10bbef||null}]},[],'imageStylePreApply')):void(_0x4f0c03[_0x4399('0x69')](_0x1420a4)?_0x2bca1c[_0x4399('0x1b')](_0x1420a4,_0x3fcb54,[],'imageStylePostApply'):_0x2bca1c[_0x4399('0x15')](_0x1f78e5,_0x3fcb54,_0x4399('0x22')));});});for(const _0x39bca2 of _0x4a7357[_0x4399('0x2e')]['get'](_0x4399('0x32'))[_0x4399('0x6a')])_0x1b39e2[_0x39bca2['name']]=_0x39bca2[_0x4399('0x1c')]['toLowerCase']();_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('formatBlock',_0x4399('0x61'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x22'),'join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x55'),_0x4399('0x22'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x4399('0x5a'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback'](_0x4399('0x2c'),_0x4399('0x61'),_0x4399('0xb'),(_0x12a2ac,_0xbea106)=>{_0x2bca1c[_0x4399('0x1')]['getSuggestionCallback']('formatBlock','',_0x4399('0x5a'))(_0x12a2ac,{'commandName':_0xbea106['commandName'],'commandParams':_0xbea106[_0x4399('0x43')]});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x61'),'chain',_0x54a3ae);}const _0x560c95=[{'type':'formatBlock','subType':_0x4399('0x61')},{'type':_0x4399('0x1d'),'subType':_0x4399('0x63')},{'type':_0x4399('0x2c'),'subType':_0x4399('0x53')},{'type':'insertion','subType':_0x4399('0x53')}];function _0x102d2f(_0x230a35,_0x29253e){const _0x2aab99=_0x560c95[_0x4399('0x57')](({type:_0x579fac,subType:_0xf9d383})=>_0x230a35[_0x4399('0x64')]==_0x579fac&&_0x230a35[_0x4399('0x67')]==_0xf9d383),_0x17dbc5=_0x560c95[_0x4399('0x57')](({type:_0x4fba21,subType:_0x30ac92})=>_0x29253e[_0x4399('0x64')]==_0x4fba21&&_0x29253e[_0x4399('0x67')]==_0x30ac92);if(_0x2aab99<0x0||_0x17dbc5<0x0)return!0x1;const _0x452204=_0x230a35['getFirstRange'](),_0x175968=_0x29253e[_0x4399('0x6f')]();if((0x0==_0x2aab99||0x1==_0x2aab99)&&0x2==_0x17dbc5&&_0x452204[_0x4399('0xa')](_0x175968))return!0x0;if(0x2==_0x2aab99&&0x3==_0x17dbc5){const _0x4c03e9=_0x2bca1c[_0x4399('0x52')](_0x452204,_0x4399('0x1d'))[_0x4399('0x23')](({suggestion:_0x220bf7,meta:_0x479f9f})=>_0x479f9f[_0x4399('0x35')]&&_0x4399('0x53')==_0x220bf7[_0x4399('0x67')]);if(_0x4c03e9[_0x4399('0x2')]>0x1&&_0x175968[_0x4399('0x2f')][_0x4399('0x3e')](_0x452204[_0x4399('0x14')]))return!0x0;if(0x1==_0x4c03e9[_0x4399('0x2')]&&(_0x452204[_0x4399('0x14')][_0x4399('0x3e')](_0x175968[_0x4399('0x2f')])||_0x452204[_0x4399('0x2f')][_0x4399('0x3e')](_0x175968[_0x4399('0x14')])))return!0x0;}if(0x3==_0x2aab99&&0x3==_0x17dbc5&&_0x452204[_0x4399('0x14')][_0x4399('0x21')](_0x175968[_0x4399('0x14')])){const _0x3948d3=_0x452204['end'][_0x4399('0x77')],_0x2dfd4d=_0x175968[_0x4399('0x14')]['nodeBefore'];return _0x4f0c03[_0x4399('0x69')](_0x3948d3)&&_0x3948d3===_0x2dfd4d;}return!0x1;}function _0x54a3ae(_0x3fee28,_0x1c4de1){return _0x102d2f(_0x3fee28,_0x1c4de1)?[_0x3fee28,_0x1c4de1]:_0x102d2f(_0x1c4de1,_0x3fee28)?[_0x1c4de1,_0x3fee28]:null;}_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['registerPostFixer'](()=>{let _0x30d61f=!0x1;const _0x260604=Array['from'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['differ'][_0x4399('0x47')]());for(const {name:_0x248655,data:_0x32804c}of _0x260604){const {group:_0x1886e8,type:_0x4d2f38,subType:_0x47f3a1,id:_0x18b314}=_0x2bca1c['_splitMarkerName'](_0x248655);if(_0x4399('0x33')==_0x1886e8&&_0x2bca1c['hasSuggestion'](_0x18b314)){if(_0x4399('0x2c')==_0x4d2f38&&(_0x4399('0x61')==_0x47f3a1||_0x4399('0x22')==_0x47f3a1)){const _0x52c710=_0x2bca1c[_0x4399('0x62')](_0x18b314);if(_0x32804c[_0x4399('0x1e')]){const _0x557a85=_0x52c710[_0x4399('0x6f')]()[_0x4399('0x30')]();if(_0x4f0c03[_0x4399('0x69')](_0x557a85))continue;_0x2bca1c[_0x4399('0x4b')](_0x52c710),_0x30d61f=!0x0;}}if(_0x4399('0x1d')==_0x4d2f38&&_0x4399('0x63')==_0x47f3a1&&!_0x32804c[_0x4399('0x1e')]){const _0x8212ad=_0x2bca1c[_0x4399('0x62')](_0x18b314);_0x8212ad[_0x4399('0x44')]&&_0x8212ad[_0x4399('0x44')][_0x4399('0x75')]&&(_0x2bca1c['discardSuggestion'](_0x8212ad[_0x4399('0x44')]),_0x30d61f=!0x0);}}}return _0x30d61f;}),_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x25'))&&_0x2bca1c[_0x4399('0x48')]('resizeImage',(_0x484b08,_0xa22323)=>{const _0x743d33=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x743d33[_0x4399('0x16')]('width')!=_0xa22323[_0x4399('0x4f')]&&_0x4a7357['model'][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x743d33,{'commandName':_0x4399('0x40'),'commandParams':[_0xa22323]});});}),_0x4a7357['plugins'][_0x4399('0x65')](_0x4399('0x73'))&&_0x2bca1c[_0x4399('0x48')](_0x4399('0x6c'),(_0x3e14ce,_0x13c326)=>{const _0x24cade=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);(_0x24cade[_0x4399('0x34')]('alt')?_0x24cade[_0x4399('0x16')](_0x4399('0x70')):'')!=_0x13c326['newValue']&&_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x24cade,{'commandName':'imageTextAlternative','commandParams':[_0x13c326]});});}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x29314f=>{if(!!_0x560c95[_0x4399('0x3f')](({type:_0x1c3756,subType:_0x287130})=>_0x29314f[_0x4399('0x64')]==_0x1c3756&&_0x29314f['subType']==_0x287130))return _0x29314f[_0x4399('0x12')]?{}:void 0x0;}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x5066e5=>{if(_0x4399('0x1d')==_0x5066e5['type']||'deletion'==_0x5066e5['type']){const _0x2e07d0=_0x5066e5[_0x4399('0x30')]();if(_0x2e07d0&&_0x2e07d0['is'](_0x4399('0x6'),_0x4399('0x58')))return{'type':'insertion'==_0x5066e5[_0x4399('0x64')]?_0x4399('0xe'):_0x4399('0x3b'),'name':_0x2e07d0[_0x4399('0x4')],'quantity':0x1};}}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x182b42=>'formatBlock'==_0x182b42[_0x4399('0x64')]&&_0x4399('0x53')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x4a')}:_0x4399('0x2c')==_0x182b42[_0x4399('0x64')]&&_0x4399('0x3')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x59')}:void 0x0),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x577b69=>{const {data:_0x5d20a6}=_0x577b69;if(_0x5d20a6){if(_0x4399('0xc')==_0x5d20a6[_0x4399('0x49')]){const _0x1611a9=_0x5d20a6[_0x4399('0x27')][0x0]['value'];return _0x28af1c(_0x4399('0x17')===_0x1611a9?_0x27528b(_0x1958ac,'FORMAT_SIDE_IMAGE'):_0x1b39e2[_0x1611a9]||_0x1611a9);}if('imageTextAlternative'==_0x5d20a6[_0x4399('0x49')]){const _0x3de107=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x0')];return _0x3de107?{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x2a'),'\x22'+_0x3de107+'\x22')}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x5b'))};}if(_0x4399('0x40')==_0x5d20a6[_0x4399('0x49')]){const _0x3fba71=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x4f')];return _0x3fba71?{'type':'format','content':_0x27528b(_0x1958ac,_0x4399('0xf'),_0x3fba71)}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x24'))};}}function _0x28af1c(_0x598557){return{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x29'),_0x598557)};}});}}
23
+ const _0x439a=['format','registerElementLabel','_descriptionFactory','ImageEditing','getNearestSelectionRange','getSuggestion','commandParams','shouldConvertImageType','accept','ImageCaptionUtils','isOwn','type','value','length','ImageBlockEditing','registerCustomCallback','ImageUploadEditing','_findSuggestions','isInlineImage','getSuggestionCallback','ImageCaptionEditing','ImageUtils','head','*Set\x20image\x20text\x20alternative:*\x20%0','markDeletion','suggestion','newRange','insertion','width','*Remove\x20image\x20text\x20alternative*','normalizedStyles','imageCaption','from','deletion','*Format:*\x20%0','imageStylePreApply','plugins','Users','alt','isCollapsed','isBlockImage','imageStyle','formatBlock','schema','has','next','imageTextAlternative','formatInline','markBlockFormat','enableCommand','FORMAT_SIDE_IMAGE','fromPosition','forceDefaultExecution','isInContent','caption','previous','commands','markInsertion','ImageResize','title','ELEMENT_IMAGE','model','discard','getAttribute','convertBlockImageToInline','toggleImageCaption','registerDescriptionCallback','discardSuggestion','getCaptionFromImageModelElement','isBefore','newValue','imageStylePostApply','imageBlock','start','change','TrackChangesEditing','getClosestSelectedImageElement','isIntersecting','addObject','removeObject','convertInlineImageToBlock','imageInline','getFirstRange','_suggestionFactory','toNext','end','filter','getSuggestions','toPrevious','forward','createRangeOn','getChangedMarkers','join','differ','subType','editor','selection','nodeAfter','find','author','ImageTextAlternativeEditing','commandReversedParams','imageTypeInline','insertImage','document','*Set\x20image\x20width:*\x20%0','hasAttribute','element','resizeImage','get','commandName','ImageStyleEditing','isEqual','imageTypeBlock','createRange','chain','hasSuggestion','ELEMENT_INLINE_IMAGE','ELEMENT_CAPTION','findIndex','refresh','detach'];(function(_0x2eee25,_0x439abc){const _0x25dfc4=function(_0x1c23f3){while(--_0x1c23f3){_0x2eee25['push'](_0x2eee25['shift']());}};_0x25dfc4(++_0x439abc);}(_0x439a,0x129));const _0x25df=function(_0x2eee25,_0x439abc){_0x2eee25=_0x2eee25-0x0;let _0x25dfc4=_0x439a[_0x2eee25];return _0x25dfc4;};import{Plugin as _0x55eabf}from'ckeditor5/src/core';import{LivePosition as _0x1efb0b}from'ckeditor5/src/engine';import{uid as _0x251978}from'ckeditor5/src/utils';import{getTranslation as _0x32720a}from'../utils/common-translations';export default class V extends _0x55eabf{['afterInit'](){const _0x536c4b=this[_0x25df('0x2a')];if(!_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x48')))return;const _0x30f95c=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x16')),_0x5ca996=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x5a')),_0x5852b1={},_0x49e9d2=_0x536c4b['locale'];if(_0x30f95c[_0x25df('0x76')](_0x25df('0x32')),_0x30f95c[_0x25df('0x47')]['registerElementLabel'](_0x25df('0x13'),_0x2352b8=>_0x32720a(_0x49e9d2,_0x25df('0x7'),_0x2352b8)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1c'),_0x39f257=>_0x32720a(_0x49e9d2,_0x25df('0x40'),_0x39f257)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1'),()=>_0x32720a(_0x49e9d2,_0x25df('0x41'))),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x55'))&&_0x30f95c[_0x25df('0x76')]('uploadImage'),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x53'))&&_0x536c4b['plugins']['has']('ImageInlineEditing')&&(_0x30f95c[_0x25df('0x76')](_0x25df('0x31'),(_0x3ddde1,_0xfdb0cf)=>{const _0x357778=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]);_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x357778,{'commandName':'imageTypeInline','commandParams':[_0xfdb0cf]},[],_0x25df('0xb'));});}),_0x30f95c['enableCommand'](_0x25df('0x3c'),(_0x52615d,_0x186034)=>{_0x536c4b['model']['change'](_0x4352c9=>{let _0x39e632=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x2b')]),_0x17ad68=_0x4352c9[_0x25df('0x25')](_0x39e632);const _0x3e0755=_0x1efb0b[_0x25df('0x78')](_0x17ad68[_0x25df('0x14')],_0x25df('0x23')),_0x151287=_0x1efb0b['fromPosition'](_0x17ad68[_0x25df('0x20')],_0x25df('0x1f'));_0x30f95c[_0x25df('0x79')](()=>_0x52615d(_0x186034)),_0x39e632=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x17ad68=_0x4352c9['createRangeOn'](_0x39e632);const _0x18954e=_0x4352c9['createRange'](_0x3e0755,_0x151287);_0x3e0755[_0x25df('0x44')](),_0x151287[_0x25df('0x44')](),_0x30f95c[_0x25df('0x75')](_0x39e632,{'commandName':_0x25df('0x31')},[],'convertInlineImageToBlock'),_0x18954e['start'][_0x25df('0x10')](_0x17ad68[_0x25df('0x14')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9['createRange'](_0x18954e['start'],_0x17ad68[_0x25df('0x14')]),'convertInlineImageToBlock'),_0x17ad68[_0x25df('0x20')]['isBefore'](_0x18954e[_0x25df('0x20')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9[_0x25df('0x3d')](_0x17ad68[_0x25df('0x20')],_0x18954e[_0x25df('0x20')]),_0x25df('0x1b'));});}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x1b'),_0x25df('0x4d'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),'discard',_0x30f95c['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x25df('0x4d'))),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x9'),([_0x1495dd])=>{const _0x2b60df=_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')](_0x25df('0x60'),'',_0x25df('0x9'));let _0x41fbe6=_0x1495dd[_0x25df('0x14')],_0x55648e=_0x1495dd[_0x25df('0x20')];const _0x28294d=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x41fbe6,'backward'),_0xb5f396=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x55648e,_0x25df('0x24'));_0x28294d[_0x25df('0x6c')]&&(_0x41fbe6=_0x28294d[_0x25df('0x14')]),_0xb5f396[_0x25df('0x6c')]&&(_0x55648e=_0xb5f396[_0x25df('0x20')]),_0x2b60df([_0x536c4b[_0x25df('0x8')]['createRange'](_0x41fbe6,_0x55648e)]);}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('formatBlock',_0x25df('0x1b'),_0x25df('0x3e'),_0x4da4b6),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('insertion','convertInlineImageToBlock',_0x25df('0x3e'),_0x4da4b6)),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x59'))&&(_0x30f95c[_0x25df('0x76')](_0x25df('0xc'),(_0x10dcc5,_0xdc5a6e)=>{const _0x5111eb=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x4e'));let _0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb[_0x25df('0xf')](_0x144d94);_0x536c4b[_0x25df('0x8')]['change'](()=>{if(_0x53714b)return void _0x30f95c[_0x25df('0x5d')](_0x536c4b['model'][_0x25df('0x25')](_0x53714b));const _0x5306fc=_0x5ca996[_0x25df('0x6d')](_0x144d94);_0x10dcc5(_0xdc5a6e),_0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb['getCaptionFromImageModelElement'](_0x144d94),_0x30f95c[_0x25df('0x4')](_0x536c4b[_0x25df('0x8')]['createRangeOn'](_0x53714b),_0x5306fc?null:_0x25df('0x64'));});}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x64'),'chain',_0x4da4b6)),_0x536c4b[_0x25df('0x69')]['has']('ImageStyleEditing')){_0x30f95c[_0x25df('0x76')](_0x25df('0x6e'),(_0x2fb7ef,_0x2b395d)=>{const _0x2317b4=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x6a'))['me'],_0x205ea9=_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x6e'));let _0x3bcf04=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b['model'][_0x25df('0x25')](_0x3bcf04),_0x29b7cb=_0x205ea9[_0x25df('0x51')];if(_0x29b7cb==_0x2b395d[_0x25df('0x51')])return;const _0x55c18c={'commandName':'imageStyle','commandParams':[_0x2b395d],'formatGroupId':_0x251978()};_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{if(_0x30f95c[_0x25df('0x22')]()[_0x25df('0x21')](_0x2be69d=>_0x2be69d[_0x25df('0x0')]&&_0x2317b4==_0x2be69d[_0x25df('0x2e')]&&('formatBlock'==_0x2be69d[_0x25df('0x50')]||_0x25df('0x74')==_0x2be69d['type'])&&(_0x25df('0x68')==_0x2be69d[_0x25df('0x29')]||_0x25df('0x12')==_0x2be69d[_0x25df('0x29')])&&_0x2be69d['getFirstRange']()[_0x25df('0x3b')](_0x21cadd))['forEach'](_0xb823d4=>_0x30f95c[_0x25df('0xe')](_0xb823d4[_0x25df('0x5b')])),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model'][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b[_0x25df('0x8')][_0x25df('0x25')](_0x3bcf04),_0x205ea9[_0x25df('0x43')](),_0x536c4b['commands'][_0x25df('0x38')]('imageTypeInline')[_0x25df('0x43')](),_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x3c'))[_0x25df('0x43')](),_0x29b7cb=_0x205ea9[_0x25df('0x51')],_0x29b7cb!=_0x2b395d[_0x25df('0x51')])return _0x5ca996[_0x25df('0x57')](_0x3bcf04)&&_0x205ea9[_0x25df('0x4c')](_0x2b395d[_0x25df('0x51')],_0x3bcf04)?(_0x2fb7ef(_0x2b395d),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]),void _0x30f95c[_0x25df('0x75')](_0x3bcf04,{..._0x55c18c,'commandReversedParams':[{'value':_0x29b7cb||null}]},[],_0x25df('0x68'))):void(_0x5ca996['isBlockImage'](_0x3bcf04)?_0x30f95c[_0x25df('0x75')](_0x3bcf04,_0x55c18c,[],_0x25df('0x12')):_0x30f95c['markInlineFormat'](_0x21cadd,_0x55c18c,_0x25df('0x12')));});});for(const _0x27d3f7 of _0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x3a'))[_0x25df('0x63')])_0x5852b1[_0x27d3f7['name']]=_0x27d3f7[_0x25df('0x6')]['toLowerCase']();_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),'imageStylePostApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x74'),_0x25df('0x12'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x4d'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x9'),(_0x319739,_0x570674)=>{_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')]('formatBlock','',_0x25df('0x4d'))(_0x319739,{'commandName':_0x570674[_0x25df('0x39')],'commandParams':_0x570674[_0x25df('0x30')]});}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x68'),_0x25df('0x3e'),_0x4da4b6);}const _0x45cc89=[{'type':'formatBlock','subType':_0x25df('0x68')},{'type':_0x25df('0x60'),'subType':_0x25df('0x64')},{'type':_0x25df('0x6f'),'subType':_0x25df('0x1b')},{'type':'insertion','subType':_0x25df('0x1b')}];function _0x554115(_0x3b729e,_0x559682){const _0xd0e154=_0x45cc89[_0x25df('0x42')](({type:_0x3e054e,subType:_0x5a35ec})=>_0x3b729e[_0x25df('0x50')]==_0x3e054e&&_0x3b729e[_0x25df('0x29')]==_0x5a35ec),_0x159d5b=_0x45cc89[_0x25df('0x42')](({type:_0x3164c5,subType:_0x221016})=>_0x559682[_0x25df('0x50')]==_0x3164c5&&_0x559682[_0x25df('0x29')]==_0x221016);if(_0xd0e154<0x0||_0x159d5b<0x0)return!0x1;const _0x1fc839=_0x3b729e[_0x25df('0x1d')](),_0x31d71b=_0x559682[_0x25df('0x1d')]();if((0x0==_0xd0e154||0x1==_0xd0e154)&&0x2==_0x159d5b&&_0x1fc839[_0x25df('0x18')](_0x31d71b))return!0x0;if(0x2==_0xd0e154&&0x3==_0x159d5b){const _0x17aac3=_0x30f95c[_0x25df('0x56')](_0x1fc839,_0x25df('0x60'))[_0x25df('0x21')](({suggestion:_0x5a25ce,meta:_0x34c4f0})=>_0x34c4f0[_0x25df('0x4f')]&&'convertInlineImageToBlock'==_0x5a25ce['subType']);if(_0x17aac3[_0x25df('0x52')]>0x1&&_0x31d71b[_0x25df('0x20')][_0x25df('0x3b')](_0x1fc839[_0x25df('0x14')]))return!0x0;if(0x1==_0x17aac3['length']&&(_0x1fc839[_0x25df('0x14')]['isEqual'](_0x31d71b[_0x25df('0x20')])||_0x1fc839[_0x25df('0x20')][_0x25df('0x3b')](_0x31d71b[_0x25df('0x14')])))return!0x0;}if(0x3==_0xd0e154&&0x3==_0x159d5b&&_0x1fc839['start'][_0x25df('0x10')](_0x31d71b[_0x25df('0x14')])){const _0x1dfd50=_0x1fc839['end'][_0x25df('0x2c')],_0xaf6660=_0x31d71b[_0x25df('0x14')]['nodeBefore'];return _0x5ca996[_0x25df('0x6d')](_0x1dfd50)&&_0x1dfd50===_0xaf6660;}return!0x1;}function _0x4da4b6(_0x10ad34,_0x53af2e){return _0x554115(_0x10ad34,_0x53af2e)?[_0x10ad34,_0x53af2e]:_0x554115(_0x53af2e,_0x10ad34)?[_0x53af2e,_0x10ad34]:null;}_0x536c4b['model'][_0x25df('0x33')]['registerPostFixer'](()=>{let _0x57c2a3=!0x1;const _0x2b5140=Array[_0x25df('0x65')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x28')][_0x25df('0x26')]());for(const {name:_0x35e50d,data:_0x300dda}of _0x2b5140){const {group:_0xb41f07,type:_0x10fe12,subType:_0x1dac43,id:_0x1683c1}=_0x30f95c['_splitMarkerName'](_0x35e50d);if(_0x25df('0x5e')==_0xb41f07&&_0x30f95c[_0x25df('0x3f')](_0x1683c1)){if('formatBlock'==_0x10fe12&&(_0x25df('0x68')==_0x1dac43||'imageStylePostApply'==_0x1dac43)){const _0x29782e=_0x30f95c[_0x25df('0x4a')](_0x1683c1);if(_0x300dda[_0x25df('0x5f')]){const _0x3b3186=_0x29782e[_0x25df('0x1d')]()['getContainedElement']();if(_0x5ca996[_0x25df('0x6d')](_0x3b3186))continue;_0x30f95c[_0x25df('0xe')](_0x29782e),_0x57c2a3=!0x0;}}if(_0x25df('0x60')==_0x10fe12&&_0x25df('0x64')==_0x1dac43&&!_0x300dda[_0x25df('0x5f')]){const _0x561484=_0x30f95c[_0x25df('0x4a')](_0x1683c1);_0x561484[_0x25df('0x72')]&&_0x561484[_0x25df('0x72')][_0x25df('0x0')]&&(_0x30f95c[_0x25df('0xe')](_0x561484['next']),_0x57c2a3=!0x0);}}}return _0x57c2a3;}),_0x536c4b['plugins'][_0x25df('0x71')](_0x25df('0x5'))&&_0x30f95c[_0x25df('0x76')](_0x25df('0x37'),(_0x3c1ef4,_0x285c46)=>{const _0x47596a=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]);_0x47596a['getAttribute'](_0x25df('0x61'))!=_0x285c46['width']&&_0x536c4b['model'][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x47596a,{'commandName':_0x25df('0x37'),'commandParams':[_0x285c46]});});}),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x2f'))&&_0x30f95c['enableCommand'](_0x25df('0x73'),(_0x1d1177,_0x5a64b7)=>{const _0x28add7=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']);(_0x28add7[_0x25df('0x35')](_0x25df('0x6b'))?_0x28add7[_0x25df('0xa')](_0x25df('0x6b')):'')!=_0x5a64b7[_0x25df('0x11')]&&_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c['markBlockFormat'](_0x28add7,{'commandName':_0x25df('0x73'),'commandParams':[_0x5a64b7]});});}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x3a07a4=>{if(!!_0x45cc89[_0x25df('0x2d')](({type:_0x17f26a,subType:_0x5b3506})=>_0x3a07a4[_0x25df('0x50')]==_0x17f26a&&_0x3a07a4[_0x25df('0x29')]==_0x5b3506))return _0x3a07a4[_0x25df('0x2')]?{}:void 0x0;}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x2f7be6=>{if(_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]||_0x25df('0x66')==_0x2f7be6[_0x25df('0x50')]){const _0x5c7353=_0x2f7be6['getContainedElement']();if(_0x5c7353&&_0x5c7353['is'](_0x25df('0x36'),_0x25df('0x1')))return{'type':_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]?_0x25df('0x19'):_0x25df('0x1a'),'element':_0x5c7353,'quantity':0x1};}}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x34fb3e=>_0x25df('0x6f')==_0x34fb3e[_0x25df('0x50')]&&_0x25df('0x1b')==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x34fb3e[_0x25df('0x50')]&&'convertBlockImageToInline'==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x30f95c[_0x25df('0x47')]['registerDescriptionCallback'](_0x43c041=>{const {data:_0x4ae535}=_0x43c041;if(_0x4ae535){if(_0x25df('0x6e')==_0x4ae535[_0x25df('0x39')]){const _0x4fd535=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x51')];return _0x4bcadb('side'===_0x4fd535?_0x32720a(_0x49e9d2,_0x25df('0x77')):_0x5852b1[_0x4fd535]||_0x4fd535);}if(_0x25df('0x73')==_0x4ae535['commandName']){const _0x3213ec=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x11')];return _0x3213ec?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x5c'),'\x22'+_0x3213ec+'\x22')}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x62'))};}if(_0x25df('0x37')==_0x4ae535[_0x25df('0x39')]){const _0x3111df=_0x4ae535[_0x25df('0x4b')][0x0]['width'];return _0x3111df?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x34'),_0x3111df)}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,'*Reset\x20image\x20width*')};}}function _0x4bcadb(_0x4f7922){return{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x67'),_0x4f7922)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1749=['plugins','Users','value','_trackChangesValueDuringImport','trackChanges','bind','collaboration_features','high','execute','importWord','forEach','afterInit','addSuggestionData','_handleImportedData','track_changes','listenTo','commands','editor','dataInsert','get','TrackChangesEditing','_trackChangesExecuted'];(function(_0x102696,_0x174985){const _0x40269c=function(_0x38d038){while(--_0x38d038){_0x102696['push'](_0x102696['shift']());}};_0x40269c(++_0x174985);}(_0x1749,0xa7));const _0x4026=function(_0x102696,_0x174985){_0x102696=_0x102696-0x0;let _0x40269c=_0x1749[_0x102696];return _0x40269c;};import{Plugin as _0x2cbc82}from'ckeditor5/src/core';import _0x3d6d21 from'../trackchangesediting';export default class X extends _0x2cbc82{constructor(_0x3caf0f){super(_0x3caf0f),this['_trackChangesValueDuringImport']=!0x1,this[_0x4026('0x8')]=!0x1;}[_0x4026('0x14')](){const _0x59ed1e=this['editor'],_0x444021=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0x12')),_0x3d14bb=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0xd'));_0x444021&&(_0x444021['on'](_0x4026('0x11'),(_0xf23ef1,[,_0x4225b7])=>{this[_0x4026('0xc')]=_0x3d14bb[_0x4026('0xb')],_0x4225b7[_0x4026('0xf')][_0x4026('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4026('0x10')}),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),this['_handleImportedData'][_0x4026('0xe')](this)),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),()=>{this[_0x4026('0x8')]&&(_0x3d14bb[_0x4026('0x11')](),this[_0x4026('0x8')]=!0x1);},{'priority':'lowest'}),_0x59ed1e[_0x4026('0x9')][_0x4026('0x6')](_0x4026('0x7'))['enableCommand'](_0x4026('0x12')));}[_0x4026('0x0')](_0x8c0dbc,_0x1f9b7b){const {suggestions:_0x47a3c0}=_0x1f9b7b,_0x7bf5ca=this[_0x4026('0x4')][_0x4026('0x3')]['get'](_0x4026('0xd')),_0x3fa4a7=_0x7bf5ca[_0x4026('0xb')];this[_0x4026('0xc')]!==_0x3fa4a7&&(_0x7bf5ca['execute'](),this[_0x4026('0x8')]=!0x0),_0x47a3c0&&_0x47a3c0[_0x4026('0x13')](({id:_0x3fabdd,type:_0x5859d2,author:_0x572df7,created_at:_0x2b62f7})=>{const _0x562602={'id':_0x3fabdd,'type':_0x5859d2,'authorId':this[_0x4026('0x4')]['plugins']['get'](_0x4026('0xa'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x572df7,'createdAt':_0x2b62f7?new Date(_0x2b62f7):new Date()}}};this[_0x4026('0x4')][_0x4026('0x9')][_0x4026('0x6')](_0x3d6d21)[_0x4026('0x15')](_0x562602);});}}
23
+ const _0x5000=['execute','enableCommand','collaboration_features','value','forEach','plugins','_trackChangesExecuted','get','afterInit','editor','_setSuggestionData','importWord','trackChanges','_handleImportedData','bind','commands','track_changes','_trackChangesValueDuringImport','listenTo','dataInsert'];(function(_0x57adea,_0x5000b6){const _0x57bf2b=function(_0x48bacb){while(--_0x48bacb){_0x57adea['push'](_0x57adea['shift']());}};_0x57bf2b(++_0x5000b6);}(_0x5000,0x1d4));const _0x57bf=function(_0x57adea,_0x5000b6){_0x57adea=_0x57adea-0x0;let _0x57bf2b=_0x5000[_0x57adea];return _0x57bf2b;};import{Plugin as _0x981ef7}from'ckeditor5/src/core';import _0x258de6 from'../trackchangesediting';export default class X extends _0x981ef7{constructor(_0x5e6fc4){super(_0x5e6fc4),this[_0x57bf('0x9')]=!0x1,this[_0x57bf('0x12')]=!0x1;}[_0x57bf('0x0')](){const _0x370e3d=this[_0x57bf('0x1')],_0x221fe7=_0x370e3d[_0x57bf('0x7')]['get']('importWord'),_0x51d488=_0x370e3d[_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4'));_0x221fe7&&(_0x221fe7['on'](_0x57bf('0xc'),(_0x305c8b,[,_0x18c304])=>{this[_0x57bf('0x9')]=_0x51d488[_0x57bf('0xf')],_0x18c304[_0x57bf('0xe')][_0x57bf('0x8')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x57bf('0xa')](_0x221fe7,_0x57bf('0xb'),this[_0x57bf('0x5')][_0x57bf('0x6')](this)),this[_0x57bf('0xa')](_0x221fe7,'dataInsert',()=>{this[_0x57bf('0x12')]&&(_0x51d488[_0x57bf('0xc')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x370e3d[_0x57bf('0x11')][_0x57bf('0x13')]('TrackChangesEditing')[_0x57bf('0xd')](_0x57bf('0x3')));}[_0x57bf('0x5')](_0x177c6a,_0x3e6fae){const {suggestions:_0x2cc2f2}=_0x3e6fae,_0x3e5433=this[_0x57bf('0x1')][_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4')),_0x1d0944=_0x3e5433[_0x57bf('0xf')];this[_0x57bf('0x9')]!==_0x1d0944&&(_0x3e5433[_0x57bf('0xc')](),this[_0x57bf('0x12')]=!0x0),_0x2cc2f2&&_0x2cc2f2[_0x57bf('0x10')](({id:_0x99e601,type:_0x2be075,author:_0x469642,created_at:_0x38a878})=>{const _0x4a3dc8={'id':_0x99e601,'type':_0x2be075,'authorId':this['editor'][_0x57bf('0x11')][_0x57bf('0x13')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x469642,'createdAt':_0x38a878?new Date(_0x38a878):new Date(),'source':_0x57bf('0x3')}}};this[_0x57bf('0x1')][_0x57bf('0x11')][_0x57bf('0x13')](_0x258de6)[_0x57bf('0x2')](_0x4a3dc8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365f=['change','indent','format','filter','indentBlock','blockIndent','has','enableCommand','model','editor','*Outdent:*\x20%0','getItems','schema','getSelectedBlocks','plugins','selection','afterInit','registerDescriptionCallback','locale','commandName','IndentEditing','checkAttribute','*Indent:*\x20%0','document','outdentBlock','TrackChangesEditing','_descriptionFactory','from'];(function(_0x2ec9d6,_0x365f4e){const _0x33a9c7=function(_0xa28cd6){while(--_0xa28cd6){_0x2ec9d6['push'](_0x2ec9d6['shift']());}};_0x33a9c7(++_0x365f4e);}(_0x365f,0x128));const _0x33a9=function(_0x2ec9d6,_0x365f4e){_0x2ec9d6=_0x2ec9d6-0x0;let _0x33a9c7=_0x365f[_0x2ec9d6];return _0x33a9c7;};import{Plugin as _0x3596ac}from'ckeditor5/src/core';import{getTranslation as _0x2cb20e}from'../utils/common-translations';export default class Y extends _0x3596ac{[_0x33a9('0x0')](){const _0x37892a=this[_0x33a9('0x15')],_0x1fc5f=_0x37892a[_0x33a9('0x1a')]['get'](_0x33a9('0x9'));_0x37892a[_0x33a9('0x1a')][_0x33a9('0x12')](_0x33a9('0x4'))&&(_0x1fc5f[_0x33a9('0x13')](_0x33a9('0xd')),_0x1fc5f[_0x33a9('0x13')]('outdent'));const _0x33133d=_0x37892a[_0x33a9('0x2')];if(_0x37892a[_0x33a9('0x1a')]['has']('IndentBlock')){for(const _0x42d667 of[_0x33a9('0x10'),_0x33a9('0x8')])_0x1fc5f[_0x33a9('0x13')](_0x42d667,()=>{const _0x5b903a=Array[_0x33a9('0xb')](this[_0x33a9('0x15')][_0x33a9('0x14')][_0x33a9('0x7')][_0x33a9('0x1b')][_0x33a9('0x19')]())[_0x33a9('0xf')](_0xfb108c=>this['editor'][_0x33a9('0x14')][_0x33a9('0x18')][_0x33a9('0x5')](_0xfb108c,_0x33a9('0x11')));_0x37892a[_0x33a9('0x14')][_0x33a9('0xc')](()=>{for(const _0x483ff2 of _0x5b903a)_0x1fc5f['markBlockFormat'](_0x483ff2,{'commandName':_0x42d667,'commandParams':[{'value':''}],'formatGroupId':_0x33a9('0x10')});});});_0x1fc5f['_descriptionFactory'][_0x33a9('0x1')](_0xa8ff4a=>{const {data:_0x23c151}=_0xa8ff4a;if(!_0x23c151)return;if(_0x33a9('0x10')!=_0x23c151[_0x33a9('0x3')]&&_0x33a9('0x8')!=_0x23c151[_0x33a9('0x3')])return;const _0x9b1811=_0xa8ff4a[_0x33a9('0x17')]()[0x0],_0x35941d=_0x1fc5f[_0x33a9('0xa')]['getItemLabel'](_0x9b1811['name']);return _0x33a9('0x10')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x6'),_0x35941d)}:_0x33a9('0x8')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x16'),_0x35941d)}:void 0x0;});}}}
23
+ const _0x4d3c=['getItemLabel','outdentBlock','afterInit','enableCommand','*Outdent:*\x20%0','IndentBlock','document','IndentEditing','editor','commandName','getSelectedBlocks','*Indent:*\x20%0','has','outdent','registerDescriptionCallback','filter','change','indentBlock','_descriptionFactory','indent','model','TrackChangesEditing','blockIndent','checkAttribute','selection','plugins','markBlockFormat'];(function(_0x42591a,_0x4d3ca9){const _0x2ccfd0=function(_0x536560){while(--_0x536560){_0x42591a['push'](_0x42591a['shift']());}};_0x2ccfd0(++_0x4d3ca9);}(_0x4d3c,0x17a));const _0x2ccf=function(_0x42591a,_0x4d3ca9){_0x42591a=_0x42591a-0x0;let _0x2ccfd0=_0x4d3c[_0x42591a];return _0x2ccfd0;};import{Plugin as _0x309bd5}from'ckeditor5/src/core';import{getTranslation as _0x100207}from'../utils/common-translations';export default class Y extends _0x309bd5{[_0x2ccf('0x2')](){const _0x3430b0=this[_0x2ccf('0x8')],_0x70b8fb=_0x3430b0[_0x2ccf('0x19')]['get'](_0x2ccf('0x15'));_0x3430b0['plugins'][_0x2ccf('0xc')](_0x2ccf('0x7'))&&(_0x70b8fb['enableCommand'](_0x2ccf('0x13')),_0x70b8fb[_0x2ccf('0x3')](_0x2ccf('0xd')));const _0x5f1586=_0x3430b0['locale'];if(_0x3430b0[_0x2ccf('0x19')][_0x2ccf('0xc')](_0x2ccf('0x5'))){for(const _0x3e41f7 of[_0x2ccf('0x11'),'outdentBlock'])_0x70b8fb[_0x2ccf('0x3')](_0x3e41f7,()=>{const _0xb849c9=Array['from'](this[_0x2ccf('0x8')][_0x2ccf('0x14')][_0x2ccf('0x6')][_0x2ccf('0x18')][_0x2ccf('0xa')]())[_0x2ccf('0xf')](_0x5d472a=>this[_0x2ccf('0x8')][_0x2ccf('0x14')]['schema'][_0x2ccf('0x17')](_0x5d472a,_0x2ccf('0x16')));_0x3430b0[_0x2ccf('0x14')][_0x2ccf('0x10')](()=>{for(const _0x628c18 of _0xb849c9)_0x70b8fb[_0x2ccf('0x1a')](_0x628c18,{'commandName':_0x3e41f7,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0xe')](_0x225023=>{const {data:_0xeb6727}=_0x225023;if(!_0xeb6727)return;if(_0x2ccf('0x11')!=_0xeb6727[_0x2ccf('0x9')]&&_0x2ccf('0x1')!=_0xeb6727['commandName'])return;const _0x6a95e4=_0x225023['getItems']()[0x0],_0x37e36c=_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0x0')](_0x6a95e4);return _0x2ccf('0x11')==_0xeb6727['commandName']?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0xb'),_0x37e36c)}:_0x2ccf('0x1')==_0xeb6727[_0x2ccf('0x9')]?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0x4'),_0x37e36c)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fde=['TrackChangesEditing','plugins','editor','requires','enableCommand','init','input'];(function(_0x830148,_0x4fde1a){var _0x5877c7=function(_0x4cf158){while(--_0x4cf158){_0x830148['push'](_0x830148['shift']());}};_0x5877c7(++_0x4fde1a);}(_0x4fde,0x86));var _0x5877=function(_0x830148,_0x4fde1a){_0x830148=_0x830148-0x0;var _0x5877c7=_0x4fde[_0x830148];return _0x5877c7;};import{Plugin as _0x387ebd}from'ckeditor5/src/core';import{Input as _0x4168e6}from'ckeditor5/src/typing';export default class Z extends _0x387ebd{static get[_0x5877('0x2')](){return[_0x4168e6];}[_0x5877('0x4')](){this[_0x5877('0x1')][_0x5877('0x0')]['get'](_0x5877('0x6'))[_0x5877('0x3')](_0x5877('0x5'));}}
23
+ var _0xe8ca=['enableCommand','editor','get','plugins','requires','input','init','TrackChangesEditing'];(function(_0x546c04,_0xe8ca1a){var _0x4fc63a=function(_0x4d0f42){while(--_0x4d0f42){_0x546c04['push'](_0x546c04['shift']());}};_0x4fc63a(++_0xe8ca1a);}(_0xe8ca,0x1c6));var _0x4fc6=function(_0x546c04,_0xe8ca1a){_0x546c04=_0x546c04-0x0;var _0x4fc63a=_0xe8ca[_0x546c04];return _0x4fc63a;};import{Plugin as _0x56353e}from'ckeditor5/src/core';import{Input as _0x4016c1}from'ckeditor5/src/typing';export default class Z extends _0x56353e{static get[_0x4fc6('0x6')](){return[_0x4016c1];}[_0x4fc6('0x0')](){this[_0x4fc6('0x3')][_0x4fc6('0x5')][_0x4fc6('0x4')](_0x4fc6('0x1'))[_0x4fc6('0x2')](_0x4fc6('0x7'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x552b=['linkHref','change','unlink','plugins','*Remove\x20link*','LinkEditing','editor','commandName','hasAttribute','getAttribute','link','*Set\x20link:*\x20%0','model','has','format','enableCommand','_descriptionFactory','markInlineFormat','commandParams','isCollapsed','document','selection','from','get','getFirstPosition','locale'];(function(_0x4aa6e9,_0x552b95){const _0x568ac6=function(_0x1186cd){while(--_0x1186cd){_0x4aa6e9['push'](_0x4aa6e9['shift']());}};_0x568ac6(++_0x552b95);}(_0x552b,0x19d));const _0x568a=function(_0x4aa6e9,_0x552b95){_0x4aa6e9=_0x4aa6e9-0x0;let _0x568ac6=_0x552b[_0x4aa6e9];return _0x568ac6;};import{Plugin as _0x51156c}from'ckeditor5/src/core';import{findAttributeRange as _0x2a0586}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1a093e}from'./utils';import{getTranslation as _0x1738ec}from'../utils/common-translations';export default class tt extends _0x51156c{['afterInit'](){const _0x14f684=this[_0x568a('0x9')];if(!_0x14f684[_0x568a('0x6')][_0x568a('0x10')](_0x568a('0x8')))return;const _0xeaa3e8=_0x14f684['plugins'][_0x568a('0x0')]('TrackChangesEditing');_0xeaa3e8[_0x568a('0x12')](_0x568a('0xd'),(_0x24d553,_0x4efeed)=>{const _0x411e42=_0x14f684[_0x568a('0xf')][_0x568a('0x17')][_0x568a('0x18')];let _0x35a008=[];if(_0x411e42['isCollapsed']){if(!_0x411e42[_0x568a('0xb')](_0x568a('0x3')))return void _0x24d553(_0x4efeed);{const _0x43e6d6=_0x2a0586(_0x411e42['getFirstPosition'](),'linkHref',_0x411e42[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')]);_0x35a008=[_0x43e6d6];}}else _0x35a008=Array[_0x568a('0x19')](_0x411e42['getRanges']());_0x14f684[_0x568a('0xf')][_0x568a('0x4')](()=>{for(const _0x18e707 of _0x35a008)_0xeaa3e8[_0x568a('0x14')](_0x18e707,{'commandName':_0x568a('0xd'),'commandParams':[_0x4efeed]});});}),_0xeaa3e8[_0x568a('0x12')](_0x568a('0x5'),()=>{const _0x57712d=this[_0x568a('0x9')][_0x568a('0xf')],_0x12b4e4=_0x57712d[_0x568a('0x17')][_0x568a('0x18')];_0x57712d[_0x568a('0x4')](()=>{let _0x437315=[];if(_0x12b4e4[_0x568a('0x16')])_0x437315=[_0x2a0586(_0x12b4e4[_0x568a('0x1')](),_0x568a('0x3'),_0x12b4e4[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')])];else _0x437315=_0x1a093e(_0x568a('0x3'),_0x12b4e4['getFirstRange'](),_0x14f684['model']);for(const _0x98b69f of _0x437315)_0xeaa3e8[_0x568a('0x14')](_0x98b69f,{'commandName':'unlink','commandParams':[]});});}),_0xeaa3e8[_0x568a('0x13')]['registerDescriptionCallback'](_0x1b72d8=>{const {data:_0x8a218a}=_0x1b72d8,_0x23d7c4=_0x14f684[_0x568a('0x2')];if(_0x8a218a){if('link'==_0x8a218a[_0x568a('0xa')]){const _0x26923a=_0x8a218a[_0x568a('0x15')][0x0];return{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0xe'),'\x22'+_0x26923a+'\x22')};}return'unlink'==_0x8a218a[_0x568a('0xa')]?{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0x7'))}:void 0x0;}});}}
23
+ const _0x3a13=['*Set\x20link:*\x20%0','commandName','format','getAttribute','getFirstPosition','afterInit','has','plugins','_descriptionFactory','locale','LinkEditing','editor','markInlineFormat','document','model','get','enableCommand','TrackChangesEditing','link','hasAttribute','unlink','selection','getFirstRange','isCollapsed','from','linkHref','registerDescriptionCallback'];(function(_0x50a587,_0x3a132a){const _0x4c8549=function(_0x581bd6){while(--_0x581bd6){_0x50a587['push'](_0x50a587['shift']());}};_0x4c8549(++_0x3a132a);}(_0x3a13,0x1b7));const _0x4c85=function(_0x50a587,_0x3a132a){_0x50a587=_0x50a587-0x0;let _0x4c8549=_0x3a13[_0x50a587];return _0x4c8549;};import{Plugin as _0x4c4b95}from'ckeditor5/src/core';import{findAttributeRange as _0x41cfef}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x30fb20}from'./utils';import{getTranslation as _0x1e25c3}from'../utils/common-translations';export default class tt extends _0x4c4b95{[_0x4c85('0x19')](){const _0x2480ec=this[_0x4c85('0x4')];if(!_0x2480ec[_0x4c85('0x0')][_0x4c85('0x1a')](_0x4c85('0x3')))return;const _0x3201c3=_0x2480ec[_0x4c85('0x0')][_0x4c85('0x8')](_0x4c85('0xa'));_0x3201c3['enableCommand'](_0x4c85('0xb'),(_0x2e8876,_0x4cd395)=>{const _0x2bfb5f=_0x2480ec[_0x4c85('0x7')][_0x4c85('0x6')][_0x4c85('0xe')];let _0x4aec53=[];if(_0x2bfb5f[_0x4c85('0x10')]){if(!_0x2bfb5f[_0x4c85('0xc')](_0x4c85('0x12')))return void _0x2e8876(_0x4cd395);{const _0x21fe84=_0x41cfef(_0x2bfb5f[_0x4c85('0x18')](),_0x4c85('0x12'),_0x2bfb5f[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec[_0x4c85('0x7')]);_0x4aec53=[_0x21fe84];}}else _0x4aec53=Array[_0x4c85('0x11')](_0x2bfb5f['getRanges']());_0x2480ec[_0x4c85('0x7')]['change'](()=>{for(const _0x119857 of _0x4aec53)_0x3201c3[_0x4c85('0x5')](_0x119857,{'commandName':_0x4c85('0xb'),'commandParams':[_0x4cd395]});});}),_0x3201c3[_0x4c85('0x9')]('unlink',()=>{const _0x1dfec1=this[_0x4c85('0x4')]['model'],_0x20e293=_0x1dfec1['document'][_0x4c85('0xe')];_0x1dfec1['change'](()=>{let _0x38698c=[];if(_0x20e293[_0x4c85('0x10')])_0x38698c=[_0x41cfef(_0x20e293[_0x4c85('0x18')](),_0x4c85('0x12'),_0x20e293[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec['model'])];else _0x38698c=_0x30fb20(_0x4c85('0x12'),_0x20e293[_0x4c85('0xf')](),_0x2480ec[_0x4c85('0x7')]);for(const _0x4fd63e of _0x38698c)_0x3201c3[_0x4c85('0x5')](_0x4fd63e,{'commandName':_0x4c85('0xd'),'commandParams':[]});});}),_0x3201c3[_0x4c85('0x1')][_0x4c85('0x13')](_0x1b70b8=>{const {data:_0x4b74a8}=_0x1b70b8,_0x2e1af4=_0x2480ec[_0x4c85('0x2')];if(_0x4b74a8){if(_0x4c85('0xb')==_0x4b74a8[_0x4c85('0x15')]){const _0x4be77d=_0x4b74a8['commandParams'][0x0];return{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,_0x4c85('0x14'),'\x22'+_0x4be77d+'\x22')};}return _0x4c85('0xd')==_0x4b74a8[_0x4c85('0x15')]?{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x592b=['listType','numbered','end','value','*Change\x20to:*\x20%0','editor','registerDescriptionCallback','schema','_descriptionFactory','length','blockName','format','*Outdent:*\x20%0','document','get','bulletedList','checkChild','*Indent:*\x20%0','parent','TrackChangesEditing','findIndex','ELEMENT_LIST_ITEM','enableCommand','commands','indentList','selection','bulleted','from','model','has','name','List','outdentList','createRange','commandParams','previousSibling','element','push','slice','ListEditing','add','ELEMENT_BULLETED_LIST','isObject','numberedList','listIndent','createPositionAt','listItem','commandName','checkTodoList','ELEMENT_NUMBERED_LIST','markBlockFormat','forceValue','ELEMENT_TODO_LIST','locale','filter','replace','*Check\x20item*','plugins','nextSibling','change','getAttribute','getSelectedBlocks','*Uncheck\x20item*','todoListChecked','todo'];(function(_0x31f34f,_0x592bef){const _0x203a54=function(_0x59c0be){while(--_0x59c0be){_0x31f34f['push'](_0x31f34f['shift']());}};_0x203a54(++_0x592bef);}(_0x592b,0x136));const _0x203a=function(_0x31f34f,_0x592bef){_0x31f34f=_0x31f34f-0x0;let _0x203a54=_0x592b[_0x31f34f];return _0x203a54;};import{Plugin as _0x213ea9}from'ckeditor5/src/core';import{getTranslation as _0x150b7b}from'../utils/common-translations';export default class it extends _0x213ea9{['afterInit'](){const _0x448bc0=this[_0x203a('0x14')],_0x3f77a4=_0x448bc0[_0x203a('0x3')];if(!_0x448bc0[_0x203a('0x7')][_0x203a('0x2c')](_0x203a('0x36')))return;const _0x54ed21=_0x448bc0[_0x203a('0x7')]['get'](_0x203a('0x22')),_0x4fbffd=_0x448bc0[_0x203a('0x7')][_0x203a('0x2c')]('TodoListEditing');function _0x48a62a(_0x5c8869){return()=>{const _0xa0c860=_0x448bc0[_0x203a('0x2b')][_0x203a('0x1c')][_0x203a('0x28')],_0x1b1cc9=_0x448bc0[_0x203a('0x26')][_0x203a('0x1d')](_0x5c8869);if(_0x1b1cc9['value'])return void _0x448bc0['execute']('paragraph',{});const _0x69e598=_0x5c8869['slice'](0x0,-0x4),_0x426f7c=function(_0x4fd6bd,_0xd001f6,_0x3d2b80){let _0x12f625=Array[_0x203a('0x2a')](_0x4fd6bd)['filter'](_0x1c2e1f=>function(_0x3c1e3e,_0x4ba3a0){return _0x4ba3a0[_0x203a('0x1f')](_0x3c1e3e[_0x203a('0x21')],_0x203a('0x3d'))&&!_0x4ba3a0[_0x203a('0x39')](_0x3c1e3e);}(_0x1c2e1f,_0x3d2b80));_0x12f625=_0x12f625[_0x203a('0x4')](_0x3c2b0c=>!_0x3c2b0c['is']('element',_0x203a('0x3d'))||_0x3c2b0c[_0x203a('0xa')](_0x203a('0xf'))!=_0xd001f6);const _0x47acf3=new Set();for(const _0x12224a of _0x12f625)_0x12224a['is']('element','listItem')?_0x47acf3[_0x203a('0x37')](Lt(_0x12224a)):_0x47acf3[_0x203a('0x37')](_0x12224a);return Array[_0x203a('0x2a')](_0x47acf3);}(_0xa0c860['getSelectedBlocks'](),_0x69e598,_0x448bc0[_0x203a('0x2b')][_0x203a('0x16')]);_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{for(const _0x442743 of _0x426f7c)_0x54ed21[_0x203a('0x0')](_0x442743,{'commandName':_0x5c8869,'commandParams':[{'forceValue':!_0x1b1cc9['value']}],'formatGroupId':_0x203a('0x19')},Mt(_0x442743));});};}function _0xfe580(_0x42d35f){return()=>{const _0x43b9a3=function(_0x31a002){const _0xb61375=(_0x31a002=Array[_0x203a('0x2a')](_0x31a002))[_0x203a('0x23')](_0x465431=>'listItem'!=_0x465431[_0x203a('0x2d')]);return _0xb61375>-0x1&&(_0x31a002=_0x31a002[_0x203a('0x35')](0x0,_0xb61375)),_0x31a002;}(_0x448bc0[_0x203a('0x2b')][_0x203a('0x1c')][_0x203a('0x28')][_0x203a('0xb')]()),_0x48bcae=_0x448bc0[_0x203a('0x2b')][_0x203a('0x30')](_0x448bc0[_0x203a('0x2b')][_0x203a('0x3c')](_0x43b9a3[0x0],'before'),_0x448bc0[_0x203a('0x2b')]['createPositionAt'](_0x43b9a3[_0x43b9a3[_0x203a('0x18')]-0x1],_0x203a('0x11')));_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{_0x54ed21[_0x203a('0x0')](_0x48bcae,{'commandName':_0x42d35f,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4ec261){const _0x556d96=new Set();for(const _0x993924 of _0x4ec261){let _0x67c9d0=_0x993924[_0x203a('0x8')];for(;_0x67c9d0&&_0x67c9d0[_0x203a('0xa')](_0x203a('0x3b'))>_0x993924['getAttribute'](_0x203a('0x3b'));)_0x556d96[_0x203a('0x37')](_0x67c9d0),_0x67c9d0=_0x67c9d0[_0x203a('0x8')];}return Array['from'](_0x556d96);}(_0x43b9a3));});};}_0x54ed21[_0x203a('0x25')](_0x203a('0x3a'),_0x48a62a('numberedList')),_0x54ed21['enableCommand'](_0x203a('0x1e'),_0x48a62a('bulletedList')),_0x4fbffd&&_0x54ed21[_0x203a('0x25')]('todoList',_0x48a62a('todoList')),_0x54ed21[_0x203a('0x25')](_0x203a('0x27'),_0xfe580('indentList')),_0x54ed21[_0x203a('0x25')](_0x203a('0x2f'),_0xfe580(_0x203a('0x2f'))),_0x4fbffd&&_0x54ed21[_0x203a('0x25')](_0x203a('0x3f'),()=>{const _0x5e0495=_0x448bc0['commands'][_0x203a('0x1d')](_0x203a('0x3f')),_0x31749f=Array[_0x203a('0x2a')](_0x5e0495['_selectedElements']);_0x31749f[_0x203a('0x4')](_0x5cf38e=>_0x5cf38e[_0x203a('0xa')](_0x203a('0xd'))!=_0x5e0495[_0x203a('0x12')]),_0x448bc0[_0x203a('0x2b')][_0x203a('0x9')](()=>{for(const _0x3acdad of _0x31749f)_0x54ed21['markBlockFormat'](_0x3acdad,{'commandName':_0x203a('0x3f'),'commandParams':[{'forceValue':!_0x5e0495[_0x203a('0x12')]}]});});}),_0x54ed21[_0x203a('0x17')]['registerElementLabel'](_0x203a('0x3d'),_0x33ed27=>_0x150b7b(_0x3f77a4,_0x203a('0x24'),_0x33ed27)),_0x54ed21['_descriptionFactory'][_0x203a('0x15')](_0x24aa7=>{const {data:_0xbeefb4}=_0x24aa7;if(_0xbeefb4){if(_0x203a('0x3a')==_0xbeefb4[_0x203a('0x3e')]||'bulletedList'==_0xbeefb4['commandName']||'todoList'==_0xbeefb4[_0x203a('0x3e')])switch(_0xbeefb4[_0x203a('0x3e')][_0x203a('0x5')](_0x203a('0x2e'),'')){case _0x203a('0x29'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x38')));case _0x203a('0x10'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x40')));case _0x203a('0xe'):return _0x362a2d(_0x150b7b(_0x3f77a4,_0x203a('0x2')));}if('indentList'==_0xbeefb4[_0x203a('0x3e')])return{'type':'format','content':_0x150b7b(_0x3f77a4,_0x203a('0x20'),_0x150b7b(_0x3f77a4,_0x203a('0x24')))};if(_0x203a('0x2f')==_0xbeefb4[_0x203a('0x3e')])return{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x1b'),_0x150b7b(_0x3f77a4,_0x203a('0x24')))};if(_0x203a('0x3f')==_0xbeefb4[_0x203a('0x3e')])return _0xbeefb4[_0x203a('0x31')][0x0][_0x203a('0x1')]?{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x6'))}:{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0xc'))};}function _0x362a2d(_0xa84e57){return{'type':_0x203a('0x1a'),'content':_0x150b7b(_0x3f77a4,_0x203a('0x13'),_0xa84e57)};}});}}function Lt(_0x3d87e0){const _0x2a46bb=_0x3d87e0[_0x203a('0xa')](_0x203a('0x3b'));if(0x0==_0x2a46bb)return _0x3d87e0;let _0x2cfcef=_0x3d87e0;for(;_0x3d87e0[_0x203a('0x32')]&&_0x3d87e0['previousSibling']['is'](_0x203a('0x33'),_0x203a('0x3d'));){const _0x5a7fd9=_0x3d87e0[_0x203a('0x32')][_0x203a('0xa')](_0x203a('0x3b'));if(_0x5a7fd9==_0x2a46bb)_0x2cfcef=_0x3d87e0[_0x203a('0x32')];else{if(_0x5a7fd9<_0x2a46bb)break;}_0x3d87e0=_0x3d87e0[_0x203a('0x32')];}return _0x2cfcef;}function Mt(_0x5975f8){const _0x37d2cb=[];if(_0x5975f8['is'](_0x203a('0x33'),_0x203a('0x3d'))&&_0x5975f8['getAttribute'](_0x203a('0x3b'))>0x0){let _0x36a4a3=_0x5975f8['nextSibling'];for(;_0x36a4a3&&_0x203a('0x3d')==_0x36a4a3[_0x203a('0x2d')]&&_0x36a4a3[_0x203a('0xa')](_0x203a('0x3b'))==_0x5975f8[_0x203a('0xa')](_0x203a('0x3b'));)_0x37d2cb[_0x203a('0x34')](_0x36a4a3),_0x36a4a3=_0x36a4a3[_0x203a('0x8')];}return _0x37d2cb;}
23
+ const _0x187e=['listType','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','locale','format','length','bulletedList','filter','afterInit','commandName','getAttribute','blockName','todoList','listItem','push','execute','checkChild','ELEMENT_LIST_ITEM','_selectedElements','markBlockFormat','value','slice','numbered','from','registerElementLabel','*Check\x20item*','numberedList','add','*Outdent:*\x20%0','indentList','TodoListEditing','selection','before','model','commands','name','getSelectedBlocks','plugins','todo','List','outdentList','has','createPositionAt','checkTodoList','*Uncheck\x20item*','ELEMENT_TODO_LIST','listIndent','ListEditing','get','ELEMENT_NUMBERED_LIST','paragraph','end','findIndex','enableCommand','nextSibling','document','editor','registerDescriptionCallback','replace','createRange','change','bulleted','previousSibling','element'];(function(_0x3e4bb8,_0x187e67){const _0x18ead8=function(_0x1ba9f4){while(--_0x1ba9f4){_0x3e4bb8['push'](_0x3e4bb8['shift']());}};_0x18ead8(++_0x187e67);}(_0x187e,0x169));const _0x18ea=function(_0x3e4bb8,_0x187e67){_0x3e4bb8=_0x3e4bb8-0x0;let _0x18ead8=_0x187e[_0x3e4bb8];return _0x18ead8;};import{Plugin as _0x281802}from'ckeditor5/src/core';import{getTranslation as _0x19ae03}from'../utils/common-translations';export default class it extends _0x281802{[_0x18ea('0x1f')](){const _0x36a5fb=this[_0x18ea('0xf')],_0x3ec3d1=_0x36a5fb[_0x18ea('0x1a')];if(!_0x36a5fb['plugins'][_0x18ea('0x0')](_0x18ea('0x6')))return;const _0x22060b=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x7')]('TrackChangesEditing'),_0x504784=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x0')](_0x18ea('0x35'));function _0x286584(_0x3c3b9b){return()=>{const _0x270713=_0x36a5fb['model'][_0x18ea('0xe')][_0x18ea('0x36')],_0x3554ee=_0x36a5fb[_0x18ea('0x39')]['get'](_0x3c3b9b);if(_0x3554ee[_0x18ea('0x2b')])return void _0x36a5fb[_0x18ea('0x26')](_0x18ea('0x9'),{});const _0x5209d6=_0x3c3b9b[_0x18ea('0x2c')](0x0,-0x4),_0x3144b8=function(_0xdc3ba5,_0xfaca2e,_0x21db70){let _0x349be5=Array[_0x18ea('0x2e')](_0xdc3ba5)[_0x18ea('0x1e')](_0x47c04d=>function(_0x307387,_0x5dab8f){return _0x5dab8f[_0x18ea('0x27')](_0x307387['parent'],_0x18ea('0x24'))&&!_0x5dab8f['isObject'](_0x307387);}(_0x47c04d,_0x21db70));_0x349be5=_0x349be5[_0x18ea('0x1e')](_0x44a992=>!_0x44a992['is']('element',_0x18ea('0x24'))||_0x44a992[_0x18ea('0x21')](_0x18ea('0x17'))!=_0xfaca2e);const _0x36f2e0=new Set();for(const _0x4662eb of _0x349be5)_0x4662eb['is']('element',_0x18ea('0x24'))?_0x36f2e0[_0x18ea('0x32')](Pt(_0x4662eb)):_0x36f2e0[_0x18ea('0x32')](_0x4662eb);return Array[_0x18ea('0x2e')](_0x36f2e0);}(_0x270713['getSelectedBlocks'](),_0x5209d6,_0x36a5fb[_0x18ea('0x38')]['schema']);_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x13')](()=>{for(const _0x5ef0bc of _0x3144b8)_0x22060b['markBlockFormat'](_0x5ef0bc,{'commandName':_0x3c3b9b,'commandParams':[{'forceValue':!_0x3554ee[_0x18ea('0x2b')]}],'formatGroupId':_0x18ea('0x22')},Gt(_0x5ef0bc));});};}function _0x56f6ad(_0x2aabf7){return()=>{const _0x2ce752=function(_0x597ea3){const _0x57db2a=(_0x597ea3=Array[_0x18ea('0x2e')](_0x597ea3))[_0x18ea('0xb')](_0x5e3163=>_0x18ea('0x24')!=_0x5e3163['name']);return _0x57db2a>-0x1&&(_0x597ea3=_0x597ea3['slice'](0x0,_0x57db2a)),_0x597ea3;}(_0x36a5fb['model'][_0x18ea('0xe')]['selection'][_0x18ea('0x3b')]()),_0x31d950=_0x36a5fb['model'][_0x18ea('0x12')](_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[0x0],_0x18ea('0x37')),_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[_0x2ce752[_0x18ea('0x1c')]-0x1],_0x18ea('0xa')));_0x36a5fb['model'][_0x18ea('0x13')](()=>{_0x22060b[_0x18ea('0x2a')](_0x31d950,{'commandName':_0x2aabf7,'commandParams':[],'formatGroupId':_0x18ea('0x5')},function(_0x29b14d){const _0x113a75=new Set();for(const _0x116596 of _0x29b14d){let _0x2853de=_0x116596[_0x18ea('0xd')];for(;_0x2853de&&_0x2853de[_0x18ea('0x21')]('listIndent')>_0x116596[_0x18ea('0x21')](_0x18ea('0x5'));)_0x113a75[_0x18ea('0x32')](_0x2853de),_0x2853de=_0x2853de[_0x18ea('0xd')];}return Array[_0x18ea('0x2e')](_0x113a75);}(_0x2ce752));});};}_0x22060b['enableCommand'](_0x18ea('0x31'),_0x286584(_0x18ea('0x31'))),_0x22060b['enableCommand'](_0x18ea('0x1d'),_0x286584(_0x18ea('0x1d'))),_0x504784&&_0x22060b[_0x18ea('0xc')](_0x18ea('0x23'),_0x286584(_0x18ea('0x23'))),_0x22060b[_0x18ea('0xc')]('indentList',_0x56f6ad(_0x18ea('0x34'))),_0x22060b[_0x18ea('0xc')](_0x18ea('0x3f'),_0x56f6ad(_0x18ea('0x3f'))),_0x504784&&_0x22060b['enableCommand'](_0x18ea('0x2'),()=>{const _0x71930e=_0x36a5fb[_0x18ea('0x39')]['get'](_0x18ea('0x2')),_0x51eb1d=Array['from'](_0x71930e[_0x18ea('0x29')]);_0x51eb1d[_0x18ea('0x1e')](_0x145db7=>_0x145db7['getAttribute']('todoListChecked')!=_0x71930e[_0x18ea('0x2b')]),_0x36a5fb[_0x18ea('0x38')]['change'](()=>{for(const _0x1706d9 of _0x51eb1d)_0x22060b[_0x18ea('0x2a')](_0x1706d9,{'commandName':_0x18ea('0x2'),'commandParams':[{'forceValue':!_0x71930e['value']}]});});}),_0x22060b['_descriptionFactory'][_0x18ea('0x2f')]('listItem',_0x274796=>_0x19ae03(_0x3ec3d1,_0x18ea('0x28'),_0x274796)),_0x22060b['_descriptionFactory'][_0x18ea('0x10')](_0x55e60f=>{const {data:_0x36c2fc}=_0x55e60f;if(_0x36c2fc){if(_0x18ea('0x31')==_0x36c2fc[_0x18ea('0x20')]||_0x18ea('0x1d')==_0x36c2fc['commandName']||'todoList'==_0x36c2fc['commandName'])switch(_0x36c2fc['commandName'][_0x18ea('0x11')](_0x18ea('0x3e'),'')){case _0x18ea('0x14'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x18')));case _0x18ea('0x2d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x8')));case _0x18ea('0x3d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x4')));}if(_0x18ea('0x34')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,'*Indent:*\x20%0',_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if(_0x18ea('0x3f')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x33'),_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if('checkTodoList'==_0x36c2fc[_0x18ea('0x20')])return _0x36c2fc['commandParams'][0x0]['forceValue']?{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x30'))}:{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x3'))};}function _0xeb9918(_0x568a19){return{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x19'),_0x568a19)};}});}}function Pt(_0x5356df){const _0x37e174=_0x5356df['getAttribute'](_0x18ea('0x5'));if(0x0==_0x37e174)return _0x5356df;let _0x32b3f5=_0x5356df;for(;_0x5356df[_0x18ea('0x15')]&&_0x5356df['previousSibling']['is'](_0x18ea('0x16'),'listItem');){const _0x214f72=_0x5356df[_0x18ea('0x15')][_0x18ea('0x21')](_0x18ea('0x5'));if(_0x214f72==_0x37e174)_0x32b3f5=_0x5356df[_0x18ea('0x15')];else{if(_0x214f72<_0x37e174)break;}_0x5356df=_0x5356df[_0x18ea('0x15')];}return _0x32b3f5;}function Gt(_0x2771d3){const _0x514cff=[];if(_0x2771d3['is'](_0x18ea('0x16'),_0x18ea('0x24'))&&_0x2771d3[_0x18ea('0x21')](_0x18ea('0x5'))>0x0){let _0xb0414f=_0x2771d3['nextSibling'];for(;_0xb0414f&&'listItem'==_0xb0414f[_0x18ea('0x3a')]&&_0xb0414f[_0x18ea('0x21')](_0x18ea('0x5'))==_0x2771d3['getAttribute'](_0x18ea('0x5'));)_0x514cff[_0x18ea('0x25')](_0xb0414f),_0xb0414f=_0xb0414f[_0x18ea('0xd')];}return _0x514cff;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bde=['TrackChangesEditing','options','mediaEmbed','createEmptyElement','for','_descriptionFactory','registerElementLabel','stop','ELEMENT_MEDIA','data','MediaEmbedEditing','div','downcastDispatcher','showSuggestionHighlights','afterInit','enableCommand','plugins','high','has','locale','get','elementToElement','conversion','attribute:url:media','editor'];(function(_0xe6a88b,_0x2bdef7){const _0x2f7bea=function(_0x1ef6b5){while(--_0x1ef6b5){_0xe6a88b['push'](_0xe6a88b['shift']());}};_0x2f7bea(++_0x2bdef7);}(_0x2bde,0xa0));const _0x2f7b=function(_0xe6a88b,_0x2bdef7){_0xe6a88b=_0xe6a88b-0x0;let _0x2f7bea=_0x2bde[_0xe6a88b];return _0x2f7bea;};import{Plugin as _0x148eab}from'ckeditor5/src/core';import{getTranslation as _0x35e327}from'../utils/common-translations';export default class st extends _0x148eab{[_0x2f7b('0x4')](){const _0x17fab2=this[_0x2f7b('0xe')];if(!_0x17fab2[_0x2f7b('0x6')][_0x2f7b('0x8')](_0x2f7b('0x0')))return;const _0x1aae83=_0x17fab2[_0x2f7b('0x6')][_0x2f7b('0xa')](_0x2f7b('0xf')),_0x553222=_0x17fab2[_0x2f7b('0x9')];_0x1aae83[_0x2f7b('0x5')](_0x2f7b('0x11')),_0x1aae83[_0x2f7b('0x14')][_0x2f7b('0x15')]('media',_0xcb7d04=>_0x35e327(_0x553222,_0x2f7b('0x17'),_0xcb7d04)),_0x17fab2[_0x2f7b('0xc')][_0x2f7b('0x13')]('dataDowncast')[_0x2f7b('0xb')]({'model':'media','view':(_0x1d637c,{writer:_0x1fa7b2,options:_0x31b4b2})=>{if(_0x31b4b2[_0x2f7b('0x3')])return _0x1fa7b2[_0x2f7b('0x12')](_0x2f7b('0x1'));},'converterPriority':'high'}),_0x17fab2[_0x2f7b('0x18')][_0x2f7b('0x2')]['on'](_0x2f7b('0xd'),(_0x4e2bb4,_0x428cc9,_0x981b07)=>{_0x981b07[_0x2f7b('0x10')]['showSuggestionHighlights']&&_0x4e2bb4[_0x2f7b('0x16')]();},{'priority':_0x2f7b('0x7')});}}
23
+ const _0xbd21=['get','attribute:url:media','conversion','ELEMENT_MEDIA','dataDowncast','stop','locale','editor','_descriptionFactory','afterInit','has','createEmptyElement','data','showSuggestionHighlights','mediaEmbed','MediaEmbedEditing','TrackChangesEditing','high','enableCommand','media','for','registerElementLabel','plugins','downcastDispatcher'];(function(_0x5e8d34,_0xbd21ec){const _0x2fa1c7=function(_0x4c932a){while(--_0x4c932a){_0x5e8d34['push'](_0x5e8d34['shift']());}};_0x2fa1c7(++_0xbd21ec);}(_0xbd21,0x1f1));const _0x2fa1=function(_0x5e8d34,_0xbd21ec){_0x5e8d34=_0x5e8d34-0x0;let _0x2fa1c7=_0xbd21[_0x5e8d34];return _0x2fa1c7;};import{Plugin as _0x11df80}from'ckeditor5/src/core';import{getTranslation as _0x59c681}from'../utils/common-translations';export default class st extends _0x11df80{[_0x2fa1('0x10')](){const _0x59ba12=this[_0x2fa1('0xe')];if(!_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x11')](_0x2fa1('0x16')))return;const _0x282149=_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x7')](_0x2fa1('0x17')),_0x12195a=_0x59ba12[_0x2fa1('0xd')];_0x282149[_0x2fa1('0x1')](_0x2fa1('0x15')),_0x282149[_0x2fa1('0xf')][_0x2fa1('0x4')](_0x2fa1('0x2'),_0x232107=>_0x59c681(_0x12195a,_0x2fa1('0xa'),_0x232107)),_0x59ba12[_0x2fa1('0x9')][_0x2fa1('0x3')](_0x2fa1('0xb'))['elementToElement']({'model':'media','view':(_0x45db19,{writer:_0x2314f3,options:_0x43ebe2})=>{if(_0x43ebe2[_0x2fa1('0x14')])return _0x2314f3[_0x2fa1('0x12')]('div');},'converterPriority':_0x2fa1('0x0')}),_0x59ba12[_0x2fa1('0x13')][_0x2fa1('0x6')]['on'](_0x2fa1('0x8'),(_0x3b8ba4,_0x53ec32,_0x46b5c5)=>{_0x46b5c5['options']['showSuggestionHighlights']&&_0x3b8ba4[_0x2fa1('0xc')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1226=['editor','plugins','MentionEditing','enableCommand','get','has'];(function(_0x28f6f2,_0x1226a5){const _0x162014=function(_0x371851){while(--_0x371851){_0x28f6f2['push'](_0x28f6f2['shift']());}};_0x162014(++_0x1226a5);}(_0x1226,0x110));const _0x1620=function(_0x28f6f2,_0x1226a5){_0x28f6f2=_0x28f6f2-0x0;let _0x162014=_0x1226[_0x28f6f2];return _0x162014;};import{Plugin as _0x154989}from'ckeditor5/src/core';export default class et extends _0x154989{['afterInit'](){const _0x57f4d6=this[_0x1620('0x4')];_0x57f4d6[_0x1620('0x5')][_0x1620('0x3')](_0x1620('0x0'))&&_0x57f4d6[_0x1620('0x5')][_0x1620('0x2')]('TrackChangesEditing')[_0x1620('0x1')]('mention');}}
23
+ const _0x3100=['TrackChangesEditing','get','MentionEditing','plugins','afterInit','has','enableCommand','mention'];(function(_0x2f0dd4,_0x31007c){const _0x4d5bb2=function(_0x55398d){while(--_0x55398d){_0x2f0dd4['push'](_0x2f0dd4['shift']());}};_0x4d5bb2(++_0x31007c);}(_0x3100,0x129));const _0x4d5b=function(_0x2f0dd4,_0x31007c){_0x2f0dd4=_0x2f0dd4-0x0;let _0x4d5bb2=_0x3100[_0x2f0dd4];return _0x4d5bb2;};import{Plugin as _0x571e4e}from'ckeditor5/src/core';export default class et extends _0x571e4e{[_0x4d5b('0x3')](){const _0x5d163e=this['editor'];_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x4')](_0x4d5b('0x1'))&&_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x0')](_0x4d5b('0x7'))[_0x4d5b('0x5')](_0x4d5b('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28b2=['get','plugins','TrackChangesEditing','PageBreakEditing','_descriptionFactory','enableCommand','afterInit','registerElementLabel','has','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x56a353,_0x28b25b){const _0x5a6cb5=function(_0x2fdd1a){while(--_0x2fdd1a){_0x56a353['push'](_0x56a353['shift']());}};_0x5a6cb5(++_0x28b25b);}(_0x28b2,0x1d0));const _0x5a6c=function(_0x56a353,_0x28b25b){_0x56a353=_0x56a353-0x0;let _0x5a6cb5=_0x28b2[_0x56a353];return _0x5a6cb5;};import{Plugin as _0x1eeebd}from'ckeditor5/src/core';import{getTranslation as _0x4609ea}from'../utils/common-translations';export default class nt extends _0x1eeebd{[_0x5a6c('0x4')](){const _0x4cfd32=this['editor'];if(!_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x6')](_0x5a6c('0x1')))return;_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x9')](_0x5a6c('0x0'))[_0x5a6c('0x3')](_0x5a6c('0x8'));const _0x296641=_0x4cfd32[_0x5a6c('0xa')][_0x5a6c('0x9')](_0x5a6c('0x0')),_0x3c204f=_0x4cfd32['locale'];_0x296641[_0x5a6c('0x2')][_0x5a6c('0x5')](_0x5a6c('0x8'),_0x3e1668=>_0x4609ea(_0x3c204f,_0x5a6c('0x7'),_0x3e1668));}}
23
+ const _0x31dd=['locale','plugins','enableCommand','editor','afterInit','registerElementLabel','PageBreakEditing','_descriptionFactory','TrackChangesEditing','pageBreak','get'];(function(_0x1d91f4,_0x31ddb9){const _0x212de7=function(_0x10e9a4){while(--_0x10e9a4){_0x1d91f4['push'](_0x1d91f4['shift']());}};_0x212de7(++_0x31ddb9);}(_0x31dd,0xe0));const _0x212d=function(_0x1d91f4,_0x31ddb9){_0x1d91f4=_0x1d91f4-0x0;let _0x212de7=_0x31dd[_0x1d91f4];return _0x212de7;};import{Plugin as _0x3ff052}from'ckeditor5/src/core';import{getTranslation as _0x1c0301}from'../utils/common-translations';export default class nt extends _0x3ff052{[_0x212d('0x0')](){const _0x329080=this[_0x212d('0xa')];if(!_0x329080[_0x212d('0x8')]['has'](_0x212d('0x2')))return;_0x329080[_0x212d('0x8')][_0x212d('0x6')](_0x212d('0x4'))[_0x212d('0x9')](_0x212d('0x5'));const _0x5b04ae=_0x329080['plugins']['get']('TrackChangesEditing'),_0x108a19=_0x329080[_0x212d('0x7')];_0x5b04ae[_0x212d('0x3')][_0x212d('0x1')]('pageBreak',_0x11dfd3=>_0x1c0301(_0x108a19,'ELEMENT_PAGE_BREAK',_0x11dfd3));}}