@ckeditor/ckeditor5-track-changes 37.0.1 → 37.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +15 -1
  50. package/lang/translations/az.po +11 -1
  51. package/lang/translations/bg.po +11 -1
  52. package/lang/translations/bn.po +11 -1
  53. package/lang/translations/ca.po +11 -1
  54. package/lang/translations/cs.po +13 -1
  55. package/lang/translations/da.po +11 -1
  56. package/lang/translations/de.po +11 -1
  57. package/lang/translations/el.po +11 -1
  58. package/lang/translations/en-au.po +11 -1
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +12 -1
  61. package/lang/translations/et.po +11 -1
  62. package/lang/translations/fi.po +11 -1
  63. package/lang/translations/fr.po +12 -1
  64. package/lang/translations/gl.po +11 -1
  65. package/lang/translations/he.po +13 -1
  66. package/lang/translations/hi.po +11 -1
  67. package/lang/translations/hr.po +12 -1
  68. package/lang/translations/hu.po +11 -1
  69. package/lang/translations/id.po +10 -1
  70. package/lang/translations/it.po +12 -1
  71. package/lang/translations/ja.po +10 -1
  72. package/lang/translations/ko.po +10 -1
  73. package/lang/translations/lt.po +13 -1
  74. package/lang/translations/lv.po +12 -1
  75. package/lang/translations/ms.po +10 -1
  76. package/lang/translations/nl.po +11 -1
  77. package/lang/translations/no.po +11 -1
  78. package/lang/translations/pl.po +13 -1
  79. package/lang/translations/pt-br.po +12 -1
  80. package/lang/translations/pt.po +12 -1
  81. package/lang/translations/ro.po +12 -1
  82. package/lang/translations/ru.po +13 -1
  83. package/lang/translations/sk.po +13 -1
  84. package/lang/translations/sr-latn.po +12 -1
  85. package/lang/translations/sr.po +33 -22
  86. package/lang/translations/sv.po +11 -1
  87. package/lang/translations/th.po +10 -1
  88. package/lang/translations/tk.po +11 -1
  89. package/lang/translations/tr.po +11 -1
  90. package/lang/translations/tt.po +10 -1
  91. package/lang/translations/uk.po +13 -1
  92. package/lang/translations/ur.po +11 -1
  93. package/lang/translations/vi.po +10 -1
  94. package/lang/translations/zh-cn.po +10 -1
  95. package/lang/translations/zh.po +10 -1
  96. package/package.json +3 -3
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardsuggestioncommand.js +1 -1
  99. package/src/commands/executeonallsuggestionscommand.js +1 -1
  100. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/index.d.ts +1 -1
  103. package/src/integrations/alignment.js +1 -1
  104. package/src/integrations/basicstyles.js +1 -1
  105. package/src/integrations/blockquote.js +1 -1
  106. package/src/integrations/ckbox.js +1 -1
  107. package/src/integrations/codeblock.js +1 -1
  108. package/src/integrations/comments.js +1 -1
  109. package/src/integrations/deletecommand.js +1 -1
  110. package/src/integrations/documentlist.js +1 -1
  111. package/src/integrations/documentlistproperties.js +1 -1
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/findandreplace.js +1 -1
  114. package/src/integrations/font.js +1 -1
  115. package/src/integrations/formatpainter.d.ts +13 -0
  116. package/src/integrations/formatpainter.js +23 -0
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/importword.js +1 -1
  124. package/src/integrations/indent.js +1 -1
  125. package/src/integrations/inputcommand.js +1 -1
  126. package/src/integrations/link.js +1 -1
  127. package/src/integrations/list.js +1 -1
  128. package/src/integrations/listproperties.js +1 -1
  129. package/src/integrations/mediaembed.js +1 -1
  130. package/src/integrations/mention.js +1 -1
  131. package/src/integrations/pagebreak.js +1 -1
  132. package/src/integrations/paragraph.js +1 -1
  133. package/src/integrations/removeformat.js +1 -1
  134. package/src/integrations/restrictededitingmode.js +1 -1
  135. package/src/integrations/shiftentercommand.js +1 -1
  136. package/src/integrations/standardeditingmode.js +1 -1
  137. package/src/integrations/style.js +1 -1
  138. package/src/integrations/table.js +1 -1
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.js +1 -1
  141. package/src/integrations/tablecolumnresize.js +1 -1
  142. package/src/integrations/tableheadings.js +1 -1
  143. package/src/integrations/tablemergesplit.js +1 -1
  144. package/src/integrations/tableofcontents.d.ts +13 -0
  145. package/src/integrations/tableofcontents.js +23 -0
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.d.ts +13 -0
  148. package/src/integrations/template.js +23 -0
  149. package/src/integrations/title.js +1 -1
  150. package/src/integrations/undo.js +1 -1
  151. package/src/integrations/utils.js +1 -1
  152. package/src/suggestion.js +1 -1
  153. package/src/suggestiondescriptionfactory.js +1 -1
  154. package/src/trackchanges.js +1 -1
  155. package/src/trackchangesdata.js +1 -1
  156. package/src/trackchangesediting.js +1 -1
  157. package/src/trackchangesui.js +1 -1
  158. package/src/ui/suggestioncontroller.js +1 -1
  159. package/src/ui/view/basesuggestionthreadview.js +1 -1
  160. package/src/ui/view/suggestionthreadview.js +1 -1
  161. package/src/utils/common-translations.js +1 -1
  162. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f74=['get','has','isObject','plugins','_descriptionFactory','value','selection','parent','model','match','registerDescriptionCallback','commandParams','name','checkChild','format','document','enableCommand','formatBlock','heading.options','commandName','change','editor','HeadingEditing','markBlockFormat','paragraph','heading','config','ELEMENT_HEADING','TrackChangesEditing','getSelectedBlocks','*Change\x20to:*\x20%0','locale'];(function(_0x1f2fad,_0x4f745e){const _0x308b3d=function(_0x48df0b){while(--_0x48df0b){_0x1f2fad['push'](_0x1f2fad['shift']());}};_0x308b3d(++_0x4f745e);}(_0x4f74,0xe7));const _0x308b=function(_0x1f2fad,_0x4f745e){_0x1f2fad=_0x1f2fad-0x0;let _0x308b3d=_0x4f74[_0x1f2fad];return _0x308b3d;};import{Plugin as _0x512bea}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xd47ca5}from'./utils';import{getTranslation as _0xa2258f}from'../utils/common-translations';export default class W extends _0x512bea{['afterInit'](){const _0x249ac2=this[_0x308b('0xe')],_0x56b2ca=_0x249ac2[_0x308b('0x18')],_0x4ddfc5=_0x249ac2[_0x308b('0x13')]['get'](_0x308b('0xb'));if(!_0x249ac2[_0x308b('0x1c')][_0x308b('0x1a')](_0x308b('0xf')))return;const _0x54c0de=_0x249ac2[_0x308b('0x1c')][_0x308b('0x19')](_0x308b('0x15'));_0x54c0de[_0x308b('0x9')]('heading',(_0x1e9ab,_0x1e0474)=>{const _0x350557=_0x1e0474[_0x308b('0x1e')],_0x390bfc=Array['from'](this[_0x308b('0xe')]['model'][_0x308b('0x8')][_0x308b('0x1f')][_0x308b('0x16')]())['filter'](_0x32fd3d=>function(_0x5d4faf,_0x48d5ec,_0x19dbdc){return _0x19dbdc[_0x308b('0x6')](_0x5d4faf[_0x308b('0x0')],_0x48d5ec)&&!_0x19dbdc[_0x308b('0x1b')](_0x5d4faf)&&_0x5d4faf[_0x308b('0x5')]!=_0x48d5ec;}(_0x32fd3d,_0x350557,this[_0x308b('0xe')]['model']['schema']));_0x249ac2['model'][_0x308b('0xd')](()=>{for(const _0xa7e98 of _0x390bfc)_0x54c0de[_0x308b('0x10')](_0xa7e98,{'commandName':'heading','commandParams':[_0x1e0474],'formatGroupId':'blockName'},_0xd47ca5(_0xa7e98));});});for(const _0x1233bf of _0x4ddfc5)_0x308b('0x11')!=_0x1233bf['model']&&_0x54c0de[_0x308b('0x1d')]['registerElementLabel'](_0x1233bf[_0x308b('0x1')],_0x4cc77b=>{const _0x21750f=Yt(_0x1233bf[_0x308b('0x1')]);return null!==_0x21750f?_0x2cbdba(_0x4cc77b,_0x21750f):_0x5d0d56(_0x4cc77b,_0x1233bf['title']);});function _0x2cbdba(_0x463b80,_0x6ff9fd){return _0xa2258f(_0x56b2ca,_0x308b('0x14'),[_0x463b80,_0x6ff9fd]);}function _0x5d0d56(_0x2bd18b,_0x39ed3e){return _0xa2258f(_0x56b2ca,'ELEMENT_HEADING_CUSTOM',[_0x2bd18b,_0x39ed3e]);}_0x54c0de[_0x308b('0x1d')][_0x308b('0x3')](_0x4b402c=>{const {type:_0x65d834,data:_0x2ffd8b}=_0x4b402c;if(_0x308b('0xa')==_0x65d834&&_0x2ffd8b&&_0x308b('0x12')==_0x2ffd8b[_0x308b('0xc')]){const _0x249387=_0x2ffd8b[_0x308b('0x4')][0x0][_0x308b('0x1e')],_0x52052a=Yt(_0x249387);if(null!==_0x52052a)return{'type':'format','content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x2cbdba(0x1,_0x52052a))};const _0x20deb2=_0x4ddfc5['find'](_0x1e8531=>_0x1e8531[_0x308b('0x1')]===_0x249387)['title'];return{'type':_0x308b('0x7'),'content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x5d0d56(0x1,_0x20deb2))};}});}}function Yt(_0xca7f31){const _0x388add=_0xca7f31[_0x308b('0x2')](/^heading(\d+)$/);return _0x388add?_0x388add[0x1]:null;}
