@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.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.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xc259=['end','execute','afterInit','listStart','_enableDefaultAttributesIntegration','multipleBlocks','key','listStyle','*Format:*\x20remove\x20from\x20%0','formatBlock','getRanges','every','documentList','getSuggestions','document','trackChangesCommand','config','_LIST','isLocal','_suggestionFactory','format','forceValue','registerAttributeLabel','outdentList','todo','listItemIdFixer','commands','listReversed','length','noTrackChangesFixer','type','removeMarker','suggestion','push','data','*Merge:*\x20%0','list.multiBlock','toUpperCase','splitListItemAfter','accept','mergeListItemBackward','*Check\x20item*','_findSuggestions','attributes','getAttribute','setSelection','parent','_getAttributeKey','registerDescriptionCallback','change','ListEditing','todoListChecked','detach','assureChains','createRange','numbered','bulleted','range','checkTodoList','setAttribute','map','start','*Change\x20to:*\x20%0','ELEMENT_BULLETED_LIST','previousSibling','FORMAT_INDENT','listType','includes','batch','editor','from','isUndo','splitListItemBefore','commandParams','_registerLegacyDescription','groupId','_descriptionFactory','value','listItemId','ELEMENT_','getChanges','ELEMENT_NUMBERED_LIST','*Outdent:*\x20%0','get','head','todoListCheck','getFirstMarker','isNextTo','registerPostFixer','*Split:*\x20list\x20item','*Format:*\x20insert\x20into\x20%0','mergeListItemForward','_supportLegacySuggestions','default','todoList','differ','locale','filter','attribute','next','plugins','ELEMENT_TODO_LIST','listIndent','model','oldValue','TrackChangesEditing','*Set\x20format:*\x20%0','bulletedList','indentList','selection','*Indent:*\x20%0','schema','containsItem','getFirstRange','numberedList','nextSibling','attributeKey','newValue','find','commandName','ELEMENT_LIST_ITEM','TodoListEditing','nodeAfter'];(function(_0x5c61e3,_0xc25965){const _0x470082=function(_0xc769ee){while(--_0xc769ee){_0x5c61e3['push'](_0x5c61e3['shift']());}};_0x470082(++_0xc25965);}(_0xc259,0x1e8));const _0x4700=function(_0x5c61e3,_0xc25965){_0x5c61e3=_0x5c61e3-0x0;let _0x470082=_0xc259[_0x5c61e3];return _0x470082;};import{Plugin as _0x7c94f3}from'ckeditor5/src/core.js';import{getTranslation as _0x116c76}from'../utils/common-translations.js';import{renameAttributeKey as _0x1bb076}from'../trackchangesediting.js';import{LiveRange as _0x427667}from'ckeditor5/src/engine.js';export default class z extends _0x7c94f3{[_0x4700('0x6')](){const _0x3356cd=this['editor'];if(!_0x3356cd[_0x4700('0x68')]['has'](_0x4700('0x36')))return;const _0x42869b=_0x3356cd[_0x4700('0x64')],_0x1c6d22=_0x3356cd[_0x4700('0x68')][_0x4700('0x57')]('TrackChangesEditing'),_0x54fa78=_0x3356cd[_0x4700('0x68')]['has'](_0x4700('0x2')),_0x273946=!!_0x3356cd[_0x4700('0x14')][_0x4700('0x57')](_0x4700('0x28'));function _0x2fca72(_0x40f8c4){return{'type':_0x4700('0x18'),'content':''+_0x116c76(_0x42869b,_0x4700('0x6e'),_0x40f8c4)};}function _0x36d27e(_0x2a50fe){return{'type':_0x4700('0x18'),'content':''+_0x116c76(_0x42869b,'*Remove\x20format:*\x20%0',_0x2a50fe)};}_0x1c6d22[_0x4700('0x8')](_0x4700('0x76'),[],[_0x4700('0x52'),_0x4700('0x46'),_0x4700('0x6a')]),_0x1c6d22[_0x4700('0x8')](_0x4700('0x6f')),_0x1c6d22[_0x4700('0x8')]('indentList'),_0x1c6d22[_0x4700('0x8')]('outdentList'),_0x1c6d22[_0x4700('0x8')](_0x4700('0x2a')),_0x1c6d22[_0x4700('0x8')](_0x4700('0x4c')),_0x273946&&(_0x1c6d22[_0x4700('0x8')](_0x4700('0x2c')),_0x1c6d22['_enableDefaultAttributesIntegration'](_0x4700('0x5f'))),_0x54fa78&&(_0x1c6d22[_0x4700('0x8')](_0x4700('0x62')),_0x1c6d22['_enableDefaultAttributesIntegration'](_0x4700('0x3e'),[],[_0x4700('0x37')]),_0x1c6d22[_0x4700('0x50')]['registerDescriptionCallback'](_0x11c1e9=>{const {data:_0xaaa6b2}=_0x11c1e9;if(_0xaaa6b2&&_0x4700('0x37')==_0xaaa6b2[_0x4700('0xa')])return{'type':_0x4700('0x18'),'content':_0xaaa6b2[_0x4700('0x79')]?_0x116c76(_0x42869b,_0x4700('0x2d')):_0x116c76(_0x42869b,'*Uncheck\x20item*')};}),this[_0x4700('0x49')][_0x4700('0x6b')][_0x4700('0x12')][_0x4700('0x5c')](_0x1545f2=>{if(_0x1545f2[_0x4700('0x48')][_0x4700('0x4b')])return!0x1;let _0x2dbd7b=!0x1;const _0x594775=_0x1c6d22['getSuggestions']({'skipNotAttached':!0x0})[_0x4700('0x65')](_0x845856=>_0x4700('0x37')===_0x1c6d22[_0x4700('0x33')](_0x845856));for(const _0x2d4e52 of _0x594775){_0x4700('0x1c')!=_0x2d4e52[_0x4700('0x75')]()['start']['nodeAfter'][_0x4700('0x30')](_0x4700('0x46'))&&(_0x1c6d22[_0x4700('0x2e')](_0x2d4e52[_0x4700('0x75')](),_0x4700('0x66'))[_0x4700('0x7a')](_0x1faee3=>'listType'===_0x1c6d22[_0x4700('0x33')](_0x1faee3[_0x4700('0x24')]))||(_0x1545f2[_0x4700('0x23')](_0x2d4e52[_0x4700('0x5a')]()),_0x2dbd7b=!0x0));}return _0x2dbd7b;})),_0x1c6d22[_0x4700('0x50')][_0x4700('0x1a')](_0x4700('0x6a'),_0x116c76(_0x42869b,_0x4700('0x45')));const _0x133bef={'type':'format','content':''};_0x1c6d22[_0x4700('0x50')]['registerDescriptionCallback'](_0x1a6c6a=>{const {data:_0x3d9ad5}=_0x1a6c6a;if(!_0x3d9ad5||_0x4700('0x46')!=_0x3d9ad5[_0x4700('0xa')])return;let _0x4b8255=_0x1a6c6a['head'];for(;_0x4b8255;){if(_0x4b8255[_0x4700('0x26')]&&(_0x4700('0xb')==_0x4b8255['data'][_0x4700('0xa')]&&(_0x4b8255[_0x4700('0x26')]['newValue']&&_0x4700('0x61')!=_0x4b8255[_0x4700('0x26')][_0x4700('0x79')]||_0x4700('0x61')!=_0x4b8255[_0x4700('0x26')][_0x4700('0x6c')]&&!_0x3d9ad5[_0x4700('0x79')])||!_0x273946&&_0x4b8255[_0x4700('0x26')][_0x4700('0xa')]==_0x1bb076))return _0x133bef;_0x4b8255=_0x4b8255['next'];}if(null==_0x3d9ad5[_0x4700('0x79')])switch(_0x3d9ad5[_0x4700('0x6c')]){case _0x4700('0x3c'):return _0x36d27e(_0x116c76(_0x42869b,'ELEMENT_BULLETED_LIST'));case _0x4700('0x3b'):return _0x36d27e(_0x116c76(_0x42869b,_0x4700('0x55')));case'todo':return _0x36d27e(_0x116c76(_0x42869b,'ELEMENT_TODO_LIST'));}switch(_0x3d9ad5['newValue']){case _0x4700('0x3c'):return _0x2fca72(_0x116c76(_0x42869b,_0x4700('0x43')));case'numbered':return _0x2fca72(_0x116c76(_0x42869b,_0x4700('0x55')));case _0x4700('0x1c'):return _0x2fca72(_0x116c76(_0x42869b,_0x4700('0x69')));}}),_0x1c6d22[_0x4700('0x50')][_0x4700('0x34')](_0x5dbbee=>{const {data:_0x6c942f}=_0x5dbbee;if(!_0x6c942f||'listIndent'!=_0x6c942f[_0x4700('0xa')])return;let _0x2e4f22=_0x5dbbee['head'];for(;_0x2e4f22;){if(_0x2e4f22[_0x4700('0x26')]&&'listIndent'!=_0x2e4f22[_0x4700('0x26')][_0x4700('0xa')])return _0x133bef;_0x2e4f22=_0x2e4f22[_0x4700('0x67')];}return void 0x0===_0x6c942f['newValue']||void 0x0===_0x6c942f[_0x4700('0x6c')]&&0x0==_0x6c942f['newValue']?_0x133bef:void 0x0;}),_0x1c6d22[_0x4700('0x50')]['registerDescriptionCallback'](_0x35d701=>{if(_0x4700('0x66')!=_0x35d701[_0x4700('0x22')])return;const {data:_0x59cc7c}=_0x35d701;if(!_0x59cc7c||_0x4700('0x52')!=_0x59cc7c[_0x4700('0xa')])return;const _0x1c4990=ie(_0x35d701);return _0x1c4990?_0x1c4990==_0x59cc7c['newValue']?{'type':_0x4700('0x18'),'content':_0x116c76(_0x42869b,'*Merge:*\x20list\x20item')}:_0x1c4990==_0x59cc7c[_0x4700('0x6c')]?{'type':_0x4700('0x18'),'content':_0x116c76(_0x42869b,_0x4700('0x5d'))}:_0x133bef:_0x133bef;}),_0x3356cd[_0x4700('0x6b')][_0x4700('0x12')]['registerPostFixer'](_0x563bd5=>this[_0x4700('0x1d')](_0x563bd5)),_0x3356cd[_0x4700('0x6b')]['document'][_0x4700('0x5c')](_0x4da5f3=>this[_0x4700('0x21')](_0x4da5f3)),_0x3356cd['model'][_0x4700('0x12')][_0x4700('0x5c')](_0x3e5a80=>this[_0x4700('0x39')](_0x3e5a80)),this[_0x4700('0x60')]();}['listItemIdFixer'](_0x29714b){if(_0x29714b[_0x4700('0x48')][_0x4700('0x4b')]||!_0x29714b[_0x4700('0x48')][_0x4700('0x16')])return!0x1;const _0x457072=this[_0x4700('0x49')]['plugins'][_0x4700('0x57')](_0x4700('0x6d'));if(_0x457072['_recordAttributeSuggestions'])return!0x1;let _0x3e45d3=!0x1;const _0x55568b=_0x457072['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xd08b5e=>_0xd08b5e[_0x4700('0x26')]&&_0x4700('0x52')==_0xd08b5e['data'][_0x4700('0xa')])['filter'](_0x20449e=>_0x20449e['data']['newValue']&&_0x20449e[_0x4700('0x26')][_0x4700('0x6c')]);for(const _0x1160ec of _0x55568b){const _0x53de10=ie(_0x1160ec);_0x53de10&&_0x53de10==_0x1160ec['data']['newValue']||_0x53de10==_0x1160ec['data']['oldValue']||(_0x29714b[_0x4700('0x23')](_0x1160ec[_0x4700('0x5a')]()),_0x3e45d3=!0x0);}return _0x3e45d3;}['noTrackChangesFixer'](_0x26e464){if(_0x26e464[_0x4700('0x48')][_0x4700('0x4b')]||!_0x26e464[_0x4700('0x48')]['isLocal'])return!0x1;const _0x97916e=this[_0x4700('0x49')][_0x4700('0x68')]['get'](_0x4700('0x6d'));if(_0x97916e[_0x4700('0x13')][_0x4700('0x51')])return!0x1;let _0x1b3765=!0x1;const _0x3a3c5b=['listType','listStyle',_0x4700('0x52'),_0x4700('0x6a'),_0x4700('0x7'),_0x4700('0x1f'),_0x4700('0x59')],_0x4cf6b1=this[_0x4700('0x49')][_0x4700('0x6b')][_0x4700('0x12')][_0x4700('0x63')][_0x4700('0x54')]()['filter'](_0x293500=>'attribute'==_0x293500[_0x4700('0x22')])[_0x4700('0x65')](_0xd22f6e=>_0x3a3c5b[_0x4700('0x47')](_0xd22f6e[_0x4700('0x78')]));if(0x0==_0x4cf6b1[_0x4700('0x20')])return _0x1b3765;for(const _0xa3e68d of _0x4cf6b1){const _0x9500e7=_0x97916e[_0x4700('0x2e')](_0xa3e68d[_0x4700('0x3d')],'attribute')[_0x4700('0x65')](_0x2e9eaf=>!_0x2e9eaf['meta'][_0x4700('0x5b')])[_0x4700('0x40')](_0x69d870=>_0x69d870['suggestion'])['filter'](_0x182a61=>{const _0x42cf2f=_0x97916e[_0x4700('0x33')](_0x182a61);return _0x3a3c5b[_0x4700('0x47')](_0x42cf2f);});if(_0x9500e7[_0x4700('0x20')]){for(const _0x345a4a of _0x9500e7)_0x26e464[_0x4700('0x23')](_0x345a4a[_0x4700('0x5a')]());_0x1b3765=!0x0;}}return _0x1b3765;}['assureChains'](_0x10b6f8){if(_0x10b6f8[_0x4700('0x48')][_0x4700('0x4b')]||!_0x10b6f8['batch'][_0x4700('0x16')])return!0x1;const _0x4df999=this[_0x4700('0x49')][_0x4700('0x68')][_0x4700('0x57')](_0x4700('0x6d'));let _0x57155e=!0x1;const _0x3cc144=[_0x4700('0x46'),_0x4700('0xb'),_0x4700('0x52'),'listIndent',_0x4700('0x7'),_0x4700('0x1f'),_0x4700('0x59')];for(const _0x7220a7 of _0x4df999[_0x4700('0x11')]({'skipNotAttached':!0x0})){const _0x4e888e=_0x4df999[_0x4700('0x2e')](_0x7220a7[_0x4700('0x75')](),'attribute')[_0x4700('0x40')](_0x4605cb=>_0x4605cb['suggestion'])[_0x4700('0x65')](_0x3a994d=>_0x3a994d['data']&&_0x3cc144[_0x4700('0x47')](_0x3a994d[_0x4700('0x26')]['key']));if(!_0x4e888e[_0x4700('0x20')])continue;const _0x153564=_0x4e888e[0x0][_0x4700('0x58')][_0x4700('0x2f')][_0x4700('0x4f')];if(!_0x4e888e[_0x4700('0xf')](_0xafaa9=>_0xafaa9['attributes'][_0x4700('0x4f')]===_0x153564))for(const _0x3b7179 of _0x4e888e)_0x33a2ec(_0x3b7179,_0x153564)&&(_0x57155e=!0x0);}return _0x57155e;function _0x497909(_0x5e0456,_0x1abf73){for(const _0x4533d4 of _0x4df999[_0x4700('0x11')]({'skipNotAttached':!0x0})[_0x4700('0x65')](_0x5e7ad7=>'attribute'==_0x5e7ad7['type']&&_0x5e7ad7[_0x4700('0x2f')][_0x4700('0x4f')]==_0x5e0456))_0x4533d4[_0x4700('0x3f')](_0x4700('0x4f'),_0x1abf73);}function _0x33a2ec(_0x415cb0,_0x3ecd01){let _0x5c6f3e=_0x415cb0[_0x4700('0x58')],_0x4a3019=!0x1;for(;_0x5c6f3e;)_0x5c6f3e[_0x4700('0x2f')][_0x4700('0x4f')]!=_0x3ecd01&&(_0x497909(_0x5c6f3e['attributes'][_0x4700('0x4f')],_0x3ecd01),_0x5c6f3e[_0x4700('0x3f')](_0x4700('0x4f'),_0x3ecd01),_0x4a3019=!0x0),_0x5c6f3e=_0x5c6f3e[_0x4700('0x67')];return _0x4a3019;}}[_0x4700('0x60')](){const _0x253de6=this[_0x4700('0x49')],_0x301851=_0x253de6[_0x4700('0x64')],_0x522daf=_0x253de6[_0x4700('0x68')]['get'](_0x4700('0x6d'));this[_0x4700('0x4e')](),_0x522daf[_0x4700('0x17')]['registerCustomCallback'](_0x4700('0xd'),_0x4700('0x10'),_0x4700('0x2b'),function(_0x4b1610,_0x2068f6){const _0x269cbb=[];for(let _0x18010c of _0x4b1610)_0x18010c[_0x4700('0x41')][_0x4700('0x3')]===_0x18010c[_0x4700('0x4')][_0x4700('0x32')]&&(_0x18010c=_0x253de6[_0x4700('0x6b')][_0x4700('0x3a')](_0x253de6[_0x4700('0x6b')]['createPositionAt'](_0x18010c['start']['nodeAfter'],0x0))),_0x269cbb[_0x4700('0x25')](_0x18010c);_0x253de6[_0x4700('0x6b')][_0x4700('0x35')](_0x4f3598=>{const _0x4f1d1e=_0x253de6[_0x4700('0x6b')][_0x4700('0x12')][_0x4700('0x71')],_0x50948e=Array[_0x4700('0x4a')](_0x4f1d1e[_0x4700('0xe')]())[_0x4700('0x40')](_0x3cf0c8=>_0x427667['fromRange'](_0x3cf0c8));_0x4f3598['setSelection'](_0x269cbb),_0x253de6[_0x4700('0x1e')][_0x4700('0x57')](_0x2068f6['commandName'])['refresh'](),_0x2068f6[_0x4700('0x4d')][_0x4700('0x25')]({'forceDefaultExecution':!0x0}),_0x253de6[_0x4700('0x5')](_0x2068f6[_0x4700('0x0')],..._0x2068f6[_0x4700('0x4d')]),_0x4f3598[_0x4700('0x31')](_0x50948e);for(const _0x294799 of _0x50948e)_0x294799[_0x4700('0x38')]();});}),_0x522daf[_0x4700('0x50')]['registerElementLabel'](function(_0x222dd6){const _0x44cc62=!_0x253de6[_0x4700('0x6b')][_0x4700('0x73')]['isObject'](_0x222dd6),_0x3686be=_0x222dd6[_0x4700('0x44')],_0x280568=_0x222dd6['nextSibling'],_0x4131b1=_0x222dd6[_0x4700('0x30')](_0x4700('0x52')),_0x3be979=!_0x3686be||_0x3686be[_0x4700('0x30')](_0x4700('0x52'))!==_0x4131b1,_0x3bea8a=!_0x280568||_0x280568[_0x4700('0x30')]('listItemId')!==_0x4131b1;return _0x44cc62&&Boolean(_0x4131b1)&&_0x3be979&&_0x3bea8a;},_0x16b075=>_0x116c76(_0x301851,_0x4700('0x1'),_0x16b075));}[_0x4700('0x4e')](){const _0x9e7ac=this[_0x4700('0x49')],_0x1183f3=_0x9e7ac['locale'];function _0x113e81(_0xa59b54){const _0xa4e960=_0x9e7ac[_0x4700('0x1e')][_0x4700('0x57')]('bulletedList')['value'],_0x2a31ed=_0x9e7ac[_0x4700('0x1e')][_0x4700('0x57')](_0x4700('0x76'))['value'];return _0x4700('0x76')===_0xa59b54?_0xa4e960:_0x2a31ed;}_0x9e7ac['plugins'][_0x4700('0x57')]('TrackChangesEditing')[_0x4700('0x50')][_0x4700('0x34')](function(_0x5f5c23){if('formatBlock'!=_0x5f5c23['type'])return;const {data:_0x4d71e2}=_0x5f5c23;if(!_0x4d71e2)return;let _0x1683bb,_0x5980d7,_0x4c8ec2,_0x448082;switch(_0x4d71e2[_0x4700('0x0')]){case _0x4700('0x6f'):_0x4c8ec2=_0x4d71e2['commandParams'][0x0][_0x4700('0x19')],_0x448082=_0x113e81(_0x4d71e2['commandName']),_0x1683bb=_0x4c8ec2?_0x4700('0x5e'):'*Format:*\x20remove\x20from\x20%0',!_0x448082&&_0x9e7ac['config'][_0x4700('0x57')](_0x4700('0x28'))||(_0x1683bb='*Change\x20to:*\x20%0'),_0x5980d7={'type':_0x4700('0x18'),'content':_0x116c76(_0x1183f3,_0x1683bb,_0x116c76(_0x1183f3,_0x4700('0x43')))};break;case'numberedList':_0x4c8ec2=_0x4d71e2[_0x4700('0x4d')][0x0][_0x4700('0x19')],_0x448082=_0x113e81(_0x4d71e2['commandName']),_0x1683bb=_0x4c8ec2?_0x4700('0x5e'):_0x4700('0xc'),!_0x448082&&_0x9e7ac[_0x4700('0x14')]['get'](_0x4700('0x28'))||(_0x1683bb=_0x4700('0x42')),_0x5980d7={'type':_0x4700('0x18'),'content':_0x116c76(_0x1183f3,_0x1683bb,_0x116c76(_0x1183f3,'ELEMENT_NUMBERED_LIST'))};break;case _0x4700('0x70'):_0x1683bb=_0x4700('0x72'),_0x5980d7={'type':'format','content':_0x116c76(_0x1183f3,_0x1683bb,_0x116c76(_0x1183f3,_0x4700('0x1')))};break;case _0x4700('0x1b'):_0x1683bb=function(_0x2855d1){const _0x18dfab=_0x2855d1[_0x4700('0x75')]();let _0x37d1fd=_0x18dfab[_0x4700('0x41')][_0x4700('0x3')];for(;_0x37d1fd&&_0x18dfab[_0x4700('0x74')](_0x37d1fd);){if(_0x37d1fd[_0x4700('0x30')](_0x4700('0x6a'))>0x0)return!0x1;_0x37d1fd=_0x37d1fd[_0x4700('0x77')];}return!0x0;}(_0x5f5c23)?_0x116c76(_0x1183f3,_0x4700('0xc'),_0x116c76(_0x1183f3,function(_0x48a5e9){return _0x4700('0x53')+_0x48a5e9[_0x4700('0x75')]()[_0x4700('0x41')][_0x4700('0x3')][_0x4700('0x30')](_0x4700('0x46'))[_0x4700('0x29')]()+_0x4700('0x15');}(_0x5f5c23))):_0x116c76(_0x1183f3,_0x4700('0x56'),_0x116c76(_0x1183f3,_0x4700('0x1'))),_0x5980d7={'type':'format','content':_0x1683bb};break;case _0x4700('0x2c'):case'mergeListItemForward':!0x1===_0x4d71e2[_0x4700('0x9')]&&(_0x1683bb=_0x4700('0x27'),_0x5980d7={'type':'deletion','content':_0x116c76(_0x1183f3,_0x1683bb,_0x116c76(_0x1183f3,'ELEMENT_LIST_ITEM'))});}return _0x5980d7;});}}function ie(_0x2642c4){const _0x259812=_0x2642c4[_0x4700('0x75')]()[_0x4700('0x41')][_0x4700('0x3')],_0x2e26fd=null==_0x259812?void 0x0:_0x259812[_0x4700('0x44')];return _0x2e26fd?_0x2e26fd[_0x4700('0x30')]('listItemId'):null;}
|
|
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;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x597b=['differ','highest','maxRow','fromRange','cell','addMarker:suggestion','getChildren','subType','addClass','has','getChangedMarkers','createRangeOn','_tablePostFixingSubtypes','_tableSuggestions','registerPostFixer','getFirstRange','getSelectionAffectedTableCells','discard','insertTableColumnLeft','hasAttribute','enableCommand','*Remove:*\x20%0','change','startsWith','tableColumn','_descriptionFactory','ELEMENT_TABLE_COLUMN','type','length','ELEMENT_TABLE','minRow','getRanges','getCellLocation','createPositionAt','insert','maxColumn','values','refresh','filter','_getSuggestionCoords','deletion','ELEMENT_TABLE_ROW_WITH_TEXT','forceValue','isEqual','ELEMENT_TABLE_WITH_TEXT','low','getAttribute','plugins','includes','above','ELEMENT_TABLE_ROW','toLowerCase','substr','markMultiRangeInsertion','createRangeIn','classes','get','_setupColumnsRowsFixing','left','detach','_getCoordsForCells','table','root','last','span','locale','name','removeTableColumn','options','toViewElement','isInContent','colspan','insertion','afterInit','insertTable','selection','rowspan','some','getItems','createTableWalker','tableCell','findAncestor','nodeAfter','order','removeClass','map','change:data','TableUtils','first','position','MIN_SAFE_INTEGER','insertTableColumnRight','min','enqueueChange','batch','*Insert:*\x20%0','data','$textProxy','tablePaste','minColumn','editor','max','model','insertTableRowAbove','getChanges','rootName','registerDescriptionCallback','registerCustomCallback','tableRow','document','mapper','showSuggestionHighlights','oldRange','registerElementLabel','getColumnIndexes','getContainedElement','isArray','commands','writer','setSelection','from','execute','getRowIndexes','suggestion','join','addRange','ELEMENT_TABLE_COLUMN_WITH_TEXT','end','start','removeTableRow','push','_suggestionFactory','$graveyard','item','markMultiRangeDeletion','MAX_SAFE_INTEGER'];(function(_0x4ad2e1,_0x597bd9){const _0x539eb6=function(_0x1338ed){while(--_0x1338ed){_0x4ad2e1['push'](_0x4ad2e1['shift']());}};_0x539eb6(++_0x597bd9);}(_0x597b,0x19e));const _0x539e=function(_0x4ad2e1,_0x597bd9){_0x4ad2e1=_0x4ad2e1-0x0;let _0x539eb6=_0x597b[_0x4ad2e1];return _0x539eb6;};import{Plugin as _0x13d190}from'ckeditor5/src/core.js';import{LiveRange as _0x4f04cd}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x39d13f}from'ckeditor5/src/widget.js';import{getTranslation as _0x57d05b}from'../utils/common-translations.js';export default class yt extends _0x13d190{constructor(_0xc6e70f){super(_0xc6e70f),this[_0x539e('0x6')]=[_0x539e('0x66'),'tableColumn'],this[_0x539e('0x7')]=new Set();}[_0x539e('0x43')](){const _0x1b80f4=this[_0x539e('0x5e')],_0x4d9fa5=_0x1b80f4[_0x539e('0x60')][_0x539e('0x67')][_0x539e('0x45')];if(!_0x1b80f4['plugins'][_0x539e('0x3')]('TableEditing'))return;const _0x554f88=_0x1b80f4[_0x539e('0x3b')],_0x32fa52=_0x1b80f4['plugins'][_0x539e('0x32')]('TrackChangesEditing'),_0x3e0f3e=_0x1b80f4['plugins'][_0x539e('0x32')](_0x539e('0x51'));_0x32fa52['_descriptionFactory'][_0x539e('0x6b')](_0x539e('0x37'),_0x42175d=>_0x57d05b(_0x554f88,_0x539e('0x17'),_0x42175d)),this[_0x539e('0x33')](),_0x32fa52[_0x539e('0xe')](_0x539e('0x44')),_0x32fa52[_0x539e('0xe')]('selectTableRow'),_0x32fa52['enableCommand']('selectTableColumn');for(const _0x29b915 of[_0x539e('0x61'),'insertTableRowBelow']){const _0x61865b=_0x1b80f4[_0x539e('0x6f')]['get'](_0x29b915);_0x32fa52[_0x539e('0xe')](_0x29b915,_0x3e5bc8=>{_0x1b80f4['model'][_0x539e('0x10')](_0x3b1f42=>{_0x3e5bc8();const _0x5c4ec3=_0x539e('0x2b')===_0x61865b['order'],_0x2df81e=_0x3e0f3e[_0x539e('0xa')](_0x4d9fa5),_0xbf14ce=_0x3e0f3e[_0x539e('0x74')](_0x2df81e),_0x3074d8=_0x5c4ec3?_0xbf14ce[_0x539e('0x52')]-0x1:_0xbf14ce['last']+0x1,_0x5572d4=_0x2df81e[0x0][_0x539e('0x4b')]('table'),_0x241770=_0x3e0f3e[_0x539e('0x49')](_0x5572d4,{'startRow':_0x3074d8,'endRow':_0x3074d8}),_0xe1812e=Array[_0x539e('0x72')](_0x241770)[_0x539e('0x4f')](_0x11985f=>_0x3b1f42[_0x539e('0x5')](_0x11985f[_0x539e('0x86')]));_0x32fa52[_0x539e('0x2f')](_0xe1812e,'tableRow');});});}for(const _0x4c1f56 of[_0x539e('0xc'),_0x539e('0x55')]){const _0x2213fe=_0x1b80f4[_0x539e('0x6f')][_0x539e('0x32')](_0x4c1f56);_0x32fa52['enableCommand'](_0x4c1f56,_0x1bff6a=>{_0x1b80f4[_0x539e('0x60')]['change'](_0x509902=>{_0x1bff6a();const _0x391c60=_0x539e('0x34')===_0x2213fe[_0x539e('0x4d')],_0x9597e8=_0x3e0f3e[_0x539e('0xa')](_0x4d9fa5),_0x11bd48=_0x3e0f3e[_0x539e('0x6c')](_0x9597e8),_0x16a5a4=_0x391c60?_0x11bd48[_0x539e('0x52')]-0x1:_0x11bd48['last']+0x1,_0x36cd02=_0x9597e8[0x0][_0x539e('0x4b')](_0x539e('0x37')),_0x23fb70=_0x3e0f3e[_0x539e('0x49')](_0x36cd02,{'startRow':0x0,'column':_0x16a5a4,'includeAllSlots':!0x1}),_0x514a32=Array['from'](_0x23fb70)[_0x539e('0x4f')](_0x2d9087=>_0x509902[_0x539e('0x5')](_0x2d9087[_0x539e('0x86')]));_0x32fa52[_0x539e('0x2f')](_0x514a32,'tableColumn');});});}for(const _0x449906 of[_0x539e('0x7b'),_0x539e('0x3d')]){const _0x55ade1=_0x449906[_0x539e('0x2e')](0xb),_0x157598=_0x55ade1[_0x539e('0x2d')](),_0x43f00e=_0x157598[_0x539e('0x2e')](0x0,0x3)+_0x539e('0x3a'),_0x251dbf=_0x539e('0x37')+_0x55ade1,_0x45cc08=_0x539e('0x56')+_0x55ade1,_0x541a29=_0x539e('0x5f')+_0x55ade1;_0x32fa52[_0x539e('0xe')](_0x449906,()=>{_0x1b80f4[_0x539e('0x60')][_0x539e('0x10')](_0x44f49e=>{const _0x111574=_0x3e0f3e[_0x539e('0xa')](_0x4d9fa5),_0x13b166=_0x111574[0x0]['findAncestor'](_0x539e('0x37'));let _0x4e0e98;if(_0x539e('0x7b')==_0x449906){const _0x11e97c=_0x3e0f3e['getRowIndexes'](_0x111574);_0x4e0e98={'startRow':_0x11e97c[_0x539e('0x52')],'endRow':_0x11e97c[_0x539e('0x39')],'includeAllSlots':!0x0};}else{const _0x28f611=_0x3e0f3e['getColumnIndexes'](_0x111574);_0x4e0e98={'startColumn':_0x28f611[_0x539e('0x52')],'endColumn':_0x28f611[_0x539e('0x39')],'includeAllSlots':!0x0};}const _0x53f41e=_0x3e0f3e[_0x539e('0x49')](_0x13b166,_0x4e0e98),_0x16b583=Array[_0x539e('0x72')](_0x53f41e)[_0x539e('0x4f')](({cell:_0x52e645})=>_0x52e645),_0x5a8a44=ue(_0x16b583[_0x539e('0x20')](_0x35e7ab=>_0x35e7ab[_0x539e('0xd')](_0x43f00e))),_0x4fe135=ue(_0x16b583['filter'](_0x486277=>!_0x486277[_0x539e('0xd')](_0x43f00e)))[_0x539e('0x4f')](_0x17ecf9=>_0x44f49e[_0x539e('0x5')](_0x17ecf9)),_0x45734b=_0x32fa52[_0x539e('0x80')](_0x4fe135,_0x251dbf);if(_0x45734b&&(_0x539e('0x66')==_0x45734b['subType']||_0x539e('0x12')==_0x45734b[_0x539e('0x1')])){const _0x5d705c=this[_0x539e('0x21')](_0x45734b);for(const _0x57d598 of _0x5a8a44){const _0x42ee79=_0x44f49e[_0x539e('0x5')](_0x57d598),_0x370209=_0x3e0f3e[_0x539e('0x1a')](_0x57d598),_0x525db8=_0x57d598[_0x539e('0x28')](_0x43f00e)-0x1,_0xff6090=_0x5d705c[_0x45cc08],_0x52bc11=_0x5d705c[_0x541a29];_0xff6090<=_0x370209[_0x157598]&&_0x370209[_0x157598]+_0x525db8<=_0x52bc11&&_0x45734b[_0x539e('0x77')](_0x42ee79);}}});});}function _0x438748(_0x301876){const _0x2d72bb=Array[_0x539e('0x72')](_0x4d9fa5['getRanges']())[_0x539e('0x4f')](_0x38c9af=>_0x4f04cd['fromRange'](_0x38c9af));_0x1b80f4[_0x539e('0x60')][_0x539e('0x10')](_0x213f75=>{const _0x51a39f=_0x213f75[_0x539e('0x58')];_0x301876=_0x301876[_0x539e('0x20')](_0x5d8dce=>_0x539e('0x7e')!=_0x5d8dce[_0x539e('0x38')][_0x539e('0x63')]),_0x213f75['setSelection'](_0x301876),_0x1b80f4[_0x539e('0x6f')]['get'](_0x539e('0x7b'))[_0x539e('0x1f')](),_0x1b80f4['execute'](_0x539e('0x7b'),{'forceDefaultExecution':!0x0}),_0x1b80f4[_0x539e('0x60')][_0x539e('0x57')](()=>{_0x1b80f4[_0x539e('0x60')][_0x539e('0x57')](_0x51a39f,_0x156342=>{const _0x2c75e1=_0x2d72bb[_0x539e('0x20')](_0x5358d3=>_0x539e('0x7e')!=_0x5358d3[_0x539e('0x38')][_0x539e('0x63')]);_0x2c75e1[_0x539e('0x16')]>0x0&&_0x156342['setSelection'](_0x2c75e1);for(const _0x1e226f of _0x2d72bb)_0x1e226f[_0x539e('0x35')]();});});});}function _0x795df7(_0x5f434f){_0x1b80f4[_0x539e('0x60')][_0x539e('0x10')](_0x4cb244=>{const _0x1d52b1=Array['from'](_0x4d9fa5[_0x539e('0x19')]())[_0x539e('0x4f')](_0x4411bb=>_0x4f04cd['fromRange'](_0x4411bb)),_0x58d1b4=[];for(const _0x27d9aa of _0x5f434f)for(const _0x475d7a of _0x27d9aa[_0x539e('0x48')]({'shallow':!0x0}))_0x58d1b4[_0x539e('0x7c')](_0x475d7a);for(const _0x5a2d39 of _0x58d1b4)_0x539e('0x7e')!=_0x5a2d39[_0x539e('0x38')]['rootName']&&(_0x4cb244[_0x539e('0x71')](_0x4cb244[_0x539e('0x1b')](_0x5a2d39,0x0)),_0x1b80f4[_0x539e('0x6f')][_0x539e('0x32')](_0x539e('0x3d'))[_0x539e('0x1f')](),_0x1b80f4[_0x539e('0x73')](_0x539e('0x3d'),{'forceDefaultExecution':!0x0}));const _0x147b36=_0x1d52b1[_0x539e('0x20')](_0x5165e0=>_0x539e('0x7e')!=_0x5165e0[_0x539e('0x38')][_0x539e('0x63')]);_0x147b36[_0x539e('0x16')]>0x0&&_0x4cb244['setSelection'](_0x147b36);for(const _0x27c612 of _0x1d52b1)_0x27c612[_0x539e('0x35')]();});}function _0x55b7e7(_0x1a62c2,_0x6917d7){return _0x6917d7['every'](_0xc0bc4=>_0x1a62c2[_0x539e('0x47')](_0x3ec026=>_0x3ec026[_0x539e('0x79')]['isEqual'](_0xc0bc4[_0x539e('0x7a')])||_0xc0bc4[_0x539e('0x79')][_0x539e('0x25')](_0x3ec026[_0x539e('0x7a')])));}function _0x256c2d(_0x4e9fd9,_0xc3ec8a){return _0x4e9fd9[_0x539e('0x47')](_0x8f12eb=>_0xc3ec8a[_0x539e('0x47')](_0x1b434b=>_0x8f12eb[_0x539e('0x79')]['isTouching'](_0x1b434b[_0x539e('0x7a')])));}_0x1b80f4[_0x539e('0x5a')]['downcastDispatcher']['on'](_0x539e('0x87'),(_0x45f66f,_0x4a679b,_0x15dc6e)=>{if(!_0x15dc6e[_0x539e('0x3e')][_0x539e('0x69')])return;const _0x2c192f=_0x4a679b[_0x539e('0x7f')];if(!_0x2c192f)return;const _0x3452f9=_0x15dc6e[_0x539e('0x68')][_0x539e('0x3f')](_0x2c192f);function _0x298458(_0x21eb27){return Array[_0x539e('0x6e')](_0x21eb27)?_0x21eb27:[_0x21eb27];}_0x3452f9&&_0x539e('0x4a')===_0x2c192f[_0x539e('0x3c')]&&_0x39d13f(_0x3452f9,_0x15dc6e[_0x539e('0x70')],(_0x4b3a1f,_0x5ab309,_0x3795d5)=>_0x3795d5[_0x539e('0x2')](_0x298458(_0x5ab309[_0x539e('0x31')]),_0x4b3a1f),(_0x535670,_0x5b6150,_0x3afdf6)=>_0x3afdf6[_0x539e('0x4e')](_0x298458(_0x5b6150[_0x539e('0x31')]),_0x535670));},{'priority':_0x539e('0x83')}),_0x32fa52[_0x539e('0x13')][_0x539e('0x64')](_0x289cfb=>{if(_0x539e('0x42')!=_0x289cfb[_0x539e('0x15')]&&_0x539e('0x22')!=_0x289cfb[_0x539e('0x15')])return;const _0x39f089=_0x289cfb[_0x539e('0x6d')]();if(null!=_0x39f089&&_0x39f089['is']('element',_0x539e('0x37'))){if(_0x539e('0x42')==_0x289cfb['type']){const _0x31ddfc=_0x289cfb[_0x539e('0x48')]()[_0x539e('0x20')](_0x3fc5d4=>_0x3fc5d4['is'](_0x539e('0x5b')))[_0x539e('0x4f')](_0xe0f7f8=>_0xe0f7f8[_0x539e('0x5a')]);if(_0x31ddfc['length'])return{'type':_0x539e('0x42'),'content':_0x57d05b(_0x554f88,_0x539e('0x59'),_0x57d05b(_0x554f88,_0x539e('0x26'),'\x22'+_0x31ddfc[_0x539e('0x76')]('\x20')+'\x22'))};}if('deletion'==_0x289cfb[_0x539e('0x15')]){const _0x7c3af7=_0x289cfb['getItems']()['filter'](_0x405c2e=>_0x405c2e['is']('$textProxy'))['map'](_0x306eae=>_0x306eae[_0x539e('0x5a')]);if(_0x7c3af7['length'])return{'type':'deletion','content':_0x57d05b(_0x554f88,_0x539e('0xf'),_0x57d05b(_0x554f88,_0x539e('0x26'),'\x22'+_0x7c3af7[_0x539e('0x76')]('\x20')+'\x22'))};}}}),_0x32fa52[_0x539e('0x13')][_0x539e('0x64')](_0x39cb24=>{if('tableRow'==_0x39cb24[_0x539e('0x1')]){const _0x3e8b12=_0x39cb24[_0x539e('0x48')]()[_0x539e('0x20')](_0x177d08=>_0x177d08['is']('$textProxy'))[_0x539e('0x4f')](_0x33305c=>_0x33305c['data']),_0x437760=this[_0x539e('0x21')](_0x39cb24),_0x1a3be3=_0x437760[_0x539e('0x84')]-_0x437760[_0x539e('0x18')]+0x1;if(_0x539e('0x42')==_0x39cb24[_0x539e('0x15')])return _0x3e8b12[_0x539e('0x16')]?{'type':_0x539e('0x42'),'content':_0x57d05b(_0x554f88,'*Insert:*\x20%0',_0x57d05b(_0x554f88,_0x539e('0x23'),[_0x1a3be3,'\x22'+_0x3e8b12[_0x539e('0x76')]('\x20')+'\x22']))}:{'type':_0x539e('0x42'),'content':_0x57d05b(_0x554f88,_0x539e('0x59'),_0x57d05b(_0x554f88,_0x539e('0x2c'),_0x1a3be3))};if(_0x539e('0x22')==_0x39cb24[_0x539e('0x15')])return _0x3e8b12[_0x539e('0x16')]?{'type':'deletion','content':_0x57d05b(_0x554f88,_0x539e('0xf'),_0x57d05b(_0x554f88,_0x539e('0x23'),[_0x1a3be3,'\x22'+_0x3e8b12[_0x539e('0x76')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x57d05b(_0x554f88,_0x539e('0xf'),_0x57d05b(_0x554f88,_0x539e('0x2c'),_0x1a3be3))};}if(_0x539e('0x12')==_0x39cb24[_0x539e('0x1')]){const _0x1e04f7=_0x39cb24[_0x539e('0x48')]()[_0x539e('0x20')](_0x45a734=>_0x45a734['is']('$textProxy'))['map'](_0x299cfa=>_0x299cfa[_0x539e('0x5a')]),_0x4fa74c=this[_0x539e('0x21')](_0x39cb24),_0x320189=_0x4fa74c[_0x539e('0x1d')]-_0x4fa74c[_0x539e('0x5d')]+0x1;if(_0x539e('0x42')==_0x39cb24[_0x539e('0x15')])return _0x1e04f7['length']?{'type':'insertion','content':_0x57d05b(_0x554f88,_0x539e('0x59'),_0x57d05b(_0x554f88,_0x539e('0x78'),[_0x320189,'\x22'+_0x1e04f7[_0x539e('0x76')]('\x20')+'\x22']))}:{'type':_0x539e('0x42'),'content':_0x57d05b(_0x554f88,_0x539e('0x59'),_0x57d05b(_0x554f88,_0x539e('0x14'),_0x320189))};if('deletion'==_0x39cb24[_0x539e('0x15')])return _0x1e04f7[_0x539e('0x16')]?{'type':'deletion','content':_0x57d05b(_0x554f88,_0x539e('0xf'),_0x57d05b(_0x554f88,_0x539e('0x78'),[_0x320189,'\x22'+_0x1e04f7['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x57d05b(_0x554f88,_0x539e('0xf'),_0x57d05b(_0x554f88,'ELEMENT_TABLE_COLUMN',_0x320189))};}}),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')]('insertion','tableRow',_0x539e('0xb'),_0x438748),_0x32fa52[_0x539e('0x7d')]['registerCustomCallback'](_0x539e('0x22'),_0x539e('0x66'),'accept',_0x438748),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')](_0x539e('0x42'),_0x539e('0x12'),'discard',_0x795df7),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')](_0x539e('0x22'),_0x539e('0x12'),'accept',_0x795df7),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')]('insertion',_0x539e('0x12'),_0x539e('0x76'),_0x55b7e7),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')]('deletion',_0x539e('0x12'),_0x539e('0x76'),_0x55b7e7),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')](_0x539e('0x42'),_0x539e('0x66'),_0x539e('0x76'),_0x256c2d),_0x32fa52[_0x539e('0x7d')][_0x539e('0x65')](_0x539e('0x22'),'tableRow',_0x539e('0x76'),_0x256c2d);}['_acceptFormatSuggestionCallbackFactory'](){const _0x5597ed=this[_0x539e('0x5e')],_0x333dc2=_0x5597ed[_0x539e('0x60')][_0x539e('0x67')][_0x539e('0x45')];return(_0x55816b,_0x1bb7fc)=>{_0x5597ed[_0x539e('0x60')]['change'](_0x20c38e=>{const {commandName:_0x4ec8f1,commandParams:_0x8dac0a}=_0x1bb7fc;let _0x5745f8=_0x55816b[0x0][_0x539e('0x79')]['nodeBefore'];_0x8dac0a&&_0x8dac0a[0x0]&&!0x1===_0x8dac0a[0x0][_0x539e('0x24')]&&(_0x5745f8=_0x55816b[0x0]['start'][_0x539e('0x4c')]);const _0x52bae7=_0x20c38e[_0x539e('0x30')](_0x5745f8);if(_0x539e('0x7e')==_0x52bae7['root'][_0x539e('0x63')])return;const _0x288bc8=Array[_0x539e('0x72')](_0x333dc2[_0x539e('0x19')]())['map'](_0x5aef30=>_0x4f04cd[_0x539e('0x85')](_0x5aef30));_0x20c38e['setSelection'](_0x52bae7),_0x5597ed['commands'][_0x539e('0x32')](_0x4ec8f1)[_0x539e('0x1f')](),_0x8dac0a[_0x539e('0x7c')]({'forceDefaultExecution':!0x0}),_0x5597ed[_0x539e('0x73')](_0x4ec8f1,..._0x8dac0a);const _0x42b0a1=_0x288bc8[_0x539e('0x20')](_0x31e2c7=>'$graveyard'!=_0x31e2c7[_0x539e('0x38')][_0x539e('0x63')]);_0x42b0a1[_0x539e('0x16')]>0x0&&_0x20c38e[_0x539e('0x71')](_0x42b0a1);for(const _0x5cd587 of _0x288bc8)_0x5cd587[_0x539e('0x35')]();});};}['_getCoordsForCells'](_0x5b0c28){const _0x66b227=this[_0x539e('0x5e')][_0x539e('0x29')][_0x539e('0x32')](_0x539e('0x51'));let _0x3f483b=Number[_0x539e('0x81')],_0x14993b=Number['MIN_SAFE_INTEGER'],_0x462079=Number[_0x539e('0x81')],_0x5eca02=Number[_0x539e('0x54')];for(const _0x2d7ddd of _0x5b0c28){if('$graveyard'==_0x2d7ddd[_0x539e('0x38')][_0x539e('0x63')])continue;const {row:_0x122185,column:_0x3a75c6}=_0x66b227[_0x539e('0x1a')](_0x2d7ddd),_0x499026=_0x2d7ddd['hasAttribute'](_0x539e('0x46'))?_0x2d7ddd['getAttribute'](_0x539e('0x46'))-0x1:0x0,_0x2ad897=_0x2d7ddd[_0x539e('0xd')](_0x539e('0x41'))?_0x2d7ddd[_0x539e('0x28')](_0x539e('0x41'))-0x1:0x0;_0x3f483b=_0x122185<_0x3f483b?_0x122185:_0x3f483b,_0x14993b=_0x122185+_0x499026>_0x14993b?_0x122185+_0x499026:_0x14993b,_0x462079=_0x3a75c6<_0x462079?_0x3a75c6:_0x462079,_0x5eca02=_0x3a75c6+_0x2ad897>_0x5eca02?_0x3a75c6+_0x2ad897:_0x5eca02;}return{'minRow':_0x3f483b,'maxRow':_0x14993b,'minColumn':_0x462079,'maxColumn':_0x5eca02};}[_0x539e('0x33')](){const _0x2b0ee5=this[_0x539e('0x5e')],_0x54e6db=_0x2b0ee5['plugins']['get']('TrackChangesEditing'),_0x5b4a7a=_0x2b0ee5[_0x539e('0x29')][_0x539e('0x32')](_0x539e('0x51'));_0x2b0ee5[_0x539e('0x60')][_0x539e('0x67')]['on'](_0x539e('0x50'),()=>{const _0xc72b54=Array['from'](_0x2b0ee5['model'][_0x539e('0x67')][_0x539e('0x82')][_0x539e('0x4')]());for(const {name:_0x32b301,data:_0x8cd538}of _0xc72b54){const {group:_0x1ab37f,id:_0x5253ce,subType:_0x2a40e3}=_0x54e6db['_splitMarkerName'](_0x32b301);if(_0x539e('0x75')!=_0x1ab37f)continue;if(null!=_0x8cd538[_0x539e('0x6a')])continue;const _0x27b498=_0x54e6db['getSuggestion'](_0x5253ce);this['_tablePostFixingSubtypes'][_0x539e('0x2a')](_0x2a40e3)&&this[_0x539e('0x7')]['add'](_0x27b498);}},{'priority':_0x539e('0x27')});const _0x5d8097=(_0x8ffb3b,_0x1dcf55)=>{let _0x10ef3e=!0x1;const _0x5439f1=_0x1dcf55['createRangeOn'](_0x8ffb3b),_0x56724f=_0x8ffb3b['findAncestor'](_0x539e('0x37')),_0x1fae7e=_0x5b4a7a[_0x539e('0x1a')](_0x8ffb3b);for(const _0x36a581 of this[_0x539e('0x7')]){const _0x1aa0f1=_0x36a581[_0x539e('0x1')],_0x586a74=_0x1aa0f1[_0x539e('0x11')](_0x539e('0x5c')),_0x3631bb=_0x1aa0f1[_0x539e('0x2e')](_0x586a74?0xa:0x5),_0x4de497=_0x3631bb[_0x539e('0x2d')](),_0xf3efcf=_0x4de497[_0x539e('0x2e')](0x0,0x3)+_0x539e('0x3a'),_0x5db491=_0x539e('0x56')+_0x3631bb,_0x52de88=_0x539e('0x5f')+_0x3631bb;if(!_0x36a581[_0x539e('0x40')])continue;if(_0x56724f!=_0x36a581[_0x539e('0x9')]()['start'][_0x539e('0x4b')]('table'))continue;if(_0x36a581['isIntersectingWithRange'](_0x5439f1))continue;const _0x1168a7=_0x8ffb3b['hasAttribute'](_0xf3efcf)?_0x8ffb3b[_0x539e('0x28')](_0xf3efcf)-0x1:0x0,_0x2f2973=this[_0x539e('0x21')](_0x36a581),_0x1fc92d=_0x2f2973[_0x5db491],_0x33e3ee=_0x2f2973[_0x52de88];_0x1fc92d<=_0x1fae7e[_0x4de497]&&_0x1fae7e[_0x4de497]+_0x1168a7<=_0x33e3ee&&(_0x36a581[_0x539e('0x77')](_0x5439f1),_0x10ef3e=!0x0);}return _0x10ef3e;};_0x2b0ee5['model'][_0x539e('0x67')][_0x539e('0x8')](_0x3816e6=>{let _0x20ac91=!0x1;for(const _0x3d0ba1 of _0x2b0ee5[_0x539e('0x60')][_0x539e('0x67')][_0x539e('0x82')][_0x539e('0x62')]())if(_0x539e('0x1c')==_0x3d0ba1[_0x539e('0x15')]){if(_0x539e('0x66')==_0x3d0ba1[_0x539e('0x3c')])for(const _0x3a07d2 of _0x3d0ba1[_0x539e('0x53')]['nodeAfter'][_0x539e('0x0')]())_0x20ac91=_0x20ac91||_0x5d8097(_0x3a07d2,_0x3816e6);else _0x539e('0x4a')==_0x3d0ba1[_0x539e('0x3c')]&&(_0x20ac91=_0x20ac91||_0x5d8097(_0x3d0ba1['position'][_0x539e('0x4c')],_0x3816e6));}return _0x20ac91;});}[_0x539e('0x21')](_0x5ee8cb){return this[_0x539e('0x36')](_0x5ee8cb[_0x539e('0x19')]()[_0x539e('0x4f')](_0xae0dd0=>_0xae0dd0[_0x539e('0x7a')][_0x539e('0x4c')]));}}function ue(_0x56af6c){return Array[_0x539e('0x72')](new Set(_0x56af6c)[_0x539e('0x1e')]());}
|
|
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')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
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'));}}
|