@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.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 _0x129c=['document','reversed','get','_getTranslationKeyForListStyle','toUpperCase','parent','styles','listStyle','createPositionAt','config','getSelectedBlocks','getFirstPosition','bind','forward','plugins','before','commandParams','length','unshift','ListPropertiesEditing','listType','numbered','has','backward','map','listItem','getLastPosition','handleDescriptions','change','*Format:*\x20set\x20order\x20to\x20regular','format','from','registerDescriptionCallback','ELEMENT_','handleListStartCommand','model','getSiblingNodes','handleListStyleCommand','element','editor','listStart','selection','*Format:*\x20set\x20order\x20to\x20reversed','markMultiRangeBlockFormat','flat','TrackChangesEditing','*Change\x20to:*\x20%0','ListUtils','type','startIndex','createRange','_descriptionFactory','getListTypeFromListStyleType','listReversed','_getSuggestionBlocks','*Format:*\x20set\x20start\x20index\x20to\x20%0','handleListReversedCommand','enableCommand','_getSuggestionBlocksForListStyle'];(function(_0x5d3257,_0x129c3f){const _0x565f15=function(_0x145f9d){while(--_0x145f9d){_0x5d3257['push'](_0x5d3257['shift']());}};_0x565f15(++_0x129c3f);}(_0x129c,0x1eb));const _0x565f=function(_0x5d3257,_0x129c3f){_0x5d3257=_0x5d3257-0x0;let _0x565f15=_0x129c[_0x5d3257];return _0x565f15;};import{Plugin as _0x46f735}from'ckeditor5/src/core';import{getTranslation as _0x3f98a4}from'../utils/common-translations';export default class nt extends _0x46f735{['afterInit'](){if(!this['editor'][_0x565f('0x36')][_0x565f('0x3')](_0x565f('0x0')))return;const _0x4eabdf=this[_0x565f('0x14')][_0x565f('0x31')][_0x565f('0x2a')]('list.properties'),_0xdf428a=this['editor']['plugins'][_0x565f('0x2a')](_0x565f('0x1a'));_0x4eabdf[_0x565f('0x2e')]&&_0xdf428a[_0x565f('0x26')]('listStyle',this['handleListStyleCommand']['bind'](this)),_0x4eabdf[_0x565f('0x29')]&&_0xdf428a[_0x565f('0x26')]('listReversed',this['handleListReversedCommand'][_0x565f('0x34')](this)),_0x4eabdf['startIndex']&&_0xdf428a[_0x565f('0x26')](_0x565f('0x15'),this[_0x565f('0xf')][_0x565f('0x34')](this)),_0xdf428a[_0x565f('0x20')][_0x565f('0xd')](this['handleDescriptions'][_0x565f('0x34')](this));}[_0x565f('0x12')](_0x517b97,_0x4689ca={}){const _0x11ceb8=this[_0x565f('0x14')][_0x565f('0x36')][_0x565f('0x2a')](_0x565f('0x1a')),_0x408d5c=this['_getSuggestionBlocksForListStyle']();this[_0x565f('0x14')]['model'][_0x565f('0x9')](()=>{_0x11ceb8[_0x565f('0x18')](_0x408d5c,{'commandName':_0x565f('0x2f'),'commandParams':[{'type':_0x4689ca[_0x565f('0x1d')]}],'formatGroupId':_0x565f('0x2f')});});}[_0x565f('0x25')](_0x410eb5,_0xad650a={}){const _0x3ae6d8=this['editor'][_0x565f('0x36')]['get'](_0x565f('0x1a')),_0x3d6180=this[_0x565f('0x23')](_0x27e9a7=>_0x27e9a7['is']('element','listItem')&&_0x565f('0x2')===_0x27e9a7['getAttribute'](_0x565f('0x1')));if(_0x3d6180[_0x565f('0x39')]<0x1)return;const _0x422882=_0x3d6180[_0x565f('0x5')](_0x1d5b48=>this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x1f')](this[_0x565f('0x14')]['model']['createPositionAt'](_0x1d5b48,_0x565f('0x37')),this['editor'][_0x565f('0x10')][_0x565f('0x30')](_0x1d5b48,0x0)));this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x9')](()=>{_0x3ae6d8[_0x565f('0x18')](_0x422882,{'commandName':'listReversed','commandParams':[{'reversed':_0xad650a[_0x565f('0x29')]}],'formatGroupId':_0x565f('0x22')});});}['handleListStartCommand'](_0x38a273,_0x12da33={}){const _0x3260f9=this[_0x565f('0x14')][_0x565f('0x36')]['get'](_0x565f('0x1a')),_0x50caab=this['_getSuggestionBlocks'](_0x315273=>_0x315273['is']('element',_0x565f('0x6'))&&'numbered'===_0x315273['getAttribute'](_0x565f('0x1')));if(_0x50caab[_0x565f('0x39')]<0x1)return;const _0x30d604=_0x50caab[_0x565f('0x5')](_0x564719=>this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x1f')](this[_0x565f('0x14')][_0x565f('0x10')]['createPositionAt'](_0x564719,_0x565f('0x37')),this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x30')](_0x564719,0x0)));this[_0x565f('0x14')]['model'][_0x565f('0x9')](()=>{_0x3260f9['markMultiRangeBlockFormat'](_0x30d604,{'commandName':_0x565f('0x15'),'commandParams':[{'startIndex':_0x12da33[_0x565f('0x1e')]}],'formatGroupId':'listStart'});});}[_0x565f('0x8')](_0x48a812){const _0x6a9d8e=this[_0x565f('0x14')]['locale'],{data:_0x25fc98}=_0x48a812;if(!_0x25fc98)return;let _0x4eb552,_0x41caca;switch(_0x25fc98['commandName']){case _0x565f('0x2f'):_0x4eb552=_0x565f('0x1b'),_0x41caca={'type':_0x565f('0xb'),'content':_0x3f98a4(_0x6a9d8e,_0x4eb552,_0x3f98a4(_0x6a9d8e,this[_0x565f('0x2b')](_0x25fc98[_0x565f('0x38')][0x0][_0x565f('0x1d')])))};break;case _0x565f('0x22'):_0x4eb552=_0x25fc98[_0x565f('0x38')][0x0][_0x565f('0x29')]?_0x565f('0x17'):_0x565f('0xa'),_0x41caca={'type':'format','content':_0x3f98a4(_0x6a9d8e,_0x4eb552)};break;case _0x565f('0x15'):_0x4eb552=_0x565f('0x24'),_0x41caca={'type':'format','content':_0x3f98a4(_0x6a9d8e,_0x4eb552,_0x25fc98[_0x565f('0x38')][0x0][_0x565f('0x1e')])};}return _0x41caca;}[_0x565f('0x27')](){var _0x5a5951,_0x1b6f96,_0x41dc21,_0x323c80;const _0x510b0d=this['editor'][_0x565f('0x36')][_0x565f('0x2a')](_0x565f('0x1c'));let _0x15cad2=Array[_0x565f('0xc')](this['editor'][_0x565f('0x10')][_0x565f('0x28')][_0x565f('0x16')][_0x565f('0x32')]());return(null===(_0x5a5951=_0x15cad2[0x0])||void 0x0===_0x5a5951?void 0x0:_0x5a5951['is'](_0x565f('0x13'),_0x565f('0x6')))&&_0x15cad2[_0x565f('0x3a')](..._0x510b0d[_0x565f('0x11')](this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x28')][_0x565f('0x16')][_0x565f('0x33')](),_0x565f('0x4'))),(null===(_0x1b6f96=_0x15cad2[_0x15cad2['length']-0x1])||void 0x0===_0x1b6f96?void 0x0:_0x1b6f96['is'](_0x565f('0x13'),_0x565f('0x6')))&&_0x15cad2['push'](..._0x510b0d['getSiblingNodes'](this[_0x565f('0x14')]['model'][_0x565f('0x28')][_0x565f('0x16')][_0x565f('0x7')](),_0x565f('0x35'))),_0x15cad2=[...new Set(_0x15cad2)],(null===(_0x323c80=null===(_0x41dc21=this['editor'][_0x565f('0x10')][_0x565f('0x28')][_0x565f('0x16')][_0x565f('0x33')]())||void 0x0===_0x41dc21?void 0x0:_0x41dc21[_0x565f('0x2d')])||void 0x0===_0x323c80?void 0x0:_0x323c80['is'](_0x565f('0x13'),'listItem'))&&(_0x15cad2=_0x15cad2['filter'](_0x311d51=>_0x311d51['is'](_0x565f('0x13'),'listItem'))),_0x15cad2;}['_getSuggestionBlocks'](_0x493db8){const _0x28601c=this[_0x565f('0x14')]['plugins'][_0x565f('0x2a')](_0x565f('0x1c'));let _0x2dcbf7=Array[_0x565f('0xc')](this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x28')][_0x565f('0x16')][_0x565f('0x32')]())['filter'](_0x493db8)['map'](_0x260313=>{const _0x315358=this[_0x565f('0x14')][_0x565f('0x10')][_0x565f('0x30')](_0x260313,0x0);return[..._0x28601c[_0x565f('0x11')](_0x315358,_0x565f('0x4')),..._0x28601c[_0x565f('0x11')](_0x315358,_0x565f('0x35'))];})[_0x565f('0x19')]();return _0x2dcbf7=[...new Set(_0x2dcbf7)],_0x2dcbf7;}['_getTranslationKeyForListStyle'](_0xc75c4f){return _0x565f('0xe')+this[_0x565f('0x14')][_0x565f('0x36')]['get'](_0x565f('0x1c'))[_0x565f('0x21')](_0xc75c4f)['toUpperCase']()+'_LIST_'+_0xc75c4f[_0x565f('0x2c')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b5=['enableCommand','mediaEmbed','plugins','_descriptionFactory','media','locale','MediaEmbedEditing','high','elementToElement','TrackChangesEditing','stop','afterInit','editor','dataDowncast','conversion','div','data','showSuggestionHighlights','registerElementLabel','has','get','downcastDispatcher'];(function(_0x2fbb29,_0x12b5e8){const _0x1c0638=function(_0x348bea){while(--_0x348bea){_0x2fbb29['push'](_0x2fbb29['shift']());}};_0x1c0638(++_0x12b5e8);}(_0x12b5,0x12c));const _0x1c06=function(_0x2fbb29,_0x12b5e8){_0x2fbb29=_0x2fbb29-0x0;let _0x1c0638=_0x12b5[_0x2fbb29];return _0x1c0638;};import{Plugin as _0x480525}from'ckeditor5/src/core';import{getTranslation as _0x15697c}from'../utils/common-translations';export default class ot extends _0x480525{[_0x1c06('0x13')](){const _0x46117b=this[_0x1c06('0x14')];if(!_0x46117b[_0x1c06('0xa')][_0x1c06('0x5')](_0x1c06('0xe')))return;const _0x12569d=_0x46117b[_0x1c06('0xa')][_0x1c06('0x6')](_0x1c06('0x11')),_0x5c9f29=_0x46117b[_0x1c06('0xd')];_0x12569d[_0x1c06('0x8')](_0x1c06('0x9')),_0x12569d[_0x1c06('0xb')][_0x1c06('0x4')](_0x1c06('0xc'),_0x2aec50=>_0x15697c(_0x5c9f29,'ELEMENT_MEDIA',_0x2aec50)),_0x46117b[_0x1c06('0x0')]['for'](_0x1c06('0x15'))[_0x1c06('0x10')]({'model':'media','view':(_0xf7adf2,{writer:_0x3692a5,options:_0xd7c33b})=>{if(_0xd7c33b['showSuggestionHighlights'])return _0x3692a5['createEmptyElement'](_0x1c06('0x1'));},'converterPriority':_0x1c06('0xf')}),_0x46117b[_0x1c06('0x2')][_0x1c06('0x7')]['on']('attribute:url:media',(_0x1c45cd,_0x39541e,_0x26dc4a)=>{_0x26dc4a['options'][_0x1c06('0x3')]&&_0x1c45cd[_0x1c06('0x12')]();},{'priority':_0x1c06('0xf')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d7e=['enableCommand','plugins','get','has','TrackChangesEditing','mention'];(function(_0x2619f7,_0x1d7e96){const _0x4d9989=function(_0x288937){while(--_0x288937){_0x2619f7['push'](_0x2619f7['shift']());}};_0x4d9989(++_0x1d7e96);}(_0x1d7e,0x104));const _0x4d99=function(_0x2619f7,_0x1d7e96){_0x2619f7=_0x2619f7-0x0;let _0x4d9989=_0x1d7e[_0x2619f7];return _0x4d9989;};import{Plugin as _0x29e20b}from'ckeditor5/src/core';export default class rt extends _0x29e20b{['afterInit'](){const _0x793af4=this['editor'];_0x793af4['plugins'][_0x4d99('0x1')]('MentionEditing')&&_0x793af4[_0x4d99('0x5')][_0x4d99('0x0')](_0x4d99('0x2'))[_0x4d99('0x4')](_0x4d99('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22a7=['afterInit','plugins','TrackChangesEditing','ELEMENT_PAGE_BREAK','PageBreakEditing','has','get','locale','editor','pageBreak','_descriptionFactory'];(function(_0x265dab,_0x22a7d4){const _0x27c395=function(_0x1408ec){while(--_0x1408ec){_0x265dab['push'](_0x265dab['shift']());}};_0x27c395(++_0x22a7d4);}(_0x22a7,0x105));const _0x27c3=function(_0x265dab,_0x22a7d4){_0x265dab=_0x265dab-0x0;let _0x27c395=_0x22a7[_0x265dab];return _0x27c395;};import{Plugin as _0x18da65}from'ckeditor5/src/core';import{getTranslation as _0x3c6b03}from'../utils/common-translations';export default class at extends _0x18da65{[_0x27c3('0x3')](){const _0x2fc854=this[_0x27c3('0x0')];if(!_0x2fc854[_0x27c3('0x4')][_0x27c3('0x8')](_0x27c3('0x7')))return;_0x2fc854[_0x27c3('0x4')][_0x27c3('0x9')](_0x27c3('0x5'))['enableCommand']('pageBreak');const _0x4fc474=_0x2fc854[_0x27c3('0x4')][_0x27c3('0x9')](_0x27c3('0x5')),_0x3ac4cf=_0x2fc854[_0x27c3('0xa')];_0x4fc474[_0x27c3('0x2')]['registerElementLabel'](_0x27c3('0x1'),_0x3e7c4c=>_0x3c6b03(_0x3ac4cf,_0x27c3('0x6'),_0x3e7c4c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17ff=['get','TrackChangesEditing','bindElementToMarker','writer','from','toViewPosition','editing','span','checkChild','insertion','downcastDispatcher','consume','activeMarkers','schema','*Change\x20to:*\x20%0','getSelectedBlocks','isBlock','paragraph','addClass','selection','afterInit','nodeAfter','data','parent','markerRange','type','has','change','isLimit','getItemLabel','isTouching','plugins','name','mapper','markerName','_descriptionFactory','end','model','options','filter','$text','isObject','start','ELEMENT_PARAGRAPH','addMarker:suggestion:insertion','*Insert:*\x20%0','showSuggestionHighlights','getFirstRange','includes','insertParagraph','highest','ck-suggestion-marker--active','registerDescriptionCallback'];(function(_0x56974e,_0x17ffbf){const _0x9473fb=function(_0x526cc6){while(--_0x526cc6){_0x56974e['push'](_0x56974e['shift']());}};_0x9473fb(++_0x17ffbf);}(_0x17ff,0x1d0));const _0x9473=function(_0x56974e,_0x17ffbf){_0x56974e=_0x56974e-0x0;let _0x9473fb=_0x17ff[_0x56974e];return _0x9473fb;};import{Plugin as _0x2a1abc}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x532479}from'./utils';import{getTranslation as _0x31ed89}from'../utils/common-translations';export default class ct extends _0x2a1abc{[_0x9473('0x21')](){const _0x2d56c4=this['editor'];if(!_0x2d56c4[_0x9473('0x2c')][_0x9473('0x27')]('Paragraph'))return;const _0x160538=_0x2d56c4['locale'],_0x5bd80f=_0x2d56c4[_0x9473('0x2c')][_0x9473('0xd')](_0x9473('0xe'));_0x5bd80f[_0x9473('0x30')]['registerElementLabel']('paragraph',_0x3d3222=>_0x31ed89(_0x160538,_0x9473('0x3'),_0x3d3222)),_0x5bd80f['enableCommand'](_0x9473('0x1e'),(_0x2ded7b,_0x788e53={})=>{const _0x2c7178=_0x2d56c4[_0x9473('0x32')]['document'],_0x449235=_0x788e53[_0x9473('0x20')]||_0x2c7178[_0x9473('0x20')],_0x487ad5=Array[_0x9473('0x11')](_0x449235[_0x9473('0x1c')]())[_0x9473('0x34')](_0x501432=>function(_0xef204a,_0x3a8987){return _0x3a8987[_0x9473('0x15')](_0xef204a[_0x9473('0x24')],'paragraph')&&!_0x3a8987[_0x9473('0x1')](_0xef204a)&&_0x9473('0x1e')!=_0xef204a[_0x9473('0x2d')];}(_0x501432,this['editor'][_0x9473('0x32')]['schema']));_0x2d56c4[_0x9473('0x32')][_0x9473('0x28')](()=>{for(const _0x225073 of _0x487ad5)_0x5bd80f['markBlockFormat'](_0x225073,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x532479(_0x225073));});}),_0x5bd80f[_0x9473('0x30')][_0x9473('0xc')](_0x3d6925=>{const {data:_0x46e536}=_0x3d6925;if(_0x46e536&&'paragraph'==_0x46e536['commandName'])return{'type':'format','content':_0x31ed89(_0x160538,_0x9473('0x1b'),_0x31ed89(_0x160538,_0x9473('0x3')))};}),_0x5bd80f['enableCommand'](_0x9473('0x9')),_0x2d56c4[_0x9473('0x13')][_0x9473('0x17')]['on'](_0x9473('0x4'),ar(_0x2d56c4),{'priority':_0x9473('0xa')}),_0x2d56c4[_0x9473('0x23')][_0x9473('0x17')]['on'](_0x9473('0x4'),(_0x4e0da2,_0x2c3792,_0x37ec1b)=>{_0x37ec1b[_0x9473('0x33')][_0x9473('0x6')]&&ar(_0x2d56c4,{'showActiveMarker':!0x1})(_0x4e0da2,_0x2c3792,_0x37ec1b);},{'priority':_0x9473('0xa')});const _0x4d87c1=_0x5bd80f[_0x9473('0x30')];_0x4d87c1[_0x9473('0xc')](_0x2c79b6=>{if(_0x9473('0x16')!==_0x2c79b6[_0x9473('0x26')])return;const {start:_0x183a25,end:_0x56f545}=_0x2c79b6[_0x9473('0x7')]();if(!_0x183a25[_0x9473('0x2b')](_0x56f545)||!_0x183a25[_0x9473('0x22')])return;const _0x11ec60=_0x2d56c4[_0x9473('0x32')][_0x9473('0x1a')],_0xa5c000=_0x183a25[_0x9473('0x22')];return _0x11ec60[_0x9473('0x1d')](_0xa5c000)&&!_0x11ec60[_0x9473('0x29')](_0xa5c000)&&_0x11ec60[_0x9473('0x15')](_0xa5c000,_0x9473('0x0'))?{'type':'insertion','content':_0x31ed89(_0x160538,_0x9473('0x5'),_0x4d87c1[_0x9473('0x2a')](_0xa5c000,0x1))}:void 0x0;});}}function ar(_0x1a3ac2,{showActiveMarker:_0x372884=!0x0}={}){return(_0x479110,_0x304823,_0x4ceba9)=>{const _0x3efa79=_0x1a3ac2[_0x9473('0x2c')][_0x9473('0xd')](_0x9473('0xe')),_0xdf7e03=_0x304823['markerRange'][_0x9473('0x2')],_0x7ba06a=_0x304823[_0x9473('0x25')][_0x9473('0x31')],_0x244262=_0x1a3ac2[_0x9473('0x32')][_0x9473('0x1a')];if(!_0xdf7e03['isTouching'](_0x7ba06a)||!_0xdf7e03[_0x9473('0x22')])return;const _0x273488=_0xdf7e03['nodeAfter'];if(_0x244262[_0x9473('0x1d')](_0x273488)&&!_0x244262[_0x9473('0x29')](_0x273488)&&_0x244262['checkChild'](_0x273488,'$text')){if(!_0x4ceba9['consumable'][_0x9473('0x18')](_0x304823[_0x9473('0x25')],_0x479110[_0x9473('0x2d')]))return;const _0x7fc148=_0x4ceba9['writer']['createUIElement'](_0x9473('0x14'),{'class':'ck-suggestion-marker-split'}),_0x441e56=_0x4ceba9[_0x9473('0x2e')][_0x9473('0x12')](_0x7ba06a);_0x372884&&_0x3efa79[_0x9473('0x19')][_0x9473('0x8')](_0x304823[_0x9473('0x2f')])&&_0x4ceba9[_0x9473('0x10')][_0x9473('0x1f')](_0x9473('0xb'),_0x7fc148),_0x4ceba9['writer']['insert'](_0x441e56,_0x7fc148),_0x4ceba9[_0x9473('0x2e')][_0x9473('0xf')](_0x7fc148,_0x304823['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cf0=['createRangeOn','change','RemoveFormatEditing','has','getRanges','getItems','plugins','afterInit','locale','enableCommand','_descriptionFactory','schema','from','model','get','getAttributes','editor','removeFormat','registerDescriptionCallback','*Remove\x20all\x20formatting*'];(function(_0xedfd5b,_0x5cf00e){const _0xca4d60=function(_0xb4ba05){while(--_0xb4ba05){_0xedfd5b['push'](_0xedfd5b['shift']());}};_0xca4d60(++_0x5cf00e);}(_0x5cf0,0xa2));const _0xca4d=function(_0xedfd5b,_0x5cf00e){_0xedfd5b=_0xedfd5b-0x0;let _0xca4d60=_0x5cf0[_0xedfd5b];return _0xca4d60;};import{Plugin as _0x196abc}from'ckeditor5/src/core';import{getTranslation as _0x5a34b6}from'../utils/common-translations';export default class ht extends _0x196abc{[_0xca4d('0x5')](){const _0x3c81b0=this[_0xca4d('0xe')];if(!_0x3c81b0[_0xca4d('0x4')][_0xca4d('0x1')](_0xca4d('0x0')))return;const _0x75634f=_0x3c81b0[_0xca4d('0x4')][_0xca4d('0xc')]('TrackChangesEditing');_0x75634f[_0xca4d('0x7')](_0xca4d('0xf'),_0x10f8d2=>{const _0x1ac385=_0x3c81b0[_0xca4d('0xb')]['document']['selection'];_0x1ac385['isCollapsed']?_0x10f8d2():_0x3c81b0[_0xca4d('0xb')][_0xca4d('0x13')](()=>{const _0x3cdce1=Array[_0xca4d('0xa')](_0x1ac385[_0xca4d('0x2')]());for(const _0xbe256c of _0x3cdce1)for(const _0x32b833 of _0xbe256c[_0xca4d('0x3')]())eo(_0x32b833,_0x3c81b0[_0xca4d('0xb')][_0xca4d('0x9')])&&_0x75634f['markInlineFormat'](_0x3c81b0[_0xca4d('0xb')][_0xca4d('0x12')](_0x32b833),{'commandName':_0xca4d('0xf'),'commandParams':[]});});}),_0x75634f[_0xca4d('0x8')][_0xca4d('0x10')](_0x39264b=>{const {data:_0x4738bc}=_0x39264b;if(_0x4738bc&&_0xca4d('0xf')==_0x4738bc['commandName'])return{'type':'format','content':_0x5a34b6(_0x3c81b0[_0xca4d('0x6')],_0xca4d('0x11'))};});}}function eo(_0x29ce8b,_0x4174a5){for(const [_0x2bf934]of _0x29ce8b[_0xca4d('0xd')]()){const _0x26719a=_0x4174a5['getAttributeProperties'](_0x2bf934);if(_0x26719a&&_0x26719a['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2505=['RestrictedEditingModeEditing','acceptSuggestion','afterInit','discardSelectedSuggestions','get','editor','trackChanges','has','acceptSelectedSuggestions','enableCommand','plugins','discardSuggestion','TrackChangesEditing'];(function(_0x51a4c7,_0x25055f){const _0xa2370=function(_0xfa9f70){while(--_0xfa9f70){_0x51a4c7['push'](_0x51a4c7['shift']());}};_0xa2370(++_0x25055f);}(_0x2505,0x1bb));const _0xa237=function(_0x51a4c7,_0x25055f){_0x51a4c7=_0x51a4c7-0x0;let _0xa2370=_0x2505[_0x51a4c7];return _0xa2370;};import{Plugin as _0x18e53e}from'ckeditor5/src/core';export default class ut extends _0x18e53e{[_0xa237('0x1')](){const _0x42120d=this[_0xa237('0x4')];if(!_0x42120d[_0xa237('0x9')][_0xa237('0x6')]('RestrictedEditingModeEditing'))return;const _0x297868=_0x42120d[_0xa237('0x9')][_0xa237('0x3')](_0xa237('0xb'));_0x297868[_0xa237('0x8')]('goToPreviousRestrictedEditingException'),_0x297868[_0xa237('0x8')]('goToNextRestrictedEditingException');const _0x48f9b1=_0x42120d[_0xa237('0x9')][_0xa237('0x3')](_0xa237('0xc'));_0x48f9b1[_0xa237('0x8')](_0xa237('0x5')),_0x48f9b1[_0xa237('0x8')](_0xa237('0x0')),_0x48f9b1[_0xa237('0x8')](_0xa237('0xa')),_0x48f9b1['enableCommand']('acceptAllSuggestions'),_0x48f9b1[_0xa237('0x8')]('discardAllSuggestions'),_0x48f9b1[_0xa237('0x8')](_0xa237('0x7')),_0x48f9b1[_0xa237('0x8')](_0xa237('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x211f=['editor','model','downcastDispatcher','get','insert','consumable','init','ELEMENT_LINE_BREAK','bindElementToMarker','addMarker:suggestion','addMarker:suggestion:deletion','locale','includes','addMarker:suggestion:insertion','activeMarkers','split','options','createUIElement','softBreak','element','enableCommand','markerRange','createPositionBefore','writer','high','markerName','getItems','editing','mapper','test','showSuggestionHighlights','shiftEnter','data','addClass','plugins','_descriptionFactory','deletion','registerElementLabel','requires'];(function(_0x329ec5,_0x211f4c){const _0x203fd4=function(_0x5d83c0){while(--_0x5d83c0){_0x329ec5['push'](_0x329ec5['shift']());}};_0x203fd4(++_0x211f4c);}(_0x211f,0x138));const _0x203f=function(_0x329ec5,_0x211f4c){_0x329ec5=_0x329ec5-0x0;let _0x203fd4=_0x211f[_0x329ec5];return _0x203fd4;};import{Plugin as _0x4791b8}from'ckeditor5/src/core';import{ShiftEnter as _0x58f8f3}from'ckeditor5/src/enter';import{getTranslation as _0x5a905d}from'../utils/common-translations';export default class ft extends _0x4791b8{static get[_0x203f('0x26')](){return[_0x58f8f3];}[_0x203f('0x6')](){const _0x440a69=this[_0x203f('0x0')],_0x2ee981=_0x440a69[_0x203f('0x22')][_0x203f('0x3')]('TrackChangesEditing');_0x2ee981[_0x203f('0x14')](_0x203f('0x1f')),_0x440a69[_0x203f('0x1b')][_0x203f('0x2')]['on'](_0x203f('0xd'),re(_0x440a69),{'priority':_0x203f('0x18')}),_0x440a69['editing'][_0x203f('0x2')]['on'](_0x203f('0xa'),re(_0x440a69),{'priority':_0x203f('0x18')}),_0x440a69[_0x203f('0x20')][_0x203f('0x2')]['on'](_0x203f('0x9'),(_0x25ab17,_0x2af266,_0x44f417)=>{_0x44f417[_0x203f('0x10')][_0x203f('0x1e')]&&re(_0x440a69,{'showActiveMarker':!0x1})(_0x25ab17,_0x2af266,_0x44f417);}),_0x2ee981[_0x203f('0x23')][_0x203f('0x25')](_0x203f('0x12'),_0x4af2a5=>_0x5a905d(_0x440a69[_0x203f('0xb')],_0x203f('0x7'),_0x4af2a5));}}function re(_0x491dce,{showActiveMarker:_0x181a09=!0x0}={}){return(_0x29f94f,_0x2d1722,_0x30f4ae)=>{const _0x2d82d6=_0x491dce[_0x203f('0x22')][_0x203f('0x3')]('TrackChangesEditing');if(!_0x30f4ae[_0x203f('0x5')][_0x203f('0x1d')](_0x2d1722[_0x203f('0x15')],_0x29f94f['name']))return;const _0x213858=_0x491dce[_0x203f('0x1')];for(const _0x2466b8 of _0x2d1722[_0x203f('0x15')][_0x203f('0x1a')]()){if(!_0x2466b8['is'](_0x203f('0x13'),_0x203f('0x12')))continue;const _0x562657=_0x203f('0x24')==_0x2d1722[_0x203f('0x19')][_0x203f('0xf')](':')[0x1]?'merge':'split',_0x2f887c=_0x30f4ae[_0x203f('0x17')][_0x203f('0x11')]('span',{'class':'ck-suggestion-marker-'+_0x562657}),_0x366cc5=_0x30f4ae[_0x203f('0x1c')]['toViewPosition'](_0x213858[_0x203f('0x16')](_0x2466b8));_0x181a09&&_0x2d82d6[_0x203f('0xe')][_0x203f('0xc')](_0x2d1722['markerName'])&&_0x30f4ae['writer'][_0x203f('0x21')]('ck-suggestion-marker--active',_0x2f887c),_0x30f4ae['writer'][_0x203f('0x4')](_0x366cc5,_0x2f887c),_0x30f4ae['mapper'][_0x203f('0x8')](_0x2f887c,_0x2d1722[_0x203f('0x19')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4943=['isCollapsed','FORMAT_RESTRICTED_DISABLED','commandParams','enableCommand','change','commands','TrackChangesEditing','StandardEditingModeEditing','afterInit','forceValue','FORMAT_RESTRICTED_ENABLED','plugins','_descriptionFactory','document','model','restrictedEditingException','format','from','get','getRanges','selection','markInlineFormat','commandName','registerDescriptionCallback'];(function(_0x240af8,_0x49435c){const _0x2dbbb4=function(_0x4cb47d){while(--_0x4cb47d){_0x240af8['push'](_0x240af8['shift']());}};_0x2dbbb4(++_0x49435c);}(_0x4943,0xfb));const _0x2dbb=function(_0x240af8,_0x49435c){_0x240af8=_0x240af8-0x0;let _0x2dbbb4=_0x4943[_0x240af8];return _0x2dbbb4;};import{Plugin as _0x5bed47}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x198f7f}from'./utils';import{getTranslation as _0x333bae}from'../utils/common-translations';export default class lt extends _0x5bed47{[_0x2dbb('0x15')](){const _0xed1b1c=this['editor'],_0x56945e=_0xed1b1c[_0x2dbb('0x3')],_0x568229=_0xed1b1c['locale'];if(!_0xed1b1c[_0x2dbb('0x0')]['has'](_0x2dbb('0x14')))return;const _0x2b88e2=_0xed1b1c['plugins'][_0x2dbb('0x7')](_0x2dbb('0x13')),_0x1a50c7=_0x2dbb('0x4'),_0x3e7cec=_0xed1b1c[_0x2dbb('0x12')][_0x2dbb('0x7')](_0x1a50c7);_0x2b88e2[_0x2dbb('0x10')](_0x1a50c7,(_0x1019e0,_0x549186={})=>{const _0x43dd38=_0x56945e[_0x2dbb('0x2')][_0x2dbb('0x9')];if(_0x43dd38[_0x2dbb('0xd')])return void _0x1019e0(_0x549186);const _0x2bcc0d=void 0x0!==_0x549186[_0x2dbb('0x16')]?_0x549186[_0x2dbb('0x16')]:!_0x3e7cec['value'];_0x56945e[_0x2dbb('0x11')](()=>{const _0x49f6a4=Array[_0x2dbb('0x6')](_0x43dd38[_0x2dbb('0x8')]());for(const _0x405d25 of _0x49f6a4){const _0x5e9bd3=_0x2bcc0d?[_0x405d25]:_0x198f7f(_0x1a50c7,_0x405d25,_0x56945e);for(const _0x541e99 of _0x5e9bd3)_0x2b88e2[_0x2dbb('0xa')](_0x541e99,{'commandName':_0x1a50c7,'commandParams':[{'forceValue':_0x2bcc0d}]});}});}),_0x2b88e2[_0x2dbb('0x1')][_0x2dbb('0xc')](_0x9c45c1=>{const {data:_0x39105f}=_0x9c45c1;if(_0x39105f&&_0x39105f[_0x2dbb('0xb')]==_0x1a50c7)return _0x39105f[_0x2dbb('0xf')][0x0]['forceValue']?{'type':'format','content':_0x333bae(_0x568229,_0x2dbb('0x17'))}:{'type':_0x2dbb('0x5'),'content':_0x333bae(_0x568229,_0x2dbb('0xe'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e0f=['has','find','plugins','_descriptionFactory','afterInit','get','model','style','getRanges','DataSchema','includes','_getRangesWithClasses','enabledStyles','normalizeConfig','selection','style:','name','element','TrackChangesEditing','styleName','getSelectedBlocks','*Format:*\x20%0','*Remove\x20format:*\x20%0','config','getAncestors','style.definitions','inline','Style','toLowerCase','document','commandName','StyleUtils','commandParams','isCollapsed','format','isBlock','editor','commands','push','_getStyleDefinition','forceValue','markBlockFormat','change','registerDescriptionCallback','createRangeOn','from','markInlineFormat','classes','getAttribute'];(function(_0x5cc5e7,_0x2e0f7e){const _0x50b8a0=function(_0x4abf4b){while(--_0x4abf4b){_0x5cc5e7['push'](_0x5cc5e7['shift']());}};_0x50b8a0(++_0x2e0f7e);}(_0x2e0f,0x1ea));const _0x50b8=function(_0x5cc5e7,_0x2e0f7e){_0x5cc5e7=_0x5cc5e7-0x0;let _0x50b8a0=_0x2e0f[_0x5cc5e7];return _0x50b8a0;};import{Plugin as _0x42b7ea}from'ckeditor5/src/core';import{getTranslation as _0x112114}from'../utils/common-translations';export default class gt extends _0x42b7ea{[_0x50b8('0x4')](){const _0x492c48=this[_0x50b8('0x24')];if(!_0x492c48[_0x50b8('0x2')][_0x50b8('0x0')](_0x50b8('0x1b')))return;const _0x2db9d0=_0x492c48[_0x50b8('0x25')][_0x50b8('0x5')](_0x50b8('0x7')),_0x2b0569=_0x492c48[_0x50b8('0x2')]['get'](_0x50b8('0x12')),_0xe6541a=_0x492c48['locale'],_0x1f1f7c=_0x492c48[_0x50b8('0x2')]['get'](_0x50b8('0x9')),_0x4e9584=_0x492c48[_0x50b8('0x2')][_0x50b8('0x5')](_0x50b8('0x1f'))[_0x50b8('0xd')](_0x1f1f7c,_0x492c48[_0x50b8('0x17')][_0x50b8('0x5')](_0x50b8('0x19')));_0x2b0569['enableCommand'](_0x50b8('0x7'),(_0x1cbc1c,{styleName:_0x15ffd1})=>{const _0xc6060a=_0x492c48[_0x50b8('0x6')][_0x50b8('0x1d')][_0x50b8('0xe')],_0x2c99da=this[_0x50b8('0x27')](_0x15ffd1,_0x4e9584);if(!_0x2c99da)return;if(!_0x2db9d0[_0x50b8('0xc')][_0x50b8('0xa')](_0x15ffd1))return;if(_0xc6060a[_0x50b8('0x21')]&&!_0x2c99da[_0x50b8('0x23')])return void _0x1cbc1c({'styleName':_0x15ffd1});const _0x2ee925=!_0x2db9d0['value'][_0x50b8('0xa')](_0x2c99da[_0x50b8('0x10')]);if(_0x2c99da['isBlock']){const _0x532b54=function(_0x545ffe,_0x9b6c4f){const _0x62ac40=new Set();for(const _0x523600 of _0x545ffe){const _0x254918=_0x523600[_0x50b8('0x18')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x159ed5 of _0x254918)if(_0x9b6c4f['includes'](_0x159ed5[_0x50b8('0x10')])){_0x62ac40['add'](_0x159ed5);break;}}return _0x62ac40;}(_0xc6060a[_0x50b8('0x14')](),_0x2c99da['modelElements']);_0x492c48[_0x50b8('0x6')][_0x50b8('0x2a')](()=>{for(const _0x43e8a9 of _0x532b54)_0x2b0569[_0x50b8('0x29')](_0x43e8a9,{'commandName':_0x50b8('0x7'),'commandParams':[{'styleName':_0x15ffd1,'forceValue':_0x2ee925}],'formatGroupId':_0x50b8('0xf')+_0x15ffd1});});}else{let _0x5914f7=Array[_0x50b8('0x2d')](_0xc6060a[_0x50b8('0x8')]());if(!_0x2ee925){const _0x1780fe=Array['from'](_0x1f1f7c['getDefinitionsForView'](_0x2c99da[_0x50b8('0x11')],!0x1))[0x0][_0x50b8('0x6')],_0x2c8b96=[];for(const _0x500408 of _0x5914f7){const _0x2be602=this[_0x50b8('0xb')](_0x492c48[_0x50b8('0x6')],_0x500408,_0x2c99da[_0x50b8('0x2f')],_0x1780fe);_0x2c8b96['push'](..._0x2be602);}_0x5914f7=_0x2c8b96;}_0x492c48[_0x50b8('0x6')][_0x50b8('0x2a')](()=>{for(const _0x21e6da of _0x5914f7)_0x2b0569[_0x50b8('0x2e')](_0x21e6da,{'commandName':_0x50b8('0x7'),'commandParams':[{'styleName':_0x15ffd1,'forceValue':_0x2ee925}]});});}}),_0x2b0569[_0x50b8('0x3')][_0x50b8('0x2b')](_0x47076a=>{const {data:_0x14d87a}=_0x47076a;if(_0x14d87a&&'style'===_0x14d87a[_0x50b8('0x1e')])return _0x14d87a[_0x50b8('0x20')][0x0][_0x50b8('0x28')]?{'type':_0x50b8('0x22'),'content':_0x112114(_0xe6541a,_0x50b8('0x15'),_0x14d87a['commandParams'][0x0][_0x50b8('0x13')][_0x50b8('0x1c')]())}:{'type':_0x50b8('0x22'),'content':_0x112114(_0xe6541a,_0x50b8('0x16'),_0x14d87a['commandParams'][0x0]['styleName']['toLowerCase']())};});}[_0x50b8('0x27')](_0x174a37,_0x1ac184){let _0x2ae233=_0x1ac184['block'][_0x50b8('0x1')](_0x5c94b7=>_0x5c94b7[_0x50b8('0x10')]===_0x174a37);return _0x2ae233||(_0x2ae233=_0x1ac184[_0x50b8('0x1a')][_0x50b8('0x1')](_0x10b945=>_0x10b945['name']===_0x174a37)),_0x2ae233;}[_0x50b8('0xb')](_0x4387bb,_0x5597d1,_0x47c6f6,_0x29c893){const _0x329de0=[];for(const _0x5673bd of _0x5597d1['getItems']()){const _0x6395ae=_0x5673bd[_0x50b8('0x30')](_0x29c893);_0x6395ae&&(_0x47c6f6['every'](_0x3ce763=>_0x6395ae['classes'][_0x50b8('0xa')](_0x3ce763))&&_0x329de0[_0x50b8('0x26')](_0x4387bb[_0x50b8('0x2c')](_0x5673bd)));}return _0x329de0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x17d6=['filter','createRangeIn','oldRange','accept','add','order','rootName','ELEMENT_TABLE_ROW','from','_getSuggestionCoords','maxRow','cell','every','removeTableColumn','commands','nodeBefore','substr','getSelectionAffectedTableCells','getRowIndexes','editor','findAncestor','minRow','_descriptionFactory','item','*Insert:*\x20%0','toLowerCase','registerDescriptionCallback','join','selection','getChangedMarkers','get','highest','map','above','createRangeOn','first','model','table','_suggestionFactory','_setupColumnsRowsFixing','ELEMENT_TABLE_ROW_WITH_TEXT','name','type','getAttribute','suggestion','root','TrackChangesEditing','setSelection','startsWith','differ','refresh','registerCustomCallback','_getCoordsForCells','data','_tableSuggestions','execute','addClass','MIN_SAFE_INTEGER','ELEMENT_TABLE_COLUMN_WITH_TEXT','length','deletion','$textProxy','isIntersectingWithRange','markMultiRangeDeletion','getSuggestion','showSuggestionHighlights','push','enqueueChange','isTouching','insertTableColumnLeft','registerElementLabel','createTableWalker','getRanges','*Remove:*\x20%0','position','rowspan','ELEMENT_TABLE_COLUMN','insertTable','createPositionAt','removeClass','getItems','isInContent','subType','last','TableEditing','maxColumn','insert','max','tableCell','tablePaste','min','plugins','insertTableRowAbove','hasAttribute','detach','mapper','addRange','selectTableColumn','has','MAX_SAFE_INTEGER','$graveyard','removeTableRow','insertTableColumnRight','colspan','downcastDispatcher','getContainedElement','registerPostFixer','isEqual','fromRange','enableCommand','start','_tablePostFixingSubtypes','getFirstRange','getColumnIndexes','nodeAfter','insertion','classes','change:data','_splitMarkerName','_acceptFormatSuggestionCallbackFactory','end','change','minColumn','tableColumn','ELEMENT_TABLE_WITH_TEXT','tableRow','writer','some','document','includes','span','discard','getChanges','getCellLocation','markMultiRangeInsertion','TableUtils'];(function(_0x4d9b98,_0x17d62b){const _0x4e8c5d=function(_0x5174d4){while(--_0x5174d4){_0x4d9b98['push'](_0x4d9b98['shift']());}};_0x4e8c5d(++_0x17d62b);}(_0x17d6,0x1aa));const _0x4e8c=function(_0x4d9b98,_0x17d62b){_0x4d9b98=_0x4d9b98-0x0;let _0x4e8c5d=_0x17d6[_0x4d9b98];return _0x4e8c5d;};import{Plugin as _0x2ddfcb}from'ckeditor5/src/core';import{LiveRange as _0xaef3b5}from'ckeditor5/src/engine';import{setHighlightHandling as _0xd10451}from'ckeditor5/src/widget';import{getTranslation as _0x55b011}from'../utils/common-translations';export default class mt extends _0x2ddfcb{constructor(_0x311d05){super(_0x311d05),this[_0x4e8c('0x5d')]=[_0x4e8c('0x6b'),_0x4e8c('0x69')],this[_0x4e8c('0x24')]=new Set();}['afterInit'](){const _0xce3c8b=this['editor'],_0x585938=_0xce3c8b[_0x4e8c('0x12')]['document'][_0x4e8c('0xa')];if(!_0xce3c8b['plugins'][_0x4e8c('0x50')](_0x4e8c('0x42')))return;const _0x316638=_0xce3c8b['locale'],_0x1a0d39=_0xce3c8b[_0x4e8c('0x49')][_0x4e8c('0xc')](_0x4e8c('0x1c')),_0x3d25b5=_0xce3c8b[_0x4e8c('0x49')]['get'](_0x4e8c('0x75'));_0x1a0d39[_0x4e8c('0x4')][_0x4e8c('0x34')](_0x4e8c('0x13'),_0x2ee4ad=>_0x55b011(_0x316638,'ELEMENT_TABLE',_0x2ee4ad)),this[_0x4e8c('0x15')](),_0x1a0d39[_0x4e8c('0x5b')](_0x4e8c('0x3b')),_0x1a0d39[_0x4e8c('0x5b')]('selectTableRow'),_0x1a0d39[_0x4e8c('0x5b')](_0x4e8c('0x4f'));for(const _0x49bd49 of[_0x4e8c('0x4a'),'insertTableRowBelow']){const _0x420ed7=_0xce3c8b[_0x4e8c('0x84')][_0x4e8c('0xc')](_0x49bd49);_0x1a0d39[_0x4e8c('0x5b')](_0x49bd49,_0x101936=>{_0xce3c8b['model'][_0x4e8c('0x67')](_0x71d8a9=>{_0x101936();const _0x22983a=_0x4e8c('0xf')===_0x420ed7['order'],_0x4e4ef9=_0x3d25b5['getSelectionAffectedTableCells'](_0x585938),_0x3e2a04=_0x3d25b5[_0x4e8c('0x0')](_0x4e4ef9),_0x3ec1dd=_0x22983a?_0x3e2a04['first']-0x1:_0x3e2a04[_0x4e8c('0x41')]+0x1,_0x182354=_0x4e4ef9[0x0][_0x4e8c('0x2')]('table'),_0x46a00a=_0x3d25b5['createTableWalker'](_0x182354,{'startRow':_0x3ec1dd,'endRow':_0x3ec1dd}),_0x55fc0a=Array[_0x4e8c('0x7e')](_0x46a00a)[_0x4e8c('0xe')](_0xce44be=>_0x71d8a9['createRangeOn'](_0xce44be['cell']));_0x1a0d39[_0x4e8c('0x74')](_0x55fc0a,_0x4e8c('0x6b'));});});}for(const _0x24b84d of[_0x4e8c('0x33'),_0x4e8c('0x54')]){const _0x61bba3=_0xce3c8b[_0x4e8c('0x84')]['get'](_0x24b84d);_0x1a0d39[_0x4e8c('0x5b')](_0x24b84d,_0x5522a1=>{_0xce3c8b[_0x4e8c('0x12')]['change'](_0x4ea11e=>{_0x5522a1();const _0x4bcaa1='left'===_0x61bba3[_0x4e8c('0x7b')],_0x584968=_0x3d25b5[_0x4e8c('0x87')](_0x585938),_0x12cf19=_0x3d25b5[_0x4e8c('0x5f')](_0x584968),_0x557167=_0x4bcaa1?_0x12cf19['first']-0x1:_0x12cf19[_0x4e8c('0x41')]+0x1,_0x33a036=_0x584968[0x0][_0x4e8c('0x2')](_0x4e8c('0x13')),_0x232f30=_0x3d25b5[_0x4e8c('0x35')](_0x33a036,{'startRow':0x0,'column':_0x557167,'includeAllSlots':!0x1}),_0x328b64=Array[_0x4e8c('0x7e')](_0x232f30)['map'](_0x24e4ba=>_0x4ea11e[_0x4e8c('0x10')](_0x24e4ba[_0x4e8c('0x81')]));_0x1a0d39[_0x4e8c('0x74')](_0x328b64,_0x4e8c('0x69'));});});}for(const _0x14419c of[_0x4e8c('0x53'),_0x4e8c('0x83')]){const _0x3f1e40=_0x14419c[_0x4e8c('0x86')](0xb),_0x5efb35=_0x3f1e40[_0x4e8c('0x7')](),_0xc01d62=_0x5efb35[_0x4e8c('0x86')](0x0,0x3)+_0x4e8c('0x70'),_0x15f0fa='table'+_0x3f1e40,_0x3d59f7='min'+_0x3f1e40,_0x5360fb=_0x4e8c('0x45')+_0x3f1e40;_0x1a0d39[_0x4e8c('0x5b')](_0x14419c,()=>{_0xce3c8b[_0x4e8c('0x12')]['change'](_0x21ad0d=>{const _0x527a9d=_0x3d25b5[_0x4e8c('0x87')](_0x585938),_0x36d63f=_0x527a9d[0x0][_0x4e8c('0x2')](_0x4e8c('0x13'));let _0x5ca00b;if('removeTableRow'==_0x14419c){const _0x1d9cae=_0x3d25b5['getRowIndexes'](_0x527a9d);_0x5ca00b={'startRow':_0x1d9cae[_0x4e8c('0x11')],'endRow':_0x1d9cae[_0x4e8c('0x41')],'includeAllSlots':!0x0};}else{const _0x3af91d=_0x3d25b5['getColumnIndexes'](_0x527a9d);_0x5ca00b={'startColumn':_0x3af91d['first'],'endColumn':_0x3af91d[_0x4e8c('0x41')],'includeAllSlots':!0x0};}const _0x5c4a84=_0x3d25b5[_0x4e8c('0x35')](_0x36d63f,_0x5ca00b),_0x57f256=Array[_0x4e8c('0x7e')](_0x5c4a84)['map'](({cell:_0x5d1c45})=>_0x5d1c45),_0x2d68ff=se(_0x57f256['filter'](_0x524666=>_0x524666[_0x4e8c('0x4b')](_0xc01d62))),_0x52d854=se(_0x57f256[_0x4e8c('0x76')](_0x4bbbb6=>!_0x4bbbb6['hasAttribute'](_0xc01d62)))[_0x4e8c('0xe')](_0x5e20b7=>_0x21ad0d[_0x4e8c('0x10')](_0x5e20b7)),_0x16b570=_0x1a0d39[_0x4e8c('0x2d')](_0x52d854,_0x15f0fa);if(_0x16b570&&(_0x4e8c('0x6b')==_0x16b570[_0x4e8c('0x40')]||_0x4e8c('0x69')==_0x16b570[_0x4e8c('0x40')])){const _0x1b3df1=this[_0x4e8c('0x7f')](_0x16b570);for(const _0x1092d9 of _0x2d68ff){const _0x390efc=_0x21ad0d[_0x4e8c('0x10')](_0x1092d9),_0x4bf15=_0x3d25b5['getCellLocation'](_0x1092d9),_0x4ed2f5=_0x1092d9['getAttribute'](_0xc01d62)-0x1,_0xf96732=_0x1b3df1[_0x3d59f7],_0x407536=_0x1b3df1[_0x5360fb];_0xf96732<=_0x4bf15[_0x5efb35]&&_0x4bf15[_0x5efb35]+_0x4ed2f5<=_0x407536&&_0x16b570[_0x4e8c('0x4e')](_0x390efc);}}});});}function _0x46509e(_0x55cdf4){const _0x424f77=Array[_0x4e8c('0x7e')](_0x585938[_0x4e8c('0x36')]())['map'](_0x259fe8=>_0xaef3b5[_0x4e8c('0x5a')](_0x259fe8));_0xce3c8b[_0x4e8c('0x12')][_0x4e8c('0x67')](_0x23fdf5=>{const _0xe365e2=_0x23fdf5['batch'];_0x55cdf4=_0x55cdf4['filter'](_0x422b18=>_0x4e8c('0x52')!=_0x422b18['root'][_0x4e8c('0x7c')]),_0x23fdf5[_0x4e8c('0x1d')](_0x55cdf4),_0xce3c8b[_0x4e8c('0x84')]['get'](_0x4e8c('0x53'))[_0x4e8c('0x20')](),_0xce3c8b[_0x4e8c('0x25')](_0x4e8c('0x53'),{'forceDefaultExecution':!0x0}),_0xce3c8b['model'][_0x4e8c('0x31')](()=>{_0xce3c8b[_0x4e8c('0x12')]['enqueueChange'](_0xe365e2,_0x45a176=>{const _0x129d2a=_0x424f77[_0x4e8c('0x76')](_0x505d4a=>_0x4e8c('0x52')!=_0x505d4a[_0x4e8c('0x1b')][_0x4e8c('0x7c')]);_0x129d2a[_0x4e8c('0x29')]>0x0&&_0x45a176[_0x4e8c('0x1d')](_0x129d2a);for(const _0x5967c8 of _0x424f77)_0x5967c8[_0x4e8c('0x4c')]();});});});}function _0x44ab4f(_0x3d45d4){_0xce3c8b[_0x4e8c('0x12')][_0x4e8c('0x67')](_0x2500df=>{const _0x2ab5f8=Array['from'](_0x585938[_0x4e8c('0x36')]())[_0x4e8c('0xe')](_0x246faf=>_0xaef3b5[_0x4e8c('0x5a')](_0x246faf)),_0x2adbef=[];for(const _0x301c1d of _0x3d45d4)for(const _0x594d95 of _0x301c1d['getItems']({'shallow':!0x0}))_0x2adbef[_0x4e8c('0x30')](_0x594d95);for(const _0x86b181 of _0x2adbef)_0x4e8c('0x52')!=_0x86b181[_0x4e8c('0x1b')][_0x4e8c('0x7c')]&&(_0x2500df['setSelection'](_0x2500df[_0x4e8c('0x3c')](_0x86b181,0x0)),_0xce3c8b[_0x4e8c('0x84')][_0x4e8c('0xc')](_0x4e8c('0x83'))[_0x4e8c('0x20')](),_0xce3c8b[_0x4e8c('0x25')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x47bd06=_0x2ab5f8[_0x4e8c('0x76')](_0x4c4a0f=>_0x4e8c('0x52')!=_0x4c4a0f[_0x4e8c('0x1b')][_0x4e8c('0x7c')]);_0x47bd06['length']>0x0&&_0x2500df['setSelection'](_0x47bd06);for(const _0x2e2f58 of _0x2ab5f8)_0x2e2f58['detach']();});}function _0x417939(_0x1ca74e,_0x11f896){return _0x11f896[_0x4e8c('0x82')](_0x3e7396=>_0x1ca74e[_0x4e8c('0x6d')](_0x3130f3=>_0x3130f3[_0x4e8c('0x66')][_0x4e8c('0x59')](_0x3e7396['start'])||_0x3e7396[_0x4e8c('0x66')][_0x4e8c('0x59')](_0x3130f3[_0x4e8c('0x5c')])));}function _0xff90fe(_0x276099,_0xacb075){return _0x276099[_0x4e8c('0x6d')](_0x53a611=>_0xacb075[_0x4e8c('0x6d')](_0x3cc51b=>_0x53a611[_0x4e8c('0x66')][_0x4e8c('0x32')](_0x3cc51b['start'])));}_0xce3c8b[_0x4e8c('0x23')][_0x4e8c('0x56')]['on']('addMarker:suggestion',(_0x35c08b,_0x4fa8cb,_0x5c2364)=>{if(!_0x5c2364['options'][_0x4e8c('0x2f')])return;const _0x5bfbf9=_0x4fa8cb[_0x4e8c('0x5')];if(!_0x5bfbf9)return;const _0xc0c784=_0x5c2364[_0x4e8c('0x4d')]['toViewElement'](_0x5bfbf9);function _0x324782(_0x10ac84){return Array['isArray'](_0x10ac84)?_0x10ac84:[_0x10ac84];}_0xc0c784&&_0x4e8c('0x46')===_0x5bfbf9['name']&&_0xd10451(_0xc0c784,_0x5c2364[_0x4e8c('0x6c')],(_0x3191f2,_0x5f15e5,_0x163274)=>_0x163274[_0x4e8c('0x26')](_0x324782(_0x5f15e5[_0x4e8c('0x62')]),_0x3191f2),(_0x43706b,_0x45e03d,_0x5984b6)=>_0x5984b6[_0x4e8c('0x3d')](_0x324782(_0x45e03d[_0x4e8c('0x62')]),_0x43706b));},{'priority':_0x4e8c('0xd')}),_0x1a0d39[_0x4e8c('0x4')][_0x4e8c('0x8')](_0x48b9f1=>{if('insertion'!=_0x48b9f1[_0x4e8c('0x18')]&&'deletion'!=_0x48b9f1[_0x4e8c('0x18')])return;const _0x3be1a6=_0x48b9f1[_0x4e8c('0x57')]();if(null!=_0x3be1a6&&_0x3be1a6['is']('element',_0x4e8c('0x13'))){if(_0x4e8c('0x61')==_0x48b9f1[_0x4e8c('0x18')]){const _0x4b6964=_0x48b9f1['getItems']()[_0x4e8c('0x76')](_0x4510aa=>_0x4510aa['is'](_0x4e8c('0x2b')))[_0x4e8c('0xe')](_0x270a26=>_0x270a26[_0x4e8c('0x23')]);if(_0x4b6964[_0x4e8c('0x29')])return{'type':_0x4e8c('0x61'),'content':_0x55b011(_0x316638,'*Insert:*\x20%0',_0x55b011(_0x316638,_0x4e8c('0x6a'),'\x22'+_0x4b6964[_0x4e8c('0x9')]('\x20')+'\x22'))};}if(_0x4e8c('0x2a')==_0x48b9f1[_0x4e8c('0x18')]){const _0x4bc3f6=_0x48b9f1[_0x4e8c('0x3e')]()[_0x4e8c('0x76')](_0x520032=>_0x520032['is']('$textProxy'))[_0x4e8c('0xe')](_0x5a4be8=>_0x5a4be8[_0x4e8c('0x23')]);if(_0x4bc3f6[_0x4e8c('0x29')])return{'type':_0x4e8c('0x2a'),'content':_0x55b011(_0x316638,_0x4e8c('0x37'),_0x55b011(_0x316638,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4bc3f6[_0x4e8c('0x9')]('\x20')+'\x22'))};}}}),_0x1a0d39[_0x4e8c('0x4')][_0x4e8c('0x8')](_0x559f99=>{if('tableRow'==_0x559f99['subType']){const _0x2a3b11=_0x559f99[_0x4e8c('0x3e')]()[_0x4e8c('0x76')](_0x1e9570=>_0x1e9570['is'](_0x4e8c('0x2b')))[_0x4e8c('0xe')](_0x20e81c=>_0x20e81c[_0x4e8c('0x23')]),_0xae4295=this[_0x4e8c('0x7f')](_0x559f99),_0x337e66=_0xae4295[_0x4e8c('0x80')]-_0xae4295[_0x4e8c('0x3')]+0x1;if('insertion'==_0x559f99[_0x4e8c('0x18')])return _0x2a3b11['length']?{'type':'insertion','content':_0x55b011(_0x316638,_0x4e8c('0x6'),_0x55b011(_0x316638,_0x4e8c('0x16'),[_0x337e66,'\x22'+_0x2a3b11['join']('\x20')+'\x22']))}:{'type':_0x4e8c('0x61'),'content':_0x55b011(_0x316638,_0x4e8c('0x6'),_0x55b011(_0x316638,_0x4e8c('0x7d'),_0x337e66))};if(_0x4e8c('0x2a')==_0x559f99[_0x4e8c('0x18')])return _0x2a3b11[_0x4e8c('0x29')]?{'type':_0x4e8c('0x2a'),'content':_0x55b011(_0x316638,_0x4e8c('0x37'),_0x55b011(_0x316638,_0x4e8c('0x16'),[_0x337e66,'\x22'+_0x2a3b11[_0x4e8c('0x9')]('\x20')+'\x22']))}:{'type':_0x4e8c('0x2a'),'content':_0x55b011(_0x316638,'*Remove:*\x20%0',_0x55b011(_0x316638,_0x4e8c('0x7d'),_0x337e66))};}if(_0x4e8c('0x69')==_0x559f99[_0x4e8c('0x40')]){const _0x178ccf=_0x559f99['getItems']()['filter'](_0x5819cb=>_0x5819cb['is'](_0x4e8c('0x2b')))['map'](_0x533915=>_0x533915[_0x4e8c('0x23')]),_0x2429c3=this[_0x4e8c('0x7f')](_0x559f99),_0xb18851=_0x2429c3[_0x4e8c('0x43')]-_0x2429c3[_0x4e8c('0x68')]+0x1;if(_0x4e8c('0x61')==_0x559f99['type'])return _0x178ccf[_0x4e8c('0x29')]?{'type':_0x4e8c('0x61'),'content':_0x55b011(_0x316638,_0x4e8c('0x6'),_0x55b011(_0x316638,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xb18851,'\x22'+_0x178ccf['join']('\x20')+'\x22']))}:{'type':_0x4e8c('0x61'),'content':_0x55b011(_0x316638,_0x4e8c('0x6'),_0x55b011(_0x316638,_0x4e8c('0x3a'),_0xb18851))};if(_0x4e8c('0x2a')==_0x559f99[_0x4e8c('0x18')])return _0x178ccf[_0x4e8c('0x29')]?{'type':_0x4e8c('0x2a'),'content':_0x55b011(_0x316638,_0x4e8c('0x37'),_0x55b011(_0x316638,_0x4e8c('0x28'),[_0xb18851,'\x22'+_0x178ccf[_0x4e8c('0x9')]('\x20')+'\x22']))}:{'type':_0x4e8c('0x2a'),'content':_0x55b011(_0x316638,_0x4e8c('0x37'),_0x55b011(_0x316638,_0x4e8c('0x3a'),_0xb18851))};}}),_0x1a0d39[_0x4e8c('0x14')][_0x4e8c('0x21')](_0x4e8c('0x61'),_0x4e8c('0x6b'),'discard',_0x46509e),_0x1a0d39['_suggestionFactory']['registerCustomCallback'](_0x4e8c('0x2a'),'tableRow','accept',_0x46509e),_0x1a0d39['_suggestionFactory'][_0x4e8c('0x21')](_0x4e8c('0x61'),_0x4e8c('0x69'),_0x4e8c('0x71'),_0x44ab4f),_0x1a0d39[_0x4e8c('0x14')][_0x4e8c('0x21')]('deletion','tableColumn',_0x4e8c('0x79'),_0x44ab4f),_0x1a0d39[_0x4e8c('0x14')][_0x4e8c('0x21')](_0x4e8c('0x61'),_0x4e8c('0x69'),_0x4e8c('0x9'),_0x417939),_0x1a0d39['_suggestionFactory'][_0x4e8c('0x21')](_0x4e8c('0x2a'),_0x4e8c('0x69'),'join',_0x417939),_0x1a0d39[_0x4e8c('0x14')][_0x4e8c('0x21')]('insertion',_0x4e8c('0x6b'),_0x4e8c('0x9'),_0xff90fe),_0x1a0d39['_suggestionFactory']['registerCustomCallback'](_0x4e8c('0x2a'),_0x4e8c('0x6b'),_0x4e8c('0x9'),_0xff90fe);}[_0x4e8c('0x65')](){const _0x17bd3b=this['editor'],_0x2462be=_0x17bd3b[_0x4e8c('0x12')][_0x4e8c('0x6e')][_0x4e8c('0xa')];return(_0x69cc02,_0x502703)=>{_0x17bd3b['model'][_0x4e8c('0x67')](_0x4bfed7=>{const {commandName:_0x4ec577,commandParams:_0x2b2e34}=_0x502703;let _0x2c9ed2=_0x69cc02[0x0][_0x4e8c('0x66')][_0x4e8c('0x85')];_0x2b2e34&&_0x2b2e34[0x0]&&!0x1===_0x2b2e34[0x0]['forceValue']&&(_0x2c9ed2=_0x69cc02[0x0]['start']['nodeAfter']);const _0x41236=_0x4bfed7[_0x4e8c('0x77')](_0x2c9ed2);if(_0x4e8c('0x52')==_0x41236['root']['rootName'])return;const _0x3e543e=Array[_0x4e8c('0x7e')](_0x2462be[_0x4e8c('0x36')]())[_0x4e8c('0xe')](_0x568df7=>_0xaef3b5[_0x4e8c('0x5a')](_0x568df7));_0x4bfed7[_0x4e8c('0x1d')](_0x41236),_0x17bd3b[_0x4e8c('0x84')][_0x4e8c('0xc')](_0x4ec577)['refresh'](),_0x2b2e34['push']({'forceDefaultExecution':!0x0}),_0x17bd3b['execute'](_0x4ec577,..._0x2b2e34);const _0x364608=_0x3e543e['filter'](_0x3f6158=>_0x4e8c('0x52')!=_0x3f6158[_0x4e8c('0x1b')][_0x4e8c('0x7c')]);_0x364608['length']>0x0&&_0x4bfed7[_0x4e8c('0x1d')](_0x364608);for(const _0x498516 of _0x3e543e)_0x498516[_0x4e8c('0x4c')]();});};}['_getCoordsForCells'](_0x30d20f){const _0x3f0d1f=this[_0x4e8c('0x1')][_0x4e8c('0x49')][_0x4e8c('0xc')](_0x4e8c('0x75'));let _0x2c6f32=Number[_0x4e8c('0x51')],_0x5ed2f7=Number[_0x4e8c('0x27')],_0xe0b0d=Number[_0x4e8c('0x51')],_0x50b64d=Number[_0x4e8c('0x27')];for(const _0x907b04 of _0x30d20f){if(_0x4e8c('0x52')==_0x907b04[_0x4e8c('0x1b')][_0x4e8c('0x7c')])continue;const {row:_0x3eb3bf,column:_0x4b77cb}=_0x3f0d1f[_0x4e8c('0x73')](_0x907b04),_0xb004f6=_0x907b04['hasAttribute']('rowspan')?_0x907b04[_0x4e8c('0x19')](_0x4e8c('0x39'))-0x1:0x0,_0x38ab25=_0x907b04[_0x4e8c('0x4b')](_0x4e8c('0x55'))?_0x907b04[_0x4e8c('0x19')](_0x4e8c('0x55'))-0x1:0x0;_0x2c6f32=_0x3eb3bf<_0x2c6f32?_0x3eb3bf:_0x2c6f32,_0x5ed2f7=_0x3eb3bf+_0xb004f6>_0x5ed2f7?_0x3eb3bf+_0xb004f6:_0x5ed2f7,_0xe0b0d=_0x4b77cb<_0xe0b0d?_0x4b77cb:_0xe0b0d,_0x50b64d=_0x4b77cb+_0x38ab25>_0x50b64d?_0x4b77cb+_0x38ab25:_0x50b64d;}return{'minRow':_0x2c6f32,'maxRow':_0x5ed2f7,'minColumn':_0xe0b0d,'maxColumn':_0x50b64d};}[_0x4e8c('0x15')](){const _0x2c74e1=this['editor'],_0x5c44a3=_0x2c74e1[_0x4e8c('0x49')][_0x4e8c('0xc')]('TrackChangesEditing'),_0x2547ec=_0x2c74e1[_0x4e8c('0x49')][_0x4e8c('0xc')](_0x4e8c('0x75'));_0x2c74e1[_0x4e8c('0x12')][_0x4e8c('0x6e')]['on'](_0x4e8c('0x63'),()=>{const _0x2b9b11=Array[_0x4e8c('0x7e')](_0x2c74e1[_0x4e8c('0x12')][_0x4e8c('0x6e')]['differ'][_0x4e8c('0xb')]());for(const {name:_0x345f08,data:_0x580d94}of _0x2b9b11){const {group:_0x2ebdc1,id:_0x2a304a,subType:_0x57e15c}=_0x5c44a3[_0x4e8c('0x64')](_0x345f08);if(_0x4e8c('0x1a')!=_0x2ebdc1)continue;if(null!=_0x580d94[_0x4e8c('0x78')])continue;const _0x1fa079=_0x5c44a3[_0x4e8c('0x2e')](_0x2a304a);this[_0x4e8c('0x5d')][_0x4e8c('0x6f')](_0x57e15c)&&this[_0x4e8c('0x24')][_0x4e8c('0x7a')](_0x1fa079);}},{'priority':'low'});const _0x4343bc=(_0x34f98d,_0x1e3a90)=>{let _0x120fc8=!0x1;const _0x35e1e7=_0x1e3a90[_0x4e8c('0x10')](_0x34f98d),_0x19d027=_0x34f98d['findAncestor'](_0x4e8c('0x13')),_0xf13b7d=_0x2547ec[_0x4e8c('0x73')](_0x34f98d);for(const _0x3e6292 of this['_tableSuggestions']){const _0x2f9209=_0x3e6292[_0x4e8c('0x40')],_0x50730a=_0x2f9209[_0x4e8c('0x1e')](_0x4e8c('0x47')),_0x2f5dbc=_0x2f9209[_0x4e8c('0x86')](_0x50730a?0xa:0x5),_0xd78fd7=_0x2f5dbc['toLowerCase'](),_0x374084=_0xd78fd7[_0x4e8c('0x86')](0x0,0x3)+'span',_0x425b0b=_0x4e8c('0x48')+_0x2f5dbc,_0x3aed9e=_0x4e8c('0x45')+_0x2f5dbc;if(!_0x3e6292[_0x4e8c('0x3f')])continue;if(_0x19d027!=_0x3e6292[_0x4e8c('0x5e')]()[_0x4e8c('0x5c')][_0x4e8c('0x2')](_0x4e8c('0x13')))continue;if(_0x3e6292[_0x4e8c('0x2c')](_0x35e1e7))continue;const _0x3dea01=_0x34f98d[_0x4e8c('0x4b')](_0x374084)?_0x34f98d[_0x4e8c('0x19')](_0x374084)-0x1:0x0,_0xa1fd07=this[_0x4e8c('0x7f')](_0x3e6292),_0x39dfed=_0xa1fd07[_0x425b0b],_0x1ecdf2=_0xa1fd07[_0x3aed9e];_0x39dfed<=_0xf13b7d[_0xd78fd7]&&_0xf13b7d[_0xd78fd7]+_0x3dea01<=_0x1ecdf2&&(_0x3e6292[_0x4e8c('0x4e')](_0x35e1e7),_0x120fc8=!0x0);}return _0x120fc8;};_0x2c74e1[_0x4e8c('0x12')][_0x4e8c('0x6e')][_0x4e8c('0x58')](_0x55c77d=>{let _0x2f8b2b=!0x1;for(const _0x269010 of _0x2c74e1['model'][_0x4e8c('0x6e')][_0x4e8c('0x1f')][_0x4e8c('0x72')]())if(_0x4e8c('0x44')==_0x269010[_0x4e8c('0x18')]){if('tableRow'==_0x269010[_0x4e8c('0x17')])for(const _0x496d52 of _0x269010[_0x4e8c('0x38')][_0x4e8c('0x60')]['getChildren']())_0x2f8b2b=_0x2f8b2b||_0x4343bc(_0x496d52,_0x55c77d);else _0x4e8c('0x46')==_0x269010[_0x4e8c('0x17')]&&(_0x2f8b2b=_0x2f8b2b||_0x4343bc(_0x269010[_0x4e8c('0x38')]['nodeAfter'],_0x55c77d));}return _0x2f8b2b;});}[_0x4e8c('0x7f')](_0x5b57ec){return this[_0x4e8c('0x22')](_0x5b57ec[_0x4e8c('0x36')]()[_0x4e8c('0xe')](_0x11cdc5=>_0x11cdc5[_0x4e8c('0x5c')]['nodeAfter']));}}function se(_0x1c3c19){return Array[_0x4e8c('0x7e')](new Set(_0x1c3c19)['values']());}
|
|
23
|
+
const _0x4fdb=['_getSuggestionCoords','_tableSuggestions','getRanges','hasAttribute','oldRange','ELEMENT_TABLE_ROW','map','_suggestionFactory','enqueueChange','getCellLocation','registerDescriptionCallback','includes','colspan','createTableWalker','push','addClass','tablePaste','plugins','getSuggestion','ELEMENT_TABLE_COLUMN','ELEMENT_TABLE','removeTableColumn','editor','classes','insertion','removeTableRow','isIntersectingWithRange','last','isEqual','tableRow','addRange','maxRow','selection','position','options','name','filter','element','MAX_SAFE_INTEGER','toLowerCase','accept','setSelection','detach','document','_acceptFormatSuggestionCallbackFactory','change','some','deletion','nodeAfter','length','registerCustomCallback','toViewElement','tableCell','$graveyard','downcastDispatcher','getChildren','getChangedMarkers','findAncestor','table','item','_setupColumnsRowsFixing','substr','getAttribute','root','rowspan','minRow','_getCoordsForCells','showSuggestionHighlights','rootName','every','isArray','getFirstRange','commands','createRangeIn','join','tableColumn','registerElementLabel','MIN_SAFE_INTEGER','max','getSelectionAffectedTableCells','isTouching','discard','TrackChangesEditing','from','selectTableColumn','markMultiRangeDeletion','enableCommand','highest','getContainedElement','type','ELEMENT_TABLE_COLUMN_WITH_TEXT','getItems','add','ELEMENT_TABLE_WITH_TEXT','execute','suggestion','change:data','get','has','getColumnIndexes','$textProxy','createRangeOn','insertTableRowBelow','subType','insertTableColumnRight','isInContent','*Insert:*\x20%0','differ','batch','refresh','order','*Remove:*\x20%0','values','cell','insertTable','left','insert','model','start','fromRange','end','removeClass','nodeBefore','TableUtils','getRowIndexes','first','_splitMarkerName','min','mapper','data','_tablePostFixingSubtypes','_descriptionFactory'];(function(_0x263edd,_0x4fdbee){const _0x35a74f=function(_0x3fa256){while(--_0x3fa256){_0x263edd['push'](_0x263edd['shift']());}};_0x35a74f(++_0x4fdbee);}(_0x4fdb,0x104));const _0x35a7=function(_0x263edd,_0x4fdbee){_0x263edd=_0x263edd-0x0;let _0x35a74f=_0x4fdb[_0x263edd];return _0x35a74f;};import{Plugin as _0x36eb53}from'ckeditor5/src/core';import{LiveRange as _0x237b09}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3f17d1}from'ckeditor5/src/widget';import{getTranslation as _0x5623b3}from'../utils/common-translations';export default class mt extends _0x36eb53{constructor(_0x52a237){super(_0x52a237),this[_0x35a7('0x2')]=[_0x35a7('0x21'),_0x35a7('0x4f')],this[_0x35a7('0x5')]=new Set();}['afterInit'](){const _0x3733a7=this[_0x35a7('0x1a')],_0x148829=_0x3733a7[_0x35a7('0x79')][_0x35a7('0x2f')][_0x35a7('0x24')];if(!_0x3733a7[_0x35a7('0x15')][_0x35a7('0x66')]('TableEditing'))return;const _0x30a921=_0x3733a7['locale'],_0x5abdb5=_0x3733a7[_0x35a7('0x15')][_0x35a7('0x65')](_0x35a7('0x56')),_0x5e0dae=_0x3733a7[_0x35a7('0x15')]['get'](_0x35a7('0x7f'));_0x5abdb5[_0x35a7('0x3')][_0x35a7('0x50')](_0x35a7('0x3e'),_0x3baafb=>_0x5623b3(_0x30a921,_0x35a7('0x18'),_0x3baafb)),this[_0x35a7('0x40')](),_0x5abdb5[_0x35a7('0x5a')](_0x35a7('0x76')),_0x5abdb5[_0x35a7('0x5a')]('selectTableRow'),_0x5abdb5[_0x35a7('0x5a')](_0x35a7('0x58'));for(const _0x47b375 of['insertTableRowAbove',_0x35a7('0x6a')]){const _0x4dafab=_0x3733a7[_0x35a7('0x4c')][_0x35a7('0x65')](_0x47b375);_0x5abdb5[_0x35a7('0x5a')](_0x47b375,_0x2e17f7=>{_0x3733a7[_0x35a7('0x79')][_0x35a7('0x31')](_0x245d88=>{_0x2e17f7();const _0x482bdb='above'===_0x4dafab[_0x35a7('0x72')],_0x54ee00=_0x5e0dae['getSelectionAffectedTableCells'](_0x148829),_0x147394=_0x5e0dae[_0x35a7('0x80')](_0x54ee00),_0x1d69f8=_0x482bdb?_0x147394[_0x35a7('0x81')]-0x1:_0x147394[_0x35a7('0x1f')]+0x1,_0x23bd9d=_0x54ee00[0x0][_0x35a7('0x3d')]('table'),_0x2deddc=_0x5e0dae[_0x35a7('0x11')](_0x23bd9d,{'startRow':_0x1d69f8,'endRow':_0x1d69f8}),_0x1b619b=Array['from'](_0x2deddc)['map'](_0x2b3032=>_0x245d88[_0x35a7('0x69')](_0x2b3032['cell']));_0x5abdb5['markMultiRangeInsertion'](_0x1b619b,'tableRow');});});}for(const _0x21673b of['insertTableColumnLeft',_0x35a7('0x6c')]){const _0x5eb30b=_0x3733a7[_0x35a7('0x4c')][_0x35a7('0x65')](_0x21673b);_0x5abdb5[_0x35a7('0x5a')](_0x21673b,_0x3448a9=>{_0x3733a7[_0x35a7('0x79')][_0x35a7('0x31')](_0x4043e2=>{_0x3448a9();const _0x52c488=_0x35a7('0x77')===_0x5eb30b[_0x35a7('0x72')],_0x1bceb8=_0x5e0dae[_0x35a7('0x53')](_0x148829),_0x523c5e=_0x5e0dae[_0x35a7('0x67')](_0x1bceb8),_0x47d718=_0x52c488?_0x523c5e[_0x35a7('0x81')]-0x1:_0x523c5e[_0x35a7('0x1f')]+0x1,_0x134f75=_0x1bceb8[0x0][_0x35a7('0x3d')](_0x35a7('0x3e')),_0xdc789f=_0x5e0dae[_0x35a7('0x11')](_0x134f75,{'startRow':0x0,'column':_0x47d718,'includeAllSlots':!0x1}),_0x16c02e=Array[_0x35a7('0x57')](_0xdc789f)[_0x35a7('0xa')](_0x28b6f2=>_0x4043e2['createRangeOn'](_0x28b6f2[_0x35a7('0x75')]));_0x5abdb5['markMultiRangeInsertion'](_0x16c02e,_0x35a7('0x4f'));});});}for(const _0x1ce229 of['removeTableRow',_0x35a7('0x19')]){const _0x30b724=_0x1ce229[_0x35a7('0x41')](0xb),_0x5708f0=_0x30b724[_0x35a7('0x2b')](),_0x2f571c=_0x5708f0['substr'](0x0,0x3)+'span',_0x4360a1='table'+_0x30b724,_0x58ffd8=_0x35a7('0x83')+_0x30b724,_0xa91428=_0x35a7('0x52')+_0x30b724;_0x5abdb5[_0x35a7('0x5a')](_0x1ce229,()=>{_0x3733a7[_0x35a7('0x79')][_0x35a7('0x31')](_0x2ceeb5=>{const _0x2b503b=_0x5e0dae[_0x35a7('0x53')](_0x148829),_0x536cd7=_0x2b503b[0x0][_0x35a7('0x3d')]('table');let _0x16e6b7;if(_0x35a7('0x1d')==_0x1ce229){const _0x1e46d5=_0x5e0dae['getRowIndexes'](_0x2b503b);_0x16e6b7={'startRow':_0x1e46d5[_0x35a7('0x81')],'endRow':_0x1e46d5[_0x35a7('0x1f')],'includeAllSlots':!0x0};}else{const _0xd70e1b=_0x5e0dae[_0x35a7('0x67')](_0x2b503b);_0x16e6b7={'startColumn':_0xd70e1b['first'],'endColumn':_0xd70e1b[_0x35a7('0x1f')],'includeAllSlots':!0x0};}const _0x55ceca=_0x5e0dae['createTableWalker'](_0x536cd7,_0x16e6b7),_0x11eb53=Array[_0x35a7('0x57')](_0x55ceca)[_0x35a7('0xa')](({cell:_0x5db4fd})=>_0x5db4fd),_0x2ecbe8=se(_0x11eb53['filter'](_0x4e1b6a=>_0x4e1b6a[_0x35a7('0x7')](_0x2f571c))),_0x2c41a2=se(_0x11eb53[_0x35a7('0x28')](_0x22c7bd=>!_0x22c7bd[_0x35a7('0x7')](_0x2f571c)))[_0x35a7('0xa')](_0x24d3da=>_0x2ceeb5['createRangeOn'](_0x24d3da)),_0x187229=_0x5abdb5[_0x35a7('0x59')](_0x2c41a2,_0x4360a1);if(_0x187229&&(_0x35a7('0x21')==_0x187229[_0x35a7('0x6b')]||_0x35a7('0x4f')==_0x187229[_0x35a7('0x6b')])){const _0x1e16c6=this[_0x35a7('0x4')](_0x187229);for(const _0x534cb5 of _0x2ecbe8){const _0x2b6d3e=_0x2ceeb5[_0x35a7('0x69')](_0x534cb5),_0x313903=_0x5e0dae[_0x35a7('0xd')](_0x534cb5),_0x3b510c=_0x534cb5['getAttribute'](_0x2f571c)-0x1,_0x10c862=_0x1e16c6[_0x58ffd8],_0x203bea=_0x1e16c6[_0xa91428];_0x10c862<=_0x313903[_0x5708f0]&&_0x313903[_0x5708f0]+_0x3b510c<=_0x203bea&&_0x187229[_0x35a7('0x22')](_0x2b6d3e);}}});});}function _0x369ec5(_0x538690){const _0x847f1d=Array['from'](_0x148829[_0x35a7('0x6')]())[_0x35a7('0xa')](_0x119935=>_0x237b09[_0x35a7('0x7b')](_0x119935));_0x3733a7[_0x35a7('0x79')]['change'](_0x166869=>{const _0x52b859=_0x166869[_0x35a7('0x70')];_0x538690=_0x538690[_0x35a7('0x28')](_0x48bbae=>'$graveyard'!=_0x48bbae[_0x35a7('0x43')][_0x35a7('0x48')]),_0x166869[_0x35a7('0x2d')](_0x538690),_0x3733a7[_0x35a7('0x4c')]['get'](_0x35a7('0x1d'))['refresh'](),_0x3733a7[_0x35a7('0x62')](_0x35a7('0x1d'),{'forceDefaultExecution':!0x0}),_0x3733a7['model'][_0x35a7('0xc')](()=>{_0x3733a7[_0x35a7('0x79')]['enqueueChange'](_0x52b859,_0x34f013=>{const _0x3f4a39=_0x847f1d[_0x35a7('0x28')](_0x2d8152=>_0x35a7('0x39')!=_0x2d8152[_0x35a7('0x43')]['rootName']);_0x3f4a39[_0x35a7('0x35')]>0x0&&_0x34f013[_0x35a7('0x2d')](_0x3f4a39);for(const _0x3619b4 of _0x847f1d)_0x3619b4[_0x35a7('0x2e')]();});});});}function _0x1a3121(_0x35c83e){_0x3733a7[_0x35a7('0x79')][_0x35a7('0x31')](_0x145fa0=>{const _0x30c8d0=Array['from'](_0x148829[_0x35a7('0x6')]())['map'](_0x113306=>_0x237b09[_0x35a7('0x7b')](_0x113306)),_0x4b1574=[];for(const _0x54d8a7 of _0x35c83e)for(const _0x9e50d1 of _0x54d8a7['getItems']({'shallow':!0x0}))_0x4b1574[_0x35a7('0x12')](_0x9e50d1);for(const _0x573f36 of _0x4b1574)_0x35a7('0x39')!=_0x573f36[_0x35a7('0x43')]['rootName']&&(_0x145fa0[_0x35a7('0x2d')](_0x145fa0['createPositionAt'](_0x573f36,0x0)),_0x3733a7['commands'][_0x35a7('0x65')]('removeTableColumn')['refresh'](),_0x3733a7['execute'](_0x35a7('0x19'),{'forceDefaultExecution':!0x0}));const _0x52acfc=_0x30c8d0[_0x35a7('0x28')](_0x122c9=>_0x35a7('0x39')!=_0x122c9[_0x35a7('0x43')]['rootName']);_0x52acfc[_0x35a7('0x35')]>0x0&&_0x145fa0[_0x35a7('0x2d')](_0x52acfc);for(const _0x2a8ddd of _0x30c8d0)_0x2a8ddd[_0x35a7('0x2e')]();});}function _0x3cceb6(_0x2fee2c,_0x109e1c){return _0x109e1c[_0x35a7('0x49')](_0x2bf17f=>_0x2fee2c[_0x35a7('0x32')](_0x381ce7=>_0x381ce7[_0x35a7('0x7c')][_0x35a7('0x20')](_0x2bf17f[_0x35a7('0x7a')])||_0x2bf17f['end'][_0x35a7('0x20')](_0x381ce7[_0x35a7('0x7a')])));}function _0x3aed88(_0x1e8b06,_0x1693df){return _0x1e8b06[_0x35a7('0x32')](_0x1c2d1d=>_0x1693df[_0x35a7('0x32')](_0x2243d2=>_0x1c2d1d[_0x35a7('0x7c')][_0x35a7('0x54')](_0x2243d2[_0x35a7('0x7a')])));}_0x3733a7[_0x35a7('0x1')][_0x35a7('0x3a')]['on']('addMarker:suggestion',(_0x46fbb1,_0x16f789,_0x449bd9)=>{if(!_0x449bd9[_0x35a7('0x26')][_0x35a7('0x47')])return;const _0x15cbe1=_0x16f789[_0x35a7('0x3f')];if(!_0x15cbe1)return;const _0x32b281=_0x449bd9[_0x35a7('0x0')][_0x35a7('0x37')](_0x15cbe1);function _0x258e42(_0x1e2457){return Array[_0x35a7('0x4a')](_0x1e2457)?_0x1e2457:[_0x1e2457];}_0x32b281&&_0x35a7('0x38')===_0x15cbe1['name']&&_0x3f17d1(_0x32b281,_0x449bd9['writer'],(_0x288587,_0x2cd239,_0x5ccd10)=>_0x5ccd10[_0x35a7('0x13')](_0x258e42(_0x2cd239['classes']),_0x288587),(_0x8a40ee,_0x3d07d0,_0x4510fb)=>_0x4510fb[_0x35a7('0x7d')](_0x258e42(_0x3d07d0[_0x35a7('0x1b')]),_0x8a40ee));},{'priority':_0x35a7('0x5b')}),_0x5abdb5[_0x35a7('0x3')][_0x35a7('0xe')](_0x447811=>{if('insertion'!=_0x447811[_0x35a7('0x5d')]&&_0x35a7('0x33')!=_0x447811[_0x35a7('0x5d')])return;const _0x1db89c=_0x447811[_0x35a7('0x5c')]();if(null!=_0x1db89c&&_0x1db89c['is'](_0x35a7('0x29'),_0x35a7('0x3e'))){if('insertion'==_0x447811['type']){const _0x45fdfe=_0x447811[_0x35a7('0x5f')]()['filter'](_0x4ee142=>_0x4ee142['is'](_0x35a7('0x68')))[_0x35a7('0xa')](_0x2596c3=>_0x2596c3[_0x35a7('0x1')]);if(_0x45fdfe[_0x35a7('0x35')])return{'type':'insertion','content':_0x5623b3(_0x30a921,'*Insert:*\x20%0',_0x5623b3(_0x30a921,_0x35a7('0x61'),'\x22'+_0x45fdfe[_0x35a7('0x4e')]('\x20')+'\x22'))};}if(_0x35a7('0x33')==_0x447811[_0x35a7('0x5d')]){const _0x2b0f7c=_0x447811[_0x35a7('0x5f')]()[_0x35a7('0x28')](_0x194b40=>_0x194b40['is'](_0x35a7('0x68')))[_0x35a7('0xa')](_0x4b9f46=>_0x4b9f46[_0x35a7('0x1')]);if(_0x2b0f7c[_0x35a7('0x35')])return{'type':_0x35a7('0x33'),'content':_0x5623b3(_0x30a921,_0x35a7('0x73'),_0x5623b3(_0x30a921,_0x35a7('0x61'),'\x22'+_0x2b0f7c[_0x35a7('0x4e')]('\x20')+'\x22'))};}}}),_0x5abdb5[_0x35a7('0x3')][_0x35a7('0xe')](_0x4a0aea=>{if(_0x35a7('0x21')==_0x4a0aea['subType']){const _0x2e5c9f=_0x4a0aea[_0x35a7('0x5f')]()[_0x35a7('0x28')](_0x32f7d3=>_0x32f7d3['is'](_0x35a7('0x68')))[_0x35a7('0xa')](_0x5eca02=>_0x5eca02[_0x35a7('0x1')]),_0x80ad96=this['_getSuggestionCoords'](_0x4a0aea),_0x576302=_0x80ad96[_0x35a7('0x23')]-_0x80ad96[_0x35a7('0x45')]+0x1;if(_0x35a7('0x1c')==_0x4a0aea[_0x35a7('0x5d')])return _0x2e5c9f['length']?{'type':_0x35a7('0x1c'),'content':_0x5623b3(_0x30a921,'*Insert:*\x20%0',_0x5623b3(_0x30a921,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x576302,'\x22'+_0x2e5c9f[_0x35a7('0x4e')]('\x20')+'\x22']))}:{'type':_0x35a7('0x1c'),'content':_0x5623b3(_0x30a921,'*Insert:*\x20%0',_0x5623b3(_0x30a921,'ELEMENT_TABLE_ROW',_0x576302))};if(_0x35a7('0x33')==_0x4a0aea['type'])return _0x2e5c9f['length']?{'type':_0x35a7('0x33'),'content':_0x5623b3(_0x30a921,_0x35a7('0x73'),_0x5623b3(_0x30a921,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x576302,'\x22'+_0x2e5c9f[_0x35a7('0x4e')]('\x20')+'\x22']))}:{'type':_0x35a7('0x33'),'content':_0x5623b3(_0x30a921,'*Remove:*\x20%0',_0x5623b3(_0x30a921,_0x35a7('0x9'),_0x576302))};}if(_0x35a7('0x4f')==_0x4a0aea[_0x35a7('0x6b')]){const _0x1d7ccb=_0x4a0aea[_0x35a7('0x5f')]()[_0x35a7('0x28')](_0x16f18f=>_0x16f18f['is'](_0x35a7('0x68')))[_0x35a7('0xa')](_0x32b8da=>_0x32b8da[_0x35a7('0x1')]),_0x52681=this[_0x35a7('0x4')](_0x4a0aea),_0x252c2f=_0x52681['maxColumn']-_0x52681['minColumn']+0x1;if(_0x35a7('0x1c')==_0x4a0aea['type'])return _0x1d7ccb[_0x35a7('0x35')]?{'type':_0x35a7('0x1c'),'content':_0x5623b3(_0x30a921,_0x35a7('0x6e'),_0x5623b3(_0x30a921,_0x35a7('0x5e'),[_0x252c2f,'\x22'+_0x1d7ccb[_0x35a7('0x4e')]('\x20')+'\x22']))}:{'type':_0x35a7('0x1c'),'content':_0x5623b3(_0x30a921,'*Insert:*\x20%0',_0x5623b3(_0x30a921,_0x35a7('0x17'),_0x252c2f))};if('deletion'==_0x4a0aea[_0x35a7('0x5d')])return _0x1d7ccb[_0x35a7('0x35')]?{'type':'deletion','content':_0x5623b3(_0x30a921,_0x35a7('0x73'),_0x5623b3(_0x30a921,_0x35a7('0x5e'),[_0x252c2f,'\x22'+_0x1d7ccb['join']('\x20')+'\x22']))}:{'type':_0x35a7('0x33'),'content':_0x5623b3(_0x30a921,_0x35a7('0x73'),_0x5623b3(_0x30a921,'ELEMENT_TABLE_COLUMN',_0x252c2f))};}}),_0x5abdb5['_suggestionFactory'][_0x35a7('0x36')]('insertion',_0x35a7('0x21'),_0x35a7('0x55'),_0x369ec5),_0x5abdb5[_0x35a7('0xb')][_0x35a7('0x36')](_0x35a7('0x33'),_0x35a7('0x21'),'accept',_0x369ec5),_0x5abdb5[_0x35a7('0xb')][_0x35a7('0x36')](_0x35a7('0x1c'),_0x35a7('0x4f'),'discard',_0x1a3121),_0x5abdb5[_0x35a7('0xb')]['registerCustomCallback'](_0x35a7('0x33'),_0x35a7('0x4f'),_0x35a7('0x2c'),_0x1a3121),_0x5abdb5[_0x35a7('0xb')][_0x35a7('0x36')](_0x35a7('0x1c'),_0x35a7('0x4f'),_0x35a7('0x4e'),_0x3cceb6),_0x5abdb5[_0x35a7('0xb')]['registerCustomCallback'](_0x35a7('0x33'),_0x35a7('0x4f'),_0x35a7('0x4e'),_0x3cceb6),_0x5abdb5[_0x35a7('0xb')]['registerCustomCallback'](_0x35a7('0x1c'),_0x35a7('0x21'),'join',_0x3aed88),_0x5abdb5[_0x35a7('0xb')][_0x35a7('0x36')](_0x35a7('0x33'),'tableRow',_0x35a7('0x4e'),_0x3aed88);}[_0x35a7('0x30')](){const _0x10e3cd=this[_0x35a7('0x1a')],_0x15c02f=_0x10e3cd[_0x35a7('0x79')]['document']['selection'];return(_0x3df209,_0x15fb9b)=>{_0x10e3cd[_0x35a7('0x79')][_0x35a7('0x31')](_0x458136=>{const {commandName:_0x416235,commandParams:_0x41d590}=_0x15fb9b;let _0x4d3f94=_0x3df209[0x0]['end'][_0x35a7('0x7e')];_0x41d590&&_0x41d590[0x0]&&!0x1===_0x41d590[0x0]['forceValue']&&(_0x4d3f94=_0x3df209[0x0][_0x35a7('0x7a')][_0x35a7('0x34')]);const _0xdcf41d=_0x458136[_0x35a7('0x4d')](_0x4d3f94);if(_0x35a7('0x39')==_0xdcf41d[_0x35a7('0x43')]['rootName'])return;const _0x11cb00=Array['from'](_0x15c02f[_0x35a7('0x6')]())[_0x35a7('0xa')](_0x41923c=>_0x237b09[_0x35a7('0x7b')](_0x41923c));_0x458136[_0x35a7('0x2d')](_0xdcf41d),_0x10e3cd[_0x35a7('0x4c')]['get'](_0x416235)[_0x35a7('0x71')](),_0x41d590[_0x35a7('0x12')]({'forceDefaultExecution':!0x0}),_0x10e3cd['execute'](_0x416235,..._0x41d590);const _0x3c40f9=_0x11cb00[_0x35a7('0x28')](_0x4289c2=>'$graveyard'!=_0x4289c2[_0x35a7('0x43')][_0x35a7('0x48')]);_0x3c40f9[_0x35a7('0x35')]>0x0&&_0x458136['setSelection'](_0x3c40f9);for(const _0x3b21da of _0x11cb00)_0x3b21da[_0x35a7('0x2e')]();});};}[_0x35a7('0x46')](_0x2e38a3){const _0x291043=this[_0x35a7('0x1a')][_0x35a7('0x15')][_0x35a7('0x65')](_0x35a7('0x7f'));let _0x8d8141=Number['MAX_SAFE_INTEGER'],_0x3a09d6=Number[_0x35a7('0x51')],_0x192d22=Number[_0x35a7('0x2a')],_0x27ec2f=Number[_0x35a7('0x51')];for(const _0x26e08f of _0x2e38a3){if(_0x35a7('0x39')==_0x26e08f['root']['rootName'])continue;const {row:_0x4034c8,column:_0x598213}=_0x291043[_0x35a7('0xd')](_0x26e08f),_0x260a28=_0x26e08f[_0x35a7('0x7')](_0x35a7('0x44'))?_0x26e08f[_0x35a7('0x42')](_0x35a7('0x44'))-0x1:0x0,_0x8de36f=_0x26e08f['hasAttribute'](_0x35a7('0x10'))?_0x26e08f[_0x35a7('0x42')]('colspan')-0x1:0x0;_0x8d8141=_0x4034c8<_0x8d8141?_0x4034c8:_0x8d8141,_0x3a09d6=_0x4034c8+_0x260a28>_0x3a09d6?_0x4034c8+_0x260a28:_0x3a09d6,_0x192d22=_0x598213<_0x192d22?_0x598213:_0x192d22,_0x27ec2f=_0x598213+_0x8de36f>_0x27ec2f?_0x598213+_0x8de36f:_0x27ec2f;}return{'minRow':_0x8d8141,'maxRow':_0x3a09d6,'minColumn':_0x192d22,'maxColumn':_0x27ec2f};}[_0x35a7('0x40')](){const _0x534b48=this[_0x35a7('0x1a')],_0x4240d3=_0x534b48[_0x35a7('0x15')][_0x35a7('0x65')](_0x35a7('0x56')),_0x357f4b=_0x534b48[_0x35a7('0x15')][_0x35a7('0x65')](_0x35a7('0x7f'));_0x534b48['model']['document']['on'](_0x35a7('0x64'),()=>{const _0x347f34=Array['from'](_0x534b48[_0x35a7('0x79')][_0x35a7('0x2f')][_0x35a7('0x6f')][_0x35a7('0x3c')]());for(const {name:_0xe3c6c3,data:_0x3ad545}of _0x347f34){const {group:_0x245825,id:_0x504f9e,subType:_0x251a0a}=_0x4240d3[_0x35a7('0x82')](_0xe3c6c3);if(_0x35a7('0x63')!=_0x245825)continue;if(null!=_0x3ad545[_0x35a7('0x8')])continue;const _0x2a4474=_0x4240d3[_0x35a7('0x16')](_0x504f9e);this['_tablePostFixingSubtypes'][_0x35a7('0xf')](_0x251a0a)&&this[_0x35a7('0x5')][_0x35a7('0x60')](_0x2a4474);}},{'priority':'low'});const _0x31ab6d=(_0x76b341,_0x248d66)=>{let _0x1bd7ea=!0x1;const _0x2f9a22=_0x248d66[_0x35a7('0x69')](_0x76b341),_0x59c257=_0x76b341[_0x35a7('0x3d')](_0x35a7('0x3e')),_0x41f6a1=_0x357f4b[_0x35a7('0xd')](_0x76b341);for(const _0x1a5665 of this[_0x35a7('0x5')]){const _0x8eb94c=_0x1a5665[_0x35a7('0x6b')],_0x1805e9=_0x8eb94c['startsWith'](_0x35a7('0x14')),_0x2079fc=_0x8eb94c[_0x35a7('0x41')](_0x1805e9?0xa:0x5),_0x222827=_0x2079fc[_0x35a7('0x2b')](),_0x27fd74=_0x222827[_0x35a7('0x41')](0x0,0x3)+'span',_0x44b046=_0x35a7('0x83')+_0x2079fc,_0x2a281f=_0x35a7('0x52')+_0x2079fc;if(!_0x1a5665[_0x35a7('0x6d')])continue;if(_0x59c257!=_0x1a5665[_0x35a7('0x4b')]()[_0x35a7('0x7a')][_0x35a7('0x3d')](_0x35a7('0x3e')))continue;if(_0x1a5665[_0x35a7('0x1e')](_0x2f9a22))continue;const _0x398bba=_0x76b341[_0x35a7('0x7')](_0x27fd74)?_0x76b341[_0x35a7('0x42')](_0x27fd74)-0x1:0x0,_0x62af54=this[_0x35a7('0x4')](_0x1a5665),_0x3ebfd9=_0x62af54[_0x44b046],_0x2ec60c=_0x62af54[_0x2a281f];_0x3ebfd9<=_0x41f6a1[_0x222827]&&_0x41f6a1[_0x222827]+_0x398bba<=_0x2ec60c&&(_0x1a5665['addRange'](_0x2f9a22),_0x1bd7ea=!0x0);}return _0x1bd7ea;};_0x534b48[_0x35a7('0x79')]['document']['registerPostFixer'](_0x50ccdb=>{let _0xeeecae=!0x1;for(const _0x19b6c8 of _0x534b48['model'][_0x35a7('0x2f')][_0x35a7('0x6f')]['getChanges']())if(_0x35a7('0x78')==_0x19b6c8[_0x35a7('0x5d')]){if(_0x35a7('0x21')==_0x19b6c8['name'])for(const _0x376382 of _0x19b6c8[_0x35a7('0x25')][_0x35a7('0x34')][_0x35a7('0x3b')]())_0xeeecae=_0xeeecae||_0x31ab6d(_0x376382,_0x50ccdb);else _0x35a7('0x38')==_0x19b6c8[_0x35a7('0x27')]&&(_0xeeecae=_0xeeecae||_0x31ab6d(_0x19b6c8[_0x35a7('0x25')][_0x35a7('0x34')],_0x50ccdb));}return _0xeeecae;});}[_0x35a7('0x4')](_0x4601d1){return this[_0x35a7('0x46')](_0x4601d1[_0x35a7('0x6')]()[_0x35a7('0xa')](_0x30f92e=>_0x30f92e[_0x35a7('0x7a')][_0x35a7('0x34')]));}}function se(_0x1a63e){return Array[_0x35a7('0x57')](new Set(_0x1a63e)[_0x35a7('0x74')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5186=['enableCommand','editor','requires','TrackChangesEditing','get','has','afterInit','plugins','TableCaptionEditing'];(function(_0x33628f,_0x518688){const _0x517858=function(_0x3fde70){while(--_0x3fde70){_0x33628f['push'](_0x33628f['shift']());}};_0x517858(++_0x518688);}(_0x5186,0x13c));const _0x5178=function(_0x33628f,_0x518688){_0x33628f=_0x33628f-0x0;let _0x517858=_0x5186[_0x33628f];return _0x517858;};import{Plugin as _0x5e314e}from'ckeditor5/src/core';import _0x2d076b from'./table';export default class vt extends _0x5e314e{static get[_0x5178('0x1')](){return[_0x2d076b];}[_0x5178('0x5')](){const _0x5f2900=this[_0x5178('0x0')];if(!_0x5f2900['plugins'][_0x5178('0x4')](_0x5178('0x7')))return;_0x5f2900[_0x5178('0x6')][_0x5178('0x3')](_0x5178('0x2'))[_0x5178('0x8')]('toggleTableCaption');}}
|