@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230727.0 → 0.0.0-nightly-20230728.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/sq.js +1 -0
- package/lang/translations/gl.po +23 -23
- package/lang/translations/sq.po +487 -0
- 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 _0x3ad6=['numbered','filter','element','replace','plugins','backward','flat','getListTypeFromListStyleType','document','listReversed','toUpperCase','change','editor','getAttribute','listType','reversed','forward','getFirstPosition','map','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','selection','get','has','bind','registerDescriptionCallback','commandParams','model','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','_descriptionFactory','listStyle','format','styles','handleDescriptions','_getSuggestionBlocksForListStyle','from','afterInit','createPositionAt','handleListStartCommand','type','parent','listItem','_getSuggestionBlocks','*Change\x20to:*\x20%0','list.properties','before','ListUtils','listStart','enableCommand','getSiblingNodes','_getTranslationKeyForListStyle','length','createRange','handleListReversedCommand','commandName','startIndex'];(function(_0x12f0a3,_0x3ad63c){const _0x292b66=function(_0x5c1a7a){while(--_0x5c1a7a){_0x12f0a3['push'](_0x12f0a3['shift']());}};_0x292b66(++_0x3ad63c);}(_0x3ad6,0xb3));const _0x292b=function(_0x12f0a3,_0x3ad63c){_0x12f0a3=_0x12f0a3-0x0;let _0x292b66=_0x3ad6[_0x12f0a3];return _0x292b66;};import{Plugin as _0x38a903}from'ckeditor5/src/core';import{getTranslation as _0x26ff5c}from'../utils/common-translations';export default class nt extends _0x38a903{[_0x292b('0x1d')](){if(!this['editor']['plugins'][_0x292b('0xf')]('ListPropertiesEditing'))return;const _0x23c6df=this[_0x292b('0x4')]['config'][_0x292b('0xe')](_0x292b('0x25')),_0x33bdd5=this['editor']['plugins']['get'](_0x292b('0xb'));_0x23c6df[_0x292b('0x19')]&&_0x33bdd5[_0x292b('0x29')](_0x292b('0x17'),this[_0x292b('0x14')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x7')]&&_0x33bdd5[_0x292b('0x29')]('listReversed',this[_0x292b('0x2e')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x30')]&&_0x33bdd5[_0x292b('0x29')]('listStart',this['handleListStartCommand'][_0x292b('0x10')](this)),_0x33bdd5[_0x292b('0x16')][_0x292b('0x11')](this[_0x292b('0x1a')][_0x292b('0x10')](this));}[_0x292b('0x14')](_0x37a1e9,_0x3a69b5={}){const _0x12c33e=this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x18132b=this['_getSuggestionBlocksForListStyle']();this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x12c33e['markMultiRangeBlockFormat'](_0x18132b,{'commandName':_0x292b('0x17'),'commandParams':[{'type':_0x3a69b5[_0x292b('0x20')]}],'formatGroupId':_0x292b('0x17')});});}[_0x292b('0x2e')](_0x23802a,_0x44b2a0={}){const _0x9f2b4d=this[_0x292b('0x4')]['plugins'][_0x292b('0xe')]('TrackChangesEditing'),_0x1851a7=this[_0x292b('0x23')](_0x7d0409=>_0x7d0409['is'](_0x292b('0x33'),'listItem')&&_0x292b('0x31')===_0x7d0409['getAttribute'](_0x292b('0x6')));if(_0x1851a7[_0x292b('0x2c')]<0x1)return;const _0x426631=_0x1851a7[_0x292b('0xa')](_0x32725a=>this[_0x292b('0x4')]['model'][_0x292b('0x2d')](this[_0x292b('0x4')][_0x292b('0x13')]['createPositionAt'](_0x32725a,'before'),this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0x32725a,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x9f2b4d['markMultiRangeBlockFormat'](_0x426631,{'commandName':'listReversed','commandParams':[{'reversed':_0x44b2a0[_0x292b('0x7')]}],'formatGroupId':_0x292b('0x1')});});}[_0x292b('0x1f')](_0x48846f,_0x2e2262={}){const _0x2efbe=this['editor'][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x357988=this[_0x292b('0x23')](_0x1f99c2=>_0x1f99c2['is']('element',_0x292b('0x22'))&&_0x292b('0x31')===_0x1f99c2[_0x292b('0x5')]('listType'));if(_0x357988[_0x292b('0x2c')]<0x1)return;const _0x54af91=_0x357988[_0x292b('0xa')](_0x3cb6cb=>this[_0x292b('0x4')][_0x292b('0x13')]['createRange'](this['editor']['model'][_0x292b('0x1e')](_0x3cb6cb,_0x292b('0x26')),this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x1e')](_0x3cb6cb,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x2efbe['markMultiRangeBlockFormat'](_0x54af91,{'commandName':_0x292b('0x28'),'commandParams':[{'startIndex':_0x2e2262[_0x292b('0x30')]}],'formatGroupId':_0x292b('0x28')});});}[_0x292b('0x1a')](_0x57bada){const _0x486820=this['editor']['locale'],{data:_0x276333}=_0x57bada;if(!_0x276333)return;let _0x3db602,_0x55af19;switch(_0x276333[_0x292b('0x2f')]){case'listStyle':_0x3db602=_0x292b('0x24'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602,_0x26ff5c(_0x486820,this[_0x292b('0x2b')](_0x276333[_0x292b('0x12')][0x0][_0x292b('0x20')])))};break;case _0x292b('0x1'):_0x3db602=_0x276333[_0x292b('0x12')][0x0][_0x292b('0x7')]?_0x292b('0xc'):_0x292b('0x15'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602)};break;case _0x292b('0x28'):_0x3db602='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x55af19={'type':'format','content':_0x26ff5c(_0x486820,_0x3db602,_0x276333[_0x292b('0x12')][0x0]['startIndex'])};}return _0x55af19;}[_0x292b('0x1b')](){var _0x25d60c,_0x28bab2,_0x57361a,_0x18834d;const _0xc2b24b=this[_0x292b('0x4')][_0x292b('0x35')]['get'](_0x292b('0x27'));let _0x302bbe=Array['from'](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getSelectedBlocks']());return(null===(_0x25d60c=_0x302bbe[0x0])||void 0x0===_0x25d60c?void 0x0:_0x25d60c['is']('element',_0x292b('0x22')))&&_0x302bbe['unshift'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')][_0x292b('0x9')](),_0x292b('0x36'))),(null===(_0x28bab2=_0x302bbe[_0x302bbe['length']-0x1])||void 0x0===_0x28bab2?void 0x0:_0x28bab2['is']('element',_0x292b('0x22')))&&_0x302bbe['push'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getLastPosition'](),_0x292b('0x8'))),_0x302bbe=[...new Set(_0x302bbe)],(null===(_0x18834d=null===(_0x57361a=this['editor']['model']['document'][_0x292b('0xd')][_0x292b('0x9')]())||void 0x0===_0x57361a?void 0x0:_0x57361a[_0x292b('0x21')])||void 0x0===_0x18834d?void 0x0:_0x18834d['is']('element',_0x292b('0x22')))&&(_0x302bbe=_0x302bbe[_0x292b('0x32')](_0x25f93f=>_0x25f93f['is'](_0x292b('0x33'),_0x292b('0x22')))),_0x302bbe;}[_0x292b('0x23')](_0x447c76){const _0xd1899a=this['editor']['plugins'][_0x292b('0xe')](_0x292b('0x27'));let _0x2cfb0b=Array[_0x292b('0x1c')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')]['selection']['getSelectedBlocks']())[_0x292b('0x32')](_0x447c76)[_0x292b('0xa')](_0xfd2d38=>{const _0x167b5c=this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0xfd2d38,0x0);return[..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x36')),..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x8'))];})[_0x292b('0x37')]();return _0x2cfb0b=[...new Set(_0x2cfb0b)],_0x2cfb0b;}[_0x292b('0x2b')](_0x363de7){return'ELEMENT_'+this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0x27'))[_0x292b('0x38')](_0x363de7)[_0x292b('0x2')]()+'_LIST_'+_0x363de7['toUpperCase']()[_0x292b('0x34')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18ec=['data','high','enableCommand','createEmptyElement','MediaEmbedEditing','conversion','dataDowncast','downcastDispatcher','ELEMENT_MEDIA','media','TrackChangesEditing','afterInit','get','plugins','showSuggestionHighlights','locale','editor','has','options','mediaEmbed','for','stop'];(function(_0x14246c,_0x18ec9b){const _0x196ccb=function(_0x5e1ef1){while(--_0x5e1ef1){_0x14246c['push'](_0x14246c['shift']());}};_0x196ccb(++_0x18ec9b);}(_0x18ec,0xb8));const _0x196c=function(_0x14246c,_0x18ec9b){_0x14246c=_0x14246c-0x0;let _0x196ccb=_0x18ec[_0x14246c];return _0x196ccb;};import{Plugin as _0x9cc354}from'ckeditor5/src/core';import{getTranslation as _0x4d584b}from'../utils/common-translations';export default class ot extends _0x9cc354{[_0x196c('0x3')](){const _0x8942be=this[_0x196c('0x8')];if(!_0x8942be['plugins'][_0x196c('0x9')](_0x196c('0x12')))return;const _0x4dd3a9=_0x8942be[_0x196c('0x5')][_0x196c('0x4')](_0x196c('0x2')),_0x478b8f=_0x8942be[_0x196c('0x7')];_0x4dd3a9[_0x196c('0x10')](_0x196c('0xb')),_0x4dd3a9['_descriptionFactory']['registerElementLabel'](_0x196c('0x1'),_0x3f39df=>_0x4d584b(_0x478b8f,_0x196c('0x0'),_0x3f39df)),_0x8942be[_0x196c('0x13')][_0x196c('0xc')](_0x196c('0x14'))['elementToElement']({'model':_0x196c('0x1'),'view':(_0x2724c6,{writer:_0x199bd0,options:_0x113eac})=>{if(_0x113eac[_0x196c('0x6')])return _0x199bd0[_0x196c('0x11')]('div');},'converterPriority':_0x196c('0xf')}),_0x8942be[_0x196c('0xe')][_0x196c('0x15')]['on']('attribute:url:media',(_0x532fcb,_0x2a3b35,_0x418a70)=>{_0x418a70[_0x196c('0xa')][_0x196c('0x6')]&&_0x532fcb[_0x196c('0xd')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5196=['TrackChangesEditing','plugins','editor','afterInit','enableCommand','MentionEditing'];(function(_0x21f59c,_0x519679){const _0x36d08f=function(_0x4b69fd){while(--_0x4b69fd){_0x21f59c['push'](_0x21f59c['shift']());}};_0x36d08f(++_0x519679);}(_0x5196,0xf2));const _0x36d0=function(_0x21f59c,_0x519679){_0x21f59c=_0x21f59c-0x0;let _0x36d08f=_0x5196[_0x21f59c];return _0x36d08f;};import{Plugin as _0x48ebe3}from'ckeditor5/src/core';export default class rt extends _0x48ebe3{[_0x36d0('0x1')](){const _0x5dce0e=this[_0x36d0('0x0')];_0x5dce0e[_0x36d0('0x5')]['has'](_0x36d0('0x3'))&&_0x5dce0e[_0x36d0('0x5')]['get'](_0x36d0('0x4'))[_0x36d0('0x2')]('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x348e=['pageBreak','registerElementLabel','PageBreakEditing','afterInit','plugins','editor','TrackChangesEditing','locale','enableCommand','_descriptionFactory','ELEMENT_PAGE_BREAK','get'];(function(_0x278a56,_0x348e97){const _0xaef7b7=function(_0x62d152){while(--_0x62d152){_0x278a56['push'](_0x278a56['shift']());}};_0xaef7b7(++_0x348e97);}(_0x348e,0x10a));const _0xaef7=function(_0x278a56,_0x348e97){_0x278a56=_0x278a56-0x0;let _0xaef7b7=_0x348e[_0x278a56];return _0xaef7b7;};import{Plugin as _0x24722f}from'ckeditor5/src/core';import{getTranslation as _0x40d387}from'../utils/common-translations';export default class at extends _0x24722f{[_0xaef7('0x1')](){const _0x12b534=this[_0xaef7('0x3')];if(!_0x12b534[_0xaef7('0x2')]['has'](_0xaef7('0x0')))return;_0x12b534[_0xaef7('0x2')][_0xaef7('0x9')](_0xaef7('0x4'))[_0xaef7('0x6')](_0xaef7('0xa'));const _0x9620e4=_0x12b534['plugins'][_0xaef7('0x9')](_0xaef7('0x4')),_0x1cbf99=_0x12b534[_0xaef7('0x5')];_0x9620e4[_0xaef7('0x7')][_0xaef7('0xb')]('pageBreak',_0x424e70=>_0x40d387(_0x1cbf99,_0xaef7('0x8'),_0x424e70));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5821=['selection','registerDescriptionCallback','locale','consume','get','ELEMENT_PARAGRAPH','schema','change','addMarker:suggestion:insertion','plugins','has','isBlock','*Insert:*\x20%0','getFirstRange','enableCommand','checkChild','editor','writer','bindElementToMarker','filter','nodeAfter','editing','createUIElement','span','markerRange','document','blockName','data','insertion','TrackChangesEditing','addClass','highest','markBlockFormat','insert','isObject','ck-suggestion-marker-split','start','$text','_descriptionFactory','includes','Paragraph','name','type','model','isTouching','markerName','registerElementLabel','end','options','paragraph','isLimit','format','downcastDispatcher'];(function(_0x414835,_0x582120){const _0x38ffcc=function(_0x309d1e){while(--_0x309d1e){_0x414835['push'](_0x414835['shift']());}};_0x38ffcc(++_0x582120);}(_0x5821,0x75));const _0x38ff=function(_0x414835,_0x582120){_0x414835=_0x414835-0x0;let _0x38ffcc=_0x5821[_0x414835];return _0x38ffcc;};import{Plugin as _0x42a72f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x513e90}from'./utils';import{getTranslation as _0x226c41}from'../utils/common-translations';export default class ct extends _0x42a72f{['afterInit'](){const _0x973538=this[_0x38ff('0x5')];if(!_0x973538[_0x38ff('0x33')][_0x38ff('0x34')](_0x38ff('0x1d')))return;const _0x1daa05=_0x973538[_0x38ff('0x2c')],_0x1a1e8a=_0x973538['plugins'][_0x38ff('0x2e')](_0x38ff('0x12'));_0x1a1e8a[_0x38ff('0x1b')][_0x38ff('0x23')]('paragraph',_0x4fe938=>_0x226c41(_0x1daa05,_0x38ff('0x2f'),_0x4fe938)),_0x1a1e8a[_0x38ff('0x3')]('paragraph',(_0x327d63,_0x19bea2={})=>{const _0x329209=_0x973538[_0x38ff('0x20')][_0x38ff('0xe')],_0x13e982=_0x19bea2[_0x38ff('0x2a')]||_0x329209[_0x38ff('0x2a')],_0xab20e4=Array['from'](_0x13e982['getSelectedBlocks']())[_0x38ff('0x8')](_0x17112a=>function(_0x4b9a74,_0x344807){return _0x344807[_0x38ff('0x4')](_0x4b9a74['parent'],_0x38ff('0x26'))&&!_0x344807[_0x38ff('0x17')](_0x4b9a74)&&_0x38ff('0x26')!=_0x4b9a74['name'];}(_0x17112a,this[_0x38ff('0x5')][_0x38ff('0x20')][_0x38ff('0x30')]));_0x973538[_0x38ff('0x20')][_0x38ff('0x31')](()=>{for(const _0x239b39 of _0xab20e4)_0x1a1e8a[_0x38ff('0x15')](_0x239b39,{'commandName':_0x38ff('0x26'),'commandParams':[],'formatGroupId':_0x38ff('0xf')},_0x513e90(_0x239b39));});}),_0x1a1e8a['_descriptionFactory'][_0x38ff('0x2b')](_0x40bdd6=>{const {data:_0x4d57da}=_0x40bdd6;if(_0x4d57da&&'paragraph'==_0x4d57da['commandName'])return{'type':_0x38ff('0x28'),'content':_0x226c41(_0x1daa05,'*Change\x20to:*\x20%0',_0x226c41(_0x1daa05,_0x38ff('0x2f')))};}),_0x1a1e8a[_0x38ff('0x3')]('insertParagraph'),_0x973538[_0x38ff('0xa')][_0x38ff('0x29')]['on'](_0x38ff('0x32'),ar(_0x973538),{'priority':_0x38ff('0x14')}),_0x973538[_0x38ff('0x10')]['downcastDispatcher']['on'](_0x38ff('0x32'),(_0x46ef7c,_0x22a434,_0x1bd91c)=>{_0x1bd91c[_0x38ff('0x25')]['showSuggestionHighlights']&&ar(_0x973538,{'showActiveMarker':!0x1})(_0x46ef7c,_0x22a434,_0x1bd91c);},{'priority':_0x38ff('0x14')});const _0x136cb7=_0x1a1e8a[_0x38ff('0x1b')];_0x136cb7[_0x38ff('0x2b')](_0x507a61=>{if(_0x38ff('0x11')!==_0x507a61[_0x38ff('0x1f')])return;const {start:_0x40cb7b,end:_0x293fdb}=_0x507a61[_0x38ff('0x2')]();if(!_0x40cb7b[_0x38ff('0x21')](_0x293fdb)||!_0x40cb7b[_0x38ff('0x9')])return;const _0x28f53e=_0x973538[_0x38ff('0x20')][_0x38ff('0x30')],_0x51d925=_0x40cb7b[_0x38ff('0x9')];return _0x28f53e[_0x38ff('0x0')](_0x51d925)&&!_0x28f53e['isLimit'](_0x51d925)&&_0x28f53e[_0x38ff('0x4')](_0x51d925,_0x38ff('0x1a'))?{'type':_0x38ff('0x11'),'content':_0x226c41(_0x1daa05,_0x38ff('0x1'),_0x136cb7['getItemLabel'](_0x51d925,0x1))}:void 0x0;});}}function ar(_0x1d8d1b,{showActiveMarker:_0x19311d=!0x0}={}){return(_0x1c7d18,_0x470577,_0x23c20a)=>{const _0x3e1ce0=_0x1d8d1b[_0x38ff('0x33')][_0x38ff('0x2e')](_0x38ff('0x12')),_0x1e0cef=_0x470577['markerRange'][_0x38ff('0x19')],_0x588515=_0x470577[_0x38ff('0xd')][_0x38ff('0x24')],_0x489da6=_0x1d8d1b[_0x38ff('0x20')][_0x38ff('0x30')];if(!_0x1e0cef[_0x38ff('0x21')](_0x588515)||!_0x1e0cef[_0x38ff('0x9')])return;const _0x58837c=_0x1e0cef[_0x38ff('0x9')];if(_0x489da6[_0x38ff('0x0')](_0x58837c)&&!_0x489da6[_0x38ff('0x27')](_0x58837c)&&_0x489da6['checkChild'](_0x58837c,_0x38ff('0x1a'))){if(!_0x23c20a['consumable'][_0x38ff('0x2d')](_0x470577[_0x38ff('0xd')],_0x1c7d18[_0x38ff('0x1e')]))return;const _0x1bda17=_0x23c20a[_0x38ff('0x6')][_0x38ff('0xb')](_0x38ff('0xc'),{'class':_0x38ff('0x18')}),_0x3a0293=_0x23c20a['mapper']['toViewPosition'](_0x588515);_0x19311d&&_0x3e1ce0['activeMarkers'][_0x38ff('0x1c')](_0x470577['markerName'])&&_0x23c20a[_0x38ff('0x6')][_0x38ff('0x13')]('ck-suggestion-marker--active',_0x1bda17),_0x23c20a['writer'][_0x38ff('0x16')](_0x3a0293,_0x1bda17),_0x23c20a['mapper'][_0x38ff('0x7')](_0x1bda17,_0x470577[_0x38ff('0x22')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2609=['registerDescriptionCallback','*Remove\x20all\x20formatting*','commandName','RemoveFormatEditing','from','_descriptionFactory','plugins','createRangeOn','change','model','locale','removeFormat','selection','enableCommand','schema','getItems','document','getAttributeProperties','isFormatting'];(function(_0x315a2b,_0x260999){const _0x515610=function(_0x17baeb){while(--_0x17baeb){_0x315a2b['push'](_0x315a2b['shift']());}};_0x515610(++_0x260999);}(_0x2609,0x133));const _0x5156=function(_0x315a2b,_0x260999){_0x315a2b=_0x315a2b-0x0;let _0x515610=_0x2609[_0x315a2b];return _0x515610;};import{Plugin as _0x13a409}from'ckeditor5/src/core';import{getTranslation as _0x5363c7}from'../utils/common-translations';export default class ht extends _0x13a409{['afterInit'](){const _0x30a52e=this['editor'];if(!_0x30a52e[_0x5156('0x3')]['has'](_0x5156('0x0')))return;const _0x11d58a=_0x30a52e[_0x5156('0x3')]['get']('TrackChangesEditing');_0x11d58a[_0x5156('0xa')](_0x5156('0x8'),_0x5e23bd=>{const _0x5c971e=_0x30a52e['model'][_0x5156('0xd')][_0x5156('0x9')];_0x5c971e['isCollapsed']?_0x5e23bd():_0x30a52e[_0x5156('0x6')][_0x5156('0x5')](()=>{const _0x1d447f=Array[_0x5156('0x1')](_0x5c971e['getRanges']());for(const _0x1c9c73 of _0x1d447f)for(const _0x2e5b0d of _0x1c9c73[_0x5156('0xc')]())eo(_0x2e5b0d,_0x30a52e[_0x5156('0x6')][_0x5156('0xb')])&&_0x11d58a['markInlineFormat'](_0x30a52e[_0x5156('0x6')][_0x5156('0x4')](_0x2e5b0d),{'commandName':_0x5156('0x8'),'commandParams':[]});});}),_0x11d58a[_0x5156('0x2')][_0x5156('0x10')](_0x5b7cd0=>{const {data:_0x56ec4c}=_0x5b7cd0;if(_0x56ec4c&&_0x5156('0x8')==_0x56ec4c[_0x5156('0x12')])return{'type':'format','content':_0x5363c7(_0x30a52e[_0x5156('0x7')],_0x5156('0x11'))};});}}function eo(_0x22a82a,_0x553c71){for(const [_0x38bb44]of _0x22a82a['getAttributes']()){const _0x4edbb5=_0x553c71[_0x5156('0xe')](_0x38bb44);if(_0x4edbb5&&_0x4edbb5[_0x5156('0xf')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2937=['enableCommand','discardSuggestion','goToNextRestrictedEditingException','TrackChangesEditing','trackChanges','acceptSuggestion','get','editor','plugins','goToPreviousRestrictedEditingException','discardAllSuggestions','discardSelectedSuggestions','has','acceptSelectedSuggestions','RestrictedEditingModeEditing'];(function(_0x4d573c,_0x293736){const _0x16d745=function(_0x430e2e){while(--_0x430e2e){_0x4d573c['push'](_0x4d573c['shift']());}};_0x16d745(++_0x293736);}(_0x2937,0x1a9));const _0x16d7=function(_0x4d573c,_0x293736){_0x4d573c=_0x4d573c-0x0;let _0x16d745=_0x2937[_0x4d573c];return _0x16d745;};import{Plugin as _0xee7b19}from'ckeditor5/src/core';export default class ut extends _0xee7b19{['afterInit'](){const _0x4ed173=this[_0x16d7('0x2')];if(!_0x4ed173[_0x16d7('0x3')][_0x16d7('0x7')](_0x16d7('0x9')))return;const _0x26d7a4=_0x4ed173[_0x16d7('0x3')]['get'](_0x16d7('0xd'));_0x26d7a4['enableCommand'](_0x16d7('0x4')),_0x26d7a4['enableCommand'](_0x16d7('0xc'));const _0x1fab3a=_0x4ed173[_0x16d7('0x3')][_0x16d7('0x1')](_0x16d7('0x9'));_0x1fab3a['enableCommand'](_0x16d7('0xe')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x0')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0xb')),_0x1fab3a[_0x16d7('0xa')]('acceptAllSuggestions'),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x5')),_0x1fab3a['enableCommand'](_0x16d7('0x8')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x333d=['ck-suggestion-marker-','editor','span','data','split','_descriptionFactory','high','ck-suggestion-marker--active','test','addMarker:suggestion','deletion','editing','locale','ELEMENT_LINE_BREAK','get','insert','plugins','writer','model','markerName','bindElementToMarker','showSuggestionHighlights','markerRange','options','addClass','TrackChangesEditing','downcastDispatcher','getItems','createUIElement','mapper','includes','softBreak','registerElementLabel','consumable','enableCommand','toViewPosition','addMarker:suggestion:deletion'];(function(_0x58d7d1,_0x333da3){const _0x30deaf=function(_0x59496c){while(--_0x59496c){_0x58d7d1['push'](_0x58d7d1['shift']());}};_0x30deaf(++_0x333da3);}(_0x333d,0x1d9));const _0x30de=function(_0x58d7d1,_0x333da3){_0x58d7d1=_0x58d7d1-0x0;let _0x30deaf=_0x333d[_0x58d7d1];return _0x30deaf;};import{Plugin as _0x41db8e}from'ckeditor5/src/core';import{ShiftEnter as _0x3e63d5}from'ckeditor5/src/enter';import{getTranslation as _0x50819f}from'../utils/common-translations';export default class ft extends _0x41db8e{static get['requires'](){return[_0x3e63d5];}['init'](){const _0x40c484=this[_0x30de('0x9')],_0xa35216=_0x40c484[_0x30de('0x18')][_0x30de('0x16')](_0x30de('0x21'));_0xa35216[_0x30de('0x5')]('shiftEnter'),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on']('addMarker:suggestion:insertion',re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on'](_0x30de('0x7'),re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0xb')][_0x30de('0x22')]['on'](_0x30de('0x11'),(_0x455e24,_0x301c62,_0x1d787f)=>{_0x1d787f[_0x30de('0x1f')][_0x30de('0x1d')]&&re(_0x40c484,{'showActiveMarker':!0x1})(_0x455e24,_0x301c62,_0x1d787f);}),_0xa35216[_0x30de('0xd')][_0x30de('0x3')]('softBreak',_0x10e6f4=>_0x50819f(_0x40c484[_0x30de('0x14')],_0x30de('0x15'),_0x10e6f4));}}function re(_0x181db3,{showActiveMarker:_0x18686a=!0x0}={}){return(_0x5c072e,_0x4aa8f4,_0x317406)=>{const _0x443a26=_0x181db3['plugins'][_0x30de('0x16')](_0x30de('0x21'));if(!_0x317406[_0x30de('0x4')][_0x30de('0x10')](_0x4aa8f4[_0x30de('0x1e')],_0x5c072e['name']))return;const _0x145fb2=_0x181db3[_0x30de('0x1a')];for(const _0x294fb5 of _0x4aa8f4[_0x30de('0x1e')][_0x30de('0x23')]()){if(!_0x294fb5['is']('element',_0x30de('0x2')))continue;const _0x171210=_0x30de('0x12')==_0x4aa8f4[_0x30de('0x1b')][_0x30de('0xc')](':')[0x1]?'merge':'split',_0x535972=_0x317406[_0x30de('0x19')][_0x30de('0x24')](_0x30de('0xa'),{'class':_0x30de('0x8')+_0x171210}),_0x3e3171=_0x317406[_0x30de('0x0')][_0x30de('0x6')](_0x145fb2['createPositionBefore'](_0x294fb5));_0x18686a&&_0x443a26['activeMarkers'][_0x30de('0x1')](_0x4aa8f4['markerName'])&&_0x317406[_0x30de('0x19')][_0x30de('0x20')](_0x30de('0xf'),_0x535972),_0x317406[_0x30de('0x19')][_0x30de('0x17')](_0x3e3171,_0x535972),_0x317406[_0x30de('0x0')][_0x30de('0x1c')](_0x535972,_0x4aa8f4['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5385=['change','locale','FORMAT_RESTRICTED_ENABLED','document','enableCommand','forceValue','afterInit','markInlineFormat','FORMAT_RESTRICTED_DISABLED','_descriptionFactory','format','commandName','plugins','from','getRanges','restrictedEditingException','commands','editor','get','value','commandParams','model','selection'];(function(_0x1338ea,_0x538586){const _0xe3a8c3=function(_0x2c0123){while(--_0x2c0123){_0x1338ea['push'](_0x1338ea['shift']());}};_0xe3a8c3(++_0x538586);}(_0x5385,0xb4));const _0xe3a8=function(_0x1338ea,_0x538586){_0x1338ea=_0x1338ea-0x0;let _0xe3a8c3=_0x5385[_0x1338ea];return _0xe3a8c3;};import{Plugin as _0x1d6703}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x15996c}from'./utils';import{getTranslation as _0x426d5f}from'../utils/common-translations';export default class lt extends _0x1d6703{[_0xe3a8('0xa')](){const _0xca231b=this[_0xe3a8('0x15')],_0x30fc57=_0xca231b[_0xe3a8('0x2')],_0x48e708=_0xca231b[_0xe3a8('0x5')];if(!_0xca231b[_0xe3a8('0x10')]['has']('StandardEditingModeEditing'))return;const _0x1107f2=_0xca231b[_0xe3a8('0x10')]['get']('TrackChangesEditing'),_0x345a77=_0xe3a8('0x13'),_0x5de73a=_0xca231b[_0xe3a8('0x14')][_0xe3a8('0x16')](_0x345a77);_0x1107f2[_0xe3a8('0x8')](_0x345a77,(_0x3a822d,_0x498684={})=>{const _0xe46052=_0x30fc57[_0xe3a8('0x7')][_0xe3a8('0x3')];if(_0xe46052['isCollapsed'])return void _0x3a822d(_0x498684);const _0x393250=void 0x0!==_0x498684[_0xe3a8('0x9')]?_0x498684[_0xe3a8('0x9')]:!_0x5de73a[_0xe3a8('0x0')];_0x30fc57[_0xe3a8('0x4')](()=>{const _0x136091=Array[_0xe3a8('0x11')](_0xe46052[_0xe3a8('0x12')]());for(const _0x298497 of _0x136091){const _0x3ebca1=_0x393250?[_0x298497]:_0x15996c(_0x345a77,_0x298497,_0x30fc57);for(const _0x30c818 of _0x3ebca1)_0x1107f2[_0xe3a8('0xb')](_0x30c818,{'commandName':_0x345a77,'commandParams':[{'forceValue':_0x393250}]});}});}),_0x1107f2[_0xe3a8('0xd')]['registerDescriptionCallback'](_0x51693f=>{const {data:_0xa44b1b}=_0x51693f;if(_0xa44b1b&&_0xa44b1b[_0xe3a8('0xf')]==_0x345a77)return _0xa44b1b[_0xe3a8('0x1')][0x0][_0xe3a8('0x9')]?{'type':_0xe3a8('0xe'),'content':_0x426d5f(_0x48e708,_0xe3a8('0x6'))}:{'type':'format','content':_0x426d5f(_0x48e708,_0xe3a8('0xc'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1296=['toLowerCase','commandName','get','every','getDefinitionsForView','from','createRangeOn','getSelectedBlocks','markInlineFormat','document','includes','getRanges','StyleUtils','name','styleName','locale','afterInit','value','commandParams','style','add','classes','normalizeConfig','model','enableCommand','registerDescriptionCallback','style.definitions','markBlockFormat','*Remove\x20format:*\x20%0','_getStyleDefinition','_getRangesWithClasses','*Format:*\x20%0','selection','TrackChangesEditing','style:','isCollapsed','find','plugins','DataSchema','commands','block','modelElements','config','isBlock','getAncestors','format','push'];(function(_0x2cca6e,_0x1296d6){const _0x309e4d=function(_0x5caf57){while(--_0x5caf57){_0x2cca6e['push'](_0x2cca6e['shift']());}};_0x309e4d(++_0x1296d6);}(_0x1296,0x120));const _0x309e=function(_0x2cca6e,_0x1296d6){_0x2cca6e=_0x2cca6e-0x0;let _0x309e4d=_0x1296[_0x2cca6e];return _0x309e4d;};import{Plugin as _0x1aa679}from'ckeditor5/src/core';import{getTranslation as _0x4baf58}from'../utils/common-translations';export default class gt extends _0x1aa679{[_0x309e('0xa')](){const _0x30d425=this['editor'];if(!_0x30d425[_0x309e('0x1f')]['has']('Style'))return;const _0xff7451=_0x30d425[_0x309e('0x21')][_0x309e('0x2b')](_0x309e('0xd')),_0x3c9d32=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x1b')),_0x46bbfb=_0x30d425[_0x309e('0x9')],_0x4f24d5=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x20')),_0x512dfc=_0x30d425[_0x309e('0x1f')]['get'](_0x309e('0x6'))[_0x309e('0x10')](_0x4f24d5,_0x30d425[_0x309e('0x24')][_0x309e('0x2b')](_0x309e('0x14')));_0x3c9d32[_0x309e('0x12')](_0x309e('0xd'),(_0x3f3902,{styleName:_0x15fa18})=>{const _0x47bdbf=_0x30d425[_0x309e('0x11')][_0x309e('0x3')][_0x309e('0x1a')],_0x67a8d4=this[_0x309e('0x17')](_0x15fa18,_0x512dfc);if(!_0x67a8d4)return;if(!_0xff7451['enabledStyles'][_0x309e('0x4')](_0x15fa18))return;if(_0x47bdbf[_0x309e('0x1d')]&&!_0x67a8d4['isBlock'])return void _0x3f3902({'styleName':_0x15fa18});const _0x338ab4=!_0xff7451[_0x309e('0xb')]['includes'](_0x67a8d4[_0x309e('0x7')]);if(_0x67a8d4[_0x309e('0x25')]){const _0x251de0=function(_0x4b3910,_0x38d0bc){const _0x1a8e25=new Set();for(const _0x4a0e90 of _0x4b3910){const _0x29a93c=_0x4a0e90[_0x309e('0x26')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x40d4f0 of _0x29a93c)if(_0x38d0bc[_0x309e('0x4')](_0x40d4f0[_0x309e('0x7')])){_0x1a8e25[_0x309e('0xe')](_0x40d4f0);break;}}return _0x1a8e25;}(_0x47bdbf[_0x309e('0x1')](),_0x67a8d4[_0x309e('0x23')]);_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x3cea96 of _0x251de0)_0x3c9d32[_0x309e('0x15')](_0x3cea96,{'commandName':_0x309e('0xd'),'commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}],'formatGroupId':_0x309e('0x1c')+_0x15fa18});});}else{let _0x12abad=Array[_0x309e('0x2e')](_0x47bdbf[_0x309e('0x5')]());if(!_0x338ab4){const _0x1d587f=Array[_0x309e('0x2e')](_0x4f24d5[_0x309e('0x2d')](_0x67a8d4['element'],!0x1))[0x0][_0x309e('0x11')],_0x4f3318=[];for(const _0x495ed8 of _0x12abad){const _0x2940c9=this[_0x309e('0x18')](_0x30d425[_0x309e('0x11')],_0x495ed8,_0x67a8d4[_0x309e('0xf')],_0x1d587f);_0x4f3318[_0x309e('0x28')](..._0x2940c9);}_0x12abad=_0x4f3318;}_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x14a0aa of _0x12abad)_0x3c9d32[_0x309e('0x2')](_0x14a0aa,{'commandName':'style','commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}]});});}}),_0x3c9d32['_descriptionFactory'][_0x309e('0x13')](_0x5be823=>{const {data:_0x586398}=_0x5be823;if(_0x586398&&_0x309e('0xd')===_0x586398[_0x309e('0x2a')])return _0x586398[_0x309e('0xc')][0x0]['forceValue']?{'type':'format','content':_0x4baf58(_0x46bbfb,_0x309e('0x19'),_0x586398[_0x309e('0xc')][0x0]['styleName'][_0x309e('0x29')]())}:{'type':_0x309e('0x27'),'content':_0x4baf58(_0x46bbfb,_0x309e('0x16'),_0x586398['commandParams'][0x0][_0x309e('0x8')][_0x309e('0x29')]())};});}[_0x309e('0x17')](_0x23a5da,_0x4638c1){let _0x22ad51=_0x4638c1[_0x309e('0x22')][_0x309e('0x1e')](_0x39cc22=>_0x39cc22[_0x309e('0x7')]===_0x23a5da);return _0x22ad51||(_0x22ad51=_0x4638c1['inline'][_0x309e('0x1e')](_0x39c600=>_0x39c600[_0x309e('0x7')]===_0x23a5da)),_0x22ad51;}[_0x309e('0x18')](_0x75a31,_0x1ede2b,_0x783836,_0x28c645){const _0x389901=[];for(const _0x1358c1 of _0x1ede2b['getItems']()){const _0x2531d3=_0x1358c1['getAttribute'](_0x28c645);_0x2531d3&&(_0x783836[_0x309e('0x2c')](_0x513328=>_0x2531d3[_0x309e('0xf')][_0x309e('0x4')](_0x513328))&&_0x389901['push'](_0x75a31[_0x309e('0x0')](_0x1358c1)));}return _0x389901;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1710=['values','join','getRanges','MIN_SAFE_INTEGER','registerDescriptionCallback','accept','has','start','cell','setSelection','createRangeIn','registerElementLabel','$graveyard','isArray','plugins','name','type','some','item','length','change','tableCell','hasAttribute','*Insert:*\x20%0','addRange','maxColumn','ELEMENT_TABLE','_tableSuggestions','minColumn','createRangeOn','getChildren','insert','selectTableRow','above','ELEMENT_TABLE_ROW_WITH_TEXT','TableUtils','left','toLowerCase','differ','insertTableRowBelow','TableEditing','max','minRow','_suggestionFactory','includes','last','ELEMENT_TABLE_WITH_TEXT','downcastDispatcher','colspan','data','writer','getItems','refresh','selection','getFirstRange','getChanges','getColumnIndexes','execute','first','ELEMENT_TABLE_COLUMN','createTableWalker','detach','substr','table','model','enqueueChange','discard','maxRow','deletion','insertTableColumnLeft','_getCoordsForCells','addClass','isEqual','removeTableRow','registerCustomCallback','isInContent','selectTableColumn','enableCommand','add','change:data','_descriptionFactory','subType','nodeAfter','$textProxy','removeTableColumn','editor','filter','getChangedMarkers','addMarker:suggestion','rootName','_splitMarkerName','position','getCellLocation','document','classes','from','_setupColumnsRowsFixing','insertion','commands','options','getSelectionAffectedTableCells','isIntersectingWithRange','tablePaste','toViewElement','batch','TrackChangesEditing','nodeBefore','MAX_SAFE_INTEGER','_tablePostFixingSubtypes','afterInit','startsWith','locale','tableColumn','showSuggestionHighlights','min','element','span','push','getAttribute','insertTable','markMultiRangeInsertion','tableRow','ELEMENT_TABLE_ROW','findAncestor','map','rowspan','get','getSuggestion','isTouching','suggestion','_getSuggestionCoords','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','highest','order','end','fromRange','markMultiRangeDeletion','*Remove:*\x20%0','root'];(function(_0x28eb70,_0x1710ea){const _0x5802f2=function(_0x2789cd){while(--_0x2789cd){_0x28eb70['push'](_0x28eb70['shift']());}};_0x5802f2(++_0x1710ea);}(_0x1710,0x110));const _0x5802=function(_0x28eb70,_0x1710ea){_0x28eb70=_0x28eb70-0x0;let _0x5802f2=_0x1710[_0x28eb70];return _0x5802f2;};import{Plugin as _0x5a1358}from'ckeditor5/src/core';import{LiveRange as _0x5b5b06}from'ckeditor5/src/engine';import{setHighlightHandling as _0x15bcdf}from'ckeditor5/src/widget';import{getTranslation as _0x166972}from'../utils/common-translations';export default class mt extends _0x5a1358{constructor(_0x50aa7f){super(_0x50aa7f),this[_0x5802('0x74')]=['tableRow',_0x5802('0x78')],this[_0x5802('0x23')]=new Set();}[_0x5802('0x75')](){const _0x3f989e=this['editor'],_0x54b8e2=_0x3f989e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];if(!_0x3f989e['plugins'][_0x5802('0xe')](_0x5802('0x30')))return;const _0xb798bd=_0x3f989e[_0x5802('0x77')],_0x28bc5b=_0x3f989e[_0x5802('0x16')][_0x5802('0x86')](_0x5802('0x71')),_0x14a1ec=_0x3f989e[_0x5802('0x16')]['get']('TableUtils');_0x28bc5b[_0x5802('0x58')][_0x5802('0x13')](_0x5802('0x47'),_0x123a70=>_0x166972(_0xb798bd,_0x5802('0x22'),_0x123a70)),this[_0x5802('0x68')](),_0x28bc5b[_0x5802('0x55')](_0x5802('0x7f')),_0x28bc5b[_0x5802('0x55')](_0x5802('0x28')),_0x28bc5b['enableCommand'](_0x5802('0x54'));for(const _0xc1bcd0 of['insertTableRowAbove',_0x5802('0x2f')]){const _0x12ff45=_0x3f989e['commands']['get'](_0xc1bcd0);_0x28bc5b[_0x5802('0x55')](_0xc1bcd0,_0x178430=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x286869=>{_0x178430();const _0x19d188=_0x5802('0x29')===_0x12ff45[_0x5802('0x2')],_0x2404f9=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1fe3ec=_0x14a1ec['getRowIndexes'](_0x2404f9),_0x1d773c=_0x19d188?_0x1fe3ec[_0x5802('0x42')]-0x1:_0x1fe3ec[_0x5802('0x35')]+0x1,_0x29f1dd=_0x2404f9[0x0][_0x5802('0x83')](_0x5802('0x47')),_0x537007=_0x14a1ec[_0x5802('0x44')](_0x29f1dd,{'startRow':_0x1d773c,'endRow':_0x1d773c}),_0x2fad67=Array[_0x5802('0x67')](_0x537007)[_0x5802('0x84')](_0x1f5130=>_0x286869[_0x5802('0x25')](_0x1f5130['cell']));_0x28bc5b['markMultiRangeInsertion'](_0x2fad67,_0x5802('0x81'));});});}for(const _0x280e9c of[_0x5802('0x4d'),'insertTableColumnRight']){const _0x41a286=_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x280e9c);_0x28bc5b[_0x5802('0x55')](_0x280e9c,_0x5024a3=>{_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x113f2a=>{_0x5024a3();const _0x2e5b0c=_0x5802('0x2c')===_0x41a286[_0x5802('0x2')],_0x22d3ed=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x29be14=_0x14a1ec[_0x5802('0x40')](_0x22d3ed),_0x4fe7df=_0x2e5b0c?_0x29be14[_0x5802('0x42')]-0x1:_0x29be14[_0x5802('0x35')]+0x1,_0x4d979a=_0x22d3ed[0x0][_0x5802('0x83')](_0x5802('0x47')),_0xb11809=_0x14a1ec[_0x5802('0x44')](_0x4d979a,{'startRow':0x0,'column':_0x4fe7df,'includeAllSlots':!0x1}),_0x564a48=Array[_0x5802('0x67')](_0xb11809)['map'](_0x2e7dde=>_0x113f2a[_0x5802('0x25')](_0x2e7dde[_0x5802('0x10')]));_0x28bc5b[_0x5802('0x80')](_0x564a48,_0x5802('0x78'));});});}for(const _0x288dfc of[_0x5802('0x51'),'removeTableColumn']){const _0x2a2716=_0x288dfc['substr'](0xb),_0x5bff4d=_0x2a2716[_0x5802('0x2d')](),_0x25c794=_0x5bff4d[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x3e7fc3=_0x5802('0x47')+_0x2a2716,_0x34b009=_0x5802('0x7a')+_0x2a2716,_0x2061c3='max'+_0x2a2716;_0x28bc5b[_0x5802('0x55')](_0x288dfc,()=>{_0x3f989e['model'][_0x5802('0x1c')](_0x2f8b7e=>{const _0xc26d3e=_0x14a1ec[_0x5802('0x6c')](_0x54b8e2),_0x1e0153=_0xc26d3e[0x0][_0x5802('0x83')](_0x5802('0x47'));let _0x472171;if(_0x5802('0x51')==_0x288dfc){const _0x4618a5=_0x14a1ec[_0x5802('0x0')](_0xc26d3e);_0x472171={'startRow':_0x4618a5['first'],'endRow':_0x4618a5[_0x5802('0x35')],'includeAllSlots':!0x0};}else{const _0x2dd21c=_0x14a1ec[_0x5802('0x40')](_0xc26d3e);_0x472171={'startColumn':_0x2dd21c[_0x5802('0x42')],'endColumn':_0x2dd21c[_0x5802('0x35')],'includeAllSlots':!0x0};}const _0x16d888=_0x14a1ec[_0x5802('0x44')](_0x1e0153,_0x472171),_0x3a5bef=Array['from'](_0x16d888)[_0x5802('0x84')](({cell:_0x51c74f})=>_0x51c74f),_0xac78af=se(_0x3a5bef[_0x5802('0x5e')](_0x4a9c97=>_0x4a9c97[_0x5802('0x1e')](_0x25c794))),_0x5ec3f5=se(_0x3a5bef[_0x5802('0x5e')](_0x42183=>!_0x42183[_0x5802('0x1e')](_0x25c794)))[_0x5802('0x84')](_0x301695=>_0x2f8b7e[_0x5802('0x25')](_0x301695)),_0x2e0dc7=_0x28bc5b[_0x5802('0x5')](_0x5ec3f5,_0x3e7fc3);if(_0x2e0dc7&&(_0x5802('0x81')==_0x2e0dc7['subType']||_0x5802('0x78')==_0x2e0dc7[_0x5802('0x59')])){const _0x2cc76b=this[_0x5802('0x8a')](_0x2e0dc7);for(const _0x13bed7 of _0xac78af){const _0x340fac=_0x2f8b7e[_0x5802('0x25')](_0x13bed7),_0x50dfa2=_0x14a1ec[_0x5802('0x64')](_0x13bed7),_0x23d980=_0x13bed7[_0x5802('0x7e')](_0x25c794)-0x1,_0x54e4d9=_0x2cc76b[_0x34b009],_0x202f14=_0x2cc76b[_0x2061c3];_0x54e4d9<=_0x50dfa2[_0x5bff4d]&&_0x50dfa2[_0x5bff4d]+_0x23d980<=_0x202f14&&_0x2e0dc7[_0x5802('0x20')](_0x340fac);}}});});}function _0x44a2cf(_0x5aaafb){const _0x2adba6=Array[_0x5802('0x67')](_0x54b8e2[_0x5802('0xa')]())['map'](_0x5ed1a3=>_0x5b5b06[_0x5802('0x4')](_0x5ed1a3));_0x3f989e[_0x5802('0x48')][_0x5802('0x1c')](_0x53d983=>{const _0x2b805c=_0x53d983[_0x5802('0x70')];_0x5aaafb=_0x5aaafb['filter'](_0x27356d=>_0x5802('0x14')!=_0x27356d[_0x5802('0x7')][_0x5802('0x61')]),_0x53d983[_0x5802('0x11')](_0x5aaafb),_0x3f989e['commands'][_0x5802('0x86')]('removeTableRow')[_0x5802('0x3c')](),_0x3f989e[_0x5802('0x41')](_0x5802('0x51'),{'forceDefaultExecution':!0x0}),_0x3f989e[_0x5802('0x48')][_0x5802('0x49')](()=>{_0x3f989e[_0x5802('0x48')]['enqueueChange'](_0x2b805c,_0x30c06f=>{const _0x10ff53=_0x2adba6[_0x5802('0x5e')](_0xcd5500=>'$graveyard'!=_0xcd5500[_0x5802('0x7')][_0x5802('0x61')]);_0x10ff53[_0x5802('0x1b')]>0x0&&_0x30c06f['setSelection'](_0x10ff53);for(const _0x1d1cf9 of _0x2adba6)_0x1d1cf9[_0x5802('0x45')]();});});});}function _0xe238b7(_0x1e73ff){_0x3f989e['model']['change'](_0x3e5d85=>{const _0x3017c2=Array[_0x5802('0x67')](_0x54b8e2['getRanges']())[_0x5802('0x84')](_0x3e6d5a=>_0x5b5b06['fromRange'](_0x3e6d5a)),_0x105019=[];for(const _0x42db77 of _0x1e73ff)for(const _0x2c588b of _0x42db77[_0x5802('0x3b')]({'shallow':!0x0}))_0x105019['push'](_0x2c588b);for(const _0x35df69 of _0x105019)_0x5802('0x14')!=_0x35df69['root']['rootName']&&(_0x3e5d85[_0x5802('0x11')](_0x3e5d85['createPositionAt'](_0x35df69,0x0)),_0x3f989e[_0x5802('0x6a')][_0x5802('0x86')](_0x5802('0x5c'))[_0x5802('0x3c')](),_0x3f989e['execute'](_0x5802('0x5c'),{'forceDefaultExecution':!0x0}));const _0x186407=_0x3017c2[_0x5802('0x5e')](_0xc71fb2=>_0x5802('0x14')!=_0xc71fb2[_0x5802('0x7')]['rootName']);_0x186407['length']>0x0&&_0x3e5d85[_0x5802('0x11')](_0x186407);for(const _0x2a8f62 of _0x3017c2)_0x2a8f62['detach']();});}function _0x2de75d(_0x54d6ad,_0x5fdf78){return _0x5fdf78['every'](_0x4223f1=>_0x54d6ad['some'](_0x552004=>_0x552004['end'][_0x5802('0x50')](_0x4223f1['start'])||_0x4223f1[_0x5802('0x3')][_0x5802('0x50')](_0x552004[_0x5802('0xf')])));}function _0x10ae6a(_0x2a5740,_0x389c39){return _0x2a5740[_0x5802('0x19')](_0x12fe6c=>_0x389c39[_0x5802('0x19')](_0x3d6137=>_0x12fe6c[_0x5802('0x3')][_0x5802('0x88')](_0x3d6137[_0x5802('0xf')])));}_0x3f989e[_0x5802('0x39')][_0x5802('0x37')]['on'](_0x5802('0x60'),(_0x2185ac,_0xe5c2ee,_0x305b18)=>{if(!_0x305b18[_0x5802('0x6b')][_0x5802('0x79')])return;const _0x486495=_0xe5c2ee[_0x5802('0x1a')];if(!_0x486495)return;const _0x9d26ad=_0x305b18['mapper'][_0x5802('0x6f')](_0x486495);function _0x17ba3b(_0x470893){return Array[_0x5802('0x15')](_0x470893)?_0x470893:[_0x470893];}_0x9d26ad&&'tableCell'===_0x486495[_0x5802('0x17')]&&_0x15bcdf(_0x9d26ad,_0x305b18[_0x5802('0x3a')],(_0x57a80b,_0x346225,_0x5d0f9a)=>_0x5d0f9a[_0x5802('0x4f')](_0x17ba3b(_0x346225[_0x5802('0x66')]),_0x57a80b),(_0x13e9a5,_0x334330,_0xe74f5)=>_0xe74f5['removeClass'](_0x17ba3b(_0x334330['classes']),_0x13e9a5));},{'priority':_0x5802('0x1')}),_0x28bc5b['_descriptionFactory']['registerDescriptionCallback'](_0x1c1313=>{if(_0x5802('0x69')!=_0x1c1313[_0x5802('0x18')]&&_0x5802('0x4c')!=_0x1c1313['type'])return;const _0x917f25=_0x1c1313['getContainedElement']();if(null!=_0x917f25&&_0x917f25['is'](_0x5802('0x7b'),'table')){if(_0x5802('0x69')==_0x1c1313[_0x5802('0x18')]){const _0x3dba34=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x288e7=>_0x288e7['is'](_0x5802('0x5b')))[_0x5802('0x84')](_0x135b9d=>_0x135b9d[_0x5802('0x39')]);if(_0x3dba34[_0x5802('0x1b')])return{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3dba34['join']('\x20')+'\x22'))};}if(_0x5802('0x4c')==_0x1c1313[_0x5802('0x18')]){const _0x24ac24=_0x1c1313[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x291b6e=>_0x291b6e['is'](_0x5802('0x5b')))['map'](_0x383ac3=>_0x383ac3[_0x5802('0x39')]);if(_0x24ac24[_0x5802('0x1b')])return{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x36'),'\x22'+_0x24ac24[_0x5802('0x9')]('\x20')+'\x22'))};}}}),_0x28bc5b[_0x5802('0x58')][_0x5802('0xc')](_0x488cec=>{if(_0x5802('0x81')==_0x488cec['subType']){const _0xb84028=_0x488cec['getItems']()['filter'](_0x5dfd9b=>_0x5dfd9b['is'](_0x5802('0x5b')))['map'](_0x9cd5f1=>_0x9cd5f1['data']),_0x5011d3=this[_0x5802('0x8a')](_0x488cec),_0x1e1a94=_0x5011d3[_0x5802('0x4b')]-_0x5011d3[_0x5802('0x32')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0xb84028['length']?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x82'),_0x1e1a94))};if(_0x5802('0x4c')==_0x488cec['type'])return _0xb84028[_0x5802('0x1b')]?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x2a'),[_0x1e1a94,'\x22'+_0xb84028[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,'ELEMENT_TABLE_ROW',_0x1e1a94))};}if(_0x5802('0x78')==_0x488cec[_0x5802('0x59')]){const _0x459f0a=_0x488cec[_0x5802('0x3b')]()[_0x5802('0x5e')](_0x2f1000=>_0x2f1000['is']('$textProxy'))[_0x5802('0x84')](_0x2f44b6=>_0x2f44b6['data']),_0x3b9f99=this[_0x5802('0x8a')](_0x488cec),_0x458bff=_0x3b9f99[_0x5802('0x21')]-_0x3b9f99[_0x5802('0x24')]+0x1;if(_0x5802('0x69')==_0x488cec['type'])return _0x459f0a[_0x5802('0x1b')]?{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x69'),'content':_0x166972(_0xb798bd,_0x5802('0x1f'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};if(_0x5802('0x4c')==_0x488cec[_0x5802('0x18')])return _0x459f0a['length']?{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x8b'),[_0x458bff,'\x22'+_0x459f0a[_0x5802('0x9')]('\x20')+'\x22']))}:{'type':_0x5802('0x4c'),'content':_0x166972(_0xb798bd,_0x5802('0x6'),_0x166972(_0xb798bd,_0x5802('0x43'),_0x458bff))};}}),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x69'),_0x5802('0x81'),_0x5802('0x4a'),_0x44a2cf),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback'](_0x5802('0x4c'),_0x5802('0x81'),_0x5802('0xd'),_0x44a2cf),_0x28bc5b['_suggestionFactory']['registerCustomCallback']('insertion',_0x5802('0x78'),_0x5802('0x4a'),_0xe238b7),_0x28bc5b[_0x5802('0x33')]['registerCustomCallback']('deletion',_0x5802('0x78'),'accept',_0xe238b7),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('insertion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')]('deletion',_0x5802('0x78'),_0x5802('0x9'),_0x2de75d),_0x28bc5b['_suggestionFactory'][_0x5802('0x52')](_0x5802('0x69'),_0x5802('0x81'),'join',_0x10ae6a),_0x28bc5b[_0x5802('0x33')][_0x5802('0x52')](_0x5802('0x4c'),_0x5802('0x81'),'join',_0x10ae6a);}['_acceptFormatSuggestionCallbackFactory'](){const _0x38686e=this['editor'],_0x2ca0d5=_0x38686e[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x3d')];return(_0x274966,_0x98cd8e)=>{_0x38686e[_0x5802('0x48')][_0x5802('0x1c')](_0x5e2418=>{const {commandName:_0x3dabcc,commandParams:_0x604223}=_0x98cd8e;let _0xf1eaf9=_0x274966[0x0][_0x5802('0x3')][_0x5802('0x72')];_0x604223&&_0x604223[0x0]&&!0x1===_0x604223[0x0]['forceValue']&&(_0xf1eaf9=_0x274966[0x0][_0x5802('0xf')][_0x5802('0x5a')]);const _0x504cc3=_0x5e2418[_0x5802('0x12')](_0xf1eaf9);if(_0x5802('0x14')==_0x504cc3[_0x5802('0x7')]['rootName'])return;const _0xc564cd=Array[_0x5802('0x67')](_0x2ca0d5[_0x5802('0xa')]())['map'](_0x35ea35=>_0x5b5b06[_0x5802('0x4')](_0x35ea35));_0x5e2418[_0x5802('0x11')](_0x504cc3),_0x38686e[_0x5802('0x6a')][_0x5802('0x86')](_0x3dabcc)[_0x5802('0x3c')](),_0x604223[_0x5802('0x7d')]({'forceDefaultExecution':!0x0}),_0x38686e['execute'](_0x3dabcc,..._0x604223);const _0x482a72=_0xc564cd[_0x5802('0x5e')](_0x3987c3=>_0x5802('0x14')!=_0x3987c3[_0x5802('0x7')]['rootName']);_0x482a72[_0x5802('0x1b')]>0x0&&_0x5e2418[_0x5802('0x11')](_0x482a72);for(const _0x32f07f of _0xc564cd)_0x32f07f[_0x5802('0x45')]();});};}[_0x5802('0x4e')](_0x37b0f2){const _0x10f487=this[_0x5802('0x5d')][_0x5802('0x16')]['get'](_0x5802('0x2b'));let _0x3cde57=Number[_0x5802('0x73')],_0x58704a=Number['MIN_SAFE_INTEGER'],_0x1c880d=Number[_0x5802('0x73')],_0x14ad33=Number[_0x5802('0xb')];for(const _0x166dce of _0x37b0f2){if('$graveyard'==_0x166dce[_0x5802('0x7')][_0x5802('0x61')])continue;const {row:_0x4fcb8e,column:_0x3c9659}=_0x10f487[_0x5802('0x64')](_0x166dce),_0x517e00=_0x166dce[_0x5802('0x1e')]('rowspan')?_0x166dce[_0x5802('0x7e')](_0x5802('0x85'))-0x1:0x0,_0xd366b1=_0x166dce['hasAttribute'](_0x5802('0x38'))?_0x166dce[_0x5802('0x7e')](_0x5802('0x38'))-0x1:0x0;_0x3cde57=_0x4fcb8e<_0x3cde57?_0x4fcb8e:_0x3cde57,_0x58704a=_0x4fcb8e+_0x517e00>_0x58704a?_0x4fcb8e+_0x517e00:_0x58704a,_0x1c880d=_0x3c9659<_0x1c880d?_0x3c9659:_0x1c880d,_0x14ad33=_0x3c9659+_0xd366b1>_0x14ad33?_0x3c9659+_0xd366b1:_0x14ad33;}return{'minRow':_0x3cde57,'maxRow':_0x58704a,'minColumn':_0x1c880d,'maxColumn':_0x14ad33};}[_0x5802('0x68')](){const _0x133d80=this[_0x5802('0x5d')],_0x51a8ce=_0x133d80['plugins'][_0x5802('0x86')](_0x5802('0x71')),_0x2ee3cc=_0x133d80[_0x5802('0x16')][_0x5802('0x86')]('TableUtils');_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['on'](_0x5802('0x57'),()=>{const _0x50630a=Array['from'](_0x133d80['model']['document'][_0x5802('0x2e')][_0x5802('0x5f')]());for(const {name:_0x5a707b,data:_0x5b1498}of _0x50630a){const {group:_0x19296d,id:_0x3693ee,subType:_0x23c4c7}=_0x51a8ce[_0x5802('0x62')](_0x5a707b);if(_0x5802('0x89')!=_0x19296d)continue;if(null!=_0x5b1498['oldRange'])continue;const _0x56fafe=_0x51a8ce[_0x5802('0x87')](_0x3693ee);this['_tablePostFixingSubtypes'][_0x5802('0x34')](_0x23c4c7)&&this['_tableSuggestions'][_0x5802('0x56')](_0x56fafe);}},{'priority':'low'});const _0x570db2=(_0x61a977,_0x1e3cf4)=>{let _0x2150d9=!0x1;const _0x30d3b6=_0x1e3cf4[_0x5802('0x25')](_0x61a977),_0x4dfdcc=_0x61a977['findAncestor']('table'),_0x29a28f=_0x2ee3cc[_0x5802('0x64')](_0x61a977);for(const _0x32b595 of this[_0x5802('0x23')]){const _0x1abdab=_0x32b595[_0x5802('0x59')],_0x102627=_0x1abdab[_0x5802('0x76')](_0x5802('0x6e')),_0x574479=_0x1abdab[_0x5802('0x46')](_0x102627?0xa:0x5),_0x201bd1=_0x574479['toLowerCase'](),_0x8a0b54=_0x201bd1[_0x5802('0x46')](0x0,0x3)+_0x5802('0x7c'),_0x6b1c10=_0x5802('0x7a')+_0x574479,_0x310a76=_0x5802('0x31')+_0x574479;if(!_0x32b595[_0x5802('0x53')])continue;if(_0x4dfdcc!=_0x32b595[_0x5802('0x3e')]()[_0x5802('0xf')][_0x5802('0x83')](_0x5802('0x47')))continue;if(_0x32b595[_0x5802('0x6d')](_0x30d3b6))continue;const _0x6c21e2=_0x61a977['hasAttribute'](_0x8a0b54)?_0x61a977[_0x5802('0x7e')](_0x8a0b54)-0x1:0x0,_0x547cb6=this[_0x5802('0x8a')](_0x32b595),_0x5cbc94=_0x547cb6[_0x6b1c10],_0x17ddc2=_0x547cb6[_0x310a76];_0x5cbc94<=_0x29a28f[_0x201bd1]&&_0x29a28f[_0x201bd1]+_0x6c21e2<=_0x17ddc2&&(_0x32b595[_0x5802('0x20')](_0x30d3b6),_0x2150d9=!0x0);}return _0x2150d9;};_0x133d80[_0x5802('0x48')][_0x5802('0x65')]['registerPostFixer'](_0x5182d3=>{let _0x1bab08=!0x1;for(const _0x5235a9 of _0x133d80[_0x5802('0x48')][_0x5802('0x65')][_0x5802('0x2e')][_0x5802('0x3f')]())if(_0x5802('0x27')==_0x5235a9[_0x5802('0x18')]){if(_0x5802('0x81')==_0x5235a9['name'])for(const _0x5d88cc of _0x5235a9[_0x5802('0x63')][_0x5802('0x5a')][_0x5802('0x26')]())_0x1bab08=_0x1bab08||_0x570db2(_0x5d88cc,_0x5182d3);else _0x5802('0x1d')==_0x5235a9[_0x5802('0x17')]&&(_0x1bab08=_0x1bab08||_0x570db2(_0x5235a9[_0x5802('0x63')][_0x5802('0x5a')],_0x5182d3));}return _0x1bab08;});}['_getSuggestionCoords'](_0x56d589){return this[_0x5802('0x4e')](_0x56d589[_0x5802('0xa')]()[_0x5802('0x84')](_0x36e057=>_0x36e057['start'][_0x5802('0x5a')]));}}function se(_0x57fa49){return Array[_0x5802('0x67')](new Set(_0x57fa49)[_0x5802('0x8')]());}
|
|
23
|
+
const _0xe971=['editor','TableUtils','execute','length','$graveyard','change','substr','low','hasAttribute','ELEMENT_TABLE','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','subType','filter','insert','last','colspan','join','$textProxy','selectTableColumn','order','createRangeIn','MAX_SAFE_INTEGER','createTableWalker','max','mapper','type','_descriptionFactory','createPositionAt','getChildren','enableCommand','getRowIndexes','highest','values','deletion','data','_setupColumnsRowsFixing','markMultiRangeDeletion','item','_suggestionFactory','addMarker:suggestion','tableCell','toLowerCase','start','table','removeClass','getAttribute','span','some','getChanges','name','setSelection','rootName','minRow','from','commands','removeTableColumn','ELEMENT_TABLE_COLUMN','getItems','isTouching','nodeBefore','registerElementLabel','accept','position','isArray','getCellLocation','selection','insertion','*Remove:*\x20%0','end','above','writer','*Insert:*\x20%0','ELEMENT_TABLE_ROW','insertTable','rowspan','element','cell','includes','model','_getSuggestionCoords','insertTableColumnLeft','left','tableRow','map','has','TrackChangesEditing','_tableSuggestions','removeTableRow','getSelectionAffectedTableCells','minColumn','push','insertTableRowAbove','ELEMENT_TABLE_WITH_TEXT','getSuggestion','_getCoordsForCells','startsWith','TableEditing','markMultiRangeInsertion','tableColumn','classes','MIN_SAFE_INTEGER','selectTableRow','refresh','detach','getColumnIndexes','createRangeOn','maxColumn','registerDescriptionCallback','change:data','_acceptFormatSuggestionCallbackFactory','nodeAfter','ELEMENT_TABLE_ROW_WITH_TEXT','toViewElement','document','get','addClass','plugins','root','insertTableColumnRight','findAncestor','insertTableRowBelow','discard','min','_tablePostFixingSubtypes','add','fromRange','enqueueChange','addRange','first','forceValue','locale','differ','getRanges','registerPostFixer'];(function(_0x5e75eb,_0xe971f8){const _0x1b2215=function(_0x5da85a){while(--_0x5da85a){_0x5e75eb['push'](_0x5e75eb['shift']());}};_0x1b2215(++_0xe971f8);}(_0xe971,0x1f1));const _0x1b22=function(_0x5e75eb,_0xe971f8){_0x5e75eb=_0x5e75eb-0x0;let _0x1b2215=_0xe971[_0x5e75eb];return _0x1b2215;};import{Plugin as _0x572f2b}from'ckeditor5/src/core';import{LiveRange as _0x1b5a1d}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5f0c9a}from'ckeditor5/src/widget';import{getTranslation as _0x264b1b}from'../utils/common-translations';export default class mt extends _0x572f2b{constructor(_0xaf1fad){super(_0xaf1fad),this[_0x1b22('0x20')]=['tableRow','tableColumn'],this[_0x1b22('0x82')]=new Set();}['afterInit'](){const _0x5ae62b=this[_0x1b22('0x2b')],_0xda11af=_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];if(!_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x80')](_0x1b22('0x5')))return;const _0x3bf6f4=_0x5ae62b[_0x1b22('0x27')],_0x2f7a7e=_0x5ae62b['plugins'][_0x1b22('0x17')](_0x1b22('0x81')),_0x3240dc=_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x68')](_0x1b22('0x57'),_0x3cb4df=>_0x264b1b(_0x3bf6f4,_0x1b22('0x34'),_0x3cb4df)),this[_0x1b22('0x4f')](),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x75')),_0x2f7a7e['enableCommand'](_0x1b22('0xa')),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x3e'));for(const _0x39d659 of[_0x1b22('0x0'),_0x1b22('0x1d')]){const _0x4e7878=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x39d659);_0x2f7a7e[_0x1b22('0x49')](_0x39d659,_0x29375c=>{_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x1273ff=>{_0x29375c();const _0x30a2c1=_0x1b22('0x71')===_0x4e7878[_0x1b22('0x3f')],_0xcc914f=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x35f1b7=_0x3240dc[_0x1b22('0x4a')](_0xcc914f),_0x328e97=_0x30a2c1?_0x35f1b7[_0x1b22('0x25')]-0x1:_0x35f1b7['last']+0x1,_0x52d89e=_0xcc914f[0x0][_0x1b22('0x1c')](_0x1b22('0x57')),_0x5f4a71=_0x3240dc[_0x1b22('0x42')](_0x52d89e,{'startRow':_0x328e97,'endRow':_0x328e97}),_0x2ac60f=Array[_0x1b22('0x61')](_0x5f4a71)['map'](_0x25b9c0=>_0x1273ff['createRangeOn'](_0x25b9c0['cell']));_0x2f7a7e[_0x1b22('0x6')](_0x2ac60f,_0x1b22('0x7e'));});});}for(const _0x295135 of[_0x1b22('0x7c'),_0x1b22('0x1b')]){const _0x610b08=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x295135);_0x2f7a7e[_0x1b22('0x49')](_0x295135,_0x3409c5=>{_0x5ae62b['model']['change'](_0x8a0d57=>{_0x3409c5();const _0x21210b=_0x1b22('0x7d')===_0x610b08['order'],_0xa5e147=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x4e9998=_0x3240dc['getColumnIndexes'](_0xa5e147),_0x47d4a3=_0x21210b?_0x4e9998[_0x1b22('0x25')]-0x1:_0x4e9998[_0x1b22('0x3a')]+0x1,_0x4099d7=_0xa5e147[0x0]['findAncestor'](_0x1b22('0x57')),_0x33955=_0x3240dc[_0x1b22('0x42')](_0x4099d7,{'startRow':0x0,'column':_0x47d4a3,'includeAllSlots':!0x1}),_0x3286ef=Array[_0x1b22('0x61')](_0x33955)[_0x1b22('0x7f')](_0x5e1b94=>_0x8a0d57[_0x1b22('0xe')](_0x5e1b94[_0x1b22('0x78')]));_0x2f7a7e['markMultiRangeInsertion'](_0x3286ef,_0x1b22('0x7'));});});}for(const _0x39a2ae of[_0x1b22('0x83'),_0x1b22('0x63')]){const _0x1d3a33=_0x39a2ae[_0x1b22('0x31')](0xb),_0x3b8cda=_0x1d3a33[_0x1b22('0x55')](),_0x28cae4=_0x3b8cda[_0x1b22('0x31')](0x0,0x3)+'span',_0x3cbc1c=_0x1b22('0x57')+_0x1d3a33,_0x48512e=_0x1b22('0x1f')+_0x1d3a33,_0x4b5af8='max'+_0x1d3a33;_0x2f7a7e[_0x1b22('0x49')](_0x39a2ae,()=>{_0x5ae62b['model'][_0x1b22('0x30')](_0x35735b=>{const _0x519a69=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x2e06ae=_0x519a69[0x0][_0x1b22('0x1c')]('table');let _0x37bfb9;if(_0x1b22('0x83')==_0x39a2ae){const _0x4e6d3c=_0x3240dc[_0x1b22('0x4a')](_0x519a69);_0x37bfb9={'startRow':_0x4e6d3c[_0x1b22('0x25')],'endRow':_0x4e6d3c[_0x1b22('0x3a')],'includeAllSlots':!0x0};}else{const _0x465dce=_0x3240dc[_0x1b22('0xd')](_0x519a69);_0x37bfb9={'startColumn':_0x465dce['first'],'endColumn':_0x465dce['last'],'includeAllSlots':!0x0};}const _0xdd8c54=_0x3240dc[_0x1b22('0x42')](_0x2e06ae,_0x37bfb9),_0x75b1e5=Array['from'](_0xdd8c54)[_0x1b22('0x7f')](({cell:_0xa9f8a4})=>_0xa9f8a4),_0x564061=se(_0x75b1e5['filter'](_0x15dd4b=>_0x15dd4b[_0x1b22('0x33')](_0x28cae4))),_0x14ef0a=se(_0x75b1e5[_0x1b22('0x38')](_0x4c37ce=>!_0x4c37ce[_0x1b22('0x33')](_0x28cae4)))[_0x1b22('0x7f')](_0x4325a8=>_0x35735b[_0x1b22('0xe')](_0x4325a8)),_0x394453=_0x2f7a7e[_0x1b22('0x50')](_0x14ef0a,_0x3cbc1c);if(_0x394453&&('tableRow'==_0x394453[_0x1b22('0x37')]||_0x1b22('0x7')==_0x394453[_0x1b22('0x37')])){const _0x6d69d5=this[_0x1b22('0x7b')](_0x394453);for(const _0x1e2cca of _0x564061){const _0x3afa1a=_0x35735b[_0x1b22('0xe')](_0x1e2cca),_0x315609=_0x3240dc[_0x1b22('0x6c')](_0x1e2cca),_0x572e16=_0x1e2cca[_0x1b22('0x59')](_0x28cae4)-0x1,_0xdf0093=_0x6d69d5[_0x48512e],_0x352f1b=_0x6d69d5[_0x4b5af8];_0xdf0093<=_0x315609[_0x3b8cda]&&_0x315609[_0x3b8cda]+_0x572e16<=_0x352f1b&&_0x394453[_0x1b22('0x24')](_0x3afa1a);}}});});}function _0x361445(_0xe39771){const _0x4e5c23=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x4f08ff=>_0x1b5a1d[_0x1b22('0x22')](_0x4f08ff));_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x55c084=>{const _0x3c2d9d=_0x55c084['batch'];_0xe39771=_0xe39771['filter'](_0x305b6c=>_0x1b22('0x2f')!=_0x305b6c[_0x1b22('0x1a')][_0x1b22('0x5f')]),_0x55c084['setSelection'](_0xe39771),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x83'))['refresh'](),_0x5ae62b[_0x1b22('0x2d')](_0x1b22('0x83'),{'forceDefaultExecution':!0x0}),_0x5ae62b[_0x1b22('0x7a')]['enqueueChange'](()=>{_0x5ae62b['model'][_0x1b22('0x23')](_0x3c2d9d,_0xd5a9ca=>{const _0x575310=_0x4e5c23[_0x1b22('0x38')](_0x5a545a=>_0x1b22('0x2f')!=_0x5a545a['root'][_0x1b22('0x5f')]);_0x575310[_0x1b22('0x2e')]>0x0&&_0xd5a9ca[_0x1b22('0x5e')](_0x575310);for(const _0x58cf8c of _0x4e5c23)_0x58cf8c[_0x1b22('0xc')]();});});});}function _0x5a6601(_0x1081db){_0x5ae62b['model'][_0x1b22('0x30')](_0x2fc535=>{const _0x1c1e84=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x16abbd=>_0x1b5a1d[_0x1b22('0x22')](_0x16abbd)),_0x2ade74=[];for(const _0x4d9ac5 of _0x1081db)for(const _0x5447de of _0x4d9ac5[_0x1b22('0x65')]({'shallow':!0x0}))_0x2ade74[_0x1b22('0x86')](_0x5447de);for(const _0x162536 of _0x2ade74)_0x1b22('0x2f')!=_0x162536[_0x1b22('0x1a')]['rootName']&&(_0x2fc535[_0x1b22('0x5e')](_0x2fc535[_0x1b22('0x47')](_0x162536,0x0)),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x63'))[_0x1b22('0xb')](),_0x5ae62b['execute'](_0x1b22('0x63'),{'forceDefaultExecution':!0x0}));const _0x5e73d1=_0x1c1e84[_0x1b22('0x38')](_0x3d8146=>'$graveyard'!=_0x3d8146[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x5e73d1[_0x1b22('0x2e')]>0x0&&_0x2fc535[_0x1b22('0x5e')](_0x5e73d1);for(const _0x407188 of _0x1c1e84)_0x407188[_0x1b22('0xc')]();});}function _0x1ebfc9(_0x4c8a9c,_0x4ff863){return _0x4ff863['every'](_0x292e0c=>_0x4c8a9c[_0x1b22('0x5b')](_0x11dced=>_0x11dced[_0x1b22('0x70')]['isEqual'](_0x292e0c['start'])||_0x292e0c[_0x1b22('0x70')]['isEqual'](_0x11dced[_0x1b22('0x56')])));}function _0x3291db(_0x443b3a,_0x291055){return _0x443b3a[_0x1b22('0x5b')](_0x24b9d0=>_0x291055['some'](_0x4ba185=>_0x24b9d0[_0x1b22('0x70')][_0x1b22('0x66')](_0x4ba185[_0x1b22('0x56')])));}_0x5ae62b[_0x1b22('0x4e')]['downcastDispatcher']['on'](_0x1b22('0x53'),(_0xa6b040,_0x226870,_0x10458b)=>{if(!_0x10458b['options']['showSuggestionHighlights'])return;const _0x235f33=_0x226870[_0x1b22('0x51')];if(!_0x235f33)return;const _0x138a18=_0x10458b[_0x1b22('0x44')][_0x1b22('0x15')](_0x235f33);function _0x35fe88(_0x31b8e2){return Array[_0x1b22('0x6b')](_0x31b8e2)?_0x31b8e2:[_0x31b8e2];}_0x138a18&&_0x1b22('0x54')===_0x235f33[_0x1b22('0x5d')]&&_0x5f0c9a(_0x138a18,_0x10458b[_0x1b22('0x72')],(_0x2a5c24,_0x3832c2,_0x41b3fd)=>_0x41b3fd[_0x1b22('0x18')](_0x35fe88(_0x3832c2[_0x1b22('0x8')]),_0x2a5c24),(_0x3ff4f0,_0x5ba9c3,_0xb7d662)=>_0xb7d662[_0x1b22('0x58')](_0x35fe88(_0x5ba9c3[_0x1b22('0x8')]),_0x3ff4f0));},{'priority':_0x1b22('0x4b')}),_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x10')](_0xb2103e=>{if(_0x1b22('0x6e')!=_0xb2103e['type']&&'deletion'!=_0xb2103e['type'])return;const _0x5835c5=_0xb2103e['getContainedElement']();if(null!=_0x5835c5&&_0x5835c5['is'](_0x1b22('0x77'),_0x1b22('0x57'))){if(_0x1b22('0x6e')==_0xb2103e['type']){const _0x40b109=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x26bc51=>_0x26bc51['is']('$textProxy'))[_0x1b22('0x7f')](_0x29e893=>_0x29e893[_0x1b22('0x4e')]);if(_0x40b109['length'])return{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x40b109['join']('\x20')+'\x22'))};}if(_0x1b22('0x4d')==_0xb2103e[_0x1b22('0x45')]){const _0x364aac=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x14f5da=>_0x14f5da['is']('$textProxy'))[_0x1b22('0x7f')](_0x4924d2=>_0x4924d2['data']);if(_0x364aac[_0x1b22('0x2e')])return{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x364aac[_0x1b22('0x3c')]('\x20')+'\x22'))};}}}),_0x2f7a7e['_descriptionFactory']['registerDescriptionCallback'](_0x2228b3=>{if(_0x1b22('0x7e')==_0x2228b3[_0x1b22('0x37')]){const _0x4129b8=_0x2228b3[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x8b30e5=>_0x8b30e5['is'](_0x1b22('0x3d')))[_0x1b22('0x7f')](_0x16dcba=>_0x16dcba[_0x1b22('0x4e')]),_0x2c9512=this[_0x1b22('0x7b')](_0x2228b3),_0x4efd39=_0x2c9512['maxRow']-_0x2c9512[_0x1b22('0x60')]+0x1;if(_0x1b22('0x6e')==_0x2228b3['type'])return _0x4129b8[_0x1b22('0x2e')]?{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x14'),[_0x4efd39,'\x22'+_0x4129b8[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x74'),_0x4efd39))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x4129b8[_0x1b22('0x2e')]?{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4efd39,'\x22'+_0x4129b8['join']('\x20')+'\x22']))}:{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW',_0x4efd39))};}if(_0x1b22('0x7')==_0x2228b3[_0x1b22('0x37')]){const _0x71c561=_0x2228b3[_0x1b22('0x65')]()['filter'](_0x388db5=>_0x388db5['is']('$textProxy'))['map'](_0x4c1f81=>_0x4c1f81['data']),_0x3ab161=this[_0x1b22('0x7b')](_0x2228b3),_0x87c4eb=_0x3ab161[_0x1b22('0xf')]-_0x3ab161[_0x1b22('0x85')]+0x1;if(_0x1b22('0x6e')==_0x2228b3[_0x1b22('0x45')])return _0x71c561[_0x1b22('0x2e')]?{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x71c561['length']?{'type':'deletion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x264b1b(_0x3bf6f4,'*Remove:*\x20%0',_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};}}),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')]('insertion',_0x1b22('0x7e'),_0x1b22('0x1e'),_0x361445),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback'](_0x1b22('0x4d'),_0x1b22('0x7e'),_0x1b22('0x69'),_0x361445),_0x2f7a7e['_suggestionFactory'][_0x1b22('0x35')]('insertion',_0x1b22('0x7'),_0x1b22('0x1e'),_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),'accept',_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),'tableColumn','join',_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),_0x1b22('0x3c'),_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),_0x1b22('0x7e'),'join',_0x3291db),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback']('deletion',_0x1b22('0x7e'),_0x1b22('0x3c'),_0x3291db);}[_0x1b22('0x12')](){const _0x297569=this['editor'],_0x815bbe=_0x297569[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];return(_0x3e515b,_0x279f31)=>{_0x297569[_0x1b22('0x7a')][_0x1b22('0x30')](_0x5299a0=>{const {commandName:_0x352eb4,commandParams:_0x2db876}=_0x279f31;let _0x45b52f=_0x3e515b[0x0][_0x1b22('0x70')][_0x1b22('0x67')];_0x2db876&&_0x2db876[0x0]&&!0x1===_0x2db876[0x0][_0x1b22('0x26')]&&(_0x45b52f=_0x3e515b[0x0][_0x1b22('0x56')]['nodeAfter']);const _0x5b8a93=_0x5299a0[_0x1b22('0x40')](_0x45b52f);if(_0x1b22('0x2f')==_0x5b8a93[_0x1b22('0x1a')][_0x1b22('0x5f')])return;const _0x495ebd=Array[_0x1b22('0x61')](_0x815bbe[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x438686=>_0x1b5a1d[_0x1b22('0x22')](_0x438686));_0x5299a0[_0x1b22('0x5e')](_0x5b8a93),_0x297569[_0x1b22('0x62')][_0x1b22('0x17')](_0x352eb4)['refresh'](),_0x2db876[_0x1b22('0x86')]({'forceDefaultExecution':!0x0}),_0x297569[_0x1b22('0x2d')](_0x352eb4,..._0x2db876);const _0x4ff481=_0x495ebd[_0x1b22('0x38')](_0x5ea9db=>_0x1b22('0x2f')!=_0x5ea9db[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x4ff481[_0x1b22('0x2e')]>0x0&&_0x5299a0['setSelection'](_0x4ff481);for(const _0x425dd4 of _0x495ebd)_0x425dd4[_0x1b22('0xc')]();});};}[_0x1b22('0x3')](_0x5bde98){const _0x5599a6=this['editor'][_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));let _0x24634e=Number['MAX_SAFE_INTEGER'],_0x2b0433=Number[_0x1b22('0x9')],_0x2ebbbd=Number[_0x1b22('0x41')],_0x5ed3c0=Number[_0x1b22('0x9')];for(const _0x12435c of _0x5bde98){if(_0x1b22('0x2f')==_0x12435c['root'][_0x1b22('0x5f')])continue;const {row:_0x219078,column:_0x5b0320}=_0x5599a6[_0x1b22('0x6c')](_0x12435c),_0x49b8f9=_0x12435c[_0x1b22('0x33')](_0x1b22('0x76'))?_0x12435c[_0x1b22('0x59')](_0x1b22('0x76'))-0x1:0x0,_0x435283=_0x12435c['hasAttribute']('colspan')?_0x12435c[_0x1b22('0x59')](_0x1b22('0x3b'))-0x1:0x0;_0x24634e=_0x219078<_0x24634e?_0x219078:_0x24634e,_0x2b0433=_0x219078+_0x49b8f9>_0x2b0433?_0x219078+_0x49b8f9:_0x2b0433,_0x2ebbbd=_0x5b0320<_0x2ebbbd?_0x5b0320:_0x2ebbbd,_0x5ed3c0=_0x5b0320+_0x435283>_0x5ed3c0?_0x5b0320+_0x435283:_0x5ed3c0;}return{'minRow':_0x24634e,'maxRow':_0x2b0433,'minColumn':_0x2ebbbd,'maxColumn':_0x5ed3c0};}['_setupColumnsRowsFixing'](){const _0xac524=this[_0x1b22('0x2b')],_0x2e6d58=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x81')),_0xdb55b0=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['on'](_0x1b22('0x11'),()=>{const _0x3171d7=Array[_0x1b22('0x61')](_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x28')]['getChangedMarkers']());for(const {name:_0x3a8ffc,data:_0xd3ac5f}of _0x3171d7){const {group:_0x3b0915,id:_0x194cb9,subType:_0x56dd42}=_0x2e6d58['_splitMarkerName'](_0x3a8ffc);if('suggestion'!=_0x3b0915)continue;if(null!=_0xd3ac5f['oldRange'])continue;const _0x370502=_0x2e6d58[_0x1b22('0x2')](_0x194cb9);this[_0x1b22('0x20')][_0x1b22('0x79')](_0x56dd42)&&this['_tableSuggestions'][_0x1b22('0x21')](_0x370502);}},{'priority':_0x1b22('0x32')});const _0x4dd528=(_0x5ad350,_0x59a989)=>{let _0x2353ce=!0x1;const _0x1e704c=_0x59a989[_0x1b22('0xe')](_0x5ad350),_0x2e3dae=_0x5ad350['findAncestor']('table'),_0xdad0f0=_0xdb55b0[_0x1b22('0x6c')](_0x5ad350);for(const _0x32bb42 of this['_tableSuggestions']){const _0x483eee=_0x32bb42['subType'],_0x25801c=_0x483eee[_0x1b22('0x4')]('tablePaste'),_0x1c5bb0=_0x483eee['substr'](_0x25801c?0xa:0x5),_0x158e6f=_0x1c5bb0[_0x1b22('0x55')](),_0x4a8671=_0x158e6f['substr'](0x0,0x3)+_0x1b22('0x5a'),_0x5f4d0c=_0x1b22('0x1f')+_0x1c5bb0,_0x4c4f87=_0x1b22('0x43')+_0x1c5bb0;if(!_0x32bb42['isInContent'])continue;if(_0x2e3dae!=_0x32bb42['getFirstRange']()[_0x1b22('0x56')][_0x1b22('0x1c')]('table'))continue;if(_0x32bb42['isIntersectingWithRange'](_0x1e704c))continue;const _0x1902da=_0x5ad350[_0x1b22('0x33')](_0x4a8671)?_0x5ad350[_0x1b22('0x59')](_0x4a8671)-0x1:0x0,_0x2bc686=this['_getSuggestionCoords'](_0x32bb42),_0x5def2c=_0x2bc686[_0x5f4d0c],_0x3e0eb4=_0x2bc686[_0x4c4f87];_0x5def2c<=_0xdad0f0[_0x158e6f]&&_0xdad0f0[_0x158e6f]+_0x1902da<=_0x3e0eb4&&(_0x32bb42[_0x1b22('0x24')](_0x1e704c),_0x2353ce=!0x0);}return _0x2353ce;};_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x2a')](_0x25a2b9=>{let _0x2838ef=!0x1;for(const _0x552e91 of _0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['differ'][_0x1b22('0x5c')]())if(_0x1b22('0x39')==_0x552e91[_0x1b22('0x45')]){if('tableRow'==_0x552e91['name'])for(const _0x139c09 of _0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')][_0x1b22('0x48')]())_0x2838ef=_0x2838ef||_0x4dd528(_0x139c09,_0x25a2b9);else _0x1b22('0x54')==_0x552e91['name']&&(_0x2838ef=_0x2838ef||_0x4dd528(_0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')],_0x25a2b9));}return _0x2838ef;});}[_0x1b22('0x7b')](_0x2da495){return this[_0x1b22('0x3')](_0x2da495[_0x1b22('0x29')]()['map'](_0x3585dd=>_0x3585dd['start']['nodeAfter']));}}function se(_0xa8498d){return Array['from'](new Set(_0xa8498d)[_0x1b22('0x4c')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27be=['toggleTableCaption','plugins','TrackChangesEditing','afterInit','editor','get','enableCommand'];(function(_0xf1139,_0x27beb7){const _0x5b06fe=function(_0x44792c){while(--_0x44792c){_0xf1139['push'](_0xf1139['shift']());}};_0x5b06fe(++_0x27beb7);}(_0x27be,0x67));const _0x5b06=function(_0xf1139,_0x27beb7){_0xf1139=_0xf1139-0x0;let _0x5b06fe=_0x27be[_0xf1139];return _0x5b06fe;};import{Plugin as _0xda842f}from'ckeditor5/src/core';import _0x51e5ab from'./table';export default class vt extends _0xda842f{static get['requires'](){return[_0x51e5ab];}[_0x5b06('0x5')](){const _0x4a4423=this[_0x5b06('0x6')];if(!_0x4a4423[_0x5b06('0x3')]['has']('TableCaptionEditing'))return;_0x4a4423[_0x5b06('0x3')][_0x5b06('0x0')](_0x5b06('0x4'))[_0x5b06('0x1')](_0x5b06('0x2'));}}
|