@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230720.0 → 0.0.0-nightly-20230721.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 (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58f3=['listReversed','forward','handleListStyleCommand','commandParams','filter','createPositionAt','getSiblingNodes','TrackChangesEditing','styles','getLastPosition','_LIST_','backward','markMultiRangeBlockFormat','registerDescriptionCallback','change','_getSuggestionBlocks','list.properties','format','model','length','numbered','config','selection','listStyle','listStart','enableCommand','_descriptionFactory','parent','getListTypeFromListStyleType','flat','element','toUpperCase','createRange','plugins','_getSuggestionBlocksForListStyle','handleListReversedCommand','afterInit','ListUtils','*Format:*\x20set\x20order\x20to\x20reversed','listType','listItem','handleDescriptions','bind','ListPropertiesEditing','map','unshift','editor','reversed','type','document','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','before','getAttribute','getSelectedBlocks','from'];(function(_0x55ceef,_0x58f379){const _0x1ae0c6=function(_0x50d206){while(--_0x50d206){_0x55ceef['push'](_0x55ceef['shift']());}};_0x1ae0c6(++_0x58f379);}(_0x58f3,0x1cc));const _0x1ae0=function(_0x55ceef,_0x58f379){_0x55ceef=_0x55ceef-0x0;let _0x1ae0c6=_0x58f3[_0x55ceef];return _0x1ae0c6;};import{Plugin as _0x361f66}from'ckeditor5/src/core';import{getTranslation as _0x5d5056}from'../utils/common-translations';export default class nt extends _0x361f66{[_0x1ae0('0x20')](){if(!this['editor'][_0x1ae0('0x1d')]['has'](_0x1ae0('0x27')))return;const _0x4ec199=this[_0x1ae0('0x2a')][_0x1ae0('0x11')][_0x1ae0('0x2e')](_0x1ae0('0xc')),_0x47552a=this['editor'][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3'));_0x4ec199[_0x1ae0('0x4')]&&_0x47552a['enableCommand']('listStyle',this[_0x1ae0('0x37')]['bind'](this)),_0x4ec199[_0x1ae0('0x2b')]&&_0x47552a['enableCommand'](_0x1ae0('0x35'),this['handleListReversedCommand']['bind'](this)),_0x4ec199[_0x1ae0('0x30')]&&_0x47552a[_0x1ae0('0x15')](_0x1ae0('0x14'),this['handleListStartCommand'][_0x1ae0('0x26')](this)),_0x47552a[_0x1ae0('0x16')][_0x1ae0('0x9')](this[_0x1ae0('0x25')]['bind'](this));}[_0x1ae0('0x37')](_0x5def3a,_0x5c4397={}){const _0x4e52f8=this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3')),_0x3351b0=this[_0x1ae0('0x1e')]();this[_0x1ae0('0x2a')][_0x1ae0('0xe')]['change'](()=>{_0x4e52f8[_0x1ae0('0x8')](_0x3351b0,{'commandName':_0x1ae0('0x13'),'commandParams':[{'type':_0x5c4397['type']}],'formatGroupId':'listStyle'});});}[_0x1ae0('0x1f')](_0x4071d1,_0x3c75cc={}){const _0x5bb2a2=this['editor']['plugins'][_0x1ae0('0x2e')]('TrackChangesEditing'),_0x42b29b=this[_0x1ae0('0xb')](_0x203a21=>_0x203a21['is'](_0x1ae0('0x1a'),_0x1ae0('0x24'))&&_0x1ae0('0x10')===_0x203a21['getAttribute'](_0x1ae0('0x23')));if(_0x42b29b['length']<0x1)return;const _0x382244=_0x42b29b[_0x1ae0('0x28')](_0x333754=>this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1c')](this[_0x1ae0('0x2a')]['model'][_0x1ae0('0x1')](_0x333754,_0x1ae0('0x31')),this['editor'][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x333754,0x0)));this[_0x1ae0('0x2a')]['model']['change'](()=>{_0x5bb2a2[_0x1ae0('0x8')](_0x382244,{'commandName':_0x1ae0('0x35'),'commandParams':[{'reversed':_0x3c75cc['reversed']}],'formatGroupId':_0x1ae0('0x35')});});}['handleListStartCommand'](_0x204da7,_0xb53e95={}){const _0x2069ea=this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x3')),_0x14faba=this[_0x1ae0('0xb')](_0x340095=>_0x340095['is']('element','listItem')&&_0x1ae0('0x10')===_0x340095[_0x1ae0('0x32')](_0x1ae0('0x23')));if(_0x14faba[_0x1ae0('0xf')]<0x1)return;const _0x54609b=_0x14faba[_0x1ae0('0x28')](_0x1d8cf5=>this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1c')](this['editor']['model'][_0x1ae0('0x1')](_0x1d8cf5,_0x1ae0('0x31')),this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x1d8cf5,0x0)));this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0xa')](()=>{_0x2069ea[_0x1ae0('0x8')](_0x54609b,{'commandName':_0x1ae0('0x14'),'commandParams':[{'startIndex':_0xb53e95[_0x1ae0('0x30')]}],'formatGroupId':_0x1ae0('0x14')});});}[_0x1ae0('0x25')](_0x1f6507){const _0x446de7=this[_0x1ae0('0x2a')]['locale'],{data:_0x4c7ba9}=_0x1f6507;if(!_0x4c7ba9)return;let _0x181385,_0x6c1709;switch(_0x4c7ba9['commandName']){case _0x1ae0('0x13'):_0x181385='*Change\x20to:*\x20%0',_0x6c1709={'type':_0x1ae0('0xd'),'content':_0x5d5056(_0x446de7,_0x181385,_0x5d5056(_0x446de7,this['_getTranslationKeyForListStyle'](_0x4c7ba9[_0x1ae0('0x38')][0x0][_0x1ae0('0x2c')])))};break;case _0x1ae0('0x35'):_0x181385=_0x4c7ba9[_0x1ae0('0x38')][0x0]['reversed']?_0x1ae0('0x22'):'*Format:*\x20set\x20order\x20to\x20regular',_0x6c1709={'type':_0x1ae0('0xd'),'content':_0x5d5056(_0x446de7,_0x181385)};break;case _0x1ae0('0x14'):_0x181385=_0x1ae0('0x2f'),_0x6c1709={'type':'format','content':_0x5d5056(_0x446de7,_0x181385,_0x4c7ba9[_0x1ae0('0x38')][0x0][_0x1ae0('0x30')])};}return _0x6c1709;}[_0x1ae0('0x1e')](){var _0x367869,_0x508267,_0x170b0e,_0xfa4c3a;const _0x461dcb=this[_0x1ae0('0x2a')]['plugins'][_0x1ae0('0x2e')]('ListUtils');let _0x238061=Array['from'](this[_0x1ae0('0x2a')]['model'][_0x1ae0('0x2d')][_0x1ae0('0x12')]['getSelectedBlocks']());return(null===(_0x367869=_0x238061[0x0])||void 0x0===_0x367869?void 0x0:_0x367869['is']('element',_0x1ae0('0x24')))&&_0x238061[_0x1ae0('0x29')](..._0x461dcb[_0x1ae0('0x2')](this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x2d')][_0x1ae0('0x12')]['getFirstPosition'](),'backward')),(null===(_0x508267=_0x238061[_0x238061[_0x1ae0('0xf')]-0x1])||void 0x0===_0x508267?void 0x0:_0x508267['is']('element',_0x1ae0('0x24')))&&_0x238061['push'](..._0x461dcb['getSiblingNodes'](this['editor'][_0x1ae0('0xe')][_0x1ae0('0x2d')]['selection'][_0x1ae0('0x5')](),'forward')),_0x238061=[...new Set(_0x238061)],(null===(_0xfa4c3a=null===(_0x170b0e=this['editor']['model'][_0x1ae0('0x2d')]['selection']['getFirstPosition']())||void 0x0===_0x170b0e?void 0x0:_0x170b0e[_0x1ae0('0x17')])||void 0x0===_0xfa4c3a?void 0x0:_0xfa4c3a['is'](_0x1ae0('0x1a'),_0x1ae0('0x24')))&&(_0x238061=_0x238061['filter'](_0x368335=>_0x368335['is'](_0x1ae0('0x1a'),'listItem'))),_0x238061;}[_0x1ae0('0xb')](_0x334de2){const _0x1ee3b7=this[_0x1ae0('0x2a')]['plugins'][_0x1ae0('0x2e')](_0x1ae0('0x21'));let _0x3c7520=Array[_0x1ae0('0x34')](this[_0x1ae0('0x2a')][_0x1ae0('0xe')]['document']['selection'][_0x1ae0('0x33')]())[_0x1ae0('0x0')](_0x334de2)['map'](_0x3a53e3=>{const _0x55e97b=this[_0x1ae0('0x2a')][_0x1ae0('0xe')][_0x1ae0('0x1')](_0x3a53e3,0x0);return[..._0x1ee3b7[_0x1ae0('0x2')](_0x55e97b,_0x1ae0('0x7')),..._0x1ee3b7[_0x1ae0('0x2')](_0x55e97b,_0x1ae0('0x36'))];})[_0x1ae0('0x19')]();return _0x3c7520=[...new Set(_0x3c7520)],_0x3c7520;}['_getTranslationKeyForListStyle'](_0x52cb08){return'ELEMENT_'+this[_0x1ae0('0x2a')][_0x1ae0('0x1d')][_0x1ae0('0x2e')](_0x1ae0('0x21'))[_0x1ae0('0x18')](_0x52cb08)[_0x1ae0('0x1b')]()+_0x1ae0('0x6')+_0x52cb08[_0x1ae0('0x1b')]()['replace'](/-/g,'_');}}
23
+ const _0x5cc1=['ListPropertiesEditing','has','toUpperCase','registerDescriptionCallback','selection','_getSuggestionBlocksForListStyle','getAttribute','model','bind','listStyle','styles','push','_LIST_','type','ListUtils','_getTranslationKeyForListStyle','_descriptionFactory','editor','map','_getSuggestionBlocks','commandParams','handleDescriptions','createPositionAt','listType','*Change\x20to:*\x20%0','forward','change','backward','unshift','afterInit','flat','listReversed','getSiblingNodes','listStart','commandName','handleListStartCommand','plugins','getFirstPosition','listItem','locale','getSelectedBlocks','list.properties','createRange','length','filter','parent','element','getLastPosition','get','handleListReversedCommand','startIndex','before','reversed','markMultiRangeBlockFormat','TrackChangesEditing','handleListStyleCommand','replace','enableCommand','format','from'];(function(_0x4bb9c2,_0x5cc1f4){const _0x5e8ce5=function(_0x35abef){while(--_0x35abef){_0x4bb9c2['push'](_0x4bb9c2['shift']());}};_0x5e8ce5(++_0x5cc1f4);}(_0x5cc1,0x1a2));const _0x5e8c=function(_0x4bb9c2,_0x5cc1f4){_0x4bb9c2=_0x4bb9c2-0x0;let _0x5e8ce5=_0x5cc1[_0x4bb9c2];return _0x5e8ce5;};import{Plugin as _0x1d12d8}from'ckeditor5/src/core';import{getTranslation as _0x14e62a}from'../utils/common-translations';export default class nt extends _0x1d12d8{[_0x5e8c('0x1f')](){if(!this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x3')](_0x5e8c('0x2')))return;const _0x3587e1=this[_0x5e8c('0x13')]['config']['get'](_0x5e8c('0x2b')),_0x217e00=this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x38'));_0x3587e1[_0x5e8c('0xc')]&&_0x217e00[_0x5e8c('0x3b')](_0x5e8c('0xb'),this[_0x5e8c('0x39')][_0x5e8c('0xa')](this)),_0x3587e1['reversed']&&_0x217e00[_0x5e8c('0x3b')](_0x5e8c('0x21'),this[_0x5e8c('0x33')][_0x5e8c('0xa')](this)),_0x3587e1[_0x5e8c('0x34')]&&_0x217e00[_0x5e8c('0x3b')]('listStart',this[_0x5e8c('0x25')][_0x5e8c('0xa')](this)),_0x217e00[_0x5e8c('0x12')][_0x5e8c('0x5')](this[_0x5e8c('0x17')][_0x5e8c('0xa')](this));}[_0x5e8c('0x39')](_0x1f6024,_0x132fcb={}){const _0x4a906b=this[_0x5e8c('0x13')][_0x5e8c('0x26')][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x1a598d=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x5e8c('0x9')][_0x5e8c('0x1c')](()=>{_0x4a906b[_0x5e8c('0x37')](_0x1a598d,{'commandName':_0x5e8c('0xb'),'commandParams':[{'type':_0x132fcb[_0x5e8c('0xf')]}],'formatGroupId':_0x5e8c('0xb')});});}[_0x5e8c('0x33')](_0xe65cd6,_0x234109={}){const _0x531865=this[_0x5e8c('0x13')][_0x5e8c('0x26')][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x17ba30=this[_0x5e8c('0x15')](_0x474fe7=>_0x474fe7['is'](_0x5e8c('0x30'),'listItem')&&'numbered'===_0x474fe7[_0x5e8c('0x8')](_0x5e8c('0x19')));if(_0x17ba30[_0x5e8c('0x2d')]<0x1)return;const _0x3fa692=_0x17ba30[_0x5e8c('0x14')](_0x33be18=>this['editor'][_0x5e8c('0x9')][_0x5e8c('0x2c')](this[_0x5e8c('0x13')][_0x5e8c('0x9')]['createPositionAt'](_0x33be18,_0x5e8c('0x35')),this['editor'][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x33be18,0x0)));this[_0x5e8c('0x13')][_0x5e8c('0x9')]['change'](()=>{_0x531865[_0x5e8c('0x37')](_0x3fa692,{'commandName':'listReversed','commandParams':[{'reversed':_0x234109[_0x5e8c('0x36')]}],'formatGroupId':_0x5e8c('0x21')});});}[_0x5e8c('0x25')](_0x2db1fb,_0x2dce99={}){const _0x2d5adb=this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x38')),_0x16229e=this['_getSuggestionBlocks'](_0x87920b=>_0x87920b['is']('element',_0x5e8c('0x28'))&&'numbered'===_0x87920b['getAttribute'](_0x5e8c('0x19')));if(_0x16229e['length']<0x1)return;const _0x38372d=_0x16229e[_0x5e8c('0x14')](_0x5c8f83=>this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x2c')](this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x5c8f83,_0x5e8c('0x35')),this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x5c8f83,0x0)));this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x1c')](()=>{_0x2d5adb['markMultiRangeBlockFormat'](_0x38372d,{'commandName':_0x5e8c('0x23'),'commandParams':[{'startIndex':_0x2dce99['startIndex']}],'formatGroupId':'listStart'});});}[_0x5e8c('0x17')](_0x29da4d){const _0x4f9ae4=this['editor'][_0x5e8c('0x29')],{data:_0x246fb0}=_0x29da4d;if(!_0x246fb0)return;let _0x3b1f90,_0x5b3b96;switch(_0x246fb0[_0x5e8c('0x24')]){case _0x5e8c('0xb'):_0x3b1f90=_0x5e8c('0x1a'),_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90,_0x14e62a(_0x4f9ae4,this[_0x5e8c('0x11')](_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0xf')])))};break;case _0x5e8c('0x21'):_0x3b1f90=_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0x36')]?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90)};break;case'listStart':_0x3b1f90='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5b3b96={'type':_0x5e8c('0x0'),'content':_0x14e62a(_0x4f9ae4,_0x3b1f90,_0x246fb0[_0x5e8c('0x16')][0x0][_0x5e8c('0x34')])};}return _0x5b3b96;}[_0x5e8c('0x7')](){var _0x488cd6,_0x2c1183,_0xda93d4,_0xff919d;const _0xa8c8c=this['editor']['plugins'][_0x5e8c('0x32')](_0x5e8c('0x10'));let _0x2de694=Array[_0x5e8c('0x1')](this['editor'][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x2a')]());return(null===(_0x488cd6=_0x2de694[0x0])||void 0x0===_0x488cd6?void 0x0:_0x488cd6['is'](_0x5e8c('0x30'),'listItem'))&&_0x2de694[_0x5e8c('0x1e')](..._0xa8c8c[_0x5e8c('0x22')](this[_0x5e8c('0x13')][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x27')](),_0x5e8c('0x1d'))),(null===(_0x2c1183=_0x2de694[_0x2de694['length']-0x1])||void 0x0===_0x2c1183?void 0x0:_0x2c1183['is'](_0x5e8c('0x30'),'listItem'))&&_0x2de694[_0x5e8c('0xd')](..._0xa8c8c[_0x5e8c('0x22')](this['editor']['model']['document']['selection'][_0x5e8c('0x31')](),_0x5e8c('0x1b'))),_0x2de694=[...new Set(_0x2de694)],(null===(_0xff919d=null===(_0xda93d4=this[_0x5e8c('0x13')][_0x5e8c('0x9')]['document'][_0x5e8c('0x6')][_0x5e8c('0x27')]())||void 0x0===_0xda93d4?void 0x0:_0xda93d4[_0x5e8c('0x2f')])||void 0x0===_0xff919d?void 0x0:_0xff919d['is'](_0x5e8c('0x30'),_0x5e8c('0x28')))&&(_0x2de694=_0x2de694[_0x5e8c('0x2e')](_0x461944=>_0x461944['is'](_0x5e8c('0x30'),_0x5e8c('0x28')))),_0x2de694;}[_0x5e8c('0x15')](_0x1f69d6){const _0x373d22=this['editor'][_0x5e8c('0x26')]['get'](_0x5e8c('0x10'));let _0x539845=Array['from'](this[_0x5e8c('0x13')]['model']['document'][_0x5e8c('0x6')][_0x5e8c('0x2a')]())['filter'](_0x1f69d6)[_0x5e8c('0x14')](_0x435d35=>{const _0x5b06fb=this[_0x5e8c('0x13')][_0x5e8c('0x9')][_0x5e8c('0x18')](_0x435d35,0x0);return[..._0x373d22['getSiblingNodes'](_0x5b06fb,_0x5e8c('0x1d')),..._0x373d22[_0x5e8c('0x22')](_0x5b06fb,_0x5e8c('0x1b'))];})[_0x5e8c('0x20')]();return _0x539845=[...new Set(_0x539845)],_0x539845;}['_getTranslationKeyForListStyle'](_0x58ba32){return'ELEMENT_'+this[_0x5e8c('0x13')]['plugins'][_0x5e8c('0x32')](_0x5e8c('0x10'))['getListTypeFromListStyleType'](_0x58ba32)[_0x5e8c('0x4')]()+_0x5e8c('0xe')+_0x58ba32[_0x5e8c('0x4')]()[_0x5e8c('0x3a')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0d=['_descriptionFactory','afterInit','MediaEmbedEditing','registerElementLabel','high','stop','plugins','conversion','media','createEmptyElement','options','ELEMENT_MEDIA','showSuggestionHighlights','mediaEmbed'];(function(_0x47f818,_0x5e0de1){const _0x3920b4=function(_0x37f4a3){while(--_0x37f4a3){_0x47f818['push'](_0x47f818['shift']());}};_0x3920b4(++_0x5e0de1);}(_0x5e0d,0x192));const _0x3920=function(_0x47f818,_0x5e0de1){_0x47f818=_0x47f818-0x0;let _0x3920b4=_0x5e0d[_0x47f818];return _0x3920b4;};import{Plugin as _0x1c9247}from'ckeditor5/src/core';import{getTranslation as _0x4d6df3}from'../utils/common-translations';export default class ot extends _0x1c9247{[_0x3920('0x5')](){const _0x2646ba=this['editor'];if(!_0x2646ba[_0x3920('0xa')]['has'](_0x3920('0x6')))return;const _0x3b849d=_0x2646ba[_0x3920('0xa')]['get']('TrackChangesEditing'),_0x1e35ee=_0x2646ba['locale'];_0x3b849d['enableCommand'](_0x3920('0x3')),_0x3b849d[_0x3920('0x4')][_0x3920('0x7')](_0x3920('0xc'),_0x3b46d6=>_0x4d6df3(_0x1e35ee,_0x3920('0x1'),_0x3b46d6)),_0x2646ba[_0x3920('0xb')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x2390ca,{writer:_0x54af65,options:_0x199bca})=>{if(_0x199bca[_0x3920('0x2')])return _0x54af65[_0x3920('0xd')]('div');},'converterPriority':_0x3920('0x8')}),_0x2646ba['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5c34c7,_0x2280fa,_0x18f0c5)=>{_0x18f0c5[_0x3920('0x0')][_0x3920('0x2')]&&_0x5c34c7[_0x3920('0x9')]();},{'priority':_0x3920('0x8')});}}
23
+ const _0x4dbb=['plugins','options','attribute:url:media','elementToElement','get','locale','registerElementLabel','showSuggestionHighlights','conversion','dataDowncast','for','stop','data','mediaEmbed','MediaEmbedEditing','createEmptyElement','media','afterInit','div','high'];(function(_0x2cd957,_0x4dbb76){const _0x11b906=function(_0x1b3cf4){while(--_0x1b3cf4){_0x2cd957['push'](_0x2cd957['shift']());}};_0x11b906(++_0x4dbb76);}(_0x4dbb,0x120));const _0x11b9=function(_0x2cd957,_0x4dbb76){_0x2cd957=_0x2cd957-0x0;let _0x11b906=_0x4dbb[_0x2cd957];return _0x11b906;};import{Plugin as _0x54e843}from'ckeditor5/src/core';import{getTranslation as _0x1908e0}from'../utils/common-translations';export default class ot extends _0x54e843{[_0x11b9('0x9')](){const _0x422853=this['editor'];if(!_0x422853[_0x11b9('0xc')]['has'](_0x11b9('0x6')))return;const _0x5c30bf=_0x422853[_0x11b9('0xc')][_0x11b9('0x10')]('TrackChangesEditing'),_0x35fd33=_0x422853[_0x11b9('0x11')];_0x5c30bf['enableCommand'](_0x11b9('0x5')),_0x5c30bf['_descriptionFactory'][_0x11b9('0x12')]('media',_0x604aeb=>_0x1908e0(_0x35fd33,'ELEMENT_MEDIA',_0x604aeb)),_0x422853[_0x11b9('0x0')][_0x11b9('0x2')](_0x11b9('0x1'))[_0x11b9('0xf')]({'model':_0x11b9('0x8'),'view':(_0x4c96e0,{writer:_0x4d3274,options:_0x4dd103})=>{if(_0x4dd103[_0x11b9('0x13')])return _0x4d3274[_0x11b9('0x7')](_0x11b9('0xa'));},'converterPriority':_0x11b9('0xb')}),_0x422853[_0x11b9('0x4')]['downcastDispatcher']['on'](_0x11b9('0xe'),(_0x5793ad,_0xf6ede7,_0x67cccc)=>{_0x67cccc[_0x11b9('0xd')][_0x11b9('0x13')]&&_0x5793ad[_0x11b9('0x3')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x426e=['has','editor','enableCommand','plugins','afterInit','get','mention','MentionEditing'];(function(_0x153fb7,_0x426e38){const _0x1a0ed5=function(_0x16455b){while(--_0x16455b){_0x153fb7['push'](_0x153fb7['shift']());}};_0x1a0ed5(++_0x426e38);}(_0x426e,0xbd));const _0x1a0e=function(_0x153fb7,_0x426e38){_0x153fb7=_0x153fb7-0x0;let _0x1a0ed5=_0x426e[_0x153fb7];return _0x1a0ed5;};import{Plugin as _0x5b1dd9}from'ckeditor5/src/core';export default class rt extends _0x5b1dd9{[_0x1a0e('0x7')](){const _0x4808e0=this[_0x1a0e('0x4')];_0x4808e0['plugins'][_0x1a0e('0x3')](_0x1a0e('0x2'))&&_0x4808e0[_0x1a0e('0x6')][_0x1a0e('0x0')]('TrackChangesEditing')[_0x1a0e('0x5')](_0x1a0e('0x1'));}}
23
+ const _0x4bcb=['plugins','TrackChangesEditing','afterInit','MentionEditing','enableCommand'];(function(_0x551957,_0x4bcb4a){const _0x11c702=function(_0x4b4183){while(--_0x4b4183){_0x551957['push'](_0x551957['shift']());}};_0x11c702(++_0x4bcb4a);}(_0x4bcb,0x1c9));const _0x11c7=function(_0x551957,_0x4bcb4a){_0x551957=_0x551957-0x0;let _0x11c702=_0x4bcb[_0x551957];return _0x11c702;};import{Plugin as _0x24a7cd}from'ckeditor5/src/core';export default class rt extends _0x24a7cd{[_0x11c7('0x0')](){const _0x3b418c=this['editor'];_0x3b418c[_0x11c7('0x3')]['has'](_0x11c7('0x1'))&&_0x3b418c['plugins']['get'](_0x11c7('0x4'))[_0x11c7('0x2')]('mention');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2aa9=['get','editor','_descriptionFactory','plugins','afterInit','enableCommand','has','PageBreakEditing','locale','registerElementLabel','ELEMENT_PAGE_BREAK','pageBreak','TrackChangesEditing'];(function(_0x58ff55,_0x2aa933){const _0x3fbfc0=function(_0x26e18a){while(--_0x26e18a){_0x58ff55['push'](_0x58ff55['shift']());}};_0x3fbfc0(++_0x2aa933);}(_0x2aa9,0x1da));const _0x3fbf=function(_0x58ff55,_0x2aa933){_0x58ff55=_0x58ff55-0x0;let _0x3fbfc0=_0x2aa9[_0x58ff55];return _0x3fbfc0;};import{Plugin as _0x263474}from'ckeditor5/src/core';import{getTranslation as _0x38f156}from'../utils/common-translations';export default class at extends _0x263474{[_0x3fbf('0xb')](){const _0x568aa8=this[_0x3fbf('0x8')];if(!_0x568aa8[_0x3fbf('0xa')][_0x3fbf('0x0')](_0x3fbf('0x1')))return;_0x568aa8['plugins']['get'](_0x3fbf('0x6'))[_0x3fbf('0xc')](_0x3fbf('0x5'));const _0x378770=_0x568aa8['plugins'][_0x3fbf('0x7')]('TrackChangesEditing'),_0x192b3f=_0x568aa8[_0x3fbf('0x2')];_0x378770[_0x3fbf('0x9')][_0x3fbf('0x3')]('pageBreak',_0x31d626=>_0x38f156(_0x192b3f,_0x3fbf('0x4'),_0x31d626));}}
23
+ const _0x4d14=['afterInit','TrackChangesEditing','locale','PageBreakEditing','pageBreak','registerElementLabel','has','get','_descriptionFactory','plugins'];(function(_0x112b1a,_0x4d1449){const _0x4d1c88=function(_0x200c47){while(--_0x200c47){_0x112b1a['push'](_0x112b1a['shift']());}};_0x4d1c88(++_0x4d1449);}(_0x4d14,0xac));const _0x4d1c=function(_0x112b1a,_0x4d1449){_0x112b1a=_0x112b1a-0x0;let _0x4d1c88=_0x4d14[_0x112b1a];return _0x4d1c88;};import{Plugin as _0x28a786}from'ckeditor5/src/core';import{getTranslation as _0x47a757}from'../utils/common-translations';export default class at extends _0x28a786{[_0x4d1c('0x8')](){const _0xa706dd=this['editor'];if(!_0xa706dd['plugins'][_0x4d1c('0x4')](_0x4d1c('0x1')))return;_0xa706dd[_0x4d1c('0x7')][_0x4d1c('0x5')]('TrackChangesEditing')['enableCommand'](_0x4d1c('0x2'));const _0x6421f9=_0xa706dd['plugins']['get'](_0x4d1c('0x9')),_0x88efe9=_0xa706dd[_0x4d1c('0x0')];_0x6421f9[_0x4d1c('0x6')][_0x4d1c('0x3')](_0x4d1c('0x2'),_0x2d02de=>_0x47a757(_0x88efe9,'ELEMENT_PAGE_BREAK',_0x2d02de));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12e0=['*Insert:*\x20%0','markBlockFormat','insertion','consumable','checkChild','registerDescriptionCallback','editor','consume','TrackChangesEditing','paragraph','plugins','end','document','$text','markerRange','downcastDispatcher','getFirstRange','from','insert','addClass','Paragraph','selection','change','nodeAfter','enableCommand','editing','highest','isTouching','commandName','isBlock','parent','markerName','options','writer','insertParagraph','data','getSelectedBlocks','format','start','schema','mapper','model','filter','addMarker:suggestion:insertion','blockName','name','afterInit','get','_descriptionFactory','ELEMENT_PARAGRAPH','bindElementToMarker','isLimit','locale'];(function(_0x63367f,_0x12e09b){const _0x2180a2=function(_0x199be7){while(--_0x199be7){_0x63367f['push'](_0x63367f['shift']());}};_0x2180a2(++_0x12e09b);}(_0x12e0,0x7e));const _0x2180=function(_0x63367f,_0x12e09b){_0x63367f=_0x63367f-0x0;let _0x2180a2=_0x12e0[_0x63367f];return _0x2180a2;};import{Plugin as _0x4a8a76}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x36d30b}from'./utils';import{getTranslation as _0xf9b714}from'../utils/common-translations';export default class ct extends _0x4a8a76{[_0x2180('0x1a')](){const _0xb71480=this[_0x2180('0x27')];if(!_0xb71480[_0x2180('0x2b')]['has'](_0x2180('0x0')))return;const _0x2466aa=_0xb71480[_0x2180('0x20')],_0x20b6fe=_0xb71480['plugins']['get']('TrackChangesEditing');_0x20b6fe['_descriptionFactory']['registerElementLabel']('paragraph',_0x713633=>_0xf9b714(_0x2466aa,_0x2180('0x1d'),_0x713633)),_0x20b6fe['enableCommand'](_0x2180('0x2a'),(_0x125035,_0x5b6a4f={})=>{const _0x140f63=_0xb71480[_0x2180('0x15')][_0x2180('0x2d')],_0x507464=_0x5b6a4f[_0x2180('0x1')]||_0x140f63[_0x2180('0x1')],_0x17f6cd=Array[_0x2180('0x32')](_0x507464[_0x2180('0x10')]())[_0x2180('0x16')](_0x389fb2=>function(_0x17d5cd,_0x42808b){return _0x42808b[_0x2180('0x25')](_0x17d5cd[_0x2180('0xa')],'paragraph')&&!_0x42808b['isObject'](_0x17d5cd)&&_0x2180('0x2a')!=_0x17d5cd[_0x2180('0x19')];}(_0x389fb2,this[_0x2180('0x27')]['model']['schema']));_0xb71480[_0x2180('0x15')][_0x2180('0x2')](()=>{for(const _0x5733fe of _0x17f6cd)_0x20b6fe[_0x2180('0x22')](_0x5733fe,{'commandName':_0x2180('0x2a'),'commandParams':[],'formatGroupId':_0x2180('0x18')},_0x36d30b(_0x5733fe));});}),_0x20b6fe[_0x2180('0x1c')]['registerDescriptionCallback'](_0x13680f=>{const {data:_0x5ef10c}=_0x13680f;if(_0x5ef10c&&_0x2180('0x2a')==_0x5ef10c[_0x2180('0x8')])return{'type':_0x2180('0x11'),'content':_0xf9b714(_0x2466aa,'*Change\x20to:*\x20%0',_0xf9b714(_0x2466aa,_0x2180('0x1d')))};}),_0x20b6fe[_0x2180('0x4')](_0x2180('0xe')),_0xb71480[_0x2180('0x5')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0xb71480),{'priority':_0x2180('0x6')}),_0xb71480[_0x2180('0xf')][_0x2180('0x30')]['on'](_0x2180('0x17'),(_0x4e773e,_0x3a610d,_0x3d500e)=>{_0x3d500e[_0x2180('0xc')]['showSuggestionHighlights']&&ar(_0xb71480,{'showActiveMarker':!0x1})(_0x4e773e,_0x3a610d,_0x3d500e);},{'priority':_0x2180('0x6')});const _0x47b37c=_0x20b6fe[_0x2180('0x1c')];_0x47b37c[_0x2180('0x26')](_0x1ac511=>{if('insertion'!==_0x1ac511['type'])return;const {start:_0x16c08e,end:_0xdb98c3}=_0x1ac511[_0x2180('0x31')]();if(!_0x16c08e['isTouching'](_0xdb98c3)||!_0x16c08e['nodeAfter'])return;const _0x4b0e3e=_0xb71480[_0x2180('0x15')][_0x2180('0x13')],_0x588ed9=_0x16c08e['nodeAfter'];return _0x4b0e3e[_0x2180('0x9')](_0x588ed9)&&!_0x4b0e3e['isLimit'](_0x588ed9)&&_0x4b0e3e[_0x2180('0x25')](_0x588ed9,_0x2180('0x2e'))?{'type':_0x2180('0x23'),'content':_0xf9b714(_0x2466aa,_0x2180('0x21'),_0x47b37c['getItemLabel'](_0x588ed9,0x1))}:void 0x0;});}}function ar(_0x64f0ec,{showActiveMarker:_0x316a02=!0x0}={}){return(_0x1186c8,_0x3a9d89,_0x5e92d4)=>{const _0x42a2f1=_0x64f0ec[_0x2180('0x2b')][_0x2180('0x1b')](_0x2180('0x29')),_0x24207d=_0x3a9d89[_0x2180('0x2f')][_0x2180('0x12')],_0xb2b84c=_0x3a9d89[_0x2180('0x2f')][_0x2180('0x2c')],_0x1dd067=_0x64f0ec['model'][_0x2180('0x13')];if(!_0x24207d[_0x2180('0x7')](_0xb2b84c)||!_0x24207d[_0x2180('0x3')])return;const _0x61130e=_0x24207d[_0x2180('0x3')];if(_0x1dd067[_0x2180('0x9')](_0x61130e)&&!_0x1dd067[_0x2180('0x1f')](_0x61130e)&&_0x1dd067['checkChild'](_0x61130e,_0x2180('0x2e'))){if(!_0x5e92d4[_0x2180('0x24')][_0x2180('0x28')](_0x3a9d89[_0x2180('0x2f')],_0x1186c8[_0x2180('0x19')]))return;const _0x4f21b1=_0x5e92d4[_0x2180('0xd')]['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x59d54e=_0x5e92d4[_0x2180('0x14')]['toViewPosition'](_0xb2b84c);_0x316a02&&_0x42a2f1['activeMarkers']['includes'](_0x3a9d89['markerName'])&&_0x5e92d4[_0x2180('0xd')][_0x2180('0x34')]('ck-suggestion-marker--active',_0x4f21b1),_0x5e92d4[_0x2180('0xd')][_0x2180('0x33')](_0x59d54e,_0x4f21b1),_0x5e92d4[_0x2180('0x14')][_0x2180('0x1e')](_0x4f21b1,_0x3a9d89[_0x2180('0xb')]);}};}
23
+ const _0x2c6c=['writer','isBlock','addMarker:suggestion:insertion','schema','paragraph','downcastDispatcher','selection','options','insert','_descriptionFactory','start','TrackChangesEditing','markerRange','getSelectedBlocks','isLimit','name','plugins','filter','span','ELEMENT_PARAGRAPH','editor','markBlockFormat','registerDescriptionCallback','consumable','blockName','get','registerElementLabel','type','markerName','model','has','enableCommand','*Insert:*\x20%0','insertParagraph','getItemLabel','ck-suggestion-marker-split','activeMarkers','consume','isTouching','end','insertion','commandName','$text','createUIElement','showSuggestionHighlights','ck-suggestion-marker--active','locale','addClass','includes','editing','nodeAfter','mapper','highest','checkChild','isObject'];(function(_0xbfd1c2,_0x2c6cd3){const _0x4baf2a=function(_0x315c86){while(--_0x315c86){_0xbfd1c2['push'](_0xbfd1c2['shift']());}};_0x4baf2a(++_0x2c6cd3);}(_0x2c6c,0x96));const _0x4baf=function(_0xbfd1c2,_0x2c6cd3){_0xbfd1c2=_0xbfd1c2-0x0;let _0x4baf2a=_0x2c6c[_0xbfd1c2];return _0x4baf2a;};import{Plugin as _0x32017b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x13f42a}from'./utils';import{getTranslation as _0x546385}from'../utils/common-translations';export default class ct extends _0x32017b{['afterInit'](){const _0x594805=this[_0x4baf('0x23')];if(!_0x594805[_0x4baf('0x1f')][_0x4baf('0x2d')]('Paragraph'))return;const _0x952bc0=_0x594805[_0x4baf('0x6')],_0x3a949f=_0x594805[_0x4baf('0x1f')]['get'](_0x4baf('0x1a'));_0x3a949f[_0x4baf('0x18')][_0x4baf('0x29')](_0x4baf('0x13'),_0x2d555f=>_0x546385(_0x952bc0,_0x4baf('0x22'),_0x2d555f)),_0x3a949f['enableCommand'](_0x4baf('0x13'),(_0x469136,_0x3701dd={})=>{const _0x53b7c0=_0x594805[_0x4baf('0x2c')]['document'],_0x52fe5b=_0x3701dd[_0x4baf('0x15')]||_0x53b7c0[_0x4baf('0x15')],_0x217f75=Array['from'](_0x52fe5b[_0x4baf('0x1c')]())[_0x4baf('0x20')](_0x51553f=>function(_0x374d01,_0x5d638e){return _0x5d638e[_0x4baf('0xd')](_0x374d01['parent'],_0x4baf('0x13'))&&!_0x5d638e[_0x4baf('0xe')](_0x374d01)&&_0x4baf('0x13')!=_0x374d01['name'];}(_0x51553f,this[_0x4baf('0x23')][_0x4baf('0x2c')][_0x4baf('0x12')]));_0x594805['model']['change'](()=>{for(const _0x1d04f4 of _0x217f75)_0x3a949f[_0x4baf('0x24')](_0x1d04f4,{'commandName':_0x4baf('0x13'),'commandParams':[],'formatGroupId':_0x4baf('0x27')},_0x13f42a(_0x1d04f4));});}),_0x3a949f[_0x4baf('0x18')][_0x4baf('0x25')](_0x1caade=>{const {data:_0x4d8e1b}=_0x1caade;if(_0x4d8e1b&&_0x4baf('0x13')==_0x4d8e1b[_0x4baf('0x1')])return{'type':'format','content':_0x546385(_0x952bc0,'*Change\x20to:*\x20%0',_0x546385(_0x952bc0,'ELEMENT_PARAGRAPH'))};}),_0x3a949f[_0x4baf('0x2e')](_0x4baf('0x30')),_0x594805[_0x4baf('0x9')]['downcastDispatcher']['on'](_0x4baf('0x11'),ar(_0x594805),{'priority':'highest'}),_0x594805['data'][_0x4baf('0x14')]['on'](_0x4baf('0x11'),(_0x23c0ea,_0x7ebcc2,_0x5db7c0)=>{_0x5db7c0[_0x4baf('0x16')][_0x4baf('0x4')]&&ar(_0x594805,{'showActiveMarker':!0x1})(_0x23c0ea,_0x7ebcc2,_0x5db7c0);},{'priority':_0x4baf('0xc')});const _0x1ea093=_0x3a949f['_descriptionFactory'];_0x1ea093[_0x4baf('0x25')](_0x5f4f95=>{if(_0x4baf('0x0')!==_0x5f4f95[_0x4baf('0x2a')])return;const {start:_0x4e9174,end:_0x4dbd9c}=_0x5f4f95['getFirstRange']();if(!_0x4e9174[_0x4baf('0x35')](_0x4dbd9c)||!_0x4e9174[_0x4baf('0xa')])return;const _0x54b76d=_0x594805[_0x4baf('0x2c')]['schema'],_0x44864e=_0x4e9174[_0x4baf('0xa')];return _0x54b76d[_0x4baf('0x10')](_0x44864e)&&!_0x54b76d[_0x4baf('0x1d')](_0x44864e)&&_0x54b76d[_0x4baf('0xd')](_0x44864e,_0x4baf('0x2'))?{'type':_0x4baf('0x0'),'content':_0x546385(_0x952bc0,_0x4baf('0x2f'),_0x1ea093[_0x4baf('0x31')](_0x44864e,0x1))}:void 0x0;});}}function ar(_0x8588ff,{showActiveMarker:_0x5a6c1c=!0x0}={}){return(_0x4a1959,_0x679451,_0x2b6e84)=>{const _0x412329=_0x8588ff[_0x4baf('0x1f')][_0x4baf('0x28')]('TrackChangesEditing'),_0x187d3e=_0x679451[_0x4baf('0x1b')][_0x4baf('0x19')],_0x415f76=_0x679451['markerRange'][_0x4baf('0x36')],_0x23150f=_0x8588ff[_0x4baf('0x2c')][_0x4baf('0x12')];if(!_0x187d3e[_0x4baf('0x35')](_0x415f76)||!_0x187d3e[_0x4baf('0xa')])return;const _0x142237=_0x187d3e['nodeAfter'];if(_0x23150f[_0x4baf('0x10')](_0x142237)&&!_0x23150f[_0x4baf('0x1d')](_0x142237)&&_0x23150f['checkChild'](_0x142237,_0x4baf('0x2'))){if(!_0x2b6e84[_0x4baf('0x26')][_0x4baf('0x34')](_0x679451[_0x4baf('0x1b')],_0x4a1959[_0x4baf('0x1e')]))return;const _0x55692c=_0x2b6e84[_0x4baf('0xf')][_0x4baf('0x3')](_0x4baf('0x21'),{'class':_0x4baf('0x32')}),_0xa0aed5=_0x2b6e84['mapper']['toViewPosition'](_0x415f76);_0x5a6c1c&&_0x412329[_0x4baf('0x33')][_0x4baf('0x8')](_0x679451[_0x4baf('0x2b')])&&_0x2b6e84['writer'][_0x4baf('0x7')](_0x4baf('0x5'),_0x55692c),_0x2b6e84['writer'][_0x4baf('0x17')](_0xa0aed5,_0x55692c),_0x2b6e84[_0x4baf('0xb')]['bindElementToMarker'](_0x55692c,_0x679451[_0x4baf('0x2b')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1981=['removeFormat','isCollapsed','afterInit','getAttributes','editor','format','*Remove\x20all\x20formatting*','createRangeOn','selection','document','getAttributeProperties','schema','locale','getItems','isFormatting','model','enableCommand','_descriptionFactory','change','has','plugins','TrackChangesEditing','markInlineFormat','getRanges'];(function(_0x4f4583,_0x1981a1){const _0x4a4699=function(_0x56b690){while(--_0x56b690){_0x4f4583['push'](_0x4f4583['shift']());}};_0x4a4699(++_0x1981a1);}(_0x1981,0x1b1));const _0x4a46=function(_0x4f4583,_0x1981a1){_0x4f4583=_0x4f4583-0x0;let _0x4a4699=_0x1981[_0x4f4583];return _0x4a4699;};import{Plugin as _0x992e7f}from'ckeditor5/src/core';import{getTranslation as _0x2786a1}from'../utils/common-translations';export default class ht extends _0x992e7f{[_0x4a46('0x1')](){const _0x450a4e=this[_0x4a46('0x3')];if(!_0x450a4e['plugins'][_0x4a46('0x12')]('RemoveFormatEditing'))return;const _0x17d4ff=_0x450a4e[_0x4a46('0x13')]['get'](_0x4a46('0x14'));_0x17d4ff[_0x4a46('0xf')]('removeFormat',_0x47b09e=>{const _0x26f4af=_0x450a4e[_0x4a46('0xe')][_0x4a46('0x8')][_0x4a46('0x7')];_0x26f4af[_0x4a46('0x0')]?_0x47b09e():_0x450a4e[_0x4a46('0xe')][_0x4a46('0x11')](()=>{const _0xadac41=Array['from'](_0x26f4af[_0x4a46('0x16')]());for(const _0x547cc3 of _0xadac41)for(const _0x8239a7 of _0x547cc3[_0x4a46('0xc')]())eo(_0x8239a7,_0x450a4e[_0x4a46('0xe')][_0x4a46('0xa')])&&_0x17d4ff[_0x4a46('0x15')](_0x450a4e[_0x4a46('0xe')][_0x4a46('0x6')](_0x8239a7),{'commandName':_0x4a46('0x17'),'commandParams':[]});});}),_0x17d4ff[_0x4a46('0x10')]['registerDescriptionCallback'](_0x6c72cd=>{const {data:_0x174eee}=_0x6c72cd;if(_0x174eee&&_0x4a46('0x17')==_0x174eee['commandName'])return{'type':_0x4a46('0x4'),'content':_0x2786a1(_0x450a4e[_0x4a46('0xb')],_0x4a46('0x5'))};});}}function eo(_0x5f0ce6,_0x389403){for(const [_0x4fd848]of _0x5f0ce6[_0x4a46('0x2')]()){const _0x5c526d=_0x389403[_0x4a46('0x9')](_0x4fd848);if(_0x5c526d&&_0x5c526d[_0x4a46('0xd')])return!0x0;}return!0x1;}
23
+ const _0x16b8=['plugins','format','markInlineFormat','has','getAttributeProperties','getRanges','change','from','model','removeFormat','TrackChangesEditing','document','afterInit','isFormatting','commandName','createRangeOn','enableCommand','editor','registerDescriptionCallback','locale','schema','isCollapsed','getItems','_descriptionFactory'];(function(_0x305c49,_0x16b804){const _0x596617=function(_0x4dcf10){while(--_0x4dcf10){_0x305c49['push'](_0x305c49['shift']());}};_0x596617(++_0x16b804);}(_0x16b8,0x70));const _0x5966=function(_0x305c49,_0x16b804){_0x305c49=_0x305c49-0x0;let _0x596617=_0x16b8[_0x305c49];return _0x596617;};import{Plugin as _0x283096}from'ckeditor5/src/core';import{getTranslation as _0x3f13ca}from'../utils/common-translations';export default class ht extends _0x283096{[_0x5966('0x14')](){const _0x2efb6b=this[_0x5966('0x1')];if(!_0x2efb6b[_0x5966('0x8')][_0x5966('0xb')]('RemoveFormatEditing'))return;const _0x456a04=_0x2efb6b[_0x5966('0x8')]['get'](_0x5966('0x12'));_0x456a04[_0x5966('0x0')](_0x5966('0x11'),_0x2bf5bc=>{const _0x52153d=_0x2efb6b[_0x5966('0x10')][_0x5966('0x13')]['selection'];_0x52153d[_0x5966('0x5')]?_0x2bf5bc():_0x2efb6b[_0x5966('0x10')][_0x5966('0xe')](()=>{const _0x4a1909=Array[_0x5966('0xf')](_0x52153d[_0x5966('0xd')]());for(const _0x23ee06 of _0x4a1909)for(const _0x1c94f1 of _0x23ee06[_0x5966('0x6')]())eo(_0x1c94f1,_0x2efb6b[_0x5966('0x10')][_0x5966('0x4')])&&_0x456a04[_0x5966('0xa')](_0x2efb6b[_0x5966('0x10')][_0x5966('0x17')](_0x1c94f1),{'commandName':_0x5966('0x11'),'commandParams':[]});});}),_0x456a04[_0x5966('0x7')][_0x5966('0x2')](_0x385015=>{const {data:_0x4530f2}=_0x385015;if(_0x4530f2&&'removeFormat'==_0x4530f2[_0x5966('0x16')])return{'type':_0x5966('0x9'),'content':_0x3f13ca(_0x2efb6b[_0x5966('0x3')],'*Remove\x20all\x20formatting*')};});}}function eo(_0x1e957e,_0x33eaa5){for(const [_0x41df24]of _0x1e957e['getAttributes']()){const _0x28abd3=_0x33eaa5[_0x5966('0xc')](_0x41df24);if(_0x28abd3&&_0x28abd3[_0x5966('0x15')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31ef=['get','goToNextRestrictedEditingException','acceptSelectedSuggestions','acceptSuggestion','has','discardSuggestion','goToPreviousRestrictedEditingException','RestrictedEditingModeEditing','trackChanges','editor','enableCommand','plugins','afterInit','discardAllSuggestions'];(function(_0x28f8c2,_0x31ef2a){const _0x374a69=function(_0x4a116e){while(--_0x4a116e){_0x28f8c2['push'](_0x28f8c2['shift']());}};_0x374a69(++_0x31ef2a);}(_0x31ef,0x110));const _0x374a=function(_0x28f8c2,_0x31ef2a){_0x28f8c2=_0x28f8c2-0x0;let _0x374a69=_0x31ef[_0x28f8c2];return _0x374a69;};import{Plugin as _0x39b7b5}from'ckeditor5/src/core';export default class ut extends _0x39b7b5{[_0x374a('0x6')](){const _0x24b6a6=this[_0x374a('0x3')];if(!_0x24b6a6['plugins'][_0x374a('0xc')](_0x374a('0x1')))return;const _0x114d1f=_0x24b6a6[_0x374a('0x5')][_0x374a('0x8')]('TrackChangesEditing');_0x114d1f[_0x374a('0x4')](_0x374a('0x0')),_0x114d1f[_0x374a('0x4')](_0x374a('0x9'));const _0x19f615=_0x24b6a6[_0x374a('0x5')][_0x374a('0x8')]('RestrictedEditingModeEditing');_0x19f615[_0x374a('0x4')](_0x374a('0x2')),_0x19f615[_0x374a('0x4')](_0x374a('0xb')),_0x19f615[_0x374a('0x4')](_0x374a('0xd')),_0x19f615['enableCommand']('acceptAllSuggestions'),_0x19f615[_0x374a('0x4')](_0x374a('0x7')),_0x19f615['enableCommand'](_0x374a('0xa')),_0x19f615[_0x374a('0x4')]('discardSelectedSuggestions');}}
23
+ const _0x2ec8=['get','discardSuggestion','acceptSelectedSuggestions','discardAllSuggestions','plugins','acceptSuggestion','goToNextRestrictedEditingException','acceptAllSuggestions','has','enableCommand','goToPreviousRestrictedEditingException','RestrictedEditingModeEditing','TrackChangesEditing'];(function(_0x39991e,_0x2ec8a0){const _0x4f3285=function(_0x3f2e82){while(--_0x3f2e82){_0x39991e['push'](_0x39991e['shift']());}};_0x4f3285(++_0x2ec8a0);}(_0x2ec8,0x156));const _0x4f32=function(_0x39991e,_0x2ec8a0){_0x39991e=_0x39991e-0x0;let _0x4f3285=_0x2ec8[_0x39991e];return _0x4f3285;};import{Plugin as _0x33f453}from'ckeditor5/src/core';export default class ut extends _0x33f453{['afterInit'](){const _0xb8afb8=this['editor'];if(!_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x4')](_0x4f32('0x7')))return;const _0x2d288e=_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x9')](_0x4f32('0x8'));_0x2d288e[_0x4f32('0x5')](_0x4f32('0x6')),_0x2d288e['enableCommand'](_0x4f32('0x2'));const _0xddc7d9=_0xb8afb8[_0x4f32('0x0')][_0x4f32('0x9')](_0x4f32('0x7'));_0xddc7d9[_0x4f32('0x5')]('trackChanges'),_0xddc7d9['enableCommand'](_0x4f32('0x1')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xa')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0x3')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xc')),_0xddc7d9[_0x4f32('0x5')](_0x4f32('0xb')),_0xddc7d9[_0x4f32('0x5')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a5e=['get','ELEMENT_LINE_BREAK','registerElementLabel','init','bindElementToMarker','editor','toViewPosition','TrackChangesEditing','downcastDispatcher','markerName','showSuggestionHighlights','span','ck-suggestion-marker-','high','writer','markerRange','shiftEnter','test','addMarker:suggestion','getItems','plugins','name','mapper','merge','includes','model','consumable','addClass','requires','element','createPositionBefore','deletion','insert','addMarker:suggestion:deletion','activeMarkers','locale','enableCommand','editing','softBreak','addMarker:suggestion:insertion'];(function(_0x10296f,_0x4a5e18){const _0x4e66f9=function(_0x3240a0){while(--_0x3240a0){_0x10296f['push'](_0x10296f['shift']());}};_0x4e66f9(++_0x4a5e18);}(_0x4a5e,0xa7));const _0x4e66=function(_0x10296f,_0x4a5e18){_0x10296f=_0x10296f-0x0;let _0x4e66f9=_0x4a5e[_0x10296f];return _0x4e66f9;};import{Plugin as _0x265aaf}from'ckeditor5/src/core';import{ShiftEnter as _0xc1d56f}from'ckeditor5/src/enter';import{getTranslation as _0x148685}from'../utils/common-translations';export default class ft extends _0x265aaf{static get[_0x4e66('0x15')](){return[_0xc1d56f];}[_0x4e66('0x24')](){const _0x5430f2=this[_0x4e66('0x26')],_0x39ac93=_0x5430f2['plugins']['get'](_0x4e66('0x0'));_0x39ac93[_0x4e66('0x1d')](_0x4e66('0x9')),_0x5430f2[_0x4e66('0x1e')]['downcastDispatcher']['on'](_0x4e66('0x20'),re(_0x5430f2),{'priority':_0x4e66('0x6')}),_0x5430f2[_0x4e66('0x1e')]['downcastDispatcher']['on'](_0x4e66('0x1a'),re(_0x5430f2),{'priority':_0x4e66('0x6')}),_0x5430f2['data'][_0x4e66('0x1')]['on'](_0x4e66('0xb'),(_0x4f7fb2,_0x42ff73,_0x4a67d6)=>{_0x4a67d6['options'][_0x4e66('0x3')]&&re(_0x5430f2,{'showActiveMarker':!0x1})(_0x4f7fb2,_0x42ff73,_0x4a67d6);}),_0x39ac93['_descriptionFactory'][_0x4e66('0x23')](_0x4e66('0x1f'),_0x5529fc=>_0x148685(_0x5430f2[_0x4e66('0x1c')],_0x4e66('0x22'),_0x5529fc));}}function re(_0x59e56b,{showActiveMarker:_0x1df946=!0x0}={}){return(_0x1f9c6e,_0x11de3d,_0x49c2a4)=>{const _0x452099=_0x59e56b[_0x4e66('0xd')][_0x4e66('0x21')](_0x4e66('0x0'));if(!_0x49c2a4[_0x4e66('0x13')][_0x4e66('0xa')](_0x11de3d[_0x4e66('0x8')],_0x1f9c6e[_0x4e66('0xe')]))return;const _0x4f619e=_0x59e56b[_0x4e66('0x12')];for(const _0x47c4de of _0x11de3d[_0x4e66('0x8')][_0x4e66('0xc')]()){if(!_0x47c4de['is'](_0x4e66('0x16'),_0x4e66('0x1f')))continue;const _0x243557=_0x4e66('0x18')==_0x11de3d[_0x4e66('0x2')]['split'](':')[0x1]?_0x4e66('0x10'):'split',_0x4205d9=_0x49c2a4['writer']['createUIElement'](_0x4e66('0x4'),{'class':_0x4e66('0x5')+_0x243557}),_0x3ea7bf=_0x49c2a4[_0x4e66('0xf')][_0x4e66('0x27')](_0x4f619e[_0x4e66('0x17')](_0x47c4de));_0x1df946&&_0x452099[_0x4e66('0x1b')][_0x4e66('0x11')](_0x11de3d[_0x4e66('0x2')])&&_0x49c2a4[_0x4e66('0x7')][_0x4e66('0x14')]('ck-suggestion-marker--active',_0x4205d9),_0x49c2a4[_0x4e66('0x7')][_0x4e66('0x19')](_0x3ea7bf,_0x4205d9),_0x49c2a4['mapper'][_0x4e66('0x25')](_0x4205d9,_0x11de3d[_0x4e66('0x2')]);}};}
23
+ const _0x29f8=['softBreak','markerName','addMarker:suggestion','ck-suggestion-marker--active','addMarker:suggestion:insertion','toViewPosition','init','showSuggestionHighlights','ck-suggestion-marker-','consumable','writer','activeMarkers','deletion','_descriptionFactory','get','options','downcastDispatcher','getItems','ELEMENT_LINE_BREAK','locale','includes','test','createUIElement','name','enableCommand','requires','mapper','editor','plugins','addClass','bindElementToMarker','markerRange','element','TrackChangesEditing','addMarker:suggestion:deletion','editing','split','model'];(function(_0x18b29e,_0x29f81f){const _0xa0d13=function(_0x238324){while(--_0x238324){_0x18b29e['push'](_0x18b29e['shift']());}};_0xa0d13(++_0x29f81f);}(_0x29f8,0xcb));const _0xa0d1=function(_0x18b29e,_0x29f81f){_0x18b29e=_0x18b29e-0x0;let _0xa0d13=_0x29f8[_0x18b29e];return _0xa0d13;};import{Plugin as _0x3d21a1}from'ckeditor5/src/core';import{ShiftEnter as _0x462332}from'ckeditor5/src/enter';import{getTranslation as _0x160936}from'../utils/common-translations';export default class ft extends _0x3d21a1{static get[_0xa0d1('0xc')](){return[_0x462332];}[_0xa0d1('0x1f')](){const _0x4776bc=this[_0xa0d1('0xe')],_0x2645fe=_0x4776bc[_0xa0d1('0xf')][_0xa0d1('0x1')](_0xa0d1('0x14'));_0x2645fe[_0xa0d1('0xb')]('shiftEnter'),_0x4776bc[_0xa0d1('0x16')][_0xa0d1('0x3')]['on'](_0xa0d1('0x1d'),re(_0x4776bc),{'priority':'high'}),_0x4776bc['editing'][_0xa0d1('0x3')]['on'](_0xa0d1('0x15'),re(_0x4776bc),{'priority':'high'}),_0x4776bc['data'][_0xa0d1('0x3')]['on'](_0xa0d1('0x1b'),(_0x28818e,_0x7b9b3a,_0x123060)=>{_0x123060[_0xa0d1('0x2')][_0xa0d1('0x20')]&&re(_0x4776bc,{'showActiveMarker':!0x1})(_0x28818e,_0x7b9b3a,_0x123060);}),_0x2645fe[_0xa0d1('0x0')]['registerElementLabel'](_0xa0d1('0x19'),_0x33aab3=>_0x160936(_0x4776bc[_0xa0d1('0x6')],_0xa0d1('0x5'),_0x33aab3));}}function re(_0xf25c0,{showActiveMarker:_0x2d5449=!0x0}={}){return(_0x3cffec,_0x5ca93d,_0xe69def)=>{const _0x2d995a=_0xf25c0['plugins']['get'](_0xa0d1('0x14'));if(!_0xe69def[_0xa0d1('0x22')][_0xa0d1('0x8')](_0x5ca93d['markerRange'],_0x3cffec[_0xa0d1('0xa')]))return;const _0x54dd56=_0xf25c0[_0xa0d1('0x18')];for(const _0x3ff372 of _0x5ca93d[_0xa0d1('0x12')][_0xa0d1('0x4')]()){if(!_0x3ff372['is'](_0xa0d1('0x13'),'softBreak'))continue;const _0x3cd954=_0xa0d1('0x25')==_0x5ca93d[_0xa0d1('0x1a')][_0xa0d1('0x17')](':')[0x1]?'merge':_0xa0d1('0x17'),_0x145404=_0xe69def[_0xa0d1('0x23')][_0xa0d1('0x9')]('span',{'class':_0xa0d1('0x21')+_0x3cd954}),_0x384d80=_0xe69def[_0xa0d1('0xd')][_0xa0d1('0x1e')](_0x54dd56['createPositionBefore'](_0x3ff372));_0x2d5449&&_0x2d995a[_0xa0d1('0x24')][_0xa0d1('0x7')](_0x5ca93d[_0xa0d1('0x1a')])&&_0xe69def[_0xa0d1('0x23')][_0xa0d1('0x10')](_0xa0d1('0x1c'),_0x145404),_0xe69def[_0xa0d1('0x23')]['insert'](_0x384d80,_0x145404),_0xe69def[_0xa0d1('0xd')][_0xa0d1('0x11')](_0x145404,_0x5ca93d[_0xa0d1('0x1a')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c57=['registerDescriptionCallback','forceValue','markInlineFormat','value','commandName','restrictedEditingException','commands','StandardEditingModeEditing','getRanges','get','document','from','has','locale','isCollapsed','selection','FORMAT_RESTRICTED_ENABLED','change','plugins','model','enableCommand','TrackChangesEditing'];(function(_0x184bfa,_0x1c5724){const _0x1e8f72=function(_0x43bf9a){while(--_0x43bf9a){_0x184bfa['push'](_0x184bfa['shift']());}};_0x1e8f72(++_0x1c5724);}(_0x1c57,0xca));const _0x1e8f=function(_0x184bfa,_0x1c5724){_0x184bfa=_0x184bfa-0x0;let _0x1e8f72=_0x1c57[_0x184bfa];return _0x1e8f72;};import{Plugin as _0x2f97b6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x413ea6}from'./utils';import{getTranslation as _0x2b0e92}from'../utils/common-translations';export default class lt extends _0x2f97b6{['afterInit'](){const _0x16f58f=this['editor'],_0x42b63b=_0x16f58f[_0x1e8f('0xf')],_0x4b787c=_0x16f58f[_0x1e8f('0x9')];if(!_0x16f58f['plugins'][_0x1e8f('0x8')](_0x1e8f('0x3')))return;const _0x288aed=_0x16f58f[_0x1e8f('0xe')]['get'](_0x1e8f('0x11')),_0x29c1c3=_0x1e8f('0x1'),_0x77f9e3=_0x16f58f[_0x1e8f('0x2')][_0x1e8f('0x5')](_0x29c1c3);_0x288aed[_0x1e8f('0x10')](_0x29c1c3,(_0x292bbb,_0x336ac2={})=>{const _0x37c5ba=_0x42b63b[_0x1e8f('0x6')][_0x1e8f('0xb')];if(_0x37c5ba[_0x1e8f('0xa')])return void _0x292bbb(_0x336ac2);const _0x1770a7=void 0x0!==_0x336ac2[_0x1e8f('0x13')]?_0x336ac2[_0x1e8f('0x13')]:!_0x77f9e3[_0x1e8f('0x15')];_0x42b63b[_0x1e8f('0xd')](()=>{const _0x25db18=Array[_0x1e8f('0x7')](_0x37c5ba[_0x1e8f('0x4')]());for(const _0x509644 of _0x25db18){const _0x4a2795=_0x1770a7?[_0x509644]:_0x413ea6(_0x29c1c3,_0x509644,_0x42b63b);for(const _0x32d8eb of _0x4a2795)_0x288aed[_0x1e8f('0x14')](_0x32d8eb,{'commandName':_0x29c1c3,'commandParams':[{'forceValue':_0x1770a7}]});}});}),_0x288aed['_descriptionFactory'][_0x1e8f('0x12')](_0xfcbeb=>{const {data:_0x3910c6}=_0xfcbeb;if(_0x3910c6&&_0x3910c6[_0x1e8f('0x0')]==_0x29c1c3)return _0x3910c6['commandParams'][0x0][_0x1e8f('0x13')]?{'type':'format','content':_0x2b0e92(_0x4b787c,_0x1e8f('0xc'))}:{'type':'format','content':_0x2b0e92(_0x4b787c,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x2576=['markInlineFormat','forceValue','TrackChangesEditing','commandParams','FORMAT_RESTRICTED_DISABLED','model','restrictedEditingException','selection','get','getRanges','change','has','commands','isCollapsed','format','FORMAT_RESTRICTED_ENABLED','document','locale','editor','plugins','value','_descriptionFactory'];(function(_0xbf98f1,_0x25763a){const _0x8bb5e0=function(_0x4f8c72){while(--_0x4f8c72){_0xbf98f1['push'](_0xbf98f1['shift']());}};_0x8bb5e0(++_0x25763a);}(_0x2576,0x96));const _0x8bb5=function(_0xbf98f1,_0x25763a){_0xbf98f1=_0xbf98f1-0x0;let _0x8bb5e0=_0x2576[_0xbf98f1];return _0x8bb5e0;};import{Plugin as _0x54fc5e}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x252bb5}from'./utils';import{getTranslation as _0x4eb000}from'../utils/common-translations';export default class lt extends _0x54fc5e{['afterInit'](){const _0x23577f=this[_0x8bb5('0x0')],_0x471b97=_0x23577f[_0x8bb5('0x9')],_0x482fba=_0x23577f[_0x8bb5('0x15')];if(!_0x23577f[_0x8bb5('0x1')][_0x8bb5('0xf')]('StandardEditingModeEditing'))return;const _0x767f78=_0x23577f[_0x8bb5('0x1')][_0x8bb5('0xc')](_0x8bb5('0x6')),_0x422085=_0x8bb5('0xa'),_0x2c1a47=_0x23577f[_0x8bb5('0x10')][_0x8bb5('0xc')](_0x422085);_0x767f78['enableCommand'](_0x422085,(_0x136c64,_0x3177cc={})=>{const _0x7cd64=_0x471b97[_0x8bb5('0x14')][_0x8bb5('0xb')];if(_0x7cd64[_0x8bb5('0x11')])return void _0x136c64(_0x3177cc);const _0x3a875b=void 0x0!==_0x3177cc[_0x8bb5('0x5')]?_0x3177cc[_0x8bb5('0x5')]:!_0x2c1a47[_0x8bb5('0x2')];_0x471b97[_0x8bb5('0xe')](()=>{const _0x14912f=Array['from'](_0x7cd64[_0x8bb5('0xd')]());for(const _0x19fbc6 of _0x14912f){const _0x24db6f=_0x3a875b?[_0x19fbc6]:_0x252bb5(_0x422085,_0x19fbc6,_0x471b97);for(const _0x150a3c of _0x24db6f)_0x767f78[_0x8bb5('0x4')](_0x150a3c,{'commandName':_0x422085,'commandParams':[{'forceValue':_0x3a875b}]});}});}),_0x767f78[_0x8bb5('0x3')]['registerDescriptionCallback'](_0x116f6e=>{const {data:_0x15c0c7}=_0x116f6e;if(_0x15c0c7&&_0x15c0c7['commandName']==_0x422085)return _0x15c0c7[_0x8bb5('0x7')][0x0][_0x8bb5('0x5')]?{'type':'format','content':_0x4eb000(_0x482fba,_0x8bb5('0x13'))}:{'type':_0x8bb5('0x12'),'content':_0x4eb000(_0x482fba,_0x8bb5('0x8'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x553b=['change','_getStyleDefinition','commandParams','forceValue','commandName','find','editor','getRanges','toLowerCase','element','getAttribute','isCollapsed','block','afterInit','TrackChangesEditing','Style','add','plugins','markInlineFormat','inline','registerDescriptionCallback','every','format','createRangeOn','style:','config','getDefinitionsForView','value','isBlock','get','enabledStyles','normalizeConfig','*Remove\x20format:*\x20%0','getAncestors','includes','style.definitions','from','getItems','selection','DataSchema','_getRangesWithClasses','push','model','classes','StyleUtils','style','*Format:*\x20%0','markBlockFormat','name','styleName'];(function(_0x5645e9,_0x553b29){const _0x5ade9b=function(_0x2124c2){while(--_0x2124c2){_0x5645e9['push'](_0x5645e9['shift']());}};_0x5ade9b(++_0x553b29);}(_0x553b,0x1ce));const _0x5ade=function(_0x5645e9,_0x553b29){_0x5645e9=_0x5645e9-0x0;let _0x5ade9b=_0x553b[_0x5645e9];return _0x5ade9b;};import{Plugin as _0x2805cb}from'ckeditor5/src/core';import{getTranslation as _0x2e4518}from'../utils/common-translations';export default class gt extends _0x2805cb{[_0x5ade('0x1')](){const _0x481f39=this[_0x5ade('0x2c')];if(!_0x481f39[_0x5ade('0x5')]['has'](_0x5ade('0x3')))return;const _0x3f5370=_0x481f39['commands'][_0x5ade('0x11')]('style'),_0x5043dd=_0x481f39[_0x5ade('0x5')]['get'](_0x5ade('0x2')),_0x229bf4=_0x481f39['locale'],_0x184ceb=_0x481f39[_0x5ade('0x5')][_0x5ade('0x11')](_0x5ade('0x1b')),_0x2d60cf=_0x481f39[_0x5ade('0x5')][_0x5ade('0x11')](_0x5ade('0x20'))[_0x5ade('0x13')](_0x184ceb,_0x481f39[_0x5ade('0xd')]['get'](_0x5ade('0x17')));_0x5043dd['enableCommand'](_0x5ade('0x21'),(_0x58e376,{styleName:_0x16d939})=>{const _0x13454a=_0x481f39[_0x5ade('0x1e')]['document'][_0x5ade('0x1a')],_0x8ce220=this[_0x5ade('0x27')](_0x16d939,_0x2d60cf);if(!_0x8ce220)return;if(!_0x3f5370[_0x5ade('0x12')][_0x5ade('0x16')](_0x16d939))return;if(_0x13454a[_0x5ade('0x31')]&&!_0x8ce220[_0x5ade('0x10')])return void _0x58e376({'styleName':_0x16d939});const _0x161e8d=!_0x3f5370[_0x5ade('0xf')][_0x5ade('0x16')](_0x8ce220['name']);if(_0x8ce220['isBlock']){const _0x521b28=function(_0x1c93c5,_0x45e664){const _0x33f518=new Set();for(const _0xa3b1be of _0x1c93c5){const _0x44786c=_0xa3b1be[_0x5ade('0x15')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2f4c6e of _0x44786c)if(_0x45e664['includes'](_0x2f4c6e['name'])){_0x33f518[_0x5ade('0x4')](_0x2f4c6e);break;}}return _0x33f518;}(_0x13454a['getSelectedBlocks'](),_0x8ce220['modelElements']);_0x481f39[_0x5ade('0x1e')][_0x5ade('0x26')](()=>{for(const _0x33c6c9 of _0x521b28)_0x5043dd[_0x5ade('0x23')](_0x33c6c9,{'commandName':_0x5ade('0x21'),'commandParams':[{'styleName':_0x16d939,'forceValue':_0x161e8d}],'formatGroupId':_0x5ade('0xc')+_0x16d939});});}else{let _0xc4550c=Array['from'](_0x13454a[_0x5ade('0x2d')]());if(!_0x161e8d){const _0x5bdfec=Array[_0x5ade('0x18')](_0x184ceb[_0x5ade('0xe')](_0x8ce220[_0x5ade('0x2f')],!0x1))[0x0][_0x5ade('0x1e')],_0x36e1d6=[];for(const _0x2cf9fb of _0xc4550c){const _0xda1078=this[_0x5ade('0x1c')](_0x481f39[_0x5ade('0x1e')],_0x2cf9fb,_0x8ce220[_0x5ade('0x1f')],_0x5bdfec);_0x36e1d6[_0x5ade('0x1d')](..._0xda1078);}_0xc4550c=_0x36e1d6;}_0x481f39['model'][_0x5ade('0x26')](()=>{for(const _0xdcebdc of _0xc4550c)_0x5043dd[_0x5ade('0x6')](_0xdcebdc,{'commandName':'style','commandParams':[{'styleName':_0x16d939,'forceValue':_0x161e8d}]});});}}),_0x5043dd['_descriptionFactory'][_0x5ade('0x8')](_0x1519fc=>{const {data:_0xda0a35}=_0x1519fc;if(_0xda0a35&&_0x5ade('0x21')===_0xda0a35[_0x5ade('0x2a')])return _0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x29')]?{'type':_0x5ade('0xa'),'content':_0x2e4518(_0x229bf4,_0x5ade('0x22'),_0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x25')]['toLowerCase']())}:{'type':'format','content':_0x2e4518(_0x229bf4,_0x5ade('0x14'),_0xda0a35[_0x5ade('0x28')][0x0][_0x5ade('0x25')][_0x5ade('0x2e')]())};});}[_0x5ade('0x27')](_0x8063ea,_0x54a8f1){let _0x3c12b5=_0x54a8f1[_0x5ade('0x0')]['find'](_0x1242de=>_0x1242de[_0x5ade('0x24')]===_0x8063ea);return _0x3c12b5||(_0x3c12b5=_0x54a8f1[_0x5ade('0x7')][_0x5ade('0x2b')](_0x4fa2ae=>_0x4fa2ae[_0x5ade('0x24')]===_0x8063ea)),_0x3c12b5;}[_0x5ade('0x1c')](_0x3fd415,_0x513d9f,_0x240708,_0x2be8c3){const _0x36dfd9=[];for(const _0x33891c of _0x513d9f[_0x5ade('0x19')]()){const _0x1f0bbe=_0x33891c[_0x5ade('0x30')](_0x2be8c3);_0x1f0bbe&&(_0x240708[_0x5ade('0x9')](_0x5916a4=>_0x1f0bbe[_0x5ade('0x1f')][_0x5ade('0x16')](_0x5916a4))&&_0x36dfd9['push'](_0x3fd415[_0x5ade('0xb')](_0x33891c)));}return _0x36dfd9;}}
23
+ const _0x1fa8=['_getStyleDefinition','every','config','_descriptionFactory','getAttribute','add','commandName','Style','modelElements','document','normalizeConfig','markBlockFormat','from','has','editor','plugins','TrackChangesEditing','block','markInlineFormat','style.definitions','*Remove\x20format:*\x20%0','name','forceValue','getSelectedBlocks','format','getItems','classes','enabledStyles','isBlock','styleName','style:','getAncestors','_getRangesWithClasses','style','model','change','getRanges','push','find','includes','toLowerCase','StyleUtils','element','value','commands','commandParams','afterInit','getDefinitionsForView','get','inline','*Format:*\x20%0'];(function(_0x5d0685,_0x1fa855){const _0x364aa7=function(_0x5bc7e2){while(--_0x5bc7e2){_0x5d0685['push'](_0x5d0685['shift']());}};_0x364aa7(++_0x1fa855);}(_0x1fa8,0x1eb));const _0x364a=function(_0x5d0685,_0x1fa855){_0x5d0685=_0x5d0685-0x0;let _0x364aa7=_0x1fa8[_0x5d0685];return _0x364aa7;};import{Plugin as _0x5e3efd}from'ckeditor5/src/core';import{getTranslation as _0x1fed5d}from'../utils/common-translations';export default class gt extends _0x5e3efd{[_0x364a('0xe')](){const _0x24173f=this[_0x364a('0x21')];if(!_0x24173f[_0x364a('0x22')][_0x364a('0x20')](_0x364a('0x1a')))return;const _0x5dddad=_0x24173f[_0x364a('0xc')][_0x364a('0x10')](_0x364a('0x1')),_0x59c719=_0x24173f[_0x364a('0x22')][_0x364a('0x10')](_0x364a('0x23')),_0x4c2a69=_0x24173f['locale'],_0x569173=_0x24173f[_0x364a('0x22')][_0x364a('0x10')]('DataSchema'),_0x410841=_0x24173f['plugins'][_0x364a('0x10')](_0x364a('0x9'))[_0x364a('0x1d')](_0x569173,_0x24173f[_0x364a('0x15')][_0x364a('0x10')](_0x364a('0x26')));_0x59c719['enableCommand'](_0x364a('0x1'),(_0x517373,{styleName:_0x23c9fa})=>{const _0x4aaf84=_0x24173f[_0x364a('0x2')][_0x364a('0x1c')]['selection'],_0x2c0eaf=this[_0x364a('0x13')](_0x23c9fa,_0x410841);if(!_0x2c0eaf)return;if(!_0x5dddad[_0x364a('0x2e')][_0x364a('0x7')](_0x23c9fa))return;if(_0x4aaf84['isCollapsed']&&!_0x2c0eaf['isBlock'])return void _0x517373({'styleName':_0x23c9fa});const _0x182eb0=!_0x5dddad[_0x364a('0xb')]['includes'](_0x2c0eaf[_0x364a('0x28')]);if(_0x2c0eaf[_0x364a('0x2f')]){const _0x2cb623=function(_0x3eeb0a,_0x571a1a){const _0x14f6df=new Set();for(const _0x330085 of _0x3eeb0a){const _0x5c5689=_0x330085[_0x364a('0x32')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x533051 of _0x5c5689)if(_0x571a1a[_0x364a('0x7')](_0x533051[_0x364a('0x28')])){_0x14f6df[_0x364a('0x18')](_0x533051);break;}}return _0x14f6df;}(_0x4aaf84[_0x364a('0x2a')](),_0x2c0eaf[_0x364a('0x1b')]);_0x24173f[_0x364a('0x2')]['change'](()=>{for(const _0x5ea372 of _0x2cb623)_0x59c719[_0x364a('0x1e')](_0x5ea372,{'commandName':_0x364a('0x1'),'commandParams':[{'styleName':_0x23c9fa,'forceValue':_0x182eb0}],'formatGroupId':_0x364a('0x31')+_0x23c9fa});});}else{let _0x4c1d5a=Array[_0x364a('0x1f')](_0x4aaf84[_0x364a('0x4')]());if(!_0x182eb0){const _0x57b787=Array[_0x364a('0x1f')](_0x569173[_0x364a('0xf')](_0x2c0eaf[_0x364a('0xa')],!0x1))[0x0][_0x364a('0x2')],_0x343269=[];for(const _0x37b12f of _0x4c1d5a){const _0xb399c0=this[_0x364a('0x0')](_0x24173f['model'],_0x37b12f,_0x2c0eaf[_0x364a('0x2d')],_0x57b787);_0x343269[_0x364a('0x5')](..._0xb399c0);}_0x4c1d5a=_0x343269;}_0x24173f[_0x364a('0x2')][_0x364a('0x3')](()=>{for(const _0xd6496f of _0x4c1d5a)_0x59c719[_0x364a('0x25')](_0xd6496f,{'commandName':_0x364a('0x1'),'commandParams':[{'styleName':_0x23c9fa,'forceValue':_0x182eb0}]});});}}),_0x59c719[_0x364a('0x16')]['registerDescriptionCallback'](_0x2b33a2=>{const {data:_0x255739}=_0x2b33a2;if(_0x255739&&'style'===_0x255739[_0x364a('0x19')])return _0x255739['commandParams'][0x0][_0x364a('0x29')]?{'type':'format','content':_0x1fed5d(_0x4c2a69,_0x364a('0x12'),_0x255739[_0x364a('0xd')][0x0][_0x364a('0x30')][_0x364a('0x8')]())}:{'type':_0x364a('0x2b'),'content':_0x1fed5d(_0x4c2a69,_0x364a('0x27'),_0x255739[_0x364a('0xd')][0x0]['styleName'][_0x364a('0x8')]())};});}[_0x364a('0x13')](_0x2b53f2,_0x504319){let _0x4e2155=_0x504319[_0x364a('0x24')][_0x364a('0x6')](_0x31c05e=>_0x31c05e[_0x364a('0x28')]===_0x2b53f2);return _0x4e2155||(_0x4e2155=_0x504319[_0x364a('0x11')][_0x364a('0x6')](_0x2d6b28=>_0x2d6b28['name']===_0x2b53f2)),_0x4e2155;}[_0x364a('0x0')](_0x3bda44,_0xa16579,_0x8a88c8,_0x1258a5){const _0x57ba3b=[];for(const _0x37d9f6 of _0xa16579[_0x364a('0x2c')]()){const _0x13bb7c=_0x37d9f6[_0x364a('0x17')](_0x1258a5);_0x13bb7c&&(_0x8a88c8[_0x364a('0x14')](_0x32cf28=>_0x13bb7c['classes']['includes'](_0x32cf28))&&_0x57ba3b['push'](_0x3bda44['createRangeOn'](_0x37d9f6)));}return _0x57ba3b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2292=['options','type','TrackChangesEditing','markMultiRangeDeletion','document','oldRange','insertTableColumnLeft','join','discard','cell','addClass','classes','_getSuggestionCoords','table','has','tableRow','nodeAfter','first','name','_descriptionFactory','detach','maxColumn','removeClass','every','TableUtils','map','above','min','some','plugins','locale','fromRange','includes','add','model','afterInit','length','addMarker:suggestion','*Insert:*\x20%0','insertTableColumnRight','tableCell','startsWith','suggestion','getRanges','_tablePostFixingSubtypes','$textProxy','toLowerCase','getChanges','ELEMENT_TABLE_COLUMN','ELEMENT_TABLE_ROW_WITH_TEXT','last','max','enableCommand','tablePaste','_suggestionFactory','_getCoordsForCells','getSelectionAffectedTableCells','push','showSuggestionHighlights','isTouching','hasAttribute','*Remove:*\x20%0','change','_acceptFormatSuggestionCallbackFactory','colspan','from','values','removeTableRow','markMultiRangeInsertion','filter','ELEMENT_TABLE_WITH_TEXT','start','selectTableColumn','setSelection','deletion','MIN_SAFE_INTEGER','isArray','span','rootName','addRange','forceValue','end','editor','get','_setupColumnsRowsFixing','position','selectTableRow','insertTable','order','item','getColumnIndexes','isInContent','tableColumn','highest','$graveyard','_tableSuggestions','element','createTableWalker','_splitMarkerName','data','refresh','maxRow','ELEMENT_TABLE','removeTableColumn','createRangeIn','insertion','registerCustomCallback','getItems','getSuggestion','low','getCellLocation','substr','ELEMENT_TABLE_ROW','enqueueChange','differ','findAncestor','registerElementLabel','root','registerDescriptionCallback','accept','selection','createRangeOn','mapper','getFirstRange','ELEMENT_TABLE_COLUMN_WITH_TEXT','getAttribute','left','commands','subType','change:data','getContainedElement','execute','writer','minColumn'];(function(_0x469ce1,_0x2292c8){const _0x46117a=function(_0x4d322e){while(--_0x4d322e){_0x469ce1['push'](_0x469ce1['shift']());}};_0x46117a(++_0x2292c8);}(_0x2292,0x18c));const _0x4611=function(_0x469ce1,_0x2292c8){_0x469ce1=_0x469ce1-0x0;let _0x46117a=_0x2292[_0x469ce1];return _0x46117a;};import{Plugin as _0x2416be}from'ckeditor5/src/core';import{LiveRange as _0x1bbda1}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5a665d}from'ckeditor5/src/widget';import{getTranslation as _0xf8203}from'../utils/common-translations';export default class mt extends _0x2416be{constructor(_0x1ab8e4){super(_0x1ab8e4),this[_0x4611('0x32')]=['tableRow',_0x4611('0x62')],this['_tableSuggestions']=new Set();}[_0x4611('0x29')](){const _0xb444eb=this[_0x4611('0x58')],_0x50647b=_0xb444eb[_0x4611('0x28')]['document']['selection'];if(!_0xb444eb[_0x4611('0x23')][_0x4611('0x14')]('TableEditing'))return;const _0x2a4afa=_0xb444eb[_0x4611('0x24')],_0x584584=_0xb444eb[_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x8')),_0x281bb7=_0xb444eb[_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x1e'));_0x584584['_descriptionFactory'][_0x4611('0x7a')]('table',_0x29c11e=>_0xf8203(_0x2a4afa,_0x4611('0x6c'),_0x29c11e)),this[_0x4611('0x5a')](),_0x584584[_0x4611('0x3a')](_0x4611('0x5d')),_0x584584[_0x4611('0x3a')](_0x4611('0x5c')),_0x584584[_0x4611('0x3a')](_0x4611('0x4e'));for(const _0x22eaea of['insertTableRowAbove','insertTableRowBelow']){const _0x487996=_0xb444eb[_0x4611('0x85')][_0x4611('0x59')](_0x22eaea);_0x584584[_0x4611('0x3a')](_0x22eaea,_0x2d370e=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0xbc5e8a=>{_0x2d370e();const _0x4efa48=_0x4611('0x20')===_0x487996[_0x4611('0x5e')],_0x47faf2=_0x281bb7['getSelectionAffectedTableCells'](_0x50647b),_0x339f4f=_0x281bb7['getRowIndexes'](_0x47faf2),_0x55edd6=_0x4efa48?_0x339f4f[_0x4611('0x17')]-0x1:_0x339f4f[_0x4611('0x38')]+0x1,_0x658193=_0x47faf2[0x0][_0x4611('0x79')](_0x4611('0x13')),_0x1b60c5=_0x281bb7['createTableWalker'](_0x658193,{'startRow':_0x55edd6,'endRow':_0x55edd6}),_0xceecae=Array['from'](_0x1b60c5)['map'](_0x10232e=>_0xbc5e8a['createRangeOn'](_0x10232e[_0x4611('0xf')]));_0x584584[_0x4611('0x4a')](_0xceecae,'tableRow');});});}for(const _0x36b782 of[_0x4611('0xc'),_0x4611('0x2d')]){const _0x2a6a58=_0xb444eb['commands'][_0x4611('0x59')](_0x36b782);_0x584584['enableCommand'](_0x36b782,_0x22cda6=>{_0xb444eb[_0x4611('0x28')]['change'](_0x4db0b7=>{_0x22cda6();const _0x3aa146=_0x4611('0x84')===_0x2a6a58[_0x4611('0x5e')],_0x13cff5=_0x281bb7[_0x4611('0x3e')](_0x50647b),_0x2d45dd=_0x281bb7[_0x4611('0x60')](_0x13cff5),_0x229fc4=_0x3aa146?_0x2d45dd['first']-0x1:_0x2d45dd[_0x4611('0x38')]+0x1,_0x31ce64=_0x13cff5[0x0][_0x4611('0x79')]('table'),_0x48a7b2=_0x281bb7[_0x4611('0x67')](_0x31ce64,{'startRow':0x0,'column':_0x229fc4,'includeAllSlots':!0x1}),_0x360dd9=Array[_0x4611('0x47')](_0x48a7b2)[_0x4611('0x1f')](_0x13bace=>_0x4db0b7[_0x4611('0x7f')](_0x13bace[_0x4611('0xf')]));_0x584584['markMultiRangeInsertion'](_0x360dd9,'tableColumn');});});}for(const _0x4d99ef of[_0x4611('0x49'),_0x4611('0x6d')]){const _0x398012=_0x4d99ef[_0x4611('0x75')](0xb),_0x3eeb8f=_0x398012['toLowerCase'](),_0x32dc79=_0x3eeb8f[_0x4611('0x75')](0x0,0x3)+_0x4611('0x53'),_0x181a19=_0x4611('0x13')+_0x398012,_0x369863=_0x4611('0x21')+_0x398012,_0xe7601=_0x4611('0x39')+_0x398012;_0x584584['enableCommand'](_0x4d99ef,()=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x11f15e=>{const _0xf94bb9=_0x281bb7[_0x4611('0x3e')](_0x50647b),_0x3a7385=_0xf94bb9[0x0][_0x4611('0x79')]('table');let _0xbae6fc;if(_0x4611('0x49')==_0x4d99ef){const _0x45c7d2=_0x281bb7['getRowIndexes'](_0xf94bb9);_0xbae6fc={'startRow':_0x45c7d2[_0x4611('0x17')],'endRow':_0x45c7d2[_0x4611('0x38')],'includeAllSlots':!0x0};}else{const _0x1f6e35=_0x281bb7[_0x4611('0x60')](_0xf94bb9);_0xbae6fc={'startColumn':_0x1f6e35[_0x4611('0x17')],'endColumn':_0x1f6e35['last'],'includeAllSlots':!0x0};}const _0x3eb5dc=_0x281bb7[_0x4611('0x67')](_0x3a7385,_0xbae6fc),_0x39a75d=Array[_0x4611('0x47')](_0x3eb5dc)[_0x4611('0x1f')](({cell:_0x969b89})=>_0x969b89),_0x414b0b=se(_0x39a75d[_0x4611('0x4b')](_0x21201e=>_0x21201e[_0x4611('0x42')](_0x32dc79))),_0x7a0ab6=se(_0x39a75d[_0x4611('0x4b')](_0x32da42=>!_0x32da42[_0x4611('0x42')](_0x32dc79)))[_0x4611('0x1f')](_0x496566=>_0x11f15e[_0x4611('0x7f')](_0x496566)),_0xba9817=_0x584584[_0x4611('0x9')](_0x7a0ab6,_0x181a19);if(_0xba9817&&(_0x4611('0x15')==_0xba9817[_0x4611('0x0')]||_0x4611('0x62')==_0xba9817[_0x4611('0x0')])){const _0x2a0bbd=this[_0x4611('0x12')](_0xba9817);for(const _0x413e53 of _0x414b0b){const _0x374249=_0x11f15e['createRangeOn'](_0x413e53),_0x3664e7=_0x281bb7['getCellLocation'](_0x413e53),_0x3b3e7e=_0x413e53[_0x4611('0x83')](_0x32dc79)-0x1,_0x5a8740=_0x2a0bbd[_0x369863],_0x3b86f9=_0x2a0bbd[_0xe7601];_0x5a8740<=_0x3664e7[_0x3eeb8f]&&_0x3664e7[_0x3eeb8f]+_0x3b3e7e<=_0x3b86f9&&_0xba9817[_0x4611('0x55')](_0x374249);}}});});}function _0x328d9f(_0x172ed5){const _0x4a5202=Array['from'](_0x50647b[_0x4611('0x31')]())[_0x4611('0x1f')](_0x18c3d1=>_0x1bbda1[_0x4611('0x25')](_0x18c3d1));_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x4249b3=>{const _0x3c09cd=_0x4249b3['batch'];_0x172ed5=_0x172ed5[_0x4611('0x4b')](_0x1fc7dd=>_0x4611('0x64')!=_0x1fc7dd[_0x4611('0x7b')][_0x4611('0x54')]),_0x4249b3['setSelection'](_0x172ed5),_0xb444eb[_0x4611('0x85')][_0x4611('0x59')](_0x4611('0x49'))[_0x4611('0x6a')](),_0xb444eb['execute'](_0x4611('0x49'),{'forceDefaultExecution':!0x0}),_0xb444eb[_0x4611('0x28')][_0x4611('0x77')](()=>{_0xb444eb[_0x4611('0x28')][_0x4611('0x77')](_0x3c09cd,_0x3d21d1=>{const _0x5e4783=_0x4a5202[_0x4611('0x4b')](_0x35acf5=>'$graveyard'!=_0x35acf5['root'][_0x4611('0x54')]);_0x5e4783[_0x4611('0x2a')]>0x0&&_0x3d21d1[_0x4611('0x4f')](_0x5e4783);for(const _0x271e29 of _0x4a5202)_0x271e29['detach']();});});});}function _0x36278f(_0x12c9bb){_0xb444eb[_0x4611('0x28')][_0x4611('0x44')](_0x1e3071=>{const _0x54aa6c=Array[_0x4611('0x47')](_0x50647b['getRanges']())['map'](_0x5b0ab2=>_0x1bbda1[_0x4611('0x25')](_0x5b0ab2)),_0x3454e1=[];for(const _0x4f01e5 of _0x12c9bb)for(const _0x36403f of _0x4f01e5[_0x4611('0x71')]({'shallow':!0x0}))_0x3454e1['push'](_0x36403f);for(const _0x1c4dcf of _0x3454e1)_0x4611('0x64')!=_0x1c4dcf['root'][_0x4611('0x54')]&&(_0x1e3071[_0x4611('0x4f')](_0x1e3071['createPositionAt'](_0x1c4dcf,0x0)),_0xb444eb[_0x4611('0x85')][_0x4611('0x59')]('removeTableColumn')[_0x4611('0x6a')](),_0xb444eb[_0x4611('0x3')](_0x4611('0x6d'),{'forceDefaultExecution':!0x0}));const _0x3ea82f=_0x54aa6c['filter'](_0x161534=>_0x4611('0x64')!=_0x161534[_0x4611('0x7b')][_0x4611('0x54')]);_0x3ea82f['length']>0x0&&_0x1e3071['setSelection'](_0x3ea82f);for(const _0x33d1b7 of _0x54aa6c)_0x33d1b7[_0x4611('0x1a')]();});}function _0x1de16c(_0x5d1144,_0x1ac82e){return _0x1ac82e[_0x4611('0x1d')](_0x373f0e=>_0x5d1144[_0x4611('0x22')](_0x19bba0=>_0x19bba0['end']['isEqual'](_0x373f0e['start'])||_0x373f0e[_0x4611('0x57')]['isEqual'](_0x19bba0[_0x4611('0x4d')])));}function _0x9c7a97(_0xdf2c7,_0x5667a4){return _0xdf2c7[_0x4611('0x22')](_0x27ff91=>_0x5667a4[_0x4611('0x22')](_0x537978=>_0x27ff91[_0x4611('0x57')][_0x4611('0x41')](_0x537978[_0x4611('0x4d')])));}_0xb444eb[_0x4611('0x69')]['downcastDispatcher']['on'](_0x4611('0x2b'),(_0x17a82d,_0x5842da,_0x158f08)=>{if(!_0x158f08[_0x4611('0x6')][_0x4611('0x40')])return;const _0x2fda15=_0x5842da[_0x4611('0x5f')];if(!_0x2fda15)return;const _0x9b9f05=_0x158f08[_0x4611('0x80')]['toViewElement'](_0x2fda15);function _0x4ce021(_0x599f79){return Array[_0x4611('0x52')](_0x599f79)?_0x599f79:[_0x599f79];}_0x9b9f05&&_0x4611('0x2e')===_0x2fda15['name']&&_0x5a665d(_0x9b9f05,_0x158f08[_0x4611('0x4')],(_0x4f89d7,_0x3667a8,_0xcf1905)=>_0xcf1905[_0x4611('0x10')](_0x4ce021(_0x3667a8['classes']),_0x4f89d7),(_0x37966f,_0x3295c5,_0x331d60)=>_0x331d60[_0x4611('0x1c')](_0x4ce021(_0x3295c5[_0x4611('0x11')]),_0x37966f));},{'priority':_0x4611('0x63')}),_0x584584['_descriptionFactory']['registerDescriptionCallback'](_0x467dff=>{if(_0x4611('0x6f')!=_0x467dff['type']&&_0x4611('0x50')!=_0x467dff[_0x4611('0x7')])return;const _0x5b4a29=_0x467dff[_0x4611('0x2')]();if(null!=_0x5b4a29&&_0x5b4a29['is'](_0x4611('0x66'),_0x4611('0x13'))){if(_0x4611('0x6f')==_0x467dff['type']){const _0x166981=_0x467dff[_0x4611('0x71')]()[_0x4611('0x4b')](_0x4261f3=>_0x4261f3['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x3c4347=>_0x3c4347[_0x4611('0x69')]);if(_0x166981[_0x4611('0x2a')])return{'type':'insertion','content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x4c'),'\x22'+_0x166981[_0x4611('0xd')]('\x20')+'\x22'))};}if(_0x4611('0x50')==_0x467dff[_0x4611('0x7')]){const _0x5e9f14=_0x467dff[_0x4611('0x71')]()[_0x4611('0x4b')](_0x1815d2=>_0x1815d2['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x368425=>_0x368425[_0x4611('0x69')]);if(_0x5e9f14[_0x4611('0x2a')])return{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x4c'),'\x22'+_0x5e9f14[_0x4611('0xd')]('\x20')+'\x22'))};}}}),_0x584584[_0x4611('0x19')][_0x4611('0x7c')](_0x54011b=>{if(_0x4611('0x15')==_0x54011b[_0x4611('0x0')]){const _0x53e8ca=_0x54011b[_0x4611('0x71')]()['filter'](_0x2a2ee9=>_0x2a2ee9['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0x2f0d88=>_0x2f0d88[_0x4611('0x69')]),_0x3745e4=this[_0x4611('0x12')](_0x54011b),_0x22a61e=_0x3745e4[_0x4611('0x6b')]-_0x3745e4['minRow']+0x1;if(_0x4611('0x6f')==_0x54011b[_0x4611('0x7')])return _0x53e8ca[_0x4611('0x2a')]?{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x37'),[_0x22a61e,'\x22'+_0x53e8ca[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x76'),_0x22a61e))};if(_0x4611('0x50')==_0x54011b[_0x4611('0x7')])return _0x53e8ca['length']?{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,'*Remove:*\x20%0',_0xf8203(_0x2a4afa,_0x4611('0x37'),[_0x22a61e,'\x22'+_0x53e8ca[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x76'),_0x22a61e))};}if(_0x4611('0x62')==_0x54011b[_0x4611('0x0')]){const _0x4715c0=_0x54011b[_0x4611('0x71')]()[_0x4611('0x4b')](_0x139e78=>_0x139e78['is'](_0x4611('0x33')))[_0x4611('0x1f')](_0xd8f134=>_0xd8f134['data']),_0x21fe47=this[_0x4611('0x12')](_0x54011b),_0x49d338=_0x21fe47[_0x4611('0x1b')]-_0x21fe47[_0x4611('0x5')]+0x1;if(_0x4611('0x6f')==_0x54011b[_0x4611('0x7')])return _0x4715c0[_0x4611('0x2a')]?{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x82'),[_0x49d338,'\x22'+_0x4715c0[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x6f'),'content':_0xf8203(_0x2a4afa,_0x4611('0x2c'),_0xf8203(_0x2a4afa,_0x4611('0x36'),_0x49d338))};if(_0x4611('0x50')==_0x54011b[_0x4611('0x7')])return _0x4715c0[_0x4611('0x2a')]?{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x82'),[_0x49d338,'\x22'+_0x4715c0[_0x4611('0xd')]('\x20')+'\x22']))}:{'type':_0x4611('0x50'),'content':_0xf8203(_0x2a4afa,_0x4611('0x43'),_0xf8203(_0x2a4afa,_0x4611('0x36'),_0x49d338))};}}),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x6f'),'tableRow',_0x4611('0xe'),_0x328d9f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x50'),_0x4611('0x15'),'accept',_0x328d9f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('insertion','tableColumn','discard',_0x36278f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('deletion',_0x4611('0x62'),_0x4611('0x7d'),_0x36278f),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x6f'),'tableColumn',_0x4611('0xd'),_0x1de16c),_0x584584[_0x4611('0x3c')][_0x4611('0x70')](_0x4611('0x50'),_0x4611('0x62'),'join',_0x1de16c),_0x584584[_0x4611('0x3c')]['registerCustomCallback'](_0x4611('0x6f'),'tableRow',_0x4611('0xd'),_0x9c7a97),_0x584584[_0x4611('0x3c')][_0x4611('0x70')]('deletion',_0x4611('0x15'),_0x4611('0xd'),_0x9c7a97);}[_0x4611('0x45')](){const _0x3f8769=this[_0x4611('0x58')],_0xb31b22=_0x3f8769[_0x4611('0x28')][_0x4611('0xa')][_0x4611('0x7e')];return(_0x101228,_0xb886fd)=>{_0x3f8769[_0x4611('0x28')][_0x4611('0x44')](_0x17de41=>{const {commandName:_0x1d8014,commandParams:_0x128a62}=_0xb886fd;let _0x33b1b1=_0x101228[0x0][_0x4611('0x57')]['nodeBefore'];_0x128a62&&_0x128a62[0x0]&&!0x1===_0x128a62[0x0][_0x4611('0x56')]&&(_0x33b1b1=_0x101228[0x0][_0x4611('0x4d')][_0x4611('0x16')]);const _0x5f18d7=_0x17de41[_0x4611('0x6e')](_0x33b1b1);if(_0x4611('0x64')==_0x5f18d7['root']['rootName'])return;const _0x5039c4=Array[_0x4611('0x47')](_0xb31b22[_0x4611('0x31')]())[_0x4611('0x1f')](_0x20c910=>_0x1bbda1[_0x4611('0x25')](_0x20c910));_0x17de41['setSelection'](_0x5f18d7),_0x3f8769[_0x4611('0x85')][_0x4611('0x59')](_0x1d8014)[_0x4611('0x6a')](),_0x128a62[_0x4611('0x3f')]({'forceDefaultExecution':!0x0}),_0x3f8769[_0x4611('0x3')](_0x1d8014,..._0x128a62);const _0x347058=_0x5039c4[_0x4611('0x4b')](_0x4048b9=>'$graveyard'!=_0x4048b9['root'][_0x4611('0x54')]);_0x347058[_0x4611('0x2a')]>0x0&&_0x17de41[_0x4611('0x4f')](_0x347058);for(const _0x3d5ce2 of _0x5039c4)_0x3d5ce2[_0x4611('0x1a')]();});};}['_getCoordsForCells'](_0x5088bc){const _0x3f4e02=this[_0x4611('0x58')][_0x4611('0x23')][_0x4611('0x59')](_0x4611('0x1e'));let _0x5f284f=Number['MAX_SAFE_INTEGER'],_0x35cf8a=Number[_0x4611('0x51')],_0x5beddb=Number['MAX_SAFE_INTEGER'],_0x35eb73=Number[_0x4611('0x51')];for(const _0x5a6fee of _0x5088bc){if('$graveyard'==_0x5a6fee[_0x4611('0x7b')][_0x4611('0x54')])continue;const {row:_0x1b01f2,column:_0x875457}=_0x3f4e02[_0x4611('0x74')](_0x5a6fee),_0xe9c358=_0x5a6fee[_0x4611('0x42')]('rowspan')?_0x5a6fee[_0x4611('0x83')]('rowspan')-0x1:0x0,_0x22a176=_0x5a6fee[_0x4611('0x42')](_0x4611('0x46'))?_0x5a6fee['getAttribute'](_0x4611('0x46'))-0x1:0x0;_0x5f284f=_0x1b01f2<_0x5f284f?_0x1b01f2:_0x5f284f,_0x35cf8a=_0x1b01f2+_0xe9c358>_0x35cf8a?_0x1b01f2+_0xe9c358:_0x35cf8a,_0x5beddb=_0x875457<_0x5beddb?_0x875457:_0x5beddb,_0x35eb73=_0x875457+_0x22a176>_0x35eb73?_0x875457+_0x22a176:_0x35eb73;}return{'minRow':_0x5f284f,'maxRow':_0x35cf8a,'minColumn':_0x5beddb,'maxColumn':_0x35eb73};}['_setupColumnsRowsFixing'](){const _0x771d65=this['editor'],_0x2c8c9f=_0x771d65['plugins']['get'](_0x4611('0x8')),_0x26176e=_0x771d65['plugins'][_0x4611('0x59')](_0x4611('0x1e'));_0x771d65['model'][_0x4611('0xa')]['on'](_0x4611('0x1'),()=>{const _0x473082=Array[_0x4611('0x47')](_0x771d65[_0x4611('0x28')][_0x4611('0xa')][_0x4611('0x78')]['getChangedMarkers']());for(const {name:_0x2bee5d,data:_0x1152e8}of _0x473082){const {group:_0x1c7b4a,id:_0x405130,subType:_0x47e7cd}=_0x2c8c9f[_0x4611('0x68')](_0x2bee5d);if(_0x4611('0x30')!=_0x1c7b4a)continue;if(null!=_0x1152e8[_0x4611('0xb')])continue;const _0x4d439e=_0x2c8c9f[_0x4611('0x72')](_0x405130);this[_0x4611('0x32')][_0x4611('0x26')](_0x47e7cd)&&this[_0x4611('0x65')][_0x4611('0x27')](_0x4d439e);}},{'priority':_0x4611('0x73')});const _0x2a6285=(_0x292499,_0x3aad30)=>{let _0x3a3974=!0x1;const _0xb5655b=_0x3aad30['createRangeOn'](_0x292499),_0xc18692=_0x292499[_0x4611('0x79')](_0x4611('0x13')),_0x4c78f9=_0x26176e[_0x4611('0x74')](_0x292499);for(const _0x40d054 of this[_0x4611('0x65')]){const _0x30b011=_0x40d054['subType'],_0x5e61d2=_0x30b011[_0x4611('0x2f')](_0x4611('0x3b')),_0x53dfd6=_0x30b011[_0x4611('0x75')](_0x5e61d2?0xa:0x5),_0x1da058=_0x53dfd6[_0x4611('0x34')](),_0x10100f=_0x1da058[_0x4611('0x75')](0x0,0x3)+_0x4611('0x53'),_0x42e036=_0x4611('0x21')+_0x53dfd6,_0x20b494=_0x4611('0x39')+_0x53dfd6;if(!_0x40d054[_0x4611('0x61')])continue;if(_0xc18692!=_0x40d054[_0x4611('0x81')]()[_0x4611('0x4d')][_0x4611('0x79')](_0x4611('0x13')))continue;if(_0x40d054['isIntersectingWithRange'](_0xb5655b))continue;const _0x35d1c0=_0x292499['hasAttribute'](_0x10100f)?_0x292499[_0x4611('0x83')](_0x10100f)-0x1:0x0,_0x41a46e=this[_0x4611('0x12')](_0x40d054),_0x3825ab=_0x41a46e[_0x42e036],_0x31528c=_0x41a46e[_0x20b494];_0x3825ab<=_0x4c78f9[_0x1da058]&&_0x4c78f9[_0x1da058]+_0x35d1c0<=_0x31528c&&(_0x40d054['addRange'](_0xb5655b),_0x3a3974=!0x0);}return _0x3a3974;};_0x771d65[_0x4611('0x28')][_0x4611('0xa')]['registerPostFixer'](_0xc790d8=>{let _0x1b9a57=!0x1;for(const _0x51951a of _0x771d65['model']['document'][_0x4611('0x78')][_0x4611('0x35')]())if('insert'==_0x51951a['type']){if(_0x4611('0x15')==_0x51951a[_0x4611('0x18')])for(const _0x44335b of _0x51951a[_0x4611('0x5b')][_0x4611('0x16')]['getChildren']())_0x1b9a57=_0x1b9a57||_0x2a6285(_0x44335b,_0xc790d8);else _0x4611('0x2e')==_0x51951a[_0x4611('0x18')]&&(_0x1b9a57=_0x1b9a57||_0x2a6285(_0x51951a[_0x4611('0x5b')][_0x4611('0x16')],_0xc790d8));}return _0x1b9a57;});}[_0x4611('0x12')](_0x5780ca){return this[_0x4611('0x3d')](_0x5780ca[_0x4611('0x31')]()['map'](_0x440557=>_0x440557[_0x4611('0x4d')][_0x4611('0x16')]));}}function se(_0x1a5eb1){return Array[_0x4611('0x47')](new Set(_0x1a5eb1)[_0x4611('0x48')]());}
23
+ const _0x43e1=['getSelectionAffectedTableCells','first','last','filter','ELEMENT_TABLE_ROW_WITH_TEXT','markMultiRangeInsertion','start','every','join','*Insert:*\x20%0','suggestion','getCellLocation','_getSuggestionCoords','toViewElement','item','TrackChangesEditing','ELEMENT_TABLE_COLUMN_WITH_TEXT','model','_getCoordsForCells','hasAttribute','selection','createTableWalker','writer','some','minColumn','addMarker:suggestion','registerElementLabel','insertTableRowAbove','selectTableRow','getColumnIndexes','left','_splitMarkerName','change','ELEMENT_TABLE_COLUMN','add','table','span','type','_tablePostFixingSubtypes','commands','markMultiRangeDeletion','colspan','ELEMENT_TABLE','name','order','push','ELEMENT_TABLE_WITH_TEXT','classes','removeTableColumn','nodeBefore','getAttribute','getRanges','_descriptionFactory','selectTableColumn','rootName','setSelection','substr','isIntersectingWithRange','MIN_SAFE_INTEGER','tableColumn','_acceptFormatSuggestionCallbackFactory','ELEMENT_TABLE_ROW','values','above','getChanges','root','addClass','execute','addRange','insertion','getItems','cell','fromRange','end','getContainedElement','_suggestionFactory','includes','getFirstRange','_tableSuggestions','TableUtils','registerCustomCallback','length','deletion','locale','removeTableRow','accept','$textProxy','minRow','insertTableRowBelow','maxRow','editor','startsWith','min','detach','toLowerCase','downcastDispatcher','discard','rowspan','has','findAncestor','insertTableColumnRight','batch','enableCommand','createRangeOn','isEqual','change:data','from','TableEditing','$graveyard','plugins','highest','*Remove:*\x20%0','tableRow','subType','mapper','low','document','isTouching','get','enqueueChange','refresh','max','nodeAfter','registerPostFixer','position','tableCell','data','map','getChangedMarkers'];(function(_0x33e4b5,_0x43e10c){const _0x26672e=function(_0x21bba7){while(--_0x21bba7){_0x33e4b5['push'](_0x33e4b5['shift']());}};_0x26672e(++_0x43e10c);}(_0x43e1,0x13e));const _0x2667=function(_0x33e4b5,_0x43e10c){_0x33e4b5=_0x33e4b5-0x0;let _0x26672e=_0x43e1[_0x33e4b5];return _0x26672e;};import{Plugin as _0x402dc7}from'ckeditor5/src/core';import{LiveRange as _0x118f17}from'ckeditor5/src/engine';import{setHighlightHandling as _0x255fc3}from'ckeditor5/src/widget';import{getTranslation as _0x41f726}from'../utils/common-translations';export default class mt extends _0x402dc7{constructor(_0x2a3041){super(_0x2a3041),this[_0x2667('0x6b')]=[_0x2667('0x34'),_0x2667('0x80')],this[_0x2667('0x12')]=new Set();}['afterInit'](){const _0x26680d=this[_0x2667('0x1e')],_0x4a51a3=_0x26680d[_0x2667('0x56')][_0x2667('0x38')][_0x2667('0x59')];if(!_0x26680d[_0x2667('0x31')][_0x2667('0x26')](_0x2667('0x2f')))return;const _0x48737e=_0x26680d[_0x2667('0x17')],_0x1837f0=_0x26680d[_0x2667('0x31')][_0x2667('0x3a')](_0x2667('0x54')),_0xec472a=_0x26680d[_0x2667('0x31')][_0x2667('0x3a')]('TableUtils');_0x1837f0[_0x2667('0x79')][_0x2667('0x5f')](_0x2667('0x68'),_0x4dff83=>_0x41f726(_0x48737e,_0x2667('0x6f'),_0x4dff83)),this['_setupColumnsRowsFixing'](),_0x1837f0[_0x2667('0x2a')]('insertTable'),_0x1837f0[_0x2667('0x2a')](_0x2667('0x61')),_0x1837f0[_0x2667('0x2a')](_0x2667('0x7a'));for(const _0x4ac696 of[_0x2667('0x60'),_0x2667('0x1c')]){const _0xeb77c5=_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x4ac696);_0x1837f0[_0x2667('0x2a')](_0x4ac696,_0x4ef07d=>{_0x26680d[_0x2667('0x56')]['change'](_0x3a2410=>{_0x4ef07d();const _0x5ac48c=_0x2667('0x3')===_0xeb77c5[_0x2667('0x71')],_0x2b0068=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x358045=_0xec472a['getRowIndexes'](_0x2b0068),_0x3e0434=_0x5ac48c?_0x358045[_0x2667('0x46')]-0x1:_0x358045['last']+0x1,_0x23b3e4=_0x2b0068[0x0][_0x2667('0x27')](_0x2667('0x68')),_0x595550=_0xec472a['createTableWalker'](_0x23b3e4,{'startRow':_0x3e0434,'endRow':_0x3e0434}),_0x22e3f8=Array['from'](_0x595550)['map'](_0x539749=>_0x3a2410[_0x2667('0x2b')](_0x539749['cell']));_0x1837f0[_0x2667('0x4a')](_0x22e3f8,_0x2667('0x34'));});});}for(const _0x2359e5 of['insertTableColumnLeft',_0x2667('0x28')]){const _0x5867ef=_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x2359e5);_0x1837f0[_0x2667('0x2a')](_0x2359e5,_0x481485=>{_0x26680d[_0x2667('0x56')][_0x2667('0x65')](_0x22affd=>{_0x481485();const _0x2e69aa=_0x2667('0x63')===_0x5867ef['order'],_0x43272c=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x13eefd=_0xec472a[_0x2667('0x62')](_0x43272c),_0x9f745f=_0x2e69aa?_0x13eefd[_0x2667('0x46')]-0x1:_0x13eefd['last']+0x1,_0x53c7ff=_0x43272c[0x0][_0x2667('0x27')](_0x2667('0x68')),_0x1333c4=_0xec472a[_0x2667('0x5a')](_0x53c7ff,{'startRow':0x0,'column':_0x9f745f,'includeAllSlots':!0x1}),_0x103569=Array[_0x2667('0x2e')](_0x1333c4)[_0x2667('0x43')](_0x1209ec=>_0x22affd[_0x2667('0x2b')](_0x1209ec[_0x2667('0xb')]));_0x1837f0[_0x2667('0x4a')](_0x103569,_0x2667('0x80'));});});}for(const _0x3da871 of[_0x2667('0x18'),_0x2667('0x75')]){const _0x1d2983=_0x3da871[_0x2667('0x7d')](0xb),_0x35be26=_0x1d2983[_0x2667('0x22')](),_0x25b38f=_0x35be26[_0x2667('0x7d')](0x0,0x3)+_0x2667('0x69'),_0x16b5c4=_0x2667('0x68')+_0x1d2983,_0x1fd5cf=_0x2667('0x20')+_0x1d2983,_0x428214=_0x2667('0x3d')+_0x1d2983;_0x1837f0['enableCommand'](_0x3da871,()=>{_0x26680d[_0x2667('0x56')][_0x2667('0x65')](_0x111a6a=>{const _0x5849ac=_0xec472a[_0x2667('0x45')](_0x4a51a3),_0x574739=_0x5849ac[0x0][_0x2667('0x27')](_0x2667('0x68'));let _0x1c99c2;if(_0x2667('0x18')==_0x3da871){const _0x563f7b=_0xec472a['getRowIndexes'](_0x5849ac);_0x1c99c2={'startRow':_0x563f7b[_0x2667('0x46')],'endRow':_0x563f7b['last'],'includeAllSlots':!0x0};}else{const _0x47482e=_0xec472a[_0x2667('0x62')](_0x5849ac);_0x1c99c2={'startColumn':_0x47482e[_0x2667('0x46')],'endColumn':_0x47482e[_0x2667('0x47')],'includeAllSlots':!0x0};}const _0x5eaf75=_0xec472a[_0x2667('0x5a')](_0x574739,_0x1c99c2),_0xa68128=Array[_0x2667('0x2e')](_0x5eaf75)[_0x2667('0x43')](({cell:_0x58a779})=>_0x58a779),_0x38bc34=se(_0xa68128[_0x2667('0x48')](_0x1b7a71=>_0x1b7a71[_0x2667('0x58')](_0x25b38f))),_0x3bf099=se(_0xa68128[_0x2667('0x48')](_0x120563=>!_0x120563[_0x2667('0x58')](_0x25b38f)))[_0x2667('0x43')](_0x31dde9=>_0x111a6a['createRangeOn'](_0x31dde9)),_0x5e0754=_0x1837f0[_0x2667('0x6d')](_0x3bf099,_0x16b5c4);if(_0x5e0754&&(_0x2667('0x34')==_0x5e0754[_0x2667('0x35')]||_0x2667('0x80')==_0x5e0754[_0x2667('0x35')])){const _0x2de846=this['_getSuggestionCoords'](_0x5e0754);for(const _0x533688 of _0x38bc34){const _0xbbfce4=_0x111a6a['createRangeOn'](_0x533688),_0x32282a=_0xec472a['getCellLocation'](_0x533688),_0x41bc7d=_0x533688['getAttribute'](_0x25b38f)-0x1,_0x18fd02=_0x2de846[_0x1fd5cf],_0x286ee7=_0x2de846[_0x428214];_0x18fd02<=_0x32282a[_0x35be26]&&_0x32282a[_0x35be26]+_0x41bc7d<=_0x286ee7&&_0x5e0754[_0x2667('0x8')](_0xbbfce4);}}});});}function _0x4fb6d2(_0x1c34f0){const _0xc2cadc=Array[_0x2667('0x2e')](_0x4a51a3['getRanges']())[_0x2667('0x43')](_0x2d48f3=>_0x118f17[_0x2667('0xc')](_0x2d48f3));_0x26680d['model'][_0x2667('0x65')](_0x17183b=>{const _0x17a0b8=_0x17183b[_0x2667('0x29')];_0x1c34f0=_0x1c34f0[_0x2667('0x48')](_0x468595=>_0x2667('0x30')!=_0x468595[_0x2667('0x5')][_0x2667('0x7b')]),_0x17183b[_0x2667('0x7c')](_0x1c34f0),_0x26680d[_0x2667('0x6c')]['get'](_0x2667('0x18'))['refresh'](),_0x26680d[_0x2667('0x7')](_0x2667('0x18'),{'forceDefaultExecution':!0x0}),_0x26680d[_0x2667('0x56')][_0x2667('0x3b')](()=>{_0x26680d[_0x2667('0x56')]['enqueueChange'](_0x17a0b8,_0x5911ba=>{const _0x2daf59=_0xc2cadc[_0x2667('0x48')](_0xa314ad=>_0x2667('0x30')!=_0xa314ad[_0x2667('0x5')]['rootName']);_0x2daf59['length']>0x0&&_0x5911ba['setSelection'](_0x2daf59);for(const _0x170cf6 of _0xc2cadc)_0x170cf6[_0x2667('0x21')]();});});});}function _0x52e6db(_0x27de28){_0x26680d['model'][_0x2667('0x65')](_0x5766b=>{const _0x19fcf4=Array['from'](_0x4a51a3['getRanges']())['map'](_0x56f2b6=>_0x118f17[_0x2667('0xc')](_0x56f2b6)),_0x390626=[];for(const _0x167785 of _0x27de28)for(const _0x10bd42 of _0x167785[_0x2667('0xa')]({'shallow':!0x0}))_0x390626[_0x2667('0x72')](_0x10bd42);for(const _0x5241c6 of _0x390626)'$graveyard'!=_0x5241c6['root'][_0x2667('0x7b')]&&(_0x5766b[_0x2667('0x7c')](_0x5766b['createPositionAt'](_0x5241c6,0x0)),_0x26680d[_0x2667('0x6c')][_0x2667('0x3a')](_0x2667('0x75'))[_0x2667('0x3c')](),_0x26680d['execute'](_0x2667('0x75'),{'forceDefaultExecution':!0x0}));const _0x413f72=_0x19fcf4[_0x2667('0x48')](_0x50250a=>'$graveyard'!=_0x50250a[_0x2667('0x5')][_0x2667('0x7b')]);_0x413f72[_0x2667('0x15')]>0x0&&_0x5766b[_0x2667('0x7c')](_0x413f72);for(const _0x1ac0d3 of _0x19fcf4)_0x1ac0d3['detach']();});}function _0x3902be(_0x39a28b,_0x528198){return _0x528198[_0x2667('0x4c')](_0x5645d2=>_0x39a28b[_0x2667('0x5c')](_0x53a8cb=>_0x53a8cb[_0x2667('0xd')]['isEqual'](_0x5645d2['start'])||_0x5645d2['end'][_0x2667('0x2c')](_0x53a8cb[_0x2667('0x4b')])));}function _0x106d6b(_0x56499b,_0x1a4491){return _0x56499b[_0x2667('0x5c')](_0x30e20e=>_0x1a4491[_0x2667('0x5c')](_0x2cc0ca=>_0x30e20e['end'][_0x2667('0x39')](_0x2cc0ca[_0x2667('0x4b')])));}_0x26680d[_0x2667('0x42')][_0x2667('0x23')]['on'](_0x2667('0x5e'),(_0x3efe90,_0x5a82d8,_0x194894)=>{if(!_0x194894['options']['showSuggestionHighlights'])return;const _0x1da613=_0x5a82d8[_0x2667('0x53')];if(!_0x1da613)return;const _0x4dcd32=_0x194894[_0x2667('0x36')][_0x2667('0x52')](_0x1da613);function _0x1ea0b1(_0x2c6770){return Array['isArray'](_0x2c6770)?_0x2c6770:[_0x2c6770];}_0x4dcd32&&_0x2667('0x41')===_0x1da613['name']&&_0x255fc3(_0x4dcd32,_0x194894[_0x2667('0x5b')],(_0x30ec2c,_0x2a48db,_0x8f2997)=>_0x8f2997[_0x2667('0x6')](_0x1ea0b1(_0x2a48db[_0x2667('0x74')]),_0x30ec2c),(_0x46798c,_0x92c440,_0x158cdf)=>_0x158cdf['removeClass'](_0x1ea0b1(_0x92c440[_0x2667('0x74')]),_0x46798c));},{'priority':_0x2667('0x32')}),_0x1837f0[_0x2667('0x79')]['registerDescriptionCallback'](_0x311dcb=>{if(_0x2667('0x9')!=_0x311dcb[_0x2667('0x6a')]&&_0x2667('0x16')!=_0x311dcb['type'])return;const _0x3b9e74=_0x311dcb[_0x2667('0xe')]();if(null!=_0x3b9e74&&_0x3b9e74['is']('element',_0x2667('0x68'))){if(_0x2667('0x9')==_0x311dcb[_0x2667('0x6a')]){const _0x1a684a=_0x311dcb[_0x2667('0xa')]()['filter'](_0x5ddbb1=>_0x5ddbb1['is']('$textProxy'))['map'](_0x38227b=>_0x38227b[_0x2667('0x42')]);if(_0x1a684a[_0x2667('0x15')])return{'type':'insertion','content':_0x41f726(_0x48737e,_0x2667('0x4e'),_0x41f726(_0x48737e,_0x2667('0x73'),'\x22'+_0x1a684a[_0x2667('0x4d')]('\x20')+'\x22'))};}if(_0x2667('0x16')==_0x311dcb['type']){const _0x104bc0=_0x311dcb[_0x2667('0xa')]()[_0x2667('0x48')](_0x3a0e28=>_0x3a0e28['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x4314fb=>_0x4314fb['data']);if(_0x104bc0[_0x2667('0x15')])return{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x73'),'\x22'+_0x104bc0[_0x2667('0x4d')]('\x20')+'\x22'))};}}}),_0x1837f0[_0x2667('0x79')]['registerDescriptionCallback'](_0x4c419d=>{if('tableRow'==_0x4c419d['subType']){const _0x518551=_0x4c419d[_0x2667('0xa')]()[_0x2667('0x48')](_0x2d2c7d=>_0x2d2c7d['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x4ee46c=>_0x4ee46c[_0x2667('0x42')]),_0x48027c=this[_0x2667('0x51')](_0x4c419d),_0x432706=_0x48027c[_0x2667('0x1d')]-_0x48027c[_0x2667('0x1b')]+0x1;if(_0x2667('0x9')==_0x4c419d[_0x2667('0x6a')])return _0x518551[_0x2667('0x15')]?{'type':_0x2667('0x9'),'content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,_0x2667('0x49'),[_0x432706,'\x22'+_0x518551['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,'ELEMENT_TABLE_ROW',_0x432706))};if(_0x2667('0x16')==_0x4c419d[_0x2667('0x6a')])return _0x518551['length']?{'type':'deletion','content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x49'),[_0x432706,'\x22'+_0x518551[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x1'),_0x432706))};}if(_0x2667('0x80')==_0x4c419d[_0x2667('0x35')]){const _0x131721=_0x4c419d['getItems']()[_0x2667('0x48')](_0x44103c=>_0x44103c['is'](_0x2667('0x1a')))[_0x2667('0x43')](_0x56879b=>_0x56879b['data']),_0xe894b0=this[_0x2667('0x51')](_0x4c419d),_0x3cd7b1=_0xe894b0['maxColumn']-_0xe894b0[_0x2667('0x5d')]+0x1;if(_0x2667('0x9')==_0x4c419d[_0x2667('0x6a')])return _0x131721[_0x2667('0x15')]?{'type':_0x2667('0x9'),'content':_0x41f726(_0x48737e,_0x2667('0x4e'),_0x41f726(_0x48737e,_0x2667('0x55'),[_0x3cd7b1,'\x22'+_0x131721[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x41f726(_0x48737e,'*Insert:*\x20%0',_0x41f726(_0x48737e,_0x2667('0x66'),_0x3cd7b1))};if(_0x2667('0x16')==_0x4c419d['type'])return _0x131721[_0x2667('0x15')]?{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,_0x2667('0x55'),[_0x3cd7b1,'\x22'+_0x131721[_0x2667('0x4d')]('\x20')+'\x22']))}:{'type':_0x2667('0x16'),'content':_0x41f726(_0x48737e,_0x2667('0x33'),_0x41f726(_0x48737e,'ELEMENT_TABLE_COLUMN',_0x3cd7b1))};}}),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),'tableRow',_0x2667('0x24'),_0x4fb6d2),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x34'),_0x2667('0x19'),_0x4fb6d2),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),'tableColumn',_0x2667('0x24'),_0x52e6db),_0x1837f0[_0x2667('0xf')]['registerCustomCallback'](_0x2667('0x16'),_0x2667('0x80'),_0x2667('0x19'),_0x52e6db),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x9'),_0x2667('0x80'),_0x2667('0x4d'),_0x3902be),_0x1837f0['_suggestionFactory'][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x80'),'join',_0x3902be),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')]('insertion','tableRow',_0x2667('0x4d'),_0x106d6b),_0x1837f0[_0x2667('0xf')][_0x2667('0x14')](_0x2667('0x16'),_0x2667('0x34'),'join',_0x106d6b);}[_0x2667('0x0')](){const _0x461c3f=this[_0x2667('0x1e')],_0x82b1f9=_0x461c3f['model'][_0x2667('0x38')]['selection'];return(_0x21cd40,_0x32aaf0)=>{_0x461c3f['model'][_0x2667('0x65')](_0x15d31b=>{const {commandName:_0x5d9de9,commandParams:_0x24d919}=_0x32aaf0;let _0x44cca0=_0x21cd40[0x0][_0x2667('0xd')][_0x2667('0x76')];_0x24d919&&_0x24d919[0x0]&&!0x1===_0x24d919[0x0]['forceValue']&&(_0x44cca0=_0x21cd40[0x0][_0x2667('0x4b')]['nodeAfter']);const _0x184992=_0x15d31b['createRangeIn'](_0x44cca0);if(_0x2667('0x30')==_0x184992[_0x2667('0x5')][_0x2667('0x7b')])return;const _0x429d21=Array['from'](_0x82b1f9[_0x2667('0x78')]())[_0x2667('0x43')](_0x4f8fc0=>_0x118f17[_0x2667('0xc')](_0x4f8fc0));_0x15d31b[_0x2667('0x7c')](_0x184992),_0x461c3f[_0x2667('0x6c')][_0x2667('0x3a')](_0x5d9de9)[_0x2667('0x3c')](),_0x24d919[_0x2667('0x72')]({'forceDefaultExecution':!0x0}),_0x461c3f['execute'](_0x5d9de9,..._0x24d919);const _0x4183ed=_0x429d21['filter'](_0x109805=>_0x2667('0x30')!=_0x109805[_0x2667('0x5')][_0x2667('0x7b')]);_0x4183ed[_0x2667('0x15')]>0x0&&_0x15d31b[_0x2667('0x7c')](_0x4183ed);for(const _0x18e867 of _0x429d21)_0x18e867[_0x2667('0x21')]();});};}[_0x2667('0x57')](_0x17fa74){const _0x469012=this['editor']['plugins'][_0x2667('0x3a')](_0x2667('0x13'));let _0x25ce8f=Number['MAX_SAFE_INTEGER'],_0x260dfb=Number['MIN_SAFE_INTEGER'],_0x312451=Number['MAX_SAFE_INTEGER'],_0x3b976e=Number[_0x2667('0x7f')];for(const _0x471a8b of _0x17fa74){if(_0x2667('0x30')==_0x471a8b[_0x2667('0x5')][_0x2667('0x7b')])continue;const {row:_0x5c6060,column:_0x244723}=_0x469012['getCellLocation'](_0x471a8b),_0x35d2df=_0x471a8b[_0x2667('0x58')](_0x2667('0x25'))?_0x471a8b[_0x2667('0x77')](_0x2667('0x25'))-0x1:0x0,_0x5f1f65=_0x471a8b[_0x2667('0x58')](_0x2667('0x6e'))?_0x471a8b[_0x2667('0x77')](_0x2667('0x6e'))-0x1:0x0;_0x25ce8f=_0x5c6060<_0x25ce8f?_0x5c6060:_0x25ce8f,_0x260dfb=_0x5c6060+_0x35d2df>_0x260dfb?_0x5c6060+_0x35d2df:_0x260dfb,_0x312451=_0x244723<_0x312451?_0x244723:_0x312451,_0x3b976e=_0x244723+_0x5f1f65>_0x3b976e?_0x244723+_0x5f1f65:_0x3b976e;}return{'minRow':_0x25ce8f,'maxRow':_0x260dfb,'minColumn':_0x312451,'maxColumn':_0x3b976e};}['_setupColumnsRowsFixing'](){const _0x7ed675=this[_0x2667('0x1e')],_0x1a9644=_0x7ed675[_0x2667('0x31')]['get'](_0x2667('0x54')),_0x3e26da=_0x7ed675[_0x2667('0x31')][_0x2667('0x3a')](_0x2667('0x13'));_0x7ed675['model'][_0x2667('0x38')]['on'](_0x2667('0x2d'),()=>{const _0x5bdd97=Array[_0x2667('0x2e')](_0x7ed675[_0x2667('0x56')][_0x2667('0x38')]['differ'][_0x2667('0x44')]());for(const {name:_0x578599,data:_0x34014e}of _0x5bdd97){const {group:_0x3ab963,id:_0x33ffa5,subType:_0x58a472}=_0x1a9644[_0x2667('0x64')](_0x578599);if(_0x2667('0x4f')!=_0x3ab963)continue;if(null!=_0x34014e['oldRange'])continue;const _0x404c2f=_0x1a9644['getSuggestion'](_0x33ffa5);this[_0x2667('0x6b')][_0x2667('0x10')](_0x58a472)&&this[_0x2667('0x12')][_0x2667('0x67')](_0x404c2f);}},{'priority':_0x2667('0x37')});const _0x1b4897=(_0x4e180a,_0x26c4b0)=>{let _0x361339=!0x1;const _0x319b2c=_0x26c4b0['createRangeOn'](_0x4e180a),_0xc99c1d=_0x4e180a['findAncestor'](_0x2667('0x68')),_0x1eb898=_0x3e26da[_0x2667('0x50')](_0x4e180a);for(const _0x2122a5 of this[_0x2667('0x12')]){const _0x262377=_0x2122a5['subType'],_0x4f6860=_0x262377[_0x2667('0x1f')]('tablePaste'),_0x30ac93=_0x262377['substr'](_0x4f6860?0xa:0x5),_0x3141d4=_0x30ac93[_0x2667('0x22')](),_0x44a30c=_0x3141d4[_0x2667('0x7d')](0x0,0x3)+'span',_0x426afa=_0x2667('0x20')+_0x30ac93,_0x5b0d4a=_0x2667('0x3d')+_0x30ac93;if(!_0x2122a5['isInContent'])continue;if(_0xc99c1d!=_0x2122a5[_0x2667('0x11')]()[_0x2667('0x4b')]['findAncestor'](_0x2667('0x68')))continue;if(_0x2122a5[_0x2667('0x7e')](_0x319b2c))continue;const _0x181c04=_0x4e180a[_0x2667('0x58')](_0x44a30c)?_0x4e180a['getAttribute'](_0x44a30c)-0x1:0x0,_0x16ed5a=this['_getSuggestionCoords'](_0x2122a5),_0xed2935=_0x16ed5a[_0x426afa],_0x549fae=_0x16ed5a[_0x5b0d4a];_0xed2935<=_0x1eb898[_0x3141d4]&&_0x1eb898[_0x3141d4]+_0x181c04<=_0x549fae&&(_0x2122a5[_0x2667('0x8')](_0x319b2c),_0x361339=!0x0);}return _0x361339;};_0x7ed675['model'][_0x2667('0x38')][_0x2667('0x3f')](_0x346e60=>{let _0x54ada9=!0x1;for(const _0x11f018 of _0x7ed675[_0x2667('0x56')][_0x2667('0x38')]['differ'][_0x2667('0x4')]())if('insert'==_0x11f018[_0x2667('0x6a')]){if(_0x2667('0x34')==_0x11f018[_0x2667('0x70')])for(const _0x53895c of _0x11f018[_0x2667('0x40')]['nodeAfter']['getChildren']())_0x54ada9=_0x54ada9||_0x1b4897(_0x53895c,_0x346e60);else'tableCell'==_0x11f018[_0x2667('0x70')]&&(_0x54ada9=_0x54ada9||_0x1b4897(_0x11f018[_0x2667('0x40')]['nodeAfter'],_0x346e60));}return _0x54ada9;});}[_0x2667('0x51')](_0x400bc4){return this[_0x2667('0x57')](_0x400bc4[_0x2667('0x78')]()[_0x2667('0x43')](_0x241fed=>_0x241fed[_0x2667('0x4b')][_0x2667('0x3e')]));}}function se(_0x581f8d){return Array[_0x2667('0x2e')](new Set(_0x581f8d)[_0x2667('0x2')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xba38=['requires','afterInit','editor','plugins','has','get','toggleTableCaption','enableCommand'];(function(_0x2a49ad,_0xba38e5){const _0xabec16=function(_0x4d8eaa){while(--_0x4d8eaa){_0x2a49ad['push'](_0x2a49ad['shift']());}};_0xabec16(++_0xba38e5);}(_0xba38,0x115));const _0xabec=function(_0x2a49ad,_0xba38e5){_0x2a49ad=_0x2a49ad-0x0;let _0xabec16=_0xba38[_0x2a49ad];return _0xabec16;};import{Plugin as _0x5c1054}from'ckeditor5/src/core';import _0xbfa673 from'./table';export default class vt extends _0x5c1054{static get[_0xabec('0x3')](){return[_0xbfa673];}[_0xabec('0x4')](){const _0x418aaa=this[_0xabec('0x5')];if(!_0x418aaa[_0xabec('0x6')][_0xabec('0x7')]('TableCaptionEditing'))return;_0x418aaa[_0xabec('0x6')][_0xabec('0x0')]('TrackChangesEditing')[_0xabec('0x2')](_0xabec('0x1'));}}
23
+ const _0x1a3c=['plugins','editor','afterInit','TableCaptionEditing','get','toggleTableCaption','requires'];(function(_0x180665,_0x1a3c8a){const _0x39c072=function(_0x2788b9){while(--_0x2788b9){_0x180665['push'](_0x180665['shift']());}};_0x39c072(++_0x1a3c8a);}(_0x1a3c,0xc8));const _0x39c0=function(_0x180665,_0x1a3c8a){_0x180665=_0x180665-0x0;let _0x39c072=_0x1a3c[_0x180665];return _0x39c072;};import{Plugin as _0x391eb7}from'ckeditor5/src/core';import _0xa9f24 from'./table';export default class vt extends _0x391eb7{static get[_0x39c0('0x2')](){return[_0xa9f24];}[_0x39c0('0x5')](){const _0x4f18e4=this[_0x39c0('0x4')];if(!_0x4f18e4[_0x39c0('0x3')]['has'](_0x39c0('0x6')))return;_0x4f18e4[_0x39c0('0x3')][_0x39c0('0x0')]('TrackChangesEditing')['enableCommand'](_0x39c0('0x1'));}}