@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240130.0 → 0.0.0-nightly-20240201.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/build/translations/ro.js +1 -1
- package/lang/translations/ro.po +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/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37c1=['_registerLegacyDescription','has','locale','unlink','attribute','map','plugins','_descriptionFactory','link\x20(','label','format','toLowerCase','_enableDefaultAttributesIntegration','manualDecorators','TrackChangesEditing','get','*Remove\x20link*','linkHref','type','editor','link','*Set\x20link:*\x20%0','commandName','registerDescriptionCallback','afterInit'];(function(_0x4aef9d,_0x37c196){const _0x54b797=function(_0x1a36d0){while(--_0x1a36d0){_0x4aef9d['push'](_0x4aef9d['shift']());}};_0x54b797(++_0x37c196);}(_0x37c1,0x19f));const _0x54b7=function(_0x4aef9d,_0x37c196){_0x4aef9d=_0x4aef9d-0x0;let _0x54b797=_0x37c1[_0x4aef9d];return _0x54b797;};import{Plugin as _0x1b4a9c}from'ckeditor5/src/core.js';import{getTranslation as _0x46a542}from'../utils/common-translations.js';export default class ct extends _0x1b4a9c{[_0x54b7('0x9')](){const _0x4af769=this[_0x54b7('0x4')];if(!_0x4af769[_0x54b7('0x10')][_0x54b7('0xb')]('LinkEditing'))return;const _0x2fed96=_0x4af769['plugins'][_0x54b7('0x0')](_0x54b7('0x18')),_0x52a068=_0x4af769['commands'][_0x54b7('0x0')]('link');_0x2fed96[_0x54b7('0x16')](_0x54b7('0x5'),[_0x54b7('0x2'),..._0x52a068[_0x54b7('0x17')][_0x54b7('0xf')](_0x392e78=>_0x392e78['id'])]),_0x2fed96['_enableDefaultAttributesIntegration']('unlink');for(const _0x15c10d of _0x52a068[_0x54b7('0x17')])_0x2fed96[_0x54b7('0x11')]['registerAttributeLabel'](_0x15c10d['id'],_0x54b7('0x12')+_0x15c10d[_0x54b7('0x13')][_0x54b7('0x15')]()+')');_0x2fed96[_0x54b7('0x11')]['registerDescriptionCallback'](_0x136908=>{if(_0x54b7('0xe')!=_0x136908[_0x54b7('0x3')])return;const {data:_0x5de82b}=_0x136908;if(!_0x5de82b||_0x54b7('0x2')!=_0x5de82b['key'])return;const _0x35ed02=_0x5de82b['newValue'],_0x403616=_0x4af769[_0x54b7('0xc')];return{'type':_0x54b7('0x14'),'content':null==_0x35ed02?_0x46a542(_0x403616,_0x54b7('0x1')):_0x46a542(_0x403616,_0x54b7('0x6'),'\x22'+_0x35ed02+'\x22')};}),this[_0x54b7('0xa')]();}[_0x54b7('0xa')](){const _0x4e7de5=this[_0x54b7('0x4')],_0x30f9f4=_0x4e7de5['locale'];_0x4e7de5[_0x54b7('0x10')][_0x54b7('0x0')](_0x54b7('0x18'))[_0x54b7('0x11')][_0x54b7('0x8')](_0x515320=>{if('formatInline'!=_0x515320[_0x54b7('0x3')])return;const {data:_0x8c2080}=_0x515320;if(_0x8c2080){if('link'==_0x8c2080['commandName']){const _0x4fbc21=_0x8c2080['commandParams'][0x0];return{'type':_0x54b7('0x14'),'content':_0x46a542(_0x30f9f4,'*Set\x20link:*\x20%0','\x22'+_0x4fbc21+'\x22')};}return _0x54b7('0xd')==_0x8c2080[_0x54b7('0x7')]?{'type':'format','content':_0x46a542(_0x30f9f4,_0x54b7('0x1'))}:void 0x0;}});}}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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;}
|
|
23
|
+
const _0x34da=['value','TrackChangesEditing','commandParams','plugins','suggestion','_descriptionFactory','ELEMENT_TODO_LIST','forceValue','toUpperCase','filter','has','config','multipleBlocks','oldValue','TodoListEditing','splitListItemAfter','commands','getSuggestions','list.multiBlock','getRanges','listType','start','ELEMENT_LIST_ITEM','key','schema','todo','*Outdent:*\x20%0','registerPostFixer','isUndo','listStyle','FORMAT_INDENT','getFirstRange','assureChains','indentList','length','*Split:*\x20list\x20item','_getAttributeKey','listIndent','setSelection','todoList','type','isLocal','previousSibling','listReversed','locale','getChanges','find','range','model','listStart','listItemId','_findSuggestions','format','mergeListItemBackward','*Set\x20format:*\x20%0','detach','ELEMENT_','outdentList','*Indent:*\x20%0','newValue','todoListCheck','documentList','nodeAfter','_registerLegacyDescription','registerAttributeLabel','attribute','*Format:*\x20insert\x20into\x20%0','ELEMENT_BULLETED_LIST','registerElementLabel','*Merge:*\x20list\x20item','batch','setAttribute','*Format:*\x20remove\x20from\x20%0','getFirstMarker','registerDescriptionCallback','trackChangesCommand','todoListChecked','execute','differ','attributes','*Merge:*\x20%0','push','next','get','map','document','editor','head','removeMarker','commandName','containsItem','parent','noTrackChangesFixer','*Check\x20item*','_suggestionFactory','*Remove\x20format:*\x20%0','nextSibling','registerCustomCallback','ELEMENT_NUMBERED_LIST','_supportLegacySuggestions','getAttribute','bulletedList','formatBlock','bulleted','mergeListItemForward','end','_enableDefaultAttributesIntegration','every','afterInit','from','numbered','numberedList','deletion','isNextTo','data','groupId','includes','_LIST','isObject'];(function(_0x4ed9c0,_0x34daa0){const _0x300315=function(_0xd8a96e){while(--_0xd8a96e){_0x4ed9c0['push'](_0x4ed9c0['shift']());}};_0x300315(++_0x34daa0);}(_0x34da,0x1af));const _0x3003=function(_0x4ed9c0,_0x34daa0){_0x4ed9c0=_0x4ed9c0-0x0;let _0x300315=_0x34da[_0x4ed9c0];return _0x300315;};import{Plugin as _0x59ab75}from'ckeditor5/src/core.js';import{getTranslation as _0x13ce04}from'../utils/common-translations.js';import{renameAttributeKey as _0x4042a3}from'../trackchangesediting.js';import{LiveRange as _0x2c6335}from'ckeditor5/src/engine.js';export default class z extends _0x59ab75{[_0x3003('0x22')](){const _0x3381da=this[_0x3003('0xc')];if(!_0x3381da[_0x3003('0x30')][_0x3003('0x37')]('ListEditing'))return;const _0x5578a5=_0x3381da[_0x3003('0x59')],_0x291d10=_0x3381da[_0x3003('0x30')][_0x3003('0x9')](_0x3003('0x2e')),_0x196c27=_0x3381da[_0x3003('0x30')][_0x3003('0x37')](_0x3003('0x3b')),_0x530dfd=!!_0x3381da['config'][_0x3003('0x9')](_0x3003('0x3f'));function _0x2fb18d(_0x5c0fb7){return{'type':_0x3003('0x61'),'content':''+_0x13ce04(_0x5578a5,_0x3003('0x63'),_0x5c0fb7)};}function _0x3bc322(_0x1f5eb0){return{'type':_0x3003('0x61'),'content':''+_0x13ce04(_0x5578a5,_0x3003('0x15'),_0x1f5eb0)};}_0x291d10[_0x3003('0x20')]('numberedList',[],[_0x3003('0x5f'),_0x3003('0x41'),_0x3003('0x52')]),_0x291d10[_0x3003('0x20')]('bulletedList'),_0x291d10[_0x3003('0x20')](_0x3003('0x4e')),_0x291d10[_0x3003('0x20')](_0x3003('0x66')),_0x291d10['_enableDefaultAttributesIntegration'](_0x3003('0x3c')),_0x291d10[_0x3003('0x20')]('splitListItemBefore'),_0x530dfd&&(_0x291d10[_0x3003('0x20')](_0x3003('0x62')),_0x291d10['_enableDefaultAttributesIntegration'](_0x3003('0x1e'))),_0x196c27&&(_0x291d10[_0x3003('0x20')](_0x3003('0x54')),_0x291d10['_enableDefaultAttributesIntegration']('checkTodoList',[],['todoListChecked']),_0x291d10[_0x3003('0x32')][_0x3003('0x0')](_0x3dd279=>{const {data:_0x24ed4a}=_0x3dd279;if(_0x24ed4a&&_0x3003('0x2')==_0x24ed4a[_0x3003('0x44')])return{'type':'format','content':_0x24ed4a['newValue']?_0x13ce04(_0x5578a5,_0x3003('0x13')):_0x13ce04(_0x5578a5,'*Uncheck\x20item*')};}),this[_0x3003('0xc')][_0x3003('0x5d')][_0x3003('0xb')][_0x3003('0x48')](_0x7c7688=>{if(_0x7c7688[_0x3003('0x73')][_0x3003('0x49')])return!0x1;let _0x4983c0=!0x1;const _0x3785cd=_0x291d10[_0x3003('0x3e')]({'skipNotAttached':!0x0})['filter'](_0x294040=>'todoListChecked'===_0x291d10[_0x3003('0x51')](_0x294040));for(const _0x20f1a2 of _0x3785cd){'todo'!=_0x20f1a2[_0x3003('0x4c')]()[_0x3003('0x42')][_0x3003('0x6b')]['getAttribute'](_0x3003('0x41'))&&(_0x291d10[_0x3003('0x60')](_0x20f1a2[_0x3003('0x4c')](),_0x3003('0x6e'))[_0x3003('0x5b')](_0x547676=>_0x3003('0x41')===_0x291d10[_0x3003('0x51')](_0x547676[_0x3003('0x31')]))||(_0x7c7688[_0x3003('0xe')](_0x20f1a2['getFirstMarker']()),_0x4983c0=!0x0));}return _0x4983c0;})),_0x291d10[_0x3003('0x32')][_0x3003('0x6d')](_0x3003('0x52'),_0x13ce04(_0x5578a5,_0x3003('0x4b')));const _0x575ba6={'type':'format','content':''};_0x291d10[_0x3003('0x32')][_0x3003('0x0')](_0x57a8a4=>{const {data:_0x1c0802}=_0x57a8a4;if(!_0x1c0802||'listType'!=_0x1c0802[_0x3003('0x44')])return;let _0x13402b=_0x57a8a4[_0x3003('0xd')];for(;_0x13402b;){if(_0x13402b[_0x3003('0x28')]&&(_0x3003('0x4a')==_0x13402b[_0x3003('0x28')][_0x3003('0x44')]&&(_0x13402b[_0x3003('0x28')]['newValue']&&'default'!=_0x13402b[_0x3003('0x28')][_0x3003('0x68')]||'default'!=_0x13402b[_0x3003('0x28')]['oldValue']&&!_0x1c0802[_0x3003('0x68')])||!_0x530dfd&&_0x13402b[_0x3003('0x28')][_0x3003('0x44')]==_0x4042a3))return _0x575ba6;_0x13402b=_0x13402b[_0x3003('0x8')];}if(null==_0x1c0802[_0x3003('0x68')])switch(_0x1c0802['oldValue']){case _0x3003('0x1d'):return _0x3bc322(_0x13ce04(_0x5578a5,_0x3003('0x70')));case'numbered':return _0x3bc322(_0x13ce04(_0x5578a5,_0x3003('0x18')));case'todo':return _0x3bc322(_0x13ce04(_0x5578a5,_0x3003('0x33')));}switch(_0x1c0802[_0x3003('0x68')]){case _0x3003('0x1d'):return _0x2fb18d(_0x13ce04(_0x5578a5,_0x3003('0x70')));case _0x3003('0x24'):return _0x2fb18d(_0x13ce04(_0x5578a5,_0x3003('0x18')));case _0x3003('0x46'):return _0x2fb18d(_0x13ce04(_0x5578a5,_0x3003('0x33')));}}),_0x291d10['_descriptionFactory'][_0x3003('0x0')](_0x57fd10=>{const {data:_0x2cb7d5}=_0x57fd10;if(_0x2cb7d5&&_0x3003('0x52')==_0x2cb7d5['key'])return null==_0x2cb7d5[_0x3003('0x68')]||null==_0x2cb7d5['oldValue']&&0x0==_0x2cb7d5[_0x3003('0x68')]?_0x575ba6:void 0x0;}),_0x291d10[_0x3003('0x32')][_0x3003('0x0')](_0x3e29ea=>{if(_0x3003('0x6e')!=_0x3e29ea[_0x3003('0x55')])return;const {data:_0x219f14}=_0x3e29ea;if(!_0x219f14||_0x3003('0x5f')!=_0x219f14['key'])return;const _0x3fb417=ie(_0x3e29ea);return _0x3fb417?_0x3003('0x68')==_0x3fb417?{'type':_0x3003('0x61'),'content':_0x13ce04(_0x5578a5,_0x3003('0x72'))}:'oldValue'==_0x3fb417?{'type':_0x3003('0x61'),'content':_0x13ce04(_0x5578a5,_0x3003('0x50'))}:_0x575ba6:_0x575ba6;}),_0x3381da[_0x3003('0x5d')][_0x3003('0xb')][_0x3003('0x48')](_0x5dc3f2=>this['listItemIdFixer'](_0x5dc3f2)),_0x3381da['model'][_0x3003('0xb')]['registerPostFixer'](_0x1b8fbe=>this['noTrackChangesFixer'](_0x1b8fbe)),_0x3381da[_0x3003('0x5d')][_0x3003('0xb')][_0x3003('0x48')](_0x3ad754=>this[_0x3003('0x4d')](_0x3ad754)),this[_0x3003('0x19')]();}['listItemIdFixer'](_0xc9e029){if(_0xc9e029[_0x3003('0x73')][_0x3003('0x49')]||!_0xc9e029[_0x3003('0x73')]['isLocal'])return!0x1;let _0x3e6b7d=!0x1;const _0x39f4ae=this[_0x3003('0xc')][_0x3003('0x30')]['get'](_0x3003('0x2e'))[_0x3003('0x3e')]({'skipNotAttached':!0x0})['filter'](_0x10352f=>_0x10352f['data']&&_0x3003('0x5f')==_0x10352f[_0x3003('0x28')][_0x3003('0x44')])[_0x3003('0x36')](_0x1964fe=>_0x1964fe[_0x3003('0x28')][_0x3003('0x68')]&&_0x1964fe[_0x3003('0x28')][_0x3003('0x3a')]);for(const _0x113bce of _0x39f4ae)ie(_0x113bce)||(_0xc9e029['removeMarker'](_0x113bce[_0x3003('0x76')]()),_0x3e6b7d=!0x0);return _0x3e6b7d;}[_0x3003('0x12')](_0x2265f5){if(_0x2265f5[_0x3003('0x73')][_0x3003('0x49')]||!_0x2265f5[_0x3003('0x73')][_0x3003('0x56')])return!0x1;const _0x3a6d1c=this[_0x3003('0xc')]['plugins'][_0x3003('0x9')](_0x3003('0x2e'));if(_0x3a6d1c[_0x3003('0x1')][_0x3003('0x2d')])return!0x1;let _0x45ccee=!0x1;const _0x4c8df1=[_0x3003('0x41'),'listStyle','listItemId',_0x3003('0x52'),_0x3003('0x5e'),_0x3003('0x58'),_0x3003('0x69')],_0xb946e0=this[_0x3003('0xc')][_0x3003('0x5d')][_0x3003('0xb')][_0x3003('0x4')][_0x3003('0x5a')]()['filter'](_0xf5c24a=>'attribute'==_0xf5c24a[_0x3003('0x55')])[_0x3003('0x36')](_0x95b2e8=>_0x4c8df1['includes'](_0x95b2e8['attributeKey']));if(0x0==_0xb946e0[_0x3003('0x4f')])return _0x45ccee;for(const _0x52c2f0 of _0xb946e0){const _0x3c7fe6=_0x3a6d1c['_findSuggestions'](_0x52c2f0[_0x3003('0x5c')],'attribute')[_0x3003('0x36')](_0x1b890a=>!_0x1b890a['meta'][_0x3003('0x27')])[_0x3003('0xa')](_0x365767=>_0x365767['suggestion'])[_0x3003('0x36')](_0x25351b=>{const _0x592c05=_0x3a6d1c['_getAttributeKey'](_0x25351b);return _0x4c8df1['includes'](_0x592c05);});if(_0x3c7fe6[_0x3003('0x4f')]){for(const _0x187320 of _0x3c7fe6)_0x2265f5[_0x3003('0xe')](_0x187320['getFirstMarker']());_0x45ccee=!0x0;}}return _0x45ccee;}[_0x3003('0x4d')](_0x473618){if(_0x473618[_0x3003('0x73')][_0x3003('0x49')]||!_0x473618[_0x3003('0x73')][_0x3003('0x56')])return!0x1;const _0x58d812=this[_0x3003('0xc')]['plugins'][_0x3003('0x9')](_0x3003('0x2e'));let _0x30b287=!0x1;const _0x3d81d3=[_0x3003('0x41'),'listStyle',_0x3003('0x5f'),_0x3003('0x52'),_0x3003('0x5e'),_0x3003('0x58'),_0x3003('0x69')];for(const _0x38e8aa of _0x58d812[_0x3003('0x3e')]({'skipNotAttached':!0x0})){const _0x92e6a5=_0x58d812['_findSuggestions'](_0x38e8aa[_0x3003('0x4c')](),_0x3003('0x6e'))[_0x3003('0xa')](_0x4ff5cb=>_0x4ff5cb[_0x3003('0x31')])['filter'](_0x40f2b0=>_0x40f2b0['data']&&_0x3d81d3[_0x3003('0x2a')](_0x40f2b0['data'][_0x3003('0x44')]));if(!_0x92e6a5['length'])continue;const _0x45d7bd=_0x92e6a5[0x0]['head'][_0x3003('0x5')][_0x3003('0x29')];if(!_0x92e6a5[_0x3003('0x21')](_0x4a2b75=>_0x4a2b75[_0x3003('0x5')][_0x3003('0x29')]===_0x45d7bd))for(const _0x53d0dd of _0x92e6a5)_0x23e1c8(_0x53d0dd,_0x45d7bd)&&(_0x30b287=!0x0);}return _0x30b287;function _0x55ff25(_0x2ba062,_0x1570cc){for(const _0x5eed5b of _0x58d812['getSuggestions']({'skipNotAttached':!0x0})[_0x3003('0x36')](_0x58a372=>_0x3003('0x6e')==_0x58a372[_0x3003('0x55')]&&_0x58a372[_0x3003('0x5')][_0x3003('0x29')]==_0x2ba062))_0x5eed5b[_0x3003('0x74')]('groupId',_0x1570cc);}function _0x23e1c8(_0x2125b2,_0x3477e7){let _0x46fe28=_0x2125b2[_0x3003('0xd')],_0x1f15de=!0x1;for(;_0x46fe28;)_0x46fe28[_0x3003('0x5')][_0x3003('0x29')]!=_0x3477e7&&(_0x55ff25(_0x46fe28[_0x3003('0x5')][_0x3003('0x29')],_0x3477e7),_0x46fe28[_0x3003('0x74')](_0x3003('0x29'),_0x3477e7),_0x1f15de=!0x0),_0x46fe28=_0x46fe28['next'];return _0x1f15de;}}['_supportLegacySuggestions'](){const _0x586c3c=this[_0x3003('0xc')],_0x45ff71=_0x586c3c[_0x3003('0x59')],_0x223765=_0x586c3c[_0x3003('0x30')][_0x3003('0x9')](_0x3003('0x2e'));this[_0x3003('0x6c')](),_0x223765[_0x3003('0x14')][_0x3003('0x17')](_0x3003('0x1c'),_0x3003('0x6a'),'accept',function(_0x4d3a56,_0x12243b){const _0x3ff468=[];for(let _0x1df5cd of _0x4d3a56)_0x1df5cd['start'][_0x3003('0x6b')]===_0x1df5cd[_0x3003('0x1f')][_0x3003('0x11')]&&(_0x1df5cd=_0x586c3c[_0x3003('0x5d')]['createRange'](_0x586c3c[_0x3003('0x5d')]['createPositionAt'](_0x1df5cd['start'][_0x3003('0x6b')],0x0))),_0x3ff468[_0x3003('0x7')](_0x1df5cd);_0x586c3c['model']['change'](_0x356686=>{const _0x23e514=_0x586c3c[_0x3003('0x5d')][_0x3003('0xb')]['selection'],_0x19698a=Array[_0x3003('0x23')](_0x23e514[_0x3003('0x40')]())[_0x3003('0xa')](_0x32ed29=>_0x2c6335['fromRange'](_0x32ed29));_0x356686['setSelection'](_0x3ff468),_0x586c3c['commands'][_0x3003('0x9')](_0x12243b[_0x3003('0xf')])['refresh'](),_0x12243b[_0x3003('0x2f')]['push']({'forceDefaultExecution':!0x0}),_0x586c3c[_0x3003('0x3')](_0x12243b[_0x3003('0xf')],..._0x12243b['commandParams']),_0x356686[_0x3003('0x53')](_0x19698a);for(const _0x288c53 of _0x19698a)_0x288c53[_0x3003('0x64')]();});}),_0x223765[_0x3003('0x32')][_0x3003('0x71')](function(_0xe5f7ea){const _0x5a6256=!_0x586c3c['model'][_0x3003('0x45')][_0x3003('0x2c')](_0xe5f7ea),_0x3f051f=_0xe5f7ea[_0x3003('0x57')],_0x36a8ac=_0xe5f7ea[_0x3003('0x16')],_0x1a89ff=_0xe5f7ea[_0x3003('0x1a')]('listItemId'),_0x2298ad=!_0x3f051f||_0x3f051f['getAttribute'](_0x3003('0x5f'))!==_0x1a89ff,_0x1427fc=!_0x36a8ac||_0x36a8ac['getAttribute'](_0x3003('0x5f'))!==_0x1a89ff;return _0x5a6256&&Boolean(_0x1a89ff)&&_0x2298ad&&_0x1427fc;},_0x35e49e=>_0x13ce04(_0x45ff71,_0x3003('0x43'),_0x35e49e));}['_registerLegacyDescription'](){const _0x54984f=this[_0x3003('0xc')],_0x5eb896=_0x54984f[_0x3003('0x59')];function _0x1d3d2d(_0x2b7f4c){const _0x302127=_0x54984f[_0x3003('0x3d')][_0x3003('0x9')](_0x3003('0x1b'))['value'],_0x2af818=_0x54984f[_0x3003('0x3d')][_0x3003('0x9')]('numberedList')[_0x3003('0x2d')];return _0x3003('0x25')===_0x2b7f4c?_0x302127:_0x2af818;}_0x54984f[_0x3003('0x30')]['get'](_0x3003('0x2e'))[_0x3003('0x32')][_0x3003('0x0')](function(_0x226a40){if(_0x3003('0x1c')!=_0x226a40[_0x3003('0x55')])return;const {data:_0x16c225}=_0x226a40;if(!_0x16c225)return;let _0x12d4d7,_0x3defbc,_0x44dd23,_0x1931ce;switch(_0x16c225[_0x3003('0xf')]){case _0x3003('0x1b'):_0x44dd23=_0x16c225[_0x3003('0x2f')][0x0][_0x3003('0x34')],_0x1931ce=_0x1d3d2d(_0x16c225['commandName']),_0x12d4d7=_0x44dd23?_0x3003('0x6f'):_0x3003('0x75'),!_0x1931ce&&_0x54984f[_0x3003('0x38')][_0x3003('0x9')](_0x3003('0x3f'))||(_0x12d4d7='*Change\x20to:*\x20%0'),_0x3defbc={'type':'format','content':_0x13ce04(_0x5eb896,_0x12d4d7,_0x13ce04(_0x5eb896,_0x3003('0x70')))};break;case _0x3003('0x25'):_0x44dd23=_0x16c225[_0x3003('0x2f')][0x0]['forceValue'],_0x1931ce=_0x1d3d2d(_0x16c225[_0x3003('0xf')]),_0x12d4d7=_0x44dd23?_0x3003('0x6f'):_0x3003('0x75'),!_0x1931ce&&_0x54984f['config'][_0x3003('0x9')]('list.multiBlock')||(_0x12d4d7='*Change\x20to:*\x20%0'),_0x3defbc={'type':_0x3003('0x61'),'content':_0x13ce04(_0x5eb896,_0x12d4d7,_0x13ce04(_0x5eb896,_0x3003('0x18')))};break;case _0x3003('0x4e'):_0x12d4d7=_0x3003('0x67'),_0x3defbc={'type':_0x3003('0x61'),'content':_0x13ce04(_0x5eb896,_0x12d4d7,_0x13ce04(_0x5eb896,_0x3003('0x43')))};break;case _0x3003('0x66'):_0x12d4d7=function(_0x46a4ef){const _0x5ace09=_0x46a4ef[_0x3003('0x4c')]();let _0x38f67c=_0x5ace09[_0x3003('0x42')][_0x3003('0x6b')];for(;_0x38f67c&&_0x5ace09[_0x3003('0x10')](_0x38f67c);){if(_0x38f67c[_0x3003('0x1a')](_0x3003('0x52'))>0x0)return!0x1;_0x38f67c=_0x38f67c[_0x3003('0x16')];}return!0x0;}(_0x226a40)?_0x13ce04(_0x5eb896,_0x3003('0x75'),_0x13ce04(_0x5eb896,function(_0x237057){return _0x3003('0x65')+_0x237057['getFirstRange']()[_0x3003('0x42')][_0x3003('0x6b')]['getAttribute'](_0x3003('0x41'))[_0x3003('0x35')]()+_0x3003('0x2b');}(_0x226a40))):_0x13ce04(_0x5eb896,_0x3003('0x47'),_0x13ce04(_0x5eb896,_0x3003('0x43'))),_0x3defbc={'type':_0x3003('0x61'),'content':_0x12d4d7};break;case _0x3003('0x62'):case'mergeListItemForward':!0x1===_0x16c225[_0x3003('0x39')]&&(_0x12d4d7=_0x3003('0x6'),_0x3defbc={'type':_0x3003('0x26'),'content':_0x13ce04(_0x5eb896,_0x12d4d7,_0x13ce04(_0x5eb896,'ELEMENT_LIST_ITEM'))});}return _0x3defbc;});}}function ie(_0x47fa08){let _0x4ba6f9=_0x47fa08[_0x3003('0x4c')]()[_0x3003('0x42')]['nodeAfter'][_0x3003('0x57')];for(;_0x4ba6f9;){const _0x17adf9=_0x4ba6f9[_0x3003('0x1a')](_0x3003('0x5f'));if(!_0x17adf9)return!0x1;if(_0x17adf9==_0x47fa08[_0x3003('0x28')][_0x3003('0x68')])return'newValue';if(_0x17adf9==_0x47fa08[_0x3003('0x28')][_0x3003('0x3a')])return _0x3003('0x3a');_0x4ba6f9=_0x4ba6f9[_0x3003('0x57')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x400b=['startIndex','attribute','newValue','head','_registerLegacyDescription','_LIST_DEFAULT','_descriptionFactory','commandParams','*Format:*\x20set\x20order\x20to\x20reversed','registerAttributeLabel','plugins','ELEMENT_','TrackChangesEditing','includes','oldValue','afterInit','*Set\x20format:*\x20%0','bulleted','start','handleDescriptions','filter','listType','locale','registerDescriptionCallback','data','list.properties','format','_getTranslationKeyForListStyle','FORMAT_LIST_REVERSED','default','has','*Format:*\x20set\x20order\x20to\x20regular','key','numbered','toUpperCase','nodeAfter','removeMarker','upper-latin','*Change\x20to:*\x20%0','_LIST_','find','suggestion','config','*Remove\x20format:*\x20%0','next','document','FORMAT_LIST_START','get','_getAttributeKey','*Format:*\x20set\x20start\x20index\x20to\x20%0','decimal-leading-zero','getFirstRange','editor','listStyle','isUndo','_enableDefaultAttributesIntegration','listStart','reversed','model','bind','listReversed','_findSuggestions','type'];(function(_0x5540af,_0x400b96){const _0xcbcdbc=function(_0x1bd597){while(--_0x1bd597){_0x5540af['push'](_0x5540af['shift']());}};_0xcbcdbc(++_0x400b96);}(_0x400b,0x1ca));const _0xcbcd=function(_0x5540af,_0x400b96){_0x5540af=_0x5540af-0x0;let _0xcbcdbc=_0x400b[_0x5540af];return _0xcbcdbc;};import{Plugin as _0x12f87e}from'ckeditor5/src/core.js';import{getTranslation as _0x1d8676}from'../utils/common-translations.js';export default class se extends _0x12f87e{[_0xcbcd('0x3d')](){if(!this['editor'][_0xcbcd('0x38')][_0xcbcd('0xd')]('ListPropertiesEditing'))return;const _0x41b98d=this[_0xcbcd('0x23')][_0xcbcd('0x19')]['get'](_0xcbcd('0x8')),_0x37ed82=this[_0xcbcd('0x23')][_0xcbcd('0x38')][_0xcbcd('0x1e')](_0xcbcd('0x3a'));_0x41b98d['styles']&&_0x37ed82[_0xcbcd('0x26')](_0xcbcd('0x24'),[],[_0xcbcd('0x24')]),_0x41b98d[_0xcbcd('0x28')]&&_0x37ed82[_0xcbcd('0x26')](_0xcbcd('0x2b'),[],[_0xcbcd('0x2b')]),_0x41b98d[_0xcbcd('0x2e')]&&_0x37ed82[_0xcbcd('0x26')](_0xcbcd('0x27'),[],[_0xcbcd('0x27')]);const _0x3acf2e={'type':'format','content':''};_0x37ed82[_0xcbcd('0x34')]['registerDescriptionCallback'](this[_0xcbcd('0x2')][_0xcbcd('0x2a')](this));const _0xc8dd3a=this[_0xcbcd('0x23')]['locale'];_0x37ed82[_0xcbcd('0x34')]['registerAttributeLabel'](_0xcbcd('0x2b'),_0x1d8676(_0xc8dd3a,_0xcbcd('0xb'))),_0x37ed82['_descriptionFactory'][_0xcbcd('0x6')](_0x11e155=>{const {data:_0x315d74}=_0x11e155;if(_0x315d74&&_0xcbcd('0x2b')==_0x315d74[_0xcbcd('0xf')])return null==_0x315d74['newValue']||0x0==_0x315d74['newValue']&&null==_0x315d74[_0xcbcd('0x3c')]?_0x3acf2e:void 0x0;}),_0x37ed82[_0xcbcd('0x34')][_0xcbcd('0x37')](_0xcbcd('0x27'),_0x1d8676(_0xc8dd3a,_0xcbcd('0x1d'))),_0x37ed82[_0xcbcd('0x34')][_0xcbcd('0x6')](_0xcb85d=>{const {data:_0x46aa35}=_0xcb85d;if(_0x46aa35&&_0xcbcd('0x27')==_0x46aa35['key'])return null==_0x46aa35[_0xcbcd('0x30')]||0x1==_0x46aa35[_0xcbcd('0x30')]&&null==_0x46aa35[_0xcbcd('0x3c')]?_0x3acf2e:void 0x0;}),this[_0xcbcd('0x23')][_0xcbcd('0x29')][_0xcbcd('0x1c')]['registerPostFixer'](_0x37b2d6=>{if(_0x37b2d6['batch'][_0xcbcd('0x25')])return!0x1;let _0x1787f0=!0x1;const _0x511342=_0x37ed82['getSuggestions']({'skipNotAttached':!0x0})[_0xcbcd('0x3')](_0xef4f78=>{const _0x5eee55=_0x37ed82[_0xcbcd('0x1f')](_0xef4f78);return _0xcbcd('0x27')==_0x5eee55||_0xcbcd('0x2b')==_0x5eee55;});for(const _0x564920 of _0x511342){if('numbered'==_0x564920[_0xcbcd('0x22')]()[_0xcbcd('0x1')][_0xcbcd('0x12')]['getAttribute'](_0xcbcd('0x4')))continue;_0x37ed82[_0xcbcd('0x2c')](_0x564920[_0xcbcd('0x22')](),_0xcbcd('0x2f'))[_0xcbcd('0x17')](_0x69bd8=>'listType'==_0x37ed82[_0xcbcd('0x1f')](_0x69bd8[_0xcbcd('0x18')]))||(_0x37b2d6[_0xcbcd('0x13')](_0x564920['getFirstMarker']()),_0x1787f0=!0x0);}return _0x1787f0;}),this[_0xcbcd('0x32')]();}[_0xcbcd('0x2')](_0x3ea41c){const _0xa99a42=this[_0xcbcd('0x23')]['locale'],{data:_0x9d5d2e}=_0x3ea41c,_0x266dea={'type':_0xcbcd('0x9'),'content':''};if(!_0x9d5d2e||_0xcbcd('0x24')!=_0x9d5d2e[_0xcbcd('0xf')])return;if(!_0x9d5d2e[_0xcbcd('0x3c')])return _0xcbcd('0xc')==_0x9d5d2e[_0xcbcd('0x30')]?_0x266dea:{'type':_0xcbcd('0x9'),'content':''+_0x1d8676(_0xa99a42,'*Set\x20format:*\x20%0',_0x1d8676(_0xa99a42,this[_0xcbcd('0xa')](_0x9d5d2e[_0xcbcd('0x30')])))};if(!_0x9d5d2e[_0xcbcd('0x30')]){if(_0xcbcd('0xc')==_0x9d5d2e[_0xcbcd('0x3c')])return _0x266dea;let _0x39f789=_0x3ea41c[_0xcbcd('0x31')];for(;_0x39f789;){if(_0x39f789[_0xcbcd('0x7')]&&_0xcbcd('0x4')==_0x39f789['data']['key']&&_0x39f789[_0xcbcd('0x7')][_0xcbcd('0x30')])return _0x266dea;_0x39f789=_0x39f789['next'];}return{'type':_0xcbcd('0x9'),'content':''+_0x1d8676(_0xa99a42,_0xcbcd('0x1a'),_0x1d8676(_0xa99a42,this['_getTranslationKeyForListStyle'](_0x9d5d2e[_0xcbcd('0x3c')])))};}if(_0xcbcd('0xc')!=_0x9d5d2e['newValue'])return{'type':'format','content':''+_0x1d8676(_0xa99a42,_0xcbcd('0x3e'),_0x1d8676(_0xa99a42,this['_getTranslationKeyForListStyle'](_0x9d5d2e[_0xcbcd('0x30')])))};let _0x187eec=_0x3ea41c['head'];for(;_0x187eec;){if(_0x187eec[_0xcbcd('0x7')]&&_0xcbcd('0x4')==_0x187eec[_0xcbcd('0x7')][_0xcbcd('0xf')]&&_0x187eec[_0xcbcd('0x7')][_0xcbcd('0x30')]&&_0x187eec[_0xcbcd('0x7')]['oldValue'])return _0x266dea;_0x187eec=_0x187eec[_0xcbcd('0x1b')];}const _0x5e4fa5=_0x3ea41c[_0xcbcd('0x22')]()[_0xcbcd('0x1')]['nodeAfter']['getAttribute'](_0xcbcd('0x4'));return{'type':_0xcbcd('0x9'),'content':_0x1d8676(_0xa99a42,'*Set\x20format:*\x20%0',_0x1d8676(_0xa99a42,_0xcbcd('0x39')+_0x5e4fa5[_0xcbcd('0x11')]()+_0xcbcd('0x33')))};}[_0xcbcd('0x32')](){const _0x37a810=this['editor'],_0x224a1e=_0x37a810[_0xcbcd('0x5')];_0x37a810[_0xcbcd('0x38')]['get']('TrackChangesEditing')['_descriptionFactory'][_0xcbcd('0x6')](_0x2cbd26=>{if('formatBlock'!=_0x2cbd26[_0xcbcd('0x2d')])return;const {data:_0x26627a}=_0x2cbd26;if(!_0x26627a)return;let _0x4f0684,_0xea00c3;switch(_0x26627a['commandName']){case _0xcbcd('0x24'):_0x4f0684=_0xcbcd('0x15'),_0xea00c3={'type':_0xcbcd('0x9'),'content':_0x1d8676(_0x224a1e,_0x4f0684,_0x1d8676(_0x224a1e,this[_0xcbcd('0xa')](_0x26627a[_0xcbcd('0x35')][0x0][_0xcbcd('0x2d')])))};break;case _0xcbcd('0x2b'):_0x4f0684=_0x26627a[_0xcbcd('0x35')][0x0][_0xcbcd('0x28')]?_0xcbcd('0x36'):_0xcbcd('0xe'),_0xea00c3={'type':_0xcbcd('0x9'),'content':_0x1d8676(_0x224a1e,_0x4f0684)};break;case'listStart':_0x4f0684=_0xcbcd('0x20'),_0xea00c3={'type':_0xcbcd('0x9'),'content':_0x1d8676(_0x224a1e,_0x4f0684,_0x26627a['commandParams'][0x0]['startIndex'])};}return _0xea00c3;});}[_0xcbcd('0xa')](_0x5b5433){return _0xcbcd('0x39')+function(_0x15c170){if(ae[_0xcbcd('0x3b')](_0x15c170))return _0xcbcd('0x0');if(le['includes'](_0x15c170))return _0xcbcd('0x10');return null;}(_0x5b5433)['toUpperCase']()+_0xcbcd('0x16')+_0x5b5433[_0xcbcd('0x11')]()['replace'](/-/g,'_');}}const ae=['disc','circle','square'],le=['decimal',_0xcbcd('0x21'),'lower-roman','upper-roman','lower-latin',_0xcbcd('0x14')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d1b=['options','elementToElement','stop','enableCommand','plugins','TrackChangesEditing','editor','afterInit','mediaEmbed','_descriptionFactory','createEmptyElement','div','high','locale','conversion','has','attribute:url:media','downcastDispatcher','registerElementLabel','showSuggestionHighlights','media','for','ELEMENT_MEDIA'];(function(_0x518a94,_0x2d1b0b){const _0x47266b=function(_0x2ee81f){while(--_0x2ee81f){_0x518a94['push'](_0x518a94['shift']());}};_0x47266b(++_0x2d1b0b);}(_0x2d1b,0x1ba));const _0x4726=function(_0x518a94,_0x2d1b0b){_0x518a94=_0x518a94-0x0;let _0x47266b=_0x2d1b[_0x518a94];return _0x47266b;};import{Plugin as _0x327cfe}from'ckeditor5/src/core.js';import{getTranslation as _0x5bf71b}from'../utils/common-translations.js';export default class ft extends _0x327cfe{[_0x4726('0x2')](){const _0x3fdfa5=this[_0x4726('0x1')];if(!_0x3fdfa5[_0x4726('0x16')][_0x4726('0xa')]('MediaEmbedEditing'))return;const _0xfd9cad=_0x3fdfa5[_0x4726('0x16')]['get'](_0x4726('0x0')),_0x509028=_0x3fdfa5[_0x4726('0x8')];_0xfd9cad[_0x4726('0x15')](_0x4726('0x3')),_0xfd9cad[_0x4726('0x4')][_0x4726('0xd')](_0x4726('0xf'),_0x3db083=>_0x5bf71b(_0x509028,_0x4726('0x11'),_0x3db083)),_0x3fdfa5[_0x4726('0x9')][_0x4726('0x10')]('dataDowncast')[_0x4726('0x13')]({'model':'media','view':(_0x50bd32,{writer:_0x5dad71,options:_0x59fa53})=>{if(_0x59fa53[_0x4726('0xe')])return _0x5dad71[_0x4726('0x5')](_0x4726('0x6'));},'converterPriority':_0x4726('0x7')}),_0x3fdfa5['data'][_0x4726('0xc')]['on'](_0x4726('0xb'),(_0x1cc3ff,_0x338965,_0x5a63f0)=>{_0x5a63f0[_0x4726('0x12')][_0x4726('0xe')]&&_0x1cc3ff[_0x4726('0x14')]();},{'priority':_0x4726('0x7')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16e6=['plugins','enableCommand','editor','has','TrackChangesEditing','mention','MentionEditing'];(function(_0x1306e2,_0x16e6ab){const _0x1bf1ad=function(_0x2267e5){while(--_0x2267e5){_0x1306e2['push'](_0x1306e2['shift']());}};_0x1bf1ad(++_0x16e6ab);}(_0x16e6,0xb3));const _0x1bf1=function(_0x1306e2,_0x16e6ab){_0x1306e2=_0x1306e2-0x0;let _0x1bf1ad=_0x16e6[_0x1306e2];return _0x1bf1ad;};import{Plugin as _0xb7e84b}from'ckeditor5/src/core.js';export default class gt extends _0xb7e84b{['afterInit'](){const _0x2ace9b=this[_0x1bf1('0x5')];_0x2ace9b['plugins'][_0x1bf1('0x6')](_0x1bf1('0x2'))&&_0x2ace9b[_0x1bf1('0x3')]['get'](_0x1bf1('0x0'))[_0x1bf1('0x4')](_0x1bf1('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3de2=['ELEMENT_PAGE_BREAK','PageBreakEditing','TrackChangesEditing','enableCommand','registerElementLabel','has','_descriptionFactory','plugins','locale','pageBreak','get','editor'];(function(_0x30cfdc,_0x3de21c){const _0x2ded39=function(_0x101059){while(--_0x101059){_0x30cfdc['push'](_0x30cfdc['shift']());}};_0x2ded39(++_0x3de21c);}(_0x3de2,0x131));const _0x2ded=function(_0x30cfdc,_0x3de21c){_0x30cfdc=_0x30cfdc-0x0;let _0x2ded39=_0x3de2[_0x30cfdc];return _0x2ded39;};import{Plugin as _0x424ab9}from'ckeditor5/src/core.js';import{getTranslation as _0x14bdb7}from'../utils/common-translations.js';export default class lt extends _0x424ab9{['afterInit'](){const _0x440e63=this[_0x2ded('0x6')];if(!_0x440e63[_0x2ded('0x2')][_0x2ded('0x0')](_0x2ded('0x8')))return;_0x440e63[_0x2ded('0x2')][_0x2ded('0x5')](_0x2ded('0x9'))[_0x2ded('0xa')](_0x2ded('0x4'));const _0x2c1dd4=_0x440e63[_0x2ded('0x2')]['get'](_0x2ded('0x9')),_0x4d452c=_0x440e63[_0x2ded('0x3')];_0x2c1dd4[_0x2ded('0x1')][_0x2ded('0xb')]('pageBreak',_0x5d2d75=>_0x14bdb7(_0x4d452c,_0x2ded('0x7'),_0x5d2d75));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4090=['_registerLegacyDescription','formatBlock','isBlock','name','enableCommand','afterInit','addClass','activeMarkers','type','markerRange','ck-suggestion-marker-split','registerDescriptionCallback','data','schema','registerElementLabel','addMarker:suggestion:insertion','showSuggestionHighlights','TrackChangesEditing','includes','end','paragraph','format','mapper','plugins','isTouching','markerName','$text','insertion','highest','*Insert:*\x20%0','downcastDispatcher','_enableDefaultAttributesIntegration','_descriptionFactory','createUIElement','*Change\x20to:*\x20%0','model','nodeAfter','get','insertParagraph','editor','options','commandName','writer','isLimit','ELEMENT_PARAGRAPH','consume','Paragraph','span','getItemLabel','checkChild','locale','toViewPosition','start','insert'];(function(_0x58022f,_0x4090ce){const _0x5e8241=function(_0x708ad){while(--_0x708ad){_0x58022f['push'](_0x58022f['shift']());}};_0x5e8241(++_0x4090ce);}(_0x4090,0x1d6));const _0x5e82=function(_0x58022f,_0x4090ce){_0x58022f=_0x58022f-0x0;let _0x5e8241=_0x4090[_0x58022f];return _0x5e8241;};import{Plugin as _0x24aa79}from'ckeditor5/src/core.js';import{getTranslation as _0x284fff}from'../utils/common-translations.js';export default class mt extends _0x24aa79{[_0x5e82('0x15')](){const _0x2ac2e5=this[_0x5e82('0x1')];if(!_0x2ac2e5['plugins']['has'](_0x5e82('0x8')))return;const _0x2207cc=_0x2ac2e5[_0x5e82('0xc')],_0x482cd3=_0x2ac2e5[_0x5e82('0x27')][_0x5e82('0x35')](_0x5e82('0x21'));_0x482cd3[_0x5e82('0x30')][_0x5e82('0x1e')](_0x5e82('0x24'),_0xdfa7e0=>_0x284fff(_0x2207cc,_0x5e82('0x6'),_0xdfa7e0)),_0x482cd3[_0x5e82('0x2f')](_0x5e82('0x24')),_0x482cd3[_0x5e82('0x14')](_0x5e82('0x0')),_0x2ac2e5['editing'][_0x5e82('0x2e')]['on'](_0x5e82('0x1f'),nr(_0x2ac2e5),{'priority':_0x5e82('0x2c')}),_0x2ac2e5[_0x5e82('0x1c')]['downcastDispatcher']['on'](_0x5e82('0x1f'),(_0x322242,_0x584e5e,_0x3aeca9)=>{_0x3aeca9[_0x5e82('0x2')][_0x5e82('0x20')]&&nr(_0x2ac2e5,{'showActiveMarker':!0x1})(_0x322242,_0x584e5e,_0x3aeca9);},{'priority':_0x5e82('0x2c')});const _0x40c7a5=_0x482cd3[_0x5e82('0x30')];_0x40c7a5[_0x5e82('0x1b')](_0x230d97=>{if('insertion'!==_0x230d97[_0x5e82('0x18')])return;const {start:_0x4ea866,end:_0x4772e2}=_0x230d97['getFirstRange']();if(!_0x4ea866[_0x5e82('0x28')](_0x4772e2)||!_0x4ea866[_0x5e82('0x34')])return;const _0x1cdf49=_0x2ac2e5[_0x5e82('0x33')][_0x5e82('0x1d')],_0x35e15a=_0x4ea866[_0x5e82('0x34')];return _0x1cdf49[_0x5e82('0x12')](_0x35e15a)&&!_0x1cdf49[_0x5e82('0x5')](_0x35e15a)&&_0x1cdf49[_0x5e82('0xb')](_0x35e15a,_0x5e82('0x2a'))?{'type':_0x5e82('0x2b'),'content':_0x284fff(_0x2207cc,_0x5e82('0x2d'),_0x40c7a5[_0x5e82('0xa')](_0x35e15a,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0x5e82('0x10')](){const _0xa31c6a=this['editor'],_0x38fe77=_0xa31c6a[_0x5e82('0xc')];_0xa31c6a[_0x5e82('0x27')][_0x5e82('0x35')]('TrackChangesEditing')[_0x5e82('0x30')][_0x5e82('0x1b')](_0x4fbc5b=>{if(_0x5e82('0x11')!=_0x4fbc5b[_0x5e82('0x18')])return;const {data:_0x2216ae}=_0x4fbc5b;return _0x2216ae&&_0x5e82('0x24')==_0x2216ae[_0x5e82('0x3')]?{'type':_0x5e82('0x25'),'content':_0x284fff(_0x38fe77,_0x5e82('0x32'),_0x284fff(_0x38fe77,_0x5e82('0x6')))}:void 0x0;});}}function nr(_0x1fd73a,{showActiveMarker:_0x467e47=!0x0}={}){return(_0x1ab262,_0x2f35b8,_0x2e19ed)=>{const _0xfb05f5=_0x1fd73a[_0x5e82('0x27')]['get'](_0x5e82('0x21')),_0x1c4c86=_0x2f35b8[_0x5e82('0x19')][_0x5e82('0xe')],_0x368e53=_0x2f35b8['markerRange'][_0x5e82('0x23')],_0x4a741e=_0x1fd73a['model']['schema'];if(!_0x1c4c86[_0x5e82('0x28')](_0x368e53)||!_0x1c4c86['nodeAfter'])return;const _0x77a703=_0x1c4c86[_0x5e82('0x34')];if(_0x4a741e[_0x5e82('0x12')](_0x77a703)&&!_0x4a741e['isLimit'](_0x77a703)&&_0x4a741e[_0x5e82('0xb')](_0x77a703,_0x5e82('0x2a'))){if(!_0x2e19ed['consumable'][_0x5e82('0x7')](_0x2f35b8[_0x5e82('0x19')],_0x1ab262[_0x5e82('0x13')]))return;const _0x230d67=_0x2e19ed['writer'][_0x5e82('0x31')](_0x5e82('0x9'),{'class':_0x5e82('0x1a')}),_0x5aefb1=_0x2e19ed[_0x5e82('0x26')][_0x5e82('0xd')](_0x368e53);_0x467e47&&_0xfb05f5[_0x5e82('0x17')][_0x5e82('0x22')](_0x2f35b8['markerName'])&&_0x2e19ed[_0x5e82('0x4')][_0x5e82('0x16')]('ck-suggestion-marker--active',_0x230d67),_0x2e19ed['writer'][_0x5e82('0xf')](_0x5aefb1,_0x230d67),_0x2e19ed[_0x5e82('0x26')]['bindElementToMarker'](_0x230d67,_0x2f35b8[_0x5e82('0x29')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bf2=['get','editor','*Remove\x20all\x20formatting*','TrackChangesEditing','_enableDefaultAttributesIntegration','afterInit','removeFormat','commandName','_descriptionFactory','registerDescriptionCallback','format','has','_registerLegacyDescription','formatBlock','plugins','type','locale','formatInline'];(function(_0xd2b9e5,_0x5bf285){const _0x461cd2=function(_0x265e0e){while(--_0x265e0e){_0xd2b9e5['push'](_0xd2b9e5['shift']());}};_0x461cd2(++_0x5bf285);}(_0x5bf2,0x9b));const _0x461c=function(_0xd2b9e5,_0x5bf285){_0xd2b9e5=_0xd2b9e5-0x0;let _0x461cd2=_0x5bf2[_0xd2b9e5];return _0x461cd2;};import{Plugin as _0xdb832f}from'ckeditor5/src/core.js';import{getTranslation as _0x45a97b}from'../utils/common-translations.js';export default class dt extends _0xdb832f{[_0x461c('0xc')](){const _0x2a5fba=this[_0x461c('0x8')];if(!_0x2a5fba[_0x461c('0x3')][_0x461c('0x0')]('RemoveFormatEditing'))return;_0x2a5fba['plugins']['get']('TrackChangesEditing')[_0x461c('0xb')]('removeFormat'),this[_0x461c('0x1')]();}[_0x461c('0x1')](){const _0x4dc482=this[_0x461c('0x8')];_0x4dc482[_0x461c('0x3')][_0x461c('0x7')](_0x461c('0xa'))[_0x461c('0xf')][_0x461c('0x10')](_0x140147=>{if(_0x461c('0x2')!=_0x140147[_0x461c('0x4')]&&_0x461c('0x6')!=_0x140147[_0x461c('0x4')])return;const {data:_0x33ea19}=_0x140147;return _0x33ea19&&_0x461c('0xd')==_0x33ea19[_0x461c('0xe')]?{'type':_0x461c('0x11'),'content':_0x45a97b(_0x4dc482[_0x461c('0x5')],_0x461c('0x9'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b5a=['discardSelectedSuggestions','plugins','goToNextRestrictedEditingException','trackChanges','get','RestrictedEditingModeEditing','discardSuggestion','acceptSelectedSuggestions','editor','discardAllSuggestions','enableCommand'];(function(_0x3041c1,_0x5b5ae5){const _0x2ccc6b=function(_0x290775){while(--_0x290775){_0x3041c1['push'](_0x3041c1['shift']());}};_0x2ccc6b(++_0x5b5ae5);}(_0x5b5a,0x12e));const _0x2ccc=function(_0x3041c1,_0x5b5ae5){_0x3041c1=_0x3041c1-0x0;let _0x2ccc6b=_0x5b5a[_0x3041c1];return _0x2ccc6b;};import{Plugin as _0xcae2ff}from'ckeditor5/src/core.js';export default class pt extends _0xcae2ff{['afterInit'](){const _0x2de5e5=this[_0x2ccc('0x3')];if(!_0x2de5e5[_0x2ccc('0x7')]['has'](_0x2ccc('0x0')))return;const _0x4d66d4=_0x2de5e5[_0x2ccc('0x7')][_0x2ccc('0xa')]('TrackChangesEditing');_0x4d66d4['enableCommand']('goToPreviousRestrictedEditingException'),_0x4d66d4[_0x2ccc('0x5')](_0x2ccc('0x8'));const _0xa8b1b4=_0x2de5e5[_0x2ccc('0x7')][_0x2ccc('0xa')](_0x2ccc('0x0'));_0xa8b1b4['enableCommand'](_0x2ccc('0x9')),_0xa8b1b4[_0x2ccc('0x5')]('acceptSuggestion'),_0xa8b1b4['enableCommand'](_0x2ccc('0x1')),_0xa8b1b4[_0x2ccc('0x5')]('acceptAllSuggestions'),_0xa8b1b4[_0x2ccc('0x5')](_0x2ccc('0x4')),_0xa8b1b4[_0x2ccc('0x5')](_0x2ccc('0x2')),_0xa8b1b4['enableCommand'](_0x2ccc('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54d3=['plugins','insert','registerElementLabel','markerRange','toViewPosition','enableCommand','TrackChangesEditing','merge','addMarker:suggestion:insertion','addMarker:suggestion','high','downcastDispatcher','softBreak','get','getItems','split','editing','addClass','createPositionBefore','writer','_descriptionFactory','options','test','markerName','locale','includes','init','shiftEnter','mapper','ck-suggestion-marker--active','createUIElement','editor','consumable','name'];(function(_0x1e265a,_0x54d30e){const _0x1af0ef=function(_0x589239){while(--_0x589239){_0x1e265a['push'](_0x1e265a['shift']());}};_0x1af0ef(++_0x54d30e);}(_0x54d3,0xe2));const _0x1af0=function(_0x1e265a,_0x54d30e){_0x1e265a=_0x1e265a-0x0;let _0x1af0ef=_0x54d3[_0x1e265a];return _0x1af0ef;};import{Plugin as _0x24cc1d}from'ckeditor5/src/core.js';import{ShiftEnter as _0x451905}from'ckeditor5/src/enter.js';import{getTranslation as _0x291006}from'../utils/common-translations.js';export default class kt extends _0x24cc1d{static get['requires'](){return[_0x451905];}[_0x1af0('0x4')](){const _0x9fa031=this[_0x1af0('0x9')],_0x4aa071=_0x9fa031['plugins'][_0x1af0('0x19')](_0x1af0('0x12'));_0x4aa071[_0x1af0('0x11')](_0x1af0('0x5')),_0x9fa031[_0x1af0('0x1c')]['downcastDispatcher']['on'](_0x1af0('0x14'),re(_0x9fa031),{'priority':_0x1af0('0x16')}),_0x9fa031['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',re(_0x9fa031),{'priority':_0x1af0('0x16')}),_0x9fa031['data'][_0x1af0('0x17')]['on'](_0x1af0('0x15'),(_0x18afb3,_0x361363,_0x20deb1)=>{_0x20deb1[_0x1af0('0x21')]['showSuggestionHighlights']&&re(_0x9fa031,{'showActiveMarker':!0x1})(_0x18afb3,_0x361363,_0x20deb1);}),_0x4aa071[_0x1af0('0x20')][_0x1af0('0xe')]('softBreak',_0x13ec8c=>_0x291006(_0x9fa031[_0x1af0('0x2')],'ELEMENT_LINE_BREAK',_0x13ec8c));}}function re(_0x57b00c,{showActiveMarker:_0xbba198=!0x0}={}){return(_0x41f6e,_0x10ba7e,_0x2250ce)=>{const _0x25b875=_0x57b00c[_0x1af0('0xc')][_0x1af0('0x19')](_0x1af0('0x12'));if(!_0x2250ce[_0x1af0('0xa')][_0x1af0('0x0')](_0x10ba7e['markerRange'],_0x41f6e[_0x1af0('0xb')]))return;const _0x60d6f2=_0x57b00c['model'];for(const _0x2f32f0 of _0x10ba7e[_0x1af0('0xf')][_0x1af0('0x1a')]()){if(!_0x2f32f0['is']('element',_0x1af0('0x18')))continue;const _0x59339e='deletion'==_0x10ba7e[_0x1af0('0x1')][_0x1af0('0x1b')](':')[0x1]?_0x1af0('0x13'):'split',_0x28fec3=_0x2250ce['writer'][_0x1af0('0x8')]('span',{'class':'ck-suggestion-marker-'+_0x59339e}),_0x424e44=_0x2250ce[_0x1af0('0x6')][_0x1af0('0x10')](_0x60d6f2[_0x1af0('0x1e')](_0x2f32f0));_0xbba198&&_0x25b875['activeMarkers'][_0x1af0('0x3')](_0x10ba7e[_0x1af0('0x1')])&&_0x2250ce[_0x1af0('0x1f')][_0x1af0('0x1d')](_0x1af0('0x7'),_0x28fec3),_0x2250ce[_0x1af0('0x1f')][_0x1af0('0xd')](_0x424e44,_0x28fec3),_0x2250ce[_0x1af0('0x6')]['bindElementToMarker'](_0x28fec3,_0x10ba7e[_0x1af0('0x1')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4749=['restrictedEditingException','has','enableCommand','from','editor','change','formatBlock','commandParams','_descriptionFactory','selection','markInlineFormat','formatInline','registerDescriptionCallback','type','StandardEditingModeEditing','getRanges','value','get','forceValue','commandName','afterInit','plugins','FORMAT_RESTRICTED_ENABLED'];(function(_0x388aa3,_0x4749fa){const _0x267c1d=function(_0x572d9b){while(--_0x572d9b){_0x388aa3['push'](_0x388aa3['shift']());}};_0x267c1d(++_0x4749fa);}(_0x4749,0x151));const _0x267c=function(_0x388aa3,_0x4749fa){_0x388aa3=_0x388aa3-0x0;let _0x267c1d=_0x4749[_0x388aa3];return _0x267c1d;};import{Plugin as _0x56f0ee}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x260710}from'./utils.js';import{getTranslation as _0x418500}from'../utils/common-translations.js';export default class bt extends _0x56f0ee{[_0x267c('0x5')](){const _0x4fe840=this[_0x267c('0xc')],_0x268e79=_0x4fe840['model'],_0x25f234=_0x4fe840['locale'];if(!_0x4fe840[_0x267c('0x6')][_0x267c('0x9')](_0x267c('0x16')))return;const _0x2943be=_0x4fe840[_0x267c('0x6')][_0x267c('0x2')]('TrackChangesEditing'),_0x734b1c=_0x267c('0x8'),_0x4b482f=_0x4fe840['commands'][_0x267c('0x2')](_0x734b1c);_0x2943be[_0x267c('0xa')](_0x734b1c,(_0x534fde,_0x534dad={})=>{const _0x5a219a=_0x268e79['document'][_0x267c('0x11')];if(_0x5a219a['isCollapsed'])return void _0x534fde(_0x534dad);const _0x49ec59=void 0x0!==_0x534dad[_0x267c('0x3')]?_0x534dad[_0x267c('0x3')]:!_0x4b482f[_0x267c('0x1')];_0x268e79[_0x267c('0xd')](()=>{const _0x4aa41f=Array[_0x267c('0xb')](_0x5a219a[_0x267c('0x0')]());for(const _0x40a4da of _0x4aa41f){const _0x3170a5=_0x49ec59?[_0x40a4da]:_0x260710(_0x734b1c,_0x40a4da,_0x268e79);for(const _0x5ee7f9 of _0x3170a5)_0x2943be[_0x267c('0x12')](_0x5ee7f9,{'commandName':_0x734b1c,'commandParams':[{'forceValue':_0x49ec59}]});}});}),_0x2943be[_0x267c('0x10')][_0x267c('0x14')](_0x2fd9cd=>{if(_0x267c('0xe')!=_0x2fd9cd[_0x267c('0x15')]&&_0x267c('0x13')!=_0x2fd9cd[_0x267c('0x15')])return;const {data:_0x45abb9}=_0x2fd9cd;return _0x45abb9&&_0x45abb9[_0x267c('0x4')]==_0x734b1c?_0x45abb9[_0x267c('0xf')][0x0]['forceValue']?{'type':'format','content':_0x418500(_0x25f234,_0x267c('0x7'))}:{'type':'format','content':_0x418500(_0x25f234,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d45=['_descriptionFactory','_registerInlineAttribute','config','commandParams','locale','afterInit','has','normalizeConfig','registerDescriptionCallback','styleName','format','registerAttributeLabel','_registerBlockAttribute','getGhsAttributeNameForElement','style','*Remove\x20format:*\x20%0','inline','plugins','type','block','formatBlock','GeneralHtmlSupport','ghsAttributes','_registerLegacyDescription','DataSchema','editor','formatInline','FORMAT_STYLE','element','get','toLowerCase','*Set\x20format:*\x20%0','add','forceValue','definitions','TrackChangesEditing'];(function(_0x14aa90,_0x4d4501){const _0x9459f0=function(_0x4b0c86){while(--_0x4b0c86){_0x14aa90['push'](_0x14aa90['shift']());}};_0x9459f0(++_0x4d4501);}(_0x4d45,0xba));const _0x9459=function(_0x14aa90,_0x4d4501){_0x14aa90=_0x14aa90-0x0;let _0x9459f0=_0x4d45[_0x14aa90];return _0x9459f0;};import{Plugin as _0x4394f4}from'ckeditor5/src/core.js';import{getTranslation as _0x16173a}from'../utils/common-translations.js';export default class wt extends _0x4394f4{[_0x9459('0x23')](){const _0x4d6f13=this['editor'];if(!_0x4d6f13[_0x9459('0xb')][_0x9459('0x0')]('Style')||!_0x4d6f13[_0x9459('0xb')][_0x9459('0x0')](_0x9459('0x12')))return;const _0x1d7fe8=_0x4d6f13[_0x9459('0xb')][_0x9459('0x17')](_0x9459('0x1d')),_0x18d13e=_0x4d6f13[_0x9459('0x22')],_0x5cef5b=_0x4d6f13[_0x9459('0x20')][_0x9459('0x17')](_0x9459('0x8')),_0xec06f3=_0x4d6f13[_0x9459('0xb')][_0x9459('0x17')](_0x9459('0xf')),_0x18b2d6=_0x4d6f13[_0x9459('0xb')]['get']('StyleUtils')[_0x9459('0x1')](_0x4d6f13[_0x9459('0xb')][_0x9459('0x17')](_0x9459('0x12')),_0x5cef5b[_0x9459('0x1c')]);_0x1d7fe8['_enableDefaultAttributesIntegration'](_0x9459('0x8'));const _0x217f82=new Set();for(const _0x1d7df4 of _0x18b2d6[_0x9459('0xd')]){const _0x161ca0=_0xec06f3[_0x9459('0x7')](_0x1d7df4[_0x9459('0x16')]);_0x217f82[_0x9459('0x1a')](_0x161ca0);}const _0x153bbe=new Set();for(const _0x32d1e6 of _0x18b2d6[_0x9459('0xa')]){const _0xf3146c=_0xec06f3[_0x9459('0x7')](_0x32d1e6[_0x9459('0x16')]);_0x153bbe['add'](_0xf3146c);for(const _0x2bb9fa of _0x32d1e6[_0x9459('0x10')])_0x153bbe[_0x9459('0x1a')](_0x2bb9fa);}for(const _0x5133c1 of _0x217f82)_0x1d7fe8[_0x9459('0x6')](_0x5133c1),_0x1d7fe8[_0x9459('0x1e')][_0x9459('0x5')](_0x5133c1,_0x16173a(_0x18d13e,_0x9459('0x15')));for(const _0x3119a1 of _0x153bbe)_0x1d7fe8[_0x9459('0x1f')](_0x3119a1),_0x1d7fe8[_0x9459('0x1e')][_0x9459('0x5')](_0x3119a1,_0x16173a(_0x18d13e,_0x9459('0x15')));this['_registerLegacyDescription']();}[_0x9459('0x11')](){const _0x4b9e3e=this[_0x9459('0x13')],_0x2c85a1=_0x4b9e3e[_0x9459('0x22')];_0x4b9e3e['plugins'][_0x9459('0x17')](_0x9459('0x1d'))[_0x9459('0x1e')][_0x9459('0x2')](_0x38ab2b=>{if(_0x9459('0xe')!=_0x38ab2b[_0x9459('0xc')]&&_0x9459('0x14')!=_0x38ab2b[_0x9459('0xc')])return;const {data:_0xeeb19f}=_0x38ab2b;return _0xeeb19f&&_0x9459('0x8')===_0xeeb19f['commandName']?_0xeeb19f[_0x9459('0x21')][0x0][_0x9459('0x1b')]?{'type':_0x9459('0x4'),'content':_0x16173a(_0x2c85a1,_0x9459('0x19'),_0xeeb19f[_0x9459('0x21')][0x0][_0x9459('0x3')][_0x9459('0x18')]())}:{'type':_0x9459('0x4'),'content':_0x16173a(_0x2c85a1,_0x9459('0x9'),_0xeeb19f[_0x9459('0x21')][0x0][_0x9459('0x3')]['toLowerCase']())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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')]());}
|
|
23
|
+
const _0x19d1=['writer','ELEMENT_TABLE','tableCell','afterInit','add','classes','last','insertTableColumnRight','insertTableColumnLeft','max','ELEMENT_TABLE_ROW','ELEMENT_TABLE_WITH_TEXT','registerPostFixer','$textProxy','MAX_SAFE_INTEGER','insertion','MIN_SAFE_INTEGER','removeClass','getFirstRange','removeTableRow','insertTableRowAbove','rootName','position','plugins','rowspan','end','ELEMENT_TABLE_COLUMN_WITH_TEXT','length','getItems','TableEditing','getSelectionAffectedTableCells','$graveyard','getChanges','name','minColumn','enqueueChange','push','getChildren','execute','order','cell','data','startsWith','minRow','item','substr','TableUtils','_descriptionFactory','root','colspan','change:data','accept','get','insertTableRowBelow','document','getContainedElement','nodeBefore','getAttribute','getRanges','ELEMENT_TABLE_ROW_WITH_TEXT','insertTable','TrackChangesEditing','getColumnIndexes','detach','maxRow','registerElementLabel','insert','locale','hasAttribute','createTableWalker','*Remove:*\x20%0','tableRow','refresh','filter','discard','tableColumn','above','addClass','start','table','options','registerDescriptionCallback','setSelection','addMarker:suggestion','_tableSuggestions','some','_getCoordsForCells','editor','toLowerCase','getCellLocation','isTouching','join','_getSuggestionCoords','mapper','min','registerCustomCallback','findAncestor','deletion','left','values','removeTableColumn','_tablePostFixingSubtypes','maxColumn','_suggestionFactory','change','isIntersectingWithRange','type','_setupColumnsRowsFixing','createRangeOn','showSuggestionHighlights','downcastDispatcher','suggestion','fromRange','element','tablePaste','getRowIndexes','commands','isInContent','model','*Insert:*\x20%0','includes','from','getChangedMarkers','selection','forceValue','getSuggestion','createRangeIn','selectTableColumn','enableCommand','first','addRange','markMultiRangeInsertion','_splitMarkerName','differ','map','subType','low','span','ELEMENT_TABLE_COLUMN','nodeAfter','selectTableRow'];(function(_0x96f4f9,_0x19d133){const _0x14d7a4=function(_0x4aa140){while(--_0x4aa140){_0x96f4f9['push'](_0x96f4f9['shift']());}};_0x14d7a4(++_0x19d133);}(_0x19d1,0x8b));const _0x14d7=function(_0x96f4f9,_0x19d133){_0x96f4f9=_0x96f4f9-0x0;let _0x14d7a4=_0x19d1[_0x96f4f9];return _0x14d7a4;};import{Plugin as _0x595784}from'ckeditor5/src/core.js';import{LiveRange as _0x2d363b}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x56a6d1}from'ckeditor5/src/widget.js';import{getTranslation as _0xe53a53}from'../utils/common-translations.js';export default class yt extends _0x595784{constructor(_0x55a2d3){super(_0x55a2d3),this[_0x14d7('0x67')]=[_0x14d7('0x49'),_0x14d7('0x4d')],this[_0x14d7('0x56')]=new Set();}[_0x14d7('0x5')](){const _0x31c9ed=this[_0x14d7('0x59')],_0x2dfb43=_0x31c9ed[_0x14d7('0x78')][_0x14d7('0x38')][_0x14d7('0x7d')];if(!_0x31c9ed['plugins']['has'](_0x14d7('0x1f')))return;const _0x33bb08=_0x31c9ed[_0x14d7('0x45')],_0x467595=_0x31c9ed['plugins']['get'](_0x14d7('0x3f')),_0x98cdc4=_0x31c9ed[_0x14d7('0x19')][_0x14d7('0x36')](_0x14d7('0x30'));_0x467595[_0x14d7('0x31')][_0x14d7('0x43')]('table',_0x2c069c=>_0xe53a53(_0x33bb08,_0x14d7('0x3'),_0x2c069c)),this[_0x14d7('0x6d')](),_0x467595[_0x14d7('0x82')](_0x14d7('0x3e')),_0x467595[_0x14d7('0x82')](_0x14d7('0x1')),_0x467595['enableCommand'](_0x14d7('0x81'));for(const _0x63d562 of[_0x14d7('0x16'),_0x14d7('0x37')]){const _0x1399b5=_0x31c9ed[_0x14d7('0x76')][_0x14d7('0x36')](_0x63d562);_0x467595[_0x14d7('0x82')](_0x63d562,_0x1329b9=>{_0x31c9ed[_0x14d7('0x78')]['change'](_0x512dc5=>{_0x1329b9();const _0x4f06fb=_0x14d7('0x4e')===_0x1399b5[_0x14d7('0x29')],_0x1ceb45=_0x98cdc4[_0x14d7('0x20')](_0x2dfb43),_0x1bd151=_0x98cdc4[_0x14d7('0x75')](_0x1ceb45),_0xf8924b=_0x4f06fb?_0x1bd151['first']-0x1:_0x1bd151[_0x14d7('0x8')]+0x1,_0xf33ada=_0x1ceb45[0x0][_0x14d7('0x62')](_0x14d7('0x51')),_0x18ec45=_0x98cdc4[_0x14d7('0x47')](_0xf33ada,{'startRow':_0xf8924b,'endRow':_0xf8924b}),_0x5aee3d=Array[_0x14d7('0x7b')](_0x18ec45)['map'](_0x12c5e0=>_0x512dc5[_0x14d7('0x6e')](_0x12c5e0[_0x14d7('0x2a')]));_0x467595[_0x14d7('0x85')](_0x5aee3d,_0x14d7('0x49'));});});}for(const _0x115b0b of[_0x14d7('0xa'),_0x14d7('0x9')]){const _0x4876b3=_0x31c9ed[_0x14d7('0x76')][_0x14d7('0x36')](_0x115b0b);_0x467595['enableCommand'](_0x115b0b,_0x10bac7=>{_0x31c9ed[_0x14d7('0x78')][_0x14d7('0x6a')](_0x30afcf=>{_0x10bac7();const _0x5de45e=_0x14d7('0x64')===_0x4876b3[_0x14d7('0x29')],_0x1d6bf5=_0x98cdc4[_0x14d7('0x20')](_0x2dfb43),_0x5471e6=_0x98cdc4[_0x14d7('0x40')](_0x1d6bf5),_0x3d9a61=_0x5de45e?_0x5471e6[_0x14d7('0x83')]-0x1:_0x5471e6[_0x14d7('0x8')]+0x1,_0x35a951=_0x1d6bf5[0x0][_0x14d7('0x62')](_0x14d7('0x51')),_0x329f7c=_0x98cdc4[_0x14d7('0x47')](_0x35a951,{'startRow':0x0,'column':_0x3d9a61,'includeAllSlots':!0x1}),_0x19e482=Array['from'](_0x329f7c)[_0x14d7('0x88')](_0x18c11b=>_0x30afcf[_0x14d7('0x6e')](_0x18c11b[_0x14d7('0x2a')]));_0x467595[_0x14d7('0x85')](_0x19e482,_0x14d7('0x4d'));});});}for(const _0x3afa2d of[_0x14d7('0x15'),_0x14d7('0x66')]){const _0x2f27dc=_0x3afa2d['substr'](0xb),_0x27c20c=_0x2f27dc[_0x14d7('0x5a')](),_0x379bd1=_0x27c20c[_0x14d7('0x2f')](0x0,0x3)+_0x14d7('0x8b'),_0x1028ff=_0x14d7('0x51')+_0x2f27dc,_0xec6f47='min'+_0x2f27dc,_0x5bc6a4=_0x14d7('0xb')+_0x2f27dc;_0x467595[_0x14d7('0x82')](_0x3afa2d,()=>{_0x31c9ed[_0x14d7('0x78')][_0x14d7('0x6a')](_0x5ce78e=>{const _0x1b1b7d=_0x98cdc4[_0x14d7('0x20')](_0x2dfb43),_0x5c78c8=_0x1b1b7d[0x0][_0x14d7('0x62')](_0x14d7('0x51'));let _0x165cc1;if(_0x14d7('0x15')==_0x3afa2d){const _0x293f10=_0x98cdc4[_0x14d7('0x75')](_0x1b1b7d);_0x165cc1={'startRow':_0x293f10[_0x14d7('0x83')],'endRow':_0x293f10[_0x14d7('0x8')],'includeAllSlots':!0x0};}else{const _0x240601=_0x98cdc4[_0x14d7('0x40')](_0x1b1b7d);_0x165cc1={'startColumn':_0x240601[_0x14d7('0x83')],'endColumn':_0x240601[_0x14d7('0x8')],'includeAllSlots':!0x0};}const _0x1007f0=_0x98cdc4[_0x14d7('0x47')](_0x5c78c8,_0x165cc1),_0x11353c=Array[_0x14d7('0x7b')](_0x1007f0)['map'](({cell:_0x38cab4})=>_0x38cab4),_0x1e6ce3=ue(_0x11353c[_0x14d7('0x4b')](_0x40a2b7=>_0x40a2b7[_0x14d7('0x46')](_0x379bd1))),_0x1054fe=ue(_0x11353c[_0x14d7('0x4b')](_0x5ccb6e=>!_0x5ccb6e[_0x14d7('0x46')](_0x379bd1)))['map'](_0x5b02d8=>_0x5ce78e[_0x14d7('0x6e')](_0x5b02d8)),_0x54021e=_0x467595['markMultiRangeDeletion'](_0x1054fe,_0x1028ff);if(_0x54021e&&(_0x14d7('0x49')==_0x54021e[_0x14d7('0x89')]||_0x14d7('0x4d')==_0x54021e[_0x14d7('0x89')])){const _0x5dcf89=this[_0x14d7('0x5e')](_0x54021e);for(const _0x375cd8 of _0x1e6ce3){const _0x196ec2=_0x5ce78e[_0x14d7('0x6e')](_0x375cd8),_0x283fca=_0x98cdc4[_0x14d7('0x5b')](_0x375cd8),_0x528804=_0x375cd8[_0x14d7('0x3b')](_0x379bd1)-0x1,_0x192abb=_0x5dcf89[_0xec6f47],_0x447d88=_0x5dcf89[_0x5bc6a4];_0x192abb<=_0x283fca[_0x27c20c]&&_0x283fca[_0x27c20c]+_0x528804<=_0x447d88&&_0x54021e[_0x14d7('0x84')](_0x196ec2);}}});});}function _0x39cfc6(_0x18b343){const _0x35ed66=Array[_0x14d7('0x7b')](_0x2dfb43['getRanges']())['map'](_0x51b894=>_0x2d363b['fromRange'](_0x51b894));_0x31c9ed[_0x14d7('0x78')][_0x14d7('0x6a')](_0xe58ef9=>{const _0x49982c=_0xe58ef9['batch'];_0x18b343=_0x18b343['filter'](_0x2895b9=>_0x14d7('0x21')!=_0x2895b9[_0x14d7('0x32')]['rootName']),_0xe58ef9[_0x14d7('0x54')](_0x18b343),_0x31c9ed[_0x14d7('0x76')][_0x14d7('0x36')]('removeTableRow')[_0x14d7('0x4a')](),_0x31c9ed[_0x14d7('0x28')](_0x14d7('0x15'),{'forceDefaultExecution':!0x0}),_0x31c9ed[_0x14d7('0x78')]['enqueueChange'](()=>{_0x31c9ed['model'][_0x14d7('0x25')](_0x49982c,_0x46e5a0=>{const _0x210a46=_0x35ed66[_0x14d7('0x4b')](_0x397783=>_0x14d7('0x21')!=_0x397783[_0x14d7('0x32')][_0x14d7('0x17')]);_0x210a46['length']>0x0&&_0x46e5a0[_0x14d7('0x54')](_0x210a46);for(const _0x4a76a8 of _0x35ed66)_0x4a76a8[_0x14d7('0x41')]();});});});}function _0x30a61e(_0x5a24a6){_0x31c9ed[_0x14d7('0x78')][_0x14d7('0x6a')](_0x3c4617=>{const _0x130213=Array['from'](_0x2dfb43[_0x14d7('0x3c')]())[_0x14d7('0x88')](_0x5e6157=>_0x2d363b['fromRange'](_0x5e6157)),_0x13b817=[];for(const _0x239ee2 of _0x5a24a6)for(const _0x18e424 of _0x239ee2['getItems']({'shallow':!0x0}))_0x13b817[_0x14d7('0x26')](_0x18e424);for(const _0x47cba1 of _0x13b817)_0x14d7('0x21')!=_0x47cba1[_0x14d7('0x32')][_0x14d7('0x17')]&&(_0x3c4617['setSelection'](_0x3c4617['createPositionAt'](_0x47cba1,0x0)),_0x31c9ed[_0x14d7('0x76')][_0x14d7('0x36')](_0x14d7('0x66'))['refresh'](),_0x31c9ed[_0x14d7('0x28')](_0x14d7('0x66'),{'forceDefaultExecution':!0x0}));const _0x14fb7f=_0x130213['filter'](_0x118cc1=>_0x14d7('0x21')!=_0x118cc1['root'][_0x14d7('0x17')]);_0x14fb7f['length']>0x0&&_0x3c4617[_0x14d7('0x54')](_0x14fb7f);for(const _0x125e2a of _0x130213)_0x125e2a[_0x14d7('0x41')]();});}function _0x294d5d(_0x463a28,_0x243709){return _0x243709['every'](_0x292863=>_0x463a28[_0x14d7('0x57')](_0x140db6=>_0x140db6[_0x14d7('0x1b')]['isEqual'](_0x292863['start'])||_0x292863['end']['isEqual'](_0x140db6[_0x14d7('0x50')])));}function _0x2d795b(_0x5afc2a,_0x2bb4d5){return _0x5afc2a[_0x14d7('0x57')](_0x219176=>_0x2bb4d5['some'](_0x90cfad=>_0x219176['end'][_0x14d7('0x5c')](_0x90cfad['start'])));}_0x31c9ed[_0x14d7('0x2b')][_0x14d7('0x70')]['on'](_0x14d7('0x55'),(_0x581d4c,_0x22dc5d,_0x2c306c)=>{if(!_0x2c306c[_0x14d7('0x52')][_0x14d7('0x6f')])return;const _0x4bf75b=_0x22dc5d[_0x14d7('0x2e')];if(!_0x4bf75b)return;const _0x34154c=_0x2c306c[_0x14d7('0x5f')]['toViewElement'](_0x4bf75b);function _0x31c3d9(_0x52f17e){return Array['isArray'](_0x52f17e)?_0x52f17e:[_0x52f17e];}_0x34154c&&'tableCell'===_0x4bf75b[_0x14d7('0x23')]&&_0x56a6d1(_0x34154c,_0x2c306c[_0x14d7('0x2')],(_0x2588b3,_0x3cf809,_0x39907e)=>_0x39907e[_0x14d7('0x4f')](_0x31c3d9(_0x3cf809[_0x14d7('0x7')]),_0x2588b3),(_0x1dfdbc,_0xf7ba23,_0x15d2ee)=>_0x15d2ee[_0x14d7('0x13')](_0x31c3d9(_0xf7ba23['classes']),_0x1dfdbc));},{'priority':'highest'}),_0x467595['_descriptionFactory'][_0x14d7('0x53')](_0x2100eb=>{if('insertion'!=_0x2100eb[_0x14d7('0x6c')]&&_0x14d7('0x63')!=_0x2100eb[_0x14d7('0x6c')])return;const _0x4799fa=_0x2100eb[_0x14d7('0x39')]();if(null!=_0x4799fa&&_0x4799fa['is'](_0x14d7('0x73'),_0x14d7('0x51'))){if(_0x14d7('0x11')==_0x2100eb['type']){const _0x248413=_0x2100eb[_0x14d7('0x1e')]()[_0x14d7('0x4b')](_0x21c14b=>_0x21c14b['is'](_0x14d7('0xf')))['map'](_0x338171=>_0x338171[_0x14d7('0x2b')]);if(_0x248413[_0x14d7('0x1d')])return{'type':_0x14d7('0x11'),'content':_0xe53a53(_0x33bb08,'*Insert:*\x20%0',_0xe53a53(_0x33bb08,_0x14d7('0xd'),'\x22'+_0x248413[_0x14d7('0x5d')]('\x20')+'\x22'))};}if('deletion'==_0x2100eb[_0x14d7('0x6c')]){const _0x37c065=_0x2100eb[_0x14d7('0x1e')]()[_0x14d7('0x4b')](_0x26a2bd=>_0x26a2bd['is'](_0x14d7('0xf')))[_0x14d7('0x88')](_0x3423ec=>_0x3423ec[_0x14d7('0x2b')]);if(_0x37c065[_0x14d7('0x1d')])return{'type':_0x14d7('0x63'),'content':_0xe53a53(_0x33bb08,'*Remove:*\x20%0',_0xe53a53(_0x33bb08,_0x14d7('0xd'),'\x22'+_0x37c065[_0x14d7('0x5d')]('\x20')+'\x22'))};}}}),_0x467595[_0x14d7('0x31')][_0x14d7('0x53')](_0x2cb2da=>{if(_0x14d7('0x49')==_0x2cb2da[_0x14d7('0x89')]){const _0x34a0d8=_0x2cb2da['getItems']()[_0x14d7('0x4b')](_0x5db7be=>_0x5db7be['is'](_0x14d7('0xf')))[_0x14d7('0x88')](_0x1c2c5c=>_0x1c2c5c['data']),_0x33c051=this[_0x14d7('0x5e')](_0x2cb2da),_0x474e4a=_0x33c051[_0x14d7('0x42')]-_0x33c051[_0x14d7('0x2d')]+0x1;if(_0x14d7('0x11')==_0x2cb2da['type'])return _0x34a0d8[_0x14d7('0x1d')]?{'type':_0x14d7('0x11'),'content':_0xe53a53(_0x33bb08,_0x14d7('0x79'),_0xe53a53(_0x33bb08,_0x14d7('0x3d'),[_0x474e4a,'\x22'+_0x34a0d8[_0x14d7('0x5d')]('\x20')+'\x22']))}:{'type':_0x14d7('0x11'),'content':_0xe53a53(_0x33bb08,_0x14d7('0x79'),_0xe53a53(_0x33bb08,_0x14d7('0xc'),_0x474e4a))};if(_0x14d7('0x63')==_0x2cb2da['type'])return _0x34a0d8[_0x14d7('0x1d')]?{'type':_0x14d7('0x63'),'content':_0xe53a53(_0x33bb08,'*Remove:*\x20%0',_0xe53a53(_0x33bb08,_0x14d7('0x3d'),[_0x474e4a,'\x22'+_0x34a0d8[_0x14d7('0x5d')]('\x20')+'\x22']))}:{'type':'deletion','content':_0xe53a53(_0x33bb08,_0x14d7('0x48'),_0xe53a53(_0x33bb08,_0x14d7('0xc'),_0x474e4a))};}if(_0x14d7('0x4d')==_0x2cb2da[_0x14d7('0x89')]){const _0x26035b=_0x2cb2da[_0x14d7('0x1e')]()[_0x14d7('0x4b')](_0x5e1288=>_0x5e1288['is'](_0x14d7('0xf')))[_0x14d7('0x88')](_0x15588c=>_0x15588c[_0x14d7('0x2b')]),_0x35af4a=this[_0x14d7('0x5e')](_0x2cb2da),_0x16df11=_0x35af4a[_0x14d7('0x68')]-_0x35af4a[_0x14d7('0x24')]+0x1;if(_0x14d7('0x11')==_0x2cb2da[_0x14d7('0x6c')])return _0x26035b[_0x14d7('0x1d')]?{'type':'insertion','content':_0xe53a53(_0x33bb08,_0x14d7('0x79'),_0xe53a53(_0x33bb08,_0x14d7('0x1c'),[_0x16df11,'\x22'+_0x26035b[_0x14d7('0x5d')]('\x20')+'\x22']))}:{'type':'insertion','content':_0xe53a53(_0x33bb08,'*Insert:*\x20%0',_0xe53a53(_0x33bb08,_0x14d7('0x8c'),_0x16df11))};if(_0x14d7('0x63')==_0x2cb2da[_0x14d7('0x6c')])return _0x26035b[_0x14d7('0x1d')]?{'type':'deletion','content':_0xe53a53(_0x33bb08,_0x14d7('0x48'),_0xe53a53(_0x33bb08,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x16df11,'\x22'+_0x26035b[_0x14d7('0x5d')]('\x20')+'\x22']))}:{'type':_0x14d7('0x63'),'content':_0xe53a53(_0x33bb08,'*Remove:*\x20%0',_0xe53a53(_0x33bb08,_0x14d7('0x8c'),_0x16df11))};}}),_0x467595['_suggestionFactory'][_0x14d7('0x61')]('insertion',_0x14d7('0x49'),_0x14d7('0x4c'),_0x39cfc6),_0x467595['_suggestionFactory'][_0x14d7('0x61')](_0x14d7('0x63'),'tableRow',_0x14d7('0x35'),_0x39cfc6),_0x467595[_0x14d7('0x69')][_0x14d7('0x61')]('insertion',_0x14d7('0x4d'),_0x14d7('0x4c'),_0x30a61e),_0x467595[_0x14d7('0x69')][_0x14d7('0x61')](_0x14d7('0x63'),_0x14d7('0x4d'),'accept',_0x30a61e),_0x467595[_0x14d7('0x69')][_0x14d7('0x61')]('insertion',_0x14d7('0x4d'),_0x14d7('0x5d'),_0x294d5d),_0x467595[_0x14d7('0x69')][_0x14d7('0x61')](_0x14d7('0x63'),_0x14d7('0x4d'),_0x14d7('0x5d'),_0x294d5d),_0x467595[_0x14d7('0x69')]['registerCustomCallback'](_0x14d7('0x11'),'tableRow',_0x14d7('0x5d'),_0x2d795b),_0x467595[_0x14d7('0x69')][_0x14d7('0x61')]('deletion',_0x14d7('0x49'),_0x14d7('0x5d'),_0x2d795b);}['_acceptFormatSuggestionCallbackFactory'](){const _0x3afc47=this['editor'],_0x1896f3=_0x3afc47[_0x14d7('0x78')][_0x14d7('0x38')][_0x14d7('0x7d')];return(_0x214cd0,_0x3b4ec2)=>{_0x3afc47[_0x14d7('0x78')][_0x14d7('0x6a')](_0x4ede27=>{const {commandName:_0x11042a,commandParams:_0xbc78d9}=_0x3b4ec2;let _0x22fdd9=_0x214cd0[0x0][_0x14d7('0x1b')][_0x14d7('0x3a')];_0xbc78d9&&_0xbc78d9[0x0]&&!0x1===_0xbc78d9[0x0][_0x14d7('0x7e')]&&(_0x22fdd9=_0x214cd0[0x0][_0x14d7('0x50')][_0x14d7('0x0')]);const _0x3a7fc0=_0x4ede27[_0x14d7('0x80')](_0x22fdd9);if(_0x14d7('0x21')==_0x3a7fc0[_0x14d7('0x32')]['rootName'])return;const _0x467170=Array['from'](_0x1896f3[_0x14d7('0x3c')]())[_0x14d7('0x88')](_0x201e4c=>_0x2d363b[_0x14d7('0x72')](_0x201e4c));_0x4ede27['setSelection'](_0x3a7fc0),_0x3afc47[_0x14d7('0x76')][_0x14d7('0x36')](_0x11042a)[_0x14d7('0x4a')](),_0xbc78d9[_0x14d7('0x26')]({'forceDefaultExecution':!0x0}),_0x3afc47['execute'](_0x11042a,..._0xbc78d9);const _0x3fe3c0=_0x467170[_0x14d7('0x4b')](_0x1c78d1=>_0x14d7('0x21')!=_0x1c78d1[_0x14d7('0x32')][_0x14d7('0x17')]);_0x3fe3c0[_0x14d7('0x1d')]>0x0&&_0x4ede27[_0x14d7('0x54')](_0x3fe3c0);for(const _0x403c75 of _0x467170)_0x403c75[_0x14d7('0x41')]();});};}[_0x14d7('0x58')](_0x439775){const _0x579920=this[_0x14d7('0x59')][_0x14d7('0x19')][_0x14d7('0x36')](_0x14d7('0x30'));let _0x11f092=Number[_0x14d7('0x10')],_0x27d538=Number[_0x14d7('0x12')],_0x305805=Number[_0x14d7('0x10')],_0x1642dd=Number['MIN_SAFE_INTEGER'];for(const _0x2ed7d1 of _0x439775){if(_0x14d7('0x21')==_0x2ed7d1['root'][_0x14d7('0x17')])continue;const {row:_0x39eb3a,column:_0x3a9c63}=_0x579920[_0x14d7('0x5b')](_0x2ed7d1),_0xe875f7=_0x2ed7d1[_0x14d7('0x46')](_0x14d7('0x1a'))?_0x2ed7d1[_0x14d7('0x3b')](_0x14d7('0x1a'))-0x1:0x0,_0x9d330f=_0x2ed7d1['hasAttribute'](_0x14d7('0x33'))?_0x2ed7d1[_0x14d7('0x3b')]('colspan')-0x1:0x0;_0x11f092=_0x39eb3a<_0x11f092?_0x39eb3a:_0x11f092,_0x27d538=_0x39eb3a+_0xe875f7>_0x27d538?_0x39eb3a+_0xe875f7:_0x27d538,_0x305805=_0x3a9c63<_0x305805?_0x3a9c63:_0x305805,_0x1642dd=_0x3a9c63+_0x9d330f>_0x1642dd?_0x3a9c63+_0x9d330f:_0x1642dd;}return{'minRow':_0x11f092,'maxRow':_0x27d538,'minColumn':_0x305805,'maxColumn':_0x1642dd};}[_0x14d7('0x6d')](){const _0x1f6889=this['editor'],_0x22e06e=_0x1f6889[_0x14d7('0x19')][_0x14d7('0x36')](_0x14d7('0x3f')),_0x359acd=_0x1f6889[_0x14d7('0x19')][_0x14d7('0x36')](_0x14d7('0x30'));_0x1f6889[_0x14d7('0x78')][_0x14d7('0x38')]['on'](_0x14d7('0x34'),()=>{const _0x4999bb=Array[_0x14d7('0x7b')](_0x1f6889[_0x14d7('0x78')]['document'][_0x14d7('0x87')][_0x14d7('0x7c')]());for(const {name:_0x3065d7,data:_0x24bbe0}of _0x4999bb){const {group:_0x4415f6,id:_0x2f9068,subType:_0x1393b9}=_0x22e06e[_0x14d7('0x86')](_0x3065d7);if(_0x14d7('0x71')!=_0x4415f6)continue;if(null!=_0x24bbe0['oldRange'])continue;const _0xee6322=_0x22e06e[_0x14d7('0x7f')](_0x2f9068);this[_0x14d7('0x67')][_0x14d7('0x7a')](_0x1393b9)&&this[_0x14d7('0x56')][_0x14d7('0x6')](_0xee6322);}},{'priority':_0x14d7('0x8a')});const _0x305370=(_0x3860b4,_0x5c2e6d)=>{let _0x476e7b=!0x1;const _0x539fa0=_0x5c2e6d[_0x14d7('0x6e')](_0x3860b4),_0x285148=_0x3860b4[_0x14d7('0x62')](_0x14d7('0x51')),_0x2fe7ee=_0x359acd[_0x14d7('0x5b')](_0x3860b4);for(const _0x2edd2a of this[_0x14d7('0x56')]){const _0x361fe4=_0x2edd2a[_0x14d7('0x89')],_0x480b99=_0x361fe4[_0x14d7('0x2c')](_0x14d7('0x74')),_0x48b726=_0x361fe4['substr'](_0x480b99?0xa:0x5),_0x21b3d8=_0x48b726[_0x14d7('0x5a')](),_0x5c0a39=_0x21b3d8[_0x14d7('0x2f')](0x0,0x3)+_0x14d7('0x8b'),_0x476fdd=_0x14d7('0x60')+_0x48b726,_0x38f707=_0x14d7('0xb')+_0x48b726;if(!_0x2edd2a[_0x14d7('0x77')])continue;if(_0x285148!=_0x2edd2a[_0x14d7('0x14')]()[_0x14d7('0x50')][_0x14d7('0x62')]('table'))continue;if(_0x2edd2a[_0x14d7('0x6b')](_0x539fa0))continue;const _0x8496e4=_0x3860b4[_0x14d7('0x46')](_0x5c0a39)?_0x3860b4['getAttribute'](_0x5c0a39)-0x1:0x0,_0x1263a6=this[_0x14d7('0x5e')](_0x2edd2a),_0x9cad41=_0x1263a6[_0x476fdd],_0x19fd3e=_0x1263a6[_0x38f707];_0x9cad41<=_0x2fe7ee[_0x21b3d8]&&_0x2fe7ee[_0x21b3d8]+_0x8496e4<=_0x19fd3e&&(_0x2edd2a['addRange'](_0x539fa0),_0x476e7b=!0x0);}return _0x476e7b;};_0x1f6889['model'][_0x14d7('0x38')][_0x14d7('0xe')](_0x20a99a=>{let _0x33242c=!0x1;for(const _0x6b012d of _0x1f6889['model'][_0x14d7('0x38')]['differ'][_0x14d7('0x22')]())if(_0x14d7('0x44')==_0x6b012d[_0x14d7('0x6c')]){if(_0x14d7('0x49')==_0x6b012d[_0x14d7('0x23')])for(const _0x32e68e of _0x6b012d[_0x14d7('0x18')][_0x14d7('0x0')][_0x14d7('0x27')]())_0x33242c=_0x33242c||_0x305370(_0x32e68e,_0x20a99a);else _0x14d7('0x4')==_0x6b012d['name']&&(_0x33242c=_0x33242c||_0x305370(_0x6b012d[_0x14d7('0x18')][_0x14d7('0x0')],_0x20a99a));}return _0x33242c;});}[_0x14d7('0x5e')](_0x4d29f8){return this['_getCoordsForCells'](_0x4d29f8['getRanges']()[_0x14d7('0x88')](_0x4bbf93=>_0x4bbf93[_0x14d7('0x50')][_0x14d7('0x0')]));}}function ue(_0x128464){return Array[_0x14d7('0x7b')](new Set(_0x128464)[_0x14d7('0x65')]());}
|