@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230913.0 → 0.0.0-nightly-20230914.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53a3=['getFirstPosition','getSiblingNodes','length','bind','type','editor','createRange','push','plugins','*Format:*\x20set\x20order\x20to\x20regular','listStart','createPositionAt','has','parent','ELEMENT_','reversed','filter','document','ListPropertiesEditing','getListTypeFromListStyleType','list.properties','map','get','handleListStyleCommand','commandParams','listType','toUpperCase','getAttribute','model','enableCommand','getSelectedBlocks','format','TrackChangesEditing','from','config','handleDescriptions','registerDescriptionCallback','listReversed','handleListReversedCommand','listStyle','_getTranslationKeyForListStyle','_getSuggestionBlocks','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','change','ListUtils','locale','listItem','startIndex','selection','styles','afterInit','getLastPosition','numbered','handleListStartCommand','forward','backward','element'];(function(_0x1afb80,_0x53a37c){const _0x445684=function(_0xd20892){while(--_0xd20892){_0x1afb80['push'](_0x1afb80['shift']());}};_0x445684(++_0x53a37c);}(_0x53a3,0xd5));const _0x4456=function(_0x1afb80,_0x53a37c){_0x1afb80=_0x1afb80-0x0;let _0x445684=_0x53a3[_0x1afb80];return _0x445684;};import{Plugin as _0x1bea15}from'ckeditor5/src/core';import{getTranslation as _0x3629b6}from'../utils/common-translations';export default class st extends _0x1bea15{[_0x4456('0xc')](){if(!this[_0x4456('0x18')]['plugins'][_0x4456('0x1f')](_0x4456('0x25')))return;const _0x21c225=this[_0x4456('0x18')][_0x4456('0x35')]['get'](_0x4456('0x27')),_0x11ea8b=this[_0x4456('0x18')][_0x4456('0x1b')][_0x4456('0x29')](_0x4456('0x33'));_0x21c225[_0x4456('0xb')]&&_0x11ea8b[_0x4456('0x30')](_0x4456('0x0'),this[_0x4456('0x2a')][_0x4456('0x16')](this)),_0x21c225[_0x4456('0x22')]&&_0x11ea8b[_0x4456('0x30')](_0x4456('0x38'),this[_0x4456('0x39')][_0x4456('0x16')](this)),_0x21c225['startIndex']&&_0x11ea8b['enableCommand'](_0x4456('0x1d'),this['handleListStartCommand'][_0x4456('0x16')](this)),_0x11ea8b['_descriptionFactory'][_0x4456('0x37')](this[_0x4456('0x36')][_0x4456('0x16')](this));}[_0x4456('0x2a')](_0x139498,_0x836066={}){const _0x4aa658=this['editor']['plugins'][_0x4456('0x29')](_0x4456('0x33')),_0x4abe64=this[_0x4456('0x4')]();this[_0x4456('0x18')][_0x4456('0x2f')]['change'](()=>{_0x4aa658[_0x4456('0x3')](_0x4abe64,{'commandName':'listStyle','commandParams':[{'type':_0x836066[_0x4456('0x17')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x490cc9,_0x340d4c={}){const _0x1a5169=this[_0x4456('0x18')][_0x4456('0x1b')][_0x4456('0x29')]('TrackChangesEditing'),_0x4177b4=this[_0x4456('0x2')](_0x59003d=>_0x59003d['is'](_0x4456('0x12'),_0x4456('0x8'))&&_0x4456('0xe')===_0x59003d[_0x4456('0x2e')]('listType'));if(_0x4177b4['length']<0x1)return;const _0x275356=_0x4177b4[_0x4456('0x28')](_0xd356e5=>this['editor']['model'][_0x4456('0x19')](this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x1e')](_0xd356e5,'before'),this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x1e')](_0xd356e5,0x0)));this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x5')](()=>{_0x1a5169[_0x4456('0x3')](_0x275356,{'commandName':_0x4456('0x38'),'commandParams':[{'reversed':_0x340d4c[_0x4456('0x22')]}],'formatGroupId':'listReversed'});});}[_0x4456('0xf')](_0x1fdab1,_0x2c20f8={}){const _0x21fdb7=this[_0x4456('0x18')][_0x4456('0x1b')][_0x4456('0x29')](_0x4456('0x33')),_0x4b9aea=this[_0x4456('0x2')](_0x1d7c89=>_0x1d7c89['is'](_0x4456('0x12'),_0x4456('0x8'))&&_0x4456('0xe')===_0x1d7c89['getAttribute'](_0x4456('0x2c')));if(_0x4b9aea[_0x4456('0x15')]<0x1)return;const _0x322dc6=_0x4b9aea[_0x4456('0x28')](_0x34c328=>this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x19')](this[_0x4456('0x18')]['model'][_0x4456('0x1e')](_0x34c328,'before'),this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x1e')](_0x34c328,0x0)));this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x5')](()=>{_0x21fdb7[_0x4456('0x3')](_0x322dc6,{'commandName':_0x4456('0x1d'),'commandParams':[{'startIndex':_0x2c20f8[_0x4456('0x9')]}],'formatGroupId':_0x4456('0x1d')});});}['handleDescriptions'](_0x268756){const _0xf6a1dc=this['editor'][_0x4456('0x7')],{data:_0x442ee2}=_0x268756;if(!_0x442ee2)return;let _0x326275,_0x50cec0;switch(_0x442ee2['commandName']){case _0x4456('0x0'):_0x326275='*Change\x20to:*\x20%0',_0x50cec0={'type':_0x4456('0x32'),'content':_0x3629b6(_0xf6a1dc,_0x326275,_0x3629b6(_0xf6a1dc,this['_getTranslationKeyForListStyle'](_0x442ee2['commandParams'][0x0][_0x4456('0x17')])))};break;case _0x4456('0x38'):_0x326275=_0x442ee2[_0x4456('0x2b')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4456('0x1c'),_0x50cec0={'type':'format','content':_0x3629b6(_0xf6a1dc,_0x326275)};break;case _0x4456('0x1d'):_0x326275='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x50cec0={'type':'format','content':_0x3629b6(_0xf6a1dc,_0x326275,_0x442ee2[_0x4456('0x2b')][0x0][_0x4456('0x9')])};}return _0x50cec0;}[_0x4456('0x4')](){var _0x4c54ae,_0x5a8e20,_0xce1715,_0x2e444b;const _0x23ac93=this[_0x4456('0x18')][_0x4456('0x1b')][_0x4456('0x29')](_0x4456('0x6'));let _0x36b11e=Array[_0x4456('0x34')](this[_0x4456('0x18')][_0x4456('0x2f')][_0x4456('0x24')][_0x4456('0xa')][_0x4456('0x31')]());return(null===(_0x4c54ae=_0x36b11e[0x0])||void 0x0===_0x4c54ae?void 0x0:_0x4c54ae['is'](_0x4456('0x12'),'listItem'))&&_0x36b11e['unshift'](..._0x23ac93[_0x4456('0x14')](this[_0x4456('0x18')]['model'][_0x4456('0x24')][_0x4456('0xa')][_0x4456('0x13')](),_0x4456('0x11'))),(null===(_0x5a8e20=_0x36b11e[_0x36b11e[_0x4456('0x15')]-0x1])||void 0x0===_0x5a8e20?void 0x0:_0x5a8e20['is'](_0x4456('0x12'),_0x4456('0x8')))&&_0x36b11e[_0x4456('0x1a')](..._0x23ac93[_0x4456('0x14')](this[_0x4456('0x18')]['model'][_0x4456('0x24')][_0x4456('0xa')][_0x4456('0xd')](),'forward')),_0x36b11e=[...new Set(_0x36b11e)],(null===(_0x2e444b=null===(_0xce1715=this[_0x4456('0x18')]['model'][_0x4456('0x24')][_0x4456('0xa')][_0x4456('0x13')]())||void 0x0===_0xce1715?void 0x0:_0xce1715[_0x4456('0x20')])||void 0x0===_0x2e444b?void 0x0:_0x2e444b['is'](_0x4456('0x12'),_0x4456('0x8')))&&(_0x36b11e=_0x36b11e['filter'](_0x186278=>_0x186278['is'](_0x4456('0x12'),_0x4456('0x8')))),_0x36b11e;}[_0x4456('0x2')](_0x43284b){const _0x3c876e=this[_0x4456('0x18')]['plugins'][_0x4456('0x29')](_0x4456('0x6'));let _0x3950f0=Array[_0x4456('0x34')](this['editor'][_0x4456('0x2f')][_0x4456('0x24')][_0x4456('0xa')][_0x4456('0x31')]())[_0x4456('0x23')](_0x43284b)[_0x4456('0x28')](_0x433647=>{const _0x2fbb19=this['editor']['model'][_0x4456('0x1e')](_0x433647,0x0);return[..._0x3c876e[_0x4456('0x14')](_0x2fbb19,_0x4456('0x11')),..._0x3c876e[_0x4456('0x14')](_0x2fbb19,_0x4456('0x10'))];})['flat']();return _0x3950f0=[...new Set(_0x3950f0)],_0x3950f0;}[_0x4456('0x1')](_0x322384){return _0x4456('0x21')+this[_0x4456('0x18')][_0x4456('0x1b')]['get'](_0x4456('0x6'))[_0x4456('0x26')](_0x322384)[_0x4456('0x2d')]()+'_LIST_'+_0x322384[_0x4456('0x2d')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eb9=['locale','editor','has','plugins','enableCommand','conversion','registerElementLabel','high','for','_descriptionFactory','media','stop','options','TrackChangesEditing','showSuggestionHighlights','ELEMENT_MEDIA','elementToElement','MediaEmbedEditing','createEmptyElement','div','get','downcastDispatcher'];(function(_0x17d05a,_0x3eb9fd){const _0x26eaff=function(_0x1473ac){while(--_0x1473ac){_0x17d05a['push'](_0x17d05a['shift']());}};_0x26eaff(++_0x3eb9fd);}(_0x3eb9,0xc8));const _0x26ea=function(_0x17d05a,_0x3eb9fd){_0x17d05a=_0x17d05a-0x0;let _0x26eaff=_0x3eb9[_0x17d05a];return _0x26eaff;};import{Plugin as _0x32cd09}from'ckeditor5/src/core';import{getTranslation as _0x1b7fd8}from'../utils/common-translations';export default class ot extends _0x32cd09{['afterInit'](){const _0x946a60=this[_0x26ea('0x15')];if(!_0x946a60[_0x26ea('0x1')][_0x26ea('0x0')](_0x26ea('0xf')))return;const _0x2c0cf5=_0x946a60[_0x26ea('0x1')][_0x26ea('0x12')](_0x26ea('0xb')),_0x2de5d3=_0x946a60[_0x26ea('0x14')];_0x2c0cf5[_0x26ea('0x2')]('mediaEmbed'),_0x2c0cf5[_0x26ea('0x7')][_0x26ea('0x4')](_0x26ea('0x8'),_0x1e2a6b=>_0x1b7fd8(_0x2de5d3,_0x26ea('0xd'),_0x1e2a6b)),_0x946a60[_0x26ea('0x3')][_0x26ea('0x6')]('dataDowncast')[_0x26ea('0xe')]({'model':_0x26ea('0x8'),'view':(_0x52dfc7,{writer:_0xd6de2f,options:_0x1e1249})=>{if(_0x1e1249['showSuggestionHighlights'])return _0xd6de2f[_0x26ea('0x10')](_0x26ea('0x11'));},'converterPriority':_0x26ea('0x5')}),_0x946a60['data'][_0x26ea('0x13')]['on']('attribute:url:media',(_0x1e7a61,_0x18e3c5,_0x26c0e0)=>{_0x26c0e0[_0x26ea('0xa')][_0x26ea('0xc')]&&_0x1e7a61[_0x26ea('0x9')]();},{'priority':_0x26ea('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b4=['editor','enableCommand','has','plugins','afterInit','MentionEditing','TrackChangesEditing'];(function(_0x11a758,_0x12b429){const _0x14469f=function(_0x1e1e6d){while(--_0x1e1e6d){_0x11a758['push'](_0x11a758['shift']());}};_0x14469f(++_0x12b429);}(_0x12b4,0x68));const _0x1446=function(_0x11a758,_0x12b429){_0x11a758=_0x11a758-0x0;let _0x14469f=_0x12b4[_0x11a758];return _0x14469f;};import{Plugin as _0x21bf22}from'ckeditor5/src/core';export default class rt extends _0x21bf22{[_0x1446('0x5')](){const _0x5b586d=this[_0x1446('0x1')];_0x5b586d['plugins'][_0x1446('0x3')](_0x1446('0x6'))&&_0x5b586d[_0x1446('0x4')]['get'](_0x1446('0x0'))[_0x1446('0x2')]('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5999=['registerElementLabel','plugins','TrackChangesEditing','locale','PageBreakEditing','has','ELEMENT_PAGE_BREAK','pageBreak','editor','enableCommand','get'];(function(_0x230a6e,_0x5999f2){const _0x21e15f=function(_0x872536){while(--_0x872536){_0x230a6e['push'](_0x230a6e['shift']());}};_0x21e15f(++_0x5999f2);}(_0x5999,0xf7));const _0x21e1=function(_0x230a6e,_0x5999f2){_0x230a6e=_0x230a6e-0x0;let _0x21e15f=_0x5999[_0x230a6e];return _0x21e15f;};import{Plugin as _0x53b549}from'ckeditor5/src/core';import{getTranslation as _0x1de8c6}from'../utils/common-translations';export default class at extends _0x53b549{['afterInit'](){const _0x508bf7=this[_0x21e1('0x3')];if(!_0x508bf7[_0x21e1('0x7')][_0x21e1('0x0')](_0x21e1('0xa')))return;_0x508bf7[_0x21e1('0x7')][_0x21e1('0x5')](_0x21e1('0x8'))[_0x21e1('0x4')](_0x21e1('0x2'));const _0x13445d=_0x508bf7[_0x21e1('0x7')][_0x21e1('0x5')](_0x21e1('0x8')),_0x27dd91=_0x508bf7[_0x21e1('0x9')];_0x13445d['_descriptionFactory'][_0x21e1('0x6')]('pageBreak',_0x3d559c=>_0x1de8c6(_0x27dd91,_0x21e1('0x1'),_0x3d559c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5168=['$text','plugins','isBlock','consume','name','filter','addMarker:suggestion:insertion','showSuggestionHighlights','format','get','span','Paragraph','registerDescriptionCallback','getSelectedBlocks','insertion','consumable','options','start','downcastDispatcher','editing','highest','_descriptionFactory','paragraph','ck-suggestion-marker--active','afterInit','markerRange','toViewPosition','nodeAfter','insertParagraph','getFirstRange','editor','parent','getItemLabel','markerName','selection','markBlockFormat','schema','enableCommand','isLimit','insert','blockName','change','TrackChangesEditing','checkChild','writer','model','registerElementLabel','end','activeMarkers','ELEMENT_PARAGRAPH','document','addClass','mapper'];(function(_0x119467,_0x51685d){const _0x5bf346=function(_0x3d5201){while(--_0x3d5201){_0x119467['push'](_0x119467['shift']());}};_0x5bf346(++_0x51685d);}(_0x5168,0xad));const _0x5bf3=function(_0x119467,_0x51685d){_0x119467=_0x119467-0x0;let _0x5bf346=_0x5168[_0x119467];return _0x5bf346;};import{Plugin as _0x421768}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x241cc5}from'./utils';import{getTranslation as _0x48c701}from'../utils/common-translations';export default class ct extends _0x421768{[_0x5bf3('0xa')](){const _0xec19d=this[_0x5bf3('0x10')];if(!_0xec19d['plugins']['has'](_0x5bf3('0x32')))return;const _0x360c3c=_0xec19d['locale'],_0x1dd55d=_0xec19d['plugins']['get'](_0x5bf3('0x1c'));_0x1dd55d['_descriptionFactory'][_0x5bf3('0x20')](_0x5bf3('0x8'),_0x3d351c=>_0x48c701(_0x360c3c,_0x5bf3('0x23'),_0x3d351c)),_0x1dd55d[_0x5bf3('0x17')](_0x5bf3('0x8'),(_0x105493,_0x365da4={})=>{const _0x3884a8=_0xec19d[_0x5bf3('0x1f')][_0x5bf3('0x24')],_0xcfc951=_0x365da4[_0x5bf3('0x14')]||_0x3884a8[_0x5bf3('0x14')],_0x1a71c7=Array['from'](_0xcfc951[_0x5bf3('0x34')]())[_0x5bf3('0x2c')](_0x36822a=>function(_0x24815e,_0x14dd0c){return _0x14dd0c[_0x5bf3('0x1d')](_0x24815e[_0x5bf3('0x11')],'paragraph')&&!_0x14dd0c['isObject'](_0x24815e)&&_0x5bf3('0x8')!=_0x24815e[_0x5bf3('0x2b')];}(_0x36822a,this[_0x5bf3('0x10')][_0x5bf3('0x1f')][_0x5bf3('0x16')]));_0xec19d[_0x5bf3('0x1f')][_0x5bf3('0x1b')](()=>{for(const _0x33b6ec of _0x1a71c7)_0x1dd55d[_0x5bf3('0x15')](_0x33b6ec,{'commandName':_0x5bf3('0x8'),'commandParams':[],'formatGroupId':_0x5bf3('0x1a')},_0x241cc5(_0x33b6ec));});}),_0x1dd55d['_descriptionFactory']['registerDescriptionCallback'](_0x34bdef=>{const {data:_0x58638b}=_0x34bdef;if(_0x58638b&&_0x5bf3('0x8')==_0x58638b['commandName'])return{'type':_0x5bf3('0x2f'),'content':_0x48c701(_0x360c3c,'*Change\x20to:*\x20%0',_0x48c701(_0x360c3c,_0x5bf3('0x23')))};}),_0x1dd55d[_0x5bf3('0x17')](_0x5bf3('0xe')),_0xec19d[_0x5bf3('0x5')][_0x5bf3('0x4')]['on'](_0x5bf3('0x2d'),ar(_0xec19d),{'priority':_0x5bf3('0x6')}),_0xec19d['data'][_0x5bf3('0x4')]['on']('addMarker:suggestion:insertion',(_0x91e7b8,_0x2c7f8f,_0x273ec4)=>{_0x273ec4[_0x5bf3('0x2')][_0x5bf3('0x2e')]&&ar(_0xec19d,{'showActiveMarker':!0x1})(_0x91e7b8,_0x2c7f8f,_0x273ec4);},{'priority':_0x5bf3('0x6')});const _0x364d13=_0x1dd55d[_0x5bf3('0x7')];_0x364d13[_0x5bf3('0x33')](_0x18f4a2=>{if(_0x5bf3('0x0')!==_0x18f4a2['type'])return;const {start:_0x58ce93,end:_0x3b8b50}=_0x18f4a2[_0x5bf3('0xf')]();if(!_0x58ce93['isTouching'](_0x3b8b50)||!_0x58ce93[_0x5bf3('0xd')])return;const _0x1e3875=_0xec19d['model'][_0x5bf3('0x16')],_0x308205=_0x58ce93[_0x5bf3('0xd')];return _0x1e3875[_0x5bf3('0x29')](_0x308205)&&!_0x1e3875[_0x5bf3('0x18')](_0x308205)&&_0x1e3875['checkChild'](_0x308205,_0x5bf3('0x27'))?{'type':'insertion','content':_0x48c701(_0x360c3c,'*Insert:*\x20%0',_0x364d13[_0x5bf3('0x12')](_0x308205,0x1))}:void 0x0;});}}function ar(_0x45d49d,{showActiveMarker:_0x1d642e=!0x0}={}){return(_0x9c7ac1,_0x541840,_0x3519de)=>{const _0xa4ee86=_0x45d49d[_0x5bf3('0x28')][_0x5bf3('0x30')](_0x5bf3('0x1c')),_0x8f2155=_0x541840[_0x5bf3('0xb')][_0x5bf3('0x3')],_0x545629=_0x541840[_0x5bf3('0xb')][_0x5bf3('0x21')],_0x39d214=_0x45d49d[_0x5bf3('0x1f')][_0x5bf3('0x16')];if(!_0x8f2155['isTouching'](_0x545629)||!_0x8f2155[_0x5bf3('0xd')])return;const _0x8b527=_0x8f2155[_0x5bf3('0xd')];if(_0x39d214[_0x5bf3('0x29')](_0x8b527)&&!_0x39d214[_0x5bf3('0x18')](_0x8b527)&&_0x39d214[_0x5bf3('0x1d')](_0x8b527,_0x5bf3('0x27'))){if(!_0x3519de[_0x5bf3('0x1')][_0x5bf3('0x2a')](_0x541840[_0x5bf3('0xb')],_0x9c7ac1['name']))return;const _0x39b2fb=_0x3519de[_0x5bf3('0x1e')]['createUIElement'](_0x5bf3('0x31'),{'class':'ck-suggestion-marker-split'}),_0xeefa63=_0x3519de[_0x5bf3('0x26')][_0x5bf3('0xc')](_0x545629);_0x1d642e&&_0xa4ee86[_0x5bf3('0x22')]['includes'](_0x541840[_0x5bf3('0x13')])&&_0x3519de[_0x5bf3('0x1e')][_0x5bf3('0x25')](_0x5bf3('0x9'),_0x39b2fb),_0x3519de[_0x5bf3('0x1e')][_0x5bf3('0x19')](_0xeefa63,_0x39b2fb),_0x3519de[_0x5bf3('0x26')]['bindElementToMarker'](_0x39b2fb,_0x541840[_0x5bf3('0x13')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4222=['getAttributeProperties','from','getAttributes','createRangeOn','_descriptionFactory','*Remove\x20all\x20formatting*','document','commandName','get','has','editor','afterInit','model','selection','change','removeFormat','getItems','enableCommand','isFormatting','registerDescriptionCallback','plugins'];(function(_0x47b658,_0x4222ef){const _0xbe8403=function(_0x2a15a2){while(--_0x2a15a2){_0x47b658['push'](_0x47b658['shift']());}};_0xbe8403(++_0x4222ef);}(_0x4222,0x191));const _0xbe84=function(_0x47b658,_0x4222ef){_0x47b658=_0x47b658-0x0;let _0xbe8403=_0x4222[_0x47b658];return _0xbe8403;};import{Plugin as _0x290056}from'ckeditor5/src/core';import{getTranslation as _0x3f684f}from'../utils/common-translations';export default class ht extends _0x290056{[_0xbe84('0x9')](){const _0x4b0705=this[_0xbe84('0x8')];if(!_0x4b0705[_0xbe84('0x12')][_0xbe84('0x7')]('RemoveFormatEditing'))return;const _0x1932de=_0x4b0705['plugins'][_0xbe84('0x6')]('TrackChangesEditing');_0x1932de[_0xbe84('0xf')]('removeFormat',_0x485b29=>{const _0x50ff9c=_0x4b0705[_0xbe84('0xa')][_0xbe84('0x4')][_0xbe84('0xb')];_0x50ff9c['isCollapsed']?_0x485b29():_0x4b0705[_0xbe84('0xa')][_0xbe84('0xc')](()=>{const _0x2a140a=Array[_0xbe84('0x14')](_0x50ff9c['getRanges']());for(const _0x232d3c of _0x2a140a)for(const _0x3785e4 of _0x232d3c[_0xbe84('0xe')]())mo(_0x3785e4,_0x4b0705[_0xbe84('0xa')]['schema'])&&_0x1932de['markInlineFormat'](_0x4b0705[_0xbe84('0xa')][_0xbe84('0x1')](_0x3785e4),{'commandName':_0xbe84('0xd'),'commandParams':[]});});}),_0x1932de[_0xbe84('0x2')][_0xbe84('0x11')](_0x155ef0=>{const {data:_0x28dbdb}=_0x155ef0;if(_0x28dbdb&&_0xbe84('0xd')==_0x28dbdb[_0xbe84('0x5')])return{'type':'format','content':_0x3f684f(_0x4b0705['locale'],_0xbe84('0x3'))};});}}function mo(_0x59f8e1,_0x51c713){for(const [_0x2f5c74]of _0x59f8e1[_0xbe84('0x0')]()){const _0x1e5840=_0x51c713[_0xbe84('0x13')](_0x2f5c74);if(_0x1e5840&&_0x1e5840[_0xbe84('0x10')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a81=['has','acceptAllSuggestions','TrackChangesEditing','acceptSelectedSuggestions','discardSuggestion','get','discardAllSuggestions','enableCommand','goToNextRestrictedEditingException','discardSelectedSuggestions','RestrictedEditingModeEditing','acceptSuggestion','plugins','editor'];(function(_0x1bfbb6,_0x5a81ec){const _0x375d29=function(_0x4d4380){while(--_0x4d4380){_0x1bfbb6['push'](_0x1bfbb6['shift']());}};_0x375d29(++_0x5a81ec);}(_0x5a81,0xd9));const _0x375d=function(_0x1bfbb6,_0x5a81ec){_0x1bfbb6=_0x1bfbb6-0x0;let _0x375d29=_0x5a81[_0x1bfbb6];return _0x375d29;};import{Plugin as _0x338ade}from'ckeditor5/src/core';export default class ut extends _0x338ade{['afterInit'](){const _0x3920ef=this[_0x375d('0x6')];if(!_0x3920ef[_0x375d('0x5')][_0x375d('0x7')](_0x375d('0x3')))return;const _0x29b61f=_0x3920ef['plugins'][_0x375d('0xc')](_0x375d('0x9'));_0x29b61f[_0x375d('0x0')]('goToPreviousRestrictedEditingException'),_0x29b61f[_0x375d('0x0')](_0x375d('0x1'));const _0x405fdd=_0x3920ef[_0x375d('0x5')]['get'](_0x375d('0x3'));_0x405fdd['enableCommand']('trackChanges'),_0x405fdd[_0x375d('0x0')](_0x375d('0x4')),_0x405fdd[_0x375d('0x0')](_0x375d('0xb')),_0x405fdd[_0x375d('0x0')](_0x375d('0x8')),_0x405fdd[_0x375d('0x0')](_0x375d('0xd')),_0x405fdd[_0x375d('0x0')](_0x375d('0xa')),_0x405fdd[_0x375d('0x0')](_0x375d('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35f6=['plugins','high','mapper','merge','addMarker:suggestion','enableCommand','addMarker:suggestion:deletion','span','createPositionBefore','markerRange','test','createUIElement','downcastDispatcher','softBreak','editor','options','editing','addClass','insert','get','split','deletion','markerName','getItems','consumable','model','ck-suggestion-marker-','TrackChangesEditing','_descriptionFactory','writer'];(function(_0x171f53,_0x35f60c){const _0xe95644=function(_0x3afd61){while(--_0x3afd61){_0x171f53['push'](_0x171f53['shift']());}};_0xe95644(++_0x35f60c);}(_0x35f6,0xc5));const _0xe956=function(_0x171f53,_0x35f60c){_0x171f53=_0x171f53-0x0;let _0xe95644=_0x35f6[_0x171f53];return _0xe95644;};import{Plugin as _0x58797b}from'ckeditor5/src/core';import{ShiftEnter as _0x10ea97}from'ckeditor5/src/enter';import{getTranslation as _0x2144fd}from'../utils/common-translations';export default class ft extends _0x58797b{static get['requires'](){return[_0x10ea97];}['init'](){const _0x229842=this[_0xe956('0x1b')],_0x417cb8=_0x229842['plugins'][_0xe956('0x2')]('TrackChangesEditing');_0x417cb8[_0xe956('0x12')]('shiftEnter'),_0x229842[_0xe956('0x1d')][_0xe956('0x19')]['on']('addMarker:suggestion:insertion',re(_0x229842),{'priority':_0xe956('0xe')}),_0x229842[_0xe956('0x1d')][_0xe956('0x19')]['on'](_0xe956('0x13'),re(_0x229842),{'priority':_0xe956('0xe')}),_0x229842['data']['downcastDispatcher']['on'](_0xe956('0x11'),(_0x404252,_0x1e747c,_0x5b46f3)=>{_0x5b46f3[_0xe956('0x1c')]['showSuggestionHighlights']&&re(_0x229842,{'showActiveMarker':!0x1})(_0x404252,_0x1e747c,_0x5b46f3);}),_0x417cb8[_0xe956('0xb')]['registerElementLabel'](_0xe956('0x1a'),_0xc08fbb=>_0x2144fd(_0x229842['locale'],'ELEMENT_LINE_BREAK',_0xc08fbb));}}function re(_0x533338,{showActiveMarker:_0x56b746=!0x0}={}){return(_0xa04caa,_0x10b5e2,_0x228943)=>{const _0x2d7903=_0x533338[_0xe956('0xd')]['get'](_0xe956('0xa'));if(!_0x228943[_0xe956('0x7')][_0xe956('0x17')](_0x10b5e2[_0xe956('0x16')],_0xa04caa['name']))return;const _0x1392a4=_0x533338[_0xe956('0x8')];for(const _0x620fc6 of _0x10b5e2[_0xe956('0x16')][_0xe956('0x6')]()){if(!_0x620fc6['is']('element','softBreak'))continue;const _0x52b2cb=_0xe956('0x4')==_0x10b5e2[_0xe956('0x5')][_0xe956('0x3')](':')[0x1]?_0xe956('0x10'):_0xe956('0x3'),_0x239d28=_0x228943[_0xe956('0xc')][_0xe956('0x18')](_0xe956('0x14'),{'class':_0xe956('0x9')+_0x52b2cb}),_0x1b7ed9=_0x228943[_0xe956('0xf')]['toViewPosition'](_0x1392a4[_0xe956('0x15')](_0x620fc6));_0x56b746&&_0x2d7903['activeMarkers']['includes'](_0x10b5e2[_0xe956('0x5')])&&_0x228943[_0xe956('0xc')][_0xe956('0x0')]('ck-suggestion-marker--active',_0x239d28),_0x228943[_0xe956('0xc')][_0xe956('0x1')](_0x1b7ed9,_0x239d28),_0x228943[_0xe956('0xf')]['bindElementToMarker'](_0x239d28,_0x10b5e2[_0xe956('0x5')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c18=['afterInit','getRanges','locale','from','format','FORMAT_RESTRICTED_ENABLED','plugins','registerDescriptionCallback','change','markInlineFormat','commands','has','FORMAT_RESTRICTED_DISABLED','model','get','forceValue','commandName','enableCommand','TrackChangesEditing','editor'];(function(_0x1e4afe,_0x5c18d9){const _0x24a7a8=function(_0x274cd4){while(--_0x274cd4){_0x1e4afe['push'](_0x1e4afe['shift']());}};_0x24a7a8(++_0x5c18d9);}(_0x5c18,0xe3));const _0x24a7=function(_0x1e4afe,_0x5c18d9){_0x1e4afe=_0x1e4afe-0x0;let _0x24a7a8=_0x5c18[_0x1e4afe];return _0x24a7a8;};import{Plugin as _0x4d7148}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x193cc0}from'./utils';import{getTranslation as _0x7be692}from'../utils/common-translations';export default class lt extends _0x4d7148{[_0x24a7('0xd')](){const _0x25eb82=this[_0x24a7('0xc')],_0x477898=_0x25eb82[_0x24a7('0x6')],_0x1d6891=_0x25eb82[_0x24a7('0xf')];if(!_0x25eb82['plugins'][_0x24a7('0x4')]('StandardEditingModeEditing'))return;const _0xa1644=_0x25eb82[_0x24a7('0x13')][_0x24a7('0x7')](_0x24a7('0xb')),_0x5a02b2='restrictedEditingException',_0xb828af=_0x25eb82[_0x24a7('0x3')][_0x24a7('0x7')](_0x5a02b2);_0xa1644[_0x24a7('0xa')](_0x5a02b2,(_0x17ea57,_0x4bf7a6={})=>{const _0x47544f=_0x477898['document']['selection'];if(_0x47544f['isCollapsed'])return void _0x17ea57(_0x4bf7a6);const _0x431be4=void 0x0!==_0x4bf7a6[_0x24a7('0x8')]?_0x4bf7a6[_0x24a7('0x8')]:!_0xb828af['value'];_0x477898[_0x24a7('0x1')](()=>{const _0x1d75b9=Array[_0x24a7('0x10')](_0x47544f[_0x24a7('0xe')]());for(const _0x5e3d98 of _0x1d75b9){const _0x26e183=_0x431be4?[_0x5e3d98]:_0x193cc0(_0x5a02b2,_0x5e3d98,_0x477898);for(const _0x81eeff of _0x26e183)_0xa1644[_0x24a7('0x2')](_0x81eeff,{'commandName':_0x5a02b2,'commandParams':[{'forceValue':_0x431be4}]});}});}),_0xa1644['_descriptionFactory'][_0x24a7('0x0')](_0x13016a=>{const {data:_0xea7b6c}=_0x13016a;if(_0xea7b6c&&_0xea7b6c[_0x24a7('0x9')]==_0x5a02b2)return _0xea7b6c['commandParams'][0x0][_0x24a7('0x8')]?{'type':_0x24a7('0x11'),'content':_0x7be692(_0x1d6891,_0x24a7('0x12'))}:{'type':_0x24a7('0x11'),'content':_0x7be692(_0x1d6891,_0x24a7('0x5'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20d0=['editor','isBlock','add','commands','plugins','style','_descriptionFactory','_getRangesWithClasses','style:','styleName','Style','normalizeConfig','createRangeOn','every','name','registerDescriptionCallback','toLowerCase','value','enableCommand','commandName','format','change','includes','locale','get','enabledStyles','push','find','classes','getAttribute','from','markBlockFormat','model','StyleUtils','modelElements','config','*Remove\x20format:*\x20%0','_getStyleDefinition','getAncestors','selection','commandParams','getRanges','document','*Format:*\x20%0','element','afterInit','block'];(function(_0x278832,_0x20d0d5){const _0x431008=function(_0x4944d4){while(--_0x4944d4){_0x278832['push'](_0x278832['shift']());}};_0x431008(++_0x20d0d5);}(_0x20d0,0x10a));const _0x4310=function(_0x278832,_0x20d0d5){_0x278832=_0x278832-0x0;let _0x431008=_0x20d0[_0x278832];return _0x431008;};import{Plugin as _0xc6262b}from'ckeditor5/src/core';import{getTranslation as _0x489cd2}from'../utils/common-translations';export default class gt extends _0xc6262b{[_0x4310('0xe')](){const _0xd84cc4=this[_0x4310('0x10')];if(!_0xd84cc4['plugins']['has'](_0x4310('0x1a')))return;const _0x17e9ec=_0xd84cc4[_0x4310('0x13')]['get'](_0x4310('0x15')),_0xdf13c1=_0xd84cc4[_0x4310('0x14')][_0x4310('0x28')]('TrackChangesEditing'),_0x6fd45d=_0xd84cc4[_0x4310('0x27')],_0x504ddd=_0xd84cc4[_0x4310('0x14')][_0x4310('0x28')]('DataSchema'),_0x281927=_0xd84cc4['plugins'][_0x4310('0x28')](_0x4310('0x2'))[_0x4310('0x1b')](_0x504ddd,_0xd84cc4[_0x4310('0x4')][_0x4310('0x28')]('style.definitions'));_0xdf13c1[_0x4310('0x22')](_0x4310('0x15'),(_0x3e26af,{styleName:_0x50483e})=>{const _0x12e4e9=_0xd84cc4[_0x4310('0x1')][_0x4310('0xb')][_0x4310('0x8')],_0x2471b3=this[_0x4310('0x6')](_0x50483e,_0x281927);if(!_0x2471b3)return;if(!_0x17e9ec[_0x4310('0x29')][_0x4310('0x26')](_0x50483e))return;if(_0x12e4e9['isCollapsed']&&!_0x2471b3[_0x4310('0x11')])return void _0x3e26af({'styleName':_0x50483e});const _0x2bad13=!_0x17e9ec[_0x4310('0x21')][_0x4310('0x26')](_0x2471b3['name']);if(_0x2471b3[_0x4310('0x11')]){const _0x4a7b53=function(_0x48192f,_0x1b9e3c){const _0x3989c5=new Set();for(const _0x3bed60 of _0x48192f){const _0x1cde40=_0x3bed60[_0x4310('0x7')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x511642 of _0x1cde40)if(_0x1b9e3c[_0x4310('0x26')](_0x511642[_0x4310('0x1e')])){_0x3989c5[_0x4310('0x12')](_0x511642);break;}}return _0x3989c5;}(_0x12e4e9['getSelectedBlocks'](),_0x2471b3[_0x4310('0x3')]);_0xd84cc4[_0x4310('0x1')][_0x4310('0x25')](()=>{for(const _0x5797a4 of _0x4a7b53)_0xdf13c1[_0x4310('0x0')](_0x5797a4,{'commandName':_0x4310('0x15'),'commandParams':[{'styleName':_0x50483e,'forceValue':_0x2bad13}],'formatGroupId':_0x4310('0x18')+_0x50483e});});}else{let _0x26290d=Array['from'](_0x12e4e9[_0x4310('0xa')]());if(!_0x2bad13){const _0x520c3f=Array[_0x4310('0x2e')](_0x504ddd['getDefinitionsForView'](_0x2471b3[_0x4310('0xd')],!0x1))[0x0]['model'],_0x2a04bd=[];for(const _0x144012 of _0x26290d){const _0x19e534=this[_0x4310('0x17')](_0xd84cc4[_0x4310('0x1')],_0x144012,_0x2471b3['classes'],_0x520c3f);_0x2a04bd['push'](..._0x19e534);}_0x26290d=_0x2a04bd;}_0xd84cc4[_0x4310('0x1')]['change'](()=>{for(const _0x439700 of _0x26290d)_0xdf13c1['markInlineFormat'](_0x439700,{'commandName':'style','commandParams':[{'styleName':_0x50483e,'forceValue':_0x2bad13}]});});}}),_0xdf13c1[_0x4310('0x16')][_0x4310('0x1f')](_0x4bdd62=>{const {data:_0x54fa56}=_0x4bdd62;if(_0x54fa56&&_0x4310('0x15')===_0x54fa56[_0x4310('0x23')])return _0x54fa56[_0x4310('0x9')][0x0]['forceValue']?{'type':'format','content':_0x489cd2(_0x6fd45d,_0x4310('0xc'),_0x54fa56['commandParams'][0x0]['styleName'][_0x4310('0x20')]())}:{'type':_0x4310('0x24'),'content':_0x489cd2(_0x6fd45d,_0x4310('0x5'),_0x54fa56[_0x4310('0x9')][0x0][_0x4310('0x19')][_0x4310('0x20')]())};});}[_0x4310('0x6')](_0x2659b9,_0x295dba){let _0x329646=_0x295dba[_0x4310('0xf')][_0x4310('0x2b')](_0x23e62c=>_0x23e62c[_0x4310('0x1e')]===_0x2659b9);return _0x329646||(_0x329646=_0x295dba['inline']['find'](_0xd7fe83=>_0xd7fe83[_0x4310('0x1e')]===_0x2659b9)),_0x329646;}[_0x4310('0x17')](_0x710d5f,_0x3ac1c6,_0x545200,_0x266120){const _0x4e59b4=[];for(const _0x137c13 of _0x3ac1c6['getItems']()){const _0x2c6674=_0x137c13[_0x4310('0x2d')](_0x266120);_0x2c6674&&(_0x545200[_0x4310('0x1d')](_0x492c86=>_0x2c6674[_0x4310('0x2c')]['includes'](_0x492c86))&&_0x4e59b4[_0x4310('0x2a')](_0x710d5f[_0x4310('0x1c')](_0x137c13)));}return _0x4e59b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c0=['includes','span','forceValue','downcastDispatcher','setSelection','isEqual','*Insert:*\x20%0','getRanges','commands','insertTableRowBelow','getRowIndexes','every','from','editor','max','_suggestionFactory','substr','_getCoordsForCells','ELEMENT_TABLE_WITH_TEXT','rowspan','getAttribute','getChildren','*Remove:*\x20%0','markMultiRangeInsertion','above','ELEMENT_TABLE_ROW','type','filter','ELEMENT_TABLE','_tableSuggestions','getColumnIndexes','createTableWalker','minRow','registerElementLabel','startsWith','_splitMarkerName','insertTableColumnRight','element','detach','min','classes','tableColumn','removeTableRow','discard','MIN_SAFE_INTEGER','_acceptFormatSuggestionCallbackFactory','colspan','findAncestor','_setupColumnsRowsFixing','change:data','table','addRange','addClass','push','subType','deletion','get','isInContent','TableEditing','model','item','last','nodeAfter','showSuggestionHighlights','length','rootName','ELEMENT_TABLE_COLUMN_WITH_TEXT','getFirstRange','markMultiRangeDeletion','start','name','getContainedElement','createPositionAt','accept','MAX_SAFE_INTEGER','refresh','has','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','_tablePostFixingSubtypes','end','tablePaste','order','suggestion','enqueueChange','writer','some','addMarker:suggestion','getSelectionAffectedTableCells','ELEMENT_TABLE_COLUMN','maxRow','toViewElement','TrackChangesEditing','getSuggestion','insertTableRowAbove','getCellLocation','left','insertTableColumnLeft','position','$textProxy','registerDescriptionCallback','_getSuggestionCoords','toLowerCase','TableUtils','insertion','$graveyard','createRangeOn','removeTableColumn','registerCustomCallback','data','createRangeIn','join','getChanges','tableCell','selection','first','nodeBefore','enableCommand','document','differ','insertTable','map','change','execute','tableRow','highest','fromRange','plugins','cell','hasAttribute','options','_descriptionFactory','getItems','root'];(function(_0x41db20,_0x32c00e){const _0x4d4893=function(_0xbbb212){while(--_0xbbb212){_0x41db20['push'](_0x41db20['shift']());}};_0x4d4893(++_0x32c00e);}(_0x32c0,0x178));const _0x4d48=function(_0x41db20,_0x32c00e){_0x41db20=_0x41db20-0x0;let _0x4d4893=_0x32c0[_0x41db20];return _0x4d4893;};import{Plugin as _0x37023e}from'ckeditor5/src/core';import{LiveRange as _0x5ea2e3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x41a084}from'ckeditor5/src/widget';import{getTranslation as _0x350be1}from'../utils/common-translations';export default class mt extends _0x37023e{constructor(_0x1333ce){super(_0x1333ce),this[_0x4d48('0x69')]=[_0x4d48('0x10'),'tableColumn'],this[_0x4d48('0x37')]=new Set();}['afterInit'](){const _0x2e580b=this[_0x4d48('0x27')],_0x548b10=_0x2e580b[_0x4d48('0x55')][_0x4d48('0xa')][_0x4d48('0x6')];if(!_0x2e580b['plugins'][_0x4d48('0x66')](_0x4d48('0x54')))return;const _0x41df6e=_0x2e580b['locale'],_0x57bede=_0x2e580b[_0x4d48('0x13')][_0x4d48('0x52')](_0x4d48('0x76')),_0x5207a4=_0x2e580b[_0x4d48('0x13')][_0x4d48('0x52')](_0x4d48('0x81'));_0x57bede[_0x4d48('0x17')][_0x4d48('0x3b')](_0x4d48('0x4c'),_0x2ff2a7=>_0x350be1(_0x41df6e,_0x4d48('0x36'),_0x2ff2a7)),this[_0x4d48('0x4a')](),_0x57bede[_0x4d48('0x9')](_0x4d48('0xc')),_0x57bede['enableCommand']('selectTableRow'),_0x57bede[_0x4d48('0x9')]('selectTableColumn');for(const _0x246541 of[_0x4d48('0x78'),_0x4d48('0x23')]){const _0x1bdf43=_0x2e580b['commands'][_0x4d48('0x52')](_0x246541);_0x57bede[_0x4d48('0x9')](_0x246541,_0x5cbb13=>{_0x2e580b['model'][_0x4d48('0xe')](_0xaac0d0=>{_0x5cbb13();const _0x41b939=_0x4d48('0x32')===_0x1bdf43[_0x4d48('0x6c')],_0x5864dc=_0x5207a4[_0x4d48('0x72')](_0x548b10),_0x472bbf=_0x5207a4[_0x4d48('0x24')](_0x5864dc),_0x4dc1b8=_0x41b939?_0x472bbf[_0x4d48('0x7')]-0x1:_0x472bbf[_0x4d48('0x57')]+0x1,_0x118eb9=_0x5864dc[0x0][_0x4d48('0x49')]('table'),_0x23582e=_0x5207a4[_0x4d48('0x39')](_0x118eb9,{'startRow':_0x4dc1b8,'endRow':_0x4dc1b8}),_0x45138f=Array[_0x4d48('0x26')](_0x23582e)[_0x4d48('0xd')](_0x308053=>_0xaac0d0[_0x4d48('0x84')](_0x308053[_0x4d48('0x14')]));_0x57bede['markMultiRangeInsertion'](_0x45138f,_0x4d48('0x10'));});});}for(const _0xe0e2d3 of[_0x4d48('0x7b'),_0x4d48('0x3e')]){const _0x262fa1=_0x2e580b[_0x4d48('0x22')][_0x4d48('0x52')](_0xe0e2d3);_0x57bede[_0x4d48('0x9')](_0xe0e2d3,_0xd3ddf3=>{_0x2e580b[_0x4d48('0x55')][_0x4d48('0xe')](_0x5c6d28=>{_0xd3ddf3();const _0x230f27=_0x4d48('0x7a')===_0x262fa1[_0x4d48('0x6c')],_0x42c52a=_0x5207a4[_0x4d48('0x72')](_0x548b10),_0x3a6af1=_0x5207a4['getColumnIndexes'](_0x42c52a),_0x4cc90f=_0x230f27?_0x3a6af1[_0x4d48('0x7')]-0x1:_0x3a6af1[_0x4d48('0x57')]+0x1,_0x31fe32=_0x42c52a[0x0][_0x4d48('0x49')](_0x4d48('0x4c')),_0x14928e=_0x5207a4[_0x4d48('0x39')](_0x31fe32,{'startRow':0x0,'column':_0x4cc90f,'includeAllSlots':!0x1}),_0x536e01=Array[_0x4d48('0x26')](_0x14928e)['map'](_0x8f334=>_0x5c6d28[_0x4d48('0x84')](_0x8f334[_0x4d48('0x14')]));_0x57bede[_0x4d48('0x31')](_0x536e01,_0x4d48('0x43'));});});}for(const _0x2bd60e of[_0x4d48('0x44'),_0x4d48('0x85')]){const _0x36c04a=_0x2bd60e[_0x4d48('0x2a')](0xb),_0x7ca00b=_0x36c04a['toLowerCase'](),_0x4c7eea=_0x7ca00b[_0x4d48('0x2a')](0x0,0x3)+_0x4d48('0x1b'),_0x4672e1=_0x4d48('0x4c')+_0x36c04a,_0x5ec964=_0x4d48('0x41')+_0x36c04a,_0x35cb63=_0x4d48('0x28')+_0x36c04a;_0x57bede[_0x4d48('0x9')](_0x2bd60e,()=>{_0x2e580b[_0x4d48('0x55')][_0x4d48('0xe')](_0x274e4d=>{const _0x680b70=_0x5207a4[_0x4d48('0x72')](_0x548b10),_0x1ec0f3=_0x680b70[0x0][_0x4d48('0x49')]('table');let _0x1885f2;if(_0x4d48('0x44')==_0x2bd60e){const _0xe8fe0c=_0x5207a4[_0x4d48('0x24')](_0x680b70);_0x1885f2={'startRow':_0xe8fe0c['first'],'endRow':_0xe8fe0c[_0x4d48('0x57')],'includeAllSlots':!0x0};}else{const _0x1415fc=_0x5207a4[_0x4d48('0x38')](_0x680b70);_0x1885f2={'startColumn':_0x1415fc['first'],'endColumn':_0x1415fc[_0x4d48('0x57')],'includeAllSlots':!0x0};}const _0x1573e1=_0x5207a4[_0x4d48('0x39')](_0x1ec0f3,_0x1885f2),_0x48638e=Array[_0x4d48('0x26')](_0x1573e1)[_0x4d48('0xd')](({cell:_0x240852})=>_0x240852),_0x264369=se(_0x48638e['filter'](_0x56470b=>_0x56470b['hasAttribute'](_0x4c7eea))),_0xcbd677=se(_0x48638e[_0x4d48('0x35')](_0x30b0ad=>!_0x30b0ad[_0x4d48('0x15')](_0x4c7eea)))[_0x4d48('0xd')](_0x5eef86=>_0x274e4d[_0x4d48('0x84')](_0x5eef86)),_0x4a3069=_0x57bede[_0x4d48('0x5e')](_0xcbd677,_0x4672e1);if(_0x4a3069&&('tableRow'==_0x4a3069['subType']||'tableColumn'==_0x4a3069[_0x4d48('0x50')])){const _0x24c1ef=this[_0x4d48('0x7f')](_0x4a3069);for(const _0x5a4f80 of _0x264369){const _0x482604=_0x274e4d[_0x4d48('0x84')](_0x5a4f80),_0x59137f=_0x5207a4[_0x4d48('0x79')](_0x5a4f80),_0x46e4f9=_0x5a4f80['getAttribute'](_0x4c7eea)-0x1,_0x5607ea=_0x24c1ef[_0x5ec964],_0x10f76a=_0x24c1ef[_0x35cb63];_0x5607ea<=_0x59137f[_0x7ca00b]&&_0x59137f[_0x7ca00b]+_0x46e4f9<=_0x10f76a&&_0x4a3069['addRange'](_0x482604);}}});});}function _0x37b294(_0x11d4e9){const _0x196361=Array['from'](_0x548b10[_0x4d48('0x21')]())['map'](_0x43ccd3=>_0x5ea2e3[_0x4d48('0x12')](_0x43ccd3));_0x2e580b[_0x4d48('0x55')]['change'](_0x11affd=>{const _0x42e325=_0x11affd['batch'];_0x11d4e9=_0x11d4e9[_0x4d48('0x35')](_0x21fdec=>_0x4d48('0x83')!=_0x21fdec['root']['rootName']),_0x11affd[_0x4d48('0x1e')](_0x11d4e9),_0x2e580b[_0x4d48('0x22')][_0x4d48('0x52')](_0x4d48('0x44'))['refresh'](),_0x2e580b['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2e580b['model'][_0x4d48('0x6e')](()=>{_0x2e580b[_0x4d48('0x55')][_0x4d48('0x6e')](_0x42e325,_0x4d980f=>{const _0x2e5621=_0x196361[_0x4d48('0x35')](_0x4a52da=>'$graveyard'!=_0x4a52da['root']['rootName']);_0x2e5621['length']>0x0&&_0x4d980f[_0x4d48('0x1e')](_0x2e5621);for(const _0x1883dd of _0x196361)_0x1883dd['detach']();});});});}function _0x225f86(_0x10ba63){_0x2e580b[_0x4d48('0x55')][_0x4d48('0xe')](_0x7a5610=>{const _0x2db30d=Array[_0x4d48('0x26')](_0x548b10[_0x4d48('0x21')]())['map'](_0x71f95=>_0x5ea2e3['fromRange'](_0x71f95)),_0x55c349=[];for(const _0x2f9e13 of _0x10ba63)for(const _0x4d45f2 of _0x2f9e13[_0x4d48('0x18')]({'shallow':!0x0}))_0x55c349[_0x4d48('0x4f')](_0x4d45f2);for(const _0x3dff73 of _0x55c349)'$graveyard'!=_0x3dff73['root'][_0x4d48('0x5b')]&&(_0x7a5610[_0x4d48('0x1e')](_0x7a5610[_0x4d48('0x62')](_0x3dff73,0x0)),_0x2e580b[_0x4d48('0x22')][_0x4d48('0x52')](_0x4d48('0x85'))[_0x4d48('0x65')](),_0x2e580b[_0x4d48('0xf')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x5e0f10=_0x2db30d[_0x4d48('0x35')](_0x5f0ce5=>'$graveyard'!=_0x5f0ce5[_0x4d48('0x19')]['rootName']);_0x5e0f10[_0x4d48('0x5a')]>0x0&&_0x7a5610['setSelection'](_0x5e0f10);for(const _0x5d01cf of _0x2db30d)_0x5d01cf[_0x4d48('0x40')]();});}function _0x450da8(_0x49453f,_0x54d703){return _0x54d703[_0x4d48('0x25')](_0x144bf6=>_0x49453f[_0x4d48('0x70')](_0x6114dc=>_0x6114dc[_0x4d48('0x6a')][_0x4d48('0x1f')](_0x144bf6[_0x4d48('0x5f')])||_0x144bf6['end']['isEqual'](_0x6114dc[_0x4d48('0x5f')])));}function _0x3c6d43(_0x33d3b,_0x61cf8a){return _0x33d3b['some'](_0x56b8e3=>_0x61cf8a[_0x4d48('0x70')](_0x288545=>_0x56b8e3['end']['isTouching'](_0x288545[_0x4d48('0x5f')])));}_0x2e580b[_0x4d48('0x1')][_0x4d48('0x1d')]['on'](_0x4d48('0x71'),(_0x5abc7b,_0x5d2d3c,_0x5d2f94)=>{if(!_0x5d2f94[_0x4d48('0x16')][_0x4d48('0x59')])return;const _0x3e0ac4=_0x5d2d3c[_0x4d48('0x56')];if(!_0x3e0ac4)return;const _0x5736f4=_0x5d2f94['mapper'][_0x4d48('0x75')](_0x3e0ac4);function _0x3191d6(_0x9594a){return Array['isArray'](_0x9594a)?_0x9594a:[_0x9594a];}_0x5736f4&&_0x4d48('0x5')===_0x3e0ac4[_0x4d48('0x60')]&&_0x41a084(_0x5736f4,_0x5d2f94[_0x4d48('0x6f')],(_0x5bb01d,_0x3861f7,_0x149143)=>_0x149143[_0x4d48('0x4e')](_0x3191d6(_0x3861f7['classes']),_0x5bb01d),(_0x40adc4,_0x54d184,_0x9c2de5)=>_0x9c2de5['removeClass'](_0x3191d6(_0x54d184[_0x4d48('0x42')]),_0x40adc4));},{'priority':_0x4d48('0x11')}),_0x57bede[_0x4d48('0x17')][_0x4d48('0x7e')](_0x27ec89=>{if(_0x4d48('0x82')!=_0x27ec89[_0x4d48('0x34')]&&_0x4d48('0x51')!=_0x27ec89[_0x4d48('0x34')])return;const _0x806c7c=_0x27ec89[_0x4d48('0x61')]();if(null!=_0x806c7c&&_0x806c7c['is'](_0x4d48('0x3f'),_0x4d48('0x4c'))){if(_0x4d48('0x82')==_0x27ec89[_0x4d48('0x34')]){const _0x3ddf3f=_0x27ec89[_0x4d48('0x18')]()[_0x4d48('0x35')](_0x3082c4=>_0x3082c4['is'](_0x4d48('0x7d')))[_0x4d48('0xd')](_0x317efd=>_0x317efd[_0x4d48('0x1')]);if(_0x3ddf3f[_0x4d48('0x5a')])return{'type':_0x4d48('0x82'),'content':_0x350be1(_0x41df6e,_0x4d48('0x20'),_0x350be1(_0x41df6e,_0x4d48('0x2c'),'\x22'+_0x3ddf3f['join']('\x20')+'\x22'))};}if(_0x4d48('0x51')==_0x27ec89[_0x4d48('0x34')]){const _0xe739bf=_0x27ec89[_0x4d48('0x18')]()[_0x4d48('0x35')](_0x355e36=>_0x355e36['is'](_0x4d48('0x7d')))[_0x4d48('0xd')](_0xd7b056=>_0xd7b056[_0x4d48('0x1')]);if(_0xe739bf[_0x4d48('0x5a')])return{'type':_0x4d48('0x51'),'content':_0x350be1(_0x41df6e,'*Remove:*\x20%0',_0x350be1(_0x41df6e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xe739bf['join']('\x20')+'\x22'))};}}}),_0x57bede['_descriptionFactory'][_0x4d48('0x7e')](_0x2f4a95=>{if(_0x4d48('0x10')==_0x2f4a95[_0x4d48('0x50')]){const _0x2b3aee=_0x2f4a95[_0x4d48('0x18')]()[_0x4d48('0x35')](_0x56aa09=>_0x56aa09['is'](_0x4d48('0x7d')))[_0x4d48('0xd')](_0x1e201d=>_0x1e201d[_0x4d48('0x1')]),_0x26b322=this[_0x4d48('0x7f')](_0x2f4a95),_0x3739c3=_0x26b322[_0x4d48('0x74')]-_0x26b322[_0x4d48('0x3a')]+0x1;if('insertion'==_0x2f4a95[_0x4d48('0x34')])return _0x2b3aee[_0x4d48('0x5a')]?{'type':'insertion','content':_0x350be1(_0x41df6e,'*Insert:*\x20%0',_0x350be1(_0x41df6e,_0x4d48('0x67'),[_0x3739c3,'\x22'+_0x2b3aee[_0x4d48('0x3')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x350be1(_0x41df6e,_0x4d48('0x20'),_0x350be1(_0x41df6e,'ELEMENT_TABLE_ROW',_0x3739c3))};if(_0x4d48('0x51')==_0x2f4a95[_0x4d48('0x34')])return _0x2b3aee[_0x4d48('0x5a')]?{'type':_0x4d48('0x51'),'content':_0x350be1(_0x41df6e,_0x4d48('0x30'),_0x350be1(_0x41df6e,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3739c3,'\x22'+_0x2b3aee[_0x4d48('0x3')]('\x20')+'\x22']))}:{'type':_0x4d48('0x51'),'content':_0x350be1(_0x41df6e,_0x4d48('0x30'),_0x350be1(_0x41df6e,_0x4d48('0x33'),_0x3739c3))};}if(_0x4d48('0x43')==_0x2f4a95[_0x4d48('0x50')]){const _0x308e95=_0x2f4a95[_0x4d48('0x18')]()[_0x4d48('0x35')](_0x5bc910=>_0x5bc910['is'](_0x4d48('0x7d')))[_0x4d48('0xd')](_0x5799b4=>_0x5799b4[_0x4d48('0x1')]),_0x5b8a31=this['_getSuggestionCoords'](_0x2f4a95),_0x5d8299=_0x5b8a31[_0x4d48('0x68')]-_0x5b8a31['minColumn']+0x1;if('insertion'==_0x2f4a95['type'])return _0x308e95[_0x4d48('0x5a')]?{'type':_0x4d48('0x82'),'content':_0x350be1(_0x41df6e,'*Insert:*\x20%0',_0x350be1(_0x41df6e,_0x4d48('0x5c'),[_0x5d8299,'\x22'+_0x308e95[_0x4d48('0x3')]('\x20')+'\x22']))}:{'type':_0x4d48('0x82'),'content':_0x350be1(_0x41df6e,_0x4d48('0x20'),_0x350be1(_0x41df6e,'ELEMENT_TABLE_COLUMN',_0x5d8299))};if(_0x4d48('0x51')==_0x2f4a95[_0x4d48('0x34')])return _0x308e95[_0x4d48('0x5a')]?{'type':_0x4d48('0x51'),'content':_0x350be1(_0x41df6e,_0x4d48('0x30'),_0x350be1(_0x41df6e,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5d8299,'\x22'+_0x308e95['join']('\x20')+'\x22']))}:{'type':_0x4d48('0x51'),'content':_0x350be1(_0x41df6e,_0x4d48('0x30'),_0x350be1(_0x41df6e,_0x4d48('0x73'),_0x5d8299))};}}),_0x57bede[_0x4d48('0x29')][_0x4d48('0x0')](_0x4d48('0x82'),_0x4d48('0x10'),_0x4d48('0x45'),_0x37b294),_0x57bede['_suggestionFactory'][_0x4d48('0x0')]('deletion',_0x4d48('0x10'),_0x4d48('0x63'),_0x37b294),_0x57bede['_suggestionFactory'][_0x4d48('0x0')](_0x4d48('0x82'),_0x4d48('0x43'),'discard',_0x225f86),_0x57bede[_0x4d48('0x29')]['registerCustomCallback'](_0x4d48('0x51'),_0x4d48('0x43'),_0x4d48('0x63'),_0x225f86),_0x57bede[_0x4d48('0x29')]['registerCustomCallback'](_0x4d48('0x82'),'tableColumn',_0x4d48('0x3'),_0x450da8),_0x57bede[_0x4d48('0x29')][_0x4d48('0x0')](_0x4d48('0x51'),_0x4d48('0x43'),_0x4d48('0x3'),_0x450da8),_0x57bede[_0x4d48('0x29')][_0x4d48('0x0')](_0x4d48('0x82'),'tableRow','join',_0x3c6d43),_0x57bede[_0x4d48('0x29')][_0x4d48('0x0')](_0x4d48('0x51'),'tableRow',_0x4d48('0x3'),_0x3c6d43);}[_0x4d48('0x47')](){const _0xc88b58=this[_0x4d48('0x27')],_0x2ee93d=_0xc88b58['model']['document'][_0x4d48('0x6')];return(_0x3af190,_0x4c6ad1)=>{_0xc88b58[_0x4d48('0x55')][_0x4d48('0xe')](_0x2be7b1=>{const {commandName:_0x37fe15,commandParams:_0x573970}=_0x4c6ad1;let _0xf74be1=_0x3af190[0x0][_0x4d48('0x6a')][_0x4d48('0x8')];_0x573970&&_0x573970[0x0]&&!0x1===_0x573970[0x0][_0x4d48('0x1c')]&&(_0xf74be1=_0x3af190[0x0]['start'][_0x4d48('0x58')]);const _0x10aa7c=_0x2be7b1[_0x4d48('0x2')](_0xf74be1);if(_0x4d48('0x83')==_0x10aa7c['root'][_0x4d48('0x5b')])return;const _0x26ab19=Array[_0x4d48('0x26')](_0x2ee93d['getRanges']())[_0x4d48('0xd')](_0x495f8f=>_0x5ea2e3[_0x4d48('0x12')](_0x495f8f));_0x2be7b1[_0x4d48('0x1e')](_0x10aa7c),_0xc88b58[_0x4d48('0x22')]['get'](_0x37fe15)[_0x4d48('0x65')](),_0x573970['push']({'forceDefaultExecution':!0x0}),_0xc88b58['execute'](_0x37fe15,..._0x573970);const _0x4aff73=_0x26ab19[_0x4d48('0x35')](_0x42017c=>_0x4d48('0x83')!=_0x42017c[_0x4d48('0x19')][_0x4d48('0x5b')]);_0x4aff73[_0x4d48('0x5a')]>0x0&&_0x2be7b1[_0x4d48('0x1e')](_0x4aff73);for(const _0x583c40 of _0x26ab19)_0x583c40[_0x4d48('0x40')]();});};}[_0x4d48('0x2b')](_0x416a8f){const _0x436b07=this['editor'][_0x4d48('0x13')][_0x4d48('0x52')](_0x4d48('0x81'));let _0x2a0730=Number[_0x4d48('0x64')],_0x3f2cad=Number[_0x4d48('0x46')],_0x3aaff0=Number['MAX_SAFE_INTEGER'],_0x541b4c=Number['MIN_SAFE_INTEGER'];for(const _0x52c73e of _0x416a8f){if(_0x4d48('0x83')==_0x52c73e[_0x4d48('0x19')][_0x4d48('0x5b')])continue;const {row:_0xa6f8de,column:_0x26bad4}=_0x436b07['getCellLocation'](_0x52c73e),_0x535798=_0x52c73e[_0x4d48('0x15')](_0x4d48('0x2d'))?_0x52c73e['getAttribute'](_0x4d48('0x2d'))-0x1:0x0,_0x244341=_0x52c73e[_0x4d48('0x15')](_0x4d48('0x48'))?_0x52c73e['getAttribute']('colspan')-0x1:0x0;_0x2a0730=_0xa6f8de<_0x2a0730?_0xa6f8de:_0x2a0730,_0x3f2cad=_0xa6f8de+_0x535798>_0x3f2cad?_0xa6f8de+_0x535798:_0x3f2cad,_0x3aaff0=_0x26bad4<_0x3aaff0?_0x26bad4:_0x3aaff0,_0x541b4c=_0x26bad4+_0x244341>_0x541b4c?_0x26bad4+_0x244341:_0x541b4c;}return{'minRow':_0x2a0730,'maxRow':_0x3f2cad,'minColumn':_0x3aaff0,'maxColumn':_0x541b4c};}['_setupColumnsRowsFixing'](){const _0x2d67b3=this['editor'],_0x4e810b=_0x2d67b3[_0x4d48('0x13')][_0x4d48('0x52')](_0x4d48('0x76')),_0x158b93=_0x2d67b3['plugins']['get'](_0x4d48('0x81'));_0x2d67b3[_0x4d48('0x55')]['document']['on'](_0x4d48('0x4b'),()=>{const _0x47ba2a=Array['from'](_0x2d67b3[_0x4d48('0x55')][_0x4d48('0xa')][_0x4d48('0xb')]['getChangedMarkers']());for(const {name:_0x1fe353,data:_0x7185c5}of _0x47ba2a){const {group:_0x16914f,id:_0x94318,subType:_0x27e90c}=_0x4e810b[_0x4d48('0x3d')](_0x1fe353);if(_0x4d48('0x6d')!=_0x16914f)continue;if(null!=_0x7185c5['oldRange'])continue;const _0x356ffe=_0x4e810b[_0x4d48('0x77')](_0x94318);this[_0x4d48('0x69')][_0x4d48('0x1a')](_0x27e90c)&&this[_0x4d48('0x37')]['add'](_0x356ffe);}},{'priority':'low'});const _0x41deaa=(_0x3bd78b,_0x74ab1)=>{let _0x57f26a=!0x1;const _0x534571=_0x74ab1[_0x4d48('0x84')](_0x3bd78b),_0x5809e9=_0x3bd78b[_0x4d48('0x49')](_0x4d48('0x4c')),_0x17eb72=_0x158b93[_0x4d48('0x79')](_0x3bd78b);for(const _0xd4c170 of this[_0x4d48('0x37')]){const _0x599b9b=_0xd4c170[_0x4d48('0x50')],_0x35aac6=_0x599b9b[_0x4d48('0x3c')](_0x4d48('0x6b')),_0x15db1e=_0x599b9b[_0x4d48('0x2a')](_0x35aac6?0xa:0x5),_0x5f25c7=_0x15db1e[_0x4d48('0x80')](),_0x56c88c=_0x5f25c7['substr'](0x0,0x3)+_0x4d48('0x1b'),_0x3db55f=_0x4d48('0x41')+_0x15db1e,_0x34fee5=_0x4d48('0x28')+_0x15db1e;if(!_0xd4c170[_0x4d48('0x53')])continue;if(_0x5809e9!=_0xd4c170[_0x4d48('0x5d')]()[_0x4d48('0x5f')]['findAncestor'](_0x4d48('0x4c')))continue;if(_0xd4c170['isIntersectingWithRange'](_0x534571))continue;const _0x4c5a35=_0x3bd78b[_0x4d48('0x15')](_0x56c88c)?_0x3bd78b[_0x4d48('0x2e')](_0x56c88c)-0x1:0x0,_0x4e4f44=this[_0x4d48('0x7f')](_0xd4c170),_0x2d7945=_0x4e4f44[_0x3db55f],_0x255171=_0x4e4f44[_0x34fee5];_0x2d7945<=_0x17eb72[_0x5f25c7]&&_0x17eb72[_0x5f25c7]+_0x4c5a35<=_0x255171&&(_0xd4c170[_0x4d48('0x4d')](_0x534571),_0x57f26a=!0x0);}return _0x57f26a;};_0x2d67b3[_0x4d48('0x55')][_0x4d48('0xa')]['registerPostFixer'](_0x1b156e=>{let _0x3f2d40=!0x1;for(const _0x402111 of _0x2d67b3[_0x4d48('0x55')][_0x4d48('0xa')]['differ'][_0x4d48('0x4')]())if('insert'==_0x402111[_0x4d48('0x34')]){if(_0x4d48('0x10')==_0x402111[_0x4d48('0x60')])for(const _0x396093 of _0x402111['position'][_0x4d48('0x58')][_0x4d48('0x2f')]())_0x3f2d40=_0x3f2d40||_0x41deaa(_0x396093,_0x1b156e);else'tableCell'==_0x402111[_0x4d48('0x60')]&&(_0x3f2d40=_0x3f2d40||_0x41deaa(_0x402111[_0x4d48('0x7c')][_0x4d48('0x58')],_0x1b156e));}return _0x3f2d40;});}[_0x4d48('0x7f')](_0x3eb672){return this['_getCoordsForCells'](_0x3eb672[_0x4d48('0x21')]()[_0x4d48('0xd')](_0x3ba049=>_0x3ba049[_0x4d48('0x5f')][_0x4d48('0x58')]));}}function se(_0x421d4c){return Array[_0x4d48('0x26')](new Set(_0x421d4c)['values']());}
|
|
23
|
+
const _0x19a0=['addClass','add','getColumnIndexes','_acceptFormatSuggestionCallbackFactory','$textProxy','insertTableRowBelow','isIntersectingWithRange','getSuggestion','startsWith','rootName','map','removeTableRow','isEqual','execute','addMarker:suggestion','end','removeClass','minRow','rowspan','includes','_suggestionFactory','tableRow','registerPostFixer','getChildren','root','order','batch','length','low','position','minColumn','highest','ELEMENT_TABLE_ROW_WITH_TEXT','isArray','first','TableUtils','editor','ELEMENT_TABLE_COLUMN_WITH_TEXT','_getSuggestionCoords','change','deletion','getCellLocation','push','last','nodeAfter','from','cell','*Remove:*\x20%0','getItems','insertTableColumnLeft','ELEMENT_TABLE_ROW','some','removeTableColumn','classes','max','table','insertTable','markMultiRangeInsertion','getSelectionAffectedTableCells','insertTableColumnRight','tableColumn','differ','_splitMarkerName','enqueueChange','ELEMENT_TABLE_COLUMN','downcastDispatcher','enableCommand','mapper','_descriptionFactory','plugins','_setupColumnsRowsFixing','tableCell','filter','getAttribute','get','commands','registerCustomCallback','suggestion','showSuggestionHighlights','refresh','_getCoordsForCells','insertion','findAncestor','writer','element','subType','join','_tablePostFixingSubtypes','document','discard','createRangeOn','above','min','ELEMENT_TABLE_WITH_TEXT','getChanges','createPositionAt','data','span','insertTableRowAbove','hasAttribute','values','TableEditing','colspan','getRanges','$graveyard','isTouching','substr','options','item','_tableSuggestions','getChangedMarkers','locale','TrackChangesEditing','*Insert:*\x20%0','createRangeIn','addRange','model','detach','selection','getContainedElement','name','maxRow','MIN_SAFE_INTEGER','maxColumn','setSelection','createTableWalker','afterInit','fromRange','type','accept','selectTableColumn','start','MAX_SAFE_INTEGER','toLowerCase'];(function(_0x486b49,_0x19a0e3){const _0x2d7a22=function(_0x5c9c62){while(--_0x5c9c62){_0x486b49['push'](_0x486b49['shift']());}};_0x2d7a22(++_0x19a0e3);}(_0x19a0,0x194));const _0x2d7a=function(_0x486b49,_0x19a0e3){_0x486b49=_0x486b49-0x0;let _0x2d7a22=_0x19a0[_0x486b49];return _0x2d7a22;};import{Plugin as _0x51afa7}from'ckeditor5/src/core';import{LiveRange as _0xa6c23}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2d03b2}from'ckeditor5/src/widget';import{getTranslation as _0x1f1ab7}from'../utils/common-translations';export default class mt extends _0x51afa7{constructor(_0x34faf3){super(_0x34faf3),this[_0x2d7a('0x55')]=['tableRow',_0x2d7a('0x3a')],this[_0x2d7a('0x6b')]=new Set();}[_0x2d7a('0x7c')](){const _0x2aed46=this[_0x2d7a('0x22')],_0x4a61ff=_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x56')]['selection'];if(!_0x2aed46[_0x2d7a('0x43')]['has'](_0x2d7a('0x63')))return;const _0x339bca=_0x2aed46[_0x2d7a('0x6d')],_0x689a0b=_0x2aed46['plugins'][_0x2d7a('0x48')]('TrackChangesEditing'),_0x390ee1=_0x2aed46[_0x2d7a('0x43')]['get']('TableUtils');_0x689a0b['_descriptionFactory']['registerElementLabel'](_0x2d7a('0x35'),_0x436f67=>_0x1f1ab7(_0x339bca,'ELEMENT_TABLE',_0x436f67)),this['_setupColumnsRowsFixing'](),_0x689a0b[_0x2d7a('0x40')](_0x2d7a('0x36')),_0x689a0b[_0x2d7a('0x40')]('selectTableRow'),_0x689a0b[_0x2d7a('0x40')](_0x2d7a('0x80'));for(const _0x592e1d of[_0x2d7a('0x60'),_0x2d7a('0x3')]){const _0x5cf946=_0x2aed46['commands'][_0x2d7a('0x48')](_0x592e1d);_0x689a0b[_0x2d7a('0x40')](_0x592e1d,_0x449bab=>{_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x25')](_0x3b8fb6=>{_0x449bab();const _0x556733=_0x2d7a('0x59')===_0x5cf946[_0x2d7a('0x17')],_0x3e2fc9=_0x390ee1[_0x2d7a('0x38')](_0x4a61ff),_0x4bc3b6=_0x390ee1['getRowIndexes'](_0x3e2fc9),_0x46975f=_0x556733?_0x4bc3b6[_0x2d7a('0x20')]-0x1:_0x4bc3b6[_0x2d7a('0x29')]+0x1,_0x3d7c91=_0x3e2fc9[0x0][_0x2d7a('0x50')](_0x2d7a('0x35')),_0x4ab9ed=_0x390ee1[_0x2d7a('0x7b')](_0x3d7c91,{'startRow':_0x46975f,'endRow':_0x46975f}),_0xa32049=Array['from'](_0x4ab9ed)[_0x2d7a('0x8')](_0x43c7dd=>_0x3b8fb6[_0x2d7a('0x58')](_0x43c7dd[_0x2d7a('0x2c')]));_0x689a0b[_0x2d7a('0x37')](_0xa32049,_0x2d7a('0x13'));});});}for(const _0x1d0368 of[_0x2d7a('0x2f'),_0x2d7a('0x39')]){const _0x2d1663=_0x2aed46['commands']['get'](_0x1d0368);_0x689a0b[_0x2d7a('0x40')](_0x1d0368,_0x439c85=>{_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x25')](_0x5df664=>{_0x439c85();const _0x2962e8='left'===_0x2d1663['order'],_0x577588=_0x390ee1[_0x2d7a('0x38')](_0x4a61ff),_0x51f55f=_0x390ee1[_0x2d7a('0x0')](_0x577588),_0x1482df=_0x2962e8?_0x51f55f[_0x2d7a('0x20')]-0x1:_0x51f55f[_0x2d7a('0x29')]+0x1,_0x3068bc=_0x577588[0x0][_0x2d7a('0x50')](_0x2d7a('0x35')),_0x552f64=_0x390ee1[_0x2d7a('0x7b')](_0x3068bc,{'startRow':0x0,'column':_0x1482df,'includeAllSlots':!0x1}),_0x4fd10d=Array[_0x2d7a('0x2b')](_0x552f64)['map'](_0x1ce61e=>_0x5df664[_0x2d7a('0x58')](_0x1ce61e[_0x2d7a('0x2c')]));_0x689a0b[_0x2d7a('0x37')](_0x4fd10d,_0x2d7a('0x3a'));});});}for(const _0x23657c of[_0x2d7a('0x9'),_0x2d7a('0x32')]){const _0x5b751a=_0x23657c[_0x2d7a('0x68')](0xb),_0x5abf9e=_0x5b751a[_0x2d7a('0x83')](),_0xd2a9a5=_0x5abf9e[_0x2d7a('0x68')](0x0,0x3)+'span',_0x341647=_0x2d7a('0x35')+_0x5b751a,_0x26b35d=_0x2d7a('0x5a')+_0x5b751a,_0x379bb0=_0x2d7a('0x34')+_0x5b751a;_0x689a0b[_0x2d7a('0x40')](_0x23657c,()=>{_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x25')](_0x3c3180=>{const _0x112189=_0x390ee1[_0x2d7a('0x38')](_0x4a61ff),_0x54e11e=_0x112189[0x0][_0x2d7a('0x50')](_0x2d7a('0x35'));let _0x203ddf;if(_0x2d7a('0x9')==_0x23657c){const _0x33f1db=_0x390ee1['getRowIndexes'](_0x112189);_0x203ddf={'startRow':_0x33f1db[_0x2d7a('0x20')],'endRow':_0x33f1db['last'],'includeAllSlots':!0x0};}else{const _0x1a16f5=_0x390ee1[_0x2d7a('0x0')](_0x112189);_0x203ddf={'startColumn':_0x1a16f5[_0x2d7a('0x20')],'endColumn':_0x1a16f5['last'],'includeAllSlots':!0x0};}const _0x1b1901=_0x390ee1[_0x2d7a('0x7b')](_0x54e11e,_0x203ddf),_0x5cd9a9=Array[_0x2d7a('0x2b')](_0x1b1901)[_0x2d7a('0x8')](({cell:_0x333b4f})=>_0x333b4f),_0x51c303=se(_0x5cd9a9[_0x2d7a('0x46')](_0x100601=>_0x100601[_0x2d7a('0x61')](_0xd2a9a5))),_0x1a1156=se(_0x5cd9a9['filter'](_0x165d39=>!_0x165d39[_0x2d7a('0x61')](_0xd2a9a5)))['map'](_0x30ee3e=>_0x3c3180['createRangeOn'](_0x30ee3e)),_0x45e515=_0x689a0b['markMultiRangeDeletion'](_0x1a1156,_0x341647);if(_0x45e515&&('tableRow'==_0x45e515[_0x2d7a('0x53')]||'tableColumn'==_0x45e515[_0x2d7a('0x53')])){const _0x1212a1=this['_getSuggestionCoords'](_0x45e515);for(const _0xf7c0ef of _0x51c303){const _0x3f8b05=_0x3c3180['createRangeOn'](_0xf7c0ef),_0x20a0cd=_0x390ee1[_0x2d7a('0x27')](_0xf7c0ef),_0x4da8d6=_0xf7c0ef[_0x2d7a('0x47')](_0xd2a9a5)-0x1,_0x556f9c=_0x1212a1[_0x26b35d],_0x3d1857=_0x1212a1[_0x379bb0];_0x556f9c<=_0x20a0cd[_0x5abf9e]&&_0x20a0cd[_0x5abf9e]+_0x4da8d6<=_0x3d1857&&_0x45e515[_0x2d7a('0x71')](_0x3f8b05);}}});});}function _0x36444f(_0x3c08b6){const _0x41a8b5=Array[_0x2d7a('0x2b')](_0x4a61ff[_0x2d7a('0x65')]())[_0x2d7a('0x8')](_0x37d9c1=>_0xa6c23[_0x2d7a('0x7d')](_0x37d9c1));_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x25')](_0x5002a0=>{const _0x445fa2=_0x5002a0[_0x2d7a('0x18')];_0x3c08b6=_0x3c08b6[_0x2d7a('0x46')](_0x590263=>_0x2d7a('0x66')!=_0x590263[_0x2d7a('0x16')][_0x2d7a('0x7')]),_0x5002a0[_0x2d7a('0x7a')](_0x3c08b6),_0x2aed46[_0x2d7a('0x49')][_0x2d7a('0x48')](_0x2d7a('0x9'))[_0x2d7a('0x4d')](),_0x2aed46[_0x2d7a('0xb')](_0x2d7a('0x9'),{'forceDefaultExecution':!0x0}),_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x3d')](()=>{_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x3d')](_0x445fa2,_0x255921=>{const _0x43950a=_0x41a8b5[_0x2d7a('0x46')](_0x393df1=>_0x2d7a('0x66')!=_0x393df1[_0x2d7a('0x16')][_0x2d7a('0x7')]);_0x43950a[_0x2d7a('0x19')]>0x0&&_0x255921['setSelection'](_0x43950a);for(const _0x550d1e of _0x41a8b5)_0x550d1e[_0x2d7a('0x73')]();});});});}function _0x142a30(_0x54e164){_0x2aed46[_0x2d7a('0x72')][_0x2d7a('0x25')](_0x54ee5a=>{const _0x3c5ebf=Array[_0x2d7a('0x2b')](_0x4a61ff[_0x2d7a('0x65')]())['map'](_0x212da6=>_0xa6c23['fromRange'](_0x212da6)),_0x28946d=[];for(const _0x143354 of _0x54e164)for(const _0x30fcc3 of _0x143354[_0x2d7a('0x2e')]({'shallow':!0x0}))_0x28946d['push'](_0x30fcc3);for(const _0x1e772d of _0x28946d)_0x2d7a('0x66')!=_0x1e772d[_0x2d7a('0x16')][_0x2d7a('0x7')]&&(_0x54ee5a['setSelection'](_0x54ee5a[_0x2d7a('0x5d')](_0x1e772d,0x0)),_0x2aed46['commands'][_0x2d7a('0x48')](_0x2d7a('0x32'))[_0x2d7a('0x4d')](),_0x2aed46[_0x2d7a('0xb')](_0x2d7a('0x32'),{'forceDefaultExecution':!0x0}));const _0x3d0c47=_0x3c5ebf['filter'](_0x42f592=>_0x2d7a('0x66')!=_0x42f592['root'][_0x2d7a('0x7')]);_0x3d0c47['length']>0x0&&_0x54ee5a['setSelection'](_0x3d0c47);for(const _0x11d9bb of _0x3c5ebf)_0x11d9bb[_0x2d7a('0x73')]();});}function _0xffb0c7(_0x22c4b7,_0x186107){return _0x186107['every'](_0x514566=>_0x22c4b7[_0x2d7a('0x31')](_0x59cf8c=>_0x59cf8c[_0x2d7a('0xd')][_0x2d7a('0xa')](_0x514566['start'])||_0x514566[_0x2d7a('0xd')][_0x2d7a('0xa')](_0x59cf8c['start'])));}function _0x13bbaa(_0x4477d6,_0x21e811){return _0x4477d6[_0x2d7a('0x31')](_0x4783af=>_0x21e811[_0x2d7a('0x31')](_0x9651d6=>_0x4783af[_0x2d7a('0xd')][_0x2d7a('0x67')](_0x9651d6['start'])));}_0x2aed46[_0x2d7a('0x5e')][_0x2d7a('0x3f')]['on'](_0x2d7a('0xc'),(_0x522ffa,_0x4c0fba,_0x1595a4)=>{if(!_0x1595a4[_0x2d7a('0x69')][_0x2d7a('0x4c')])return;const _0x110c99=_0x4c0fba[_0x2d7a('0x6a')];if(!_0x110c99)return;const _0x212003=_0x1595a4[_0x2d7a('0x41')]['toViewElement'](_0x110c99);function _0x48aa95(_0x1397b5){return Array[_0x2d7a('0x1f')](_0x1397b5)?_0x1397b5:[_0x1397b5];}_0x212003&&_0x2d7a('0x45')===_0x110c99[_0x2d7a('0x76')]&&_0x2d03b2(_0x212003,_0x1595a4[_0x2d7a('0x51')],(_0x3ad308,_0x55a070,_0x1c8ec5)=>_0x1c8ec5[_0x2d7a('0x84')](_0x48aa95(_0x55a070[_0x2d7a('0x33')]),_0x3ad308),(_0x2b7783,_0x5860af,_0x302f6e)=>_0x302f6e[_0x2d7a('0xe')](_0x48aa95(_0x5860af['classes']),_0x2b7783));},{'priority':_0x2d7a('0x1d')}),_0x689a0b[_0x2d7a('0x42')]['registerDescriptionCallback'](_0x3e6b94=>{if(_0x2d7a('0x4f')!=_0x3e6b94['type']&&'deletion'!=_0x3e6b94[_0x2d7a('0x7e')])return;const _0x4d2c80=_0x3e6b94[_0x2d7a('0x75')]();if(null!=_0x4d2c80&&_0x4d2c80['is'](_0x2d7a('0x52'),_0x2d7a('0x35'))){if(_0x2d7a('0x4f')==_0x3e6b94[_0x2d7a('0x7e')]){const _0x126ea4=_0x3e6b94[_0x2d7a('0x2e')]()[_0x2d7a('0x46')](_0x23bdc3=>_0x23bdc3['is'](_0x2d7a('0x2')))[_0x2d7a('0x8')](_0x1a7212=>_0x1a7212[_0x2d7a('0x5e')]);if(_0x126ea4[_0x2d7a('0x19')])return{'type':_0x2d7a('0x4f'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x6f'),_0x1f1ab7(_0x339bca,_0x2d7a('0x5b'),'\x22'+_0x126ea4[_0x2d7a('0x54')]('\x20')+'\x22'))};}if(_0x2d7a('0x26')==_0x3e6b94[_0x2d7a('0x7e')]){const _0x396018=_0x3e6b94[_0x2d7a('0x2e')]()[_0x2d7a('0x46')](_0xbaa5a2=>_0xbaa5a2['is'](_0x2d7a('0x2')))[_0x2d7a('0x8')](_0x1675ec=>_0x1675ec[_0x2d7a('0x5e')]);if(_0x396018[_0x2d7a('0x19')])return{'type':_0x2d7a('0x26'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x2d'),_0x1f1ab7(_0x339bca,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x396018[_0x2d7a('0x54')]('\x20')+'\x22'))};}}}),_0x689a0b[_0x2d7a('0x42')]['registerDescriptionCallback'](_0x52b51a=>{if(_0x2d7a('0x13')==_0x52b51a[_0x2d7a('0x53')]){const _0x1584d8=_0x52b51a[_0x2d7a('0x2e')]()[_0x2d7a('0x46')](_0x1a136f=>_0x1a136f['is'](_0x2d7a('0x2')))[_0x2d7a('0x8')](_0xdbeb7a=>_0xdbeb7a[_0x2d7a('0x5e')]),_0x430cb4=this['_getSuggestionCoords'](_0x52b51a),_0x6afdd3=_0x430cb4[_0x2d7a('0x77')]-_0x430cb4[_0x2d7a('0xf')]+0x1;if(_0x2d7a('0x4f')==_0x52b51a[_0x2d7a('0x7e')])return _0x1584d8[_0x2d7a('0x19')]?{'type':'insertion','content':_0x1f1ab7(_0x339bca,_0x2d7a('0x6f'),_0x1f1ab7(_0x339bca,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x6afdd3,'\x22'+_0x1584d8[_0x2d7a('0x54')]('\x20')+'\x22']))}:{'type':_0x2d7a('0x4f'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x6f'),_0x1f1ab7(_0x339bca,_0x2d7a('0x30'),_0x6afdd3))};if(_0x2d7a('0x26')==_0x52b51a[_0x2d7a('0x7e')])return _0x1584d8[_0x2d7a('0x19')]?{'type':_0x2d7a('0x26'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x2d'),_0x1f1ab7(_0x339bca,_0x2d7a('0x1e'),[_0x6afdd3,'\x22'+_0x1584d8[_0x2d7a('0x54')]('\x20')+'\x22']))}:{'type':_0x2d7a('0x26'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x2d'),_0x1f1ab7(_0x339bca,_0x2d7a('0x30'),_0x6afdd3))};}if(_0x2d7a('0x3a')==_0x52b51a[_0x2d7a('0x53')]){const _0x22773f=_0x52b51a[_0x2d7a('0x2e')]()[_0x2d7a('0x46')](_0x27e724=>_0x27e724['is'](_0x2d7a('0x2')))[_0x2d7a('0x8')](_0x12f3bb=>_0x12f3bb['data']),_0x22c23e=this[_0x2d7a('0x24')](_0x52b51a),_0x5c3592=_0x22c23e[_0x2d7a('0x79')]-_0x22c23e[_0x2d7a('0x1c')]+0x1;if(_0x2d7a('0x4f')==_0x52b51a[_0x2d7a('0x7e')])return _0x22773f[_0x2d7a('0x19')]?{'type':'insertion','content':_0x1f1ab7(_0x339bca,_0x2d7a('0x6f'),_0x1f1ab7(_0x339bca,_0x2d7a('0x23'),[_0x5c3592,'\x22'+_0x22773f[_0x2d7a('0x54')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x1f1ab7(_0x339bca,_0x2d7a('0x6f'),_0x1f1ab7(_0x339bca,_0x2d7a('0x3e'),_0x5c3592))};if(_0x2d7a('0x26')==_0x52b51a[_0x2d7a('0x7e')])return _0x22773f[_0x2d7a('0x19')]?{'type':_0x2d7a('0x26'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x2d'),_0x1f1ab7(_0x339bca,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5c3592,'\x22'+_0x22773f[_0x2d7a('0x54')]('\x20')+'\x22']))}:{'type':_0x2d7a('0x26'),'content':_0x1f1ab7(_0x339bca,_0x2d7a('0x2d'),_0x1f1ab7(_0x339bca,_0x2d7a('0x3e'),_0x5c3592))};}}),_0x689a0b[_0x2d7a('0x12')][_0x2d7a('0x4a')](_0x2d7a('0x4f'),_0x2d7a('0x13'),_0x2d7a('0x57'),_0x36444f),_0x689a0b[_0x2d7a('0x12')][_0x2d7a('0x4a')](_0x2d7a('0x26'),_0x2d7a('0x13'),'accept',_0x36444f),_0x689a0b[_0x2d7a('0x12')]['registerCustomCallback'](_0x2d7a('0x4f'),_0x2d7a('0x3a'),_0x2d7a('0x57'),_0x142a30),_0x689a0b[_0x2d7a('0x12')][_0x2d7a('0x4a')](_0x2d7a('0x26'),_0x2d7a('0x3a'),_0x2d7a('0x7f'),_0x142a30),_0x689a0b[_0x2d7a('0x12')][_0x2d7a('0x4a')](_0x2d7a('0x4f'),_0x2d7a('0x3a'),_0x2d7a('0x54'),_0xffb0c7),_0x689a0b['_suggestionFactory'][_0x2d7a('0x4a')](_0x2d7a('0x26'),'tableColumn',_0x2d7a('0x54'),_0xffb0c7),_0x689a0b[_0x2d7a('0x12')]['registerCustomCallback'](_0x2d7a('0x4f'),_0x2d7a('0x13'),_0x2d7a('0x54'),_0x13bbaa),_0x689a0b[_0x2d7a('0x12')][_0x2d7a('0x4a')](_0x2d7a('0x26'),'tableRow',_0x2d7a('0x54'),_0x13bbaa);}[_0x2d7a('0x1')](){const _0x4e858b=this[_0x2d7a('0x22')],_0x2e9920=_0x4e858b[_0x2d7a('0x72')][_0x2d7a('0x56')][_0x2d7a('0x74')];return(_0x5a837e,_0xb26b65)=>{_0x4e858b[_0x2d7a('0x72')]['change'](_0x292191=>{const {commandName:_0x21995d,commandParams:_0x282a6d}=_0xb26b65;let _0x339f15=_0x5a837e[0x0][_0x2d7a('0xd')]['nodeBefore'];_0x282a6d&&_0x282a6d[0x0]&&!0x1===_0x282a6d[0x0]['forceValue']&&(_0x339f15=_0x5a837e[0x0][_0x2d7a('0x81')][_0x2d7a('0x2a')]);const _0x43d26b=_0x292191[_0x2d7a('0x70')](_0x339f15);if('$graveyard'==_0x43d26b[_0x2d7a('0x16')][_0x2d7a('0x7')])return;const _0x40b6d9=Array[_0x2d7a('0x2b')](_0x2e9920['getRanges']())['map'](_0x535fbf=>_0xa6c23[_0x2d7a('0x7d')](_0x535fbf));_0x292191['setSelection'](_0x43d26b),_0x4e858b[_0x2d7a('0x49')][_0x2d7a('0x48')](_0x21995d)[_0x2d7a('0x4d')](),_0x282a6d[_0x2d7a('0x28')]({'forceDefaultExecution':!0x0}),_0x4e858b[_0x2d7a('0xb')](_0x21995d,..._0x282a6d);const _0x39a6f2=_0x40b6d9[_0x2d7a('0x46')](_0x48a994=>_0x2d7a('0x66')!=_0x48a994[_0x2d7a('0x16')][_0x2d7a('0x7')]);_0x39a6f2[_0x2d7a('0x19')]>0x0&&_0x292191[_0x2d7a('0x7a')](_0x39a6f2);for(const _0x37bc26 of _0x40b6d9)_0x37bc26[_0x2d7a('0x73')]();});};}[_0x2d7a('0x4e')](_0x3e23be){const _0x5801d1=this[_0x2d7a('0x22')][_0x2d7a('0x43')][_0x2d7a('0x48')](_0x2d7a('0x21'));let _0x1e9946=Number['MAX_SAFE_INTEGER'],_0x302a3e=Number['MIN_SAFE_INTEGER'],_0x5c67de=Number[_0x2d7a('0x82')],_0x18a655=Number[_0x2d7a('0x78')];for(const _0x561f44 of _0x3e23be){if(_0x2d7a('0x66')==_0x561f44[_0x2d7a('0x16')][_0x2d7a('0x7')])continue;const {row:_0x34d418,column:_0x42612c}=_0x5801d1[_0x2d7a('0x27')](_0x561f44),_0x2f993a=_0x561f44[_0x2d7a('0x61')](_0x2d7a('0x10'))?_0x561f44[_0x2d7a('0x47')](_0x2d7a('0x10'))-0x1:0x0,_0x13709a=_0x561f44[_0x2d7a('0x61')](_0x2d7a('0x64'))?_0x561f44['getAttribute']('colspan')-0x1:0x0;_0x1e9946=_0x34d418<_0x1e9946?_0x34d418:_0x1e9946,_0x302a3e=_0x34d418+_0x2f993a>_0x302a3e?_0x34d418+_0x2f993a:_0x302a3e,_0x5c67de=_0x42612c<_0x5c67de?_0x42612c:_0x5c67de,_0x18a655=_0x42612c+_0x13709a>_0x18a655?_0x42612c+_0x13709a:_0x18a655;}return{'minRow':_0x1e9946,'maxRow':_0x302a3e,'minColumn':_0x5c67de,'maxColumn':_0x18a655};}[_0x2d7a('0x44')](){const _0xd5b537=this['editor'],_0x4b7a3d=_0xd5b537[_0x2d7a('0x43')][_0x2d7a('0x48')](_0x2d7a('0x6e')),_0x501e48=_0xd5b537[_0x2d7a('0x43')][_0x2d7a('0x48')](_0x2d7a('0x21'));_0xd5b537['model'][_0x2d7a('0x56')]['on']('change:data',()=>{const _0x4ed033=Array[_0x2d7a('0x2b')](_0xd5b537[_0x2d7a('0x72')][_0x2d7a('0x56')][_0x2d7a('0x3b')][_0x2d7a('0x6c')]());for(const {name:_0x35df4a,data:_0x46c763}of _0x4ed033){const {group:_0x576331,id:_0xd198c7,subType:_0x4217c7}=_0x4b7a3d[_0x2d7a('0x3c')](_0x35df4a);if(_0x2d7a('0x4b')!=_0x576331)continue;if(null!=_0x46c763['oldRange'])continue;const _0x1c4e37=_0x4b7a3d[_0x2d7a('0x5')](_0xd198c7);this['_tablePostFixingSubtypes'][_0x2d7a('0x11')](_0x4217c7)&&this[_0x2d7a('0x6b')][_0x2d7a('0x85')](_0x1c4e37);}},{'priority':_0x2d7a('0x1a')});const _0x344681=(_0x13fdee,_0x3d2918)=>{let _0x5f50cd=!0x1;const _0x1ddecb=_0x3d2918['createRangeOn'](_0x13fdee),_0x1bed67=_0x13fdee[_0x2d7a('0x50')](_0x2d7a('0x35')),_0x327707=_0x501e48[_0x2d7a('0x27')](_0x13fdee);for(const _0x5d664c of this[_0x2d7a('0x6b')]){const _0x5dd928=_0x5d664c[_0x2d7a('0x53')],_0x543cc7=_0x5dd928[_0x2d7a('0x6')]('tablePaste'),_0x447ec7=_0x5dd928[_0x2d7a('0x68')](_0x543cc7?0xa:0x5),_0x5e0e89=_0x447ec7[_0x2d7a('0x83')](),_0x39a503=_0x5e0e89[_0x2d7a('0x68')](0x0,0x3)+_0x2d7a('0x5f'),_0x548300='min'+_0x447ec7,_0x4e7856=_0x2d7a('0x34')+_0x447ec7;if(!_0x5d664c['isInContent'])continue;if(_0x1bed67!=_0x5d664c['getFirstRange']()[_0x2d7a('0x81')]['findAncestor']('table'))continue;if(_0x5d664c[_0x2d7a('0x4')](_0x1ddecb))continue;const _0x16e3bb=_0x13fdee['hasAttribute'](_0x39a503)?_0x13fdee['getAttribute'](_0x39a503)-0x1:0x0,_0x298348=this[_0x2d7a('0x24')](_0x5d664c),_0x4608a0=_0x298348[_0x548300],_0x48ca14=_0x298348[_0x4e7856];_0x4608a0<=_0x327707[_0x5e0e89]&&_0x327707[_0x5e0e89]+_0x16e3bb<=_0x48ca14&&(_0x5d664c[_0x2d7a('0x71')](_0x1ddecb),_0x5f50cd=!0x0);}return _0x5f50cd;};_0xd5b537[_0x2d7a('0x72')]['document'][_0x2d7a('0x14')](_0xe0e83=>{let _0x48cdf0=!0x1;for(const _0x3d65de of _0xd5b537[_0x2d7a('0x72')][_0x2d7a('0x56')][_0x2d7a('0x3b')][_0x2d7a('0x5c')]())if('insert'==_0x3d65de['type']){if('tableRow'==_0x3d65de[_0x2d7a('0x76')])for(const _0x42f207 of _0x3d65de[_0x2d7a('0x1b')]['nodeAfter'][_0x2d7a('0x15')]())_0x48cdf0=_0x48cdf0||_0x344681(_0x42f207,_0xe0e83);else _0x2d7a('0x45')==_0x3d65de[_0x2d7a('0x76')]&&(_0x48cdf0=_0x48cdf0||_0x344681(_0x3d65de[_0x2d7a('0x1b')]['nodeAfter'],_0xe0e83));}return _0x48cdf0;});}['_getSuggestionCoords'](_0x305048){return this[_0x2d7a('0x4e')](_0x305048['getRanges']()['map'](_0x33b31e=>_0x33b31e[_0x2d7a('0x81')][_0x2d7a('0x2a')]));}}function se(_0x49bfff){return Array[_0x2d7a('0x2b')](new Set(_0x49bfff)[_0x2d7a('0x62')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36ab=['requires','has','TableCaptionEditing','afterInit','get','enableCommand','editor','TrackChangesEditing','plugins'];(function(_0x2b5923,_0x36ab1d){const _0x3ff23b=function(_0x32dccf){while(--_0x32dccf){_0x2b5923['push'](_0x2b5923['shift']());}};_0x3ff23b(++_0x36ab1d);}(_0x36ab,0x11a));const _0x3ff2=function(_0x2b5923,_0x36ab1d){_0x2b5923=_0x2b5923-0x0;let _0x3ff23b=_0x36ab[_0x2b5923];return _0x3ff23b;};import{Plugin as _0x5b4b4b}from'ckeditor5/src/core';import _0x6084c from'./table';export default class vt extends _0x5b4b4b{static get[_0x3ff2('0x6')](){return[_0x6084c];}[_0x3ff2('0x0')](){const _0xce977e=this[_0x3ff2('0x3')];if(!_0xce977e['plugins'][_0x3ff2('0x7')](_0x3ff2('0x8')))return;_0xce977e[_0x3ff2('0x5')][_0x3ff2('0x1')](_0x3ff2('0x4'))[_0x3ff2('0x2')]('toggleTableCaption');}}
|