@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231010.0 → 0.0.0-nightly-20231012.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/aiassistant.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.d.ts +21 -0
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +5 -2
- 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 _0x4507=['_getSuggestionBlocksForListStyle','type','listReversed','getListTypeFromListStyleType','enableCommand','length','list.properties','*Format:*\x20set\x20order\x20to\x20regular','getSiblingNodes','get','startIndex','markMultiRangeBlockFormat','plugins','*Format:*\x20set\x20order\x20to\x20reversed','replace','document','getFirstPosition','map','handleDescriptions','listType','commandParams','ListUtils','registerDescriptionCallback','parent','editor','model','handleListReversedCommand','filter','numbered','getAttribute','change','getLastPosition','bind','element','_LIST_','listItem','unshift','from','before','TrackChangesEditing','commandName','toUpperCase','format','*Change\x20to:*\x20%0','listStyle','_getTranslationKeyForListStyle','reversed','_descriptionFactory','createPositionAt','backward','_getSuggestionBlocks','push','forward','selection','createRange','handleListStyleCommand','handleListStartCommand','listStart'];(function(_0x2ca228,_0x450722){const _0x186044=function(_0x496f3b){while(--_0x496f3b){_0x2ca228['push'](_0x2ca228['shift']());}};_0x186044(++_0x450722);}(_0x4507,0x11f));const _0x1860=function(_0x2ca228,_0x450722){_0x2ca228=_0x2ca228-0x0;let _0x186044=_0x4507[_0x2ca228];return _0x186044;};import{Plugin as _0x206da3}from'ckeditor5/src/core';import{getTranslation as _0x1c3bcf}from'../utils/common-translations';export default class ot extends _0x206da3{['afterInit'](){if(!this[_0x1860('0x1b')][_0x1860('0xf')]['has']('ListPropertiesEditing'))return;const _0x48d0ee=this[_0x1860('0x1b')]['config'][_0x1860('0xc')](_0x1860('0x9')),_0x439f31=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a'));_0x48d0ee['styles']&&_0x439f31['enableCommand'](_0x1860('0x2f'),this[_0x1860('0x0')][_0x1860('0x23')](this)),_0x48d0ee['reversed']&&_0x439f31[_0x1860('0x7')]('listReversed',this[_0x1860('0x1d')][_0x1860('0x23')](this)),_0x48d0ee[_0x1860('0xd')]&&_0x439f31['enableCommand'](_0x1860('0x2'),this[_0x1860('0x1')]['bind'](this)),_0x439f31[_0x1860('0x32')][_0x1860('0x19')](this[_0x1860('0x15')][_0x1860('0x23')](this));}[_0x1860('0x0')](_0x856195,_0x55a294={}){const _0x5156d8=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')]('TrackChangesEditing'),_0x4164a0=this[_0x1860('0x3')]();this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x5156d8[_0x1860('0xe')](_0x4164a0,{'commandName':_0x1860('0x2f'),'commandParams':[{'type':_0x55a294[_0x1860('0x4')]}],'formatGroupId':_0x1860('0x2f')});});}[_0x1860('0x1d')](_0x50915f,_0x304a8e={}){const _0x9b3bb3=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('TrackChangesEditing'),_0x1aa29d=this[_0x1860('0x35')](_0xb59cae=>_0xb59cae['is'](_0x1860('0x24'),'listItem')&&_0x1860('0x1f')===_0xb59cae[_0x1860('0x20')](_0x1860('0x16')));if(_0x1aa29d[_0x1860('0x8')]<0x1)return;const _0x27b013=_0x1aa29d[_0x1860('0x14')](_0x39c0f0=>this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x39')](this[_0x1860('0x1b')]['model']['createPositionAt'](_0x39c0f0,_0x1860('0x29')),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x39c0f0,0x0)));this[_0x1860('0x1b')][_0x1860('0x1c')]['change'](()=>{_0x9b3bb3['markMultiRangeBlockFormat'](_0x27b013,{'commandName':_0x1860('0x5'),'commandParams':[{'reversed':_0x304a8e[_0x1860('0x31')]}],'formatGroupId':_0x1860('0x5')});});}[_0x1860('0x1')](_0x1df371,_0x16093c={}){const _0x183d9f=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a')),_0xf2d104=this[_0x1860('0x35')](_0x10b2ba=>_0x10b2ba['is'](_0x1860('0x24'),_0x1860('0x26'))&&_0x1860('0x1f')===_0x10b2ba[_0x1860('0x20')](_0x1860('0x16')));if(_0xf2d104['length']<0x1)return;const _0x13b064=_0xf2d104[_0x1860('0x14')](_0x3e71b8=>this[_0x1860('0x1b')][_0x1860('0x1c')]['createRange'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,'before'),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,0x0)));this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x183d9f['markMultiRangeBlockFormat'](_0x13b064,{'commandName':_0x1860('0x2'),'commandParams':[{'startIndex':_0x16093c[_0x1860('0xd')]}],'formatGroupId':_0x1860('0x2')});});}[_0x1860('0x15')](_0x300e77){const _0x3d76b6=this['editor']['locale'],{data:_0x177e75}=_0x300e77;if(!_0x177e75)return;let _0x50f60d,_0x3170da;switch(_0x177e75[_0x1860('0x2b')]){case'listStyle':_0x50f60d=_0x1860('0x2e'),_0x3170da={'type':'format','content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x1c3bcf(_0x3d76b6,this[_0x1860('0x30')](_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x4')])))};break;case'listReversed':_0x50f60d=_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x31')]?_0x1860('0x10'):_0x1860('0xa'),_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d)};break;case _0x1860('0x2'):_0x50f60d='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x177e75[_0x1860('0x17')][0x0][_0x1860('0xd')])};}return _0x3170da;}[_0x1860('0x3')](){var _0x530e7b,_0x561348,_0x5707f6,_0x3a9e30;const _0x171910=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('ListUtils');let _0x45a547=Array['from'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')]['selection']['getSelectedBlocks']());return(null===(_0x530e7b=_0x45a547[0x0])||void 0x0===_0x530e7b?void 0x0:_0x530e7b['is']('element','listItem'))&&_0x45a547[_0x1860('0x27')](..._0x171910[_0x1860('0xb')](this[_0x1860('0x1b')]['model'][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x13')](),_0x1860('0x34'))),(null===(_0x561348=_0x45a547[_0x45a547[_0x1860('0x8')]-0x1])||void 0x0===_0x561348?void 0x0:_0x561348['is'](_0x1860('0x24'),_0x1860('0x26')))&&_0x45a547[_0x1860('0x36')](..._0x171910['getSiblingNodes'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x22')](),'forward')),_0x45a547=[...new Set(_0x45a547)],(null===(_0x3a9e30=null===(_0x5707f6=this['editor'][_0x1860('0x1c')]['document'][_0x1860('0x38')][_0x1860('0x13')]())||void 0x0===_0x5707f6?void 0x0:_0x5707f6[_0x1860('0x1a')])||void 0x0===_0x3a9e30?void 0x0:_0x3a9e30['is']('element',_0x1860('0x26')))&&(_0x45a547=_0x45a547['filter'](_0x55fbba=>_0x55fbba['is']('element','listItem'))),_0x45a547;}['_getSuggestionBlocks'](_0x54a07e){const _0x526003=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')](_0x1860('0x18'));let _0x221f35=Array[_0x1860('0x28')](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')]['getSelectedBlocks']())[_0x1860('0x1e')](_0x54a07e)[_0x1860('0x14')](_0x26999e=>{const _0x5838c2=this[_0x1860('0x1b')]['model'][_0x1860('0x33')](_0x26999e,0x0);return[..._0x526003['getSiblingNodes'](_0x5838c2,'backward'),..._0x526003[_0x1860('0xb')](_0x5838c2,_0x1860('0x37'))];})['flat']();return _0x221f35=[...new Set(_0x221f35)],_0x221f35;}[_0x1860('0x30')](_0x7ccb3e){return'ELEMENT_'+this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')]('ListUtils')[_0x1860('0x6')](_0x7ccb3e)['toUpperCase']()+_0x1860('0x25')+_0x7ccb3e[_0x1860('0x2c')]()[_0x1860('0x11')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e94=['has','registerElementLabel','dataDowncast','_descriptionFactory','TrackChangesEditing','showSuggestionHighlights','editor','for','stop','options','MediaEmbedEditing','createEmptyElement','high','plugins','ELEMENT_MEDIA','enableCommand','div','data','media','afterInit','elementToElement'];(function(_0x17b925,_0x1e9430){const _0x1e7f33=function(_0x5720ce){while(--_0x5720ce){_0x17b925['push'](_0x17b925['shift']());}};_0x1e7f33(++_0x1e9430);}(_0x1e94,0xc7));const _0x1e7f=function(_0x17b925,_0x1e9430){_0x17b925=_0x17b925-0x0;let _0x1e7f33=_0x1e94[_0x17b925];return _0x1e7f33;};import{Plugin as _0x532901}from'ckeditor5/src/core';import{getTranslation as _0xd6c6ad}from'../utils/common-translations';export default class rt extends _0x532901{[_0x1e7f('0x9')](){const _0x52af23=this[_0x1e7f('0x11')];if(!_0x52af23[_0x1e7f('0x3')][_0x1e7f('0xb')](_0x1e7f('0x0')))return;const _0x2b24bb=_0x52af23['plugins']['get'](_0x1e7f('0xf')),_0x887872=_0x52af23['locale'];_0x2b24bb[_0x1e7f('0x5')]('mediaEmbed'),_0x2b24bb[_0x1e7f('0xe')][_0x1e7f('0xc')]('media',_0x4f8573=>_0xd6c6ad(_0x887872,_0x1e7f('0x4'),_0x4f8573)),_0x52af23['conversion'][_0x1e7f('0x12')](_0x1e7f('0xd'))[_0x1e7f('0xa')]({'model':_0x1e7f('0x8'),'view':(_0x446961,{writer:_0x5e7218,options:_0x7edf2a})=>{if(_0x7edf2a[_0x1e7f('0x10')])return _0x5e7218[_0x1e7f('0x1')](_0x1e7f('0x6'));},'converterPriority':_0x1e7f('0x2')}),_0x52af23[_0x1e7f('0x7')]['downcastDispatcher']['on']('attribute:url:media',(_0x38f4b5,_0x262504,_0x5e776b)=>{_0x5e776b[_0x1e7f('0x14')][_0x1e7f('0x10')]&&_0x38f4b5[_0x1e7f('0x13')]();},{'priority':_0x1e7f('0x2')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a64=['editor','mention','has','TrackChangesEditing','get','plugins'];(function(_0x5f0471,_0x4a64d0){const _0xcd3c1a=function(_0x2cbb2a){while(--_0x2cbb2a){_0x5f0471['push'](_0x5f0471['shift']());}};_0xcd3c1a(++_0x4a64d0);}(_0x4a64,0x1f3));const _0xcd3c=function(_0x5f0471,_0x4a64d0){_0x5f0471=_0x5f0471-0x0;let _0xcd3c1a=_0x4a64[_0x5f0471];return _0xcd3c1a;};import{Plugin as _0x196913}from'ckeditor5/src/core';export default class at extends _0x196913{['afterInit'](){const _0x454d3b=this[_0xcd3c('0x5')];_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x1')]('MentionEditing')&&_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x3')](_0xcd3c('0x2'))['enableCommand'](_0xcd3c('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1263=['ELEMENT_PAGE_BREAK','enableCommand','has','PageBreakEditing','locale','_descriptionFactory','plugins','get','editor','TrackChangesEditing'];(function(_0x48a241,_0x1263b8){const _0x5bf175=function(_0x4ab9f3){while(--_0x4ab9f3){_0x48a241['push'](_0x48a241['shift']());}};_0x5bf175(++_0x1263b8);}(_0x1263,0x195));const _0x5bf1=function(_0x48a241,_0x1263b8){_0x48a241=_0x48a241-0x0;let _0x5bf175=_0x1263[_0x48a241];return _0x5bf175;};import{Plugin as _0x3c9fe5}from'ckeditor5/src/core';import{getTranslation as _0x3e3568}from'../utils/common-translations';export default class ct extends _0x3c9fe5{['afterInit'](){const _0x3eddd2=this[_0x5bf1('0x3')];if(!_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x7')](_0x5bf1('0x8')))return;_0x3eddd2['plugins']['get'](_0x5bf1('0x4'))[_0x5bf1('0x6')]('pageBreak');const _0x73f0eb=_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x2')](_0x5bf1('0x4')),_0x393f38=_0x3eddd2[_0x5bf1('0x9')];_0x73f0eb[_0x5bf1('0x0')]['registerElementLabel']('pageBreak',_0x536179=>_0x3e3568(_0x393f38,_0x5bf1('0x5'),_0x536179));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c18=['end','showSuggestionHighlights','plugins','getItemLabel','ck-suggestion-marker--active','writer','commandName','checkChild','nodeAfter','markerName','downcastDispatcher','consume','parent','activeMarkers','insert','options','type','enableCommand','name','schema','selection','getFirstRange','TrackChangesEditing','editor','*Insert:*\x20%0','paragraph','isBlock','blockName','change','markBlockFormat','isTouching','highest','registerElementLabel','registerDescriptionCallback','Paragraph','isObject','consumable','mapper','afterInit','markerRange','model','$text','get','_descriptionFactory','isLimit','addClass','filter','format','createUIElement','span','getSelectedBlocks','toViewPosition','insertion'];(function(_0x239367,_0x3c1854){const _0x5a736f=function(_0x2c9cdf){while(--_0x2c9cdf){_0x239367['push'](_0x239367['shift']());}};_0x5a736f(++_0x3c1854);}(_0x3c18,0xf9));const _0x5a73=function(_0x239367,_0x3c1854){_0x239367=_0x239367-0x0;let _0x5a736f=_0x3c18[_0x239367];return _0x5a736f;};import{Plugin as _0x3f5b4a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2276e8}from'./utils';import{getTranslation as _0x3b7d76}from'../utils/common-translations';export default class ht extends _0x3f5b4a{[_0x5a73('0x1')](){const _0x18c70e=this[_0x5a73('0x27')];if(!_0x18c70e[_0x5a73('0x12')]['has'](_0x5a73('0x32')))return;const _0x365148=_0x18c70e['locale'],_0x1b9a65=_0x18c70e['plugins']['get'](_0x5a73('0x26'));_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x30')](_0x5a73('0x29'),_0x10aec7=>_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH',_0x10aec7)),_0x1b9a65[_0x5a73('0x21')](_0x5a73('0x29'),(_0x42f39f,_0x52e47e={})=>{const _0x347efb=_0x18c70e['model']['document'],_0xc9f7c0=_0x52e47e[_0x5a73('0x24')]||_0x347efb[_0x5a73('0x24')],_0x660334=Array['from'](_0xc9f7c0[_0x5a73('0xd')]())[_0x5a73('0x9')](_0x282994=>function(_0x2893fa,_0x3950cf){return _0x3950cf[_0x5a73('0x17')](_0x2893fa[_0x5a73('0x1c')],'paragraph')&&!_0x3950cf[_0x5a73('0x33')](_0x2893fa)&&'paragraph'!=_0x2893fa[_0x5a73('0x22')];}(_0x282994,this[_0x5a73('0x27')][_0x5a73('0x3')][_0x5a73('0x23')]));_0x18c70e[_0x5a73('0x3')][_0x5a73('0x2c')](()=>{for(const _0x26cffd of _0x660334)_0x1b9a65[_0x5a73('0x2d')](_0x26cffd,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x5a73('0x2b')},_0x2276e8(_0x26cffd));});}),_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x31')](_0x2725dc=>{const {data:_0x430b83}=_0x2725dc;if(_0x430b83&&_0x5a73('0x29')==_0x430b83[_0x5a73('0x16')])return{'type':_0x5a73('0xa'),'content':_0x3b7d76(_0x365148,'*Change\x20to:*\x20%0',_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH'))};}),_0x1b9a65['enableCommand']('insertParagraph'),_0x18c70e['editing'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',ar(_0x18c70e),{'priority':'highest'}),_0x18c70e['data'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',(_0x43a95a,_0x374d22,_0x58f9d1)=>{_0x58f9d1[_0x5a73('0x1f')][_0x5a73('0x11')]&&ar(_0x18c70e,{'showActiveMarker':!0x1})(_0x43a95a,_0x374d22,_0x58f9d1);},{'priority':_0x5a73('0x2f')});const _0x32b531=_0x1b9a65['_descriptionFactory'];_0x32b531[_0x5a73('0x31')](_0x68ce9d=>{if(_0x5a73('0xf')!==_0x68ce9d[_0x5a73('0x20')])return;const {start:_0x34e510,end:_0x4c08c5}=_0x68ce9d[_0x5a73('0x25')]();if(!_0x34e510[_0x5a73('0x2e')](_0x4c08c5)||!_0x34e510[_0x5a73('0x18')])return;const _0x7a7d1d=_0x18c70e[_0x5a73('0x3')]['schema'],_0xf5c1b=_0x34e510[_0x5a73('0x18')];return _0x7a7d1d[_0x5a73('0x2a')](_0xf5c1b)&&!_0x7a7d1d[_0x5a73('0x7')](_0xf5c1b)&&_0x7a7d1d[_0x5a73('0x17')](_0xf5c1b,_0x5a73('0x4'))?{'type':_0x5a73('0xf'),'content':_0x3b7d76(_0x365148,_0x5a73('0x28'),_0x32b531[_0x5a73('0x13')](_0xf5c1b,0x1))}:void 0x0;});}}function ar(_0x129d0e,{showActiveMarker:_0x5e346d=!0x0}={}){return(_0x2c08af,_0x198e45,_0x22ed6f)=>{const _0x433d1a=_0x129d0e[_0x5a73('0x12')][_0x5a73('0x5')](_0x5a73('0x26')),_0x60bf16=_0x198e45[_0x5a73('0x2')]['start'],_0x5f172c=_0x198e45[_0x5a73('0x2')][_0x5a73('0x10')],_0x49851f=_0x129d0e['model'][_0x5a73('0x23')];if(!_0x60bf16['isTouching'](_0x5f172c)||!_0x60bf16['nodeAfter'])return;const _0x269864=_0x60bf16[_0x5a73('0x18')];if(_0x49851f[_0x5a73('0x2a')](_0x269864)&&!_0x49851f[_0x5a73('0x7')](_0x269864)&&_0x49851f[_0x5a73('0x17')](_0x269864,'$text')){if(!_0x22ed6f[_0x5a73('0x34')][_0x5a73('0x1b')](_0x198e45[_0x5a73('0x2')],_0x2c08af[_0x5a73('0x22')]))return;const _0x35e062=_0x22ed6f[_0x5a73('0x15')][_0x5a73('0xb')](_0x5a73('0xc'),{'class':'ck-suggestion-marker-split'}),_0x323342=_0x22ed6f[_0x5a73('0x0')][_0x5a73('0xe')](_0x5f172c);_0x5e346d&&_0x433d1a[_0x5a73('0x1d')]['includes'](_0x198e45[_0x5a73('0x19')])&&_0x22ed6f['writer'][_0x5a73('0x8')](_0x5a73('0x14'),_0x35e062),_0x22ed6f['writer'][_0x5a73('0x1e')](_0x323342,_0x35e062),_0x22ed6f[_0x5a73('0x0')]['bindElementToMarker'](_0x35e062,_0x198e45['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d09=['getAttributes','*Remove\x20all\x20formatting*','enableCommand','schema','RemoveFormatEditing','getRanges','format','afterInit','isFormatting','document','change','selection','markInlineFormat','has','getItems','getAttributeProperties','get','plugins','commandName','removeFormat','editor','model'];(function(_0x2a3249,_0x1d0939){const _0x346efe=function(_0x56299f){while(--_0x56299f){_0x2a3249['push'](_0x2a3249['shift']());}};_0x346efe(++_0x1d0939);}(_0x1d09,0x115));const _0x346e=function(_0x2a3249,_0x1d0939){_0x2a3249=_0x2a3249-0x0;let _0x346efe=_0x1d09[_0x2a3249];return _0x346efe;};import{Plugin as _0x56f502}from'ckeditor5/src/core';import{getTranslation as _0x3c3a99}from'../utils/common-translations';export default class ut extends _0x56f502{[_0x346e('0x10')](){const _0x2095ca=this[_0x346e('0x7')];if(!_0x2095ca[_0x346e('0x4')][_0x346e('0x0')](_0x346e('0xd')))return;const _0x35524e=_0x2095ca[_0x346e('0x4')][_0x346e('0x3')]('TrackChangesEditing');_0x35524e[_0x346e('0xb')](_0x346e('0x6'),_0x48ba8f=>{const _0x3f7900=_0x2095ca[_0x346e('0x8')][_0x346e('0x12')][_0x346e('0x14')];_0x3f7900['isCollapsed']?_0x48ba8f():_0x2095ca[_0x346e('0x8')][_0x346e('0x13')](()=>{const _0x2d2cd1=Array['from'](_0x3f7900[_0x346e('0xe')]());for(const _0x49c708 of _0x2d2cd1)for(const _0x4270fc of _0x49c708[_0x346e('0x1')]())mo(_0x4270fc,_0x2095ca[_0x346e('0x8')][_0x346e('0xc')])&&_0x35524e[_0x346e('0x15')](_0x2095ca[_0x346e('0x8')]['createRangeOn'](_0x4270fc),{'commandName':_0x346e('0x6'),'commandParams':[]});});}),_0x35524e['_descriptionFactory']['registerDescriptionCallback'](_0x387707=>{const {data:_0x3599db}=_0x387707;if(_0x3599db&&_0x346e('0x6')==_0x3599db[_0x346e('0x5')])return{'type':_0x346e('0xf'),'content':_0x3c3a99(_0x2095ca['locale'],_0x346e('0xa'))};});}}function mo(_0xf14470,_0x251939){for(const [_0x50f995]of _0xf14470[_0x346e('0x9')]()){const _0x170cd1=_0x251939[_0x346e('0x2')](_0x50f995);if(_0x170cd1&&_0x170cd1[_0x346e('0x11')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22ef=['TrackChangesEditing','trackChanges','acceptSelectedSuggestions','discardSuggestion','enableCommand','acceptAllSuggestions','RestrictedEditingModeEditing','afterInit','plugins','discardAllSuggestions','discardSelectedSuggestions','goToPreviousRestrictedEditingException','editor','get'];(function(_0x38f513,_0x22ef3d){const _0x2fbbe8=function(_0xab7134){while(--_0xab7134){_0x38f513['push'](_0x38f513['shift']());}};_0x2fbbe8(++_0x22ef3d);}(_0x22ef,0x153));const _0x2fbb=function(_0x38f513,_0x22ef3d){_0x38f513=_0x38f513-0x0;let _0x2fbbe8=_0x22ef[_0x38f513];return _0x2fbbe8;};import{Plugin as _0x1d581f}from'ckeditor5/src/core';export default class ft extends _0x1d581f{[_0x2fbb('0x4')](){const _0x332922=this[_0x2fbb('0x9')];if(!_0x332922['plugins']['has'](_0x2fbb('0x3')))return;const _0x320405=_0x332922[_0x2fbb('0x5')]['get'](_0x2fbb('0xb'));_0x320405[_0x2fbb('0x1')](_0x2fbb('0x8')),_0x320405['enableCommand']('goToNextRestrictedEditingException');const _0x3f0cc5=_0x332922[_0x2fbb('0x5')][_0x2fbb('0xa')](_0x2fbb('0x3'));_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xc')),_0x3f0cc5[_0x2fbb('0x1')]('acceptSuggestion'),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x0')),_0x3f0cc5['enableCommand'](_0x2fbb('0x2')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x6')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xd')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a70=['showSuggestionHighlights','ck-suggestion-marker-','element','ELEMENT_LINE_BREAK','span','high','markerRange','enableCommand','editing','downcastDispatcher','softBreak','plugins','editor','createPositionBefore','TrackChangesEditing','get','model','split','data','addMarker:suggestion','markerName','shiftEnter','includes','bindElementToMarker','addMarker:suggestion:insertion','ck-suggestion-marker--active','test','name','registerElementLabel','insert','writer','activeMarkers','deletion','toViewPosition'];(function(_0x448d75,_0x4a7093){const _0x4134ff=function(_0x2eecb0){while(--_0x2eecb0){_0x448d75['push'](_0x448d75['shift']());}};_0x4134ff(++_0x4a7093);}(_0x4a70,0x184));const _0x4134=function(_0x448d75,_0x4a7093){_0x448d75=_0x448d75-0x0;let _0x4134ff=_0x4a70[_0x448d75];return _0x4134ff;};import{Plugin as _0x53351e}from'ckeditor5/src/core';import{ShiftEnter as _0x3c912c}from'ckeditor5/src/enter';import{getTranslation as _0x1412aa}from'../utils/common-translations';export default class lt extends _0x53351e{static get['requires'](){return[_0x3c912c];}['init'](){const _0x4d2c73=this[_0x4134('0x20')],_0x1479c5=_0x4d2c73[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));_0x1479c5[_0x4134('0x1b')](_0x4134('0x7')),_0x4d2c73[_0x4134('0x1c')][_0x4134('0x1d')]['on'](_0x4134('0xa'),re(_0x4d2c73),{'priority':'high'}),_0x4d2c73['editing'][_0x4134('0x1d')]['on']('addMarker:suggestion:deletion',re(_0x4d2c73),{'priority':_0x4134('0x19')}),_0x4d2c73[_0x4134('0x4')][_0x4134('0x1d')]['on'](_0x4134('0x5'),(_0x240def,_0xd2340,_0x53746b)=>{_0x53746b['options'][_0x4134('0x14')]&&re(_0x4d2c73,{'showActiveMarker':!0x1})(_0x240def,_0xd2340,_0x53746b);}),_0x1479c5['_descriptionFactory'][_0x4134('0xe')]('softBreak',_0x577679=>_0x1412aa(_0x4d2c73['locale'],_0x4134('0x17'),_0x577679));}}function re(_0x1d5c2f,{showActiveMarker:_0x2136d5=!0x0}={}){return(_0xcbe00d,_0x709ce8,_0x4f7c45)=>{const _0x569da8=_0x1d5c2f[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));if(!_0x4f7c45['consumable'][_0x4134('0xc')](_0x709ce8[_0x4134('0x1a')],_0xcbe00d[_0x4134('0xd')]))return;const _0x443dbc=_0x1d5c2f[_0x4134('0x2')];for(const _0x32447c of _0x709ce8['markerRange']['getItems']()){if(!_0x32447c['is'](_0x4134('0x16'),_0x4134('0x1e')))continue;const _0x4470ab=_0x4134('0x12')==_0x709ce8[_0x4134('0x6')][_0x4134('0x3')](':')[0x1]?'merge':'split',_0x50ebd8=_0x4f7c45[_0x4134('0x10')]['createUIElement'](_0x4134('0x18'),{'class':_0x4134('0x15')+_0x4470ab}),_0x57b976=_0x4f7c45['mapper'][_0x4134('0x13')](_0x443dbc[_0x4134('0x21')](_0x32447c));_0x2136d5&&_0x569da8[_0x4134('0x11')][_0x4134('0x8')](_0x709ce8[_0x4134('0x6')])&&_0x4f7c45[_0x4134('0x10')]['addClass'](_0x4134('0xb'),_0x50ebd8),_0x4f7c45[_0x4134('0x10')][_0x4134('0xf')](_0x57b976,_0x50ebd8),_0x4f7c45['mapper'][_0x4134('0x9')](_0x50ebd8,_0x709ce8[_0x4134('0x6')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4474=['restrictedEditingException','FORMAT_RESTRICTED_DISABLED','format','selection','StandardEditingModeEditing','document','plugins','markInlineFormat','locale','FORMAT_RESTRICTED_ENABLED','_descriptionFactory','forceValue','commands','isCollapsed','editor','value','afterInit','get','commandName','model','change','enableCommand'];(function(_0x380470,_0x44748f){const _0x5650c2=function(_0xa6e7ca){while(--_0xa6e7ca){_0x380470['push'](_0x380470['shift']());}};_0x5650c2(++_0x44748f);}(_0x4474,0x14f));const _0x5650=function(_0x380470,_0x44748f){_0x380470=_0x380470-0x0;let _0x5650c2=_0x4474[_0x380470];return _0x5650c2;};import{Plugin as _0x4bb934}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xdbd1c5}from'./utils';import{getTranslation as _0x420115}from'../utils/common-translations';export default class gt extends _0x4bb934{[_0x5650('0xb')](){const _0xc68f0f=this[_0x5650('0x9')],_0x382903=_0xc68f0f[_0x5650('0xe')],_0x40c58b=_0xc68f0f[_0x5650('0x3')];if(!_0xc68f0f[_0x5650('0x1')]['has'](_0x5650('0x15')))return;const _0x88faef=_0xc68f0f[_0x5650('0x1')][_0x5650('0xc')]('TrackChangesEditing'),_0x131644=_0x5650('0x11'),_0x46c530=_0xc68f0f[_0x5650('0x7')]['get'](_0x131644);_0x88faef[_0x5650('0x10')](_0x131644,(_0x4000ba,_0x58764d={})=>{const _0x4150ba=_0x382903[_0x5650('0x0')][_0x5650('0x14')];if(_0x4150ba[_0x5650('0x8')])return void _0x4000ba(_0x58764d);const _0x4c9a68=void 0x0!==_0x58764d[_0x5650('0x6')]?_0x58764d[_0x5650('0x6')]:!_0x46c530[_0x5650('0xa')];_0x382903[_0x5650('0xf')](()=>{const _0x177499=Array['from'](_0x4150ba['getRanges']());for(const _0x4e9f46 of _0x177499){const _0x5ede7f=_0x4c9a68?[_0x4e9f46]:_0xdbd1c5(_0x131644,_0x4e9f46,_0x382903);for(const _0x32bc62 of _0x5ede7f)_0x88faef[_0x5650('0x2')](_0x32bc62,{'commandName':_0x131644,'commandParams':[{'forceValue':_0x4c9a68}]});}});}),_0x88faef[_0x5650('0x5')]['registerDescriptionCallback'](_0x1ae531=>{const {data:_0x8d1f8b}=_0x1ae531;if(_0x8d1f8b&&_0x8d1f8b[_0x5650('0xd')]==_0x131644)return _0x8d1f8b['commandParams'][0x0][_0x5650('0x6')]?{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x4'))}:{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x12'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56dc=['model','_getStyleDefinition','_descriptionFactory','afterInit','get','from','commandParams','isCollapsed','*Format:*\x20%0','TrackChangesEditing','selection','find','plugins','change','includes','getDefinitionsForView','style.definitions','getRanges','classes','markInlineFormat','push','toLowerCase','isBlock','commandName','value','format','add','style','inline','registerDescriptionCallback','enableCommand','getItems','style:','name','StyleUtils','markBlockFormat','block','has','config','normalizeConfig','every','editor','document','_getRangesWithClasses','locale','styleName','*Remove\x20format:*\x20%0','enabledStyles','Style','forceValue'];(function(_0x1b45ca,_0x56dc64){const _0x28aff7=function(_0x31963c){while(--_0x31963c){_0x1b45ca['push'](_0x1b45ca['shift']());}};_0x28aff7(++_0x56dc64);}(_0x56dc,0xd6));const _0x28af=function(_0x1b45ca,_0x56dc64){_0x1b45ca=_0x1b45ca-0x0;let _0x28aff7=_0x56dc[_0x1b45ca];return _0x28aff7;};import{Plugin as _0x552dc6}from'ckeditor5/src/core';import{getTranslation as _0x5eb884}from'../utils/common-translations';export default class mt extends _0x552dc6{[_0x28af('0x27')](){const _0x44a990=this[_0x28af('0x1b')];if(!_0x44a990[_0x28af('0x30')][_0x28af('0x17')](_0x28af('0x22')))return;const _0x4fbc9e=_0x44a990['commands'][_0x28af('0x28')]('style'),_0x22a695=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x2d')),_0x4bcc6a=_0x44a990[_0x28af('0x1e')],_0x14c3d5=_0x44a990['plugins'][_0x28af('0x28')]('DataSchema'),_0x19616d=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x14'))[_0x28af('0x19')](_0x14c3d5,_0x44a990[_0x28af('0x18')][_0x28af('0x28')](_0x28af('0x2')));_0x22a695[_0x28af('0x10')](_0x28af('0xd'),(_0x18235d,{styleName:_0x485fc8})=>{const _0x50424c=_0x44a990[_0x28af('0x24')][_0x28af('0x1c')][_0x28af('0x2e')],_0x3d5924=this[_0x28af('0x25')](_0x485fc8,_0x19616d);if(!_0x3d5924)return;if(!_0x4fbc9e[_0x28af('0x21')][_0x28af('0x0')](_0x485fc8))return;if(_0x50424c[_0x28af('0x2b')]&&!_0x3d5924[_0x28af('0x8')])return void _0x18235d({'styleName':_0x485fc8});const _0x2dda67=!_0x4fbc9e[_0x28af('0xa')][_0x28af('0x0')](_0x3d5924['name']);if(_0x3d5924[_0x28af('0x8')]){const _0x4b077f=function(_0x290876,_0x4d408b){const _0x40e5f1=new Set();for(const _0x3262ce of _0x290876){const _0x5ed9d0=_0x3262ce['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x393947 of _0x5ed9d0)if(_0x4d408b[_0x28af('0x0')](_0x393947['name'])){_0x40e5f1[_0x28af('0xc')](_0x393947);break;}}return _0x40e5f1;}(_0x50424c['getSelectedBlocks'](),_0x3d5924['modelElements']);_0x44a990[_0x28af('0x24')][_0x28af('0x31')](()=>{for(const _0x56a66a of _0x4b077f)_0x22a695[_0x28af('0x15')](_0x56a66a,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}],'formatGroupId':_0x28af('0x12')+_0x485fc8});});}else{let _0x4bc59c=Array[_0x28af('0x29')](_0x50424c[_0x28af('0x3')]());if(!_0x2dda67){const _0x24662b=Array['from'](_0x14c3d5[_0x28af('0x1')](_0x3d5924['element'],!0x1))[0x0][_0x28af('0x24')],_0x33a470=[];for(const _0x1506c6 of _0x4bc59c){const _0x5b481b=this[_0x28af('0x1d')](_0x44a990[_0x28af('0x24')],_0x1506c6,_0x3d5924['classes'],_0x24662b);_0x33a470[_0x28af('0x6')](..._0x5b481b);}_0x4bc59c=_0x33a470;}_0x44a990[_0x28af('0x24')]['change'](()=>{for(const _0x149afb of _0x4bc59c)_0x22a695[_0x28af('0x5')](_0x149afb,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}]});});}}),_0x22a695[_0x28af('0x26')][_0x28af('0xf')](_0x401d5e=>{const {data:_0x50577b}=_0x401d5e;if(_0x50577b&&_0x28af('0xd')===_0x50577b[_0x28af('0x9')])return _0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x23')]?{'type':_0x28af('0xb'),'content':_0x5eb884(_0x4bcc6a,_0x28af('0x2c'),_0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x1f')]['toLowerCase']())}:{'type':'format','content':_0x5eb884(_0x4bcc6a,_0x28af('0x20'),_0x50577b[_0x28af('0x2a')][0x0]['styleName'][_0x28af('0x7')]())};});}[_0x28af('0x25')](_0x1c817f,_0x113803){let _0x53f9bd=_0x113803[_0x28af('0x16')][_0x28af('0x2f')](_0x28291c=>_0x28291c[_0x28af('0x13')]===_0x1c817f);return _0x53f9bd||(_0x53f9bd=_0x113803[_0x28af('0xe')][_0x28af('0x2f')](_0xc8f608=>_0xc8f608['name']===_0x1c817f)),_0x53f9bd;}[_0x28af('0x1d')](_0x2c433f,_0x3eb81e,_0x2c54ed,_0x659fd3){const _0x3a28f3=[];for(const _0x2bea6d of _0x3eb81e[_0x28af('0x11')]()){const _0x4910e8=_0x2bea6d['getAttribute'](_0x659fd3);_0x4910e8&&(_0x2c54ed[_0x28af('0x1a')](_0x588224=>_0x4910e8[_0x28af('0x4')][_0x28af('0x0')](_0x588224))&&_0x3a28f3['push'](_0x2c433f['createRangeOn'](_0x2bea6d)));}return _0x3a28f3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e8c=['_suggestionFactory','insertTableRowAbove','first','$textProxy','markMultiRangeInsertion','name','getRowIndexes','deletion','insert','findAncestor','TableUtils','accept','showSuggestionHighlights','registerCustomCallback','getSelectionAffectedTableCells','getContainedElement','selectTableColumn','TrackChangesEditing','enqueueChange','forceValue','discard','end','_acceptFormatSuggestionCallbackFactory','get','min','addClass','_tableSuggestions','rootName','minRow','nodeAfter','createPositionAt','_setupColumnsRowsFixing','ELEMENT_TABLE','low','markMultiRangeDeletion','detach','_getSuggestionCoords','_descriptionFactory','has','insertTableRowBelow','insertTable','createRangeOn','setSelection','ELEMENT_TABLE_ROW_WITH_TEXT','some','cell','substr','subType','position','commands','editor','classes','getCellLocation','removeTableRow','insertTableColumnLeft','selectTableRow','data','change:data','above','plugins','_tablePostFixingSubtypes','isTouching','isEqual','downcastDispatcher','push','$graveyard','refresh','map','removeClass','table','getRanges','createTableWalker','getChangedMarkers','document','colspan','*Insert:*\x20%0','model','nodeBefore','addRange','tableCell','getColumnIndexes','toLowerCase','ELEMENT_TABLE_ROW','registerPostFixer','isArray','MIN_SAFE_INTEGER','enableCommand','every','insertion','change','join','max','length','locale','getItems','registerElementLabel','getChanges','TableEditing','maxColumn','getFirstRange','tableColumn','_getCoordsForCells','start','insertTableColumnRight','highest','hasAttribute','registerDescriptionCallback','removeTableColumn','minColumn','root','getAttribute','filter','options','startsWith','ELEMENT_TABLE_WITH_TEXT','getSuggestion','execute','isIntersectingWithRange','toViewElement','MAX_SAFE_INTEGER','type','*Remove:*\x20%0','tableRow','span','oldRange','selection','element','fromRange','ELEMENT_TABLE_COLUMN','order','rowspan','from','last'];(function(_0x3d4bcb,_0x5e8c93){const _0x24e1aa=function(_0x5c7279){while(--_0x5c7279){_0x3d4bcb['push'](_0x3d4bcb['shift']());}};_0x24e1aa(++_0x5e8c93);}(_0x5e8c,0x165));const _0x24e1=function(_0x3d4bcb,_0x5e8c93){_0x3d4bcb=_0x3d4bcb-0x0;let _0x24e1aa=_0x5e8c[_0x3d4bcb];return _0x24e1aa;};import{Plugin as _0x5bf188}from'ckeditor5/src/core';import{LiveRange as _0x1a2dc0}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1ba53f}from'ckeditor5/src/widget';import{getTranslation as _0x52a10a}from'../utils/common-translations';export default class dt extends _0x5bf188{constructor(_0x218074){super(_0x218074),this[_0x24e1('0x66')]=[_0x24e1('0x1f'),_0x24e1('0x9')],this[_0x24e1('0x44')]=new Set();}['afterInit'](){const _0x9c90f1=this['editor'],_0x37c0f4=_0x9c90f1['model']['document'][_0x24e1('0x22')];if(!_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x50')](_0x24e1('0x6')))return;const _0x42f4d2=_0x9c90f1[_0x24e1('0x2')],_0x11e322=_0x9c90f1['plugins'][_0x24e1('0x41')](_0x24e1('0x3b')),_0x3abea8=_0x9c90f1[_0x24e1('0x65')][_0x24e1('0x41')]('TableUtils');_0x11e322[_0x24e1('0x4f')][_0x24e1('0x4')]('table',_0x5e6157=>_0x52a10a(_0x42f4d2,_0x24e1('0x4a'),_0x5e6157)),this[_0x24e1('0x49')](),_0x11e322['enableCommand'](_0x24e1('0x52')),_0x11e322[_0x24e1('0x80')](_0x24e1('0x61')),_0x11e322['enableCommand'](_0x24e1('0x3a'));for(const _0x3614ec of[_0x24e1('0x2b'),_0x24e1('0x51')]){const _0x59874a=_0x9c90f1['commands'][_0x24e1('0x41')](_0x3614ec);_0x11e322[_0x24e1('0x80')](_0x3614ec,_0x573129=>{_0x9c90f1[_0x24e1('0x76')]['change'](_0x4425dc=>{_0x573129();const _0xc40ec6=_0x24e1('0x64')===_0x59874a['order'],_0x4fde47=_0x3abea8['getSelectionAffectedTableCells'](_0x37c0f4),_0x2904d7=_0x3abea8[_0x24e1('0x30')](_0x4fde47),_0x4d5627=_0xc40ec6?_0x2904d7[_0x24e1('0x2c')]-0x1:_0x2904d7[_0x24e1('0x29')]+0x1,_0x599834=_0x4fde47[0x0][_0x24e1('0x33')](_0x24e1('0x6f')),_0x33ce0d=_0x3abea8['createTableWalker'](_0x599834,{'startRow':_0x4d5627,'endRow':_0x4d5627}),_0xce0078=Array['from'](_0x33ce0d)['map'](_0x1528c8=>_0x4425dc['createRangeOn'](_0x1528c8[_0x24e1('0x57')]));_0x11e322[_0x24e1('0x2e')](_0xce0078,_0x24e1('0x1f'));});});}for(const _0x218762 of[_0x24e1('0x60'),_0x24e1('0xc')]){const _0x492a7d=_0x9c90f1['commands'][_0x24e1('0x41')](_0x218762);_0x11e322[_0x24e1('0x80')](_0x218762,_0x2233d0=>{_0x9c90f1['model'][_0x24e1('0x83')](_0x1e026c=>{_0x2233d0();const _0x48a2b2='left'===_0x492a7d[_0x24e1('0x26')],_0x3a286a=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x4fbd88=_0x3abea8[_0x24e1('0x7a')](_0x3a286a),_0x420a0a=_0x48a2b2?_0x4fbd88[_0x24e1('0x2c')]-0x1:_0x4fbd88[_0x24e1('0x29')]+0x1,_0x3b126b=_0x3a286a[0x0]['findAncestor'](_0x24e1('0x6f')),_0x591ed8=_0x3abea8[_0x24e1('0x71')](_0x3b126b,{'startRow':0x0,'column':_0x420a0a,'includeAllSlots':!0x1}),_0x28b77c=Array[_0x24e1('0x28')](_0x591ed8)[_0x24e1('0x6d')](_0x212db3=>_0x1e026c[_0x24e1('0x53')](_0x212db3['cell']));_0x11e322[_0x24e1('0x2e')](_0x28b77c,'tableColumn');});});}for(const _0x3121c2 of[_0x24e1('0x5f'),_0x24e1('0x10')]){const _0x2fea7f=_0x3121c2[_0x24e1('0x58')](0xb),_0x38064f=_0x2fea7f[_0x24e1('0x7b')](),_0x1bd7c3=_0x38064f[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x32cca8=_0x24e1('0x6f')+_0x2fea7f,_0x5a75e3=_0x24e1('0x42')+_0x2fea7f,_0x5dd998='max'+_0x2fea7f;_0x11e322['enableCommand'](_0x3121c2,()=>{_0x9c90f1['model']['change'](_0x4f796d=>{const _0x262ff8=_0x3abea8[_0x24e1('0x38')](_0x37c0f4),_0x3a9bca=_0x262ff8[0x0][_0x24e1('0x33')](_0x24e1('0x6f'));let _0x524d17;if('removeTableRow'==_0x3121c2){const _0x439c4a=_0x3abea8[_0x24e1('0x30')](_0x262ff8);_0x524d17={'startRow':_0x439c4a[_0x24e1('0x2c')],'endRow':_0x439c4a[_0x24e1('0x29')],'includeAllSlots':!0x0};}else{const _0x51b47d=_0x3abea8[_0x24e1('0x7a')](_0x262ff8);_0x524d17={'startColumn':_0x51b47d['first'],'endColumn':_0x51b47d[_0x24e1('0x29')],'includeAllSlots':!0x0};}const _0x55c80c=_0x3abea8[_0x24e1('0x71')](_0x3a9bca,_0x524d17),_0x5a461b=Array[_0x24e1('0x28')](_0x55c80c)[_0x24e1('0x6d')](({cell:_0x1df417})=>_0x1df417),_0x49d6a6=se(_0x5a461b[_0x24e1('0x14')](_0x27a5f1=>_0x27a5f1[_0x24e1('0xe')](_0x1bd7c3))),_0x2e626c=se(_0x5a461b[_0x24e1('0x14')](_0x4011c8=>!_0x4011c8[_0x24e1('0xe')](_0x1bd7c3)))['map'](_0x283f17=>_0x4f796d[_0x24e1('0x53')](_0x283f17)),_0x250955=_0x11e322[_0x24e1('0x4c')](_0x2e626c,_0x32cca8);if(_0x250955&&('tableRow'==_0x250955[_0x24e1('0x59')]||_0x24e1('0x9')==_0x250955['subType'])){const _0xbe057e=this['_getSuggestionCoords'](_0x250955);for(const _0x4f1abb of _0x49d6a6){const _0x5bd033=_0x4f796d['createRangeOn'](_0x4f1abb),_0x4b536e=_0x3abea8['getCellLocation'](_0x4f1abb),_0x363b9b=_0x4f1abb[_0x24e1('0x13')](_0x1bd7c3)-0x1,_0x2a301f=_0xbe057e[_0x5a75e3],_0x923140=_0xbe057e[_0x5dd998];_0x2a301f<=_0x4b536e[_0x38064f]&&_0x4b536e[_0x38064f]+_0x363b9b<=_0x923140&&_0x250955[_0x24e1('0x78')](_0x5bd033);}}});});}function _0x4a7760(_0x53393f){const _0x2e8d6f=Array[_0x24e1('0x28')](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x1806fd=>_0x1a2dc0[_0x24e1('0x24')](_0x1806fd));_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x83')](_0xfbb394=>{const _0x1a644d=_0xfbb394['batch'];_0x53393f=_0x53393f['filter'](_0x37bf98=>'$graveyard'!=_0x37bf98[_0x24e1('0x12')]['rootName']),_0xfbb394[_0x24e1('0x54')](_0x53393f),_0x9c90f1[_0x24e1('0x5b')][_0x24e1('0x41')](_0x24e1('0x5f'))['refresh'](),_0x9c90f1[_0x24e1('0x19')](_0x24e1('0x5f'),{'forceDefaultExecution':!0x0}),_0x9c90f1['model'][_0x24e1('0x3c')](()=>{_0x9c90f1[_0x24e1('0x76')][_0x24e1('0x3c')](_0x1a644d,_0x74507=>{const _0x18b3dd=_0x2e8d6f[_0x24e1('0x14')](_0x19eb66=>_0x24e1('0x6b')!=_0x19eb66[_0x24e1('0x12')]['rootName']);_0x18b3dd[_0x24e1('0x1')]>0x0&&_0x74507[_0x24e1('0x54')](_0x18b3dd);for(const _0x26d276 of _0x2e8d6f)_0x26d276[_0x24e1('0x4d')]();});});});}function _0x35899c(_0x25e2e9){_0x9c90f1['model']['change'](_0x236706=>{const _0xff84b6=Array['from'](_0x37c0f4[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x5eda7a=>_0x1a2dc0[_0x24e1('0x24')](_0x5eda7a)),_0x38e339=[];for(const _0xe4e049 of _0x25e2e9)for(const _0x344baa of _0xe4e049['getItems']({'shallow':!0x0}))_0x38e339[_0x24e1('0x6a')](_0x344baa);for(const _0x39ee3d of _0x38e339)_0x24e1('0x6b')!=_0x39ee3d[_0x24e1('0x12')][_0x24e1('0x45')]&&(_0x236706[_0x24e1('0x54')](_0x236706[_0x24e1('0x48')](_0x39ee3d,0x0)),_0x9c90f1['commands']['get']('removeTableColumn')['refresh'](),_0x9c90f1['execute'](_0x24e1('0x10'),{'forceDefaultExecution':!0x0}));const _0x276613=_0xff84b6['filter'](_0x4fa428=>'$graveyard'!=_0x4fa428[_0x24e1('0x12')][_0x24e1('0x45')]);_0x276613[_0x24e1('0x1')]>0x0&&_0x236706['setSelection'](_0x276613);for(const _0x37ca7e of _0xff84b6)_0x37ca7e[_0x24e1('0x4d')]();});}function _0x4f8033(_0x4dc702,_0x33d4c9){return _0x33d4c9[_0x24e1('0x81')](_0x3175f8=>_0x4dc702[_0x24e1('0x56')](_0x3244af=>_0x3244af['end'][_0x24e1('0x68')](_0x3175f8[_0x24e1('0xb')])||_0x3175f8[_0x24e1('0x3f')][_0x24e1('0x68')](_0x3244af['start'])));}function _0x3ee780(_0x4d4f4f,_0xd507bc){return _0x4d4f4f[_0x24e1('0x56')](_0x40a3fc=>_0xd507bc[_0x24e1('0x56')](_0x219310=>_0x40a3fc[_0x24e1('0x3f')][_0x24e1('0x67')](_0x219310[_0x24e1('0xb')])));}_0x9c90f1[_0x24e1('0x62')][_0x24e1('0x69')]['on']('addMarker:suggestion',(_0x18166d,_0x2bb665,_0x1fa30e)=>{if(!_0x1fa30e[_0x24e1('0x15')][_0x24e1('0x36')])return;const _0x3f744a=_0x2bb665['item'];if(!_0x3f744a)return;const _0x155cb9=_0x1fa30e['mapper'][_0x24e1('0x1b')](_0x3f744a);function _0x44b32d(_0x1fb920){return Array[_0x24e1('0x7e')](_0x1fb920)?_0x1fb920:[_0x1fb920];}_0x155cb9&&_0x24e1('0x79')===_0x3f744a[_0x24e1('0x2f')]&&_0x1ba53f(_0x155cb9,_0x1fa30e['writer'],(_0x20a8d0,_0x5737f3,_0x4af33c)=>_0x4af33c[_0x24e1('0x43')](_0x44b32d(_0x5737f3[_0x24e1('0x5d')]),_0x20a8d0),(_0x359cc2,_0x2408bd,_0x37d039)=>_0x37d039[_0x24e1('0x6e')](_0x44b32d(_0x2408bd['classes']),_0x359cc2));},{'priority':_0x24e1('0xd')}),_0x11e322[_0x24e1('0x4f')]['registerDescriptionCallback'](_0x49d760=>{if(_0x24e1('0x82')!=_0x49d760[_0x24e1('0x1d')]&&'deletion'!=_0x49d760[_0x24e1('0x1d')])return;const _0x1ab20c=_0x49d760[_0x24e1('0x39')]();if(null!=_0x1ab20c&&_0x1ab20c['is'](_0x24e1('0x23'),_0x24e1('0x6f'))){if(_0x24e1('0x82')==_0x49d760[_0x24e1('0x1d')]){const _0x35b32d=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x24f6d0=>_0x24f6d0['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x4f0bff=>_0x4f0bff['data']);if(_0x35b32d[_0x24e1('0x1')])return{'type':'insertion','content':_0x52a10a(_0x42f4d2,'*Insert:*\x20%0',_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x35b32d[_0x24e1('0x84')]('\x20')+'\x22'))};}if(_0x24e1('0x31')==_0x49d760[_0x24e1('0x1d')]){const _0x3d49d9=_0x49d760[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x3dd1b3=>_0x3dd1b3['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x33bed5=>_0x33bed5[_0x24e1('0x62')]);if(_0x3d49d9[_0x24e1('0x1')])return{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x17'),'\x22'+_0x3d49d9['join']('\x20')+'\x22'))};}}}),_0x11e322[_0x24e1('0x4f')][_0x24e1('0xf')](_0x32f9ae=>{if(_0x24e1('0x1f')==_0x32f9ae[_0x24e1('0x59')]){const _0x12e878=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x337373=>_0x337373['is'](_0x24e1('0x2d')))[_0x24e1('0x6d')](_0x27d08f=>_0x27d08f[_0x24e1('0x62')]),_0x2ff359=this['_getSuggestionCoords'](_0x32f9ae),_0x4c2608=_0x2ff359['maxRow']-_0x2ff359[_0x24e1('0x46')]+0x1;if(_0x24e1('0x82')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':'insertion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878['join']('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x12e878[_0x24e1('0x1')]?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x55'),[_0x4c2608,'\x22'+_0x12e878[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x7c'),_0x4c2608))};}if('tableColumn'==_0x32f9ae[_0x24e1('0x59')]){const _0x14e270=_0x32f9ae[_0x24e1('0x3')]()[_0x24e1('0x14')](_0x328704=>_0x328704['is'](_0x24e1('0x2d')))['map'](_0x2fa241=>_0x2fa241[_0x24e1('0x62')]),_0x5a5554=this['_getSuggestionCoords'](_0x32f9ae),_0x192b8b=_0x5a5554[_0x24e1('0x7')]-_0x5a5554[_0x24e1('0x11')]+0x1;if(_0x24e1('0x82')==_0x32f9ae['type'])return _0x14e270['length']?{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':_0x24e1('0x82'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x75'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};if(_0x24e1('0x31')==_0x32f9ae[_0x24e1('0x1d')])return _0x14e270['length']?{'type':_0x24e1('0x31'),'content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x192b8b,'\x22'+_0x14e270[_0x24e1('0x84')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x52a10a(_0x42f4d2,_0x24e1('0x1e'),_0x52a10a(_0x42f4d2,_0x24e1('0x25'),_0x192b8b))};}}),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),'tableRow',_0x24e1('0x3e'),_0x4a7760),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')]('deletion',_0x24e1('0x1f'),_0x24e1('0x35'),_0x4a7760),_0x11e322['_suggestionFactory'][_0x24e1('0x37')]('insertion','tableColumn',_0x24e1('0x3e'),_0x35899c),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x9'),'accept',_0x35899c),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback']('insertion',_0x24e1('0x9'),_0x24e1('0x84'),_0x4f8033),_0x11e322[_0x24e1('0x2a')]['registerCustomCallback'](_0x24e1('0x31'),_0x24e1('0x9'),'join',_0x4f8033),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x82'),_0x24e1('0x1f'),'join',_0x3ee780),_0x11e322[_0x24e1('0x2a')][_0x24e1('0x37')](_0x24e1('0x31'),_0x24e1('0x1f'),'join',_0x3ee780);}[_0x24e1('0x40')](){const _0x15978d=this[_0x24e1('0x5c')],_0x149da2=_0x15978d[_0x24e1('0x76')][_0x24e1('0x73')]['selection'];return(_0x36c7a1,_0x47c511)=>{_0x15978d['model'][_0x24e1('0x83')](_0x19831e=>{const {commandName:_0x2a2262,commandParams:_0x2354e3}=_0x47c511;let _0x38fa80=_0x36c7a1[0x0]['end'][_0x24e1('0x77')];_0x2354e3&&_0x2354e3[0x0]&&!0x1===_0x2354e3[0x0][_0x24e1('0x3d')]&&(_0x38fa80=_0x36c7a1[0x0][_0x24e1('0xb')][_0x24e1('0x47')]);const _0x1fa6e0=_0x19831e['createRangeIn'](_0x38fa80);if(_0x24e1('0x6b')==_0x1fa6e0[_0x24e1('0x12')][_0x24e1('0x45')])return;const _0x1fe958=Array[_0x24e1('0x28')](_0x149da2[_0x24e1('0x70')]())[_0x24e1('0x6d')](_0x9fc92d=>_0x1a2dc0['fromRange'](_0x9fc92d));_0x19831e[_0x24e1('0x54')](_0x1fa6e0),_0x15978d['commands'][_0x24e1('0x41')](_0x2a2262)[_0x24e1('0x6c')](),_0x2354e3[_0x24e1('0x6a')]({'forceDefaultExecution':!0x0}),_0x15978d['execute'](_0x2a2262,..._0x2354e3);const _0x30ac76=_0x1fe958[_0x24e1('0x14')](_0x39b03d=>_0x24e1('0x6b')!=_0x39b03d[_0x24e1('0x12')][_0x24e1('0x45')]);_0x30ac76[_0x24e1('0x1')]>0x0&&_0x19831e['setSelection'](_0x30ac76);for(const _0x220aa1 of _0x1fe958)_0x220aa1[_0x24e1('0x4d')]();});};}[_0x24e1('0xa')](_0x2fbd3a){const _0x40987d=this[_0x24e1('0x5c')]['plugins'][_0x24e1('0x41')](_0x24e1('0x34'));let _0x238cc8=Number[_0x24e1('0x1c')],_0x2f6e2e=Number[_0x24e1('0x7f')],_0x440bef=Number['MAX_SAFE_INTEGER'],_0x2b04c2=Number[_0x24e1('0x7f')];for(const _0x5ae431 of _0x2fbd3a){if(_0x24e1('0x6b')==_0x5ae431[_0x24e1('0x12')][_0x24e1('0x45')])continue;const {row:_0x5a361e,column:_0x468b3f}=_0x40987d[_0x24e1('0x5e')](_0x5ae431),_0x1e9e1a=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x27'))?_0x5ae431[_0x24e1('0x13')](_0x24e1('0x27'))-0x1:0x0,_0x177c34=_0x5ae431[_0x24e1('0xe')](_0x24e1('0x74'))?_0x5ae431['getAttribute'](_0x24e1('0x74'))-0x1:0x0;_0x238cc8=_0x5a361e<_0x238cc8?_0x5a361e:_0x238cc8,_0x2f6e2e=_0x5a361e+_0x1e9e1a>_0x2f6e2e?_0x5a361e+_0x1e9e1a:_0x2f6e2e,_0x440bef=_0x468b3f<_0x440bef?_0x468b3f:_0x440bef,_0x2b04c2=_0x468b3f+_0x177c34>_0x2b04c2?_0x468b3f+_0x177c34:_0x2b04c2;}return{'minRow':_0x238cc8,'maxRow':_0x2f6e2e,'minColumn':_0x440bef,'maxColumn':_0x2b04c2};}[_0x24e1('0x49')](){const _0x1c7b7a=this[_0x24e1('0x5c')],_0x5440d6=_0x1c7b7a['plugins'][_0x24e1('0x41')]('TrackChangesEditing'),_0x21cc41=_0x1c7b7a['plugins']['get'](_0x24e1('0x34'));_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['on'](_0x24e1('0x63'),()=>{const _0x5f11c5=Array[_0x24e1('0x28')](_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x72')]());for(const {name:_0x28399f,data:_0x813917}of _0x5f11c5){const {group:_0x8cbea7,id:_0x478f4c,subType:_0x59589}=_0x5440d6['_splitMarkerName'](_0x28399f);if('suggestion'!=_0x8cbea7)continue;if(null!=_0x813917[_0x24e1('0x21')])continue;const _0x14f70f=_0x5440d6[_0x24e1('0x18')](_0x478f4c);this[_0x24e1('0x66')]['includes'](_0x59589)&&this[_0x24e1('0x44')]['add'](_0x14f70f);}},{'priority':_0x24e1('0x4b')});const _0x311c56=(_0x9a17c6,_0x4d29cc)=>{let _0x11373e=!0x1;const _0xe14ba7=_0x4d29cc[_0x24e1('0x53')](_0x9a17c6),_0x5c11c4=_0x9a17c6['findAncestor']('table'),_0x1ba9cb=_0x21cc41[_0x24e1('0x5e')](_0x9a17c6);for(const _0x1ac8b6 of this[_0x24e1('0x44')]){const _0xa6277=_0x1ac8b6['subType'],_0x357e49=_0xa6277[_0x24e1('0x16')]('tablePaste'),_0x56b8d6=_0xa6277[_0x24e1('0x58')](_0x357e49?0xa:0x5),_0x5b9bb8=_0x56b8d6[_0x24e1('0x7b')](),_0x3ce7ef=_0x5b9bb8[_0x24e1('0x58')](0x0,0x3)+_0x24e1('0x20'),_0x405fd5=_0x24e1('0x42')+_0x56b8d6,_0x69bcd0=_0x24e1('0x0')+_0x56b8d6;if(!_0x1ac8b6['isInContent'])continue;if(_0x5c11c4!=_0x1ac8b6[_0x24e1('0x8')]()[_0x24e1('0xb')]['findAncestor'](_0x24e1('0x6f')))continue;if(_0x1ac8b6[_0x24e1('0x1a')](_0xe14ba7))continue;const _0x3e8ef0=_0x9a17c6[_0x24e1('0xe')](_0x3ce7ef)?_0x9a17c6['getAttribute'](_0x3ce7ef)-0x1:0x0,_0x3f39a5=this[_0x24e1('0x4e')](_0x1ac8b6),_0x1c4bc3=_0x3f39a5[_0x405fd5],_0x24e8e1=_0x3f39a5[_0x69bcd0];_0x1c4bc3<=_0x1ba9cb[_0x5b9bb8]&&_0x1ba9cb[_0x5b9bb8]+_0x3e8ef0<=_0x24e8e1&&(_0x1ac8b6[_0x24e1('0x78')](_0xe14ba7),_0x11373e=!0x0);}return _0x11373e;};_0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')][_0x24e1('0x7d')](_0x7cfb42=>{let _0x2f6298=!0x1;for(const _0x4f9d36 of _0x1c7b7a[_0x24e1('0x76')][_0x24e1('0x73')]['differ'][_0x24e1('0x5')]())if(_0x24e1('0x32')==_0x4f9d36[_0x24e1('0x1d')]){if(_0x24e1('0x1f')==_0x4f9d36[_0x24e1('0x2f')])for(const _0x2a1c20 of _0x4f9d36['position'][_0x24e1('0x47')]['getChildren']())_0x2f6298=_0x2f6298||_0x311c56(_0x2a1c20,_0x7cfb42);else _0x24e1('0x79')==_0x4f9d36['name']&&(_0x2f6298=_0x2f6298||_0x311c56(_0x4f9d36[_0x24e1('0x5a')][_0x24e1('0x47')],_0x7cfb42));}return _0x2f6298;});}[_0x24e1('0x4e')](_0x3acf30){return this[_0x24e1('0xa')](_0x3acf30[_0x24e1('0x70')]()['map'](_0x194472=>_0x194472['start'][_0x24e1('0x47')]));}}function se(_0x4c72df){return Array[_0x24e1('0x28')](new Set(_0x4c72df)['values']());}
|
|
23
|
+
const _0x51fd=['order','change','tableCell','subType','name','rootName','enqueueChange','toViewElement','get','change:data','ELEMENT_TABLE','selection','registerDescriptionCallback','_suggestionFactory','getRowIndexes','accept','isArray','startsWith','MIN_SAFE_INTEGER','$textProxy','cell','detach','TrackChangesEditing','rowspan','enableCommand','removeTableColumn','tablePaste','findAncestor','end','insertTableColumnRight','refresh','registerCustomCallback','getSuggestion','*Insert:*\x20%0','toLowerCase','suggestion','_tableSuggestions','from','*Remove:*\x20%0','values','type','length','getItems','last','maxColumn','position','discard','insertTable','editor','every','first','addMarker:suggestion','min','filter','_getCoordsForCells','minRow','includes','options','map','TableEditing','isEqual','createTableWalker','tableColumn','minColumn','isTouching','downcastDispatcher','isIntersectingWithRange','addRange','createRangeOn','ELEMENT_TABLE_COLUMN','above','getRanges','addClass','push','data','insertTableColumnLeft','root','TableUtils','setSelection','$graveyard','execute','max','plugins','createRangeIn','mapper','removeTableRow','item','start','getColumnIndexes','removeClass','createPositionAt','low','nodeAfter','markMultiRangeInsertion','deletion','commands','tableRow','table','_splitMarkerName','_tablePostFixingSubtypes','ELEMENT_TABLE_COLUMN_WITH_TEXT','substr','ELEMENT_TABLE_ROW_WITH_TEXT','document','_descriptionFactory','insertion','insert','differ','registerElementLabel','_getSuggestionCoords','fromRange','join','some','getAttribute','MAX_SAFE_INTEGER','getFirstRange','hasAttribute','insertTableRowAbove','batch','has','colspan','registerPostFixer','getCellLocation','writer','_setupColumnsRowsFixing','model','maxRow','getSelectionAffectedTableCells','ELEMENT_TABLE_WITH_TEXT'];(function(_0x18876e,_0x51fd09){const _0x561b72=function(_0x206506){while(--_0x206506){_0x18876e['push'](_0x18876e['shift']());}};_0x561b72(++_0x51fd09);}(_0x51fd,0xcb));const _0x561b=function(_0x18876e,_0x51fd09){_0x18876e=_0x18876e-0x0;let _0x561b72=_0x51fd[_0x18876e];return _0x561b72;};import{Plugin as _0x28ff0a}from'ckeditor5/src/core';import{LiveRange as _0x44dafe}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2ba045}from'ckeditor5/src/widget';import{getTranslation as _0x33ed96}from'../utils/common-translations';export default class dt extends _0x28ff0a{constructor(_0x21fc9a){super(_0x21fc9a),this['_tablePostFixingSubtypes']=[_0x561b('0x16'),_0x561b('0x75')],this[_0x561b('0x5b')]=new Set();}['afterInit'](){const _0x32da67=this[_0x561b('0x67')],_0xdb9c65=_0x32da67['model'][_0x561b('0x1d')][_0x561b('0x42')];if(!_0x32da67[_0x561b('0x8')][_0x561b('0x2d')](_0x561b('0x72')))return;const _0x4c55d3=_0x32da67['locale'],_0x1b4d64=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x4d')),_0x4379b6=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));_0x1b4d64[_0x561b('0x1e')][_0x561b('0x22')](_0x561b('0x17'),_0x316e1a=>_0x33ed96(_0x4c55d3,_0x561b('0x41'),_0x316e1a)),this[_0x561b('0x32')](),_0x1b4d64[_0x561b('0x4f')](_0x561b('0x66')),_0x1b4d64[_0x561b('0x4f')]('selectTableRow'),_0x1b4d64['enableCommand']('selectTableColumn');for(const _0x10e36a of[_0x561b('0x2b'),'insertTableRowBelow']){const _0x2287b2=_0x32da67['commands'][_0x561b('0x3f')](_0x10e36a);_0x1b4d64[_0x561b('0x4f')](_0x10e36a,_0x5a5854=>{_0x32da67['model'][_0x561b('0x38')](_0x2da334=>{_0x5a5854();const _0x4d955c=_0x561b('0x7d')===_0x2287b2[_0x561b('0x37')],_0xa9293b=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x2766a2=_0x4379b6[_0x561b('0x45')](_0xa9293b),_0x252f7e=_0x4d955c?_0x2766a2[_0x561b('0x69')]-0x1:_0x2766a2[_0x561b('0x62')]+0x1,_0x265b6b=_0xa9293b[0x0][_0x561b('0x52')]('table'),_0x312d0b=_0x4379b6[_0x561b('0x74')](_0x265b6b,{'startRow':_0x252f7e,'endRow':_0x252f7e}),_0x469b4c=Array['from'](_0x312d0b)[_0x561b('0x71')](_0x43d91e=>_0x2da334[_0x561b('0x7b')](_0x43d91e['cell']));_0x1b4d64[_0x561b('0x13')](_0x469b4c,_0x561b('0x16'));});});}for(const _0x4c2175 of[_0x561b('0x1'),_0x561b('0x54')]){const _0x3a0856=_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x4c2175);_0x1b4d64[_0x561b('0x4f')](_0x4c2175,_0x51b202=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x2d3e31=>{_0x51b202();const _0x156c72='left'===_0x3a0856[_0x561b('0x37')],_0x5c6664=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x140453=_0x4379b6[_0x561b('0xe')](_0x5c6664),_0x275d4d=_0x156c72?_0x140453[_0x561b('0x69')]-0x1:_0x140453[_0x561b('0x62')]+0x1,_0x40f1f0=_0x5c6664[0x0]['findAncestor'](_0x561b('0x17')),_0xb94765=_0x4379b6[_0x561b('0x74')](_0x40f1f0,{'startRow':0x0,'column':_0x275d4d,'includeAllSlots':!0x1}),_0x23d3cf=Array[_0x561b('0x5c')](_0xb94765)[_0x561b('0x71')](_0x9dc165=>_0x2d3e31['createRangeOn'](_0x9dc165[_0x561b('0x4b')]));_0x1b4d64[_0x561b('0x13')](_0x23d3cf,'tableColumn');});});}for(const _0x2f27b3 of[_0x561b('0xb'),_0x561b('0x50')]){const _0x58b7e3=_0x2f27b3['substr'](0xb),_0x27e5a5=_0x58b7e3['toLowerCase'](),_0x105415=_0x27e5a5[_0x561b('0x1b')](0x0,0x3)+'span',_0x3a18ca=_0x561b('0x17')+_0x58b7e3,_0x3660bd=_0x561b('0x6b')+_0x58b7e3,_0x168554=_0x561b('0x7')+_0x58b7e3;_0x1b4d64[_0x561b('0x4f')](_0x2f27b3,()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xe80439=>{const _0x264eee=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x3a0832=_0x264eee[0x0][_0x561b('0x52')]('table');let _0x458e09;if('removeTableRow'==_0x2f27b3){const _0x2e89d5=_0x4379b6[_0x561b('0x45')](_0x264eee);_0x458e09={'startRow':_0x2e89d5['first'],'endRow':_0x2e89d5[_0x561b('0x62')],'includeAllSlots':!0x0};}else{const _0x5c7f4c=_0x4379b6[_0x561b('0xe')](_0x264eee);_0x458e09={'startColumn':_0x5c7f4c[_0x561b('0x69')],'endColumn':_0x5c7f4c[_0x561b('0x62')],'includeAllSlots':!0x0};}const _0x25a12f=_0x4379b6[_0x561b('0x74')](_0x3a0832,_0x458e09),_0x1552ef=Array[_0x561b('0x5c')](_0x25a12f)['map'](({cell:_0x3ae3bf})=>_0x3ae3bf),_0xc436f=se(_0x1552ef[_0x561b('0x6c')](_0xb9a52f=>_0xb9a52f[_0x561b('0x2a')](_0x105415))),_0xd27f85=se(_0x1552ef[_0x561b('0x6c')](_0x2784b3=>!_0x2784b3[_0x561b('0x2a')](_0x105415)))[_0x561b('0x71')](_0x71233e=>_0xe80439['createRangeOn'](_0x71233e)),_0x358bc0=_0x1b4d64['markMultiRangeDeletion'](_0xd27f85,_0x3a18ca);if(_0x358bc0&&(_0x561b('0x16')==_0x358bc0[_0x561b('0x3a')]||_0x561b('0x75')==_0x358bc0[_0x561b('0x3a')])){const _0x135b10=this[_0x561b('0x23')](_0x358bc0);for(const _0x5da268 of _0xc436f){const _0x1a1083=_0xe80439[_0x561b('0x7b')](_0x5da268),_0x5dd31a=_0x4379b6[_0x561b('0x30')](_0x5da268),_0x3af082=_0x5da268[_0x561b('0x27')](_0x105415)-0x1,_0x93a44f=_0x135b10[_0x3660bd],_0x131e68=_0x135b10[_0x168554];_0x93a44f<=_0x5dd31a[_0x27e5a5]&&_0x5dd31a[_0x27e5a5]+_0x3af082<=_0x131e68&&_0x358bc0[_0x561b('0x7a')](_0x1a1083);}}});});}function _0x5755d9(_0x2bfeb2){const _0x24c2f6=Array[_0x561b('0x5c')](_0xdb9c65[_0x561b('0x7e')]())[_0x561b('0x71')](_0xee81f4=>_0x44dafe[_0x561b('0x24')](_0xee81f4));_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xfff425=>{const _0x12a038=_0xfff425[_0x561b('0x2c')];_0x2bfeb2=_0x2bfeb2[_0x561b('0x6c')](_0x45ab4a=>_0x561b('0x5')!=_0x45ab4a[_0x561b('0x2')][_0x561b('0x3c')]),_0xfff425['setSelection'](_0x2bfeb2),_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x561b('0xb'))[_0x561b('0x55')](),_0x32da67[_0x561b('0x6')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](_0x12a038,_0x5ba12b=>{const _0x44459f=_0x24c2f6[_0x561b('0x6c')](_0x249827=>_0x561b('0x5')!=_0x249827[_0x561b('0x2')][_0x561b('0x3c')]);_0x44459f[_0x561b('0x60')]>0x0&&_0x5ba12b[_0x561b('0x4')](_0x44459f);for(const _0x2211e3 of _0x24c2f6)_0x2211e3[_0x561b('0x4c')]();});});});}function _0x23e731(_0x1862e0){_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x110989=>{const _0x5cc4db=Array['from'](_0xdb9c65['getRanges']())[_0x561b('0x71')](_0x4f3bfb=>_0x44dafe[_0x561b('0x24')](_0x4f3bfb)),_0x4718c7=[];for(const _0x51d4a5 of _0x1862e0)for(const _0x421aa0 of _0x51d4a5['getItems']({'shallow':!0x0}))_0x4718c7[_0x561b('0x80')](_0x421aa0);for(const _0x3396e0 of _0x4718c7)'$graveyard'!=_0x3396e0[_0x561b('0x2')][_0x561b('0x3c')]&&(_0x110989[_0x561b('0x4')](_0x110989[_0x561b('0x10')](_0x3396e0,0x0)),_0x32da67['commands'][_0x561b('0x3f')](_0x561b('0x50'))[_0x561b('0x55')](),_0x32da67['execute'](_0x561b('0x50'),{'forceDefaultExecution':!0x0}));const _0x52b41a=_0x5cc4db['filter'](_0x5bbbe7=>'$graveyard'!=_0x5bbbe7['root'][_0x561b('0x3c')]);_0x52b41a[_0x561b('0x60')]>0x0&&_0x110989[_0x561b('0x4')](_0x52b41a);for(const _0x5892ff of _0x5cc4db)_0x5892ff[_0x561b('0x4c')]();});}function _0x53673a(_0x289236,_0x21aa4c){return _0x21aa4c[_0x561b('0x68')](_0x3dc3d1=>_0x289236[_0x561b('0x26')](_0x101dae=>_0x101dae['end'][_0x561b('0x73')](_0x3dc3d1[_0x561b('0xd')])||_0x3dc3d1['end'][_0x561b('0x73')](_0x101dae['start'])));}function _0x48f4ac(_0x54a8f2,_0x2a7000){return _0x54a8f2[_0x561b('0x26')](_0x2c7ccf=>_0x2a7000['some'](_0x34260c=>_0x2c7ccf[_0x561b('0x53')][_0x561b('0x77')](_0x34260c['start'])));}_0x32da67['data'][_0x561b('0x78')]['on'](_0x561b('0x6a'),(_0x10fb16,_0x3553cd,_0x49fe7f)=>{if(!_0x49fe7f[_0x561b('0x70')]['showSuggestionHighlights'])return;const _0x4a9c3c=_0x3553cd[_0x561b('0xc')];if(!_0x4a9c3c)return;const _0x4fe51b=_0x49fe7f[_0x561b('0xa')][_0x561b('0x3e')](_0x4a9c3c);function _0x1ac1e9(_0x4ff059){return Array[_0x561b('0x47')](_0x4ff059)?_0x4ff059:[_0x4ff059];}_0x4fe51b&&_0x561b('0x39')===_0x4a9c3c['name']&&_0x2ba045(_0x4fe51b,_0x49fe7f[_0x561b('0x31')],(_0x5558be,_0xf0ca3a,_0x1554aa)=>_0x1554aa[_0x561b('0x7f')](_0x1ac1e9(_0xf0ca3a['classes']),_0x5558be),(_0xc9cde7,_0x2f0d25,_0x3b6434)=>_0x3b6434[_0x561b('0xf')](_0x1ac1e9(_0x2f0d25['classes']),_0xc9cde7));},{'priority':'highest'}),_0x1b4d64[_0x561b('0x1e')][_0x561b('0x43')](_0x4e0933=>{if(_0x561b('0x1f')!=_0x4e0933[_0x561b('0x5f')]&&_0x561b('0x14')!=_0x4e0933['type'])return;const _0x44f684=_0x4e0933['getContainedElement']();if(null!=_0x44f684&&_0x44f684['is']('element',_0x561b('0x17'))){if(_0x561b('0x1f')==_0x4e0933[_0x561b('0x5f')]){const _0x10ed4d=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x4de141=>_0x4de141['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x5da20d=>_0x5da20d[_0x561b('0x0')]);if(_0x10ed4d[_0x561b('0x60')])return{'type':'insertion','content':_0x33ed96(_0x4c55d3,'*Insert:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x10ed4d[_0x561b('0x25')]('\x20')+'\x22'))};}if(_0x561b('0x14')==_0x4e0933[_0x561b('0x5f')]){const _0x325116=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x544a4a=>_0x544a4a['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x21098b=>_0x21098b['data']);if(_0x325116[_0x561b('0x60')])return{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x325116[_0x561b('0x25')]('\x20')+'\x22'))};}}}),_0x1b4d64['_descriptionFactory'][_0x561b('0x43')](_0xcd56a2=>{if(_0x561b('0x16')==_0xcd56a2[_0x561b('0x3a')]){const _0x1548b8=_0xcd56a2['getItems']()['filter'](_0x4960eb=>_0x4960eb['is'](_0x561b('0x4a')))['map'](_0x98d76f=>_0x98d76f[_0x561b('0x0')]),_0x2cb055=this[_0x561b('0x23')](_0xcd56a2),_0x499596=_0x2cb055[_0x561b('0x34')]-_0x2cb055[_0x561b('0x6e')]+0x1;if('insertion'==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8[_0x561b('0x60')]?{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};}if(_0x561b('0x75')==_0xcd56a2[_0x561b('0x3a')]){const _0x429fe9=_0xcd56a2[_0x561b('0x61')]()['filter'](_0x1ba643=>_0x1ba643['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x592279=>_0x592279[_0x561b('0x0')]),_0x3088f7=this[_0x561b('0x23')](_0xcd56a2),_0x202a0b=_0x3088f7[_0x561b('0x63')]-_0x3088f7[_0x561b('0x76')]+0x1;if('insertion'==_0xcd56a2['type'])return _0x429fe9[_0x561b('0x60')]?{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_COLUMN',_0x202a0b))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x429fe9['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9['join']('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x7c'),_0x202a0b))};}}),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')]('insertion',_0x561b('0x16'),_0x561b('0x65'),_0x5755d9),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x46'),_0x5755d9),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x65'),_0x23e731),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback']('deletion',_0x561b('0x75'),'accept',_0x23e731),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x14'),'tableColumn',_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac);}['_acceptFormatSuggestionCallbackFactory'](){const _0x4bed25=this[_0x561b('0x67')],_0x34f8c3=_0x4bed25[_0x561b('0x33')]['document']['selection'];return(_0x568ac0,_0xa068bb)=>{_0x4bed25[_0x561b('0x33')][_0x561b('0x38')](_0x24d873=>{const {commandName:_0x37e8e1,commandParams:_0x21d9ec}=_0xa068bb;let _0x21eaad=_0x568ac0[0x0][_0x561b('0x53')]['nodeBefore'];_0x21d9ec&&_0x21d9ec[0x0]&&!0x1===_0x21d9ec[0x0]['forceValue']&&(_0x21eaad=_0x568ac0[0x0][_0x561b('0xd')][_0x561b('0x12')]);const _0x179c25=_0x24d873[_0x561b('0x9')](_0x21eaad);if('$graveyard'==_0x179c25['root'][_0x561b('0x3c')])return;const _0x45bdb4=Array[_0x561b('0x5c')](_0x34f8c3['getRanges']())[_0x561b('0x71')](_0x5639dc=>_0x44dafe[_0x561b('0x24')](_0x5639dc));_0x24d873[_0x561b('0x4')](_0x179c25),_0x4bed25['commands']['get'](_0x37e8e1)[_0x561b('0x55')](),_0x21d9ec[_0x561b('0x80')]({'forceDefaultExecution':!0x0}),_0x4bed25[_0x561b('0x6')](_0x37e8e1,..._0x21d9ec);const _0x198bef=_0x45bdb4['filter'](_0x25ec92=>_0x561b('0x5')!=_0x25ec92['root']['rootName']);_0x198bef['length']>0x0&&_0x24d873[_0x561b('0x4')](_0x198bef);for(const _0x2dd867 of _0x45bdb4)_0x2dd867[_0x561b('0x4c')]();});};}[_0x561b('0x6d')](_0x4f8346){const _0x49da3e=this[_0x561b('0x67')][_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));let _0x602e77=Number[_0x561b('0x28')],_0x2a2d9e=Number[_0x561b('0x49')],_0x3d9ba5=Number[_0x561b('0x28')],_0x554d41=Number[_0x561b('0x49')];for(const _0x5d0203 of _0x4f8346){if('$graveyard'==_0x5d0203[_0x561b('0x2')][_0x561b('0x3c')])continue;const {row:_0x12401b,column:_0x18ce00}=_0x49da3e[_0x561b('0x30')](_0x5d0203),_0x39b0b4=_0x5d0203[_0x561b('0x2a')](_0x561b('0x4e'))?_0x5d0203[_0x561b('0x27')]('rowspan')-0x1:0x0,_0x3c0c4e=_0x5d0203[_0x561b('0x2a')](_0x561b('0x2e'))?_0x5d0203[_0x561b('0x27')]('colspan')-0x1:0x0;_0x602e77=_0x12401b<_0x602e77?_0x12401b:_0x602e77,_0x2a2d9e=_0x12401b+_0x39b0b4>_0x2a2d9e?_0x12401b+_0x39b0b4:_0x2a2d9e,_0x3d9ba5=_0x18ce00<_0x3d9ba5?_0x18ce00:_0x3d9ba5,_0x554d41=_0x18ce00+_0x3c0c4e>_0x554d41?_0x18ce00+_0x3c0c4e:_0x554d41;}return{'minRow':_0x602e77,'maxRow':_0x2a2d9e,'minColumn':_0x3d9ba5,'maxColumn':_0x554d41};}[_0x561b('0x32')](){const _0x4537e9=this[_0x561b('0x67')],_0x2a4c45=_0x4537e9['plugins'][_0x561b('0x3f')]('TrackChangesEditing'),_0x216194=_0x4537e9[_0x561b('0x8')][_0x561b('0x3f')]('TableUtils');_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')]['on'](_0x561b('0x40'),()=>{const _0x5e08af=Array[_0x561b('0x5c')](_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChangedMarkers']());for(const {name:_0x347ed3,data:_0x5cdd26}of _0x5e08af){const {group:_0x225991,id:_0x58e778,subType:_0x588d76}=_0x2a4c45[_0x561b('0x18')](_0x347ed3);if(_0x561b('0x5a')!=_0x225991)continue;if(null!=_0x5cdd26['oldRange'])continue;const _0x32a009=_0x2a4c45[_0x561b('0x57')](_0x58e778);this[_0x561b('0x19')][_0x561b('0x6f')](_0x588d76)&&this[_0x561b('0x5b')]['add'](_0x32a009);}},{'priority':_0x561b('0x11')});const _0x2884b1=(_0x14d4f3,_0x4ce9c7)=>{let _0x5cbecc=!0x1;const _0x1db2a4=_0x4ce9c7['createRangeOn'](_0x14d4f3),_0x2e63b2=_0x14d4f3['findAncestor'](_0x561b('0x17')),_0x29ca23=_0x216194['getCellLocation'](_0x14d4f3);for(const _0x2b9dc2 of this[_0x561b('0x5b')]){const _0x4ed0a3=_0x2b9dc2[_0x561b('0x3a')],_0x508bc9=_0x4ed0a3[_0x561b('0x48')](_0x561b('0x51')),_0x3df8ca=_0x4ed0a3[_0x561b('0x1b')](_0x508bc9?0xa:0x5),_0x472e69=_0x3df8ca[_0x561b('0x59')](),_0x2f8e81=_0x472e69[_0x561b('0x1b')](0x0,0x3)+'span',_0x1b43f0=_0x561b('0x6b')+_0x3df8ca,_0x2d1411=_0x561b('0x7')+_0x3df8ca;if(!_0x2b9dc2['isInContent'])continue;if(_0x2e63b2!=_0x2b9dc2[_0x561b('0x29')]()[_0x561b('0xd')]['findAncestor'](_0x561b('0x17')))continue;if(_0x2b9dc2[_0x561b('0x79')](_0x1db2a4))continue;const _0x4c7f15=_0x14d4f3['hasAttribute'](_0x2f8e81)?_0x14d4f3[_0x561b('0x27')](_0x2f8e81)-0x1:0x0,_0xc9a2cb=this[_0x561b('0x23')](_0x2b9dc2),_0x64be6f=_0xc9a2cb[_0x1b43f0],_0x12daa2=_0xc9a2cb[_0x2d1411];_0x64be6f<=_0x29ca23[_0x472e69]&&_0x29ca23[_0x472e69]+_0x4c7f15<=_0x12daa2&&(_0x2b9dc2['addRange'](_0x1db2a4),_0x5cbecc=!0x0);}return _0x5cbecc;};_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x2f')](_0xfb2ae=>{let _0x1eb636=!0x1;for(const _0x30beb9 of _0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChanges']())if(_0x561b('0x20')==_0x30beb9['type']){if('tableRow'==_0x30beb9[_0x561b('0x3b')])for(const _0x4031ab of _0x30beb9[_0x561b('0x64')][_0x561b('0x12')]['getChildren']())_0x1eb636=_0x1eb636||_0x2884b1(_0x4031ab,_0xfb2ae);else _0x561b('0x39')==_0x30beb9[_0x561b('0x3b')]&&(_0x1eb636=_0x1eb636||_0x2884b1(_0x30beb9[_0x561b('0x64')][_0x561b('0x12')],_0xfb2ae));}return _0x1eb636;});}[_0x561b('0x23')](_0x3c4d79){return this[_0x561b('0x6d')](_0x3c4d79[_0x561b('0x7e')]()[_0x561b('0x71')](_0x539dba=>_0x539dba['start'][_0x561b('0x12')]));}}function se(_0x596324){return Array['from'](new Set(_0x596324)[_0x561b('0x5e')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bdc=['requires','has','get','plugins','afterInit'];(function(_0x4f82b6,_0x3bdc24){const _0x10f867=function(_0xed9404){while(--_0xed9404){_0x4f82b6['push'](_0x4f82b6['shift']());}};_0x10f867(++_0x3bdc24);}(_0x3bdc,0x1b2));const _0x10f8=function(_0x4f82b6,_0x3bdc24){_0x4f82b6=_0x4f82b6-0x0;let _0x10f867=_0x3bdc[_0x4f82b6];return _0x10f867;};import{Plugin as _0x5164fa}from'ckeditor5/src/core';import _0x2af8db from'./table';export default class At extends _0x5164fa{static get[_0x10f8('0x1')](){return[_0x2af8db];}[_0x10f8('0x0')](){const _0x4afb64=this['editor'];if(!_0x4afb64[_0x10f8('0x4')][_0x10f8('0x2')]('TableCaptionEditing'))return;_0x4afb64[_0x10f8('0x4')][_0x10f8('0x3')]('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}
|