@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240204.0 → 0.0.0-nightly-20240206.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 _0x73d6=['detach','documentList','meta','groupId','_registerLegacyDescription','getFirstMarker','FORMAT_INDENT','outdentList','getFirstRange','*Merge:*\x20%0','editor','listType','default','indentList','getAttribute','length','_descriptionFactory','nodeAfter','ELEMENT_BULLETED_LIST','batch','_suggestionFactory','change','oldValue','listStart','ELEMENT_TODO_LIST','getSuggestions','registerDescriptionCallback','data','numbered','setAttribute','document','*Format:*\x20remove\x20from\x20%0','removeMarker','mergeListItemBackward','*Outdent:*\x20%0','start','head','schema','registerElementLabel','includes','ELEMENT_LIST_ITEM','type','listIndent','isNextTo','commandParams','ELEMENT_NUMBERED_LIST','registerAttributeLabel','mergeListItemForward','model','previousSibling','map','TrackChangesEditing','*Merge:*\x20list\x20item','*Format:*\x20insert\x20into\x20%0','attributes','plugins','listReversed','_getAttributeKey','multipleBlocks','isLocal','refresh','value','createPositionAt','key','next','newValue','_findSuggestions','parent','format','listStyle','_enableDefaultAttributesIntegration','formatBlock','registerPostFixer','TodoListEditing','getRanges','*Set\x20format:*\x20%0','find','listItemIdFixer','registerCustomCallback','noTrackChangesFixer','todo','todoList','every','range','ListEditing','end','todoListChecked','fromRange','toUpperCase','listItemId','filter','*Remove\x20format:*\x20%0','bulleted','commandName','numberedList','list.multiBlock','has','splitListItemAfter','splitListItemBefore','*Indent:*\x20%0','get','isObject','commands','differ','getChanges','createRange','forceValue','deletion','config','selection','isUndo','setSelection','locale','attribute','bulletedList','*Split:*\x20list\x20item','suggestion','assureChains'];(function(_0x1abaff,_0x73d6a6){const _0x5d74f1=function(_0x340912){while(--_0x340912){_0x1abaff['push'](_0x1abaff['shift']());}};_0x5d74f1(++_0x73d6a6);}(_0x73d6,0xd4));const _0x5d74=function(_0x1abaff,_0x73d6a6){_0x1abaff=_0x1abaff-0x0;let _0x5d74f1=_0x73d6[_0x1abaff];return _0x5d74f1;};import{Plugin as _0x44471b}from'ckeditor5/src/core.js';import{getTranslation as _0x3e48f6}from'../utils/common-translations.js';import{renameAttributeKey as _0x58965e}from'../trackchangesediting.js';import{LiveRange as _0x406546}from'ckeditor5/src/engine.js';export default class z extends _0x44471b{['afterInit'](){const _0x2bf092=this[_0x5d74('0x22')];if(!_0x2bf092[_0x5d74('0x4f')][_0x5d74('0x2')](_0x5d74('0x6c')))return;const _0x515ffa=_0x2bf092[_0x5d74('0x12')],_0x1004d4=_0x2bf092['plugins'][_0x5d74('0x6')](_0x5d74('0x4b')),_0x3bc50e=_0x2bf092[_0x5d74('0x4f')][_0x5d74('0x2')](_0x5d74('0x61')),_0x32e10b=!!_0x2bf092[_0x5d74('0xe')][_0x5d74('0x6')](_0x5d74('0x1'));function _0x51fc58(_0x1df817){return{'type':_0x5d74('0x5c'),'content':''+_0x3e48f6(_0x515ffa,_0x5d74('0x63'),_0x1df817)};}function _0x10fbd4(_0x2a24dd){return{'type':_0x5d74('0x5c'),'content':''+_0x3e48f6(_0x515ffa,_0x5d74('0x73'),_0x2a24dd)};}_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x0'),[],[_0x5d74('0x71'),_0x5d74('0x23'),_0x5d74('0x42')]),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x14')),_0x1004d4[_0x5d74('0x5e')]('indentList'),_0x1004d4['_enableDefaultAttributesIntegration'](_0x5d74('0x1f')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x3')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x4')),_0x32e10b&&(_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x39')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x47'))),_0x3bc50e&&(_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x69')),_0x1004d4['_enableDefaultAttributesIntegration']('checkTodoList',[],[_0x5d74('0x6e')]),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0x4cf67f=>{const {data:_0x372dbb}=_0x4cf67f;if(_0x372dbb&&'todoListChecked'==_0x372dbb[_0x5d74('0x57')])return{'type':_0x5d74('0x5c'),'content':_0x372dbb[_0x5d74('0x59')]?_0x3e48f6(_0x515ffa,'*Check\x20item*'):_0x3e48f6(_0x515ffa,'*Uncheck\x20item*')};}),this[_0x5d74('0x22')][_0x5d74('0x48')]['document']['registerPostFixer'](_0x483901=>{if(_0x483901[_0x5d74('0x2b')][_0x5d74('0x10')])return!0x1;let _0x572250=!0x1;const _0x4f6e20=_0x1004d4[_0x5d74('0x31')]({'skipNotAttached':!0x0})[_0x5d74('0x72')](_0x420f64=>_0x5d74('0x6e')===_0x1004d4[_0x5d74('0x51')](_0x420f64));for(const _0x2fcaa8 of _0x4f6e20){_0x5d74('0x68')!=_0x2fcaa8['getFirstRange']()[_0x5d74('0x3b')][_0x5d74('0x29')][_0x5d74('0x26')](_0x5d74('0x23'))&&(_0x1004d4['_findSuggestions'](_0x2fcaa8[_0x5d74('0x20')](),_0x5d74('0x13'))[_0x5d74('0x64')](_0x4c59a9=>_0x5d74('0x23')===_0x1004d4['_getAttributeKey'](_0x4c59a9[_0x5d74('0x16')]))||(_0x483901['removeMarker'](_0x2fcaa8['getFirstMarker']()),_0x572250=!0x0));}return _0x572250;})),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x46')]('listIndent',_0x3e48f6(_0x515ffa,_0x5d74('0x1e')));const _0x1b7d12={'type':'format','content':''};_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0x433bd8=>{const {data:_0x1b7976}=_0x433bd8;if(!_0x1b7976||_0x5d74('0x23')!=_0x1b7976[_0x5d74('0x57')])return;let _0x1dad11=_0x433bd8[_0x5d74('0x3c')];for(;_0x1dad11;){if(_0x1dad11[_0x5d74('0x33')]&&(_0x5d74('0x5d')==_0x1dad11[_0x5d74('0x33')][_0x5d74('0x57')]&&(_0x1dad11[_0x5d74('0x33')][_0x5d74('0x59')]&&_0x5d74('0x24')!=_0x1dad11[_0x5d74('0x33')]['newValue']||_0x5d74('0x24')!=_0x1dad11[_0x5d74('0x33')][_0x5d74('0x2e')]&&!_0x1b7976['newValue'])||!_0x32e10b&&_0x1dad11[_0x5d74('0x33')][_0x5d74('0x57')]==_0x58965e))return _0x1b7d12;_0x1dad11=_0x1dad11[_0x5d74('0x58')];}if(null==_0x1b7976['newValue'])switch(_0x1b7976[_0x5d74('0x2e')]){case _0x5d74('0x74'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x2a')));case _0x5d74('0x34'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x45')));case _0x5d74('0x68'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x30')));}switch(_0x1b7976['newValue']){case _0x5d74('0x74'):return _0x51fc58(_0x3e48f6(_0x515ffa,'ELEMENT_BULLETED_LIST'));case _0x5d74('0x34'):return _0x51fc58(_0x3e48f6(_0x515ffa,_0x5d74('0x45')));case _0x5d74('0x68'):return _0x51fc58(_0x3e48f6(_0x515ffa,'ELEMENT_TODO_LIST'));}}),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0xe4fb7f=>{const {data:_0x45a159}=_0xe4fb7f;if(_0x45a159&&'listIndent'==_0x45a159['key'])return null==_0x45a159[_0x5d74('0x59')]||null==_0x45a159[_0x5d74('0x2e')]&&0x0==_0x45a159[_0x5d74('0x59')]?_0x1b7d12:void 0x0;}),_0x1004d4['_descriptionFactory'][_0x5d74('0x32')](_0x585a66=>{if(_0x5d74('0x13')!=_0x585a66['type'])return;const {data:_0x900c19}=_0x585a66;if(!_0x900c19||_0x5d74('0x71')!=_0x900c19[_0x5d74('0x57')])return;const _0x3394cc=ie(_0x585a66);return _0x3394cc?'newValue'==_0x3394cc?{'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x515ffa,_0x5d74('0x4c'))}:_0x5d74('0x2e')==_0x3394cc?{'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x515ffa,_0x5d74('0x15'))}:_0x1b7d12:_0x1b7d12;}),_0x2bf092['model']['document'][_0x5d74('0x60')](_0x5a80a1=>this[_0x5d74('0x65')](_0x5a80a1)),_0x2bf092[_0x5d74('0x48')][_0x5d74('0x36')]['registerPostFixer'](_0x3c30bc=>this[_0x5d74('0x67')](_0x3c30bc)),_0x2bf092['model'][_0x5d74('0x36')][_0x5d74('0x60')](_0x151a3c=>this[_0x5d74('0x17')](_0x151a3c)),this['_supportLegacySuggestions']();}[_0x5d74('0x65')](_0x6d3b9){if(_0x6d3b9[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x6d3b9['batch']['isLocal'])return!0x1;let _0x21ea1f=!0x1;const _0x25eddf=this['editor'][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'))[_0x5d74('0x31')]({'skipNotAttached':!0x0})['filter'](_0xe51416=>_0xe51416[_0x5d74('0x33')]&&'listItemId'==_0xe51416['data'][_0x5d74('0x57')])['filter'](_0x77db38=>_0x77db38['data'][_0x5d74('0x59')]&&_0x77db38['data']['oldValue']);for(const _0x2f1ceb of _0x25eddf)ie(_0x2f1ceb)||(_0x6d3b9[_0x5d74('0x38')](_0x2f1ceb['getFirstMarker']()),_0x21ea1f=!0x0);return _0x21ea1f;}['noTrackChangesFixer'](_0x38b244){if(_0x38b244[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x38b244['batch'][_0x5d74('0x53')])return!0x1;const _0x27ce28=this[_0x5d74('0x22')][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'));if(_0x27ce28['trackChangesCommand'][_0x5d74('0x55')])return!0x1;let _0x27d34e=!0x1;const _0x268978=['listType','listStyle',_0x5d74('0x71'),_0x5d74('0x42'),'listStart',_0x5d74('0x50'),'todoListCheck'],_0x23c1f4=this[_0x5d74('0x22')]['model']['document'][_0x5d74('0x9')][_0x5d74('0xa')]()[_0x5d74('0x72')](_0x30b31a=>'attribute'==_0x30b31a['type'])[_0x5d74('0x72')](_0x4c5297=>_0x268978[_0x5d74('0x3f')](_0x4c5297['attributeKey']));if(0x0==_0x23c1f4[_0x5d74('0x27')])return _0x27d34e;for(const _0x52358a of _0x23c1f4){const _0xed63ea=_0x27ce28[_0x5d74('0x5a')](_0x52358a[_0x5d74('0x6b')],_0x5d74('0x13'))[_0x5d74('0x72')](_0x3ebddc=>!_0x3ebddc[_0x5d74('0x1a')][_0x5d74('0x43')])[_0x5d74('0x4a')](_0x575c35=>_0x575c35[_0x5d74('0x16')])[_0x5d74('0x72')](_0x44e7f8=>{const _0x144911=_0x27ce28[_0x5d74('0x51')](_0x44e7f8);return _0x268978[_0x5d74('0x3f')](_0x144911);});if(_0xed63ea[_0x5d74('0x27')]){for(const _0x26b722 of _0xed63ea)_0x38b244[_0x5d74('0x38')](_0x26b722[_0x5d74('0x1d')]());_0x27d34e=!0x0;}}return _0x27d34e;}[_0x5d74('0x17')](_0x3f1d4d){if(_0x3f1d4d[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x3f1d4d[_0x5d74('0x2b')][_0x5d74('0x53')])return!0x1;const _0x589e5b=this[_0x5d74('0x22')][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'));let _0x2c5398=!0x1;const _0x377273=[_0x5d74('0x23'),_0x5d74('0x5d'),'listItemId','listIndent',_0x5d74('0x2f'),_0x5d74('0x50'),'todoListCheck'];for(const _0x30a38e of _0x589e5b[_0x5d74('0x31')]({'skipNotAttached':!0x0})){const _0x5aad9c=_0x589e5b[_0x5d74('0x5a')](_0x30a38e[_0x5d74('0x20')](),_0x5d74('0x13'))[_0x5d74('0x4a')](_0x391e2a=>_0x391e2a['suggestion'])[_0x5d74('0x72')](_0x11db7f=>_0x11db7f['data']&&_0x377273[_0x5d74('0x3f')](_0x11db7f[_0x5d74('0x33')][_0x5d74('0x57')]));if(!_0x5aad9c[_0x5d74('0x27')])continue;const _0x370fb7=_0x5aad9c[0x0][_0x5d74('0x3c')][_0x5d74('0x4e')][_0x5d74('0x1b')];if(!_0x5aad9c[_0x5d74('0x6a')](_0x278adc=>_0x278adc[_0x5d74('0x4e')][_0x5d74('0x1b')]===_0x370fb7))for(const _0x47a0ea of _0x5aad9c)_0x4614b2(_0x47a0ea,_0x370fb7)&&(_0x2c5398=!0x0);}return _0x2c5398;function _0x486683(_0x495777,_0x2f3015){for(const _0x10cbc8 of _0x589e5b[_0x5d74('0x31')]({'skipNotAttached':!0x0})['filter'](_0x3fcc94=>_0x5d74('0x13')==_0x3fcc94[_0x5d74('0x41')]&&_0x3fcc94['attributes']['groupId']==_0x495777))_0x10cbc8[_0x5d74('0x35')](_0x5d74('0x1b'),_0x2f3015);}function _0x4614b2(_0x2ce6fb,_0x250fcd){let _0xbbd21=_0x2ce6fb[_0x5d74('0x3c')],_0x2fb222=!0x1;for(;_0xbbd21;)_0xbbd21[_0x5d74('0x4e')][_0x5d74('0x1b')]!=_0x250fcd&&(_0x486683(_0xbbd21['attributes'][_0x5d74('0x1b')],_0x250fcd),_0xbbd21['setAttribute'](_0x5d74('0x1b'),_0x250fcd),_0x2fb222=!0x0),_0xbbd21=_0xbbd21[_0x5d74('0x58')];return _0x2fb222;}}['_supportLegacySuggestions'](){const _0x16b3ad=this['editor'],_0x11ec77=_0x16b3ad[_0x5d74('0x12')],_0xfd0934=_0x16b3ad[_0x5d74('0x4f')]['get'](_0x5d74('0x4b'));this[_0x5d74('0x1c')](),_0xfd0934[_0x5d74('0x2c')][_0x5d74('0x66')](_0x5d74('0x5f'),_0x5d74('0x19'),'accept',function(_0x2e1f83,_0x5be084){const _0x37826e=[];for(let _0x460e4d of _0x2e1f83)_0x460e4d[_0x5d74('0x3b')][_0x5d74('0x29')]===_0x460e4d[_0x5d74('0x6d')][_0x5d74('0x5b')]&&(_0x460e4d=_0x16b3ad[_0x5d74('0x48')][_0x5d74('0xb')](_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x56')](_0x460e4d['start'][_0x5d74('0x29')],0x0))),_0x37826e['push'](_0x460e4d);_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x2d')](_0x2204f9=>{const _0x116b34=_0x16b3ad['model'][_0x5d74('0x36')][_0x5d74('0xf')],_0x3d3fda=Array['from'](_0x116b34[_0x5d74('0x62')]())['map'](_0x23101c=>_0x406546[_0x5d74('0x6f')](_0x23101c));_0x2204f9[_0x5d74('0x11')](_0x37826e),_0x16b3ad[_0x5d74('0x8')][_0x5d74('0x6')](_0x5be084[_0x5d74('0x75')])[_0x5d74('0x54')](),_0x5be084[_0x5d74('0x44')]['push']({'forceDefaultExecution':!0x0}),_0x16b3ad['execute'](_0x5be084[_0x5d74('0x75')],..._0x5be084[_0x5d74('0x44')]),_0x2204f9[_0x5d74('0x11')](_0x3d3fda);for(const _0x50e8e6 of _0x3d3fda)_0x50e8e6[_0x5d74('0x18')]();});}),_0xfd0934[_0x5d74('0x28')][_0x5d74('0x3e')](function(_0x5990d7){const _0x3cd945=!_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x3d')][_0x5d74('0x7')](_0x5990d7),_0x447263=_0x5990d7[_0x5d74('0x49')],_0x29fc77=_0x5990d7['nextSibling'],_0x4bed0d=_0x5990d7[_0x5d74('0x26')](_0x5d74('0x71')),_0x56561d=!_0x447263||_0x447263[_0x5d74('0x26')]('listItemId')!==_0x4bed0d,_0x305932=!_0x29fc77||_0x29fc77[_0x5d74('0x26')](_0x5d74('0x71'))!==_0x4bed0d;return _0x3cd945&&Boolean(_0x4bed0d)&&_0x56561d&&_0x305932;},_0x38e943=>_0x3e48f6(_0x11ec77,'ELEMENT_LIST_ITEM',_0x38e943));}[_0x5d74('0x1c')](){const _0xa69b2e=this[_0x5d74('0x22')],_0x2a2987=_0xa69b2e[_0x5d74('0x12')];function _0x43094b(_0x31f93b){const _0x54df39=_0xa69b2e['commands']['get'](_0x5d74('0x14'))['value'],_0x42805d=_0xa69b2e[_0x5d74('0x8')][_0x5d74('0x6')](_0x5d74('0x0'))['value'];return _0x5d74('0x0')===_0x31f93b?_0x54df39:_0x42805d;}_0xa69b2e[_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'))[_0x5d74('0x28')][_0x5d74('0x32')](function(_0x3fc356){if(_0x5d74('0x5f')!=_0x3fc356[_0x5d74('0x41')])return;const {data:_0xb9ce7b}=_0x3fc356;if(!_0xb9ce7b)return;let _0x13b2eb,_0x52cf90,_0x58e0c9,_0x1e6967;switch(_0xb9ce7b['commandName']){case'bulletedList':_0x58e0c9=_0xb9ce7b[_0x5d74('0x44')][0x0][_0x5d74('0xc')],_0x1e6967=_0x43094b(_0xb9ce7b[_0x5d74('0x75')]),_0x13b2eb=_0x58e0c9?_0x5d74('0x4d'):_0x5d74('0x37'),!_0x1e6967&&_0xa69b2e[_0x5d74('0xe')]['get']('list.multiBlock')||(_0x13b2eb='*Change\x20to:*\x20%0'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x2a')))};break;case _0x5d74('0x0'):_0x58e0c9=_0xb9ce7b['commandParams'][0x0][_0x5d74('0xc')],_0x1e6967=_0x43094b(_0xb9ce7b['commandName']),_0x13b2eb=_0x58e0c9?_0x5d74('0x4d'):'*Format:*\x20remove\x20from\x20%0',!_0x1e6967&&_0xa69b2e[_0x5d74('0xe')][_0x5d74('0x6')]('list.multiBlock')||(_0x13b2eb='*Change\x20to:*\x20%0'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,'ELEMENT_NUMBERED_LIST'))};break;case _0x5d74('0x25'):_0x13b2eb=_0x5d74('0x5'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x40')))};break;case _0x5d74('0x1f'):_0x13b2eb=function(_0x59bcc5){const _0x436c52=_0x59bcc5[_0x5d74('0x20')]();let _0x1f82a2=_0x436c52[_0x5d74('0x3b')][_0x5d74('0x29')];for(;_0x1f82a2&&_0x436c52['containsItem'](_0x1f82a2);){if(_0x1f82a2['getAttribute'](_0x5d74('0x42'))>0x0)return!0x1;_0x1f82a2=_0x1f82a2['nextSibling'];}return!0x0;}(_0x3fc356)?_0x3e48f6(_0x2a2987,_0x5d74('0x37'),_0x3e48f6(_0x2a2987,function(_0x49db19){return'ELEMENT_'+_0x49db19[_0x5d74('0x20')]()[_0x5d74('0x3b')]['nodeAfter']['getAttribute'](_0x5d74('0x23'))[_0x5d74('0x70')]()+'_LIST';}(_0x3fc356))):_0x3e48f6(_0x2a2987,_0x5d74('0x3a'),_0x3e48f6(_0x2a2987,'ELEMENT_LIST_ITEM')),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x13b2eb};break;case _0x5d74('0x39'):case _0x5d74('0x47'):!0x1===_0xb9ce7b[_0x5d74('0x52')]&&(_0x13b2eb=_0x5d74('0x21'),_0x52cf90={'type':_0x5d74('0xd'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x40')))});}return _0x52cf90;});}}function ie(_0x37a3af){let _0x175044=_0x37a3af['getFirstRange']()[_0x5d74('0x3b')][_0x5d74('0x29')][_0x5d74('0x49')];for(;_0x175044;){const _0x130585=_0x175044[_0x5d74('0x26')](_0x5d74('0x71'));if(!_0x130585)return!0x1;if(_0x130585==_0x37a3af[_0x5d74('0x33')][_0x5d74('0x59')])return'newValue';if(_0x130585==_0x37a3af[_0x5d74('0x33')][_0x5d74('0x2e')])return _0x5d74('0x2e');_0x175044=_0x175044[_0x5d74('0x49')];}return!0x1;}
|
|
23
|
+
const _0x2668=['range','ELEMENT_NUMBERED_LIST','registerElementLabel','checkTodoList','key','nextSibling','attribute','numbered','*Indent:*\x20%0','from','splitListItemAfter','getAttribute','includes','*Change\x20to:*\x20%0','default','value','start','_suggestionFactory','batch','_enableDefaultAttributesIntegration','getChanges','*Format:*\x20insert\x20into\x20%0','meta','ELEMENT_LIST_ITEM','next','isUndo','nodeAfter','todo','selection','documentList','getSuggestions','data','commandName','forceValue','removeMarker','_descriptionFactory','commandParams','isObject','listStyle','map','has','ELEMENT_BULLETED_LIST','outdentList','bulletedList','locale','type','config','*Format:*\x20remove\x20from\x20%0','_supportLegacySuggestions','listItemIdFixer','_findSuggestions','registerCustomCallback','*Outdent:*\x20%0','registerPostFixer','attributeKey','splitListItemBefore','find','document','_getAttributeKey','get','multipleBlocks','commands','length','isLocal','accept','filter','*Merge:*\x20list\x20item','differ','execute','format','getFirstRange','listItemId','createRange','*Set\x20format:*\x20%0','setSelection','listStart','mergeListItemForward','noTrackChangesFixer','attributes','registerDescriptionCallback','getFirstMarker','*Check\x20item*','push','registerAttributeLabel','list.multiBlock','mergeListItemBackward','getRanges','_registerLegacyDescription','parent','afterInit','plugins','bulleted','model','TodoListEditing','suggestion','FORMAT_INDENT','numberedList','todoList','ELEMENT_','editor','oldValue','todoListCheck','groupId','previousSibling','listIndent','schema','ELEMENT_TODO_LIST','setAttribute','newValue','listType','*Split:*\x20list\x20item','todoListChecked','assureChains','head','indentList','createPositionAt','TrackChangesEditing'];(function(_0x4f42c0,_0x2668ff){const _0x4e3a21=function(_0x522127){while(--_0x522127){_0x4f42c0['push'](_0x4f42c0['shift']());}};_0x4e3a21(++_0x2668ff);}(_0x2668,0x1b1));const _0x4e3a=function(_0x4f42c0,_0x2668ff){_0x4f42c0=_0x4f42c0-0x0;let _0x4e3a21=_0x2668[_0x4f42c0];return _0x4e3a21;};import{Plugin as _0x324613}from'ckeditor5/src/core.js';import{getTranslation as _0x261c4e}from'../utils/common-translations.js';import{renameAttributeKey as _0x2b90e3}from'../trackchangesediting.js';import{LiveRange as _0x185aa8}from'ckeditor5/src/engine.js';export default class z extends _0x324613{[_0x4e3a('0x7')](){const _0x1446bf=this[_0x4e3a('0x11')];if(!_0x1446bf['plugins'][_0x4e3a('0x4b')]('ListEditing'))return;const _0x15d58b=_0x1446bf[_0x4e3a('0x4f')],_0x28f0f0=_0x1446bf[_0x4e3a('0x8')]['get'](_0x4e3a('0x22')),_0x273ca1=_0x1446bf[_0x4e3a('0x8')][_0x4e3a('0x4b')](_0x4e3a('0xb')),_0x189800=!!_0x1446bf[_0x4e3a('0x51')][_0x4e3a('0x5e')](_0x4e3a('0x2'));function _0x19909d(_0x2731aa){return{'type':_0x4e3a('0x68'),'content':''+_0x261c4e(_0x15d58b,_0x4e3a('0x6c'),_0x2731aa)};}function _0x229f77(_0x2ccb39){return{'type':_0x4e3a('0x68'),'content':''+_0x261c4e(_0x15d58b,'*Remove\x20format:*\x20%0',_0x2ccb39)};}_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0xe'),[],['listItemId',_0x4e3a('0x1b'),_0x4e3a('0x16')]),_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x4e')),_0x28f0f0['_enableDefaultAttributesIntegration'](_0x4e3a('0x20')),_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x4d')),_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x2d')),_0x28f0f0['_enableDefaultAttributesIntegration'](_0x4e3a('0x5a')),_0x189800&&(_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x3')),_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x6f'))),_0x273ca1&&(_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0xf')),_0x28f0f0[_0x4e3a('0x36')](_0x4e3a('0x26'),[],['todoListChecked']),_0x28f0f0[_0x4e3a('0x46')][_0x4e3a('0x72')](_0x28c2d6=>{const {data:_0x5ccc0e}=_0x28c2d6;if(_0x5ccc0e&&_0x4e3a('0x1d')==_0x5ccc0e[_0x4e3a('0x27')])return{'type':_0x4e3a('0x68'),'content':_0x5ccc0e[_0x4e3a('0x1a')]?_0x261c4e(_0x15d58b,_0x4e3a('0x74')):_0x261c4e(_0x15d58b,'*Uncheck\x20item*')};}),this[_0x4e3a('0x11')][_0x4e3a('0xa')][_0x4e3a('0x5c')]['registerPostFixer'](_0x269968=>{if(_0x269968[_0x4e3a('0x35')][_0x4e3a('0x3c')])return!0x1;let _0x5ad5be=!0x1;const _0x4de124=_0x28f0f0[_0x4e3a('0x41')]({'skipNotAttached':!0x0})[_0x4e3a('0x64')](_0x1877b6=>'todoListChecked'===_0x28f0f0['_getAttributeKey'](_0x1877b6));for(const _0x3658af of _0x4de124){_0x4e3a('0x3e')!=_0x3658af['getFirstRange']()[_0x4e3a('0x33')][_0x4e3a('0x3d')][_0x4e3a('0x2e')]('listType')&&(_0x28f0f0[_0x4e3a('0x55')](_0x3658af[_0x4e3a('0x69')](),'attribute')[_0x4e3a('0x5b')](_0x2b79cd=>_0x4e3a('0x1b')===_0x28f0f0[_0x4e3a('0x5d')](_0x2b79cd[_0x4e3a('0xc')]))||(_0x269968['removeMarker'](_0x3658af[_0x4e3a('0x73')]()),_0x5ad5be=!0x0));}return _0x5ad5be;})),_0x28f0f0[_0x4e3a('0x46')][_0x4e3a('0x1')](_0x4e3a('0x16'),_0x261c4e(_0x15d58b,_0x4e3a('0xd')));const _0x339a52={'type':_0x4e3a('0x68'),'content':''};_0x28f0f0[_0x4e3a('0x46')]['registerDescriptionCallback'](_0x182d0b=>{const {data:_0x540c1f}=_0x182d0b;if(!_0x540c1f||'listType'!=_0x540c1f['key'])return;let _0x142363=_0x182d0b[_0x4e3a('0x1f')];for(;_0x142363;){if(_0x142363[_0x4e3a('0x42')]&&('listStyle'==_0x142363['data'][_0x4e3a('0x27')]&&(_0x142363[_0x4e3a('0x42')][_0x4e3a('0x1a')]&&_0x4e3a('0x31')!=_0x142363['data'][_0x4e3a('0x1a')]||_0x4e3a('0x31')!=_0x142363[_0x4e3a('0x42')]['oldValue']&&!_0x540c1f['newValue'])||!_0x189800&&_0x142363[_0x4e3a('0x42')][_0x4e3a('0x27')]==_0x2b90e3))return _0x339a52;_0x142363=_0x142363[_0x4e3a('0x3b')];}if(null==_0x540c1f[_0x4e3a('0x1a')])switch(_0x540c1f[_0x4e3a('0x12')]){case _0x4e3a('0x9'):return _0x229f77(_0x261c4e(_0x15d58b,_0x4e3a('0x4c')));case'numbered':return _0x229f77(_0x261c4e(_0x15d58b,_0x4e3a('0x24')));case _0x4e3a('0x3e'):return _0x229f77(_0x261c4e(_0x15d58b,_0x4e3a('0x18')));}switch(_0x540c1f['newValue']){case _0x4e3a('0x9'):return _0x19909d(_0x261c4e(_0x15d58b,_0x4e3a('0x4c')));case _0x4e3a('0x2a'):return _0x19909d(_0x261c4e(_0x15d58b,_0x4e3a('0x24')));case _0x4e3a('0x3e'):return _0x19909d(_0x261c4e(_0x15d58b,'ELEMENT_TODO_LIST'));}}),_0x28f0f0[_0x4e3a('0x46')][_0x4e3a('0x72')](_0x455ac7=>{const {data:_0x3036c3}=_0x455ac7;if(_0x3036c3&&_0x4e3a('0x16')==_0x3036c3[_0x4e3a('0x27')])return null==_0x3036c3[_0x4e3a('0x1a')]||null==_0x3036c3['oldValue']&&0x0==_0x3036c3[_0x4e3a('0x1a')]?_0x339a52:void 0x0;}),_0x28f0f0[_0x4e3a('0x46')][_0x4e3a('0x72')](_0x7dfe86=>{if(_0x4e3a('0x29')!=_0x7dfe86[_0x4e3a('0x50')])return;const {data:_0x28cc5b}=_0x7dfe86;if(!_0x28cc5b||_0x4e3a('0x6a')!=_0x28cc5b[_0x4e3a('0x27')])return;const _0x132b23=ie(_0x7dfe86);return _0x132b23?_0x4e3a('0x1a')==_0x132b23?{'type':_0x4e3a('0x68'),'content':_0x261c4e(_0x15d58b,_0x4e3a('0x65'))}:_0x4e3a('0x12')==_0x132b23?{'type':_0x4e3a('0x68'),'content':_0x261c4e(_0x15d58b,_0x4e3a('0x1c'))}:_0x339a52:_0x339a52;}),_0x1446bf[_0x4e3a('0xa')][_0x4e3a('0x5c')]['registerPostFixer'](_0x4dfbf4=>this[_0x4e3a('0x54')](_0x4dfbf4)),_0x1446bf['model'][_0x4e3a('0x5c')][_0x4e3a('0x58')](_0x2bed90=>this[_0x4e3a('0x70')](_0x2bed90)),_0x1446bf[_0x4e3a('0xa')][_0x4e3a('0x5c')][_0x4e3a('0x58')](_0x29ad5b=>this[_0x4e3a('0x1e')](_0x29ad5b)),this[_0x4e3a('0x53')]();}['listItemIdFixer'](_0x571e95){if(_0x571e95[_0x4e3a('0x35')]['isUndo']||!_0x571e95[_0x4e3a('0x35')][_0x4e3a('0x62')])return!0x1;let _0x457641=!0x1;const _0x2d258b=this[_0x4e3a('0x11')]['plugins'][_0x4e3a('0x5e')](_0x4e3a('0x22'))[_0x4e3a('0x41')]({'skipNotAttached':!0x0})['filter'](_0x8d0acc=>_0x8d0acc['data']&&'listItemId'==_0x8d0acc['data'][_0x4e3a('0x27')])['filter'](_0x401e80=>_0x401e80[_0x4e3a('0x42')][_0x4e3a('0x1a')]&&_0x401e80[_0x4e3a('0x42')][_0x4e3a('0x12')]);for(const _0x1d74d2 of _0x2d258b)ie(_0x1d74d2)||(_0x571e95['removeMarker'](_0x1d74d2[_0x4e3a('0x73')]()),_0x457641=!0x0);return _0x457641;}[_0x4e3a('0x70')](_0x429afb){if(_0x429afb[_0x4e3a('0x35')][_0x4e3a('0x3c')]||!_0x429afb[_0x4e3a('0x35')][_0x4e3a('0x62')])return!0x1;const _0x59e810=this[_0x4e3a('0x11')][_0x4e3a('0x8')][_0x4e3a('0x5e')](_0x4e3a('0x22'));if(_0x59e810['trackChangesCommand'][_0x4e3a('0x32')])return!0x1;let _0x3e1501=!0x1;const _0x3b4d7e=[_0x4e3a('0x1b'),_0x4e3a('0x49'),_0x4e3a('0x6a'),_0x4e3a('0x16'),_0x4e3a('0x6e'),'listReversed',_0x4e3a('0x13')],_0x408be2=this[_0x4e3a('0x11')][_0x4e3a('0xa')][_0x4e3a('0x5c')][_0x4e3a('0x66')][_0x4e3a('0x37')]()['filter'](_0x493715=>'attribute'==_0x493715[_0x4e3a('0x50')])[_0x4e3a('0x64')](_0x41192=>_0x3b4d7e[_0x4e3a('0x2f')](_0x41192[_0x4e3a('0x59')]));if(0x0==_0x408be2[_0x4e3a('0x61')])return _0x3e1501;for(const _0x46d6d6 of _0x408be2){const _0x1b721f=_0x59e810['_findSuggestions'](_0x46d6d6[_0x4e3a('0x23')],'attribute')[_0x4e3a('0x64')](_0x228bfa=>!_0x228bfa[_0x4e3a('0x39')]['isNextTo'])[_0x4e3a('0x4a')](_0x47a250=>_0x47a250[_0x4e3a('0xc')])[_0x4e3a('0x64')](_0x484fe7=>{const _0x868612=_0x59e810[_0x4e3a('0x5d')](_0x484fe7);return _0x3b4d7e[_0x4e3a('0x2f')](_0x868612);});if(_0x1b721f['length']){for(const _0x4d0f55 of _0x1b721f)_0x429afb[_0x4e3a('0x45')](_0x4d0f55[_0x4e3a('0x73')]());_0x3e1501=!0x0;}}return _0x3e1501;}[_0x4e3a('0x1e')](_0x1ba0f9){if(_0x1ba0f9[_0x4e3a('0x35')][_0x4e3a('0x3c')]||!_0x1ba0f9['batch']['isLocal'])return!0x1;const _0x3a6997=this[_0x4e3a('0x11')][_0x4e3a('0x8')][_0x4e3a('0x5e')](_0x4e3a('0x22'));let _0x2bb145=!0x1;const _0x5da321=['listType',_0x4e3a('0x49'),_0x4e3a('0x6a'),_0x4e3a('0x16'),'listStart','listReversed',_0x4e3a('0x13')];for(const _0x426cac of _0x3a6997['getSuggestions']({'skipNotAttached':!0x0})){const _0xb7e537=_0x3a6997[_0x4e3a('0x55')](_0x426cac['getFirstRange'](),_0x4e3a('0x29'))['map'](_0x29d7e0=>_0x29d7e0[_0x4e3a('0xc')])[_0x4e3a('0x64')](_0x1e02c8=>_0x1e02c8[_0x4e3a('0x42')]&&_0x5da321[_0x4e3a('0x2f')](_0x1e02c8[_0x4e3a('0x42')][_0x4e3a('0x27')]));if(!_0xb7e537[_0x4e3a('0x61')])continue;const _0x40a1c3=_0xb7e537[0x0][_0x4e3a('0x1f')]['attributes'][_0x4e3a('0x14')];if(!_0xb7e537['every'](_0x2e8877=>_0x2e8877[_0x4e3a('0x71')][_0x4e3a('0x14')]===_0x40a1c3))for(const _0x3464bb of _0xb7e537)_0x58c641(_0x3464bb,_0x40a1c3)&&(_0x2bb145=!0x0);}return _0x2bb145;function _0x52f76f(_0xa0249,_0x1cd882){for(const _0x102b85 of _0x3a6997[_0x4e3a('0x41')]({'skipNotAttached':!0x0})['filter'](_0x46880b=>_0x4e3a('0x29')==_0x46880b[_0x4e3a('0x50')]&&_0x46880b['attributes'][_0x4e3a('0x14')]==_0xa0249))_0x102b85['setAttribute']('groupId',_0x1cd882);}function _0x58c641(_0x2a5cc9,_0x30324e){let _0x61c5d6=_0x2a5cc9['head'],_0xfaa404=!0x1;for(;_0x61c5d6;)_0x61c5d6[_0x4e3a('0x71')][_0x4e3a('0x14')]!=_0x30324e&&(_0x52f76f(_0x61c5d6[_0x4e3a('0x71')][_0x4e3a('0x14')],_0x30324e),_0x61c5d6[_0x4e3a('0x19')]('groupId',_0x30324e),_0xfaa404=!0x0),_0x61c5d6=_0x61c5d6[_0x4e3a('0x3b')];return _0xfaa404;}}[_0x4e3a('0x53')](){const _0x30121d=this[_0x4e3a('0x11')],_0x56bcce=_0x30121d[_0x4e3a('0x4f')],_0x4f7a18=_0x30121d[_0x4e3a('0x8')][_0x4e3a('0x5e')](_0x4e3a('0x22'));this[_0x4e3a('0x5')](),_0x4f7a18[_0x4e3a('0x34')][_0x4e3a('0x56')]('formatBlock',_0x4e3a('0x40'),_0x4e3a('0x63'),function(_0x10d611,_0x24b962){const _0x3b7b39=[];for(let _0x45a8f1 of _0x10d611)_0x45a8f1[_0x4e3a('0x33')][_0x4e3a('0x3d')]===_0x45a8f1['end'][_0x4e3a('0x6')]&&(_0x45a8f1=_0x30121d[_0x4e3a('0xa')][_0x4e3a('0x6b')](_0x30121d[_0x4e3a('0xa')][_0x4e3a('0x21')](_0x45a8f1['start']['nodeAfter'],0x0))),_0x3b7b39[_0x4e3a('0x0')](_0x45a8f1);_0x30121d[_0x4e3a('0xa')]['change'](_0x4cb251=>{const _0x306de1=_0x30121d['model'][_0x4e3a('0x5c')][_0x4e3a('0x3f')],_0x11fe16=Array[_0x4e3a('0x2c')](_0x306de1[_0x4e3a('0x4')]())[_0x4e3a('0x4a')](_0x38beb7=>_0x185aa8['fromRange'](_0x38beb7));_0x4cb251[_0x4e3a('0x6d')](_0x3b7b39),_0x30121d['commands'][_0x4e3a('0x5e')](_0x24b962[_0x4e3a('0x43')])['refresh'](),_0x24b962[_0x4e3a('0x47')]['push']({'forceDefaultExecution':!0x0}),_0x30121d[_0x4e3a('0x67')](_0x24b962[_0x4e3a('0x43')],..._0x24b962[_0x4e3a('0x47')]),_0x4cb251[_0x4e3a('0x6d')](_0x11fe16);for(const _0x389e12 of _0x11fe16)_0x389e12['detach']();});}),_0x4f7a18['_descriptionFactory'][_0x4e3a('0x25')](function(_0x247ad9){const _0x163c2f=!_0x30121d[_0x4e3a('0xa')][_0x4e3a('0x17')][_0x4e3a('0x48')](_0x247ad9),_0x318c4b=_0x247ad9[_0x4e3a('0x15')],_0x49768c=_0x247ad9[_0x4e3a('0x28')],_0x8d206d=_0x247ad9[_0x4e3a('0x2e')]('listItemId'),_0x4d4723=!_0x318c4b||_0x318c4b[_0x4e3a('0x2e')](_0x4e3a('0x6a'))!==_0x8d206d,_0x11328b=!_0x49768c||_0x49768c[_0x4e3a('0x2e')](_0x4e3a('0x6a'))!==_0x8d206d;return _0x163c2f&&Boolean(_0x8d206d)&&_0x4d4723&&_0x11328b;},_0xea607a=>_0x261c4e(_0x56bcce,_0x4e3a('0x3a'),_0xea607a));}['_registerLegacyDescription'](){const _0x38abad=this[_0x4e3a('0x11')],_0x48dd17=_0x38abad[_0x4e3a('0x4f')];function _0x2c5eee(_0x1c46cd){const _0x38dad4=_0x38abad[_0x4e3a('0x60')]['get'](_0x4e3a('0x4e'))[_0x4e3a('0x32')],_0x87181f=_0x38abad[_0x4e3a('0x60')][_0x4e3a('0x5e')](_0x4e3a('0xe'))[_0x4e3a('0x32')];return'numberedList'===_0x1c46cd?_0x38dad4:_0x87181f;}_0x38abad['plugins'][_0x4e3a('0x5e')](_0x4e3a('0x22'))[_0x4e3a('0x46')][_0x4e3a('0x72')](function(_0x1f8c9a){if('formatBlock'!=_0x1f8c9a[_0x4e3a('0x50')])return;const {data:_0x3aa80f}=_0x1f8c9a;if(!_0x3aa80f)return;let _0x5c4eaf,_0x23a2cc,_0x4a3f17,_0x32650e;switch(_0x3aa80f[_0x4e3a('0x43')]){case'bulletedList':_0x4a3f17=_0x3aa80f['commandParams'][0x0][_0x4e3a('0x44')],_0x32650e=_0x2c5eee(_0x3aa80f[_0x4e3a('0x43')]),_0x5c4eaf=_0x4a3f17?_0x4e3a('0x38'):_0x4e3a('0x52'),!_0x32650e&&_0x38abad[_0x4e3a('0x51')]['get'](_0x4e3a('0x2'))||(_0x5c4eaf=_0x4e3a('0x30')),_0x23a2cc={'type':_0x4e3a('0x68'),'content':_0x261c4e(_0x48dd17,_0x5c4eaf,_0x261c4e(_0x48dd17,_0x4e3a('0x4c')))};break;case _0x4e3a('0xe'):_0x4a3f17=_0x3aa80f[_0x4e3a('0x47')][0x0][_0x4e3a('0x44')],_0x32650e=_0x2c5eee(_0x3aa80f[_0x4e3a('0x43')]),_0x5c4eaf=_0x4a3f17?'*Format:*\x20insert\x20into\x20%0':_0x4e3a('0x52'),!_0x32650e&&_0x38abad[_0x4e3a('0x51')][_0x4e3a('0x5e')](_0x4e3a('0x2'))||(_0x5c4eaf=_0x4e3a('0x30')),_0x23a2cc={'type':_0x4e3a('0x68'),'content':_0x261c4e(_0x48dd17,_0x5c4eaf,_0x261c4e(_0x48dd17,_0x4e3a('0x24')))};break;case _0x4e3a('0x20'):_0x5c4eaf=_0x4e3a('0x2b'),_0x23a2cc={'type':_0x4e3a('0x68'),'content':_0x261c4e(_0x48dd17,_0x5c4eaf,_0x261c4e(_0x48dd17,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x5c4eaf=function(_0x3385b7){const _0x1450df=_0x3385b7[_0x4e3a('0x69')]();let _0x330f79=_0x1450df[_0x4e3a('0x33')][_0x4e3a('0x3d')];for(;_0x330f79&&_0x1450df['containsItem'](_0x330f79);){if(_0x330f79[_0x4e3a('0x2e')](_0x4e3a('0x16'))>0x0)return!0x1;_0x330f79=_0x330f79['nextSibling'];}return!0x0;}(_0x1f8c9a)?_0x261c4e(_0x48dd17,_0x4e3a('0x52'),_0x261c4e(_0x48dd17,function(_0x498587){return _0x4e3a('0x10')+_0x498587[_0x4e3a('0x69')]()[_0x4e3a('0x33')][_0x4e3a('0x3d')][_0x4e3a('0x2e')]('listType')['toUpperCase']()+'_LIST';}(_0x1f8c9a))):_0x261c4e(_0x48dd17,_0x4e3a('0x57'),_0x261c4e(_0x48dd17,'ELEMENT_LIST_ITEM')),_0x23a2cc={'type':_0x4e3a('0x68'),'content':_0x5c4eaf};break;case _0x4e3a('0x3'):case'mergeListItemForward':!0x1===_0x3aa80f[_0x4e3a('0x5f')]&&(_0x5c4eaf='*Merge:*\x20%0',_0x23a2cc={'type':'deletion','content':_0x261c4e(_0x48dd17,_0x5c4eaf,_0x261c4e(_0x48dd17,'ELEMENT_LIST_ITEM'))});}return _0x23a2cc;});}}function ie(_0x2a0b70){let _0x42b613=_0x2a0b70['getFirstRange']()['start'][_0x4e3a('0x3d')]['previousSibling'];for(;_0x42b613;){const _0x4e8458=_0x42b613[_0x4e3a('0x2e')](_0x4e3a('0x6a'));if(!_0x4e8458)return!0x1;if(_0x4e8458==_0x2a0b70[_0x4e3a('0x42')][_0x4e3a('0x1a')])return _0x4e3a('0x1a');if(_0x4e8458==_0x2a0b70[_0x4e3a('0x42')][_0x4e3a('0x12')])return'oldValue';_0x42b613=_0x42b613['previousSibling'];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1453=['registerDescriptionCallback','suggestion','editor','type','disc','styles','*Format:*\x20set\x20order\x20to\x20regular','getAttribute','formatBlock','plugins','listType','ListPropertiesEditing','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20reversed','batch','attribute','newValue','key','default','bind','listStart','*Change\x20to:*\x20%0','handleDescriptions','head','get','_enableDefaultAttributesIntegration','format','includes','startIndex','toUpperCase','getFirstMarker','data','getFirstRange','*Set\x20format:*\x20%0','listStyle','model','_LIST_DEFAULT','FORMAT_LIST_REVERSED','isUndo','FORMAT_LIST_START','_registerLegacyDescription','_LIST_','upper-roman','*Remove\x20format:*\x20%0','ELEMENT_','listReversed','lower-roman','nodeAfter','_descriptionFactory','oldValue','reversed','next','afterInit','numbered','upper-latin','config','registerAttributeLabel','TrackChangesEditing','start','registerPostFixer','bulleted','commandParams','locale'];(function(_0x2fbb83,_0x1453c7){const _0x194d31=function(_0x525702){while(--_0x525702){_0x2fbb83['push'](_0x2fbb83['shift']());}};_0x194d31(++_0x1453c7);}(_0x1453,0x12c));const _0x194d=function(_0x2fbb83,_0x1453c7){_0x2fbb83=_0x2fbb83-0x0;let _0x194d31=_0x1453[_0x2fbb83];return _0x194d31;};import{Plugin as _0x19a857}from'ckeditor5/src/core.js';import{getTranslation as _0x550ed2}from'../utils/common-translations.js';export default class se extends _0x19a857{[_0x194d('0x4')](){if(!this[_0x194d('0x11')][_0x194d('0x18')]['has'](_0x194d('0x1a')))return;const _0x704328=this['editor'][_0x194d('0x7')][_0x194d('0x27')]('list.properties'),_0xa845c8=this[_0x194d('0x11')]['plugins'][_0x194d('0x27')](_0x194d('0x9'));_0x704328[_0x194d('0x14')]&&_0xa845c8[_0x194d('0x28')]('listStyle',[],[_0x194d('0x31')]),_0x704328[_0x194d('0x2')]&&_0xa845c8[_0x194d('0x28')](_0x194d('0x3c'),[],[_0x194d('0x3c')]),_0x704328[_0x194d('0x2b')]&&_0xa845c8[_0x194d('0x28')](_0x194d('0x23'),[],['listStart']);const _0x5b01d5={'type':_0x194d('0x29'),'content':''};_0xa845c8['_descriptionFactory'][_0x194d('0xf')](this[_0x194d('0x25')][_0x194d('0x22')](this));const _0x3c6e71=this['editor'][_0x194d('0xe')];_0xa845c8[_0x194d('0x0')][_0x194d('0x8')]('listReversed',_0x550ed2(_0x3c6e71,_0x194d('0x34'))),_0xa845c8[_0x194d('0x0')]['registerDescriptionCallback'](_0x4d6e1b=>{const {data:_0x1c8b40}=_0x4d6e1b;if(_0x1c8b40&&'listReversed'==_0x1c8b40[_0x194d('0x20')])return null==_0x1c8b40['newValue']||0x0==_0x1c8b40[_0x194d('0x1f')]&&null==_0x1c8b40[_0x194d('0x1')]?_0x5b01d5:void 0x0;}),_0xa845c8[_0x194d('0x0')][_0x194d('0x8')]('listStart',_0x550ed2(_0x3c6e71,_0x194d('0x36'))),_0xa845c8['_descriptionFactory']['registerDescriptionCallback'](_0x368a01=>{const {data:_0x595778}=_0x368a01;if(_0x595778&&_0x194d('0x23')==_0x595778[_0x194d('0x20')])return null==_0x595778[_0x194d('0x1f')]||0x1==_0x595778[_0x194d('0x1f')]&&null==_0x595778[_0x194d('0x1')]?_0x5b01d5:void 0x0;}),this['editor'][_0x194d('0x32')]['document'][_0x194d('0xb')](_0x336a42=>{if(_0x336a42[_0x194d('0x1d')][_0x194d('0x35')])return!0x1;let _0x1d9877=!0x1;const _0x42a731=_0xa845c8['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2d4e14=>{const _0x21bbff=_0xa845c8['_getAttributeKey'](_0x2d4e14);return _0x194d('0x23')==_0x21bbff||'listReversed'==_0x21bbff;});for(const _0x28037c of _0x42a731){if('numbered'==_0x28037c[_0x194d('0x2f')]()[_0x194d('0xa')][_0x194d('0x3e')][_0x194d('0x16')](_0x194d('0x19')))continue;_0xa845c8['_findSuggestions'](_0x28037c[_0x194d('0x2f')](),_0x194d('0x1e'))['find'](_0xc89655=>_0x194d('0x19')==_0xa845c8['_getAttributeKey'](_0xc89655[_0x194d('0x10')]))||(_0x336a42['removeMarker'](_0x28037c[_0x194d('0x2d')]()),_0x1d9877=!0x0);}return _0x1d9877;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x57adfd){const _0x7a3eed=this[_0x194d('0x11')][_0x194d('0xe')],{data:_0x31381d}=_0x57adfd,_0x2ba393={'type':_0x194d('0x29'),'content':''};if(!_0x31381d||_0x194d('0x31')!=_0x31381d[_0x194d('0x20')])return;if(!_0x31381d[_0x194d('0x1')])return _0x194d('0x21')==_0x31381d[_0x194d('0x1f')]?_0x2ba393:{'type':_0x194d('0x29'),'content':''+_0x550ed2(_0x7a3eed,_0x194d('0x30'),_0x550ed2(_0x7a3eed,this['_getTranslationKeyForListStyle'](_0x31381d['newValue'])))};if(!_0x31381d[_0x194d('0x1f')]){if(_0x194d('0x21')==_0x31381d[_0x194d('0x1')])return _0x2ba393;let _0x427bdb=_0x57adfd[_0x194d('0x26')];for(;_0x427bdb;){if(_0x427bdb[_0x194d('0x2e')]&&'listType'==_0x427bdb[_0x194d('0x2e')][_0x194d('0x20')]&&_0x427bdb['data']['newValue'])return _0x2ba393;_0x427bdb=_0x427bdb[_0x194d('0x3')];}return{'type':_0x194d('0x29'),'content':''+_0x550ed2(_0x7a3eed,_0x194d('0x3a'),_0x550ed2(_0x7a3eed,this['_getTranslationKeyForListStyle'](_0x31381d[_0x194d('0x1')])))};}if(_0x194d('0x21')!=_0x31381d[_0x194d('0x1f')])return{'type':_0x194d('0x29'),'content':''+_0x550ed2(_0x7a3eed,_0x194d('0x30'),_0x550ed2(_0x7a3eed,this[_0x194d('0x1b')](_0x31381d[_0x194d('0x1f')])))};let _0x35b02d=_0x57adfd['head'];for(;_0x35b02d;){if(_0x35b02d[_0x194d('0x2e')]&&_0x194d('0x19')==_0x35b02d[_0x194d('0x2e')][_0x194d('0x20')]&&_0x35b02d[_0x194d('0x2e')][_0x194d('0x1f')]&&_0x35b02d['data'][_0x194d('0x1')])return _0x2ba393;_0x35b02d=_0x35b02d[_0x194d('0x3')];}const _0x108c7d=_0x57adfd[_0x194d('0x2f')]()[_0x194d('0xa')]['nodeAfter'][_0x194d('0x16')](_0x194d('0x19'));return{'type':_0x194d('0x29'),'content':_0x550ed2(_0x7a3eed,'*Set\x20format:*\x20%0',_0x550ed2(_0x7a3eed,_0x194d('0x3b')+_0x108c7d['toUpperCase']()+_0x194d('0x33')))};}[_0x194d('0x37')](){const _0x56c75b=this[_0x194d('0x11')],_0x4eb41d=_0x56c75b[_0x194d('0xe')];_0x56c75b['plugins'][_0x194d('0x27')](_0x194d('0x9'))[_0x194d('0x0')]['registerDescriptionCallback'](_0x5494f9=>{if(_0x194d('0x17')!=_0x5494f9[_0x194d('0x12')])return;const {data:_0x1aec23}=_0x5494f9;if(!_0x1aec23)return;let _0x318732,_0x59bffa;switch(_0x1aec23['commandName']){case _0x194d('0x31'):_0x318732=_0x194d('0x24'),_0x59bffa={'type':'format','content':_0x550ed2(_0x4eb41d,_0x318732,_0x550ed2(_0x4eb41d,this['_getTranslationKeyForListStyle'](_0x1aec23[_0x194d('0xd')][0x0][_0x194d('0x12')])))};break;case'listReversed':_0x318732=_0x1aec23[_0x194d('0xd')][0x0][_0x194d('0x2')]?_0x194d('0x1c'):_0x194d('0x15'),_0x59bffa={'type':'format','content':_0x550ed2(_0x4eb41d,_0x318732)};break;case _0x194d('0x23'):_0x318732='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x59bffa={'type':_0x194d('0x29'),'content':_0x550ed2(_0x4eb41d,_0x318732,_0x1aec23[_0x194d('0xd')][0x0][_0x194d('0x2b')])};}return _0x59bffa;});}[_0x194d('0x1b')](_0x49f64b){return _0x194d('0x3b')+function(_0x39d0fc){if(ae[_0x194d('0x2a')](_0x39d0fc))return _0x194d('0xc');if(le[_0x194d('0x2a')](_0x39d0fc))return _0x194d('0x5');return null;}(_0x49f64b)[_0x194d('0x2c')]()+_0x194d('0x38')+_0x49f64b['toUpperCase']()['replace'](/-/g,'_');}}const ae=[_0x194d('0x13'),'circle','square'],le=['decimal','decimal-leading-zero',_0x194d('0x3d'),_0x194d('0x39'),'lower-latin',_0x194d('0x6')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22fc=['elementToElement','has','editor','get','attribute:url:media','downcastDispatcher','createEmptyElement','conversion','showSuggestionHighlights','high','stop','div','afterInit','enableCommand','plugins','options','_descriptionFactory','locale','media','data','TrackChangesEditing','mediaEmbed'];(function(_0x2f3717,_0x22fc52){const _0x137317=function(_0x48736f){while(--_0x48736f){_0x2f3717['push'](_0x2f3717['shift']());}};_0x137317(++_0x22fc52);}(_0x22fc,0x12a));const _0x1373=function(_0x2f3717,_0x22fc52){_0x2f3717=_0x2f3717-0x0;let _0x137317=_0x22fc[_0x2f3717];return _0x137317;};import{Plugin as _0x706000}from'ckeditor5/src/core.js';import{getTranslation as _0x58d8b1}from'../utils/common-translations.js';export default class ft extends _0x706000{[_0x1373('0x0')](){const _0x132714=this[_0x1373('0xc')];if(!_0x132714[_0x1373('0x2')][_0x1373('0xb')]('MediaEmbedEditing'))return;const _0x57af48=_0x132714['plugins'][_0x1373('0xd')](_0x1373('0x8')),_0x46f872=_0x132714[_0x1373('0x5')];_0x57af48[_0x1373('0x1')](_0x1373('0x9')),_0x57af48[_0x1373('0x4')]['registerElementLabel'](_0x1373('0x6'),_0x514ddd=>_0x58d8b1(_0x46f872,'ELEMENT_MEDIA',_0x514ddd)),_0x132714[_0x1373('0x11')]['for']('dataDowncast')[_0x1373('0xa')]({'model':'media','view':(_0xf51069,{writer:_0x3a8227,options:_0x2368d6})=>{if(_0x2368d6[_0x1373('0x12')])return _0x3a8227[_0x1373('0x10')](_0x1373('0x15'));},'converterPriority':_0x1373('0x13')}),_0x132714[_0x1373('0x7')][_0x1373('0xf')]['on'](_0x1373('0xe'),(_0x3c2689,_0x342310,_0x47f667)=>{_0x47f667[_0x1373('0x3')]['showSuggestionHighlights']&&_0x3c2689[_0x1373('0x14')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1935=['plugins','MentionEditing','mention','get','enableCommand','editor'];(function(_0x21f421,_0x1935a9){const _0x14d9ee=function(_0x42ed7f){while(--_0x42ed7f){_0x21f421['push'](_0x21f421['shift']());}};_0x14d9ee(++_0x1935a9);}(_0x1935,0xf2));const _0x14d9=function(_0x21f421,_0x1935a9){_0x21f421=_0x21f421-0x0;let _0x14d9ee=_0x1935[_0x21f421];return _0x14d9ee;};import{Plugin as _0x450c9c}from'ckeditor5/src/core.js';export default class gt extends _0x450c9c{['afterInit'](){const _0x1a0845=this[_0x14d9('0x3')];_0x1a0845[_0x14d9('0x4')]['has'](_0x14d9('0x5'))&&_0x1a0845[_0x14d9('0x4')][_0x14d9('0x1')]('TrackChangesEditing')[_0x14d9('0x2')](_0x14d9('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ae1=['get','enableCommand','has','locale','ELEMENT_PAGE_BREAK','plugins','pageBreak','editor','PageBreakEditing','_descriptionFactory','afterInit'];(function(_0x1a3c54,_0x4ae185){const _0xac9f5e=function(_0x41b447){while(--_0x41b447){_0x1a3c54['push'](_0x1a3c54['shift']());}};_0xac9f5e(++_0x4ae185);}(_0x4ae1,0xd2));const _0xac9f=function(_0x1a3c54,_0x4ae185){_0x1a3c54=_0x1a3c54-0x0;let _0xac9f5e=_0x4ae1[_0x1a3c54];return _0xac9f5e;};import{Plugin as _0x11e17d}from'ckeditor5/src/core.js';import{getTranslation as _0x4c68cd}from'../utils/common-translations.js';export default class lt extends _0x11e17d{[_0xac9f('0x9')](){const _0x109cf2=this[_0xac9f('0x6')];if(!_0x109cf2[_0xac9f('0x4')][_0xac9f('0x1')](_0xac9f('0x7')))return;_0x109cf2['plugins'][_0xac9f('0xa')]('TrackChangesEditing')[_0xac9f('0x0')](_0xac9f('0x5'));const _0x32c592=_0x109cf2['plugins'][_0xac9f('0xa')]('TrackChangesEditing'),_0x5c1ea6=_0x109cf2[_0xac9f('0x2')];_0x32c592[_0xac9f('0x8')]['registerElementLabel'](_0xac9f('0x5'),_0x42b318=>_0x4c68cd(_0x5c1ea6,_0xac9f('0x3'),_0x42b318));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f8a=['ELEMENT_PARAGRAPH','nodeAfter','format','model','activeMarkers','isLimit','isTouching','checkChild','registerDescriptionCallback','insert','plugins','getFirstRange','consume','_enableDefaultAttributesIntegration','options','insertion','markerName','_registerLegacyDescription','ck-suggestion-marker--active','span','toViewPosition','_descriptionFactory','editor','type','showSuggestionHighlights','commandName','get','TrackChangesEditing','getItemLabel','createUIElement','mapper','ck-suggestion-marker-split','writer','markerRange','locale','name','data','$text','downcastDispatcher','isBlock','end','*Change\x20to:*\x20%0','afterInit','consumable','paragraph','addMarker:suggestion:insertion'];(function(_0x294372,_0x1f8a67){const _0x5dc1ae=function(_0x17e2a7){while(--_0x17e2a7){_0x294372['push'](_0x294372['shift']());}};_0x5dc1ae(++_0x1f8a67);}(_0x1f8a,0x111));const _0x5dc1=function(_0x294372,_0x1f8a67){_0x294372=_0x294372-0x0;let _0x5dc1ae=_0x1f8a[_0x294372];return _0x5dc1ae;};import{Plugin as _0x51bf9d}from'ckeditor5/src/core.js';import{getTranslation as _0x216cb8}from'../utils/common-translations.js';export default class mt extends _0x51bf9d{[_0x5dc1('0x2d')](){const _0x464270=this[_0x5dc1('0x19')];if(!_0x464270[_0x5dc1('0xd')]['has']('Paragraph'))return;const _0x5c6740=_0x464270[_0x5dc1('0x25')],_0x3a7883=_0x464270[_0x5dc1('0xd')]['get'](_0x5dc1('0x1e'));_0x3a7883['_descriptionFactory']['registerElementLabel'](_0x5dc1('0x1'),_0x49023c=>_0x216cb8(_0x5c6740,_0x5dc1('0x3'),_0x49023c)),_0x3a7883[_0x5dc1('0x10')]('paragraph'),_0x3a7883['enableCommand']('insertParagraph'),_0x464270['editing'][_0x5dc1('0x29')]['on'](_0x5dc1('0x2'),nr(_0x464270),{'priority':'highest'}),_0x464270[_0x5dc1('0x27')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2799c3,_0xd3387a,_0x5bd67a)=>{_0x5bd67a[_0x5dc1('0x11')][_0x5dc1('0x1b')]&&nr(_0x464270,{'showActiveMarker':!0x1})(_0x2799c3,_0xd3387a,_0x5bd67a);},{'priority':'highest'});const _0x3b86ab=_0x3a7883[_0x5dc1('0x18')];_0x3b86ab['registerDescriptionCallback'](_0xdf6e66=>{if(_0x5dc1('0x12')!==_0xdf6e66[_0x5dc1('0x1a')])return;const {start:_0x42a37c,end:_0x438608}=_0xdf6e66[_0x5dc1('0xe')]();if(!_0x42a37c[_0x5dc1('0x9')](_0x438608)||!_0x42a37c['nodeAfter'])return;const _0x78ee6=_0x464270[_0x5dc1('0x6')]['schema'],_0x5b6220=_0x42a37c[_0x5dc1('0x4')];return _0x78ee6[_0x5dc1('0x2a')](_0x5b6220)&&!_0x78ee6[_0x5dc1('0x8')](_0x5b6220)&&_0x78ee6[_0x5dc1('0xa')](_0x5b6220,_0x5dc1('0x28'))?{'type':_0x5dc1('0x12'),'content':_0x216cb8(_0x5c6740,'*Insert:*\x20%0',_0x3b86ab[_0x5dc1('0x1f')](_0x5b6220,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x5dc1('0x14')](){const _0x1ce499=this['editor'],_0x12eb7e=_0x1ce499[_0x5dc1('0x25')];_0x1ce499[_0x5dc1('0xd')][_0x5dc1('0x1d')](_0x5dc1('0x1e'))[_0x5dc1('0x18')][_0x5dc1('0xb')](_0x3c91b6=>{if('formatBlock'!=_0x3c91b6['type'])return;const {data:_0x43442e}=_0x3c91b6;return _0x43442e&&_0x5dc1('0x1')==_0x43442e[_0x5dc1('0x1c')]?{'type':_0x5dc1('0x5'),'content':_0x216cb8(_0x12eb7e,_0x5dc1('0x2c'),_0x216cb8(_0x12eb7e,_0x5dc1('0x3')))}:void 0x0;});}}function nr(_0x167a20,{showActiveMarker:_0x5a5114=!0x0}={}){return(_0x36cbc8,_0x4d8e37,_0x37cb9d)=>{const _0x3fb4e7=_0x167a20['plugins'][_0x5dc1('0x1d')](_0x5dc1('0x1e')),_0x2a0075=_0x4d8e37[_0x5dc1('0x24')]['start'],_0x560164=_0x4d8e37['markerRange'][_0x5dc1('0x2b')],_0x44b41f=_0x167a20['model']['schema'];if(!_0x2a0075[_0x5dc1('0x9')](_0x560164)||!_0x2a0075[_0x5dc1('0x4')])return;const _0x12b54d=_0x2a0075[_0x5dc1('0x4')];if(_0x44b41f[_0x5dc1('0x2a')](_0x12b54d)&&!_0x44b41f[_0x5dc1('0x8')](_0x12b54d)&&_0x44b41f[_0x5dc1('0xa')](_0x12b54d,_0x5dc1('0x28'))){if(!_0x37cb9d[_0x5dc1('0x0')][_0x5dc1('0xf')](_0x4d8e37[_0x5dc1('0x24')],_0x36cbc8[_0x5dc1('0x26')]))return;const _0x136ced=_0x37cb9d[_0x5dc1('0x23')][_0x5dc1('0x20')](_0x5dc1('0x16'),{'class':_0x5dc1('0x22')}),_0x3d5fe7=_0x37cb9d[_0x5dc1('0x21')][_0x5dc1('0x17')](_0x560164);_0x5a5114&&_0x3fb4e7[_0x5dc1('0x7')]['includes'](_0x4d8e37[_0x5dc1('0x13')])&&_0x37cb9d[_0x5dc1('0x23')]['addClass'](_0x5dc1('0x15'),_0x136ced),_0x37cb9d[_0x5dc1('0x23')][_0x5dc1('0xc')](_0x3d5fe7,_0x136ced),_0x37cb9d['mapper']['bindElementToMarker'](_0x136ced,_0x4d8e37[_0x5dc1('0x13')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x548d=['has','_enableDefaultAttributesIntegration','TrackChangesEditing','removeFormat','commandName','formatInline','locale','registerDescriptionCallback','type','format','afterInit','_registerLegacyDescription','plugins','editor','get'];(function(_0x153924,_0x548d17){const _0x4a39f1=function(_0x1bdaa6){while(--_0x1bdaa6){_0x153924['push'](_0x153924['shift']());}};_0x4a39f1(++_0x548d17);}(_0x548d,0xbd));const _0x4a39=function(_0x153924,_0x548d17){_0x153924=_0x153924-0x0;let _0x4a39f1=_0x548d[_0x153924];return _0x4a39f1;};import{Plugin as _0x21f80d}from'ckeditor5/src/core.js';import{getTranslation as _0x67a779}from'../utils/common-translations.js';export default class dt extends _0x21f80d{[_0x4a39('0x1')](){const _0x28163f=this['editor'];if(!_0x28163f['plugins'][_0x4a39('0x6')]('RemoveFormatEditing'))return;_0x28163f[_0x4a39('0x3')]['get'](_0x4a39('0x8'))[_0x4a39('0x7')](_0x4a39('0x9')),this[_0x4a39('0x2')]();}[_0x4a39('0x2')](){const _0xd57987=this[_0x4a39('0x4')];_0xd57987[_0x4a39('0x3')][_0x4a39('0x5')](_0x4a39('0x8'))['_descriptionFactory'][_0x4a39('0xd')](_0x495103=>{if('formatBlock'!=_0x495103[_0x4a39('0xe')]&&_0x4a39('0xb')!=_0x495103[_0x4a39('0xe')])return;const {data:_0x56aaeb}=_0x495103;return _0x56aaeb&&_0x4a39('0x9')==_0x56aaeb[_0x4a39('0xa')]?{'type':_0x4a39('0x0'),'content':_0x67a779(_0xd57987[_0x4a39('0xc')],'*Remove\x20all\x20formatting*')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d61=['discardAllSuggestions','acceptAllSuggestions','afterInit','has','TrackChangesEditing','enableCommand','acceptSuggestion','RestrictedEditingModeEditing','goToNextRestrictedEditingException','discardSelectedSuggestions','acceptSelectedSuggestions','plugins','get','trackChanges'];(function(_0x5ec739,_0x5d61c9){const _0x5be4fd=function(_0x1fedf8){while(--_0x1fedf8){_0x5ec739['push'](_0x5ec739['shift']());}};_0x5be4fd(++_0x5d61c9);}(_0x5d61,0x1f2));const _0x5be4=function(_0x5ec739,_0x5d61c9){_0x5ec739=_0x5ec739-0x0;let _0x5be4fd=_0x5d61[_0x5ec739];return _0x5be4fd;};import{Plugin as _0x1b2efc}from'ckeditor5/src/core.js';export default class pt extends _0x1b2efc{[_0x5be4('0x8')](){const _0x3dafd9=this['editor'];if(!_0x3dafd9[_0x5be4('0x3')][_0x5be4('0x9')]('RestrictedEditingModeEditing'))return;const _0x7f4522=_0x3dafd9[_0x5be4('0x3')][_0x5be4('0x4')](_0x5be4('0xa'));_0x7f4522['enableCommand']('goToPreviousRestrictedEditingException'),_0x7f4522[_0x5be4('0xb')](_0x5be4('0x0'));const _0x57a4f6=_0x3dafd9[_0x5be4('0x3')]['get'](_0x5be4('0xd'));_0x57a4f6[_0x5be4('0xb')](_0x5be4('0x5')),_0x57a4f6[_0x5be4('0xb')](_0x5be4('0xc')),_0x57a4f6[_0x5be4('0xb')]('discardSuggestion'),_0x57a4f6['enableCommand'](_0x5be4('0x7')),_0x57a4f6[_0x5be4('0xb')](_0x5be4('0x6')),_0x57a4f6['enableCommand'](_0x5be4('0x2')),_0x57a4f6[_0x5be4('0xb')](_0x5be4('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c01=['createPositionBefore','mapper','addMarker:suggestion:deletion','includes','ELEMENT_LINE_BREAK','model','split','plugins','downcastDispatcher','locale','get','consumable','softBreak','element','test','writer','options','enableCommand','deletion','addClass','editor','activeMarkers','toViewPosition','shiftEnter','requires','TrackChangesEditing','ck-suggestion-marker--active','merge','addMarker:suggestion','name','markerRange','showSuggestionHighlights','ck-suggestion-marker-','addMarker:suggestion:insertion','high','getItems','createUIElement','editing','markerName'];(function(_0x2f7040,_0x1c01c2){const _0x37ebc2=function(_0x318a66){while(--_0x318a66){_0x2f7040['push'](_0x2f7040['shift']());}};_0x37ebc2(++_0x1c01c2);}(_0x1c01,0x12b));const _0x37eb=function(_0x2f7040,_0x1c01c2){_0x2f7040=_0x2f7040-0x0;let _0x37ebc2=_0x1c01[_0x2f7040];return _0x37ebc2;};import{Plugin as _0x23276f}from'ckeditor5/src/core.js';import{ShiftEnter as _0x2c28d2}from'ckeditor5/src/enter.js';import{getTranslation as _0x293db5}from'../utils/common-translations.js';export default class kt extends _0x23276f{static get[_0x37eb('0x25')](){return[_0x2c28d2];}['init'](){const _0x1aa9cd=this[_0x37eb('0x21')],_0x454273=_0x1aa9cd[_0x37eb('0x14')][_0x37eb('0x17')](_0x37eb('0x26'));_0x454273[_0x37eb('0x1e')](_0x37eb('0x24')),_0x1aa9cd[_0x37eb('0xb')][_0x37eb('0x15')]['on'](_0x37eb('0x7'),re(_0x1aa9cd),{'priority':_0x37eb('0x8')}),_0x1aa9cd[_0x37eb('0xb')]['downcastDispatcher']['on'](_0x37eb('0xf'),re(_0x1aa9cd),{'priority':'high'}),_0x1aa9cd['data'][_0x37eb('0x15')]['on'](_0x37eb('0x2'),(_0x45348e,_0x141907,_0x3ff1a8)=>{_0x3ff1a8[_0x37eb('0x1d')][_0x37eb('0x5')]&&re(_0x1aa9cd,{'showActiveMarker':!0x1})(_0x45348e,_0x141907,_0x3ff1a8);}),_0x454273['_descriptionFactory']['registerElementLabel'](_0x37eb('0x19'),_0xa53974=>_0x293db5(_0x1aa9cd[_0x37eb('0x16')],_0x37eb('0x11'),_0xa53974));}}function re(_0x590ad6,{showActiveMarker:_0x18be4d=!0x0}={}){return(_0x6b3cc0,_0x362845,_0xe2eb6)=>{const _0x449b57=_0x590ad6[_0x37eb('0x14')]['get'](_0x37eb('0x26'));if(!_0xe2eb6[_0x37eb('0x18')][_0x37eb('0x1b')](_0x362845[_0x37eb('0x4')],_0x6b3cc0[_0x37eb('0x3')]))return;const _0xc549ab=_0x590ad6[_0x37eb('0x12')];for(const _0x89492e of _0x362845[_0x37eb('0x4')][_0x37eb('0x9')]()){if(!_0x89492e['is'](_0x37eb('0x1a'),_0x37eb('0x19')))continue;const _0x42c385=_0x37eb('0x1f')==_0x362845['markerName'][_0x37eb('0x13')](':')[0x1]?_0x37eb('0x1'):_0x37eb('0x13'),_0x38f91=_0xe2eb6['writer'][_0x37eb('0xa')]('span',{'class':_0x37eb('0x6')+_0x42c385}),_0x3e81ac=_0xe2eb6[_0x37eb('0xe')][_0x37eb('0x23')](_0xc549ab[_0x37eb('0xd')](_0x89492e));_0x18be4d&&_0x449b57[_0x37eb('0x22')][_0x37eb('0x10')](_0x362845[_0x37eb('0xc')])&&_0xe2eb6[_0x37eb('0x1c')][_0x37eb('0x20')](_0x37eb('0x0'),_0x38f91),_0xe2eb6[_0x37eb('0x1c')]['insert'](_0x3e81ac,_0x38f91),_0xe2eb6[_0x37eb('0xe')]['bindElementToMarker'](_0x38f91,_0x362845[_0x37eb('0xc')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ac1=['selection','forceValue','document','afterInit','formatBlock','has','formatInline','locale','model','enableCommand','get','StandardEditingModeEditing','_descriptionFactory','FORMAT_RESTRICTED_ENABLED','plugins','registerDescriptionCallback','commandName','change','format','restrictedEditingException','isCollapsed','commandParams','from','value','editor','type'];(function(_0x4957f8,_0x4ac176){const _0x41ffb7=function(_0x21d531){while(--_0x21d531){_0x4957f8['push'](_0x4957f8['shift']());}};_0x41ffb7(++_0x4ac176);}(_0x4ac1,0x198));const _0x41ff=function(_0x4957f8,_0x4ac176){_0x4957f8=_0x4957f8-0x0;let _0x41ffb7=_0x4ac1[_0x4957f8];return _0x41ffb7;};import{Plugin as _0x2bbb2f}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x36a5dc}from'./utils.js';import{getTranslation as _0x1cd8d1}from'../utils/common-translations.js';export default class bt extends _0x2bbb2f{[_0x41ff('0xb')](){const _0x188c64=this[_0x41ff('0x6')],_0x1ebd05=_0x188c64[_0x41ff('0x10')],_0x2a8d78=_0x188c64[_0x41ff('0xf')];if(!_0x188c64[_0x41ff('0x16')][_0x41ff('0xd')](_0x41ff('0x13')))return;const _0x3f54b5=_0x188c64[_0x41ff('0x16')][_0x41ff('0x12')]('TrackChangesEditing'),_0x3a495a=_0x41ff('0x1'),_0x48841c=_0x188c64['commands'][_0x41ff('0x12')](_0x3a495a);_0x3f54b5[_0x41ff('0x11')](_0x3a495a,(_0x52fe52,_0x298e66={})=>{const _0x2383be=_0x1ebd05[_0x41ff('0xa')][_0x41ff('0x8')];if(_0x2383be[_0x41ff('0x2')])return void _0x52fe52(_0x298e66);const _0x1f2613=void 0x0!==_0x298e66[_0x41ff('0x9')]?_0x298e66[_0x41ff('0x9')]:!_0x48841c[_0x41ff('0x5')];_0x1ebd05[_0x41ff('0x19')](()=>{const _0x3e3525=Array[_0x41ff('0x4')](_0x2383be['getRanges']());for(const _0x194f20 of _0x3e3525){const _0x2c3727=_0x1f2613?[_0x194f20]:_0x36a5dc(_0x3a495a,_0x194f20,_0x1ebd05);for(const _0x1ac6e2 of _0x2c3727)_0x3f54b5['markInlineFormat'](_0x1ac6e2,{'commandName':_0x3a495a,'commandParams':[{'forceValue':_0x1f2613}]});}});}),_0x3f54b5[_0x41ff('0x14')][_0x41ff('0x17')](_0x2a9a0f=>{if(_0x41ff('0xc')!=_0x2a9a0f[_0x41ff('0x7')]&&_0x41ff('0xe')!=_0x2a9a0f[_0x41ff('0x7')])return;const {data:_0x30c374}=_0x2a9a0f;return _0x30c374&&_0x30c374[_0x41ff('0x18')]==_0x3a495a?_0x30c374[_0x41ff('0x3')][0x0]['forceValue']?{'type':_0x41ff('0x0'),'content':_0x1cd8d1(_0x2a8d78,_0x41ff('0x15'))}:{'type':_0x41ff('0x0'),'content':_0x1cd8d1(_0x2a8d78,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38b2=['styleName','registerAttributeLabel','formatInline','StyleUtils','DataSchema','FORMAT_STYLE','type','config','element','_registerInlineAttribute','has','GeneralHtmlSupport','formatBlock','normalizeConfig','get','editor','block','TrackChangesEditing','style','Style','*Set\x20format:*\x20%0','locale','commandParams','getGhsAttributeNameForElement','_registerLegacyDescription','_enableDefaultAttributesIntegration','afterInit','format','commandName','add','inline','_registerBlockAttribute','toLowerCase','plugins','forceValue','_descriptionFactory','ghsAttributes','*Remove\x20format:*\x20%0'];(function(_0x855010,_0x38b2d3){const _0x3f6d2e=function(_0x40213c){while(--_0x40213c){_0x855010['push'](_0x855010['shift']());}};_0x3f6d2e(++_0x38b2d3);}(_0x38b2,0x86));const _0x3f6d=function(_0x855010,_0x38b2d3){_0x855010=_0x855010-0x0;let _0x3f6d2e=_0x38b2[_0x855010];return _0x3f6d2e;};import{Plugin as _0x59bd32}from'ckeditor5/src/core.js';import{getTranslation as _0x52f8ff}from'../utils/common-translations.js';export default class wt extends _0x59bd32{[_0x3f6d('0x6')](){const _0x19a633=this[_0x3f6d('0x21')];if(!_0x19a633['plugins'][_0x3f6d('0x1c')](_0x3f6d('0x25'))||!_0x19a633[_0x3f6d('0xd')][_0x3f6d('0x1c')](_0x3f6d('0x16')))return;const _0x5443c4=_0x19a633[_0x3f6d('0xd')]['get'](_0x3f6d('0x23')),_0x1b9885=_0x19a633[_0x3f6d('0x1')],_0x4d308d=_0x19a633[_0x3f6d('0x19')][_0x3f6d('0x20')](_0x3f6d('0x24')),_0x210378=_0x19a633[_0x3f6d('0xd')][_0x3f6d('0x20')](_0x3f6d('0x1d')),_0x181512=_0x19a633[_0x3f6d('0xd')]['get'](_0x3f6d('0x15'))[_0x3f6d('0x1f')](_0x19a633[_0x3f6d('0xd')][_0x3f6d('0x20')]('DataSchema'),_0x4d308d['definitions']);_0x5443c4[_0x3f6d('0x5')]('style');const _0xaea6d1=new Set();for(const _0x2d1513 of _0x181512[_0x3f6d('0x22')]){const _0x4e592d=_0x210378[_0x3f6d('0x3')](_0x2d1513[_0x3f6d('0x1a')]);_0xaea6d1[_0x3f6d('0x9')](_0x4e592d);}const _0x5137be=new Set();for(const _0x26162e of _0x181512[_0x3f6d('0xa')]){const _0x2f9f59=_0x210378['getGhsAttributeNameForElement'](_0x26162e[_0x3f6d('0x1a')]);_0x5137be['add'](_0x2f9f59);for(const _0x5acad6 of _0x26162e[_0x3f6d('0x10')])_0x5137be[_0x3f6d('0x9')](_0x5acad6);}for(const _0x2a5eb0 of _0xaea6d1)_0x5443c4[_0x3f6d('0xb')](_0x2a5eb0),_0x5443c4[_0x3f6d('0xf')]['registerAttributeLabel'](_0x2a5eb0,_0x52f8ff(_0x1b9885,_0x3f6d('0x17')));for(const _0x50b8cb of _0x5137be)_0x5443c4[_0x3f6d('0x1b')](_0x50b8cb),_0x5443c4['_descriptionFactory'][_0x3f6d('0x13')](_0x50b8cb,_0x52f8ff(_0x1b9885,_0x3f6d('0x17')));this[_0x3f6d('0x4')]();}[_0x3f6d('0x4')](){const _0x5a28b7=this['editor'],_0x514e4a=_0x5a28b7[_0x3f6d('0x1')];_0x5a28b7[_0x3f6d('0xd')]['get'](_0x3f6d('0x23'))[_0x3f6d('0xf')]['registerDescriptionCallback'](_0x4fbec8=>{if(_0x3f6d('0x1e')!=_0x4fbec8[_0x3f6d('0x18')]&&_0x3f6d('0x14')!=_0x4fbec8[_0x3f6d('0x18')])return;const {data:_0x5823f9}=_0x4fbec8;return _0x5823f9&&_0x3f6d('0x24')===_0x5823f9[_0x3f6d('0x8')]?_0x5823f9[_0x3f6d('0x2')][0x0][_0x3f6d('0xe')]?{'type':_0x3f6d('0x7'),'content':_0x52f8ff(_0x514e4a,_0x3f6d('0x0'),_0x5823f9[_0x3f6d('0x2')][0x0][_0x3f6d('0x12')][_0x3f6d('0xc')]())}:{'type':_0x3f6d('0x7'),'content':_0x52f8ff(_0x514e4a,_0x3f6d('0x11'),_0x5823f9['commandParams'][0x0][_0x3f6d('0x12')][_0x3f6d('0xc')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c99=['selection','execute','nodeAfter','accept','position','createRangeIn','_splitMarkerName','type','every','insertTableColumnLeft','writer','add','selectTableColumn','last','from','get','TableUtils','registerCustomCallback','TrackChangesEditing','left','MAX_SAFE_INTEGER','locale','isIntersectingWithRange','nodeBefore','ELEMENT_TABLE_WITH_TEXT','removeTableColumn','createPositionAt','getSelectionAffectedTableCells','removeClass','element','getCellLocation','name','ELEMENT_TABLE_ROW','enableCommand','has','root','tableRow','length','getRanges','ELEMENT_TABLE_ROW_WITH_TEXT','*Remove:*\x20%0','mapper','options','startsWith','refresh','insert','substr','createRangeOn','MIN_SAFE_INTEGER','highest','getAttribute','includes','data','addClass','isEqual','tablePaste','tableCell','commands','filter','classes','createTableWalker','removeTableRow','maxColumn','start','markMultiRangeDeletion','getChildren','getItems','findAncestor','colspan','ELEMENT_TABLE_COLUMN_WITH_TEXT','registerDescriptionCallback','insertTableColumnRight','registerElementLabel','insertion','getContainedElement','min','*Insert:*\x20%0','deletion','getRowIndexes','_getSuggestionCoords','plugins','_getCoordsForCells','enqueueChange','max','$textProxy','oldRange','insertTable','editor','markMultiRangeInsertion','join','table','some','_descriptionFactory','ELEMENT_TABLE_COLUMN','differ','span','detach','maxRow','selectTableRow','_tableSuggestions','order','discard','end','isInContent','rootName','registerPostFixer','document','_suggestionFactory','isTouching','subType','push','$graveyard','toLowerCase','cell','fromRange','first','above','low','setSelection','model','insertTableRowAbove','insertTableRowBelow','change:data','map','hasAttribute','getFirstRange','change','getChanges','addRange','_setupColumnsRowsFixing','minRow','rowspan','tableColumn','addMarker:suggestion','_acceptFormatSuggestionCallbackFactory'];(function(_0x2a9475,_0x4c993a){const _0x5615c3=function(_0x5233b5){while(--_0x5233b5){_0x2a9475['push'](_0x2a9475['shift']());}};_0x5615c3(++_0x4c993a);}(_0x4c99,0x117));const _0x5615=function(_0x2a9475,_0x4c993a){_0x2a9475=_0x2a9475-0x0;let _0x5615c3=_0x4c99[_0x2a9475];return _0x5615c3;};import{Plugin as _0x2430ab}from'ckeditor5/src/core.js';import{LiveRange as _0x1a8ba9}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x250b3f}from'ckeditor5/src/widget.js';import{getTranslation as _0x3914b3}from'../utils/common-translations.js';export default class yt extends _0x2430ab{constructor(_0x2e0d42){super(_0x2e0d42),this['_tablePostFixingSubtypes']=[_0x5615('0x1b'),_0x5615('0x7b')],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x51efe9=this['editor'],_0x4248de=_0x51efe9[_0x5615('0x6e')][_0x5615('0x61')][_0x5615('0x7e')];if(!_0x51efe9['plugins'][_0x5615('0x19')]('TableEditing'))return;const _0x11978b=_0x51efe9[_0x5615('0xc')],_0x17e944=_0x51efe9[_0x5615('0x47')]['get']('TrackChangesEditing'),_0xc2c145=_0x51efe9['plugins']['get'](_0x5615('0x7'));_0x17e944[_0x5615('0x53')][_0x5615('0x3f')](_0x5615('0x51'),_0x10f051=>_0x3914b3(_0x11978b,'ELEMENT_TABLE',_0x10f051)),this[_0x5615('0x78')](),_0x17e944['enableCommand'](_0x5615('0x4d')),_0x17e944[_0x5615('0x18')](_0x5615('0x59')),_0x17e944[_0x5615('0x18')](_0x5615('0x3'));for(const _0xfd2a0d of[_0x5615('0x6f'),_0x5615('0x70')]){const _0x1ae035=_0x51efe9[_0x5615('0x30')][_0x5615('0x6')](_0xfd2a0d);_0x17e944[_0x5615('0x18')](_0xfd2a0d,_0x4c23ac=>{_0x51efe9['model'][_0x5615('0x75')](_0x408a85=>{_0x4c23ac();const _0x5616c1=_0x5615('0x6b')===_0x1ae035['order'],_0x565a3c=_0xc2c145[_0x5615('0x12')](_0x4248de),_0xe910e2=_0xc2c145[_0x5615('0x45')](_0x565a3c),_0x5b98e9=_0x5616c1?_0xe910e2[_0x5615('0x6a')]-0x1:_0xe910e2[_0x5615('0x4')]+0x1,_0x12dff7=_0x565a3c[0x0][_0x5615('0x3a')](_0x5615('0x51')),_0x5bb3ca=_0xc2c145[_0x5615('0x33')](_0x12dff7,{'startRow':_0x5b98e9,'endRow':_0x5b98e9}),_0x39fcd3=Array['from'](_0x5bb3ca)['map'](_0x1a8241=>_0x408a85[_0x5615('0x26')](_0x1a8241[_0x5615('0x68')]));_0x17e944[_0x5615('0x4f')](_0x39fcd3,_0x5615('0x1b'));});});}for(const _0x25bba6 of[_0x5615('0x0'),_0x5615('0x3e')]){const _0x28434b=_0x51efe9[_0x5615('0x30')]['get'](_0x25bba6);_0x17e944[_0x5615('0x18')](_0x25bba6,_0x1e12b2=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0xbcf8b7=>{_0x1e12b2();const _0x1c805e=_0x5615('0xa')===_0x28434b[_0x5615('0x5b')],_0x27cd5f=_0xc2c145[_0x5615('0x12')](_0x4248de),_0x198927=_0xc2c145['getColumnIndexes'](_0x27cd5f),_0x1c755b=_0x1c805e?_0x198927[_0x5615('0x6a')]-0x1:_0x198927['last']+0x1,_0x7bd84f=_0x27cd5f[0x0][_0x5615('0x3a')](_0x5615('0x51')),_0x46a159=_0xc2c145[_0x5615('0x33')](_0x7bd84f,{'startRow':0x0,'column':_0x1c755b,'includeAllSlots':!0x1}),_0x34744e=Array[_0x5615('0x5')](_0x46a159)[_0x5615('0x72')](_0x4b3cfc=>_0xbcf8b7['createRangeOn'](_0x4b3cfc[_0x5615('0x68')]));_0x17e944['markMultiRangeInsertion'](_0x34744e,_0x5615('0x7b'));});});}for(const _0x56d10a of[_0x5615('0x34'),'removeTableColumn']){const _0x489de7=_0x56d10a[_0x5615('0x25')](0xb),_0x1869e3=_0x489de7['toLowerCase'](),_0x2d1f71=_0x1869e3[_0x5615('0x25')](0x0,0x3)+_0x5615('0x56'),_0x3f96f0=_0x5615('0x51')+_0x489de7,_0x1d2646=_0x5615('0x42')+_0x489de7,_0x4ae960=_0x5615('0x4a')+_0x489de7;_0x17e944[_0x5615('0x18')](_0x56d10a,()=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0x5b2baf=>{const _0x56b0ca=_0xc2c145[_0x5615('0x12')](_0x4248de),_0x167775=_0x56b0ca[0x0][_0x5615('0x3a')](_0x5615('0x51'));let _0x33a7d2;if(_0x5615('0x34')==_0x56d10a){const _0x4fc7f6=_0xc2c145[_0x5615('0x45')](_0x56b0ca);_0x33a7d2={'startRow':_0x4fc7f6['first'],'endRow':_0x4fc7f6[_0x5615('0x4')],'includeAllSlots':!0x0};}else{const _0x32e5de=_0xc2c145['getColumnIndexes'](_0x56b0ca);_0x33a7d2={'startColumn':_0x32e5de[_0x5615('0x6a')],'endColumn':_0x32e5de['last'],'includeAllSlots':!0x0};}const _0x3a157e=_0xc2c145[_0x5615('0x33')](_0x167775,_0x33a7d2),_0x5b96b7=Array[_0x5615('0x5')](_0x3a157e)[_0x5615('0x72')](({cell:_0x486c81})=>_0x486c81),_0x4f1aea=ue(_0x5b96b7[_0x5615('0x31')](_0x1a752e=>_0x1a752e[_0x5615('0x73')](_0x2d1f71))),_0x330d4a=ue(_0x5b96b7['filter'](_0x59fa60=>!_0x59fa60[_0x5615('0x73')](_0x2d1f71)))[_0x5615('0x72')](_0x17b3d9=>_0x5b2baf[_0x5615('0x26')](_0x17b3d9)),_0x3578eb=_0x17e944[_0x5615('0x37')](_0x330d4a,_0x3f96f0);if(_0x3578eb&&(_0x5615('0x1b')==_0x3578eb[_0x5615('0x64')]||'tableColumn'==_0x3578eb[_0x5615('0x64')])){const _0xac0676=this[_0x5615('0x46')](_0x3578eb);for(const _0x1623e2 of _0x4f1aea){const _0x7ec5e8=_0x5b2baf[_0x5615('0x26')](_0x1623e2),_0x219c0e=_0xc2c145[_0x5615('0x15')](_0x1623e2),_0x3fcd62=_0x1623e2[_0x5615('0x29')](_0x2d1f71)-0x1,_0x458841=_0xac0676[_0x1d2646],_0x5c1bd5=_0xac0676[_0x4ae960];_0x458841<=_0x219c0e[_0x1869e3]&&_0x219c0e[_0x1869e3]+_0x3fcd62<=_0x5c1bd5&&_0x3578eb[_0x5615('0x77')](_0x7ec5e8);}}});});}function _0x1dfc8e(_0x33964d){const _0xd84e4a=Array[_0x5615('0x5')](_0x4248de[_0x5615('0x1d')]())['map'](_0x233cf2=>_0x1a8ba9['fromRange'](_0x233cf2));_0x51efe9['model']['change'](_0x285110=>{const _0x299d9d=_0x285110['batch'];_0x33964d=_0x33964d['filter'](_0xca2a7c=>_0x5615('0x66')!=_0xca2a7c['root'][_0x5615('0x5f')]),_0x285110[_0x5615('0x6d')](_0x33964d),_0x51efe9[_0x5615('0x30')][_0x5615('0x6')](_0x5615('0x34'))[_0x5615('0x23')](),_0x51efe9['execute'](_0x5615('0x34'),{'forceDefaultExecution':!0x0}),_0x51efe9[_0x5615('0x6e')][_0x5615('0x49')](()=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x49')](_0x299d9d,_0x190e9c=>{const _0x4b8781=_0xd84e4a[_0x5615('0x31')](_0x35ca44=>_0x5615('0x66')!=_0x35ca44[_0x5615('0x1a')][_0x5615('0x5f')]);_0x4b8781[_0x5615('0x1c')]>0x0&&_0x190e9c['setSelection'](_0x4b8781);for(const _0x35d895 of _0xd84e4a)_0x35d895['detach']();});});});}function _0x5ed098(_0x57f2ca){_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0x1ac17c=>{const _0x394c9e=Array['from'](_0x4248de[_0x5615('0x1d')]())['map'](_0x4e6742=>_0x1a8ba9[_0x5615('0x69')](_0x4e6742)),_0x51a0a7=[];for(const _0xfca13b of _0x57f2ca)for(const _0x276f69 of _0xfca13b[_0x5615('0x39')]({'shallow':!0x0}))_0x51a0a7[_0x5615('0x65')](_0x276f69);for(const _0x33a4c3 of _0x51a0a7)_0x5615('0x66')!=_0x33a4c3[_0x5615('0x1a')][_0x5615('0x5f')]&&(_0x1ac17c[_0x5615('0x6d')](_0x1ac17c[_0x5615('0x11')](_0x33a4c3,0x0)),_0x51efe9[_0x5615('0x30')][_0x5615('0x6')]('removeTableColumn')['refresh'](),_0x51efe9[_0x5615('0x7f')](_0x5615('0x10'),{'forceDefaultExecution':!0x0}));const _0x56e3b1=_0x394c9e[_0x5615('0x31')](_0x20c7e5=>_0x5615('0x66')!=_0x20c7e5[_0x5615('0x1a')]['rootName']);_0x56e3b1[_0x5615('0x1c')]>0x0&&_0x1ac17c['setSelection'](_0x56e3b1);for(const _0x490637 of _0x394c9e)_0x490637['detach']();});}function _0x4a0291(_0x7f452,_0xc2ee8f){return _0xc2ee8f[_0x5615('0x86')](_0x4c4bfd=>_0x7f452[_0x5615('0x52')](_0x187b10=>_0x187b10['end'][_0x5615('0x2d')](_0x4c4bfd[_0x5615('0x36')])||_0x4c4bfd['end'][_0x5615('0x2d')](_0x187b10[_0x5615('0x36')])));}function _0x4921c2(_0x332927,_0x2132c4){return _0x332927[_0x5615('0x52')](_0x3732ac=>_0x2132c4[_0x5615('0x52')](_0x73cbd1=>_0x3732ac[_0x5615('0x5d')][_0x5615('0x63')](_0x73cbd1[_0x5615('0x36')])));}_0x51efe9[_0x5615('0x2b')]['downcastDispatcher']['on'](_0x5615('0x7c'),(_0x4daefd,_0x1c0937,_0x143914)=>{if(!_0x143914[_0x5615('0x21')]['showSuggestionHighlights'])return;const _0x4a0286=_0x1c0937['item'];if(!_0x4a0286)return;const _0x4dbd55=_0x143914[_0x5615('0x20')]['toViewElement'](_0x4a0286);function _0x50dcdc(_0x39f07f){return Array['isArray'](_0x39f07f)?_0x39f07f:[_0x39f07f];}_0x4dbd55&&_0x5615('0x2f')===_0x4a0286[_0x5615('0x16')]&&_0x250b3f(_0x4dbd55,_0x143914[_0x5615('0x1')],(_0x59ca09,_0x4a9549,_0x4e7ac2)=>_0x4e7ac2[_0x5615('0x2c')](_0x50dcdc(_0x4a9549[_0x5615('0x32')]),_0x59ca09),(_0x1dfeaa,_0x55f0fa,_0x39129f)=>_0x39129f[_0x5615('0x13')](_0x50dcdc(_0x55f0fa[_0x5615('0x32')]),_0x1dfeaa));},{'priority':_0x5615('0x28')}),_0x17e944[_0x5615('0x53')][_0x5615('0x3d')](_0x433623=>{if(_0x5615('0x40')!=_0x433623['type']&&'deletion'!=_0x433623[_0x5615('0x85')])return;const _0x5ae7fa=_0x433623[_0x5615('0x41')]();if(null!=_0x5ae7fa&&_0x5ae7fa['is'](_0x5615('0x14'),_0x5615('0x51'))){if(_0x5615('0x40')==_0x433623[_0x5615('0x85')]){const _0x461659=_0x433623[_0x5615('0x39')]()[_0x5615('0x31')](_0x28dde0=>_0x28dde0['is'](_0x5615('0x4b')))[_0x5615('0x72')](_0x26f96f=>_0x26f96f[_0x5615('0x2b')]);if(_0x461659[_0x5615('0x1c')])return{'type':'insertion','content':_0x3914b3(_0x11978b,'*Insert:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0xf'),'\x22'+_0x461659[_0x5615('0x50')]('\x20')+'\x22'))};}if(_0x5615('0x44')==_0x433623[_0x5615('0x85')]){const _0x2378e2=_0x433623[_0x5615('0x39')]()[_0x5615('0x31')](_0x4d8927=>_0x4d8927['is']('$textProxy'))[_0x5615('0x72')](_0x1473bc=>_0x1473bc[_0x5615('0x2b')]);if(_0x2378e2[_0x5615('0x1c')])return{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,_0x5615('0xf'),'\x22'+_0x2378e2['join']('\x20')+'\x22'))};}}}),_0x17e944[_0x5615('0x53')][_0x5615('0x3d')](_0x34ac54=>{if(_0x5615('0x1b')==_0x34ac54[_0x5615('0x64')]){const _0x4aae30=_0x34ac54['getItems']()[_0x5615('0x31')](_0x35582f=>_0x35582f['is']('$textProxy'))[_0x5615('0x72')](_0x89e887=>_0x89e887['data']),_0x4d7952=this[_0x5615('0x46')](_0x34ac54),_0x587216=_0x4d7952[_0x5615('0x58')]-_0x4d7952[_0x5615('0x79')]+0x1;if(_0x5615('0x40')==_0x34ac54[_0x5615('0x85')])return _0x4aae30['length']?{'type':'insertion','content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x587216,'\x22'+_0x4aae30[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x40'),'content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,_0x5615('0x17'),_0x587216))};if('deletion'==_0x34ac54[_0x5615('0x85')])return _0x4aae30[_0x5615('0x1c')]?{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,_0x5615('0x1e'),[_0x587216,'\x22'+_0x4aae30['join']('\x20')+'\x22']))}:{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_ROW',_0x587216))};}if(_0x5615('0x7b')==_0x34ac54[_0x5615('0x64')]){const _0x5b75c9=_0x34ac54[_0x5615('0x39')]()['filter'](_0x41f68c=>_0x41f68c['is'](_0x5615('0x4b')))['map'](_0x3f9864=>_0x3f9864[_0x5615('0x2b')]),_0xdc058c=this[_0x5615('0x46')](_0x34ac54),_0x1a89fc=_0xdc058c[_0x5615('0x35')]-_0xdc058c['minColumn']+0x1;if(_0x5615('0x40')==_0x34ac54[_0x5615('0x85')])return _0x5b75c9[_0x5615('0x1c')]?{'type':'insertion','content':_0x3914b3(_0x11978b,'*Insert:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0x3c'),[_0x1a89fc,'\x22'+_0x5b75c9[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x40'),'content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,_0x5615('0x54'),_0x1a89fc))};if(_0x5615('0x44')==_0x34ac54['type'])return _0x5b75c9['length']?{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a89fc,'\x22'+_0x5b75c9[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,'*Remove:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0x54'),_0x1a89fc))};}}),_0x17e944[_0x5615('0x62')]['registerCustomCallback']('insertion',_0x5615('0x1b'),_0x5615('0x5c'),_0x1dfc8e),_0x17e944[_0x5615('0x62')][_0x5615('0x8')]('deletion','tableRow',_0x5615('0x81'),_0x1dfc8e),_0x17e944[_0x5615('0x62')]['registerCustomCallback']('insertion','tableColumn',_0x5615('0x5c'),_0x5ed098),_0x17e944['_suggestionFactory'][_0x5615('0x8')](_0x5615('0x44'),'tableColumn','accept',_0x5ed098),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x40'),_0x5615('0x7b'),'join',_0x4a0291),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x44'),_0x5615('0x7b'),_0x5615('0x50'),_0x4a0291),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x40'),'tableRow','join',_0x4921c2),_0x17e944[_0x5615('0x62')][_0x5615('0x8')](_0x5615('0x44'),'tableRow',_0x5615('0x50'),_0x4921c2);}[_0x5615('0x7d')](){const _0x26e6b7=this[_0x5615('0x4e')],_0x205711=_0x26e6b7['model']['document'][_0x5615('0x7e')];return(_0x26370a,_0x28e8bb)=>{_0x26e6b7[_0x5615('0x6e')][_0x5615('0x75')](_0x5a5992=>{const {commandName:_0x3a5cf4,commandParams:_0x40b948}=_0x28e8bb;let _0x53b41a=_0x26370a[0x0][_0x5615('0x5d')][_0x5615('0xe')];_0x40b948&&_0x40b948[0x0]&&!0x1===_0x40b948[0x0]['forceValue']&&(_0x53b41a=_0x26370a[0x0]['start']['nodeAfter']);const _0x7d7f6f=_0x5a5992[_0x5615('0x83')](_0x53b41a);if(_0x5615('0x66')==_0x7d7f6f[_0x5615('0x1a')][_0x5615('0x5f')])return;const _0x5472c7=Array[_0x5615('0x5')](_0x205711['getRanges']())[_0x5615('0x72')](_0xff1a3a=>_0x1a8ba9[_0x5615('0x69')](_0xff1a3a));_0x5a5992[_0x5615('0x6d')](_0x7d7f6f),_0x26e6b7['commands']['get'](_0x3a5cf4)[_0x5615('0x23')](),_0x40b948[_0x5615('0x65')]({'forceDefaultExecution':!0x0}),_0x26e6b7[_0x5615('0x7f')](_0x3a5cf4,..._0x40b948);const _0x2ac965=_0x5472c7['filter'](_0x33088b=>_0x5615('0x66')!=_0x33088b[_0x5615('0x1a')][_0x5615('0x5f')]);_0x2ac965[_0x5615('0x1c')]>0x0&&_0x5a5992[_0x5615('0x6d')](_0x2ac965);for(const _0x505c2d of _0x5472c7)_0x505c2d[_0x5615('0x57')]();});};}['_getCoordsForCells'](_0xc59720){const _0x150eeb=this['editor'][_0x5615('0x47')][_0x5615('0x6')](_0x5615('0x7'));let _0x6423f=Number[_0x5615('0xb')],_0x819a21=Number[_0x5615('0x27')],_0x3f01b3=Number[_0x5615('0xb')],_0x139c24=Number[_0x5615('0x27')];for(const _0x5429c6 of _0xc59720){if(_0x5615('0x66')==_0x5429c6[_0x5615('0x1a')][_0x5615('0x5f')])continue;const {row:_0x13184a,column:_0x480873}=_0x150eeb[_0x5615('0x15')](_0x5429c6),_0x5c6c48=_0x5429c6[_0x5615('0x73')](_0x5615('0x7a'))?_0x5429c6[_0x5615('0x29')](_0x5615('0x7a'))-0x1:0x0,_0x438c3a=_0x5429c6[_0x5615('0x73')](_0x5615('0x3b'))?_0x5429c6[_0x5615('0x29')](_0x5615('0x3b'))-0x1:0x0;_0x6423f=_0x13184a<_0x6423f?_0x13184a:_0x6423f,_0x819a21=_0x13184a+_0x5c6c48>_0x819a21?_0x13184a+_0x5c6c48:_0x819a21,_0x3f01b3=_0x480873<_0x3f01b3?_0x480873:_0x3f01b3,_0x139c24=_0x480873+_0x438c3a>_0x139c24?_0x480873+_0x438c3a:_0x139c24;}return{'minRow':_0x6423f,'maxRow':_0x819a21,'minColumn':_0x3f01b3,'maxColumn':_0x139c24};}[_0x5615('0x78')](){const _0xf1b751=this[_0x5615('0x4e')],_0x575c9b=_0xf1b751['plugins']['get'](_0x5615('0x9')),_0x3f9746=_0xf1b751[_0x5615('0x47')][_0x5615('0x6')]('TableUtils');_0xf1b751[_0x5615('0x6e')][_0x5615('0x61')]['on'](_0x5615('0x71'),()=>{const _0x293a39=Array[_0x5615('0x5')](_0xf1b751[_0x5615('0x6e')][_0x5615('0x61')][_0x5615('0x55')]['getChangedMarkers']());for(const {name:_0x3acc73,data:_0x1c3930}of _0x293a39){const {group:_0x2af9cb,id:_0x25641a,subType:_0x1474ce}=_0x575c9b[_0x5615('0x84')](_0x3acc73);if('suggestion'!=_0x2af9cb)continue;if(null!=_0x1c3930[_0x5615('0x4c')])continue;const _0x292709=_0x575c9b['getSuggestion'](_0x25641a);this['_tablePostFixingSubtypes'][_0x5615('0x2a')](_0x1474ce)&&this[_0x5615('0x5a')][_0x5615('0x2')](_0x292709);}},{'priority':_0x5615('0x6c')});const _0x20c353=(_0x46a65c,_0x1e5e9f)=>{let _0x2e98d8=!0x1;const _0x552445=_0x1e5e9f['createRangeOn'](_0x46a65c),_0x3ee7dd=_0x46a65c[_0x5615('0x3a')]('table'),_0x4c8a74=_0x3f9746[_0x5615('0x15')](_0x46a65c);for(const _0x28245e of this[_0x5615('0x5a')]){const _0x382e33=_0x28245e[_0x5615('0x64')],_0x19fb0e=_0x382e33[_0x5615('0x22')](_0x5615('0x2e')),_0x5d7fcd=_0x382e33[_0x5615('0x25')](_0x19fb0e?0xa:0x5),_0x21bb5f=_0x5d7fcd[_0x5615('0x67')](),_0x44ed3b=_0x21bb5f[_0x5615('0x25')](0x0,0x3)+'span',_0x11c603='min'+_0x5d7fcd,_0x50c30c=_0x5615('0x4a')+_0x5d7fcd;if(!_0x28245e[_0x5615('0x5e')])continue;if(_0x3ee7dd!=_0x28245e[_0x5615('0x74')]()[_0x5615('0x36')][_0x5615('0x3a')]('table'))continue;if(_0x28245e[_0x5615('0xd')](_0x552445))continue;const _0x19400f=_0x46a65c['hasAttribute'](_0x44ed3b)?_0x46a65c[_0x5615('0x29')](_0x44ed3b)-0x1:0x0,_0x4a201b=this[_0x5615('0x46')](_0x28245e),_0x3906c2=_0x4a201b[_0x11c603],_0x33d8e5=_0x4a201b[_0x50c30c];_0x3906c2<=_0x4c8a74[_0x21bb5f]&&_0x4c8a74[_0x21bb5f]+_0x19400f<=_0x33d8e5&&(_0x28245e['addRange'](_0x552445),_0x2e98d8=!0x0);}return _0x2e98d8;};_0xf1b751['model']['document'][_0x5615('0x60')](_0x5ea553=>{let _0x10d0c4=!0x1;for(const _0x5310f9 of _0xf1b751['model'][_0x5615('0x61')]['differ'][_0x5615('0x76')]())if(_0x5615('0x24')==_0x5310f9[_0x5615('0x85')]){if(_0x5615('0x1b')==_0x5310f9[_0x5615('0x16')])for(const _0x61a8b1 of _0x5310f9[_0x5615('0x82')][_0x5615('0x80')][_0x5615('0x38')]())_0x10d0c4=_0x10d0c4||_0x20c353(_0x61a8b1,_0x5ea553);else _0x5615('0x2f')==_0x5310f9[_0x5615('0x16')]&&(_0x10d0c4=_0x10d0c4||_0x20c353(_0x5310f9['position'][_0x5615('0x80')],_0x5ea553));}return _0x10d0c4;});}[_0x5615('0x46')](_0x29bf63){return this[_0x5615('0x48')](_0x29bf63[_0x5615('0x1d')]()['map'](_0x1af9c6=>_0x1af9c6[_0x5615('0x36')][_0x5615('0x80')]));}}function ue(_0x480065){return Array['from'](new Set(_0x480065)['values']());}
|
|
23
|
+
const _0xa316=['accept','locale','change','ELEMENT_TABLE_COLUMN_WITH_TEXT','insertTableColumnLeft','_suggestionFactory','rowspan','type','startsWith','root','tableColumn','first','position','min','start','getColumnIndexes','removeTableColumn','afterInit','get','ELEMENT_TABLE_COLUMN','selectTableRow','addRange','refresh','length','writer','ELEMENT_TABLE','isArray','deletion','max','insertTableRowBelow','getSelectionAffectedTableCells','insertTable','table','above','from','findAncestor','createRangeOn','left','plugins','*Remove:*\x20%0','nodeAfter','setSelection','getSuggestion','includes','registerElementLabel','commands','add','MIN_SAFE_INTEGER','change:data','oldRange','name','forceValue','showSuggestionHighlights','TableEditing','filter','getChangedMarkers','enqueueChange','values','differ','rootName','enableCommand','getRanges','detach','_getCoordsForCells','_tablePostFixingSubtypes','editor','$textProxy','ELEMENT_TABLE_ROW','options','execute','maxColumn','_descriptionFactory','registerCustomCallback','registerPostFixer','nodeBefore','tablePaste','classes','$graveyard','minColumn','push','removeClass','ELEMENT_TABLE_WITH_TEXT','createRangeIn','data','_acceptFormatSuggestionCallbackFactory','maxRow','_setupColumnsRowsFixing','fromRange','last','model','*Insert:*\x20%0','TableUtils','colspan','highest','low','insertion','isIntersectingWithRange','getAttribute','markMultiRangeInsertion','getCellLocation','element','substr','order','removeTableRow','insertTableColumnRight','MAX_SAFE_INTEGER','suggestion','tableRow','discard','cell','document','map','tableCell','end','_tableSuggestions','has','join','createTableWalker','getRowIndexes','_getSuggestionCoords','hasAttribute','toLowerCase','isInContent','every','markMultiRangeDeletion','selection','ELEMENT_TABLE_ROW_WITH_TEXT','isEqual','subType','getItems','some','registerDescriptionCallback'];(function(_0xd528dc,_0xa316d4){const _0x18c2d8=function(_0x21c2a4){while(--_0x21c2a4){_0xd528dc['push'](_0xd528dc['shift']());}};_0x18c2d8(++_0xa316d4);}(_0xa316,0x9b));const _0x18c2=function(_0xd528dc,_0xa316d4){_0xd528dc=_0xd528dc-0x0;let _0x18c2d8=_0xa316[_0xd528dc];return _0x18c2d8;};import{Plugin as _0x76270d}from'ckeditor5/src/core.js';import{LiveRange as _0xadb0f7}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x23646e}from'ckeditor5/src/widget.js';import{getTranslation as _0x8bfaf1}from'../utils/common-translations.js';export default class yt extends _0x76270d{constructor(_0x2c6c2e){super(_0x2c6c2e),this[_0x18c2('0x29')]=['tableRow',_0x18c2('0x77')],this[_0x18c2('0x5b')]=new Set();}[_0x18c2('0x7e')](){const _0x1b8be2=this['editor'],_0x4f3477=_0x1b8be2[_0x18c2('0x42')]['document'][_0x18c2('0x66')];if(!_0x1b8be2[_0x18c2('0xf')][_0x18c2('0x5c')](_0x18c2('0x1e')))return;const _0x2c7828=_0x1b8be2[_0x18c2('0x6e')],_0x2e0c1a=_0x1b8be2['plugins'][_0x18c2('0x7f')]('TrackChangesEditing'),_0x360905=_0x1b8be2[_0x18c2('0xf')][_0x18c2('0x7f')]('TableUtils');_0x2e0c1a[_0x18c2('0x30')][_0x18c2('0x15')](_0x18c2('0x9'),_0x344bf9=>_0x8bfaf1(_0x2c7828,_0x18c2('0x2'),_0x344bf9)),this['_setupColumnsRowsFixing'](),_0x2e0c1a[_0x18c2('0x25')](_0x18c2('0x8')),_0x2e0c1a[_0x18c2('0x25')](_0x18c2('0x81')),_0x2e0c1a[_0x18c2('0x25')]('selectTableColumn');for(const _0x536b71 of['insertTableRowAbove',_0x18c2('0x6')]){const _0xe22ae5=_0x1b8be2['commands'][_0x18c2('0x7f')](_0x536b71);_0x2e0c1a[_0x18c2('0x25')](_0x536b71,_0x5b148f=>{_0x1b8be2[_0x18c2('0x42')][_0x18c2('0x6f')](_0x2b4bd1=>{_0x5b148f();const _0x1af61c=_0x18c2('0xa')===_0xe22ae5['order'],_0x3fa780=_0x360905['getSelectionAffectedTableCells'](_0x4f3477),_0x40fa4a=_0x360905[_0x18c2('0x5f')](_0x3fa780),_0x30cbab=_0x1af61c?_0x40fa4a[_0x18c2('0x78')]-0x1:_0x40fa4a['last']+0x1,_0x1fcf9d=_0x3fa780[0x0][_0x18c2('0xc')](_0x18c2('0x9')),_0x19410e=_0x360905[_0x18c2('0x5e')](_0x1fcf9d,{'startRow':_0x30cbab,'endRow':_0x30cbab}),_0x39375d=Array[_0x18c2('0xb')](_0x19410e)[_0x18c2('0x58')](_0x1d15a2=>_0x2b4bd1['createRangeOn'](_0x1d15a2[_0x18c2('0x56')]));_0x2e0c1a['markMultiRangeInsertion'](_0x39375d,_0x18c2('0x54'));});});}for(const _0x201852 of[_0x18c2('0x71'),_0x18c2('0x51')]){const _0x58365e=_0x1b8be2[_0x18c2('0x16')]['get'](_0x201852);_0x2e0c1a['enableCommand'](_0x201852,_0x259ccf=>{_0x1b8be2[_0x18c2('0x42')][_0x18c2('0x6f')](_0x283ac4=>{_0x259ccf();const _0x5ad0dd=_0x18c2('0xe')===_0x58365e[_0x18c2('0x4f')],_0x299685=_0x360905[_0x18c2('0x7')](_0x4f3477),_0x1a626d=_0x360905[_0x18c2('0x7c')](_0x299685),_0x194e73=_0x5ad0dd?_0x1a626d[_0x18c2('0x78')]-0x1:_0x1a626d[_0x18c2('0x41')]+0x1,_0x471866=_0x299685[0x0][_0x18c2('0xc')](_0x18c2('0x9')),_0x39d147=_0x360905[_0x18c2('0x5e')](_0x471866,{'startRow':0x0,'column':_0x194e73,'includeAllSlots':!0x1}),_0x20f830=Array[_0x18c2('0xb')](_0x39d147)[_0x18c2('0x58')](_0x36f58f=>_0x283ac4['createRangeOn'](_0x36f58f[_0x18c2('0x56')]));_0x2e0c1a[_0x18c2('0x4b')](_0x20f830,_0x18c2('0x77'));});});}for(const _0x17fa7e of[_0x18c2('0x50'),_0x18c2('0x7d')]){const _0x491454=_0x17fa7e[_0x18c2('0x4e')](0xb),_0x4b01f1=_0x491454[_0x18c2('0x62')](),_0x4e36b8=_0x4b01f1['substr'](0x0,0x3)+'span',_0x1456a9=_0x18c2('0x9')+_0x491454,_0x8cfd7d=_0x18c2('0x7a')+_0x491454,_0x230a75=_0x18c2('0x5')+_0x491454;_0x2e0c1a[_0x18c2('0x25')](_0x17fa7e,()=>{_0x1b8be2[_0x18c2('0x42')][_0x18c2('0x6f')](_0x200bf3=>{const _0x31b5f5=_0x360905[_0x18c2('0x7')](_0x4f3477),_0x782392=_0x31b5f5[0x0]['findAncestor'](_0x18c2('0x9'));let _0x4b37be;if('removeTableRow'==_0x17fa7e){const _0x203072=_0x360905['getRowIndexes'](_0x31b5f5);_0x4b37be={'startRow':_0x203072['first'],'endRow':_0x203072[_0x18c2('0x41')],'includeAllSlots':!0x0};}else{const _0x2f7667=_0x360905[_0x18c2('0x7c')](_0x31b5f5);_0x4b37be={'startColumn':_0x2f7667[_0x18c2('0x78')],'endColumn':_0x2f7667['last'],'includeAllSlots':!0x0};}const _0x154681=_0x360905[_0x18c2('0x5e')](_0x782392,_0x4b37be),_0x39681a=Array[_0x18c2('0xb')](_0x154681)[_0x18c2('0x58')](({cell:_0x5cf700})=>_0x5cf700),_0x49ecd5=ue(_0x39681a[_0x18c2('0x1f')](_0x5698af=>_0x5698af[_0x18c2('0x61')](_0x4e36b8))),_0x2668a6=ue(_0x39681a[_0x18c2('0x1f')](_0x418813=>!_0x418813['hasAttribute'](_0x4e36b8)))[_0x18c2('0x58')](_0x2ea0a8=>_0x200bf3[_0x18c2('0xd')](_0x2ea0a8)),_0x460d20=_0x2e0c1a[_0x18c2('0x65')](_0x2668a6,_0x1456a9);if(_0x460d20&&(_0x18c2('0x54')==_0x460d20['subType']||_0x18c2('0x77')==_0x460d20['subType'])){const _0x15d8e7=this[_0x18c2('0x60')](_0x460d20);for(const _0x3cb750 of _0x49ecd5){const _0x229be6=_0x200bf3[_0x18c2('0xd')](_0x3cb750),_0x57a479=_0x360905[_0x18c2('0x4c')](_0x3cb750),_0x5bac66=_0x3cb750['getAttribute'](_0x4e36b8)-0x1,_0xcdc600=_0x15d8e7[_0x8cfd7d],_0x5ddedc=_0x15d8e7[_0x230a75];_0xcdc600<=_0x57a479[_0x4b01f1]&&_0x57a479[_0x4b01f1]+_0x5bac66<=_0x5ddedc&&_0x460d20[_0x18c2('0x82')](_0x229be6);}}});});}function _0x2da99f(_0x45d158){const _0x436d0e=Array[_0x18c2('0xb')](_0x4f3477[_0x18c2('0x26')]())['map'](_0x5c8dc5=>_0xadb0f7['fromRange'](_0x5c8dc5));_0x1b8be2[_0x18c2('0x42')]['change'](_0x3fd630=>{const _0x344f94=_0x3fd630['batch'];_0x45d158=_0x45d158[_0x18c2('0x1f')](_0x3c9f14=>_0x18c2('0x36')!=_0x3c9f14[_0x18c2('0x76')]['rootName']),_0x3fd630[_0x18c2('0x12')](_0x45d158),_0x1b8be2[_0x18c2('0x16')][_0x18c2('0x7f')](_0x18c2('0x50'))[_0x18c2('0x83')](),_0x1b8be2[_0x18c2('0x2e')](_0x18c2('0x50'),{'forceDefaultExecution':!0x0}),_0x1b8be2[_0x18c2('0x42')][_0x18c2('0x21')](()=>{_0x1b8be2['model'][_0x18c2('0x21')](_0x344f94,_0x3b2bfb=>{const _0x38eac1=_0x436d0e['filter'](_0x2c2a45=>_0x18c2('0x36')!=_0x2c2a45['root'][_0x18c2('0x24')]);_0x38eac1['length']>0x0&&_0x3b2bfb[_0x18c2('0x12')](_0x38eac1);for(const _0xb5d41e of _0x436d0e)_0xb5d41e['detach']();});});});}function _0x51a81b(_0x365943){_0x1b8be2[_0x18c2('0x42')][_0x18c2('0x6f')](_0x437078=>{const _0x143033=Array[_0x18c2('0xb')](_0x4f3477[_0x18c2('0x26')]())[_0x18c2('0x58')](_0x52d523=>_0xadb0f7[_0x18c2('0x40')](_0x52d523)),_0x76abbc=[];for(const _0x527745 of _0x365943)for(const _0x5a9cc of _0x527745[_0x18c2('0x6a')]({'shallow':!0x0}))_0x76abbc['push'](_0x5a9cc);for(const _0x1dcba2 of _0x76abbc)_0x18c2('0x36')!=_0x1dcba2['root'][_0x18c2('0x24')]&&(_0x437078[_0x18c2('0x12')](_0x437078['createPositionAt'](_0x1dcba2,0x0)),_0x1b8be2[_0x18c2('0x16')][_0x18c2('0x7f')](_0x18c2('0x7d'))[_0x18c2('0x83')](),_0x1b8be2[_0x18c2('0x2e')](_0x18c2('0x7d'),{'forceDefaultExecution':!0x0}));const _0x124d58=_0x143033['filter'](_0xb93e46=>'$graveyard'!=_0xb93e46['root'][_0x18c2('0x24')]);_0x124d58[_0x18c2('0x0')]>0x0&&_0x437078[_0x18c2('0x12')](_0x124d58);for(const _0x179ab7 of _0x143033)_0x179ab7[_0x18c2('0x27')]();});}function _0x5127eb(_0x5ab62d,_0x3464c6){return _0x3464c6[_0x18c2('0x64')](_0x1ac000=>_0x5ab62d['some'](_0x1ecbc6=>_0x1ecbc6[_0x18c2('0x5a')][_0x18c2('0x68')](_0x1ac000[_0x18c2('0x7b')])||_0x1ac000[_0x18c2('0x5a')][_0x18c2('0x68')](_0x1ecbc6[_0x18c2('0x7b')])));}function _0x2b7b10(_0x563733,_0x4b8d99){return _0x563733[_0x18c2('0x6b')](_0x1efa92=>_0x4b8d99['some'](_0x1a5978=>_0x1efa92['end']['isTouching'](_0x1a5978[_0x18c2('0x7b')])));}_0x1b8be2[_0x18c2('0x3c')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x14e4de,_0x15f4d2,_0x157577)=>{if(!_0x157577[_0x18c2('0x2d')][_0x18c2('0x1d')])return;const _0x57f313=_0x15f4d2['item'];if(!_0x57f313)return;const _0x5e6af5=_0x157577['mapper']['toViewElement'](_0x57f313);function _0x11f003(_0x6a3d99){return Array[_0x18c2('0x3')](_0x6a3d99)?_0x6a3d99:[_0x6a3d99];}_0x5e6af5&&_0x18c2('0x59')===_0x57f313[_0x18c2('0x1b')]&&_0x23646e(_0x5e6af5,_0x157577[_0x18c2('0x1')],(_0x42d032,_0x97beaa,_0x527809)=>_0x527809['addClass'](_0x11f003(_0x97beaa[_0x18c2('0x35')]),_0x42d032),(_0x21d69d,_0x1f7d7a,_0x44eff3)=>_0x44eff3[_0x18c2('0x39')](_0x11f003(_0x1f7d7a[_0x18c2('0x35')]),_0x21d69d));},{'priority':_0x18c2('0x46')}),_0x2e0c1a['_descriptionFactory'][_0x18c2('0x6c')](_0xc5c226=>{if(_0x18c2('0x48')!=_0xc5c226[_0x18c2('0x74')]&&'deletion'!=_0xc5c226[_0x18c2('0x74')])return;const _0x32df57=_0xc5c226['getContainedElement']();if(null!=_0x32df57&&_0x32df57['is'](_0x18c2('0x4d'),_0x18c2('0x9'))){if(_0x18c2('0x48')==_0xc5c226[_0x18c2('0x74')]){const _0x3e4c53=_0xc5c226['getItems']()['filter'](_0x270bd9=>_0x270bd9['is']('$textProxy'))[_0x18c2('0x58')](_0x59a947=>_0x59a947[_0x18c2('0x3c')]);if(_0x3e4c53[_0x18c2('0x0')])return{'type':_0x18c2('0x48'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x43'),_0x8bfaf1(_0x2c7828,_0x18c2('0x3a'),'\x22'+_0x3e4c53['join']('\x20')+'\x22'))};}if('deletion'==_0xc5c226[_0x18c2('0x74')]){const _0x2302e6=_0xc5c226['getItems']()[_0x18c2('0x1f')](_0x3c58ce=>_0x3c58ce['is']('$textProxy'))[_0x18c2('0x58')](_0x2bc6e0=>_0x2bc6e0[_0x18c2('0x3c')]);if(_0x2302e6[_0x18c2('0x0')])return{'type':_0x18c2('0x4'),'content':_0x8bfaf1(_0x2c7828,'*Remove:*\x20%0',_0x8bfaf1(_0x2c7828,_0x18c2('0x3a'),'\x22'+_0x2302e6[_0x18c2('0x5d')]('\x20')+'\x22'))};}}}),_0x2e0c1a['_descriptionFactory'][_0x18c2('0x6c')](_0x278823=>{if(_0x18c2('0x54')==_0x278823[_0x18c2('0x69')]){const _0xf47537=_0x278823[_0x18c2('0x6a')]()[_0x18c2('0x1f')](_0x588aae=>_0x588aae['is'](_0x18c2('0x2b')))[_0x18c2('0x58')](_0x455982=>_0x455982['data']),_0x1fffb8=this['_getSuggestionCoords'](_0x278823),_0x53b706=_0x1fffb8[_0x18c2('0x3e')]-_0x1fffb8['minRow']+0x1;if('insertion'==_0x278823[_0x18c2('0x74')])return _0xf47537[_0x18c2('0x0')]?{'type':_0x18c2('0x48'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x43'),_0x8bfaf1(_0x2c7828,_0x18c2('0x67'),[_0x53b706,'\x22'+_0xf47537[_0x18c2('0x5d')]('\x20')+'\x22']))}:{'type':_0x18c2('0x48'),'content':_0x8bfaf1(_0x2c7828,'*Insert:*\x20%0',_0x8bfaf1(_0x2c7828,_0x18c2('0x2c'),_0x53b706))};if(_0x18c2('0x4')==_0x278823['type'])return _0xf47537[_0x18c2('0x0')]?{'type':_0x18c2('0x4'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x10'),_0x8bfaf1(_0x2c7828,_0x18c2('0x67'),[_0x53b706,'\x22'+_0xf47537['join']('\x20')+'\x22']))}:{'type':_0x18c2('0x4'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x10'),_0x8bfaf1(_0x2c7828,'ELEMENT_TABLE_ROW',_0x53b706))};}if(_0x18c2('0x77')==_0x278823['subType']){const _0x2b7589=_0x278823[_0x18c2('0x6a')]()['filter'](_0x3ae703=>_0x3ae703['is'](_0x18c2('0x2b')))[_0x18c2('0x58')](_0x8b0e88=>_0x8b0e88[_0x18c2('0x3c')]),_0x3ca17b=this[_0x18c2('0x60')](_0x278823),_0x374008=_0x3ca17b[_0x18c2('0x2f')]-_0x3ca17b[_0x18c2('0x37')]+0x1;if(_0x18c2('0x48')==_0x278823[_0x18c2('0x74')])return _0x2b7589[_0x18c2('0x0')]?{'type':_0x18c2('0x48'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x43'),_0x8bfaf1(_0x2c7828,_0x18c2('0x70'),[_0x374008,'\x22'+_0x2b7589[_0x18c2('0x5d')]('\x20')+'\x22']))}:{'type':_0x18c2('0x48'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x43'),_0x8bfaf1(_0x2c7828,_0x18c2('0x80'),_0x374008))};if('deletion'==_0x278823['type'])return _0x2b7589[_0x18c2('0x0')]?{'type':'deletion','content':_0x8bfaf1(_0x2c7828,'*Remove:*\x20%0',_0x8bfaf1(_0x2c7828,_0x18c2('0x70'),[_0x374008,'\x22'+_0x2b7589['join']('\x20')+'\x22']))}:{'type':_0x18c2('0x4'),'content':_0x8bfaf1(_0x2c7828,_0x18c2('0x10'),_0x8bfaf1(_0x2c7828,'ELEMENT_TABLE_COLUMN',_0x374008))};}}),_0x2e0c1a['_suggestionFactory'][_0x18c2('0x31')](_0x18c2('0x48'),_0x18c2('0x54'),_0x18c2('0x55'),_0x2da99f),_0x2e0c1a[_0x18c2('0x72')][_0x18c2('0x31')]('deletion','tableRow',_0x18c2('0x6d'),_0x2da99f),_0x2e0c1a[_0x18c2('0x72')][_0x18c2('0x31')]('insertion','tableColumn','discard',_0x51a81b),_0x2e0c1a[_0x18c2('0x72')][_0x18c2('0x31')]('deletion','tableColumn',_0x18c2('0x6d'),_0x51a81b),_0x2e0c1a[_0x18c2('0x72')][_0x18c2('0x31')]('insertion',_0x18c2('0x77'),_0x18c2('0x5d'),_0x5127eb),_0x2e0c1a['_suggestionFactory'][_0x18c2('0x31')](_0x18c2('0x4'),_0x18c2('0x77'),_0x18c2('0x5d'),_0x5127eb),_0x2e0c1a[_0x18c2('0x72')]['registerCustomCallback'](_0x18c2('0x48'),_0x18c2('0x54'),_0x18c2('0x5d'),_0x2b7b10),_0x2e0c1a[_0x18c2('0x72')][_0x18c2('0x31')](_0x18c2('0x4'),_0x18c2('0x54'),_0x18c2('0x5d'),_0x2b7b10);}[_0x18c2('0x3d')](){const _0x6822fe=this[_0x18c2('0x2a')],_0x2f710a=_0x6822fe[_0x18c2('0x42')]['document'][_0x18c2('0x66')];return(_0x4b09db,_0xbacc3)=>{_0x6822fe[_0x18c2('0x42')]['change'](_0x48ef03=>{const {commandName:_0x219764,commandParams:_0x3336c0}=_0xbacc3;let _0x161c53=_0x4b09db[0x0][_0x18c2('0x5a')][_0x18c2('0x33')];_0x3336c0&&_0x3336c0[0x0]&&!0x1===_0x3336c0[0x0][_0x18c2('0x1c')]&&(_0x161c53=_0x4b09db[0x0][_0x18c2('0x7b')][_0x18c2('0x11')]);const _0x14fb97=_0x48ef03[_0x18c2('0x3b')](_0x161c53);if(_0x18c2('0x36')==_0x14fb97[_0x18c2('0x76')][_0x18c2('0x24')])return;const _0x3ceba2=Array[_0x18c2('0xb')](_0x2f710a['getRanges']())['map'](_0x3272c5=>_0xadb0f7[_0x18c2('0x40')](_0x3272c5));_0x48ef03[_0x18c2('0x12')](_0x14fb97),_0x6822fe['commands'][_0x18c2('0x7f')](_0x219764)['refresh'](),_0x3336c0[_0x18c2('0x38')]({'forceDefaultExecution':!0x0}),_0x6822fe[_0x18c2('0x2e')](_0x219764,..._0x3336c0);const _0x5e01e4=_0x3ceba2[_0x18c2('0x1f')](_0x4801c2=>'$graveyard'!=_0x4801c2[_0x18c2('0x76')][_0x18c2('0x24')]);_0x5e01e4['length']>0x0&&_0x48ef03['setSelection'](_0x5e01e4);for(const _0x5f3684 of _0x3ceba2)_0x5f3684[_0x18c2('0x27')]();});};}[_0x18c2('0x28')](_0x3b8a75){const _0x4eb0ab=this[_0x18c2('0x2a')][_0x18c2('0xf')][_0x18c2('0x7f')](_0x18c2('0x44'));let _0x3dd23f=Number[_0x18c2('0x52')],_0x217d71=Number[_0x18c2('0x18')],_0x5e50be=Number[_0x18c2('0x52')],_0x54f545=Number[_0x18c2('0x18')];for(const _0x20af9f of _0x3b8a75){if(_0x18c2('0x36')==_0x20af9f[_0x18c2('0x76')][_0x18c2('0x24')])continue;const {row:_0x27d895,column:_0x14b857}=_0x4eb0ab[_0x18c2('0x4c')](_0x20af9f),_0x2bf188=_0x20af9f[_0x18c2('0x61')](_0x18c2('0x73'))?_0x20af9f['getAttribute'](_0x18c2('0x73'))-0x1:0x0,_0x1b8774=_0x20af9f[_0x18c2('0x61')]('colspan')?_0x20af9f['getAttribute'](_0x18c2('0x45'))-0x1:0x0;_0x3dd23f=_0x27d895<_0x3dd23f?_0x27d895:_0x3dd23f,_0x217d71=_0x27d895+_0x2bf188>_0x217d71?_0x27d895+_0x2bf188:_0x217d71,_0x5e50be=_0x14b857<_0x5e50be?_0x14b857:_0x5e50be,_0x54f545=_0x14b857+_0x1b8774>_0x54f545?_0x14b857+_0x1b8774:_0x54f545;}return{'minRow':_0x3dd23f,'maxRow':_0x217d71,'minColumn':_0x5e50be,'maxColumn':_0x54f545};}[_0x18c2('0x3f')](){const _0x25e4ed=this['editor'],_0x15599b=_0x25e4ed[_0x18c2('0xf')][_0x18c2('0x7f')]('TrackChangesEditing'),_0x19a49b=_0x25e4ed[_0x18c2('0xf')][_0x18c2('0x7f')](_0x18c2('0x44'));_0x25e4ed['model'][_0x18c2('0x57')]['on'](_0x18c2('0x19'),()=>{const _0x17a6bc=Array[_0x18c2('0xb')](_0x25e4ed['model'][_0x18c2('0x57')][_0x18c2('0x23')][_0x18c2('0x20')]());for(const {name:_0x447d9f,data:_0x298cd8}of _0x17a6bc){const {group:_0x512686,id:_0xe53972,subType:_0x344e1f}=_0x15599b['_splitMarkerName'](_0x447d9f);if(_0x18c2('0x53')!=_0x512686)continue;if(null!=_0x298cd8[_0x18c2('0x1a')])continue;const _0x1f62d9=_0x15599b[_0x18c2('0x13')](_0xe53972);this[_0x18c2('0x29')][_0x18c2('0x14')](_0x344e1f)&&this[_0x18c2('0x5b')][_0x18c2('0x17')](_0x1f62d9);}},{'priority':_0x18c2('0x47')});const _0x16c78c=(_0x5df10a,_0x375714)=>{let _0x460cae=!0x1;const _0x96ab69=_0x375714[_0x18c2('0xd')](_0x5df10a),_0x2610f1=_0x5df10a[_0x18c2('0xc')](_0x18c2('0x9')),_0xb6e531=_0x19a49b[_0x18c2('0x4c')](_0x5df10a);for(const _0x39d2af of this[_0x18c2('0x5b')]){const _0x57bb13=_0x39d2af['subType'],_0x2d3fd5=_0x57bb13[_0x18c2('0x75')](_0x18c2('0x34')),_0x13e056=_0x57bb13[_0x18c2('0x4e')](_0x2d3fd5?0xa:0x5),_0x37e2b4=_0x13e056[_0x18c2('0x62')](),_0x491026=_0x37e2b4['substr'](0x0,0x3)+'span',_0x43a38a=_0x18c2('0x7a')+_0x13e056,_0x2eb0f8=_0x18c2('0x5')+_0x13e056;if(!_0x39d2af[_0x18c2('0x63')])continue;if(_0x2610f1!=_0x39d2af['getFirstRange']()[_0x18c2('0x7b')][_0x18c2('0xc')](_0x18c2('0x9')))continue;if(_0x39d2af[_0x18c2('0x49')](_0x96ab69))continue;const _0x3174cb=_0x5df10a['hasAttribute'](_0x491026)?_0x5df10a[_0x18c2('0x4a')](_0x491026)-0x1:0x0,_0x1aa0e0=this['_getSuggestionCoords'](_0x39d2af),_0x1e80db=_0x1aa0e0[_0x43a38a],_0x525382=_0x1aa0e0[_0x2eb0f8];_0x1e80db<=_0xb6e531[_0x37e2b4]&&_0xb6e531[_0x37e2b4]+_0x3174cb<=_0x525382&&(_0x39d2af[_0x18c2('0x82')](_0x96ab69),_0x460cae=!0x0);}return _0x460cae;};_0x25e4ed[_0x18c2('0x42')][_0x18c2('0x57')][_0x18c2('0x32')](_0x2196e6=>{let _0x12a833=!0x1;for(const _0x42cfc4 of _0x25e4ed[_0x18c2('0x42')][_0x18c2('0x57')][_0x18c2('0x23')]['getChanges']())if('insert'==_0x42cfc4['type']){if(_0x18c2('0x54')==_0x42cfc4[_0x18c2('0x1b')])for(const _0x510a53 of _0x42cfc4[_0x18c2('0x79')]['nodeAfter']['getChildren']())_0x12a833=_0x12a833||_0x16c78c(_0x510a53,_0x2196e6);else _0x18c2('0x59')==_0x42cfc4['name']&&(_0x12a833=_0x12a833||_0x16c78c(_0x42cfc4[_0x18c2('0x79')][_0x18c2('0x11')],_0x2196e6));}return _0x12a833;});}[_0x18c2('0x60')](_0x32f3d0){return this[_0x18c2('0x28')](_0x32f3d0[_0x18c2('0x26')]()['map'](_0x7779c9=>_0x7779c9[_0x18c2('0x7b')][_0x18c2('0x11')]));}}function ue(_0x41ed14){return Array[_0x18c2('0xb')](new Set(_0x41ed14)[_0x18c2('0x22')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e39=['TableCaptionEditing','plugins','toggleTableCaption','afterInit','has','get','requires'];(function(_0xea1466,_0x5e39d4){const _0x1d5fb6=function(_0x390e24){while(--_0x390e24){_0xea1466['push'](_0xea1466['shift']());}};_0x1d5fb6(++_0x5e39d4);}(_0x5e39,0xa1));const _0x1d5f=function(_0xea1466,_0x5e39d4){_0xea1466=_0xea1466-0x0;let _0x1d5fb6=_0x5e39[_0xea1466];return _0x1d5fb6;};import{Plugin as _0x31cdac}from'ckeditor5/src/core.js';import _0x2d438a from'./table.js';export default class Nt extends _0x31cdac{static get[_0x1d5f('0x6')](){return[_0x2d438a];}[_0x1d5f('0x3')](){const _0x199cb7=this['editor'];if(!_0x199cb7[_0x1d5f('0x1')][_0x1d5f('0x4')](_0x1d5f('0x0')))return;_0x199cb7[_0x1d5f('0x1')][_0x1d5f('0x5')]('TrackChangesEditing')['enableCommand'](_0x1d5f('0x2'));}}
|