@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231008.0 → 0.0.0-nightly-20231010.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/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/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.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/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ee9=['*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','startIndex','plugins','parent','handleListStyleCommand','styles','getAttribute','_descriptionFactory','listStart','editor','format','document','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','ListUtils','_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20reversed','commandName','*Change\x20to:*\x20%0','getFirstPosition','model','toUpperCase','list.properties','change','createRange','length','listType','selection','listItem','handleListStartCommand','from','get','numbered','enableCommand','push','replace','getListTypeFromListStyleType','_getSuggestionBlocksForListStyle','element','afterInit','forward','ListPropertiesEditing','filter','backward','listReversed','type','locale','registerDescriptionCallback','config','_getTranslationKeyForListStyle','getSelectedBlocks','getLastPosition','TrackChangesEditing','markMultiRangeBlockFormat','createPositionAt','map','reversed','commandParams','before','handleDescriptions','listStyle','bind','getSiblingNodes'];(function(_0x570a9b,_0x5ee9ce){const _0x259085=function(_0x2c8382){while(--_0x2c8382){_0x570a9b['push'](_0x570a9b['shift']());}};_0x259085(++_0x5ee9ce);}(_0x5ee9,0x1d1));const _0x2590=function(_0x570a9b,_0x5ee9ce){_0x570a9b=_0x570a9b-0x0;let _0x259085=_0x5ee9[_0x570a9b];return _0x259085;};import{Plugin as _0x13d792}from'ckeditor5/src/core';import{getTranslation as _0x1e039e}from'../utils/common-translations';export default class ot extends _0x13d792{[_0x2590('0x17')](){if(!this[_0x2590('0x39')]['plugins'][_0x2590('0x3d')](_0x2590('0x19')))return;const _0x172716=this[_0x2590('0x39')][_0x2590('0x20')][_0x2590('0xf')](_0x2590('0x6')),_0x4269c4=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24'));_0x172716[_0x2590('0x35')]&&_0x4269c4[_0x2590('0x11')]('listStyle',this[_0x2590('0x34')][_0x2590('0x2d')](this)),_0x172716[_0x2590('0x28')]&&_0x4269c4[_0x2590('0x11')]('listReversed',this[_0x2590('0x30')]['bind'](this)),_0x172716['startIndex']&&_0x4269c4['enableCommand']('listStart',this[_0x2590('0xd')][_0x2590('0x2d')](this)),_0x4269c4[_0x2590('0x37')][_0x2590('0x1f')](this[_0x2590('0x2b')]['bind'](this));}['handleListStyleCommand'](_0x27418b,_0x3df91a={}){const _0x2e80c7=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24')),_0x596c21=this[_0x2590('0x15')]();this['editor'][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x2e80c7[_0x2590('0x25')](_0x596c21,{'commandName':_0x2590('0x2c'),'commandParams':[{'type':_0x3df91a[_0x2590('0x1d')]}],'formatGroupId':_0x2590('0x2c')});});}[_0x2590('0x30')](_0x311d4b,_0x15ec85={}){const _0x5d74c2=this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x24')),_0x289cf5=this[_0x2590('0x3f')](_0xdfdf24=>_0xdfdf24['is'](_0x2590('0x16'),_0x2590('0xc'))&&_0x2590('0x10')===_0xdfdf24[_0x2590('0x36')](_0x2590('0xa')));if(_0x289cf5[_0x2590('0x9')]<0x1)return;const _0x25b55=_0x289cf5[_0x2590('0x27')](_0x202b43=>this[_0x2590('0x39')]['model'][_0x2590('0x8')](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x202b43,'before'),this['editor'][_0x2590('0x4')][_0x2590('0x26')](_0x202b43,0x0)));this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x5d74c2['markMultiRangeBlockFormat'](_0x25b55,{'commandName':'listReversed','commandParams':[{'reversed':_0x15ec85[_0x2590('0x28')]}],'formatGroupId':_0x2590('0x1c')});});}[_0x2590('0xd')](_0x487611,_0x208ed7={}){const _0x279382=this[_0x2590('0x39')][_0x2590('0x32')]['get'](_0x2590('0x24')),_0xc9b380=this['_getSuggestionBlocks'](_0x5dd741=>_0x5dd741['is']('element',_0x2590('0xc'))&&_0x2590('0x10')===_0x5dd741[_0x2590('0x36')](_0x2590('0xa')));if(_0xc9b380[_0x2590('0x9')]<0x1)return;const _0x290f26=_0xc9b380[_0x2590('0x27')](_0x496ec4=>this[_0x2590('0x39')][_0x2590('0x4')]['createRange'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x496ec4,_0x2590('0x2a')),this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x496ec4,0x0)));this['editor'][_0x2590('0x4')][_0x2590('0x7')](()=>{_0x279382['markMultiRangeBlockFormat'](_0x290f26,{'commandName':'listStart','commandParams':[{'startIndex':_0x208ed7[_0x2590('0x31')]}],'formatGroupId':_0x2590('0x38')});});}['handleDescriptions'](_0x2cb5e0){const _0x37acf6=this[_0x2590('0x39')][_0x2590('0x1e')],{data:_0x130833}=_0x2cb5e0;if(!_0x130833)return;let _0x6a5ebe,_0x3623b0;switch(_0x130833[_0x2590('0x1')]){case _0x2590('0x2c'):_0x6a5ebe=_0x2590('0x2'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe,_0x1e039e(_0x37acf6,this[_0x2590('0x21')](_0x130833[_0x2590('0x29')][0x0][_0x2590('0x1d')])))};break;case _0x2590('0x1c'):_0x6a5ebe=_0x130833['commandParams'][0x0][_0x2590('0x28')]?_0x2590('0x0'):_0x2590('0x2f'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe)};break;case _0x2590('0x38'):_0x6a5ebe=_0x2590('0x3c'),_0x3623b0={'type':_0x2590('0x3a'),'content':_0x1e039e(_0x37acf6,_0x6a5ebe,_0x130833['commandParams'][0x0][_0x2590('0x31')])};}return _0x3623b0;}[_0x2590('0x15')](){var _0x5ee233,_0x5ca43e,_0x28fd8c,_0xc3f186;const _0x173805=this['editor']['plugins'][_0x2590('0xf')](_0x2590('0x3e'));let _0x544e72=Array['from'](this[_0x2590('0x39')][_0x2590('0x4')]['document'][_0x2590('0xb')][_0x2590('0x22')]());return(null===(_0x5ee233=_0x544e72[0x0])||void 0x0===_0x5ee233?void 0x0:_0x5ee233['is']('element',_0x2590('0xc')))&&_0x544e72['unshift'](..._0x173805['getSiblingNodes'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x3')](),_0x2590('0x1b'))),(null===(_0x5ca43e=_0x544e72[_0x544e72[_0x2590('0x9')]-0x1])||void 0x0===_0x5ca43e?void 0x0:_0x5ca43e['is']('element',_0x2590('0xc')))&&_0x544e72[_0x2590('0x12')](..._0x173805['getSiblingNodes'](this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x23')](),_0x2590('0x18'))),_0x544e72=[...new Set(_0x544e72)],(null===(_0xc3f186=null===(_0x28fd8c=this['editor'][_0x2590('0x4')][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x3')]())||void 0x0===_0x28fd8c?void 0x0:_0x28fd8c[_0x2590('0x33')])||void 0x0===_0xc3f186?void 0x0:_0xc3f186['is']('element',_0x2590('0xc')))&&(_0x544e72=_0x544e72['filter'](_0x34d903=>_0x34d903['is']('element',_0x2590('0xc')))),_0x544e72;}[_0x2590('0x3f')](_0x4a31ec){const _0x5818ae=this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x3e'));let _0x76fe21=Array[_0x2590('0xe')](this[_0x2590('0x39')]['model'][_0x2590('0x3b')][_0x2590('0xb')][_0x2590('0x22')]())[_0x2590('0x1a')](_0x4a31ec)[_0x2590('0x27')](_0x43ac71=>{const _0x361704=this[_0x2590('0x39')][_0x2590('0x4')][_0x2590('0x26')](_0x43ac71,0x0);return[..._0x5818ae['getSiblingNodes'](_0x361704,_0x2590('0x1b')),..._0x5818ae[_0x2590('0x2e')](_0x361704,_0x2590('0x18'))];})['flat']();return _0x76fe21=[...new Set(_0x76fe21)],_0x76fe21;}[_0x2590('0x21')](_0x2048ce){return'ELEMENT_'+this[_0x2590('0x39')][_0x2590('0x32')][_0x2590('0xf')](_0x2590('0x3e'))[_0x2590('0x14')](_0x2048ce)['toUpperCase']()+'_LIST_'+_0x2048ce[_0x2590('0x5')]()[_0x2590('0x13')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11e9=['ELEMENT_MEDIA','media','MediaEmbedEditing','options','afterInit','has','locale','high','_descriptionFactory','showSuggestionHighlights','dataDowncast','div','createEmptyElement','data','mediaEmbed','plugins','get','TrackChangesEditing','for'];(function(_0x479fa9,_0x11e908){const _0x2bfe72=function(_0x96548f){while(--_0x96548f){_0x479fa9['push'](_0x479fa9['shift']());}};_0x2bfe72(++_0x11e908);}(_0x11e9,0x191));const _0x2bfe=function(_0x479fa9,_0x11e908){_0x479fa9=_0x479fa9-0x0;let _0x2bfe72=_0x11e9[_0x479fa9];return _0x2bfe72;};import{Plugin as _0x15172f}from'ckeditor5/src/core';import{getTranslation as _0xd8668}from'../utils/common-translations';export default class rt extends _0x15172f{[_0x2bfe('0x2')](){const _0x1f811a=this['editor'];if(!_0x1f811a[_0x2bfe('0xd')][_0x2bfe('0x3')](_0x2bfe('0x0')))return;const _0xb5b0a0=_0x1f811a['plugins'][_0x2bfe('0xe')](_0x2bfe('0xf')),_0x549dae=_0x1f811a[_0x2bfe('0x4')];_0xb5b0a0['enableCommand'](_0x2bfe('0xc')),_0xb5b0a0[_0x2bfe('0x6')]['registerElementLabel'](_0x2bfe('0x12'),_0xf27a23=>_0xd8668(_0x549dae,_0x2bfe('0x11'),_0xf27a23)),_0x1f811a['conversion'][_0x2bfe('0x10')](_0x2bfe('0x8'))['elementToElement']({'model':_0x2bfe('0x12'),'view':(_0x28e047,{writer:_0x431ee1,options:_0x219e87})=>{if(_0x219e87[_0x2bfe('0x7')])return _0x431ee1[_0x2bfe('0xa')](_0x2bfe('0x9'));},'converterPriority':_0x2bfe('0x5')}),_0x1f811a[_0x2bfe('0xb')]['downcastDispatcher']['on']('attribute:url:media',(_0xb4879e,_0x2fdd0e,_0x21c5fc)=>{_0x21c5fc[_0x2bfe('0x1')][_0x2bfe('0x7')]&&_0xb4879e['stop']();},{'priority':_0x2bfe('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3035=['afterInit','get','enableCommand','mention','TrackChangesEditing','has','plugins'];(function(_0xc13a53,_0x3035db){const _0xcb879f=function(_0x46eaf4){while(--_0x46eaf4){_0xc13a53['push'](_0xc13a53['shift']());}};_0xcb879f(++_0x3035db);}(_0x3035,0x96));const _0xcb87=function(_0xc13a53,_0x3035db){_0xc13a53=_0xc13a53-0x0;let _0xcb879f=_0x3035[_0xc13a53];return _0xcb879f;};import{Plugin as _0x4cb465}from'ckeditor5/src/core';export default class at extends _0x4cb465{[_0xcb87('0x4')](){const _0x43b1bd=this['editor'];_0x43b1bd[_0xcb87('0x3')][_0xcb87('0x2')]('MentionEditing')&&_0x43b1bd[_0xcb87('0x3')][_0xcb87('0x5')](_0xcb87('0x1'))[_0xcb87('0x6')](_0xcb87('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x87ad=['_descriptionFactory','PageBreakEditing','locale','TrackChangesEditing','editor','pageBreak','has','afterInit','get','ELEMENT_PAGE_BREAK','plugins'];(function(_0x471f54,_0x87ad41){const _0x3de03a=function(_0x435245){while(--_0x435245){_0x471f54['push'](_0x471f54['shift']());}};_0x3de03a(++_0x87ad41);}(_0x87ad,0x18f));const _0x3de0=function(_0x471f54,_0x87ad41){_0x471f54=_0x471f54-0x0;let _0x3de03a=_0x87ad[_0x471f54];return _0x3de03a;};import{Plugin as _0x5bbd8b}from'ckeditor5/src/core';import{getTranslation as _0x4151af}from'../utils/common-translations';export default class ct extends _0x5bbd8b{[_0x3de0('0x4')](){const _0x5c1c6b=this[_0x3de0('0x1')];if(!_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x3')](_0x3de0('0x9')))return;_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x5')]('TrackChangesEditing')['enableCommand'](_0x3de0('0x2'));const _0x11fb13=_0x5c1c6b[_0x3de0('0x7')][_0x3de0('0x5')](_0x3de0('0x0')),_0x1465a3=_0x5c1c6b[_0x3de0('0xa')];_0x11fb13[_0x3de0('0x8')]['registerElementLabel'](_0x3de0('0x2'),_0x57cc98=>_0x4151af(_0x1465a3,_0x3de0('0x6'),_0x57cc98));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e30=['isTouching','schema','writer','bindElementToMarker','registerDescriptionCallback','mapper','commandName','ELEMENT_PARAGRAPH','consumable','editing','editor','getFirstRange','highest','blockName','paragraph','document','insertion','locale','get','nodeAfter','afterInit','activeMarkers','type','end','insertParagraph','TrackChangesEditing','span','_descriptionFactory','selection','includes','ck-suggestion-marker-split','consume','from','checkChild','isBlock','options','*Change\x20to:*\x20%0','parent','isObject','enableCommand','markBlockFormat','addClass','addMarker:suggestion:insertion','$text','markerName','markerRange','registerElementLabel','createUIElement','plugins','showSuggestionHighlights','has','format','getSelectedBlocks','downcastDispatcher','model'];(function(_0x54bb41,_0x1e3066){const _0x37ef46=function(_0x261452){while(--_0x261452){_0x54bb41['push'](_0x54bb41['shift']());}};_0x37ef46(++_0x1e3066);}(_0x1e30,0x1c8));const _0x37ef=function(_0x54bb41,_0x1e3066){_0x54bb41=_0x54bb41-0x0;let _0x37ef46=_0x1e30[_0x54bb41];return _0x37ef46;};import{Plugin as _0x55841b}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2d06ab}from'./utils';import{getTranslation as _0xdac6a4}from'../utils/common-translations';export default class ht extends _0x55841b{[_0x37ef('0x4')](){const _0x140b71=this['editor'];if(!_0x140b71[_0x37ef('0x20')][_0x37ef('0x22')]('Paragraph'))return;const _0xb1d4c1=_0x140b71[_0x37ef('0x1')],_0x122311=_0x140b71[_0x37ef('0x20')][_0x37ef('0x2')]('TrackChangesEditing');_0x122311['_descriptionFactory'][_0x37ef('0x1e')](_0x37ef('0x35'),_0x482288=>_0xdac6a4(_0xb1d4c1,_0x37ef('0x2e'),_0x482288)),_0x122311[_0x37ef('0x17')]('paragraph',(_0x19da23,_0x1b9bfb={})=>{const _0x248351=_0x140b71['model'][_0x37ef('0x36')],_0x3e240c=_0x1b9bfb[_0x37ef('0xc')]||_0x248351[_0x37ef('0xc')],_0xa9e81a=Array[_0x37ef('0x10')](_0x3e240c[_0x37ef('0x24')]())['filter'](_0x54bb31=>function(_0x3c17bf,_0x25ac54){return _0x25ac54[_0x37ef('0x11')](_0x3c17bf[_0x37ef('0x15')],_0x37ef('0x35'))&&!_0x25ac54[_0x37ef('0x16')](_0x3c17bf)&&_0x37ef('0x35')!=_0x3c17bf['name'];}(_0x54bb31,this[_0x37ef('0x31')][_0x37ef('0x26')]['schema']));_0x140b71[_0x37ef('0x26')]['change'](()=>{for(const _0x1003f0 of _0xa9e81a)_0x122311[_0x37ef('0x18')](_0x1003f0,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x37ef('0x34')},_0x2d06ab(_0x1003f0));});}),_0x122311[_0x37ef('0xb')][_0x37ef('0x2b')](_0x444249=>{const {data:_0x163cbc}=_0x444249;if(_0x163cbc&&'paragraph'==_0x163cbc[_0x37ef('0x2d')])return{'type':_0x37ef('0x23'),'content':_0xdac6a4(_0xb1d4c1,_0x37ef('0x14'),_0xdac6a4(_0xb1d4c1,_0x37ef('0x2e')))};}),_0x122311[_0x37ef('0x17')](_0x37ef('0x8')),_0x140b71[_0x37ef('0x30')]['downcastDispatcher']['on'](_0x37ef('0x1a'),ar(_0x140b71),{'priority':_0x37ef('0x33')}),_0x140b71['data'][_0x37ef('0x25')]['on'](_0x37ef('0x1a'),(_0x408ae3,_0x411aac,_0x30bbb2)=>{_0x30bbb2[_0x37ef('0x13')][_0x37ef('0x21')]&&ar(_0x140b71,{'showActiveMarker':!0x1})(_0x408ae3,_0x411aac,_0x30bbb2);},{'priority':_0x37ef('0x33')});const _0x109187=_0x122311[_0x37ef('0xb')];_0x109187[_0x37ef('0x2b')](_0x536402=>{if(_0x37ef('0x0')!==_0x536402[_0x37ef('0x6')])return;const {start:_0x2e1e1e,end:_0x52aa8b}=_0x536402[_0x37ef('0x32')]();if(!_0x2e1e1e[_0x37ef('0x27')](_0x52aa8b)||!_0x2e1e1e[_0x37ef('0x3')])return;const _0x1edfba=_0x140b71['model'][_0x37ef('0x28')],_0x56ec87=_0x2e1e1e[_0x37ef('0x3')];return _0x1edfba[_0x37ef('0x12')](_0x56ec87)&&!_0x1edfba['isLimit'](_0x56ec87)&&_0x1edfba[_0x37ef('0x11')](_0x56ec87,_0x37ef('0x1b'))?{'type':_0x37ef('0x0'),'content':_0xdac6a4(_0xb1d4c1,'*Insert:*\x20%0',_0x109187['getItemLabel'](_0x56ec87,0x1))}:void 0x0;});}}function ar(_0x438847,{showActiveMarker:_0x21d151=!0x0}={}){return(_0x2d9740,_0x36595a,_0x5bbc33)=>{const _0x7fcb83=_0x438847['plugins']['get'](_0x37ef('0x9')),_0x2e1e16=_0x36595a[_0x37ef('0x1d')]['start'],_0x3d3405=_0x36595a[_0x37ef('0x1d')][_0x37ef('0x7')],_0x4873af=_0x438847[_0x37ef('0x26')]['schema'];if(!_0x2e1e16[_0x37ef('0x27')](_0x3d3405)||!_0x2e1e16['nodeAfter'])return;const _0x2e57c8=_0x2e1e16[_0x37ef('0x3')];if(_0x4873af['isBlock'](_0x2e57c8)&&!_0x4873af['isLimit'](_0x2e57c8)&&_0x4873af['checkChild'](_0x2e57c8,_0x37ef('0x1b'))){if(!_0x5bbc33[_0x37ef('0x2f')][_0x37ef('0xf')](_0x36595a[_0x37ef('0x1d')],_0x2d9740['name']))return;const _0x42e206=_0x5bbc33['writer'][_0x37ef('0x1f')](_0x37ef('0xa'),{'class':_0x37ef('0xe')}),_0x170e62=_0x5bbc33[_0x37ef('0x2c')]['toViewPosition'](_0x3d3405);_0x21d151&&_0x7fcb83[_0x37ef('0x5')][_0x37ef('0xd')](_0x36595a[_0x37ef('0x1c')])&&_0x5bbc33['writer'][_0x37ef('0x19')]('ck-suggestion-marker--active',_0x42e206),_0x5bbc33[_0x37ef('0x29')]['insert'](_0x170e62,_0x42e206),_0x5bbc33[_0x37ef('0x2c')][_0x37ef('0x2a')](_0x42e206,_0x36595a[_0x37ef('0x1c')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38e2=['RemoveFormatEditing','getItems','change','schema','*Remove\x20all\x20formatting*','isFormatting','getAttributeProperties','selection','afterInit','markInlineFormat','TrackChangesEditing','format','from','has','plugins','model','locale','enableCommand','getRanges','removeFormat','editor','getAttributes','createRangeOn','document','_descriptionFactory','isCollapsed','registerDescriptionCallback'];(function(_0xb105a2,_0x38e262){const _0x2c1801=function(_0x874a53){while(--_0x874a53){_0xb105a2['push'](_0xb105a2['shift']());}};_0x2c1801(++_0x38e262);}(_0x38e2,0x92));const _0x2c18=function(_0xb105a2,_0x38e262){_0xb105a2=_0xb105a2-0x0;let _0x2c1801=_0x38e2[_0xb105a2];return _0x2c1801;};import{Plugin as _0x5dcaaf}from'ckeditor5/src/core';import{getTranslation as _0x12f229}from'../utils/common-translations';export default class ut extends _0x5dcaaf{[_0x2c18('0x18')](){const _0x3e5d4b=this[_0x2c18('0x9')];if(!_0x3e5d4b[_0x2c18('0x3')][_0x2c18('0x2')](_0x2c18('0x10')))return;const _0x42c9f9=_0x3e5d4b['plugins']['get'](_0x2c18('0x1a'));_0x42c9f9[_0x2c18('0x6')](_0x2c18('0x8'),_0x42b80d=>{const _0x5e6d98=_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0xc')][_0x2c18('0x17')];_0x5e6d98[_0x2c18('0xe')]?_0x42b80d():_0x3e5d4b['model'][_0x2c18('0x12')](()=>{const _0x1b556d=Array[_0x2c18('0x1')](_0x5e6d98[_0x2c18('0x7')]());for(const _0x433bc8 of _0x1b556d)for(const _0x276180 of _0x433bc8[_0x2c18('0x11')]())mo(_0x276180,_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0x13')])&&_0x42c9f9[_0x2c18('0x19')](_0x3e5d4b[_0x2c18('0x4')][_0x2c18('0xb')](_0x276180),{'commandName':_0x2c18('0x8'),'commandParams':[]});});}),_0x42c9f9[_0x2c18('0xd')][_0x2c18('0xf')](_0x4df304=>{const {data:_0x535bc1}=_0x4df304;if(_0x535bc1&&_0x2c18('0x8')==_0x535bc1['commandName'])return{'type':_0x2c18('0x0'),'content':_0x12f229(_0x3e5d4b[_0x2c18('0x5')],_0x2c18('0x14'))};});}}function mo(_0x480bf4,_0x5b5d6e){for(const [_0x10fb0e]of _0x480bf4[_0x2c18('0xa')]()){const _0x589f27=_0x5b5d6e[_0x2c18('0x16')](_0x10fb0e);if(_0x589f27&&_0x589f27[_0x2c18('0x15')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x686f=['discardSuggestion','goToPreviousRestrictedEditingException','plugins','RestrictedEditingModeEditing','acceptAllSuggestions','discardAllSuggestions','get','has','discardSelectedSuggestions','trackChanges','acceptSelectedSuggestions','enableCommand','TrackChangesEditing','afterInit'];(function(_0x392327,_0x686f6){const _0x4e503d=function(_0x4325f6){while(--_0x4325f6){_0x392327['push'](_0x392327['shift']());}};_0x4e503d(++_0x686f6);}(_0x686f,0x154));const _0x4e50=function(_0x392327,_0x686f6){_0x392327=_0x392327-0x0;let _0x4e503d=_0x686f[_0x392327];return _0x4e503d;};import{Plugin as _0x4157d1}from'ckeditor5/src/core';export default class ft extends _0x4157d1{[_0x4e50('0x9')](){const _0x3fb307=this['editor'];if(!_0x3fb307[_0x4e50('0xc')][_0x4e50('0x3')]('RestrictedEditingModeEditing'))return;const _0xdfdb8a=_0x3fb307[_0x4e50('0xc')][_0x4e50('0x2')](_0x4e50('0x8'));_0xdfdb8a['enableCommand'](_0x4e50('0xb')),_0xdfdb8a[_0x4e50('0x7')]('goToNextRestrictedEditingException');const _0x5ad305=_0x3fb307['plugins']['get'](_0x4e50('0xd'));_0x5ad305[_0x4e50('0x7')](_0x4e50('0x5')),_0x5ad305[_0x4e50('0x7')]('acceptSuggestion'),_0x5ad305['enableCommand'](_0x4e50('0xa')),_0x5ad305[_0x4e50('0x7')](_0x4e50('0x0')),_0x5ad305['enableCommand'](_0x4e50('0x1')),_0x5ad305['enableCommand'](_0x4e50('0x6')),_0x5ad305[_0x4e50('0x7')](_0x4e50('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51d9=['mapper','consumable','writer','toViewPosition','name','softBreak','registerElementLabel','split','high','addMarker:suggestion','bindElementToMarker','markerRange','insert','TrackChangesEditing','markerName','ELEMENT_LINE_BREAK','model','plugins','options','includes','deletion','createUIElement','locale','span','init','addClass','enableCommand','downcastDispatcher','getItems','element'];(function(_0x386dfb,_0x51d99e){const _0x17074e=function(_0x31058e){while(--_0x31058e){_0x386dfb['push'](_0x386dfb['shift']());}};_0x17074e(++_0x51d99e);}(_0x51d9,0x151));const _0x1707=function(_0x386dfb,_0x51d99e){_0x386dfb=_0x386dfb-0x0;let _0x17074e=_0x51d9[_0x386dfb];return _0x17074e;};import{Plugin as _0x29c452}from'ckeditor5/src/core';import{ShiftEnter as _0xb3cebf}from'ckeditor5/src/enter';import{getTranslation as _0x205f4a}from'../utils/common-translations';export default class lt extends _0x29c452{static get['requires'](){return[_0xb3cebf];}[_0x1707('0x11')](){const _0xa4d3f6=this['editor'],_0x4571f7=_0xa4d3f6[_0x1707('0xa')]['get']('TrackChangesEditing');_0x4571f7[_0x1707('0x13')]('shiftEnter'),_0xa4d3f6['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0xa4d3f6),{'priority':'high'}),_0xa4d3f6['editing'][_0x1707('0x14')]['on']('addMarker:suggestion:deletion',re(_0xa4d3f6),{'priority':_0x1707('0x1')}),_0xa4d3f6['data']['downcastDispatcher']['on'](_0x1707('0x2'),(_0x1ae40d,_0x91654b,_0x345601)=>{_0x345601[_0x1707('0xb')]['showSuggestionHighlights']&&re(_0xa4d3f6,{'showActiveMarker':!0x1})(_0x1ae40d,_0x91654b,_0x345601);}),_0x4571f7['_descriptionFactory'][_0x1707('0x1d')](_0x1707('0x1c'),_0x4b5af5=>_0x205f4a(_0xa4d3f6[_0x1707('0xf')],_0x1707('0x8'),_0x4b5af5));}}function re(_0x58d992,{showActiveMarker:_0x18f0a5=!0x0}={}){return(_0x7e3933,_0x2f9973,_0x32e93f)=>{const _0x4c7fca=_0x58d992[_0x1707('0xa')]['get'](_0x1707('0x6'));if(!_0x32e93f[_0x1707('0x18')]['test'](_0x2f9973[_0x1707('0x4')],_0x7e3933[_0x1707('0x1b')]))return;const _0x4fece0=_0x58d992[_0x1707('0x9')];for(const _0x1adbde of _0x2f9973[_0x1707('0x4')][_0x1707('0x15')]()){if(!_0x1adbde['is'](_0x1707('0x16'),_0x1707('0x1c')))continue;const _0x160728=_0x1707('0xd')==_0x2f9973['markerName']['split'](':')[0x1]?'merge':_0x1707('0x0'),_0x23b03a=_0x32e93f[_0x1707('0x19')][_0x1707('0xe')](_0x1707('0x10'),{'class':'ck-suggestion-marker-'+_0x160728}),_0xa81f93=_0x32e93f[_0x1707('0x17')][_0x1707('0x1a')](_0x4fece0['createPositionBefore'](_0x1adbde));_0x18f0a5&&_0x4c7fca['activeMarkers'][_0x1707('0xc')](_0x2f9973[_0x1707('0x7')])&&_0x32e93f['writer'][_0x1707('0x12')]('ck-suggestion-marker--active',_0x23b03a),_0x32e93f[_0x1707('0x19')][_0x1707('0x5')](_0xa81f93,_0x23b03a),_0x32e93f['mapper'][_0x1707('0x3')](_0x23b03a,_0x2f9973[_0x1707('0x7')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4085=['commands','forceValue','registerDescriptionCallback','FORMAT_RESTRICTED_DISABLED','FORMAT_RESTRICTED_ENABLED','value','editor','format','get','locale','markInlineFormat','enableCommand','selection','model','document','change','afterInit','TrackChangesEditing','plugins','restrictedEditingException','has'];(function(_0x133125,_0x408571){const _0x135698=function(_0x2867dc){while(--_0x2867dc){_0x133125['push'](_0x133125['shift']());}};_0x135698(++_0x408571);}(_0x4085,0xb4));const _0x1356=function(_0x133125,_0x408571){_0x133125=_0x133125-0x0;let _0x135698=_0x4085[_0x133125];return _0x135698;};import{Plugin as _0x5d9d54}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x74848}from'./utils';import{getTranslation as _0x56246b}from'../utils/common-translations';export default class gt extends _0x5d9d54{[_0x1356('0x4')](){const _0x2e7750=this[_0x1356('0xf')],_0xef6925=_0x2e7750[_0x1356('0x1')],_0x38cb3d=_0x2e7750[_0x1356('0x12')];if(!_0x2e7750[_0x1356('0x6')][_0x1356('0x8')]('StandardEditingModeEditing'))return;const _0x46b154=_0x2e7750[_0x1356('0x6')][_0x1356('0x11')](_0x1356('0x5')),_0x1f7bbf=_0x1356('0x7'),_0x6db50f=_0x2e7750[_0x1356('0x9')][_0x1356('0x11')](_0x1f7bbf);_0x46b154[_0x1356('0x14')](_0x1f7bbf,(_0x54e927,_0x50ac16={})=>{const _0x5dffd7=_0xef6925[_0x1356('0x2')][_0x1356('0x0')];if(_0x5dffd7['isCollapsed'])return void _0x54e927(_0x50ac16);const _0x4770dd=void 0x0!==_0x50ac16[_0x1356('0xa')]?_0x50ac16[_0x1356('0xa')]:!_0x6db50f[_0x1356('0xe')];_0xef6925[_0x1356('0x3')](()=>{const _0x11c39b=Array['from'](_0x5dffd7['getRanges']());for(const _0x358cd2 of _0x11c39b){const _0x321c62=_0x4770dd?[_0x358cd2]:_0x74848(_0x1f7bbf,_0x358cd2,_0xef6925);for(const _0x127901 of _0x321c62)_0x46b154[_0x1356('0x13')](_0x127901,{'commandName':_0x1f7bbf,'commandParams':[{'forceValue':_0x4770dd}]});}});}),_0x46b154['_descriptionFactory'][_0x1356('0xb')](_0x5b7fe4=>{const {data:_0x5b059d}=_0x5b7fe4;if(_0x5b059d&&_0x5b059d['commandName']==_0x1f7bbf)return _0x5b059d['commandParams'][0x0][_0x1356('0xa')]?{'type':_0x1356('0x10'),'content':_0x56246b(_0x38cb3d,_0x1356('0xd'))}:{'type':_0x1356('0x10'),'content':_0x56246b(_0x38cb3d,_0x1356('0xc'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b9a=['getAttribute','includes','editor','from','getItems','push','model','every','name','normalizeConfig','enableCommand','get','style:','_getRangesWithClasses','styleName','createRangeOn','StyleUtils','format','registerDescriptionCallback','style.definitions','plugins','config','element','toLowerCase','Style','commands','style','getAncestors','commandName','_getStyleDefinition','commandParams','TrackChangesEditing','*Remove\x20format:*\x20%0','isBlock','block','has','inline','document','getSelectedBlocks','value','isCollapsed','DataSchema','change','modelElements','afterInit','find'];(function(_0x390d8e,_0x1b9a7c){const _0x49824a=function(_0x27c76d){while(--_0x27c76d){_0x390d8e['push'](_0x390d8e['shift']());}};_0x49824a(++_0x1b9a7c);}(_0x1b9a,0x153));const _0x4982=function(_0x390d8e,_0x1b9a7c){_0x390d8e=_0x390d8e-0x0;let _0x49824a=_0x1b9a[_0x390d8e];return _0x49824a;};import{Plugin as _0x12a00f}from'ckeditor5/src/core';import{getTranslation as _0x22cc29}from'../utils/common-translations';export default class mt extends _0x12a00f{[_0x4982('0x1b')](){const _0x2684cf=this[_0x4982('0x1f')];if(!_0x2684cf[_0x4982('0x3')][_0x4982('0x12')](_0x4982('0x7')))return;const _0x15e77c=_0x2684cf[_0x4982('0x8')][_0x4982('0x28')]('style'),_0x27f33d=_0x2684cf['plugins']['get'](_0x4982('0xe')),_0x23729e=_0x2684cf['locale'],_0x40662a=_0x2684cf['plugins'][_0x4982('0x28')](_0x4982('0x18')),_0x5c75b2=_0x2684cf[_0x4982('0x3')]['get'](_0x4982('0x2d'))[_0x4982('0x26')](_0x40662a,_0x2684cf[_0x4982('0x4')][_0x4982('0x28')](_0x4982('0x2')));_0x27f33d[_0x4982('0x27')](_0x4982('0x9'),(_0x5dce35,{styleName:_0xf6618c})=>{const _0x46dd02=_0x2684cf['model'][_0x4982('0x14')]['selection'],_0x1a292d=this['_getStyleDefinition'](_0xf6618c,_0x5c75b2);if(!_0x1a292d)return;if(!_0x15e77c['enabledStyles'][_0x4982('0x1e')](_0xf6618c))return;if(_0x46dd02[_0x4982('0x17')]&&!_0x1a292d[_0x4982('0x10')])return void _0x5dce35({'styleName':_0xf6618c});const _0x37681a=!_0x15e77c[_0x4982('0x16')][_0x4982('0x1e')](_0x1a292d[_0x4982('0x25')]);if(_0x1a292d['isBlock']){const _0x15bb9c=function(_0x320a6,_0x1ba4d3){const _0xf36010=new Set();for(const _0x117b6b of _0x320a6){const _0x515204=_0x117b6b[_0x4982('0xa')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x3ab4a8 of _0x515204)if(_0x1ba4d3['includes'](_0x3ab4a8[_0x4982('0x25')])){_0xf36010['add'](_0x3ab4a8);break;}}return _0xf36010;}(_0x46dd02[_0x4982('0x15')](),_0x1a292d[_0x4982('0x1a')]);_0x2684cf[_0x4982('0x23')][_0x4982('0x19')](()=>{for(const _0x195b64 of _0x15bb9c)_0x27f33d['markBlockFormat'](_0x195b64,{'commandName':_0x4982('0x9'),'commandParams':[{'styleName':_0xf6618c,'forceValue':_0x37681a}],'formatGroupId':_0x4982('0x29')+_0xf6618c});});}else{let _0x5430f9=Array[_0x4982('0x20')](_0x46dd02['getRanges']());if(!_0x37681a){const _0x4d7980=Array['from'](_0x40662a['getDefinitionsForView'](_0x1a292d[_0x4982('0x5')],!0x1))[0x0][_0x4982('0x23')],_0x17c192=[];for(const _0x17e579 of _0x5430f9){const _0x422f8d=this['_getRangesWithClasses'](_0x2684cf[_0x4982('0x23')],_0x17e579,_0x1a292d['classes'],_0x4d7980);_0x17c192[_0x4982('0x22')](..._0x422f8d);}_0x5430f9=_0x17c192;}_0x2684cf['model'][_0x4982('0x19')](()=>{for(const _0x1b9eab of _0x5430f9)_0x27f33d['markInlineFormat'](_0x1b9eab,{'commandName':_0x4982('0x9'),'commandParams':[{'styleName':_0xf6618c,'forceValue':_0x37681a}]});});}}),_0x27f33d['_descriptionFactory'][_0x4982('0x1')](_0x163658=>{const {data:_0x3506ef}=_0x163658;if(_0x3506ef&&_0x4982('0x9')===_0x3506ef[_0x4982('0xb')])return _0x3506ef['commandParams'][0x0]['forceValue']?{'type':_0x4982('0x0'),'content':_0x22cc29(_0x23729e,'*Format:*\x20%0',_0x3506ef[_0x4982('0xd')][0x0][_0x4982('0x2b')][_0x4982('0x6')]())}:{'type':_0x4982('0x0'),'content':_0x22cc29(_0x23729e,_0x4982('0xf'),_0x3506ef[_0x4982('0xd')][0x0]['styleName'][_0x4982('0x6')]())};});}[_0x4982('0xc')](_0x26a7b9,_0x4cd009){let _0x9dcf8c=_0x4cd009[_0x4982('0x11')][_0x4982('0x1c')](_0x6e56be=>_0x6e56be[_0x4982('0x25')]===_0x26a7b9);return _0x9dcf8c||(_0x9dcf8c=_0x4cd009[_0x4982('0x13')]['find'](_0x206fa3=>_0x206fa3[_0x4982('0x25')]===_0x26a7b9)),_0x9dcf8c;}[_0x4982('0x2a')](_0x437517,_0x3df164,_0x54d33e,_0x192f5e){const _0x4f9a95=[];for(const _0x49046e of _0x3df164[_0x4982('0x21')]()){const _0xc3ca2b=_0x49046e[_0x4982('0x1d')](_0x192f5e);_0xc3ca2b&&(_0x54d33e[_0x4982('0x24')](_0x534cf3=>_0xc3ca2b['classes'][_0x4982('0x1e')](_0x534cf3))&&_0x4f9a95[_0x4982('0x22')](_0x437517[_0x4982('0x2c')](_0x49046e)));}return _0x4f9a95;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23a5=['type','ELEMENT_TABLE','downcastDispatcher','$graveyard','removeTableRow','setSelection','getSelectionAffectedTableCells','values','span','maxRow','addMarker:suggestion','removeTableColumn','differ','join','TableEditing','nodeAfter','getChildren','last','ELEMENT_TABLE_COLUMN_WITH_TEXT','filter','addRange','min','TrackChangesEditing','insertTable','order','createPositionAt','isIntersectingWithRange','fromRange','model','addClass','detach','element','rootName','getRowIndexes','_getCoordsForCells','get','TableUtils','insertTableColumnLeft','end','registerElementLabel','position','document','ELEMENT_TABLE_ROW','selectTableColumn','push','findAncestor','enableCommand','markMultiRangeInsertion','suggestion','_acceptFormatSuggestionCallbackFactory','rowspan','insertion','map','maxColumn','tableCell','refresh','*Remove:*\x20%0','createRangeOn','$textProxy','_descriptionFactory','substr','getCellLocation','enqueueChange','afterInit','insertTableColumnRight','registerCustomCallback','locale','getRanges','low','editor','minColumn','isEqual','deletion','highest','minRow','length','commands','getItems','start','tablePaste','insert','mapper','change:data','data','startsWith','_setupColumnsRowsFixing','table','item','every','tableColumn','from','batch','toViewElement','subType','cell','getFirstRange','nodeBefore','_tableSuggestions','_splitMarkerName','isArray','writer','getColumnIndexes','execute','hasAttribute','oldRange','classes','_suggestionFactory','some','MIN_SAFE_INTEGER','first','registerDescriptionCallback','isInContent','toLowerCase','ELEMENT_TABLE_COLUMN','tableRow','createRangeIn','colspan','_getSuggestionCoords','isTouching','name','_tablePostFixingSubtypes','registerPostFixer','left','getAttribute','root','change','getChanges','ELEMENT_TABLE_ROW_WITH_TEXT','MAX_SAFE_INTEGER','markMultiRangeDeletion','ELEMENT_TABLE_WITH_TEXT','getSuggestion','accept','has','discard','plugins','*Insert:*\x20%0','insertTableRowBelow'];(function(_0x5a450e,_0x23a538){const _0x5c77ca=function(_0x3b7e15){while(--_0x3b7e15){_0x5a450e['push'](_0x5a450e['shift']());}};_0x5c77ca(++_0x23a538);}(_0x23a5,0x1df));const _0x5c77=function(_0x5a450e,_0x23a538){_0x5a450e=_0x5a450e-0x0;let _0x5c77ca=_0x23a5[_0x5a450e];return _0x5c77ca;};import{Plugin as _0x1cbfd8}from'ckeditor5/src/core';import{LiveRange as _0x49c5b6}from'ckeditor5/src/engine';import{setHighlightHandling as _0xed6d71}from'ckeditor5/src/widget';import{getTranslation as _0x3ed19c}from'../utils/common-translations';export default class dt extends _0x1cbfd8{constructor(_0x5418f9){super(_0x5418f9),this[_0x5c77('0x37')]=[_0x5c77('0x31'),_0x5c77('0x18')],this[_0x5c77('0x20')]=new Set();}[_0x5c77('0x88')](){const _0xc82ade=this['editor'],_0x5eb4ac=_0xc82ade['model'][_0x5c77('0x72')]['selection'];if(!_0xc82ade['plugins'][_0x5c77('0x44')](_0x5c77('0x57')))return;const _0x5213e0=_0xc82ade[_0x5c77('0x1')],_0xb9f178=_0xc82ade[_0x5c77('0x46')]['get'](_0x5c77('0x5f')),_0x3c576f=_0xc82ade[_0x5c77('0x46')][_0x5c77('0x6c')](_0x5c77('0x6d'));_0xb9f178[_0x5c77('0x84')][_0x5c77('0x70')](_0x5c77('0x15'),_0x3cb555=>_0x3ed19c(_0x5213e0,_0x5c77('0x4a'),_0x3cb555)),this[_0x5c77('0x14')](),_0xb9f178[_0x5c77('0x77')](_0x5c77('0x60')),_0xb9f178[_0x5c77('0x77')]('selectTableRow'),_0xb9f178[_0x5c77('0x77')](_0x5c77('0x74'));for(const _0x446867 of['insertTableRowAbove',_0x5c77('0x48')]){const _0x3fc21c=_0xc82ade[_0x5c77('0xb')]['get'](_0x446867);_0xb9f178[_0x5c77('0x77')](_0x446867,_0x4541fc=>{_0xc82ade[_0x5c77('0x65')][_0x5c77('0x3c')](_0x6e443c=>{_0x4541fc();const _0x1e7fc2='above'===_0x3fc21c[_0x5c77('0x61')],_0xdff626=_0x3c576f[_0x5c77('0x4f')](_0x5eb4ac),_0x3f24b0=_0x3c576f[_0x5c77('0x6a')](_0xdff626),_0x3c4ae1=_0x1e7fc2?_0x3f24b0[_0x5c77('0x2c')]-0x1:_0x3f24b0[_0x5c77('0x5a')]+0x1,_0x6f31b4=_0xdff626[0x0][_0x5c77('0x76')](_0x5c77('0x15')),_0x417072=_0x3c576f['createTableWalker'](_0x6f31b4,{'startRow':_0x3c4ae1,'endRow':_0x3c4ae1}),_0x4b9965=Array[_0x5c77('0x19')](_0x417072)[_0x5c77('0x7d')](_0x51f57c=>_0x6e443c[_0x5c77('0x82')](_0x51f57c['cell']));_0xb9f178['markMultiRangeInsertion'](_0x4b9965,_0x5c77('0x31'));});});}for(const _0x526283 of[_0x5c77('0x6e'),_0x5c77('0x89')]){const _0x920db1=_0xc82ade[_0x5c77('0xb')][_0x5c77('0x6c')](_0x526283);_0xb9f178[_0x5c77('0x77')](_0x526283,_0x4e306a=>{_0xc82ade[_0x5c77('0x65')]['change'](_0x183933=>{_0x4e306a();const _0x1c8232=_0x5c77('0x39')===_0x920db1[_0x5c77('0x61')],_0x39ffdd=_0x3c576f[_0x5c77('0x4f')](_0x5eb4ac),_0x36051b=_0x3c576f[_0x5c77('0x24')](_0x39ffdd),_0x4a1199=_0x1c8232?_0x36051b[_0x5c77('0x2c')]-0x1:_0x36051b[_0x5c77('0x5a')]+0x1,_0x293cee=_0x39ffdd[0x0][_0x5c77('0x76')](_0x5c77('0x15')),_0x555fcf=_0x3c576f['createTableWalker'](_0x293cee,{'startRow':0x0,'column':_0x4a1199,'includeAllSlots':!0x1}),_0x50f35e=Array[_0x5c77('0x19')](_0x555fcf)[_0x5c77('0x7d')](_0x2c8f92=>_0x183933[_0x5c77('0x82')](_0x2c8f92[_0x5c77('0x1d')]));_0xb9f178[_0x5c77('0x78')](_0x50f35e,_0x5c77('0x18'));});});}for(const _0x196c46 of['removeTableRow',_0x5c77('0x54')]){const _0x3b3d8a=_0x196c46[_0x5c77('0x85')](0xb),_0x3b2474=_0x3b3d8a[_0x5c77('0x2f')](),_0x179fe6=_0x3b2474[_0x5c77('0x85')](0x0,0x3)+_0x5c77('0x51'),_0x1d3b3b=_0x5c77('0x15')+_0x3b3d8a,_0xa53f45=_0x5c77('0x5e')+_0x3b3d8a,_0x3744ee='max'+_0x3b3d8a;_0xb9f178['enableCommand'](_0x196c46,()=>{_0xc82ade[_0x5c77('0x65')][_0x5c77('0x3c')](_0x1dccae=>{const _0x415121=_0x3c576f['getSelectionAffectedTableCells'](_0x5eb4ac),_0x143f33=_0x415121[0x0][_0x5c77('0x76')]('table');let _0x2fd3f3;if('removeTableRow'==_0x196c46){const _0x28ba61=_0x3c576f[_0x5c77('0x6a')](_0x415121);_0x2fd3f3={'startRow':_0x28ba61[_0x5c77('0x2c')],'endRow':_0x28ba61[_0x5c77('0x5a')],'includeAllSlots':!0x0};}else{const _0x52a231=_0x3c576f[_0x5c77('0x24')](_0x415121);_0x2fd3f3={'startColumn':_0x52a231[_0x5c77('0x2c')],'endColumn':_0x52a231['last'],'includeAllSlots':!0x0};}const _0x18b073=_0x3c576f['createTableWalker'](_0x143f33,_0x2fd3f3),_0x40363e=Array[_0x5c77('0x19')](_0x18b073)['map'](({cell:_0x9b63c5})=>_0x9b63c5),_0x21b91b=se(_0x40363e[_0x5c77('0x5c')](_0x1e5384=>_0x1e5384['hasAttribute'](_0x179fe6))),_0x3cf2c4=se(_0x40363e[_0x5c77('0x5c')](_0x56d010=>!_0x56d010['hasAttribute'](_0x179fe6)))[_0x5c77('0x7d')](_0x5b6b8b=>_0x1dccae[_0x5c77('0x82')](_0x5b6b8b)),_0x3d7e30=_0xb9f178[_0x5c77('0x40')](_0x3cf2c4,_0x1d3b3b);if(_0x3d7e30&&('tableRow'==_0x3d7e30[_0x5c77('0x1c')]||_0x5c77('0x18')==_0x3d7e30[_0x5c77('0x1c')])){const _0x33a682=this['_getSuggestionCoords'](_0x3d7e30);for(const _0x5e3cfb of _0x21b91b){const _0x41a5c9=_0x1dccae['createRangeOn'](_0x5e3cfb),_0x385bfa=_0x3c576f[_0x5c77('0x86')](_0x5e3cfb),_0x4633b8=_0x5e3cfb[_0x5c77('0x3a')](_0x179fe6)-0x1,_0x2783ea=_0x33a682[_0xa53f45],_0x19d2ce=_0x33a682[_0x3744ee];_0x2783ea<=_0x385bfa[_0x3b2474]&&_0x385bfa[_0x3b2474]+_0x4633b8<=_0x19d2ce&&_0x3d7e30[_0x5c77('0x5d')](_0x41a5c9);}}});});}function _0x23b26b(_0x5a3442){const _0xd9858a=Array[_0x5c77('0x19')](_0x5eb4ac[_0x5c77('0x2')]())['map'](_0x460689=>_0x49c5b6[_0x5c77('0x64')](_0x460689));_0xc82ade['model'][_0x5c77('0x3c')](_0x4fa7d2=>{const _0x5759f4=_0x4fa7d2[_0x5c77('0x1a')];_0x5a3442=_0x5a3442['filter'](_0x1330c0=>_0x5c77('0x4c')!=_0x1330c0['root'][_0x5c77('0x69')]),_0x4fa7d2[_0x5c77('0x4e')](_0x5a3442),_0xc82ade[_0x5c77('0xb')][_0x5c77('0x6c')]('removeTableRow')[_0x5c77('0x80')](),_0xc82ade[_0x5c77('0x25')](_0x5c77('0x4d'),{'forceDefaultExecution':!0x0}),_0xc82ade[_0x5c77('0x65')][_0x5c77('0x87')](()=>{_0xc82ade[_0x5c77('0x65')][_0x5c77('0x87')](_0x5759f4,_0xa75770=>{const _0x49a458=_0xd9858a[_0x5c77('0x5c')](_0x9faafd=>_0x5c77('0x4c')!=_0x9faafd[_0x5c77('0x3b')][_0x5c77('0x69')]);_0x49a458['length']>0x0&&_0xa75770[_0x5c77('0x4e')](_0x49a458);for(const _0x2b74f4 of _0xd9858a)_0x2b74f4['detach']();});});});}function _0x30854f(_0x446cea){_0xc82ade[_0x5c77('0x65')][_0x5c77('0x3c')](_0x1023ec=>{const _0xb0a95=Array[_0x5c77('0x19')](_0x5eb4ac[_0x5c77('0x2')]())[_0x5c77('0x7d')](_0x1ff750=>_0x49c5b6[_0x5c77('0x64')](_0x1ff750)),_0x18e03f=[];for(const _0x26be05 of _0x446cea)for(const _0x47a34f of _0x26be05[_0x5c77('0xc')]({'shallow':!0x0}))_0x18e03f[_0x5c77('0x75')](_0x47a34f);for(const _0x3ccfd9 of _0x18e03f)'$graveyard'!=_0x3ccfd9[_0x5c77('0x3b')][_0x5c77('0x69')]&&(_0x1023ec[_0x5c77('0x4e')](_0x1023ec[_0x5c77('0x62')](_0x3ccfd9,0x0)),_0xc82ade[_0x5c77('0xb')][_0x5c77('0x6c')](_0x5c77('0x54'))['refresh'](),_0xc82ade[_0x5c77('0x25')](_0x5c77('0x54'),{'forceDefaultExecution':!0x0}));const _0x32f6f4=_0xb0a95[_0x5c77('0x5c')](_0x356c18=>'$graveyard'!=_0x356c18['root']['rootName']);_0x32f6f4['length']>0x0&&_0x1023ec[_0x5c77('0x4e')](_0x32f6f4);for(const _0xc1b778 of _0xb0a95)_0xc1b778[_0x5c77('0x67')]();});}function _0x185e25(_0x380d9d,_0x3bee06){return _0x3bee06[_0x5c77('0x17')](_0x2f7c0c=>_0x380d9d[_0x5c77('0x2a')](_0x21d6a8=>_0x21d6a8['end'][_0x5c77('0x6')](_0x2f7c0c[_0x5c77('0xd')])||_0x2f7c0c[_0x5c77('0x6f')]['isEqual'](_0x21d6a8['start'])));}function _0x53693e(_0xc824b7,_0x3ce8a5){return _0xc824b7['some'](_0x5c1b71=>_0x3ce8a5['some'](_0x2b732e=>_0x5c1b71[_0x5c77('0x6f')][_0x5c77('0x35')](_0x2b732e[_0x5c77('0xd')])));}_0xc82ade[_0x5c77('0x12')][_0x5c77('0x4b')]['on'](_0x5c77('0x53'),(_0x88a852,_0x1f5cc9,_0x89b581)=>{if(!_0x89b581['options']['showSuggestionHighlights'])return;const _0x57569e=_0x1f5cc9[_0x5c77('0x16')];if(!_0x57569e)return;const _0x5af058=_0x89b581[_0x5c77('0x10')][_0x5c77('0x1b')](_0x57569e);function _0x3a42ef(_0x39023a){return Array[_0x5c77('0x22')](_0x39023a)?_0x39023a:[_0x39023a];}_0x5af058&&_0x5c77('0x7f')===_0x57569e[_0x5c77('0x36')]&&_0xed6d71(_0x5af058,_0x89b581[_0x5c77('0x23')],(_0x59e4ab,_0x5001d7,_0x497746)=>_0x497746[_0x5c77('0x66')](_0x3a42ef(_0x5001d7['classes']),_0x59e4ab),(_0x988a15,_0x5b9a54,_0xda73f9)=>_0xda73f9['removeClass'](_0x3a42ef(_0x5b9a54[_0x5c77('0x28')]),_0x988a15));},{'priority':_0x5c77('0x8')}),_0xb9f178[_0x5c77('0x84')][_0x5c77('0x2d')](_0x33d8a4=>{if(_0x5c77('0x7c')!=_0x33d8a4[_0x5c77('0x49')]&&'deletion'!=_0x33d8a4[_0x5c77('0x49')])return;const _0x597210=_0x33d8a4['getContainedElement']();if(null!=_0x597210&&_0x597210['is'](_0x5c77('0x68'),_0x5c77('0x15'))){if(_0x5c77('0x7c')==_0x33d8a4[_0x5c77('0x49')]){const _0x3cba1a=_0x33d8a4['getItems']()['filter'](_0x21b07b=>_0x21b07b['is'](_0x5c77('0x83')))[_0x5c77('0x7d')](_0x1c7277=>_0x1c7277[_0x5c77('0x12')]);if(_0x3cba1a[_0x5c77('0xa')])return{'type':_0x5c77('0x7c'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x47'),_0x3ed19c(_0x5213e0,_0x5c77('0x41'),'\x22'+_0x3cba1a[_0x5c77('0x56')]('\x20')+'\x22'))};}if('deletion'==_0x33d8a4[_0x5c77('0x49')]){const _0x4c9958=_0x33d8a4[_0x5c77('0xc')]()[_0x5c77('0x5c')](_0x488e33=>_0x488e33['is'](_0x5c77('0x83')))[_0x5c77('0x7d')](_0xc4cae=>_0xc4cae[_0x5c77('0x12')]);if(_0x4c9958[_0x5c77('0xa')])return{'type':_0x5c77('0x7'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x81'),_0x3ed19c(_0x5213e0,_0x5c77('0x41'),'\x22'+_0x4c9958[_0x5c77('0x56')]('\x20')+'\x22'))};}}}),_0xb9f178[_0x5c77('0x84')][_0x5c77('0x2d')](_0x3b9c6c=>{if(_0x5c77('0x31')==_0x3b9c6c[_0x5c77('0x1c')]){const _0x924a36=_0x3b9c6c['getItems']()[_0x5c77('0x5c')](_0x13430c=>_0x13430c['is'](_0x5c77('0x83')))['map'](_0x542c76=>_0x542c76[_0x5c77('0x12')]),_0x37764a=this[_0x5c77('0x34')](_0x3b9c6c),_0x47d9ed=_0x37764a[_0x5c77('0x52')]-_0x37764a[_0x5c77('0x9')]+0x1;if(_0x5c77('0x7c')==_0x3b9c6c[_0x5c77('0x49')])return _0x924a36[_0x5c77('0xa')]?{'type':'insertion','content':_0x3ed19c(_0x5213e0,_0x5c77('0x47'),_0x3ed19c(_0x5213e0,_0x5c77('0x3e'),[_0x47d9ed,'\x22'+_0x924a36[_0x5c77('0x56')]('\x20')+'\x22']))}:{'type':_0x5c77('0x7c'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x47'),_0x3ed19c(_0x5213e0,_0x5c77('0x73'),_0x47d9ed))};if(_0x5c77('0x7')==_0x3b9c6c[_0x5c77('0x49')])return _0x924a36['length']?{'type':'deletion','content':_0x3ed19c(_0x5213e0,'*Remove:*\x20%0',_0x3ed19c(_0x5213e0,_0x5c77('0x3e'),[_0x47d9ed,'\x22'+_0x924a36[_0x5c77('0x56')]('\x20')+'\x22']))}:{'type':_0x5c77('0x7'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x81'),_0x3ed19c(_0x5213e0,_0x5c77('0x73'),_0x47d9ed))};}if(_0x5c77('0x18')==_0x3b9c6c[_0x5c77('0x1c')]){const _0x46fe6b=_0x3b9c6c['getItems']()[_0x5c77('0x5c')](_0x309ad7=>_0x309ad7['is'](_0x5c77('0x83')))['map'](_0x316049=>_0x316049[_0x5c77('0x12')]),_0x5c41b8=this[_0x5c77('0x34')](_0x3b9c6c),_0x595a92=_0x5c41b8[_0x5c77('0x7e')]-_0x5c41b8[_0x5c77('0x5')]+0x1;if(_0x5c77('0x7c')==_0x3b9c6c[_0x5c77('0x49')])return _0x46fe6b[_0x5c77('0xa')]?{'type':_0x5c77('0x7c'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x47'),_0x3ed19c(_0x5213e0,_0x5c77('0x5b'),[_0x595a92,'\x22'+_0x46fe6b['join']('\x20')+'\x22']))}:{'type':_0x5c77('0x7c'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x47'),_0x3ed19c(_0x5213e0,_0x5c77('0x30'),_0x595a92))};if('deletion'==_0x3b9c6c[_0x5c77('0x49')])return _0x46fe6b[_0x5c77('0xa')]?{'type':'deletion','content':_0x3ed19c(_0x5213e0,_0x5c77('0x81'),_0x3ed19c(_0x5213e0,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x595a92,'\x22'+_0x46fe6b['join']('\x20')+'\x22']))}:{'type':_0x5c77('0x7'),'content':_0x3ed19c(_0x5213e0,_0x5c77('0x81'),_0x3ed19c(_0x5213e0,_0x5c77('0x30'),_0x595a92))};}}),_0xb9f178[_0x5c77('0x29')][_0x5c77('0x0')]('insertion',_0x5c77('0x31'),_0x5c77('0x45'),_0x23b26b),_0xb9f178[_0x5c77('0x29')]['registerCustomCallback'](_0x5c77('0x7'),_0x5c77('0x31'),_0x5c77('0x43'),_0x23b26b),_0xb9f178[_0x5c77('0x29')]['registerCustomCallback']('insertion',_0x5c77('0x18'),_0x5c77('0x45'),_0x30854f),_0xb9f178[_0x5c77('0x29')][_0x5c77('0x0')](_0x5c77('0x7'),_0x5c77('0x18'),'accept',_0x30854f),_0xb9f178[_0x5c77('0x29')][_0x5c77('0x0')](_0x5c77('0x7c'),'tableColumn',_0x5c77('0x56'),_0x185e25),_0xb9f178[_0x5c77('0x29')][_0x5c77('0x0')]('deletion',_0x5c77('0x18'),_0x5c77('0x56'),_0x185e25),_0xb9f178[_0x5c77('0x29')][_0x5c77('0x0')](_0x5c77('0x7c'),'tableRow','join',_0x53693e),_0xb9f178['_suggestionFactory'][_0x5c77('0x0')](_0x5c77('0x7'),_0x5c77('0x31'),_0x5c77('0x56'),_0x53693e);}[_0x5c77('0x7a')](){const _0x19bc88=this['editor'],_0x11ceb9=_0x19bc88[_0x5c77('0x65')][_0x5c77('0x72')]['selection'];return(_0x43e0a7,_0x3aa8c0)=>{_0x19bc88['model'][_0x5c77('0x3c')](_0x16f721=>{const {commandName:_0x5e3abf,commandParams:_0x158191}=_0x3aa8c0;let _0x3684c7=_0x43e0a7[0x0][_0x5c77('0x6f')][_0x5c77('0x1f')];_0x158191&&_0x158191[0x0]&&!0x1===_0x158191[0x0]['forceValue']&&(_0x3684c7=_0x43e0a7[0x0][_0x5c77('0xd')][_0x5c77('0x58')]);const _0x608f59=_0x16f721[_0x5c77('0x32')](_0x3684c7);if('$graveyard'==_0x608f59[_0x5c77('0x3b')]['rootName'])return;const _0x6c6684=Array['from'](_0x11ceb9[_0x5c77('0x2')]())[_0x5c77('0x7d')](_0x443bf1=>_0x49c5b6[_0x5c77('0x64')](_0x443bf1));_0x16f721['setSelection'](_0x608f59),_0x19bc88[_0x5c77('0xb')][_0x5c77('0x6c')](_0x5e3abf)[_0x5c77('0x80')](),_0x158191[_0x5c77('0x75')]({'forceDefaultExecution':!0x0}),_0x19bc88[_0x5c77('0x25')](_0x5e3abf,..._0x158191);const _0x3a4945=_0x6c6684['filter'](_0x47f239=>_0x5c77('0x4c')!=_0x47f239[_0x5c77('0x3b')][_0x5c77('0x69')]);_0x3a4945[_0x5c77('0xa')]>0x0&&_0x16f721[_0x5c77('0x4e')](_0x3a4945);for(const _0x574198 of _0x6c6684)_0x574198[_0x5c77('0x67')]();});};}['_getCoordsForCells'](_0x209871){const _0x17f95b=this[_0x5c77('0x4')][_0x5c77('0x46')][_0x5c77('0x6c')](_0x5c77('0x6d'));let _0x6e818a=Number[_0x5c77('0x3f')],_0x51a2d2=Number['MIN_SAFE_INTEGER'],_0x54b466=Number[_0x5c77('0x3f')],_0x3aabac=Number[_0x5c77('0x2b')];for(const _0x31d57b of _0x209871){if(_0x5c77('0x4c')==_0x31d57b[_0x5c77('0x3b')]['rootName'])continue;const {row:_0xf47779,column:_0x486a7e}=_0x17f95b[_0x5c77('0x86')](_0x31d57b),_0x5d04fd=_0x31d57b[_0x5c77('0x26')](_0x5c77('0x7b'))?_0x31d57b['getAttribute'](_0x5c77('0x7b'))-0x1:0x0,_0x20313d=_0x31d57b[_0x5c77('0x26')]('colspan')?_0x31d57b[_0x5c77('0x3a')](_0x5c77('0x33'))-0x1:0x0;_0x6e818a=_0xf47779<_0x6e818a?_0xf47779:_0x6e818a,_0x51a2d2=_0xf47779+_0x5d04fd>_0x51a2d2?_0xf47779+_0x5d04fd:_0x51a2d2,_0x54b466=_0x486a7e<_0x54b466?_0x486a7e:_0x54b466,_0x3aabac=_0x486a7e+_0x20313d>_0x3aabac?_0x486a7e+_0x20313d:_0x3aabac;}return{'minRow':_0x6e818a,'maxRow':_0x51a2d2,'minColumn':_0x54b466,'maxColumn':_0x3aabac};}[_0x5c77('0x14')](){const _0x39b77c=this['editor'],_0x198784=_0x39b77c['plugins'][_0x5c77('0x6c')](_0x5c77('0x5f')),_0x2ead4d=_0x39b77c['plugins'][_0x5c77('0x6c')](_0x5c77('0x6d'));_0x39b77c['model'][_0x5c77('0x72')]['on'](_0x5c77('0x11'),()=>{const _0x5a16ea=Array[_0x5c77('0x19')](_0x39b77c[_0x5c77('0x65')][_0x5c77('0x72')][_0x5c77('0x55')]['getChangedMarkers']());for(const {name:_0x3f86b3,data:_0x1de9b4}of _0x5a16ea){const {group:_0x20d21f,id:_0x5bf298,subType:_0x16f702}=_0x198784[_0x5c77('0x21')](_0x3f86b3);if(_0x5c77('0x79')!=_0x20d21f)continue;if(null!=_0x1de9b4[_0x5c77('0x27')])continue;const _0x4cd386=_0x198784[_0x5c77('0x42')](_0x5bf298);this[_0x5c77('0x37')]['includes'](_0x16f702)&&this[_0x5c77('0x20')]['add'](_0x4cd386);}},{'priority':_0x5c77('0x3')});const _0x20eec2=(_0x539350,_0x4336d0)=>{let _0x215f7d=!0x1;const _0x2c2d0a=_0x4336d0['createRangeOn'](_0x539350),_0xd7a6cf=_0x539350[_0x5c77('0x76')](_0x5c77('0x15')),_0x5146df=_0x2ead4d['getCellLocation'](_0x539350);for(const _0x5cdba6 of this['_tableSuggestions']){const _0x5d5030=_0x5cdba6[_0x5c77('0x1c')],_0x1f76c=_0x5d5030[_0x5c77('0x13')](_0x5c77('0xe')),_0x47a1c3=_0x5d5030[_0x5c77('0x85')](_0x1f76c?0xa:0x5),_0x161590=_0x47a1c3[_0x5c77('0x2f')](),_0x35f0b0=_0x161590[_0x5c77('0x85')](0x0,0x3)+_0x5c77('0x51'),_0x5b6470=_0x5c77('0x5e')+_0x47a1c3,_0x384714='max'+_0x47a1c3;if(!_0x5cdba6[_0x5c77('0x2e')])continue;if(_0xd7a6cf!=_0x5cdba6[_0x5c77('0x1e')]()['start'][_0x5c77('0x76')]('table'))continue;if(_0x5cdba6[_0x5c77('0x63')](_0x2c2d0a))continue;const _0x25d101=_0x539350[_0x5c77('0x26')](_0x35f0b0)?_0x539350[_0x5c77('0x3a')](_0x35f0b0)-0x1:0x0,_0x33c4bb=this['_getSuggestionCoords'](_0x5cdba6),_0x10b1bf=_0x33c4bb[_0x5b6470],_0x184133=_0x33c4bb[_0x384714];_0x10b1bf<=_0x5146df[_0x161590]&&_0x5146df[_0x161590]+_0x25d101<=_0x184133&&(_0x5cdba6[_0x5c77('0x5d')](_0x2c2d0a),_0x215f7d=!0x0);}return _0x215f7d;};_0x39b77c[_0x5c77('0x65')][_0x5c77('0x72')][_0x5c77('0x38')](_0xf9b140=>{let _0x40961a=!0x1;for(const _0x34f1b2 of _0x39b77c['model'][_0x5c77('0x72')][_0x5c77('0x55')][_0x5c77('0x3d')]())if(_0x5c77('0xf')==_0x34f1b2[_0x5c77('0x49')]){if(_0x5c77('0x31')==_0x34f1b2[_0x5c77('0x36')])for(const _0xcc2482 of _0x34f1b2[_0x5c77('0x71')]['nodeAfter'][_0x5c77('0x59')]())_0x40961a=_0x40961a||_0x20eec2(_0xcc2482,_0xf9b140);else _0x5c77('0x7f')==_0x34f1b2[_0x5c77('0x36')]&&(_0x40961a=_0x40961a||_0x20eec2(_0x34f1b2[_0x5c77('0x71')][_0x5c77('0x58')],_0xf9b140));}return _0x40961a;});}[_0x5c77('0x34')](_0x1826b0){return this[_0x5c77('0x6b')](_0x1826b0[_0x5c77('0x2')]()[_0x5c77('0x7d')](_0x167a10=>_0x167a10[_0x5c77('0xd')][_0x5c77('0x58')]));}}function se(_0x1216ed){return Array['from'](new Set(_0x1216ed)[_0x5c77('0x50')]());}
|
|
23
|
+
const _0x5e8c=['_suggestionFactory','insertTableRowAbove','first','$textProxy','markMultiRangeInsertion','name','getRowIndexes','deletion','insert','findAncestor','TableUtils','accept','showSuggestionHighlights','registerCustomCallback','getSelectionAffectedTableCells','getContainedElement','selectTableColumn','TrackChangesEditing','enqueueChange','forceValue','discard','end','_acceptFormatSuggestionCallbackFactory','get','min','addClass','_tableSuggestions','rootName','minRow','nodeAfter','createPositionAt','_setupColumnsRowsFixing','ELEMENT_TABLE','low','markMultiRangeDeletion','detach','_getSuggestionCoords','_descriptionFactory','has','insertTableRowBelow','insertTable','createRangeOn','setSelection','ELEMENT_TABLE_ROW_WITH_TEXT','some','cell','substr','subType','position','commands','editor','classes','getCellLocation','removeTableRow','insertTableColumnLeft','selectTableRow','data','change:data','above','plugins','_tablePostFixingSubtypes','isTouching','isEqual','downcastDispatcher','push','$graveyard','refresh','map','removeClass','table','getRanges','createTableWalker','getChangedMarkers','document','colspan','*Insert:*\x20%0','model','nodeBefore','addRange','tableCell','getColumnIndexes','toLowerCase','ELEMENT_TABLE_ROW','registerPostFixer','isArray','MIN_SAFE_INTEGER','enableCommand','every','insertion','change','join','max','length','locale','getItems','registerElementLabel','getChanges','TableEditing','maxColumn','getFirstRange','tableColumn','_getCoordsForCells','start','insertTableColumnRight','highest','hasAttribute','registerDescriptionCallback','removeTableColumn','minColumn','root','getAttribute','filter','options','startsWith','ELEMENT_TABLE_WITH_TEXT','getSuggestion','execute','isIntersectingWithRange','toViewElement','MAX_SAFE_INTEGER','type','*Remove:*\x20%0','tableRow','span','oldRange','selection','element','fromRange','ELEMENT_TABLE_COLUMN','order','rowspan','from','last'];(function(_0x3d4bcb,_0x5e8c93){const _0x24e1aa=function(_0x5c7279){while(--_0x5c7279){_0x3d4bcb['push'](_0x3d4bcb['shift']());}};_0x24e1aa(++_0x5e8c93);}(_0x5e8c,0x165));const _0x24e1=function(_0x3d4bcb,_0x5e8c93){_0x3d4bcb=_0x3d4bcb-0x0;let _0x24e1aa=_0x5e8c[_0x3d4bcb];return _0x24e1aa;};import{Plugin as _0x5bf188}from'ckeditor5/src/core';import{LiveRange as _0x1a2dc0}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1ba53f}from'ckeditor5/src/widget';import{getTranslation as _0x52a10a}from'../utils/common-translations';export default class dt extends _0x5bf188{constructor(_0x218074){super(_0x218074),this[_0x24e1('0x66')]=[_0x24e1('0x1f'),_0x24e1('0x9')],this[_0x24e1('0x44')]=new Set();}['afterInit'](){const _0x9c90f1=this['editor'],_0x37c0f4=_0x9c90f1['model']['document'][_0x24e1('0x22')];if(!_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x50')](_0x24e1('0x6')))return;const _0x42f4d2=_0x9c90f1[_0x24e1('0x2')],_0x11e322=_0x9c90f1['plugins'][_0x24e1('0x41')](_0x24e1('0x3b')),_0x3abea8=_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x41')]('TableUtils');_0x11e322[_0x24e1('0x4f')][_0x24e1('0x4')]('table',_0x5e6157=>_0x52a10a(_0x42f4d2,_0x24e1('0x4a'),_0x5e6157)),this[_0x24e1('0x49')](),_0x11e322['enableCommand'](_0x24e1('0x52')),_0x11e322[_0x24e1('0x80')](_0x24e1('0x61')),_0x11e322['enableCommand'](_0x24e1('0x3a'));for(const _0x3614ec of[_0x24e1('0x2b'),_0x24e1('0x51')]){const _0x59874a=_0x9c90f1['commands'][_0x24e1('0x41')](_0x3614ec);_0x11e322[_0x24e1('0x80')](_0x3614ec,_0x573129=>{_0x9c90f1[_0x24e1('0x76')]['change'](_0x4425dc=>{_0x573129();const _0xc40ec6=_0x24e1('0x64')===_0x59874a['order'],_0x4fde47=_0x3abea8['getSelectionAffectedTableCells'](_0x37c0f4),_0x2904d7=_0x3abea8[_0x24e1('0x30')](_0x4fde47),_0x4d5627=_0xc40ec6?_0x2904d7[_0x24e1('0x2c')]-0x1:_0x2904d7[_0x24e1('0x29')]+0x1,_0x599834=_0x4fde47[0x0][_0x24e1('0x33')](_0x24e1('0x6f')),_0x33ce0d=_0x3abea8['createTableWalker'](_0x599834,{'startRow':_0x4d5627,'endRow':_0x4d5627}),_0xce0078=Array['from'](_0x33ce0d)['map'](_0x1528c8=>_0x4425dc['createRangeOn'](_0x1528c8[_0x24e1('0x57')]));_0x11e322[_0x24e1('0x2e')](_0xce0078,_0x24e1('0x1f'));});});}for(const _0x218762 of[_0x24e1('0x60'),_0x24e1('0xc')]){const _0x492a7d=_0x9c90f1['commands'][_0x24e1('0x41')](_0x218762);_0x11e322[_0x24e1('0x80')](_0x218762,_0x2233d0=>{_0x9c90f1['model'][_0x24e1('0x83')](_0x1e026c=>{_0x2233d0();const _0x48a2b2='left'===_0x492a7d[_0x24e1('0x26')],_0x3a286a=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x4fbd88=_0x3abea8[_0x24e1('0x7a')](_0x3a286a),_0x420a0a=_0x48a2b2?_0x4fbd88[_0x24e1('0x2c')]-0x1:_0x4fbd88[_0x24e1('0x29')]+0x1,_0x3b126b=_0x3a286a[0x0]['findAncestor'](_0x24e1('0x6f')),_0x591ed8=_0x3abea8[_0x24e1('0x71')](_0x3b126b,{'startRow':0x0,'column':_0x420a0a,'includeAllSlots':!0x1}),_0x28b77c=Array[_0x24e1('0x28')](_0x591ed8)[_0x24e1('0x6d')](_0x212db3=>_0x1e026c[_0x24e1('0x53')](_0x212db3['cell']));_0x11e322[_0x24e1('0x2e')](_0x28b77c,'tableColumn');});});}for(const _0x3121c2 of[_0x24e1('0x5f'),_0x24e1('0x10')]){const _0x2fea7f=_0x3121c2[_0x24e1('0x58')](0xb),_0x38064f=_0x2fea7f[_0x24e1('0x7b')](),_0x1bd7c3=_0x38064f[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x32cca8=_0x24e1('0x6f')+_0x2fea7f,_0x5a75e3=_0x24e1('0x42')+_0x2fea7f,_0x5dd998='max'+_0x2fea7f;_0x11e322['enableCommand'](_0x3121c2,()=>{_0x9c90f1['model']['change'](_0x4f796d=>{const _0x262ff8=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x3a9bca=_0x262ff8[0x0][_0x24e1('0x33')](_0x24e1('0x6f'));let _0x524d17;if('removeTableRow'==_0x3121c2){const _0x439c4a=_0x3abea8[_0x24e1('0x30')](_0x262ff8);_0x524d17={'startRow':_0x439c4a[_0x24e1('0x2c')],'endRow':_0x439c4a[_0x24e1('0x29')],'includeAllSlots':!0x0};}else{const _0x51b47d=_0x3abea8[_0x24e1('0x7a')](_0x262ff8);_0x524d17={'startColumn':_0x51b47d['first'],'endColumn':_0x51b47d[_0x24e1('0x29')],'includeAllSlots':!0x0};}const _0x55c80c=_0x3abea8[_0x24e1('0x71')](_0x3a9bca,_0x524d17),_0x5a461b=Array[_0x24e1('0x28')](_0x55c80c)[_0x24e1('0x6d')](({cell:_0x1df417})=>_0x1df417),_0x49d6a6=se(_0x5a461b[_0x24e1('0x14')](_0x27a5f1=>_0x27a5f1[_0x24e1('0xe')](_0x1bd7c3))),_0x2e626c=se(_0x5a461b[_0x24e1('0x14')](_0x4011c8=>!_0x4011c8[_0x24e1('0xe')](_0x1bd7c3)))['map'](_0x283f17=>_0x4f796d[_0x24e1('0x53')](_0x283f17)),_0x250955=_0x11e322[_0x24e1('0x4c')](_0x2e626c,_0x32cca8);if(_0x250955&&('tableRow'==_0x250955[_0x24e1('0x59')]||_0x24e1('0x9')==_0x250955['subType'])){const _0xbe057e=this['_getSuggestionCoords'](_0x250955);for(const _0x4f1abb of _0x49d6a6){const _0x5bd033=_0x4f796d['createRangeOn'](_0x4f1abb),_0x4b536e=_0x3abea8['getCellLocation'](_0x4f1abb),_0x363b9b=_0x4f1abb[_0x24e1('0x13')](_0x1bd7c3)-0x1,_0x2a301f=_0xbe057e[_0x5a75e3],_0x923140=_0xbe057e[_0x5dd998];_0x2a301f<=_0x4b536e[_0x38064f]&&_0x4b536e[_0x38064f]+_0x363b9b<=_0x923140&&_0x250955[_0x24e1('0x78')](_0x5bd033);}}});});}function _0x4a7760(_0x53393f){const _0x2e8d6f=Array[_0x24e1('0x28')](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x1806fd=>_0x1a2dc0[_0x24e1('0x24')](_0x1806fd));_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x83')](_0xfbb394=>{const _0x1a644d=_0xfbb394['batch'];_0x53393f=_0x53393f['filter'](_0x37bf98=>'$graveyard'!=_0x37bf98[_0x24e1('0x12')]['rootName']),_0xfbb394[_0x24e1('0x54')](_0x53393f),_0x9c90f1[_0x24e1('0x5b')][_0x24e1('0x41')](_0x24e1('0x5f'))['refresh'](),_0x9c90f1[_0x24e1('0x19')](_0x24e1('0x5f'),{'forceDefaultExecution':!0x0}),_0x9c90f1['model'][_0x24e1('0x3c')](()=>{_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x3c')](_0x1a644d,_0x74507=>{const _0x18b3dd=_0x2e8d6f[_0x24e1('0x14')](_0x19eb66=>_0x24e1('0x6b')!=_0x19eb66[_0x24e1('0x12')]['rootName']);_0x18b3dd[_0x24e1('0x1')]>0x0&&_0x74507[_0x24e1('0x54')](_0x18b3dd);for(const _0x26d276 of _0x2e8d6f)_0x26d276[_0x24e1('0x4d')]();});});});}function _0x35899c(_0x25e2e9){_0x9c90f1['model']['change'](_0x236706=>{const _0xff84b6=Array['from'](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x5eda7a=>_0x1a2dc0[_0x24e1('0x24')](_0x5eda7a)),_0x38e339=[];for(const _0xe4e049 of _0x25e2e9)for(const _0x344baa of _0xe4e049['getItems']({'shallow':!0x0}))_0x38e339[_0x24e1('0x6a')](_0x344baa);for(const _0x39ee3d of _0x38e339)_0x24e1('0x6b')!=_0x39ee3d[_0x24e1('0x12')][_0x24e1('0x45')]&&(_0x236706[_0x24e1('0x54')](_0x236706[_0x24e1('0x48')](_0x39ee3d,0x0)),_0x9c90f1['commands']['get']('removeTableColumn')['refresh'](),_0x9c90f1['execute'](_0x24e1('0x10'),{'forceDefaultExecution':!0x0}));const _0x276613=_0xff84b6['filter'](_0x4fa428=>'$graveyard'!=_0x4fa428[_0x24e1('0x12')][_0x24e1('0x45')]);_0x276613[_0x24e1('0x1')]>0x0&&_0x236706['setSelection'](_0x276613);for(const _0x37ca7e of _0xff84b6)_0x37ca7e[_0x24e1('0x4d')]();});}function _0x4f8033(_0x4dc702,_0x33d4c9){return _0x33d4c9[_0x24e1('0x81')](_0x3175f8=>_0x4dc702[_0x24e1('0x56')](_0x3244af=>_0x3244af['end'][_0x24e1('0x68')](_0x3175f8[_0x24e1('0xb')])||_0x3175f8[_0x24e1('0x3f')][_0x24e1('0x68')](_0x3244af['start'])));}function _0x3ee780(_0x4d4f4f,_0xd507bc){return _0x4d4f4f[_0x24e1('0x56')](_0x40a3fc=>_0xd507bc[_0x24e1('0x56')](_0x219310=>_0x40a3fc[_0x24e1('0x3f')][_0x24e1('0x67')](_0x219310[_0x24e1('0xb')])));}_0x9c90f1[_0x24e1('0x62')][_0x24e1('0x69')]['on']('addMarker:suggestion',(_0x18166d,_0x2bb665,_0x1fa30e)=>{if(!_0x1fa30e[_0x24e1('0x15')][_0x24e1('0x36')])return;const _0x3f744a=_0x2bb665['item'];if(!_0x3f744a)return;const _0x155cb9=_0x1fa30e['mapper'][_0x24e1('0x1b')](_0x3f744a);function _0x44b32d(_0x1fb920){return Array[_0x24e1('0x7e')](_0x1fb920)?_0x1fb920:[_0x1fb920];}_0x155cb9&&_0x24e1('0x79')===_0x3f744a[_0x24e1('0x2f')]&&_0x1ba53f(_0x155cb9,_0x1fa30e['writer'],(_0x20a8d0,_0x5737f3,_0x4af33c)=>_0x4af33c[_0x24e1('0x43')](_0x44b32d(_0x5737f3[_0x24e1('0x5d')]),_0x20a8d0),(_0x359cc2,_0x2408bd,_0x37d039)=>_0x37d039[_0x24e1('0x6e')](_0x44b32d(_0x2408bd['classes']),_0x359cc2));},{'priority':_0x24e1('0xd')}),_0x11e322[_0x24e1('0x4f')]['registerDescriptionCallback'](_0x49d760=>{if(_0x24e1('0x82')!=_0x49d760[_0x24e1('0x1d')]&&'deletion'!=_0x49d760[_0x24e1('0x1d')])return;const _0x1ab20c=_0x49d760[_0x24e1('0x39')]();if(null!=_0x1ab20c&&_0x1ab20c['is'](_0x24e1('0x23'),_0x24e1('0x6f'))){if(_0x24e1('0x82')==_0x49d760[_0x24e1('0x1d')]){const _0x35b32d=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x24f6d0=>_0x24f6d0['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x4f0bff=>_0x4f0bff['data']);if(_0x35b32d[_0x24e1('0x1')])return{'type':'insertion','content':_0x52a10a(_0x42f4d2,'*Insert:*\x20%0',_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x35b32d[_0x24e1('0x84')]('\x20')+'\x22'))};}if(_0x24e1('0x31')==_0x49d760[_0x24e1('0x1d')]){const _0x3d49d9=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x3dd1b3=>_0x3dd1b3['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x33bed5=>_0x33bed5[_0x24e1('0x62')]);if(_0x3d49d9[_0x24e1('0x1')])return{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x3d49d9['join']('\x20')+'\x22'))};}}}),_0x11e322[_0x24e1('0x4f')][_0x24e1('0xf')](_0x32f9ae=>{if(_0x24e1('0x1f')==_0x32f9ae[_0x24e1('0x59')]){const _0x12e878=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x337373=>_0x337373['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x27d08f=>_0x27d08f[_0x24e1('0x62')]),_0x2ff359=this['_getSuggestionCoords'](_0x32f9ae),_0x4c2608=_0x2ff359['maxRow']-_0x2ff359[_0x24e1('0x46')]+0x1;if(_0x24e1('0x82')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':'insertion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878['join']('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};}if('tableColumn'==_0x32f9ae[_0x24e1('0x59')]){const _0x14e270=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x328704=>_0x328704['is'](_0x24e1('0x2d')))['map'](_0x2fa241=>_0x2fa241[_0x24e1('0x62')]),_0x5a5554=this['_getSuggestionCoords'](_0x32f9ae),_0x192b8b=_0x5a5554[_0x24e1('0x7')]-_0x5a5554[_0x24e1('0x11')]+0x1;if(_0x24e1('0x82')==_0x32f9ae['type'])return _0x14e270['length']?{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x14e270['length']?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};}}),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),'tableRow',_0x24e1('0x3e'),_0x4a7760),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')]('deletion',_0x24e1('0x1f'),_0x24e1('0x35'),_0x4a7760),_0x11e322['_suggestionFactory'][_0x24e1('0x37')]('insertion','tableColumn',_0x24e1('0x3e'),_0x35899c),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x9'),'accept',_0x35899c),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback']('insertion',_0x24e1('0x9'),_0x24e1('0x84'),_0x4f8033),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback'](_0x24e1('0x31'),_0x24e1('0x9'),'join',_0x4f8033),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),_0x24e1('0x1f'),'join',_0x3ee780),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x1f'),'join',_0x3ee780);}[_0x24e1('0x40')](){const _0x15978d=this[_0x24e1('0x5c')],_0x149da2=_0x15978d[_0x24e1('0x76')][_0x24e1('0x73')]['selection'];return(_0x36c7a1,_0x47c511)=>{_0x15978d['model'][_0x24e1('0x83')](_0x19831e=>{const {commandName:_0x2a2262,commandParams:_0x2354e3}=_0x47c511;let _0x38fa80=_0x36c7a1[0x0]['end'][_0x24e1('0x77')];_0x2354e3&&_0x2354e3[0x0]&&!0x1===_0x2354e3[0x0][_0x24e1('0x3d')]&&(_0x38fa80=_0x36c7a1[0x0][_0x24e1('0xb')][_0x24e1('0x47')]);const _0x1fa6e0=_0x19831e['createRangeIn'](_0x38fa80);if(_0x24e1('0x6b')==_0x1fa6e0[_0x24e1('0x12')][_0x24e1('0x45')])return;const _0x1fe958=Array[_0x24e1('0x28')](_0x149da2[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x9fc92d=>_0x1a2dc0['fromRange'](_0x9fc92d));_0x19831e[_0x24e1('0x54')](_0x1fa6e0),_0x15978d['commands'][_0x24e1('0x41')](_0x2a2262)[_0x24e1('0x6c')](),_0x2354e3[_0x24e1('0x6a')]({'forceDefaultExecution':!0x0}),_0x15978d['execute'](_0x2a2262,..._0x2354e3);const _0x30ac76=_0x1fe958[_0x24e1('0x14')](_0x39b03d=>_0x24e1('0x6b')!=_0x39b03d[_0x24e1('0x12')][_0x24e1('0x45')]);_0x30ac76[_0x24e1('0x1')]>0x0&&_0x19831e['setSelection'](_0x30ac76);for(const _0x220aa1 of _0x1fe958)_0x220aa1[_0x24e1('0x4d')]();});};}[_0x24e1('0xa')](_0x2fbd3a){const _0x40987d=this[_0x24e1('0x5c')]['plugins'][_0x24e1('0x41')](_0x24e1('0x34'));let _0x238cc8=Number[_0x24e1('0x1c')],_0x2f6e2e=Number[_0x24e1('0x7f')],_0x440bef=Number['MAX_SAFE_INTEGER'],_0x2b04c2=Number[_0x24e1('0x7f')];for(const _0x5ae431 of _0x2fbd3a){if(_0x24e1('0x6b')==_0x5ae431[_0x24e1('0x12')][_0x24e1('0x45')])continue;const {row:_0x5a361e,column:_0x468b3f}=_0x40987d[_0x24e1('0x5e')](_0x5ae431),_0x1e9e1a=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x27'))?_0x5ae431[_0x24e1('0x13')](_0x24e1('0x27'))-0x1:0x0,_0x177c34=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x74'))?_0x5ae431['getAttribute'](_0x24e1('0x74'))-0x1:0x0;_0x238cc8=_0x5a361e<_0x238cc8?_0x5a361e:_0x238cc8,_0x2f6e2e=_0x5a361e+_0x1e9e1a>_0x2f6e2e?_0x5a361e+_0x1e9e1a:_0x2f6e2e,_0x440bef=_0x468b3f<_0x440bef?_0x468b3f:_0x440bef,_0x2b04c2=_0x468b3f+_0x177c34>_0x2b04c2?_0x468b3f+_0x177c34:_0x2b04c2;}return{'minRow':_0x238cc8,'maxRow':_0x2f6e2e,'minColumn':_0x440bef,'maxColumn':_0x2b04c2};}[_0x24e1('0x49')](){const _0x1c7b7a=this[_0x24e1('0x5c')],_0x5440d6=_0x1c7b7a['plugins'][_0x24e1('0x41')]('TrackChangesEditing'),_0x21cc41=_0x1c7b7a['plugins']['get'](_0x24e1('0x34'));_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['on'](_0x24e1('0x63'),()=>{const _0x5f11c5=Array[_0x24e1('0x28')](_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x72')]());for(const {name:_0x28399f,data:_0x813917}of _0x5f11c5){const {group:_0x8cbea7,id:_0x478f4c,subType:_0x59589}=_0x5440d6['_splitMarkerName'](_0x28399f);if('suggestion'!=_0x8cbea7)continue;if(null!=_0x813917[_0x24e1('0x21')])continue;const _0x14f70f=_0x5440d6[_0x24e1('0x18')](_0x478f4c);this[_0x24e1('0x66')]['includes'](_0x59589)&&this[_0x24e1('0x44')]['add'](_0x14f70f);}},{'priority':_0x24e1('0x4b')});const _0x311c56=(_0x9a17c6,_0x4d29cc)=>{let _0x11373e=!0x1;const _0xe14ba7=_0x4d29cc[_0x24e1('0x53')](_0x9a17c6),_0x5c11c4=_0x9a17c6['findAncestor']('table'),_0x1ba9cb=_0x21cc41[_0x24e1('0x5e')](_0x9a17c6);for(const _0x1ac8b6 of this[_0x24e1('0x44')]){const _0xa6277=_0x1ac8b6['subType'],_0x357e49=_0xa6277[_0x24e1('0x16')]('tablePaste'),_0x56b8d6=_0xa6277[_0x24e1('0x58')](_0x357e49?0xa:0x5),_0x5b9bb8=_0x56b8d6[_0x24e1('0x7b')](),_0x3ce7ef=_0x5b9bb8[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x405fd5=_0x24e1('0x42')+_0x56b8d6,_0x69bcd0=_0x24e1('0x0')+_0x56b8d6;if(!_0x1ac8b6['isInContent'])continue;if(_0x5c11c4!=_0x1ac8b6[_0x24e1('0x8')]()[_0x24e1('0xb')]['findAncestor'](_0x24e1('0x6f')))continue;if(_0x1ac8b6[_0x24e1('0x1a')](_0xe14ba7))continue;const _0x3e8ef0=_0x9a17c6[_0x24e1('0xe')](_0x3ce7ef)?_0x9a17c6['getAttribute'](_0x3ce7ef)-0x1:0x0,_0x3f39a5=this[_0x24e1('0x4e')](_0x1ac8b6),_0x1c4bc3=_0x3f39a5[_0x405fd5],_0x24e8e1=_0x3f39a5[_0x69bcd0];_0x1c4bc3<=_0x1ba9cb[_0x5b9bb8]&&_0x1ba9cb[_0x5b9bb8]+_0x3e8ef0<=_0x24e8e1&&(_0x1ac8b6[_0x24e1('0x78')](_0xe14ba7),_0x11373e=!0x0);}return _0x11373e;};_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')][_0x24e1('0x7d')](_0x7cfb42=>{let _0x2f6298=!0x1;for(const _0x4f9d36 of _0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x5')]())if(_0x24e1('0x32')==_0x4f9d36[_0x24e1('0x1d')]){if(_0x24e1('0x1f')==_0x4f9d36[_0x24e1('0x2f')])for(const _0x2a1c20 of _0x4f9d36['position'][_0x24e1('0x47')]['getChildren']())_0x2f6298=_0x2f6298||_0x311c56(_0x2a1c20,_0x7cfb42);else _0x24e1('0x79')==_0x4f9d36['name']&&(_0x2f6298=_0x2f6298||_0x311c56(_0x4f9d36[_0x24e1('0x5a')][_0x24e1('0x47')],_0x7cfb42));}return _0x2f6298;});}[_0x24e1('0x4e')](_0x3acf30){return this[_0x24e1('0xa')](_0x3acf30[_0x24e1('0x70')]()['map'](_0x194472=>_0x194472['start'][_0x24e1('0x47')]));}}function se(_0x4c72df){return Array[_0x24e1('0x28')](new Set(_0x4c72df)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe69d=['TableCaptionEditing','requires','editor','plugins','get','toggleTableCaption'];(function(_0x5eb494,_0xe69d34){const _0x1d55f6=function(_0x4e9477){while(--_0x4e9477){_0x5eb494['push'](_0x5eb494['shift']());}};_0x1d55f6(++_0xe69d34);}(_0xe69d,0x1f2));const _0x1d55=function(_0x5eb494,_0xe69d34){_0x5eb494=_0x5eb494-0x0;let _0x1d55f6=_0xe69d[_0x5eb494];return _0x1d55f6;};import{Plugin as _0x2b04b4}from'ckeditor5/src/core';import _0x1c5dfd from'./table';export default class At extends _0x2b04b4{static get[_0x1d55('0x1')](){return[_0x1c5dfd];}['afterInit'](){const _0xa41a7a=this[_0x1d55('0x2')];if(!_0xa41a7a[_0x1d55('0x3')]['has'](_0x1d55('0x0')))return;_0xa41a7a[_0x1d55('0x3')][_0x1d55('0x4')]('TrackChangesEditing')['enableCommand'](_0x1d55('0x5'));}}
|