@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240131.0 → 0.0.0-nightly-20240202.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 (69) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/ro.js +1 -1
  3. package/lang/translations/ro.po +1 -1
  4. package/package.json +3 -3
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.js +1 -1
  7. package/src/commands/executeonallsuggestionscommand.js +1 -1
  8. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  9. package/src/commands/trackchangescommand.js +1 -1
  10. package/src/integrations/aiassistant.js +1 -1
  11. package/src/integrations/alignment.js +1 -1
  12. package/src/integrations/basicstyles.js +1 -1
  13. package/src/integrations/blockquote.js +1 -1
  14. package/src/integrations/casechange.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/legacylist.js +1 -1
  34. package/src/integrations/legacylistproperties.js +1 -1
  35. package/src/integrations/link.js +1 -1
  36. package/src/integrations/list.js +1 -1
  37. package/src/integrations/listproperties.js +1 -1
  38. package/src/integrations/mediaembed.js +1 -1
  39. package/src/integrations/mention.js +1 -1
  40. package/src/integrations/pagebreak.js +1 -1
  41. package/src/integrations/paragraph.js +1 -1
  42. package/src/integrations/removeformat.js +1 -1
  43. package/src/integrations/restrictededitingmode.js +1 -1
  44. package/src/integrations/shiftentercommand.js +1 -1
  45. package/src/integrations/standardeditingmode.js +1 -1
  46. package/src/integrations/style.js +1 -1
  47. package/src/integrations/table.js +1 -1
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.js +1 -1
  50. package/src/integrations/tablecolumnresize.js +1 -1
  51. package/src/integrations/tableheadings.js +1 -1
  52. package/src/integrations/tablemergesplit.js +1 -1
  53. package/src/integrations/tableofcontents.js +1 -1
  54. package/src/integrations/tableproperties.js +1 -1
  55. package/src/integrations/template.js +1 -1
  56. package/src/integrations/title.js +1 -1
  57. package/src/integrations/undo.js +1 -1
  58. package/src/integrations/utils.js +1 -1
  59. package/src/suggestion.js +1 -1
  60. package/src/suggestiondescriptionfactory.js +1 -1
  61. package/src/trackchanges.js +1 -1
  62. package/src/trackchangesdata.js +1 -1
  63. package/src/trackchangesediting.js +1 -1
  64. package/src/trackchangesui.js +1 -1
  65. package/src/ui/suggestioncontroller.js +1 -1
  66. package/src/ui/view/basesuggestionthreadview.js +1 -1
  67. package/src/ui/view/suggestionthreadview.js +1 -1
  68. package/src/utils/common-translations.js +1 -1
  69. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b11=['_getHeadingLevel','config','commandName','view','registerDescriptionCallback','has','ELEMENT_HEADING_CUSTOM','plugins','ELEMENT_HEADING','editor','format','heading','commandParams','*Change\x20to:*\x20%0','value','model','title','afterInit','_enableDefaultAttributesIntegration','HeadingEditing','_headingOptions','match','type','formatBlock','TrackChangesEditing','heading.options','registerElementLabel','paragraph','get','find','_descriptionFactory','_registerLegacyDescription'];(function(_0x28ec83,_0x1b1101){const _0x2fc226=function(_0x557ab8){while(--_0x557ab8){_0x28ec83['push'](_0x28ec83['shift']());}};_0x2fc226(++_0x1b1101);}(_0x1b11,0x110));const _0x2fc2=function(_0x28ec83,_0x1b1101){_0x28ec83=_0x28ec83-0x0;let _0x2fc226=_0x1b11[_0x28ec83];return _0x2fc226;};import{Plugin as _0x20e3e2}from'ckeditor5/src/core.js';import{getTranslation as _0x333764}from'../utils/common-translations.js';export default class Y extends _0x20e3e2{[_0x2fc2('0x1')](){const _0xeaa252=this['editor'];if(!_0xeaa252[_0x2fc2('0x17')][_0x2fc2('0x15')](_0x2fc2('0x3')))return;this[_0x2fc2('0x4')]=_0xeaa252[_0x2fc2('0x11')][_0x2fc2('0xc')](_0x2fc2('0x9'));const _0x4376d7=_0xeaa252['locale'],_0x502e90=_0xeaa252[_0x2fc2('0x17')][_0x2fc2('0xc')]('TrackChangesEditing');_0x502e90[_0x2fc2('0x2')]('heading');for(const _0x4e9b30 of this['_headingOptions'])_0x2fc2('0xb')!=_0x4e9b30[_0x2fc2('0x1f')]&&_0x502e90[_0x2fc2('0xe')][_0x2fc2('0xa')](_0x4e9b30[_0x2fc2('0x1f')],_0x1340a0=>{const _0x531392=this[_0x2fc2('0x10')](_0x4e9b30[_0x2fc2('0x1f')]);return null!==_0x531392?_0x2d2f8d(_0x1340a0,_0x531392):_0x1b49c1(_0x1340a0,_0x4e9b30[_0x2fc2('0x0')]);});function _0x2d2f8d(_0x2a39d5,_0x42caad){return _0x333764(_0x4376d7,_0x2fc2('0x18'),[_0x2a39d5,_0x42caad]);}function _0x1b49c1(_0x3a9a0c,_0x3eb548){return _0x333764(_0x4376d7,_0x2fc2('0x16'),[_0x3a9a0c,_0x3eb548]);}this['_registerLegacyDescription']();}[_0x2fc2('0xf')](){const _0x29b4d5=this[_0x2fc2('0x19')],_0x545e20=_0x29b4d5['locale'];function _0x5d56ba(_0x5758a9,_0x1aa7e6){return _0x333764(_0x545e20,_0x2fc2('0x16'),[_0x5758a9,_0x1aa7e6]);}_0x29b4d5[_0x2fc2('0x17')][_0x2fc2('0xc')](_0x2fc2('0x8'))[_0x2fc2('0xe')][_0x2fc2('0x14')](_0xe2050a=>{if(_0x2fc2('0x7')!=_0xe2050a[_0x2fc2('0x6')])return;const {data:_0x40a465}=_0xe2050a;if(_0x40a465&&_0x2fc2('0x1b')==_0x40a465[_0x2fc2('0x12')]){const _0x5aa390=_0x40a465[_0x2fc2('0x1c')][0x0][_0x2fc2('0x1e')],_0x3a0efc=this['_getHeadingLevel'](_0x5aa390);if(null!==_0x3a0efc)return{'type':_0x2fc2('0x1a'),'content':_0x333764(_0x545e20,'*Change\x20to:*\x20%0',(_0x11a15f=0x1,_0x39d68a=_0x3a0efc,_0x333764(_0x545e20,_0x2fc2('0x18'),[_0x11a15f,_0x39d68a])))};const _0x1711b2=this[_0x2fc2('0x4')][_0x2fc2('0xd')](_0x2dc212=>_0x2dc212[_0x2fc2('0x1f')]===_0x5aa390)[_0x2fc2('0x0')];return{'type':_0x2fc2('0x1a'),'content':_0x333764(_0x545e20,_0x2fc2('0x1d'),_0x5d56ba(0x1,_0x1711b2))};}var _0x11a15f,_0x39d68a;});}[_0x2fc2('0x10')](_0x5904fb){var _0x49eafe,_0x112d0b;const _0x10371b=_0x5904fb[_0x2fc2('0x5')](/^heading(\d+)/);if(_0x10371b)return _0x10371b[0x1];const _0x53494c=null===(_0x49eafe=this[_0x2fc2('0x4')])||void 0x0===_0x49eafe?void 0x0:_0x49eafe[_0x2fc2('0xd')](_0x2364a8=>_0x2364a8[_0x2fc2('0x1f')]==_0x5904fb);if(_0x53494c&&_0x53494c[_0x2fc2('0x13')]){const _0x2d88fe=_0x53494c[_0x2fc2('0x13')],_0x2fd97d=(null!==(_0x112d0b=_0x2d88fe['name'])&&void 0x0!==_0x112d0b?_0x112d0b:_0x2d88fe)['match'](/^h(\d+)/);if(_0x2fd97d)return _0x2fd97d[0x1];}return null;}}
