@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231011.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 (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x382f=['listItem','selection','styles','reversed','plugins','getLastPosition','listReversed','startIndex','change','length','backward','commandName','parent','_getSuggestionBlocks','numbered','*Format:*\x20set\x20order\x20to\x20regular','handleListStyleCommand','ListUtils','createPositionAt','_LIST_','afterInit','bind','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','markMultiRangeBlockFormat','map','TrackChangesEditing','get','handleListStartCommand','*Format:*\x20set\x20order\x20to\x20reversed','forward','model','push','getSiblingNodes','from','getListTypeFromListStyleType','before','getFirstPosition','enableCommand','listType','getSelectedBlocks','config','editor','handleDescriptions','commandParams','ListPropertiesEditing','locale','filter','document','createRange','format','getAttribute','listStyle','toUpperCase','list.properties','unshift','listStart','type','element'];(function(_0x5450cc,_0x382f9f){const _0x241137=function(_0x148e12){while(--_0x148e12){_0x5450cc['push'](_0x5450cc['shift']());}};_0x241137(++_0x382f9f);}(_0x382f,0x1c6));const _0x2411=function(_0x5450cc,_0x382f9f){_0x5450cc=_0x5450cc-0x0;let _0x241137=_0x382f[_0x5450cc];return _0x241137;};import{Plugin as _0x2f8ac4}from'ckeditor5/src/core';import{getTranslation as _0x4dd710}from'../utils/common-translations';export default class ot extends _0x2f8ac4{[_0x2411('0x26')](){if(!this['editor']['plugins']['has'](_0x2411('0x4')))return;const _0x4655c1=this[_0x2411('0x1')][_0x2411('0x0')]['get'](_0x2411('0xd')),_0x7b6bc4=this[_0x2411('0x1')]['plugins'][_0x2411('0x2d')]('TrackChangesEditing');_0x4655c1[_0x2411('0x14')]&&_0x7b6bc4[_0x2411('0x38')](_0x2411('0xb'),this['handleListStyleCommand']['bind'](this)),_0x4655c1[_0x2411('0x15')]&&_0x7b6bc4[_0x2411('0x38')](_0x2411('0x18'),this['handleListReversedCommand']['bind'](this)),_0x4655c1[_0x2411('0x19')]&&_0x7b6bc4[_0x2411('0x38')](_0x2411('0xf'),this[_0x2411('0x2e')][_0x2411('0x27')](this)),_0x7b6bc4['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x2411('0x27')](this));}[_0x2411('0x22')](_0x3c173c,_0x531e5f={}){const _0x41daef=this[_0x2411('0x1')][_0x2411('0x16')][_0x2411('0x2d')](_0x2411('0x2c')),_0x6a095b=this[_0x2411('0x28')]();this['editor'][_0x2411('0x31')][_0x2411('0x1a')](()=>{_0x41daef[_0x2411('0x2a')](_0x6a095b,{'commandName':'listStyle','commandParams':[{'type':_0x531e5f[_0x2411('0x10')]}],'formatGroupId':_0x2411('0xb')});});}['handleListReversedCommand'](_0x3682a6,_0x26a2d1={}){const _0x2a52a7=this['editor'][_0x2411('0x16')][_0x2411('0x2d')]('TrackChangesEditing'),_0x8d8345=this[_0x2411('0x1f')](_0x45e1ea=>_0x45e1ea['is'](_0x2411('0x11'),_0x2411('0x12'))&&_0x2411('0x20')===_0x45e1ea['getAttribute'](_0x2411('0x39')));if(_0x8d8345['length']<0x1)return;const _0x3df99b=_0x8d8345['map'](_0x6628c9=>this[_0x2411('0x1')]['model'][_0x2411('0x8')](this['editor'][_0x2411('0x31')][_0x2411('0x24')](_0x6628c9,_0x2411('0x36')),this[_0x2411('0x1')][_0x2411('0x31')][_0x2411('0x24')](_0x6628c9,0x0)));this[_0x2411('0x1')][_0x2411('0x31')][_0x2411('0x1a')](()=>{_0x2a52a7[_0x2411('0x2a')](_0x3df99b,{'commandName':'listReversed','commandParams':[{'reversed':_0x26a2d1[_0x2411('0x15')]}],'formatGroupId':_0x2411('0x18')});});}['handleListStartCommand'](_0x416822,_0x3920e4={}){const _0x469146=this[_0x2411('0x1')][_0x2411('0x16')][_0x2411('0x2d')](_0x2411('0x2c')),_0x8521ae=this[_0x2411('0x1f')](_0x525ead=>_0x525ead['is'](_0x2411('0x11'),_0x2411('0x12'))&&'numbered'===_0x525ead[_0x2411('0xa')](_0x2411('0x39')));if(_0x8521ae[_0x2411('0x1b')]<0x1)return;const _0x58f119=_0x8521ae[_0x2411('0x2b')](_0x1d1337=>this['editor']['model'][_0x2411('0x8')](this['editor'][_0x2411('0x31')]['createPositionAt'](_0x1d1337,_0x2411('0x36')),this['editor'][_0x2411('0x31')][_0x2411('0x24')](_0x1d1337,0x0)));this[_0x2411('0x1')][_0x2411('0x31')][_0x2411('0x1a')](()=>{_0x469146[_0x2411('0x2a')](_0x58f119,{'commandName':'listStart','commandParams':[{'startIndex':_0x3920e4[_0x2411('0x19')]}],'formatGroupId':'listStart'});});}[_0x2411('0x2')](_0x36fa4b){const _0x5bdd2d=this['editor'][_0x2411('0x5')],{data:_0x10b516}=_0x36fa4b;if(!_0x10b516)return;let _0x5b5e66,_0x15d77c;switch(_0x10b516[_0x2411('0x1d')]){case _0x2411('0xb'):_0x5b5e66='*Change\x20to:*\x20%0',_0x15d77c={'type':_0x2411('0x9'),'content':_0x4dd710(_0x5bdd2d,_0x5b5e66,_0x4dd710(_0x5bdd2d,this[_0x2411('0x29')](_0x10b516[_0x2411('0x3')][0x0][_0x2411('0x10')])))};break;case'listReversed':_0x5b5e66=_0x10b516[_0x2411('0x3')][0x0][_0x2411('0x15')]?_0x2411('0x2f'):_0x2411('0x21'),_0x15d77c={'type':_0x2411('0x9'),'content':_0x4dd710(_0x5bdd2d,_0x5b5e66)};break;case _0x2411('0xf'):_0x5b5e66='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x15d77c={'type':_0x2411('0x9'),'content':_0x4dd710(_0x5bdd2d,_0x5b5e66,_0x10b516[_0x2411('0x3')][0x0][_0x2411('0x19')])};}return _0x15d77c;}[_0x2411('0x28')](){var _0x309d56,_0x488bf8,_0x178688,_0x5240c0;const _0x2d6e9f=this[_0x2411('0x1')][_0x2411('0x16')][_0x2411('0x2d')]('ListUtils');let _0x38f092=Array[_0x2411('0x34')](this[_0x2411('0x1')]['model'][_0x2411('0x7')][_0x2411('0x13')][_0x2411('0x3a')]());return(null===(_0x309d56=_0x38f092[0x0])||void 0x0===_0x309d56?void 0x0:_0x309d56['is'](_0x2411('0x11'),_0x2411('0x12')))&&_0x38f092[_0x2411('0xe')](..._0x2d6e9f[_0x2411('0x33')](this[_0x2411('0x1')][_0x2411('0x31')][_0x2411('0x7')][_0x2411('0x13')][_0x2411('0x37')](),_0x2411('0x1c'))),(null===(_0x488bf8=_0x38f092[_0x38f092[_0x2411('0x1b')]-0x1])||void 0x0===_0x488bf8?void 0x0:_0x488bf8['is'](_0x2411('0x11'),_0x2411('0x12')))&&_0x38f092[_0x2411('0x32')](..._0x2d6e9f[_0x2411('0x33')](this[_0x2411('0x1')]['model'][_0x2411('0x7')][_0x2411('0x13')][_0x2411('0x17')](),'forward')),_0x38f092=[...new Set(_0x38f092)],(null===(_0x5240c0=null===(_0x178688=this[_0x2411('0x1')][_0x2411('0x31')][_0x2411('0x7')][_0x2411('0x13')]['getFirstPosition']())||void 0x0===_0x178688?void 0x0:_0x178688[_0x2411('0x1e')])||void 0x0===_0x5240c0?void 0x0:_0x5240c0['is'](_0x2411('0x11'),_0x2411('0x12')))&&(_0x38f092=_0x38f092[_0x2411('0x6')](_0x29f28d=>_0x29f28d['is'](_0x2411('0x11'),_0x2411('0x12')))),_0x38f092;}['_getSuggestionBlocks'](_0x1da449){const _0x338acb=this[_0x2411('0x1')][_0x2411('0x16')]['get'](_0x2411('0x23'));let _0x3c6bca=Array['from'](this['editor'][_0x2411('0x31')][_0x2411('0x7')][_0x2411('0x13')][_0x2411('0x3a')]())['filter'](_0x1da449)[_0x2411('0x2b')](_0x2ff45f=>{const _0x46887d=this['editor'][_0x2411('0x31')][_0x2411('0x24')](_0x2ff45f,0x0);return[..._0x338acb[_0x2411('0x33')](_0x46887d,_0x2411('0x1c')),..._0x338acb[_0x2411('0x33')](_0x46887d,_0x2411('0x30'))];})['flat']();return _0x3c6bca=[...new Set(_0x3c6bca)],_0x3c6bca;}['_getTranslationKeyForListStyle'](_0x26c8c9){return'ELEMENT_'+this[_0x2411('0x1')]['plugins'][_0x2411('0x2d')](_0x2411('0x23'))[_0x2411('0x35')](_0x26c8c9)[_0x2411('0xc')]()+_0x2411('0x25')+_0x26c8c9[_0x2411('0xc')]()['replace'](/-/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 _0x26b1=['for','conversion','locale','editor','afterInit','has','enableCommand','plugins','_descriptionFactory','high','options','createEmptyElement','div','registerElementLabel','showSuggestionHighlights','attribute:url:media','media','downcastDispatcher'];(function(_0x197802,_0x26b145){const _0x53bd8d=function(_0x26ce40){while(--_0x26ce40){_0x197802['push'](_0x197802['shift']());}};_0x53bd8d(++_0x26b145);}(_0x26b1,0xcf));const _0x53bd=function(_0x197802,_0x26b145){_0x197802=_0x197802-0x0;let _0x53bd8d=_0x26b1[_0x197802];return _0x53bd8d;};import{Plugin as _0x489daa}from'ckeditor5/src/core';import{getTranslation as _0x760dfd}from'../utils/common-translations';export default class rt extends _0x489daa{[_0x53bd('0xd')](){const _0x38a6f1=this[_0x53bd('0xc')];if(!_0x38a6f1[_0x53bd('0x10')][_0x53bd('0xe')]('MediaEmbedEditing'))return;const _0x5acaae=_0x38a6f1[_0x53bd('0x10')]['get']('TrackChangesEditing'),_0x1b31ab=_0x38a6f1[_0x53bd('0xb')];_0x5acaae[_0x53bd('0xf')]('mediaEmbed'),_0x5acaae[_0x53bd('0x11')][_0x53bd('0x4')](_0x53bd('0x7'),_0xc67d8e=>_0x760dfd(_0x1b31ab,'ELEMENT_MEDIA',_0xc67d8e)),_0x38a6f1[_0x53bd('0xa')][_0x53bd('0x9')]('dataDowncast')['elementToElement']({'model':_0x53bd('0x7'),'view':(_0xaef1b0,{writer:_0x1bbcd7,options:_0x305617})=>{if(_0x305617[_0x53bd('0x5')])return _0x1bbcd7[_0x53bd('0x2')](_0x53bd('0x3'));},'converterPriority':_0x53bd('0x0')}),_0x38a6f1['data'][_0x53bd('0x8')]['on'](_0x53bd('0x6'),(_0x24df82,_0x154175,_0x14f05b)=>{_0x14f05b[_0x53bd('0x1')][_0x53bd('0x5')]&&_0x24df82['stop']();},{'priority':_0x53bd('0x0')});}}
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 _0x212d=['enableCommand','has','TrackChangesEditing','plugins','afterInit','MentionEditing','get','mention'];(function(_0x2e65c5,_0x212de6){const _0x4b0517=function(_0x4d10dc){while(--_0x4d10dc){_0x2e65c5['push'](_0x2e65c5['shift']());}};_0x4b0517(++_0x212de6);}(_0x212d,0x127));const _0x4b05=function(_0x2e65c5,_0x212de6){_0x2e65c5=_0x2e65c5-0x0;let _0x4b0517=_0x212d[_0x2e65c5];return _0x4b0517;};import{Plugin as _0xd97028}from'ckeditor5/src/core';export default class at extends _0xd97028{[_0x4b05('0x5')](){const _0x5c1dba=this['editor'];_0x5c1dba[_0x4b05('0x4')][_0x4b05('0x2')](_0x4b05('0x6'))&&_0x5c1dba[_0x4b05('0x4')][_0x4b05('0x7')](_0x4b05('0x3'))[_0x4b05('0x1')](_0x4b05('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 _0x3a59=['PageBreakEditing','afterInit','enableCommand','plugins','has','ELEMENT_PAGE_BREAK','get','locale','_descriptionFactory','TrackChangesEditing','pageBreak','editor'];(function(_0x14ce9d,_0x3a5957){const _0x57c82c=function(_0x50aa43){while(--_0x50aa43){_0x14ce9d['push'](_0x14ce9d['shift']());}};_0x57c82c(++_0x3a5957);}(_0x3a59,0xbb));const _0x57c8=function(_0x14ce9d,_0x3a5957){_0x14ce9d=_0x14ce9d-0x0;let _0x57c82c=_0x3a59[_0x14ce9d];return _0x57c82c;};import{Plugin as _0x39f739}from'ckeditor5/src/core';import{getTranslation as _0x455e6e}from'../utils/common-translations';export default class ct extends _0x39f739{[_0x57c8('0x6')](){const _0x14d6c4=this[_0x57c8('0x4')];if(!_0x14d6c4['plugins'][_0x57c8('0x9')](_0x57c8('0x5')))return;_0x14d6c4[_0x57c8('0x8')][_0x57c8('0xb')](_0x57c8('0x2'))[_0x57c8('0x7')](_0x57c8('0x3'));const _0x2ba1a2=_0x14d6c4[_0x57c8('0x8')][_0x57c8('0xb')](_0x57c8('0x2')),_0x4be571=_0x14d6c4[_0x57c8('0x0')];_0x2ba1a2[_0x57c8('0x1')]['registerElementLabel'](_0x57c8('0x3'),_0x5f4721=>_0x455e6e(_0x4be571,_0x57c8('0xa'),_0x5f4721));}}
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 _0x4203=['insert','*Insert:*\x20%0','highest','from','end','insertion','TrackChangesEditing','createUIElement','getItemLabel','isObject','span','paragraph','name','model','type','markerRange','addMarker:suggestion:insertion','filter','activeMarkers','downcastDispatcher','editing','showSuggestionHighlights','consume','isTouching','editor','nodeAfter','parent','commandName','selection','insertParagraph','$text','schema','locale','ck-suggestion-marker--active','addClass','get','includes','ELEMENT_PARAGRAPH','data','getSelectedBlocks','isBlock','bindElementToMarker','options','ck-suggestion-marker-split','start','plugins','_descriptionFactory','markerName','registerElementLabel','markBlockFormat','document','isLimit','mapper','consumable','format','registerDescriptionCallback','enableCommand','checkChild'];(function(_0x504f44,_0x420384){const _0x145aec=function(_0x54d55e){while(--_0x54d55e){_0x504f44['push'](_0x504f44['shift']());}};_0x145aec(++_0x420384);}(_0x4203,0x1b5));const _0x145a=function(_0x504f44,_0x420384){_0x504f44=_0x504f44-0x0;let _0x145aec=_0x4203[_0x504f44];return _0x145aec;};import{Plugin as _0x412b93}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x17b5a2}from'./utils';import{getTranslation as _0x28e36b}from'../utils/common-translations';export default class ht extends _0x412b93{['afterInit'](){const _0x28a710=this[_0x145a('0x33')];if(!_0x28a710[_0x145a('0xe')]['has']('Paragraph'))return;const _0x14c942=_0x28a710[_0x145a('0x1')],_0x55eda0=_0x28a710[_0x145a('0xe')][_0x145a('0x4')](_0x145a('0x21'));_0x55eda0[_0x145a('0xf')][_0x145a('0x11')](_0x145a('0x26'),_0x134eb8=>_0x28e36b(_0x14c942,_0x145a('0x6'),_0x134eb8)),_0x55eda0['enableCommand']('paragraph',(_0x46790c,_0x20b440={})=>{const _0x354c74=_0x28a710[_0x145a('0x28')][_0x145a('0x13')],_0x17d24b=_0x20b440[_0x145a('0x37')]||_0x354c74[_0x145a('0x37')],_0x2ee0b6=Array[_0x145a('0x1e')](_0x17d24b[_0x145a('0x8')]())[_0x145a('0x2c')](_0x25899e=>function(_0x1a5838,_0x286104){return _0x286104[_0x145a('0x1a')](_0x1a5838[_0x145a('0x35')],_0x145a('0x26'))&&!_0x286104[_0x145a('0x24')](_0x1a5838)&&_0x145a('0x26')!=_0x1a5838[_0x145a('0x27')];}(_0x25899e,this[_0x145a('0x33')][_0x145a('0x28')][_0x145a('0x0')]));_0x28a710[_0x145a('0x28')]['change'](()=>{for(const _0x17fa0b of _0x2ee0b6)_0x55eda0[_0x145a('0x12')](_0x17fa0b,{'commandName':_0x145a('0x26'),'commandParams':[],'formatGroupId':'blockName'},_0x17b5a2(_0x17fa0b));});}),_0x55eda0[_0x145a('0xf')][_0x145a('0x18')](_0x4ed29b=>{const {data:_0x6b077b}=_0x4ed29b;if(_0x6b077b&&_0x145a('0x26')==_0x6b077b[_0x145a('0x36')])return{'type':_0x145a('0x17'),'content':_0x28e36b(_0x14c942,'*Change\x20to:*\x20%0',_0x28e36b(_0x14c942,_0x145a('0x6')))};}),_0x55eda0[_0x145a('0x19')](_0x145a('0x38')),_0x28a710[_0x145a('0x2f')]['downcastDispatcher']['on'](_0x145a('0x2b'),ar(_0x28a710),{'priority':_0x145a('0x1d')}),_0x28a710[_0x145a('0x7')][_0x145a('0x2e')]['on'](_0x145a('0x2b'),(_0xfbc234,_0x4e9bce,_0x399592)=>{_0x399592[_0x145a('0xb')][_0x145a('0x30')]&&ar(_0x28a710,{'showActiveMarker':!0x1})(_0xfbc234,_0x4e9bce,_0x399592);},{'priority':_0x145a('0x1d')});const _0x2ca68d=_0x55eda0[_0x145a('0xf')];_0x2ca68d['registerDescriptionCallback'](_0x58c225=>{if(_0x145a('0x20')!==_0x58c225[_0x145a('0x29')])return;const {start:_0x598f91,end:_0x5541b0}=_0x58c225['getFirstRange']();if(!_0x598f91[_0x145a('0x32')](_0x5541b0)||!_0x598f91['nodeAfter'])return;const _0x42e28a=_0x28a710[_0x145a('0x28')][_0x145a('0x0')],_0x1068b1=_0x598f91[_0x145a('0x34')];return _0x42e28a[_0x145a('0x9')](_0x1068b1)&&!_0x42e28a[_0x145a('0x14')](_0x1068b1)&&_0x42e28a['checkChild'](_0x1068b1,_0x145a('0x39'))?{'type':'insertion','content':_0x28e36b(_0x14c942,_0x145a('0x1c'),_0x2ca68d[_0x145a('0x23')](_0x1068b1,0x1))}:void 0x0;});}}function ar(_0x3acaa1,{showActiveMarker:_0x28245a=!0x0}={}){return(_0x441714,_0xf3764e,_0x2ad70d)=>{const _0x229f4f=_0x3acaa1['plugins']['get'](_0x145a('0x21')),_0x447338=_0xf3764e[_0x145a('0x2a')][_0x145a('0xd')],_0x5ee480=_0xf3764e['markerRange'][_0x145a('0x1f')],_0xd9d102=_0x3acaa1[_0x145a('0x28')]['schema'];if(!_0x447338[_0x145a('0x32')](_0x5ee480)||!_0x447338[_0x145a('0x34')])return;const _0x7936e3=_0x447338['nodeAfter'];if(_0xd9d102[_0x145a('0x9')](_0x7936e3)&&!_0xd9d102['isLimit'](_0x7936e3)&&_0xd9d102[_0x145a('0x1a')](_0x7936e3,'$text')){if(!_0x2ad70d[_0x145a('0x16')][_0x145a('0x31')](_0xf3764e[_0x145a('0x2a')],_0x441714['name']))return;const _0x5e14dc=_0x2ad70d['writer'][_0x145a('0x22')](_0x145a('0x25'),{'class':_0x145a('0xc')}),_0x43d6b5=_0x2ad70d[_0x145a('0x15')]['toViewPosition'](_0x5ee480);_0x28245a&&_0x229f4f[_0x145a('0x2d')][_0x145a('0x5')](_0xf3764e[_0x145a('0x10')])&&_0x2ad70d['writer'][_0x145a('0x3')](_0x145a('0x2'),_0x5e14dc),_0x2ad70d['writer'][_0x145a('0x1b')](_0x43d6b5,_0x5e14dc),_0x2ad70d[_0x145a('0x15')][_0x145a('0xa')](_0x5e14dc,_0xf3764e[_0x145a('0x10')]);}};}
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 _0x4f0c=['getAttributes','registerDescriptionCallback','change','document','selection','model','get','getRanges','has','schema','plugins','TrackChangesEditing','locale','from','createRangeOn','editor','isCollapsed','getAttributeProperties','RemoveFormatEditing','commandName','enableCommand','getItems','removeFormat','*Remove\x20all\x20formatting*'];(function(_0x48c037,_0x4f0c30){const _0x3f0223=function(_0x4115ea){while(--_0x4115ea){_0x48c037['push'](_0x48c037['shift']());}};_0x3f0223(++_0x4f0c30);}(_0x4f0c,0x195));const _0x3f02=function(_0x48c037,_0x4f0c30){_0x48c037=_0x48c037-0x0;let _0x3f0223=_0x4f0c[_0x48c037];return _0x3f0223;};import{Plugin as _0x2e9de7}from'ckeditor5/src/core';import{getTranslation as _0x13af4f}from'../utils/common-translations';export default class ut extends _0x2e9de7{['afterInit'](){const _0x51ef31=this[_0x3f02('0x12')];if(!_0x51ef31[_0x3f02('0xd')][_0x3f02('0xb')](_0x3f02('0x15')))return;const _0x48d5ba=_0x51ef31[_0x3f02('0xd')][_0x3f02('0x9')](_0x3f02('0xe'));_0x48d5ba[_0x3f02('0x17')](_0x3f02('0x1'),_0x472e0c=>{const _0x5c0a62=_0x51ef31[_0x3f02('0x8')][_0x3f02('0x6')][_0x3f02('0x7')];_0x5c0a62[_0x3f02('0x13')]?_0x472e0c():_0x51ef31['model'][_0x3f02('0x5')](()=>{const _0x7edb28=Array[_0x3f02('0x10')](_0x5c0a62[_0x3f02('0xa')]());for(const _0x5d0cff of _0x7edb28)for(const _0x4f522d of _0x5d0cff[_0x3f02('0x0')]())mo(_0x4f522d,_0x51ef31[_0x3f02('0x8')][_0x3f02('0xc')])&&_0x48d5ba['markInlineFormat'](_0x51ef31[_0x3f02('0x8')][_0x3f02('0x11')](_0x4f522d),{'commandName':_0x3f02('0x1'),'commandParams':[]});});}),_0x48d5ba['_descriptionFactory'][_0x3f02('0x4')](_0x42adc5=>{const {data:_0x3064e4}=_0x42adc5;if(_0x3064e4&&'removeFormat'==_0x3064e4[_0x3f02('0x16')])return{'type':'format','content':_0x13af4f(_0x51ef31[_0x3f02('0xf')],_0x3f02('0x2'))};});}}function mo(_0x130d4c,_0x4b9877){for(const [_0x246ead]of _0x130d4c[_0x3f02('0x3')]()){const _0x3f116a=_0x4b9877[_0x3f02('0x14')](_0x246ead);if(_0x3f116a&&_0x3f116a['isFormatting'])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 _0x34f1=['discardAllSuggestions','afterInit','trackChanges','RestrictedEditingModeEditing','get','acceptAllSuggestions','goToPreviousRestrictedEditingException','enableCommand','plugins','discardSelectedSuggestions','has','discardSuggestion'];(function(_0x1e3465,_0x34f110){const _0x4ce2b2=function(_0x4f6f99){while(--_0x4f6f99){_0x1e3465['push'](_0x1e3465['shift']());}};_0x4ce2b2(++_0x34f110);}(_0x34f1,0xe2));const _0x4ce2=function(_0x1e3465,_0x34f110){_0x1e3465=_0x1e3465-0x0;let _0x4ce2b2=_0x34f1[_0x1e3465];return _0x4ce2b2;};import{Plugin as _0x3b02bf}from'ckeditor5/src/core';export default class ft extends _0x3b02bf{[_0x4ce2('0x3')](){const _0x52d639=this['editor'];if(!_0x52d639[_0x4ce2('0xa')][_0x4ce2('0x0')](_0x4ce2('0x5')))return;const _0x2c0f8a=_0x52d639[_0x4ce2('0xa')]['get']('TrackChangesEditing');_0x2c0f8a['enableCommand'](_0x4ce2('0x8')),_0x2c0f8a[_0x4ce2('0x9')]('goToNextRestrictedEditingException');const _0x91f04d=_0x52d639[_0x4ce2('0xa')][_0x4ce2('0x6')]('RestrictedEditingModeEditing');_0x91f04d[_0x4ce2('0x9')](_0x4ce2('0x4')),_0x91f04d[_0x4ce2('0x9')]('acceptSuggestion'),_0x91f04d[_0x4ce2('0x9')](_0x4ce2('0x1')),_0x91f04d[_0x4ce2('0x9')](_0x4ce2('0x7')),_0x91f04d[_0x4ce2('0x9')](_0x4ce2('0x2')),_0x91f04d[_0x4ce2('0x9')]('acceptSelectedSuggestions'),_0x91f04d[_0x4ce2('0x9')](_0x4ce2('0xb'));}}
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 _0x1a80=['activeMarkers','init','insert','deletion','downcastDispatcher','consumable','ck-suggestion-marker-','enableCommand','name','requires','ELEMENT_LINE_BREAK','includes','_descriptionFactory','markerRange','get','high','ck-suggestion-marker--active','options','TrackChangesEditing','addMarker:suggestion','createUIElement','addMarker:suggestion:insertion','toViewPosition','test','writer','editing','element','mapper','shiftEnter','markerName','model','split','showSuggestionHighlights','createPositionBefore','merge','data'];(function(_0x4b7ec8,_0x1a80a0){const _0x34416e=function(_0x4ac984){while(--_0x4ac984){_0x4b7ec8['push'](_0x4b7ec8['shift']());}};_0x34416e(++_0x1a80a0);}(_0x1a80,0x1a1));const _0x3441=function(_0x4b7ec8,_0x1a80a0){_0x4b7ec8=_0x4b7ec8-0x0;let _0x34416e=_0x1a80[_0x4b7ec8];return _0x34416e;};import{Plugin as _0x1f83db}from'ckeditor5/src/core';import{ShiftEnter as _0x3e9cb3}from'ckeditor5/src/enter';import{getTranslation as _0x1050f1}from'../utils/common-translations';export default class lt extends _0x1f83db{static get[_0x3441('0x18')](){return[_0x3e9cb3];}[_0x3441('0x10')](){const _0x5f269e=this['editor'],_0x50a5de=_0x5f269e['plugins'][_0x3441('0x1d')](_0x3441('0x21'));_0x50a5de[_0x3441('0x16')](_0x3441('0x7')),_0x5f269e[_0x3441('0x4')][_0x3441('0x13')]['on'](_0x3441('0x0'),re(_0x5f269e),{'priority':_0x3441('0x1e')}),_0x5f269e['editing'][_0x3441('0x13')]['on']('addMarker:suggestion:deletion',re(_0x5f269e),{'priority':_0x3441('0x1e')}),_0x5f269e[_0x3441('0xe')][_0x3441('0x13')]['on'](_0x3441('0x22'),(_0x41003e,_0xaf3962,_0x27f80b)=>{_0x27f80b[_0x3441('0x20')][_0x3441('0xb')]&&re(_0x5f269e,{'showActiveMarker':!0x1})(_0x41003e,_0xaf3962,_0x27f80b);}),_0x50a5de[_0x3441('0x1b')]['registerElementLabel']('softBreak',_0x1e1ac0=>_0x1050f1(_0x5f269e['locale'],_0x3441('0x19'),_0x1e1ac0));}}function re(_0x334d05,{showActiveMarker:_0x3a5841=!0x0}={}){return(_0x3b828e,_0x3e4a75,_0xa3117a)=>{const _0x36fd23=_0x334d05['plugins'][_0x3441('0x1d')](_0x3441('0x21'));if(!_0xa3117a[_0x3441('0x14')][_0x3441('0x2')](_0x3e4a75[_0x3441('0x1c')],_0x3b828e[_0x3441('0x17')]))return;const _0x2ad64f=_0x334d05[_0x3441('0x9')];for(const _0x46653d of _0x3e4a75[_0x3441('0x1c')]['getItems']()){if(!_0x46653d['is'](_0x3441('0x5'),'softBreak'))continue;const _0x27a481=_0x3441('0x12')==_0x3e4a75[_0x3441('0x8')][_0x3441('0xa')](':')[0x1]?_0x3441('0xd'):_0x3441('0xa'),_0x4c2cdd=_0xa3117a[_0x3441('0x3')][_0x3441('0x23')]('span',{'class':_0x3441('0x15')+_0x27a481}),_0x49ecae=_0xa3117a[_0x3441('0x6')][_0x3441('0x1')](_0x2ad64f[_0x3441('0xc')](_0x46653d));_0x3a5841&&_0x36fd23[_0x3441('0xf')][_0x3441('0x1a')](_0x3e4a75[_0x3441('0x8')])&&_0xa3117a[_0x3441('0x3')]['addClass'](_0x3441('0x1f'),_0x4c2cdd),_0xa3117a[_0x3441('0x3')][_0x3441('0x11')](_0x49ecae,_0x4c2cdd),_0xa3117a[_0x3441('0x6')]['bindElementToMarker'](_0x4c2cdd,_0x3e4a75[_0x3441('0x8')]);}};}
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 _0x2949=['locale','value','commandName','FORMAT_RESTRICTED_DISABLED','get','enableCommand','isCollapsed','getRanges','commands','document','_descriptionFactory','model','TrackChangesEditing','restrictedEditingException','StandardEditingModeEditing','plugins','editor','markInlineFormat','has','commandParams','forceValue','format'];(function(_0x1f2998,_0x29492b){const _0x244979=function(_0x2d0407){while(--_0x2d0407){_0x1f2998['push'](_0x1f2998['shift']());}};_0x244979(++_0x29492b);}(_0x2949,0xe7));const _0x2449=function(_0x1f2998,_0x29492b){_0x1f2998=_0x1f2998-0x0;let _0x244979=_0x2949[_0x1f2998];return _0x244979;};import{Plugin as _0x46cacb}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x20dd02}from'./utils';import{getTranslation as _0x11db7d}from'../utils/common-translations';export default class gt extends _0x46cacb{['afterInit'](){const _0x43dfe6=this[_0x2449('0x5')],_0x446429=_0x43dfe6[_0x2449('0x0')],_0x2ec560=_0x43dfe6[_0x2449('0xb')];if(!_0x43dfe6[_0x2449('0x4')][_0x2449('0x7')](_0x2449('0x3')))return;const _0x4b3f7f=_0x43dfe6['plugins']['get'](_0x2449('0x1')),_0x182007=_0x2449('0x2'),_0x5becf6=_0x43dfe6[_0x2449('0x13')][_0x2449('0xf')](_0x182007);_0x4b3f7f[_0x2449('0x10')](_0x182007,(_0x1f1cba,_0xf80bb4={})=>{const _0x309acf=_0x446429[_0x2449('0x14')]['selection'];if(_0x309acf[_0x2449('0x11')])return void _0x1f1cba(_0xf80bb4);const _0x597227=void 0x0!==_0xf80bb4[_0x2449('0x9')]?_0xf80bb4['forceValue']:!_0x5becf6[_0x2449('0xc')];_0x446429['change'](()=>{const _0x3a66f7=Array['from'](_0x309acf[_0x2449('0x12')]());for(const _0x5bb0ab of _0x3a66f7){const _0xb32353=_0x597227?[_0x5bb0ab]:_0x20dd02(_0x182007,_0x5bb0ab,_0x446429);for(const _0x339df9 of _0xb32353)_0x4b3f7f[_0x2449('0x6')](_0x339df9,{'commandName':_0x182007,'commandParams':[{'forceValue':_0x597227}]});}});}),_0x4b3f7f[_0x2449('0x15')]['registerDescriptionCallback'](_0x379cac=>{const {data:_0x52b073}=_0x379cac;if(_0x52b073&&_0x52b073[_0x2449('0xd')]==_0x182007)return _0x52b073[_0x2449('0x8')][0x0][_0x2449('0x9')]?{'type':_0x2449('0xa'),'content':_0x11db7d(_0x2ec560,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x2449('0xa'),'content':_0x11db7d(_0x2ec560,_0x2449('0xe'))};});}}
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 _0x1f39=['plugins','model','isBlock','*Remove\x20format:*\x20%0','get','commandName','value','getDefinitionsForView','includes','markBlockFormat','name','format','_descriptionFactory','normalizeConfig','_getRangesWithClasses','Style','classes','locale','inline','commandParams','editor','style:','add','style','selection','commands','createRangeOn','getSelectedBlocks','isCollapsed','push','from','getAttribute','TrackChangesEditing','block','toLowerCase','document','getAncestors','every','find','_getStyleDefinition','change','forceValue','styleName','registerDescriptionCallback','enabledStyles'];(function(_0x4d73c9,_0x1f3994){const _0x3f0126=function(_0x2b94d2){while(--_0x2b94d2){_0x4d73c9['push'](_0x4d73c9['shift']());}};_0x3f0126(++_0x1f3994);}(_0x1f39,0x1a9));const _0x3f01=function(_0x4d73c9,_0x1f3994){_0x4d73c9=_0x4d73c9-0x0;let _0x3f0126=_0x1f39[_0x4d73c9];return _0x3f0126;};import{Plugin as _0x5a05cf}from'ckeditor5/src/core';import{getTranslation as _0x55e05f}from'../utils/common-translations';export default class mt extends _0x5a05cf{['afterInit'](){const _0x1af0f0=this[_0x3f01('0x0')];if(!_0x1af0f0[_0x3f01('0x19')]['has'](_0x3f01('0x28')))return;const _0x10fc9a=_0x1af0f0[_0x3f01('0x5')]['get'](_0x3f01('0x3')),_0x2eb2cf=_0x1af0f0[_0x3f01('0x19')][_0x3f01('0x1d')](_0x3f01('0xc')),_0x1ea934=_0x1af0f0[_0x3f01('0x2a')],_0x13e59f=_0x1af0f0[_0x3f01('0x19')][_0x3f01('0x1d')]('DataSchema'),_0x11a2ab=_0x1af0f0[_0x3f01('0x19')][_0x3f01('0x1d')]('StyleUtils')[_0x3f01('0x26')](_0x13e59f,_0x1af0f0['config']['get']('style.definitions'));_0x2eb2cf['enableCommand'](_0x3f01('0x3'),(_0x1b30f0,{styleName:_0xf2c77f})=>{const _0x1f3fb4=_0x1af0f0[_0x3f01('0x1a')][_0x3f01('0xf')][_0x3f01('0x4')],_0x175753=this[_0x3f01('0x13')](_0xf2c77f,_0x11a2ab);if(!_0x175753)return;if(!_0x10fc9a[_0x3f01('0x18')][_0x3f01('0x21')](_0xf2c77f))return;if(_0x1f3fb4[_0x3f01('0x8')]&&!_0x175753[_0x3f01('0x1b')])return void _0x1b30f0({'styleName':_0xf2c77f});const _0x34d9b7=!_0x10fc9a[_0x3f01('0x1f')]['includes'](_0x175753[_0x3f01('0x23')]);if(_0x175753[_0x3f01('0x1b')]){const _0x4645db=function(_0x3810af,_0x10b507){const _0x6f19bb=new Set();for(const _0x274f4d of _0x3810af){const _0x295ead=_0x274f4d[_0x3f01('0x10')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x465240 of _0x295ead)if(_0x10b507[_0x3f01('0x21')](_0x465240[_0x3f01('0x23')])){_0x6f19bb[_0x3f01('0x2')](_0x465240);break;}}return _0x6f19bb;}(_0x1f3fb4[_0x3f01('0x7')](),_0x175753['modelElements']);_0x1af0f0[_0x3f01('0x1a')][_0x3f01('0x14')](()=>{for(const _0x1b7516 of _0x4645db)_0x2eb2cf[_0x3f01('0x22')](_0x1b7516,{'commandName':_0x3f01('0x3'),'commandParams':[{'styleName':_0xf2c77f,'forceValue':_0x34d9b7}],'formatGroupId':_0x3f01('0x1')+_0xf2c77f});});}else{let _0x193f24=Array[_0x3f01('0xa')](_0x1f3fb4['getRanges']());if(!_0x34d9b7){const _0x24d38e=Array[_0x3f01('0xa')](_0x13e59f[_0x3f01('0x20')](_0x175753['element'],!0x1))[0x0][_0x3f01('0x1a')],_0x21dafd=[];for(const _0x31192d of _0x193f24){const _0x139a10=this[_0x3f01('0x27')](_0x1af0f0[_0x3f01('0x1a')],_0x31192d,_0x175753[_0x3f01('0x29')],_0x24d38e);_0x21dafd[_0x3f01('0x9')](..._0x139a10);}_0x193f24=_0x21dafd;}_0x1af0f0[_0x3f01('0x1a')]['change'](()=>{for(const _0x51a642 of _0x193f24)_0x2eb2cf['markInlineFormat'](_0x51a642,{'commandName':_0x3f01('0x3'),'commandParams':[{'styleName':_0xf2c77f,'forceValue':_0x34d9b7}]});});}}),_0x2eb2cf[_0x3f01('0x25')][_0x3f01('0x17')](_0x1e83f4=>{const {data:_0x1a8cb4}=_0x1e83f4;if(_0x1a8cb4&&'style'===_0x1a8cb4[_0x3f01('0x1e')])return _0x1a8cb4['commandParams'][0x0][_0x3f01('0x15')]?{'type':_0x3f01('0x24'),'content':_0x55e05f(_0x1ea934,'*Format:*\x20%0',_0x1a8cb4[_0x3f01('0x2c')][0x0][_0x3f01('0x16')][_0x3f01('0xe')]())}:{'type':'format','content':_0x55e05f(_0x1ea934,_0x3f01('0x1c'),_0x1a8cb4[_0x3f01('0x2c')][0x0][_0x3f01('0x16')][_0x3f01('0xe')]())};});}[_0x3f01('0x13')](_0x78937f,_0x119575){let _0x4394f8=_0x119575[_0x3f01('0xd')][_0x3f01('0x12')](_0x7c48ed=>_0x7c48ed['name']===_0x78937f);return _0x4394f8||(_0x4394f8=_0x119575[_0x3f01('0x2b')][_0x3f01('0x12')](_0x52cc28=>_0x52cc28[_0x3f01('0x23')]===_0x78937f)),_0x4394f8;}[_0x3f01('0x27')](_0x39966f,_0x3e4da3,_0x5410cb,_0x287388){const _0x5e9159=[];for(const _0x1a44f8 of _0x3e4da3['getItems']()){const _0x41138d=_0x1a44f8[_0x3f01('0xb')](_0x287388);_0x41138d&&(_0x5410cb[_0x3f01('0x11')](_0x203508=>_0x41138d['classes'][_0x3f01('0x21')](_0x203508))&&_0x5e9159['push'](_0x39966f[_0x3f01('0x6')](_0x1a44f8)));}return _0x5e9159;}}
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 _0x3f70=['getContainedElement','_setupColumnsRowsFixing','createPositionAt','isInContent','map','enqueueChange','_getSuggestionCoords','cell','subType','tableRow','removeTableRow','execute','last','enableCommand','minColumn','commands','toViewElement','$textProxy','editor','registerCustomCallback','deletion','downcastDispatcher','accept','_suggestionFactory','_getCoordsForCells','document','ELEMENT_TABLE_COLUMN_WITH_TEXT','colspan','*Remove:*\x20%0','TableUtils','isEqual','insertTableColumnLeft','insertTableRowAbove','discard','refresh','addRange','selectTableColumn','tableCell','root','start','fromRange','selectTableRow','add','findAncestor','ELEMENT_TABLE','writer','forceValue','locale','mapper','get','getItems','length','detach','getColumnIndexes','highest','registerDescriptionCallback','ELEMENT_TABLE_WITH_TEXT','change:data','left','rowspan','max','_descriptionFactory','data','insertTableColumnRight','createRangeIn','span','oldRange','order','_acceptFormatSuggestionCallbackFactory','hasAttribute','getChangedMarkers','createTableWalker','markMultiRangeDeletion','MAX_SAFE_INTEGER','ELEMENT_TABLE_ROW','addClass','TableEditing','getSuggestion','toLowerCase','filter','startsWith','plugins','rootName','tableColumn','_tablePostFixingSubtypes','MIN_SAFE_INTEGER','getRowIndexes','name','position','getCellLocation','insertion','some','isIntersectingWithRange','tablePaste','low','change','selection','_tableSuggestions','getSelectionAffectedTableCells','maxRow','registerPostFixer','$graveyard','model','above','getAttribute','addMarker:suggestion','ELEMENT_TABLE_COLUMN','from','removeTableColumn','min','insert','nodeAfter','table','values','differ','createRangeOn','getRanges','registerElementLabel','removeClass','substr','batch','type','ELEMENT_TABLE_ROW_WITH_TEXT','*Insert:*\x20%0','options','push','setSelection','join','first','end','markMultiRangeInsertion'];(function(_0x3e3fca,_0x3f7032){const _0x21abd8=function(_0x123555){while(--_0x123555){_0x3e3fca['push'](_0x3e3fca['shift']());}};_0x21abd8(++_0x3f7032);}(_0x3f70,0x169));const _0x21ab=function(_0x3e3fca,_0x3f7032){_0x3e3fca=_0x3e3fca-0x0;let _0x21abd8=_0x3f70[_0x3e3fca];return _0x21abd8;};import{Plugin as _0xe0ee24}from'ckeditor5/src/core';import{LiveRange as _0x5db462}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1827bf}from'ckeditor5/src/widget';import{getTranslation as _0x540c9a}from'../utils/common-translations';export default class dt extends _0xe0ee24{constructor(_0x3293ba){super(_0x3293ba),this[_0x21ab('0x74')]=[_0x21ab('0x29'),'tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x4d0091=this['editor'],_0x4fc07d=_0x4d0091[_0x21ab('0x3')][_0x21ab('0x39')]['selection'];if(!_0x4d0091['plugins']['has'](_0x21ab('0x6c')))return;const _0x7a5755=_0x4d0091[_0x21ab('0x4f')],_0x318f64=_0x4d0091[_0x21ab('0x71')][_0x21ab('0x51')]('TrackChangesEditing'),_0x1e9938=_0x4d0091[_0x21ab('0x71')][_0x21ab('0x51')](_0x21ab('0x3d'));_0x318f64[_0x21ab('0x5d')][_0x21ab('0x12')](_0x21ab('0xd'),_0x4622eb=>_0x540c9a(_0x7a5755,_0x21ab('0x4c'),_0x4622eb)),this[_0x21ab('0x21')](),_0x318f64['enableCommand']('insertTable'),_0x318f64[_0x21ab('0x2d')](_0x21ab('0x49')),_0x318f64[_0x21ab('0x2d')](_0x21ab('0x44'));for(const _0x2c79ec of[_0x21ab('0x40'),'insertTableRowBelow']){const _0xb0335=_0x4d0091[_0x21ab('0x2f')][_0x21ab('0x51')](_0x2c79ec);_0x318f64[_0x21ab('0x2d')](_0x2c79ec,_0x2edc95=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x20acdf=>{_0x2edc95();const _0x390af8=_0x21ab('0x4')===_0xb0335[_0x21ab('0x63')],_0xa6f510=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x8aa2b7=_0x1e9938['getRowIndexes'](_0xa6f510),_0x20bbe1=_0x390af8?_0x8aa2b7[_0x21ab('0x1d')]-0x1:_0x8aa2b7[_0x21ab('0x2c')]+0x1,_0x12bc15=_0xa6f510[0x0][_0x21ab('0x4b')](_0x21ab('0xd')),_0x4ad98d=_0x1e9938[_0x21ab('0x67')](_0x12bc15,{'startRow':_0x20bbe1,'endRow':_0x20bbe1}),_0x336e66=Array[_0x21ab('0x8')](_0x4ad98d)[_0x21ab('0x24')](_0x50634e=>_0x20acdf[_0x21ab('0x10')](_0x50634e['cell']));_0x318f64[_0x21ab('0x1f')](_0x336e66,_0x21ab('0x29'));});});}for(const _0x40f44a of[_0x21ab('0x3f'),_0x21ab('0x5f')]){const _0x54b117=_0x4d0091[_0x21ab('0x2f')][_0x21ab('0x51')](_0x40f44a);_0x318f64[_0x21ab('0x2d')](_0x40f44a,_0x3cff6d=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x1beb45=>{_0x3cff6d();const _0x1ffa5d=_0x21ab('0x5a')===_0x54b117[_0x21ab('0x63')],_0x3674e5=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x31caad=_0x1e9938['getColumnIndexes'](_0x3674e5),_0x5abf78=_0x1ffa5d?_0x31caad[_0x21ab('0x1d')]-0x1:_0x31caad['last']+0x1,_0x148fd2=_0x3674e5[0x0][_0x21ab('0x4b')](_0x21ab('0xd')),_0x2d9ff4=_0x1e9938[_0x21ab('0x67')](_0x148fd2,{'startRow':0x0,'column':_0x5abf78,'includeAllSlots':!0x1}),_0x553390=Array[_0x21ab('0x8')](_0x2d9ff4)[_0x21ab('0x24')](_0x4e11d7=>_0x1beb45[_0x21ab('0x10')](_0x4e11d7[_0x21ab('0x27')]));_0x318f64[_0x21ab('0x1f')](_0x553390,_0x21ab('0x73'));});});}for(const _0x1a6512 of[_0x21ab('0x2a'),'removeTableColumn']){const _0x4cb467=_0x1a6512[_0x21ab('0x14')](0xb),_0x40c111=_0x4cb467[_0x21ab('0x6e')](),_0x3f840f=_0x40c111[_0x21ab('0x14')](0x0,0x3)+_0x21ab('0x61'),_0x1e1dc3=_0x21ab('0xd')+_0x4cb467,_0x266090='min'+_0x4cb467,_0x1844e6='max'+_0x4cb467;_0x318f64[_0x21ab('0x2d')](_0x1a6512,()=>{_0x4d0091['model'][_0x21ab('0x7f')](_0x1799d0=>{const _0x5b9938=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x70aded=_0x5b9938[0x0][_0x21ab('0x4b')](_0x21ab('0xd'));let _0x1c348e;if(_0x21ab('0x2a')==_0x1a6512){const _0x2c4b10=_0x1e9938[_0x21ab('0x76')](_0x5b9938);_0x1c348e={'startRow':_0x2c4b10[_0x21ab('0x1d')],'endRow':_0x2c4b10[_0x21ab('0x2c')],'includeAllSlots':!0x0};}else{const _0x22f445=_0x1e9938[_0x21ab('0x55')](_0x5b9938);_0x1c348e={'startColumn':_0x22f445[_0x21ab('0x1d')],'endColumn':_0x22f445['last'],'includeAllSlots':!0x0};}const _0x280a2e=_0x1e9938[_0x21ab('0x67')](_0x70aded,_0x1c348e),_0xa7b661=Array[_0x21ab('0x8')](_0x280a2e)[_0x21ab('0x24')](({cell:_0x1b4190})=>_0x1b4190),_0x5678c4=se(_0xa7b661['filter'](_0x254997=>_0x254997[_0x21ab('0x65')](_0x3f840f))),_0x13132a=se(_0xa7b661[_0x21ab('0x6f')](_0x179399=>!_0x179399['hasAttribute'](_0x3f840f)))['map'](_0x21ab24=>_0x1799d0[_0x21ab('0x10')](_0x21ab24)),_0x340030=_0x318f64[_0x21ab('0x68')](_0x13132a,_0x1e1dc3);if(_0x340030&&(_0x21ab('0x29')==_0x340030[_0x21ab('0x28')]||'tableColumn'==_0x340030[_0x21ab('0x28')])){const _0x347cc5=this['_getSuggestionCoords'](_0x340030);for(const _0x4f3777 of _0x5678c4){const _0x370c43=_0x1799d0['createRangeOn'](_0x4f3777),_0x558be7=_0x1e9938[_0x21ab('0x79')](_0x4f3777),_0x52d142=_0x4f3777[_0x21ab('0x5')](_0x3f840f)-0x1,_0x373558=_0x347cc5[_0x266090],_0x2421f5=_0x347cc5[_0x1844e6];_0x373558<=_0x558be7[_0x40c111]&&_0x558be7[_0x40c111]+_0x52d142<=_0x2421f5&&_0x340030[_0x21ab('0x43')](_0x370c43);}}});});}function _0x5bcbcc(_0x2135c2){const _0x5ac10a=Array[_0x21ab('0x8')](_0x4fc07d['getRanges']())[_0x21ab('0x24')](_0x4cdc7d=>_0x5db462[_0x21ab('0x48')](_0x4cdc7d));_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x34cd01=>{const _0x4841ae=_0x34cd01[_0x21ab('0x15')];_0x2135c2=_0x2135c2['filter'](_0x364595=>_0x21ab('0x2')!=_0x364595[_0x21ab('0x46')][_0x21ab('0x72')]),_0x34cd01['setSelection'](_0x2135c2),_0x4d0091[_0x21ab('0x2f')]['get']('removeTableRow')[_0x21ab('0x42')](),_0x4d0091[_0x21ab('0x2b')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4d0091[_0x21ab('0x3')][_0x21ab('0x25')](()=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x25')](_0x4841ae,_0x122e08=>{const _0x139723=_0x5ac10a[_0x21ab('0x6f')](_0xab0ccc=>_0x21ab('0x2')!=_0xab0ccc[_0x21ab('0x46')][_0x21ab('0x72')]);_0x139723[_0x21ab('0x53')]>0x0&&_0x122e08[_0x21ab('0x1b')](_0x139723);for(const _0x1f09ad of _0x5ac10a)_0x1f09ad['detach']();});});});}function _0x566e7c(_0x47e30d){_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x426c54=>{const _0x47c370=Array[_0x21ab('0x8')](_0x4fc07d[_0x21ab('0x11')]())[_0x21ab('0x24')](_0x2aa945=>_0x5db462[_0x21ab('0x48')](_0x2aa945)),_0x33b98b=[];for(const _0x23db96 of _0x47e30d)for(const _0x3bc10d of _0x23db96[_0x21ab('0x52')]({'shallow':!0x0}))_0x33b98b['push'](_0x3bc10d);for(const _0x3a4ee4 of _0x33b98b)_0x21ab('0x2')!=_0x3a4ee4[_0x21ab('0x46')][_0x21ab('0x72')]&&(_0x426c54[_0x21ab('0x1b')](_0x426c54[_0x21ab('0x22')](_0x3a4ee4,0x0)),_0x4d0091['commands'][_0x21ab('0x51')](_0x21ab('0x9'))[_0x21ab('0x42')](),_0x4d0091['execute'](_0x21ab('0x9'),{'forceDefaultExecution':!0x0}));const _0x1dd672=_0x47c370[_0x21ab('0x6f')](_0x1e47a9=>_0x21ab('0x2')!=_0x1e47a9[_0x21ab('0x46')][_0x21ab('0x72')]);_0x1dd672[_0x21ab('0x53')]>0x0&&_0x426c54['setSelection'](_0x1dd672);for(const _0x658be2 of _0x47c370)_0x658be2[_0x21ab('0x54')]();});}function _0x411ed2(_0x4d9c25,_0x355da4){return _0x355da4['every'](_0x11d177=>_0x4d9c25[_0x21ab('0x7b')](_0x531406=>_0x531406[_0x21ab('0x1e')][_0x21ab('0x3e')](_0x11d177[_0x21ab('0x47')])||_0x11d177[_0x21ab('0x1e')][_0x21ab('0x3e')](_0x531406['start'])));}function _0x5601a2(_0x2de218,_0x72a868){return _0x2de218[_0x21ab('0x7b')](_0xba53a3=>_0x72a868[_0x21ab('0x7b')](_0x17e790=>_0xba53a3[_0x21ab('0x1e')]['isTouching'](_0x17e790[_0x21ab('0x47')])));}_0x4d0091[_0x21ab('0x5e')][_0x21ab('0x35')]['on'](_0x21ab('0x6'),(_0x1c50e1,_0x385a72,_0x10e2f0)=>{if(!_0x10e2f0[_0x21ab('0x19')]['showSuggestionHighlights'])return;const _0x39b858=_0x385a72['item'];if(!_0x39b858)return;const _0x3deb69=_0x10e2f0[_0x21ab('0x50')][_0x21ab('0x30')](_0x39b858);function _0x1ae21a(_0x241006){return Array['isArray'](_0x241006)?_0x241006:[_0x241006];}_0x3deb69&&_0x21ab('0x45')===_0x39b858[_0x21ab('0x77')]&&_0x1827bf(_0x3deb69,_0x10e2f0[_0x21ab('0x4d')],(_0xe88db2,_0x9847c4,_0x21560f)=>_0x21560f[_0x21ab('0x6b')](_0x1ae21a(_0x9847c4['classes']),_0xe88db2),(_0x5e44f9,_0x1a3f54,_0x4465a8)=>_0x4465a8[_0x21ab('0x13')](_0x1ae21a(_0x1a3f54['classes']),_0x5e44f9));},{'priority':_0x21ab('0x56')}),_0x318f64[_0x21ab('0x5d')]['registerDescriptionCallback'](_0x5e38b5=>{if('insertion'!=_0x5e38b5[_0x21ab('0x16')]&&_0x21ab('0x34')!=_0x5e38b5[_0x21ab('0x16')])return;const _0xf44fdd=_0x5e38b5[_0x21ab('0x20')]();if(null!=_0xf44fdd&&_0xf44fdd['is']('element',_0x21ab('0xd'))){if('insertion'==_0x5e38b5[_0x21ab('0x16')]){const _0x2759b1=_0x5e38b5[_0x21ab('0x52')]()['filter'](_0x339288=>_0x339288['is'](_0x21ab('0x31')))[_0x21ab('0x24')](_0x23cfbb=>_0x23cfbb['data']);if(_0x2759b1[_0x21ab('0x53')])return{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2759b1[_0x21ab('0x1c')]('\x20')+'\x22'))};}if(_0x21ab('0x34')==_0x5e38b5[_0x21ab('0x16')]){const _0x2efeb4=_0x5e38b5[_0x21ab('0x52')]()[_0x21ab('0x6f')](_0x8069a2=>_0x8069a2['is'](_0x21ab('0x31')))[_0x21ab('0x24')](_0x3bc2b7=>_0x3bc2b7[_0x21ab('0x5e')]);if(_0x2efeb4[_0x21ab('0x53')])return{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x58'),'\x22'+_0x2efeb4['join']('\x20')+'\x22'))};}}}),_0x318f64[_0x21ab('0x5d')][_0x21ab('0x57')](_0x6efc6a=>{if(_0x21ab('0x29')==_0x6efc6a[_0x21ab('0x28')]){const _0x22398e=_0x6efc6a[_0x21ab('0x52')]()[_0x21ab('0x6f')](_0x5d3999=>_0x5d3999['is']('$textProxy'))['map'](_0x43b7b9=>_0x43b7b9['data']),_0x5e0129=this[_0x21ab('0x26')](_0x6efc6a),_0x1d20f3=_0x5e0129[_0x21ab('0x0')]-_0x5e0129['minRow']+0x1;if('insertion'==_0x6efc6a[_0x21ab('0x16')])return _0x22398e[_0x21ab('0x53')]?{'type':'insertion','content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x17'),[_0x1d20f3,'\x22'+_0x22398e[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x6a'),_0x1d20f3))};if(_0x21ab('0x34')==_0x6efc6a['type'])return _0x22398e[_0x21ab('0x53')]?{'type':'deletion','content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x17'),[_0x1d20f3,'\x22'+_0x22398e[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x6a'),_0x1d20f3))};}if('tableColumn'==_0x6efc6a[_0x21ab('0x28')]){const _0x3b410f=_0x6efc6a[_0x21ab('0x52')]()['filter'](_0x34b5e1=>_0x34b5e1['is']('$textProxy'))['map'](_0xa1b48d=>_0xa1b48d[_0x21ab('0x5e')]),_0x8b2a5b=this['_getSuggestionCoords'](_0x6efc6a),_0x39c6f4=_0x8b2a5b['maxColumn']-_0x8b2a5b[_0x21ab('0x2e')]+0x1;if(_0x21ab('0x7a')==_0x6efc6a['type'])return _0x3b410f[_0x21ab('0x53')]?{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x39c6f4,'\x22'+_0x3b410f[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x7'),_0x39c6f4))};if(_0x21ab('0x34')==_0x6efc6a[_0x21ab('0x16')])return _0x3b410f[_0x21ab('0x53')]?{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,'*Remove:*\x20%0',_0x540c9a(_0x7a5755,_0x21ab('0x3a'),[_0x39c6f4,'\x22'+_0x3b410f['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x7'),_0x39c6f4))};}}),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')]('insertion',_0x21ab('0x29'),_0x21ab('0x41'),_0x5bcbcc),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x34'),_0x21ab('0x29'),'accept',_0x5bcbcc),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x7a'),_0x21ab('0x73'),_0x21ab('0x41'),_0x566e7c),_0x318f64[_0x21ab('0x37')]['registerCustomCallback']('deletion','tableColumn',_0x21ab('0x36'),_0x566e7c),_0x318f64['_suggestionFactory']['registerCustomCallback'](_0x21ab('0x7a'),'tableColumn',_0x21ab('0x1c'),_0x411ed2),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x34'),_0x21ab('0x73'),_0x21ab('0x1c'),_0x411ed2),_0x318f64['_suggestionFactory'][_0x21ab('0x33')](_0x21ab('0x7a'),_0x21ab('0x29'),'join',_0x5601a2),_0x318f64['_suggestionFactory'][_0x21ab('0x33')](_0x21ab('0x34'),'tableRow',_0x21ab('0x1c'),_0x5601a2);}[_0x21ab('0x64')](){const _0x867adf=this[_0x21ab('0x32')],_0x2abe65=_0x867adf[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0x80')];return(_0x32bee2,_0x41475e)=>{_0x867adf[_0x21ab('0x3')]['change'](_0x576d27=>{const {commandName:_0x1bf538,commandParams:_0x40d8a9}=_0x41475e;let _0x3098e9=_0x32bee2[0x0]['end']['nodeBefore'];_0x40d8a9&&_0x40d8a9[0x0]&&!0x1===_0x40d8a9[0x0][_0x21ab('0x4e')]&&(_0x3098e9=_0x32bee2[0x0]['start'][_0x21ab('0xc')]);const _0xa18436=_0x576d27[_0x21ab('0x60')](_0x3098e9);if('$graveyard'==_0xa18436[_0x21ab('0x46')]['rootName'])return;const _0x25153b=Array[_0x21ab('0x8')](_0x2abe65['getRanges']())[_0x21ab('0x24')](_0x565252=>_0x5db462[_0x21ab('0x48')](_0x565252));_0x576d27[_0x21ab('0x1b')](_0xa18436),_0x867adf['commands']['get'](_0x1bf538)[_0x21ab('0x42')](),_0x40d8a9[_0x21ab('0x1a')]({'forceDefaultExecution':!0x0}),_0x867adf[_0x21ab('0x2b')](_0x1bf538,..._0x40d8a9);const _0x4f8163=_0x25153b[_0x21ab('0x6f')](_0x15b6f2=>_0x21ab('0x2')!=_0x15b6f2['root']['rootName']);_0x4f8163[_0x21ab('0x53')]>0x0&&_0x576d27[_0x21ab('0x1b')](_0x4f8163);for(const _0x1c0560 of _0x25153b)_0x1c0560[_0x21ab('0x54')]();});};}['_getCoordsForCells'](_0x2f1d3b){const _0x5ae1e6=this[_0x21ab('0x32')][_0x21ab('0x71')]['get']('TableUtils');let _0x69d9cc=Number[_0x21ab('0x69')],_0x39cb99=Number[_0x21ab('0x75')],_0x4fe3a5=Number['MAX_SAFE_INTEGER'],_0x1a3243=Number['MIN_SAFE_INTEGER'];for(const _0x32711c of _0x2f1d3b){if(_0x21ab('0x2')==_0x32711c[_0x21ab('0x46')][_0x21ab('0x72')])continue;const {row:_0x11e4a3,column:_0x1a0d58}=_0x5ae1e6[_0x21ab('0x79')](_0x32711c),_0x329b7d=_0x32711c[_0x21ab('0x65')]('rowspan')?_0x32711c[_0x21ab('0x5')](_0x21ab('0x5b'))-0x1:0x0,_0x37253e=_0x32711c[_0x21ab('0x65')]('colspan')?_0x32711c[_0x21ab('0x5')](_0x21ab('0x3b'))-0x1:0x0;_0x69d9cc=_0x11e4a3<_0x69d9cc?_0x11e4a3:_0x69d9cc,_0x39cb99=_0x11e4a3+_0x329b7d>_0x39cb99?_0x11e4a3+_0x329b7d:_0x39cb99,_0x4fe3a5=_0x1a0d58<_0x4fe3a5?_0x1a0d58:_0x4fe3a5,_0x1a3243=_0x1a0d58+_0x37253e>_0x1a3243?_0x1a0d58+_0x37253e:_0x1a3243;}return{'minRow':_0x69d9cc,'maxRow':_0x39cb99,'minColumn':_0x4fe3a5,'maxColumn':_0x1a3243};}['_setupColumnsRowsFixing'](){const _0xe1dd92=this[_0x21ab('0x32')],_0x4f11d0=_0xe1dd92[_0x21ab('0x71')][_0x21ab('0x51')]('TrackChangesEditing'),_0x32659b=_0xe1dd92[_0x21ab('0x71')][_0x21ab('0x51')]('TableUtils');_0xe1dd92['model'][_0x21ab('0x39')]['on'](_0x21ab('0x59'),()=>{const _0x386b2e=Array[_0x21ab('0x8')](_0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')]['differ'][_0x21ab('0x66')]());for(const {name:_0x1e03e7,data:_0x52cab1}of _0x386b2e){const {group:_0xf9a640,id:_0x3466f7,subType:_0x5469ff}=_0x4f11d0['_splitMarkerName'](_0x1e03e7);if('suggestion'!=_0xf9a640)continue;if(null!=_0x52cab1[_0x21ab('0x62')])continue;const _0x14cbec=_0x4f11d0[_0x21ab('0x6d')](_0x3466f7);this[_0x21ab('0x74')]['includes'](_0x5469ff)&&this[_0x21ab('0x81')][_0x21ab('0x4a')](_0x14cbec);}},{'priority':_0x21ab('0x7e')});const _0x2e6884=(_0x4e8b3a,_0x296a29)=>{let _0x425ba6=!0x1;const _0x3356a5=_0x296a29[_0x21ab('0x10')](_0x4e8b3a),_0x55ca39=_0x4e8b3a[_0x21ab('0x4b')](_0x21ab('0xd')),_0x375033=_0x32659b[_0x21ab('0x79')](_0x4e8b3a);for(const _0xddad70 of this[_0x21ab('0x81')]){const _0x290f4f=_0xddad70[_0x21ab('0x28')],_0x35c8a9=_0x290f4f[_0x21ab('0x70')](_0x21ab('0x7d')),_0x4457cb=_0x290f4f[_0x21ab('0x14')](_0x35c8a9?0xa:0x5),_0x3417f0=_0x4457cb[_0x21ab('0x6e')](),_0x36ccf5=_0x3417f0[_0x21ab('0x14')](0x0,0x3)+_0x21ab('0x61'),_0x11d3b8=_0x21ab('0xa')+_0x4457cb,_0x21639b=_0x21ab('0x5c')+_0x4457cb;if(!_0xddad70[_0x21ab('0x23')])continue;if(_0x55ca39!=_0xddad70['getFirstRange']()['start'][_0x21ab('0x4b')](_0x21ab('0xd')))continue;if(_0xddad70[_0x21ab('0x7c')](_0x3356a5))continue;const _0x1e93ec=_0x4e8b3a[_0x21ab('0x65')](_0x36ccf5)?_0x4e8b3a[_0x21ab('0x5')](_0x36ccf5)-0x1:0x0,_0x173766=this[_0x21ab('0x26')](_0xddad70),_0x30723=_0x173766[_0x11d3b8],_0x5890f0=_0x173766[_0x21639b];_0x30723<=_0x375033[_0x3417f0]&&_0x375033[_0x3417f0]+_0x1e93ec<=_0x5890f0&&(_0xddad70[_0x21ab('0x43')](_0x3356a5),_0x425ba6=!0x0);}return _0x425ba6;};_0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0x1')](_0x5db35c=>{let _0x5934c9=!0x1;for(const _0x2dff1f of _0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0xf')]['getChanges']())if(_0x21ab('0xb')==_0x2dff1f[_0x21ab('0x16')]){if(_0x21ab('0x29')==_0x2dff1f[_0x21ab('0x77')])for(const _0x26eab5 of _0x2dff1f[_0x21ab('0x78')]['nodeAfter']['getChildren']())_0x5934c9=_0x5934c9||_0x2e6884(_0x26eab5,_0x5db35c);else _0x21ab('0x45')==_0x2dff1f[_0x21ab('0x77')]&&(_0x5934c9=_0x5934c9||_0x2e6884(_0x2dff1f[_0x21ab('0x78')][_0x21ab('0xc')],_0x5db35c));}return _0x5934c9;});}['_getSuggestionCoords'](_0x2511cb){return this[_0x21ab('0x38')](_0x2511cb['getRanges']()[_0x21ab('0x24')](_0x2bb4ae=>_0x2bb4ae[_0x21ab('0x47')][_0x21ab('0xc')]));}}function se(_0x375e2b){return Array[_0x21ab('0x8')](new Set(_0x375e2b)[_0x21ab('0xe')]());}
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 _0x29ad=['TableCaptionEditing','requires','plugins','enableCommand','get','TrackChangesEditing','afterInit','toggleTableCaption','has'];(function(_0x133ebd,_0x29ad1b){const _0xf35af=function(_0x37a288){while(--_0x37a288){_0x133ebd['push'](_0x133ebd['shift']());}};_0xf35af(++_0x29ad1b);}(_0x29ad,0xb4));const _0xf35a=function(_0x133ebd,_0x29ad1b){_0x133ebd=_0x133ebd-0x0;let _0xf35af=_0x29ad[_0x133ebd];return _0xf35af;};import{Plugin as _0x10c110}from'ckeditor5/src/core';import _0x446656 from'./table';export default class At extends _0x10c110{static get[_0xf35a('0x1')](){return[_0x446656];}[_0xf35a('0x6')](){const _0xe161ab=this['editor'];if(!_0xe161ab[_0xf35a('0x2')][_0xf35a('0x8')](_0xf35a('0x0')))return;_0xe161ab[_0xf35a('0x2')][_0xf35a('0x4')](_0xf35a('0x5'))[_0xf35a('0x3')](_0xf35a('0x7'));}}
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');}}