@ckeditor/ckeditor5-track-changes 38.0.0-rc.0 → 38.0.0-rc.1
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 +2 -2
- 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 _0x2d4d=['backward','list.properties','commandParams','push','getLastPosition','registerDescriptionCallback','ListUtils','listStart','locale','handleListReversedCommand','listItem','listReversed','ELEMENT_','styles','unshift','getAttribute','plugins','map','getListTypeFromListStyleType','toUpperCase','before','createPositionAt','listType','numbered','flat','change','selection','type','_getSuggestionBlocks','config','element','commandName','filter','editor','get','getSiblingNodes','document','model','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','from','_getTranslationKeyForListStyle','format','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','TrackChangesEditing','ListPropertiesEditing','handleListStartCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','handleDescriptions','bind','_getSuggestionBlocksForListStyle','enableCommand','length','createRange','parent','listStyle','forward','getSelectedBlocks'];(function(_0x19a4c2,_0x2d4d66){const _0x153af6=function(_0x2c377d){while(--_0x2c377d){_0x19a4c2['push'](_0x19a4c2['shift']());}};_0x153af6(++_0x2d4d66);}(_0x2d4d,0xcf));const _0x153a=function(_0x19a4c2,_0x2d4d66){_0x19a4c2=_0x19a4c2-0x0;let _0x153af6=_0x2d4d[_0x19a4c2];return _0x153af6;};import{Plugin as _0x4675c1}from'ckeditor5/src/core';import{getTranslation as _0x2b64b2}from'../utils/common-translations';export default class nt extends _0x4675c1{['afterInit'](){if(!this[_0x153a('0x6')][_0x153a('0x31')]['has'](_0x153a('0x14')))return;const _0x47aaae=this[_0x153a('0x6')][_0x153a('0x2')]['get'](_0x153a('0x22')),_0x45da18=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13'));_0x47aaae[_0x153a('0x2e')]&&_0x45da18[_0x153a('0x1a')](_0x153a('0x1e'),this[_0x153a('0x10')][_0x153a('0x18')](this)),_0x47aaae['reversed']&&_0x45da18[_0x153a('0x1a')]('listReversed',this[_0x153a('0x2a')][_0x153a('0x18')](this)),_0x47aaae['startIndex']&&_0x45da18[_0x153a('0x1a')](_0x153a('0x28'),this[_0x153a('0x15')][_0x153a('0x18')](this)),_0x45da18['_descriptionFactory'][_0x153a('0x26')](this[_0x153a('0x17')]['bind'](this));}[_0x153a('0x10')](_0x5ef6ca,_0x56a4c9={}){const _0x2a598c=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')]('TrackChangesEditing'),_0x14e033=this[_0x153a('0x19')]();this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x3a')](()=>{_0x2a598c[_0x153a('0x12')](_0x14e033,{'commandName':_0x153a('0x1e'),'commandParams':[{'type':_0x56a4c9[_0x153a('0x0')]}],'formatGroupId':_0x153a('0x1e')});});}[_0x153a('0x2a')](_0x56e7cc,_0x32e176={}){const _0x42b4b1=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13')),_0xe11488=this[_0x153a('0x1')](_0x552d71=>_0x552d71['is'](_0x153a('0x3'),_0x153a('0x2b'))&&'numbered'===_0x552d71[_0x153a('0x30')](_0x153a('0x37')));if(_0xe11488[_0x153a('0x1b')]<0x1)return;const _0x4adeb7=_0xe11488[_0x153a('0x32')](_0x58133b=>this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x1c')](this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x36')](_0x58133b,_0x153a('0x35')),this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x36')](_0x58133b,0x0)));this[_0x153a('0x6')][_0x153a('0xa')]['change'](()=>{_0x42b4b1[_0x153a('0x12')](_0x4adeb7,{'commandName':_0x153a('0x2c'),'commandParams':[{'reversed':_0x32e176['reversed']}],'formatGroupId':_0x153a('0x2c')});});}[_0x153a('0x15')](_0x3d991f,_0x49dcf0={}){const _0x5a0ebb=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13')),_0x48d6bd=this[_0x153a('0x1')](_0x55f504=>_0x55f504['is'](_0x153a('0x3'),_0x153a('0x2b'))&&_0x153a('0x38')===_0x55f504[_0x153a('0x30')]('listType'));if(_0x48d6bd['length']<0x1)return;const _0x3979e8=_0x48d6bd[_0x153a('0x32')](_0x4e9167=>this[_0x153a('0x6')]['model']['createRange'](this[_0x153a('0x6')]['model'][_0x153a('0x36')](_0x4e9167,_0x153a('0x35')),this[_0x153a('0x6')]['model']['createPositionAt'](_0x4e9167,0x0)));this[_0x153a('0x6')]['model'][_0x153a('0x3a')](()=>{_0x5a0ebb['markMultiRangeBlockFormat'](_0x3979e8,{'commandName':_0x153a('0x28'),'commandParams':[{'startIndex':_0x49dcf0['startIndex']}],'formatGroupId':_0x153a('0x28')});});}[_0x153a('0x17')](_0x2c4163){const _0x149a5a=this[_0x153a('0x6')][_0x153a('0x29')],{data:_0x44d2e3}=_0x2c4163;if(!_0x44d2e3)return;let _0x4ffe5e,_0x31fa4b;switch(_0x44d2e3[_0x153a('0x4')]){case _0x153a('0x1e'):_0x4ffe5e='*Change\x20to:*\x20%0',_0x31fa4b={'type':_0x153a('0xf'),'content':_0x2b64b2(_0x149a5a,_0x4ffe5e,_0x2b64b2(_0x149a5a,this[_0x153a('0xe')](_0x44d2e3['commandParams'][0x0]['type'])))};break;case _0x153a('0x2c'):_0x4ffe5e=_0x44d2e3[_0x153a('0x23')][0x0]['reversed']?_0x153a('0xb'):_0x153a('0x11'),_0x31fa4b={'type':'format','content':_0x2b64b2(_0x149a5a,_0x4ffe5e)};break;case'listStart':_0x4ffe5e=_0x153a('0x16'),_0x31fa4b={'type':_0x153a('0xf'),'content':_0x2b64b2(_0x149a5a,_0x4ffe5e,_0x44d2e3[_0x153a('0x23')][0x0]['startIndex'])};}return _0x31fa4b;}[_0x153a('0x19')](){var _0x12030f,_0x718d91,_0x55204f,_0xe0f31c;const _0x42dcd7=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')]('ListUtils');let _0x4f86c6=Array[_0x153a('0xd')](this['editor']['model'][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0x20')]());return(null===(_0x12030f=_0x4f86c6[0x0])||void 0x0===_0x12030f?void 0x0:_0x12030f['is'](_0x153a('0x3'),_0x153a('0x2b')))&&_0x4f86c6[_0x153a('0x2f')](..._0x42dcd7[_0x153a('0x8')](this[_0x153a('0x6')]['model']['document'][_0x153a('0x3b')][_0x153a('0xc')](),_0x153a('0x21'))),(null===(_0x718d91=_0x4f86c6[_0x4f86c6[_0x153a('0x1b')]-0x1])||void 0x0===_0x718d91?void 0x0:_0x718d91['is']('element',_0x153a('0x2b')))&&_0x4f86c6[_0x153a('0x24')](..._0x42dcd7[_0x153a('0x8')](this[_0x153a('0x6')][_0x153a('0xa')]['document']['selection'][_0x153a('0x25')](),_0x153a('0x1f'))),_0x4f86c6=[...new Set(_0x4f86c6)],(null===(_0xe0f31c=null===(_0x55204f=this[_0x153a('0x6')]['model'][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0xc')]())||void 0x0===_0x55204f?void 0x0:_0x55204f[_0x153a('0x1d')])||void 0x0===_0xe0f31c?void 0x0:_0xe0f31c['is'](_0x153a('0x3'),_0x153a('0x2b')))&&(_0x4f86c6=_0x4f86c6[_0x153a('0x5')](_0x30a3d4=>_0x30a3d4['is'](_0x153a('0x3'),_0x153a('0x2b')))),_0x4f86c6;}[_0x153a('0x1')](_0x344f27){const _0x2efbd0=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x27'));let _0x331ca8=Array[_0x153a('0xd')](this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0x20')]())[_0x153a('0x5')](_0x344f27)['map'](_0x109d32=>{const _0x5a9280=this[_0x153a('0x6')]['model'][_0x153a('0x36')](_0x109d32,0x0);return[..._0x2efbd0[_0x153a('0x8')](_0x5a9280,_0x153a('0x21')),..._0x2efbd0[_0x153a('0x8')](_0x5a9280,_0x153a('0x1f'))];})[_0x153a('0x39')]();return _0x331ca8=[...new Set(_0x331ca8)],_0x331ca8;}[_0x153a('0xe')](_0x1b5852){return _0x153a('0x2d')+this['editor'][_0x153a('0x31')][_0x153a('0x7')]('ListUtils')[_0x153a('0x33')](_0x1b5852)['toUpperCase']()+'_LIST_'+_0x1b5852[_0x153a('0x34')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dbe=['ELEMENT_MEDIA','media','editor','registerElementLabel','get','elementToElement','for','showSuggestionHighlights','createEmptyElement','downcastDispatcher','mediaEmbed','attribute:url:media','conversion','data','stop','div','plugins','_descriptionFactory','afterInit','high','TrackChangesEditing','has','dataDowncast'];(function(_0x20e4a1,_0x1dbee4){const _0x419e5a=function(_0xbb0d4d){while(--_0xbb0d4d){_0x20e4a1['push'](_0x20e4a1['shift']());}};_0x419e5a(++_0x1dbee4);}(_0x1dbe,0xee));const _0x419e=function(_0x20e4a1,_0x1dbee4){_0x20e4a1=_0x20e4a1-0x0;let _0x419e5a=_0x1dbe[_0x20e4a1];return _0x419e5a;};import{Plugin as _0x28ba4f}from'ckeditor5/src/core';import{getTranslation as _0x3201c5}from'../utils/common-translations';export default class ot extends _0x28ba4f{[_0x419e('0xa')](){const _0x14b3e7=this[_0x419e('0x11')];if(!_0x14b3e7[_0x419e('0x8')][_0x419e('0xd')]('MediaEmbedEditing'))return;const _0x353109=_0x14b3e7[_0x419e('0x8')][_0x419e('0x13')](_0x419e('0xc')),_0x4047d2=_0x14b3e7['locale'];_0x353109['enableCommand'](_0x419e('0x2')),_0x353109[_0x419e('0x9')][_0x419e('0x12')](_0x419e('0x10'),_0x10adbd=>_0x3201c5(_0x4047d2,_0x419e('0xf'),_0x10adbd)),_0x14b3e7[_0x419e('0x4')][_0x419e('0x15')](_0x419e('0xe'))[_0x419e('0x14')]({'model':'media','view':(_0x28255f,{writer:_0xf1e075,options:_0xa9438e})=>{if(_0xa9438e[_0x419e('0x16')])return _0xf1e075[_0x419e('0x0')](_0x419e('0x7'));},'converterPriority':_0x419e('0xb')}),_0x14b3e7[_0x419e('0x5')][_0x419e('0x1')]['on'](_0x419e('0x3'),(_0x5574c,_0x39ba02,_0xd25249)=>{_0xd25249['options'][_0x419e('0x16')]&&_0x5574c[_0x419e('0x6')]();},{'priority':_0x419e('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56af=['plugins','has','editor','enableCommand','get','mention'];(function(_0x13638d,_0x56af60){const _0x5c391a=function(_0x4b13a4){while(--_0x4b13a4){_0x13638d['push'](_0x13638d['shift']());}};_0x5c391a(++_0x56af60);}(_0x56af,0xb5));const _0x5c39=function(_0x13638d,_0x56af60){_0x13638d=_0x13638d-0x0;let _0x5c391a=_0x56af[_0x13638d];return _0x5c391a;};import{Plugin as _0x5bbba6}from'ckeditor5/src/core';export default class rt extends _0x5bbba6{['afterInit'](){const _0x36fa30=this[_0x5c39('0x1')];_0x36fa30[_0x5c39('0x5')][_0x5c39('0x0')]('MentionEditing')&&_0x36fa30[_0x5c39('0x5')][_0x5c39('0x3')]('TrackChangesEditing')[_0x5c39('0x2')](_0x5c39('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eab=['pageBreak','get','plugins','editor','registerElementLabel','TrackChangesEditing','afterInit','enableCommand','ELEMENT_PAGE_BREAK','has','PageBreakEditing'];(function(_0x286a49,_0x3eab2d){const _0x264b44=function(_0x2a2801){while(--_0x2a2801){_0x286a49['push'](_0x286a49['shift']());}};_0x264b44(++_0x3eab2d);}(_0x3eab,0x10d));const _0x264b=function(_0x286a49,_0x3eab2d){_0x286a49=_0x286a49-0x0;let _0x264b44=_0x3eab[_0x286a49];return _0x264b44;};import{Plugin as _0x27061a}from'ckeditor5/src/core';import{getTranslation as _0x52d7ba}from'../utils/common-translations';export default class at extends _0x27061a{[_0x264b('0x1')](){const _0x8f4f07=this[_0x264b('0x9')];if(!_0x8f4f07[_0x264b('0x8')][_0x264b('0x4')](_0x264b('0x5')))return;_0x8f4f07[_0x264b('0x8')][_0x264b('0x7')](_0x264b('0x0'))[_0x264b('0x2')](_0x264b('0x6'));const _0x336b0d=_0x8f4f07[_0x264b('0x8')][_0x264b('0x7')](_0x264b('0x0')),_0x5f2a3e=_0x8f4f07['locale'];_0x336b0d['_descriptionFactory'][_0x264b('0xa')](_0x264b('0x6'),_0x489a16=>_0x52d7ba(_0x5f2a3e,_0x264b('0x3'),_0x489a16));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x560f=['showSuggestionHighlights','getItemLabel','afterInit','addClass','_descriptionFactory','has','bindElementToMarker','end','name','selection','$text','registerDescriptionCallback','schema','checkChild','registerElementLabel','commandName','model','get','format','paragraph','addMarker:suggestion:insertion','markBlockFormat','mapper','markerName','locale','TrackChangesEditing','consumable','start','isObject','isLimit','parent','downcastDispatcher','ELEMENT_PARAGRAPH','nodeAfter','activeMarkers','Paragraph','writer','ck-suggestion-marker-split','includes','getSelectedBlocks','editor','filter','isTouching','highest','type','plugins','markerRange','consume','isBlock','change','document','insertion','editing','ck-suggestion-marker--active','insertParagraph','enableCommand'];(function(_0x1b7bd3,_0x560f47){const _0x24575d=function(_0x236030){while(--_0x236030){_0x1b7bd3['push'](_0x1b7bd3['shift']());}};_0x24575d(++_0x560f47);}(_0x560f,0xd7));const _0x2457=function(_0x1b7bd3,_0x560f47){_0x1b7bd3=_0x1b7bd3-0x0;let _0x24575d=_0x560f[_0x1b7bd3];return _0x24575d;};import{Plugin as _0x1b0538}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5952b1}from'./utils';import{getTranslation as _0x1cf942}from'../utils/common-translations';export default class ct extends _0x1b0538{[_0x2457('0xb')](){const _0x4939f0=this[_0x2457('0x31')];if(!_0x4939f0[_0x2457('0x36')][_0x2457('0xe')](_0x2457('0x2c')))return;const _0x3ba0ca=_0x4939f0[_0x2457('0x21')],_0x3aa441=_0x4939f0['plugins'][_0x2457('0x1a')](_0x2457('0x22'));_0x3aa441[_0x2457('0xd')][_0x2457('0x17')](_0x2457('0x1c'),_0x51a650=>_0x1cf942(_0x3ba0ca,_0x2457('0x29'),_0x51a650)),_0x3aa441[_0x2457('0x8')]('paragraph',(_0x386e6b,_0x4b7885={})=>{const _0x1601b4=_0x4939f0[_0x2457('0x19')][_0x2457('0x3')],_0x1dbcdf=_0x4b7885['selection']||_0x1601b4[_0x2457('0x12')],_0x3c96fa=Array['from'](_0x1dbcdf[_0x2457('0x30')]())[_0x2457('0x32')](_0x389c57=>function(_0x5e1acb,_0xa145ff){return _0xa145ff['checkChild'](_0x5e1acb[_0x2457('0x27')],_0x2457('0x1c'))&&!_0xa145ff[_0x2457('0x25')](_0x5e1acb)&&_0x2457('0x1c')!=_0x5e1acb[_0x2457('0x11')];}(_0x389c57,this['editor'][_0x2457('0x19')][_0x2457('0x15')]));_0x4939f0['model'][_0x2457('0x2')](()=>{for(const _0x5cbc3c of _0x3c96fa)_0x3aa441[_0x2457('0x1e')](_0x5cbc3c,{'commandName':_0x2457('0x1c'),'commandParams':[],'formatGroupId':'blockName'},_0x5952b1(_0x5cbc3c));});}),_0x3aa441[_0x2457('0xd')]['registerDescriptionCallback'](_0x42462c=>{const {data:_0x24f228}=_0x42462c;if(_0x24f228&&_0x2457('0x1c')==_0x24f228[_0x2457('0x18')])return{'type':_0x2457('0x1b'),'content':_0x1cf942(_0x3ba0ca,'*Change\x20to:*\x20%0',_0x1cf942(_0x3ba0ca,_0x2457('0x29')))};}),_0x3aa441[_0x2457('0x8')](_0x2457('0x7')),_0x4939f0[_0x2457('0x5')][_0x2457('0x28')]['on'](_0x2457('0x1d'),ar(_0x4939f0),{'priority':_0x2457('0x34')}),_0x4939f0['data'][_0x2457('0x28')]['on'](_0x2457('0x1d'),(_0x182b38,_0x272343,_0x5ef6af)=>{_0x5ef6af['options'][_0x2457('0x9')]&&ar(_0x4939f0,{'showActiveMarker':!0x1})(_0x182b38,_0x272343,_0x5ef6af);},{'priority':_0x2457('0x34')});const _0x528426=_0x3aa441[_0x2457('0xd')];_0x528426[_0x2457('0x14')](_0x164fc7=>{if('insertion'!==_0x164fc7[_0x2457('0x35')])return;const {start:_0x51afa6,end:_0x26e4e5}=_0x164fc7['getFirstRange']();if(!_0x51afa6[_0x2457('0x33')](_0x26e4e5)||!_0x51afa6[_0x2457('0x2a')])return;const _0x39b743=_0x4939f0[_0x2457('0x19')]['schema'],_0x45d20d=_0x51afa6[_0x2457('0x2a')];return _0x39b743[_0x2457('0x1')](_0x45d20d)&&!_0x39b743[_0x2457('0x26')](_0x45d20d)&&_0x39b743['checkChild'](_0x45d20d,'$text')?{'type':_0x2457('0x4'),'content':_0x1cf942(_0x3ba0ca,'*Insert:*\x20%0',_0x528426[_0x2457('0xa')](_0x45d20d,0x1))}:void 0x0;});}}function ar(_0x748503,{showActiveMarker:_0x6c6f63=!0x0}={}){return(_0x3e9985,_0x42e6b6,_0x261762)=>{const _0x24a06e=_0x748503['plugins']['get'](_0x2457('0x22')),_0x3fb7b3=_0x42e6b6[_0x2457('0x37')][_0x2457('0x24')],_0x385e5d=_0x42e6b6[_0x2457('0x37')][_0x2457('0x10')],_0x2250b5=_0x748503['model']['schema'];if(!_0x3fb7b3[_0x2457('0x33')](_0x385e5d)||!_0x3fb7b3[_0x2457('0x2a')])return;const _0x35875c=_0x3fb7b3[_0x2457('0x2a')];if(_0x2250b5[_0x2457('0x1')](_0x35875c)&&!_0x2250b5['isLimit'](_0x35875c)&&_0x2250b5[_0x2457('0x16')](_0x35875c,_0x2457('0x13'))){if(!_0x261762[_0x2457('0x23')][_0x2457('0x0')](_0x42e6b6[_0x2457('0x37')],_0x3e9985['name']))return;const _0x2188a6=_0x261762[_0x2457('0x2d')]['createUIElement']('span',{'class':_0x2457('0x2e')}),_0x5c0957=_0x261762[_0x2457('0x1f')]['toViewPosition'](_0x385e5d);_0x6c6f63&&_0x24a06e[_0x2457('0x2b')][_0x2457('0x2f')](_0x42e6b6[_0x2457('0x20')])&&_0x261762[_0x2457('0x2d')][_0x2457('0xc')](_0x2457('0x6'),_0x2188a6),_0x261762[_0x2457('0x2d')]['insert'](_0x5c0957,_0x2188a6),_0x261762[_0x2457('0x1f')][_0x2457('0xf')](_0x2188a6,_0x42e6b6[_0x2457('0x20')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fd9=['commandName','format','locale','*Remove\x20all\x20formatting*','schema','document','model','get','createRangeOn','isFormatting','removeFormat','markInlineFormat','getRanges','TrackChangesEditing','from','plugins','getAttributeProperties','isCollapsed','registerDescriptionCallback','RemoveFormatEditing','afterInit','change'];(function(_0x24743a,_0x2fd951){const _0x896aeb=function(_0x3e8fe2){while(--_0x3e8fe2){_0x24743a['push'](_0x24743a['shift']());}};_0x896aeb(++_0x2fd951);}(_0x2fd9,0xfd));const _0x896a=function(_0x24743a,_0x2fd951){_0x24743a=_0x24743a-0x0;let _0x896aeb=_0x2fd9[_0x24743a];return _0x896aeb;};import{Plugin as _0x590d8c}from'ckeditor5/src/core';import{getTranslation as _0x2ad178}from'../utils/common-translations';export default class ht extends _0x590d8c{[_0x896a('0x9')](){const _0x2c5e89=this['editor'];if(!_0x2c5e89[_0x896a('0x4')]['has'](_0x896a('0x8')))return;const _0x334329=_0x2c5e89[_0x896a('0x4')][_0x896a('0x12')](_0x896a('0x2'));_0x334329['enableCommand'](_0x896a('0x15'),_0x1b0488=>{const _0x54abf9=_0x2c5e89[_0x896a('0x11')][_0x896a('0x10')]['selection'];_0x54abf9[_0x896a('0x6')]?_0x1b0488():_0x2c5e89['model'][_0x896a('0xa')](()=>{const _0x3219d4=Array[_0x896a('0x3')](_0x54abf9[_0x896a('0x1')]());for(const _0x5ebdfd of _0x3219d4)for(const _0x22303a of _0x5ebdfd['getItems']())eo(_0x22303a,_0x2c5e89[_0x896a('0x11')][_0x896a('0xf')])&&_0x334329[_0x896a('0x0')](_0x2c5e89[_0x896a('0x11')][_0x896a('0x13')](_0x22303a),{'commandName':'removeFormat','commandParams':[]});});}),_0x334329['_descriptionFactory'][_0x896a('0x7')](_0x5b8d81=>{const {data:_0x47b299}=_0x5b8d81;if(_0x47b299&&_0x896a('0x15')==_0x47b299[_0x896a('0xb')])return{'type':_0x896a('0xc'),'content':_0x2ad178(_0x2c5e89[_0x896a('0xd')],_0x896a('0xe'))};});}}function eo(_0x20a881,_0x1adab4){for(const [_0x24565d]of _0x20a881['getAttributes']()){const _0x44d2f0=_0x1adab4[_0x896a('0x5')](_0x24565d);if(_0x44d2f0&&_0x44d2f0[_0x896a('0x14')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5705=['goToPreviousRestrictedEditingException','editor','has','discardSuggestion','acceptSelectedSuggestions','acceptSuggestion','get','goToNextRestrictedEditingException','enableCommand','discardSelectedSuggestions','RestrictedEditingModeEditing','TrackChangesEditing','plugins','afterInit','trackChanges','acceptAllSuggestions'];(function(_0x299908,_0x570579){const _0x53eb16=function(_0x3b4ff5){while(--_0x3b4ff5){_0x299908['push'](_0x299908['shift']());}};_0x53eb16(++_0x570579);}(_0x5705,0x112));const _0x53eb=function(_0x299908,_0x570579){_0x299908=_0x299908-0x0;let _0x53eb16=_0x5705[_0x299908];return _0x53eb16;};import{Plugin as _0xe978ca}from'ckeditor5/src/core';export default class ut extends _0xe978ca{[_0x53eb('0xb')](){const _0x12b334=this[_0x53eb('0xf')];if(!_0x12b334['plugins'][_0x53eb('0x0')](_0x53eb('0x8')))return;const _0x22572c=_0x12b334[_0x53eb('0xa')][_0x53eb('0x4')](_0x53eb('0x9'));_0x22572c[_0x53eb('0x6')](_0x53eb('0xe')),_0x22572c[_0x53eb('0x6')](_0x53eb('0x5'));const _0xb17597=_0x12b334[_0x53eb('0xa')][_0x53eb('0x4')](_0x53eb('0x8'));_0xb17597[_0x53eb('0x6')](_0x53eb('0xc')),_0xb17597['enableCommand'](_0x53eb('0x3')),_0xb17597[_0x53eb('0x6')](_0x53eb('0x1')),_0xb17597[_0x53eb('0x6')](_0x53eb('0xd')),_0xb17597[_0x53eb('0x6')]('discardAllSuggestions'),_0xb17597[_0x53eb('0x6')](_0x53eb('0x2')),_0xb17597[_0x53eb('0x6')](_0x53eb('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x535f=['createUIElement','requires','softBreak','createPositionBefore','locale','writer','deletion','TrackChangesEditing','high','ELEMENT_LINE_BREAK','activeMarkers','ck-suggestion-marker-','addMarker:suggestion:deletion','get','init','editor','showSuggestionHighlights','merge','downcastDispatcher','addMarker:suggestion','editing','insert','consumable','bindElementToMarker','shiftEnter','plugins','getItems','name','addClass','model','markerRange','toViewPosition','markerName','addMarker:suggestion:insertion','enableCommand','mapper','test','options'];(function(_0x42f57a,_0x535fb7){const _0x1768da=function(_0x133660){while(--_0x133660){_0x42f57a['push'](_0x42f57a['shift']());}};_0x1768da(++_0x535fb7);}(_0x535f,0x17d));const _0x1768=function(_0x42f57a,_0x535fb7){_0x42f57a=_0x42f57a-0x0;let _0x1768da=_0x535f[_0x42f57a];return _0x1768da;};import{Plugin as _0x3dcc8e}from'ckeditor5/src/core';import{ShiftEnter as _0x5914e4}from'ckeditor5/src/enter';import{getTranslation as _0x15e932}from'../utils/common-translations';export default class ft extends _0x3dcc8e{static get[_0x1768('0x0')](){return[_0x5914e4];}[_0x1768('0xd')](){const _0x569f09=this[_0x1768('0xe')],_0x295fe3=_0x569f09[_0x1768('0x18')][_0x1768('0xc')](_0x1768('0x6'));_0x295fe3[_0x1768('0x21')](_0x1768('0x17')),_0x569f09[_0x1768('0x13')]['downcastDispatcher']['on'](_0x1768('0x20'),re(_0x569f09),{'priority':_0x1768('0x7')}),_0x569f09[_0x1768('0x13')][_0x1768('0x11')]['on'](_0x1768('0xb'),re(_0x569f09),{'priority':'high'}),_0x569f09['data'][_0x1768('0x11')]['on'](_0x1768('0x12'),(_0x5bf628,_0x943588,_0x56fdcf)=>{_0x56fdcf[_0x1768('0x24')][_0x1768('0xf')]&&re(_0x569f09,{'showActiveMarker':!0x1})(_0x5bf628,_0x943588,_0x56fdcf);}),_0x295fe3['_descriptionFactory']['registerElementLabel'](_0x1768('0x1'),_0x46b217=>_0x15e932(_0x569f09[_0x1768('0x3')],_0x1768('0x8'),_0x46b217));}}function re(_0x3402cb,{showActiveMarker:_0x333879=!0x0}={}){return(_0x1cb897,_0x144d2e,_0xf3fe63)=>{const _0x1f843f=_0x3402cb[_0x1768('0x18')][_0x1768('0xc')](_0x1768('0x6'));if(!_0xf3fe63[_0x1768('0x15')][_0x1768('0x23')](_0x144d2e[_0x1768('0x1d')],_0x1cb897[_0x1768('0x1a')]))return;const _0x2b5198=_0x3402cb[_0x1768('0x1c')];for(const _0x18bf22 of _0x144d2e[_0x1768('0x1d')][_0x1768('0x19')]()){if(!_0x18bf22['is']('element','softBreak'))continue;const _0x59eb8b=_0x1768('0x5')==_0x144d2e[_0x1768('0x1f')]['split'](':')[0x1]?_0x1768('0x10'):'split',_0x4705d6=_0xf3fe63[_0x1768('0x4')][_0x1768('0x25')]('span',{'class':_0x1768('0xa')+_0x59eb8b}),_0x57c01c=_0xf3fe63[_0x1768('0x22')][_0x1768('0x1e')](_0x2b5198[_0x1768('0x2')](_0x18bf22));_0x333879&&_0x1f843f[_0x1768('0x9')]['includes'](_0x144d2e[_0x1768('0x1f')])&&_0xf3fe63[_0x1768('0x4')][_0x1768('0x1b')]('ck-suggestion-marker--active',_0x4705d6),_0xf3fe63['writer'][_0x1768('0x14')](_0x57c01c,_0x4705d6),_0xf3fe63[_0x1768('0x22')][_0x1768('0x16')](_0x4705d6,_0x144d2e[_0x1768('0x1f')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5491=['format','FORMAT_RESTRICTED_ENABLED','editor','_descriptionFactory','from','markInlineFormat','has','change','getRanges','plugins','enableCommand','commandName','model','get','locale','forceValue','restrictedEditingException','TrackChangesEditing','FORMAT_RESTRICTED_DISABLED','StandardEditingModeEditing','afterInit','registerDescriptionCallback'];(function(_0x38eb36,_0x5491b7){const _0x2721f9=function(_0x56a083){while(--_0x56a083){_0x38eb36['push'](_0x38eb36['shift']());}};_0x2721f9(++_0x5491b7);}(_0x5491,0x153));const _0x2721=function(_0x38eb36,_0x5491b7){_0x38eb36=_0x38eb36-0x0;let _0x2721f9=_0x5491[_0x38eb36];return _0x2721f9;};import{Plugin as _0x307390}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x110eec}from'./utils';import{getTranslation as _0x161b11}from'../utils/common-translations';export default class lt extends _0x307390{[_0x2721('0xb')](){const _0xe7b5d2=this[_0x2721('0xf')],_0x1b7c14=_0xe7b5d2[_0x2721('0x3')],_0x53791b=_0xe7b5d2[_0x2721('0x5')];if(!_0xe7b5d2['plugins'][_0x2721('0x13')](_0x2721('0xa')))return;const _0x984a49=_0xe7b5d2[_0x2721('0x0')][_0x2721('0x4')](_0x2721('0x8')),_0x24df55=_0x2721('0x7'),_0xc380ca=_0xe7b5d2['commands']['get'](_0x24df55);_0x984a49[_0x2721('0x1')](_0x24df55,(_0x3a2420,_0xe7baca={})=>{const _0x188093=_0x1b7c14['document']['selection'];if(_0x188093['isCollapsed'])return void _0x3a2420(_0xe7baca);const _0x4a0034=void 0x0!==_0xe7baca[_0x2721('0x6')]?_0xe7baca[_0x2721('0x6')]:!_0xc380ca['value'];_0x1b7c14[_0x2721('0x14')](()=>{const _0xa5c003=Array[_0x2721('0x11')](_0x188093[_0x2721('0x15')]());for(const _0x31e5b0 of _0xa5c003){const _0x439e54=_0x4a0034?[_0x31e5b0]:_0x110eec(_0x24df55,_0x31e5b0,_0x1b7c14);for(const _0x12fc3d of _0x439e54)_0x984a49[_0x2721('0x12')](_0x12fc3d,{'commandName':_0x24df55,'commandParams':[{'forceValue':_0x4a0034}]});}});}),_0x984a49[_0x2721('0x10')][_0x2721('0xc')](_0x41ce97=>{const {data:_0x51e586}=_0x41ce97;if(_0x51e586&&_0x51e586[_0x2721('0x2')]==_0x24df55)return _0x51e586['commandParams'][0x0][_0x2721('0x6')]?{'type':_0x2721('0xd'),'content':_0x161b11(_0x53791b,_0x2721('0xe'))}:{'type':'format','content':_0x161b11(_0x53791b,_0x2721('0x9'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa347=['Style','markBlockFormat','commands','isBlock','style:','plugins','from','includes','style.definitions','element','getAncestors','editor','value','styleName','find','config','modelElements','afterInit','DataSchema','_getRangesWithClasses','block','get','markInlineFormat','TrackChangesEditing','format','selection','_descriptionFactory','normalizeConfig','getSelectedBlocks','enabledStyles','every','getAttribute','*Format:*\x20%0','change','registerDescriptionCallback','style','_getStyleDefinition','model','add','toLowerCase','document','commandParams','classes','push','inline','StyleUtils','enableCommand','name','isCollapsed','locale'];(function(_0x38833c,_0xa347c6){const _0x49604a=function(_0x556d51){while(--_0x556d51){_0x38833c['push'](_0x38833c['shift']());}};_0x49604a(++_0xa347c6);}(_0xa347,0x151));const _0x4960=function(_0x38833c,_0xa347c6){_0x38833c=_0x38833c-0x0;let _0x49604a=_0xa347[_0x38833c];return _0x49604a;};import{Plugin as _0x76a4f}from'ckeditor5/src/core';import{getTranslation as _0x41fddf}from'../utils/common-translations';export default class gt extends _0x76a4f{[_0x4960('0x1e')](){const _0x207b92=this[_0x4960('0x18')];if(!_0x207b92[_0x4960('0x12')]['has'](_0x4960('0xd')))return;const _0x31264e=_0x207b92[_0x4960('0xf')]['get'](_0x4960('0x30')),_0x437c41=_0x207b92[_0x4960('0x12')][_0x4960('0x22')](_0x4960('0x24')),_0x2cdf56=_0x207b92[_0x4960('0xc')],_0x423677=_0x207b92[_0x4960('0x12')][_0x4960('0x22')](_0x4960('0x1f')),_0x181db5=_0x207b92[_0x4960('0x12')][_0x4960('0x22')](_0x4960('0x8'))[_0x4960('0x28')](_0x423677,_0x207b92[_0x4960('0x1c')][_0x4960('0x22')](_0x4960('0x15')));_0x437c41[_0x4960('0x9')]('style',(_0x1dfe6a,{styleName:_0x35b6a4})=>{const _0x24364f=_0x207b92[_0x4960('0x0')][_0x4960('0x3')][_0x4960('0x26')],_0x632e92=this[_0x4960('0x31')](_0x35b6a4,_0x181db5);if(!_0x632e92)return;if(!_0x31264e[_0x4960('0x2a')][_0x4960('0x14')](_0x35b6a4))return;if(_0x24364f[_0x4960('0xb')]&&!_0x632e92[_0x4960('0x10')])return void _0x1dfe6a({'styleName':_0x35b6a4});const _0x536f47=!_0x31264e[_0x4960('0x19')][_0x4960('0x14')](_0x632e92['name']);if(_0x632e92[_0x4960('0x10')]){const _0x19565d=function(_0x381fd4,_0x20e6c8){const _0x48596e=new Set();for(const _0x9e2850 of _0x381fd4){const _0x1e646a=_0x9e2850[_0x4960('0x17')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x393bb8 of _0x1e646a)if(_0x20e6c8[_0x4960('0x14')](_0x393bb8[_0x4960('0xa')])){_0x48596e[_0x4960('0x1')](_0x393bb8);break;}}return _0x48596e;}(_0x24364f[_0x4960('0x29')](),_0x632e92[_0x4960('0x1d')]);_0x207b92[_0x4960('0x0')][_0x4960('0x2e')](()=>{for(const _0x38457d of _0x19565d)_0x437c41[_0x4960('0xe')](_0x38457d,{'commandName':'style','commandParams':[{'styleName':_0x35b6a4,'forceValue':_0x536f47}],'formatGroupId':_0x4960('0x11')+_0x35b6a4});});}else{let _0x485821=Array[_0x4960('0x13')](_0x24364f['getRanges']());if(!_0x536f47){const _0x1980f8=Array['from'](_0x423677['getDefinitionsForView'](_0x632e92[_0x4960('0x16')],!0x1))[0x0][_0x4960('0x0')],_0x2990cb=[];for(const _0xab1d3 of _0x485821){const _0x473e97=this[_0x4960('0x20')](_0x207b92[_0x4960('0x0')],_0xab1d3,_0x632e92[_0x4960('0x5')],_0x1980f8);_0x2990cb[_0x4960('0x6')](..._0x473e97);}_0x485821=_0x2990cb;}_0x207b92[_0x4960('0x0')][_0x4960('0x2e')](()=>{for(const _0x3d7c09 of _0x485821)_0x437c41[_0x4960('0x23')](_0x3d7c09,{'commandName':_0x4960('0x30'),'commandParams':[{'styleName':_0x35b6a4,'forceValue':_0x536f47}]});});}}),_0x437c41[_0x4960('0x27')][_0x4960('0x2f')](_0x2c2652=>{const {data:_0x4a6e0d}=_0x2c2652;if(_0x4a6e0d&&_0x4960('0x30')===_0x4a6e0d['commandName'])return _0x4a6e0d[_0x4960('0x4')][0x0]['forceValue']?{'type':_0x4960('0x25'),'content':_0x41fddf(_0x2cdf56,_0x4960('0x2d'),_0x4a6e0d[_0x4960('0x4')][0x0][_0x4960('0x1a')][_0x4960('0x2')]())}:{'type':_0x4960('0x25'),'content':_0x41fddf(_0x2cdf56,'*Remove\x20format:*\x20%0',_0x4a6e0d[_0x4960('0x4')][0x0][_0x4960('0x1a')][_0x4960('0x2')]())};});}[_0x4960('0x31')](_0x4859d6,_0x586ca0){let _0x3fcce6=_0x586ca0[_0x4960('0x21')]['find'](_0x3d70c9=>_0x3d70c9['name']===_0x4859d6);return _0x3fcce6||(_0x3fcce6=_0x586ca0[_0x4960('0x7')][_0x4960('0x1b')](_0x259178=>_0x259178[_0x4960('0xa')]===_0x4859d6)),_0x3fcce6;}['_getRangesWithClasses'](_0xc479d5,_0x376d39,_0x1dbd45,_0x4861b0){const _0x87b990=[];for(const _0x11d0c of _0x376d39['getItems']()){const _0x14648f=_0x11d0c[_0x4960('0x2c')](_0x4861b0);_0x14648f&&(_0x1dbd45[_0x4960('0x2b')](_0x12257d=>_0x14648f[_0x4960('0x5')][_0x4960('0x14')](_0x12257d))&&_0x87b990[_0x4960('0x6')](_0xc479d5['createRangeOn'](_0x11d0c)));}return _0x87b990;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2fa0=['minRow','TableUtils','addMarker:suggestion','name','_tableSuggestions','TableEditing','setSelection','subType','mapper','addRange','change:data','createPositionAt','selection','insertTableColumnRight','_suggestionFactory','_splitMarkerName','createRangeIn','hasAttribute','$graveyard','getItems','has','add','item','isArray','filter','map','$textProxy','insertTable','classes','createRangeOn','ELEMENT_TABLE_COLUMN','join','change','insert','tablePaste','addClass','suggestion','removeTableColumn','last','_getCoordsForCells','detach','findAncestor','commands','first','position','toViewElement','getRowIndexes','length','nodeAfter','every','colspan','insertTableColumnLeft','toLowerCase','MIN_SAFE_INTEGER','insertTableRowAbove','document','getSelectionAffectedTableCells','data','accept','differ','getColumnIndexes','table','_descriptionFactory','afterInit','options','minColumn','_getSuggestionCoords','low','model','enqueueChange','tableCell','min','registerPostFixer','_acceptFormatSuggestionCallbackFactory','getAttribute','includes','registerDescriptionCallback','values','getChangedMarkers','ELEMENT_TABLE','plugins','highest','above','isIntersectingWithRange','editor','get','insertion','selectTableRow','isTouching','fromRange','removeTableRow','end','rowspan','getContainedElement','MAX_SAFE_INTEGER','*Insert:*\x20%0','registerCustomCallback','root','refresh','nodeBefore','batch','start','_tablePostFixingSubtypes','span','rootName','tableRow','max','element','execute','ELEMENT_TABLE_COLUMN_WITH_TEXT','isEqual','createTableWalker','push','downcastDispatcher','type','maxRow','markMultiRangeInsertion','getSuggestion','substr','selectTableColumn','ELEMENT_TABLE_ROW','cell','discard','enableCommand','maxColumn','*Remove:*\x20%0','oldRange','getCellLocation','TrackChangesEditing','_setupColumnsRowsFixing','tableColumn','some','getFirstRange','deletion','from','left','ELEMENT_TABLE_ROW_WITH_TEXT','getChildren','getRanges'];(function(_0x3a7768,_0x2fa03c){const _0x5561fa=function(_0x3ca168){while(--_0x3ca168){_0x3a7768['push'](_0x3a7768['shift']());}};_0x5561fa(++_0x2fa03c);}(_0x2fa0,0x159));const _0x5561=function(_0x3a7768,_0x2fa03c){_0x3a7768=_0x3a7768-0x0;let _0x5561fa=_0x2fa0[_0x3a7768];return _0x5561fa;};import{Plugin as _0x214e5b}from'ckeditor5/src/core';import{LiveRange as _0x14e5c6}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2c7f49}from'ckeditor5/src/widget';import{getTranslation as _0xea22e6}from'../utils/common-translations';export default class mt extends _0x214e5b{constructor(_0x344073){super(_0x344073),this[_0x5561('0x23')]=[_0x5561('0x26'),_0x5561('0x3f')],this['_tableSuggestions']=new Set();}[_0x5561('0x87')](){const _0x5a74d0=this[_0x5561('0x11')],_0x1b315f=_0x5a74d0[_0x5561('0x1')]['document'][_0x5561('0x54')];if(!_0x5a74d0[_0x5561('0xd')][_0x5561('0x5c')](_0x5561('0x4d')))return;const _0x57cccc=_0x5a74d0['locale'],_0x179274=_0x5a74d0[_0x5561('0xd')][_0x5561('0x12')](_0x5561('0x3d')),_0x1dad51=_0x5a74d0[_0x5561('0xd')][_0x5561('0x12')]('TableUtils');_0x179274['_descriptionFactory']['registerElementLabel'](_0x5561('0x85'),_0x4352c6=>_0xea22e6(_0x57cccc,_0x5561('0xc'),_0x4352c6)),this['_setupColumnsRowsFixing'](),_0x179274[_0x5561('0x38')](_0x5561('0x63')),_0x179274[_0x5561('0x38')](_0x5561('0x14')),_0x179274[_0x5561('0x38')](_0x5561('0x34'));for(const _0x51e0bb of[_0x5561('0x7e'),'insertTableRowBelow']){const _0x5644f6=_0x5a74d0[_0x5561('0x72')][_0x5561('0x12')](_0x51e0bb);_0x179274[_0x5561('0x38')](_0x51e0bb,_0x3dd2d7=>{_0x5a74d0[_0x5561('0x1')][_0x5561('0x68')](_0x1c6325=>{_0x3dd2d7();const _0x20aa19=_0x5561('0xf')===_0x5644f6['order'],_0x185d3f=_0x1dad51[_0x5561('0x80')](_0x1b315f),_0x37a9ce=_0x1dad51[_0x5561('0x76')](_0x185d3f),_0x1c04a9=_0x20aa19?_0x37a9ce[_0x5561('0x73')]-0x1:_0x37a9ce[_0x5561('0x6e')]+0x1,_0x24702f=_0x185d3f[0x0][_0x5561('0x71')](_0x5561('0x85')),_0x269916=_0x1dad51[_0x5561('0x2c')](_0x24702f,{'startRow':_0x1c04a9,'endRow':_0x1c04a9}),_0x3a73a1=Array[_0x5561('0x43')](_0x269916)[_0x5561('0x61')](_0x275542=>_0x1c6325[_0x5561('0x65')](_0x275542['cell']));_0x179274[_0x5561('0x31')](_0x3a73a1,_0x5561('0x26'));});});}for(const _0x43558f of[_0x5561('0x7b'),_0x5561('0x55')]){const _0x447106=_0x5a74d0[_0x5561('0x72')]['get'](_0x43558f);_0x179274[_0x5561('0x38')](_0x43558f,_0x2d808d=>{_0x5a74d0['model'][_0x5561('0x68')](_0x2f141a=>{_0x2d808d();const _0x2fba88=_0x5561('0x44')===_0x447106['order'],_0x4ba2d5=_0x1dad51[_0x5561('0x80')](_0x1b315f),_0x27fcf6=_0x1dad51[_0x5561('0x84')](_0x4ba2d5),_0x3a5ba1=_0x2fba88?_0x27fcf6[_0x5561('0x73')]-0x1:_0x27fcf6['last']+0x1,_0x260349=_0x4ba2d5[0x0][_0x5561('0x71')](_0x5561('0x85')),_0x16a9a2=_0x1dad51[_0x5561('0x2c')](_0x260349,{'startRow':0x0,'column':_0x3a5ba1,'includeAllSlots':!0x1}),_0x25afc3=Array[_0x5561('0x43')](_0x16a9a2)[_0x5561('0x61')](_0x3cea05=>_0x2f141a[_0x5561('0x65')](_0x3cea05[_0x5561('0x36')]));_0x179274[_0x5561('0x31')](_0x25afc3,_0x5561('0x3f'));});});}for(const _0x39d281 of[_0x5561('0x17'),_0x5561('0x6d')]){const _0x5496da=_0x39d281[_0x5561('0x33')](0xb),_0x3fd474=_0x5496da[_0x5561('0x7c')](),_0x513dba=_0x3fd474[_0x5561('0x33')](0x0,0x3)+'span',_0x323145=_0x5561('0x85')+_0x5496da,_0x4303b3=_0x5561('0x4')+_0x5496da,_0x47df52=_0x5561('0x27')+_0x5496da;_0x179274[_0x5561('0x38')](_0x39d281,()=>{_0x5a74d0[_0x5561('0x1')]['change'](_0x30d240=>{const _0x35fc4f=_0x1dad51[_0x5561('0x80')](_0x1b315f),_0x311c29=_0x35fc4f[0x0]['findAncestor'](_0x5561('0x85'));let _0x42149f;if('removeTableRow'==_0x39d281){const _0x20b437=_0x1dad51[_0x5561('0x76')](_0x35fc4f);_0x42149f={'startRow':_0x20b437[_0x5561('0x73')],'endRow':_0x20b437['last'],'includeAllSlots':!0x0};}else{const _0x2b7a3f=_0x1dad51['getColumnIndexes'](_0x35fc4f);_0x42149f={'startColumn':_0x2b7a3f[_0x5561('0x73')],'endColumn':_0x2b7a3f[_0x5561('0x6e')],'includeAllSlots':!0x0};}const _0x25e5c3=_0x1dad51['createTableWalker'](_0x311c29,_0x42149f),_0x42148a=Array['from'](_0x25e5c3)[_0x5561('0x61')](({cell:_0x3eb994})=>_0x3eb994),_0x4482db=se(_0x42148a['filter'](_0x4a1089=>_0x4a1089['hasAttribute'](_0x513dba))),_0xcc29e6=se(_0x42148a[_0x5561('0x60')](_0x80146a=>!_0x80146a[_0x5561('0x59')](_0x513dba)))[_0x5561('0x61')](_0x1c4f1e=>_0x30d240[_0x5561('0x65')](_0x1c4f1e)),_0x41152a=_0x179274['markMultiRangeDeletion'](_0xcc29e6,_0x323145);if(_0x41152a&&(_0x5561('0x26')==_0x41152a[_0x5561('0x4f')]||_0x5561('0x3f')==_0x41152a[_0x5561('0x4f')])){const _0x358c23=this[_0x5561('0x8a')](_0x41152a);for(const _0x2c2dce of _0x4482db){const _0x41fe84=_0x30d240[_0x5561('0x65')](_0x2c2dce),_0x54a25a=_0x1dad51[_0x5561('0x3c')](_0x2c2dce),_0x21517b=_0x2c2dce[_0x5561('0x7')](_0x513dba)-0x1,_0xfd21f6=_0x358c23[_0x4303b3],_0x2647f0=_0x358c23[_0x47df52];_0xfd21f6<=_0x54a25a[_0x3fd474]&&_0x54a25a[_0x3fd474]+_0x21517b<=_0x2647f0&&_0x41152a[_0x5561('0x51')](_0x41fe84);}}});});}function _0x61474e(_0x3c65a4){const _0x3017d7=Array[_0x5561('0x43')](_0x1b315f['getRanges']())[_0x5561('0x61')](_0x4facb4=>_0x14e5c6[_0x5561('0x16')](_0x4facb4));_0x5a74d0[_0x5561('0x1')][_0x5561('0x68')](_0x24cc97=>{const _0x2525db=_0x24cc97[_0x5561('0x21')];_0x3c65a4=_0x3c65a4[_0x5561('0x60')](_0x2fb72e=>_0x5561('0x5a')!=_0x2fb72e[_0x5561('0x1e')][_0x5561('0x25')]),_0x24cc97[_0x5561('0x4e')](_0x3c65a4),_0x5a74d0['commands'][_0x5561('0x12')]('removeTableRow')[_0x5561('0x1f')](),_0x5a74d0[_0x5561('0x29')](_0x5561('0x17'),{'forceDefaultExecution':!0x0}),_0x5a74d0[_0x5561('0x1')]['enqueueChange'](()=>{_0x5a74d0['model'][_0x5561('0x2')](_0x2525db,_0x3cd232=>{const _0x3b6a27=_0x3017d7['filter'](_0x2f7dbe=>_0x5561('0x5a')!=_0x2f7dbe[_0x5561('0x1e')][_0x5561('0x25')]);_0x3b6a27['length']>0x0&&_0x3cd232[_0x5561('0x4e')](_0x3b6a27);for(const _0x183444 of _0x3017d7)_0x183444[_0x5561('0x70')]();});});});}function _0x49e1a7(_0x272c24){_0x5a74d0['model'][_0x5561('0x68')](_0x50709f=>{const _0x53eb61=Array[_0x5561('0x43')](_0x1b315f[_0x5561('0x47')]())[_0x5561('0x61')](_0x4788cd=>_0x14e5c6['fromRange'](_0x4788cd)),_0x3b586f=[];for(const _0x3b5505 of _0x272c24)for(const _0xc4b78b of _0x3b5505[_0x5561('0x5b')]({'shallow':!0x0}))_0x3b586f[_0x5561('0x2d')](_0xc4b78b);for(const _0x18b608 of _0x3b586f)'$graveyard'!=_0x18b608[_0x5561('0x1e')][_0x5561('0x25')]&&(_0x50709f[_0x5561('0x4e')](_0x50709f[_0x5561('0x53')](_0x18b608,0x0)),_0x5a74d0['commands'][_0x5561('0x12')](_0x5561('0x6d'))[_0x5561('0x1f')](),_0x5a74d0[_0x5561('0x29')](_0x5561('0x6d'),{'forceDefaultExecution':!0x0}));const _0x513766=_0x53eb61[_0x5561('0x60')](_0x39856e=>_0x5561('0x5a')!=_0x39856e[_0x5561('0x1e')][_0x5561('0x25')]);_0x513766[_0x5561('0x77')]>0x0&&_0x50709f[_0x5561('0x4e')](_0x513766);for(const _0x353049 of _0x53eb61)_0x353049['detach']();});}function _0x433209(_0x21edfd,_0x1fb67f){return _0x1fb67f[_0x5561('0x79')](_0x257ea0=>_0x21edfd[_0x5561('0x40')](_0x276efb=>_0x276efb[_0x5561('0x18')][_0x5561('0x2b')](_0x257ea0[_0x5561('0x22')])||_0x257ea0['end'][_0x5561('0x2b')](_0x276efb[_0x5561('0x22')])));}function _0x589c5d(_0x23ac34,_0x256b8b){return _0x23ac34['some'](_0x4a8307=>_0x256b8b['some'](_0x2eca3c=>_0x4a8307[_0x5561('0x18')][_0x5561('0x15')](_0x2eca3c[_0x5561('0x22')])));}_0x5a74d0[_0x5561('0x81')][_0x5561('0x2e')]['on'](_0x5561('0x4a'),(_0x7248fd,_0x5d97e5,_0x3f9439)=>{if(!_0x3f9439[_0x5561('0x88')]['showSuggestionHighlights'])return;const _0x276a07=_0x5d97e5[_0x5561('0x5e')];if(!_0x276a07)return;const _0x261ada=_0x3f9439[_0x5561('0x50')][_0x5561('0x75')](_0x276a07);function _0x3184cf(_0x19cd23){return Array[_0x5561('0x5f')](_0x19cd23)?_0x19cd23:[_0x19cd23];}_0x261ada&&_0x5561('0x3')===_0x276a07[_0x5561('0x4b')]&&_0x2c7f49(_0x261ada,_0x3f9439['writer'],(_0x504046,_0xa9f656,_0x491606)=>_0x491606[_0x5561('0x6b')](_0x3184cf(_0xa9f656[_0x5561('0x64')]),_0x504046),(_0x430095,_0x2fec9b,_0x2758e7)=>_0x2758e7['removeClass'](_0x3184cf(_0x2fec9b[_0x5561('0x64')]),_0x430095));},{'priority':_0x5561('0xe')}),_0x179274['_descriptionFactory'][_0x5561('0x9')](_0x4fe080=>{if(_0x5561('0x13')!=_0x4fe080[_0x5561('0x2f')]&&'deletion'!=_0x4fe080[_0x5561('0x2f')])return;const _0x37b312=_0x4fe080[_0x5561('0x1a')]();if(null!=_0x37b312&&_0x37b312['is'](_0x5561('0x28'),_0x5561('0x85'))){if('insertion'==_0x4fe080[_0x5561('0x2f')]){const _0xc8b52b=_0x4fe080[_0x5561('0x5b')]()[_0x5561('0x60')](_0x5206dc=>_0x5206dc['is'](_0x5561('0x62')))[_0x5561('0x61')](_0x2b27e9=>_0x2b27e9[_0x5561('0x81')]);if(_0xc8b52b[_0x5561('0x77')])return{'type':'insertion','content':_0xea22e6(_0x57cccc,_0x5561('0x1c'),_0xea22e6(_0x57cccc,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xc8b52b[_0x5561('0x67')]('\x20')+'\x22'))};}if(_0x5561('0x42')==_0x4fe080[_0x5561('0x2f')]){const _0x4cfcd0=_0x4fe080['getItems']()[_0x5561('0x60')](_0x3ba8d3=>_0x3ba8d3['is'](_0x5561('0x62')))[_0x5561('0x61')](_0x52c9c8=>_0x52c9c8['data']);if(_0x4cfcd0[_0x5561('0x77')])return{'type':_0x5561('0x42'),'content':_0xea22e6(_0x57cccc,_0x5561('0x3a'),_0xea22e6(_0x57cccc,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4cfcd0['join']('\x20')+'\x22'))};}}}),_0x179274[_0x5561('0x86')][_0x5561('0x9')](_0x2dec56=>{if(_0x5561('0x26')==_0x2dec56[_0x5561('0x4f')]){const _0x300dfe=_0x2dec56[_0x5561('0x5b')]()['filter'](_0x5d7834=>_0x5d7834['is'](_0x5561('0x62')))[_0x5561('0x61')](_0x20bec9=>_0x20bec9[_0x5561('0x81')]),_0x2a6d48=this['_getSuggestionCoords'](_0x2dec56),_0x374e9=_0x2a6d48[_0x5561('0x30')]-_0x2a6d48[_0x5561('0x48')]+0x1;if('insertion'==_0x2dec56[_0x5561('0x2f')])return _0x300dfe[_0x5561('0x77')]?{'type':_0x5561('0x13'),'content':_0xea22e6(_0x57cccc,_0x5561('0x1c'),_0xea22e6(_0x57cccc,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x374e9,'\x22'+_0x300dfe[_0x5561('0x67')]('\x20')+'\x22']))}:{'type':_0x5561('0x13'),'content':_0xea22e6(_0x57cccc,_0x5561('0x1c'),_0xea22e6(_0x57cccc,_0x5561('0x35'),_0x374e9))};if(_0x5561('0x42')==_0x2dec56[_0x5561('0x2f')])return _0x300dfe[_0x5561('0x77')]?{'type':_0x5561('0x42'),'content':_0xea22e6(_0x57cccc,'*Remove:*\x20%0',_0xea22e6(_0x57cccc,_0x5561('0x45'),[_0x374e9,'\x22'+_0x300dfe[_0x5561('0x67')]('\x20')+'\x22']))}:{'type':'deletion','content':_0xea22e6(_0x57cccc,_0x5561('0x3a'),_0xea22e6(_0x57cccc,'ELEMENT_TABLE_ROW',_0x374e9))};}if(_0x5561('0x3f')==_0x2dec56[_0x5561('0x4f')]){const _0xb2f569=_0x2dec56['getItems']()[_0x5561('0x60')](_0x311cc9=>_0x311cc9['is']('$textProxy'))[_0x5561('0x61')](_0x2afa94=>_0x2afa94['data']),_0x262add=this[_0x5561('0x8a')](_0x2dec56),_0x2d8b0d=_0x262add[_0x5561('0x39')]-_0x262add[_0x5561('0x89')]+0x1;if(_0x5561('0x13')==_0x2dec56['type'])return _0xb2f569['length']?{'type':_0x5561('0x13'),'content':_0xea22e6(_0x57cccc,_0x5561('0x1c'),_0xea22e6(_0x57cccc,_0x5561('0x2a'),[_0x2d8b0d,'\x22'+_0xb2f569[_0x5561('0x67')]('\x20')+'\x22']))}:{'type':'insertion','content':_0xea22e6(_0x57cccc,_0x5561('0x1c'),_0xea22e6(_0x57cccc,_0x5561('0x66'),_0x2d8b0d))};if(_0x5561('0x42')==_0x2dec56[_0x5561('0x2f')])return _0xb2f569[_0x5561('0x77')]?{'type':'deletion','content':_0xea22e6(_0x57cccc,_0x5561('0x3a'),_0xea22e6(_0x57cccc,_0x5561('0x2a'),[_0x2d8b0d,'\x22'+_0xb2f569[_0x5561('0x67')]('\x20')+'\x22']))}:{'type':_0x5561('0x42'),'content':_0xea22e6(_0x57cccc,_0x5561('0x3a'),_0xea22e6(_0x57cccc,'ELEMENT_TABLE_COLUMN',_0x2d8b0d))};}}),_0x179274[_0x5561('0x56')][_0x5561('0x1d')](_0x5561('0x13'),'tableRow','discard',_0x61474e),_0x179274[_0x5561('0x56')]['registerCustomCallback'](_0x5561('0x42'),_0x5561('0x26'),_0x5561('0x82'),_0x61474e),_0x179274['_suggestionFactory'][_0x5561('0x1d')](_0x5561('0x13'),_0x5561('0x3f'),_0x5561('0x37'),_0x49e1a7),_0x179274[_0x5561('0x56')][_0x5561('0x1d')](_0x5561('0x42'),_0x5561('0x3f'),_0x5561('0x82'),_0x49e1a7),_0x179274[_0x5561('0x56')][_0x5561('0x1d')](_0x5561('0x13'),'tableColumn',_0x5561('0x67'),_0x433209),_0x179274[_0x5561('0x56')]['registerCustomCallback'](_0x5561('0x42'),_0x5561('0x3f'),_0x5561('0x67'),_0x433209),_0x179274[_0x5561('0x56')][_0x5561('0x1d')](_0x5561('0x13'),_0x5561('0x26'),'join',_0x589c5d),_0x179274[_0x5561('0x56')][_0x5561('0x1d')](_0x5561('0x42'),_0x5561('0x26'),_0x5561('0x67'),_0x589c5d);}[_0x5561('0x6')](){const _0x599759=this[_0x5561('0x11')],_0x599b27=_0x599759['model'][_0x5561('0x7f')][_0x5561('0x54')];return(_0xd4ecb6,_0x3e3b34)=>{_0x599759['model'][_0x5561('0x68')](_0x2e1766=>{const {commandName:_0x1f03a7,commandParams:_0x18cf16}=_0x3e3b34;let _0x3512a3=_0xd4ecb6[0x0]['end'][_0x5561('0x20')];_0x18cf16&&_0x18cf16[0x0]&&!0x1===_0x18cf16[0x0]['forceValue']&&(_0x3512a3=_0xd4ecb6[0x0][_0x5561('0x22')][_0x5561('0x78')]);const _0x47b631=_0x2e1766[_0x5561('0x58')](_0x3512a3);if('$graveyard'==_0x47b631[_0x5561('0x1e')][_0x5561('0x25')])return;const _0x47ec2d=Array[_0x5561('0x43')](_0x599b27[_0x5561('0x47')]())['map'](_0x5bcda4=>_0x14e5c6['fromRange'](_0x5bcda4));_0x2e1766[_0x5561('0x4e')](_0x47b631),_0x599759[_0x5561('0x72')][_0x5561('0x12')](_0x1f03a7)[_0x5561('0x1f')](),_0x18cf16[_0x5561('0x2d')]({'forceDefaultExecution':!0x0}),_0x599759['execute'](_0x1f03a7,..._0x18cf16);const _0x129703=_0x47ec2d['filter'](_0x11df96=>_0x5561('0x5a')!=_0x11df96[_0x5561('0x1e')][_0x5561('0x25')]);_0x129703['length']>0x0&&_0x2e1766['setSelection'](_0x129703);for(const _0x205d75 of _0x47ec2d)_0x205d75[_0x5561('0x70')]();});};}[_0x5561('0x6f')](_0x5cee37){const _0x4418d1=this[_0x5561('0x11')][_0x5561('0xd')]['get'](_0x5561('0x49'));let _0x5caedd=Number[_0x5561('0x1b')],_0x70a238=Number[_0x5561('0x7d')],_0xe0139e=Number[_0x5561('0x1b')],_0x31b5a2=Number[_0x5561('0x7d')];for(const _0x264f73 of _0x5cee37){if(_0x5561('0x5a')==_0x264f73[_0x5561('0x1e')][_0x5561('0x25')])continue;const {row:_0x23b1bf,column:_0x2b944c}=_0x4418d1[_0x5561('0x3c')](_0x264f73),_0x519776=_0x264f73[_0x5561('0x59')](_0x5561('0x19'))?_0x264f73[_0x5561('0x7')](_0x5561('0x19'))-0x1:0x0,_0x3dd1d4=_0x264f73['hasAttribute'](_0x5561('0x7a'))?_0x264f73[_0x5561('0x7')](_0x5561('0x7a'))-0x1:0x0;_0x5caedd=_0x23b1bf<_0x5caedd?_0x23b1bf:_0x5caedd,_0x70a238=_0x23b1bf+_0x519776>_0x70a238?_0x23b1bf+_0x519776:_0x70a238,_0xe0139e=_0x2b944c<_0xe0139e?_0x2b944c:_0xe0139e,_0x31b5a2=_0x2b944c+_0x3dd1d4>_0x31b5a2?_0x2b944c+_0x3dd1d4:_0x31b5a2;}return{'minRow':_0x5caedd,'maxRow':_0x70a238,'minColumn':_0xe0139e,'maxColumn':_0x31b5a2};}[_0x5561('0x3e')](){const _0x4b88ea=this['editor'],_0x1e954b=_0x4b88ea['plugins'][_0x5561('0x12')](_0x5561('0x3d')),_0x323ae9=_0x4b88ea['plugins'][_0x5561('0x12')](_0x5561('0x49'));_0x4b88ea[_0x5561('0x1')][_0x5561('0x7f')]['on'](_0x5561('0x52'),()=>{const _0x4800e0=Array['from'](_0x4b88ea['model'][_0x5561('0x7f')][_0x5561('0x83')][_0x5561('0xb')]());for(const {name:_0x3b2714,data:_0x4e3154}of _0x4800e0){const {group:_0x2e6c54,id:_0x5addbd,subType:_0x1264e0}=_0x1e954b[_0x5561('0x57')](_0x3b2714);if(_0x5561('0x6c')!=_0x2e6c54)continue;if(null!=_0x4e3154[_0x5561('0x3b')])continue;const _0xf71900=_0x1e954b[_0x5561('0x32')](_0x5addbd);this['_tablePostFixingSubtypes'][_0x5561('0x8')](_0x1264e0)&&this['_tableSuggestions'][_0x5561('0x5d')](_0xf71900);}},{'priority':_0x5561('0x0')});const _0x93635c=(_0x5c66e1,_0x1e0f16)=>{let _0x1a372d=!0x1;const _0x401a25=_0x1e0f16['createRangeOn'](_0x5c66e1),_0x1f5c6b=_0x5c66e1[_0x5561('0x71')]('table'),_0x744b67=_0x323ae9[_0x5561('0x3c')](_0x5c66e1);for(const _0x238549 of this[_0x5561('0x4c')]){const _0x5ec77c=_0x238549[_0x5561('0x4f')],_0x1cfe25=_0x5ec77c['startsWith'](_0x5561('0x6a')),_0x40a0b1=_0x5ec77c[_0x5561('0x33')](_0x1cfe25?0xa:0x5),_0x526fa0=_0x40a0b1['toLowerCase'](),_0x495a7c=_0x526fa0[_0x5561('0x33')](0x0,0x3)+_0x5561('0x24'),_0xf721c3=_0x5561('0x4')+_0x40a0b1,_0x3b2b89='max'+_0x40a0b1;if(!_0x238549['isInContent'])continue;if(_0x1f5c6b!=_0x238549[_0x5561('0x41')]()['start'][_0x5561('0x71')](_0x5561('0x85')))continue;if(_0x238549[_0x5561('0x10')](_0x401a25))continue;const _0x31bcf3=_0x5c66e1['hasAttribute'](_0x495a7c)?_0x5c66e1[_0x5561('0x7')](_0x495a7c)-0x1:0x0,_0x14b4b7=this[_0x5561('0x8a')](_0x238549),_0x214eea=_0x14b4b7[_0xf721c3],_0x553339=_0x14b4b7[_0x3b2b89];_0x214eea<=_0x744b67[_0x526fa0]&&_0x744b67[_0x526fa0]+_0x31bcf3<=_0x553339&&(_0x238549[_0x5561('0x51')](_0x401a25),_0x1a372d=!0x0);}return _0x1a372d;};_0x4b88ea[_0x5561('0x1')]['document'][_0x5561('0x5')](_0x241d94=>{let _0x523a5c=!0x1;for(const _0x15216f of _0x4b88ea[_0x5561('0x1')][_0x5561('0x7f')][_0x5561('0x83')]['getChanges']())if(_0x5561('0x69')==_0x15216f[_0x5561('0x2f')]){if('tableRow'==_0x15216f[_0x5561('0x4b')])for(const _0x2f37c2 of _0x15216f[_0x5561('0x74')][_0x5561('0x78')][_0x5561('0x46')]())_0x523a5c=_0x523a5c||_0x93635c(_0x2f37c2,_0x241d94);else _0x5561('0x3')==_0x15216f[_0x5561('0x4b')]&&(_0x523a5c=_0x523a5c||_0x93635c(_0x15216f['position'][_0x5561('0x78')],_0x241d94));}return _0x523a5c;});}[_0x5561('0x8a')](_0x73d83f){return this[_0x5561('0x6f')](_0x73d83f['getRanges']()['map'](_0x23ffe0=>_0x23ffe0[_0x5561('0x22')]['nodeAfter']));}}function se(_0xe1deea){return Array[_0x5561('0x43')](new Set(_0xe1deea)[_0x5561('0xa')]());}
|
|
23
|
+
const _0x4c74=['name','rootName','getRowIndexes','addRange','selectTableRow','data','getRanges','getContainedElement','some','first','get','map','markMultiRangeDeletion','min','enqueueChange','from','_descriptionFactory','addMarker:suggestion','tableRow','differ','getChangedMarkers','insertTableRowAbove','table','element','$graveyard','oldRange','getSuggestion','getItems','tablePaste','highest','order','editor','ELEMENT_TABLE_WITH_TEXT','_getCoordsForCells','$textProxy','getSelectionAffectedTableCells','locale','end','length','nodeBefore','getChildren','change','insertTableRowBelow','createTableWalker','removeClass','classes','start','above','insertTable','root','ELEMENT_TABLE_ROW','markMultiRangeInsertion','TrackChangesEditing','substr','removeTableRow','last','createRangeIn','ELEMENT_TABLE','model','minColumn','_suggestionFactory','MIN_SAFE_INTEGER','suggestion','getCellLocation','subType','registerCustomCallback','ELEMENT_TABLE_COLUMN','type','findAncestor','writer','colspan','minRow','tableColumn','registerDescriptionCallback','setSelection','selection','getAttribute','toViewElement','nodeAfter','forceValue','mapper','isEqual','execute','has','toLowerCase','rowspan','_getSuggestionCoords','includes','commands','plugins','maxColumn','hasAttribute','change:data','*Remove:*\x20%0','TableEditing','join','insertion','isArray','isTouching','ELEMENT_TABLE_COLUMN_WITH_TEXT','enableCommand','span','_splitMarkerName','afterInit','ELEMENT_TABLE_ROW_WITH_TEXT','insertTableColumnRight','left','createRangeOn','removeTableColumn','registerElementLabel','detach','getColumnIndexes','TableUtils','_tableSuggestions','position','max','every','maxRow','cell','isInContent','deletion','push','document','add','filter','options','tableCell','showSuggestionHighlights','*Insert:*\x20%0','fromRange','getChanges','insertTableColumnLeft','discard','createPositionAt'];(function(_0x21e5de,_0x4c7427){const _0x3d5a7d=function(_0x3d1519){while(--_0x3d1519){_0x21e5de['push'](_0x21e5de['shift']());}};_0x3d5a7d(++_0x4c7427);}(_0x4c74,0xf2));const _0x3d5a=function(_0x21e5de,_0x4c7427){_0x21e5de=_0x21e5de-0x0;let _0x3d5a7d=_0x4c74[_0x21e5de];return _0x3d5a7d;};import{Plugin as _0x57c403}from'ckeditor5/src/core';import{LiveRange as _0x2aaa94}from'ckeditor5/src/engine';import{setHighlightHandling as _0xa4108}from'ckeditor5/src/widget';import{getTranslation as _0x2ab0d5}from'../utils/common-translations';export default class mt extends _0x57c403{constructor(_0xe3906d){super(_0xe3906d),this['_tablePostFixingSubtypes']=[_0x3d5a('0x2c'),_0x3d5a('0x62')],this['_tableSuggestions']=new Set();}[_0x3d5a('0x81')](){const _0x38e80c=this[_0x3d5a('0x39')],_0x17065b=_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0xe')][_0x3d5a('0x65')];if(!_0x38e80c[_0x3d5a('0x73')][_0x3d5a('0x6d')](_0x3d5a('0x78')))return;const _0x3d1a7d=_0x38e80c[_0x3d5a('0x3e')],_0x2d137=_0x38e80c[_0x3d5a('0x73')][_0x3d5a('0x24')](_0x3d5a('0x4e')),_0x49274d=_0x38e80c[_0x3d5a('0x73')][_0x3d5a('0x24')](_0x3d5a('0x4'));_0x2d137[_0x3d5a('0x2a')][_0x3d5a('0x1')](_0x3d5a('0x30'),_0x2fa88b=>_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x53'),_0x2fa88b)),this['_setupColumnsRowsFixing'](),_0x2d137['enableCommand'](_0x3d5a('0x4a')),_0x2d137[_0x3d5a('0x7e')](_0x3d5a('0x1e')),_0x2d137[_0x3d5a('0x7e')]('selectTableColumn');for(const _0x3a9042 of[_0x3d5a('0x2f'),_0x3d5a('0x44')]){const _0x25ef47=_0x38e80c[_0x3d5a('0x72')][_0x3d5a('0x24')](_0x3a9042);_0x2d137['enableCommand'](_0x3a9042,_0x56899a=>{_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0x43')](_0x41abbf=>{_0x56899a();const _0x10b307=_0x3d5a('0x49')===_0x25ef47[_0x3d5a('0x38')],_0x4ccd50=_0x49274d[_0x3d5a('0x3d')](_0x17065b),_0x5b3552=_0x49274d[_0x3d5a('0x1c')](_0x4ccd50),_0x1aed82=_0x10b307?_0x5b3552[_0x3d5a('0x23')]-0x1:_0x5b3552[_0x3d5a('0x51')]+0x1,_0x5a5195=_0x4ccd50[0x0][_0x3d5a('0x5e')](_0x3d5a('0x30')),_0x1cb9f8=_0x49274d[_0x3d5a('0x45')](_0x5a5195,{'startRow':_0x1aed82,'endRow':_0x1aed82}),_0x124152=Array['from'](_0x1cb9f8)[_0x3d5a('0x25')](_0x1a7bf5=>_0x41abbf['createRangeOn'](_0x1a7bf5[_0x3d5a('0xa')]));_0x2d137[_0x3d5a('0x4d')](_0x124152,_0x3d5a('0x2c'));});});}for(const _0x4c16d9 of[_0x3d5a('0x17'),_0x3d5a('0x83')]){const _0x3be014=_0x38e80c['commands'][_0x3d5a('0x24')](_0x4c16d9);_0x2d137[_0x3d5a('0x7e')](_0x4c16d9,_0x409a14=>{_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0x43')](_0x3dd439=>{_0x409a14();const _0x18a3dc=_0x3d5a('0x84')===_0x3be014['order'],_0x486d6f=_0x49274d[_0x3d5a('0x3d')](_0x17065b),_0x153201=_0x49274d[_0x3d5a('0x3')](_0x486d6f),_0xfab3fa=_0x18a3dc?_0x153201[_0x3d5a('0x23')]-0x1:_0x153201[_0x3d5a('0x51')]+0x1,_0x179fbd=_0x486d6f[0x0][_0x3d5a('0x5e')](_0x3d5a('0x30')),_0x506faa=_0x49274d[_0x3d5a('0x45')](_0x179fbd,{'startRow':0x0,'column':_0xfab3fa,'includeAllSlots':!0x1}),_0x30ef5d=Array['from'](_0x506faa)[_0x3d5a('0x25')](_0x410ab2=>_0x3dd439[_0x3d5a('0x85')](_0x410ab2[_0x3d5a('0xa')]));_0x2d137['markMultiRangeInsertion'](_0x30ef5d,_0x3d5a('0x62'));});});}for(const _0x4a7a4b of[_0x3d5a('0x50'),_0x3d5a('0x0')]){const _0x479d7f=_0x4a7a4b['substr'](0xb),_0x4e18d7=_0x479d7f[_0x3d5a('0x6e')](),_0x44d0ff=_0x4e18d7[_0x3d5a('0x4f')](0x0,0x3)+_0x3d5a('0x7f'),_0x3617ae='table'+_0x479d7f,_0x47cca1='min'+_0x479d7f,_0xd1b1=_0x3d5a('0x7')+_0x479d7f;_0x2d137[_0x3d5a('0x7e')](_0x4a7a4b,()=>{_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0x43')](_0x264eba=>{const _0x325085=_0x49274d['getSelectionAffectedTableCells'](_0x17065b),_0x36518b=_0x325085[0x0][_0x3d5a('0x5e')]('table');let _0x31e139;if(_0x3d5a('0x50')==_0x4a7a4b){const _0x3fa627=_0x49274d['getRowIndexes'](_0x325085);_0x31e139={'startRow':_0x3fa627[_0x3d5a('0x23')],'endRow':_0x3fa627[_0x3d5a('0x51')],'includeAllSlots':!0x0};}else{const _0x128ffe=_0x49274d['getColumnIndexes'](_0x325085);_0x31e139={'startColumn':_0x128ffe[_0x3d5a('0x23')],'endColumn':_0x128ffe[_0x3d5a('0x51')],'includeAllSlots':!0x0};}const _0x26ef2d=_0x49274d[_0x3d5a('0x45')](_0x36518b,_0x31e139),_0x4f2040=Array[_0x3d5a('0x29')](_0x26ef2d)[_0x3d5a('0x25')](({cell:_0xc89281})=>_0xc89281),_0x42471f=se(_0x4f2040[_0x3d5a('0x10')](_0x330324=>_0x330324['hasAttribute'](_0x44d0ff))),_0x478aec=se(_0x4f2040['filter'](_0xd8217e=>!_0xd8217e[_0x3d5a('0x75')](_0x44d0ff)))[_0x3d5a('0x25')](_0x237879=>_0x264eba[_0x3d5a('0x85')](_0x237879)),_0x526d77=_0x2d137[_0x3d5a('0x26')](_0x478aec,_0x3617ae);if(_0x526d77&&(_0x3d5a('0x2c')==_0x526d77[_0x3d5a('0x5a')]||'tableColumn'==_0x526d77[_0x3d5a('0x5a')])){const _0x5b2520=this['_getSuggestionCoords'](_0x526d77);for(const _0xa6c6fd of _0x42471f){const _0x3203ca=_0x264eba['createRangeOn'](_0xa6c6fd),_0x2ba40a=_0x49274d[_0x3d5a('0x59')](_0xa6c6fd),_0x36a14d=_0xa6c6fd['getAttribute'](_0x44d0ff)-0x1,_0x360bf5=_0x5b2520[_0x47cca1],_0xad6496=_0x5b2520[_0xd1b1];_0x360bf5<=_0x2ba40a[_0x4e18d7]&&_0x2ba40a[_0x4e18d7]+_0x36a14d<=_0xad6496&&_0x526d77['addRange'](_0x3203ca);}}});});}function _0x95508d(_0x1e9c30){const _0x1aa6b8=Array[_0x3d5a('0x29')](_0x17065b[_0x3d5a('0x20')]())['map'](_0x2af9ab=>_0x2aaa94[_0x3d5a('0x15')](_0x2af9ab));_0x38e80c[_0x3d5a('0x54')]['change'](_0x47661f=>{const _0x564050=_0x47661f['batch'];_0x1e9c30=_0x1e9c30[_0x3d5a('0x10')](_0x50ac21=>_0x3d5a('0x32')!=_0x50ac21[_0x3d5a('0x4b')][_0x3d5a('0x1b')]),_0x47661f[_0x3d5a('0x64')](_0x1e9c30),_0x38e80c[_0x3d5a('0x72')][_0x3d5a('0x24')](_0x3d5a('0x50'))['refresh'](),_0x38e80c[_0x3d5a('0x6c')](_0x3d5a('0x50'),{'forceDefaultExecution':!0x0}),_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0x28')](()=>{_0x38e80c[_0x3d5a('0x54')][_0x3d5a('0x28')](_0x564050,_0x3e058d=>{const _0x116d48=_0x1aa6b8[_0x3d5a('0x10')](_0x534d5e=>_0x3d5a('0x32')!=_0x534d5e[_0x3d5a('0x4b')]['rootName']);_0x116d48[_0x3d5a('0x40')]>0x0&&_0x3e058d['setSelection'](_0x116d48);for(const _0x5c2fb0 of _0x1aa6b8)_0x5c2fb0['detach']();});});});}function _0x3bd1b(_0x237787){_0x38e80c[_0x3d5a('0x54')]['change'](_0x17edbf=>{const _0x4c6bea=Array[_0x3d5a('0x29')](_0x17065b['getRanges']())[_0x3d5a('0x25')](_0x50a542=>_0x2aaa94[_0x3d5a('0x15')](_0x50a542)),_0x4ff00b=[];for(const _0x36f9e5 of _0x237787)for(const _0x558d90 of _0x36f9e5[_0x3d5a('0x35')]({'shallow':!0x0}))_0x4ff00b[_0x3d5a('0xd')](_0x558d90);for(const _0x38fc6e of _0x4ff00b)_0x3d5a('0x32')!=_0x38fc6e['root'][_0x3d5a('0x1b')]&&(_0x17edbf[_0x3d5a('0x64')](_0x17edbf[_0x3d5a('0x19')](_0x38fc6e,0x0)),_0x38e80c[_0x3d5a('0x72')][_0x3d5a('0x24')](_0x3d5a('0x0'))['refresh'](),_0x38e80c[_0x3d5a('0x6c')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x3db770=_0x4c6bea[_0x3d5a('0x10')](_0x482a10=>'$graveyard'!=_0x482a10[_0x3d5a('0x4b')][_0x3d5a('0x1b')]);_0x3db770[_0x3d5a('0x40')]>0x0&&_0x17edbf[_0x3d5a('0x64')](_0x3db770);for(const _0x39d1e8 of _0x4c6bea)_0x39d1e8['detach']();});}function _0x372c39(_0x5abdce,_0xeb0cc1){return _0xeb0cc1[_0x3d5a('0x8')](_0x32cee2=>_0x5abdce[_0x3d5a('0x22')](_0x1a2ad7=>_0x1a2ad7[_0x3d5a('0x3f')][_0x3d5a('0x6b')](_0x32cee2[_0x3d5a('0x48')])||_0x32cee2[_0x3d5a('0x3f')][_0x3d5a('0x6b')](_0x1a2ad7[_0x3d5a('0x48')])));}function _0x228140(_0x1e915f,_0x3b9370){return _0x1e915f[_0x3d5a('0x22')](_0x5a00ac=>_0x3b9370[_0x3d5a('0x22')](_0x1eb7a1=>_0x5a00ac[_0x3d5a('0x3f')][_0x3d5a('0x7c')](_0x1eb7a1[_0x3d5a('0x48')])));}_0x38e80c[_0x3d5a('0x1f')]['downcastDispatcher']['on'](_0x3d5a('0x2b'),(_0x5df681,_0x1912fa,_0x1b11e5)=>{if(!_0x1b11e5[_0x3d5a('0x11')][_0x3d5a('0x13')])return;const _0xa0ba19=_0x1912fa['item'];if(!_0xa0ba19)return;const _0x2da207=_0x1b11e5[_0x3d5a('0x6a')][_0x3d5a('0x67')](_0xa0ba19);function _0x3975ce(_0x5348e8){return Array[_0x3d5a('0x7b')](_0x5348e8)?_0x5348e8:[_0x5348e8];}_0x2da207&&_0x3d5a('0x12')===_0xa0ba19['name']&&_0xa4108(_0x2da207,_0x1b11e5[_0x3d5a('0x5f')],(_0x2ae041,_0x364bc2,_0x579e17)=>_0x579e17['addClass'](_0x3975ce(_0x364bc2[_0x3d5a('0x47')]),_0x2ae041),(_0x3e7715,_0x42a6f5,_0x3854be)=>_0x3854be[_0x3d5a('0x46')](_0x3975ce(_0x42a6f5['classes']),_0x3e7715));},{'priority':_0x3d5a('0x37')}),_0x2d137[_0x3d5a('0x2a')][_0x3d5a('0x63')](_0x24c20e=>{if('insertion'!=_0x24c20e[_0x3d5a('0x5d')]&&_0x3d5a('0xc')!=_0x24c20e[_0x3d5a('0x5d')])return;const _0x116d6b=_0x24c20e[_0x3d5a('0x21')]();if(null!=_0x116d6b&&_0x116d6b['is'](_0x3d5a('0x31'),_0x3d5a('0x30'))){if(_0x3d5a('0x7a')==_0x24c20e[_0x3d5a('0x5d')]){const _0x57e975=_0x24c20e['getItems']()[_0x3d5a('0x10')](_0x3cbea7=>_0x3cbea7['is'](_0x3d5a('0x3c')))[_0x3d5a('0x25')](_0x196bff=>_0x196bff[_0x3d5a('0x1f')]);if(_0x57e975[_0x3d5a('0x40')])return{'type':'insertion','content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x14'),_0x2ab0d5(_0x3d1a7d,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x57e975[_0x3d5a('0x79')]('\x20')+'\x22'))};}if(_0x3d5a('0xc')==_0x24c20e[_0x3d5a('0x5d')]){const _0x732f82=_0x24c20e[_0x3d5a('0x35')]()[_0x3d5a('0x10')](_0x151bbd=>_0x151bbd['is'](_0x3d5a('0x3c')))[_0x3d5a('0x25')](_0x2fa7fc=>_0x2fa7fc[_0x3d5a('0x1f')]);if(_0x732f82[_0x3d5a('0x40')])return{'type':_0x3d5a('0xc'),'content':_0x2ab0d5(_0x3d1a7d,'*Remove:*\x20%0',_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x3a'),'\x22'+_0x732f82['join']('\x20')+'\x22'))};}}}),_0x2d137[_0x3d5a('0x2a')][_0x3d5a('0x63')](_0x2d64c6=>{if(_0x3d5a('0x2c')==_0x2d64c6[_0x3d5a('0x5a')]){const _0x78b070=_0x2d64c6[_0x3d5a('0x35')]()['filter'](_0x5d09ac=>_0x5d09ac['is'](_0x3d5a('0x3c')))[_0x3d5a('0x25')](_0x173ec3=>_0x173ec3[_0x3d5a('0x1f')]),_0xb2d5a8=this[_0x3d5a('0x70')](_0x2d64c6),_0x48d616=_0xb2d5a8[_0x3d5a('0x9')]-_0xb2d5a8[_0x3d5a('0x61')]+0x1;if('insertion'==_0x2d64c6[_0x3d5a('0x5d')])return _0x78b070[_0x3d5a('0x40')]?{'type':_0x3d5a('0x7a'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x14'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x82'),[_0x48d616,'\x22'+_0x78b070[_0x3d5a('0x79')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x14'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x4c'),_0x48d616))};if(_0x3d5a('0xc')==_0x2d64c6['type'])return _0x78b070[_0x3d5a('0x40')]?{'type':'deletion','content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x77'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x82'),[_0x48d616,'\x22'+_0x78b070[_0x3d5a('0x79')]('\x20')+'\x22']))}:{'type':_0x3d5a('0xc'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x77'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x4c'),_0x48d616))};}if(_0x3d5a('0x62')==_0x2d64c6[_0x3d5a('0x5a')]){const _0x266501=_0x2d64c6['getItems']()[_0x3d5a('0x10')](_0x4c2c82=>_0x4c2c82['is']('$textProxy'))[_0x3d5a('0x25')](_0x35c7d3=>_0x35c7d3[_0x3d5a('0x1f')]),_0x2b0a71=this[_0x3d5a('0x70')](_0x2d64c6),_0x1305da=_0x2b0a71[_0x3d5a('0x74')]-_0x2b0a71[_0x3d5a('0x55')]+0x1;if('insertion'==_0x2d64c6['type'])return _0x266501['length']?{'type':_0x3d5a('0x7a'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x14'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x7d'),[_0x1305da,'\x22'+_0x266501[_0x3d5a('0x79')]('\x20')+'\x22']))}:{'type':_0x3d5a('0x7a'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x14'),_0x2ab0d5(_0x3d1a7d,'ELEMENT_TABLE_COLUMN',_0x1305da))};if(_0x3d5a('0xc')==_0x2d64c6['type'])return _0x266501[_0x3d5a('0x40')]?{'type':_0x3d5a('0xc'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x77'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x7d'),[_0x1305da,'\x22'+_0x266501[_0x3d5a('0x79')]('\x20')+'\x22']))}:{'type':_0x3d5a('0xc'),'content':_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x77'),_0x2ab0d5(_0x3d1a7d,_0x3d5a('0x5c'),_0x1305da))};}}),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')](_0x3d5a('0x7a'),_0x3d5a('0x2c'),_0x3d5a('0x18'),_0x95508d),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')]('deletion',_0x3d5a('0x2c'),'accept',_0x95508d),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')](_0x3d5a('0x7a'),_0x3d5a('0x62'),_0x3d5a('0x18'),_0x3bd1b),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')](_0x3d5a('0xc'),'tableColumn','accept',_0x3bd1b),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')](_0x3d5a('0x7a'),_0x3d5a('0x62'),_0x3d5a('0x79'),_0x372c39),_0x2d137[_0x3d5a('0x56')]['registerCustomCallback'](_0x3d5a('0xc'),'tableColumn',_0x3d5a('0x79'),_0x372c39),_0x2d137[_0x3d5a('0x56')]['registerCustomCallback']('insertion',_0x3d5a('0x2c'),_0x3d5a('0x79'),_0x228140),_0x2d137[_0x3d5a('0x56')][_0x3d5a('0x5b')](_0x3d5a('0xc'),_0x3d5a('0x2c'),_0x3d5a('0x79'),_0x228140);}['_acceptFormatSuggestionCallbackFactory'](){const _0x3f90d5=this[_0x3d5a('0x39')],_0x2f9bd3=_0x3f90d5[_0x3d5a('0x54')]['document']['selection'];return(_0x595ed5,_0x89aeb9)=>{_0x3f90d5[_0x3d5a('0x54')]['change'](_0x3fccfb=>{const {commandName:_0x286813,commandParams:_0x48d0c0}=_0x89aeb9;let _0x5ed0c4=_0x595ed5[0x0][_0x3d5a('0x3f')][_0x3d5a('0x41')];_0x48d0c0&&_0x48d0c0[0x0]&&!0x1===_0x48d0c0[0x0][_0x3d5a('0x69')]&&(_0x5ed0c4=_0x595ed5[0x0][_0x3d5a('0x48')][_0x3d5a('0x68')]);const _0x2db7cf=_0x3fccfb[_0x3d5a('0x52')](_0x5ed0c4);if(_0x3d5a('0x32')==_0x2db7cf[_0x3d5a('0x4b')][_0x3d5a('0x1b')])return;const _0x50e36a=Array[_0x3d5a('0x29')](_0x2f9bd3[_0x3d5a('0x20')]())[_0x3d5a('0x25')](_0x3abfd3=>_0x2aaa94[_0x3d5a('0x15')](_0x3abfd3));_0x3fccfb[_0x3d5a('0x64')](_0x2db7cf),_0x3f90d5[_0x3d5a('0x72')][_0x3d5a('0x24')](_0x286813)['refresh'](),_0x48d0c0['push']({'forceDefaultExecution':!0x0}),_0x3f90d5[_0x3d5a('0x6c')](_0x286813,..._0x48d0c0);const _0x5c5b78=_0x50e36a[_0x3d5a('0x10')](_0x1832a8=>_0x3d5a('0x32')!=_0x1832a8[_0x3d5a('0x4b')][_0x3d5a('0x1b')]);_0x5c5b78['length']>0x0&&_0x3fccfb[_0x3d5a('0x64')](_0x5c5b78);for(const _0x19b7b1 of _0x50e36a)_0x19b7b1[_0x3d5a('0x2')]();});};}['_getCoordsForCells'](_0x491a42){const _0x3bf710=this[_0x3d5a('0x39')]['plugins'][_0x3d5a('0x24')](_0x3d5a('0x4'));let _0x44c6b3=Number['MAX_SAFE_INTEGER'],_0x567b5c=Number[_0x3d5a('0x57')],_0x297128=Number['MAX_SAFE_INTEGER'],_0x9ca51b=Number[_0x3d5a('0x57')];for(const _0x460317 of _0x491a42){if(_0x3d5a('0x32')==_0x460317[_0x3d5a('0x4b')]['rootName'])continue;const {row:_0x39498e,column:_0x423f1f}=_0x3bf710[_0x3d5a('0x59')](_0x460317),_0x26543a=_0x460317[_0x3d5a('0x75')](_0x3d5a('0x6f'))?_0x460317['getAttribute'](_0x3d5a('0x6f'))-0x1:0x0,_0x5135af=_0x460317[_0x3d5a('0x75')]('colspan')?_0x460317[_0x3d5a('0x66')](_0x3d5a('0x60'))-0x1:0x0;_0x44c6b3=_0x39498e<_0x44c6b3?_0x39498e:_0x44c6b3,_0x567b5c=_0x39498e+_0x26543a>_0x567b5c?_0x39498e+_0x26543a:_0x567b5c,_0x297128=_0x423f1f<_0x297128?_0x423f1f:_0x297128,_0x9ca51b=_0x423f1f+_0x5135af>_0x9ca51b?_0x423f1f+_0x5135af:_0x9ca51b;}return{'minRow':_0x44c6b3,'maxRow':_0x567b5c,'minColumn':_0x297128,'maxColumn':_0x9ca51b};}['_setupColumnsRowsFixing'](){const _0x1efd67=this[_0x3d5a('0x39')],_0x7ca63e=_0x1efd67[_0x3d5a('0x73')][_0x3d5a('0x24')](_0x3d5a('0x4e')),_0xa7df32=_0x1efd67['plugins'][_0x3d5a('0x24')](_0x3d5a('0x4'));_0x1efd67['model']['document']['on'](_0x3d5a('0x76'),()=>{const _0x5235d2=Array['from'](_0x1efd67[_0x3d5a('0x54')][_0x3d5a('0xe')][_0x3d5a('0x2d')][_0x3d5a('0x2e')]());for(const {name:_0x5e6937,data:_0x10520c}of _0x5235d2){const {group:_0x280cd5,id:_0x2a98d2,subType:_0x1c819e}=_0x7ca63e[_0x3d5a('0x80')](_0x5e6937);if(_0x3d5a('0x58')!=_0x280cd5)continue;if(null!=_0x10520c[_0x3d5a('0x33')])continue;const _0x422ada=_0x7ca63e[_0x3d5a('0x34')](_0x2a98d2);this['_tablePostFixingSubtypes'][_0x3d5a('0x71')](_0x1c819e)&&this[_0x3d5a('0x5')][_0x3d5a('0xf')](_0x422ada);}},{'priority':'low'});const _0x3fe0fb=(_0x18ae21,_0x13af3f)=>{let _0xcc940e=!0x1;const _0x38b8fa=_0x13af3f['createRangeOn'](_0x18ae21),_0x4c4d5a=_0x18ae21['findAncestor'](_0x3d5a('0x30')),_0x2a2285=_0xa7df32[_0x3d5a('0x59')](_0x18ae21);for(const _0x6e40ff of this[_0x3d5a('0x5')]){const _0x5c29ec=_0x6e40ff[_0x3d5a('0x5a')],_0x237bdc=_0x5c29ec['startsWith'](_0x3d5a('0x36')),_0x1ffdee=_0x5c29ec[_0x3d5a('0x4f')](_0x237bdc?0xa:0x5),_0x4d09bf=_0x1ffdee[_0x3d5a('0x6e')](),_0x582b50=_0x4d09bf[_0x3d5a('0x4f')](0x0,0x3)+_0x3d5a('0x7f'),_0x1733b9=_0x3d5a('0x27')+_0x1ffdee,_0x4ba923='max'+_0x1ffdee;if(!_0x6e40ff[_0x3d5a('0xb')])continue;if(_0x4c4d5a!=_0x6e40ff['getFirstRange']()[_0x3d5a('0x48')][_0x3d5a('0x5e')](_0x3d5a('0x30')))continue;if(_0x6e40ff['isIntersectingWithRange'](_0x38b8fa))continue;const _0x8b0108=_0x18ae21[_0x3d5a('0x75')](_0x582b50)?_0x18ae21[_0x3d5a('0x66')](_0x582b50)-0x1:0x0,_0x106e00=this[_0x3d5a('0x70')](_0x6e40ff),_0x2605a3=_0x106e00[_0x1733b9],_0x2c28aa=_0x106e00[_0x4ba923];_0x2605a3<=_0x2a2285[_0x4d09bf]&&_0x2a2285[_0x4d09bf]+_0x8b0108<=_0x2c28aa&&(_0x6e40ff[_0x3d5a('0x1d')](_0x38b8fa),_0xcc940e=!0x0);}return _0xcc940e;};_0x1efd67[_0x3d5a('0x54')]['document']['registerPostFixer'](_0x15d4c2=>{let _0x2bb4b1=!0x1;for(const _0x3b1a2e of _0x1efd67[_0x3d5a('0x54')][_0x3d5a('0xe')][_0x3d5a('0x2d')][_0x3d5a('0x16')]())if('insert'==_0x3b1a2e[_0x3d5a('0x5d')]){if('tableRow'==_0x3b1a2e[_0x3d5a('0x1a')])for(const _0x26ed32 of _0x3b1a2e[_0x3d5a('0x6')][_0x3d5a('0x68')][_0x3d5a('0x42')]())_0x2bb4b1=_0x2bb4b1||_0x3fe0fb(_0x26ed32,_0x15d4c2);else'tableCell'==_0x3b1a2e[_0x3d5a('0x1a')]&&(_0x2bb4b1=_0x2bb4b1||_0x3fe0fb(_0x3b1a2e[_0x3d5a('0x6')]['nodeAfter'],_0x15d4c2));}return _0x2bb4b1;});}[_0x3d5a('0x70')](_0x655b9){return this[_0x3d5a('0x3b')](_0x655b9[_0x3d5a('0x20')]()[_0x3d5a('0x25')](_0x1699bd=>_0x1699bd[_0x3d5a('0x48')][_0x3d5a('0x68')]));}}function se(_0x42e3ff){return Array['from'](new Set(_0x42e3ff)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50a2=['requires','toggleTableCaption','get','plugins','enableCommand','TrackChangesEditing'];(function(_0x5b287b,_0x50a296){const _0x4df760=function(_0x24a0f2){while(--_0x24a0f2){_0x5b287b['push'](_0x5b287b['shift']());}};_0x4df760(++_0x50a296);}(_0x50a2,0x1e3));const _0x4df7=function(_0x5b287b,_0x50a296){_0x5b287b=_0x5b287b-0x0;let _0x4df760=_0x50a2[_0x5b287b];return _0x4df760;};import{Plugin as _0x34f302}from'ckeditor5/src/core';import _0xfc71b4 from'./table';export default class vt extends _0x34f302{static get[_0x4df7('0x3')](){return[_0xfc71b4];}['afterInit'](){const _0x573f6e=this['editor'];if(!_0x573f6e[_0x4df7('0x0')]['has']('TableCaptionEditing'))return;_0x573f6e['plugins'][_0x4df7('0x5')](_0x4df7('0x2'))[_0x4df7('0x1')](_0x4df7('0x4'));}}
|