@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231114.0 → 0.0.0-nightly-20231116.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 (159) 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/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/contexts.json +3 -3
  50. package/lang/translations/ar.po +19 -19
  51. package/lang/translations/bg.po +19 -19
  52. package/lang/translations/bn.po +19 -19
  53. package/lang/translations/ca.po +19 -19
  54. package/lang/translations/cs.po +19 -19
  55. package/lang/translations/da.po +19 -19
  56. package/lang/translations/de.po +19 -19
  57. package/lang/translations/el.po +19 -19
  58. package/lang/translations/es.po +19 -19
  59. package/lang/translations/et.po +19 -19
  60. package/lang/translations/fi.po +19 -19
  61. package/lang/translations/fr.po +19 -19
  62. package/lang/translations/he.po +19 -19
  63. package/lang/translations/hi.po +19 -19
  64. package/lang/translations/hu.po +19 -19
  65. package/lang/translations/id.po +19 -19
  66. package/lang/translations/it.po +19 -19
  67. package/lang/translations/ja.po +19 -19
  68. package/lang/translations/ko.po +19 -19
  69. package/lang/translations/lt.po +19 -19
  70. package/lang/translations/lv.po +19 -19
  71. package/lang/translations/ms.po +19 -19
  72. package/lang/translations/nl.po +19 -19
  73. package/lang/translations/no.po +19 -19
  74. package/lang/translations/pl.po +19 -19
  75. package/lang/translations/pt-br.po +19 -19
  76. package/lang/translations/pt.po +19 -19
  77. package/lang/translations/ro.po +19 -19
  78. package/lang/translations/ru.po +19 -19
  79. package/lang/translations/sk.po +19 -19
  80. package/lang/translations/sr.po +19 -19
  81. package/lang/translations/sv.po +19 -19
  82. package/lang/translations/th.po +19 -19
  83. package/lang/translations/tr.po +19 -19
  84. package/lang/translations/uk.po +19 -19
  85. package/lang/translations/vi.po +19 -19
  86. package/lang/translations/zh-cn.po +19 -19
  87. package/lang/translations/zh.po +19 -19
  88. package/package.json +3 -3
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardsuggestioncommand.js +1 -1
  91. package/src/commands/executeonallsuggestionscommand.js +1 -1
  92. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/index.d.ts +1 -1
  95. package/src/integrations/aiassistant.js +1 -1
  96. package/src/integrations/alignment.js +1 -1
  97. package/src/integrations/basicstyles.js +1 -1
  98. package/src/integrations/blockquote.js +1 -1
  99. package/src/integrations/ckbox.js +1 -1
  100. package/src/integrations/codeblock.js +1 -1
  101. package/src/integrations/comments.js +1 -1
  102. package/src/integrations/deletecommand.js +1 -1
  103. package/src/integrations/documentlist.js +1 -1
  104. package/src/integrations/documentlistproperties.js +1 -1
  105. package/src/integrations/entercommand.js +1 -1
  106. package/src/integrations/findandreplace.js +1 -1
  107. package/src/integrations/font.js +1 -1
  108. package/src/integrations/formatpainter.js +1 -1
  109. package/src/integrations/heading.js +1 -1
  110. package/src/integrations/highlight.js +1 -1
  111. package/src/integrations/horizontalline.js +1 -1
  112. package/src/integrations/htmlembed.js +1 -1
  113. package/src/integrations/image.js +1 -1
  114. package/src/integrations/imagereplace.js +1 -1
  115. package/src/integrations/imagestyle.js +1 -1
  116. package/src/integrations/importword.js +1 -1
  117. package/src/integrations/indent.js +1 -1
  118. package/src/integrations/inputcommand.js +1 -1
  119. package/src/integrations/link.js +1 -1
  120. package/src/integrations/list.js +1 -1
  121. package/src/integrations/listproperties.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.d.ts +0 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tablecaption.js +1 -1
  134. package/src/integrations/tableclipboard.js +1 -1
  135. package/src/integrations/tablecolumnresize.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/tableofcontents.js +1 -1
  139. package/src/integrations/tableproperties.js +1 -1
  140. package/src/integrations/template.js +1 -1
  141. package/src/integrations/title.js +1 -1
  142. package/src/integrations/undo.js +1 -1
  143. package/src/integrations/utils.js +1 -1
  144. package/src/suggestion.js +1 -1
  145. package/src/suggestiondescriptionfactory.d.ts +7 -4
  146. package/src/suggestiondescriptionfactory.js +1 -1
  147. package/src/trackchanges.d.ts +0 -67
  148. package/src/trackchanges.js +1 -1
  149. package/src/trackchangesconfig.d.ts +22 -19
  150. package/src/trackchangesdata.js +1 -1
  151. package/src/trackchangesediting.d.ts +14 -23
  152. package/src/trackchangesediting.js +1 -1
  153. package/src/trackchangesui.js +1 -1
  154. package/src/ui/suggestioncontroller.js +1 -1
  155. package/src/ui/view/basesuggestionthreadview.js +1 -1
  156. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  157. package/src/ui/view/suggestionthreadview.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4194=['next','selection','mergeListItemBackward','getRanges','*Format:*\x20remove\x20from\x20%0','forceValue','after','map','bulletedList','listItemId','deletion','multipleBlocks','ELEMENT_NUMBERED_LIST','formatBlock','getAttribute','accept','setSelection','hasAttribute','*Change\x20to:*\x20%0','*Outdent:*\x20%0','execute','createPositionAt','paragraph','splitListItemAfter','commands','type','markBlockFormat','list.multiBlock','*Merge:*\x20%0','plugins','get','*Indent:*\x20%0','outdentList','enableCommand','end','numberedList','*Format:*\x20insert\x20into\x20%0','schema','change','start','getSelectedBlocks','indentList','value','commandParams','formatInline','listType','_descriptionFactory','push','format','previousSibling','parent','findIndex','nodeAfter','length','nextSibling','locale','DocumentListUtils','ELEMENT_','containsItem','isObject','refresh','config','add','document','registerElementLabel','TrackChangesEditing','createRange','before','from','registerDescriptionCallback','commandName','afterInit','has','mergeListItemForward','editor','model','getFirstRange','detach','splitListItemBefore','ELEMENT_LIST_ITEM','listIndent','ELEMENT_BULLETED_LIST','documentList'];(function(_0x58596d,_0x419437){const _0x1ea4ab=function(_0x159f83){while(--_0x159f83){_0x58596d['push'](_0x58596d['shift']());}};_0x1ea4ab(++_0x419437);}(_0x4194,0x1d7));const _0x1ea4=function(_0x58596d,_0x419437){_0x58596d=_0x58596d-0x0;let _0x1ea4ab=_0x4194[_0x58596d];return _0x1ea4ab;};import{Plugin as _0x43625e}from'ckeditor5/src/core';import{getTranslation as _0x1ede14}from'../utils/common-translations';import{LiveRange as _0x446a7d}from'ckeditor5/src/engine';export default class q extends _0x43625e{[_0x1ea4('0xf')](){const _0x5c4934=this[_0x1ea4('0x12')];if(!_0x5c4934[_0x1ea4('0x38')][_0x1ea4('0x10')]('DocumentListEditing'))return;const _0x560314=_0x5c4934[_0x1ea4('0x52')],_0x2eb801=_0x5c4934[_0x1ea4('0x38')][_0x1ea4('0x39')](_0x1ea4('0x9')),_0x187cdd=_0x5c4934[_0x1ea4('0x38')][_0x1ea4('0x39')](_0x1ea4('0x0'));function _0x26ceb1(_0x2db6f1){return()=>{const _0x414c4c=_0x5c4934[_0x1ea4('0x33')][_0x1ea4('0x39')](_0x2db6f1);if(_0x414c4c[_0x1ea4('0x45')]&&!_0x5c4934[_0x1ea4('0x5')][_0x1ea4('0x39')](_0x1ea4('0x36')))return void _0x5c4934['execute'](_0x1ea4('0x31'),{});let _0x499cd9=Array[_0x1ea4('0xc')](_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x7')][_0x1ea4('0x1c')][_0x1ea4('0x43')]());if(_0xa94b50(_0x2db6f1)){_0x499cd9=_0x187cdd['expandListBlocksToCompleteList'](_0x499cd9);const _0x29acfd=[];for(const _0x278e4f of _0x499cd9)_0x187cdd['isFirstBlockOfListItem'](_0x278e4f)&&_0x29acfd[_0x1ea4('0x4a')](_0x278e4f);_0x499cd9=_0x29acfd;}_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x41')](()=>{_0x2eb801['markMultiRangeBlockFormat'](_0x499cd9,{'commandName':_0x2db6f1,'commandParams':[{'forceValue':!_0x414c4c[_0x1ea4('0x45')]}],'formatGroupId':'listType'},[],_0x1ea4('0x1a'));});};}function _0x3e2d55(_0x592adb){return()=>{const _0x47852c=function(_0x882ac4){let _0x1ea993=Array[_0x1ea4('0xc')](_0x882ac4);const _0x574482=_0x1ea993[_0x1ea4('0x4e')](_0x4ccd87=>!_0x4ccd87[_0x1ea4('0x2c')](_0x1ea4('0x24')));return _0x574482>-0x1&&(_0x1ea993=_0x1ea993['slice'](0x0,_0x574482)),_0x1ea993;}(_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x7')][_0x1ea4('0x1c')][_0x1ea4('0x43')]()),_0xa9dd5d=_0x47852c[_0x47852c[_0x1ea4('0x50')]-0x1],_0x25e55d=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x40')][_0x1ea4('0x3')](_0xa9dd5d)?_0x1ea4('0x21'):_0x1ea4('0x3d'),_0x136d0f=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0xa')](_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x30')](_0x47852c[0x0],_0x1ea4('0xb')),_0x5c4934['model'][_0x1ea4('0x30')](_0xa9dd5d,_0x25e55d));_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x41')](()=>{_0x2eb801['markBlockFormat'](_0x136d0f,{'commandName':_0x592adb,'commandParams':[],'formatGroupId':_0x1ea4('0x48')},function(_0x44dbaa){const _0x391881=new Set();for(const _0x2d81d2 of _0x44dbaa){let _0x1f0ac1=_0x2d81d2['nextSibling'];for(;_0x1f0ac1&&_0x1f0ac1[_0x1ea4('0x29')](_0x1ea4('0x18'))>_0x2d81d2[_0x1ea4('0x29')](_0x1ea4('0x18'));)_0x391881[_0x1ea4('0x6')](_0x1f0ac1),_0x1f0ac1=_0x1f0ac1[_0x1ea4('0x51')];}return Array[_0x1ea4('0xc')](_0x391881);}(_0x47852c));});};}function _0x9d7b12(_0x1474ea){return()=>{const _0x39a29e=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x7')]['selection'][_0x1ea4('0x43')]()[_0x1ea4('0x1b')]()[_0x1ea4('0x45')],_0x4a6bbd=_0x5c4934[_0x1ea4('0x13')]['createPositionAt'](_0x39a29e,_0x1ea4('0xb')),_0x331b39=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x30')](_0x39a29e,0x0),_0xb554fb=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0xa')](_0x4a6bbd,_0x331b39);_0x5c4934[_0x1ea4('0x13')]['change'](()=>{_0x2eb801[_0x1ea4('0x35')](_0xb554fb,{'commandName':_0x1474ea,'commandParams':[],'formatGroupId':_0x1ea4('0x48')});});};}function _0xa94b50(_0x218830){const _0x4364b2=_0x5c4934[_0x1ea4('0x33')][_0x1ea4('0x39')](_0x1ea4('0x23'))[_0x1ea4('0x45')],_0x6f46b7=_0x5c4934[_0x1ea4('0x33')][_0x1ea4('0x39')](_0x1ea4('0x3e'))[_0x1ea4('0x45')];return _0x1ea4('0x3e')===_0x218830?_0x4364b2:_0x6f46b7;}_0x2eb801[_0x1ea4('0x3c')](_0x1ea4('0x3e'),_0x26ceb1(_0x1ea4('0x3e'))),_0x2eb801[_0x1ea4('0x3c')](_0x1ea4('0x23'),_0x26ceb1('bulletedList')),_0x2eb801['enableCommand'](_0x1ea4('0x44'),_0x3e2d55(_0x1ea4('0x44'))),_0x2eb801[_0x1ea4('0x3c')]('outdentList',_0x3e2d55(_0x1ea4('0x3b'))),_0x2eb801[_0x1ea4('0x3c')](_0x1ea4('0x32'),_0x9d7b12(_0x1ea4('0x32'))),_0x2eb801[_0x1ea4('0x3c')](_0x1ea4('0x16'),_0x9d7b12(_0x1ea4('0x16'))),_0x2eb801[_0x1ea4('0x49')][_0x1ea4('0x8')](function(_0x126c29){const _0x27574c=!_0x5c4934['model'][_0x1ea4('0x40')][_0x1ea4('0x3')](_0x126c29),_0x15b774=_0x126c29[_0x1ea4('0x4c')],_0x4a7c13=_0x126c29[_0x1ea4('0x51')],_0x1f2d07=_0x126c29[_0x1ea4('0x29')](_0x1ea4('0x24')),_0x6bcca8=!_0x15b774||_0x15b774[_0x1ea4('0x29')](_0x1ea4('0x24'))!==_0x1f2d07,_0x5afe34=!_0x4a7c13||_0x4a7c13[_0x1ea4('0x29')](_0x1ea4('0x24'))!==_0x1f2d07;return _0x27574c&&Boolean(_0x1f2d07)&&_0x6bcca8&&_0x5afe34;},_0x327dd1=>_0x1ede14(_0x560314,_0x1ea4('0x17'),_0x327dd1)),_0x2eb801[_0x1ea4('0x49')][_0x1ea4('0xd')](function(_0x1b0de8){if('formatBlock'!=_0x1b0de8[_0x1ea4('0x34')]&&_0x1ea4('0x47')!=_0x1b0de8[_0x1ea4('0x34')])return;const {data:_0x53d362}=_0x1b0de8;if(!_0x53d362)return;let _0x1e9c59,_0x56ef53,_0x39173d,_0x4d13d3;switch(_0x53d362[_0x1ea4('0xe')]){case _0x1ea4('0x23'):_0x39173d=_0x53d362[_0x1ea4('0x46')][0x0]['forceValue'],_0x4d13d3=_0xa94b50(_0x53d362[_0x1ea4('0xe')]),_0x1e9c59=_0x39173d?_0x1ea4('0x3f'):_0x1ea4('0x1f'),!_0x4d13d3&&_0x5c4934[_0x1ea4('0x5')][_0x1ea4('0x39')](_0x1ea4('0x36'))||(_0x1e9c59=_0x1ea4('0x2d')),_0x56ef53={'type':'format','content':_0x1ede14(_0x560314,_0x1e9c59,_0x1ede14(_0x560314,_0x1ea4('0x19')))};break;case _0x1ea4('0x3e'):_0x39173d=_0x53d362[_0x1ea4('0x46')][0x0][_0x1ea4('0x20')],_0x4d13d3=_0xa94b50(_0x53d362['commandName']),_0x1e9c59=_0x39173d?_0x1ea4('0x3f'):_0x1ea4('0x1f'),!_0x4d13d3&&_0x5c4934['config'][_0x1ea4('0x39')](_0x1ea4('0x36'))||(_0x1e9c59=_0x1ea4('0x2d')),_0x56ef53={'type':_0x1ea4('0x4b'),'content':_0x1ede14(_0x560314,_0x1e9c59,_0x1ede14(_0x560314,_0x1ea4('0x27')))};break;case'indentList':_0x1e9c59=_0x1ea4('0x3a'),_0x56ef53={'type':_0x1ea4('0x4b'),'content':_0x1ede14(_0x560314,_0x1e9c59,_0x1ede14(_0x560314,_0x1ea4('0x17')))};break;case _0x1ea4('0x3b'):_0x1e9c59=function(_0x16d718){const _0x43da17=_0x16d718[_0x1ea4('0x14')]();let _0x35f292=_0x43da17['start'][_0x1ea4('0x4f')];for(;_0x35f292&&_0x43da17[_0x1ea4('0x2')](_0x35f292);){if(_0x35f292[_0x1ea4('0x29')](_0x1ea4('0x18'))>0x0)return!0x1;_0x35f292=_0x35f292['nextSibling'];}return!0x0;}(_0x1b0de8)?_0x1ede14(_0x560314,_0x1ea4('0x1f'),_0x1ede14(_0x560314,function(_0x144119){const _0x298a91=_0x144119['getFirstRange']()[_0x1ea4('0x42')]['nodeAfter'];return _0x1ea4('0x1')+_0x298a91[_0x1ea4('0x29')]('listType')['toUpperCase']()+'_LIST';}(_0x1b0de8))):_0x1ede14(_0x560314,_0x1ea4('0x2e'),_0x1ede14(_0x560314,_0x1ea4('0x17'))),_0x56ef53={'type':_0x1ea4('0x4b'),'content':_0x1e9c59};break;case _0x1ea4('0x1d'):case _0x1ea4('0x11'):!0x1===_0x53d362[_0x1ea4('0x26')]&&(_0x1e9c59=_0x1ea4('0x37'),_0x56ef53={'type':_0x1ea4('0x25'),'content':_0x1ede14(_0x560314,_0x1e9c59,_0x1ede14(_0x560314,_0x1ea4('0x17')))});}return _0x56ef53;}),_0x2eb801['_suggestionFactory']['registerCustomCallback'](_0x1ea4('0x28'),'documentList',_0x1ea4('0x2a'),function(_0x49ac4a,_0xb205e9){const _0x255bab=[];for(let _0x24a5a0 of _0x49ac4a)_0x24a5a0[_0x1ea4('0x42')]['nodeAfter']===_0x24a5a0[_0x1ea4('0x3d')][_0x1ea4('0x4d')]&&(_0x24a5a0=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0xa')](_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x30')](_0x24a5a0[_0x1ea4('0x42')][_0x1ea4('0x4f')],0x0))),_0x255bab[_0x1ea4('0x4a')](_0x24a5a0);_0x5c4934['model'][_0x1ea4('0x41')](_0xf3960d=>{const _0x1ceeee=_0x5c4934[_0x1ea4('0x13')][_0x1ea4('0x7')][_0x1ea4('0x1c')],_0x428744=Array[_0x1ea4('0xc')](_0x1ceeee[_0x1ea4('0x1e')]())[_0x1ea4('0x22')](_0x19c18d=>_0x446a7d['fromRange'](_0x19c18d));_0xf3960d[_0x1ea4('0x2b')](_0x255bab),_0x5c4934['commands'][_0x1ea4('0x39')](_0xb205e9[_0x1ea4('0xe')])[_0x1ea4('0x4')](),_0xb205e9[_0x1ea4('0x46')][_0x1ea4('0x4a')]({'forceDefaultExecution':!0x0}),_0x5c4934[_0x1ea4('0x2f')](_0xb205e9['commandName'],..._0xb205e9[_0x1ea4('0x46')]),_0xf3960d[_0x1ea4('0x2b')](_0x428744);for(const _0x29fb1b of _0x428744)_0x29fb1b[_0x1ea4('0x15')]();});});}}
