@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240129.0 → 0.0.0-nightly-20240130.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 _0x207a=['*Uncheck\x20item*','head','documentList','TodoListEditing','selection','meta','todoListCheck','registerDescriptionCallback','suggestion','_LIST','find','model','listStart','config','todo','outdentList','has','range','end','listItemIdFixer','_supportLegacySuggestions','*Set\x20format:*\x20%0','todoList','parent','previousSibling','createPositionAt','registerPostFixer','setSelection','registerCustomCallback','length','differ','_registerLegacyDescription','start','createRange','commands','nextSibling','change','newValue','fromRange','getChanges','list.multiBlock','get','isObject','ELEMENT_BULLETED_LIST','ListEditing','format','containsItem','getAttribute','isUndo','listStyle','bulleted','_enableDefaultAttributesIntegration','value','noTrackChangesFixer','formatBlock','toUpperCase','document','ELEMENT_LIST_ITEM','batch','_suggestionFactory','numberedList','getSuggestions','commandName','getRanges','forceValue','*Format:*\x20remove\x20from\x20%0','getFirstMarker','listIndent','commandParams','groupId','*Outdent:*\x20%0','map','splitListItemAfter','deletion','editor','ELEMENT_','nodeAfter','TrackChangesEditing','ELEMENT_TODO_LIST','getFirstRange','plugins','registerElementLabel','*Merge:*\x20list\x20item','registerAttributeLabel','multipleBlocks','numbered','schema','listReversed','FORMAT_INDENT','execute','includes','listType','oldValue','accept','_findSuggestions','filter','*Merge:*\x20%0','bulletedList','push','_descriptionFactory','default','*Remove\x20format:*\x20%0','removeMarker','listItemId','indentList','isLocal','*Change\x20to:*\x20%0','mergeListItemBackward','ELEMENT_NUMBERED_LIST','assureChains','attributes','splitListItemBefore','attributeKey','todoListChecked','key','type','locale','trackChangesCommand','data','attribute','*Format:*\x20insert\x20into\x20%0'];(function(_0x4a2908,_0x207ae9){const _0x547854=function(_0x55d29c){while(--_0x55d29c){_0x4a2908['push'](_0x4a2908['shift']());}};_0x547854(++_0x207ae9);}(_0x207a,0x19b));const _0x5478=function(_0x4a2908,_0x207ae9){_0x4a2908=_0x4a2908-0x0;let _0x547854=_0x207a[_0x4a2908];return _0x547854;};import{Plugin as _0x5ce49c}from'ckeditor5/src/core.js';import{getTranslation as _0x5917eb}from'../utils/common-translations.js';import{renameAttributeKey as _0xdff27e}from'../trackchangesediting.js';import{LiveRange as _0x6f5809}from'ckeditor5/src/engine.js';export default class z extends _0x5ce49c{['afterInit'](){const _0x4ce151=this[_0x5478('0x1a')];if(!_0x4ce151[_0x5478('0x20')][_0x5478('0x59')](_0x5478('0x75')))return;const _0x2f222c=_0x4ce151[_0x5478('0x44')],_0x43d9bb=_0x4ce151[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d')),_0x293592=_0x4ce151['plugins'][_0x5478('0x59')](_0x5478('0x4c')),_0x46bd95=!!_0x4ce151[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'));function _0x5b95ba(_0x25924f){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x5e'),_0x25924f)};}function _0x5339c(_0x4b45cc){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x35'),_0x4b45cc)};}_0x43d9bb[_0x5478('0x3')](_0x5478('0xc'),[],[_0x5478('0x37'),'listType','listIndent']),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x31')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x38')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x58')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x18')),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x3f')),_0x46bd95&&(_0x43d9bb[_0x5478('0x3')](_0x5478('0x3b')),_0x43d9bb[_0x5478('0x3')]('mergeListItemForward')),_0x293592&&(_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x5f')),_0x43d9bb[_0x5478('0x3')]('checkTodoList',[],[_0x5478('0x41')]),_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x13ffb5=>{const {data:_0x4de55c}=_0x13ffb5;if(_0x4de55c&&_0x5478('0x41')==_0x4de55c[_0x5478('0x42')])return{'type':_0x5478('0x76'),'content':_0x4de55c[_0x5478('0x6e')]?_0x5917eb(_0x2f222c,'*Check\x20item*'):_0x5917eb(_0x2f222c,_0x5478('0x49'))};}),this[_0x5478('0x1a')][_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x151d22=>{if(_0x151d22[_0x5478('0xa')][_0x5478('0x0')])return!0x1;let _0x1668cd=!0x1;const _0x4f1ce2=_0x43d9bb[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5233a5=>_0x5478('0x41')===_0x43d9bb['_getAttributeKey'](_0x5233a5));for(const _0x7ed958 of _0x4f1ce2){_0x5478('0x57')!=_0x7ed958[_0x5478('0x1f')]()[_0x5478('0x69')]['nodeAfter'][_0x5478('0x78')](_0x5478('0x2b'))&&(_0x43d9bb[_0x5478('0x2e')](_0x7ed958[_0x5478('0x1f')](),_0x5478('0x47'))[_0x5478('0x53')](_0xc5594a=>_0x5478('0x2b')===_0x43d9bb['_getAttributeKey'](_0xc5594a[_0x5478('0x51')]))||(_0x151d22[_0x5478('0x36')](_0x7ed958['getFirstMarker']()),_0x1668cd=!0x0));}return _0x1668cd;})),_0x43d9bb['_descriptionFactory'][_0x5478('0x23')](_0x5478('0x13'),_0x5917eb(_0x2f222c,_0x5478('0x28')));const _0x1868e6={'type':'format','content':''};_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x45de39=>{const {data:_0x28b8bc}=_0x45de39;if(!_0x28b8bc||_0x5478('0x2b')!=_0x28b8bc[_0x5478('0x42')])return;let _0x1e5cd1=_0x45de39['head'];for(;_0x1e5cd1;){if(_0x1e5cd1[_0x5478('0x46')]&&('listStyle'==_0x1e5cd1[_0x5478('0x46')]['key']&&(_0x1e5cd1[_0x5478('0x46')][_0x5478('0x6e')]&&_0x5478('0x34')!=_0x1e5cd1[_0x5478('0x46')]['newValue']||'default'!=_0x1e5cd1[_0x5478('0x46')][_0x5478('0x2c')]&&!_0x28b8bc[_0x5478('0x6e')])||!_0x46bd95&&_0x1e5cd1[_0x5478('0x46')][_0x5478('0x42')]==_0xdff27e))return _0x1868e6;_0x1e5cd1=_0x1e5cd1['next'];}if(null==_0x28b8bc['newValue'])switch(_0x28b8bc['oldValue']){case _0x5478('0x2'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}switch(_0x28b8bc[_0x5478('0x6e')]){case _0x5478('0x2'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}}),_0x43d9bb['_descriptionFactory'][_0x5478('0x50')](_0x45324d=>{const {data:_0x2dd991}=_0x45324d;if(_0x2dd991&&_0x5478('0x13')==_0x2dd991[_0x5478('0x42')])return null==_0x2dd991[_0x5478('0x6e')]||null==_0x2dd991['oldValue']&&0x0==_0x2dd991[_0x5478('0x6e')]?_0x1868e6:void 0x0;}),_0x43d9bb['_descriptionFactory']['registerDescriptionCallback'](_0x42be48=>{if(_0x5478('0x47')!=_0x42be48[_0x5478('0x43')])return;const {data:_0x5ed5ff}=_0x42be48;if(!_0x5ed5ff||_0x5478('0x37')!=_0x5ed5ff[_0x5478('0x42')])return;const _0x5e732a=ie(_0x42be48);return _0x5e732a?_0x5478('0x6e')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,_0x5478('0x22'))}:_0x5478('0x2c')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,'*Split:*\x20list\x20item')}:_0x1868e6:_0x1868e6;}),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x5ed736=>this[_0x5478('0x5c')](_0x5ed736)),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x2e8427=>this[_0x5478('0x5')](_0x2e8427)),_0x4ce151[_0x5478('0x54')]['document'][_0x5478('0x63')](_0x17ab32=>this[_0x5478('0x3d')](_0x17ab32)),this[_0x5478('0x5d')]();}[_0x5478('0x5c')](_0x5a17e2){if(_0x5a17e2[_0x5478('0xa')][_0x5478('0x0')]||!_0x5a17e2['batch'][_0x5478('0x39')])return!0x1;let _0x2d8fdf=!0x1;const _0x4c0568=this[_0x5478('0x1a')]['plugins'][_0x5478('0x72')]('TrackChangesEditing')[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5073d6=>_0x5073d6[_0x5478('0x46')]&&'listItemId'==_0x5073d6['data'][_0x5478('0x42')])['filter'](_0x6fd26c=>_0x6fd26c['data'][_0x5478('0x6e')]&&_0x6fd26c[_0x5478('0x46')][_0x5478('0x2c')]);for(const _0x3c0391 of _0x4c0568)ie(_0x3c0391)||(_0x5a17e2[_0x5478('0x36')](_0x3c0391[_0x5478('0x12')]()),_0x2d8fdf=!0x0);return _0x2d8fdf;}[_0x5478('0x5')](_0x18a607){if(_0x18a607[_0x5478('0xa')][_0x5478('0x0')]||!_0x18a607['batch'][_0x5478('0x39')])return!0x1;const _0x4ad2b2=this[_0x5478('0x1a')][_0x5478('0x20')]['get']('TrackChangesEditing');if(_0x4ad2b2[_0x5478('0x45')][_0x5478('0x4')])return!0x1;let _0x55dbcf=!0x1;const _0x41cf3e=['listType',_0x5478('0x1'),'listItemId',_0x5478('0x13'),'listStart',_0x5478('0x27'),_0x5478('0x4f')],_0x523343=this[_0x5478('0x1a')]['model'][_0x5478('0x8')][_0x5478('0x67')][_0x5478('0x70')]()['filter'](_0x21bef8=>_0x5478('0x47')==_0x21bef8['type'])['filter'](_0x43a864=>_0x41cf3e[_0x5478('0x2a')](_0x43a864[_0x5478('0x40')]));if(0x0==_0x523343[_0x5478('0x66')])return _0x55dbcf;for(const _0x5637f3 of _0x523343){const _0x3d5eae=_0x4ad2b2['_findSuggestions'](_0x5637f3[_0x5478('0x5a')],_0x5478('0x47'))[_0x5478('0x2f')](_0x2395f7=>!_0x2395f7[_0x5478('0x4e')]['isNextTo'])[_0x5478('0x17')](_0x3c52ad=>_0x3c52ad[_0x5478('0x51')])[_0x5478('0x2f')](_0x41bc38=>{const _0x1f5859=_0x4ad2b2['_getAttributeKey'](_0x41bc38);return _0x41cf3e[_0x5478('0x2a')](_0x1f5859);});if(_0x3d5eae['length']){for(const _0x46459b of _0x3d5eae)_0x18a607[_0x5478('0x36')](_0x46459b[_0x5478('0x12')]());_0x55dbcf=!0x0;}}return _0x55dbcf;}[_0x5478('0x3d')](_0x13ce63){if(_0x13ce63[_0x5478('0xa')][_0x5478('0x0')]||!_0x13ce63[_0x5478('0xa')][_0x5478('0x39')])return!0x1;const _0x104d3c=this[_0x5478('0x1a')][_0x5478('0x20')]['get'](_0x5478('0x1d'));let _0x5d4c1c=!0x1;const _0x7aa475=[_0x5478('0x2b'),'listStyle','listItemId',_0x5478('0x13'),_0x5478('0x55'),_0x5478('0x27'),_0x5478('0x4f')];for(const _0x8fe819 of _0x104d3c['getSuggestions']({'skipNotAttached':!0x0})){const _0x129349=_0x104d3c['_findSuggestions'](_0x8fe819['getFirstRange'](),_0x5478('0x47'))[_0x5478('0x17')](_0x4e245b=>_0x4e245b[_0x5478('0x51')])[_0x5478('0x2f')](_0x37836d=>_0x37836d[_0x5478('0x46')]&&_0x7aa475['includes'](_0x37836d[_0x5478('0x46')][_0x5478('0x42')]));if(!_0x129349[_0x5478('0x66')])continue;const _0x1fe80a=_0x129349[0x0][_0x5478('0x4a')][_0x5478('0x3e')][_0x5478('0x15')];if(!_0x129349['every'](_0x241abe=>_0x241abe[_0x5478('0x3e')]['groupId']===_0x1fe80a))for(const _0x4f7737 of _0x129349)_0x335a87(_0x4f7737,_0x1fe80a)&&(_0x5d4c1c=!0x0);}return _0x5d4c1c;function _0x71e7a6(_0x4dddde,_0x419022){for(const _0x39ef9c of _0x104d3c[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x39deb9=>'attribute'==_0x39deb9[_0x5478('0x43')]&&_0x39deb9[_0x5478('0x3e')][_0x5478('0x15')]==_0x4dddde))_0x39ef9c['setAttribute'](_0x5478('0x15'),_0x419022);}function _0x335a87(_0x202444,_0x22b817){let _0x15e141=_0x202444[_0x5478('0x4a')],_0x26edf5=!0x1;for(;_0x15e141;)_0x15e141[_0x5478('0x3e')]['groupId']!=_0x22b817&&(_0x71e7a6(_0x15e141[_0x5478('0x3e')][_0x5478('0x15')],_0x22b817),_0x15e141['setAttribute'](_0x5478('0x15'),_0x22b817),_0x26edf5=!0x0),_0x15e141=_0x15e141['next'];return _0x26edf5;}}[_0x5478('0x5d')](){const _0x5171a=this[_0x5478('0x1a')],_0x2b4a83=_0x5171a[_0x5478('0x44')],_0x2e63b7=_0x5171a[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'));this['_registerLegacyDescription'](),_0x2e63b7[_0x5478('0xb')][_0x5478('0x65')](_0x5478('0x6'),_0x5478('0x4b'),_0x5478('0x2d'),function(_0x3c1990,_0x58a843){const _0x4e128b=[];for(let _0x5cd7a1 of _0x3c1990)_0x5cd7a1['start'][_0x5478('0x1c')]===_0x5cd7a1[_0x5478('0x5b')][_0x5478('0x60')]&&(_0x5cd7a1=_0x5171a[_0x5478('0x54')][_0x5478('0x6a')](_0x5171a[_0x5478('0x54')][_0x5478('0x62')](_0x5cd7a1[_0x5478('0x69')][_0x5478('0x1c')],0x0))),_0x4e128b[_0x5478('0x32')](_0x5cd7a1);_0x5171a[_0x5478('0x54')][_0x5478('0x6d')](_0x5d31e1=>{const _0x3cb2c2=_0x5171a['model']['document'][_0x5478('0x4d')],_0x16d5ae=Array['from'](_0x3cb2c2[_0x5478('0xf')]())[_0x5478('0x17')](_0x11cb4f=>_0x6f5809[_0x5478('0x6f')](_0x11cb4f));_0x5d31e1['setSelection'](_0x4e128b),_0x5171a[_0x5478('0x6b')][_0x5478('0x72')](_0x58a843[_0x5478('0xe')])['refresh'](),_0x58a843[_0x5478('0x14')]['push']({'forceDefaultExecution':!0x0}),_0x5171a[_0x5478('0x29')](_0x58a843[_0x5478('0xe')],..._0x58a843[_0x5478('0x14')]),_0x5d31e1[_0x5478('0x64')](_0x16d5ae);for(const _0x2588fa of _0x16d5ae)_0x2588fa['detach']();});}),_0x2e63b7['_descriptionFactory'][_0x5478('0x21')](function(_0xd3ec3b){const _0x33d813=!_0x5171a[_0x5478('0x54')][_0x5478('0x26')][_0x5478('0x73')](_0xd3ec3b),_0x495341=_0xd3ec3b[_0x5478('0x61')],_0x32572f=_0xd3ec3b[_0x5478('0x6c')],_0x23139b=_0xd3ec3b[_0x5478('0x78')](_0x5478('0x37')),_0x4edc40=!_0x495341||_0x495341[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b,_0xe8bbb0=!_0x32572f||_0x32572f[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b;return _0x33d813&&Boolean(_0x23139b)&&_0x4edc40&&_0xe8bbb0;},_0x1638d9=>_0x5917eb(_0x2b4a83,'ELEMENT_LIST_ITEM',_0x1638d9));}[_0x5478('0x68')](){const _0x1494ea=this[_0x5478('0x1a')],_0x9b171e=_0x1494ea['locale'];function _0x5be169(_0x165c42){const _0x41f176=_0x1494ea['commands'][_0x5478('0x72')](_0x5478('0x31'))[_0x5478('0x4')],_0x18aafe=_0x1494ea[_0x5478('0x6b')]['get'](_0x5478('0xc'))[_0x5478('0x4')];return'numberedList'===_0x165c42?_0x41f176:_0x18aafe;}_0x1494ea[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'))[_0x5478('0x33')]['registerDescriptionCallback'](function(_0x26a641){if('formatBlock'!=_0x26a641[_0x5478('0x43')])return;const {data:_0x1b6fc7}=_0x26a641;if(!_0x1b6fc7)return;let _0x3f6f75,_0x5884b2,_0xdd46bf,_0x28326b;switch(_0x1b6fc7[_0x5478('0xe')]){case'bulletedList':_0xdd46bf=_0x1b6fc7['commandParams'][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?_0x5478('0x48'):_0x5478('0x11'),!_0x28326b&&_0x1494ea[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'))||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x74')))};break;case _0x5478('0xc'):_0xdd46bf=_0x1b6fc7[_0x5478('0x14')][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?'*Format:*\x20insert\x20into\x20%0':_0x5478('0x11'),!_0x28326b&&_0x1494ea['config'][_0x5478('0x72')]('list.multiBlock')||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x3c')))};break;case _0x5478('0x38'):_0x3f6f75='*Indent:*\x20%0',_0x5884b2={'type':'format','content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,'ELEMENT_LIST_ITEM'))};break;case _0x5478('0x58'):_0x3f6f75=function(_0x4890cd){const _0x2cb97c=_0x4890cd[_0x5478('0x1f')]();let _0x51bcc7=_0x2cb97c['start'][_0x5478('0x1c')];for(;_0x51bcc7&&_0x2cb97c[_0x5478('0x77')](_0x51bcc7);){if(_0x51bcc7[_0x5478('0x78')](_0x5478('0x13'))>0x0)return!0x1;_0x51bcc7=_0x51bcc7[_0x5478('0x6c')];}return!0x0;}(_0x26a641)?_0x5917eb(_0x9b171e,_0x5478('0x11'),_0x5917eb(_0x9b171e,function(_0x175a0a){return _0x5478('0x1b')+_0x175a0a['getFirstRange']()[_0x5478('0x69')][_0x5478('0x1c')][_0x5478('0x78')](_0x5478('0x2b'))[_0x5478('0x7')]()+_0x5478('0x52');}(_0x26a641))):_0x5917eb(_0x9b171e,_0x5478('0x16'),_0x5917eb(_0x9b171e,_0x5478('0x9'))),_0x5884b2={'type':_0x5478('0x76'),'content':_0x3f6f75};break;case _0x5478('0x3b'):case'mergeListItemForward':!0x1===_0x1b6fc7[_0x5478('0x24')]&&(_0x3f6f75=_0x5478('0x30'),_0x5884b2={'type':_0x5478('0x19'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x9')))});}return _0x5884b2;});}}function ie(_0x20e682){let _0x333a38=_0x20e682[_0x5478('0x1f')]()['start'][_0x5478('0x1c')][_0x5478('0x61')];for(;_0x333a38;){const _0x482b44=_0x333a38[_0x5478('0x78')]('listItemId');if(!_0x482b44)return!0x1;if(_0x482b44==_0x20e682[_0x5478('0x46')]['newValue'])return _0x5478('0x6e');if(_0x482b44==_0x20e682[_0x5478('0x46')][_0x5478('0x2c')])return _0x5478('0x2c');_0x333a38=_0x333a38[_0x5478('0x61')];}return!0x1;}
|
|
23
|
+
const _0x3b0d=['groupId','isUndo','format','*Change\x20to:*\x20%0','listItemId','checkTodoList','TrackChangesEditing','change','listStart','batch','outdentList','plugins','document','setSelection','detach','execute','getFirstMarker','indentList','commandParams','*Merge:*\x20list\x20item','*Remove\x20format:*\x20%0','attribute','length','listType','isNextTo','listStyle','filter','from','afterInit','getAttribute','commandName','find','getFirstRange','data','includes','containsItem','getRanges','ELEMENT_BULLETED_LIST','commands','bulletedList','type','ELEMENT_LIST_ITEM','*Format:*\x20remove\x20from\x20%0','bulleted','registerCustomCallback','mergeListItemBackward','push','differ','_supportLegacySuggestions','*Format:*\x20insert\x20into\x20%0','ELEMENT_TODO_LIST','noTrackChangesFixer','next','get','registerElementLabel','todoListChecked','*Indent:*\x20%0','createRange','toUpperCase','removeMarker','nodeAfter','documentList','registerPostFixer','ELEMENT_NUMBERED_LIST','attributeKey','FORMAT_INDENT','listReversed','trackChangesCommand','previousSibling','selection','numbered','_getAttributeKey','editor','meta','start','value','ELEMENT_','newValue','mergeListItemForward','accept','_descriptionFactory','listIndent','formatBlock','forceValue','refresh','default','map','_suggestionFactory','_registerLegacyDescription','range','*Check\x20item*','registerAttributeLabel','has','assureChains','createPositionAt','_enableDefaultAttributesIntegration','head','parent','*Set\x20format:*\x20%0','oldValue','multipleBlocks','registerDescriptionCallback','listItemIdFixer','nextSibling','attributes','numberedList','*Merge:*\x20%0','model','todo','setAttribute','list.multiBlock','suggestion','isLocal','*Split:*\x20list\x20item','fromRange','TodoListEditing','getSuggestions','todoListCheck','config','key','splitListItemAfter'];(function(_0x145880,_0x3b0d23){const _0x21b788=function(_0x257cd0){while(--_0x257cd0){_0x145880['push'](_0x145880['shift']());}};_0x21b788(++_0x3b0d23);}(_0x3b0d,0xb9));const _0x21b7=function(_0x145880,_0x3b0d23){_0x145880=_0x145880-0x0;let _0x21b788=_0x3b0d[_0x145880];return _0x21b788;};import{Plugin as _0x3dc52c}from'ckeditor5/src/core.js';import{getTranslation as _0x2dbdf9}from'../utils/common-translations.js';import{renameAttributeKey as _0x13b561}from'../trackchangesediting.js';import{LiveRange as _0x2a96c1}from'ckeditor5/src/engine.js';export default class z extends _0x3dc52c{[_0x21b7('0x55')](){const _0x7c74=this['editor'];if(!_0x7c74[_0x21b7('0x44')][_0x21b7('0x1c')]('ListEditing'))return;const _0x31aa09=_0x7c74['locale'],_0x4bdd7d=_0x7c74[_0x21b7('0x44')][_0x21b7('0x6e')]('TrackChangesEditing'),_0x3fea08=_0x7c74[_0x21b7('0x44')][_0x21b7('0x1c')](_0x21b7('0x33')),_0xcbf641=!!_0x7c74['config']['get'](_0x21b7('0x2e'));function _0xf3467c(_0x2c888c){return{'type':_0x21b7('0x3b'),'content':''+_0x2dbdf9(_0x31aa09,_0x21b7('0x22'),_0x2c888c)};}function _0x366312(_0x4d0d82){return{'type':_0x21b7('0x3b'),'content':''+_0x2dbdf9(_0x31aa09,_0x21b7('0x4d'),_0x4d0d82)};}_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x29'),[],['listItemId',_0x21b7('0x50'),_0x21b7('0x11')]),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x60')),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x4a')),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x43')),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x38')),_0x4bdd7d['_enableDefaultAttributesIntegration']('splitListItemBefore'),_0xcbf641&&(_0x4bdd7d[_0x21b7('0x1f')]('mergeListItemBackward'),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0xe'))),_0x3fea08&&(_0x4bdd7d['_enableDefaultAttributesIntegration']('todoList'),_0x4bdd7d[_0x21b7('0x1f')](_0x21b7('0x3e'),[],[_0x21b7('0x70')]),_0x4bdd7d['_descriptionFactory']['registerDescriptionCallback'](_0x410ba1=>{const {data:_0x137eca}=_0x410ba1;if(_0x137eca&&'todoListChecked'==_0x137eca[_0x21b7('0x37')])return{'type':_0x21b7('0x3b'),'content':_0x137eca[_0x21b7('0xd')]?_0x2dbdf9(_0x31aa09,_0x21b7('0x1a')):_0x2dbdf9(_0x31aa09,'*Uncheck\x20item*')};}),this[_0x21b7('0x8')][_0x21b7('0x2b')]['document'][_0x21b7('0x77')](_0xe6d1b8=>{if(_0xe6d1b8[_0x21b7('0x42')][_0x21b7('0x3a')])return!0x1;let _0x4591ac=!0x1;const _0x1adb7f=_0x4bdd7d['getSuggestions']({'skipNotAttached':!0x0})[_0x21b7('0x53')](_0x5443e8=>_0x21b7('0x70')===_0x4bdd7d['_getAttributeKey'](_0x5443e8));for(const _0x2f3149 of _0x1adb7f){'todo'!=_0x2f3149[_0x21b7('0x59')]()[_0x21b7('0xa')]['nodeAfter'][_0x21b7('0x56')](_0x21b7('0x50'))&&(_0x4bdd7d['_findSuggestions'](_0x2f3149[_0x21b7('0x59')](),_0x21b7('0x4e'))[_0x21b7('0x58')](_0xeefc71=>_0x21b7('0x50')===_0x4bdd7d[_0x21b7('0x7')](_0xeefc71[_0x21b7('0x2f')]))||(_0xe6d1b8[_0x21b7('0x74')](_0x2f3149['getFirstMarker']()),_0x4591ac=!0x0));}return _0x4591ac;})),_0x4bdd7d[_0x21b7('0x10')][_0x21b7('0x1b')]('listIndent',_0x2dbdf9(_0x31aa09,_0x21b7('0x1')));const _0x2e120d={'type':_0x21b7('0x3b'),'content':''};_0x4bdd7d['_descriptionFactory']['registerDescriptionCallback'](_0x2eb5a1=>{const {data:_0x1f715b}=_0x2eb5a1;if(!_0x1f715b||'listType'!=_0x1f715b['key'])return;let _0x5d2171=_0x2eb5a1[_0x21b7('0x20')];for(;_0x5d2171;){if(_0x5d2171[_0x21b7('0x5a')]&&(_0x21b7('0x52')==_0x5d2171[_0x21b7('0x5a')][_0x21b7('0x37')]&&(_0x5d2171[_0x21b7('0x5a')]['newValue']&&_0x21b7('0x15')!=_0x5d2171['data'][_0x21b7('0xd')]||'default'!=_0x5d2171[_0x21b7('0x5a')][_0x21b7('0x23')]&&!_0x1f715b[_0x21b7('0xd')])||!_0xcbf641&&_0x5d2171[_0x21b7('0x5a')][_0x21b7('0x37')]==_0x13b561))return _0x2e120d;_0x5d2171=_0x5d2171[_0x21b7('0x6d')];}if(null==_0x1f715b[_0x21b7('0xd')])switch(_0x1f715b[_0x21b7('0x23')]){case _0x21b7('0x64'):return _0x366312(_0x2dbdf9(_0x31aa09,_0x21b7('0x5e')));case'numbered':return _0x366312(_0x2dbdf9(_0x31aa09,_0x21b7('0x78')));case _0x21b7('0x2c'):return _0x366312(_0x2dbdf9(_0x31aa09,'ELEMENT_TODO_LIST'));}switch(_0x1f715b[_0x21b7('0xd')]){case'bulleted':return _0xf3467c(_0x2dbdf9(_0x31aa09,'ELEMENT_BULLETED_LIST'));case _0x21b7('0x6'):return _0xf3467c(_0x2dbdf9(_0x31aa09,_0x21b7('0x78')));case _0x21b7('0x2c'):return _0xf3467c(_0x2dbdf9(_0x31aa09,_0x21b7('0x6b')));}}),_0x4bdd7d[_0x21b7('0x10')][_0x21b7('0x25')](_0x484a6d=>{const {data:_0x61e31a}=_0x484a6d;if(_0x61e31a&&'listIndent'==_0x61e31a[_0x21b7('0x37')])return null==_0x61e31a[_0x21b7('0xd')]||null==_0x61e31a['oldValue']&&0x0==_0x61e31a['newValue']?_0x2e120d:void 0x0;}),_0x4bdd7d['_descriptionFactory'][_0x21b7('0x25')](_0x267d1d=>{if(_0x21b7('0x4e')!=_0x267d1d['type'])return;const {data:_0x62cbbb}=_0x267d1d;if(!_0x62cbbb||_0x21b7('0x3d')!=_0x62cbbb[_0x21b7('0x37')])return;const _0x485797=ie(_0x267d1d);return _0x485797?_0x21b7('0xd')==_0x485797?{'type':_0x21b7('0x3b'),'content':_0x2dbdf9(_0x31aa09,_0x21b7('0x4c'))}:'oldValue'==_0x485797?{'type':_0x21b7('0x3b'),'content':_0x2dbdf9(_0x31aa09,_0x21b7('0x31'))}:_0x2e120d:_0x2e120d;}),_0x7c74['model']['document'][_0x21b7('0x77')](_0x4551d4=>this[_0x21b7('0x26')](_0x4551d4)),_0x7c74['model']['document']['registerPostFixer'](_0x2f4ab0=>this[_0x21b7('0x6c')](_0x2f4ab0)),_0x7c74[_0x21b7('0x2b')][_0x21b7('0x45')][_0x21b7('0x77')](_0x538bc4=>this['assureChains'](_0x538bc4)),this[_0x21b7('0x69')]();}[_0x21b7('0x26')](_0xf0e5b9){if(_0xf0e5b9[_0x21b7('0x42')][_0x21b7('0x3a')]||!_0xf0e5b9[_0x21b7('0x42')][_0x21b7('0x30')])return!0x1;let _0x28bca=!0x1;const _0x41dc7a=this[_0x21b7('0x8')][_0x21b7('0x44')][_0x21b7('0x6e')](_0x21b7('0x3f'))[_0x21b7('0x34')]({'skipNotAttached':!0x0})['filter'](_0x1c7eec=>_0x1c7eec[_0x21b7('0x5a')]&&_0x21b7('0x3d')==_0x1c7eec['data'][_0x21b7('0x37')])[_0x21b7('0x53')](_0x5a99ff=>_0x5a99ff[_0x21b7('0x5a')]['newValue']&&_0x5a99ff[_0x21b7('0x5a')][_0x21b7('0x23')]);for(const _0x3ccd30 of _0x41dc7a)ie(_0x3ccd30)||(_0xf0e5b9['removeMarker'](_0x3ccd30[_0x21b7('0x49')]()),_0x28bca=!0x0);return _0x28bca;}[_0x21b7('0x6c')](_0x14aad9){if(_0x14aad9[_0x21b7('0x42')][_0x21b7('0x3a')]||!_0x14aad9['batch']['isLocal'])return!0x1;const _0xbf2c66=this[_0x21b7('0x8')][_0x21b7('0x44')][_0x21b7('0x6e')](_0x21b7('0x3f'));if(_0xbf2c66[_0x21b7('0x3')]['value'])return!0x1;let _0x58a29d=!0x1;const _0x40ed75=['listType','listStyle',_0x21b7('0x3d'),'listIndent','listStart',_0x21b7('0x2'),_0x21b7('0x35')],_0xe8e022=this[_0x21b7('0x8')][_0x21b7('0x2b')][_0x21b7('0x45')][_0x21b7('0x68')]['getChanges']()[_0x21b7('0x53')](_0x2187c2=>_0x21b7('0x4e')==_0x2187c2['type'])[_0x21b7('0x53')](_0x2fb73d=>_0x40ed75[_0x21b7('0x5b')](_0x2fb73d[_0x21b7('0x0')]));if(0x0==_0xe8e022[_0x21b7('0x4f')])return _0x58a29d;for(const _0x5d0ba8 of _0xe8e022){const _0x29ea4c=_0xbf2c66['_findSuggestions'](_0x5d0ba8[_0x21b7('0x19')],'attribute')['filter'](_0x39806d=>!_0x39806d[_0x21b7('0x9')][_0x21b7('0x51')])['map'](_0x13a270=>_0x13a270['suggestion'])[_0x21b7('0x53')](_0x3d145e=>{const _0x51233c=_0xbf2c66['_getAttributeKey'](_0x3d145e);return _0x40ed75[_0x21b7('0x5b')](_0x51233c);});if(_0x29ea4c['length']){for(const _0x5a5293 of _0x29ea4c)_0x14aad9[_0x21b7('0x74')](_0x5a5293[_0x21b7('0x49')]());_0x58a29d=!0x0;}}return _0x58a29d;}[_0x21b7('0x1d')](_0x594fda){if(_0x594fda['batch'][_0x21b7('0x3a')]||!_0x594fda[_0x21b7('0x42')]['isLocal'])return!0x1;const _0x5f26fc=this[_0x21b7('0x8')][_0x21b7('0x44')][_0x21b7('0x6e')]('TrackChangesEditing');let _0x2327a7=!0x1;const _0x2648be=[_0x21b7('0x50'),_0x21b7('0x52'),_0x21b7('0x3d'),'listIndent',_0x21b7('0x41'),_0x21b7('0x2'),'todoListCheck'];for(const _0x14413b of _0x5f26fc[_0x21b7('0x34')]({'skipNotAttached':!0x0})){const _0x584f7b=_0x5f26fc['_findSuggestions'](_0x14413b[_0x21b7('0x59')](),_0x21b7('0x4e'))[_0x21b7('0x16')](_0x20e066=>_0x20e066[_0x21b7('0x2f')])[_0x21b7('0x53')](_0x2c9eb=>_0x2c9eb[_0x21b7('0x5a')]&&_0x2648be[_0x21b7('0x5b')](_0x2c9eb[_0x21b7('0x5a')][_0x21b7('0x37')]));if(!_0x584f7b['length'])continue;const _0x329691=_0x584f7b[0x0]['head']['attributes'][_0x21b7('0x39')];if(!_0x584f7b['every'](_0x37486d=>_0x37486d['attributes'][_0x21b7('0x39')]===_0x329691))for(const _0x1552e1 of _0x584f7b)_0x9e097d(_0x1552e1,_0x329691)&&(_0x2327a7=!0x0);}return _0x2327a7;function _0x1178d7(_0x2a9219,_0x677a21){for(const _0x44e360 of _0x5f26fc[_0x21b7('0x34')]({'skipNotAttached':!0x0})['filter'](_0x106e99=>_0x21b7('0x4e')==_0x106e99[_0x21b7('0x61')]&&_0x106e99[_0x21b7('0x28')]['groupId']==_0x2a9219))_0x44e360[_0x21b7('0x2d')](_0x21b7('0x39'),_0x677a21);}function _0x9e097d(_0x1d2d76,_0x52c26e){let _0x1ae8b2=_0x1d2d76['head'],_0x7fcbfe=!0x1;for(;_0x1ae8b2;)_0x1ae8b2[_0x21b7('0x28')][_0x21b7('0x39')]!=_0x52c26e&&(_0x1178d7(_0x1ae8b2['attributes'][_0x21b7('0x39')],_0x52c26e),_0x1ae8b2[_0x21b7('0x2d')](_0x21b7('0x39'),_0x52c26e),_0x7fcbfe=!0x0),_0x1ae8b2=_0x1ae8b2['next'];return _0x7fcbfe;}}[_0x21b7('0x69')](){const _0x21b65c=this[_0x21b7('0x8')],_0x27d575=_0x21b65c['locale'],_0x480695=_0x21b65c[_0x21b7('0x44')][_0x21b7('0x6e')](_0x21b7('0x3f'));this[_0x21b7('0x18')](),_0x480695[_0x21b7('0x17')][_0x21b7('0x65')](_0x21b7('0x12'),_0x21b7('0x76'),_0x21b7('0xf'),function(_0x1dcd2f,_0x41a48d){const _0xb205b0=[];for(let _0x4047c8 of _0x1dcd2f)_0x4047c8[_0x21b7('0xa')]['nodeAfter']===_0x4047c8['end'][_0x21b7('0x21')]&&(_0x4047c8=_0x21b65c[_0x21b7('0x2b')][_0x21b7('0x72')](_0x21b65c['model'][_0x21b7('0x1e')](_0x4047c8[_0x21b7('0xa')]['nodeAfter'],0x0))),_0xb205b0[_0x21b7('0x67')](_0x4047c8);_0x21b65c[_0x21b7('0x2b')][_0x21b7('0x40')](_0x15b259=>{const _0x26a16e=_0x21b65c[_0x21b7('0x2b')][_0x21b7('0x45')][_0x21b7('0x5')],_0x4871ae=Array[_0x21b7('0x54')](_0x26a16e[_0x21b7('0x5d')]())['map'](_0x5c5021=>_0x2a96c1[_0x21b7('0x32')](_0x5c5021));_0x15b259[_0x21b7('0x46')](_0xb205b0),_0x21b65c[_0x21b7('0x5f')][_0x21b7('0x6e')](_0x41a48d[_0x21b7('0x57')])[_0x21b7('0x14')](),_0x41a48d[_0x21b7('0x4b')][_0x21b7('0x67')]({'forceDefaultExecution':!0x0}),_0x21b65c[_0x21b7('0x48')](_0x41a48d[_0x21b7('0x57')],..._0x41a48d[_0x21b7('0x4b')]),_0x15b259['setSelection'](_0x4871ae);for(const _0x13d39b of _0x4871ae)_0x13d39b[_0x21b7('0x47')]();});}),_0x480695[_0x21b7('0x10')][_0x21b7('0x6f')](function(_0x72cd66){const _0x69fba=!_0x21b65c[_0x21b7('0x2b')]['schema']['isObject'](_0x72cd66),_0x42df8a=_0x72cd66['previousSibling'],_0x54f41f=_0x72cd66[_0x21b7('0x27')],_0x10a288=_0x72cd66['getAttribute'](_0x21b7('0x3d')),_0x15dfc2=!_0x42df8a||_0x42df8a['getAttribute'](_0x21b7('0x3d'))!==_0x10a288,_0x4bab4e=!_0x54f41f||_0x54f41f[_0x21b7('0x56')](_0x21b7('0x3d'))!==_0x10a288;return _0x69fba&&Boolean(_0x10a288)&&_0x15dfc2&&_0x4bab4e;},_0x495ee5=>_0x2dbdf9(_0x27d575,_0x21b7('0x62'),_0x495ee5));}[_0x21b7('0x18')](){const _0x102e9f=this[_0x21b7('0x8')],_0x242913=_0x102e9f['locale'];function _0x5208b8(_0x50c4c0){const _0x2443d4=_0x102e9f['commands'][_0x21b7('0x6e')](_0x21b7('0x60'))[_0x21b7('0xb')],_0x990ffe=_0x102e9f[_0x21b7('0x5f')]['get'](_0x21b7('0x29'))[_0x21b7('0xb')];return _0x21b7('0x29')===_0x50c4c0?_0x2443d4:_0x990ffe;}_0x102e9f[_0x21b7('0x44')][_0x21b7('0x6e')](_0x21b7('0x3f'))[_0x21b7('0x10')]['registerDescriptionCallback'](function(_0x5b7382){if(_0x21b7('0x12')!=_0x5b7382['type'])return;const {data:_0x44e8fb}=_0x5b7382;if(!_0x44e8fb)return;let _0x36d477,_0x2f5b1c,_0x84dbcd,_0x311d12;switch(_0x44e8fb[_0x21b7('0x57')]){case _0x21b7('0x60'):_0x84dbcd=_0x44e8fb[_0x21b7('0x4b')][0x0]['forceValue'],_0x311d12=_0x5208b8(_0x44e8fb['commandName']),_0x36d477=_0x84dbcd?_0x21b7('0x6a'):_0x21b7('0x63'),!_0x311d12&&_0x102e9f['config']['get'](_0x21b7('0x2e'))||(_0x36d477=_0x21b7('0x3c')),_0x2f5b1c={'type':_0x21b7('0x3b'),'content':_0x2dbdf9(_0x242913,_0x36d477,_0x2dbdf9(_0x242913,'ELEMENT_BULLETED_LIST'))};break;case _0x21b7('0x29'):_0x84dbcd=_0x44e8fb['commandParams'][0x0][_0x21b7('0x13')],_0x311d12=_0x5208b8(_0x44e8fb[_0x21b7('0x57')]),_0x36d477=_0x84dbcd?_0x21b7('0x6a'):_0x21b7('0x63'),!_0x311d12&&_0x102e9f[_0x21b7('0x36')][_0x21b7('0x6e')](_0x21b7('0x2e'))||(_0x36d477=_0x21b7('0x3c')),_0x2f5b1c={'type':_0x21b7('0x3b'),'content':_0x2dbdf9(_0x242913,_0x36d477,_0x2dbdf9(_0x242913,_0x21b7('0x78')))};break;case _0x21b7('0x4a'):_0x36d477=_0x21b7('0x71'),_0x2f5b1c={'type':'format','content':_0x2dbdf9(_0x242913,_0x36d477,_0x2dbdf9(_0x242913,_0x21b7('0x62')))};break;case _0x21b7('0x43'):_0x36d477=function(_0x47177f){const _0x10ea67=_0x47177f[_0x21b7('0x59')]();let _0x1b948c=_0x10ea67[_0x21b7('0xa')][_0x21b7('0x75')];for(;_0x1b948c&&_0x10ea67[_0x21b7('0x5c')](_0x1b948c);){if(_0x1b948c['getAttribute'](_0x21b7('0x11'))>0x0)return!0x1;_0x1b948c=_0x1b948c[_0x21b7('0x27')];}return!0x0;}(_0x5b7382)?_0x2dbdf9(_0x242913,_0x21b7('0x63'),_0x2dbdf9(_0x242913,function(_0x1b36c5){return _0x21b7('0xc')+_0x1b36c5[_0x21b7('0x59')]()[_0x21b7('0xa')][_0x21b7('0x75')][_0x21b7('0x56')](_0x21b7('0x50'))[_0x21b7('0x73')]()+'_LIST';}(_0x5b7382))):_0x2dbdf9(_0x242913,'*Outdent:*\x20%0',_0x2dbdf9(_0x242913,_0x21b7('0x62'))),_0x2f5b1c={'type':_0x21b7('0x3b'),'content':_0x36d477};break;case _0x21b7('0x66'):case _0x21b7('0xe'):!0x1===_0x44e8fb[_0x21b7('0x24')]&&(_0x36d477=_0x21b7('0x2a'),_0x2f5b1c={'type':'deletion','content':_0x2dbdf9(_0x242913,_0x36d477,_0x2dbdf9(_0x242913,_0x21b7('0x62')))});}return _0x2f5b1c;});}}function ie(_0x347608){let _0x39e47a=_0x347608[_0x21b7('0x59')]()[_0x21b7('0xa')]['nodeAfter'][_0x21b7('0x4')];for(;_0x39e47a;){const _0x30fa87=_0x39e47a[_0x21b7('0x56')](_0x21b7('0x3d'));if(!_0x30fa87)return!0x1;if(_0x30fa87==_0x347608[_0x21b7('0x5a')]['newValue'])return _0x21b7('0xd');if(_0x30fa87==_0x347608['data'][_0x21b7('0x23')])return _0x21b7('0x23');_0x39e47a=_0x39e47a[_0x21b7('0x4')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c3b=['_getAttributeKey','filter','*Remove\x20format:*\x20%0','list.properties','circle','has','commandParams','*Change\x20to:*\x20%0','_descriptionFactory','registerPostFixer','listStyle','disc','editor','reversed','get','model','listType','_LIST_DEFAULT','registerAttributeLabel','upper-latin','numbered','start','getFirstMarker','batch','find','*Format:*\x20set\x20order\x20to\x20reversed','type','key','default','data','commandName','getFirstRange','replace','bind','lower-roman','FORMAT_LIST_REVERSED','_enableDefaultAttributesIntegration','next','_getTranslationKeyForListStyle','lower-latin','decimal-leading-zero','newValue','includes','handleDescriptions','removeMarker','styles','ListPropertiesEditing','listReversed','config','attribute','oldValue','*Format:*\x20set\x20start\x20index\x20to\x20%0','_registerLegacyDescription','decimal','getAttribute','FORMAT_LIST_START','listStart','format','*Set\x20format:*\x20%0','formatBlock','toUpperCase','head','TrackChangesEditing','registerDescriptionCallback','afterInit','nodeAfter','locale','getSuggestions','suggestion','ELEMENT_','startIndex','plugins'];(function(_0x47364a,_0x3c3b57){const _0x541465=function(_0x81e45){while(--_0x81e45){_0x47364a['push'](_0x47364a['shift']());}};_0x541465(++_0x3c3b57);}(_0x3c3b,0x18f));const _0x5414=function(_0x47364a,_0x3c3b57){_0x47364a=_0x47364a-0x0;let _0x541465=_0x3c3b[_0x47364a];return _0x541465;};import{Plugin as _0x2df970}from'ckeditor5/src/core.js';import{getTranslation as _0x18d4a4}from'../utils/common-translations.js';export default class se extends _0x2df970{[_0x5414('0x19')](){if(!this[_0x5414('0x2d')]['plugins'][_0x5414('0x26')](_0x5414('0x7')))return;const _0xf6de41=this['editor'][_0x5414('0x9')][_0x5414('0x2f')](_0x5414('0x24')),_0x4afca2=this[_0x5414('0x2d')][_0x5414('0x20')][_0x5414('0x2f')](_0x5414('0x17'));_0xf6de41[_0x5414('0x6')]&&_0x4afca2[_0x5414('0x45')](_0x5414('0x2b'),[],['listStyle']),_0xf6de41[_0x5414('0x2e')]&&_0x4afca2[_0x5414('0x45')](_0x5414('0x8'),[],[_0x5414('0x8')]),_0xf6de41[_0x5414('0x1f')]&&_0x4afca2['_enableDefaultAttributesIntegration'](_0x5414('0x11'),[],['listStart']);const _0x9293be={'type':_0x5414('0x12'),'content':''};_0x4afca2[_0x5414('0x29')][_0x5414('0x18')](this['handleDescriptions'][_0x5414('0x42')](this));const _0x1f4335=this['editor'][_0x5414('0x1b')];_0x4afca2['_descriptionFactory']['registerAttributeLabel']('listReversed',_0x18d4a4(_0x1f4335,_0x5414('0x44'))),_0x4afca2[_0x5414('0x29')]['registerDescriptionCallback'](_0x174434=>{const {data:_0x571365}=_0x174434;if(_0x571365&&'listReversed'==_0x571365[_0x5414('0x3c')])return null==_0x571365[_0x5414('0x2')]||0x0==_0x571365['newValue']&&null==_0x571365[_0x5414('0xb')]?_0x9293be:void 0x0;}),_0x4afca2['_descriptionFactory'][_0x5414('0x33')]('listStart',_0x18d4a4(_0x1f4335,_0x5414('0x10'))),_0x4afca2['_descriptionFactory'][_0x5414('0x18')](_0x1d0a82=>{const {data:_0x401d74}=_0x1d0a82;if(_0x401d74&&_0x5414('0x11')==_0x401d74[_0x5414('0x3c')])return null==_0x401d74['newValue']||0x1==_0x401d74[_0x5414('0x2')]&&null==_0x401d74[_0x5414('0xb')]?_0x9293be:void 0x0;}),this['editor'][_0x5414('0x30')]['document'][_0x5414('0x2a')](_0x231fb6=>{if(_0x231fb6[_0x5414('0x38')]['isUndo'])return!0x1;let _0x45cfd3=!0x1;const _0x5f1167=_0x4afca2[_0x5414('0x1c')]({'skipNotAttached':!0x0})[_0x5414('0x22')](_0x329630=>{const _0x5800d4=_0x4afca2['_getAttributeKey'](_0x329630);return _0x5414('0x11')==_0x5800d4||'listReversed'==_0x5800d4;});for(const _0x3054e0 of _0x5f1167){if(_0x5414('0x35')==_0x3054e0[_0x5414('0x40')]()['start']['nodeAfter']['getAttribute'](_0x5414('0x31')))continue;_0x4afca2['_findSuggestions'](_0x3054e0[_0x5414('0x40')](),_0x5414('0xa'))[_0x5414('0x39')](_0x164962=>_0x5414('0x31')==_0x4afca2[_0x5414('0x21')](_0x164962[_0x5414('0x1d')]))||(_0x231fb6[_0x5414('0x5')](_0x3054e0[_0x5414('0x37')]()),_0x45cfd3=!0x0);}return _0x45cfd3;}),this[_0x5414('0xd')]();}[_0x5414('0x4')](_0x4a8a1f){const _0x53930d=this[_0x5414('0x2d')]['locale'],{data:_0x55fa8e}=_0x4a8a1f,_0x2cf041={'type':'format','content':''};if(!_0x55fa8e||_0x5414('0x2b')!=_0x55fa8e[_0x5414('0x3c')])return;if(!_0x55fa8e[_0x5414('0xb')])return _0x5414('0x3d')==_0x55fa8e[_0x5414('0x2')]?_0x2cf041:{'type':_0x5414('0x12'),'content':''+_0x18d4a4(_0x53930d,_0x5414('0x13'),_0x18d4a4(_0x53930d,this[_0x5414('0x47')](_0x55fa8e['newValue'])))};if(!_0x55fa8e[_0x5414('0x2')]){if(_0x5414('0x3d')==_0x55fa8e[_0x5414('0xb')])return _0x2cf041;let _0x9f7d9e=_0x4a8a1f[_0x5414('0x16')];for(;_0x9f7d9e;){if(_0x9f7d9e[_0x5414('0x3e')]&&'listType'==_0x9f7d9e['data']['key']&&_0x9f7d9e[_0x5414('0x3e')]['newValue'])return _0x2cf041;_0x9f7d9e=_0x9f7d9e[_0x5414('0x46')];}return{'type':'format','content':''+_0x18d4a4(_0x53930d,_0x5414('0x23'),_0x18d4a4(_0x53930d,this[_0x5414('0x47')](_0x55fa8e['oldValue'])))};}if('default'!=_0x55fa8e[_0x5414('0x2')])return{'type':_0x5414('0x12'),'content':''+_0x18d4a4(_0x53930d,'*Set\x20format:*\x20%0',_0x18d4a4(_0x53930d,this[_0x5414('0x47')](_0x55fa8e[_0x5414('0x2')])))};let _0x503e63=_0x4a8a1f[_0x5414('0x16')];for(;_0x503e63;){if(_0x503e63[_0x5414('0x3e')]&&_0x5414('0x31')==_0x503e63[_0x5414('0x3e')][_0x5414('0x3c')]&&_0x503e63[_0x5414('0x3e')][_0x5414('0x2')]&&_0x503e63[_0x5414('0x3e')][_0x5414('0xb')])return _0x2cf041;_0x503e63=_0x503e63[_0x5414('0x46')];}const _0x484f2d=_0x4a8a1f[_0x5414('0x40')]()[_0x5414('0x36')][_0x5414('0x1a')][_0x5414('0xf')]('listType');return{'type':_0x5414('0x12'),'content':_0x18d4a4(_0x53930d,_0x5414('0x13'),_0x18d4a4(_0x53930d,'ELEMENT_'+_0x484f2d['toUpperCase']()+_0x5414('0x32')))};}['_registerLegacyDescription'](){const _0x40846a=this['editor'],_0x62230c=_0x40846a[_0x5414('0x1b')];_0x40846a[_0x5414('0x20')][_0x5414('0x2f')](_0x5414('0x17'))[_0x5414('0x29')]['registerDescriptionCallback'](_0x28898b=>{if(_0x5414('0x14')!=_0x28898b['type'])return;const {data:_0x16eb23}=_0x28898b;if(!_0x16eb23)return;let _0x3179fc,_0x590d3a;switch(_0x16eb23[_0x5414('0x3f')]){case _0x5414('0x2b'):_0x3179fc=_0x5414('0x28'),_0x590d3a={'type':'format','content':_0x18d4a4(_0x62230c,_0x3179fc,_0x18d4a4(_0x62230c,this[_0x5414('0x47')](_0x16eb23[_0x5414('0x27')][0x0][_0x5414('0x3b')])))};break;case _0x5414('0x8'):_0x3179fc=_0x16eb23[_0x5414('0x27')][0x0][_0x5414('0x2e')]?_0x5414('0x3a'):'*Format:*\x20set\x20order\x20to\x20regular',_0x590d3a={'type':_0x5414('0x12'),'content':_0x18d4a4(_0x62230c,_0x3179fc)};break;case _0x5414('0x11'):_0x3179fc=_0x5414('0xc'),_0x590d3a={'type':_0x5414('0x12'),'content':_0x18d4a4(_0x62230c,_0x3179fc,_0x16eb23[_0x5414('0x27')][0x0][_0x5414('0x1f')])};}return _0x590d3a;});}['_getTranslationKeyForListStyle'](_0x1c3e22){return _0x5414('0x1e')+function(_0x4a0d97){if(ae[_0x5414('0x3')](_0x4a0d97))return'bulleted';if(le[_0x5414('0x3')](_0x4a0d97))return _0x5414('0x35');return null;}(_0x1c3e22)['toUpperCase']()+'_LIST_'+_0x1c3e22[_0x5414('0x15')]()[_0x5414('0x41')](/-/g,'_');}}const ae=[_0x5414('0x2c'),_0x5414('0x25'),'square'],le=[_0x5414('0xe'),_0x5414('0x1'),_0x5414('0x43'),'upper-roman',_0x5414('0x0'),_0x5414('0x34')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x396e=['locale','stop','mediaEmbed','MediaEmbedEditing','editor','registerElementLabel','_descriptionFactory','enableCommand','high','TrackChangesEditing','downcastDispatcher','div','media','attribute:url:media','showSuggestionHighlights','has','options','conversion','data','afterInit','plugins','get','for'];(function(_0x58bcaa,_0x396e90){const _0x3e043a=function(_0x367dd2){while(--_0x367dd2){_0x58bcaa['push'](_0x58bcaa['shift']());}};_0x3e043a(++_0x396e90);}(_0x396e,0x7b));const _0x3e04=function(_0x58bcaa,_0x396e90){_0x58bcaa=_0x58bcaa-0x0;let _0x3e043a=_0x396e[_0x58bcaa];return _0x3e043a;};import{Plugin as _0x522a9a}from'ckeditor5/src/core.js';import{getTranslation as _0x52464a}from'../utils/common-translations.js';export default class ft extends _0x522a9a{[_0x3e04('0xb')](){const _0x878c51=this[_0x3e04('0x13')];if(!_0x878c51['plugins'][_0x3e04('0x7')](_0x3e04('0x12')))return;const _0x48379d=_0x878c51[_0x3e04('0xc')][_0x3e04('0xd')](_0x3e04('0x1')),_0x2fe47b=_0x878c51[_0x3e04('0xf')];_0x48379d[_0x3e04('0x16')](_0x3e04('0x11')),_0x48379d[_0x3e04('0x15')][_0x3e04('0x14')](_0x3e04('0x4'),_0x5f03a7=>_0x52464a(_0x2fe47b,'ELEMENT_MEDIA',_0x5f03a7)),_0x878c51[_0x3e04('0x9')][_0x3e04('0xe')]('dataDowncast')['elementToElement']({'model':_0x3e04('0x4'),'view':(_0x171f3d,{writer:_0x21d1ab,options:_0x2f0883})=>{if(_0x2f0883[_0x3e04('0x6')])return _0x21d1ab['createEmptyElement'](_0x3e04('0x3'));},'converterPriority':_0x3e04('0x0')}),_0x878c51[_0x3e04('0xa')][_0x3e04('0x2')]['on'](_0x3e04('0x5'),(_0x319782,_0x570947,_0x317bde)=>{_0x317bde[_0x3e04('0x8')][_0x3e04('0x6')]&&_0x319782[_0x3e04('0x10')]();},{'priority':_0x3e04('0x0')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bd8=['mention','afterInit','TrackChangesEditing','get','plugins','editor','has'];(function(_0x55596e,_0x4bd864){const _0x2fe851=function(_0x53a49c){while(--_0x53a49c){_0x55596e['push'](_0x55596e['shift']());}};_0x2fe851(++_0x4bd864);}(_0x4bd8,0x1ca));const _0x2fe8=function(_0x55596e,_0x4bd864){_0x55596e=_0x55596e-0x0;let _0x2fe851=_0x4bd8[_0x55596e];return _0x2fe851;};import{Plugin as _0x221de5}from'ckeditor5/src/core.js';export default class gt extends _0x221de5{[_0x2fe8('0x5')](){const _0x5c2422=this[_0x2fe8('0x2')];_0x5c2422['plugins'][_0x2fe8('0x3')]('MentionEditing')&&_0x5c2422[_0x2fe8('0x1')][_0x2fe8('0x0')](_0x2fe8('0x6'))['enableCommand'](_0x2fe8('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb537=['enableCommand','TrackChangesEditing','ELEMENT_PAGE_BREAK','editor','get','_descriptionFactory','PageBreakEditing','has','locale','afterInit','registerElementLabel','plugins','pageBreak'];(function(_0x2beb7a,_0xb53701){const _0xad7ba=function(_0x1908c0){while(--_0x1908c0){_0x2beb7a['push'](_0x2beb7a['shift']());}};_0xad7ba(++_0xb53701);}(_0xb537,0x11c));const _0xad7b=function(_0x2beb7a,_0xb53701){_0x2beb7a=_0x2beb7a-0x0;let _0xad7ba=_0xb537[_0x2beb7a];return _0xad7ba;};import{Plugin as _0x5ed2f0}from'ckeditor5/src/core.js';import{getTranslation as _0x45287f}from'../utils/common-translations.js';export default class lt extends _0x5ed2f0{[_0xad7b('0xb')](){const _0x14806e=this[_0xad7b('0x5')];if(!_0x14806e['plugins'][_0xad7b('0x9')](_0xad7b('0x8')))return;_0x14806e[_0xad7b('0x0')][_0xad7b('0x6')]('TrackChangesEditing')[_0xad7b('0x2')](_0xad7b('0x1'));const _0x3a90a5=_0x14806e[_0xad7b('0x0')][_0xad7b('0x6')](_0xad7b('0x3')),_0x7a5ded=_0x14806e[_0xad7b('0xa')];_0x3a90a5[_0xad7b('0x7')][_0xad7b('0xc')](_0xad7b('0x1'),_0x29ee0b=>_0x45287f(_0x7a5ded,_0xad7b('0x4'),_0x29ee0b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bfa=['*Insert:*\x20%0','isBlock','$text','consumable','getFirstRange','plugins','name','locale','insert','type','editing','insertParagraph','get','model','Paragraph','afterInit','ELEMENT_PARAGRAPH','registerDescriptionCallback','isTouching','editor','options','data','showSuggestionHighlights','markerRange','writer','nodeAfter','commandName','ck-suggestion-marker--active','formatBlock','addClass','_enableDefaultAttributesIntegration','TrackChangesEditing','insertion','mapper','paragraph','createUIElement','start','_descriptionFactory','markerName','downcastDispatcher','enableCommand','ck-suggestion-marker-split','*Change\x20to:*\x20%0','getItemLabel','toViewPosition','schema','_registerLegacyDescription','isLimit','addMarker:suggestion:insertion'];(function(_0x3ad51e,_0x1bfa27){const _0x1b4954=function(_0x5e9594){while(--_0x5e9594){_0x3ad51e['push'](_0x3ad51e['shift']());}};_0x1b4954(++_0x1bfa27);}(_0x1bfa,0x15b));const _0x1b49=function(_0x3ad51e,_0x1bfa27){_0x3ad51e=_0x3ad51e-0x0;let _0x1b4954=_0x1bfa[_0x3ad51e];return _0x1b4954;};import{Plugin as _0x5b9f94}from'ckeditor5/src/core.js';import{getTranslation as _0x8ef54f}from'../utils/common-translations.js';export default class mt extends _0x5b9f94{[_0x1b49('0xb')](){const _0x3f9712=this[_0x1b49('0xf')];if(!_0x3f9712[_0x1b49('0x1')]['has'](_0x1b49('0xa')))return;const _0x2c67ad=_0x3f9712[_0x1b49('0x3')],_0x3c0db3=_0x3f9712[_0x1b49('0x1')]['get'](_0x1b49('0x1b'));_0x3c0db3[_0x1b49('0x21')]['registerElementLabel']('paragraph',_0xf4cd0a=>_0x8ef54f(_0x2c67ad,_0x1b49('0xc'),_0xf4cd0a)),_0x3c0db3[_0x1b49('0x1a')](_0x1b49('0x1e')),_0x3c0db3[_0x1b49('0x24')](_0x1b49('0x7')),_0x3f9712[_0x1b49('0x6')][_0x1b49('0x23')]['on'](_0x1b49('0x2c'),nr(_0x3f9712),{'priority':'highest'}),_0x3f9712[_0x1b49('0x11')]['downcastDispatcher']['on'](_0x1b49('0x2c'),(_0x2c5b69,_0x3a2930,_0x44ad47)=>{_0x44ad47[_0x1b49('0x10')][_0x1b49('0x12')]&&nr(_0x3f9712,{'showActiveMarker':!0x1})(_0x2c5b69,_0x3a2930,_0x44ad47);},{'priority':'highest'});const _0x5adfc2=_0x3c0db3[_0x1b49('0x21')];_0x5adfc2[_0x1b49('0xd')](_0x225f57=>{if(_0x1b49('0x1c')!==_0x225f57['type'])return;const {start:_0x404e64,end:_0x372c42}=_0x225f57[_0x1b49('0x0')]();if(!_0x404e64[_0x1b49('0xe')](_0x372c42)||!_0x404e64['nodeAfter'])return;const _0x3494ff=_0x3f9712[_0x1b49('0x9')][_0x1b49('0x29')],_0x11b831=_0x404e64[_0x1b49('0x15')];return _0x3494ff[_0x1b49('0x2e')](_0x11b831)&&!_0x3494ff['isLimit'](_0x11b831)&&_0x3494ff['checkChild'](_0x11b831,_0x1b49('0x2f'))?{'type':'insertion','content':_0x8ef54f(_0x2c67ad,_0x1b49('0x2d'),_0x5adfc2[_0x1b49('0x27')](_0x11b831,0x1))}:void 0x0;}),this[_0x1b49('0x2a')]();}[_0x1b49('0x2a')](){const _0x19b159=this[_0x1b49('0xf')],_0x1c2d2c=_0x19b159[_0x1b49('0x3')];_0x19b159[_0x1b49('0x1')][_0x1b49('0x8')]('TrackChangesEditing')[_0x1b49('0x21')][_0x1b49('0xd')](_0x4fba41=>{if(_0x1b49('0x18')!=_0x4fba41[_0x1b49('0x5')])return;const {data:_0x246af9}=_0x4fba41;return _0x246af9&&_0x1b49('0x1e')==_0x246af9[_0x1b49('0x16')]?{'type':'format','content':_0x8ef54f(_0x1c2d2c,_0x1b49('0x26'),_0x8ef54f(_0x1c2d2c,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x4bcc9b,{showActiveMarker:_0xf48230=!0x0}={}){return(_0x1ff24f,_0x3b5c71,_0x445da5)=>{const _0x3e89b=_0x4bcc9b[_0x1b49('0x1')][_0x1b49('0x8')](_0x1b49('0x1b')),_0xf8efb=_0x3b5c71[_0x1b49('0x13')][_0x1b49('0x20')],_0x3c7d6d=_0x3b5c71[_0x1b49('0x13')]['end'],_0xa703cb=_0x4bcc9b[_0x1b49('0x9')][_0x1b49('0x29')];if(!_0xf8efb[_0x1b49('0xe')](_0x3c7d6d)||!_0xf8efb[_0x1b49('0x15')])return;const _0x5e2ee8=_0xf8efb[_0x1b49('0x15')];if(_0xa703cb[_0x1b49('0x2e')](_0x5e2ee8)&&!_0xa703cb[_0x1b49('0x2b')](_0x5e2ee8)&&_0xa703cb['checkChild'](_0x5e2ee8,'$text')){if(!_0x445da5[_0x1b49('0x30')]['consume'](_0x3b5c71['markerRange'],_0x1ff24f[_0x1b49('0x2')]))return;const _0x200362=_0x445da5['writer'][_0x1b49('0x1f')]('span',{'class':_0x1b49('0x25')}),_0x3f7515=_0x445da5['mapper'][_0x1b49('0x28')](_0x3c7d6d);_0xf48230&&_0x3e89b['activeMarkers']['includes'](_0x3b5c71[_0x1b49('0x22')])&&_0x445da5['writer'][_0x1b49('0x19')](_0x1b49('0x17'),_0x200362),_0x445da5[_0x1b49('0x14')][_0x1b49('0x4')](_0x3f7515,_0x200362),_0x445da5[_0x1b49('0x1d')]['bindElementToMarker'](_0x200362,_0x3b5c71[_0x1b49('0x22')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e21=['TrackChangesEditing','_descriptionFactory','RemoveFormatEditing','_enableDefaultAttributesIntegration','editor','plugins','locale','commandName','removeFormat','_registerLegacyDescription','formatInline','*Remove\x20all\x20formatting*','afterInit','registerDescriptionCallback','type','get'];(function(_0x162ba4,_0x1e21b2){const _0x458a5e=function(_0x40b92b){while(--_0x40b92b){_0x162ba4['push'](_0x162ba4['shift']());}};_0x458a5e(++_0x1e21b2);}(_0x1e21,0x69));const _0x458a=function(_0x162ba4,_0x1e21b2){_0x162ba4=_0x162ba4-0x0;let _0x458a5e=_0x1e21[_0x162ba4];return _0x458a5e;};import{Plugin as _0x39ff6a}from'ckeditor5/src/core.js';import{getTranslation as _0x1f1c1f}from'../utils/common-translations.js';export default class dt extends _0x39ff6a{[_0x458a('0x3')](){const _0x9fac07=this['editor'];if(!_0x9fac07[_0x458a('0xc')]['has'](_0x458a('0x9')))return;_0x9fac07[_0x458a('0xc')]['get'](_0x458a('0x7'))[_0x458a('0xa')]('removeFormat'),this[_0x458a('0x0')]();}[_0x458a('0x0')](){const _0x11a8b8=this[_0x458a('0xb')];_0x11a8b8[_0x458a('0xc')][_0x458a('0x6')](_0x458a('0x7'))[_0x458a('0x8')][_0x458a('0x4')](_0x256c55=>{if('formatBlock'!=_0x256c55[_0x458a('0x5')]&&_0x458a('0x1')!=_0x256c55[_0x458a('0x5')])return;const {data:_0x39f7a1}=_0x256c55;return _0x39f7a1&&_0x458a('0xf')==_0x39f7a1[_0x458a('0xe')]?{'type':'format','content':_0x1f1c1f(_0x11a8b8[_0x458a('0xd')],_0x458a('0x2'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x257d=['acceptAllSuggestions','enableCommand','plugins','editor','acceptSuggestion','trackChanges','get','afterInit','TrackChangesEditing','RestrictedEditingModeEditing','discardSuggestion','goToPreviousRestrictedEditingException'];(function(_0x5acf43,_0x257dcb){const _0x2fcccb=function(_0x41985a){while(--_0x41985a){_0x5acf43['push'](_0x5acf43['shift']());}};_0x2fcccb(++_0x257dcb);}(_0x257d,0x1e1));const _0x2fcc=function(_0x5acf43,_0x257dcb){_0x5acf43=_0x5acf43-0x0;let _0x2fcccb=_0x257d[_0x5acf43];return _0x2fcccb;};import{Plugin as _0x45d651}from'ckeditor5/src/core.js';export default class pt extends _0x45d651{[_0x2fcc('0x6')](){const _0x4ba48e=this[_0x2fcc('0x2')];if(!_0x4ba48e[_0x2fcc('0x1')]['has'](_0x2fcc('0x8')))return;const _0x301ac5=_0x4ba48e[_0x2fcc('0x1')][_0x2fcc('0x5')](_0x2fcc('0x7'));_0x301ac5[_0x2fcc('0x0')](_0x2fcc('0xa')),_0x301ac5[_0x2fcc('0x0')]('goToNextRestrictedEditingException');const _0x1065fc=_0x4ba48e[_0x2fcc('0x1')]['get'](_0x2fcc('0x8'));_0x1065fc[_0x2fcc('0x0')](_0x2fcc('0x4')),_0x1065fc[_0x2fcc('0x0')](_0x2fcc('0x3')),_0x1065fc[_0x2fcc('0x0')](_0x2fcc('0x9')),_0x1065fc[_0x2fcc('0x0')](_0x2fcc('0xb')),_0x1065fc[_0x2fcc('0x0')]('discardAllSuggestions'),_0x1065fc[_0x2fcc('0x0')]('acceptSelectedSuggestions'),_0x1065fc[_0x2fcc('0x0')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x121c=['ck-suggestion-marker--active','addMarker:suggestion','createUIElement','name','locale','getItems','includes','_descriptionFactory','model','plugins','markerName','registerElementLabel','data','consumable','split','get','requires','editing','options','span','addMarker:suggestion:deletion','mapper','toViewPosition','element','TrackChangesEditing','createPositionBefore','writer','bindElementToMarker','deletion','showSuggestionHighlights','markerRange','softBreak','shiftEnter','high','activeMarkers','ck-suggestion-marker-','downcastDispatcher','init'];(function(_0x158cfa,_0x121c05){const _0x396c91=function(_0x3e51b4){while(--_0x3e51b4){_0x158cfa['push'](_0x158cfa['shift']());}};_0x396c91(++_0x121c05);}(_0x121c,0xbe));const _0x396c=function(_0x158cfa,_0x121c05){_0x158cfa=_0x158cfa-0x0;let _0x396c91=_0x121c[_0x158cfa];return _0x396c91;};import{Plugin as _0x24fbf5}from'ckeditor5/src/core.js';import{ShiftEnter as _0x4f9544}from'ckeditor5/src/enter.js';import{getTranslation as _0x9c334c}from'../utils/common-translations.js';export default class kt extends _0x24fbf5{static get[_0x396c('0x10')](){return[_0x4f9544];}[_0x396c('0x25')](){const _0x3d453c=this['editor'],_0x576acf=_0x3d453c[_0x396c('0x9')][_0x396c('0xf')]('TrackChangesEditing');_0x576acf['enableCommand'](_0x396c('0x20')),_0x3d453c[_0x396c('0x11')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x3d453c),{'priority':_0x396c('0x21')}),_0x3d453c[_0x396c('0x11')][_0x396c('0x24')]['on'](_0x396c('0x14'),re(_0x3d453c),{'priority':_0x396c('0x21')}),_0x3d453c[_0x396c('0xc')][_0x396c('0x24')]['on'](_0x396c('0x1'),(_0x41cc51,_0x10e78e,_0x26d87b)=>{_0x26d87b[_0x396c('0x12')][_0x396c('0x1d')]&&re(_0x3d453c,{'showActiveMarker':!0x1})(_0x41cc51,_0x10e78e,_0x26d87b);}),_0x576acf[_0x396c('0x7')][_0x396c('0xb')](_0x396c('0x1f'),_0x246d99=>_0x9c334c(_0x3d453c[_0x396c('0x4')],'ELEMENT_LINE_BREAK',_0x246d99));}}function re(_0x184606,{showActiveMarker:_0x144ccc=!0x0}={}){return(_0xc8089f,_0x41f675,_0x52a41d)=>{const _0x5b5cfb=_0x184606[_0x396c('0x9')][_0x396c('0xf')](_0x396c('0x18'));if(!_0x52a41d[_0x396c('0xd')]['test'](_0x41f675['markerRange'],_0xc8089f[_0x396c('0x3')]))return;const _0x27f43b=_0x184606[_0x396c('0x8')];for(const _0x2c884e of _0x41f675[_0x396c('0x1e')][_0x396c('0x5')]()){if(!_0x2c884e['is'](_0x396c('0x17'),'softBreak'))continue;const _0x22d726=_0x396c('0x1c')==_0x41f675[_0x396c('0xa')][_0x396c('0xe')](':')[0x1]?'merge':_0x396c('0xe'),_0x50b294=_0x52a41d[_0x396c('0x1a')][_0x396c('0x2')](_0x396c('0x13'),{'class':_0x396c('0x23')+_0x22d726}),_0x5de12c=_0x52a41d[_0x396c('0x15')][_0x396c('0x16')](_0x27f43b[_0x396c('0x19')](_0x2c884e));_0x144ccc&&_0x5b5cfb[_0x396c('0x22')][_0x396c('0x6')](_0x41f675['markerName'])&&_0x52a41d[_0x396c('0x1a')]['addClass'](_0x396c('0x0'),_0x50b294),_0x52a41d['writer']['insert'](_0x5de12c,_0x50b294),_0x52a41d[_0x396c('0x15')][_0x396c('0x1b')](_0x50b294,_0x41f675['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f24=['type','getRanges','forceValue','formatInline','_descriptionFactory','document','format','has','change','value','isCollapsed','registerDescriptionCallback','commandParams','afterInit','FORMAT_RESTRICTED_DISABLED','locale','commands','plugins','formatBlock','editor','selection','model','FORMAT_RESTRICTED_ENABLED','get','restrictedEditingException','enableCommand','from'];(function(_0x17d632,_0x1f2489){const _0xc4e55a=function(_0x2ee0bc){while(--_0x2ee0bc){_0x17d632['push'](_0x17d632['shift']());}};_0xc4e55a(++_0x1f2489);}(_0x1f24,0x6a));const _0xc4e5=function(_0x17d632,_0x1f2489){_0x17d632=_0x17d632-0x0;let _0xc4e55a=_0x1f24[_0x17d632];return _0xc4e55a;};import{Plugin as _0x5a01fe}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x20576d}from'./utils.js';import{getTranslation as _0x2854af}from'../utils/common-translations.js';export default class bt extends _0x5a01fe{[_0xc4e5('0xf')](){const _0x2ac825=this[_0xc4e5('0x15')],_0x2b22ea=_0x2ac825[_0xc4e5('0x17')],_0x459e41=_0x2ac825[_0xc4e5('0x11')];if(!_0x2ac825[_0xc4e5('0x13')][_0xc4e5('0x9')]('StandardEditingModeEditing'))return;const _0x3e647f=_0x2ac825[_0xc4e5('0x13')][_0xc4e5('0x19')]('TrackChangesEditing'),_0x308ed1=_0xc4e5('0x1a'),_0x305bf1=_0x2ac825[_0xc4e5('0x12')][_0xc4e5('0x19')](_0x308ed1);_0x3e647f[_0xc4e5('0x0')](_0x308ed1,(_0x35a8f0,_0x4f4358={})=>{const _0x1a7346=_0x2b22ea[_0xc4e5('0x7')][_0xc4e5('0x16')];if(_0x1a7346[_0xc4e5('0xc')])return void _0x35a8f0(_0x4f4358);const _0x556502=void 0x0!==_0x4f4358[_0xc4e5('0x4')]?_0x4f4358[_0xc4e5('0x4')]:!_0x305bf1[_0xc4e5('0xb')];_0x2b22ea[_0xc4e5('0xa')](()=>{const _0xf03d48=Array[_0xc4e5('0x1')](_0x1a7346[_0xc4e5('0x3')]());for(const _0x5c33c1 of _0xf03d48){const _0x4e45d4=_0x556502?[_0x5c33c1]:_0x20576d(_0x308ed1,_0x5c33c1,_0x2b22ea);for(const _0x328281 of _0x4e45d4)_0x3e647f['markInlineFormat'](_0x328281,{'commandName':_0x308ed1,'commandParams':[{'forceValue':_0x556502}]});}});}),_0x3e647f[_0xc4e5('0x6')][_0xc4e5('0xd')](_0x5138e8=>{if(_0xc4e5('0x14')!=_0x5138e8[_0xc4e5('0x2')]&&_0xc4e5('0x5')!=_0x5138e8[_0xc4e5('0x2')])return;const {data:_0x5921ad}=_0x5138e8;return _0x5921ad&&_0x5921ad['commandName']==_0x308ed1?_0x5921ad[_0xc4e5('0xe')][0x0][_0xc4e5('0x4')]?{'type':_0xc4e5('0x8'),'content':_0x2854af(_0x459e41,_0xc4e5('0x18'))}:{'type':_0xc4e5('0x8'),'content':_0x2854af(_0x459e41,_0xc4e5('0x10'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x129a=['plugins','Style','_enableDefaultAttributesIntegration','locale','StyleUtils','_registerBlockAttribute','format','commandName','getGhsAttributeNameForElement','formatBlock','forceValue','*Set\x20format:*\x20%0','formatInline','add','get','inline','TrackChangesEditing','FORMAT_STYLE','styleName','registerAttributeLabel','type','element','block','_registerInlineAttribute','toLowerCase','_descriptionFactory','commandParams','_registerLegacyDescription','style','editor'];(function(_0x570a74,_0x129a76){const _0x3ddbda=function(_0x217ca1){while(--_0x217ca1){_0x570a74['push'](_0x570a74['shift']());}};_0x3ddbda(++_0x129a76);}(_0x129a,0x1d1));const _0x3ddb=function(_0x570a74,_0x129a76){_0x570a74=_0x570a74-0x0;let _0x3ddbda=_0x129a[_0x570a74];return _0x3ddbda;};import{Plugin as _0x13c34e}from'ckeditor5/src/core.js';import{getTranslation as _0x30a9d5}from'../utils/common-translations.js';export default class wt extends _0x13c34e{['afterInit'](){const _0x1e325a=this[_0x3ddb('0xe')];if(!_0x1e325a[_0x3ddb('0xf')]['has'](_0x3ddb('0x10'))||!_0x1e325a[_0x3ddb('0xf')]['has']('DataSchema'))return;const _0x413b83=_0x1e325a['plugins'][_0x3ddb('0x1d')](_0x3ddb('0x1')),_0x3fb488=_0x1e325a[_0x3ddb('0x12')],_0x1893ad=_0x1e325a['config'][_0x3ddb('0x1d')](_0x3ddb('0xd')),_0x50d838=_0x1e325a[_0x3ddb('0xf')][_0x3ddb('0x1d')]('GeneralHtmlSupport'),_0x2a81da=_0x1e325a['plugins']['get'](_0x3ddb('0x13'))['normalizeConfig'](_0x1e325a[_0x3ddb('0xf')][_0x3ddb('0x1d')]('DataSchema'),_0x1893ad['definitions']);_0x413b83[_0x3ddb('0x11')](_0x3ddb('0xd'));const _0x106766=new Set();for(const _0x4f87e0 of _0x2a81da[_0x3ddb('0x7')]){const _0x4f4eb4=_0x50d838[_0x3ddb('0x17')](_0x4f87e0[_0x3ddb('0x6')]);_0x106766[_0x3ddb('0x1c')](_0x4f4eb4);}const _0x47f1d6=new Set();for(const _0x3ef3f8 of _0x2a81da[_0x3ddb('0x0')]){const _0x19fcd0=_0x50d838[_0x3ddb('0x17')](_0x3ef3f8['element']);_0x47f1d6[_0x3ddb('0x1c')](_0x19fcd0);for(const _0x4f1224 of _0x3ef3f8['ghsAttributes'])_0x47f1d6[_0x3ddb('0x1c')](_0x4f1224);}for(const _0xf5eb15 of _0x106766)_0x413b83[_0x3ddb('0x14')](_0xf5eb15),_0x413b83[_0x3ddb('0xa')][_0x3ddb('0x4')](_0xf5eb15,_0x30a9d5(_0x3fb488,_0x3ddb('0x2')));for(const _0x3dcfea of _0x47f1d6)_0x413b83[_0x3ddb('0x8')](_0x3dcfea),_0x413b83[_0x3ddb('0xa')][_0x3ddb('0x4')](_0x3dcfea,_0x30a9d5(_0x3fb488,'FORMAT_STYLE'));this[_0x3ddb('0xc')]();}[_0x3ddb('0xc')](){const _0x2d397e=this[_0x3ddb('0xe')],_0x363aa1=_0x2d397e['locale'];_0x2d397e[_0x3ddb('0xf')][_0x3ddb('0x1d')](_0x3ddb('0x1'))[_0x3ddb('0xa')]['registerDescriptionCallback'](_0x4f23a3=>{if(_0x3ddb('0x18')!=_0x4f23a3[_0x3ddb('0x5')]&&_0x3ddb('0x1b')!=_0x4f23a3[_0x3ddb('0x5')])return;const {data:_0x15470d}=_0x4f23a3;return _0x15470d&&'style'===_0x15470d[_0x3ddb('0x16')]?_0x15470d['commandParams'][0x0][_0x3ddb('0x19')]?{'type':_0x3ddb('0x15'),'content':_0x30a9d5(_0x363aa1,_0x3ddb('0x1a'),_0x15470d['commandParams'][0x0][_0x3ddb('0x3')][_0x3ddb('0x9')]())}:{'type':_0x3ddb('0x15'),'content':_0x30a9d5(_0x363aa1,'*Remove\x20format:*\x20%0',_0x15470d[_0x3ddb('0xb')][0x0]['styleName'][_0x3ddb('0x9')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5050=['above','findAncestor','min','registerElementLabel','registerDescriptionCallback','oldRange','get','getContainedElement','createRangeIn','removeClass','table','span','getColumnIndexes','insertion','createRangeOn','fromRange','removeTableRow','length','tablePaste','setSelection','cell','batch','enableCommand','tableRow','getAttribute','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','_tablePostFixingSubtypes','_setupColumnsRowsFixing','join','first','filter','document','change:data','order','classes','data','every','createTableWalker','end','isEqual','startsWith','TableUtils','from','registerPostFixer','getSelectionAffectedTableCells','start','addMarker:suggestion','accept','insertTableColumnRight','toLowerCase','getRowIndexes','downcastDispatcher','getChangedMarkers','createPositionAt','has','hasAttribute','TrackChangesEditing','push','*Insert:*\x20%0','add','getItems','element','model','getSuggestion','locale','insertTableRowBelow','deletion','getFirstRange','commands','addClass','_getSuggestionCoords','last','isTouching','minRow','mapper','name','detach','execute','isArray','position','colspan','root','tableCell','markMultiRangeInsertion','_descriptionFactory','toViewElement','getRanges','_suggestionFactory','enqueueChange','_splitMarkerName','getCellLocation','$graveyard','editor','MIN_SAFE_INTEGER','differ','ELEMENT_TABLE','refresh','type','map','change','ELEMENT_TABLE_ROW_WITH_TEXT','selection','includes','maxRow','removeTableColumn','*Remove:*\x20%0','isIntersectingWithRange','_getCoordsForCells','forceValue','getChildren','_tableSuggestions','rootName','nodeAfter','$textProxy','options','TableEditing','substr','plugins','MAX_SAFE_INTEGER','item','insert','rowspan','some','nodeBefore','minColumn','showSuggestionHighlights','writer','selectTableRow','tableColumn','subType','insertTableRowAbove','getChanges','afterInit','ELEMENT_TABLE_ROW','addRange'];(function(_0x2297c4,_0x5050ce){const _0x53e4d1=function(_0x4cce25){while(--_0x4cce25){_0x2297c4['push'](_0x2297c4['shift']());}};_0x53e4d1(++_0x5050ce);}(_0x5050,0xf5));const _0x53e4=function(_0x2297c4,_0x5050ce){_0x2297c4=_0x2297c4-0x0;let _0x53e4d1=_0x5050[_0x2297c4];return _0x53e4d1;};import{Plugin as _0x4526d3}from'ckeditor5/src/core.js';import{LiveRange as _0x1a4382}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x3229fe}from'ckeditor5/src/widget.js';import{getTranslation as _0x2dad4b}from'../utils/common-translations.js';export default class yt extends _0x4526d3{constructor(_0x422254){super(_0x422254),this[_0x53e4('0x36')]=[_0x53e4('0x32'),'tableColumn'],this['_tableSuggestions']=new Set();}[_0x53e4('0x18')](){const _0x49d98e=this[_0x53e4('0x78')],_0x4ace4e=_0x49d98e['model'][_0x53e4('0x3b')]['selection'];if(!_0x49d98e['plugins'][_0x53e4('0x52')](_0x53e4('0x7')))return;const _0x29714e=_0x49d98e[_0x53e4('0x5c')],_0xf652d8=_0x49d98e[_0x53e4('0x9')]['get'](_0x53e4('0x54')),_0x300e6e=_0x49d98e[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1e')](_0x53e4('0x25'),_0x54ab18=>_0x2dad4b(_0x29714e,_0x53e4('0x7b'),_0x54ab18)),this[_0x53e4('0x37')](),_0xf652d8['enableCommand']('insertTable'),_0xf652d8[_0x53e4('0x31')](_0x53e4('0x13')),_0xf652d8[_0x53e4('0x31')]('selectTableColumn');for(const _0x5e647a of[_0x53e4('0x16'),_0x53e4('0x5d')]){const _0x16212b=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x5e647a);_0xf652d8[_0x53e4('0x31')](_0x5e647a,_0x5a227e=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x29a88f=>{_0x5a227e();const _0x127d2c=_0x53e4('0x1b')===_0x16212b[_0x53e4('0x3d')],_0x3c3e9b=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x36fc7d=_0x300e6e[_0x53e4('0x4e')](_0x3c3e9b),_0x1d7502=_0x127d2c?_0x36fc7d[_0x53e4('0x39')]-0x1:_0x36fc7d[_0x53e4('0x63')]+0x1,_0x5bc4b5=_0x3c3e9b[0x0]['findAncestor'](_0x53e4('0x25')),_0x42f5f5=_0x300e6e[_0x53e4('0x41')](_0x5bc4b5,{'startRow':_0x1d7502,'endRow':_0x1d7502}),_0x4bfd9a=Array[_0x53e4('0x46')](_0x42f5f5)[_0x53e4('0x7e')](_0x1e662e=>_0x29a88f[_0x53e4('0x29')](_0x1e662e[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x4bfd9a,_0x53e4('0x32'));});});}for(const _0x305485 of['insertTableColumnLeft',_0x53e4('0x4c')]){const _0x399ccc=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x305485);_0xf652d8[_0x53e4('0x31')](_0x305485,_0x523981=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x1cbf09=>{_0x523981();const _0x2fbdd5='left'===_0x399ccc[_0x53e4('0x3d')],_0x1236cf=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x25b666=_0x300e6e[_0x53e4('0x27')](_0x1236cf),_0x4971cc=_0x2fbdd5?_0x25b666['first']-0x1:_0x25b666[_0x53e4('0x63')]+0x1,_0x135104=_0x1236cf[0x0][_0x53e4('0x1c')](_0x53e4('0x25')),_0x4891d9=_0x300e6e['createTableWalker'](_0x135104,{'startRow':0x0,'column':_0x4971cc,'includeAllSlots':!0x1}),_0x5bec24=Array[_0x53e4('0x46')](_0x4891d9)[_0x53e4('0x7e')](_0x521c56=>_0x1cbf09[_0x53e4('0x29')](_0x521c56[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x5bec24,'tableColumn');});});}for(const _0x3e96cf of[_0x53e4('0x2b'),_0x53e4('0x84')]){const _0x4ad436=_0x3e96cf[_0x53e4('0x8')](0xb),_0x482af4=_0x4ad436[_0x53e4('0x4d')](),_0x25d212=_0x482af4[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x4eb39f=_0x53e4('0x25')+_0x4ad436,_0x2566ee=_0x53e4('0x1d')+_0x4ad436,_0x57c8f9='max'+_0x4ad436;_0xf652d8[_0x53e4('0x31')](_0x3e96cf,()=>{_0x49d98e[_0x53e4('0x5a')]['change'](_0x1d0192=>{const _0x10a045=_0x300e6e['getSelectionAffectedTableCells'](_0x4ace4e),_0x144b7b=_0x10a045[0x0][_0x53e4('0x1c')](_0x53e4('0x25'));let _0x58cd40;if(_0x53e4('0x2b')==_0x3e96cf){const _0x56427e=_0x300e6e[_0x53e4('0x4e')](_0x10a045);_0x58cd40={'startRow':_0x56427e[_0x53e4('0x39')],'endRow':_0x56427e[_0x53e4('0x63')],'includeAllSlots':!0x0};}else{const _0xf5fe03=_0x300e6e['getColumnIndexes'](_0x10a045);_0x58cd40={'startColumn':_0xf5fe03[_0x53e4('0x39')],'endColumn':_0xf5fe03[_0x53e4('0x63')],'includeAllSlots':!0x0};}const _0x4b7b2f=_0x300e6e[_0x53e4('0x41')](_0x144b7b,_0x58cd40),_0x1eaba0=Array[_0x53e4('0x46')](_0x4b7b2f)[_0x53e4('0x7e')](({cell:_0x27e35b})=>_0x27e35b),_0x865bb6=ue(_0x1eaba0[_0x53e4('0x3a')](_0x1546ce=>_0x1546ce[_0x53e4('0x53')](_0x25d212))),_0x3d6dbe=ue(_0x1eaba0[_0x53e4('0x3a')](_0x55ec9d=>!_0x55ec9d[_0x53e4('0x53')](_0x25d212)))[_0x53e4('0x7e')](_0x411364=>_0x1d0192[_0x53e4('0x29')](_0x411364)),_0x12a7cd=_0xf652d8['markMultiRangeDeletion'](_0x3d6dbe,_0x4eb39f);if(_0x12a7cd&&(_0x53e4('0x32')==_0x12a7cd['subType']||_0x53e4('0x14')==_0x12a7cd[_0x53e4('0x15')])){const _0x2675d4=this[_0x53e4('0x62')](_0x12a7cd);for(const _0x19b123 of _0x865bb6){const _0xe9653a=_0x1d0192[_0x53e4('0x29')](_0x19b123),_0x28f190=_0x300e6e[_0x53e4('0x76')](_0x19b123),_0x5bd848=_0x19b123['getAttribute'](_0x25d212)-0x1,_0xc03977=_0x2675d4[_0x2566ee],_0x3f5f86=_0x2675d4[_0x57c8f9];_0xc03977<=_0x28f190[_0x482af4]&&_0x28f190[_0x482af4]+_0x5bd848<=_0x3f5f86&&_0x12a7cd['addRange'](_0xe9653a);}}});});}function _0x46e44a(_0x10537e){const _0x159700=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())['map'](_0x2244d9=>_0x1a4382[_0x53e4('0x2a')](_0x2244d9));_0x49d98e['model'][_0x53e4('0x7f')](_0x287c7d=>{const _0x52f27f=_0x287c7d[_0x53e4('0x30')];_0x10537e=_0x10537e[_0x53e4('0x3a')](_0x1b616b=>_0x53e4('0x77')!=_0x1b616b[_0x53e4('0x6d')][_0x53e4('0x3')]),_0x287c7d[_0x53e4('0x2e')](_0x10537e),_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x53e4('0x2b'))[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x49d98e['model'][_0x53e4('0x74')](()=>{_0x49d98e[_0x53e4('0x5a')]['enqueueChange'](_0x52f27f,_0x577662=>{const _0x302a11=_0x159700[_0x53e4('0x3a')](_0x30ce7c=>_0x53e4('0x77')!=_0x30ce7c['root']['rootName']);_0x302a11[_0x53e4('0x2c')]>0x0&&_0x577662[_0x53e4('0x2e')](_0x302a11);for(const _0x3a2ad0 of _0x159700)_0x3a2ad0[_0x53e4('0x68')]();});});});}function _0x77f081(_0x3aaec0){_0x49d98e[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x2b937e=>{const _0x3e14b6=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x3b420b=>_0x1a4382[_0x53e4('0x2a')](_0x3b420b)),_0x23294d=[];for(const _0x1f84f0 of _0x3aaec0)for(const _0xbbb19e of _0x1f84f0[_0x53e4('0x58')]({'shallow':!0x0}))_0x23294d[_0x53e4('0x55')](_0xbbb19e);for(const _0x55de34 of _0x23294d)_0x53e4('0x77')!=_0x55de34[_0x53e4('0x6d')][_0x53e4('0x3')]&&(_0x2b937e[_0x53e4('0x2e')](_0x2b937e[_0x53e4('0x51')](_0x55de34,0x0)),_0x49d98e['commands']['get']('removeTableColumn')[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')](_0x53e4('0x84'),{'forceDefaultExecution':!0x0}));const _0x71bb5e=_0x3e14b6[_0x53e4('0x3a')](_0x138f4a=>_0x53e4('0x77')!=_0x138f4a['root'][_0x53e4('0x3')]);_0x71bb5e[_0x53e4('0x2c')]>0x0&&_0x2b937e[_0x53e4('0x2e')](_0x71bb5e);for(const _0xafe036 of _0x3e14b6)_0xafe036[_0x53e4('0x68')]();});}function _0x52f008(_0x162734,_0x413c70){return _0x413c70[_0x53e4('0x40')](_0x51fa3e=>_0x162734[_0x53e4('0xe')](_0x3a77b2=>_0x3a77b2[_0x53e4('0x42')][_0x53e4('0x43')](_0x51fa3e[_0x53e4('0x49')])||_0x51fa3e['end']['isEqual'](_0x3a77b2[_0x53e4('0x49')])));}function _0x1137b4(_0x4746df,_0xec3545){return _0x4746df['some'](_0xf1a58d=>_0xec3545[_0x53e4('0xe')](_0x3f8611=>_0xf1a58d[_0x53e4('0x42')][_0x53e4('0x64')](_0x3f8611[_0x53e4('0x49')])));}_0x49d98e[_0x53e4('0x3f')][_0x53e4('0x4f')]['on'](_0x53e4('0x4a'),(_0x4fa1be,_0x559789,_0x9f7a4b)=>{if(!_0x9f7a4b[_0x53e4('0x6')][_0x53e4('0x11')])return;const _0x38537e=_0x559789[_0x53e4('0xb')];if(!_0x38537e)return;const _0x2fd7ff=_0x9f7a4b[_0x53e4('0x66')][_0x53e4('0x71')](_0x38537e);function _0x1225d7(_0x43ed68){return Array[_0x53e4('0x6a')](_0x43ed68)?_0x43ed68:[_0x43ed68];}_0x2fd7ff&&_0x53e4('0x6e')===_0x38537e[_0x53e4('0x67')]&&_0x3229fe(_0x2fd7ff,_0x9f7a4b[_0x53e4('0x12')],(_0x404db1,_0x590327,_0x4320e2)=>_0x4320e2[_0x53e4('0x61')](_0x1225d7(_0x590327[_0x53e4('0x3e')]),_0x404db1),(_0x1e06b5,_0x476612,_0x12821b)=>_0x12821b[_0x53e4('0x24')](_0x1225d7(_0x476612[_0x53e4('0x3e')]),_0x1e06b5));},{'priority':'highest'}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x45c3d0=>{if('insertion'!=_0x45c3d0[_0x53e4('0x7d')]&&_0x53e4('0x5e')!=_0x45c3d0[_0x53e4('0x7d')])return;const _0x1c589e=_0x45c3d0[_0x53e4('0x22')]();if(null!=_0x1c589e&&_0x1c589e['is'](_0x53e4('0x59'),_0x53e4('0x25'))){if('insertion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x55a4b3=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x35581f=>_0x35581f['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x21a483=>_0x21a483[_0x53e4('0x3f')]);if(_0x55a4b3['length'])return{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x55a4b3[_0x53e4('0x38')]('\x20')+'\x22'))};}if('deletion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x45244e=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x23a787=>_0x23a787['is']('$textProxy'))['map'](_0x4ab2bb=>_0x4ab2bb[_0x53e4('0x3f')]);if(_0x45244e[_0x53e4('0x2c')])return{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x45244e[_0x53e4('0x38')]('\x20')+'\x22'))};}}}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x499489=>{if(_0x53e4('0x32')==_0x499489['subType']){const _0x4a2cfa=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x373536=>_0x373536['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x370d55=>_0x370d55['data']),_0x21e356=this[_0x53e4('0x62')](_0x499489),_0x2eea77=_0x21e356[_0x53e4('0x83')]-_0x21e356[_0x53e4('0x65')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x19'),_0x2eea77))};if(_0x53e4('0x5e')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,'ELEMENT_TABLE_ROW',_0x2eea77))};}if('tableColumn'==_0x499489[_0x53e4('0x15')]){const _0x1666ec=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x32cb75=>_0x32cb75['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x552045=>_0x552045[_0x53e4('0x3f')]),_0x34babe=this['_getSuggestionCoords'](_0x499489),_0x2b389f=_0x34babe['maxColumn']-_0x34babe[_0x53e4('0x10')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x1666ec[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};if(_0x53e4('0x5e')==_0x499489['type'])return _0x1666ec[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};}}),_0xf652d8['_suggestionFactory'][_0x53e4('0x34')]('insertion',_0x53e4('0x32'),'discard',_0x46e44a),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x32'),_0x53e4('0x4b'),_0x46e44a),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),_0x53e4('0x14'),'discard',_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x4b'),_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),'tableColumn',_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')]('insertion','tableRow',_0x53e4('0x38'),_0x1137b4),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback']('deletion','tableRow','join',_0x1137b4);}['_acceptFormatSuggestionCallbackFactory'](){const _0x203f25=this[_0x53e4('0x78')],_0x2642dd=_0x203f25['model'][_0x53e4('0x3b')][_0x53e4('0x81')];return(_0x42e694,_0x789bfa)=>{_0x203f25[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x1fa11e=>{const {commandName:_0x4016c1,commandParams:_0x4bedc9}=_0x789bfa;let _0x1e7342=_0x42e694[0x0][_0x53e4('0x42')][_0x53e4('0xf')];_0x4bedc9&&_0x4bedc9[0x0]&&!0x1===_0x4bedc9[0x0][_0x53e4('0x0')]&&(_0x1e7342=_0x42e694[0x0][_0x53e4('0x49')][_0x53e4('0x4')]);const _0x2c00d4=_0x1fa11e[_0x53e4('0x23')](_0x1e7342);if(_0x53e4('0x77')==_0x2c00d4[_0x53e4('0x6d')][_0x53e4('0x3')])return;const _0x15d355=Array['from'](_0x2642dd[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x530be2=>_0x1a4382[_0x53e4('0x2a')](_0x530be2));_0x1fa11e[_0x53e4('0x2e')](_0x2c00d4),_0x203f25['commands'][_0x53e4('0x21')](_0x4016c1)[_0x53e4('0x7c')](),_0x4bedc9[_0x53e4('0x55')]({'forceDefaultExecution':!0x0}),_0x203f25[_0x53e4('0x69')](_0x4016c1,..._0x4bedc9);const _0x5e40c1=_0x15d355[_0x53e4('0x3a')](_0x3b1224=>_0x53e4('0x77')!=_0x3b1224['root'][_0x53e4('0x3')]);_0x5e40c1[_0x53e4('0x2c')]>0x0&&_0x1fa11e[_0x53e4('0x2e')](_0x5e40c1);for(const _0x1c352b of _0x15d355)_0x1c352b[_0x53e4('0x68')]();});};}['_getCoordsForCells'](_0x32ec01){const _0x5c12ef=this[_0x53e4('0x78')]['plugins'][_0x53e4('0x21')](_0x53e4('0x45'));let _0x1bcab7=Number[_0x53e4('0xa')],_0x33324a=Number['MIN_SAFE_INTEGER'],_0xac636e=Number[_0x53e4('0xa')],_0x3c57a9=Number[_0x53e4('0x79')];for(const _0x30e569 of _0x32ec01){if(_0x53e4('0x77')==_0x30e569['root']['rootName'])continue;const {row:_0x1b899f,column:_0x352c59}=_0x5c12ef[_0x53e4('0x76')](_0x30e569),_0x3f1eec=_0x30e569[_0x53e4('0x53')](_0x53e4('0xd'))?_0x30e569[_0x53e4('0x33')](_0x53e4('0xd'))-0x1:0x0,_0x5907ea=_0x30e569[_0x53e4('0x53')]('colspan')?_0x30e569[_0x53e4('0x33')](_0x53e4('0x6c'))-0x1:0x0;_0x1bcab7=_0x1b899f<_0x1bcab7?_0x1b899f:_0x1bcab7,_0x33324a=_0x1b899f+_0x3f1eec>_0x33324a?_0x1b899f+_0x3f1eec:_0x33324a,_0xac636e=_0x352c59<_0xac636e?_0x352c59:_0xac636e,_0x3c57a9=_0x352c59+_0x5907ea>_0x3c57a9?_0x352c59+_0x5907ea:_0x3c57a9;}return{'minRow':_0x1bcab7,'maxRow':_0x33324a,'minColumn':_0xac636e,'maxColumn':_0x3c57a9};}[_0x53e4('0x37')](){const _0x26e9f2=this[_0x53e4('0x78')],_0x6f8407=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x54')),_0x4ab9f7=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0x26e9f2[_0x53e4('0x5a')]['document']['on'](_0x53e4('0x3c'),()=>{const _0x43e5f5=Array[_0x53e4('0x46')](_0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')]['differ'][_0x53e4('0x50')]());for(const {name:_0x3ea8e4,data:_0xae03b4}of _0x43e5f5){const {group:_0x146b34,id:_0xfa4af4,subType:_0x34e896}=_0x6f8407[_0x53e4('0x75')](_0x3ea8e4);if('suggestion'!=_0x146b34)continue;if(null!=_0xae03b4[_0x53e4('0x20')])continue;const _0x3e2145=_0x6f8407[_0x53e4('0x5b')](_0xfa4af4);this[_0x53e4('0x36')][_0x53e4('0x82')](_0x34e896)&&this[_0x53e4('0x2')][_0x53e4('0x57')](_0x3e2145);}},{'priority':'low'});const _0x4257fb=(_0x1222c7,_0x5482dd)=>{let _0x59456d=!0x1;const _0x387e92=_0x5482dd['createRangeOn'](_0x1222c7),_0x45037b=_0x1222c7[_0x53e4('0x1c')](_0x53e4('0x25')),_0xec5bc6=_0x4ab9f7[_0x53e4('0x76')](_0x1222c7);for(const _0x4d4f8c of this[_0x53e4('0x2')]){const _0x1f71e9=_0x4d4f8c['subType'],_0x5e63d5=_0x1f71e9[_0x53e4('0x44')](_0x53e4('0x2d')),_0x55b455=_0x1f71e9['substr'](_0x5e63d5?0xa:0x5),_0x37eeeb=_0x55b455['toLowerCase'](),_0x3566f4=_0x37eeeb[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x1327e7='min'+_0x55b455,_0x5f0d8e='max'+_0x55b455;if(!_0x4d4f8c['isInContent'])continue;if(_0x45037b!=_0x4d4f8c[_0x53e4('0x5f')]()['start']['findAncestor'](_0x53e4('0x25')))continue;if(_0x4d4f8c[_0x53e4('0x86')](_0x387e92))continue;const _0x8f5719=_0x1222c7[_0x53e4('0x53')](_0x3566f4)?_0x1222c7[_0x53e4('0x33')](_0x3566f4)-0x1:0x0,_0x2361b2=this[_0x53e4('0x62')](_0x4d4f8c),_0x412cc4=_0x2361b2[_0x1327e7],_0xb3ab1d=_0x2361b2[_0x5f0d8e];_0x412cc4<=_0xec5bc6[_0x37eeeb]&&_0xec5bc6[_0x37eeeb]+_0x8f5719<=_0xb3ab1d&&(_0x4d4f8c[_0x53e4('0x1a')](_0x387e92),_0x59456d=!0x0);}return _0x59456d;};_0x26e9f2[_0x53e4('0x5a')]['document'][_0x53e4('0x47')](_0xc22f86=>{let _0x277e24=!0x1;for(const _0x5f3104 of _0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')][_0x53e4('0x7a')][_0x53e4('0x17')]())if(_0x53e4('0xc')==_0x5f3104[_0x53e4('0x7d')]){if(_0x53e4('0x32')==_0x5f3104[_0x53e4('0x67')])for(const _0x3abab5 of _0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')][_0x53e4('0x1')]())_0x277e24=_0x277e24||_0x4257fb(_0x3abab5,_0xc22f86);else _0x53e4('0x6e')==_0x5f3104['name']&&(_0x277e24=_0x277e24||_0x4257fb(_0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')],_0xc22f86));}return _0x277e24;});}[_0x53e4('0x62')](_0x136273){return this[_0x53e4('0x87')](_0x136273[_0x53e4('0x72')]()[_0x53e4('0x7e')](_0x4c1893=>_0x4c1893[_0x53e4('0x49')][_0x53e4('0x4')]));}}function ue(_0x272f5b){return Array[_0x53e4('0x46')](new Set(_0x272f5b)['values']());}
|
|
23
|
+
const _0x54b1=['getChangedMarkers','_descriptionFactory','from','subType','fromRange','editor','last','removeClass','add','deletion','*Remove:*\x20%0','afterInit','root','isEqual','getAttribute','min','_suggestionFactory','getColumnIndexes','toViewElement','document','showSuggestionHighlights','setSelection','markMultiRangeInsertion','getRanges','model','isInContent','oldRange','getItems','get','ELEMENT_TABLE','map','suggestion','rootName','table','low','forceValue','selectTableRow','length','some','name','maxColumn','order','MIN_SAFE_INTEGER','findAncestor','position','differ','registerPostFixer','end','getContainedElement','createPositionAt','getSelectionAffectedTableCells','insert','createRangeOn','item','ELEMENT_TABLE_ROW_WITH_TEXT','insertTable','insertTableColumnLeft','insertion','data','*Insert:*\x20%0','downcastDispatcher','left','$graveyard','_tableSuggestions','startsWith','selection','type','discard','ELEMENT_TABLE_ROW','addMarker:suggestion','createRangeIn','_splitMarkerName','accept','writer','every','change:data','registerDescriptionCallback','removeTableColumn','toLowerCase','first','ELEMENT_TABLE_COLUMN','rowspan','registerElementLabel','tableColumn','plugins','filter','insertTableRowBelow','tablePaste','classes','execute','substr','TableEditing','ELEMENT_TABLE_WITH_TEXT','start','has','change','above','detach','_setupColumnsRowsFixing','TrackChangesEditing','getRowIndexes','join','refresh','createTableWalker','_tablePostFixingSubtypes','$textProxy','minRow','_getSuggestionCoords','removeTableRow','tableRow','registerCustomCallback','locale','maxRow','minColumn','addClass','enqueueChange','isTouching','TableUtils','MAX_SAFE_INTEGER','hasAttribute','nodeAfter','push','commands','getCellLocation','tableCell','enableCommand','cell','addRange','_getCoordsForCells','_acceptFormatSuggestionCallbackFactory','values','ELEMENT_TABLE_COLUMN_WITH_TEXT','max','selectTableColumn','colspan'];(function(_0x4b4552,_0x54b198){const _0x5a9cb3=function(_0x4ec892){while(--_0x4ec892){_0x4b4552['push'](_0x4b4552['shift']());}};_0x5a9cb3(++_0x54b198);}(_0x54b1,0x1a0));const _0x5a9c=function(_0x4b4552,_0x54b198){_0x4b4552=_0x4b4552-0x0;let _0x5a9cb3=_0x54b1[_0x4b4552];return _0x5a9cb3;};import{Plugin as _0x1f72fd}from'ckeditor5/src/core.js';import{LiveRange as _0x122ea2}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x8cdfd0}from'ckeditor5/src/widget.js';import{getTranslation as _0xb1b1e7}from'../utils/common-translations.js';export default class yt extends _0x1f72fd{constructor(_0x47609f){super(_0x47609f),this[_0x5a9c('0x5d')]=[_0x5a9c('0x62'),'tableColumn'],this['_tableSuggestions']=new Set();}[_0x5a9c('0x0')](){const _0x28b99e=this[_0x5a9c('0x81')],_0xca4b01=_0x28b99e[_0x5a9c('0xd')][_0x5a9c('0x8')][_0x5a9c('0x36')];if(!_0x28b99e['plugins'][_0x5a9c('0x53')](_0x5a9c('0x50')))return;const _0xb278aa=_0x28b99e[_0x5a9c('0x64')],_0x5dee71=_0x28b99e[_0x5a9c('0x49')][_0x5a9c('0x11')](_0x5a9c('0x58')),_0xa8ac2e=_0x28b99e[_0x5a9c('0x49')][_0x5a9c('0x11')](_0x5a9c('0x6a'));_0x5dee71[_0x5a9c('0x7d')][_0x5a9c('0x47')](_0x5a9c('0x16'),_0x4a5c3d=>_0xb1b1e7(_0xb278aa,_0x5a9c('0x12'),_0x4a5c3d)),this[_0x5a9c('0x57')](),_0x5dee71[_0x5a9c('0x72')](_0x5a9c('0x2c')),_0x5dee71[_0x5a9c('0x72')](_0x5a9c('0x19')),_0x5dee71['enableCommand'](_0x5a9c('0x7a'));for(const _0x47e31f of['insertTableRowAbove',_0x5a9c('0x4b')]){const _0x5493f9=_0x28b99e[_0x5a9c('0x6f')][_0x5a9c('0x11')](_0x47e31f);_0x5dee71[_0x5a9c('0x72')](_0x47e31f,_0x2c0551=>{_0x28b99e[_0x5a9c('0xd')][_0x5a9c('0x54')](_0x353dcc=>{_0x2c0551();const _0xc17d6=_0x5a9c('0x55')===_0x5493f9[_0x5a9c('0x1e')],_0x231789=_0xa8ac2e[_0x5a9c('0x27')](_0xca4b01),_0x7571da=_0xa8ac2e[_0x5a9c('0x59')](_0x231789),_0x5025a5=_0xc17d6?_0x7571da['first']-0x1:_0x7571da['last']+0x1,_0x25197b=_0x231789[0x0][_0x5a9c('0x20')](_0x5a9c('0x16')),_0x56a47b=_0xa8ac2e['createTableWalker'](_0x25197b,{'startRow':_0x5025a5,'endRow':_0x5025a5}),_0xc78c51=Array[_0x5a9c('0x7e')](_0x56a47b)[_0x5a9c('0x13')](_0x29bddb=>_0x353dcc[_0x5a9c('0x29')](_0x29bddb[_0x5a9c('0x73')]));_0x5dee71[_0x5a9c('0xb')](_0xc78c51,_0x5a9c('0x62'));});});}for(const _0x438557 of[_0x5a9c('0x2d'),'insertTableColumnRight']){const _0xce282a=_0x28b99e[_0x5a9c('0x6f')][_0x5a9c('0x11')](_0x438557);_0x5dee71['enableCommand'](_0x438557,_0x30b26c=>{_0x28b99e[_0x5a9c('0xd')][_0x5a9c('0x54')](_0x53d40e=>{_0x30b26c();const _0x3cb9b9=_0x5a9c('0x32')===_0xce282a['order'],_0x25347c=_0xa8ac2e[_0x5a9c('0x27')](_0xca4b01),_0x4d8d0d=_0xa8ac2e['getColumnIndexes'](_0x25347c),_0x5a3049=_0x3cb9b9?_0x4d8d0d[_0x5a9c('0x44')]-0x1:_0x4d8d0d[_0x5a9c('0x82')]+0x1,_0x204f3e=_0x25347c[0x0]['findAncestor']('table'),_0x162567=_0xa8ac2e[_0x5a9c('0x5c')](_0x204f3e,{'startRow':0x0,'column':_0x5a3049,'includeAllSlots':!0x1}),_0x23d40d=Array[_0x5a9c('0x7e')](_0x162567)[_0x5a9c('0x13')](_0x25b7c6=>_0x53d40e[_0x5a9c('0x29')](_0x25b7c6['cell']));_0x5dee71[_0x5a9c('0xb')](_0x23d40d,_0x5a9c('0x48'));});});}for(const _0x1a9ebf of[_0x5a9c('0x61'),_0x5a9c('0x42')]){const _0x6ffd8f=_0x1a9ebf['substr'](0xb),_0x426735=_0x6ffd8f[_0x5a9c('0x43')](),_0x47a9ba=_0x426735[_0x5a9c('0x4f')](0x0,0x3)+'span',_0x4afe35=_0x5a9c('0x16')+_0x6ffd8f,_0x3543ba=_0x5a9c('0x4')+_0x6ffd8f,_0x467308='max'+_0x6ffd8f;_0x5dee71[_0x5a9c('0x72')](_0x1a9ebf,()=>{_0x28b99e[_0x5a9c('0xd')][_0x5a9c('0x54')](_0x5ed798=>{const _0x2e860b=_0xa8ac2e[_0x5a9c('0x27')](_0xca4b01),_0x1458c2=_0x2e860b[0x0]['findAncestor'](_0x5a9c('0x16'));let _0xa14070;if('removeTableRow'==_0x1a9ebf){const _0x267918=_0xa8ac2e['getRowIndexes'](_0x2e860b);_0xa14070={'startRow':_0x267918['first'],'endRow':_0x267918[_0x5a9c('0x82')],'includeAllSlots':!0x0};}else{const _0x2926cd=_0xa8ac2e[_0x5a9c('0x6')](_0x2e860b);_0xa14070={'startColumn':_0x2926cd[_0x5a9c('0x44')],'endColumn':_0x2926cd[_0x5a9c('0x82')],'includeAllSlots':!0x0};}const _0x237c55=_0xa8ac2e['createTableWalker'](_0x1458c2,_0xa14070),_0x272409=Array[_0x5a9c('0x7e')](_0x237c55)[_0x5a9c('0x13')](({cell:_0x1b13bc})=>_0x1b13bc),_0x36f713=ue(_0x272409[_0x5a9c('0x4a')](_0x25851d=>_0x25851d[_0x5a9c('0x6c')](_0x47a9ba))),_0x5ac4b2=ue(_0x272409[_0x5a9c('0x4a')](_0x564198=>!_0x564198[_0x5a9c('0x6c')](_0x47a9ba)))['map'](_0x24caf4=>_0x5ed798['createRangeOn'](_0x24caf4)),_0x3f0209=_0x5dee71['markMultiRangeDeletion'](_0x5ac4b2,_0x4afe35);if(_0x3f0209&&(_0x5a9c('0x62')==_0x3f0209['subType']||_0x5a9c('0x48')==_0x3f0209[_0x5a9c('0x7f')])){const _0x1e6afa=this[_0x5a9c('0x60')](_0x3f0209);for(const _0x39286c of _0x36f713){const _0x3bfaf4=_0x5ed798[_0x5a9c('0x29')](_0x39286c),_0x5abc91=_0xa8ac2e[_0x5a9c('0x70')](_0x39286c),_0x249259=_0x39286c['getAttribute'](_0x47a9ba)-0x1,_0x80bb61=_0x1e6afa[_0x3543ba],_0x2b40cb=_0x1e6afa[_0x467308];_0x80bb61<=_0x5abc91[_0x426735]&&_0x5abc91[_0x426735]+_0x249259<=_0x2b40cb&&_0x3f0209[_0x5a9c('0x74')](_0x3bfaf4);}}});});}function _0x5429df(_0x2a1d3b){const _0x39060b=Array['from'](_0xca4b01[_0x5a9c('0xc')]())[_0x5a9c('0x13')](_0x662b64=>_0x122ea2[_0x5a9c('0x80')](_0x662b64));_0x28b99e['model'][_0x5a9c('0x54')](_0x206b48=>{const _0x4cf4cc=_0x206b48['batch'];_0x2a1d3b=_0x2a1d3b[_0x5a9c('0x4a')](_0x16e443=>_0x5a9c('0x33')!=_0x16e443[_0x5a9c('0x1')][_0x5a9c('0x15')]),_0x206b48[_0x5a9c('0xa')](_0x2a1d3b),_0x28b99e['commands'][_0x5a9c('0x11')](_0x5a9c('0x61'))['refresh'](),_0x28b99e['execute'](_0x5a9c('0x61'),{'forceDefaultExecution':!0x0}),_0x28b99e[_0x5a9c('0xd')][_0x5a9c('0x68')](()=>{_0x28b99e['model']['enqueueChange'](_0x4cf4cc,_0x19a39c=>{const _0x5d267f=_0x39060b['filter'](_0x5825ea=>_0x5a9c('0x33')!=_0x5825ea['root'][_0x5a9c('0x15')]);_0x5d267f[_0x5a9c('0x1a')]>0x0&&_0x19a39c[_0x5a9c('0xa')](_0x5d267f);for(const _0x3da650 of _0x39060b)_0x3da650[_0x5a9c('0x56')]();});});});}function _0x55498f(_0x28d337){_0x28b99e[_0x5a9c('0xd')]['change'](_0x3864ac=>{const _0x2dae9c=Array[_0x5a9c('0x7e')](_0xca4b01[_0x5a9c('0xc')]())[_0x5a9c('0x13')](_0x417c90=>_0x122ea2[_0x5a9c('0x80')](_0x417c90)),_0x5694e9=[];for(const _0xb57765 of _0x28d337)for(const _0x1b977a of _0xb57765[_0x5a9c('0x10')]({'shallow':!0x0}))_0x5694e9[_0x5a9c('0x6e')](_0x1b977a);for(const _0x5742b4 of _0x5694e9)_0x5a9c('0x33')!=_0x5742b4[_0x5a9c('0x1')][_0x5a9c('0x15')]&&(_0x3864ac['setSelection'](_0x3864ac[_0x5a9c('0x26')](_0x5742b4,0x0)),_0x28b99e['commands']['get'](_0x5a9c('0x42'))[_0x5a9c('0x5b')](),_0x28b99e[_0x5a9c('0x4e')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x3e3363=_0x2dae9c['filter'](_0x45c8d3=>_0x5a9c('0x33')!=_0x45c8d3[_0x5a9c('0x1')][_0x5a9c('0x15')]);_0x3e3363['length']>0x0&&_0x3864ac[_0x5a9c('0xa')](_0x3e3363);for(const _0x5a7b3c of _0x2dae9c)_0x5a7b3c[_0x5a9c('0x56')]();});}function _0x7d237e(_0x181541,_0x343c51){return _0x343c51[_0x5a9c('0x3f')](_0x50da3b=>_0x181541[_0x5a9c('0x1b')](_0x1e96aa=>_0x1e96aa[_0x5a9c('0x24')][_0x5a9c('0x2')](_0x50da3b[_0x5a9c('0x52')])||_0x50da3b[_0x5a9c('0x24')][_0x5a9c('0x2')](_0x1e96aa[_0x5a9c('0x52')])));}function _0xd3e33a(_0x3b5a91,_0x475e8d){return _0x3b5a91['some'](_0x440dd0=>_0x475e8d['some'](_0x4af6f1=>_0x440dd0[_0x5a9c('0x24')][_0x5a9c('0x69')](_0x4af6f1['start'])));}_0x28b99e[_0x5a9c('0x2f')][_0x5a9c('0x31')]['on'](_0x5a9c('0x3a'),(_0x53adf0,_0x977cdd,_0x44ec82)=>{if(!_0x44ec82['options'][_0x5a9c('0x9')])return;const _0x5d0872=_0x977cdd[_0x5a9c('0x2a')];if(!_0x5d0872)return;const _0x8bd4aa=_0x44ec82['mapper'][_0x5a9c('0x7')](_0x5d0872);function _0x2eaefc(_0x4c1e3a){return Array['isArray'](_0x4c1e3a)?_0x4c1e3a:[_0x4c1e3a];}_0x8bd4aa&&'tableCell'===_0x5d0872[_0x5a9c('0x1c')]&&_0x8cdfd0(_0x8bd4aa,_0x44ec82[_0x5a9c('0x3e')],(_0xcd6438,_0x300f1b,_0x3b1632)=>_0x3b1632[_0x5a9c('0x67')](_0x2eaefc(_0x300f1b[_0x5a9c('0x4d')]),_0xcd6438),(_0x411168,_0x198a74,_0x410ee5)=>_0x410ee5[_0x5a9c('0x83')](_0x2eaefc(_0x198a74[_0x5a9c('0x4d')]),_0x411168));},{'priority':'highest'}),_0x5dee71['_descriptionFactory']['registerDescriptionCallback'](_0x14b067=>{if(_0x5a9c('0x2e')!=_0x14b067['type']&&_0x5a9c('0x85')!=_0x14b067[_0x5a9c('0x37')])return;const _0x3529fa=_0x14b067[_0x5a9c('0x25')]();if(null!=_0x3529fa&&_0x3529fa['is']('element',_0x5a9c('0x16'))){if('insertion'==_0x14b067[_0x5a9c('0x37')]){const _0x5d1da6=_0x14b067[_0x5a9c('0x10')]()[_0x5a9c('0x4a')](_0x42c893=>_0x42c893['is'](_0x5a9c('0x5e')))[_0x5a9c('0x13')](_0x3f3c5a=>_0x3f3c5a[_0x5a9c('0x2f')]);if(_0x5d1da6[_0x5a9c('0x1a')])return{'type':_0x5a9c('0x2e'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x30'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x51'),'\x22'+_0x5d1da6[_0x5a9c('0x5a')]('\x20')+'\x22'))};}if('deletion'==_0x14b067[_0x5a9c('0x37')]){const _0x1e5736=_0x14b067[_0x5a9c('0x10')]()[_0x5a9c('0x4a')](_0xa8f76f=>_0xa8f76f['is'](_0x5a9c('0x5e')))[_0x5a9c('0x13')](_0x2423a2=>_0x2423a2[_0x5a9c('0x2f')]);if(_0x1e5736[_0x5a9c('0x1a')])return{'type':_0x5a9c('0x85'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x86'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x51'),'\x22'+_0x1e5736[_0x5a9c('0x5a')]('\x20')+'\x22'))};}}}),_0x5dee71[_0x5a9c('0x7d')][_0x5a9c('0x41')](_0x9e12db=>{if(_0x5a9c('0x62')==_0x9e12db['subType']){const _0xae39a6=_0x9e12db[_0x5a9c('0x10')]()[_0x5a9c('0x4a')](_0x1c34b0=>_0x1c34b0['is'](_0x5a9c('0x5e')))[_0x5a9c('0x13')](_0x286c1f=>_0x286c1f['data']),_0x5b07ba=this['_getSuggestionCoords'](_0x9e12db),_0x1206bf=_0x5b07ba[_0x5a9c('0x65')]-_0x5b07ba[_0x5a9c('0x5f')]+0x1;if(_0x5a9c('0x2e')==_0x9e12db[_0x5a9c('0x37')])return _0xae39a6['length']?{'type':_0x5a9c('0x2e'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x30'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x2b'),[_0x1206bf,'\x22'+_0xae39a6[_0x5a9c('0x5a')]('\x20')+'\x22']))}:{'type':_0x5a9c('0x2e'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x30'),_0xb1b1e7(_0xb278aa,'ELEMENT_TABLE_ROW',_0x1206bf))};if(_0x5a9c('0x85')==_0x9e12db[_0x5a9c('0x37')])return _0xae39a6[_0x5a9c('0x1a')]?{'type':_0x5a9c('0x85'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x86'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x2b'),[_0x1206bf,'\x22'+_0xae39a6[_0x5a9c('0x5a')]('\x20')+'\x22']))}:{'type':'deletion','content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x86'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x39'),_0x1206bf))};}if(_0x5a9c('0x48')==_0x9e12db[_0x5a9c('0x7f')]){const _0x21a076=_0x9e12db['getItems']()['filter'](_0x573504=>_0x573504['is'](_0x5a9c('0x5e')))[_0x5a9c('0x13')](_0x545202=>_0x545202['data']),_0x1d357c=this[_0x5a9c('0x60')](_0x9e12db),_0xc94812=_0x1d357c[_0x5a9c('0x1d')]-_0x1d357c[_0x5a9c('0x66')]+0x1;if(_0x5a9c('0x2e')==_0x9e12db[_0x5a9c('0x37')])return _0x21a076[_0x5a9c('0x1a')]?{'type':_0x5a9c('0x2e'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x30'),_0xb1b1e7(_0xb278aa,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xc94812,'\x22'+_0x21a076[_0x5a9c('0x5a')]('\x20')+'\x22']))}:{'type':_0x5a9c('0x2e'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x30'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x45'),_0xc94812))};if('deletion'==_0x9e12db[_0x5a9c('0x37')])return _0x21a076[_0x5a9c('0x1a')]?{'type':_0x5a9c('0x85'),'content':_0xb1b1e7(_0xb278aa,_0x5a9c('0x86'),_0xb1b1e7(_0xb278aa,_0x5a9c('0x78'),[_0xc94812,'\x22'+_0x21a076[_0x5a9c('0x5a')]('\x20')+'\x22']))}:{'type':_0x5a9c('0x85'),'content':_0xb1b1e7(_0xb278aa,'*Remove:*\x20%0',_0xb1b1e7(_0xb278aa,_0x5a9c('0x45'),_0xc94812))};}}),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')](_0x5a9c('0x2e'),_0x5a9c('0x62'),'discard',_0x5429df),_0x5dee71['_suggestionFactory'][_0x5a9c('0x63')]('deletion',_0x5a9c('0x62'),_0x5a9c('0x3d'),_0x5429df),_0x5dee71[_0x5a9c('0x5')]['registerCustomCallback'](_0x5a9c('0x2e'),_0x5a9c('0x48'),_0x5a9c('0x38'),_0x55498f),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')](_0x5a9c('0x85'),_0x5a9c('0x48'),_0x5a9c('0x3d'),_0x55498f),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')]('insertion',_0x5a9c('0x48'),'join',_0x7d237e),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')](_0x5a9c('0x85'),_0x5a9c('0x48'),_0x5a9c('0x5a'),_0x7d237e),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')](_0x5a9c('0x2e'),'tableRow',_0x5a9c('0x5a'),_0xd3e33a),_0x5dee71[_0x5a9c('0x5')][_0x5a9c('0x63')](_0x5a9c('0x85'),_0x5a9c('0x62'),_0x5a9c('0x5a'),_0xd3e33a);}[_0x5a9c('0x76')](){const _0x2d6fd9=this['editor'],_0x1a9b37=_0x2d6fd9[_0x5a9c('0xd')][_0x5a9c('0x8')][_0x5a9c('0x36')];return(_0x317932,_0x5e694f)=>{_0x2d6fd9[_0x5a9c('0xd')][_0x5a9c('0x54')](_0x1aaa82=>{const {commandName:_0xc5f29,commandParams:_0x408b26}=_0x5e694f;let _0x52c5ba=_0x317932[0x0][_0x5a9c('0x24')]['nodeBefore'];_0x408b26&&_0x408b26[0x0]&&!0x1===_0x408b26[0x0][_0x5a9c('0x18')]&&(_0x52c5ba=_0x317932[0x0][_0x5a9c('0x52')][_0x5a9c('0x6d')]);const _0xe8294d=_0x1aaa82[_0x5a9c('0x3b')](_0x52c5ba);if(_0x5a9c('0x33')==_0xe8294d['root'][_0x5a9c('0x15')])return;const _0x417f06=Array['from'](_0x1a9b37[_0x5a9c('0xc')]())['map'](_0x9bc43c=>_0x122ea2['fromRange'](_0x9bc43c));_0x1aaa82[_0x5a9c('0xa')](_0xe8294d),_0x2d6fd9[_0x5a9c('0x6f')][_0x5a9c('0x11')](_0xc5f29)[_0x5a9c('0x5b')](),_0x408b26['push']({'forceDefaultExecution':!0x0}),_0x2d6fd9[_0x5a9c('0x4e')](_0xc5f29,..._0x408b26);const _0x1db4f7=_0x417f06[_0x5a9c('0x4a')](_0x334a9d=>'$graveyard'!=_0x334a9d[_0x5a9c('0x1')][_0x5a9c('0x15')]);_0x1db4f7[_0x5a9c('0x1a')]>0x0&&_0x1aaa82['setSelection'](_0x1db4f7);for(const _0x111ced of _0x417f06)_0x111ced['detach']();});};}[_0x5a9c('0x75')](_0xeae858){const _0x43fd1f=this['editor'][_0x5a9c('0x49')][_0x5a9c('0x11')](_0x5a9c('0x6a'));let _0x1d1c87=Number[_0x5a9c('0x6b')],_0x3856fd=Number[_0x5a9c('0x1f')],_0x182e16=Number['MAX_SAFE_INTEGER'],_0x4e5a11=Number['MIN_SAFE_INTEGER'];for(const _0x33763c of _0xeae858){if(_0x5a9c('0x33')==_0x33763c[_0x5a9c('0x1')][_0x5a9c('0x15')])continue;const {row:_0x2351bb,column:_0x39894f}=_0x43fd1f['getCellLocation'](_0x33763c),_0x4928bc=_0x33763c[_0x5a9c('0x6c')](_0x5a9c('0x46'))?_0x33763c[_0x5a9c('0x3')](_0x5a9c('0x46'))-0x1:0x0,_0x463d2a=_0x33763c['hasAttribute']('colspan')?_0x33763c['getAttribute'](_0x5a9c('0x7b'))-0x1:0x0;_0x1d1c87=_0x2351bb<_0x1d1c87?_0x2351bb:_0x1d1c87,_0x3856fd=_0x2351bb+_0x4928bc>_0x3856fd?_0x2351bb+_0x4928bc:_0x3856fd,_0x182e16=_0x39894f<_0x182e16?_0x39894f:_0x182e16,_0x4e5a11=_0x39894f+_0x463d2a>_0x4e5a11?_0x39894f+_0x463d2a:_0x4e5a11;}return{'minRow':_0x1d1c87,'maxRow':_0x3856fd,'minColumn':_0x182e16,'maxColumn':_0x4e5a11};}[_0x5a9c('0x57')](){const _0x5cbfe2=this[_0x5a9c('0x81')],_0x359731=_0x5cbfe2[_0x5a9c('0x49')][_0x5a9c('0x11')](_0x5a9c('0x58')),_0x322245=_0x5cbfe2[_0x5a9c('0x49')][_0x5a9c('0x11')](_0x5a9c('0x6a'));_0x5cbfe2[_0x5a9c('0xd')][_0x5a9c('0x8')]['on'](_0x5a9c('0x40'),()=>{const _0x2d449e=Array[_0x5a9c('0x7e')](_0x5cbfe2[_0x5a9c('0xd')][_0x5a9c('0x8')][_0x5a9c('0x22')][_0x5a9c('0x7c')]());for(const {name:_0x3c91e4,data:_0x306749}of _0x2d449e){const {group:_0x19f256,id:_0x42a68a,subType:_0x136452}=_0x359731[_0x5a9c('0x3c')](_0x3c91e4);if(_0x5a9c('0x14')!=_0x19f256)continue;if(null!=_0x306749[_0x5a9c('0xf')])continue;const _0xc9394=_0x359731['getSuggestion'](_0x42a68a);this['_tablePostFixingSubtypes']['includes'](_0x136452)&&this[_0x5a9c('0x34')][_0x5a9c('0x84')](_0xc9394);}},{'priority':_0x5a9c('0x17')});const _0x4027b6=(_0xf7af40,_0x4956ac)=>{let _0x239ca0=!0x1;const _0x55f832=_0x4956ac['createRangeOn'](_0xf7af40),_0x24b357=_0xf7af40[_0x5a9c('0x20')]('table'),_0x531c48=_0x322245[_0x5a9c('0x70')](_0xf7af40);for(const _0x14c78f of this[_0x5a9c('0x34')]){const _0x29335a=_0x14c78f[_0x5a9c('0x7f')],_0x1107b3=_0x29335a[_0x5a9c('0x35')](_0x5a9c('0x4c')),_0x303416=_0x29335a[_0x5a9c('0x4f')](_0x1107b3?0xa:0x5),_0x3b0ed7=_0x303416['toLowerCase'](),_0x52ace8=_0x3b0ed7['substr'](0x0,0x3)+'span',_0x325c03='min'+_0x303416,_0x597ee2=_0x5a9c('0x79')+_0x303416;if(!_0x14c78f[_0x5a9c('0xe')])continue;if(_0x24b357!=_0x14c78f['getFirstRange']()[_0x5a9c('0x52')][_0x5a9c('0x20')](_0x5a9c('0x16')))continue;if(_0x14c78f['isIntersectingWithRange'](_0x55f832))continue;const _0x4702ef=_0xf7af40[_0x5a9c('0x6c')](_0x52ace8)?_0xf7af40[_0x5a9c('0x3')](_0x52ace8)-0x1:0x0,_0x436315=this[_0x5a9c('0x60')](_0x14c78f),_0x2c4fe7=_0x436315[_0x325c03],_0x4d5b22=_0x436315[_0x597ee2];_0x2c4fe7<=_0x531c48[_0x3b0ed7]&&_0x531c48[_0x3b0ed7]+_0x4702ef<=_0x4d5b22&&(_0x14c78f['addRange'](_0x55f832),_0x239ca0=!0x0);}return _0x239ca0;};_0x5cbfe2[_0x5a9c('0xd')][_0x5a9c('0x8')][_0x5a9c('0x23')](_0x39cb2e=>{let _0x2aee91=!0x1;for(const _0x48866e of _0x5cbfe2[_0x5a9c('0xd')]['document'][_0x5a9c('0x22')]['getChanges']())if(_0x5a9c('0x28')==_0x48866e['type']){if(_0x5a9c('0x62')==_0x48866e['name'])for(const _0x5cb4dc of _0x48866e['position'][_0x5a9c('0x6d')]['getChildren']())_0x2aee91=_0x2aee91||_0x4027b6(_0x5cb4dc,_0x39cb2e);else _0x5a9c('0x71')==_0x48866e['name']&&(_0x2aee91=_0x2aee91||_0x4027b6(_0x48866e[_0x5a9c('0x21')][_0x5a9c('0x6d')],_0x39cb2e));}return _0x2aee91;});}[_0x5a9c('0x60')](_0x534f9a){return this[_0x5a9c('0x75')](_0x534f9a['getRanges']()['map'](_0x26a239=>_0x26a239['start'][_0x5a9c('0x6d')]));}}function ue(_0x483574){return Array['from'](new Set(_0x483574)[_0x5a9c('0x77')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3761=['afterInit','enableCommand','get','plugins','TableCaptionEditing','toggleTableCaption','editor','TrackChangesEditing'];(function(_0x44ea7e,_0x37618f){const _0x2e3eba=function(_0x44cba2){while(--_0x44cba2){_0x44ea7e['push'](_0x44ea7e['shift']());}};_0x2e3eba(++_0x37618f);}(_0x3761,0x185));const _0x2e3e=function(_0x44ea7e,_0x37618f){_0x44ea7e=_0x44ea7e-0x0;let _0x2e3eba=_0x3761[_0x44ea7e];return _0x2e3eba;};import{Plugin as _0x2935c1}from'ckeditor5/src/core.js';import _0x304639 from'./table.js';export default class Nt extends _0x2935c1{static get['requires'](){return[_0x304639];}[_0x2e3e('0x3')](){const _0x152eba=this[_0x2e3e('0x1')];if(!_0x152eba[_0x2e3e('0x6')]['has'](_0x2e3e('0x7')))return;_0x152eba[_0x2e3e('0x6')][_0x2e3e('0x5')](_0x2e3e('0x2'))[_0x2e3e('0x4')](_0x2e3e('0x0'));}}
|