@ckeditor/ckeditor5-track-changes 35.2.1 → 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 _0x4cde=['registerDescriptionCallback','get','change','editor','trim','FontSizeEditing','enableCommand','*Reset\x20font\x20color*','markInlineFormat','plugins','normalizeSizeOptions','FontFamilyEditing','*Reset\x20font\x20background\x20color*','getRanges','from','FontSize','_descriptionFactory','find','value','*Set\x20font\x20color:*\x20%0','toLowerCase','fontSize.options','commandParams','isCollapsed','FontColorEditing','format','selection','FontBackgroundColorEditing','config','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','fontColor','_enableCommand','locale','*Set\x20font\x20family:*\x20%0','*Set\x20font\x20background\x20color:*\x20%0','model','title','afterInit','has','commandName','fontFamily','fontSize','*Reset\x20font\x20size*','label'];(function(_0x2a4f3d,_0x4cde23){const _0x29dfb6=function(_0x3e16da){while(--_0x3e16da){_0x2a4f3d['push'](_0x2a4f3d['shift']());}};_0x29dfb6(++_0x4cde23);}(_0x4cde,0x115));const _0x29df=function(_0x2a4f3d,_0x4cde23){_0x2a4f3d=_0x2a4f3d-0x0;let _0x29dfb6=_0x4cde[_0x2a4f3d];return _0x29dfb6;};import{Plugin as _0x57388b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x417502}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x54b1a6}from'./utils';import{getTranslation as _0x1b197f}from'../utils/common-translations';const Bt=[{'pluginName':_0x29df('0x2b'),'commandName':_0x29df('0x23')},{'pluginName':_0x29df('0x4'),'commandName':'fontFamily'},{'pluginName':_0x29df('0x11'),'commandName':_0x29df('0x18')},{'pluginName':_0x29df('0x14'),'commandName':'fontBackgroundColor'}];export default class W extends _0x57388b{[_0x29df('0x1f')](){const _0x329fbc=this[_0x29df('0x29')]['locale'];for(const {pluginName:_0xfc29cf,commandName:_0x48a058}of Bt)this['editor']['plugins'][_0x29df('0x20')](_0xfc29cf)&&this['_enableCommand'](_0x48a058);this[_0x29df('0x29')][_0x29df('0x2')]['get'](_0x29df('0x16'))[_0x29df('0x9')][_0x29df('0x26')](_0x1b235b=>{const {data:_0x2346ae}=_0x1b235b;if(null!=_0x2346ae){if(_0x29df('0x23')==_0x2346ae[_0x29df('0x21')]){const _0x4952ae=_0x2346ae['commandParams'][0x0][_0x29df('0xb')];if(_0x4952ae){const _0x1cf178=this[_0x29df('0x29')][_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x8'))[_0x29df('0x3')](this[_0x29df('0x29')][_0x29df('0x15')][_0x29df('0x27')](_0x29df('0xe')))[_0x29df('0xa')](_0x4bb1a5=>_0x4bb1a5[_0x29df('0x1d')]==_0x4952ae)[_0x29df('0x1e')],_0x131af6=this[_0x29df('0x29')][_0x29df('0x1a')]['_t'](_0x1cf178)['toLowerCase']();return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x17'),_0x131af6)};}return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x24'))};}if(_0x29df('0x22')==_0x2346ae[_0x29df('0x21')]){const _0x4601d0=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];return _0x4601d0?{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x1b'),_0x4601d0)}:{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,'*Reset\x20font\x20family*')};}if(_0x29df('0x18')==_0x2346ae['commandName']){const _0x304f99=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];if(_0x304f99){const _0x201c8c=_0x417502(this[_0x29df('0x29')][_0x29df('0x15')][_0x29df('0x27')]('fontColor.colors'))['find'](_0x4bf800=>_0x4bf800[_0x29df('0x1d')]==_0x304f99);let _0x650a7c=_0x304f99,_0x24525e='';return _0x201c8c&&(_0x650a7c=_0x201c8c['label'],_0x24525e=_0x329fbc['_t'](_0x650a7c)['toLowerCase']()),{'type':'format','content':_0x1b197f(_0x329fbc,_0x29df('0xc'),_0x24525e)[_0x29df('0x2a')](),'color':{'value':_0x304f99,'title':_0x24525e||_0x650a7c}};}return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x0'))};}if('fontBackgroundColor'==_0x2346ae[_0x29df('0x21')]){const _0x4a5d5e=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];if(_0x4a5d5e){const _0x219237=_0x417502(this['editor'][_0x29df('0x15')][_0x29df('0x27')]('fontBackgroundColor.colors'))[_0x29df('0xa')](_0x127202=>_0x127202[_0x29df('0x1d')]==_0x4a5d5e);let _0x449ff9=_0x4a5d5e,_0x7a893e='';return _0x219237&&(_0x449ff9=_0x219237[_0x29df('0x25')],_0x7a893e=_0x329fbc['_t'](_0x449ff9)[_0x29df('0xd')]()),{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x1c'),_0x7a893e)[_0x29df('0x2a')](),'color':{'value':_0x4a5d5e,'title':_0x7a893e||_0x449ff9}};}return{'type':'format','content':_0x1b197f(_0x329fbc,_0x29df('0x5'))};}}});}[_0x29df('0x19')](_0x487021){const _0x288ab8=this['editor'];_0x288ab8[_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x16'))[_0x29df('0x2c')](_0x487021,(_0x39ee80,_0x190c5e={})=>{const _0x3b5c90=_0x288ab8[_0x29df('0x1d')]['document'][_0x29df('0x13')],_0xe65f62=_0x190c5e['value'];_0x3b5c90[_0x29df('0x10')]?_0x39ee80(_0x190c5e):_0x288ab8['model'][_0x29df('0x28')](()=>{const _0x4cc9a7=Array[_0x29df('0x7')](_0x3b5c90[_0x29df('0x6')]());for(const _0x310bc6 of _0x4cc9a7){const _0x55a83f=_0xe65f62?[_0x310bc6]:_0x54b1a6(_0x487021,_0x310bc6,_0x288ab8[_0x29df('0x1d')]);for(const _0xdb40c6 of _0x55a83f)_0x288ab8[_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x16'))[_0x29df('0x1')](_0xdb40c6,{'commandName':_0x487021,'commandParams':[{'value':_0xe65f62}]});}});});}}
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 _0x22f1=['find','change','format','parent','selection','blockName','heading.options','getSelectedBlocks','name','*Change\x20to:*\x20%0','heading','isObject','commandName','document','get','HeadingEditing','editor','paragraph','match','checkChild','TrackChangesEditing','enableCommand','registerElementLabel','ELEMENT_HEADING','plugins','model','registerDescriptionCallback','markBlockFormat','locale','value','_descriptionFactory','afterInit','ELEMENT_HEADING_CUSTOM','schema','title'];(function(_0x480cdf,_0x22f16c){const _0x3b1062=function(_0xa7d8af){while(--_0xa7d8af){_0x480cdf['push'](_0x480cdf['shift']());}};_0x3b1062(++_0x22f16c);}(_0x22f1,0x192));const _0x3b10=function(_0x480cdf,_0x22f16c){_0x480cdf=_0x480cdf-0x0;let _0x3b1062=_0x22f1[_0x480cdf];return _0x3b1062;};import{Plugin as _0x3fa2b0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3df704}from'./utils';import{getTranslation as _0x2b2a79}from'../utils/common-translations';export default class z extends _0x3fa2b0{[_0x3b10('0xe')](){const _0xc8f3e7=this[_0x3b10('0x22')],_0x5edc75=_0xc8f3e7[_0x3b10('0xb')],_0x2aae56=_0xc8f3e7['config'][_0x3b10('0x20')](_0x3b10('0x18'));if(!_0xc8f3e7['plugins']['has'](_0x3b10('0x21')))return;const _0x22cf4a=_0xc8f3e7[_0x3b10('0x7')][_0x3b10('0x20')](_0x3b10('0x3'));_0x22cf4a[_0x3b10('0x4')](_0x3b10('0x1c'),(_0x413054,_0x9725)=>{const _0x20032a=_0x9725[_0x3b10('0xc')],_0x31248f=Array['from'](this[_0x3b10('0x22')][_0x3b10('0x8')][_0x3b10('0x1f')][_0x3b10('0x16')][_0x3b10('0x19')]())['filter'](_0x2a8469=>function(_0x5d4a19,_0x477e41,_0x176e2a){return _0x176e2a[_0x3b10('0x2')](_0x5d4a19[_0x3b10('0x15')],_0x477e41)&&!_0x176e2a[_0x3b10('0x1d')](_0x5d4a19)&&_0x5d4a19[_0x3b10('0x1a')]!=_0x477e41;}(_0x2a8469,_0x20032a,this[_0x3b10('0x22')][_0x3b10('0x8')][_0x3b10('0x10')]));_0xc8f3e7[_0x3b10('0x8')][_0x3b10('0x13')](()=>{for(const _0x16c20d of _0x31248f)_0x22cf4a[_0x3b10('0xa')](_0x16c20d,{'commandName':'heading','commandParams':[_0x9725],'formatGroupId':_0x3b10('0x17')},_0x3df704(_0x16c20d));});});for(const _0x4ed57b of _0x2aae56)_0x3b10('0x0')!=_0x4ed57b[_0x3b10('0x8')]&&_0x22cf4a[_0x3b10('0xd')][_0x3b10('0x5')](_0x4ed57b[_0x3b10('0x8')],_0x4669d9=>{const _0x2bf628=Ht(_0x4ed57b[_0x3b10('0x8')]);return null!==_0x2bf628?_0x2bf032(_0x4669d9,_0x2bf628):_0x51a9e4(_0x4669d9,_0x4ed57b[_0x3b10('0x11')]);});function _0x2bf032(_0x51a69d,_0x5869fc){return _0x2b2a79(_0x5edc75,_0x3b10('0x6'),[_0x51a69d,_0x5869fc]);}function _0x51a9e4(_0x222a9a,_0x5c614f){return _0x2b2a79(_0x5edc75,_0x3b10('0xf'),[_0x222a9a,_0x5c614f]);}_0x22cf4a[_0x3b10('0xd')][_0x3b10('0x9')](_0x41be38=>{const {type:_0xc526cb,data:_0x19d76f}=_0x41be38;if('formatBlock'==_0xc526cb&&_0x19d76f&&_0x3b10('0x1c')==_0x19d76f[_0x3b10('0x1e')]){const _0x2931bd=_0x19d76f['commandParams'][0x0][_0x3b10('0xc')],_0x2cd251=Ht(_0x2931bd);if(null!==_0x2cd251)return{'type':_0x3b10('0x14'),'content':_0x2b2a79(_0x5edc75,_0x3b10('0x1b'),_0x2bf032(0x1,_0x2cd251))};const _0x9fcfc2=_0x2aae56[_0x3b10('0x12')](_0x2abac2=>_0x2abac2[_0x3b10('0x8')]===_0x2931bd)[_0x3b10('0x11')];return{'type':_0x3b10('0x14'),'content':_0x2b2a79(_0x5edc75,_0x3b10('0x1b'),_0x51a9e4(0x1,_0x9fcfc2))};}});}}function Ht(_0x5861e6){const _0x2b86bc=_0x5861e6[_0x3b10('0x1')](/^heading(\d+)$/);return _0x2b86bc?_0x2b86bc[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 _0x1066=['item','commandParams','format','plugins','hasAttribute','afterInit','document','registerDescriptionCallback','getAttribute','find','selection','markInlineFormat','color','FORMAT_HIGHLIGHT','config','_descriptionFactory','value','toLowerCase','getFirstPosition','model','TrackChangesEditing','highlight','push','editor','enableCommand','title','has','HighlightEditing','getLastMatchingPosition','get','highlight.options','*Remove\x20highlight*','commandName','formatInline','isCollapsed','*Set\x20highlight:*\x20%0','locale'];(function(_0x43a8e8,_0x106615){const _0x11cacd=function(_0x18f15d){while(--_0x18f15d){_0x43a8e8['push'](_0x43a8e8['shift']());}};_0x11cacd(++_0x106615);}(_0x1066,0x180));const _0x11ca=function(_0x43a8e8,_0x106615){_0x43a8e8=_0x43a8e8-0x0;let _0x11cacd=_0x1066[_0x43a8e8];return _0x11cacd;};import{Plugin as _0x5b9a26}from'ckeditor5/src/core';import{getTranslation as _0x33ef89}from'../utils/common-translations';import{getRangesWithAttribute as _0x525697}from'./utils';export default class J extends _0x5b9a26{[_0x11ca('0x1c')](){const _0x55df15=this[_0x11ca('0x9')];if(!_0x55df15[_0x11ca('0x1a')][_0x11ca('0xc')](_0x11ca('0xd')))return;const _0xf0ae90=_0x55df15[_0x11ca('0x1a')][_0x11ca('0xf')](_0x11ca('0x6'));_0xf0ae90[_0x11ca('0xa')](_0x11ca('0x7'),(_0x57d922,_0x13d88c={})=>{const _0x5ae243=_0x55df15[_0x11ca('0x5')][_0x11ca('0x1d')][_0x11ca('0x21')],_0x9a797b=_0x5ae243[_0x11ca('0x1f')]('highlight');let _0xa64045=_0x13d88c['value'],_0x71d5c6=[];if(_0x5ae243[_0x11ca('0x14')]){const _0x2b07ab=_0x5ae243[_0x11ca('0x4')]();if(!_0x5ae243[_0x11ca('0x1b')](_0x11ca('0x7')))return void _0x57d922(_0x13d88c);{const _0x1a715c=_0x25996b=>_0x25996b[_0x11ca('0x17')][_0x11ca('0x1f')]('highlight')===_0x9a797b,_0x484310=_0x2b07ab[_0x11ca('0xe')](_0x1a715c,{'direction':'backward'}),_0x5d2036=_0x2b07ab[_0x11ca('0xe')](_0x1a715c);_0x71d5c6=[_0x55df15['model']['createRange'](_0x484310,_0x5d2036)],_0xa64045==_0x9a797b&&(_0xa64045=null);}}else for(const _0x4463fe of _0x5ae243['getRanges']())_0xa64045?_0x71d5c6[_0x11ca('0x8')](_0x4463fe):_0x71d5c6[_0x11ca('0x8')](..._0x525697(_0x11ca('0x7'),_0x4463fe,_0x55df15[_0x11ca('0x5')]));_0x55df15[_0x11ca('0x5')]['change'](()=>{for(const _0x3f95b6 of _0x71d5c6)_0xf0ae90[_0x11ca('0x22')](_0x3f95b6,{'commandName':_0x11ca('0x7'),'commandParams':[{'value':_0xa64045}]});});});const _0x5bede0=_0x55df15[_0x11ca('0x16')];_0xf0ae90[_0x11ca('0x1')][_0x11ca('0x1e')](_0x24882a=>{const {type:_0x369d84,data:_0x48a54a}=_0x24882a;if(_0x11ca('0x13')==_0x369d84&&_0x48a54a&&_0x11ca('0x7')==_0x48a54a[_0x11ca('0x12')]){const _0x4d352f=_0x48a54a[_0x11ca('0x18')][0x0][_0x11ca('0x2')];if(_0x4d352f){const _0x5dc8e9=_0x55df15[_0x11ca('0x0')]['get'](_0x11ca('0x10'))[_0x11ca('0x20')](_0xc8ba6=>_0xc8ba6[_0x11ca('0x5')]==_0x4d352f),_0x532090=_0x5bede0['_t'](_0x5dc8e9[_0x11ca('0xb')])[_0x11ca('0x3')]();return{'type':_0x11ca('0x19'),'content':_0x33ef89(_0x5bede0,_0x11ca('0x15'),_0x532090),'color':{'value':_0x5dc8e9[_0x11ca('0x23')],'title':_0x5dc8e9[_0x11ca('0xb')]}};}return{'type':'format','content':_0x33ef89(_0x5bede0,_0x11ca('0x11'),_0x33ef89(_0x5bede0,_0x11ca('0x24')))};}});}}
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 _0x5bd6=['editor','createEmptyElement','ELEMENT_HORIZONTAL_LINE','createPositionAt','get','createContainerElement','for','ck-horizontal-line','HorizontalLineEditing','elementToStructure','TrackChangesEditing','registerElementLabel','has','showSuggestionHighlights','horizontalLine','enableCommand','plugins','insert','locale','afterInit'];(function(_0x3f01ed,_0x5bd641){const _0x4d0f0e=function(_0x51c8a5){while(--_0x51c8a5){_0x3f01ed['push'](_0x3f01ed['shift']());}};_0x4d0f0e(++_0x5bd641);}(_0x5bd6,0x16c));const _0x4d0f=function(_0x3f01ed,_0x5bd641){_0x3f01ed=_0x3f01ed-0x0;let _0x4d0f0e=_0x5bd6[_0x3f01ed];return _0x4d0f0e;};import{Plugin as _0x5bfe56}from'ckeditor5/src/core';import{getTranslation as _0x54addf}from'../utils/common-translations';export default class K extends _0x5bfe56{[_0x4d0f('0xf')](){const _0x294de6=this[_0x4d0f('0x10')];if(!_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x8')](_0x4d0f('0x4')))return;_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x0')](_0x4d0f('0x6'))[_0x4d0f('0xb')]('horizontalLine');const _0x3546f3=_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x0')](_0x4d0f('0x6')),_0x5d4e1d=_0x294de6[_0x4d0f('0xe')];_0x3546f3['_descriptionFactory'][_0x4d0f('0x7')](_0x4d0f('0xa'),_0x4f4128=>_0x54addf(_0x5d4e1d,_0x4d0f('0x12'),_0x4f4128)),_0x294de6['conversion'][_0x4d0f('0x2')]('dataDowncast')[_0x4d0f('0x5')]({'model':_0x4d0f('0xa'),'view':(_0x5c8104,{writer:_0x32e44c,options:_0x4e541c})=>{if(!_0x4e541c[_0x4d0f('0x9')])return;const _0x3d2662=_0x32e44c[_0x4d0f('0x1')]('div'),_0x274582=_0x32e44c[_0x4d0f('0x11')]('hr');return _0x32e44c['addClass'](_0x4d0f('0x3'),_0x3d2662),_0x32e44c[_0x4d0f('0xd')](_0x32e44c[_0x4d0f('0x13')](_0x3d2662,0x0),_0x274582),_0x3d2662;},'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 _0x2f66=['*Change\x20%0\x20content*','get','format','getCustomProperty','ELEMENT_HTML_EMBED','enableCommand','plugins','_descriptionFactory','document','registerDescriptionCallback','editor','cancel','registerElementLabel','selection','value','getSelectedElement','commandName','view','TrackChangesEditing','rawHtml','getAttribute','htmlEmbed','rawHtmlApi'];(function(_0x1ed779,_0x2f66f7){const _0x2a6e19=function(_0x1a7c00){while(--_0x1a7c00){_0x1ed779['push'](_0x1ed779['shift']());}};_0x2a6e19(++_0x2f66f7);}(_0x2f66,0xe5));const _0x2a6e=function(_0x1ed779,_0x2f66f7){_0x1ed779=_0x1ed779-0x0;let _0x2a6e19=_0x2f66[_0x1ed779];return _0x2a6e19;};import{Plugin as _0x2a0c9c}from'ckeditor5/src/core';import{getTranslation as _0x1fe819}from'../utils/common-translations';export default class Q extends _0x2a0c9c{['afterInit'](){const _0x21ffb4=this[_0x2a6e('0xb')];if(!_0x21ffb4[_0x2a6e('0x7')]['has']('HtmlEmbed'))return;const _0x2a0c41=_0x21ffb4[_0x2a6e('0x7')][_0x2a6e('0x2')](_0x2a6e('0x13')),_0x5f1d49=_0x21ffb4['locale'],_0x2f63de=_0x21ffb4['editing'][_0x2a6e('0x12')][_0x2a6e('0x9')][_0x2a6e('0xe')];_0x2a0c41[_0x2a6e('0x8')][_0x2a6e('0xd')](_0x2a6e('0x14'),_0x51c542=>_0x1fe819(_0x5f1d49,_0x2a6e('0x5'),_0x51c542)),_0x21ffb4['plugins'][_0x2a6e('0x2')](_0x2a6e('0x13'))[_0x2a6e('0x6')]('htmlEmbed',(_0x5e566c,_0x220f11)=>{const _0x10e0ed=_0x21ffb4['model'],_0xef55b2=_0x10e0ed['document']['selection'];_0x10e0ed['change'](()=>{const _0x164192=function(_0x24643d){const _0x5aa03c=_0x24643d[_0x2a6e('0x10')]();if(_0x5aa03c&&_0x5aa03c['is']('element',_0x2a6e('0x14')))return _0x24643d['getSelectedElement']();return null;}(_0xef55b2);if(!_0x164192)return void _0x5e566c(null);const _0x1b5b04=_0x164192[_0x2a6e('0x15')](_0x2a6e('0xf'))||'';if(void 0x0===_0x220f11)return;if(_0x220f11===_0x1b5b04)return;_0x2a0c41['markBlockFormat'](_0x164192,{'commandName':_0x2a6e('0x16'),'commandParams':[_0x220f11]}),_0x2f63de['getSelectedElement']()[_0x2a6e('0x4')](_0x2a6e('0x0'))[_0x2a6e('0xc')]();});}),_0x2a0c41[_0x2a6e('0x8')][_0x2a6e('0xa')](_0x51d674=>{const {data:_0x1c9a67}=_0x51d674;if(_0x1c9a67&&_0x2a6e('0x16')==_0x1c9a67[_0x2a6e('0x11')]){const _0x3b307e=_0x1fe819(_0x5f1d49,_0x2a6e('0x5'));return{'type':_0x2a6e('0x3'),'content':_0x1fe819(_0x5f1d49,_0x2a6e('0x1'),_0x3b307e)};}});}}
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 _0x32fb=['caption','getChangedMarkers','isCollapsed','element','format','locale','insertImage','shouldConvertImageType','convertBlockImageToInline','accept','find','isOwn','isEqual','imageTextAlternative','type','afterInit','toLowerCase','insertion','alt','ImageInlineEditing','registerElementLabel','toNext','model','getSuggestion','toggleImageCaption','_suggestionFactory','hasSuggestion','ELEMENT_CAPTION','ImageEditing','forceDefaultExecution','getSuggestions','nodeBefore','newValue','toPrevious','convertInlineImageToBlock','subType','next','plugins','getContainedElement','getClosestSelectedImageElement','differ','imageTypeInline','chain','ImageTextAlternativeEditing','TrackChangesEditing','normalizedStyles','imageStyle','hasAttribute','ImageCaptionUtils','discard','value','schema','change','formatInline','ImageResize','get','author','*Set\x20image\x20text\x20alternative:*\x20%0','removeObject','imageStylePreApply','filter','detach','FORMAT_SIDE_IMAGE','ImageCaptionEditing','registerDescriptionCallback','forward','resizeImage','formatBlock','selection','width','commandName','from','name','end','backward','markDeletion','enableCommand','start','isBlockImage','commandReversedParams','discardSuggestion','registerCustomCallback','isInlineImage','ELEMENT_INLINE_IMAGE','commands','title','ImageUploadEditing','getFirstRange','head','newRange','getCaptionFromImageModelElement','imageTypeBlock','*Set\x20image\x20width:*\x20%0','findIndex','isIntersecting','isBefore','_descriptionFactory','getNearestSelectionRange','refresh','Block\x20image\x20to\x20inline\x20image','forEach','has','_splitMarkerName','deletion','ImageBlockEditing','markBlockFormat','markInsertion','length','*Remove\x20image\x20text\x20alternative*','getAttribute','commandParams','document','createRange','getSuggestionCallback','uploadImage','fromPosition','imageCaption','imageStylePostApply','createRangeOn','*Format:*\x20%0','join','editor','Users'];(function(_0x45859e,_0x32fb56){const _0x4f7e66=function(_0x4463af){while(--_0x4463af){_0x45859e['push'](_0x45859e['shift']());}};_0x4f7e66(++_0x32fb56);}(_0x32fb,0x188));const _0x4f7e=function(_0x45859e,_0x32fb56){_0x45859e=_0x45859e-0x0;let _0x4f7e66=_0x32fb[_0x45859e];return _0x4f7e66;};import{Plugin as _0x366461}from'ckeditor5/src/core';import{LivePosition as _0x39a704}from'ckeditor5/src/engine';import{uid as _0x10b714}from'ckeditor5/src/utils';import{getTranslation as _0x287344}from'../utils/common-translations';export default class V extends _0x366461{[_0x4f7e('0x73')](){const _0x336125=this[_0x4f7e('0x62')];if(!_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x5')))return;const _0x19635b=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x15')),_0x3cdd56=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageUtils'),_0x14d6b5={},_0x58c14a=_0x336125[_0x4f7e('0x69')];if(_0x19635b['enableCommand'](_0x4f7e('0x6a')),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageBlock',_0x4f7fbc=>_0x287344(_0x58c14a,'ELEMENT_IMAGE',_0x4f7fbc)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageInline',_0x2ae673=>_0x287344(_0x58c14a,_0x4f7e('0x3c'),_0x2ae673)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')](_0x4f7e('0x64'),_0x287344(_0x58c14a,_0x4f7e('0x4'))),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x3f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x5b')),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x51'))&&_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x77'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x12'),(_0x29d8b1,_0x379907)=>{const _0x202126=_0x3cdd56['getClosestSelectedImageElement'](_0x336125['model']['document'][_0x4f7e('0x2d')]);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x202126,{'commandName':_0x4f7e('0x12'),'commandParams':[_0x379907]},[],_0x4f7e('0x6c'));});}),_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x44'),(_0x1c45f7,_0x2712f6)=>{_0x336125['model']['change'](_0x26aea2=>{let _0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['selection']),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x1b9107=_0x39a704[_0x4f7e('0x5c')](_0xf251d[_0x4f7e('0x36')],_0x4f7e('0xa')),_0xe031c0=_0x39a704['fromPosition'](_0xf251d[_0x4f7e('0x32')],_0x4f7e('0x79'));_0x19635b[_0x4f7e('0x6')](()=>_0x1c45f7(_0x2712f6)),_0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x58f377=_0x26aea2['createRange'](_0x1b9107,_0xe031c0);_0x1b9107[_0x4f7e('0x26')](),_0xe031c0['detach'](),_0x19635b[_0x4f7e('0x52')](_0xeafe58,{'commandName':_0x4f7e('0x12')},[],_0x4f7e('0xb')),_0x58f377[_0x4f7e('0x36')][_0x4f7e('0x48')](_0xf251d['start'])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0x58f377[_0x4f7e('0x36')],_0xf251d[_0x4f7e('0x36')]),_0x4f7e('0xb')),_0xf251d[_0x4f7e('0x32')][_0x4f7e('0x48')](_0x58f377[_0x4f7e('0x32')])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0xf251d[_0x4f7e('0x32')],_0x58f377[_0x4f7e('0x32')]),_0x4f7e('0xb'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),_0x4f7e('0x6d'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x1a'),_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'','accept')),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),'join',()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('insertion',_0x4f7e('0xb'),'discard',([_0x324da6])=>{const _0x21e25d=_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x5a')](_0x4f7e('0x75'),'','discard');let _0xc6efdf=_0x324da6['start'],_0x311fb3=_0x324da6[_0x4f7e('0x32')];const _0x20d476=_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1c')]['getNearestSelectionRange'](_0xc6efdf,_0x4f7e('0x33')),_0x14cb28=_0x336125['model'][_0x4f7e('0x1c')][_0x4f7e('0x4a')](_0x311fb3,_0x4f7e('0x2a'));_0x20d476[_0x4f7e('0x66')]&&(_0xc6efdf=_0x20d476['start']),_0x14cb28[_0x4f7e('0x66')]&&(_0x311fb3=_0x14cb28[_0x4f7e('0x32')]),_0x21e25d([_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x59')](_0xc6efdf,_0x311fb3)]);}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),'chain',_0x16e386),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x28'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x1'),(_0x386394,_0x1b9548)=>{const _0x1e7c86=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x19'));let _0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x1f6f52)return void _0x19635b[_0x4f7e('0x34')](_0x336125['model']['createRangeOn'](_0x1f6f52));const _0x219cc5=_0x3cdd56[_0x4f7e('0x37')](_0x1d5524);_0x386394(_0x1b9548),_0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524),_0x19635b[_0x4f7e('0x53')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x5f')](_0x1f6f52),_0x219cc5?null:_0x4f7e('0x5d'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0x5d'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')]('ImageStyleEditing')){_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x17'),(_0x10857e,_0x4017e7)=>{const _0x1726cb=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x63'))['me'],_0x3de232=_0x336125['commands'][_0x4f7e('0x20')](_0x4f7e('0x17'));let _0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125[_0x4f7e('0x7a')]['createRangeOn'](_0x5ea5dd),_0x3747d9=_0x3de232[_0x4f7e('0x1b')];if(_0x3747d9==_0x4017e7[_0x4f7e('0x1b')])return;const _0x346cab={'commandName':_0x4f7e('0x17'),'commandParams':[_0x4017e7],'formatGroupId':_0x10b714()};_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x19635b[_0x4f7e('0x7')]()['filter'](_0x53c3a3=>_0x53c3a3['isInContent']&&_0x1726cb==_0x53c3a3[_0x4f7e('0x21')]&&('formatBlock'==_0x53c3a3[_0x4f7e('0x72')]||_0x4f7e('0x1e')==_0x53c3a3[_0x4f7e('0x72')])&&(_0x4f7e('0x24')==_0x53c3a3[_0x4f7e('0xc')]||_0x4f7e('0x5e')==_0x53c3a3[_0x4f7e('0xc')])&&_0x53c3a3[_0x4f7e('0x40')]()[_0x4f7e('0x70')](_0x32828b))[_0x4f7e('0x4d')](_0xde448=>_0x19635b[_0x4f7e('0x39')](_0xde448[_0x4f7e('0x41')])),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125['model'][_0x4f7e('0x5f')](_0x5ea5dd),_0x3de232['refresh'](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x12'))[_0x4f7e('0x4b')](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x44'))[_0x4f7e('0x4b')](),_0x3747d9=_0x3de232[_0x4f7e('0x1b')],_0x3747d9!=_0x4017e7['value'])return _0x3cdd56[_0x4f7e('0x3b')](_0x5ea5dd)&&_0x3de232[_0x4f7e('0x6b')](_0x4017e7['value'],_0x5ea5dd)?(_0x10857e(_0x4017e7),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document']['selection']),void _0x19635b[_0x4f7e('0x52')](_0x5ea5dd,{..._0x346cab,'commandReversedParams':[{'value':_0x3747d9||null}]},[],_0x4f7e('0x24'))):void(_0x3cdd56[_0x4f7e('0x37')](_0x5ea5dd)?_0x19635b[_0x4f7e('0x52')](_0x5ea5dd,_0x346cab,[],_0x4f7e('0x5e')):_0x19635b['markInlineFormat'](_0x32828b,_0x346cab,'imageStylePostApply'));});});for(const _0xa2e26d of _0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageStyleEditing')[_0x4f7e('0x16')])_0x14d6b5[_0xa2e26d[_0x4f7e('0x31')]]=_0xa2e26d[_0x4f7e('0x3e')][_0x4f7e('0x74')]();_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'imageStylePreApply',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')]['registerCustomCallback']('formatBlock',_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x1e'),_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),'accept',()=>{}),_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),_0x4f7e('0x1a'),(_0x47b3a8,_0x1965f6)=>{_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'',_0x4f7e('0x6d'))(_0x47b3a8,{'commandName':_0x1965f6['commandName'],'commandParams':_0x1965f6[_0x4f7e('0x38')]});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('formatBlock','imageStylePreApply',_0x4f7e('0x13'),_0x16e386);}const _0x4bdeff=[{'type':_0x4f7e('0x2c'),'subType':_0x4f7e('0x24')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0x5d')},{'type':'formatBlock','subType':_0x4f7e('0xb')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0xb')}];function _0x105f27(_0x1fe7ca,_0x1c4873){const _0x34ac64=_0x4bdeff[_0x4f7e('0x46')](({type:_0x35250c,subType:_0x3e4c33})=>_0x1fe7ca[_0x4f7e('0x72')]==_0x35250c&&_0x1fe7ca[_0x4f7e('0xc')]==_0x3e4c33),_0xb67a10=_0x4bdeff[_0x4f7e('0x46')](({type:_0x3d0b10,subType:_0x1806d3})=>_0x1c4873[_0x4f7e('0x72')]==_0x3d0b10&&_0x1c4873[_0x4f7e('0xc')]==_0x1806d3);if(_0x34ac64<0x0||_0xb67a10<0x0)return!0x1;const _0xa8e9f4=_0x1fe7ca[_0x4f7e('0x40')](),_0x2b466b=_0x1c4873[_0x4f7e('0x40')]();if((0x0==_0x34ac64||0x1==_0x34ac64)&&0x2==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x47')](_0x2b466b))return!0x0;if(0x2==_0x34ac64&&0x3==_0xb67a10){const _0x40ec63=_0x19635b['_findSuggestions'](_0xa8e9f4,'insertion')[_0x4f7e('0x25')](({suggestion:_0x2f4d4b,meta:_0x61dd9c})=>_0x61dd9c[_0x4f7e('0x6f')]&&'convertInlineImageToBlock'==_0x2f4d4b[_0x4f7e('0xc')]);if(_0x40ec63[_0x4f7e('0x54')]>0x1&&_0x2b466b[_0x4f7e('0x32')][_0x4f7e('0x70')](_0xa8e9f4[_0x4f7e('0x36')]))return!0x0;if(0x1==_0x40ec63[_0x4f7e('0x54')]&&(_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x32')])||_0xa8e9f4[_0x4f7e('0x32')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x36')])))return!0x0;}if(0x3==_0x34ac64&&0x3==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x48')](_0x2b466b[_0x4f7e('0x36')])){const _0x5f19c7=_0xa8e9f4[_0x4f7e('0x32')]['nodeAfter'],_0x557b11=_0x2b466b[_0x4f7e('0x36')][_0x4f7e('0x8')];return _0x3cdd56[_0x4f7e('0x37')](_0x5f19c7)&&_0x5f19c7===_0x557b11;}return!0x1;}function _0x16e386(_0x1f659b,_0x3dd4ad){return _0x105f27(_0x1f659b,_0x3dd4ad)?[_0x1f659b,_0x3dd4ad]:_0x105f27(_0x3dd4ad,_0x1f659b)?[_0x3dd4ad,_0x1f659b]:null;}_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['registerPostFixer'](()=>{let _0x1ff5e3=!0x1;const _0x168fa1=Array[_0x4f7e('0x30')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x11')][_0x4f7e('0x65')]());for(const {name:_0xf55de,data:_0x589b6d}of _0x168fa1){const {group:_0x14fdea,type:_0x16abd4,subType:_0x343c1f,id:_0xfbc40e}=_0x19635b[_0x4f7e('0x4f')](_0xf55de);if('suggestion'==_0x14fdea&&_0x19635b[_0x4f7e('0x3')](_0xfbc40e)){if(_0x4f7e('0x2c')==_0x16abd4&&('imageStylePreApply'==_0x343c1f||_0x4f7e('0x5e')==_0x343c1f)){const _0x2f5803=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);if(_0x589b6d['newRange']){const _0x3ba72f=_0x2f5803[_0x4f7e('0x40')]()[_0x4f7e('0xf')]();if(_0x3cdd56[_0x4f7e('0x37')](_0x3ba72f))continue;_0x19635b['discardSuggestion'](_0x2f5803),_0x1ff5e3=!0x0;}}if(_0x4f7e('0x75')==_0x16abd4&&_0x4f7e('0x5d')==_0x343c1f&&!_0x589b6d[_0x4f7e('0x42')]){const _0x568384=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);_0x568384[_0x4f7e('0xd')]&&_0x568384[_0x4f7e('0xd')]['isInContent']&&(_0x19635b[_0x4f7e('0x39')](_0x568384[_0x4f7e('0xd')]),_0x1ff5e3=!0x0);}}}return _0x1ff5e3;}),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x1f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x2b'),(_0x122352,_0x3222c1)=>{const _0x1ec58e=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]);_0x1ec58e[_0x4f7e('0x56')](_0x4f7e('0x2e'))!=_0x3222c1[_0x4f7e('0x2e')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x1ec58e,{'commandName':_0x4f7e('0x2b'),'commandParams':[_0x3222c1]});});}),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x14'))&&_0x19635b['enableCommand'](_0x4f7e('0x71'),(_0x1f28cf,_0x13877e)=>{const _0xe90501=_0x3cdd56['getClosestSelectedImageElement'](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]);(_0xe90501[_0x4f7e('0x18')](_0x4f7e('0x76'))?_0xe90501[_0x4f7e('0x56')](_0x4f7e('0x76')):'')!=_0x13877e[_0x4f7e('0x9')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b['markBlockFormat'](_0xe90501,{'commandName':_0x4f7e('0x71'),'commandParams':[_0x13877e]});});}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x3928e8=>{if(!!_0x4bdeff[_0x4f7e('0x6e')](({type:_0x434350,subType:_0x345660})=>_0x3928e8[_0x4f7e('0x72')]==_0x434350&&_0x3928e8[_0x4f7e('0xc')]==_0x345660))return _0x3928e8['previous']?{}:void 0x0;}),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x29')](_0x1da52b=>{if('insertion'==_0x1da52b['type']||_0x4f7e('0x50')==_0x1da52b['type']){const _0x1efe38=_0x1da52b[_0x4f7e('0xf')]();if(_0x1efe38&&_0x1efe38['is'](_0x4f7e('0x67'),'caption'))return{'type':_0x4f7e('0x75')==_0x1da52b[_0x4f7e('0x72')]?'addObject':_0x4f7e('0x23'),'name':_0x1efe38['name'],'quantity':0x1};}}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x5e29eb=>'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0xb')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0x6c')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':_0x4f7e('0x4c')}:void 0x0),_0x19635b['_descriptionFactory']['registerDescriptionCallback'](_0x4bc9c9=>{const {data:_0x17bc1c}=_0x4bc9c9;if(_0x17bc1c){if(_0x4f7e('0x17')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x170f9c=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x1b')];return _0x26a6b1('side'===_0x170f9c?_0x287344(_0x58c14a,_0x4f7e('0x27')):_0x14d6b5[_0x170f9c]||_0x170f9c);}if(_0x4f7e('0x71')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x5644e9=_0x17bc1c['commandParams'][0x0]['newValue'];return _0x5644e9?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x22'),'\x22'+_0x5644e9+'\x22')}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x55'))};}if('resizeImage'==_0x17bc1c[_0x4f7e('0x2f')]){const _0x3afe17=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x2e')];return _0x3afe17?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x45'),_0x3afe17)}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,'*Reset\x20image\x20width*')};}}function _0x26a6b1(_0x362371){return{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x60'),_0x362371)};}});}}
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 _0x37ee=['get','bind','editor','_trackChangesValueDuringImport','value','afterInit','plugins','dataInsert','listenTo','Users','importWord','_setSuggestionData','commands','forEach','high','trackChanges','_handleImportedData','collaboration_features','_trackChangesExecuted','execute','enableCommand','TrackChangesEditing'];(function(_0x395eaa,_0x37eed5){const _0x2f4e25=function(_0x421ba0){while(--_0x421ba0){_0x395eaa['push'](_0x395eaa['shift']());}};_0x2f4e25(++_0x37eed5);}(_0x37ee,0x155));const _0x2f4e=function(_0x395eaa,_0x37eed5){_0x395eaa=_0x395eaa-0x0;let _0x2f4e25=_0x37ee[_0x395eaa];return _0x2f4e25;};import{Plugin as _0x465ca7}from'ckeditor5/src/core';import _0x4805ea from'../trackchangesediting';export default class X extends _0x465ca7{constructor(_0x46a17e){super(_0x46a17e),this[_0x2f4e('0xe')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2f4e('0x10')](){const _0x4a3d36=this[_0x2f4e('0xd')],_0x138985=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')]('importWord'),_0x8ebfe=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')](_0x2f4e('0x4'));_0x138985&&(_0x138985['on'](_0x2f4e('0x8'),(_0x47ffc6,[,_0x53c234])=>{this[_0x2f4e('0xe')]=_0x8ebfe[_0x2f4e('0xf')],_0x53c234[_0x2f4e('0x6')]['track_changes']=!this[_0x2f4e('0xe')];},{'priority':_0x2f4e('0x3')}),this[_0x2f4e('0x13')](_0x138985,_0x2f4e('0x12'),this[_0x2f4e('0x5')][_0x2f4e('0xc')](this)),this['listenTo'](_0x138985,_0x2f4e('0x12'),()=>{this[_0x2f4e('0x7')]&&(_0x8ebfe[_0x2f4e('0x8')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x4a3d36[_0x2f4e('0x11')][_0x2f4e('0xb')](_0x2f4e('0xa'))[_0x2f4e('0x9')](_0x2f4e('0x15')));}[_0x2f4e('0x5')](_0xda4801,_0x405150){const {suggestions:_0x2b7017}=_0x405150,_0x3b10a4=this['editor'][_0x2f4e('0x1')]['get'](_0x2f4e('0x4')),_0xba9f89=_0x3b10a4['value'];this[_0x2f4e('0xe')]!==_0xba9f89&&(_0x3b10a4['execute'](),this['_trackChangesExecuted']=!0x0),_0x2b7017&&_0x2b7017[_0x2f4e('0x2')](({id:_0x5570da,type:_0x3c8712,author:_0x179635,created_at:_0x96f0b0})=>{const _0x2c1ba6={'id':_0x5570da,'type':_0x3c8712,'authorId':this['editor']['plugins'][_0x2f4e('0xb')](_0x2f4e('0x14'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x179635,'createdAt':_0x96f0b0?new Date(_0x96f0b0):new Date()}}};this[_0x2f4e('0xd')][_0x2f4e('0x11')][_0x2f4e('0xb')](_0x4805ea)[_0x2f4e('0x0')](_0x2c1ba6);});}}
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 _0x403e=['from','selection','getItemLabel','registerDescriptionCallback','filter','IndentBlock','*Outdent:*\x20%0','commandName','schema','indent','TrackChangesEditing','enableCommand','*Indent:*\x20%0','document','indentBlock','get','plugins','checkAttribute','has','markBlockFormat','name','getSelectedBlocks','model','editor','outdentBlock'];(function(_0x3b6481,_0x403e21){const _0x28eeab=function(_0x3b6215){while(--_0x3b6215){_0x3b6481['push'](_0x3b6481['shift']());}};_0x28eeab(++_0x403e21);}(_0x403e,0x15d));const _0x28ee=function(_0x3b6481,_0x403e21){_0x3b6481=_0x3b6481-0x0;let _0x28eeab=_0x403e[_0x3b6481];return _0x28eeab;};import{Plugin as _0x189074}from'ckeditor5/src/core';import{getTranslation as _0x1a30f7}from'../utils/common-translations';export default class Y extends _0x189074{['afterInit'](){const _0x4bbddf=this[_0x28ee('0x18')],_0x53468e=_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x10')](_0x28ee('0xb'));_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')]('IndentEditing')&&(_0x53468e['enableCommand'](_0x28ee('0xa')),_0x53468e[_0x28ee('0xc')]('outdent'));const _0x18e96b=_0x4bbddf['locale'];if(_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')](_0x28ee('0x6'))){for(const _0x2fd3f9 of[_0x28ee('0xf'),'outdentBlock'])_0x53468e[_0x28ee('0xc')](_0x2fd3f9,()=>{const _0x2fa2f2=Array[_0x28ee('0x1')](this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0xe')][_0x28ee('0x2')][_0x28ee('0x16')]())[_0x28ee('0x5')](_0x5525bf=>this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0x9')][_0x28ee('0x12')](_0x5525bf,'blockIndent'));_0x4bbddf[_0x28ee('0x17')]['change'](()=>{for(const _0xd6ac12 of _0x2fa2f2)_0x53468e[_0x28ee('0x14')](_0xd6ac12,{'commandName':_0x2fd3f9,'commandParams':[{'value':''}],'formatGroupId':_0x28ee('0xf')});});});_0x53468e['_descriptionFactory'][_0x28ee('0x4')](_0x26b6b9=>{const {data:_0x8581c1}=_0x26b6b9;if(!_0x8581c1)return;if(_0x28ee('0xf')!=_0x8581c1[_0x28ee('0x8')]&&_0x28ee('0x0')!=_0x8581c1['commandName'])return;const _0x8649e6=_0x26b6b9['getItems']()[0x0],_0x47ae45=_0x53468e['_descriptionFactory'][_0x28ee('0x3')](_0x8649e6[_0x28ee('0x15')]);return _0x28ee('0xf')==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0xd'),_0x47ae45)}:'outdentBlock'==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0x7'),_0x47ae45)}: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 _0x25ce=['get','enableCommand','plugins','requires','init','TrackChangesEditing','editor'];(function(_0x17b287,_0x25cef7){var _0x13beef=function(_0x4a5cd5){while(--_0x4a5cd5){_0x17b287['push'](_0x17b287['shift']());}};_0x13beef(++_0x25cef7);}(_0x25ce,0xc7));var _0x13be=function(_0x17b287,_0x25cef7){_0x17b287=_0x17b287-0x0;var _0x13beef=_0x25ce[_0x17b287];return _0x13beef;};import{Plugin as _0x14df64}from'ckeditor5/src/core';import{Input as _0x46cfc8}from'ckeditor5/src/typing';export default class Z extends _0x14df64{static get[_0x13be('0x0')](){return[_0x46cfc8];}[_0x13be('0x1')](){this[_0x13be('0x3')][_0x13be('0x6')][_0x13be('0x4')](_0x13be('0x2'))[_0x13be('0x5')]('input');}}
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 _0x5beb=['_descriptionFactory','getFirstRange','commandParams','commandName','has','markInlineFormat','getRanges','enableCommand','hasAttribute','linkHref','getFirstPosition','TrackChangesEditing','getAttribute','unlink','get','link','selection','model','format','*Set\x20link:*\x20%0','locale','isCollapsed','LinkEditing','change','from'];(function(_0x115c8a,_0x5bebe9){const _0x20c41b=function(_0x180e8b){while(--_0x180e8b){_0x115c8a['push'](_0x115c8a['shift']());}};_0x20c41b(++_0x5bebe9);}(_0x5beb,0xac));const _0x20c4=function(_0x115c8a,_0x5bebe9){_0x115c8a=_0x115c8a-0x0;let _0x20c41b=_0x5beb[_0x115c8a];return _0x20c41b;};import{Plugin as _0x34dad7}from'ckeditor5/src/core';import{findAttributeRange as _0x9ff71e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x34f079}from'./utils';import{getTranslation as _0x30adfc}from'../utils/common-translations';export default class tt extends _0x34dad7{['afterInit'](){const _0x102555=this['editor'];if(!_0x102555['plugins'][_0x20c4('0x7')](_0x20c4('0x0')))return;const _0x33bafc=_0x102555['plugins'][_0x20c4('0x11')](_0x20c4('0xe'));_0x33bafc['enableCommand']('link',(_0x50d0fd,_0x87db9b)=>{const _0x4bc388=_0x102555[_0x20c4('0x14')]['document'][_0x20c4('0x13')];let _0x557dc1=[];if(_0x4bc388['isCollapsed']){if(!_0x4bc388[_0x20c4('0xb')]('linkHref'))return void _0x50d0fd(_0x87db9b);{const _0x1e15a0=_0x9ff71e(_0x4bc388[_0x20c4('0xd')](),_0x20c4('0xc'),_0x4bc388[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')]);_0x557dc1=[_0x1e15a0];}}else _0x557dc1=Array[_0x20c4('0x2')](_0x4bc388[_0x20c4('0x9')]());_0x102555[_0x20c4('0x14')][_0x20c4('0x1')](()=>{for(const _0x35cadd of _0x557dc1)_0x33bafc[_0x20c4('0x8')](_0x35cadd,{'commandName':'link','commandParams':[_0x87db9b]});});}),_0x33bafc[_0x20c4('0xa')](_0x20c4('0x10'),()=>{const _0x2f80c8=this['editor'][_0x20c4('0x14')],_0x285508=_0x2f80c8['document'][_0x20c4('0x13')];_0x2f80c8[_0x20c4('0x1')](()=>{let _0x46a7c1=[];if(_0x285508[_0x20c4('0x18')])_0x46a7c1=[_0x9ff71e(_0x285508[_0x20c4('0xd')](),_0x20c4('0xc'),_0x285508[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')])];else _0x46a7c1=_0x34f079(_0x20c4('0xc'),_0x285508[_0x20c4('0x4')](),_0x102555['model']);for(const _0x3e2a97 of _0x46a7c1)_0x33bafc[_0x20c4('0x8')](_0x3e2a97,{'commandName':_0x20c4('0x10'),'commandParams':[]});});}),_0x33bafc[_0x20c4('0x3')]['registerDescriptionCallback'](_0x983d6b=>{const {data:_0x4e46ee}=_0x983d6b,_0x27efeb=_0x102555[_0x20c4('0x17')];if(_0x4e46ee){if(_0x20c4('0x12')==_0x4e46ee[_0x20c4('0x6')]){const _0x1dd3ef=_0x4e46ee[_0x20c4('0x5')][0x0];return{'type':'format','content':_0x30adfc(_0x27efeb,_0x20c4('0x16'),'\x22'+_0x1dd3ef+'\x22')};}return'unlink'==_0x4e46ee[_0x20c4('0x6')]?{'type':_0x20c4('0x15'),'content':_0x30adfc(_0x27efeb,'*Remove\x20link*')}: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 _0x1ef1=['afterInit','List','push','findIndex','execute','*Indent:*\x20%0','model','enableCommand','before','locale','listItem','add','*Check\x20item*','checkChild','getAttribute','commands','outdentList','checkTodoList','listIndent','ELEMENT_LIST_ITEM','registerElementLabel','ELEMENT_TODO_LIST','nextSibling','indentList','slice','TodoListEditing','numbered','previousSibling','todoList','from','plugins','*Outdent:*\x20%0','*Change\x20to:*\x20%0','length','numberedList','end','createPositionAt','markBlockFormat','ELEMENT_BULLETED_LIST','schema','document','element','filter','parent','commandName','ELEMENT_NUMBERED_LIST','createRange','isObject','selection','TrackChangesEditing','bulletedList','has','value','name','*Uncheck\x20item*','editor','change','getSelectedBlocks','get','replace','_descriptionFactory','listType','format','todo','bulleted'];(function(_0x55181f,_0x1ef158){const _0x1b5e82=function(_0x361b49){while(--_0x361b49){_0x55181f['push'](_0x55181f['shift']());}};_0x1b5e82(++_0x1ef158);}(_0x1ef1,0x1c9));const _0x1b5e=function(_0x55181f,_0x1ef158){_0x55181f=_0x55181f-0x0;let _0x1b5e82=_0x1ef1[_0x55181f];return _0x1b5e82;};import{Plugin as _0x198dfa}from'ckeditor5/src/core';import{getTranslation as _0x468a31}from'../utils/common-translations';export default class it extends _0x198dfa{[_0x1b5e('0x3f')](){const _0x2f0a21=this[_0x1b5e('0x35')],_0x4da39c=_0x2f0a21[_0x1b5e('0x7')];if(!_0x2f0a21['plugins'][_0x1b5e('0x31')]('ListEditing'))return;const _0x4d9a22=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x38')](_0x1b5e('0x2f')),_0xf9c406=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x31')](_0x1b5e('0x17'));function _0x33f0b2(_0x13ee22){return()=>{const _0x2524c9=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x26')][_0x1b5e('0x2e')],_0x23623b=_0x2f0a21[_0x1b5e('0xd')][_0x1b5e('0x38')](_0x13ee22);if(_0x23623b['value'])return void _0x2f0a21[_0x1b5e('0x2')]('paragraph',{});const _0x1e0ac5=_0x13ee22[_0x1b5e('0x16')](0x0,-0x4),_0x37c949=function(_0x1335be,_0x5c2146,_0x25b8f8){let _0x31d274=Array[_0x1b5e('0x1b')](_0x1335be)['filter'](_0x12fc53=>function(_0x3137dd,_0x2b15b0){return _0x2b15b0[_0x1b5e('0xb')](_0x3137dd[_0x1b5e('0x29')],_0x1b5e('0x8'))&&!_0x2b15b0[_0x1b5e('0x2d')](_0x3137dd);}(_0x12fc53,_0x25b8f8));_0x31d274=_0x31d274['filter'](_0x2db417=>!_0x2db417['is'](_0x1b5e('0x27'),'listItem')||_0x2db417[_0x1b5e('0xc')](_0x1b5e('0x3b'))!=_0x5c2146);const _0x2e7344=new Set();for(const _0x51288e of _0x31d274)_0x51288e['is']('element',_0x1b5e('0x8'))?_0x2e7344[_0x1b5e('0x9')](Lt(_0x51288e)):_0x2e7344[_0x1b5e('0x9')](_0x51288e);return Array[_0x1b5e('0x1b')](_0x2e7344);}(_0x2524c9[_0x1b5e('0x37')](),_0x1e0ac5,_0x2f0a21['model'][_0x1b5e('0x25')]);_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x158f37 of _0x37c949)_0x4d9a22[_0x1b5e('0x23')](_0x158f37,{'commandName':_0x13ee22,'commandParams':[{'forceValue':!_0x23623b[_0x1b5e('0x32')]}],'formatGroupId':'blockName'},Mt(_0x158f37));});};}function _0x30e908(_0x4e7aa7){return()=>{const _0x46b8bc=function(_0x50b1d2){const _0x322f04=(_0x50b1d2=Array[_0x1b5e('0x1b')](_0x50b1d2))[_0x1b5e('0x1')](_0x5ce71e=>'listItem'!=_0x5ce71e[_0x1b5e('0x33')]);return _0x322f04>-0x1&&(_0x50b1d2=_0x50b1d2[_0x1b5e('0x16')](0x0,_0x322f04)),_0x50b1d2;}(_0x2f0a21[_0x1b5e('0x4')]['document']['selection'][_0x1b5e('0x37')]()),_0x379ec6=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x2c')](_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[0x0],_0x1b5e('0x6')),_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[_0x46b8bc[_0x1b5e('0x1f')]-0x1],_0x1b5e('0x21')));_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x36')](()=>{_0x4d9a22[_0x1b5e('0x23')](_0x379ec6,{'commandName':_0x4e7aa7,'commandParams':[],'formatGroupId':_0x1b5e('0x10')},function(_0x307af8){const _0x4a216b=new Set();for(const _0x1f29e6 of _0x307af8){let _0x49b281=_0x1f29e6[_0x1b5e('0x14')];for(;_0x49b281&&_0x49b281[_0x1b5e('0xc')]('listIndent')>_0x1f29e6['getAttribute'](_0x1b5e('0x10'));)_0x4a216b[_0x1b5e('0x9')](_0x49b281),_0x49b281=_0x49b281[_0x1b5e('0x14')];}return Array[_0x1b5e('0x1b')](_0x4a216b);}(_0x46b8bc));});};}_0x4d9a22[_0x1b5e('0x5')]('numberedList',_0x33f0b2(_0x1b5e('0x20'))),_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x30'),_0x33f0b2(_0x1b5e('0x30'))),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x1a'),_0x33f0b2(_0x1b5e('0x1a'))),_0x4d9a22[_0x1b5e('0x5')]('indentList',_0x30e908(_0x1b5e('0x15'))),_0x4d9a22['enableCommand'](_0x1b5e('0xe'),_0x30e908('outdentList')),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0xf'),()=>{const _0x5af438=_0x2f0a21[_0x1b5e('0xd')]['get'](_0x1b5e('0xf')),_0x22858a=Array[_0x1b5e('0x1b')](_0x5af438['_selectedElements']);_0x22858a[_0x1b5e('0x28')](_0x1f84b5=>_0x1f84b5[_0x1b5e('0xc')]('todoListChecked')!=_0x5af438['value']),_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x129cd5 of _0x22858a)_0x4d9a22[_0x1b5e('0x23')](_0x129cd5,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5af438[_0x1b5e('0x32')]}]});});}),_0x4d9a22[_0x1b5e('0x3a')][_0x1b5e('0x12')](_0x1b5e('0x8'),_0x47e5a8=>_0x468a31(_0x4da39c,_0x1b5e('0x11'),_0x47e5a8)),_0x4d9a22[_0x1b5e('0x3a')]['registerDescriptionCallback'](_0x1b5d23=>{const {data:_0x5df955}=_0x1b5d23;if(_0x5df955){if('numberedList'==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x30')==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x1a')==_0x5df955[_0x1b5e('0x2a')])switch(_0x5df955[_0x1b5e('0x2a')][_0x1b5e('0x39')](_0x1b5e('0x40'),'')){case _0x1b5e('0x3e'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x24')));case _0x1b5e('0x18'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x2b')));case _0x1b5e('0x3d'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x13')));}if(_0x1b5e('0x15')==_0x5df955['commandName'])return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x3'),_0x468a31(_0x4da39c,_0x1b5e('0x11')))};if('outdentList'==_0x5df955[_0x1b5e('0x2a')])return{'type':_0x1b5e('0x3c'),'content':_0x468a31(_0x4da39c,_0x1b5e('0x1d'),_0x468a31(_0x4da39c,'ELEMENT_LIST_ITEM'))};if(_0x1b5e('0xf')==_0x5df955[_0x1b5e('0x2a')])return _0x5df955['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0xa'))}:{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x34'))};}function _0x39fe47(_0x2570aa){return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x1e'),_0x2570aa)};}});}}function Lt(_0x21333e){const _0x4036a2=_0x21333e[_0x1b5e('0xc')](_0x1b5e('0x10'));if(0x0==_0x4036a2)return _0x21333e;let _0x412b79=_0x21333e;for(;_0x21333e[_0x1b5e('0x19')]&&_0x21333e[_0x1b5e('0x19')]['is'](_0x1b5e('0x27'),_0x1b5e('0x8'));){const _0x25d845=_0x21333e['previousSibling'][_0x1b5e('0xc')](_0x1b5e('0x10'));if(_0x25d845==_0x4036a2)_0x412b79=_0x21333e[_0x1b5e('0x19')];else{if(_0x25d845<_0x4036a2)break;}_0x21333e=_0x21333e[_0x1b5e('0x19')];}return _0x412b79;}function Mt(_0x5be3d2){const _0x2a7198=[];if(_0x5be3d2['is']('element','listItem')&&_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'))>0x0){let _0x19f65c=_0x5be3d2[_0x1b5e('0x14')];for(;_0x19f65c&&_0x1b5e('0x8')==_0x19f65c[_0x1b5e('0x33')]&&_0x19f65c['getAttribute'](_0x1b5e('0x10'))==_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'));)_0x2a7198[_0x1b5e('0x0')](_0x19f65c),_0x19f65c=_0x19f65c[_0x1b5e('0x14')];}return _0x2a7198;}
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 _0x53d9=['showSuggestionHighlights','high','locale','ELEMENT_MEDIA','enableCommand','stop','createEmptyElement','get','downcastDispatcher','div','_descriptionFactory','editor','elementToElement','media','data','MediaEmbedEditing','attribute:url:media','options','has','TrackChangesEditing','plugins','conversion','mediaEmbed'];(function(_0xd31ec3,_0x53d908){const _0xc59768=function(_0x223336){while(--_0x223336){_0xd31ec3['push'](_0xd31ec3['shift']());}};_0xc59768(++_0x53d908);}(_0x53d9,0x9b));const _0xc597=function(_0xd31ec3,_0x53d908){_0xd31ec3=_0xd31ec3-0x0;let _0xc59768=_0x53d9[_0xd31ec3];return _0xc59768;};import{Plugin as _0xda7f4}from'ckeditor5/src/core';import{getTranslation as _0x34c3cd}from'../utils/common-translations';export default class st extends _0xda7f4{['afterInit'](){const _0x4dc2d0=this[_0xc597('0x11')];if(!_0x4dc2d0[_0xc597('0x3')][_0xc597('0x1')](_0xc597('0x15')))return;const _0x5b230c=_0x4dc2d0[_0xc597('0x3')][_0xc597('0xd')](_0xc597('0x2')),_0x551a9c=_0x4dc2d0[_0xc597('0x8')];_0x5b230c[_0xc597('0xa')](_0xc597('0x5')),_0x5b230c[_0xc597('0x10')]['registerElementLabel'](_0xc597('0x13'),_0x285ace=>_0x34c3cd(_0x551a9c,_0xc597('0x9'),_0x285ace)),_0x4dc2d0[_0xc597('0x4')]['for']('dataDowncast')[_0xc597('0x12')]({'model':_0xc597('0x13'),'view':(_0x1b0d62,{writer:_0x51aa46,options:_0x4dd9c3})=>{if(_0x4dd9c3[_0xc597('0x6')])return _0x51aa46[_0xc597('0xc')](_0xc597('0xf'));},'converterPriority':_0xc597('0x7')}),_0x4dc2d0[_0xc597('0x14')][_0xc597('0xe')]['on'](_0xc597('0x16'),(_0x64550d,_0x2c6520,_0x22c8e1)=>{_0x22c8e1[_0xc597('0x0')][_0xc597('0x6')]&&_0x64550d[_0xc597('0xb')]();},{'priority':'high'});}}
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 _0x1ce4=['plugins','TrackChangesEditing','get','editor','enableCommand','mention','afterInit'];(function(_0x2770f2,_0x1ce427){const _0x88180a=function(_0x10de2e){while(--_0x10de2e){_0x2770f2['push'](_0x2770f2['shift']());}};_0x88180a(++_0x1ce427);}(_0x1ce4,0x109));const _0x8818=function(_0x2770f2,_0x1ce427){_0x2770f2=_0x2770f2-0x0;let _0x88180a=_0x1ce4[_0x2770f2];return _0x88180a;};import{Plugin as _0x3dcf03}from'ckeditor5/src/core';export default class et extends _0x3dcf03{[_0x8818('0x0')](){const _0x286581=this[_0x8818('0x4')];_0x286581[_0x8818('0x1')]['has']('MentionEditing')&&_0x286581['plugins'][_0x8818('0x3')](_0x8818('0x2'))[_0x8818('0x5')](_0x8818('0x6'));}}
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 _0x210d=['locale','editor','PageBreakEditing','ELEMENT_PAGE_BREAK','registerElementLabel','get','afterInit','has','pageBreak','TrackChangesEditing','plugins'];(function(_0x21c4ca,_0x210d57){const _0x17570d=function(_0x48f9e5){while(--_0x48f9e5){_0x21c4ca['push'](_0x21c4ca['shift']());}};_0x17570d(++_0x210d57);}(_0x210d,0xf1));const _0x1757=function(_0x21c4ca,_0x210d57){_0x21c4ca=_0x21c4ca-0x0;let _0x17570d=_0x210d[_0x21c4ca];return _0x17570d;};import{Plugin as _0x178bbc}from'ckeditor5/src/core';import{getTranslation as _0x2f4b1a}from'../utils/common-translations';export default class nt extends _0x178bbc{[_0x1757('0x7')](){const _0x2bf2cf=this[_0x1757('0x2')];if(!_0x2bf2cf[_0x1757('0x0')][_0x1757('0x8')](_0x1757('0x3')))return;_0x2bf2cf[_0x1757('0x0')][_0x1757('0x6')](_0x1757('0xa'))['enableCommand']('pageBreak');const _0x43afd3=_0x2bf2cf['plugins'][_0x1757('0x6')](_0x1757('0xa')),_0x11698d=_0x2bf2cf[_0x1757('0x1')];_0x43afd3['_descriptionFactory'][_0x1757('0x5')](_0x1757('0x9'),_0x5220a2=>_0x2f4b1a(_0x11698d,_0x1757('0x4'),_0x5220a2));}}
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));}}