@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.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 +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 _0x2fac=['markMultiRangeBlockFormat','getLastPosition','element','forward','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','replace','commandName','has','handleDescriptions','handleListStartCommand','_descriptionFactory','listReversed','plugins','enableCommand','editor','createRange','createPositionAt','document','flat','listStart','push','_getSuggestionBlocksForListStyle','selection','unshift','listStyle','from','handleListReversedCommand','length','ListUtils','type','commandParams','_getSuggestionBlocks','change','getFirstPosition','bind','listItem','getAttribute','locale','getSelectedBlocks','getSiblingNodes','model','get','_getTranslationKeyForListStyle','backward','registerDescriptionCallback','parent','numbered','ELEMENT_','toUpperCase','getListTypeFromListStyleType','handleListStyleCommand','listType','startIndex','format','filter','map','reversed','before','TrackChangesEditing'];(function(_0x464a29,_0x2fac7a){const _0x500e24=function(_0x1ff086){while(--_0x1ff086){_0x464a29['push'](_0x464a29['shift']());}};_0x500e24(++_0x2fac7a);}(_0x2fac,0x18b));const _0x500e=function(_0x464a29,_0x2fac7a){_0x464a29=_0x464a29-0x0;let _0x500e24=_0x2fac[_0x464a29];return _0x500e24;};import{Plugin as _0x371873}from'ckeditor5/src/core';import{getTranslation as _0x27712b}from'../utils/common-translations';export default class nt extends _0x371873{['afterInit'](){if(!this[_0x500e('0x28')][_0x500e('0x26')][_0x500e('0x21')]('ListPropertiesEditing'))return;const _0x2f50d6=this[_0x500e('0x28')]['config'][_0x500e('0x7')](_0x500e('0x1d')),_0x2b69ed=this[_0x500e('0x28')]['plugins'][_0x500e('0x7')]('TrackChangesEditing');_0x2f50d6['styles']&&_0x2b69ed['enableCommand'](_0x500e('0x32'),this[_0x500e('0x10')][_0x500e('0x0')](this)),_0x2f50d6[_0x500e('0x16')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x25'),this[_0x500e('0x34')]['bind'](this)),_0x2f50d6[_0x500e('0x12')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x2d'),this[_0x500e('0x23')][_0x500e('0x0')](this)),_0x2b69ed[_0x500e('0x24')][_0x500e('0xa')](this[_0x500e('0x22')][_0x500e('0x0')](this));}[_0x500e('0x10')](_0x1fac02,_0x23f045={}){const _0x37b84f=this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x18')),_0x3c6eb8=this[_0x500e('0x2f')]();this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x37b84f[_0x500e('0x19')](_0x3c6eb8,{'commandName':_0x500e('0x32'),'commandParams':[{'type':_0x23f045[_0x500e('0x37')]}],'formatGroupId':_0x500e('0x32')});});}[_0x500e('0x34')](_0x10c531,_0x6641e2={}){const _0x4dc5a5=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x138484=this[_0x500e('0x39')](_0x2ab283=>_0x2ab283['is'](_0x500e('0x1b'),_0x500e('0x1'))&&_0x500e('0xc')===_0x2ab283[_0x500e('0x2')]('listType'));if(_0x138484[_0x500e('0x35')]<0x1)return;const _0x6e85ae=_0x138484[_0x500e('0x15')](_0x2dc34f=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,_0x500e('0x17')),this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,0x0)));this['editor'][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x4dc5a5[_0x500e('0x19')](_0x6e85ae,{'commandName':_0x500e('0x25'),'commandParams':[{'reversed':_0x6641e2[_0x500e('0x16')]}],'formatGroupId':_0x500e('0x25')});});}['handleListStartCommand'](_0x1d0c6f,_0x1e8fe5={}){const _0x19e815=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x2a5491=this[_0x500e('0x39')](_0x3eeab5=>_0x3eeab5['is']('element','listItem')&&_0x500e('0xc')===_0x3eeab5[_0x500e('0x2')](_0x500e('0x11')));if(_0x2a5491[_0x500e('0x35')]<0x1)return;const _0x18db0b=_0x2a5491['map'](_0x2aa974=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2aa974,'before'),this['editor'][_0x500e('0x6')]['createPositionAt'](_0x2aa974,0x0)));this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x19e815[_0x500e('0x19')](_0x18db0b,{'commandName':_0x500e('0x2d'),'commandParams':[{'startIndex':_0x1e8fe5[_0x500e('0x12')]}],'formatGroupId':'listStart'});});}[_0x500e('0x22')](_0x500c97){const _0x3c793e=this[_0x500e('0x28')][_0x500e('0x3')],{data:_0xa95c9f}=_0x500c97;if(!_0xa95c9f)return;let _0x4ddf93,_0x2a7af3;switch(_0xa95c9f[_0x500e('0x20')]){case'listStyle':_0x4ddf93='*Change\x20to:*\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0x27712b(_0x3c793e,this[_0x500e('0x8')](_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x37')])))};break;case _0x500e('0x25'):_0x4ddf93=_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x16')]?_0x500e('0x1e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93)};break;case _0x500e('0x2d'):_0x4ddf93='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x12')])};}return _0x2a7af3;}[_0x500e('0x2f')](){var _0x37a38b,_0x4099bc,_0x36b8fc,_0x8c7b55;const _0x2e7e23=this[_0x500e('0x28')][_0x500e('0x26')]['get']('ListUtils');let _0x979c35=Array[_0x500e('0x33')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')]['getSelectedBlocks']());return(null===(_0x37a38b=_0x979c35[0x0])||void 0x0===_0x37a38b?void 0x0:_0x37a38b['is'](_0x500e('0x1b'),'listItem'))&&_0x979c35[_0x500e('0x31')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')]['model'][_0x500e('0x2b')][_0x500e('0x30')]['getFirstPosition'](),_0x500e('0x9'))),(null===(_0x4099bc=_0x979c35[_0x979c35[_0x500e('0x35')]-0x1])||void 0x0===_0x4099bc?void 0x0:_0x4099bc['is']('element',_0x500e('0x1')))&&_0x979c35[_0x500e('0x2e')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')][_0x500e('0x1a')](),_0x500e('0x1c'))),_0x979c35=[...new Set(_0x979c35)],(null===(_0x8c7b55=null===(_0x36b8fc=this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')]['selection'][_0x500e('0x3b')]())||void 0x0===_0x36b8fc?void 0x0:_0x36b8fc[_0x500e('0xb')])||void 0x0===_0x8c7b55?void 0x0:_0x8c7b55['is'](_0x500e('0x1b'),_0x500e('0x1')))&&(_0x979c35=_0x979c35[_0x500e('0x14')](_0x3f8ea9=>_0x3f8ea9['is'](_0x500e('0x1b'),_0x500e('0x1')))),_0x979c35;}[_0x500e('0x39')](_0x19cd5d){const _0x1b0978=this['editor'][_0x500e('0x26')]['get'](_0x500e('0x36'));let _0x32e23b=Array['from'](this[_0x500e('0x28')]['model'][_0x500e('0x2b')]['selection'][_0x500e('0x4')]())[_0x500e('0x14')](_0x19cd5d)[_0x500e('0x15')](_0x3cf96b=>{const _0x21796d=this[_0x500e('0x28')][_0x500e('0x6')]['createPositionAt'](_0x3cf96b,0x0);return[..._0x1b0978[_0x500e('0x5')](_0x21796d,_0x500e('0x9')),..._0x1b0978[_0x500e('0x5')](_0x21796d,'forward')];})[_0x500e('0x2c')]();return _0x32e23b=[...new Set(_0x32e23b)],_0x32e23b;}[_0x500e('0x8')](_0x3a5ed8){return _0x500e('0xd')+this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x36'))[_0x500e('0xf')](_0x3a5ed8)[_0x500e('0xe')]()+'_LIST_'+_0x3a5ed8[_0x500e('0xe')]()[_0x500e('0x1f')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59fc=['stop','options','has','downcastDispatcher','afterInit','media','showSuggestionHighlights','elementToElement','editor','mediaEmbed','high','ELEMENT_MEDIA','registerElementLabel','for','locale','attribute:url:media','div','data','plugins','_descriptionFactory','TrackChangesEditing'];(function(_0x118d70,_0x59fccf){const _0x527582=function(_0x32fad3){while(--_0x32fad3){_0x118d70['push'](_0x118d70['shift']());}};_0x527582(++_0x59fccf);}(_0x59fc,0xad));const _0x5275=function(_0x118d70,_0x59fccf){_0x118d70=_0x118d70-0x0;let _0x527582=_0x59fc[_0x118d70];return _0x527582;};import{Plugin as _0x428113}from'ckeditor5/src/core';import{getTranslation as _0x22a103}from'../utils/common-translations';export default class ot extends _0x428113{[_0x5275('0x14')](){const _0x54f347=this[_0x5275('0x3')];if(!_0x54f347['plugins'][_0x5275('0x12')]('MediaEmbedEditing'))return;const _0x1d1191=_0x54f347[_0x5275('0xd')]['get'](_0x5275('0xf')),_0x389ba1=_0x54f347[_0x5275('0x9')];_0x1d1191['enableCommand'](_0x5275('0x4')),_0x1d1191[_0x5275('0xe')][_0x5275('0x7')]('media',_0x277129=>_0x22a103(_0x389ba1,_0x5275('0x6'),_0x277129)),_0x54f347['conversion'][_0x5275('0x8')]('dataDowncast')[_0x5275('0x2')]({'model':_0x5275('0x0'),'view':(_0x5ec55b,{writer:_0x7652ac,options:_0x1b550e})=>{if(_0x1b550e[_0x5275('0x1')])return _0x7652ac['createEmptyElement'](_0x5275('0xb'));},'converterPriority':_0x5275('0x5')}),_0x54f347[_0x5275('0xc')][_0x5275('0x13')]['on'](_0x5275('0xa'),(_0x2380bb,_0x16a08e,_0x31f6b9)=>{_0x31f6b9[_0x5275('0x11')]['showSuggestionHighlights']&&_0x2380bb[_0x5275('0x10')]();},{'priority':_0x5275('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x118e=['has','enableCommand','plugins','afterInit','get','mention'];(function(_0xe6297d,_0x118e2e){const _0x2ee26d=function(_0x4e1b12){while(--_0x4e1b12){_0xe6297d['push'](_0xe6297d['shift']());}};_0x2ee26d(++_0x118e2e);}(_0x118e,0xa0));const _0x2ee2=function(_0xe6297d,_0x118e2e){_0xe6297d=_0xe6297d-0x0;let _0x2ee26d=_0x118e[_0xe6297d];return _0x2ee26d;};import{Plugin as _0x3249b1}from'ckeditor5/src/core';export default class rt extends _0x3249b1{[_0x2ee2('0x5')](){const _0x4b29e1=this['editor'];_0x4b29e1['plugins'][_0x2ee2('0x2')]('MentionEditing')&&_0x4b29e1[_0x2ee2('0x4')][_0x2ee2('0x0')]('TrackChangesEditing')[_0x2ee2('0x3')](_0x2ee2('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3feb=['enableCommand','locale','plugins','PageBreakEditing','registerElementLabel','get','_descriptionFactory','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x4c67f7,_0x3febb3){const _0x4122b7=function(_0xb431b9){while(--_0xb431b9){_0x4c67f7['push'](_0x4c67f7['shift']());}};_0x4122b7(++_0x3febb3);}(_0x3feb,0x1a5));const _0x4122=function(_0x4c67f7,_0x3febb3){_0x4c67f7=_0x4c67f7-0x0;let _0x4122b7=_0x3feb[_0x4c67f7];return _0x4122b7;};import{Plugin as _0xdf113c}from'ckeditor5/src/core';import{getTranslation as _0xce5483}from'../utils/common-translations';export default class at extends _0xdf113c{['afterInit'](){const _0x28f019=this['editor'];if(!_0x28f019['plugins']['has'](_0x4122('0x5')))return;_0x28f019[_0x4122('0x4')][_0x4122('0x7')]('TrackChangesEditing')[_0x4122('0x2')](_0x4122('0x1'));const _0x445e95=_0x28f019[_0x4122('0x4')]['get']('TrackChangesEditing'),_0x272665=_0x28f019[_0x4122('0x3')];_0x445e95[_0x4122('0x8')][_0x4122('0x6')]('pageBreak',_0x58a077=>_0xce5483(_0x272665,_0x4122('0x0'),_0x58a077));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a21=['nodeAfter','isLimit','*Change\x20to:*\x20%0','isTouching','isObject','from','editor','createUIElement','Paragraph','mapper','consume','bindElementToMarker','ELEMENT_PARAGRAPH','markerRange','end','addMarker:suggestion:insertion','registerElementLabel','consumable','getFirstRange','markerName','includes','editing','toViewPosition','*Insert:*\x20%0','afterInit','change','span','insertParagraph','ck-suggestion-marker--active','data','plugins','commandName','getItemLabel','registerDescriptionCallback','enableCommand','highest','showSuggestionHighlights','getSelectedBlocks','ck-suggestion-marker-split','addClass','blockName','selection','isBlock','$text','format','checkChild','model','start','options','filter','get','schema','writer','markBlockFormat','_descriptionFactory','paragraph','TrackChangesEditing'];(function(_0x186c3a,_0x4a211a){const _0x98b28f=function(_0x5e9440){while(--_0x5e9440){_0x186c3a['push'](_0x186c3a['shift']());}};_0x98b28f(++_0x4a211a);}(_0x4a21,0xca));const _0x98b2=function(_0x186c3a,_0x4a211a){_0x186c3a=_0x186c3a-0x0;let _0x98b28f=_0x4a21[_0x186c3a];return _0x98b28f;};import{Plugin as _0x2b63d2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x569380}from'./utils';import{getTranslation as _0x31abf3}from'../utils/common-translations';export default class ct extends _0x2b63d2{[_0x98b2('0x32')](){const _0x4f5639=this[_0x98b2('0x20')];if(!_0x4f5639[_0x98b2('0x38')]['has'](_0x98b2('0x22')))return;const _0xb60c50=_0x4f5639['locale'],_0x424b09=_0x4f5639[_0x98b2('0x38')][_0x98b2('0x13')](_0x98b2('0x19'));_0x424b09[_0x98b2('0x17')][_0x98b2('0x2a')](_0x98b2('0x18'),_0x28e25a=>_0x31abf3(_0xb60c50,_0x98b2('0x26'),_0x28e25a)),_0x424b09[_0x98b2('0x3')](_0x98b2('0x18'),(_0x22de89,_0x226303={})=>{const _0x1091e2=_0x4f5639[_0x98b2('0xf')]['document'],_0x3d8644=_0x226303[_0x98b2('0xa')]||_0x1091e2[_0x98b2('0xa')],_0x489916=Array[_0x98b2('0x1f')](_0x3d8644[_0x98b2('0x6')]())[_0x98b2('0x12')](_0x5aa37c=>function(_0xc22f21,_0x21b192){return _0x21b192[_0x98b2('0xe')](_0xc22f21['parent'],_0x98b2('0x18'))&&!_0x21b192[_0x98b2('0x1e')](_0xc22f21)&&_0x98b2('0x18')!=_0xc22f21['name'];}(_0x5aa37c,this['editor'][_0x98b2('0xf')]['schema']));_0x4f5639[_0x98b2('0xf')][_0x98b2('0x33')](()=>{for(const _0x58aac5 of _0x489916)_0x424b09[_0x98b2('0x16')](_0x58aac5,{'commandName':_0x98b2('0x18'),'commandParams':[],'formatGroupId':_0x98b2('0x9')},_0x569380(_0x58aac5));});}),_0x424b09[_0x98b2('0x17')][_0x98b2('0x2')](_0x452f73=>{const {data:_0x4d1508}=_0x452f73;if(_0x4d1508&&_0x98b2('0x18')==_0x4d1508[_0x98b2('0x0')])return{'type':_0x98b2('0xd'),'content':_0x31abf3(_0xb60c50,_0x98b2('0x1c'),_0x31abf3(_0xb60c50,_0x98b2('0x26')))};}),_0x424b09[_0x98b2('0x3')](_0x98b2('0x35')),_0x4f5639[_0x98b2('0x2f')]['downcastDispatcher']['on'](_0x98b2('0x29'),ar(_0x4f5639),{'priority':'highest'}),_0x4f5639[_0x98b2('0x37')]['downcastDispatcher']['on'](_0x98b2('0x29'),(_0x34a893,_0x1ad410,_0x45f553)=>{_0x45f553[_0x98b2('0x11')][_0x98b2('0x5')]&&ar(_0x4f5639,{'showActiveMarker':!0x1})(_0x34a893,_0x1ad410,_0x45f553);},{'priority':_0x98b2('0x4')});const _0x2779d6=_0x424b09[_0x98b2('0x17')];_0x2779d6[_0x98b2('0x2')](_0x2c8fa6=>{if('insertion'!==_0x2c8fa6['type'])return;const {start:_0x3ce049,end:_0xe18ff6}=_0x2c8fa6[_0x98b2('0x2c')]();if(!_0x3ce049['isTouching'](_0xe18ff6)||!_0x3ce049[_0x98b2('0x1a')])return;const _0xb05f7b=_0x4f5639[_0x98b2('0xf')][_0x98b2('0x14')],_0x183b5c=_0x3ce049[_0x98b2('0x1a')];return _0xb05f7b[_0x98b2('0xb')](_0x183b5c)&&!_0xb05f7b[_0x98b2('0x1b')](_0x183b5c)&&_0xb05f7b['checkChild'](_0x183b5c,_0x98b2('0xc'))?{'type':'insertion','content':_0x31abf3(_0xb60c50,_0x98b2('0x31'),_0x2779d6[_0x98b2('0x1')](_0x183b5c,0x1))}:void 0x0;});}}function ar(_0x18d60d,{showActiveMarker:_0x3c5712=!0x0}={}){return(_0x3e86dc,_0x34d6b6,_0x471f62)=>{const _0x2df365=_0x18d60d['plugins'][_0x98b2('0x13')](_0x98b2('0x19')),_0x36dbc2=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x10')],_0x14a5f4=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x28')],_0x237171=_0x18d60d[_0x98b2('0xf')]['schema'];if(!_0x36dbc2[_0x98b2('0x1d')](_0x14a5f4)||!_0x36dbc2['nodeAfter'])return;const _0x37f906=_0x36dbc2[_0x98b2('0x1a')];if(_0x237171[_0x98b2('0xb')](_0x37f906)&&!_0x237171[_0x98b2('0x1b')](_0x37f906)&&_0x237171[_0x98b2('0xe')](_0x37f906,_0x98b2('0xc'))){if(!_0x471f62[_0x98b2('0x2b')][_0x98b2('0x24')](_0x34d6b6['markerRange'],_0x3e86dc['name']))return;const _0x5d9972=_0x471f62[_0x98b2('0x15')][_0x98b2('0x21')](_0x98b2('0x34'),{'class':_0x98b2('0x7')}),_0xf88720=_0x471f62['mapper'][_0x98b2('0x30')](_0x14a5f4);_0x3c5712&&_0x2df365['activeMarkers'][_0x98b2('0x2e')](_0x34d6b6[_0x98b2('0x2d')])&&_0x471f62[_0x98b2('0x15')][_0x98b2('0x8')](_0x98b2('0x36'),_0x5d9972),_0x471f62[_0x98b2('0x15')]['insert'](_0xf88720,_0x5d9972),_0x471f62[_0x98b2('0x23')][_0x98b2('0x25')](_0x5d9972,_0x34d6b6[_0x98b2('0x2d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58cb=['RemoveFormatEditing','has','getAttributeProperties','_descriptionFactory','schema','commandName','removeFormat','model','format','change','isFormatting','get','from','selection','getRanges','getAttributes','isCollapsed','plugins','editor'];(function(_0x46dc97,_0x58cbbe){const _0x3cf9ad=function(_0x8350f8){while(--_0x8350f8){_0x46dc97['push'](_0x46dc97['shift']());}};_0x3cf9ad(++_0x58cbbe);}(_0x58cb,0x18d));const _0x3cf9=function(_0x46dc97,_0x58cbbe){_0x46dc97=_0x46dc97-0x0;let _0x3cf9ad=_0x58cb[_0x46dc97];return _0x3cf9ad;};import{Plugin as _0x234998}from'ckeditor5/src/core';import{getTranslation as _0x36e952}from'../utils/common-translations';export default class ht extends _0x234998{['afterInit'](){const _0x500441=this[_0x3cf9('0x1')];if(!_0x500441[_0x3cf9('0x0')][_0x3cf9('0x3')](_0x3cf9('0x2')))return;const _0x5cdd32=_0x500441[_0x3cf9('0x0')][_0x3cf9('0xd')]('TrackChangesEditing');_0x5cdd32['enableCommand'](_0x3cf9('0x8'),_0x2f5486=>{const _0x3ff11b=_0x500441['model']['document'][_0x3cf9('0xf')];_0x3ff11b[_0x3cf9('0x12')]?_0x2f5486():_0x500441[_0x3cf9('0x9')][_0x3cf9('0xb')](()=>{const _0x5cb4ca=Array[_0x3cf9('0xe')](_0x3ff11b[_0x3cf9('0x10')]());for(const _0x15fdf4 of _0x5cb4ca)for(const _0x542269 of _0x15fdf4['getItems']())eo(_0x542269,_0x500441[_0x3cf9('0x9')][_0x3cf9('0x6')])&&_0x5cdd32['markInlineFormat'](_0x500441[_0x3cf9('0x9')]['createRangeOn'](_0x542269),{'commandName':'removeFormat','commandParams':[]});});}),_0x5cdd32[_0x3cf9('0x5')]['registerDescriptionCallback'](_0x3e5f8e=>{const {data:_0x8c90a3}=_0x3e5f8e;if(_0x8c90a3&&_0x3cf9('0x8')==_0x8c90a3[_0x3cf9('0x7')])return{'type':_0x3cf9('0xa'),'content':_0x36e952(_0x500441['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x55a6cd,_0x4c4a77){for(const [_0x444ea6]of _0x55a6cd[_0x3cf9('0x11')]()){const _0x30ba83=_0x4c4a77[_0x3cf9('0x4')](_0x444ea6);if(_0x30ba83&&_0x30ba83[_0x3cf9('0xc')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7785=['goToNextRestrictedEditingException','RestrictedEditingModeEditing','plugins','discardAllSuggestions','trackChanges','discardSelectedSuggestions','discardSuggestion','acceptSuggestion','goToPreviousRestrictedEditingException','acceptAllSuggestions','TrackChangesEditing','enableCommand','get','has'];(function(_0xb6218d,_0x7785bc){const _0x4dcca4=function(_0x4824a3){while(--_0x4824a3){_0xb6218d['push'](_0xb6218d['shift']());}};_0x4dcca4(++_0x7785bc);}(_0x7785,0x93));const _0x4dcc=function(_0xb6218d,_0x7785bc){_0xb6218d=_0xb6218d-0x0;let _0x4dcca4=_0x7785[_0xb6218d];return _0x4dcca4;};import{Plugin as _0x129a43}from'ckeditor5/src/core';export default class ut extends _0x129a43{['afterInit'](){const _0x329eb4=this['editor'];if(!_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x6')](_0x4dcc('0x8')))return;const _0x51594b=_0x329eb4['plugins'][_0x4dcc('0x5')](_0x4dcc('0x3'));_0x51594b[_0x4dcc('0x4')](_0x4dcc('0x1')),_0x51594b['enableCommand'](_0x4dcc('0x7'));const _0x10f99c=_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x5')](_0x4dcc('0x8'));_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xb')),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0x0')),_0x10f99c['enableCommand'](_0x4dcc('0xd')),_0x10f99c['enableCommand'](_0x4dcc('0x2')),_0x10f99c['enableCommand'](_0x4dcc('0xa')),_0x10f99c[_0x4dcc('0x4')]('acceptSelectedSuggestions'),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa9de=['downcastDispatcher','ck-suggestion-marker--active','includes','enableCommand','data','createUIElement','ELEMENT_LINE_BREAK','requires','TrackChangesEditing','span','addMarker:suggestion:insertion','locale','editing','high','editor','name','plugins','markerName','ck-suggestion-marker-','showSuggestionHighlights','addMarker:suggestion:deletion','split','options','softBreak','mapper','_descriptionFactory','bindElementToMarker','merge','get','addMarker:suggestion','getItems','writer','consumable'];(function(_0x21438c,_0xa9de12){const _0x6cb30=function(_0x48aadc){while(--_0x48aadc){_0x21438c['push'](_0x21438c['shift']());}};_0x6cb30(++_0xa9de12);}(_0xa9de,0xef));const _0x6cb3=function(_0x21438c,_0xa9de12){_0x21438c=_0x21438c-0x0;let _0x6cb30=_0xa9de[_0x21438c];return _0x6cb30;};import{Plugin as _0x2edf58}from'ckeditor5/src/core';import{ShiftEnter as _0x295317}from'ckeditor5/src/enter';import{getTranslation as _0x10a4d8}from'../utils/common-translations';export default class ft extends _0x2edf58{static get[_0x6cb3('0x20')](){return[_0x295317];}['init'](){const _0x3eef19=this[_0x6cb3('0x6')],_0x182c5f=_0x3eef19[_0x6cb3('0x8')]['get'](_0x6cb3('0x0'));_0x182c5f[_0x6cb3('0x1c')]('shiftEnter'),_0x3eef19[_0x6cb3('0x4')][_0x6cb3('0x19')]['on'](_0x6cb3('0x2'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19['editing']['downcastDispatcher']['on'](_0x6cb3('0xc'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19[_0x6cb3('0x1d')][_0x6cb3('0x19')]['on'](_0x6cb3('0x15'),(_0x58a594,_0x39c983,_0x41ebb4)=>{_0x41ebb4[_0x6cb3('0xe')][_0x6cb3('0xb')]&&re(_0x3eef19,{'showActiveMarker':!0x1})(_0x58a594,_0x39c983,_0x41ebb4);}),_0x182c5f[_0x6cb3('0x11')]['registerElementLabel'](_0x6cb3('0xf'),_0xb87719=>_0x10a4d8(_0x3eef19[_0x6cb3('0x3')],_0x6cb3('0x1f'),_0xb87719));}}function re(_0x233732,{showActiveMarker:_0x21dbbf=!0x0}={}){return(_0x49ab9d,_0x1fbefd,_0x1f0204)=>{const _0x2e147f=_0x233732[_0x6cb3('0x8')][_0x6cb3('0x14')]('TrackChangesEditing');if(!_0x1f0204[_0x6cb3('0x18')]['test'](_0x1fbefd['markerRange'],_0x49ab9d[_0x6cb3('0x7')]))return;const _0x32e7ff=_0x233732['model'];for(const _0x1da7bd of _0x1fbefd['markerRange'][_0x6cb3('0x16')]()){if(!_0x1da7bd['is']('element',_0x6cb3('0xf')))continue;const _0x213570='deletion'==_0x1fbefd['markerName']['split'](':')[0x1]?_0x6cb3('0x13'):_0x6cb3('0xd'),_0x234f48=_0x1f0204[_0x6cb3('0x17')][_0x6cb3('0x1e')](_0x6cb3('0x1'),{'class':_0x6cb3('0xa')+_0x213570}),_0x2197f3=_0x1f0204[_0x6cb3('0x10')]['toViewPosition'](_0x32e7ff['createPositionBefore'](_0x1da7bd));_0x21dbbf&&_0x2e147f['activeMarkers'][_0x6cb3('0x1b')](_0x1fbefd[_0x6cb3('0x9')])&&_0x1f0204[_0x6cb3('0x17')]['addClass'](_0x6cb3('0x1a'),_0x234f48),_0x1f0204['writer']['insert'](_0x2197f3,_0x234f48),_0x1f0204[_0x6cb3('0x10')][_0x6cb3('0x12')](_0x234f48,_0x1fbefd[_0x6cb3('0x9')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40df=['model','_descriptionFactory','commands','value','isCollapsed','format','enableCommand','restrictedEditingException','plugins','commandName','document','FORMAT_RESTRICTED_DISABLED','get','editor','selection','forceValue','has','TrackChangesEditing'];(function(_0x1107e2,_0x40df9b){const _0x486e86=function(_0x41976c){while(--_0x41976c){_0x1107e2['push'](_0x1107e2['shift']());}};_0x486e86(++_0x40df9b);}(_0x40df,0xab));const _0x486e=function(_0x1107e2,_0x40df9b){_0x1107e2=_0x1107e2-0x0;let _0x486e86=_0x40df[_0x1107e2];return _0x486e86;};import{Plugin as _0x5c3156}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x35ba74}from'./utils';import{getTranslation as _0x577dd8}from'../utils/common-translations';export default class lt extends _0x5c3156{['afterInit'](){const _0xf5bce7=this[_0x486e('0x4')],_0x135ba0=_0xf5bce7[_0x486e('0x9')],_0x22b679=_0xf5bce7['locale'];if(!_0xf5bce7[_0x486e('0x11')][_0x486e('0x7')]('StandardEditingModeEditing'))return;const _0x59d714=_0xf5bce7[_0x486e('0x11')]['get'](_0x486e('0x8')),_0x40b004=_0x486e('0x10'),_0x28afa6=_0xf5bce7[_0x486e('0xb')][_0x486e('0x3')](_0x40b004);_0x59d714[_0x486e('0xf')](_0x40b004,(_0x3dda67,_0x1bfc1c={})=>{const _0xc8680c=_0x135ba0[_0x486e('0x1')][_0x486e('0x5')];if(_0xc8680c[_0x486e('0xd')])return void _0x3dda67(_0x1bfc1c);const _0x22b2bc=void 0x0!==_0x1bfc1c[_0x486e('0x6')]?_0x1bfc1c['forceValue']:!_0x28afa6[_0x486e('0xc')];_0x135ba0['change'](()=>{const _0x3f452f=Array['from'](_0xc8680c['getRanges']());for(const _0x3769d3 of _0x3f452f){const _0x3fdc75=_0x22b2bc?[_0x3769d3]:_0x35ba74(_0x40b004,_0x3769d3,_0x135ba0);for(const _0x97b48e of _0x3fdc75)_0x59d714['markInlineFormat'](_0x97b48e,{'commandName':_0x40b004,'commandParams':[{'forceValue':_0x22b2bc}]});}});}),_0x59d714[_0x486e('0xa')]['registerDescriptionCallback'](_0x599ae6=>{const {data:_0x3896ed}=_0x599ae6;if(_0x3896ed&&_0x3896ed[_0x486e('0x0')]==_0x40b004)return _0x3896ed['commandParams'][0x0][_0x486e('0x6')]?{'type':_0x486e('0xe'),'content':_0x577dd8(_0x22b679,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x577dd8(_0x22b679,_0x486e('0x2'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d4b=['document','*Remove\x20format:*\x20%0','TrackChangesEditing','_descriptionFactory','classes','from','modelElements','DataSchema','element','push','enabledStyles','change','getRanges','*Format:*\x20%0','has','locale','plugins','block','getAttribute','_getRangesWithClasses','config','getSelectedBlocks','getDefinitionsForView','afterInit','toLowerCase','_getStyleDefinition','markInlineFormat','Style','includes','find','name','every','isBlock','createRangeOn','enableCommand','commandName','add','commandParams','style:','model','styleName','selection','normalizeConfig','inline','StyleUtils','editor','style','get'];(function(_0x405785,_0x5d4bf0){const _0x4e41d2=function(_0x2f50fb){while(--_0x2f50fb){_0x405785['push'](_0x405785['shift']());}};_0x4e41d2(++_0x5d4bf0);}(_0x5d4b,0x172));const _0x4e41=function(_0x405785,_0x5d4bf0){_0x405785=_0x405785-0x0;let _0x4e41d2=_0x5d4b[_0x405785];return _0x4e41d2;};import{Plugin as _0x7d49ac}from'ckeditor5/src/core';import{getTranslation as _0x46a3d0}from'../utils/common-translations';export default class gt extends _0x7d49ac{[_0x4e41('0x25')](){const _0x4a96d4=this[_0x4e41('0xb')];if(!_0x4a96d4['plugins'][_0x4e41('0x1c')](_0x4e41('0x29')))return;const _0x30ecfd=_0x4a96d4['commands'][_0x4e41('0xd')](_0x4e41('0xc')),_0x2c8cff=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0x10')),_0x1adf74=_0x4a96d4[_0x4e41('0x1d')],_0x3753bc=_0x4a96d4['plugins'][_0x4e41('0xd')](_0x4e41('0x15')),_0x26759d=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0xa'))[_0x4e41('0x8')](_0x3753bc,_0x4a96d4[_0x4e41('0x22')]['get']('style.definitions'));_0x2c8cff[_0x4e41('0x0')]('style',(_0x393f27,{styleName:_0x485119})=>{const _0x46b99f=_0x4a96d4[_0x4e41('0x5')][_0x4e41('0xe')][_0x4e41('0x7')],_0x4725cb=this[_0x4e41('0x27')](_0x485119,_0x26759d);if(!_0x4725cb)return;if(!_0x30ecfd[_0x4e41('0x18')]['includes'](_0x485119))return;if(_0x46b99f['isCollapsed']&&!_0x4725cb['isBlock'])return void _0x393f27({'styleName':_0x485119});const _0x45dd1d=!_0x30ecfd['value'][_0x4e41('0x2a')](_0x4725cb[_0x4e41('0x2c')]);if(_0x4725cb[_0x4e41('0x2e')]){const _0x537285=function(_0x31586e,_0xc00b93){const _0x112041=new Set();for(const _0x2d8a1c of _0x31586e){const _0x28a406=_0x2d8a1c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xb7652b of _0x28a406)if(_0xc00b93[_0x4e41('0x2a')](_0xb7652b[_0x4e41('0x2c')])){_0x112041[_0x4e41('0x2')](_0xb7652b);break;}}return _0x112041;}(_0x46b99f[_0x4e41('0x23')](),_0x4725cb[_0x4e41('0x14')]);_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xe6faa6 of _0x537285)_0x2c8cff['markBlockFormat'](_0xe6faa6,{'commandName':'style','commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}],'formatGroupId':_0x4e41('0x4')+_0x485119});});}else{let _0x19af19=Array[_0x4e41('0x13')](_0x46b99f[_0x4e41('0x1a')]());if(!_0x45dd1d){const _0x14eedc=Array[_0x4e41('0x13')](_0x3753bc[_0x4e41('0x24')](_0x4725cb[_0x4e41('0x16')],!0x1))[0x0][_0x4e41('0x5')],_0x1d3f9e=[];for(const _0x3721b2 of _0x19af19){const _0x2f2ab7=this[_0x4e41('0x21')](_0x4a96d4[_0x4e41('0x5')],_0x3721b2,_0x4725cb[_0x4e41('0x12')],_0x14eedc);_0x1d3f9e[_0x4e41('0x17')](..._0x2f2ab7);}_0x19af19=_0x1d3f9e;}_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xecf3c1 of _0x19af19)_0x2c8cff[_0x4e41('0x28')](_0xecf3c1,{'commandName':_0x4e41('0xc'),'commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}]});});}}),_0x2c8cff[_0x4e41('0x11')]['registerDescriptionCallback'](_0x559d41=>{const {data:_0x54b502}=_0x559d41;if(_0x54b502&&_0x4e41('0xc')===_0x54b502[_0x4e41('0x1')])return _0x54b502[_0x4e41('0x3')][0x0]['forceValue']?{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0x1b'),_0x54b502[_0x4e41('0x3')][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0xf'),_0x54b502[_0x4e41('0x3')][0x0][_0x4e41('0x6')][_0x4e41('0x26')]())};});}[_0x4e41('0x27')](_0x3fd153,_0x5a8d9){let _0x118f2b=_0x5a8d9[_0x4e41('0x1f')][_0x4e41('0x2b')](_0x436dfb=>_0x436dfb['name']===_0x3fd153);return _0x118f2b||(_0x118f2b=_0x5a8d9[_0x4e41('0x9')][_0x4e41('0x2b')](_0x1e0081=>_0x1e0081[_0x4e41('0x2c')]===_0x3fd153)),_0x118f2b;}['_getRangesWithClasses'](_0x15582b,_0x2f1b7c,_0x5a9587,_0x359b83){const _0x584d9c=[];for(const _0x420c48 of _0x2f1b7c['getItems']()){const _0x336694=_0x420c48[_0x4e41('0x20')](_0x359b83);_0x336694&&(_0x5a9587[_0x4e41('0x2d')](_0x4e5705=>_0x336694[_0x4e41('0x12')][_0x4e41('0x2a')](_0x4e5705))&&_0x584d9c[_0x4e41('0x17')](_0x15582b[_0x4e41('0x2f')](_0x420c48)));}return _0x584d9c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2439=['editor','push','min','getFirstRange','*Insert:*\x20%0','getCellLocation','registerDescriptionCallback','*Remove:*\x20%0','type','insertTableColumnRight','_acceptFormatSuggestionCallbackFactory','insertTableColumnLeft','toLowerCase','addMarker:suggestion','fromRange','position','data','last','from','showSuggestionHighlights','order','insertTableRowAbove','downcastDispatcher','start','left','filter','addRange','deletion','MAX_SAFE_INTEGER','afterInit','setSelection','ELEMENT_TABLE_COLUMN','isArray','has','above','removeTableRow','getItems','subType','first','enqueueChange','nodeAfter','maxColumn','cell','getContainedElement','suggestion','ELEMENT_TABLE_COLUMN_WITH_TEXT','getAttribute','_splitMarkerName','selection','change:data','removeTableColumn','tableColumn','TableEditing','discard','rowspan','tableCell','length','isTouching','nodeBefore','insertTable','createRangeIn','registerCustomCallback','registerElementLabel','getColumnIndexes','getRanges','accept','ELEMENT_TABLE_ROW_WITH_TEXT','forceValue','get','tablePaste','batch','toViewElement','writer','markMultiRangeInsertion','max','plugins','join','getChangedMarkers','getSelectionAffectedTableCells','tableRow','minColumn','differ','map','execute','some','_getSuggestionCoords','createPositionAt','getChanges','low','startsWith','createTableWalker','model','highest','insert','enableCommand','end','values','_setupColumnsRowsFixing','isIntersectingWithRange','addClass','findAncestor','_tableSuggestions','table','every','document','substr','span','createRangeOn','$graveyard','name','_tablePostFixingSubtypes','hasAttribute','refresh','locale','commands','_suggestionFactory','TableUtils','colspan','insertion','change','getChildren','removeClass','markMultiRangeDeletion','MIN_SAFE_INTEGER','_descriptionFactory','insertTableRowBelow','$textProxy','isEqual','detach','rootName','getRowIndexes','ELEMENT_TABLE_WITH_TEXT','_getCoordsForCells','root','classes','selectTableRow'];(function(_0x39af5e,_0x24390f){const _0x3582fa=function(_0x165a09){while(--_0x165a09){_0x39af5e['push'](_0x39af5e['shift']());}};_0x3582fa(++_0x24390f);}(_0x2439,0x156));const _0x3582=function(_0x39af5e,_0x24390f){_0x39af5e=_0x39af5e-0x0;let _0x3582fa=_0x2439[_0x39af5e];return _0x3582fa;};import{Plugin as _0x2a5e18}from'ckeditor5/src/core';import{LiveRange as _0x111cf3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2438f4}from'ckeditor5/src/widget';import{getTranslation as _0x3442a2}from'../utils/common-translations';export default class mt extends _0x2a5e18{constructor(_0x1baa28){super(_0x1baa28),this[_0x3582('0x28')]=[_0x3582('0x9'),'tableColumn'],this[_0x3582('0x1f')]=new Set();}[_0x3582('0x5f')](){const _0x11c94e=this[_0x3582('0x42')],_0xbdb79d=_0x11c94e['model'][_0x3582('0x22')][_0x3582('0x72')];if(!_0x11c94e[_0x3582('0x5')][_0x3582('0x63')](_0x3582('0x76')))return;const _0x2ed095=_0x11c94e[_0x3582('0x2b')],_0x1d4287=_0x11c94e[_0x3582('0x5')][_0x3582('0x86')]('TrackChangesEditing'),_0x318af7=_0x11c94e[_0x3582('0x5')][_0x3582('0x86')](_0x3582('0x2e'));_0x1d4287[_0x3582('0x36')][_0x3582('0x80')](_0x3582('0x20'),_0x529c40=>_0x3442a2(_0x2ed095,'ELEMENT_TABLE',_0x529c40)),this['_setupColumnsRowsFixing'](),_0x1d4287['enableCommand'](_0x3582('0x7d')),_0x1d4287[_0x3582('0x18')](_0x3582('0x41')),_0x1d4287[_0x3582('0x18')]('selectTableColumn');for(const _0x46605e of[_0x3582('0x57'),_0x3582('0x37')]){const _0x521cc9=_0x11c94e[_0x3582('0x2c')][_0x3582('0x86')](_0x46605e);_0x1d4287['enableCommand'](_0x46605e,_0x37ed41=>{_0x11c94e[_0x3582('0x15')]['change'](_0xb4f975=>{_0x37ed41();const _0x3d9881=_0x3582('0x64')===_0x521cc9[_0x3582('0x56')],_0x422a25=_0x318af7[_0x3582('0x8')](_0xbdb79d),_0x213857=_0x318af7[_0x3582('0x3c')](_0x422a25),_0x55798b=_0x3d9881?_0x213857[_0x3582('0x68')]-0x1:_0x213857[_0x3582('0x53')]+0x1,_0x421bdc=_0x422a25[0x0][_0x3582('0x1e')](_0x3582('0x20')),_0x36a51f=_0x318af7['createTableWalker'](_0x421bdc,{'startRow':_0x55798b,'endRow':_0x55798b}),_0x17fb61=Array[_0x3582('0x54')](_0x36a51f)['map'](_0x468051=>_0xb4f975[_0x3582('0x25')](_0x468051[_0x3582('0x6c')]));_0x1d4287[_0x3582('0x3')](_0x17fb61,'tableRow');});});}for(const _0x51dad7 of[_0x3582('0x4d'),_0x3582('0x4b')]){const _0x4e0d4d=_0x11c94e['commands']['get'](_0x51dad7);_0x1d4287['enableCommand'](_0x51dad7,_0x4534fb=>{_0x11c94e[_0x3582('0x15')][_0x3582('0x31')](_0xd23479=>{_0x4534fb();const _0x6671ef=_0x3582('0x5a')===_0x4e0d4d[_0x3582('0x56')],_0x343b04=_0x318af7['getSelectionAffectedTableCells'](_0xbdb79d),_0x1e828=_0x318af7[_0x3582('0x81')](_0x343b04),_0x16ef90=_0x6671ef?_0x1e828[_0x3582('0x68')]-0x1:_0x1e828[_0x3582('0x53')]+0x1,_0x59eb38=_0x343b04[0x0][_0x3582('0x1e')](_0x3582('0x20')),_0x468b22=_0x318af7[_0x3582('0x14')](_0x59eb38,{'startRow':0x0,'column':_0x16ef90,'includeAllSlots':!0x1}),_0xd8c8a2=Array[_0x3582('0x54')](_0x468b22)[_0x3582('0xc')](_0x4a3c75=>_0xd23479[_0x3582('0x25')](_0x4a3c75[_0x3582('0x6c')]));_0x1d4287[_0x3582('0x3')](_0xd8c8a2,'tableColumn');});});}for(const _0x59fa3a of[_0x3582('0x65'),_0x3582('0x74')]){const _0x566e37=_0x59fa3a[_0x3582('0x23')](0xb),_0x159696=_0x566e37[_0x3582('0x4e')](),_0x2f4866=_0x159696[_0x3582('0x23')](0x0,0x3)+_0x3582('0x24'),_0x1d4911=_0x3582('0x20')+_0x566e37,_0x47ef3d=_0x3582('0x44')+_0x566e37,_0x3e98e3='max'+_0x566e37;_0x1d4287[_0x3582('0x18')](_0x59fa3a,()=>{_0x11c94e[_0x3582('0x15')][_0x3582('0x31')](_0x1c9ab4=>{const _0x50935a=_0x318af7[_0x3582('0x8')](_0xbdb79d),_0x3536d6=_0x50935a[0x0][_0x3582('0x1e')](_0x3582('0x20'));let _0x236a72;if(_0x3582('0x65')==_0x59fa3a){const _0x1677de=_0x318af7[_0x3582('0x3c')](_0x50935a);_0x236a72={'startRow':_0x1677de[_0x3582('0x68')],'endRow':_0x1677de['last'],'includeAllSlots':!0x0};}else{const _0x55459a=_0x318af7[_0x3582('0x81')](_0x50935a);_0x236a72={'startColumn':_0x55459a['first'],'endColumn':_0x55459a[_0x3582('0x53')],'includeAllSlots':!0x0};}const _0x50c091=_0x318af7[_0x3582('0x14')](_0x3536d6,_0x236a72),_0x566981=Array[_0x3582('0x54')](_0x50c091)[_0x3582('0xc')](({cell:_0x14857c})=>_0x14857c),_0x23ac9c=se(_0x566981[_0x3582('0x5b')](_0x397a76=>_0x397a76['hasAttribute'](_0x2f4866))),_0x4f4610=se(_0x566981['filter'](_0x4eb8ba=>!_0x4eb8ba[_0x3582('0x29')](_0x2f4866)))[_0x3582('0xc')](_0xbd5847=>_0x1c9ab4[_0x3582('0x25')](_0xbd5847)),_0x541d68=_0x1d4287[_0x3582('0x34')](_0x4f4610,_0x1d4911);if(_0x541d68&&('tableRow'==_0x541d68['subType']||_0x3582('0x75')==_0x541d68['subType'])){const _0xfffd59=this[_0x3582('0xf')](_0x541d68);for(const _0x5c6fde of _0x23ac9c){const _0x20a1a8=_0x1c9ab4[_0x3582('0x25')](_0x5c6fde),_0x4005fe=_0x318af7[_0x3582('0x47')](_0x5c6fde),_0x57ff15=_0x5c6fde['getAttribute'](_0x2f4866)-0x1,_0x2a5913=_0xfffd59[_0x47ef3d],_0x384df6=_0xfffd59[_0x3e98e3];_0x2a5913<=_0x4005fe[_0x159696]&&_0x4005fe[_0x159696]+_0x57ff15<=_0x384df6&&_0x541d68['addRange'](_0x20a1a8);}}});});}function _0x451fce(_0x4b4185){const _0x5079b0=Array[_0x3582('0x54')](_0xbdb79d[_0x3582('0x82')]())[_0x3582('0xc')](_0x59caf8=>_0x111cf3['fromRange'](_0x59caf8));_0x11c94e[_0x3582('0x15')][_0x3582('0x31')](_0x48da5b=>{const _0x5f0c70=_0x48da5b[_0x3582('0x0')];_0x4b4185=_0x4b4185[_0x3582('0x5b')](_0x4564f2=>'$graveyard'!=_0x4564f2[_0x3582('0x3f')][_0x3582('0x3b')]),_0x48da5b[_0x3582('0x60')](_0x4b4185),_0x11c94e['commands'][_0x3582('0x86')]('removeTableRow')[_0x3582('0x2a')](),_0x11c94e[_0x3582('0xd')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x11c94e[_0x3582('0x15')][_0x3582('0x69')](()=>{_0x11c94e[_0x3582('0x15')][_0x3582('0x69')](_0x5f0c70,_0x2f311a=>{const _0x326621=_0x5079b0['filter'](_0x56efa3=>'$graveyard'!=_0x56efa3['root'][_0x3582('0x3b')]);_0x326621[_0x3582('0x7a')]>0x0&&_0x2f311a[_0x3582('0x60')](_0x326621);for(const _0x417841 of _0x5079b0)_0x417841[_0x3582('0x3a')]();});});});}function _0x127643(_0x21ba12){_0x11c94e['model'][_0x3582('0x31')](_0x24b4cc=>{const _0x55aeb2=Array[_0x3582('0x54')](_0xbdb79d['getRanges']())[_0x3582('0xc')](_0x50224e=>_0x111cf3[_0x3582('0x50')](_0x50224e)),_0x51876e=[];for(const _0x41a6df of _0x21ba12)for(const _0x13bd17 of _0x41a6df['getItems']({'shallow':!0x0}))_0x51876e['push'](_0x13bd17);for(const _0x3ff14c of _0x51876e)'$graveyard'!=_0x3ff14c[_0x3582('0x3f')][_0x3582('0x3b')]&&(_0x24b4cc[_0x3582('0x60')](_0x24b4cc[_0x3582('0x10')](_0x3ff14c,0x0)),_0x11c94e[_0x3582('0x2c')][_0x3582('0x86')](_0x3582('0x74'))[_0x3582('0x2a')](),_0x11c94e[_0x3582('0xd')](_0x3582('0x74'),{'forceDefaultExecution':!0x0}));const _0x180ed9=_0x55aeb2[_0x3582('0x5b')](_0x560719=>_0x3582('0x26')!=_0x560719[_0x3582('0x3f')][_0x3582('0x3b')]);_0x180ed9[_0x3582('0x7a')]>0x0&&_0x24b4cc[_0x3582('0x60')](_0x180ed9);for(const _0x4adadb of _0x55aeb2)_0x4adadb[_0x3582('0x3a')]();});}function _0x4508fb(_0x4ed9a8,_0x523134){return _0x523134[_0x3582('0x21')](_0x4213a9=>_0x4ed9a8[_0x3582('0xe')](_0x43eb00=>_0x43eb00[_0x3582('0x19')][_0x3582('0x39')](_0x4213a9['start'])||_0x4213a9[_0x3582('0x19')][_0x3582('0x39')](_0x43eb00[_0x3582('0x59')])));}function _0x4734cc(_0x1c6603,_0x4d0488){return _0x1c6603['some'](_0x5df74e=>_0x4d0488[_0x3582('0xe')](_0x250dfa=>_0x5df74e[_0x3582('0x19')][_0x3582('0x7b')](_0x250dfa[_0x3582('0x59')])));}_0x11c94e['data'][_0x3582('0x58')]['on'](_0x3582('0x4f'),(_0x2b4b2,_0x13077c,_0x334978)=>{if(!_0x334978['options'][_0x3582('0x55')])return;const _0x43eca3=_0x13077c['item'];if(!_0x43eca3)return;const _0x283c29=_0x334978['mapper'][_0x3582('0x1')](_0x43eca3);function _0x27221a(_0x596f7c){return Array[_0x3582('0x62')](_0x596f7c)?_0x596f7c:[_0x596f7c];}_0x283c29&&_0x3582('0x79')===_0x43eca3[_0x3582('0x27')]&&_0x2438f4(_0x283c29,_0x334978[_0x3582('0x2')],(_0x104501,_0x384c15,_0x240948)=>_0x240948[_0x3582('0x1d')](_0x27221a(_0x384c15[_0x3582('0x40')]),_0x104501),(_0x70a5ab,_0x5b00bc,_0x25df37)=>_0x25df37[_0x3582('0x33')](_0x27221a(_0x5b00bc[_0x3582('0x40')]),_0x70a5ab));},{'priority':_0x3582('0x16')}),_0x1d4287[_0x3582('0x36')][_0x3582('0x48')](_0x2536d4=>{if(_0x3582('0x30')!=_0x2536d4[_0x3582('0x4a')]&&_0x3582('0x5d')!=_0x2536d4[_0x3582('0x4a')])return;const _0x2309c5=_0x2536d4[_0x3582('0x6d')]();if(null!=_0x2309c5&&_0x2309c5['is']('element',_0x3582('0x20'))){if(_0x3582('0x30')==_0x2536d4[_0x3582('0x4a')]){const _0x26ee79=_0x2536d4[_0x3582('0x66')]()[_0x3582('0x5b')](_0x50d8f4=>_0x50d8f4['is'](_0x3582('0x38')))[_0x3582('0xc')](_0x3cfb8c=>_0x3cfb8c[_0x3582('0x52')]);if(_0x26ee79['length'])return{'type':_0x3582('0x30'),'content':_0x3442a2(_0x2ed095,_0x3582('0x46'),_0x3442a2(_0x2ed095,_0x3582('0x3d'),'\x22'+_0x26ee79[_0x3582('0x6')]('\x20')+'\x22'))};}if(_0x3582('0x5d')==_0x2536d4['type']){const _0x4e1f55=_0x2536d4[_0x3582('0x66')]()['filter'](_0x16fe6d=>_0x16fe6d['is'](_0x3582('0x38')))[_0x3582('0xc')](_0x50a73c=>_0x50a73c[_0x3582('0x52')]);if(_0x4e1f55[_0x3582('0x7a')])return{'type':'deletion','content':_0x3442a2(_0x2ed095,_0x3582('0x49'),_0x3442a2(_0x2ed095,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4e1f55[_0x3582('0x6')]('\x20')+'\x22'))};}}}),_0x1d4287[_0x3582('0x36')][_0x3582('0x48')](_0x33c508=>{if(_0x3582('0x9')==_0x33c508[_0x3582('0x67')]){const _0x587159=_0x33c508[_0x3582('0x66')]()[_0x3582('0x5b')](_0x3384e0=>_0x3384e0['is'](_0x3582('0x38')))[_0x3582('0xc')](_0x1fe2cc=>_0x1fe2cc[_0x3582('0x52')]),_0x585627=this[_0x3582('0xf')](_0x33c508),_0x1a76bd=_0x585627['maxRow']-_0x585627['minRow']+0x1;if('insertion'==_0x33c508[_0x3582('0x4a')])return _0x587159[_0x3582('0x7a')]?{'type':_0x3582('0x30'),'content':_0x3442a2(_0x2ed095,_0x3582('0x46'),_0x3442a2(_0x2ed095,_0x3582('0x84'),[_0x1a76bd,'\x22'+_0x587159[_0x3582('0x6')]('\x20')+'\x22']))}:{'type':_0x3582('0x30'),'content':_0x3442a2(_0x2ed095,_0x3582('0x46'),_0x3442a2(_0x2ed095,'ELEMENT_TABLE_ROW',_0x1a76bd))};if('deletion'==_0x33c508[_0x3582('0x4a')])return _0x587159['length']?{'type':_0x3582('0x5d'),'content':_0x3442a2(_0x2ed095,_0x3582('0x49'),_0x3442a2(_0x2ed095,_0x3582('0x84'),[_0x1a76bd,'\x22'+_0x587159[_0x3582('0x6')]('\x20')+'\x22']))}:{'type':_0x3582('0x5d'),'content':_0x3442a2(_0x2ed095,'*Remove:*\x20%0',_0x3442a2(_0x2ed095,'ELEMENT_TABLE_ROW',_0x1a76bd))};}if(_0x3582('0x75')==_0x33c508[_0x3582('0x67')]){const _0x25093f=_0x33c508[_0x3582('0x66')]()['filter'](_0x5ef4e2=>_0x5ef4e2['is'](_0x3582('0x38')))['map'](_0x158972=>_0x158972[_0x3582('0x52')]),_0x32a60b=this['_getSuggestionCoords'](_0x33c508),_0x507725=_0x32a60b[_0x3582('0x6b')]-_0x32a60b[_0x3582('0xa')]+0x1;if(_0x3582('0x30')==_0x33c508['type'])return _0x25093f[_0x3582('0x7a')]?{'type':_0x3582('0x30'),'content':_0x3442a2(_0x2ed095,_0x3582('0x46'),_0x3442a2(_0x2ed095,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x507725,'\x22'+_0x25093f['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x3442a2(_0x2ed095,_0x3582('0x46'),_0x3442a2(_0x2ed095,_0x3582('0x61'),_0x507725))};if(_0x3582('0x5d')==_0x33c508[_0x3582('0x4a')])return _0x25093f[_0x3582('0x7a')]?{'type':_0x3582('0x5d'),'content':_0x3442a2(_0x2ed095,_0x3582('0x49'),_0x3442a2(_0x2ed095,_0x3582('0x6f'),[_0x507725,'\x22'+_0x25093f['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x3442a2(_0x2ed095,_0x3582('0x49'),_0x3442a2(_0x2ed095,_0x3582('0x61'),_0x507725))};}}),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')]('insertion',_0x3582('0x9'),_0x3582('0x77'),_0x451fce),_0x1d4287['_suggestionFactory'][_0x3582('0x7f')](_0x3582('0x5d'),_0x3582('0x9'),_0x3582('0x83'),_0x451fce),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')](_0x3582('0x30'),_0x3582('0x75'),_0x3582('0x77'),_0x127643),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')](_0x3582('0x5d'),_0x3582('0x75'),_0x3582('0x83'),_0x127643),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')](_0x3582('0x30'),_0x3582('0x75'),_0x3582('0x6'),_0x4508fb),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')]('deletion','tableColumn',_0x3582('0x6'),_0x4508fb),_0x1d4287['_suggestionFactory']['registerCustomCallback'](_0x3582('0x30'),_0x3582('0x9'),'join',_0x4734cc),_0x1d4287[_0x3582('0x2d')][_0x3582('0x7f')]('deletion',_0x3582('0x9'),'join',_0x4734cc);}[_0x3582('0x4c')](){const _0x46ab29=this[_0x3582('0x42')],_0x40d1e0=_0x46ab29[_0x3582('0x15')][_0x3582('0x22')]['selection'];return(_0x12de73,_0x1d0bae)=>{_0x46ab29['model'][_0x3582('0x31')](_0x15dc3f=>{const {commandName:_0x507bbc,commandParams:_0x1b8e63}=_0x1d0bae;let _0x1f9972=_0x12de73[0x0][_0x3582('0x19')][_0x3582('0x7c')];_0x1b8e63&&_0x1b8e63[0x0]&&!0x1===_0x1b8e63[0x0][_0x3582('0x85')]&&(_0x1f9972=_0x12de73[0x0]['start'][_0x3582('0x6a')]);const _0x366e31=_0x15dc3f[_0x3582('0x7e')](_0x1f9972);if(_0x3582('0x26')==_0x366e31[_0x3582('0x3f')][_0x3582('0x3b')])return;const _0x550653=Array[_0x3582('0x54')](_0x40d1e0[_0x3582('0x82')]())[_0x3582('0xc')](_0x133c2e=>_0x111cf3[_0x3582('0x50')](_0x133c2e));_0x15dc3f[_0x3582('0x60')](_0x366e31),_0x46ab29[_0x3582('0x2c')][_0x3582('0x86')](_0x507bbc)[_0x3582('0x2a')](),_0x1b8e63[_0x3582('0x43')]({'forceDefaultExecution':!0x0}),_0x46ab29['execute'](_0x507bbc,..._0x1b8e63);const _0x287622=_0x550653['filter'](_0x1b859f=>_0x3582('0x26')!=_0x1b859f[_0x3582('0x3f')][_0x3582('0x3b')]);_0x287622[_0x3582('0x7a')]>0x0&&_0x15dc3f['setSelection'](_0x287622);for(const _0x1efb68 of _0x550653)_0x1efb68[_0x3582('0x3a')]();});};}[_0x3582('0x3e')](_0x50d329){const _0x34c98f=this[_0x3582('0x42')][_0x3582('0x5')]['get'](_0x3582('0x2e'));let _0x5f0b31=Number[_0x3582('0x5e')],_0x2b02dc=Number[_0x3582('0x35')],_0x573078=Number[_0x3582('0x5e')],_0x568b9a=Number[_0x3582('0x35')];for(const _0x5ce7b0 of _0x50d329){if(_0x3582('0x26')==_0x5ce7b0[_0x3582('0x3f')][_0x3582('0x3b')])continue;const {row:_0x569685,column:_0x24d319}=_0x34c98f[_0x3582('0x47')](_0x5ce7b0),_0x362920=_0x5ce7b0[_0x3582('0x29')](_0x3582('0x78'))?_0x5ce7b0['getAttribute'](_0x3582('0x78'))-0x1:0x0,_0x1b8da8=_0x5ce7b0[_0x3582('0x29')](_0x3582('0x2f'))?_0x5ce7b0[_0x3582('0x70')]('colspan')-0x1:0x0;_0x5f0b31=_0x569685<_0x5f0b31?_0x569685:_0x5f0b31,_0x2b02dc=_0x569685+_0x362920>_0x2b02dc?_0x569685+_0x362920:_0x2b02dc,_0x573078=_0x24d319<_0x573078?_0x24d319:_0x573078,_0x568b9a=_0x24d319+_0x1b8da8>_0x568b9a?_0x24d319+_0x1b8da8:_0x568b9a;}return{'minRow':_0x5f0b31,'maxRow':_0x2b02dc,'minColumn':_0x573078,'maxColumn':_0x568b9a};}[_0x3582('0x1b')](){const _0x576c4a=this[_0x3582('0x42')],_0x32bc87=_0x576c4a[_0x3582('0x5')]['get']('TrackChangesEditing'),_0x2fe99b=_0x576c4a[_0x3582('0x5')][_0x3582('0x86')]('TableUtils');_0x576c4a['model']['document']['on'](_0x3582('0x73'),()=>{const _0x2cfb0e=Array[_0x3582('0x54')](_0x576c4a[_0x3582('0x15')][_0x3582('0x22')][_0x3582('0xb')][_0x3582('0x7')]());for(const {name:_0x485649,data:_0x16dfed}of _0x2cfb0e){const {group:_0x4e4dc3,id:_0x234f14,subType:_0x38dd5a}=_0x32bc87[_0x3582('0x71')](_0x485649);if(_0x3582('0x6e')!=_0x4e4dc3)continue;if(null!=_0x16dfed['oldRange'])continue;const _0x9eb6a=_0x32bc87['getSuggestion'](_0x234f14);this[_0x3582('0x28')]['includes'](_0x38dd5a)&&this[_0x3582('0x1f')]['add'](_0x9eb6a);}},{'priority':_0x3582('0x12')});const _0x49fb46=(_0x2af4f5,_0x24d7ba)=>{let _0x3d7a12=!0x1;const _0x208b94=_0x24d7ba['createRangeOn'](_0x2af4f5),_0x2e1ef1=_0x2af4f5[_0x3582('0x1e')](_0x3582('0x20')),_0x419000=_0x2fe99b[_0x3582('0x47')](_0x2af4f5);for(const _0x33ffcf of this[_0x3582('0x1f')]){const _0x16660c=_0x33ffcf[_0x3582('0x67')],_0x34d70a=_0x16660c[_0x3582('0x13')](_0x3582('0x87')),_0x42c8bf=_0x16660c[_0x3582('0x23')](_0x34d70a?0xa:0x5),_0x1c8e1a=_0x42c8bf['toLowerCase'](),_0x3fbfbd=_0x1c8e1a[_0x3582('0x23')](0x0,0x3)+_0x3582('0x24'),_0x12ed39=_0x3582('0x44')+_0x42c8bf,_0xd03f71=_0x3582('0x4')+_0x42c8bf;if(!_0x33ffcf['isInContent'])continue;if(_0x2e1ef1!=_0x33ffcf[_0x3582('0x45')]()['start'][_0x3582('0x1e')](_0x3582('0x20')))continue;if(_0x33ffcf[_0x3582('0x1c')](_0x208b94))continue;const _0x1c9eb9=_0x2af4f5[_0x3582('0x29')](_0x3fbfbd)?_0x2af4f5[_0x3582('0x70')](_0x3fbfbd)-0x1:0x0,_0x1f1255=this['_getSuggestionCoords'](_0x33ffcf),_0x124445=_0x1f1255[_0x12ed39],_0x156a6b=_0x1f1255[_0xd03f71];_0x124445<=_0x419000[_0x1c8e1a]&&_0x419000[_0x1c8e1a]+_0x1c9eb9<=_0x156a6b&&(_0x33ffcf[_0x3582('0x5c')](_0x208b94),_0x3d7a12=!0x0);}return _0x3d7a12;};_0x576c4a['model'][_0x3582('0x22')]['registerPostFixer'](_0x5bf6da=>{let _0x5096f7=!0x1;for(const _0x5c6acc of _0x576c4a[_0x3582('0x15')][_0x3582('0x22')][_0x3582('0xb')][_0x3582('0x11')]())if(_0x3582('0x17')==_0x5c6acc[_0x3582('0x4a')]){if(_0x3582('0x9')==_0x5c6acc[_0x3582('0x27')])for(const _0x5a79ce of _0x5c6acc['position'][_0x3582('0x6a')][_0x3582('0x32')]())_0x5096f7=_0x5096f7||_0x49fb46(_0x5a79ce,_0x5bf6da);else _0x3582('0x79')==_0x5c6acc['name']&&(_0x5096f7=_0x5096f7||_0x49fb46(_0x5c6acc[_0x3582('0x51')]['nodeAfter'],_0x5bf6da));}return _0x5096f7;});}[_0x3582('0xf')](_0x58756d){return this['_getCoordsForCells'](_0x58756d[_0x3582('0x82')]()[_0x3582('0xc')](_0x401902=>_0x401902['start'][_0x3582('0x6a')]));}}function se(_0x343309){return Array[_0x3582('0x54')](new Set(_0x343309)[_0x3582('0x1a')]());}
|
|
23
|
+
const _0x56e7=['registerDescriptionCallback','removeClass','every','fromRange','TableUtils','insertion','isTouching','ELEMENT_TABLE_ROW','get','registerElementLabel','hasAttribute','plugins','batch','markMultiRangeDeletion','ELEMENT_TABLE','registerCustomCallback','tablePaste','last','findAncestor','some','commands','removeTableColumn','_suggestionFactory','addMarker:suggestion','enqueueChange','change:data','setSelection','ELEMENT_TABLE_COLUMN_WITH_TEXT','rootName','_getCoordsForCells','_acceptFormatSuggestionCallbackFactory','getRanges','isArray','type','name','element','low','root','execute','values','from','insertTable','$graveyard','selection','position','registerPostFixer','forceValue','addClass','_getSuggestionCoords','$textProxy','maxRow','_descriptionFactory','createTableWalker','insertTableRowBelow','_setupColumnsRowsFixing','getItems','toViewElement','end','above','createRangeIn','length','getRowIndexes','filter','suggestion','getAttribute','editor','nodeBefore','change','removeTableRow','deletion','item','getFirstRange','downcastDispatcher','getSelectionAffectedTableCells','writer','nodeAfter','getSuggestion','accept','differ','showSuggestionHighlights','insertTableRowAbove','minColumn','insertTableColumnRight','start','_tablePostFixingSubtypes','getCellLocation','min','MIN_SAFE_INTEGER','getColumnIndexes','map','detach','add','data','toLowerCase','oldRange','table','getChildren','getChanges','markMultiRangeInsertion','highest','classes','TrackChangesEditing','startsWith','ELEMENT_TABLE_COLUMN','createRangeOn','colspan','span','substr','tableColumn','join','refresh','isEqual','addRange','document','tableRow','tableCell','model','enableCommand','*Insert:*\x20%0','minRow','subType','*Remove:*\x20%0','ELEMENT_TABLE_ROW_WITH_TEXT','first','options','push','ELEMENT_TABLE_WITH_TEXT','discard','max','rowspan','_tableSuggestions','order','cell','includes','locale','afterInit','left'];(function(_0x330bb2,_0x56e77a){const _0x57c9eb=function(_0x3ea95b){while(--_0x3ea95b){_0x330bb2['push'](_0x330bb2['shift']());}};_0x57c9eb(++_0x56e77a);}(_0x56e7,0x71));const _0x57c9=function(_0x330bb2,_0x56e77a){_0x330bb2=_0x330bb2-0x0;let _0x57c9eb=_0x56e7[_0x330bb2];return _0x57c9eb;};import{Plugin as _0x1c98dc}from'ckeditor5/src/core';import{LiveRange as _0x2461bd}from'ckeditor5/src/engine';import{setHighlightHandling as _0xd57c4}from'ckeditor5/src/widget';import{getTranslation as _0x209475}from'../utils/common-translations';export default class mt extends _0x1c98dc{constructor(_0x5716ff){super(_0x5716ff),this[_0x57c9('0x6c')]=['tableRow',_0x57c9('0x84')],this[_0x57c9('0x11')]=new Set();}[_0x57c9('0x16')](){const _0x2366a9=this[_0x57c9('0x59')],_0x27b0e0=_0x2366a9['model'][_0x57c9('0x0')][_0x57c9('0x43')];if(!_0x2366a9[_0x57c9('0x23')]['has']('TableEditing'))return;const _0x5a4d65=_0x2366a9[_0x57c9('0x15')],_0x15e43f=_0x2366a9[_0x57c9('0x23')]['get'](_0x57c9('0x7d')),_0x49c3bc=_0x2366a9['plugins'][_0x57c9('0x20')](_0x57c9('0x1c'));_0x15e43f[_0x57c9('0x4b')][_0x57c9('0x21')](_0x57c9('0x77'),_0xfe1b91=>_0x209475(_0x5a4d65,_0x57c9('0x26'),_0xfe1b91)),this[_0x57c9('0x4e')](),_0x15e43f[_0x57c9('0x4')](_0x57c9('0x41')),_0x15e43f['enableCommand']('selectTableRow'),_0x15e43f[_0x57c9('0x4')]('selectTableColumn');for(const _0x184551 of[_0x57c9('0x68'),_0x57c9('0x4d')]){const _0xd561d1=_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x184551);_0x15e43f[_0x57c9('0x4')](_0x184551,_0x55c8fd=>{_0x2366a9['model']['change'](_0x5a0bc7=>{_0x55c8fd();const _0x405e65=_0x57c9('0x52')===_0xd561d1['order'],_0xe24fea=_0x49c3bc['getSelectionAffectedTableCells'](_0x27b0e0),_0x517584=_0x49c3bc[_0x57c9('0x55')](_0xe24fea),_0x4475f0=_0x405e65?_0x517584['first']-0x1:_0x517584['last']+0x1,_0x36a8a8=_0xe24fea[0x0]['findAncestor']('table'),_0x5e72c7=_0x49c3bc[_0x57c9('0x4c')](_0x36a8a8,{'startRow':_0x4475f0,'endRow':_0x4475f0}),_0x11d83=Array[_0x57c9('0x40')](_0x5e72c7)[_0x57c9('0x71')](_0x4b8ef1=>_0x5a0bc7[_0x57c9('0x80')](_0x4b8ef1[_0x57c9('0x13')]));_0x15e43f['markMultiRangeInsertion'](_0x11d83,_0x57c9('0x1'));});});}for(const _0x3a7afd of['insertTableColumnLeft',_0x57c9('0x6a')]){const _0x388c0d=_0x2366a9[_0x57c9('0x2c')]['get'](_0x3a7afd);_0x15e43f[_0x57c9('0x4')](_0x3a7afd,_0x1c4372=>{_0x2366a9['model']['change'](_0x390a28=>{_0x1c4372();const _0x425d47=_0x57c9('0x17')===_0x388c0d[_0x57c9('0x12')],_0x5c3be7=_0x49c3bc[_0x57c9('0x61')](_0x27b0e0),_0x22eef6=_0x49c3bc['getColumnIndexes'](_0x5c3be7),_0x50b2a5=_0x425d47?_0x22eef6['first']-0x1:_0x22eef6[_0x57c9('0x29')]+0x1,_0x4a542e=_0x5c3be7[0x0]['findAncestor'](_0x57c9('0x77')),_0x3c8637=_0x49c3bc[_0x57c9('0x4c')](_0x4a542e,{'startRow':0x0,'column':_0x50b2a5,'includeAllSlots':!0x1}),_0x163ca0=Array[_0x57c9('0x40')](_0x3c8637)['map'](_0x5d3dd1=>_0x390a28['createRangeOn'](_0x5d3dd1[_0x57c9('0x13')]));_0x15e43f[_0x57c9('0x7a')](_0x163ca0,_0x57c9('0x84'));});});}for(const _0x5ea9e1 of[_0x57c9('0x5c'),_0x57c9('0x2d')]){const _0xe9602c=_0x5ea9e1[_0x57c9('0x83')](0xb),_0x3d2e4b=_0xe9602c[_0x57c9('0x75')](),_0x3e57c8=_0x3d2e4b[_0x57c9('0x83')](0x0,0x3)+'span',_0x4cff91='table'+_0xe9602c,_0x119372=_0x57c9('0x6e')+_0xe9602c,_0x4fa41a='max'+_0xe9602c;_0x15e43f['enableCommand'](_0x5ea9e1,()=>{_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0xc5a01f=>{const _0x6d883e=_0x49c3bc[_0x57c9('0x61')](_0x27b0e0),_0x16047a=_0x6d883e[0x0]['findAncestor'](_0x57c9('0x77'));let _0xaa27e6;if(_0x57c9('0x5c')==_0x5ea9e1){const _0x2e4af2=_0x49c3bc[_0x57c9('0x55')](_0x6d883e);_0xaa27e6={'startRow':_0x2e4af2[_0x57c9('0xa')],'endRow':_0x2e4af2['last'],'includeAllSlots':!0x0};}else{const _0x4cc112=_0x49c3bc[_0x57c9('0x70')](_0x6d883e);_0xaa27e6={'startColumn':_0x4cc112['first'],'endColumn':_0x4cc112[_0x57c9('0x29')],'includeAllSlots':!0x0};}const _0x208026=_0x49c3bc[_0x57c9('0x4c')](_0x16047a,_0xaa27e6),_0x3292ff=Array[_0x57c9('0x40')](_0x208026)[_0x57c9('0x71')](({cell:_0x57d400})=>_0x57d400),_0x5674a2=se(_0x3292ff[_0x57c9('0x56')](_0x4cb4a5=>_0x4cb4a5[_0x57c9('0x22')](_0x3e57c8))),_0x3397ee=se(_0x3292ff[_0x57c9('0x56')](_0x272307=>!_0x272307[_0x57c9('0x22')](_0x3e57c8)))[_0x57c9('0x71')](_0x217a39=>_0xc5a01f[_0x57c9('0x80')](_0x217a39)),_0x402e48=_0x15e43f[_0x57c9('0x25')](_0x3397ee,_0x4cff91);if(_0x402e48&&(_0x57c9('0x1')==_0x402e48[_0x57c9('0x7')]||_0x57c9('0x84')==_0x402e48[_0x57c9('0x7')])){const _0x3b2c7d=this[_0x57c9('0x48')](_0x402e48);for(const _0x5161ce of _0x5674a2){const _0x1f3e27=_0xc5a01f[_0x57c9('0x80')](_0x5161ce),_0x4edb0f=_0x49c3bc[_0x57c9('0x6d')](_0x5161ce),_0x27caee=_0x5161ce[_0x57c9('0x58')](_0x3e57c8)-0x1,_0x2194d1=_0x3b2c7d[_0x119372],_0x475f9e=_0x3b2c7d[_0x4fa41a];_0x2194d1<=_0x4edb0f[_0x3d2e4b]&&_0x4edb0f[_0x3d2e4b]+_0x27caee<=_0x475f9e&&_0x402e48[_0x57c9('0x88')](_0x1f3e27);}}});});}function _0x30ec12(_0x2843f4){const _0x3bc702=Array[_0x57c9('0x40')](_0x27b0e0[_0x57c9('0x37')]())['map'](_0x12c446=>_0x2461bd['fromRange'](_0x12c446));_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0x2901bb=>{const _0x1e4b0e=_0x2901bb[_0x57c9('0x24')];_0x2843f4=_0x2843f4['filter'](_0x5ab6d1=>_0x57c9('0x42')!=_0x5ab6d1[_0x57c9('0x3d')][_0x57c9('0x34')]),_0x2901bb['setSelection'](_0x2843f4),_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x57c9('0x5c'))['refresh'](),_0x2366a9[_0x57c9('0x3e')](_0x57c9('0x5c'),{'forceDefaultExecution':!0x0}),_0x2366a9[_0x57c9('0x3')][_0x57c9('0x30')](()=>{_0x2366a9[_0x57c9('0x3')][_0x57c9('0x30')](_0x1e4b0e,_0x36e136=>{const _0x540872=_0x3bc702[_0x57c9('0x56')](_0xdcaf7b=>_0x57c9('0x42')!=_0xdcaf7b[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x540872[_0x57c9('0x54')]>0x0&&_0x36e136['setSelection'](_0x540872);for(const _0x220885 of _0x3bc702)_0x220885[_0x57c9('0x72')]();});});});}function _0x5a947e(_0x59136c){_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0xc0c83b=>{const _0x100d45=Array[_0x57c9('0x40')](_0x27b0e0[_0x57c9('0x37')]())[_0x57c9('0x71')](_0x4a4484=>_0x2461bd['fromRange'](_0x4a4484)),_0x4d3eb7=[];for(const _0x3567ae of _0x59136c)for(const _0x531e30 of _0x3567ae[_0x57c9('0x4f')]({'shallow':!0x0}))_0x4d3eb7[_0x57c9('0xc')](_0x531e30);for(const _0x4a29fd of _0x4d3eb7)_0x57c9('0x42')!=_0x4a29fd[_0x57c9('0x3d')][_0x57c9('0x34')]&&(_0xc0c83b[_0x57c9('0x32')](_0xc0c83b['createPositionAt'](_0x4a29fd,0x0)),_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x57c9('0x2d'))[_0x57c9('0x86')](),_0x2366a9['execute'](_0x57c9('0x2d'),{'forceDefaultExecution':!0x0}));const _0x50c189=_0x100d45[_0x57c9('0x56')](_0x298d51=>_0x57c9('0x42')!=_0x298d51[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x50c189['length']>0x0&&_0xc0c83b[_0x57c9('0x32')](_0x50c189);for(const _0x38b4fa of _0x100d45)_0x38b4fa[_0x57c9('0x72')]();});}function _0x43b245(_0x150599,_0x801fc){return _0x801fc[_0x57c9('0x1a')](_0xb99aa6=>_0x150599[_0x57c9('0x2b')](_0x371e6a=>_0x371e6a[_0x57c9('0x51')][_0x57c9('0x87')](_0xb99aa6[_0x57c9('0x6b')])||_0xb99aa6[_0x57c9('0x51')][_0x57c9('0x87')](_0x371e6a[_0x57c9('0x6b')])));}function _0x27f362(_0x2b74f0,_0x2a38cb){return _0x2b74f0[_0x57c9('0x2b')](_0x530c4c=>_0x2a38cb[_0x57c9('0x2b')](_0x3839e7=>_0x530c4c['end'][_0x57c9('0x1e')](_0x3839e7[_0x57c9('0x6b')])));}_0x2366a9[_0x57c9('0x74')][_0x57c9('0x60')]['on'](_0x57c9('0x2f'),(_0x1a78e9,_0x3dd623,_0x3ada78)=>{if(!_0x3ada78[_0x57c9('0xb')][_0x57c9('0x67')])return;const _0x456d57=_0x3dd623[_0x57c9('0x5e')];if(!_0x456d57)return;const _0x29882c=_0x3ada78['mapper'][_0x57c9('0x50')](_0x456d57);function _0x119a1d(_0x23b0f0){return Array[_0x57c9('0x38')](_0x23b0f0)?_0x23b0f0:[_0x23b0f0];}_0x29882c&&_0x57c9('0x2')===_0x456d57[_0x57c9('0x3a')]&&_0xd57c4(_0x29882c,_0x3ada78[_0x57c9('0x62')],(_0xbf49,_0xc5f20,_0x3b48d8)=>_0x3b48d8[_0x57c9('0x47')](_0x119a1d(_0xc5f20['classes']),_0xbf49),(_0x4a96bc,_0x21e025,_0x368613)=>_0x368613[_0x57c9('0x19')](_0x119a1d(_0x21e025[_0x57c9('0x7c')]),_0x4a96bc));},{'priority':_0x57c9('0x7b')}),_0x15e43f[_0x57c9('0x4b')][_0x57c9('0x18')](_0x41c257=>{if(_0x57c9('0x1d')!=_0x41c257[_0x57c9('0x39')]&&_0x57c9('0x5d')!=_0x41c257[_0x57c9('0x39')])return;const _0x3580ca=_0x41c257['getContainedElement']();if(null!=_0x3580ca&&_0x3580ca['is'](_0x57c9('0x3b'),_0x57c9('0x77'))){if(_0x57c9('0x1d')==_0x41c257['type']){const _0x1fe2d5=_0x41c257['getItems']()[_0x57c9('0x56')](_0x2d749c=>_0x2d749c['is'](_0x57c9('0x49')))[_0x57c9('0x71')](_0x26452f=>_0x26452f[_0x57c9('0x74')]);if(_0x1fe2d5['length'])return{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0xd'),'\x22'+_0x1fe2d5['join']('\x20')+'\x22'))};}if(_0x57c9('0x5d')==_0x41c257[_0x57c9('0x39')]){const _0x4724e2=_0x41c257[_0x57c9('0x4f')]()['filter'](_0x5eede3=>_0x5eede3['is'](_0x57c9('0x49')))[_0x57c9('0x71')](_0x54ddc7=>_0x54ddc7[_0x57c9('0x74')]);if(_0x4724e2[_0x57c9('0x54')])return{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0xd'),'\x22'+_0x4724e2[_0x57c9('0x85')]('\x20')+'\x22'))};}}}),_0x15e43f[_0x57c9('0x4b')]['registerDescriptionCallback'](_0x49a5dc=>{if('tableRow'==_0x49a5dc[_0x57c9('0x7')]){const _0x2a1f32=_0x49a5dc[_0x57c9('0x4f')]()[_0x57c9('0x56')](_0x5eee30=>_0x5eee30['is']('$textProxy'))[_0x57c9('0x71')](_0x30591a=>_0x30591a[_0x57c9('0x74')]),_0x582546=this['_getSuggestionCoords'](_0x49a5dc),_0x32d98d=_0x582546[_0x57c9('0x4a')]-_0x582546[_0x57c9('0x6')]+0x1;if(_0x57c9('0x1d')==_0x49a5dc[_0x57c9('0x39')])return _0x2a1f32['length']?{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0x9'),[_0x32d98d,'\x22'+_0x2a1f32['join']('\x20')+'\x22']))}:{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x5'),_0x209475(_0x5a4d65,_0x57c9('0x1f'),_0x32d98d))};if('deletion'==_0x49a5dc[_0x57c9('0x39')])return _0x2a1f32[_0x57c9('0x54')]?{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x9'),[_0x32d98d,'\x22'+_0x2a1f32[_0x57c9('0x85')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x1f'),_0x32d98d))};}if(_0x57c9('0x84')==_0x49a5dc[_0x57c9('0x7')]){const _0x314550=_0x49a5dc['getItems']()[_0x57c9('0x56')](_0x251a4f=>_0x251a4f['is']('$textProxy'))['map'](_0x46356e=>_0x46356e['data']),_0x2b61d4=this[_0x57c9('0x48')](_0x49a5dc),_0x2ebb37=_0x2b61d4['maxColumn']-_0x2b61d4[_0x57c9('0x69')]+0x1;if(_0x57c9('0x1d')==_0x49a5dc[_0x57c9('0x39')])return _0x314550['length']?{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0x33'),[_0x2ebb37,'\x22'+_0x314550['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x209475(_0x5a4d65,_0x57c9('0x5'),_0x209475(_0x5a4d65,_0x57c9('0x7f'),_0x2ebb37))};if(_0x57c9('0x5d')==_0x49a5dc[_0x57c9('0x39')])return _0x314550['length']?{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ebb37,'\x22'+_0x314550[_0x57c9('0x85')]('\x20')+'\x22']))}:{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x7f'),_0x2ebb37))};}}),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')]('insertion','tableRow',_0x57c9('0xe'),_0x30ec12),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')](_0x57c9('0x5d'),_0x57c9('0x1'),_0x57c9('0x65'),_0x30ec12),_0x15e43f[_0x57c9('0x2e')]['registerCustomCallback']('insertion',_0x57c9('0x84'),_0x57c9('0xe'),_0x5a947e),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')](_0x57c9('0x5d'),'tableColumn',_0x57c9('0x65'),_0x5a947e),_0x15e43f[_0x57c9('0x2e')]['registerCustomCallback']('insertion',_0x57c9('0x84'),_0x57c9('0x85'),_0x43b245),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')]('deletion',_0x57c9('0x84'),_0x57c9('0x85'),_0x43b245),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')](_0x57c9('0x1d'),_0x57c9('0x1'),_0x57c9('0x85'),_0x27f362),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')]('deletion',_0x57c9('0x1'),_0x57c9('0x85'),_0x27f362);}[_0x57c9('0x36')](){const _0xbac73c=this[_0x57c9('0x59')],_0x85967e=_0xbac73c['model'][_0x57c9('0x0')]['selection'];return(_0x512708,_0x5ac733)=>{_0xbac73c['model']['change'](_0x4e125a=>{const {commandName:_0x2498a3,commandParams:_0x5468b8}=_0x5ac733;let _0x17ba50=_0x512708[0x0][_0x57c9('0x51')][_0x57c9('0x5a')];_0x5468b8&&_0x5468b8[0x0]&&!0x1===_0x5468b8[0x0][_0x57c9('0x46')]&&(_0x17ba50=_0x512708[0x0][_0x57c9('0x6b')][_0x57c9('0x63')]);const _0x5cb47b=_0x4e125a[_0x57c9('0x53')](_0x17ba50);if('$graveyard'==_0x5cb47b[_0x57c9('0x3d')][_0x57c9('0x34')])return;const _0x104d5d=Array[_0x57c9('0x40')](_0x85967e[_0x57c9('0x37')]())[_0x57c9('0x71')](_0x3cdc38=>_0x2461bd[_0x57c9('0x1b')](_0x3cdc38));_0x4e125a[_0x57c9('0x32')](_0x5cb47b),_0xbac73c[_0x57c9('0x2c')]['get'](_0x2498a3)[_0x57c9('0x86')](),_0x5468b8['push']({'forceDefaultExecution':!0x0}),_0xbac73c['execute'](_0x2498a3,..._0x5468b8);const _0x3cac3e=_0x104d5d['filter'](_0x1b0ebb=>_0x57c9('0x42')!=_0x1b0ebb[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x3cac3e[_0x57c9('0x54')]>0x0&&_0x4e125a[_0x57c9('0x32')](_0x3cac3e);for(const _0x150ecd of _0x104d5d)_0x150ecd[_0x57c9('0x72')]();});};}[_0x57c9('0x35')](_0x2af977){const _0x2d1fee=this[_0x57c9('0x59')][_0x57c9('0x23')][_0x57c9('0x20')](_0x57c9('0x1c'));let _0x25883f=Number['MAX_SAFE_INTEGER'],_0x3e3c8e=Number[_0x57c9('0x6f')],_0x40cc50=Number['MAX_SAFE_INTEGER'],_0x59cb94=Number[_0x57c9('0x6f')];for(const _0x78a8e0 of _0x2af977){if(_0x57c9('0x42')==_0x78a8e0[_0x57c9('0x3d')][_0x57c9('0x34')])continue;const {row:_0xe5b887,column:_0x49d594}=_0x2d1fee['getCellLocation'](_0x78a8e0),_0x31e4f3=_0x78a8e0['hasAttribute'](_0x57c9('0x10'))?_0x78a8e0[_0x57c9('0x58')](_0x57c9('0x10'))-0x1:0x0,_0x1ac171=_0x78a8e0[_0x57c9('0x22')](_0x57c9('0x81'))?_0x78a8e0[_0x57c9('0x58')]('colspan')-0x1:0x0;_0x25883f=_0xe5b887<_0x25883f?_0xe5b887:_0x25883f,_0x3e3c8e=_0xe5b887+_0x31e4f3>_0x3e3c8e?_0xe5b887+_0x31e4f3:_0x3e3c8e,_0x40cc50=_0x49d594<_0x40cc50?_0x49d594:_0x40cc50,_0x59cb94=_0x49d594+_0x1ac171>_0x59cb94?_0x49d594+_0x1ac171:_0x59cb94;}return{'minRow':_0x25883f,'maxRow':_0x3e3c8e,'minColumn':_0x40cc50,'maxColumn':_0x59cb94};}['_setupColumnsRowsFixing'](){const _0x4056b6=this[_0x57c9('0x59')],_0x186165=_0x4056b6['plugins'][_0x57c9('0x20')](_0x57c9('0x7d')),_0xddf2d5=_0x4056b6[_0x57c9('0x23')][_0x57c9('0x20')]('TableUtils');_0x4056b6[_0x57c9('0x3')][_0x57c9('0x0')]['on'](_0x57c9('0x31'),()=>{const _0x342a97=Array[_0x57c9('0x40')](_0x4056b6['model'][_0x57c9('0x0')][_0x57c9('0x66')]['getChangedMarkers']());for(const {name:_0x2407bd,data:_0x1ae7e3}of _0x342a97){const {group:_0xdb9749,id:_0x16cf83,subType:_0x23648a}=_0x186165['_splitMarkerName'](_0x2407bd);if(_0x57c9('0x57')!=_0xdb9749)continue;if(null!=_0x1ae7e3[_0x57c9('0x76')])continue;const _0x5a386b=_0x186165[_0x57c9('0x64')](_0x16cf83);this[_0x57c9('0x6c')][_0x57c9('0x14')](_0x23648a)&&this[_0x57c9('0x11')][_0x57c9('0x73')](_0x5a386b);}},{'priority':_0x57c9('0x3c')});const _0x522aa8=(_0x92e151,_0x51928a)=>{let _0x1234e4=!0x1;const _0x491046=_0x51928a[_0x57c9('0x80')](_0x92e151),_0x5ef74d=_0x92e151[_0x57c9('0x2a')]('table'),_0x3bd692=_0xddf2d5[_0x57c9('0x6d')](_0x92e151);for(const _0x58c3b3 of this[_0x57c9('0x11')]){const _0x143231=_0x58c3b3['subType'],_0x293fde=_0x143231[_0x57c9('0x7e')](_0x57c9('0x28')),_0xeb9cd9=_0x143231[_0x57c9('0x83')](_0x293fde?0xa:0x5),_0x2da3c=_0xeb9cd9[_0x57c9('0x75')](),_0x5a36ed=_0x2da3c[_0x57c9('0x83')](0x0,0x3)+_0x57c9('0x82'),_0x5869da='min'+_0xeb9cd9,_0x563660=_0x57c9('0xf')+_0xeb9cd9;if(!_0x58c3b3['isInContent'])continue;if(_0x5ef74d!=_0x58c3b3[_0x57c9('0x5f')]()['start'][_0x57c9('0x2a')](_0x57c9('0x77')))continue;if(_0x58c3b3['isIntersectingWithRange'](_0x491046))continue;const _0x6fe205=_0x92e151[_0x57c9('0x22')](_0x5a36ed)?_0x92e151[_0x57c9('0x58')](_0x5a36ed)-0x1:0x0,_0x39ba9e=this[_0x57c9('0x48')](_0x58c3b3),_0x107280=_0x39ba9e[_0x5869da],_0x548e53=_0x39ba9e[_0x563660];_0x107280<=_0x3bd692[_0x2da3c]&&_0x3bd692[_0x2da3c]+_0x6fe205<=_0x548e53&&(_0x58c3b3[_0x57c9('0x88')](_0x491046),_0x1234e4=!0x0);}return _0x1234e4;};_0x4056b6[_0x57c9('0x3')][_0x57c9('0x0')][_0x57c9('0x45')](_0x3c3361=>{let _0x5a1c4b=!0x1;for(const _0x22bff2 of _0x4056b6['model'][_0x57c9('0x0')][_0x57c9('0x66')][_0x57c9('0x79')]())if('insert'==_0x22bff2[_0x57c9('0x39')]){if(_0x57c9('0x1')==_0x22bff2[_0x57c9('0x3a')])for(const _0xc5cf0c of _0x22bff2[_0x57c9('0x44')][_0x57c9('0x63')][_0x57c9('0x78')]())_0x5a1c4b=_0x5a1c4b||_0x522aa8(_0xc5cf0c,_0x3c3361);else _0x57c9('0x2')==_0x22bff2[_0x57c9('0x3a')]&&(_0x5a1c4b=_0x5a1c4b||_0x522aa8(_0x22bff2['position'][_0x57c9('0x63')],_0x3c3361));}return _0x5a1c4b;});}['_getSuggestionCoords'](_0x540057){return this[_0x57c9('0x35')](_0x540057[_0x57c9('0x37')]()[_0x57c9('0x71')](_0x25aa8d=>_0x25aa8d[_0x57c9('0x6b')]['nodeAfter']));}}function se(_0x372f09){return Array[_0x57c9('0x40')](new Set(_0x372f09)[_0x57c9('0x3f')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d1d=['requires','TableCaptionEditing','TrackChangesEditing','editor','plugins','enableCommand','afterInit','toggleTableCaption'];(function(_0x22696a,_0x1d1d79){const _0x4e48df=function(_0x168731){while(--_0x168731){_0x22696a['push'](_0x22696a['shift']());}};_0x4e48df(++_0x1d1d79);}(_0x1d1d,0xf4));const _0x4e48=function(_0x22696a,_0x1d1d79){_0x22696a=_0x22696a-0x0;let _0x4e48df=_0x1d1d[_0x22696a];return _0x4e48df;};import{Plugin as _0x3bb29a}from'ckeditor5/src/core';import _0x4de80b from'./table';export default class vt extends _0x3bb29a{static get[_0x4e48('0x4')](){return[_0x4de80b];}[_0x4e48('0x2')](){const _0x3bd6ad=this[_0x4e48('0x7')];if(!_0x3bd6ad[_0x4e48('0x0')]['has'](_0x4e48('0x5')))return;_0x3bd6ad['plugins']['get'](_0x4e48('0x6'))[_0x4e48('0x1')](_0x4e48('0x3'));}}
|