@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230811.0 → 0.0.0-nightly-20230812.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 _0x2886=['reversed','getListTypeFromListStyleType','*Format:*\x20set\x20order\x20to\x20reversed','handleDescriptions','editor','plugins','document','listStart','createPositionAt','flat','change','forward','get','_getSuggestionBlocksForListStyle','ListPropertiesEditing','unshift','startIndex','replace','createRange','ELEMENT_','listReversed','_getTranslationKeyForListStyle','bind','length','backward','listStyle','commandParams','listItem','model','*Format:*\x20set\x20order\x20to\x20regular','locale','markMultiRangeBlockFormat','selection','*Format:*\x20set\x20start\x20index\x20to\x20%0','getAttribute','_getSuggestionBlocks','getSelectedBlocks','getFirstPosition','handleListStyleCommand','before','element','TrackChangesEditing','map','_descriptionFactory','handleListReversedCommand','getSiblingNodes','handleListStartCommand','from','getLastPosition','styles','_LIST_','numbered','toUpperCase','format','ListUtils','type','push','enableCommand'];(function(_0x16b967,_0x288617){const _0x567a96=function(_0xfd1c37){while(--_0xfd1c37){_0x16b967['push'](_0x16b967['shift']());}};_0x567a96(++_0x288617);}(_0x2886,0xc3));const _0x567a=function(_0x16b967,_0x288617){_0x16b967=_0x16b967-0x0;let _0x567a96=_0x2886[_0x16b967];return _0x567a96;};import{Plugin as _0x2be82d}from'ckeditor5/src/core';import{getTranslation as _0x27f595}from'../utils/common-translations';export default class nt extends _0x2be82d{['afterInit'](){if(!this[_0x567a('0x29')]['plugins']['has'](_0x567a('0x33')))return;const _0x59a773=this['editor']['config']['get']('list.properties'),_0x66974e=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x14'));_0x59a773[_0x567a('0x1c')]&&_0x66974e['enableCommand'](_0x567a('0x4'),this[_0x567a('0x11')]['bind'](this)),_0x59a773[_0x567a('0x25')]&&_0x66974e[_0x567a('0x24')]('listReversed',this[_0x567a('0x17')][_0x567a('0x1')](this)),_0x59a773[_0x567a('0x35')]&&_0x66974e[_0x567a('0x24')]('listStart',this[_0x567a('0x19')]['bind'](this)),_0x66974e[_0x567a('0x16')]['registerDescriptionCallback'](this[_0x567a('0x28')][_0x567a('0x1')](this));}[_0x567a('0x11')](_0x55ca43,_0x27260e={}){const _0x35dcb6=this['editor'][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x14')),_0xec67f0=this[_0x567a('0x32')]();this[_0x567a('0x29')]['model'][_0x567a('0x2f')](()=>{_0x35dcb6[_0x567a('0xa')](_0xec67f0,{'commandName':'listStyle','commandParams':[{'type':_0x27260e[_0x567a('0x22')]}],'formatGroupId':'listStyle'});});}[_0x567a('0x17')](_0x31b70e,_0x6ba256={}){const _0x4bcad4=this['editor']['plugins'][_0x567a('0x31')](_0x567a('0x14')),_0xe51132=this[_0x567a('0xe')](_0x5e9542=>_0x5e9542['is']('element','listItem')&&_0x567a('0x1e')===_0x5e9542[_0x567a('0xd')]('listType'));if(_0xe51132['length']<0x1)return;const _0x15f61e=_0xe51132[_0x567a('0x15')](_0x315a89=>this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x37')](this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x315a89,_0x567a('0x12')),this[_0x567a('0x29')]['model'][_0x567a('0x2d')](_0x315a89,0x0)));this[_0x567a('0x29')]['model'][_0x567a('0x2f')](()=>{_0x4bcad4[_0x567a('0xa')](_0x15f61e,{'commandName':_0x567a('0x39'),'commandParams':[{'reversed':_0x6ba256[_0x567a('0x25')]}],'formatGroupId':_0x567a('0x39')});});}['handleListStartCommand'](_0x37db59,_0x3d1299={}){const _0x2ddb48=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')]('TrackChangesEditing'),_0x12888c=this[_0x567a('0xe')](_0x5f36b9=>_0x5f36b9['is'](_0x567a('0x13'),_0x567a('0x6'))&&'numbered'===_0x5f36b9[_0x567a('0xd')]('listType'));if(_0x12888c[_0x567a('0x2')]<0x1)return;const _0x51153a=_0x12888c[_0x567a('0x15')](_0x5b98ca=>this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x37')](this[_0x567a('0x29')]['model']['createPositionAt'](_0x5b98ca,_0x567a('0x12')),this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x5b98ca,0x0)));this[_0x567a('0x29')][_0x567a('0x7')]['change'](()=>{_0x2ddb48['markMultiRangeBlockFormat'](_0x51153a,{'commandName':'listStart','commandParams':[{'startIndex':_0x3d1299['startIndex']}],'formatGroupId':_0x567a('0x2c')});});}[_0x567a('0x28')](_0x15afce){const _0x2eb8cc=this[_0x567a('0x29')][_0x567a('0x9')],{data:_0x2a4347}=_0x15afce;if(!_0x2a4347)return;let _0x4c934b,_0x20982f;switch(_0x2a4347['commandName']){case'listStyle':_0x4c934b='*Change\x20to:*\x20%0',_0x20982f={'type':_0x567a('0x20'),'content':_0x27f595(_0x2eb8cc,_0x4c934b,_0x27f595(_0x2eb8cc,this[_0x567a('0x0')](_0x2a4347[_0x567a('0x5')][0x0]['type'])))};break;case _0x567a('0x39'):_0x4c934b=_0x2a4347[_0x567a('0x5')][0x0][_0x567a('0x25')]?_0x567a('0x27'):_0x567a('0x8'),_0x20982f={'type':'format','content':_0x27f595(_0x2eb8cc,_0x4c934b)};break;case'listStart':_0x4c934b=_0x567a('0xc'),_0x20982f={'type':_0x567a('0x20'),'content':_0x27f595(_0x2eb8cc,_0x4c934b,_0x2a4347[_0x567a('0x5')][0x0][_0x567a('0x35')])};}return _0x20982f;}['_getSuggestionBlocksForListStyle'](){var _0x2335e8,_0x56cf4d,_0x3f29f9,_0x465e85;const _0x2a9955=this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')](_0x567a('0x21'));let _0x5e4f3f=Array['from'](this[_0x567a('0x29')][_0x567a('0x7')]['document']['selection']['getSelectedBlocks']());return(null===(_0x2335e8=_0x5e4f3f[0x0])||void 0x0===_0x2335e8?void 0x0:_0x2335e8['is'](_0x567a('0x13'),_0x567a('0x6')))&&_0x5e4f3f[_0x567a('0x34')](..._0x2a9955[_0x567a('0x18')](this[_0x567a('0x29')][_0x567a('0x7')]['document'][_0x567a('0xb')][_0x567a('0x10')](),_0x567a('0x3'))),(null===(_0x56cf4d=_0x5e4f3f[_0x5e4f3f['length']-0x1])||void 0x0===_0x56cf4d?void 0x0:_0x56cf4d['is']('element',_0x567a('0x6')))&&_0x5e4f3f[_0x567a('0x23')](..._0x2a9955[_0x567a('0x18')](this['editor'][_0x567a('0x7')][_0x567a('0x2b')][_0x567a('0xb')][_0x567a('0x1b')](),_0x567a('0x30'))),_0x5e4f3f=[...new Set(_0x5e4f3f)],(null===(_0x465e85=null===(_0x3f29f9=this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2b')]['selection'][_0x567a('0x10')]())||void 0x0===_0x3f29f9?void 0x0:_0x3f29f9['parent'])||void 0x0===_0x465e85?void 0x0:_0x465e85['is'](_0x567a('0x13'),_0x567a('0x6')))&&(_0x5e4f3f=_0x5e4f3f['filter'](_0x46d521=>_0x46d521['is'](_0x567a('0x13'),_0x567a('0x6')))),_0x5e4f3f;}[_0x567a('0xe')](_0x19fc35){const _0x45a9cb=this[_0x567a('0x29')]['plugins']['get'](_0x567a('0x21'));let _0x2f684a=Array[_0x567a('0x1a')](this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2b')]['selection'][_0x567a('0xf')]())['filter'](_0x19fc35)['map'](_0x166fe5=>{const _0x2e5236=this[_0x567a('0x29')][_0x567a('0x7')][_0x567a('0x2d')](_0x166fe5,0x0);return[..._0x45a9cb[_0x567a('0x18')](_0x2e5236,_0x567a('0x3')),..._0x45a9cb[_0x567a('0x18')](_0x2e5236,_0x567a('0x30'))];})[_0x567a('0x2e')]();return _0x2f684a=[...new Set(_0x2f684a)],_0x2f684a;}[_0x567a('0x0')](_0x4e7180){return _0x567a('0x38')+this[_0x567a('0x29')][_0x567a('0x2a')][_0x567a('0x31')]('ListUtils')[_0x567a('0x26')](_0x4e7180)[_0x567a('0x1f')]()+_0x567a('0x1d')+_0x4e7180['toUpperCase']()[_0x567a('0x36')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3215=['editor','media','get','dataDowncast','MediaEmbedEditing','elementToElement','has','data','high','plugins','mediaEmbed','stop','registerElementLabel','locale','options','downcastDispatcher','ELEMENT_MEDIA','showSuggestionHighlights','conversion','div'];(function(_0x4b7c3b,_0x321512){const _0x16f449=function(_0x198640){while(--_0x198640){_0x4b7c3b['push'](_0x4b7c3b['shift']());}};_0x16f449(++_0x321512);}(_0x3215,0x1a1));const _0x16f4=function(_0x4b7c3b,_0x321512){_0x4b7c3b=_0x4b7c3b-0x0;let _0x16f449=_0x3215[_0x4b7c3b];return _0x16f449;};import{Plugin as _0x380535}from'ckeditor5/src/core';import{getTranslation as _0x193cab}from'../utils/common-translations';export default class ot extends _0x380535{['afterInit'](){const _0x479b53=this[_0x16f4('0x3')];if(!_0x479b53['plugins'][_0x16f4('0x9')](_0x16f4('0x7')))return;const _0x3bfd59=_0x479b53[_0x16f4('0xc')][_0x16f4('0x5')]('TrackChangesEditing'),_0x5ab3ee=_0x479b53[_0x16f4('0x10')];_0x3bfd59['enableCommand'](_0x16f4('0xd')),_0x3bfd59['_descriptionFactory'][_0x16f4('0xf')](_0x16f4('0x4'),_0x44afd3=>_0x193cab(_0x5ab3ee,_0x16f4('0x13'),_0x44afd3)),_0x479b53[_0x16f4('0x1')]['for'](_0x16f4('0x6'))[_0x16f4('0x8')]({'model':_0x16f4('0x4'),'view':(_0x1ffccd,{writer:_0x3da740,options:_0x29dfe0})=>{if(_0x29dfe0[_0x16f4('0x0')])return _0x3da740['createEmptyElement'](_0x16f4('0x2'));},'converterPriority':_0x16f4('0xb')}),_0x479b53[_0x16f4('0xa')][_0x16f4('0x12')]['on']('attribute:url:media',(_0x32440d,_0x22ff7e,_0x16dacd)=>{_0x16dacd[_0x16f4('0x11')][_0x16f4('0x0')]&&_0x32440d[_0x16f4('0xe')]();},{'priority':_0x16f4('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3952=['get','afterInit','mention','MentionEditing','enableCommand','plugins'];(function(_0x3fba82,_0x39523e){const _0x328b1e=function(_0x12ab8c){while(--_0x12ab8c){_0x3fba82['push'](_0x3fba82['shift']());}};_0x328b1e(++_0x39523e);}(_0x3952,0x16f));const _0x328b=function(_0x3fba82,_0x39523e){_0x3fba82=_0x3fba82-0x0;let _0x328b1e=_0x3952[_0x3fba82];return _0x328b1e;};import{Plugin as _0x5b2b26}from'ckeditor5/src/core';export default class rt extends _0x5b2b26{[_0x328b('0x0')](){const _0x3d14db=this['editor'];_0x3d14db[_0x328b('0x4')]['has'](_0x328b('0x2'))&&_0x3d14db['plugins'][_0x328b('0x5')]('TrackChangesEditing')[_0x328b('0x3')](_0x328b('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20d7=['editor','ELEMENT_PAGE_BREAK','plugins','_descriptionFactory','PageBreakEditing','enableCommand','has','get','TrackChangesEditing'];(function(_0x193748,_0x20d7b3){const _0x5aba28=function(_0x38d98f){while(--_0x38d98f){_0x193748['push'](_0x193748['shift']());}};_0x5aba28(++_0x20d7b3);}(_0x20d7,0xcd));const _0x5aba=function(_0x193748,_0x20d7b3){_0x193748=_0x193748-0x0;let _0x5aba28=_0x20d7[_0x193748];return _0x5aba28;};import{Plugin as _0x53efeb}from'ckeditor5/src/core';import{getTranslation as _0xdc741d}from'../utils/common-translations';export default class at extends _0x53efeb{['afterInit'](){const _0x108fe9=this[_0x5aba('0x2')];if(!_0x108fe9[_0x5aba('0x4')][_0x5aba('0x8')](_0x5aba('0x6')))return;_0x108fe9[_0x5aba('0x4')][_0x5aba('0x0')](_0x5aba('0x1'))[_0x5aba('0x7')]('pageBreak');const _0x4c5b5d=_0x108fe9[_0x5aba('0x4')][_0x5aba('0x0')](_0x5aba('0x1')),_0x1236f1=_0x108fe9['locale'];_0x4c5b5d[_0x5aba('0x5')]['registerElementLabel']('pageBreak',_0x44ba22=>_0xdc741d(_0x1236f1,_0x5aba('0x3'),_0x44ba22));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x280b=['consume','isObject','nodeAfter','start','activeMarkers','blockName','has','writer','enableCommand','editing','format','afterInit','registerDescriptionCallback','getItemLabel','*Change\x20to:*\x20%0','getFirstRange','ck-suggestion-marker--active','editor','getSelectedBlocks','type','insertParagraph','checkChild','isLimit','filter','schema','data','parent','markerName','registerElementLabel','createUIElement','end','downcastDispatcher','span','selection','addClass','_descriptionFactory','name','showSuggestionHighlights','paragraph','markerRange','mapper','plugins','ck-suggestion-marker-split','$text','highest','isTouching','from','model','locale','insertion','get','TrackChangesEditing','consumable','isBlock','addMarker:suggestion:insertion'];(function(_0x59fec8,_0x280b95){const _0x180403=function(_0x5576a5){while(--_0x5576a5){_0x59fec8['push'](_0x59fec8['shift']());}};_0x180403(++_0x280b95);}(_0x280b,0x1de));const _0x1804=function(_0x59fec8,_0x280b95){_0x59fec8=_0x59fec8-0x0;let _0x180403=_0x280b[_0x59fec8];return _0x180403;};import{Plugin as _0x2148fa}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x51b9a4}from'./utils';import{getTranslation as _0x342a15}from'../utils/common-translations';export default class ct extends _0x2148fa{[_0x1804('0x1c')](){const _0x54e570=this['editor'];if(!_0x54e570['plugins'][_0x1804('0x17')]('Paragraph'))return;const _0x26fcd7=_0x54e570[_0x1804('0xa')],_0x517df2=_0x54e570[_0x1804('0x3')][_0x1804('0xc')]('TrackChangesEditing');_0x517df2[_0x1804('0x34')][_0x1804('0x2d')](_0x1804('0x0'),_0x40dd4c=>_0x342a15(_0x26fcd7,'ELEMENT_PARAGRAPH',_0x40dd4c)),_0x517df2[_0x1804('0x19')](_0x1804('0x0'),(_0x2de8ff,_0x46c228={})=>{const _0x2c253f=_0x54e570[_0x1804('0x9')]['document'],_0xeda625=_0x46c228['selection']||_0x2c253f[_0x1804('0x32')],_0x1225b1=Array[_0x1804('0x8')](_0xeda625[_0x1804('0x23')]())[_0x1804('0x28')](_0x14a4e1=>function(_0x40e166,_0x414633){return _0x414633[_0x1804('0x26')](_0x40e166[_0x1804('0x2b')],'paragraph')&&!_0x414633[_0x1804('0x12')](_0x40e166)&&_0x1804('0x0')!=_0x40e166[_0x1804('0x35')];}(_0x14a4e1,this[_0x1804('0x22')][_0x1804('0x9')]['schema']));_0x54e570[_0x1804('0x9')]['change'](()=>{for(const _0x2e50cb of _0x1225b1)_0x517df2['markBlockFormat'](_0x2e50cb,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x1804('0x16')},_0x51b9a4(_0x2e50cb));});}),_0x517df2[_0x1804('0x34')][_0x1804('0x1d')](_0x52dc78=>{const {data:_0x3f302f}=_0x52dc78;if(_0x3f302f&&_0x1804('0x0')==_0x3f302f['commandName'])return{'type':_0x1804('0x1b'),'content':_0x342a15(_0x26fcd7,_0x1804('0x1f'),_0x342a15(_0x26fcd7,'ELEMENT_PARAGRAPH'))};}),_0x517df2['enableCommand'](_0x1804('0x25')),_0x54e570[_0x1804('0x1a')][_0x1804('0x30')]['on'](_0x1804('0x10'),ar(_0x54e570),{'priority':'highest'}),_0x54e570[_0x1804('0x2a')]['downcastDispatcher']['on'](_0x1804('0x10'),(_0x23c7d8,_0x5531c9,_0x20cb8f)=>{_0x20cb8f['options'][_0x1804('0x36')]&&ar(_0x54e570,{'showActiveMarker':!0x1})(_0x23c7d8,_0x5531c9,_0x20cb8f);},{'priority':_0x1804('0x6')});const _0x18ba23=_0x517df2[_0x1804('0x34')];_0x18ba23['registerDescriptionCallback'](_0x297559=>{if('insertion'!==_0x297559[_0x1804('0x24')])return;const {start:_0x54b2b6,end:_0x5e5383}=_0x297559[_0x1804('0x20')]();if(!_0x54b2b6['isTouching'](_0x5e5383)||!_0x54b2b6[_0x1804('0x13')])return;const _0x5eb437=_0x54e570[_0x1804('0x9')]['schema'],_0x556ed1=_0x54b2b6[_0x1804('0x13')];return _0x5eb437[_0x1804('0xf')](_0x556ed1)&&!_0x5eb437[_0x1804('0x27')](_0x556ed1)&&_0x5eb437['checkChild'](_0x556ed1,_0x1804('0x5'))?{'type':_0x1804('0xb'),'content':_0x342a15(_0x26fcd7,'*Insert:*\x20%0',_0x18ba23[_0x1804('0x1e')](_0x556ed1,0x1))}:void 0x0;});}}function ar(_0x359ba4,{showActiveMarker:_0x3afb0b=!0x0}={}){return(_0x14e146,_0x15528b,_0x50aeb5)=>{const _0x290aa7=_0x359ba4['plugins'][_0x1804('0xc')](_0x1804('0xd')),_0x3c32ec=_0x15528b['markerRange'][_0x1804('0x14')],_0x2503f6=_0x15528b[_0x1804('0x1')][_0x1804('0x2f')],_0x30df67=_0x359ba4[_0x1804('0x9')][_0x1804('0x29')];if(!_0x3c32ec[_0x1804('0x7')](_0x2503f6)||!_0x3c32ec[_0x1804('0x13')])return;const _0x2bd1de=_0x3c32ec[_0x1804('0x13')];if(_0x30df67[_0x1804('0xf')](_0x2bd1de)&&!_0x30df67[_0x1804('0x27')](_0x2bd1de)&&_0x30df67[_0x1804('0x26')](_0x2bd1de,_0x1804('0x5'))){if(!_0x50aeb5[_0x1804('0xe')][_0x1804('0x11')](_0x15528b['markerRange'],_0x14e146['name']))return;const _0xd37f92=_0x50aeb5[_0x1804('0x18')][_0x1804('0x2e')](_0x1804('0x31'),{'class':_0x1804('0x4')}),_0x4ddedb=_0x50aeb5[_0x1804('0x2')]['toViewPosition'](_0x2503f6);_0x3afb0b&&_0x290aa7[_0x1804('0x15')]['includes'](_0x15528b[_0x1804('0x2c')])&&_0x50aeb5[_0x1804('0x18')][_0x1804('0x33')](_0x1804('0x21'),_0xd37f92),_0x50aeb5['writer']['insert'](_0x4ddedb,_0xd37f92),_0x50aeb5[_0x1804('0x2')]['bindElementToMarker'](_0xd37f92,_0x15528b[_0x1804('0x2c')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5349=['selection','schema','model','get','isFormatting','getAttributeProperties','from','registerDescriptionCallback','isCollapsed','commandName','editor','*Remove\x20all\x20formatting*','document','getAttributes','has','removeFormat','TrackChangesEditing','locale','_descriptionFactory','getRanges','plugins','createRangeOn','afterInit'];(function(_0x588b58,_0x53493c){const _0x5a2212=function(_0x19eba8){while(--_0x19eba8){_0x588b58['push'](_0x588b58['shift']());}};_0x5a2212(++_0x53493c);}(_0x5349,0x1d8));const _0x5a22=function(_0x588b58,_0x53493c){_0x588b58=_0x588b58-0x0;let _0x5a2212=_0x5349[_0x588b58];return _0x5a2212;};import{Plugin as _0x140a99}from'ckeditor5/src/core';import{getTranslation as _0x4389db}from'../utils/common-translations';export default class ht extends _0x140a99{[_0x5a22('0xa')](){const _0x2e8ea9=this[_0x5a22('0x15')];if(!_0x2e8ea9[_0x5a22('0x8')][_0x5a22('0x2')]('RemoveFormatEditing'))return;const _0xa6436a=_0x2e8ea9[_0x5a22('0x8')][_0x5a22('0xe')](_0x5a22('0x4'));_0xa6436a['enableCommand'](_0x5a22('0x3'),_0x2e5be9=>{const _0x3cd8ec=_0x2e8ea9['model'][_0x5a22('0x0')][_0x5a22('0xb')];_0x3cd8ec[_0x5a22('0x13')]?_0x2e5be9():_0x2e8ea9[_0x5a22('0xd')]['change'](()=>{const _0xc80faa=Array[_0x5a22('0x11')](_0x3cd8ec[_0x5a22('0x7')]());for(const _0x32652e of _0xc80faa)for(const _0x48fd22 of _0x32652e['getItems']())eo(_0x48fd22,_0x2e8ea9[_0x5a22('0xd')][_0x5a22('0xc')])&&_0xa6436a['markInlineFormat'](_0x2e8ea9[_0x5a22('0xd')][_0x5a22('0x9')](_0x48fd22),{'commandName':_0x5a22('0x3'),'commandParams':[]});});}),_0xa6436a[_0x5a22('0x6')][_0x5a22('0x12')](_0x5e6308=>{const {data:_0x324eb4}=_0x5e6308;if(_0x324eb4&&_0x5a22('0x3')==_0x324eb4[_0x5a22('0x14')])return{'type':'format','content':_0x4389db(_0x2e8ea9[_0x5a22('0x5')],_0x5a22('0x16'))};});}}function eo(_0x2c36c5,_0x4e72a0){for(const [_0x55dfad]of _0x2c36c5[_0x5a22('0x1')]()){const _0x3f5f33=_0x4e72a0[_0x5a22('0x10')](_0x55dfad);if(_0x3f5f33&&_0x3f5f33[_0x5a22('0xf')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5de9=['trackChanges','plugins','RestrictedEditingModeEditing','discardAllSuggestions','has','enableCommand','acceptSuggestion','get','afterInit','acceptSelectedSuggestions','editor'];(function(_0x485ff5,_0x5de99f){const _0x32abda=function(_0x32ef2b){while(--_0x32ef2b){_0x485ff5['push'](_0x485ff5['shift']());}};_0x32abda(++_0x5de99f);}(_0x5de9,0x194));const _0x32ab=function(_0x485ff5,_0x5de99f){_0x485ff5=_0x485ff5-0x0;let _0x32abda=_0x5de9[_0x485ff5];return _0x32abda;};import{Plugin as _0x47cdd6}from'ckeditor5/src/core';export default class ut extends _0x47cdd6{[_0x32ab('0x0')](){const _0x5ee87b=this[_0x32ab('0x2')];if(!_0x5ee87b[_0x32ab('0x4')][_0x32ab('0x7')](_0x32ab('0x5')))return;const _0x53701f=_0x5ee87b[_0x32ab('0x4')][_0x32ab('0xa')]('TrackChangesEditing');_0x53701f[_0x32ab('0x8')]('goToPreviousRestrictedEditingException'),_0x53701f[_0x32ab('0x8')]('goToNextRestrictedEditingException');const _0x5a6e7e=_0x5ee87b[_0x32ab('0x4')]['get'](_0x32ab('0x5'));_0x5a6e7e['enableCommand'](_0x32ab('0x3')),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x9')),_0x5a6e7e['enableCommand']('discardSuggestion'),_0x5a6e7e[_0x32ab('0x8')]('acceptAllSuggestions'),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x6')),_0x5a6e7e[_0x32ab('0x8')](_0x32ab('0x1')),_0x5a6e7e[_0x32ab('0x8')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2260=['bindElementToMarker','markerName','_descriptionFactory','editing','TrackChangesEditing','showSuggestionHighlights','split','createUIElement','test','plugins','high','addMarker:suggestion:insertion','softBreak','data','shiftEnter','ck-suggestion-marker-','addMarker:suggestion','addClass','insert','writer','locale','createPositionBefore','registerElementLabel','editor','consumable','ELEMENT_LINE_BREAK','enableCommand','mapper','merge','downcastDispatcher','init','markerRange','get','includes','element','model','span','name','ck-suggestion-marker--active','getItems'];(function(_0x1405f4,_0x2260b1){const _0x4c9d26=function(_0x349d23){while(--_0x349d23){_0x1405f4['push'](_0x1405f4['shift']());}};_0x4c9d26(++_0x2260b1);}(_0x2260,0xb8));const _0x4c9d=function(_0x1405f4,_0x2260b1){_0x1405f4=_0x1405f4-0x0;let _0x4c9d26=_0x2260[_0x1405f4];return _0x4c9d26;};import{Plugin as _0xa0020d}from'ckeditor5/src/core';import{ShiftEnter as _0x1b4f54}from'ckeditor5/src/enter';import{getTranslation as _0x27b646}from'../utils/common-translations';export default class ft extends _0xa0020d{static get['requires'](){return[_0x1b4f54];}[_0x4c9d('0x6')](){const _0x7eb704=this[_0x4c9d('0x27')],_0x3f7213=_0x7eb704[_0x4c9d('0x19')][_0x4c9d('0x8')](_0x4c9d('0x14'));_0x3f7213[_0x4c9d('0x2')](_0x4c9d('0x1e')),_0x7eb704[_0x4c9d('0x13')][_0x4c9d('0x5')]['on'](_0x4c9d('0x1b'),re(_0x7eb704),{'priority':_0x4c9d('0x1a')}),_0x7eb704['editing'][_0x4c9d('0x5')]['on']('addMarker:suggestion:deletion',re(_0x7eb704),{'priority':_0x4c9d('0x1a')}),_0x7eb704[_0x4c9d('0x1d')]['downcastDispatcher']['on'](_0x4c9d('0x20'),(_0x1f64bb,_0x3fad51,_0x5ed024)=>{_0x5ed024['options'][_0x4c9d('0x15')]&&re(_0x7eb704,{'showActiveMarker':!0x1})(_0x1f64bb,_0x3fad51,_0x5ed024);}),_0x3f7213[_0x4c9d('0x12')][_0x4c9d('0x26')](_0x4c9d('0x1c'),_0x3aeeda=>_0x27b646(_0x7eb704[_0x4c9d('0x24')],_0x4c9d('0x1'),_0x3aeeda));}}function re(_0x4ba440,{showActiveMarker:_0x5ef9f8=!0x0}={}){return(_0x486dbd,_0x262bf9,_0x4d28ff)=>{const _0x5c3af8=_0x4ba440[_0x4c9d('0x19')][_0x4c9d('0x8')](_0x4c9d('0x14'));if(!_0x4d28ff[_0x4c9d('0x0')][_0x4c9d('0x18')](_0x262bf9[_0x4c9d('0x7')],_0x486dbd[_0x4c9d('0xd')]))return;const _0x5de89a=_0x4ba440[_0x4c9d('0xb')];for(const _0x74a9a7 of _0x262bf9['markerRange'][_0x4c9d('0xf')]()){if(!_0x74a9a7['is'](_0x4c9d('0xa'),_0x4c9d('0x1c')))continue;const _0x407551='deletion'==_0x262bf9[_0x4c9d('0x11')]['split'](':')[0x1]?_0x4c9d('0x4'):_0x4c9d('0x16'),_0xfa0be8=_0x4d28ff[_0x4c9d('0x23')][_0x4c9d('0x17')](_0x4c9d('0xc'),{'class':_0x4c9d('0x1f')+_0x407551}),_0x57a2c7=_0x4d28ff[_0x4c9d('0x3')]['toViewPosition'](_0x5de89a[_0x4c9d('0x25')](_0x74a9a7));_0x5ef9f8&&_0x5c3af8['activeMarkers'][_0x4c9d('0x9')](_0x262bf9[_0x4c9d('0x11')])&&_0x4d28ff[_0x4c9d('0x23')][_0x4c9d('0x21')](_0x4c9d('0xe'),_0xfa0be8),_0x4d28ff['writer'][_0x4c9d('0x22')](_0x57a2c7,_0xfa0be8),_0x4d28ff[_0x4c9d('0x3')][_0x4c9d('0x10')](_0xfa0be8,_0x262bf9[_0x4c9d('0x11')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354a=['model','TrackChangesEditing','plugins','afterInit','registerDescriptionCallback','getRanges','get','change','has','commandParams','format','selection','_descriptionFactory','forceValue','locale','StandardEditingModeEditing','FORMAT_RESTRICTED_ENABLED','FORMAT_RESTRICTED_DISABLED','value','markInlineFormat','commandName','commands'];(function(_0x556619,_0x354ab4){const _0x4fc317=function(_0x18a12b){while(--_0x18a12b){_0x556619['push'](_0x556619['shift']());}};_0x4fc317(++_0x354ab4);}(_0x354a,0x1cb));const _0x4fc3=function(_0x556619,_0x354ab4){_0x556619=_0x556619-0x0;let _0x4fc317=_0x354a[_0x556619];return _0x4fc317;};import{Plugin as _0x531f9a}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x1289ed}from'./utils';import{getTranslation as _0x1ba6be}from'../utils/common-translations';export default class lt extends _0x531f9a{[_0x4fc3('0x6')](){const _0x2a8daf=this['editor'],_0x1f8c35=_0x2a8daf[_0x4fc3('0x3')],_0x2a07cb=_0x2a8daf[_0x4fc3('0x11')];if(!_0x2a8daf[_0x4fc3('0x5')][_0x4fc3('0xb')](_0x4fc3('0x12')))return;const _0x5c4dbe=_0x2a8daf[_0x4fc3('0x5')][_0x4fc3('0x9')](_0x4fc3('0x4')),_0x26ff36='restrictedEditingException',_0x50fe4b=_0x2a8daf[_0x4fc3('0x2')][_0x4fc3('0x9')](_0x26ff36);_0x5c4dbe['enableCommand'](_0x26ff36,(_0x39487c,_0x410563={})=>{const _0x4c0550=_0x1f8c35['document'][_0x4fc3('0xe')];if(_0x4c0550['isCollapsed'])return void _0x39487c(_0x410563);const _0x2ec970=void 0x0!==_0x410563['forceValue']?_0x410563[_0x4fc3('0x10')]:!_0x50fe4b[_0x4fc3('0x15')];_0x1f8c35[_0x4fc3('0xa')](()=>{const _0x38fbd6=Array['from'](_0x4c0550[_0x4fc3('0x8')]());for(const _0x42808e of _0x38fbd6){const _0x540056=_0x2ec970?[_0x42808e]:_0x1289ed(_0x26ff36,_0x42808e,_0x1f8c35);for(const _0x15b6a3 of _0x540056)_0x5c4dbe[_0x4fc3('0x0')](_0x15b6a3,{'commandName':_0x26ff36,'commandParams':[{'forceValue':_0x2ec970}]});}});}),_0x5c4dbe[_0x4fc3('0xf')][_0x4fc3('0x7')](_0xa92eee=>{const {data:_0x4b789b}=_0xa92eee;if(_0x4b789b&&_0x4b789b[_0x4fc3('0x1')]==_0x26ff36)return _0x4b789b[_0x4fc3('0xc')][0x0][_0x4fc3('0x10')]?{'type':_0x4fc3('0xd'),'content':_0x1ba6be(_0x2a07cb,_0x4fc3('0x13'))}:{'type':_0x4fc3('0xd'),'content':_0x1ba6be(_0x2a07cb,_0x4fc3('0x14'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a8c=['plugins','DataSchema','style','_descriptionFactory','getItems','getSelectedBlocks','createRangeOn','getDefinitionsForView','value','config','push','styleName','*Format:*\x20%0','from','toLowerCase','element','enabledStyles','inline','name','commandParams','style.definitions','_getRangesWithClasses','includes','format','commandName','afterInit','isBlock','getAttribute','get','model','style:','editor','classes','enableCommand','Style','forceValue','modelElements','document','_getStyleDefinition','change','markInlineFormat','commands','find','registerDescriptionCallback','TrackChangesEditing','StyleUtils'];(function(_0x2bed93,_0x2a8c88){const _0x3aa4af=function(_0x6ea46a){while(--_0x6ea46a){_0x2bed93['push'](_0x2bed93['shift']());}};_0x3aa4af(++_0x2a8c88);}(_0x2a8c,0x6f));const _0x3aa4=function(_0x2bed93,_0x2a8c88){_0x2bed93=_0x2bed93-0x0;let _0x3aa4af=_0x2a8c[_0x2bed93];return _0x3aa4af;};import{Plugin as _0x3a40df}from'ckeditor5/src/core';import{getTranslation as _0x148484}from'../utils/common-translations';export default class gt extends _0x3a40df{[_0x3aa4('0x6')](){const _0x3ad030=this[_0x3aa4('0xc')];if(!_0x3ad030[_0x3aa4('0x1b')]['has'](_0x3aa4('0xf')))return;const _0x200ea6=_0x3ad030[_0x3aa4('0x16')][_0x3aa4('0x9')](_0x3aa4('0x1d')),_0x5e9ab3=_0x3ad030[_0x3aa4('0x1b')][_0x3aa4('0x9')](_0x3aa4('0x19')),_0x31d939=_0x3ad030['locale'],_0x259ee3=_0x3ad030[_0x3aa4('0x1b')][_0x3aa4('0x9')](_0x3aa4('0x1c')),_0x12bf9c=_0x3ad030['plugins']['get'](_0x3aa4('0x1a'))['normalizeConfig'](_0x259ee3,_0x3ad030[_0x3aa4('0x24')]['get'](_0x3aa4('0x1')));_0x5e9ab3[_0x3aa4('0xe')]('style',(_0x42e589,{styleName:_0x500052})=>{const _0x5c74cc=_0x3ad030[_0x3aa4('0xa')][_0x3aa4('0x12')]['selection'],_0x27512f=this[_0x3aa4('0x13')](_0x500052,_0x12bf9c);if(!_0x27512f)return;if(!_0x200ea6[_0x3aa4('0x2b')][_0x3aa4('0x3')](_0x500052))return;if(_0x5c74cc['isCollapsed']&&!_0x27512f[_0x3aa4('0x7')])return void _0x42e589({'styleName':_0x500052});const _0x39498d=!_0x200ea6[_0x3aa4('0x23')][_0x3aa4('0x3')](_0x27512f[_0x3aa4('0x2d')]);if(_0x27512f[_0x3aa4('0x7')]){const _0x3574b4=function(_0x2a7122,_0x2aa3fd){const _0x282dd5=new Set();for(const _0xa5cd71 of _0x2a7122){const _0x193157=_0xa5cd71['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x216267 of _0x193157)if(_0x2aa3fd[_0x3aa4('0x3')](_0x216267[_0x3aa4('0x2d')])){_0x282dd5['add'](_0x216267);break;}}return _0x282dd5;}(_0x5c74cc[_0x3aa4('0x20')](),_0x27512f[_0x3aa4('0x11')]);_0x3ad030[_0x3aa4('0xa')][_0x3aa4('0x14')](()=>{for(const _0x344766 of _0x3574b4)_0x5e9ab3['markBlockFormat'](_0x344766,{'commandName':_0x3aa4('0x1d'),'commandParams':[{'styleName':_0x500052,'forceValue':_0x39498d}],'formatGroupId':_0x3aa4('0xb')+_0x500052});});}else{let _0x20360=Array['from'](_0x5c74cc['getRanges']());if(!_0x39498d){const _0x1d280f=Array[_0x3aa4('0x28')](_0x259ee3[_0x3aa4('0x22')](_0x27512f[_0x3aa4('0x2a')],!0x1))[0x0][_0x3aa4('0xa')],_0x1267f9=[];for(const _0x3c80c8 of _0x20360){const _0x5d68f7=this[_0x3aa4('0x2')](_0x3ad030['model'],_0x3c80c8,_0x27512f[_0x3aa4('0xd')],_0x1d280f);_0x1267f9[_0x3aa4('0x25')](..._0x5d68f7);}_0x20360=_0x1267f9;}_0x3ad030[_0x3aa4('0xa')]['change'](()=>{for(const _0x4c2daa of _0x20360)_0x5e9ab3[_0x3aa4('0x15')](_0x4c2daa,{'commandName':'style','commandParams':[{'styleName':_0x500052,'forceValue':_0x39498d}]});});}}),_0x5e9ab3[_0x3aa4('0x1e')][_0x3aa4('0x18')](_0x407837=>{const {data:_0x5dedf1}=_0x407837;if(_0x5dedf1&&'style'===_0x5dedf1[_0x3aa4('0x5')])return _0x5dedf1['commandParams'][0x0][_0x3aa4('0x10')]?{'type':_0x3aa4('0x4'),'content':_0x148484(_0x31d939,_0x3aa4('0x27'),_0x5dedf1[_0x3aa4('0x0')][0x0][_0x3aa4('0x26')][_0x3aa4('0x29')]())}:{'type':'format','content':_0x148484(_0x31d939,'*Remove\x20format:*\x20%0',_0x5dedf1[_0x3aa4('0x0')][0x0][_0x3aa4('0x26')][_0x3aa4('0x29')]())};});}[_0x3aa4('0x13')](_0x553f61,_0x22f94c){let _0x2c2d3d=_0x22f94c['block']['find'](_0x2984bd=>_0x2984bd[_0x3aa4('0x2d')]===_0x553f61);return _0x2c2d3d||(_0x2c2d3d=_0x22f94c[_0x3aa4('0x2c')][_0x3aa4('0x17')](_0x4e37a6=>_0x4e37a6[_0x3aa4('0x2d')]===_0x553f61)),_0x2c2d3d;}[_0x3aa4('0x2')](_0x5cf6ad,_0x1432ea,_0x1f1925,_0xee279e){const _0x543a55=[];for(const _0x3dea23 of _0x1432ea[_0x3aa4('0x1f')]()){const _0x90f1e7=_0x3dea23[_0x3aa4('0x8')](_0xee279e);_0x90f1e7&&(_0x1f1925['every'](_0x340be2=>_0x90f1e7[_0x3aa4('0xd')][_0x3aa4('0x3')](_0x340be2))&&_0x543a55[_0x3aa4('0x25')](_0x5cf6ad[_0x3aa4('0x21')](_0x3dea23)));}return _0x543a55;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1780=['classes','createRangeIn','some','getColumnIndexes','min','enqueueChange','colspan','refresh','data','getItems','_splitMarkerName','registerDescriptionCallback','setSelection','registerPostFixer','markMultiRangeInsertion','order','rootName','plugins','differ','ELEMENT_TABLE_COLUMN','_setupColumnsRowsFixing','map','isIntersectingWithRange','$textProxy','removeTableRow','document','maxColumn','low','fromRange','registerElementLabel','subType','ELEMENT_TABLE_COLUMN_WITH_TEXT','selection','ELEMENT_TABLE_ROW','getAttribute','minColumn','removeClass','tablePaste','push','tableCell','_getCoordsForCells','suggestion','getSelectionAffectedTableCells','insertTable','findAncestor','enableCommand','downcastDispatcher','position','*Remove:*\x20%0','nodeAfter','values','markMultiRangeDeletion','editor','insertTableColumnRight','discard','MIN_SAFE_INTEGER','MAX_SAFE_INTEGER','nodeBefore','writer','registerCustomCallback','item','from','_descriptionFactory','join','getRanges','ELEMENT_TABLE_ROW_WITH_TEXT','_getSuggestionCoords','_suggestionFactory','createTableWalker','minRow','insert','deletion','removeTableColumn','name','options','type','span','oldRange','getContainedElement','last','length','end','ELEMENT_TABLE','root','addRange','*Insert:*\x20%0','TableUtils','detach','substr','getChildren','mapper','toLowerCase','accept','maxRow','get','getRowIndexes','insertion','change:data','commands','table','addClass','hasAttribute','insertTableRowAbove','selectTableRow','getChangedMarkers','startsWith','tableColumn','_tablePostFixingSubtypes','$graveyard','isEqual','TrackChangesEditing','rowspan','above','execute','selectTableColumn','change','first','filter','start','getSuggestion','tableRow','createRangeOn','getChanges','every','max','model','isInContent','has','ELEMENT_TABLE_WITH_TEXT'];(function(_0x33618c,_0x17802f){const _0x3b92e5=function(_0x33999d){while(--_0x33999d){_0x33618c['push'](_0x33618c['shift']());}};_0x3b92e5(++_0x17802f);}(_0x1780,0x13c));const _0x3b92=function(_0x33618c,_0x17802f){_0x33618c=_0x33618c-0x0;let _0x3b92e5=_0x1780[_0x33618c];return _0x3b92e5;};import{Plugin as _0x8c0d3d}from'ckeditor5/src/core';import{LiveRange as _0x1605a2}from'ckeditor5/src/engine';import{setHighlightHandling as _0x43c95a}from'ckeditor5/src/widget';import{getTranslation as _0x510c36}from'../utils/common-translations';export default class mt extends _0x8c0d3d{constructor(_0x2b8297){super(_0x2b8297),this[_0x3b92('0x31')]=[_0x3b92('0x3e'),'tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x5d7e5e=this[_0x3b92('0x7b')],_0x221410=_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x67')];if(!_0x5d7e5e[_0x3b92('0x58')][_0x3b92('0x45')]('TableEditing'))return;const _0x53d192=_0x5d7e5e['locale'],_0x4518eb=_0x5d7e5e[_0x3b92('0x58')]['get']('TrackChangesEditing'),_0x42f974=_0x5d7e5e[_0x3b92('0x58')][_0x3b92('0x24')](_0x3b92('0x1c'));_0x4518eb[_0x3b92('0x4')][_0x3b92('0x64')](_0x3b92('0x29'),_0xb4ee4b=>_0x510c36(_0x53d192,_0x3b92('0x18'),_0xb4ee4b)),this[_0x3b92('0x5b')](),_0x4518eb['enableCommand'](_0x3b92('0x72')),_0x4518eb['enableCommand'](_0x3b92('0x2d')),_0x4518eb[_0x3b92('0x74')](_0x3b92('0x38'));for(const _0x389b7e of[_0x3b92('0x2c'),'insertTableRowBelow']){const _0x504823=_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x389b7e);_0x4518eb[_0x3b92('0x74')](_0x389b7e,_0x32d565=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x55bda4=>{_0x32d565();const _0x597b13=_0x3b92('0x36')===_0x504823['order'],_0x53084d=_0x42f974[_0x3b92('0x71')](_0x221410),_0x30f8e2=_0x42f974['getRowIndexes'](_0x53084d),_0x335f8d=_0x597b13?_0x30f8e2[_0x3b92('0x3a')]-0x1:_0x30f8e2[_0x3b92('0x15')]+0x1,_0x4b5d49=_0x53084d[0x0][_0x3b92('0x73')](_0x3b92('0x29')),_0x4fd62d=_0x42f974[_0x3b92('0xa')](_0x4b5d49,{'startRow':_0x335f8d,'endRow':_0x335f8d}),_0xed01e1=Array['from'](_0x4fd62d)[_0x3b92('0x5c')](_0x21c9d3=>_0x55bda4['createRangeOn'](_0x21c9d3['cell']));_0x4518eb[_0x3b92('0x55')](_0xed01e1,'tableRow');});});}for(const _0x198c63 of['insertTableColumnLeft',_0x3b92('0x7c')]){const _0x4abcf3=_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x198c63);_0x4518eb[_0x3b92('0x74')](_0x198c63,_0x146008=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x2810df=>{_0x146008();const _0x52efaf='left'===_0x4abcf3[_0x3b92('0x56')],_0x244e12=_0x42f974['getSelectionAffectedTableCells'](_0x221410),_0x48056b=_0x42f974[_0x3b92('0x4a')](_0x244e12),_0x445167=_0x52efaf?_0x48056b[_0x3b92('0x3a')]-0x1:_0x48056b[_0x3b92('0x15')]+0x1,_0xe36d5e=_0x244e12[0x0][_0x3b92('0x73')](_0x3b92('0x29')),_0x513b46=_0x42f974[_0x3b92('0xa')](_0xe36d5e,{'startRow':0x0,'column':_0x445167,'includeAllSlots':!0x1}),_0x4c9026=Array['from'](_0x513b46)['map'](_0x281820=>_0x2810df[_0x3b92('0x3f')](_0x281820['cell']));_0x4518eb[_0x3b92('0x55')](_0x4c9026,_0x3b92('0x30'));});});}for(const _0x3f7d20 of[_0x3b92('0x5f'),'removeTableColumn']){const _0x4b7368=_0x3f7d20['substr'](0xb),_0x3e1863=_0x4b7368[_0x3b92('0x21')](),_0x3a8e45=_0x3e1863[_0x3b92('0x1e')](0x0,0x3)+_0x3b92('0x12'),_0x517c00=_0x3b92('0x29')+_0x4b7368,_0x4154aa=_0x3b92('0x4b')+_0x4b7368,_0x4b21fb=_0x3b92('0x42')+_0x4b7368;_0x4518eb['enableCommand'](_0x3f7d20,()=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x39')](_0x1cc0ac=>{const _0xc8fa76=_0x42f974['getSelectionAffectedTableCells'](_0x221410),_0x5ad390=_0xc8fa76[0x0][_0x3b92('0x73')]('table');let _0x27eb67;if(_0x3b92('0x5f')==_0x3f7d20){const _0x1c6792=_0x42f974[_0x3b92('0x25')](_0xc8fa76);_0x27eb67={'startRow':_0x1c6792[_0x3b92('0x3a')],'endRow':_0x1c6792[_0x3b92('0x15')],'includeAllSlots':!0x0};}else{const _0x25ba53=_0x42f974['getColumnIndexes'](_0xc8fa76);_0x27eb67={'startColumn':_0x25ba53[_0x3b92('0x3a')],'endColumn':_0x25ba53[_0x3b92('0x15')],'includeAllSlots':!0x0};}const _0x104f16=_0x42f974[_0x3b92('0xa')](_0x5ad390,_0x27eb67),_0x1e6fd9=Array[_0x3b92('0x3')](_0x104f16)[_0x3b92('0x5c')](({cell:_0x3563b1})=>_0x3563b1),_0x198104=se(_0x1e6fd9[_0x3b92('0x3b')](_0x3daa52=>_0x3daa52['hasAttribute'](_0x3a8e45))),_0x2d69e0=se(_0x1e6fd9[_0x3b92('0x3b')](_0x58142b=>!_0x58142b['hasAttribute'](_0x3a8e45)))[_0x3b92('0x5c')](_0x773417=>_0x1cc0ac[_0x3b92('0x3f')](_0x773417)),_0x96a45=_0x4518eb[_0x3b92('0x7a')](_0x2d69e0,_0x517c00);if(_0x96a45&&(_0x3b92('0x3e')==_0x96a45[_0x3b92('0x65')]||'tableColumn'==_0x96a45['subType'])){const _0x14d96a=this[_0x3b92('0x8')](_0x96a45);for(const _0xa08e6e of _0x198104){const _0x5e653b=_0x1cc0ac[_0x3b92('0x3f')](_0xa08e6e),_0x56d4ff=_0x42f974['getCellLocation'](_0xa08e6e),_0x31a120=_0xa08e6e[_0x3b92('0x69')](_0x3a8e45)-0x1,_0x17b620=_0x14d96a[_0x4154aa],_0x4810a1=_0x14d96a[_0x4b21fb];_0x17b620<=_0x56d4ff[_0x3e1863]&&_0x56d4ff[_0x3e1863]+_0x31a120<=_0x4810a1&&_0x96a45[_0x3b92('0x1a')](_0x5e653b);}}});});}function _0x2e237a(_0xc73350){const _0x1c2d96=Array['from'](_0x221410[_0x3b92('0x6')]())[_0x3b92('0x5c')](_0x11f706=>_0x1605a2[_0x3b92('0x63')](_0x11f706));_0x5d7e5e['model']['change'](_0x5862bd=>{const _0x2d4669=_0x5862bd['batch'];_0xc73350=_0xc73350[_0x3b92('0x3b')](_0x5eb6e7=>_0x3b92('0x32')!=_0x5eb6e7['root'][_0x3b92('0x57')]),_0x5862bd[_0x3b92('0x53')](_0xc73350),_0x5d7e5e[_0x3b92('0x28')]['get'](_0x3b92('0x5f'))[_0x3b92('0x4e')](),_0x5d7e5e['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x4c')](()=>{_0x5d7e5e[_0x3b92('0x43')][_0x3b92('0x4c')](_0x2d4669,_0x2aafb4=>{const _0x5165ea=_0x1c2d96[_0x3b92('0x3b')](_0xde7fcf=>_0x3b92('0x32')!=_0xde7fcf[_0x3b92('0x19')]['rootName']);_0x5165ea[_0x3b92('0x16')]>0x0&&_0x2aafb4['setSelection'](_0x5165ea);for(const _0x15b5c5 of _0x1c2d96)_0x15b5c5[_0x3b92('0x1d')]();});});});}function _0x1607ef(_0x3821e1){_0x5d7e5e['model'][_0x3b92('0x39')](_0x5e4a0a=>{const _0x26f936=Array[_0x3b92('0x3')](_0x221410['getRanges']())[_0x3b92('0x5c')](_0x4fdc06=>_0x1605a2[_0x3b92('0x63')](_0x4fdc06)),_0x315804=[];for(const _0x52c944 of _0x3821e1)for(const _0x1f5692 of _0x52c944[_0x3b92('0x50')]({'shallow':!0x0}))_0x315804[_0x3b92('0x6d')](_0x1f5692);for(const _0x1e7846 of _0x315804)_0x3b92('0x32')!=_0x1e7846[_0x3b92('0x19')][_0x3b92('0x57')]&&(_0x5e4a0a[_0x3b92('0x53')](_0x5e4a0a['createPositionAt'](_0x1e7846,0x0)),_0x5d7e5e[_0x3b92('0x28')][_0x3b92('0x24')](_0x3b92('0xe'))['refresh'](),_0x5d7e5e[_0x3b92('0x37')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x502b80=_0x26f936[_0x3b92('0x3b')](_0x3fb98e=>_0x3b92('0x32')!=_0x3fb98e['root'][_0x3b92('0x57')]);_0x502b80[_0x3b92('0x16')]>0x0&&_0x5e4a0a[_0x3b92('0x53')](_0x502b80);for(const _0x51b614 of _0x26f936)_0x51b614['detach']();});}function _0x2b2a0d(_0x3ca53b,_0x151c1c){return _0x151c1c[_0x3b92('0x41')](_0x2d3071=>_0x3ca53b['some'](_0x178388=>_0x178388[_0x3b92('0x17')][_0x3b92('0x33')](_0x2d3071['start'])||_0x2d3071[_0x3b92('0x17')][_0x3b92('0x33')](_0x178388[_0x3b92('0x3c')])));}function _0x15b8d9(_0x25d4c8,_0x5f2fad){return _0x25d4c8[_0x3b92('0x49')](_0x29b300=>_0x5f2fad[_0x3b92('0x49')](_0x29be6b=>_0x29b300[_0x3b92('0x17')]['isTouching'](_0x29be6b[_0x3b92('0x3c')])));}_0x5d7e5e[_0x3b92('0x4f')][_0x3b92('0x75')]['on']('addMarker:suggestion',(_0x511f8b,_0x4b4248,_0x1bdf3e)=>{if(!_0x1bdf3e[_0x3b92('0x10')]['showSuggestionHighlights'])return;const _0x634f55=_0x4b4248[_0x3b92('0x2')];if(!_0x634f55)return;const _0x2ae2f3=_0x1bdf3e[_0x3b92('0x20')]['toViewElement'](_0x634f55);function _0x29841c(_0x472d36){return Array['isArray'](_0x472d36)?_0x472d36:[_0x472d36];}_0x2ae2f3&&'tableCell'===_0x634f55[_0x3b92('0xf')]&&_0x43c95a(_0x2ae2f3,_0x1bdf3e[_0x3b92('0x0')],(_0x5016dc,_0x56d013,_0x3ee104)=>_0x3ee104[_0x3b92('0x2a')](_0x29841c(_0x56d013[_0x3b92('0x47')]),_0x5016dc),(_0x375aea,_0x5228cf,_0x21e557)=>_0x21e557[_0x3b92('0x6b')](_0x29841c(_0x5228cf[_0x3b92('0x47')]),_0x375aea));},{'priority':'highest'}),_0x4518eb[_0x3b92('0x4')][_0x3b92('0x52')](_0x117424=>{if('insertion'!=_0x117424[_0x3b92('0x11')]&&_0x3b92('0xd')!=_0x117424[_0x3b92('0x11')])return;const _0x476d40=_0x117424[_0x3b92('0x14')]();if(null!=_0x476d40&&_0x476d40['is']('element',_0x3b92('0x29'))){if(_0x3b92('0x26')==_0x117424[_0x3b92('0x11')]){const _0x3ec52b=_0x117424['getItems']()[_0x3b92('0x3b')](_0x2f8c32=>_0x2f8c32['is'](_0x3b92('0x5e')))[_0x3b92('0x5c')](_0x31c1b5=>_0x31c1b5['data']);if(_0x3ec52b[_0x3b92('0x16')])return{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,_0x3b92('0x1b'),_0x510c36(_0x53d192,_0x3b92('0x46'),'\x22'+_0x3ec52b[_0x3b92('0x5')]('\x20')+'\x22'))};}if('deletion'==_0x117424[_0x3b92('0x11')]){const _0x3248cb=_0x117424[_0x3b92('0x50')]()[_0x3b92('0x3b')](_0x344b30=>_0x344b30['is'](_0x3b92('0x5e')))['map'](_0x270c54=>_0x270c54[_0x3b92('0x4f')]);if(_0x3248cb[_0x3b92('0x16')])return{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x46'),'\x22'+_0x3248cb[_0x3b92('0x5')]('\x20')+'\x22'))};}}}),_0x4518eb['_descriptionFactory'][_0x3b92('0x52')](_0x4cc471=>{if(_0x3b92('0x3e')==_0x4cc471['subType']){const _0xf40a0c=_0x4cc471['getItems']()['filter'](_0x1ef50b=>_0x1ef50b['is']('$textProxy'))[_0x3b92('0x5c')](_0x18eccc=>_0x18eccc[_0x3b92('0x4f')]),_0x31bf33=this[_0x3b92('0x8')](_0x4cc471),_0x236fa5=_0x31bf33[_0x3b92('0x23')]-_0x31bf33[_0x3b92('0xb')]+0x1;if(_0x3b92('0x26')==_0x4cc471[_0x3b92('0x11')])return _0xf40a0c['length']?{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x7'),[_0x236fa5,'\x22'+_0xf40a0c['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x510c36(_0x53d192,_0x3b92('0x1b'),_0x510c36(_0x53d192,_0x3b92('0x68'),_0x236fa5))};if(_0x3b92('0xd')==_0x4cc471[_0x3b92('0x11')])return _0xf40a0c[_0x3b92('0x16')]?{'type':'deletion','content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x7'),[_0x236fa5,'\x22'+_0xf40a0c[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,'ELEMENT_TABLE_ROW',_0x236fa5))};}if(_0x3b92('0x30')==_0x4cc471[_0x3b92('0x65')]){const _0x540963=_0x4cc471[_0x3b92('0x50')]()['filter'](_0x4cf64e=>_0x4cf64e['is']('$textProxy'))[_0x3b92('0x5c')](_0x551fe7=>_0x551fe7[_0x3b92('0x4f')]),_0xc05c0e=this[_0x3b92('0x8')](_0x4cc471),_0x539402=_0xc05c0e[_0x3b92('0x61')]-_0xc05c0e[_0x3b92('0x6a')]+0x1;if(_0x3b92('0x26')==_0x4cc471['type'])return _0x540963[_0x3b92('0x16')]?{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x539402,'\x22'+_0x540963[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0x26'),'content':_0x510c36(_0x53d192,'*Insert:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x5a'),_0x539402))};if('deletion'==_0x4cc471[_0x3b92('0x11')])return _0x540963[_0x3b92('0x16')]?{'type':'deletion','content':_0x510c36(_0x53d192,_0x3b92('0x77'),_0x510c36(_0x53d192,_0x3b92('0x66'),[_0x539402,'\x22'+_0x540963[_0x3b92('0x5')]('\x20')+'\x22']))}:{'type':_0x3b92('0xd'),'content':_0x510c36(_0x53d192,'*Remove:*\x20%0',_0x510c36(_0x53d192,_0x3b92('0x5a'),_0x539402))};}}),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x3e'),'discard',_0x2e237a),_0x4518eb['_suggestionFactory'][_0x3b92('0x1')](_0x3b92('0xd'),_0x3b92('0x3e'),_0x3b92('0x22'),_0x2e237a),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x30'),_0x3b92('0x7d'),_0x1607ef),_0x4518eb[_0x3b92('0x9')]['registerCustomCallback'](_0x3b92('0xd'),_0x3b92('0x30'),_0x3b92('0x22'),_0x1607ef),_0x4518eb['_suggestionFactory']['registerCustomCallback']('insertion',_0x3b92('0x30'),'join',_0x2b2a0d),_0x4518eb['_suggestionFactory'][_0x3b92('0x1')](_0x3b92('0xd'),_0x3b92('0x30'),'join',_0x2b2a0d),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')](_0x3b92('0x26'),_0x3b92('0x3e'),'join',_0x15b8d9),_0x4518eb[_0x3b92('0x9')][_0x3b92('0x1')]('deletion',_0x3b92('0x3e'),_0x3b92('0x5'),_0x15b8d9);}['_acceptFormatSuggestionCallbackFactory'](){const _0x1891f0=this[_0x3b92('0x7b')],_0x1fd78b=_0x1891f0[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x67')];return(_0x380b8e,_0x4adc78)=>{_0x1891f0[_0x3b92('0x43')][_0x3b92('0x39')](_0x2645b2=>{const {commandName:_0x3ce818,commandParams:_0x41cc20}=_0x4adc78;let _0x4399ed=_0x380b8e[0x0][_0x3b92('0x17')][_0x3b92('0x80')];_0x41cc20&&_0x41cc20[0x0]&&!0x1===_0x41cc20[0x0]['forceValue']&&(_0x4399ed=_0x380b8e[0x0][_0x3b92('0x3c')][_0x3b92('0x78')]);const _0x3acb71=_0x2645b2[_0x3b92('0x48')](_0x4399ed);if(_0x3b92('0x32')==_0x3acb71[_0x3b92('0x19')]['rootName'])return;const _0x357102=Array[_0x3b92('0x3')](_0x1fd78b[_0x3b92('0x6')]())[_0x3b92('0x5c')](_0x466b29=>_0x1605a2[_0x3b92('0x63')](_0x466b29));_0x2645b2[_0x3b92('0x53')](_0x3acb71),_0x1891f0[_0x3b92('0x28')]['get'](_0x3ce818)['refresh'](),_0x41cc20[_0x3b92('0x6d')]({'forceDefaultExecution':!0x0}),_0x1891f0['execute'](_0x3ce818,..._0x41cc20);const _0x5c3bd6=_0x357102[_0x3b92('0x3b')](_0x209e8b=>_0x3b92('0x32')!=_0x209e8b['root'][_0x3b92('0x57')]);_0x5c3bd6[_0x3b92('0x16')]>0x0&&_0x2645b2['setSelection'](_0x5c3bd6);for(const _0x3cb5df of _0x357102)_0x3cb5df[_0x3b92('0x1d')]();});};}['_getCoordsForCells'](_0x49a7fa){const _0x5e4059=this[_0x3b92('0x7b')]['plugins']['get'](_0x3b92('0x1c'));let _0x28f7eb=Number[_0x3b92('0x7f')],_0x999b4b=Number[_0x3b92('0x7e')],_0x524dbe=Number['MAX_SAFE_INTEGER'],_0xa96158=Number[_0x3b92('0x7e')];for(const _0x3be607 of _0x49a7fa){if(_0x3b92('0x32')==_0x3be607[_0x3b92('0x19')][_0x3b92('0x57')])continue;const {row:_0x31b9bb,column:_0x56e410}=_0x5e4059['getCellLocation'](_0x3be607),_0x2d10ff=_0x3be607[_0x3b92('0x2b')]('rowspan')?_0x3be607[_0x3b92('0x69')](_0x3b92('0x35'))-0x1:0x0,_0x3626bf=_0x3be607[_0x3b92('0x2b')](_0x3b92('0x4d'))?_0x3be607[_0x3b92('0x69')]('colspan')-0x1:0x0;_0x28f7eb=_0x31b9bb<_0x28f7eb?_0x31b9bb:_0x28f7eb,_0x999b4b=_0x31b9bb+_0x2d10ff>_0x999b4b?_0x31b9bb+_0x2d10ff:_0x999b4b,_0x524dbe=_0x56e410<_0x524dbe?_0x56e410:_0x524dbe,_0xa96158=_0x56e410+_0x3626bf>_0xa96158?_0x56e410+_0x3626bf:_0xa96158;}return{'minRow':_0x28f7eb,'maxRow':_0x999b4b,'minColumn':_0x524dbe,'maxColumn':_0xa96158};}[_0x3b92('0x5b')](){const _0x3f5a8f=this['editor'],_0x1d2022=_0x3f5a8f[_0x3b92('0x58')][_0x3b92('0x24')](_0x3b92('0x34')),_0xb48861=_0x3f5a8f[_0x3b92('0x58')]['get']('TableUtils');_0x3f5a8f[_0x3b92('0x43')][_0x3b92('0x60')]['on'](_0x3b92('0x27'),()=>{const _0x5ce0d5=Array['from'](_0x3f5a8f[_0x3b92('0x43')]['document'][_0x3b92('0x59')][_0x3b92('0x2e')]());for(const {name:_0x301d05,data:_0x212e83}of _0x5ce0d5){const {group:_0x9eec48,id:_0x193dec,subType:_0x46f73c}=_0x1d2022[_0x3b92('0x51')](_0x301d05);if(_0x3b92('0x70')!=_0x9eec48)continue;if(null!=_0x212e83[_0x3b92('0x13')])continue;const _0x138842=_0x1d2022[_0x3b92('0x3d')](_0x193dec);this[_0x3b92('0x31')]['includes'](_0x46f73c)&&this['_tableSuggestions']['add'](_0x138842);}},{'priority':_0x3b92('0x62')});const _0x49100e=(_0xadc88d,_0x167c6b)=>{let _0x4189d6=!0x1;const _0x4c3f6a=_0x167c6b['createRangeOn'](_0xadc88d),_0x5f0395=_0xadc88d[_0x3b92('0x73')]('table'),_0x54dacb=_0xb48861['getCellLocation'](_0xadc88d);for(const _0x2a53d1 of this['_tableSuggestions']){const _0x957fbe=_0x2a53d1[_0x3b92('0x65')],_0x327c41=_0x957fbe[_0x3b92('0x2f')](_0x3b92('0x6c')),_0x5795ef=_0x957fbe['substr'](_0x327c41?0xa:0x5),_0xe4b23=_0x5795ef['toLowerCase'](),_0xc7be9b=_0xe4b23['substr'](0x0,0x3)+'span',_0x5020c0=_0x3b92('0x4b')+_0x5795ef,_0x6600f2=_0x3b92('0x42')+_0x5795ef;if(!_0x2a53d1[_0x3b92('0x44')])continue;if(_0x5f0395!=_0x2a53d1['getFirstRange']()[_0x3b92('0x3c')][_0x3b92('0x73')](_0x3b92('0x29')))continue;if(_0x2a53d1[_0x3b92('0x5d')](_0x4c3f6a))continue;const _0x2badf6=_0xadc88d[_0x3b92('0x2b')](_0xc7be9b)?_0xadc88d[_0x3b92('0x69')](_0xc7be9b)-0x1:0x0,_0x8cac4c=this[_0x3b92('0x8')](_0x2a53d1),_0x431609=_0x8cac4c[_0x5020c0],_0xdfcba1=_0x8cac4c[_0x6600f2];_0x431609<=_0x54dacb[_0xe4b23]&&_0x54dacb[_0xe4b23]+_0x2badf6<=_0xdfcba1&&(_0x2a53d1[_0x3b92('0x1a')](_0x4c3f6a),_0x4189d6=!0x0);}return _0x4189d6;};_0x3f5a8f['model'][_0x3b92('0x60')][_0x3b92('0x54')](_0x4ec75c=>{let _0xff187b=!0x1;for(const _0x7a24f1 of _0x3f5a8f[_0x3b92('0x43')][_0x3b92('0x60')][_0x3b92('0x59')][_0x3b92('0x40')]())if(_0x3b92('0xc')==_0x7a24f1[_0x3b92('0x11')]){if(_0x3b92('0x3e')==_0x7a24f1[_0x3b92('0xf')])for(const _0x4a7abc of _0x7a24f1[_0x3b92('0x76')][_0x3b92('0x78')][_0x3b92('0x1f')]())_0xff187b=_0xff187b||_0x49100e(_0x4a7abc,_0x4ec75c);else _0x3b92('0x6e')==_0x7a24f1[_0x3b92('0xf')]&&(_0xff187b=_0xff187b||_0x49100e(_0x7a24f1[_0x3b92('0x76')][_0x3b92('0x78')],_0x4ec75c));}return _0xff187b;});}[_0x3b92('0x8')](_0x2ab6c7){return this[_0x3b92('0x6f')](_0x2ab6c7['getRanges']()[_0x3b92('0x5c')](_0x2985ae=>_0x2985ae[_0x3b92('0x3c')]['nodeAfter']));}}function se(_0x7cf60f){return Array['from'](new Set(_0x7cf60f)[_0x3b92('0x79')]());}
|
|
23
|
+
const _0x2fef=['forceValue','tableRow','getRanges','MAX_SAFE_INTEGER','cell','locale','markMultiRangeDeletion','first','ELEMENT_TABLE_ROW_WITH_TEXT','plugins','enqueueChange','_setupColumnsRowsFixing','filter','insertTableColumnRight','insertTable','*Insert:*\x20%0','createRangeIn','from','ELEMENT_TABLE','classes','getChanges','has','enableCommand','join','writer','last','findAncestor','end','getChangedMarkers','removeTableRow','getAttribute','isInContent','tableCell','getSuggestion','getRowIndexes','isTouching','includes','minColumn','add','setSelection','getChildren','options','TrackChangesEditing','accept','batch','insertTableRowBelow','mapper','push','removeClass','minRow','execute','editor','getFirstRange','insertTableColumnLeft','insertion','table','rootName','hasAttribute','detach','rowspan','tableColumn','refresh','selectTableRow','registerDescriptionCallback','start','ELEMENT_TABLE_ROW','discard','colspan','addMarker:suggestion','maxRow','TableEditing','_tablePostFixingSubtypes','maxColumn','max','selectTableColumn','isIntersectingWithRange','commands','*Remove:*\x20%0','change:data','map','isArray','span','min','registerCustomCallback','differ','tablePaste','addRange','substr','values','nodeBefore','document','nodeAfter','addClass','toLowerCase','change','TableUtils','selection','_suggestionFactory','_descriptionFactory','_getSuggestionCoords','get','root','$graveyard','ELEMENT_TABLE_WITH_TEXT','type','getItems','isEqual','deletion','afterInit','order','subType','oldRange','low','getColumnIndexes','item','position','_tableSuggestions','createRangeOn','model','removeTableColumn','getCellLocation','length','insert','getSelectionAffectedTableCells','left','fromRange','$textProxy','markMultiRangeInsertion','some','MIN_SAFE_INTEGER','data','createPositionAt','ELEMENT_TABLE_COLUMN_WITH_TEXT','createTableWalker','getContainedElement','name'];(function(_0x55cc96,_0x2feff2){const _0x417221=function(_0x260c45){while(--_0x260c45){_0x55cc96['push'](_0x55cc96['shift']());}};_0x417221(++_0x2feff2);}(_0x2fef,0x1cc));const _0x4172=function(_0x55cc96,_0x2feff2){_0x55cc96=_0x55cc96-0x0;let _0x417221=_0x2fef[_0x55cc96];return _0x417221;};import{Plugin as _0x4257a0}from'ckeditor5/src/core';import{LiveRange as _0x94bbe7}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2e7393}from'ckeditor5/src/widget';import{getTranslation as _0x3f819a}from'../utils/common-translations';export default class mt extends _0x4257a0{constructor(_0x3d72d3){super(_0x3d72d3),this[_0x4172('0x13')]=['tableRow',_0x4172('0x8')],this[_0x4172('0x40')]=new Set();}[_0x4172('0x38')](){const _0x55590e=this[_0x4172('0x87')],_0x1b0dd9=_0x55590e[_0x4172('0x42')][_0x4172('0x26')]['selection'];if(!_0x55590e['plugins'][_0x4172('0x69')](_0x4172('0x12')))return;const _0x1ceac7=_0x55590e[_0x4172('0x59')],_0x5624a3=_0x55590e['plugins'][_0x4172('0x30')]('TrackChangesEditing'),_0x590140=_0x55590e[_0x4172('0x5d')]['get'](_0x4172('0x2b'));_0x5624a3[_0x4172('0x2e')]['registerElementLabel']('table',_0x2dacf8=>_0x3f819a(_0x1ceac7,_0x4172('0x66'),_0x2dacf8)),this[_0x4172('0x5f')](),_0x5624a3[_0x4172('0x6a')](_0x4172('0x62')),_0x5624a3[_0x4172('0x6a')](_0x4172('0xa')),_0x5624a3[_0x4172('0x6a')](_0x4172('0x16'));for(const _0xc13778 of['insertTableRowAbove',_0x4172('0x81')]){const _0x2bb993=_0x55590e['commands'][_0x4172('0x30')](_0xc13778);_0x5624a3['enableCommand'](_0xc13778,_0x3707f4=>{_0x55590e['model'][_0x4172('0x2a')](_0x2fbade=>{_0x3707f4();const _0xea11fc='above'===_0x2bb993[_0x4172('0x39')],_0x1324b3=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x216fed=_0x590140['getRowIndexes'](_0x1324b3),_0x4ff533=_0xea11fc?_0x216fed[_0x4172('0x5b')]-0x1:_0x216fed[_0x4172('0x6d')]+0x1,_0x368e60=_0x1324b3[0x0][_0x4172('0x6e')]('table'),_0x7542bd=_0x590140['createTableWalker'](_0x368e60,{'startRow':_0x4ff533,'endRow':_0x4ff533}),_0x25b7ee=Array['from'](_0x7542bd)[_0x4172('0x1b')](_0x24a5b1=>_0x2fbade[_0x4172('0x41')](_0x24a5b1[_0x4172('0x58')]));_0x5624a3[_0x4172('0x4b')](_0x25b7ee,_0x4172('0x55'));});});}for(const _0xe7fa83 of[_0x4172('0x1'),_0x4172('0x61')]){const _0xd4a46c=_0x55590e[_0x4172('0x18')]['get'](_0xe7fa83);_0x5624a3[_0x4172('0x6a')](_0xe7fa83,_0x92b480=>{_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x179ca3=>{_0x92b480();const _0x575a2b=_0x4172('0x48')===_0xd4a46c[_0x4172('0x39')],_0x29b68d=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x3fb108=_0x590140[_0x4172('0x3d')](_0x29b68d),_0x3578fb=_0x575a2b?_0x3fb108[_0x4172('0x5b')]-0x1:_0x3fb108[_0x4172('0x6d')]+0x1,_0x1d3610=_0x29b68d[0x0][_0x4172('0x6e')]('table'),_0x18bf91=_0x590140['createTableWalker'](_0x1d3610,{'startRow':0x0,'column':_0x3578fb,'includeAllSlots':!0x1}),_0x2eefdc=Array[_0x4172('0x65')](_0x18bf91)[_0x4172('0x1b')](_0x283e8f=>_0x179ca3[_0x4172('0x41')](_0x283e8f[_0x4172('0x58')]));_0x5624a3['markMultiRangeInsertion'](_0x2eefdc,_0x4172('0x8'));});});}for(const _0x2d612c of[_0x4172('0x71'),_0x4172('0x43')]){const _0x4719f2=_0x2d612c['substr'](0xb),_0x1f9aad=_0x4719f2['toLowerCase'](),_0x2afeed=_0x1f9aad['substr'](0x0,0x3)+_0x4172('0x1d'),_0x52a484=_0x4172('0x3')+_0x4719f2,_0x1eab56='min'+_0x4719f2,_0x206d8d=_0x4172('0x15')+_0x4719f2;_0x5624a3[_0x4172('0x6a')](_0x2d612c,()=>{_0x55590e[_0x4172('0x42')]['change'](_0x47a6ea=>{const _0x552d2f=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x47206c=_0x552d2f[0x0][_0x4172('0x6e')](_0x4172('0x3'));let _0x4a2db4;if('removeTableRow'==_0x2d612c){const _0x3598f3=_0x590140[_0x4172('0x76')](_0x552d2f);_0x4a2db4={'startRow':_0x3598f3[_0x4172('0x5b')],'endRow':_0x3598f3[_0x4172('0x6d')],'includeAllSlots':!0x0};}else{const _0x45487a=_0x590140[_0x4172('0x3d')](_0x552d2f);_0x4a2db4={'startColumn':_0x45487a['first'],'endColumn':_0x45487a[_0x4172('0x6d')],'includeAllSlots':!0x0};}const _0x74f0ff=_0x590140[_0x4172('0x51')](_0x47206c,_0x4a2db4),_0x14dbe8=Array[_0x4172('0x65')](_0x74f0ff)[_0x4172('0x1b')](({cell:_0x784d68})=>_0x784d68),_0x4e28ba=se(_0x14dbe8[_0x4172('0x60')](_0x5cc548=>_0x5cc548[_0x4172('0x5')](_0x2afeed))),_0xda82d8=se(_0x14dbe8[_0x4172('0x60')](_0x5000e1=>!_0x5000e1[_0x4172('0x5')](_0x2afeed)))['map'](_0x6361d6=>_0x47a6ea[_0x4172('0x41')](_0x6361d6)),_0x1fc39e=_0x5624a3[_0x4172('0x5a')](_0xda82d8,_0x52a484);if(_0x1fc39e&&(_0x4172('0x55')==_0x1fc39e['subType']||_0x4172('0x8')==_0x1fc39e[_0x4172('0x3a')])){const _0x1b7e85=this[_0x4172('0x2f')](_0x1fc39e);for(const _0x53c533 of _0x4e28ba){const _0x5e774e=_0x47a6ea[_0x4172('0x41')](_0x53c533),_0x404025=_0x590140['getCellLocation'](_0x53c533),_0x1fcabc=_0x53c533[_0x4172('0x72')](_0x2afeed)-0x1,_0x57d95f=_0x1b7e85[_0x1eab56],_0x205376=_0x1b7e85[_0x206d8d];_0x57d95f<=_0x404025[_0x1f9aad]&&_0x404025[_0x1f9aad]+_0x1fcabc<=_0x205376&&_0x1fc39e[_0x4172('0x22')](_0x5e774e);}}});});}function _0x10fe41(_0x24de2b){const _0x526b5a=Array[_0x4172('0x65')](_0x1b0dd9[_0x4172('0x56')]())[_0x4172('0x1b')](_0x389727=>_0x94bbe7[_0x4172('0x49')](_0x389727));_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x1ff928=>{const _0x328736=_0x1ff928[_0x4172('0x80')];_0x24de2b=_0x24de2b['filter'](_0x5bc756=>_0x4172('0x32')!=_0x5bc756[_0x4172('0x31')][_0x4172('0x4')]),_0x1ff928['setSelection'](_0x24de2b),_0x55590e[_0x4172('0x18')][_0x4172('0x30')](_0x4172('0x71'))['refresh'](),_0x55590e['execute'](_0x4172('0x71'),{'forceDefaultExecution':!0x0}),_0x55590e[_0x4172('0x42')][_0x4172('0x5e')](()=>{_0x55590e['model']['enqueueChange'](_0x328736,_0xcd6bed=>{const _0x9b3a96=_0x526b5a['filter'](_0x313367=>_0x4172('0x32')!=_0x313367[_0x4172('0x31')][_0x4172('0x4')]);_0x9b3a96[_0x4172('0x45')]>0x0&&_0xcd6bed[_0x4172('0x7b')](_0x9b3a96);for(const _0x4cdfbf of _0x526b5a)_0x4cdfbf['detach']();});});});}function _0x3c664b(_0x548fb6){_0x55590e['model']['change'](_0x102975=>{const _0x5d21d8=Array[_0x4172('0x65')](_0x1b0dd9['getRanges']())[_0x4172('0x1b')](_0x287fa2=>_0x94bbe7[_0x4172('0x49')](_0x287fa2)),_0x27aca2=[];for(const _0x1f2667 of _0x548fb6)for(const _0x40d313 of _0x1f2667[_0x4172('0x35')]({'shallow':!0x0}))_0x27aca2[_0x4172('0x83')](_0x40d313);for(const _0x2e62d0 of _0x27aca2)'$graveyard'!=_0x2e62d0['root']['rootName']&&(_0x102975[_0x4172('0x7b')](_0x102975[_0x4172('0x4f')](_0x2e62d0,0x0)),_0x55590e[_0x4172('0x18')]['get'](_0x4172('0x43'))[_0x4172('0x9')](),_0x55590e[_0x4172('0x86')](_0x4172('0x43'),{'forceDefaultExecution':!0x0}));const _0x38eeb0=_0x5d21d8[_0x4172('0x60')](_0x3c33e6=>_0x4172('0x32')!=_0x3c33e6[_0x4172('0x31')][_0x4172('0x4')]);_0x38eeb0[_0x4172('0x45')]>0x0&&_0x102975['setSelection'](_0x38eeb0);for(const _0x3a5c2d of _0x5d21d8)_0x3a5c2d[_0x4172('0x6')]();});}function _0x4d46e5(_0x109d8a,_0x1d61c0){return _0x1d61c0['every'](_0x9fa9f7=>_0x109d8a[_0x4172('0x4c')](_0x493160=>_0x493160[_0x4172('0x6f')]['isEqual'](_0x9fa9f7[_0x4172('0xc')])||_0x9fa9f7[_0x4172('0x6f')][_0x4172('0x36')](_0x493160[_0x4172('0xc')])));}function _0x5cae05(_0x114589,_0x2c1427){return _0x114589['some'](_0x5082cc=>_0x2c1427['some'](_0x10bc6b=>_0x5082cc['end'][_0x4172('0x77')](_0x10bc6b[_0x4172('0xc')])));}_0x55590e[_0x4172('0x4e')]['downcastDispatcher']['on'](_0x4172('0x10'),(_0x42e4ce,_0xb92efe,_0xd30272)=>{if(!_0xd30272[_0x4172('0x7d')]['showSuggestionHighlights'])return;const _0x5875d0=_0xb92efe[_0x4172('0x3e')];if(!_0x5875d0)return;const _0x2c0400=_0xd30272[_0x4172('0x82')]['toViewElement'](_0x5875d0);function _0x4b3533(_0x5359ea){return Array[_0x4172('0x1c')](_0x5359ea)?_0x5359ea:[_0x5359ea];}_0x2c0400&&_0x4172('0x74')===_0x5875d0[_0x4172('0x53')]&&_0x2e7393(_0x2c0400,_0xd30272[_0x4172('0x6c')],(_0x52b5ff,_0xefc195,_0x31bfd2)=>_0x31bfd2[_0x4172('0x28')](_0x4b3533(_0xefc195[_0x4172('0x67')]),_0x52b5ff),(_0x5cfd0f,_0x5e0f3e,_0x5113dc)=>_0x5113dc[_0x4172('0x84')](_0x4b3533(_0x5e0f3e['classes']),_0x5cfd0f));},{'priority':'highest'}),_0x5624a3['_descriptionFactory'][_0x4172('0xb')](_0x2f65fb=>{if('insertion'!=_0x2f65fb[_0x4172('0x34')]&&'deletion'!=_0x2f65fb[_0x4172('0x34')])return;const _0x2fb36e=_0x2f65fb[_0x4172('0x52')]();if(null!=_0x2fb36e&&_0x2fb36e['is']('element',_0x4172('0x3'))){if(_0x4172('0x2')==_0x2f65fb[_0x4172('0x34')]){const _0x26dd0f=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x45aa69=>_0x45aa69['is']('$textProxy'))[_0x4172('0x1b')](_0x668c10=>_0x668c10[_0x4172('0x4e')]);if(_0x26dd0f[_0x4172('0x45')])return{'type':'insertion','content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x33'),'\x22'+_0x26dd0f[_0x4172('0x6b')]('\x20')+'\x22'))};}if(_0x4172('0x37')==_0x2f65fb[_0x4172('0x34')]){const _0x720394=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x1524c1=>_0x1524c1['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x511fda=>_0x511fda[_0x4172('0x4e')]);if(_0x720394[_0x4172('0x45')])return{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x720394[_0x4172('0x6b')]('\x20')+'\x22'))};}}}),_0x5624a3[_0x4172('0x2e')]['registerDescriptionCallback'](_0x23d707=>{if('tableRow'==_0x23d707['subType']){const _0x2e741f=_0x23d707['getItems']()[_0x4172('0x60')](_0x430c42=>_0x430c42['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x8e1016=>_0x8e1016[_0x4172('0x4e')]),_0x209f28=this[_0x4172('0x2f')](_0x23d707),_0x5b8d49=_0x209f28[_0x4172('0x11')]-_0x209f28[_0x4172('0x85')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};if('deletion'==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};}if(_0x4172('0x8')==_0x23d707[_0x4172('0x3a')]){const _0x26a3fe=_0x23d707[_0x4172('0x35')]()[_0x4172('0x60')](_0xe05c0e=>_0xe05c0e['is']('$textProxy'))[_0x4172('0x1b')](_0x52fda3=>_0x52fda3[_0x4172('0x4e')]),_0x28dd30=this['_getSuggestionCoords'](_0x23d707),_0x583cf4=_0x28dd30[_0x4172('0x14')]-_0x28dd30[_0x4172('0x79')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x26a3fe['length']?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};if(_0x4172('0x37')==_0x23d707[_0x4172('0x34')])return _0x26a3fe[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};}}),_0x5624a3['_suggestionFactory']['registerCustomCallback']('insertion',_0x4172('0x55'),_0x4172('0xe'),_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x55'),'accept',_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0xe'),_0x3c664b),_0x5624a3['_suggestionFactory'][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x8'),_0x4172('0x7f'),_0x3c664b),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')]('deletion','tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),_0x4172('0x55'),_0x4172('0x6b'),_0x5cae05),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),'tableRow',_0x4172('0x6b'),_0x5cae05);}['_acceptFormatSuggestionCallbackFactory'](){const _0x40d586=this[_0x4172('0x87')],_0x3b0ed1=_0x40d586[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x2c')];return(_0x1cc606,_0x584f8f)=>{_0x40d586[_0x4172('0x42')][_0x4172('0x2a')](_0x12e646=>{const {commandName:_0x100e0a,commandParams:_0x5798af}=_0x584f8f;let _0x4d45ec=_0x1cc606[0x0][_0x4172('0x6f')][_0x4172('0x25')];_0x5798af&&_0x5798af[0x0]&&!0x1===_0x5798af[0x0][_0x4172('0x54')]&&(_0x4d45ec=_0x1cc606[0x0]['start'][_0x4172('0x27')]);const _0x4b6f8b=_0x12e646[_0x4172('0x64')](_0x4d45ec);if(_0x4172('0x32')==_0x4b6f8b[_0x4172('0x31')][_0x4172('0x4')])return;const _0x440052=Array[_0x4172('0x65')](_0x3b0ed1['getRanges']())[_0x4172('0x1b')](_0x156216=>_0x94bbe7['fromRange'](_0x156216));_0x12e646['setSelection'](_0x4b6f8b),_0x40d586[_0x4172('0x18')]['get'](_0x100e0a)[_0x4172('0x9')](),_0x5798af[_0x4172('0x83')]({'forceDefaultExecution':!0x0}),_0x40d586[_0x4172('0x86')](_0x100e0a,..._0x5798af);const _0x3d5540=_0x440052[_0x4172('0x60')](_0x33b2ce=>_0x4172('0x32')!=_0x33b2ce['root'][_0x4172('0x4')]);_0x3d5540[_0x4172('0x45')]>0x0&&_0x12e646[_0x4172('0x7b')](_0x3d5540);for(const _0x4c0d02 of _0x440052)_0x4c0d02[_0x4172('0x6')]();});};}['_getCoordsForCells'](_0x35a764){const _0x1152a2=this[_0x4172('0x87')][_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x2b'));let _0x2f3f5c=Number[_0x4172('0x57')],_0xa36cf4=Number['MIN_SAFE_INTEGER'],_0x35e2d6=Number[_0x4172('0x57')],_0x46c290=Number[_0x4172('0x4d')];for(const _0x532651 of _0x35a764){if('$graveyard'==_0x532651[_0x4172('0x31')][_0x4172('0x4')])continue;const {row:_0x37cdfb,column:_0x274dd1}=_0x1152a2['getCellLocation'](_0x532651),_0x591b05=_0x532651[_0x4172('0x5')](_0x4172('0x7'))?_0x532651['getAttribute'](_0x4172('0x7'))-0x1:0x0,_0x1297cb=_0x532651[_0x4172('0x5')](_0x4172('0xf'))?_0x532651[_0x4172('0x72')](_0x4172('0xf'))-0x1:0x0;_0x2f3f5c=_0x37cdfb<_0x2f3f5c?_0x37cdfb:_0x2f3f5c,_0xa36cf4=_0x37cdfb+_0x591b05>_0xa36cf4?_0x37cdfb+_0x591b05:_0xa36cf4,_0x35e2d6=_0x274dd1<_0x35e2d6?_0x274dd1:_0x35e2d6,_0x46c290=_0x274dd1+_0x1297cb>_0x46c290?_0x274dd1+_0x1297cb:_0x46c290;}return{'minRow':_0x2f3f5c,'maxRow':_0xa36cf4,'minColumn':_0x35e2d6,'maxColumn':_0x46c290};}['_setupColumnsRowsFixing'](){const _0x5431aa=this[_0x4172('0x87')],_0xb90b45=_0x5431aa[_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x7e')),_0x1b35b6=_0x5431aa['plugins'][_0x4172('0x30')]('TableUtils');_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['on'](_0x4172('0x1a'),()=>{const _0xb8060d=Array['from'](_0x5431aa[_0x4172('0x42')]['document'][_0x4172('0x20')][_0x4172('0x70')]());for(const {name:_0x40771b,data:_0x439561}of _0xb8060d){const {group:_0x43d1fe,id:_0x171c5a,subType:_0x3e2308}=_0xb90b45['_splitMarkerName'](_0x40771b);if('suggestion'!=_0x43d1fe)continue;if(null!=_0x439561[_0x4172('0x3b')])continue;const _0x4bef08=_0xb90b45[_0x4172('0x75')](_0x171c5a);this[_0x4172('0x13')][_0x4172('0x78')](_0x3e2308)&&this[_0x4172('0x40')][_0x4172('0x7a')](_0x4bef08);}},{'priority':_0x4172('0x3c')});const _0x1b8901=(_0x281ccf,_0x454be2)=>{let _0xaaabb=!0x1;const _0x299126=_0x454be2['createRangeOn'](_0x281ccf),_0x115a26=_0x281ccf['findAncestor'](_0x4172('0x3')),_0x32892b=_0x1b35b6[_0x4172('0x44')](_0x281ccf);for(const _0x154d7f of this[_0x4172('0x40')]){const _0x2824fd=_0x154d7f[_0x4172('0x3a')],_0x29e0d1=_0x2824fd['startsWith'](_0x4172('0x21')),_0x1406a0=_0x2824fd[_0x4172('0x23')](_0x29e0d1?0xa:0x5),_0x14f05d=_0x1406a0[_0x4172('0x29')](),_0x4bcb5e=_0x14f05d[_0x4172('0x23')](0x0,0x3)+_0x4172('0x1d'),_0x924eba=_0x4172('0x1e')+_0x1406a0,_0x6eec35=_0x4172('0x15')+_0x1406a0;if(!_0x154d7f[_0x4172('0x73')])continue;if(_0x115a26!=_0x154d7f[_0x4172('0x0')]()[_0x4172('0xc')][_0x4172('0x6e')]('table'))continue;if(_0x154d7f[_0x4172('0x17')](_0x299126))continue;const _0x79186b=_0x281ccf[_0x4172('0x5')](_0x4bcb5e)?_0x281ccf['getAttribute'](_0x4bcb5e)-0x1:0x0,_0x5aa5de=this['_getSuggestionCoords'](_0x154d7f),_0x2bfa50=_0x5aa5de[_0x924eba],_0x47ecd9=_0x5aa5de[_0x6eec35];_0x2bfa50<=_0x32892b[_0x14f05d]&&_0x32892b[_0x14f05d]+_0x79186b<=_0x47ecd9&&(_0x154d7f[_0x4172('0x22')](_0x299126),_0xaaabb=!0x0);}return _0xaaabb;};_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['registerPostFixer'](_0x10a22d=>{let _0x1f1281=!0x1;for(const _0xb714b2 of _0x5431aa[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x20')][_0x4172('0x68')]())if(_0x4172('0x46')==_0xb714b2['type']){if('tableRow'==_0xb714b2[_0x4172('0x53')])for(const _0x243598 of _0xb714b2[_0x4172('0x3f')][_0x4172('0x27')][_0x4172('0x7c')]())_0x1f1281=_0x1f1281||_0x1b8901(_0x243598,_0x10a22d);else _0x4172('0x74')==_0xb714b2[_0x4172('0x53')]&&(_0x1f1281=_0x1f1281||_0x1b8901(_0xb714b2[_0x4172('0x3f')]['nodeAfter'],_0x10a22d));}return _0x1f1281;});}[_0x4172('0x2f')](_0x56ae3f){return this['_getCoordsForCells'](_0x56ae3f['getRanges']()[_0x4172('0x1b')](_0x240edc=>_0x240edc['start'][_0x4172('0x27')]));}}function se(_0x422799){return Array[_0x4172('0x65')](new Set(_0x422799)[_0x4172('0x24')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3de1=['has','afterInit','TrackChangesEditing','enableCommand','get','plugins','editor'];(function(_0x151dda,_0x3de1dc){const _0x5b476a=function(_0x48f365){while(--_0x48f365){_0x151dda['push'](_0x151dda['shift']());}};_0x5b476a(++_0x3de1dc);}(_0x3de1,0xbc));const _0x5b47=function(_0x151dda,_0x3de1dc){_0x151dda=_0x151dda-0x0;let _0x5b476a=_0x3de1[_0x151dda];return _0x5b476a;};import{Plugin as _0x1611b3}from'ckeditor5/src/core';import _0x10a100 from'./table';export default class vt extends _0x1611b3{static get['requires'](){return[_0x10a100];}[_0x5b47('0x2')](){const _0x41742d=this[_0x5b47('0x0')];if(!_0x41742d[_0x5b47('0x6')][_0x5b47('0x1')]('TableCaptionEditing'))return;_0x41742d[_0x5b47('0x6')][_0x5b47('0x5')](_0x5b47('0x3'))[_0x5b47('0x4')]('toggleTableCaption');}}
|