23
+ const _0x1402=['multipleBlocks','list.multiBlock','registerElementLabel','from','formatInline','length','change','enableCommand','mergeListItemBackward','locale','start','getRanges','commandParams','push','afterInit','execute','DocumentListEditing','commands','isFirstBlockOfListItem','deletion','nextSibling','previousSibling','editor','plugins','detach','toUpperCase','splitListItemAfter','listItemId','_descriptionFactory','get','getFirstRange','after','TrackChangesEditing','listType','format','refresh','end','registerCustomCallback','nodeAfter','indentList','registerDescriptionCallback','*Format:*\x20remove\x20from\x20%0','ELEMENT_LIST_ITEM','numberedList','bulletedList','model','markBlockFormat','slice','*Indent:*\x20%0','mergeListItemForward','type','has','map','documentList','next','config','value','before','parent','ELEMENT_NUMBERED_LIST','expandListBlocksToCompleteList','markMultiRangeBlockFormat','containsItem','getAttribute','isObject','fromRange','outdentList','createRange','getSelectedBlocks','accept','splitListItemBefore','formatBlock','listIndent','document','*Merge:*\x20%0','forceValue','commandName','add','findIndex','_LIST','*Change\x20to:*\x20%0','setSelection','selection','ELEMENT_BULLETED_LIST','createPositionAt'];(function(_0x233bcb,_0x14025b){const _0x14d6e8=function(_0x35e9a1){while(--_0x35e9a1){_0x233bcb['push'](_0x233bcb['shift']());}};_0x14d6e8(++_0x14025b);}(_0x1402,0xf8));const _0x14d6=function(_0x233bcb,_0x14025b){_0x233bcb=_0x233bcb-0x0;let _0x14d6e8=_0x1402[_0x233bcb];return _0x14d6e8;};import{Plugin as _0x2c766e}from'ckeditor5/src/core';import{getTranslation as _0x5e9acf}from'../utils/common-translations';import{LiveRange as _0x1016b5}from'ckeditor5/src/engine';export default class q extends _0x2c766e{[_0x14d6('0x15')](){const _0x26758f=this[_0x14d6('0x1d')];if(!_0x26758f[_0x14d6('0x1e')][_0x14d6('0x3a')](_0x14d6('0x17')))return;const _0x1449f2=_0x26758f[_0x14d6('0x10')],_0x1c7a9d=_0x26758f[_0x14d6('0x1e')][_0x14d6('0x24')](_0x14d6('0x27')),_0x496d4c=_0x26758f[_0x14d6('0x1e')]['get']('DocumentListUtils');function _0x13aa85(_0x41c7e5){return()=>{const _0x187e41=_0x26758f['commands'][_0x14d6('0x24')](_0x41c7e5);if(_0x187e41[_0x14d6('0x3f')]&&!_0x26758f['config'][_0x14d6('0x24')](_0x14d6('0x8')))return void _0x26758f['execute']('paragraph',{});let _0x2e965a=Array['from'](_0x26758f['model'][_0x14d6('0x50')][_0x14d6('0x4')][_0x14d6('0x4b')]());if(_0x2f91fc(_0x41c7e5)){_0x2e965a=_0x496d4c[_0x14d6('0x43')](_0x2e965a);const _0xe84527=[];for(const _0x3edd10 of _0x2e965a)_0x496d4c[_0x14d6('0x19')](_0x3edd10)&&_0xe84527[_0x14d6('0x14')](_0x3edd10);_0x2e965a=_0xe84527;}_0x26758f[_0x14d6('0x34')][_0x14d6('0xd')](()=>{_0x1c7a9d[_0x14d6('0x44')](_0x2e965a,{'commandName':_0x41c7e5,'commandParams':[{'forceValue':!_0x187e41[_0x14d6('0x3f')]}],'formatGroupId':'listType'},[],_0x14d6('0x3c'));});};}function _0x513fcb(_0x4c0c9d){return()=>{const _0x348ac3=function(_0x5a45e8){let _0x41d10a=Array[_0x14d6('0xa')](_0x5a45e8);const _0x43a4be=_0x41d10a[_0x14d6('0x0')](_0x301dc7=>!_0x301dc7['hasAttribute']('listItemId'));return _0x43a4be>-0x1&&(_0x41d10a=_0x41d10a[_0x14d6('0x36')](0x0,_0x43a4be)),_0x41d10a;}(_0x26758f[_0x14d6('0x34')]['document'][_0x14d6('0x4')][_0x14d6('0x4b')]()),_0x57ab84=_0x348ac3[_0x348ac3[_0x14d6('0xc')]-0x1],_0x4a6a80=_0x26758f[_0x14d6('0x34')]['schema'][_0x14d6('0x47')](_0x57ab84)?_0x14d6('0x26'):'end',_0x511250=_0x26758f[_0x14d6('0x34')][_0x14d6('0x4a')](_0x26758f['model'][_0x14d6('0x6')](_0x348ac3[0x0],'before'),_0x26758f['model'][_0x14d6('0x6')](_0x57ab84,_0x4a6a80));_0x26758f[_0x14d6('0x34')][_0x14d6('0xd')](()=>{_0x1c7a9d[_0x14d6('0x35')](_0x511250,{'commandName':_0x4c0c9d,'commandParams':[],'formatGroupId':_0x14d6('0x28')},function(_0x342592){const _0x4432df=new Set();for(const _0x36b750 of _0x342592){let _0x4a0cf8=_0x36b750[_0x14d6('0x1b')];for(;_0x4a0cf8&&_0x4a0cf8['getAttribute'](_0x14d6('0x4f'))>_0x36b750[_0x14d6('0x46')](_0x14d6('0x4f'));)_0x4432df[_0x14d6('0x54')](_0x4a0cf8),_0x4a0cf8=_0x4a0cf8[_0x14d6('0x1b')];}return Array['from'](_0x4432df);}(_0x348ac3));});};}function _0x3f16eb(_0x1b247d){return()=>{const _0x216ee3=_0x26758f[_0x14d6('0x34')][_0x14d6('0x50')][_0x14d6('0x4')][_0x14d6('0x4b')]()[_0x14d6('0x3d')]()[_0x14d6('0x3f')],_0x3f7f53=_0x26758f['model'][_0x14d6('0x6')](_0x216ee3,_0x14d6('0x40')),_0x12abd8=_0x26758f[_0x14d6('0x34')][_0x14d6('0x6')](_0x216ee3,0x0),_0x165c8f=_0x26758f['model'][_0x14d6('0x4a')](_0x3f7f53,_0x12abd8);_0x26758f[_0x14d6('0x34')][_0x14d6('0xd')](()=>{_0x1c7a9d[_0x14d6('0x35')](_0x165c8f,{'commandName':_0x1b247d,'commandParams':[],'formatGroupId':_0x14d6('0x28')});});};}function _0x2f91fc(_0x1eac86){const _0x376444=_0x26758f['commands']['get'](_0x14d6('0x33'))['value'],_0xfb6ab4=_0x26758f['commands']['get'](_0x14d6('0x32'))[_0x14d6('0x3f')];return _0x14d6('0x32')===_0x1eac86?_0x376444:_0xfb6ab4;}_0x1c7a9d['enableCommand'](_0x14d6('0x32'),_0x13aa85(_0x14d6('0x32'))),_0x1c7a9d[_0x14d6('0xe')](_0x14d6('0x33'),_0x13aa85('bulletedList')),_0x1c7a9d[_0x14d6('0xe')](_0x14d6('0x2e'),_0x513fcb(_0x14d6('0x2e'))),_0x1c7a9d[_0x14d6('0xe')](_0x14d6('0x49'),_0x513fcb(_0x14d6('0x49'))),_0x1c7a9d[_0x14d6('0xe')](_0x14d6('0x21'),_0x3f16eb(_0x14d6('0x21'))),_0x1c7a9d[_0x14d6('0xe')](_0x14d6('0x4d'),_0x3f16eb('splitListItemBefore')),_0x1c7a9d[_0x14d6('0x23')][_0x14d6('0x9')](function(_0x56ba86){const _0x10cd2e=!_0x26758f['model']['schema']['isObject'](_0x56ba86),_0x35c275=_0x56ba86[_0x14d6('0x1c')],_0x18c484=_0x56ba86['nextSibling'],_0x3c30d2=_0x56ba86[_0x14d6('0x46')]('listItemId'),_0x35f0b3=!_0x35c275||_0x35c275[_0x14d6('0x46')](_0x14d6('0x22'))!==_0x3c30d2,_0x48b4eb=!_0x18c484||_0x18c484['getAttribute'](_0x14d6('0x22'))!==_0x3c30d2;return _0x10cd2e&&Boolean(_0x3c30d2)&&_0x35f0b3&&_0x48b4eb;},_0x2abb2e=>_0x5e9acf(_0x1449f2,_0x14d6('0x31'),_0x2abb2e)),_0x1c7a9d[_0x14d6('0x23')][_0x14d6('0x2f')](function(_0x3575e0){if(_0x14d6('0x4e')!=_0x3575e0['type']&&_0x14d6('0xb')!=_0x3575e0[_0x14d6('0x39')])return;const {data:_0x423ae0}=_0x3575e0;if(!_0x423ae0)return;let _0x445de2,_0x45190e,_0x5eb232,_0x2d5a38;switch(_0x423ae0[_0x14d6('0x53')]){case'bulletedList':_0x5eb232=_0x423ae0['commandParams'][0x0]['forceValue'],_0x2d5a38=_0x2f91fc(_0x423ae0[_0x14d6('0x53')]),_0x445de2=_0x5eb232?'*Format:*\x20insert\x20into\x20%0':_0x14d6('0x30'),!_0x2d5a38&&_0x26758f[_0x14d6('0x3e')][_0x14d6('0x24')](_0x14d6('0x8'))||(_0x445de2=_0x14d6('0x2')),_0x45190e={'type':_0x14d6('0x29'),'content':_0x5e9acf(_0x1449f2,_0x445de2,_0x5e9acf(_0x1449f2,_0x14d6('0x5')))};break;case _0x14d6('0x32'):_0x5eb232=_0x423ae0[_0x14d6('0x13')][0x0][_0x14d6('0x52')],_0x2d5a38=_0x2f91fc(_0x423ae0['commandName']),_0x445de2=_0x5eb232?'*Format:*\x20insert\x20into\x20%0':_0x14d6('0x30'),!_0x2d5a38&&_0x26758f[_0x14d6('0x3e')][_0x14d6('0x24')]('list.multiBlock')||(_0x445de2=_0x14d6('0x2')),_0x45190e={'type':_0x14d6('0x29'),'content':_0x5e9acf(_0x1449f2,_0x445de2,_0x5e9acf(_0x1449f2,_0x14d6('0x42')))};break;case _0x14d6('0x2e'):_0x445de2=_0x14d6('0x37'),_0x45190e={'type':_0x14d6('0x29'),'content':_0x5e9acf(_0x1449f2,_0x445de2,_0x5e9acf(_0x1449f2,_0x14d6('0x31')))};break;case'outdentList':_0x445de2=function(_0x15148d){const _0x5c28ff=_0x15148d[_0x14d6('0x25')]();let _0x24c232=_0x5c28ff[_0x14d6('0x11')]['nodeAfter'];for(;_0x24c232&&_0x5c28ff[_0x14d6('0x45')](_0x24c232);){if(_0x24c232['getAttribute'](_0x14d6('0x4f'))>0x0)return!0x1;_0x24c232=_0x24c232[_0x14d6('0x1b')];}return!0x0;}(_0x3575e0)?_0x5e9acf(_0x1449f2,'*Format:*\x20remove\x20from\x20%0',_0x5e9acf(_0x1449f2,function(_0x2037cb){const _0x12c7db=_0x2037cb['getFirstRange']()[_0x14d6('0x11')][_0x14d6('0x2d')];return'ELEMENT_'+_0x12c7db[_0x14d6('0x46')](_0x14d6('0x28'))[_0x14d6('0x20')]()+_0x14d6('0x1');}(_0x3575e0))):_0x5e9acf(_0x1449f2,'*Outdent:*\x20%0',_0x5e9acf(_0x1449f2,'ELEMENT_LIST_ITEM')),_0x45190e={'type':_0x14d6('0x29'),'content':_0x445de2};break;case _0x14d6('0xf'):case _0x14d6('0x38'):!0x1===_0x423ae0[_0x14d6('0x7')]&&(_0x445de2=_0x14d6('0x51'),_0x45190e={'type':_0x14d6('0x1a'),'content':_0x5e9acf(_0x1449f2,_0x445de2,_0x5e9acf(_0x1449f2,_0x14d6('0x31')))});}return _0x45190e;}),_0x1c7a9d['_suggestionFactory'][_0x14d6('0x2c')](_0x14d6('0x4e'),_0x14d6('0x3c'),_0x14d6('0x4c'),function(_0x480a06,_0x3aa1dd){const _0x314dd3=[];for(let _0x51c77e of _0x480a06)_0x51c77e[_0x14d6('0x11')]['nodeAfter']===_0x51c77e[_0x14d6('0x2b')][_0x14d6('0x41')]&&(_0x51c77e=_0x26758f[_0x14d6('0x34')][_0x14d6('0x4a')](_0x26758f[_0x14d6('0x34')][_0x14d6('0x6')](_0x51c77e[_0x14d6('0x11')][_0x14d6('0x2d')],0x0))),_0x314dd3[_0x14d6('0x14')](_0x51c77e);_0x26758f[_0x14d6('0x34')][_0x14d6('0xd')](_0x38437a=>{const _0xe9d731=_0x26758f[_0x14d6('0x34')]['document'][_0x14d6('0x4')],_0x24889a=Array[_0x14d6('0xa')](_0xe9d731[_0x14d6('0x12')]())[_0x14d6('0x3b')](_0x27b2f9=>_0x1016b5[_0x14d6('0x48')](_0x27b2f9));_0x38437a[_0x14d6('0x3')](_0x314dd3),_0x26758f[_0x14d6('0x18')]['get'](_0x3aa1dd['commandName'])[_0x14d6('0x2a')](),_0x3aa1dd[_0x14d6('0x13')][_0x14d6('0x14')]({'forceDefaultExecution':!0x0}),_0x26758f[_0x14d6('0x16')](_0x3aa1dd['commandName'],..._0x3aa1dd['commandParams']),_0x38437a['setSelection'](_0x24889a);for(const _0x5ea2c9 of _0x24889a)_0x5ea2c9[_0x14d6('0x1f')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4922=['commandParams','_getTranslationKeyForListStyle','model','*Format:*\x20set\x20order\x20to\x20regular','editor','filter','change','config','getAttribute','*Format:*\x20set\x20start\x20index\x20to\x20%0','plugins','getListTypeFromListStyleType','_getSuggestionBlocks','DocumentListPropertiesEditing','push','isListItemBlock','listStart','toUpperCase','DocumentListPropertiesUtils','formatInline','*Format:*\x20set\x20order\x20to\x20reversed','document','getSelectedBlocks','startIndex','type','selection','listType','length','enableCommand','markMultiRangeBlockFormat','has','TrackChangesEditing','handleListReversedCommand','bind','listStyle','from','styles','get','*Change\x20to:*\x20%0','handleDescriptions','numbered','listReversed','handleListStyleCommand','commandName','DocumentListUtils','format','registerDescriptionCallback','handleListStartCommand','list.properties','expandListBlocksToCompleteList','_getSuggestionBlocksForListStyle','ELEMENT_','afterInit','reversed'];(function(_0xe199f,_0x492286){const _0x1f0041=function(_0x44b0ed){while(--_0x44b0ed){_0xe199f['push'](_0xe199f['shift']());}};_0x1f0041(++_0x492286);}(_0x4922,0x67));const _0x1f00=function(_0xe199f,_0x492286){_0xe199f=_0xe199f-0x0;let _0x1f0041=_0x4922[_0xe199f];return _0x1f0041;};import{Plugin as _0x3b4b4a}from'ckeditor5/src/core';import{getTranslation as _0x5f0bd2}from'../utils/common-translations';export default class z extends _0x3b4b4a{[_0x1f00('0x3')](){if(!this[_0x1f00('0x9')][_0x1f00('0xf')][_0x1f00('0x23')](_0x1f00('0x12')))return;const _0x5aae82=this[_0x1f00('0x9')][_0x1f00('0xc')]['get'](_0x1f00('0x35')),_0x4e216c=this[_0x1f00('0x9')]['plugins'][_0x1f00('0x2a')]('TrackChangesEditing');_0x5aae82[_0x1f00('0x29')]&&_0x4e216c[_0x1f00('0x21')]('listStyle',this[_0x1f00('0x2f')][_0x1f00('0x26')](this)),_0x5aae82[_0x1f00('0x4')]&&_0x4e216c['enableCommand'](_0x1f00('0x2e'),this[_0x1f00('0x25')][_0x1f00('0x26')](this)),_0x5aae82[_0x1f00('0x1c')]&&_0x4e216c[_0x1f00('0x21')](_0x1f00('0x15'),this[_0x1f00('0x34')][_0x1f00('0x26')](this)),_0x4e216c['_descriptionFactory'][_0x1f00('0x33')](this['handleDescriptions'][_0x1f00('0x26')](this));}[_0x1f00('0x2f')](_0xc1d8ed,_0x506401={}){const _0x1673e1=this[_0x1f00('0x9')][_0x1f00('0xf')][_0x1f00('0x2a')](_0x1f00('0x24')),_0x1f0962=this[_0x1f00('0x1')]();this[_0x1f00('0x9')][_0x1f00('0x7')]['change'](()=>{_0x1673e1['markMultiRangeBlockFormat'](_0x1f0962,{'commandName':_0x1f00('0x27'),'commandParams':[{'type':_0x506401[_0x1f00('0x1d')]}],'formatGroupId':_0x1f00('0x27')});});}['handleListReversedCommand'](_0x5ce774,_0x156477={}){const _0x4d6044=this[_0x1f00('0x9')]['plugins'][_0x1f00('0x2a')](_0x1f00('0x24')),_0x2d34b0=this[_0x1f00('0x9')][_0x1f00('0xf')][_0x1f00('0x2a')](_0x1f00('0x31')),_0x276c98=this[_0x1f00('0x11')](_0x52298e=>_0x2d34b0[_0x1f00('0x14')](_0x52298e)&&_0x1f00('0x2d')===_0x52298e['getAttribute']('listType'));null!==_0x276c98&&this[_0x1f00('0x9')][_0x1f00('0x7')][_0x1f00('0xb')](()=>{_0x4d6044[_0x1f00('0x22')](_0x276c98,{'commandName':_0x1f00('0x2e'),'commandParams':[{'reversed':_0x156477[_0x1f00('0x4')]}],'formatGroupId':_0x1f00('0x2e')});});}[_0x1f00('0x34')](_0x3ac1bc,_0x176505={}){const _0x37a635=this['editor'][_0x1f00('0xf')][_0x1f00('0x2a')](_0x1f00('0x24')),_0x2f988b=this['editor'][_0x1f00('0xf')][_0x1f00('0x2a')](_0x1f00('0x31')),_0xafd165=this[_0x1f00('0x11')](_0x27e5e7=>_0x2f988b[_0x1f00('0x14')](_0x27e5e7)&&_0x1f00('0x2d')===_0x27e5e7[_0x1f00('0xd')](_0x1f00('0x1f')));null!==_0xafd165&&this[_0x1f00('0x9')][_0x1f00('0x7')]['change'](()=>{_0x37a635['markMultiRangeBlockFormat'](_0xafd165,{'commandName':_0x1f00('0x15'),'commandParams':[{'startIndex':_0x176505[_0x1f00('0x1c')]}],'formatGroupId':_0x1f00('0x15')});});}[_0x1f00('0x2c')](_0x21203b){if('formatBlock'!=_0x21203b[_0x1f00('0x1d')]&&_0x1f00('0x18')!=_0x21203b[_0x1f00('0x1d')])return;const _0x52bc2b=this[_0x1f00('0x9')]['locale'],{data:_0x1dabdd}=_0x21203b;if(!_0x1dabdd)return;let _0x50739d,_0x572bac;switch(_0x1dabdd[_0x1f00('0x30')]){case'listStyle':_0x50739d=_0x1f00('0x2b'),_0x572bac={'type':_0x1f00('0x32'),'content':_0x5f0bd2(_0x52bc2b,_0x50739d,_0x5f0bd2(_0x52bc2b,this[_0x1f00('0x6')](_0x1dabdd[_0x1f00('0x5')][0x0][_0x1f00('0x1d')])))};break;case'listReversed':_0x50739d=_0x1dabdd[_0x1f00('0x5')][0x0][_0x1f00('0x4')]?_0x1f00('0x19'):_0x1f00('0x8'),_0x572bac={'type':_0x1f00('0x32'),'content':_0x5f0bd2(_0x52bc2b,_0x50739d)};break;case _0x1f00('0x15'):_0x50739d=_0x1f00('0xe'),_0x572bac={'type':_0x1f00('0x32'),'content':_0x5f0bd2(_0x52bc2b,_0x50739d,_0x1dabdd[_0x1f00('0x5')][0x0][_0x1f00('0x1c')])};}return _0x572bac;}['_getSuggestionBlocksForListStyle'](){const _0x4a8718=this[_0x1f00('0x9')]['plugins'][_0x1f00('0x2a')](_0x1f00('0x31'));let _0x50d483=Array[_0x1f00('0x28')](this[_0x1f00('0x9')][_0x1f00('0x7')][_0x1f00('0x1a')][_0x1f00('0x1e')][_0x1f00('0x1b')]());return _0x50d483[_0x1f00('0x13')](..._0x4a8718[_0x1f00('0x0')](_0x50d483)),_0x50d483=[...new Set(_0x50d483)],_0x50d483;}[_0x1f00('0x11')](_0x4a3457){const _0x17386f=this['editor'][_0x1f00('0xf')][_0x1f00('0x2a')](_0x1f00('0x31'));let _0x16d51f=Array[_0x1f00('0x28')](this[_0x1f00('0x9')][_0x1f00('0x7')][_0x1f00('0x1a')][_0x1f00('0x1e')][_0x1f00('0x1b')]())[_0x1f00('0xa')](_0x4a3457);if(!_0x16d51f[_0x1f00('0x20')])return null;_0x16d51f=_0x17386f[_0x1f00('0x0')](_0x16d51f);const _0x39c6f8=[];for(const _0x1cc8ce of _0x16d51f)_0x17386f['isFirstBlockOfListItem'](_0x1cc8ce)&&_0x39c6f8[_0x1f00('0x13')](_0x1cc8ce);return _0x39c6f8;}[_0x1f00('0x6')](_0x2b8c02){return _0x1f00('0x2')+this['editor']['plugins']['get'](_0x1f00('0x17'))[_0x1f00('0x10')](_0x2b8c02)[_0x1f00('0x16')]()+'_LIST_'+_0x2b8c02['toUpperCase']()['replace'](/-/g,'_');}}
23
+ const _0x1683=['numbered','DocumentListUtils','selection','_getSuggestionBlocksForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','change','get','list.properties','startIndex','enableCommand','_getSuggestionBlocks','commandParams','length','commandName','document','listStart','handleListReversedCommand','push','bind','filter','getSelectedBlocks','*Format:*\x20set\x20order\x20to\x20reversed','plugins','DocumentListPropertiesEditing','afterInit','format','ELEMENT_','listReversed','type','registerDescriptionCallback','handleListStyleCommand','TrackChangesEditing','_descriptionFactory','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20regular','formatInline','handleDescriptions','_LIST_','isFirstBlockOfListItem','styles','reversed','toUpperCase','has','model','isListItemBlock','listType','expandListBlocksToCompleteList','listStyle','handleListStartCommand','editor','formatBlock'];(function(_0x2c2c98,_0x1683b0){const _0xa88347=function(_0x4bc51b){while(--_0x4bc51b){_0x2c2c98['push'](_0x2c2c98['shift']());}};_0xa88347(++_0x1683b0);}(_0x1683,0x11d));const _0xa883=function(_0x2c2c98,_0x1683b0){_0x2c2c98=_0x2c2c98-0x0;let _0xa88347=_0x1683[_0x2c2c98];return _0xa88347;};import{Plugin as _0xa2f907}from'ckeditor5/src/core';import{getTranslation as _0x55238d}from'../utils/common-translations';export default class z extends _0xa2f907{[_0xa883('0x2d')](){if(!this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0xc')](_0xa883('0x2c')))return;const _0x106085=this['editor']['config'][_0xa883('0x1b')](_0xa883('0x1c')),_0x509791=this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0x1b')]('TrackChangesEditing');_0x106085[_0xa883('0x9')]&&_0x509791[_0xa883('0x1e')](_0xa883('0x11'),this[_0xa883('0x0')][_0xa883('0x27')](this)),_0x106085[_0xa883('0xa')]&&_0x509791[_0xa883('0x1e')](_0xa883('0x30'),this[_0xa883('0x25')][_0xa883('0x27')](this)),_0x106085[_0xa883('0x1d')]&&_0x509791[_0xa883('0x1e')]('listStart',this['handleListStartCommand']['bind'](this)),_0x509791[_0xa883('0x2')][_0xa883('0x32')](this[_0xa883('0x6')][_0xa883('0x27')](this));}['handleListStyleCommand'](_0x5ab769,_0x34a665={}){const _0x55dc7a=this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0x1b')](_0xa883('0x1')),_0x54fd7c=this[_0xa883('0x18')]();this['editor']['model'][_0xa883('0x1a')](()=>{_0x55dc7a['markMultiRangeBlockFormat'](_0x54fd7c,{'commandName':'listStyle','commandParams':[{'type':_0x34a665['type']}],'formatGroupId':_0xa883('0x11')});});}[_0xa883('0x25')](_0x57a394,_0x33495a={}){const _0x26fdfb=this['editor']['plugins'][_0xa883('0x1b')](_0xa883('0x1')),_0x7114a1=this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0x1b')](_0xa883('0x16')),_0x4c7812=this[_0xa883('0x1f')](_0x24ff20=>_0x7114a1[_0xa883('0xe')](_0x24ff20)&&_0xa883('0x15')===_0x24ff20['getAttribute'](_0xa883('0xf')));null!==_0x4c7812&&this['editor'][_0xa883('0xd')]['change'](()=>{_0x26fdfb[_0xa883('0x3')](_0x4c7812,{'commandName':'listReversed','commandParams':[{'reversed':_0x33495a[_0xa883('0xa')]}],'formatGroupId':_0xa883('0x30')});});}[_0xa883('0x12')](_0x468de1,_0xd3ad01={}){const _0x528eea=this['editor'][_0xa883('0x2b')]['get'](_0xa883('0x1')),_0x5d5adf=this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0x1b')]('DocumentListUtils'),_0x469228=this[_0xa883('0x1f')](_0x3cbb3e=>_0x5d5adf[_0xa883('0xe')](_0x3cbb3e)&&_0xa883('0x15')===_0x3cbb3e['getAttribute'](_0xa883('0xf')));null!==_0x469228&&this['editor'][_0xa883('0xd')][_0xa883('0x1a')](()=>{_0x528eea['markMultiRangeBlockFormat'](_0x469228,{'commandName':_0xa883('0x24'),'commandParams':[{'startIndex':_0xd3ad01[_0xa883('0x1d')]}],'formatGroupId':_0xa883('0x24')});});}[_0xa883('0x6')](_0x354cb9){if(_0xa883('0x14')!=_0x354cb9[_0xa883('0x31')]&&_0xa883('0x5')!=_0x354cb9[_0xa883('0x31')])return;const _0x595113=this[_0xa883('0x13')]['locale'],{data:_0x4e18b6}=_0x354cb9;if(!_0x4e18b6)return;let _0x4fcbff,_0x37ee8c;switch(_0x4e18b6[_0xa883('0x22')]){case _0xa883('0x11'):_0x4fcbff='*Change\x20to:*\x20%0',_0x37ee8c={'type':'format','content':_0x55238d(_0x595113,_0x4fcbff,_0x55238d(_0x595113,this['_getTranslationKeyForListStyle'](_0x4e18b6[_0xa883('0x20')][0x0][_0xa883('0x31')])))};break;case _0xa883('0x30'):_0x4fcbff=_0x4e18b6['commandParams'][0x0][_0xa883('0xa')]?_0xa883('0x2a'):_0xa883('0x4'),_0x37ee8c={'type':_0xa883('0x2e'),'content':_0x55238d(_0x595113,_0x4fcbff)};break;case _0xa883('0x24'):_0x4fcbff=_0xa883('0x19'),_0x37ee8c={'type':_0xa883('0x2e'),'content':_0x55238d(_0x595113,_0x4fcbff,_0x4e18b6[_0xa883('0x20')][0x0]['startIndex'])};}return _0x37ee8c;}[_0xa883('0x18')](){const _0xfc5486=this['editor'][_0xa883('0x2b')]['get'](_0xa883('0x16'));let _0x3b34ab=Array['from'](this[_0xa883('0x13')][_0xa883('0xd')]['document']['selection'][_0xa883('0x29')]());return _0x3b34ab[_0xa883('0x26')](..._0xfc5486[_0xa883('0x10')](_0x3b34ab)),_0x3b34ab=[...new Set(_0x3b34ab)],_0x3b34ab;}['_getSuggestionBlocks'](_0xc9ed74){const _0x3c393e=this[_0xa883('0x13')][_0xa883('0x2b')][_0xa883('0x1b')](_0xa883('0x16'));let _0x3565dd=Array['from'](this[_0xa883('0x13')][_0xa883('0xd')][_0xa883('0x23')][_0xa883('0x17')]['getSelectedBlocks']())[_0xa883('0x28')](_0xc9ed74);if(!_0x3565dd[_0xa883('0x21')])return null;_0x3565dd=_0x3c393e[_0xa883('0x10')](_0x3565dd);const _0x19de7b=[];for(const _0x30b221 of _0x3565dd)_0x3c393e[_0xa883('0x8')](_0x30b221)&&_0x19de7b[_0xa883('0x26')](_0x30b221);return _0x19de7b;}['_getTranslationKeyForListStyle'](_0x5a4957){return _0xa883('0x2f')+this['editor']['plugins']['get']('DocumentListPropertiesUtils')['getListTypeFromListStyleType'](_0x5a4957)['toUpperCase']()+_0xa883('0x7')+_0x5a4957[_0xa883('0xb')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11f7=['hasClass','setSelection','downcastDispatcher','plugins','fromRange','enterBlock','editor','markerName','end','TrackChangesEditing','enter','options','createPositionAt','enableCommand','mapper','afterExecute','unbindElementFromMarkerName','getFirstRange','get','markerNameToElements','fire','nextSibling','change','markInsertion','createRange','document','detach','split','writer','bind','ck-suggestion-marker-split','addMarker:suggestion:insertion','removeMarker:suggestion:insertion','requires','high','model','data','commands','getFirstPosition','init','editing'];(function(_0x57eb09,_0x11f7ca){const _0x3c32f8=function(_0x54703c){while(--_0x54703c){_0x57eb09['push'](_0x57eb09['shift']());}};_0x3c32f8(++_0x11f7ca);}(_0x11f7,0x1d5));const _0x3c32=function(_0x57eb09,_0x11f7ca){_0x57eb09=_0x57eb09-0x0;let _0x3c32f8=_0x11f7[_0x57eb09];return _0x3c32f8;};import{Plugin as _0x18d14c}from'ckeditor5/src/core';import{Enter as _0x480ce5}from'ckeditor5/src/enter';import{LiveRange as _0x33b4dd}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4d96af}from'./utils';export default class K extends _0x18d14c{static get[_0x3c32('0xf')](){return[_0x480ce5];}[_0x3c32('0x15')](){const _0x387900=this[_0x3c32('0x1d')],_0x2d6f58=_0x387900[_0x3c32('0x1a')]['get'](_0x3c32('0x20')),_0x3b6977=_0x387900[_0x3c32('0x13')][_0x3c32('0x0')](_0x3c32('0x21'));_0x2d6f58[_0x3c32('0x24')](_0x3c32('0x21'),()=>{_0x387900['model'][_0x3c32('0x4')](_0x4f592b=>{const _0x3ab6b2=_0x387900[_0x3c32('0x11')][_0x3c32('0x7')]['selection'],_0x3a7027=_0x3ab6b2[_0x3c32('0x14')](),_0x521c2c=_0x33b4dd[_0x3c32('0x1b')](_0x3ab6b2[_0x3c32('0x28')]());if(_0x3b6977[_0x3c32('0x1c')](_0x4f592b)){const _0x3c8ce1=_0x387900[_0x3c32('0x11')][_0x3c32('0x23')](_0x3a7027['parent'][_0x3c32('0x3')],0x0),_0x5cea88=_0x4f592b[_0x3c32('0x6')](_0x3a7027,_0x3c8ce1);_0x2d6f58[_0x3c32('0x5')](_0x5cea88);}else _0x4f592b[_0x3c32('0x18')](_0x4f592b[_0x3c32('0x6')](_0x521c2c[_0x3c32('0x1f')]));_0x521c2c[_0x3c32('0x8')](),_0x3b6977[_0x3c32('0x2')](_0x3c32('0x26'),{'writer':_0x4f592b});});}),_0x387900[_0x3c32('0x16')][_0x3c32('0x19')]['on']('addMarker:suggestion:insertion',_0x4d96af(_0x387900,_0x3c32('0x9')),{'priority':'high'}),_0x387900['editing'][_0x3c32('0x19')]['on'](_0x3c32('0xe'),(_0x3dd21a,_0x5c5348,_0x8e0478)=>{const _0x193ab3=_0x8e0478[_0x3c32('0x25')][_0x3c32('0x1')](_0x5c5348[_0x3c32('0x1e')]);if(_0x193ab3)for(const _0x2e7fc0 of _0x193ab3)_0x2e7fc0[_0x3c32('0x17')](_0x3c32('0xc'))&&(_0x8e0478[_0x3c32('0x25')][_0x3c32('0x27')](_0x2e7fc0,_0x5c5348[_0x3c32('0x1e')]),_0x8e0478[_0x3c32('0xa')]['remove'](_0x2e7fc0));},{'priority':_0x3c32('0x10')}),_0x387900[_0x3c32('0x12')][_0x3c32('0x19')]['on'](_0x3c32('0xd'),(_0x28fa4a,_0x13281c,_0x321b20)=>{_0x321b20[_0x3c32('0x22')]['showSuggestionHighlights']&&_0x4d96af(_0x387900,_0x3c32('0x9'),{'showActiveMarker':!0x1})[_0x3c32('0xb')](this)(_0x28fa4a,_0x13281c,_0x321b20);},{'priority':_0x3c32('0x10')});}}
23
+ const _0x4076=['getFirstPosition','end','addMarker:suggestion:insertion','createPositionAt','downcastDispatcher','getFirstRange','markerName','createRange','removeMarker:suggestion:insertion','hasClass','get','split','fromRange','change','data','enterBlock','fire','plugins','unbindElementFromMarkerName','editing','TrackChangesEditing','requires','options','enter','ck-suggestion-marker-split','commands','writer','high','setSelection','mapper','selection','detach','model','document','editor'];(function(_0x107a3f,_0x4076ed){const _0x557c40=function(_0x495a24){while(--_0x495a24){_0x107a3f['push'](_0x107a3f['shift']());}};_0x557c40(++_0x4076ed);}(_0x4076,0xa9));const _0x557c=function(_0x107a3f,_0x4076ed){_0x107a3f=_0x107a3f-0x0;let _0x557c40=_0x4076[_0x107a3f];return _0x557c40;};import{Plugin as _0x13a364}from'ckeditor5/src/core';import{Enter as _0x1cf9be}from'ckeditor5/src/enter';import{LiveRange as _0x49fa39}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x41aab9}from'./utils';export default class K extends _0x13a364{static get[_0x557c('0x1b')](){return[_0x1cf9be];}['init'](){const _0x3bdfc7=this[_0x557c('0x5')],_0x471383=_0x3bdfc7[_0x557c('0x17')][_0x557c('0x10')](_0x557c('0x1a')),_0x1ac594=_0x3bdfc7[_0x557c('0x1f')][_0x557c('0x10')]('enter');_0x471383['enableCommand'](_0x557c('0x1d'),()=>{_0x3bdfc7[_0x557c('0x3')][_0x557c('0x13')](_0x545da3=>{const _0x12bb1b=_0x3bdfc7['model'][_0x557c('0x4')][_0x557c('0x1')],_0x3a607f=_0x12bb1b[_0x557c('0x6')](),_0x111f14=_0x49fa39[_0x557c('0x12')](_0x12bb1b[_0x557c('0xb')]());if(_0x1ac594[_0x557c('0x15')](_0x545da3)){const _0x11bd13=_0x3bdfc7['model'][_0x557c('0x9')](_0x3a607f['parent']['nextSibling'],0x0),_0x2cfb1d=_0x545da3[_0x557c('0xd')](_0x3a607f,_0x11bd13);_0x471383['markInsertion'](_0x2cfb1d);}else _0x545da3[_0x557c('0x22')](_0x545da3[_0x557c('0xd')](_0x111f14[_0x557c('0x7')]));_0x111f14[_0x557c('0x2')](),_0x1ac594[_0x557c('0x16')]('afterExecute',{'writer':_0x545da3});});}),_0x3bdfc7[_0x557c('0x19')][_0x557c('0xa')]['on'](_0x557c('0x8'),_0x41aab9(_0x3bdfc7,_0x557c('0x11')),{'priority':_0x557c('0x21')}),_0x3bdfc7['editing'][_0x557c('0xa')]['on'](_0x557c('0xe'),(_0x54cb7e,_0x1c5bfd,_0x3d7165)=>{const _0x4cb56b=_0x3d7165[_0x557c('0x0')]['markerNameToElements'](_0x1c5bfd['markerName']);if(_0x4cb56b)for(const _0x28c0aa of _0x4cb56b)_0x28c0aa[_0x557c('0xf')](_0x557c('0x1e'))&&(_0x3d7165[_0x557c('0x0')][_0x557c('0x18')](_0x28c0aa,_0x1c5bfd[_0x557c('0xc')]),_0x3d7165[_0x557c('0x20')]['remove'](_0x28c0aa));},{'priority':_0x557c('0x21')}),_0x3bdfc7[_0x557c('0x14')][_0x557c('0xa')]['on'](_0x557c('0x8'),(_0x15b234,_0x518e16,_0x16cdf8)=>{_0x16cdf8[_0x557c('0x1c')]['showSuggestionHighlights']&&_0x41aab9(_0x3bdfc7,_0x557c('0x11'),{'showActiveMarker':!0x1})['bind'](this)(_0x15b234,_0x518e16,_0x16cdf8);},{'priority':_0x557c('0x21')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3012=['find','FindAndReplaceUtils','string','getIntersection','afterInit','markers','get','has','item','_isInDeletionRange','model','plugins','end','getMarkersGroup','TrackChangesEditing','filter','bind','findByTextCallback','handleFindCommand','editor','enableCommand','replaceAll'];(function(_0x489a01,_0x3012b2){const _0x40e467=function(_0x41229a){while(--_0x41229a){_0x489a01['push'](_0x489a01['shift']());}};_0x40e467(++_0x3012b2);}(_0x3012,0x195));const _0x40e4=function(_0x489a01,_0x3012b2){_0x489a01=_0x489a01-0x0;let _0x40e467=_0x3012[_0x489a01];return _0x40e467;};import{Plugin as _0x4a4e0e}from'ckeditor5/src/core';export default class W extends _0x4a4e0e{[_0x40e4('0x11')](){if(!this['editor'][_0x40e4('0x2')][_0x40e4('0x14')]('FindAndReplaceEditing'))return;const _0x2fa1dc=this[_0x40e4('0xa')][_0x40e4('0x2')][_0x40e4('0x13')](_0x40e4('0x5'));_0x2fa1dc[_0x40e4('0xb')](_0x40e4('0xd'),this['handleFindCommand'][_0x40e4('0x7')](this)),_0x2fa1dc[_0x40e4('0xb')]('findNext'),_0x2fa1dc[_0x40e4('0xb')]('findPrevious'),_0x2fa1dc[_0x40e4('0xb')]('replace'),_0x2fa1dc['enableCommand'](_0x40e4('0xc'));}[_0x40e4('0x9')](_0x5241a5,_0xa2d62a,_0x1eb341={}){const _0x34f8a9=this[_0x40e4('0xa')]['plugins']['get'](_0x40e4('0xe'));if(void 0x0!==_0x1eb341)return _0x5241a5(_0x59006e=>(_0x40e4('0xf')==typeof _0xa2d62a?_0x34f8a9[_0x40e4('0x8')](_0xa2d62a,_0x1eb341):_0xa2d62a)(_0x59006e)[_0x40e4('0x6')](_0x24eab5=>!0x1===this[_0x40e4('0x0')](_0x24eab5,_0x59006e[_0x40e4('0x15')])),_0x1eb341);}[_0x40e4('0x0')](_0x4d5fef,_0x3b90b4){const _0x94cbef=this[_0x40e4('0xa')][_0x40e4('0x1')]['createRange'](this['editor'][_0x40e4('0x1')]['createPositionAt'](_0x3b90b4,_0x4d5fef['start']),this[_0x40e4('0xa')]['model']['createPositionAt'](_0x3b90b4,_0x4d5fef[_0x40e4('0x3')]));for(const _0x2715a5 of this[_0x40e4('0xa')]['model'][_0x40e4('0x12')][_0x40e4('0x4')]('suggestion:deletion'))if(null!==_0x94cbef[_0x40e4('0x10')](_0x2715a5['getRange']()))return!0x0;return!0x1;}}
23
+ const _0xac69=['has','string','getIntersection','plugins','enableCommand','TrackChangesEditing','start','markers','editor','model','find','FindAndReplaceUtils','filter','_isInDeletionRange','getMarkersGroup','afterInit','createPositionAt','findByTextCallback','suggestion:deletion','get','handleFindCommand','findNext'];(function(_0x26111d,_0xac699d){const _0x30c029=function(_0x11423f){while(--_0x11423f){_0x26111d['push'](_0x26111d['shift']());}};_0x30c029(++_0xac699d);}(_0xac69,0x104));const _0x30c0=function(_0x26111d,_0xac699d){_0x26111d=_0x26111d-0x0;let _0x30c029=_0xac69[_0x26111d];return _0x30c029;};import{Plugin as _0x504331}from'ckeditor5/src/core';export default class W extends _0x504331{[_0x30c0('0x13')](){if(!this['editor'][_0x30c0('0x7')][_0x30c0('0x4')]('FindAndReplaceEditing'))return;const _0x4b681f=this['editor']['plugins']['get'](_0x30c0('0x9'));_0x4b681f[_0x30c0('0x8')](_0x30c0('0xe'),this[_0x30c0('0x2')]['bind'](this)),_0x4b681f['enableCommand'](_0x30c0('0x3')),_0x4b681f['enableCommand']('findPrevious'),_0x4b681f[_0x30c0('0x8')]('replace'),_0x4b681f[_0x30c0('0x8')]('replaceAll');}['handleFindCommand'](_0x1748c0,_0x509691,_0x415887={}){const _0x32e301=this[_0x30c0('0xc')][_0x30c0('0x7')][_0x30c0('0x1')](_0x30c0('0xf'));if(void 0x0!==_0x415887)return _0x1748c0(_0x31f907=>(_0x30c0('0x5')==typeof _0x509691?_0x32e301[_0x30c0('0x15')](_0x509691,_0x415887):_0x509691)(_0x31f907)[_0x30c0('0x10')](_0x3d076b=>!0x1===this['_isInDeletionRange'](_0x3d076b,_0x31f907['item'])),_0x415887);}[_0x30c0('0x11')](_0x5d2bd2,_0x147ca6){const _0x426fc1=this[_0x30c0('0xc')][_0x30c0('0xd')]['createRange'](this[_0x30c0('0xc')]['model'][_0x30c0('0x14')](_0x147ca6,_0x5d2bd2[_0x30c0('0xa')]),this['editor'][_0x30c0('0xd')]['createPositionAt'](_0x147ca6,_0x5d2bd2['end']));for(const _0x15b2a6 of this[_0x30c0('0xc')][_0x30c0('0xd')][_0x30c0('0xb')][_0x30c0('0x12')](_0x30c0('0x0')))if(null!==_0x426fc1[_0x30c0('0x6')](_0x15b2a6['getRange']()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b1=['commandName','label','get','TrackChangesEditing','FORMAT_FONT_COLOR','value','config','trim','_registerLegacyDescription','fontColor','title','editor','plugins','model','registerAttributeLabel','registerDescriptionCallback','_descriptionFactory','toLowerCase','FORMAT_FONT_FAMILY','fontFamily','*Set\x20font\x20size:*\x20%0','format','find','FontColorEditing','FontBackgroundColorEditing','*Reset\x20font\x20size*','normalizeSizeOptions','*Set\x20font\x20color:*\x20%0','fontBackgroundColor.colors','fontBackgroundColor','type','FontSize','FORMAT_FONT_SIZE','locale','fontSize.options','*Reset\x20font\x20color*','has','commandParams','*Set\x20font\x20family:*\x20%0','fontSize'];(function(_0x479749,_0x56b1f2){const _0x2e4079=function(_0x60398c){while(--_0x60398c){_0x479749['push'](_0x479749['shift']());}};_0x2e4079(++_0x56b1f2);}(_0x56b1,0x191));const _0x2e40=function(_0x479749,_0x56b1f2){_0x479749=_0x479749-0x0;let _0x2e4079=_0x56b1[_0x479749];return _0x2e4079;};import{Plugin as _0x16acf5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x27d14c}from'ckeditor5/src/ui';import{getTranslation as _0x1d9ed0}from'../utils/common-translations';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x2e40('0x26')},{'pluginName':'FontFamilyEditing','commandName':_0x2e40('0x12')},{'pluginName':_0x2e40('0x16'),'commandName':_0x2e40('0x8')},{'pluginName':_0x2e40('0x17'),'commandName':'fontBackgroundColor'}];export default class J extends _0x16acf5{['afterInit'](){const _0x2fdbc9=this[_0x2e40('0xa')][_0x2e40('0x20')],_0x4225ec=this[_0x2e40('0xa')]['plugins'][_0x2e40('0x1')](_0x2e40('0x2'));for(const {pluginName:_0xa799e9,commandName:_0x314654}of ro)this['editor'][_0x2e40('0xb')][_0x2e40('0x23')](_0xa799e9)&&_0x4225ec['enableDefaultIntegration'](_0x314654,[_0x314654]);_0x2fdbc9['t'],(_0x4225ec[_0x2e40('0xf')][_0x2e40('0xd')]('fontSize',_0x1d9ed0(_0x2fdbc9,_0x2e40('0x1f'))),_0x4225ec['_descriptionFactory'][_0x2e40('0xd')]('fontFamily',_0x1d9ed0(_0x2fdbc9,_0x2e40('0x11'))),_0x4225ec[_0x2e40('0xf')]['registerAttributeLabel'](_0x2e40('0x8'),_0x1d9ed0(_0x2fdbc9,_0x2e40('0x3'))),_0x4225ec[_0x2e40('0xf')][_0x2e40('0xd')](_0x2e40('0x1c'),_0x1d9ed0(_0x2fdbc9,'FORMAT_FONT_BACKGROUND')),this[_0x2e40('0x7')]());}[_0x2e40('0x7')](){const _0x169a78=this[_0x2e40('0xa')],_0x5bd2f6=_0x169a78[_0x2e40('0x20')];_0x169a78['plugins'][_0x2e40('0x1')](_0x2e40('0x2'))[_0x2e40('0xf')][_0x2e40('0xe')](_0x2d7a1a=>{const _0xbd014d=_0x5bd2f6['t'];if('formatInline'!=_0x2d7a1a[_0x2e40('0x1d')])return;const {data:_0x3acbd1}=_0x2d7a1a;if(null!=_0x3acbd1){if('fontSize'==_0x3acbd1[_0x2e40('0x27')]){const _0x4d4cd8=_0x3acbd1[_0x2e40('0x24')][0x0][_0x2e40('0x4')];if(_0x4d4cd8){const _0x33c504=_0xbd014d(this[_0x2e40('0xa')]['plugins'][_0x2e40('0x1')](_0x2e40('0x1e'))[_0x2e40('0x19')](this[_0x2e40('0xa')][_0x2e40('0x5')][_0x2e40('0x1')](_0x2e40('0x21')))[_0x2e40('0x15')](_0x3b8482=>_0x3b8482['model']==_0x4d4cd8)[_0x2e40('0x9')])[_0x2e40('0x10')]();return{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,_0x2e40('0x13'),_0x33c504)};}return{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,_0x2e40('0x18'))};}if(_0x2e40('0x12')==_0x3acbd1[_0x2e40('0x27')]){const _0x1f3d73=_0x3acbd1[_0x2e40('0x24')][0x0][_0x2e40('0x4')];return _0x1f3d73?{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,_0x2e40('0x25'),_0x1f3d73)}:{'type':'format','content':_0x1d9ed0(_0x5bd2f6,'*Reset\x20font\x20family*')};}if(_0x2e40('0x8')==_0x3acbd1['commandName']){const _0x2653fa=_0x3acbd1[_0x2e40('0x24')][0x0][_0x2e40('0x4')];if(_0x2653fa){const _0x47d17e=_0x27d14c(this[_0x2e40('0xa')][_0x2e40('0x5')][_0x2e40('0x1')]('fontColor.colors'))[_0x2e40('0x15')](_0x581232=>_0x581232[_0x2e40('0xc')]==_0x2653fa);let _0x24c3fb=_0x2653fa,_0x2783ad='';return _0x47d17e&&(_0x24c3fb=_0x47d17e[_0x2e40('0x0')],_0x2783ad=_0xbd014d(_0x24c3fb)[_0x2e40('0x10')]()),{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,_0x2e40('0x1a'),_0x2783ad)['trim'](),'color':{'value':_0x2653fa,'title':_0x2783ad||_0x24c3fb}};}return{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,_0x2e40('0x22'))};}if(_0x2e40('0x1c')==_0x3acbd1['commandName']){const _0x52ec18=_0x3acbd1[_0x2e40('0x24')][0x0][_0x2e40('0x4')];if(_0x52ec18){const _0x4295c8=_0x27d14c(this['editor'][_0x2e40('0x5')][_0x2e40('0x1')](_0x2e40('0x1b')))['find'](_0x6a9df4=>_0x6a9df4[_0x2e40('0xc')]==_0x52ec18);let _0x3b0151=_0x52ec18,_0x15b3fd='';return _0x4295c8&&(_0x3b0151=_0x4295c8[_0x2e40('0x0')],_0x15b3fd=_0xbd014d(_0x3b0151)[_0x2e40('0x10')]()),{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,'*Set\x20font\x20background\x20color:*\x20%0',_0x15b3fd)[_0x2e40('0x6')](),'color':{'value':_0x52ec18,'title':_0x15b3fd||_0x3b0151}};}return{'type':_0x2e40('0x14'),'content':_0x1d9ed0(_0x5bd2f6,'*Reset\x20font\x20background\x20color*')};}}});}}
23
+ const _0x44a7=['*Set\x20font\x20color:*\x20%0','FORMAT_FONT_COLOR','registerDescriptionCallback','*Reset\x20font\x20size*','has','*Set\x20font\x20background\x20color:*\x20%0','trim','fontColor','fontFamily','*Reset\x20font\x20family*','type','TrackChangesEditing','FORMAT_FONT_FAMILY','FontColorEditing','model','find','value','editor','fontBackgroundColor.colors','fontBackgroundColor','registerAttributeLabel','_registerLegacyDescription','FontFamilyEditing','commandName','formatInline','locale','config','FORMAT_FONT_SIZE','fontSize.options','toLowerCase','get','*Reset\x20font\x20background\x20color*','*Reset\x20font\x20color*','*Set\x20font\x20size:*\x20%0','plugins','FORMAT_FONT_BACKGROUND','commandParams','_descriptionFactory','format','normalizeSizeOptions','label','title','FontSize','fontSize'];(function(_0x39acb4,_0x44a7c5){const _0x47da1e=function(_0x24a95d){while(--_0x24a95d){_0x39acb4['push'](_0x39acb4['shift']());}};_0x47da1e(++_0x44a7c5);}(_0x44a7,0x156));const _0x47da=function(_0x39acb4,_0x44a7c5){_0x39acb4=_0x39acb4-0x0;let _0x47da1e=_0x44a7[_0x39acb4];return _0x47da1e;};import{Plugin as _0x1011a2}from'ckeditor5/src/core';import{normalizeColorOptions as _0x146979}from'ckeditor5/src/ui';import{getTranslation as _0x281b27}from'../utils/common-translations';const ro=[{'pluginName':'FontSizeEditing','commandName':_0x47da('0x9')},{'pluginName':_0x47da('0x20'),'commandName':'fontFamily'},{'pluginName':_0x47da('0x17'),'commandName':_0x47da('0x11')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x47da('0x1d')}];export default class J extends _0x1011a2{['afterInit'](){const _0x56d8d0=this[_0x47da('0x1b')]['locale'],_0x1ded0f=this['editor'][_0x47da('0x0')][_0x47da('0x28')](_0x47da('0x15'));for(const {pluginName:_0x4479cd,commandName:_0x27e660}of ro)this[_0x47da('0x1b')][_0x47da('0x0')][_0x47da('0xe')](_0x4479cd)&&_0x1ded0f['_enableDefaultAttributesIntegration'](_0x27e660,[_0x27e660]);_0x56d8d0['t'],(_0x1ded0f[_0x47da('0x3')]['registerAttributeLabel'](_0x47da('0x9'),_0x281b27(_0x56d8d0,_0x47da('0x25'))),_0x1ded0f[_0x47da('0x3')][_0x47da('0x1e')](_0x47da('0x12'),_0x281b27(_0x56d8d0,_0x47da('0x16'))),_0x1ded0f[_0x47da('0x3')]['registerAttributeLabel'](_0x47da('0x11'),_0x281b27(_0x56d8d0,_0x47da('0xb'))),_0x1ded0f['_descriptionFactory']['registerAttributeLabel'](_0x47da('0x1d'),_0x281b27(_0x56d8d0,_0x47da('0x1'))),this[_0x47da('0x1f')]());}[_0x47da('0x1f')](){const _0x4cb6c5=this[_0x47da('0x1b')],_0x3ca844=_0x4cb6c5[_0x47da('0x23')];_0x4cb6c5['plugins'][_0x47da('0x28')](_0x47da('0x15'))[_0x47da('0x3')][_0x47da('0xc')](_0x41565f=>{const _0x4f2a70=_0x3ca844['t'];if(_0x47da('0x22')!=_0x41565f[_0x47da('0x14')])return;const {data:_0x3f79b7}=_0x41565f;if(null!=_0x3f79b7){if('fontSize'==_0x3f79b7[_0x47da('0x21')]){const _0x424c27=_0x3f79b7[_0x47da('0x2')][0x0][_0x47da('0x1a')];if(_0x424c27){const _0x5b9185=_0x4f2a70(this['editor'][_0x47da('0x0')][_0x47da('0x28')](_0x47da('0x8'))[_0x47da('0x5')](this[_0x47da('0x1b')][_0x47da('0x24')]['get'](_0x47da('0x26')))['find'](_0x3295eb=>_0x3295eb[_0x47da('0x18')]==_0x424c27)[_0x47da('0x7')])[_0x47da('0x27')]();return{'type':'format','content':_0x281b27(_0x3ca844,_0x47da('0x2b'),_0x5b9185)};}return{'type':'format','content':_0x281b27(_0x3ca844,_0x47da('0xd'))};}if('fontFamily'==_0x3f79b7['commandName']){const _0x45425e=_0x3f79b7[_0x47da('0x2')][0x0]['value'];return _0x45425e?{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,'*Set\x20font\x20family:*\x20%0',_0x45425e)}:{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,_0x47da('0x13'))};}if(_0x47da('0x11')==_0x3f79b7['commandName']){const _0x5f4e96=_0x3f79b7[_0x47da('0x2')][0x0][_0x47da('0x1a')];if(_0x5f4e96){const _0xbfbe4a=_0x146979(this[_0x47da('0x1b')]['config'][_0x47da('0x28')]('fontColor.colors'))[_0x47da('0x19')](_0x1ca97c=>_0x1ca97c['model']==_0x5f4e96);let _0x570b75=_0x5f4e96,_0x5aa2a0='';return _0xbfbe4a&&(_0x570b75=_0xbfbe4a[_0x47da('0x6')],_0x5aa2a0=_0x4f2a70(_0x570b75)[_0x47da('0x27')]()),{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,_0x47da('0xa'),_0x5aa2a0)[_0x47da('0x10')](),'color':{'value':_0x5f4e96,'title':_0x5aa2a0||_0x570b75}};}return{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,_0x47da('0x2a'))};}if(_0x47da('0x1d')==_0x3f79b7[_0x47da('0x21')]){const _0x10b389=_0x3f79b7[_0x47da('0x2')][0x0][_0x47da('0x1a')];if(_0x10b389){const _0x5887a5=_0x146979(this['editor']['config'][_0x47da('0x28')](_0x47da('0x1c')))[_0x47da('0x19')](_0x1536a8=>_0x1536a8[_0x47da('0x18')]==_0x10b389);let _0x5560a2=_0x10b389,_0x425fa4='';return _0x5887a5&&(_0x5560a2=_0x5887a5[_0x47da('0x6')],_0x425fa4=_0x4f2a70(_0x5560a2)[_0x47da('0x27')]()),{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,_0x47da('0xf'),_0x425fa4)[_0x47da('0x10')](),'color':{'value':_0x10b389,'title':_0x425fa4||_0x5560a2}};}return{'type':_0x47da('0x4'),'content':_0x281b27(_0x3ca844,_0x47da('0x29'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4299=['enableCommand','formatBlock','plugins','fontSize.options','pasteFormat','fontColor.colors','toLowerCase','_descriptionFactory','boolean','length','*Set\x20format\x20to:*\x20%0','join','copyFormat','find','*Remove\x20all\x20formatting*','TrackChangesEditing','config','toUpperCase','enableDefaultIntegration','afterInit','charAt','format','_registerLegacyDescription','push','editor','type','registerDescriptionCallback','split','title','get','locale','commandParams'];(function(_0x8843c2,_0x4299ee){const _0x20c019=function(_0xcdb042){while(--_0xcdb042){_0x8843c2['push'](_0x8843c2['shift']());}};_0x20c019(++_0x4299ee);}(_0x4299,0x87));const _0x20c0=function(_0x8843c2,_0x4299ee){_0x8843c2=_0x8843c2-0x0;let _0x20c019=_0x4299[_0x8843c2];return _0x20c019;};import{Plugin as _0x2e564b}from'ckeditor5/src/core';import{normalizeColorOptions as _0xabaa34}from'ckeditor5/src/ui';import{getTranslation as _0x50cead}from'../utils/common-translations';export default class Q extends _0x2e564b{[_0x20c0('0xc')](){const _0xee5384=this[_0x20c0('0x11')],_0x2c22c1=_0xee5384[_0x20c0('0x1b')]['get'](_0x20c0('0x8')),_0x13b57d=_0xee5384['commands'][_0x20c0('0x16')](_0x20c0('0x5')),_0x26ef4a=_0xee5384['commands'][_0x20c0('0x16')]('pasteFormat');_0x13b57d&&_0x26ef4a&&(_0x2c22c1[_0x20c0('0xb')](_0x20c0('0x1d')),_0x2c22c1[_0x20c0('0x19')](_0x20c0('0x5')),this[_0x20c0('0xf')]());}[_0x20c0('0xf')](){const _0x22a7e9=this[_0x20c0('0x11')],_0x55958d=_0x22a7e9[_0x20c0('0x17')];_0x22a7e9['plugins'][_0x20c0('0x16')](_0x20c0('0x8'))[_0x20c0('0x0')][_0x20c0('0x13')](_0x4653ea=>{if(_0x20c0('0x1a')!=_0x4653ea[_0x20c0('0x12')]&&'formatInline'!=_0x4653ea[_0x20c0('0x12')])return;const {data:_0x249129}=_0x4653ea;if(_0x249129&&_0x20c0('0x1d')===_0x249129['commandName']){const _0x56af4b=[],_0x566079=_0x249129[_0x20c0('0x18')][0x0];for(const [_0x3c3349,_0x2a8f2c]of Object['entries'](_0x566079))_0x56af4b[_0x20c0('0x10')](ao(_0x22a7e9,_0x3c3349,_0x2a8f2c));return _0x56af4b[_0x20c0('0x2')]?{'type':'format','content':_0x50cead(_0x55958d,_0x20c0('0x3'),_0x56af4b[_0x20c0('0x4')](',\x20'))}:{'type':_0x20c0('0xe'),'content':_0x50cead(_0x55958d,_0x20c0('0x7'))};}});}}function ao(_0x4e6f42,_0x9a3808,_0x37311c){const _0x5ef60f=_0x4e6f42[_0x20c0('0x17')]['t'],_0x4dd818=_0x9a3808[_0x20c0('0x14')](/(?=[A-Z])/)[_0x20c0('0x4')]('\x20'),_0x5166d2=_0x5ef60f(_0x4dd818[_0x20c0('0xd')](0x0)[_0x20c0('0xa')]()+_0x4dd818['slice'](0x1))[_0x20c0('0x1f')]();if(_0x20c0('0x1')==typeof _0x37311c)return _0x5166d2;if('fontColor'===_0x9a3808||'fontBackgroundColor'===_0x9a3808){const _0x32110c=_0xabaa34(_0x4e6f42[_0x20c0('0x9')][_0x20c0('0x16')](_0x20c0('0x1e')))[_0x20c0('0x6')](_0x275b99=>_0x275b99['model']==_0x37311c);return _0x5166d2+'\x20('+(_0x32110c?_0x5ef60f(_0x32110c['label'])[_0x20c0('0x1f')]():_0x37311c)+')';}if('fontSize'===_0x9a3808&&isNaN(parseFloat(_0x37311c))){const _0x300074=_0x4e6f42['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x4e6f42[_0x20c0('0x9')][_0x20c0('0x16')](_0x20c0('0x1c')))[_0x20c0('0x6')](_0x483137=>_0x483137['model']==_0x37311c);return _0x5166d2+'\x20('+(_0x300074?_0x5ef60f(_0x300074[_0x20c0('0x15')])[_0x20c0('0x1f')]():_0x37311c)+')';}return _0x5166d2+'\x20('+_0x37311c+')';}
23
+ const _0x2651=['boolean','editor','copyFormat','formatInline','locale','*Set\x20format\x20to:*\x20%0','enableCommand','push','entries','commandParams','*Remove\x20all\x20formatting*','toLowerCase','title','commands','join','fontColor.colors','length','_registerLegacyDescription','toUpperCase','fontSize','plugins','pasteFormat','_descriptionFactory','model','config','formatBlock','format','fontSize.options','commandName','type','fontColor','label','fontBackgroundColor','FontSize','get'];(function(_0x294c52,_0x265132){const _0x29dfb3=function(_0x595861){while(--_0x595861){_0x294c52['push'](_0x294c52['shift']());}};_0x29dfb3(++_0x265132);}(_0x2651,0x111));const _0x29df=function(_0x294c52,_0x265132){_0x294c52=_0x294c52-0x0;let _0x29dfb3=_0x2651[_0x294c52];return _0x29dfb3;};import{Plugin as _0xc43f8b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x14a594}from'ckeditor5/src/ui';import{getTranslation as _0xdc622d}from'../utils/common-translations';export default class Q extends _0xc43f8b{['afterInit'](){const _0x5e8b6c=this[_0x29df('0x8')],_0x23e9ff=_0x5e8b6c[_0x29df('0x1b')][_0x29df('0x6')]('TrackChangesEditing'),_0x1ce8ca=_0x5e8b6c[_0x29df('0x14')]['get'](_0x29df('0x9')),_0x8f098d=_0x5e8b6c[_0x29df('0x14')][_0x29df('0x6')](_0x29df('0x1c'));_0x1ce8ca&&_0x8f098d&&(_0x23e9ff['_enableDefaultAttributesIntegration'](_0x29df('0x1c')),_0x23e9ff[_0x29df('0xd')]('copyFormat'),this[_0x29df('0x18')]());}[_0x29df('0x18')](){const _0x2dc215=this[_0x29df('0x8')],_0x372849=_0x2dc215[_0x29df('0xb')];_0x2dc215[_0x29df('0x1b')][_0x29df('0x6')]('TrackChangesEditing')[_0x29df('0x1d')]['registerDescriptionCallback'](_0x576158=>{if(_0x29df('0x20')!=_0x576158[_0x29df('0x1')]&&_0x29df('0xa')!=_0x576158[_0x29df('0x1')])return;const {data:_0x18f46c}=_0x576158;if(_0x18f46c&&_0x29df('0x1c')===_0x18f46c[_0x29df('0x0')]){const _0x4f076b=[],_0x563bde=_0x18f46c[_0x29df('0x10')][0x0];for(const [_0x1dc4c9,_0x13cf29]of Object[_0x29df('0xf')](_0x563bde))_0x4f076b[_0x29df('0xe')](ao(_0x2dc215,_0x1dc4c9,_0x13cf29));return _0x4f076b[_0x29df('0x17')]?{'type':_0x29df('0x21'),'content':_0xdc622d(_0x372849,_0x29df('0xc'),_0x4f076b['join'](',\x20'))}:{'type':_0x29df('0x21'),'content':_0xdc622d(_0x372849,_0x29df('0x11'))};}});}}function ao(_0x1f6104,_0x4185ac,_0x28d686){const _0x514ab6=_0x1f6104['locale']['t'],_0x439187=_0x4185ac['split'](/(?=[A-Z])/)[_0x29df('0x15')]('\x20'),_0x30e6d3=_0x514ab6(_0x439187['charAt'](0x0)[_0x29df('0x19')]()+_0x439187['slice'](0x1))[_0x29df('0x12')]();if(_0x29df('0x7')==typeof _0x28d686)return _0x30e6d3;if(_0x29df('0x2')===_0x4185ac||_0x29df('0x4')===_0x4185ac){const _0x561ce5=_0x14a594(_0x1f6104['config'][_0x29df('0x6')](_0x29df('0x16')))['find'](_0x4463ce=>_0x4463ce[_0x29df('0x1e')]==_0x28d686);return _0x30e6d3+'\x20('+(_0x561ce5?_0x514ab6(_0x561ce5[_0x29df('0x3')])[_0x29df('0x12')]():_0x28d686)+')';}if(_0x29df('0x1a')===_0x4185ac&&isNaN(parseFloat(_0x28d686))){const _0x2126e0=_0x1f6104[_0x29df('0x1b')]['get'](_0x29df('0x5'))['normalizeSizeOptions'](_0x1f6104[_0x29df('0x1f')][_0x29df('0x6')](_0x29df('0x22')))['find'](_0x13237a=>_0x13237a[_0x29df('0x1e')]==_0x28d686);return _0x30e6d3+'\x20('+(_0x2126e0?_0x514ab6(_0x2126e0[_0x29df('0x13')])[_0x29df('0x12')]():_0x28d686)+')';}return _0x30e6d3+'\x20('+_0x28d686+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b76=['locale','match','ELEMENT_HEADING_CUSTOM','*Change\x20to:*\x20%0','HeadingEditing','registerElementLabel','commandName','afterInit','_getHeadingLevel','TrackChangesEditing','heading','view','_registerLegacyDescription','has','enableDefaultIntegration','format','plugins','model','editor','registerDescriptionCallback','value','paragraph','_headingOptions','title','ELEMENT_HEADING','find','get','name'];(function(_0x131e2a,_0x4b7662){const _0x377914=function(_0x19ee3a){while(--_0x19ee3a){_0x131e2a['push'](_0x131e2a['shift']());}};_0x377914(++_0x4b7662);}(_0x4b76,0xb4));const _0x3779=function(_0x131e2a,_0x4b7662){_0x131e2a=_0x131e2a-0x0;let _0x377914=_0x4b76[_0x131e2a];return _0x377914;};import{Plugin as _0x167c94}from'ckeditor5/src/core';import{getTranslation as _0x18f107}from'../utils/common-translations';export default class X extends _0x167c94{[_0x3779('0x17')](){const _0x851287=this[_0x3779('0x6')];if(!_0x851287[_0x3779('0x4')][_0x3779('0x1')](_0x3779('0x14')))return;const _0x20906e=_0x851287[_0x3779('0x10')];this['_headingOptions']=_0x851287['config'][_0x3779('0xe')]('heading.options');const _0x7fb35a=_0x851287[_0x3779('0x4')][_0x3779('0xe')](_0x3779('0x19'));_0x7fb35a[_0x3779('0x2')](_0x3779('0x1a'));for(const _0x33a2c5 of this[_0x3779('0xa')])_0x3779('0x9')!=_0x33a2c5[_0x3779('0x5')]&&_0x7fb35a['_descriptionFactory'][_0x3779('0x15')](_0x33a2c5[_0x3779('0x5')],_0x4062bb=>{const _0x30628d=this[_0x3779('0x18')](_0x33a2c5[_0x3779('0x5')]);return null!==_0x30628d?_0x226b1f(_0x4062bb,_0x30628d):_0x41cd4e(_0x4062bb,_0x33a2c5[_0x3779('0xb')]);});function _0x226b1f(_0x598327,_0x546c48){return _0x18f107(_0x20906e,_0x3779('0xc'),[_0x598327,_0x546c48]);}function _0x41cd4e(_0x3c3664,_0x5dbc4f){return _0x18f107(_0x20906e,_0x3779('0x12'),[_0x3c3664,_0x5dbc4f]);}this[_0x3779('0x0')]();}[_0x3779('0x0')](){const _0x3bdc52=this[_0x3779('0x6')],_0x3b8bda=_0x3bdc52[_0x3779('0x10')];function _0x5cac7b(_0x5c4a19,_0x2307f0){return _0x18f107(_0x3b8bda,_0x3779('0x12'),[_0x5c4a19,_0x2307f0]);}_0x3bdc52[_0x3779('0x4')]['get'](_0x3779('0x19'))['_descriptionFactory'][_0x3779('0x7')](_0x49d3f5=>{if('formatBlock'!=_0x49d3f5['type'])return;const {data:_0x5cac1e}=_0x49d3f5;if(_0x5cac1e&&_0x3779('0x1a')==_0x5cac1e[_0x3779('0x16')]){const _0x10952f=_0x5cac1e['commandParams'][0x0][_0x3779('0x8')],_0xaeefe4=this[_0x3779('0x18')](_0x10952f);if(null!==_0xaeefe4)return{'type':_0x3779('0x3'),'content':_0x18f107(_0x3b8bda,_0x3779('0x13'),(_0x25caa2=0x1,_0x14c4fb=_0xaeefe4,_0x18f107(_0x3b8bda,_0x3779('0xc'),[_0x25caa2,_0x14c4fb])))};const _0x40064c=this[_0x3779('0xa')][_0x3779('0xd')](_0x581a72=>_0x581a72['model']===_0x10952f)[_0x3779('0xb')];return{'type':_0x3779('0x3'),'content':_0x18f107(_0x3b8bda,_0x3779('0x13'),_0x5cac7b(0x1,_0x40064c))};}var _0x25caa2,_0x14c4fb;});}['_getHeadingLevel'](_0x2a8ecb){var _0x177b0e,_0x46d81d;const _0x5019b1=_0x2a8ecb['match'](/^heading(\d+)/);if(_0x5019b1)return _0x5019b1[0x1];const _0x55ad0a=null===(_0x177b0e=this[_0x3779('0xa')])||void 0x0===_0x177b0e?void 0x0:_0x177b0e['find'](_0x556c3a=>_0x556c3a[_0x3779('0x5')]==_0x2a8ecb);if(_0x55ad0a&&_0x55ad0a[_0x3779('0x1b')]){const _0x518c4c=_0x55ad0a[_0x3779('0x1b')],_0x2a9bcd=(null!==(_0x46d81d=_0x518c4c[_0x3779('0xf')])&&void 0x0!==_0x46d81d?_0x46d81d:_0x518c4c)[_0x3779('0x11')](/^h(\d+)/);if(_0x2a9bcd)return _0x2a9bcd[0x1];}return null;}}
23
+ const _0x54d9=['_enableDefaultAttributesIntegration','registerDescriptionCallback','match','commandName','ELEMENT_HEADING','heading.options','paragraph','has','TrackChangesEditing','find','_registerLegacyDescription','format','ELEMENT_HEADING_CUSTOM','commandParams','_getHeadingLevel','_descriptionFactory','registerElementLabel','_headingOptions','locale','editor','formatBlock','name','model','get','HeadingEditing','heading','plugins','config','value','*Change\x20to:*\x20%0','afterInit'];(function(_0x60a6af,_0x54d9e2){const _0xaa48fc=function(_0x122875){while(--_0x122875){_0x60a6af['push'](_0x60a6af['shift']());}};_0xaa48fc(++_0x54d9e2);}(_0x54d9,0x7d));const _0xaa48=function(_0x60a6af,_0x54d9e2){_0x60a6af=_0x60a6af-0x0;let _0xaa48fc=_0x54d9[_0x60a6af];return _0xaa48fc;};import{Plugin as _0x2f26cf}from'ckeditor5/src/core';import{getTranslation as _0x2b408f}from'../utils/common-translations';export default class X extends _0x2f26cf{[_0xaa48('0x1d')](){const _0x1bf362=this[_0xaa48('0x12')];if(!_0x1bf362[_0xaa48('0x19')][_0xaa48('0x6')](_0xaa48('0x17')))return;this[_0xaa48('0x10')]=_0x1bf362[_0xaa48('0x1a')]['get'](_0xaa48('0x4'));const _0x1e972e=_0x1bf362[_0xaa48('0x11')],_0x366407=_0x1bf362[_0xaa48('0x19')][_0xaa48('0x16')]('TrackChangesEditing');_0x366407[_0xaa48('0x1e')](_0xaa48('0x18'));for(const _0x2e1278 of this[_0xaa48('0x10')])_0xaa48('0x5')!=_0x2e1278[_0xaa48('0x15')]&&_0x366407[_0xaa48('0xe')][_0xaa48('0xf')](_0x2e1278['model'],_0x4b4a4f=>{const _0x1f5e4f=this[_0xaa48('0xd')](_0x2e1278['model']);return null!==_0x1f5e4f?_0x15d784(_0x4b4a4f,_0x1f5e4f):_0x5f24b8(_0x4b4a4f,_0x2e1278['title']);});function _0x15d784(_0x317ecb,_0x54c0e0){return _0x2b408f(_0x1e972e,_0xaa48('0x3'),[_0x317ecb,_0x54c0e0]);}function _0x5f24b8(_0x32f2b5,_0x232e3c){return _0x2b408f(_0x1e972e,_0xaa48('0xb'),[_0x32f2b5,_0x232e3c]);}this[_0xaa48('0x9')]();}[_0xaa48('0x9')](){const _0x2880ca=this[_0xaa48('0x12')],_0x40e7af=_0x2880ca[_0xaa48('0x11')];function _0x264bb7(_0x21dfdb,_0x8b26fe){return _0x2b408f(_0x40e7af,_0xaa48('0xb'),[_0x21dfdb,_0x8b26fe]);}_0x2880ca['plugins'][_0xaa48('0x16')](_0xaa48('0x7'))[_0xaa48('0xe')][_0xaa48('0x0')](_0x584471=>{if(_0xaa48('0x13')!=_0x584471['type'])return;const {data:_0x2c25fd}=_0x584471;if(_0x2c25fd&&_0xaa48('0x18')==_0x2c25fd[_0xaa48('0x2')]){const _0xc21d48=_0x2c25fd[_0xaa48('0xc')][0x0][_0xaa48('0x1b')],_0x3bb7ed=this[_0xaa48('0xd')](_0xc21d48);if(null!==_0x3bb7ed)return{'type':'format','content':_0x2b408f(_0x40e7af,_0xaa48('0x1c'),(_0x7c7674=0x1,_0x106a46=_0x3bb7ed,_0x2b408f(_0x40e7af,_0xaa48('0x3'),[_0x7c7674,_0x106a46])))};const _0x252ad8=this[_0xaa48('0x10')][_0xaa48('0x8')](_0x1af4b1=>_0x1af4b1['model']===_0xc21d48)['title'];return{'type':_0xaa48('0xa'),'content':_0x2b408f(_0x40e7af,_0xaa48('0x1c'),_0x264bb7(0x1,_0x252ad8))};}var _0x7c7674,_0x106a46;});}[_0xaa48('0xd')](_0x4200ae){var _0x512ff8,_0xcd7edb;const _0x56112b=_0x4200ae[_0xaa48('0x1')](/^heading(\d+)/);if(_0x56112b)return _0x56112b[0x1];const _0x1c398b=null===(_0x512ff8=this[_0xaa48('0x10')])||void 0x0===_0x512ff8?void 0x0:_0x512ff8[_0xaa48('0x8')](_0x5a5090=>_0x5a5090[_0xaa48('0x15')]==_0x4200ae);if(_0x1c398b&&_0x1c398b['view']){const _0x52b8db=_0x1c398b['view'],_0x5f2b16=(null!==(_0xcd7edb=_0x52b8db[_0xaa48('0x14')])&&void 0x0!==_0xcd7edb?_0xcd7edb:_0x52b8db)[_0xaa48('0x1')](/^h(\d+)/);if(_0x5f2b16)return _0x5f2b16[0x1];}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b3b=['value','_descriptionFactory','registerAttributeLabel','*Remove\x20highlight*','commandParams','TrackChangesEditing','*Set\x20highlight:*\x20%0','color','_registerLegacyDescription','format','HighlightEditing','title','highlight','locale','get','formatInline','editor','model','has','FORMAT_HIGHLIGHT','plugins','toLowerCase','highlight.options'];(function(_0x1882f2,_0x4b3b85){const _0x3acce0=function(_0x3db9c8){while(--_0x3db9c8){_0x1882f2['push'](_0x1882f2['shift']());}};_0x3acce0(++_0x4b3b85);}(_0x4b3b,0xcb));const _0x3acc=function(_0x1882f2,_0x4b3b85){_0x1882f2=_0x1882f2-0x0;let _0x3acce0=_0x4b3b[_0x1882f2];return _0x3acce0;};import{Plugin as _0x3af4af}from'ckeditor5/src/core';import{getTranslation as _0x21be62}from'../utils/common-translations';export default class Y extends _0x3af4af{['afterInit'](){const _0x176cd6=this[_0x3acc('0x14')];if(!_0x176cd6[_0x3acc('0x1')][_0x3acc('0x16')](_0x3acc('0xe')))return;const _0x498a91=_0x176cd6[_0x3acc('0x1')][_0x3acc('0x12')]('TrackChangesEditing'),_0x2ebe2a=_0x176cd6['locale'];_0x498a91['enableDefaultIntegration']('highlight',[_0x3acc('0x10')]),_0x498a91[_0x3acc('0x5')][_0x3acc('0x6')]('highlight',_0x21be62(_0x2ebe2a,_0x3acc('0x0'))),this[_0x3acc('0xc')]();}['_registerLegacyDescription'](){const _0x1fe384=this[_0x3acc('0x14')],_0x14940b=_0x1fe384[_0x3acc('0x11')];_0x1fe384[_0x3acc('0x1')][_0x3acc('0x12')](_0x3acc('0x9'))[_0x3acc('0x5')]['registerDescriptionCallback'](_0x5a747a=>{if(_0x3acc('0x13')!=_0x5a747a['type'])return;const {data:_0x656920}=_0x5a747a;if(_0x656920&&'highlight'==_0x656920['commandName']){const _0x16e9cb=_0x14940b['t'],_0x42225b=_0x656920[_0x3acc('0x8')][0x0][_0x3acc('0x4')];if(_0x42225b){const _0x157f51=_0x1fe384['config']['get'](_0x3acc('0x3'))['find'](_0x2081cd=>_0x2081cd[_0x3acc('0x15')]==_0x42225b),_0x4a5b50=_0x16e9cb(_0x157f51[_0x3acc('0xf')])[_0x3acc('0x2')]();return{'type':_0x3acc('0xd'),'content':_0x21be62(_0x14940b,_0x3acc('0xa'),_0x4a5b50),'color':{'value':_0x157f51[_0x3acc('0xb')],'title':_0x157f51[_0x3acc('0xf')]}};}return{'type':_0x3acc('0xd'),'content':_0x21be62(_0x14940b,_0x3acc('0x7'),_0x21be62(_0x14940b,_0x3acc('0x0')))};}});}}
23
+ const _0x425f=['*Set\x20highlight:*\x20%0','*Remove\x20highlight*','config','registerDescriptionCallback','commandParams','commandName','color','type','_descriptionFactory','get','editor','afterInit','FORMAT_HIGHLIGHT','registerAttributeLabel','_registerLegacyDescription','plugins','title','_enableDefaultAttributesIntegration','find','highlight','format','locale','highlight.options','HighlightEditing'];(function(_0x2bc192,_0x425f66){const _0x2798d2=function(_0x2cd5bb){while(--_0x2cd5bb){_0x2bc192['push'](_0x2bc192['shift']());}};_0x2798d2(++_0x425f66);}(_0x425f,0x11b));const _0x2798=function(_0x2bc192,_0x425f66){_0x2bc192=_0x2bc192-0x0;let _0x2798d2=_0x425f[_0x2bc192];return _0x2798d2;};import{Plugin as _0xe4d600}from'ckeditor5/src/core';import{getTranslation as _0x3d196c}from'../utils/common-translations';export default class Y extends _0xe4d600{[_0x2798('0x10')](){const _0x95fc9a=this[_0x2798('0xf')];if(!_0x95fc9a[_0x2798('0x14')]['has'](_0x2798('0x4')))return;const _0xbbebbe=_0x95fc9a[_0x2798('0x14')]['get']('TrackChangesEditing'),_0x217387=_0x95fc9a[_0x2798('0x2')];_0xbbebbe[_0x2798('0x16')](_0x2798('0x0'),[_0x2798('0x0')]),_0xbbebbe[_0x2798('0xd')][_0x2798('0x12')](_0x2798('0x0'),_0x3d196c(_0x217387,_0x2798('0x11'))),this[_0x2798('0x13')]();}[_0x2798('0x13')](){const _0xe6a214=this[_0x2798('0xf')],_0xeb83ed=_0xe6a214[_0x2798('0x2')];_0xe6a214[_0x2798('0x14')][_0x2798('0xe')]('TrackChangesEditing')[_0x2798('0xd')][_0x2798('0x8')](_0x4abe83=>{if('formatInline'!=_0x4abe83[_0x2798('0xc')])return;const {data:_0x332938}=_0x4abe83;if(_0x332938&&_0x2798('0x0')==_0x332938[_0x2798('0xa')]){const _0x5a1368=_0xeb83ed['t'],_0x1c430a=_0x332938[_0x2798('0x9')][0x0]['value'];if(_0x1c430a){const _0x27e64f=_0xe6a214[_0x2798('0x7')][_0x2798('0xe')](_0x2798('0x3'))[_0x2798('0x17')](_0x201b68=>_0x201b68['model']==_0x1c430a),_0x4792e6=_0x5a1368(_0x27e64f[_0x2798('0x15')])['toLowerCase']();return{'type':_0x2798('0x1'),'content':_0x3d196c(_0xeb83ed,_0x2798('0x5'),_0x4792e6),'color':{'value':_0x27e64f[_0x2798('0xb')],'title':_0x27e64f[_0x2798('0x15')]}};}return{'type':'format','content':_0x3d196c(_0xeb83ed,_0x2798('0x6'),_0x3d196c(_0xeb83ed,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c77=['editor','showSuggestionHighlights','horizontalLine','HorizontalLineEditing','createEmptyElement','get','locale','TrackChangesEditing','afterInit','plugins','registerElementLabel','addClass','_descriptionFactory','div','createPositionAt','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','has','elementToStructure','high','enableCommand'];(function(_0x14d607,_0x3c7745){const _0x5c4d3c=function(_0x549f76){while(--_0x549f76){_0x14d607['push'](_0x14d607['shift']());}};_0x5c4d3c(++_0x3c7745);}(_0x3c77,0xbb));const _0x5c4d=function(_0x14d607,_0x3c7745){_0x14d607=_0x14d607-0x0;let _0x5c4d3c=_0x3c77[_0x14d607];return _0x5c4d3c;};import{Plugin as _0x220acd}from'ckeditor5/src/core';import{getTranslation as _0x5e0885}from'../utils/common-translations';export default class Z extends _0x220acd{[_0x5c4d('0xa')](){const _0x12b92e=this[_0x5c4d('0x2')];if(!_0x12b92e['plugins'][_0x5c4d('0x13')](_0x5c4d('0x5')))return;_0x12b92e[_0x5c4d('0xb')][_0x5c4d('0x7')](_0x5c4d('0x9'))[_0x5c4d('0x1')](_0x5c4d('0x4'));const _0x188446=_0x12b92e['plugins'][_0x5c4d('0x7')](_0x5c4d('0x9')),_0x11b52b=_0x12b92e[_0x5c4d('0x8')];_0x188446[_0x5c4d('0xe')][_0x5c4d('0xc')](_0x5c4d('0x4'),_0x30a12c=>_0x5e0885(_0x11b52b,_0x5c4d('0x11'),_0x30a12c)),_0x12b92e['conversion']['for']('dataDowncast')[_0x5c4d('0x14')]({'model':_0x5c4d('0x4'),'view':(_0xdae9f9,{writer:_0x4ee635,options:_0x1ed779})=>{if(!_0x1ed779[_0x5c4d('0x3')])return null;const _0x59341d=_0x4ee635['createContainerElement'](_0x5c4d('0xf')),_0x1f3c32=_0x4ee635[_0x5c4d('0x6')]('hr');return _0x4ee635[_0x5c4d('0xd')](_0x5c4d('0x12'),_0x59341d),_0x4ee635['insert'](_0x4ee635[_0x5c4d('0x10')](_0x59341d,0x0),_0x1f3c32),_0x59341d;},'converterPriority':_0x5c4d('0x0')});}}
23
+ const _0x4e6e=['high','horizontalLine','createContainerElement','_descriptionFactory','elementToStructure','TrackChangesEditing','addClass','get','dataDowncast','plugins','ck-horizontal-line','ELEMENT_HORIZONTAL_LINE','showSuggestionHighlights','createPositionAt','conversion','enableCommand','registerElementLabel','div','createEmptyElement'];(function(_0x4acf04,_0x4e6e66){const _0xef7afc=function(_0xfcd49e){while(--_0xfcd49e){_0x4acf04['push'](_0x4acf04['shift']());}};_0xef7afc(++_0x4e6e66);}(_0x4e6e,0x19e));const _0xef7a=function(_0x4acf04,_0x4e6e66){_0x4acf04=_0x4acf04-0x0;let _0xef7afc=_0x4e6e[_0x4acf04];return _0xef7afc;};import{Plugin as _0x2334d8}from'ckeditor5/src/core';import{getTranslation as _0x1be651}from'../utils/common-translations';export default class Z extends _0x2334d8{['afterInit'](){const _0x40e7a5=this['editor'];if(!_0x40e7a5[_0xef7a('0xd')]['has']('HorizontalLineEditing'))return;_0x40e7a5['plugins'][_0xef7a('0xb')](_0xef7a('0x9'))[_0xef7a('0x0')](_0xef7a('0x5'));const _0x453315=_0x40e7a5['plugins'][_0xef7a('0xb')](_0xef7a('0x9')),_0x14929c=_0x40e7a5['locale'];_0x453315[_0xef7a('0x7')][_0xef7a('0x1')]('horizontalLine',_0x1a8871=>_0x1be651(_0x14929c,_0xef7a('0xf'),_0x1a8871)),_0x40e7a5[_0xef7a('0x12')]['for'](_0xef7a('0xc'))[_0xef7a('0x8')]({'model':_0xef7a('0x5'),'view':(_0x1f1bc6,{writer:_0x1f7a96,options:_0x5cc1a5})=>{if(!_0x5cc1a5[_0xef7a('0x10')])return null;const _0x2f29e6=_0x1f7a96[_0xef7a('0x6')](_0xef7a('0x2')),_0x338cc8=_0x1f7a96[_0xef7a('0x3')]('hr');return _0x1f7a96[_0xef7a('0xa')](_0xef7a('0xe'),_0x2f29e6),_0x1f7a96['insert'](_0x1f7a96[_0xef7a('0x11')](_0x2f29e6,0x0),_0x338cc8),_0x2f29e6;},'converterPriority':_0xef7a('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x343e=['plugins','*Change\x20%0\x20content*','enableDefaultIntegration','getFirstRange','ELEMENT_HTML_EMBED','htmlEmbed','registerElementLabel','key','_descriptionFactory','TrackChangesEditing','_registerLegacyDescription','get','type','nodeAfter','registerDescriptionCallback','editor','rawHtml','HtmlEmbed','formatBlock','locale','value'];(function(_0x3973f7,_0x343ebb){const _0x4348e5=function(_0x5d3527){while(--_0x5d3527){_0x3973f7['push'](_0x3973f7['shift']());}};_0x4348e5(++_0x343ebb);}(_0x343e,0x155));const _0x4348=function(_0x3973f7,_0x343ebb){_0x3973f7=_0x3973f7-0x0;let _0x4348e5=_0x343e[_0x3973f7];return _0x4348e5;};import{Plugin as _0x297cde}from'ckeditor5/src/core';import{getTranslation as _0x4606e4}from'../utils/common-translations';export default class tt extends _0x297cde{['afterInit'](){const _0x46aae5=this[_0x4348('0xa')];if(!_0x46aae5['plugins']['has'](_0x4348('0xc')))return;const _0x14396c=_0x46aae5[_0x4348('0x10')][_0x4348('0x6')](_0x4348('0x4')),_0x293721=_0x46aae5[_0x4348('0xe')];_0x14396c[_0x4348('0x3')][_0x4348('0x1')]('rawHtml',_0x176e2e=>_0x4606e4(_0x293721,_0x4348('0x14'),_0x176e2e)),_0x14396c[_0x4348('0x12')]('htmlEmbed',[],[_0x4348('0xf')]),_0x14396c[_0x4348('0x3')][_0x4348('0x9')](_0x34195f=>{if('attribute'!=_0x34195f[_0x4348('0x7')])return;const {data:_0x571328}=_0x34195f;if(_0x571328&&'value'==_0x571328[_0x4348('0x2')]&&_0x34195f[_0x4348('0x13')]()['start'][_0x4348('0x8')]['is']('element',_0x4348('0xb'))){const _0x445346=_0x4606e4(_0x293721,_0x4348('0x14'));return{'type':'format','content':_0x4606e4(_0x293721,_0x4348('0x11'),_0x445346)};}}),this[_0x4348('0x5')]();}[_0x4348('0x5')](){const _0x2247a4=this[_0x4348('0xa')],_0x57c865=_0x2247a4[_0x4348('0xe')];_0x2247a4[_0x4348('0x10')][_0x4348('0x6')](_0x4348('0x4'))[_0x4348('0x3')]['registerDescriptionCallback'](_0x43aa52=>{if(_0x4348('0xd')!=_0x43aa52[_0x4348('0x7')])return;const {data:_0x1cb3b6}=_0x43aa52;if(_0x1cb3b6&&_0x4348('0x0')==_0x1cb3b6['commandName']){const _0xdf5f26=_0x4606e4(_0x57c865,_0x4348('0x14'));return{'type':'format','content':_0x4606e4(_0x57c865,_0x4348('0x11'),_0xdf5f26)};}});}}
23
+ const _0x1c22=['htmlEmbed','_descriptionFactory','editor','afterInit','_registerLegacyDescription','plugins','format','start','attribute','registerDescriptionCallback','rawHtml','ELEMENT_HTML_EMBED','TrackChangesEditing','_enableDefaultAttributesIntegration','has','type','formatBlock','value','commandName','HtmlEmbed','nodeAfter','*Change\x20%0\x20content*','registerElementLabel','locale'];(function(_0x350674,_0x1c2223){const _0x42bd62=function(_0x5319a4){while(--_0x5319a4){_0x350674['push'](_0x350674['shift']());}};_0x42bd62(++_0x1c2223);}(_0x1c22,0x142));const _0x42bd=function(_0x350674,_0x1c2223){_0x350674=_0x350674-0x0;let _0x42bd62=_0x1c22[_0x350674];return _0x42bd62;};import{Plugin as _0x1e1ef7}from'ckeditor5/src/core';import{getTranslation as _0x2eee53}from'../utils/common-translations';export default class tt extends _0x1e1ef7{[_0x42bd('0x11')](){const _0x54f07d=this['editor'];if(!_0x54f07d[_0x42bd('0x13')][_0x42bd('0x4')](_0x42bd('0x9')))return;const _0x294f9c=_0x54f07d[_0x42bd('0x13')]['get']('TrackChangesEditing'),_0x222ace=_0x54f07d[_0x42bd('0xd')];_0x294f9c['_descriptionFactory'][_0x42bd('0xc')](_0x42bd('0x0'),_0xadbc70=>_0x2eee53(_0x222ace,_0x42bd('0x1'),_0xadbc70)),_0x294f9c[_0x42bd('0x3')]('htmlEmbed',[],[_0x42bd('0x7')]),_0x294f9c[_0x42bd('0xf')][_0x42bd('0x17')](_0x13b21d=>{if(_0x42bd('0x16')!=_0x13b21d[_0x42bd('0x5')])return;const {data:_0x3407f3}=_0x13b21d;if(_0x3407f3&&_0x42bd('0x7')==_0x3407f3['key']&&_0x13b21d['getFirstRange']()[_0x42bd('0x15')][_0x42bd('0xa')]['is']('element',_0x42bd('0x0'))){const _0x35260c=_0x2eee53(_0x222ace,'ELEMENT_HTML_EMBED');return{'type':_0x42bd('0x14'),'content':_0x2eee53(_0x222ace,_0x42bd('0xb'),_0x35260c)};}}),this[_0x42bd('0x12')]();}[_0x42bd('0x12')](){const _0x188927=this[_0x42bd('0x10')],_0x634ab9=_0x188927[_0x42bd('0xd')];_0x188927[_0x42bd('0x13')]['get'](_0x42bd('0x2'))[_0x42bd('0xf')][_0x42bd('0x17')](_0x13b1d8=>{if(_0x42bd('0x6')!=_0x13b1d8['type'])return;const {data:_0x53d1b3}=_0x13b1d8;if(_0x53d1b3&&_0x42bd('0xe')==_0x53d1b3[_0x42bd('0x8')]){const _0x4d0200=_0x2eee53(_0x634ab9,_0x42bd('0x1'));return{'type':'format','content':_0x2eee53(_0x634ab9,'*Change\x20%0\x20content*',_0x4d0200)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f6a=['selection','enableDefaultIntegration','*Set\x20image\x20text\x20alternative:*\x20%0','commandParams','markInsertion','getFirstRange','alt','has','subType','type','nodeBefore','ImageCaptionEditing','fromPosition','createRange','imageStylePreApply','format','discard','plugins','registerCustomCallback','afterInit','_findSuggestions','FORMAT_IMAGE_WIDTH','removeObject','toggleImageCaption','isBefore','registerElementLabel','_descriptionFactory','_registerLegacyDescription','isIntersecting','insertion','previous','nodeAfter','getClosestSelectedImageElement','get','key','convertBlockImageToInline','registerAttributeLabel','getSuggestionCallback','addObject','attribute','chain','join','imageTypeInline','commandName','imageTextAlternative','ImageInlineEditing','resizedWidth','model','isOwn','element','getContainedElement','convertInlineImageToBlock','getNearestSelectionRange','schema','ImageEditing','getCaptionFromImageModelElement','ImageCaptionUtils','*Reset\x20image\x20width*','resizeImage','isEqual','formatBlock','findIndex','_suggestionFactory','start','Block\x20image\x20to\x20inline\x20image','ELEMENT_CAPTION','enableCommand','end','editor','uploadImage','isBlockImage','width','*Set\x20image\x20width:*\x20%0','locale','registerDescriptionCallback','imageCaption','document','caption','change','*Remove\x20image\x20text\x20alternative*','createRangeOn','markDeletion','imageInline','isCollapsed','newValue','markBlockFormat','detach'];(function(_0x58c001,_0x4f6a7e){const _0x394087=function(_0x3ce412){while(--_0x3ce412){_0x58c001['push'](_0x58c001['shift']());}};_0x394087(++_0x4f6a7e);}(_0x4f6a,0x7b));const _0x3940=function(_0x58c001,_0x4f6a7e){_0x58c001=_0x58c001-0x0;let _0x394087=_0x4f6a[_0x58c001];return _0x394087;};import{Plugin as _0x3c0a3c}from'ckeditor5/src/core';import{LivePosition as _0x12c718}from'ckeditor5/src/engine';import{getTranslation as _0x436ef7}from'../utils/common-translations';export default class it extends _0x3c0a3c{[_0x3940('0x46')](){const _0x469dfa=this[_0x3940('0x20')];if(!_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')](_0x3940('0x12')))return;const _0x4d2f22=_0x469dfa[_0x3940('0x44')]['get']('TrackChangesEditing'),_0x2ee107=_0x469dfa['plugins'][_0x3940('0x54')]('ImageUtils'),_0x344e5c=_0x469dfa['locale'];_0x4d2f22[_0x3940('0x1e')]('insertImage'),_0x4d2f22['_descriptionFactory']['registerElementLabel']('imageBlock',_0x547733=>_0x436ef7(_0x344e5c,'ELEMENT_IMAGE',_0x547733)),_0x4d2f22[_0x3940('0x4d')]['registerElementLabel'](_0x3940('0x2e'),_0x41a8b7=>_0x436ef7(_0x344e5c,'ELEMENT_INLINE_IMAGE',_0x41a8b7)),_0x4d2f22[_0x3940('0x4d')][_0x3940('0x4c')](_0x3940('0x29'),()=>_0x436ef7(_0x344e5c,_0x3940('0x1d'))),_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')]('ImageUploadEditing')&&_0x4d2f22[_0x3940('0x1e')](_0x3940('0x21')),_0x469dfa[_0x3940('0x44')]['has']('ImageBlockEditing')&&_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')](_0x3940('0x9'))&&(_0x4d2f22['enableCommand'](_0x3940('0x6'),(_0x1c321b,_0x4fbc07)=>{const _0x5d915b=_0x2ee107[_0x3940('0x53')](_0x469dfa[_0x3940('0xb')][_0x3940('0x28')]['selection']);_0x469dfa[_0x3940('0xb')][_0x3940('0x2a')](()=>{_0x4d2f22[_0x3940('0x31')](_0x5d915b,{'commandName':'imageTypeInline','commandParams':[_0x4fbc07]},[],_0x3940('0x56'));});}),_0x4d2f22[_0x3940('0x1e')]('imageTypeBlock',(_0xc25607,_0x48c99d)=>{_0x469dfa[_0x3940('0xb')]['change'](_0x3d0bf7=>{let _0x465231=_0x2ee107['getClosestSelectedImageElement'](_0x469dfa[_0x3940('0xb')][_0x3940('0x28')][_0x3940('0x33')]),_0x55af86=_0x3d0bf7[_0x3940('0x2c')](_0x465231);const _0x187ce2=_0x12c718[_0x3940('0x3f')](_0x55af86[_0x3940('0x1b')],'toPrevious'),_0x151a52=_0x12c718['fromPosition'](_0x55af86[_0x3940('0x1f')],'toNext');_0x4d2f22['forceDefaultExecution'](()=>_0xc25607(_0x48c99d)),_0x465231=_0x2ee107[_0x3940('0x53')](_0x469dfa['model'][_0x3940('0x28')]['selection']),_0x55af86=_0x3d0bf7[_0x3940('0x2c')](_0x465231);const _0x7ca00e=_0x3d0bf7[_0x3940('0x40')](_0x187ce2,_0x151a52);_0x187ce2[_0x3940('0x32')](),_0x151a52['detach'](),_0x4d2f22['markBlockFormat'](_0x465231,{'commandName':_0x3940('0x6'),'commandParams':[_0x48c99d]},[],_0x3940('0xf')),_0x7ca00e[_0x3940('0x1b')]['isBefore'](_0x55af86[_0x3940('0x1b')])&&_0x4d2f22[_0x3940('0x37')](_0x3d0bf7[_0x3940('0x40')](_0x7ca00e[_0x3940('0x1b')],_0x55af86[_0x3940('0x1b')]),_0x3940('0xf')),_0x55af86[_0x3940('0x1f')][_0x3940('0x4b')](_0x7ca00e[_0x3940('0x1f')])&&_0x4d2f22[_0x3940('0x37')](_0x3d0bf7[_0x3940('0x40')](_0x55af86[_0x3940('0x1f')],_0x7ca00e[_0x3940('0x1f')]),_0x3940('0xf'));});}),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x45')]('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x4d2f22[_0x3940('0x1a')]['registerCustomCallback']('formatBlock',_0x3940('0xf'),'accept',()=>!0x1),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x45')]('formatBlock',_0x3940('0xf'),_0x3940('0x43'),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x1')](_0x3940('0x18'),'','accept')),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x45')](_0x3940('0x50'),_0x3940('0xf'),_0x3940('0x5'),()=>!0x1),_0x4d2f22[_0x3940('0x1a')]['registerCustomCallback'](_0x3940('0x50'),'convertInlineImageToBlock',_0x3940('0x43'),([_0x52f265])=>{const _0x5692ac=_0x4d2f22[_0x3940('0x1a')][_0x3940('0x1')](_0x3940('0x50'),'',_0x3940('0x43'));let _0x147d3c=_0x52f265[_0x3940('0x1b')],_0x4e1eb0=_0x52f265['end'];const _0x455a1c=_0x469dfa[_0x3940('0xb')]['schema'][_0x3940('0x10')](_0x147d3c,'backward'),_0xd17c9c=_0x469dfa[_0x3940('0xb')][_0x3940('0x11')][_0x3940('0x10')](_0x4e1eb0,'forward');_0x455a1c['isCollapsed']&&(_0x147d3c=_0x455a1c[_0x3940('0x1b')]),_0xd17c9c[_0x3940('0x2f')]&&(_0x4e1eb0=_0xd17c9c[_0x3940('0x1f')]),_0x5692ac([_0x469dfa['model'][_0x3940('0x40')](_0x147d3c,_0x4e1eb0)]);}),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x45')](_0x3940('0x18'),_0x3940('0xf'),_0x3940('0x4'),_0x40d418),_0x4d2f22[_0x3940('0x1a')][_0x3940('0x45')](_0x3940('0x50'),_0x3940('0xf'),_0x3940('0x4'),_0x40d418)),_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')](_0x3940('0x3e'))&&(_0x4d2f22[_0x3940('0x1e')](_0x3940('0x4a'),(_0x155098,_0x2e8577)=>{const _0x2793d4=_0x469dfa['plugins'][_0x3940('0x54')](_0x3940('0x14'));let _0x34d6fb=_0x2ee107[_0x3940('0x53')](_0x469dfa[_0x3940('0xb')][_0x3940('0x28')][_0x3940('0x33')]),_0x26146e=_0x2793d4[_0x3940('0x13')](_0x34d6fb);_0x469dfa[_0x3940('0xb')]['change'](()=>{if(_0x26146e)return void _0x4d2f22[_0x3940('0x2d')](_0x469dfa[_0x3940('0xb')][_0x3940('0x2c')](_0x26146e));const _0x22ef7b=_0x2ee107[_0x3940('0x22')](_0x34d6fb);_0x155098(_0x2e8577),_0x34d6fb=_0x2ee107['getClosestSelectedImageElement'](_0x469dfa[_0x3940('0xb')][_0x3940('0x28')][_0x3940('0x33')]),_0x26146e=_0x2793d4[_0x3940('0x13')](_0x34d6fb),_0x4d2f22[_0x3940('0x37')](_0x469dfa['model'][_0x3940('0x2c')](_0x26146e),_0x22ef7b?null:_0x3940('0x27'));});}),_0x4d2f22[_0x3940('0x1a')]['registerCustomCallback'](_0x3940('0x50'),'imageCaption','chain',_0x40d418));const _0x86d575=[{'type':_0x3940('0x18'),'subType':_0x3940('0x41')},{'type':_0x3940('0x50'),'subType':'imageCaption'},{'type':_0x3940('0x18'),'subType':_0x3940('0xf')},{'type':_0x3940('0x50'),'subType':_0x3940('0xf')}];function _0x3d8e7f(_0x1604db,_0x5bb11b){const _0x1cd46e=_0x86d575[_0x3940('0x19')](({type:_0x2f2ac8,subType:_0x32d278})=>_0x1604db[_0x3940('0x3c')]==_0x2f2ac8&&_0x1604db[_0x3940('0x3b')]==_0x32d278),_0x40132b=_0x86d575[_0x3940('0x19')](({type:_0x4081d8,subType:_0x33e997})=>_0x5bb11b[_0x3940('0x3c')]==_0x4081d8&&_0x5bb11b[_0x3940('0x3b')]==_0x33e997);if(_0x1cd46e<0x0||_0x40132b<0x0)return!0x1;const _0xe11fe7=_0x1604db[_0x3940('0x38')](),_0x2b3839=_0x5bb11b[_0x3940('0x38')]();if((0x0==_0x1cd46e||0x1==_0x1cd46e)&&0x2==_0x40132b&&_0xe11fe7[_0x3940('0x4f')](_0x2b3839))return!0x0;if(0x2==_0x1cd46e&&0x3==_0x40132b){const _0x4ef680=_0x4d2f22[_0x3940('0x47')](_0xe11fe7,_0x3940('0x50'))['filter'](({suggestion:_0x6da7da,meta:_0x46a069})=>_0x46a069[_0x3940('0xc')]&&_0x3940('0xf')==_0x6da7da[_0x3940('0x3b')]);if(_0x4ef680['length']>0x1&&_0x2b3839[_0x3940('0x1f')][_0x3940('0x17')](_0xe11fe7[_0x3940('0x1b')]))return!0x0;if(0x1==_0x4ef680['length']&&(_0xe11fe7[_0x3940('0x1b')]['isEqual'](_0x2b3839[_0x3940('0x1f')])||_0xe11fe7[_0x3940('0x1f')][_0x3940('0x17')](_0x2b3839[_0x3940('0x1b')])))return!0x0;}if(0x3==_0x1cd46e&&0x3==_0x40132b&&_0xe11fe7[_0x3940('0x1b')]['isBefore'](_0x2b3839[_0x3940('0x1b')])){const _0x57124f=_0xe11fe7[_0x3940('0x1f')][_0x3940('0x52')],_0x33f8a1=_0x2b3839['start'][_0x3940('0x3d')];return _0x2ee107[_0x3940('0x22')](_0x57124f)&&_0x57124f===_0x33f8a1;}return!0x1;}function _0x40d418(_0x324e48,_0x46f717){return _0x3d8e7f(_0x324e48,_0x46f717)?[_0x324e48,_0x46f717]:_0x3d8e7f(_0x46f717,_0x324e48)?[_0x46f717,_0x324e48]:null;}_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')]('ImageResize')&&(_0x4d2f22[_0x3940('0x34')]('resizeImage',[],['resizedWidth']),_0x4d2f22[_0x3940('0x4d')][_0x3940('0x0')](_0x3940('0xa'),_0x436ef7(_0x344e5c,_0x3940('0x48')))),_0x469dfa[_0x3940('0x44')][_0x3940('0x3a')]('ImageTextAlternativeEditing')&&_0x4d2f22[_0x3940('0x34')]('imageTextAlternative',[],[_0x3940('0x39')]),_0x4d2f22[_0x3940('0x4d')][_0x3940('0x26')](_0x5271da=>{if(!!_0x86d575['find'](({type:_0xd3f9b2,subType:_0x3531ef})=>_0x5271da['type']==_0xd3f9b2&&_0x5271da[_0x3940('0x3b')]==_0x3531ef))return _0x5271da[_0x3940('0x51')]?{}:void 0x0;}),_0x4d2f22[_0x3940('0x4d')][_0x3940('0x26')](_0x589a55=>{if(_0x3940('0x50')==_0x589a55[_0x3940('0x3c')]||'deletion'==_0x589a55[_0x3940('0x3c')]){const _0x1809f2=_0x589a55[_0x3940('0xe')]();if(_0x1809f2&&_0x1809f2['is'](_0x3940('0xd'),_0x3940('0x29')))return{'type':'insertion'==_0x589a55[_0x3940('0x3c')]?_0x3940('0x2'):_0x3940('0x49'),'element':_0x1809f2,'quantity':0x1};}}),_0x4d2f22['_descriptionFactory'][_0x3940('0x26')](_0x1c5da5=>'formatBlock'==_0x1c5da5[_0x3940('0x3c')]&&_0x3940('0xf')==_0x1c5da5[_0x3940('0x3b')]?{'type':_0x3940('0x42'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x1c5da5[_0x3940('0x3c')]&&_0x3940('0x56')==_0x1c5da5['subType']?{'type':'format','content':_0x3940('0x1c')}:void 0x0),_0x4d2f22[_0x3940('0x4d')]['registerDescriptionCallback'](_0x1f861f=>{if(_0x3940('0x3')!=_0x1f861f['type'])return;const {data:_0x253e76}=_0x1f861f;if(!_0x253e76||'alt'!=_0x253e76[_0x3940('0x55')])return;const _0x48601b=_0x253e76[_0x3940('0x30')];return _0x48601b?{'type':_0x3940('0x42'),'content':_0x436ef7(_0x344e5c,_0x3940('0x35'),'\x22'+_0x48601b+'\x22')}:{'type':'format','content':_0x436ef7(_0x344e5c,_0x3940('0x2b'))};}),this['_registerLegacyDescription']();}[_0x3940('0x4e')](){const _0x362875=this[_0x3940('0x20')],_0x443402=_0x362875[_0x3940('0x25')];_0x362875[_0x3940('0x44')][_0x3940('0x54')]('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0x20728c=>{if(_0x3940('0x18')!=_0x20728c[_0x3940('0x3c')]&&'formatInline'!=_0x20728c[_0x3940('0x3c')])return;const {data:_0x13db62}=_0x20728c;if(_0x13db62){if(_0x3940('0x8')==_0x13db62['commandName']){const _0x349b48=_0x13db62[_0x3940('0x36')][0x0][_0x3940('0x30')];return _0x349b48?{'type':_0x3940('0x42'),'content':_0x436ef7(_0x443402,_0x3940('0x35'),'\x22'+_0x349b48+'\x22')}:{'type':_0x3940('0x42'),'content':_0x436ef7(_0x443402,'*Remove\x20image\x20text\x20alternative*')};}if(_0x3940('0x16')==_0x13db62[_0x3940('0x7')]){const _0x595128=_0x13db62['commandParams'][0x0][_0x3940('0x23')];return _0x595128?{'type':_0x3940('0x42'),'content':_0x436ef7(_0x443402,_0x3940('0x24'),_0x595128)}:{'type':_0x3940('0x42'),'content':_0x436ef7(_0x443402,_0x3940('0x15'))};}}});}}
23
+ const _0x8215=['detach','isBlockImage','*Set\x20image\x20width:*\x20%0','forward','get','_registerLegacyDescription','createRange','find','isEqual','ImageTextAlternativeEditing','resizedWidth','isIntersecting','convertBlockImageToInline','end','getContainedElement','resizeImage','model','deletion','format','type','imageTypeBlock','subType','change','imageTextAlternative','getSuggestionCallback','nodeAfter','uploadImage','isOwn','convertInlineImageToBlock','isCollapsed','markInsertion','markDeletion','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','registerCustomCallback','ImageInlineEditing','*Remove\x20image\x20text\x20alternative*','imageStylePreApply','addObject','registerElementLabel','imageInline','enableCommand','getCaptionFromImageModelElement','caption','_descriptionFactory','markBlockFormat','_enableDefaultAttributesIntegration','width','ImageBlockEditing','getFirstRange','nodeBefore','getNearestSelectionRange','ImageUtils','imageBlock','imageCaption','element','key','getClosestSelectedImageElement','commandParams','attribute','imageTypeInline','ImageCaptionEditing','document','ELEMENT_IMAGE','discard','toNext','fromPosition','forceDefaultExecution','newValue','selection','*Reset\x20image\x20width*','createRangeOn','alt','commandName','start','backward','toggleImageCaption','ImageResize','TrackChangesEditing','accept','length','_findSuggestions','filter','chain','locale','removeObject','plugins','*Set\x20image\x20text\x20alternative:*\x20%0','formatInline','formatBlock','afterInit','editor','isBefore','_suggestionFactory','has','insertion','findIndex'];(function(_0x2183d7,_0x8215e2){const _0x1db262=function(_0x1a2199){while(--_0x1a2199){_0x2183d7['push'](_0x2183d7['shift']());}};_0x1db262(++_0x8215e2);}(_0x8215,0xf0));const _0x1db2=function(_0x2183d7,_0x8215e2){_0x2183d7=_0x2183d7-0x0;let _0x1db262=_0x8215[_0x2183d7];return _0x1db262;};import{Plugin as _0x156cc4}from'ckeditor5/src/core';import{LivePosition as _0x3f9834}from'ckeditor5/src/engine';import{getTranslation as _0x5892da}from'../utils/common-translations';export default class it extends _0x156cc4{[_0x1db2('0x2c')](){const _0x18e3b1=this['editor'];if(!_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x30')]('ImageEditing'))return;const _0x2aad8c=_0x18e3b1[_0x1db2('0x28')]['get'](_0x1db2('0x20')),_0x98a610=_0x18e3b1['plugins']['get'](_0x1db2('0x6')),_0x54bf0c=_0x18e3b1[_0x1db2('0x26')];_0x2aad8c['enableCommand']('insertImage'),_0x2aad8c[_0x1db2('0x5f')][_0x1db2('0x5a')](_0x1db2('0x7'),_0x145774=>_0x5892da(_0x54bf0c,_0x1db2('0x11'),_0x145774)),_0x2aad8c[_0x1db2('0x5f')]['registerElementLabel'](_0x1db2('0x5b'),_0x544948=>_0x5892da(_0x54bf0c,'ELEMENT_INLINE_IMAGE',_0x544948)),_0x2aad8c[_0x1db2('0x5f')]['registerElementLabel'](_0x1db2('0x5e'),()=>_0x5892da(_0x54bf0c,'ELEMENT_CAPTION')),_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x30')]('ImageUploadEditing')&&_0x2aad8c['enableCommand'](_0x1db2('0x4d')),_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x30')](_0x1db2('0x2'))&&_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x30')](_0x1db2('0x56'))&&(_0x2aad8c['enableCommand']('imageTypeInline',(_0xd5790a,_0x48b31f)=>{const _0x3721cc=_0x98a610[_0x1db2('0xb')](_0x18e3b1[_0x1db2('0x43')][_0x1db2('0x10')][_0x1db2('0x17')]);_0x18e3b1['model'][_0x1db2('0x49')](()=>{_0x2aad8c[_0x1db2('0x60')](_0x3721cc,{'commandName':'imageTypeInline','commandParams':[_0x48b31f]},[],_0x1db2('0x3f'));});}),_0x2aad8c[_0x1db2('0x5c')](_0x1db2('0x47'),(_0x539121,_0x1c69c3)=>{_0x18e3b1[_0x1db2('0x43')][_0x1db2('0x49')](_0x649b22=>{let _0x7a568f=_0x98a610[_0x1db2('0xb')](_0x18e3b1[_0x1db2('0x43')][_0x1db2('0x10')][_0x1db2('0x17')]),_0xd26bbc=_0x649b22['createRangeOn'](_0x7a568f);const _0x36e4ab=_0x3f9834[_0x1db2('0x14')](_0xd26bbc[_0x1db2('0x1c')],'toPrevious'),_0x3bf071=_0x3f9834['fromPosition'](_0xd26bbc[_0x1db2('0x40')],_0x1db2('0x13'));_0x2aad8c[_0x1db2('0x15')](()=>_0x539121(_0x1c69c3)),_0x7a568f=_0x98a610[_0x1db2('0xb')](_0x18e3b1[_0x1db2('0x43')][_0x1db2('0x10')][_0x1db2('0x17')]),_0xd26bbc=_0x649b22[_0x1db2('0x19')](_0x7a568f);const _0xca227a=_0x649b22[_0x1db2('0x39')](_0x36e4ab,_0x3bf071);_0x36e4ab[_0x1db2('0x33')](),_0x3bf071[_0x1db2('0x33')](),_0x2aad8c[_0x1db2('0x60')](_0x7a568f,{'commandName':_0x1db2('0xe'),'commandParams':[_0x1c69c3]},[],'convertInlineImageToBlock'),_0xca227a[_0x1db2('0x1c')][_0x1db2('0x2e')](_0xd26bbc[_0x1db2('0x1c')])&&_0x2aad8c['markInsertion'](_0x649b22[_0x1db2('0x39')](_0xca227a[_0x1db2('0x1c')],_0xd26bbc[_0x1db2('0x1c')]),_0x1db2('0x4f')),_0xd26bbc['end'][_0x1db2('0x2e')](_0xca227a[_0x1db2('0x40')])&&_0x2aad8c[_0x1db2('0x51')](_0x649b22[_0x1db2('0x39')](_0xd26bbc[_0x1db2('0x40')],_0xca227a['end']),_0x1db2('0x4f'));});}),_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x55')](_0x1db2('0x2b'),_0x1db2('0x4f'),'join',()=>!0x1),_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x55')](_0x1db2('0x2b'),_0x1db2('0x4f'),_0x1db2('0x21'),()=>!0x1),_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x55')]('formatBlock',_0x1db2('0x4f'),'discard',_0x2aad8c['_suggestionFactory'][_0x1db2('0x4b')]('formatBlock','',_0x1db2('0x21'))),_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x55')](_0x1db2('0x31'),_0x1db2('0x4f'),'join',()=>!0x1),_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x55')](_0x1db2('0x31'),_0x1db2('0x4f'),_0x1db2('0x12'),([_0x29cb14])=>{const _0x2d2755=_0x2aad8c[_0x1db2('0x2f')][_0x1db2('0x4b')]('insertion','',_0x1db2('0x12'));let _0x47daba=_0x29cb14[_0x1db2('0x1c')],_0x2234e6=_0x29cb14[_0x1db2('0x40')];const _0x2baa2b=_0x18e3b1['model']['schema'][_0x1db2('0x5')](_0x47daba,_0x1db2('0x1d')),_0xec308f=_0x18e3b1[_0x1db2('0x43')]['schema']['getNearestSelectionRange'](_0x2234e6,_0x1db2('0x36'));_0x2baa2b[_0x1db2('0x50')]&&(_0x47daba=_0x2baa2b[_0x1db2('0x1c')]),_0xec308f[_0x1db2('0x50')]&&(_0x2234e6=_0xec308f['end']),_0x2d2755([_0x18e3b1['model'][_0x1db2('0x39')](_0x47daba,_0x2234e6)]);}),_0x2aad8c[_0x1db2('0x2f')]['registerCustomCallback'](_0x1db2('0x2b'),_0x1db2('0x4f'),_0x1db2('0x25'),_0x1946f2),_0x2aad8c[_0x1db2('0x2f')]['registerCustomCallback'](_0x1db2('0x31'),_0x1db2('0x4f'),_0x1db2('0x25'),_0x1946f2)),_0x18e3b1[_0x1db2('0x28')]['has'](_0x1db2('0xf'))&&(_0x2aad8c[_0x1db2('0x5c')](_0x1db2('0x1e'),(_0x1c0782,_0xe105a9)=>{const _0x14efa2=_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x37')]('ImageCaptionUtils');let _0x11eacc=_0x98a610['getClosestSelectedImageElement'](_0x18e3b1['model'][_0x1db2('0x10')][_0x1db2('0x17')]),_0x586889=_0x14efa2[_0x1db2('0x5d')](_0x11eacc);_0x18e3b1[_0x1db2('0x43')]['change'](()=>{if(_0x586889)return void _0x2aad8c[_0x1db2('0x52')](_0x18e3b1['model']['createRangeOn'](_0x586889));const _0xdcd9d1=_0x98a610[_0x1db2('0x34')](_0x11eacc);_0x1c0782(_0xe105a9),_0x11eacc=_0x98a610[_0x1db2('0xb')](_0x18e3b1[_0x1db2('0x43')]['document']['selection']),_0x586889=_0x14efa2[_0x1db2('0x5d')](_0x11eacc),_0x2aad8c[_0x1db2('0x51')](_0x18e3b1[_0x1db2('0x43')][_0x1db2('0x19')](_0x586889),_0xdcd9d1?null:'imageCaption');});}),_0x2aad8c['_suggestionFactory'][_0x1db2('0x55')](_0x1db2('0x31'),_0x1db2('0x8'),_0x1db2('0x25'),_0x1946f2));const _0xc1e362=[{'type':_0x1db2('0x2b'),'subType':_0x1db2('0x58')},{'type':'insertion','subType':_0x1db2('0x8')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x1db2('0x31'),'subType':_0x1db2('0x4f')}];function _0x1eb66f(_0xd26c01,_0x4fab1e){const _0x51c410=_0xc1e362['findIndex'](({type:_0x534d22,subType:_0x91a4f6})=>_0xd26c01['type']==_0x534d22&&_0xd26c01[_0x1db2('0x48')]==_0x91a4f6),_0x29783d=_0xc1e362[_0x1db2('0x32')](({type:_0x1e3936,subType:_0x2efacb})=>_0x4fab1e['type']==_0x1e3936&&_0x4fab1e[_0x1db2('0x48')]==_0x2efacb);if(_0x51c410<0x0||_0x29783d<0x0)return!0x1;const _0x5a0324=_0xd26c01[_0x1db2('0x3')](),_0x2b30be=_0x4fab1e[_0x1db2('0x3')]();if((0x0==_0x51c410||0x1==_0x51c410)&&0x2==_0x29783d&&_0x5a0324[_0x1db2('0x3e')](_0x2b30be))return!0x0;if(0x2==_0x51c410&&0x3==_0x29783d){const _0x461f97=_0x2aad8c[_0x1db2('0x23')](_0x5a0324,_0x1db2('0x31'))[_0x1db2('0x24')](({suggestion:_0x40c547,meta:_0x82808b})=>_0x82808b[_0x1db2('0x4e')]&&_0x1db2('0x4f')==_0x40c547['subType']);if(_0x461f97[_0x1db2('0x22')]>0x1&&_0x2b30be[_0x1db2('0x40')][_0x1db2('0x3b')](_0x5a0324[_0x1db2('0x1c')]))return!0x0;if(0x1==_0x461f97[_0x1db2('0x22')]&&(_0x5a0324[_0x1db2('0x1c')][_0x1db2('0x3b')](_0x2b30be[_0x1db2('0x40')])||_0x5a0324['end'][_0x1db2('0x3b')](_0x2b30be[_0x1db2('0x1c')])))return!0x0;}if(0x3==_0x51c410&&0x3==_0x29783d&&_0x5a0324[_0x1db2('0x1c')][_0x1db2('0x2e')](_0x2b30be[_0x1db2('0x1c')])){const _0x58fa52=_0x5a0324[_0x1db2('0x40')][_0x1db2('0x4c')],_0x33ed77=_0x2b30be[_0x1db2('0x1c')][_0x1db2('0x4')];return _0x98a610[_0x1db2('0x34')](_0x58fa52)&&_0x58fa52===_0x33ed77;}return!0x1;}function _0x1946f2(_0x354791,_0x27b0c0){return _0x1eb66f(_0x354791,_0x27b0c0)?[_0x354791,_0x27b0c0]:_0x1eb66f(_0x27b0c0,_0x354791)?[_0x27b0c0,_0x354791]:null;}_0x18e3b1[_0x1db2('0x28')][_0x1db2('0x30')](_0x1db2('0x1f'))&&(_0x2aad8c[_0x1db2('0x0')](_0x1db2('0x42'),[],[_0x1db2('0x3d')]),_0x2aad8c[_0x1db2('0x5f')]['registerAttributeLabel'](_0x1db2('0x3d'),_0x5892da(_0x54bf0c,'FORMAT_IMAGE_SIZE'))),_0x18e3b1[_0x1db2('0x28')]['has'](_0x1db2('0x3c'))&&_0x2aad8c[_0x1db2('0x0')](_0x1db2('0x4a'),[],[_0x1db2('0x1a')]),_0x2aad8c[_0x1db2('0x5f')][_0x1db2('0x53')](_0x56d235=>{if(!!_0xc1e362[_0x1db2('0x3a')](({type:_0x57e7fa,subType:_0x5ae369})=>_0x56d235[_0x1db2('0x46')]==_0x57e7fa&&_0x56d235[_0x1db2('0x48')]==_0x5ae369))return _0x56d235['previous']?{}:void 0x0;}),_0x2aad8c[_0x1db2('0x5f')]['registerDescriptionCallback'](_0x51a8f1=>{if(_0x1db2('0x31')==_0x51a8f1[_0x1db2('0x46')]||_0x1db2('0x44')==_0x51a8f1[_0x1db2('0x46')]){const _0x438790=_0x51a8f1[_0x1db2('0x41')]();if(_0x438790&&_0x438790['is'](_0x1db2('0x9'),_0x1db2('0x5e')))return{'type':_0x1db2('0x31')==_0x51a8f1[_0x1db2('0x46')]?_0x1db2('0x59'):_0x1db2('0x27'),'element':_0x438790,'quantity':0x1};}}),_0x2aad8c[_0x1db2('0x5f')][_0x1db2('0x53')](_0x3d726a=>_0x1db2('0x2b')==_0x3d726a[_0x1db2('0x46')]&&'convertInlineImageToBlock'==_0x3d726a['subType']?{'type':_0x1db2('0x45'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x1db2('0x2b')==_0x3d726a[_0x1db2('0x46')]&&'convertBlockImageToInline'==_0x3d726a['subType']?{'type':_0x1db2('0x45'),'content':_0x1db2('0x54')}:void 0x0),_0x2aad8c[_0x1db2('0x5f')][_0x1db2('0x53')](_0x565edf=>{if(_0x1db2('0xd')!=_0x565edf['type'])return;const {data:_0x2cc40d}=_0x565edf;if(!_0x2cc40d||'alt'!=_0x2cc40d[_0x1db2('0xa')])return;const _0x317f12=_0x2cc40d[_0x1db2('0x16')];return _0x317f12?{'type':_0x1db2('0x45'),'content':_0x5892da(_0x54bf0c,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x317f12+'\x22')}:{'type':_0x1db2('0x45'),'content':_0x5892da(_0x54bf0c,_0x1db2('0x57'))};}),this[_0x1db2('0x38')]();}[_0x1db2('0x38')](){const _0x35508e=this[_0x1db2('0x2d')],_0x2639ee=_0x35508e[_0x1db2('0x26')];_0x35508e[_0x1db2('0x28')][_0x1db2('0x37')](_0x1db2('0x20'))[_0x1db2('0x5f')][_0x1db2('0x53')](_0x4d2dde=>{if(_0x1db2('0x2b')!=_0x4d2dde['type']&&_0x1db2('0x2a')!=_0x4d2dde[_0x1db2('0x46')])return;const {data:_0x4e41e5}=_0x4d2dde;if(_0x4e41e5){if(_0x1db2('0x4a')==_0x4e41e5['commandName']){const _0x33461f=_0x4e41e5[_0x1db2('0xc')][0x0][_0x1db2('0x16')];return _0x33461f?{'type':_0x1db2('0x45'),'content':_0x5892da(_0x2639ee,_0x1db2('0x29'),'\x22'+_0x33461f+'\x22')}:{'type':_0x1db2('0x45'),'content':_0x5892da(_0x2639ee,_0x1db2('0x57'))};}if('resizeImage'==_0x4e41e5[_0x1db2('0x1b')]){const _0x333bf9=_0x4e41e5[_0x1db2('0xc')][0x0][_0x1db2('0x1')];return _0x333bf9?{'type':_0x1db2('0x45'),'content':_0x5892da(_0x2639ee,_0x1db2('0x35'),_0x333bf9)}:{'type':_0x1db2('0x45'),'content':_0x5892da(_0x2639ee,_0x1db2('0x18'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6ea0=['plugins','get','has','afterInit','editor','type','oldValue','*Format:*\x20replace\x20image\x20URL','_descriptionFactory','_registerLegacyDescription','newValue','attribute','registerDescriptionCallback','format','replaceImageSource','key','ImageEditing','formatBlock','formatInline','src'];(function(_0x13e844,_0x6ea0b5){const _0x222a0d=function(_0x96d38a){while(--_0x96d38a){_0x13e844['push'](_0x13e844['shift']());}};_0x222a0d(++_0x6ea0b5);}(_0x6ea0,0xb7));const _0x222a=function(_0x13e844,_0x6ea0b5){_0x13e844=_0x13e844-0x0;let _0x222a0d=_0x6ea0[_0x13e844];return _0x222a0d;};import{Plugin as _0x14aa91}from'ckeditor5/src/core';import{getTranslation as _0x544a54}from'../utils/common-translations';export default class et extends _0x14aa91{[_0x222a('0x0')](){if(!this[_0x222a('0x1')][_0x222a('0x11')][_0x222a('0x13')](_0x222a('0xd')))return;const _0x38d75a=this[_0x222a('0x1')]['locale'],_0x4ba17a=this[_0x222a('0x1')]['plugins'][_0x222a('0x12')]('TrackChangesEditing');_0x4ba17a['enableDefaultIntegration']('replaceImageSource',[],[_0x222a('0x10')]),_0x4ba17a['_descriptionFactory']['registerDescriptionCallback'](_0x1a7864=>{if(_0x222a('0x8')!=_0x1a7864[_0x222a('0x2')])return;const {data:_0x86c1c8}=_0x1a7864;return _0x86c1c8&&_0x222a('0x10')==_0x86c1c8[_0x222a('0xc')]?_0x86c1c8[_0x222a('0x7')]&&_0x86c1c8[_0x222a('0x3')]?{'type':_0x222a('0xa'),'content':_0x544a54(_0x38d75a,_0x222a('0x4'))}:{'type':_0x222a('0xa'),'content':''}:void 0x0;}),this['_registerLegacyDescription']();}[_0x222a('0x6')](){const _0x49a809=this[_0x222a('0x1')],_0x1daa76=_0x49a809['locale'];_0x49a809['plugins'][_0x222a('0x12')]('TrackChangesEditing')[_0x222a('0x5')][_0x222a('0x9')](_0x4c5cc6=>{if(_0x222a('0xe')!=_0x4c5cc6['type']&&_0x222a('0xf')!=_0x4c5cc6[_0x222a('0x2')])return;const {data:_0x359c46}=_0x4c5cc6;if(_0x359c46&&_0x222a('0xb')===_0x359c46['commandName'])return{'type':_0x222a('0xa'),'content':_0x544a54(_0x1daa76,_0x222a('0x4'))};});}}
23
+ const _0x43ce=['get','formatBlock','replaceImageSource','accept','_registerLegacyDescription','editor','src','_enableDefaultAttributesIntegration','format','key','has','registerCustomCallback','plugins','_suggestionFactory','registerDescriptionCallback','discard','type','ImageEditing','_handleLegacySuggestions','TrackChangesEditing','_descriptionFactory','newValue','locale','formatInline'];(function(_0x3ac107,_0x43ce40){const _0x3fd105=function(_0x28ae3c){while(--_0x28ae3c){_0x3ac107['push'](_0x3ac107['shift']());}};_0x3fd105(++_0x43ce40);}(_0x43ce,0x15b));const _0x3fd1=function(_0x3ac107,_0x43ce40){_0x3ac107=_0x3ac107-0x0;let _0x3fd105=_0x43ce[_0x3ac107];return _0x3fd105;};import{Plugin as _0x164eef}from'ckeditor5/src/core';import{getTranslation as _0x36adcd}from'../utils/common-translations';export default class et extends _0x164eef{['afterInit'](){if(!this['editor'][_0x3fd1('0x1')][_0x3fd1('0x17')](_0x3fd1('0x6')))return;const _0x57cd57=this[_0x3fd1('0x12')][_0x3fd1('0xb')],_0x13979d=this['editor'][_0x3fd1('0x1')][_0x3fd1('0xd')]('TrackChangesEditing');_0x13979d[_0x3fd1('0x14')](_0x3fd1('0xf'),[],[_0x3fd1('0x13')]),_0x13979d[_0x3fd1('0x9')][_0x3fd1('0x3')](_0x16bfbd=>{if('attribute'!=_0x16bfbd['type'])return;const {data:_0x4da02f}=_0x16bfbd;return _0x4da02f&&_0x3fd1('0x13')==_0x4da02f[_0x3fd1('0x16')]?_0x4da02f[_0x3fd1('0xa')]&&_0x4da02f['oldValue']?{'type':'format','content':_0x36adcd(_0x57cd57,'*Replace\x20image\x20URL*')}:{'type':_0x3fd1('0x15'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x3fd1('0x7')](){const _0x509773=this[_0x3fd1('0x12')][_0x3fd1('0x1')][_0x3fd1('0xd')](_0x3fd1('0x8'));_0x509773['_suggestionFactory']['registerCustomCallback'](_0x3fd1('0xe'),'replaceImageSource',_0x3fd1('0x10'),_0x509773['_suggestionFactory']['getSuggestionCallback'](_0x3fd1('0xe'),null,_0x3fd1('0x4'))),_0x509773[_0x3fd1('0x2')][_0x3fd1('0x0')](_0x3fd1('0xe'),_0x3fd1('0xf'),'discard',_0x509773[_0x3fd1('0x2')]['getSuggestionCallback'](_0x3fd1('0xe'),null,'accept')),this[_0x3fd1('0x11')]();}[_0x3fd1('0x11')](){const _0x279f09=this['editor'],_0x113585=_0x279f09[_0x3fd1('0xb')];_0x279f09[_0x3fd1('0x1')][_0x3fd1('0xd')](_0x3fd1('0x8'))[_0x3fd1('0x9')][_0x3fd1('0x3')](_0x2b2082=>{if(_0x3fd1('0xe')!=_0x2b2082[_0x3fd1('0x5')]&&_0x3fd1('0xc')!=_0x2b2082[_0x3fd1('0x5')])return;const {data:_0x2bbbd5}=_0x2b2082;return _0x2bbbd5&&'replaceImageSource'===_0x2bbbd5['commandName']?{'type':_0x3fd1('0x15'),'content':_0x36adcd(_0x113585,'*Replace\x20image\x20URL*')}:void 0x0;});}}