@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230810.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 _0x3654=['push','deletion','cell','differ','insertTableRowAbove','insert','insertTableRowBelow','get','TrackChangesEditing','downcastDispatcher','position','_getCoordsForCells','table','subType','registerCustomCallback','insertTableColumnRight','*Remove:*\x20%0','isArray','join','MIN_SAFE_INTEGER','_descriptionFactory','_suggestionFactory','editor','removeTableColumn','root','accept','filter','markMultiRangeInsertion','end','tableRow','$textProxy','TableEditing','*Insert:*\x20%0','ELEMENT_TABLE_COLUMN','enqueueChange','above','batch','startsWith','getCellLocation','addClass','last','ELEMENT_TABLE_COLUMN_WITH_TEXT','getContainedElement','enableCommand','removeClass','ELEMENT_TABLE_ROW','getItems','start','removeTableRow','addRange','rowspan','findAncestor','isTouching','commands','substr','getRowIndexes','map','hasAttribute','fromRange','order','getChildren','type','item','minRow','span','insertion','_acceptFormatSuggestionCallbackFactory','classes','element','colspan','_tablePostFixingSubtypes','registerPostFixer','rootName','createTableWalker','getAttribute','_tableSuggestions','execute','_getSuggestionCoords','model','nodeBefore','first','insertTableColumnLeft','writer','ELEMENT_TABLE_WITH_TEXT','getRanges','selectTableColumn','toViewElement','getChanges','forceValue','length','some','afterInit','change','setSelection','_setupColumnsRowsFixing','createRangeOn','name','refresh','data','min','TableUtils','createRangeIn','createPositionAt','plugins','tableColumn','ELEMENT_TABLE_ROW_WITH_TEXT','document','detach','$graveyard','ELEMENT_TABLE','getSelectionAffectedTableCells','max','isEqual','toLowerCase','showSuggestionHighlights','change:data','options','isInContent','from','getColumnIndexes','highest','nodeAfter','discard','tableCell','selectTableRow','addMarker:suggestion','includes','selection'];(function(_0xbe95b3,_0x3654dd){const _0x5bcee1=function(_0x59dc14){while(--_0x59dc14){_0xbe95b3['push'](_0xbe95b3['shift']());}};_0x5bcee1(++_0x3654dd);}(_0x3654,0x96));const _0x5bce=function(_0xbe95b3,_0x3654dd){_0xbe95b3=_0xbe95b3-0x0;let _0x5bcee1=_0x3654[_0xbe95b3];return _0x5bcee1;};import{Plugin as _0x254eac}from'ckeditor5/src/core';import{LiveRange as _0x531dd9}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2375e2}from'ckeditor5/src/widget';import{getTranslation as _0x1b0091}from'../utils/common-translations';export default class mt extends _0x254eac{constructor(_0x65d37){super(_0x65d37),this[_0x5bce('0x30')]=[_0x5bce('0x7'),_0x5bce('0x52')],this[_0x5bce('0x35')]=new Set();}[_0x5bce('0x45')](){const _0x5691e8=this['editor'],_0x4621ee=_0x5691e8[_0x5bce('0x38')][_0x5bce('0x54')][_0x5bce('0x69')];if(!_0x5691e8[_0x5bce('0x51')]['has'](_0x5bce('0x9')))return;const _0x2bf04b=_0x5691e8['locale'],_0x103d32=_0x5691e8['plugins'][_0x5bce('0x71')](_0x5bce('0x72')),_0x596820=_0x5691e8[_0x5bce('0x51')]['get'](_0x5bce('0x4e'));_0x103d32[_0x5bce('0x7e')]['registerElementLabel'](_0x5bce('0x76'),_0x48b207=>_0x1b0091(_0x2bf04b,_0x5bce('0x57'),_0x48b207)),this[_0x5bce('0x48')](),_0x103d32['enableCommand']('insertTable'),_0x103d32[_0x5bce('0x15')](_0x5bce('0x66')),_0x103d32['enableCommand'](_0x5bce('0x3f'));for(const _0x35afe7 of[_0x5bce('0x6e'),_0x5bce('0x70')]){const _0x4f081b=_0x5691e8[_0x5bce('0x1f')]['get'](_0x35afe7);_0x103d32[_0x5bce('0x15')](_0x35afe7,_0x144265=>{_0x5691e8[_0x5bce('0x38')][_0x5bce('0x46')](_0x1494ec=>{_0x144265();const _0x3aa283=_0x5bce('0xd')===_0x4f081b[_0x5bce('0x25')],_0x29b9c9=_0x596820[_0x5bce('0x58')](_0x4621ee),_0x194c32=_0x596820[_0x5bce('0x21')](_0x29b9c9),_0x2e7fb1=_0x3aa283?_0x194c32[_0x5bce('0x3a')]-0x1:_0x194c32['last']+0x1,_0x3bf5f0=_0x29b9c9[0x0]['findAncestor'](_0x5bce('0x76')),_0x46d75e=_0x596820[_0x5bce('0x33')](_0x3bf5f0,{'startRow':_0x2e7fb1,'endRow':_0x2e7fb1}),_0x46b802=Array['from'](_0x46d75e)[_0x5bce('0x22')](_0x41f1a5=>_0x1494ec[_0x5bce('0x49')](_0x41f1a5[_0x5bce('0x6c')]));_0x103d32[_0x5bce('0x5')](_0x46b802,_0x5bce('0x7'));});});}for(const _0x37cfe4 of[_0x5bce('0x3b'),_0x5bce('0x79')]){const _0x5e4f0e=_0x5691e8[_0x5bce('0x1f')][_0x5bce('0x71')](_0x37cfe4);_0x103d32[_0x5bce('0x15')](_0x37cfe4,_0x46ec8c=>{_0x5691e8[_0x5bce('0x38')][_0x5bce('0x46')](_0x5675a0=>{_0x46ec8c();const _0x325647='left'===_0x5e4f0e[_0x5bce('0x25')],_0x459a60=_0x596820[_0x5bce('0x58')](_0x4621ee),_0x11ba7b=_0x596820[_0x5bce('0x61')](_0x459a60),_0x598824=_0x325647?_0x11ba7b[_0x5bce('0x3a')]-0x1:_0x11ba7b[_0x5bce('0x12')]+0x1,_0x291407=_0x459a60[0x0][_0x5bce('0x1d')]('table'),_0x2c61da=_0x596820['createTableWalker'](_0x291407,{'startRow':0x0,'column':_0x598824,'includeAllSlots':!0x1}),_0x5739fa=Array['from'](_0x2c61da)[_0x5bce('0x22')](_0x5e44b5=>_0x5675a0[_0x5bce('0x49')](_0x5e44b5[_0x5bce('0x6c')]));_0x103d32[_0x5bce('0x5')](_0x5739fa,_0x5bce('0x52'));});});}for(const _0x154867 of['removeTableRow',_0x5bce('0x1')]){const _0x3dfcaa=_0x154867[_0x5bce('0x20')](0xb),_0x58a7d6=_0x3dfcaa[_0x5bce('0x5b')](),_0x41ac8f=_0x58a7d6[_0x5bce('0x20')](0x0,0x3)+'span',_0x2c8db0=_0x5bce('0x76')+_0x3dfcaa,_0x37dff0=_0x5bce('0x4d')+_0x3dfcaa,_0x2aa05f=_0x5bce('0x59')+_0x3dfcaa;_0x103d32['enableCommand'](_0x154867,()=>{_0x5691e8['model'][_0x5bce('0x46')](_0x2ba94d=>{const _0x29c19b=_0x596820[_0x5bce('0x58')](_0x4621ee),_0x51b9e4=_0x29c19b[0x0][_0x5bce('0x1d')](_0x5bce('0x76'));let _0x3f2422;if(_0x5bce('0x1a')==_0x154867){const _0x620663=_0x596820[_0x5bce('0x21')](_0x29c19b);_0x3f2422={'startRow':_0x620663[_0x5bce('0x3a')],'endRow':_0x620663[_0x5bce('0x12')],'includeAllSlots':!0x0};}else{const _0x90d4c2=_0x596820[_0x5bce('0x61')](_0x29c19b);_0x3f2422={'startColumn':_0x90d4c2[_0x5bce('0x3a')],'endColumn':_0x90d4c2['last'],'includeAllSlots':!0x0};}const _0x52b27e=_0x596820[_0x5bce('0x33')](_0x51b9e4,_0x3f2422),_0x20c185=Array[_0x5bce('0x60')](_0x52b27e)[_0x5bce('0x22')](({cell:_0x4cc96a})=>_0x4cc96a),_0x16fe17=se(_0x20c185[_0x5bce('0x4')](_0xeb4dcb=>_0xeb4dcb[_0x5bce('0x23')](_0x41ac8f))),_0x21006d=se(_0x20c185[_0x5bce('0x4')](_0x261ef8=>!_0x261ef8[_0x5bce('0x23')](_0x41ac8f)))['map'](_0x85ffce=>_0x2ba94d['createRangeOn'](_0x85ffce)),_0x4443ad=_0x103d32['markMultiRangeDeletion'](_0x21006d,_0x2c8db0);if(_0x4443ad&&(_0x5bce('0x7')==_0x4443ad[_0x5bce('0x77')]||_0x5bce('0x52')==_0x4443ad['subType'])){const _0x5aaa9a=this[_0x5bce('0x37')](_0x4443ad);for(const _0x5a4242 of _0x16fe17){const _0x2c4667=_0x2ba94d['createRangeOn'](_0x5a4242),_0x461e30=_0x596820[_0x5bce('0x10')](_0x5a4242),_0x241c18=_0x5a4242[_0x5bce('0x34')](_0x41ac8f)-0x1,_0x192bc3=_0x5aaa9a[_0x37dff0],_0x497d73=_0x5aaa9a[_0x2aa05f];_0x192bc3<=_0x461e30[_0x58a7d6]&&_0x461e30[_0x58a7d6]+_0x241c18<=_0x497d73&&_0x4443ad['addRange'](_0x2c4667);}}});});}function _0x50840d(_0x54859b){const _0x5bc812=Array[_0x5bce('0x60')](_0x4621ee[_0x5bce('0x3e')]())[_0x5bce('0x22')](_0x30197d=>_0x531dd9[_0x5bce('0x24')](_0x30197d));_0x5691e8[_0x5bce('0x38')][_0x5bce('0x46')](_0x4dbbe2=>{const _0x382096=_0x4dbbe2[_0x5bce('0xe')];_0x54859b=_0x54859b[_0x5bce('0x4')](_0x4f4a24=>_0x5bce('0x56')!=_0x4f4a24[_0x5bce('0x2')][_0x5bce('0x32')]),_0x4dbbe2['setSelection'](_0x54859b),_0x5691e8[_0x5bce('0x1f')][_0x5bce('0x71')](_0x5bce('0x1a'))['refresh'](),_0x5691e8[_0x5bce('0x36')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5691e8[_0x5bce('0x38')][_0x5bce('0xc')](()=>{_0x5691e8[_0x5bce('0x38')][_0x5bce('0xc')](_0x382096,_0x25813c=>{const _0x43cfd0=_0x5bc812[_0x5bce('0x4')](_0x973cc3=>_0x5bce('0x56')!=_0x973cc3[_0x5bce('0x2')][_0x5bce('0x32')]);_0x43cfd0['length']>0x0&&_0x25813c[_0x5bce('0x47')](_0x43cfd0);for(const _0x39d27c of _0x5bc812)_0x39d27c['detach']();});});});}function _0x289ce7(_0x19e96e){_0x5691e8['model']['change'](_0x396687=>{const _0x2ae42d=Array[_0x5bce('0x60')](_0x4621ee[_0x5bce('0x3e')]())['map'](_0x5948a2=>_0x531dd9[_0x5bce('0x24')](_0x5948a2)),_0x2a9912=[];for(const _0x1cf4b2 of _0x19e96e)for(const _0x59e3c4 of _0x1cf4b2['getItems']({'shallow':!0x0}))_0x2a9912[_0x5bce('0x6a')](_0x59e3c4);for(const _0x589bb3 of _0x2a9912)_0x5bce('0x56')!=_0x589bb3[_0x5bce('0x2')][_0x5bce('0x32')]&&(_0x396687[_0x5bce('0x47')](_0x396687[_0x5bce('0x50')](_0x589bb3,0x0)),_0x5691e8[_0x5bce('0x1f')][_0x5bce('0x71')]('removeTableColumn')[_0x5bce('0x4b')](),_0x5691e8['execute'](_0x5bce('0x1'),{'forceDefaultExecution':!0x0}));const _0x53eb19=_0x2ae42d[_0x5bce('0x4')](_0x481b9a=>_0x5bce('0x56')!=_0x481b9a[_0x5bce('0x2')][_0x5bce('0x32')]);_0x53eb19[_0x5bce('0x43')]>0x0&&_0x396687[_0x5bce('0x47')](_0x53eb19);for(const _0xe614e9 of _0x2ae42d)_0xe614e9['detach']();});}function _0x2e69cf(_0x1e1e0f,_0x1bd010){return _0x1bd010['every'](_0x3eea26=>_0x1e1e0f[_0x5bce('0x44')](_0x2b6357=>_0x2b6357[_0x5bce('0x6')][_0x5bce('0x5a')](_0x3eea26[_0x5bce('0x19')])||_0x3eea26['end'][_0x5bce('0x5a')](_0x2b6357[_0x5bce('0x19')])));}function _0x2383f5(_0x1c5a36,_0xda836d){return _0x1c5a36['some'](_0x48f268=>_0xda836d['some'](_0x399314=>_0x48f268[_0x5bce('0x6')][_0x5bce('0x1e')](_0x399314['start'])));}_0x5691e8[_0x5bce('0x4c')][_0x5bce('0x73')]['on'](_0x5bce('0x67'),(_0x8bb359,_0x524c8e,_0x382521)=>{if(!_0x382521[_0x5bce('0x5e')][_0x5bce('0x5c')])return;const _0x1543ce=_0x524c8e[_0x5bce('0x28')];if(!_0x1543ce)return;const _0x54a0ed=_0x382521['mapper'][_0x5bce('0x40')](_0x1543ce);function _0x1bca5b(_0x30559f){return Array[_0x5bce('0x7b')](_0x30559f)?_0x30559f:[_0x30559f];}_0x54a0ed&&_0x5bce('0x65')===_0x1543ce[_0x5bce('0x4a')]&&_0x2375e2(_0x54a0ed,_0x382521[_0x5bce('0x3c')],(_0x4790bd,_0xe7093b,_0x32dc98)=>_0x32dc98[_0x5bce('0x11')](_0x1bca5b(_0xe7093b['classes']),_0x4790bd),(_0xb1ed0e,_0x4d2ce6,_0x483f1c)=>_0x483f1c[_0x5bce('0x16')](_0x1bca5b(_0x4d2ce6[_0x5bce('0x2d')]),_0xb1ed0e));},{'priority':_0x5bce('0x62')}),_0x103d32[_0x5bce('0x7e')]['registerDescriptionCallback'](_0x1a3252=>{if(_0x5bce('0x2b')!=_0x1a3252[_0x5bce('0x27')]&&'deletion'!=_0x1a3252[_0x5bce('0x27')])return;const _0x2da5a2=_0x1a3252[_0x5bce('0x14')]();if(null!=_0x2da5a2&&_0x2da5a2['is'](_0x5bce('0x2e'),_0x5bce('0x76'))){if(_0x5bce('0x2b')==_0x1a3252[_0x5bce('0x27')]){const _0x1576ff=_0x1a3252[_0x5bce('0x18')]()['filter'](_0x120279=>_0x120279['is']('$textProxy'))[_0x5bce('0x22')](_0x351b95=>_0x351b95[_0x5bce('0x4c')]);if(_0x1576ff[_0x5bce('0x43')])return{'type':_0x5bce('0x2b'),'content':_0x1b0091(_0x2bf04b,_0x5bce('0xa'),_0x1b0091(_0x2bf04b,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1576ff['join']('\x20')+'\x22'))};}if('deletion'==_0x1a3252[_0x5bce('0x27')]){const _0x28759f=_0x1a3252['getItems']()[_0x5bce('0x4')](_0x3be6c6=>_0x3be6c6['is'](_0x5bce('0x8')))[_0x5bce('0x22')](_0x26d648=>_0x26d648[_0x5bce('0x4c')]);if(_0x28759f[_0x5bce('0x43')])return{'type':'deletion','content':_0x1b0091(_0x2bf04b,_0x5bce('0x7a'),_0x1b0091(_0x2bf04b,_0x5bce('0x3d'),'\x22'+_0x28759f[_0x5bce('0x7c')]('\x20')+'\x22'))};}}}),_0x103d32['_descriptionFactory']['registerDescriptionCallback'](_0x4bfb17=>{if('tableRow'==_0x4bfb17[_0x5bce('0x77')]){const _0x4f7b8f=_0x4bfb17[_0x5bce('0x18')]()[_0x5bce('0x4')](_0xade855=>_0xade855['is'](_0x5bce('0x8')))['map'](_0x12fe3f=>_0x12fe3f[_0x5bce('0x4c')]),_0x1ad6bf=this[_0x5bce('0x37')](_0x4bfb17),_0x37b1f8=_0x1ad6bf['maxRow']-_0x1ad6bf[_0x5bce('0x29')]+0x1;if(_0x5bce('0x2b')==_0x4bfb17['type'])return _0x4f7b8f[_0x5bce('0x43')]?{'type':_0x5bce('0x2b'),'content':_0x1b0091(_0x2bf04b,_0x5bce('0xa'),_0x1b0091(_0x2bf04b,_0x5bce('0x53'),[_0x37b1f8,'\x22'+_0x4f7b8f['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x1b0091(_0x2bf04b,'*Insert:*\x20%0',_0x1b0091(_0x2bf04b,_0x5bce('0x17'),_0x37b1f8))};if(_0x5bce('0x6b')==_0x4bfb17['type'])return _0x4f7b8f[_0x5bce('0x43')]?{'type':_0x5bce('0x6b'),'content':_0x1b0091(_0x2bf04b,_0x5bce('0x7a'),_0x1b0091(_0x2bf04b,_0x5bce('0x53'),[_0x37b1f8,'\x22'+_0x4f7b8f['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x1b0091(_0x2bf04b,_0x5bce('0x7a'),_0x1b0091(_0x2bf04b,_0x5bce('0x17'),_0x37b1f8))};}if(_0x5bce('0x52')==_0x4bfb17[_0x5bce('0x77')]){const _0x4fb94b=_0x4bfb17[_0x5bce('0x18')]()[_0x5bce('0x4')](_0x18bf24=>_0x18bf24['is'](_0x5bce('0x8')))[_0x5bce('0x22')](_0x46254a=>_0x46254a[_0x5bce('0x4c')]),_0x165179=this[_0x5bce('0x37')](_0x4bfb17),_0x6e0a4f=_0x165179['maxColumn']-_0x165179['minColumn']+0x1;if(_0x5bce('0x2b')==_0x4bfb17[_0x5bce('0x27')])return _0x4fb94b[_0x5bce('0x43')]?{'type':'insertion','content':_0x1b0091(_0x2bf04b,_0x5bce('0xa'),_0x1b0091(_0x2bf04b,_0x5bce('0x13'),[_0x6e0a4f,'\x22'+_0x4fb94b[_0x5bce('0x7c')]('\x20')+'\x22']))}:{'type':_0x5bce('0x2b'),'content':_0x1b0091(_0x2bf04b,_0x5bce('0xa'),_0x1b0091(_0x2bf04b,_0x5bce('0xb'),_0x6e0a4f))};if('deletion'==_0x4bfb17['type'])return _0x4fb94b[_0x5bce('0x43')]?{'type':'deletion','content':_0x1b0091(_0x2bf04b,'*Remove:*\x20%0',_0x1b0091(_0x2bf04b,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x6e0a4f,'\x22'+_0x4fb94b['join']('\x20')+'\x22']))}:{'type':_0x5bce('0x6b'),'content':_0x1b0091(_0x2bf04b,'*Remove:*\x20%0',_0x1b0091(_0x2bf04b,_0x5bce('0xb'),_0x6e0a4f))};}}),_0x103d32[_0x5bce('0x7f')][_0x5bce('0x78')](_0x5bce('0x2b'),_0x5bce('0x7'),_0x5bce('0x64'),_0x50840d),_0x103d32[_0x5bce('0x7f')]['registerCustomCallback'](_0x5bce('0x6b'),_0x5bce('0x7'),_0x5bce('0x3'),_0x50840d),_0x103d32[_0x5bce('0x7f')]['registerCustomCallback'](_0x5bce('0x2b'),_0x5bce('0x52'),'discard',_0x289ce7),_0x103d32[_0x5bce('0x7f')][_0x5bce('0x78')](_0x5bce('0x6b'),'tableColumn','accept',_0x289ce7),_0x103d32[_0x5bce('0x7f')][_0x5bce('0x78')](_0x5bce('0x2b'),'tableColumn',_0x5bce('0x7c'),_0x2e69cf),_0x103d32['_suggestionFactory'][_0x5bce('0x78')]('deletion',_0x5bce('0x52'),_0x5bce('0x7c'),_0x2e69cf),_0x103d32[_0x5bce('0x7f')][_0x5bce('0x78')](_0x5bce('0x2b'),_0x5bce('0x7'),'join',_0x2383f5),_0x103d32[_0x5bce('0x7f')]['registerCustomCallback'](_0x5bce('0x6b'),_0x5bce('0x7'),_0x5bce('0x7c'),_0x2383f5);}[_0x5bce('0x2c')](){const _0x15589a=this[_0x5bce('0x0')],_0x21deb2=_0x15589a[_0x5bce('0x38')]['document'][_0x5bce('0x69')];return(_0x48ae46,_0x31364f)=>{_0x15589a[_0x5bce('0x38')][_0x5bce('0x46')](_0x26e9a9=>{const {commandName:_0x3c97de,commandParams:_0x52f27f}=_0x31364f;let _0x41afc1=_0x48ae46[0x0]['end'][_0x5bce('0x39')];_0x52f27f&&_0x52f27f[0x0]&&!0x1===_0x52f27f[0x0][_0x5bce('0x42')]&&(_0x41afc1=_0x48ae46[0x0][_0x5bce('0x19')][_0x5bce('0x63')]);const _0x30ce8e=_0x26e9a9[_0x5bce('0x4f')](_0x41afc1);if('$graveyard'==_0x30ce8e[_0x5bce('0x2')][_0x5bce('0x32')])return;const _0x534194=Array[_0x5bce('0x60')](_0x21deb2[_0x5bce('0x3e')]())[_0x5bce('0x22')](_0x582554=>_0x531dd9[_0x5bce('0x24')](_0x582554));_0x26e9a9[_0x5bce('0x47')](_0x30ce8e),_0x15589a['commands'][_0x5bce('0x71')](_0x3c97de)[_0x5bce('0x4b')](),_0x52f27f[_0x5bce('0x6a')]({'forceDefaultExecution':!0x0}),_0x15589a[_0x5bce('0x36')](_0x3c97de,..._0x52f27f);const _0x34fd63=_0x534194[_0x5bce('0x4')](_0x4cc069=>_0x5bce('0x56')!=_0x4cc069[_0x5bce('0x2')][_0x5bce('0x32')]);_0x34fd63[_0x5bce('0x43')]>0x0&&_0x26e9a9[_0x5bce('0x47')](_0x34fd63);for(const _0x4a7e05 of _0x534194)_0x4a7e05[_0x5bce('0x55')]();});};}[_0x5bce('0x75')](_0x2fafb6){const _0x22311b=this[_0x5bce('0x0')][_0x5bce('0x51')][_0x5bce('0x71')]('TableUtils');let _0x46ffc1=Number['MAX_SAFE_INTEGER'],_0x283f3b=Number['MIN_SAFE_INTEGER'],_0x47183b=Number['MAX_SAFE_INTEGER'],_0x3a8775=Number[_0x5bce('0x7d')];for(const _0x525a98 of _0x2fafb6){if('$graveyard'==_0x525a98[_0x5bce('0x2')][_0x5bce('0x32')])continue;const {row:_0x13202e,column:_0x2206d8}=_0x22311b['getCellLocation'](_0x525a98),_0x1be226=_0x525a98[_0x5bce('0x23')]('rowspan')?_0x525a98[_0x5bce('0x34')](_0x5bce('0x1c'))-0x1:0x0,_0x4dca21=_0x525a98['hasAttribute'](_0x5bce('0x2f'))?_0x525a98[_0x5bce('0x34')](_0x5bce('0x2f'))-0x1:0x0;_0x46ffc1=_0x13202e<_0x46ffc1?_0x13202e:_0x46ffc1,_0x283f3b=_0x13202e+_0x1be226>_0x283f3b?_0x13202e+_0x1be226:_0x283f3b,_0x47183b=_0x2206d8<_0x47183b?_0x2206d8:_0x47183b,_0x3a8775=_0x2206d8+_0x4dca21>_0x3a8775?_0x2206d8+_0x4dca21:_0x3a8775;}return{'minRow':_0x46ffc1,'maxRow':_0x283f3b,'minColumn':_0x47183b,'maxColumn':_0x3a8775};}['_setupColumnsRowsFixing'](){const _0x43fdbf=this[_0x5bce('0x0')],_0x16a3e1=_0x43fdbf[_0x5bce('0x51')][_0x5bce('0x71')]('TrackChangesEditing'),_0x1549fb=_0x43fdbf[_0x5bce('0x51')][_0x5bce('0x71')](_0x5bce('0x4e'));_0x43fdbf['model']['document']['on'](_0x5bce('0x5d'),()=>{const _0x484905=Array[_0x5bce('0x60')](_0x43fdbf[_0x5bce('0x38')]['document'][_0x5bce('0x6d')]['getChangedMarkers']());for(const {name:_0x1c2083,data:_0x1927a9}of _0x484905){const {group:_0x4fa362,id:_0x9a3a3b,subType:_0x24838f}=_0x16a3e1['_splitMarkerName'](_0x1c2083);if('suggestion'!=_0x4fa362)continue;if(null!=_0x1927a9['oldRange'])continue;const _0x1a73e0=_0x16a3e1['getSuggestion'](_0x9a3a3b);this[_0x5bce('0x30')][_0x5bce('0x68')](_0x24838f)&&this[_0x5bce('0x35')]['add'](_0x1a73e0);}},{'priority':'low'});const _0x4a091d=(_0x15ef9f,_0x12bcd8)=>{let _0x509b44=!0x1;const _0x2a1ef9=_0x12bcd8[_0x5bce('0x49')](_0x15ef9f),_0x39791b=_0x15ef9f[_0x5bce('0x1d')](_0x5bce('0x76')),_0x4c32e0=_0x1549fb[_0x5bce('0x10')](_0x15ef9f);for(const _0x54e69e of this['_tableSuggestions']){const _0x46aec7=_0x54e69e[_0x5bce('0x77')],_0x3ec7dc=_0x46aec7[_0x5bce('0xf')]('tablePaste'),_0x12acd8=_0x46aec7[_0x5bce('0x20')](_0x3ec7dc?0xa:0x5),_0x5b8ea7=_0x12acd8[_0x5bce('0x5b')](),_0xa51619=_0x5b8ea7[_0x5bce('0x20')](0x0,0x3)+_0x5bce('0x2a'),_0x516d50=_0x5bce('0x4d')+_0x12acd8,_0x30a0ef=_0x5bce('0x59')+_0x12acd8;if(!_0x54e69e[_0x5bce('0x5f')])continue;if(_0x39791b!=_0x54e69e['getFirstRange']()[_0x5bce('0x19')][_0x5bce('0x1d')]('table'))continue;if(_0x54e69e['isIntersectingWithRange'](_0x2a1ef9))continue;const _0x10eb95=_0x15ef9f[_0x5bce('0x23')](_0xa51619)?_0x15ef9f[_0x5bce('0x34')](_0xa51619)-0x1:0x0,_0x221f28=this[_0x5bce('0x37')](_0x54e69e),_0x254cb8=_0x221f28[_0x516d50],_0x2437f5=_0x221f28[_0x30a0ef];_0x254cb8<=_0x4c32e0[_0x5b8ea7]&&_0x4c32e0[_0x5b8ea7]+_0x10eb95<=_0x2437f5&&(_0x54e69e[_0x5bce('0x1b')](_0x2a1ef9),_0x509b44=!0x0);}return _0x509b44;};_0x43fdbf[_0x5bce('0x38')][_0x5bce('0x54')][_0x5bce('0x31')](_0x267327=>{let _0x451f4e=!0x1;for(const _0x52c95b of _0x43fdbf[_0x5bce('0x38')][_0x5bce('0x54')][_0x5bce('0x6d')][_0x5bce('0x41')]())if(_0x5bce('0x6f')==_0x52c95b['type']){if('tableRow'==_0x52c95b[_0x5bce('0x4a')])for(const _0x36231d of _0x52c95b[_0x5bce('0x74')][_0x5bce('0x63')][_0x5bce('0x26')]())_0x451f4e=_0x451f4e||_0x4a091d(_0x36231d,_0x267327);else _0x5bce('0x65')==_0x52c95b[_0x5bce('0x4a')]&&(_0x451f4e=_0x451f4e||_0x4a091d(_0x52c95b[_0x5bce('0x74')]['nodeAfter'],_0x267327));}return _0x451f4e;});}[_0x5bce('0x37')](_0x4b58da){return this[_0x5bce('0x75')](_0x4b58da[_0x5bce('0x3e')]()[_0x5bce('0x22')](_0x441828=>_0x441828['start']['nodeAfter']));}}function se(_0x5a210a){return Array[_0x5bce('0x60')](new Set(_0x5a210a)['values']());}
|
|
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');}}
|