@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230801.0 → 0.0.0-nightly-20230803.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/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 _0x5e59=['listReversed','unshift','afterInit','replace','plugins','ELEMENT_','ListUtils','has','getSelectedBlocks','getLastPosition','enableCommand','getSiblingNodes','startIndex','selection','list.properties','before','get','forward','_descriptionFactory','flat','listStart','TrackChangesEditing','_getTranslationKeyForListStyle','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','listType','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','editor','type','change','getFirstPosition','registerDescriptionCallback','map','createRange','styles','length','toUpperCase','commandParams','push','listItem','getListTypeFromListStyleType','handleDescriptions','format','reversed','ListPropertiesEditing','backward','config','createPositionAt','from','markMultiRangeBlockFormat','_LIST_','element','model','handleListStyleCommand','filter','commandName','handleListStartCommand','parent','bind','document','_getSuggestionBlocks'];(function(_0x3d45b4,_0x5e5929){const _0x40a4d0=function(_0x4dd2e7){while(--_0x4dd2e7){_0x3d45b4['push'](_0x3d45b4['shift']());}};_0x40a4d0(++_0x5e5929);}(_0x5e59,0x74));const _0x40a4=function(_0x3d45b4,_0x5e5929){_0x3d45b4=_0x3d45b4-0x0;let _0x40a4d0=_0x5e59[_0x3d45b4];return _0x40a4d0;};import{Plugin as _0x54d0e0}from'ckeditor5/src/core';import{getTranslation as _0x51fbae}from'../utils/common-translations';export default class nt extends _0x54d0e0{[_0x40a4('0xa')](){if(!this[_0x40a4('0x24')][_0x40a4('0xc')][_0x40a4('0xf')](_0x40a4('0x35')))return;const _0x42ffd8=this['editor'][_0x40a4('0x37')][_0x40a4('0x18')](_0x40a4('0x16')),_0x3690d5=this[_0x40a4('0x24')]['plugins'][_0x40a4('0x18')]('TrackChangesEditing');_0x42ffd8[_0x40a4('0x2b')]&&_0x3690d5[_0x40a4('0x12')](_0x40a4('0x22'),this[_0x40a4('0x0')]['bind'](this)),_0x42ffd8[_0x40a4('0x34')]&&_0x3690d5[_0x40a4('0x12')]('listReversed',this['handleListReversedCommand'][_0x40a4('0x5')](this)),_0x42ffd8['startIndex']&&_0x3690d5[_0x40a4('0x12')](_0x40a4('0x1c'),this[_0x40a4('0x3')][_0x40a4('0x5')](this)),_0x3690d5[_0x40a4('0x1a')][_0x40a4('0x28')](this[_0x40a4('0x32')][_0x40a4('0x5')](this));}[_0x40a4('0x0')](_0x5708b4,_0x2f85ec={}){const _0x41e830=this[_0x40a4('0x24')]['plugins'][_0x40a4('0x18')](_0x40a4('0x1d')),_0x16e408=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x40a4('0x3d')][_0x40a4('0x26')](()=>{_0x41e830[_0x40a4('0x3a')](_0x16e408,{'commandName':_0x40a4('0x22'),'commandParams':[{'type':_0x2f85ec[_0x40a4('0x25')]}],'formatGroupId':_0x40a4('0x22')});});}['handleListReversedCommand'](_0xbe0741,_0x439347={}){const _0x21209f=this['editor'][_0x40a4('0xc')][_0x40a4('0x18')](_0x40a4('0x1d')),_0x1e1b86=this[_0x40a4('0x7')](_0x6b9d13=>_0x6b9d13['is'](_0x40a4('0x3c'),_0x40a4('0x30'))&&'numbered'===_0x6b9d13['getAttribute'](_0x40a4('0x21')));if(_0x1e1b86[_0x40a4('0x2c')]<0x1)return;const _0x5e1a4f=_0x1e1b86[_0x40a4('0x29')](_0x35df49=>this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x2a')](this['editor'][_0x40a4('0x3d')]['createPositionAt'](_0x35df49,_0x40a4('0x17')),this['editor'][_0x40a4('0x3d')][_0x40a4('0x38')](_0x35df49,0x0)));this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x26')](()=>{_0x21209f['markMultiRangeBlockFormat'](_0x5e1a4f,{'commandName':_0x40a4('0x8'),'commandParams':[{'reversed':_0x439347[_0x40a4('0x34')]}],'formatGroupId':_0x40a4('0x8')});});}['handleListStartCommand'](_0x3ee6fd,_0x2ee37d={}){const _0x3b41d8=this[_0x40a4('0x24')][_0x40a4('0xc')][_0x40a4('0x18')]('TrackChangesEditing'),_0x5b063d=this[_0x40a4('0x7')](_0x2a87dd=>_0x2a87dd['is'](_0x40a4('0x3c'),_0x40a4('0x30'))&&_0x40a4('0x1f')===_0x2a87dd['getAttribute'](_0x40a4('0x21')));if(_0x5b063d[_0x40a4('0x2c')]<0x1)return;const _0x478f66=_0x5b063d[_0x40a4('0x29')](_0x4600d2=>this[_0x40a4('0x24')]['model'][_0x40a4('0x2a')](this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x38')](_0x4600d2,_0x40a4('0x17')),this[_0x40a4('0x24')]['model'][_0x40a4('0x38')](_0x4600d2,0x0)));this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x26')](()=>{_0x3b41d8[_0x40a4('0x3a')](_0x478f66,{'commandName':_0x40a4('0x1c'),'commandParams':[{'startIndex':_0x2ee37d[_0x40a4('0x14')]}],'formatGroupId':'listStart'});});}[_0x40a4('0x32')](_0x2ee4f0){const _0x3a7e8e=this[_0x40a4('0x24')]['locale'],{data:_0x2e323b}=_0x2ee4f0;if(!_0x2e323b)return;let _0x4d6b6f,_0x39df8b;switch(_0x2e323b[_0x40a4('0x2')]){case _0x40a4('0x22'):_0x4d6b6f='*Change\x20to:*\x20%0',_0x39df8b={'type':_0x40a4('0x33'),'content':_0x51fbae(_0x3a7e8e,_0x4d6b6f,_0x51fbae(_0x3a7e8e,this[_0x40a4('0x1e')](_0x2e323b['commandParams'][0x0][_0x40a4('0x25')])))};break;case'listReversed':_0x4d6b6f=_0x2e323b[_0x40a4('0x2e')][0x0]['reversed']?_0x40a4('0x23'):'*Format:*\x20set\x20order\x20to\x20regular',_0x39df8b={'type':_0x40a4('0x33'),'content':_0x51fbae(_0x3a7e8e,_0x4d6b6f)};break;case _0x40a4('0x1c'):_0x4d6b6f=_0x40a4('0x20'),_0x39df8b={'type':_0x40a4('0x33'),'content':_0x51fbae(_0x3a7e8e,_0x4d6b6f,_0x2e323b[_0x40a4('0x2e')][0x0][_0x40a4('0x14')])};}return _0x39df8b;}['_getSuggestionBlocksForListStyle'](){var _0x524b86,_0x4a7006,_0x5714e9,_0x4d14e1;const _0x47a4a6=this[_0x40a4('0x24')][_0x40a4('0xc')][_0x40a4('0x18')](_0x40a4('0xe'));let _0x2dcd29=Array['from'](this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x6')]['selection'][_0x40a4('0x10')]());return(null===(_0x524b86=_0x2dcd29[0x0])||void 0x0===_0x524b86?void 0x0:_0x524b86['is'](_0x40a4('0x3c'),_0x40a4('0x30')))&&_0x2dcd29[_0x40a4('0x9')](..._0x47a4a6[_0x40a4('0x13')](this[_0x40a4('0x24')][_0x40a4('0x3d')][_0x40a4('0x6')][_0x40a4('0x15')][_0x40a4('0x27')](),_0x40a4('0x36'))),(null===(_0x4a7006=_0x2dcd29[_0x2dcd29[_0x40a4('0x2c')]-0x1])||void 0x0===_0x4a7006?void 0x0:_0x4a7006['is'](_0x40a4('0x3c'),_0x40a4('0x30')))&&_0x2dcd29[_0x40a4('0x2f')](..._0x47a4a6[_0x40a4('0x13')](this['editor'][_0x40a4('0x3d')][_0x40a4('0x6')][_0x40a4('0x15')][_0x40a4('0x11')](),'forward')),_0x2dcd29=[...new Set(_0x2dcd29)],(null===(_0x4d14e1=null===(_0x5714e9=this['editor'][_0x40a4('0x3d')][_0x40a4('0x6')][_0x40a4('0x15')][_0x40a4('0x27')]())||void 0x0===_0x5714e9?void 0x0:_0x5714e9[_0x40a4('0x4')])||void 0x0===_0x4d14e1?void 0x0:_0x4d14e1['is'](_0x40a4('0x3c'),'listItem'))&&(_0x2dcd29=_0x2dcd29['filter'](_0x233b80=>_0x233b80['is'](_0x40a4('0x3c'),_0x40a4('0x30')))),_0x2dcd29;}[_0x40a4('0x7')](_0x2fe731){const _0x5b9d5b=this[_0x40a4('0x24')][_0x40a4('0xc')][_0x40a4('0x18')](_0x40a4('0xe'));let _0x1f9b6a=Array[_0x40a4('0x39')](this[_0x40a4('0x24')]['model'][_0x40a4('0x6')][_0x40a4('0x15')][_0x40a4('0x10')]())[_0x40a4('0x1')](_0x2fe731)['map'](_0x2b84ba=>{const _0x5da5e7=this[_0x40a4('0x24')][_0x40a4('0x3d')]['createPositionAt'](_0x2b84ba,0x0);return[..._0x5b9d5b[_0x40a4('0x13')](_0x5da5e7,'backward'),..._0x5b9d5b['getSiblingNodes'](_0x5da5e7,_0x40a4('0x19'))];})[_0x40a4('0x1b')]();return _0x1f9b6a=[...new Set(_0x1f9b6a)],_0x1f9b6a;}[_0x40a4('0x1e')](_0x4d454d){return _0x40a4('0xd')+this[_0x40a4('0x24')][_0x40a4('0xc')]['get']('ListUtils')[_0x40a4('0x31')](_0x4d454d)[_0x40a4('0x2d')]()+_0x40a4('0x3b')+_0x4d454d['toUpperCase']()[_0x40a4('0xb')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c69=['registerElementLabel','elementToElement','plugins','attribute:url:media','data','downcastDispatcher','afterInit','showSuggestionHighlights','locale','media','editor','ELEMENT_MEDIA','for','_descriptionFactory','high','stop','mediaEmbed','createEmptyElement','conversion','TrackChangesEditing'];(function(_0x5ef0f1,_0x2c6930){const _0x522a4c=function(_0x89ce8c){while(--_0x89ce8c){_0x5ef0f1['push'](_0x5ef0f1['shift']());}};_0x522a4c(++_0x2c6930);}(_0x2c69,0x1f3));const _0x522a=function(_0x5ef0f1,_0x2c6930){_0x5ef0f1=_0x5ef0f1-0x0;let _0x522a4c=_0x2c69[_0x5ef0f1];return _0x522a4c;};import{Plugin as _0x55309a}from'ckeditor5/src/core';import{getTranslation as _0xac0f26}from'../utils/common-translations';export default class ot extends _0x55309a{[_0x522a('0x7')](){const _0x234394=this[_0x522a('0xb')];if(!_0x234394[_0x522a('0x3')]['has']('MediaEmbedEditing'))return;const _0x3a1f5e=_0x234394['plugins']['get'](_0x522a('0x0')),_0x3cecc3=_0x234394[_0x522a('0x9')];_0x3a1f5e['enableCommand'](_0x522a('0x11')),_0x3a1f5e[_0x522a('0xe')][_0x522a('0x1')](_0x522a('0xa'),_0xeb4f7f=>_0xac0f26(_0x3cecc3,_0x522a('0xc'),_0xeb4f7f)),_0x234394[_0x522a('0x13')][_0x522a('0xd')]('dataDowncast')[_0x522a('0x2')]({'model':_0x522a('0xa'),'view':(_0x23d1e7,{writer:_0x3c2775,options:_0x731922})=>{if(_0x731922['showSuggestionHighlights'])return _0x3c2775[_0x522a('0x12')]('div');},'converterPriority':'high'}),_0x234394[_0x522a('0x5')][_0x522a('0x6')]['on'](_0x522a('0x4'),(_0x4cfc65,_0x4a02e8,_0x30c649)=>{_0x30c649['options'][_0x522a('0x8')]&&_0x4cfc65[_0x522a('0x10')]();},{'priority':_0x522a('0xf')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7e48=['mention','plugins','has','get','editor','MentionEditing','enableCommand','TrackChangesEditing'];(function(_0x9c6397,_0x7e481c){const _0x50266b=function(_0x1521fd){while(--_0x1521fd){_0x9c6397['push'](_0x9c6397['shift']());}};_0x50266b(++_0x7e481c);}(_0x7e48,0x8d));const _0x5026=function(_0x9c6397,_0x7e481c){_0x9c6397=_0x9c6397-0x0;let _0x50266b=_0x7e48[_0x9c6397];return _0x50266b;};import{Plugin as _0x573cab}from'ckeditor5/src/core';export default class rt extends _0x573cab{['afterInit'](){const _0xe82bb6=this[_0x5026('0x7')];_0xe82bb6[_0x5026('0x4')][_0x5026('0x5')](_0x5026('0x0'))&&_0xe82bb6[_0x5026('0x4')][_0x5026('0x6')](_0x5026('0x2'))[_0x5026('0x1')](_0x5026('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c1d=['has','locale','ELEMENT_PAGE_BREAK','pageBreak','editor','plugins','registerElementLabel','get','afterInit','TrackChangesEditing','enableCommand','_descriptionFactory'];(function(_0x3b884c,_0x1c1d71){const _0x445d7d=function(_0x422914){while(--_0x422914){_0x3b884c['push'](_0x3b884c['shift']());}};_0x445d7d(++_0x1c1d71);}(_0x1c1d,0x15e));const _0x445d=function(_0x3b884c,_0x1c1d71){_0x3b884c=_0x3b884c-0x0;let _0x445d7d=_0x1c1d[_0x3b884c];return _0x445d7d;};import{Plugin as _0xcf8b90}from'ckeditor5/src/core';import{getTranslation as _0x295c90}from'../utils/common-translations';export default class at extends _0xcf8b90{[_0x445d('0x6')](){const _0x47deb8=this[_0x445d('0x2')];if(!_0x47deb8[_0x445d('0x3')][_0x445d('0xa')]('PageBreakEditing'))return;_0x47deb8[_0x445d('0x3')][_0x445d('0x5')](_0x445d('0x7'))[_0x445d('0x8')](_0x445d('0x1'));const _0x38d35=_0x47deb8['plugins'][_0x445d('0x5')]('TrackChangesEditing'),_0x2376a8=_0x47deb8[_0x445d('0xb')];_0x38d35[_0x445d('0x9')][_0x445d('0x4')](_0x445d('0x1'),_0x26f6b3=>_0x295c90(_0x2376a8,_0x445d('0x0'),_0x26f6b3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x285f=['start','insertion','model','format','insert','markerName','createUIElement','enableCommand','paragraph','commandName','locale','*Change\x20to:*\x20%0','parent','markerRange','markBlockFormat','document','Paragraph','*Insert:*\x20%0','registerDescriptionCallback','get','checkChild','consume','isLimit','plugins','afterInit','isTouching','change','highest','nodeAfter','addClass','isBlock','blockName','ck-suggestion-marker--active','ELEMENT_PARAGRAPH','filter','_descriptionFactory','$text','from','getItemLabel','downcastDispatcher','activeMarkers','addMarker:suggestion:insertion','selection','editing','getFirstRange','consumable','mapper','ck-suggestion-marker-split','showSuggestionHighlights','options','schema','name','bindElementToMarker','registerElementLabel','type','writer','TrackChangesEditing'];(function(_0x4c375f,_0x285f36){const _0x1ae66e=function(_0x5161c7){while(--_0x5161c7){_0x4c375f['push'](_0x4c375f['shift']());}};_0x1ae66e(++_0x285f36);}(_0x285f,0x1a4));const _0x1ae6=function(_0x4c375f,_0x285f36){_0x4c375f=_0x4c375f-0x0;let _0x1ae66e=_0x285f[_0x4c375f];return _0x1ae66e;};import{Plugin as _0x3a7302}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x11057b}from'./utils';import{getTranslation as _0x3fb9f6}from'../utils/common-translations';export default class ct extends _0x3a7302{[_0x1ae6('0x3')](){const _0x46d4d1=this['editor'];if(!_0x46d4d1[_0x1ae6('0x2')]['has'](_0x1ae6('0x34')))return;const _0x300cf9=_0x46d4d1[_0x1ae6('0x2e')],_0x1bd801=_0x46d4d1[_0x1ae6('0x2')][_0x1ae6('0x37')](_0x1ae6('0x23'));_0x1bd801[_0x1ae6('0xe')][_0x1ae6('0x20')](_0x1ae6('0x2c'),_0x5c11a1=>_0x3fb9f6(_0x300cf9,'ELEMENT_PARAGRAPH',_0x5c11a1)),_0x1bd801[_0x1ae6('0x2b')](_0x1ae6('0x2c'),(_0x17e430,_0x4176f5={})=>{const _0x49e876=_0x46d4d1[_0x1ae6('0x26')][_0x1ae6('0x33')],_0x567948=_0x4176f5[_0x1ae6('0x15')]||_0x49e876[_0x1ae6('0x15')],_0x445aa6=Array[_0x1ae6('0x10')](_0x567948['getSelectedBlocks']())[_0x1ae6('0xd')](_0x3f036c=>function(_0x5b3c16,_0x15219e){return _0x15219e[_0x1ae6('0x38')](_0x5b3c16[_0x1ae6('0x30')],_0x1ae6('0x2c'))&&!_0x15219e['isObject'](_0x5b3c16)&&'paragraph'!=_0x5b3c16[_0x1ae6('0x1e')];}(_0x3f036c,this['editor'][_0x1ae6('0x26')][_0x1ae6('0x1d')]));_0x46d4d1[_0x1ae6('0x26')][_0x1ae6('0x5')](()=>{for(const _0x16cb95 of _0x445aa6)_0x1bd801[_0x1ae6('0x32')](_0x16cb95,{'commandName':_0x1ae6('0x2c'),'commandParams':[],'formatGroupId':_0x1ae6('0xa')},_0x11057b(_0x16cb95));});}),_0x1bd801[_0x1ae6('0xe')][_0x1ae6('0x36')](_0x2cbc4f=>{const {data:_0x5aebf1}=_0x2cbc4f;if(_0x5aebf1&&'paragraph'==_0x5aebf1[_0x1ae6('0x2d')])return{'type':_0x1ae6('0x27'),'content':_0x3fb9f6(_0x300cf9,_0x1ae6('0x2f'),_0x3fb9f6(_0x300cf9,_0x1ae6('0xc')))};}),_0x1bd801[_0x1ae6('0x2b')]('insertParagraph'),_0x46d4d1[_0x1ae6('0x16')][_0x1ae6('0x12')]['on'](_0x1ae6('0x14'),ar(_0x46d4d1),{'priority':_0x1ae6('0x6')}),_0x46d4d1['data'][_0x1ae6('0x12')]['on'](_0x1ae6('0x14'),(_0x191f14,_0x4eb96f,_0x280fe7)=>{_0x280fe7[_0x1ae6('0x1c')][_0x1ae6('0x1b')]&&ar(_0x46d4d1,{'showActiveMarker':!0x1})(_0x191f14,_0x4eb96f,_0x280fe7);},{'priority':_0x1ae6('0x6')});const _0x4a67a5=_0x1bd801['_descriptionFactory'];_0x4a67a5[_0x1ae6('0x36')](_0xc3b8da=>{if('insertion'!==_0xc3b8da[_0x1ae6('0x21')])return;const {start:_0x3fd496,end:_0x285de6}=_0xc3b8da[_0x1ae6('0x17')]();if(!_0x3fd496['isTouching'](_0x285de6)||!_0x3fd496[_0x1ae6('0x7')])return;const _0x43701e=_0x46d4d1[_0x1ae6('0x26')][_0x1ae6('0x1d')],_0x5d0984=_0x3fd496[_0x1ae6('0x7')];return _0x43701e[_0x1ae6('0x9')](_0x5d0984)&&!_0x43701e[_0x1ae6('0x1')](_0x5d0984)&&_0x43701e[_0x1ae6('0x38')](_0x5d0984,_0x1ae6('0xf'))?{'type':_0x1ae6('0x25'),'content':_0x3fb9f6(_0x300cf9,_0x1ae6('0x35'),_0x4a67a5[_0x1ae6('0x11')](_0x5d0984,0x1))}:void 0x0;});}}function ar(_0x1043a9,{showActiveMarker:_0x4aad9a=!0x0}={}){return(_0x5f1480,_0x413d24,_0x551388)=>{const _0x361ad5=_0x1043a9['plugins'][_0x1ae6('0x37')](_0x1ae6('0x23')),_0x4f1e43=_0x413d24['markerRange'][_0x1ae6('0x24')],_0x47fdbc=_0x413d24[_0x1ae6('0x31')]['end'],_0x377be3=_0x1043a9[_0x1ae6('0x26')][_0x1ae6('0x1d')];if(!_0x4f1e43[_0x1ae6('0x4')](_0x47fdbc)||!_0x4f1e43[_0x1ae6('0x7')])return;const _0x8e027e=_0x4f1e43[_0x1ae6('0x7')];if(_0x377be3[_0x1ae6('0x9')](_0x8e027e)&&!_0x377be3[_0x1ae6('0x1')](_0x8e027e)&&_0x377be3[_0x1ae6('0x38')](_0x8e027e,'$text')){if(!_0x551388[_0x1ae6('0x18')][_0x1ae6('0x0')](_0x413d24['markerRange'],_0x5f1480[_0x1ae6('0x1e')]))return;const _0x3c2df7=_0x551388['writer'][_0x1ae6('0x2a')]('span',{'class':_0x1ae6('0x1a')}),_0x493bb=_0x551388[_0x1ae6('0x19')]['toViewPosition'](_0x47fdbc);_0x4aad9a&&_0x361ad5[_0x1ae6('0x13')]['includes'](_0x413d24['markerName'])&&_0x551388[_0x1ae6('0x22')][_0x1ae6('0x8')](_0x1ae6('0xb'),_0x3c2df7),_0x551388[_0x1ae6('0x22')][_0x1ae6('0x28')](_0x493bb,_0x3c2df7),_0x551388[_0x1ae6('0x19')][_0x1ae6('0x1f')](_0x3c2df7,_0x413d24[_0x1ae6('0x29')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c79=['get','document','afterInit','isFormatting','registerDescriptionCallback','getAttributeProperties','createRangeOn','isCollapsed','locale','removeFormat','plugins','has','from','getRanges','schema','*Remove\x20all\x20formatting*','getAttributes','commandName','selection','format','RemoveFormatEditing','TrackChangesEditing','model','enableCommand','editor','getItems'];(function(_0x4d1e19,_0x2c79be){const _0x302505=function(_0x928103){while(--_0x928103){_0x4d1e19['push'](_0x4d1e19['shift']());}};_0x302505(++_0x2c79be);}(_0x2c79,0x1a8));const _0x3025=function(_0x4d1e19,_0x2c79be){_0x4d1e19=_0x4d1e19-0x0;let _0x302505=_0x2c79[_0x4d1e19];return _0x302505;};import{Plugin as _0x2fab66}from'ckeditor5/src/core';import{getTranslation as _0xc581a3}from'../utils/common-translations';export default class ht extends _0x2fab66{[_0x3025('0x14')](){const _0x317f59=this[_0x3025('0x10')];if(!_0x317f59[_0x3025('0x2')][_0x3025('0x3')](_0x3025('0xc')))return;const _0x1835d3=_0x317f59[_0x3025('0x2')][_0x3025('0x12')](_0x3025('0xd'));_0x1835d3[_0x3025('0xf')]('removeFormat',_0x3200b4=>{const _0x524ae2=_0x317f59[_0x3025('0xe')][_0x3025('0x13')][_0x3025('0xa')];_0x524ae2[_0x3025('0x19')]?_0x3200b4():_0x317f59[_0x3025('0xe')]['change'](()=>{const _0x4e3b2b=Array[_0x3025('0x4')](_0x524ae2[_0x3025('0x5')]());for(const _0x56d9ca of _0x4e3b2b)for(const _0x445ab5 of _0x56d9ca[_0x3025('0x11')]())eo(_0x445ab5,_0x317f59[_0x3025('0xe')][_0x3025('0x6')])&&_0x1835d3['markInlineFormat'](_0x317f59['model'][_0x3025('0x18')](_0x445ab5),{'commandName':_0x3025('0x1'),'commandParams':[]});});}),_0x1835d3['_descriptionFactory'][_0x3025('0x16')](_0x54d8f8=>{const {data:_0xb5d2b4}=_0x54d8f8;if(_0xb5d2b4&&'removeFormat'==_0xb5d2b4[_0x3025('0x9')])return{'type':_0x3025('0xb'),'content':_0xc581a3(_0x317f59[_0x3025('0x0')],_0x3025('0x7'))};});}}function eo(_0x5dbab3,_0x51302c){for(const [_0x4fb565]of _0x5dbab3[_0x3025('0x8')]()){const _0x550325=_0x51302c[_0x3025('0x17')](_0x4fb565);if(_0x550325&&_0x550325[_0x3025('0x15')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x466e=['discardAllSuggestions','get','acceptSelectedSuggestions','afterInit','enableCommand','RestrictedEditingModeEditing','acceptSuggestion','editor','plugins','has','goToNextRestrictedEditingException','goToPreviousRestrictedEditingException','trackChanges','TrackChangesEditing','discardSuggestion'];(function(_0x3e9266,_0x466e83){const _0x23e64b=function(_0xbb4218){while(--_0xbb4218){_0x3e9266['push'](_0x3e9266['shift']());}};_0x23e64b(++_0x466e83);}(_0x466e,0x16b));const _0x23e6=function(_0x3e9266,_0x466e83){_0x3e9266=_0x3e9266-0x0;let _0x23e64b=_0x466e[_0x3e9266];return _0x23e64b;};import{Plugin as _0x14d0de}from'ckeditor5/src/core';export default class ut extends _0x14d0de{[_0x23e6('0x0')](){const _0x194ea6=this[_0x23e6('0x4')];if(!_0x194ea6['plugins'][_0x23e6('0x6')](_0x23e6('0x2')))return;const _0x565d48=_0x194ea6[_0x23e6('0x5')][_0x23e6('0xd')](_0x23e6('0xa'));_0x565d48['enableCommand'](_0x23e6('0x8')),_0x565d48[_0x23e6('0x1')](_0x23e6('0x7'));const _0x524655=_0x194ea6[_0x23e6('0x5')][_0x23e6('0xd')](_0x23e6('0x2'));_0x524655[_0x23e6('0x1')](_0x23e6('0x9')),_0x524655[_0x23e6('0x1')](_0x23e6('0x3')),_0x524655[_0x23e6('0x1')](_0x23e6('0xb')),_0x524655[_0x23e6('0x1')]('acceptAllSuggestions'),_0x524655[_0x23e6('0x1')](_0x23e6('0xc')),_0x524655[_0x23e6('0x1')](_0x23e6('0xe')),_0x524655['enableCommand']('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1959=['downcastDispatcher','softBreak','name','addMarker:suggestion:deletion','TrackChangesEditing','model','includes','plugins','split','ck-suggestion-marker-','markerName','init','consumable','showSuggestionHighlights','ck-suggestion-marker--active','writer','test','shiftEnter','ELEMENT_LINE_BREAK','activeMarkers','get','registerElementLabel','options','high','editing','getItems','editor','mapper','markerRange','toViewPosition','deletion','data','merge','insert','createUIElement','addClass','bindElementToMarker','locale','addMarker:suggestion'];(function(_0x52797a,_0x195968){const _0x3c5b1c=function(_0x4f68f4){while(--_0x4f68f4){_0x52797a['push'](_0x52797a['shift']());}};_0x3c5b1c(++_0x195968);}(_0x1959,0x1be));const _0x3c5b=function(_0x52797a,_0x195968){_0x52797a=_0x52797a-0x0;let _0x3c5b1c=_0x1959[_0x52797a];return _0x3c5b1c;};import{Plugin as _0x3f132d}from'ckeditor5/src/core';import{ShiftEnter as _0x459337}from'ckeditor5/src/enter';import{getTranslation as _0x554974}from'../utils/common-translations';export default class ft extends _0x3f132d{static get['requires'](){return[_0x459337];}[_0x3c5b('0x21')](){const _0x399cf0=this[_0x3c5b('0x9')],_0x302d99=_0x399cf0[_0x3c5b('0x1d')]['get'](_0x3c5b('0x1a'));_0x302d99['enableCommand'](_0x3c5b('0x0')),_0x399cf0[_0x3c5b('0x7')][_0x3c5b('0x16')]['on']('addMarker:suggestion:insertion',re(_0x399cf0),{'priority':_0x3c5b('0x6')}),_0x399cf0[_0x3c5b('0x7')][_0x3c5b('0x16')]['on'](_0x3c5b('0x19'),re(_0x399cf0),{'priority':'high'}),_0x399cf0[_0x3c5b('0xe')][_0x3c5b('0x16')]['on'](_0x3c5b('0x15'),(_0x3ccaa9,_0x48e11a,_0x35d09b)=>{_0x35d09b[_0x3c5b('0x5')][_0x3c5b('0x23')]&&re(_0x399cf0,{'showActiveMarker':!0x1})(_0x3ccaa9,_0x48e11a,_0x35d09b);}),_0x302d99['_descriptionFactory'][_0x3c5b('0x4')]('softBreak',_0x39b861=>_0x554974(_0x399cf0[_0x3c5b('0x14')],_0x3c5b('0x1'),_0x39b861));}}function re(_0x4cdd58,{showActiveMarker:_0x5586fc=!0x0}={}){return(_0x1fdb4f,_0x596335,_0x38c0a4)=>{const _0x53b7a4=_0x4cdd58[_0x3c5b('0x1d')][_0x3c5b('0x3')](_0x3c5b('0x1a'));if(!_0x38c0a4[_0x3c5b('0x22')][_0x3c5b('0x26')](_0x596335[_0x3c5b('0xb')],_0x1fdb4f[_0x3c5b('0x18')]))return;const _0x1fe41e=_0x4cdd58[_0x3c5b('0x1b')];for(const _0x19c26b of _0x596335[_0x3c5b('0xb')][_0x3c5b('0x8')]()){if(!_0x19c26b['is']('element',_0x3c5b('0x17')))continue;const _0x19fcbd=_0x3c5b('0xd')==_0x596335[_0x3c5b('0x20')][_0x3c5b('0x1e')](':')[0x1]?_0x3c5b('0xf'):'split',_0x40eea8=_0x38c0a4[_0x3c5b('0x25')][_0x3c5b('0x11')]('span',{'class':_0x3c5b('0x1f')+_0x19fcbd}),_0x4e9c7e=_0x38c0a4[_0x3c5b('0xa')][_0x3c5b('0xc')](_0x1fe41e['createPositionBefore'](_0x19c26b));_0x5586fc&&_0x53b7a4[_0x3c5b('0x2')][_0x3c5b('0x1c')](_0x596335[_0x3c5b('0x20')])&&_0x38c0a4['writer'][_0x3c5b('0x12')](_0x3c5b('0x24'),_0x40eea8),_0x38c0a4[_0x3c5b('0x25')][_0x3c5b('0x10')](_0x4e9c7e,_0x40eea8),_0x38c0a4[_0x3c5b('0xa')][_0x3c5b('0x13')](_0x40eea8,_0x596335[_0x3c5b('0x20')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5673=['from','TrackChangesEditing','change','format','locale','commandName','selection','StandardEditingModeEditing','has','FORMAT_RESTRICTED_ENABLED','markInlineFormat','afterInit','FORMAT_RESTRICTED_DISABLED','registerDescriptionCallback','restrictedEditingException','document','_descriptionFactory','editor','plugins','commandParams','forceValue','commands'];(function(_0x2d836c,_0x567368){const _0x5bc598=function(_0x19765d){while(--_0x19765d){_0x2d836c['push'](_0x2d836c['shift']());}};_0x5bc598(++_0x567368);}(_0x5673,0x123));const _0x5bc5=function(_0x2d836c,_0x567368){_0x2d836c=_0x2d836c-0x0;let _0x5bc598=_0x5673[_0x2d836c];return _0x5bc598;};import{Plugin as _0x121355}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x31be17}from'./utils';import{getTranslation as _0x2ca2c7}from'../utils/common-translations';export default class lt extends _0x121355{[_0x5bc5('0x6')](){const _0x2e9c00=this[_0x5bc5('0xc')],_0x556602=_0x2e9c00['model'],_0x357514=_0x2e9c00[_0x5bc5('0x15')];if(!_0x2e9c00[_0x5bc5('0xd')][_0x5bc5('0x3')](_0x5bc5('0x2')))return;const _0x175b54=_0x2e9c00[_0x5bc5('0xd')]['get'](_0x5bc5('0x12')),_0xd8e5cf=_0x5bc5('0x9'),_0x197fe8=_0x2e9c00[_0x5bc5('0x10')]['get'](_0xd8e5cf);_0x175b54['enableCommand'](_0xd8e5cf,(_0x54314b,_0x43cc07={})=>{const _0x1fb716=_0x556602[_0x5bc5('0xa')][_0x5bc5('0x1')];if(_0x1fb716['isCollapsed'])return void _0x54314b(_0x43cc07);const _0x5925=void 0x0!==_0x43cc07[_0x5bc5('0xf')]?_0x43cc07[_0x5bc5('0xf')]:!_0x197fe8['value'];_0x556602[_0x5bc5('0x13')](()=>{const _0x8edd77=Array[_0x5bc5('0x11')](_0x1fb716['getRanges']());for(const _0x795550 of _0x8edd77){const _0x15ca80=_0x5925?[_0x795550]:_0x31be17(_0xd8e5cf,_0x795550,_0x556602);for(const _0x122b9f of _0x15ca80)_0x175b54[_0x5bc5('0x5')](_0x122b9f,{'commandName':_0xd8e5cf,'commandParams':[{'forceValue':_0x5925}]});}});}),_0x175b54[_0x5bc5('0xb')][_0x5bc5('0x8')](_0x489a6f=>{const {data:_0x5354a3}=_0x489a6f;if(_0x5354a3&&_0x5354a3[_0x5bc5('0x0')]==_0xd8e5cf)return _0x5354a3[_0x5bc5('0xe')][0x0]['forceValue']?{'type':_0x5bc5('0x14'),'content':_0x2ca2c7(_0x357514,_0x5bc5('0x4'))}:{'type':_0x5bc5('0x14'),'content':_0x2ca2c7(_0x357514,_0x5bc5('0x7'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24a2=['style','add','normalizeConfig','from','styleName','inline','getRanges','find','config','enabledStyles','_descriptionFactory','Style','locale','element','isCollapsed','format','plugins','getDefinitionsForView','isBlock','_getStyleDefinition','model','classes','markBlockFormat','getSelectedBlocks','includes','createRangeOn','enableCommand','value','modelElements','has','getAttribute','name','document','push','toLowerCase','forceValue','change','getAncestors','TrackChangesEditing','markInlineFormat','registerDescriptionCallback','commandName','commandParams','DataSchema','commands','get','block'];(function(_0x40e86c,_0x24a232){const _0x3cf18b=function(_0x49f02b){while(--_0x49f02b){_0x40e86c['push'](_0x40e86c['shift']());}};_0x3cf18b(++_0x24a232);}(_0x24a2,0x174));const _0x3cf1=function(_0x40e86c,_0x24a232){_0x40e86c=_0x40e86c-0x0;let _0x3cf18b=_0x24a2[_0x40e86c];return _0x3cf18b;};import{Plugin as _0x227196}from'ckeditor5/src/core';import{getTranslation as _0xee7743}from'../utils/common-translations';export default class gt extends _0x227196{['afterInit'](){const _0x1f3b21=this['editor'];if(!_0x1f3b21[_0x3cf1('0x14')][_0x3cf1('0x21')](_0x3cf1('0xf')))return;const _0x31c0cc=_0x1f3b21[_0x3cf1('0x1')][_0x3cf1('0x2')](_0x3cf1('0x4')),_0x40b627=_0x1f3b21[_0x3cf1('0x14')][_0x3cf1('0x2')](_0x3cf1('0x2a')),_0x378fe5=_0x1f3b21[_0x3cf1('0x10')],_0x115f98=_0x1f3b21[_0x3cf1('0x14')][_0x3cf1('0x2')](_0x3cf1('0x0')),_0x431676=_0x1f3b21[_0x3cf1('0x14')][_0x3cf1('0x2')]('StyleUtils')[_0x3cf1('0x6')](_0x115f98,_0x1f3b21[_0x3cf1('0xc')][_0x3cf1('0x2')]('style.definitions'));_0x40b627[_0x3cf1('0x1e')](_0x3cf1('0x4'),(_0x3c01a6,{styleName:_0x3007bc})=>{const _0x4ed156=_0x1f3b21['model'][_0x3cf1('0x24')]['selection'],_0x274c9b=this[_0x3cf1('0x17')](_0x3007bc,_0x431676);if(!_0x274c9b)return;if(!_0x31c0cc[_0x3cf1('0xd')]['includes'](_0x3007bc))return;if(_0x4ed156[_0x3cf1('0x12')]&&!_0x274c9b[_0x3cf1('0x16')])return void _0x3c01a6({'styleName':_0x3007bc});const _0xbfd4e2=!_0x31c0cc[_0x3cf1('0x1f')][_0x3cf1('0x1c')](_0x274c9b['name']);if(_0x274c9b['isBlock']){const _0x4b7b78=function(_0x1473eb,_0x3c0a4d){const _0x74471c=new Set();for(const _0x128191 of _0x1473eb){const _0x2539b7=_0x128191[_0x3cf1('0x29')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2c2882 of _0x2539b7)if(_0x3c0a4d[_0x3cf1('0x1c')](_0x2c2882[_0x3cf1('0x23')])){_0x74471c[_0x3cf1('0x5')](_0x2c2882);break;}}return _0x74471c;}(_0x4ed156[_0x3cf1('0x1b')](),_0x274c9b[_0x3cf1('0x20')]);_0x1f3b21[_0x3cf1('0x18')][_0x3cf1('0x28')](()=>{for(const _0x2cbce7 of _0x4b7b78)_0x40b627[_0x3cf1('0x1a')](_0x2cbce7,{'commandName':'style','commandParams':[{'styleName':_0x3007bc,'forceValue':_0xbfd4e2}],'formatGroupId':'style:'+_0x3007bc});});}else{let _0x57b0c0=Array['from'](_0x4ed156[_0x3cf1('0xa')]());if(!_0xbfd4e2){const _0x62400d=Array[_0x3cf1('0x7')](_0x115f98[_0x3cf1('0x15')](_0x274c9b[_0x3cf1('0x11')],!0x1))[0x0]['model'],_0x51b4e4=[];for(const _0x5df857 of _0x57b0c0){const _0x59feb0=this['_getRangesWithClasses'](_0x1f3b21[_0x3cf1('0x18')],_0x5df857,_0x274c9b[_0x3cf1('0x19')],_0x62400d);_0x51b4e4[_0x3cf1('0x25')](..._0x59feb0);}_0x57b0c0=_0x51b4e4;}_0x1f3b21['model'][_0x3cf1('0x28')](()=>{for(const _0x2ff6b7 of _0x57b0c0)_0x40b627[_0x3cf1('0x2b')](_0x2ff6b7,{'commandName':_0x3cf1('0x4'),'commandParams':[{'styleName':_0x3007bc,'forceValue':_0xbfd4e2}]});});}}),_0x40b627[_0x3cf1('0xe')][_0x3cf1('0x2c')](_0x30a03c=>{const {data:_0x1b340d}=_0x30a03c;if(_0x1b340d&&_0x3cf1('0x4')===_0x1b340d[_0x3cf1('0x2d')])return _0x1b340d[_0x3cf1('0x2e')][0x0][_0x3cf1('0x27')]?{'type':_0x3cf1('0x13'),'content':_0xee7743(_0x378fe5,'*Format:*\x20%0',_0x1b340d[_0x3cf1('0x2e')][0x0]['styleName'][_0x3cf1('0x26')]())}:{'type':_0x3cf1('0x13'),'content':_0xee7743(_0x378fe5,'*Remove\x20format:*\x20%0',_0x1b340d[_0x3cf1('0x2e')][0x0][_0x3cf1('0x8')][_0x3cf1('0x26')]())};});}[_0x3cf1('0x17')](_0x1a392a,_0x4f3587){let _0x120c42=_0x4f3587[_0x3cf1('0x3')][_0x3cf1('0xb')](_0x5cfa84=>_0x5cfa84[_0x3cf1('0x23')]===_0x1a392a);return _0x120c42||(_0x120c42=_0x4f3587[_0x3cf1('0x9')][_0x3cf1('0xb')](_0x3cd3b2=>_0x3cd3b2['name']===_0x1a392a)),_0x120c42;}['_getRangesWithClasses'](_0x42538b,_0x4c4e16,_0x446858,_0x1738bf){const _0x4560d5=[];for(const _0x4b633e of _0x4c4e16['getItems']()){const _0x58d1a1=_0x4b633e[_0x3cf1('0x22')](_0x1738bf);_0x58d1a1&&(_0x446858['every'](_0x3f0912=>_0x58d1a1[_0x3cf1('0x19')][_0x3cf1('0x1c')](_0x3f0912))&&_0x4560d5[_0x3cf1('0x25')](_0x42538b[_0x3cf1('0x1d')](_0x4b633e)));}return _0x4560d5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d0e=['accept','insertTableRowBelow','change','min','_getSuggestionCoords','above','name','suggestion','insertTableColumnRight','TableUtils','removeTableRow','insertTableColumnLeft','differ','start','$graveyard','getContainedElement','createPositionAt','first','end','addRange','map','enableCommand','MAX_SAFE_INTEGER','deletion','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','element','_setupColumnsRowsFixing','type','$textProxy','max','insertTable','insert','values','getRowIndexes','model','afterInit','selectTableColumn','_tableSuggestions','includes','removeTableColumn','registerElementLabel','position','selection','options','getAttribute','createRangeIn','*Remove:*\x20%0','document','*Insert:*\x20%0','MIN_SAFE_INTEGER','commands','table','TrackChangesEditing','rowspan','getRanges','rootName','_getCoordsForCells','_tablePostFixingSubtypes','isEqual','findAncestor','forceValue','_acceptFormatSuggestionCallbackFactory','minRow','tableCell','plugins','addMarker:suggestion','push','filter','setSelection','low','getColumnIndexes','refresh','item','isTouching','nodeAfter','tableRow','subType','last','has','span','add','createRangeOn','toViewElement','root','isInContent','batch','toLowerCase','highest','length','tableColumn','mapper','selectTableRow','left','registerCustomCallback','substr','getSelectionAffectedTableCells','editor','tablePaste','TableEditing','change:data','hasAttribute','downcastDispatcher','classes','_descriptionFactory','removeClass','data','markMultiRangeDeletion','from','ELEMENT_TABLE_ROW','minColumn','registerDescriptionCallback','cell','detach','getCellLocation','every','startsWith','markMultiRangeInsertion','some','get','createTableWalker','getItems','insertion','join','fromRange','execute','ELEMENT_TABLE_COLUMN','enqueueChange','colspan','isIntersectingWithRange','_suggestionFactory'];(function(_0x3adca4,_0x4d0e14){const _0x5073c1=function(_0x27e5eb){while(--_0x27e5eb){_0x3adca4['push'](_0x3adca4['shift']());}};_0x5073c1(++_0x4d0e14);}(_0x4d0e,0x15b));const _0x5073=function(_0x3adca4,_0x4d0e14){_0x3adca4=_0x3adca4-0x0;let _0x5073c1=_0x4d0e[_0x3adca4];return _0x5073c1;};import{Plugin as _0x2dc8af}from'ckeditor5/src/core';import{LiveRange as _0x4469c8}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3715af}from'ckeditor5/src/widget';import{getTranslation as _0x398669}from'../utils/common-translations';export default class mt extends _0x2dc8af{constructor(_0x3025b9){super(_0x3025b9),this['_tablePostFixingSubtypes']=[_0x5073('0x7a'),_0x5073('0x5')],this[_0x5073('0x54')]=new Set();}[_0x5073('0x52')](){const _0x6749b0=this['editor'],_0x1786d7=_0x6749b0[_0x5073('0x51')]['document'][_0x5073('0x59')];if(!_0x6749b0[_0x5073('0x6f')][_0x5073('0x7d')](_0x5073('0xe')))return;const _0x53a401=_0x6749b0['locale'],_0x253976=_0x6749b0[_0x5073('0x6f')][_0x5073('0x22')]('TrackChangesEditing'),_0x49fb68=_0x6749b0[_0x5073('0x6f')][_0x5073('0x22')](_0x5073('0x37'));_0x253976[_0x5073('0x13')][_0x5073('0x57')](_0x5073('0x62'),_0x2f3dfb=>_0x398669(_0x53a401,'ELEMENT_TABLE',_0x2f3dfb)),this[_0x5073('0x49')](),_0x253976['enableCommand'](_0x5073('0x4d')),_0x253976[_0x5073('0x43')](_0x5073('0x7')),_0x253976[_0x5073('0x43')](_0x5073('0x53'));for(const _0x208ca1 of['insertTableRowAbove',_0x5073('0x2f')]){const _0x5bb3f7=_0x6749b0[_0x5073('0x61')][_0x5073('0x22')](_0x208ca1);_0x253976[_0x5073('0x43')](_0x208ca1,_0x12afb1=>{_0x6749b0[_0x5073('0x51')]['change'](_0x866331=>{_0x12afb1();const _0x2d76f4=_0x5073('0x33')===_0x5bb3f7['order'],_0x137e07=_0x49fb68[_0x5073('0xb')](_0x1786d7),_0x25e328=_0x49fb68[_0x5073('0x50')](_0x137e07),_0x4731d5=_0x2d76f4?_0x25e328['first']-0x1:_0x25e328[_0x5073('0x7c')]+0x1,_0x55cebf=_0x137e07[0x0]['findAncestor']('table'),_0x11d18d=_0x49fb68['createTableWalker'](_0x55cebf,{'startRow':_0x4731d5,'endRow':_0x4731d5}),_0x568e77=Array['from'](_0x11d18d)[_0x5073('0x42')](_0x19025f=>_0x866331[_0x5073('0x80')](_0x19025f[_0x5073('0x1b')]));_0x253976['markMultiRangeInsertion'](_0x568e77,_0x5073('0x7a'));});});}for(const _0x3b9cb7 of[_0x5073('0x39'),_0x5073('0x36')]){const _0x22087f=_0x6749b0[_0x5073('0x61')]['get'](_0x3b9cb7);_0x253976[_0x5073('0x43')](_0x3b9cb7,_0x283119=>{_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x4dc3df=>{_0x283119();const _0x505c18=_0x5073('0x8')===_0x22087f['order'],_0x5b202d=_0x49fb68[_0x5073('0xb')](_0x1786d7),_0x450da2=_0x49fb68[_0x5073('0x75')](_0x5b202d),_0xb13963=_0x505c18?_0x450da2[_0x5073('0x3f')]-0x1:_0x450da2[_0x5073('0x7c')]+0x1,_0x203262=_0x5b202d[0x0][_0x5073('0x6a')]('table'),_0x527944=_0x49fb68[_0x5073('0x23')](_0x203262,{'startRow':0x0,'column':_0xb13963,'includeAllSlots':!0x1}),_0x1eacd5=Array[_0x5073('0x17')](_0x527944)[_0x5073('0x42')](_0xbb86d8=>_0x4dc3df['createRangeOn'](_0xbb86d8[_0x5073('0x1b')]));_0x253976[_0x5073('0x20')](_0x1eacd5,_0x5073('0x5'));});});}for(const _0x3c0d7f of[_0x5073('0x38'),'removeTableColumn']){const _0x3aeb2d=_0x3c0d7f[_0x5073('0xa')](0xb),_0x31f976=_0x3aeb2d['toLowerCase'](),_0x3e47a0=_0x31f976['substr'](0x0,0x3)+_0x5073('0x7e'),_0x501546='table'+_0x3aeb2d,_0x5411ae=_0x5073('0x31')+_0x3aeb2d,_0x3de499=_0x5073('0x4c')+_0x3aeb2d;_0x253976[_0x5073('0x43')](_0x3c0d7f,()=>{_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x3557b3=>{const _0x35abe3=_0x49fb68['getSelectionAffectedTableCells'](_0x1786d7),_0x1c60f1=_0x35abe3[0x0][_0x5073('0x6a')](_0x5073('0x62'));let _0x567f2f;if(_0x5073('0x38')==_0x3c0d7f){const _0x107c92=_0x49fb68[_0x5073('0x50')](_0x35abe3);_0x567f2f={'startRow':_0x107c92['first'],'endRow':_0x107c92['last'],'includeAllSlots':!0x0};}else{const _0x11cbec=_0x49fb68[_0x5073('0x75')](_0x35abe3);_0x567f2f={'startColumn':_0x11cbec['first'],'endColumn':_0x11cbec[_0x5073('0x7c')],'includeAllSlots':!0x0};}const _0x608db5=_0x49fb68[_0x5073('0x23')](_0x1c60f1,_0x567f2f),_0x1dde41=Array[_0x5073('0x17')](_0x608db5)['map'](({cell:_0x47c0e9})=>_0x47c0e9),_0x17d505=se(_0x1dde41[_0x5073('0x72')](_0x19b6b0=>_0x19b6b0[_0x5073('0x10')](_0x3e47a0))),_0x389472=se(_0x1dde41[_0x5073('0x72')](_0x55301d=>!_0x55301d[_0x5073('0x10')](_0x3e47a0)))['map'](_0x40245d=>_0x3557b3['createRangeOn'](_0x40245d)),_0x322bb1=_0x253976[_0x5073('0x16')](_0x389472,_0x501546);if(_0x322bb1&&(_0x5073('0x7a')==_0x322bb1[_0x5073('0x7b')]||_0x5073('0x5')==_0x322bb1[_0x5073('0x7b')])){const _0x457e3e=this['_getSuggestionCoords'](_0x322bb1);for(const _0x8d3f68 of _0x17d505){const _0x1dad3e=_0x3557b3[_0x5073('0x80')](_0x8d3f68),_0x1c8970=_0x49fb68[_0x5073('0x1d')](_0x8d3f68),_0x1fb720=_0x8d3f68[_0x5073('0x5b')](_0x3e47a0)-0x1,_0x437740=_0x457e3e[_0x5411ae],_0xa91411=_0x457e3e[_0x3de499];_0x437740<=_0x1c8970[_0x31f976]&&_0x1c8970[_0x31f976]+_0x1fb720<=_0xa91411&&_0x322bb1[_0x5073('0x41')](_0x1dad3e);}}});});}function _0x1cd76f(_0x4cbc95){const _0x5b70f4=Array[_0x5073('0x17')](_0x1786d7[_0x5073('0x65')]())[_0x5073('0x42')](_0x54cca4=>_0x4469c8[_0x5073('0x27')](_0x54cca4));_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x191b86=>{const _0x2f765c=_0x191b86[_0x5073('0x1')];_0x4cbc95=_0x4cbc95[_0x5073('0x72')](_0x5d8396=>_0x5073('0x3c')!=_0x5d8396['root']['rootName']),_0x191b86['setSelection'](_0x4cbc95),_0x6749b0[_0x5073('0x61')]['get'](_0x5073('0x38'))[_0x5073('0x76')](),_0x6749b0[_0x5073('0x28')](_0x5073('0x38'),{'forceDefaultExecution':!0x0}),_0x6749b0[_0x5073('0x51')][_0x5073('0x2a')](()=>{_0x6749b0[_0x5073('0x51')]['enqueueChange'](_0x2f765c,_0x14c23b=>{const _0x32f3d4=_0x5b70f4[_0x5073('0x72')](_0x51b024=>_0x5073('0x3c')!=_0x51b024['root'][_0x5073('0x66')]);_0x32f3d4[_0x5073('0x4')]>0x0&&_0x14c23b['setSelection'](_0x32f3d4);for(const _0x3e7a87 of _0x5b70f4)_0x3e7a87[_0x5073('0x1c')]();});});});}function _0x30c22a(_0x4b6fe2){_0x6749b0[_0x5073('0x51')][_0x5073('0x30')](_0x2f1ba5=>{const _0x955369=Array[_0x5073('0x17')](_0x1786d7[_0x5073('0x65')]())[_0x5073('0x42')](_0x2a7323=>_0x4469c8[_0x5073('0x27')](_0x2a7323)),_0x3f09f3=[];for(const _0x58e8d2 of _0x4b6fe2)for(const _0x5d648c of _0x58e8d2[_0x5073('0x24')]({'shallow':!0x0}))_0x3f09f3[_0x5073('0x71')](_0x5d648c);for(const _0x1c22c3 of _0x3f09f3)'$graveyard'!=_0x1c22c3[_0x5073('0x82')][_0x5073('0x66')]&&(_0x2f1ba5[_0x5073('0x73')](_0x2f1ba5[_0x5073('0x3e')](_0x1c22c3,0x0)),_0x6749b0[_0x5073('0x61')]['get'](_0x5073('0x56'))['refresh'](),_0x6749b0[_0x5073('0x28')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x264f53=_0x955369[_0x5073('0x72')](_0x124541=>_0x5073('0x3c')!=_0x124541['root']['rootName']);_0x264f53[_0x5073('0x4')]>0x0&&_0x2f1ba5[_0x5073('0x73')](_0x264f53);for(const _0x3e272f of _0x955369)_0x3e272f[_0x5073('0x1c')]();});}function _0x162c08(_0x224595,_0x2a3bff){return _0x2a3bff[_0x5073('0x1e')](_0x38f184=>_0x224595[_0x5073('0x21')](_0x5a9af7=>_0x5a9af7['end'][_0x5073('0x69')](_0x38f184[_0x5073('0x3b')])||_0x38f184['end'][_0x5073('0x69')](_0x5a9af7[_0x5073('0x3b')])));}function _0x20cefb(_0x2f042c,_0x825bde){return _0x2f042c[_0x5073('0x21')](_0x3efb43=>_0x825bde[_0x5073('0x21')](_0x2f6fde=>_0x3efb43[_0x5073('0x40')][_0x5073('0x78')](_0x2f6fde[_0x5073('0x3b')])));}_0x6749b0['data'][_0x5073('0x11')]['on'](_0x5073('0x70'),(_0x4a0a2e,_0x43e6a8,_0x38fdbf)=>{if(!_0x38fdbf[_0x5073('0x5a')]['showSuggestionHighlights'])return;const _0x391200=_0x43e6a8[_0x5073('0x77')];if(!_0x391200)return;const _0x469068=_0x38fdbf[_0x5073('0x6')][_0x5073('0x81')](_0x391200);function _0x45e884(_0x402f42){return Array['isArray'](_0x402f42)?_0x402f42:[_0x402f42];}_0x469068&&_0x5073('0x6e')===_0x391200[_0x5073('0x34')]&&_0x3715af(_0x469068,_0x38fdbf['writer'],(_0x45f423,_0x186997,_0x574ce8)=>_0x574ce8['addClass'](_0x45e884(_0x186997[_0x5073('0x12')]),_0x45f423),(_0x2c5ff2,_0x1f9ae8,_0x2247b1)=>_0x2247b1[_0x5073('0x14')](_0x45e884(_0x1f9ae8['classes']),_0x2c5ff2));},{'priority':_0x5073('0x3')}),_0x253976[_0x5073('0x13')][_0x5073('0x1a')](_0x24185d=>{if(_0x5073('0x25')!=_0x24185d[_0x5073('0x4a')]&&'deletion'!=_0x24185d[_0x5073('0x4a')])return;const _0xf69bd3=_0x24185d[_0x5073('0x3d')]();if(null!=_0xf69bd3&&_0xf69bd3['is'](_0x5073('0x48'),_0x5073('0x62'))){if(_0x5073('0x25')==_0x24185d[_0x5073('0x4a')]){const _0x128ca0=_0x24185d[_0x5073('0x24')]()['filter'](_0x2d516d=>_0x2d516d['is'](_0x5073('0x4b')))['map'](_0x288a29=>_0x288a29[_0x5073('0x15')]);if(_0x128ca0[_0x5073('0x4')])return{'type':'insertion','content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x128ca0[_0x5073('0x26')]('\x20')+'\x22'))};}if(_0x5073('0x45')==_0x24185d[_0x5073('0x4a')]){const _0xda233=_0x24185d[_0x5073('0x24')]()['filter'](_0x21468d=>_0x21468d['is']('$textProxy'))[_0x5073('0x42')](_0x3855ed=>_0x3855ed[_0x5073('0x15')]);if(_0xda233[_0x5073('0x4')])return{'type':'deletion','content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xda233[_0x5073('0x26')]('\x20')+'\x22'))};}}}),_0x253976[_0x5073('0x13')]['registerDescriptionCallback'](_0x370229=>{if('tableRow'==_0x370229[_0x5073('0x7b')]){const _0x35758e=_0x370229[_0x5073('0x24')]()['filter'](_0x295110=>_0x295110['is'](_0x5073('0x4b')))['map'](_0x3029fc=>_0x3029fc[_0x5073('0x15')]),_0x5824ff=this[_0x5073('0x32')](_0x370229),_0x2b8094=_0x5824ff['maxRow']-_0x5824ff[_0x5073('0x6d')]+0x1;if('insertion'==_0x370229[_0x5073('0x4a')])return _0x35758e[_0x5073('0x4')]?{'type':'insertion','content':_0x398669(_0x53a401,'*Insert:*\x20%0',_0x398669(_0x53a401,_0x5073('0x46'),[_0x2b8094,'\x22'+_0x35758e[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_ROW',_0x2b8094))};if(_0x5073('0x45')==_0x370229[_0x5073('0x4a')])return _0x35758e[_0x5073('0x4')]?{'type':'deletion','content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,_0x5073('0x46'),[_0x2b8094,'\x22'+_0x35758e[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,_0x5073('0x18'),_0x2b8094))};}if(_0x5073('0x5')==_0x370229[_0x5073('0x7b')]){const _0x40b432=_0x370229[_0x5073('0x24')]()[_0x5073('0x72')](_0x155b8b=>_0x155b8b['is']('$textProxy'))['map'](_0xfb30db=>_0xfb30db[_0x5073('0x15')]),_0x365845=this[_0x5073('0x32')](_0x370229),_0x5dad24=_0x365845[_0x5073('0x47')]-_0x365845[_0x5073('0x19')]+0x1;if(_0x5073('0x25')==_0x370229[_0x5073('0x4a')])return _0x40b432[_0x5073('0x4')]?{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5dad24,'\x22'+_0x40b432[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x25'),'content':_0x398669(_0x53a401,_0x5073('0x5f'),_0x398669(_0x53a401,_0x5073('0x29'),_0x5dad24))};if(_0x5073('0x45')==_0x370229[_0x5073('0x4a')])return _0x40b432[_0x5073('0x4')]?{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5dad24,'\x22'+_0x40b432[_0x5073('0x26')]('\x20')+'\x22']))}:{'type':_0x5073('0x45'),'content':_0x398669(_0x53a401,_0x5073('0x5d'),_0x398669(_0x53a401,'ELEMENT_TABLE_COLUMN',_0x5dad24))};}}),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x25'),_0x5073('0x7a'),'discard',_0x1cd76f),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),_0x5073('0x7a'),_0x5073('0x2e'),_0x1cd76f),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x25'),_0x5073('0x5'),'discard',_0x30c22a),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),_0x5073('0x5'),_0x5073('0x2e'),_0x30c22a),_0x253976['_suggestionFactory']['registerCustomCallback'](_0x5073('0x25'),_0x5073('0x5'),_0x5073('0x26'),_0x162c08),_0x253976[_0x5073('0x2d')][_0x5073('0x9')](_0x5073('0x45'),'tableColumn',_0x5073('0x26'),_0x162c08),_0x253976['_suggestionFactory']['registerCustomCallback'](_0x5073('0x25'),_0x5073('0x7a'),_0x5073('0x26'),_0x20cefb),_0x253976['_suggestionFactory'][_0x5073('0x9')]('deletion','tableRow','join',_0x20cefb);}[_0x5073('0x6c')](){const _0x141c47=this[_0x5073('0xc')],_0xf1b8e4=_0x141c47['model']['document'][_0x5073('0x59')];return(_0x3ef278,_0x33a30c)=>{_0x141c47['model'][_0x5073('0x30')](_0x7f8188=>{const {commandName:_0x2f160e,commandParams:_0x5825c0}=_0x33a30c;let _0x177b00=_0x3ef278[0x0][_0x5073('0x40')]['nodeBefore'];_0x5825c0&&_0x5825c0[0x0]&&!0x1===_0x5825c0[0x0][_0x5073('0x6b')]&&(_0x177b00=_0x3ef278[0x0][_0x5073('0x3b')]['nodeAfter']);const _0x5b44f4=_0x7f8188[_0x5073('0x5c')](_0x177b00);if(_0x5073('0x3c')==_0x5b44f4[_0x5073('0x82')]['rootName'])return;const _0x4bf194=Array[_0x5073('0x17')](_0xf1b8e4[_0x5073('0x65')]())[_0x5073('0x42')](_0x28c62e=>_0x4469c8[_0x5073('0x27')](_0x28c62e));_0x7f8188[_0x5073('0x73')](_0x5b44f4),_0x141c47[_0x5073('0x61')][_0x5073('0x22')](_0x2f160e)[_0x5073('0x76')](),_0x5825c0[_0x5073('0x71')]({'forceDefaultExecution':!0x0}),_0x141c47['execute'](_0x2f160e,..._0x5825c0);const _0x4bfbdf=_0x4bf194[_0x5073('0x72')](_0x14a3ee=>'$graveyard'!=_0x14a3ee['root'][_0x5073('0x66')]);_0x4bfbdf['length']>0x0&&_0x7f8188[_0x5073('0x73')](_0x4bfbdf);for(const _0x4fb775 of _0x4bf194)_0x4fb775[_0x5073('0x1c')]();});};}[_0x5073('0x67')](_0x20b34d){const _0x4e5a81=this[_0x5073('0xc')][_0x5073('0x6f')][_0x5073('0x22')]('TableUtils');let _0x5ec142=Number[_0x5073('0x44')],_0x4e6e01=Number[_0x5073('0x60')],_0x45985e=Number[_0x5073('0x44')],_0x53a70=Number[_0x5073('0x60')];for(const _0x41af97 of _0x20b34d){if(_0x5073('0x3c')==_0x41af97[_0x5073('0x82')][_0x5073('0x66')])continue;const {row:_0x218d65,column:_0x8d8692}=_0x4e5a81[_0x5073('0x1d')](_0x41af97),_0x3a2d9d=_0x41af97[_0x5073('0x10')](_0x5073('0x64'))?_0x41af97['getAttribute'](_0x5073('0x64'))-0x1:0x0,_0x260d0b=_0x41af97[_0x5073('0x10')]('colspan')?_0x41af97[_0x5073('0x5b')](_0x5073('0x2b'))-0x1:0x0;_0x5ec142=_0x218d65<_0x5ec142?_0x218d65:_0x5ec142,_0x4e6e01=_0x218d65+_0x3a2d9d>_0x4e6e01?_0x218d65+_0x3a2d9d:_0x4e6e01,_0x45985e=_0x8d8692<_0x45985e?_0x8d8692:_0x45985e,_0x53a70=_0x8d8692+_0x260d0b>_0x53a70?_0x8d8692+_0x260d0b:_0x53a70;}return{'minRow':_0x5ec142,'maxRow':_0x4e6e01,'minColumn':_0x45985e,'maxColumn':_0x53a70};}['_setupColumnsRowsFixing'](){const _0x470a55=this['editor'],_0x466259=_0x470a55['plugins'][_0x5073('0x22')](_0x5073('0x63')),_0x4e7292=_0x470a55['plugins']['get'](_0x5073('0x37'));_0x470a55[_0x5073('0x51')][_0x5073('0x5e')]['on'](_0x5073('0xf'),()=>{const _0x55ca9b=Array[_0x5073('0x17')](_0x470a55[_0x5073('0x51')][_0x5073('0x5e')][_0x5073('0x3a')]['getChangedMarkers']());for(const {name:_0x136c72,data:_0x450b6e}of _0x55ca9b){const {group:_0x31bc92,id:_0x42c3eb,subType:_0x578c79}=_0x466259['_splitMarkerName'](_0x136c72);if(_0x5073('0x35')!=_0x31bc92)continue;if(null!=_0x450b6e['oldRange'])continue;const _0x463890=_0x466259['getSuggestion'](_0x42c3eb);this[_0x5073('0x68')][_0x5073('0x55')](_0x578c79)&&this[_0x5073('0x54')][_0x5073('0x7f')](_0x463890);}},{'priority':_0x5073('0x74')});const _0x12935e=(_0x2b21c8,_0x1b5ef7)=>{let _0x5723a7=!0x1;const _0x3500d4=_0x1b5ef7[_0x5073('0x80')](_0x2b21c8),_0x133c5b=_0x2b21c8[_0x5073('0x6a')](_0x5073('0x62')),_0x303124=_0x4e7292[_0x5073('0x1d')](_0x2b21c8);for(const _0x1e912a of this[_0x5073('0x54')]){const _0x457e48=_0x1e912a[_0x5073('0x7b')],_0x2daa65=_0x457e48[_0x5073('0x1f')](_0x5073('0xd')),_0x5a6958=_0x457e48['substr'](_0x2daa65?0xa:0x5),_0x19dbba=_0x5a6958[_0x5073('0x2')](),_0x1bb2ab=_0x19dbba[_0x5073('0xa')](0x0,0x3)+_0x5073('0x7e'),_0x160625='min'+_0x5a6958,_0x4fc4b5=_0x5073('0x4c')+_0x5a6958;if(!_0x1e912a[_0x5073('0x0')])continue;if(_0x133c5b!=_0x1e912a['getFirstRange']()[_0x5073('0x3b')][_0x5073('0x6a')](_0x5073('0x62')))continue;if(_0x1e912a[_0x5073('0x2c')](_0x3500d4))continue;const _0x3ceb78=_0x2b21c8[_0x5073('0x10')](_0x1bb2ab)?_0x2b21c8['getAttribute'](_0x1bb2ab)-0x1:0x0,_0x2b4669=this[_0x5073('0x32')](_0x1e912a),_0x38c593=_0x2b4669[_0x160625],_0x7f5422=_0x2b4669[_0x4fc4b5];_0x38c593<=_0x303124[_0x19dbba]&&_0x303124[_0x19dbba]+_0x3ceb78<=_0x7f5422&&(_0x1e912a['addRange'](_0x3500d4),_0x5723a7=!0x0);}return _0x5723a7;};_0x470a55[_0x5073('0x51')][_0x5073('0x5e')]['registerPostFixer'](_0x395bc7=>{let _0x375667=!0x1;for(const _0x2d5ac6 of _0x470a55[_0x5073('0x51')]['document'][_0x5073('0x3a')]['getChanges']())if(_0x5073('0x4e')==_0x2d5ac6[_0x5073('0x4a')]){if(_0x5073('0x7a')==_0x2d5ac6[_0x5073('0x34')])for(const _0x502d80 of _0x2d5ac6['position'][_0x5073('0x79')]['getChildren']())_0x375667=_0x375667||_0x12935e(_0x502d80,_0x395bc7);else _0x5073('0x6e')==_0x2d5ac6[_0x5073('0x34')]&&(_0x375667=_0x375667||_0x12935e(_0x2d5ac6[_0x5073('0x58')]['nodeAfter'],_0x395bc7));}return _0x375667;});}['_getSuggestionCoords'](_0x1d4548){return this[_0x5073('0x67')](_0x1d4548[_0x5073('0x65')]()[_0x5073('0x42')](_0x415eac=>_0x415eac[_0x5073('0x3b')][_0x5073('0x79')]));}}function se(_0x1f544e){return Array[_0x5073('0x17')](new Set(_0x1f544e)[_0x5073('0x4f')]());}
|
|
23
|
+
const _0x30e6=['mapper','push','document','subType','tableRow','element','fromRange','min','plugins','getCellLocation','some','insertTableRowBelow','getItems','accept','enableCommand','isArray','item','getChildren','filter','insertTable','highest','ELEMENT_TABLE_COLUMN','add','$textProxy','hasAttribute','_tableSuggestions','join','MAX_SAFE_INTEGER','_splitMarkerName','execute','editor','rowspan','cell','ELEMENT_TABLE_COLUMN_WITH_TEXT','rootName','_suggestionFactory','minRow','getSelectionAffectedTableCells','has','maxRow','options','isIntersectingWithRange','removeTableColumn','above','addClass','change','_getSuggestionCoords','removeTableRow','getRanges','change:data','forceValue','TrackChangesEditing','addRange','insert','createTableWalker','deletion','showSuggestionHighlights','createRangeIn','_setupColumnsRowsFixing','*Insert:*\x20%0','$graveyard','getChanges','addMarker:suggestion','colspan','tableColumn','findAncestor','registerElementLabel','get','selection','last','registerDescriptionCallback','values','table','selectTableRow','locale','low','_getCoordsForCells','ELEMENT_TABLE_ROW_WITH_TEXT','enqueueChange','toViewElement','getChangedMarkers','isInContent','getContainedElement','order','getColumnIndexes','registerPostFixer','registerCustomCallback','getAttribute','markMultiRangeInsertion','insertion','map','MIN_SAFE_INTEGER','insertTableRowAbove','afterInit','start','_tablePostFixingSubtypes','differ','span','TableEditing','ELEMENT_TABLE_WITH_TEXT','position','nodeBefore','left','createPositionAt','length','refresh','selectTableColumn','substr','from','name','markMultiRangeDeletion','model','TableUtils','detach','getFirstRange','tablePaste','type','insertTableColumnLeft','end','removeClass','getSuggestion','_acceptFormatSuggestionCallbackFactory','batch','isEqual','tableCell','setSelection','discard','max','*Remove:*\x20%0','ELEMENT_TABLE_ROW','createRangeOn','_descriptionFactory','nodeAfter','toLowerCase','first','commands','ELEMENT_TABLE','root','data'];(function(_0x3a9d82,_0x30e60f){const _0x16976=function(_0x5698d5){while(--_0x5698d5){_0x3a9d82['push'](_0x3a9d82['shift']());}};_0x16976(++_0x30e60f);}(_0x30e6,0x15a));const _0x1697=function(_0x3a9d82,_0x30e60f){_0x3a9d82=_0x3a9d82-0x0;let _0x16976=_0x30e6[_0x3a9d82];return _0x16976;};import{Plugin as _0x2431c5}from'ckeditor5/src/core';import{LiveRange as _0x4d3b24}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2dcfd1}from'ckeditor5/src/widget';import{getTranslation as _0x538e05}from'../utils/common-translations';export default class mt extends _0x2431c5{constructor(_0x4171ae){super(_0x4171ae),this[_0x1697('0x1b')]=[_0x1697('0x4b'),_0x1697('0x87')],this[_0x1697('0x60')]=new Set();}[_0x1697('0x19')](){const _0x233c1c=this[_0x1697('0x65')],_0x1fd8d1=_0x233c1c[_0x1697('0x2b')][_0x1697('0x49')][_0x1697('0x0')];if(!_0x233c1c[_0x1697('0x4f')][_0x1697('0x6d')](_0x1697('0x1e')))return;const _0x1b4ada=_0x233c1c[_0x1697('0x6')],_0x52c729=_0x233c1c[_0x1697('0x4f')][_0x1697('0x8a')]('TrackChangesEditing'),_0x27935f=_0x233c1c[_0x1697('0x4f')]['get'](_0x1697('0x2c'));_0x52c729[_0x1697('0x3f')][_0x1697('0x89')](_0x1697('0x4'),_0x42f103=>_0x538e05(_0x1b4ada,_0x1697('0x44'),_0x42f103)),this[_0x1697('0x81')](),_0x52c729[_0x1697('0x55')](_0x1697('0x5a')),_0x52c729[_0x1697('0x55')](_0x1697('0x5')),_0x52c729[_0x1697('0x55')](_0x1697('0x26'));for(const _0x3b582f of[_0x1697('0x18'),_0x1697('0x52')]){const _0x53709b=_0x233c1c[_0x1697('0x43')]['get'](_0x3b582f);_0x52c729[_0x1697('0x55')](_0x3b582f,_0x566bac=>{_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x2ee852=>{_0x566bac();const _0x25421b=_0x1697('0x72')===_0x53709b[_0x1697('0xf')],_0x166dce=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x579171=_0x27935f['getRowIndexes'](_0x166dce),_0x1d015b=_0x25421b?_0x579171[_0x1697('0x42')]-0x1:_0x579171[_0x1697('0x1')]+0x1,_0x4a556f=_0x166dce[0x0][_0x1697('0x88')]('table'),_0x180bff=_0x27935f[_0x1697('0x7d')](_0x4a556f,{'startRow':_0x1d015b,'endRow':_0x1d015b}),_0xf4ee53=Array[_0x1697('0x28')](_0x180bff)['map'](_0xa6c09b=>_0x2ee852['createRangeOn'](_0xa6c09b['cell']));_0x52c729[_0x1697('0x14')](_0xf4ee53,_0x1697('0x4b'));});});}for(const _0x2d1e85 of[_0x1697('0x31'),'insertTableColumnRight']){const _0x3dc751=_0x233c1c[_0x1697('0x43')][_0x1697('0x8a')](_0x2d1e85);_0x52c729[_0x1697('0x55')](_0x2d1e85,_0x2dbcf9=>{_0x233c1c[_0x1697('0x2b')]['change'](_0x7637c9=>{_0x2dbcf9();const _0x4ede4f=_0x1697('0x22')===_0x3dc751[_0x1697('0xf')],_0x30a344=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x335c4b=_0x27935f[_0x1697('0x10')](_0x30a344),_0x1041cb=_0x4ede4f?_0x335c4b[_0x1697('0x42')]-0x1:_0x335c4b[_0x1697('0x1')]+0x1,_0x145a8e=_0x30a344[0x0][_0x1697('0x88')](_0x1697('0x4')),_0x55d81c=_0x27935f['createTableWalker'](_0x145a8e,{'startRow':0x0,'column':_0x1041cb,'includeAllSlots':!0x1}),_0x2450cb=Array['from'](_0x55d81c)['map'](_0x271545=>_0x7637c9[_0x1697('0x3e')](_0x271545[_0x1697('0x67')]));_0x52c729[_0x1697('0x14')](_0x2450cb,_0x1697('0x87'));});});}for(const _0x1ce11a of[_0x1697('0x76'),_0x1697('0x71')]){const _0x209086=_0x1ce11a[_0x1697('0x27')](0xb),_0x4506d1=_0x209086[_0x1697('0x41')](),_0x46e792=_0x4506d1[_0x1697('0x27')](0x0,0x3)+_0x1697('0x1d'),_0x1981ac=_0x1697('0x4')+_0x209086,_0x47332a=_0x1697('0x4e')+_0x209086,_0x1d5a27=_0x1697('0x3b')+_0x209086;_0x52c729[_0x1697('0x55')](_0x1ce11a,()=>{_0x233c1c['model'][_0x1697('0x74')](_0x40cf2b=>{const _0x47126e=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x48ec0e=_0x47126e[0x0][_0x1697('0x88')]('table');let _0x26903d;if(_0x1697('0x76')==_0x1ce11a){const _0x2c7777=_0x27935f['getRowIndexes'](_0x47126e);_0x26903d={'startRow':_0x2c7777[_0x1697('0x42')],'endRow':_0x2c7777['last'],'includeAllSlots':!0x0};}else{const _0x4707df=_0x27935f['getColumnIndexes'](_0x47126e);_0x26903d={'startColumn':_0x4707df[_0x1697('0x42')],'endColumn':_0x4707df['last'],'includeAllSlots':!0x0};}const _0x11f4ed=_0x27935f[_0x1697('0x7d')](_0x48ec0e,_0x26903d),_0x91b3fd=Array['from'](_0x11f4ed)[_0x1697('0x16')](({cell:_0x214391})=>_0x214391),_0x439b4a=se(_0x91b3fd['filter'](_0x588f03=>_0x588f03[_0x1697('0x5f')](_0x46e792))),_0x451634=se(_0x91b3fd[_0x1697('0x59')](_0x96f41c=>!_0x96f41c[_0x1697('0x5f')](_0x46e792)))[_0x1697('0x16')](_0x537ff1=>_0x40cf2b[_0x1697('0x3e')](_0x537ff1)),_0x6bd2e2=_0x52c729[_0x1697('0x2a')](_0x451634,_0x1981ac);if(_0x6bd2e2&&(_0x1697('0x4b')==_0x6bd2e2['subType']||_0x1697('0x87')==_0x6bd2e2[_0x1697('0x4a')])){const _0x15a29f=this['_getSuggestionCoords'](_0x6bd2e2);for(const _0x348102 of _0x439b4a){const _0x34aaaf=_0x40cf2b[_0x1697('0x3e')](_0x348102),_0x5bc88e=_0x27935f['getCellLocation'](_0x348102),_0x160432=_0x348102[_0x1697('0x13')](_0x46e792)-0x1,_0x1a2ca2=_0x15a29f[_0x47332a],_0x1e3094=_0x15a29f[_0x1d5a27];_0x1a2ca2<=_0x5bc88e[_0x4506d1]&&_0x5bc88e[_0x4506d1]+_0x160432<=_0x1e3094&&_0x6bd2e2[_0x1697('0x7b')](_0x34aaaf);}}});});}function _0x5ce937(_0x2ba064){const _0xf2710b=Array['from'](_0x1fd8d1[_0x1697('0x77')]())[_0x1697('0x16')](_0x345038=>_0x4d3b24[_0x1697('0x4d')](_0x345038));_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x99d7bb=>{const _0x2a9d84=_0x99d7bb[_0x1697('0x36')];_0x2ba064=_0x2ba064[_0x1697('0x59')](_0x1d6c93=>'$graveyard'!=_0x1d6c93[_0x1697('0x45')]['rootName']),_0x99d7bb[_0x1697('0x39')](_0x2ba064),_0x233c1c[_0x1697('0x43')][_0x1697('0x8a')](_0x1697('0x76'))[_0x1697('0x25')](),_0x233c1c[_0x1697('0x64')](_0x1697('0x76'),{'forceDefaultExecution':!0x0}),_0x233c1c[_0x1697('0x2b')][_0x1697('0xa')](()=>{_0x233c1c[_0x1697('0x2b')][_0x1697('0xa')](_0x2a9d84,_0xcf1aa8=>{const _0x280133=_0xf2710b[_0x1697('0x59')](_0xc09d08=>_0x1697('0x83')!=_0xc09d08['root'][_0x1697('0x69')]);_0x280133[_0x1697('0x24')]>0x0&&_0xcf1aa8[_0x1697('0x39')](_0x280133);for(const _0x507174 of _0xf2710b)_0x507174[_0x1697('0x2d')]();});});});}function _0x5c8d04(_0xc6b611){_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x182d36=>{const _0x2eb7ce=Array['from'](_0x1fd8d1[_0x1697('0x77')]())[_0x1697('0x16')](_0x160620=>_0x4d3b24[_0x1697('0x4d')](_0x160620)),_0xb0d34e=[];for(const _0x2fc1e3 of _0xc6b611)for(const _0x45d45b of _0x2fc1e3['getItems']({'shallow':!0x0}))_0xb0d34e[_0x1697('0x48')](_0x45d45b);for(const _0x55f5bd of _0xb0d34e)_0x1697('0x83')!=_0x55f5bd['root']['rootName']&&(_0x182d36['setSelection'](_0x182d36[_0x1697('0x23')](_0x55f5bd,0x0)),_0x233c1c['commands'][_0x1697('0x8a')](_0x1697('0x71'))[_0x1697('0x25')](),_0x233c1c['execute'](_0x1697('0x71'),{'forceDefaultExecution':!0x0}));const _0x5e669b=_0x2eb7ce[_0x1697('0x59')](_0x41d5ae=>_0x1697('0x83')!=_0x41d5ae['root']['rootName']);_0x5e669b[_0x1697('0x24')]>0x0&&_0x182d36[_0x1697('0x39')](_0x5e669b);for(const _0x10f6d3 of _0x2eb7ce)_0x10f6d3[_0x1697('0x2d')]();});}function _0x83b96e(_0x388e4b,_0x110d72){return _0x110d72['every'](_0x2ead0d=>_0x388e4b[_0x1697('0x51')](_0x1b9031=>_0x1b9031[_0x1697('0x32')][_0x1697('0x37')](_0x2ead0d['start'])||_0x2ead0d[_0x1697('0x32')][_0x1697('0x37')](_0x1b9031[_0x1697('0x1a')])));}function _0x5582ae(_0x2c1f7e,_0x3d0ecb){return _0x2c1f7e[_0x1697('0x51')](_0x2e0985=>_0x3d0ecb['some'](_0x462693=>_0x2e0985[_0x1697('0x32')]['isTouching'](_0x462693['start'])));}_0x233c1c['data']['downcastDispatcher']['on'](_0x1697('0x85'),(_0x442f9,_0x1786ff,_0x37750a)=>{if(!_0x37750a[_0x1697('0x6f')][_0x1697('0x7f')])return;const _0x4a54ff=_0x1786ff[_0x1697('0x57')];if(!_0x4a54ff)return;const _0x18849d=_0x37750a[_0x1697('0x47')][_0x1697('0xb')](_0x4a54ff);function _0x3a4161(_0xe1392){return Array[_0x1697('0x56')](_0xe1392)?_0xe1392:[_0xe1392];}_0x18849d&&_0x1697('0x38')===_0x4a54ff[_0x1697('0x29')]&&_0x2dcfd1(_0x18849d,_0x37750a['writer'],(_0x4e4996,_0x38c4de,_0x13ba61)=>_0x13ba61[_0x1697('0x73')](_0x3a4161(_0x38c4de['classes']),_0x4e4996),(_0x3b3a89,_0xb15565,_0x136cf0)=>_0x136cf0[_0x1697('0x33')](_0x3a4161(_0xb15565['classes']),_0x3b3a89));},{'priority':_0x1697('0x5b')}),_0x52c729[_0x1697('0x3f')][_0x1697('0x2')](_0x478fab=>{if(_0x1697('0x15')!=_0x478fab[_0x1697('0x30')]&&_0x1697('0x7e')!=_0x478fab[_0x1697('0x30')])return;const _0x3222ee=_0x478fab[_0x1697('0xe')]();if(null!=_0x3222ee&&_0x3222ee['is'](_0x1697('0x4c'),_0x1697('0x4'))){if('insertion'==_0x478fab[_0x1697('0x30')]){const _0x2f75f3=_0x478fab[_0x1697('0x53')]()[_0x1697('0x59')](_0x307e9f=>_0x307e9f['is'](_0x1697('0x5e')))[_0x1697('0x16')](_0x589eeb=>_0x589eeb['data']);if(_0x2f75f3[_0x1697('0x24')])return{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,_0x1697('0x1f'),'\x22'+_0x2f75f3[_0x1697('0x61')]('\x20')+'\x22'))};}if(_0x1697('0x7e')==_0x478fab[_0x1697('0x30')]){const _0x3b021d=_0x478fab['getItems']()[_0x1697('0x59')](_0x58032a=>_0x58032a['is']('$textProxy'))[_0x1697('0x16')](_0x9757fa=>_0x9757fa['data']);if(_0x3b021d['length'])return{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,'*Remove:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x1f'),'\x22'+_0x3b021d[_0x1697('0x61')]('\x20')+'\x22'))};}}}),_0x52c729['_descriptionFactory']['registerDescriptionCallback'](_0x3acf56=>{if(_0x1697('0x4b')==_0x3acf56[_0x1697('0x4a')]){const _0x3d4eaa=_0x3acf56[_0x1697('0x53')]()['filter'](_0x418d1e=>_0x418d1e['is'](_0x1697('0x5e')))['map'](_0x2e32d5=>_0x2e32d5[_0x1697('0x46')]),_0x231194=this[_0x1697('0x75')](_0x3acf56),_0x271bd7=_0x231194[_0x1697('0x6e')]-_0x231194[_0x1697('0x6b')]+0x1;if(_0x1697('0x15')==_0x3acf56[_0x1697('0x30')])return _0x3d4eaa[_0x1697('0x24')]?{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x271bd7,'\x22'+_0x3d4eaa[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,'*Insert:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x3d'),_0x271bd7))};if(_0x1697('0x7e')==_0x3acf56[_0x1697('0x30')])return _0x3d4eaa['length']?{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x9'),[_0x271bd7,'\x22'+_0x3d4eaa[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x3d'),_0x271bd7))};}if(_0x1697('0x87')==_0x3acf56[_0x1697('0x4a')]){const _0x31a1dd=_0x3acf56[_0x1697('0x53')]()['filter'](_0x135e47=>_0x135e47['is'](_0x1697('0x5e')))[_0x1697('0x16')](_0x549494=>_0x549494[_0x1697('0x46')]),_0xbcba53=this['_getSuggestionCoords'](_0x3acf56),_0x175c5d=_0xbcba53['maxColumn']-_0xbcba53['minColumn']+0x1;if(_0x1697('0x15')==_0x3acf56[_0x1697('0x30')])return _0x31a1dd[_0x1697('0x24')]?{'type':'insertion','content':_0x538e05(_0x1b4ada,'*Insert:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x68'),[_0x175c5d,'\x22'+_0x31a1dd[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,_0x1697('0x5c'),_0x175c5d))};if('deletion'==_0x3acf56[_0x1697('0x30')])return _0x31a1dd[_0x1697('0x24')]?{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x68'),[_0x175c5d,'\x22'+_0x31a1dd[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x5c'),_0x175c5d))};}}),_0x52c729['_suggestionFactory'][_0x1697('0x12')](_0x1697('0x15'),'tableRow',_0x1697('0x3a'),_0x5ce937),_0x52c729[_0x1697('0x6a')]['registerCustomCallback']('deletion',_0x1697('0x4b'),_0x1697('0x54'),_0x5ce937),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')]('insertion',_0x1697('0x87'),_0x1697('0x3a'),_0x5c8d04),_0x52c729[_0x1697('0x6a')]['registerCustomCallback'](_0x1697('0x7e'),_0x1697('0x87'),_0x1697('0x54'),_0x5c8d04),_0x52c729[_0x1697('0x6a')]['registerCustomCallback'](_0x1697('0x15'),_0x1697('0x87'),_0x1697('0x61'),_0x83b96e),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')](_0x1697('0x7e'),_0x1697('0x87'),_0x1697('0x61'),_0x83b96e),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')](_0x1697('0x15'),_0x1697('0x4b'),'join',_0x5582ae),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')]('deletion',_0x1697('0x4b'),_0x1697('0x61'),_0x5582ae);}[_0x1697('0x35')](){const _0x44effd=this[_0x1697('0x65')],_0x44c9d5=_0x44effd['model'][_0x1697('0x49')][_0x1697('0x0')];return(_0x4dd965,_0x1c78c1)=>{_0x44effd[_0x1697('0x2b')][_0x1697('0x74')](_0x479955=>{const {commandName:_0x11a688,commandParams:_0x52dd49}=_0x1c78c1;let _0x578403=_0x4dd965[0x0][_0x1697('0x32')][_0x1697('0x21')];_0x52dd49&&_0x52dd49[0x0]&&!0x1===_0x52dd49[0x0][_0x1697('0x79')]&&(_0x578403=_0x4dd965[0x0][_0x1697('0x1a')][_0x1697('0x40')]);const _0x26b377=_0x479955[_0x1697('0x80')](_0x578403);if(_0x1697('0x83')==_0x26b377[_0x1697('0x45')][_0x1697('0x69')])return;const _0x8f17b2=Array[_0x1697('0x28')](_0x44c9d5['getRanges']())[_0x1697('0x16')](_0x3b50e4=>_0x4d3b24['fromRange'](_0x3b50e4));_0x479955[_0x1697('0x39')](_0x26b377),_0x44effd[_0x1697('0x43')][_0x1697('0x8a')](_0x11a688)[_0x1697('0x25')](),_0x52dd49[_0x1697('0x48')]({'forceDefaultExecution':!0x0}),_0x44effd['execute'](_0x11a688,..._0x52dd49);const _0xe946ed=_0x8f17b2[_0x1697('0x59')](_0xe2707e=>_0x1697('0x83')!=_0xe2707e[_0x1697('0x45')][_0x1697('0x69')]);_0xe946ed[_0x1697('0x24')]>0x0&&_0x479955[_0x1697('0x39')](_0xe946ed);for(const _0x57f0ca of _0x8f17b2)_0x57f0ca[_0x1697('0x2d')]();});};}[_0x1697('0x8')](_0x3418d1){const _0x17c8e1=this[_0x1697('0x65')][_0x1697('0x4f')][_0x1697('0x8a')]('TableUtils');let _0x3fe3be=Number[_0x1697('0x62')],_0x37ec7c=Number['MIN_SAFE_INTEGER'],_0x383123=Number[_0x1697('0x62')],_0x2ecfe8=Number[_0x1697('0x17')];for(const _0x51e5ed of _0x3418d1){if(_0x1697('0x83')==_0x51e5ed['root'][_0x1697('0x69')])continue;const {row:_0x3f8b04,column:_0x43b5c2}=_0x17c8e1[_0x1697('0x50')](_0x51e5ed),_0x3438f6=_0x51e5ed[_0x1697('0x5f')](_0x1697('0x66'))?_0x51e5ed[_0x1697('0x13')](_0x1697('0x66'))-0x1:0x0,_0x405974=_0x51e5ed[_0x1697('0x5f')]('colspan')?_0x51e5ed[_0x1697('0x13')](_0x1697('0x86'))-0x1:0x0;_0x3fe3be=_0x3f8b04<_0x3fe3be?_0x3f8b04:_0x3fe3be,_0x37ec7c=_0x3f8b04+_0x3438f6>_0x37ec7c?_0x3f8b04+_0x3438f6:_0x37ec7c,_0x383123=_0x43b5c2<_0x383123?_0x43b5c2:_0x383123,_0x2ecfe8=_0x43b5c2+_0x405974>_0x2ecfe8?_0x43b5c2+_0x405974:_0x2ecfe8;}return{'minRow':_0x3fe3be,'maxRow':_0x37ec7c,'minColumn':_0x383123,'maxColumn':_0x2ecfe8};}[_0x1697('0x81')](){const _0x3c9250=this[_0x1697('0x65')],_0x263653=_0x3c9250[_0x1697('0x4f')]['get'](_0x1697('0x7a')),_0x129e06=_0x3c9250[_0x1697('0x4f')][_0x1697('0x8a')](_0x1697('0x2c'));_0x3c9250[_0x1697('0x2b')]['document']['on'](_0x1697('0x78'),()=>{const _0x5e120f=Array['from'](_0x3c9250['model'][_0x1697('0x49')][_0x1697('0x1c')][_0x1697('0xc')]());for(const {name:_0x45f35f,data:_0x1c3b34}of _0x5e120f){const {group:_0x4bbf26,id:_0x5c22c8,subType:_0x48ba00}=_0x263653[_0x1697('0x63')](_0x45f35f);if('suggestion'!=_0x4bbf26)continue;if(null!=_0x1c3b34['oldRange'])continue;const _0x3447ca=_0x263653[_0x1697('0x34')](_0x5c22c8);this[_0x1697('0x1b')]['includes'](_0x48ba00)&&this['_tableSuggestions'][_0x1697('0x5d')](_0x3447ca);}},{'priority':_0x1697('0x7')});const _0x201171=(_0x146c19,_0x53eac8)=>{let _0xcdfd90=!0x1;const _0x74e37e=_0x53eac8[_0x1697('0x3e')](_0x146c19),_0x521f51=_0x146c19['findAncestor'](_0x1697('0x4')),_0x4667f6=_0x129e06[_0x1697('0x50')](_0x146c19);for(const _0x156005 of this[_0x1697('0x60')]){const _0x2ab271=_0x156005[_0x1697('0x4a')],_0x5bba79=_0x2ab271['startsWith'](_0x1697('0x2f')),_0x2c6c18=_0x2ab271[_0x1697('0x27')](_0x5bba79?0xa:0x5),_0x5b40bb=_0x2c6c18[_0x1697('0x41')](),_0x2f996a=_0x5b40bb['substr'](0x0,0x3)+_0x1697('0x1d'),_0x357cc7=_0x1697('0x4e')+_0x2c6c18,_0x1fc372=_0x1697('0x3b')+_0x2c6c18;if(!_0x156005[_0x1697('0xd')])continue;if(_0x521f51!=_0x156005[_0x1697('0x2e')]()['start'][_0x1697('0x88')](_0x1697('0x4')))continue;if(_0x156005[_0x1697('0x70')](_0x74e37e))continue;const _0x2d3ac2=_0x146c19['hasAttribute'](_0x2f996a)?_0x146c19[_0x1697('0x13')](_0x2f996a)-0x1:0x0,_0xb6f94c=this[_0x1697('0x75')](_0x156005),_0x200d8b=_0xb6f94c[_0x357cc7],_0xc9c470=_0xb6f94c[_0x1fc372];_0x200d8b<=_0x4667f6[_0x5b40bb]&&_0x4667f6[_0x5b40bb]+_0x2d3ac2<=_0xc9c470&&(_0x156005[_0x1697('0x7b')](_0x74e37e),_0xcdfd90=!0x0);}return _0xcdfd90;};_0x3c9250[_0x1697('0x2b')][_0x1697('0x49')][_0x1697('0x11')](_0x5ed687=>{let _0x2079bd=!0x1;for(const _0x504f0d of _0x3c9250[_0x1697('0x2b')]['document']['differ'][_0x1697('0x84')]())if(_0x1697('0x7c')==_0x504f0d['type']){if(_0x1697('0x4b')==_0x504f0d[_0x1697('0x29')])for(const _0x4ad6bf of _0x504f0d[_0x1697('0x20')][_0x1697('0x40')][_0x1697('0x58')]())_0x2079bd=_0x2079bd||_0x201171(_0x4ad6bf,_0x5ed687);else _0x1697('0x38')==_0x504f0d[_0x1697('0x29')]&&(_0x2079bd=_0x2079bd||_0x201171(_0x504f0d[_0x1697('0x20')][_0x1697('0x40')],_0x5ed687));}return _0x2079bd;});}[_0x1697('0x75')](_0x66b906){return this['_getCoordsForCells'](_0x66b906['getRanges']()['map'](_0x2bc437=>_0x2bc437[_0x1697('0x1a')][_0x1697('0x40')]));}}function se(_0xa2d3f8){return Array['from'](new Set(_0xa2d3f8)[_0x1697('0x3')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x572c=['toggleTableCaption','TableCaptionEditing','has','editor','plugins','requires','afterInit','TrackChangesEditing'];(function(_0x3d13bb,_0x572c4d){const _0xf853b2=function(_0x480630){while(--_0x480630){_0x3d13bb['push'](_0x3d13bb['shift']());}};_0xf853b2(++_0x572c4d);}(_0x572c,0x164));const _0xf853=function(_0x3d13bb,_0x572c4d){_0x3d13bb=_0x3d13bb-0x0;let _0xf853b2=_0x572c[_0x3d13bb];return _0xf853b2;};import{Plugin as _0x217513}from'ckeditor5/src/core';import _0x5cd5b from'./table';export default class vt extends _0x217513{static get[_0xf853('0x1')](){return[_0x5cd5b];}[_0xf853('0x2')](){const _0x24f232=this[_0xf853('0x7')];if(!_0x24f232[_0xf853('0x0')][_0xf853('0x6')](_0xf853('0x5')))return;_0x24f232[_0xf853('0x0')]['get'](_0xf853('0x3'))['enableCommand'](_0xf853('0x4'));}}
|