@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231010.0 → 0.0.0-nightly-20231012.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 (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.d.ts +21 -0
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.d.ts +5 -2
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee9=['*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','startIndex','plugins','parent','handleListStyleCommand','styles','getAttribute','_descriptionFactory','listStart','editor','format','document','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','ListUtils','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20reversed','commandName','*Change\x20to:*\x20%0','getFirstPosition','model','toUpperCase','list.properties','change','createRange','length','listType','selection','listItem','handleListStartCommand','from','get','numbered','enableCommand','push','replace','getListTypeFromListStyleType','_getSuggestionBlocksForListStyle','element','afterInit','forward','ListPropertiesEditing','filter','backward','listReversed','type','locale','registerDescriptionCallback','config','_getTranslationKeyForListStyle','getSelectedBlocks','getLastPosition','TrackChangesEditing','markMultiRangeBlockFormat','createPositionAt','map','reversed','commandParams','before','handleDescriptions','listStyle','bind','getSiblingNodes'];(function(_0x570a9b,_0x5ee9ce){const _0x259085=function(_0x2c8382){while(--_0x2c8382){_0x570a9b['push'](_0x570a9b['shift']());}};_0x259085(++_0x5ee9ce);}(_0x5ee9,0x1d1));const _0x2590=function(_0x570a9b,_0x5ee9ce){_0x570a9b=_0x570a9b-0x0;let _0x259085=_0x5ee9[_0x570a9b];return _0x259085;};import{Plugin as _0x13d792}from'ckeditor5/src/core';import{getTranslation as _0x1e039e}from'../utils/common-translations';export default class ot extends _0x13d792{[_0x2590('0x17')](){if(!this[_0x2590('0x39')]['plugins'][_0x2590('0x3d')](_0x2590('0x19')))return;const _0x172716=this[_0x2590('0x39')][_0x2590('0x20')][_0x2590('0xf')](_0x2590('0x6')),_0x4269c4=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24'));_0x172716[_0x2590('0x35')]&&_0x4269c4[_0x2590('0x11')]('listStyle',this[_0x2590('0x34')][_0x2590('0x2d')](this)),_0x172716[_0x2590('0x28')]&&_0x4269c4[_0x2590('0x11')]('listReversed',this[_0x2590('0x30')]['bind'](this)),_0x172716['startIndex']&&_0x4269c4['enableCommand']('listStart',this[_0x2590('0xd')][_0x2590('0x2d')](this)),_0x4269c4[_0x2590('0x37')][_0x2590('0x1f')](this[_0x2590('0x2b')]['bind'](this));}['handleListStyleCommand'](_0x27418b,_0x3df91a={}){const _0x2e80c7=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24')),_0x596c21=this[_0x2590('0x15')]();this['editor'][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x2e80c7[_0x2590('0x25')](_0x596c21,{'commandName':_0x2590('0x2c'),'commandParams':[{'type':_0x3df91a[_0x2590('0x1d')]}],'formatGroupId':_0x2590('0x2c')});});}[_0x2590('0x30')](_0x311d4b,_0x15ec85={}){const _0x5d74c2=this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x24')),_0x289cf5=this[_0x2590('0x3f')](_0xdfdf24=>_0xdfdf24['is'](_0x2590('0x16'),_0x2590('0xc'))&&_0x2590('0x10')===_0xdfdf24[_0x2590('0x36')](_0x2590('0xa')));if(_0x289cf5[_0x2590('0x9')]<0x1)return;const _0x25b55=_0x289cf5[_0x2590('0x27')](_0x202b43=>this[_0x2590('0x39')]['model'][_0x2590('0x8')](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x202b43,'before'),this['editor'][_0x2590('0x4')][_0x2590('0x26')](_0x202b43,0x0)));this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x5d74c2['markMultiRangeBlockFormat'](_0x25b55,{'commandName':'listReversed','commandParams':[{'reversed':_0x15ec85[_0x2590('0x28')]}],'formatGroupId':_0x2590('0x1c')});});}[_0x2590('0xd')](_0x487611,_0x208ed7={}){const _0x279382=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24')),_0xc9b380=this['_getSuggestionBlocks'](_0x5dd741=>_0x5dd741['is']('element',_0x2590('0xc'))&&_0x2590('0x10')===_0x5dd741[_0x2590('0x36')](_0x2590('0xa')));if(_0xc9b380[_0x2590('0x9')]<0x1)return;const _0x290f26=_0xc9b380[_0x2590('0x27')](_0x496ec4=>this[_0x2590('0x39')][_0x2590('0x4')]['createRange'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x496ec4,_0x2590('0x2a')),this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x496ec4,0x0)));this['editor'][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x279382['markMultiRangeBlockFormat'](_0x290f26,{'commandName':'listStart','commandParams':[{'startIndex':_0x208ed7[_0x2590('0x31')]}],'formatGroupId':_0x2590('0x38')});});}['handleDescriptions'](_0x2cb5e0){const _0x37acf6=this[_0x2590('0x39')][_0x2590('0x1e')],{data:_0x130833}=_0x2cb5e0;if(!_0x130833)return;let _0x6a5ebe,_0x3623b0;switch(_0x130833[_0x2590('0x1')]){case _0x2590('0x2c'):_0x6a5ebe=_0x2590('0x2'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe,_0x1e039e(_0x37acf6,this[_0x2590('0x21')](_0x130833[_0x2590('0x29')][0x0][_0x2590('0x1d')])))};break;case _0x2590('0x1c'):_0x6a5ebe=_0x130833['commandParams'][0x0][_0x2590('0x28')]?_0x2590('0x0'):_0x2590('0x2f'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe)};break;case _0x2590('0x38'):_0x6a5ebe=_0x2590('0x3c'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe,_0x130833['commandParams'][0x0][_0x2590('0x31')])};}return _0x3623b0;}[_0x2590('0x15')](){var _0x5ee233,_0x5ca43e,_0x28fd8c,_0xc3f186;const _0x173805=this['editor']['plugins'][_0x2590('0xf')](_0x2590('0x3e'));let _0x544e72=Array['from'](this[_0x2590('0x39')][_0x2590('0x4')]['document'][_0x2590('0xb')][_0x2590('0x22')]());return(null===(_0x5ee233=_0x544e72[0x0])||void 0x0===_0x5ee233?void 0x0:_0x5ee233['is']('element',_0x2590('0xc')))&&_0x544e72['unshift'](..._0x173805['getSiblingNodes'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x3')](),_0x2590('0x1b'))),(null===(_0x5ca43e=_0x544e72[_0x544e72[_0x2590('0x9')]-0x1])||void 0x0===_0x5ca43e?void 0x0:_0x5ca43e['is']('element',_0x2590('0xc')))&&_0x544e72[_0x2590('0x12')](..._0x173805['getSiblingNodes'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x23')](),_0x2590('0x18'))),_0x544e72=[...new Set(_0x544e72)],(null===(_0xc3f186=null===(_0x28fd8c=this['editor'][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x3')]())||void 0x0===_0x28fd8c?void 0x0:_0x28fd8c[_0x2590('0x33')])||void 0x0===_0xc3f186?void 0x0:_0xc3f186['is']('element',_0x2590('0xc')))&&(_0x544e72=_0x544e72['filter'](_0x34d903=>_0x34d903['is']('element',_0x2590('0xc')))),_0x544e72;}[_0x2590('0x3f')](_0x4a31ec){const _0x5818ae=this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x3e'));let _0x76fe21=Array[_0x2590('0xe')](this[_0x2590('0x39')]['model'][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x22')]())[_0x2590('0x1a')](_0x4a31ec)[_0x2590('0x27')](_0x43ac71=>{const _0x361704=this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x43ac71,0x0);return[..._0x5818ae['getSiblingNodes'](_0x361704,_0x2590('0x1b')),..._0x5818ae[_0x2590('0x2e')](_0x361704,_0x2590('0x18'))];})['flat']();return _0x76fe21=[...new Set(_0x76fe21)],_0x76fe21;}[_0x2590('0x21')](_0x2048ce){return'ELEMENT_'+this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x3e'))[_0x2590('0x14')](_0x2048ce)['toUpperCase']()+'_LIST_'+_0x2048ce[_0x2590('0x5')]()[_0x2590('0x13')](/-/g,'_');}}
23
+ const _0x4507=['_getSuggestionBlocksForListStyle','type','listReversed','getListTypeFromListStyleType','enableCommand','length','list.properties','*Format:*\x20set\x20order\x20to\x20regular','getSiblingNodes','get','startIndex','markMultiRangeBlockFormat','plugins','*Format:*\x20set\x20order\x20to\x20reversed','replace','document','getFirstPosition','map','handleDescriptions','listType','commandParams','ListUtils','registerDescriptionCallback','parent','editor','model','handleListReversedCommand','filter','numbered','getAttribute','change','getLastPosition','bind','element','_LIST_','listItem','unshift','from','before','TrackChangesEditing','commandName','toUpperCase','format','*Change\x20to:*\x20%0','listStyle','_getTranslationKeyForListStyle','reversed','_descriptionFactory','createPositionAt','backward','_getSuggestionBlocks','push','forward','selection','createRange','handleListStyleCommand','handleListStartCommand','listStart'];(function(_0x2ca228,_0x450722){const _0x186044=function(_0x496f3b){while(--_0x496f3b){_0x2ca228['push'](_0x2ca228['shift']());}};_0x186044(++_0x450722);}(_0x4507,0x11f));const _0x1860=function(_0x2ca228,_0x450722){_0x2ca228=_0x2ca228-0x0;let _0x186044=_0x4507[_0x2ca228];return _0x186044;};import{Plugin as _0x206da3}from'ckeditor5/src/core';import{getTranslation as _0x1c3bcf}from'../utils/common-translations';export default class ot extends _0x206da3{['afterInit'](){if(!this[_0x1860('0x1b')][_0x1860('0xf')]['has']('ListPropertiesEditing'))return;const _0x48d0ee=this[_0x1860('0x1b')]['config'][_0x1860('0xc')](_0x1860('0x9')),_0x439f31=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a'));_0x48d0ee['styles']&&_0x439f31['enableCommand'](_0x1860('0x2f'),this[_0x1860('0x0')][_0x1860('0x23')](this)),_0x48d0ee['reversed']&&_0x439f31[_0x1860('0x7')]('listReversed',this[_0x1860('0x1d')][_0x1860('0x23')](this)),_0x48d0ee[_0x1860('0xd')]&&_0x439f31['enableCommand'](_0x1860('0x2'),this[_0x1860('0x1')]['bind'](this)),_0x439f31[_0x1860('0x32')][_0x1860('0x19')](this[_0x1860('0x15')][_0x1860('0x23')](this));}[_0x1860('0x0')](_0x856195,_0x55a294={}){const _0x5156d8=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')]('TrackChangesEditing'),_0x4164a0=this[_0x1860('0x3')]();this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x5156d8[_0x1860('0xe')](_0x4164a0,{'commandName':_0x1860('0x2f'),'commandParams':[{'type':_0x55a294[_0x1860('0x4')]}],'formatGroupId':_0x1860('0x2f')});});}[_0x1860('0x1d')](_0x50915f,_0x304a8e={}){const _0x9b3bb3=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('TrackChangesEditing'),_0x1aa29d=this[_0x1860('0x35')](_0xb59cae=>_0xb59cae['is'](_0x1860('0x24'),'listItem')&&_0x1860('0x1f')===_0xb59cae[_0x1860('0x20')](_0x1860('0x16')));if(_0x1aa29d[_0x1860('0x8')]<0x1)return;const _0x27b013=_0x1aa29d[_0x1860('0x14')](_0x39c0f0=>this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x39')](this[_0x1860('0x1b')]['model']['createPositionAt'](_0x39c0f0,_0x1860('0x29')),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x39c0f0,0x0)));this[_0x1860('0x1b')][_0x1860('0x1c')]['change'](()=>{_0x9b3bb3['markMultiRangeBlockFormat'](_0x27b013,{'commandName':_0x1860('0x5'),'commandParams':[{'reversed':_0x304a8e[_0x1860('0x31')]}],'formatGroupId':_0x1860('0x5')});});}[_0x1860('0x1')](_0x1df371,_0x16093c={}){const _0x183d9f=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a')),_0xf2d104=this[_0x1860('0x35')](_0x10b2ba=>_0x10b2ba['is'](_0x1860('0x24'),_0x1860('0x26'))&&_0x1860('0x1f')===_0x10b2ba[_0x1860('0x20')](_0x1860('0x16')));if(_0xf2d104['length']<0x1)return;const _0x13b064=_0xf2d104[_0x1860('0x14')](_0x3e71b8=>this[_0x1860('0x1b')][_0x1860('0x1c')]['createRange'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,'before'),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,0x0)));this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x183d9f['markMultiRangeBlockFormat'](_0x13b064,{'commandName':_0x1860('0x2'),'commandParams':[{'startIndex':_0x16093c[_0x1860('0xd')]}],'formatGroupId':_0x1860('0x2')});});}[_0x1860('0x15')](_0x300e77){const _0x3d76b6=this['editor']['locale'],{data:_0x177e75}=_0x300e77;if(!_0x177e75)return;let _0x50f60d,_0x3170da;switch(_0x177e75[_0x1860('0x2b')]){case'listStyle':_0x50f60d=_0x1860('0x2e'),_0x3170da={'type':'format','content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x1c3bcf(_0x3d76b6,this[_0x1860('0x30')](_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x4')])))};break;case'listReversed':_0x50f60d=_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x31')]?_0x1860('0x10'):_0x1860('0xa'),_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d)};break;case _0x1860('0x2'):_0x50f60d='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x177e75[_0x1860('0x17')][0x0][_0x1860('0xd')])};}return _0x3170da;}[_0x1860('0x3')](){var _0x530e7b,_0x561348,_0x5707f6,_0x3a9e30;const _0x171910=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('ListUtils');let _0x45a547=Array['from'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')]['selection']['getSelectedBlocks']());return(null===(_0x530e7b=_0x45a547[0x0])||void 0x0===_0x530e7b?void 0x0:_0x530e7b['is']('element','listItem'))&&_0x45a547[_0x1860('0x27')](..._0x171910[_0x1860('0xb')](this[_0x1860('0x1b')]['model'][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x13')](),_0x1860('0x34'))),(null===(_0x561348=_0x45a547[_0x45a547[_0x1860('0x8')]-0x1])||void 0x0===_0x561348?void 0x0:_0x561348['is'](_0x1860('0x24'),_0x1860('0x26')))&&_0x45a547[_0x1860('0x36')](..._0x171910['getSiblingNodes'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x22')](),'forward')),_0x45a547=[...new Set(_0x45a547)],(null===(_0x3a9e30=null===(_0x5707f6=this['editor'][_0x1860('0x1c')]['document'][_0x1860('0x38')][_0x1860('0x13')]())||void 0x0===_0x5707f6?void 0x0:_0x5707f6[_0x1860('0x1a')])||void 0x0===_0x3a9e30?void 0x0:_0x3a9e30['is']('element',_0x1860('0x26')))&&(_0x45a547=_0x45a547['filter'](_0x55fbba=>_0x55fbba['is']('element','listItem'))),_0x45a547;}['_getSuggestionBlocks'](_0x54a07e){const _0x526003=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')](_0x1860('0x18'));let _0x221f35=Array[_0x1860('0x28')](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')]['getSelectedBlocks']())[_0x1860('0x1e')](_0x54a07e)[_0x1860('0x14')](_0x26999e=>{const _0x5838c2=this[_0x1860('0x1b')]['model'][_0x1860('0x33')](_0x26999e,0x0);return[..._0x526003['getSiblingNodes'](_0x5838c2,'backward'),..._0x526003[_0x1860('0xb')](_0x5838c2,_0x1860('0x37'))];})['flat']();return _0x221f35=[...new Set(_0x221f35)],_0x221f35;}[_0x1860('0x30')](_0x7ccb3e){return'ELEMENT_'+this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')]('ListUtils')[_0x1860('0x6')](_0x7ccb3e)['toUpperCase']()+_0x1860('0x25')+_0x7ccb3e[_0x1860('0x2c')]()[_0x1860('0x11')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11e9=['ELEMENT_MEDIA','media','MediaEmbedEditing','options','afterInit','has','locale','high','_descriptionFactory','showSuggestionHighlights','dataDowncast','div','createEmptyElement','data','mediaEmbed','plugins','get','TrackChangesEditing','for'];(function(_0x479fa9,_0x11e908){const _0x2bfe72=function(_0x96548f){while(--_0x96548f){_0x479fa9['push'](_0x479fa9['shift']());}};_0x2bfe72(++_0x11e908);}(_0x11e9,0x191));const _0x2bfe=function(_0x479fa9,_0x11e908){_0x479fa9=_0x479fa9-0x0;let _0x2bfe72=_0x11e9[_0x479fa9];return _0x2bfe72;};import{Plugin as _0x15172f}from'ckeditor5/src/core';import{getTranslation as _0xd8668}from'../utils/common-translations';export default class rt extends _0x15172f{[_0x2bfe('0x2')](){const _0x1f811a=this['editor'];if(!_0x1f811a[_0x2bfe('0xd')][_0x2bfe('0x3')](_0x2bfe('0x0')))return;const _0xb5b0a0=_0x1f811a['plugins'][_0x2bfe('0xe')](_0x2bfe('0xf')),_0x549dae=_0x1f811a[_0x2bfe('0x4')];_0xb5b0a0['enableCommand'](_0x2bfe('0xc')),_0xb5b0a0[_0x2bfe('0x6')]['registerElementLabel'](_0x2bfe('0x12'),_0xf27a23=>_0xd8668(_0x549dae,_0x2bfe('0x11'),_0xf27a23)),_0x1f811a['conversion'][_0x2bfe('0x10')](_0x2bfe('0x8'))['elementToElement']({'model':_0x2bfe('0x12'),'view':(_0x28e047,{writer:_0x431ee1,options:_0x219e87})=>{if(_0x219e87[_0x2bfe('0x7')])return _0x431ee1[_0x2bfe('0xa')](_0x2bfe('0x9'));},'converterPriority':_0x2bfe('0x5')}),_0x1f811a[_0x2bfe('0xb')]['downcastDispatcher']['on']('attribute:url:media',(_0xb4879e,_0x2fdd0e,_0x21c5fc)=>{_0x21c5fc[_0x2bfe('0x1')][_0x2bfe('0x7')]&&_0xb4879e['stop']();},{'priority':_0x2bfe('0x5')});}}
23
+ const _0x1e94=['has','registerElementLabel','dataDowncast','_descriptionFactory','TrackChangesEditing','showSuggestionHighlights','editor','for','stop','options','MediaEmbedEditing','createEmptyElement','high','plugins','ELEMENT_MEDIA','enableCommand','div','data','media','afterInit','elementToElement'];(function(_0x17b925,_0x1e9430){const _0x1e7f33=function(_0x5720ce){while(--_0x5720ce){_0x17b925['push'](_0x17b925['shift']());}};_0x1e7f33(++_0x1e9430);}(_0x1e94,0xc7));const _0x1e7f=function(_0x17b925,_0x1e9430){_0x17b925=_0x17b925-0x0;let _0x1e7f33=_0x1e94[_0x17b925];return _0x1e7f33;};import{Plugin as _0x532901}from'ckeditor5/src/core';import{getTranslation as _0xd6c6ad}from'../utils/common-translations';export default class rt extends _0x532901{[_0x1e7f('0x9')](){const _0x52af23=this[_0x1e7f('0x11')];if(!_0x52af23[_0x1e7f('0x3')][_0x1e7f('0xb')](_0x1e7f('0x0')))return;const _0x2b24bb=_0x52af23['plugins']['get'](_0x1e7f('0xf')),_0x887872=_0x52af23['locale'];_0x2b24bb[_0x1e7f('0x5')]('mediaEmbed'),_0x2b24bb[_0x1e7f('0xe')][_0x1e7f('0xc')]('media',_0x4f8573=>_0xd6c6ad(_0x887872,_0x1e7f('0x4'),_0x4f8573)),_0x52af23['conversion'][_0x1e7f('0x12')](_0x1e7f('0xd'))[_0x1e7f('0xa')]({'model':_0x1e7f('0x8'),'view':(_0x446961,{writer:_0x5e7218,options:_0x7edf2a})=>{if(_0x7edf2a[_0x1e7f('0x10')])return _0x5e7218[_0x1e7f('0x1')](_0x1e7f('0x6'));},'converterPriority':_0x1e7f('0x2')}),_0x52af23[_0x1e7f('0x7')]['downcastDispatcher']['on']('attribute:url:media',(_0x38f4b5,_0x262504,_0x5e776b)=>{_0x5e776b[_0x1e7f('0x14')][_0x1e7f('0x10')]&&_0x38f4b5[_0x1e7f('0x13')]();},{'priority':_0x1e7f('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3035=['afterInit','get','enableCommand','mention','TrackChangesEditing','has','plugins'];(function(_0xc13a53,_0x3035db){const _0xcb879f=function(_0x46eaf4){while(--_0x46eaf4){_0xc13a53['push'](_0xc13a53['shift']());}};_0xcb879f(++_0x3035db);}(_0x3035,0x96));const _0xcb87=function(_0xc13a53,_0x3035db){_0xc13a53=_0xc13a53-0x0;let _0xcb879f=_0x3035[_0xc13a53];return _0xcb879f;};import{Plugin as _0x4cb465}from'ckeditor5/src/core';export default class at extends _0x4cb465{[_0xcb87('0x4')](){const _0x43b1bd=this['editor'];_0x43b1bd[_0xcb87('0x3')][_0xcb87('0x2')]('MentionEditing')&&_0x43b1bd[_0xcb87('0x3')][_0xcb87('0x5')](_0xcb87('0x1'))[_0xcb87('0x6')](_0xcb87('0x0'));}}
23
+ const _0x4a64=['editor','mention','has','TrackChangesEditing','get','plugins'];(function(_0x5f0471,_0x4a64d0){const _0xcd3c1a=function(_0x2cbb2a){while(--_0x2cbb2a){_0x5f0471['push'](_0x5f0471['shift']());}};_0xcd3c1a(++_0x4a64d0);}(_0x4a64,0x1f3));const _0xcd3c=function(_0x5f0471,_0x4a64d0){_0x5f0471=_0x5f0471-0x0;let _0xcd3c1a=_0x4a64[_0x5f0471];return _0xcd3c1a;};import{Plugin as _0x196913}from'ckeditor5/src/core';export default class at extends _0x196913{['afterInit'](){const _0x454d3b=this[_0xcd3c('0x5')];_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x1')]('MentionEditing')&&_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x3')](_0xcd3c('0x2'))['enableCommand'](_0xcd3c('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87ad=['_descriptionFactory','PageBreakEditing','locale','TrackChangesEditing','editor','pageBreak','has','afterInit','get','ELEMENT_PAGE_BREAK','plugins'];(function(_0x471f54,_0x87ad41){const _0x3de03a=function(_0x435245){while(--_0x435245){_0x471f54['push'](_0x471f54['shift']());}};_0x3de03a(++_0x87ad41);}(_0x87ad,0x18f));const _0x3de0=function(_0x471f54,_0x87ad41){_0x471f54=_0x471f54-0x0;let _0x3de03a=_0x87ad[_0x471f54];return _0x3de03a;};import{Plugin as _0x5bbd8b}from'ckeditor5/src/core';import{getTranslation as _0x4151af}from'../utils/common-translations';export default class ct extends _0x5bbd8b{[_0x3de0('0x4')](){const _0x5c1c6b=this[_0x3de0('0x1')];if(!_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x3')](_0x3de0('0x9')))return;_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x5')]('TrackChangesEditing')['enableCommand'](_0x3de0('0x2'));const _0x11fb13=_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x5')](_0x3de0('0x0')),_0x1465a3=_0x5c1c6b[_0x3de0('0xa')];_0x11fb13[_0x3de0('0x8')]['registerElementLabel'](_0x3de0('0x2'),_0x57cc98=>_0x4151af(_0x1465a3,_0x3de0('0x6'),_0x57cc98));}}
23
+ const _0x1263=['ELEMENT_PAGE_BREAK','enableCommand','has','PageBreakEditing','locale','_descriptionFactory','plugins','get','editor','TrackChangesEditing'];(function(_0x48a241,_0x1263b8){const _0x5bf175=function(_0x4ab9f3){while(--_0x4ab9f3){_0x48a241['push'](_0x48a241['shift']());}};_0x5bf175(++_0x1263b8);}(_0x1263,0x195));const _0x5bf1=function(_0x48a241,_0x1263b8){_0x48a241=_0x48a241-0x0;let _0x5bf175=_0x1263[_0x48a241];return _0x5bf175;};import{Plugin as _0x3c9fe5}from'ckeditor5/src/core';import{getTranslation as _0x3e3568}from'../utils/common-translations';export default class ct extends _0x3c9fe5{['afterInit'](){const _0x3eddd2=this[_0x5bf1('0x3')];if(!_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x7')](_0x5bf1('0x8')))return;_0x3eddd2['plugins']['get'](_0x5bf1('0x4'))[_0x5bf1('0x6')]('pageBreak');const _0x73f0eb=_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x2')](_0x5bf1('0x4')),_0x393f38=_0x3eddd2[_0x5bf1('0x9')];_0x73f0eb[_0x5bf1('0x0')]['registerElementLabel']('pageBreak',_0x536179=>_0x3e3568(_0x393f38,_0x5bf1('0x5'),_0x536179));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e30=['isTouching','schema','writer','bindElementToMarker','registerDescriptionCallback','mapper','commandName','ELEMENT_PARAGRAPH','consumable','editing','editor','getFirstRange','highest','blockName','paragraph','document','insertion','locale','get','nodeAfter','afterInit','activeMarkers','type','end','insertParagraph','TrackChangesEditing','span','_descriptionFactory','selection','includes','ck-suggestion-marker-split','consume','from','checkChild','isBlock','options','*Change\x20to:*\x20%0','parent','isObject','enableCommand','markBlockFormat','addClass','addMarker:suggestion:insertion','$text','markerName','markerRange','registerElementLabel','createUIElement','plugins','showSuggestionHighlights','has','format','getSelectedBlocks','downcastDispatcher','model'];(function(_0x54bb41,_0x1e3066){const _0x37ef46=function(_0x261452){while(--_0x261452){_0x54bb41['push'](_0x54bb41['shift']());}};_0x37ef46(++_0x1e3066);}(_0x1e30,0x1c8));const _0x37ef=function(_0x54bb41,_0x1e3066){_0x54bb41=_0x54bb41-0x0;let _0x37ef46=_0x1e30[_0x54bb41];return _0x37ef46;};import{Plugin as _0x55841b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2d06ab}from'./utils';import{getTranslation as _0xdac6a4}from'../utils/common-translations';export default class ht extends _0x55841b{[_0x37ef('0x4')](){const _0x140b71=this['editor'];if(!_0x140b71[_0x37ef('0x20')][_0x37ef('0x22')]('Paragraph'))return;const _0xb1d4c1=_0x140b71[_0x37ef('0x1')],_0x122311=_0x140b71[_0x37ef('0x20')][_0x37ef('0x2')]('TrackChangesEditing');_0x122311['_descriptionFactory'][_0x37ef('0x1e')](_0x37ef('0x35'),_0x482288=>_0xdac6a4(_0xb1d4c1,_0x37ef('0x2e'),_0x482288)),_0x122311[_0x37ef('0x17')]('paragraph',(_0x19da23,_0x1b9bfb={})=>{const _0x248351=_0x140b71['model'][_0x37ef('0x36')],_0x3e240c=_0x1b9bfb[_0x37ef('0xc')]||_0x248351[_0x37ef('0xc')],_0xa9e81a=Array[_0x37ef('0x10')](_0x3e240c[_0x37ef('0x24')]())['filter'](_0x54bb31=>function(_0x3c17bf,_0x25ac54){return _0x25ac54[_0x37ef('0x11')](_0x3c17bf[_0x37ef('0x15')],_0x37ef('0x35'))&&!_0x25ac54[_0x37ef('0x16')](_0x3c17bf)&&_0x37ef('0x35')!=_0x3c17bf['name'];}(_0x54bb31,this[_0x37ef('0x31')][_0x37ef('0x26')]['schema']));_0x140b71[_0x37ef('0x26')]['change'](()=>{for(const _0x1003f0 of _0xa9e81a)_0x122311[_0x37ef('0x18')](_0x1003f0,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x37ef('0x34')},_0x2d06ab(_0x1003f0));});}),_0x122311[_0x37ef('0xb')][_0x37ef('0x2b')](_0x444249=>{const {data:_0x163cbc}=_0x444249;if(_0x163cbc&&'paragraph'==_0x163cbc[_0x37ef('0x2d')])return{'type':_0x37ef('0x23'),'content':_0xdac6a4(_0xb1d4c1,_0x37ef('0x14'),_0xdac6a4(_0xb1d4c1,_0x37ef('0x2e')))};}),_0x122311[_0x37ef('0x17')](_0x37ef('0x8')),_0x140b71[_0x37ef('0x30')]['downcastDispatcher']['on'](_0x37ef('0x1a'),ar(_0x140b71),{'priority':_0x37ef('0x33')}),_0x140b71['data'][_0x37ef('0x25')]['on'](_0x37ef('0x1a'),(_0x408ae3,_0x411aac,_0x30bbb2)=>{_0x30bbb2[_0x37ef('0x13')][_0x37ef('0x21')]&&ar(_0x140b71,{'showActiveMarker':!0x1})(_0x408ae3,_0x411aac,_0x30bbb2);},{'priority':_0x37ef('0x33')});const _0x109187=_0x122311[_0x37ef('0xb')];_0x109187[_0x37ef('0x2b')](_0x536402=>{if(_0x37ef('0x0')!==_0x536402[_0x37ef('0x6')])return;const {start:_0x2e1e1e,end:_0x52aa8b}=_0x536402[_0x37ef('0x32')]();if(!_0x2e1e1e[_0x37ef('0x27')](_0x52aa8b)||!_0x2e1e1e[_0x37ef('0x3')])return;const _0x1edfba=_0x140b71['model'][_0x37ef('0x28')],_0x56ec87=_0x2e1e1e[_0x37ef('0x3')];return _0x1edfba[_0x37ef('0x12')](_0x56ec87)&&!_0x1edfba['isLimit'](_0x56ec87)&&_0x1edfba[_0x37ef('0x11')](_0x56ec87,_0x37ef('0x1b'))?{'type':_0x37ef('0x0'),'content':_0xdac6a4(_0xb1d4c1,'*Insert:*\x20%0',_0x109187['getItemLabel'](_0x56ec87,0x1))}:void 0x0;});}}function ar(_0x438847,{showActiveMarker:_0x21d151=!0x0}={}){return(_0x2d9740,_0x36595a,_0x5bbc33)=>{const _0x7fcb83=_0x438847['plugins']['get'](_0x37ef('0x9')),_0x2e1e16=_0x36595a[_0x37ef('0x1d')]['start'],_0x3d3405=_0x36595a[_0x37ef('0x1d')][_0x37ef('0x7')],_0x4873af=_0x438847[_0x37ef('0x26')]['schema'];if(!_0x2e1e16[_0x37ef('0x27')](_0x3d3405)||!_0x2e1e16['nodeAfter'])return;const _0x2e57c8=_0x2e1e16[_0x37ef('0x3')];if(_0x4873af['isBlock'](_0x2e57c8)&&!_0x4873af['isLimit'](_0x2e57c8)&&_0x4873af['checkChild'](_0x2e57c8,_0x37ef('0x1b'))){if(!_0x5bbc33[_0x37ef('0x2f')][_0x37ef('0xf')](_0x36595a[_0x37ef('0x1d')],_0x2d9740['name']))return;const _0x42e206=_0x5bbc33['writer'][_0x37ef('0x1f')](_0x37ef('0xa'),{'class':_0x37ef('0xe')}),_0x170e62=_0x5bbc33[_0x37ef('0x2c')]['toViewPosition'](_0x3d3405);_0x21d151&&_0x7fcb83[_0x37ef('0x5')][_0x37ef('0xd')](_0x36595a[_0x37ef('0x1c')])&&_0x5bbc33['writer'][_0x37ef('0x19')]('ck-suggestion-marker--active',_0x42e206),_0x5bbc33[_0x37ef('0x29')]['insert'](_0x170e62,_0x42e206),_0x5bbc33[_0x37ef('0x2c')][_0x37ef('0x2a')](_0x42e206,_0x36595a[_0x37ef('0x1c')]);}};}
23
+ const _0x3c18=['end','showSuggestionHighlights','plugins','getItemLabel','ck-suggestion-marker--active','writer','commandName','checkChild','nodeAfter','markerName','downcastDispatcher','consume','parent','activeMarkers','insert','options','type','enableCommand','name','schema','selection','getFirstRange','TrackChangesEditing','editor','*Insert:*\x20%0','paragraph','isBlock','blockName','change','markBlockFormat','isTouching','highest','registerElementLabel','registerDescriptionCallback','Paragraph','isObject','consumable','mapper','afterInit','markerRange','model','$text','get','_descriptionFactory','isLimit','addClass','filter','format','createUIElement','span','getSelectedBlocks','toViewPosition','insertion'];(function(_0x239367,_0x3c1854){const _0x5a736f=function(_0x2c9cdf){while(--_0x2c9cdf){_0x239367['push'](_0x239367['shift']());}};_0x5a736f(++_0x3c1854);}(_0x3c18,0xf9));const _0x5a73=function(_0x239367,_0x3c1854){_0x239367=_0x239367-0x0;let _0x5a736f=_0x3c18[_0x239367];return _0x5a736f;};import{Plugin as _0x3f5b4a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2276e8}from'./utils';import{getTranslation as _0x3b7d76}from'../utils/common-translations';export default class ht extends _0x3f5b4a{[_0x5a73('0x1')](){const _0x18c70e=this[_0x5a73('0x27')];if(!_0x18c70e[_0x5a73('0x12')]['has'](_0x5a73('0x32')))return;const _0x365148=_0x18c70e['locale'],_0x1b9a65=_0x18c70e['plugins']['get'](_0x5a73('0x26'));_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x30')](_0x5a73('0x29'),_0x10aec7=>_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH',_0x10aec7)),_0x1b9a65[_0x5a73('0x21')](_0x5a73('0x29'),(_0x42f39f,_0x52e47e={})=>{const _0x347efb=_0x18c70e['model']['document'],_0xc9f7c0=_0x52e47e[_0x5a73('0x24')]||_0x347efb[_0x5a73('0x24')],_0x660334=Array['from'](_0xc9f7c0[_0x5a73('0xd')]())[_0x5a73('0x9')](_0x282994=>function(_0x2893fa,_0x3950cf){return _0x3950cf[_0x5a73('0x17')](_0x2893fa[_0x5a73('0x1c')],'paragraph')&&!_0x3950cf[_0x5a73('0x33')](_0x2893fa)&&'paragraph'!=_0x2893fa[_0x5a73('0x22')];}(_0x282994,this[_0x5a73('0x27')][_0x5a73('0x3')][_0x5a73('0x23')]));_0x18c70e[_0x5a73('0x3')][_0x5a73('0x2c')](()=>{for(const _0x26cffd of _0x660334)_0x1b9a65[_0x5a73('0x2d')](_0x26cffd,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x5a73('0x2b')},_0x2276e8(_0x26cffd));});}),_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x31')](_0x2725dc=>{const {data:_0x430b83}=_0x2725dc;if(_0x430b83&&_0x5a73('0x29')==_0x430b83[_0x5a73('0x16')])return{'type':_0x5a73('0xa'),'content':_0x3b7d76(_0x365148,'*Change\x20to:*\x20%0',_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH'))};}),_0x1b9a65['enableCommand']('insertParagraph'),_0x18c70e['editing'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',ar(_0x18c70e),{'priority':'highest'}),_0x18c70e['data'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',(_0x43a95a,_0x374d22,_0x58f9d1)=>{_0x58f9d1[_0x5a73('0x1f')][_0x5a73('0x11')]&&ar(_0x18c70e,{'showActiveMarker':!0x1})(_0x43a95a,_0x374d22,_0x58f9d1);},{'priority':_0x5a73('0x2f')});const _0x32b531=_0x1b9a65['_descriptionFactory'];_0x32b531[_0x5a73('0x31')](_0x68ce9d=>{if(_0x5a73('0xf')!==_0x68ce9d[_0x5a73('0x20')])return;const {start:_0x34e510,end:_0x4c08c5}=_0x68ce9d[_0x5a73('0x25')]();if(!_0x34e510[_0x5a73('0x2e')](_0x4c08c5)||!_0x34e510[_0x5a73('0x18')])return;const _0x7a7d1d=_0x18c70e[_0x5a73('0x3')]['schema'],_0xf5c1b=_0x34e510[_0x5a73('0x18')];return _0x7a7d1d[_0x5a73('0x2a')](_0xf5c1b)&&!_0x7a7d1d[_0x5a73('0x7')](_0xf5c1b)&&_0x7a7d1d[_0x5a73('0x17')](_0xf5c1b,_0x5a73('0x4'))?{'type':_0x5a73('0xf'),'content':_0x3b7d76(_0x365148,_0x5a73('0x28'),_0x32b531[_0x5a73('0x13')](_0xf5c1b,0x1))}:void 0x0;});}}function ar(_0x129d0e,{showActiveMarker:_0x5e346d=!0x0}={}){return(_0x2c08af,_0x198e45,_0x22ed6f)=>{const _0x433d1a=_0x129d0e[_0x5a73('0x12')][_0x5a73('0x5')](_0x5a73('0x26')),_0x60bf16=_0x198e45[_0x5a73('0x2')]['start'],_0x5f172c=_0x198e45[_0x5a73('0x2')][_0x5a73('0x10')],_0x49851f=_0x129d0e['model'][_0x5a73('0x23')];if(!_0x60bf16['isTouching'](_0x5f172c)||!_0x60bf16['nodeAfter'])return;const _0x269864=_0x60bf16[_0x5a73('0x18')];if(_0x49851f[_0x5a73('0x2a')](_0x269864)&&!_0x49851f[_0x5a73('0x7')](_0x269864)&&_0x49851f[_0x5a73('0x17')](_0x269864,'$text')){if(!_0x22ed6f[_0x5a73('0x34')][_0x5a73('0x1b')](_0x198e45[_0x5a73('0x2')],_0x2c08af[_0x5a73('0x22')]))return;const _0x35e062=_0x22ed6f[_0x5a73('0x15')][_0x5a73('0xb')](_0x5a73('0xc'),{'class':'ck-suggestion-marker-split'}),_0x323342=_0x22ed6f[_0x5a73('0x0')][_0x5a73('0xe')](_0x5f172c);_0x5e346d&&_0x433d1a[_0x5a73('0x1d')]['includes'](_0x198e45[_0x5a73('0x19')])&&_0x22ed6f['writer'][_0x5a73('0x8')](_0x5a73('0x14'),_0x35e062),_0x22ed6f['writer'][_0x5a73('0x1e')](_0x323342,_0x35e062),_0x22ed6f[_0x5a73('0x0')]['bindElementToMarker'](_0x35e062,_0x198e45['markerName']);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38e2=['RemoveFormatEditing','getItems','change','schema','*Remove\x20all\x20formatting*','isFormatting','getAttributeProperties','selection','afterInit','markInlineFormat','TrackChangesEditing','format','from','has','plugins','model','locale','enableCommand','getRanges','removeFormat','editor','getAttributes','createRangeOn','document','_descriptionFactory','isCollapsed','registerDescriptionCallback'];(function(_0xb105a2,_0x38e262){const _0x2c1801=function(_0x874a53){while(--_0x874a53){_0xb105a2['push'](_0xb105a2['shift']());}};_0x2c1801(++_0x38e262);}(_0x38e2,0x92));const _0x2c18=function(_0xb105a2,_0x38e262){_0xb105a2=_0xb105a2-0x0;let _0x2c1801=_0x38e2[_0xb105a2];return _0x2c1801;};import{Plugin as _0x5dcaaf}from'ckeditor5/src/core';import{getTranslation as _0x12f229}from'../utils/common-translations';export default class ut extends _0x5dcaaf{[_0x2c18('0x18')](){const _0x3e5d4b=this[_0x2c18('0x9')];if(!_0x3e5d4b[_0x2c18('0x3')][_0x2c18('0x2')](_0x2c18('0x10')))return;const _0x42c9f9=_0x3e5d4b['plugins']['get'](_0x2c18('0x1a'));_0x42c9f9[_0x2c18('0x6')](_0x2c18('0x8'),_0x42b80d=>{const _0x5e6d98=_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0xc')][_0x2c18('0x17')];_0x5e6d98[_0x2c18('0xe')]?_0x42b80d():_0x3e5d4b['model'][_0x2c18('0x12')](()=>{const _0x1b556d=Array[_0x2c18('0x1')](_0x5e6d98[_0x2c18('0x7')]());for(const _0x433bc8 of _0x1b556d)for(const _0x276180 of _0x433bc8[_0x2c18('0x11')]())mo(_0x276180,_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0x13')])&&_0x42c9f9[_0x2c18('0x19')](_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0xb')](_0x276180),{'commandName':_0x2c18('0x8'),'commandParams':[]});});}),_0x42c9f9[_0x2c18('0xd')][_0x2c18('0xf')](_0x4df304=>{const {data:_0x535bc1}=_0x4df304;if(_0x535bc1&&_0x2c18('0x8')==_0x535bc1['commandName'])return{'type':_0x2c18('0x0'),'content':_0x12f229(_0x3e5d4b[_0x2c18('0x5')],_0x2c18('0x14'))};});}}function mo(_0x480bf4,_0x5b5d6e){for(const [_0x10fb0e]of _0x480bf4[_0x2c18('0xa')]()){const _0x589f27=_0x5b5d6e[_0x2c18('0x16')](_0x10fb0e);if(_0x589f27&&_0x589f27[_0x2c18('0x15')])return!0x0;}return!0x1;}
23
+ const _0x1d09=['getAttributes','*Remove\x20all\x20formatting*','enableCommand','schema','RemoveFormatEditing','getRanges','format','afterInit','isFormatting','document','change','selection','markInlineFormat','has','getItems','getAttributeProperties','get','plugins','commandName','removeFormat','editor','model'];(function(_0x2a3249,_0x1d0939){const _0x346efe=function(_0x56299f){while(--_0x56299f){_0x2a3249['push'](_0x2a3249['shift']());}};_0x346efe(++_0x1d0939);}(_0x1d09,0x115));const _0x346e=function(_0x2a3249,_0x1d0939){_0x2a3249=_0x2a3249-0x0;let _0x346efe=_0x1d09[_0x2a3249];return _0x346efe;};import{Plugin as _0x56f502}from'ckeditor5/src/core';import{getTranslation as _0x3c3a99}from'../utils/common-translations';export default class ut extends _0x56f502{[_0x346e('0x10')](){const _0x2095ca=this[_0x346e('0x7')];if(!_0x2095ca[_0x346e('0x4')][_0x346e('0x0')](_0x346e('0xd')))return;const _0x35524e=_0x2095ca[_0x346e('0x4')][_0x346e('0x3')]('TrackChangesEditing');_0x35524e[_0x346e('0xb')](_0x346e('0x6'),_0x48ba8f=>{const _0x3f7900=_0x2095ca[_0x346e('0x8')][_0x346e('0x12')][_0x346e('0x14')];_0x3f7900['isCollapsed']?_0x48ba8f():_0x2095ca[_0x346e('0x8')][_0x346e('0x13')](()=>{const _0x2d2cd1=Array['from'](_0x3f7900[_0x346e('0xe')]());for(const _0x49c708 of _0x2d2cd1)for(const _0x4270fc of _0x49c708[_0x346e('0x1')]())mo(_0x4270fc,_0x2095ca[_0x346e('0x8')][_0x346e('0xc')])&&_0x35524e[_0x346e('0x15')](_0x2095ca[_0x346e('0x8')]['createRangeOn'](_0x4270fc),{'commandName':_0x346e('0x6'),'commandParams':[]});});}),_0x35524e['_descriptionFactory']['registerDescriptionCallback'](_0x387707=>{const {data:_0x3599db}=_0x387707;if(_0x3599db&&_0x346e('0x6')==_0x3599db[_0x346e('0x5')])return{'type':_0x346e('0xf'),'content':_0x3c3a99(_0x2095ca['locale'],_0x346e('0xa'))};});}}function mo(_0xf14470,_0x251939){for(const [_0x50f995]of _0xf14470[_0x346e('0x9')]()){const _0x170cd1=_0x251939[_0x346e('0x2')](_0x50f995);if(_0x170cd1&&_0x170cd1[_0x346e('0x11')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x686f=['discardSuggestion','goToPreviousRestrictedEditingException','plugins','RestrictedEditingModeEditing','acceptAllSuggestions','discardAllSuggestions','get','has','discardSelectedSuggestions','trackChanges','acceptSelectedSuggestions','enableCommand','TrackChangesEditing','afterInit'];(function(_0x392327,_0x686f6){const _0x4e503d=function(_0x4325f6){while(--_0x4325f6){_0x392327['push'](_0x392327['shift']());}};_0x4e503d(++_0x686f6);}(_0x686f,0x154));const _0x4e50=function(_0x392327,_0x686f6){_0x392327=_0x392327-0x0;let _0x4e503d=_0x686f[_0x392327];return _0x4e503d;};import{Plugin as _0x4157d1}from'ckeditor5/src/core';export default class ft extends _0x4157d1{[_0x4e50('0x9')](){const _0x3fb307=this['editor'];if(!_0x3fb307[_0x4e50('0xc')][_0x4e50('0x3')]('RestrictedEditingModeEditing'))return;const _0xdfdb8a=_0x3fb307[_0x4e50('0xc')][_0x4e50('0x2')](_0x4e50('0x8'));_0xdfdb8a['enableCommand'](_0x4e50('0xb')),_0xdfdb8a[_0x4e50('0x7')]('goToNextRestrictedEditingException');const _0x5ad305=_0x3fb307['plugins']['get'](_0x4e50('0xd'));_0x5ad305[_0x4e50('0x7')](_0x4e50('0x5')),_0x5ad305[_0x4e50('0x7')]('acceptSuggestion'),_0x5ad305['enableCommand'](_0x4e50('0xa')),_0x5ad305[_0x4e50('0x7')](_0x4e50('0x0')),_0x5ad305['enableCommand'](_0x4e50('0x1')),_0x5ad305['enableCommand'](_0x4e50('0x6')),_0x5ad305[_0x4e50('0x7')](_0x4e50('0x4'));}}
23
+ const _0x22ef=['TrackChangesEditing','trackChanges','acceptSelectedSuggestions','discardSuggestion','enableCommand','acceptAllSuggestions','RestrictedEditingModeEditing','afterInit','plugins','discardAllSuggestions','discardSelectedSuggestions','goToPreviousRestrictedEditingException','editor','get'];(function(_0x38f513,_0x22ef3d){const _0x2fbbe8=function(_0xab7134){while(--_0xab7134){_0x38f513['push'](_0x38f513['shift']());}};_0x2fbbe8(++_0x22ef3d);}(_0x22ef,0x153));const _0x2fbb=function(_0x38f513,_0x22ef3d){_0x38f513=_0x38f513-0x0;let _0x2fbbe8=_0x22ef[_0x38f513];return _0x2fbbe8;};import{Plugin as _0x1d581f}from'ckeditor5/src/core';export default class ft extends _0x1d581f{[_0x2fbb('0x4')](){const _0x332922=this[_0x2fbb('0x9')];if(!_0x332922['plugins']['has'](_0x2fbb('0x3')))return;const _0x320405=_0x332922[_0x2fbb('0x5')]['get'](_0x2fbb('0xb'));_0x320405[_0x2fbb('0x1')](_0x2fbb('0x8')),_0x320405['enableCommand']('goToNextRestrictedEditingException');const _0x3f0cc5=_0x332922[_0x2fbb('0x5')][_0x2fbb('0xa')](_0x2fbb('0x3'));_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xc')),_0x3f0cc5[_0x2fbb('0x1')]('acceptSuggestion'),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x0')),_0x3f0cc5['enableCommand'](_0x2fbb('0x2')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x6')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xd')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x7'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51d9=['mapper','consumable','writer','toViewPosition','name','softBreak','registerElementLabel','split','high','addMarker:suggestion','bindElementToMarker','markerRange','insert','TrackChangesEditing','markerName','ELEMENT_LINE_BREAK','model','plugins','options','includes','deletion','createUIElement','locale','span','init','addClass','enableCommand','downcastDispatcher','getItems','element'];(function(_0x386dfb,_0x51d99e){const _0x17074e=function(_0x31058e){while(--_0x31058e){_0x386dfb['push'](_0x386dfb['shift']());}};_0x17074e(++_0x51d99e);}(_0x51d9,0x151));const _0x1707=function(_0x386dfb,_0x51d99e){_0x386dfb=_0x386dfb-0x0;let _0x17074e=_0x51d9[_0x386dfb];return _0x17074e;};import{Plugin as _0x29c452}from'ckeditor5/src/core';import{ShiftEnter as _0xb3cebf}from'ckeditor5/src/enter';import{getTranslation as _0x205f4a}from'../utils/common-translations';export default class lt extends _0x29c452{static get['requires'](){return[_0xb3cebf];}[_0x1707('0x11')](){const _0xa4d3f6=this['editor'],_0x4571f7=_0xa4d3f6[_0x1707('0xa')]['get']('TrackChangesEditing');_0x4571f7[_0x1707('0x13')]('shiftEnter'),_0xa4d3f6['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0xa4d3f6),{'priority':'high'}),_0xa4d3f6['editing'][_0x1707('0x14')]['on']('addMarker:suggestion:deletion',re(_0xa4d3f6),{'priority':_0x1707('0x1')}),_0xa4d3f6['data']['downcastDispatcher']['on'](_0x1707('0x2'),(_0x1ae40d,_0x91654b,_0x345601)=>{_0x345601[_0x1707('0xb')]['showSuggestionHighlights']&&re(_0xa4d3f6,{'showActiveMarker':!0x1})(_0x1ae40d,_0x91654b,_0x345601);}),_0x4571f7['_descriptionFactory'][_0x1707('0x1d')](_0x1707('0x1c'),_0x4b5af5=>_0x205f4a(_0xa4d3f6[_0x1707('0xf')],_0x1707('0x8'),_0x4b5af5));}}function re(_0x58d992,{showActiveMarker:_0x18f0a5=!0x0}={}){return(_0x7e3933,_0x2f9973,_0x32e93f)=>{const _0x4c7fca=_0x58d992[_0x1707('0xa')]['get'](_0x1707('0x6'));if(!_0x32e93f[_0x1707('0x18')]['test'](_0x2f9973[_0x1707('0x4')],_0x7e3933[_0x1707('0x1b')]))return;const _0x4fece0=_0x58d992[_0x1707('0x9')];for(const _0x1adbde of _0x2f9973[_0x1707('0x4')][_0x1707('0x15')]()){if(!_0x1adbde['is'](_0x1707('0x16'),_0x1707('0x1c')))continue;const _0x160728=_0x1707('0xd')==_0x2f9973['markerName']['split'](':')[0x1]?'merge':_0x1707('0x0'),_0x23b03a=_0x32e93f[_0x1707('0x19')][_0x1707('0xe')](_0x1707('0x10'),{'class':'ck-suggestion-marker-'+_0x160728}),_0xa81f93=_0x32e93f[_0x1707('0x17')][_0x1707('0x1a')](_0x4fece0['createPositionBefore'](_0x1adbde));_0x18f0a5&&_0x4c7fca['activeMarkers'][_0x1707('0xc')](_0x2f9973[_0x1707('0x7')])&&_0x32e93f['writer'][_0x1707('0x12')]('ck-suggestion-marker--active',_0x23b03a),_0x32e93f[_0x1707('0x19')][_0x1707('0x5')](_0xa81f93,_0x23b03a),_0x32e93f['mapper'][_0x1707('0x3')](_0x23b03a,_0x2f9973[_0x1707('0x7')]);}};}
23
+ const _0x4a70=['showSuggestionHighlights','ck-suggestion-marker-','element','ELEMENT_LINE_BREAK','span','high','markerRange','enableCommand','editing','downcastDispatcher','softBreak','plugins','editor','createPositionBefore','TrackChangesEditing','get','model','split','data','addMarker:suggestion','markerName','shiftEnter','includes','bindElementToMarker','addMarker:suggestion:insertion','ck-suggestion-marker--active','test','name','registerElementLabel','insert','writer','activeMarkers','deletion','toViewPosition'];(function(_0x448d75,_0x4a7093){const _0x4134ff=function(_0x2eecb0){while(--_0x2eecb0){_0x448d75['push'](_0x448d75['shift']());}};_0x4134ff(++_0x4a7093);}(_0x4a70,0x184));const _0x4134=function(_0x448d75,_0x4a7093){_0x448d75=_0x448d75-0x0;let _0x4134ff=_0x4a70[_0x448d75];return _0x4134ff;};import{Plugin as _0x53351e}from'ckeditor5/src/core';import{ShiftEnter as _0x3c912c}from'ckeditor5/src/enter';import{getTranslation as _0x1412aa}from'../utils/common-translations';export default class lt extends _0x53351e{static get['requires'](){return[_0x3c912c];}['init'](){const _0x4d2c73=this[_0x4134('0x20')],_0x1479c5=_0x4d2c73[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));_0x1479c5[_0x4134('0x1b')](_0x4134('0x7')),_0x4d2c73[_0x4134('0x1c')][_0x4134('0x1d')]['on'](_0x4134('0xa'),re(_0x4d2c73),{'priority':'high'}),_0x4d2c73['editing'][_0x4134('0x1d')]['on']('addMarker:suggestion:deletion',re(_0x4d2c73),{'priority':_0x4134('0x19')}),_0x4d2c73[_0x4134('0x4')][_0x4134('0x1d')]['on'](_0x4134('0x5'),(_0x240def,_0xd2340,_0x53746b)=>{_0x53746b['options'][_0x4134('0x14')]&&re(_0x4d2c73,{'showActiveMarker':!0x1})(_0x240def,_0xd2340,_0x53746b);}),_0x1479c5['_descriptionFactory'][_0x4134('0xe')]('softBreak',_0x577679=>_0x1412aa(_0x4d2c73['locale'],_0x4134('0x17'),_0x577679));}}function re(_0x1d5c2f,{showActiveMarker:_0x2136d5=!0x0}={}){return(_0xcbe00d,_0x709ce8,_0x4f7c45)=>{const _0x569da8=_0x1d5c2f[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));if(!_0x4f7c45['consumable'][_0x4134('0xc')](_0x709ce8[_0x4134('0x1a')],_0xcbe00d[_0x4134('0xd')]))return;const _0x443dbc=_0x1d5c2f[_0x4134('0x2')];for(const _0x32447c of _0x709ce8['markerRange']['getItems']()){if(!_0x32447c['is'](_0x4134('0x16'),_0x4134('0x1e')))continue;const _0x4470ab=_0x4134('0x12')==_0x709ce8[_0x4134('0x6')][_0x4134('0x3')](':')[0x1]?'merge':'split',_0x50ebd8=_0x4f7c45[_0x4134('0x10')]['createUIElement'](_0x4134('0x18'),{'class':_0x4134('0x15')+_0x4470ab}),_0x57b976=_0x4f7c45['mapper'][_0x4134('0x13')](_0x443dbc[_0x4134('0x21')](_0x32447c));_0x2136d5&&_0x569da8[_0x4134('0x11')][_0x4134('0x8')](_0x709ce8[_0x4134('0x6')])&&_0x4f7c45[_0x4134('0x10')]['addClass'](_0x4134('0xb'),_0x50ebd8),_0x4f7c45[_0x4134('0x10')][_0x4134('0xf')](_0x57b976,_0x50ebd8),_0x4f7c45['mapper'][_0x4134('0x9')](_0x50ebd8,_0x709ce8[_0x4134('0x6')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4085=['commands','forceValue','registerDescriptionCallback','FORMAT_RESTRICTED_DISABLED','FORMAT_RESTRICTED_ENABLED','value','editor','format','get','locale','markInlineFormat','enableCommand','selection','model','document','change','afterInit','TrackChangesEditing','plugins','restrictedEditingException','has'];(function(_0x133125,_0x408571){const _0x135698=function(_0x2867dc){while(--_0x2867dc){_0x133125['push'](_0x133125['shift']());}};_0x135698(++_0x408571);}(_0x4085,0xb4));const _0x1356=function(_0x133125,_0x408571){_0x133125=_0x133125-0x0;let _0x135698=_0x4085[_0x133125];return _0x135698;};import{Plugin as _0x5d9d54}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x74848}from'./utils';import{getTranslation as _0x56246b}from'../utils/common-translations';export default class gt extends _0x5d9d54{[_0x1356('0x4')](){const _0x2e7750=this[_0x1356('0xf')],_0xef6925=_0x2e7750[_0x1356('0x1')],_0x38cb3d=_0x2e7750[_0x1356('0x12')];if(!_0x2e7750[_0x1356('0x6')][_0x1356('0x8')]('StandardEditingModeEditing'))return;const _0x46b154=_0x2e7750[_0x1356('0x6')][_0x1356('0x11')](_0x1356('0x5')),_0x1f7bbf=_0x1356('0x7'),_0x6db50f=_0x2e7750[_0x1356('0x9')][_0x1356('0x11')](_0x1f7bbf);_0x46b154[_0x1356('0x14')](_0x1f7bbf,(_0x54e927,_0x50ac16={})=>{const _0x5dffd7=_0xef6925[_0x1356('0x2')][_0x1356('0x0')];if(_0x5dffd7['isCollapsed'])return void _0x54e927(_0x50ac16);const _0x4770dd=void 0x0!==_0x50ac16[_0x1356('0xa')]?_0x50ac16[_0x1356('0xa')]:!_0x6db50f[_0x1356('0xe')];_0xef6925[_0x1356('0x3')](()=>{const _0x11c39b=Array['from'](_0x5dffd7['getRanges']());for(const _0x358cd2 of _0x11c39b){const _0x321c62=_0x4770dd?[_0x358cd2]:_0x74848(_0x1f7bbf,_0x358cd2,_0xef6925);for(const _0x127901 of _0x321c62)_0x46b154[_0x1356('0x13')](_0x127901,{'commandName':_0x1f7bbf,'commandParams':[{'forceValue':_0x4770dd}]});}});}),_0x46b154['_descriptionFactory'][_0x1356('0xb')](_0x5b7fe4=>{const {data:_0x5b059d}=_0x5b7fe4;if(_0x5b059d&&_0x5b059d['commandName']==_0x1f7bbf)return _0x5b059d['commandParams'][0x0][_0x1356('0xa')]?{'type':_0x1356('0x10'),'content':_0x56246b(_0x38cb3d,_0x1356('0xd'))}:{'type':_0x1356('0x10'),'content':_0x56246b(_0x38cb3d,_0x1356('0xc'))};});}}
23
+ const _0x4474=['restrictedEditingException','FORMAT_RESTRICTED_DISABLED','format','selection','StandardEditingModeEditing','document','plugins','markInlineFormat','locale','FORMAT_RESTRICTED_ENABLED','_descriptionFactory','forceValue','commands','isCollapsed','editor','value','afterInit','get','commandName','model','change','enableCommand'];(function(_0x380470,_0x44748f){const _0x5650c2=function(_0xa6e7ca){while(--_0xa6e7ca){_0x380470['push'](_0x380470['shift']());}};_0x5650c2(++_0x44748f);}(_0x4474,0x14f));const _0x5650=function(_0x380470,_0x44748f){_0x380470=_0x380470-0x0;let _0x5650c2=_0x4474[_0x380470];return _0x5650c2;};import{Plugin as _0x4bb934}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xdbd1c5}from'./utils';import{getTranslation as _0x420115}from'../utils/common-translations';export default class gt extends _0x4bb934{[_0x5650('0xb')](){const _0xc68f0f=this[_0x5650('0x9')],_0x382903=_0xc68f0f[_0x5650('0xe')],_0x40c58b=_0xc68f0f[_0x5650('0x3')];if(!_0xc68f0f[_0x5650('0x1')]['has'](_0x5650('0x15')))return;const _0x88faef=_0xc68f0f[_0x5650('0x1')][_0x5650('0xc')]('TrackChangesEditing'),_0x131644=_0x5650('0x11'),_0x46c530=_0xc68f0f[_0x5650('0x7')]['get'](_0x131644);_0x88faef[_0x5650('0x10')](_0x131644,(_0x4000ba,_0x58764d={})=>{const _0x4150ba=_0x382903[_0x5650('0x0')][_0x5650('0x14')];if(_0x4150ba[_0x5650('0x8')])return void _0x4000ba(_0x58764d);const _0x4c9a68=void 0x0!==_0x58764d[_0x5650('0x6')]?_0x58764d[_0x5650('0x6')]:!_0x46c530[_0x5650('0xa')];_0x382903[_0x5650('0xf')](()=>{const _0x177499=Array['from'](_0x4150ba['getRanges']());for(const _0x4e9f46 of _0x177499){const _0x5ede7f=_0x4c9a68?[_0x4e9f46]:_0xdbd1c5(_0x131644,_0x4e9f46,_0x382903);for(const _0x32bc62 of _0x5ede7f)_0x88faef[_0x5650('0x2')](_0x32bc62,{'commandName':_0x131644,'commandParams':[{'forceValue':_0x4c9a68}]});}});}),_0x88faef[_0x5650('0x5')]['registerDescriptionCallback'](_0x1ae531=>{const {data:_0x8d1f8b}=_0x1ae531;if(_0x8d1f8b&&_0x8d1f8b[_0x5650('0xd')]==_0x131644)return _0x8d1f8b['commandParams'][0x0][_0x5650('0x6')]?{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x4'))}:{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x12'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b9a=['getAttribute','includes','editor','from','getItems','push','model','every','name','normalizeConfig','enableCommand','get','style:','_getRangesWithClasses','styleName','createRangeOn','StyleUtils','format','registerDescriptionCallback','style.definitions','plugins','config','element','toLowerCase','Style','commands','style','getAncestors','commandName','_getStyleDefinition','commandParams','TrackChangesEditing','*Remove\x20format:*\x20%0','isBlock','block','has','inline','document','getSelectedBlocks','value','isCollapsed','DataSchema','change','modelElements','afterInit','find'];(function(_0x390d8e,_0x1b9a7c){const _0x49824a=function(_0x27c76d){while(--_0x27c76d){_0x390d8e['push'](_0x390d8e['shift']());}};_0x49824a(++_0x1b9a7c);}(_0x1b9a,0x153));const _0x4982=function(_0x390d8e,_0x1b9a7c){_0x390d8e=_0x390d8e-0x0;let _0x49824a=_0x1b9a[_0x390d8e];return _0x49824a;};import{Plugin as _0x12a00f}from'ckeditor5/src/core';import{getTranslation as _0x22cc29}from'../utils/common-translations';export default class mt extends _0x12a00f{[_0x4982('0x1b')](){const _0x2684cf=this[_0x4982('0x1f')];if(!_0x2684cf[_0x4982('0x3')][_0x4982('0x12')](_0x4982('0x7')))return;const _0x15e77c=_0x2684cf[_0x4982('0x8')][_0x4982('0x28')]('style'),_0x27f33d=_0x2684cf['plugins']['get'](_0x4982('0xe')),_0x23729e=_0x2684cf['locale'],_0x40662a=_0x2684cf['plugins'][_0x4982('0x28')](_0x4982('0x18')),_0x5c75b2=_0x2684cf[_0x4982('0x3')]['get'](_0x4982('0x2d'))[_0x4982('0x26')](_0x40662a,_0x2684cf[_0x4982('0x4')][_0x4982('0x28')](_0x4982('0x2')));_0x27f33d[_0x4982('0x27')](_0x4982('0x9'),(_0x5dce35,{styleName:_0xf6618c})=>{const _0x46dd02=_0x2684cf['model'][_0x4982('0x14')]['selection'],_0x1a292d=this['_getStyleDefinition'](_0xf6618c,_0x5c75b2);if(!_0x1a292d)return;if(!_0x15e77c['enabledStyles'][_0x4982('0x1e')](_0xf6618c))return;if(_0x46dd02[_0x4982('0x17')]&&!_0x1a292d[_0x4982('0x10')])return void _0x5dce35({'styleName':_0xf6618c});const _0x37681a=!_0x15e77c[_0x4982('0x16')][_0x4982('0x1e')](_0x1a292d[_0x4982('0x25')]);if(_0x1a292d['isBlock']){const _0x15bb9c=function(_0x320a6,_0x1ba4d3){const _0xf36010=new Set();for(const _0x117b6b of _0x320a6){const _0x515204=_0x117b6b[_0x4982('0xa')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x3ab4a8 of _0x515204)if(_0x1ba4d3['includes'](_0x3ab4a8[_0x4982('0x25')])){_0xf36010['add'](_0x3ab4a8);break;}}return _0xf36010;}(_0x46dd02[_0x4982('0x15')](),_0x1a292d[_0x4982('0x1a')]);_0x2684cf[_0x4982('0x23')][_0x4982('0x19')](()=>{for(const _0x195b64 of _0x15bb9c)_0x27f33d['markBlockFormat'](_0x195b64,{'commandName':_0x4982('0x9'),'commandParams':[{'styleName':_0xf6618c,'forceValue':_0x37681a}],'formatGroupId':_0x4982('0x29')+_0xf6618c});});}else{let _0x5430f9=Array[_0x4982('0x20')](_0x46dd02['getRanges']());if(!_0x37681a){const _0x4d7980=Array['from'](_0x40662a['getDefinitionsForView'](_0x1a292d[_0x4982('0x5')],!0x1))[0x0][_0x4982('0x23')],_0x17c192=[];for(const _0x17e579 of _0x5430f9){const _0x422f8d=this['_getRangesWithClasses'](_0x2684cf[_0x4982('0x23')],_0x17e579,_0x1a292d['classes'],_0x4d7980);_0x17c192[_0x4982('0x22')](..._0x422f8d);}_0x5430f9=_0x17c192;}_0x2684cf['model'][_0x4982('0x19')](()=>{for(const _0x1b9eab of _0x5430f9)_0x27f33d['markInlineFormat'](_0x1b9eab,{'commandName':_0x4982('0x9'),'commandParams':[{'styleName':_0xf6618c,'forceValue':_0x37681a}]});});}}),_0x27f33d['_descriptionFactory'][_0x4982('0x1')](_0x163658=>{const {data:_0x3506ef}=_0x163658;if(_0x3506ef&&_0x4982('0x9')===_0x3506ef[_0x4982('0xb')])return _0x3506ef['commandParams'][0x0]['forceValue']?{'type':_0x4982('0x0'),'content':_0x22cc29(_0x23729e,'*Format:*\x20%0',_0x3506ef[_0x4982('0xd')][0x0][_0x4982('0x2b')][_0x4982('0x6')]())}:{'type':_0x4982('0x0'),'content':_0x22cc29(_0x23729e,_0x4982('0xf'),_0x3506ef[_0x4982('0xd')][0x0]['styleName'][_0x4982('0x6')]())};});}[_0x4982('0xc')](_0x26a7b9,_0x4cd009){let _0x9dcf8c=_0x4cd009[_0x4982('0x11')][_0x4982('0x1c')](_0x6e56be=>_0x6e56be[_0x4982('0x25')]===_0x26a7b9);return _0x9dcf8c||(_0x9dcf8c=_0x4cd009[_0x4982('0x13')]['find'](_0x206fa3=>_0x206fa3[_0x4982('0x25')]===_0x26a7b9)),_0x9dcf8c;}[_0x4982('0x2a')](_0x437517,_0x3df164,_0x54d33e,_0x192f5e){const _0x4f9a95=[];for(const _0x49046e of _0x3df164[_0x4982('0x21')]()){const _0xc3ca2b=_0x49046e[_0x4982('0x1d')](_0x192f5e);_0xc3ca2b&&(_0x54d33e[_0x4982('0x24')](_0x534cf3=>_0xc3ca2b['classes'][_0x4982('0x1e')](_0x534cf3))&&_0x4f9a95[_0x4982('0x22')](_0x437517[_0x4982('0x2c')](_0x49046e)));}return _0x4f9a95;}}
23
+ const _0x56dc=['model','_getStyleDefinition','_descriptionFactory','afterInit','get','from','commandParams','isCollapsed','*Format:*\x20%0','TrackChangesEditing','selection','find','plugins','change','includes','getDefinitionsForView','style.definitions','getRanges','classes','markInlineFormat','push','toLowerCase','isBlock','commandName','value','format','add','style','inline','registerDescriptionCallback','enableCommand','getItems','style:','name','StyleUtils','markBlockFormat','block','has','config','normalizeConfig','every','editor','document','_getRangesWithClasses','locale','styleName','*Remove\x20format:*\x20%0','enabledStyles','Style','forceValue'];(function(_0x1b45ca,_0x56dc64){const _0x28aff7=function(_0x31963c){while(--_0x31963c){_0x1b45ca['push'](_0x1b45ca['shift']());}};_0x28aff7(++_0x56dc64);}(_0x56dc,0xd6));const _0x28af=function(_0x1b45ca,_0x56dc64){_0x1b45ca=_0x1b45ca-0x0;let _0x28aff7=_0x56dc[_0x1b45ca];return _0x28aff7;};import{Plugin as _0x552dc6}from'ckeditor5/src/core';import{getTranslation as _0x5eb884}from'../utils/common-translations';export default class mt extends _0x552dc6{[_0x28af('0x27')](){const _0x44a990=this[_0x28af('0x1b')];if(!_0x44a990[_0x28af('0x30')][_0x28af('0x17')](_0x28af('0x22')))return;const _0x4fbc9e=_0x44a990['commands'][_0x28af('0x28')]('style'),_0x22a695=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x2d')),_0x4bcc6a=_0x44a990[_0x28af('0x1e')],_0x14c3d5=_0x44a990['plugins'][_0x28af('0x28')]('DataSchema'),_0x19616d=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x14'))[_0x28af('0x19')](_0x14c3d5,_0x44a990[_0x28af('0x18')][_0x28af('0x28')](_0x28af('0x2')));_0x22a695[_0x28af('0x10')](_0x28af('0xd'),(_0x18235d,{styleName:_0x485fc8})=>{const _0x50424c=_0x44a990[_0x28af('0x24')][_0x28af('0x1c')][_0x28af('0x2e')],_0x3d5924=this[_0x28af('0x25')](_0x485fc8,_0x19616d);if(!_0x3d5924)return;if(!_0x4fbc9e[_0x28af('0x21')][_0x28af('0x0')](_0x485fc8))return;if(_0x50424c[_0x28af('0x2b')]&&!_0x3d5924[_0x28af('0x8')])return void _0x18235d({'styleName':_0x485fc8});const _0x2dda67=!_0x4fbc9e[_0x28af('0xa')][_0x28af('0x0')](_0x3d5924['name']);if(_0x3d5924[_0x28af('0x8')]){const _0x4b077f=function(_0x290876,_0x4d408b){const _0x40e5f1=new Set();for(const _0x3262ce of _0x290876){const _0x5ed9d0=_0x3262ce['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x393947 of _0x5ed9d0)if(_0x4d408b[_0x28af('0x0')](_0x393947['name'])){_0x40e5f1[_0x28af('0xc')](_0x393947);break;}}return _0x40e5f1;}(_0x50424c['getSelectedBlocks'](),_0x3d5924['modelElements']);_0x44a990[_0x28af('0x24')][_0x28af('0x31')](()=>{for(const _0x56a66a of _0x4b077f)_0x22a695[_0x28af('0x15')](_0x56a66a,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}],'formatGroupId':_0x28af('0x12')+_0x485fc8});});}else{let _0x4bc59c=Array[_0x28af('0x29')](_0x50424c[_0x28af('0x3')]());if(!_0x2dda67){const _0x24662b=Array['from'](_0x14c3d5[_0x28af('0x1')](_0x3d5924['element'],!0x1))[0x0][_0x28af('0x24')],_0x33a470=[];for(const _0x1506c6 of _0x4bc59c){const _0x5b481b=this[_0x28af('0x1d')](_0x44a990[_0x28af('0x24')],_0x1506c6,_0x3d5924['classes'],_0x24662b);_0x33a470[_0x28af('0x6')](..._0x5b481b);}_0x4bc59c=_0x33a470;}_0x44a990[_0x28af('0x24')]['change'](()=>{for(const _0x149afb of _0x4bc59c)_0x22a695[_0x28af('0x5')](_0x149afb,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}]});});}}),_0x22a695[_0x28af('0x26')][_0x28af('0xf')](_0x401d5e=>{const {data:_0x50577b}=_0x401d5e;if(_0x50577b&&_0x28af('0xd')===_0x50577b[_0x28af('0x9')])return _0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x23')]?{'type':_0x28af('0xb'),'content':_0x5eb884(_0x4bcc6a,_0x28af('0x2c'),_0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x1f')]['toLowerCase']())}:{'type':'format','content':_0x5eb884(_0x4bcc6a,_0x28af('0x20'),_0x50577b[_0x28af('0x2a')][0x0]['styleName'][_0x28af('0x7')]())};});}[_0x28af('0x25')](_0x1c817f,_0x113803){let _0x53f9bd=_0x113803[_0x28af('0x16')][_0x28af('0x2f')](_0x28291c=>_0x28291c[_0x28af('0x13')]===_0x1c817f);return _0x53f9bd||(_0x53f9bd=_0x113803[_0x28af('0xe')][_0x28af('0x2f')](_0xc8f608=>_0xc8f608['name']===_0x1c817f)),_0x53f9bd;}[_0x28af('0x1d')](_0x2c433f,_0x3eb81e,_0x2c54ed,_0x659fd3){const _0x3a28f3=[];for(const _0x2bea6d of _0x3eb81e[_0x28af('0x11')]()){const _0x4910e8=_0x2bea6d['getAttribute'](_0x659fd3);_0x4910e8&&(_0x2c54ed[_0x28af('0x1a')](_0x588224=>_0x4910e8[_0x28af('0x4')][_0x28af('0x0')](_0x588224))&&_0x3a28f3['push'](_0x2c433f['createRangeOn'](_0x2bea6d)));}return _0x3a28f3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e8c=['_suggestionFactory','insertTableRowAbove','first','$textProxy','markMultiRangeInsertion','name','getRowIndexes','deletion','insert','findAncestor','TableUtils','accept','showSuggestionHighlights','registerCustomCallback','getSelectionAffectedTableCells','getContainedElement','selectTableColumn','TrackChangesEditing','enqueueChange','forceValue','discard','end','_acceptFormatSuggestionCallbackFactory','get','min','addClass','_tableSuggestions','rootName','minRow','nodeAfter','createPositionAt','_setupColumnsRowsFixing','ELEMENT_TABLE','low','markMultiRangeDeletion','detach','_getSuggestionCoords','_descriptionFactory','has','insertTableRowBelow','insertTable','createRangeOn','setSelection','ELEMENT_TABLE_ROW_WITH_TEXT','some','cell','substr','subType','position','commands','editor','classes','getCellLocation','removeTableRow','insertTableColumnLeft','selectTableRow','data','change:data','above','plugins','_tablePostFixingSubtypes','isTouching','isEqual','downcastDispatcher','push','$graveyard','refresh','map','removeClass','table','getRanges','createTableWalker','getChangedMarkers','document','colspan','*Insert:*\x20%0','model','nodeBefore','addRange','tableCell','getColumnIndexes','toLowerCase','ELEMENT_TABLE_ROW','registerPostFixer','isArray','MIN_SAFE_INTEGER','enableCommand','every','insertion','change','join','max','length','locale','getItems','registerElementLabel','getChanges','TableEditing','maxColumn','getFirstRange','tableColumn','_getCoordsForCells','start','insertTableColumnRight','highest','hasAttribute','registerDescriptionCallback','removeTableColumn','minColumn','root','getAttribute','filter','options','startsWith','ELEMENT_TABLE_WITH_TEXT','getSuggestion','execute','isIntersectingWithRange','toViewElement','MAX_SAFE_INTEGER','type','*Remove:*\x20%0','tableRow','span','oldRange','selection','element','fromRange','ELEMENT_TABLE_COLUMN','order','rowspan','from','last'];(function(_0x3d4bcb,_0x5e8c93){const _0x24e1aa=function(_0x5c7279){while(--_0x5c7279){_0x3d4bcb['push'](_0x3d4bcb['shift']());}};_0x24e1aa(++_0x5e8c93);}(_0x5e8c,0x165));const _0x24e1=function(_0x3d4bcb,_0x5e8c93){_0x3d4bcb=_0x3d4bcb-0x0;let _0x24e1aa=_0x5e8c[_0x3d4bcb];return _0x24e1aa;};import{Plugin as _0x5bf188}from'ckeditor5/src/core';import{LiveRange as _0x1a2dc0}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1ba53f}from'ckeditor5/src/widget';import{getTranslation as _0x52a10a}from'../utils/common-translations';export default class dt extends _0x5bf188{constructor(_0x218074){super(_0x218074),this[_0x24e1('0x66')]=[_0x24e1('0x1f'),_0x24e1('0x9')],this[_0x24e1('0x44')]=new Set();}['afterInit'](){const _0x9c90f1=this['editor'],_0x37c0f4=_0x9c90f1['model']['document'][_0x24e1('0x22')];if(!_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x50')](_0x24e1('0x6')))return;const _0x42f4d2=_0x9c90f1[_0x24e1('0x2')],_0x11e322=_0x9c90f1['plugins'][_0x24e1('0x41')](_0x24e1('0x3b')),_0x3abea8=_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x41')]('TableUtils');_0x11e322[_0x24e1('0x4f')][_0x24e1('0x4')]('table',_0x5e6157=>_0x52a10a(_0x42f4d2,_0x24e1('0x4a'),_0x5e6157)),this[_0x24e1('0x49')](),_0x11e322['enableCommand'](_0x24e1('0x52')),_0x11e322[_0x24e1('0x80')](_0x24e1('0x61')),_0x11e322['enableCommand'](_0x24e1('0x3a'));for(const _0x3614ec of[_0x24e1('0x2b'),_0x24e1('0x51')]){const _0x59874a=_0x9c90f1['commands'][_0x24e1('0x41')](_0x3614ec);_0x11e322[_0x24e1('0x80')](_0x3614ec,_0x573129=>{_0x9c90f1[_0x24e1('0x76')]['change'](_0x4425dc=>{_0x573129();const _0xc40ec6=_0x24e1('0x64')===_0x59874a['order'],_0x4fde47=_0x3abea8['getSelectionAffectedTableCells'](_0x37c0f4),_0x2904d7=_0x3abea8[_0x24e1('0x30')](_0x4fde47),_0x4d5627=_0xc40ec6?_0x2904d7[_0x24e1('0x2c')]-0x1:_0x2904d7[_0x24e1('0x29')]+0x1,_0x599834=_0x4fde47[0x0][_0x24e1('0x33')](_0x24e1('0x6f')),_0x33ce0d=_0x3abea8['createTableWalker'](_0x599834,{'startRow':_0x4d5627,'endRow':_0x4d5627}),_0xce0078=Array['from'](_0x33ce0d)['map'](_0x1528c8=>_0x4425dc['createRangeOn'](_0x1528c8[_0x24e1('0x57')]));_0x11e322[_0x24e1('0x2e')](_0xce0078,_0x24e1('0x1f'));});});}for(const _0x218762 of[_0x24e1('0x60'),_0x24e1('0xc')]){const _0x492a7d=_0x9c90f1['commands'][_0x24e1('0x41')](_0x218762);_0x11e322[_0x24e1('0x80')](_0x218762,_0x2233d0=>{_0x9c90f1['model'][_0x24e1('0x83')](_0x1e026c=>{_0x2233d0();const _0x48a2b2='left'===_0x492a7d[_0x24e1('0x26')],_0x3a286a=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x4fbd88=_0x3abea8[_0x24e1('0x7a')](_0x3a286a),_0x420a0a=_0x48a2b2?_0x4fbd88[_0x24e1('0x2c')]-0x1:_0x4fbd88[_0x24e1('0x29')]+0x1,_0x3b126b=_0x3a286a[0x0]['findAncestor'](_0x24e1('0x6f')),_0x591ed8=_0x3abea8[_0x24e1('0x71')](_0x3b126b,{'startRow':0x0,'column':_0x420a0a,'includeAllSlots':!0x1}),_0x28b77c=Array[_0x24e1('0x28')](_0x591ed8)[_0x24e1('0x6d')](_0x212db3=>_0x1e026c[_0x24e1('0x53')](_0x212db3['cell']));_0x11e322[_0x24e1('0x2e')](_0x28b77c,'tableColumn');});});}for(const _0x3121c2 of[_0x24e1('0x5f'),_0x24e1('0x10')]){const _0x2fea7f=_0x3121c2[_0x24e1('0x58')](0xb),_0x38064f=_0x2fea7f[_0x24e1('0x7b')](),_0x1bd7c3=_0x38064f[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x32cca8=_0x24e1('0x6f')+_0x2fea7f,_0x5a75e3=_0x24e1('0x42')+_0x2fea7f,_0x5dd998='max'+_0x2fea7f;_0x11e322['enableCommand'](_0x3121c2,()=>{_0x9c90f1['model']['change'](_0x4f796d=>{const _0x262ff8=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x3a9bca=_0x262ff8[0x0][_0x24e1('0x33')](_0x24e1('0x6f'));let _0x524d17;if('removeTableRow'==_0x3121c2){const _0x439c4a=_0x3abea8[_0x24e1('0x30')](_0x262ff8);_0x524d17={'startRow':_0x439c4a[_0x24e1('0x2c')],'endRow':_0x439c4a[_0x24e1('0x29')],'includeAllSlots':!0x0};}else{const _0x51b47d=_0x3abea8[_0x24e1('0x7a')](_0x262ff8);_0x524d17={'startColumn':_0x51b47d['first'],'endColumn':_0x51b47d[_0x24e1('0x29')],'includeAllSlots':!0x0};}const _0x55c80c=_0x3abea8[_0x24e1('0x71')](_0x3a9bca,_0x524d17),_0x5a461b=Array[_0x24e1('0x28')](_0x55c80c)[_0x24e1('0x6d')](({cell:_0x1df417})=>_0x1df417),_0x49d6a6=se(_0x5a461b[_0x24e1('0x14')](_0x27a5f1=>_0x27a5f1[_0x24e1('0xe')](_0x1bd7c3))),_0x2e626c=se(_0x5a461b[_0x24e1('0x14')](_0x4011c8=>!_0x4011c8[_0x24e1('0xe')](_0x1bd7c3)))['map'](_0x283f17=>_0x4f796d[_0x24e1('0x53')](_0x283f17)),_0x250955=_0x11e322[_0x24e1('0x4c')](_0x2e626c,_0x32cca8);if(_0x250955&&('tableRow'==_0x250955[_0x24e1('0x59')]||_0x24e1('0x9')==_0x250955['subType'])){const _0xbe057e=this['_getSuggestionCoords'](_0x250955);for(const _0x4f1abb of _0x49d6a6){const _0x5bd033=_0x4f796d['createRangeOn'](_0x4f1abb),_0x4b536e=_0x3abea8['getCellLocation'](_0x4f1abb),_0x363b9b=_0x4f1abb[_0x24e1('0x13')](_0x1bd7c3)-0x1,_0x2a301f=_0xbe057e[_0x5a75e3],_0x923140=_0xbe057e[_0x5dd998];_0x2a301f<=_0x4b536e[_0x38064f]&&_0x4b536e[_0x38064f]+_0x363b9b<=_0x923140&&_0x250955[_0x24e1('0x78')](_0x5bd033);}}});});}function _0x4a7760(_0x53393f){const _0x2e8d6f=Array[_0x24e1('0x28')](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x1806fd=>_0x1a2dc0[_0x24e1('0x24')](_0x1806fd));_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x83')](_0xfbb394=>{const _0x1a644d=_0xfbb394['batch'];_0x53393f=_0x53393f['filter'](_0x37bf98=>'$graveyard'!=_0x37bf98[_0x24e1('0x12')]['rootName']),_0xfbb394[_0x24e1('0x54')](_0x53393f),_0x9c90f1[_0x24e1('0x5b')][_0x24e1('0x41')](_0x24e1('0x5f'))['refresh'](),_0x9c90f1[_0x24e1('0x19')](_0x24e1('0x5f'),{'forceDefaultExecution':!0x0}),_0x9c90f1['model'][_0x24e1('0x3c')](()=>{_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x3c')](_0x1a644d,_0x74507=>{const _0x18b3dd=_0x2e8d6f[_0x24e1('0x14')](_0x19eb66=>_0x24e1('0x6b')!=_0x19eb66[_0x24e1('0x12')]['rootName']);_0x18b3dd[_0x24e1('0x1')]>0x0&&_0x74507[_0x24e1('0x54')](_0x18b3dd);for(const _0x26d276 of _0x2e8d6f)_0x26d276[_0x24e1('0x4d')]();});});});}function _0x35899c(_0x25e2e9){_0x9c90f1['model']['change'](_0x236706=>{const _0xff84b6=Array['from'](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x5eda7a=>_0x1a2dc0[_0x24e1('0x24')](_0x5eda7a)),_0x38e339=[];for(const _0xe4e049 of _0x25e2e9)for(const _0x344baa of _0xe4e049['getItems']({'shallow':!0x0}))_0x38e339[_0x24e1('0x6a')](_0x344baa);for(const _0x39ee3d of _0x38e339)_0x24e1('0x6b')!=_0x39ee3d[_0x24e1('0x12')][_0x24e1('0x45')]&&(_0x236706[_0x24e1('0x54')](_0x236706[_0x24e1('0x48')](_0x39ee3d,0x0)),_0x9c90f1['commands']['get']('removeTableColumn')['refresh'](),_0x9c90f1['execute'](_0x24e1('0x10'),{'forceDefaultExecution':!0x0}));const _0x276613=_0xff84b6['filter'](_0x4fa428=>'$graveyard'!=_0x4fa428[_0x24e1('0x12')][_0x24e1('0x45')]);_0x276613[_0x24e1('0x1')]>0x0&&_0x236706['setSelection'](_0x276613);for(const _0x37ca7e of _0xff84b6)_0x37ca7e[_0x24e1('0x4d')]();});}function _0x4f8033(_0x4dc702,_0x33d4c9){return _0x33d4c9[_0x24e1('0x81')](_0x3175f8=>_0x4dc702[_0x24e1('0x56')](_0x3244af=>_0x3244af['end'][_0x24e1('0x68')](_0x3175f8[_0x24e1('0xb')])||_0x3175f8[_0x24e1('0x3f')][_0x24e1('0x68')](_0x3244af['start'])));}function _0x3ee780(_0x4d4f4f,_0xd507bc){return _0x4d4f4f[_0x24e1('0x56')](_0x40a3fc=>_0xd507bc[_0x24e1('0x56')](_0x219310=>_0x40a3fc[_0x24e1('0x3f')][_0x24e1('0x67')](_0x219310[_0x24e1('0xb')])));}_0x9c90f1[_0x24e1('0x62')][_0x24e1('0x69')]['on']('addMarker:suggestion',(_0x18166d,_0x2bb665,_0x1fa30e)=>{if(!_0x1fa30e[_0x24e1('0x15')][_0x24e1('0x36')])return;const _0x3f744a=_0x2bb665['item'];if(!_0x3f744a)return;const _0x155cb9=_0x1fa30e['mapper'][_0x24e1('0x1b')](_0x3f744a);function _0x44b32d(_0x1fb920){return Array[_0x24e1('0x7e')](_0x1fb920)?_0x1fb920:[_0x1fb920];}_0x155cb9&&_0x24e1('0x79')===_0x3f744a[_0x24e1('0x2f')]&&_0x1ba53f(_0x155cb9,_0x1fa30e['writer'],(_0x20a8d0,_0x5737f3,_0x4af33c)=>_0x4af33c[_0x24e1('0x43')](_0x44b32d(_0x5737f3[_0x24e1('0x5d')]),_0x20a8d0),(_0x359cc2,_0x2408bd,_0x37d039)=>_0x37d039[_0x24e1('0x6e')](_0x44b32d(_0x2408bd['classes']),_0x359cc2));},{'priority':_0x24e1('0xd')}),_0x11e322[_0x24e1('0x4f')]['registerDescriptionCallback'](_0x49d760=>{if(_0x24e1('0x82')!=_0x49d760[_0x24e1('0x1d')]&&'deletion'!=_0x49d760[_0x24e1('0x1d')])return;const _0x1ab20c=_0x49d760[_0x24e1('0x39')]();if(null!=_0x1ab20c&&_0x1ab20c['is'](_0x24e1('0x23'),_0x24e1('0x6f'))){if(_0x24e1('0x82')==_0x49d760[_0x24e1('0x1d')]){const _0x35b32d=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x24f6d0=>_0x24f6d0['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x4f0bff=>_0x4f0bff['data']);if(_0x35b32d[_0x24e1('0x1')])return{'type':'insertion','content':_0x52a10a(_0x42f4d2,'*Insert:*\x20%0',_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x35b32d[_0x24e1('0x84')]('\x20')+'\x22'))};}if(_0x24e1('0x31')==_0x49d760[_0x24e1('0x1d')]){const _0x3d49d9=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x3dd1b3=>_0x3dd1b3['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x33bed5=>_0x33bed5[_0x24e1('0x62')]);if(_0x3d49d9[_0x24e1('0x1')])return{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x3d49d9['join']('\x20')+'\x22'))};}}}),_0x11e322[_0x24e1('0x4f')][_0x24e1('0xf')](_0x32f9ae=>{if(_0x24e1('0x1f')==_0x32f9ae[_0x24e1('0x59')]){const _0x12e878=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x337373=>_0x337373['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x27d08f=>_0x27d08f[_0x24e1('0x62')]),_0x2ff359=this['_getSuggestionCoords'](_0x32f9ae),_0x4c2608=_0x2ff359['maxRow']-_0x2ff359[_0x24e1('0x46')]+0x1;if(_0x24e1('0x82')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':'insertion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878['join']('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};}if('tableColumn'==_0x32f9ae[_0x24e1('0x59')]){const _0x14e270=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x328704=>_0x328704['is'](_0x24e1('0x2d')))['map'](_0x2fa241=>_0x2fa241[_0x24e1('0x62')]),_0x5a5554=this['_getSuggestionCoords'](_0x32f9ae),_0x192b8b=_0x5a5554[_0x24e1('0x7')]-_0x5a5554[_0x24e1('0x11')]+0x1;if(_0x24e1('0x82')==_0x32f9ae['type'])return _0x14e270['length']?{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x14e270['length']?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};}}),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),'tableRow',_0x24e1('0x3e'),_0x4a7760),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')]('deletion',_0x24e1('0x1f'),_0x24e1('0x35'),_0x4a7760),_0x11e322['_suggestionFactory'][_0x24e1('0x37')]('insertion','tableColumn',_0x24e1('0x3e'),_0x35899c),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x9'),'accept',_0x35899c),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback']('insertion',_0x24e1('0x9'),_0x24e1('0x84'),_0x4f8033),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback'](_0x24e1('0x31'),_0x24e1('0x9'),'join',_0x4f8033),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),_0x24e1('0x1f'),'join',_0x3ee780),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x1f'),'join',_0x3ee780);}[_0x24e1('0x40')](){const _0x15978d=this[_0x24e1('0x5c')],_0x149da2=_0x15978d[_0x24e1('0x76')][_0x24e1('0x73')]['selection'];return(_0x36c7a1,_0x47c511)=>{_0x15978d['model'][_0x24e1('0x83')](_0x19831e=>{const {commandName:_0x2a2262,commandParams:_0x2354e3}=_0x47c511;let _0x38fa80=_0x36c7a1[0x0]['end'][_0x24e1('0x77')];_0x2354e3&&_0x2354e3[0x0]&&!0x1===_0x2354e3[0x0][_0x24e1('0x3d')]&&(_0x38fa80=_0x36c7a1[0x0][_0x24e1('0xb')][_0x24e1('0x47')]);const _0x1fa6e0=_0x19831e['createRangeIn'](_0x38fa80);if(_0x24e1('0x6b')==_0x1fa6e0[_0x24e1('0x12')][_0x24e1('0x45')])return;const _0x1fe958=Array[_0x24e1('0x28')](_0x149da2[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x9fc92d=>_0x1a2dc0['fromRange'](_0x9fc92d));_0x19831e[_0x24e1('0x54')](_0x1fa6e0),_0x15978d['commands'][_0x24e1('0x41')](_0x2a2262)[_0x24e1('0x6c')](),_0x2354e3[_0x24e1('0x6a')]({'forceDefaultExecution':!0x0}),_0x15978d['execute'](_0x2a2262,..._0x2354e3);const _0x30ac76=_0x1fe958[_0x24e1('0x14')](_0x39b03d=>_0x24e1('0x6b')!=_0x39b03d[_0x24e1('0x12')][_0x24e1('0x45')]);_0x30ac76[_0x24e1('0x1')]>0x0&&_0x19831e['setSelection'](_0x30ac76);for(const _0x220aa1 of _0x1fe958)_0x220aa1[_0x24e1('0x4d')]();});};}[_0x24e1('0xa')](_0x2fbd3a){const _0x40987d=this[_0x24e1('0x5c')]['plugins'][_0x24e1('0x41')](_0x24e1('0x34'));let _0x238cc8=Number[_0x24e1('0x1c')],_0x2f6e2e=Number[_0x24e1('0x7f')],_0x440bef=Number['MAX_SAFE_INTEGER'],_0x2b04c2=Number[_0x24e1('0x7f')];for(const _0x5ae431 of _0x2fbd3a){if(_0x24e1('0x6b')==_0x5ae431[_0x24e1('0x12')][_0x24e1('0x45')])continue;const {row:_0x5a361e,column:_0x468b3f}=_0x40987d[_0x24e1('0x5e')](_0x5ae431),_0x1e9e1a=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x27'))?_0x5ae431[_0x24e1('0x13')](_0x24e1('0x27'))-0x1:0x0,_0x177c34=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x74'))?_0x5ae431['getAttribute'](_0x24e1('0x74'))-0x1:0x0;_0x238cc8=_0x5a361e<_0x238cc8?_0x5a361e:_0x238cc8,_0x2f6e2e=_0x5a361e+_0x1e9e1a>_0x2f6e2e?_0x5a361e+_0x1e9e1a:_0x2f6e2e,_0x440bef=_0x468b3f<_0x440bef?_0x468b3f:_0x440bef,_0x2b04c2=_0x468b3f+_0x177c34>_0x2b04c2?_0x468b3f+_0x177c34:_0x2b04c2;}return{'minRow':_0x238cc8,'maxRow':_0x2f6e2e,'minColumn':_0x440bef,'maxColumn':_0x2b04c2};}[_0x24e1('0x49')](){const _0x1c7b7a=this[_0x24e1('0x5c')],_0x5440d6=_0x1c7b7a['plugins'][_0x24e1('0x41')]('TrackChangesEditing'),_0x21cc41=_0x1c7b7a['plugins']['get'](_0x24e1('0x34'));_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['on'](_0x24e1('0x63'),()=>{const _0x5f11c5=Array[_0x24e1('0x28')](_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x72')]());for(const {name:_0x28399f,data:_0x813917}of _0x5f11c5){const {group:_0x8cbea7,id:_0x478f4c,subType:_0x59589}=_0x5440d6['_splitMarkerName'](_0x28399f);if('suggestion'!=_0x8cbea7)continue;if(null!=_0x813917[_0x24e1('0x21')])continue;const _0x14f70f=_0x5440d6[_0x24e1('0x18')](_0x478f4c);this[_0x24e1('0x66')]['includes'](_0x59589)&&this[_0x24e1('0x44')]['add'](_0x14f70f);}},{'priority':_0x24e1('0x4b')});const _0x311c56=(_0x9a17c6,_0x4d29cc)=>{let _0x11373e=!0x1;const _0xe14ba7=_0x4d29cc[_0x24e1('0x53')](_0x9a17c6),_0x5c11c4=_0x9a17c6['findAncestor']('table'),_0x1ba9cb=_0x21cc41[_0x24e1('0x5e')](_0x9a17c6);for(const _0x1ac8b6 of this[_0x24e1('0x44')]){const _0xa6277=_0x1ac8b6['subType'],_0x357e49=_0xa6277[_0x24e1('0x16')]('tablePaste'),_0x56b8d6=_0xa6277[_0x24e1('0x58')](_0x357e49?0xa:0x5),_0x5b9bb8=_0x56b8d6[_0x24e1('0x7b')](),_0x3ce7ef=_0x5b9bb8[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x405fd5=_0x24e1('0x42')+_0x56b8d6,_0x69bcd0=_0x24e1('0x0')+_0x56b8d6;if(!_0x1ac8b6['isInContent'])continue;if(_0x5c11c4!=_0x1ac8b6[_0x24e1('0x8')]()[_0x24e1('0xb')]['findAncestor'](_0x24e1('0x6f')))continue;if(_0x1ac8b6[_0x24e1('0x1a')](_0xe14ba7))continue;const _0x3e8ef0=_0x9a17c6[_0x24e1('0xe')](_0x3ce7ef)?_0x9a17c6['getAttribute'](_0x3ce7ef)-0x1:0x0,_0x3f39a5=this[_0x24e1('0x4e')](_0x1ac8b6),_0x1c4bc3=_0x3f39a5[_0x405fd5],_0x24e8e1=_0x3f39a5[_0x69bcd0];_0x1c4bc3<=_0x1ba9cb[_0x5b9bb8]&&_0x1ba9cb[_0x5b9bb8]+_0x3e8ef0<=_0x24e8e1&&(_0x1ac8b6[_0x24e1('0x78')](_0xe14ba7),_0x11373e=!0x0);}return _0x11373e;};_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')][_0x24e1('0x7d')](_0x7cfb42=>{let _0x2f6298=!0x1;for(const _0x4f9d36 of _0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x5')]())if(_0x24e1('0x32')==_0x4f9d36[_0x24e1('0x1d')]){if(_0x24e1('0x1f')==_0x4f9d36[_0x24e1('0x2f')])for(const _0x2a1c20 of _0x4f9d36['position'][_0x24e1('0x47')]['getChildren']())_0x2f6298=_0x2f6298||_0x311c56(_0x2a1c20,_0x7cfb42);else _0x24e1('0x79')==_0x4f9d36['name']&&(_0x2f6298=_0x2f6298||_0x311c56(_0x4f9d36[_0x24e1('0x5a')][_0x24e1('0x47')],_0x7cfb42));}return _0x2f6298;});}[_0x24e1('0x4e')](_0x3acf30){return this[_0x24e1('0xa')](_0x3acf30[_0x24e1('0x70')]()['map'](_0x194472=>_0x194472['start'][_0x24e1('0x47')]));}}function se(_0x4c72df){return Array[_0x24e1('0x28')](new Set(_0x4c72df)['values']());}
23
+ const _0x51fd=['order','change','tableCell','subType','name','rootName','enqueueChange','toViewElement','get','change:data','ELEMENT_TABLE','selection','registerDescriptionCallback','_suggestionFactory','getRowIndexes','accept','isArray','startsWith','MIN_SAFE_INTEGER','$textProxy','cell','detach','TrackChangesEditing','rowspan','enableCommand','removeTableColumn','tablePaste','findAncestor','end','insertTableColumnRight','refresh','registerCustomCallback','getSuggestion','*Insert:*\x20%0','toLowerCase','suggestion','_tableSuggestions','from','*Remove:*\x20%0','values','type','length','getItems','last','maxColumn','position','discard','insertTable','editor','every','first','addMarker:suggestion','min','filter','_getCoordsForCells','minRow','includes','options','map','TableEditing','isEqual','createTableWalker','tableColumn','minColumn','isTouching','downcastDispatcher','isIntersectingWithRange','addRange','createRangeOn','ELEMENT_TABLE_COLUMN','above','getRanges','addClass','push','data','insertTableColumnLeft','root','TableUtils','setSelection','$graveyard','execute','max','plugins','createRangeIn','mapper','removeTableRow','item','start','getColumnIndexes','removeClass','createPositionAt','low','nodeAfter','markMultiRangeInsertion','deletion','commands','tableRow','table','_splitMarkerName','_tablePostFixingSubtypes','ELEMENT_TABLE_COLUMN_WITH_TEXT','substr','ELEMENT_TABLE_ROW_WITH_TEXT','document','_descriptionFactory','insertion','insert','differ','registerElementLabel','_getSuggestionCoords','fromRange','join','some','getAttribute','MAX_SAFE_INTEGER','getFirstRange','hasAttribute','insertTableRowAbove','batch','has','colspan','registerPostFixer','getCellLocation','writer','_setupColumnsRowsFixing','model','maxRow','getSelectionAffectedTableCells','ELEMENT_TABLE_WITH_TEXT'];(function(_0x18876e,_0x51fd09){const _0x561b72=function(_0x206506){while(--_0x206506){_0x18876e['push'](_0x18876e['shift']());}};_0x561b72(++_0x51fd09);}(_0x51fd,0xcb));const _0x561b=function(_0x18876e,_0x51fd09){_0x18876e=_0x18876e-0x0;let _0x561b72=_0x51fd[_0x18876e];return _0x561b72;};import{Plugin as _0x28ff0a}from'ckeditor5/src/core';import{LiveRange as _0x44dafe}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2ba045}from'ckeditor5/src/widget';import{getTranslation as _0x33ed96}from'../utils/common-translations';export default class dt extends _0x28ff0a{constructor(_0x21fc9a){super(_0x21fc9a),this['_tablePostFixingSubtypes']=[_0x561b('0x16'),_0x561b('0x75')],this[_0x561b('0x5b')]=new Set();}['afterInit'](){const _0x32da67=this[_0x561b('0x67')],_0xdb9c65=_0x32da67['model'][_0x561b('0x1d')][_0x561b('0x42')];if(!_0x32da67[_0x561b('0x8')][_0x561b('0x2d')](_0x561b('0x72')))return;const _0x4c55d3=_0x32da67['locale'],_0x1b4d64=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x4d')),_0x4379b6=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));_0x1b4d64[_0x561b('0x1e')][_0x561b('0x22')](_0x561b('0x17'),_0x316e1a=>_0x33ed96(_0x4c55d3,_0x561b('0x41'),_0x316e1a)),this[_0x561b('0x32')](),_0x1b4d64[_0x561b('0x4f')](_0x561b('0x66')),_0x1b4d64[_0x561b('0x4f')]('selectTableRow'),_0x1b4d64['enableCommand']('selectTableColumn');for(const _0x10e36a of[_0x561b('0x2b'),'insertTableRowBelow']){const _0x2287b2=_0x32da67['commands'][_0x561b('0x3f')](_0x10e36a);_0x1b4d64[_0x561b('0x4f')](_0x10e36a,_0x5a5854=>{_0x32da67['model'][_0x561b('0x38')](_0x2da334=>{_0x5a5854();const _0x4d955c=_0x561b('0x7d')===_0x2287b2[_0x561b('0x37')],_0xa9293b=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x2766a2=_0x4379b6[_0x561b('0x45')](_0xa9293b),_0x252f7e=_0x4d955c?_0x2766a2[_0x561b('0x69')]-0x1:_0x2766a2[_0x561b('0x62')]+0x1,_0x265b6b=_0xa9293b[0x0][_0x561b('0x52')]('table'),_0x312d0b=_0x4379b6[_0x561b('0x74')](_0x265b6b,{'startRow':_0x252f7e,'endRow':_0x252f7e}),_0x469b4c=Array['from'](_0x312d0b)[_0x561b('0x71')](_0x43d91e=>_0x2da334[_0x561b('0x7b')](_0x43d91e['cell']));_0x1b4d64[_0x561b('0x13')](_0x469b4c,_0x561b('0x16'));});});}for(const _0x4c2175 of[_0x561b('0x1'),_0x561b('0x54')]){const _0x3a0856=_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x4c2175);_0x1b4d64[_0x561b('0x4f')](_0x4c2175,_0x51b202=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x2d3e31=>{_0x51b202();const _0x156c72='left'===_0x3a0856[_0x561b('0x37')],_0x5c6664=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x140453=_0x4379b6[_0x561b('0xe')](_0x5c6664),_0x275d4d=_0x156c72?_0x140453[_0x561b('0x69')]-0x1:_0x140453[_0x561b('0x62')]+0x1,_0x40f1f0=_0x5c6664[0x0]['findAncestor'](_0x561b('0x17')),_0xb94765=_0x4379b6[_0x561b('0x74')](_0x40f1f0,{'startRow':0x0,'column':_0x275d4d,'includeAllSlots':!0x1}),_0x23d3cf=Array[_0x561b('0x5c')](_0xb94765)[_0x561b('0x71')](_0x9dc165=>_0x2d3e31['createRangeOn'](_0x9dc165[_0x561b('0x4b')]));_0x1b4d64[_0x561b('0x13')](_0x23d3cf,'tableColumn');});});}for(const _0x2f27b3 of[_0x561b('0xb'),_0x561b('0x50')]){const _0x58b7e3=_0x2f27b3['substr'](0xb),_0x27e5a5=_0x58b7e3['toLowerCase'](),_0x105415=_0x27e5a5[_0x561b('0x1b')](0x0,0x3)+'span',_0x3a18ca=_0x561b('0x17')+_0x58b7e3,_0x3660bd=_0x561b('0x6b')+_0x58b7e3,_0x168554=_0x561b('0x7')+_0x58b7e3;_0x1b4d64[_0x561b('0x4f')](_0x2f27b3,()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xe80439=>{const _0x264eee=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x3a0832=_0x264eee[0x0][_0x561b('0x52')]('table');let _0x458e09;if('removeTableRow'==_0x2f27b3){const _0x2e89d5=_0x4379b6[_0x561b('0x45')](_0x264eee);_0x458e09={'startRow':_0x2e89d5['first'],'endRow':_0x2e89d5[_0x561b('0x62')],'includeAllSlots':!0x0};}else{const _0x5c7f4c=_0x4379b6[_0x561b('0xe')](_0x264eee);_0x458e09={'startColumn':_0x5c7f4c[_0x561b('0x69')],'endColumn':_0x5c7f4c[_0x561b('0x62')],'includeAllSlots':!0x0};}const _0x25a12f=_0x4379b6[_0x561b('0x74')](_0x3a0832,_0x458e09),_0x1552ef=Array[_0x561b('0x5c')](_0x25a12f)['map'](({cell:_0x3ae3bf})=>_0x3ae3bf),_0xc436f=se(_0x1552ef[_0x561b('0x6c')](_0xb9a52f=>_0xb9a52f[_0x561b('0x2a')](_0x105415))),_0xd27f85=se(_0x1552ef[_0x561b('0x6c')](_0x2784b3=>!_0x2784b3[_0x561b('0x2a')](_0x105415)))[_0x561b('0x71')](_0x71233e=>_0xe80439['createRangeOn'](_0x71233e)),_0x358bc0=_0x1b4d64['markMultiRangeDeletion'](_0xd27f85,_0x3a18ca);if(_0x358bc0&&(_0x561b('0x16')==_0x358bc0[_0x561b('0x3a')]||_0x561b('0x75')==_0x358bc0[_0x561b('0x3a')])){const _0x135b10=this[_0x561b('0x23')](_0x358bc0);for(const _0x5da268 of _0xc436f){const _0x1a1083=_0xe80439[_0x561b('0x7b')](_0x5da268),_0x5dd31a=_0x4379b6[_0x561b('0x30')](_0x5da268),_0x3af082=_0x5da268[_0x561b('0x27')](_0x105415)-0x1,_0x93a44f=_0x135b10[_0x3660bd],_0x131e68=_0x135b10[_0x168554];_0x93a44f<=_0x5dd31a[_0x27e5a5]&&_0x5dd31a[_0x27e5a5]+_0x3af082<=_0x131e68&&_0x358bc0[_0x561b('0x7a')](_0x1a1083);}}});});}function _0x5755d9(_0x2bfeb2){const _0x24c2f6=Array[_0x561b('0x5c')](_0xdb9c65[_0x561b('0x7e')]())[_0x561b('0x71')](_0xee81f4=>_0x44dafe[_0x561b('0x24')](_0xee81f4));_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xfff425=>{const _0x12a038=_0xfff425[_0x561b('0x2c')];_0x2bfeb2=_0x2bfeb2[_0x561b('0x6c')](_0x45ab4a=>_0x561b('0x5')!=_0x45ab4a[_0x561b('0x2')][_0x561b('0x3c')]),_0xfff425['setSelection'](_0x2bfeb2),_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x561b('0xb'))[_0x561b('0x55')](),_0x32da67[_0x561b('0x6')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](_0x12a038,_0x5ba12b=>{const _0x44459f=_0x24c2f6[_0x561b('0x6c')](_0x249827=>_0x561b('0x5')!=_0x249827[_0x561b('0x2')][_0x561b('0x3c')]);_0x44459f[_0x561b('0x60')]>0x0&&_0x5ba12b[_0x561b('0x4')](_0x44459f);for(const _0x2211e3 of _0x24c2f6)_0x2211e3[_0x561b('0x4c')]();});});});}function _0x23e731(_0x1862e0){_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x110989=>{const _0x5cc4db=Array['from'](_0xdb9c65['getRanges']())[_0x561b('0x71')](_0x4f3bfb=>_0x44dafe[_0x561b('0x24')](_0x4f3bfb)),_0x4718c7=[];for(const _0x51d4a5 of _0x1862e0)for(const _0x421aa0 of _0x51d4a5['getItems']({'shallow':!0x0}))_0x4718c7[_0x561b('0x80')](_0x421aa0);for(const _0x3396e0 of _0x4718c7)'$graveyard'!=_0x3396e0[_0x561b('0x2')][_0x561b('0x3c')]&&(_0x110989[_0x561b('0x4')](_0x110989[_0x561b('0x10')](_0x3396e0,0x0)),_0x32da67['commands'][_0x561b('0x3f')](_0x561b('0x50'))[_0x561b('0x55')](),_0x32da67['execute'](_0x561b('0x50'),{'forceDefaultExecution':!0x0}));const _0x52b41a=_0x5cc4db['filter'](_0x5bbbe7=>'$graveyard'!=_0x5bbbe7['root'][_0x561b('0x3c')]);_0x52b41a[_0x561b('0x60')]>0x0&&_0x110989[_0x561b('0x4')](_0x52b41a);for(const _0x5892ff of _0x5cc4db)_0x5892ff[_0x561b('0x4c')]();});}function _0x53673a(_0x289236,_0x21aa4c){return _0x21aa4c[_0x561b('0x68')](_0x3dc3d1=>_0x289236[_0x561b('0x26')](_0x101dae=>_0x101dae['end'][_0x561b('0x73')](_0x3dc3d1[_0x561b('0xd')])||_0x3dc3d1['end'][_0x561b('0x73')](_0x101dae['start'])));}function _0x48f4ac(_0x54a8f2,_0x2a7000){return _0x54a8f2[_0x561b('0x26')](_0x2c7ccf=>_0x2a7000['some'](_0x34260c=>_0x2c7ccf[_0x561b('0x53')][_0x561b('0x77')](_0x34260c['start'])));}_0x32da67['data'][_0x561b('0x78')]['on'](_0x561b('0x6a'),(_0x10fb16,_0x3553cd,_0x49fe7f)=>{if(!_0x49fe7f[_0x561b('0x70')]['showSuggestionHighlights'])return;const _0x4a9c3c=_0x3553cd[_0x561b('0xc')];if(!_0x4a9c3c)return;const _0x4fe51b=_0x49fe7f[_0x561b('0xa')][_0x561b('0x3e')](_0x4a9c3c);function _0x1ac1e9(_0x4ff059){return Array[_0x561b('0x47')](_0x4ff059)?_0x4ff059:[_0x4ff059];}_0x4fe51b&&_0x561b('0x39')===_0x4a9c3c['name']&&_0x2ba045(_0x4fe51b,_0x49fe7f[_0x561b('0x31')],(_0x5558be,_0xf0ca3a,_0x1554aa)=>_0x1554aa[_0x561b('0x7f')](_0x1ac1e9(_0xf0ca3a['classes']),_0x5558be),(_0xc9cde7,_0x2f0d25,_0x3b6434)=>_0x3b6434[_0x561b('0xf')](_0x1ac1e9(_0x2f0d25['classes']),_0xc9cde7));},{'priority':'highest'}),_0x1b4d64[_0x561b('0x1e')][_0x561b('0x43')](_0x4e0933=>{if(_0x561b('0x1f')!=_0x4e0933[_0x561b('0x5f')]&&_0x561b('0x14')!=_0x4e0933['type'])return;const _0x44f684=_0x4e0933['getContainedElement']();if(null!=_0x44f684&&_0x44f684['is']('element',_0x561b('0x17'))){if(_0x561b('0x1f')==_0x4e0933[_0x561b('0x5f')]){const _0x10ed4d=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x4de141=>_0x4de141['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x5da20d=>_0x5da20d[_0x561b('0x0')]);if(_0x10ed4d[_0x561b('0x60')])return{'type':'insertion','content':_0x33ed96(_0x4c55d3,'*Insert:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x10ed4d[_0x561b('0x25')]('\x20')+'\x22'))};}if(_0x561b('0x14')==_0x4e0933[_0x561b('0x5f')]){const _0x325116=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x544a4a=>_0x544a4a['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x21098b=>_0x21098b['data']);if(_0x325116[_0x561b('0x60')])return{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x325116[_0x561b('0x25')]('\x20')+'\x22'))};}}}),_0x1b4d64['_descriptionFactory'][_0x561b('0x43')](_0xcd56a2=>{if(_0x561b('0x16')==_0xcd56a2[_0x561b('0x3a')]){const _0x1548b8=_0xcd56a2['getItems']()['filter'](_0x4960eb=>_0x4960eb['is'](_0x561b('0x4a')))['map'](_0x98d76f=>_0x98d76f[_0x561b('0x0')]),_0x2cb055=this[_0x561b('0x23')](_0xcd56a2),_0x499596=_0x2cb055[_0x561b('0x34')]-_0x2cb055[_0x561b('0x6e')]+0x1;if('insertion'==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8[_0x561b('0x60')]?{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};}if(_0x561b('0x75')==_0xcd56a2[_0x561b('0x3a')]){const _0x429fe9=_0xcd56a2[_0x561b('0x61')]()['filter'](_0x1ba643=>_0x1ba643['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x592279=>_0x592279[_0x561b('0x0')]),_0x3088f7=this[_0x561b('0x23')](_0xcd56a2),_0x202a0b=_0x3088f7[_0x561b('0x63')]-_0x3088f7[_0x561b('0x76')]+0x1;if('insertion'==_0xcd56a2['type'])return _0x429fe9[_0x561b('0x60')]?{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_COLUMN',_0x202a0b))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x429fe9['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9['join']('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x7c'),_0x202a0b))};}}),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')]('insertion',_0x561b('0x16'),_0x561b('0x65'),_0x5755d9),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x46'),_0x5755d9),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x65'),_0x23e731),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback']('deletion',_0x561b('0x75'),'accept',_0x23e731),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x14'),'tableColumn',_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac);}['_acceptFormatSuggestionCallbackFactory'](){const _0x4bed25=this[_0x561b('0x67')],_0x34f8c3=_0x4bed25[_0x561b('0x33')]['document']['selection'];return(_0x568ac0,_0xa068bb)=>{_0x4bed25[_0x561b('0x33')][_0x561b('0x38')](_0x24d873=>{const {commandName:_0x37e8e1,commandParams:_0x21d9ec}=_0xa068bb;let _0x21eaad=_0x568ac0[0x0][_0x561b('0x53')]['nodeBefore'];_0x21d9ec&&_0x21d9ec[0x0]&&!0x1===_0x21d9ec[0x0]['forceValue']&&(_0x21eaad=_0x568ac0[0x0][_0x561b('0xd')][_0x561b('0x12')]);const _0x179c25=_0x24d873[_0x561b('0x9')](_0x21eaad);if('$graveyard'==_0x179c25['root'][_0x561b('0x3c')])return;const _0x45bdb4=Array[_0x561b('0x5c')](_0x34f8c3['getRanges']())[_0x561b('0x71')](_0x5639dc=>_0x44dafe[_0x561b('0x24')](_0x5639dc));_0x24d873[_0x561b('0x4')](_0x179c25),_0x4bed25['commands']['get'](_0x37e8e1)[_0x561b('0x55')](),_0x21d9ec[_0x561b('0x80')]({'forceDefaultExecution':!0x0}),_0x4bed25[_0x561b('0x6')](_0x37e8e1,..._0x21d9ec);const _0x198bef=_0x45bdb4['filter'](_0x25ec92=>_0x561b('0x5')!=_0x25ec92['root']['rootName']);_0x198bef['length']>0x0&&_0x24d873[_0x561b('0x4')](_0x198bef);for(const _0x2dd867 of _0x45bdb4)_0x2dd867[_0x561b('0x4c')]();});};}[_0x561b('0x6d')](_0x4f8346){const _0x49da3e=this[_0x561b('0x67')][_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));let _0x602e77=Number[_0x561b('0x28')],_0x2a2d9e=Number[_0x561b('0x49')],_0x3d9ba5=Number[_0x561b('0x28')],_0x554d41=Number[_0x561b('0x49')];for(const _0x5d0203 of _0x4f8346){if('$graveyard'==_0x5d0203[_0x561b('0x2')][_0x561b('0x3c')])continue;const {row:_0x12401b,column:_0x18ce00}=_0x49da3e[_0x561b('0x30')](_0x5d0203),_0x39b0b4=_0x5d0203[_0x561b('0x2a')](_0x561b('0x4e'))?_0x5d0203[_0x561b('0x27')]('rowspan')-0x1:0x0,_0x3c0c4e=_0x5d0203[_0x561b('0x2a')](_0x561b('0x2e'))?_0x5d0203[_0x561b('0x27')]('colspan')-0x1:0x0;_0x602e77=_0x12401b<_0x602e77?_0x12401b:_0x602e77,_0x2a2d9e=_0x12401b+_0x39b0b4>_0x2a2d9e?_0x12401b+_0x39b0b4:_0x2a2d9e,_0x3d9ba5=_0x18ce00<_0x3d9ba5?_0x18ce00:_0x3d9ba5,_0x554d41=_0x18ce00+_0x3c0c4e>_0x554d41?_0x18ce00+_0x3c0c4e:_0x554d41;}return{'minRow':_0x602e77,'maxRow':_0x2a2d9e,'minColumn':_0x3d9ba5,'maxColumn':_0x554d41};}[_0x561b('0x32')](){const _0x4537e9=this[_0x561b('0x67')],_0x2a4c45=_0x4537e9['plugins'][_0x561b('0x3f')]('TrackChangesEditing'),_0x216194=_0x4537e9[_0x561b('0x8')][_0x561b('0x3f')]('TableUtils');_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')]['on'](_0x561b('0x40'),()=>{const _0x5e08af=Array[_0x561b('0x5c')](_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChangedMarkers']());for(const {name:_0x347ed3,data:_0x5cdd26}of _0x5e08af){const {group:_0x225991,id:_0x58e778,subType:_0x588d76}=_0x2a4c45[_0x561b('0x18')](_0x347ed3);if(_0x561b('0x5a')!=_0x225991)continue;if(null!=_0x5cdd26['oldRange'])continue;const _0x32a009=_0x2a4c45[_0x561b('0x57')](_0x58e778);this[_0x561b('0x19')][_0x561b('0x6f')](_0x588d76)&&this[_0x561b('0x5b')]['add'](_0x32a009);}},{'priority':_0x561b('0x11')});const _0x2884b1=(_0x14d4f3,_0x4ce9c7)=>{let _0x5cbecc=!0x1;const _0x1db2a4=_0x4ce9c7['createRangeOn'](_0x14d4f3),_0x2e63b2=_0x14d4f3['findAncestor'](_0x561b('0x17')),_0x29ca23=_0x216194['getCellLocation'](_0x14d4f3);for(const _0x2b9dc2 of this[_0x561b('0x5b')]){const _0x4ed0a3=_0x2b9dc2[_0x561b('0x3a')],_0x508bc9=_0x4ed0a3[_0x561b('0x48')](_0x561b('0x51')),_0x3df8ca=_0x4ed0a3[_0x561b('0x1b')](_0x508bc9?0xa:0x5),_0x472e69=_0x3df8ca[_0x561b('0x59')](),_0x2f8e81=_0x472e69[_0x561b('0x1b')](0x0,0x3)+'span',_0x1b43f0=_0x561b('0x6b')+_0x3df8ca,_0x2d1411=_0x561b('0x7')+_0x3df8ca;if(!_0x2b9dc2['isInContent'])continue;if(_0x2e63b2!=_0x2b9dc2[_0x561b('0x29')]()[_0x561b('0xd')]['findAncestor'](_0x561b('0x17')))continue;if(_0x2b9dc2[_0x561b('0x79')](_0x1db2a4))continue;const _0x4c7f15=_0x14d4f3['hasAttribute'](_0x2f8e81)?_0x14d4f3[_0x561b('0x27')](_0x2f8e81)-0x1:0x0,_0xc9a2cb=this[_0x561b('0x23')](_0x2b9dc2),_0x64be6f=_0xc9a2cb[_0x1b43f0],_0x12daa2=_0xc9a2cb[_0x2d1411];_0x64be6f<=_0x29ca23[_0x472e69]&&_0x29ca23[_0x472e69]+_0x4c7f15<=_0x12daa2&&(_0x2b9dc2['addRange'](_0x1db2a4),_0x5cbecc=!0x0);}return _0x5cbecc;};_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x2f')](_0xfb2ae=>{let _0x1eb636=!0x1;for(const _0x30beb9 of _0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChanges']())if(_0x561b('0x20')==_0x30beb9['type']){if('tableRow'==_0x30beb9[_0x561b('0x3b')])for(const _0x4031ab of _0x30beb9[_0x561b('0x64')][_0x561b('0x12')]['getChildren']())_0x1eb636=_0x1eb636||_0x2884b1(_0x4031ab,_0xfb2ae);else _0x561b('0x39')==_0x30beb9[_0x561b('0x3b')]&&(_0x1eb636=_0x1eb636||_0x2884b1(_0x30beb9[_0x561b('0x64')][_0x561b('0x12')],_0xfb2ae));}return _0x1eb636;});}[_0x561b('0x23')](_0x3c4d79){return this[_0x561b('0x6d')](_0x3c4d79[_0x561b('0x7e')]()[_0x561b('0x71')](_0x539dba=>_0x539dba['start'][_0x561b('0x12')]));}}function se(_0x596324){return Array['from'](new Set(_0x596324)[_0x561b('0x5e')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe69d=['TableCaptionEditing','requires','editor','plugins','get','toggleTableCaption'];(function(_0x5eb494,_0xe69d34){const _0x1d55f6=function(_0x4e9477){while(--_0x4e9477){_0x5eb494['push'](_0x5eb494['shift']());}};_0x1d55f6(++_0xe69d34);}(_0xe69d,0x1f2));const _0x1d55=function(_0x5eb494,_0xe69d34){_0x5eb494=_0x5eb494-0x0;let _0x1d55f6=_0xe69d[_0x5eb494];return _0x1d55f6;};import{Plugin as _0x2b04b4}from'ckeditor5/src/core';import _0x1c5dfd from'./table';export default class At extends _0x2b04b4{static get[_0x1d55('0x1')](){return[_0x1c5dfd];}['afterInit'](){const _0xa41a7a=this[_0x1d55('0x2')];if(!_0xa41a7a[_0x1d55('0x3')]['has'](_0x1d55('0x0')))return;_0xa41a7a[_0x1d55('0x3')][_0x1d55('0x4')]('TrackChangesEditing')['enableCommand'](_0x1d55('0x5'));}}
23
+ const _0x3bdc=['requires','has','get','plugins','afterInit'];(function(_0x4f82b6,_0x3bdc24){const _0x10f867=function(_0xed9404){while(--_0xed9404){_0x4f82b6['push'](_0x4f82b6['shift']());}};_0x10f867(++_0x3bdc24);}(_0x3bdc,0x1b2));const _0x10f8=function(_0x4f82b6,_0x3bdc24){_0x4f82b6=_0x4f82b6-0x0;let _0x10f867=_0x3bdc[_0x4f82b6];return _0x10f867;};import{Plugin as _0x5164fa}from'ckeditor5/src/core';import _0x2af8db from'./table';export default class At extends _0x5164fa{static get[_0x10f8('0x1')](){return[_0x2af8db];}[_0x10f8('0x0')](){const _0x4afb64=this['editor'];if(!_0x4afb64[_0x10f8('0x4')][_0x10f8('0x2')]('TableCaptionEditing'))return;_0x4afb64[_0x10f8('0x4')][_0x10f8('0x3')]('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}