23
+ const _0x36dc=['match','_getHeadingLevel','type','ELEMENT_HEADING','_enableDefaultAttributesIntegration','_headingOptions','plugins','find','get','editor','formatBlock','*Change\x20to:*\x20%0','ELEMENT_HEADING_CUSTOM','heading.options','title','commandParams','locale','value','paragraph','config','TrackChangesEditing','commandName','view','has','model','afterInit','registerDescriptionCallback','_descriptionFactory','format','heading'];(function(_0x168a9a,_0x36dc45){const _0x4bd1fb=function(_0x19aac2){while(--_0x19aac2){_0x168a9a['push'](_0x168a9a['shift']());}};_0x4bd1fb(++_0x36dc45);}(_0x36dc,0xc2));const _0x4bd1=function(_0x168a9a,_0x36dc45){_0x168a9a=_0x168a9a-0x0;let _0x4bd1fb=_0x36dc[_0x168a9a];return _0x4bd1fb;};import{Plugin as _0x4522a2}from'ckeditor5/src/core.js';import{getTranslation as _0x3dd722}from'../utils/common-translations.js';export default class Y extends _0x4522a2{[_0x4bd1('0xb')](){const _0x4870cd=this[_0x4bd1('0x19')];if(!_0x4870cd[_0x4bd1('0x16')][_0x4bd1('0x9')]('HeadingEditing'))return;this[_0x4bd1('0x15')]=_0x4870cd[_0x4bd1('0x5')][_0x4bd1('0x18')](_0x4bd1('0x1d'));const _0x47ea7f=_0x4870cd[_0x4bd1('0x2')],_0x83977f=_0x4870cd[_0x4bd1('0x16')]['get'](_0x4bd1('0x6'));_0x83977f[_0x4bd1('0x14')](_0x4bd1('0xf'));for(const _0x2e86a1 of this[_0x4bd1('0x15')])_0x4bd1('0x4')!=_0x2e86a1[_0x4bd1('0xa')]&&_0x83977f['_descriptionFactory']['registerElementLabel'](_0x2e86a1['model'],_0x30b815=>{const _0x1acd49=this[_0x4bd1('0x11')](_0x2e86a1[_0x4bd1('0xa')]);return null!==_0x1acd49?_0x4c6aa8(_0x30b815,_0x1acd49):_0x433009(_0x30b815,_0x2e86a1[_0x4bd1('0x0')]);});function _0x4c6aa8(_0x63d334,_0x2ed8eb){return _0x3dd722(_0x47ea7f,'ELEMENT_HEADING',[_0x63d334,_0x2ed8eb]);}function _0x433009(_0x2a622c,_0x443b77){return _0x3dd722(_0x47ea7f,_0x4bd1('0x1c'),[_0x2a622c,_0x443b77]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x438419=this['editor'],_0x181044=_0x438419[_0x4bd1('0x2')];function _0x52e9a5(_0x1f3b0a,_0x45bb79){return _0x3dd722(_0x181044,_0x4bd1('0x1c'),[_0x1f3b0a,_0x45bb79]);}_0x438419[_0x4bd1('0x16')][_0x4bd1('0x18')](_0x4bd1('0x6'))[_0x4bd1('0xd')][_0x4bd1('0xc')](_0x5efbcf=>{if(_0x4bd1('0x1a')!=_0x5efbcf[_0x4bd1('0x12')])return;const {data:_0x409ed6}=_0x5efbcf;if(_0x409ed6&&_0x4bd1('0xf')==_0x409ed6[_0x4bd1('0x7')]){const _0x610e4f=_0x409ed6[_0x4bd1('0x1')][0x0][_0x4bd1('0x3')],_0x554979=this[_0x4bd1('0x11')](_0x610e4f);if(null!==_0x554979)return{'type':_0x4bd1('0xe'),'content':_0x3dd722(_0x181044,_0x4bd1('0x1b'),(_0x1af278=0x1,_0xb40ff9=_0x554979,_0x3dd722(_0x181044,_0x4bd1('0x13'),[_0x1af278,_0xb40ff9])))};const _0x3423de=this[_0x4bd1('0x15')]['find'](_0x46a48f=>_0x46a48f[_0x4bd1('0xa')]===_0x610e4f)['title'];return{'type':_0x4bd1('0xe'),'content':_0x3dd722(_0x181044,_0x4bd1('0x1b'),_0x52e9a5(0x1,_0x3423de))};}var _0x1af278,_0xb40ff9;});}[_0x4bd1('0x11')](_0xdb60f8){var _0x2b7f27,_0x1519d4;const _0x57b165=_0xdb60f8[_0x4bd1('0x10')](/^heading(\d+)/);if(_0x57b165)return _0x57b165[0x1];const _0x556a5e=null===(_0x2b7f27=this['_headingOptions'])||void 0x0===_0x2b7f27?void 0x0:_0x2b7f27[_0x4bd1('0x17')](_0xc98fb9=>_0xc98fb9['model']==_0xdb60f8);if(_0x556a5e&&_0x556a5e['view']){const _0x394f75=_0x556a5e[_0x4bd1('0x8')],_0x5c9e6b=(null!==(_0x1519d4=_0x394f75['name'])&&void 0x0!==_0x1519d4?_0x1519d4:_0x394f75)[_0x4bd1('0x10')](/^h(\d+)/);if(_0x5c9e6b)return _0x5c9e6b[0x1];}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x472a=['title','registerDescriptionCallback','editor','has','highlight.options','_enableDefaultAttributesIntegration','afterInit','type','_descriptionFactory','plugins','*Set\x20highlight:*\x20%0','formatInline','color','highlight','toLowerCase','find','locale','config','FORMAT_HIGHLIGHT','commandName','get','format','_registerLegacyDescription','registerAttributeLabel','HighlightEditing','model','TrackChangesEditing'];(function(_0x3bab28,_0x472aa6){const _0x27e58a=function(_0xb6e306){while(--_0xb6e306){_0x3bab28['push'](_0x3bab28['shift']());}};_0x27e58a(++_0x472aa6);}(_0x472a,0x15e));const _0x27e5=function(_0x3bab28,_0x472aa6){_0x3bab28=_0x3bab28-0x0;let _0x27e58a=_0x472a[_0x3bab28];return _0x27e58a;};import{Plugin as _0x4b8ca5}from'ckeditor5/src/core.js';import{getTranslation as _0x43bd9d}from'../utils/common-translations.js';export default class Z extends _0x4b8ca5{[_0x27e5('0x7')](){const _0x23b2b7=this[_0x27e5('0x3')];if(!_0x23b2b7[_0x27e5('0xa')][_0x27e5('0x4')](_0x27e5('0x19')))return;const _0x4c0ab4=_0x23b2b7['plugins']['get']('TrackChangesEditing'),_0x2be5b6=_0x23b2b7[_0x27e5('0x11')];_0x4c0ab4[_0x27e5('0x6')]('highlight',['highlight']),_0x4c0ab4[_0x27e5('0x9')][_0x27e5('0x18')](_0x27e5('0xe'),_0x43bd9d(_0x2be5b6,_0x27e5('0x13'))),this[_0x27e5('0x17')]();}[_0x27e5('0x17')](){const _0x30b55d=this[_0x27e5('0x3')],_0x11fb50=_0x30b55d[_0x27e5('0x11')];_0x30b55d[_0x27e5('0xa')][_0x27e5('0x15')](_0x27e5('0x0'))[_0x27e5('0x9')][_0x27e5('0x2')](_0x139941=>{if(_0x27e5('0xc')!=_0x139941[_0x27e5('0x8')])return;const {data:_0x26b986}=_0x139941;if(_0x26b986&&_0x27e5('0xe')==_0x26b986[_0x27e5('0x14')]){const _0x2533b1=_0x11fb50['t'],_0x4c3017=_0x26b986['commandParams'][0x0]['value'];if(_0x4c3017){const _0x2b462b=_0x30b55d[_0x27e5('0x12')]['get'](_0x27e5('0x5'))[_0x27e5('0x10')](_0x2e2403=>_0x2e2403[_0x27e5('0x1a')]==_0x4c3017),_0x377f5c=_0x2533b1(_0x2b462b[_0x27e5('0x1')])[_0x27e5('0xf')]();return{'type':_0x27e5('0x16'),'content':_0x43bd9d(_0x11fb50,_0x27e5('0xb'),_0x377f5c),'color':{'value':_0x2b462b[_0x27e5('0xd')],'title':_0x2b462b[_0x27e5('0x1')]}};}return{'type':_0x27e5('0x16'),'content':_0x43bd9d(_0x11fb50,'*Remove\x20highlight*',_0x43bd9d(_0x11fb50,_0x27e5('0x13')))};}});}}
23
+ const _0x70cd=['type','color','get','plugins','highlight','*Remove\x20highlight*','find','has','commandParams','_descriptionFactory','model','toLowerCase','commandName','HighlightEditing','afterInit','locale','registerAttributeLabel','_registerLegacyDescription','value','editor','TrackChangesEditing','title','formatInline','*Set\x20highlight:*\x20%0','registerDescriptionCallback','format','_enableDefaultAttributesIntegration'];(function(_0x32d008,_0x70cd2b){const _0x9b96c9=function(_0x4b51f3){while(--_0x4b51f3){_0x32d008['push'](_0x32d008['shift']());}};_0x9b96c9(++_0x70cd2b);}(_0x70cd,0x139));const _0x9b96=function(_0x32d008,_0x70cd2b){_0x32d008=_0x32d008-0x0;let _0x9b96c9=_0x70cd[_0x32d008];return _0x9b96c9;};import{Plugin as _0x9f5c9d}from'ckeditor5/src/core.js';import{getTranslation as _0x40855d}from'../utils/common-translations.js';export default class Z extends _0x9f5c9d{[_0x9b96('0x19')](){const _0x871ada=this[_0x9b96('0x3')];if(!_0x871ada['plugins'][_0x9b96('0x12')](_0x9b96('0x18')))return;const _0x2e1ae3=_0x871ada['plugins'][_0x9b96('0xd')](_0x9b96('0x4')),_0x34c46c=_0x871ada[_0x9b96('0x1a')];_0x2e1ae3[_0x9b96('0xa')](_0x9b96('0xf'),[_0x9b96('0xf')]),_0x2e1ae3[_0x9b96('0x14')][_0x9b96('0x0')]('highlight',_0x40855d(_0x34c46c,'FORMAT_HIGHLIGHT')),this[_0x9b96('0x1')]();}['_registerLegacyDescription'](){const _0x1f5f85=this[_0x9b96('0x3')],_0x259d0e=_0x1f5f85[_0x9b96('0x1a')];_0x1f5f85[_0x9b96('0xe')]['get'](_0x9b96('0x4'))['_descriptionFactory'][_0x9b96('0x8')](_0xd9ed87=>{if(_0x9b96('0x6')!=_0xd9ed87[_0x9b96('0xb')])return;const {data:_0x5771bd}=_0xd9ed87;if(_0x5771bd&&_0x9b96('0xf')==_0x5771bd[_0x9b96('0x17')]){const _0x3a8cc6=_0x259d0e['t'],_0x51e876=_0x5771bd[_0x9b96('0x13')][0x0][_0x9b96('0x2')];if(_0x51e876){const _0x1e860a=_0x1f5f85['config'][_0x9b96('0xd')]('highlight.options')[_0x9b96('0x11')](_0xc190a9=>_0xc190a9[_0x9b96('0x15')]==_0x51e876),_0x4bc8f5=_0x3a8cc6(_0x1e860a[_0x9b96('0x5')])[_0x9b96('0x16')]();return{'type':_0x9b96('0x9'),'content':_0x40855d(_0x259d0e,_0x9b96('0x7'),_0x4bc8f5),'color':{'value':_0x1e860a[_0x9b96('0xc')],'title':_0x1e860a[_0x9b96('0x5')]}};}return{'type':_0x9b96('0x9'),'content':_0x40855d(_0x259d0e,_0x9b96('0x10'),_0x40855d(_0x259d0e,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c6f=['ELEMENT_HORIZONTAL_LINE','has','registerElementLabel','_descriptionFactory','HorizontalLineEditing','showSuggestionHighlights','insert','horizontalLine','createPositionAt','addClass','high','editor','enableCommand','createContainerElement','for','conversion','TrackChangesEditing','ck-horizontal-line','dataDowncast','createEmptyElement','get','plugins','afterInit'];(function(_0x11e7ee,_0x1c6fd4){const _0x1de66a=function(_0x825426){while(--_0x825426){_0x11e7ee['push'](_0x11e7ee['shift']());}};_0x1de66a(++_0x1c6fd4);}(_0x1c6f,0xaf));const _0x1de6=function(_0x11e7ee,_0x1c6fd4){_0x11e7ee=_0x11e7ee-0x0;let _0x1de66a=_0x1c6f[_0x11e7ee];return _0x1de66a;};import{Plugin as _0x3f241b}from'ckeditor5/src/core.js';import{getTranslation as _0x114300}from'../utils/common-translations.js';export default class tt extends _0x3f241b{[_0x1de6('0x8')](){const _0x4600a1=this[_0x1de6('0x14')];if(!_0x4600a1[_0x1de6('0x7')][_0x1de6('0xa')](_0x1de6('0xd')))return;_0x4600a1[_0x1de6('0x7')][_0x1de6('0x6')](_0x1de6('0x2'))[_0x1de6('0x15')](_0x1de6('0x10'));const _0x16c9c1=_0x4600a1[_0x1de6('0x7')][_0x1de6('0x6')](_0x1de6('0x2')),_0x44611a=_0x4600a1['locale'];_0x16c9c1[_0x1de6('0xc')][_0x1de6('0xb')]('horizontalLine',_0x408a86=>_0x114300(_0x44611a,_0x1de6('0x9'),_0x408a86)),_0x4600a1[_0x1de6('0x1')][_0x1de6('0x0')](_0x1de6('0x4'))['elementToStructure']({'model':_0x1de6('0x10'),'view':(_0x3e110f,{writer:_0x4b0796,options:_0x4f6014})=>{if(!_0x4f6014[_0x1de6('0xe')])return null;const _0x5da5d1=_0x4b0796[_0x1de6('0x16')]('div'),_0x2bc0b2=_0x4b0796[_0x1de6('0x5')]('hr');return _0x4b0796[_0x1de6('0x12')](_0x1de6('0x3'),_0x5da5d1),_0x4b0796[_0x1de6('0xf')](_0x4b0796[_0x1de6('0x11')](_0x5da5d1,0x0),_0x2bc0b2),_0x5da5d1;},'converterPriority':_0x1de6('0x13')});}}
23
+ const _0x342f=['createContainerElement','afterInit','get','ELEMENT_HORIZONTAL_LINE','horizontalLine','addClass','ck-horizontal-line','TrackChangesEditing','HorizontalLineEditing','registerElementLabel','elementToStructure','has','_descriptionFactory','conversion','plugins','enableCommand','createPositionAt','div','high','dataDowncast','insert','editor'];(function(_0x291b74,_0x342f21){const _0x10952b=function(_0x43d19a){while(--_0x43d19a){_0x291b74['push'](_0x291b74['shift']());}};_0x10952b(++_0x342f21);}(_0x342f,0x110));const _0x1095=function(_0x291b74,_0x342f21){_0x291b74=_0x291b74-0x0;let _0x10952b=_0x342f[_0x291b74];return _0x10952b;};import{Plugin as _0x31a314}from'ckeditor5/src/core.js';import{getTranslation as _0x215478}from'../utils/common-translations.js';export default class tt extends _0x31a314{[_0x1095('0xf')](){const _0x4a2ef3=this[_0x1095('0xd')];if(!_0x4a2ef3['plugins'][_0x1095('0x3')](_0x1095('0x0')))return;_0x4a2ef3['plugins']['get'](_0x1095('0x15'))[_0x1095('0x7')](_0x1095('0x12'));const _0x513eee=_0x4a2ef3[_0x1095('0x6')][_0x1095('0x10')]('TrackChangesEditing'),_0x1bcbfb=_0x4a2ef3['locale'];_0x513eee[_0x1095('0x4')][_0x1095('0x1')](_0x1095('0x12'),_0x5ed326=>_0x215478(_0x1bcbfb,_0x1095('0x11'),_0x5ed326)),_0x4a2ef3[_0x1095('0x5')]['for'](_0x1095('0xb'))[_0x1095('0x2')]({'model':_0x1095('0x12'),'view':(_0xcbf662,{writer:_0x421cf5,options:_0x2a655d})=>{if(!_0x2a655d['showSuggestionHighlights'])return null;const _0x260dd4=_0x421cf5[_0x1095('0xe')](_0x1095('0x9')),_0x5dbf68=_0x421cf5['createEmptyElement']('hr');return _0x421cf5[_0x1095('0x13')](_0x1095('0x14'),_0x260dd4),_0x421cf5[_0x1095('0xc')](_0x421cf5[_0x1095('0x8')](_0x260dd4,0x0),_0x5dbf68),_0x260dd4;},'converterPriority':_0x1095('0xa')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf3b7=['locale','htmlEmbed','_descriptionFactory','getFirstRange','element','value','plugins','type','start','format','key','nodeAfter','registerElementLabel','_registerLegacyDescription','registerDescriptionCallback','editor','afterInit','get','has','commandName','ELEMENT_HTML_EMBED','TrackChangesEditing','rawHtml','_enableDefaultAttributesIntegration','HtmlEmbed'];(function(_0x59b114,_0xf3b76b){const _0x48e8d5=function(_0x176cba){while(--_0x176cba){_0x59b114['push'](_0x59b114['shift']());}};_0x48e8d5(++_0xf3b76b);}(_0xf3b7,0x1dd));const _0x48e8=function(_0x59b114,_0xf3b76b){_0x59b114=_0x59b114-0x0;let _0x48e8d5=_0xf3b7[_0x59b114];return _0x48e8d5;};import{Plugin as _0x2c3d21}from'ckeditor5/src/core.js';import{getTranslation as _0x3830a8}from'../utils/common-translations.js';export default class et extends _0x2c3d21{[_0x48e8('0xe')](){const _0x491f08=this[_0x48e8('0xd')];if(!_0x491f08[_0x48e8('0x4')][_0x48e8('0x10')](_0x48e8('0x16')))return;const _0x4891c6=_0x491f08['plugins']['get'](_0x48e8('0x13')),_0x495a20=_0x491f08[_0x48e8('0x17')];_0x4891c6[_0x48e8('0x0')][_0x48e8('0xa')](_0x48e8('0x14'),_0x3b0926=>_0x3830a8(_0x495a20,_0x48e8('0x12'),_0x3b0926)),_0x4891c6[_0x48e8('0x15')]('htmlEmbed',[],['value']),_0x4891c6[_0x48e8('0x0')]['registerDescriptionCallback'](_0x44548b=>{if('attribute'!=_0x44548b[_0x48e8('0x5')])return;const {data:_0x42e7d0}=_0x44548b;if(_0x42e7d0&&_0x48e8('0x3')==_0x42e7d0[_0x48e8('0x8')]&&_0x44548b[_0x48e8('0x1')]()[_0x48e8('0x6')][_0x48e8('0x9')]['is'](_0x48e8('0x2'),_0x48e8('0x14'))){const _0x2893f4=_0x3830a8(_0x495a20,_0x48e8('0x12'));return{'type':_0x48e8('0x7'),'content':_0x3830a8(_0x495a20,'*Change\x20%0\x20content*',_0x2893f4)};}}),this[_0x48e8('0xb')]();}[_0x48e8('0xb')](){const _0x75269e=this[_0x48e8('0xd')],_0x204c22=_0x75269e[_0x48e8('0x17')];_0x75269e[_0x48e8('0x4')][_0x48e8('0xf')]('TrackChangesEditing')[_0x48e8('0x0')][_0x48e8('0xc')](_0x382769=>{if('formatBlock'!=_0x382769[_0x48e8('0x5')])return;const {data:_0xf648a9}=_0x382769;if(_0xf648a9&&_0x48e8('0x18')==_0xf648a9[_0x48e8('0x11')]){const _0x1b038e=_0x3830a8(_0x204c22,_0x48e8('0x12'));return{'type':'format','content':_0x3830a8(_0x204c22,'*Change\x20%0\x20content*',_0x1b038e)};}});}}
23
+ const _0x4c2e=['locale','rawHtml','afterInit','attribute','type','element','_descriptionFactory','plugins','editor','registerElementLabel','_enableDefaultAttributesIntegration','htmlEmbed','commandName','get','registerDescriptionCallback','ELEMENT_HTML_EMBED','format','nodeAfter','_registerLegacyDescription','*Change\x20%0\x20content*','HtmlEmbed','start','TrackChangesEditing','value'];(function(_0x14a60c,_0x4c2e4b){const _0x36c92b=function(_0x2cb64b){while(--_0x2cb64b){_0x14a60c['push'](_0x14a60c['shift']());}};_0x36c92b(++_0x4c2e4b);}(_0x4c2e,0xba));const _0x36c9=function(_0x14a60c,_0x4c2e4b){_0x14a60c=_0x14a60c-0x0;let _0x36c92b=_0x4c2e[_0x14a60c];return _0x36c92b;};import{Plugin as _0x4b26b5}from'ckeditor5/src/core.js';import{getTranslation as _0x13cdf4}from'../utils/common-translations.js';export default class et extends _0x4b26b5{[_0x36c9('0x8')](){const _0x2d03ac=this[_0x36c9('0xe')];if(!_0x2d03ac['plugins']['has'](_0x36c9('0x2')))return;const _0x3cd726=_0x2d03ac['plugins'][_0x36c9('0x13')](_0x36c9('0x4')),_0x90915f=_0x2d03ac[_0x36c9('0x6')];_0x3cd726[_0x36c9('0xc')][_0x36c9('0xf')]('rawHtml',_0x16fb44=>_0x13cdf4(_0x90915f,_0x36c9('0x15'),_0x16fb44)),_0x3cd726[_0x36c9('0x10')]('htmlEmbed',[],[_0x36c9('0x5')]),_0x3cd726[_0x36c9('0xc')][_0x36c9('0x14')](_0x4fab63=>{if(_0x36c9('0x9')!=_0x4fab63['type'])return;const {data:_0x4b132e}=_0x4fab63;if(_0x4b132e&&_0x36c9('0x5')==_0x4b132e['key']&&_0x4fab63['getFirstRange']()[_0x36c9('0x3')][_0x36c9('0x17')]['is'](_0x36c9('0xb'),_0x36c9('0x7'))){const _0x22bb06=_0x13cdf4(_0x90915f,'ELEMENT_HTML_EMBED');return{'type':_0x36c9('0x16'),'content':_0x13cdf4(_0x90915f,_0x36c9('0x1'),_0x22bb06)};}}),this[_0x36c9('0x0')]();}[_0x36c9('0x0')](){const _0x164dbc=this['editor'],_0x509024=_0x164dbc[_0x36c9('0x6')];_0x164dbc[_0x36c9('0xd')][_0x36c9('0x13')]('TrackChangesEditing')[_0x36c9('0xc')][_0x36c9('0x14')](_0x58303a=>{if('formatBlock'!=_0x58303a[_0x36c9('0xa')])return;const {data:_0x1d29ff}=_0x58303a;if(_0x1d29ff&&_0x36c9('0x11')==_0x1d29ff[_0x36c9('0x12')]){const _0x566dfd=_0x13cdf4(_0x509024,_0x36c9('0x15'));return{'type':_0x36c9('0x16'),'content':_0x13cdf4(_0x509024,_0x36c9('0x1'),_0x566dfd)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b0=['markBlockFormat','ImageResize','discard','ImageEditing','chain','join','_descriptionFactory','enableCommand','newValue','Inline\x20image\x20to\x20block\x20image','nodeAfter','isIntersecting','isCollapsed','end','resizedWidth','isOwn','imageInline','format','editor','has','imageStylePreApply','type','getSuggestionCallback','isBlockImage','convertBlockImageToInline','afterInit','resizeImage','backward','toggleImageCaption','removeObject','commandName','caption','toPrevious','accept','isBefore','convertInlineImageToBlock','markInsertion','detach','fromPosition','_registerLegacyDescription','toNext','imageTextAlternative','registerElementLabel','filter','_enableDefaultAttributesIntegration','ImageBlockEditing','attribute','uploadImage','_suggestionFactory','subType','deletion','imageTypeBlock','getClosestSelectedImageElement','FORMAT_IMAGE_SIZE','getCaptionFromImageModelElement','TrackChangesEditing','find','plugins','get','imageTypeInline','getFirstRange','model','selection','_findSuggestions','change','schema','alt','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','length','addObject','ELEMENT_CAPTION','imageCaption','forceDefaultExecution','locale','start','formatBlock','registerAttributeLabel','createRange','insertImage','insertion','isEqual','document','*Set\x20image\x20width:*\x20%0','formatInline','createRangeOn','findIndex','*Remove\x20image\x20text\x20alternative*','markDeletion','registerCustomCallback','element','getContainedElement','ImageInlineEditing'];(function(_0x1de844,_0x43b0eb){const _0x40d44d=function(_0x58d5ad){while(--_0x58d5ad){_0x1de844['push'](_0x1de844['shift']());}};_0x40d44d(++_0x43b0eb);}(_0x43b0,0xe1));const _0x40d4=function(_0x1de844,_0x43b0eb){_0x1de844=_0x1de844-0x0;let _0x40d44d=_0x43b0[_0x1de844];return _0x40d44d;};import{Plugin as _0x89ce45}from'ckeditor5/src/core.js';import{LivePosition as _0x4febd1}from'ckeditor5/src/engine.js';import{getTranslation as _0x2146b2}from'../utils/common-translations.js';export default class it extends _0x89ce45{[_0x40d4('0x4f')](){const _0x18cd09=this[_0x40d4('0x48')];if(!_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x39')))return;const _0x3e3fb5=_0x18cd09[_0x40d4('0x12')][_0x40d4('0x13')](_0x40d4('0x10')),_0x41d5b1=_0x18cd09[_0x40d4('0x12')]['get']('ImageUtils'),_0x4339a5=_0x18cd09[_0x40d4('0x23')];_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x28')),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')]('imageBlock',_0x37ef9d=>_0x2146b2(_0x4339a5,'ELEMENT_IMAGE',_0x37ef9d)),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')](_0x40d4('0x46'),_0x2c1ddc=>_0x2146b2(_0x4339a5,'ELEMENT_INLINE_IMAGE',_0x2c1ddc)),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')](_0x40d4('0x55'),()=>_0x2146b2(_0x4339a5,_0x40d4('0x20'))),_0x18cd09[_0x40d4('0x12')]['has']('ImageUploadEditing')&&_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x8')),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x6'))&&_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x35'))&&(_0x3e3fb5[_0x40d4('0x3d')]('imageTypeInline',(_0x53c1ca,_0x31d9b8)=>{const _0x410302=_0x41d5b1['getClosestSelectedImageElement'](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2b')]['selection']);_0x18cd09[_0x40d4('0x16')][_0x40d4('0x19')](()=>{_0x3e3fb5[_0x40d4('0x36')](_0x410302,{'commandName':_0x40d4('0x14'),'commandParams':[_0x31d9b8]},[],'convertBlockImageToInline');});}),_0x3e3fb5['enableCommand'](_0x40d4('0xc'),(_0x2a7ac9,_0x147972)=>{_0x18cd09[_0x40d4('0x16')]['change'](_0x1554f0=>{let _0x29e453=_0x41d5b1[_0x40d4('0xd')](_0x18cd09['model'][_0x40d4('0x2b')]['selection']),_0xe95836=_0x1554f0[_0x40d4('0x2e')](_0x29e453);const _0x2b7dd3=_0x4febd1[_0x40d4('0x5c')](_0xe95836['start'],_0x40d4('0x56')),_0x35bb73=_0x4febd1[_0x40d4('0x5c')](_0xe95836[_0x40d4('0x43')],_0x40d4('0x1'));_0x3e3fb5[_0x40d4('0x22')](()=>_0x2a7ac9(_0x147972)),_0x29e453=_0x41d5b1['getClosestSelectedImageElement'](_0x18cd09[_0x40d4('0x16')]['document'][_0x40d4('0x17')]),_0xe95836=_0x1554f0['createRangeOn'](_0x29e453);const _0x417e79=_0x1554f0[_0x40d4('0x27')](_0x2b7dd3,_0x35bb73);_0x2b7dd3[_0x40d4('0x5b')](),_0x35bb73['detach'](),_0x3e3fb5[_0x40d4('0x36')](_0x29e453,{'commandName':_0x40d4('0x14'),'commandParams':[_0x147972]},[],_0x40d4('0x59')),_0x417e79[_0x40d4('0x24')]['isBefore'](_0xe95836['start'])&&_0x3e3fb5[_0x40d4('0x5a')](_0x1554f0[_0x40d4('0x27')](_0x417e79[_0x40d4('0x24')],_0xe95836['start']),'convertInlineImageToBlock'),_0xe95836[_0x40d4('0x43')][_0x40d4('0x58')](_0x417e79['end'])&&_0x3e3fb5[_0x40d4('0x5a')](_0x1554f0['createRange'](_0xe95836[_0x40d4('0x43')],_0x417e79[_0x40d4('0x43')]),_0x40d4('0x59'));});}),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock',_0x40d4('0x59'),_0x40d4('0x3b'),()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock',_0x40d4('0x59'),_0x40d4('0x38'),_0x3e3fb5['_suggestionFactory'][_0x40d4('0x4c')](_0x40d4('0x25'),'',_0x40d4('0x57'))),_0x3e3fb5['_suggestionFactory']['registerCustomCallback'](_0x40d4('0x29'),_0x40d4('0x59'),_0x40d4('0x3b'),()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x59'),'discard',([_0x32308c])=>{const _0x1d7afa=_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x4c')](_0x40d4('0x29'),'',_0x40d4('0x38'));let _0x23138a=_0x32308c[_0x40d4('0x24')],_0x4d871c=_0x32308c[_0x40d4('0x43')];const _0x231b56=_0x18cd09[_0x40d4('0x16')][_0x40d4('0x1a')]['getNearestSelectionRange'](_0x23138a,_0x40d4('0x51')),_0x5def50=_0x18cd09[_0x40d4('0x16')][_0x40d4('0x1a')]['getNearestSelectionRange'](_0x4d871c,'forward');_0x231b56[_0x40d4('0x42')]&&(_0x23138a=_0x231b56[_0x40d4('0x24')]),_0x5def50[_0x40d4('0x42')]&&(_0x4d871c=_0x5def50[_0x40d4('0x43')]),_0x1d7afa([_0x18cd09[_0x40d4('0x16')][_0x40d4('0x27')](_0x23138a,_0x4d871c)]);}),_0x3e3fb5['_suggestionFactory'][_0x40d4('0x32')](_0x40d4('0x25'),_0x40d4('0x59'),_0x40d4('0x3a'),_0x3697e9),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x59'),_0x40d4('0x3a'),_0x3697e9)),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')]('ImageCaptionEditing')&&(_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x52'),(_0x2174bd,_0x4b2f47)=>{const _0x5398aa=_0x18cd09['plugins'][_0x40d4('0x13')]('ImageCaptionUtils');let _0x200ec0=_0x41d5b1[_0x40d4('0xd')](_0x18cd09[_0x40d4('0x16')]['document'][_0x40d4('0x17')]),_0x2df5d0=_0x5398aa[_0x40d4('0xf')](_0x200ec0);_0x18cd09[_0x40d4('0x16')]['change'](()=>{if(_0x2df5d0)return void _0x3e3fb5[_0x40d4('0x31')](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2e')](_0x2df5d0));const _0x3ead27=_0x41d5b1[_0x40d4('0x4d')](_0x200ec0);_0x2174bd(_0x4b2f47),_0x200ec0=_0x41d5b1[_0x40d4('0xd')](_0x18cd09['model'][_0x40d4('0x2b')]['selection']),_0x2df5d0=_0x5398aa['getCaptionFromImageModelElement'](_0x200ec0),_0x3e3fb5[_0x40d4('0x5a')](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2e')](_0x2df5d0),_0x3ead27?null:_0x40d4('0x21'));});}),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x21'),_0x40d4('0x3a'),_0x3697e9));const _0x1212ce=[{'type':_0x40d4('0x25'),'subType':_0x40d4('0x4a')},{'type':'insertion','subType':'imageCaption'},{'type':_0x40d4('0x25'),'subType':_0x40d4('0x59')},{'type':_0x40d4('0x29'),'subType':_0x40d4('0x59')}];function _0x35c026(_0x31bec5,_0x1ccafd){const _0x304153=_0x1212ce[_0x40d4('0x2f')](({type:_0x3ecc33,subType:_0xcdd6a8})=>_0x31bec5[_0x40d4('0x4b')]==_0x3ecc33&&_0x31bec5[_0x40d4('0xa')]==_0xcdd6a8),_0xa72274=_0x1212ce[_0x40d4('0x2f')](({type:_0x33b1a0,subType:_0x4bda15})=>_0x1ccafd[_0x40d4('0x4b')]==_0x33b1a0&&_0x1ccafd[_0x40d4('0xa')]==_0x4bda15);if(_0x304153<0x0||_0xa72274<0x0)return!0x1;const _0x563a80=_0x31bec5[_0x40d4('0x15')](),_0x31d8f3=_0x1ccafd[_0x40d4('0x15')]();if((0x0==_0x304153||0x1==_0x304153)&&0x2==_0xa72274&&_0x563a80[_0x40d4('0x41')](_0x31d8f3))return!0x0;if(0x2==_0x304153&&0x3==_0xa72274){const _0x4d0897=_0x3e3fb5[_0x40d4('0x18')](_0x563a80,_0x40d4('0x29'))[_0x40d4('0x4')](({suggestion:_0x373811,meta:_0x42b351})=>_0x42b351[_0x40d4('0x45')]&&'convertInlineImageToBlock'==_0x373811[_0x40d4('0xa')]);if(_0x4d0897[_0x40d4('0x1e')]>0x1&&_0x31d8f3[_0x40d4('0x43')][_0x40d4('0x2a')](_0x563a80[_0x40d4('0x24')]))return!0x0;if(0x1==_0x4d0897['length']&&(_0x563a80['start'][_0x40d4('0x2a')](_0x31d8f3['end'])||_0x563a80[_0x40d4('0x43')][_0x40d4('0x2a')](_0x31d8f3[_0x40d4('0x24')])))return!0x0;}if(0x3==_0x304153&&0x3==_0xa72274&&_0x563a80[_0x40d4('0x24')][_0x40d4('0x58')](_0x31d8f3['start'])){const _0x907c1b=_0x563a80[_0x40d4('0x43')][_0x40d4('0x40')],_0x419612=_0x31d8f3['start']['nodeBefore'];return _0x41d5b1[_0x40d4('0x4d')](_0x907c1b)&&_0x907c1b===_0x419612;}return!0x1;}function _0x3697e9(_0x4a06f7,_0xf37fa0){return _0x35c026(_0x4a06f7,_0xf37fa0)?[_0x4a06f7,_0xf37fa0]:_0x35c026(_0xf37fa0,_0x4a06f7)?[_0xf37fa0,_0x4a06f7]:null;}_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x37'))&&(_0x3e3fb5[_0x40d4('0x5')](_0x40d4('0x50'),[],[_0x40d4('0x44')]),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x26')](_0x40d4('0x44'),_0x2146b2(_0x4339a5,_0x40d4('0xe')))),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')]('ImageTextAlternativeEditing')&&_0x3e3fb5[_0x40d4('0x5')](_0x40d4('0x2'),[],[_0x40d4('0x1b')]),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x4f2ff9=>{if(!!_0x1212ce[_0x40d4('0x11')](({type:_0xaab363,subType:_0x5da054})=>_0x4f2ff9['type']==_0xaab363&&_0x4f2ff9[_0x40d4('0xa')]==_0x5da054))return _0x4f2ff9['previous']?{}:void 0x0;}),_0x3e3fb5[_0x40d4('0x3c')]['registerDescriptionCallback'](_0x3f3177=>{if(_0x40d4('0x29')==_0x3f3177[_0x40d4('0x4b')]||_0x40d4('0xb')==_0x3f3177['type']){const _0x33e61a=_0x3f3177[_0x40d4('0x34')]();if(_0x33e61a&&_0x33e61a['is'](_0x40d4('0x33'),_0x40d4('0x55')))return{'type':'insertion'==_0x3f3177[_0x40d4('0x4b')]?_0x40d4('0x1f'):_0x40d4('0x53'),'element':_0x33e61a,'quantity':0x1};}}),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x5d5313=>_0x40d4('0x25')==_0x5d5313[_0x40d4('0x4b')]&&'convertInlineImageToBlock'==_0x5d5313[_0x40d4('0xa')]?{'type':_0x40d4('0x47'),'content':_0x40d4('0x3f')}:_0x40d4('0x25')==_0x5d5313[_0x40d4('0x4b')]&&_0x40d4('0x4e')==_0x5d5313[_0x40d4('0xa')]?{'type':_0x40d4('0x47'),'content':_0x40d4('0x1d')}:void 0x0),_0x3e3fb5['_descriptionFactory'][_0x40d4('0x1c')](_0x393a43=>{if(_0x40d4('0x7')!=_0x393a43[_0x40d4('0x4b')])return;const {data:_0x48ab3e}=_0x393a43;if(!_0x48ab3e||'alt'!=_0x48ab3e['key'])return;const _0x3829e9=_0x48ab3e[_0x40d4('0x3e')];return _0x3829e9?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x4339a5,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3829e9+'\x22')}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x4339a5,_0x40d4('0x30'))};}),this[_0x40d4('0x0')]();}[_0x40d4('0x0')](){const _0x4eef2e=this['editor'],_0x2817c4=_0x4eef2e[_0x40d4('0x23')];_0x4eef2e[_0x40d4('0x12')][_0x40d4('0x13')](_0x40d4('0x10'))[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x4ebe7a=>{if('formatBlock'!=_0x4ebe7a[_0x40d4('0x4b')]&&_0x40d4('0x2d')!=_0x4ebe7a['type'])return;const {data:_0x3e9a68}=_0x4ebe7a;if(_0x3e9a68){if(_0x40d4('0x2')==_0x3e9a68[_0x40d4('0x54')]){const _0x38b065=_0x3e9a68['commandParams'][0x0]['newValue'];return _0x38b065?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x38b065+'\x22')}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,_0x40d4('0x30'))};}if(_0x40d4('0x50')==_0x3e9a68[_0x40d4('0x54')]){const _0x28c52a=_0x3e9a68['commandParams'][0x0]['width'];return _0x28c52a?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,_0x40d4('0x2c'),_0x28c52a)}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,'*Reset\x20image\x20width*')};}}});}}
23
+ const _0x1134=['editor','getContainedElement','accept','selection','resizedWidth','insertion','imageCaption','ImageTextAlternativeEditing','Block\x20image\x20to\x20inline\x20image','end','convertBlockImageToInline','caption','createRange','discard','formatBlock','imageTypeBlock','registerCustomCallback','imageTypeInline','isCollapsed','getFirstRange','locale','ImageEditing','isOwn','filter','deletion','imageStylePreApply','nodeAfter','uploadImage','resizeImage','change','previous','alt','createRangeOn','ELEMENT_IMAGE','*Remove\x20image\x20text\x20alternative*','markInsertion','get','getClosestSelectedImageElement','insertImage','_registerLegacyDescription','*Set\x20image\x20text\x20alternative:*\x20%0','ImageCaptionUtils','element','imageInline','enableCommand','markBlockFormat','isBlockImage','model','_enableDefaultAttributesIntegration','fromPosition','registerElementLabel','commandParams','getSuggestionCallback','commandName','forceDefaultExecution','newValue','find','Inline\x20image\x20to\x20block\x20image','getCaptionFromImageModelElement','ELEMENT_CAPTION','plugins','convertInlineImageToBlock','has','ImageBlockEditing','chain','subType','getNearestSelectionRange','format','addObject','findIndex','key','type','imageTextAlternative','length','attribute','ImageUtils','_descriptionFactory','document','isEqual','join','isBefore','ELEMENT_INLINE_IMAGE','FORMAT_IMAGE_SIZE','schema','TrackChangesEditing','_suggestionFactory','registerDescriptionCallback','width','markDeletion','*Set\x20image\x20width:*\x20%0','toggleImageCaption','start','ImageCaptionEditing','toPrevious'];(function(_0x3f1fed,_0x113465){const _0x31e3b3=function(_0x4d768d){while(--_0x4d768d){_0x3f1fed['push'](_0x3f1fed['shift']());}};_0x31e3b3(++_0x113465);}(_0x1134,0x16d));const _0x31e3=function(_0x3f1fed,_0x113465){_0x3f1fed=_0x3f1fed-0x0;let _0x31e3b3=_0x1134[_0x3f1fed];return _0x31e3b3;};import{Plugin as _0x15858e}from'ckeditor5/src/core.js';import{LivePosition as _0x365816}from'ckeditor5/src/engine.js';import{getTranslation as _0xb7e4a6}from'../utils/common-translations.js';export default class it extends _0x15858e{['afterInit'](){const _0x27ec13=this[_0x31e3('0xb')];if(!_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')](_0x31e3('0x20')))return;const _0xf73f44=_0x27ec13[_0x31e3('0x47')][_0x31e3('0x2f')](_0x31e3('0x1')),_0xcf2bbc=_0x27ec13[_0x31e3('0x47')][_0x31e3('0x2f')](_0x31e3('0x56')),_0xfbb017=_0x27ec13['locale'];_0xf73f44[_0x31e3('0x37')](_0x31e3('0x31')),_0xf73f44[_0x31e3('0x57')][_0x31e3('0x3d')]('imageBlock',_0x3ab6c1=>_0xb7e4a6(_0xfbb017,_0x31e3('0x2c'),_0x3ab6c1)),_0xf73f44[_0x31e3('0x57')][_0x31e3('0x3d')](_0x31e3('0x36'),_0x5df658=>_0xb7e4a6(_0xfbb017,_0x31e3('0x5c'),_0x5df658)),_0xf73f44[_0x31e3('0x57')]['registerElementLabel'](_0x31e3('0x16'),()=>_0xb7e4a6(_0xfbb017,_0x31e3('0x46'))),_0x27ec13['plugins'][_0x31e3('0x49')]('ImageUploadEditing')&&_0xf73f44[_0x31e3('0x37')](_0x31e3('0x26')),_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')](_0x31e3('0x4a'))&&_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')]('ImageInlineEditing')&&(_0xf73f44[_0x31e3('0x37')](_0x31e3('0x1c'),(_0x4b5857,_0x1c21e0)=>{const _0x29776b=_0xcf2bbc[_0x31e3('0x30')](_0x27ec13['model'][_0x31e3('0x58')][_0x31e3('0xe')]);_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x28')](()=>{_0xf73f44[_0x31e3('0x38')](_0x29776b,{'commandName':_0x31e3('0x1c'),'commandParams':[_0x1c21e0]},[],_0x31e3('0x15'));});}),_0xf73f44[_0x31e3('0x37')](_0x31e3('0x1a'),(_0x5f01cc,_0x1e7904)=>{_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x28')](_0x16e4c7=>{let _0x5f2071=_0xcf2bbc[_0x31e3('0x30')](_0x27ec13[_0x31e3('0x3a')]['document'][_0x31e3('0xe')]),_0x2737aa=_0x16e4c7[_0x31e3('0x2b')](_0x5f2071);const _0x51c920=_0x365816['fromPosition'](_0x2737aa['start'],_0x31e3('0xa')),_0x34d6f3=_0x365816[_0x31e3('0x3c')](_0x2737aa[_0x31e3('0x14')],'toNext');_0xf73f44[_0x31e3('0x41')](()=>_0x5f01cc(_0x1e7904)),_0x5f2071=_0xcf2bbc[_0x31e3('0x30')](_0x27ec13[_0x31e3('0x3a')]['document'][_0x31e3('0xe')]),_0x2737aa=_0x16e4c7[_0x31e3('0x2b')](_0x5f2071);const _0x139592=_0x16e4c7[_0x31e3('0x17')](_0x51c920,_0x34d6f3);_0x51c920['detach'](),_0x34d6f3['detach'](),_0xf73f44[_0x31e3('0x38')](_0x5f2071,{'commandName':'imageTypeInline','commandParams':[_0x1e7904]},[],_0x31e3('0x48')),_0x139592['start'][_0x31e3('0x5b')](_0x2737aa[_0x31e3('0x8')])&&_0xf73f44['markInsertion'](_0x16e4c7['createRange'](_0x139592[_0x31e3('0x8')],_0x2737aa[_0x31e3('0x8')]),_0x31e3('0x48')),_0x2737aa[_0x31e3('0x14')][_0x31e3('0x5b')](_0x139592[_0x31e3('0x14')])&&_0xf73f44[_0x31e3('0x2e')](_0x16e4c7[_0x31e3('0x17')](_0x2737aa[_0x31e3('0x14')],_0x139592[_0x31e3('0x14')]),_0x31e3('0x48'));});}),_0xf73f44[_0x31e3('0x2')]['registerCustomCallback'](_0x31e3('0x19'),'convertInlineImageToBlock',_0x31e3('0x5a'),()=>!0x1),_0xf73f44[_0x31e3('0x2')]['registerCustomCallback'](_0x31e3('0x19'),'convertInlineImageToBlock',_0x31e3('0xd'),()=>!0x1),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x1b')](_0x31e3('0x19'),'convertInlineImageToBlock',_0x31e3('0x18'),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x3f')]('formatBlock','',_0x31e3('0xd'))),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x1b')](_0x31e3('0x10'),'convertInlineImageToBlock',_0x31e3('0x5a'),()=>!0x1),_0xf73f44['_suggestionFactory']['registerCustomCallback']('insertion',_0x31e3('0x48'),_0x31e3('0x18'),([_0x5c4952])=>{const _0x36bd4e=_0xf73f44['_suggestionFactory'][_0x31e3('0x3f')](_0x31e3('0x10'),'',_0x31e3('0x18'));let _0xdd9dad=_0x5c4952[_0x31e3('0x8')],_0x17b0e4=_0x5c4952[_0x31e3('0x14')];const _0x3ec859=_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x0')][_0x31e3('0x4d')](_0xdd9dad,'backward'),_0x28beb9=_0x27ec13['model'][_0x31e3('0x0')][_0x31e3('0x4d')](_0x17b0e4,'forward');_0x3ec859[_0x31e3('0x1d')]&&(_0xdd9dad=_0x3ec859[_0x31e3('0x8')]),_0x28beb9[_0x31e3('0x1d')]&&(_0x17b0e4=_0x28beb9[_0x31e3('0x14')]),_0x36bd4e([_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x17')](_0xdd9dad,_0x17b0e4)]);}),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x1b')](_0x31e3('0x19'),_0x31e3('0x48'),_0x31e3('0x4b'),_0x1a00ac),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x1b')]('insertion','convertInlineImageToBlock','chain',_0x1a00ac)),_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')](_0x31e3('0x9'))&&(_0xf73f44['enableCommand'](_0x31e3('0x7'),(_0x3b044c,_0x4ad6a4)=>{const _0x5ba0c3=_0x27ec13[_0x31e3('0x47')][_0x31e3('0x2f')](_0x31e3('0x34'));let _0x1453a3=_0xcf2bbc[_0x31e3('0x30')](_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x58')][_0x31e3('0xe')]),_0x597a8b=_0x5ba0c3[_0x31e3('0x45')](_0x1453a3);_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x28')](()=>{if(_0x597a8b)return void _0xf73f44[_0x31e3('0x5')](_0x27ec13[_0x31e3('0x3a')]['createRangeOn'](_0x597a8b));const _0x137aac=_0xcf2bbc[_0x31e3('0x39')](_0x1453a3);_0x3b044c(_0x4ad6a4),_0x1453a3=_0xcf2bbc[_0x31e3('0x30')](_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x58')][_0x31e3('0xe')]),_0x597a8b=_0x5ba0c3[_0x31e3('0x45')](_0x1453a3),_0xf73f44[_0x31e3('0x2e')](_0x27ec13[_0x31e3('0x3a')][_0x31e3('0x2b')](_0x597a8b),_0x137aac?null:_0x31e3('0x11'));});}),_0xf73f44[_0x31e3('0x2')][_0x31e3('0x1b')](_0x31e3('0x10'),_0x31e3('0x11'),'chain',_0x1a00ac));const _0x4748d4=[{'type':'formatBlock','subType':_0x31e3('0x24')},{'type':_0x31e3('0x10'),'subType':_0x31e3('0x11')},{'type':_0x31e3('0x19'),'subType':_0x31e3('0x48')},{'type':_0x31e3('0x10'),'subType':_0x31e3('0x48')}];function _0x265cf8(_0x54444,_0x462aa3){const _0x413f67=_0x4748d4[_0x31e3('0x50')](({type:_0x4c30ca,subType:_0x5cebe4})=>_0x54444['type']==_0x4c30ca&&_0x54444['subType']==_0x5cebe4),_0x1cb2fe=_0x4748d4[_0x31e3('0x50')](({type:_0x483658,subType:_0xd82c06})=>_0x462aa3[_0x31e3('0x52')]==_0x483658&&_0x462aa3[_0x31e3('0x4c')]==_0xd82c06);if(_0x413f67<0x0||_0x1cb2fe<0x0)return!0x1;const _0x38dcc9=_0x54444[_0x31e3('0x1e')](),_0x2cf6ca=_0x462aa3[_0x31e3('0x1e')]();if((0x0==_0x413f67||0x1==_0x413f67)&&0x2==_0x1cb2fe&&_0x38dcc9['isIntersecting'](_0x2cf6ca))return!0x0;if(0x2==_0x413f67&&0x3==_0x1cb2fe){const _0x19a9f0=_0xf73f44['_findSuggestions'](_0x38dcc9,_0x31e3('0x10'))[_0x31e3('0x22')](({suggestion:_0x268aff,meta:_0x4790dc})=>_0x4790dc[_0x31e3('0x21')]&&_0x31e3('0x48')==_0x268aff[_0x31e3('0x4c')]);if(_0x19a9f0[_0x31e3('0x54')]>0x1&&_0x2cf6ca['end']['isEqual'](_0x38dcc9[_0x31e3('0x8')]))return!0x0;if(0x1==_0x19a9f0['length']&&(_0x38dcc9[_0x31e3('0x8')][_0x31e3('0x59')](_0x2cf6ca[_0x31e3('0x14')])||_0x38dcc9[_0x31e3('0x14')]['isEqual'](_0x2cf6ca[_0x31e3('0x8')])))return!0x0;}if(0x3==_0x413f67&&0x3==_0x1cb2fe&&_0x38dcc9['start'][_0x31e3('0x5b')](_0x2cf6ca['start'])){const _0x519e41=_0x38dcc9[_0x31e3('0x14')][_0x31e3('0x25')],_0x45d39b=_0x2cf6ca[_0x31e3('0x8')]['nodeBefore'];return _0xcf2bbc[_0x31e3('0x39')](_0x519e41)&&_0x519e41===_0x45d39b;}return!0x1;}function _0x1a00ac(_0x1537bb,_0x5ef266){return _0x265cf8(_0x1537bb,_0x5ef266)?[_0x1537bb,_0x5ef266]:_0x265cf8(_0x5ef266,_0x1537bb)?[_0x5ef266,_0x1537bb]:null;}_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')]('ImageResize')&&(_0xf73f44['_enableDefaultAttributesIntegration']('resizeImage',[],['resizedWidth']),_0xf73f44[_0x31e3('0x57')]['registerAttributeLabel'](_0x31e3('0xf'),_0xb7e4a6(_0xfbb017,_0x31e3('0x5d')))),_0x27ec13[_0x31e3('0x47')][_0x31e3('0x49')](_0x31e3('0x12'))&&_0xf73f44[_0x31e3('0x3b')]('imageTextAlternative',[],['alt']),_0xf73f44[_0x31e3('0x57')]['registerDescriptionCallback'](_0x5f024c=>{if(!!_0x4748d4[_0x31e3('0x43')](({type:_0x413f5d,subType:_0x5b066d})=>_0x5f024c['type']==_0x413f5d&&_0x5f024c[_0x31e3('0x4c')]==_0x5b066d))return _0x5f024c[_0x31e3('0x29')]?{}:void 0x0;}),_0xf73f44[_0x31e3('0x57')]['registerDescriptionCallback'](_0x4f5e6a=>{if('insertion'==_0x4f5e6a['type']||_0x31e3('0x23')==_0x4f5e6a[_0x31e3('0x52')]){const _0x20fdcb=_0x4f5e6a[_0x31e3('0xc')]();if(_0x20fdcb&&_0x20fdcb['is'](_0x31e3('0x35'),'caption'))return{'type':'insertion'==_0x4f5e6a[_0x31e3('0x52')]?_0x31e3('0x4f'):'removeObject','element':_0x20fdcb,'quantity':0x1};}}),_0xf73f44[_0x31e3('0x57')][_0x31e3('0x3')](_0x32f32a=>_0x31e3('0x19')==_0x32f32a[_0x31e3('0x52')]&&_0x31e3('0x48')==_0x32f32a[_0x31e3('0x4c')]?{'type':_0x31e3('0x4e'),'content':_0x31e3('0x44')}:_0x31e3('0x19')==_0x32f32a[_0x31e3('0x52')]&&_0x31e3('0x15')==_0x32f32a[_0x31e3('0x4c')]?{'type':_0x31e3('0x4e'),'content':_0x31e3('0x13')}:void 0x0),_0xf73f44[_0x31e3('0x57')][_0x31e3('0x3')](_0x253182=>{if(_0x31e3('0x55')!=_0x253182[_0x31e3('0x52')])return;const {data:_0x441fe0}=_0x253182;if(!_0x441fe0||_0x31e3('0x2a')!=_0x441fe0[_0x31e3('0x51')])return;const _0x1ff64e=_0x441fe0[_0x31e3('0x42')];return _0x1ff64e?{'type':_0x31e3('0x4e'),'content':_0xb7e4a6(_0xfbb017,_0x31e3('0x33'),'\x22'+_0x1ff64e+'\x22')}:{'type':_0x31e3('0x4e'),'content':_0xb7e4a6(_0xfbb017,_0x31e3('0x2d'))};}),this[_0x31e3('0x32')]();}['_registerLegacyDescription'](){const _0x1049b0=this[_0x31e3('0xb')],_0x10f400=_0x1049b0[_0x31e3('0x1f')];_0x1049b0[_0x31e3('0x47')]['get'](_0x31e3('0x1'))['_descriptionFactory'][_0x31e3('0x3')](_0x1aae73=>{if(_0x31e3('0x19')!=_0x1aae73['type']&&'formatInline'!=_0x1aae73[_0x31e3('0x52')])return;const {data:_0x17cab4}=_0x1aae73;if(_0x17cab4){if(_0x31e3('0x53')==_0x17cab4[_0x31e3('0x40')]){const _0x4aa052=_0x17cab4[_0x31e3('0x3e')][0x0][_0x31e3('0x42')];return _0x4aa052?{'type':'format','content':_0xb7e4a6(_0x10f400,_0x31e3('0x33'),'\x22'+_0x4aa052+'\x22')}:{'type':'format','content':_0xb7e4a6(_0x10f400,_0x31e3('0x2d'))};}if(_0x31e3('0x27')==_0x17cab4[_0x31e3('0x40')]){const _0x168b72=_0x17cab4[_0x31e3('0x3e')][0x0][_0x31e3('0x4')];return _0x168b72?{'type':_0x31e3('0x4e'),'content':_0xb7e4a6(_0x10f400,_0x31e3('0x6'),_0x168b72)}:{'type':'format','content':_0xb7e4a6(_0x10f400,'*Reset\x20image\x20width*')};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d9b=['replaceImageSource','format','commandName','attribute','_suggestionFactory','src','afterInit','registerDescriptionCallback','accept','type','newValue','registerCustomCallback','get','editor','_registerLegacyDescription','has','locale','key','TrackChangesEditing','formatInline','_descriptionFactory','getSuggestionCallback','*Format:*\x20replace\x20image\x20URL','plugins','formatBlock'];(function(_0x20b5f5,_0x3d9b88){const _0x145135=function(_0x294af9){while(--_0x294af9){_0x20b5f5['push'](_0x20b5f5['shift']());}};_0x145135(++_0x3d9b88);}(_0x3d9b,0xed));const _0x1451=function(_0x20b5f5,_0x3d9b88){_0x20b5f5=_0x20b5f5-0x0;let _0x145135=_0x3d9b[_0x20b5f5];return _0x145135;};import{Plugin as _0x2deb7f}from'ckeditor5/src/core.js';import{getTranslation as _0x312235}from'../utils/common-translations.js';export default class st extends _0x2deb7f{[_0x1451('0x13')](){if(!this['editor']['plugins'][_0x1451('0x3')]('ImageEditing'))return;const _0x174613=this[_0x1451('0x1')][_0x1451('0x4')],_0x1015ca=this[_0x1451('0x1')]['plugins']['get']('TrackChangesEditing');_0x1015ca['_enableDefaultAttributesIntegration'](_0x1451('0xd'),[],[_0x1451('0x12')]),_0x1015ca[_0x1451('0x8')][_0x1451('0x14')](_0x5675c9=>{if(_0x1451('0x10')!=_0x5675c9[_0x1451('0x16')])return;const {data:_0x5212a3}=_0x5675c9;return _0x5212a3&&_0x1451('0x12')==_0x5212a3[_0x1451('0x5')]?_0x5212a3[_0x1451('0x17')]&&_0x5212a3['oldValue']?{'type':'format','content':_0x312235(_0x174613,'*Replace\x20image\x20URL*')}:{'type':_0x1451('0xe'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x20165b=this[_0x1451('0x1')][_0x1451('0xb')][_0x1451('0x0')](_0x1451('0x6'));_0x20165b[_0x1451('0x11')][_0x1451('0x18')]('formatBlock',_0x1451('0xd'),_0x1451('0x15'),_0x20165b[_0x1451('0x11')][_0x1451('0x9')](_0x1451('0xc'),null,'discard')),_0x20165b['_suggestionFactory'][_0x1451('0x18')](_0x1451('0xc'),_0x1451('0xd'),'discard',_0x20165b[_0x1451('0x11')][_0x1451('0x9')](_0x1451('0xc'),null,_0x1451('0x15'))),this[_0x1451('0x2')]();}[_0x1451('0x2')](){const _0x46f9d3=this['editor'],_0x526b4f=_0x46f9d3[_0x1451('0x4')];_0x46f9d3[_0x1451('0xb')][_0x1451('0x0')](_0x1451('0x6'))[_0x1451('0x8')][_0x1451('0x14')](_0x337da0=>{if(_0x1451('0xc')!=_0x337da0[_0x1451('0x16')]&&_0x1451('0x7')!=_0x337da0['type'])return;const {data:_0x38ec99}=_0x337da0;if(!_0x38ec99||_0x1451('0xd')!=_0x38ec99[_0x1451('0xf')])return;return{'type':_0x1451('0xe'),'content':_0x312235(_0x526b4f,_0x1451('0xa'))};});}}
23
+ const _0x18a6=['key','plugins','commandName','src','registerDescriptionCallback','_handleLegacySuggestions','TrackChangesEditing','_registerLegacyDescription','get','accept','_descriptionFactory','formatInline','has','replaceImageSource','format','*Format:*\x20replace\x20image\x20URL','_suggestionFactory','type','newValue','getSuggestionCallback','*Replace\x20image\x20URL*','oldValue','formatBlock','attribute','locale','afterInit','discard','editor'];(function(_0x9d5c1b,_0x18a686){const _0x3f3f1f=function(_0x366b69){while(--_0x366b69){_0x9d5c1b['push'](_0x9d5c1b['shift']());}};_0x3f3f1f(++_0x18a686);}(_0x18a6,0x8d));const _0x3f3f=function(_0x9d5c1b,_0x18a686){_0x9d5c1b=_0x9d5c1b-0x0;let _0x3f3f1f=_0x18a6[_0x9d5c1b];return _0x3f3f1f;};import{Plugin as _0x4c2b26}from'ckeditor5/src/core.js';import{getTranslation as _0x509e0f}from'../utils/common-translations.js';export default class st extends _0x4c2b26{[_0x3f3f('0x18')](){if(!this[_0x3f3f('0x1a')][_0x3f3f('0x0')][_0x3f3f('0xb')]('ImageEditing'))return;const _0x200ab8=this['editor'][_0x3f3f('0x17')],_0x106a89=this[_0x3f3f('0x1a')][_0x3f3f('0x0')][_0x3f3f('0x7')](_0x3f3f('0x5'));_0x106a89['_enableDefaultAttributesIntegration'](_0x3f3f('0xc'),[],[_0x3f3f('0x2')]),_0x106a89[_0x3f3f('0x9')]['registerDescriptionCallback'](_0x40947e=>{if(_0x3f3f('0x16')!=_0x40947e['type'])return;const {data:_0x32443d}=_0x40947e;return _0x32443d&&_0x3f3f('0x2')==_0x32443d[_0x3f3f('0x1b')]?_0x32443d[_0x3f3f('0x11')]&&_0x32443d[_0x3f3f('0x14')]?{'type':_0x3f3f('0xd'),'content':_0x509e0f(_0x200ab8,_0x3f3f('0x13'))}:{'type':_0x3f3f('0xd'),'content':''}:void 0x0;}),this[_0x3f3f('0x4')]();}[_0x3f3f('0x4')](){const _0x3b1798=this[_0x3f3f('0x1a')]['plugins'][_0x3f3f('0x7')](_0x3f3f('0x5'));_0x3b1798[_0x3f3f('0xf')]['registerCustomCallback'](_0x3f3f('0x15'),_0x3f3f('0xc'),_0x3f3f('0x8'),_0x3b1798[_0x3f3f('0xf')][_0x3f3f('0x12')](_0x3f3f('0x15'),null,_0x3f3f('0x19'))),_0x3b1798[_0x3f3f('0xf')]['registerCustomCallback'](_0x3f3f('0x15'),_0x3f3f('0xc'),_0x3f3f('0x19'),_0x3b1798[_0x3f3f('0xf')]['getSuggestionCallback'](_0x3f3f('0x15'),null,_0x3f3f('0x8'))),this[_0x3f3f('0x6')]();}[_0x3f3f('0x6')](){const _0x2e4870=this[_0x3f3f('0x1a')],_0x2bf11a=_0x2e4870['locale'];_0x2e4870[_0x3f3f('0x0')][_0x3f3f('0x7')](_0x3f3f('0x5'))[_0x3f3f('0x9')][_0x3f3f('0x3')](_0x1b8ffb=>{if(_0x3f3f('0x15')!=_0x1b8ffb[_0x3f3f('0x10')]&&_0x3f3f('0xa')!=_0x1b8ffb[_0x3f3f('0x10')])return;const {data:_0x3b7aad}=_0x1b8ffb;if(!_0x3b7aad||_0x3f3f('0xc')!=_0x3b7aad[_0x3f3f('0x1')])return;return{'type':_0x3f3f('0xd'),'content':_0x509e0f(_0x2bf11a,_0x3f3f('0xe'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x81d0=['has','getSuggestion','chain','toLowerCase','createRangeOn','length','editor','convertInlineImageToBlock','_descriptionFactory','imageTypeInline','nodeAfter','from','getChangedMarkers','insertion','end','title','registerCustomCallback','_splitMarkerName','isBlockImage','_registerLegacyDescription','isBefore','markBlockFormat','next','document','ImageStyleEditing','forEach','markInlineFormat','value','selection','isInContent','discard','model','shouldConvertImageType','newRange','suggestion','filter','Users','name','getContainedElement','commandName','setImageNaturalSizeAttributes','join','normalizedStyles','getFirstRange','isInlineImage','_suggestionFactory','side','imageStylePostApply','imageTypeBlock','refresh','author','type','isOwn','TrackChangesEditing','imageStylePreApply','commandReversedParams','formatBlock','registerPostFixer','start','isEqual','accept','imageCaption','FORMAT_SIDE_IMAGE','_findSuggestions','get','commandParams','getClosestSelectedImageElement','imageStyle','subType','differ','nodeBefore','enableCommand','findIndex','plugins','formatInline','commands','discardSuggestion'];(function(_0x5efe0b,_0x81d04){const _0x4f67cb=function(_0x5cd2b8){while(--_0x5cd2b8){_0x5efe0b['push'](_0x5efe0b['shift']());}};_0x4f67cb(++_0x81d04);}(_0x81d0,0x1f3));const _0x4f67=function(_0x5efe0b,_0x81d04){_0x5efe0b=_0x5efe0b-0x0;let _0x4f67cb=_0x81d0[_0x5efe0b];return _0x4f67cb;};import{Plugin as _0x24d2fb}from'ckeditor5/src/core.js';import{uid as _0x2ed3de}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f61c5}from'../utils/common-translations.js';export default class nt extends _0x24d2fb{['afterInit'](){const _0x22d745=this[_0x4f67('0x2e')];if(!_0x22d745[_0x4f67('0x24')][_0x4f67('0x28')](_0x4f67('0x40')))return;const _0x58a50d=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')]('TrackChangesEditing'),_0x3ebc5a=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')]('ImageUtils'),_0xfeab5d={};_0x58a50d[_0x4f67('0x22')](_0x4f67('0x1e'),(_0x5eea96,_0x382082)=>{const _0xabcd03=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')](_0x4f67('0x4c'))['me'],_0x1cb993=_0x22d745[_0x4f67('0x26')][_0x4f67('0x1b')](_0x4f67('0x1e'));let _0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745['model'][_0x4f67('0x3f')][_0x4f67('0x44')]),_0x5cbc89=_0x22d745[_0x4f67('0x47')]['createRangeOn'](_0x3fa2ca),_0x21e93f=_0x1cb993[_0x4f67('0x43')];if(_0x21e93f==_0x382082[_0x4f67('0x43')])return;const _0x45f5b1={'commandName':'imageStyle','commandParams':[_0x382082],'formatGroupId':_0x2ed3de()};_0x22d745[_0x4f67('0x47')]['change'](()=>{if(_0x58a50d['getSuggestions']()[_0x4f67('0x4b')](_0x1d7b8d=>_0x1d7b8d[_0x4f67('0x45')]&&_0xabcd03==_0x1d7b8d[_0x4f67('0xd')]&&(_0x4f67('0x13')==_0x1d7b8d[_0x4f67('0xe')]||'formatInline'==_0x1d7b8d['type'])&&(_0x4f67('0x11')==_0x1d7b8d[_0x4f67('0x1f')]||_0x4f67('0xa')==_0x1d7b8d[_0x4f67('0x1f')])&&_0x1d7b8d['getFirstRange']()[_0x4f67('0x16')](_0x5cbc89))[_0x4f67('0x41')](_0xf61355=>_0x58a50d[_0x4f67('0x27')](_0xf61355['head'])),_0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')]['selection']),_0x5cbc89=_0x22d745[_0x4f67('0x47')][_0x4f67('0x2c')](_0x3fa2ca),_0x1cb993[_0x4f67('0xc')](),_0x22d745[_0x4f67('0x26')][_0x4f67('0x1b')](_0x4f67('0x31'))[_0x4f67('0xc')](),_0x22d745[_0x4f67('0x26')]['get'](_0x4f67('0xb'))[_0x4f67('0xc')](),_0x21e93f=_0x1cb993[_0x4f67('0x43')],_0x21e93f!=_0x382082[_0x4f67('0x43')])return _0x3ebc5a[_0x4f67('0x7')](_0x3fa2ca)&&_0x1cb993[_0x4f67('0x48')](_0x382082['value'],_0x3fa2ca)?(_0x5eea96({..._0x382082,'setImageSizes':!0x1}),_0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')]['selection']),void _0x58a50d[_0x4f67('0x3d')](_0x3fa2ca,{..._0x45f5b1,'commandReversedParams':[{'value':_0x21e93f||null,'setImageSizes':!0x1}]},[],_0x4f67('0x11'))):void(_0x3ebc5a[_0x4f67('0x3a')](_0x3fa2ca)?_0x58a50d[_0x4f67('0x3d')](_0x3fa2ca,_0x45f5b1,[],_0x4f67('0xa')):_0x58a50d[_0x4f67('0x42')](_0x5cbc89,_0x45f5b1,_0x4f67('0xa')));});});for(const _0x127f71 of _0x22d745['plugins'][_0x4f67('0x1b')](_0x4f67('0x40'))[_0x4f67('0x5')])_0xfeab5d[_0x127f71[_0x4f67('0x0')]]=_0x127f71[_0x4f67('0x37')][_0x4f67('0x2b')]();_0x58a50d['_suggestionFactory'][_0x4f67('0x38')](_0x4f67('0x13'),'imageStylePreApply',_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')]['registerCustomCallback'](_0x4f67('0x13'),_0x4f67('0xa'),_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x25'),_0x4f67('0xa'),_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),'imageStylePreApply',_0x4f67('0x17'),([_0x429d69])=>{_0x3ebc5a[_0x4f67('0x3')](_0x429d69[_0x4f67('0x1')]());}),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),_0x4f67('0x11'),_0x4f67('0x46'),(_0x40bfe3,_0x4043b9)=>{_0x58a50d[_0x4f67('0x8')]['getSuggestionCallback'](_0x4f67('0x13'),'',_0x4f67('0x17'))(_0x40bfe3,{'commandName':_0x4043b9[_0x4f67('0x2')],'commandParams':_0x4043b9[_0x4f67('0x12')]});}),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),_0x4f67('0x11'),_0x4f67('0x2a'),function(_0x91091,_0x4c7644){if(_0x24a293(_0x91091,_0x4c7644))return[_0x91091,_0x4c7644];if(_0x24a293(_0x4c7644,_0x91091))return[_0x4c7644,_0x91091];return null;});const _0x559942=[{'type':_0x4f67('0x13'),'subType':'imageStylePreApply'},{'type':_0x4f67('0x35'),'subType':'imageCaption'},{'type':_0x4f67('0x13'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x4f67('0x2f')}];function _0x24a293(_0x3e4226,_0x495cbe){const _0x47400d=_0x559942[_0x4f67('0x23')](({type:_0x5f025f,subType:_0x1521b5})=>_0x3e4226[_0x4f67('0xe')]==_0x5f025f&&_0x3e4226['subType']==_0x1521b5),_0xa6ef24=_0x559942[_0x4f67('0x23')](({type:_0x493903,subType:_0x125fa0})=>_0x495cbe[_0x4f67('0xe')]==_0x493903&&_0x495cbe[_0x4f67('0x1f')]==_0x125fa0);if(_0x47400d<0x0||_0xa6ef24<0x0)return!0x1;const _0x26f06f=_0x3e4226[_0x4f67('0x6')](),_0x2926ba=_0x495cbe[_0x4f67('0x6')]();if((0x0==_0x47400d||0x1==_0x47400d)&&0x2==_0xa6ef24&&_0x26f06f['isIntersecting'](_0x2926ba))return!0x0;if(0x2==_0x47400d&&0x3==_0xa6ef24){const _0x59213c=_0x58a50d[_0x4f67('0x1a')](_0x26f06f,_0x4f67('0x35'))[_0x4f67('0x4b')](({suggestion:_0x2144b3,meta:_0x1387f6})=>_0x1387f6[_0x4f67('0xf')]&&_0x4f67('0x2f')==_0x2144b3['subType']);if(_0x59213c[_0x4f67('0x2d')]>0x1&&_0x2926ba['end'][_0x4f67('0x16')](_0x26f06f['start']))return!0x0;if(0x1==_0x59213c[_0x4f67('0x2d')]&&(_0x26f06f[_0x4f67('0x15')]['isEqual'](_0x2926ba[_0x4f67('0x36')])||_0x26f06f[_0x4f67('0x36')][_0x4f67('0x16')](_0x2926ba[_0x4f67('0x15')])))return!0x0;}if(0x3==_0x47400d&&0x3==_0xa6ef24&&_0x26f06f['start'][_0x4f67('0x3c')](_0x2926ba[_0x4f67('0x15')])){const _0x4197db=_0x26f06f[_0x4f67('0x36')][_0x4f67('0x32')],_0xa36e11=_0x2926ba[_0x4f67('0x15')][_0x4f67('0x21')];return _0x3ebc5a[_0x4f67('0x3a')](_0x4197db)&&_0x4197db===_0xa36e11;}return!0x1;}_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')][_0x4f67('0x14')](()=>{let _0x2384ca=!0x1;const _0x370ee9=Array[_0x4f67('0x33')](_0x22d745['model'][_0x4f67('0x3f')][_0x4f67('0x20')][_0x4f67('0x34')]());for(const {name:_0x29d950,data:_0x18a630}of _0x370ee9){const {group:_0x28df72,type:_0x20acaa,subType:_0x5b4084,id:_0x3a2119}=_0x58a50d[_0x4f67('0x39')](_0x29d950);if(_0x4f67('0x4a')==_0x28df72&&_0x58a50d['hasSuggestion'](_0x3a2119)){if(_0x4f67('0x13')==_0x20acaa&&('imageStylePreApply'==_0x5b4084||_0x4f67('0xa')==_0x5b4084)){const _0x8ec3dd=_0x58a50d[_0x4f67('0x29')](_0x3a2119);if(_0x18a630[_0x4f67('0x49')]){const _0x4aa977=_0x8ec3dd[_0x4f67('0x6')]()[_0x4f67('0x1')]();if(_0x3ebc5a[_0x4f67('0x3a')](_0x4aa977))continue;_0x58a50d[_0x4f67('0x27')](_0x8ec3dd),_0x2384ca=!0x0;}}if(_0x4f67('0x35')==_0x20acaa&&_0x4f67('0x18')==_0x5b4084&&!_0x18a630[_0x4f67('0x49')]){const _0x46a337=_0x58a50d['getSuggestion'](_0x3a2119);_0x46a337['next']&&_0x46a337[_0x4f67('0x3e')][_0x4f67('0x45')]&&(_0x58a50d[_0x4f67('0x27')](_0x46a337['next']),_0x2384ca=!0x0);}}}return _0x2384ca;}),this[_0x4f67('0x3b')](_0xfeab5d);}['_registerLegacyDescription'](_0x2067e3){const _0x37c8a4=this[_0x4f67('0x2e')],_0x2d9d12=_0x37c8a4['locale'];_0x37c8a4[_0x4f67('0x24')][_0x4f67('0x1b')](_0x4f67('0x10'))[_0x4f67('0x30')]['registerDescriptionCallback'](_0x1016a6=>{if(_0x4f67('0x13')!=_0x1016a6[_0x4f67('0xe')]&&'formatInline'!=_0x1016a6[_0x4f67('0xe')])return;const {data:_0xba9dd1}=_0x1016a6;if(!_0xba9dd1||'imageStyle'!=_0xba9dd1[_0x4f67('0x2')])return;const _0xc370a9=_0xba9dd1[_0x4f67('0x1c')][0x0][_0x4f67('0x43')];return _0x5bac2a(_0x4f67('0x9')===_0xc370a9?_0x4f61c5(_0x2d9d12,_0x4f67('0x19')):_0x2067e3[_0xc370a9]||_0xc370a9);function _0x5bac2a(_0x49976e){return{'type':'format','content':_0x4f61c5(_0x2d9d12,'*Format:*\x20%0',_0x49976e)};}});}}
23
+ const _0x2371=['getFirstRange','accept','formatBlock','registerDescriptionCallback','chain','imageCaption','_registerLegacyDescription','head','model','_splitMarkerName','has','createRangeOn','locale','getContainedElement','get','filter','*Format:*\x20%0','getSuggestionCallback','getClosestSelectedImageElement','forEach','_suggestionFactory','value','end','format','isEqual','enableCommand','isInlineImage','subType','setImageNaturalSizeAttributes','isBlockImage','ImageStyleEditing','shouldConvertImageType','commands','formatInline','insertion','discardSuggestion','document','imageStyle','plugins','title','ImageUtils','suggestion','TrackChangesEditing','selection','afterInit','start','isBefore','imageStylePostApply','newRange','join','differ','length','change','findIndex','convertInlineImageToBlock','markBlockFormat','imageStylePreApply','type','commandName','imageTypeInline','commandParams','next','editor','imageTypeBlock','refresh','getSuggestion','nodeAfter','registerCustomCallback'];(function(_0x498978,_0x23713d){const _0x39c56a=function(_0x27b1b6){while(--_0x27b1b6){_0x498978['push'](_0x498978['shift']());}};_0x39c56a(++_0x23713d);}(_0x2371,0x199));const _0x39c5=function(_0x498978,_0x23713d){_0x498978=_0x498978-0x0;let _0x39c56a=_0x2371[_0x498978];return _0x39c56a;};import{Plugin as _0x45e1c8}from'ckeditor5/src/core.js';import{uid as _0x5c6bde}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b463c}from'../utils/common-translations.js';export default class nt extends _0x45e1c8{[_0x39c5('0x2b')](){const _0x1eb443=this['editor'];if(!_0x1eb443[_0x39c5('0x25')][_0x39c5('0x9')](_0x39c5('0x1d')))return;const _0x493394=_0x1eb443[_0x39c5('0x25')][_0x39c5('0xd')](_0x39c5('0x29')),_0x219008=_0x1eb443[_0x39c5('0x25')][_0x39c5('0xd')](_0x39c5('0x27')),_0x17b95b={};_0x493394[_0x39c5('0x18')]('imageStyle',(_0x52ad50,_0x5eba9b)=>{const _0x101c60=_0x1eb443[_0x39c5('0x25')]['get']('Users')['me'],_0x5d125e=_0x1eb443[_0x39c5('0x1f')][_0x39c5('0xd')](_0x39c5('0x24'));let _0x51e515=_0x219008[_0x39c5('0x11')](_0x1eb443[_0x39c5('0x7')][_0x39c5('0x23')][_0x39c5('0x2a')]),_0x503e94=_0x1eb443[_0x39c5('0x7')][_0x39c5('0xa')](_0x51e515),_0x248a75=_0x5d125e[_0x39c5('0x14')];if(_0x248a75==_0x5eba9b[_0x39c5('0x14')])return;const _0x3804ae={'commandName':'imageStyle','commandParams':[_0x5eba9b],'formatGroupId':_0x5c6bde()};_0x1eb443[_0x39c5('0x7')][_0x39c5('0x33')](()=>{if(_0x493394['getSuggestions']()[_0x39c5('0xe')](_0x789e33=>_0x789e33['isInContent']&&_0x101c60==_0x789e33['author']&&(_0x39c5('0x1')==_0x789e33[_0x39c5('0x38')]||'formatInline'==_0x789e33['type'])&&(_0x39c5('0x37')==_0x789e33[_0x39c5('0x1a')]||_0x39c5('0x2e')==_0x789e33[_0x39c5('0x1a')])&&_0x789e33[_0x39c5('0x43')]()[_0x39c5('0x17')](_0x503e94))[_0x39c5('0x12')](_0x13b457=>_0x493394[_0x39c5('0x22')](_0x13b457[_0x39c5('0x6')])),_0x51e515=_0x219008[_0x39c5('0x11')](_0x1eb443[_0x39c5('0x7')][_0x39c5('0x23')][_0x39c5('0x2a')]),_0x503e94=_0x1eb443[_0x39c5('0x7')][_0x39c5('0xa')](_0x51e515),_0x5d125e[_0x39c5('0x3f')](),_0x1eb443[_0x39c5('0x1f')][_0x39c5('0xd')](_0x39c5('0x3a'))['refresh'](),_0x1eb443[_0x39c5('0x1f')][_0x39c5('0xd')](_0x39c5('0x3e'))[_0x39c5('0x3f')](),_0x248a75=_0x5d125e[_0x39c5('0x14')],_0x248a75!=_0x5eba9b[_0x39c5('0x14')])return _0x219008[_0x39c5('0x19')](_0x51e515)&&_0x5d125e[_0x39c5('0x1e')](_0x5eba9b[_0x39c5('0x14')],_0x51e515)?(_0x52ad50({..._0x5eba9b,'setImageSizes':!0x1}),_0x51e515=_0x219008[_0x39c5('0x11')](_0x1eb443['model'][_0x39c5('0x23')][_0x39c5('0x2a')]),void _0x493394[_0x39c5('0x36')](_0x51e515,{..._0x3804ae,'commandReversedParams':[{'value':_0x248a75||null,'setImageSizes':!0x1}]},[],_0x39c5('0x37'))):void(_0x219008[_0x39c5('0x1c')](_0x51e515)?_0x493394[_0x39c5('0x36')](_0x51e515,_0x3804ae,[],_0x39c5('0x2e')):_0x493394['markInlineFormat'](_0x503e94,_0x3804ae,_0x39c5('0x2e')));});});for(const _0x313ace of _0x1eb443[_0x39c5('0x25')][_0x39c5('0xd')]('ImageStyleEditing')['normalizedStyles'])_0x17b95b[_0x313ace['name']]=_0x313ace[_0x39c5('0x26')]['toLowerCase']();_0x493394[_0x39c5('0x13')][_0x39c5('0x42')]('formatBlock','imageStylePreApply',_0x39c5('0x30'),()=>!0x1),_0x493394['_suggestionFactory'][_0x39c5('0x42')](_0x39c5('0x1'),_0x39c5('0x2e'),'join',()=>!0x1),_0x493394[_0x39c5('0x13')][_0x39c5('0x42')](_0x39c5('0x20'),_0x39c5('0x2e'),_0x39c5('0x30'),()=>!0x1),_0x493394[_0x39c5('0x13')][_0x39c5('0x42')]('formatBlock',_0x39c5('0x37'),_0x39c5('0x0'),([_0x1a16c4])=>{_0x219008[_0x39c5('0x1b')](_0x1a16c4['getContainedElement']());}),_0x493394[_0x39c5('0x13')][_0x39c5('0x42')](_0x39c5('0x1'),_0x39c5('0x37'),'discard',(_0xc5def5,_0x319685)=>{_0x493394[_0x39c5('0x13')][_0x39c5('0x10')](_0x39c5('0x1'),'',_0x39c5('0x0'))(_0xc5def5,{'commandName':_0x319685[_0x39c5('0x39')],'commandParams':_0x319685['commandReversedParams']});}),_0x493394[_0x39c5('0x13')]['registerCustomCallback'](_0x39c5('0x1'),_0x39c5('0x37'),_0x39c5('0x3'),function(_0x147c9a,_0x120826){if(_0x27e02b(_0x147c9a,_0x120826))return[_0x147c9a,_0x120826];if(_0x27e02b(_0x120826,_0x147c9a))return[_0x120826,_0x147c9a];return null;});const _0xcb44bc=[{'type':_0x39c5('0x1'),'subType':_0x39c5('0x37')},{'type':_0x39c5('0x21'),'subType':_0x39c5('0x4')},{'type':'formatBlock','subType':_0x39c5('0x35')},{'type':_0x39c5('0x21'),'subType':_0x39c5('0x35')}];function _0x27e02b(_0x4aa575,_0x3e13a8){const _0x1ff853=_0xcb44bc[_0x39c5('0x34')](({type:_0x5d9412,subType:_0x1e8940})=>_0x4aa575['type']==_0x5d9412&&_0x4aa575[_0x39c5('0x1a')]==_0x1e8940),_0x58ce09=_0xcb44bc['findIndex'](({type:_0x5dc1d7,subType:_0xd4a40e})=>_0x3e13a8[_0x39c5('0x38')]==_0x5dc1d7&&_0x3e13a8['subType']==_0xd4a40e);if(_0x1ff853<0x0||_0x58ce09<0x0)return!0x1;const _0x192140=_0x4aa575[_0x39c5('0x43')](),_0x4d49db=_0x3e13a8[_0x39c5('0x43')]();if((0x0==_0x1ff853||0x1==_0x1ff853)&&0x2==_0x58ce09&&_0x192140['isIntersecting'](_0x4d49db))return!0x0;if(0x2==_0x1ff853&&0x3==_0x58ce09){const _0x3994c7=_0x493394['_findSuggestions'](_0x192140,_0x39c5('0x21'))[_0x39c5('0xe')](({suggestion:_0x4d3492,meta:_0x485fdc})=>_0x485fdc['isOwn']&&_0x39c5('0x35')==_0x4d3492['subType']);if(_0x3994c7['length']>0x1&&_0x4d49db['end'][_0x39c5('0x17')](_0x192140['start']))return!0x0;if(0x1==_0x3994c7[_0x39c5('0x32')]&&(_0x192140[_0x39c5('0x2c')][_0x39c5('0x17')](_0x4d49db['end'])||_0x192140[_0x39c5('0x15')][_0x39c5('0x17')](_0x4d49db[_0x39c5('0x2c')])))return!0x0;}if(0x3==_0x1ff853&&0x3==_0x58ce09&&_0x192140['start'][_0x39c5('0x2d')](_0x4d49db['start'])){const _0x4a2d4a=_0x192140[_0x39c5('0x15')][_0x39c5('0x41')],_0x28089e=_0x4d49db['start']['nodeBefore'];return _0x219008[_0x39c5('0x1c')](_0x4a2d4a)&&_0x4a2d4a===_0x28089e;}return!0x1;}_0x1eb443['model'][_0x39c5('0x23')]['registerPostFixer'](()=>{let _0x423c3e=!0x1;const _0x323c5d=Array['from'](_0x1eb443[_0x39c5('0x7')]['document'][_0x39c5('0x31')]['getChangedMarkers']());for(const {name:_0x5d031a,data:_0x516348}of _0x323c5d){const {group:_0x417b70,type:_0x433bbc,subType:_0x23f1fc,id:_0xb45a6}=_0x493394[_0x39c5('0x8')](_0x5d031a);if(_0x39c5('0x28')==_0x417b70&&_0x493394['hasSuggestion'](_0xb45a6)){if(_0x39c5('0x1')==_0x433bbc&&(_0x39c5('0x37')==_0x23f1fc||_0x39c5('0x2e')==_0x23f1fc)){const _0x579909=_0x493394[_0x39c5('0x40')](_0xb45a6);if(_0x516348[_0x39c5('0x2f')]){const _0x4b7436=_0x579909[_0x39c5('0x43')]()[_0x39c5('0xc')]();if(_0x219008['isBlockImage'](_0x4b7436))continue;_0x493394[_0x39c5('0x22')](_0x579909),_0x423c3e=!0x0;}}if('insertion'==_0x433bbc&&'imageCaption'==_0x23f1fc&&!_0x516348[_0x39c5('0x2f')]){const _0x2012d2=_0x493394[_0x39c5('0x40')](_0xb45a6);_0x2012d2[_0x39c5('0x3c')]&&_0x2012d2['next']['isInContent']&&(_0x493394[_0x39c5('0x22')](_0x2012d2[_0x39c5('0x3c')]),_0x423c3e=!0x0);}}}return _0x423c3e;}),this[_0x39c5('0x5')](_0x17b95b);}[_0x39c5('0x5')](_0x31051a){const _0x208ed=this[_0x39c5('0x3d')],_0x44fee4=_0x208ed[_0x39c5('0xb')];_0x208ed['plugins'][_0x39c5('0xd')](_0x39c5('0x29'))['_descriptionFactory'][_0x39c5('0x2')](_0x2f9d94=>{if(_0x39c5('0x1')!=_0x2f9d94['type']&&_0x39c5('0x20')!=_0x2f9d94[_0x39c5('0x38')])return;const {data:_0x5b4ae4}=_0x2f9d94;if(!_0x5b4ae4||_0x39c5('0x24')!=_0x5b4ae4['commandName'])return;const _0x381973=_0x5b4ae4[_0x39c5('0x3b')][0x0][_0x39c5('0x14')];return _0x30f7b6('side'===_0x381973?_0x2b463c(_0x44fee4,'FORMAT_SIDE_IMAGE'):_0x31051a[_0x381973]||_0x381973);function _0x30f7b6(_0x52216d){return{'type':_0x39c5('0x16'),'content':_0x2b463c(_0x44fee4,_0x39c5('0xf'),_0x52216d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b53=['editor','_trackChangesValueDuringImport','bind','TrackChangesEditing','dataInsert','importWord','afterInit','enableCommand','_trackChangesExecuted','execute','commands','lowest','value','get','trackChanges','listenTo','_handleImportedData','plugins','forEach','high','track_changes'];(function(_0xc7abf4,_0x3b53d9){const _0x4268b4=function(_0x84f32a){while(--_0x84f32a){_0xc7abf4['push'](_0xc7abf4['shift']());}};_0x4268b4(++_0x3b53d9);}(_0x3b53,0x98));const _0x4268=function(_0xc7abf4,_0x3b53d9){_0xc7abf4=_0xc7abf4-0x0;let _0x4268b4=_0x3b53[_0xc7abf4];return _0x4268b4;};import{Plugin as _0x3eb142}from'ckeditor5/src/core.js';export default class ot extends _0x3eb142{constructor(_0x363320){super(_0x363320),this[_0x4268('0x11')]=!0x1,this[_0x4268('0x3')]=!0x1;}[_0x4268('0x1')](){const _0x1e6eb1=this['editor'],_0x18a771=_0x1e6eb1[_0x4268('0x5')]['get'](_0x4268('0x0')),_0x506131=_0x1e6eb1['commands'][_0x4268('0x8')]('trackChanges');_0x18a771&&(_0x18a771['on'](_0x4268('0x4'),(_0x5db658,[,_0x431043])=>{this[_0x4268('0x11')]=_0x506131[_0x4268('0x7')],_0x431043['collaboration_features'][_0x4268('0xf')]=!this[_0x4268('0x11')];},{'priority':_0x4268('0xe')}),this[_0x4268('0xa')](_0x18a771,_0x4268('0x14'),this[_0x4268('0xb')][_0x4268('0x12')](this)),this[_0x4268('0xa')](_0x18a771,_0x4268('0x14'),()=>{this[_0x4268('0x3')]&&(_0x506131[_0x4268('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x4268('0x6')}),_0x1e6eb1[_0x4268('0xc')]['get'](_0x4268('0x13'))[_0x4268('0x2')]('importWord'));}[_0x4268('0xb')](_0x5ad4e5,_0x188d77){const {suggestions:_0x2d0ba5}=_0x188d77,_0x401b75=this[_0x4268('0x10')][_0x4268('0x5')][_0x4268('0x8')](_0x4268('0x9')),_0x58804d=_0x401b75['value'];this['_trackChangesValueDuringImport']!==_0x58804d&&(_0x401b75[_0x4268('0x4')](),this[_0x4268('0x3')]=!0x0),_0x2d0ba5&&_0x2d0ba5[_0x4268('0xd')](({id:_0x268aad,type:_0x2145ab,author:_0x1e8add,created_at:_0x364594})=>{const _0x4c7ba8={'id':_0x268aad,'type':_0x2145ab,'authorId':this[_0x4268('0x10')][_0x4268('0xc')][_0x4268('0x8')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1e8add,'createdAt':_0x364594?new Date(_0x364594):new Date(),'source':_0x4268('0x0')}}};this[_0x4268('0x10')][_0x4268('0xc')][_0x4268('0x8')]('TrackChangesEditing')['_setSuggestionData'](_0x4c7ba8);});}}
23
+ const _0x5c1a=['forEach','listenTo','_handleImportedData','importWord','trackChanges','get','_setSuggestionData','dataInsert','TrackChangesEditing','editor','plugins','lowest','bind','track_changes','value','high','collaboration_features','commands','_trackChangesExecuted','execute','_trackChangesValueDuringImport'];(function(_0x58c128,_0x5c1a49){const _0x559469=function(_0x9ccbb8){while(--_0x9ccbb8){_0x58c128['push'](_0x58c128['shift']());}};_0x559469(++_0x5c1a49);}(_0x5c1a,0x1d9));const _0x5594=function(_0x58c128,_0x5c1a49){_0x58c128=_0x58c128-0x0;let _0x559469=_0x5c1a[_0x58c128];return _0x559469;};import{Plugin as _0x4fecc6}from'ckeditor5/src/core.js';export default class ot extends _0x4fecc6{constructor(_0x37ba61){super(_0x37ba61),this[_0x5594('0x9')]=!0x1,this[_0x5594('0x7')]=!0x1;}['afterInit'](){const _0x20e21f=this[_0x5594('0x13')],_0x392d0e=_0x20e21f['commands']['get']('importWord'),_0x115319=_0x20e21f[_0x5594('0x6')][_0x5594('0xf')](_0x5594('0xe'));_0x392d0e&&(_0x392d0e['on'](_0x5594('0x8'),(_0x34eaad,[,_0x4289b2])=>{this[_0x5594('0x9')]=_0x115319[_0x5594('0x3')],_0x4289b2[_0x5594('0x5')][_0x5594('0x2')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x5594('0x4')}),this['listenTo'](_0x392d0e,_0x5594('0x11'),this[_0x5594('0xc')][_0x5594('0x1')](this)),this[_0x5594('0xb')](_0x392d0e,_0x5594('0x11'),()=>{this[_0x5594('0x7')]&&(_0x115319['execute'](),this[_0x5594('0x7')]=!0x1);},{'priority':_0x5594('0x0')}),_0x20e21f[_0x5594('0x14')][_0x5594('0xf')](_0x5594('0x12'))['enableCommand'](_0x5594('0xd')));}[_0x5594('0xc')](_0x3c3ae4,_0x4fca10){const {suggestions:_0x42038a}=_0x4fca10,_0x21f706=this[_0x5594('0x13')][_0x5594('0x6')][_0x5594('0xf')](_0x5594('0xe')),_0x3a66f9=_0x21f706[_0x5594('0x3')];this[_0x5594('0x9')]!==_0x3a66f9&&(_0x21f706[_0x5594('0x8')](),this[_0x5594('0x7')]=!0x0),_0x42038a&&_0x42038a[_0x5594('0xa')](({id:_0x5361e9,type:_0x47d2a8,author:_0x4f1952,created_at:_0x1867bb})=>{const _0x364817={'id':_0x5361e9,'type':_0x47d2a8,'authorId':this[_0x5594('0x13')]['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4f1952,'createdAt':_0x1867bb?new Date(_0x1867bb):new Date(),'source':'importWord'}}};this['editor'][_0x5594('0x14')][_0x5594('0xf')]('TrackChangesEditing')[_0x5594('0x10')](_0x364817);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321d=['enableCommand','locale','_enableDefaultAttributesIntegration','blockIndent','registerAttributeLabel','outdent','indent','editor','getItems','_descriptionFactory','afterInit','IndentEditing','registerDescriptionCallback','format','get','has','_registerLegacyDescription','_registerBlockAttribute','TrackChangesEditing','FORMAT_INDENT','IndentBlock','getItemLabel','plugins','commandName','indentBlock','outdentBlock'];(function(_0x34c6db,_0x321db9){const _0x113827=function(_0x3d0133){while(--_0x3d0133){_0x34c6db['push'](_0x34c6db['shift']());}};_0x113827(++_0x321db9);}(_0x321d,0x141));const _0x1138=function(_0x34c6db,_0x321db9){_0x34c6db=_0x34c6db-0x0;let _0x113827=_0x321d[_0x34c6db];return _0x113827;};import{Plugin as _0x4b6e5e}from'ckeditor5/src/core.js';import{getTranslation as _0x4eb4cb}from'../utils/common-translations.js';export default class rt extends _0x4b6e5e{[_0x1138('0x1')](){const _0x5c5f5b=this[_0x1138('0x18')],_0x1277cf=_0x5c5f5b[_0x1138('0xd')][_0x1138('0x5')](_0x1138('0x9'));if(_0x5c5f5b[_0x1138('0xd')]['has'](_0x1138('0x2'))&&(_0x1277cf['enableCommand'](_0x1138('0x17')),_0x1277cf[_0x1138('0x11')](_0x1138('0x16'))),_0x5c5f5b[_0x1138('0xd')][_0x1138('0x6')](_0x1138('0xb')))for(const _0x1c95fd of[_0x1138('0xf'),_0x1138('0x10')])_0x1277cf[_0x1138('0x13')](_0x1c95fd);const _0x47ec79=_0x5c5f5b[_0x1138('0x12')];_0x1277cf[_0x1138('0x8')](_0x1138('0x14')),_0x1277cf[_0x1138('0x0')][_0x1138('0x15')]('blockIndent',_0x4eb4cb(_0x47ec79,_0x1138('0xa'))),this[_0x1138('0x7')]();}['_registerLegacyDescription'](){const _0x5f15c7=this[_0x1138('0x18')],_0x401fae=_0x5f15c7[_0x1138('0x12')],_0x294988=_0x5f15c7[_0x1138('0xd')][_0x1138('0x5')](_0x1138('0x9'));_0x294988['_descriptionFactory'][_0x1138('0x3')](_0x3d35f8=>{if('formatBlock'!=_0x3d35f8['type'])return;const {data:_0x5f1d4b}=_0x3d35f8;if(!_0x5f1d4b)return;if('indentBlock'!=_0x5f1d4b[_0x1138('0xe')]&&_0x1138('0x10')!=_0x5f1d4b['commandName'])return;const _0x1cf3fe=_0x3d35f8[_0x1138('0x19')]()[0x0],_0x12071a=_0x294988[_0x1138('0x0')][_0x1138('0xc')](_0x1cf3fe);return _0x1138('0xf')==_0x5f1d4b[_0x1138('0xe')]?{'type':_0x1138('0x4'),'content':_0x4eb4cb(_0x401fae,'*Indent:*\x20%0',_0x12071a)}:'outdentBlock'==_0x5f1d4b[_0x1138('0xe')]?{'type':_0x1138('0x4'),'content':_0x4eb4cb(_0x401fae,'*Outdent:*\x20%0',_0x12071a)}:void 0x0;});}}
23
+ const _0x4291=['registerDescriptionCallback','indent','outdentBlock','registerAttributeLabel','get','TrackChangesEditing','getItemLabel','*Indent:*\x20%0','has','indentBlock','type','_descriptionFactory','IndentBlock','locale','format','enableCommand','formatBlock','IndentEditing','commandName','FORMAT_INDENT','outdent','getItems','_registerBlockAttribute','afterInit','plugins','_registerLegacyDescription','editor'];(function(_0x423411,_0x4291c7){const _0x19dcfe=function(_0x5193c4){while(--_0x5193c4){_0x423411['push'](_0x423411['shift']());}};_0x19dcfe(++_0x4291c7);}(_0x4291,0x17a));const _0x19dc=function(_0x423411,_0x4291c7){_0x423411=_0x423411-0x0;let _0x19dcfe=_0x4291[_0x423411];return _0x19dcfe;};import{Plugin as _0x59f816}from'ckeditor5/src/core.js';import{getTranslation as _0x35627f}from'../utils/common-translations.js';export default class rt extends _0x59f816{[_0x19dc('0x17')](){const _0x245724=this[_0x19dc('0x1a')],_0x41d240=_0x245724[_0x19dc('0x18')]['get'](_0x19dc('0x5'));if(_0x245724[_0x19dc('0x18')][_0x19dc('0x8')](_0x19dc('0x11'))&&(_0x41d240['enableCommand'](_0x19dc('0x1')),_0x41d240[_0x19dc('0xf')](_0x19dc('0x14'))),_0x245724['plugins']['has'](_0x19dc('0xc')))for(const _0x5bde89 of[_0x19dc('0x9'),_0x19dc('0x2')])_0x41d240['_enableDefaultAttributesIntegration'](_0x5bde89);const _0x45765e=_0x245724[_0x19dc('0xd')];_0x41d240[_0x19dc('0x16')]('blockIndent'),_0x41d240[_0x19dc('0xb')][_0x19dc('0x3')]('blockIndent',_0x35627f(_0x45765e,_0x19dc('0x13'))),this[_0x19dc('0x19')]();}['_registerLegacyDescription'](){const _0x561941=this[_0x19dc('0x1a')],_0x1d4f4f=_0x561941[_0x19dc('0xd')],_0x554eab=_0x561941[_0x19dc('0x18')][_0x19dc('0x4')]('TrackChangesEditing');_0x554eab[_0x19dc('0xb')][_0x19dc('0x0')](_0x243455=>{if(_0x19dc('0x10')!=_0x243455[_0x19dc('0xa')])return;const {data:_0x426f0d}=_0x243455;if(!_0x426f0d)return;if('indentBlock'!=_0x426f0d[_0x19dc('0x12')]&&_0x19dc('0x2')!=_0x426f0d[_0x19dc('0x12')])return;const _0x2e7f0d=_0x243455[_0x19dc('0x15')]()[0x0],_0x4926f2=_0x554eab['_descriptionFactory'][_0x19dc('0x6')](_0x2e7f0d);return _0x19dc('0x9')==_0x426f0d[_0x19dc('0x12')]?{'type':_0x19dc('0xe'),'content':_0x35627f(_0x1d4f4f,_0x19dc('0x7'),_0x4926f2)}:_0x19dc('0x2')==_0x426f0d[_0x19dc('0x12')]?{'type':_0x19dc('0xe'),'content':_0x35627f(_0x1d4f4f,'*Outdent:*\x20%0',_0x4926f2)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2697=['enableCommand','get','requires','plugins','TrackChangesEditing','init','editor'];(function(_0x5220f4,_0x269704){var _0x5a66df=function(_0x33a6ce){while(--_0x33a6ce){_0x5220f4['push'](_0x5220f4['shift']());}};_0x5a66df(++_0x269704);}(_0x2697,0x1bd));var _0x5a66=function(_0x5220f4,_0x269704){_0x5220f4=_0x5220f4-0x0;var _0x5a66df=_0x2697[_0x5220f4];return _0x5a66df;};import{Plugin as _0x38711e}from'ckeditor5/src/core.js';import{Input as _0x877e91}from'ckeditor5/src/typing.js';export default class at extends _0x38711e{static get[_0x5a66('0x5')](){return[_0x877e91];}[_0x5a66('0x1')](){this[_0x5a66('0x2')][_0x5a66('0x6')][_0x5a66('0x4')](_0x5a66('0x0'))[_0x5a66('0x3')]('input');}}
23
+ var _0x2530=['input','plugins','TrackChangesEditing','init','enableCommand','editor','requires'];(function(_0x4dbb76,_0x2530d7){var _0x2c9f07=function(_0x2702a7){while(--_0x2702a7){_0x4dbb76['push'](_0x4dbb76['shift']());}};_0x2c9f07(++_0x2530d7);}(_0x2530,0x1aa));var _0x2c9f=function(_0x4dbb76,_0x2530d7){_0x4dbb76=_0x4dbb76-0x0;var _0x2c9f07=_0x2530[_0x4dbb76];return _0x2c9f07;};import{Plugin as _0x5e8a22}from'ckeditor5/src/core.js';import{Input as _0x5f2168}from'ckeditor5/src/typing.js';export default class at extends _0x5e8a22{static get[_0x2c9f('0x0')](){return[_0x5f2168];}[_0x2c9f('0x4')](){this[_0x2c9f('0x6')][_0x2c9f('0x2')]['get'](_0x2c9f('0x3'))[_0x2c9f('0x5')](_0x2c9f('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39ac=['commands','before','*Change\x20to:*\x20%0','bulletedList','parent','editor','formatBlock','selection','model','registerElementLabel','get','value','previousSibling','add','ELEMENT_BULLETED_LIST','getSelectedBlocks','getAttribute','isObject','end','indentList','numberedList','enableCommand','createPositionAt','_descriptionFactory','locale','checkChild','name','push','List','commandName','change','listItem','outdentList','listIndent','length','format','commandParams','filter','LegacyTodoListEditing','ELEMENT_NUMBERED_LIST','markBlockFormat','*Outdent:*\x20%0','formatInline','nextSibling','document','blockName','execute','findIndex','from','todo','has','todoList','checkTodoList','ELEMENT_LIST_ITEM','element','plugins','*Indent:*\x20%0','type','ELEMENT_TODO_LIST','paragraph'];(function(_0x2d33d6,_0x39ac48){const _0x50b644=function(_0x3d5463){while(--_0x3d5463){_0x2d33d6['push'](_0x2d33d6['shift']());}};_0x50b644(++_0x39ac48);}(_0x39ac,0x122));const _0x50b6=function(_0x2d33d6,_0x39ac48){_0x2d33d6=_0x2d33d6-0x0;let _0x50b644=_0x39ac[_0x2d33d6];return _0x50b644;};import{Plugin as _0x240899}from'ckeditor5/src/core.js';import{getTranslation as _0x39d90f}from'../utils/common-translations.js';export default class ut extends _0x240899{['afterInit'](){const _0x474cb8=this[_0x50b6('0xf')],_0x4a75fd=_0x474cb8[_0x50b6('0x22')];if(!_0x474cb8['plugins'][_0x50b6('0x0')]('LegacyListEditing'))return;const _0x349fcd=_0x474cb8['plugins']['get']('TrackChangesEditing'),_0x3481c6=_0x474cb8[_0x50b6('0x5')][_0x50b6('0x0')](_0x50b6('0x30'));function _0xca9dda(_0xe2e22d){return()=>{const _0x19d36f=_0x474cb8[_0x50b6('0x12')][_0x50b6('0x36')][_0x50b6('0x11')],_0x4d8c67=_0x474cb8[_0x50b6('0xa')][_0x50b6('0x14')](_0xe2e22d);if(_0x4d8c67['value'])return void _0x474cb8[_0x50b6('0x38')](_0x50b6('0x9'),{});const _0x5e7ab9=_0xe2e22d['slice'](0x0,-0x4),_0x1f7ce3=function(_0x521475,_0x358388,_0x57211c){let _0x55548c=Array[_0x50b6('0x3a')](_0x521475)[_0x50b6('0x2f')](_0x5750bf=>function(_0x332cf9,_0x137664){return _0x137664[_0x50b6('0x23')](_0x332cf9[_0x50b6('0xe')],_0x50b6('0x29'))&&!_0x137664[_0x50b6('0x1b')](_0x332cf9);}(_0x5750bf,_0x57211c));_0x55548c=_0x55548c[_0x50b6('0x2f')](_0x35fb88=>!_0x35fb88['is']('element',_0x50b6('0x29'))||_0x35fb88[_0x50b6('0x1a')]('listType')!=_0x358388);const _0x989528=new Set();for(const _0x152704 of _0x55548c)_0x152704['is'](_0x50b6('0x4'),_0x50b6('0x29'))?_0x989528[_0x50b6('0x17')](ne(_0x152704)):_0x989528[_0x50b6('0x17')](_0x152704);return Array['from'](_0x989528);}(_0x19d36f[_0x50b6('0x19')](),_0x5e7ab9,_0x474cb8[_0x50b6('0x12')]['schema']);_0x474cb8[_0x50b6('0x12')]['change'](()=>{for(const _0x2ba9f2 of _0x1f7ce3)_0x349fcd[_0x50b6('0x32')](_0x2ba9f2,{'commandName':_0xe2e22d,'commandParams':[{'forceValue':!_0x4d8c67['value']}],'formatGroupId':_0x50b6('0x37')},oe(_0x2ba9f2));});};}function _0x4e2da5(_0x18eea8){return()=>{const _0x1982f0=function(_0x5e612a){let _0x37728f=Array['from'](_0x5e612a);const _0x5626a3=_0x37728f[_0x50b6('0x39')](_0x54a9f2=>_0x50b6('0x29')!=_0x54a9f2[_0x50b6('0x24')]);return _0x5626a3>-0x1&&(_0x37728f=_0x37728f['slice'](0x0,_0x5626a3)),_0x37728f;}(_0x474cb8[_0x50b6('0x12')][_0x50b6('0x36')]['selection'][_0x50b6('0x19')]()),_0x3572c8=_0x474cb8['model']['createRange'](_0x474cb8[_0x50b6('0x12')][_0x50b6('0x20')](_0x1982f0[0x0],_0x50b6('0xb')),_0x474cb8[_0x50b6('0x12')][_0x50b6('0x20')](_0x1982f0[_0x1982f0[_0x50b6('0x2c')]-0x1],_0x50b6('0x1c')));_0x474cb8['model'][_0x50b6('0x28')](()=>{_0x349fcd[_0x50b6('0x32')](_0x3572c8,{'commandName':_0x18eea8,'commandParams':[],'formatGroupId':_0x50b6('0x2b')},function(_0xfa9d8a){const _0x50fcfb=new Set();for(const _0x39bcb4 of _0xfa9d8a){let _0x1579c0=_0x39bcb4[_0x50b6('0x35')];for(;_0x1579c0&&_0x1579c0[_0x50b6('0x1a')](_0x50b6('0x2b'))>_0x39bcb4[_0x50b6('0x1a')]('listIndent');)_0x50fcfb[_0x50b6('0x17')](_0x1579c0),_0x1579c0=_0x1579c0[_0x50b6('0x35')];}return Array[_0x50b6('0x3a')](_0x50fcfb);}(_0x1982f0));});};}_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x1e'),_0xca9dda(_0x50b6('0x1e'))),_0x349fcd[_0x50b6('0x1f')]('bulletedList',_0xca9dda(_0x50b6('0xd'))),_0x3481c6&&_0x349fcd[_0x50b6('0x1f')]('todoList',_0xca9dda(_0x50b6('0x1'))),_0x349fcd['enableCommand'](_0x50b6('0x1d'),_0x4e2da5(_0x50b6('0x1d'))),_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x2a'),_0x4e2da5('outdentList')),_0x3481c6&&_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x2'),()=>{const _0x365494=_0x474cb8[_0x50b6('0xa')][_0x50b6('0x14')](_0x50b6('0x2')),_0x4a3d61=Array[_0x50b6('0x3a')](_0x365494['_selectedElements']);_0x4a3d61[_0x50b6('0x2f')](_0x409552=>_0x409552['getAttribute']('todoListChecked')!=_0x365494['value']),_0x474cb8[_0x50b6('0x12')][_0x50b6('0x28')](()=>{for(const _0x54c71a of _0x4a3d61)_0x349fcd[_0x50b6('0x32')](_0x54c71a,{'commandName':_0x50b6('0x2'),'commandParams':[{'forceValue':!_0x365494[_0x50b6('0x15')]}]});});}),_0x349fcd[_0x50b6('0x21')][_0x50b6('0x13')](_0x50b6('0x29'),_0x401069=>_0x39d90f(_0x4a75fd,_0x50b6('0x3'),_0x401069)),_0x349fcd[_0x50b6('0x21')]['registerDescriptionCallback'](_0x242e1f=>{if(_0x50b6('0x10')!=_0x242e1f[_0x50b6('0x7')]&&_0x50b6('0x34')!=_0x242e1f[_0x50b6('0x7')])return;const {data:_0x597d87}=_0x242e1f;if(_0x597d87){if(_0x50b6('0x1e')==_0x597d87[_0x50b6('0x27')]||'bulletedList'==_0x597d87[_0x50b6('0x27')]||'todoList'==_0x597d87['commandName'])switch(_0x597d87[_0x50b6('0x27')]['replace'](_0x50b6('0x26'),'')){case'bulleted':return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x18')));case'numbered':return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x31')));case _0x50b6('0x3b'):return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x8')));}if(_0x50b6('0x1d')==_0x597d87['commandName'])return{'type':'format','content':_0x39d90f(_0x4a75fd,_0x50b6('0x6'),_0x39d90f(_0x4a75fd,_0x50b6('0x3')))};if(_0x50b6('0x2a')==_0x597d87[_0x50b6('0x27')])return{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,_0x50b6('0x33'),_0x39d90f(_0x4a75fd,'ELEMENT_LIST_ITEM'))};if(_0x50b6('0x2')==_0x597d87[_0x50b6('0x27')])return _0x597d87[_0x50b6('0x2e')][0x0]['forceValue']?{'type':'format','content':_0x39d90f(_0x4a75fd,'*Check\x20item*')}:{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,'*Uncheck\x20item*')};}function _0x489da9(_0x254068){return{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,_0x50b6('0xc'),_0x254068)};}});}}function ne(_0x42a4e4){const _0x22a0cc=_0x42a4e4[_0x50b6('0x1a')](_0x50b6('0x2b'));if(0x0==_0x22a0cc)return _0x42a4e4;let _0x522b07=_0x42a4e4;for(;_0x42a4e4[_0x50b6('0x16')]&&_0x42a4e4[_0x50b6('0x16')]['is']('element',_0x50b6('0x29'));){const _0x524bd3=_0x42a4e4['previousSibling'][_0x50b6('0x1a')](_0x50b6('0x2b'));if(_0x524bd3==_0x22a0cc)_0x522b07=_0x42a4e4[_0x50b6('0x16')];else{if(_0x524bd3<_0x22a0cc)break;}_0x42a4e4=_0x42a4e4['previousSibling'];}return _0x522b07;}function oe(_0x46d4c3){const _0x5391d5=[];if(_0x46d4c3['is'](_0x50b6('0x4'),_0x50b6('0x29'))&&_0x46d4c3[_0x50b6('0x1a')](_0x50b6('0x2b'))>0x0){let _0xeb8df=_0x46d4c3[_0x50b6('0x35')];for(;_0xeb8df&&_0x50b6('0x29')==_0xeb8df[_0x50b6('0x24')]&&_0xeb8df[_0x50b6('0x1a')](_0x50b6('0x2b'))==_0x46d4c3[_0x50b6('0x1a')]('listIndent');)_0x5391d5[_0x50b6('0x25')](_0xeb8df),_0xeb8df=_0xeb8df['nextSibling'];}return _0x5391d5;}
23
+ const _0x37b9=['previousSibling','LegacyTodoListEditing','length','registerDescriptionCallback','commands','execute','slice','name','listType','TrackChangesEditing','locale','bulletedList','getAttribute','numberedList','editor','checkTodoList','numbered','indentList','format','listIndent','add','end','change','*Uncheck\x20item*','_descriptionFactory','todoList','ELEMENT_TODO_LIST','plugins','get','selection','formatInline','blockName','schema','createPositionAt','filter','*Change\x20to:*\x20%0','*Outdent:*\x20%0','element','markBlockFormat','isObject','*Indent:*\x20%0','todo','from','outdentList','nextSibling','afterInit','ELEMENT_NUMBERED_LIST','document','paragraph','forceValue','getSelectedBlocks','bulleted','ELEMENT_LIST_ITEM','listItem','findIndex','commandName','model','has','value','createRange','enableCommand','commandParams','type'];(function(_0x52e4a6,_0x37b96d){const _0x5032d0=function(_0x1e839f){while(--_0x1e839f){_0x52e4a6['push'](_0x52e4a6['shift']());}};_0x5032d0(++_0x37b96d);}(_0x37b9,0x79));const _0x5032=function(_0x52e4a6,_0x37b96d){_0x52e4a6=_0x52e4a6-0x0;let _0x5032d0=_0x37b9[_0x52e4a6];return _0x5032d0;};import{Plugin as _0x4d58e2}from'ckeditor5/src/core.js';import{getTranslation as _0x8323a}from'../utils/common-translations.js';export default class ut extends _0x4d58e2{[_0x5032('0x32')](){const _0xb9573=this[_0x5032('0x13')],_0x5bcdb4=_0xb9573[_0x5032('0xf')];if(!_0xb9573[_0x5032('0x20')][_0x5032('0x3e')]('LegacyListEditing'))return;const _0x3c085d=_0xb9573['plugins'][_0x5032('0x21')](_0x5032('0xe')),_0x1cb0fb=_0xb9573[_0x5032('0x20')][_0x5032('0x3e')](_0x5032('0x6'));function _0x4d8656(_0x220d3d){return()=>{const _0x18b1bb=_0xb9573[_0x5032('0x3d')][_0x5032('0x34')][_0x5032('0x22')],_0x3fc980=_0xb9573[_0x5032('0x9')][_0x5032('0x21')](_0x220d3d);if(_0x3fc980[_0x5032('0x0')])return void _0xb9573[_0x5032('0xa')](_0x5032('0x35'),{});const _0x2baa5b=_0x220d3d[_0x5032('0xb')](0x0,-0x4),_0x268619=function(_0x2584c0,_0x1d1ef4,_0x4a7bc8){let _0x2a76fd=Array[_0x5032('0x2f')](_0x2584c0)['filter'](_0x143fb2=>function(_0x2252f6,_0x5f1fa3){return _0x5f1fa3['checkChild'](_0x2252f6['parent'],_0x5032('0x3a'))&&!_0x5f1fa3[_0x5032('0x2c')](_0x2252f6);}(_0x143fb2,_0x4a7bc8));_0x2a76fd=_0x2a76fd[_0x5032('0x27')](_0x2f07c8=>!_0x2f07c8['is'](_0x5032('0x2a'),'listItem')||_0x2f07c8[_0x5032('0x11')](_0x5032('0xd'))!=_0x1d1ef4);const _0x2e79ac=new Set();for(const _0x4be158 of _0x2a76fd)_0x4be158['is'](_0x5032('0x2a'),_0x5032('0x3a'))?_0x2e79ac[_0x5032('0x19')](ne(_0x4be158)):_0x2e79ac[_0x5032('0x19')](_0x4be158);return Array[_0x5032('0x2f')](_0x2e79ac);}(_0x18b1bb[_0x5032('0x37')](),_0x2baa5b,_0xb9573[_0x5032('0x3d')][_0x5032('0x25')]);_0xb9573['model'][_0x5032('0x1b')](()=>{for(const _0x480cb6 of _0x268619)_0x3c085d[_0x5032('0x2b')](_0x480cb6,{'commandName':_0x220d3d,'commandParams':[{'forceValue':!_0x3fc980[_0x5032('0x0')]}],'formatGroupId':_0x5032('0x24')},oe(_0x480cb6));});};}function _0x43af86(_0x26210a){return()=>{const _0x5ed59e=function(_0x5c59fc){let _0x3a7f9c=Array['from'](_0x5c59fc);const _0x16e931=_0x3a7f9c[_0x5032('0x3b')](_0x421c04=>_0x5032('0x3a')!=_0x421c04[_0x5032('0xc')]);return _0x16e931>-0x1&&(_0x3a7f9c=_0x3a7f9c[_0x5032('0xb')](0x0,_0x16e931)),_0x3a7f9c;}(_0xb9573['model'][_0x5032('0x34')][_0x5032('0x22')][_0x5032('0x37')]()),_0x34133b=_0xb9573[_0x5032('0x3d')][_0x5032('0x1')](_0xb9573['model'][_0x5032('0x26')](_0x5ed59e[0x0],'before'),_0xb9573[_0x5032('0x3d')][_0x5032('0x26')](_0x5ed59e[_0x5ed59e[_0x5032('0x7')]-0x1],_0x5032('0x1a')));_0xb9573[_0x5032('0x3d')][_0x5032('0x1b')](()=>{_0x3c085d['markBlockFormat'](_0x34133b,{'commandName':_0x26210a,'commandParams':[],'formatGroupId':_0x5032('0x18')},function(_0x87fe2a){const _0x5e6520=new Set();for(const _0x464401 of _0x87fe2a){let _0x26933b=_0x464401[_0x5032('0x31')];for(;_0x26933b&&_0x26933b[_0x5032('0x11')](_0x5032('0x18'))>_0x464401[_0x5032('0x11')](_0x5032('0x18'));)_0x5e6520[_0x5032('0x19')](_0x26933b),_0x26933b=_0x26933b[_0x5032('0x31')];}return Array[_0x5032('0x2f')](_0x5e6520);}(_0x5ed59e));});};}_0x3c085d[_0x5032('0x2')]('numberedList',_0x4d8656('numberedList')),_0x3c085d['enableCommand'](_0x5032('0x10'),_0x4d8656(_0x5032('0x10'))),_0x1cb0fb&&_0x3c085d[_0x5032('0x2')](_0x5032('0x1e'),_0x4d8656('todoList')),_0x3c085d[_0x5032('0x2')](_0x5032('0x16'),_0x43af86(_0x5032('0x16'))),_0x3c085d[_0x5032('0x2')](_0x5032('0x30'),_0x43af86(_0x5032('0x30'))),_0x1cb0fb&&_0x3c085d[_0x5032('0x2')]('checkTodoList',()=>{const _0x3b7725=_0xb9573[_0x5032('0x9')][_0x5032('0x21')](_0x5032('0x14')),_0x37d2df=Array[_0x5032('0x2f')](_0x3b7725['_selectedElements']);_0x37d2df[_0x5032('0x27')](_0x351d19=>_0x351d19[_0x5032('0x11')]('todoListChecked')!=_0x3b7725[_0x5032('0x0')]),_0xb9573['model'][_0x5032('0x1b')](()=>{for(const _0x38ccb5 of _0x37d2df)_0x3c085d[_0x5032('0x2b')](_0x38ccb5,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x3b7725[_0x5032('0x0')]}]});});}),_0x3c085d[_0x5032('0x1d')]['registerElementLabel'](_0x5032('0x3a'),_0x4f3527=>_0x8323a(_0x5bcdb4,_0x5032('0x39'),_0x4f3527)),_0x3c085d['_descriptionFactory'][_0x5032('0x8')](_0x5e3bb8=>{if('formatBlock'!=_0x5e3bb8[_0x5032('0x4')]&&_0x5032('0x23')!=_0x5e3bb8[_0x5032('0x4')])return;const {data:_0x33488b}=_0x5e3bb8;if(_0x33488b){if(_0x5032('0x12')==_0x33488b[_0x5032('0x3c')]||_0x5032('0x10')==_0x33488b[_0x5032('0x3c')]||_0x5032('0x1e')==_0x33488b[_0x5032('0x3c')])switch(_0x33488b[_0x5032('0x3c')]['replace']('List','')){case _0x5032('0x38'):return _0x573b78(_0x8323a(_0x5bcdb4,'ELEMENT_BULLETED_LIST'));case _0x5032('0x15'):return _0x573b78(_0x8323a(_0x5bcdb4,_0x5032('0x33')));case _0x5032('0x2e'):return _0x573b78(_0x8323a(_0x5bcdb4,_0x5032('0x1f')));}if('indentList'==_0x33488b[_0x5032('0x3c')])return{'type':'format','content':_0x8323a(_0x5bcdb4,_0x5032('0x2d'),_0x8323a(_0x5bcdb4,_0x5032('0x39')))};if(_0x5032('0x30')==_0x33488b[_0x5032('0x3c')])return{'type':_0x5032('0x17'),'content':_0x8323a(_0x5bcdb4,_0x5032('0x29'),_0x8323a(_0x5bcdb4,_0x5032('0x39')))};if(_0x5032('0x14')==_0x33488b[_0x5032('0x3c')])return _0x33488b[_0x5032('0x3')][0x0][_0x5032('0x36')]?{'type':'format','content':_0x8323a(_0x5bcdb4,'*Check\x20item*')}:{'type':'format','content':_0x8323a(_0x5bcdb4,_0x5032('0x1c'))};}function _0x573b78(_0x3cbbe1){return{'type':_0x5032('0x17'),'content':_0x8323a(_0x5bcdb4,_0x5032('0x28'),_0x3cbbe1)};}});}}function ne(_0x56b2c1){const _0x52d55b=_0x56b2c1[_0x5032('0x11')](_0x5032('0x18'));if(0x0==_0x52d55b)return _0x56b2c1;let _0x2261c0=_0x56b2c1;for(;_0x56b2c1[_0x5032('0x5')]&&_0x56b2c1['previousSibling']['is'](_0x5032('0x2a'),_0x5032('0x3a'));){const _0x38439f=_0x56b2c1['previousSibling'][_0x5032('0x11')](_0x5032('0x18'));if(_0x38439f==_0x52d55b)_0x2261c0=_0x56b2c1[_0x5032('0x5')];else{if(_0x38439f<_0x52d55b)break;}_0x56b2c1=_0x56b2c1[_0x5032('0x5')];}return _0x2261c0;}function oe(_0x4838a0){const _0x2e7157=[];if(_0x4838a0['is']('element','listItem')&&_0x4838a0[_0x5032('0x11')]('listIndent')>0x0){let _0x11d6e4=_0x4838a0[_0x5032('0x31')];for(;_0x11d6e4&&_0x5032('0x3a')==_0x11d6e4['name']&&_0x11d6e4['getAttribute'](_0x5032('0x18'))==_0x4838a0[_0x5032('0x11')](_0x5032('0x18'));)_0x2e7157['push'](_0x11d6e4),_0x11d6e4=_0x11d6e4[_0x5032('0x31')];}return _0x2e7157;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e22=['TrackChangesEditing','listStyle','listReversed','getSelectedBlocks','bind','ELEMENT_','enableCommand','_LIST_','_getSuggestionBlocks','getFirstPosition','createRange','listItem','toUpperCase','listStart','change','filter','LegacyListPropertiesEditing','markMultiRangeBlockFormat','format','before','getLastPosition','parent','_getTranslationKeyForListStyle','numbered','push','selection','forward','element','locale','get','flat','listType','*Format:*\x20set\x20order\x20to\x20reversed','formatBlock','type','model','from','*Format:*\x20set\x20order\x20to\x20regular','document','_getSuggestionBlocksForListStyle','length','formatInline','afterInit','map','backward','list.properties','handleListReversedCommand','config','getAttribute','createPositionAt','reversed','getSiblingNodes','LegacyListUtils','commandParams','startIndex','styles','editor','*Change\x20to:*\x20%0','plugins','getListTypeFromListStyleType','handleListStartCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','unshift','handleListStyleCommand','replace'];(function(_0x3af08a,_0x5e22cc){const _0x25f4e8=function(_0xe1a7b0){while(--_0xe1a7b0){_0x3af08a['push'](_0x3af08a['shift']());}};_0x25f4e8(++_0x5e22cc);}(_0x5e22,0x15b));const _0x25f4=function(_0x3af08a,_0x5e22cc){_0x3af08a=_0x3af08a-0x0;let _0x25f4e8=_0x5e22[_0x3af08a];return _0x25f4e8;};import{Plugin as _0x35b859}from'ckeditor5/src/core.js';import{getTranslation as _0x2f9777}from'../utils/common-translations.js';export default class K extends _0x35b859{[_0x25f4('0x19')](){if(!this[_0x25f4('0x27')][_0x25f4('0x29')][_0x25f4('0x2d')](_0x25f4('0x41')))return;const _0x36ffe7=this[_0x25f4('0x27')][_0x25f4('0x1e')]['get'](_0x25f4('0x1c')),_0xc4ada5=this['editor'][_0x25f4('0x29')][_0x25f4('0xc')](_0x25f4('0x31'));_0x36ffe7[_0x25f4('0x26')]&&_0xc4ada5[_0x25f4('0x37')]('listStyle',this[_0x25f4('0x2f')][_0x25f4('0x35')](this)),_0x36ffe7[_0x25f4('0x21')]&&_0xc4ada5[_0x25f4('0x37')](_0x25f4('0x33'),this[_0x25f4('0x1d')][_0x25f4('0x35')](this)),_0x36ffe7[_0x25f4('0x25')]&&_0xc4ada5['enableCommand'](_0x25f4('0x3e'),this[_0x25f4('0x2b')]['bind'](this)),_0xc4ada5['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x25f4('0x35')](this));}[_0x25f4('0x2f')](_0x1ee734,_0x1c2514={}){const _0x1c1a76=this[_0x25f4('0x27')][_0x25f4('0x29')]['get'](_0x25f4('0x31')),_0x552486=this[_0x25f4('0x16')]();this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3f')](()=>{_0x1c1a76[_0x25f4('0x0')](_0x552486,{'commandName':_0x25f4('0x32'),'commandParams':[{'type':_0x1c2514['type']}],'formatGroupId':_0x25f4('0x32')});});}[_0x25f4('0x1d')](_0x121071,_0xd4e592={}){const _0x188247=this['editor'][_0x25f4('0x29')][_0x25f4('0xc')]('TrackChangesEditing'),_0x332164=this['_getSuggestionBlocks'](_0x26dad1=>_0x26dad1['is'](_0x25f4('0xa'),_0x25f4('0x3c'))&&_0x25f4('0x6')===_0x26dad1[_0x25f4('0x1f')](_0x25f4('0xe')));if(_0x332164[_0x25f4('0x17')]<0x1)return;const _0x567cd9=_0x332164[_0x25f4('0x1a')](_0x5dd762=>this[_0x25f4('0x27')][_0x25f4('0x12')]['createRange'](this[_0x25f4('0x27')]['model'][_0x25f4('0x20')](_0x5dd762,_0x25f4('0x2')),this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x5dd762,0x0)));this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3f')](()=>{_0x188247[_0x25f4('0x0')](_0x567cd9,{'commandName':_0x25f4('0x33'),'commandParams':[{'reversed':_0xd4e592[_0x25f4('0x21')]}],'formatGroupId':'listReversed'});});}[_0x25f4('0x2b')](_0xea81a6,_0x1dc4b5={}){const _0x592aa5=this[_0x25f4('0x27')]['plugins'][_0x25f4('0xc')]('TrackChangesEditing'),_0xb98df5=this[_0x25f4('0x39')](_0x2fa799=>_0x2fa799['is']('element',_0x25f4('0x3c'))&&'numbered'===_0x2fa799['getAttribute'](_0x25f4('0xe')));if(_0xb98df5[_0x25f4('0x17')]<0x1)return;const _0x407e60=_0xb98df5[_0x25f4('0x1a')](_0x3ee465=>this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3b')](this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x3ee465,_0x25f4('0x2')),this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x3ee465,0x0)));this[_0x25f4('0x27')]['model']['change'](()=>{_0x592aa5[_0x25f4('0x0')](_0x407e60,{'commandName':_0x25f4('0x3e'),'commandParams':[{'startIndex':_0x1dc4b5['startIndex']}],'formatGroupId':_0x25f4('0x3e')});});}['handleDescriptions'](_0x4e411c){if(_0x25f4('0x10')!=_0x4e411c[_0x25f4('0x11')]&&_0x25f4('0x18')!=_0x4e411c['type'])return;const _0x250e4b=this['editor'][_0x25f4('0xb')],{data:_0x3c4190}=_0x4e411c;if(!_0x3c4190)return;let _0x13b638,_0x165a7a;switch(_0x3c4190['commandName']){case _0x25f4('0x32'):_0x13b638=_0x25f4('0x28'),_0x165a7a={'type':_0x25f4('0x1'),'content':_0x2f9777(_0x250e4b,_0x13b638,_0x2f9777(_0x250e4b,this[_0x25f4('0x5')](_0x3c4190[_0x25f4('0x24')][0x0][_0x25f4('0x11')])))};break;case _0x25f4('0x33'):_0x13b638=_0x3c4190['commandParams'][0x0]['reversed']?_0x25f4('0xf'):_0x25f4('0x14'),_0x165a7a={'type':'format','content':_0x2f9777(_0x250e4b,_0x13b638)};break;case _0x25f4('0x3e'):_0x13b638=_0x25f4('0x2c'),_0x165a7a={'type':_0x25f4('0x1'),'content':_0x2f9777(_0x250e4b,_0x13b638,_0x3c4190[_0x25f4('0x24')][0x0][_0x25f4('0x25')])};}return _0x165a7a;}[_0x25f4('0x16')](){var _0x3329f2,_0x56f375,_0x549b0b,_0x36ed1f;const _0x24a797=this[_0x25f4('0x27')]['plugins'][_0x25f4('0xc')](_0x25f4('0x23'));let _0x22d152=Array[_0x25f4('0x13')](this[_0x25f4('0x27')][_0x25f4('0x12')]['document'][_0x25f4('0x8')]['getSelectedBlocks']());return(null===(_0x3329f2=_0x22d152[0x0])||void 0x0===_0x3329f2?void 0x0:_0x3329f2['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&_0x22d152[_0x25f4('0x2e')](..._0x24a797['getSiblingNodes'](this[_0x25f4('0x27')]['model'][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x3a')](),_0x25f4('0x1b'))),(null===(_0x56f375=_0x22d152[_0x22d152[_0x25f4('0x17')]-0x1])||void 0x0===_0x56f375?void 0x0:_0x56f375['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&_0x22d152[_0x25f4('0x7')](..._0x24a797[_0x25f4('0x22')](this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x3')](),'forward')),_0x22d152=[...new Set(_0x22d152)],(null===(_0x36ed1f=null===(_0x549b0b=this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x15')]['selection'][_0x25f4('0x3a')]())||void 0x0===_0x549b0b?void 0x0:_0x549b0b[_0x25f4('0x4')])||void 0x0===_0x36ed1f?void 0x0:_0x36ed1f['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&(_0x22d152=_0x22d152[_0x25f4('0x40')](_0x229bc1=>_0x229bc1['is'](_0x25f4('0xa'),_0x25f4('0x3c')))),_0x22d152;}[_0x25f4('0x39')](_0x5a37d9){const _0xe6be4=this[_0x25f4('0x27')]['plugins']['get']('LegacyListUtils');let _0x155079=Array['from'](this['editor'][_0x25f4('0x12')][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x34')]())[_0x25f4('0x40')](_0x5a37d9)[_0x25f4('0x1a')](_0x507f06=>{const _0x33d06=this['editor'][_0x25f4('0x12')]['createPositionAt'](_0x507f06,0x0);return[..._0xe6be4[_0x25f4('0x22')](_0x33d06,_0x25f4('0x1b')),..._0xe6be4['getSiblingNodes'](_0x33d06,_0x25f4('0x9'))];})[_0x25f4('0xd')]();return _0x155079=[...new Set(_0x155079)],_0x155079;}['_getTranslationKeyForListStyle'](_0x34bedf){return _0x25f4('0x36')+this[_0x25f4('0x27')][_0x25f4('0x29')]['get']('LegacyListUtils')[_0x25f4('0x2a')](_0x34bedf)[_0x25f4('0x3d')]()+_0x25f4('0x38')+_0x34bedf[_0x25f4('0x3d')]()[_0x25f4('0x30')](/-/g,'_');}}
23
+ const _0x401c=['createPositionAt','listStyle','TrackChangesEditing','locale','listStart','LegacyListUtils','forward','*Format:*\x20set\x20order\x20to\x20reversed','reversed','getSelectedBlocks','handleDescriptions','*Change\x20to:*\x20%0','enableCommand','listItem','listType','editor','list.properties','model','*Format:*\x20set\x20order\x20to\x20regular','_LIST_','document','length','getFirstPosition','startIndex','handleListStyleCommand','_descriptionFactory','toUpperCase','unshift','plugins','backward','from','type','getLastPosition','selection','config','replace','parent','getAttribute','get','bind','format','formatInline','markMultiRangeBlockFormat','handleListStartCommand','listReversed','getListTypeFromListStyleType','change','_getSuggestionBlocks','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSiblingNodes','before','flat','_getTranslationKeyForListStyle','element','map','commandParams','ELEMENT_','handleListReversedCommand','afterInit','commandName','styles','numbered'];(function(_0x1610c6,_0x401cba){const _0x1ee60e=function(_0x3cf4bd){while(--_0x3cf4bd){_0x1610c6['push'](_0x1610c6['shift']());}};_0x1ee60e(++_0x401cba);}(_0x401c,0x69));const _0x1ee6=function(_0x1610c6,_0x401cba){_0x1610c6=_0x1610c6-0x0;let _0x1ee60e=_0x401c[_0x1610c6];return _0x1ee60e;};import{Plugin as _0x4ee5f7}from'ckeditor5/src/core.js';import{getTranslation as _0x413d49}from'../utils/common-translations.js';export default class K extends _0x4ee5f7{[_0x1ee6('0xf')](){if(!this[_0x1ee6('0x22')][_0x1ee6('0x2f')]['has']('LegacyListPropertiesEditing'))return;const _0x50f95b=this[_0x1ee6('0x22')][_0x1ee6('0x35')][_0x1ee6('0x39')](_0x1ee6('0x23')),_0x2c7267=this[_0x1ee6('0x22')][_0x1ee6('0x2f')]['get'](_0x1ee6('0x15'));_0x50f95b[_0x1ee6('0x11')]&&_0x2c7267[_0x1ee6('0x1f')](_0x1ee6('0x14'),this[_0x1ee6('0x2b')][_0x1ee6('0x3a')](this)),_0x50f95b[_0x1ee6('0x1b')]&&_0x2c7267[_0x1ee6('0x1f')](_0x1ee6('0x1'),this[_0x1ee6('0xe')][_0x1ee6('0x3a')](this)),_0x50f95b['startIndex']&&_0x2c7267[_0x1ee6('0x1f')](_0x1ee6('0x17'),this[_0x1ee6('0x0')][_0x1ee6('0x3a')](this)),_0x2c7267[_0x1ee6('0x2c')]['registerDescriptionCallback'](this[_0x1ee6('0x1d')][_0x1ee6('0x3a')](this));}[_0x1ee6('0x2b')](_0x1e411a,_0x352855={}){const _0x31f7f8=this[_0x1ee6('0x22')][_0x1ee6('0x2f')]['get'](_0x1ee6('0x15')),_0x542f38=this['_getSuggestionBlocksForListStyle']();this[_0x1ee6('0x22')][_0x1ee6('0x24')][_0x1ee6('0x3')](()=>{_0x31f7f8[_0x1ee6('0x3d')](_0x542f38,{'commandName':_0x1ee6('0x14'),'commandParams':[{'type':_0x352855[_0x1ee6('0x32')]}],'formatGroupId':_0x1ee6('0x14')});});}[_0x1ee6('0xe')](_0x4d7fae,_0xd98977={}){const _0xee1f38=this[_0x1ee6('0x22')][_0x1ee6('0x2f')][_0x1ee6('0x39')](_0x1ee6('0x15')),_0x134892=this[_0x1ee6('0x4')](_0x3cbfaa=>_0x3cbfaa['is'](_0x1ee6('0xa'),'listItem')&&_0x1ee6('0x12')===_0x3cbfaa[_0x1ee6('0x38')](_0x1ee6('0x21')));if(_0x134892[_0x1ee6('0x28')]<0x1)return;const _0x168e39=_0x134892[_0x1ee6('0xb')](_0x1c7335=>this[_0x1ee6('0x22')]['model']['createRange'](this[_0x1ee6('0x22')]['model']['createPositionAt'](_0x1c7335,'before'),this[_0x1ee6('0x22')][_0x1ee6('0x24')][_0x1ee6('0x13')](_0x1c7335,0x0)));this[_0x1ee6('0x22')][_0x1ee6('0x24')][_0x1ee6('0x3')](()=>{_0xee1f38[_0x1ee6('0x3d')](_0x168e39,{'commandName':'listReversed','commandParams':[{'reversed':_0xd98977['reversed']}],'formatGroupId':_0x1ee6('0x1')});});}[_0x1ee6('0x0')](_0x5c152e,_0x4c23ad={}){const _0x430470=this['editor'][_0x1ee6('0x2f')][_0x1ee6('0x39')](_0x1ee6('0x15')),_0x54facd=this[_0x1ee6('0x4')](_0x127261=>_0x127261['is']('element','listItem')&&_0x1ee6('0x12')===_0x127261[_0x1ee6('0x38')](_0x1ee6('0x21')));if(_0x54facd[_0x1ee6('0x28')]<0x1)return;const _0x197f81=_0x54facd[_0x1ee6('0xb')](_0x48b0c0=>this['editor'][_0x1ee6('0x24')]['createRange'](this['editor'][_0x1ee6('0x24')][_0x1ee6('0x13')](_0x48b0c0,_0x1ee6('0x7')),this[_0x1ee6('0x22')][_0x1ee6('0x24')][_0x1ee6('0x13')](_0x48b0c0,0x0)));this['editor'][_0x1ee6('0x24')]['change'](()=>{_0x430470[_0x1ee6('0x3d')](_0x197f81,{'commandName':_0x1ee6('0x17'),'commandParams':[{'startIndex':_0x4c23ad[_0x1ee6('0x2a')]}],'formatGroupId':'listStart'});});}[_0x1ee6('0x1d')](_0xf22df4){if('formatBlock'!=_0xf22df4[_0x1ee6('0x32')]&&_0x1ee6('0x3c')!=_0xf22df4['type'])return;const _0x87f08f=this[_0x1ee6('0x22')][_0x1ee6('0x16')],{data:_0x14e483}=_0xf22df4;if(!_0x14e483)return;let _0x4ec957,_0x13ea99;switch(_0x14e483[_0x1ee6('0x10')]){case'listStyle':_0x4ec957=_0x1ee6('0x1e'),_0x13ea99={'type':_0x1ee6('0x3b'),'content':_0x413d49(_0x87f08f,_0x4ec957,_0x413d49(_0x87f08f,this[_0x1ee6('0x9')](_0x14e483['commandParams'][0x0][_0x1ee6('0x32')])))};break;case _0x1ee6('0x1'):_0x4ec957=_0x14e483[_0x1ee6('0xc')][0x0][_0x1ee6('0x1b')]?_0x1ee6('0x1a'):_0x1ee6('0x25'),_0x13ea99={'type':_0x1ee6('0x3b'),'content':_0x413d49(_0x87f08f,_0x4ec957)};break;case _0x1ee6('0x17'):_0x4ec957=_0x1ee6('0x5'),_0x13ea99={'type':_0x1ee6('0x3b'),'content':_0x413d49(_0x87f08f,_0x4ec957,_0x14e483[_0x1ee6('0xc')][0x0][_0x1ee6('0x2a')])};}return _0x13ea99;}['_getSuggestionBlocksForListStyle'](){var _0x54b4a4,_0x48b92c,_0x2aa2cd,_0x4451e4;const _0x54350b=this[_0x1ee6('0x22')]['plugins'][_0x1ee6('0x39')](_0x1ee6('0x18'));let _0x2f9746=Array[_0x1ee6('0x31')](this[_0x1ee6('0x22')]['model']['document']['selection'][_0x1ee6('0x1c')]());return(null===(_0x54b4a4=_0x2f9746[0x0])||void 0x0===_0x54b4a4?void 0x0:_0x54b4a4['is'](_0x1ee6('0xa'),_0x1ee6('0x20')))&&_0x2f9746[_0x1ee6('0x2e')](..._0x54350b[_0x1ee6('0x6')](this['editor'][_0x1ee6('0x24')]['document']['selection'][_0x1ee6('0x29')](),'backward')),(null===(_0x48b92c=_0x2f9746[_0x2f9746[_0x1ee6('0x28')]-0x1])||void 0x0===_0x48b92c?void 0x0:_0x48b92c['is'](_0x1ee6('0xa'),_0x1ee6('0x20')))&&_0x2f9746['push'](..._0x54350b['getSiblingNodes'](this['editor'][_0x1ee6('0x24')][_0x1ee6('0x27')]['selection'][_0x1ee6('0x33')](),_0x1ee6('0x19'))),_0x2f9746=[...new Set(_0x2f9746)],(null===(_0x4451e4=null===(_0x2aa2cd=this[_0x1ee6('0x22')]['model']['document'][_0x1ee6('0x34')][_0x1ee6('0x29')]())||void 0x0===_0x2aa2cd?void 0x0:_0x2aa2cd[_0x1ee6('0x37')])||void 0x0===_0x4451e4?void 0x0:_0x4451e4['is'](_0x1ee6('0xa'),_0x1ee6('0x20')))&&(_0x2f9746=_0x2f9746['filter'](_0x495d0c=>_0x495d0c['is']('element',_0x1ee6('0x20')))),_0x2f9746;}[_0x1ee6('0x4')](_0x40b550){const _0x4c05ea=this[_0x1ee6('0x22')]['plugins'][_0x1ee6('0x39')](_0x1ee6('0x18'));let _0x1b895d=Array['from'](this[_0x1ee6('0x22')][_0x1ee6('0x24')]['document']['selection'][_0x1ee6('0x1c')]())['filter'](_0x40b550)['map'](_0x1dc1b2=>{const _0x3d0dc5=this[_0x1ee6('0x22')][_0x1ee6('0x24')][_0x1ee6('0x13')](_0x1dc1b2,0x0);return[..._0x4c05ea[_0x1ee6('0x6')](_0x3d0dc5,_0x1ee6('0x30')),..._0x4c05ea[_0x1ee6('0x6')](_0x3d0dc5,_0x1ee6('0x19'))];})[_0x1ee6('0x8')]();return _0x1b895d=[...new Set(_0x1b895d)],_0x1b895d;}[_0x1ee6('0x9')](_0x5de0ba){return _0x1ee6('0xd')+this[_0x1ee6('0x22')][_0x1ee6('0x2f')]['get'](_0x1ee6('0x18'))[_0x1ee6('0x2')](_0x5de0ba)[_0x1ee6('0x2d')]()+_0x1ee6('0x26')+_0x5de0ba[_0x1ee6('0x2d')]()[_0x1ee6('0x36')](/-/g,'_');}}