@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240202.0 → 0.0.0-nightly-20240204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _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;}
|
|
23
|
+
const _0x73d6=['detach','documentList','meta','groupId','_registerLegacyDescription','getFirstMarker','FORMAT_INDENT','outdentList','getFirstRange','*Merge:*\x20%0','editor','listType','default','indentList','getAttribute','length','_descriptionFactory','nodeAfter','ELEMENT_BULLETED_LIST','batch','_suggestionFactory','change','oldValue','listStart','ELEMENT_TODO_LIST','getSuggestions','registerDescriptionCallback','data','numbered','setAttribute','document','*Format:*\x20remove\x20from\x20%0','removeMarker','mergeListItemBackward','*Outdent:*\x20%0','start','head','schema','registerElementLabel','includes','ELEMENT_LIST_ITEM','type','listIndent','isNextTo','commandParams','ELEMENT_NUMBERED_LIST','registerAttributeLabel','mergeListItemForward','model','previousSibling','map','TrackChangesEditing','*Merge:*\x20list\x20item','*Format:*\x20insert\x20into\x20%0','attributes','plugins','listReversed','_getAttributeKey','multipleBlocks','isLocal','refresh','value','createPositionAt','key','next','newValue','_findSuggestions','parent','format','listStyle','_enableDefaultAttributesIntegration','formatBlock','registerPostFixer','TodoListEditing','getRanges','*Set\x20format:*\x20%0','find','listItemIdFixer','registerCustomCallback','noTrackChangesFixer','todo','todoList','every','range','ListEditing','end','todoListChecked','fromRange','toUpperCase','listItemId','filter','*Remove\x20format:*\x20%0','bulleted','commandName','numberedList','list.multiBlock','has','splitListItemAfter','splitListItemBefore','*Indent:*\x20%0','get','isObject','commands','differ','getChanges','createRange','forceValue','deletion','config','selection','isUndo','setSelection','locale','attribute','bulletedList','*Split:*\x20list\x20item','suggestion','assureChains'];(function(_0x1abaff,_0x73d6a6){const _0x5d74f1=function(_0x340912){while(--_0x340912){_0x1abaff['push'](_0x1abaff['shift']());}};_0x5d74f1(++_0x73d6a6);}(_0x73d6,0xd4));const _0x5d74=function(_0x1abaff,_0x73d6a6){_0x1abaff=_0x1abaff-0x0;let _0x5d74f1=_0x73d6[_0x1abaff];return _0x5d74f1;};import{Plugin as _0x44471b}from'ckeditor5/src/core.js';import{getTranslation as _0x3e48f6}from'../utils/common-translations.js';import{renameAttributeKey as _0x58965e}from'../trackchangesediting.js';import{LiveRange as _0x406546}from'ckeditor5/src/engine.js';export default class z extends _0x44471b{['afterInit'](){const _0x2bf092=this[_0x5d74('0x22')];if(!_0x2bf092[_0x5d74('0x4f')][_0x5d74('0x2')](_0x5d74('0x6c')))return;const _0x515ffa=_0x2bf092[_0x5d74('0x12')],_0x1004d4=_0x2bf092['plugins'][_0x5d74('0x6')](_0x5d74('0x4b')),_0x3bc50e=_0x2bf092[_0x5d74('0x4f')][_0x5d74('0x2')](_0x5d74('0x61')),_0x32e10b=!!_0x2bf092[_0x5d74('0xe')][_0x5d74('0x6')](_0x5d74('0x1'));function _0x51fc58(_0x1df817){return{'type':_0x5d74('0x5c'),'content':''+_0x3e48f6(_0x515ffa,_0x5d74('0x63'),_0x1df817)};}function _0x10fbd4(_0x2a24dd){return{'type':_0x5d74('0x5c'),'content':''+_0x3e48f6(_0x515ffa,_0x5d74('0x73'),_0x2a24dd)};}_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x0'),[],[_0x5d74('0x71'),_0x5d74('0x23'),_0x5d74('0x42')]),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x14')),_0x1004d4[_0x5d74('0x5e')]('indentList'),_0x1004d4['_enableDefaultAttributesIntegration'](_0x5d74('0x1f')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x3')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x4')),_0x32e10b&&(_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x39')),_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x47'))),_0x3bc50e&&(_0x1004d4[_0x5d74('0x5e')](_0x5d74('0x69')),_0x1004d4['_enableDefaultAttributesIntegration']('checkTodoList',[],[_0x5d74('0x6e')]),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0x4cf67f=>{const {data:_0x372dbb}=_0x4cf67f;if(_0x372dbb&&'todoListChecked'==_0x372dbb[_0x5d74('0x57')])return{'type':_0x5d74('0x5c'),'content':_0x372dbb[_0x5d74('0x59')]?_0x3e48f6(_0x515ffa,'*Check\x20item*'):_0x3e48f6(_0x515ffa,'*Uncheck\x20item*')};}),this[_0x5d74('0x22')][_0x5d74('0x48')]['document']['registerPostFixer'](_0x483901=>{if(_0x483901[_0x5d74('0x2b')][_0x5d74('0x10')])return!0x1;let _0x572250=!0x1;const _0x4f6e20=_0x1004d4[_0x5d74('0x31')]({'skipNotAttached':!0x0})[_0x5d74('0x72')](_0x420f64=>_0x5d74('0x6e')===_0x1004d4[_0x5d74('0x51')](_0x420f64));for(const _0x2fcaa8 of _0x4f6e20){_0x5d74('0x68')!=_0x2fcaa8['getFirstRange']()[_0x5d74('0x3b')][_0x5d74('0x29')][_0x5d74('0x26')](_0x5d74('0x23'))&&(_0x1004d4['_findSuggestions'](_0x2fcaa8[_0x5d74('0x20')](),_0x5d74('0x13'))[_0x5d74('0x64')](_0x4c59a9=>_0x5d74('0x23')===_0x1004d4['_getAttributeKey'](_0x4c59a9[_0x5d74('0x16')]))||(_0x483901['removeMarker'](_0x2fcaa8['getFirstMarker']()),_0x572250=!0x0));}return _0x572250;})),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x46')]('listIndent',_0x3e48f6(_0x515ffa,_0x5d74('0x1e')));const _0x1b7d12={'type':'format','content':''};_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0x433bd8=>{const {data:_0x1b7976}=_0x433bd8;if(!_0x1b7976||_0x5d74('0x23')!=_0x1b7976[_0x5d74('0x57')])return;let _0x1dad11=_0x433bd8[_0x5d74('0x3c')];for(;_0x1dad11;){if(_0x1dad11[_0x5d74('0x33')]&&(_0x5d74('0x5d')==_0x1dad11[_0x5d74('0x33')][_0x5d74('0x57')]&&(_0x1dad11[_0x5d74('0x33')][_0x5d74('0x59')]&&_0x5d74('0x24')!=_0x1dad11[_0x5d74('0x33')]['newValue']||_0x5d74('0x24')!=_0x1dad11[_0x5d74('0x33')][_0x5d74('0x2e')]&&!_0x1b7976['newValue'])||!_0x32e10b&&_0x1dad11[_0x5d74('0x33')][_0x5d74('0x57')]==_0x58965e))return _0x1b7d12;_0x1dad11=_0x1dad11[_0x5d74('0x58')];}if(null==_0x1b7976['newValue'])switch(_0x1b7976[_0x5d74('0x2e')]){case _0x5d74('0x74'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x2a')));case _0x5d74('0x34'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x45')));case _0x5d74('0x68'):return _0x10fbd4(_0x3e48f6(_0x515ffa,_0x5d74('0x30')));}switch(_0x1b7976['newValue']){case _0x5d74('0x74'):return _0x51fc58(_0x3e48f6(_0x515ffa,'ELEMENT_BULLETED_LIST'));case _0x5d74('0x34'):return _0x51fc58(_0x3e48f6(_0x515ffa,_0x5d74('0x45')));case _0x5d74('0x68'):return _0x51fc58(_0x3e48f6(_0x515ffa,'ELEMENT_TODO_LIST'));}}),_0x1004d4[_0x5d74('0x28')][_0x5d74('0x32')](_0xe4fb7f=>{const {data:_0x45a159}=_0xe4fb7f;if(_0x45a159&&'listIndent'==_0x45a159['key'])return null==_0x45a159[_0x5d74('0x59')]||null==_0x45a159[_0x5d74('0x2e')]&&0x0==_0x45a159[_0x5d74('0x59')]?_0x1b7d12:void 0x0;}),_0x1004d4['_descriptionFactory'][_0x5d74('0x32')](_0x585a66=>{if(_0x5d74('0x13')!=_0x585a66['type'])return;const {data:_0x900c19}=_0x585a66;if(!_0x900c19||_0x5d74('0x71')!=_0x900c19[_0x5d74('0x57')])return;const _0x3394cc=ie(_0x585a66);return _0x3394cc?'newValue'==_0x3394cc?{'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x515ffa,_0x5d74('0x4c'))}:_0x5d74('0x2e')==_0x3394cc?{'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x515ffa,_0x5d74('0x15'))}:_0x1b7d12:_0x1b7d12;}),_0x2bf092['model']['document'][_0x5d74('0x60')](_0x5a80a1=>this[_0x5d74('0x65')](_0x5a80a1)),_0x2bf092[_0x5d74('0x48')][_0x5d74('0x36')]['registerPostFixer'](_0x3c30bc=>this[_0x5d74('0x67')](_0x3c30bc)),_0x2bf092['model'][_0x5d74('0x36')][_0x5d74('0x60')](_0x151a3c=>this[_0x5d74('0x17')](_0x151a3c)),this['_supportLegacySuggestions']();}[_0x5d74('0x65')](_0x6d3b9){if(_0x6d3b9[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x6d3b9['batch']['isLocal'])return!0x1;let _0x21ea1f=!0x1;const _0x25eddf=this['editor'][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'))[_0x5d74('0x31')]({'skipNotAttached':!0x0})['filter'](_0xe51416=>_0xe51416[_0x5d74('0x33')]&&'listItemId'==_0xe51416['data'][_0x5d74('0x57')])['filter'](_0x77db38=>_0x77db38['data'][_0x5d74('0x59')]&&_0x77db38['data']['oldValue']);for(const _0x2f1ceb of _0x25eddf)ie(_0x2f1ceb)||(_0x6d3b9[_0x5d74('0x38')](_0x2f1ceb['getFirstMarker']()),_0x21ea1f=!0x0);return _0x21ea1f;}['noTrackChangesFixer'](_0x38b244){if(_0x38b244[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x38b244['batch'][_0x5d74('0x53')])return!0x1;const _0x27ce28=this[_0x5d74('0x22')][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'));if(_0x27ce28['trackChangesCommand'][_0x5d74('0x55')])return!0x1;let _0x27d34e=!0x1;const _0x268978=['listType','listStyle',_0x5d74('0x71'),_0x5d74('0x42'),'listStart',_0x5d74('0x50'),'todoListCheck'],_0x23c1f4=this[_0x5d74('0x22')]['model']['document'][_0x5d74('0x9')][_0x5d74('0xa')]()[_0x5d74('0x72')](_0x30b31a=>'attribute'==_0x30b31a['type'])[_0x5d74('0x72')](_0x4c5297=>_0x268978[_0x5d74('0x3f')](_0x4c5297['attributeKey']));if(0x0==_0x23c1f4[_0x5d74('0x27')])return _0x27d34e;for(const _0x52358a of _0x23c1f4){const _0xed63ea=_0x27ce28[_0x5d74('0x5a')](_0x52358a[_0x5d74('0x6b')],_0x5d74('0x13'))[_0x5d74('0x72')](_0x3ebddc=>!_0x3ebddc[_0x5d74('0x1a')][_0x5d74('0x43')])[_0x5d74('0x4a')](_0x575c35=>_0x575c35[_0x5d74('0x16')])[_0x5d74('0x72')](_0x44e7f8=>{const _0x144911=_0x27ce28[_0x5d74('0x51')](_0x44e7f8);return _0x268978[_0x5d74('0x3f')](_0x144911);});if(_0xed63ea[_0x5d74('0x27')]){for(const _0x26b722 of _0xed63ea)_0x38b244[_0x5d74('0x38')](_0x26b722[_0x5d74('0x1d')]());_0x27d34e=!0x0;}}return _0x27d34e;}[_0x5d74('0x17')](_0x3f1d4d){if(_0x3f1d4d[_0x5d74('0x2b')][_0x5d74('0x10')]||!_0x3f1d4d[_0x5d74('0x2b')][_0x5d74('0x53')])return!0x1;const _0x589e5b=this[_0x5d74('0x22')][_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'));let _0x2c5398=!0x1;const _0x377273=[_0x5d74('0x23'),_0x5d74('0x5d'),'listItemId','listIndent',_0x5d74('0x2f'),_0x5d74('0x50'),'todoListCheck'];for(const _0x30a38e of _0x589e5b[_0x5d74('0x31')]({'skipNotAttached':!0x0})){const _0x5aad9c=_0x589e5b[_0x5d74('0x5a')](_0x30a38e[_0x5d74('0x20')](),_0x5d74('0x13'))[_0x5d74('0x4a')](_0x391e2a=>_0x391e2a['suggestion'])[_0x5d74('0x72')](_0x11db7f=>_0x11db7f['data']&&_0x377273[_0x5d74('0x3f')](_0x11db7f[_0x5d74('0x33')][_0x5d74('0x57')]));if(!_0x5aad9c[_0x5d74('0x27')])continue;const _0x370fb7=_0x5aad9c[0x0][_0x5d74('0x3c')][_0x5d74('0x4e')][_0x5d74('0x1b')];if(!_0x5aad9c[_0x5d74('0x6a')](_0x278adc=>_0x278adc[_0x5d74('0x4e')][_0x5d74('0x1b')]===_0x370fb7))for(const _0x47a0ea of _0x5aad9c)_0x4614b2(_0x47a0ea,_0x370fb7)&&(_0x2c5398=!0x0);}return _0x2c5398;function _0x486683(_0x495777,_0x2f3015){for(const _0x10cbc8 of _0x589e5b[_0x5d74('0x31')]({'skipNotAttached':!0x0})['filter'](_0x3fcc94=>_0x5d74('0x13')==_0x3fcc94[_0x5d74('0x41')]&&_0x3fcc94['attributes']['groupId']==_0x495777))_0x10cbc8[_0x5d74('0x35')](_0x5d74('0x1b'),_0x2f3015);}function _0x4614b2(_0x2ce6fb,_0x250fcd){let _0xbbd21=_0x2ce6fb[_0x5d74('0x3c')],_0x2fb222=!0x1;for(;_0xbbd21;)_0xbbd21[_0x5d74('0x4e')][_0x5d74('0x1b')]!=_0x250fcd&&(_0x486683(_0xbbd21['attributes'][_0x5d74('0x1b')],_0x250fcd),_0xbbd21['setAttribute'](_0x5d74('0x1b'),_0x250fcd),_0x2fb222=!0x0),_0xbbd21=_0xbbd21[_0x5d74('0x58')];return _0x2fb222;}}['_supportLegacySuggestions'](){const _0x16b3ad=this['editor'],_0x11ec77=_0x16b3ad[_0x5d74('0x12')],_0xfd0934=_0x16b3ad[_0x5d74('0x4f')]['get'](_0x5d74('0x4b'));this[_0x5d74('0x1c')](),_0xfd0934[_0x5d74('0x2c')][_0x5d74('0x66')](_0x5d74('0x5f'),_0x5d74('0x19'),'accept',function(_0x2e1f83,_0x5be084){const _0x37826e=[];for(let _0x460e4d of _0x2e1f83)_0x460e4d[_0x5d74('0x3b')][_0x5d74('0x29')]===_0x460e4d[_0x5d74('0x6d')][_0x5d74('0x5b')]&&(_0x460e4d=_0x16b3ad[_0x5d74('0x48')][_0x5d74('0xb')](_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x56')](_0x460e4d['start'][_0x5d74('0x29')],0x0))),_0x37826e['push'](_0x460e4d);_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x2d')](_0x2204f9=>{const _0x116b34=_0x16b3ad['model'][_0x5d74('0x36')][_0x5d74('0xf')],_0x3d3fda=Array['from'](_0x116b34[_0x5d74('0x62')]())['map'](_0x23101c=>_0x406546[_0x5d74('0x6f')](_0x23101c));_0x2204f9[_0x5d74('0x11')](_0x37826e),_0x16b3ad[_0x5d74('0x8')][_0x5d74('0x6')](_0x5be084[_0x5d74('0x75')])[_0x5d74('0x54')](),_0x5be084[_0x5d74('0x44')]['push']({'forceDefaultExecution':!0x0}),_0x16b3ad['execute'](_0x5be084[_0x5d74('0x75')],..._0x5be084[_0x5d74('0x44')]),_0x2204f9[_0x5d74('0x11')](_0x3d3fda);for(const _0x50e8e6 of _0x3d3fda)_0x50e8e6[_0x5d74('0x18')]();});}),_0xfd0934[_0x5d74('0x28')][_0x5d74('0x3e')](function(_0x5990d7){const _0x3cd945=!_0x16b3ad[_0x5d74('0x48')][_0x5d74('0x3d')][_0x5d74('0x7')](_0x5990d7),_0x447263=_0x5990d7[_0x5d74('0x49')],_0x29fc77=_0x5990d7['nextSibling'],_0x4bed0d=_0x5990d7[_0x5d74('0x26')](_0x5d74('0x71')),_0x56561d=!_0x447263||_0x447263[_0x5d74('0x26')]('listItemId')!==_0x4bed0d,_0x305932=!_0x29fc77||_0x29fc77[_0x5d74('0x26')](_0x5d74('0x71'))!==_0x4bed0d;return _0x3cd945&&Boolean(_0x4bed0d)&&_0x56561d&&_0x305932;},_0x38e943=>_0x3e48f6(_0x11ec77,'ELEMENT_LIST_ITEM',_0x38e943));}[_0x5d74('0x1c')](){const _0xa69b2e=this[_0x5d74('0x22')],_0x2a2987=_0xa69b2e[_0x5d74('0x12')];function _0x43094b(_0x31f93b){const _0x54df39=_0xa69b2e['commands']['get'](_0x5d74('0x14'))['value'],_0x42805d=_0xa69b2e[_0x5d74('0x8')][_0x5d74('0x6')](_0x5d74('0x0'))['value'];return _0x5d74('0x0')===_0x31f93b?_0x54df39:_0x42805d;}_0xa69b2e[_0x5d74('0x4f')][_0x5d74('0x6')](_0x5d74('0x4b'))[_0x5d74('0x28')][_0x5d74('0x32')](function(_0x3fc356){if(_0x5d74('0x5f')!=_0x3fc356[_0x5d74('0x41')])return;const {data:_0xb9ce7b}=_0x3fc356;if(!_0xb9ce7b)return;let _0x13b2eb,_0x52cf90,_0x58e0c9,_0x1e6967;switch(_0xb9ce7b['commandName']){case'bulletedList':_0x58e0c9=_0xb9ce7b[_0x5d74('0x44')][0x0][_0x5d74('0xc')],_0x1e6967=_0x43094b(_0xb9ce7b[_0x5d74('0x75')]),_0x13b2eb=_0x58e0c9?_0x5d74('0x4d'):_0x5d74('0x37'),!_0x1e6967&&_0xa69b2e[_0x5d74('0xe')]['get']('list.multiBlock')||(_0x13b2eb='*Change\x20to:*\x20%0'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x2a')))};break;case _0x5d74('0x0'):_0x58e0c9=_0xb9ce7b['commandParams'][0x0][_0x5d74('0xc')],_0x1e6967=_0x43094b(_0xb9ce7b['commandName']),_0x13b2eb=_0x58e0c9?_0x5d74('0x4d'):'*Format:*\x20remove\x20from\x20%0',!_0x1e6967&&_0xa69b2e[_0x5d74('0xe')][_0x5d74('0x6')]('list.multiBlock')||(_0x13b2eb='*Change\x20to:*\x20%0'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,'ELEMENT_NUMBERED_LIST'))};break;case _0x5d74('0x25'):_0x13b2eb=_0x5d74('0x5'),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x40')))};break;case _0x5d74('0x1f'):_0x13b2eb=function(_0x59bcc5){const _0x436c52=_0x59bcc5[_0x5d74('0x20')]();let _0x1f82a2=_0x436c52[_0x5d74('0x3b')][_0x5d74('0x29')];for(;_0x1f82a2&&_0x436c52['containsItem'](_0x1f82a2);){if(_0x1f82a2['getAttribute'](_0x5d74('0x42'))>0x0)return!0x1;_0x1f82a2=_0x1f82a2['nextSibling'];}return!0x0;}(_0x3fc356)?_0x3e48f6(_0x2a2987,_0x5d74('0x37'),_0x3e48f6(_0x2a2987,function(_0x49db19){return'ELEMENT_'+_0x49db19[_0x5d74('0x20')]()[_0x5d74('0x3b')]['nodeAfter']['getAttribute'](_0x5d74('0x23'))[_0x5d74('0x70')]()+'_LIST';}(_0x3fc356))):_0x3e48f6(_0x2a2987,_0x5d74('0x3a'),_0x3e48f6(_0x2a2987,'ELEMENT_LIST_ITEM')),_0x52cf90={'type':_0x5d74('0x5c'),'content':_0x13b2eb};break;case _0x5d74('0x39'):case _0x5d74('0x47'):!0x1===_0xb9ce7b[_0x5d74('0x52')]&&(_0x13b2eb=_0x5d74('0x21'),_0x52cf90={'type':_0x5d74('0xd'),'content':_0x3e48f6(_0x2a2987,_0x13b2eb,_0x3e48f6(_0x2a2987,_0x5d74('0x40')))});}return _0x52cf90;});}}function ie(_0x37a3af){let _0x175044=_0x37a3af['getFirstRange']()[_0x5d74('0x3b')][_0x5d74('0x29')][_0x5d74('0x49')];for(;_0x175044;){const _0x130585=_0x175044[_0x5d74('0x26')](_0x5d74('0x71'));if(!_0x130585)return!0x1;if(_0x130585==_0x37a3af[_0x5d74('0x33')][_0x5d74('0x59')])return'newValue';if(_0x130585==_0x37a3af[_0x5d74('0x33')][_0x5d74('0x2e')])return _0x5d74('0x2e');_0x175044=_0x175044[_0x5d74('0x49')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x131b=['listType','format','ListPropertiesEditing','_LIST_DEFAULT','registerAttributeLabel','get','_registerLegacyDescription','FORMAT_LIST_REVERSED','registerDescriptionCallback','getSuggestions','find','replace','includes','_getTranslationKeyForListStyle','oldValue','suggestion','disc','editor','newValue','key','document','*Remove\x20format:*\x20%0','*Format:*\x20set\x20order\x20to\x20regular','batch','has','config','upper-latin','plugins','upper-roman','reversed','_findSuggestions','afterInit','locale','formatBlock','listReversed','ELEMENT_','square','decimal-leading-zero','_enableDefaultAttributesIntegration','_LIST_','default','FORMAT_LIST_START','nodeAfter','type','listStyle','model','head','lower-latin','start','handleDescriptions','removeMarker','attribute','listStart','getFirstMarker','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','_descriptionFactory','getFirstRange','getAttribute','toUpperCase','*Set\x20format:*\x20%0','commandParams','bulleted','_getAttributeKey','TrackChangesEditing','filter','data'];(function(_0x505999,_0x131baa){const _0x3af857=function(_0x57beb5){while(--_0x57beb5){_0x505999['push'](_0x505999['shift']());}};_0x3af857(++_0x131baa);}(_0x131b,0x1b5));const _0x3af8=function(_0x505999,_0x131baa){_0x505999=_0x505999-0x0;let _0x3af857=_0x131b[_0x505999];return _0x3af857;};import{Plugin as _0x461989}from'ckeditor5/src/core.js';import{getTranslation as _0x42cf1e}from'../utils/common-translations.js';export default class se extends _0x461989{[_0x3af8('0x3f')](){if(!this[_0x3af8('0x31')]['plugins'][_0x3af8('0x38')](_0x3af8('0x22')))return;const _0x3adce2=this[_0x3af8('0x31')][_0x3af8('0x39')][_0x3af8('0x25')]('list.properties'),_0x263ac5=this[_0x3af8('0x31')][_0x3af8('0x3b')][_0x3af8('0x25')](_0x3af8('0x1d'));_0x3adce2['styles']&&_0x263ac5[_0x3af8('0x3')](_0x3af8('0x9'),[],[_0x3af8('0x9')]),_0x3adce2[_0x3af8('0x3d')]&&_0x263ac5[_0x3af8('0x3')](_0x3af8('0x42'),[],[_0x3af8('0x42')]),_0x3adce2[_0x3af8('0x14')]&&_0x263ac5[_0x3af8('0x3')](_0x3af8('0x11'),[],[_0x3af8('0x11')]);const _0x5b2f08={'type':'format','content':''};_0x263ac5[_0x3af8('0x15')]['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x523762=this[_0x3af8('0x31')]['locale'];_0x263ac5[_0x3af8('0x15')][_0x3af8('0x24')](_0x3af8('0x42'),_0x42cf1e(_0x523762,_0x3af8('0x27'))),_0x263ac5[_0x3af8('0x15')][_0x3af8('0x28')](_0x1d6151=>{const {data:_0x5b51f5}=_0x1d6151;if(_0x5b51f5&&'listReversed'==_0x5b51f5['key'])return null==_0x5b51f5['newValue']||0x0==_0x5b51f5[_0x3af8('0x32')]&&null==_0x5b51f5[_0x3af8('0x2e')]?_0x5b2f08:void 0x0;}),_0x263ac5['_descriptionFactory'][_0x3af8('0x24')](_0x3af8('0x11'),_0x42cf1e(_0x523762,_0x3af8('0x6'))),_0x263ac5[_0x3af8('0x15')][_0x3af8('0x28')](_0x3b66ec=>{const {data:_0x19ff07}=_0x3b66ec;if(_0x19ff07&&'listStart'==_0x19ff07['key'])return null==_0x19ff07[_0x3af8('0x32')]||0x1==_0x19ff07[_0x3af8('0x32')]&&null==_0x19ff07[_0x3af8('0x2e')]?_0x5b2f08:void 0x0;}),this[_0x3af8('0x31')][_0x3af8('0xa')][_0x3af8('0x34')]['registerPostFixer'](_0x2936b9=>{if(_0x2936b9[_0x3af8('0x37')]['isUndo'])return!0x1;let _0x30c17c=!0x1;const _0x5a5cb0=_0x263ac5[_0x3af8('0x29')]({'skipNotAttached':!0x0})[_0x3af8('0x1e')](_0x2a15d8=>{const _0x2aa292=_0x263ac5[_0x3af8('0x1c')](_0x2a15d8);return'listStart'==_0x2aa292||'listReversed'==_0x2aa292;});for(const _0x32d83d of _0x5a5cb0){if('numbered'==_0x32d83d['getFirstRange']()['start'][_0x3af8('0x7')][_0x3af8('0x17')](_0x3af8('0x20')))continue;_0x263ac5[_0x3af8('0x3e')](_0x32d83d['getFirstRange'](),_0x3af8('0x10'))[_0x3af8('0x2a')](_0x429154=>'listType'==_0x263ac5['_getAttributeKey'](_0x429154[_0x3af8('0x2f')]))||(_0x2936b9[_0x3af8('0xf')](_0x32d83d[_0x3af8('0x12')]()),_0x30c17c=!0x0);}return _0x30c17c;}),this['_registerLegacyDescription']();}[_0x3af8('0xe')](_0x2a1b6a){const _0x407353=this[_0x3af8('0x31')][_0x3af8('0x40')],{data:_0x181179}=_0x2a1b6a,_0x81547d={'type':_0x3af8('0x21'),'content':''};if(!_0x181179||_0x3af8('0x9')!=_0x181179['key'])return;if(!_0x181179[_0x3af8('0x2e')])return'default'==_0x181179[_0x3af8('0x32')]?_0x81547d:{'type':'format','content':''+_0x42cf1e(_0x407353,'*Set\x20format:*\x20%0',_0x42cf1e(_0x407353,this[_0x3af8('0x2d')](_0x181179[_0x3af8('0x32')])))};if(!_0x181179[_0x3af8('0x32')]){if(_0x3af8('0x5')==_0x181179[_0x3af8('0x2e')])return _0x81547d;let _0x420133=_0x2a1b6a[_0x3af8('0xb')];for(;_0x420133;){if(_0x420133[_0x3af8('0x1f')]&&_0x3af8('0x20')==_0x420133['data'][_0x3af8('0x33')]&&_0x420133[_0x3af8('0x1f')][_0x3af8('0x32')])return _0x81547d;_0x420133=_0x420133['next'];}return{'type':_0x3af8('0x21'),'content':''+_0x42cf1e(_0x407353,_0x3af8('0x35'),_0x42cf1e(_0x407353,this[_0x3af8('0x2d')](_0x181179[_0x3af8('0x2e')])))};}if(_0x3af8('0x5')!=_0x181179['newValue'])return{'type':_0x3af8('0x21'),'content':''+_0x42cf1e(_0x407353,_0x3af8('0x19'),_0x42cf1e(_0x407353,this[_0x3af8('0x2d')](_0x181179[_0x3af8('0x32')])))};let _0x35f15d=_0x2a1b6a[_0x3af8('0xb')];for(;_0x35f15d;){if(_0x35f15d[_0x3af8('0x1f')]&&'listType'==_0x35f15d[_0x3af8('0x1f')]['key']&&_0x35f15d[_0x3af8('0x1f')][_0x3af8('0x32')]&&_0x35f15d[_0x3af8('0x1f')][_0x3af8('0x2e')])return _0x81547d;_0x35f15d=_0x35f15d['next'];}const _0x2ad1fe=_0x2a1b6a[_0x3af8('0x16')]()[_0x3af8('0xd')]['nodeAfter'][_0x3af8('0x17')](_0x3af8('0x20'));return{'type':_0x3af8('0x21'),'content':_0x42cf1e(_0x407353,_0x3af8('0x19'),_0x42cf1e(_0x407353,'ELEMENT_'+_0x2ad1fe[_0x3af8('0x18')]()+_0x3af8('0x23')))};}[_0x3af8('0x26')](){const _0x3f6c45=this[_0x3af8('0x31')],_0x31ed30=_0x3f6c45[_0x3af8('0x40')];_0x3f6c45['plugins']['get'](_0x3af8('0x1d'))[_0x3af8('0x15')][_0x3af8('0x28')](_0x36f193=>{if(_0x3af8('0x41')!=_0x36f193[_0x3af8('0x8')])return;const {data:_0x388959}=_0x36f193;if(!_0x388959)return;let _0xa44202,_0x3b54c5;switch(_0x388959['commandName']){case _0x3af8('0x9'):_0xa44202='*Change\x20to:*\x20%0',_0x3b54c5={'type':_0x3af8('0x21'),'content':_0x42cf1e(_0x31ed30,_0xa44202,_0x42cf1e(_0x31ed30,this['_getTranslationKeyForListStyle'](_0x388959['commandParams'][0x0][_0x3af8('0x8')])))};break;case _0x3af8('0x42'):_0xa44202=_0x388959['commandParams'][0x0][_0x3af8('0x3d')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3af8('0x36'),_0x3b54c5={'type':'format','content':_0x42cf1e(_0x31ed30,_0xa44202)};break;case'listStart':_0xa44202=_0x3af8('0x13'),_0x3b54c5={'type':_0x3af8('0x21'),'content':_0x42cf1e(_0x31ed30,_0xa44202,_0x388959[_0x3af8('0x1a')][0x0][_0x3af8('0x14')])};}return _0x3b54c5;});}[_0x3af8('0x2d')](_0x39bf77){return _0x3af8('0x0')+function(_0x1f4da5){if(ae[_0x3af8('0x2c')](_0x1f4da5))return _0x3af8('0x1b');if(le[_0x3af8('0x2c')](_0x1f4da5))return'numbered';return null;}(_0x39bf77)[_0x3af8('0x18')]()+_0x3af8('0x4')+_0x39bf77[_0x3af8('0x18')]()[_0x3af8('0x2b')](/-/g,'_');}}const ae=[_0x3af8('0x30'),'circle',_0x3af8('0x1')],le=['decimal',_0x3af8('0x2'),'lower-roman',_0x3af8('0x3c'),_0x3af8('0xc'),_0x3af8('0x3a')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c27=['high','editor','registerElementLabel','options','media','afterInit','TrackChangesEditing','attribute:url:media','_descriptionFactory','enableCommand','ELEMENT_MEDIA','data','locale','plugins','createEmptyElement','for','has','showSuggestionHighlights','div'];(function(_0x429298,_0x5c27c7){const _0x110db3=function(_0x1f7541){while(--_0x1f7541){_0x429298['push'](_0x429298['shift']());}};_0x110db3(++_0x5c27c7);}(_0x5c27,0x17b));const _0x110d=function(_0x429298,_0x5c27c7){_0x429298=_0x429298-0x0;let _0x110db3=_0x5c27[_0x429298];return _0x110db3;};import{Plugin as _0x3625b4}from'ckeditor5/src/core.js';import{getTranslation as _0x3b106a}from'../utils/common-translations.js';export default class ft extends _0x3625b4{[_0x110d('0x6')](){const _0x22235d=this[_0x110d('0x2')];if(!_0x22235d[_0x110d('0xe')][_0x110d('0x11')]('MediaEmbedEditing'))return;const _0x4ca90a=_0x22235d[_0x110d('0xe')]['get'](_0x110d('0x7')),_0x235929=_0x22235d[_0x110d('0xd')];_0x4ca90a[_0x110d('0xa')]('mediaEmbed'),_0x4ca90a[_0x110d('0x9')][_0x110d('0x3')](_0x110d('0x5'),_0x1e99b5=>_0x3b106a(_0x235929,_0x110d('0xb'),_0x1e99b5)),_0x22235d['conversion'][_0x110d('0x10')]('dataDowncast')['elementToElement']({'model':_0x110d('0x5'),'view':(_0x14c09e,{writer:_0x4ba472,options:_0x4a1962})=>{if(_0x4a1962[_0x110d('0x12')])return _0x4ba472[_0x110d('0xf')](_0x110d('0x0'));},'converterPriority':_0x110d('0x1')}),_0x22235d[_0x110d('0xc')]['downcastDispatcher']['on'](_0x110d('0x8'),(_0x43fa98,_0x5096a0,_0x2facd1)=>{_0x2facd1[_0x110d('0x4')][_0x110d('0x12')]&&_0x43fa98['stop']();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdcce=['MentionEditing','has','TrackChangesEditing','plugins','get','mention'];(function(_0x42634c,_0xdcce24){const _0x119664=function(_0xdc8099){while(--_0xdc8099){_0x42634c['push'](_0x42634c['shift']());}};_0x119664(++_0xdcce24);}(_0xdcce,0x17b));const _0x1196=function(_0x42634c,_0xdcce24){_0x42634c=_0x42634c-0x0;let _0x119664=_0xdcce[_0x42634c];return _0x119664;};import{Plugin as _0x586752}from'ckeditor5/src/core.js';export default class gt extends _0x586752{['afterInit'](){const _0x191226=this['editor'];_0x191226[_0x1196('0x2')][_0x1196('0x0')](_0x1196('0x5'))&&_0x191226[_0x1196('0x2')][_0x1196('0x3')](_0x1196('0x1'))['enableCommand'](_0x1196('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bc4=['plugins','ELEMENT_PAGE_BREAK','editor','enableCommand','has','pageBreak','_descriptionFactory','locale','afterInit','registerElementLabel','get','TrackChangesEditing','PageBreakEditing'];(function(_0x381b32,_0x3bc45d){const _0x4d1f76=function(_0x489f5b){while(--_0x489f5b){_0x381b32['push'](_0x381b32['shift']());}};_0x4d1f76(++_0x3bc45d);}(_0x3bc4,0x14f));const _0x4d1f=function(_0x381b32,_0x3bc45d){_0x381b32=_0x381b32-0x0;let _0x4d1f76=_0x3bc4[_0x381b32];return _0x4d1f76;};import{Plugin as _0x37e82b}from'ckeditor5/src/core.js';import{getTranslation as _0x2494b8}from'../utils/common-translations.js';export default class lt extends _0x37e82b{[_0x4d1f('0xb')](){const _0x68af18=this[_0x4d1f('0x5')];if(!_0x68af18['plugins'][_0x4d1f('0x7')](_0x4d1f('0x2')))return;_0x68af18[_0x4d1f('0x3')]['get'](_0x4d1f('0x1'))[_0x4d1f('0x6')](_0x4d1f('0x8'));const _0x4c4b1e=_0x68af18[_0x4d1f('0x3')][_0x4d1f('0x0')](_0x4d1f('0x1')),_0x4b5327=_0x68af18[_0x4d1f('0xa')];_0x4c4b1e[_0x4d1f('0x9')][_0x4d1f('0xc')](_0x4d1f('0x8'),_0x30a6a8=>_0x2494b8(_0x4b5327,_0x4d1f('0x4'),_0x30a6a8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe4b1=['activeMarkers','editor','checkChild','getFirstRange','*Insert:*\x20%0','model','addMarker:suggestion:insertion','consumable','options','nodeAfter','isLimit','paragraph','$text','markerName','Paragraph','enableCommand','highest','insert','afterInit','getItemLabel','span','TrackChangesEditing','format','schema','isTouching','type','*Change\x20to:*\x20%0','bindElementToMarker','get','markerRange','_enableDefaultAttributesIntegration','_registerLegacyDescription','addClass','_descriptionFactory','insertion','includes','ck-suggestion-marker--active','registerDescriptionCallback','isBlock','writer','has','ck-suggestion-marker-split','end','name','showSuggestionHighlights','toViewPosition','editing','downcastDispatcher','plugins','start','formatBlock','locale','registerElementLabel'];(function(_0x67e79,_0xe4b148){const _0x10f9d1=function(_0x30bb7a){while(--_0x30bb7a){_0x67e79['push'](_0x67e79['shift']());}};_0x10f9d1(++_0xe4b148);}(_0xe4b1,0x65));const _0x10f9=function(_0x67e79,_0xe4b148){_0x67e79=_0x67e79-0x0;let _0x10f9d1=_0xe4b1[_0x67e79];return _0x10f9d1;};import{Plugin as _0x52c902}from'ckeditor5/src/core.js';import{getTranslation as _0x5ab0a1}from'../utils/common-translations.js';export default class mt extends _0x52c902{[_0x10f9('0x17')](){const _0x4c2e32=this[_0x10f9('0x6')];if(!_0x4c2e32[_0x10f9('0x0')][_0x10f9('0x2d')](_0x10f9('0x13')))return;const _0x58a90f=_0x4c2e32[_0x10f9('0x3')],_0x286bf0=_0x4c2e32[_0x10f9('0x0')]['get'](_0x10f9('0x1a'));_0x286bf0[_0x10f9('0x26')][_0x10f9('0x4')](_0x10f9('0x10'),_0x2e6399=>_0x5ab0a1(_0x58a90f,'ELEMENT_PARAGRAPH',_0x2e6399)),_0x286bf0[_0x10f9('0x23')](_0x10f9('0x10')),_0x286bf0[_0x10f9('0x14')]('insertParagraph'),_0x4c2e32[_0x10f9('0x33')][_0x10f9('0x34')]['on'](_0x10f9('0xb'),nr(_0x4c2e32),{'priority':_0x10f9('0x15')}),_0x4c2e32['data'][_0x10f9('0x34')]['on']('addMarker:suggestion:insertion',(_0x26481d,_0x5d09f4,_0x1afd44)=>{_0x1afd44[_0x10f9('0xd')][_0x10f9('0x31')]&&nr(_0x4c2e32,{'showActiveMarker':!0x1})(_0x26481d,_0x5d09f4,_0x1afd44);},{'priority':_0x10f9('0x15')});const _0x20eb32=_0x286bf0[_0x10f9('0x26')];_0x20eb32[_0x10f9('0x2a')](_0x15be82=>{if(_0x10f9('0x27')!==_0x15be82['type'])return;const {start:_0x112aae,end:_0x20bf77}=_0x15be82[_0x10f9('0x8')]();if(!_0x112aae['isTouching'](_0x20bf77)||!_0x112aae[_0x10f9('0xe')])return;const _0x3898d6=_0x4c2e32[_0x10f9('0xa')]['schema'],_0x18b7d2=_0x112aae['nodeAfter'];return _0x3898d6[_0x10f9('0x2b')](_0x18b7d2)&&!_0x3898d6[_0x10f9('0xf')](_0x18b7d2)&&_0x3898d6[_0x10f9('0x7')](_0x18b7d2,_0x10f9('0x11'))?{'type':_0x10f9('0x27'),'content':_0x5ab0a1(_0x58a90f,_0x10f9('0x9'),_0x20eb32[_0x10f9('0x18')](_0x18b7d2,0x1))}:void 0x0;}),this[_0x10f9('0x24')]();}[_0x10f9('0x24')](){const _0x4ad614=this['editor'],_0x4da087=_0x4ad614[_0x10f9('0x3')];_0x4ad614[_0x10f9('0x0')][_0x10f9('0x21')](_0x10f9('0x1a'))[_0x10f9('0x26')][_0x10f9('0x2a')](_0x58b53b=>{if(_0x10f9('0x2')!=_0x58b53b[_0x10f9('0x1e')])return;const {data:_0x225ecb}=_0x58b53b;return _0x225ecb&&_0x10f9('0x10')==_0x225ecb['commandName']?{'type':_0x10f9('0x1b'),'content':_0x5ab0a1(_0x4da087,_0x10f9('0x1f'),_0x5ab0a1(_0x4da087,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x454746,{showActiveMarker:_0x33f67a=!0x0}={}){return(_0x3a5229,_0x236a71,_0xe8dedf)=>{const _0x1f66ce=_0x454746['plugins'][_0x10f9('0x21')](_0x10f9('0x1a')),_0x52f589=_0x236a71[_0x10f9('0x22')][_0x10f9('0x1')],_0x35d567=_0x236a71[_0x10f9('0x22')][_0x10f9('0x2f')],_0x1ec8d4=_0x454746[_0x10f9('0xa')][_0x10f9('0x1c')];if(!_0x52f589[_0x10f9('0x1d')](_0x35d567)||!_0x52f589[_0x10f9('0xe')])return;const _0x4103ba=_0x52f589[_0x10f9('0xe')];if(_0x1ec8d4[_0x10f9('0x2b')](_0x4103ba)&&!_0x1ec8d4['isLimit'](_0x4103ba)&&_0x1ec8d4[_0x10f9('0x7')](_0x4103ba,_0x10f9('0x11'))){if(!_0xe8dedf[_0x10f9('0xc')]['consume'](_0x236a71[_0x10f9('0x22')],_0x3a5229[_0x10f9('0x30')]))return;const _0x270474=_0xe8dedf[_0x10f9('0x2c')]['createUIElement'](_0x10f9('0x19'),{'class':_0x10f9('0x2e')}),_0x5dd19a=_0xe8dedf['mapper'][_0x10f9('0x32')](_0x35d567);_0x33f67a&&_0x1f66ce[_0x10f9('0x5')][_0x10f9('0x28')](_0x236a71['markerName'])&&_0xe8dedf['writer'][_0x10f9('0x25')](_0x10f9('0x29'),_0x270474),_0xe8dedf[_0x10f9('0x2c')][_0x10f9('0x16')](_0x5dd19a,_0x270474),_0xe8dedf['mapper'][_0x10f9('0x20')](_0x270474,_0x236a71[_0x10f9('0x12')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5578=['_registerLegacyDescription','registerDescriptionCallback','type','*Remove\x20all\x20formatting*','_enableDefaultAttributesIntegration','commandName','TrackChangesEditing','get','removeFormat','formatInline','afterInit','editor','has','plugins','locale'];(function(_0x156c36,_0x557845){const _0x294d40=function(_0x59fa86){while(--_0x59fa86){_0x156c36['push'](_0x156c36['shift']());}};_0x294d40(++_0x557845);}(_0x5578,0xbe));const _0x294d=function(_0x156c36,_0x557845){_0x156c36=_0x156c36-0x0;let _0x294d40=_0x5578[_0x156c36];return _0x294d40;};import{Plugin as _0x41748b}from'ckeditor5/src/core.js';import{getTranslation as _0x50e3f1}from'../utils/common-translations.js';export default class dt extends _0x41748b{[_0x294d('0x0')](){const _0x2cc43f=this['editor'];if(!_0x2cc43f[_0x294d('0x3')][_0x294d('0x2')]('RemoveFormatEditing'))return;_0x2cc43f['plugins'][_0x294d('0xc')](_0x294d('0xb'))[_0x294d('0x9')](_0x294d('0xd')),this[_0x294d('0x5')]();}[_0x294d('0x5')](){const _0x1b24b6=this[_0x294d('0x1')];_0x1b24b6[_0x294d('0x3')]['get'](_0x294d('0xb'))['_descriptionFactory'][_0x294d('0x6')](_0x53fd93=>{if('formatBlock'!=_0x53fd93[_0x294d('0x7')]&&_0x294d('0xe')!=_0x53fd93['type'])return;const {data:_0x25cdc4}=_0x53fd93;return _0x25cdc4&&'removeFormat'==_0x25cdc4[_0x294d('0xa')]?{'type':'format','content':_0x50e3f1(_0x1b24b6[_0x294d('0x4')],_0x294d('0x8'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe8c0=['enableCommand','RestrictedEditingModeEditing','goToNextRestrictedEditingException','has','TrackChangesEditing','acceptAllSuggestions','afterInit','plugins','get','goToPreviousRestrictedEditingException','acceptSuggestion','discardSuggestion'];(function(_0x115eef,_0xe8c054){const _0x5cbd10=function(_0x23a764){while(--_0x23a764){_0x115eef['push'](_0x115eef['shift']());}};_0x5cbd10(++_0xe8c054);}(_0xe8c0,0xad));const _0x5cbd=function(_0x115eef,_0xe8c054){_0x115eef=_0x115eef-0x0;let _0x5cbd10=_0xe8c0[_0x115eef];return _0x5cbd10;};import{Plugin as _0x36a474}from'ckeditor5/src/core.js';export default class pt extends _0x36a474{[_0x5cbd('0x1')](){const _0x4ba2ab=this['editor'];if(!_0x4ba2ab['plugins'][_0x5cbd('0xa')](_0x5cbd('0x8')))return;const _0x588b3a=_0x4ba2ab['plugins'][_0x5cbd('0x3')](_0x5cbd('0xb'));_0x588b3a['enableCommand'](_0x5cbd('0x4')),_0x588b3a[_0x5cbd('0x7')](_0x5cbd('0x9'));const _0x1bc8f1=_0x4ba2ab[_0x5cbd('0x2')][_0x5cbd('0x3')](_0x5cbd('0x8'));_0x1bc8f1[_0x5cbd('0x7')]('trackChanges'),_0x1bc8f1[_0x5cbd('0x7')](_0x5cbd('0x5')),_0x1bc8f1[_0x5cbd('0x7')](_0x5cbd('0x6')),_0x1bc8f1[_0x5cbd('0x7')](_0x5cbd('0x0')),_0x1bc8f1[_0x5cbd('0x7')]('discardAllSuggestions'),_0x1bc8f1[_0x5cbd('0x7')]('acceptSelectedSuggestions'),_0x1bc8f1[_0x5cbd('0x7')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46ae=['ELEMENT_LINE_BREAK','markerRange','showSuggestionHighlights','addMarker:suggestion:deletion','shiftEnter','_descriptionFactory','writer','split','plugins','addMarker:suggestion:insertion','activeMarkers','element','model','editing','deletion','test','locale','toViewPosition','createPositionBefore','enableCommand','get','downcastDispatcher','registerElementLabel','span','softBreak','TrackChangesEditing','high','createUIElement','ck-suggestion-marker--active','bindElementToMarker','mapper','init','editor','insert','name','markerName','includes','ck-suggestion-marker-','addMarker:suggestion','merge'];(function(_0x50fc91,_0x46ae16){const _0x5dea82=function(_0x28828f){while(--_0x28828f){_0x50fc91['push'](_0x50fc91['shift']());}};_0x5dea82(++_0x46ae16);}(_0x46ae,0x1b8));const _0x5dea=function(_0x50fc91,_0x46ae16){_0x50fc91=_0x50fc91-0x0;let _0x5dea82=_0x46ae[_0x50fc91];return _0x5dea82;};import{Plugin as _0x4bc446}from'ckeditor5/src/core.js';import{ShiftEnter as _0x42e43f}from'ckeditor5/src/enter.js';import{getTranslation as _0x3eafe4}from'../utils/common-translations.js';export default class kt extends _0x4bc446{static get['requires'](){return[_0x42e43f];}[_0x5dea('0x1f')](){const _0x495d01=this[_0x5dea('0x20')],_0x4da6ed=_0x495d01['plugins'][_0x5dea('0x14')](_0x5dea('0x19'));_0x4da6ed[_0x5dea('0x13')](_0x5dea('0x4')),_0x495d01['editing'][_0x5dea('0x15')]['on'](_0x5dea('0x9'),re(_0x495d01),{'priority':_0x5dea('0x1a')}),_0x495d01[_0x5dea('0xd')][_0x5dea('0x15')]['on'](_0x5dea('0x3'),re(_0x495d01),{'priority':_0x5dea('0x1a')}),_0x495d01['data'][_0x5dea('0x15')]['on'](_0x5dea('0x26'),(_0x54dfdd,_0x283740,_0x41bdd4)=>{_0x41bdd4['options'][_0x5dea('0x2')]&&re(_0x495d01,{'showActiveMarker':!0x1})(_0x54dfdd,_0x283740,_0x41bdd4);}),_0x4da6ed[_0x5dea('0x5')][_0x5dea('0x16')](_0x5dea('0x18'),_0x4ad74d=>_0x3eafe4(_0x495d01[_0x5dea('0x10')],_0x5dea('0x0'),_0x4ad74d));}}function re(_0x2c60dd,{showActiveMarker:_0x3d0989=!0x0}={}){return(_0x1c4287,_0x4b6a0d,_0x40d74e)=>{const _0x2b39d5=_0x2c60dd[_0x5dea('0x8')][_0x5dea('0x14')]('TrackChangesEditing');if(!_0x40d74e['consumable'][_0x5dea('0xf')](_0x4b6a0d[_0x5dea('0x1')],_0x1c4287[_0x5dea('0x22')]))return;const _0x218dbe=_0x2c60dd[_0x5dea('0xc')];for(const _0x8dd79c of _0x4b6a0d['markerRange']['getItems']()){if(!_0x8dd79c['is'](_0x5dea('0xb'),_0x5dea('0x18')))continue;const _0x28845e=_0x5dea('0xe')==_0x4b6a0d[_0x5dea('0x23')][_0x5dea('0x7')](':')[0x1]?_0x5dea('0x27'):_0x5dea('0x7'),_0x5af4bc=_0x40d74e[_0x5dea('0x6')][_0x5dea('0x1b')](_0x5dea('0x17'),{'class':_0x5dea('0x25')+_0x28845e}),_0x814c02=_0x40d74e[_0x5dea('0x1e')][_0x5dea('0x11')](_0x218dbe[_0x5dea('0x12')](_0x8dd79c));_0x3d0989&&_0x2b39d5[_0x5dea('0xa')][_0x5dea('0x24')](_0x4b6a0d[_0x5dea('0x23')])&&_0x40d74e[_0x5dea('0x6')]['addClass'](_0x5dea('0x1c'),_0x5af4bc),_0x40d74e[_0x5dea('0x6')][_0x5dea('0x21')](_0x814c02,_0x5af4bc),_0x40d74e[_0x5dea('0x1e')][_0x5dea('0x1d')](_0x5af4bc,_0x4b6a0d[_0x5dea('0x23')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b0e=['model','commandName','formatInline','FORMAT_RESTRICTED_ENABLED','getRanges','isCollapsed','selection','enableCommand','_descriptionFactory','get','restrictedEditingException','locale','TrackChangesEditing','type','format','registerDescriptionCallback','has','afterInit','StandardEditingModeEditing','from','FORMAT_RESTRICTED_DISABLED','commands','plugins','formatBlock','document','forceValue','change','editor'];(function(_0x2070b9,_0x1b0eb6){const _0x1aae8a=function(_0x15200c){while(--_0x15200c){_0x2070b9['push'](_0x2070b9['shift']());}};_0x1aae8a(++_0x1b0eb6);}(_0x1b0e,0xec));const _0x1aae=function(_0x2070b9,_0x1b0eb6){_0x2070b9=_0x2070b9-0x0;let _0x1aae8a=_0x1b0e[_0x2070b9];return _0x1aae8a;};import{Plugin as _0xfbf405}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x145e58}from'./utils.js';import{getTranslation as _0xd782c9}from'../utils/common-translations.js';export default class bt extends _0xfbf405{[_0x1aae('0x5')](){const _0x2db8ae=this[_0x1aae('0xf')],_0x2bba81=_0x2db8ae[_0x1aae('0x10')],_0x43b426=_0x2db8ae[_0x1aae('0x1b')];if(!_0x2db8ae[_0x1aae('0xa')][_0x1aae('0x4')](_0x1aae('0x6')))return;const _0x17e73d=_0x2db8ae[_0x1aae('0xa')][_0x1aae('0x19')](_0x1aae('0x0')),_0x3f0cd5=_0x1aae('0x1a'),_0xce9faa=_0x2db8ae[_0x1aae('0x9')]['get'](_0x3f0cd5);_0x17e73d[_0x1aae('0x17')](_0x3f0cd5,(_0x3296ad,_0x508e2b={})=>{const _0x15b2c8=_0x2bba81[_0x1aae('0xc')][_0x1aae('0x16')];if(_0x15b2c8[_0x1aae('0x15')])return void _0x3296ad(_0x508e2b);const _0x55a7bf=void 0x0!==_0x508e2b[_0x1aae('0xd')]?_0x508e2b[_0x1aae('0xd')]:!_0xce9faa['value'];_0x2bba81[_0x1aae('0xe')](()=>{const _0x5908ab=Array[_0x1aae('0x7')](_0x15b2c8[_0x1aae('0x14')]());for(const _0x710f94 of _0x5908ab){const _0x5a251b=_0x55a7bf?[_0x710f94]:_0x145e58(_0x3f0cd5,_0x710f94,_0x2bba81);for(const _0x5395fd of _0x5a251b)_0x17e73d['markInlineFormat'](_0x5395fd,{'commandName':_0x3f0cd5,'commandParams':[{'forceValue':_0x55a7bf}]});}});}),_0x17e73d[_0x1aae('0x18')][_0x1aae('0x3')](_0xa2fb0f=>{if(_0x1aae('0xb')!=_0xa2fb0f[_0x1aae('0x1')]&&_0x1aae('0x12')!=_0xa2fb0f['type'])return;const {data:_0x92f647}=_0xa2fb0f;return _0x92f647&&_0x92f647[_0x1aae('0x11')]==_0x3f0cd5?_0x92f647['commandParams'][0x0][_0x1aae('0xd')]?{'type':_0x1aae('0x2'),'content':_0xd782c9(_0x43b426,_0x1aae('0x13'))}:{'type':'format','content':_0xd782c9(_0x43b426,_0x1aae('0x8'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259b=['formatBlock','getGhsAttributeNameForElement','block','style','registerAttributeLabel','TrackChangesEditing','ghsAttributes','has','element','plugins','locale','GeneralHtmlSupport','config','type','_enableDefaultAttributesIntegration','add','definitions','_registerBlockAttribute','_registerInlineAttribute','toLowerCase','registerDescriptionCallback','DataSchema','_descriptionFactory','editor','forceValue','commandParams','format','get','formatInline','Style','StyleUtils','FORMAT_STYLE','*Remove\x20format:*\x20%0','afterInit','styleName'];(function(_0x4b2063,_0x259be9){const _0x393764=function(_0x506967){while(--_0x506967){_0x4b2063['push'](_0x4b2063['shift']());}};_0x393764(++_0x259be9);}(_0x259b,0x19f));const _0x3937=function(_0x4b2063,_0x259be9){_0x4b2063=_0x4b2063-0x0;let _0x393764=_0x259b[_0x4b2063];return _0x393764;};import{Plugin as _0x2dd04d}from'ckeditor5/src/core.js';import{getTranslation as _0x27f4b4}from'../utils/common-translations.js';export default class wt extends _0x2dd04d{[_0x3937('0x3')](){const _0x32fa12=this[_0x3937('0x1c')];if(!_0x32fa12['plugins'][_0x3937('0xc')](_0x3937('0x22'))||!_0x32fa12['plugins']['has']('DataSchema'))return;const _0xe11ac3=_0x32fa12['plugins'][_0x3937('0x20')](_0x3937('0xa')),_0x5ce52a=_0x32fa12['locale'],_0x357ba1=_0x32fa12[_0x3937('0x11')][_0x3937('0x20')](_0x3937('0x8')),_0x4ee352=_0x32fa12['plugins'][_0x3937('0x20')](_0x3937('0x10')),_0x2cf4d8=_0x32fa12['plugins']['get'](_0x3937('0x0'))['normalizeConfig'](_0x32fa12[_0x3937('0xe')]['get'](_0x3937('0x1a')),_0x357ba1[_0x3937('0x15')]);_0xe11ac3[_0x3937('0x13')]('style');const _0x1145ec=new Set();for(const _0xbe7bd of _0x2cf4d8[_0x3937('0x7')]){const _0xa185b1=_0x4ee352[_0x3937('0x6')](_0xbe7bd[_0x3937('0xd')]);_0x1145ec[_0x3937('0x14')](_0xa185b1);}const _0xbe5dca=new Set();for(const _0x25f9ba of _0x2cf4d8['inline']){const _0x5ad39c=_0x4ee352[_0x3937('0x6')](_0x25f9ba[_0x3937('0xd')]);_0xbe5dca[_0x3937('0x14')](_0x5ad39c);for(const _0x234d83 of _0x25f9ba[_0x3937('0xb')])_0xbe5dca['add'](_0x234d83);}for(const _0x29e921 of _0x1145ec)_0xe11ac3[_0x3937('0x16')](_0x29e921),_0xe11ac3[_0x3937('0x1b')][_0x3937('0x9')](_0x29e921,_0x27f4b4(_0x5ce52a,'FORMAT_STYLE'));for(const _0x26a0f2 of _0xbe5dca)_0xe11ac3[_0x3937('0x17')](_0x26a0f2),_0xe11ac3['_descriptionFactory'][_0x3937('0x9')](_0x26a0f2,_0x27f4b4(_0x5ce52a,_0x3937('0x1')));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3d320c=this[_0x3937('0x1c')],_0x55ffff=_0x3d320c[_0x3937('0xf')];_0x3d320c[_0x3937('0xe')]['get'](_0x3937('0xa'))['_descriptionFactory'][_0x3937('0x19')](_0x33baff=>{if(_0x3937('0x5')!=_0x33baff[_0x3937('0x12')]&&_0x3937('0x21')!=_0x33baff[_0x3937('0x12')])return;const {data:_0x3627ff}=_0x33baff;return _0x3627ff&&_0x3937('0x8')===_0x3627ff['commandName']?_0x3627ff[_0x3937('0x1e')][0x0][_0x3937('0x1d')]?{'type':_0x3937('0x1f'),'content':_0x27f4b4(_0x55ffff,'*Set\x20format:*\x20%0',_0x3627ff[_0x3937('0x1e')][0x0][_0x3937('0x4')][_0x3937('0x18')]())}:{'type':_0x3937('0x1f'),'content':_0x27f4b4(_0x55ffff,_0x3937('0x2'),_0x3627ff[_0x3937('0x1e')][0x0][_0x3937('0x4')][_0x3937('0x18')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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')]());}
|
|
23
|
+
const _0x4c99=['selection','execute','nodeAfter','accept','position','createRangeIn','_splitMarkerName','type','every','insertTableColumnLeft','writer','add','selectTableColumn','last','from','get','TableUtils','registerCustomCallback','TrackChangesEditing','left','MAX_SAFE_INTEGER','locale','isIntersectingWithRange','nodeBefore','ELEMENT_TABLE_WITH_TEXT','removeTableColumn','createPositionAt','getSelectionAffectedTableCells','removeClass','element','getCellLocation','name','ELEMENT_TABLE_ROW','enableCommand','has','root','tableRow','length','getRanges','ELEMENT_TABLE_ROW_WITH_TEXT','*Remove:*\x20%0','mapper','options','startsWith','refresh','insert','substr','createRangeOn','MIN_SAFE_INTEGER','highest','getAttribute','includes','data','addClass','isEqual','tablePaste','tableCell','commands','filter','classes','createTableWalker','removeTableRow','maxColumn','start','markMultiRangeDeletion','getChildren','getItems','findAncestor','colspan','ELEMENT_TABLE_COLUMN_WITH_TEXT','registerDescriptionCallback','insertTableColumnRight','registerElementLabel','insertion','getContainedElement','min','*Insert:*\x20%0','deletion','getRowIndexes','_getSuggestionCoords','plugins','_getCoordsForCells','enqueueChange','max','$textProxy','oldRange','insertTable','editor','markMultiRangeInsertion','join','table','some','_descriptionFactory','ELEMENT_TABLE_COLUMN','differ','span','detach','maxRow','selectTableRow','_tableSuggestions','order','discard','end','isInContent','rootName','registerPostFixer','document','_suggestionFactory','isTouching','subType','push','$graveyard','toLowerCase','cell','fromRange','first','above','low','setSelection','model','insertTableRowAbove','insertTableRowBelow','change:data','map','hasAttribute','getFirstRange','change','getChanges','addRange','_setupColumnsRowsFixing','minRow','rowspan','tableColumn','addMarker:suggestion','_acceptFormatSuggestionCallbackFactory'];(function(_0x2a9475,_0x4c993a){const _0x5615c3=function(_0x5233b5){while(--_0x5233b5){_0x2a9475['push'](_0x2a9475['shift']());}};_0x5615c3(++_0x4c993a);}(_0x4c99,0x117));const _0x5615=function(_0x2a9475,_0x4c993a){_0x2a9475=_0x2a9475-0x0;let _0x5615c3=_0x4c99[_0x2a9475];return _0x5615c3;};import{Plugin as _0x2430ab}from'ckeditor5/src/core.js';import{LiveRange as _0x1a8ba9}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x250b3f}from'ckeditor5/src/widget.js';import{getTranslation as _0x3914b3}from'../utils/common-translations.js';export default class yt extends _0x2430ab{constructor(_0x2e0d42){super(_0x2e0d42),this['_tablePostFixingSubtypes']=[_0x5615('0x1b'),_0x5615('0x7b')],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x51efe9=this['editor'],_0x4248de=_0x51efe9[_0x5615('0x6e')][_0x5615('0x61')][_0x5615('0x7e')];if(!_0x51efe9['plugins'][_0x5615('0x19')]('TableEditing'))return;const _0x11978b=_0x51efe9[_0x5615('0xc')],_0x17e944=_0x51efe9[_0x5615('0x47')]['get']('TrackChangesEditing'),_0xc2c145=_0x51efe9['plugins']['get'](_0x5615('0x7'));_0x17e944[_0x5615('0x53')][_0x5615('0x3f')](_0x5615('0x51'),_0x10f051=>_0x3914b3(_0x11978b,'ELEMENT_TABLE',_0x10f051)),this[_0x5615('0x78')](),_0x17e944['enableCommand'](_0x5615('0x4d')),_0x17e944[_0x5615('0x18')](_0x5615('0x59')),_0x17e944[_0x5615('0x18')](_0x5615('0x3'));for(const _0xfd2a0d of[_0x5615('0x6f'),_0x5615('0x70')]){const _0x1ae035=_0x51efe9[_0x5615('0x30')][_0x5615('0x6')](_0xfd2a0d);_0x17e944[_0x5615('0x18')](_0xfd2a0d,_0x4c23ac=>{_0x51efe9['model'][_0x5615('0x75')](_0x408a85=>{_0x4c23ac();const _0x5616c1=_0x5615('0x6b')===_0x1ae035['order'],_0x565a3c=_0xc2c145[_0x5615('0x12')](_0x4248de),_0xe910e2=_0xc2c145[_0x5615('0x45')](_0x565a3c),_0x5b98e9=_0x5616c1?_0xe910e2[_0x5615('0x6a')]-0x1:_0xe910e2[_0x5615('0x4')]+0x1,_0x12dff7=_0x565a3c[0x0][_0x5615('0x3a')](_0x5615('0x51')),_0x5bb3ca=_0xc2c145[_0x5615('0x33')](_0x12dff7,{'startRow':_0x5b98e9,'endRow':_0x5b98e9}),_0x39fcd3=Array['from'](_0x5bb3ca)['map'](_0x1a8241=>_0x408a85[_0x5615('0x26')](_0x1a8241[_0x5615('0x68')]));_0x17e944[_0x5615('0x4f')](_0x39fcd3,_0x5615('0x1b'));});});}for(const _0x25bba6 of[_0x5615('0x0'),_0x5615('0x3e')]){const _0x28434b=_0x51efe9[_0x5615('0x30')]['get'](_0x25bba6);_0x17e944[_0x5615('0x18')](_0x25bba6,_0x1e12b2=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0xbcf8b7=>{_0x1e12b2();const _0x1c805e=_0x5615('0xa')===_0x28434b[_0x5615('0x5b')],_0x27cd5f=_0xc2c145[_0x5615('0x12')](_0x4248de),_0x198927=_0xc2c145['getColumnIndexes'](_0x27cd5f),_0x1c755b=_0x1c805e?_0x198927[_0x5615('0x6a')]-0x1:_0x198927['last']+0x1,_0x7bd84f=_0x27cd5f[0x0][_0x5615('0x3a')](_0x5615('0x51')),_0x46a159=_0xc2c145[_0x5615('0x33')](_0x7bd84f,{'startRow':0x0,'column':_0x1c755b,'includeAllSlots':!0x1}),_0x34744e=Array[_0x5615('0x5')](_0x46a159)[_0x5615('0x72')](_0x4b3cfc=>_0xbcf8b7['createRangeOn'](_0x4b3cfc[_0x5615('0x68')]));_0x17e944['markMultiRangeInsertion'](_0x34744e,_0x5615('0x7b'));});});}for(const _0x56d10a of[_0x5615('0x34'),'removeTableColumn']){const _0x489de7=_0x56d10a[_0x5615('0x25')](0xb),_0x1869e3=_0x489de7['toLowerCase'](),_0x2d1f71=_0x1869e3[_0x5615('0x25')](0x0,0x3)+_0x5615('0x56'),_0x3f96f0=_0x5615('0x51')+_0x489de7,_0x1d2646=_0x5615('0x42')+_0x489de7,_0x4ae960=_0x5615('0x4a')+_0x489de7;_0x17e944[_0x5615('0x18')](_0x56d10a,()=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0x5b2baf=>{const _0x56b0ca=_0xc2c145[_0x5615('0x12')](_0x4248de),_0x167775=_0x56b0ca[0x0][_0x5615('0x3a')](_0x5615('0x51'));let _0x33a7d2;if(_0x5615('0x34')==_0x56d10a){const _0x4fc7f6=_0xc2c145[_0x5615('0x45')](_0x56b0ca);_0x33a7d2={'startRow':_0x4fc7f6['first'],'endRow':_0x4fc7f6[_0x5615('0x4')],'includeAllSlots':!0x0};}else{const _0x32e5de=_0xc2c145['getColumnIndexes'](_0x56b0ca);_0x33a7d2={'startColumn':_0x32e5de[_0x5615('0x6a')],'endColumn':_0x32e5de['last'],'includeAllSlots':!0x0};}const _0x3a157e=_0xc2c145[_0x5615('0x33')](_0x167775,_0x33a7d2),_0x5b96b7=Array[_0x5615('0x5')](_0x3a157e)[_0x5615('0x72')](({cell:_0x486c81})=>_0x486c81),_0x4f1aea=ue(_0x5b96b7[_0x5615('0x31')](_0x1a752e=>_0x1a752e[_0x5615('0x73')](_0x2d1f71))),_0x330d4a=ue(_0x5b96b7['filter'](_0x59fa60=>!_0x59fa60[_0x5615('0x73')](_0x2d1f71)))[_0x5615('0x72')](_0x17b3d9=>_0x5b2baf[_0x5615('0x26')](_0x17b3d9)),_0x3578eb=_0x17e944[_0x5615('0x37')](_0x330d4a,_0x3f96f0);if(_0x3578eb&&(_0x5615('0x1b')==_0x3578eb[_0x5615('0x64')]||'tableColumn'==_0x3578eb[_0x5615('0x64')])){const _0xac0676=this[_0x5615('0x46')](_0x3578eb);for(const _0x1623e2 of _0x4f1aea){const _0x7ec5e8=_0x5b2baf[_0x5615('0x26')](_0x1623e2),_0x219c0e=_0xc2c145[_0x5615('0x15')](_0x1623e2),_0x3fcd62=_0x1623e2[_0x5615('0x29')](_0x2d1f71)-0x1,_0x458841=_0xac0676[_0x1d2646],_0x5c1bd5=_0xac0676[_0x4ae960];_0x458841<=_0x219c0e[_0x1869e3]&&_0x219c0e[_0x1869e3]+_0x3fcd62<=_0x5c1bd5&&_0x3578eb[_0x5615('0x77')](_0x7ec5e8);}}});});}function _0x1dfc8e(_0x33964d){const _0xd84e4a=Array[_0x5615('0x5')](_0x4248de[_0x5615('0x1d')]())['map'](_0x233cf2=>_0x1a8ba9['fromRange'](_0x233cf2));_0x51efe9['model']['change'](_0x285110=>{const _0x299d9d=_0x285110['batch'];_0x33964d=_0x33964d['filter'](_0xca2a7c=>_0x5615('0x66')!=_0xca2a7c['root'][_0x5615('0x5f')]),_0x285110[_0x5615('0x6d')](_0x33964d),_0x51efe9[_0x5615('0x30')][_0x5615('0x6')](_0x5615('0x34'))[_0x5615('0x23')](),_0x51efe9['execute'](_0x5615('0x34'),{'forceDefaultExecution':!0x0}),_0x51efe9[_0x5615('0x6e')][_0x5615('0x49')](()=>{_0x51efe9[_0x5615('0x6e')][_0x5615('0x49')](_0x299d9d,_0x190e9c=>{const _0x4b8781=_0xd84e4a[_0x5615('0x31')](_0x35ca44=>_0x5615('0x66')!=_0x35ca44[_0x5615('0x1a')][_0x5615('0x5f')]);_0x4b8781[_0x5615('0x1c')]>0x0&&_0x190e9c['setSelection'](_0x4b8781);for(const _0x35d895 of _0xd84e4a)_0x35d895['detach']();});});});}function _0x5ed098(_0x57f2ca){_0x51efe9[_0x5615('0x6e')][_0x5615('0x75')](_0x1ac17c=>{const _0x394c9e=Array['from'](_0x4248de[_0x5615('0x1d')]())['map'](_0x4e6742=>_0x1a8ba9[_0x5615('0x69')](_0x4e6742)),_0x51a0a7=[];for(const _0xfca13b of _0x57f2ca)for(const _0x276f69 of _0xfca13b[_0x5615('0x39')]({'shallow':!0x0}))_0x51a0a7[_0x5615('0x65')](_0x276f69);for(const _0x33a4c3 of _0x51a0a7)_0x5615('0x66')!=_0x33a4c3[_0x5615('0x1a')][_0x5615('0x5f')]&&(_0x1ac17c[_0x5615('0x6d')](_0x1ac17c[_0x5615('0x11')](_0x33a4c3,0x0)),_0x51efe9[_0x5615('0x30')][_0x5615('0x6')]('removeTableColumn')['refresh'](),_0x51efe9[_0x5615('0x7f')](_0x5615('0x10'),{'forceDefaultExecution':!0x0}));const _0x56e3b1=_0x394c9e[_0x5615('0x31')](_0x20c7e5=>_0x5615('0x66')!=_0x20c7e5[_0x5615('0x1a')]['rootName']);_0x56e3b1[_0x5615('0x1c')]>0x0&&_0x1ac17c['setSelection'](_0x56e3b1);for(const _0x490637 of _0x394c9e)_0x490637['detach']();});}function _0x4a0291(_0x7f452,_0xc2ee8f){return _0xc2ee8f[_0x5615('0x86')](_0x4c4bfd=>_0x7f452[_0x5615('0x52')](_0x187b10=>_0x187b10['end'][_0x5615('0x2d')](_0x4c4bfd[_0x5615('0x36')])||_0x4c4bfd['end'][_0x5615('0x2d')](_0x187b10[_0x5615('0x36')])));}function _0x4921c2(_0x332927,_0x2132c4){return _0x332927[_0x5615('0x52')](_0x3732ac=>_0x2132c4[_0x5615('0x52')](_0x73cbd1=>_0x3732ac[_0x5615('0x5d')][_0x5615('0x63')](_0x73cbd1[_0x5615('0x36')])));}_0x51efe9[_0x5615('0x2b')]['downcastDispatcher']['on'](_0x5615('0x7c'),(_0x4daefd,_0x1c0937,_0x143914)=>{if(!_0x143914[_0x5615('0x21')]['showSuggestionHighlights'])return;const _0x4a0286=_0x1c0937['item'];if(!_0x4a0286)return;const _0x4dbd55=_0x143914[_0x5615('0x20')]['toViewElement'](_0x4a0286);function _0x50dcdc(_0x39f07f){return Array['isArray'](_0x39f07f)?_0x39f07f:[_0x39f07f];}_0x4dbd55&&_0x5615('0x2f')===_0x4a0286[_0x5615('0x16')]&&_0x250b3f(_0x4dbd55,_0x143914[_0x5615('0x1')],(_0x59ca09,_0x4a9549,_0x4e7ac2)=>_0x4e7ac2[_0x5615('0x2c')](_0x50dcdc(_0x4a9549[_0x5615('0x32')]),_0x59ca09),(_0x1dfeaa,_0x55f0fa,_0x39129f)=>_0x39129f[_0x5615('0x13')](_0x50dcdc(_0x55f0fa[_0x5615('0x32')]),_0x1dfeaa));},{'priority':_0x5615('0x28')}),_0x17e944[_0x5615('0x53')][_0x5615('0x3d')](_0x433623=>{if(_0x5615('0x40')!=_0x433623['type']&&'deletion'!=_0x433623[_0x5615('0x85')])return;const _0x5ae7fa=_0x433623[_0x5615('0x41')]();if(null!=_0x5ae7fa&&_0x5ae7fa['is'](_0x5615('0x14'),_0x5615('0x51'))){if(_0x5615('0x40')==_0x433623[_0x5615('0x85')]){const _0x461659=_0x433623[_0x5615('0x39')]()[_0x5615('0x31')](_0x28dde0=>_0x28dde0['is'](_0x5615('0x4b')))[_0x5615('0x72')](_0x26f96f=>_0x26f96f[_0x5615('0x2b')]);if(_0x461659[_0x5615('0x1c')])return{'type':'insertion','content':_0x3914b3(_0x11978b,'*Insert:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0xf'),'\x22'+_0x461659[_0x5615('0x50')]('\x20')+'\x22'))};}if(_0x5615('0x44')==_0x433623[_0x5615('0x85')]){const _0x2378e2=_0x433623[_0x5615('0x39')]()[_0x5615('0x31')](_0x4d8927=>_0x4d8927['is']('$textProxy'))[_0x5615('0x72')](_0x1473bc=>_0x1473bc[_0x5615('0x2b')]);if(_0x2378e2[_0x5615('0x1c')])return{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,_0x5615('0xf'),'\x22'+_0x2378e2['join']('\x20')+'\x22'))};}}}),_0x17e944[_0x5615('0x53')][_0x5615('0x3d')](_0x34ac54=>{if(_0x5615('0x1b')==_0x34ac54[_0x5615('0x64')]){const _0x4aae30=_0x34ac54['getItems']()[_0x5615('0x31')](_0x35582f=>_0x35582f['is']('$textProxy'))[_0x5615('0x72')](_0x89e887=>_0x89e887['data']),_0x4d7952=this[_0x5615('0x46')](_0x34ac54),_0x587216=_0x4d7952[_0x5615('0x58')]-_0x4d7952[_0x5615('0x79')]+0x1;if(_0x5615('0x40')==_0x34ac54[_0x5615('0x85')])return _0x4aae30['length']?{'type':'insertion','content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x587216,'\x22'+_0x4aae30[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x40'),'content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,_0x5615('0x17'),_0x587216))};if('deletion'==_0x34ac54[_0x5615('0x85')])return _0x4aae30[_0x5615('0x1c')]?{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,_0x5615('0x1e'),[_0x587216,'\x22'+_0x4aae30['join']('\x20')+'\x22']))}:{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_ROW',_0x587216))};}if(_0x5615('0x7b')==_0x34ac54[_0x5615('0x64')]){const _0x5b75c9=_0x34ac54[_0x5615('0x39')]()['filter'](_0x41f68c=>_0x41f68c['is'](_0x5615('0x4b')))['map'](_0x3f9864=>_0x3f9864[_0x5615('0x2b')]),_0xdc058c=this[_0x5615('0x46')](_0x34ac54),_0x1a89fc=_0xdc058c[_0x5615('0x35')]-_0xdc058c['minColumn']+0x1;if(_0x5615('0x40')==_0x34ac54[_0x5615('0x85')])return _0x5b75c9[_0x5615('0x1c')]?{'type':'insertion','content':_0x3914b3(_0x11978b,'*Insert:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0x3c'),[_0x1a89fc,'\x22'+_0x5b75c9[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x40'),'content':_0x3914b3(_0x11978b,_0x5615('0x43'),_0x3914b3(_0x11978b,_0x5615('0x54'),_0x1a89fc))};if(_0x5615('0x44')==_0x34ac54['type'])return _0x5b75c9['length']?{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,_0x5615('0x1f'),_0x3914b3(_0x11978b,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a89fc,'\x22'+_0x5b75c9[_0x5615('0x50')]('\x20')+'\x22']))}:{'type':_0x5615('0x44'),'content':_0x3914b3(_0x11978b,'*Remove:*\x20%0',_0x3914b3(_0x11978b,_0x5615('0x54'),_0x1a89fc))};}}),_0x17e944[_0x5615('0x62')]['registerCustomCallback']('insertion',_0x5615('0x1b'),_0x5615('0x5c'),_0x1dfc8e),_0x17e944[_0x5615('0x62')][_0x5615('0x8')]('deletion','tableRow',_0x5615('0x81'),_0x1dfc8e),_0x17e944[_0x5615('0x62')]['registerCustomCallback']('insertion','tableColumn',_0x5615('0x5c'),_0x5ed098),_0x17e944['_suggestionFactory'][_0x5615('0x8')](_0x5615('0x44'),'tableColumn','accept',_0x5ed098),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x40'),_0x5615('0x7b'),'join',_0x4a0291),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x44'),_0x5615('0x7b'),_0x5615('0x50'),_0x4a0291),_0x17e944[_0x5615('0x62')]['registerCustomCallback'](_0x5615('0x40'),'tableRow','join',_0x4921c2),_0x17e944[_0x5615('0x62')][_0x5615('0x8')](_0x5615('0x44'),'tableRow',_0x5615('0x50'),_0x4921c2);}[_0x5615('0x7d')](){const _0x26e6b7=this[_0x5615('0x4e')],_0x205711=_0x26e6b7['model']['document'][_0x5615('0x7e')];return(_0x26370a,_0x28e8bb)=>{_0x26e6b7[_0x5615('0x6e')][_0x5615('0x75')](_0x5a5992=>{const {commandName:_0x3a5cf4,commandParams:_0x40b948}=_0x28e8bb;let _0x53b41a=_0x26370a[0x0][_0x5615('0x5d')][_0x5615('0xe')];_0x40b948&&_0x40b948[0x0]&&!0x1===_0x40b948[0x0]['forceValue']&&(_0x53b41a=_0x26370a[0x0]['start']['nodeAfter']);const _0x7d7f6f=_0x5a5992[_0x5615('0x83')](_0x53b41a);if(_0x5615('0x66')==_0x7d7f6f[_0x5615('0x1a')][_0x5615('0x5f')])return;const _0x5472c7=Array[_0x5615('0x5')](_0x205711['getRanges']())[_0x5615('0x72')](_0xff1a3a=>_0x1a8ba9[_0x5615('0x69')](_0xff1a3a));_0x5a5992[_0x5615('0x6d')](_0x7d7f6f),_0x26e6b7['commands']['get'](_0x3a5cf4)[_0x5615('0x23')](),_0x40b948[_0x5615('0x65')]({'forceDefaultExecution':!0x0}),_0x26e6b7[_0x5615('0x7f')](_0x3a5cf4,..._0x40b948);const _0x2ac965=_0x5472c7['filter'](_0x33088b=>_0x5615('0x66')!=_0x33088b[_0x5615('0x1a')][_0x5615('0x5f')]);_0x2ac965[_0x5615('0x1c')]>0x0&&_0x5a5992[_0x5615('0x6d')](_0x2ac965);for(const _0x505c2d of _0x5472c7)_0x505c2d[_0x5615('0x57')]();});};}['_getCoordsForCells'](_0xc59720){const _0x150eeb=this['editor'][_0x5615('0x47')][_0x5615('0x6')](_0x5615('0x7'));let _0x6423f=Number[_0x5615('0xb')],_0x819a21=Number[_0x5615('0x27')],_0x3f01b3=Number[_0x5615('0xb')],_0x139c24=Number[_0x5615('0x27')];for(const _0x5429c6 of _0xc59720){if(_0x5615('0x66')==_0x5429c6[_0x5615('0x1a')][_0x5615('0x5f')])continue;const {row:_0x13184a,column:_0x480873}=_0x150eeb[_0x5615('0x15')](_0x5429c6),_0x5c6c48=_0x5429c6[_0x5615('0x73')](_0x5615('0x7a'))?_0x5429c6[_0x5615('0x29')](_0x5615('0x7a'))-0x1:0x0,_0x438c3a=_0x5429c6[_0x5615('0x73')](_0x5615('0x3b'))?_0x5429c6[_0x5615('0x29')](_0x5615('0x3b'))-0x1:0x0;_0x6423f=_0x13184a<_0x6423f?_0x13184a:_0x6423f,_0x819a21=_0x13184a+_0x5c6c48>_0x819a21?_0x13184a+_0x5c6c48:_0x819a21,_0x3f01b3=_0x480873<_0x3f01b3?_0x480873:_0x3f01b3,_0x139c24=_0x480873+_0x438c3a>_0x139c24?_0x480873+_0x438c3a:_0x139c24;}return{'minRow':_0x6423f,'maxRow':_0x819a21,'minColumn':_0x3f01b3,'maxColumn':_0x139c24};}[_0x5615('0x78')](){const _0xf1b751=this[_0x5615('0x4e')],_0x575c9b=_0xf1b751['plugins']['get'](_0x5615('0x9')),_0x3f9746=_0xf1b751[_0x5615('0x47')][_0x5615('0x6')]('TableUtils');_0xf1b751[_0x5615('0x6e')][_0x5615('0x61')]['on'](_0x5615('0x71'),()=>{const _0x293a39=Array[_0x5615('0x5')](_0xf1b751[_0x5615('0x6e')][_0x5615('0x61')][_0x5615('0x55')]['getChangedMarkers']());for(const {name:_0x3acc73,data:_0x1c3930}of _0x293a39){const {group:_0x2af9cb,id:_0x25641a,subType:_0x1474ce}=_0x575c9b[_0x5615('0x84')](_0x3acc73);if('suggestion'!=_0x2af9cb)continue;if(null!=_0x1c3930[_0x5615('0x4c')])continue;const _0x292709=_0x575c9b['getSuggestion'](_0x25641a);this['_tablePostFixingSubtypes'][_0x5615('0x2a')](_0x1474ce)&&this[_0x5615('0x5a')][_0x5615('0x2')](_0x292709);}},{'priority':_0x5615('0x6c')});const _0x20c353=(_0x46a65c,_0x1e5e9f)=>{let _0x2e98d8=!0x1;const _0x552445=_0x1e5e9f['createRangeOn'](_0x46a65c),_0x3ee7dd=_0x46a65c[_0x5615('0x3a')]('table'),_0x4c8a74=_0x3f9746[_0x5615('0x15')](_0x46a65c);for(const _0x28245e of this[_0x5615('0x5a')]){const _0x382e33=_0x28245e[_0x5615('0x64')],_0x19fb0e=_0x382e33[_0x5615('0x22')](_0x5615('0x2e')),_0x5d7fcd=_0x382e33[_0x5615('0x25')](_0x19fb0e?0xa:0x5),_0x21bb5f=_0x5d7fcd[_0x5615('0x67')](),_0x44ed3b=_0x21bb5f[_0x5615('0x25')](0x0,0x3)+'span',_0x11c603='min'+_0x5d7fcd,_0x50c30c=_0x5615('0x4a')+_0x5d7fcd;if(!_0x28245e[_0x5615('0x5e')])continue;if(_0x3ee7dd!=_0x28245e[_0x5615('0x74')]()[_0x5615('0x36')][_0x5615('0x3a')]('table'))continue;if(_0x28245e[_0x5615('0xd')](_0x552445))continue;const _0x19400f=_0x46a65c['hasAttribute'](_0x44ed3b)?_0x46a65c[_0x5615('0x29')](_0x44ed3b)-0x1:0x0,_0x4a201b=this[_0x5615('0x46')](_0x28245e),_0x3906c2=_0x4a201b[_0x11c603],_0x33d8e5=_0x4a201b[_0x50c30c];_0x3906c2<=_0x4c8a74[_0x21bb5f]&&_0x4c8a74[_0x21bb5f]+_0x19400f<=_0x33d8e5&&(_0x28245e['addRange'](_0x552445),_0x2e98d8=!0x0);}return _0x2e98d8;};_0xf1b751['model']['document'][_0x5615('0x60')](_0x5ea553=>{let _0x10d0c4=!0x1;for(const _0x5310f9 of _0xf1b751['model'][_0x5615('0x61')]['differ'][_0x5615('0x76')]())if(_0x5615('0x24')==_0x5310f9[_0x5615('0x85')]){if(_0x5615('0x1b')==_0x5310f9[_0x5615('0x16')])for(const _0x61a8b1 of _0x5310f9[_0x5615('0x82')][_0x5615('0x80')][_0x5615('0x38')]())_0x10d0c4=_0x10d0c4||_0x20c353(_0x61a8b1,_0x5ea553);else _0x5615('0x2f')==_0x5310f9[_0x5615('0x16')]&&(_0x10d0c4=_0x10d0c4||_0x20c353(_0x5310f9['position'][_0x5615('0x80')],_0x5ea553));}return _0x10d0c4;});}[_0x5615('0x46')](_0x29bf63){return this[_0x5615('0x48')](_0x29bf63[_0x5615('0x1d')]()['map'](_0x1af9c6=>_0x1af9c6[_0x5615('0x36')][_0x5615('0x80')]));}}function ue(_0x480065){return Array['from'](new Set(_0x480065)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b21=['toggleTableCaption','enableCommand','plugins','afterInit','has','editor','get'];(function(_0x287545,_0x4b2148){const _0x54ddd5=function(_0x1a0d61){while(--_0x1a0d61){_0x287545['push'](_0x287545['shift']());}};_0x54ddd5(++_0x4b2148);}(_0x4b21,0x10e));const _0x54dd=function(_0x287545,_0x4b2148){_0x287545=_0x287545-0x0;let _0x54ddd5=_0x4b21[_0x287545];return _0x54ddd5;};import{Plugin as _0x13987d}from'ckeditor5/src/core.js';import _0xc03d2b from'./table.js';export default class Nt extends _0x13987d{static get['requires'](){return[_0xc03d2b];}[_0x54dd('0x6')](){const _0x510223=this[_0x54dd('0x1')];if(!_0x510223[_0x54dd('0x5')][_0x54dd('0x0')]('TableCaptionEditing'))return;_0x510223['plugins'][_0x54dd('0x2')]('TrackChangesEditing')[_0x54dd('0x4')](_0x54dd('0x3'));}}
|