@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230828.0 → 0.0.0-nightly-20230830.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.d.ts +29 -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 _0x4c3b=['_getSuggestionBlocks','from','markMultiRangeBlockFormat','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','forward','filter','config','push','createPositionAt','commandParams','TrackChangesEditing','bind','get','handleListStartCommand','replace','plugins','startIndex','listStyle','afterInit','change','model','before','format','getSelectedBlocks','element','_getTranslationKeyForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','*Change\x20to:*\x20%0','backward','_descriptionFactory','has','commandName','_LIST_','enableCommand','reversed','getSiblingNodes','getListTypeFromListStyleType','locale','listItem','toUpperCase','handleListReversedCommand','listType','handleListStyleCommand','selection','numbered','ListUtils','editor','handleDescriptions','registerDescriptionCallback','_getSuggestionBlocksForListStyle','createRange','flat','styles','map','listStart','listReversed','type','ListPropertiesEditing','list.properties','ELEMENT_','length'];(function(_0x2ca837,_0x4c3be6){const _0x4efc2d=function(_0x5c00b1){while(--_0x5c00b1){_0x2ca837['push'](_0x2ca837['shift']());}};_0x4efc2d(++_0x4c3be6);}(_0x4c3b,0x11f));const _0x4efc=function(_0x2ca837,_0x4c3be6){_0x2ca837=_0x2ca837-0x0;let _0x4efc2d=_0x4c3b[_0x2ca837];return _0x4efc2d;};import{Plugin as _0x4d2c22}from'ckeditor5/src/core';import{getTranslation as _0x4e06fe}from'../utils/common-translations';export default class st extends _0x4d2c22{[_0x4efc('0x35')](){if(!this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2')](_0x4efc('0x1d')))return;const _0x517989=this[_0x4efc('0x12')][_0x4efc('0x29')][_0x4efc('0x2f')](_0x4efc('0x1e')),_0x5ea283=this['editor'][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d'));_0x517989[_0x4efc('0x18')]&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x34'),this[_0x4efc('0xe')]['bind'](this)),_0x517989[_0x4efc('0x6')]&&_0x5ea283['enableCommand'](_0x4efc('0x1b'),this['handleListReversedCommand'][_0x4efc('0x2e')](this)),_0x517989['startIndex']&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x1a'),this['handleListStartCommand']['bind'](this)),_0x5ea283[_0x4efc('0x1')][_0x4efc('0x14')](this['handleDescriptions'][_0x4efc('0x2e')](this));}[_0x4efc('0xe')](_0xcac854,_0x3c2f55={}){const _0x3cdf3b=this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x2d')),_0x4a4966=this[_0x4efc('0x15')]();this['editor'][_0x4efc('0x37')]['change'](()=>{_0x3cdf3b[_0x4efc('0x23')](_0x4a4966,{'commandName':'listStyle','commandParams':[{'type':_0x3c2f55['type']}],'formatGroupId':'listStyle'});});}[_0x4efc('0xc')](_0x521ff2,_0x3490a0={}){const _0x50bf16=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x2d12fd=this['_getSuggestionBlocks'](_0x3e7790=>_0x3e7790['is'](_0x4efc('0x3b'),'listItem')&&'numbered'===_0x3e7790[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x2d12fd[_0x4efc('0x20')]<0x1)return;const _0x1b1874=_0x2d12fd[_0x4efc('0x19')](_0x4b999a=>this['editor'][_0x4efc('0x37')]['createRange'](this[_0x4efc('0x12')]['model'][_0x4efc('0x2b')](_0x4b999a,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x4b999a,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50bf16[_0x4efc('0x23')](_0x1b1874,{'commandName':_0x4efc('0x1b'),'commandParams':[{'reversed':_0x3490a0[_0x4efc('0x6')]}],'formatGroupId':_0x4efc('0x1b')});});}[_0x4efc('0x30')](_0x480c69,_0x1a447c={}){const _0x50b501=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x4cbfad=this[_0x4efc('0x21')](_0x45be86=>_0x45be86['is'](_0x4efc('0x3b'),_0x4efc('0xa'))&&_0x4efc('0x10')===_0x45be86[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x4cbfad[_0x4efc('0x20')]<0x1)return;const _0x12047c=_0x4cbfad[_0x4efc('0x19')](_0x243c6b=>this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x16')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50b501[_0x4efc('0x23')](_0x12047c,{'commandName':_0x4efc('0x1a'),'commandParams':[{'startIndex':_0x1a447c[_0x4efc('0x33')]}],'formatGroupId':_0x4efc('0x1a')});});}[_0x4efc('0x13')](_0x4e0fdb){const _0x3b03b3=this[_0x4efc('0x12')][_0x4efc('0x9')],{data:_0x1683f4}=_0x4e0fdb;if(!_0x1683f4)return;let _0x26ed59,_0x17428b;switch(_0x1683f4[_0x4efc('0x3')]){case _0x4efc('0x34'):_0x26ed59=_0x4efc('0x3f'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x4e06fe(_0x3b03b3,this[_0x4efc('0x3c')](_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x1c')])))};break;case _0x4efc('0x1b'):_0x26ed59=_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x6')]?_0x4efc('0x25'):'*Format:*\x20set\x20order\x20to\x20regular',_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59)};break;case'listStart':_0x26ed59=_0x4efc('0x3d'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x33')])};}return _0x17428b;}[_0x4efc('0x15')](){var _0x154d56,_0x5d4eae,_0x31ed71,_0x3897bc;const _0x32e179=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x11'));let _0x1b2e09=Array[_0x4efc('0x22')](this['editor']['model'][_0x4efc('0x3e')][_0x4efc('0xf')][_0x4efc('0x3a')]());return(null===(_0x154d56=_0x1b2e09[0x0])||void 0x0===_0x154d56?void 0x0:_0x154d56['is']('element','listItem'))&&_0x1b2e09['unshift'](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')][_0x4efc('0x37')]['document']['selection'][_0x4efc('0x26')](),_0x4efc('0x0'))),(null===(_0x5d4eae=_0x1b2e09[_0x1b2e09[_0x4efc('0x20')]-0x1])||void 0x0===_0x5d4eae?void 0x0:_0x5d4eae['is'](_0x4efc('0x3b'),_0x4efc('0xa')))&&_0x1b2e09[_0x4efc('0x2a')](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')]['model'][_0x4efc('0x3e')][_0x4efc('0xf')]['getLastPosition'](),'forward')),_0x1b2e09=[...new Set(_0x1b2e09)],(null===(_0x3897bc=null===(_0x31ed71=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x26')]())||void 0x0===_0x31ed71?void 0x0:_0x31ed71['parent'])||void 0x0===_0x3897bc?void 0x0:_0x3897bc['is']('element',_0x4efc('0xa')))&&(_0x1b2e09=_0x1b2e09['filter'](_0xa29344=>_0xa29344['is'](_0x4efc('0x3b'),'listItem'))),_0x1b2e09;}[_0x4efc('0x21')](_0x15a863){const _0x5c8b74=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')]('ListUtils');let _0x5e8193=Array[_0x4efc('0x22')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x3a')]())[_0x4efc('0x28')](_0x15a863)[_0x4efc('0x19')](_0x11411e=>{const _0x2e9e2d=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x11411e,0x0);return[..._0x5c8b74[_0x4efc('0x7')](_0x2e9e2d,'backward'),..._0x5c8b74['getSiblingNodes'](_0x2e9e2d,_0x4efc('0x27'))];})[_0x4efc('0x17')]();return _0x5e8193=[...new Set(_0x5e8193)],_0x5e8193;}['_getTranslationKeyForListStyle'](_0x251a70){return _0x4efc('0x1f')+this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x11'))[_0x4efc('0x8')](_0x251a70)[_0x4efc('0xb')]()+_0x4efc('0x4')+_0x251a70[_0x4efc('0xb')]()[_0x4efc('0x31')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a49=['_descriptionFactory','mediaEmbed','TrackChangesEditing','div','ELEMENT_MEDIA','attribute:url:media','has','showSuggestionHighlights','get','MediaEmbedEditing','conversion','downcastDispatcher','media','data','registerElementLabel','plugins'];(function(_0x4414cc,_0x5a493f){const _0x4fb800=function(_0x15c719){while(--_0x15c719){_0x4414cc['push'](_0x4414cc['shift']());}};_0x4fb800(++_0x5a493f);}(_0x5a49,0x182));const _0x4fb8=function(_0x4414cc,_0x5a493f){_0x4414cc=_0x4414cc-0x0;let _0x4fb800=_0x5a49[_0x4414cc];return _0x4fb800;};import{Plugin as _0x3d6e05}from'ckeditor5/src/core';import{getTranslation as _0x399e10}from'../utils/common-translations';export default class ot extends _0x3d6e05{['afterInit'](){const _0x2fa04f=this['editor'];if(!_0x2fa04f['plugins'][_0x4fb8('0x4')](_0x4fb8('0x7')))return;const _0x34e7a3=_0x2fa04f[_0x4fb8('0xd')][_0x4fb8('0x6')](_0x4fb8('0x0')),_0xd3d883=_0x2fa04f['locale'];_0x34e7a3['enableCommand'](_0x4fb8('0xf')),_0x34e7a3[_0x4fb8('0xe')][_0x4fb8('0xc')](_0x4fb8('0xa'),_0x380b12=>_0x399e10(_0xd3d883,_0x4fb8('0x2'),_0x380b12)),_0x2fa04f[_0x4fb8('0x8')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x48b447,{writer:_0x5c046a,options:_0x612b5b})=>{if(_0x612b5b['showSuggestionHighlights'])return _0x5c046a['createEmptyElement'](_0x4fb8('0x1'));},'converterPriority':'high'}),_0x2fa04f[_0x4fb8('0xb')][_0x4fb8('0x9')]['on'](_0x4fb8('0x3'),(_0x529eb0,_0x2afd2d,_0x19a0ad)=>{_0x19a0ad['options'][_0x4fb8('0x5')]&&_0x529eb0['stop']();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb73a=['MentionEditing','afterInit','mention','plugins','get','enableCommand'];(function(_0x2abaf0,_0xb73a23){const _0x3e7cd4=function(_0x5350d7){while(--_0x5350d7){_0x2abaf0['push'](_0x2abaf0['shift']());}};_0x3e7cd4(++_0xb73a23);}(_0xb73a,0x117));const _0x3e7c=function(_0x2abaf0,_0xb73a23){_0x2abaf0=_0x2abaf0-0x0;let _0x3e7cd4=_0xb73a[_0x2abaf0];return _0x3e7cd4;};import{Plugin as _0x2cfc66}from'ckeditor5/src/core';export default class rt extends _0x2cfc66{[_0x3e7c('0x4')](){const _0x57441e=this['editor'];_0x57441e[_0x3e7c('0x0')]['has'](_0x3e7c('0x3'))&&_0x57441e[_0x3e7c('0x0')][_0x3e7c('0x1')]('TrackChangesEditing')[_0x3e7c('0x2')](_0x3e7c('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13b0=['editor','TrackChangesEditing','enableCommand','afterInit','PageBreakEditing','plugins','registerElementLabel','_descriptionFactory','get'];(function(_0x4dbe5e,_0x13b039){const _0x35110a=function(_0x2644e2){while(--_0x2644e2){_0x4dbe5e['push'](_0x4dbe5e['shift']());}};_0x35110a(++_0x13b039);}(_0x13b0,0x1aa));const _0x3511=function(_0x4dbe5e,_0x13b039){_0x4dbe5e=_0x4dbe5e-0x0;let _0x35110a=_0x13b0[_0x4dbe5e];return _0x35110a;};import{Plugin as _0x181973}from'ckeditor5/src/core';import{getTranslation as _0x489efd}from'../utils/common-translations';export default class at extends _0x181973{[_0x3511('0x0')](){const _0x473d3a=this[_0x3511('0x6')];if(!_0x473d3a['plugins']['has'](_0x3511('0x1')))return;_0x473d3a['plugins']['get'](_0x3511('0x7'))[_0x3511('0x8')]('pageBreak');const _0x2851d7=_0x473d3a[_0x3511('0x2')][_0x3511('0x5')]('TrackChangesEditing'),_0x33ecd9=_0x473d3a['locale'];_0x2851d7[_0x3511('0x4')][_0x3511('0x3')]('pageBreak',_0x1edb82=>_0x489efd(_0x33ecd9,'ELEMENT_PAGE_BREAK',_0x1edb82));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2630=['insertion','model','data','has','highest','paragraph','selection','isTouching','ELEMENT_PARAGRAPH','start','markerRange','editor','markerName','mapper','Paragraph','type','registerElementLabel','$text','checkChild','isLimit','nodeAfter','filter','isBlock','addMarker:suggestion:insertion','end','writer','format','showSuggestionHighlights','toViewPosition','ck-suggestion-marker--active','insert','from','includes','activeMarkers','_descriptionFactory','document','ck-suggestion-marker-split','getItemLabel','insertParagraph','editing','addClass','enableCommand','*Change\x20to:*\x20%0','consumable','span','TrackChangesEditing','registerDescriptionCallback','change','plugins','markBlockFormat','parent','get','*Insert:*\x20%0','name','schema'];(function(_0x4b63cd,_0x2630ec){const _0x2f5a1f=function(_0x482235){while(--_0x482235){_0x4b63cd['push'](_0x4b63cd['shift']());}};_0x2f5a1f(++_0x2630ec);}(_0x2630,0x1a0));const _0x2f5a=function(_0x4b63cd,_0x2630ec){_0x4b63cd=_0x4b63cd-0x0;let _0x2f5a1f=_0x2630[_0x4b63cd];return _0x2f5a1f;};import{Plugin as _0xf054ab}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x31af16}from'./utils';import{getTranslation as _0x5d5752}from'../utils/common-translations';export default class ct extends _0xf054ab{['afterInit'](){const _0x216b11=this['editor'];if(!_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x1b')](_0x2f5a('0x26')))return;const _0x52afa0=_0x216b11['locale'],_0x55d6df=_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe'));_0x55d6df[_0x2f5a('0x3')][_0x2f5a('0x28')](_0x2f5a('0x1d'),_0x16d871=>_0x5d5752(_0x52afa0,_0x2f5a('0x20'),_0x16d871)),_0x55d6df['enableCommand'](_0x2f5a('0x1d'),(_0x2b6f7e,_0x13fe92={})=>{const _0x2dd2a0=_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x4')],_0x1cc778=_0x13fe92[_0x2f5a('0x1e')]||_0x2dd2a0[_0x2f5a('0x1e')],_0x5c4e1b=Array[_0x2f5a('0x0')](_0x1cc778['getSelectedBlocks']())[_0x2f5a('0x2d')](_0xe3afec=>function(_0x4449a5,_0x5eb9f5){return _0x5eb9f5[_0x2f5a('0x2a')](_0x4449a5[_0x2f5a('0x13')],_0x2f5a('0x1d'))&&!_0x5eb9f5['isObject'](_0x4449a5)&&_0x2f5a('0x1d')!=_0x4449a5[_0x2f5a('0x16')];}(_0xe3afec,this[_0x2f5a('0x23')][_0x2f5a('0x19')]['schema']));_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x10')](()=>{for(const _0x397ee8 of _0x5c4e1b)_0x55d6df[_0x2f5a('0x12')](_0x397ee8,{'commandName':_0x2f5a('0x1d'),'commandParams':[],'formatGroupId':'blockName'},_0x31af16(_0x397ee8));});}),_0x55d6df['_descriptionFactory'][_0x2f5a('0xf')](_0xedd446=>{const {data:_0xffe266}=_0xedd446;if(_0xffe266&&_0x2f5a('0x1d')==_0xffe266['commandName'])return{'type':_0x2f5a('0x32'),'content':_0x5d5752(_0x52afa0,_0x2f5a('0xb'),_0x5d5752(_0x52afa0,_0x2f5a('0x20')))};}),_0x55d6df[_0x2f5a('0xa')](_0x2f5a('0x7')),_0x216b11[_0x2f5a('0x8')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),ar(_0x216b11),{'priority':_0x2f5a('0x1c')}),_0x216b11[_0x2f5a('0x1a')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),(_0x4846dc,_0xdec762,_0x310ab4)=>{_0x310ab4['options'][_0x2f5a('0x33')]&&ar(_0x216b11,{'showActiveMarker':!0x1})(_0x4846dc,_0xdec762,_0x310ab4);},{'priority':_0x2f5a('0x1c')});const _0x2e8a59=_0x55d6df['_descriptionFactory'];_0x2e8a59['registerDescriptionCallback'](_0x3abae2=>{if(_0x2f5a('0x18')!==_0x3abae2[_0x2f5a('0x27')])return;const {start:_0x5bedd1,end:_0x2541ba}=_0x3abae2['getFirstRange']();if(!_0x5bedd1[_0x2f5a('0x1f')](_0x2541ba)||!_0x5bedd1[_0x2f5a('0x2c')])return;const _0x15d4d1=_0x216b11[_0x2f5a('0x19')]['schema'],_0x248987=_0x5bedd1['nodeAfter'];return _0x15d4d1[_0x2f5a('0x2e')](_0x248987)&&!_0x15d4d1[_0x2f5a('0x2b')](_0x248987)&&_0x15d4d1[_0x2f5a('0x2a')](_0x248987,'$text')?{'type':'insertion','content':_0x5d5752(_0x52afa0,_0x2f5a('0x15'),_0x2e8a59[_0x2f5a('0x6')](_0x248987,0x1))}:void 0x0;});}}function ar(_0x4d9caf,{showActiveMarker:_0x4afbde=!0x0}={}){return(_0x3257a5,_0x1f7b6b,_0x2375a0)=>{const _0x2cb150=_0x4d9caf[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe')),_0x3b50ea=_0x1f7b6b[_0x2f5a('0x22')][_0x2f5a('0x21')],_0x3e935e=_0x1f7b6b['markerRange'][_0x2f5a('0x30')],_0x164494=_0x4d9caf[_0x2f5a('0x19')][_0x2f5a('0x17')];if(!_0x3b50ea[_0x2f5a('0x1f')](_0x3e935e)||!_0x3b50ea[_0x2f5a('0x2c')])return;const _0xb33c01=_0x3b50ea[_0x2f5a('0x2c')];if(_0x164494[_0x2f5a('0x2e')](_0xb33c01)&&!_0x164494[_0x2f5a('0x2b')](_0xb33c01)&&_0x164494[_0x2f5a('0x2a')](_0xb33c01,_0x2f5a('0x29'))){if(!_0x2375a0[_0x2f5a('0xc')]['consume'](_0x1f7b6b[_0x2f5a('0x22')],_0x3257a5[_0x2f5a('0x16')]))return;const _0x116df9=_0x2375a0[_0x2f5a('0x31')]['createUIElement'](_0x2f5a('0xd'),{'class':_0x2f5a('0x5')}),_0x164b15=_0x2375a0['mapper'][_0x2f5a('0x34')](_0x3e935e);_0x4afbde&&_0x2cb150[_0x2f5a('0x2')][_0x2f5a('0x1')](_0x1f7b6b['markerName'])&&_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x9')](_0x2f5a('0x35'),_0x116df9),_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x36')](_0x164b15,_0x116df9),_0x2375a0[_0x2f5a('0x25')]['bindElementToMarker'](_0x116df9,_0x1f7b6b[_0x2f5a('0x24')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7cb9=['commandName','markInlineFormat','*Remove\x20all\x20formatting*','format','editor','model','RemoveFormatEditing','getAttributeProperties','createRangeOn','enableCommand','getRanges','schema','change','get','plugins','document','getItems','isCollapsed','locale','registerDescriptionCallback','selection','has','removeFormat','TrackChangesEditing'];(function(_0x4eebcd,_0x7cb92e){const _0x408eaa=function(_0x5cf20a){while(--_0x5cf20a){_0x4eebcd['push'](_0x4eebcd['shift']());}};_0x408eaa(++_0x7cb92e);}(_0x7cb9,0x1af));const _0x408e=function(_0x4eebcd,_0x7cb92e){_0x4eebcd=_0x4eebcd-0x0;let _0x408eaa=_0x7cb9[_0x4eebcd];return _0x408eaa;};import{Plugin as _0x496ff8}from'ckeditor5/src/core';import{getTranslation as _0x522d30}from'../utils/common-translations';export default class ht extends _0x496ff8{['afterInit'](){const _0x58d02c=this[_0x408e('0x5')];if(!_0x58d02c[_0x408e('0xf')][_0x408e('0x16')](_0x408e('0x7')))return;const _0x3a39b3=_0x58d02c[_0x408e('0xf')][_0x408e('0xe')](_0x408e('0x0'));_0x3a39b3[_0x408e('0xa')](_0x408e('0x17'),_0x3db74a=>{const _0x37bd1c=_0x58d02c[_0x408e('0x6')][_0x408e('0x10')][_0x408e('0x15')];_0x37bd1c[_0x408e('0x12')]?_0x3db74a():_0x58d02c['model'][_0x408e('0xd')](()=>{const _0x35ec6c=Array['from'](_0x37bd1c[_0x408e('0xb')]());for(const _0x4eab31 of _0x35ec6c)for(const _0x41c46c of _0x4eab31[_0x408e('0x11')]())mo(_0x41c46c,_0x58d02c[_0x408e('0x6')][_0x408e('0xc')])&&_0x3a39b3[_0x408e('0x2')](_0x58d02c[_0x408e('0x6')][_0x408e('0x9')](_0x41c46c),{'commandName':_0x408e('0x17'),'commandParams':[]});});}),_0x3a39b3['_descriptionFactory'][_0x408e('0x14')](_0x2e8e94=>{const {data:_0x4f057f}=_0x2e8e94;if(_0x4f057f&&_0x408e('0x17')==_0x4f057f[_0x408e('0x1')])return{'type':_0x408e('0x4'),'content':_0x522d30(_0x58d02c[_0x408e('0x13')],_0x408e('0x3'))};});}}function mo(_0x2c0e93,_0x2d97a4){for(const [_0x440d9e]of _0x2c0e93['getAttributes']()){const _0x367525=_0x2d97a4[_0x408e('0x8')](_0x440d9e);if(_0x367525&&_0x367525['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1590=['goToPreviousRestrictedEditingException','discardAllSuggestions','goToNextRestrictedEditingException','afterInit','TrackChangesEditing','plugins','enableCommand','acceptSelectedSuggestions','has','acceptAllSuggestions','discardSelectedSuggestions','RestrictedEditingModeEditing','discardSuggestion','acceptSuggestion'];(function(_0x57a17d,_0x159059){const _0x1ed74a=function(_0x9def72){while(--_0x9def72){_0x57a17d['push'](_0x57a17d['shift']());}};_0x1ed74a(++_0x159059);}(_0x1590,0x1d4));const _0x1ed7=function(_0x57a17d,_0x159059){_0x57a17d=_0x57a17d-0x0;let _0x1ed74a=_0x1590[_0x57a17d];return _0x1ed74a;};import{Plugin as _0x2973e9}from'ckeditor5/src/core';export default class ut extends _0x2973e9{[_0x1ed7('0xb')](){const _0x57348b=this['editor'];if(!_0x57348b['plugins'][_0x1ed7('0x2')](_0x1ed7('0x5')))return;const _0x322038=_0x57348b[_0x1ed7('0xd')]['get'](_0x1ed7('0xc'));_0x322038[_0x1ed7('0x0')](_0x1ed7('0x8')),_0x322038[_0x1ed7('0x0')](_0x1ed7('0xa'));const _0x4d158b=_0x57348b['plugins']['get'](_0x1ed7('0x5'));_0x4d158b[_0x1ed7('0x0')]('trackChanges'),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x7')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x6')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x3')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x9')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x1')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26a7=['TrackChangesEditing','showSuggestionHighlights','createPositionBefore','enableCommand','_descriptionFactory','addMarker:suggestion:deletion','plugins','split','span','toViewPosition','createUIElement','addClass','registerElementLabel','data','activeMarkers','addMarker:suggestion','includes','shiftEnter','name','options','writer','getItems','element','test','markerName','addMarker:suggestion:insertion','mapper','init','insert','high','downcastDispatcher','requires','deletion','bindElementToMarker','ck-suggestion-marker--active','ELEMENT_LINE_BREAK','softBreak','markerRange','model','get'];(function(_0x3cacf6,_0x26a798){const _0x5947d2=function(_0x5f383){while(--_0x5f383){_0x3cacf6['push'](_0x3cacf6['shift']());}};_0x5947d2(++_0x26a798);}(_0x26a7,0x163));const _0x5947=function(_0x3cacf6,_0x26a798){_0x3cacf6=_0x3cacf6-0x0;let _0x5947d2=_0x26a7[_0x3cacf6];return _0x5947d2;};import{Plugin as _0x3b0d0d}from'ckeditor5/src/core';import{ShiftEnter as _0x300048}from'ckeditor5/src/enter';import{getTranslation as _0xa178ee}from'../utils/common-translations';export default class ft extends _0x3b0d0d{static get[_0x5947('0x24')](){return[_0x300048];}[_0x5947('0x20')](){const _0x47b515=this['editor'],_0x596be5=_0x47b515[_0x5947('0xb')][_0x5947('0x4')]('TrackChangesEditing');_0x596be5[_0x5947('0x8')](_0x5947('0x16')),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0x1e'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0xa'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515[_0x5947('0x12')][_0x5947('0x23')]['on'](_0x5947('0x14'),(_0x195880,_0x214e64,_0x1ef7ef)=>{_0x1ef7ef[_0x5947('0x18')][_0x5947('0x6')]&&re(_0x47b515,{'showActiveMarker':!0x1})(_0x195880,_0x214e64,_0x1ef7ef);}),_0x596be5[_0x5947('0x9')][_0x5947('0x11')](_0x5947('0x1'),_0x176f3b=>_0xa178ee(_0x47b515['locale'],_0x5947('0x0'),_0x176f3b));}}function re(_0x2ab1fd,{showActiveMarker:_0x261386=!0x0}={}){return(_0x3d333f,_0x3e4fb0,_0x3a3eb8)=>{const _0xe98346=_0x2ab1fd[_0x5947('0xb')][_0x5947('0x4')](_0x5947('0x5'));if(!_0x3a3eb8['consumable'][_0x5947('0x1c')](_0x3e4fb0[_0x5947('0x2')],_0x3d333f[_0x5947('0x17')]))return;const _0x16eaec=_0x2ab1fd[_0x5947('0x3')];for(const _0x2658d9 of _0x3e4fb0[_0x5947('0x2')][_0x5947('0x1a')]()){if(!_0x2658d9['is'](_0x5947('0x1b'),_0x5947('0x1')))continue;const _0x2d96e3=_0x5947('0x25')==_0x3e4fb0['markerName'][_0x5947('0xc')](':')[0x1]?'merge':_0x5947('0xc'),_0xce8e66=_0x3a3eb8['writer'][_0x5947('0xf')](_0x5947('0xd'),{'class':'ck-suggestion-marker-'+_0x2d96e3}),_0x32e6a9=_0x3a3eb8[_0x5947('0x1f')][_0x5947('0xe')](_0x16eaec[_0x5947('0x7')](_0x2658d9));_0x261386&&_0xe98346[_0x5947('0x13')][_0x5947('0x15')](_0x3e4fb0[_0x5947('0x1d')])&&_0x3a3eb8[_0x5947('0x19')][_0x5947('0x10')](_0x5947('0x27'),_0xce8e66),_0x3a3eb8['writer'][_0x5947('0x21')](_0x32e6a9,_0xce8e66),_0x3a3eb8[_0x5947('0x1f')][_0x5947('0x26')](_0xce8e66,_0x3e4fb0[_0x5947('0x1d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c52=['get','getRanges','StandardEditingModeEditing','plugins','change','model','value','editor','_descriptionFactory','markInlineFormat','TrackChangesEditing','has','isCollapsed','forceValue','document','FORMAT_RESTRICTED_DISABLED','commandParams','from','commandName','afterInit','locale','enableCommand','format','registerDescriptionCallback','selection','restrictedEditingException'];(function(_0xd60acc,_0x5c526b){const _0x3487dd=function(_0x166456){while(--_0x166456){_0xd60acc['push'](_0xd60acc['shift']());}};_0x3487dd(++_0x5c526b);}(_0x5c52,0x9c));const _0x3487=function(_0xd60acc,_0x5c526b){_0xd60acc=_0xd60acc-0x0;let _0x3487dd=_0x5c52[_0xd60acc];return _0x3487dd;};import{Plugin as _0x11dd69}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x30ab88}from'./utils';import{getTranslation as _0x3be4c8}from'../utils/common-translations';export default class lt extends _0x11dd69{[_0x3487('0x13')](){const _0x164a61=this[_0x3487('0x7')],_0x110fde=_0x164a61[_0x3487('0x5')],_0x391f4c=_0x164a61[_0x3487('0x14')];if(!_0x164a61[_0x3487('0x3')][_0x3487('0xb')](_0x3487('0x2')))return;const _0x449b27=_0x164a61[_0x3487('0x3')][_0x3487('0x0')](_0x3487('0xa')),_0x4a331a=_0x3487('0x19'),_0x3e6b18=_0x164a61['commands'][_0x3487('0x0')](_0x4a331a);_0x449b27[_0x3487('0x15')](_0x4a331a,(_0x1d1622,_0x1ed762={})=>{const _0x17484f=_0x110fde[_0x3487('0xe')][_0x3487('0x18')];if(_0x17484f[_0x3487('0xc')])return void _0x1d1622(_0x1ed762);const _0x1449db=void 0x0!==_0x1ed762[_0x3487('0xd')]?_0x1ed762[_0x3487('0xd')]:!_0x3e6b18[_0x3487('0x6')];_0x110fde[_0x3487('0x4')](()=>{const _0x1e8f88=Array[_0x3487('0x11')](_0x17484f[_0x3487('0x1')]());for(const _0x3d4557 of _0x1e8f88){const _0x110f2e=_0x1449db?[_0x3d4557]:_0x30ab88(_0x4a331a,_0x3d4557,_0x110fde);for(const _0x2859cf of _0x110f2e)_0x449b27[_0x3487('0x9')](_0x2859cf,{'commandName':_0x4a331a,'commandParams':[{'forceValue':_0x1449db}]});}});}),_0x449b27[_0x3487('0x8')][_0x3487('0x17')](_0x1051b8=>{const {data:_0x1f0b66}=_0x1051b8;if(_0x1f0b66&&_0x1f0b66[_0x3487('0x12')]==_0x4a331a)return _0x1f0b66[_0x3487('0x10')][0x0]['forceValue']?{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,_0x3487('0xf'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1428=['_getRangesWithClasses','classes','toLowerCase','add','find','name','every','has','modelElements','commands','editor','style','value','format','markBlockFormat','block','push','isCollapsed','_descriptionFactory','Style','commandParams','plugins','includes','getRanges','_getStyleDefinition','*Format:*\x20%0','style:','getSelectedBlocks','createRangeOn','model','selection','inline','*Remove\x20format:*\x20%0','getItems','from','document','style.definitions','styleName','get','locale','DataSchema','enableCommand'];(function(_0x1517af,_0x142815){const _0x58feb3=function(_0x960780){while(--_0x960780){_0x1517af['push'](_0x1517af['shift']());}};_0x58feb3(++_0x142815);}(_0x1428,0xbc));const _0x58fe=function(_0x1517af,_0x142815){_0x1517af=_0x1517af-0x0;let _0x58feb3=_0x1428[_0x1517af];return _0x58feb3;};import{Plugin as _0x1cadbb}from'ckeditor5/src/core';import{getTranslation as _0x3d16e7}from'../utils/common-translations';export default class gt extends _0x1cadbb{['afterInit'](){const _0x5751c2=this[_0x58fe('0x20')];if(!_0x5751c2[_0x58fe('0x1')][_0x58fe('0x1d')](_0x58fe('0x29')))return;const _0x5bce63=_0x5751c2[_0x58fe('0x1f')][_0x58fe('0x12')](_0x58fe('0x21')),_0x46698a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('TrackChangesEditing'),_0x5122ac=_0x5751c2[_0x58fe('0x13')],_0x41eb71=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')](_0x58fe('0x14')),_0x57e00a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('StyleUtils')['normalizeConfig'](_0x41eb71,_0x5751c2['config'][_0x58fe('0x12')](_0x58fe('0x10')));_0x46698a[_0x58fe('0x15')]('style',(_0x262612,{styleName:_0x165613})=>{const _0x2945af=_0x5751c2['model'][_0x58fe('0xf')][_0x58fe('0xa')],_0x306c2f=this[_0x58fe('0x4')](_0x165613,_0x57e00a);if(!_0x306c2f)return;if(!_0x5bce63['enabledStyles'][_0x58fe('0x2')](_0x165613))return;if(_0x2945af[_0x58fe('0x27')]&&!_0x306c2f['isBlock'])return void _0x262612({'styleName':_0x165613});const _0x22ef61=!_0x5bce63[_0x58fe('0x22')]['includes'](_0x306c2f['name']);if(_0x306c2f['isBlock']){const _0x28c3cb=function(_0x251b09,_0xb63424){const _0x3eaf6e=new Set();for(const _0x25a168 of _0x251b09){const _0x27fb40=_0x25a168['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x434c82 of _0x27fb40)if(_0xb63424[_0x58fe('0x2')](_0x434c82[_0x58fe('0x1b')])){_0x3eaf6e[_0x58fe('0x19')](_0x434c82);break;}}return _0x3eaf6e;}(_0x2945af[_0x58fe('0x7')](),_0x306c2f[_0x58fe('0x1e')]);_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x4f61b3 of _0x28c3cb)_0x46698a[_0x58fe('0x24')](_0x4f61b3,{'commandName':'style','commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}],'formatGroupId':_0x58fe('0x6')+_0x165613});});}else{let _0x4ead31=Array[_0x58fe('0xe')](_0x2945af[_0x58fe('0x3')]());if(!_0x22ef61){const _0x517002=Array['from'](_0x41eb71['getDefinitionsForView'](_0x306c2f['element'],!0x1))[0x0][_0x58fe('0x9')],_0xb21c5c=[];for(const _0x4e4cff of _0x4ead31){const _0x174508=this[_0x58fe('0x16')](_0x5751c2[_0x58fe('0x9')],_0x4e4cff,_0x306c2f[_0x58fe('0x17')],_0x517002);_0xb21c5c[_0x58fe('0x26')](..._0x174508);}_0x4ead31=_0xb21c5c;}_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x42ffb8 of _0x4ead31)_0x46698a['markInlineFormat'](_0x42ffb8,{'commandName':_0x58fe('0x21'),'commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}]});});}}),_0x46698a[_0x58fe('0x28')]['registerDescriptionCallback'](_0x538e24=>{const {data:_0x40b53f}=_0x538e24;if(_0x40b53f&&_0x58fe('0x21')===_0x40b53f['commandName'])return _0x40b53f[_0x58fe('0x0')][0x0]['forceValue']?{'type':'format','content':_0x3d16e7(_0x5122ac,_0x58fe('0x5'),_0x40b53f['commandParams'][0x0][_0x58fe('0x11')][_0x58fe('0x18')]())}:{'type':_0x58fe('0x23'),'content':_0x3d16e7(_0x5122ac,_0x58fe('0xc'),_0x40b53f[_0x58fe('0x0')][0x0][_0x58fe('0x11')]['toLowerCase']())};});}[_0x58fe('0x4')](_0x3c48de,_0xcec2e3){let _0x5c878c=_0xcec2e3[_0x58fe('0x25')][_0x58fe('0x1a')](_0x4d6fb1=>_0x4d6fb1[_0x58fe('0x1b')]===_0x3c48de);return _0x5c878c||(_0x5c878c=_0xcec2e3[_0x58fe('0xb')][_0x58fe('0x1a')](_0xea5593=>_0xea5593[_0x58fe('0x1b')]===_0x3c48de)),_0x5c878c;}[_0x58fe('0x16')](_0x4f344e,_0x1743e2,_0x4a9220,_0x1321f8){const _0x5c9071=[];for(const _0x36a3b9 of _0x1743e2[_0x58fe('0xd')]()){const _0x36ce24=_0x36a3b9['getAttribute'](_0x1321f8);_0x36ce24&&(_0x4a9220[_0x58fe('0x1c')](_0x95af29=>_0x36ce24[_0x58fe('0x17')][_0x58fe('0x2')](_0x95af29))&&_0x5c9071[_0x58fe('0x26')](_0x4f344e[_0x58fe('0x8')](_0x36a3b9)));}return _0x5c9071;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3269=['getSelectionAffectedTableCells','filter','enqueueChange','commands','$graveyard','change','plugins','cell','isIntersectingWithRange','options','MIN_SAFE_INTEGER','_setupColumnsRowsFixing','order','downcastDispatcher','deletion','ELEMENT_TABLE_COLUMN','tablePaste','mapper','showSuggestionHighlights','data','highest','addMarker:suggestion','getRanges','minColumn','registerElementLabel','MAX_SAFE_INTEGER','join','end','selectTableRow','span','model','detach','first','getColumnIndexes','rootName','getFirstRange','position','ELEMENT_TABLE_ROW_WITH_TEXT','isTouching','locale','table','enableCommand','setSelection','insertTableColumnLeft','oldRange','removeTableRow','nodeAfter','insertion','fromRange','every','TrackChangesEditing','isArray','_suggestionFactory','forceValue','registerCustomCallback','createRangeIn','has','getChangedMarkers','rowspan','findAncestor','editor','registerDescriptionCallback','tableRow','_tableSuggestions','*Remove:*\x20%0','batch','_getCoordsForCells','accept','afterInit','type','getChildren','createRangeOn','tableColumn','max','discard','change:data','createTableWalker','differ','TableEditing','name','ELEMENT_TABLE','selectTableColumn','document','start','tableCell','execute','root','push','$textProxy','insertTableColumnRight','getAttribute','getContainedElement','getItems','hasAttribute','minRow','getRowIndexes','ELEMENT_TABLE_ROW','element','toLowerCase','createPositionAt','min','_splitMarkerName','from','addRange','substr','isInContent','ELEMENT_TABLE_WITH_TEXT','TableUtils','_acceptFormatSuggestionCallbackFactory','colspan','markMultiRangeInsertion','_tablePostFixingSubtypes','low','selection','item','addClass','insertTable','suggestion','insertTableRowAbove','isEqual','values','startsWith','removeTableColumn','some','*Insert:*\x20%0','_descriptionFactory','map','getCellLocation','_getSuggestionCoords','markMultiRangeDeletion','last','ELEMENT_TABLE_COLUMN_WITH_TEXT','removeClass','getChanges','left','classes','subType','refresh','length','get'];(function(_0x1b245f,_0x3269cb){const _0x447262=function(_0x4edb2c){while(--_0x4edb2c){_0x1b245f['push'](_0x1b245f['shift']());}};_0x447262(++_0x3269cb);}(_0x3269,0xd6));const _0x4472=function(_0x1b245f,_0x3269cb){_0x1b245f=_0x1b245f-0x0;let _0x447262=_0x3269[_0x1b245f];return _0x447262;};import{Plugin as _0x2398df}from'ckeditor5/src/core';import{LiveRange as _0x2e5f8b}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2d4a82}from'ckeditor5/src/widget';import{getTranslation as _0x3b2b54}from'../utils/common-translations';export default class mt extends _0x2398df{constructor(_0x914b58){super(_0x914b58),this[_0x4472('0x25')]=[_0x4472('0x80'),_0x4472('0x8a')],this[_0x4472('0x81')]=new Set();}[_0x4472('0x86')](){const _0x294429=this[_0x4472('0x7e')],_0x106fce=_0x294429[_0x4472('0x60')][_0x4472('0x8')]['selection'];if(!_0x294429[_0x4472('0x48')][_0x4472('0x7a')](_0x4472('0x4')))return;const _0x1b16cb=_0x294429[_0x4472('0x69')],_0x36a3fa=_0x294429['plugins']['get'](_0x4472('0x74')),_0xa286f2=_0x294429[_0x4472('0x48')][_0x4472('0x41')](_0x4472('0x21'));_0x36a3fa[_0x4472('0x33')][_0x4472('0x5a')](_0x4472('0x6a'),_0x60d28f=>_0x3b2b54(_0x1b16cb,_0x4472('0x6'),_0x60d28f)),this[_0x4472('0x4d')](),_0x36a3fa['enableCommand'](_0x4472('0x2a')),_0x36a3fa[_0x4472('0x6b')](_0x4472('0x5e')),_0x36a3fa[_0x4472('0x6b')](_0x4472('0x7'));for(const _0x11f61c of[_0x4472('0x2c'),'insertTableRowBelow']){const _0x588a83=_0x294429['commands']['get'](_0x11f61c);_0x36a3fa['enableCommand'](_0x11f61c,_0x293108=>{_0x294429[_0x4472('0x60')]['change'](_0x4015b7=>{_0x293108();const _0x136922='above'===_0x588a83[_0x4472('0x4e')],_0x3be4d1=_0xa286f2[_0x4472('0x42')](_0x106fce),_0x36adf0=_0xa286f2[_0x4472('0x15')](_0x3be4d1),_0xe3a128=_0x136922?_0x36adf0[_0x4472('0x62')]-0x1:_0x36adf0[_0x4472('0x38')]+0x1,_0x4f5669=_0x3be4d1[0x0][_0x4472('0x7d')](_0x4472('0x6a')),_0x1c4b1a=_0xa286f2[_0x4472('0x2')](_0x4f5669,{'startRow':_0xe3a128,'endRow':_0xe3a128}),_0x4e4071=Array['from'](_0x1c4b1a)[_0x4472('0x34')](_0x25fa5f=>_0x4015b7[_0x4472('0x89')](_0x25fa5f[_0x4472('0x49')]));_0x36a3fa[_0x4472('0x24')](_0x4e4071,'tableRow');});});}for(const _0x57af08 of[_0x4472('0x6d'),_0x4472('0xf')]){const _0x4cde64=_0x294429['commands']['get'](_0x57af08);_0x36a3fa['enableCommand'](_0x57af08,_0x56e9f9=>{_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x3532e9=>{_0x56e9f9();const _0x37b335=_0x4472('0x3c')===_0x4cde64[_0x4472('0x4e')],_0x26b85a=_0xa286f2['getSelectionAffectedTableCells'](_0x106fce),_0x374b92=_0xa286f2[_0x4472('0x63')](_0x26b85a),_0x19d1ee=_0x37b335?_0x374b92[_0x4472('0x62')]-0x1:_0x374b92['last']+0x1,_0x506dd4=_0x26b85a[0x0][_0x4472('0x7d')]('table'),_0x2b3cef=_0xa286f2[_0x4472('0x2')](_0x506dd4,{'startRow':0x0,'column':_0x19d1ee,'includeAllSlots':!0x1}),_0x32dd99=Array[_0x4472('0x1c')](_0x2b3cef)[_0x4472('0x34')](_0x3eb6ea=>_0x3532e9[_0x4472('0x89')](_0x3eb6ea[_0x4472('0x49')]));_0x36a3fa[_0x4472('0x24')](_0x32dd99,_0x4472('0x8a'));});});}for(const _0x3a0d11 of['removeTableRow','removeTableColumn']){const _0xd4c2c0=_0x3a0d11['substr'](0xb),_0x54daf3=_0xd4c2c0[_0x4472('0x18')](),_0x152ac7=_0x54daf3[_0x4472('0x1e')](0x0,0x3)+'span',_0x113e22=_0x4472('0x6a')+_0xd4c2c0,_0x2e52e2=_0x4472('0x1a')+_0xd4c2c0,_0x206e60='max'+_0xd4c2c0;_0x36a3fa[_0x4472('0x6b')](_0x3a0d11,()=>{_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x58c66d=>{const _0xa8dd62=_0xa286f2[_0x4472('0x42')](_0x106fce),_0x1fc210=_0xa8dd62[0x0][_0x4472('0x7d')](_0x4472('0x6a'));let _0x51ec8a;if('removeTableRow'==_0x3a0d11){const _0x3bfd59=_0xa286f2[_0x4472('0x15')](_0xa8dd62);_0x51ec8a={'startRow':_0x3bfd59[_0x4472('0x62')],'endRow':_0x3bfd59[_0x4472('0x38')],'includeAllSlots':!0x0};}else{const _0x566973=_0xa286f2[_0x4472('0x63')](_0xa8dd62);_0x51ec8a={'startColumn':_0x566973['first'],'endColumn':_0x566973[_0x4472('0x38')],'includeAllSlots':!0x0};}const _0x2be958=_0xa286f2['createTableWalker'](_0x1fc210,_0x51ec8a),_0x31993f=Array[_0x4472('0x1c')](_0x2be958)[_0x4472('0x34')](({cell:_0x3e8e0c})=>_0x3e8e0c),_0x4c818c=se(_0x31993f[_0x4472('0x43')](_0xa5d642=>_0xa5d642[_0x4472('0x13')](_0x152ac7))),_0x5c180e=se(_0x31993f[_0x4472('0x43')](_0x82ace8=>!_0x82ace8[_0x4472('0x13')](_0x152ac7)))[_0x4472('0x34')](_0xddd872=>_0x58c66d[_0x4472('0x89')](_0xddd872)),_0x18e0e0=_0x36a3fa[_0x4472('0x37')](_0x5c180e,_0x113e22);if(_0x18e0e0&&(_0x4472('0x80')==_0x18e0e0[_0x4472('0x3e')]||_0x4472('0x8a')==_0x18e0e0[_0x4472('0x3e')])){const _0x44fa23=this[_0x4472('0x36')](_0x18e0e0);for(const _0x38cc79 of _0x4c818c){const _0x1f5e87=_0x58c66d[_0x4472('0x89')](_0x38cc79),_0x4beae6=_0xa286f2[_0x4472('0x35')](_0x38cc79),_0x3def20=_0x38cc79[_0x4472('0x10')](_0x152ac7)-0x1,_0x15839b=_0x44fa23[_0x2e52e2],_0x4fee9=_0x44fa23[_0x206e60];_0x15839b<=_0x4beae6[_0x54daf3]&&_0x4beae6[_0x54daf3]+_0x3def20<=_0x4fee9&&_0x18e0e0[_0x4472('0x1d')](_0x1f5e87);}}});});}function _0xe63e34(_0x3d8724){const _0x489c1b=Array[_0x4472('0x1c')](_0x106fce[_0x4472('0x58')]())['map'](_0xc9c1ad=>_0x2e5f8b[_0x4472('0x72')](_0xc9c1ad));_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x5554fc=>{const _0x1d5ca2=_0x5554fc[_0x4472('0x83')];_0x3d8724=_0x3d8724['filter'](_0x5b3b20=>_0x4472('0x46')!=_0x5b3b20[_0x4472('0xc')][_0x4472('0x64')]),_0x5554fc['setSelection'](_0x3d8724),_0x294429[_0x4472('0x45')][_0x4472('0x41')](_0x4472('0x6f'))['refresh'](),_0x294429[_0x4472('0xb')](_0x4472('0x6f'),{'forceDefaultExecution':!0x0}),_0x294429[_0x4472('0x60')][_0x4472('0x44')](()=>{_0x294429[_0x4472('0x60')][_0x4472('0x44')](_0x1d5ca2,_0x4c8997=>{const _0x56c862=_0x489c1b[_0x4472('0x43')](_0x2bea89=>_0x4472('0x46')!=_0x2bea89[_0x4472('0xc')][_0x4472('0x64')]);_0x56c862[_0x4472('0x40')]>0x0&&_0x4c8997[_0x4472('0x6c')](_0x56c862);for(const _0x24af60 of _0x489c1b)_0x24af60[_0x4472('0x61')]();});});});}function _0x293f25(_0x314539){_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x392597=>{const _0x860879=Array[_0x4472('0x1c')](_0x106fce[_0x4472('0x58')]())[_0x4472('0x34')](_0x155415=>_0x2e5f8b[_0x4472('0x72')](_0x155415)),_0x22f982=[];for(const _0x3e35bc of _0x314539)for(const _0x3177ac of _0x3e35bc[_0x4472('0x12')]({'shallow':!0x0}))_0x22f982[_0x4472('0xd')](_0x3177ac);for(const _0xc9b2d of _0x22f982)'$graveyard'!=_0xc9b2d[_0x4472('0xc')]['rootName']&&(_0x392597['setSelection'](_0x392597[_0x4472('0x19')](_0xc9b2d,0x0)),_0x294429[_0x4472('0x45')][_0x4472('0x41')](_0x4472('0x30'))[_0x4472('0x3f')](),_0x294429['execute'](_0x4472('0x30'),{'forceDefaultExecution':!0x0}));const _0xe315cd=_0x860879[_0x4472('0x43')](_0x39fe3d=>_0x4472('0x46')!=_0x39fe3d['root']['rootName']);_0xe315cd[_0x4472('0x40')]>0x0&&_0x392597[_0x4472('0x6c')](_0xe315cd);for(const _0x277f27 of _0x860879)_0x277f27[_0x4472('0x61')]();});}function _0x440f43(_0xb18796,_0x1d0580){return _0x1d0580[_0x4472('0x73')](_0x17075f=>_0xb18796[_0x4472('0x31')](_0x4339fe=>_0x4339fe['end'][_0x4472('0x2d')](_0x17075f['start'])||_0x17075f[_0x4472('0x5d')][_0x4472('0x2d')](_0x4339fe[_0x4472('0x9')])));}function _0x495c49(_0x344904,_0x194555){return _0x344904[_0x4472('0x31')](_0x457e1a=>_0x194555[_0x4472('0x31')](_0x4c559a=>_0x457e1a[_0x4472('0x5d')][_0x4472('0x68')](_0x4c559a[_0x4472('0x9')])));}_0x294429[_0x4472('0x55')][_0x4472('0x4f')]['on'](_0x4472('0x57'),(_0x160ad8,_0x2ebc6e,_0x39542c)=>{if(!_0x39542c[_0x4472('0x4b')][_0x4472('0x54')])return;const _0x33776f=_0x2ebc6e[_0x4472('0x28')];if(!_0x33776f)return;const _0x1fdb0b=_0x39542c[_0x4472('0x53')]['toViewElement'](_0x33776f);function _0x1a8d88(_0x107707){return Array[_0x4472('0x75')](_0x107707)?_0x107707:[_0x107707];}_0x1fdb0b&&'tableCell'===_0x33776f[_0x4472('0x5')]&&_0x2d4a82(_0x1fdb0b,_0x39542c['writer'],(_0x2fc625,_0x312f62,_0x6561a6)=>_0x6561a6[_0x4472('0x29')](_0x1a8d88(_0x312f62[_0x4472('0x3d')]),_0x2fc625),(_0x242827,_0x260de9,_0xed0ef0)=>_0xed0ef0[_0x4472('0x3a')](_0x1a8d88(_0x260de9[_0x4472('0x3d')]),_0x242827));},{'priority':_0x4472('0x56')}),_0x36a3fa[_0x4472('0x33')][_0x4472('0x7f')](_0x2116ef=>{if(_0x4472('0x71')!=_0x2116ef[_0x4472('0x87')]&&_0x4472('0x50')!=_0x2116ef[_0x4472('0x87')])return;const _0x5959e0=_0x2116ef[_0x4472('0x11')]();if(null!=_0x5959e0&&_0x5959e0['is'](_0x4472('0x17'),'table')){if('insertion'==_0x2116ef[_0x4472('0x87')]){const _0x442576=_0x2116ef[_0x4472('0x12')]()[_0x4472('0x43')](_0x493333=>_0x493333['is'](_0x4472('0xe')))[_0x4472('0x34')](_0x3392c3=>_0x3392c3[_0x4472('0x55')]);if(_0x442576[_0x4472('0x40')])return{'type':_0x4472('0x71'),'content':_0x3b2b54(_0x1b16cb,'*Insert:*\x20%0',_0x3b2b54(_0x1b16cb,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x442576[_0x4472('0x5c')]('\x20')+'\x22'))};}if(_0x4472('0x50')==_0x2116ef[_0x4472('0x87')]){const _0x56cac4=_0x2116ef[_0x4472('0x12')]()['filter'](_0x3fc8c1=>_0x3fc8c1['is']('$textProxy'))[_0x4472('0x34')](_0x553dee=>_0x553dee[_0x4472('0x55')]);if(_0x56cac4[_0x4472('0x40')])return{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x20'),'\x22'+_0x56cac4[_0x4472('0x5c')]('\x20')+'\x22'))};}}}),_0x36a3fa[_0x4472('0x33')]['registerDescriptionCallback'](_0x34bfff=>{if('tableRow'==_0x34bfff['subType']){const _0x4ccc55=_0x34bfff['getItems']()[_0x4472('0x43')](_0x58177e=>_0x58177e['is']('$textProxy'))['map'](_0xf3790e=>_0xf3790e[_0x4472('0x55')]),_0x3ac1f0=this[_0x4472('0x36')](_0x34bfff),_0x39c95f=_0x3ac1f0['maxRow']-_0x3ac1f0[_0x4472('0x14')]+0x1;if(_0x4472('0x71')==_0x34bfff[_0x4472('0x87')])return _0x4ccc55['length']?{'type':'insertion','content':_0x3b2b54(_0x1b16cb,'*Insert:*\x20%0',_0x3b2b54(_0x1b16cb,_0x4472('0x67'),[_0x39c95f,'\x22'+_0x4ccc55[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x71'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x16'),_0x39c95f))};if(_0x4472('0x50')==_0x34bfff[_0x4472('0x87')])return _0x4ccc55[_0x4472('0x40')]?{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x67'),[_0x39c95f,'\x22'+_0x4ccc55[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,'ELEMENT_TABLE_ROW',_0x39c95f))};}if(_0x4472('0x8a')==_0x34bfff['subType']){const _0x55100b=_0x34bfff[_0x4472('0x12')]()['filter'](_0x4dbbb6=>_0x4dbbb6['is']('$textProxy'))['map'](_0x20fd15=>_0x20fd15[_0x4472('0x55')]),_0x7f002f=this[_0x4472('0x36')](_0x34bfff),_0x503b93=_0x7f002f['maxColumn']-_0x7f002f[_0x4472('0x59')]+0x1;if(_0x4472('0x71')==_0x34bfff[_0x4472('0x87')])return _0x55100b[_0x4472('0x40')]?{'type':'insertion','content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x39'),[_0x503b93,'\x22'+_0x55100b[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x51'),_0x503b93))};if(_0x4472('0x50')==_0x34bfff[_0x4472('0x87')])return _0x55100b[_0x4472('0x40')]?{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x39'),[_0x503b93,'\x22'+_0x55100b[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x51'),_0x503b93))};}}),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')]('insertion',_0x4472('0x80'),_0x4472('0x0'),_0xe63e34),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x80'),_0x4472('0x85'),_0xe63e34),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x71'),'tableColumn',_0x4472('0x0'),_0x293f25),_0x36a3fa['_suggestionFactory'][_0x4472('0x78')]('deletion',_0x4472('0x8a'),'accept',_0x293f25),_0x36a3fa['_suggestionFactory']['registerCustomCallback'](_0x4472('0x71'),_0x4472('0x8a'),_0x4472('0x5c'),_0x440f43),_0x36a3fa['_suggestionFactory'][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x8a'),_0x4472('0x5c'),_0x440f43),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x71'),'tableRow','join',_0x495c49),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x80'),'join',_0x495c49);}[_0x4472('0x22')](){const _0x5132e1=this[_0x4472('0x7e')],_0x492c49=_0x5132e1[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x27')];return(_0x4dc226,_0x573430)=>{_0x5132e1[_0x4472('0x60')]['change'](_0x2483a3=>{const {commandName:_0x5e7cdb,commandParams:_0x1e6f36}=_0x573430;let _0xe61d8f=_0x4dc226[0x0]['end']['nodeBefore'];_0x1e6f36&&_0x1e6f36[0x0]&&!0x1===_0x1e6f36[0x0][_0x4472('0x77')]&&(_0xe61d8f=_0x4dc226[0x0][_0x4472('0x9')][_0x4472('0x70')]);const _0x2d44db=_0x2483a3[_0x4472('0x79')](_0xe61d8f);if(_0x4472('0x46')==_0x2d44db[_0x4472('0xc')]['rootName'])return;const _0x280bbd=Array['from'](_0x492c49[_0x4472('0x58')]())[_0x4472('0x34')](_0x3ff439=>_0x2e5f8b[_0x4472('0x72')](_0x3ff439));_0x2483a3[_0x4472('0x6c')](_0x2d44db),_0x5132e1[_0x4472('0x45')][_0x4472('0x41')](_0x5e7cdb)[_0x4472('0x3f')](),_0x1e6f36[_0x4472('0xd')]({'forceDefaultExecution':!0x0}),_0x5132e1[_0x4472('0xb')](_0x5e7cdb,..._0x1e6f36);const _0x49bf68=_0x280bbd[_0x4472('0x43')](_0x3c1830=>_0x4472('0x46')!=_0x3c1830[_0x4472('0xc')]['rootName']);_0x49bf68[_0x4472('0x40')]>0x0&&_0x2483a3['setSelection'](_0x49bf68);for(const _0x3cade6 of _0x280bbd)_0x3cade6[_0x4472('0x61')]();});};}[_0x4472('0x84')](_0x2c97cd){const _0x413c04=this[_0x4472('0x7e')][_0x4472('0x48')][_0x4472('0x41')]('TableUtils');let _0xe60d=Number['MAX_SAFE_INTEGER'],_0x3db78c=Number[_0x4472('0x4c')],_0x4e84af=Number[_0x4472('0x5b')],_0x4a714a=Number['MIN_SAFE_INTEGER'];for(const _0x47724e of _0x2c97cd){if(_0x4472('0x46')==_0x47724e[_0x4472('0xc')][_0x4472('0x64')])continue;const {row:_0x677070,column:_0x49ae87}=_0x413c04[_0x4472('0x35')](_0x47724e),_0x504156=_0x47724e['hasAttribute'](_0x4472('0x7c'))?_0x47724e['getAttribute'](_0x4472('0x7c'))-0x1:0x0,_0xa5e9f4=_0x47724e[_0x4472('0x13')](_0x4472('0x23'))?_0x47724e[_0x4472('0x10')](_0x4472('0x23'))-0x1:0x0;_0xe60d=_0x677070<_0xe60d?_0x677070:_0xe60d,_0x3db78c=_0x677070+_0x504156>_0x3db78c?_0x677070+_0x504156:_0x3db78c,_0x4e84af=_0x49ae87<_0x4e84af?_0x49ae87:_0x4e84af,_0x4a714a=_0x49ae87+_0xa5e9f4>_0x4a714a?_0x49ae87+_0xa5e9f4:_0x4a714a;}return{'minRow':_0xe60d,'maxRow':_0x3db78c,'minColumn':_0x4e84af,'maxColumn':_0x4a714a};}[_0x4472('0x4d')](){const _0x1f5239=this[_0x4472('0x7e')],_0x5a1868=_0x1f5239[_0x4472('0x48')]['get']('TrackChangesEditing'),_0x171d3a=_0x1f5239['plugins'][_0x4472('0x41')](_0x4472('0x21'));_0x1f5239[_0x4472('0x60')][_0x4472('0x8')]['on'](_0x4472('0x1'),()=>{const _0x1613f0=Array[_0x4472('0x1c')](_0x1f5239[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x3')][_0x4472('0x7b')]());for(const {name:_0x2c3dd9,data:_0x26e092}of _0x1613f0){const {group:_0x4fa480,id:_0x370aa3,subType:_0x16ab2c}=_0x5a1868[_0x4472('0x1b')](_0x2c3dd9);if(_0x4472('0x2b')!=_0x4fa480)continue;if(null!=_0x26e092[_0x4472('0x6e')])continue;const _0x5ed0e8=_0x5a1868['getSuggestion'](_0x370aa3);this[_0x4472('0x25')]['includes'](_0x16ab2c)&&this[_0x4472('0x81')]['add'](_0x5ed0e8);}},{'priority':_0x4472('0x26')});const _0x1ce9b7=(_0x495490,_0x5b8981)=>{let _0x503ba1=!0x1;const _0xd130ee=_0x5b8981[_0x4472('0x89')](_0x495490),_0xda5772=_0x495490[_0x4472('0x7d')](_0x4472('0x6a')),_0x34d005=_0x171d3a[_0x4472('0x35')](_0x495490);for(const _0x430ac9 of this['_tableSuggestions']){const _0x1ec967=_0x430ac9['subType'],_0x976972=_0x1ec967[_0x4472('0x2f')](_0x4472('0x52')),_0x132f23=_0x1ec967[_0x4472('0x1e')](_0x976972?0xa:0x5),_0x1c2dee=_0x132f23[_0x4472('0x18')](),_0xc5164b=_0x1c2dee[_0x4472('0x1e')](0x0,0x3)+_0x4472('0x5f'),_0x47fb61=_0x4472('0x1a')+_0x132f23,_0x4c8986=_0x4472('0x8b')+_0x132f23;if(!_0x430ac9[_0x4472('0x1f')])continue;if(_0xda5772!=_0x430ac9[_0x4472('0x65')]()[_0x4472('0x9')][_0x4472('0x7d')](_0x4472('0x6a')))continue;if(_0x430ac9[_0x4472('0x4a')](_0xd130ee))continue;const _0x3aa169=_0x495490['hasAttribute'](_0xc5164b)?_0x495490['getAttribute'](_0xc5164b)-0x1:0x0,_0x4f6200=this[_0x4472('0x36')](_0x430ac9),_0x4bc220=_0x4f6200[_0x47fb61],_0x190654=_0x4f6200[_0x4c8986];_0x4bc220<=_0x34d005[_0x1c2dee]&&_0x34d005[_0x1c2dee]+_0x3aa169<=_0x190654&&(_0x430ac9[_0x4472('0x1d')](_0xd130ee),_0x503ba1=!0x0);}return _0x503ba1;};_0x1f5239[_0x4472('0x60')][_0x4472('0x8')]['registerPostFixer'](_0x3e6f33=>{let _0x1df89f=!0x1;for(const _0x3ac018 of _0x1f5239[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x3')][_0x4472('0x3b')]())if('insert'==_0x3ac018['type']){if(_0x4472('0x80')==_0x3ac018[_0x4472('0x5')])for(const _0x125412 of _0x3ac018[_0x4472('0x66')][_0x4472('0x70')][_0x4472('0x88')]())_0x1df89f=_0x1df89f||_0x1ce9b7(_0x125412,_0x3e6f33);else _0x4472('0xa')==_0x3ac018['name']&&(_0x1df89f=_0x1df89f||_0x1ce9b7(_0x3ac018[_0x4472('0x66')][_0x4472('0x70')],_0x3e6f33));}return _0x1df89f;});}[_0x4472('0x36')](_0x5bdd74){return this[_0x4472('0x84')](_0x5bdd74['getRanges']()[_0x4472('0x34')](_0xdd66d3=>_0xdd66d3[_0x4472('0x9')][_0x4472('0x70')]));}}function se(_0x1a762a){return Array[_0x4472('0x1c')](new Set(_0x1a762a)[_0x4472('0x2e')]());}
|
|
23
|
+
const _0xf730=['_tablePostFixingSubtypes','registerCustomCallback','join','MAX_SAFE_INTEGER','getContainedElement','getSuggestion','add','ELEMENT_TABLE_ROW','_suggestionFactory','accept','createPositionAt','above','batch','position','TableEditing','detach','tableColumn','isTouching','addClass','maxColumn','insert','getChangedMarkers','element','registerPostFixer','insertTableRowAbove','findAncestor','hasAttribute','getRanges','ELEMENT_TABLE_WITH_TEXT','filter','toViewElement','ELEMENT_TABLE_COLUMN_WITH_TEXT','suggestion','root','registerElementLabel','selectTableColumn','enqueueChange','nodeBefore','selection','_descriptionFactory','change','includes','classes','getRowIndexes','tableRow','createRangeIn','deletion','has','getChanges','*Remove:*\x20%0','min','plugins','execute','subType','tablePaste','document','downcastDispatcher','differ','getSelectionAffectedTableCells','createRangeOn','locale','rootName','editor','some','_splitMarkerName','$graveyard','isInContent','order','commands','length','enableCommand','insertTableColumnLeft','substr','ELEMENT_TABLE_COLUMN','item','span','name','end','ELEMENT_TABLE','isEqual','toLowerCase','model','data','map','addMarker:suggestion','getChildren','addRange','TrackChangesEditing','first','getColumnIndexes','registerDescriptionCallback','removeTableRow','getAttribute','markMultiRangeInsertion','tableCell','getItems','setSelection','afterInit','createTableWalker','colspan','cell','_tableSuggestions','TableUtils','writer','insertTable','max','left','maxRow','isArray','ELEMENT_TABLE_ROW_WITH_TEXT','rowspan','fromRange','refresh','insertion','change:data','showSuggestionHighlights','table','push','insertTableColumnRight','removeClass','highest','low','getCellLocation','type','_acceptFormatSuggestionCallbackFactory','last','get','$textProxy','from','_getSuggestionCoords','markMultiRangeDeletion','nodeAfter','discard','start','_getCoordsForCells','*Insert:*\x20%0'];(function(_0x59ea27,_0xf730dd){const _0x520161=function(_0x33a140){while(--_0x33a140){_0x59ea27['push'](_0x59ea27['shift']());}};_0x520161(++_0xf730dd);}(_0xf730,0x1de));const _0x5201=function(_0x59ea27,_0xf730dd){_0x59ea27=_0x59ea27-0x0;let _0x520161=_0xf730[_0x59ea27];return _0x520161;};import{Plugin as _0x11a855}from'ckeditor5/src/core';import{LiveRange as _0x304a34}from'ckeditor5/src/engine';import{setHighlightHandling as _0xbf8584}from'ckeditor5/src/widget';import{getTranslation as _0x54ad10}from'../utils/common-translations';export default class mt extends _0x11a855{constructor(_0x323e14){super(_0x323e14),this[_0x5201('0x42')]=[_0x5201('0x6e'),_0x5201('0x52')],this[_0x5201('0x1f')]=new Set();}[_0x5201('0x1b')](){const _0x4b595b=this['editor'],_0x543368=_0x4b595b[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x68')];if(!_0x4b595b[_0x5201('0x75')][_0x5201('0x71')](_0x5201('0x50')))return;const _0x1372be=_0x4b595b[_0x5201('0x7e')],_0x509b62=_0x4b595b[_0x5201('0x75')][_0x5201('0x38')](_0x5201('0x11')),_0xed0383=_0x4b595b['plugins']['get']('TableUtils');_0x509b62[_0x5201('0x69')][_0x5201('0x64')]('table',_0x4acd0c=>_0x54ad10(_0x1372be,_0x5201('0x8'),_0x4acd0c)),this['_setupColumnsRowsFixing'](),_0x509b62['enableCommand'](_0x5201('0x22')),_0x509b62[_0x5201('0x0')]('selectTableRow'),_0x509b62[_0x5201('0x0')](_0x5201('0x65'));for(const _0x9143ec of[_0x5201('0x5a'),'insertTableRowBelow']){const _0x2ed3cb=_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x9143ec);_0x509b62[_0x5201('0x0')](_0x9143ec,_0x593bc9=>{_0x4b595b['model'][_0x5201('0x6a')](_0x15ad91=>{_0x593bc9();const _0x5a5550=_0x5201('0x4d')===_0x2ed3cb[_0x5201('0x85')],_0x4cc1ca=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x48b635=_0xed0383[_0x5201('0x6d')](_0x4cc1ca),_0x7d6030=_0x5a5550?_0x48b635[_0x5201('0x12')]-0x1:_0x48b635[_0x5201('0x37')]+0x1,_0x169a21=_0x4cc1ca[0x0][_0x5201('0x5b')](_0x5201('0x2e')),_0x3f16e3=_0xed0383['createTableWalker'](_0x169a21,{'startRow':_0x7d6030,'endRow':_0x7d6030}),_0x37d622=Array[_0x5201('0x3a')](_0x3f16e3)['map'](_0x4a8126=>_0x15ad91[_0x5201('0x7d')](_0x4a8126[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x37d622,_0x5201('0x6e'));});});}for(const _0x4368c8 of[_0x5201('0x1'),_0x5201('0x30')]){const _0x20b5ec=_0x4b595b['commands'][_0x5201('0x38')](_0x4368c8);_0x509b62['enableCommand'](_0x4368c8,_0x4ced75=>{_0x4b595b['model'][_0x5201('0x6a')](_0x5e61b4=>{_0x4ced75();const _0x31840e=_0x5201('0x24')===_0x20b5ec['order'],_0x5d7909=_0xed0383[_0x5201('0x7c')](_0x543368),_0x836b44=_0xed0383[_0x5201('0x13')](_0x5d7909),_0x1261a2=_0x31840e?_0x836b44[_0x5201('0x12')]-0x1:_0x836b44[_0x5201('0x37')]+0x1,_0x10473d=_0x5d7909[0x0]['findAncestor'](_0x5201('0x2e')),_0x268db7=_0xed0383[_0x5201('0x1c')](_0x10473d,{'startRow':0x0,'column':_0x1261a2,'includeAllSlots':!0x1}),_0x2a19b4=Array[_0x5201('0x3a')](_0x268db7)[_0x5201('0xd')](_0x1f5579=>_0x5e61b4[_0x5201('0x7d')](_0x1f5579[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x2a19b4,_0x5201('0x52'));});});}for(const _0x4993af of['removeTableRow','removeTableColumn']){const _0x16ca15=_0x4993af[_0x5201('0x2')](0xb),_0x4244eb=_0x16ca15[_0x5201('0xa')](),_0x3ed386=_0x4244eb['substr'](0x0,0x3)+_0x5201('0x5'),_0x46c498=_0x5201('0x2e')+_0x16ca15,_0xa021f8=_0x5201('0x74')+_0x16ca15,_0x14208c=_0x5201('0x23')+_0x16ca15;_0x509b62[_0x5201('0x0')](_0x4993af,()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x275cae=>{const _0x5dc841=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x542a97=_0x5dc841[0x0][_0x5201('0x5b')](_0x5201('0x2e'));let _0xb946b5;if(_0x5201('0x15')==_0x4993af){const _0x12ee32=_0xed0383[_0x5201('0x6d')](_0x5dc841);_0xb946b5={'startRow':_0x12ee32['first'],'endRow':_0x12ee32[_0x5201('0x37')],'includeAllSlots':!0x0};}else{const _0x43e909=_0xed0383[_0x5201('0x13')](_0x5dc841);_0xb946b5={'startColumn':_0x43e909[_0x5201('0x12')],'endColumn':_0x43e909[_0x5201('0x37')],'includeAllSlots':!0x0};}const _0x2576b5=_0xed0383[_0x5201('0x1c')](_0x542a97,_0xb946b5),_0x55b6d1=Array['from'](_0x2576b5)[_0x5201('0xd')](({cell:_0x316263})=>_0x316263),_0xd64402=se(_0x55b6d1[_0x5201('0x5f')](_0x28c1ea=>_0x28c1ea[_0x5201('0x5c')](_0x3ed386))),_0x283eec=se(_0x55b6d1[_0x5201('0x5f')](_0x57d987=>!_0x57d987[_0x5201('0x5c')](_0x3ed386)))[_0x5201('0xd')](_0x3bd777=>_0x275cae['createRangeOn'](_0x3bd777)),_0x3a4b8c=_0x509b62[_0x5201('0x3c')](_0x283eec,_0x46c498);if(_0x3a4b8c&&('tableRow'==_0x3a4b8c[_0x5201('0x77')]||_0x5201('0x52')==_0x3a4b8c['subType'])){const _0x655be8=this[_0x5201('0x3b')](_0x3a4b8c);for(const _0x4483c2 of _0xd64402){const _0x3c6a5b=_0x275cae[_0x5201('0x7d')](_0x4483c2),_0x2082fe=_0xed0383[_0x5201('0x34')](_0x4483c2),_0x4ee423=_0x4483c2[_0x5201('0x16')](_0x3ed386)-0x1,_0x1d9820=_0x655be8[_0xa021f8],_0x4ddad9=_0x655be8[_0x14208c];_0x1d9820<=_0x2082fe[_0x4244eb]&&_0x2082fe[_0x4244eb]+_0x4ee423<=_0x4ddad9&&_0x3a4b8c['addRange'](_0x3c6a5b);}}});});}function _0x5029c7(_0x279a37){const _0x1f7c6f=Array[_0x5201('0x3a')](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x1deca3=>_0x304a34[_0x5201('0x29')](_0x1deca3));_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x3bb7dd=>{const _0x118c32=_0x3bb7dd[_0x5201('0x4e')];_0x279a37=_0x279a37['filter'](_0x52c8a3=>_0x5201('0x83')!=_0x52c8a3[_0x5201('0x63')][_0x5201('0x7f')]),_0x3bb7dd['setSelection'](_0x279a37),_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x5201('0x15'))['refresh'](),_0x4b595b[_0x5201('0x76')](_0x5201('0x15'),{'forceDefaultExecution':!0x0}),_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](_0x118c32,_0x4add80=>{const _0xeabaa7=_0x1f7c6f['filter'](_0x84aede=>_0x5201('0x83')!=_0x84aede[_0x5201('0x63')][_0x5201('0x7f')]);_0xeabaa7[_0x5201('0x87')]>0x0&&_0x4add80[_0x5201('0x1a')](_0xeabaa7);for(const _0xeac1c3 of _0x1f7c6f)_0xeac1c3['detach']();});});});}function _0x3f94de(_0x5dd877){_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x578947=>{const _0x470404=Array['from'](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x8b2ccd=>_0x304a34[_0x5201('0x29')](_0x8b2ccd)),_0x3fb398=[];for(const _0x5fdf70 of _0x5dd877)for(const _0x14afa4 of _0x5fdf70[_0x5201('0x19')]({'shallow':!0x0}))_0x3fb398[_0x5201('0x2f')](_0x14afa4);for(const _0x31646c of _0x3fb398)'$graveyard'!=_0x31646c[_0x5201('0x63')][_0x5201('0x7f')]&&(_0x578947[_0x5201('0x1a')](_0x578947[_0x5201('0x4c')](_0x31646c,0x0)),_0x4b595b['commands'][_0x5201('0x38')]('removeTableColumn')[_0x5201('0x2a')](),_0x4b595b[_0x5201('0x76')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x1cfddc=_0x470404['filter'](_0x2ea5ae=>_0x5201('0x83')!=_0x2ea5ae['root'][_0x5201('0x7f')]);_0x1cfddc[_0x5201('0x87')]>0x0&&_0x578947[_0x5201('0x1a')](_0x1cfddc);for(const _0x41492b of _0x470404)_0x41492b[_0x5201('0x51')]();});}function _0x48aa31(_0x456afb,_0x17551d){return _0x17551d['every'](_0x577a16=>_0x456afb['some'](_0x1d7ca6=>_0x1d7ca6[_0x5201('0x7')]['isEqual'](_0x577a16[_0x5201('0x3f')])||_0x577a16[_0x5201('0x7')][_0x5201('0x9')](_0x1d7ca6['start'])));}function _0x2630e0(_0x52308a,_0x1d98a1){return _0x52308a[_0x5201('0x81')](_0x29a109=>_0x1d98a1[_0x5201('0x81')](_0x277cb7=>_0x29a109[_0x5201('0x7')][_0x5201('0x53')](_0x277cb7['start'])));}_0x4b595b[_0x5201('0xc')][_0x5201('0x7a')]['on'](_0x5201('0xe'),(_0xa11c97,_0x2538a4,_0x5aa2a8)=>{if(!_0x5aa2a8['options'][_0x5201('0x2d')])return;const _0x5700b6=_0x2538a4[_0x5201('0x4')];if(!_0x5700b6)return;const _0x3bdd29=_0x5aa2a8['mapper'][_0x5201('0x60')](_0x5700b6);function _0xccc6d5(_0x340a4d){return Array[_0x5201('0x26')](_0x340a4d)?_0x340a4d:[_0x340a4d];}_0x3bdd29&&'tableCell'===_0x5700b6['name']&&_0xbf8584(_0x3bdd29,_0x5aa2a8[_0x5201('0x21')],(_0x45bdd2,_0x2e3f37,_0xda467b)=>_0xda467b[_0x5201('0x54')](_0xccc6d5(_0x2e3f37[_0x5201('0x6c')]),_0x45bdd2),(_0x239dc3,_0x5bf774,_0x46eb49)=>_0x46eb49[_0x5201('0x31')](_0xccc6d5(_0x5bf774['classes']),_0x239dc3));},{'priority':_0x5201('0x32')}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x189eb6=>{if(_0x5201('0x2b')!=_0x189eb6[_0x5201('0x35')]&&'deletion'!=_0x189eb6['type'])return;const _0x17c3e2=_0x189eb6[_0x5201('0x46')]();if(null!=_0x17c3e2&&_0x17c3e2['is'](_0x5201('0x58'),_0x5201('0x2e'))){if(_0x5201('0x2b')==_0x189eb6[_0x5201('0x35')]){const _0x2294be=_0x189eb6[_0x5201('0x19')]()['filter'](_0x30ae3e=>_0x30ae3e['is'](_0x5201('0x39')))['map'](_0x3808b2=>_0x3808b2['data']);if(_0x2294be[_0x5201('0x87')])return{'type':'insertion','content':_0x54ad10(_0x1372be,'*Insert:*\x20%0',_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x2294be['join']('\x20')+'\x22'))};}if('deletion'==_0x189eb6[_0x5201('0x35')]){const _0x5c3a81=_0x189eb6['getItems']()[_0x5201('0x5f')](_0x218a8e=>_0x218a8e['is'](_0x5201('0x39')))['map'](_0x112b58=>_0x112b58[_0x5201('0xc')]);if(_0x5c3a81[_0x5201('0x87')])return{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x5c3a81[_0x5201('0x44')]('\x20')+'\x22'))};}}}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x94c3a4=>{if(_0x5201('0x6e')==_0x94c3a4['subType']){const _0x3d1e64=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x375b49=>_0x375b49['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x2571c3=>_0x2571c3[_0x5201('0xc')]),_0x49e7b4=this[_0x5201('0x3b')](_0x94c3a4),_0x41a41a=_0x49e7b4[_0x5201('0x25')]-_0x49e7b4['minRow']+0x1;if('insertion'==_0x94c3a4['type'])return _0x3d1e64['length']?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};if('deletion'==_0x94c3a4[_0x5201('0x35')])return _0x3d1e64[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};}if(_0x5201('0x52')==_0x94c3a4[_0x5201('0x77')]){const _0x13ec7c=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x337ef6=>_0x337ef6['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x3bcdee=>_0x3bcdee['data']),_0x18a510=this[_0x5201('0x3b')](_0x94c3a4),_0x192fb4=_0x18a510[_0x5201('0x55')]-_0x18a510['minColumn']+0x1;if('insertion'==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};if(_0x5201('0x70')==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};}}),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x2b'),_0x5201('0x6e'),_0x5201('0x3e'),_0x5029c7),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),_0x5201('0x6e'),_0x5201('0x4b'),_0x5029c7),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x3e'),_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('deletion',_0x5201('0x52'),'accept',_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x44'),_0x48aa31),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x70'),'tableColumn','join',_0x48aa31),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('insertion',_0x5201('0x6e'),_0x5201('0x44'),_0x2630e0),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),'tableRow','join',_0x2630e0);}[_0x5201('0x36')](){const _0x15dfa1=this['editor'],_0x521159=_0x15dfa1['model'][_0x5201('0x79')][_0x5201('0x68')];return(_0x595e52,_0x1e4098)=>{_0x15dfa1[_0x5201('0xb')][_0x5201('0x6a')](_0xdae61c=>{const {commandName:_0x1e1f71,commandParams:_0x4ce9dc}=_0x1e4098;let _0x3abb3a=_0x595e52[0x0][_0x5201('0x7')][_0x5201('0x67')];_0x4ce9dc&&_0x4ce9dc[0x0]&&!0x1===_0x4ce9dc[0x0]['forceValue']&&(_0x3abb3a=_0x595e52[0x0][_0x5201('0x3f')][_0x5201('0x3d')]);const _0xf97972=_0xdae61c[_0x5201('0x6f')](_0x3abb3a);if('$graveyard'==_0xf97972['root'][_0x5201('0x7f')])return;const _0x3c1f5d=Array['from'](_0x521159[_0x5201('0x5d')]())[_0x5201('0xd')](_0x5c4fd5=>_0x304a34['fromRange'](_0x5c4fd5));_0xdae61c['setSelection'](_0xf97972),_0x15dfa1[_0x5201('0x86')]['get'](_0x1e1f71)[_0x5201('0x2a')](),_0x4ce9dc[_0x5201('0x2f')]({'forceDefaultExecution':!0x0}),_0x15dfa1['execute'](_0x1e1f71,..._0x4ce9dc);const _0x2e7094=_0x3c1f5d[_0x5201('0x5f')](_0x5653be=>'$graveyard'!=_0x5653be['root']['rootName']);_0x2e7094['length']>0x0&&_0xdae61c[_0x5201('0x1a')](_0x2e7094);for(const _0x4b4146 of _0x3c1f5d)_0x4b4146[_0x5201('0x51')]();});};}[_0x5201('0x40')](_0x9b12f8){const _0x2a8115=this[_0x5201('0x80')][_0x5201('0x75')][_0x5201('0x38')]('TableUtils');let _0x2e81b7=Number['MAX_SAFE_INTEGER'],_0x1397cd=Number['MIN_SAFE_INTEGER'],_0x16e47c=Number[_0x5201('0x45')],_0x4b4b3f=Number['MIN_SAFE_INTEGER'];for(const _0x4c066d of _0x9b12f8){if('$graveyard'==_0x4c066d[_0x5201('0x63')]['rootName'])continue;const {row:_0x55595e,column:_0x56f356}=_0x2a8115['getCellLocation'](_0x4c066d),_0x4995e4=_0x4c066d[_0x5201('0x5c')](_0x5201('0x28'))?_0x4c066d['getAttribute'](_0x5201('0x28'))-0x1:0x0,_0x12c60e=_0x4c066d[_0x5201('0x5c')](_0x5201('0x1d'))?_0x4c066d['getAttribute'](_0x5201('0x1d'))-0x1:0x0;_0x2e81b7=_0x55595e<_0x2e81b7?_0x55595e:_0x2e81b7,_0x1397cd=_0x55595e+_0x4995e4>_0x1397cd?_0x55595e+_0x4995e4:_0x1397cd,_0x16e47c=_0x56f356<_0x16e47c?_0x56f356:_0x16e47c,_0x4b4b3f=_0x56f356+_0x12c60e>_0x4b4b3f?_0x56f356+_0x12c60e:_0x4b4b3f;}return{'minRow':_0x2e81b7,'maxRow':_0x1397cd,'minColumn':_0x16e47c,'maxColumn':_0x4b4b3f};}['_setupColumnsRowsFixing'](){const _0x108382=this['editor'],_0x1d958e=_0x108382['plugins'][_0x5201('0x38')]('TrackChangesEditing'),_0x1ee6fd=_0x108382['plugins'][_0x5201('0x38')](_0x5201('0x20'));_0x108382[_0x5201('0xb')][_0x5201('0x79')]['on'](_0x5201('0x2c'),()=>{const _0x2fb379=Array[_0x5201('0x3a')](_0x108382[_0x5201('0xb')][_0x5201('0x79')]['differ'][_0x5201('0x57')]());for(const {name:_0x1f97b8,data:_0x297d43}of _0x2fb379){const {group:_0x2cd936,id:_0x3c6769,subType:_0x5af54e}=_0x1d958e[_0x5201('0x82')](_0x1f97b8);if(_0x5201('0x62')!=_0x2cd936)continue;if(null!=_0x297d43['oldRange'])continue;const _0x206f58=_0x1d958e[_0x5201('0x47')](_0x3c6769);this[_0x5201('0x42')][_0x5201('0x6b')](_0x5af54e)&&this[_0x5201('0x1f')][_0x5201('0x48')](_0x206f58);}},{'priority':_0x5201('0x33')});const _0x14611=(_0x3dd287,_0x568048)=>{let _0x520d63=!0x1;const _0x36684c=_0x568048[_0x5201('0x7d')](_0x3dd287),_0x3533b8=_0x3dd287['findAncestor'](_0x5201('0x2e')),_0x834b8d=_0x1ee6fd[_0x5201('0x34')](_0x3dd287);for(const _0x561466 of this[_0x5201('0x1f')]){const _0x39f3d2=_0x561466[_0x5201('0x77')],_0x13ff77=_0x39f3d2['startsWith'](_0x5201('0x78')),_0x42482e=_0x39f3d2[_0x5201('0x2')](_0x13ff77?0xa:0x5),_0x321e18=_0x42482e[_0x5201('0xa')](),_0x4f1ce1=_0x321e18['substr'](0x0,0x3)+'span',_0x58091f=_0x5201('0x74')+_0x42482e,_0x5ee297='max'+_0x42482e;if(!_0x561466[_0x5201('0x84')])continue;if(_0x3533b8!=_0x561466['getFirstRange']()[_0x5201('0x3f')][_0x5201('0x5b')](_0x5201('0x2e')))continue;if(_0x561466['isIntersectingWithRange'](_0x36684c))continue;const _0x23f67f=_0x3dd287[_0x5201('0x5c')](_0x4f1ce1)?_0x3dd287[_0x5201('0x16')](_0x4f1ce1)-0x1:0x0,_0x1be212=this[_0x5201('0x3b')](_0x561466),_0xc511c2=_0x1be212[_0x58091f],_0x28183e=_0x1be212[_0x5ee297];_0xc511c2<=_0x834b8d[_0x321e18]&&_0x834b8d[_0x321e18]+_0x23f67f<=_0x28183e&&(_0x561466[_0x5201('0x10')](_0x36684c),_0x520d63=!0x0);}return _0x520d63;};_0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x59')](_0x4dd8dd=>{let _0xed2575=!0x1;for(const _0x522efe of _0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x7b')][_0x5201('0x72')]())if(_0x5201('0x56')==_0x522efe[_0x5201('0x35')]){if(_0x5201('0x6e')==_0x522efe['name'])for(const _0x40f0c0 of _0x522efe[_0x5201('0x4f')][_0x5201('0x3d')][_0x5201('0xf')]())_0xed2575=_0xed2575||_0x14611(_0x40f0c0,_0x4dd8dd);else _0x5201('0x18')==_0x522efe[_0x5201('0x6')]&&(_0xed2575=_0xed2575||_0x14611(_0x522efe[_0x5201('0x4f')][_0x5201('0x3d')],_0x4dd8dd));}return _0xed2575;});}[_0x5201('0x3b')](_0x2b22aa){return this[_0x5201('0x40')](_0x2b22aa[_0x5201('0x5d')]()[_0x5201('0xd')](_0x11690d=>_0x11690d[_0x5201('0x3f')][_0x5201('0x3d')]));}}function se(_0x40b1fa){return Array[_0x5201('0x3a')](new Set(_0x40b1fa)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f1c=['enableCommand','get','TrackChangesEditing','editor','toggleTableCaption','has','afterInit','plugins','requires'];(function(_0x41ed99,_0x1f1c80){const _0x1a6e20=function(_0x4acda3){while(--_0x4acda3){_0x41ed99['push'](_0x41ed99['shift']());}};_0x1a6e20(++_0x1f1c80);}(_0x1f1c,0x179));const _0x1a6e=function(_0x41ed99,_0x1f1c80){_0x41ed99=_0x41ed99-0x0;let _0x1a6e20=_0x1f1c[_0x41ed99];return _0x1a6e20;};import{Plugin as _0x4a959d}from'ckeditor5/src/core';import _0x16b129 from'./table';export default class vt extends _0x4a959d{static get[_0x1a6e('0x0')](){return[_0x16b129];}[_0x1a6e('0x7')](){const _0x3c5c36=this[_0x1a6e('0x4')];if(!_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x6')]('TableCaptionEditing'))return;_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x2')](_0x1a6e('0x3'))[_0x1a6e('0x1')](_0x1a6e('0x5'));}}
|