@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231005.0 → 0.0.0-nightly-20231006.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 _0x32ac=['startIndex','document','*Change\x20to:*\x20%0','getSiblingNodes','commandParams','listReversed','_LIST_','map','getAttribute','element','editor','has','numbered','*Format:*\x20set\x20order\x20to\x20reversed','selection','listStyle','handleListStartCommand','forward','createPositionAt','listItem','backward','get','styles','toUpperCase','reversed','getFirstPosition','handleListReversedCommand','getLastPosition','*Format:*\x20set\x20start\x20index\x20to\x20%0','from','flat','TrackChangesEditing','listStart','replace','ListUtils','change','filter','format','model','afterInit','config','getListTypeFromListStyleType','handleListStyleCommand','enableCommand','registerDescriptionCallback','getSelectedBlocks','plugins','*Format:*\x20set\x20order\x20to\x20regular','bind','_getTranslationKeyForListStyle','_getSuggestionBlocks','handleDescriptions','commandName','ELEMENT_','createRange','before','listType','markMultiRangeBlockFormat','list.properties','ListPropertiesEditing','type','length','_getSuggestionBlocksForListStyle'];(function(_0x17a08b,_0x32aca0){const _0x3fbbf1=function(_0x4f5fdf){while(--_0x4f5fdf){_0x17a08b['push'](_0x17a08b['shift']());}};_0x3fbbf1(++_0x32aca0);}(_0x32ac,0xc7));const _0x3fbb=function(_0x17a08b,_0x32aca0){_0x17a08b=_0x17a08b-0x0;let _0x3fbbf1=_0x32ac[_0x17a08b];return _0x3fbbf1;};import{Plugin as _0x41a9e0}from'ckeditor5/src/core';import{getTranslation as _0xe99f32}from'../utils/common-translations';export default class ot extends _0x41a9e0{[_0x3fbb('0x1d')](){if(!this[_0x3fbb('0x0')][_0x3fbb('0x24')][_0x3fbb('0x1')](_0x3fbb('0x31')))return;const _0x2ce9ac=this[_0x3fbb('0x0')][_0x3fbb('0x1e')]['get'](_0x3fbb('0x30')),_0x28f058=this[_0x3fbb('0x0')][_0x3fbb('0x24')][_0x3fbb('0xb')]('TrackChangesEditing');_0x2ce9ac[_0x3fbb('0xc')]&&_0x28f058[_0x3fbb('0x21')](_0x3fbb('0x5'),this[_0x3fbb('0x20')]['bind'](this)),_0x2ce9ac[_0x3fbb('0xe')]&&_0x28f058[_0x3fbb('0x21')]('listReversed',this['handleListReversedCommand']['bind'](this)),_0x2ce9ac['startIndex']&&_0x28f058['enableCommand']('listStart',this['handleListStartCommand'][_0x3fbb('0x26')](this)),_0x28f058['_descriptionFactory'][_0x3fbb('0x22')](this['handleDescriptions'][_0x3fbb('0x26')](this));}[_0x3fbb('0x20')](_0x1a7be6,_0x3b1526={}){const _0x2e7b6a=this['editor'][_0x3fbb('0x24')][_0x3fbb('0xb')]('TrackChangesEditing'),_0x3f47e8=this[_0x3fbb('0x34')]();this[_0x3fbb('0x0')]['model'][_0x3fbb('0x19')](()=>{_0x2e7b6a[_0x3fbb('0x2f')](_0x3f47e8,{'commandName':_0x3fbb('0x5'),'commandParams':[{'type':_0x3b1526[_0x3fbb('0x32')]}],'formatGroupId':'listStyle'});});}[_0x3fbb('0x10')](_0x222f18,_0x37da41={}){const _0x294cb1=this[_0x3fbb('0x0')]['plugins'][_0x3fbb('0xb')](_0x3fbb('0x15')),_0x5bfd67=this[_0x3fbb('0x28')](_0x5def01=>_0x5def01['is'](_0x3fbb('0x3e'),_0x3fbb('0x9'))&&_0x3fbb('0x2')===_0x5def01[_0x3fbb('0x3d')](_0x3fbb('0x2e')));if(_0x5bfd67[_0x3fbb('0x33')]<0x1)return;const _0x23ca35=_0x5bfd67[_0x3fbb('0x3c')](_0xa0a076=>this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x2c')](this['editor'][_0x3fbb('0x1c')][_0x3fbb('0x8')](_0xa0a076,_0x3fbb('0x2d')),this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x8')](_0xa0a076,0x0)));this['editor']['model'][_0x3fbb('0x19')](()=>{_0x294cb1[_0x3fbb('0x2f')](_0x23ca35,{'commandName':_0x3fbb('0x3a'),'commandParams':[{'reversed':_0x37da41[_0x3fbb('0xe')]}],'formatGroupId':_0x3fbb('0x3a')});});}[_0x3fbb('0x6')](_0x4f1a99,_0x2928b3={}){const _0x2758dc=this['editor'][_0x3fbb('0x24')][_0x3fbb('0xb')](_0x3fbb('0x15')),_0x38b4c0=this[_0x3fbb('0x28')](_0x2f190c=>_0x2f190c['is'](_0x3fbb('0x3e'),'listItem')&&_0x3fbb('0x2')===_0x2f190c[_0x3fbb('0x3d')](_0x3fbb('0x2e')));if(_0x38b4c0['length']<0x1)return;const _0x1310b4=_0x38b4c0[_0x3fbb('0x3c')](_0x4b1920=>this[_0x3fbb('0x0')][_0x3fbb('0x1c')]['createRange'](this['editor'][_0x3fbb('0x1c')][_0x3fbb('0x8')](_0x4b1920,_0x3fbb('0x2d')),this[_0x3fbb('0x0')][_0x3fbb('0x1c')]['createPositionAt'](_0x4b1920,0x0)));this['editor'][_0x3fbb('0x1c')][_0x3fbb('0x19')](()=>{_0x2758dc[_0x3fbb('0x2f')](_0x1310b4,{'commandName':_0x3fbb('0x16'),'commandParams':[{'startIndex':_0x2928b3[_0x3fbb('0x35')]}],'formatGroupId':_0x3fbb('0x16')});});}[_0x3fbb('0x29')](_0x5872e6){const _0x117df8=this[_0x3fbb('0x0')]['locale'],{data:_0x572b53}=_0x5872e6;if(!_0x572b53)return;let _0x18ce01,_0x4f5040;switch(_0x572b53[_0x3fbb('0x2a')]){case'listStyle':_0x18ce01=_0x3fbb('0x37'),_0x4f5040={'type':_0x3fbb('0x1b'),'content':_0xe99f32(_0x117df8,_0x18ce01,_0xe99f32(_0x117df8,this[_0x3fbb('0x27')](_0x572b53[_0x3fbb('0x39')][0x0][_0x3fbb('0x32')])))};break;case _0x3fbb('0x3a'):_0x18ce01=_0x572b53[_0x3fbb('0x39')][0x0][_0x3fbb('0xe')]?_0x3fbb('0x3'):_0x3fbb('0x25'),_0x4f5040={'type':'format','content':_0xe99f32(_0x117df8,_0x18ce01)};break;case _0x3fbb('0x16'):_0x18ce01=_0x3fbb('0x12'),_0x4f5040={'type':_0x3fbb('0x1b'),'content':_0xe99f32(_0x117df8,_0x18ce01,_0x572b53[_0x3fbb('0x39')][0x0][_0x3fbb('0x35')])};}return _0x4f5040;}[_0x3fbb('0x34')](){var _0x11ba80,_0x536621,_0xad2f67,_0x199aa7;const _0xe16c3e=this['editor'][_0x3fbb('0x24')][_0x3fbb('0xb')]('ListUtils');let _0x454056=Array[_0x3fbb('0x13')](this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x36')]['selection']['getSelectedBlocks']());return(null===(_0x11ba80=_0x454056[0x0])||void 0x0===_0x11ba80?void 0x0:_0x11ba80['is']('element',_0x3fbb('0x9')))&&_0x454056['unshift'](..._0xe16c3e[_0x3fbb('0x38')](this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x36')][_0x3fbb('0x4')][_0x3fbb('0xf')](),_0x3fbb('0xa'))),(null===(_0x536621=_0x454056[_0x454056[_0x3fbb('0x33')]-0x1])||void 0x0===_0x536621?void 0x0:_0x536621['is'](_0x3fbb('0x3e'),_0x3fbb('0x9')))&&_0x454056['push'](..._0xe16c3e[_0x3fbb('0x38')](this['editor']['model']['document'][_0x3fbb('0x4')][_0x3fbb('0x11')](),_0x3fbb('0x7'))),_0x454056=[...new Set(_0x454056)],(null===(_0x199aa7=null===(_0xad2f67=this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x36')][_0x3fbb('0x4')]['getFirstPosition']())||void 0x0===_0xad2f67?void 0x0:_0xad2f67['parent'])||void 0x0===_0x199aa7?void 0x0:_0x199aa7['is'](_0x3fbb('0x3e'),_0x3fbb('0x9')))&&(_0x454056=_0x454056[_0x3fbb('0x1a')](_0x1c5332=>_0x1c5332['is'](_0x3fbb('0x3e'),_0x3fbb('0x9')))),_0x454056;}[_0x3fbb('0x28')](_0x617471){const _0x8255a3=this[_0x3fbb('0x0')]['plugins'][_0x3fbb('0xb')]('ListUtils');let _0x16e9c9=Array[_0x3fbb('0x13')](this[_0x3fbb('0x0')][_0x3fbb('0x1c')][_0x3fbb('0x36')]['selection'][_0x3fbb('0x23')]())[_0x3fbb('0x1a')](_0x617471)[_0x3fbb('0x3c')](_0x265698=>{const _0x3c3745=this[_0x3fbb('0x0')]['model'][_0x3fbb('0x8')](_0x265698,0x0);return[..._0x8255a3[_0x3fbb('0x38')](_0x3c3745,_0x3fbb('0xa')),..._0x8255a3['getSiblingNodes'](_0x3c3745,'forward')];})[_0x3fbb('0x14')]();return _0x16e9c9=[...new Set(_0x16e9c9)],_0x16e9c9;}['_getTranslationKeyForListStyle'](_0x2a7ad1){return _0x3fbb('0x2b')+this[_0x3fbb('0x0')][_0x3fbb('0x24')][_0x3fbb('0xb')](_0x3fbb('0x18'))[_0x3fbb('0x1f')](_0x2a7ad1)[_0x3fbb('0xd')]()+_0x3fbb('0x3b')+_0x2a7ad1[_0x3fbb('0xd')]()[_0x3fbb('0x17')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4465=['dataDowncast','createEmptyElement','get','media','for','showSuggestionHighlights','plugins','registerElementLabel','has','div','mediaEmbed','elementToElement','_descriptionFactory','editor','ELEMENT_MEDIA','options','conversion','stop','MediaEmbedEditing','data','attribute:url:media','high','TrackChangesEditing'];(function(_0x56b397,_0x446540){const _0x3c38f3=function(_0x2168e5){while(--_0x2168e5){_0x56b397['push'](_0x56b397['shift']());}};_0x3c38f3(++_0x446540);}(_0x4465,0x1d0));const _0x3c38=function(_0x56b397,_0x446540){_0x56b397=_0x56b397-0x0;let _0x3c38f3=_0x4465[_0x56b397];return _0x3c38f3;};import{Plugin as _0xcf04ca}from'ckeditor5/src/core';import{getTranslation as _0x40d4a3}from'../utils/common-translations';export default class rt extends _0xcf04ca{['afterInit'](){const _0x492d85=this[_0x3c38('0x9')];if(!_0x492d85[_0x3c38('0x2')][_0x3c38('0x4')](_0x3c38('0xe')))return;const _0x11023c=_0x492d85[_0x3c38('0x2')][_0x3c38('0x15')](_0x3c38('0x12')),_0x11fb96=_0x492d85['locale'];_0x11023c['enableCommand'](_0x3c38('0x6')),_0x11023c[_0x3c38('0x8')][_0x3c38('0x3')]('media',_0x12ce7f=>_0x40d4a3(_0x11fb96,_0x3c38('0xa'),_0x12ce7f)),_0x492d85[_0x3c38('0xc')][_0x3c38('0x0')](_0x3c38('0x13'))[_0x3c38('0x7')]({'model':_0x3c38('0x16'),'view':(_0x14a849,{writer:_0x9fa042,options:_0xf079ea})=>{if(_0xf079ea[_0x3c38('0x1')])return _0x9fa042[_0x3c38('0x14')](_0x3c38('0x5'));},'converterPriority':_0x3c38('0x11')}),_0x492d85[_0x3c38('0xf')]['downcastDispatcher']['on'](_0x3c38('0x10'),(_0x3492dd,_0x547200,_0x4c6476)=>{_0x4c6476[_0x3c38('0xb')][_0x3c38('0x1')]&&_0x3492dd[_0x3c38('0xd')]();},{'priority':_0x3c38('0x11')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b3a=['plugins','editor','TrackChangesEditing','mention','MentionEditing','enableCommand','has'];(function(_0x51c704,_0x3b3ae6){const _0x266c82=function(_0xae3958){while(--_0xae3958){_0x51c704['push'](_0x51c704['shift']());}};_0x266c82(++_0x3b3ae6);}(_0x3b3a,0x1bb));const _0x266c=function(_0x51c704,_0x3b3ae6){_0x51c704=_0x51c704-0x0;let _0x266c82=_0x3b3a[_0x51c704];return _0x266c82;};import{Plugin as _0x5dea8e}from'ckeditor5/src/core';export default class at extends _0x5dea8e{['afterInit'](){const _0x2ff5fb=this[_0x266c('0x6')];_0x2ff5fb[_0x266c('0x5')][_0x266c('0x4')](_0x266c('0x2'))&&_0x2ff5fb[_0x266c('0x5')]['get'](_0x266c('0x0'))[_0x266c('0x3')](_0x266c('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11d1=['registerElementLabel','plugins','locale','pageBreak','TrackChangesEditing','PageBreakEditing','get','_descriptionFactory','ELEMENT_PAGE_BREAK'];(function(_0x3fb23f,_0x11d142){const _0x44247d=function(_0x525101){while(--_0x525101){_0x3fb23f['push'](_0x3fb23f['shift']());}};_0x44247d(++_0x11d142);}(_0x11d1,0x16f));const _0x4424=function(_0x3fb23f,_0x11d142){_0x3fb23f=_0x3fb23f-0x0;let _0x44247d=_0x11d1[_0x3fb23f];return _0x44247d;};import{Plugin as _0x13dea8}from'ckeditor5/src/core';import{getTranslation as _0x4128c2}from'../utils/common-translations';export default class ct extends _0x13dea8{['afterInit'](){const _0x542228=this['editor'];if(!_0x542228[_0x4424('0x3')]['has'](_0x4424('0x7')))return;_0x542228[_0x4424('0x3')][_0x4424('0x8')](_0x4424('0x6'))['enableCommand'](_0x4424('0x5'));const _0x2a2b78=_0x542228[_0x4424('0x3')][_0x4424('0x8')]('TrackChangesEditing'),_0x589d46=_0x542228[_0x4424('0x4')];_0x2a2b78[_0x4424('0x0')][_0x4424('0x2')](_0x4424('0x5'),_0x54cc7d=>_0x4128c2(_0x589d46,_0x4424('0x1'),_0x54cc7d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4504=['isTouching','_descriptionFactory','insertion','selection','showSuggestionHighlights','data','type','bindElementToMarker','createUIElement','downcastDispatcher','from','getFirstRange','isObject','toViewPosition','get','highest','getSelectedBlocks','end','name','enableCommand','consume','markBlockFormat','addMarker:suggestion:insertion','blockName','afterInit','schema','TrackChangesEditing','mapper','editor','locale','registerDescriptionCallback','start','addClass','*Change\x20to:*\x20%0','isBlock','insertParagraph','$text','checkChild','commandName','ELEMENT_PARAGRAPH','has','filter','document','parent','includes','writer','consumable','activeMarkers','nodeAfter','paragraph','span','editing','*Insert:*\x20%0','options','markerName','markerRange','plugins','change','registerElementLabel','model','Paragraph','ck-suggestion-marker-split'];(function(_0x14445c,_0x45048e){const _0x41f6fe=function(_0x3e38a7){while(--_0x3e38a7){_0x14445c['push'](_0x14445c['shift']());}};_0x41f6fe(++_0x45048e);}(_0x4504,0x69));const _0x41f6=function(_0x14445c,_0x45048e){_0x14445c=_0x14445c-0x0;let _0x41f6fe=_0x4504[_0x14445c];return _0x41f6fe;};import{Plugin as _0x49253d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5bf206}from'./utils';import{getTranslation as _0x35c051}from'../utils/common-translations';export default class ht extends _0x49253d{[_0x41f6('0x2b')](){const _0x5826e0=this[_0x41f6('0x2f')];if(!_0x5826e0[_0x41f6('0xd')][_0x41f6('0x3b')](_0x41f6('0x11')))return;const _0x445cdc=_0x5826e0[_0x41f6('0x30')],_0x2e06e1=_0x5826e0[_0x41f6('0xd')][_0x41f6('0x21')](_0x41f6('0x2d'));_0x2e06e1['_descriptionFactory'][_0x41f6('0xf')](_0x41f6('0x6'),_0x220c26=>_0x35c051(_0x445cdc,'ELEMENT_PARAGRAPH',_0x220c26)),_0x2e06e1[_0x41f6('0x26')](_0x41f6('0x6'),(_0x4adb13,_0x35522a={})=>{const _0xe0e32=_0x5826e0['model'][_0x41f6('0x3d')],_0x9e2dfe=_0x35522a[_0x41f6('0x16')]||_0xe0e32[_0x41f6('0x16')],_0x44a296=Array[_0x41f6('0x1d')](_0x9e2dfe[_0x41f6('0x23')]())[_0x41f6('0x3c')](_0x185866=>function(_0x21fda9,_0x5c700b){return _0x5c700b[_0x41f6('0x38')](_0x21fda9[_0x41f6('0x0')],_0x41f6('0x6'))&&!_0x5c700b[_0x41f6('0x1f')](_0x21fda9)&&_0x41f6('0x6')!=_0x21fda9[_0x41f6('0x25')];}(_0x185866,this['editor'][_0x41f6('0x10')][_0x41f6('0x2c')]));_0x5826e0[_0x41f6('0x10')][_0x41f6('0xe')](()=>{for(const _0x270fb0 of _0x44a296)_0x2e06e1[_0x41f6('0x28')](_0x270fb0,{'commandName':_0x41f6('0x6'),'commandParams':[],'formatGroupId':_0x41f6('0x2a')},_0x5bf206(_0x270fb0));});}),_0x2e06e1[_0x41f6('0x14')][_0x41f6('0x31')](_0x320d82=>{const {data:_0x3dc360}=_0x320d82;if(_0x3dc360&&_0x41f6('0x6')==_0x3dc360[_0x41f6('0x39')])return{'type':'format','content':_0x35c051(_0x445cdc,_0x41f6('0x34'),_0x35c051(_0x445cdc,_0x41f6('0x3a')))};}),_0x2e06e1[_0x41f6('0x26')](_0x41f6('0x36')),_0x5826e0[_0x41f6('0x8')][_0x41f6('0x1c')]['on'](_0x41f6('0x29'),ar(_0x5826e0),{'priority':_0x41f6('0x22')}),_0x5826e0[_0x41f6('0x18')][_0x41f6('0x1c')]['on'](_0x41f6('0x29'),(_0x3afdb1,_0x320f6b,_0x4349fa)=>{_0x4349fa[_0x41f6('0xa')][_0x41f6('0x17')]&&ar(_0x5826e0,{'showActiveMarker':!0x1})(_0x3afdb1,_0x320f6b,_0x4349fa);},{'priority':_0x41f6('0x22')});const _0x18372a=_0x2e06e1[_0x41f6('0x14')];_0x18372a[_0x41f6('0x31')](_0x17c05f=>{if(_0x41f6('0x15')!==_0x17c05f[_0x41f6('0x19')])return;const {start:_0x5c90af,end:_0x334459}=_0x17c05f[_0x41f6('0x1e')]();if(!_0x5c90af['isTouching'](_0x334459)||!_0x5c90af[_0x41f6('0x5')])return;const _0x42570d=_0x5826e0[_0x41f6('0x10')][_0x41f6('0x2c')],_0x8082cf=_0x5c90af['nodeAfter'];return _0x42570d['isBlock'](_0x8082cf)&&!_0x42570d['isLimit'](_0x8082cf)&&_0x42570d[_0x41f6('0x38')](_0x8082cf,_0x41f6('0x37'))?{'type':_0x41f6('0x15'),'content':_0x35c051(_0x445cdc,_0x41f6('0x9'),_0x18372a['getItemLabel'](_0x8082cf,0x1))}:void 0x0;});}}function ar(_0x43b8c7,{showActiveMarker:_0x59412d=!0x0}={}){return(_0x1b54b6,_0x3e9509,_0x432ee8)=>{const _0x15e953=_0x43b8c7['plugins'][_0x41f6('0x21')](_0x41f6('0x2d')),_0x3c1558=_0x3e9509[_0x41f6('0xc')][_0x41f6('0x32')],_0x3efe7a=_0x3e9509[_0x41f6('0xc')][_0x41f6('0x24')],_0x39a323=_0x43b8c7[_0x41f6('0x10')][_0x41f6('0x2c')];if(!_0x3c1558[_0x41f6('0x13')](_0x3efe7a)||!_0x3c1558['nodeAfter'])return;const _0x362949=_0x3c1558[_0x41f6('0x5')];if(_0x39a323[_0x41f6('0x35')](_0x362949)&&!_0x39a323['isLimit'](_0x362949)&&_0x39a323[_0x41f6('0x38')](_0x362949,_0x41f6('0x37'))){if(!_0x432ee8[_0x41f6('0x3')][_0x41f6('0x27')](_0x3e9509[_0x41f6('0xc')],_0x1b54b6[_0x41f6('0x25')]))return;const _0x447cfa=_0x432ee8[_0x41f6('0x2')][_0x41f6('0x1b')](_0x41f6('0x7'),{'class':_0x41f6('0x12')}),_0x272a6b=_0x432ee8[_0x41f6('0x2e')][_0x41f6('0x20')](_0x3efe7a);_0x59412d&&_0x15e953[_0x41f6('0x4')][_0x41f6('0x1')](_0x3e9509[_0x41f6('0xb')])&&_0x432ee8[_0x41f6('0x2')][_0x41f6('0x33')]('ck-suggestion-marker--active',_0x447cfa),_0x432ee8[_0x41f6('0x2')]['insert'](_0x272a6b,_0x447cfa),_0x432ee8['mapper'][_0x41f6('0x1a')](_0x447cfa,_0x3e9509[_0x41f6('0xb')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d14=['getItems','model','change','createRangeOn','document','get','isCollapsed','getRanges','commandName','selection','getAttributes','removeFormat','_descriptionFactory','registerDescriptionCallback','schema','RemoveFormatEditing','editor','enableCommand','TrackChangesEditing','getAttributeProperties','from','*Remove\x20all\x20formatting*','afterInit','plugins','isFormatting'];(function(_0x291e81,_0x2d14bb){const _0xadf879=function(_0x367023){while(--_0x367023){_0x291e81['push'](_0x291e81['shift']());}};_0xadf879(++_0x2d14bb);}(_0x2d14,0x110));const _0xadf8=function(_0x291e81,_0x2d14bb){_0x291e81=_0x291e81-0x0;let _0xadf879=_0x2d14[_0x291e81];return _0xadf879;};import{Plugin as _0x38060d}from'ckeditor5/src/core';import{getTranslation as _0x1fdf0c}from'../utils/common-translations';export default class ut extends _0x38060d{[_0xadf8('0x0')](){const _0x24d0ae=this[_0xadf8('0x13')];if(!_0x24d0ae[_0xadf8('0x1')]['has'](_0xadf8('0x12')))return;const _0x17232d=_0x24d0ae[_0xadf8('0x1')][_0xadf8('0x8')](_0xadf8('0x15'));_0x17232d[_0xadf8('0x14')](_0xadf8('0xe'),_0x39f6ea=>{const _0x3b8fc4=_0x24d0ae['model'][_0xadf8('0x7')][_0xadf8('0xc')];_0x3b8fc4[_0xadf8('0x9')]?_0x39f6ea():_0x24d0ae[_0xadf8('0x4')][_0xadf8('0x5')](()=>{const _0x4d0c4a=Array[_0xadf8('0x17')](_0x3b8fc4[_0xadf8('0xa')]());for(const _0x170c10 of _0x4d0c4a)for(const _0x4c01ae of _0x170c10[_0xadf8('0x3')]())mo(_0x4c01ae,_0x24d0ae[_0xadf8('0x4')][_0xadf8('0x11')])&&_0x17232d['markInlineFormat'](_0x24d0ae[_0xadf8('0x4')][_0xadf8('0x6')](_0x4c01ae),{'commandName':_0xadf8('0xe'),'commandParams':[]});});}),_0x17232d[_0xadf8('0xf')][_0xadf8('0x10')](_0x5b6f91=>{const {data:_0xab4d04}=_0x5b6f91;if(_0xab4d04&&_0xadf8('0xe')==_0xab4d04[_0xadf8('0xb')])return{'type':'format','content':_0x1fdf0c(_0x24d0ae['locale'],_0xadf8('0x18'))};});}}function mo(_0x4f4b8b,_0x4c7ca4){for(const [_0xcc27c3]of _0x4f4b8b[_0xadf8('0xd')]()){const _0x52c980=_0x4c7ca4[_0xadf8('0x16')](_0xcc27c3);if(_0x52c980&&_0x52c980[_0xadf8('0x2')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb7e5=['TrackChangesEditing','discardSelectedSuggestions','enableCommand','discardSuggestion','RestrictedEditingModeEditing','plugins','has','discardAllSuggestions','acceptSuggestion','acceptAllSuggestions','editor','afterInit','get'];(function(_0x3f2bc8,_0xb7e526){const _0x1a5d94=function(_0x59caf7){while(--_0x59caf7){_0x3f2bc8['push'](_0x3f2bc8['shift']());}};_0x1a5d94(++_0xb7e526);}(_0xb7e5,0x16d));const _0x1a5d=function(_0x3f2bc8,_0xb7e526){_0x3f2bc8=_0x3f2bc8-0x0;let _0x1a5d94=_0xb7e5[_0x3f2bc8];return _0x1a5d94;};import{Plugin as _0x5de388}from'ckeditor5/src/core';export default class ft extends _0x5de388{[_0x1a5d('0xa')](){const _0x18d7a6=this[_0x1a5d('0x9')];if(!_0x18d7a6['plugins'][_0x1a5d('0x5')](_0x1a5d('0x3')))return;const _0x312783=_0x18d7a6[_0x1a5d('0x4')][_0x1a5d('0xb')](_0x1a5d('0xc'));_0x312783['enableCommand']('goToPreviousRestrictedEditingException'),_0x312783[_0x1a5d('0x1')]('goToNextRestrictedEditingException');const _0x2e9071=_0x18d7a6[_0x1a5d('0x4')][_0x1a5d('0xb')]('RestrictedEditingModeEditing');_0x2e9071['enableCommand']('trackChanges'),_0x2e9071['enableCommand'](_0x1a5d('0x7')),_0x2e9071['enableCommand'](_0x1a5d('0x2')),_0x2e9071[_0x1a5d('0x1')](_0x1a5d('0x8')),_0x2e9071[_0x1a5d('0x1')](_0x1a5d('0x6')),_0x2e9071[_0x1a5d('0x1')]('acceptSelectedSuggestions'),_0x2e9071[_0x1a5d('0x1')](_0x1a5d('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46a8=['shiftEnter','mapper','locale','init','editing','split','plugins','markerRange','ck-suggestion-marker-','registerElementLabel','addClass','enableCommand','writer','ELEMENT_LINE_BREAK','addMarker:suggestion:deletion','addMarker:suggestion:insertion','model','downcastDispatcher','data','high','editor','name','TrackChangesEditing','ck-suggestion-marker--active','test','markerName','includes','createPositionBefore','merge','showSuggestionHighlights','softBreak','get','getItems'];(function(_0x4fcdb6,_0x46a89b){const _0x53875d=function(_0x28056a){while(--_0x28056a){_0x4fcdb6['push'](_0x4fcdb6['shift']());}};_0x53875d(++_0x46a89b);}(_0x46a8,0x1b3));const _0x5387=function(_0x4fcdb6,_0x46a89b){_0x4fcdb6=_0x4fcdb6-0x0;let _0x53875d=_0x46a8[_0x4fcdb6];return _0x53875d;};import{Plugin as _0x21a3be}from'ckeditor5/src/core';import{ShiftEnter as _0x22f85e}from'ckeditor5/src/enter';import{getTranslation as _0x308be5}from'../utils/common-translations';export default class lt extends _0x21a3be{static get['requires'](){return[_0x22f85e];}[_0x5387('0x1e')](){const _0x4cfe1e=this[_0x5387('0xe')],_0x265516=_0x4cfe1e['plugins'][_0x5387('0x19')](_0x5387('0x10'));_0x265516[_0x5387('0x5')](_0x5387('0x1b')),_0x4cfe1e['editing'][_0x5387('0xb')]['on'](_0x5387('0x9'),re(_0x4cfe1e),{'priority':_0x5387('0xd')}),_0x4cfe1e[_0x5387('0x1f')]['downcastDispatcher']['on'](_0x5387('0x8'),re(_0x4cfe1e),{'priority':_0x5387('0xd')}),_0x4cfe1e[_0x5387('0xc')][_0x5387('0xb')]['on']('addMarker:suggestion',(_0x2b8a60,_0x504565,_0x11d98)=>{_0x11d98['options'][_0x5387('0x17')]&&re(_0x4cfe1e,{'showActiveMarker':!0x1})(_0x2b8a60,_0x504565,_0x11d98);}),_0x265516['_descriptionFactory'][_0x5387('0x3')](_0x5387('0x18'),_0x5a2812=>_0x308be5(_0x4cfe1e[_0x5387('0x1d')],_0x5387('0x7'),_0x5a2812));}}function re(_0x283d90,{showActiveMarker:_0x325662=!0x0}={}){return(_0x76dc81,_0x55a741,_0x736dac)=>{const _0x4387cb=_0x283d90[_0x5387('0x0')][_0x5387('0x19')](_0x5387('0x10'));if(!_0x736dac['consumable'][_0x5387('0x12')](_0x55a741[_0x5387('0x1')],_0x76dc81[_0x5387('0xf')]))return;const _0x31f8e6=_0x283d90[_0x5387('0xa')];for(const _0x35adf9 of _0x55a741['markerRange'][_0x5387('0x1a')]()){if(!_0x35adf9['is']('element','softBreak'))continue;const _0x540828='deletion'==_0x55a741['markerName'][_0x5387('0x20')](':')[0x1]?_0x5387('0x16'):_0x5387('0x20'),_0x5ac9c2=_0x736dac[_0x5387('0x6')]['createUIElement']('span',{'class':_0x5387('0x2')+_0x540828}),_0x3a617d=_0x736dac[_0x5387('0x1c')]['toViewPosition'](_0x31f8e6[_0x5387('0x15')](_0x35adf9));_0x325662&&_0x4387cb['activeMarkers'][_0x5387('0x14')](_0x55a741[_0x5387('0x13')])&&_0x736dac[_0x5387('0x6')][_0x5387('0x4')](_0x5387('0x11'),_0x5ac9c2),_0x736dac[_0x5387('0x6')]['insert'](_0x3a617d,_0x5ac9c2),_0x736dac[_0x5387('0x1c')]['bindElementToMarker'](_0x5ac9c2,_0x55a741[_0x5387('0x13')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x195e=['has','_descriptionFactory','StandardEditingModeEditing','editor','locale','commands','format','commandParams','getRanges','enableCommand','from','TrackChangesEditing','FORMAT_RESTRICTED_ENABLED','FORMAT_RESTRICTED_DISABLED','model','registerDescriptionCallback','forceValue','markInlineFormat','plugins','get'];(function(_0x4d1812,_0x195e63){const _0x335d10=function(_0x14be35){while(--_0x14be35){_0x4d1812['push'](_0x4d1812['shift']());}};_0x335d10(++_0x195e63);}(_0x195e,0x1a8));const _0x335d=function(_0x4d1812,_0x195e63){_0x4d1812=_0x4d1812-0x0;let _0x335d10=_0x195e[_0x4d1812];return _0x335d10;};import{Plugin as _0xba6e77}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x389920}from'./utils';import{getTranslation as _0x1c5d4c}from'../utils/common-translations';export default class gt extends _0xba6e77{['afterInit'](){const _0x3b69dc=this[_0x335d('0x13')],_0x7838be=_0x3b69dc[_0x335d('0xa')],_0xa605e4=_0x3b69dc[_0x335d('0x0')];if(!_0x3b69dc[_0x335d('0xe')][_0x335d('0x10')](_0x335d('0x12')))return;const _0x25b27a=_0x3b69dc[_0x335d('0xe')][_0x335d('0xf')](_0x335d('0x7')),_0x15dd36='restrictedEditingException',_0x271b9e=_0x3b69dc[_0x335d('0x1')]['get'](_0x15dd36);_0x25b27a[_0x335d('0x5')](_0x15dd36,(_0x4498a5,_0x46feec={})=>{const _0x3b0035=_0x7838be['document']['selection'];if(_0x3b0035['isCollapsed'])return void _0x4498a5(_0x46feec);const _0x56fcdf=void 0x0!==_0x46feec[_0x335d('0xc')]?_0x46feec['forceValue']:!_0x271b9e['value'];_0x7838be['change'](()=>{const _0x1d10ad=Array[_0x335d('0x6')](_0x3b0035[_0x335d('0x4')]());for(const _0x3828ef of _0x1d10ad){const _0x4779e9=_0x56fcdf?[_0x3828ef]:_0x389920(_0x15dd36,_0x3828ef,_0x7838be);for(const _0xb57981 of _0x4779e9)_0x25b27a[_0x335d('0xd')](_0xb57981,{'commandName':_0x15dd36,'commandParams':[{'forceValue':_0x56fcdf}]});}});}),_0x25b27a[_0x335d('0x11')][_0x335d('0xb')](_0x41f3e9=>{const {data:_0x1bb637}=_0x41f3e9;if(_0x1bb637&&_0x1bb637['commandName']==_0x15dd36)return _0x1bb637[_0x335d('0x3')][0x0][_0x335d('0xc')]?{'type':_0x335d('0x2'),'content':_0x1c5d4c(_0xa605e4,_0x335d('0x8'))}:{'type':_0x335d('0x2'),'content':_0x1c5d4c(_0xa605e4,_0x335d('0x9'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2604=['style','getRanges','commands','element','add','*Format:*\x20%0','locale','document','_getStyleDefinition','get','model','modelElements','name','selection','getAttribute','classes','toLowerCase','_descriptionFactory','forceValue','includes','from','isCollapsed','styleName','style.definitions','find','Style','createRangeOn','plugins','value','format','style:','_getRangesWithClasses','getSelectedBlocks','markBlockFormat','isBlock','push','getAncestors','commandName','registerDescriptionCallback','commandParams','inline'];(function(_0x5d820a,_0x260474){const _0x7e53a4=function(_0x2343cd){while(--_0x2343cd){_0x5d820a['push'](_0x5d820a['shift']());}};_0x7e53a4(++_0x260474);}(_0x2604,0x1ed));const _0x7e53=function(_0x5d820a,_0x260474){_0x5d820a=_0x5d820a-0x0;let _0x7e53a4=_0x2604[_0x5d820a];return _0x7e53a4;};import{Plugin as _0x49ce53}from'ckeditor5/src/core';import{getTranslation as _0x3fcbf1}from'../utils/common-translations';export default class mt extends _0x49ce53{['afterInit'](){const _0x1fe929=this['editor'];if(!_0x1fe929[_0x7e53('0x1a')]['has'](_0x7e53('0x18')))return;const _0x539f3f=_0x1fe929[_0x7e53('0x1')][_0x7e53('0x8')](_0x7e53('0x28')),_0x506428=_0x1fe929['plugins'][_0x7e53('0x8')]('TrackChangesEditing'),_0x54df95=_0x1fe929[_0x7e53('0x5')],_0x41aec0=_0x1fe929[_0x7e53('0x1a')][_0x7e53('0x8')]('DataSchema'),_0x3ba9b3=_0x1fe929[_0x7e53('0x1a')][_0x7e53('0x8')]('StyleUtils')['normalizeConfig'](_0x41aec0,_0x1fe929['config'][_0x7e53('0x8')](_0x7e53('0x16')));_0x506428['enableCommand']('style',(_0x3592b3,{styleName:_0x46a4c1})=>{const _0x9db6bd=_0x1fe929[_0x7e53('0x9')][_0x7e53('0x6')][_0x7e53('0xc')],_0x642f2c=this[_0x7e53('0x7')](_0x46a4c1,_0x3ba9b3);if(!_0x642f2c)return;if(!_0x539f3f['enabledStyles'][_0x7e53('0x12')](_0x46a4c1))return;if(_0x9db6bd[_0x7e53('0x14')]&&!_0x642f2c[_0x7e53('0x21')])return void _0x3592b3({'styleName':_0x46a4c1});const _0x4fbf18=!_0x539f3f[_0x7e53('0x1b')]['includes'](_0x642f2c[_0x7e53('0xb')]);if(_0x642f2c[_0x7e53('0x21')]){const _0x421402=function(_0x27a986,_0xc6b439){const _0x4fdc06=new Set();for(const _0x88cb62 of _0x27a986){const _0x4d1948=_0x88cb62[_0x7e53('0x23')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x116d34 of _0x4d1948)if(_0xc6b439[_0x7e53('0x12')](_0x116d34[_0x7e53('0xb')])){_0x4fdc06[_0x7e53('0x3')](_0x116d34);break;}}return _0x4fdc06;}(_0x9db6bd[_0x7e53('0x1f')](),_0x642f2c[_0x7e53('0xa')]);_0x1fe929[_0x7e53('0x9')]['change'](()=>{for(const _0x8f3e73 of _0x421402)_0x506428[_0x7e53('0x20')](_0x8f3e73,{'commandName':_0x7e53('0x28'),'commandParams':[{'styleName':_0x46a4c1,'forceValue':_0x4fbf18}],'formatGroupId':_0x7e53('0x1d')+_0x46a4c1});});}else{let _0x504d3a=Array[_0x7e53('0x13')](_0x9db6bd[_0x7e53('0x0')]());if(!_0x4fbf18){const _0x225a48=Array[_0x7e53('0x13')](_0x41aec0['getDefinitionsForView'](_0x642f2c[_0x7e53('0x2')],!0x1))[0x0]['model'],_0x368d2f=[];for(const _0x2ad994 of _0x504d3a){const _0x4f34f1=this['_getRangesWithClasses'](_0x1fe929['model'],_0x2ad994,_0x642f2c[_0x7e53('0xe')],_0x225a48);_0x368d2f['push'](..._0x4f34f1);}_0x504d3a=_0x368d2f;}_0x1fe929['model']['change'](()=>{for(const _0x1b53a8 of _0x504d3a)_0x506428['markInlineFormat'](_0x1b53a8,{'commandName':_0x7e53('0x28'),'commandParams':[{'styleName':_0x46a4c1,'forceValue':_0x4fbf18}]});});}}),_0x506428[_0x7e53('0x10')][_0x7e53('0x25')](_0x151279=>{const {data:_0x4efae4}=_0x151279;if(_0x4efae4&&'style'===_0x4efae4[_0x7e53('0x24')])return _0x4efae4[_0x7e53('0x26')][0x0][_0x7e53('0x11')]?{'type':'format','content':_0x3fcbf1(_0x54df95,_0x7e53('0x4'),_0x4efae4[_0x7e53('0x26')][0x0][_0x7e53('0x15')][_0x7e53('0xf')]())}:{'type':_0x7e53('0x1c'),'content':_0x3fcbf1(_0x54df95,'*Remove\x20format:*\x20%0',_0x4efae4[_0x7e53('0x26')][0x0][_0x7e53('0x15')][_0x7e53('0xf')]())};});}[_0x7e53('0x7')](_0x556d74,_0x4a448a){let _0xd2af2b=_0x4a448a['block']['find'](_0xc89bcd=>_0xc89bcd[_0x7e53('0xb')]===_0x556d74);return _0xd2af2b||(_0xd2af2b=_0x4a448a[_0x7e53('0x27')][_0x7e53('0x17')](_0x470758=>_0x470758[_0x7e53('0xb')]===_0x556d74)),_0xd2af2b;}[_0x7e53('0x1e')](_0xd68717,_0x293bcd,_0x34ad62,_0x2461eb){const _0x4e0f3f=[];for(const _0x102a63 of _0x293bcd['getItems']()){const _0x2982d5=_0x102a63[_0x7e53('0xd')](_0x2461eb);_0x2982d5&&(_0x34ad62['every'](_0x31c520=>_0x2982d5[_0x7e53('0xe')][_0x7e53('0x12')](_0x31c520))&&_0x4e0f3f[_0x7e53('0x22')](_0xd68717[_0x7e53('0x19')](_0x102a63)));}return _0x4e0f3f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c0e=['toViewElement','ELEMENT_TABLE_COLUMN_WITH_TEXT','nodeBefore','markMultiRangeDeletion','registerElementLabel','low','findAncestor','span','colspan','tablePaste','data','_setupColumnsRowsFixing','deletion','join','from','getChanges','downcastDispatcher','_descriptionFactory','options','some','above','registerPostFixer','addRange','get','isArray','TrackChangesEditing','add','insertTableRowAbove','document','last','locale','$textProxy','removeTableColumn','push','insert','markMultiRangeInsertion','classes','refresh','enqueueChange','addClass','change','change:data','MIN_SAFE_INTEGER','max','insertTableRowBelow','subType','ELEMENT_TABLE_ROW_WITH_TEXT','every','createTableWalker','getItems','getRanges','oldRange','maxRow','start','end','_getSuggestionCoords','min','selectTableRow','ELEMENT_TABLE_COLUMN','addMarker:suggestion','tableRow','selectTableColumn','model','root','insertTableColumnRight','TableUtils','getContainedElement','ELEMENT_TABLE_WITH_TEXT','isEqual','tableCell','left','*Remove:*\x20%0','commands','getAttribute','editor','type','TableEditing','length','removeTableRow','toLowerCase','table','first','_tableSuggestions','cell','registerDescriptionCallback','nodeAfter','isTouching','hasAttribute','removeClass','fromRange','getCellLocation','insertTable','highest','ELEMENT_TABLE','detach','map','substr','_tablePostFixingSubtypes','setSelection','*Insert:*\x20%0','accept','isInContent','createPositionAt','ELEMENT_TABLE_ROW','enableCommand','discard','$graveyard','differ','position','getRowIndexes','writer','includes','insertion','filter','insertTableColumnLeft','MAX_SAFE_INTEGER','_suggestionFactory','afterInit','createRangeOn','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','maxColumn','tableColumn','plugins','_splitMarkerName','item','createRangeIn','selection','execute','values','rootName','getFirstRange','rowspan','registerCustomCallback','order','name'];(function(_0x3a3eea,_0x3c0e2d){const _0x5db015=function(_0x1edb4a){while(--_0x1edb4a){_0x3a3eea['push'](_0x3a3eea['shift']());}};_0x5db015(++_0x3c0e2d);}(_0x3c0e,0x158));const _0x5db0=function(_0x3a3eea,_0x3c0e2d){_0x3a3eea=_0x3a3eea-0x0;let _0x5db015=_0x3c0e[_0x3a3eea];return _0x5db015;};import{Plugin as _0x397730}from'ckeditor5/src/core';import{LiveRange as _0x40ce2f}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5da32a}from'ckeditor5/src/widget';import{getTranslation as _0x31c1cb}from'../utils/common-translations';export default class dt extends _0x397730{constructor(_0x3c3b15){super(_0x3c3b15),this[_0x5db0('0x19')]=['tableRow',_0x5db0('0x32')],this[_0x5db0('0xa')]=new Set();}[_0x5db0('0x2d')](){const _0x2520ec=this[_0x5db0('0x2')],_0xb22f87=_0x2520ec['model'][_0x5db0('0x5c')]['selection'];if(!_0x2520ec[_0x5db0('0x33')]['has'](_0x5db0('0x4')))return;const _0x46781a=_0x2520ec[_0x5db0('0x5e')],_0x22d671=_0x2520ec[_0x5db0('0x33')][_0x5db0('0x57')](_0x5db0('0x59')),_0x34527f=_0x2520ec['plugins']['get'](_0x5db0('0x81'));_0x22d671[_0x5db0('0x51')][_0x5db0('0x44')]('table',_0x77e3c4=>_0x31c1cb(_0x46781a,_0x5db0('0x15'),_0x77e3c4)),this['_setupColumnsRowsFixing'](),_0x22d671[_0x5db0('0x20')](_0x5db0('0x13')),_0x22d671[_0x5db0('0x20')](_0x5db0('0x79')),_0x22d671[_0x5db0('0x20')](_0x5db0('0x7d'));for(const _0x4d702a of[_0x5db0('0x5b'),_0x5db0('0x6c')]){const _0x4c90b9=_0x2520ec[_0x5db0('0x0')][_0x5db0('0x57')](_0x4d702a);_0x22d671[_0x5db0('0x20')](_0x4d702a,_0x586c64=>{_0x2520ec['model'][_0x5db0('0x68')](_0xa9d265=>{_0x586c64();const _0x1ed2e5=_0x5db0('0x54')===_0x4c90b9[_0x5db0('0x3e')],_0x2ba64f=_0x34527f['getSelectionAffectedTableCells'](_0xb22f87),_0xd1ec3e=_0x34527f[_0x5db0('0x25')](_0x2ba64f),_0xc4f172=_0x1ed2e5?_0xd1ec3e['first']-0x1:_0xd1ec3e[_0x5db0('0x5d')]+0x1,_0x2fa7b0=_0x2ba64f[0x0][_0x5db0('0x46')](_0x5db0('0x8')),_0x247148=_0x34527f['createTableWalker'](_0x2fa7b0,{'startRow':_0xc4f172,'endRow':_0xc4f172}),_0x106ac6=Array[_0x5db0('0x4e')](_0x247148)[_0x5db0('0x17')](_0x4f3e9e=>_0xa9d265[_0x5db0('0x2e')](_0x4f3e9e[_0x5db0('0xb')]));_0x22d671[_0x5db0('0x63')](_0x106ac6,'tableRow');});});}for(const _0x52b431 of[_0x5db0('0x2a'),_0x5db0('0x80')]){const _0x376a40=_0x2520ec['commands'][_0x5db0('0x57')](_0x52b431);_0x22d671[_0x5db0('0x20')](_0x52b431,_0x9d7d02=>{_0x2520ec['model'][_0x5db0('0x68')](_0x34951b=>{_0x9d7d02();const _0x953f38=_0x5db0('0x86')===_0x376a40['order'],_0x47e97f=_0x34527f[_0x5db0('0x2f')](_0xb22f87),_0x1aa5e9=_0x34527f['getColumnIndexes'](_0x47e97f),_0x3a7638=_0x953f38?_0x1aa5e9['first']-0x1:_0x1aa5e9[_0x5db0('0x5d')]+0x1,_0xbd8a79=_0x47e97f[0x0]['findAncestor'](_0x5db0('0x8')),_0x39acb=_0x34527f[_0x5db0('0x70')](_0xbd8a79,{'startRow':0x0,'column':_0x3a7638,'includeAllSlots':!0x1}),_0x36da4e=Array[_0x5db0('0x4e')](_0x39acb)[_0x5db0('0x17')](_0x102928=>_0x34951b[_0x5db0('0x2e')](_0x102928[_0x5db0('0xb')]));_0x22d671[_0x5db0('0x63')](_0x36da4e,_0x5db0('0x32'));});});}for(const _0x3fc4b6 of[_0x5db0('0x6'),_0x5db0('0x60')]){const _0x49ae7a=_0x3fc4b6[_0x5db0('0x18')](0xb),_0x2dc033=_0x49ae7a[_0x5db0('0x7')](),_0x4bdff7=_0x2dc033[_0x5db0('0x18')](0x0,0x3)+'span',_0x270482=_0x5db0('0x8')+_0x49ae7a,_0x44befe=_0x5db0('0x78')+_0x49ae7a,_0x3d3202='max'+_0x49ae7a;_0x22d671['enableCommand'](_0x3fc4b6,()=>{_0x2520ec['model'][_0x5db0('0x68')](_0x3582bb=>{const _0xfac6b9=_0x34527f[_0x5db0('0x2f')](_0xb22f87),_0x82fb4c=_0xfac6b9[0x0][_0x5db0('0x46')]('table');let _0x1c023a;if(_0x5db0('0x6')==_0x3fc4b6){const _0x5f5205=_0x34527f[_0x5db0('0x25')](_0xfac6b9);_0x1c023a={'startRow':_0x5f5205['first'],'endRow':_0x5f5205['last'],'includeAllSlots':!0x0};}else{const _0x5e3f24=_0x34527f['getColumnIndexes'](_0xfac6b9);_0x1c023a={'startColumn':_0x5e3f24[_0x5db0('0x9')],'endColumn':_0x5e3f24[_0x5db0('0x5d')],'includeAllSlots':!0x0};}const _0x3979d1=_0x34527f[_0x5db0('0x70')](_0x82fb4c,_0x1c023a),_0x39426a=Array[_0x5db0('0x4e')](_0x3979d1)[_0x5db0('0x17')](({cell:_0x1555f9})=>_0x1555f9),_0x655d19=se(_0x39426a[_0x5db0('0x29')](_0x24ffa3=>_0x24ffa3['hasAttribute'](_0x4bdff7))),_0x9290ee=se(_0x39426a['filter'](_0x4510ce=>!_0x4510ce[_0x5db0('0xf')](_0x4bdff7)))[_0x5db0('0x17')](_0x3a3ddb=>_0x3582bb[_0x5db0('0x2e')](_0x3a3ddb)),_0x156155=_0x22d671[_0x5db0('0x43')](_0x9290ee,_0x270482);if(_0x156155&&(_0x5db0('0x7c')==_0x156155[_0x5db0('0x6d')]||_0x5db0('0x32')==_0x156155[_0x5db0('0x6d')])){const _0x3587e8=this[_0x5db0('0x77')](_0x156155);for(const _0xe5fe3f of _0x655d19){const _0x197332=_0x3582bb['createRangeOn'](_0xe5fe3f),_0xf3b07f=_0x34527f[_0x5db0('0x12')](_0xe5fe3f),_0x44f68e=_0xe5fe3f[_0x5db0('0x1')](_0x4bdff7)-0x1,_0x19cd7c=_0x3587e8[_0x44befe],_0x3d45cd=_0x3587e8[_0x3d3202];_0x19cd7c<=_0xf3b07f[_0x2dc033]&&_0xf3b07f[_0x2dc033]+_0x44f68e<=_0x3d45cd&&_0x156155[_0x5db0('0x56')](_0x197332);}}});});}function _0x2deeea(_0x148d08){const _0x588633=Array['from'](_0xb22f87['getRanges']())[_0x5db0('0x17')](_0x4f844d=>_0x40ce2f['fromRange'](_0x4f844d));_0x2520ec[_0x5db0('0x7e')][_0x5db0('0x68')](_0x4ffbcb=>{const _0x29f6e1=_0x4ffbcb['batch'];_0x148d08=_0x148d08[_0x5db0('0x29')](_0x456434=>'$graveyard'!=_0x456434[_0x5db0('0x7f')][_0x5db0('0x3a')]),_0x4ffbcb[_0x5db0('0x1a')](_0x148d08),_0x2520ec[_0x5db0('0x0')]['get'](_0x5db0('0x6'))[_0x5db0('0x65')](),_0x2520ec[_0x5db0('0x38')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2520ec['model'][_0x5db0('0x66')](()=>{_0x2520ec['model'][_0x5db0('0x66')](_0x29f6e1,_0x14d504=>{const _0xebb6bb=_0x588633[_0x5db0('0x29')](_0x1fca81=>_0x5db0('0x22')!=_0x1fca81[_0x5db0('0x7f')]['rootName']);_0xebb6bb['length']>0x0&&_0x14d504[_0x5db0('0x1a')](_0xebb6bb);for(const _0x1d4ed8 of _0x588633)_0x1d4ed8['detach']();});});});}function _0x15d719(_0x545ecf){_0x2520ec[_0x5db0('0x7e')]['change'](_0x1448db=>{const _0x499017=Array[_0x5db0('0x4e')](_0xb22f87[_0x5db0('0x72')]())[_0x5db0('0x17')](_0x5aad10=>_0x40ce2f[_0x5db0('0x11')](_0x5aad10)),_0x45de4f=[];for(const _0x230b0b of _0x545ecf)for(const _0x201fd3 of _0x230b0b[_0x5db0('0x71')]({'shallow':!0x0}))_0x45de4f[_0x5db0('0x61')](_0x201fd3);for(const _0x597d04 of _0x45de4f)_0x5db0('0x22')!=_0x597d04[_0x5db0('0x7f')][_0x5db0('0x3a')]&&(_0x1448db[_0x5db0('0x1a')](_0x1448db[_0x5db0('0x1e')](_0x597d04,0x0)),_0x2520ec[_0x5db0('0x0')][_0x5db0('0x57')](_0x5db0('0x60'))['refresh'](),_0x2520ec[_0x5db0('0x38')](_0x5db0('0x60'),{'forceDefaultExecution':!0x0}));const _0x56a68c=_0x499017[_0x5db0('0x29')](_0x3c2416=>_0x5db0('0x22')!=_0x3c2416[_0x5db0('0x7f')][_0x5db0('0x3a')]);_0x56a68c[_0x5db0('0x5')]>0x0&&_0x1448db[_0x5db0('0x1a')](_0x56a68c);for(const _0x4b8e2f of _0x499017)_0x4b8e2f['detach']();});}function _0x35b124(_0x2d789d,_0x80f85e){return _0x80f85e[_0x5db0('0x6f')](_0x46e921=>_0x2d789d[_0x5db0('0x53')](_0x52e794=>_0x52e794['end'][_0x5db0('0x84')](_0x46e921[_0x5db0('0x75')])||_0x46e921[_0x5db0('0x76')][_0x5db0('0x84')](_0x52e794[_0x5db0('0x75')])));}function _0x1cb262(_0x180896,_0x407a6c){return _0x180896[_0x5db0('0x53')](_0x4f08a4=>_0x407a6c[_0x5db0('0x53')](_0x23a285=>_0x4f08a4[_0x5db0('0x76')][_0x5db0('0xe')](_0x23a285[_0x5db0('0x75')])));}_0x2520ec[_0x5db0('0x4a')][_0x5db0('0x50')]['on'](_0x5db0('0x7b'),(_0x37b855,_0x31a7de,_0x451a70)=>{if(!_0x451a70[_0x5db0('0x52')]['showSuggestionHighlights'])return;const _0x1213dd=_0x31a7de[_0x5db0('0x35')];if(!_0x1213dd)return;const _0x30a4b6=_0x451a70['mapper'][_0x5db0('0x40')](_0x1213dd);function _0x520957(_0x166b9a){return Array[_0x5db0('0x58')](_0x166b9a)?_0x166b9a:[_0x166b9a];}_0x30a4b6&&_0x5db0('0x85')===_0x1213dd['name']&&_0x5da32a(_0x30a4b6,_0x451a70[_0x5db0('0x26')],(_0x17e5bf,_0x1233b8,_0x2940b8)=>_0x2940b8[_0x5db0('0x67')](_0x520957(_0x1233b8['classes']),_0x17e5bf),(_0x124747,_0x286977,_0x3f06ef)=>_0x3f06ef[_0x5db0('0x10')](_0x520957(_0x286977[_0x5db0('0x64')]),_0x124747));},{'priority':_0x5db0('0x14')}),_0x22d671[_0x5db0('0x51')]['registerDescriptionCallback'](_0x87860a=>{if(_0x5db0('0x28')!=_0x87860a[_0x5db0('0x3')]&&_0x5db0('0x4c')!=_0x87860a['type'])return;const _0x3750a8=_0x87860a[_0x5db0('0x82')]();if(null!=_0x3750a8&&_0x3750a8['is']('element',_0x5db0('0x8'))){if('insertion'==_0x87860a[_0x5db0('0x3')]){const _0x33fc1b=_0x87860a[_0x5db0('0x71')]()['filter'](_0x560124=>_0x560124['is'](_0x5db0('0x5f')))[_0x5db0('0x17')](_0x2c486d=>_0x2c486d['data']);if(_0x33fc1b['length'])return{'type':'insertion','content':_0x31c1cb(_0x46781a,_0x5db0('0x1b'),_0x31c1cb(_0x46781a,_0x5db0('0x83'),'\x22'+_0x33fc1b[_0x5db0('0x4d')]('\x20')+'\x22'))};}if(_0x5db0('0x4c')==_0x87860a[_0x5db0('0x3')]){const _0x53a039=_0x87860a[_0x5db0('0x71')]()[_0x5db0('0x29')](_0x3b3975=>_0x3b3975['is'](_0x5db0('0x5f')))[_0x5db0('0x17')](_0x524366=>_0x524366[_0x5db0('0x4a')]);if(_0x53a039[_0x5db0('0x5')])return{'type':_0x5db0('0x4c'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x87'),_0x31c1cb(_0x46781a,_0x5db0('0x83'),'\x22'+_0x53a039['join']('\x20')+'\x22'))};}}}),_0x22d671[_0x5db0('0x51')][_0x5db0('0xc')](_0x18c71c=>{if('tableRow'==_0x18c71c[_0x5db0('0x6d')]){const _0xb7be93=_0x18c71c['getItems']()[_0x5db0('0x29')](_0x497450=>_0x497450['is']('$textProxy'))[_0x5db0('0x17')](_0x2f86bc=>_0x2f86bc[_0x5db0('0x4a')]),_0x10c39e=this[_0x5db0('0x77')](_0x18c71c),_0x5d90f0=_0x10c39e[_0x5db0('0x74')]-_0x10c39e['minRow']+0x1;if('insertion'==_0x18c71c[_0x5db0('0x3')])return _0xb7be93['length']?{'type':_0x5db0('0x28'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x1b'),_0x31c1cb(_0x46781a,_0x5db0('0x6e'),[_0x5d90f0,'\x22'+_0xb7be93[_0x5db0('0x4d')]('\x20')+'\x22']))}:{'type':_0x5db0('0x28'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x1b'),_0x31c1cb(_0x46781a,_0x5db0('0x1f'),_0x5d90f0))};if(_0x5db0('0x4c')==_0x18c71c['type'])return _0xb7be93[_0x5db0('0x5')]?{'type':_0x5db0('0x4c'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x87'),_0x31c1cb(_0x46781a,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x5d90f0,'\x22'+_0xb7be93[_0x5db0('0x4d')]('\x20')+'\x22']))}:{'type':_0x5db0('0x4c'),'content':_0x31c1cb(_0x46781a,'*Remove:*\x20%0',_0x31c1cb(_0x46781a,'ELEMENT_TABLE_ROW',_0x5d90f0))};}if(_0x5db0('0x32')==_0x18c71c[_0x5db0('0x6d')]){const _0xa66b32=_0x18c71c[_0x5db0('0x71')]()[_0x5db0('0x29')](_0x43b9c5=>_0x43b9c5['is'](_0x5db0('0x5f')))[_0x5db0('0x17')](_0x31b8f4=>_0x31b8f4[_0x5db0('0x4a')]),_0x1d61c2=this[_0x5db0('0x77')](_0x18c71c),_0x2d0b1c=_0x1d61c2[_0x5db0('0x31')]-_0x1d61c2['minColumn']+0x1;if(_0x5db0('0x28')==_0x18c71c[_0x5db0('0x3')])return _0xa66b32[_0x5db0('0x5')]?{'type':_0x5db0('0x28'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x1b'),_0x31c1cb(_0x46781a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2d0b1c,'\x22'+_0xa66b32[_0x5db0('0x4d')]('\x20')+'\x22']))}:{'type':_0x5db0('0x28'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x1b'),_0x31c1cb(_0x46781a,_0x5db0('0x7a'),_0x2d0b1c))};if(_0x5db0('0x4c')==_0x18c71c[_0x5db0('0x3')])return _0xa66b32[_0x5db0('0x5')]?{'type':_0x5db0('0x4c'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x87'),_0x31c1cb(_0x46781a,_0x5db0('0x41'),[_0x2d0b1c,'\x22'+_0xa66b32[_0x5db0('0x4d')]('\x20')+'\x22']))}:{'type':_0x5db0('0x4c'),'content':_0x31c1cb(_0x46781a,_0x5db0('0x87'),_0x31c1cb(_0x46781a,_0x5db0('0x7a'),_0x2d0b1c))};}}),_0x22d671['_suggestionFactory'][_0x5db0('0x3d')](_0x5db0('0x28'),_0x5db0('0x7c'),_0x5db0('0x21'),_0x2deeea),_0x22d671[_0x5db0('0x2c')][_0x5db0('0x3d')](_0x5db0('0x4c'),_0x5db0('0x7c'),'accept',_0x2deeea),_0x22d671[_0x5db0('0x2c')][_0x5db0('0x3d')](_0x5db0('0x28'),_0x5db0('0x32'),_0x5db0('0x21'),_0x15d719),_0x22d671[_0x5db0('0x2c')][_0x5db0('0x3d')]('deletion',_0x5db0('0x32'),_0x5db0('0x1c'),_0x15d719),_0x22d671['_suggestionFactory'][_0x5db0('0x3d')](_0x5db0('0x28'),_0x5db0('0x32'),'join',_0x35b124),_0x22d671['_suggestionFactory'][_0x5db0('0x3d')](_0x5db0('0x4c'),_0x5db0('0x32'),_0x5db0('0x4d'),_0x35b124),_0x22d671[_0x5db0('0x2c')][_0x5db0('0x3d')]('insertion',_0x5db0('0x7c'),_0x5db0('0x4d'),_0x1cb262),_0x22d671[_0x5db0('0x2c')][_0x5db0('0x3d')](_0x5db0('0x4c'),_0x5db0('0x7c'),'join',_0x1cb262);}[_0x5db0('0x30')](){const _0x5bffe2=this['editor'],_0x3e7e1b=_0x5bffe2['model'][_0x5db0('0x5c')][_0x5db0('0x37')];return(_0x1f2ed6,_0x2bb101)=>{_0x5bffe2[_0x5db0('0x7e')]['change'](_0x572bfd=>{const {commandName:_0x1fdf7d,commandParams:_0x4143cf}=_0x2bb101;let _0x3677cf=_0x1f2ed6[0x0][_0x5db0('0x76')][_0x5db0('0x42')];_0x4143cf&&_0x4143cf[0x0]&&!0x1===_0x4143cf[0x0]['forceValue']&&(_0x3677cf=_0x1f2ed6[0x0][_0x5db0('0x75')][_0x5db0('0xd')]);const _0x3b908f=_0x572bfd[_0x5db0('0x36')](_0x3677cf);if(_0x5db0('0x22')==_0x3b908f[_0x5db0('0x7f')]['rootName'])return;const _0x443ec1=Array[_0x5db0('0x4e')](_0x3e7e1b[_0x5db0('0x72')]())['map'](_0x535ee5=>_0x40ce2f[_0x5db0('0x11')](_0x535ee5));_0x572bfd['setSelection'](_0x3b908f),_0x5bffe2['commands']['get'](_0x1fdf7d)[_0x5db0('0x65')](),_0x4143cf[_0x5db0('0x61')]({'forceDefaultExecution':!0x0}),_0x5bffe2['execute'](_0x1fdf7d,..._0x4143cf);const _0x343bfd=_0x443ec1[_0x5db0('0x29')](_0xba5f57=>_0x5db0('0x22')!=_0xba5f57[_0x5db0('0x7f')][_0x5db0('0x3a')]);_0x343bfd[_0x5db0('0x5')]>0x0&&_0x572bfd[_0x5db0('0x1a')](_0x343bfd);for(const _0x426ad7 of _0x443ec1)_0x426ad7[_0x5db0('0x16')]();});};}['_getCoordsForCells'](_0x4aa468){const _0x4a29d6=this[_0x5db0('0x2')][_0x5db0('0x33')][_0x5db0('0x57')](_0x5db0('0x81'));let _0x5a000e=Number[_0x5db0('0x2b')],_0x38cb37=Number['MIN_SAFE_INTEGER'],_0x5ba379=Number[_0x5db0('0x2b')],_0x2f8632=Number[_0x5db0('0x6a')];for(const _0x55aee5 of _0x4aa468){if(_0x5db0('0x22')==_0x55aee5[_0x5db0('0x7f')][_0x5db0('0x3a')])continue;const {row:_0x477479,column:_0x30c1b1}=_0x4a29d6[_0x5db0('0x12')](_0x55aee5),_0x20d122=_0x55aee5[_0x5db0('0xf')]('rowspan')?_0x55aee5[_0x5db0('0x1')](_0x5db0('0x3c'))-0x1:0x0,_0x11e559=_0x55aee5[_0x5db0('0xf')](_0x5db0('0x48'))?_0x55aee5['getAttribute']('colspan')-0x1:0x0;_0x5a000e=_0x477479<_0x5a000e?_0x477479:_0x5a000e,_0x38cb37=_0x477479+_0x20d122>_0x38cb37?_0x477479+_0x20d122:_0x38cb37,_0x5ba379=_0x30c1b1<_0x5ba379?_0x30c1b1:_0x5ba379,_0x2f8632=_0x30c1b1+_0x11e559>_0x2f8632?_0x30c1b1+_0x11e559:_0x2f8632;}return{'minRow':_0x5a000e,'maxRow':_0x38cb37,'minColumn':_0x5ba379,'maxColumn':_0x2f8632};}[_0x5db0('0x4b')](){const _0x4a2b9b=this[_0x5db0('0x2')],_0x2efcc6=_0x4a2b9b[_0x5db0('0x33')][_0x5db0('0x57')](_0x5db0('0x59')),_0x40f6c9=_0x4a2b9b['plugins'][_0x5db0('0x57')](_0x5db0('0x81'));_0x4a2b9b[_0x5db0('0x7e')][_0x5db0('0x5c')]['on'](_0x5db0('0x69'),()=>{const _0x4044c6=Array[_0x5db0('0x4e')](_0x4a2b9b[_0x5db0('0x7e')][_0x5db0('0x5c')][_0x5db0('0x23')]['getChangedMarkers']());for(const {name:_0x4ca722,data:_0x7e765b}of _0x4044c6){const {group:_0x4f5332,id:_0x40358f,subType:_0x45df79}=_0x2efcc6[_0x5db0('0x34')](_0x4ca722);if('suggestion'!=_0x4f5332)continue;if(null!=_0x7e765b[_0x5db0('0x73')])continue;const _0x5da519=_0x2efcc6['getSuggestion'](_0x40358f);this[_0x5db0('0x19')][_0x5db0('0x27')](_0x45df79)&&this[_0x5db0('0xa')][_0x5db0('0x5a')](_0x5da519);}},{'priority':_0x5db0('0x45')});const _0x5e7a8f=(_0x473251,_0x36be5b)=>{let _0xb948cc=!0x1;const _0x2f8bb6=_0x36be5b[_0x5db0('0x2e')](_0x473251),_0x156c3c=_0x473251[_0x5db0('0x46')](_0x5db0('0x8')),_0x413612=_0x40f6c9['getCellLocation'](_0x473251);for(const _0x3a8b57 of this[_0x5db0('0xa')]){const _0xc375e8=_0x3a8b57[_0x5db0('0x6d')],_0x4a5cce=_0xc375e8['startsWith'](_0x5db0('0x49')),_0x49f334=_0xc375e8[_0x5db0('0x18')](_0x4a5cce?0xa:0x5),_0x27363f=_0x49f334['toLowerCase'](),_0x4bb310=_0x27363f['substr'](0x0,0x3)+_0x5db0('0x47'),_0x5b1c8f='min'+_0x49f334,_0x48fec1=_0x5db0('0x6b')+_0x49f334;if(!_0x3a8b57[_0x5db0('0x1d')])continue;if(_0x156c3c!=_0x3a8b57[_0x5db0('0x3b')]()[_0x5db0('0x75')]['findAncestor']('table'))continue;if(_0x3a8b57['isIntersectingWithRange'](_0x2f8bb6))continue;const _0x92a040=_0x473251[_0x5db0('0xf')](_0x4bb310)?_0x473251[_0x5db0('0x1')](_0x4bb310)-0x1:0x0,_0x3374e3=this[_0x5db0('0x77')](_0x3a8b57),_0x395bba=_0x3374e3[_0x5b1c8f],_0x26be3d=_0x3374e3[_0x48fec1];_0x395bba<=_0x413612[_0x27363f]&&_0x413612[_0x27363f]+_0x92a040<=_0x26be3d&&(_0x3a8b57[_0x5db0('0x56')](_0x2f8bb6),_0xb948cc=!0x0);}return _0xb948cc;};_0x4a2b9b[_0x5db0('0x7e')]['document'][_0x5db0('0x55')](_0x4c2815=>{let _0xe63bac=!0x1;for(const _0x42249e of _0x4a2b9b[_0x5db0('0x7e')][_0x5db0('0x5c')]['differ'][_0x5db0('0x4f')]())if(_0x5db0('0x62')==_0x42249e['type']){if(_0x5db0('0x7c')==_0x42249e['name'])for(const _0x18affb of _0x42249e['position']['nodeAfter']['getChildren']())_0xe63bac=_0xe63bac||_0x5e7a8f(_0x18affb,_0x4c2815);else _0x5db0('0x85')==_0x42249e[_0x5db0('0x3f')]&&(_0xe63bac=_0xe63bac||_0x5e7a8f(_0x42249e[_0x5db0('0x24')][_0x5db0('0xd')],_0x4c2815));}return _0xe63bac;});}[_0x5db0('0x77')](_0x57a2eb){return this['_getCoordsForCells'](_0x57a2eb['getRanges']()['map'](_0x2ebfff=>_0x2ebfff[_0x5db0('0x75')][_0x5db0('0xd')]));}}function se(_0x26e507){return Array[_0x5db0('0x4e')](new Set(_0x26e507)[_0x5db0('0x39')]());}
|
|
23
|
+
const _0xdfe5=['getItems','change:data','start','selectTableColumn','TableEditing','substr','*Remove:*\x20%0','removeTableColumn','_suggestionFactory','enableCommand','TableUtils','type','getChildren','tablePaste','tableRow','deletion','has','rowspan','editor','_descriptionFactory','table','isIntersectingWithRange','removeClass','showSuggestionHighlights','addClass','oldRange','left','getColumnIndexes','_tableSuggestions','*Insert:*\x20%0','createRangeOn','colspan','element','order','from','plugins','highest','afterInit','nodeBefore','span','getFirstRange','isArray','subType','position','minRow','createTableWalker','createRangeIn','end','selection','isTouching','options','getAttribute','includes','name','nodeAfter','_getCoordsForCells','addRange','_getSuggestionCoords','_acceptFormatSuggestionCallbackFactory','push','data','getRanges','fromRange','setSelection','MAX_SAFE_INTEGER','$textProxy','isInContent','startsWith','getCellLocation','toLowerCase','ELEMENT_TABLE_ROW_WITH_TEXT','insertTableColumnLeft','_tablePostFixingSubtypes','tableColumn','insertTableRowBelow','TrackChangesEditing','commands','low','registerElementLabel','map','addMarker:suggestion','enqueueChange','getChangedMarkers','getContainedElement','tableCell','registerCustomCallback','execute','some','ELEMENT_TABLE_WITH_TEXT','min','removeTableRow','markMultiRangeInsertion','getRowIndexes','ELEMENT_TABLE_COLUMN','$graveyard','rootName','maxRow','values','discard','last','getChanges','detach','root','ELEMENT_TABLE_COLUMN_WITH_TEXT','downcastDispatcher','isEqual','differ','ELEMENT_TABLE_ROW','join','filter','insertTableRowAbove','toViewElement','classes','markMultiRangeDeletion','insertTable','get','length','change','getSelectionAffectedTableCells','_setupColumnsRowsFixing','locale','document','ELEMENT_TABLE','first','hasAttribute','findAncestor','MIN_SAFE_INTEGER','model','insertion','registerDescriptionCallback'];(function(_0x2d6a2b,_0xdfe5a4){const _0x1db4ba=function(_0x833977){while(--_0x833977){_0x2d6a2b['push'](_0x2d6a2b['shift']());}};_0x1db4ba(++_0xdfe5a4);}(_0xdfe5,0x122));const _0x1db4=function(_0x2d6a2b,_0xdfe5a4){_0x2d6a2b=_0x2d6a2b-0x0;let _0x1db4ba=_0xdfe5[_0x2d6a2b];return _0x1db4ba;};import{Plugin as _0x451299}from'ckeditor5/src/core';import{LiveRange as _0x3f2bdc}from'ckeditor5/src/engine';import{setHighlightHandling as _0x280e00}from'ckeditor5/src/widget';import{getTranslation as _0x350cd1}from'../utils/common-translations';export default class dt extends _0x451299{constructor(_0x482c1d){super(_0x482c1d),this[_0x1db4('0x2a')]=[_0x1db4('0x72'),_0x1db4('0x2b')],this[_0x1db4('0x80')]=new Set();}[_0x1db4('0x7')](){const _0x16e9cf=this[_0x1db4('0x76')],_0x6087d=_0x16e9cf[_0x1db4('0x61')][_0x1db4('0x5b')][_0x1db4('0x12')];if(!_0x16e9cf['plugins'][_0x1db4('0x74')](_0x1db4('0x68')))return;const _0x5efb3f=_0x16e9cf[_0x1db4('0x5a')],_0x177d22=_0x16e9cf[_0x1db4('0x5')][_0x1db4('0x55')](_0x1db4('0x2d')),_0x2597cd=_0x16e9cf[_0x1db4('0x5')][_0x1db4('0x55')](_0x1db4('0x6e'));_0x177d22[_0x1db4('0x77')][_0x1db4('0x30')](_0x1db4('0x78'),_0x14c2ba=>_0x350cd1(_0x5efb3f,_0x1db4('0x5c'),_0x14c2ba)),this[_0x1db4('0x59')](),_0x177d22[_0x1db4('0x6d')](_0x1db4('0x54')),_0x177d22[_0x1db4('0x6d')]('selectTableRow'),_0x177d22['enableCommand'](_0x1db4('0x67'));for(const _0x2c34a1 of[_0x1db4('0x50'),_0x1db4('0x2c')]){const _0x358ff9=_0x16e9cf[_0x1db4('0x2e')][_0x1db4('0x55')](_0x2c34a1);_0x177d22[_0x1db4('0x6d')](_0x2c34a1,_0xcaeeb4=>{_0x16e9cf[_0x1db4('0x61')][_0x1db4('0x57')](_0x4c8476=>{_0xcaeeb4();const _0x549722='above'===_0x358ff9[_0x1db4('0x3')],_0x1d41a3=_0x2597cd[_0x1db4('0x58')](_0x6087d),_0x1d9ccf=_0x2597cd['getRowIndexes'](_0x1d41a3),_0xd6ae7a=_0x549722?_0x1d9ccf[_0x1db4('0x5d')]-0x1:_0x1d9ccf[_0x1db4('0x45')]+0x1,_0x46557d=_0x1d41a3[0x0]['findAncestor'](_0x1db4('0x78')),_0x402564=_0x2597cd[_0x1db4('0xf')](_0x46557d,{'startRow':_0xd6ae7a,'endRow':_0xd6ae7a}),_0x107507=Array[_0x1db4('0x4')](_0x402564)[_0x1db4('0x31')](_0xdc42bc=>_0x4c8476[_0x1db4('0x0')](_0xdc42bc['cell']));_0x177d22['markMultiRangeInsertion'](_0x107507,_0x1db4('0x72'));});});}for(const _0x3379df of[_0x1db4('0x29'),'insertTableColumnRight']){const _0x3240e5=_0x16e9cf[_0x1db4('0x2e')]['get'](_0x3379df);_0x177d22[_0x1db4('0x6d')](_0x3379df,_0x1ac57c=>{_0x16e9cf[_0x1db4('0x61')]['change'](_0x5745b3=>{_0x1ac57c();const _0x3cf83e=_0x1db4('0x7e')===_0x3240e5[_0x1db4('0x3')],_0x59ce6d=_0x2597cd[_0x1db4('0x58')](_0x6087d),_0x1ddb94=_0x2597cd[_0x1db4('0x7f')](_0x59ce6d),_0xf3f461=_0x3cf83e?_0x1ddb94[_0x1db4('0x5d')]-0x1:_0x1ddb94[_0x1db4('0x45')]+0x1,_0x4262e7=_0x59ce6d[0x0][_0x1db4('0x5f')]('table'),_0x566389=_0x2597cd[_0x1db4('0xf')](_0x4262e7,{'startRow':0x0,'column':_0xf3f461,'includeAllSlots':!0x1}),_0xdd7534=Array[_0x1db4('0x4')](_0x566389)[_0x1db4('0x31')](_0x4eb692=>_0x5745b3[_0x1db4('0x0')](_0x4eb692['cell']));_0x177d22[_0x1db4('0x3d')](_0xdd7534,_0x1db4('0x2b'));});});}for(const _0x361475 of[_0x1db4('0x3c'),_0x1db4('0x6b')]){const _0x371303=_0x361475[_0x1db4('0x69')](0xb),_0x352fd6=_0x371303[_0x1db4('0x27')](),_0x1a0649=_0x352fd6[_0x1db4('0x69')](0x0,0x3)+'span',_0x4a0bc6=_0x1db4('0x78')+_0x371303,_0x203a08='min'+_0x371303,_0x3dee84='max'+_0x371303;_0x177d22['enableCommand'](_0x361475,()=>{_0x16e9cf[_0x1db4('0x61')][_0x1db4('0x57')](_0x1deec5=>{const _0x5d6610=_0x2597cd[_0x1db4('0x58')](_0x6087d),_0x541684=_0x5d6610[0x0]['findAncestor']('table');let _0x26ddc5;if(_0x1db4('0x3c')==_0x361475){const _0x3f734f=_0x2597cd[_0x1db4('0x3e')](_0x5d6610);_0x26ddc5={'startRow':_0x3f734f[_0x1db4('0x5d')],'endRow':_0x3f734f[_0x1db4('0x45')],'includeAllSlots':!0x0};}else{const _0x1a3a8c=_0x2597cd[_0x1db4('0x7f')](_0x5d6610);_0x26ddc5={'startColumn':_0x1a3a8c[_0x1db4('0x5d')],'endColumn':_0x1a3a8c[_0x1db4('0x45')],'includeAllSlots':!0x0};}const _0x667e73=_0x2597cd[_0x1db4('0xf')](_0x541684,_0x26ddc5),_0x25a6ad=Array[_0x1db4('0x4')](_0x667e73)[_0x1db4('0x31')](({cell:_0x566f63})=>_0x566f63),_0x307754=se(_0x25a6ad[_0x1db4('0x4f')](_0x2e52db=>_0x2e52db[_0x1db4('0x5e')](_0x1a0649))),_0x2e42b1=se(_0x25a6ad[_0x1db4('0x4f')](_0x1fe180=>!_0x1fe180[_0x1db4('0x5e')](_0x1a0649)))[_0x1db4('0x31')](_0x4b9cc6=>_0x1deec5[_0x1db4('0x0')](_0x4b9cc6)),_0x3197fb=_0x177d22[_0x1db4('0x53')](_0x2e42b1,_0x4a0bc6);if(_0x3197fb&&('tableRow'==_0x3197fb[_0x1db4('0xc')]||'tableColumn'==_0x3197fb['subType'])){const _0x3374da=this[_0x1db4('0x1b')](_0x3197fb);for(const _0x13d9c3 of _0x307754){const _0x475625=_0x1deec5[_0x1db4('0x0')](_0x13d9c3),_0x2070e2=_0x2597cd['getCellLocation'](_0x13d9c3),_0x340754=_0x13d9c3['getAttribute'](_0x1a0649)-0x1,_0x18ec8c=_0x3374da[_0x203a08],_0x5ac46d=_0x3374da[_0x3dee84];_0x18ec8c<=_0x2070e2[_0x352fd6]&&_0x2070e2[_0x352fd6]+_0x340754<=_0x5ac46d&&_0x3197fb[_0x1db4('0x1a')](_0x475625);}}});});}function _0x8e2711(_0x19f77d){const _0x4d0a1c=Array[_0x1db4('0x4')](_0x6087d[_0x1db4('0x1f')]())['map'](_0x5180d9=>_0x3f2bdc[_0x1db4('0x20')](_0x5180d9));_0x16e9cf[_0x1db4('0x61')][_0x1db4('0x57')](_0x3625fa=>{const _0x33a044=_0x3625fa['batch'];_0x19f77d=_0x19f77d[_0x1db4('0x4f')](_0x31bc38=>'$graveyard'!=_0x31bc38[_0x1db4('0x48')][_0x1db4('0x41')]),_0x3625fa[_0x1db4('0x21')](_0x19f77d),_0x16e9cf['commands'][_0x1db4('0x55')](_0x1db4('0x3c'))['refresh'](),_0x16e9cf[_0x1db4('0x38')](_0x1db4('0x3c'),{'forceDefaultExecution':!0x0}),_0x16e9cf['model'][_0x1db4('0x33')](()=>{_0x16e9cf[_0x1db4('0x61')]['enqueueChange'](_0x33a044,_0x1319bf=>{const _0xe04514=_0x4d0a1c[_0x1db4('0x4f')](_0x513dd9=>'$graveyard'!=_0x513dd9[_0x1db4('0x48')][_0x1db4('0x41')]);_0xe04514[_0x1db4('0x56')]>0x0&&_0x1319bf[_0x1db4('0x21')](_0xe04514);for(const _0x37ed42 of _0x4d0a1c)_0x37ed42['detach']();});});});}function _0x319a66(_0x336c66){_0x16e9cf['model'][_0x1db4('0x57')](_0x4543ea=>{const _0x5a48a7=Array[_0x1db4('0x4')](_0x6087d['getRanges']())[_0x1db4('0x31')](_0x5a0001=>_0x3f2bdc[_0x1db4('0x20')](_0x5a0001)),_0x38ad37=[];for(const _0xcc498f of _0x336c66)for(const _0x4dbfe6 of _0xcc498f[_0x1db4('0x64')]({'shallow':!0x0}))_0x38ad37[_0x1db4('0x1d')](_0x4dbfe6);for(const _0x388b59 of _0x38ad37)_0x1db4('0x40')!=_0x388b59[_0x1db4('0x48')][_0x1db4('0x41')]&&(_0x4543ea[_0x1db4('0x21')](_0x4543ea['createPositionAt'](_0x388b59,0x0)),_0x16e9cf[_0x1db4('0x2e')][_0x1db4('0x55')](_0x1db4('0x6b'))['refresh'](),_0x16e9cf[_0x1db4('0x38')](_0x1db4('0x6b'),{'forceDefaultExecution':!0x0}));const _0x554113=_0x5a48a7[_0x1db4('0x4f')](_0x6d6f80=>_0x1db4('0x40')!=_0x6d6f80[_0x1db4('0x48')]['rootName']);_0x554113[_0x1db4('0x56')]>0x0&&_0x4543ea[_0x1db4('0x21')](_0x554113);for(const _0x1b3e54 of _0x5a48a7)_0x1b3e54[_0x1db4('0x47')]();});}function _0x10952c(_0xd80cce,_0x215748){return _0x215748['every'](_0x18813b=>_0xd80cce[_0x1db4('0x39')](_0xbe09ac=>_0xbe09ac['end'][_0x1db4('0x4b')](_0x18813b[_0x1db4('0x66')])||_0x18813b[_0x1db4('0x11')][_0x1db4('0x4b')](_0xbe09ac[_0x1db4('0x66')])));}function _0x40a05d(_0x3cd393,_0x451f5d){return _0x3cd393[_0x1db4('0x39')](_0x35a382=>_0x451f5d[_0x1db4('0x39')](_0x556e06=>_0x35a382[_0x1db4('0x11')][_0x1db4('0x13')](_0x556e06['start'])));}_0x16e9cf[_0x1db4('0x1e')][_0x1db4('0x4a')]['on'](_0x1db4('0x32'),(_0x287ad8,_0x4b47c9,_0x5a1a68)=>{if(!_0x5a1a68[_0x1db4('0x14')][_0x1db4('0x7b')])return;const _0x1082f1=_0x4b47c9['item'];if(!_0x1082f1)return;const _0x3c4bb1=_0x5a1a68['mapper'][_0x1db4('0x51')](_0x1082f1);function _0x40760f(_0x35bd6f){return Array[_0x1db4('0xb')](_0x35bd6f)?_0x35bd6f:[_0x35bd6f];}_0x3c4bb1&&_0x1db4('0x36')===_0x1082f1['name']&&_0x280e00(_0x3c4bb1,_0x5a1a68['writer'],(_0x23a2f0,_0x38c472,_0x3826b6)=>_0x3826b6[_0x1db4('0x7c')](_0x40760f(_0x38c472[_0x1db4('0x52')]),_0x23a2f0),(_0x19e879,_0x389113,_0x430673)=>_0x430673[_0x1db4('0x7a')](_0x40760f(_0x389113[_0x1db4('0x52')]),_0x19e879));},{'priority':_0x1db4('0x6')}),_0x177d22[_0x1db4('0x77')][_0x1db4('0x63')](_0xc5b151=>{if(_0x1db4('0x62')!=_0xc5b151[_0x1db4('0x6f')]&&_0x1db4('0x73')!=_0xc5b151[_0x1db4('0x6f')])return;const _0x3dda01=_0xc5b151[_0x1db4('0x35')]();if(null!=_0x3dda01&&_0x3dda01['is'](_0x1db4('0x2'),_0x1db4('0x78'))){if(_0x1db4('0x62')==_0xc5b151['type']){const _0x1f16d8=_0xc5b151[_0x1db4('0x64')]()['filter'](_0x50e706=>_0x50e706['is']('$textProxy'))[_0x1db4('0x31')](_0x52ed66=>_0x52ed66[_0x1db4('0x1e')]);if(_0x1f16d8[_0x1db4('0x56')])return{'type':'insertion','content':_0x350cd1(_0x5efb3f,_0x1db4('0x81'),_0x350cd1(_0x5efb3f,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1f16d8['join']('\x20')+'\x22'))};}if(_0x1db4('0x73')==_0xc5b151[_0x1db4('0x6f')]){const _0x299c2a=_0xc5b151['getItems']()[_0x1db4('0x4f')](_0x1d01cb=>_0x1d01cb['is'](_0x1db4('0x23')))[_0x1db4('0x31')](_0x460856=>_0x460856['data']);if(_0x299c2a[_0x1db4('0x56')])return{'type':_0x1db4('0x73'),'content':_0x350cd1(_0x5efb3f,_0x1db4('0x6a'),_0x350cd1(_0x5efb3f,_0x1db4('0x3a'),'\x22'+_0x299c2a[_0x1db4('0x4e')]('\x20')+'\x22'))};}}}),_0x177d22[_0x1db4('0x77')][_0x1db4('0x63')](_0x285633=>{if(_0x1db4('0x72')==_0x285633[_0x1db4('0xc')]){const _0x24e385=_0x285633[_0x1db4('0x64')]()['filter'](_0x426f9c=>_0x426f9c['is'](_0x1db4('0x23')))[_0x1db4('0x31')](_0x15c173=>_0x15c173['data']),_0x3cdfbb=this[_0x1db4('0x1b')](_0x285633),_0x205fc0=_0x3cdfbb[_0x1db4('0x42')]-_0x3cdfbb[_0x1db4('0xe')]+0x1;if(_0x1db4('0x62')==_0x285633[_0x1db4('0x6f')])return _0x24e385[_0x1db4('0x56')]?{'type':_0x1db4('0x62'),'content':_0x350cd1(_0x5efb3f,_0x1db4('0x81'),_0x350cd1(_0x5efb3f,_0x1db4('0x28'),[_0x205fc0,'\x22'+_0x24e385[_0x1db4('0x4e')]('\x20')+'\x22']))}:{'type':_0x1db4('0x62'),'content':_0x350cd1(_0x5efb3f,_0x1db4('0x81'),_0x350cd1(_0x5efb3f,_0x1db4('0x4d'),_0x205fc0))};if(_0x1db4('0x73')==_0x285633[_0x1db4('0x6f')])return _0x24e385[_0x1db4('0x56')]?{'type':'deletion','content':_0x350cd1(_0x5efb3f,_0x1db4('0x6a'),_0x350cd1(_0x5efb3f,_0x1db4('0x28'),[_0x205fc0,'\x22'+_0x24e385[_0x1db4('0x4e')]('\x20')+'\x22']))}:{'type':_0x1db4('0x73'),'content':_0x350cd1(_0x5efb3f,_0x1db4('0x6a'),_0x350cd1(_0x5efb3f,'ELEMENT_TABLE_ROW',_0x205fc0))};}if('tableColumn'==_0x285633[_0x1db4('0xc')]){const _0x4b063a=_0x285633[_0x1db4('0x64')]()[_0x1db4('0x4f')](_0x34f2f5=>_0x34f2f5['is']('$textProxy'))[_0x1db4('0x31')](_0x3df201=>_0x3df201[_0x1db4('0x1e')]),_0x4c743=this[_0x1db4('0x1b')](_0x285633),_0x1a4ead=_0x4c743['maxColumn']-_0x4c743['minColumn']+0x1;if(_0x1db4('0x62')==_0x285633[_0x1db4('0x6f')])return _0x4b063a['length']?{'type':_0x1db4('0x62'),'content':_0x350cd1(_0x5efb3f,_0x1db4('0x81'),_0x350cd1(_0x5efb3f,_0x1db4('0x49'),[_0x1a4ead,'\x22'+_0x4b063a[_0x1db4('0x4e')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x350cd1(_0x5efb3f,_0x1db4('0x81'),_0x350cd1(_0x5efb3f,_0x1db4('0x3f'),_0x1a4ead))};if('deletion'==_0x285633[_0x1db4('0x6f')])return _0x4b063a['length']?{'type':_0x1db4('0x73'),'content':_0x350cd1(_0x5efb3f,'*Remove:*\x20%0',_0x350cd1(_0x5efb3f,_0x1db4('0x49'),[_0x1a4ead,'\x22'+_0x4b063a['join']('\x20')+'\x22']))}:{'type':_0x1db4('0x73'),'content':_0x350cd1(_0x5efb3f,'*Remove:*\x20%0',_0x350cd1(_0x5efb3f,_0x1db4('0x3f'),_0x1a4ead))};}}),_0x177d22[_0x1db4('0x6c')][_0x1db4('0x37')](_0x1db4('0x62'),_0x1db4('0x72'),_0x1db4('0x44'),_0x8e2711),_0x177d22[_0x1db4('0x6c')][_0x1db4('0x37')](_0x1db4('0x73'),_0x1db4('0x72'),'accept',_0x8e2711),_0x177d22['_suggestionFactory']['registerCustomCallback'](_0x1db4('0x62'),'tableColumn','discard',_0x319a66),_0x177d22[_0x1db4('0x6c')][_0x1db4('0x37')](_0x1db4('0x73'),_0x1db4('0x2b'),'accept',_0x319a66),_0x177d22['_suggestionFactory'][_0x1db4('0x37')](_0x1db4('0x62'),_0x1db4('0x2b'),_0x1db4('0x4e'),_0x10952c),_0x177d22[_0x1db4('0x6c')][_0x1db4('0x37')](_0x1db4('0x73'),_0x1db4('0x2b'),_0x1db4('0x4e'),_0x10952c),_0x177d22[_0x1db4('0x6c')][_0x1db4('0x37')](_0x1db4('0x62'),_0x1db4('0x72'),_0x1db4('0x4e'),_0x40a05d),_0x177d22[_0x1db4('0x6c')]['registerCustomCallback'](_0x1db4('0x73'),_0x1db4('0x72'),'join',_0x40a05d);}[_0x1db4('0x1c')](){const _0x352f40=this[_0x1db4('0x76')],_0x4384c7=_0x352f40[_0x1db4('0x61')][_0x1db4('0x5b')][_0x1db4('0x12')];return(_0x10b35e,_0x85c2af)=>{_0x352f40['model'][_0x1db4('0x57')](_0x43c12d=>{const {commandName:_0xbadf0c,commandParams:_0x1c7d25}=_0x85c2af;let _0x4ca913=_0x10b35e[0x0][_0x1db4('0x11')][_0x1db4('0x8')];_0x1c7d25&&_0x1c7d25[0x0]&&!0x1===_0x1c7d25[0x0]['forceValue']&&(_0x4ca913=_0x10b35e[0x0]['start'][_0x1db4('0x18')]);const _0x89a85f=_0x43c12d[_0x1db4('0x10')](_0x4ca913);if(_0x1db4('0x40')==_0x89a85f['root'][_0x1db4('0x41')])return;const _0x390980=Array[_0x1db4('0x4')](_0x4384c7['getRanges']())[_0x1db4('0x31')](_0x17ca51=>_0x3f2bdc['fromRange'](_0x17ca51));_0x43c12d[_0x1db4('0x21')](_0x89a85f),_0x352f40[_0x1db4('0x2e')]['get'](_0xbadf0c)['refresh'](),_0x1c7d25[_0x1db4('0x1d')]({'forceDefaultExecution':!0x0}),_0x352f40[_0x1db4('0x38')](_0xbadf0c,..._0x1c7d25);const _0x8098dd=_0x390980[_0x1db4('0x4f')](_0x15609e=>_0x1db4('0x40')!=_0x15609e['root']['rootName']);_0x8098dd[_0x1db4('0x56')]>0x0&&_0x43c12d['setSelection'](_0x8098dd);for(const _0x15c4b5 of _0x390980)_0x15c4b5[_0x1db4('0x47')]();});};}['_getCoordsForCells'](_0x494c45){const _0x403359=this[_0x1db4('0x76')][_0x1db4('0x5')][_0x1db4('0x55')]('TableUtils');let _0x3a1ca3=Number['MAX_SAFE_INTEGER'],_0x4f2d95=Number[_0x1db4('0x60')],_0x38c699=Number[_0x1db4('0x22')],_0x3b90f7=Number['MIN_SAFE_INTEGER'];for(const _0x3fb011 of _0x494c45){if(_0x1db4('0x40')==_0x3fb011[_0x1db4('0x48')][_0x1db4('0x41')])continue;const {row:_0x5b4d80,column:_0x503f14}=_0x403359[_0x1db4('0x26')](_0x3fb011),_0x1bd08a=_0x3fb011['hasAttribute'](_0x1db4('0x75'))?_0x3fb011[_0x1db4('0x15')](_0x1db4('0x75'))-0x1:0x0,_0x122100=_0x3fb011[_0x1db4('0x5e')]('colspan')?_0x3fb011[_0x1db4('0x15')](_0x1db4('0x1'))-0x1:0x0;_0x3a1ca3=_0x5b4d80<_0x3a1ca3?_0x5b4d80:_0x3a1ca3,_0x4f2d95=_0x5b4d80+_0x1bd08a>_0x4f2d95?_0x5b4d80+_0x1bd08a:_0x4f2d95,_0x38c699=_0x503f14<_0x38c699?_0x503f14:_0x38c699,_0x3b90f7=_0x503f14+_0x122100>_0x3b90f7?_0x503f14+_0x122100:_0x3b90f7;}return{'minRow':_0x3a1ca3,'maxRow':_0x4f2d95,'minColumn':_0x38c699,'maxColumn':_0x3b90f7};}[_0x1db4('0x59')](){const _0x170ff5=this['editor'],_0x311af2=_0x170ff5[_0x1db4('0x5')][_0x1db4('0x55')]('TrackChangesEditing'),_0x233b7c=_0x170ff5['plugins'][_0x1db4('0x55')]('TableUtils');_0x170ff5[_0x1db4('0x61')][_0x1db4('0x5b')]['on'](_0x1db4('0x65'),()=>{const _0x418ce1=Array[_0x1db4('0x4')](_0x170ff5[_0x1db4('0x61')]['document'][_0x1db4('0x4c')][_0x1db4('0x34')]());for(const {name:_0x1faa22,data:_0x47b16a}of _0x418ce1){const {group:_0x2205e4,id:_0x1b20a4,subType:_0x22dce8}=_0x311af2['_splitMarkerName'](_0x1faa22);if('suggestion'!=_0x2205e4)continue;if(null!=_0x47b16a[_0x1db4('0x7d')])continue;const _0x483d32=_0x311af2['getSuggestion'](_0x1b20a4);this[_0x1db4('0x2a')][_0x1db4('0x16')](_0x22dce8)&&this[_0x1db4('0x80')]['add'](_0x483d32);}},{'priority':_0x1db4('0x2f')});const _0xb063c2=(_0x1f8d89,_0x4ae398)=>{let _0x25db1d=!0x1;const _0x40a927=_0x4ae398[_0x1db4('0x0')](_0x1f8d89),_0x2d6ae3=_0x1f8d89[_0x1db4('0x5f')]('table'),_0x36dcd5=_0x233b7c[_0x1db4('0x26')](_0x1f8d89);for(const _0xa58afb of this[_0x1db4('0x80')]){const _0x5e6af4=_0xa58afb[_0x1db4('0xc')],_0x5f65a=_0x5e6af4[_0x1db4('0x25')](_0x1db4('0x71')),_0x4a2fe4=_0x5e6af4[_0x1db4('0x69')](_0x5f65a?0xa:0x5),_0x1147b6=_0x4a2fe4[_0x1db4('0x27')](),_0x250ca8=_0x1147b6[_0x1db4('0x69')](0x0,0x3)+_0x1db4('0x9'),_0x18155c=_0x1db4('0x3b')+_0x4a2fe4,_0x29477b='max'+_0x4a2fe4;if(!_0xa58afb[_0x1db4('0x24')])continue;if(_0x2d6ae3!=_0xa58afb[_0x1db4('0xa')]()[_0x1db4('0x66')][_0x1db4('0x5f')](_0x1db4('0x78')))continue;if(_0xa58afb[_0x1db4('0x79')](_0x40a927))continue;const _0x55dbca=_0x1f8d89[_0x1db4('0x5e')](_0x250ca8)?_0x1f8d89[_0x1db4('0x15')](_0x250ca8)-0x1:0x0,_0x1a6ba6=this[_0x1db4('0x1b')](_0xa58afb),_0x2736fe=_0x1a6ba6[_0x18155c],_0xd7b842=_0x1a6ba6[_0x29477b];_0x2736fe<=_0x36dcd5[_0x1147b6]&&_0x36dcd5[_0x1147b6]+_0x55dbca<=_0xd7b842&&(_0xa58afb[_0x1db4('0x1a')](_0x40a927),_0x25db1d=!0x0);}return _0x25db1d;};_0x170ff5[_0x1db4('0x61')][_0x1db4('0x5b')]['registerPostFixer'](_0x544f79=>{let _0xf06c67=!0x1;for(const _0x54e5df of _0x170ff5[_0x1db4('0x61')][_0x1db4('0x5b')][_0x1db4('0x4c')][_0x1db4('0x46')]())if('insert'==_0x54e5df['type']){if('tableRow'==_0x54e5df[_0x1db4('0x17')])for(const _0x283a83 of _0x54e5df['position'][_0x1db4('0x18')][_0x1db4('0x70')]())_0xf06c67=_0xf06c67||_0xb063c2(_0x283a83,_0x544f79);else _0x1db4('0x36')==_0x54e5df['name']&&(_0xf06c67=_0xf06c67||_0xb063c2(_0x54e5df[_0x1db4('0xd')][_0x1db4('0x18')],_0x544f79));}return _0xf06c67;});}[_0x1db4('0x1b')](_0x6e8de3){return this[_0x1db4('0x19')](_0x6e8de3[_0x1db4('0x1f')]()['map'](_0x2ca35b=>_0x2ca35b[_0x1db4('0x66')][_0x1db4('0x18')]));}}function se(_0x101b7c){return Array[_0x1db4('0x4')](new Set(_0x101b7c)[_0x1db4('0x43')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b60=['TrackChangesEditing','TableCaptionEditing','get','toggleTableCaption','plugins','has','afterInit'];(function(_0x2f688a,_0x5b6052){const _0x415a46=function(_0x20459a){while(--_0x20459a){_0x2f688a['push'](_0x2f688a['shift']());}};_0x415a46(++_0x5b6052);}(_0x5b60,0x12b));const _0x415a=function(_0x2f688a,_0x5b6052){_0x2f688a=_0x2f688a-0x0;let _0x415a46=_0x5b60[_0x2f688a];return _0x415a46;};import{Plugin as _0x2729d0}from'ckeditor5/src/core';import _0x3d16a0 from'./table';export default class At extends _0x2729d0{static get['requires'](){return[_0x3d16a0];}[_0x415a('0x1')](){const _0x5562ea=this['editor'];if(!_0x5562ea[_0x415a('0x6')][_0x415a('0x0')](_0x415a('0x3')))return;_0x5562ea[_0x415a('0x6')][_0x415a('0x4')](_0x415a('0x2'))['enableCommand'](_0x415a('0x5'));}}
|