@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240122.0 → 0.0.0-nightly-20240124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.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/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4a=['listStart','splitListItemAfter','accept','listReversed','todoList','listStyle','*Set\x20format:*\x20%0','attribute','*Uncheck\x20item*','editor','listItemId','find','*Merge:*\x20list\x20item','splitListItemBefore','afterInit','outdentList','ELEMENT_BULLETED_LIST','suggestion','todoListChecked','todo','previousSibling','containsItem','FORMAT_INDENT','removeMarker','*Remove\x20format:*\x20%0','*Format:*\x20insert\x20into\x20%0','format','nodeAfter','listType','plugins','refresh','_enableDefaultAttributesIntegration','next','schema','ListEditing','*Split:*\x20list\x20item','isUndo','_suggestionFactory','createPositionAt','commands','type','listIndent','document','filter','isNextTo','registerPostFixer','push','head','_registerLegacyDescription','TrackChangesEditing','getFirstMarker','selection','attributeKey','*Merge:*\x20%0','getSuggestions','from','data','TodoListEditing','execute','checkTodoList','range','bulletedList','nextSibling','*Indent:*\x20%0','getRanges','*Format:*\x20remove\x20from\x20%0','key','deletion','bulleted','isLocal','setAttribute','_supportLegacySuggestions','numbered','start','getAttribute','assureChains','config','indentList','commandName','_descriptionFactory','newValue','oldValue','groupId','getFirstRange','detach','parent','toUpperCase','meta','registerDescriptionCallback','commandParams','includes','noTrackChangesFixer','mergeListItemForward','length','getChanges','value','*Change\x20to:*\x20%0','ELEMENT_NUMBERED_LIST','model','numberedList','ELEMENT_','_getAttributeKey','*Check\x20item*','list.multiBlock','attributes','ELEMENT_TODO_LIST','ELEMENT_LIST_ITEM','documentList','_findSuggestions','get','forceValue','has','mergeListItemBackward','map','fromRange','createRange','batch','*Outdent:*\x20%0','end','locale','setSelection','listItemIdFixer','todoListCheck'];(function(_0xb9504a,_0x3a4a3d){const _0x4db4c9=function(_0x197554){while(--_0x197554){_0xb9504a['push'](_0xb9504a['shift']());}};_0x4db4c9(++_0x3a4a3d);}(_0x3a4a,0x94));const _0x4db4=function(_0xb9504a,_0x3a4a3d){_0xb9504a=_0xb9504a-0x0;let _0x4db4c9=_0x3a4a[_0xb9504a];return _0x4db4c9;};import{Plugin as _0x578d06}from'ckeditor5/src/core.js';import{getTranslation as _0x4ccb6d}from'../utils/common-translations.js';import{renameAttributeKey as _0x49f512}from'../trackchangesediting.js';import{LiveRange as _0x27a621}from'ckeditor5/src/engine.js';export default class z extends _0x578d06{[_0x4db4('0x70')](){const _0x276e7f=this[_0x4db4('0x6b')];if(!_0x276e7f[_0x4db4('0x4')][_0x4db4('0x56')](_0x4db4('0x9')))return;const _0x2ac3fd=_0x276e7f[_0x4db4('0x5e')],_0x425de6=_0x276e7f[_0x4db4('0x4')][_0x4db4('0x54')](_0x4db4('0x18')),_0x829866=_0x276e7f['plugins'][_0x4db4('0x56')](_0x4db4('0x20')),_0xc87fe0=!!_0x276e7f[_0x4db4('0x33')][_0x4db4('0x54')](_0x4db4('0x4e'));function _0x112189(_0x47e99f){return{'type':_0x4db4('0x1'),'content':''+_0x4ccb6d(_0x2ac3fd,_0x4db4('0x68'),_0x47e99f)};}function _0x320aaf(_0x5bb6b6){return{'type':_0x4db4('0x1'),'content':''+_0x4ccb6d(_0x2ac3fd,_0x4db4('0x7a'),_0x5bb6b6)};}_0x425de6['_enableDefaultAttributesIntegration'](_0x4db4('0x4a'),[],[_0x4db4('0x6c'),_0x4db4('0x3'),_0x4db4('0x10')]),_0x425de6[_0x4db4('0x6')](_0x4db4('0x24')),_0x425de6[_0x4db4('0x6')]('indentList'),_0x425de6[_0x4db4('0x6')](_0x4db4('0x71')),_0x425de6[_0x4db4('0x6')](_0x4db4('0x63')),_0x425de6['_enableDefaultAttributesIntegration'](_0x4db4('0x6f')),_0xc87fe0&&(_0x425de6[_0x4db4('0x6')](_0x4db4('0x57')),_0x425de6[_0x4db4('0x6')](_0x4db4('0x43'))),_0x829866&&(_0x425de6[_0x4db4('0x6')](_0x4db4('0x66')),_0x425de6[_0x4db4('0x6')](_0x4db4('0x22'),[],[_0x4db4('0x74')]),_0x425de6[_0x4db4('0x36')][_0x4db4('0x3f')](_0x5be150=>{const {data:_0x431696}=_0x5be150;if(_0x431696&&_0x4db4('0x74')==_0x431696['key'])return{'type':_0x4db4('0x1'),'content':_0x431696[_0x4db4('0x37')]?_0x4ccb6d(_0x2ac3fd,_0x4db4('0x4d')):_0x4ccb6d(_0x2ac3fd,_0x4db4('0x6a'))};}),this[_0x4db4('0x6b')][_0x4db4('0x49')][_0x4db4('0x11')][_0x4db4('0x14')](_0x4ed10e=>{if(_0x4ed10e[_0x4db4('0x5b')][_0x4db4('0xb')])return!0x1;let _0x195268=!0x1;const _0x1839c9=_0x425de6['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x29f912=>_0x4db4('0x74')===_0x425de6['_getAttributeKey'](_0x29f912));for(const _0x3471e6 of _0x1839c9){_0x4db4('0x75')!=_0x3471e6[_0x4db4('0x3a')]()[_0x4db4('0x30')][_0x4db4('0x2')][_0x4db4('0x31')]('listType')&&(_0x425de6[_0x4db4('0x53')](_0x3471e6['getFirstRange'](),'attribute')[_0x4db4('0x6d')](_0x314e40=>_0x4db4('0x3')===_0x425de6[_0x4db4('0x4c')](_0x314e40[_0x4db4('0x73')]))||(_0x4ed10e['removeMarker'](_0x3471e6[_0x4db4('0x19')]()),_0x195268=!0x0));}return _0x195268;})),_0x425de6[_0x4db4('0x36')]['registerAttributeLabel'](_0x4db4('0x10'),_0x4ccb6d(_0x2ac3fd,_0x4db4('0x78')));const _0x30a8e6={'type':_0x4db4('0x1'),'content':''};_0x425de6[_0x4db4('0x36')][_0x4db4('0x3f')](_0x3da7fa=>{const {data:_0x34a53a}=_0x3da7fa;if(!_0x34a53a||'listType'!=_0x34a53a[_0x4db4('0x29')])return;let _0x252d79=_0x3da7fa[_0x4db4('0x16')];for(;_0x252d79;){if(_0x252d79[_0x4db4('0x1f')]&&(_0x4db4('0x67')==_0x252d79['data'][_0x4db4('0x29')]&&(_0x252d79[_0x4db4('0x1f')]['newValue']&&'default'!=_0x252d79['data'][_0x4db4('0x37')]||'default'!=_0x252d79[_0x4db4('0x1f')][_0x4db4('0x38')]&&!_0x34a53a[_0x4db4('0x37')])||!_0xc87fe0&&_0x252d79[_0x4db4('0x1f')][_0x4db4('0x29')]==_0x49f512))return _0x30a8e6;_0x252d79=_0x252d79[_0x4db4('0x7')];}if(null==_0x34a53a[_0x4db4('0x37')])switch(_0x34a53a[_0x4db4('0x38')]){case _0x4db4('0x2b'):return _0x320aaf(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x72')));case'numbered':return _0x320aaf(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x48')));case'todo':return _0x320aaf(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x50')));}switch(_0x34a53a[_0x4db4('0x37')]){case _0x4db4('0x2b'):return _0x112189(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x72')));case _0x4db4('0x2f'):return _0x112189(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x48')));case'todo':return _0x112189(_0x4ccb6d(_0x2ac3fd,_0x4db4('0x50')));}}),_0x425de6['_descriptionFactory'][_0x4db4('0x3f')](_0x14db15=>{const {data:_0x29ef27}=_0x14db15;if(_0x29ef27&&'listIndent'==_0x29ef27[_0x4db4('0x29')])return null==_0x29ef27['newValue']||null==_0x29ef27[_0x4db4('0x38')]&&0x0==_0x29ef27['newValue']?_0x30a8e6:void 0x0;}),_0x425de6[_0x4db4('0x36')][_0x4db4('0x3f')](_0x15effa=>{if(_0x4db4('0x69')!=_0x15effa[_0x4db4('0xf')])return;const {data:_0x59e683}=_0x15effa;if(!_0x59e683||_0x4db4('0x6c')!=_0x59e683[_0x4db4('0x29')])return;const _0x43310a=ie(_0x15effa);return _0x43310a?'newValue'==_0x43310a?{'type':_0x4db4('0x1'),'content':_0x4ccb6d(_0x2ac3fd,_0x4db4('0x6e'))}:_0x4db4('0x38')==_0x43310a?{'type':'format','content':_0x4ccb6d(_0x2ac3fd,_0x4db4('0xa'))}:_0x30a8e6:_0x30a8e6;}),_0x276e7f[_0x4db4('0x49')][_0x4db4('0x11')][_0x4db4('0x14')](_0x4d1299=>this[_0x4db4('0x60')](_0x4d1299)),_0x276e7f[_0x4db4('0x49')]['document'][_0x4db4('0x14')](_0x9c321=>this[_0x4db4('0x42')](_0x9c321)),_0x276e7f[_0x4db4('0x49')][_0x4db4('0x11')]['registerPostFixer'](_0x1200a7=>this[_0x4db4('0x32')](_0x1200a7)),this[_0x4db4('0x2e')]();}[_0x4db4('0x60')](_0x20c362){if(_0x20c362[_0x4db4('0x5b')][_0x4db4('0xb')]||!_0x20c362[_0x4db4('0x5b')][_0x4db4('0x2c')])return!0x1;let _0x1cf0f4=!0x1;const _0x3a7493=this[_0x4db4('0x6b')][_0x4db4('0x4')][_0x4db4('0x54')](_0x4db4('0x18'))[_0x4db4('0x1d')]({'skipNotAttached':!0x0})[_0x4db4('0x12')](_0x2e14f5=>_0x2e14f5[_0x4db4('0x1f')]&&_0x4db4('0x6c')==_0x2e14f5[_0x4db4('0x1f')][_0x4db4('0x29')])[_0x4db4('0x12')](_0x5e041b=>_0x5e041b[_0x4db4('0x1f')][_0x4db4('0x37')]&&_0x5e041b['data'][_0x4db4('0x38')]);for(const _0x2f4283 of _0x3a7493)ie(_0x2f4283)||(_0x20c362[_0x4db4('0x79')](_0x2f4283[_0x4db4('0x19')]()),_0x1cf0f4=!0x0);return _0x1cf0f4;}['noTrackChangesFixer'](_0x298805){if(_0x298805[_0x4db4('0x5b')][_0x4db4('0xb')]||!_0x298805[_0x4db4('0x5b')][_0x4db4('0x2c')])return!0x1;const _0x3308f3=this[_0x4db4('0x6b')][_0x4db4('0x4')]['get'](_0x4db4('0x18'));if(_0x3308f3['trackChangesCommand'][_0x4db4('0x46')])return!0x1;let _0x2590ce=!0x1;const _0x152997=[_0x4db4('0x3'),_0x4db4('0x67'),_0x4db4('0x6c'),_0x4db4('0x10'),'listStart',_0x4db4('0x65'),_0x4db4('0x61')],_0x4ca9a0=this[_0x4db4('0x6b')][_0x4db4('0x49')]['document']['differ'][_0x4db4('0x45')]()['filter'](_0x5ace6e=>_0x4db4('0x69')==_0x5ace6e['type'])['filter'](_0x80a458=>_0x152997[_0x4db4('0x41')](_0x80a458[_0x4db4('0x1b')]));if(0x0==_0x4ca9a0[_0x4db4('0x44')])return _0x2590ce;for(const _0x35d257 of _0x4ca9a0){const _0x3cf985=_0x3308f3[_0x4db4('0x53')](_0x35d257[_0x4db4('0x23')],_0x4db4('0x69'))[_0x4db4('0x12')](_0x113afa=>!_0x113afa[_0x4db4('0x3e')][_0x4db4('0x13')])['map'](_0x3ea56b=>_0x3ea56b[_0x4db4('0x73')])[_0x4db4('0x12')](_0x2cca53=>{const _0x125c86=_0x3308f3['_getAttributeKey'](_0x2cca53);return _0x152997[_0x4db4('0x41')](_0x125c86);});if(_0x3cf985[_0x4db4('0x44')]){for(const _0x260b36 of _0x3cf985)_0x298805['removeMarker'](_0x260b36['getFirstMarker']());_0x2590ce=!0x0;}}return _0x2590ce;}['assureChains'](_0x4fc669){if(_0x4fc669['batch']['isUndo']||!_0x4fc669['batch'][_0x4db4('0x2c')])return!0x1;const _0x1d66b8=this[_0x4db4('0x6b')][_0x4db4('0x4')][_0x4db4('0x54')]('TrackChangesEditing');let _0x3be37f=!0x1;const _0x170291=[_0x4db4('0x3'),'listStyle','listItemId',_0x4db4('0x10'),_0x4db4('0x62'),_0x4db4('0x65'),'todoListCheck'];for(const _0x5e4909 of _0x1d66b8['getSuggestions']({'skipNotAttached':!0x0})){const _0x30fc5c=_0x1d66b8[_0x4db4('0x53')](_0x5e4909[_0x4db4('0x3a')](),_0x4db4('0x69'))[_0x4db4('0x58')](_0x202e50=>_0x202e50[_0x4db4('0x73')])[_0x4db4('0x12')](_0x2fa2a4=>_0x2fa2a4[_0x4db4('0x1f')]&&_0x170291['includes'](_0x2fa2a4[_0x4db4('0x1f')][_0x4db4('0x29')]));if(!_0x30fc5c['length'])continue;const _0x3cfb47=_0x30fc5c[0x0][_0x4db4('0x16')][_0x4db4('0x4f')]['groupId'];if(!_0x30fc5c['every'](_0x15f264=>_0x15f264[_0x4db4('0x4f')]['groupId']===_0x3cfb47))for(const _0x4e7bc2 of _0x30fc5c)_0x57a223(_0x4e7bc2,_0x3cfb47)&&(_0x3be37f=!0x0);}return _0x3be37f;function _0x158e85(_0x40ffa5,_0x30e579){for(const _0x1a7730 of _0x1d66b8['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2769ab=>'attribute'==_0x2769ab[_0x4db4('0xf')]&&_0x2769ab[_0x4db4('0x4f')][_0x4db4('0x39')]==_0x40ffa5))_0x1a7730[_0x4db4('0x2d')](_0x4db4('0x39'),_0x30e579);}function _0x57a223(_0x31492f,_0x1901a5){let _0x858c19=_0x31492f[_0x4db4('0x16')],_0x2083ec=!0x1;for(;_0x858c19;)_0x858c19[_0x4db4('0x4f')]['groupId']!=_0x1901a5&&(_0x158e85(_0x858c19[_0x4db4('0x4f')]['groupId'],_0x1901a5),_0x858c19['setAttribute'](_0x4db4('0x39'),_0x1901a5),_0x2083ec=!0x0),_0x858c19=_0x858c19[_0x4db4('0x7')];return _0x2083ec;}}[_0x4db4('0x2e')](){const _0x552fc0=this[_0x4db4('0x6b')],_0x553b9b=_0x552fc0[_0x4db4('0x5e')],_0x43a600=_0x552fc0[_0x4db4('0x4')][_0x4db4('0x54')](_0x4db4('0x18'));this[_0x4db4('0x17')](),_0x43a600[_0x4db4('0xc')]['registerCustomCallback']('formatBlock',_0x4db4('0x52'),_0x4db4('0x64'),function(_0x5ce97d,_0x57f759){const _0x27831c=[];for(let _0x8b883d of _0x5ce97d)_0x8b883d[_0x4db4('0x30')][_0x4db4('0x2')]===_0x8b883d[_0x4db4('0x5d')][_0x4db4('0x3c')]&&(_0x8b883d=_0x552fc0[_0x4db4('0x49')][_0x4db4('0x5a')](_0x552fc0['model'][_0x4db4('0xd')](_0x8b883d[_0x4db4('0x30')][_0x4db4('0x2')],0x0))),_0x27831c['push'](_0x8b883d);_0x552fc0[_0x4db4('0x49')]['change'](_0x175aff=>{const _0x5a3664=_0x552fc0[_0x4db4('0x49')][_0x4db4('0x11')][_0x4db4('0x1a')],_0x1d50af=Array[_0x4db4('0x1e')](_0x5a3664[_0x4db4('0x27')]())[_0x4db4('0x58')](_0x2aa6c5=>_0x27a621[_0x4db4('0x59')](_0x2aa6c5));_0x175aff[_0x4db4('0x5f')](_0x27831c),_0x552fc0['commands']['get'](_0x57f759[_0x4db4('0x35')])[_0x4db4('0x5')](),_0x57f759[_0x4db4('0x40')][_0x4db4('0x15')]({'forceDefaultExecution':!0x0}),_0x552fc0[_0x4db4('0x21')](_0x57f759[_0x4db4('0x35')],..._0x57f759[_0x4db4('0x40')]),_0x175aff['setSelection'](_0x1d50af);for(const _0x8fe1bb of _0x1d50af)_0x8fe1bb[_0x4db4('0x3b')]();});}),_0x43a600['_descriptionFactory']['registerElementLabel'](function(_0x2cd4f5){const _0x270604=!_0x552fc0[_0x4db4('0x49')][_0x4db4('0x8')]['isObject'](_0x2cd4f5),_0x1aa631=_0x2cd4f5[_0x4db4('0x76')],_0xa1d3fa=_0x2cd4f5['nextSibling'],_0xa5b425=_0x2cd4f5[_0x4db4('0x31')](_0x4db4('0x6c')),_0x4fe165=!_0x1aa631||_0x1aa631[_0x4db4('0x31')](_0x4db4('0x6c'))!==_0xa5b425,_0x992722=!_0xa1d3fa||_0xa1d3fa[_0x4db4('0x31')](_0x4db4('0x6c'))!==_0xa5b425;return _0x270604&&Boolean(_0xa5b425)&&_0x4fe165&&_0x992722;},_0xb80db4=>_0x4ccb6d(_0x553b9b,'ELEMENT_LIST_ITEM',_0xb80db4));}[_0x4db4('0x17')](){const _0x1be9ee=this[_0x4db4('0x6b')],_0x4e9057=_0x1be9ee[_0x4db4('0x5e')];function _0x25b21b(_0x144977){const _0x3eeea3=_0x1be9ee[_0x4db4('0xe')]['get']('bulletedList')[_0x4db4('0x46')],_0x35c584=_0x1be9ee[_0x4db4('0xe')][_0x4db4('0x54')](_0x4db4('0x4a'))[_0x4db4('0x46')];return _0x4db4('0x4a')===_0x144977?_0x3eeea3:_0x35c584;}_0x1be9ee[_0x4db4('0x4')][_0x4db4('0x54')](_0x4db4('0x18'))['_descriptionFactory'][_0x4db4('0x3f')](function(_0x2aa058){if('formatBlock'!=_0x2aa058[_0x4db4('0xf')])return;const {data:_0x383fca}=_0x2aa058;if(!_0x383fca)return;let _0x34759d,_0x35e390,_0x1148ec,_0x177b58;switch(_0x383fca[_0x4db4('0x35')]){case'bulletedList':_0x1148ec=_0x383fca[_0x4db4('0x40')][0x0][_0x4db4('0x55')],_0x177b58=_0x25b21b(_0x383fca['commandName']),_0x34759d=_0x1148ec?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x177b58&&_0x1be9ee[_0x4db4('0x33')][_0x4db4('0x54')]('list.multiBlock')||(_0x34759d='*Change\x20to:*\x20%0'),_0x35e390={'type':_0x4db4('0x1'),'content':_0x4ccb6d(_0x4e9057,_0x34759d,_0x4ccb6d(_0x4e9057,'ELEMENT_BULLETED_LIST'))};break;case _0x4db4('0x4a'):_0x1148ec=_0x383fca[_0x4db4('0x40')][0x0][_0x4db4('0x55')],_0x177b58=_0x25b21b(_0x383fca[_0x4db4('0x35')]),_0x34759d=_0x1148ec?_0x4db4('0x0'):_0x4db4('0x28'),!_0x177b58&&_0x1be9ee['config'][_0x4db4('0x54')](_0x4db4('0x4e'))||(_0x34759d=_0x4db4('0x47')),_0x35e390={'type':_0x4db4('0x1'),'content':_0x4ccb6d(_0x4e9057,_0x34759d,_0x4ccb6d(_0x4e9057,_0x4db4('0x48')))};break;case _0x4db4('0x34'):_0x34759d=_0x4db4('0x26'),_0x35e390={'type':_0x4db4('0x1'),'content':_0x4ccb6d(_0x4e9057,_0x34759d,_0x4ccb6d(_0x4e9057,'ELEMENT_LIST_ITEM'))};break;case _0x4db4('0x71'):_0x34759d=function(_0x3b82b0){const _0xe8a3c0=_0x3b82b0[_0x4db4('0x3a')]();let _0x584040=_0xe8a3c0[_0x4db4('0x30')]['nodeAfter'];for(;_0x584040&&_0xe8a3c0[_0x4db4('0x77')](_0x584040);){if(_0x584040[_0x4db4('0x31')](_0x4db4('0x10'))>0x0)return!0x1;_0x584040=_0x584040[_0x4db4('0x25')];}return!0x0;}(_0x2aa058)?_0x4ccb6d(_0x4e9057,_0x4db4('0x28'),_0x4ccb6d(_0x4e9057,function(_0x5df6d2){return _0x4db4('0x4b')+_0x5df6d2[_0x4db4('0x3a')]()['start'][_0x4db4('0x2')]['getAttribute'](_0x4db4('0x3'))[_0x4db4('0x3d')]()+'_LIST';}(_0x2aa058))):_0x4ccb6d(_0x4e9057,_0x4db4('0x5c'),_0x4ccb6d(_0x4e9057,_0x4db4('0x51'))),_0x35e390={'type':_0x4db4('0x1'),'content':_0x34759d};break;case _0x4db4('0x57'):case _0x4db4('0x43'):!0x1===_0x383fca['multipleBlocks']&&(_0x34759d=_0x4db4('0x1c'),_0x35e390={'type':_0x4db4('0x2a'),'content':_0x4ccb6d(_0x4e9057,_0x34759d,_0x4ccb6d(_0x4e9057,'ELEMENT_LIST_ITEM'))});}return _0x35e390;});}}function ie(_0x5e7a84){let _0x3d7468=_0x5e7a84[_0x4db4('0x3a')]()[_0x4db4('0x30')][_0x4db4('0x2')][_0x4db4('0x76')];for(;_0x3d7468;){const _0x350b09=_0x3d7468['getAttribute'](_0x4db4('0x6c'));if(!_0x350b09)return!0x1;if(_0x350b09==_0x5e7a84['data'][_0x4db4('0x37')])return _0x4db4('0x37');if(_0x350b09==_0x5e7a84['data'][_0x4db4('0x38')])return'oldValue';_0x3d7468=_0x3d7468[_0x4db4('0x76')];}return!0x1;}
23
+ const _0x15d0=['bulletedList','noTrackChangesFixer','nodeAfter','getSuggestions','documentList','registerCustomCallback','document','plugins','outdentList','TodoListEditing','listItemIdFixer','forceValue','getChanges','isObject','listType','isUndo','getFirstRange','getFirstMarker','*Format:*\x20insert\x20into\x20%0','*Merge:*\x20%0','ELEMENT_TODO_LIST','deletion','refresh','listItemId','registerPostFixer','value','format','isLocal','TrackChangesEditing','key','end','*Remove\x20format:*\x20%0','commands','ELEMENT_BULLETED_LIST','mergeListItemBackward','listStart','map','locale','oldValue','removeMarker','_descriptionFactory','filter','commandName','schema','ELEMENT_NUMBERED_LIST','attributes','commandParams','range','_getAttributeKey','next','get','*Indent:*\x20%0','_supportLegacySuggestions','config','listStyle','_findSuggestions','checkTodoList','meta','groupId','from','detach','change','createPositionAt','newValue','multipleBlocks','ELEMENT_','todoListCheck','attribute','_LIST','numberedList','indentList','mergeListItemForward','getAttribute','has','data','suggestion','push','model','bulleted','default','type','setAttribute','*Set\x20format:*\x20%0','_suggestionFactory','todoList','*Format:*\x20remove\x20from\x20%0','numbered','*Change\x20to:*\x20%0','list.multiBlock','execute','*Outdent:*\x20%0','containsItem','isNextTo','listReversed','formatBlock','previousSibling','listIndent','assureChains','trackChangesCommand','editor','start','find','parent','_enableDefaultAttributesIntegration','todoListChecked','head','batch','accept','toUpperCase','setSelection','registerElementLabel','length','includes','*Merge:*\x20list\x20item','every','*Split:*\x20list\x20item','_registerLegacyDescription','splitListItemBefore','registerDescriptionCallback','*Check\x20item*','differ','todo'];(function(_0x1b3b1d,_0x15d0cb){const _0x22745a=function(_0x1eedff){while(--_0x1eedff){_0x1b3b1d['push'](_0x1b3b1d['shift']());}};_0x22745a(++_0x15d0cb);}(_0x15d0,0xd6));const _0x2274=function(_0x1b3b1d,_0x15d0cb){_0x1b3b1d=_0x1b3b1d-0x0;let _0x22745a=_0x15d0[_0x1b3b1d];return _0x22745a;};import{Plugin as _0x5e45a7}from'ckeditor5/src/core.js';import{getTranslation as _0x2dcc5d}from'../utils/common-translations.js';import{renameAttributeKey as _0x24e94c}from'../trackchangesediting.js';import{LiveRange as _0x350ffd}from'ckeditor5/src/engine.js';export default class z extends _0x5e45a7{['afterInit'](){const _0x1951f9=this[_0x2274('0x7')];if(!_0x1951f9[_0x2274('0x25')][_0x2274('0x67')]('ListEditing'))return;const _0xb2aa1f=_0x1951f9[_0x2274('0x43')],_0x52c7c7=_0x1951f9[_0x2274('0x25')][_0x2274('0x50')](_0x2274('0x3a')),_0x14eb54=_0x1951f9['plugins']['has'](_0x2274('0x27')),_0x5b9bb9=!!_0x1951f9['config'][_0x2274('0x50')](_0x2274('0x76'));function _0x9a8874(_0x37134d){return{'type':_0x2274('0x38'),'content':''+_0x2dcc5d(_0xb2aa1f,_0x2274('0x70'),_0x37134d)};}function _0x5ee935(_0x30b220){return{'type':_0x2274('0x38'),'content':''+_0x2dcc5d(_0xb2aa1f,_0x2274('0x3d'),_0x30b220)};}_0x52c7c7[_0x2274('0xb')](_0x2274('0x63'),[],[_0x2274('0x35'),_0x2274('0x2c'),'listIndent']),_0x52c7c7[_0x2274('0xb')](_0x2274('0x1e')),_0x52c7c7['_enableDefaultAttributesIntegration'](_0x2274('0x64')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x26')),_0x52c7c7[_0x2274('0xb')]('splitListItemAfter'),_0x52c7c7[_0x2274('0xb')](_0x2274('0x19')),_0x5b9bb9&&(_0x52c7c7[_0x2274('0xb')](_0x2274('0x40')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x65'))),_0x14eb54&&(_0x52c7c7['_enableDefaultAttributesIntegration'](_0x2274('0x72')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x56'),[],[_0x2274('0xc')]),_0x52c7c7[_0x2274('0x46')]['registerDescriptionCallback'](_0x2f9ad3=>{const {data:_0x432aad}=_0x2f9ad3;if(_0x432aad&&_0x2274('0xc')==_0x432aad[_0x2274('0x3b')])return{'type':_0x2274('0x38'),'content':_0x432aad[_0x2274('0x5d')]?_0x2dcc5d(_0xb2aa1f,_0x2274('0x1b')):_0x2dcc5d(_0xb2aa1f,'*Uncheck\x20item*')};}),this[_0x2274('0x7')][_0x2274('0x6b')]['document'][_0x2274('0x36')](_0x35d5c3=>{if(_0x35d5c3['batch'][_0x2274('0x2d')])return!0x1;let _0x293b6e=!0x1;const _0x1f698c=_0x52c7c7['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2159a6=>_0x2274('0xc')===_0x52c7c7['_getAttributeKey'](_0x2159a6));for(const _0x2724da of _0x1f698c){_0x2274('0x1d')!=_0x2724da[_0x2274('0x2e')]()[_0x2274('0x8')][_0x2274('0x20')][_0x2274('0x66')](_0x2274('0x2c'))&&(_0x52c7c7[_0x2274('0x55')](_0x2724da[_0x2274('0x2e')](),_0x2274('0x61'))[_0x2274('0x9')](_0x33756b=>_0x2274('0x2c')===_0x52c7c7[_0x2274('0x4e')](_0x33756b['suggestion']))||(_0x35d5c3[_0x2274('0x45')](_0x2724da[_0x2274('0x2f')]()),_0x293b6e=!0x0));}return _0x293b6e;})),_0x52c7c7[_0x2274('0x46')]['registerAttributeLabel'](_0x2274('0x4'),_0x2dcc5d(_0xb2aa1f,'FORMAT_INDENT'));const _0x22d667={'type':_0x2274('0x38'),'content':''};_0x52c7c7['_descriptionFactory'][_0x2274('0x1a')](_0x2b5c72=>{const {data:_0x2e4f60}=_0x2b5c72;if(!_0x2e4f60||_0x2274('0x2c')!=_0x2e4f60[_0x2274('0x3b')])return;let _0x3e7af0=_0x2b5c72['head'];for(;_0x3e7af0;){if(_0x3e7af0[_0x2274('0x68')]&&('listStyle'==_0x3e7af0[_0x2274('0x68')][_0x2274('0x3b')]&&(_0x3e7af0[_0x2274('0x68')]['newValue']&&_0x2274('0x6d')!=_0x3e7af0[_0x2274('0x68')][_0x2274('0x5d')]||_0x2274('0x6d')!=_0x3e7af0[_0x2274('0x68')][_0x2274('0x44')]&&!_0x2e4f60[_0x2274('0x5d')])||!_0x5b9bb9&&_0x3e7af0['data']['key']==_0x24e94c))return _0x22d667;_0x3e7af0=_0x3e7af0[_0x2274('0x4f')];}if(null==_0x2e4f60[_0x2274('0x5d')])switch(_0x2e4f60['oldValue']){case _0x2274('0x6c'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,'ELEMENT_BULLETED_LIST'));case _0x2274('0x74'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,_0x2274('0x4a')));case _0x2274('0x1d'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,_0x2274('0x32')));}switch(_0x2e4f60[_0x2274('0x5d')]){case'bulleted':return _0x9a8874(_0x2dcc5d(_0xb2aa1f,_0x2274('0x3f')));case _0x2274('0x74'):return _0x9a8874(_0x2dcc5d(_0xb2aa1f,'ELEMENT_NUMBERED_LIST'));case _0x2274('0x1d'):return _0x9a8874(_0x2dcc5d(_0xb2aa1f,'ELEMENT_TODO_LIST'));}}),_0x52c7c7[_0x2274('0x46')]['registerDescriptionCallback'](_0x1af075=>{const {data:_0x44e060}=_0x1af075;if(_0x44e060&&_0x2274('0x4')==_0x44e060[_0x2274('0x3b')])return null==_0x44e060[_0x2274('0x5d')]||null==_0x44e060[_0x2274('0x44')]&&0x0==_0x44e060[_0x2274('0x5d')]?_0x22d667:void 0x0;}),_0x52c7c7[_0x2274('0x46')][_0x2274('0x1a')](_0x1af1dd=>{if(_0x2274('0x61')!=_0x1af1dd[_0x2274('0x6e')])return;const {data:_0x5921c2}=_0x1af1dd;if(!_0x5921c2||_0x2274('0x35')!=_0x5921c2[_0x2274('0x3b')])return;const _0x91147e=ie(_0x1af1dd);return _0x91147e?'newValue'==_0x91147e?{'type':_0x2274('0x38'),'content':_0x2dcc5d(_0xb2aa1f,_0x2274('0x15'))}:'oldValue'==_0x91147e?{'type':'format','content':_0x2dcc5d(_0xb2aa1f,_0x2274('0x17'))}:_0x22d667:_0x22d667;}),_0x1951f9['model'][_0x2274('0x24')][_0x2274('0x36')](_0x3e5de6=>this[_0x2274('0x28')](_0x3e5de6)),_0x1951f9[_0x2274('0x6b')][_0x2274('0x24')][_0x2274('0x36')](_0x414e7a=>this[_0x2274('0x1f')](_0x414e7a)),_0x1951f9[_0x2274('0x6b')][_0x2274('0x24')][_0x2274('0x36')](_0x126de2=>this['assureChains'](_0x126de2)),this[_0x2274('0x52')]();}[_0x2274('0x28')](_0x6c3b3f){if(_0x6c3b3f[_0x2274('0xe')]['isUndo']||!_0x6c3b3f[_0x2274('0xe')][_0x2274('0x39')])return!0x1;let _0x3438ac=!0x1;const _0xe9e1f2=this['editor'][_0x2274('0x25')]['get'](_0x2274('0x3a'))[_0x2274('0x21')]({'skipNotAttached':!0x0})[_0x2274('0x47')](_0x20547e=>_0x20547e['data']&&_0x2274('0x35')==_0x20547e[_0x2274('0x68')]['key'])['filter'](_0x3fa31f=>_0x3fa31f[_0x2274('0x68')][_0x2274('0x5d')]&&_0x3fa31f[_0x2274('0x68')][_0x2274('0x44')]);for(const _0x4bd757 of _0xe9e1f2)ie(_0x4bd757)||(_0x6c3b3f[_0x2274('0x45')](_0x4bd757[_0x2274('0x2f')]()),_0x3438ac=!0x0);return _0x3438ac;}['noTrackChangesFixer'](_0x38a0bc){if(_0x38a0bc[_0x2274('0xe')][_0x2274('0x2d')]||!_0x38a0bc[_0x2274('0xe')][_0x2274('0x39')])return!0x1;const _0x7077af=this[_0x2274('0x7')]['plugins'][_0x2274('0x50')](_0x2274('0x3a'));if(_0x7077af[_0x2274('0x6')][_0x2274('0x37')])return!0x1;let _0x586e94=!0x1;const _0x217781=[_0x2274('0x2c'),'listStyle',_0x2274('0x35'),_0x2274('0x4'),_0x2274('0x41'),_0x2274('0x1'),_0x2274('0x60')],_0x29653c=this[_0x2274('0x7')]['model'][_0x2274('0x24')][_0x2274('0x1c')][_0x2274('0x2a')]()[_0x2274('0x47')](_0x1f2858=>'attribute'==_0x1f2858[_0x2274('0x6e')])[_0x2274('0x47')](_0x26096f=>_0x217781['includes'](_0x26096f['attributeKey']));if(0x0==_0x29653c[_0x2274('0x13')])return _0x586e94;for(const _0x16d099 of _0x29653c){const _0x522f0a=_0x7077af[_0x2274('0x55')](_0x16d099[_0x2274('0x4d')],'attribute')[_0x2274('0x47')](_0x10321b=>!_0x10321b[_0x2274('0x57')][_0x2274('0x0')])[_0x2274('0x42')](_0x4e133f=>_0x4e133f[_0x2274('0x69')])[_0x2274('0x47')](_0x150a11=>{const _0x226b96=_0x7077af[_0x2274('0x4e')](_0x150a11);return _0x217781[_0x2274('0x14')](_0x226b96);});if(_0x522f0a[_0x2274('0x13')]){for(const _0x322d30 of _0x522f0a)_0x38a0bc[_0x2274('0x45')](_0x322d30[_0x2274('0x2f')]());_0x586e94=!0x0;}}return _0x586e94;}[_0x2274('0x5')](_0x2ff0b8){if(_0x2ff0b8[_0x2274('0xe')][_0x2274('0x2d')]||!_0x2ff0b8['batch']['isLocal'])return!0x1;const _0x9322ae=this[_0x2274('0x7')][_0x2274('0x25')][_0x2274('0x50')]('TrackChangesEditing');let _0x5e5c36=!0x1;const _0x5c3063=[_0x2274('0x2c'),_0x2274('0x54'),_0x2274('0x35'),_0x2274('0x4'),'listStart',_0x2274('0x1'),_0x2274('0x60')];for(const _0x187a84 of _0x9322ae['getSuggestions']({'skipNotAttached':!0x0})){const _0x19c12d=_0x9322ae[_0x2274('0x55')](_0x187a84[_0x2274('0x2e')](),_0x2274('0x61'))['map'](_0x30cd83=>_0x30cd83['suggestion'])[_0x2274('0x47')](_0x29fa76=>_0x29fa76['data']&&_0x5c3063[_0x2274('0x14')](_0x29fa76['data'][_0x2274('0x3b')]));if(!_0x19c12d[_0x2274('0x13')])continue;const _0x4b4910=_0x19c12d[0x0][_0x2274('0xd')]['attributes'][_0x2274('0x58')];if(!_0x19c12d[_0x2274('0x16')](_0x438eb4=>_0x438eb4['attributes'][_0x2274('0x58')]===_0x4b4910))for(const _0x416852 of _0x19c12d)_0x46cb70(_0x416852,_0x4b4910)&&(_0x5e5c36=!0x0);}return _0x5e5c36;function _0x108221(_0x5dbada,_0x34b895){for(const _0xaa9705 of _0x9322ae['getSuggestions']({'skipNotAttached':!0x0})[_0x2274('0x47')](_0x1fbbf=>_0x2274('0x61')==_0x1fbbf['type']&&_0x1fbbf[_0x2274('0x4b')][_0x2274('0x58')]==_0x5dbada))_0xaa9705['setAttribute'](_0x2274('0x58'),_0x34b895);}function _0x46cb70(_0x2e1988,_0x26be19){let _0x3084c6=_0x2e1988[_0x2274('0xd')],_0xdb414f=!0x1;for(;_0x3084c6;)_0x3084c6[_0x2274('0x4b')][_0x2274('0x58')]!=_0x26be19&&(_0x108221(_0x3084c6[_0x2274('0x4b')][_0x2274('0x58')],_0x26be19),_0x3084c6[_0x2274('0x6f')]('groupId',_0x26be19),_0xdb414f=!0x0),_0x3084c6=_0x3084c6[_0x2274('0x4f')];return _0xdb414f;}}[_0x2274('0x52')](){const _0x5af0d0=this[_0x2274('0x7')],_0x4446ff=_0x5af0d0[_0x2274('0x43')],_0x2b86ef=_0x5af0d0[_0x2274('0x25')][_0x2274('0x50')]('TrackChangesEditing');this[_0x2274('0x18')](),_0x2b86ef[_0x2274('0x71')][_0x2274('0x23')](_0x2274('0x2'),_0x2274('0x22'),_0x2274('0xf'),function(_0x2caa96,_0x4fde85){const _0x3e50d5=[];for(let _0x359ee4 of _0x2caa96)_0x359ee4[_0x2274('0x8')]['nodeAfter']===_0x359ee4[_0x2274('0x3c')][_0x2274('0xa')]&&(_0x359ee4=_0x5af0d0['model']['createRange'](_0x5af0d0[_0x2274('0x6b')][_0x2274('0x5c')](_0x359ee4['start'][_0x2274('0x20')],0x0))),_0x3e50d5[_0x2274('0x6a')](_0x359ee4);_0x5af0d0[_0x2274('0x6b')][_0x2274('0x5b')](_0x2fe93e=>{const _0x3168b3=_0x5af0d0['model'][_0x2274('0x24')]['selection'],_0x4e3b29=Array[_0x2274('0x59')](_0x3168b3['getRanges']())['map'](_0x53a457=>_0x350ffd['fromRange'](_0x53a457));_0x2fe93e[_0x2274('0x11')](_0x3e50d5),_0x5af0d0['commands'][_0x2274('0x50')](_0x4fde85['commandName'])[_0x2274('0x34')](),_0x4fde85[_0x2274('0x4c')][_0x2274('0x6a')]({'forceDefaultExecution':!0x0}),_0x5af0d0[_0x2274('0x77')](_0x4fde85[_0x2274('0x48')],..._0x4fde85[_0x2274('0x4c')]),_0x2fe93e[_0x2274('0x11')](_0x4e3b29);for(const _0x50d1d1 of _0x4e3b29)_0x50d1d1[_0x2274('0x5a')]();});}),_0x2b86ef['_descriptionFactory'][_0x2274('0x12')](function(_0x45926a){const _0x3d9bc4=!_0x5af0d0[_0x2274('0x6b')][_0x2274('0x49')][_0x2274('0x2b')](_0x45926a),_0x4a43a5=_0x45926a[_0x2274('0x3')],_0x16d110=_0x45926a['nextSibling'],_0xaa3501=_0x45926a[_0x2274('0x66')](_0x2274('0x35')),_0x5c6325=!_0x4a43a5||_0x4a43a5[_0x2274('0x66')](_0x2274('0x35'))!==_0xaa3501,_0x20d7f4=!_0x16d110||_0x16d110['getAttribute'](_0x2274('0x35'))!==_0xaa3501;return _0x3d9bc4&&Boolean(_0xaa3501)&&_0x5c6325&&_0x20d7f4;},_0x4b8a45=>_0x2dcc5d(_0x4446ff,'ELEMENT_LIST_ITEM',_0x4b8a45));}[_0x2274('0x18')](){const _0x2c6bbb=this[_0x2274('0x7')],_0x56b5e5=_0x2c6bbb[_0x2274('0x43')];function _0x52da9b(_0x7c0f58){const _0x3da2ae=_0x2c6bbb['commands'][_0x2274('0x50')](_0x2274('0x1e'))['value'],_0x35ebe4=_0x2c6bbb[_0x2274('0x3e')][_0x2274('0x50')](_0x2274('0x63'))[_0x2274('0x37')];return _0x2274('0x63')===_0x7c0f58?_0x3da2ae:_0x35ebe4;}_0x2c6bbb['plugins'][_0x2274('0x50')](_0x2274('0x3a'))[_0x2274('0x46')][_0x2274('0x1a')](function(_0x2487a0){if(_0x2274('0x2')!=_0x2487a0[_0x2274('0x6e')])return;const {data:_0x347238}=_0x2487a0;if(!_0x347238)return;let _0x566365,_0x2e824d,_0x58a26f,_0x4d2659;switch(_0x347238[_0x2274('0x48')]){case'bulletedList':_0x58a26f=_0x347238[_0x2274('0x4c')][0x0][_0x2274('0x29')],_0x4d2659=_0x52da9b(_0x347238[_0x2274('0x48')]),_0x566365=_0x58a26f?_0x2274('0x30'):_0x2274('0x73'),!_0x4d2659&&_0x2c6bbb[_0x2274('0x53')]['get'](_0x2274('0x76'))||(_0x566365='*Change\x20to:*\x20%0'),_0x2e824d={'type':_0x2274('0x38'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,_0x2274('0x3f')))};break;case _0x2274('0x63'):_0x58a26f=_0x347238['commandParams'][0x0][_0x2274('0x29')],_0x4d2659=_0x52da9b(_0x347238[_0x2274('0x48')]),_0x566365=_0x58a26f?_0x2274('0x30'):_0x2274('0x73'),!_0x4d2659&&_0x2c6bbb[_0x2274('0x53')]['get'](_0x2274('0x76'))||(_0x566365=_0x2274('0x75')),_0x2e824d={'type':'format','content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,_0x2274('0x4a')))};break;case'indentList':_0x566365=_0x2274('0x51'),_0x2e824d={'type':_0x2274('0x38'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM'))};break;case _0x2274('0x26'):_0x566365=function(_0x4b384c){const _0x1b31c5=_0x4b384c[_0x2274('0x2e')]();let _0x382255=_0x1b31c5[_0x2274('0x8')]['nodeAfter'];for(;_0x382255&&_0x1b31c5[_0x2274('0x79')](_0x382255);){if(_0x382255[_0x2274('0x66')](_0x2274('0x4'))>0x0)return!0x1;_0x382255=_0x382255['nextSibling'];}return!0x0;}(_0x2487a0)?_0x2dcc5d(_0x56b5e5,_0x2274('0x73'),_0x2dcc5d(_0x56b5e5,function(_0x1a8192){return _0x2274('0x5f')+_0x1a8192['getFirstRange']()[_0x2274('0x8')][_0x2274('0x20')][_0x2274('0x66')](_0x2274('0x2c'))[_0x2274('0x10')]()+_0x2274('0x62');}(_0x2487a0))):_0x2dcc5d(_0x56b5e5,_0x2274('0x78'),_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM')),_0x2e824d={'type':_0x2274('0x38'),'content':_0x566365};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x347238[_0x2274('0x5e')]&&(_0x566365=_0x2274('0x31'),_0x2e824d={'type':_0x2274('0x33'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM'))});}return _0x2e824d;});}}function ie(_0x263d1a){let _0x3f36a2=_0x263d1a['getFirstRange']()[_0x2274('0x8')][_0x2274('0x20')]['previousSibling'];for(;_0x3f36a2;){const _0x2d55fd=_0x3f36a2['getAttribute']('listItemId');if(!_0x2d55fd)return!0x1;if(_0x2d55fd==_0x263d1a[_0x2274('0x68')][_0x2274('0x5d')])return _0x2274('0x5d');if(_0x2d55fd==_0x263d1a[_0x2274('0x68')][_0x2274('0x44')])return'oldValue';_0x3f36a2=_0x3f36a2[_0x2274('0x3')];}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3080=['commandParams','attribute','TrackChangesEditing','listType','numbered','start','editor','bulleted','disc','next','nodeAfter','newValue','listStart','getAttribute','isUndo','formatBlock','locale','_registerLegacyDescription','registerPostFixer','model','listReversed','default','bind','config','decimal','getSuggestions','has','key','afterInit','oldValue','registerDescriptionCallback','*Format:*\x20set\x20order\x20to\x20regular','lower-latin','*Remove\x20format:*\x20%0','commandName','*Set\x20format:*\x20%0','startIndex','suggestion','plugins','upper-roman','upper-latin','handleDescriptions','square','head','lower-roman','type','styles','document','_descriptionFactory','_getTranslationKeyForListStyle','_LIST_DEFAULT','FORMAT_LIST_REVERSED','getFirstRange','toUpperCase','registerAttributeLabel','batch','data','find','includes','replace','ELEMENT_','decimal-leading-zero','*Change\x20to:*\x20%0','_getAttributeKey','format','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','_enableDefaultAttributesIntegration'];(function(_0x495a79,_0x3080d3){const _0x19ed6c=function(_0xa6f81f){while(--_0xa6f81f){_0x495a79['push'](_0x495a79['shift']());}};_0x19ed6c(++_0x3080d3);}(_0x3080,0x77));const _0x19ed=function(_0x495a79,_0x3080d3){_0x495a79=_0x495a79-0x0;let _0x19ed6c=_0x3080[_0x495a79];return _0x19ed6c;};import{Plugin as _0x6366fd}from'ckeditor5/src/core.js';import{getTranslation as _0x2ee07f}from'../utils/common-translations.js';export default class se extends _0x6366fd{[_0x19ed('0x2f')](){if(!this[_0x19ed('0x19')][_0x19ed('0x39')][_0x19ed('0x2d')]('ListPropertiesEditing'))return;const _0x726429=this['editor'][_0x19ed('0x2a')][_0x19ed('0x11')]('list.properties'),_0x1a9d0d=this[_0x19ed('0x19')][_0x19ed('0x39')][_0x19ed('0x11')](_0x19ed('0x15'));_0x726429[_0x19ed('0x41')]&&_0x1a9d0d[_0x19ed('0x12')]('listStyle',[],[_0x19ed('0xf')]),_0x726429['reversed']&&_0x1a9d0d[_0x19ed('0x12')](_0x19ed('0x27'),[],[_0x19ed('0x27')]),_0x726429[_0x19ed('0x37')]&&_0x1a9d0d[_0x19ed('0x12')]('listStart',[],[_0x19ed('0x1f')]);const _0x958f06={'type':'format','content':''};_0x1a9d0d[_0x19ed('0x43')][_0x19ed('0x31')](this[_0x19ed('0x3c')][_0x19ed('0x29')](this));const _0x1e7ac9=this[_0x19ed('0x19')]['locale'];_0x1a9d0d[_0x19ed('0x43')][_0x19ed('0x4')]('listReversed',_0x2ee07f(_0x1e7ac9,_0x19ed('0x1'))),_0x1a9d0d[_0x19ed('0x43')]['registerDescriptionCallback'](_0x506864=>{const {data:_0x18f6d8}=_0x506864;if(_0x18f6d8&&'listReversed'==_0x18f6d8[_0x19ed('0x2e')])return null==_0x18f6d8[_0x19ed('0x1e')]||0x0==_0x18f6d8[_0x19ed('0x1e')]&&null==_0x18f6d8['oldValue']?_0x958f06:void 0x0;}),_0x1a9d0d[_0x19ed('0x43')]['registerAttributeLabel'](_0x19ed('0x1f'),_0x2ee07f(_0x1e7ac9,'FORMAT_LIST_START')),_0x1a9d0d[_0x19ed('0x43')]['registerDescriptionCallback'](_0x44e1d0=>{const {data:_0x20f299}=_0x44e1d0;if(_0x20f299&&_0x19ed('0x1f')==_0x20f299[_0x19ed('0x2e')])return null==_0x20f299[_0x19ed('0x1e')]||0x1==_0x20f299['newValue']&&null==_0x20f299['oldValue']?_0x958f06:void 0x0;}),this[_0x19ed('0x19')][_0x19ed('0x26')][_0x19ed('0x42')][_0x19ed('0x25')](_0x2eb80b=>{if(_0x2eb80b[_0x19ed('0x5')][_0x19ed('0x21')])return!0x1;let _0x5afb4f=!0x1;const _0x4b4639=_0x1a9d0d[_0x19ed('0x2c')]({'skipNotAttached':!0x0})['filter'](_0x3dcb19=>{const _0x2f2c91=_0x1a9d0d['_getAttributeKey'](_0x3dcb19);return _0x19ed('0x1f')==_0x2f2c91||_0x19ed('0x27')==_0x2f2c91;});for(const _0x5df6e8 of _0x4b4639){if(_0x19ed('0x17')==_0x5df6e8[_0x19ed('0x2')]()[_0x19ed('0x18')]['nodeAfter']['getAttribute'](_0x19ed('0x16')))continue;_0x1a9d0d['_findSuggestions'](_0x5df6e8[_0x19ed('0x2')](),_0x19ed('0x14'))[_0x19ed('0x7')](_0x358ee4=>'listType'==_0x1a9d0d[_0x19ed('0xd')](_0x358ee4[_0x19ed('0x38')]))||(_0x2eb80b['removeMarker'](_0x5df6e8['getFirstMarker']()),_0x5afb4f=!0x0);}return _0x5afb4f;}),this[_0x19ed('0x24')]();}[_0x19ed('0x3c')](_0x1b2475){const _0x509a68=this[_0x19ed('0x19')][_0x19ed('0x23')],{data:_0x397c4a}=_0x1b2475,_0x46d7bb={'type':_0x19ed('0xe'),'content':''};if(!_0x397c4a||'listStyle'!=_0x397c4a['key'])return;if(!_0x397c4a[_0x19ed('0x30')])return _0x19ed('0x28')==_0x397c4a[_0x19ed('0x1e')]?_0x46d7bb:{'type':'format','content':''+_0x2ee07f(_0x509a68,_0x19ed('0x36'),_0x2ee07f(_0x509a68,this[_0x19ed('0x44')](_0x397c4a[_0x19ed('0x1e')])))};if(!_0x397c4a[_0x19ed('0x1e')]){if(_0x19ed('0x28')==_0x397c4a[_0x19ed('0x30')])return _0x46d7bb;let _0x379b01=_0x1b2475['head'];for(;_0x379b01;){if(_0x379b01[_0x19ed('0x6')]&&_0x19ed('0x16')==_0x379b01[_0x19ed('0x6')]['key']&&_0x379b01[_0x19ed('0x6')][_0x19ed('0x1e')])return _0x46d7bb;_0x379b01=_0x379b01[_0x19ed('0x1c')];}return{'type':_0x19ed('0xe'),'content':''+_0x2ee07f(_0x509a68,_0x19ed('0x34'),_0x2ee07f(_0x509a68,this[_0x19ed('0x44')](_0x397c4a[_0x19ed('0x30')])))};}if(_0x19ed('0x28')!=_0x397c4a['newValue'])return{'type':_0x19ed('0xe'),'content':''+_0x2ee07f(_0x509a68,_0x19ed('0x36'),_0x2ee07f(_0x509a68,this[_0x19ed('0x44')](_0x397c4a['newValue'])))};let _0x1325ae=_0x1b2475[_0x19ed('0x3e')];for(;_0x1325ae;){if(_0x1325ae['data']&&_0x19ed('0x16')==_0x1325ae[_0x19ed('0x6')][_0x19ed('0x2e')]&&_0x1325ae['data'][_0x19ed('0x1e')]&&_0x1325ae[_0x19ed('0x6')][_0x19ed('0x30')])return _0x46d7bb;_0x1325ae=_0x1325ae[_0x19ed('0x1c')];}const _0x883c17=_0x1b2475[_0x19ed('0x2')]()[_0x19ed('0x18')][_0x19ed('0x1d')][_0x19ed('0x20')](_0x19ed('0x16'));return{'type':_0x19ed('0xe'),'content':_0x2ee07f(_0x509a68,_0x19ed('0x36'),_0x2ee07f(_0x509a68,'ELEMENT_'+_0x883c17['toUpperCase']()+_0x19ed('0x0')))};}['_registerLegacyDescription'](){const _0x4d0b94=this[_0x19ed('0x19')],_0x3f297a=_0x4d0b94[_0x19ed('0x23')];_0x4d0b94[_0x19ed('0x39')][_0x19ed('0x11')](_0x19ed('0x15'))['_descriptionFactory'][_0x19ed('0x31')](_0x55a39b=>{if(_0x19ed('0x22')!=_0x55a39b[_0x19ed('0x40')])return;const {data:_0x2fabc3}=_0x55a39b;if(!_0x2fabc3)return;let _0x4658bb,_0x178fc0;switch(_0x2fabc3[_0x19ed('0x35')]){case _0x19ed('0xf'):_0x4658bb=_0x19ed('0xc'),_0x178fc0={'type':'format','content':_0x2ee07f(_0x3f297a,_0x4658bb,_0x2ee07f(_0x3f297a,this[_0x19ed('0x44')](_0x2fabc3[_0x19ed('0x13')][0x0][_0x19ed('0x40')])))};break;case _0x19ed('0x27'):_0x4658bb=_0x2fabc3[_0x19ed('0x13')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x19ed('0x32'),_0x178fc0={'type':_0x19ed('0xe'),'content':_0x2ee07f(_0x3f297a,_0x4658bb)};break;case _0x19ed('0x1f'):_0x4658bb=_0x19ed('0x10'),_0x178fc0={'type':_0x19ed('0xe'),'content':_0x2ee07f(_0x3f297a,_0x4658bb,_0x2fabc3[_0x19ed('0x13')][0x0][_0x19ed('0x37')])};}return _0x178fc0;});}['_getTranslationKeyForListStyle'](_0x3d05f2){return _0x19ed('0xa')+function(_0x19c312){if(ae[_0x19ed('0x8')](_0x19c312))return _0x19ed('0x1a');if(le[_0x19ed('0x8')](_0x19c312))return _0x19ed('0x17');return null;}(_0x3d05f2)[_0x19ed('0x3')]()+'_LIST_'+_0x3d05f2['toUpperCase']()[_0x19ed('0x9')](/-/g,'_');}}const ae=[_0x19ed('0x1b'),'circle',_0x19ed('0x3d')],le=[_0x19ed('0x2b'),_0x19ed('0xb'),_0x19ed('0x3f'),_0x19ed('0x3a'),_0x19ed('0x33'),_0x19ed('0x3b')];
23
+ const _0x5baf=['_LIST_DEFAULT','decimal-leading-zero','_getAttributeKey','head','ELEMENT_','has','listType','get','newValue','format','lower-roman','*Format:*\x20set\x20start\x20index\x20to\x20%0','type','listStart','numbered','getFirstRange','getAttribute','registerDescriptionCallback','plugins','default','*Format:*\x20set\x20order\x20to\x20regular','data','_registerLegacyDescription','lower-latin','commandParams','editor','getFirstMarker','next','listStyle','find','registerPostFixer','disc','listReversed','*Set\x20format:*\x20%0','includes','afterInit','list.properties','replace','key','document','bind','upper-latin','_getTranslationKeyForListStyle','oldValue','_findSuggestions','attribute','toUpperCase','registerAttributeLabel','upper-roman','FORMAT_LIST_START','nodeAfter','locale','handleDescriptions','_enableDefaultAttributesIntegration','styles','_descriptionFactory','suggestion','filter','TrackChangesEditing','decimal','reversed','config','startIndex','_LIST_'];(function(_0xb4db82,_0x5baf27){const _0x2f2f9e=function(_0x1aa299){while(--_0x1aa299){_0xb4db82['push'](_0xb4db82['shift']());}};_0x2f2f9e(++_0x5baf27);}(_0x5baf,0x93));const _0x2f2f=function(_0xb4db82,_0x5baf27){_0xb4db82=_0xb4db82-0x0;let _0x2f2f9e=_0x5baf[_0xb4db82];return _0x2f2f9e;};import{Plugin as _0x4f667e}from'ckeditor5/src/core.js';import{getTranslation as _0x114c30}from'../utils/common-translations.js';export default class se extends _0x4f667e{[_0x2f2f('0x10')](){if(!this[_0x2f2f('0x6')][_0x2f2f('0x3f')][_0x2f2f('0x32')]('ListPropertiesEditing'))return;const _0x42c492=this[_0x2f2f('0x6')][_0x2f2f('0x2a')][_0x2f2f('0x34')](_0x2f2f('0x11')),_0x446425=this[_0x2f2f('0x6')][_0x2f2f('0x3f')][_0x2f2f('0x34')](_0x2f2f('0x27'));_0x42c492[_0x2f2f('0x23')]&&_0x446425[_0x2f2f('0x22')](_0x2f2f('0x9'),[],[_0x2f2f('0x9')]),_0x42c492[_0x2f2f('0x29')]&&_0x446425[_0x2f2f('0x22')](_0x2f2f('0xd'),[],['listReversed']),_0x42c492[_0x2f2f('0x2b')]&&_0x446425[_0x2f2f('0x22')](_0x2f2f('0x3a'),[],[_0x2f2f('0x3a')]);const _0x38141c={'type':_0x2f2f('0x36'),'content':''};_0x446425['_descriptionFactory'][_0x2f2f('0x3e')](this[_0x2f2f('0x21')][_0x2f2f('0x15')](this));const _0x1af5fc=this[_0x2f2f('0x6')][_0x2f2f('0x20')];_0x446425[_0x2f2f('0x24')][_0x2f2f('0x1c')](_0x2f2f('0xd'),_0x114c30(_0x1af5fc,'FORMAT_LIST_REVERSED')),_0x446425[_0x2f2f('0x24')][_0x2f2f('0x3e')](_0xcf16bc=>{const {data:_0xf7e5f6}=_0xcf16bc;if(_0xf7e5f6&&_0x2f2f('0xd')==_0xf7e5f6[_0x2f2f('0x13')])return null==_0xf7e5f6[_0x2f2f('0x35')]||0x0==_0xf7e5f6['newValue']&&null==_0xf7e5f6['oldValue']?_0x38141c:void 0x0;}),_0x446425[_0x2f2f('0x24')][_0x2f2f('0x1c')](_0x2f2f('0x3a'),_0x114c30(_0x1af5fc,_0x2f2f('0x1e'))),_0x446425['_descriptionFactory'][_0x2f2f('0x3e')](_0x3e6914=>{const {data:_0x3496e9}=_0x3e6914;if(_0x3496e9&&_0x2f2f('0x3a')==_0x3496e9[_0x2f2f('0x13')])return null==_0x3496e9[_0x2f2f('0x35')]||0x1==_0x3496e9['newValue']&&null==_0x3496e9[_0x2f2f('0x18')]?_0x38141c:void 0x0;}),this[_0x2f2f('0x6')]['model'][_0x2f2f('0x14')][_0x2f2f('0xb')](_0x5e24b8=>{if(_0x5e24b8['batch']['isUndo'])return!0x1;let _0x16a9dd=!0x1;const _0x363c66=_0x446425['getSuggestions']({'skipNotAttached':!0x0})[_0x2f2f('0x26')](_0x36f02e=>{const _0x4f8476=_0x446425[_0x2f2f('0x2f')](_0x36f02e);return _0x2f2f('0x3a')==_0x4f8476||_0x2f2f('0xd')==_0x4f8476;});for(const _0x5035bb of _0x363c66){if(_0x2f2f('0x3b')==_0x5035bb[_0x2f2f('0x3c')]()['start']['nodeAfter']['getAttribute']('listType'))continue;_0x446425[_0x2f2f('0x19')](_0x5035bb['getFirstRange'](),_0x2f2f('0x1a'))[_0x2f2f('0xa')](_0x5c582e=>_0x2f2f('0x33')==_0x446425[_0x2f2f('0x2f')](_0x5c582e[_0x2f2f('0x25')]))||(_0x5e24b8['removeMarker'](_0x5035bb[_0x2f2f('0x7')]()),_0x16a9dd=!0x0);}return _0x16a9dd;}),this[_0x2f2f('0x3')]();}[_0x2f2f('0x21')](_0x10b936){const _0x2979ea=this[_0x2f2f('0x6')][_0x2f2f('0x20')],{data:_0x1fc66a}=_0x10b936,_0x31982f={'type':_0x2f2f('0x36'),'content':''};if(!_0x1fc66a||_0x2f2f('0x9')!=_0x1fc66a[_0x2f2f('0x13')])return;if(!_0x1fc66a[_0x2f2f('0x18')])return _0x2f2f('0x0')==_0x1fc66a[_0x2f2f('0x35')]?_0x31982f:{'type':'format','content':''+_0x114c30(_0x2979ea,_0x2f2f('0xe'),_0x114c30(_0x2979ea,this[_0x2f2f('0x17')](_0x1fc66a[_0x2f2f('0x35')])))};if(!_0x1fc66a[_0x2f2f('0x35')]){if(_0x2f2f('0x0')==_0x1fc66a['oldValue'])return _0x31982f;let _0xfdb70a=_0x10b936[_0x2f2f('0x30')];for(;_0xfdb70a;){if(_0xfdb70a[_0x2f2f('0x2')]&&_0x2f2f('0x33')==_0xfdb70a[_0x2f2f('0x2')][_0x2f2f('0x13')]&&_0xfdb70a[_0x2f2f('0x2')]['newValue'])return _0x31982f;_0xfdb70a=_0xfdb70a[_0x2f2f('0x8')];}return{'type':_0x2f2f('0x36'),'content':''+_0x114c30(_0x2979ea,'*Remove\x20format:*\x20%0',_0x114c30(_0x2979ea,this[_0x2f2f('0x17')](_0x1fc66a[_0x2f2f('0x18')])))};}if(_0x2f2f('0x0')!=_0x1fc66a[_0x2f2f('0x35')])return{'type':'format','content':''+_0x114c30(_0x2979ea,'*Set\x20format:*\x20%0',_0x114c30(_0x2979ea,this['_getTranslationKeyForListStyle'](_0x1fc66a[_0x2f2f('0x35')])))};let _0x33faa4=_0x10b936[_0x2f2f('0x30')];for(;_0x33faa4;){if(_0x33faa4[_0x2f2f('0x2')]&&_0x2f2f('0x33')==_0x33faa4[_0x2f2f('0x2')][_0x2f2f('0x13')]&&_0x33faa4[_0x2f2f('0x2')][_0x2f2f('0x35')]&&_0x33faa4[_0x2f2f('0x2')][_0x2f2f('0x18')])return _0x31982f;_0x33faa4=_0x33faa4[_0x2f2f('0x8')];}const _0x2a9385=_0x10b936[_0x2f2f('0x3c')]()['start'][_0x2f2f('0x1f')][_0x2f2f('0x3d')](_0x2f2f('0x33'));return{'type':_0x2f2f('0x36'),'content':_0x114c30(_0x2979ea,_0x2f2f('0xe'),_0x114c30(_0x2979ea,_0x2f2f('0x31')+_0x2a9385[_0x2f2f('0x1b')]()+_0x2f2f('0x2d')))};}[_0x2f2f('0x3')](){const _0xf478ea=this[_0x2f2f('0x6')],_0x553aa5=_0xf478ea[_0x2f2f('0x20')];_0xf478ea['plugins'][_0x2f2f('0x34')]('TrackChangesEditing')[_0x2f2f('0x24')]['registerDescriptionCallback'](_0x2b87d3=>{if('formatBlock'!=_0x2b87d3['type'])return;const {data:_0x2c8643}=_0x2b87d3;if(!_0x2c8643)return;let _0x5524f4,_0x9f193e;switch(_0x2c8643['commandName']){case _0x2f2f('0x9'):_0x5524f4='*Change\x20to:*\x20%0',_0x9f193e={'type':'format','content':_0x114c30(_0x553aa5,_0x5524f4,_0x114c30(_0x553aa5,this[_0x2f2f('0x17')](_0x2c8643['commandParams'][0x0][_0x2f2f('0x39')])))};break;case'listReversed':_0x5524f4=_0x2c8643[_0x2f2f('0x5')][0x0][_0x2f2f('0x29')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x2f2f('0x1'),_0x9f193e={'type':_0x2f2f('0x36'),'content':_0x114c30(_0x553aa5,_0x5524f4)};break;case _0x2f2f('0x3a'):_0x5524f4=_0x2f2f('0x38'),_0x9f193e={'type':_0x2f2f('0x36'),'content':_0x114c30(_0x553aa5,_0x5524f4,_0x2c8643['commandParams'][0x0]['startIndex'])};}return _0x9f193e;});}[_0x2f2f('0x17')](_0x5ebceb){return _0x2f2f('0x31')+function(_0x1f7fe9){if(ae[_0x2f2f('0xf')](_0x1f7fe9))return'bulleted';if(le['includes'](_0x1f7fe9))return'numbered';return null;}(_0x5ebceb)[_0x2f2f('0x1b')]()+_0x2f2f('0x2c')+_0x5ebceb[_0x2f2f('0x1b')]()[_0x2f2f('0x12')](/-/g,'_');}}const ae=[_0x2f2f('0xc'),'circle','square'],le=[_0x2f2f('0x28'),_0x2f2f('0x2e'),_0x2f2f('0x37'),_0x2f2f('0x1d'),_0x2f2f('0x4'),_0x2f2f('0x16')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee9=['stop','media','dataDowncast','editor','data','has','attribute:url:media','for','_descriptionFactory','plugins','elementToElement','TrackChangesEditing','showSuggestionHighlights','afterInit','enableCommand','MediaEmbedEditing','createEmptyElement','div','registerElementLabel','mediaEmbed','downcastDispatcher','get'];(function(_0x3bdf5f,_0x4ee9a9){const _0x535aad=function(_0x138027){while(--_0x138027){_0x3bdf5f['push'](_0x3bdf5f['shift']());}};_0x535aad(++_0x4ee9a9);}(_0x4ee9,0x73));const _0x535a=function(_0x3bdf5f,_0x4ee9a9){_0x3bdf5f=_0x3bdf5f-0x0;let _0x535aad=_0x4ee9[_0x3bdf5f];return _0x535aad;};import{Plugin as _0x497901}from'ckeditor5/src/core.js';import{getTranslation as _0x1da577}from'../utils/common-translations.js';export default class ft extends _0x497901{[_0x535a('0x8')](){const _0x26d03a=this[_0x535a('0x14')];if(!_0x26d03a[_0x535a('0x4')][_0x535a('0x0')](_0x535a('0xa')))return;const _0x503750=_0x26d03a['plugins'][_0x535a('0x10')](_0x535a('0x6')),_0xc7305f=_0x26d03a['locale'];_0x503750[_0x535a('0x9')](_0x535a('0xe')),_0x503750[_0x535a('0x3')][_0x535a('0xd')]('media',_0x10f890=>_0x1da577(_0xc7305f,'ELEMENT_MEDIA',_0x10f890)),_0x26d03a['conversion'][_0x535a('0x2')](_0x535a('0x13'))[_0x535a('0x5')]({'model':_0x535a('0x12'),'view':(_0x2813a2,{writer:_0x62ad03,options:_0x472b04})=>{if(_0x472b04[_0x535a('0x7')])return _0x62ad03[_0x535a('0xb')](_0x535a('0xc'));},'converterPriority':'high'}),_0x26d03a[_0x535a('0x15')][_0x535a('0xf')]['on'](_0x535a('0x1'),(_0x1da9d0,_0x388a27,_0x2d544e)=>{_0x2d544e['options'][_0x535a('0x7')]&&_0x1da9d0[_0x535a('0x11')]();},{'priority':'high'});}}
23
+ const _0x3b2f=['MediaEmbedEditing','afterInit','_descriptionFactory','conversion','TrackChangesEditing','dataDowncast','options','stop','data','for','enableCommand','showSuggestionHighlights','media','plugins','mediaEmbed','high','editor','ELEMENT_MEDIA','get','locale','createEmptyElement','has'];(function(_0x86a615,_0x3b2f7c){const _0x510da6=function(_0x3a16e5){while(--_0x3a16e5){_0x86a615['push'](_0x86a615['shift']());}};_0x510da6(++_0x3b2f7c);}(_0x3b2f,0x87));const _0x510d=function(_0x86a615,_0x3b2f7c){_0x86a615=_0x86a615-0x0;let _0x510da6=_0x3b2f[_0x86a615];return _0x510da6;};import{Plugin as _0x407e4f}from'ckeditor5/src/core.js';import{getTranslation as _0x329624}from'../utils/common-translations.js';export default class ft extends _0x407e4f{[_0x510d('0x14')](){const _0x2efc13=this[_0x510d('0xd')];if(!_0x2efc13['plugins'][_0x510d('0x12')](_0x510d('0x13')))return;const _0x570af5=_0x2efc13[_0x510d('0xa')][_0x510d('0xf')](_0x510d('0x1')),_0x1256fc=_0x2efc13[_0x510d('0x10')];_0x570af5[_0x510d('0x7')](_0x510d('0xb')),_0x570af5[_0x510d('0x15')]['registerElementLabel']('media',_0x481f3f=>_0x329624(_0x1256fc,_0x510d('0xe'),_0x481f3f)),_0x2efc13[_0x510d('0x0')][_0x510d('0x6')](_0x510d('0x2'))['elementToElement']({'model':_0x510d('0x9'),'view':(_0x359b50,{writer:_0x3a6bfb,options:_0x3d880f})=>{if(_0x3d880f[_0x510d('0x8')])return _0x3a6bfb[_0x510d('0x11')]('div');},'converterPriority':'high'}),_0x2efc13[_0x510d('0x5')]['downcastDispatcher']['on']('attribute:url:media',(_0x1c8434,_0x722e0d,_0x38fd3)=>{_0x38fd3[_0x510d('0x3')][_0x510d('0x8')]&&_0x1c8434[_0x510d('0x4')]();},{'priority':_0x510d('0xc')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4209=['MentionEditing','TrackChangesEditing','get','plugins','afterInit','has','editor','enableCommand'];(function(_0x375ec7,_0x4209e3){const _0x32d5b2=function(_0x308c86){while(--_0x308c86){_0x375ec7['push'](_0x375ec7['shift']());}};_0x32d5b2(++_0x4209e3);}(_0x4209,0x14c));const _0x32d5=function(_0x375ec7,_0x4209e3){_0x375ec7=_0x375ec7-0x0;let _0x32d5b2=_0x4209[_0x375ec7];return _0x32d5b2;};import{Plugin as _0x166c19}from'ckeditor5/src/core.js';export default class gt extends _0x166c19{[_0x32d5('0x0')](){const _0x1b50bf=this[_0x32d5('0x2')];_0x1b50bf[_0x32d5('0x7')][_0x32d5('0x1')](_0x32d5('0x4'))&&_0x1b50bf[_0x32d5('0x7')][_0x32d5('0x6')](_0x32d5('0x5'))[_0x32d5('0x3')]('mention');}}
23
+ const _0x38da=['TrackChangesEditing','has','plugins','enableCommand','editor','MentionEditing'];(function(_0x562855,_0x38da57){const _0x481993=function(_0x1de6f3){while(--_0x1de6f3){_0x562855['push'](_0x562855['shift']());}};_0x481993(++_0x38da57);}(_0x38da,0x1ce));const _0x4819=function(_0x562855,_0x38da57){_0x562855=_0x562855-0x0;let _0x481993=_0x38da[_0x562855];return _0x481993;};import{Plugin as _0x21f666}from'ckeditor5/src/core.js';export default class gt extends _0x21f666{['afterInit'](){const _0x26c8c4=this[_0x4819('0x4')];_0x26c8c4[_0x4819('0x2')][_0x4819('0x1')](_0x4819('0x5'))&&_0x26c8c4[_0x4819('0x2')]['get'](_0x4819('0x0'))[_0x4819('0x3')]('mention');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x457a=['PageBreakEditing','_descriptionFactory','afterInit','TrackChangesEditing','ELEMENT_PAGE_BREAK','get','locale','registerElementLabel','enableCommand','plugins','has','pageBreak'];(function(_0x35b737,_0x374e73){const _0x55115e=function(_0x101d6e){while(--_0x101d6e){_0x35b737['push'](_0x35b737['shift']());}};_0x55115e(++_0x374e73);}(_0x457a,0x145));const _0x374e=function(_0x35b737,_0x374e73){_0x35b737=_0x35b737-0x0;let _0x55115e=_0x457a[_0x35b737];return _0x55115e;};import{Plugin as _0x4e3b93}from'ckeditor5/src/core.js';import{getTranslation as _0x19bdb9}from'../utils/common-translations.js';export default class lt extends _0x4e3b93{[_0x374e('0x1')](){const _0x1f9bbd=this['editor'];if(!_0x1f9bbd[_0x374e('0x8')][_0x374e('0x9')](_0x374e('0xb')))return;_0x1f9bbd[_0x374e('0x8')][_0x374e('0x4')](_0x374e('0x2'))[_0x374e('0x7')](_0x374e('0xa'));const _0x523af5=_0x1f9bbd[_0x374e('0x8')][_0x374e('0x4')]('TrackChangesEditing'),_0x4341ab=_0x1f9bbd[_0x374e('0x5')];_0x523af5[_0x374e('0x0')][_0x374e('0x6')](_0x374e('0xa'),_0x2c46e9=>_0x19bdb9(_0x4341ab,_0x374e('0x3'),_0x2c46e9));}}
23
+ const _0x510e=['locale','ELEMENT_PAGE_BREAK','_descriptionFactory','get','has','registerElementLabel','plugins','TrackChangesEditing','afterInit','PageBreakEditing','editor','pageBreak'];(function(_0x3a5da9,_0x510e64){const _0x14fb88=function(_0x343294){while(--_0x343294){_0x3a5da9['push'](_0x3a5da9['shift']());}};_0x14fb88(++_0x510e64);}(_0x510e,0x159));const _0x14fb=function(_0x3a5da9,_0x510e64){_0x3a5da9=_0x3a5da9-0x0;let _0x14fb88=_0x510e[_0x3a5da9];return _0x14fb88;};import{Plugin as _0x4713e7}from'ckeditor5/src/core.js';import{getTranslation as _0x36d6d1}from'../utils/common-translations.js';export default class lt extends _0x4713e7{[_0x14fb('0xb')](){const _0x77f20e=this[_0x14fb('0x1')];if(!_0x77f20e[_0x14fb('0x9')][_0x14fb('0x7')](_0x14fb('0x0')))return;_0x77f20e[_0x14fb('0x9')][_0x14fb('0x6')](_0x14fb('0xa'))['enableCommand']('pageBreak');const _0x38f9f8=_0x77f20e[_0x14fb('0x9')]['get'](_0x14fb('0xa')),_0x158e30=_0x77f20e[_0x14fb('0x3')];_0x38f9f8[_0x14fb('0x5')][_0x14fb('0x8')](_0x14fb('0x2'),_0x30a824=>_0x36d6d1(_0x158e30,_0x14fb('0x4'),_0x30a824));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x78a4=['TrackChangesEditing','consumable','ck-suggestion-marker--active','format','ELEMENT_PARAGRAPH','isBlock','getFirstRange','formatBlock','has','insert','isTouching','start','options','checkChild','span','markerName','addClass','isLimit','nodeAfter','_registerLegacyDescription','getItemLabel','editing','highest','writer','registerDescriptionCallback','afterInit','consume','markerRange','includes','showSuggestionHighlights','insertParagraph','_descriptionFactory','plugins','Paragraph','bindElementToMarker','insertion','*Insert:*\x20%0','downcastDispatcher','editor','registerElementLabel','enableCommand','model','get','addMarker:suggestion:insertion','paragraph','end','ck-suggestion-marker-split','*Change\x20to:*\x20%0','type','locale','$text','commandName','schema','_enableDefaultAttributesIntegration'];(function(_0x551b4b,_0x78a4d8){const _0x40d764=function(_0xe1a9c1){while(--_0xe1a9c1){_0x551b4b['push'](_0x551b4b['shift']());}};_0x40d764(++_0x78a4d8);}(_0x78a4,0x1c9));const _0x40d7=function(_0x551b4b,_0x78a4d8){_0x551b4b=_0x551b4b-0x0;let _0x40d764=_0x78a4[_0x551b4b];return _0x40d764;};import{Plugin as _0x45f2ce}from'ckeditor5/src/core.js';import{getTranslation as _0x336aec}from'../utils/common-translations.js';export default class mt extends _0x45f2ce{[_0x40d7('0x0')](){const _0x3e2421=this[_0x40d7('0xd')];if(!_0x3e2421[_0x40d7('0x7')][_0x40d7('0x25')](_0x40d7('0x8')))return;const _0x9d324a=_0x3e2421[_0x40d7('0x18')],_0x1b56f5=_0x3e2421[_0x40d7('0x7')][_0x40d7('0x11')]('TrackChangesEditing');_0x1b56f5[_0x40d7('0x6')][_0x40d7('0xe')](_0x40d7('0x13'),_0x18a232=>_0x336aec(_0x9d324a,'ELEMENT_PARAGRAPH',_0x18a232)),_0x1b56f5[_0x40d7('0x1c')](_0x40d7('0x13')),_0x1b56f5[_0x40d7('0xf')](_0x40d7('0x5')),_0x3e2421[_0x40d7('0x32')]['downcastDispatcher']['on'](_0x40d7('0x12'),nr(_0x3e2421),{'priority':_0x40d7('0x33')}),_0x3e2421['data'][_0x40d7('0xc')]['on']('addMarker:suggestion:insertion',(_0xa22992,_0x27eaa1,_0x532db6)=>{_0x532db6[_0x40d7('0x29')][_0x40d7('0x4')]&&nr(_0x3e2421,{'showActiveMarker':!0x1})(_0xa22992,_0x27eaa1,_0x532db6);},{'priority':_0x40d7('0x33')});const _0x59093c=_0x1b56f5[_0x40d7('0x6')];_0x59093c[_0x40d7('0x35')](_0x1aee23=>{if(_0x40d7('0xa')!==_0x1aee23[_0x40d7('0x17')])return;const {start:_0x4283a1,end:_0x37aa6e}=_0x1aee23[_0x40d7('0x23')]();if(!_0x4283a1[_0x40d7('0x27')](_0x37aa6e)||!_0x4283a1['nodeAfter'])return;const _0xc6825b=_0x3e2421[_0x40d7('0x10')][_0x40d7('0x1b')],_0x2a0a5e=_0x4283a1[_0x40d7('0x2f')];return _0xc6825b[_0x40d7('0x22')](_0x2a0a5e)&&!_0xc6825b[_0x40d7('0x2e')](_0x2a0a5e)&&_0xc6825b[_0x40d7('0x2a')](_0x2a0a5e,'$text')?{'type':_0x40d7('0xa'),'content':_0x336aec(_0x9d324a,_0x40d7('0xb'),_0x59093c[_0x40d7('0x31')](_0x2a0a5e,0x1))}:void 0x0;}),this[_0x40d7('0x30')]();}['_registerLegacyDescription'](){const _0x20066a=this[_0x40d7('0xd')],_0x4513b2=_0x20066a['locale'];_0x20066a[_0x40d7('0x7')][_0x40d7('0x11')](_0x40d7('0x1d'))[_0x40d7('0x6')][_0x40d7('0x35')](_0x4b08b2=>{if(_0x40d7('0x24')!=_0x4b08b2[_0x40d7('0x17')])return;const {data:_0x4482fd}=_0x4b08b2;return _0x4482fd&&_0x40d7('0x13')==_0x4482fd[_0x40d7('0x1a')]?{'type':_0x40d7('0x20'),'content':_0x336aec(_0x4513b2,_0x40d7('0x16'),_0x336aec(_0x4513b2,_0x40d7('0x21')))}:void 0x0;});}}function nr(_0x33094b,{showActiveMarker:_0x3034fa=!0x0}={}){return(_0x22ffa7,_0x15e7bd,_0x41735b)=>{const _0x1a2d7d=_0x33094b['plugins']['get']('TrackChangesEditing'),_0x16199b=_0x15e7bd[_0x40d7('0x2')][_0x40d7('0x28')],_0x554d61=_0x15e7bd['markerRange'][_0x40d7('0x14')],_0x476e2c=_0x33094b[_0x40d7('0x10')][_0x40d7('0x1b')];if(!_0x16199b[_0x40d7('0x27')](_0x554d61)||!_0x16199b[_0x40d7('0x2f')])return;const _0x13691b=_0x16199b[_0x40d7('0x2f')];if(_0x476e2c[_0x40d7('0x22')](_0x13691b)&&!_0x476e2c['isLimit'](_0x13691b)&&_0x476e2c[_0x40d7('0x2a')](_0x13691b,_0x40d7('0x19'))){if(!_0x41735b[_0x40d7('0x1e')][_0x40d7('0x1')](_0x15e7bd[_0x40d7('0x2')],_0x22ffa7['name']))return;const _0xf48d66=_0x41735b[_0x40d7('0x34')]['createUIElement'](_0x40d7('0x2b'),{'class':_0x40d7('0x15')}),_0x4ac908=_0x41735b['mapper']['toViewPosition'](_0x554d61);_0x3034fa&&_0x1a2d7d['activeMarkers'][_0x40d7('0x3')](_0x15e7bd[_0x40d7('0x2c')])&&_0x41735b[_0x40d7('0x34')][_0x40d7('0x2d')](_0x40d7('0x1f'),_0xf48d66),_0x41735b[_0x40d7('0x34')][_0x40d7('0x26')](_0x4ac908,_0xf48d66),_0x41735b['mapper'][_0x40d7('0x9')](_0xf48d66,_0x15e7bd[_0x40d7('0x2c')]);}};}
23
+ const _0x1fe2=['downcastDispatcher','consume','type','consumable','_enableDefaultAttributesIntegration','mapper','nodeAfter','has','isLimit','model','locale','options','insertion','Paragraph','ELEMENT_PARAGRAPH','bindElementToMarker','markerName','registerDescriptionCallback','commandName','formatBlock','registerElementLabel','includes','markerRange','paragraph','get','activeMarkers','getItemLabel','afterInit','editor','isBlock','_descriptionFactory','isTouching','span','highest','addMarker:suggestion:insertion','insert','addClass','TrackChangesEditing','writer','enableCommand','format','$text','_registerLegacyDescription','end','editing','showSuggestionHighlights','checkChild','plugins'];(function(_0x4d2274,_0x1fe2ef){const _0x37b4ee=function(_0x1f26ae){while(--_0x1f26ae){_0x4d2274['push'](_0x4d2274['shift']());}};_0x37b4ee(++_0x1fe2ef);}(_0x1fe2,0x1a8));const _0x37b4=function(_0x4d2274,_0x1fe2ef){_0x4d2274=_0x4d2274-0x0;let _0x37b4ee=_0x1fe2[_0x4d2274];return _0x37b4ee;};import{Plugin as _0x598451}from'ckeditor5/src/core.js';import{getTranslation as _0x3c0077}from'../utils/common-translations.js';export default class mt extends _0x598451{[_0x37b4('0x23')](){const _0x31230c=this['editor'];if(!_0x31230c[_0x37b4('0x7')][_0x37b4('0xf')](_0x37b4('0x15')))return;const _0x3ae5b7=_0x31230c[_0x37b4('0x12')],_0x36403b=_0x31230c[_0x37b4('0x7')][_0x37b4('0x20')](_0x37b4('0x2d'));_0x36403b[_0x37b4('0x26')][_0x37b4('0x1c')](_0x37b4('0x1f'),_0x22987f=>_0x3c0077(_0x3ae5b7,_0x37b4('0x16'),_0x22987f)),_0x36403b[_0x37b4('0xc')](_0x37b4('0x1f')),_0x36403b[_0x37b4('0x2f')]('insertParagraph'),_0x31230c[_0x37b4('0x4')]['downcastDispatcher']['on'](_0x37b4('0x2a'),nr(_0x31230c),{'priority':_0x37b4('0x29')}),_0x31230c['data'][_0x37b4('0x8')]['on'](_0x37b4('0x2a'),(_0x5dd86f,_0x1d2e01,_0x354cd0)=>{_0x354cd0[_0x37b4('0x13')][_0x37b4('0x5')]&&nr(_0x31230c,{'showActiveMarker':!0x1})(_0x5dd86f,_0x1d2e01,_0x354cd0);},{'priority':_0x37b4('0x29')});const _0x22d40d=_0x36403b[_0x37b4('0x26')];_0x22d40d[_0x37b4('0x19')](_0x540e7b=>{if(_0x37b4('0x14')!==_0x540e7b[_0x37b4('0xa')])return;const {start:_0x3e1e2e,end:_0x4c9215}=_0x540e7b['getFirstRange']();if(!_0x3e1e2e[_0x37b4('0x27')](_0x4c9215)||!_0x3e1e2e[_0x37b4('0xe')])return;const _0x52dd18=_0x31230c[_0x37b4('0x11')]['schema'],_0x827d01=_0x3e1e2e[_0x37b4('0xe')];return _0x52dd18['isBlock'](_0x827d01)&&!_0x52dd18[_0x37b4('0x10')](_0x827d01)&&_0x52dd18[_0x37b4('0x6')](_0x827d01,_0x37b4('0x1'))?{'type':'insertion','content':_0x3c0077(_0x3ae5b7,'*Insert:*\x20%0',_0x22d40d[_0x37b4('0x22')](_0x827d01,0x1))}:void 0x0;}),this[_0x37b4('0x2')]();}[_0x37b4('0x2')](){const _0x42f869=this[_0x37b4('0x24')],_0x2e0127=_0x42f869['locale'];_0x42f869[_0x37b4('0x7')]['get'](_0x37b4('0x2d'))[_0x37b4('0x26')][_0x37b4('0x19')](_0x119a42=>{if(_0x37b4('0x1b')!=_0x119a42['type'])return;const {data:_0x89b172}=_0x119a42;return _0x89b172&&_0x37b4('0x1f')==_0x89b172[_0x37b4('0x1a')]?{'type':_0x37b4('0x0'),'content':_0x3c0077(_0x2e0127,'*Change\x20to:*\x20%0',_0x3c0077(_0x2e0127,_0x37b4('0x16')))}:void 0x0;});}}function nr(_0x2a307b,{showActiveMarker:_0x55f73f=!0x0}={}){return(_0x1a1ba5,_0x2ac925,_0x413b1d)=>{const _0xe83dca=_0x2a307b[_0x37b4('0x7')][_0x37b4('0x20')](_0x37b4('0x2d')),_0x11dcb7=_0x2ac925[_0x37b4('0x1e')]['start'],_0x336f04=_0x2ac925[_0x37b4('0x1e')][_0x37b4('0x3')],_0x170e16=_0x2a307b[_0x37b4('0x11')]['schema'];if(!_0x11dcb7[_0x37b4('0x27')](_0x336f04)||!_0x11dcb7[_0x37b4('0xe')])return;const _0x1aa2c4=_0x11dcb7[_0x37b4('0xe')];if(_0x170e16[_0x37b4('0x25')](_0x1aa2c4)&&!_0x170e16['isLimit'](_0x1aa2c4)&&_0x170e16[_0x37b4('0x6')](_0x1aa2c4,_0x37b4('0x1'))){if(!_0x413b1d[_0x37b4('0xb')][_0x37b4('0x9')](_0x2ac925[_0x37b4('0x1e')],_0x1a1ba5['name']))return;const _0x43eb7f=_0x413b1d[_0x37b4('0x2e')]['createUIElement'](_0x37b4('0x28'),{'class':'ck-suggestion-marker-split'}),_0x4549f8=_0x413b1d['mapper']['toViewPosition'](_0x336f04);_0x55f73f&&_0xe83dca[_0x37b4('0x21')][_0x37b4('0x1d')](_0x2ac925[_0x37b4('0x18')])&&_0x413b1d[_0x37b4('0x2e')][_0x37b4('0x2c')]('ck-suggestion-marker--active',_0x43eb7f),_0x413b1d[_0x37b4('0x2e')][_0x37b4('0x2b')](_0x4549f8,_0x43eb7f),_0x413b1d[_0x37b4('0xd')][_0x37b4('0x17')](_0x43eb7f,_0x2ac925[_0x37b4('0x18')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x419e=['format','_registerLegacyDescription','_enableDefaultAttributesIntegration','editor','formatInline','commandName','plugins','type','afterInit','formatBlock','removeFormat','has','TrackChangesEditing','RemoveFormatEditing','*Remove\x20all\x20formatting*','registerDescriptionCallback','get','locale'];(function(_0x42aa7b,_0x419ee7){const _0x45a753=function(_0x254c67){while(--_0x254c67){_0x42aa7b['push'](_0x42aa7b['shift']());}};_0x45a753(++_0x419ee7);}(_0x419e,0x17c));const _0x45a7=function(_0x42aa7b,_0x419ee7){_0x42aa7b=_0x42aa7b-0x0;let _0x45a753=_0x419e[_0x42aa7b];return _0x45a753;};import{Plugin as _0x5e3ca0}from'ckeditor5/src/core.js';import{getTranslation as _0x1b61dd}from'../utils/common-translations.js';export default class dt extends _0x5e3ca0{[_0x45a7('0x6')](){const _0x46573d=this[_0x45a7('0x1')];if(!_0x46573d[_0x45a7('0x4')][_0x45a7('0x9')](_0x45a7('0xb')))return;_0x46573d[_0x45a7('0x4')]['get'](_0x45a7('0xa'))[_0x45a7('0x0')](_0x45a7('0x8')),this['_registerLegacyDescription']();}[_0x45a7('0x11')](){const _0x1621c4=this[_0x45a7('0x1')];_0x1621c4[_0x45a7('0x4')][_0x45a7('0xe')](_0x45a7('0xa'))['_descriptionFactory'][_0x45a7('0xd')](_0x9034c=>{if(_0x45a7('0x7')!=_0x9034c[_0x45a7('0x5')]&&_0x45a7('0x2')!=_0x9034c['type'])return;const {data:_0x19a2b8}=_0x9034c;return _0x19a2b8&&_0x45a7('0x8')==_0x19a2b8[_0x45a7('0x3')]?{'type':_0x45a7('0x10'),'content':_0x1b61dd(_0x1621c4[_0x45a7('0xf')],_0x45a7('0xc'))}:void 0x0;});}}
23
+ const _0x4720=['format','plugins','type','_registerLegacyDescription','locale','TrackChangesEditing','afterInit','has','RemoveFormatEditing','_descriptionFactory','_enableDefaultAttributesIntegration','registerDescriptionCallback','get','commandName','formatBlock','removeFormat'];(function(_0x18c902,_0x472024){const _0x4c5f7=function(_0x279f65){while(--_0x279f65){_0x18c902['push'](_0x18c902['shift']());}};_0x4c5f7(++_0x472024);}(_0x4720,0xcc));const _0x4c5f=function(_0x18c902,_0x472024){_0x18c902=_0x18c902-0x0;let _0x4c5f7=_0x4720[_0x18c902];return _0x4c5f7;};import{Plugin as _0x5f3452}from'ckeditor5/src/core.js';import{getTranslation as _0x2b2a00}from'../utils/common-translations.js';export default class dt extends _0x5f3452{[_0x4c5f('0xa')](){const _0x444883=this['editor'];if(!_0x444883[_0x4c5f('0x5')][_0x4c5f('0xb')](_0x4c5f('0xc')))return;_0x444883[_0x4c5f('0x5')][_0x4c5f('0x0')](_0x4c5f('0x9'))[_0x4c5f('0xe')](_0x4c5f('0x3')),this[_0x4c5f('0x7')]();}[_0x4c5f('0x7')](){const _0xbaa796=this['editor'];_0xbaa796['plugins'][_0x4c5f('0x0')](_0x4c5f('0x9'))[_0x4c5f('0xd')][_0x4c5f('0xf')](_0xdfde34=>{if(_0x4c5f('0x2')!=_0xdfde34['type']&&'formatInline'!=_0xdfde34[_0x4c5f('0x6')])return;const {data:_0x1775cb}=_0xdfde34;return _0x1775cb&&_0x4c5f('0x3')==_0x1775cb[_0x4c5f('0x1')]?{'type':_0x4c5f('0x4'),'content':_0x2b2a00(_0xbaa796[_0x4c5f('0x8')],'*Remove\x20all\x20formatting*')}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x120b=['discardAllSuggestions','acceptSuggestion','goToNextRestrictedEditingException','plugins','RestrictedEditingModeEditing','trackChanges','editor','afterInit','has','get','acceptAllSuggestions','enableCommand','acceptSelectedSuggestions'];(function(_0x36e6a9,_0x120bda){const _0x36bd1d=function(_0x31f97c){while(--_0x31f97c){_0x36e6a9['push'](_0x36e6a9['shift']());}};_0x36bd1d(++_0x120bda);}(_0x120b,0x14a));const _0x36bd=function(_0x36e6a9,_0x120bda){_0x36e6a9=_0x36e6a9-0x0;let _0x36bd1d=_0x120b[_0x36e6a9];return _0x36bd1d;};import{Plugin as _0x5b0af1}from'ckeditor5/src/core.js';export default class pt extends _0x5b0af1{[_0x36bd('0x2')](){const _0x361f96=this[_0x36bd('0x1')];if(!_0x361f96['plugins'][_0x36bd('0x3')](_0x36bd('0xc')))return;const _0xce7d57=_0x361f96[_0x36bd('0xb')][_0x36bd('0x4')]('TrackChangesEditing');_0xce7d57[_0x36bd('0x6')]('goToPreviousRestrictedEditingException'),_0xce7d57[_0x36bd('0x6')](_0x36bd('0xa'));const _0x527cdd=_0x361f96[_0x36bd('0xb')][_0x36bd('0x4')]('RestrictedEditingModeEditing');_0x527cdd['enableCommand'](_0x36bd('0x0')),_0x527cdd[_0x36bd('0x6')](_0x36bd('0x9')),_0x527cdd[_0x36bd('0x6')]('discardSuggestion'),_0x527cdd['enableCommand'](_0x36bd('0x5')),_0x527cdd['enableCommand'](_0x36bd('0x8')),_0x527cdd[_0x36bd('0x6')](_0x36bd('0x7')),_0x527cdd[_0x36bd('0x6')]('discardSelectedSuggestions');}}
23
+ const _0x478d=['get','afterInit','discardSuggestion','RestrictedEditingModeEditing','plugins','discardAllSuggestions','trackChanges','TrackChangesEditing','acceptSuggestion','enableCommand','discardSelectedSuggestions','editor'];(function(_0x45036b,_0x478da8){const _0x36c1bf=function(_0x2cedce){while(--_0x2cedce){_0x45036b['push'](_0x45036b['shift']());}};_0x36c1bf(++_0x478da8);}(_0x478d,0x186));const _0x36c1=function(_0x45036b,_0x478da8){_0x45036b=_0x45036b-0x0;let _0x36c1bf=_0x478d[_0x45036b];return _0x36c1bf;};import{Plugin as _0x34b643}from'ckeditor5/src/core.js';export default class pt extends _0x34b643{[_0x36c1('0x7')](){const _0x41bac2=this[_0x36c1('0x5')];if(!_0x41bac2[_0x36c1('0xa')]['has'](_0x36c1('0x9')))return;const _0xdc1679=_0x41bac2[_0x36c1('0xa')][_0x36c1('0x6')](_0x36c1('0x1'));_0xdc1679[_0x36c1('0x3')]('goToPreviousRestrictedEditingException'),_0xdc1679[_0x36c1('0x3')]('goToNextRestrictedEditingException');const _0xba606c=_0x41bac2[_0x36c1('0xa')][_0x36c1('0x6')](_0x36c1('0x9'));_0xba606c['enableCommand'](_0x36c1('0x0')),_0xba606c[_0x36c1('0x3')](_0x36c1('0x2')),_0xba606c[_0x36c1('0x3')](_0x36c1('0x8')),_0xba606c[_0x36c1('0x3')]('acceptAllSuggestions'),_0xba606c[_0x36c1('0x3')](_0x36c1('0xb')),_0xba606c[_0x36c1('0x3')]('acceptSelectedSuggestions'),_0xba606c[_0x36c1('0x3')](_0x36c1('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3258=['span','bindElementToMarker','locale','addMarker:suggestion:insertion','deletion','softBreak','editing','test','addClass','name','createUIElement','shiftEnter','ck-suggestion-marker-','addMarker:suggestion:deletion','split','plugins','element','mapper','TrackChangesEditing','includes','downcastDispatcher','activeMarkers','high','getItems','consumable','init','markerName','showSuggestionHighlights','get','merge','requires','writer','_descriptionFactory','insert','enableCommand','createPositionBefore'];(function(_0x1fb8a1,_0x3258a2){const _0x50798e=function(_0x23cea5){while(--_0x23cea5){_0x1fb8a1['push'](_0x1fb8a1['shift']());}};_0x50798e(++_0x3258a2);}(_0x3258,0xe9));const _0x5079=function(_0x1fb8a1,_0x3258a2){_0x1fb8a1=_0x1fb8a1-0x0;let _0x50798e=_0x3258[_0x1fb8a1];return _0x50798e;};import{Plugin as _0x9f8e39}from'ckeditor5/src/core.js';import{ShiftEnter as _0x1bc7f3}from'ckeditor5/src/enter.js';import{getTranslation as _0x31d569}from'../utils/common-translations.js';export default class kt extends _0x9f8e39{static get[_0x5079('0xd')](){return[_0x1bc7f3];}[_0x5079('0x8')](){const _0x558958=this['editor'],_0x38f601=_0x558958[_0x5079('0x22')][_0x5079('0xb')](_0x5079('0x1'));_0x38f601[_0x5079('0x11')](_0x5079('0x1e')),_0x558958[_0x5079('0x19')]['downcastDispatcher']['on'](_0x5079('0x16'),re(_0x558958),{'priority':_0x5079('0x5')}),_0x558958[_0x5079('0x19')][_0x5079('0x3')]['on'](_0x5079('0x20'),re(_0x558958),{'priority':_0x5079('0x5')}),_0x558958['data'][_0x5079('0x3')]['on']('addMarker:suggestion',(_0x49bd34,_0x186157,_0x513f06)=>{_0x513f06['options'][_0x5079('0xa')]&&re(_0x558958,{'showActiveMarker':!0x1})(_0x49bd34,_0x186157,_0x513f06);}),_0x38f601[_0x5079('0xf')]['registerElementLabel']('softBreak',_0xfadc79=>_0x31d569(_0x558958[_0x5079('0x15')],'ELEMENT_LINE_BREAK',_0xfadc79));}}function re(_0x5b33d3,{showActiveMarker:_0x4754cd=!0x0}={}){return(_0x5595b7,_0x233af8,_0x27fa68)=>{const _0x8df44d=_0x5b33d3['plugins'][_0x5079('0xb')](_0x5079('0x1'));if(!_0x27fa68[_0x5079('0x7')][_0x5079('0x1a')](_0x233af8['markerRange'],_0x5595b7[_0x5079('0x1c')]))return;const _0x265568=_0x5b33d3['model'];for(const _0x31a196 of _0x233af8['markerRange'][_0x5079('0x6')]()){if(!_0x31a196['is'](_0x5079('0x23'),_0x5079('0x18')))continue;const _0x33fb53=_0x5079('0x17')==_0x233af8[_0x5079('0x9')][_0x5079('0x21')](':')[0x1]?_0x5079('0xc'):_0x5079('0x21'),_0x5885d9=_0x27fa68[_0x5079('0xe')][_0x5079('0x1d')](_0x5079('0x13'),{'class':_0x5079('0x1f')+_0x33fb53}),_0x4cb5e9=_0x27fa68[_0x5079('0x0')]['toViewPosition'](_0x265568[_0x5079('0x12')](_0x31a196));_0x4754cd&&_0x8df44d[_0x5079('0x4')][_0x5079('0x2')](_0x233af8[_0x5079('0x9')])&&_0x27fa68[_0x5079('0xe')][_0x5079('0x1b')]('ck-suggestion-marker--active',_0x5885d9),_0x27fa68[_0x5079('0xe')][_0x5079('0x10')](_0x4cb5e9,_0x5885d9),_0x27fa68['mapper'][_0x5079('0x14')](_0x5885d9,_0x233af8[_0x5079('0x9')]);}};}
23
+ const _0xb550=['insert','addMarker:suggestion','ck-suggestion-marker--active','includes','split','markerName','consumable','high','markerRange','writer','editor','shiftEnter','data','bindElementToMarker','editing','ELEMENT_LINE_BREAK','options','getItems','createPositionBefore','activeMarkers','ck-suggestion-marker-','toViewPosition','softBreak','locale','element','span','addMarker:suggestion:deletion','enableCommand','createUIElement','merge','mapper','test','init','plugins','downcastDispatcher','registerElementLabel','_descriptionFactory','get'];(function(_0x12bba6,_0xb550f6){const _0x147ce7=function(_0x4263a9){while(--_0x4263a9){_0x12bba6['push'](_0x12bba6['shift']());}};_0x147ce7(++_0xb550f6);}(_0xb550,0xb2));const _0x147c=function(_0x12bba6,_0xb550f6){_0x12bba6=_0x12bba6-0x0;let _0x147ce7=_0xb550[_0x12bba6];return _0x147ce7;};import{Plugin as _0xf03b3e}from'ckeditor5/src/core.js';import{ShiftEnter as _0xcf96ff}from'ckeditor5/src/enter.js';import{getTranslation as _0x197fd5}from'../utils/common-translations.js';export default class kt extends _0xf03b3e{static get['requires'](){return[_0xcf96ff];}[_0x147c('0x6')](){const _0x987ebd=this[_0x147c('0x16')],_0x424226=_0x987ebd[_0x147c('0x7')][_0x147c('0xb')]('TrackChangesEditing');_0x424226[_0x147c('0x1')](_0x147c('0x17')),_0x987ebd[_0x147c('0x1a')][_0x147c('0x8')]['on']('addMarker:suggestion:insertion',re(_0x987ebd),{'priority':_0x147c('0x13')}),_0x987ebd['editing']['downcastDispatcher']['on'](_0x147c('0x0'),re(_0x987ebd),{'priority':_0x147c('0x13')}),_0x987ebd[_0x147c('0x18')][_0x147c('0x8')]['on'](_0x147c('0xd'),(_0x32381c,_0x24d6f5,_0x1485ed)=>{_0x1485ed[_0x147c('0x1c')]['showSuggestionHighlights']&&re(_0x987ebd,{'showActiveMarker':!0x1})(_0x32381c,_0x24d6f5,_0x1485ed);}),_0x424226[_0x147c('0xa')][_0x147c('0x9')](_0x147c('0x22'),_0x18874b=>_0x197fd5(_0x987ebd[_0x147c('0x23')],_0x147c('0x1b'),_0x18874b));}}function re(_0x3d5d5f,{showActiveMarker:_0x3492f3=!0x0}={}){return(_0x317f71,_0x1e81e2,_0x5f1f71)=>{const _0x4fb6a9=_0x3d5d5f[_0x147c('0x7')]['get']('TrackChangesEditing');if(!_0x5f1f71[_0x147c('0x12')][_0x147c('0x5')](_0x1e81e2['markerRange'],_0x317f71['name']))return;const _0x216857=_0x3d5d5f['model'];for(const _0x3603a7 of _0x1e81e2[_0x147c('0x14')][_0x147c('0x1d')]()){if(!_0x3603a7['is'](_0x147c('0x24'),_0x147c('0x22')))continue;const _0x370eff='deletion'==_0x1e81e2['markerName'][_0x147c('0x10')](':')[0x1]?_0x147c('0x3'):'split',_0x4956d0=_0x5f1f71[_0x147c('0x15')][_0x147c('0x2')](_0x147c('0x25'),{'class':_0x147c('0x20')+_0x370eff}),_0x2b82fd=_0x5f1f71[_0x147c('0x4')][_0x147c('0x21')](_0x216857[_0x147c('0x1e')](_0x3603a7));_0x3492f3&&_0x4fb6a9[_0x147c('0x1f')][_0x147c('0xf')](_0x1e81e2[_0x147c('0x11')])&&_0x5f1f71[_0x147c('0x15')]['addClass'](_0x147c('0xe'),_0x4956d0),_0x5f1f71[_0x147c('0x15')][_0x147c('0xc')](_0x2b82fd,_0x4956d0),_0x5f1f71[_0x147c('0x4')][_0x147c('0x19')](_0x4956d0,_0x1e81e2['markerName']);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b9f=['restrictedEditingException','getRanges','format','locale','plugins','type','FORMAT_RESTRICTED_DISABLED','markInlineFormat','FORMAT_RESTRICTED_ENABLED','afterInit','StandardEditingModeEditing','enableCommand','forceValue','change','get','_descriptionFactory','document','commandParams','registerDescriptionCallback'];(function(_0xc1692b,_0x3b9f43){const _0x3494f0=function(_0x251efe){while(--_0x251efe){_0xc1692b['push'](_0xc1692b['shift']());}};_0x3494f0(++_0x3b9f43);}(_0x3b9f,0x96));const _0x3494=function(_0xc1692b,_0x3b9f43){_0xc1692b=_0xc1692b-0x0;let _0x3494f0=_0x3b9f[_0xc1692b];return _0x3494f0;};import{Plugin as _0x3c05c2}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x30adac}from'./utils.js';import{getTranslation as _0x17862d}from'../utils/common-translations.js';export default class bt extends _0x3c05c2{[_0x3494('0xb')](){const _0x126131=this['editor'],_0x5b4bb6=_0x126131['model'],_0x267660=_0x126131[_0x3494('0x5')];if(!_0x126131[_0x3494('0x6')]['has'](_0x3494('0xc')))return;const _0x56c987=_0x126131[_0x3494('0x6')]['get']('TrackChangesEditing'),_0x3a71e6=_0x3494('0x2'),_0x22c778=_0x126131['commands'][_0x3494('0x10')](_0x3a71e6);_0x56c987[_0x3494('0xd')](_0x3a71e6,(_0x1d6cbc,_0x182092={})=>{const _0x4403dc=_0x5b4bb6[_0x3494('0x12')]['selection'];if(_0x4403dc['isCollapsed'])return void _0x1d6cbc(_0x182092);const _0x48ec37=void 0x0!==_0x182092['forceValue']?_0x182092[_0x3494('0xe')]:!_0x22c778['value'];_0x5b4bb6[_0x3494('0xf')](()=>{const _0x34d57a=Array['from'](_0x4403dc[_0x3494('0x3')]());for(const _0x11b15b of _0x34d57a){const _0x2568bb=_0x48ec37?[_0x11b15b]:_0x30adac(_0x3a71e6,_0x11b15b,_0x5b4bb6);for(const _0x257ddb of _0x2568bb)_0x56c987[_0x3494('0x9')](_0x257ddb,{'commandName':_0x3a71e6,'commandParams':[{'forceValue':_0x48ec37}]});}});}),_0x56c987[_0x3494('0x11')][_0x3494('0x1')](_0x469015=>{if('formatBlock'!=_0x469015[_0x3494('0x7')]&&'formatInline'!=_0x469015[_0x3494('0x7')])return;const {data:_0x3c6d9b}=_0x469015;return _0x3c6d9b&&_0x3c6d9b['commandName']==_0x3a71e6?_0x3c6d9b[_0x3494('0x0')][0x0]['forceValue']?{'type':_0x3494('0x4'),'content':_0x17862d(_0x267660,_0x3494('0xa'))}:{'type':_0x3494('0x4'),'content':_0x17862d(_0x267660,_0x3494('0x8'))}:void 0x0;});}}
23
+ const _0x54e9=['get','FORMAT_RESTRICTED_ENABLED','_descriptionFactory','change','restrictedEditingException','formatBlock','isCollapsed','markInlineFormat','StandardEditingModeEditing','TrackChangesEditing','has','selection','enableCommand','FORMAT_RESTRICTED_DISABLED','plugins','from','forceValue','commandName','commandParams','formatInline','registerDescriptionCallback','editor','model','getRanges','commands'];(function(_0xf3c29d,_0x54e98b){const _0x2010ff=function(_0x847a2c){while(--_0x847a2c){_0xf3c29d['push'](_0xf3c29d['shift']());}};_0x2010ff(++_0x54e98b);}(_0x54e9,0xa4));const _0x2010=function(_0xf3c29d,_0x54e98b){_0xf3c29d=_0xf3c29d-0x0;let _0x2010ff=_0x54e9[_0xf3c29d];return _0x2010ff;};import{Plugin as _0x285b23}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0xed642}from'./utils.js';import{getTranslation as _0x589f7b}from'../utils/common-translations.js';export default class bt extends _0x285b23{['afterInit'](){const _0x47718d=this[_0x2010('0x7')],_0x24e71c=_0x47718d[_0x2010('0x8')],_0x404cfd=_0x47718d['locale'];if(!_0x47718d['plugins'][_0x2010('0x15')](_0x2010('0x13')))return;const _0x392b6f=_0x47718d[_0x2010('0x0')][_0x2010('0xb')](_0x2010('0x14')),_0xbb8c8a=_0x2010('0xf'),_0x5814c6=_0x47718d[_0x2010('0xa')][_0x2010('0xb')](_0xbb8c8a);_0x392b6f[_0x2010('0x17')](_0xbb8c8a,(_0x12bcaf,_0x45ac69={})=>{const _0x2f9349=_0x24e71c['document'][_0x2010('0x16')];if(_0x2f9349[_0x2010('0x11')])return void _0x12bcaf(_0x45ac69);const _0x29a514=void 0x0!==_0x45ac69[_0x2010('0x2')]?_0x45ac69[_0x2010('0x2')]:!_0x5814c6['value'];_0x24e71c[_0x2010('0xe')](()=>{const _0x331394=Array[_0x2010('0x1')](_0x2f9349[_0x2010('0x9')]());for(const _0x2a3d3c of _0x331394){const _0x2470c6=_0x29a514?[_0x2a3d3c]:_0xed642(_0xbb8c8a,_0x2a3d3c,_0x24e71c);for(const _0x3b53c7 of _0x2470c6)_0x392b6f[_0x2010('0x12')](_0x3b53c7,{'commandName':_0xbb8c8a,'commandParams':[{'forceValue':_0x29a514}]});}});}),_0x392b6f[_0x2010('0xd')][_0x2010('0x6')](_0x22fbff=>{if(_0x2010('0x10')!=_0x22fbff['type']&&_0x2010('0x5')!=_0x22fbff['type'])return;const {data:_0x5c931e}=_0x22fbff;return _0x5c931e&&_0x5c931e[_0x2010('0x3')]==_0xbb8c8a?_0x5c931e[_0x2010('0x4')][0x0][_0x2010('0x2')]?{'type':'format','content':_0x589f7b(_0x404cfd,_0x2010('0xc'))}:{'type':'format','content':_0x589f7b(_0x404cfd,_0x2010('0x18'))}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d0a=['afterInit','_registerLegacyDescription','forceValue','has','GeneralHtmlSupport','getGhsAttributeNameForElement','block','get','locale','plugins','definitions','inline','commandName','_descriptionFactory','toLowerCase','DataSchema','*Set\x20format:*\x20%0','registerAttributeLabel','normalizeConfig','*Remove\x20format:*\x20%0','add','element','TrackChangesEditing','FORMAT_STYLE','StyleUtils','registerDescriptionCallback','type','Style','style','format','_registerInlineAttribute'];(function(_0x2f78cc,_0x3d0acb){const _0x570440=function(_0x1a6948){while(--_0x1a6948){_0x2f78cc['push'](_0x2f78cc['shift']());}};_0x570440(++_0x3d0acb);}(_0x3d0a,0x12b));const _0x5704=function(_0x2f78cc,_0x3d0acb){_0x2f78cc=_0x2f78cc-0x0;let _0x570440=_0x3d0a[_0x2f78cc];return _0x570440;};import{Plugin as _0x541b83}from'ckeditor5/src/core.js';import{getTranslation as _0x4af8af}from'../utils/common-translations.js';export default class wt extends _0x541b83{[_0x5704('0xb')](){const _0x310e00=this['editor'];if(!_0x310e00['plugins'][_0x5704('0xe')](_0x5704('0x7'))||!_0x310e00[_0x5704('0x14')][_0x5704('0xe')](_0x5704('0x1a')))return;const _0x3beb20=_0x310e00[_0x5704('0x14')][_0x5704('0x12')](_0x5704('0x2')),_0x2b1f09=_0x310e00[_0x5704('0x13')],_0xcef210=_0x310e00['config']['get'](_0x5704('0x8')),_0x2d8016=_0x310e00['plugins'][_0x5704('0x12')](_0x5704('0xf')),_0xb39548=_0x310e00[_0x5704('0x14')]['get'](_0x5704('0x4'))[_0x5704('0x1d')](_0x310e00[_0x5704('0x14')][_0x5704('0x12')]('DataSchema'),_0xcef210[_0x5704('0x15')]);_0x3beb20['_enableDefaultAttributesIntegration'](_0x5704('0x8'));const _0x592169=new Set();for(const _0x1564f0 of _0xb39548[_0x5704('0x11')]){const _0x1610d6=_0x2d8016[_0x5704('0x10')](_0x1564f0['element']);_0x592169['add'](_0x1610d6);}const _0x53135f=new Set();for(const _0x4aebd8 of _0xb39548[_0x5704('0x16')]){const _0x59ade5=_0x2d8016[_0x5704('0x10')](_0x4aebd8[_0x5704('0x1')]);_0x53135f['add'](_0x59ade5);for(const _0x2e436b of _0x4aebd8['ghsAttributes'])_0x53135f[_0x5704('0x0')](_0x2e436b);}for(const _0x3e217d of _0x592169)_0x3beb20['_registerBlockAttribute'](_0x3e217d),_0x3beb20[_0x5704('0x18')][_0x5704('0x1c')](_0x3e217d,_0x4af8af(_0x2b1f09,_0x5704('0x3')));for(const _0x2afe5 of _0x53135f)_0x3beb20[_0x5704('0xa')](_0x2afe5),_0x3beb20[_0x5704('0x18')][_0x5704('0x1c')](_0x2afe5,_0x4af8af(_0x2b1f09,_0x5704('0x3')));this[_0x5704('0xc')]();}[_0x5704('0xc')](){const _0x141c34=this['editor'],_0x4b1171=_0x141c34['locale'];_0x141c34[_0x5704('0x14')][_0x5704('0x12')](_0x5704('0x2'))[_0x5704('0x18')][_0x5704('0x5')](_0x3bb478=>{if('formatBlock'!=_0x3bb478[_0x5704('0x6')]&&'formatInline'!=_0x3bb478[_0x5704('0x6')])return;const {data:_0x3cd52c}=_0x3bb478;return _0x3cd52c&&_0x5704('0x8')===_0x3cd52c[_0x5704('0x17')]?_0x3cd52c['commandParams'][0x0][_0x5704('0xd')]?{'type':_0x5704('0x9'),'content':_0x4af8af(_0x4b1171,_0x5704('0x1b'),_0x3cd52c['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x4af8af(_0x4b1171,_0x5704('0x1e'),_0x3cd52c['commandParams'][0x0]['styleName'][_0x5704('0x19')]())}:void 0x0;});}}
23
+ const _0xba7c=['has','_registerInlineAttribute','plugins','definitions','Style','type','commandParams','registerDescriptionCallback','StyleUtils','get','ghsAttributes','_registerBlockAttribute','_registerLegacyDescription','DataSchema','locale','_descriptionFactory','afterInit','forceValue','formatInline','format','config','element','style','editor','styleName','add','registerAttributeLabel','FORMAT_STYLE','GeneralHtmlSupport','toLowerCase'];(function(_0x5c92af,_0xba7c1b){const _0x27cf91=function(_0x3d485f){while(--_0x3d485f){_0x5c92af['push'](_0x5c92af['shift']());}};_0x27cf91(++_0xba7c1b);}(_0xba7c,0x1e9));const _0x27cf=function(_0x5c92af,_0xba7c1b){_0x5c92af=_0x5c92af-0x0;let _0x27cf91=_0xba7c[_0x5c92af];return _0x27cf91;};import{Plugin as _0x290c9c}from'ckeditor5/src/core.js';import{getTranslation as _0x398fed}from'../utils/common-translations.js';export default class wt extends _0x290c9c{[_0x27cf('0x7')](){const _0x2dfc3d=this[_0x27cf('0xe')];if(!_0x2dfc3d['plugins']['has'](_0x27cf('0x19'))||!_0x2dfc3d[_0x27cf('0x17')][_0x27cf('0x15')](_0x27cf('0x4')))return;const _0x5f0393=_0x2dfc3d[_0x27cf('0x17')][_0x27cf('0x0')]('TrackChangesEditing'),_0x1ef431=_0x2dfc3d[_0x27cf('0x5')],_0x2c5176=_0x2dfc3d[_0x27cf('0xb')][_0x27cf('0x0')](_0x27cf('0xd')),_0x79b44e=_0x2dfc3d[_0x27cf('0x17')][_0x27cf('0x0')](_0x27cf('0x13')),_0x5b1674=_0x2dfc3d['plugins'][_0x27cf('0x0')](_0x27cf('0x1d'))['normalizeConfig'](_0x2dfc3d[_0x27cf('0x17')]['get'](_0x27cf('0x4')),_0x2c5176[_0x27cf('0x18')]);_0x5f0393['_enableDefaultAttributesIntegration']('style');const _0x5d50ea=new Set();for(const _0x248f3f of _0x5b1674['block']){const _0x4341b5=_0x79b44e['getGhsAttributeNameForElement'](_0x248f3f['element']);_0x5d50ea[_0x27cf('0x10')](_0x4341b5);}const _0x1e24dd=new Set();for(const _0x2e8095 of _0x5b1674['inline']){const _0x54c020=_0x79b44e['getGhsAttributeNameForElement'](_0x2e8095[_0x27cf('0xc')]);_0x1e24dd[_0x27cf('0x10')](_0x54c020);for(const _0x37cf0a of _0x2e8095[_0x27cf('0x1')])_0x1e24dd[_0x27cf('0x10')](_0x37cf0a);}for(const _0x2deded of _0x5d50ea)_0x5f0393[_0x27cf('0x2')](_0x2deded),_0x5f0393[_0x27cf('0x6')]['registerAttributeLabel'](_0x2deded,_0x398fed(_0x1ef431,_0x27cf('0x12')));for(const _0x2c46f8 of _0x1e24dd)_0x5f0393[_0x27cf('0x16')](_0x2c46f8),_0x5f0393[_0x27cf('0x6')][_0x27cf('0x11')](_0x2c46f8,_0x398fed(_0x1ef431,'FORMAT_STYLE'));this[_0x27cf('0x3')]();}[_0x27cf('0x3')](){const _0x45bc13=this[_0x27cf('0xe')],_0x5afcf6=_0x45bc13['locale'];_0x45bc13[_0x27cf('0x17')]['get']('TrackChangesEditing')[_0x27cf('0x6')][_0x27cf('0x1c')](_0xddad66=>{if('formatBlock'!=_0xddad66[_0x27cf('0x1a')]&&_0x27cf('0x9')!=_0xddad66[_0x27cf('0x1a')])return;const {data:_0x47b9a0}=_0xddad66;return _0x47b9a0&&_0x27cf('0xd')===_0x47b9a0['commandName']?_0x47b9a0[_0x27cf('0x1b')][0x0][_0x27cf('0x8')]?{'type':_0x27cf('0xa'),'content':_0x398fed(_0x5afcf6,'*Set\x20format:*\x20%0',_0x47b9a0[_0x27cf('0x1b')][0x0][_0x27cf('0xf')][_0x27cf('0x14')]())}:{'type':_0x27cf('0xa'),'content':_0x398fed(_0x5afcf6,'*Remove\x20format:*\x20%0',_0x47b9a0['commandParams'][0x0][_0x27cf('0xf')][_0x27cf('0x14')]())}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30c0=['element','table','classes','*Insert:*\x20%0','ELEMENT_TABLE_WITH_TEXT','change:data','_acceptFormatSuggestionCallbackFactory','insertTableRowAbove','root','addRange','getChangedMarkers','findAncestor','deletion','getFirstRange','_tablePostFixingSubtypes','afterInit','subType','tableColumn','addClass','execute','substr','push','filter','_descriptionFactory','position','startsWith','isIntersectingWithRange','end','insertTableColumnRight','getItems','colspan','add','isArray','tablePaste','rowspan','map','removeClass','insertion','item','TableEditing','_setupColumnsRowsFixing','low','highest','cell','markMultiRangeDeletion','toLowerCase','selection','hasAttribute','differ','selectTableRow','TableUtils','writer','createTableWalker','MIN_SAFE_INTEGER','refresh','_tableSuggestions','get','markMultiRangeInsertion','addMarker:suggestion','getSuggestion','_getCoordsForCells','getAttribute','options','max','discard','join','registerDescriptionCallback','tableRow','isInContent','$graveyard','from','document','fromRange','forceValue','insert','minColumn','maxRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','some','ELEMENT_TABLE_COLUMN','change','downcastDispatcher','getRanges','nodeAfter','enableCommand','accept','editor','start','createRangeIn','isEqual','data','mapper','last','insertTableRowBelow','removeTableColumn','type','createRangeOn','getRowIndexes','getCellLocation','_getSuggestionCoords','maxColumn','oldRange','has','registerCustomCallback','minRow','length','tableCell','*Remove:*\x20%0','span','rootName','first','locale','getContainedElement','createPositionAt','removeTableRow','$textProxy','model','ELEMENT_TABLE_ROW','detach','MAX_SAFE_INTEGER','enqueueChange','above','min','insertTableColumnLeft','ELEMENT_TABLE_ROW_WITH_TEXT','getChildren','insertTable','values','batch','suggestion','getSelectionAffectedTableCells','plugins','getColumnIndexes','nodeBefore','commands','_suggestionFactory','showSuggestionHighlights','setSelection','TrackChangesEditing','name'];(function(_0x59ea1e,_0x30c037){const _0x40e620=function(_0x2b1dd2){while(--_0x2b1dd2){_0x59ea1e['push'](_0x59ea1e['shift']());}};_0x40e620(++_0x30c037);}(_0x30c0,0x1de));const _0x40e6=function(_0x59ea1e,_0x30c037){_0x59ea1e=_0x59ea1e-0x0;let _0x40e620=_0x30c0[_0x59ea1e];return _0x40e620;};import{Plugin as _0x1d0d26}from'ckeditor5/src/core.js';import{LiveRange as _0x1916cd}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x3cb2cc}from'ckeditor5/src/widget.js';import{getTranslation as _0x2f081c}from'../utils/common-translations.js';export default class yt extends _0x1d0d26{constructor(_0xb2cc52){super(_0xb2cc52),this[_0x40e6('0x60')]=[_0x40e6('0x9'),_0x40e6('0x63')],this[_0x40e6('0x89')]=new Set();}[_0x40e6('0x61')](){const _0x4bd9d5=this[_0x40e6('0x1c')],_0x4325be=_0x4bd9d5[_0x40e6('0x3a')][_0x40e6('0xd')]['selection'];if(!_0x4bd9d5[_0x40e6('0x49')][_0x40e6('0x2c')](_0x40e6('0x79')))return;const _0x3d0dd1=_0x4bd9d5[_0x40e6('0x35')],_0x3c2b3d=_0x4bd9d5[_0x40e6('0x49')][_0x40e6('0x8a')](_0x40e6('0x50')),_0x595b0d=_0x4bd9d5['plugins']['get']('TableUtils');_0x3c2b3d[_0x40e6('0x69')]['registerElementLabel'](_0x40e6('0x53'),_0x49293f=>_0x2f081c(_0x3d0dd1,'ELEMENT_TABLE',_0x49293f)),this['_setupColumnsRowsFixing'](),_0x3c2b3d[_0x40e6('0x1a')](_0x40e6('0x44')),_0x3c2b3d[_0x40e6('0x1a')](_0x40e6('0x83')),_0x3c2b3d[_0x40e6('0x1a')]('selectTableColumn');for(const _0x2e1782 of[_0x40e6('0x59'),_0x40e6('0x23')]){const _0x35f072=_0x4bd9d5[_0x40e6('0x4c')][_0x40e6('0x8a')](_0x2e1782);_0x3c2b3d[_0x40e6('0x1a')](_0x2e1782,_0x4b2811=>{_0x4bd9d5[_0x40e6('0x3a')][_0x40e6('0x16')](_0x54cbaa=>{_0x4b2811();const _0x491bb0=_0x40e6('0x3f')===_0x35f072['order'],_0x19be6e=_0x595b0d[_0x40e6('0x48')](_0x4325be),_0x3e654a=_0x595b0d[_0x40e6('0x27')](_0x19be6e),_0x20ec8f=_0x491bb0?_0x3e654a['first']-0x1:_0x3e654a[_0x40e6('0x22')]+0x1,_0x3276a4=_0x19be6e[0x0][_0x40e6('0x5d')](_0x40e6('0x53')),_0xeb343c=_0x595b0d['createTableWalker'](_0x3276a4,{'startRow':_0x20ec8f,'endRow':_0x20ec8f}),_0xce0b7c=Array[_0x40e6('0xc')](_0xeb343c)[_0x40e6('0x75')](_0x4f030b=>_0x54cbaa[_0x40e6('0x26')](_0x4f030b[_0x40e6('0x7d')]));_0x3c2b3d[_0x40e6('0x8b')](_0xce0b7c,_0x40e6('0x9'));});});}for(const _0x2760ae of[_0x40e6('0x41'),_0x40e6('0x6e')]){const _0x5b7eae=_0x4bd9d5['commands'][_0x40e6('0x8a')](_0x2760ae);_0x3c2b3d['enableCommand'](_0x2760ae,_0x49e08d=>{_0x4bd9d5['model']['change'](_0x5bf387=>{_0x49e08d();const _0x335641='left'===_0x5b7eae['order'],_0x170994=_0x595b0d['getSelectionAffectedTableCells'](_0x4325be),_0x49ecbd=_0x595b0d[_0x40e6('0x4a')](_0x170994),_0x18748a=_0x335641?_0x49ecbd[_0x40e6('0x34')]-0x1:_0x49ecbd[_0x40e6('0x22')]+0x1,_0x1f1d0b=_0x170994[0x0][_0x40e6('0x5d')](_0x40e6('0x53')),_0x271d71=_0x595b0d[_0x40e6('0x86')](_0x1f1d0b,{'startRow':0x0,'column':_0x18748a,'includeAllSlots':!0x1}),_0x17d10d=Array[_0x40e6('0xc')](_0x271d71)[_0x40e6('0x75')](_0x1ec6bc=>_0x5bf387[_0x40e6('0x26')](_0x1ec6bc[_0x40e6('0x7d')]));_0x3c2b3d['markMultiRangeInsertion'](_0x17d10d,'tableColumn');});});}for(const _0x32daba of[_0x40e6('0x38'),_0x40e6('0x24')]){const _0x4622ef=_0x32daba[_0x40e6('0x66')](0xb),_0x4a6a41=_0x4622ef[_0x40e6('0x7f')](),_0x4d3cd9=_0x4a6a41[_0x40e6('0x66')](0x0,0x3)+_0x40e6('0x32'),_0x592800='table'+_0x4622ef,_0x468fad=_0x40e6('0x40')+_0x4622ef,_0x46ecc1='max'+_0x4622ef;_0x3c2b3d[_0x40e6('0x1a')](_0x32daba,()=>{_0x4bd9d5[_0x40e6('0x3a')]['change'](_0x5092b5=>{const _0x34e46e=_0x595b0d[_0x40e6('0x48')](_0x4325be),_0xea6aed=_0x34e46e[0x0]['findAncestor'](_0x40e6('0x53'));let _0x4263be;if(_0x40e6('0x38')==_0x32daba){const _0x28ac1e=_0x595b0d[_0x40e6('0x27')](_0x34e46e);_0x4263be={'startRow':_0x28ac1e[_0x40e6('0x34')],'endRow':_0x28ac1e[_0x40e6('0x22')],'includeAllSlots':!0x0};}else{const _0x1df974=_0x595b0d[_0x40e6('0x4a')](_0x34e46e);_0x4263be={'startColumn':_0x1df974[_0x40e6('0x34')],'endColumn':_0x1df974['last'],'includeAllSlots':!0x0};}const _0x43c42b=_0x595b0d['createTableWalker'](_0xea6aed,_0x4263be),_0x413db5=Array[_0x40e6('0xc')](_0x43c42b)['map'](({cell:_0x166395})=>_0x166395),_0x5859ea=ue(_0x413db5[_0x40e6('0x68')](_0x1b5e3e=>_0x1b5e3e['hasAttribute'](_0x4d3cd9))),_0x93bf5f=ue(_0x413db5[_0x40e6('0x68')](_0x12e226=>!_0x12e226[_0x40e6('0x81')](_0x4d3cd9)))['map'](_0x152ed1=>_0x5092b5[_0x40e6('0x26')](_0x152ed1)),_0x2cdadf=_0x3c2b3d[_0x40e6('0x7e')](_0x93bf5f,_0x592800);if(_0x2cdadf&&('tableRow'==_0x2cdadf[_0x40e6('0x62')]||'tableColumn'==_0x2cdadf['subType'])){const _0x136ca2=this[_0x40e6('0x29')](_0x2cdadf);for(const _0x536165 of _0x5859ea){const _0x42e1f1=_0x5092b5[_0x40e6('0x26')](_0x536165),_0x5004b5=_0x595b0d[_0x40e6('0x28')](_0x536165),_0x5b17b6=_0x536165['getAttribute'](_0x4d3cd9)-0x1,_0x26d508=_0x136ca2[_0x468fad],_0x4b14fa=_0x136ca2[_0x46ecc1];_0x26d508<=_0x5004b5[_0x4a6a41]&&_0x5004b5[_0x4a6a41]+_0x5b17b6<=_0x4b14fa&&_0x2cdadf[_0x40e6('0x5b')](_0x42e1f1);}}});});}function _0x865b8a(_0x1151ef){const _0x4500b3=Array[_0x40e6('0xc')](_0x4325be['getRanges']())[_0x40e6('0x75')](_0x1e79e2=>_0x1916cd[_0x40e6('0xe')](_0x1e79e2));_0x4bd9d5[_0x40e6('0x3a')][_0x40e6('0x16')](_0x2e73a4=>{const _0x11e5db=_0x2e73a4[_0x40e6('0x46')];_0x1151ef=_0x1151ef[_0x40e6('0x68')](_0x1893ce=>_0x40e6('0xb')!=_0x1893ce['root'][_0x40e6('0x33')]),_0x2e73a4['setSelection'](_0x1151ef),_0x4bd9d5[_0x40e6('0x4c')][_0x40e6('0x8a')](_0x40e6('0x38'))[_0x40e6('0x88')](),_0x4bd9d5[_0x40e6('0x65')](_0x40e6('0x38'),{'forceDefaultExecution':!0x0}),_0x4bd9d5[_0x40e6('0x3a')][_0x40e6('0x3e')](()=>{_0x4bd9d5[_0x40e6('0x3a')][_0x40e6('0x3e')](_0x11e5db,_0x3121d7=>{const _0x3cf35b=_0x4500b3[_0x40e6('0x68')](_0x5215bf=>'$graveyard'!=_0x5215bf[_0x40e6('0x5a')][_0x40e6('0x33')]);_0x3cf35b[_0x40e6('0x2f')]>0x0&&_0x3121d7[_0x40e6('0x4f')](_0x3cf35b);for(const _0x5f416f of _0x4500b3)_0x5f416f[_0x40e6('0x3c')]();});});});}function _0x5c2837(_0x3e5c36){_0x4bd9d5[_0x40e6('0x3a')]['change'](_0x5cfaaf=>{const _0x5aff09=Array[_0x40e6('0xc')](_0x4325be[_0x40e6('0x18')]())[_0x40e6('0x75')](_0x33a514=>_0x1916cd[_0x40e6('0xe')](_0x33a514)),_0x2f9602=[];for(const _0x45b108 of _0x3e5c36)for(const _0x170573 of _0x45b108['getItems']({'shallow':!0x0}))_0x2f9602[_0x40e6('0x67')](_0x170573);for(const _0x22828f of _0x2f9602)_0x40e6('0xb')!=_0x22828f['root'][_0x40e6('0x33')]&&(_0x5cfaaf['setSelection'](_0x5cfaaf[_0x40e6('0x37')](_0x22828f,0x0)),_0x4bd9d5[_0x40e6('0x4c')][_0x40e6('0x8a')]('removeTableColumn')[_0x40e6('0x88')](),_0x4bd9d5[_0x40e6('0x65')](_0x40e6('0x24'),{'forceDefaultExecution':!0x0}));const _0x4cc99b=_0x5aff09[_0x40e6('0x68')](_0xa9ea83=>_0x40e6('0xb')!=_0xa9ea83['root'][_0x40e6('0x33')]);_0x4cc99b[_0x40e6('0x2f')]>0x0&&_0x5cfaaf[_0x40e6('0x4f')](_0x4cc99b);for(const _0x2d4c79 of _0x5aff09)_0x2d4c79['detach']();});}function _0xa1d06b(_0x2cfbda,_0x27b9a0){return _0x27b9a0['every'](_0x2460df=>_0x2cfbda['some'](_0x535a5f=>_0x535a5f['end'][_0x40e6('0x1f')](_0x2460df[_0x40e6('0x1d')])||_0x2460df[_0x40e6('0x6d')][_0x40e6('0x1f')](_0x535a5f[_0x40e6('0x1d')])));}function _0x397be4(_0x1c425c,_0x1f376c){return _0x1c425c[_0x40e6('0x14')](_0x475dfd=>_0x1f376c[_0x40e6('0x14')](_0x35a960=>_0x475dfd['end']['isTouching'](_0x35a960[_0x40e6('0x1d')])));}_0x4bd9d5[_0x40e6('0x20')][_0x40e6('0x17')]['on'](_0x40e6('0x0'),(_0x53abbc,_0x412d17,_0x4160a8)=>{if(!_0x4160a8[_0x40e6('0x4')][_0x40e6('0x4e')])return;const _0x54c2d3=_0x412d17[_0x40e6('0x78')];if(!_0x54c2d3)return;const _0x27bd0f=_0x4160a8[_0x40e6('0x21')]['toViewElement'](_0x54c2d3);function _0x2b4a71(_0x404816){return Array[_0x40e6('0x72')](_0x404816)?_0x404816:[_0x404816];}_0x27bd0f&&_0x40e6('0x30')===_0x54c2d3[_0x40e6('0x51')]&&_0x3cb2cc(_0x27bd0f,_0x4160a8[_0x40e6('0x85')],(_0x37ea2c,_0x2f0381,_0x4028c3)=>_0x4028c3[_0x40e6('0x64')](_0x2b4a71(_0x2f0381[_0x40e6('0x54')]),_0x37ea2c),(_0x38b660,_0x3c1746,_0x4ef989)=>_0x4ef989[_0x40e6('0x76')](_0x2b4a71(_0x3c1746['classes']),_0x38b660));},{'priority':_0x40e6('0x7c')}),_0x3c2b3d[_0x40e6('0x69')]['registerDescriptionCallback'](_0x2313f8=>{if(_0x40e6('0x77')!=_0x2313f8[_0x40e6('0x25')]&&_0x40e6('0x5e')!=_0x2313f8[_0x40e6('0x25')])return;const _0x56db93=_0x2313f8[_0x40e6('0x36')]();if(null!=_0x56db93&&_0x56db93['is'](_0x40e6('0x52'),'table')){if(_0x40e6('0x77')==_0x2313f8[_0x40e6('0x25')]){const _0x38db13=_0x2313f8[_0x40e6('0x6f')]()[_0x40e6('0x68')](_0x142607=>_0x142607['is'](_0x40e6('0x39')))[_0x40e6('0x75')](_0x162941=>_0x162941[_0x40e6('0x20')]);if(_0x38db13[_0x40e6('0x2f')])return{'type':_0x40e6('0x77'),'content':_0x2f081c(_0x3d0dd1,_0x40e6('0x55'),_0x2f081c(_0x3d0dd1,_0x40e6('0x56'),'\x22'+_0x38db13[_0x40e6('0x7')]('\x20')+'\x22'))};}if('deletion'==_0x2313f8[_0x40e6('0x25')]){const _0x313d59=_0x2313f8[_0x40e6('0x6f')]()[_0x40e6('0x68')](_0x2f6188=>_0x2f6188['is'](_0x40e6('0x39')))[_0x40e6('0x75')](_0x404fc6=>_0x404fc6[_0x40e6('0x20')]);if(_0x313d59['length'])return{'type':_0x40e6('0x5e'),'content':_0x2f081c(_0x3d0dd1,'*Remove:*\x20%0',_0x2f081c(_0x3d0dd1,_0x40e6('0x56'),'\x22'+_0x313d59[_0x40e6('0x7')]('\x20')+'\x22'))};}}}),_0x3c2b3d[_0x40e6('0x69')][_0x40e6('0x8')](_0x376944=>{if(_0x40e6('0x9')==_0x376944[_0x40e6('0x62')]){const _0x4e3ab0=_0x376944[_0x40e6('0x6f')]()['filter'](_0x4d2606=>_0x4d2606['is'](_0x40e6('0x39')))[_0x40e6('0x75')](_0x4aab9c=>_0x4aab9c['data']),_0x406135=this[_0x40e6('0x29')](_0x376944),_0x3a9c89=_0x406135[_0x40e6('0x12')]-_0x406135[_0x40e6('0x2e')]+0x1;if('insertion'==_0x376944[_0x40e6('0x25')])return _0x4e3ab0[_0x40e6('0x2f')]?{'type':'insertion','content':_0x2f081c(_0x3d0dd1,'*Insert:*\x20%0',_0x2f081c(_0x3d0dd1,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3a9c89,'\x22'+_0x4e3ab0[_0x40e6('0x7')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x2f081c(_0x3d0dd1,'*Insert:*\x20%0',_0x2f081c(_0x3d0dd1,_0x40e6('0x3b'),_0x3a9c89))};if('deletion'==_0x376944[_0x40e6('0x25')])return _0x4e3ab0[_0x40e6('0x2f')]?{'type':'deletion','content':_0x2f081c(_0x3d0dd1,_0x40e6('0x31'),_0x2f081c(_0x3d0dd1,_0x40e6('0x42'),[_0x3a9c89,'\x22'+_0x4e3ab0[_0x40e6('0x7')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2f081c(_0x3d0dd1,_0x40e6('0x31'),_0x2f081c(_0x3d0dd1,_0x40e6('0x3b'),_0x3a9c89))};}if(_0x40e6('0x63')==_0x376944[_0x40e6('0x62')]){const _0x4fc4c6=_0x376944[_0x40e6('0x6f')]()[_0x40e6('0x68')](_0x396e3b=>_0x396e3b['is']('$textProxy'))['map'](_0x5dbdf9=>_0x5dbdf9[_0x40e6('0x20')]),_0x34c02a=this['_getSuggestionCoords'](_0x376944),_0x31f863=_0x34c02a[_0x40e6('0x2a')]-_0x34c02a[_0x40e6('0x11')]+0x1;if('insertion'==_0x376944[_0x40e6('0x25')])return _0x4fc4c6['length']?{'type':_0x40e6('0x77'),'content':_0x2f081c(_0x3d0dd1,'*Insert:*\x20%0',_0x2f081c(_0x3d0dd1,_0x40e6('0x13'),[_0x31f863,'\x22'+_0x4fc4c6[_0x40e6('0x7')]('\x20')+'\x22']))}:{'type':_0x40e6('0x77'),'content':_0x2f081c(_0x3d0dd1,'*Insert:*\x20%0',_0x2f081c(_0x3d0dd1,_0x40e6('0x15'),_0x31f863))};if(_0x40e6('0x5e')==_0x376944[_0x40e6('0x25')])return _0x4fc4c6[_0x40e6('0x2f')]?{'type':_0x40e6('0x5e'),'content':_0x2f081c(_0x3d0dd1,_0x40e6('0x31'),_0x2f081c(_0x3d0dd1,_0x40e6('0x13'),[_0x31f863,'\x22'+_0x4fc4c6[_0x40e6('0x7')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2f081c(_0x3d0dd1,'*Remove:*\x20%0',_0x2f081c(_0x3d0dd1,'ELEMENT_TABLE_COLUMN',_0x31f863))};}}),_0x3c2b3d[_0x40e6('0x4d')]['registerCustomCallback'](_0x40e6('0x77'),_0x40e6('0x9'),_0x40e6('0x6'),_0x865b8a),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')](_0x40e6('0x5e'),_0x40e6('0x9'),'accept',_0x865b8a),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')]('insertion','tableColumn',_0x40e6('0x6'),_0x5c2837),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')]('deletion',_0x40e6('0x63'),_0x40e6('0x1b'),_0x5c2837),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')](_0x40e6('0x77'),_0x40e6('0x63'),'join',_0xa1d06b),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')](_0x40e6('0x5e'),_0x40e6('0x63'),_0x40e6('0x7'),_0xa1d06b),_0x3c2b3d[_0x40e6('0x4d')][_0x40e6('0x2d')](_0x40e6('0x77'),'tableRow',_0x40e6('0x7'),_0x397be4),_0x3c2b3d[_0x40e6('0x4d')]['registerCustomCallback'](_0x40e6('0x5e'),_0x40e6('0x9'),'join',_0x397be4);}[_0x40e6('0x58')](){const _0x122f2b=this['editor'],_0x54ea91=_0x122f2b[_0x40e6('0x3a')][_0x40e6('0xd')][_0x40e6('0x80')];return(_0x261085,_0x31b490)=>{_0x122f2b[_0x40e6('0x3a')][_0x40e6('0x16')](_0xe4691d=>{const {commandName:_0x22fed4,commandParams:_0x305989}=_0x31b490;let _0x3ff211=_0x261085[0x0][_0x40e6('0x6d')][_0x40e6('0x4b')];_0x305989&&_0x305989[0x0]&&!0x1===_0x305989[0x0][_0x40e6('0xf')]&&(_0x3ff211=_0x261085[0x0][_0x40e6('0x1d')]['nodeAfter']);const _0x39632c=_0xe4691d[_0x40e6('0x1e')](_0x3ff211);if('$graveyard'==_0x39632c[_0x40e6('0x5a')]['rootName'])return;const _0x38dbc3=Array[_0x40e6('0xc')](_0x54ea91[_0x40e6('0x18')]())[_0x40e6('0x75')](_0x5b07bf=>_0x1916cd[_0x40e6('0xe')](_0x5b07bf));_0xe4691d[_0x40e6('0x4f')](_0x39632c),_0x122f2b[_0x40e6('0x4c')][_0x40e6('0x8a')](_0x22fed4)[_0x40e6('0x88')](),_0x305989[_0x40e6('0x67')]({'forceDefaultExecution':!0x0}),_0x122f2b[_0x40e6('0x65')](_0x22fed4,..._0x305989);const _0x11cca3=_0x38dbc3[_0x40e6('0x68')](_0xea5300=>_0x40e6('0xb')!=_0xea5300[_0x40e6('0x5a')]['rootName']);_0x11cca3[_0x40e6('0x2f')]>0x0&&_0xe4691d[_0x40e6('0x4f')](_0x11cca3);for(const _0x177b29 of _0x38dbc3)_0x177b29['detach']();});};}[_0x40e6('0x2')](_0x3c5ede){const _0x1774ee=this['editor'][_0x40e6('0x49')][_0x40e6('0x8a')](_0x40e6('0x84'));let _0x5dc6f3=Number[_0x40e6('0x3d')],_0x35e0b4=Number[_0x40e6('0x87')],_0x3ab1fa=Number[_0x40e6('0x3d')],_0x1d1f51=Number['MIN_SAFE_INTEGER'];for(const _0x57cf9d of _0x3c5ede){if(_0x40e6('0xb')==_0x57cf9d[_0x40e6('0x5a')][_0x40e6('0x33')])continue;const {row:_0x2ea8a6,column:_0x429721}=_0x1774ee[_0x40e6('0x28')](_0x57cf9d),_0x736291=_0x57cf9d[_0x40e6('0x81')](_0x40e6('0x74'))?_0x57cf9d['getAttribute']('rowspan')-0x1:0x0,_0x1fa316=_0x57cf9d[_0x40e6('0x81')](_0x40e6('0x70'))?_0x57cf9d[_0x40e6('0x3')]('colspan')-0x1:0x0;_0x5dc6f3=_0x2ea8a6<_0x5dc6f3?_0x2ea8a6:_0x5dc6f3,_0x35e0b4=_0x2ea8a6+_0x736291>_0x35e0b4?_0x2ea8a6+_0x736291:_0x35e0b4,_0x3ab1fa=_0x429721<_0x3ab1fa?_0x429721:_0x3ab1fa,_0x1d1f51=_0x429721+_0x1fa316>_0x1d1f51?_0x429721+_0x1fa316:_0x1d1f51;}return{'minRow':_0x5dc6f3,'maxRow':_0x35e0b4,'minColumn':_0x3ab1fa,'maxColumn':_0x1d1f51};}[_0x40e6('0x7a')](){const _0x5c446f=this[_0x40e6('0x1c')],_0x3a0011=_0x5c446f[_0x40e6('0x49')][_0x40e6('0x8a')](_0x40e6('0x50')),_0x220b57=_0x5c446f[_0x40e6('0x49')][_0x40e6('0x8a')](_0x40e6('0x84'));_0x5c446f['model'][_0x40e6('0xd')]['on'](_0x40e6('0x57'),()=>{const _0x1f16a5=Array['from'](_0x5c446f[_0x40e6('0x3a')][_0x40e6('0xd')][_0x40e6('0x82')][_0x40e6('0x5c')]());for(const {name:_0x4002c8,data:_0x2a2f8a}of _0x1f16a5){const {group:_0x1d9c3b,id:_0x22dd68,subType:_0x30367a}=_0x3a0011['_splitMarkerName'](_0x4002c8);if(_0x40e6('0x47')!=_0x1d9c3b)continue;if(null!=_0x2a2f8a[_0x40e6('0x2b')])continue;const _0xcab30c=_0x3a0011[_0x40e6('0x1')](_0x22dd68);this[_0x40e6('0x60')]['includes'](_0x30367a)&&this[_0x40e6('0x89')][_0x40e6('0x71')](_0xcab30c);}},{'priority':_0x40e6('0x7b')});const _0x2d5547=(_0x554285,_0x576be7)=>{let _0x588f17=!0x1;const _0xc4fe30=_0x576be7[_0x40e6('0x26')](_0x554285),_0xb82db7=_0x554285[_0x40e6('0x5d')]('table'),_0x2c9e5c=_0x220b57[_0x40e6('0x28')](_0x554285);for(const _0x5bda87 of this[_0x40e6('0x89')]){const _0x1cfcf5=_0x5bda87[_0x40e6('0x62')],_0x6d8aa9=_0x1cfcf5[_0x40e6('0x6b')](_0x40e6('0x73')),_0x3c0e26=_0x1cfcf5['substr'](_0x6d8aa9?0xa:0x5),_0x1a0203=_0x3c0e26[_0x40e6('0x7f')](),_0x2eb9=_0x1a0203[_0x40e6('0x66')](0x0,0x3)+'span',_0x1ff95b='min'+_0x3c0e26,_0x2e7766=_0x40e6('0x5')+_0x3c0e26;if(!_0x5bda87[_0x40e6('0xa')])continue;if(_0xb82db7!=_0x5bda87[_0x40e6('0x5f')]()[_0x40e6('0x1d')][_0x40e6('0x5d')](_0x40e6('0x53')))continue;if(_0x5bda87[_0x40e6('0x6c')](_0xc4fe30))continue;const _0x206a80=_0x554285['hasAttribute'](_0x2eb9)?_0x554285[_0x40e6('0x3')](_0x2eb9)-0x1:0x0,_0x30fe5c=this[_0x40e6('0x29')](_0x5bda87),_0x7b9b9=_0x30fe5c[_0x1ff95b],_0x3e7f8c=_0x30fe5c[_0x2e7766];_0x7b9b9<=_0x2c9e5c[_0x1a0203]&&_0x2c9e5c[_0x1a0203]+_0x206a80<=_0x3e7f8c&&(_0x5bda87['addRange'](_0xc4fe30),_0x588f17=!0x0);}return _0x588f17;};_0x5c446f[_0x40e6('0x3a')]['document']['registerPostFixer'](_0x582801=>{let _0x2c9e00=!0x1;for(const _0x52e394 of _0x5c446f[_0x40e6('0x3a')][_0x40e6('0xd')][_0x40e6('0x82')]['getChanges']())if(_0x40e6('0x10')==_0x52e394['type']){if(_0x40e6('0x9')==_0x52e394[_0x40e6('0x51')])for(const _0x1f6909 of _0x52e394['position'][_0x40e6('0x19')][_0x40e6('0x43')]())_0x2c9e00=_0x2c9e00||_0x2d5547(_0x1f6909,_0x582801);else _0x40e6('0x30')==_0x52e394[_0x40e6('0x51')]&&(_0x2c9e00=_0x2c9e00||_0x2d5547(_0x52e394[_0x40e6('0x6a')]['nodeAfter'],_0x582801));}return _0x2c9e00;});}['_getSuggestionCoords'](_0x2a6623){return this[_0x40e6('0x2')](_0x2a6623[_0x40e6('0x18')]()[_0x40e6('0x75')](_0x508606=>_0x508606[_0x40e6('0x1d')][_0x40e6('0x19')]));}}function ue(_0x59a22f){return Array[_0x40e6('0xc')](new Set(_0x59a22f)[_0x40e6('0x45')]());}
23
+ const _0xf454=['getAttribute','markMultiRangeDeletion','removeTableColumn','isArray','type','max','_setupColumnsRowsFixing','add','_getCoordsForCells','findAncestor','getRowIndexes','getItems','getSelectionAffectedTableCells','insertTableRowBelow','position','getChanges','rootName','_suggestionFactory','getCellLocation','insertTableColumnRight','TableUtils','values','_descriptionFactory','writer','tableCell','start','toViewElement','insert','deletion','includes','$textProxy','root','differ','classes','tablePaste','downcastDispatcher','getFirstRange','get','editor','_splitMarkerName','oldRange','execute','options','order','name','enableCommand','ELEMENT_TABLE','refresh','MAX_SAFE_INTEGER','addRange','isTouching','getSuggestion','push','commands','span','afterInit','fromRange','data','insertTable','last','min','addClass','_tablePostFixingSubtypes','$graveyard','map','rowspan','registerCustomCallback','createPositionAt','subType','detach','getColumnIndexes','_getSuggestionCoords','left','markMultiRangeInsertion','insertTableRowAbove','*Remove:*\x20%0','ELEMENT_TABLE_WITH_TEXT','createRangeIn','first','ELEMENT_TABLE_ROW_WITH_TEXT','plugins','isEqual','document','setSelection','from','filter','getRanges','insertion','substr','above','nodeAfter','low','join','hasAttribute','maxRow','getChangedMarkers','change:data','TableEditing','createTableWalker','MIN_SAFE_INTEGER','TrackChangesEditing','end','change','removeTableRow','highest','model','tableRow','isInContent','toLowerCase','registerDescriptionCallback','insertTableColumnLeft','has','mapper','removeClass','table','ELEMENT_TABLE_COLUMN_WITH_TEXT','_acceptFormatSuggestionCallbackFactory','cell','createRangeOn','_tableSuggestions','*Insert:*\x20%0','length','element','ELEMENT_TABLE_COLUMN','tableColumn','selection','selectTableRow','some','colspan','discard','minRow'];(function(_0x570084,_0xf454f3){const _0x25bd84=function(_0x37307f){while(--_0x37307f){_0x570084['push'](_0x570084['shift']());}};_0x25bd84(++_0xf454f3);}(_0xf454,0x1d1));const _0x25bd=function(_0x570084,_0xf454f3){_0x570084=_0x570084-0x0;let _0x25bd84=_0xf454[_0x570084];return _0x25bd84;};import{Plugin as _0x1a9798}from'ckeditor5/src/core.js';import{LiveRange as _0x318f18}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x316fa3}from'ckeditor5/src/widget.js';import{getTranslation as _0x36f2bf}from'../utils/common-translations.js';export default class yt extends _0x1a9798{constructor(_0x1f3b53){super(_0x1f3b53),this[_0x25bd('0x79')]=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}[_0x25bd('0x72')](){const _0x1ec59b=this['editor'],_0x45753c=_0x1ec59b[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x35')];if(!_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x27')](_0x25bd('0x19')))return;const _0x306c62=_0x1ec59b['locale'],_0x28f290=_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x1c')),_0x2b15ac=_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x4f'));_0x28f290[_0x25bd('0x51')]['registerElementLabel'](_0x25bd('0x2a'),_0x4ec593=>_0x36f2bf(_0x306c62,_0x25bd('0x69'),_0x4ec593)),this[_0x25bd('0x41')](),_0x28f290[_0x25bd('0x68')](_0x25bd('0x75')),_0x28f290[_0x25bd('0x68')](_0x25bd('0x36')),_0x28f290[_0x25bd('0x68')]('selectTableColumn');for(const _0x14a05f of[_0x25bd('0x2'),_0x25bd('0x48')]){const _0x4c540f=_0x1ec59b[_0x25bd('0x70')]['get'](_0x14a05f);_0x28f290[_0x25bd('0x68')](_0x14a05f,_0x5c81ca=>{_0x1ec59b[_0x25bd('0x21')][_0x25bd('0x1e')](_0xca371d=>{_0x5c81ca();const _0x22c022=_0x25bd('0x11')===_0x4c540f[_0x25bd('0x66')],_0x2b511a=_0x2b15ac[_0x25bd('0x47')](_0x45753c),_0x5bc2de=_0x2b15ac[_0x25bd('0x45')](_0x2b511a),_0x477d95=_0x22c022?_0x5bc2de[_0x25bd('0x6')]-0x1:_0x5bc2de[_0x25bd('0x76')]+0x1,_0x38427b=_0x2b511a[0x0][_0x25bd('0x44')](_0x25bd('0x2a')),_0x105196=_0x2b15ac[_0x25bd('0x1a')](_0x38427b,{'startRow':_0x477d95,'endRow':_0x477d95}),_0x488130=Array['from'](_0x105196)['map'](_0x579fdd=>_0xca371d[_0x25bd('0x2e')](_0x579fdd['cell']));_0x28f290[_0x25bd('0x1')](_0x488130,'tableRow');});});}for(const _0x943284 of[_0x25bd('0x26'),_0x25bd('0x4e')]){const _0xf2970f=_0x1ec59b['commands'][_0x25bd('0x60')](_0x943284);_0x28f290[_0x25bd('0x68')](_0x943284,_0x22ae83=>{_0x1ec59b['model'][_0x25bd('0x1e')](_0x493d6e=>{_0x22ae83();const _0x475bbf=_0x25bd('0x0')===_0xf2970f[_0x25bd('0x66')],_0x1695d7=_0x2b15ac['getSelectionAffectedTableCells'](_0x45753c),_0x10f35c=_0x2b15ac[_0x25bd('0x81')](_0x1695d7),_0x250b6f=_0x475bbf?_0x10f35c[_0x25bd('0x6')]-0x1:_0x10f35c['last']+0x1,_0x26ae19=_0x1695d7[0x0][_0x25bd('0x44')](_0x25bd('0x2a')),_0x2615ed=_0x2b15ac[_0x25bd('0x1a')](_0x26ae19,{'startRow':0x0,'column':_0x250b6f,'includeAllSlots':!0x1}),_0xe54f21=Array['from'](_0x2615ed)[_0x25bd('0x7b')](_0x44bd36=>_0x493d6e['createRangeOn'](_0x44bd36[_0x25bd('0x2d')]));_0x28f290[_0x25bd('0x1')](_0xe54f21,_0x25bd('0x34'));});});}for(const _0x146c40 of[_0x25bd('0x1f'),_0x25bd('0x3d')]){const _0x4925f0=_0x146c40[_0x25bd('0x10')](0xb),_0x1e9c8e=_0x4925f0[_0x25bd('0x24')](),_0xf56722=_0x1e9c8e[_0x25bd('0x10')](0x0,0x3)+_0x25bd('0x71'),_0x4cc0ed=_0x25bd('0x2a')+_0x4925f0,_0x3a6508='min'+_0x4925f0,_0x5d8b17=_0x25bd('0x40')+_0x4925f0;_0x28f290['enableCommand'](_0x146c40,()=>{_0x1ec59b[_0x25bd('0x21')]['change'](_0x915bd7=>{const _0x279ddb=_0x2b15ac[_0x25bd('0x47')](_0x45753c),_0x1520ee=_0x279ddb[0x0][_0x25bd('0x44')](_0x25bd('0x2a'));let _0x434e85;if('removeTableRow'==_0x146c40){const _0x3b6956=_0x2b15ac[_0x25bd('0x45')](_0x279ddb);_0x434e85={'startRow':_0x3b6956[_0x25bd('0x6')],'endRow':_0x3b6956[_0x25bd('0x76')],'includeAllSlots':!0x0};}else{const _0x4e959e=_0x2b15ac['getColumnIndexes'](_0x279ddb);_0x434e85={'startColumn':_0x4e959e[_0x25bd('0x6')],'endColumn':_0x4e959e['last'],'includeAllSlots':!0x0};}const _0x1a64af=_0x2b15ac['createTableWalker'](_0x1520ee,_0x434e85),_0x46274e=Array['from'](_0x1a64af)[_0x25bd('0x7b')](({cell:_0x2784c9})=>_0x2784c9),_0x40a0dd=ue(_0x46274e[_0x25bd('0xd')](_0x4d3ae1=>_0x4d3ae1[_0x25bd('0x15')](_0xf56722))),_0x184cff=ue(_0x46274e[_0x25bd('0xd')](_0x276605=>!_0x276605['hasAttribute'](_0xf56722)))[_0x25bd('0x7b')](_0x346872=>_0x915bd7[_0x25bd('0x2e')](_0x346872)),_0x1d4d26=_0x28f290[_0x25bd('0x3c')](_0x184cff,_0x4cc0ed);if(_0x1d4d26&&(_0x25bd('0x22')==_0x1d4d26['subType']||_0x25bd('0x34')==_0x1d4d26[_0x25bd('0x7f')])){const _0x155282=this['_getSuggestionCoords'](_0x1d4d26);for(const _0x2aa926 of _0x40a0dd){const _0x51e200=_0x915bd7[_0x25bd('0x2e')](_0x2aa926),_0x41122d=_0x2b15ac[_0x25bd('0x4d')](_0x2aa926),_0x50c93e=_0x2aa926['getAttribute'](_0xf56722)-0x1,_0x15555d=_0x155282[_0x3a6508],_0x47b72f=_0x155282[_0x5d8b17];_0x15555d<=_0x41122d[_0x1e9c8e]&&_0x41122d[_0x1e9c8e]+_0x50c93e<=_0x47b72f&&_0x1d4d26[_0x25bd('0x6c')](_0x51e200);}}});});}function _0x1d5e2e(_0x2dae00){const _0x52d5ae=Array[_0x25bd('0xc')](_0x45753c['getRanges']())[_0x25bd('0x7b')](_0x2daf1d=>_0x318f18[_0x25bd('0x73')](_0x2daf1d));_0x1ec59b[_0x25bd('0x21')][_0x25bd('0x1e')](_0x219c62=>{const _0x3e10d9=_0x219c62['batch'];_0x2dae00=_0x2dae00[_0x25bd('0xd')](_0x59331c=>_0x25bd('0x7a')!=_0x59331c[_0x25bd('0x5a')][_0x25bd('0x4b')]),_0x219c62[_0x25bd('0xb')](_0x2dae00),_0x1ec59b['commands'][_0x25bd('0x60')](_0x25bd('0x1f'))[_0x25bd('0x6a')](),_0x1ec59b['execute'](_0x25bd('0x1f'),{'forceDefaultExecution':!0x0}),_0x1ec59b[_0x25bd('0x21')]['enqueueChange'](()=>{_0x1ec59b[_0x25bd('0x21')]['enqueueChange'](_0x3e10d9,_0x4adb79=>{const _0x52760e=_0x52d5ae[_0x25bd('0xd')](_0x25af1d=>_0x25bd('0x7a')!=_0x25af1d['root']['rootName']);_0x52760e[_0x25bd('0x31')]>0x0&&_0x4adb79[_0x25bd('0xb')](_0x52760e);for(const _0x592f1c of _0x52d5ae)_0x592f1c[_0x25bd('0x80')]();});});});}function _0x41c1a2(_0x110d5e){_0x1ec59b['model'][_0x25bd('0x1e')](_0x62bb8=>{const _0x35db59=Array[_0x25bd('0xc')](_0x45753c['getRanges']())[_0x25bd('0x7b')](_0x9823d4=>_0x318f18[_0x25bd('0x73')](_0x9823d4)),_0x2af3b6=[];for(const _0x584897 of _0x110d5e)for(const _0x9bf978 of _0x584897['getItems']({'shallow':!0x0}))_0x2af3b6['push'](_0x9bf978);for(const _0x3ddf19 of _0x2af3b6)_0x25bd('0x7a')!=_0x3ddf19[_0x25bd('0x5a')]['rootName']&&(_0x62bb8['setSelection'](_0x62bb8[_0x25bd('0x7e')](_0x3ddf19,0x0)),_0x1ec59b[_0x25bd('0x70')][_0x25bd('0x60')]('removeTableColumn')[_0x25bd('0x6a')](),_0x1ec59b[_0x25bd('0x64')](_0x25bd('0x3d'),{'forceDefaultExecution':!0x0}));const _0x4197d6=_0x35db59[_0x25bd('0xd')](_0x3233c4=>'$graveyard'!=_0x3233c4[_0x25bd('0x5a')][_0x25bd('0x4b')]);_0x4197d6[_0x25bd('0x31')]>0x0&&_0x62bb8[_0x25bd('0xb')](_0x4197d6);for(const _0x8a986c of _0x35db59)_0x8a986c[_0x25bd('0x80')]();});}function _0x1643d3(_0x44b064,_0x2d7f7){return _0x2d7f7['every'](_0x5e6223=>_0x44b064[_0x25bd('0x37')](_0xab99be=>_0xab99be['end'][_0x25bd('0x9')](_0x5e6223[_0x25bd('0x54')])||_0x5e6223['end']['isEqual'](_0xab99be[_0x25bd('0x54')])));}function _0x4ea511(_0x421378,_0x3c7473){return _0x421378[_0x25bd('0x37')](_0x2ae508=>_0x3c7473[_0x25bd('0x37')](_0x1b7237=>_0x2ae508[_0x25bd('0x1d')][_0x25bd('0x6d')](_0x1b7237[_0x25bd('0x54')])));}_0x1ec59b[_0x25bd('0x74')][_0x25bd('0x5e')]['on']('addMarker:suggestion',(_0x531a1a,_0x3f5adc,_0x1a57f2)=>{if(!_0x1a57f2[_0x25bd('0x65')]['showSuggestionHighlights'])return;const _0x2c035f=_0x3f5adc['item'];if(!_0x2c035f)return;const _0x730f91=_0x1a57f2[_0x25bd('0x28')][_0x25bd('0x55')](_0x2c035f);function _0x132220(_0x3927cd){return Array[_0x25bd('0x3e')](_0x3927cd)?_0x3927cd:[_0x3927cd];}_0x730f91&&'tableCell'===_0x2c035f[_0x25bd('0x67')]&&_0x316fa3(_0x730f91,_0x1a57f2[_0x25bd('0x52')],(_0x2f6aea,_0x1a1bc5,_0x2f835d)=>_0x2f835d[_0x25bd('0x78')](_0x132220(_0x1a1bc5[_0x25bd('0x5c')]),_0x2f6aea),(_0x5acdca,_0x2188ae,_0x5ba9bd)=>_0x5ba9bd[_0x25bd('0x29')](_0x132220(_0x2188ae[_0x25bd('0x5c')]),_0x5acdca));},{'priority':_0x25bd('0x20')}),_0x28f290[_0x25bd('0x51')]['registerDescriptionCallback'](_0x3c9bc5=>{if(_0x25bd('0xf')!=_0x3c9bc5[_0x25bd('0x3f')]&&_0x25bd('0x57')!=_0x3c9bc5['type'])return;const _0x14bad5=_0x3c9bc5['getContainedElement']();if(null!=_0x14bad5&&_0x14bad5['is'](_0x25bd('0x32'),_0x25bd('0x2a'))){if('insertion'==_0x3c9bc5[_0x25bd('0x3f')]){const _0x3c18bd=_0x3c9bc5[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x3cf306=>_0x3cf306['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x56f1f9=>_0x56f1f9[_0x25bd('0x74')]);if(_0x3c18bd[_0x25bd('0x31')])return{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,'*Insert:*\x20%0',_0x36f2bf(_0x306c62,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3c18bd[_0x25bd('0x14')]('\x20')+'\x22'))};}if('deletion'==_0x3c9bc5[_0x25bd('0x3f')]){const _0x24f514=_0x3c9bc5[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x5a02b3=>_0x5a02b3['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x28f3c3=>_0x28f3c3['data']);if(_0x24f514['length'])return{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x4'),'\x22'+_0x24f514[_0x25bd('0x14')]('\x20')+'\x22'))};}}}),_0x28f290[_0x25bd('0x51')][_0x25bd('0x25')](_0x39f665=>{if('tableRow'==_0x39f665[_0x25bd('0x7f')]){const _0x537bbf=_0x39f665['getItems']()[_0x25bd('0xd')](_0x46b660=>_0x46b660['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x4f66b0=>_0x4f66b0[_0x25bd('0x74')]),_0x7ed73b=this[_0x25bd('0x82')](_0x39f665),_0x3e7e3f=_0x7ed73b[_0x25bd('0x16')]-_0x7ed73b[_0x25bd('0x3a')]+0x1;if(_0x25bd('0xf')==_0x39f665[_0x25bd('0x3f')])return _0x537bbf[_0x25bd('0x31')]?{'type':'insertion','content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,_0x25bd('0x7'),[_0x3e7e3f,'\x22'+_0x537bbf['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_ROW',_0x3e7e3f))};if('deletion'==_0x39f665['type'])return _0x537bbf['length']?{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,'*Remove:*\x20%0',_0x36f2bf(_0x306c62,_0x25bd('0x7'),[_0x3e7e3f,'\x22'+_0x537bbf[_0x25bd('0x14')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_ROW',_0x3e7e3f))};}if(_0x25bd('0x34')==_0x39f665[_0x25bd('0x7f')]){const _0x18cdeb=_0x39f665[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x6888f5=>_0x6888f5['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x319d13=>_0x319d13['data']),_0x5e9bcc=this['_getSuggestionCoords'](_0x39f665),_0x285f6c=_0x5e9bcc['maxColumn']-_0x5e9bcc['minColumn']+0x1;if(_0x25bd('0xf')==_0x39f665[_0x25bd('0x3f')])return _0x18cdeb[_0x25bd('0x31')]?{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,_0x25bd('0x2b'),[_0x285f6c,'\x22'+_0x18cdeb['join']('\x20')+'\x22']))}:{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_COLUMN',_0x285f6c))};if(_0x25bd('0x57')==_0x39f665['type'])return _0x18cdeb[_0x25bd('0x31')]?{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x2b'),[_0x285f6c,'\x22'+_0x18cdeb['join']('\x20')+'\x22']))}:{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x33'),_0x285f6c))};}}),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback'](_0x25bd('0xf'),_0x25bd('0x22'),_0x25bd('0x39'),_0x1d5e2e),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0x57'),_0x25bd('0x22'),'accept',_0x1d5e2e),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0xf'),'tableColumn','discard',_0x41c1a2),_0x28f290['_suggestionFactory']['registerCustomCallback'](_0x25bd('0x57'),_0x25bd('0x34'),'accept',_0x41c1a2),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0xf'),'tableColumn',_0x25bd('0x14'),_0x1643d3),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback']('deletion',_0x25bd('0x34'),'join',_0x1643d3),_0x28f290['_suggestionFactory']['registerCustomCallback'](_0x25bd('0xf'),_0x25bd('0x22'),_0x25bd('0x14'),_0x4ea511),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback'](_0x25bd('0x57'),_0x25bd('0x22'),_0x25bd('0x14'),_0x4ea511);}[_0x25bd('0x2c')](){const _0x4df07f=this[_0x25bd('0x61')],_0x1fc3e1=_0x4df07f[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x35')];return(_0x1b32f3,_0x3d9986)=>{_0x4df07f['model']['change'](_0x447d8a=>{const {commandName:_0x1cfac5,commandParams:_0x3de46e}=_0x3d9986;let _0x3a1159=_0x1b32f3[0x0]['end']['nodeBefore'];_0x3de46e&&_0x3de46e[0x0]&&!0x1===_0x3de46e[0x0]['forceValue']&&(_0x3a1159=_0x1b32f3[0x0][_0x25bd('0x54')][_0x25bd('0x12')]);const _0x215236=_0x447d8a[_0x25bd('0x5')](_0x3a1159);if(_0x25bd('0x7a')==_0x215236[_0x25bd('0x5a')]['rootName'])return;const _0x4361ac=Array['from'](_0x1fc3e1['getRanges']())[_0x25bd('0x7b')](_0x1b1605=>_0x318f18[_0x25bd('0x73')](_0x1b1605));_0x447d8a[_0x25bd('0xb')](_0x215236),_0x4df07f['commands'][_0x25bd('0x60')](_0x1cfac5)[_0x25bd('0x6a')](),_0x3de46e[_0x25bd('0x6f')]({'forceDefaultExecution':!0x0}),_0x4df07f[_0x25bd('0x64')](_0x1cfac5,..._0x3de46e);const _0x2d9aa9=_0x4361ac['filter'](_0x422e00=>_0x25bd('0x7a')!=_0x422e00[_0x25bd('0x5a')][_0x25bd('0x4b')]);_0x2d9aa9[_0x25bd('0x31')]>0x0&&_0x447d8a[_0x25bd('0xb')](_0x2d9aa9);for(const _0x8ef2e7 of _0x4361ac)_0x8ef2e7[_0x25bd('0x80')]();});};}['_getCoordsForCells'](_0x55e052){const _0x30401a=this[_0x25bd('0x61')][_0x25bd('0x8')]['get'](_0x25bd('0x4f'));let _0x181dd2=Number[_0x25bd('0x6b')],_0x51332a=Number[_0x25bd('0x1b')],_0x92df66=Number[_0x25bd('0x6b')],_0x2ad649=Number['MIN_SAFE_INTEGER'];for(const _0x2ec325 of _0x55e052){if(_0x25bd('0x7a')==_0x2ec325[_0x25bd('0x5a')][_0x25bd('0x4b')])continue;const {row:_0x446002,column:_0x4f5838}=_0x30401a[_0x25bd('0x4d')](_0x2ec325),_0x186608=_0x2ec325[_0x25bd('0x15')](_0x25bd('0x7c'))?_0x2ec325[_0x25bd('0x3b')](_0x25bd('0x7c'))-0x1:0x0,_0x2e68ff=_0x2ec325['hasAttribute'](_0x25bd('0x38'))?_0x2ec325[_0x25bd('0x3b')](_0x25bd('0x38'))-0x1:0x0;_0x181dd2=_0x446002<_0x181dd2?_0x446002:_0x181dd2,_0x51332a=_0x446002+_0x186608>_0x51332a?_0x446002+_0x186608:_0x51332a,_0x92df66=_0x4f5838<_0x92df66?_0x4f5838:_0x92df66,_0x2ad649=_0x4f5838+_0x2e68ff>_0x2ad649?_0x4f5838+_0x2e68ff:_0x2ad649;}return{'minRow':_0x181dd2,'maxRow':_0x51332a,'minColumn':_0x92df66,'maxColumn':_0x2ad649};}['_setupColumnsRowsFixing'](){const _0x551ad5=this['editor'],_0x58d7c1=_0x551ad5[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x1c')),_0x4b9751=_0x551ad5[_0x25bd('0x8')][_0x25bd('0x60')]('TableUtils');_0x551ad5[_0x25bd('0x21')]['document']['on'](_0x25bd('0x18'),()=>{const _0x3254ac=Array[_0x25bd('0xc')](_0x551ad5[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x5b')][_0x25bd('0x17')]());for(const {name:_0xa95bff,data:_0x3dd5ce}of _0x3254ac){const {group:_0x377485,id:_0x5b9cbb,subType:_0x332ec8}=_0x58d7c1[_0x25bd('0x62')](_0xa95bff);if('suggestion'!=_0x377485)continue;if(null!=_0x3dd5ce[_0x25bd('0x63')])continue;const _0x35c5ec=_0x58d7c1[_0x25bd('0x6e')](_0x5b9cbb);this[_0x25bd('0x79')][_0x25bd('0x58')](_0x332ec8)&&this['_tableSuggestions'][_0x25bd('0x42')](_0x35c5ec);}},{'priority':_0x25bd('0x13')});const _0x1030e1=(_0x547d5f,_0x232964)=>{let _0x5f0f43=!0x1;const _0x2965bb=_0x232964[_0x25bd('0x2e')](_0x547d5f),_0x481a09=_0x547d5f['findAncestor'](_0x25bd('0x2a')),_0x306c24=_0x4b9751[_0x25bd('0x4d')](_0x547d5f);for(const _0x455a2c of this[_0x25bd('0x2f')]){const _0x50fae0=_0x455a2c[_0x25bd('0x7f')],_0x36d463=_0x50fae0['startsWith'](_0x25bd('0x5d')),_0x3fa4d0=_0x50fae0[_0x25bd('0x10')](_0x36d463?0xa:0x5),_0x27a52d=_0x3fa4d0['toLowerCase'](),_0x2e5415=_0x27a52d['substr'](0x0,0x3)+_0x25bd('0x71'),_0x50b34a=_0x25bd('0x77')+_0x3fa4d0,_0x50fa72=_0x25bd('0x40')+_0x3fa4d0;if(!_0x455a2c[_0x25bd('0x23')])continue;if(_0x481a09!=_0x455a2c[_0x25bd('0x5f')]()[_0x25bd('0x54')][_0x25bd('0x44')](_0x25bd('0x2a')))continue;if(_0x455a2c['isIntersectingWithRange'](_0x2965bb))continue;const _0x356770=_0x547d5f['hasAttribute'](_0x2e5415)?_0x547d5f[_0x25bd('0x3b')](_0x2e5415)-0x1:0x0,_0x447a37=this[_0x25bd('0x82')](_0x455a2c),_0x1e7354=_0x447a37[_0x50b34a],_0x170b86=_0x447a37[_0x50fa72];_0x1e7354<=_0x306c24[_0x27a52d]&&_0x306c24[_0x27a52d]+_0x356770<=_0x170b86&&(_0x455a2c[_0x25bd('0x6c')](_0x2965bb),_0x5f0f43=!0x0);}return _0x5f0f43;};_0x551ad5[_0x25bd('0x21')]['document']['registerPostFixer'](_0xc4c116=>{let _0x5b984d=!0x1;for(const _0x26564d of _0x551ad5[_0x25bd('0x21')]['document'][_0x25bd('0x5b')][_0x25bd('0x4a')]())if(_0x25bd('0x56')==_0x26564d[_0x25bd('0x3f')]){if(_0x25bd('0x22')==_0x26564d[_0x25bd('0x67')])for(const _0x1c7a44 of _0x26564d['position'][_0x25bd('0x12')]['getChildren']())_0x5b984d=_0x5b984d||_0x1030e1(_0x1c7a44,_0xc4c116);else _0x25bd('0x53')==_0x26564d[_0x25bd('0x67')]&&(_0x5b984d=_0x5b984d||_0x1030e1(_0x26564d[_0x25bd('0x49')][_0x25bd('0x12')],_0xc4c116));}return _0x5b984d;});}['_getSuggestionCoords'](_0x58afc2){return this[_0x25bd('0x43')](_0x58afc2[_0x25bd('0xe')]()[_0x25bd('0x7b')](_0x46781c=>_0x46781c['start'][_0x25bd('0x12')]));}}function ue(_0x399047){return Array[_0x25bd('0xc')](new Set(_0x399047)[_0x25bd('0x50')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28bb=['TableCaptionEditing','has','requires','toggleTableCaption','editor','get','plugins'];(function(_0x59bbed,_0x28bb36){const _0x374cd2=function(_0x171039){while(--_0x171039){_0x59bbed['push'](_0x59bbed['shift']());}};_0x374cd2(++_0x28bb36);}(_0x28bb,0x1dd));const _0x374c=function(_0x59bbed,_0x28bb36){_0x59bbed=_0x59bbed-0x0;let _0x374cd2=_0x28bb[_0x59bbed];return _0x374cd2;};import{Plugin as _0x5c0816}from'ckeditor5/src/core.js';import _0x4e3799 from'./table.js';export default class Nt extends _0x5c0816{static get[_0x374c('0x1')](){return[_0x4e3799];}['afterInit'](){const _0x15d064=this[_0x374c('0x3')];if(!_0x15d064[_0x374c('0x5')][_0x374c('0x0')](_0x374c('0x6')))return;_0x15d064['plugins'][_0x374c('0x4')]('TrackChangesEditing')['enableCommand'](_0x374c('0x2'));}}
23
+ const _0x1e1a=['TrackChangesEditing','plugins','afterInit','requires','has','toggleTableCaption'];(function(_0x187908,_0x1e1aea){const _0x149d8e=function(_0x72f5df){while(--_0x72f5df){_0x187908['push'](_0x187908['shift']());}};_0x149d8e(++_0x1e1aea);}(_0x1e1a,0xca));const _0x149d=function(_0x187908,_0x1e1aea){_0x187908=_0x187908-0x0;let _0x149d8e=_0x1e1a[_0x187908];return _0x149d8e;};import{Plugin as _0x268cd6}from'ckeditor5/src/core.js';import _0x136700 from'./table.js';export default class Nt extends _0x268cd6{static get[_0x149d('0x5')](){return[_0x136700];}[_0x149d('0x4')](){const _0x1c05dc=this['editor'];if(!_0x1c05dc[_0x149d('0x3')][_0x149d('0x0')]('TableCaptionEditing'))return;_0x1c05dc[_0x149d('0x3')]['get'](_0x149d('0x2'))['enableCommand'](_0x149d('0x1'));}}