23
+ const _0x5dda=['TrackChangesEditing','document','commandName','value','HeadingEditing','selection','registerDescriptionCallback','_descriptionFactory','from','heading.options','parent','markBlockFormat','filter','match','editor','plugins','formatBlock','config','ELEMENT_HEADING','find','getSelectedBlocks','format','get','afterInit','title','heading','*Change\x20to:*\x20%0','enableCommand','change','name','locale','paragraph','model','has','blockName'];(function(_0x7f817c,_0x5dda55){const _0x175d09=function(_0xf00817){while(--_0xf00817){_0x7f817c['push'](_0x7f817c['shift']());}};_0x175d09(++_0x5dda55);}(_0x5dda,0x85));const _0x175d=function(_0x7f817c,_0x5dda55){_0x7f817c=_0x7f817c-0x0;let _0x175d09=_0x5dda[_0x7f817c];return _0x175d09;};import{Plugin as _0x4eb7aa}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x532fdb}from'./utils';import{getTranslation as _0xe729f0}from'../utils/common-translations';export default class J extends _0x4eb7aa{[_0x175d('0x1e')](){const _0x1ad583=this[_0x175d('0x15')],_0x3e2126=_0x1ad583[_0x175d('0x2')],_0x3e5d6d=_0x1ad583[_0x175d('0x18')][_0x175d('0x1d')](_0x175d('0x10'));if(!_0x1ad583[_0x175d('0x16')][_0x175d('0x5')](_0x175d('0xb')))return;const _0x12787b=_0x1ad583[_0x175d('0x16')][_0x175d('0x1d')](_0x175d('0x7'));_0x12787b[_0x175d('0x22')](_0x175d('0x20'),(_0x14ab98,_0xe09c6c)=>{const _0x226ecb=_0xe09c6c[_0x175d('0xa')],_0x37d79a=Array[_0x175d('0xf')](this[_0x175d('0x15')][_0x175d('0x4')][_0x175d('0x8')][_0x175d('0xc')][_0x175d('0x1b')]())[_0x175d('0x13')](_0x12d728=>function(_0x5d8857,_0x1a3137,_0x38b462){return _0x38b462['checkChild'](_0x5d8857[_0x175d('0x11')],_0x1a3137)&&!_0x38b462['isObject'](_0x5d8857)&&_0x5d8857[_0x175d('0x1')]!=_0x1a3137;}(_0x12d728,_0x226ecb,this[_0x175d('0x15')][_0x175d('0x4')]['schema']));_0x1ad583[_0x175d('0x4')][_0x175d('0x0')](()=>{for(const _0x45f3bf of _0x37d79a)_0x12787b[_0x175d('0x12')](_0x45f3bf,{'commandName':'heading','commandParams':[_0xe09c6c],'formatGroupId':_0x175d('0x6')},_0x532fdb(_0x45f3bf));});});for(const _0x7beee of _0x3e5d6d)_0x175d('0x3')!=_0x7beee[_0x175d('0x4')]&&_0x12787b[_0x175d('0xe')]['registerElementLabel'](_0x7beee[_0x175d('0x4')],_0x26d6f2=>{const _0x2b39d0=nn(_0x7beee[_0x175d('0x4')]);return null!==_0x2b39d0?_0x2b2a1b(_0x26d6f2,_0x2b39d0):_0x3e5dce(_0x26d6f2,_0x7beee[_0x175d('0x1f')]);});function _0x2b2a1b(_0x35c0d4,_0x2e996a){return _0xe729f0(_0x3e2126,_0x175d('0x19'),[_0x35c0d4,_0x2e996a]);}function _0x3e5dce(_0x3b3964,_0x556e25){return _0xe729f0(_0x3e2126,'ELEMENT_HEADING_CUSTOM',[_0x3b3964,_0x556e25]);}_0x12787b['_descriptionFactory'][_0x175d('0xd')](_0x1543ec=>{const {type:_0x245bb4,data:_0x2b4805}=_0x1543ec;if(_0x175d('0x17')==_0x245bb4&&_0x2b4805&&_0x175d('0x20')==_0x2b4805[_0x175d('0x9')]){const _0x54d166=_0x2b4805['commandParams'][0x0][_0x175d('0xa')],_0x2ead5b=nn(_0x54d166);if(null!==_0x2ead5b)return{'type':_0x175d('0x1c'),'content':_0xe729f0(_0x3e2126,_0x175d('0x21'),_0x2b2a1b(0x1,_0x2ead5b))};const _0x47b2eb=_0x3e5d6d[_0x175d('0x1a')](_0x136994=>_0x136994[_0x175d('0x4')]===_0x54d166)[_0x175d('0x1f')];return{'type':_0x175d('0x1c'),'content':_0xe729f0(_0x3e2126,_0x175d('0x21'),_0x3e5dce(0x1,_0x47b2eb))};}});}}function nn(_0x177837){const _0x3ab293=_0x177837[_0x175d('0x14')](/^heading(\d+)$/);return _0x3ab293?_0x3ab293[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1123=['plugins','get','getRanges','selection','title','getLastMatchingPosition','locale','_descriptionFactory','document','markInlineFormat','isCollapsed','backward','color','item','FORMAT_HIGHLIGHT','push','createRange','HighlightEditing','afterInit','commandName','TrackChangesEditing','format','formatInline','*Remove\x20highlight*','commandParams','registerDescriptionCallback','highlight','enableCommand','editor','getAttribute','model','value','toLowerCase','highlight.options'];(function(_0x7ce59f,_0x1123cc){const _0x1a1132=function(_0x59618b){while(--_0x59618b){_0x7ce59f['push'](_0x7ce59f['shift']());}};_0x1a1132(++_0x1123cc);}(_0x1123,0x84));const _0x1a11=function(_0x7ce59f,_0x1123cc){_0x7ce59f=_0x7ce59f-0x0;let _0x1a1132=_0x1123[_0x7ce59f];return _0x1a1132;};import{Plugin as _0x2d4567}from'ckeditor5/src/core';import{getTranslation as _0x512391}from'../utils/common-translations';import{getRangesWithAttribute as _0x536af7}from'./utils';export default class J extends _0x2d4567{[_0x1a11('0x16')](){const _0x13aff9=this[_0x1a11('0x20')];if(!_0x13aff9[_0x1a11('0x4')]['has'](_0x1a11('0x15')))return;const _0xcb6304=_0x13aff9['plugins']['get'](_0x1a11('0x18'));_0xcb6304[_0x1a11('0x1f')](_0x1a11('0x1e'),(_0x1a1fbe,_0x5e025c={})=>{const _0x4750a9=_0x13aff9[_0x1a11('0x0')][_0x1a11('0xc')][_0x1a11('0x7')],_0x24da18=_0x4750a9[_0x1a11('0x21')]('highlight');let _0x5a2fd1=_0x5e025c[_0x1a11('0x1')],_0x24281e=[];if(_0x4750a9[_0x1a11('0xe')]){const _0x2cff77=_0x4750a9['getFirstPosition']();if(!_0x4750a9['hasAttribute'](_0x1a11('0x1e')))return void _0x1a1fbe(_0x5e025c);{const _0x117abb=_0x35f5f1=>_0x35f5f1[_0x1a11('0x11')][_0x1a11('0x21')](_0x1a11('0x1e'))===_0x24da18,_0x5e6f7b=_0x2cff77[_0x1a11('0x9')](_0x117abb,{'direction':_0x1a11('0xf')}),_0x383084=_0x2cff77[_0x1a11('0x9')](_0x117abb);_0x24281e=[_0x13aff9[_0x1a11('0x0')][_0x1a11('0x14')](_0x5e6f7b,_0x383084)],_0x5a2fd1==_0x24da18&&(_0x5a2fd1=null);}}else for(const _0xb2855a of _0x4750a9[_0x1a11('0x6')]())_0x5a2fd1?_0x24281e[_0x1a11('0x13')](_0xb2855a):_0x24281e[_0x1a11('0x13')](..._0x536af7('highlight',_0xb2855a,_0x13aff9[_0x1a11('0x0')]));_0x13aff9[_0x1a11('0x0')]['change'](()=>{for(const _0x21064a of _0x24281e)_0xcb6304[_0x1a11('0xd')](_0x21064a,{'commandName':_0x1a11('0x1e'),'commandParams':[{'value':_0x5a2fd1}]});});});const _0x291610=_0x13aff9[_0x1a11('0xa')];_0xcb6304[_0x1a11('0xb')][_0x1a11('0x1d')](_0x473f93=>{const {type:_0x26f023,data:_0x142f59}=_0x473f93;if(_0x1a11('0x1a')==_0x26f023&&_0x142f59&&'highlight'==_0x142f59[_0x1a11('0x17')]){const _0x307d57=_0x291610['t'],_0x3dbf82=_0x142f59[_0x1a11('0x1c')][0x0]['value'];if(_0x3dbf82){const _0x16953d=_0x13aff9['config'][_0x1a11('0x5')](_0x1a11('0x3'))['find'](_0x459674=>_0x459674['model']==_0x3dbf82),_0xa1239e=_0x307d57(_0x16953d[_0x1a11('0x8')])[_0x1a11('0x2')]();return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,'*Set\x20highlight:*\x20%0',_0xa1239e),'color':{'value':_0x16953d[_0x1a11('0x10')],'title':_0x16953d[_0x1a11('0x8')]}};}return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,_0x1a11('0x1b'),_0x512391(_0x291610,_0x1a11('0x12')))};}});}}
23
+ const _0x6c07=['selection','enableCommand','formatInline','afterInit','title','getAttribute','value','model','*Set\x20highlight:*\x20%0','find','isCollapsed','createRange','TrackChangesEditing','toLowerCase','registerDescriptionCallback','getFirstPosition','push','_descriptionFactory','*Remove\x20highlight*','highlight','plugins','backward','commandParams','change','getRanges','format','has','item','editor','HighlightEditing','get'];(function(_0x418c7b,_0x6c072f){const _0xa0c9f0=function(_0x215462){while(--_0x215462){_0x418c7b['push'](_0x418c7b['shift']());}};_0xa0c9f0(++_0x6c072f);}(_0x6c07,0x177));const _0xa0c9=function(_0x418c7b,_0x6c072f){_0x418c7b=_0x418c7b-0x0;let _0xa0c9f0=_0x6c07[_0x418c7b];return _0xa0c9f0;};import{Plugin as _0x330868}from'ckeditor5/src/core';import{getTranslation as _0x1cc14d}from'../utils/common-translations';import{getRangesWithAttribute as _0x25bb1c}from'./utils';export default class K extends _0x330868{[_0xa0c9('0x0')](){const _0x1d0963=this[_0xa0c9('0x19')];if(!_0x1d0963[_0xa0c9('0x11')][_0xa0c9('0x17')](_0xa0c9('0x1a')))return;const _0x582ba9=_0x1d0963[_0xa0c9('0x11')][_0xa0c9('0x1b')](_0xa0c9('0x9'));_0x582ba9[_0xa0c9('0x1d')]('highlight',(_0x5514a5,_0x4fa870={})=>{const _0x1dadc1=_0x1d0963[_0xa0c9('0x4')]['document'][_0xa0c9('0x1c')],_0x2b9e3d=_0x1dadc1[_0xa0c9('0x2')]('highlight');let _0x5edd8a=_0x4fa870[_0xa0c9('0x3')],_0x2aebb7=[];if(_0x1dadc1[_0xa0c9('0x7')]){const _0x1f01e3=_0x1dadc1[_0xa0c9('0xc')]();if(!_0x1dadc1['hasAttribute'](_0xa0c9('0x10')))return void _0x5514a5(_0x4fa870);{const _0x2415bd=_0x874624=>_0x874624[_0xa0c9('0x18')][_0xa0c9('0x2')](_0xa0c9('0x10'))===_0x2b9e3d,_0x3c316f=_0x1f01e3['getLastMatchingPosition'](_0x2415bd,{'direction':_0xa0c9('0x12')}),_0x60a9db=_0x1f01e3['getLastMatchingPosition'](_0x2415bd);_0x2aebb7=[_0x1d0963[_0xa0c9('0x4')][_0xa0c9('0x8')](_0x3c316f,_0x60a9db)],_0x5edd8a==_0x2b9e3d&&(_0x5edd8a=null);}}else for(const _0x184ad0 of _0x1dadc1[_0xa0c9('0x15')]())_0x5edd8a?_0x2aebb7[_0xa0c9('0xd')](_0x184ad0):_0x2aebb7[_0xa0c9('0xd')](..._0x25bb1c('highlight',_0x184ad0,_0x1d0963[_0xa0c9('0x4')]));_0x1d0963['model'][_0xa0c9('0x14')](()=>{for(const _0x2d30f0 of _0x2aebb7)_0x582ba9['markInlineFormat'](_0x2d30f0,{'commandName':_0xa0c9('0x10'),'commandParams':[{'value':_0x5edd8a}]});});});const _0x12dcc1=_0x1d0963['locale'];_0x582ba9[_0xa0c9('0xe')][_0xa0c9('0xb')](_0x5114f3=>{const {type:_0xc7f8a8,data:_0x10fd2e}=_0x5114f3;if(_0xa0c9('0x1e')==_0xc7f8a8&&_0x10fd2e&&_0xa0c9('0x10')==_0x10fd2e['commandName']){const _0x2a0699=_0x12dcc1['t'],_0x160897=_0x10fd2e[_0xa0c9('0x13')][0x0][_0xa0c9('0x3')];if(_0x160897){const _0x2cb622=_0x1d0963['config']['get']('highlight.options')[_0xa0c9('0x6')](_0x1df246=>_0x1df246[_0xa0c9('0x4')]==_0x160897),_0x1ecd69=_0x2a0699(_0x2cb622[_0xa0c9('0x1')])[_0xa0c9('0xa')]();return{'type':'format','content':_0x1cc14d(_0x12dcc1,_0xa0c9('0x5'),_0x1ecd69),'color':{'value':_0x2cb622['color'],'title':_0x2cb622['title']}};}return{'type':_0xa0c9('0x16'),'content':_0x1cc14d(_0x12dcc1,_0xa0c9('0xf'),_0x1cc14d(_0x12dcc1,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3279=['createPositionAt','div','for','registerElementLabel','locale','showSuggestionHighlights','addClass','ck-horizontal-line','insert','_descriptionFactory','get','HorizontalLineEditing','conversion','afterInit','horizontalLine','elementToStructure','TrackChangesEditing','createEmptyElement','plugins'];(function(_0x442ff5,_0x327988){const _0x5c7c4f=function(_0x518de1){while(--_0x518de1){_0x442ff5['push'](_0x442ff5['shift']());}};_0x5c7c4f(++_0x327988);}(_0x3279,0x182));const _0x5c7c=function(_0x442ff5,_0x327988){_0x442ff5=_0x442ff5-0x0;let _0x5c7c4f=_0x3279[_0x442ff5];return _0x5c7c4f;};import{Plugin as _0x5179d2}from'ckeditor5/src/core';import{getTranslation as _0x49e595}from'../utils/common-translations';export default class K extends _0x5179d2{[_0x5c7c('0x7')](){const _0x2408c3=this['editor'];if(!_0x2408c3['plugins']['has'](_0x5c7c('0x5')))return;_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa'))['enableCommand'](_0x5c7c('0x8'));const _0x2a1be6=_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa')),_0x85a836=_0x2408c3[_0x5c7c('0x11')];_0x2a1be6[_0x5c7c('0x3')][_0x5c7c('0x10')]('horizontalLine',_0x1aac6b=>_0x49e595(_0x85a836,'ELEMENT_HORIZONTAL_LINE',_0x1aac6b)),_0x2408c3[_0x5c7c('0x6')][_0x5c7c('0xf')]('dataDowncast')[_0x5c7c('0x9')]({'model':_0x5c7c('0x8'),'view':(_0x338192,{writer:_0x1ff232,options:_0x19a5c3})=>{if(!_0x19a5c3[_0x5c7c('0x12')])return null;const _0x311998=_0x1ff232['createContainerElement'](_0x5c7c('0xe')),_0x5e4e68=_0x1ff232[_0x5c7c('0xb')]('hr');return _0x1ff232[_0x5c7c('0x0')](_0x5c7c('0x1'),_0x311998),_0x1ff232[_0x5c7c('0x2')](_0x1ff232[_0x5c7c('0xd')](_0x311998,0x0),_0x5e4e68),_0x311998;},'converterPriority':'high'});}}
23
+ const _0x5c98=['TrackChangesEditing','afterInit','ck-horizontal-line','ELEMENT_HORIZONTAL_LINE','locale','has','for','createContainerElement','elementToStructure','enableCommand','plugins','horizontalLine','showSuggestionHighlights','dataDowncast','_descriptionFactory','HorizontalLineEditing','get','insert','high','createEmptyElement','createPositionAt'];(function(_0x528f6c,_0x5c98d2){const _0x4bf20d=function(_0x2bdb81){while(--_0x2bdb81){_0x528f6c['push'](_0x528f6c['shift']());}};_0x4bf20d(++_0x5c98d2);}(_0x5c98,0x1bf));const _0x4bf2=function(_0x528f6c,_0x5c98d2){_0x528f6c=_0x528f6c-0x0;let _0x4bf20d=_0x5c98[_0x528f6c];return _0x4bf20d;};import{Plugin as _0x33e93d}from'ckeditor5/src/core';import{getTranslation as _0x27e871}from'../utils/common-translations';export default class Q extends _0x33e93d{[_0x4bf2('0x10')](){const _0x3164d3=this['editor'];if(!_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0x14')](_0x4bf2('0x9')))return;_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0xa')](_0x4bf2('0xf'))[_0x4bf2('0x3')](_0x4bf2('0x5'));const _0x2e9b72=_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0xa')](_0x4bf2('0xf')),_0x54356b=_0x3164d3[_0x4bf2('0x13')];_0x2e9b72[_0x4bf2('0x8')]['registerElementLabel'](_0x4bf2('0x5'),_0x1cc849=>_0x27e871(_0x54356b,_0x4bf2('0x12'),_0x1cc849)),_0x3164d3['conversion'][_0x4bf2('0x0')](_0x4bf2('0x7'))[_0x4bf2('0x2')]({'model':_0x4bf2('0x5'),'view':(_0x437ae2,{writer:_0x3e1a93,options:_0x4eaf82})=>{if(!_0x4eaf82[_0x4bf2('0x6')])return null;const _0x4359e6=_0x3e1a93[_0x4bf2('0x1')]('div'),_0x2c1961=_0x3e1a93[_0x4bf2('0xd')]('hr');return _0x3e1a93['addClass'](_0x4bf2('0x11'),_0x4359e6),_0x3e1a93[_0x4bf2('0xb')](_0x3e1a93[_0x4bf2('0xe')](_0x4359e6,0x0),_0x2c1961),_0x4359e6;},'converterPriority':_0x4bf2('0xc')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f9=['format','editing','selection','change','markBlockFormat','*Change\x20%0\x20content*','get','registerDescriptionCallback','getSelectedElement','ELEMENT_HTML_EMBED','_descriptionFactory','getAttribute','commandName','registerElementLabel','plugins','getCustomProperty','htmlEmbed','locale','TrackChangesEditing','view','has','value','enableCommand','rawHtml','afterInit'];(function(_0x528457,_0x29f9ab){const _0xf586f2=function(_0x4464ad){while(--_0x4464ad){_0x528457['push'](_0x528457['shift']());}};_0xf586f2(++_0x29f9ab);}(_0x29f9,0x1be));const _0xf586=function(_0x528457,_0x29f9ab){_0x528457=_0x528457-0x0;let _0xf586f2=_0x29f9[_0x528457];return _0xf586f2;};import{Plugin as _0x5c7961}from'ckeditor5/src/core';import{getTranslation as _0x48358f}from'../utils/common-translations';export default class Q extends _0x5c7961{[_0xf586('0x3')](){const _0x33d79f=this['editor'];if(!_0x33d79f[_0xf586('0x12')][_0xf586('0x18')]('HtmlEmbed'))return;const _0x3765d1=_0x33d79f[_0xf586('0x12')][_0xf586('0xa')](_0xf586('0x16')),_0x487c2c=_0x33d79f[_0xf586('0x15')],_0x36dd41=_0x33d79f[_0xf586('0x5')][_0xf586('0x17')]['document'][_0xf586('0x6')];_0x3765d1[_0xf586('0xe')][_0xf586('0x11')](_0xf586('0x2'),_0x1b815c=>_0x48358f(_0x487c2c,_0xf586('0xd'),_0x1b815c)),_0x33d79f['plugins']['get'](_0xf586('0x16'))[_0xf586('0x1')]('htmlEmbed',(_0x127813,_0x3a13e7)=>{const _0x4f9f67=_0x33d79f['model'],_0x1ba25c=_0x4f9f67['document'][_0xf586('0x6')];_0x4f9f67[_0xf586('0x7')](()=>{const _0x3a1e9d=function(_0x402f2b){const _0x51330c=_0x402f2b[_0xf586('0xc')]();if(_0x51330c&&_0x51330c['is']('element',_0xf586('0x2')))return _0x402f2b[_0xf586('0xc')]();return null;}(_0x1ba25c);if(!_0x3a1e9d)return void _0x127813(null);const _0x46e831=_0x3a1e9d[_0xf586('0xf')](_0xf586('0x0'))||'';if(void 0x0===_0x3a13e7)return;if(_0x3a13e7===_0x46e831)return;_0x3765d1[_0xf586('0x8')](_0x3a1e9d,{'commandName':_0xf586('0x14'),'commandParams':[_0x3a13e7]}),_0x36dd41[_0xf586('0xc')]()[_0xf586('0x13')]('rawHtmlApi')['cancel']();});}),_0x3765d1[_0xf586('0xe')][_0xf586('0xb')](_0x5f5b8b=>{const {data:_0x47ba83}=_0x5f5b8b;if(_0x47ba83&&'htmlEmbed'==_0x47ba83[_0xf586('0x10')]){const _0x1bb2cd=_0x48358f(_0x487c2c,_0xf586('0xd'));return{'type':_0xf586('0x4'),'content':_0x48358f(_0x487c2c,_0xf586('0x9'),_0x1bb2cd)};}});}}
23
+ const _0x32a7=['getCustomProperty','has','locale','get','value','registerElementLabel','htmlEmbed','model','editing','selection','rawHtmlApi','plugins','markBlockFormat','document','rawHtml','getAttribute','change','ELEMENT_HTML_EMBED','registerDescriptionCallback','TrackChangesEditing','view','commandName','_descriptionFactory','enableCommand','afterInit','element','getSelectedElement'];(function(_0x1934ae,_0x32a799){const _0xccb423=function(_0x1c7968){while(--_0x1c7968){_0x1934ae['push'](_0x1934ae['shift']());}};_0xccb423(++_0x32a799);}(_0x32a7,0xcd));const _0xccb4=function(_0x1934ae,_0x32a799){_0x1934ae=_0x1934ae-0x0;let _0xccb423=_0x32a7[_0x1934ae];return _0xccb423;};import{Plugin as _0x47c892}from'ckeditor5/src/core';import{getTranslation as _0x19f3de}from'../utils/common-translations';export default class V extends _0x47c892{[_0xccb4('0x8')](){const _0x2ac1ad=this['editor'];if(!_0x2ac1ad['plugins'][_0xccb4('0xc')]('HtmlEmbed'))return;const _0x32c144=_0x2ac1ad[_0xccb4('0x16')][_0xccb4('0xe')](_0xccb4('0x3')),_0x3e3117=_0x2ac1ad[_0xccb4('0xd')],_0x368ee3=_0x2ac1ad[_0xccb4('0x13')][_0xccb4('0x4')]['document'][_0xccb4('0x14')];_0x32c144[_0xccb4('0x6')][_0xccb4('0x10')](_0xccb4('0x19'),_0x11018c=>_0x19f3de(_0x3e3117,_0xccb4('0x1'),_0x11018c)),_0x2ac1ad[_0xccb4('0x16')][_0xccb4('0xe')](_0xccb4('0x3'))[_0xccb4('0x7')](_0xccb4('0x11'),(_0x5655ae,_0x1e5973)=>{const _0x179e62=_0x2ac1ad[_0xccb4('0x12')],_0xeaf815=_0x179e62[_0xccb4('0x18')][_0xccb4('0x14')];_0x179e62[_0xccb4('0x0')](()=>{const _0x178cd1=function(_0x1f175e){const _0x4822c7=_0x1f175e['getSelectedElement']();if(_0x4822c7&&_0x4822c7['is'](_0xccb4('0x9'),_0xccb4('0x19')))return _0x1f175e[_0xccb4('0xa')]();return null;}(_0xeaf815);if(!_0x178cd1)return void _0x5655ae(null);const _0x4ec9a2=_0x178cd1[_0xccb4('0x1a')](_0xccb4('0xf'))||'';if(void 0x0===_0x1e5973)return;if(_0x1e5973===_0x4ec9a2)return;_0x32c144[_0xccb4('0x17')](_0x178cd1,{'commandName':_0xccb4('0x11'),'commandParams':[_0x1e5973]}),_0x368ee3[_0xccb4('0xa')]()[_0xccb4('0xb')](_0xccb4('0x15'))['cancel']();});}),_0x32c144[_0xccb4('0x6')][_0xccb4('0x2')](_0x10ce11=>{const {data:_0x35c8ba}=_0x10ce11;if(_0x35c8ba&&'htmlEmbed'==_0x35c8ba[_0xccb4('0x5')]){const _0x2de8ad=_0x19f3de(_0x3e3117,_0xccb4('0x1'));return{'type':'format','content':_0x19f3de(_0x3e3117,'*Change\x20%0\x20content*',_0x2de8ad)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a22=['start','_splitMarkerName','_descriptionFactory','registerPostFixer','Users','value','refresh','toNext','Block\x20image\x20to\x20inline\x20image','backward','formatInline','change','fromPosition','end','*Remove\x20image\x20text\x20alternative*','imageStyle','hasSuggestion','createRangeOn','commands','enableCommand','resizeImage','markInlineFormat','document','differ','insertion','discardSuggestion','getNearestSelectionRange','next','getAttribute','newRange','forEach','accept','convertInlineImageToBlock','FORMAT_SIDE_IMAGE','detach','ImageEditing','isBlockImage','createRange','markInsertion','markBlockFormat','getContainedElement','toggleImageCaption','*Reset\x20image\x20width*','element','imageTypeInline','deletion','Inline\x20image\x20to\x20block\x20image','registerElementLabel','name','from','subType','editor','_suggestionFactory','registerDescriptionCallback','join','previous','format','find','chain','commandParams','getClosestSelectedImageElement','*Format:*\x20%0','author','width','model','getChangedMarkers','ImageUtils','isBefore','forward','locale','isInContent','title','*Set\x20image\x20text\x20alternative:*\x20%0','ImageBlockEditing','addObject','findIndex','imageTextAlternative','hasAttribute','formatBlock','*Set\x20image\x20width:*\x20%0','imageStylePreApply','ImageCaptionUtils','getSuggestion','ImageStyleEditing','selection','registerCustomCallback','getSuggestionCallback','suggestion','getFirstRange','commandName','isOwn','plugins','imageTypeBlock','ImageInlineEditing','imageBlock','ELEMENT_INLINE_IMAGE','type','commandReversedParams','ELEMENT_CAPTION','getSuggestions','imageStylePostApply','imageInline','get','convertBlockImageToInline','schema','_findSuggestions','isEqual','caption','isIntersecting','imageCaption','shouldConvertImageType','toPrevious','ImageCaptionEditing','getCaptionFromImageModelElement','side','has','isInlineImage','isCollapsed','filter','discard','length','uploadImage'];(function(_0x5881e9,_0x1a22ee){const _0xd62a61=function(_0x25a0ea){while(--_0x25a0ea){_0x5881e9['push'](_0x5881e9['shift']());}};_0xd62a61(++_0x1a22ee);}(_0x1a22,0x1d8));const _0xd62a=function(_0x5881e9,_0x1a22ee){_0x5881e9=_0x5881e9-0x0;let _0xd62a61=_0x1a22[_0x5881e9];return _0xd62a61;};import{Plugin as _0xfa4741}from'ckeditor5/src/core';import{LivePosition as _0x57bf7e}from'ckeditor5/src/engine';import{uid as _0x289e26}from'ckeditor5/src/utils';import{getTranslation as _0x326d54}from'../utils/common-translations';export default class V extends _0xfa4741{['afterInit'](){const _0xae0880=this[_0xd62a('0x43')];if(!_0xae0880['plugins']['has'](_0xd62a('0x33')))return;const _0x33f8b7=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')]('TrackChangesEditing'),_0x33eafd=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x52')),_0x3a1f41={},_0xa59cfc=_0xae0880[_0xd62a('0x55')];if(_0x33f8b7[_0xd62a('0x23')]('insertImage'),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x6e'),_0x3fca11=>_0x326d54(_0xa59cfc,'ELEMENT_IMAGE',_0x3fca11)),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x75'),_0x4a6bda=>_0x326d54(_0xa59cfc,_0xd62a('0x6f'),_0x4a6bda)),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x3f')](_0xd62a('0x1'),()=>_0x326d54(_0xa59cfc,_0xd62a('0x72'))),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')]('ImageUploadEditing')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0xf')),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x59'))&&_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6d'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x3c'),(_0x4ed82a,_0x5e1c00)=>{const _0x37c09e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]);_0xae0880['model'][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x37c09e,{'commandName':_0xd62a('0x3c'),'commandParams':[_0x5e1c00]},[],_0xd62a('0x77'));});}),_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x6c'),(_0x2a923c,_0x33817e)=>{_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](_0x3c96db=>{let _0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x2602ba=_0x57bf7e[_0xd62a('0x1c')](_0x1d5a9f[_0xd62a('0x10')],_0xd62a('0x5')),_0x16d294=_0x57bf7e['fromPosition'](_0x1d5a9f['end'],_0xd62a('0x17'));_0x33f8b7['forceDefaultExecution'](()=>_0x2a923c(_0x33817e)),_0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x13fe1c=_0x3c96db['createRange'](_0x2602ba,_0x16d294);_0x2602ba[_0xd62a('0x32')](),_0x16d294[_0xd62a('0x32')](),_0x33f8b7[_0xd62a('0x37')](_0x12ff09,{'commandName':_0xd62a('0x3c'),'commandParams':[]},[],_0xd62a('0x30')),_0x13fe1c[_0xd62a('0x10')][_0xd62a('0x53')](_0x1d5a9f[_0xd62a('0x10')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db['createRange'](_0x13fe1c[_0xd62a('0x10')],_0x1d5a9f[_0xd62a('0x10')]),'convertInlineImageToBlock'),_0x1d5a9f[_0xd62a('0x1d')][_0xd62a('0x53')](_0x13fe1c[_0xd62a('0x1d')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db[_0xd62a('0x35')](_0x1d5a9f[_0xd62a('0x1d')],_0x13fe1c[_0xd62a('0x1d')]),_0xd62a('0x30'));});}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),'convertInlineImageToBlock','join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),'discard',_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback'](_0xd62a('0x5e'),'','accept')),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('insertion',_0xd62a('0x30'),'join',()=>{}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x28'),_0xd62a('0x30'),_0xd62a('0xd'),([_0x1221e1])=>{const _0x1a52e3=_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x66')]('insertion','','discard');let _0x125180=_0x1221e1['start'],_0x3cd3b6=_0x1221e1[_0xd62a('0x1d')];const _0x5434d8=_0xae0880[_0xd62a('0x50')][_0xd62a('0x78')]['getNearestSelectionRange'](_0x125180,_0xd62a('0x19')),_0x2ceb54=_0xae0880['model'][_0xd62a('0x78')][_0xd62a('0x2a')](_0x3cd3b6,_0xd62a('0x54'));_0x5434d8[_0xd62a('0xb')]&&(_0x125180=_0x5434d8['start']),_0x2ceb54['isCollapsed']&&(_0x3cd3b6=_0x2ceb54[_0xd62a('0x1d')]),_0x1a52e3([_0xae0880[_0xd62a('0x50')][_0xd62a('0x35')](_0x125180,_0x3cd3b6)]);}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x5e'),_0xd62a('0x30'),'chain',_0x49ceda),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x28'),'convertInlineImageToBlock','chain',_0x49ceda)),_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x39'),(_0x5e4705,_0x3e82f0)=>{const _0xd77d68=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x61'));let _0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model']['document']['selection']),_0x3b54f9=_0xd77d68[_0xd62a('0x7')](_0x157d14);_0xae0880[_0xd62a('0x50')]['change'](()=>{if(_0x3b54f9)return void _0x33f8b7['markDeletion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9));const _0x445f62=_0x33eafd[_0xd62a('0x34')](_0x157d14);_0x5e4705(_0x3e82f0),_0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x3b54f9=_0xd77d68['getCaptionFromImageModelElement'](_0x157d14),_0x33f8b7['markInsertion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9),_0x445f62?null:_0xd62a('0x3'));});}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x28'),_0xd62a('0x3'),_0xd62a('0x4a'),_0x49ceda)),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x63'))){_0x33f8b7['enableCommand']('imageStyle',(_0x4c1627,_0x419780)=>{const _0xe37d17=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x14'))['me'],_0x3e2b81=_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x1f'));let _0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model'][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x35c42e),_0x2ec7e4=_0x3e2b81['value'];if(_0x2ec7e4==_0x419780[_0xd62a('0x15')])return;const _0x485965={'commandName':_0xd62a('0x1f'),'commandParams':[_0x419780],'formatGroupId':_0x289e26()};_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{if(_0x33f8b7[_0xd62a('0x73')]()[_0xd62a('0xc')](_0x1cc1a1=>_0x1cc1a1[_0xd62a('0x56')]&&_0xe37d17==_0x1cc1a1[_0xd62a('0x4e')]&&('formatBlock'==_0x1cc1a1['type']||_0xd62a('0x1a')==_0x1cc1a1['type'])&&('imageStylePreApply'==_0x1cc1a1[_0xd62a('0x42')]||_0xd62a('0x74')==_0x1cc1a1[_0xd62a('0x42')])&&_0x1cc1a1[_0xd62a('0x68')]()[_0xd62a('0x0')](_0x506c69))[_0xd62a('0x2e')](_0x6f1cf9=>_0x33f8b7[_0xd62a('0x29')](_0x6f1cf9['head'])),_0x35c42e=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880['model'][_0xd62a('0x21')](_0x35c42e),_0x3e2b81[_0xd62a('0x16')](),_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x3c'))['refresh'](),_0xae0880['commands'][_0xd62a('0x76')]('imageTypeBlock')[_0xd62a('0x16')](),_0x2ec7e4=_0x3e2b81['value'],_0x2ec7e4!=_0x419780['value'])return _0x33eafd[_0xd62a('0xa')](_0x35c42e)&&_0x3e2b81[_0xd62a('0x4')](_0x419780[_0xd62a('0x15')],_0x35c42e)?(_0x4c1627(_0x419780),_0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')]['selection']),void _0x33f8b7['markBlockFormat'](_0x35c42e,{..._0x485965,'commandReversedParams':[{'value':_0x2ec7e4||null}]},[],_0xd62a('0x60'))):void(_0x33eafd['isBlockImage'](_0x35c42e)?_0x33f8b7[_0xd62a('0x37')](_0x35c42e,_0x485965,[],'imageStylePostApply'):_0x33f8b7[_0xd62a('0x25')](_0x506c69,_0x485965,_0xd62a('0x74')));});});for(const _0x2ce382 of _0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x63'))['normalizedStyles'])_0x3a1f41[_0x2ce382[_0xd62a('0x40')]]=_0x2ce382[_0xd62a('0x57')]['toLowerCase']();_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('formatBlock',_0xd62a('0x74'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x1a'),_0xd62a('0x74'),'join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0xd'),(_0x5913d7,_0x54cf03)=>{_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback']('formatBlock','',_0xd62a('0x2f'))(_0x5913d7,{'commandName':_0x54cf03[_0xd62a('0x69')],'commandParams':_0x54cf03[_0xd62a('0x71')]});}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x4a'),_0x49ceda);}const _0x4b4902=[{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x60')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x3')},{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x30')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x30')}];function _0x1d9871(_0x379eed,_0x3ff347){const _0x2893d8=_0x4b4902[_0xd62a('0x5b')](({type:_0x2a2196,subType:_0x2a4c55})=>_0x379eed[_0xd62a('0x70')]==_0x2a2196&&_0x379eed[_0xd62a('0x42')]==_0x2a4c55),_0xaf8a25=_0x4b4902['findIndex'](({type:_0x236976,subType:_0x4cb517})=>_0x3ff347[_0xd62a('0x70')]==_0x236976&&_0x3ff347[_0xd62a('0x42')]==_0x4cb517);if(_0x2893d8<0x0||_0xaf8a25<0x0)return!0x1;const _0x5ee8ad=_0x379eed[_0xd62a('0x68')](),_0x1b6cee=_0x3ff347[_0xd62a('0x68')]();if((0x0==_0x2893d8||0x1==_0x2893d8)&&0x2==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x2')](_0x1b6cee))return!0x0;if(0x2==_0x2893d8&&0x3==_0xaf8a25){const _0x55b9da=_0x33f8b7[_0xd62a('0x79')](_0x5ee8ad,_0xd62a('0x28'))[_0xd62a('0xc')](({suggestion:_0x496bfe,meta:_0x1e6035})=>_0x1e6035[_0xd62a('0x6a')]&&_0xd62a('0x30')==_0x496bfe[_0xd62a('0x42')]);if(_0x55b9da[_0xd62a('0xe')]>0x1&&_0x1b6cee[_0xd62a('0x1d')][_0xd62a('0x0')](_0x5ee8ad['start']))return!0x0;if(0x1==_0x55b9da['length']&&(_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x1d')])||_0x5ee8ad[_0xd62a('0x1d')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x10')])))return!0x0;}if(0x3==_0x2893d8&&0x3==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x53')](_0x1b6cee[_0xd62a('0x10')])){const _0x521bcb=_0x5ee8ad[_0xd62a('0x1d')]['nodeAfter'],_0x2a4a6f=_0x1b6cee[_0xd62a('0x10')]['nodeBefore'];return _0x33eafd[_0xd62a('0x34')](_0x521bcb)&&_0x521bcb===_0x2a4a6f;}return!0x1;}function _0x49ceda(_0x42cda8,_0x42cc33){return _0x1d9871(_0x42cda8,_0x42cc33)?[_0x42cda8,_0x42cc33]:_0x1d9871(_0x42cc33,_0x42cda8)?[_0x42cc33,_0x42cda8]:null;}_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x13')](()=>{let _0x17d286=!0x1;const _0x266f49=Array[_0xd62a('0x41')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x27')][_0xd62a('0x51')]());for(const {name:_0x2a19e2,data:_0x4b9633}of _0x266f49){const {group:_0x2e2d24,type:_0x134c5c,subType:_0x41f582,id:_0x3f0203}=_0x33f8b7[_0xd62a('0x11')](_0x2a19e2);if(_0xd62a('0x67')==_0x2e2d24&&_0x33f8b7[_0xd62a('0x20')](_0x3f0203)){if('formatBlock'==_0x134c5c&&(_0xd62a('0x60')==_0x41f582||'imageStylePostApply'==_0x41f582)){const _0x4a0e24=_0x33f8b7['getSuggestion'](_0x3f0203);if(_0x4b9633[_0xd62a('0x2d')]){const _0x5dd64b=_0x4a0e24[_0xd62a('0x68')]()['getContainedElement']();if(_0x33eafd['isBlockImage'](_0x5dd64b))continue;_0x33f8b7[_0xd62a('0x29')](_0x4a0e24),_0x17d286=!0x0;}}if(_0xd62a('0x28')==_0x134c5c&&_0xd62a('0x3')==_0x41f582&&!_0x4b9633[_0xd62a('0x2d')]){const _0x224278=_0x33f8b7[_0xd62a('0x62')](_0x3f0203);_0x224278[_0xd62a('0x2b')]&&_0x224278[_0xd62a('0x2b')][_0xd62a('0x56')]&&(_0x33f8b7[_0xd62a('0x29')](_0x224278[_0xd62a('0x2b')]),_0x17d286=!0x0);}}}return _0x17d286;}),_0xae0880[_0xd62a('0x6b')]['has']('ImageResize')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x24'),(_0x5469cb,_0x17319a)=>{const _0x42a528=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);_0x42a528['getAttribute'](_0xd62a('0x4f'))!=_0x17319a['width']&&_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x42a528,{'commandName':_0xd62a('0x24'),'commandParams':[_0x17319a]});});}),_0xae0880[_0xd62a('0x6b')]['has']('ImageTextAlternativeEditing')&&_0x33f8b7['enableCommand'](_0xd62a('0x5c'),(_0x2b94d6,_0x42244a)=>{const _0x2fd26f=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);(_0x2fd26f[_0xd62a('0x5d')]('alt')?_0x2fd26f[_0xd62a('0x2c')]('alt'):'')!=_0x42244a['newValue']&&_0xae0880['model']['change'](()=>{_0x33f8b7[_0xd62a('0x37')](_0x2fd26f,{'commandName':_0xd62a('0x5c'),'commandParams':[_0x42244a]});});}),_0x33f8b7['_descriptionFactory']['registerDescriptionCallback'](_0x2d12d7=>{if(!!_0x4b4902[_0xd62a('0x49')](({type:_0x201911,subType:_0x2bbffd})=>_0x2d12d7[_0xd62a('0x70')]==_0x201911&&_0x2d12d7[_0xd62a('0x42')]==_0x2bbffd))return _0x2d12d7[_0xd62a('0x47')]?{}:void 0x0;}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x1b24b2=>{if(_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]||_0xd62a('0x3d')==_0x1b24b2[_0xd62a('0x70')]){const _0x52e81e=_0x1b24b2[_0xd62a('0x38')]();if(_0x52e81e&&_0x52e81e['is'](_0xd62a('0x3b'),_0xd62a('0x1')))return{'type':_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]?_0xd62a('0x5a'):'removeObject','element':_0x52e81e,'quantity':0x1};}}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x3574f1=>_0xd62a('0x5e')==_0x3574f1[_0xd62a('0x70')]&&_0xd62a('0x30')==_0x3574f1[_0xd62a('0x42')]?{'type':'format','content':_0xd62a('0x3e')}:_0xd62a('0x5e')==_0x3574f1['type']&&_0xd62a('0x77')==_0x3574f1[_0xd62a('0x42')]?{'type':_0xd62a('0x48'),'content':_0xd62a('0x18')}:void 0x0),_0x33f8b7['_descriptionFactory'][_0xd62a('0x45')](_0x18b019=>{const {data:_0x14818d}=_0x18b019;if(_0x14818d){if(_0xd62a('0x1f')==_0x14818d[_0xd62a('0x69')]){const _0x20edd1=_0x14818d[_0xd62a('0x4b')][0x0][_0xd62a('0x15')];return _0x1d1aab(_0xd62a('0x8')===_0x20edd1?_0x326d54(_0xa59cfc,_0xd62a('0x31')):_0x3a1f41[_0x20edd1]||_0x20edd1);}if('imageTextAlternative'==_0x14818d['commandName']){const _0x733692=_0x14818d[_0xd62a('0x4b')][0x0]['newValue'];return _0x733692?{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x58'),'\x22'+_0x733692+'\x22')}:{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x1e'))};}if(_0xd62a('0x24')==_0x14818d[_0xd62a('0x69')]){const _0x5eb5e7=_0x14818d['commandParams'][0x0][_0xd62a('0x4f')];return _0x5eb5e7?{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x5f'),_0x5eb5e7)}:{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x3a'))};}}function _0x1d1aab(_0x1f3e0a){return{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x4d'),_0x1f3e0a)};}});}}
23
+ const _0x5df7=['toLowerCase','differ','title','type','value','hasAttribute','resizeImage','detach','deletion','ImageStyleEditing','getAttribute','backward','newRange','ImageInlineEditing','commandName','caption','accept','chain','length','createRangeOn','ImageResize','alt','get','markInsertion','registerDescriptionCallback','commandParams','TrackChangesEditing','locale','commands','imageCaption','getSuggestions','end','imageStylePreApply','isInlineImage','Users','refresh','imageTypeInline','getCaptionFromImageModelElement','fromPosition','isBefore','getSuggestion','start','getSuggestionCallback','getClosestSelectedImageElement','markBlockFormat','width','discard','schema','filter','isOwn','uploadImage','imageStylePostApply','markInlineFormat','ImageEditing','Inline\x20image\x20to\x20block\x20image','_descriptionFactory','selection','insertImage','suggestion','imageBlock','imageStyle','ImageUploadEditing','isInContent','convertInlineImageToBlock','_suggestionFactory','toPrevious','imageTextAlternative','has','subType','head','isEqual','change','format','document','_findSuggestions','getChangedMarkers','model','side','shouldConvertImageType','author','editor','*Remove\x20image\x20text\x20alternative*','hasSuggestion','previous','_splitMarkerName','findIndex','getNearestSelectionRange','ImageBlockEditing','removeObject','next','discardSuggestion','from','enableCommand','formatInline','createRange','normalizedStyles','ELEMENT_IMAGE','registerCustomCallback','formatBlock','join','*Reset\x20image\x20width*','isBlockImage','newValue','toggleImageCaption','getFirstRange','registerElementLabel','convertBlockImageToInline','isCollapsed','insertion','plugins','forEach','element','*Format:*\x20%0','imageInline','getContainedElement'];(function(_0x1e59f2,_0x5df785){const _0x259780=function(_0x4f865c){while(--_0x4f865c){_0x1e59f2['push'](_0x1e59f2['shift']());}};_0x259780(++_0x5df785);}(_0x5df7,0xe3));const _0x2597=function(_0x1e59f2,_0x5df785){_0x1e59f2=_0x1e59f2-0x0;let _0x259780=_0x5df7[_0x1e59f2];return _0x259780;};import{Plugin as _0x175e96}from'ckeditor5/src/core';import{LivePosition as _0x4c0e1d}from'ckeditor5/src/engine';import{uid as _0x1c9a02}from'ckeditor5/src/utils';import{getTranslation as _0x212321}from'../utils/common-translations';export default class X extends _0x175e96{['afterInit'](){const _0x5ed42f=this[_0x2597('0x53')];if(!_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x38')))return;const _0x2d9434=_0x5ed42f[_0x2597('0x70')][_0x2597('0x19')](_0x2597('0x1d')),_0x5cd437=_0x5ed42f['plugins'][_0x2597('0x19')]('ImageUtils'),_0x6a3bbb={},_0x1f2aef=_0x5ed42f[_0x2597('0x1e')];if(_0x2d9434['enableCommand'](_0x2597('0x3c')),_0x2d9434[_0x2597('0x3a')][_0x2597('0x6c')](_0x2597('0x3e'),_0x596e9b=>_0x212321(_0x1f2aef,_0x2597('0x63'),_0x596e9b)),_0x2d9434['_descriptionFactory'][_0x2597('0x6c')](_0x2597('0x1'),_0x306897=>_0x212321(_0x1f2aef,'ELEMENT_INLINE_IMAGE',_0x306897)),_0x2d9434[_0x2597('0x3a')][_0x2597('0x6c')]('caption',()=>_0x212321(_0x1f2aef,'ELEMENT_CAPTION')),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x40'))&&_0x2d9434[_0x2597('0x5f')](_0x2597('0x35')),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x5a'))&&_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x10'))&&(_0x2d9434[_0x2597('0x5f')]('imageTypeInline',(_0x8699b7,_0x11fe64)=>{const _0x96f7e4=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]);_0x5ed42f[_0x2597('0x4f')]['change'](()=>{_0x2d9434[_0x2597('0x2f')](_0x96f7e4,{'commandName':_0x2597('0x27'),'commandParams':[_0x11fe64]},[],_0x2597('0x6d'));});}),_0x2d9434[_0x2597('0x5f')]('imageTypeBlock',(_0x409330,_0x388fb3)=>{_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](_0x465c6b=>{let _0x1c53f7=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')]['selection']),_0x248de0=_0x465c6b[_0x2597('0x16')](_0x1c53f7);const _0x11e73e=_0x4c0e1d['fromPosition'](_0x248de0[_0x2597('0x2c')],_0x2597('0x44')),_0x4cf0f3=_0x4c0e1d[_0x2597('0x29')](_0x248de0[_0x2597('0x22')],'toNext');_0x2d9434['forceDefaultExecution'](()=>_0x409330(_0x388fb3)),_0x1c53f7=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]),_0x248de0=_0x465c6b[_0x2597('0x16')](_0x1c53f7);const _0x1cdcd1=_0x465c6b[_0x2597('0x61')](_0x11e73e,_0x4cf0f3);_0x11e73e[_0x2597('0xa')](),_0x4cf0f3[_0x2597('0xa')](),_0x2d9434[_0x2597('0x2f')](_0x1c53f7,{'commandName':_0x2597('0x27'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x1cdcd1[_0x2597('0x2c')]['isBefore'](_0x248de0[_0x2597('0x2c')])&&_0x2d9434['markInsertion'](_0x465c6b['createRange'](_0x1cdcd1[_0x2597('0x2c')],_0x248de0[_0x2597('0x2c')]),'convertInlineImageToBlock'),_0x248de0['end'][_0x2597('0x2a')](_0x1cdcd1['end'])&&_0x2d9434['markInsertion'](_0x465c6b[_0x2597('0x61')](_0x248de0[_0x2597('0x22')],_0x1cdcd1[_0x2597('0x22')]),'convertInlineImageToBlock');});}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock','convertInlineImageToBlock','join',()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x42'),_0x2597('0x13'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),'convertInlineImageToBlock','discard',_0x2d9434['_suggestionFactory']['getSuggestionCallback'](_0x2597('0x65'),'',_0x2597('0x13'))),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x31'),([_0x45170c])=>{const _0x58de1f=_0x2d9434[_0x2597('0x43')][_0x2597('0x2d')]('insertion','',_0x2597('0x31'));let _0x33592d=_0x45170c['start'],_0x485983=_0x45170c[_0x2597('0x22')];const _0x1d496f=_0x5ed42f['model'][_0x2597('0x32')]['getNearestSelectionRange'](_0x33592d,_0x2597('0xe')),_0x457fd0=_0x5ed42f[_0x2597('0x4f')]['schema'][_0x2597('0x59')](_0x485983,'forward');_0x1d496f[_0x2597('0x6e')]&&(_0x33592d=_0x1d496f['start']),_0x457fd0[_0x2597('0x6e')]&&(_0x485983=_0x457fd0[_0x2597('0x22')]),_0x58de1f([_0x5ed42f['model']['createRange'](_0x33592d,_0x485983)]);}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock','convertInlineImageToBlock',_0x2597('0x14'),_0x5e6234),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x14'),_0x5e6234)),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')]('ImageCaptionEditing')&&(_0x2d9434[_0x2597('0x5f')](_0x2597('0x6a'),(_0x234a9f,_0xd03dc5)=>{const _0x4c3081=_0x5ed42f[_0x2597('0x70')][_0x2597('0x19')]('ImageCaptionUtils');let _0x4a5a0e=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')]['selection']),_0x11f773=_0x4c3081[_0x2597('0x28')](_0x4a5a0e);_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{if(_0x11f773)return void _0x2d9434['markDeletion'](_0x5ed42f[_0x2597('0x4f')]['createRangeOn'](_0x11f773));const _0x5f9378=_0x5cd437[_0x2597('0x68')](_0x4a5a0e);_0x234a9f(_0xd03dc5),_0x4a5a0e=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')]['document'][_0x2597('0x3b')]),_0x11f773=_0x4c3081[_0x2597('0x28')](_0x4a5a0e),_0x2d9434[_0x2597('0x1a')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x16')](_0x11f773),_0x5f9378?null:_0x2597('0x20'));});}),_0x2d9434['_suggestionFactory'][_0x2597('0x64')](_0x2597('0x6f'),'imageCaption',_0x2597('0x14'),_0x5e6234)),_0x5ed42f[_0x2597('0x70')]['has']('ImageStyleEditing')){_0x2d9434[_0x2597('0x5f')]('imageStyle',(_0xebd83a,_0x561ba5)=>{const _0x489bbe=_0x5ed42f['plugins'][_0x2597('0x19')](_0x2597('0x25'))['me'],_0x2382e0=_0x5ed42f[_0x2597('0x1f')]['get'](_0x2597('0x3f'));let _0x354a6b=_0x5cd437['getClosestSelectedImageElement'](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]),_0x360a21=_0x5ed42f[_0x2597('0x4f')]['createRangeOn'](_0x354a6b),_0x145c73=_0x2382e0[_0x2597('0x7')];if(_0x145c73==_0x561ba5['value'])return;const _0x44e089={'commandName':'imageStyle','commandParams':[_0x561ba5],'formatGroupId':_0x1c9a02()};_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{if(_0x2d9434[_0x2597('0x21')]()[_0x2597('0x33')](_0x4ccded=>_0x4ccded[_0x2597('0x41')]&&_0x489bbe==_0x4ccded[_0x2597('0x52')]&&(_0x2597('0x65')==_0x4ccded[_0x2597('0x6')]||_0x2597('0x60')==_0x4ccded[_0x2597('0x6')])&&('imageStylePreApply'==_0x4ccded[_0x2597('0x47')]||_0x2597('0x36')==_0x4ccded['subType'])&&_0x4ccded[_0x2597('0x6b')]()[_0x2597('0x49')](_0x360a21))[_0x2597('0x71')](_0x360a8f=>_0x2d9434[_0x2597('0x5d')](_0x360a8f[_0x2597('0x48')])),_0x354a6b=_0x5cd437[_0x2597('0x2e')](_0x5ed42f['model'][_0x2597('0x4c')][_0x2597('0x3b')]),_0x360a21=_0x5ed42f[_0x2597('0x4f')][_0x2597('0x16')](_0x354a6b),_0x2382e0[_0x2597('0x26')](),_0x5ed42f[_0x2597('0x1f')][_0x2597('0x19')](_0x2597('0x27'))['refresh'](),_0x5ed42f['commands'][_0x2597('0x19')]('imageTypeBlock')[_0x2597('0x26')](),_0x145c73=_0x2382e0[_0x2597('0x7')],_0x145c73!=_0x561ba5['value'])return _0x5cd437[_0x2597('0x24')](_0x354a6b)&&_0x2382e0[_0x2597('0x51')](_0x561ba5[_0x2597('0x7')],_0x354a6b)?(_0xebd83a(_0x561ba5),_0x354a6b=_0x5cd437[_0x2597('0x2e')](_0x5ed42f['model'][_0x2597('0x4c')][_0x2597('0x3b')]),void _0x2d9434['markBlockFormat'](_0x354a6b,{..._0x44e089,'commandReversedParams':[{'value':_0x145c73||null}]},[],_0x2597('0x23'))):void(_0x5cd437[_0x2597('0x68')](_0x354a6b)?_0x2d9434[_0x2597('0x2f')](_0x354a6b,_0x44e089,[],'imageStylePostApply'):_0x2d9434[_0x2597('0x37')](_0x360a21,_0x44e089,_0x2597('0x36')));});});for(const _0xb211df of _0x5ed42f[_0x2597('0x70')]['get'](_0x2597('0xc'))[_0x2597('0x62')])_0x6a3bbb[_0xb211df['name']]=_0xb211df[_0x2597('0x5')][_0x2597('0x3')]();_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'join',()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock',_0x2597('0x36'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x60'),_0x2597('0x36'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'accept',()=>{}),_0x2d9434['_suggestionFactory'][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'discard',(_0x1bc8ea,_0x230ac7)=>{_0x2d9434[_0x2597('0x43')][_0x2597('0x2d')]('formatBlock','','accept')(_0x1bc8ea,{'commandName':_0x230ac7[_0x2597('0x11')],'commandParams':_0x230ac7['commandReversedParams']});}),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x65'),'imageStylePreApply',_0x2597('0x14'),_0x5e6234);}const _0x2e72a4=[{'type':_0x2597('0x65'),'subType':_0x2597('0x23')},{'type':_0x2597('0x6f'),'subType':_0x2597('0x20')},{'type':'formatBlock','subType':_0x2597('0x42')},{'type':'insertion','subType':_0x2597('0x42')}];function _0x5a4c4b(_0x2abf46,_0x22df43){const _0x1a592b=_0x2e72a4[_0x2597('0x58')](({type:_0x2ad3ed,subType:_0x614faf})=>_0x2abf46[_0x2597('0x6')]==_0x2ad3ed&&_0x2abf46['subType']==_0x614faf),_0x381858=_0x2e72a4[_0x2597('0x58')](({type:_0x3e3ca4,subType:_0x4a124b})=>_0x22df43[_0x2597('0x6')]==_0x3e3ca4&&_0x22df43[_0x2597('0x47')]==_0x4a124b);if(_0x1a592b<0x0||_0x381858<0x0)return!0x1;const _0x5c98e5=_0x2abf46['getFirstRange'](),_0x245fea=_0x22df43[_0x2597('0x6b')]();if((0x0==_0x1a592b||0x1==_0x1a592b)&&0x2==_0x381858&&_0x5c98e5['isIntersecting'](_0x245fea))return!0x0;if(0x2==_0x1a592b&&0x3==_0x381858){const _0x5891e6=_0x2d9434[_0x2597('0x4d')](_0x5c98e5,_0x2597('0x6f'))['filter'](({suggestion:_0x1cd28f,meta:_0x24308e})=>_0x24308e[_0x2597('0x34')]&&_0x2597('0x42')==_0x1cd28f[_0x2597('0x47')]);if(_0x5891e6[_0x2597('0x15')]>0x1&&_0x245fea['end'][_0x2597('0x49')](_0x5c98e5['start']))return!0x0;if(0x1==_0x5891e6[_0x2597('0x15')]&&(_0x5c98e5[_0x2597('0x2c')][_0x2597('0x49')](_0x245fea[_0x2597('0x22')])||_0x5c98e5[_0x2597('0x22')][_0x2597('0x49')](_0x245fea[_0x2597('0x2c')])))return!0x0;}if(0x3==_0x1a592b&&0x3==_0x381858&&_0x5c98e5['start'][_0x2597('0x2a')](_0x245fea[_0x2597('0x2c')])){const _0x7b153c=_0x5c98e5[_0x2597('0x22')]['nodeAfter'],_0x5ca364=_0x245fea[_0x2597('0x2c')]['nodeBefore'];return _0x5cd437['isBlockImage'](_0x7b153c)&&_0x7b153c===_0x5ca364;}return!0x1;}function _0x5e6234(_0x1b3cfd,_0xe451f8){return _0x5a4c4b(_0x1b3cfd,_0xe451f8)?[_0x1b3cfd,_0xe451f8]:_0x5a4c4b(_0xe451f8,_0x1b3cfd)?[_0xe451f8,_0x1b3cfd]:null;}_0x5ed42f[_0x2597('0x4f')]['document']['registerPostFixer'](()=>{let _0x5d8ae8=!0x1;const _0x5ef113=Array[_0x2597('0x5e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x4')][_0x2597('0x4e')]());for(const {name:_0x43e2a5,data:_0x5c1124}of _0x5ef113){const {group:_0x23dd62,type:_0x4903da,subType:_0x57004f,id:_0x556dcf}=_0x2d9434[_0x2597('0x57')](_0x43e2a5);if(_0x2597('0x3d')==_0x23dd62&&_0x2d9434[_0x2597('0x55')](_0x556dcf)){if(_0x2597('0x65')==_0x4903da&&(_0x2597('0x23')==_0x57004f||_0x2597('0x36')==_0x57004f)){const _0x19c9a5=_0x2d9434[_0x2597('0x2b')](_0x556dcf);if(_0x5c1124['newRange']){const _0xfc513b=_0x19c9a5[_0x2597('0x6b')]()[_0x2597('0x2')]();if(_0x5cd437[_0x2597('0x68')](_0xfc513b))continue;_0x2d9434['discardSuggestion'](_0x19c9a5),_0x5d8ae8=!0x0;}}if('insertion'==_0x4903da&&_0x2597('0x20')==_0x57004f&&!_0x5c1124[_0x2597('0xf')]){const _0x7bb4ee=_0x2d9434[_0x2597('0x2b')](_0x556dcf);_0x7bb4ee['next']&&_0x7bb4ee['next']['isInContent']&&(_0x2d9434['discardSuggestion'](_0x7bb4ee[_0x2597('0x5c')]),_0x5d8ae8=!0x0);}}}return _0x5d8ae8;}),_0x5ed42f['plugins'][_0x2597('0x46')](_0x2597('0x17'))&&_0x2d9434['enableCommand'](_0x2597('0x9'),(_0x42a3f6,_0x12c661)=>{const _0x2ccff0=_0x5cd437['getClosestSelectedImageElement'](_0x5ed42f[_0x2597('0x4f')]['document']['selection']);_0x2ccff0[_0x2597('0xd')](_0x2597('0x30'))!=_0x12c661[_0x2597('0x30')]&&_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{_0x2d9434[_0x2597('0x2f')](_0x2ccff0,{'commandName':_0x2597('0x9'),'commandParams':[_0x12c661]});});}),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')]('ImageTextAlternativeEditing')&&_0x2d9434[_0x2597('0x5f')]('imageTextAlternative',(_0x3d4097,_0x4ace4c)=>{const _0x239e57=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]);(_0x239e57[_0x2597('0x8')]('alt')?_0x239e57[_0x2597('0xd')](_0x2597('0x18')):'')!=_0x4ace4c[_0x2597('0x69')]&&_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{_0x2d9434[_0x2597('0x2f')](_0x239e57,{'commandName':_0x2597('0x45'),'commandParams':[_0x4ace4c]});});}),_0x2d9434[_0x2597('0x3a')]['registerDescriptionCallback'](_0x9facb2=>{if(!!_0x2e72a4['find'](({type:_0x14bfae,subType:_0x41fc9b})=>_0x9facb2[_0x2597('0x6')]==_0x14bfae&&_0x9facb2[_0x2597('0x47')]==_0x41fc9b))return _0x9facb2[_0x2597('0x56')]?{}:void 0x0;}),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x4f9bbf=>{if(_0x2597('0x6f')==_0x4f9bbf[_0x2597('0x6')]||_0x2597('0xb')==_0x4f9bbf[_0x2597('0x6')]){const _0x2b2f96=_0x4f9bbf[_0x2597('0x2')]();if(_0x2b2f96&&_0x2b2f96['is'](_0x2597('0x72'),_0x2597('0x12')))return{'type':'insertion'==_0x4f9bbf[_0x2597('0x6')]?'addObject':_0x2597('0x5b'),'element':_0x2b2f96,'quantity':0x1};}}),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x2f784d=>_0x2597('0x65')==_0x2f784d[_0x2597('0x6')]&&_0x2597('0x42')==_0x2f784d[_0x2597('0x47')]?{'type':_0x2597('0x4b'),'content':_0x2597('0x39')}:'formatBlock'==_0x2f784d[_0x2597('0x6')]&&_0x2597('0x6d')==_0x2f784d[_0x2597('0x47')]?{'type':_0x2597('0x4b'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x1eb97b=>{const {data:_0x3505bb}=_0x1eb97b;if(_0x3505bb){if(_0x2597('0x3f')==_0x3505bb[_0x2597('0x11')]){const _0x189c8c=_0x3505bb['commandParams'][0x0]['value'];return _0x2321a4(_0x2597('0x50')===_0x189c8c?_0x212321(_0x1f2aef,'FORMAT_SIDE_IMAGE'):_0x6a3bbb[_0x189c8c]||_0x189c8c);}if(_0x2597('0x45')==_0x3505bb[_0x2597('0x11')]){const _0x3b4153=_0x3505bb[_0x2597('0x1c')][0x0]['newValue'];return _0x3b4153?{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3b4153+'\x22')}:{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x54'))};}if('resizeImage'==_0x3505bb[_0x2597('0x11')]){const _0x5c34ee=_0x3505bb[_0x2597('0x1c')][0x0][_0x2597('0x30')];return _0x5c34ee?{'type':'format','content':_0x212321(_0x1f2aef,'*Set\x20image\x20width:*\x20%0',_0x5c34ee)}:{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x67'))};}}function _0x2321a4(_0x353258){return{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x0'),_0x353258)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c14=['discard','replaceImageSource','registerDescriptionCallback','handleReplaceImageCommand','editor','enableCommand','accept','handleSuggestionDescription','format','afterInit','*Format:*\x20replace\x20image\x20URL','getAttribute','subType','formatBlock','Users','registerCustomCallback','document','plugins','getSuggestionCallback','source','has','getSuggestions','get','commandParams','TrackChangesEditing','selection','src','getContainedElement','data','markBlockFormat','_descriptionFactory','ImageEditing','locale','_suggestionFactory','model','getSelectedElement'];(function(_0x1b9b8e,_0x1c14fd){const _0x4457b2=function(_0x3b3982){while(--_0x3b3982){_0x1b9b8e['push'](_0x1b9b8e['shift']());}};_0x4457b2(++_0x1c14fd);}(_0x1c14,0xd8));const _0x4457=function(_0x1b9b8e,_0x1c14fd){_0x1b9b8e=_0x1b9b8e-0x0;let _0x4457b2=_0x1c14[_0x1b9b8e];return _0x4457b2;};import{Plugin as _0x48d9ed}from'ckeditor5/src/core';import{getTranslation as _0x5754e5}from'../utils/common-translations';export default class X extends _0x48d9ed{[_0x4457('0x9')](){if(!this['editor'][_0x4457('0x11')][_0x4457('0x14')](_0x4457('0x1f')))return;const _0x321370=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0x18'));_0x321370[_0x4457('0x5')](_0x4457('0x1'),(_0x282097,_0x375909)=>this['handleReplaceImageCommand'](_0x282097,_0x375909)),_0x321370[_0x4457('0x21')][_0x4457('0xf')]('formatBlock','replaceImageSource',_0x4457('0x6'),_0x321370['_suggestionFactory']['getSuggestionCallback'](_0x4457('0xd'),null,'discard')),_0x321370[_0x4457('0x21')][_0x4457('0xf')](_0x4457('0xd'),_0x4457('0x1'),'discard',_0x321370[_0x4457('0x21')][_0x4457('0x12')]('formatBlock',null,_0x4457('0x6'))),_0x321370[_0x4457('0x1e')][_0x4457('0x2')](_0xb2642b=>this[_0x4457('0x7')](_0xb2642b));}[_0x4457('0x3')](_0x2249e2,_0x21c985){const _0x532dc4=this[_0x4457('0x4')]['plugins'][_0x4457('0x16')](_0x4457('0x18')),_0x59c50d=this[_0x4457('0x4')][_0x4457('0x22')][_0x4457('0x10')][_0x4457('0x19')][_0x4457('0x23')]();this['editor'][_0x4457('0x22')]['change'](()=>{let _0x29f5c0=_0x59c50d[_0x4457('0xb')](_0x4457('0x1a'));const _0x5d3890=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0xe'))['me'];for(const _0xe90bef of _0x532dc4[_0x4457('0x15')]({'skipNotAttached':!0x0})){const _0x773c0b=_0xe90bef[_0x4457('0x1b')]();if(_0x4457('0x1')===_0xe90bef[_0x4457('0xc')]&&_0x773c0b===_0x59c50d){_0xe90bef['author']!==_0x5d3890&&_0xe90bef[_0x4457('0x0')](),_0x29f5c0=_0xe90bef[_0x4457('0x1c')][_0x4457('0x17')][0x0][_0x4457('0x13')];break;}}_0x2249e2(_0x21c985),_0x532dc4[_0x4457('0x1d')](_0x59c50d,{'commandName':'replaceImageSource','commandParams':[{'source':_0x29f5c0}]},[],'replaceImageSource');});}['handleSuggestionDescription'](_0x49d75c){const {data:_0x2cf5e4}=_0x49d75c;if(_0x2cf5e4&&'replaceImageSource'===_0x2cf5e4['commandName']){const _0x566b6a=_0x4457('0xa');return{'type':_0x4457('0x8'),'content':_0x5754e5(this[_0x4457('0x4')][_0x4457('0x20')],_0x566b6a)};}}}
23
+ const _0x1d80=['registerCustomCallback','TrackChangesEditing','get','*Format:*\x20replace\x20image\x20URL','editor','Users','model','markBlockFormat','formatBlock','plugins','data','getSuggestionCallback','getAttribute','getContainedElement','replaceImageSource','change','ImageEditing','format','locale','document','_suggestionFactory','getSelectedElement','enableCommand','afterInit','src','handleSuggestionDescription','has','selection','author','commandName','discard','handleReplaceImageCommand','source','subType','_descriptionFactory'];(function(_0x4de6cb,_0x1d80f4){const _0x1206e6=function(_0xc28704){while(--_0xc28704){_0x4de6cb['push'](_0x4de6cb['shift']());}};_0x1206e6(++_0x1d80f4);}(_0x1d80,0x1ab));const _0x1206=function(_0x4de6cb,_0x1d80f4){_0x4de6cb=_0x4de6cb-0x0;let _0x1206e6=_0x1d80[_0x4de6cb];return _0x1206e6;};import{Plugin as _0x4cdf2c}from'ckeditor5/src/core';import{getTranslation as _0x3952a5}from'../utils/common-translations';export default class Y extends _0x4cdf2c{[_0x1206('0x10')](){if(!this[_0x1206('0x20')][_0x1206('0x2')][_0x1206('0x13')](_0x1206('0x9')))return;const _0x5cd875=this[_0x1206('0x20')]['plugins'][_0x1206('0x1e')](_0x1206('0x1d'));_0x5cd875[_0x1206('0xf')]('replaceImageSource',(_0x20812a,_0x39f198)=>this[_0x1206('0x18')](_0x20812a,_0x39f198)),_0x5cd875['_suggestionFactory'][_0x1206('0x1c')](_0x1206('0x1'),'replaceImageSource','accept',_0x5cd875[_0x1206('0xd')][_0x1206('0x4')](_0x1206('0x1'),null,_0x1206('0x17'))),_0x5cd875[_0x1206('0xd')][_0x1206('0x1c')]('formatBlock',_0x1206('0x7'),_0x1206('0x17'),_0x5cd875[_0x1206('0xd')][_0x1206('0x4')](_0x1206('0x1'),null,'accept')),_0x5cd875[_0x1206('0x1b')]['registerDescriptionCallback'](_0x118ebb=>this[_0x1206('0x12')](_0x118ebb));}[_0x1206('0x18')](_0x1f373d,_0x246306){const _0x5cf216=this[_0x1206('0x20')][_0x1206('0x2')][_0x1206('0x1e')](_0x1206('0x1d')),_0x2ede7b=this[_0x1206('0x20')][_0x1206('0x22')][_0x1206('0xc')][_0x1206('0x14')][_0x1206('0xe')]();this['editor']['model'][_0x1206('0x8')](()=>{let _0x59b07d=_0x2ede7b[_0x1206('0x5')](_0x1206('0x11'));const _0x323a15=this[_0x1206('0x20')][_0x1206('0x2')]['get'](_0x1206('0x21'))['me'];for(const _0x16b80a of _0x5cf216['getSuggestions']({'skipNotAttached':!0x0})){const _0x4f7aa5=_0x16b80a[_0x1206('0x6')]();if(_0x1206('0x7')===_0x16b80a[_0x1206('0x1a')]&&_0x4f7aa5===_0x2ede7b){_0x16b80a[_0x1206('0x15')]!==_0x323a15&&_0x16b80a[_0x1206('0x17')](),_0x59b07d=_0x16b80a[_0x1206('0x3')]['commandParams'][0x0][_0x1206('0x19')];break;}}_0x1f373d(_0x246306),_0x5cf216[_0x1206('0x0')](_0x2ede7b,{'commandName':_0x1206('0x7'),'commandParams':[{'source':_0x59b07d}]},[],_0x1206('0x7'));});}[_0x1206('0x12')](_0x2db3c1){const {data:_0x217e27}=_0x2db3c1;if(_0x217e27&&_0x1206('0x7')===_0x217e27[_0x1206('0x16')]){const _0x8291ff=_0x1206('0x1f');return{'type':_0x1206('0xa'),'content':_0x3952a5(this['editor'][_0x1206('0xb')],_0x8291ff)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1781=['TrackChangesEditing','importWord','enableCommand','Users','_handleImportedData','editor','_setSuggestionData','dataInsert','value','high','get','collaboration_features','execute','listenTo','track_changes','afterInit','_trackChangesValueDuringImport','_trackChangesExecuted','plugins','commands','trackChanges'];(function(_0x475941,_0x178157){const _0x4079d4=function(_0x1ee633){while(--_0x1ee633){_0x475941['push'](_0x475941['shift']());}};_0x4079d4(++_0x178157);}(_0x1781,0x18f));const _0x4079=function(_0x475941,_0x178157){_0x475941=_0x475941-0x0;let _0x4079d4=_0x1781[_0x475941];return _0x4079d4;};import{Plugin as _0x2341c5}from'ckeditor5/src/core';export default class Y extends _0x2341c5{constructor(_0x79928d){super(_0x79928d),this[_0x4079('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4079('0xf')](){const _0x1394a2=this[_0x4079('0x5')],_0x94c97b=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x1')),_0x234638=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x14'));_0x94c97b&&(_0x94c97b['on'](_0x4079('0xc'),(_0x2a0140,[,_0x1741fa])=>{this[_0x4079('0x10')]=_0x234638[_0x4079('0x8')],_0x1741fa[_0x4079('0xb')][_0x4079('0xe')]=!this[_0x4079('0x10')];},{'priority':_0x4079('0x9')}),this[_0x4079('0xd')](_0x94c97b,_0x4079('0x7'),this[_0x4079('0x4')]['bind'](this)),this[_0x4079('0xd')](_0x94c97b,'dataInsert',()=>{this[_0x4079('0x11')]&&(_0x234638[_0x4079('0xc')](),this[_0x4079('0x11')]=!0x1);},{'priority':'lowest'}),_0x1394a2[_0x4079('0x12')][_0x4079('0xa')]('TrackChangesEditing')[_0x4079('0x2')](_0x4079('0x1')));}[_0x4079('0x4')](_0x56b178,_0x5341ac){const {suggestions:_0x52576b}=_0x5341ac,_0x4e0672=this[_0x4079('0x5')][_0x4079('0x13')][_0x4079('0xa')]('trackChanges'),_0x202aa8=_0x4e0672[_0x4079('0x8')];this['_trackChangesValueDuringImport']!==_0x202aa8&&(_0x4e0672[_0x4079('0xc')](),this['_trackChangesExecuted']=!0x0),_0x52576b&&_0x52576b['forEach'](({id:_0xc4da1a,type:_0x370241,author:_0x244474,created_at:_0x4031d2})=>{const _0x582f85={'id':_0xc4da1a,'type':_0x370241,'authorId':this[_0x4079('0x5')]['plugins'][_0x4079('0xa')](_0x4079('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x244474,'createdAt':_0x4031d2?new Date(_0x4031d2):new Date(),'source':_0x4079('0x1')}}};this[_0x4079('0x5')][_0x4079('0x12')][_0x4079('0xa')](_0x4079('0x0'))[_0x4079('0x6')](_0x582f85);});}}
23
+ const _0x59c1=['forEach','plugins','_trackChangesValueDuringImport','get','_handleImportedData','listenTo','editor','collaboration_features','_setSuggestionData','dataInsert','high','trackChanges','TrackChangesEditing','commands','value','Users','_trackChangesExecuted','bind','lowest','execute','importWord'];(function(_0x590510,_0x59c19a){const _0x2a8ef9=function(_0x4b65af){while(--_0x4b65af){_0x590510['push'](_0x590510['shift']());}};_0x2a8ef9(++_0x59c19a);}(_0x59c1,0x1da));const _0x2a8e=function(_0x590510,_0x59c19a){_0x590510=_0x590510-0x0;let _0x2a8ef9=_0x59c1[_0x590510];return _0x2a8ef9;};import{Plugin as _0x2c5028}from'ckeditor5/src/core';export default class Z extends _0x2c5028{constructor(_0x2f416a){super(_0x2f416a),this[_0x2a8e('0xb')]=!0x1,this[_0x2a8e('0x4')]=!0x1;}['afterInit'](){const _0x12c3a8=this[_0x2a8e('0xf')],_0x1caccd=_0x12c3a8[_0x2a8e('0x1')]['get']('importWord'),_0x228d96=_0x12c3a8[_0x2a8e('0x1')][_0x2a8e('0xc')]('trackChanges');_0x1caccd&&(_0x1caccd['on'](_0x2a8e('0x7'),(_0x351538,[,_0x1f6bde])=>{this[_0x2a8e('0xb')]=_0x228d96[_0x2a8e('0x2')],_0x1f6bde[_0x2a8e('0x10')]['track_changes']=!this[_0x2a8e('0xb')];},{'priority':_0x2a8e('0x13')}),this[_0x2a8e('0xe')](_0x1caccd,_0x2a8e('0x12'),this[_0x2a8e('0xd')][_0x2a8e('0x5')](this)),this['listenTo'](_0x1caccd,_0x2a8e('0x12'),()=>{this[_0x2a8e('0x4')]&&(_0x228d96[_0x2a8e('0x7')](),this[_0x2a8e('0x4')]=!0x1);},{'priority':_0x2a8e('0x6')}),_0x12c3a8[_0x2a8e('0xa')][_0x2a8e('0xc')](_0x2a8e('0x0'))['enableCommand']('importWord'));}['_handleImportedData'](_0x1aca3d,_0xb17024){const {suggestions:_0x4d38f5}=_0xb17024,_0x3366e3=this['editor'][_0x2a8e('0x1')][_0x2a8e('0xc')](_0x2a8e('0x14')),_0x5901f0=_0x3366e3[_0x2a8e('0x2')];this[_0x2a8e('0xb')]!==_0x5901f0&&(_0x3366e3[_0x2a8e('0x7')](),this['_trackChangesExecuted']=!0x0),_0x4d38f5&&_0x4d38f5[_0x2a8e('0x9')](({id:_0x1f644a,type:_0x56c6c0,author:_0x8e337d,created_at:_0x32c94f})=>{const _0x2f456d={'id':_0x1f644a,'type':_0x56c6c0,'authorId':this[_0x2a8e('0xf')]['plugins'][_0x2a8e('0xc')](_0x2a8e('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x8e337d,'createdAt':_0x32c94f?new Date(_0x32c94f):new Date(),'source':_0x2a8e('0x8')}}};this['editor']['plugins'][_0x2a8e('0xc')](_0x2a8e('0x0'))[_0x2a8e('0x11')](_0x2f456d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x304c=['indent','getItems','plugins','afterInit','registerDescriptionCallback','getSelectedBlocks','document','checkAttribute','has','model','selection','_descriptionFactory','editor','IndentBlock','outdent','blockIndent','from','indentBlock','enableCommand','change','schema','TrackChangesEditing','getItemLabel','outdentBlock','commandName','IndentEditing'];(function(_0xf35d9c,_0x304c4b){const _0x3893d7=function(_0x1c9501){while(--_0x1c9501){_0xf35d9c['push'](_0xf35d9c['shift']());}};_0x3893d7(++_0x304c4b);}(_0x304c,0xa3));const _0x3893=function(_0xf35d9c,_0x304c4b){_0xf35d9c=_0xf35d9c-0x0;let _0x3893d7=_0x304c[_0xf35d9c];return _0x3893d7;};import{Plugin as _0x3746bc}from'ckeditor5/src/core';import{getTranslation as _0x18c4d2}from'../utils/common-translations';export default class Z extends _0x3746bc{[_0x3893('0x16')](){const _0x30926a=this[_0x3893('0x5')],_0x4d319f=_0x30926a[_0x3893('0x15')]['get'](_0x3893('0xe'));_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x12'))&&(_0x4d319f[_0x3893('0xb')](_0x3893('0x13')),_0x4d319f['enableCommand'](_0x3893('0x7')));const _0x2414d0=_0x30926a['locale'];if(_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x6'))){for(const _0x57266a of[_0x3893('0xa'),_0x3893('0x10')])_0x4d319f[_0x3893('0xb')](_0x57266a,()=>{const _0x4cf598=Array[_0x3893('0x9')](this[_0x3893('0x5')][_0x3893('0x2')][_0x3893('0x19')][_0x3893('0x3')][_0x3893('0x18')]())['filter'](_0x4c2aa4=>this['editor'][_0x3893('0x2')][_0x3893('0xd')][_0x3893('0x0')](_0x4c2aa4,_0x3893('0x8')));_0x30926a[_0x3893('0x2')][_0x3893('0xc')](()=>{for(const _0x81ec04 of _0x4cf598)_0x4d319f['markBlockFormat'](_0x81ec04,{'commandName':_0x57266a,'commandParams':[{'value':''}],'formatGroupId':_0x3893('0xa')});});});_0x4d319f[_0x3893('0x4')][_0x3893('0x17')](_0x1f2ced=>{const {data:_0x255a36}=_0x1f2ced;if(!_0x255a36)return;if(_0x3893('0xa')!=_0x255a36['commandName']&&_0x3893('0x10')!=_0x255a36['commandName'])return;const _0x21cd81=_0x1f2ced[_0x3893('0x14')]()[0x0],_0x500fc6=_0x4d319f[_0x3893('0x4')][_0x3893('0xf')](_0x21cd81);return _0x3893('0xa')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Indent:*\x20%0',_0x500fc6)}:_0x3893('0x10')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Outdent:*\x20%0',_0x500fc6)}:void 0x0;});}}}
23
+ const _0x25b1=['indentBlock','schema','indent','plugins','getSelectedBlocks','filter','getItemLabel','checkAttribute','*Indent:*\x20%0','markBlockFormat','outdentBlock','commandName','editor','change','*Outdent:*\x20%0','enableCommand','from','model','registerDescriptionCallback','has','getItems','format','_descriptionFactory','get','IndentBlock','afterInit'];(function(_0x4b9109,_0x25b146){const _0x4485dd=function(_0x5c2252){while(--_0x5c2252){_0x4b9109['push'](_0x4b9109['shift']());}};_0x4485dd(++_0x25b146);}(_0x25b1,0x1a1));const _0x4485=function(_0x4b9109,_0x25b146){_0x4b9109=_0x4b9109-0x0;let _0x4485dd=_0x25b1[_0x4b9109];return _0x4485dd;};import{Plugin as _0x4d627c}from'ckeditor5/src/core';import{getTranslation as _0x48ccd3}from'../utils/common-translations';export default class tt extends _0x4d627c{[_0x4485('0x18')](){const _0x1ddfac=this['editor'],_0x374d90=_0x1ddfac[_0x4485('0x2')][_0x4485('0x16')]('TrackChangesEditing');_0x1ddfac['plugins'][_0x4485('0x12')]('IndentEditing')&&(_0x374d90[_0x4485('0xe')](_0x4485('0x1')),_0x374d90[_0x4485('0xe')]('outdent'));const _0x259b97=_0x1ddfac['locale'];if(_0x1ddfac[_0x4485('0x2')][_0x4485('0x12')](_0x4485('0x17'))){for(const _0x5cde51 of[_0x4485('0x19'),_0x4485('0x9')])_0x374d90[_0x4485('0xe')](_0x5cde51,()=>{const _0xe6cd9a=Array[_0x4485('0xf')](this[_0x4485('0xb')][_0x4485('0x10')]['document']['selection'][_0x4485('0x3')]())[_0x4485('0x4')](_0xee4f47=>this[_0x4485('0xb')]['model'][_0x4485('0x0')][_0x4485('0x6')](_0xee4f47,'blockIndent'));_0x1ddfac[_0x4485('0x10')][_0x4485('0xc')](()=>{for(const _0x49a1cf of _0xe6cd9a)_0x374d90[_0x4485('0x8')](_0x49a1cf,{'commandName':_0x5cde51,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x374d90[_0x4485('0x15')][_0x4485('0x11')](_0x1999dc=>{const {data:_0x5a7103}=_0x1999dc;if(!_0x5a7103)return;if('indentBlock'!=_0x5a7103[_0x4485('0xa')]&&_0x4485('0x9')!=_0x5a7103[_0x4485('0xa')])return;const _0x3b8462=_0x1999dc[_0x4485('0x13')]()[0x0],_0x94429d=_0x374d90['_descriptionFactory'][_0x4485('0x5')](_0x3b8462);return _0x4485('0x19')==_0x5a7103[_0x4485('0xa')]?{'type':_0x4485('0x14'),'content':_0x48ccd3(_0x259b97,_0x4485('0x7'),_0x94429d)}:_0x4485('0x9')==_0x5a7103[_0x4485('0xa')]?{'type':_0x4485('0x14'),'content':_0x48ccd3(_0x259b97,_0x4485('0xd'),_0x94429d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f52=['editor','requires','plugins','init','input','TrackChangesEditing'];(function(_0x3bde01,_0x2f5266){var _0x16d6b8=function(_0x15f07b){while(--_0x15f07b){_0x3bde01['push'](_0x3bde01['shift']());}};_0x16d6b8(++_0x2f5266);}(_0x2f52,0x73));var _0x16d6=function(_0x3bde01,_0x2f5266){_0x3bde01=_0x3bde01-0x0;var _0x16d6b8=_0x2f52[_0x3bde01];return _0x16d6b8;};import{Plugin as _0x4e0140}from'ckeditor5/src/core';import{Input as _0x4d85bd}from'ckeditor5/src/typing';export default class tt extends _0x4e0140{static get[_0x16d6('0x0')](){return[_0x4d85bd];}[_0x16d6('0x2')](){this[_0x16d6('0x5')][_0x16d6('0x1')]['get'](_0x16d6('0x4'))['enableCommand'](_0x16d6('0x3'));}}
23
+ var _0x3664=['enableCommand','init','get','requires','TrackChangesEditing','editor','plugins'];(function(_0x39a0ad,_0x366466){var _0x442a77=function(_0x190f1f){while(--_0x190f1f){_0x39a0ad['push'](_0x39a0ad['shift']());}};_0x442a77(++_0x366466);}(_0x3664,0x156));var _0x442a=function(_0x39a0ad,_0x366466){_0x39a0ad=_0x39a0ad-0x0;var _0x442a77=_0x3664[_0x39a0ad];return _0x442a77;};import{Plugin as _0x1b46e3}from'ckeditor5/src/core';import{Input as _0x18135c}from'ckeditor5/src/typing';export default class it extends _0x1b46e3{static get[_0x442a('0x4')](){return[_0x18135c];}[_0x442a('0x2')](){this[_0x442a('0x6')][_0x442a('0x0')][_0x442a('0x3')](_0x442a('0x5'))[_0x442a('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d1c=['editor','commandParams','*Remove\x20link*','_descriptionFactory','getFirstRange','isCollapsed','commandName','get','link','getAttribute','selection','getRanges','document','format','getFirstPosition','enableCommand','markInlineFormat','LinkEditing','afterInit','linkHref','hasAttribute','unlink','plugins','TrackChangesEditing','locale','has','registerDescriptionCallback','change','model'];(function(_0x15a48f,_0x2d1c0a){const _0x4667f6=function(_0x7c5d27){while(--_0x7c5d27){_0x15a48f['push'](_0x15a48f['shift']());}};_0x4667f6(++_0x2d1c0a);}(_0x2d1c,0xbe));const _0x4667=function(_0x15a48f,_0x2d1c0a){_0x15a48f=_0x15a48f-0x0;let _0x4667f6=_0x2d1c[_0x15a48f];return _0x4667f6;};import{Plugin as _0x1783bd}from'ckeditor5/src/core';import{findAttributeRange as _0x40f047}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5f08cf}from'./utils';import{getTranslation as _0x465b8b}from'../utils/common-translations';export default class it extends _0x1783bd{[_0x4667('0x2')](){const _0x22ead9=this[_0x4667('0xd')];if(!_0x22ead9[_0x4667('0x6')][_0x4667('0x9')](_0x4667('0x1')))return;const _0xc92d26=_0x22ead9[_0x4667('0x6')][_0x4667('0x14')](_0x4667('0x7'));_0xc92d26['enableCommand'](_0x4667('0x15'),(_0x5c5174,_0x298c74)=>{const _0xba7088=_0x22ead9[_0x4667('0xc')][_0x4667('0x19')]['selection'];let _0x24f1e2=[];if(_0xba7088[_0x4667('0x12')]){if(!_0xba7088[_0x4667('0x4')](_0x4667('0x3')))return void _0x5c5174(_0x298c74);{const _0x2648c5=_0x40f047(_0xba7088[_0x4667('0x1b')](),'linkHref',_0xba7088[_0x4667('0x16')](_0x4667('0x3')),_0x22ead9[_0x4667('0xc')]);_0x24f1e2=[_0x2648c5];}}else _0x24f1e2=Array['from'](_0xba7088[_0x4667('0x18')]());_0x22ead9[_0x4667('0xc')][_0x4667('0xb')](()=>{for(const _0x51b23c of _0x24f1e2)_0xc92d26[_0x4667('0x0')](_0x51b23c,{'commandName':_0x4667('0x15'),'commandParams':[_0x298c74]});});}),_0xc92d26[_0x4667('0x1c')](_0x4667('0x5'),()=>{const _0x54770=this[_0x4667('0xd')]['model'],_0x3b6c44=_0x54770[_0x4667('0x19')][_0x4667('0x17')];_0x54770[_0x4667('0xb')](()=>{let _0x47113a=[];if(_0x3b6c44[_0x4667('0x12')])_0x47113a=[_0x40f047(_0x3b6c44[_0x4667('0x1b')](),'linkHref',_0x3b6c44[_0x4667('0x16')](_0x4667('0x3')),_0x22ead9[_0x4667('0xc')])];else _0x47113a=_0x5f08cf('linkHref',_0x3b6c44[_0x4667('0x11')](),_0x22ead9[_0x4667('0xc')]);for(const _0x5195 of _0x47113a)_0xc92d26[_0x4667('0x0')](_0x5195,{'commandName':_0x4667('0x5'),'commandParams':[]});});}),_0xc92d26[_0x4667('0x10')][_0x4667('0xa')](_0x1cafec=>{const {data:_0x18d949}=_0x1cafec,_0x1957f0=_0x22ead9[_0x4667('0x8')];if(_0x18d949){if(_0x4667('0x15')==_0x18d949['commandName']){const _0xb8b6d=_0x18d949[_0x4667('0xe')][0x0];return{'type':'format','content':_0x465b8b(_0x1957f0,'*Set\x20link:*\x20%0','\x22'+_0xb8b6d+'\x22')};}return _0x4667('0x5')==_0x18d949[_0x4667('0x13')]?{'type':_0x4667('0x1a'),'content':_0x465b8b(_0x1957f0,_0x4667('0xf'))}:void 0x0;}});}}
23
+ const _0x4f74=['change','*Set\x20link:*\x20%0','isCollapsed','selection','LinkEditing','locale','format','model','getAttribute','enableCommand','registerDescriptionCallback','hasAttribute','unlink','getRanges','link','markInlineFormat','linkHref','getFirstPosition','from','has','get','document','*Remove\x20link*','editor','_descriptionFactory'];(function(_0x4169f0,_0x4f745c){const _0x5248ae=function(_0x3dff8f){while(--_0x3dff8f){_0x4169f0['push'](_0x4169f0['shift']());}};_0x5248ae(++_0x4f745c);}(_0x4f74,0x177));const _0x5248=function(_0x4169f0,_0x4f745c){_0x4169f0=_0x4169f0-0x0;let _0x5248ae=_0x4f74[_0x4169f0];return _0x5248ae;};import{Plugin as _0x59ddca}from'ckeditor5/src/core';import{findAttributeRange as _0x4dd0c3}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x58530f}from'./utils';import{getTranslation as _0x3c1894}from'../utils/common-translations';export default class et extends _0x59ddca{['afterInit'](){const _0x506704=this[_0x5248('0x17')];if(!_0x506704['plugins'][_0x5248('0x13')](_0x5248('0x4')))return;const _0x3e6417=_0x506704['plugins'][_0x5248('0x14')]('TrackChangesEditing');_0x3e6417[_0x5248('0x9')]('link',(_0x53f308,_0x2c8ea3)=>{const _0x4ff42c=_0x506704[_0x5248('0x7')][_0x5248('0x15')][_0x5248('0x3')];let _0x468104=[];if(_0x4ff42c[_0x5248('0x2')]){if(!_0x4ff42c[_0x5248('0xb')](_0x5248('0x10')))return void _0x53f308(_0x2c8ea3);{const _0x457868=_0x4dd0c3(_0x4ff42c[_0x5248('0x11')](),_0x5248('0x10'),_0x4ff42c[_0x5248('0x8')]('linkHref'),_0x506704[_0x5248('0x7')]);_0x468104=[_0x457868];}}else _0x468104=Array[_0x5248('0x12')](_0x4ff42c[_0x5248('0xd')]());_0x506704[_0x5248('0x7')][_0x5248('0x0')](()=>{for(const _0xdb9caa of _0x468104)_0x3e6417[_0x5248('0xf')](_0xdb9caa,{'commandName':'link','commandParams':[_0x2c8ea3]});});}),_0x3e6417[_0x5248('0x9')](_0x5248('0xc'),()=>{const _0x3780d2=this[_0x5248('0x17')][_0x5248('0x7')],_0x387b94=_0x3780d2[_0x5248('0x15')]['selection'];_0x3780d2[_0x5248('0x0')](()=>{let _0x42a272=[];if(_0x387b94['isCollapsed'])_0x42a272=[_0x4dd0c3(_0x387b94[_0x5248('0x11')](),_0x5248('0x10'),_0x387b94[_0x5248('0x8')](_0x5248('0x10')),_0x506704[_0x5248('0x7')])];else _0x42a272=_0x58530f('linkHref',_0x387b94['getFirstRange'](),_0x506704[_0x5248('0x7')]);for(const _0x35ba1b of _0x42a272)_0x3e6417[_0x5248('0xf')](_0x35ba1b,{'commandName':_0x5248('0xc'),'commandParams':[]});});}),_0x3e6417[_0x5248('0x18')][_0x5248('0xa')](_0x3a32b7=>{const {data:_0x5e0803}=_0x3a32b7,_0xad140d=_0x506704[_0x5248('0x5')];if(_0x5e0803){if(_0x5248('0xe')==_0x5e0803['commandName']){const _0x12de0c=_0x5e0803['commandParams'][0x0];return{'type':'format','content':_0x3c1894(_0xad140d,_0x5248('0x1'),'\x22'+_0x12de0c+'\x22')};}return _0x5248('0xc')==_0x5e0803['commandName']?{'type':_0x5248('0x6'),'content':_0x3c1894(_0xad140d,_0x5248('0x16'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x95a5=['bulletedList','*Change\x20to:*\x20%0','listIndent','List','forceValue','name','todoList','_descriptionFactory','enableCommand','ListEditing','paragraph','selection','before','getAttribute','*Check\x20item*','execute','plugins','listItem','ELEMENT_TODO_LIST','value','TrackChangesEditing','createRange','locale','numberedList','*Outdent:*\x20%0','element','outdentList','get','checkTodoList','commands','nextSibling','blockName','ELEMENT_BULLETED_LIST','checkChild','previousSibling','from','parent','editor','end','todo','createPositionAt','registerElementLabel','registerDescriptionCallback','filter','add','afterInit','_selectedElements','format','slice','*Uncheck\x20item*','isObject','push','bulleted','commandName','indentList','ELEMENT_LIST_ITEM','model','getSelectedBlocks','document','schema','markBlockFormat','replace','change','findIndex','has'];(function(_0x1af03d,_0x95a505){const _0xd8206=function(_0x5efe55){while(--_0x5efe55){_0x1af03d['push'](_0x1af03d['shift']());}};_0xd8206(++_0x95a505);}(_0x95a5,0xd5));const _0xd820=function(_0x1af03d,_0x95a505){_0x1af03d=_0x1af03d-0x0;let _0xd8206=_0x95a5[_0x1af03d];return _0xd8206;};import{Plugin as _0xb62178}from'ckeditor5/src/core';import{getTranslation as _0x85b51b}from'../utils/common-translations';export default class st extends _0xb62178{[_0xd820('0x1b')](){const _0x4317d7=this[_0xd820('0x13')],_0x14a7c2=_0x4317d7[_0xd820('0x4')];if(!_0x4317d7[_0xd820('0x3f')][_0xd820('0x2e')](_0xd820('0x38')))return;const _0x27983a=_0x4317d7[_0xd820('0x3f')]['get'](_0xd820('0x2')),_0x189d23=_0x4317d7[_0xd820('0x3f')]['has']('TodoListEditing');function _0x483eaa(_0xde3927){return()=>{const _0x534cdd=_0x4317d7[_0xd820('0x26')][_0xd820('0x28')][_0xd820('0x3a')],_0x5be908=_0x4317d7[_0xd820('0xb')]['get'](_0xde3927);if(_0x5be908[_0xd820('0x1')])return void _0x4317d7[_0xd820('0x3e')](_0xd820('0x39'),{});const _0x12bfac=_0xde3927[_0xd820('0x1e')](0x0,-0x4),_0x19d4bd=function(_0x4cb926,_0x1251c1,_0xea15b0){let _0x3292e1=Array[_0xd820('0x11')](_0x4cb926)[_0xd820('0x19')](_0x5146b3=>function(_0xf84928,_0x228b3c){return _0x228b3c[_0xd820('0xf')](_0xf84928[_0xd820('0x12')],_0xd820('0x40'))&&!_0x228b3c[_0xd820('0x20')](_0xf84928);}(_0x5146b3,_0xea15b0));_0x3292e1=_0x3292e1['filter'](_0x24b615=>!_0x24b615['is'](_0xd820('0x7'),_0xd820('0x40'))||_0x24b615[_0xd820('0x3c')]('listType')!=_0x1251c1);const _0x97e07c=new Set();for(const _0x5c1d47 of _0x3292e1)_0x5c1d47['is']('element','listItem')?_0x97e07c[_0xd820('0x1a')](ne(_0x5c1d47)):_0x97e07c[_0xd820('0x1a')](_0x5c1d47);return Array[_0xd820('0x11')](_0x97e07c);}(_0x534cdd[_0xd820('0x27')](),_0x12bfac,_0x4317d7['model'][_0xd820('0x29')]);_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{for(const _0x516f1f of _0x19d4bd)_0x27983a['markBlockFormat'](_0x516f1f,{'commandName':_0xde3927,'commandParams':[{'forceValue':!_0x5be908[_0xd820('0x1')]}],'formatGroupId':_0xd820('0xd')},oe(_0x516f1f));});};}function _0x5bc137(_0x197e47){return()=>{const _0x511773=function(_0x36818f){let _0x3eda10=Array[_0xd820('0x11')](_0x36818f);const _0x514ece=_0x3eda10[_0xd820('0x2d')](_0x1258e8=>_0xd820('0x40')!=_0x1258e8[_0xd820('0x34')]);return _0x514ece>-0x1&&(_0x3eda10=_0x3eda10[_0xd820('0x1e')](0x0,_0x514ece)),_0x3eda10;}(_0x4317d7[_0xd820('0x26')][_0xd820('0x28')][_0xd820('0x3a')][_0xd820('0x27')]()),_0x8a45dd=_0x4317d7[_0xd820('0x26')][_0xd820('0x3')](_0x4317d7[_0xd820('0x26')][_0xd820('0x16')](_0x511773[0x0],_0xd820('0x3b')),_0x4317d7['model'][_0xd820('0x16')](_0x511773[_0x511773['length']-0x1],_0xd820('0x14')));_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{_0x27983a[_0xd820('0x2a')](_0x8a45dd,{'commandName':_0x197e47,'commandParams':[],'formatGroupId':'listIndent'},function(_0x206dd6){const _0x410c8a=new Set();for(const _0x17317c of _0x206dd6){let _0x5c41c3=_0x17317c[_0xd820('0xc')];for(;_0x5c41c3&&_0x5c41c3[_0xd820('0x3c')]('listIndent')>_0x17317c[_0xd820('0x3c')](_0xd820('0x31'));)_0x410c8a['add'](_0x5c41c3),_0x5c41c3=_0x5c41c3[_0xd820('0xc')];}return Array['from'](_0x410c8a);}(_0x511773));});};}_0x27983a[_0xd820('0x37')]('numberedList',_0x483eaa(_0xd820('0x5'))),_0x27983a[_0xd820('0x37')]('bulletedList',_0x483eaa('bulletedList')),_0x189d23&&_0x27983a['enableCommand'](_0xd820('0x35'),_0x483eaa(_0xd820('0x35'))),_0x27983a[_0xd820('0x37')]('indentList',_0x5bc137(_0xd820('0x24'))),_0x27983a[_0xd820('0x37')](_0xd820('0x8'),_0x5bc137(_0xd820('0x8'))),_0x189d23&&_0x27983a[_0xd820('0x37')](_0xd820('0xa'),()=>{const _0xb0d45=_0x4317d7[_0xd820('0xb')][_0xd820('0x9')]('checkTodoList'),_0x3d75f1=Array[_0xd820('0x11')](_0xb0d45[_0xd820('0x1c')]);_0x3d75f1[_0xd820('0x19')](_0x21ab89=>_0x21ab89[_0xd820('0x3c')]('todoListChecked')!=_0xb0d45[_0xd820('0x1')]),_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{for(const _0x237a8f of _0x3d75f1)_0x27983a[_0xd820('0x2a')](_0x237a8f,{'commandName':_0xd820('0xa'),'commandParams':[{'forceValue':!_0xb0d45[_0xd820('0x1')]}]});});}),_0x27983a[_0xd820('0x36')][_0xd820('0x17')](_0xd820('0x40'),_0x41fd3a=>_0x85b51b(_0x14a7c2,_0xd820('0x25'),_0x41fd3a)),_0x27983a[_0xd820('0x36')][_0xd820('0x18')](_0x23e4f1=>{const {data:_0x4641c6}=_0x23e4f1;if(_0x4641c6){if(_0xd820('0x5')==_0x4641c6[_0xd820('0x23')]||_0xd820('0x2f')==_0x4641c6[_0xd820('0x23')]||'todoList'==_0x4641c6[_0xd820('0x23')])switch(_0x4641c6[_0xd820('0x23')][_0xd820('0x2b')](_0xd820('0x32'),'')){case _0xd820('0x22'):return _0x55b506(_0x85b51b(_0x14a7c2,_0xd820('0xe')));case'numbered':return _0x55b506(_0x85b51b(_0x14a7c2,'ELEMENT_NUMBERED_LIST'));case _0xd820('0x15'):return _0x55b506(_0x85b51b(_0x14a7c2,_0xd820('0x0')));}if(_0xd820('0x24')==_0x4641c6[_0xd820('0x23')])return{'type':'format','content':_0x85b51b(_0x14a7c2,'*Indent:*\x20%0',_0x85b51b(_0x14a7c2,_0xd820('0x25')))};if(_0xd820('0x8')==_0x4641c6[_0xd820('0x23')])return{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x6'),_0x85b51b(_0x14a7c2,_0xd820('0x25')))};if(_0xd820('0xa')==_0x4641c6['commandName'])return _0x4641c6['commandParams'][0x0][_0xd820('0x33')]?{'type':'format','content':_0x85b51b(_0x14a7c2,_0xd820('0x3d'))}:{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x1f'))};}function _0x55b506(_0x3e0de2){return{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x30'),_0x3e0de2)};}});}}function ne(_0x2b2851){const _0x700633=_0x2b2851[_0xd820('0x3c')]('listIndent');if(0x0==_0x700633)return _0x2b2851;let _0x268fc6=_0x2b2851;for(;_0x2b2851['previousSibling']&&_0x2b2851['previousSibling']['is'](_0xd820('0x7'),_0xd820('0x40'));){const _0x1b2a8d=_0x2b2851[_0xd820('0x10')][_0xd820('0x3c')](_0xd820('0x31'));if(_0x1b2a8d==_0x700633)_0x268fc6=_0x2b2851[_0xd820('0x10')];else{if(_0x1b2a8d<_0x700633)break;}_0x2b2851=_0x2b2851[_0xd820('0x10')];}return _0x268fc6;}function oe(_0x4e252b){const _0x3fa886=[];if(_0x4e252b['is'](_0xd820('0x7'),_0xd820('0x40'))&&_0x4e252b[_0xd820('0x3c')](_0xd820('0x31'))>0x0){let _0x1fe9b6=_0x4e252b[_0xd820('0xc')];for(;_0x1fe9b6&&_0xd820('0x40')==_0x1fe9b6[_0xd820('0x34')]&&_0x1fe9b6[_0xd820('0x3c')](_0xd820('0x31'))==_0x4e252b[_0xd820('0x3c')](_0xd820('0x31'));)_0x3fa886[_0xd820('0x21')](_0x1fe9b6),_0x1fe9b6=_0x1fe9b6[_0xd820('0xc')];}return _0x3fa886;}
23
+ const _0x2ea3=['selection','commandParams','forceValue','ELEMENT_NUMBERED_LIST','*Change\x20to:*\x20%0','TrackChangesEditing','replace','createPositionAt','commandName','element','bulleted','slice','from','before','_descriptionFactory','todo','checkChild','todoListChecked','length','listIndent','*Uncheck\x20item*','afterInit','commands','has','change','blockName','plugins','filter','numbered','bulletedList','name','nextSibling','editor','locale','TodoListEditing','parent','*Outdent:*\x20%0','ELEMENT_LIST_ITEM','outdentList','listItem','isObject','indentList','ListEditing','document','todoList','get','push','paragraph','findIndex','format','numberedList','enableCommand','model','add','ELEMENT_BULLETED_LIST','getAttribute','_selectedElements','schema','listType','end','checkTodoList','previousSibling','value'];(function(_0x3e6f9b,_0x2ea3b3){const _0x27d591=function(_0x423447){while(--_0x423447){_0x3e6f9b['push'](_0x3e6f9b['shift']());}};_0x27d591(++_0x2ea3b3);}(_0x2ea3,0x16a));const _0x27d5=function(_0x3e6f9b,_0x2ea3b3){_0x3e6f9b=_0x3e6f9b-0x0;let _0x27d591=_0x2ea3[_0x3e6f9b];return _0x27d591;};import{Plugin as _0x4b9e14}from'ckeditor5/src/core';import{getTranslation as _0x4280e2}from'../utils/common-translations';export default class st extends _0x4b9e14{[_0x27d5('0x25')](){const _0x16da1a=this[_0x27d5('0x30')],_0x50fa26=_0x16da1a[_0x27d5('0x31')];if(!_0x16da1a[_0x27d5('0x2a')][_0x27d5('0x27')](_0x27d5('0x3a')))return;const _0x578dc2=_0x16da1a[_0x27d5('0x2a')][_0x27d5('0x3d')](_0x27d5('0x15')),_0x467e99=_0x16da1a['plugins']['has'](_0x27d5('0x32'));function _0xa8c501(_0x4ab0d8){return()=>{const _0x5021bd=_0x16da1a[_0x27d5('0x5')][_0x27d5('0x3b')]['selection'],_0x1de8ab=_0x16da1a[_0x27d5('0x26')][_0x27d5('0x3d')](_0x4ab0d8);if(_0x1de8ab[_0x27d5('0xf')])return void _0x16da1a['execute'](_0x27d5('0x0'),{});const _0x1201b0=_0x4ab0d8['slice'](0x0,-0x4),_0x23884c=function(_0x541339,_0x2015cc,_0x2f4962){let _0x35c640=Array['from'](_0x541339)['filter'](_0x2e94fd=>function(_0x102d43,_0x29e9a4){return _0x29e9a4[_0x27d5('0x20')](_0x102d43[_0x27d5('0x33')],_0x27d5('0x37'))&&!_0x29e9a4[_0x27d5('0x38')](_0x102d43);}(_0x2e94fd,_0x2f4962));_0x35c640=_0x35c640[_0x27d5('0x2b')](_0x45d939=>!_0x45d939['is'](_0x27d5('0x19'),_0x27d5('0x37'))||_0x45d939[_0x27d5('0x8')](_0x27d5('0xb'))!=_0x2015cc);const _0x14be97=new Set();for(const _0x35e31d of _0x35c640)_0x35e31d['is']('element','listItem')?_0x14be97[_0x27d5('0x6')](ne(_0x35e31d)):_0x14be97[_0x27d5('0x6')](_0x35e31d);return Array[_0x27d5('0x1c')](_0x14be97);}(_0x5021bd['getSelectedBlocks'](),_0x1201b0,_0x16da1a[_0x27d5('0x5')][_0x27d5('0xa')]);_0x16da1a['model']['change'](()=>{for(const _0x3ba4fb of _0x23884c)_0x578dc2['markBlockFormat'](_0x3ba4fb,{'commandName':_0x4ab0d8,'commandParams':[{'forceValue':!_0x1de8ab[_0x27d5('0xf')]}],'formatGroupId':_0x27d5('0x29')},oe(_0x3ba4fb));});};}function _0x79062d(_0x1b0eb5){return()=>{const _0x4a304d=function(_0x50da2d){let _0x3aa3e9=Array[_0x27d5('0x1c')](_0x50da2d);const _0x39dd6f=_0x3aa3e9[_0x27d5('0x1')](_0x51c253=>_0x27d5('0x37')!=_0x51c253[_0x27d5('0x2e')]);return _0x39dd6f>-0x1&&(_0x3aa3e9=_0x3aa3e9[_0x27d5('0x1b')](0x0,_0x39dd6f)),_0x3aa3e9;}(_0x16da1a[_0x27d5('0x5')][_0x27d5('0x3b')][_0x27d5('0x10')]['getSelectedBlocks']()),_0x385760=_0x16da1a[_0x27d5('0x5')]['createRange'](_0x16da1a['model'][_0x27d5('0x17')](_0x4a304d[0x0],_0x27d5('0x1d')),_0x16da1a[_0x27d5('0x5')][_0x27d5('0x17')](_0x4a304d[_0x4a304d[_0x27d5('0x22')]-0x1],_0x27d5('0xc')));_0x16da1a[_0x27d5('0x5')][_0x27d5('0x28')](()=>{_0x578dc2['markBlockFormat'](_0x385760,{'commandName':_0x1b0eb5,'commandParams':[],'formatGroupId':_0x27d5('0x23')},function(_0x27edaa){const _0x49ab10=new Set();for(const _0x536982 of _0x27edaa){let _0x16eb35=_0x536982[_0x27d5('0x2f')];for(;_0x16eb35&&_0x16eb35[_0x27d5('0x8')](_0x27d5('0x23'))>_0x536982['getAttribute'](_0x27d5('0x23'));)_0x49ab10['add'](_0x16eb35),_0x16eb35=_0x16eb35[_0x27d5('0x2f')];}return Array[_0x27d5('0x1c')](_0x49ab10);}(_0x4a304d));});};}_0x578dc2['enableCommand'](_0x27d5('0x3'),_0xa8c501('numberedList')),_0x578dc2['enableCommand']('bulletedList',_0xa8c501(_0x27d5('0x2d'))),_0x467e99&&_0x578dc2[_0x27d5('0x4')](_0x27d5('0x3c'),_0xa8c501('todoList')),_0x578dc2[_0x27d5('0x4')]('indentList',_0x79062d(_0x27d5('0x39'))),_0x578dc2[_0x27d5('0x4')](_0x27d5('0x36'),_0x79062d(_0x27d5('0x36'))),_0x467e99&&_0x578dc2[_0x27d5('0x4')](_0x27d5('0xd'),()=>{const _0x337229=_0x16da1a[_0x27d5('0x26')]['get'](_0x27d5('0xd')),_0x2cf872=Array[_0x27d5('0x1c')](_0x337229[_0x27d5('0x9')]);_0x2cf872['filter'](_0x36244c=>_0x36244c[_0x27d5('0x8')](_0x27d5('0x21'))!=_0x337229[_0x27d5('0xf')]),_0x16da1a[_0x27d5('0x5')][_0x27d5('0x28')](()=>{for(const _0x2d7f1c of _0x2cf872)_0x578dc2['markBlockFormat'](_0x2d7f1c,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x337229['value']}]});});}),_0x578dc2['_descriptionFactory']['registerElementLabel'](_0x27d5('0x37'),_0x1e64ab=>_0x4280e2(_0x50fa26,'ELEMENT_LIST_ITEM',_0x1e64ab)),_0x578dc2[_0x27d5('0x1e')]['registerDescriptionCallback'](_0x11e945=>{const {data:_0x58189f}=_0x11e945;if(_0x58189f){if(_0x27d5('0x3')==_0x58189f[_0x27d5('0x18')]||_0x27d5('0x2d')==_0x58189f[_0x27d5('0x18')]||'todoList'==_0x58189f[_0x27d5('0x18')])switch(_0x58189f['commandName'][_0x27d5('0x16')]('List','')){case _0x27d5('0x1a'):return _0x125b0b(_0x4280e2(_0x50fa26,_0x27d5('0x7')));case _0x27d5('0x2c'):return _0x125b0b(_0x4280e2(_0x50fa26,_0x27d5('0x13')));case _0x27d5('0x1f'):return _0x125b0b(_0x4280e2(_0x50fa26,'ELEMENT_TODO_LIST'));}if(_0x27d5('0x39')==_0x58189f[_0x27d5('0x18')])return{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,'*Indent:*\x20%0',_0x4280e2(_0x50fa26,_0x27d5('0x35')))};if(_0x27d5('0x36')==_0x58189f[_0x27d5('0x18')])return{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,_0x27d5('0x34'),_0x4280e2(_0x50fa26,_0x27d5('0x35')))};if(_0x27d5('0xd')==_0x58189f['commandName'])return _0x58189f[_0x27d5('0x11')][0x0][_0x27d5('0x12')]?{'type':'format','content':_0x4280e2(_0x50fa26,'*Check\x20item*')}:{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,_0x27d5('0x24'))};}function _0x125b0b(_0x40b54d){return{'type':'format','content':_0x4280e2(_0x50fa26,_0x27d5('0x14'),_0x40b54d)};}});}}function ne(_0x201dd1){const _0x45f9a1=_0x201dd1[_0x27d5('0x8')]('listIndent');if(0x0==_0x45f9a1)return _0x201dd1;let _0x335ff3=_0x201dd1;for(;_0x201dd1['previousSibling']&&_0x201dd1[_0x27d5('0xe')]['is']('element','listItem');){const _0x550d53=_0x201dd1[_0x27d5('0xe')][_0x27d5('0x8')](_0x27d5('0x23'));if(_0x550d53==_0x45f9a1)_0x335ff3=_0x201dd1[_0x27d5('0xe')];else{if(_0x550d53<_0x45f9a1)break;}_0x201dd1=_0x201dd1['previousSibling'];}return _0x335ff3;}function oe(_0x203730){const _0x23a7ec=[];if(_0x203730['is'](_0x27d5('0x19'),_0x27d5('0x37'))&&_0x203730[_0x27d5('0x8')](_0x27d5('0x23'))>0x0){let _0x1e3eca=_0x203730['nextSibling'];for(;_0x1e3eca&&_0x27d5('0x37')==_0x1e3eca[_0x27d5('0x2e')]&&_0x1e3eca[_0x27d5('0x8')]('listIndent')==_0x203730['getAttribute'](_0x27d5('0x23'));)_0x23a7ec[_0x27d5('0x3e')](_0x1e3eca),_0x1e3eca=_0x1e3eca[_0x27d5('0x2f')];}return _0x23a7ec;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10a5=['forward','ListPropertiesEditing','listReversed','toUpperCase','getSiblingNodes','getFirstPosition','from','unshift','get','enableCommand','format','TrackChangesEditing','_getSuggestionBlocks','model','numbered','flat','handleListStartCommand','listStart','getAttribute','push','change','replace','listItem','list.properties','markMultiRangeBlockFormat','startIndex','registerDescriptionCallback','commandParams','bind','commandName','reversed','listType','backward','has','filter','*Format:*\x20set\x20start\x20index\x20to\x20%0','ListUtils','length','_LIST_','getSelectedBlocks','locale','_getTranslationKeyForListStyle','config','createRange','_getSuggestionBlocksForListStyle','document','createPositionAt','handleListStyleCommand','plugins','ELEMENT_','before','element','afterInit','parent','listStyle','map','getListTypeFromListStyleType','type','selection','*Format:*\x20set\x20order\x20to\x20reversed','editor','handleListReversedCommand'];(function(_0xf6ef64,_0x10a594){const _0x19a9fc=function(_0x47d752){while(--_0x47d752){_0xf6ef64['push'](_0xf6ef64['shift']());}};_0x19a9fc(++_0x10a594);}(_0x10a5,0xa4));const _0x19a9=function(_0xf6ef64,_0x10a594){_0xf6ef64=_0xf6ef64-0x0;let _0x19a9fc=_0x10a5[_0xf6ef64];return _0x19a9fc;};import{Plugin as _0x2548ae}from'ckeditor5/src/core';import{getTranslation as _0x536994}from'../utils/common-translations';export default class et extends _0x2548ae{[_0x19a9('0xc')](){if(!this['editor']['plugins'][_0x19a9('0x37')](_0x19a9('0x17')))return;const _0x4c0cfe=this[_0x19a9('0x14')][_0x19a9('0x2')][_0x19a9('0x1e')](_0x19a9('0x2d')),_0x2ea0c4=this[_0x19a9('0x14')][_0x19a9('0x8')]['get']('TrackChangesEditing');_0x4c0cfe['styles']&&_0x2ea0c4['enableCommand'](_0x19a9('0xe'),this[_0x19a9('0x7')][_0x19a9('0x32')](this)),_0x4c0cfe['reversed']&&_0x2ea0c4[_0x19a9('0x1f')](_0x19a9('0x18'),this['handleListReversedCommand'][_0x19a9('0x32')](this)),_0x4c0cfe[_0x19a9('0x2f')]&&_0x2ea0c4[_0x19a9('0x1f')](_0x19a9('0x27'),this['handleListStartCommand']['bind'](this)),_0x2ea0c4['_descriptionFactory'][_0x19a9('0x30')](this['handleDescriptions']['bind'](this));}[_0x19a9('0x7')](_0x1dad47,_0x315302={}){const _0x16e31f=this[_0x19a9('0x14')][_0x19a9('0x8')][_0x19a9('0x1e')]('TrackChangesEditing'),_0x23c77f=this[_0x19a9('0x4')]();this[_0x19a9('0x14')][_0x19a9('0x23')][_0x19a9('0x2a')](()=>{_0x16e31f[_0x19a9('0x2e')](_0x23c77f,{'commandName':_0x19a9('0xe'),'commandParams':[{'type':_0x315302[_0x19a9('0x11')]}],'formatGroupId':_0x19a9('0xe')});});}[_0x19a9('0x15')](_0x4dff31,_0x47c1fc={}){const _0x3f22aa=this['editor']['plugins'][_0x19a9('0x1e')]('TrackChangesEditing'),_0x4c689e=this[_0x19a9('0x22')](_0x343524=>_0x343524['is'](_0x19a9('0xb'),_0x19a9('0x2c'))&&_0x19a9('0x24')===_0x343524['getAttribute'](_0x19a9('0x35')));if(_0x4c689e[_0x19a9('0x3b')]<0x1)return;const _0x160f14=_0x4c689e[_0x19a9('0xf')](_0x305c6b=>this[_0x19a9('0x14')][_0x19a9('0x23')][_0x19a9('0x3')](this['editor']['model']['createPositionAt'](_0x305c6b,_0x19a9('0xa')),this[_0x19a9('0x14')][_0x19a9('0x23')][_0x19a9('0x6')](_0x305c6b,0x0)));this['editor']['model'][_0x19a9('0x2a')](()=>{_0x3f22aa[_0x19a9('0x2e')](_0x160f14,{'commandName':_0x19a9('0x18'),'commandParams':[{'reversed':_0x47c1fc[_0x19a9('0x34')]}],'formatGroupId':_0x19a9('0x18')});});}[_0x19a9('0x26')](_0x213405,_0x2e1ab3={}){const _0x32726d=this['editor'][_0x19a9('0x8')][_0x19a9('0x1e')](_0x19a9('0x21')),_0x552365=this[_0x19a9('0x22')](_0x4bcb84=>_0x4bcb84['is'](_0x19a9('0xb'),_0x19a9('0x2c'))&&_0x19a9('0x24')===_0x4bcb84[_0x19a9('0x28')](_0x19a9('0x35')));if(_0x552365[_0x19a9('0x3b')]<0x1)return;const _0x233247=_0x552365[_0x19a9('0xf')](_0x1d3207=>this[_0x19a9('0x14')]['model']['createRange'](this['editor'][_0x19a9('0x23')][_0x19a9('0x6')](_0x1d3207,_0x19a9('0xa')),this[_0x19a9('0x14')][_0x19a9('0x23')]['createPositionAt'](_0x1d3207,0x0)));this[_0x19a9('0x14')][_0x19a9('0x23')][_0x19a9('0x2a')](()=>{_0x32726d['markMultiRangeBlockFormat'](_0x233247,{'commandName':_0x19a9('0x27'),'commandParams':[{'startIndex':_0x2e1ab3[_0x19a9('0x2f')]}],'formatGroupId':_0x19a9('0x27')});});}['handleDescriptions'](_0x1f19e0){const _0x599cdf=this['editor'][_0x19a9('0x0')],{data:_0xf8c1c7}=_0x1f19e0;if(!_0xf8c1c7)return;let _0xc20abe,_0x2f795e;switch(_0xf8c1c7[_0x19a9('0x33')]){case'listStyle':_0xc20abe='*Change\x20to:*\x20%0',_0x2f795e={'type':_0x19a9('0x20'),'content':_0x536994(_0x599cdf,_0xc20abe,_0x536994(_0x599cdf,this[_0x19a9('0x1')](_0xf8c1c7[_0x19a9('0x31')][0x0][_0x19a9('0x11')])))};break;case'listReversed':_0xc20abe=_0xf8c1c7[_0x19a9('0x31')][0x0][_0x19a9('0x34')]?_0x19a9('0x13'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2f795e={'type':_0x19a9('0x20'),'content':_0x536994(_0x599cdf,_0xc20abe)};break;case'listStart':_0xc20abe=_0x19a9('0x39'),_0x2f795e={'type':_0x19a9('0x20'),'content':_0x536994(_0x599cdf,_0xc20abe,_0xf8c1c7['commandParams'][0x0][_0x19a9('0x2f')])};}return _0x2f795e;}['_getSuggestionBlocksForListStyle'](){var _0x256252,_0x222655,_0x1f6cea,_0xfe482f;const _0x5dceb4=this[_0x19a9('0x14')][_0x19a9('0x8')][_0x19a9('0x1e')]('ListUtils');let _0x30e792=Array[_0x19a9('0x1c')](this[_0x19a9('0x14')]['model']['document'][_0x19a9('0x12')][_0x19a9('0x3d')]());return(null===(_0x256252=_0x30e792[0x0])||void 0x0===_0x256252?void 0x0:_0x256252['is'](_0x19a9('0xb'),_0x19a9('0x2c')))&&_0x30e792[_0x19a9('0x1d')](..._0x5dceb4['getSiblingNodes'](this['editor'][_0x19a9('0x23')][_0x19a9('0x5')][_0x19a9('0x12')][_0x19a9('0x1b')](),_0x19a9('0x36'))),(null===(_0x222655=_0x30e792[_0x30e792[_0x19a9('0x3b')]-0x1])||void 0x0===_0x222655?void 0x0:_0x222655['is']('element',_0x19a9('0x2c')))&&_0x30e792[_0x19a9('0x29')](..._0x5dceb4[_0x19a9('0x1a')](this['editor'][_0x19a9('0x23')]['document'][_0x19a9('0x12')]['getLastPosition'](),_0x19a9('0x16'))),_0x30e792=[...new Set(_0x30e792)],(null===(_0xfe482f=null===(_0x1f6cea=this[_0x19a9('0x14')][_0x19a9('0x23')]['document'][_0x19a9('0x12')][_0x19a9('0x1b')]())||void 0x0===_0x1f6cea?void 0x0:_0x1f6cea[_0x19a9('0xd')])||void 0x0===_0xfe482f?void 0x0:_0xfe482f['is']('element',_0x19a9('0x2c')))&&(_0x30e792=_0x30e792[_0x19a9('0x38')](_0x1340c5=>_0x1340c5['is'](_0x19a9('0xb'),'listItem'))),_0x30e792;}[_0x19a9('0x22')](_0x38f665){const _0x28dfdd=this['editor']['plugins'][_0x19a9('0x1e')](_0x19a9('0x3a'));let _0x129368=Array[_0x19a9('0x1c')](this[_0x19a9('0x14')][_0x19a9('0x23')][_0x19a9('0x5')][_0x19a9('0x12')]['getSelectedBlocks']())['filter'](_0x38f665)[_0x19a9('0xf')](_0x2f65a0=>{const _0x4e1119=this['editor'][_0x19a9('0x23')]['createPositionAt'](_0x2f65a0,0x0);return[..._0x28dfdd[_0x19a9('0x1a')](_0x4e1119,'backward'),..._0x28dfdd[_0x19a9('0x1a')](_0x4e1119,_0x19a9('0x16'))];})[_0x19a9('0x25')]();return _0x129368=[...new Set(_0x129368)],_0x129368;}[_0x19a9('0x1')](_0xaca7ee){return _0x19a9('0x9')+this[_0x19a9('0x14')][_0x19a9('0x8')][_0x19a9('0x1e')](_0x19a9('0x3a'))[_0x19a9('0x10')](_0xaca7ee)[_0x19a9('0x19')]()+_0x19a9('0x3c')+_0xaca7ee['toUpperCase']()[_0x19a9('0x2b')](/-/g,'_');}}
23
+ const _0x6f00=['list.properties','backward','createPositionAt','numbered','_LIST_','listStart','change','parent','before','document','bind','toUpperCase','reversed','getAttribute','TrackChangesEditing','unshift','*Format:*\x20set\x20start\x20index\x20to\x20%0','getLastPosition','*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','getSiblingNodes','handleDescriptions','listReversed','model','forward','styles','ListUtils','element','type','startIndex','_getSuggestionBlocks','selection','getFirstPosition','_getSuggestionBlocksForListStyle','editor','config','format','has','listStyle','from','afterInit','enableCommand','_getTranslationKeyForListStyle','listType','commandParams','flat','plugins','map','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20reversed','createRange','handleListStartCommand','listItem','commandName','handleListStyleCommand','length','get'];(function(_0x495a10,_0x6f006f){const _0x4256ff=function(_0xab303c){while(--_0xab303c){_0x495a10['push'](_0x495a10['shift']());}};_0x4256ff(++_0x6f006f);}(_0x6f00,0x77));const _0x4256=function(_0x495a10,_0x6f006f){_0x495a10=_0x495a10-0x0;let _0x4256ff=_0x6f00[_0x495a10];return _0x4256ff;};import{Plugin as _0x3e00d8}from'ckeditor5/src/core';import{getTranslation as _0x10cf4d}from'../utils/common-translations';export default class nt extends _0x3e00d8{[_0x4256('0x23')](){if(!this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x20')]('ListPropertiesEditing'))return;const _0x377d27=this[_0x4256('0x1d')][_0x4256('0x1e')][_0x4256('0x33')](_0x4256('0x34')),_0x32b370=this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x9'));_0x377d27[_0x4256('0x14')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x21'),this[_0x4256('0x31')][_0x4256('0x5')](this)),_0x377d27[_0x4256('0x7')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x11'),this['handleListReversedCommand']['bind'](this)),_0x377d27[_0x4256('0x18')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x0'),this[_0x4256('0x2e')]['bind'](this)),_0x32b370['_descriptionFactory']['registerDescriptionCallback'](this[_0x4256('0x10')][_0x4256('0x5')](this));}['handleListStyleCommand'](_0x1aaba9,_0x5f290b={}){const _0xd5360=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')]('TrackChangesEditing'),_0xca8bc6=this[_0x4256('0x1c')]();this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x1')](()=>{_0xd5360[_0x4256('0x2b')](_0xca8bc6,{'commandName':_0x4256('0x21'),'commandParams':[{'type':_0x5f290b[_0x4256('0x17')]}],'formatGroupId':_0x4256('0x21')});});}[_0x4256('0xe')](_0x3c4140,_0x56abc8={}){const _0x1c68e7=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x9')),_0x587763=this[_0x4256('0x19')](_0x68575a=>_0x68575a['is'](_0x4256('0x16'),_0x4256('0x2f'))&&'numbered'===_0x68575a[_0x4256('0x8')](_0x4256('0x26')));if(_0x587763[_0x4256('0x32')]<0x1)return;const _0x253b0d=_0x587763[_0x4256('0x2a')](_0x421732=>this[_0x4256('0x1d')][_0x4256('0x12')]['createRange'](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x36')](_0x421732,_0x4256('0x3')),this[_0x4256('0x1d')]['model'][_0x4256('0x36')](_0x421732,0x0)));this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x1')](()=>{_0x1c68e7[_0x4256('0x2b')](_0x253b0d,{'commandName':_0x4256('0x11'),'commandParams':[{'reversed':_0x56abc8[_0x4256('0x7')]}],'formatGroupId':_0x4256('0x11')});});}['handleListStartCommand'](_0x50b820,_0x57aa5e={}){const _0x1e2ee4=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x9')),_0x5e17bb=this[_0x4256('0x19')](_0x5f045f=>_0x5f045f['is'](_0x4256('0x16'),'listItem')&&_0x4256('0x37')===_0x5f045f[_0x4256('0x8')]('listType'));if(_0x5e17bb[_0x4256('0x32')]<0x1)return;const _0x1a851f=_0x5e17bb[_0x4256('0x2a')](_0xa97f28=>this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x2d')](this[_0x4256('0x1d')][_0x4256('0x12')]['createPositionAt'](_0xa97f28,'before'),this['editor'][_0x4256('0x12')][_0x4256('0x36')](_0xa97f28,0x0)));this[_0x4256('0x1d')]['model'][_0x4256('0x1')](()=>{_0x1e2ee4[_0x4256('0x2b')](_0x1a851f,{'commandName':_0x4256('0x0'),'commandParams':[{'startIndex':_0x57aa5e[_0x4256('0x18')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x442bad){const _0x47da38=this[_0x4256('0x1d')]['locale'],{data:_0x43d218}=_0x442bad;if(!_0x43d218)return;let _0x4e7c01,_0x1b787f;switch(_0x43d218[_0x4256('0x30')]){case _0x4256('0x21'):_0x4e7c01='*Change\x20to:*\x20%0',_0x1b787f={'type':'format','content':_0x10cf4d(_0x47da38,_0x4e7c01,_0x10cf4d(_0x47da38,this[_0x4256('0x25')](_0x43d218[_0x4256('0x27')][0x0]['type'])))};break;case _0x4256('0x11'):_0x4e7c01=_0x43d218[_0x4256('0x27')][0x0]['reversed']?_0x4256('0x2c'):_0x4256('0xd'),_0x1b787f={'type':_0x4256('0x1f'),'content':_0x10cf4d(_0x47da38,_0x4e7c01)};break;case'listStart':_0x4e7c01=_0x4256('0xb'),_0x1b787f={'type':_0x4256('0x1f'),'content':_0x10cf4d(_0x47da38,_0x4e7c01,_0x43d218[_0x4256('0x27')][0x0][_0x4256('0x18')])};}return _0x1b787f;}[_0x4256('0x1c')](){var _0x13487b,_0x10aecc,_0x182ace,_0x15f9e3;const _0x53cc46=this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x15'));let _0x2d90d5=Array[_0x4256('0x22')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')]['getSelectedBlocks']());return(null===(_0x13487b=_0x2d90d5[0x0])||void 0x0===_0x13487b?void 0x0:_0x13487b['is'](_0x4256('0x16'),_0x4256('0x2f')))&&_0x2d90d5[_0x4256('0xa')](..._0x53cc46[_0x4256('0xf')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')][_0x4256('0x1b')](),'backward')),(null===(_0x10aecc=_0x2d90d5[_0x2d90d5[_0x4256('0x32')]-0x1])||void 0x0===_0x10aecc?void 0x0:_0x10aecc['is']('element',_0x4256('0x2f')))&&_0x2d90d5['push'](..._0x53cc46[_0x4256('0xf')](this[_0x4256('0x1d')][_0x4256('0x12')]['document'][_0x4256('0x1a')][_0x4256('0xc')](),_0x4256('0x13'))),_0x2d90d5=[...new Set(_0x2d90d5)],(null===(_0x15f9e3=null===(_0x182ace=this[_0x4256('0x1d')]['model'][_0x4256('0x4')][_0x4256('0x1a')]['getFirstPosition']())||void 0x0===_0x182ace?void 0x0:_0x182ace[_0x4256('0x2')])||void 0x0===_0x15f9e3?void 0x0:_0x15f9e3['is'](_0x4256('0x16'),_0x4256('0x2f')))&&(_0x2d90d5=_0x2d90d5['filter'](_0x1e54e7=>_0x1e54e7['is']('element',_0x4256('0x2f')))),_0x2d90d5;}[_0x4256('0x19')](_0x4f5180){const _0x34630f=this['editor'][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x15'));let _0x540e91=Array[_0x4256('0x22')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')]['getSelectedBlocks']())['filter'](_0x4f5180)[_0x4256('0x2a')](_0x40088b=>{const _0x2f867d=this['editor'][_0x4256('0x12')]['createPositionAt'](_0x40088b,0x0);return[..._0x34630f['getSiblingNodes'](_0x2f867d,_0x4256('0x35')),..._0x34630f[_0x4256('0xf')](_0x2f867d,_0x4256('0x13'))];})[_0x4256('0x28')]();return _0x540e91=[...new Set(_0x540e91)],_0x540e91;}['_getTranslationKeyForListStyle'](_0x5381f8){return'ELEMENT_'+this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x15'))['getListTypeFromListStyleType'](_0x5381f8)[_0x4256('0x6')]()+_0x4256('0x38')+_0x5381f8['toUpperCase']()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0f=['div','enableCommand','downcastDispatcher','ELEMENT_MEDIA','elementToElement','createEmptyElement','editor','TrackChangesEditing','high','registerElementLabel','locale','media','options','showSuggestionHighlights','stop','afterInit','data','for','conversion','_descriptionFactory','plugins'];(function(_0x513765,_0x5e0f3a){const _0x4aaf3b=function(_0x591b48){while(--_0x591b48){_0x513765['push'](_0x513765['shift']());}};_0x4aaf3b(++_0x5e0f3a);}(_0x5e0f,0x1b9));const _0x4aaf=function(_0x513765,_0x5e0f3a){_0x513765=_0x513765-0x0;let _0x4aaf3b=_0x5e0f[_0x513765];return _0x4aaf3b;};import{Plugin as _0x125220}from'ckeditor5/src/core';import{getTranslation as _0x50681a}from'../utils/common-translations';export default class nt extends _0x125220{[_0x4aaf('0xf')](){const _0x12b229=this[_0x4aaf('0x6')];if(!_0x12b229[_0x4aaf('0x14')]['has']('MediaEmbedEditing'))return;const _0x53a468=_0x12b229[_0x4aaf('0x14')]['get'](_0x4aaf('0x7')),_0x5b940c=_0x12b229[_0x4aaf('0xa')];_0x53a468[_0x4aaf('0x1')]('mediaEmbed'),_0x53a468[_0x4aaf('0x13')][_0x4aaf('0x9')](_0x4aaf('0xb'),_0x506484=>_0x50681a(_0x5b940c,_0x4aaf('0x3'),_0x506484)),_0x12b229[_0x4aaf('0x12')][_0x4aaf('0x11')]('dataDowncast')[_0x4aaf('0x4')]({'model':'media','view':(_0x3eddaf,{writer:_0x42e1a2,options:_0x1af099})=>{if(_0x1af099['showSuggestionHighlights'])return _0x42e1a2[_0x4aaf('0x5')](_0x4aaf('0x0'));},'converterPriority':_0x4aaf('0x8')}),_0x12b229[_0x4aaf('0x10')][_0x4aaf('0x2')]['on']('attribute:url:media',(_0x3db70d,_0x29c65e,_0x133643)=>{_0x133643[_0x4aaf('0xc')][_0x4aaf('0xd')]&&_0x3db70d[_0x4aaf('0xe')]();},{'priority':'high'});}}
23
+ const _0x1314=['showSuggestionHighlights','conversion','MediaEmbedEditing','elementToElement','registerElementLabel','attribute:url:media','ELEMENT_MEDIA','afterInit','editor','TrackChangesEditing','_descriptionFactory','enableCommand','plugins','mediaEmbed','stop','high','data','createEmptyElement','media','get','downcastDispatcher'];(function(_0x51963b,_0x13143c){const _0x42fe8f=function(_0x3f782d){while(--_0x3f782d){_0x51963b['push'](_0x51963b['shift']());}};_0x42fe8f(++_0x13143c);}(_0x1314,0x79));const _0x42fe=function(_0x51963b,_0x13143c){_0x51963b=_0x51963b-0x0;let _0x42fe8f=_0x1314[_0x51963b];return _0x42fe8f;};import{Plugin as _0x5dee44}from'ckeditor5/src/core';import{getTranslation as _0x17ba19}from'../utils/common-translations';export default class ot extends _0x5dee44{[_0x42fe('0xc')](){const _0x2358b7=this[_0x42fe('0xd')];if(!_0x2358b7[_0x42fe('0x11')]['has'](_0x42fe('0x7')))return;const _0x308556=_0x2358b7[_0x42fe('0x11')][_0x42fe('0x3')](_0x42fe('0xe')),_0x215743=_0x2358b7['locale'];_0x308556[_0x42fe('0x10')](_0x42fe('0x12')),_0x308556[_0x42fe('0xf')][_0x42fe('0x9')](_0x42fe('0x2'),_0xd99efc=>_0x17ba19(_0x215743,_0x42fe('0xb'),_0xd99efc)),_0x2358b7[_0x42fe('0x6')]['for']('dataDowncast')[_0x42fe('0x8')]({'model':_0x42fe('0x2'),'view':(_0x2e371a,{writer:_0xcef00e,options:_0x356b34})=>{if(_0x356b34['showSuggestionHighlights'])return _0xcef00e[_0x42fe('0x1')]('div');},'converterPriority':'high'}),_0x2358b7[_0x42fe('0x0')][_0x42fe('0x4')]['on'](_0x42fe('0xa'),(_0x3b1cd4,_0x384a34,_0x12452e)=>{_0x12452e['options'][_0x42fe('0x5')]&&_0x3b1cd4[_0x42fe('0x13')]();},{'priority':_0x42fe('0x14')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2195=['mention','afterInit','plugins','editor','get','TrackChangesEditing','has','MentionEditing','enableCommand'];(function(_0x5840a1,_0x2195fe){const _0x32b9d5=function(_0x422ba2){while(--_0x422ba2){_0x5840a1['push'](_0x5840a1['shift']());}};_0x32b9d5(++_0x2195fe);}(_0x2195,0x1d7));const _0x32b9=function(_0x5840a1,_0x2195fe){_0x5840a1=_0x5840a1-0x0;let _0x32b9d5=_0x2195[_0x5840a1];return _0x32b9d5;};import{Plugin as _0xa47d02}from'ckeditor5/src/core';export default class ot extends _0xa47d02{[_0x32b9('0x7')](){const _0x2e1ed2=this[_0x32b9('0x0')];_0x2e1ed2[_0x32b9('0x8')][_0x32b9('0x3')](_0x32b9('0x4'))&&_0x2e1ed2[_0x32b9('0x8')][_0x32b9('0x1')](_0x32b9('0x2'))[_0x32b9('0x5')](_0x32b9('0x6'));}}
23
+ const _0x3e66=['afterInit','MentionEditing','editor','plugins','mention','enableCommand','TrackChangesEditing','get'];(function(_0x46ec6a,_0x3e6658){const _0x3acb8f=function(_0x4fada5){while(--_0x4fada5){_0x46ec6a['push'](_0x46ec6a['shift']());}};_0x3acb8f(++_0x3e6658);}(_0x3e66,0x18e));const _0x3acb=function(_0x46ec6a,_0x3e6658){_0x46ec6a=_0x46ec6a-0x0;let _0x3acb8f=_0x3e66[_0x46ec6a];return _0x3acb8f;};import{Plugin as _0x3f6a64}from'ckeditor5/src/core';export default class rt extends _0x3f6a64{[_0x3acb('0x2')](){const _0x1e58fa=this[_0x3acb('0x4')];_0x1e58fa[_0x3acb('0x5')]['has'](_0x3acb('0x3'))&&_0x1e58fa[_0x3acb('0x5')][_0x3acb('0x1')](_0x3acb('0x0'))[_0x3acb('0x7')](_0x3acb('0x6'));}}