@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231027.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 (65) 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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e81=['handleListStyleCommand','map','listStyle','model','_LIST_','ListUtils','forward','_getTranslationKeyForListStyle','ListPropertiesEditing','_getSuggestionBlocks','backward','listReversed','bind','handleListReversedCommand','reversed','registerDescriptionCallback','commandParams','element','getAttribute','unshift','from','getFirstPosition','commandName','*Format:*\x20set\x20order\x20to\x20reversed','replace','change','document','listItem','numbered','handleDescriptions','length','getSelectedBlocks','enableCommand','startIndex','_getSuggestionBlocksForListStyle','has','before','editor','listType','plugins','get','toUpperCase','TrackChangesEditing','handleListStartCommand','createPositionAt','createRange','parent','getSiblingNodes','afterInit','getLastPosition','type','filter','selection','styles','_descriptionFactory','markMultiRangeBlockFormat','listStart'];(function(_0x189e8b,_0x4e8120){const _0x428dc8=function(_0x2a4574){while(--_0x2a4574){_0x189e8b['push'](_0x189e8b['shift']());}};_0x428dc8(++_0x4e8120);}(_0x4e81,0xcb));const _0x428d=function(_0x189e8b,_0x4e8120){_0x189e8b=_0x189e8b-0x0;let _0x428dc8=_0x4e81[_0x189e8b];return _0x428dc8;};import{Plugin as _0x3f486d}from'ckeditor5/src/core';import{getTranslation as _0x4fd340}from'../utils/common-translations';export default class ot extends _0x3f486d{[_0x428d('0x10')](){if(!this['editor'][_0x428d('0x7')][_0x428d('0x3')](_0x428d('0x21')))return;const _0x4409cc=this[_0x428d('0x5')]['config']['get']('list.properties'),_0x3a350d=this[_0x428d('0x5')][_0x428d('0x7')][_0x428d('0x8')]('TrackChangesEditing');_0x4409cc[_0x428d('0x15')]&&_0x3a350d[_0x428d('0x0')]('listStyle',this['handleListStyleCommand'][_0x428d('0x25')](this)),_0x4409cc[_0x428d('0x27')]&&_0x3a350d[_0x428d('0x0')](_0x428d('0x24'),this[_0x428d('0x26')][_0x428d('0x25')](this)),_0x4409cc[_0x428d('0x1')]&&_0x3a350d[_0x428d('0x0')](_0x428d('0x18'),this[_0x428d('0xb')][_0x428d('0x25')](this)),_0x3a350d[_0x428d('0x16')][_0x428d('0x28')](this[_0x428d('0x36')][_0x428d('0x25')](this));}[_0x428d('0x19')](_0x50423a,_0x509a2f={}){const _0x45c549=this[_0x428d('0x5')][_0x428d('0x7')]['get'](_0x428d('0xa')),_0x2395b3=this[_0x428d('0x2')]();this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0x32')](()=>{_0x45c549[_0x428d('0x17')](_0x2395b3,{'commandName':'listStyle','commandParams':[{'type':_0x509a2f[_0x428d('0x12')]}],'formatGroupId':_0x428d('0x1b')});});}[_0x428d('0x26')](_0x121da9,_0x1c6bfc={}){const _0x1d121f=this[_0x428d('0x5')][_0x428d('0x7')][_0x428d('0x8')](_0x428d('0xa')),_0x4dc7d7=this['_getSuggestionBlocks'](_0x124000=>_0x124000['is'](_0x428d('0x2a'),_0x428d('0x34'))&&'numbered'===_0x124000[_0x428d('0x2b')](_0x428d('0x6')));if(_0x4dc7d7[_0x428d('0x37')]<0x1)return;const _0x2991ad=_0x4dc7d7[_0x428d('0x1a')](_0x4fd494=>this[_0x428d('0x5')]['model'][_0x428d('0xd')](this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0xc')](_0x4fd494,_0x428d('0x4')),this[_0x428d('0x5')]['model'][_0x428d('0xc')](_0x4fd494,0x0)));this[_0x428d('0x5')][_0x428d('0x1c')]['change'](()=>{_0x1d121f[_0x428d('0x17')](_0x2991ad,{'commandName':_0x428d('0x24'),'commandParams':[{'reversed':_0x1c6bfc['reversed']}],'formatGroupId':_0x428d('0x24')});});}[_0x428d('0xb')](_0x4b3774,_0x5f201a={}){const _0x4ed4d0=this[_0x428d('0x5')][_0x428d('0x7')][_0x428d('0x8')]('TrackChangesEditing'),_0x1c31c5=this[_0x428d('0x22')](_0x58f0ce=>_0x58f0ce['is']('element',_0x428d('0x34'))&&_0x428d('0x35')===_0x58f0ce['getAttribute']('listType'));if(_0x1c31c5[_0x428d('0x37')]<0x1)return;const _0xb44683=_0x1c31c5[_0x428d('0x1a')](_0xc585cf=>this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0xd')](this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0xc')](_0xc585cf,'before'),this[_0x428d('0x5')][_0x428d('0x1c')]['createPositionAt'](_0xc585cf,0x0)));this['editor'][_0x428d('0x1c')][_0x428d('0x32')](()=>{_0x4ed4d0[_0x428d('0x17')](_0xb44683,{'commandName':_0x428d('0x18'),'commandParams':[{'startIndex':_0x5f201a[_0x428d('0x1')]}],'formatGroupId':_0x428d('0x18')});});}['handleDescriptions'](_0xd674f4){const _0x2ebf34=this[_0x428d('0x5')]['locale'],{data:_0x6b4fc1}=_0xd674f4;if(!_0x6b4fc1)return;let _0x822335,_0x4b6bab;switch(_0x6b4fc1[_0x428d('0x2f')]){case _0x428d('0x1b'):_0x822335='*Change\x20to:*\x20%0',_0x4b6bab={'type':'format','content':_0x4fd340(_0x2ebf34,_0x822335,_0x4fd340(_0x2ebf34,this[_0x428d('0x20')](_0x6b4fc1[_0x428d('0x29')][0x0]['type'])))};break;case _0x428d('0x24'):_0x822335=_0x6b4fc1['commandParams'][0x0][_0x428d('0x27')]?_0x428d('0x30'):'*Format:*\x20set\x20order\x20to\x20regular',_0x4b6bab={'type':'format','content':_0x4fd340(_0x2ebf34,_0x822335)};break;case _0x428d('0x18'):_0x822335='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4b6bab={'type':'format','content':_0x4fd340(_0x2ebf34,_0x822335,_0x6b4fc1[_0x428d('0x29')][0x0][_0x428d('0x1')])};}return _0x4b6bab;}[_0x428d('0x2')](){var _0x18fb00,_0x6a213f,_0x438e91,_0x1fdeb4;const _0x42dfdf=this['editor'][_0x428d('0x7')]['get'](_0x428d('0x1e'));let _0x525705=Array['from'](this['editor'][_0x428d('0x1c')][_0x428d('0x33')][_0x428d('0x14')][_0x428d('0x38')]());return(null===(_0x18fb00=_0x525705[0x0])||void 0x0===_0x18fb00?void 0x0:_0x18fb00['is'](_0x428d('0x2a'),_0x428d('0x34')))&&_0x525705[_0x428d('0x2c')](..._0x42dfdf[_0x428d('0xf')](this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0x33')][_0x428d('0x14')][_0x428d('0x2e')](),_0x428d('0x23'))),(null===(_0x6a213f=_0x525705[_0x525705[_0x428d('0x37')]-0x1])||void 0x0===_0x6a213f?void 0x0:_0x6a213f['is'](_0x428d('0x2a'),_0x428d('0x34')))&&_0x525705['push'](..._0x42dfdf[_0x428d('0xf')](this[_0x428d('0x5')][_0x428d('0x1c')][_0x428d('0x33')][_0x428d('0x14')][_0x428d('0x11')](),_0x428d('0x1f'))),_0x525705=[...new Set(_0x525705)],(null===(_0x1fdeb4=null===(_0x438e91=this[_0x428d('0x5')]['model'][_0x428d('0x33')][_0x428d('0x14')][_0x428d('0x2e')]())||void 0x0===_0x438e91?void 0x0:_0x438e91[_0x428d('0xe')])||void 0x0===_0x1fdeb4?void 0x0:_0x1fdeb4['is'](_0x428d('0x2a'),'listItem'))&&(_0x525705=_0x525705['filter'](_0x24a2f7=>_0x24a2f7['is'](_0x428d('0x2a'),'listItem'))),_0x525705;}['_getSuggestionBlocks'](_0x371f34){const _0x4cc2ad=this['editor']['plugins'][_0x428d('0x8')](_0x428d('0x1e'));let _0x1d4ed4=Array[_0x428d('0x2d')](this[_0x428d('0x5')]['model']['document'][_0x428d('0x14')][_0x428d('0x38')]())[_0x428d('0x13')](_0x371f34)[_0x428d('0x1a')](_0xb348e8=>{const _0x540ee9=this['editor'][_0x428d('0x1c')][_0x428d('0xc')](_0xb348e8,0x0);return[..._0x4cc2ad[_0x428d('0xf')](_0x540ee9,_0x428d('0x23')),..._0x4cc2ad[_0x428d('0xf')](_0x540ee9,_0x428d('0x1f'))];})['flat']();return _0x1d4ed4=[...new Set(_0x1d4ed4)],_0x1d4ed4;}[_0x428d('0x20')](_0x13efb9){return'ELEMENT_'+this[_0x428d('0x5')][_0x428d('0x7')][_0x428d('0x8')]('ListUtils')['getListTypeFromListStyleType'](_0x13efb9)[_0x428d('0x9')]()+_0x428d('0x1d')+_0x13efb9[_0x428d('0x9')]()[_0x428d('0x31')](/-/g,'_');}}
23
+ const _0x3d7e=['listReversed','push','commandParams','handleListReversedCommand','getLastPosition','length','markMultiRangeBlockFormat','toUpperCase','reversed','numbered','getAttribute','document','forward','startIndex','list.properties','format','createRange','createPositionAt','has','listStart','commandName','element','*Change\x20to:*\x20%0','backward','selection','model','_descriptionFactory','filter','handleDescriptions','map','getSiblingNodes','editor','_getSuggestionBlocksForListStyle','_LIST_','registerDescriptionCallback','handleListStartCommand','getSelectedBlocks','replace','change','listStyle','config','handleListStyleCommand','from','*Format:*\x20set\x20order\x20to\x20reversed','bind','plugins','TrackChangesEditing','type','before','listType','flat','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','_getTranslationKeyForListStyle','ListUtils','listItem','getFirstPosition','_getSuggestionBlocks'];(function(_0xfc410d,_0x3d7ea6){const _0x249fd0=function(_0x186d42){while(--_0x186d42){_0xfc410d['push'](_0xfc410d['shift']());}};_0x249fd0(++_0x3d7ea6);}(_0x3d7e,0xa6));const _0x249f=function(_0xfc410d,_0x3d7ea6){_0xfc410d=_0xfc410d-0x0;let _0x249fd0=_0x3d7e[_0xfc410d];return _0x249fd0;};import{Plugin as _0x28c5af}from'ckeditor5/src/core';import{getTranslation as _0x18f847}from'../utils/common-translations';export default class ot extends _0x28c5af{['afterInit'](){if(!this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x1a')]('ListPropertiesEditing'))return;const _0x2f7b1c=this[_0x249f('0x27')][_0x249f('0x30')][_0x249f('0x2')](_0x249f('0x16')),_0x3b8b5e=this[_0x249f('0x27')][_0x249f('0x35')]['get']('TrackChangesEditing');_0x2f7b1c['styles']&&_0x3b8b5e['enableCommand'](_0x249f('0x2f'),this[_0x249f('0x31')][_0x249f('0x34')](this)),_0x2f7b1c[_0x249f('0x10')]&&_0x3b8b5e['enableCommand'](_0x249f('0x8'),this['handleListReversedCommand'][_0x249f('0x34')](this)),_0x2f7b1c['startIndex']&&_0x3b8b5e['enableCommand'](_0x249f('0x1b'),this[_0x249f('0x2b')][_0x249f('0x34')](this)),_0x3b8b5e[_0x249f('0x22')][_0x249f('0x2a')](this['handleDescriptions'][_0x249f('0x34')](this));}[_0x249f('0x31')](_0x31fa80,_0x1f5a08={}){const _0x5db551=this['editor'][_0x249f('0x35')][_0x249f('0x2')](_0x249f('0x36')),_0x41ae6d=this[_0x249f('0x28')]();this['editor']['model'][_0x249f('0x2e')](()=>{_0x5db551[_0x249f('0xe')](_0x41ae6d,{'commandName':'listStyle','commandParams':[{'type':_0x1f5a08[_0x249f('0x37')]}],'formatGroupId':_0x249f('0x2f')});});}[_0x249f('0xb')](_0x1dfe30,_0x3c5830={}){const _0x83a4fe=this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x2')]('TrackChangesEditing'),_0x500936=this[_0x249f('0x7')](_0x402bf9=>_0x402bf9['is']('element',_0x249f('0x5'))&&_0x249f('0x11')===_0x402bf9[_0x249f('0x12')](_0x249f('0x39')));if(_0x500936['length']<0x1)return;const _0x5f1a9b=_0x500936['map'](_0x38f7fd=>this['editor'][_0x249f('0x21')][_0x249f('0x18')](this['editor'][_0x249f('0x21')][_0x249f('0x19')](_0x38f7fd,_0x249f('0x38')),this[_0x249f('0x27')]['model'][_0x249f('0x19')](_0x38f7fd,0x0)));this[_0x249f('0x27')]['model'][_0x249f('0x2e')](()=>{_0x83a4fe[_0x249f('0xe')](_0x5f1a9b,{'commandName':_0x249f('0x8'),'commandParams':[{'reversed':_0x3c5830['reversed']}],'formatGroupId':_0x249f('0x8')});});}[_0x249f('0x2b')](_0x1eaa6b,_0x280d66={}){const _0x2b295a=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x36')),_0x58fce8=this[_0x249f('0x7')](_0x3c5cda=>_0x3c5cda['is'](_0x249f('0x1d'),'listItem')&&_0x249f('0x11')===_0x3c5cda[_0x249f('0x12')](_0x249f('0x39')));if(_0x58fce8[_0x249f('0xd')]<0x1)return;const _0x2442a7=_0x58fce8[_0x249f('0x25')](_0x12f500=>this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x18')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x12f500,_0x249f('0x38')),this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x12f500,0x0)));this['editor'][_0x249f('0x21')][_0x249f('0x2e')](()=>{_0x2b295a['markMultiRangeBlockFormat'](_0x2442a7,{'commandName':'listStart','commandParams':[{'startIndex':_0x280d66[_0x249f('0x15')]}],'formatGroupId':_0x249f('0x1b')});});}[_0x249f('0x24')](_0x2353c2){const _0x168698=this[_0x249f('0x27')]['locale'],{data:_0x4cff58}=_0x2353c2;if(!_0x4cff58)return;let _0x36f233,_0xade1af;switch(_0x4cff58[_0x249f('0x1c')]){case _0x249f('0x2f'):_0x36f233=_0x249f('0x1e'),_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233,_0x18f847(_0x168698,this[_0x249f('0x3')](_0x4cff58[_0x249f('0xa')][0x0]['type'])))};break;case _0x249f('0x8'):_0x36f233=_0x4cff58[_0x249f('0xa')][0x0]['reversed']?_0x249f('0x33'):'*Format:*\x20set\x20order\x20to\x20regular',_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233)};break;case'listStart':_0x36f233=_0x249f('0x1'),_0xade1af={'type':_0x249f('0x17'),'content':_0x18f847(_0x168698,_0x36f233,_0x4cff58[_0x249f('0xa')][0x0][_0x249f('0x15')])};}return _0xade1af;}['_getSuggestionBlocksForListStyle'](){var _0x39683a,_0x2bd96e,_0x3fe80b,_0x3bd964;const _0x1b4564=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x4'));let _0x7e54d1=Array[_0x249f('0x32')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0x2c')]());return(null===(_0x39683a=_0x7e54d1[0x0])||void 0x0===_0x39683a?void 0x0:_0x39683a['is']('element','listItem'))&&_0x7e54d1['unshift'](..._0x1b4564[_0x249f('0x26')](this[_0x249f('0x27')][_0x249f('0x21')]['document'][_0x249f('0x20')]['getFirstPosition'](),_0x249f('0x1f'))),(null===(_0x2bd96e=_0x7e54d1[_0x7e54d1[_0x249f('0xd')]-0x1])||void 0x0===_0x2bd96e?void 0x0:_0x2bd96e['is'](_0x249f('0x1d'),_0x249f('0x5')))&&_0x7e54d1[_0x249f('0x9')](..._0x1b4564[_0x249f('0x26')](this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0xc')](),_0x249f('0x14'))),_0x7e54d1=[...new Set(_0x7e54d1)],(null===(_0x3bd964=null===(_0x3fe80b=this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x13')][_0x249f('0x20')][_0x249f('0x6')]())||void 0x0===_0x3fe80b?void 0x0:_0x3fe80b['parent'])||void 0x0===_0x3bd964?void 0x0:_0x3bd964['is'](_0x249f('0x1d'),'listItem'))&&(_0x7e54d1=_0x7e54d1[_0x249f('0x23')](_0x4451d7=>_0x4451d7['is'](_0x249f('0x1d'),_0x249f('0x5')))),_0x7e54d1;}['_getSuggestionBlocks'](_0x34e0f6){const _0x3b4d25=this[_0x249f('0x27')]['plugins'][_0x249f('0x2')](_0x249f('0x4'));let _0x9f4385=Array[_0x249f('0x32')](this[_0x249f('0x27')]['model'][_0x249f('0x13')][_0x249f('0x20')]['getSelectedBlocks']())['filter'](_0x34e0f6)[_0x249f('0x25')](_0x19d75f=>{const _0x135985=this[_0x249f('0x27')][_0x249f('0x21')][_0x249f('0x19')](_0x19d75f,0x0);return[..._0x3b4d25['getSiblingNodes'](_0x135985,_0x249f('0x1f')),..._0x3b4d25[_0x249f('0x26')](_0x135985,'forward')];})[_0x249f('0x0')]();return _0x9f4385=[...new Set(_0x9f4385)],_0x9f4385;}['_getTranslationKeyForListStyle'](_0x197dbd){return'ELEMENT_'+this[_0x249f('0x27')][_0x249f('0x35')][_0x249f('0x2')](_0x249f('0x4'))['getListTypeFromListStyleType'](_0x197dbd)['toUpperCase']()+_0x249f('0x29')+_0x197dbd[_0x249f('0xf')]()[_0x249f('0x2d')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ef6=['high','ELEMENT_MEDIA','stop','conversion','createEmptyElement','_descriptionFactory','dataDowncast','MediaEmbedEditing','TrackChangesEditing','get','locale','editor','has','afterInit','options','plugins','media','showSuggestionHighlights','mediaEmbed','attribute:url:media'];(function(_0x408597,_0x3ef65c){const _0x2fa2df=function(_0x99bc09){while(--_0x99bc09){_0x408597['push'](_0x408597['shift']());}};_0x2fa2df(++_0x3ef65c);}(_0x3ef6,0x173));const _0x2fa2=function(_0x408597,_0x3ef65c){_0x408597=_0x408597-0x0;let _0x2fa2df=_0x3ef6[_0x408597];return _0x2fa2df;};import{Plugin as _0x34388f}from'ckeditor5/src/core';import{getTranslation as _0x4e2727}from'../utils/common-translations';export default class rt extends _0x34388f{[_0x2fa2('0x2')](){const _0x3324f7=this[_0x2fa2('0x0')];if(!_0x3324f7[_0x2fa2('0x4')][_0x2fa2('0x1')](_0x2fa2('0x10')))return;const _0x6a158c=_0x3324f7[_0x2fa2('0x4')][_0x2fa2('0x12')](_0x2fa2('0x11')),_0x56f440=_0x3324f7[_0x2fa2('0x13')];_0x6a158c['enableCommand'](_0x2fa2('0x7')),_0x6a158c[_0x2fa2('0xe')]['registerElementLabel'](_0x2fa2('0x5'),_0xea369=>_0x4e2727(_0x56f440,_0x2fa2('0xa'),_0xea369)),_0x3324f7[_0x2fa2('0xc')]['for'](_0x2fa2('0xf'))['elementToElement']({'model':'media','view':(_0x227a23,{writer:_0x58b50d,options:_0x3c7996})=>{if(_0x3c7996[_0x2fa2('0x6')])return _0x58b50d[_0x2fa2('0xd')]('div');},'converterPriority':'high'}),_0x3324f7['data']['downcastDispatcher']['on'](_0x2fa2('0x8'),(_0x2e2d02,_0xb91c3a,_0x7692a0)=>{_0x7692a0[_0x2fa2('0x3')]['showSuggestionHighlights']&&_0x2e2d02[_0x2fa2('0xb')]();},{'priority':_0x2fa2('0x9')});}}
23
+ const _0x45e1=['data','high','locale','_descriptionFactory','stop','plugins','mediaEmbed','showSuggestionHighlights','afterInit','TrackChangesEditing','get','ELEMENT_MEDIA','downcastDispatcher','for','options','conversion','media','MediaEmbedEditing','has','div','editor','dataDowncast','attribute:url:media'];(function(_0xffa179,_0x45e186){const _0x481f81=function(_0x888e69){while(--_0x888e69){_0xffa179['push'](_0xffa179['shift']());}};_0x481f81(++_0x45e186);}(_0x45e1,0xa7));const _0x481f=function(_0xffa179,_0x45e186){_0xffa179=_0xffa179-0x0;let _0x481f81=_0x45e1[_0xffa179];return _0x481f81;};import{Plugin as _0x4e0794}from'ckeditor5/src/core';import{getTranslation as _0x2c6822}from'../utils/common-translations';export default class rt extends _0x4e0794{[_0x481f('0x2')](){const _0x685583=this[_0x481f('0xe')];if(!_0x685583[_0x481f('0x16')][_0x481f('0xc')](_0x481f('0xb')))return;const _0x5bc358=_0x685583[_0x481f('0x16')][_0x481f('0x4')](_0x481f('0x3')),_0x2c6f6c=_0x685583[_0x481f('0x13')];_0x5bc358['enableCommand'](_0x481f('0x0')),_0x5bc358[_0x481f('0x14')]['registerElementLabel'](_0x481f('0xa'),_0x2bf4ac=>_0x2c6822(_0x2c6f6c,_0x481f('0x5'),_0x2bf4ac)),_0x685583[_0x481f('0x9')][_0x481f('0x7')](_0x481f('0xf'))['elementToElement']({'model':_0x481f('0xa'),'view':(_0x1ea623,{writer:_0x5e95e6,options:_0x45edce})=>{if(_0x45edce[_0x481f('0x1')])return _0x5e95e6['createEmptyElement'](_0x481f('0xd'));},'converterPriority':_0x481f('0x12')}),_0x685583[_0x481f('0x11')][_0x481f('0x6')]['on'](_0x481f('0x10'),(_0x528ac3,_0x5bbfa8,_0x50e6c5)=>{_0x50e6c5[_0x481f('0x8')][_0x481f('0x1')]&&_0x528ac3[_0x481f('0x15')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3216=['mention','editor','TrackChangesEditing','enableCommand','MentionEditing','has'];(function(_0x419c9f,_0x32160b){const _0x5e9393=function(_0x4fadc3){while(--_0x4fadc3){_0x419c9f['push'](_0x419c9f['shift']());}};_0x5e9393(++_0x32160b);}(_0x3216,0x177));const _0x5e93=function(_0x419c9f,_0x32160b){_0x419c9f=_0x419c9f-0x0;let _0x5e9393=_0x3216[_0x419c9f];return _0x5e9393;};import{Plugin as _0x1101d6}from'ckeditor5/src/core';export default class at extends _0x1101d6{['afterInit'](){const _0x71f172=this[_0x5e93('0x4')];_0x71f172['plugins'][_0x5e93('0x2')](_0x5e93('0x1'))&&_0x71f172['plugins']['get'](_0x5e93('0x5'))[_0x5e93('0x0')](_0x5e93('0x3'));}}
23
+ const _0x42d5=['editor','has','enableCommand','TrackChangesEditing','afterInit','plugins','mention'];(function(_0x11acc6,_0x42d527){const _0x25fcf6=function(_0x4e1786){while(--_0x4e1786){_0x11acc6['push'](_0x11acc6['shift']());}};_0x25fcf6(++_0x42d527);}(_0x42d5,0xae));const _0x25fc=function(_0x11acc6,_0x42d527){_0x11acc6=_0x11acc6-0x0;let _0x25fcf6=_0x42d5[_0x11acc6];return _0x25fcf6;};import{Plugin as _0x10e6f2}from'ckeditor5/src/core';export default class at extends _0x10e6f2{[_0x25fc('0x5')](){const _0xa20820=this[_0x25fc('0x1')];_0xa20820['plugins'][_0x25fc('0x2')]('MentionEditing')&&_0xa20820[_0x25fc('0x6')]['get'](_0x25fc('0x4'))[_0x25fc('0x3')](_0x25fc('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc684=['get','afterInit','editor','plugins','enableCommand','locale','registerElementLabel','_descriptionFactory','TrackChangesEditing'];(function(_0x309a17,_0xc68426){const _0x4f51d9=function(_0x5c4767){while(--_0x5c4767){_0x309a17['push'](_0x309a17['shift']());}};_0x4f51d9(++_0xc68426);}(_0xc684,0x130));const _0x4f51=function(_0x309a17,_0xc68426){_0x309a17=_0x309a17-0x0;let _0x4f51d9=_0xc684[_0x309a17];return _0x4f51d9;};import{Plugin as _0x5cf993}from'ckeditor5/src/core';import{getTranslation as _0x137b28}from'../utils/common-translations';export default class ct extends _0x5cf993{[_0x4f51('0x3')](){const _0x421f72=this[_0x4f51('0x4')];if(!_0x421f72[_0x4f51('0x5')]['has']('PageBreakEditing'))return;_0x421f72[_0x4f51('0x5')][_0x4f51('0x2')](_0x4f51('0x1'))[_0x4f51('0x6')]('pageBreak');const _0x11324a=_0x421f72[_0x4f51('0x5')][_0x4f51('0x2')](_0x4f51('0x1')),_0x52a32d=_0x421f72[_0x4f51('0x7')];_0x11324a[_0x4f51('0x0')][_0x4f51('0x8')]('pageBreak',_0x2b9c3b=>_0x137b28(_0x52a32d,'ELEMENT_PAGE_BREAK',_0x2b9c3b));}}
23
+ const _0x50a1=['ELEMENT_PAGE_BREAK','_descriptionFactory','afterInit','PageBreakEditing','locale','enableCommand','plugins','TrackChangesEditing','get','pageBreak','registerElementLabel'];(function(_0x33245c,_0x50a1de){const _0x3cfade=function(_0x3c59a2){while(--_0x3c59a2){_0x33245c['push'](_0x33245c['shift']());}};_0x3cfade(++_0x50a1de);}(_0x50a1,0x13b));const _0x3cfa=function(_0x33245c,_0x50a1de){_0x33245c=_0x33245c-0x0;let _0x3cfade=_0x50a1[_0x33245c];return _0x3cfade;};import{Plugin as _0x480bbf}from'ckeditor5/src/core';import{getTranslation as _0x1e012a}from'../utils/common-translations';export default class ct extends _0x480bbf{[_0x3cfa('0x6')](){const _0x1a13dd=this['editor'];if(!_0x1a13dd[_0x3cfa('0xa')]['has'](_0x3cfa('0x7')))return;_0x1a13dd[_0x3cfa('0xa')]['get'](_0x3cfa('0x0'))[_0x3cfa('0x9')](_0x3cfa('0x2'));const _0x1376d9=_0x1a13dd['plugins'][_0x3cfa('0x1')](_0x3cfa('0x0')),_0x153104=_0x1a13dd[_0x3cfa('0x8')];_0x1376d9[_0x3cfa('0x5')][_0x3cfa('0x3')](_0x3cfa('0x2'),_0x8218=>_0x1e012a(_0x153104,_0x3cfa('0x4'),_0x8218));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eb9=['markBlockFormat','markerRange','has','commandName','insertion','locale','consume','isTouching','registerElementLabel','ELEMENT_PARAGRAPH','ck-suggestion-marker-split','data','insert','$text','end','selection','paragraph','nodeAfter','enableCommand','registerDescriptionCallback','TrackChangesEditing','markerName','model','schema','bindElementToMarker','isObject','*Insert:*\x20%0','activeMarkers','addClass','addMarker:suggestion:insertion','span','checkChild','change','toViewPosition','blockName','plugins','getFirstRange','editor','mapper','options','isLimit','getItemLabel','get','Paragraph','afterInit','from','filter','type','parent','writer','getSelectedBlocks','_descriptionFactory','name','isBlock'];(function(_0x31b69f,_0x2eb977){const _0x26d9fe=function(_0x88f8d){while(--_0x88f8d){_0x31b69f['push'](_0x31b69f['shift']());}};_0x26d9fe(++_0x2eb977);}(_0x2eb9,0x135));const _0x26d9=function(_0x31b69f,_0x2eb977){_0x31b69f=_0x31b69f-0x0;let _0x26d9fe=_0x2eb9[_0x31b69f];return _0x26d9fe;};import{Plugin as _0xcc0684}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x428ab7}from'./utils';import{getTranslation as _0xb693a6}from'../utils/common-translations';export default class ht extends _0xcc0684{[_0x26d9('0x5')](){const _0x120121=this[_0x26d9('0x34')];if(!_0x120121[_0x26d9('0x32')][_0x26d9('0x11')](_0x26d9('0x4')))return;const _0x116b27=_0x120121[_0x26d9('0x14')],_0x49f65f=_0x120121[_0x26d9('0x32')][_0x26d9('0x3')](_0x26d9('0x23'));_0x49f65f[_0x26d9('0xc')][_0x26d9('0x17')](_0x26d9('0x1f'),_0x5c8ffa=>_0xb693a6(_0x116b27,_0x26d9('0x18'),_0x5c8ffa)),_0x49f65f[_0x26d9('0x21')](_0x26d9('0x1f'),(_0x4ee9da,_0x26fc51={})=>{const _0x5d1476=_0x120121['model']['document'],_0x371c7e=_0x26fc51['selection']||_0x5d1476[_0x26d9('0x1e')],_0x12a539=Array[_0x26d9('0x6')](_0x371c7e[_0x26d9('0xb')]())[_0x26d9('0x7')](_0xdc1f06=>function(_0x1bc8ca,_0x145f91){return _0x145f91[_0x26d9('0x2e')](_0x1bc8ca[_0x26d9('0x9')],'paragraph')&&!_0x145f91[_0x26d9('0x28')](_0x1bc8ca)&&_0x26d9('0x1f')!=_0x1bc8ca['name'];}(_0xdc1f06,this[_0x26d9('0x34')][_0x26d9('0x25')][_0x26d9('0x26')]));_0x120121['model'][_0x26d9('0x2f')](()=>{for(const _0x1ceee6 of _0x12a539)_0x49f65f[_0x26d9('0xf')](_0x1ceee6,{'commandName':_0x26d9('0x1f'),'commandParams':[],'formatGroupId':_0x26d9('0x31')},_0x428ab7(_0x1ceee6));});}),_0x49f65f['_descriptionFactory'][_0x26d9('0x22')](_0x2172ae=>{const {data:_0x26f4b6}=_0x2172ae;if(_0x26f4b6&&_0x26d9('0x1f')==_0x26f4b6[_0x26d9('0x12')])return{'type':'format','content':_0xb693a6(_0x116b27,'*Change\x20to:*\x20%0',_0xb693a6(_0x116b27,_0x26d9('0x18')))};}),_0x49f65f[_0x26d9('0x21')]('insertParagraph'),_0x120121['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x120121),{'priority':'highest'}),_0x120121[_0x26d9('0x1a')]['downcastDispatcher']['on'](_0x26d9('0x2c'),(_0x125d28,_0x1a5f2a,_0x337685)=>{_0x337685[_0x26d9('0x0')]['showSuggestionHighlights']&&ar(_0x120121,{'showActiveMarker':!0x1})(_0x125d28,_0x1a5f2a,_0x337685);},{'priority':'highest'});const _0x341e65=_0x49f65f[_0x26d9('0xc')];_0x341e65[_0x26d9('0x22')](_0x135d03=>{if(_0x26d9('0x13')!==_0x135d03[_0x26d9('0x8')])return;const {start:_0xba59eb,end:_0x294e99}=_0x135d03[_0x26d9('0x33')]();if(!_0xba59eb[_0x26d9('0x16')](_0x294e99)||!_0xba59eb[_0x26d9('0x20')])return;const _0x168d4c=_0x120121[_0x26d9('0x25')][_0x26d9('0x26')],_0x214e9d=_0xba59eb[_0x26d9('0x20')];return _0x168d4c[_0x26d9('0xe')](_0x214e9d)&&!_0x168d4c['isLimit'](_0x214e9d)&&_0x168d4c[_0x26d9('0x2e')](_0x214e9d,_0x26d9('0x1c'))?{'type':_0x26d9('0x13'),'content':_0xb693a6(_0x116b27,_0x26d9('0x29'),_0x341e65[_0x26d9('0x2')](_0x214e9d,0x1))}:void 0x0;});}}function ar(_0x11b9ad,{showActiveMarker:_0x654489=!0x0}={}){return(_0xd222dd,_0xd73f3b,_0x26c86a)=>{const _0x40026d=_0x11b9ad[_0x26d9('0x32')][_0x26d9('0x3')]('TrackChangesEditing'),_0x1dc2e6=_0xd73f3b[_0x26d9('0x10')]['start'],_0x2184ae=_0xd73f3b[_0x26d9('0x10')][_0x26d9('0x1d')],_0x2c080c=_0x11b9ad[_0x26d9('0x25')][_0x26d9('0x26')];if(!_0x1dc2e6[_0x26d9('0x16')](_0x2184ae)||!_0x1dc2e6['nodeAfter'])return;const _0x585b8e=_0x1dc2e6[_0x26d9('0x20')];if(_0x2c080c['isBlock'](_0x585b8e)&&!_0x2c080c[_0x26d9('0x1')](_0x585b8e)&&_0x2c080c[_0x26d9('0x2e')](_0x585b8e,'$text')){if(!_0x26c86a['consumable'][_0x26d9('0x15')](_0xd73f3b[_0x26d9('0x10')],_0xd222dd[_0x26d9('0xd')]))return;const _0x4bdd0f=_0x26c86a[_0x26d9('0xa')]['createUIElement'](_0x26d9('0x2d'),{'class':_0x26d9('0x19')}),_0x2aebe8=_0x26c86a[_0x26d9('0x35')][_0x26d9('0x30')](_0x2184ae);_0x654489&&_0x40026d[_0x26d9('0x2a')]['includes'](_0xd73f3b['markerName'])&&_0x26c86a[_0x26d9('0xa')][_0x26d9('0x2b')]('ck-suggestion-marker--active',_0x4bdd0f),_0x26c86a['writer'][_0x26d9('0x1b')](_0x2aebe8,_0x4bdd0f),_0x26c86a[_0x26d9('0x35')][_0x26d9('0x27')](_0x4bdd0f,_0xd73f3b[_0x26d9('0x24')]);}};}
23
+ const _0x4113=['data','isLimit','model','isBlock','addClass','ELEMENT_PARAGRAPH','format','insertion','getFirstRange','name','enableCommand','commandName','downcastDispatcher','parent','$text','checkChild','start','locale','registerDescriptionCallback','change','TrackChangesEditing','ck-suggestion-marker-split','mapper','end','blockName','selection','*Insert:*\x20%0','showSuggestionHighlights','options','Paragraph','*Change\x20to:*\x20%0','writer','span','markerRange','afterInit','markerName','registerElementLabel','paragraph','plugins','insertParagraph','bindElementToMarker','schema','isTouching','document','get','addMarker:suggestion:insertion','_descriptionFactory','editor','nodeAfter','toViewPosition','activeMarkers','includes','getSelectedBlocks','markBlockFormat','highest'];(function(_0x3aebc3,_0x4113d1){const _0x48ae24=function(_0x14a9f5){while(--_0x14a9f5){_0x3aebc3['push'](_0x3aebc3['shift']());}};_0x48ae24(++_0x4113d1);}(_0x4113,0x15b));const _0x48ae=function(_0x3aebc3,_0x4113d1){_0x3aebc3=_0x3aebc3-0x0;let _0x48ae24=_0x4113[_0x3aebc3];return _0x48ae24;};import{Plugin as _0x1e70ee}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x23248d}from'./utils';import{getTranslation as _0x2f0b05}from'../utils/common-translations';export default class ht extends _0x1e70ee{[_0x48ae('0x11')](){const _0x549f27=this[_0x48ae('0x1e')];if(!_0x549f27[_0x48ae('0x15')]['has'](_0x48ae('0xc')))return;const _0x1e269f=_0x549f27[_0x48ae('0x0')],_0x1b4d77=_0x549f27[_0x48ae('0x15')][_0x48ae('0x1b')]('TrackChangesEditing');_0x1b4d77['_descriptionFactory'][_0x48ae('0x13')](_0x48ae('0x14'),_0x4bda09=>_0x2f0b05(_0x1e269f,_0x48ae('0x2b'),_0x4bda09)),_0x1b4d77['enableCommand'](_0x48ae('0x14'),(_0x48e5ba,_0x58bc70={})=>{const _0x3c6b16=_0x549f27[_0x48ae('0x28')][_0x48ae('0x1a')],_0x336e3b=_0x58bc70[_0x48ae('0x8')]||_0x3c6b16[_0x48ae('0x8')],_0x105e90=Array['from'](_0x336e3b[_0x48ae('0x23')]())['filter'](_0x2a7819=>function(_0x5addd7,_0x227a91){return _0x227a91[_0x48ae('0x35')](_0x5addd7[_0x48ae('0x33')],_0x48ae('0x14'))&&!_0x227a91['isObject'](_0x5addd7)&&_0x48ae('0x14')!=_0x5addd7[_0x48ae('0x2f')];}(_0x2a7819,this['editor'][_0x48ae('0x28')]['schema']));_0x549f27[_0x48ae('0x28')][_0x48ae('0x2')](()=>{for(const _0x37989d of _0x105e90)_0x1b4d77[_0x48ae('0x24')](_0x37989d,{'commandName':_0x48ae('0x14'),'commandParams':[],'formatGroupId':_0x48ae('0x7')},_0x23248d(_0x37989d));});}),_0x1b4d77[_0x48ae('0x1d')][_0x48ae('0x1')](_0x136bbe=>{const {data:_0x5736aa}=_0x136bbe;if(_0x5736aa&&'paragraph'==_0x5736aa[_0x48ae('0x31')])return{'type':_0x48ae('0x2c'),'content':_0x2f0b05(_0x1e269f,_0x48ae('0xd'),_0x2f0b05(_0x1e269f,_0x48ae('0x2b')))};}),_0x1b4d77[_0x48ae('0x30')](_0x48ae('0x16')),_0x549f27['editing'][_0x48ae('0x32')]['on'](_0x48ae('0x1c'),ar(_0x549f27),{'priority':_0x48ae('0x25')}),_0x549f27[_0x48ae('0x26')][_0x48ae('0x32')]['on'](_0x48ae('0x1c'),(_0xbc40c5,_0x1b5bb3,_0x2ba1da)=>{_0x2ba1da[_0x48ae('0xb')][_0x48ae('0xa')]&&ar(_0x549f27,{'showActiveMarker':!0x1})(_0xbc40c5,_0x1b5bb3,_0x2ba1da);},{'priority':_0x48ae('0x25')});const _0x1490d1=_0x1b4d77[_0x48ae('0x1d')];_0x1490d1[_0x48ae('0x1')](_0x5892b4=>{if(_0x48ae('0x2d')!==_0x5892b4['type'])return;const {start:_0x200dba,end:_0x1b948b}=_0x5892b4[_0x48ae('0x2e')]();if(!_0x200dba[_0x48ae('0x19')](_0x1b948b)||!_0x200dba[_0x48ae('0x1f')])return;const _0x3122df=_0x549f27[_0x48ae('0x28')][_0x48ae('0x18')],_0xa2d203=_0x200dba[_0x48ae('0x1f')];return _0x3122df[_0x48ae('0x29')](_0xa2d203)&&!_0x3122df[_0x48ae('0x27')](_0xa2d203)&&_0x3122df[_0x48ae('0x35')](_0xa2d203,_0x48ae('0x34'))?{'type':_0x48ae('0x2d'),'content':_0x2f0b05(_0x1e269f,_0x48ae('0x9'),_0x1490d1['getItemLabel'](_0xa2d203,0x1))}:void 0x0;});}}function ar(_0x534ee0,{showActiveMarker:_0x50f0fb=!0x0}={}){return(_0x126f2d,_0x240357,_0x57456e)=>{const _0x1f583f=_0x534ee0[_0x48ae('0x15')][_0x48ae('0x1b')](_0x48ae('0x3')),_0x2a3a68=_0x240357[_0x48ae('0x10')][_0x48ae('0x36')],_0x23891b=_0x240357[_0x48ae('0x10')][_0x48ae('0x6')],_0x48ba8b=_0x534ee0[_0x48ae('0x28')][_0x48ae('0x18')];if(!_0x2a3a68[_0x48ae('0x19')](_0x23891b)||!_0x2a3a68[_0x48ae('0x1f')])return;const _0x558977=_0x2a3a68[_0x48ae('0x1f')];if(_0x48ba8b[_0x48ae('0x29')](_0x558977)&&!_0x48ba8b[_0x48ae('0x27')](_0x558977)&&_0x48ba8b[_0x48ae('0x35')](_0x558977,'$text')){if(!_0x57456e['consumable']['consume'](_0x240357['markerRange'],_0x126f2d['name']))return;const _0x3ea05=_0x57456e[_0x48ae('0xe')]['createUIElement'](_0x48ae('0xf'),{'class':_0x48ae('0x4')}),_0x5b7bb3=_0x57456e['mapper'][_0x48ae('0x20')](_0x23891b);_0x50f0fb&&_0x1f583f[_0x48ae('0x21')][_0x48ae('0x22')](_0x240357[_0x48ae('0x12')])&&_0x57456e[_0x48ae('0xe')][_0x48ae('0x2a')]('ck-suggestion-marker--active',_0x3ea05),_0x57456e['writer']['insert'](_0x5b7bb3,_0x3ea05),_0x57456e[_0x48ae('0x5')][_0x48ae('0x17')](_0x3ea05,_0x240357[_0x48ae('0x12')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e68=['TrackChangesEditing','isFormatting','schema','removeFormat','enableCommand','editor','createRangeOn','get','document','*Remove\x20all\x20formatting*','getAttributes','_descriptionFactory','from','has','getItems','selection','registerDescriptionCallback','RemoveFormatEditing','getAttributeProperties','afterInit','commandName','locale','model','change','plugins'];(function(_0x447185,_0x1e6836){const _0xb0c07f=function(_0x3f834e){while(--_0x3f834e){_0x447185['push'](_0x447185['shift']());}};_0xb0c07f(++_0x1e6836);}(_0x1e68,0x183));const _0xb0c0=function(_0x447185,_0x1e6836){_0x447185=_0x447185-0x0;let _0xb0c07f=_0x1e68[_0x447185];return _0xb0c07f;};import{Plugin as _0xe33bd0}from'ckeditor5/src/core';import{getTranslation as _0x1d27a8}from'../utils/common-translations';export default class ut extends _0xe33bd0{[_0xb0c0('0x7')](){const _0x4240b3=this[_0xb0c0('0x12')];if(!_0x4240b3[_0xb0c0('0xc')][_0xb0c0('0x1')](_0xb0c0('0x5')))return;const _0x38718b=_0x4240b3[_0xb0c0('0xc')][_0xb0c0('0x14')](_0xb0c0('0xd'));_0x38718b[_0xb0c0('0x11')](_0xb0c0('0x10'),_0x2ef23b=>{const _0x1fe43b=_0x4240b3['model'][_0xb0c0('0x15')][_0xb0c0('0x3')];_0x1fe43b['isCollapsed']?_0x2ef23b():_0x4240b3['model'][_0xb0c0('0xb')](()=>{const _0x1f8a06=Array[_0xb0c0('0x0')](_0x1fe43b['getRanges']());for(const _0x35601e of _0x1f8a06)for(const _0x52a022 of _0x35601e[_0xb0c0('0x2')]())mo(_0x52a022,_0x4240b3[_0xb0c0('0xa')][_0xb0c0('0xf')])&&_0x38718b['markInlineFormat'](_0x4240b3[_0xb0c0('0xa')][_0xb0c0('0x13')](_0x52a022),{'commandName':_0xb0c0('0x10'),'commandParams':[]});});}),_0x38718b[_0xb0c0('0x18')][_0xb0c0('0x4')](_0x51044a=>{const {data:_0x54ffc3}=_0x51044a;if(_0x54ffc3&&_0xb0c0('0x10')==_0x54ffc3[_0xb0c0('0x8')])return{'type':'format','content':_0x1d27a8(_0x4240b3[_0xb0c0('0x9')],_0xb0c0('0x16'))};});}}function mo(_0x3e39c9,_0x5659c1){for(const [_0x5a0902]of _0x3e39c9[_0xb0c0('0x17')]()){const _0x1056a0=_0x5659c1[_0xb0c0('0x6')](_0x5a0902);if(_0x1056a0&&_0x1056a0[_0xb0c0('0xe')])return!0x0;}return!0x1;}
23
+ const _0x10b1=['RemoveFormatEditing','getRanges','markInlineFormat','locale','afterInit','removeFormat','change','model','isCollapsed','document','from','_descriptionFactory','isFormatting','get','createRangeOn','getAttributes','commandName','has','registerDescriptionCallback','getAttributeProperties','format'];(function(_0x2ff1be,_0x10b18b){const _0x5e3f0c=function(_0x26c53c){while(--_0x26c53c){_0x2ff1be['push'](_0x2ff1be['shift']());}};_0x5e3f0c(++_0x10b18b);}(_0x10b1,0x12d));const _0x5e3f=function(_0x2ff1be,_0x10b18b){_0x2ff1be=_0x2ff1be-0x0;let _0x5e3f0c=_0x10b1[_0x2ff1be];return _0x5e3f0c;};import{Plugin as _0x529aea}from'ckeditor5/src/core';import{getTranslation as _0x1239c6}from'../utils/common-translations';export default class ut extends _0x529aea{[_0x5e3f('0x12')](){const _0x1a007b=this['editor'];if(!_0x1a007b['plugins'][_0x5e3f('0xa')](_0x5e3f('0xe')))return;const _0x4934bc=_0x1a007b['plugins'][_0x5e3f('0x6')]('TrackChangesEditing');_0x4934bc['enableCommand'](_0x5e3f('0x13'),_0xb4a759=>{const _0x151708=_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x2')]['selection'];_0x151708[_0x5e3f('0x1')]?_0xb4a759():_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x14')](()=>{const _0xc1507c=Array[_0x5e3f('0x3')](_0x151708[_0x5e3f('0xf')]());for(const _0x57f22a of _0xc1507c)for(const _0x53e4d7 of _0x57f22a['getItems']())mo(_0x53e4d7,_0x1a007b[_0x5e3f('0x0')]['schema'])&&_0x4934bc[_0x5e3f('0x10')](_0x1a007b[_0x5e3f('0x0')][_0x5e3f('0x7')](_0x53e4d7),{'commandName':_0x5e3f('0x13'),'commandParams':[]});});}),_0x4934bc[_0x5e3f('0x4')][_0x5e3f('0xb')](_0x45cdf6=>{const {data:_0x9e11d4}=_0x45cdf6;if(_0x9e11d4&&_0x5e3f('0x13')==_0x9e11d4[_0x5e3f('0x9')])return{'type':_0x5e3f('0xd'),'content':_0x1239c6(_0x1a007b[_0x5e3f('0x11')],'*Remove\x20all\x20formatting*')};});}}function mo(_0x2508ab,_0x347a07){for(const [_0x691bfd]of _0x2508ab[_0x5e3f('0x8')]()){const _0x4b53c8=_0x347a07[_0x5e3f('0xc')](_0x691bfd);if(_0x4b53c8&&_0x4b53c8[_0x5e3f('0x5')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4473=['acceptSelectedSuggestions','enableCommand','discardSelectedSuggestions','goToNextRestrictedEditingException','discardAllSuggestions','RestrictedEditingModeEditing','plugins','acceptAllSuggestions','afterInit','trackChanges','TrackChangesEditing','discardSuggestion','editor','goToPreviousRestrictedEditingException','get'];(function(_0x15d633,_0x4473e5){const _0x137f46=function(_0x3785b5){while(--_0x3785b5){_0x15d633['push'](_0x15d633['shift']());}};_0x137f46(++_0x4473e5);}(_0x4473,0xbf));const _0x137f=function(_0x15d633,_0x4473e5){_0x15d633=_0x15d633-0x0;let _0x137f46=_0x4473[_0x15d633];return _0x137f46;};import{Plugin as _0xd27eea}from'ckeditor5/src/core';export default class ft extends _0xd27eea{[_0x137f('0xc')](){const _0x11092f=this[_0x137f('0x1')];if(!_0x11092f['plugins']['has'](_0x137f('0x9')))return;const _0x175110=_0x11092f['plugins'][_0x137f('0x3')](_0x137f('0xe'));_0x175110[_0x137f('0x5')](_0x137f('0x2')),_0x175110[_0x137f('0x5')](_0x137f('0x7'));const _0x3db8f0=_0x11092f[_0x137f('0xa')][_0x137f('0x3')](_0x137f('0x9'));_0x3db8f0['enableCommand'](_0x137f('0xd')),_0x3db8f0[_0x137f('0x5')]('acceptSuggestion'),_0x3db8f0['enableCommand'](_0x137f('0x0')),_0x3db8f0['enableCommand'](_0x137f('0xb')),_0x3db8f0[_0x137f('0x5')](_0x137f('0x8')),_0x3db8f0['enableCommand'](_0x137f('0x4')),_0x3db8f0['enableCommand'](_0x137f('0x6'));}}
23
+ const _0xbb2e=['discardSuggestion','enableCommand','plugins','afterInit','RestrictedEditingModeEditing','editor','acceptAllSuggestions','goToNextRestrictedEditingException','discardAllSuggestions','acceptSelectedSuggestions','TrackChangesEditing','get'];(function(_0x2edbf3,_0xbb2e63){const _0x441858=function(_0x5cbf2b){while(--_0x5cbf2b){_0x2edbf3['push'](_0x2edbf3['shift']());}};_0x441858(++_0xbb2e63);}(_0xbb2e,0x129));const _0x4418=function(_0x2edbf3,_0xbb2e63){_0x2edbf3=_0x2edbf3-0x0;let _0x441858=_0xbb2e[_0x2edbf3];return _0x441858;};import{Plugin as _0x1a6b4d}from'ckeditor5/src/core';export default class ft extends _0x1a6b4d{[_0x4418('0x6')](){const _0x1e7771=this[_0x4418('0x8')];if(!_0x1e7771[_0x4418('0x5')]['has'](_0x4418('0x7')))return;const _0xdee114=_0x1e7771['plugins'][_0x4418('0x2')](_0x4418('0x1'));_0xdee114[_0x4418('0x4')]('goToPreviousRestrictedEditingException'),_0xdee114[_0x4418('0x4')](_0x4418('0xa'));const _0x1b2768=_0x1e7771['plugins'][_0x4418('0x2')](_0x4418('0x7'));_0x1b2768[_0x4418('0x4')]('trackChanges'),_0x1b2768[_0x4418('0x4')]('acceptSuggestion'),_0x1b2768['enableCommand'](_0x4418('0x3')),_0x1b2768['enableCommand'](_0x4418('0x9')),_0x1b2768['enableCommand'](_0x4418('0xb')),_0x1b2768['enableCommand'](_0x4418('0x0')),_0x1b2768[_0x4418('0x4')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6730=['bindElementToMarker','split','createPositionBefore','createUIElement','merge','editor','includes','ck-suggestion-marker--active','activeMarkers','ck-suggestion-marker-','getItems','ELEMENT_LINE_BREAK','deletion','locale','consumable','addMarker:suggestion:insertion','mapper','editing','get','TrackChangesEditing','markerName','registerElementLabel','options','shiftEnter','addClass','requires','high','toViewPosition','showSuggestionHighlights','downcastDispatcher','insert','writer','plugins','markerRange','span','_descriptionFactory','softBreak','test'];(function(_0x1d5b2d,_0x673075){const _0x47029f=function(_0x1dcb94){while(--_0x1dcb94){_0x1d5b2d['push'](_0x1d5b2d['shift']());}};_0x47029f(++_0x673075);}(_0x6730,0xdf));const _0x4702=function(_0x1d5b2d,_0x673075){_0x1d5b2d=_0x1d5b2d-0x0;let _0x47029f=_0x6730[_0x1d5b2d];return _0x47029f;};import{Plugin as _0x9f73dc}from'ckeditor5/src/core';import{ShiftEnter as _0x498f0a}from'ckeditor5/src/enter';import{getTranslation as _0x1c5a47}from'../utils/common-translations';export default class lt extends _0x9f73dc{static get[_0x4702('0x1e')](){return[_0x498f0a];}['init'](){const _0x24a9d9=this[_0x4702('0xa')],_0x4ad7e2=_0x24a9d9[_0x4702('0x25')][_0x4702('0x17')]('TrackChangesEditing');_0x4ad7e2['enableCommand'](_0x4702('0x1c')),_0x24a9d9['editing'][_0x4702('0x22')]['on'](_0x4702('0x14'),re(_0x24a9d9),{'priority':'high'}),_0x24a9d9[_0x4702('0x16')][_0x4702('0x22')]['on']('addMarker:suggestion:deletion',re(_0x24a9d9),{'priority':_0x4702('0x1f')}),_0x24a9d9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x15efd1,_0x290c09,_0x2101b7)=>{_0x2101b7[_0x4702('0x1b')][_0x4702('0x21')]&&re(_0x24a9d9,{'showActiveMarker':!0x1})(_0x15efd1,_0x290c09,_0x2101b7);}),_0x4ad7e2[_0x4702('0x2')][_0x4702('0x1a')](_0x4702('0x3'),_0x182c43=>_0x1c5a47(_0x24a9d9[_0x4702('0x12')],_0x4702('0x10'),_0x182c43));}}function re(_0x579c6a,{showActiveMarker:_0x207d3d=!0x0}={}){return(_0x5ea9c1,_0x3a200a,_0x4a7057)=>{const _0x25400b=_0x579c6a[_0x4702('0x25')][_0x4702('0x17')](_0x4702('0x18'));if(!_0x4a7057[_0x4702('0x13')][_0x4702('0x4')](_0x3a200a[_0x4702('0x0')],_0x5ea9c1['name']))return;const _0x3d3a4b=_0x579c6a['model'];for(const _0x3d6cb5 of _0x3a200a[_0x4702('0x0')][_0x4702('0xf')]()){if(!_0x3d6cb5['is']('element',_0x4702('0x3')))continue;const _0x4a8eb4=_0x4702('0x11')==_0x3a200a[_0x4702('0x19')][_0x4702('0x6')](':')[0x1]?_0x4702('0x9'):_0x4702('0x6'),_0x24ad60=_0x4a7057[_0x4702('0x24')][_0x4702('0x8')](_0x4702('0x1'),{'class':_0x4702('0xe')+_0x4a8eb4}),_0x3c1f1a=_0x4a7057[_0x4702('0x15')][_0x4702('0x20')](_0x3d3a4b[_0x4702('0x7')](_0x3d6cb5));_0x207d3d&&_0x25400b[_0x4702('0xd')][_0x4702('0xb')](_0x3a200a['markerName'])&&_0x4a7057[_0x4702('0x24')][_0x4702('0x1d')](_0x4702('0xc'),_0x24ad60),_0x4a7057[_0x4702('0x24')][_0x4702('0x23')](_0x3c1f1a,_0x24ad60),_0x4a7057[_0x4702('0x15')][_0x4702('0x5')](_0x24ad60,_0x3a200a[_0x4702('0x19')]);}};}
23
+ const _0x3683=['test','markerRange','registerElementLabel','writer','editor','locale','_descriptionFactory','createPositionBefore','markerName','editing','showSuggestionHighlights','data','createUIElement','init','shiftEnter','model','includes','addMarker:suggestion:deletion','deletion','merge','addMarker:suggestion:insertion','getItems','TrackChangesEditing','plugins','softBreak','high','insert','ck-suggestion-marker-','get','span','element','toViewPosition','addMarker:suggestion','addClass','mapper','split'];(function(_0x31f671,_0x3683a8){const _0xd32d72=function(_0x30b948){while(--_0x30b948){_0x31f671['push'](_0x31f671['shift']());}};_0xd32d72(++_0x3683a8);}(_0x3683,0x136));const _0xd32d=function(_0x31f671,_0x3683a8){_0x31f671=_0x31f671-0x0;let _0xd32d72=_0x3683[_0x31f671];return _0xd32d72;};import{Plugin as _0x4c9a42}from'ckeditor5/src/core';import{ShiftEnter as _0x13c36a}from'ckeditor5/src/enter';import{getTranslation as _0xbe9f33}from'../utils/common-translations';export default class lt extends _0x4c9a42{static get['requires'](){return[_0x13c36a];}[_0xd32d('0x1b')](){const _0x324fcb=this[_0xd32d('0x12')],_0x5de9d8=_0x324fcb[_0xd32d('0x1')][_0xd32d('0x6')](_0xd32d('0x0'));_0x5de9d8['enableCommand'](_0xd32d('0x1c')),_0x324fcb['editing']['downcastDispatcher']['on'](_0xd32d('0x22'),re(_0x324fcb),{'priority':_0xd32d('0x3')}),_0x324fcb[_0xd32d('0x17')]['downcastDispatcher']['on'](_0xd32d('0x1f'),re(_0x324fcb),{'priority':_0xd32d('0x3')}),_0x324fcb[_0xd32d('0x19')]['downcastDispatcher']['on'](_0xd32d('0xa'),(_0x3333f7,_0x4235fe,_0x1d0565)=>{_0x1d0565['options'][_0xd32d('0x18')]&&re(_0x324fcb,{'showActiveMarker':!0x1})(_0x3333f7,_0x4235fe,_0x1d0565);}),_0x5de9d8[_0xd32d('0x14')][_0xd32d('0x10')](_0xd32d('0x2'),_0x4d6ccd=>_0xbe9f33(_0x324fcb[_0xd32d('0x13')],'ELEMENT_LINE_BREAK',_0x4d6ccd));}}function re(_0x5cd6cc,{showActiveMarker:_0x2b3872=!0x0}={}){return(_0x5e595c,_0x3b0d96,_0x58aeff)=>{const _0x5b98aa=_0x5cd6cc['plugins'][_0xd32d('0x6')](_0xd32d('0x0'));if(!_0x58aeff['consumable'][_0xd32d('0xe')](_0x3b0d96[_0xd32d('0xf')],_0x5e595c['name']))return;const _0x4e1152=_0x5cd6cc[_0xd32d('0x1d')];for(const _0x5509b8 of _0x3b0d96[_0xd32d('0xf')][_0xd32d('0x23')]()){if(!_0x5509b8['is'](_0xd32d('0x8'),_0xd32d('0x2')))continue;const _0x21217a=_0xd32d('0x20')==_0x3b0d96['markerName']['split'](':')[0x1]?_0xd32d('0x21'):_0xd32d('0xd'),_0x56814d=_0x58aeff[_0xd32d('0x11')][_0xd32d('0x1a')](_0xd32d('0x7'),{'class':_0xd32d('0x5')+_0x21217a}),_0x590394=_0x58aeff[_0xd32d('0xc')][_0xd32d('0x9')](_0x4e1152[_0xd32d('0x15')](_0x5509b8));_0x2b3872&&_0x5b98aa['activeMarkers'][_0xd32d('0x1e')](_0x3b0d96['markerName'])&&_0x58aeff[_0xd32d('0x11')][_0xd32d('0xb')]('ck-suggestion-marker--active',_0x56814d),_0x58aeff[_0xd32d('0x11')][_0xd32d('0x4')](_0x590394,_0x56814d),_0x58aeff[_0xd32d('0xc')]['bindElementToMarker'](_0x56814d,_0x3b0d96[_0xd32d('0x16')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x405a=['selection','value','enableCommand','FORMAT_RESTRICTED_ENABLED','registerDescriptionCallback','forceValue','_descriptionFactory','has','commandParams','commands','markInlineFormat','FORMAT_RESTRICTED_DISABLED','change','getRanges','from','get','restrictedEditingException','format','document','locale','plugins'];(function(_0x45ec16,_0x405a00){const _0xd458f1=function(_0x2bd1d3){while(--_0x2bd1d3){_0x45ec16['push'](_0x45ec16['shift']());}};_0xd458f1(++_0x405a00);}(_0x405a,0x189));const _0xd458=function(_0x45ec16,_0x405a00){_0x45ec16=_0x45ec16-0x0;let _0xd458f1=_0x405a[_0x45ec16];return _0xd458f1;};import{Plugin as _0x574ed5}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x19af1c}from'./utils';import{getTranslation as _0x24a53a}from'../utils/common-translations';export default class gt extends _0x574ed5{['afterInit'](){const _0xd8959a=this['editor'],_0x364e8c=_0xd8959a['model'],_0x598364=_0xd8959a[_0xd458('0x4')];if(!_0xd8959a[_0xd458('0x5')][_0xd458('0xd')]('StandardEditingModeEditing'))return;const _0x14b50b=_0xd8959a['plugins'][_0xd458('0x0')]('TrackChangesEditing'),_0x3cad34=_0xd458('0x1'),_0x247f91=_0xd8959a[_0xd458('0xf')][_0xd458('0x0')](_0x3cad34);_0x14b50b[_0xd458('0x8')](_0x3cad34,(_0x404faf,_0x211ea3={})=>{const _0x20e224=_0x364e8c[_0xd458('0x3')][_0xd458('0x6')];if(_0x20e224['isCollapsed'])return void _0x404faf(_0x211ea3);const _0x1c3fdc=void 0x0!==_0x211ea3['forceValue']?_0x211ea3[_0xd458('0xb')]:!_0x247f91[_0xd458('0x7')];_0x364e8c[_0xd458('0x12')](()=>{const _0x307abe=Array[_0xd458('0x14')](_0x20e224[_0xd458('0x13')]());for(const _0x252bb6 of _0x307abe){const _0x1330b3=_0x1c3fdc?[_0x252bb6]:_0x19af1c(_0x3cad34,_0x252bb6,_0x364e8c);for(const _0x1eca18 of _0x1330b3)_0x14b50b[_0xd458('0x10')](_0x1eca18,{'commandName':_0x3cad34,'commandParams':[{'forceValue':_0x1c3fdc}]});}});}),_0x14b50b[_0xd458('0xc')][_0xd458('0xa')](_0x4680ae=>{const {data:_0x43ef04}=_0x4680ae;if(_0x43ef04&&_0x43ef04['commandName']==_0x3cad34)return _0x43ef04[_0xd458('0xe')][0x0][_0xd458('0xb')]?{'type':_0xd458('0x2'),'content':_0x24a53a(_0x598364,_0xd458('0x9'))}:{'type':_0xd458('0x2'),'content':_0x24a53a(_0x598364,_0xd458('0x11'))};});}}
23
+ const _0xd8dd=['document','afterInit','from','enableCommand','registerDescriptionCallback','value','commandName','restrictedEditingException','selection','TrackChangesEditing','forceValue','FORMAT_RESTRICTED_DISABLED','plugins','commandParams','markInlineFormat','has','StandardEditingModeEditing','commands','_descriptionFactory','isCollapsed','FORMAT_RESTRICTED_ENABLED','editor','format'];(function(_0x127a21,_0xd8ddc6){const _0x32195b=function(_0x4353f2){while(--_0x4353f2){_0x127a21['push'](_0x127a21['shift']());}};_0x32195b(++_0xd8ddc6);}(_0xd8dd,0xb1));const _0x3219=function(_0x127a21,_0xd8ddc6){_0x127a21=_0x127a21-0x0;let _0x32195b=_0xd8dd[_0x127a21];return _0x32195b;};import{Plugin as _0x430689}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x17b30b}from'./utils';import{getTranslation as _0x4d032c}from'../utils/common-translations';export default class gt extends _0x430689{[_0x3219('0x8')](){const _0x5efb7d=this[_0x3219('0x5')],_0x1f936d=_0x5efb7d['model'],_0x4ee1f0=_0x5efb7d['locale'];if(!_0x5efb7d[_0x3219('0x13')][_0x3219('0x16')](_0x3219('0x0')))return;const _0x9fc7a6=_0x5efb7d[_0x3219('0x13')]['get'](_0x3219('0x10')),_0x245f2d=_0x3219('0xe'),_0x16340e=_0x5efb7d[_0x3219('0x1')]['get'](_0x245f2d);_0x9fc7a6[_0x3219('0xa')](_0x245f2d,(_0x3c1769,_0x24e315={})=>{const _0x36a338=_0x1f936d[_0x3219('0x7')][_0x3219('0xf')];if(_0x36a338[_0x3219('0x3')])return void _0x3c1769(_0x24e315);const _0x40b78f=void 0x0!==_0x24e315[_0x3219('0x11')]?_0x24e315[_0x3219('0x11')]:!_0x16340e[_0x3219('0xc')];_0x1f936d['change'](()=>{const _0x2e3fef=Array[_0x3219('0x9')](_0x36a338['getRanges']());for(const _0x49cca0 of _0x2e3fef){const _0x3d8dc2=_0x40b78f?[_0x49cca0]:_0x17b30b(_0x245f2d,_0x49cca0,_0x1f936d);for(const _0x4c5e3c of _0x3d8dc2)_0x9fc7a6[_0x3219('0x15')](_0x4c5e3c,{'commandName':_0x245f2d,'commandParams':[{'forceValue':_0x40b78f}]});}});}),_0x9fc7a6[_0x3219('0x2')][_0x3219('0xb')](_0x1d1b91=>{const {data:_0x100abc}=_0x1d1b91;if(_0x100abc&&_0x100abc[_0x3219('0xd')]==_0x245f2d)return _0x100abc[_0x3219('0x14')][0x0][_0x3219('0x11')]?{'type':_0x3219('0x6'),'content':_0x4d032c(_0x4ee1f0,_0x3219('0x4'))}:{'type':_0x3219('0x6'),'content':_0x4d032c(_0x4ee1f0,_0x3219('0x12'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5115=['getRanges','commandName','find','name','isBlock','every','createRangeOn','afterInit','getItems','model','push','_descriptionFactory','styleName','getSelectedBlocks','DataSchema','element','style','config','plugins','markBlockFormat','getDefinitionsForView','TrackChangesEditing','document','Style','StyleUtils','getAttribute','get','commands','inline','_getStyleDefinition','_getRangesWithClasses','style:','*Remove\x20format:*\x20%0','selection','modelElements','format','change','includes','locale','style.definitions','toLowerCase','classes','block','*Format:*\x20%0','getAncestors','add','commandParams','value','from','editor'];(function(_0x5eab19,_0x51155a){const _0x92a32c=function(_0x126cb0){while(--_0x126cb0){_0x5eab19['push'](_0x5eab19['shift']());}};_0x92a32c(++_0x51155a);}(_0x5115,0x1f2));const _0x92a3=function(_0x5eab19,_0x51155a){_0x5eab19=_0x5eab19-0x0;let _0x92a32c=_0x5115[_0x5eab19];return _0x92a32c;};import{Plugin as _0x534c69}from'ckeditor5/src/core';import{getTranslation as _0x4b5700}from'../utils/common-translations';export default class mt extends _0x534c69{[_0x92a3('0x9')](){const _0x3b0c44=this[_0x92a3('0x1')];if(!_0x3b0c44[_0x92a3('0x14')]['has'](_0x92a3('0x19')))return;const _0x507f11=_0x3b0c44[_0x92a3('0x1d')][_0x92a3('0x1c')](_0x92a3('0x12')),_0x518322=_0x3b0c44['plugins'][_0x92a3('0x1c')](_0x92a3('0x17')),_0x14a5b2=_0x3b0c44[_0x92a3('0x28')],_0x500440=_0x3b0c44['plugins'][_0x92a3('0x1c')](_0x92a3('0x10')),_0x4590d3=_0x3b0c44[_0x92a3('0x14')][_0x92a3('0x1c')](_0x92a3('0x1a'))['normalizeConfig'](_0x500440,_0x3b0c44[_0x92a3('0x13')]['get'](_0x92a3('0x29')));_0x518322['enableCommand'](_0x92a3('0x12'),(_0x2e1698,{styleName:_0x14df63})=>{const _0x50b45f=_0x3b0c44[_0x92a3('0xb')][_0x92a3('0x18')][_0x92a3('0x23')],_0x3afa29=this[_0x92a3('0x1f')](_0x14df63,_0x4590d3);if(!_0x3afa29)return;if(!_0x507f11['enabledStyles'][_0x92a3('0x27')](_0x14df63))return;if(_0x50b45f['isCollapsed']&&!_0x3afa29[_0x92a3('0x6')])return void _0x2e1698({'styleName':_0x14df63});const _0x2f61f3=!_0x507f11[_0x92a3('0x31')][_0x92a3('0x27')](_0x3afa29['name']);if(_0x3afa29[_0x92a3('0x6')]){const _0x49e4be=function(_0x539827,_0xe1666a){const _0xffbb4e=new Set();for(const _0x44105a of _0x539827){const _0x22af0c=_0x44105a[_0x92a3('0x2e')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x45df23 of _0x22af0c)if(_0xe1666a[_0x92a3('0x27')](_0x45df23['name'])){_0xffbb4e[_0x92a3('0x2f')](_0x45df23);break;}}return _0xffbb4e;}(_0x50b45f[_0x92a3('0xf')](),_0x3afa29[_0x92a3('0x24')]);_0x3b0c44[_0x92a3('0xb')][_0x92a3('0x26')](()=>{for(const _0x40d786 of _0x49e4be)_0x518322[_0x92a3('0x15')](_0x40d786,{'commandName':_0x92a3('0x12'),'commandParams':[{'styleName':_0x14df63,'forceValue':_0x2f61f3}],'formatGroupId':_0x92a3('0x21')+_0x14df63});});}else{let _0x5bfcd1=Array[_0x92a3('0x0')](_0x50b45f[_0x92a3('0x2')]());if(!_0x2f61f3){const _0x365eda=Array['from'](_0x500440[_0x92a3('0x16')](_0x3afa29[_0x92a3('0x11')],!0x1))[0x0]['model'],_0x2731c2=[];for(const _0x339651 of _0x5bfcd1){const _0x8f673a=this[_0x92a3('0x20')](_0x3b0c44[_0x92a3('0xb')],_0x339651,_0x3afa29[_0x92a3('0x2b')],_0x365eda);_0x2731c2[_0x92a3('0xc')](..._0x8f673a);}_0x5bfcd1=_0x2731c2;}_0x3b0c44[_0x92a3('0xb')][_0x92a3('0x26')](()=>{for(const _0x5eaf32 of _0x5bfcd1)_0x518322['markInlineFormat'](_0x5eaf32,{'commandName':_0x92a3('0x12'),'commandParams':[{'styleName':_0x14df63,'forceValue':_0x2f61f3}]});});}}),_0x518322[_0x92a3('0xd')]['registerDescriptionCallback'](_0x4864bd=>{const {data:_0x4b7c59}=_0x4864bd;if(_0x4b7c59&&_0x92a3('0x12')===_0x4b7c59[_0x92a3('0x3')])return _0x4b7c59['commandParams'][0x0]['forceValue']?{'type':_0x92a3('0x25'),'content':_0x4b5700(_0x14a5b2,_0x92a3('0x2d'),_0x4b7c59[_0x92a3('0x30')][0x0]['styleName'][_0x92a3('0x2a')]())}:{'type':_0x92a3('0x25'),'content':_0x4b5700(_0x14a5b2,_0x92a3('0x22'),_0x4b7c59['commandParams'][0x0][_0x92a3('0xe')][_0x92a3('0x2a')]())};});}['_getStyleDefinition'](_0x3fbcee,_0xf6919b){let _0x442b67=_0xf6919b[_0x92a3('0x2c')][_0x92a3('0x4')](_0x5950f7=>_0x5950f7[_0x92a3('0x5')]===_0x3fbcee);return _0x442b67||(_0x442b67=_0xf6919b[_0x92a3('0x1e')][_0x92a3('0x4')](_0x3fd265=>_0x3fd265[_0x92a3('0x5')]===_0x3fbcee)),_0x442b67;}[_0x92a3('0x20')](_0x32e2d4,_0x38777e,_0x4ba517,_0x40a904){const _0x6d2d4c=[];for(const _0x4d15cf of _0x38777e[_0x92a3('0xa')]()){const _0x2cd1f2=_0x4d15cf[_0x92a3('0x1b')](_0x40a904);_0x2cd1f2&&(_0x4ba517[_0x92a3('0x7')](_0x4df8b2=>_0x2cd1f2[_0x92a3('0x2b')][_0x92a3('0x27')](_0x4df8b2))&&_0x6d2d4c[_0x92a3('0xc')](_0x32e2d4[_0x92a3('0x8')](_0x4d15cf)));}return _0x6d2d4c;}}
23
+ const _0x1b47=['add','editor','toLowerCase','modelElements','element','normalizeConfig','get','isCollapsed','styleName','plugins','includes','find','_descriptionFactory','commandName','every','commands','DataSchema','model','isBlock','createRangeOn','getAttribute','*Remove\x20format:*\x20%0','document','inline','forceValue','getRanges','markBlockFormat','getItems','push','commandParams','change','TrackChangesEditing','has','format','enableCommand','afterInit','value','_getStyleDefinition','config','_getRangesWithClasses','from','style','block','name','Style','markInlineFormat'];(function(_0x363b77,_0x1b4707){const _0x3a4254=function(_0x12ae4f){while(--_0x12ae4f){_0x363b77['push'](_0x363b77['shift']());}};_0x3a4254(++_0x1b4707);}(_0x1b47,0x148));const _0x3a42=function(_0x363b77,_0x1b4707){_0x363b77=_0x363b77-0x0;let _0x3a4254=_0x1b47[_0x363b77];return _0x3a4254;};import{Plugin as _0x537031}from'ckeditor5/src/core';import{getTranslation as _0x50631a}from'../utils/common-translations';export default class mt extends _0x537031{[_0x3a42('0x1d')](){const _0x79637d=this[_0x3a42('0x29')];if(!_0x79637d[_0x3a42('0x3')][_0x3a42('0x1a')](_0x3a42('0x26')))return;const _0x3f4c9c=_0x79637d[_0x3a42('0x9')][_0x3a42('0x0')](_0x3a42('0x23')),_0x1ace3e=_0x79637d[_0x3a42('0x3')][_0x3a42('0x0')](_0x3a42('0x19')),_0x401e50=_0x79637d['locale'],_0x5f16e9=_0x79637d[_0x3a42('0x3')]['get'](_0x3a42('0xa')),_0x31a9b1=_0x79637d[_0x3a42('0x3')]['get']('StyleUtils')[_0x3a42('0x2d')](_0x5f16e9,_0x79637d[_0x3a42('0x20')][_0x3a42('0x0')]('style.definitions'));_0x1ace3e[_0x3a42('0x1c')](_0x3a42('0x23'),(_0x5ef83e,{styleName:_0x535141})=>{const _0x15d339=_0x79637d['model'][_0x3a42('0x10')]['selection'],_0x45151b=this[_0x3a42('0x1f')](_0x535141,_0x31a9b1);if(!_0x45151b)return;if(!_0x3f4c9c['enabledStyles'][_0x3a42('0x4')](_0x535141))return;if(_0x15d339[_0x3a42('0x1')]&&!_0x45151b[_0x3a42('0xc')])return void _0x5ef83e({'styleName':_0x535141});const _0x3afcb1=!_0x3f4c9c[_0x3a42('0x1e')][_0x3a42('0x4')](_0x45151b[_0x3a42('0x25')]);if(_0x45151b[_0x3a42('0xc')]){const _0x12ede=function(_0xa4c2dd,_0x54cf49){const _0x4c1539=new Set();for(const _0x3bfd1f of _0xa4c2dd){const _0x102c0f=_0x3bfd1f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x4e12e3 of _0x102c0f)if(_0x54cf49['includes'](_0x4e12e3[_0x3a42('0x25')])){_0x4c1539[_0x3a42('0x28')](_0x4e12e3);break;}}return _0x4c1539;}(_0x15d339['getSelectedBlocks'](),_0x45151b[_0x3a42('0x2b')]);_0x79637d[_0x3a42('0xb')][_0x3a42('0x18')](()=>{for(const _0x1aa00b of _0x12ede)_0x1ace3e[_0x3a42('0x14')](_0x1aa00b,{'commandName':_0x3a42('0x23'),'commandParams':[{'styleName':_0x535141,'forceValue':_0x3afcb1}],'formatGroupId':'style:'+_0x535141});});}else{let _0x1c3324=Array['from'](_0x15d339[_0x3a42('0x13')]());if(!_0x3afcb1){const _0x3303de=Array[_0x3a42('0x22')](_0x5f16e9['getDefinitionsForView'](_0x45151b[_0x3a42('0x2c')],!0x1))[0x0]['model'],_0x59bfec=[];for(const _0x3246fc of _0x1c3324){const _0xeb9b41=this[_0x3a42('0x21')](_0x79637d['model'],_0x3246fc,_0x45151b['classes'],_0x3303de);_0x59bfec[_0x3a42('0x16')](..._0xeb9b41);}_0x1c3324=_0x59bfec;}_0x79637d[_0x3a42('0xb')][_0x3a42('0x18')](()=>{for(const _0x34d02e of _0x1c3324)_0x1ace3e[_0x3a42('0x27')](_0x34d02e,{'commandName':'style','commandParams':[{'styleName':_0x535141,'forceValue':_0x3afcb1}]});});}}),_0x1ace3e[_0x3a42('0x6')]['registerDescriptionCallback'](_0x324170=>{const {data:_0xc9e5a5}=_0x324170;if(_0xc9e5a5&&_0x3a42('0x23')===_0xc9e5a5[_0x3a42('0x7')])return _0xc9e5a5['commandParams'][0x0][_0x3a42('0x12')]?{'type':'format','content':_0x50631a(_0x401e50,'*Format:*\x20%0',_0xc9e5a5[_0x3a42('0x17')][0x0][_0x3a42('0x2')][_0x3a42('0x2a')]())}:{'type':_0x3a42('0x1b'),'content':_0x50631a(_0x401e50,_0x3a42('0xf'),_0xc9e5a5[_0x3a42('0x17')][0x0][_0x3a42('0x2')]['toLowerCase']())};});}[_0x3a42('0x1f')](_0x482662,_0x18d56d){let _0x29663e=_0x18d56d[_0x3a42('0x24')][_0x3a42('0x5')](_0x2307eb=>_0x2307eb[_0x3a42('0x25')]===_0x482662);return _0x29663e||(_0x29663e=_0x18d56d[_0x3a42('0x11')]['find'](_0x2d6405=>_0x2d6405[_0x3a42('0x25')]===_0x482662)),_0x29663e;}['_getRangesWithClasses'](_0x2cb9e6,_0x4da987,_0x4dfdc9,_0x98911a){const _0xb74df2=[];for(const _0x3a8277 of _0x4da987[_0x3a42('0x15')]()){const _0x231447=_0x3a8277[_0x3a42('0xe')](_0x98911a);_0x231447&&(_0x4dfdc9[_0x3a42('0x8')](_0x1f64b9=>_0x231447['classes'][_0x3a42('0x4')](_0x1f64b9))&&_0xb74df2[_0x3a42('0x16')](_0x2cb9e6[_0x3a42('0xd')](_0x3a8277)));}return _0xb74df2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbd59=['TableEditing','span','max','writer','position','detach','left','fromRange','maxRow','registerPostFixer','removeClass','downcastDispatcher','addClass','name','toViewElement','tableCell','document','createPositionAt','classes','ELEMENT_TABLE_WITH_TEXT','_getSuggestionCoords','isInContent','last','nodeAfter','TrackChangesEditing','deletion','nodeBefore','getSelectionAffectedTableCells','type','toLowerCase','ELEMENT_TABLE_ROW','root','insertion','length','*Insert:*\x20%0','getItems','MAX_SAFE_INTEGER','join','enableCommand','enqueueChange','low','_tableSuggestions','refresh','oldRange','getRowIndexes','tablePaste','min','ELEMENT_TABLE_COLUMN_WITH_TEXT','registerElementLabel','data','createTableWalker','forceValue','setSelection','ELEMENT_TABLE_COLUMN','start','options','markMultiRangeInsertion','findAncestor','commands','_suggestionFactory','insertTableRowBelow','tableColumn','selection','getFirstRange','getAttribute','highest','_setupColumnsRowsFixing','includes','above','cell','colspan','TableUtils','_descriptionFactory','model','insertTableRowAbove','isEqual','$graveyard','values','_tablePostFixingSubtypes','ELEMENT_TABLE_ROW_WITH_TEXT','every','end','rootName','discard','removeTableColumn','*Remove:*\x20%0','filter','order','_acceptFormatSuggestionCallbackFactory','tableRow','hasAttribute','some','insertTableColumnRight','editor','insert','table','accept','from','afterInit','map','item','getSuggestion','change','element','execute','getRanges','add','$textProxy','has','insertTable','isTouching','_splitMarkerName','differ','subType','maxColumn','registerCustomCallback','createRangeOn','removeTableRow','_getCoordsForCells','getCellLocation','insertTableColumnLeft','push','plugins','registerDescriptionCallback','minColumn','substr','get','addRange','getChildren','first'];(function(_0x319dc1,_0xbd59e2){const _0x266f49=function(_0x51d859){while(--_0x51d859){_0x319dc1['push'](_0x319dc1['shift']());}};_0x266f49(++_0xbd59e2);}(_0xbd59,0x134));const _0x266f=function(_0x319dc1,_0xbd59e2){_0x319dc1=_0x319dc1-0x0;let _0x266f49=_0xbd59[_0x319dc1];return _0x266f49;};import{Plugin as _0x5bb433}from'ckeditor5/src/core';import{LiveRange as _0x4a2f0c}from'ckeditor5/src/engine';import{setHighlightHandling as _0xf7f8cb}from'ckeditor5/src/widget';import{getTranslation as _0x3d37c8}from'../utils/common-translations';export default class dt extends _0x5bb433{constructor(_0x3759ae){super(_0x3759ae),this[_0x266f('0x1e')]=['tableRow',_0x266f('0xd')],this[_0x266f('0x7b')]=new Set();}[_0x266f('0x32')](){const _0x11b632=this[_0x266f('0x2d')],_0x4285ca=_0x11b632[_0x266f('0x19')][_0x266f('0x62')][_0x266f('0xe')];if(!_0x11b632[_0x266f('0x4a')][_0x266f('0x3c')](_0x266f('0x52')))return;const _0x49ec08=_0x11b632['locale'],_0x3962ce=_0x11b632['plugins']['get'](_0x266f('0x6a')),_0x3abf29=_0x11b632['plugins']['get'](_0x266f('0x17'));_0x3962ce[_0x266f('0x18')][_0x266f('0x0')]('table',_0x3f5a97=>_0x3d37c8(_0x49ec08,'ELEMENT_TABLE',_0x3f5a97)),this[_0x266f('0x12')](),_0x3962ce['enableCommand'](_0x266f('0x3d')),_0x3962ce[_0x266f('0x78')]('selectTableRow'),_0x3962ce[_0x266f('0x78')]('selectTableColumn');for(const _0x10a1d5 of[_0x266f('0x1a'),_0x266f('0xc')]){const _0x1e53bd=_0x11b632[_0x266f('0xa')][_0x266f('0x4e')](_0x10a1d5);_0x3962ce['enableCommand'](_0x10a1d5,_0x25c8e5=>{_0x11b632['model'][_0x266f('0x36')](_0x1b1700=>{_0x25c8e5();const _0x175d61=_0x266f('0x14')===_0x1e53bd[_0x266f('0x27')],_0x32ca27=_0x3abf29['getSelectionAffectedTableCells'](_0x4285ca),_0x1cd978=_0x3abf29[_0x266f('0x7e')](_0x32ca27),_0x4f775c=_0x175d61?_0x1cd978[_0x266f('0x51')]-0x1:_0x1cd978[_0x266f('0x68')]+0x1,_0x32b9ca=_0x32ca27[0x0][_0x266f('0x9')](_0x266f('0x2f')),_0x36aeb4=_0x3abf29[_0x266f('0x2')](_0x32b9ca,{'startRow':_0x4f775c,'endRow':_0x4f775c}),_0x157a08=Array['from'](_0x36aeb4)[_0x266f('0x33')](_0x5c8c0c=>_0x1b1700[_0x266f('0x44')](_0x5c8c0c[_0x266f('0x15')]));_0x3962ce[_0x266f('0x8')](_0x157a08,_0x266f('0x29'));});});}for(const _0x5e12e9 of[_0x266f('0x48'),_0x266f('0x2c')]){const _0xf32431=_0x11b632['commands'][_0x266f('0x4e')](_0x5e12e9);_0x3962ce[_0x266f('0x78')](_0x5e12e9,_0x4d0301=>{_0x11b632[_0x266f('0x19')]['change'](_0x46193c=>{_0x4d0301();const _0x26de44=_0x266f('0x58')===_0xf32431['order'],_0x1dd62c=_0x3abf29[_0x266f('0x6d')](_0x4285ca),_0x306b84=_0x3abf29['getColumnIndexes'](_0x1dd62c),_0x384aa1=_0x26de44?_0x306b84['first']-0x1:_0x306b84[_0x266f('0x68')]+0x1,_0x3991fa=_0x1dd62c[0x0][_0x266f('0x9')](_0x266f('0x2f')),_0x14ffff=_0x3abf29[_0x266f('0x2')](_0x3991fa,{'startRow':0x0,'column':_0x384aa1,'includeAllSlots':!0x1}),_0x25c55f=Array['from'](_0x14ffff)['map'](_0x5b152c=>_0x46193c[_0x266f('0x44')](_0x5b152c[_0x266f('0x15')]));_0x3962ce[_0x266f('0x8')](_0x25c55f,_0x266f('0xd'));});});}for(const _0x3531c of[_0x266f('0x45'),_0x266f('0x24')]){const _0x38ecdb=_0x3531c[_0x266f('0x4d')](0xb),_0x220ec7=_0x38ecdb[_0x266f('0x6f')](),_0x1d9565=_0x220ec7[_0x266f('0x4d')](0x0,0x3)+_0x266f('0x53'),_0x11f40c='table'+_0x38ecdb,_0x43547f=_0x266f('0x80')+_0x38ecdb,_0x5af8ed=_0x266f('0x54')+_0x38ecdb;_0x3962ce[_0x266f('0x78')](_0x3531c,()=>{_0x11b632[_0x266f('0x19')][_0x266f('0x36')](_0x22252c=>{const _0x6bff6f=_0x3abf29[_0x266f('0x6d')](_0x4285ca),_0x585051=_0x6bff6f[0x0]['findAncestor'](_0x266f('0x2f'));let _0x5b5e66;if(_0x266f('0x45')==_0x3531c){const _0x5c4d25=_0x3abf29[_0x266f('0x7e')](_0x6bff6f);_0x5b5e66={'startRow':_0x5c4d25[_0x266f('0x51')],'endRow':_0x5c4d25['last'],'includeAllSlots':!0x0};}else{const _0x53e7b8=_0x3abf29['getColumnIndexes'](_0x6bff6f);_0x5b5e66={'startColumn':_0x53e7b8[_0x266f('0x51')],'endColumn':_0x53e7b8['last'],'includeAllSlots':!0x0};}const _0x2d441d=_0x3abf29['createTableWalker'](_0x585051,_0x5b5e66),_0x42691e=Array[_0x266f('0x31')](_0x2d441d)['map'](({cell:_0x424d70})=>_0x424d70),_0x565425=se(_0x42691e[_0x266f('0x26')](_0x4f67bc=>_0x4f67bc[_0x266f('0x2a')](_0x1d9565))),_0x4f866d=se(_0x42691e['filter'](_0x227fe8=>!_0x227fe8['hasAttribute'](_0x1d9565)))[_0x266f('0x33')](_0x816fc3=>_0x22252c[_0x266f('0x44')](_0x816fc3)),_0x544068=_0x3962ce['markMultiRangeDeletion'](_0x4f866d,_0x11f40c);if(_0x544068&&(_0x266f('0x29')==_0x544068['subType']||_0x266f('0xd')==_0x544068[_0x266f('0x41')])){const _0x193254=this[_0x266f('0x66')](_0x544068);for(const _0x38bdb1 of _0x565425){const _0x22fbde=_0x22252c[_0x266f('0x44')](_0x38bdb1),_0x102bb5=_0x3abf29[_0x266f('0x47')](_0x38bdb1),_0x24ba7d=_0x38bdb1[_0x266f('0x10')](_0x1d9565)-0x1,_0x18be63=_0x193254[_0x43547f],_0x35c71b=_0x193254[_0x5af8ed];_0x18be63<=_0x102bb5[_0x220ec7]&&_0x102bb5[_0x220ec7]+_0x24ba7d<=_0x35c71b&&_0x544068[_0x266f('0x4f')](_0x22fbde);}}});});}function _0x389980(_0x2e363a){const _0x171518=Array[_0x266f('0x31')](_0x4285ca['getRanges']())[_0x266f('0x33')](_0x49649b=>_0x4a2f0c['fromRange'](_0x49649b));_0x11b632[_0x266f('0x19')][_0x266f('0x36')](_0x236f31=>{const _0x534ab0=_0x236f31['batch'];_0x2e363a=_0x2e363a[_0x266f('0x26')](_0x1ceea1=>_0x266f('0x1c')!=_0x1ceea1[_0x266f('0x71')]['rootName']),_0x236f31[_0x266f('0x4')](_0x2e363a),_0x11b632[_0x266f('0xa')]['get'](_0x266f('0x45'))[_0x266f('0x7c')](),_0x11b632['execute'](_0x266f('0x45'),{'forceDefaultExecution':!0x0}),_0x11b632[_0x266f('0x19')][_0x266f('0x79')](()=>{_0x11b632[_0x266f('0x19')][_0x266f('0x79')](_0x534ab0,_0x56049a=>{const _0x23fcae=_0x171518[_0x266f('0x26')](_0x3641c2=>_0x266f('0x1c')!=_0x3641c2[_0x266f('0x71')][_0x266f('0x22')]);_0x23fcae['length']>0x0&&_0x56049a[_0x266f('0x4')](_0x23fcae);for(const _0x28b976 of _0x171518)_0x28b976[_0x266f('0x57')]();});});});}function _0x40aa21(_0x39bc4b){_0x11b632[_0x266f('0x19')][_0x266f('0x36')](_0x955029=>{const _0x42e7c2=Array[_0x266f('0x31')](_0x4285ca[_0x266f('0x39')]())['map'](_0x105b0e=>_0x4a2f0c['fromRange'](_0x105b0e)),_0x1df8d4=[];for(const _0x5ae59b of _0x39bc4b)for(const _0x503942 of _0x5ae59b[_0x266f('0x75')]({'shallow':!0x0}))_0x1df8d4[_0x266f('0x49')](_0x503942);for(const _0x3e56d2 of _0x1df8d4)_0x266f('0x1c')!=_0x3e56d2[_0x266f('0x71')]['rootName']&&(_0x955029[_0x266f('0x4')](_0x955029[_0x266f('0x63')](_0x3e56d2,0x0)),_0x11b632[_0x266f('0xa')][_0x266f('0x4e')]('removeTableColumn')[_0x266f('0x7c')](),_0x11b632['execute'](_0x266f('0x24'),{'forceDefaultExecution':!0x0}));const _0x1a6be4=_0x42e7c2[_0x266f('0x26')](_0x5925b1=>_0x266f('0x1c')!=_0x5925b1[_0x266f('0x71')][_0x266f('0x22')]);_0x1a6be4[_0x266f('0x73')]>0x0&&_0x955029[_0x266f('0x4')](_0x1a6be4);for(const _0x5131c4 of _0x42e7c2)_0x5131c4[_0x266f('0x57')]();});}function _0x450cfe(_0x992262,_0x2f09ab){return _0x2f09ab[_0x266f('0x20')](_0x3e6dab=>_0x992262['some'](_0x15b86d=>_0x15b86d['end'][_0x266f('0x1b')](_0x3e6dab['start'])||_0x3e6dab[_0x266f('0x21')][_0x266f('0x1b')](_0x15b86d[_0x266f('0x6')])));}function _0x492100(_0x362d4f,_0x4612cb){return _0x362d4f[_0x266f('0x2b')](_0x92e8f1=>_0x4612cb[_0x266f('0x2b')](_0x199980=>_0x92e8f1['end'][_0x266f('0x3e')](_0x199980[_0x266f('0x6')])));}_0x11b632[_0x266f('0x1')][_0x266f('0x5d')]['on']('addMarker:suggestion',(_0x3e2cb9,_0x31478e,_0x134d26)=>{if(!_0x134d26[_0x266f('0x7')]['showSuggestionHighlights'])return;const _0x527755=_0x31478e[_0x266f('0x34')];if(!_0x527755)return;const _0x259cb3=_0x134d26['mapper'][_0x266f('0x60')](_0x527755);function _0x2cde30(_0x5b1567){return Array['isArray'](_0x5b1567)?_0x5b1567:[_0x5b1567];}_0x259cb3&&_0x266f('0x61')===_0x527755[_0x266f('0x5f')]&&_0xf7f8cb(_0x259cb3,_0x134d26[_0x266f('0x55')],(_0x1025f7,_0x36f104,_0x26f16f)=>_0x26f16f[_0x266f('0x5e')](_0x2cde30(_0x36f104[_0x266f('0x64')]),_0x1025f7),(_0x18f571,_0x48488f,_0x25dded)=>_0x25dded[_0x266f('0x5c')](_0x2cde30(_0x48488f[_0x266f('0x64')]),_0x18f571));},{'priority':_0x266f('0x11')}),_0x3962ce[_0x266f('0x18')][_0x266f('0x4b')](_0x18a309=>{if(_0x266f('0x72')!=_0x18a309[_0x266f('0x6e')]&&_0x266f('0x6b')!=_0x18a309[_0x266f('0x6e')])return;const _0x3de4f6=_0x18a309['getContainedElement']();if(null!=_0x3de4f6&&_0x3de4f6['is'](_0x266f('0x37'),'table')){if(_0x266f('0x72')==_0x18a309[_0x266f('0x6e')]){const _0x506673=_0x18a309['getItems']()[_0x266f('0x26')](_0x2c5f2=>_0x2c5f2['is'](_0x266f('0x3b')))[_0x266f('0x33')](_0x4323d6=>_0x4323d6[_0x266f('0x1')]);if(_0x506673[_0x266f('0x73')])return{'type':'insertion','content':_0x3d37c8(_0x49ec08,_0x266f('0x74'),_0x3d37c8(_0x49ec08,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x506673[_0x266f('0x77')]('\x20')+'\x22'))};}if(_0x266f('0x6b')==_0x18a309[_0x266f('0x6e')]){const _0x4a3372=_0x18a309[_0x266f('0x75')]()['filter'](_0x1363e8=>_0x1363e8['is'](_0x266f('0x3b')))[_0x266f('0x33')](_0x97a5b1=>_0x97a5b1[_0x266f('0x1')]);if(_0x4a3372[_0x266f('0x73')])return{'type':_0x266f('0x6b'),'content':_0x3d37c8(_0x49ec08,_0x266f('0x25'),_0x3d37c8(_0x49ec08,_0x266f('0x65'),'\x22'+_0x4a3372[_0x266f('0x77')]('\x20')+'\x22'))};}}}),_0x3962ce[_0x266f('0x18')][_0x266f('0x4b')](_0x3da922=>{if(_0x266f('0x29')==_0x3da922[_0x266f('0x41')]){const _0xb4968b=_0x3da922[_0x266f('0x75')]()['filter'](_0x4624e8=>_0x4624e8['is'](_0x266f('0x3b')))['map'](_0x358902=>_0x358902[_0x266f('0x1')]),_0x1452d3=this['_getSuggestionCoords'](_0x3da922),_0x2d0b9c=_0x1452d3[_0x266f('0x5a')]-_0x1452d3['minRow']+0x1;if(_0x266f('0x72')==_0x3da922['type'])return _0xb4968b[_0x266f('0x73')]?{'type':'insertion','content':_0x3d37c8(_0x49ec08,_0x266f('0x74'),_0x3d37c8(_0x49ec08,_0x266f('0x1f'),[_0x2d0b9c,'\x22'+_0xb4968b[_0x266f('0x77')]('\x20')+'\x22']))}:{'type':_0x266f('0x72'),'content':_0x3d37c8(_0x49ec08,'*Insert:*\x20%0',_0x3d37c8(_0x49ec08,_0x266f('0x70'),_0x2d0b9c))};if(_0x266f('0x6b')==_0x3da922[_0x266f('0x6e')])return _0xb4968b[_0x266f('0x73')]?{'type':'deletion','content':_0x3d37c8(_0x49ec08,_0x266f('0x25'),_0x3d37c8(_0x49ec08,_0x266f('0x1f'),[_0x2d0b9c,'\x22'+_0xb4968b[_0x266f('0x77')]('\x20')+'\x22']))}:{'type':_0x266f('0x6b'),'content':_0x3d37c8(_0x49ec08,_0x266f('0x25'),_0x3d37c8(_0x49ec08,'ELEMENT_TABLE_ROW',_0x2d0b9c))};}if(_0x266f('0xd')==_0x3da922[_0x266f('0x41')]){const _0x1b1727=_0x3da922[_0x266f('0x75')]()[_0x266f('0x26')](_0x394e10=>_0x394e10['is']('$textProxy'))[_0x266f('0x33')](_0x2dab1a=>_0x2dab1a[_0x266f('0x1')]),_0x4d3cf8=this[_0x266f('0x66')](_0x3da922),_0x57c133=_0x4d3cf8[_0x266f('0x42')]-_0x4d3cf8[_0x266f('0x4c')]+0x1;if(_0x266f('0x72')==_0x3da922[_0x266f('0x6e')])return _0x1b1727[_0x266f('0x73')]?{'type':_0x266f('0x72'),'content':_0x3d37c8(_0x49ec08,_0x266f('0x74'),_0x3d37c8(_0x49ec08,_0x266f('0x81'),[_0x57c133,'\x22'+_0x1b1727[_0x266f('0x77')]('\x20')+'\x22']))}:{'type':_0x266f('0x72'),'content':_0x3d37c8(_0x49ec08,_0x266f('0x74'),_0x3d37c8(_0x49ec08,'ELEMENT_TABLE_COLUMN',_0x57c133))};if(_0x266f('0x6b')==_0x3da922[_0x266f('0x6e')])return _0x1b1727[_0x266f('0x73')]?{'type':'deletion','content':_0x3d37c8(_0x49ec08,_0x266f('0x25'),_0x3d37c8(_0x49ec08,_0x266f('0x81'),[_0x57c133,'\x22'+_0x1b1727[_0x266f('0x77')]('\x20')+'\x22']))}:{'type':_0x266f('0x6b'),'content':_0x3d37c8(_0x49ec08,_0x266f('0x25'),_0x3d37c8(_0x49ec08,_0x266f('0x5'),_0x57c133))};}}),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x72'),_0x266f('0x29'),_0x266f('0x23'),_0x389980),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x6b'),_0x266f('0x29'),_0x266f('0x30'),_0x389980),_0x3962ce['_suggestionFactory']['registerCustomCallback']('insertion',_0x266f('0xd'),_0x266f('0x23'),_0x40aa21),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')]('deletion',_0x266f('0xd'),'accept',_0x40aa21),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x72'),_0x266f('0xd'),_0x266f('0x77'),_0x450cfe),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x6b'),_0x266f('0xd'),'join',_0x450cfe),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x72'),_0x266f('0x29'),'join',_0x492100),_0x3962ce[_0x266f('0xb')][_0x266f('0x43')](_0x266f('0x6b'),_0x266f('0x29'),'join',_0x492100);}[_0x266f('0x28')](){const _0x325914=this[_0x266f('0x2d')],_0x50ba80=_0x325914[_0x266f('0x19')]['document'][_0x266f('0xe')];return(_0x38b395,_0x3513b5)=>{_0x325914[_0x266f('0x19')][_0x266f('0x36')](_0x46ea94=>{const {commandName:_0x926e0,commandParams:_0x5cb3a1}=_0x3513b5;let _0x5c9394=_0x38b395[0x0]['end'][_0x266f('0x6c')];_0x5cb3a1&&_0x5cb3a1[0x0]&&!0x1===_0x5cb3a1[0x0][_0x266f('0x3')]&&(_0x5c9394=_0x38b395[0x0]['start'][_0x266f('0x69')]);const _0x174c79=_0x46ea94['createRangeIn'](_0x5c9394);if(_0x266f('0x1c')==_0x174c79[_0x266f('0x71')]['rootName'])return;const _0x5835b3=Array['from'](_0x50ba80['getRanges']())[_0x266f('0x33')](_0x5d4105=>_0x4a2f0c[_0x266f('0x59')](_0x5d4105));_0x46ea94[_0x266f('0x4')](_0x174c79),_0x325914[_0x266f('0xa')][_0x266f('0x4e')](_0x926e0)[_0x266f('0x7c')](),_0x5cb3a1[_0x266f('0x49')]({'forceDefaultExecution':!0x0}),_0x325914[_0x266f('0x38')](_0x926e0,..._0x5cb3a1);const _0xb4627=_0x5835b3[_0x266f('0x26')](_0x4c8620=>_0x266f('0x1c')!=_0x4c8620['root']['rootName']);_0xb4627[_0x266f('0x73')]>0x0&&_0x46ea94[_0x266f('0x4')](_0xb4627);for(const _0x2c9f0b of _0x5835b3)_0x2c9f0b[_0x266f('0x57')]();});};}[_0x266f('0x46')](_0x17d5f0){const _0x218d28=this[_0x266f('0x2d')][_0x266f('0x4a')][_0x266f('0x4e')](_0x266f('0x17'));let _0xd108d8=Number[_0x266f('0x76')],_0x1803a5=Number['MIN_SAFE_INTEGER'],_0x3fbe96=Number[_0x266f('0x76')],_0x29dec8=Number['MIN_SAFE_INTEGER'];for(const _0x5d9c15 of _0x17d5f0){if(_0x266f('0x1c')==_0x5d9c15[_0x266f('0x71')][_0x266f('0x22')])continue;const {row:_0x298095,column:_0x3a2d11}=_0x218d28[_0x266f('0x47')](_0x5d9c15),_0x1e95e8=_0x5d9c15[_0x266f('0x2a')]('rowspan')?_0x5d9c15['getAttribute']('rowspan')-0x1:0x0,_0x2ae1e0=_0x5d9c15['hasAttribute'](_0x266f('0x16'))?_0x5d9c15[_0x266f('0x10')](_0x266f('0x16'))-0x1:0x0;_0xd108d8=_0x298095<_0xd108d8?_0x298095:_0xd108d8,_0x1803a5=_0x298095+_0x1e95e8>_0x1803a5?_0x298095+_0x1e95e8:_0x1803a5,_0x3fbe96=_0x3a2d11<_0x3fbe96?_0x3a2d11:_0x3fbe96,_0x29dec8=_0x3a2d11+_0x2ae1e0>_0x29dec8?_0x3a2d11+_0x2ae1e0:_0x29dec8;}return{'minRow':_0xd108d8,'maxRow':_0x1803a5,'minColumn':_0x3fbe96,'maxColumn':_0x29dec8};}[_0x266f('0x12')](){const _0x55fad4=this[_0x266f('0x2d')],_0xd07e82=_0x55fad4[_0x266f('0x4a')][_0x266f('0x4e')]('TrackChangesEditing'),_0x5872cb=_0x55fad4[_0x266f('0x4a')]['get'](_0x266f('0x17'));_0x55fad4[_0x266f('0x19')]['document']['on']('change:data',()=>{const _0x55727c=Array[_0x266f('0x31')](_0x55fad4[_0x266f('0x19')][_0x266f('0x62')][_0x266f('0x40')]['getChangedMarkers']());for(const {name:_0x114432,data:_0x10da64}of _0x55727c){const {group:_0x18b908,id:_0x2aa5c7,subType:_0x5b30a1}=_0xd07e82[_0x266f('0x3f')](_0x114432);if('suggestion'!=_0x18b908)continue;if(null!=_0x10da64[_0x266f('0x7d')])continue;const _0x425e6d=_0xd07e82[_0x266f('0x35')](_0x2aa5c7);this[_0x266f('0x1e')][_0x266f('0x13')](_0x5b30a1)&&this[_0x266f('0x7b')][_0x266f('0x3a')](_0x425e6d);}},{'priority':_0x266f('0x7a')});const _0x325aea=(_0x3332d7,_0x5c17b9)=>{let _0x161e6e=!0x1;const _0x3e2ab0=_0x5c17b9[_0x266f('0x44')](_0x3332d7),_0xf68211=_0x3332d7[_0x266f('0x9')](_0x266f('0x2f')),_0x346a1b=_0x5872cb['getCellLocation'](_0x3332d7);for(const _0x213f3e of this['_tableSuggestions']){const _0x500bb9=_0x213f3e[_0x266f('0x41')],_0xb7529f=_0x500bb9['startsWith'](_0x266f('0x7f')),_0x2314aa=_0x500bb9[_0x266f('0x4d')](_0xb7529f?0xa:0x5),_0x49ab46=_0x2314aa['toLowerCase'](),_0x16fd31=_0x49ab46[_0x266f('0x4d')](0x0,0x3)+_0x266f('0x53'),_0x6f1948=_0x266f('0x80')+_0x2314aa,_0x6367b1=_0x266f('0x54')+_0x2314aa;if(!_0x213f3e[_0x266f('0x67')])continue;if(_0xf68211!=_0x213f3e[_0x266f('0xf')]()['start'][_0x266f('0x9')](_0x266f('0x2f')))continue;if(_0x213f3e['isIntersectingWithRange'](_0x3e2ab0))continue;const _0x2c11d3=_0x3332d7['hasAttribute'](_0x16fd31)?_0x3332d7[_0x266f('0x10')](_0x16fd31)-0x1:0x0,_0x85b47d=this[_0x266f('0x66')](_0x213f3e),_0x3236ce=_0x85b47d[_0x6f1948],_0x25abc2=_0x85b47d[_0x6367b1];_0x3236ce<=_0x346a1b[_0x49ab46]&&_0x346a1b[_0x49ab46]+_0x2c11d3<=_0x25abc2&&(_0x213f3e[_0x266f('0x4f')](_0x3e2ab0),_0x161e6e=!0x0);}return _0x161e6e;};_0x55fad4[_0x266f('0x19')][_0x266f('0x62')][_0x266f('0x5b')](_0x3b2048=>{let _0x2f0ac9=!0x1;for(const _0x5732b4 of _0x55fad4['model'][_0x266f('0x62')][_0x266f('0x40')]['getChanges']())if(_0x266f('0x2e')==_0x5732b4[_0x266f('0x6e')]){if(_0x266f('0x29')==_0x5732b4['name'])for(const _0x100360 of _0x5732b4['position'][_0x266f('0x69')][_0x266f('0x50')]())_0x2f0ac9=_0x2f0ac9||_0x325aea(_0x100360,_0x3b2048);else'tableCell'==_0x5732b4['name']&&(_0x2f0ac9=_0x2f0ac9||_0x325aea(_0x5732b4[_0x266f('0x56')][_0x266f('0x69')],_0x3b2048));}return _0x2f0ac9;});}[_0x266f('0x66')](_0xb362af){return this[_0x266f('0x46')](_0xb362af[_0x266f('0x39')]()['map'](_0x40cc33=>_0x40cc33[_0x266f('0x6')][_0x266f('0x69')]));}}function se(_0x348f36){return Array[_0x266f('0x31')](new Set(_0x348f36)[_0x266f('0x1d')]());}
23
+ const _0x29cc=['createRangeIn','isInContent','name','push','removeTableRow','isEqual','getRanges','createRangeOn','options','createPositionAt','ELEMENT_TABLE_ROW_WITH_TEXT','discard','substr','refresh','locale','selectTableRow','span','TableEditing','nodeBefore','getChildren','markMultiRangeInsertion','includes','minRow','_tableSuggestions','isIntersectingWithRange','model','getSelectionAffectedTableCells','order','isArray','editor','batch','filter','change:data','above','tablePaste','getFirstRange','nodeAfter','hasAttribute','registerCustomCallback','end','colspan','insertion','values','data','change','getCellLocation','insert','showSuggestionHighlights','last','document','detach','insertTableColumnRight','startsWith','registerElementLabel','MAX_SAFE_INTEGER','tableRow','element','selection','addMarker:suggestion','add','enableCommand','setSelection','maxColumn','_getCoordsForCells','root','enqueueChange','fromRange','ELEMENT_TABLE_ROW','rowspan','length','*Insert:*\x20%0','_descriptionFactory','position','createTableWalker','$graveyard','accept','tableColumn','_suggestionFactory','left','_tablePostFixingSubtypes','rootName','max','getRowIndexes','toLowerCase','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','ELEMENT_TABLE_WITH_TEXT','from','TrackChangesEditing','insertTableRowAbove','classes','map','get','addClass','some','removeClass','_acceptFormatSuggestionCallbackFactory','tableCell','removeTableColumn','getAttribute','getChangedMarkers','item','type','getItems','isTouching','*Remove:*\x20%0','addRange','table','highest','deletion','forceValue','cell','findAncestor','min','_setupColumnsRowsFixing','subType','join','getSuggestion','downcastDispatcher','has','$textProxy','registerPostFixer','ELEMENT_TABLE_COLUMN','insertTable','MIN_SAFE_INTEGER','oldRange','commands','insertTableColumnLeft','TableUtils','writer','_getSuggestionCoords','plugins','start','first','maxRow'];(function(_0x26fcdf,_0x29cc06){const _0x646e2e=function(_0x5a97ab){while(--_0x5a97ab){_0x26fcdf['push'](_0x26fcdf['shift']());}};_0x646e2e(++_0x29cc06);}(_0x29cc,0x107));const _0x646e=function(_0x26fcdf,_0x29cc06){_0x26fcdf=_0x26fcdf-0x0;let _0x646e2e=_0x29cc[_0x26fcdf];return _0x646e2e;};import{Plugin as _0x6727a}from'ckeditor5/src/core';import{LiveRange as _0x33d42d}from'ckeditor5/src/engine';import{setHighlightHandling as _0x514ead}from'ckeditor5/src/widget';import{getTranslation as _0x5903dd}from'../utils/common-translations';export default class dt extends _0x6727a{constructor(_0x59efd5){super(_0x59efd5),this[_0x646e('0x56')]=[_0x646e('0x3e'),_0x646e('0x53')],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x41ef8e=this[_0x646e('0x24')],_0x1d9967=_0x41ef8e['model'][_0x646e('0x38')][_0x646e('0x40')];if(!_0x41ef8e['plugins'][_0x646e('0x7e')](_0x646e('0x18')))return;const _0xcf2789=_0x41ef8e[_0x646e('0x15')],_0x32539e=_0x41ef8e['plugins'][_0x646e('0x63')](_0x646e('0x5f')),_0x6e247d=_0x41ef8e[_0x646e('0x3')][_0x646e('0x63')]('TableUtils');_0x32539e[_0x646e('0x4e')][_0x646e('0x3c')](_0x646e('0x72'),_0x369185=>_0x5903dd(_0xcf2789,'ELEMENT_TABLE',_0x369185)),this['_setupColumnsRowsFixing'](),_0x32539e[_0x646e('0x43')](_0x646e('0x82')),_0x32539e[_0x646e('0x43')](_0x646e('0x16')),_0x32539e['enableCommand']('selectTableColumn');for(const _0x2057b6 of[_0x646e('0x60'),'insertTableRowBelow']){const _0x14791d=_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x2057b6);_0x32539e[_0x646e('0x43')](_0x2057b6,_0x5db3f0=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x2dc086=>{_0x5db3f0();const _0x4dca63=_0x646e('0x28')===_0x14791d['order'],_0x9fa82d=_0x6e247d[_0x646e('0x21')](_0x1d9967),_0x181eed=_0x6e247d['getRowIndexes'](_0x9fa82d),_0x517e1b=_0x4dca63?_0x181eed['first']-0x1:_0x181eed[_0x646e('0x37')]+0x1,_0x39e000=_0x9fa82d[0x0][_0x646e('0x77')]('table'),_0x3d43f3=_0x6e247d[_0x646e('0x50')](_0x39e000,{'startRow':_0x517e1b,'endRow':_0x517e1b}),_0x39c7bd=Array[_0x646e('0x5e')](_0x3d43f3)[_0x646e('0x62')](_0x448ff4=>_0x2dc086[_0x646e('0xe')](_0x448ff4[_0x646e('0x76')]));_0x32539e[_0x646e('0x1b')](_0x39c7bd,_0x646e('0x3e'));});});}for(const _0x1e8921 of[_0x646e('0x86'),_0x646e('0x3a')]){const _0x5d1bd2=_0x41ef8e[_0x646e('0x85')]['get'](_0x1e8921);_0x32539e[_0x646e('0x43')](_0x1e8921,_0x2c94e6=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x49ae37=>{_0x2c94e6();const _0xe6eb25=_0x646e('0x55')===_0x5d1bd2[_0x646e('0x22')],_0x307fcd=_0x6e247d[_0x646e('0x21')](_0x1d9967),_0x27b74a=_0x6e247d['getColumnIndexes'](_0x307fcd),_0x4a9e6a=_0xe6eb25?_0x27b74a[_0x646e('0x5')]-0x1:_0x27b74a[_0x646e('0x37')]+0x1,_0x1ab078=_0x307fcd[0x0][_0x646e('0x77')]('table'),_0x3d908b=_0x6e247d[_0x646e('0x50')](_0x1ab078,{'startRow':0x0,'column':_0x4a9e6a,'includeAllSlots':!0x1}),_0x46b5b4=Array[_0x646e('0x5e')](_0x3d908b)[_0x646e('0x62')](_0x53605d=>_0x49ae37[_0x646e('0xe')](_0x53605d[_0x646e('0x76')]));_0x32539e[_0x646e('0x1b')](_0x46b5b4,_0x646e('0x53'));});});}for(const _0x962938 of['removeTableRow',_0x646e('0x69')]){const _0x5d1831=_0x962938['substr'](0xb),_0x4217a0=_0x5d1831[_0x646e('0x5a')](),_0x2f6333=_0x4217a0[_0x646e('0x13')](0x0,0x3)+_0x646e('0x17'),_0x18fe83=_0x646e('0x72')+_0x5d1831,_0x3ad6b0=_0x646e('0x78')+_0x5d1831,_0x19ddfc=_0x646e('0x58')+_0x5d1831;_0x32539e[_0x646e('0x43')](_0x962938,()=>{_0x41ef8e['model'][_0x646e('0x33')](_0x15b181=>{const _0x1352e8=_0x6e247d['getSelectionAffectedTableCells'](_0x1d9967),_0x39156f=_0x1352e8[0x0][_0x646e('0x77')](_0x646e('0x72'));let _0x179596;if('removeTableRow'==_0x962938){const _0x133962=_0x6e247d[_0x646e('0x59')](_0x1352e8);_0x179596={'startRow':_0x133962['first'],'endRow':_0x133962['last'],'includeAllSlots':!0x0};}else{const _0x4fa2f3=_0x6e247d['getColumnIndexes'](_0x1352e8);_0x179596={'startColumn':_0x4fa2f3[_0x646e('0x5')],'endColumn':_0x4fa2f3[_0x646e('0x37')],'includeAllSlots':!0x0};}const _0x4ca98c=_0x6e247d['createTableWalker'](_0x39156f,_0x179596),_0x4bf9fd=Array['from'](_0x4ca98c)[_0x646e('0x62')](({cell:_0x3e2659})=>_0x3e2659),_0x3e9ff5=se(_0x4bf9fd[_0x646e('0x26')](_0x46ec53=>_0x46ec53[_0x646e('0x2c')](_0x2f6333))),_0x5af961=se(_0x4bf9fd[_0x646e('0x26')](_0x3d4751=>!_0x3d4751['hasAttribute'](_0x2f6333)))[_0x646e('0x62')](_0x2b1ae4=>_0x15b181['createRangeOn'](_0x2b1ae4)),_0x4a7a14=_0x32539e['markMultiRangeDeletion'](_0x5af961,_0x18fe83);if(_0x4a7a14&&(_0x646e('0x3e')==_0x4a7a14[_0x646e('0x7a')]||_0x646e('0x53')==_0x4a7a14[_0x646e('0x7a')])){const _0x3be8f5=this['_getSuggestionCoords'](_0x4a7a14);for(const _0x51888e of _0x3e9ff5){const _0x1062fc=_0x15b181['createRangeOn'](_0x51888e),_0x501021=_0x6e247d[_0x646e('0x34')](_0x51888e),_0x22fd24=_0x51888e[_0x646e('0x6a')](_0x2f6333)-0x1,_0x40e067=_0x3be8f5[_0x3ad6b0],_0x44ab7c=_0x3be8f5[_0x19ddfc];_0x40e067<=_0x501021[_0x4217a0]&&_0x501021[_0x4217a0]+_0x22fd24<=_0x44ab7c&&_0x4a7a14[_0x646e('0x71')](_0x1062fc);}}});});}function _0x306fc2(_0x127c3b){const _0x1936f0=Array[_0x646e('0x5e')](_0x1d9967[_0x646e('0xd')]())['map'](_0x4cfd6c=>_0x33d42d['fromRange'](_0x4cfd6c));_0x41ef8e[_0x646e('0x20')][_0x646e('0x33')](_0x2fc946=>{const _0xda198c=_0x2fc946[_0x646e('0x25')];_0x127c3b=_0x127c3b[_0x646e('0x26')](_0x5af086=>_0x646e('0x51')!=_0x5af086[_0x646e('0x47')][_0x646e('0x57')]),_0x2fc946[_0x646e('0x44')](_0x127c3b),_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x646e('0xb'))['refresh'](),_0x41ef8e[_0x646e('0x5c')](_0x646e('0xb'),{'forceDefaultExecution':!0x0}),_0x41ef8e[_0x646e('0x20')][_0x646e('0x48')](()=>{_0x41ef8e[_0x646e('0x20')][_0x646e('0x48')](_0xda198c,_0x30eb71=>{const _0x390a85=_0x1936f0[_0x646e('0x26')](_0x29551=>_0x646e('0x51')!=_0x29551[_0x646e('0x47')][_0x646e('0x57')]);_0x390a85[_0x646e('0x4c')]>0x0&&_0x30eb71[_0x646e('0x44')](_0x390a85);for(const _0x3d60e2 of _0x1936f0)_0x3d60e2[_0x646e('0x39')]();});});});}function _0x330b21(_0x17a6cc){_0x41ef8e['model'][_0x646e('0x33')](_0x21d898=>{const _0x493071=Array[_0x646e('0x5e')](_0x1d9967[_0x646e('0xd')]())[_0x646e('0x62')](_0x46441c=>_0x33d42d[_0x646e('0x49')](_0x46441c)),_0x51ce01=[];for(const _0x54b64c of _0x17a6cc)for(const _0x1dcd7f of _0x54b64c[_0x646e('0x6e')]({'shallow':!0x0}))_0x51ce01['push'](_0x1dcd7f);for(const _0x404278 of _0x51ce01)_0x646e('0x51')!=_0x404278['root']['rootName']&&(_0x21d898['setSelection'](_0x21d898[_0x646e('0x10')](_0x404278,0x0)),_0x41ef8e[_0x646e('0x85')][_0x646e('0x63')](_0x646e('0x69'))[_0x646e('0x14')](),_0x41ef8e[_0x646e('0x5c')](_0x646e('0x69'),{'forceDefaultExecution':!0x0}));const _0x3ff718=_0x493071[_0x646e('0x26')](_0x15d3b3=>_0x646e('0x51')!=_0x15d3b3[_0x646e('0x47')][_0x646e('0x57')]);_0x3ff718[_0x646e('0x4c')]>0x0&&_0x21d898[_0x646e('0x44')](_0x3ff718);for(const _0x5079d5 of _0x493071)_0x5079d5[_0x646e('0x39')]();});}function _0x24aad5(_0x50cf5e,_0x1fbf2a){return _0x1fbf2a['every'](_0x805425=>_0x50cf5e[_0x646e('0x65')](_0x570470=>_0x570470[_0x646e('0x2e')][_0x646e('0xc')](_0x805425[_0x646e('0x4')])||_0x805425['end'][_0x646e('0xc')](_0x570470[_0x646e('0x4')])));}function _0x333dcb(_0x120705,_0x25057e){return _0x120705[_0x646e('0x65')](_0x12fb69=>_0x25057e[_0x646e('0x65')](_0xd6d31a=>_0x12fb69[_0x646e('0x2e')][_0x646e('0x6f')](_0xd6d31a[_0x646e('0x4')])));}_0x41ef8e[_0x646e('0x32')][_0x646e('0x7d')]['on'](_0x646e('0x41'),(_0x36a9a3,_0x15e81e,_0x2e2524)=>{if(!_0x2e2524[_0x646e('0xf')][_0x646e('0x36')])return;const _0x1893c1=_0x15e81e[_0x646e('0x6c')];if(!_0x1893c1)return;const _0xf54494=_0x2e2524['mapper']['toViewElement'](_0x1893c1);function _0x5754c0(_0x17a840){return Array[_0x646e('0x23')](_0x17a840)?_0x17a840:[_0x17a840];}_0xf54494&&'tableCell'===_0x1893c1[_0x646e('0x9')]&&_0x514ead(_0xf54494,_0x2e2524[_0x646e('0x1')],(_0x258be8,_0x190335,_0x3e2392)=>_0x3e2392[_0x646e('0x64')](_0x5754c0(_0x190335[_0x646e('0x61')]),_0x258be8),(_0x3ce99f,_0x107811,_0x592da4)=>_0x592da4[_0x646e('0x66')](_0x5754c0(_0x107811[_0x646e('0x61')]),_0x3ce99f));},{'priority':_0x646e('0x73')}),_0x32539e['_descriptionFactory']['registerDescriptionCallback'](_0x5e42a4=>{if(_0x646e('0x30')!=_0x5e42a4[_0x646e('0x6d')]&&_0x646e('0x74')!=_0x5e42a4[_0x646e('0x6d')])return;const _0x2d9ea4=_0x5e42a4['getContainedElement']();if(null!=_0x2d9ea4&&_0x2d9ea4['is'](_0x646e('0x3f'),_0x646e('0x72'))){if(_0x646e('0x30')==_0x5e42a4['type']){const _0x401782=_0x5e42a4['getItems']()[_0x646e('0x26')](_0x2158bd=>_0x2158bd['is']('$textProxy'))['map'](_0x52588b=>_0x52588b[_0x646e('0x32')]);if(_0x401782[_0x646e('0x4c')])return{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x401782[_0x646e('0x7b')]('\x20')+'\x22'))};}if('deletion'==_0x5e42a4['type']){const _0x4c7787=_0x5e42a4[_0x646e('0x6e')]()[_0x646e('0x26')](_0x39fdaf=>_0x39fdaf['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0x43a5c8=>_0x43a5c8[_0x646e('0x32')]);if(_0x4c7787['length'])return{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x5d'),'\x22'+_0x4c7787[_0x646e('0x7b')]('\x20')+'\x22'))};}}}),_0x32539e[_0x646e('0x4e')]['registerDescriptionCallback'](_0x2e8574=>{if(_0x646e('0x3e')==_0x2e8574['subType']){const _0x481db6=_0x2e8574[_0x646e('0x6e')]()[_0x646e('0x26')](_0x493eb4=>_0x493eb4['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0x454d41=>_0x454d41[_0x646e('0x32')]),_0x9575e9=this[_0x646e('0x2')](_0x2e8574),_0x3f2837=_0x9575e9[_0x646e('0x6')]-_0x9575e9[_0x646e('0x1d')]+0x1;if('insertion'==_0x2e8574[_0x646e('0x6d')])return _0x481db6[_0x646e('0x4c')]?{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,_0x646e('0x11'),[_0x3f2837,'\x22'+_0x481db6[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,'*Insert:*\x20%0',_0x5903dd(_0xcf2789,_0x646e('0x4a'),_0x3f2837))};if('deletion'==_0x2e8574[_0x646e('0x6d')])return _0x481db6[_0x646e('0x4c')]?{'type':'deletion','content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x11'),[_0x3f2837,'\x22'+_0x481db6[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,'*Remove:*\x20%0',_0x5903dd(_0xcf2789,_0x646e('0x4a'),_0x3f2837))};}if(_0x646e('0x53')==_0x2e8574['subType']){const _0x5cc90d=_0x2e8574[_0x646e('0x6e')]()[_0x646e('0x26')](_0x1a7d57=>_0x1a7d57['is'](_0x646e('0x7f')))[_0x646e('0x62')](_0xedba47=>_0xedba47[_0x646e('0x32')]),_0x424e45=this[_0x646e('0x2')](_0x2e8574),_0xb32b20=_0x424e45[_0x646e('0x45')]-_0x424e45['minColumn']+0x1;if(_0x646e('0x30')==_0x2e8574[_0x646e('0x6d')])return _0x5cc90d[_0x646e('0x4c')]?{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xb32b20,'\x22'+_0x5cc90d['join']('\x20')+'\x22']))}:{'type':_0x646e('0x30'),'content':_0x5903dd(_0xcf2789,_0x646e('0x4d'),_0x5903dd(_0xcf2789,_0x646e('0x81'),_0xb32b20))};if('deletion'==_0x2e8574['type'])return _0x5cc90d[_0x646e('0x4c')]?{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x5b'),[_0xb32b20,'\x22'+_0x5cc90d[_0x646e('0x7b')]('\x20')+'\x22']))}:{'type':_0x646e('0x74'),'content':_0x5903dd(_0xcf2789,_0x646e('0x70'),_0x5903dd(_0xcf2789,_0x646e('0x81'),_0xb32b20))};}}),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x30'),_0x646e('0x3e'),_0x646e('0x12'),_0x306fc2),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x74'),'tableRow','accept',_0x306fc2),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')]('insertion',_0x646e('0x53'),'discard',_0x330b21),_0x32539e['_suggestionFactory']['registerCustomCallback'](_0x646e('0x74'),_0x646e('0x53'),_0x646e('0x52'),_0x330b21),_0x32539e['_suggestionFactory'][_0x646e('0x2d')](_0x646e('0x30'),_0x646e('0x53'),_0x646e('0x7b'),_0x24aad5),_0x32539e[_0x646e('0x54')][_0x646e('0x2d')](_0x646e('0x74'),_0x646e('0x53'),'join',_0x24aad5),_0x32539e[_0x646e('0x54')]['registerCustomCallback'](_0x646e('0x30'),'tableRow',_0x646e('0x7b'),_0x333dcb),_0x32539e['_suggestionFactory']['registerCustomCallback'](_0x646e('0x74'),_0x646e('0x3e'),'join',_0x333dcb);}[_0x646e('0x67')](){const _0x2ea380=this['editor'],_0x502a61=_0x2ea380[_0x646e('0x20')][_0x646e('0x38')]['selection'];return(_0xbb6221,_0xa2e050)=>{_0x2ea380[_0x646e('0x20')][_0x646e('0x33')](_0x5ee98e=>{const {commandName:_0x563721,commandParams:_0x430196}=_0xa2e050;let _0xdfa71d=_0xbb6221[0x0][_0x646e('0x2e')][_0x646e('0x19')];_0x430196&&_0x430196[0x0]&&!0x1===_0x430196[0x0][_0x646e('0x75')]&&(_0xdfa71d=_0xbb6221[0x0]['start'][_0x646e('0x2b')]);const _0x7444c6=_0x5ee98e[_0x646e('0x7')](_0xdfa71d);if('$graveyard'==_0x7444c6['root'][_0x646e('0x57')])return;const _0x32c6eb=Array['from'](_0x502a61[_0x646e('0xd')]())[_0x646e('0x62')](_0x43c263=>_0x33d42d[_0x646e('0x49')](_0x43c263));_0x5ee98e[_0x646e('0x44')](_0x7444c6),_0x2ea380[_0x646e('0x85')]['get'](_0x563721)['refresh'](),_0x430196[_0x646e('0xa')]({'forceDefaultExecution':!0x0}),_0x2ea380[_0x646e('0x5c')](_0x563721,..._0x430196);const _0x14a185=_0x32c6eb[_0x646e('0x26')](_0x4f774f=>_0x646e('0x51')!=_0x4f774f['root'][_0x646e('0x57')]);_0x14a185[_0x646e('0x4c')]>0x0&&_0x5ee98e[_0x646e('0x44')](_0x14a185);for(const _0x1c6ee2 of _0x32c6eb)_0x1c6ee2[_0x646e('0x39')]();});};}[_0x646e('0x46')](_0x54ad8f){const _0x34e298=this[_0x646e('0x24')][_0x646e('0x3')]['get'](_0x646e('0x0'));let _0x4b0924=Number[_0x646e('0x3d')],_0x20e277=Number[_0x646e('0x83')],_0x1a3b1f=Number[_0x646e('0x3d')],_0x5a3470=Number[_0x646e('0x83')];for(const _0x190838 of _0x54ad8f){if(_0x646e('0x51')==_0x190838['root'][_0x646e('0x57')])continue;const {row:_0xc79f45,column:_0x5ec409}=_0x34e298[_0x646e('0x34')](_0x190838),_0x2e8726=_0x190838[_0x646e('0x2c')](_0x646e('0x4b'))?_0x190838[_0x646e('0x6a')](_0x646e('0x4b'))-0x1:0x0,_0x13d901=_0x190838['hasAttribute']('colspan')?_0x190838[_0x646e('0x6a')](_0x646e('0x2f'))-0x1:0x0;_0x4b0924=_0xc79f45<_0x4b0924?_0xc79f45:_0x4b0924,_0x20e277=_0xc79f45+_0x2e8726>_0x20e277?_0xc79f45+_0x2e8726:_0x20e277,_0x1a3b1f=_0x5ec409<_0x1a3b1f?_0x5ec409:_0x1a3b1f,_0x5a3470=_0x5ec409+_0x13d901>_0x5a3470?_0x5ec409+_0x13d901:_0x5a3470;}return{'minRow':_0x4b0924,'maxRow':_0x20e277,'minColumn':_0x1a3b1f,'maxColumn':_0x5a3470};}[_0x646e('0x79')](){const _0x5c9518=this[_0x646e('0x24')],_0x2947d3=_0x5c9518['plugins'][_0x646e('0x63')](_0x646e('0x5f')),_0x554509=_0x5c9518[_0x646e('0x3')]['get'](_0x646e('0x0'));_0x5c9518[_0x646e('0x20')][_0x646e('0x38')]['on'](_0x646e('0x27'),()=>{const _0x5f2899=Array[_0x646e('0x5e')](_0x5c9518[_0x646e('0x20')][_0x646e('0x38')]['differ'][_0x646e('0x6b')]());for(const {name:_0x2e0786,data:_0x5f5d93}of _0x5f2899){const {group:_0x44caba,id:_0x587040,subType:_0x1f6805}=_0x2947d3['_splitMarkerName'](_0x2e0786);if('suggestion'!=_0x44caba)continue;if(null!=_0x5f5d93[_0x646e('0x84')])continue;const _0x45fd28=_0x2947d3[_0x646e('0x7c')](_0x587040);this['_tablePostFixingSubtypes'][_0x646e('0x1c')](_0x1f6805)&&this[_0x646e('0x1e')][_0x646e('0x42')](_0x45fd28);}},{'priority':'low'});const _0x5be483=(_0x27ee22,_0x1820d4)=>{let _0x46d90b=!0x1;const _0x5d8ae2=_0x1820d4['createRangeOn'](_0x27ee22),_0x1f6271=_0x27ee22[_0x646e('0x77')](_0x646e('0x72')),_0x25979d=_0x554509[_0x646e('0x34')](_0x27ee22);for(const _0x47b34c of this[_0x646e('0x1e')]){const _0x25e29b=_0x47b34c[_0x646e('0x7a')],_0x262d7b=_0x25e29b[_0x646e('0x3b')](_0x646e('0x29')),_0x2d52fd=_0x25e29b[_0x646e('0x13')](_0x262d7b?0xa:0x5),_0x1ae836=_0x2d52fd['toLowerCase'](),_0x41070a=_0x1ae836[_0x646e('0x13')](0x0,0x3)+_0x646e('0x17'),_0x15009d=_0x646e('0x78')+_0x2d52fd,_0x5b5e8c=_0x646e('0x58')+_0x2d52fd;if(!_0x47b34c[_0x646e('0x8')])continue;if(_0x1f6271!=_0x47b34c[_0x646e('0x2a')]()[_0x646e('0x4')][_0x646e('0x77')](_0x646e('0x72')))continue;if(_0x47b34c[_0x646e('0x1f')](_0x5d8ae2))continue;const _0x111006=_0x27ee22[_0x646e('0x2c')](_0x41070a)?_0x27ee22[_0x646e('0x6a')](_0x41070a)-0x1:0x0,_0x5bab30=this['_getSuggestionCoords'](_0x47b34c),_0x5dd187=_0x5bab30[_0x15009d],_0x43423c=_0x5bab30[_0x5b5e8c];_0x5dd187<=_0x25979d[_0x1ae836]&&_0x25979d[_0x1ae836]+_0x111006<=_0x43423c&&(_0x47b34c[_0x646e('0x71')](_0x5d8ae2),_0x46d90b=!0x0);}return _0x46d90b;};_0x5c9518[_0x646e('0x20')][_0x646e('0x38')][_0x646e('0x80')](_0x572bad=>{let _0x5dd9f6=!0x1;for(const _0x5ca8bc of _0x5c9518['model'][_0x646e('0x38')]['differ']['getChanges']())if(_0x646e('0x35')==_0x5ca8bc['type']){if('tableRow'==_0x5ca8bc[_0x646e('0x9')])for(const _0x3698b0 of _0x5ca8bc['position'][_0x646e('0x2b')][_0x646e('0x1a')]())_0x5dd9f6=_0x5dd9f6||_0x5be483(_0x3698b0,_0x572bad);else _0x646e('0x68')==_0x5ca8bc[_0x646e('0x9')]&&(_0x5dd9f6=_0x5dd9f6||_0x5be483(_0x5ca8bc[_0x646e('0x4f')][_0x646e('0x2b')],_0x572bad));}return _0x5dd9f6;});}[_0x646e('0x2')](_0x5cec41){return this[_0x646e('0x46')](_0x5cec41[_0x646e('0xd')]()[_0x646e('0x62')](_0x4f301d=>_0x4f301d['start'][_0x646e('0x2b')]));}}function se(_0x1d1933){return Array[_0x646e('0x5e')](new Set(_0x1d1933)[_0x646e('0x31')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e1f=['get','has','afterInit','requires','editor','enableCommand','plugins'];(function(_0x5ce857,_0x3e1f88){const _0x356f2a=function(_0xc27dde){while(--_0xc27dde){_0x5ce857['push'](_0x5ce857['shift']());}};_0x356f2a(++_0x3e1f88);}(_0x3e1f,0x1ea));const _0x356f=function(_0x5ce857,_0x3e1f88){_0x5ce857=_0x5ce857-0x0;let _0x356f2a=_0x3e1f[_0x5ce857];return _0x356f2a;};import{Plugin as _0x502b6d}from'ckeditor5/src/core';import _0x37464c from'./table';export default class At extends _0x502b6d{static get[_0x356f('0x3')](){return[_0x37464c];}[_0x356f('0x2')](){const _0x1cb7a9=this[_0x356f('0x4')];if(!_0x1cb7a9[_0x356f('0x6')][_0x356f('0x1')]('TableCaptionEditing'))return;_0x1cb7a9['plugins'][_0x356f('0x0')]('TrackChangesEditing')[_0x356f('0x5')]('toggleTableCaption');}}
23
+ const _0x5572=['TrackChangesEditing','requires','has','toggleTableCaption','afterInit','editor'];(function(_0x3207e7,_0x557209){const _0x37a6f7=function(_0x438b6a){while(--_0x438b6a){_0x3207e7['push'](_0x3207e7['shift']());}};_0x37a6f7(++_0x557209);}(_0x5572,0x136));const _0x37a6=function(_0x3207e7,_0x557209){_0x3207e7=_0x3207e7-0x0;let _0x37a6f7=_0x5572[_0x3207e7];return _0x37a6f7;};import{Plugin as _0x53f3d8}from'ckeditor5/src/core';import _0x521cf2 from'./table';export default class At extends _0x53f3d8{static get[_0x37a6('0x3')](){return[_0x521cf2];}[_0x37a6('0x0')](){const _0x11c780=this[_0x37a6('0x1')];if(!_0x11c780['plugins'][_0x37a6('0x4')]('TableCaptionEditing'))return;_0x11c780['plugins']['get'](_0x37a6('0x2'))['enableCommand'](_0x37a6('0x5'));}}