@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230912.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 _0x3473=['insertTableColumnRight','toViewElement','createPositionAt','data','from','MAX_SAFE_INTEGER','getItems','options','_tableSuggestions','getRowIndexes','isTouching','getRanges','getSelectionAffectedTableCells','position','every','hasAttribute','insertTableRowBelow','isArray','accept','fromRange','_tablePostFixingSubtypes','TrackChangesEditing','locale','ELEMENT_TABLE_WITH_TEXT','registerElementLabel','_getSuggestionCoords','createRangeIn','insertTable','_splitMarkerName','plugins','createTableWalker','getChangedMarkers','downcastDispatcher','setSelection','nodeAfter','includes','$textProxy','enqueueChange','tableRow','toLowerCase','addMarker:suggestion','_setupColumnsRowsFixing','selectTableRow','ELEMENT_TABLE_COLUMN','selection','startsWith','change:data','selectTableColumn','getColumnIndexes','ELEMENT_TABLE_ROW','table','batch','getCellLocation','createRangeOn','map','registerCustomCallback','type','join','removeTableColumn','_getCoordsForCells','some','order','document','getFirstRange','highest','last','findAncestor','minRow','writer','name','isEqual','get','markMultiRangeInsertion','isInContent','max','rowspan','registerDescriptionCallback','nodeBefore','*Remove:*\x20%0','deletion','detach','insertion','removeTableRow','tableCell','oldRange','end','substr','mapper','insert','span','MIN_SAFE_INTEGER','TableUtils','cell','tableColumn','getAttribute','$graveyard','subType','tablePaste','refresh','removeClass','*Insert:*\x20%0','change','colspan','getChanges','has','getContainedElement','addClass','discard','filter','start','TableEditing','commands','differ','model','left','element','item','above','first','ELEMENT_TABLE_COLUMN_WITH_TEXT','root','length','enableCommand','editor','add','getChildren','rootName','_suggestionFactory','maxRow','_descriptionFactory'];(function(_0x5e4c61,_0x3473fb){const _0x5f5720=function(_0x34b258){while(--_0x34b258){_0x5e4c61['push'](_0x5e4c61['shift']());}};_0x5f5720(++_0x3473fb);}(_0x3473,0x1f0));const _0x5f57=function(_0x5e4c61,_0x3473fb){_0x5e4c61=_0x5e4c61-0x0;let _0x5f5720=_0x3473[_0x5e4c61];return _0x5f5720;};import{Plugin as _0x7e3525}from'ckeditor5/src/core';import{LiveRange as _0x2faa42}from'ckeditor5/src/engine';import{setHighlightHandling as _0x104ca5}from'ckeditor5/src/widget';import{getTranslation as _0x3e4497}from'../utils/common-translations';export default class mt extends _0x7e3525{constructor(_0x70a97f){super(_0x70a97f),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this[_0x5f57('0x20')]=new Set();}['afterInit'](){const _0x5a3aba=this[_0x5f57('0x11')],_0x4bc162=_0x5a3aba[_0x5f57('0x7')][_0x5f57('0x56')][_0x5f57('0x44')];if(!_0x5a3aba['plugins'][_0x5f57('0x80')](_0x5f57('0x4')))return;const _0x4f17de=_0x5a3aba[_0x5f57('0x2e')],_0xcd34a6=_0x5a3aba['plugins'][_0x5f57('0x5f')](_0x5f57('0x2d')),_0x4a90e5=_0x5a3aba[_0x5f57('0x35')][_0x5f57('0x5f')]('TableUtils');_0xcd34a6[_0x5f57('0x17')][_0x5f57('0x30')]('table',_0x2c2f99=>_0x3e4497(_0x4f17de,'ELEMENT_TABLE',_0x2c2f99)),this[_0x5f57('0x41')](),_0xcd34a6[_0x5f57('0x10')](_0x5f57('0x33')),_0xcd34a6[_0x5f57('0x10')](_0x5f57('0x42')),_0xcd34a6[_0x5f57('0x10')](_0x5f57('0x47'));for(const _0x211766 of['insertTableRowAbove',_0x5f57('0x28')]){const _0x13a577=_0x5a3aba[_0x5f57('0x5')][_0x5f57('0x5f')](_0x211766);_0xcd34a6[_0x5f57('0x10')](_0x211766,_0x178668=>{_0x5a3aba[_0x5f57('0x7')][_0x5f57('0x7d')](_0x198f8d=>{_0x178668();const _0x17d940=_0x5f57('0xb')===_0x13a577[_0x5f57('0x55')],_0xdbf504=_0x4a90e5[_0x5f57('0x24')](_0x4bc162),_0x43e645=_0x4a90e5[_0x5f57('0x21')](_0xdbf504),_0x23848f=_0x17d940?_0x43e645['first']-0x1:_0x43e645['last']+0x1,_0x9b04d0=_0xdbf504[0x0]['findAncestor'](_0x5f57('0x4a')),_0x413b7a=_0x4a90e5['createTableWalker'](_0x9b04d0,{'startRow':_0x23848f,'endRow':_0x23848f}),_0x2ec16e=Array[_0x5f57('0x1c')](_0x413b7a)[_0x5f57('0x4e')](_0x4cd445=>_0x198f8d[_0x5f57('0x4d')](_0x4cd445[_0x5f57('0x74')]));_0xcd34a6[_0x5f57('0x60')](_0x2ec16e,'tableRow');});});}for(const _0xfe1257 of['insertTableColumnLeft',_0x5f57('0x18')]){const _0x44a48e=_0x5a3aba['commands']['get'](_0xfe1257);_0xcd34a6['enableCommand'](_0xfe1257,_0x178ce8=>{_0x5a3aba[_0x5f57('0x7')]['change'](_0x24e790=>{_0x178ce8();const _0x21562d=_0x5f57('0x8')===_0x44a48e[_0x5f57('0x55')],_0x566244=_0x4a90e5[_0x5f57('0x24')](_0x4bc162),_0x5f4522=_0x4a90e5[_0x5f57('0x48')](_0x566244),_0x1f78d0=_0x21562d?_0x5f4522[_0x5f57('0xc')]-0x1:_0x5f4522[_0x5f57('0x59')]+0x1,_0x52aadf=_0x566244[0x0]['findAncestor'](_0x5f57('0x4a')),_0x3b5e0c=_0x4a90e5[_0x5f57('0x36')](_0x52aadf,{'startRow':0x0,'column':_0x1f78d0,'includeAllSlots':!0x1}),_0x5b8a3b=Array[_0x5f57('0x1c')](_0x3b5e0c)[_0x5f57('0x4e')](_0x51b7d9=>_0x24e790[_0x5f57('0x4d')](_0x51b7d9[_0x5f57('0x74')]));_0xcd34a6[_0x5f57('0x60')](_0x5b8a3b,_0x5f57('0x75'));});});}for(const _0x1400a3 of[_0x5f57('0x6a'),_0x5f57('0x52')]){const _0x4faf39=_0x1400a3[_0x5f57('0x6e')](0xb),_0x3a1600=_0x4faf39['toLowerCase'](),_0x4825bb=_0x3a1600[_0x5f57('0x6e')](0x0,0x3)+_0x5f57('0x71'),_0xfec83a=_0x5f57('0x4a')+_0x4faf39,_0x48dfe1='min'+_0x4faf39,_0x5a7d6b=_0x5f57('0x62')+_0x4faf39;_0xcd34a6['enableCommand'](_0x1400a3,()=>{_0x5a3aba[_0x5f57('0x7')][_0x5f57('0x7d')](_0x2ff404=>{const _0x3cf0cf=_0x4a90e5[_0x5f57('0x24')](_0x4bc162),_0x1c799d=_0x3cf0cf[0x0][_0x5f57('0x5a')](_0x5f57('0x4a'));let _0x53e5e2;if(_0x5f57('0x6a')==_0x1400a3){const _0x4a8af8=_0x4a90e5[_0x5f57('0x21')](_0x3cf0cf);_0x53e5e2={'startRow':_0x4a8af8['first'],'endRow':_0x4a8af8[_0x5f57('0x59')],'includeAllSlots':!0x0};}else{const _0x406ece=_0x4a90e5[_0x5f57('0x48')](_0x3cf0cf);_0x53e5e2={'startColumn':_0x406ece[_0x5f57('0xc')],'endColumn':_0x406ece[_0x5f57('0x59')],'includeAllSlots':!0x0};}const _0x2aa7e2=_0x4a90e5[_0x5f57('0x36')](_0x1c799d,_0x53e5e2),_0x95abe=Array[_0x5f57('0x1c')](_0x2aa7e2)['map'](({cell:_0x1d8106})=>_0x1d8106),_0x504f40=se(_0x95abe[_0x5f57('0x2')](_0x244a11=>_0x244a11[_0x5f57('0x27')](_0x4825bb))),_0xbcb427=se(_0x95abe[_0x5f57('0x2')](_0x585818=>!_0x585818[_0x5f57('0x27')](_0x4825bb)))[_0x5f57('0x4e')](_0xb72c0b=>_0x2ff404[_0x5f57('0x4d')](_0xb72c0b)),_0x28a332=_0xcd34a6['markMultiRangeDeletion'](_0xbcb427,_0xfec83a);if(_0x28a332&&(_0x5f57('0x3e')==_0x28a332[_0x5f57('0x78')]||_0x5f57('0x75')==_0x28a332['subType'])){const _0x45b88d=this[_0x5f57('0x31')](_0x28a332);for(const _0x5b4596 of _0x504f40){const _0x2a362a=_0x2ff404['createRangeOn'](_0x5b4596),_0x21147c=_0x4a90e5[_0x5f57('0x4c')](_0x5b4596),_0x2b1cd7=_0x5b4596[_0x5f57('0x76')](_0x4825bb)-0x1,_0x525cbc=_0x45b88d[_0x48dfe1],_0x18e145=_0x45b88d[_0x5a7d6b];_0x525cbc<=_0x21147c[_0x3a1600]&&_0x21147c[_0x3a1600]+_0x2b1cd7<=_0x18e145&&_0x28a332['addRange'](_0x2a362a);}}});});}function _0x2da1d8(_0x12d3f3){const _0x116ce0=Array['from'](_0x4bc162[_0x5f57('0x23')]())[_0x5f57('0x4e')](_0x883d68=>_0x2faa42['fromRange'](_0x883d68));_0x5a3aba[_0x5f57('0x7')][_0x5f57('0x7d')](_0xff9b6f=>{const _0x5c70b3=_0xff9b6f[_0x5f57('0x4b')];_0x12d3f3=_0x12d3f3[_0x5f57('0x2')](_0x2dcb24=>_0x5f57('0x77')!=_0x2dcb24[_0x5f57('0xe')]['rootName']),_0xff9b6f['setSelection'](_0x12d3f3),_0x5a3aba[_0x5f57('0x5')][_0x5f57('0x5f')](_0x5f57('0x6a'))[_0x5f57('0x7a')](),_0x5a3aba['execute'](_0x5f57('0x6a'),{'forceDefaultExecution':!0x0}),_0x5a3aba[_0x5f57('0x7')]['enqueueChange'](()=>{_0x5a3aba[_0x5f57('0x7')][_0x5f57('0x3d')](_0x5c70b3,_0x35d711=>{const _0x2ec242=_0x116ce0[_0x5f57('0x2')](_0x276f6e=>'$graveyard'!=_0x276f6e['root'][_0x5f57('0x14')]);_0x2ec242[_0x5f57('0xf')]>0x0&&_0x35d711[_0x5f57('0x39')](_0x2ec242);for(const _0x2f43d7 of _0x116ce0)_0x2f43d7[_0x5f57('0x68')]();});});});}function _0x442d31(_0x4b1d94){_0x5a3aba[_0x5f57('0x7')]['change'](_0x190aeb=>{const _0x1daad2=Array[_0x5f57('0x1c')](_0x4bc162[_0x5f57('0x23')]())['map'](_0x205905=>_0x2faa42[_0x5f57('0x2b')](_0x205905)),_0x300e58=[];for(const _0x215215 of _0x4b1d94)for(const _0x437f27 of _0x215215['getItems']({'shallow':!0x0}))_0x300e58['push'](_0x437f27);for(const _0x8b6d18 of _0x300e58)'$graveyard'!=_0x8b6d18[_0x5f57('0xe')][_0x5f57('0x14')]&&(_0x190aeb[_0x5f57('0x39')](_0x190aeb[_0x5f57('0x1a')](_0x8b6d18,0x0)),_0x5a3aba[_0x5f57('0x5')][_0x5f57('0x5f')]('removeTableColumn')[_0x5f57('0x7a')](),_0x5a3aba['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x18472d=_0x1daad2[_0x5f57('0x2')](_0x475617=>'$graveyard'!=_0x475617[_0x5f57('0xe')][_0x5f57('0x14')]);_0x18472d[_0x5f57('0xf')]>0x0&&_0x190aeb['setSelection'](_0x18472d);for(const _0xbab0af of _0x1daad2)_0xbab0af[_0x5f57('0x68')]();});}function _0x1556fc(_0x523ef8,_0x189baf){return _0x189baf[_0x5f57('0x26')](_0xe1c8a8=>_0x523ef8[_0x5f57('0x54')](_0x55c3fc=>_0x55c3fc['end'][_0x5f57('0x5e')](_0xe1c8a8[_0x5f57('0x3')])||_0xe1c8a8[_0x5f57('0x6d')][_0x5f57('0x5e')](_0x55c3fc[_0x5f57('0x3')])));}function _0x589b39(_0x209b0d,_0x336605){return _0x209b0d[_0x5f57('0x54')](_0x25e4bc=>_0x336605[_0x5f57('0x54')](_0x25f3ae=>_0x25e4bc['end'][_0x5f57('0x22')](_0x25f3ae[_0x5f57('0x3')])));}_0x5a3aba[_0x5f57('0x1b')][_0x5f57('0x38')]['on'](_0x5f57('0x40'),(_0x9da9ad,_0x4b64cc,_0x31ccd4)=>{if(!_0x31ccd4[_0x5f57('0x1f')]['showSuggestionHighlights'])return;const _0x4149c6=_0x4b64cc[_0x5f57('0xa')];if(!_0x4149c6)return;const _0x23d92b=_0x31ccd4[_0x5f57('0x6f')][_0x5f57('0x19')](_0x4149c6);function _0x1ced6f(_0x3f8120){return Array[_0x5f57('0x29')](_0x3f8120)?_0x3f8120:[_0x3f8120];}_0x23d92b&&_0x5f57('0x6b')===_0x4149c6[_0x5f57('0x5d')]&&_0x104ca5(_0x23d92b,_0x31ccd4[_0x5f57('0x5c')],(_0x57eeb0,_0x2c2b9f,_0x292644)=>_0x292644[_0x5f57('0x0')](_0x1ced6f(_0x2c2b9f['classes']),_0x57eeb0),(_0x1c3dba,_0x4471af,_0x16c9c6)=>_0x16c9c6[_0x5f57('0x7b')](_0x1ced6f(_0x4471af['classes']),_0x1c3dba));},{'priority':_0x5f57('0x58')}),_0xcd34a6[_0x5f57('0x17')][_0x5f57('0x64')](_0x1c2bdf=>{if('insertion'!=_0x1c2bdf[_0x5f57('0x50')]&&_0x5f57('0x67')!=_0x1c2bdf['type'])return;const _0x53725d=_0x1c2bdf[_0x5f57('0x81')]();if(null!=_0x53725d&&_0x53725d['is'](_0x5f57('0x9'),_0x5f57('0x4a'))){if(_0x5f57('0x69')==_0x1c2bdf[_0x5f57('0x50')]){const _0x201db7=_0x1c2bdf[_0x5f57('0x1e')]()[_0x5f57('0x2')](_0x55b6c0=>_0x55b6c0['is'](_0x5f57('0x3c')))['map'](_0x53b5ff=>_0x53b5ff[_0x5f57('0x1b')]);if(_0x201db7[_0x5f57('0xf')])return{'type':_0x5f57('0x69'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x7c'),_0x3e4497(_0x4f17de,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x201db7['join']('\x20')+'\x22'))};}if(_0x5f57('0x67')==_0x1c2bdf[_0x5f57('0x50')]){const _0x4e8e99=_0x1c2bdf[_0x5f57('0x1e')]()[_0x5f57('0x2')](_0x7dcefd=>_0x7dcefd['is'](_0x5f57('0x3c')))[_0x5f57('0x4e')](_0x58f016=>_0x58f016[_0x5f57('0x1b')]);if(_0x4e8e99['length'])return{'type':'deletion','content':_0x3e4497(_0x4f17de,_0x5f57('0x66'),_0x3e4497(_0x4f17de,_0x5f57('0x2f'),'\x22'+_0x4e8e99[_0x5f57('0x51')]('\x20')+'\x22'))};}}}),_0xcd34a6[_0x5f57('0x17')][_0x5f57('0x64')](_0x49c726=>{if('tableRow'==_0x49c726[_0x5f57('0x78')]){const _0x21898f=_0x49c726[_0x5f57('0x1e')]()['filter'](_0x54720a=>_0x54720a['is'](_0x5f57('0x3c')))[_0x5f57('0x4e')](_0xb92ac5=>_0xb92ac5[_0x5f57('0x1b')]),_0x330ef5=this['_getSuggestionCoords'](_0x49c726),_0x41dd69=_0x330ef5[_0x5f57('0x16')]-_0x330ef5[_0x5f57('0x5b')]+0x1;if(_0x5f57('0x69')==_0x49c726[_0x5f57('0x50')])return _0x21898f[_0x5f57('0xf')]?{'type':'insertion','content':_0x3e4497(_0x4f17de,_0x5f57('0x7c'),_0x3e4497(_0x4f17de,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x41dd69,'\x22'+_0x21898f[_0x5f57('0x51')]('\x20')+'\x22']))}:{'type':_0x5f57('0x69'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x7c'),_0x3e4497(_0x4f17de,_0x5f57('0x49'),_0x41dd69))};if(_0x5f57('0x67')==_0x49c726[_0x5f57('0x50')])return _0x21898f['length']?{'type':_0x5f57('0x67'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x66'),_0x3e4497(_0x4f17de,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x41dd69,'\x22'+_0x21898f[_0x5f57('0x51')]('\x20')+'\x22']))}:{'type':_0x5f57('0x67'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x66'),_0x3e4497(_0x4f17de,_0x5f57('0x49'),_0x41dd69))};}if(_0x5f57('0x75')==_0x49c726[_0x5f57('0x78')]){const _0x2f1b67=_0x49c726[_0x5f57('0x1e')]()['filter'](_0x5ecb39=>_0x5ecb39['is'](_0x5f57('0x3c')))[_0x5f57('0x4e')](_0x3c7157=>_0x3c7157['data']),_0x3f9249=this[_0x5f57('0x31')](_0x49c726),_0x3775e5=_0x3f9249['maxColumn']-_0x3f9249['minColumn']+0x1;if('insertion'==_0x49c726[_0x5f57('0x50')])return _0x2f1b67[_0x5f57('0xf')]?{'type':'insertion','content':_0x3e4497(_0x4f17de,'*Insert:*\x20%0',_0x3e4497(_0x4f17de,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3775e5,'\x22'+_0x2f1b67[_0x5f57('0x51')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3e4497(_0x4f17de,_0x5f57('0x7c'),_0x3e4497(_0x4f17de,_0x5f57('0x43'),_0x3775e5))};if(_0x5f57('0x67')==_0x49c726[_0x5f57('0x50')])return _0x2f1b67[_0x5f57('0xf')]?{'type':_0x5f57('0x67'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x66'),_0x3e4497(_0x4f17de,_0x5f57('0xd'),[_0x3775e5,'\x22'+_0x2f1b67[_0x5f57('0x51')]('\x20')+'\x22']))}:{'type':_0x5f57('0x67'),'content':_0x3e4497(_0x4f17de,_0x5f57('0x66'),_0x3e4497(_0x4f17de,'ELEMENT_TABLE_COLUMN',_0x3775e5))};}}),_0xcd34a6[_0x5f57('0x15')]['registerCustomCallback'](_0x5f57('0x69'),_0x5f57('0x3e'),_0x5f57('0x1'),_0x2da1d8),_0xcd34a6[_0x5f57('0x15')]['registerCustomCallback']('deletion',_0x5f57('0x3e'),_0x5f57('0x2a'),_0x2da1d8),_0xcd34a6[_0x5f57('0x15')]['registerCustomCallback'](_0x5f57('0x69'),'tableColumn',_0x5f57('0x1'),_0x442d31),_0xcd34a6['_suggestionFactory']['registerCustomCallback']('deletion',_0x5f57('0x75'),_0x5f57('0x2a'),_0x442d31),_0xcd34a6[_0x5f57('0x15')][_0x5f57('0x4f')](_0x5f57('0x69'),_0x5f57('0x75'),_0x5f57('0x51'),_0x1556fc),_0xcd34a6[_0x5f57('0x15')]['registerCustomCallback'](_0x5f57('0x67'),_0x5f57('0x75'),_0x5f57('0x51'),_0x1556fc),_0xcd34a6[_0x5f57('0x15')]['registerCustomCallback'](_0x5f57('0x69'),_0x5f57('0x3e'),'join',_0x589b39),_0xcd34a6[_0x5f57('0x15')][_0x5f57('0x4f')]('deletion','tableRow','join',_0x589b39);}['_acceptFormatSuggestionCallbackFactory'](){const _0x52f0ae=this[_0x5f57('0x11')],_0x166131=_0x52f0ae[_0x5f57('0x7')]['document'][_0x5f57('0x44')];return(_0x96c944,_0x579bc5)=>{_0x52f0ae[_0x5f57('0x7')]['change'](_0x2bdb2d=>{const {commandName:_0xd04c9e,commandParams:_0x22f4a2}=_0x579bc5;let _0x1acf1c=_0x96c944[0x0][_0x5f57('0x6d')][_0x5f57('0x65')];_0x22f4a2&&_0x22f4a2[0x0]&&!0x1===_0x22f4a2[0x0]['forceValue']&&(_0x1acf1c=_0x96c944[0x0]['start'][_0x5f57('0x3a')]);const _0xd38998=_0x2bdb2d[_0x5f57('0x32')](_0x1acf1c);if(_0x5f57('0x77')==_0xd38998['root'][_0x5f57('0x14')])return;const _0x5be059=Array[_0x5f57('0x1c')](_0x166131[_0x5f57('0x23')]())[_0x5f57('0x4e')](_0x5c34fa=>_0x2faa42[_0x5f57('0x2b')](_0x5c34fa));_0x2bdb2d[_0x5f57('0x39')](_0xd38998),_0x52f0ae[_0x5f57('0x5')][_0x5f57('0x5f')](_0xd04c9e)[_0x5f57('0x7a')](),_0x22f4a2['push']({'forceDefaultExecution':!0x0}),_0x52f0ae['execute'](_0xd04c9e,..._0x22f4a2);const _0x50d69e=_0x5be059[_0x5f57('0x2')](_0x599026=>_0x5f57('0x77')!=_0x599026[_0x5f57('0xe')]['rootName']);_0x50d69e[_0x5f57('0xf')]>0x0&&_0x2bdb2d[_0x5f57('0x39')](_0x50d69e);for(const _0x34c728 of _0x5be059)_0x34c728[_0x5f57('0x68')]();});};}[_0x5f57('0x53')](_0x5ca5c9){const _0x41a77b=this[_0x5f57('0x11')][_0x5f57('0x35')][_0x5f57('0x5f')](_0x5f57('0x73'));let _0x5d0367=Number[_0x5f57('0x1d')],_0x474053=Number[_0x5f57('0x72')],_0x4e3f7c=Number['MAX_SAFE_INTEGER'],_0x349db8=Number[_0x5f57('0x72')];for(const _0x484ff4 of _0x5ca5c9){if(_0x5f57('0x77')==_0x484ff4[_0x5f57('0xe')]['rootName'])continue;const {row:_0x48ebdd,column:_0x3b3668}=_0x41a77b[_0x5f57('0x4c')](_0x484ff4),_0x953dab=_0x484ff4[_0x5f57('0x27')]('rowspan')?_0x484ff4['getAttribute'](_0x5f57('0x63'))-0x1:0x0,_0x324f0b=_0x484ff4[_0x5f57('0x27')](_0x5f57('0x7e'))?_0x484ff4[_0x5f57('0x76')](_0x5f57('0x7e'))-0x1:0x0;_0x5d0367=_0x48ebdd<_0x5d0367?_0x48ebdd:_0x5d0367,_0x474053=_0x48ebdd+_0x953dab>_0x474053?_0x48ebdd+_0x953dab:_0x474053,_0x4e3f7c=_0x3b3668<_0x4e3f7c?_0x3b3668:_0x4e3f7c,_0x349db8=_0x3b3668+_0x324f0b>_0x349db8?_0x3b3668+_0x324f0b:_0x349db8;}return{'minRow':_0x5d0367,'maxRow':_0x474053,'minColumn':_0x4e3f7c,'maxColumn':_0x349db8};}[_0x5f57('0x41')](){const _0x4ba37b=this[_0x5f57('0x11')],_0x14585c=_0x4ba37b[_0x5f57('0x35')][_0x5f57('0x5f')](_0x5f57('0x2d')),_0x3a04b0=_0x4ba37b['plugins'][_0x5f57('0x5f')](_0x5f57('0x73'));_0x4ba37b['model'][_0x5f57('0x56')]['on'](_0x5f57('0x46'),()=>{const _0x59db60=Array['from'](_0x4ba37b[_0x5f57('0x7')]['document'][_0x5f57('0x6')][_0x5f57('0x37')]());for(const {name:_0x1fa1f5,data:_0x3cffe6}of _0x59db60){const {group:_0x1445ad,id:_0x4952d6,subType:_0x3300a0}=_0x14585c[_0x5f57('0x34')](_0x1fa1f5);if('suggestion'!=_0x1445ad)continue;if(null!=_0x3cffe6[_0x5f57('0x6c')])continue;const _0x35a29d=_0x14585c['getSuggestion'](_0x4952d6);this[_0x5f57('0x2c')][_0x5f57('0x3b')](_0x3300a0)&&this['_tableSuggestions'][_0x5f57('0x12')](_0x35a29d);}},{'priority':'low'});const _0x3e05f6=(_0x1486d8,_0x1823de)=>{let _0x33075d=!0x1;const _0x428c04=_0x1823de[_0x5f57('0x4d')](_0x1486d8),_0x456d3e=_0x1486d8[_0x5f57('0x5a')]('table'),_0x2c8d9b=_0x3a04b0[_0x5f57('0x4c')](_0x1486d8);for(const _0x45b10d of this[_0x5f57('0x20')]){const _0x488ef6=_0x45b10d['subType'],_0x139226=_0x488ef6[_0x5f57('0x45')](_0x5f57('0x79')),_0x30f7a7=_0x488ef6[_0x5f57('0x6e')](_0x139226?0xa:0x5),_0x1f3a16=_0x30f7a7[_0x5f57('0x3f')](),_0x3f9ab3=_0x1f3a16[_0x5f57('0x6e')](0x0,0x3)+'span',_0x443973='min'+_0x30f7a7,_0x2ca2d2=_0x5f57('0x62')+_0x30f7a7;if(!_0x45b10d[_0x5f57('0x61')])continue;if(_0x456d3e!=_0x45b10d[_0x5f57('0x57')]()['start'][_0x5f57('0x5a')](_0x5f57('0x4a')))continue;if(_0x45b10d['isIntersectingWithRange'](_0x428c04))continue;const _0x31759c=_0x1486d8['hasAttribute'](_0x3f9ab3)?_0x1486d8[_0x5f57('0x76')](_0x3f9ab3)-0x1:0x0,_0x5eacf0=this['_getSuggestionCoords'](_0x45b10d),_0x4c99ee=_0x5eacf0[_0x443973],_0x2ac70e=_0x5eacf0[_0x2ca2d2];_0x4c99ee<=_0x2c8d9b[_0x1f3a16]&&_0x2c8d9b[_0x1f3a16]+_0x31759c<=_0x2ac70e&&(_0x45b10d['addRange'](_0x428c04),_0x33075d=!0x0);}return _0x33075d;};_0x4ba37b['model'][_0x5f57('0x56')]['registerPostFixer'](_0x550a0d=>{let _0x53da0d=!0x1;for(const _0x3e2074 of _0x4ba37b[_0x5f57('0x7')][_0x5f57('0x56')]['differ'][_0x5f57('0x7f')]())if(_0x5f57('0x70')==_0x3e2074[_0x5f57('0x50')]){if(_0x5f57('0x3e')==_0x3e2074[_0x5f57('0x5d')])for(const _0x4212cc of _0x3e2074[_0x5f57('0x25')]['nodeAfter'][_0x5f57('0x13')]())_0x53da0d=_0x53da0d||_0x3e05f6(_0x4212cc,_0x550a0d);else _0x5f57('0x6b')==_0x3e2074[_0x5f57('0x5d')]&&(_0x53da0d=_0x53da0d||_0x3e05f6(_0x3e2074[_0x5f57('0x25')]['nodeAfter'],_0x550a0d));}return _0x53da0d;});}[_0x5f57('0x31')](_0xfb4a86){return this[_0x5f57('0x53')](_0xfb4a86[_0x5f57('0x23')]()[_0x5f57('0x4e')](_0x28d033=>_0x28d033[_0x5f57('0x3')]['nodeAfter']));}}function se(_0x4e52d0){return Array[_0x5f57('0x1c')](new Set(_0x4e52d0)['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');}}
|