@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230727.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd894=['get','getListTypeFromListStyleType','_getTranslationKeyForListStyle','enableCommand','from','*Format:*\x20set\x20start\x20index\x20to\x20%0','listStyle','startIndex','document','_getSuggestionBlocksForListStyle','handleListStyleCommand','registerDescriptionCallback','flat','numbered','forward','unshift','_getSuggestionBlocks','afterInit','filter','getAttribute','element','TrackChangesEditing','ListPropertiesEditing','listReversed','getSiblingNodes','styles','commandName','toUpperCase','config','getSelectedBlocks','*Change\x20to:*\x20%0','listItem','bind','createRange','getFirstPosition','listType','handleListStartCommand','backward','before','format','replace','change','markMultiRangeBlockFormat','reversed','ListUtils','model','ELEMENT_','selection','commandParams','createPositionAt','length','_descriptionFactory','handleDescriptions','editor','handleListReversedCommand','*Format:*\x20set\x20order\x20to\x20regular','map','push','listStart','type','plugins'];(function(_0x459c40,_0xd894ce){const _0x2d43fb=function(_0x1b3b2c){while(--_0x1b3b2c){_0x459c40['push'](_0x459c40['shift']());}};_0x2d43fb(++_0xd894ce);}(_0xd894,0x76));const _0x2d43=function(_0x459c40,_0xd894ce){_0x459c40=_0x459c40-0x0;let _0x2d43fb=_0xd894[_0x459c40];return _0x2d43fb;};import{Plugin as _0x2dc2f0}from'ckeditor5/src/core';import{getTranslation as _0x909fea}from'../utils/common-translations';export default class nt extends _0x2dc2f0{[_0x2d43('0x15')](){if(!this[_0x2d43('0x39')][_0x2d43('0x3')]['has'](_0x2d43('0x1a')))return;const _0x5dec17=this[_0x2d43('0x39')][_0x2d43('0x20')][_0x2d43('0x4')]('list.properties'),_0x4f5dbc=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19'));_0x5dec17[_0x2d43('0x1d')]&&_0x4f5dbc['enableCommand'](_0x2d43('0xa'),this['handleListStyleCommand'][_0x2d43('0x24')](this)),_0x5dec17[_0x2d43('0x2f')]&&_0x4f5dbc[_0x2d43('0x7')](_0x2d43('0x1b'),this[_0x2d43('0x3a')][_0x2d43('0x24')](this)),_0x5dec17[_0x2d43('0xb')]&&_0x4f5dbc[_0x2d43('0x7')](_0x2d43('0x1'),this[_0x2d43('0x28')][_0x2d43('0x24')](this)),_0x4f5dbc[_0x2d43('0x37')][_0x2d43('0xf')](this['handleDescriptions'][_0x2d43('0x24')](this));}[_0x2d43('0xe')](_0x2b977d,_0x50d54e={}){const _0x58d6d2=this['editor'][_0x2d43('0x3')]['get'](_0x2d43('0x19')),_0x593d64=this[_0x2d43('0xd')]();this[_0x2d43('0x39')]['model']['change'](()=>{_0x58d6d2[_0x2d43('0x2e')](_0x593d64,{'commandName':'listStyle','commandParams':[{'type':_0x50d54e[_0x2d43('0x2')]}],'formatGroupId':_0x2d43('0xa')});});}[_0x2d43('0x3a')](_0x2b2789,_0x3b52e2={}){const _0xa28f39=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19')),_0x5a8b61=this['_getSuggestionBlocks'](_0x54918a=>_0x54918a['is'](_0x2d43('0x18'),_0x2d43('0x23'))&&_0x2d43('0x11')===_0x54918a[_0x2d43('0x17')](_0x2d43('0x27')));if(_0x5a8b61['length']<0x1)return;const _0x19fe10=_0x5a8b61[_0x2d43('0x3c')](_0x1d994d=>this['editor'][_0x2d43('0x31')][_0x2d43('0x25')](this['editor'][_0x2d43('0x31')]['createPositionAt'](_0x1d994d,'before'),this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x1d994d,0x0)));this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x2d')](()=>{_0xa28f39[_0x2d43('0x2e')](_0x19fe10,{'commandName':_0x2d43('0x1b'),'commandParams':[{'reversed':_0x3b52e2[_0x2d43('0x2f')]}],'formatGroupId':_0x2d43('0x1b')});});}[_0x2d43('0x28')](_0x456284,_0x42c80b={}){const _0x50d6b4=this[_0x2d43('0x39')][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x19')),_0x3ef03a=this[_0x2d43('0x14')](_0x4fe575=>_0x4fe575['is'](_0x2d43('0x18'),_0x2d43('0x23'))&&_0x2d43('0x11')===_0x4fe575[_0x2d43('0x17')](_0x2d43('0x27')));if(_0x3ef03a[_0x2d43('0x36')]<0x1)return;const _0xee6d22=_0x3ef03a[_0x2d43('0x3c')](_0x4d140e=>this['editor'][_0x2d43('0x31')]['createRange'](this['editor']['model']['createPositionAt'](_0x4d140e,_0x2d43('0x2a')),this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x4d140e,0x0)));this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x2d')](()=>{_0x50d6b4['markMultiRangeBlockFormat'](_0xee6d22,{'commandName':_0x2d43('0x1'),'commandParams':[{'startIndex':_0x42c80b[_0x2d43('0xb')]}],'formatGroupId':_0x2d43('0x1')});});}[_0x2d43('0x38')](_0xd9b89a){const _0x4dca9f=this['editor']['locale'],{data:_0x1836de}=_0xd9b89a;if(!_0x1836de)return;let _0xa0973a,_0x178e93;switch(_0x1836de[_0x2d43('0x1e')]){case _0x2d43('0xa'):_0xa0973a=_0x2d43('0x22'),_0x178e93={'type':'format','content':_0x909fea(_0x4dca9f,_0xa0973a,_0x909fea(_0x4dca9f,this[_0x2d43('0x6')](_0x1836de[_0x2d43('0x34')][0x0]['type'])))};break;case _0x2d43('0x1b'):_0xa0973a=_0x1836de[_0x2d43('0x34')][0x0][_0x2d43('0x2f')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x2d43('0x3b'),_0x178e93={'type':'format','content':_0x909fea(_0x4dca9f,_0xa0973a)};break;case'listStart':_0xa0973a=_0x2d43('0x9'),_0x178e93={'type':_0x2d43('0x2b'),'content':_0x909fea(_0x4dca9f,_0xa0973a,_0x1836de[_0x2d43('0x34')][0x0][_0x2d43('0xb')])};}return _0x178e93;}[_0x2d43('0xd')](){var _0x5711a5,_0x33e1bf,_0x46bf85,_0x5cc86b;const _0x2e07b2=this['editor'][_0x2d43('0x3')][_0x2d43('0x4')](_0x2d43('0x30'));let _0x189827=Array[_0x2d43('0x8')](this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')][_0x2d43('0x21')]());return(null===(_0x5711a5=_0x189827[0x0])||void 0x0===_0x5711a5?void 0x0:_0x5711a5['is'](_0x2d43('0x18'),_0x2d43('0x23')))&&_0x189827[_0x2d43('0x13')](..._0x2e07b2[_0x2d43('0x1c')](this[_0x2d43('0x39')][_0x2d43('0x31')]['document'][_0x2d43('0x33')]['getFirstPosition'](),_0x2d43('0x29'))),(null===(_0x33e1bf=_0x189827[_0x189827[_0x2d43('0x36')]-0x1])||void 0x0===_0x33e1bf?void 0x0:_0x33e1bf['is'](_0x2d43('0x18'),_0x2d43('0x23')))&&_0x189827[_0x2d43('0x0')](..._0x2e07b2[_0x2d43('0x1c')](this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')]['getLastPosition'](),'forward')),_0x189827=[...new Set(_0x189827)],(null===(_0x5cc86b=null===(_0x46bf85=this['editor'][_0x2d43('0x31')][_0x2d43('0xc')][_0x2d43('0x33')][_0x2d43('0x26')]())||void 0x0===_0x46bf85?void 0x0:_0x46bf85['parent'])||void 0x0===_0x5cc86b?void 0x0:_0x5cc86b['is']('element',_0x2d43('0x23')))&&(_0x189827=_0x189827[_0x2d43('0x16')](_0x483f47=>_0x483f47['is'](_0x2d43('0x18'),_0x2d43('0x23')))),_0x189827;}[_0x2d43('0x14')](_0x480f3b){const _0xbda39b=this[_0x2d43('0x39')]['plugins'][_0x2d43('0x4')](_0x2d43('0x30'));let _0x1f4270=Array[_0x2d43('0x8')](this[_0x2d43('0x39')]['model']['document'][_0x2d43('0x33')]['getSelectedBlocks']())[_0x2d43('0x16')](_0x480f3b)[_0x2d43('0x3c')](_0x23f463=>{const _0x1c888e=this[_0x2d43('0x39')][_0x2d43('0x31')][_0x2d43('0x35')](_0x23f463,0x0);return[..._0xbda39b[_0x2d43('0x1c')](_0x1c888e,_0x2d43('0x29')),..._0xbda39b['getSiblingNodes'](_0x1c888e,_0x2d43('0x12'))];})[_0x2d43('0x10')]();return _0x1f4270=[...new Set(_0x1f4270)],_0x1f4270;}['_getTranslationKeyForListStyle'](_0x108c80){return _0x2d43('0x32')+this['editor'][_0x2d43('0x3')][_0x2d43('0x4')]('ListUtils')[_0x2d43('0x5')](_0x108c80)[_0x2d43('0x1f')]()+'_LIST_'+_0x108c80['toUpperCase']()[_0x2d43('0x2c')](/-/g,'_');}}
23
+ const _0x17ec=['numbered','format','list.properties','createPositionAt','unshift','getSiblingNodes','_getTranslationKeyForListStyle','getListTypeFromListStyleType','_getSuggestionBlocks','model','before','map','ELEMENT_','listStyle','editor','toUpperCase','parent','change','element','from','locale','document','plugins','forward','get','listItem','afterInit','listReversed','*Format:*\x20set\x20order\x20to\x20regular','filter','getFirstPosition','listStart','has','handleListReversedCommand','bind','listType','type','handleDescriptions','*Format:*\x20set\x20order\x20to\x20reversed','startIndex','push','config','enableCommand','_getSuggestionBlocksForListStyle','_LIST_','*Format:*\x20set\x20start\x20index\x20to\x20%0','styles','ListPropertiesEditing','commandParams','backward','getSelectedBlocks','length','_descriptionFactory','createRange','handleListStartCommand','reversed','selection','TrackChangesEditing','handleListStyleCommand','getAttribute','registerDescriptionCallback','ListUtils','markMultiRangeBlockFormat','getLastPosition'];(function(_0x114b3d,_0x17eca9){const _0x22a34a=function(_0x3012b4){while(--_0x3012b4){_0x114b3d['push'](_0x114b3d['shift']());}};_0x22a34a(++_0x17eca9);}(_0x17ec,0xac));const _0x22a3=function(_0x114b3d,_0x17eca9){_0x114b3d=_0x114b3d-0x0;let _0x22a34a=_0x17ec[_0x114b3d];return _0x22a34a;};import{Plugin as _0x1b2c28}from'ckeditor5/src/core';import{getTranslation as _0x5e9426}from'../utils/common-translations';export default class nt extends _0x1b2c28{[_0x22a3('0x2e')](){if(!this[_0x22a3('0x22')]['plugins'][_0x22a3('0x34')](_0x22a3('0x3')))return;const _0x575d2c=this[_0x22a3('0x22')][_0x22a3('0x3d')]['get'](_0x22a3('0x16')),_0x45818d=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0xd'));_0x575d2c[_0x22a3('0x2')]&&_0x45818d[_0x22a3('0x3e')]('listStyle',this[_0x22a3('0xe')][_0x22a3('0x36')](this)),_0x575d2c[_0x22a3('0xb')]&&_0x45818d[_0x22a3('0x3e')](_0x22a3('0x2f'),this[_0x22a3('0x35')]['bind'](this)),_0x575d2c[_0x22a3('0x3b')]&&_0x45818d[_0x22a3('0x3e')](_0x22a3('0x33'),this[_0x22a3('0xa')][_0x22a3('0x36')](this)),_0x45818d[_0x22a3('0x8')][_0x22a3('0x10')](this['handleDescriptions']['bind'](this));}[_0x22a3('0xe')](_0xf236a3,_0x4648ff={}){const _0x4da9ff=this[_0x22a3('0x22')][_0x22a3('0x2a')][_0x22a3('0x2c')]('TrackChangesEditing'),_0x26fc43=this[_0x22a3('0x3f')]();this[_0x22a3('0x22')]['model'][_0x22a3('0x25')](()=>{_0x4da9ff[_0x22a3('0x12')](_0x26fc43,{'commandName':'listStyle','commandParams':[{'type':_0x4648ff[_0x22a3('0x38')]}],'formatGroupId':_0x22a3('0x21')});});}['handleListReversedCommand'](_0x89b829,_0x6413df={}){const _0x2c59cf=this['editor'][_0x22a3('0x2a')]['get']('TrackChangesEditing'),_0x5eed7f=this[_0x22a3('0x1c')](_0x3dcfd3=>_0x3dcfd3['is'](_0x22a3('0x26'),_0x22a3('0x2d'))&&_0x22a3('0x14')===_0x3dcfd3['getAttribute'](_0x22a3('0x37')));if(_0x5eed7f['length']<0x1)return;const _0x219b5b=_0x5eed7f['map'](_0x521563=>this[_0x22a3('0x22')]['model']['createRange'](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x521563,_0x22a3('0x1e')),this['editor'][_0x22a3('0x1d')][_0x22a3('0x17')](_0x521563,0x0)));this['editor'][_0x22a3('0x1d')][_0x22a3('0x25')](()=>{_0x2c59cf[_0x22a3('0x12')](_0x219b5b,{'commandName':_0x22a3('0x2f'),'commandParams':[{'reversed':_0x6413df['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x27636a,_0x3a6875={}){const _0xee5d56=this['editor'][_0x22a3('0x2a')][_0x22a3('0x2c')](_0x22a3('0xd')),_0x524078=this['_getSuggestionBlocks'](_0x2fe5c0=>_0x2fe5c0['is'](_0x22a3('0x26'),'listItem')&&_0x22a3('0x14')===_0x2fe5c0[_0x22a3('0xf')](_0x22a3('0x37')));if(_0x524078[_0x22a3('0x7')]<0x1)return;const _0x311819=_0x524078[_0x22a3('0x1f')](_0x6aa41=>this[_0x22a3('0x22')]['model'][_0x22a3('0x9')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x6aa41,'before'),this['editor'][_0x22a3('0x1d')][_0x22a3('0x17')](_0x6aa41,0x0)));this[_0x22a3('0x22')][_0x22a3('0x1d')]['change'](()=>{_0xee5d56[_0x22a3('0x12')](_0x311819,{'commandName':_0x22a3('0x33'),'commandParams':[{'startIndex':_0x3a6875[_0x22a3('0x3b')]}],'formatGroupId':'listStart'});});}[_0x22a3('0x39')](_0xbe6944){const _0x629ab6=this[_0x22a3('0x22')][_0x22a3('0x28')],{data:_0x4e13f9}=_0xbe6944;if(!_0x4e13f9)return;let _0xd2adc1,_0x574a62;switch(_0x4e13f9['commandName']){case _0x22a3('0x21'):_0xd2adc1='*Change\x20to:*\x20%0',_0x574a62={'type':'format','content':_0x5e9426(_0x629ab6,_0xd2adc1,_0x5e9426(_0x629ab6,this['_getTranslationKeyForListStyle'](_0x4e13f9['commandParams'][0x0][_0x22a3('0x38')])))};break;case _0x22a3('0x2f'):_0xd2adc1=_0x4e13f9[_0x22a3('0x4')][0x0][_0x22a3('0xb')]?_0x22a3('0x3a'):_0x22a3('0x30'),_0x574a62={'type':_0x22a3('0x15'),'content':_0x5e9426(_0x629ab6,_0xd2adc1)};break;case _0x22a3('0x33'):_0xd2adc1=_0x22a3('0x1'),_0x574a62={'type':_0x22a3('0x15'),'content':_0x5e9426(_0x629ab6,_0xd2adc1,_0x4e13f9[_0x22a3('0x4')][0x0]['startIndex'])};}return _0x574a62;}['_getSuggestionBlocksForListStyle'](){var _0x50c14c,_0x450389,_0x1a2e5a,_0x48b40c;const _0x1db8c0=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0x11'));let _0x30b4cf=Array['from'](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')][_0x22a3('0xc')][_0x22a3('0x6')]());return(null===(_0x50c14c=_0x30b4cf[0x0])||void 0x0===_0x50c14c?void 0x0:_0x50c14c['is'](_0x22a3('0x26'),_0x22a3('0x2d')))&&_0x30b4cf[_0x22a3('0x18')](..._0x1db8c0['getSiblingNodes'](this[_0x22a3('0x22')][_0x22a3('0x1d')]['document'][_0x22a3('0xc')][_0x22a3('0x32')](),'backward')),(null===(_0x450389=_0x30b4cf[_0x30b4cf[_0x22a3('0x7')]-0x1])||void 0x0===_0x450389?void 0x0:_0x450389['is']('element',_0x22a3('0x2d')))&&_0x30b4cf[_0x22a3('0x3c')](..._0x1db8c0[_0x22a3('0x19')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')]['selection'][_0x22a3('0x13')](),_0x22a3('0x2b'))),_0x30b4cf=[...new Set(_0x30b4cf)],(null===(_0x48b40c=null===(_0x1a2e5a=this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')][_0x22a3('0xc')][_0x22a3('0x32')]())||void 0x0===_0x1a2e5a?void 0x0:_0x1a2e5a[_0x22a3('0x24')])||void 0x0===_0x48b40c?void 0x0:_0x48b40c['is'](_0x22a3('0x26'),'listItem'))&&(_0x30b4cf=_0x30b4cf[_0x22a3('0x31')](_0x33e65a=>_0x33e65a['is']('element','listItem'))),_0x30b4cf;}[_0x22a3('0x1c')](_0x5cf7a7){const _0x501d29=this[_0x22a3('0x22')]['plugins'][_0x22a3('0x2c')](_0x22a3('0x11'));let _0xfea0d6=Array[_0x22a3('0x27')](this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x29')]['selection']['getSelectedBlocks']())['filter'](_0x5cf7a7)[_0x22a3('0x1f')](_0x161a47=>{const _0x2cb7f4=this[_0x22a3('0x22')][_0x22a3('0x1d')][_0x22a3('0x17')](_0x161a47,0x0);return[..._0x501d29[_0x22a3('0x19')](_0x2cb7f4,_0x22a3('0x5')),..._0x501d29[_0x22a3('0x19')](_0x2cb7f4,_0x22a3('0x2b'))];})['flat']();return _0xfea0d6=[...new Set(_0xfea0d6)],_0xfea0d6;}[_0x22a3('0x1a')](_0x22c3b3){return _0x22a3('0x20')+this[_0x22a3('0x22')][_0x22a3('0x2a')][_0x22a3('0x2c')](_0x22a3('0x11'))[_0x22a3('0x1b')](_0x22c3b3)[_0x22a3('0x23')]()+_0x22a3('0x0')+_0x22c3b3[_0x22a3('0x23')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1db2=['registerElementLabel','has','locale','media','plugins','downcastDispatcher','get','conversion','attribute:url:media','elementToElement','dataDowncast','MediaEmbedEditing','ELEMENT_MEDIA','mediaEmbed','TrackChangesEditing','data','high','_descriptionFactory','showSuggestionHighlights'];(function(_0x12b6b8,_0x1db2ac){const _0x302af7=function(_0x1d9f69){while(--_0x1d9f69){_0x12b6b8['push'](_0x12b6b8['shift']());}};_0x302af7(++_0x1db2ac);}(_0x1db2,0x68));const _0x302a=function(_0x12b6b8,_0x1db2ac){_0x12b6b8=_0x12b6b8-0x0;let _0x302af7=_0x1db2[_0x12b6b8];return _0x302af7;};import{Plugin as _0x4b95ba}from'ckeditor5/src/core';import{getTranslation as _0x38b60b}from'../utils/common-translations';export default class ot extends _0x4b95ba{['afterInit'](){const _0x39ccc9=this['editor'];if(!_0x39ccc9['plugins'][_0x302a('0xb')](_0x302a('0x2')))return;const _0x5c0178=_0x39ccc9[_0x302a('0xe')][_0x302a('0x10')](_0x302a('0x5')),_0x5a756b=_0x39ccc9[_0x302a('0xc')];_0x5c0178['enableCommand'](_0x302a('0x4')),_0x5c0178[_0x302a('0x8')][_0x302a('0xa')](_0x302a('0xd'),_0x4f19bb=>_0x38b60b(_0x5a756b,_0x302a('0x3'),_0x4f19bb)),_0x39ccc9[_0x302a('0x11')]['for'](_0x302a('0x1'))[_0x302a('0x0')]({'model':_0x302a('0xd'),'view':(_0x533e7a,{writer:_0x471f5d,options:_0x30759c})=>{if(_0x30759c[_0x302a('0x9')])return _0x471f5d['createEmptyElement']('div');},'converterPriority':_0x302a('0x7')}),_0x39ccc9[_0x302a('0x6')][_0x302a('0xf')]['on'](_0x302a('0x12'),(_0x5616e4,_0x4bc522,_0x51f46c)=>{_0x51f46c['options'][_0x302a('0x9')]&&_0x5616e4['stop']();},{'priority':_0x302a('0x7')});}}
23
+ const _0x5871=['plugins','has','_descriptionFactory','high','options','stop','MediaEmbedEditing','dataDowncast','showSuggestionHighlights','afterInit','elementToElement','div','data','TrackChangesEditing','ELEMENT_MEDIA','for','conversion','media','downcastDispatcher','get','attribute:url:media'];(function(_0x5ae926,_0x587130){const _0x3f185f=function(_0x40bd75){while(--_0x40bd75){_0x5ae926['push'](_0x5ae926['shift']());}};_0x3f185f(++_0x587130);}(_0x5871,0x1e2));const _0x3f18=function(_0x5ae926,_0x587130){_0x5ae926=_0x5ae926-0x0;let _0x3f185f=_0x5871[_0x5ae926];return _0x3f185f;};import{Plugin as _0x11a7a1}from'ckeditor5/src/core';import{getTranslation as _0x416494}from'../utils/common-translations';export default class ot extends _0x11a7a1{[_0x3f18('0xa')](){const _0x18eb09=this['editor'];if(!_0x18eb09[_0x3f18('0x1')][_0x3f18('0x2')](_0x3f18('0x7')))return;const _0x1ee2b6=_0x18eb09['plugins'][_0x3f18('0x14')](_0x3f18('0xe')),_0x5106d3=_0x18eb09['locale'];_0x1ee2b6['enableCommand']('mediaEmbed'),_0x1ee2b6[_0x3f18('0x3')]['registerElementLabel'](_0x3f18('0x12'),_0x281bba=>_0x416494(_0x5106d3,_0x3f18('0xf'),_0x281bba)),_0x18eb09[_0x3f18('0x11')][_0x3f18('0x10')](_0x3f18('0x8'))[_0x3f18('0xb')]({'model':_0x3f18('0x12'),'view':(_0x3495ba,{writer:_0x4ed80d,options:_0x2a30cb})=>{if(_0x2a30cb[_0x3f18('0x9')])return _0x4ed80d['createEmptyElement'](_0x3f18('0xc'));},'converterPriority':'high'}),_0x18eb09[_0x3f18('0xd')][_0x3f18('0x13')]['on'](_0x3f18('0x0'),(_0x3b5d2e,_0x53d8ac,_0x1bdcdb)=>{_0x1bdcdb[_0x3f18('0x5')][_0x3f18('0x9')]&&_0x3b5d2e[_0x3f18('0x6')]();},{'priority':_0x3f18('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c31=['plugins','get','MentionEditing','TrackChangesEditing','has','editor','mention'];(function(_0x3dbc60,_0x1c313c){const _0x38f5ed=function(_0xf66503){while(--_0xf66503){_0x3dbc60['push'](_0x3dbc60['shift']());}};_0x38f5ed(++_0x1c313c);}(_0x1c31,0x167));const _0x38f5=function(_0x3dbc60,_0x1c313c){_0x3dbc60=_0x3dbc60-0x0;let _0x38f5ed=_0x1c31[_0x3dbc60];return _0x38f5ed;};import{Plugin as _0x53c49d}from'ckeditor5/src/core';export default class rt extends _0x53c49d{['afterInit'](){const _0x238752=this[_0x38f5('0x3')];_0x238752[_0x38f5('0x5')][_0x38f5('0x2')](_0x38f5('0x0'))&&_0x238752[_0x38f5('0x5')][_0x38f5('0x6')](_0x38f5('0x1'))['enableCommand'](_0x38f5('0x4'));}}
23
+ const _0x5f2d=['afterInit','editor','plugins','enableCommand','mention','MentionEditing','TrackChangesEditing','get'];(function(_0x2034a2,_0x5f2d32){const _0x367ce9=function(_0xcd9f88){while(--_0xcd9f88){_0x2034a2['push'](_0x2034a2['shift']());}};_0x367ce9(++_0x5f2d32);}(_0x5f2d,0xeb));const _0x367c=function(_0x2034a2,_0x5f2d32){_0x2034a2=_0x2034a2-0x0;let _0x367ce9=_0x5f2d[_0x2034a2];return _0x367ce9;};import{Plugin as _0x314046}from'ckeditor5/src/core';export default class rt extends _0x314046{[_0x367c('0x5')](){const _0x18d56c=this[_0x367c('0x6')];_0x18d56c[_0x367c('0x7')]['has'](_0x367c('0x2'))&&_0x18d56c[_0x367c('0x7')][_0x367c('0x4')](_0x367c('0x3'))[_0x367c('0x0')](_0x367c('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x156f=['pageBreak','locale','afterInit','enableCommand','has','get','registerElementLabel','PageBreakEditing','TrackChangesEditing','plugins','_descriptionFactory','editor'];(function(_0x3f9ddf,_0x156f07){const _0xbd99fa=function(_0x105215){while(--_0x105215){_0x3f9ddf['push'](_0x3f9ddf['shift']());}};_0xbd99fa(++_0x156f07);}(_0x156f,0x16f));const _0xbd99=function(_0x3f9ddf,_0x156f07){_0x3f9ddf=_0x3f9ddf-0x0;let _0xbd99fa=_0x156f[_0x3f9ddf];return _0xbd99fa;};import{Plugin as _0x38caf3}from'ckeditor5/src/core';import{getTranslation as _0x181d23}from'../utils/common-translations';export default class at extends _0x38caf3{[_0xbd99('0x7')](){const _0x4bc5bf=this[_0xbd99('0x4')];if(!_0x4bc5bf[_0xbd99('0x2')][_0xbd99('0x9')](_0xbd99('0x0')))return;_0x4bc5bf['plugins']['get']('TrackChangesEditing')[_0xbd99('0x8')](_0xbd99('0x5'));const _0x43c36d=_0x4bc5bf[_0xbd99('0x2')][_0xbd99('0xa')](_0xbd99('0x1')),_0x11900e=_0x4bc5bf[_0xbd99('0x6')];_0x43c36d[_0xbd99('0x3')][_0xbd99('0xb')](_0xbd99('0x5'),_0x2d7715=>_0x181d23(_0x11900e,'ELEMENT_PAGE_BREAK',_0x2d7715));}}
23
+ const _0x24b3=['PageBreakEditing','TrackChangesEditing','_descriptionFactory','editor','plugins','locale','get','pageBreak','afterInit','registerElementLabel','enableCommand'];(function(_0x2c6cbd,_0x24b373){const _0x44a271=function(_0x2f4d29){while(--_0x2f4d29){_0x2c6cbd['push'](_0x2c6cbd['shift']());}};_0x44a271(++_0x24b373);}(_0x24b3,0x11e));const _0x44a2=function(_0x2c6cbd,_0x24b373){_0x2c6cbd=_0x2c6cbd-0x0;let _0x44a271=_0x24b3[_0x2c6cbd];return _0x44a271;};import{Plugin as _0xbeaa4e}from'ckeditor5/src/core';import{getTranslation as _0x7f984a}from'../utils/common-translations';export default class at extends _0xbeaa4e{[_0x44a2('0x8')](){const _0x503054=this[_0x44a2('0x3')];if(!_0x503054[_0x44a2('0x4')]['has'](_0x44a2('0x0')))return;_0x503054['plugins'][_0x44a2('0x6')](_0x44a2('0x1'))[_0x44a2('0xa')]('pageBreak');const _0x2f534c=_0x503054[_0x44a2('0x4')][_0x44a2('0x6')]('TrackChangesEditing'),_0x5b59c0=_0x503054[_0x44a2('0x5')];_0x2f534c[_0x44a2('0x2')][_0x44a2('0x9')](_0x44a2('0x7'),_0x16997d=>_0x7f984a(_0x5b59c0,'ELEMENT_PAGE_BREAK',_0x16997d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e95=['plugins','editing','model','paragraph','*Insert:*\x20%0','TrackChangesEditing','type','addClass','insertion','createUIElement','get','isTouching','options','data','checkChild','name','locale','markerRange','insert','addMarker:suggestion:insertion','commandName','Paragraph','end','highest','afterInit','parent','getItemLabel','schema','format','getFirstRange','toViewPosition','filter','downcastDispatcher','mapper','start','markerName','activeMarkers','*Change\x20to:*\x20%0','blockName','editor','consume','_descriptionFactory','registerDescriptionCallback','selection','change','isLimit','enableCommand','ck-suggestion-marker-split','from','isBlock','nodeAfter','markBlockFormat','document','consumable','showSuggestionHighlights','writer','insertParagraph'];(function(_0x36938f,_0x5e95c3){const _0x162402=function(_0x5f290d){while(--_0x5f290d){_0x36938f['push'](_0x36938f['shift']());}};_0x162402(++_0x5e95c3);}(_0x5e95,0x149));const _0x1624=function(_0x36938f,_0x5e95c3){_0x36938f=_0x36938f-0x0;let _0x162402=_0x5e95[_0x36938f];return _0x162402;};import{Plugin as _0x15f073}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xd915}from'./utils';import{getTranslation as _0x3febab}from'../utils/common-translations';export default class ct extends _0x15f073{[_0x1624('0x25')](){const _0x258dde=this[_0x1624('0x34')];if(!_0x258dde[_0x1624('0xd')]['has'](_0x1624('0x22')))return;const _0x1278c6=_0x258dde[_0x1624('0x1d')],_0x5bd157=_0x258dde['plugins']['get'](_0x1624('0x12'));_0x5bd157['_descriptionFactory']['registerElementLabel'](_0x1624('0x10'),_0x2414ef=>_0x3febab(_0x1278c6,'ELEMENT_PARAGRAPH',_0x2414ef)),_0x5bd157['enableCommand'](_0x1624('0x10'),(_0x555305,_0x297a6b={})=>{const _0x4643c8=_0x258dde[_0x1624('0xf')][_0x1624('0x8')],_0xe157e3=_0x297a6b[_0x1624('0x38')]||_0x4643c8[_0x1624('0x38')],_0x23d6aa=Array[_0x1624('0x4')](_0xe157e3['getSelectedBlocks']())[_0x1624('0x2c')](_0x2f9066=>function(_0x1b55e1,_0xe2fa23){return _0xe2fa23[_0x1624('0x1b')](_0x1b55e1[_0x1624('0x26')],_0x1624('0x10'))&&!_0xe2fa23['isObject'](_0x1b55e1)&&_0x1624('0x10')!=_0x1b55e1[_0x1624('0x1c')];}(_0x2f9066,this['editor']['model'][_0x1624('0x28')]));_0x258dde[_0x1624('0xf')][_0x1624('0x0')](()=>{for(const _0x3a093b of _0x23d6aa)_0x5bd157[_0x1624('0x7')](_0x3a093b,{'commandName':_0x1624('0x10'),'commandParams':[],'formatGroupId':_0x1624('0x33')},_0xd915(_0x3a093b));});}),_0x5bd157[_0x1624('0x36')][_0x1624('0x37')](_0x432b92=>{const {data:_0x58667d}=_0x432b92;if(_0x58667d&&_0x1624('0x10')==_0x58667d[_0x1624('0x21')])return{'type':_0x1624('0x29'),'content':_0x3febab(_0x1278c6,_0x1624('0x32'),_0x3febab(_0x1278c6,'ELEMENT_PARAGRAPH'))};}),_0x5bd157[_0x1624('0x2')](_0x1624('0xc')),_0x258dde[_0x1624('0xe')]['downcastDispatcher']['on'](_0x1624('0x20'),ar(_0x258dde),{'priority':_0x1624('0x24')}),_0x258dde[_0x1624('0x1a')][_0x1624('0x2d')]['on'](_0x1624('0x20'),(_0x3d7b71,_0x3a5156,_0x464406)=>{_0x464406[_0x1624('0x19')][_0x1624('0xa')]&&ar(_0x258dde,{'showActiveMarker':!0x1})(_0x3d7b71,_0x3a5156,_0x464406);},{'priority':_0x1624('0x24')});const _0x5a9189=_0x5bd157[_0x1624('0x36')];_0x5a9189[_0x1624('0x37')](_0x409791=>{if(_0x1624('0x15')!==_0x409791[_0x1624('0x13')])return;const {start:_0x1fcd71,end:_0x106df5}=_0x409791[_0x1624('0x2a')]();if(!_0x1fcd71[_0x1624('0x18')](_0x106df5)||!_0x1fcd71['nodeAfter'])return;const _0x131d99=_0x258dde[_0x1624('0xf')][_0x1624('0x28')],_0x97366d=_0x1fcd71[_0x1624('0x6')];return _0x131d99[_0x1624('0x5')](_0x97366d)&&!_0x131d99[_0x1624('0x1')](_0x97366d)&&_0x131d99[_0x1624('0x1b')](_0x97366d,'$text')?{'type':_0x1624('0x15'),'content':_0x3febab(_0x1278c6,_0x1624('0x11'),_0x5a9189[_0x1624('0x27')](_0x97366d,0x1))}:void 0x0;});}}function ar(_0x2cbb4f,{showActiveMarker:_0xba4895=!0x0}={}){return(_0x4151a1,_0xe76267,_0x42baf7)=>{const _0x5ea3ff=_0x2cbb4f[_0x1624('0xd')][_0x1624('0x17')](_0x1624('0x12')),_0x4a4893=_0xe76267[_0x1624('0x1e')][_0x1624('0x2f')],_0x94f9bd=_0xe76267[_0x1624('0x1e')][_0x1624('0x23')],_0x5838a0=_0x2cbb4f[_0x1624('0xf')][_0x1624('0x28')];if(!_0x4a4893[_0x1624('0x18')](_0x94f9bd)||!_0x4a4893[_0x1624('0x6')])return;const _0x526f62=_0x4a4893[_0x1624('0x6')];if(_0x5838a0['isBlock'](_0x526f62)&&!_0x5838a0[_0x1624('0x1')](_0x526f62)&&_0x5838a0[_0x1624('0x1b')](_0x526f62,'$text')){if(!_0x42baf7[_0x1624('0x9')][_0x1624('0x35')](_0xe76267['markerRange'],_0x4151a1[_0x1624('0x1c')]))return;const _0x1f0a87=_0x42baf7['writer'][_0x1624('0x16')]('span',{'class':_0x1624('0x3')}),_0xdc0b55=_0x42baf7['mapper'][_0x1624('0x2b')](_0x94f9bd);_0xba4895&&_0x5ea3ff[_0x1624('0x31')]['includes'](_0xe76267[_0x1624('0x30')])&&_0x42baf7[_0x1624('0xb')][_0x1624('0x14')]('ck-suggestion-marker--active',_0x1f0a87),_0x42baf7[_0x1624('0xb')][_0x1624('0x1f')](_0xdc0b55,_0x1f0a87),_0x42baf7[_0x1624('0x2e')]['bindElementToMarker'](_0x1f0a87,_0xe76267[_0x1624('0x30')]);}};}
23
+ const _0x2b90=['enableCommand','model','writer','document','showSuggestionHighlights','createUIElement','checkChild','has','blockName','nodeAfter','get','markerName','_descriptionFactory','mapper','data','editing','insert','type','markerRange','selection','name','schema','TrackChangesEditing','ck-suggestion-marker-split','editor','isTouching','filter','registerElementLabel','format','insertion','downcastDispatcher','isBlock','getItemLabel','toViewPosition','Paragraph','paragraph','isLimit','options','commandName','getSelectedBlocks','markBlockFormat','$text','bindElementToMarker','span','end','activeMarkers','addMarker:suggestion:insertion','registerDescriptionCallback','plugins','ELEMENT_PARAGRAPH','consumable','afterInit','highest','isObject','locale'];(function(_0x212c5b,_0x2b90fb){const _0x2dbf9c=function(_0x12a4d9){while(--_0x12a4d9){_0x212c5b['push'](_0x212c5b['shift']());}};_0x2dbf9c(++_0x2b90fb);}(_0x2b90,0xef));const _0x2dbf=function(_0x212c5b,_0x2b90fb){_0x212c5b=_0x212c5b-0x0;let _0x2dbf9c=_0x2b90[_0x212c5b];return _0x2dbf9c;};import{Plugin as _0x60d2af}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2f0463}from'./utils';import{getTranslation as _0x345186}from'../utils/common-translations';export default class ct extends _0x60d2af{[_0x2dbf('0x20')](){const _0x309985=this[_0x2dbf('0x5')];if(!_0x309985[_0x2dbf('0x1d')][_0x2dbf('0x2b')](_0x2dbf('0xf')))return;const _0x1405e1=_0x309985[_0x2dbf('0x23')],_0x51b6fe=_0x309985[_0x2dbf('0x1d')][_0x2dbf('0x2e')](_0x2dbf('0x3'));_0x51b6fe['_descriptionFactory'][_0x2dbf('0x8')](_0x2dbf('0x10'),_0x139a8c=>_0x345186(_0x1405e1,_0x2dbf('0x1e'),_0x139a8c)),_0x51b6fe[_0x2dbf('0x24')](_0x2dbf('0x10'),(_0xd68f28,_0x16f505={})=>{const _0x54d4da=_0x309985[_0x2dbf('0x25')][_0x2dbf('0x27')],_0x122e87=_0x16f505[_0x2dbf('0x0')]||_0x54d4da[_0x2dbf('0x0')],_0x380985=Array['from'](_0x122e87[_0x2dbf('0x14')]())[_0x2dbf('0x7')](_0x2cf076=>function(_0x4abcd9,_0x205655){return _0x205655[_0x2dbf('0x2a')](_0x4abcd9['parent'],'paragraph')&&!_0x205655[_0x2dbf('0x22')](_0x4abcd9)&&'paragraph'!=_0x4abcd9[_0x2dbf('0x1')];}(_0x2cf076,this['editor'][_0x2dbf('0x25')][_0x2dbf('0x2')]));_0x309985[_0x2dbf('0x25')]['change'](()=>{for(const _0x4619e5 of _0x380985)_0x51b6fe[_0x2dbf('0x15')](_0x4619e5,{'commandName':_0x2dbf('0x10'),'commandParams':[],'formatGroupId':_0x2dbf('0x2c')},_0x2f0463(_0x4619e5));});}),_0x51b6fe[_0x2dbf('0x30')][_0x2dbf('0x1c')](_0x2ce00b=>{const {data:_0x287724}=_0x2ce00b;if(_0x287724&&_0x2dbf('0x10')==_0x287724[_0x2dbf('0x13')])return{'type':_0x2dbf('0x9'),'content':_0x345186(_0x1405e1,'*Change\x20to:*\x20%0',_0x345186(_0x1405e1,_0x2dbf('0x1e')))};}),_0x51b6fe[_0x2dbf('0x24')]('insertParagraph'),_0x309985[_0x2dbf('0x33')]['downcastDispatcher']['on'](_0x2dbf('0x1b'),ar(_0x309985),{'priority':_0x2dbf('0x21')}),_0x309985[_0x2dbf('0x32')][_0x2dbf('0xb')]['on'](_0x2dbf('0x1b'),(_0x193fe7,_0x583a14,_0x3755e5)=>{_0x3755e5[_0x2dbf('0x12')][_0x2dbf('0x28')]&&ar(_0x309985,{'showActiveMarker':!0x1})(_0x193fe7,_0x583a14,_0x3755e5);},{'priority':_0x2dbf('0x21')});const _0x57dbf7=_0x51b6fe['_descriptionFactory'];_0x57dbf7[_0x2dbf('0x1c')](_0x106f1a=>{if(_0x2dbf('0xa')!==_0x106f1a[_0x2dbf('0x35')])return;const {start:_0x475441,end:_0x429db2}=_0x106f1a['getFirstRange']();if(!_0x475441[_0x2dbf('0x6')](_0x429db2)||!_0x475441['nodeAfter'])return;const _0x391115=_0x309985['model']['schema'],_0x152f92=_0x475441[_0x2dbf('0x2d')];return _0x391115[_0x2dbf('0xc')](_0x152f92)&&!_0x391115[_0x2dbf('0x11')](_0x152f92)&&_0x391115['checkChild'](_0x152f92,_0x2dbf('0x16'))?{'type':'insertion','content':_0x345186(_0x1405e1,'*Insert:*\x20%0',_0x57dbf7[_0x2dbf('0xd')](_0x152f92,0x1))}:void 0x0;});}}function ar(_0x15992d,{showActiveMarker:_0x3d6b78=!0x0}={}){return(_0x2a561e,_0x56a6ea,_0x22680d)=>{const _0x1e83f4=_0x15992d[_0x2dbf('0x1d')][_0x2dbf('0x2e')](_0x2dbf('0x3')),_0x20673a=_0x56a6ea[_0x2dbf('0x36')]['start'],_0x1f3337=_0x56a6ea[_0x2dbf('0x36')][_0x2dbf('0x19')],_0x246494=_0x15992d['model'][_0x2dbf('0x2')];if(!_0x20673a['isTouching'](_0x1f3337)||!_0x20673a[_0x2dbf('0x2d')])return;const _0x2074fc=_0x20673a['nodeAfter'];if(_0x246494[_0x2dbf('0xc')](_0x2074fc)&&!_0x246494[_0x2dbf('0x11')](_0x2074fc)&&_0x246494[_0x2dbf('0x2a')](_0x2074fc,_0x2dbf('0x16'))){if(!_0x22680d[_0x2dbf('0x1f')]['consume'](_0x56a6ea[_0x2dbf('0x36')],_0x2a561e[_0x2dbf('0x1')]))return;const _0x608654=_0x22680d[_0x2dbf('0x26')][_0x2dbf('0x29')](_0x2dbf('0x18'),{'class':_0x2dbf('0x4')}),_0x2ee5fa=_0x22680d[_0x2dbf('0x31')][_0x2dbf('0xe')](_0x1f3337);_0x3d6b78&&_0x1e83f4[_0x2dbf('0x1a')]['includes'](_0x56a6ea['markerName'])&&_0x22680d[_0x2dbf('0x26')]['addClass']('ck-suggestion-marker--active',_0x608654),_0x22680d[_0x2dbf('0x26')][_0x2dbf('0x34')](_0x2ee5fa,_0x608654),_0x22680d[_0x2dbf('0x31')][_0x2dbf('0x17')](_0x608654,_0x56a6ea[_0x2dbf('0x2f')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1702=['getItems','has','change','isCollapsed','createRangeOn','commandName','getAttributes','RemoveFormatEditing','editor','selection','TrackChangesEditing','enableCommand','get','getRanges','format','plugins','from','removeFormat','locale','registerDescriptionCallback','afterInit','getAttributeProperties','model','markInlineFormat','_descriptionFactory','*Remove\x20all\x20formatting*'];(function(_0x14d7ac,_0x170293){const _0x3d10a4=function(_0x233614){while(--_0x233614){_0x14d7ac['push'](_0x14d7ac['shift']());}};_0x3d10a4(++_0x170293);}(_0x1702,0x69));const _0x3d10=function(_0x14d7ac,_0x170293){_0x14d7ac=_0x14d7ac-0x0;let _0x3d10a4=_0x1702[_0x14d7ac];return _0x3d10a4;};import{Plugin as _0x2bf92d}from'ckeditor5/src/core';import{getTranslation as _0x4684e0}from'../utils/common-translations';export default class ht extends _0x2bf92d{[_0x3d10('0x13')](){const _0x5919c5=this[_0x3d10('0x7')];if(!_0x5919c5[_0x3d10('0xe')][_0x3d10('0x0')](_0x3d10('0x6')))return;const _0x397486=_0x5919c5[_0x3d10('0xe')][_0x3d10('0xb')](_0x3d10('0x9'));_0x397486[_0x3d10('0xa')]('removeFormat',_0x4a664e=>{const _0x34f28a=_0x5919c5[_0x3d10('0x15')]['document'][_0x3d10('0x8')];_0x34f28a[_0x3d10('0x2')]?_0x4a664e():_0x5919c5[_0x3d10('0x15')][_0x3d10('0x1')](()=>{const _0xecfb27=Array[_0x3d10('0xf')](_0x34f28a[_0x3d10('0xc')]());for(const _0x4725d8 of _0xecfb27)for(const _0x5b6e84 of _0x4725d8[_0x3d10('0x19')]())eo(_0x5b6e84,_0x5919c5[_0x3d10('0x15')]['schema'])&&_0x397486[_0x3d10('0x16')](_0x5919c5['model'][_0x3d10('0x3')](_0x5b6e84),{'commandName':_0x3d10('0x10'),'commandParams':[]});});}),_0x397486[_0x3d10('0x17')][_0x3d10('0x12')](_0x3c7c85=>{const {data:_0xd51894}=_0x3c7c85;if(_0xd51894&&'removeFormat'==_0xd51894[_0x3d10('0x4')])return{'type':_0x3d10('0xd'),'content':_0x4684e0(_0x5919c5[_0x3d10('0x11')],_0x3d10('0x18'))};});}}function eo(_0x5b1d54,_0xed5ca1){for(const [_0x2c5bfa]of _0x5b1d54[_0x3d10('0x5')]()){const _0x4c5b50=_0xed5ca1[_0x3d10('0x14')](_0x2c5bfa);if(_0x4c5b50&&_0x4c5b50['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x5e98=['plugins','markInlineFormat','commandName','RemoveFormatEditing','get','getAttributeProperties','getAttributes','enableCommand','editor','has','TrackChangesEditing','isFormatting','isCollapsed','registerDescriptionCallback','change','from','schema','createRangeOn','removeFormat','document','afterInit','selection','_descriptionFactory','getItems','format','model'];(function(_0x27c304,_0x5e98c6){const _0x7a9968=function(_0x2d49ff){while(--_0x2d49ff){_0x27c304['push'](_0x27c304['shift']());}};_0x7a9968(++_0x5e98c6);}(_0x5e98,0x10b));const _0x7a99=function(_0x27c304,_0x5e98c6){_0x27c304=_0x27c304-0x0;let _0x7a9968=_0x5e98[_0x27c304];return _0x7a9968;};import{Plugin as _0x36aa23}from'ckeditor5/src/core';import{getTranslation as _0x4438fd}from'../utils/common-translations';export default class ht extends _0x36aa23{[_0x7a99('0xd')](){const _0x4ab476=this[_0x7a99('0x1')];if(!_0x4ab476['plugins'][_0x7a99('0x2')](_0x7a99('0x16')))return;const _0x2cb595=_0x4ab476[_0x7a99('0x13')][_0x7a99('0x17')](_0x7a99('0x3'));_0x2cb595[_0x7a99('0x0')](_0x7a99('0xb'),_0x3a0d65=>{const _0x13ce8e=_0x4ab476[_0x7a99('0x12')][_0x7a99('0xc')][_0x7a99('0xe')];_0x13ce8e[_0x7a99('0x5')]?_0x3a0d65():_0x4ab476[_0x7a99('0x12')][_0x7a99('0x7')](()=>{const _0x4b62db=Array[_0x7a99('0x8')](_0x13ce8e['getRanges']());for(const _0xf29c78 of _0x4b62db)for(const _0x37ca50 of _0xf29c78[_0x7a99('0x10')]())eo(_0x37ca50,_0x4ab476[_0x7a99('0x12')][_0x7a99('0x9')])&&_0x2cb595[_0x7a99('0x14')](_0x4ab476[_0x7a99('0x12')][_0x7a99('0xa')](_0x37ca50),{'commandName':'removeFormat','commandParams':[]});});}),_0x2cb595[_0x7a99('0xf')][_0x7a99('0x6')](_0x33ee32=>{const {data:_0x494639}=_0x33ee32;if(_0x494639&&_0x7a99('0xb')==_0x494639[_0x7a99('0x15')])return{'type':_0x7a99('0x11'),'content':_0x4438fd(_0x4ab476['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x30f096,_0x440a7c){for(const [_0x3f14c4]of _0x30f096[_0x7a99('0x19')]()){const _0x812cec=_0x440a7c[_0x7a99('0x18')](_0x3f14c4);if(_0x812cec&&_0x812cec[_0x7a99('0x4')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1816=['enableCommand','TrackChangesEditing','editor','discardSelectedSuggestions','RestrictedEditingModeEditing','discardSuggestion','acceptAllSuggestions','afterInit','acceptSelectedSuggestions','trackChanges','get','discardAllSuggestions','goToNextRestrictedEditingException','plugins','goToPreviousRestrictedEditingException'];(function(_0x1d0c48,_0x181611){const _0x73cd4e=function(_0x49ddf2){while(--_0x49ddf2){_0x1d0c48['push'](_0x1d0c48['shift']());}};_0x73cd4e(++_0x181611);}(_0x1816,0xde));const _0x73cd=function(_0x1d0c48,_0x181611){_0x1d0c48=_0x1d0c48-0x0;let _0x73cd4e=_0x1816[_0x1d0c48];return _0x73cd4e;};import{Plugin as _0x323dbc}from'ckeditor5/src/core';export default class ut extends _0x323dbc{[_0x73cd('0xa')](){const _0x5b6095=this[_0x73cd('0x5')];if(!_0x5b6095[_0x73cd('0x1')]['has'](_0x73cd('0x7')))return;const _0x418bd8=_0x5b6095[_0x73cd('0x1')][_0x73cd('0xd')](_0x73cd('0x4'));_0x418bd8[_0x73cd('0x3')](_0x73cd('0x2')),_0x418bd8[_0x73cd('0x3')](_0x73cd('0x0'));const _0x2339d2=_0x5b6095['plugins'][_0x73cd('0xd')]('RestrictedEditingModeEditing');_0x2339d2['enableCommand'](_0x73cd('0xc')),_0x2339d2[_0x73cd('0x3')]('acceptSuggestion'),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x8')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x9')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0xe')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0xb')),_0x2339d2[_0x73cd('0x3')](_0x73cd('0x6'));}}
23
+ const _0x5787=['trackChanges','goToNextRestrictedEditingException','enableCommand','get','has','TrackChangesEditing','discardAllSuggestions','goToPreviousRestrictedEditingException','discardSuggestion','plugins'];(function(_0x2bbc66,_0x57871f){const _0x1f55e5=function(_0x3c38b9){while(--_0x3c38b9){_0x2bbc66['push'](_0x2bbc66['shift']());}};_0x1f55e5(++_0x57871f);}(_0x5787,0x11b));const _0x1f55=function(_0x2bbc66,_0x57871f){_0x2bbc66=_0x2bbc66-0x0;let _0x1f55e5=_0x5787[_0x2bbc66];return _0x1f55e5;};import{Plugin as _0x1639b2}from'ckeditor5/src/core';export default class ut extends _0x1639b2{['afterInit'](){const _0x159967=this['editor'];if(!_0x159967[_0x1f55('0x6')][_0x1f55('0x1')]('RestrictedEditingModeEditing'))return;const _0x42eb62=_0x159967[_0x1f55('0x6')][_0x1f55('0x0')](_0x1f55('0x2'));_0x42eb62['enableCommand'](_0x1f55('0x4')),_0x42eb62[_0x1f55('0x9')](_0x1f55('0x8'));const _0x20257d=_0x159967[_0x1f55('0x6')]['get']('RestrictedEditingModeEditing');_0x20257d[_0x1f55('0x9')](_0x1f55('0x7')),_0x20257d['enableCommand']('acceptSuggestion'),_0x20257d['enableCommand'](_0x1f55('0x5')),_0x20257d['enableCommand']('acceptAllSuggestions'),_0x20257d[_0x1f55('0x9')](_0x1f55('0x3')),_0x20257d['enableCommand']('acceptSelectedSuggestions'),_0x20257d[_0x1f55('0x9')]('discardSelectedSuggestions');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ddc=['markerName','downcastDispatcher','high','bindElementToMarker','showSuggestionHighlights','span','plugins','addClass','_descriptionFactory','addMarker:suggestion','split','mapper','ck-suggestion-marker-','addMarker:suggestion:deletion','ck-suggestion-marker--active','includes','model','init','writer','ELEMENT_LINE_BREAK','softBreak','shiftEnter','insert','get','merge','enableCommand','data','options','activeMarkers','consumable','test','locale','editing','element','name','createPositionBefore','markerRange','deletion','requires'];(function(_0x32cba0,_0x4ddca2){const _0x52ce17=function(_0x382b76){while(--_0x382b76){_0x32cba0['push'](_0x32cba0['shift']());}};_0x52ce17(++_0x4ddca2);}(_0x4ddc,0x139));const _0x52ce=function(_0x32cba0,_0x4ddca2){_0x32cba0=_0x32cba0-0x0;let _0x52ce17=_0x4ddc[_0x32cba0];return _0x52ce17;};import{Plugin as _0x1b5baf}from'ckeditor5/src/core';import{ShiftEnter as _0x259628}from'ckeditor5/src/enter';import{getTranslation as _0xdc463d}from'../utils/common-translations';export default class ft extends _0x1b5baf{static get[_0x52ce('0x25')](){return[_0x259628];}[_0x52ce('0x10')](){const _0x303321=this['editor'],_0x1a97f1=_0x303321[_0x52ce('0x5')][_0x52ce('0x16')]('TrackChangesEditing');_0x1a97f1[_0x52ce('0x18')](_0x52ce('0x14')),_0x303321['editing'][_0x52ce('0x0')]['on']('addMarker:suggestion:insertion',re(_0x303321),{'priority':_0x52ce('0x1')}),_0x303321[_0x52ce('0x1f')]['downcastDispatcher']['on'](_0x52ce('0xc'),re(_0x303321),{'priority':_0x52ce('0x1')}),_0x303321[_0x52ce('0x19')]['downcastDispatcher']['on'](_0x52ce('0x8'),(_0x428143,_0x5478dd,_0x9545c)=>{_0x9545c[_0x52ce('0x1a')][_0x52ce('0x3')]&&re(_0x303321,{'showActiveMarker':!0x1})(_0x428143,_0x5478dd,_0x9545c);}),_0x1a97f1[_0x52ce('0x7')]['registerElementLabel'](_0x52ce('0x13'),_0x5c0c26=>_0xdc463d(_0x303321[_0x52ce('0x1e')],_0x52ce('0x12'),_0x5c0c26));}}function re(_0x34e2ec,{showActiveMarker:_0x20fa78=!0x0}={}){return(_0x26b1ee,_0x54d437,_0x46bb3a)=>{const _0x84b158=_0x34e2ec[_0x52ce('0x5')][_0x52ce('0x16')]('TrackChangesEditing');if(!_0x46bb3a[_0x52ce('0x1c')][_0x52ce('0x1d')](_0x54d437['markerRange'],_0x26b1ee[_0x52ce('0x21')]))return;const _0x304ac9=_0x34e2ec[_0x52ce('0xf')];for(const _0x2c640b of _0x54d437[_0x52ce('0x23')]['getItems']()){if(!_0x2c640b['is'](_0x52ce('0x20'),_0x52ce('0x13')))continue;const _0x19ed0f=_0x52ce('0x24')==_0x54d437[_0x52ce('0x26')][_0x52ce('0x9')](':')[0x1]?_0x52ce('0x17'):'split',_0x153732=_0x46bb3a[_0x52ce('0x11')]['createUIElement'](_0x52ce('0x4'),{'class':_0x52ce('0xb')+_0x19ed0f}),_0x5ed0ff=_0x46bb3a[_0x52ce('0xa')]['toViewPosition'](_0x304ac9[_0x52ce('0x22')](_0x2c640b));_0x20fa78&&_0x84b158[_0x52ce('0x1b')][_0x52ce('0xe')](_0x54d437[_0x52ce('0x26')])&&_0x46bb3a[_0x52ce('0x11')][_0x52ce('0x6')](_0x52ce('0xd'),_0x153732),_0x46bb3a[_0x52ce('0x11')][_0x52ce('0x15')](_0x5ed0ff,_0x153732),_0x46bb3a[_0x52ce('0xa')][_0x52ce('0x2')](_0x153732,_0x54d437[_0x52ce('0x26')]);}};}
23
+ const _0x5426=['span','addMarker:suggestion:deletion','element','editor','includes','addMarker:suggestion','test','locale','high','getItems','createUIElement','softBreak','TrackChangesEditing','insert','model','options','_descriptionFactory','markerName','consumable','merge','markerRange','ELEMENT_LINE_BREAK','showSuggestionHighlights','createPositionBefore','shiftEnter','get','ck-suggestion-marker--active','ck-suggestion-marker-','downcastDispatcher','plugins','deletion','split','requires','writer','mapper','enableCommand','registerElementLabel'];(function(_0x45b29a,_0x542626){const _0x57ba78=function(_0x314e00){while(--_0x314e00){_0x45b29a['push'](_0x45b29a['shift']());}};_0x57ba78(++_0x542626);}(_0x5426,0x189));const _0x57ba=function(_0x45b29a,_0x542626){_0x45b29a=_0x45b29a-0x0;let _0x57ba78=_0x5426[_0x45b29a];return _0x57ba78;};import{Plugin as _0x3251b6}from'ckeditor5/src/core';import{ShiftEnter as _0x22f7d5}from'ckeditor5/src/enter';import{getTranslation as _0x12fc92}from'../utils/common-translations';export default class ft extends _0x3251b6{static get[_0x57ba('0x9')](){return[_0x22f7d5];}['init'](){const _0x21141b=this[_0x57ba('0x11')],_0x15a1dc=_0x21141b[_0x57ba('0x6')]['get']('TrackChangesEditing');_0x15a1dc[_0x57ba('0xc')](_0x57ba('0x1')),_0x21141b['editing'][_0x57ba('0x5')]['on']('addMarker:suggestion:insertion',re(_0x21141b),{'priority':_0x57ba('0x16')}),_0x21141b['editing']['downcastDispatcher']['on'](_0x57ba('0xf'),re(_0x21141b),{'priority':'high'}),_0x21141b['data']['downcastDispatcher']['on'](_0x57ba('0x13'),(_0x1e99e5,_0x3aa308,_0x1db402)=>{_0x1db402[_0x57ba('0x1d')][_0x57ba('0x24')]&&re(_0x21141b,{'showActiveMarker':!0x1})(_0x1e99e5,_0x3aa308,_0x1db402);}),_0x15a1dc[_0x57ba('0x1e')][_0x57ba('0xd')](_0x57ba('0x19'),_0x567118=>_0x12fc92(_0x21141b[_0x57ba('0x15')],_0x57ba('0x23'),_0x567118));}}function re(_0x209339,{showActiveMarker:_0x3b50ac=!0x0}={}){return(_0x2cec6a,_0x9f4ac8,_0x99b253)=>{const _0x3f58dd=_0x209339[_0x57ba('0x6')][_0x57ba('0x2')](_0x57ba('0x1a'));if(!_0x99b253[_0x57ba('0x20')][_0x57ba('0x14')](_0x9f4ac8[_0x57ba('0x22')],_0x2cec6a['name']))return;const _0x23cb96=_0x209339[_0x57ba('0x1c')];for(const _0xfd1464 of _0x9f4ac8[_0x57ba('0x22')][_0x57ba('0x17')]()){if(!_0xfd1464['is'](_0x57ba('0x10'),_0x57ba('0x19')))continue;const _0x2eb1fb=_0x57ba('0x7')==_0x9f4ac8['markerName'][_0x57ba('0x8')](':')[0x1]?_0x57ba('0x21'):_0x57ba('0x8'),_0x39fe98=_0x99b253[_0x57ba('0xa')][_0x57ba('0x18')](_0x57ba('0xe'),{'class':_0x57ba('0x4')+_0x2eb1fb}),_0x21f8f8=_0x99b253[_0x57ba('0xb')]['toViewPosition'](_0x23cb96[_0x57ba('0x0')](_0xfd1464));_0x3b50ac&&_0x3f58dd['activeMarkers'][_0x57ba('0x12')](_0x9f4ac8[_0x57ba('0x1f')])&&_0x99b253['writer']['addClass'](_0x57ba('0x3'),_0x39fe98),_0x99b253[_0x57ba('0xa')][_0x57ba('0x1b')](_0x21f8f8,_0x39fe98),_0x99b253[_0x57ba('0xb')]['bindElementToMarker'](_0x39fe98,_0x9f4ac8[_0x57ba('0x1f')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa9d3=['has','markInlineFormat','selection','document','commandParams','commandName','commands','forceValue','locale','from','get','change','StandardEditingModeEditing','model','TrackChangesEditing','registerDescriptionCallback','afterInit','FORMAT_RESTRICTED_DISABLED','enableCommand','value','editor','_descriptionFactory','plugins'];(function(_0x5882de,_0xa9d31e){const _0x22b775=function(_0x168aa2){while(--_0x168aa2){_0x5882de['push'](_0x5882de['shift']());}};_0x22b775(++_0xa9d31e);}(_0xa9d3,0x1d8));const _0x22b7=function(_0x5882de,_0xa9d31e){_0x5882de=_0x5882de-0x0;let _0x22b775=_0xa9d3[_0x5882de];return _0x22b775;};import{Plugin as _0x3faba6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x3d693d}from'./utils';import{getTranslation as _0x2d0be3}from'../utils/common-translations';export default class lt extends _0x3faba6{[_0x22b7('0x4')](){const _0x2d7d43=this[_0x22b7('0x8')],_0x5cdc72=_0x2d7d43[_0x22b7('0x1')],_0x2106b7=_0x2d7d43[_0x22b7('0x13')];if(!_0x2d7d43['plugins'][_0x22b7('0xb')](_0x22b7('0x0')))return;const _0x308329=_0x2d7d43[_0x22b7('0xa')][_0x22b7('0x15')](_0x22b7('0x2')),_0x1415ff='restrictedEditingException',_0x10b9dd=_0x2d7d43[_0x22b7('0x11')]['get'](_0x1415ff);_0x308329[_0x22b7('0x6')](_0x1415ff,(_0x23fa9f,_0x140745={})=>{const _0xd30cfb=_0x5cdc72[_0x22b7('0xe')][_0x22b7('0xd')];if(_0xd30cfb['isCollapsed'])return void _0x23fa9f(_0x140745);const _0x351c87=void 0x0!==_0x140745['forceValue']?_0x140745[_0x22b7('0x12')]:!_0x10b9dd[_0x22b7('0x7')];_0x5cdc72[_0x22b7('0x16')](()=>{const _0x5c1505=Array[_0x22b7('0x14')](_0xd30cfb['getRanges']());for(const _0x294526 of _0x5c1505){const _0x354853=_0x351c87?[_0x294526]:_0x3d693d(_0x1415ff,_0x294526,_0x5cdc72);for(const _0x528afa of _0x354853)_0x308329[_0x22b7('0xc')](_0x528afa,{'commandName':_0x1415ff,'commandParams':[{'forceValue':_0x351c87}]});}});}),_0x308329[_0x22b7('0x9')][_0x22b7('0x3')](_0x4445fd=>{const {data:_0x5513c7}=_0x4445fd;if(_0x5513c7&&_0x5513c7[_0x22b7('0x10')]==_0x1415ff)return _0x5513c7[_0x22b7('0xf')][0x0]['forceValue']?{'type':'format','content':_0x2d0be3(_0x2106b7,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2d0be3(_0x2106b7,_0x22b7('0x5'))};});}}
23
+ const _0xb7a4=['enableCommand','afterInit','editor','FORMAT_RESTRICTED_DISABLED','getRanges','TrackChangesEditing','locale','selection','StandardEditingModeEditing','format','markInlineFormat','registerDescriptionCallback','commandName','isCollapsed','commandParams','forceValue','plugins','commands','has','get','_descriptionFactory'];(function(_0x17b506,_0xb7a44b){const _0x476521=function(_0x4fef91){while(--_0x4fef91){_0x17b506['push'](_0x17b506['shift']());}};_0x476521(++_0xb7a44b);}(_0xb7a4,0xc7));const _0x4765=function(_0x17b506,_0xb7a44b){_0x17b506=_0x17b506-0x0;let _0x476521=_0xb7a4[_0x17b506];return _0x476521;};import{Plugin as _0x2d09f3}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x538ef6}from'./utils';import{getTranslation as _0x39d7a4}from'../utils/common-translations';export default class lt extends _0x2d09f3{[_0x4765('0xc')](){const _0x2da560=this[_0x4765('0xd')],_0x8e1146=_0x2da560['model'],_0x358ecd=_0x2da560[_0x4765('0x11')];if(!_0x2da560[_0x4765('0x6')][_0x4765('0x8')](_0x4765('0x13')))return;const _0x1d7a0f=_0x2da560[_0x4765('0x6')][_0x4765('0x9')](_0x4765('0x10')),_0x31efb7='restrictedEditingException',_0x838330=_0x2da560[_0x4765('0x7')][_0x4765('0x9')](_0x31efb7);_0x1d7a0f[_0x4765('0xb')](_0x31efb7,(_0x586493,_0x5305ed={})=>{const _0x28a91c=_0x8e1146['document'][_0x4765('0x12')];if(_0x28a91c[_0x4765('0x3')])return void _0x586493(_0x5305ed);const _0x50c3d9=void 0x0!==_0x5305ed[_0x4765('0x5')]?_0x5305ed['forceValue']:!_0x838330['value'];_0x8e1146['change'](()=>{const _0x12addb=Array['from'](_0x28a91c[_0x4765('0xf')]());for(const _0x1a278d of _0x12addb){const _0x1621ec=_0x50c3d9?[_0x1a278d]:_0x538ef6(_0x31efb7,_0x1a278d,_0x8e1146);for(const _0x59b7f1 of _0x1621ec)_0x1d7a0f[_0x4765('0x0')](_0x59b7f1,{'commandName':_0x31efb7,'commandParams':[{'forceValue':_0x50c3d9}]});}});}),_0x1d7a0f[_0x4765('0xa')][_0x4765('0x1')](_0x2ecf50=>{const {data:_0x3806a0}=_0x2ecf50;if(_0x3806a0&&_0x3806a0[_0x4765('0x2')]==_0x31efb7)return _0x3806a0[_0x4765('0x4')][0x0]['forceValue']?{'type':_0x4765('0x14'),'content':_0x39d7a4(_0x358ecd,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x4765('0x14'),'content':_0x39d7a4(_0x358ecd,_0x4765('0xe'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa014=['format','isBlock','getItems','style','style.definitions','*Remove\x20format:*\x20%0','enableCommand','inline','TrackChangesEditing','model','from','_getStyleDefinition','get','push','commands','plugins','getRanges','style:','every','Style','DataSchema','change','toLowerCase','add','_getRangesWithClasses','name','commandName','document','element','config','enabledStyles','registerDescriptionCallback','find','StyleUtils','normalizeConfig','createRangeOn','forceValue','styleName','block','isCollapsed','has','includes','commandParams'];(function(_0x2addaa,_0xa014d1){const _0x53bbaa=function(_0x86e657){while(--_0x86e657){_0x2addaa['push'](_0x2addaa['shift']());}};_0x53bbaa(++_0xa014d1);}(_0xa014,0x118));const _0x53bb=function(_0x2addaa,_0xa014d1){_0x2addaa=_0x2addaa-0x0;let _0x53bbaa=_0xa014[_0x2addaa];return _0x53bbaa;};import{Plugin as _0x14f493}from'ckeditor5/src/core';import{getTranslation as _0x50908e}from'../utils/common-translations';export default class gt extends _0x14f493{['afterInit'](){const _0x25c88b=this['editor'];if(!_0x25c88b[_0x53bb('0x24')][_0x53bb('0x12')](_0x53bb('0x28')))return;const _0x431a22=_0x25c88b[_0x53bb('0x23')]['get'](_0x53bb('0x18')),_0x48682e=_0x25c88b[_0x53bb('0x24')][_0x53bb('0x21')](_0x53bb('0x1d')),_0x37afe3=_0x25c88b['locale'],_0x333611=_0x25c88b['plugins']['get'](_0x53bb('0x29')),_0x14db47=_0x25c88b[_0x53bb('0x24')][_0x53bb('0x21')](_0x53bb('0xb'))[_0x53bb('0xc')](_0x333611,_0x25c88b[_0x53bb('0x7')][_0x53bb('0x21')](_0x53bb('0x19')));_0x48682e[_0x53bb('0x1b')](_0x53bb('0x18'),(_0x4d2fa6,{styleName:_0x22169f})=>{const _0x15ca1b=_0x25c88b['model'][_0x53bb('0x5')]['selection'],_0x2b7fbc=this['_getStyleDefinition'](_0x22169f,_0x14db47);if(!_0x2b7fbc)return;if(!_0x431a22[_0x53bb('0x8')][_0x53bb('0x13')](_0x22169f))return;if(_0x15ca1b[_0x53bb('0x11')]&&!_0x2b7fbc[_0x53bb('0x16')])return void _0x4d2fa6({'styleName':_0x22169f});const _0x393395=!_0x431a22['value'][_0x53bb('0x13')](_0x2b7fbc[_0x53bb('0x3')]);if(_0x2b7fbc[_0x53bb('0x16')]){const _0x43fdda=function(_0x5ad113,_0x11e539){const _0x36b5af=new Set();for(const _0x111a57 of _0x5ad113){const _0x4a85f7=_0x111a57['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x3e8ace of _0x4a85f7)if(_0x11e539[_0x53bb('0x13')](_0x3e8ace[_0x53bb('0x3')])){_0x36b5af[_0x53bb('0x1')](_0x3e8ace);break;}}return _0x36b5af;}(_0x15ca1b['getSelectedBlocks'](),_0x2b7fbc['modelElements']);_0x25c88b[_0x53bb('0x1e')]['change'](()=>{for(const _0x47662c of _0x43fdda)_0x48682e['markBlockFormat'](_0x47662c,{'commandName':_0x53bb('0x18'),'commandParams':[{'styleName':_0x22169f,'forceValue':_0x393395}],'formatGroupId':_0x53bb('0x26')+_0x22169f});});}else{let _0x2ccab1=Array[_0x53bb('0x1f')](_0x15ca1b[_0x53bb('0x25')]());if(!_0x393395){const _0x3d5c0a=Array[_0x53bb('0x1f')](_0x333611['getDefinitionsForView'](_0x2b7fbc[_0x53bb('0x6')],!0x1))[0x0]['model'],_0x3d71c6=[];for(const _0x23cf0f of _0x2ccab1){const _0x59004c=this[_0x53bb('0x2')](_0x25c88b[_0x53bb('0x1e')],_0x23cf0f,_0x2b7fbc['classes'],_0x3d5c0a);_0x3d71c6[_0x53bb('0x22')](..._0x59004c);}_0x2ccab1=_0x3d71c6;}_0x25c88b[_0x53bb('0x1e')][_0x53bb('0x2a')](()=>{for(const _0x4c0cf9 of _0x2ccab1)_0x48682e['markInlineFormat'](_0x4c0cf9,{'commandName':_0x53bb('0x18'),'commandParams':[{'styleName':_0x22169f,'forceValue':_0x393395}]});});}}),_0x48682e['_descriptionFactory'][_0x53bb('0x9')](_0x2e3a5f=>{const {data:_0x176eb2}=_0x2e3a5f;if(_0x176eb2&&_0x53bb('0x18')===_0x176eb2[_0x53bb('0x4')])return _0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xe')]?{'type':_0x53bb('0x15'),'content':_0x50908e(_0x37afe3,'*Format:*\x20%0',_0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xf')][_0x53bb('0x0')]())}:{'type':_0x53bb('0x15'),'content':_0x50908e(_0x37afe3,_0x53bb('0x1a'),_0x176eb2[_0x53bb('0x14')][0x0][_0x53bb('0xf')][_0x53bb('0x0')]())};});}[_0x53bb('0x20')](_0x428741,_0x4f2dc5){let _0x5d9233=_0x4f2dc5[_0x53bb('0x10')][_0x53bb('0xa')](_0x1703f5=>_0x1703f5[_0x53bb('0x3')]===_0x428741);return _0x5d9233||(_0x5d9233=_0x4f2dc5[_0x53bb('0x1c')][_0x53bb('0xa')](_0x461233=>_0x461233['name']===_0x428741)),_0x5d9233;}['_getRangesWithClasses'](_0xced3e9,_0x151c71,_0x2b658c,_0x10d756){const _0x4a63d4=[];for(const _0x162c99 of _0x151c71[_0x53bb('0x17')]()){const _0x473329=_0x162c99['getAttribute'](_0x10d756);_0x473329&&(_0x2b658c[_0x53bb('0x27')](_0x3c5134=>_0x473329['classes'][_0x53bb('0x13')](_0x3c5134))&&_0x4a63d4[_0x53bb('0x22')](_0xced3e9[_0x53bb('0xd')](_0x162c99)));}return _0x4a63d4;}}
23
+ const _0x5b07=['name','plugins','classes','every','commandParams','element','_getStyleDefinition','normalizeConfig','push','document','_getRangesWithClasses','change','enableCommand','from','isBlock','get','has','modelElements','_descriptionFactory','model','getRanges','enabledStyles','*Format:*\x20%0','StyleUtils','Style','style.definitions','style','format','find','isCollapsed','commandName','selection','styleName','createRangeOn','getItems','markInlineFormat','includes','toLowerCase','getAttribute','locale','style:','commands','block','editor','getAncestors','getDefinitionsForView'];(function(_0x354a45,_0x5b07a5){const _0xc3936a=function(_0x1f2e9f){while(--_0x1f2e9f){_0x354a45['push'](_0x354a45['shift']());}};_0xc3936a(++_0x5b07a5);}(_0x5b07,0x144));const _0xc393=function(_0x354a45,_0x5b07a5){_0x354a45=_0x354a45-0x0;let _0xc3936a=_0x5b07[_0x354a45];return _0xc3936a;};import{Plugin as _0x1962a8}from'ckeditor5/src/core';import{getTranslation as _0x197022}from'../utils/common-translations';export default class gt extends _0x1962a8{['afterInit'](){const _0x599fef=this[_0xc393('0x29')];if(!_0x599fef[_0xc393('0x2d')][_0xc393('0xe')](_0xc393('0x16')))return;const _0x2ec483=_0x599fef[_0xc393('0x27')]['get'](_0xc393('0x18')),_0x18a1b4=_0x599fef[_0xc393('0x2d')]['get']('TrackChangesEditing'),_0x3e874b=_0x599fef[_0xc393('0x25')],_0x11ebf5=_0x599fef[_0xc393('0x2d')][_0xc393('0xd')]('DataSchema'),_0x5793bc=_0x599fef['plugins'][_0xc393('0xd')](_0xc393('0x15'))[_0xc393('0x5')](_0x11ebf5,_0x599fef['config'][_0xc393('0xd')](_0xc393('0x17')));_0x18a1b4[_0xc393('0xa')](_0xc393('0x18'),(_0x2f11db,{styleName:_0x90be39})=>{const _0x2a6554=_0x599fef[_0xc393('0x11')][_0xc393('0x7')][_0xc393('0x1d')],_0x213ac5=this['_getStyleDefinition'](_0x90be39,_0x5793bc);if(!_0x213ac5)return;if(!_0x2ec483[_0xc393('0x13')][_0xc393('0x22')](_0x90be39))return;if(_0x2a6554[_0xc393('0x1b')]&&!_0x213ac5[_0xc393('0xc')])return void _0x2f11db({'styleName':_0x90be39});const _0x3b80ea=!_0x2ec483['value'][_0xc393('0x22')](_0x213ac5[_0xc393('0x2c')]);if(_0x213ac5[_0xc393('0xc')]){const _0x25f950=function(_0x187246,_0x1c1f5a){const _0x9fe045=new Set();for(const _0x53239d of _0x187246){const _0x9c37d5=_0x53239d[_0xc393('0x2a')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2f2920 of _0x9c37d5)if(_0x1c1f5a[_0xc393('0x22')](_0x2f2920[_0xc393('0x2c')])){_0x9fe045['add'](_0x2f2920);break;}}return _0x9fe045;}(_0x2a6554['getSelectedBlocks'](),_0x213ac5[_0xc393('0xf')]);_0x599fef[_0xc393('0x11')]['change'](()=>{for(const _0x5a48c7 of _0x25f950)_0x18a1b4['markBlockFormat'](_0x5a48c7,{'commandName':_0xc393('0x18'),'commandParams':[{'styleName':_0x90be39,'forceValue':_0x3b80ea}],'formatGroupId':_0xc393('0x26')+_0x90be39});});}else{let _0x260fb5=Array[_0xc393('0xb')](_0x2a6554[_0xc393('0x12')]());if(!_0x3b80ea){const _0x1ab971=Array[_0xc393('0xb')](_0x11ebf5[_0xc393('0x2b')](_0x213ac5[_0xc393('0x3')],!0x1))[0x0][_0xc393('0x11')],_0x14669a=[];for(const _0x3a6d6d of _0x260fb5){const _0xc22bf8=this[_0xc393('0x8')](_0x599fef[_0xc393('0x11')],_0x3a6d6d,_0x213ac5[_0xc393('0x0')],_0x1ab971);_0x14669a[_0xc393('0x6')](..._0xc22bf8);}_0x260fb5=_0x14669a;}_0x599fef['model'][_0xc393('0x9')](()=>{for(const _0x618f0b of _0x260fb5)_0x18a1b4[_0xc393('0x21')](_0x618f0b,{'commandName':'style','commandParams':[{'styleName':_0x90be39,'forceValue':_0x3b80ea}]});});}}),_0x18a1b4[_0xc393('0x10')]['registerDescriptionCallback'](_0x16e739=>{const {data:_0x2124fa}=_0x16e739;if(_0x2124fa&&'style'===_0x2124fa[_0xc393('0x1c')])return _0x2124fa[_0xc393('0x2')][0x0]['forceValue']?{'type':_0xc393('0x19'),'content':_0x197022(_0x3e874b,_0xc393('0x14'),_0x2124fa['commandParams'][0x0][_0xc393('0x1e')][_0xc393('0x23')]())}:{'type':_0xc393('0x19'),'content':_0x197022(_0x3e874b,'*Remove\x20format:*\x20%0',_0x2124fa[_0xc393('0x2')][0x0][_0xc393('0x1e')][_0xc393('0x23')]())};});}[_0xc393('0x4')](_0x590e75,_0x310838){let _0x3c60da=_0x310838[_0xc393('0x28')][_0xc393('0x1a')](_0x195aed=>_0x195aed[_0xc393('0x2c')]===_0x590e75);return _0x3c60da||(_0x3c60da=_0x310838['inline'][_0xc393('0x1a')](_0x3bbca5=>_0x3bbca5[_0xc393('0x2c')]===_0x590e75)),_0x3c60da;}[_0xc393('0x8')](_0x2b2d25,_0x4f7631,_0x1534f,_0x41e0eb){const _0x5d4742=[];for(const _0x385951 of _0x4f7631[_0xc393('0x20')]()){const _0x3f5a21=_0x385951[_0xc393('0x24')](_0x41e0eb);_0x3f5a21&&(_0x1534f[_0xc393('0x1')](_0x50dafc=>_0x3f5a21[_0xc393('0x0')][_0xc393('0x22')](_0x50dafc))&&_0x5d4742['push'](_0x2b2d25[_0xc393('0x1f')](_0x385951)));}return _0x5d4742;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2674=['MIN_SAFE_INTEGER','getSuggestion','above','includes','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','add','commands','refresh','end','ELEMENT_TABLE_COLUMN','insert','type','nodeBefore','MAX_SAFE_INTEGER','removeTableRow','substr','isTouching','batch','from','enableCommand','getItems','start','table','rowspan','_getSuggestionCoords','$textProxy','suggestion','push','deletion','min','_tableSuggestions','fromRange','isArray','data','addRange','removeTableColumn','maxRow','createRangeOn','findAncestor','ELEMENT_TABLE_COLUMN_WITH_TEXT','insertTableRowAbove','insertTableColumnRight','getCellLocation','change','isInContent','markMultiRangeInsertion','_suggestionFactory','ELEMENT_TABLE_ROW','_acceptFormatSuggestionCallbackFactory','colspan','position','span','ELEMENT_TABLE','getRowIndexes','detach','model','registerCustomCallback','writer','insertTable','plugins','rootName','some','options','tableRow','_descriptionFactory','toLowerCase','highest','max','discard','getSelectionAffectedTableCells','removeClass','get','first','length','low','tablePaste','getRanges','registerDescriptionCallback','getAttribute','selectTableColumn','registerElementLabel','join','left','nodeAfter','_splitMarkerName','accept','createTableWalker','insertTableColumnLeft','showSuggestionHighlights','insertion','addMarker:suggestion','locale','execute','every','enqueueChange','TrackChangesEditing','insertTableRowBelow','differ','hasAttribute','filter','selectTableRow','*Insert:*\x20%0','document','setSelection','editor','root','minColumn','markMultiRangeDeletion','last','*Remove:*\x20%0','change:data','isIntersectingWithRange','getChangedMarkers','getContainedElement','oldRange','getColumnIndexes','order','_setupColumnsRowsFixing','downcastDispatcher','ELEMENT_TABLE_WITH_TEXT','has','tableColumn','selection','classes','$graveyard','values','_getCoordsForCells','getFirstRange','TableUtils','element','tableCell','_tablePostFixingSubtypes','startsWith','subType','cell','map','name','item'];(function(_0x113c97,_0x2674bf){const _0x512371=function(_0x2d638b){while(--_0x2d638b){_0x113c97['push'](_0x113c97['shift']());}};_0x512371(++_0x2674bf);}(_0x2674,0xac));const _0x5123=function(_0x113c97,_0x2674bf){_0x113c97=_0x113c97-0x0;let _0x512371=_0x2674[_0x113c97];return _0x512371;};import{Plugin as _0x2295f3}from'ckeditor5/src/core';import{LiveRange as _0x22f666}from'ckeditor5/src/engine';import{setHighlightHandling as _0x343e7d}from'ckeditor5/src/widget';import{getTranslation as _0x220379}from'../utils/common-translations';export default class mt extends _0x2295f3{constructor(_0x2129e5){super(_0x2129e5),this[_0x5123('0x63')]=['tableRow',_0x5123('0x59')],this[_0x5123('0x89')]=new Set();}['afterInit'](){const _0x3ed0c7=this['editor'],_0x403d03=_0x3ed0c7['model'][_0x5123('0x46')][_0x5123('0x5a')];if(!_0x3ed0c7['plugins'][_0x5123('0x58')]('TableEditing'))return;const _0x4622ab=_0x3ed0c7[_0x5123('0x3b')],_0x520790=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x55d204=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')]('TableUtils');_0x520790[_0x5123('0x20')][_0x5123('0x30')](_0x5123('0x81'),_0x5298f4=>_0x220379(_0x4622ab,_0x5123('0x14'),_0x5298f4)),this['_setupColumnsRowsFixing'](),_0x520790[_0x5123('0x7e')](_0x5123('0x1a')),_0x520790[_0x5123('0x7e')](_0x5123('0x44')),_0x520790['enableCommand'](_0x5123('0x2f'));for(const _0x1ed319 of[_0x5123('0x8'),_0x5123('0x40')]){const _0x3187a3=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x1ed319);_0x520790[_0x5123('0x7e')](_0x1ed319,_0x461f04=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1051dd=>{_0x461f04();const _0x519e4c=_0x5123('0x6c')===_0x3187a3[_0x5123('0x54')],_0x28feba=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4d268=_0x55d204[_0x5123('0x15')](_0x28feba),_0x2feccb=_0x519e4c?_0x4d268[_0x5123('0x28')]-0x1:_0x4d268[_0x5123('0x4c')]+0x1,_0x5455d9=_0x28feba[0x0][_0x5123('0x6')](_0x5123('0x81')),_0x3c287a=_0x55d204[_0x5123('0x36')](_0x5455d9,{'startRow':_0x2feccb,'endRow':_0x2feccb}),_0x7708d8=Array['from'](_0x3c287a)[_0x5123('0x67')](_0xcdd5f5=>_0x1051dd['createRangeOn'](_0xcdd5f5[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x7708d8,_0x5123('0x1f'));});});}for(const _0x474bde of[_0x5123('0x37'),_0x5123('0x9')]){const _0x50f3a4=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x474bde);_0x520790[_0x5123('0x7e')](_0x474bde,_0x29d525=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x3d7c76=>{_0x29d525();const _0x278978=_0x5123('0x32')===_0x50f3a4[_0x5123('0x54')],_0x26f113=_0x55d204['getSelectionAffectedTableCells'](_0x403d03),_0x168eed=_0x55d204[_0x5123('0x53')](_0x26f113),_0x21d124=_0x278978?_0x168eed[_0x5123('0x28')]-0x1:_0x168eed[_0x5123('0x4c')]+0x1,_0x2529eb=_0x26f113[0x0][_0x5123('0x6')]('table'),_0x734d7=_0x55d204[_0x5123('0x36')](_0x2529eb,{'startRow':0x0,'column':_0x21d124,'includeAllSlots':!0x1}),_0x24cf73=Array[_0x5123('0x7d')](_0x734d7)[_0x5123('0x67')](_0x696483=>_0x3d7c76[_0x5123('0x5')](_0x696483[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x24cf73,_0x5123('0x59'));});});}for(const _0x1d42e8 of[_0x5123('0x79'),'removeTableColumn']){const _0x5cbe04=_0x1d42e8[_0x5123('0x7a')](0xb),_0x43b8ef=_0x5cbe04[_0x5123('0x21')](),_0x233c33=_0x43b8ef[_0x5123('0x7a')](0x0,0x3)+_0x5123('0x13'),_0x5b3e76=_0x5123('0x81')+_0x5cbe04,_0x39e640=_0x5123('0x88')+_0x5cbe04,_0x3565f8='max'+_0x5cbe04;_0x520790[_0x5123('0x7e')](_0x1d42e8,()=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1244ef=>{const _0x4c2cf4=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4ad5da=_0x4c2cf4[0x0]['findAncestor'](_0x5123('0x81'));let _0x362ade;if(_0x5123('0x79')==_0x1d42e8){const _0x4c0d3b=_0x55d204[_0x5123('0x15')](_0x4c2cf4);_0x362ade={'startRow':_0x4c0d3b['first'],'endRow':_0x4c0d3b[_0x5123('0x4c')],'includeAllSlots':!0x0};}else{const _0x4a3d7f=_0x55d204['getColumnIndexes'](_0x4c2cf4);_0x362ade={'startColumn':_0x4a3d7f[_0x5123('0x28')],'endColumn':_0x4a3d7f['last'],'includeAllSlots':!0x0};}const _0x25cd3d=_0x55d204[_0x5123('0x36')](_0x4ad5da,_0x362ade),_0x5a69e9=Array[_0x5123('0x7d')](_0x25cd3d)[_0x5123('0x67')](({cell:_0x94be68})=>_0x94be68),_0x332ed3=se(_0x5a69e9[_0x5123('0x43')](_0x419279=>_0x419279[_0x5123('0x42')](_0x233c33))),_0x3bca9e=se(_0x5a69e9[_0x5123('0x43')](_0x449347=>!_0x449347[_0x5123('0x42')](_0x233c33)))[_0x5123('0x67')](_0x3e826a=>_0x1244ef[_0x5123('0x5')](_0x3e826a)),_0x4a7056=_0x520790[_0x5123('0x4b')](_0x3bca9e,_0x5b3e76);if(_0x4a7056&&(_0x5123('0x1f')==_0x4a7056[_0x5123('0x65')]||_0x5123('0x59')==_0x4a7056[_0x5123('0x65')])){const _0x1b0ef1=this[_0x5123('0x83')](_0x4a7056);for(const _0xc5068d of _0x332ed3){const _0x54addf=_0x1244ef[_0x5123('0x5')](_0xc5068d),_0x2e4774=_0x55d204[_0x5123('0xa')](_0xc5068d),_0x2277b7=_0xc5068d[_0x5123('0x2e')](_0x233c33)-0x1,_0x243f90=_0x1b0ef1[_0x39e640],_0x3eeebf=_0x1b0ef1[_0x3565f8];_0x243f90<=_0x2e4774[_0x43b8ef]&&_0x2e4774[_0x43b8ef]+_0x2277b7<=_0x3eeebf&&_0x4a7056['addRange'](_0x54addf);}}});});}function _0x3ccce2(_0x106cda){const _0x17a8df=Array[_0x5123('0x7d')](_0x403d03[_0x5123('0x2c')]())[_0x5123('0x67')](_0xd652e4=>_0x22f666['fromRange'](_0xd652e4));_0x3ed0c7[_0x5123('0x17')][_0x5123('0xb')](_0x3f3346=>{const _0x300bb9=_0x3f3346[_0x5123('0x7c')];_0x106cda=_0x106cda[_0x5123('0x43')](_0x370fc4=>_0x5123('0x5c')!=_0x370fc4[_0x5123('0x49')][_0x5123('0x1c')]),_0x3f3346[_0x5123('0x47')](_0x106cda),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x79'))['refresh'](),_0x3ed0c7['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](()=>{_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](_0x300bb9,_0xeb76a=>{const _0x1309ac=_0x17a8df[_0x5123('0x43')](_0x5945d1=>_0x5123('0x5c')!=_0x5945d1['root'][_0x5123('0x1c')]);_0x1309ac[_0x5123('0x29')]>0x0&&_0xeb76a[_0x5123('0x47')](_0x1309ac);for(const _0x5aa9bf of _0x17a8df)_0x5aa9bf[_0x5123('0x16')]();});});});}function _0x259e14(_0x489fc3){_0x3ed0c7[_0x5123('0x17')]['change'](_0x38eeb0=>{const _0x57f078=Array[_0x5123('0x7d')](_0x403d03['getRanges']())[_0x5123('0x67')](_0x4bca80=>_0x22f666[_0x5123('0x8a')](_0x4bca80)),_0x2c18ca=[];for(const _0x14fb62 of _0x489fc3)for(const _0x3a32fb of _0x14fb62[_0x5123('0x7f')]({'shallow':!0x0}))_0x2c18ca[_0x5123('0x86')](_0x3a32fb);for(const _0x5ba9a6 of _0x2c18ca)'$graveyard'!=_0x5ba9a6[_0x5123('0x49')][_0x5123('0x1c')]&&(_0x38eeb0[_0x5123('0x47')](_0x38eeb0['createPositionAt'](_0x5ba9a6,0x0)),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x3'))[_0x5123('0x72')](),_0x3ed0c7[_0x5123('0x3c')](_0x5123('0x3'),{'forceDefaultExecution':!0x0}));const _0x182d82=_0x57f078[_0x5123('0x43')](_0xf55967=>_0x5123('0x5c')!=_0xf55967[_0x5123('0x49')]['rootName']);_0x182d82[_0x5123('0x29')]>0x0&&_0x38eeb0['setSelection'](_0x182d82);for(const _0x16a329 of _0x57f078)_0x16a329[_0x5123('0x16')]();});}function _0x4aed86(_0x4bfce7,_0x479ab9){return _0x479ab9[_0x5123('0x3d')](_0x253b19=>_0x4bfce7['some'](_0x2bbd3f=>_0x2bbd3f['end']['isEqual'](_0x253b19[_0x5123('0x80')])||_0x253b19[_0x5123('0x73')]['isEqual'](_0x2bbd3f[_0x5123('0x80')])));}function _0x22dda1(_0x33956a,_0x475ba1){return _0x33956a[_0x5123('0x1d')](_0x291948=>_0x475ba1[_0x5123('0x1d')](_0x985e4f=>_0x291948[_0x5123('0x73')][_0x5123('0x7b')](_0x985e4f[_0x5123('0x80')])));}_0x3ed0c7['data'][_0x5123('0x56')]['on'](_0x5123('0x3a'),(_0x26f0fe,_0x449715,_0x1067bb)=>{if(!_0x1067bb[_0x5123('0x1e')][_0x5123('0x38')])return;const _0x2eceb7=_0x449715[_0x5123('0x69')];if(!_0x2eceb7)return;const _0x551a68=_0x1067bb['mapper']['toViewElement'](_0x2eceb7);function _0x51e3da(_0x3adb70){return Array[_0x5123('0x0')](_0x3adb70)?_0x3adb70:[_0x3adb70];}_0x551a68&&_0x5123('0x62')===_0x2eceb7[_0x5123('0x68')]&&_0x343e7d(_0x551a68,_0x1067bb[_0x5123('0x19')],(_0x5404d2,_0x32c11b,_0x1d49de)=>_0x1d49de['addClass'](_0x51e3da(_0x32c11b[_0x5123('0x5b')]),_0x5404d2),(_0x5b57e4,_0x3b3610,_0x307deb)=>_0x307deb[_0x5123('0x26')](_0x51e3da(_0x3b3610['classes']),_0x5b57e4));},{'priority':_0x5123('0x22')}),_0x520790[_0x5123('0x20')]['registerDescriptionCallback'](_0x4b32bd=>{if(_0x5123('0x39')!=_0x4b32bd[_0x5123('0x76')]&&_0x5123('0x87')!=_0x4b32bd[_0x5123('0x76')])return;const _0x50417f=_0x4b32bd[_0x5123('0x51')]();if(null!=_0x50417f&&_0x50417f['is'](_0x5123('0x61'),_0x5123('0x81'))){if(_0x5123('0x39')==_0x4b32bd[_0x5123('0x76')]){const _0x2fa802=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0x1deefe=>_0x1deefe['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x18ce38=>_0x18ce38['data']);if(_0x2fa802[_0x5123('0x29')])return{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x2fa802[_0x5123('0x31')]('\x20')+'\x22'))};}if(_0x5123('0x87')==_0x4b32bd[_0x5123('0x76')]){const _0x524a6e=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0xf0cc11=>_0xf0cc11['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x1468f0=>_0x1468f0[_0x5123('0x1')]);if(_0x524a6e[_0x5123('0x29')])return{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x524a6e[_0x5123('0x31')]('\x20')+'\x22'))};}}}),_0x520790[_0x5123('0x20')][_0x5123('0x2d')](_0x37a339=>{if('tableRow'==_0x37a339[_0x5123('0x65')]){const _0x4508e0=_0x37a339['getItems']()[_0x5123('0x43')](_0x2ddefd=>_0x2ddefd['is'](_0x5123('0x84')))['map'](_0x1b090c=>_0x1b090c['data']),_0x3db6b0=this[_0x5123('0x83')](_0x37a339),_0x107479=_0x3db6b0[_0x5123('0x4')]-_0x3db6b0['minRow']+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,'*Insert:*\x20%0',_0x220379(_0x4622ab,'ELEMENT_TABLE_ROW',_0x107479))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':'deletion','content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0['join']('\x20')+'\x22']))}:{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0xf'),_0x107479))};}if(_0x5123('0x59')==_0x37a339[_0x5123('0x65')]){const _0x48c892=_0x37a339['getItems']()[_0x5123('0x43')](_0x4a9c96=>_0x4a9c96['is']('$textProxy'))[_0x5123('0x67')](_0x182306=>_0x182306[_0x5123('0x1')]),_0x18608a=this[_0x5123('0x83')](_0x37a339),_0x48c295=_0x18608a[_0x5123('0x6f')]-_0x18608a[_0x5123('0x4a')]+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x48c892[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x48c892['length']?{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x7'),[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x220379(_0x4622ab,'*Remove:*\x20%0',_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};}}),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),'discard',_0x3ccce2),_0x520790['_suggestionFactory']['registerCustomCallback'](_0x5123('0x87'),_0x5123('0x1f'),_0x5123('0x35'),_0x3ccce2),_0x520790[_0x5123('0xe')][_0x5123('0x18')]('insertion',_0x5123('0x59'),_0x5123('0x24'),_0x259e14),_0x520790[_0x5123('0xe')]['registerCustomCallback'](_0x5123('0x87'),'tableColumn','accept',_0x259e14),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x59'),'join',_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),_0x5123('0x59'),_0x5123('0x31'),_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),_0x5123('0x31'),_0x22dda1),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),'tableRow',_0x5123('0x31'),_0x22dda1);}[_0x5123('0x10')](){const _0x1c93df=this[_0x5123('0x48')],_0x169f0c=_0x1c93df[_0x5123('0x17')]['document']['selection'];return(_0x305c04,_0x317931)=>{_0x1c93df[_0x5123('0x17')][_0x5123('0xb')](_0x210626=>{const {commandName:_0x12718a,commandParams:_0x275b5c}=_0x317931;let _0x2a4a34=_0x305c04[0x0][_0x5123('0x73')][_0x5123('0x77')];_0x275b5c&&_0x275b5c[0x0]&&!0x1===_0x275b5c[0x0]['forceValue']&&(_0x2a4a34=_0x305c04[0x0][_0x5123('0x80')]['nodeAfter']);const _0x1a4e8c=_0x210626['createRangeIn'](_0x2a4a34);if(_0x5123('0x5c')==_0x1a4e8c[_0x5123('0x49')][_0x5123('0x1c')])return;const _0x41ca11=Array[_0x5123('0x7d')](_0x169f0c[_0x5123('0x2c')]())[_0x5123('0x67')](_0x1f9920=>_0x22f666['fromRange'](_0x1f9920));_0x210626['setSelection'](_0x1a4e8c),_0x1c93df['commands'][_0x5123('0x27')](_0x12718a)['refresh'](),_0x275b5c[_0x5123('0x86')]({'forceDefaultExecution':!0x0}),_0x1c93df['execute'](_0x12718a,..._0x275b5c);const _0x6bc35c=_0x41ca11[_0x5123('0x43')](_0x2409bc=>_0x5123('0x5c')!=_0x2409bc[_0x5123('0x49')]['rootName']);_0x6bc35c[_0x5123('0x29')]>0x0&&_0x210626[_0x5123('0x47')](_0x6bc35c);for(const _0x4ba3d9 of _0x41ca11)_0x4ba3d9[_0x5123('0x16')]();});};}[_0x5123('0x5e')](_0x11a0c2){const _0x247db7=this[_0x5123('0x48')]['plugins'][_0x5123('0x27')](_0x5123('0x60'));let _0x590148=Number[_0x5123('0x78')],_0x31ec5a=Number[_0x5123('0x6a')],_0x42576c=Number[_0x5123('0x78')],_0x177073=Number[_0x5123('0x6a')];for(const _0x35f0ee of _0x11a0c2){if('$graveyard'==_0x35f0ee[_0x5123('0x49')]['rootName'])continue;const {row:_0x31fdd9,column:_0x10cf89}=_0x247db7['getCellLocation'](_0x35f0ee),_0x2d7da8=_0x35f0ee[_0x5123('0x42')](_0x5123('0x82'))?_0x35f0ee[_0x5123('0x2e')](_0x5123('0x82'))-0x1:0x0,_0x3657f9=_0x35f0ee[_0x5123('0x42')](_0x5123('0x11'))?_0x35f0ee['getAttribute'](_0x5123('0x11'))-0x1:0x0;_0x590148=_0x31fdd9<_0x590148?_0x31fdd9:_0x590148,_0x31ec5a=_0x31fdd9+_0x2d7da8>_0x31ec5a?_0x31fdd9+_0x2d7da8:_0x31ec5a,_0x42576c=_0x10cf89<_0x42576c?_0x10cf89:_0x42576c,_0x177073=_0x10cf89+_0x3657f9>_0x177073?_0x10cf89+_0x3657f9:_0x177073;}return{'minRow':_0x590148,'maxRow':_0x31ec5a,'minColumn':_0x42576c,'maxColumn':_0x177073};}[_0x5123('0x55')](){const _0x2f8daf=this[_0x5123('0x48')],_0x4ebe24=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x4e2cc3=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x60'));_0x2f8daf['model'][_0x5123('0x46')]['on'](_0x5123('0x4e'),()=>{const _0x573a67=Array[_0x5123('0x7d')](_0x2f8daf[_0x5123('0x17')][_0x5123('0x46')][_0x5123('0x41')][_0x5123('0x50')]());for(const {name:_0x128207,data:_0x4aa697}of _0x573a67){const {group:_0x53d53b,id:_0x538819,subType:_0x423faa}=_0x4ebe24[_0x5123('0x34')](_0x128207);if(_0x5123('0x85')!=_0x53d53b)continue;if(null!=_0x4aa697[_0x5123('0x52')])continue;const _0x10aca9=_0x4ebe24[_0x5123('0x6b')](_0x538819);this['_tablePostFixingSubtypes'][_0x5123('0x6d')](_0x423faa)&&this[_0x5123('0x89')][_0x5123('0x70')](_0x10aca9);}},{'priority':_0x5123('0x2a')});const _0xbb804a=(_0x130760,_0x16d8de)=>{let _0x370c51=!0x1;const _0x33891a=_0x16d8de[_0x5123('0x5')](_0x130760),_0x173244=_0x130760['findAncestor'](_0x5123('0x81')),_0x165d7d=_0x4e2cc3[_0x5123('0xa')](_0x130760);for(const _0xdad025 of this['_tableSuggestions']){const _0xaaf5c7=_0xdad025[_0x5123('0x65')],_0xfd6b84=_0xaaf5c7[_0x5123('0x64')](_0x5123('0x2b')),_0x141e91=_0xaaf5c7['substr'](_0xfd6b84?0xa:0x5),_0x1ce01f=_0x141e91[_0x5123('0x21')](),_0x543046=_0x1ce01f[_0x5123('0x7a')](0x0,0x3)+'span',_0x55dff9=_0x5123('0x88')+_0x141e91,_0x23c7fe=_0x5123('0x23')+_0x141e91;if(!_0xdad025[_0x5123('0xc')])continue;if(_0x173244!=_0xdad025[_0x5123('0x5f')]()[_0x5123('0x80')][_0x5123('0x6')](_0x5123('0x81')))continue;if(_0xdad025[_0x5123('0x4f')](_0x33891a))continue;const _0x21025d=_0x130760[_0x5123('0x42')](_0x543046)?_0x130760[_0x5123('0x2e')](_0x543046)-0x1:0x0,_0x35eb32=this[_0x5123('0x83')](_0xdad025),_0x5867b1=_0x35eb32[_0x55dff9],_0x151a13=_0x35eb32[_0x23c7fe];_0x5867b1<=_0x165d7d[_0x1ce01f]&&_0x165d7d[_0x1ce01f]+_0x21025d<=_0x151a13&&(_0xdad025[_0x5123('0x2')](_0x33891a),_0x370c51=!0x0);}return _0x370c51;};_0x2f8daf[_0x5123('0x17')]['document']['registerPostFixer'](_0xeca80a=>{let _0x5e872b=!0x1;for(const _0x5e8793 of _0x2f8daf[_0x5123('0x17')]['document'][_0x5123('0x41')]['getChanges']())if(_0x5123('0x75')==_0x5e8793[_0x5123('0x76')]){if(_0x5123('0x1f')==_0x5e8793[_0x5123('0x68')])for(const _0xb7d802 of _0x5e8793[_0x5123('0x12')][_0x5123('0x33')]['getChildren']())_0x5e872b=_0x5e872b||_0xbb804a(_0xb7d802,_0xeca80a);else _0x5123('0x62')==_0x5e8793['name']&&(_0x5e872b=_0x5e872b||_0xbb804a(_0x5e8793[_0x5123('0x12')][_0x5123('0x33')],_0xeca80a));}return _0x5e872b;});}[_0x5123('0x83')](_0x3d1cee){return this[_0x5123('0x5e')](_0x3d1cee[_0x5123('0x2c')]()['map'](_0x4292f2=>_0x4292f2[_0x5123('0x80')][_0x5123('0x33')]));}}function se(_0x38cc27){return Array[_0x5123('0x7d')](new Set(_0x38cc27)[_0x5123('0x5d')]());}
23
+ const _0x1710=['values','join','getRanges','MIN_SAFE_INTEGER','registerDescriptionCallback','accept','has','start','cell','setSelection','createRangeIn','registerElementLabel','$graveyard','isArray','plugins','name','type','some','item','length','change','tableCell','hasAttribute','*Insert:*\x20%0','addRange','maxColumn','ELEMENT_TABLE','_tableSuggestions','minColumn','createRangeOn','getChildren','insert','selectTableRow','above','ELEMENT_TABLE_ROW_WITH_TEXT','TableUtils','left','toLowerCase','differ','insertTableRowBelow','TableEditing','max','minRow','_suggestionFactory','includes','last','ELEMENT_TABLE_WITH_TEXT','downcastDispatcher','colspan','data','writer','getItems','refresh','selection','getFirstRange','getChanges','getColumnIndexes','execute','first','ELEMENT_TABLE_COLUMN','createTableWalker','detach','substr','table','model','enqueueChange','discard','maxRow','deletion','insertTableColumnLeft','_getCoordsForCells','addClass','isEqual','removeTableRow','registerCustomCallback','isInContent','selectTableColumn','enableCommand','add','change:data','_descriptionFactory','subType','nodeAfter','$textProxy','removeTableColumn','editor','filter','getChangedMarkers','addMarker:suggestion','rootName','_splitMarkerName','position','getCellLocation','document','classes','from','_setupColumnsRowsFixing','insertion','commands','options','getSelectionAffectedTableCells','isIntersectingWithRange','tablePaste','toViewElement','batch','TrackChangesEditing','nodeBefore','MAX_SAFE_INTEGER','_tablePostFixingSubtypes','afterInit','startsWith','locale','tableColumn','showSuggestionHighlights','min','element','span','push','getAttribute','insertTable','markMultiRangeInsertion','tableRow','ELEMENT_TABLE_ROW','findAncestor','map','rowspan','get','getSuggestion','isTouching','suggestion','_getSuggestionCoords','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','highest','order','end','fromRange','markMultiRangeDeletion','*Remove:*\x20%0','root'];(function(_0x28eb70,_0x1710ea){const _0x5802f2=function(_0x2789cd){while(--_0x2789cd){_0x28eb70['push'](_0x28eb70['shift']());}};_0x5802f2(++_0x1710ea);}(_0x1710,0x110));const _0x5802=function(_0x28eb70,_0x1710ea){_0x28eb70=_0x28eb70-0x0;let _0x5802f2=_0x1710[_0x28eb70];return _0x5802f2;};import{Plugin as _0x5a1358}from'ckeditor5/src/core';import{LiveRange as _0x5b5b06}from'ckeditor5/src/engine';import{setHighlightHandling as _0x15bcdf}from'ckeditor5/src/widget';import{getTranslation as _0x166972}from'../utils/common-translations';export default class mt extends _0x5a1358{constructor(_0x50aa7f){super(_0x50aa7f),this[_0x5802('0x74')]=['tableRow',_0x5802('0x78')],this[_0x5802('0x23')]=new Set();}[_0x5802('0x75')](){const _0x3f989e=this['editor'],_0x54b8e2=_0x3f989e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];if(!_0x3f989e['plugins'][_0x5802('0xe')](_0x5802('0x30')))return;const _0xb798bd=_0x3f989e[_0x5802('0x77')],_0x28bc5b=_0x3f989e[_0x5802('0x16')][_0x5802('0x86')](_0x5802('0x71')),_0x14a1ec=_0x3f989e[_0x5802('0x16')]['get']('TableUtils');_0x28bc5b[_0x5802('0x58')][_0x5802('0x13')](_0x5802('0x47'),_0x123a70=>_0x166972(_0xb798bd,_0x5802('0x22'),_0x123a70)),this[_0x5802('0x68')](),_0x28bc5b[_0x5802('0x55')](_0x5802('0x7f')),_0x28bc5b[_0x5802('0x55')](_0x5802('0x28')),_0x28bc5b['enableCommand'](_0x5802('0x54'));for(const _0xc1bcd0 of['insertTableRowAbove',_0x5802('0x2f')]){const _0x12ff45=_0x3f989e['commands']['get'](_0xc1bcd0);_0x28bc5b[_0x5802('0x55')](_0xc1bcd0,_0x178430=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x286869=>{_0x178430();const _0x19d188=_0x5802('0x29')===_0x12ff45[_0x5802('0x2')],_0x2404f9=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1fe3ec=_0x14a1ec['getRowIndexes'](_0x2404f9),_0x1d773c=_0x19d188?_0x1fe3ec[_0x5802('0x42')]-0x1:_0x1fe3ec[_0x5802('0x35')]+0x1,_0x29f1dd=_0x2404f9[0x0][_0x5802('0x83')](_0x5802('0x47')),_0x537007=_0x14a1ec[_0x5802('0x44')](_0x29f1dd,{'startRow':_0x1d773c,'endRow':_0x1d773c}),_0x2fad67=Array[_0x5802('0x67')](_0x537007)[_0x5802('0x84')](_0x1f5130=>_0x286869[_0x5802('0x25')](_0x1f5130['cell']));_0x28bc5b['markMultiRangeInsertion'](_0x2fad67,_0x5802('0x81'));});});}for(const _0x280e9c of[_0x5802('0x4d'),'insertTableColumnRight']){const _0x41a286=_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x280e9c);_0x28bc5b[_0x5802('0x55')](_0x280e9c,_0x5024a3=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x113f2a=>{_0x5024a3();const _0x2e5b0c=_0x5802('0x2c')===_0x41a286[_0x5802('0x2')],_0x22d3ed=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x29be14=_0x14a1ec[_0x5802('0x40')](_0x22d3ed),_0x4fe7df=_0x2e5b0c?_0x29be14[_0x5802('0x42')]-0x1:_0x29be14[_0x5802('0x35')]+0x1,_0x4d979a=_0x22d3ed[0x0][_0x5802('0x83')](_0x5802('0x47')),_0xb11809=_0x14a1ec[_0x5802('0x44')](_0x4d979a,{'startRow':0x0,'column':_0x4fe7df,'includeAllSlots':!0x1}),_0x564a48=Array[_0x5802('0x67')](_0xb11809)['map'](_0x2e7dde=>_0x113f2a[_0x5802('0x25')](_0x2e7dde[_0x5802('0x10')]));_0x28bc5b[_0x5802('0x80')](_0x564a48,_0x5802('0x78'));});});}for(const _0x288dfc of[_0x5802('0x51'),'removeTableColumn']){const _0x2a2716=_0x288dfc['substr'](0xb),_0x5bff4d=_0x2a2716[_0x5802('0x2d')](),_0x25c794=_0x5bff4d[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x3e7fc3=_0x5802('0x47')+_0x2a2716,_0x34b009=_0x5802('0x7a')+_0x2a2716,_0x2061c3='max'+_0x2a2716;_0x28bc5b[_0x5802('0x55')](_0x288dfc,()=>{_0x3f989e['model'][_0x5802('0x1c')](_0x2f8b7e=>{const _0xc26d3e=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1e0153=_0xc26d3e[0x0][_0x5802('0x83')](_0x5802('0x47'));let _0x472171;if(_0x5802('0x51')==_0x288dfc){const _0x4618a5=_0x14a1ec[_0x5802('0x0')](_0xc26d3e);_0x472171={'startRow':_0x4618a5['first'],'endRow':_0x4618a5[_0x5802('0x35')],'includeAllSlots':!0x0};}else{const _0x2dd21c=_0x14a1ec[_0x5802('0x40')](_0xc26d3e);_0x472171={'startColumn':_0x2dd21c[_0x5802('0x42')],'endColumn':_0x2dd21c[_0x5802('0x35')],'includeAllSlots':!0x0};}const _0x16d888=_0x14a1ec[_0x5802('0x44')](_0x1e0153,_0x472171),_0x3a5bef=Array['from'](_0x16d888)[_0x5802('0x84')](({cell:_0x51c74f})=>_0x51c74f),_0xac78af=se(_0x3a5bef[_0x5802('0x5e')](_0x4a9c97=>_0x4a9c97[_0x5802('0x1e')](_0x25c794))),_0x5ec3f5=se(_0x3a5bef[_0x5802('0x5e')](_0x42183=>!_0x42183[_0x5802('0x1e')](_0x25c794)))[_0x5802('0x84')](_0x301695=>_0x2f8b7e[_0x5802('0x25')](_0x301695)),_0x2e0dc7=_0x28bc5b[_0x5802('0x5')](_0x5ec3f5,_0x3e7fc3);if(_0x2e0dc7&&(_0x5802('0x81')==_0x2e0dc7['subType']||_0x5802('0x78')==_0x2e0dc7[_0x5802('0x59')])){const _0x2cc76b=this[_0x5802('0x8a')](_0x2e0dc7);for(const _0x13bed7 of _0xac78af){const _0x340fac=_0x2f8b7e[_0x5802('0x25')](_0x13bed7),_0x50dfa2=_0x14a1ec[_0x5802('0x64')](_0x13bed7),_0x23d980=_0x13bed7[_0x5802('0x7e')](_0x25c794)-0x1,_0x54e4d9=_0x2cc76b[_0x34b009],_0x202f14=_0x2cc76b[_0x2061c3];_0x54e4d9<=_0x50dfa2[_0x5bff4d]&&_0x50dfa2[_0x5bff4d]+_0x23d980<=_0x202f14&&_0x2e0dc7[_0x5802('0x20')](_0x340fac);}}});});}function _0x44a2cf(_0x5aaafb){const _0x2adba6=Array[_0x5802('0x67')](_0x54b8e2[_0x5802('0xa')]())['map'](_0x5ed1a3=>_0x5b5b06[_0x5802('0x4')](_0x5ed1a3));_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x53d983=>{const _0x2b805c=_0x53d983[_0x5802('0x70')];_0x5aaafb=_0x5aaafb['filter'](_0x27356d=>_0x5802('0x14')!=_0x27356d[_0x5802('0x7')][_0x5802('0x61')]),_0x53d983[_0x5802('0x11')](_0x5aaafb),_0x3f989e['commands'][_0x5802('0x86')]('removeTableRow')[_0x5802('0x3c')](),_0x3f989e[_0x5802('0x41')](_0x5802('0x51'),{'forceDefaultExecution':!0x0}),_0x3f989e[_0x5802('0x48')][_0x5802('0x49')](()=>{_0x3f989e[_0x5802('0x48')]['enqueueChange'](_0x2b805c,_0x30c06f=>{const _0x10ff53=_0x2adba6[_0x5802('0x5e')](_0xcd5500=>'$graveyard'!=_0xcd5500[_0x5802('0x7')][_0x5802('0x61')]);_0x10ff53[_0x5802('0x1b')]>0x0&&_0x30c06f['setSelection'](_0x10ff53);for(const _0x1d1cf9 of _0x2adba6)_0x1d1cf9[_0x5802('0x45')]();});});});}function _0xe238b7(_0x1e73ff){_0x3f989e['model']['change'](_0x3e5d85=>{const _0x3017c2=Array[_0x5802('0x67')](_0x54b8e2['getRanges']())[_0x5802('0x84')](_0x3e6d5a=>_0x5b5b06['fromRange'](_0x3e6d5a)),_0x105019=[];for(const _0x42db77 of _0x1e73ff)for(const _0x2c588b of _0x42db77[_0x5802('0x3b')]({'shallow':!0x0}))_0x105019['push'](_0x2c588b);for(const _0x35df69 of _0x105019)_0x5802('0x14')!=_0x35df69['root']['rootName']&&(_0x3e5d85[_0x5802('0x11')](_0x3e5d85['createPositionAt'](_0x35df69,0x0)),_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x5802('0x5c'))[_0x5802('0x3c')](),_0x3f989e['execute'](_0x5802('0x5c'),{'forceDefaultExecution':!0x0}));const _0x186407=_0x3017c2[_0x5802('0x5e')](_0xc71fb2=>_0x5802('0x14')!=_0xc71fb2[_0x5802('0x7')]['rootName']);_0x186407['length']>0x0&&_0x3e5d85[_0x5802('0x11')](_0x186407);for(const _0x2a8f62 of _0x3017c2)_0x2a8f62['detach']();});}function _0x2de75d(_0x54d6ad,_0x5fdf78){return _0x5fdf78['every'](_0x4223f1=>_0x54d6ad['some'](_0x552004=>_0x552004['end'][_0x5802('0x50')](_0x4223f1['start'])||_0x4223f1[_0x5802('0x3')][_0x5802('0x50')](_0x552004[_0x5802('0xf')])));}function _0x10ae6a(_0x2a5740,_0x389c39){return _0x2a5740[_0x5802('0x19')](_0x12fe6c=>_0x389c39[_0x5802('0x19')](_0x3d6137=>_0x12fe6c[_0x5802('0x3')][_0x5802('0x88')](_0x3d6137[_0x5802('0xf')])));}_0x3f989e[_0x5802('0x39')][_0x5802('0x37')]['on'](_0x5802('0x60'),(_0x2185ac,_0xe5c2ee,_0x305b18)=>{if(!_0x305b18[_0x5802('0x6b')][_0x5802('0x79')])return;const _0x486495=_0xe5c2ee[_0x5802('0x1a')];if(!_0x486495)return;const _0x9d26ad=_0x305b18['mapper'][_0x5802('0x6f')](_0x486495);function _0x17ba3b(_0x470893){return Array[_0x5802('0x15')](_0x470893)?_0x470893:[_0x470893];}_0x9d26ad&&'tableCell'===_0x486495[_0x5802('0x17')]&&_0x15bcdf(_0x9d26ad,_0x305b18[_0x5802('0x3a')],(_0x57a80b,_0x346225,_0x5d0f9a)=>_0x5d0f9a[_0x5802('0x4f')](_0x17ba3b(_0x346225[_0x5802('0x66')]),_0x57a80b),(_0x13e9a5,_0x334330,_0xe74f5)=>_0xe74f5['removeClass'](_0x17ba3b(_0x334330['classes']),_0x13e9a5));},{'priority':_0x5802('0x1')}),_0x28bc5b['_descriptionFactory']['registerDescriptionCallback'](_0x1c1313=>{if(_0x5802('0x69')!=_0x1c1313[_0x5802('0x18')]&&_0x5802('0x4c')!=_0x1c1313['type'])return;const _0x917f25=_0x1c1313['getContainedElement']();if(null!=_0x917f25&&_0x917f25['is'](_0x5802('0x7b'),'table')){if(_0x5802('0x69')==_0x1c1313[_0x5802('0x18')]){const _0x3dba34=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x288e7=>_0x288e7['is'](_0x5802('0x5b')))[_0x5802('0x84')](_0x135b9d=>_0x135b9d[_0x5802('0x39')]);if(_0x3dba34[_0x5802('0x1b')])return{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3dba34['join']('\x20')+'\x22'))};}if(_0x5802('0x4c')==_0x1c1313[_0x5802('0x18')]){const _0x24ac24=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x291b6e=>_0x291b6e['is'](_0x5802('0x5b')))['map'](_0x383ac3=>_0x383ac3[_0x5802('0x39')]);if(_0x24ac24[_0x5802('0x1b')])return{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x36'),'\x22'+_0x24ac24[_0x5802('0x9')]('\x20')+'\x22'))};}}}),_0x28bc5b[_0x5802('0x58')][_0x5802('0xc')](_0x488cec=>{if(_0x5802('0x81')==_0x488cec['subType']){const _0xb84028=_0x488cec['getItems']()['filter'](_0x5dfd9b=>_0x5dfd9b['is'](_0x5802('0x5b')))['map'](_0x9cd5f1=>_0x9cd5f1['data']),_0x5011d3=this[_0x5802('0x8a')](_0x488cec),_0x1e1a94=_0x5011d3[_0x5802('0x4b')]-_0x5011d3[_0x5802('0x32')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0xb84028['length']?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x82'),_0x1e1a94))};if(_0x5802('0x4c')==_0x488cec['type'])return _0xb84028[_0x5802('0x1b')]?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,'ELEMENT_TABLE_ROW',_0x1e1a94))};}if(_0x5802('0x78')==_0x488cec[_0x5802('0x59')]){const _0x459f0a=_0x488cec[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x2f1000=>_0x2f1000['is']('$textProxy'))[_0x5802('0x84')](_0x2f44b6=>_0x2f44b6['data']),_0x3b9f99=this[_0x5802('0x8a')](_0x488cec),_0x458bff=_0x3b9f99[_0x5802('0x21')]-_0x3b9f99[_0x5802('0x24')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0x459f0a[_0x5802('0x1b')]?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};if(_0x5802('0x4c')==_0x488cec[_0x5802('0x18')])return _0x459f0a['length']?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x8b'),[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};}}),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x69'),_0x5802('0x81'),_0x5802('0x4a'),_0x44a2cf),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x4c'),_0x5802('0x81'),_0x5802('0xd'),_0x44a2cf),_0x28bc5b['_suggestionFactory']['registerCustomCallback']('insertion',_0x5802('0x78'),_0x5802('0x4a'),_0xe238b7),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback']('deletion',_0x5802('0x78'),'accept',_0xe238b7),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('insertion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('deletion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')](_0x5802('0x69'),_0x5802('0x81'),'join',_0x10ae6a),_0x28bc5b[_0x5802('0x33')][_0x5802('0x52')](_0x5802('0x4c'),_0x5802('0x81'),'join',_0x10ae6a);}['_acceptFormatSuggestionCallbackFactory'](){const _0x38686e=this['editor'],_0x2ca0d5=_0x38686e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];return(_0x274966,_0x98cd8e)=>{_0x38686e[_0x5802('0x48')][_0x5802('0x1c')](_0x5e2418=>{const {commandName:_0x3dabcc,commandParams:_0x604223}=_0x98cd8e;let _0xf1eaf9=_0x274966[0x0][_0x5802('0x3')][_0x5802('0x72')];_0x604223&&_0x604223[0x0]&&!0x1===_0x604223[0x0]['forceValue']&&(_0xf1eaf9=_0x274966[0x0][_0x5802('0xf')][_0x5802('0x5a')]);const _0x504cc3=_0x5e2418[_0x5802('0x12')](_0xf1eaf9);if(_0x5802('0x14')==_0x504cc3[_0x5802('0x7')]['rootName'])return;const _0xc564cd=Array[_0x5802('0x67')](_0x2ca0d5[_0x5802('0xa')]())['map'](_0x35ea35=>_0x5b5b06[_0x5802('0x4')](_0x35ea35));_0x5e2418[_0x5802('0x11')](_0x504cc3),_0x38686e[_0x5802('0x6a')][_0x5802('0x86')](_0x3dabcc)[_0x5802('0x3c')](),_0x604223[_0x5802('0x7d')]({'forceDefaultExecution':!0x0}),_0x38686e['execute'](_0x3dabcc,..._0x604223);const _0x482a72=_0xc564cd[_0x5802('0x5e')](_0x3987c3=>_0x5802('0x14')!=_0x3987c3[_0x5802('0x7')]['rootName']);_0x482a72[_0x5802('0x1b')]>0x0&&_0x5e2418[_0x5802('0x11')](_0x482a72);for(const _0x32f07f of _0xc564cd)_0x32f07f[_0x5802('0x45')]();});};}[_0x5802('0x4e')](_0x37b0f2){const _0x10f487=this[_0x5802('0x5d')][_0x5802('0x16')]['get'](_0x5802('0x2b'));let _0x3cde57=Number[_0x5802('0x73')],_0x58704a=Number['MIN_SAFE_INTEGER'],_0x1c880d=Number[_0x5802('0x73')],_0x14ad33=Number[_0x5802('0xb')];for(const _0x166dce of _0x37b0f2){if('$graveyard'==_0x166dce[_0x5802('0x7')][_0x5802('0x61')])continue;const {row:_0x4fcb8e,column:_0x3c9659}=_0x10f487[_0x5802('0x64')](_0x166dce),_0x517e00=_0x166dce[_0x5802('0x1e')]('rowspan')?_0x166dce[_0x5802('0x7e')](_0x5802('0x85'))-0x1:0x0,_0xd366b1=_0x166dce['hasAttribute'](_0x5802('0x38'))?_0x166dce[_0x5802('0x7e')](_0x5802('0x38'))-0x1:0x0;_0x3cde57=_0x4fcb8e<_0x3cde57?_0x4fcb8e:_0x3cde57,_0x58704a=_0x4fcb8e+_0x517e00>_0x58704a?_0x4fcb8e+_0x517e00:_0x58704a,_0x1c880d=_0x3c9659<_0x1c880d?_0x3c9659:_0x1c880d,_0x14ad33=_0x3c9659+_0xd366b1>_0x14ad33?_0x3c9659+_0xd366b1:_0x14ad33;}return{'minRow':_0x3cde57,'maxRow':_0x58704a,'minColumn':_0x1c880d,'maxColumn':_0x14ad33};}[_0x5802('0x68')](){const _0x133d80=this[_0x5802('0x5d')],_0x51a8ce=_0x133d80['plugins'][_0x5802('0x86')](_0x5802('0x71')),_0x2ee3cc=_0x133d80[_0x5802('0x16')][_0x5802('0x86')]('TableUtils');_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['on'](_0x5802('0x57'),()=>{const _0x50630a=Array['from'](_0x133d80['model']['document'][_0x5802('0x2e')][_0x5802('0x5f')]());for(const {name:_0x5a707b,data:_0x5b1498}of _0x50630a){const {group:_0x19296d,id:_0x3693ee,subType:_0x23c4c7}=_0x51a8ce[_0x5802('0x62')](_0x5a707b);if(_0x5802('0x89')!=_0x19296d)continue;if(null!=_0x5b1498['oldRange'])continue;const _0x56fafe=_0x51a8ce[_0x5802('0x87')](_0x3693ee);this['_tablePostFixingSubtypes'][_0x5802('0x34')](_0x23c4c7)&&this['_tableSuggestions'][_0x5802('0x56')](_0x56fafe);}},{'priority':'low'});const _0x570db2=(_0x61a977,_0x1e3cf4)=>{let _0x2150d9=!0x1;const _0x30d3b6=_0x1e3cf4[_0x5802('0x25')](_0x61a977),_0x4dfdcc=_0x61a977['findAncestor']('table'),_0x29a28f=_0x2ee3cc[_0x5802('0x64')](_0x61a977);for(const _0x32b595 of this[_0x5802('0x23')]){const _0x1abdab=_0x32b595[_0x5802('0x59')],_0x102627=_0x1abdab[_0x5802('0x76')](_0x5802('0x6e')),_0x574479=_0x1abdab[_0x5802('0x46')](_0x102627?0xa:0x5),_0x201bd1=_0x574479['toLowerCase'](),_0x8a0b54=_0x201bd1[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x6b1c10=_0x5802('0x7a')+_0x574479,_0x310a76=_0x5802('0x31')+_0x574479;if(!_0x32b595[_0x5802('0x53')])continue;if(_0x4dfdcc!=_0x32b595[_0x5802('0x3e')]()[_0x5802('0xf')][_0x5802('0x83')](_0x5802('0x47')))continue;if(_0x32b595[_0x5802('0x6d')](_0x30d3b6))continue;const _0x6c21e2=_0x61a977['hasAttribute'](_0x8a0b54)?_0x61a977[_0x5802('0x7e')](_0x8a0b54)-0x1:0x0,_0x547cb6=this[_0x5802('0x8a')](_0x32b595),_0x5cbc94=_0x547cb6[_0x6b1c10],_0x17ddc2=_0x547cb6[_0x310a76];_0x5cbc94<=_0x29a28f[_0x201bd1]&&_0x29a28f[_0x201bd1]+_0x6c21e2<=_0x17ddc2&&(_0x32b595[_0x5802('0x20')](_0x30d3b6),_0x2150d9=!0x0);}return _0x2150d9;};_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['registerPostFixer'](_0x5182d3=>{let _0x1bab08=!0x1;for(const _0x5235a9 of _0x133d80[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x2e')][_0x5802('0x3f')]())if(_0x5802('0x27')==_0x5235a9[_0x5802('0x18')]){if(_0x5802('0x81')==_0x5235a9['name'])for(const _0x5d88cc of _0x5235a9[_0x5802('0x63')][_0x5802('0x5a')][_0x5802('0x26')]())_0x1bab08=_0x1bab08||_0x570db2(_0x5d88cc,_0x5182d3);else _0x5802('0x1d')==_0x5235a9[_0x5802('0x17')]&&(_0x1bab08=_0x1bab08||_0x570db2(_0x5235a9[_0x5802('0x63')][_0x5802('0x5a')],_0x5182d3));}return _0x1bab08;});}['_getSuggestionCoords'](_0x56d589){return this[_0x5802('0x4e')](_0x56d589[_0x5802('0xa')]()[_0x5802('0x84')](_0x36e057=>_0x36e057['start'][_0x5802('0x5a')]));}}function se(_0x57fa49){return Array[_0x5802('0x67')](new Set(_0x57fa49)[_0x5802('0x8')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3202=['get','plugins','enableCommand','editor','has','TableCaptionEditing'];(function(_0x918d1a,_0x320229){const _0x31af0f=function(_0x5b11e8){while(--_0x5b11e8){_0x918d1a['push'](_0x918d1a['shift']());}};_0x31af0f(++_0x320229);}(_0x3202,0x8a));const _0x31af=function(_0x918d1a,_0x320229){_0x918d1a=_0x918d1a-0x0;let _0x31af0f=_0x3202[_0x918d1a];return _0x31af0f;};import{Plugin as _0x148351}from'ckeditor5/src/core';import _0x3cf39a from'./table';export default class vt extends _0x148351{static get['requires'](){return[_0x3cf39a];}['afterInit'](){const _0x5b2fa0=this[_0x31af('0x3')];if(!_0x5b2fa0['plugins'][_0x31af('0x4')](_0x31af('0x5')))return;_0x5b2fa0[_0x31af('0x1')][_0x31af('0x0')]('TrackChangesEditing')[_0x31af('0x2')]('toggleTableCaption');}}
23
+ const _0x2e95=['plugins','editor','TrackChangesEditing','has'];(function(_0x1c54c1,_0x2e95c3){const _0x7b2662=function(_0x3684a8){while(--_0x3684a8){_0x1c54c1['push'](_0x1c54c1['shift']());}};_0x7b2662(++_0x2e95c3);}(_0x2e95,0xdb));const _0x7b26=function(_0x1c54c1,_0x2e95c3){_0x1c54c1=_0x1c54c1-0x0;let _0x7b2662=_0x2e95[_0x1c54c1];return _0x7b2662;};import{Plugin as _0x59312d}from'ckeditor5/src/core';import _0x375a7d from'./table';export default class vt extends _0x59312d{static get['requires'](){return[_0x375a7d];}['afterInit'](){const _0x1fd724=this[_0x7b26('0x2')];if(!_0x1fd724[_0x7b26('0x1')][_0x7b26('0x0')]('TableCaptionEditing'))return;_0x1fd724[_0x7b26('0x1')]['get'](_0x7b26('0x3'))['enableCommand']('toggleTableCaption');}}