@ckeditor/ckeditor5-track-changes 35.3.1 → 35.3.2

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.
Files changed (101) hide show
  1. package/build/track-changes.js +1 -2
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
  56. package/build/translations/ar.js +0 -1
  57. package/build/translations/az.js +0 -1
  58. package/build/translations/bg.js +0 -1
  59. package/build/translations/bn.js +0 -1
  60. package/build/translations/ca.js +0 -1
  61. package/build/translations/cs.js +0 -1
  62. package/build/translations/da.js +0 -1
  63. package/build/translations/de.js +0 -1
  64. package/build/translations/el.js +0 -1
  65. package/build/translations/en-au.js +0 -1
  66. package/build/translations/es.js +0 -1
  67. package/build/translations/et.js +0 -1
  68. package/build/translations/fi.js +0 -1
  69. package/build/translations/fr.js +0 -1
  70. package/build/translations/gl.js +0 -1
  71. package/build/translations/he.js +0 -1
  72. package/build/translations/hi.js +0 -1
  73. package/build/translations/hr.js +0 -1
  74. package/build/translations/hu.js +0 -1
  75. package/build/translations/id.js +0 -1
  76. package/build/translations/it.js +0 -1
  77. package/build/translations/ja.js +0 -1
  78. package/build/translations/ko.js +0 -1
  79. package/build/translations/lt.js +0 -1
  80. package/build/translations/lv.js +0 -1
  81. package/build/translations/ms.js +0 -1
  82. package/build/translations/nl.js +0 -1
  83. package/build/translations/no.js +0 -1
  84. package/build/translations/pl.js +0 -1
  85. package/build/translations/pt-br.js +0 -1
  86. package/build/translations/pt.js +0 -1
  87. package/build/translations/ro.js +0 -1
  88. package/build/translations/ru.js +0 -1
  89. package/build/translations/sk.js +0 -1
  90. package/build/translations/sr-latn.js +0 -1
  91. package/build/translations/sr.js +0 -1
  92. package/build/translations/sv.js +0 -1
  93. package/build/translations/th.js +0 -1
  94. package/build/translations/tk.js +0 -1
  95. package/build/translations/tr.js +0 -1
  96. package/build/translations/tt.js +0 -1
  97. package/build/translations/uk.js +0 -1
  98. package/build/translations/ur.js +0 -1
  99. package/build/translations/vi.js +0 -1
  100. package/build/translations/zh-cn.js +0 -1
  101. package/build/translations/zh.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4f=['find','locale','getRanges','format','from','commandName','has','style:','change','get','push','*Remove\x20format:*\x20%0','style.definitions','createRangeOn','style','classes','editor','styleName','registerDescriptionCallback','includes','document','model','afterInit','config','selection','toLowerCase','isCollapsed','TrackChangesEditing','markInlineFormat','getAttribute','getDefinitionsForView','_descriptionFactory','getStyleDefinition','getSelectedBlocks','commandParams','name','forceValue','isBlock','DataSchema','block','getRangesWithClasses','plugins','enabledStyles','markBlockFormat','*Format:*\x20%0'];(function(_0x33710e,_0x5d4fad){const _0x11889a=function(_0x100b79){while(--_0x100b79){_0x33710e['push'](_0x33710e['shift']());}};_0x11889a(++_0x5d4fad);}(_0x5d4f,0x13c));const _0x1188=function(_0x33710e,_0x5d4fad){_0x33710e=_0x33710e-0x0;let _0x11889a=_0x5d4f[_0x33710e];return _0x11889a;};import{Plugin as _0x5f82cc}from'ckeditor5/src/core';import{normalizeConfig as _0x2c387d}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x2b2186}from'../utils/common-translations';export default class ut extends _0x5f82cc{[_0x1188('0x15')](){const _0xa8e178=this[_0x1188('0xf')];if(!_0xa8e178[_0x1188('0x28')][_0x1188('0x5')]('Style'))return;const _0x888dac=_0xa8e178['commands'][_0x1188('0x8')](_0x1188('0xd')),_0xb312a6=_0xa8e178[_0x1188('0x28')][_0x1188('0x8')](_0x1188('0x1a')),_0x574b90=_0xa8e178[_0x1188('0x0')],_0x12489f=_0xa8e178[_0x1188('0x28')]['get'](_0x1188('0x25')),_0xfeeb0e=_0x2c387d(_0x12489f,_0xa8e178[_0x1188('0x16')][_0x1188('0x8')](_0x1188('0xb')));_0xb312a6['enableCommand'](_0x1188('0xd'),(_0x52e3cd,{styleName:_0x57714b})=>{const _0x48b081=_0xa8e178[_0x1188('0x14')][_0x1188('0x13')][_0x1188('0x17')],_0xe20ff3=this[_0x1188('0x1f')](_0x57714b,_0xfeeb0e);if(!_0xe20ff3)return;if(!_0x888dac[_0x1188('0x29')]['includes'](_0x57714b))return;if(_0x48b081[_0x1188('0x19')]&&!_0xe20ff3[_0x1188('0x24')])return void _0x52e3cd({'styleName':_0x57714b});const _0x5a4598=!_0x888dac['value'][_0x1188('0x12')](_0xe20ff3[_0x1188('0x22')]);if(_0xe20ff3[_0x1188('0x24')]){const _0x596e30=function(_0x2ecfcc,_0x8d4fa6){const _0x1cf272=new Set();for(const _0x454e78 of _0x2ecfcc){const _0x26feae=_0x454e78['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x581f19 of _0x26feae)if(_0x8d4fa6[_0x1188('0x12')](_0x581f19[_0x1188('0x22')])){_0x1cf272['add'](_0x581f19);break;}}return _0x1cf272;}(_0x48b081[_0x1188('0x20')](),_0xe20ff3['modelElements']);_0xa8e178[_0x1188('0x14')][_0x1188('0x7')](()=>{for(const _0x4018a9 of _0x596e30)_0xb312a6[_0x1188('0x2a')](_0x4018a9,{'commandName':_0x1188('0xd'),'commandParams':[{'styleName':_0x57714b,'forceValue':_0x5a4598}],'formatGroupId':_0x1188('0x6')+_0x57714b});});}else{let _0x5714df=Array[_0x1188('0x3')](_0x48b081[_0x1188('0x1')]());if(!_0x5a4598){const _0x12d5bd=Array[_0x1188('0x3')](_0x12489f[_0x1188('0x1d')](_0xe20ff3['element'],!0x1))[0x0][_0x1188('0x14')],_0x3e0474=[];for(const _0xe638c9 of _0x5714df){const _0x55a4f9=this[_0x1188('0x27')](_0xa8e178[_0x1188('0x14')],_0xe638c9,_0xe20ff3[_0x1188('0xe')],_0x12d5bd);_0x3e0474[_0x1188('0x9')](..._0x55a4f9);}_0x5714df=_0x3e0474;}_0xa8e178[_0x1188('0x14')][_0x1188('0x7')](()=>{for(const _0x3efe5b of _0x5714df)_0xb312a6[_0x1188('0x1b')](_0x3efe5b,{'commandName':_0x1188('0xd'),'commandParams':[{'styleName':_0x57714b,'forceValue':_0x5a4598}]});});}}),_0xb312a6[_0x1188('0x1e')][_0x1188('0x11')](_0x4b5edc=>{const {data:_0x4c1d45}=_0x4b5edc;if(_0x4c1d45&&'style'===_0x4c1d45[_0x1188('0x4')])return _0x4c1d45[_0x1188('0x21')][0x0][_0x1188('0x23')]?{'type':'format','content':_0x2b2186(_0x574b90,_0x1188('0x2b'),_0x4c1d45['commandParams'][0x0][_0x1188('0x10')][_0x1188('0x18')]())}:{'type':_0x1188('0x2'),'content':_0x2b2186(_0x574b90,_0x1188('0xa'),_0x4c1d45[_0x1188('0x21')][0x0][_0x1188('0x10')][_0x1188('0x18')]())};});}[_0x1188('0x1f')](_0x503a4f,_0x1804d0){let _0x3ec084=_0x1804d0[_0x1188('0x26')][_0x1188('0x2c')](_0x8e7e23=>_0x8e7e23['name']===_0x503a4f);return _0x3ec084||(_0x3ec084=_0x1804d0['inline'][_0x1188('0x2c')](_0x487a04=>_0x487a04['name']===_0x503a4f)),_0x3ec084;}[_0x1188('0x27')](_0x4a6d8f,_0x297555,_0x5f0758,_0x512f62){const _0x1a27e7=[];for(const _0x9ce017 of _0x297555['getItems']()){const _0x39ef2b=_0x9ce017[_0x1188('0x1c')](_0x512f62);_0x39ef2b&&(_0x5f0758['every'](_0x24668f=>_0x39ef2b['classes']['includes'](_0x24668f))&&_0x1a27e7[_0x1188('0x9')](_0x4a6d8f[_0x1188('0xc')](_0x9ce017)));}return _0x1a27e7;}}
23
+ const _0x292b=['style:','change','model','plugins','getRanges','getStyleDefinition','forceValue','getSelectedBlocks','createRangeOn','get','push','value','includes','*Remove\x20format:*\x20%0','TrackChangesEditing','markInlineFormat','commandName','styleName','registerDescriptionCallback','find','name','document','DataSchema','config','toLowerCase','from','editor','isBlock','format','element','getItems','getDefinitionsForView','classes','*Format:*\x20%0','selection','_descriptionFactory','add','commandParams','Style','inline','getAttribute','enableCommand','isCollapsed','style','block','commands','enabledStyles','markBlockFormat'];(function(_0x223f58,_0x292bab){const _0x2a9d60=function(_0x11f5ec){while(--_0x11f5ec){_0x223f58['push'](_0x223f58['shift']());}};_0x2a9d60(++_0x292bab);}(_0x292b,0xf3));const _0x2a9d=function(_0x223f58,_0x292bab){_0x223f58=_0x223f58-0x0;let _0x2a9d60=_0x292b[_0x223f58];return _0x2a9d60;};import{Plugin as _0xd214eb}from'ckeditor5/src/core';import{normalizeConfig as _0x301a63}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x11b322}from'../utils/common-translations';export default class ut extends _0xd214eb{['afterInit'](){const _0x358444=this[_0x2a9d('0x17')];if(!_0x358444[_0x2a9d('0x0')]['has'](_0x2a9d('0x23')))return;const _0x1e4ee1=_0x358444[_0x2a9d('0x2a')][_0x2a9d('0x6')](_0x2a9d('0x28')),_0x1e0d54=_0x358444[_0x2a9d('0x0')][_0x2a9d('0x6')](_0x2a9d('0xb')),_0x1cd76a=_0x358444['locale'],_0x2eb8cd=_0x358444[_0x2a9d('0x0')]['get'](_0x2a9d('0x13')),_0x3fddb5=_0x301a63(_0x2eb8cd,_0x358444[_0x2a9d('0x14')]['get']('style.definitions'));_0x1e0d54[_0x2a9d('0x26')](_0x2a9d('0x28'),(_0x113bcb,{styleName:_0x4baf94})=>{const _0x58be2f=_0x358444[_0x2a9d('0x2f')][_0x2a9d('0x12')][_0x2a9d('0x1f')],_0x20c55e=this[_0x2a9d('0x2')](_0x4baf94,_0x3fddb5);if(!_0x20c55e)return;if(!_0x1e4ee1[_0x2a9d('0x2b')][_0x2a9d('0x9')](_0x4baf94))return;if(_0x58be2f[_0x2a9d('0x27')]&&!_0x20c55e[_0x2a9d('0x18')])return void _0x113bcb({'styleName':_0x4baf94});const _0x506eb4=!_0x1e4ee1[_0x2a9d('0x8')][_0x2a9d('0x9')](_0x20c55e[_0x2a9d('0x11')]);if(_0x20c55e[_0x2a9d('0x18')]){const _0x5cca67=function(_0x2db124,_0x3f46d7){const _0x5cd1b4=new Set();for(const _0xb02ae7 of _0x2db124){const _0x4681d6=_0xb02ae7['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xe407b3 of _0x4681d6)if(_0x3f46d7[_0x2a9d('0x9')](_0xe407b3[_0x2a9d('0x11')])){_0x5cd1b4[_0x2a9d('0x21')](_0xe407b3);break;}}return _0x5cd1b4;}(_0x58be2f[_0x2a9d('0x4')](),_0x20c55e['modelElements']);_0x358444[_0x2a9d('0x2f')][_0x2a9d('0x2e')](()=>{for(const _0x1ff5be of _0x5cca67)_0x1e0d54[_0x2a9d('0x2c')](_0x1ff5be,{'commandName':_0x2a9d('0x28'),'commandParams':[{'styleName':_0x4baf94,'forceValue':_0x506eb4}],'formatGroupId':_0x2a9d('0x2d')+_0x4baf94});});}else{let _0x435bd1=Array[_0x2a9d('0x16')](_0x58be2f[_0x2a9d('0x1')]());if(!_0x506eb4){const _0x160b56=Array[_0x2a9d('0x16')](_0x2eb8cd[_0x2a9d('0x1c')](_0x20c55e[_0x2a9d('0x1a')],!0x1))[0x0][_0x2a9d('0x2f')],_0xe915d0=[];for(const _0x5b7f4a of _0x435bd1){const _0x4a3b31=this['getRangesWithClasses'](_0x358444[_0x2a9d('0x2f')],_0x5b7f4a,_0x20c55e[_0x2a9d('0x1d')],_0x160b56);_0xe915d0['push'](..._0x4a3b31);}_0x435bd1=_0xe915d0;}_0x358444[_0x2a9d('0x2f')][_0x2a9d('0x2e')](()=>{for(const _0x3caf53 of _0x435bd1)_0x1e0d54[_0x2a9d('0xc')](_0x3caf53,{'commandName':_0x2a9d('0x28'),'commandParams':[{'styleName':_0x4baf94,'forceValue':_0x506eb4}]});});}}),_0x1e0d54[_0x2a9d('0x20')][_0x2a9d('0xf')](_0xefbc0a=>{const {data:_0x1608b7}=_0xefbc0a;if(_0x1608b7&&_0x2a9d('0x28')===_0x1608b7[_0x2a9d('0xd')])return _0x1608b7[_0x2a9d('0x22')][0x0][_0x2a9d('0x3')]?{'type':_0x2a9d('0x19'),'content':_0x11b322(_0x1cd76a,_0x2a9d('0x1e'),_0x1608b7['commandParams'][0x0][_0x2a9d('0xe')][_0x2a9d('0x15')]())}:{'type':_0x2a9d('0x19'),'content':_0x11b322(_0x1cd76a,_0x2a9d('0xa'),_0x1608b7[_0x2a9d('0x22')][0x0][_0x2a9d('0xe')]['toLowerCase']())};});}['getStyleDefinition'](_0x5ee351,_0x3975d2){let _0x192d10=_0x3975d2[_0x2a9d('0x29')][_0x2a9d('0x10')](_0x5175e9=>_0x5175e9[_0x2a9d('0x11')]===_0x5ee351);return _0x192d10||(_0x192d10=_0x3975d2[_0x2a9d('0x24')][_0x2a9d('0x10')](_0x1e8811=>_0x1e8811[_0x2a9d('0x11')]===_0x5ee351)),_0x192d10;}['getRangesWithClasses'](_0x47f46a,_0x273a8d,_0x1c42c0,_0x39dd16){const _0x4ef32a=[];for(const _0x2bf8f7 of _0x273a8d[_0x2a9d('0x1b')]()){const _0x309ea9=_0x2bf8f7[_0x2a9d('0x25')](_0x39dd16);_0x309ea9&&(_0x1c42c0['every'](_0x1a952d=>_0x309ea9[_0x2a9d('0x1d')]['includes'](_0x1a952d))&&_0x4ef32a[_0x2a9d('0x7')](_0x47f46a[_0x2a9d('0x5')](_0x2bf8f7)));}return _0x4ef32a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aa9=['nodeAfter','fromRange','_setupColumnsRowsFixing','getChangedMarkers','setSelection','type','registerDescriptionCallback','tableColumn','isIntersectingWithRange','getCellLocation','data','deletion','afterInit','minRow','detach','downcastDispatcher','root','plugins','addMarker:suggestion','TrackChangesEditing','*Insert:*\x20%0','isEqual','insertTable','document','last','maxColumn','includes','TableEditing','left','span','writer','table','ELEMENT_TABLE_COLUMN_WITH_TEXT','removeTableColumn','some','getSelectionAffectedTableCells','_getCoordsForCells','subType','get','discard','element','from','getSuggestion','locale','minColumn','insertTableColumnLeft','batch','insertion','map','execute','above','hasAttribute','$graveyard','TableUtils','createPositionAt','editor','rowspan','getChanges','mapper','isInContent','item','ELEMENT_TABLE','insert','model','getRowIndexes','getItems','position','nodeBefore','classes','tableRow','getColumnIndexes','length','insertTableRowBelow','commands','end','getFirstRange','_tableSuggestions','ELEMENT_TABLE_ROW','registerCustomCallback','change','startsWith','differ','refresh','createRangeIn','createTableWalker','textProxy','toLowerCase','getChildren','ELEMENT_TABLE_WITH_TEXT','MAX_SAFE_INTEGER','removeTableRow','push','name','_tablePostFixingSubtypes','highest','add','enqueueChange','addRange','addClass','start','order','markMultiRangeInsertion','_acceptFormatSuggestionCallbackFactory','getContainedElement','substr','colspan','accept','min','tableCell','registerElementLabel','_suggestionFactory','findAncestor','*Remove:*\x20%0','_descriptionFactory','selectTableColumn','markMultiRangeDeletion','_getSuggestionCoords','enableCommand','ELEMENT_TABLE_COLUMN','filter','first','max','options','toViewElement','rootName','_splitMarkerName','cell','showSuggestionHighlights','getAttribute','getRanges','insertTableRowAbove','MIN_SAFE_INTEGER','low','maxRow','createRangeOn','join','insertTableColumnRight'];(function(_0x17dbfe,_0x3aa9c1){const _0x3f3ec2=function(_0x5d1229){while(--_0x5d1229){_0x17dbfe['push'](_0x17dbfe['shift']());}};_0x3f3ec2(++_0x3aa9c1);}(_0x3aa9,0xc8));const _0x3f3e=function(_0x17dbfe,_0x3aa9c1){_0x17dbfe=_0x17dbfe-0x0;let _0x3f3ec2=_0x3aa9[_0x17dbfe];return _0x3f3ec2;};import{Plugin as _0x3c99ea}from'ckeditor5/src/core';import{LiveRange as _0x173c35}from'ckeditor5/src/engine';import{setHighlightHandling as _0x6ae0f7}from'ckeditor5/src/widget';import{getTranslation as _0x2ce532}from'../utils/common-translations';export default class ft extends _0x3c99ea{constructor(_0x585709){super(_0x585709),this[_0x3f3e('0x1e')]=[_0x3f3e('0x6'),_0x3f3e('0x51')];}[_0x3f3e('0x56')](){const _0x70d02c=this[_0x3f3e('0x81')],_0x2f3a6d=_0x70d02c['model'][_0x3f3e('0x61')]['selection'];if(!_0x70d02c[_0x3f3e('0x5b')]['has'](_0x3f3e('0x65')))return;const _0x5ddf85=_0x70d02c[_0x3f3e('0x75')],_0x28e424=_0x70d02c[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x5d')),_0x48b49f=_0x70d02c[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));_0x28e424[_0x3f3e('0x32')][_0x3f3e('0x2e')](_0x3f3e('0x69'),_0x2fa18a=>_0x2ce532(_0x5ddf85,_0x3f3e('0x87'),_0x2fa18a)),this[_0x3f3e('0x4c')](),_0x28e424['enableCommand'](_0x3f3e('0x60')),_0x28e424[_0x3f3e('0x36')]('selectTableRow'),_0x28e424[_0x3f3e('0x36')](_0x3f3e('0x33'));for(const _0x351bb2 of[_0x3f3e('0x43'),_0x3f3e('0x9')]){const _0x3c5466=_0x70d02c['commands']['get'](_0x351bb2);_0x28e424[_0x3f3e('0x36')](_0x351bb2,_0x525e8e=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x27aec1=>{_0x525e8e();const _0x3e325a=_0x3f3e('0x7c')===_0x3c5466[_0x3f3e('0x25')],_0x48636b=_0x48b49f[_0x3f3e('0x6d')](_0x2f3a6d),_0x5e02bf=_0x48b49f[_0x3f3e('0x1')](_0x48636b),_0x2615a6=_0x3e325a?_0x5e02bf['first']-0x1:_0x5e02bf[_0x3f3e('0x62')]+0x1,_0x5049fa=_0x48636b[0x0][_0x3f3e('0x30')](_0x3f3e('0x69')),_0x22f95a=_0x48b49f[_0x3f3e('0x15')](_0x5049fa,{'startRow':_0x2615a6,'endRow':_0x2615a6}),_0x27db20=Array['from'](_0x22f95a)[_0x3f3e('0x7a')](_0x22a541=>_0x27aec1['createRangeOn'](_0x22a541[_0x3f3e('0x3f')]));_0x28e424['markMultiRangeInsertion'](_0x27db20,'tableRow');});});}for(const _0x1884d1 of[_0x3f3e('0x77'),_0x3f3e('0x49')]){const _0x43092e=_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x1884d1);_0x28e424['enableCommand'](_0x1884d1,_0x1a5a89=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x1d165d=>{_0x1a5a89();const _0x40f994=_0x3f3e('0x66')===_0x43092e[_0x3f3e('0x25')],_0x5024e4=_0x48b49f[_0x3f3e('0x6d')](_0x2f3a6d),_0x439ac4=_0x48b49f[_0x3f3e('0x7')](_0x5024e4),_0x136f6f=_0x40f994?_0x439ac4[_0x3f3e('0x39')]-0x1:_0x439ac4['last']+0x1,_0x6ca8d=_0x5024e4[0x0]['findAncestor']('table'),_0x149f31=_0x48b49f[_0x3f3e('0x15')](_0x6ca8d,{'startRow':0x0,'column':_0x136f6f,'includeAllSlots':!0x1}),_0x1dc831=Array[_0x3f3e('0x73')](_0x149f31)['map'](_0x5c413d=>_0x1d165d[_0x3f3e('0x47')](_0x5c413d['cell']));_0x28e424[_0x3f3e('0x26')](_0x1dc831,'tableColumn');});});}for(const _0x150cd4 of['removeTableRow','removeTableColumn']){const _0x115d42=_0x150cd4[_0x3f3e('0x29')](0xb),_0x1071b0=_0x115d42['toLowerCase'](),_0x2fc61e=_0x1071b0[_0x3f3e('0x29')](0x0,0x3)+_0x3f3e('0x67'),_0x650f3d=_0x3f3e('0x69')+_0x115d42,_0x4a02d6=_0x3f3e('0x2c')+_0x115d42,_0x46c6d4=_0x3f3e('0x3a')+_0x115d42;_0x28e424['enableCommand'](_0x150cd4,()=>{_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x2b1375=>{const _0x1121a4=_0x48b49f['getSelectionAffectedTableCells'](_0x2f3a6d),_0x38b0e6=_0x1121a4[0x0][_0x3f3e('0x30')](_0x3f3e('0x69'));let _0x27d519;if(_0x3f3e('0x1b')==_0x150cd4){const _0x52678e=_0x48b49f[_0x3f3e('0x1')](_0x1121a4);_0x27d519={'startRow':_0x52678e['first'],'endRow':_0x52678e[_0x3f3e('0x62')],'includeAllSlots':!0x0};}else{const _0x1b2443=_0x48b49f[_0x3f3e('0x7')](_0x1121a4);_0x27d519={'startColumn':_0x1b2443[_0x3f3e('0x39')],'endColumn':_0x1b2443['last'],'includeAllSlots':!0x0};}const _0x1d8a3e=_0x48b49f[_0x3f3e('0x15')](_0x38b0e6,_0x27d519),_0x365658=Array[_0x3f3e('0x73')](_0x1d8a3e)[_0x3f3e('0x7a')](({cell:_0x11dbbd})=>_0x11dbbd),_0x43529a=oe(_0x365658['filter'](_0x5b713b=>_0x5b713b[_0x3f3e('0x7d')](_0x2fc61e))),_0x5df89b=oe(_0x365658[_0x3f3e('0x38')](_0x516d94=>!_0x516d94[_0x3f3e('0x7d')](_0x2fc61e)))[_0x3f3e('0x7a')](_0x12c53e=>_0x2b1375[_0x3f3e('0x47')](_0x12c53e)),_0x2c4865=_0x28e424[_0x3f3e('0x34')](_0x5df89b,_0x650f3d);if(_0x2c4865&&(_0x3f3e('0x6')==_0x2c4865['subType']||_0x3f3e('0x51')==_0x2c4865[_0x3f3e('0x6f')])){const _0x160add=this[_0x3f3e('0x35')](_0x2c4865);for(const _0x2f0b4a of _0x43529a){const _0x5e1395=_0x2b1375[_0x3f3e('0x47')](_0x2f0b4a),_0x140332=_0x48b49f['getCellLocation'](_0x2f0b4a),_0xc32575=_0x2f0b4a[_0x3f3e('0x41')](_0x2fc61e)-0x1,_0xf27c38=_0x160add[_0x4a02d6],_0x340faf=_0x160add[_0x46c6d4];_0xf27c38<=_0x140332[_0x1071b0]&&_0x140332[_0x1071b0]+_0xc32575<=_0x340faf&&_0x2c4865[_0x3f3e('0x22')](_0x5e1395);}}});});}function _0x13a96b(_0x1c9658){const _0x454857=Array[_0x3f3e('0x73')](_0x2f3a6d[_0x3f3e('0x42')]())[_0x3f3e('0x7a')](_0x471b9e=>_0x173c35['fromRange'](_0x471b9e));_0x70d02c['model'][_0x3f3e('0x10')](_0x20f953=>{const _0x3dae41=_0x20f953[_0x3f3e('0x78')];_0x1c9658=_0x1c9658[_0x3f3e('0x38')](_0x4ae64e=>'$graveyard'!=_0x4ae64e[_0x3f3e('0x5a')]['rootName']),_0x20f953[_0x3f3e('0x4e')](_0x1c9658),_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')]('removeTableRow')[_0x3f3e('0x13')](),_0x70d02c[_0x3f3e('0x7b')](_0x3f3e('0x1b'),{'forceDefaultExecution':!0x0}),_0x70d02c[_0x3f3e('0x0')]['enqueueChange'](()=>{_0x70d02c['model'][_0x3f3e('0x21')](_0x3dae41,_0x1ee2e2=>{const _0xecf0a0=_0x454857[_0x3f3e('0x38')](_0x29206c=>'$graveyard'!=_0x29206c['root']['rootName']);_0xecf0a0[_0x3f3e('0x8')]>0x0&&_0x1ee2e2[_0x3f3e('0x4e')](_0xecf0a0);for(const _0xd97c97 of _0x454857)_0xd97c97[_0x3f3e('0x58')]();});});});}function _0x4ec45a(_0x181502){_0x70d02c[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x3d4438=>{const _0x1598e2=Array['from'](_0x2f3a6d['getRanges']())[_0x3f3e('0x7a')](_0x28f28e=>_0x173c35['fromRange'](_0x28f28e)),_0x47f38=[];for(const _0xaeeba6 of _0x181502)for(const _0x232688 of _0xaeeba6[_0x3f3e('0x2')]({'shallow':!0x0}))_0x47f38[_0x3f3e('0x1c')](_0x232688);for(const _0x2b608e of _0x47f38)_0x3f3e('0x7e')!=_0x2b608e['root'][_0x3f3e('0x3d')]&&(_0x3d4438['setSelection'](_0x3d4438[_0x3f3e('0x80')](_0x2b608e,0x0)),_0x70d02c[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x3f3e('0x6b'))['refresh'](),_0x70d02c[_0x3f3e('0x7b')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x21b2f1=_0x1598e2[_0x3f3e('0x38')](_0x1d6364=>_0x3f3e('0x7e')!=_0x1d6364[_0x3f3e('0x5a')]['rootName']);_0x21b2f1['length']>0x0&&_0x3d4438['setSelection'](_0x21b2f1);for(const _0x8886ef of _0x1598e2)_0x8886ef[_0x3f3e('0x58')]();});}function _0x384969(_0x228957,_0x35e51b){return _0x35e51b['every'](_0x5c6552=>_0x228957['some'](_0x14fbe5=>_0x14fbe5[_0x3f3e('0xb')][_0x3f3e('0x5f')](_0x5c6552[_0x3f3e('0x24')])||_0x5c6552[_0x3f3e('0xb')][_0x3f3e('0x5f')](_0x14fbe5[_0x3f3e('0x24')])));}function _0x3acd1c(_0x491726,_0x13489e){return _0x491726[_0x3f3e('0x6c')](_0x28247b=>_0x13489e[_0x3f3e('0x6c')](_0x22b6c3=>_0x28247b['end']['isTouching'](_0x22b6c3[_0x3f3e('0x24')])));}_0x70d02c[_0x3f3e('0x54')][_0x3f3e('0x59')]['on'](_0x3f3e('0x5c'),(_0x5f3354,_0x4e10cb,_0x4313fc)=>{if(!_0x4313fc[_0x3f3e('0x3b')][_0x3f3e('0x40')])return;const _0x215d83=_0x4e10cb[_0x3f3e('0x86')];if(!_0x215d83)return;const _0x3853a4=_0x4313fc[_0x3f3e('0x84')][_0x3f3e('0x3c')](_0x215d83);function _0x13ac93(_0x324bb1){return Array['isArray'](_0x324bb1)?_0x324bb1:[_0x324bb1];}_0x3853a4&&_0x3f3e('0x2d')===_0x215d83['name']&&_0x6ae0f7(_0x3853a4,_0x4313fc[_0x3f3e('0x68')],(_0x5a83d8,_0x38a041,_0x77dc66)=>_0x77dc66[_0x3f3e('0x23')](_0x13ac93(_0x38a041['classes']),_0x5a83d8),(_0x224fdf,_0x582c48,_0x7725d)=>_0x7725d['removeClass'](_0x13ac93(_0x582c48[_0x3f3e('0x5')]),_0x224fdf));},{'priority':_0x3f3e('0x1f')}),_0x28e424[_0x3f3e('0x32')]['registerDescriptionCallback'](_0xb18d54=>{if(_0x3f3e('0x79')!=_0xb18d54['type']&&'deletion'!=_0xb18d54[_0x3f3e('0x4f')])return;const _0x553767=_0xb18d54[_0x3f3e('0x28')]();if(null!=_0x553767&&_0x553767['is'](_0x3f3e('0x72'),_0x3f3e('0x69'))){if(_0x3f3e('0x79')==_0xb18d54['type']){const _0x3f57da=_0xb18d54[_0x3f3e('0x2')]()[_0x3f3e('0x38')](_0x16fd71=>_0x16fd71['is'](_0x3f3e('0x16')))['map'](_0x142498=>_0x142498[_0x3f3e('0x54')]);if(_0x3f57da['length'])return{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,_0x3f3e('0x19'),'\x22'+_0x3f57da[_0x3f3e('0x48')]('\x20')+'\x22'))};}if(_0x3f3e('0x55')==_0xb18d54[_0x3f3e('0x4f')]){const _0x23f475=_0xb18d54['getItems']()[_0x3f3e('0x38')](_0x1ffe1e=>_0x1ffe1e['is']('textProxy'))[_0x3f3e('0x7a')](_0x5a11fa=>_0x5a11fa[_0x3f3e('0x54')]);if(_0x23f475[_0x3f3e('0x8')])return{'type':'deletion','content':_0x2ce532(_0x5ddf85,'*Remove:*\x20%0',_0x2ce532(_0x5ddf85,_0x3f3e('0x19'),'\x22'+_0x23f475[_0x3f3e('0x48')]('\x20')+'\x22'))};}}}),_0x28e424[_0x3f3e('0x32')][_0x3f3e('0x50')](_0x5d83a1=>{if(_0x3f3e('0x6')==_0x5d83a1[_0x3f3e('0x6f')]){const _0x259a6a=_0x5d83a1[_0x3f3e('0x2')]()['filter'](_0x4d7e2e=>_0x4d7e2e['is'](_0x3f3e('0x16')))['map'](_0x39b4a9=>_0x39b4a9['data']),_0x4a3693=this['_getSuggestionCoords'](_0x5d83a1),_0x2fa08f=_0x4a3693[_0x3f3e('0x46')]-_0x4a3693[_0x3f3e('0x57')]+0x1;if(_0x3f3e('0x79')==_0x5d83a1[_0x3f3e('0x4f')])return _0x259a6a['length']?{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,'*Insert:*\x20%0',_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2fa08f,'\x22'+_0x259a6a[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,'*Insert:*\x20%0',_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW',_0x2fa08f))};if(_0x3f3e('0x55')==_0x5d83a1[_0x3f3e('0x4f')])return _0x259a6a[_0x3f3e('0x8')]?{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2fa08f,'\x22'+_0x259a6a[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0xe'),_0x2fa08f))};}if(_0x3f3e('0x51')==_0x5d83a1[_0x3f3e('0x6f')]){const _0x4142ad=_0x5d83a1[_0x3f3e('0x2')]()[_0x3f3e('0x38')](_0x113bc2=>_0x113bc2['is'](_0x3f3e('0x16')))[_0x3f3e('0x7a')](_0x5ae2a3=>_0x5ae2a3['data']),_0x2fa4c3=this[_0x3f3e('0x35')](_0x5d83a1),_0x27634f=_0x2fa4c3[_0x3f3e('0x63')]-_0x2fa4c3[_0x3f3e('0x76')]+0x1;if('insertion'==_0x5d83a1[_0x3f3e('0x4f')])return _0x4142ad[_0x3f3e('0x8')]?{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,_0x3f3e('0x6a'),[_0x27634f,'\x22'+_0x4142ad['join']('\x20')+'\x22']))}:{'type':_0x3f3e('0x79'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x5e'),_0x2ce532(_0x5ddf85,'ELEMENT_TABLE_COLUMN',_0x27634f))};if(_0x3f3e('0x55')==_0x5d83a1[_0x3f3e('0x4f')])return _0x4142ad[_0x3f3e('0x8')]?{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0x6a'),[_0x27634f,'\x22'+_0x4142ad[_0x3f3e('0x48')]('\x20')+'\x22']))}:{'type':_0x3f3e('0x55'),'content':_0x2ce532(_0x5ddf85,_0x3f3e('0x31'),_0x2ce532(_0x5ddf85,_0x3f3e('0x37'),_0x27634f))};}}),_0x28e424[_0x3f3e('0x2f')][_0x3f3e('0xf')](_0x3f3e('0x79'),'tableRow',_0x3f3e('0x71'),_0x13a96b),_0x28e424[_0x3f3e('0x2f')][_0x3f3e('0xf')]('deletion',_0x3f3e('0x6'),_0x3f3e('0x2b'),_0x13a96b),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')]('insertion',_0x3f3e('0x51'),_0x3f3e('0x71'),_0x4ec45a),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')](_0x3f3e('0x55'),'tableColumn',_0x3f3e('0x2b'),_0x4ec45a),_0x28e424[_0x3f3e('0x2f')]['registerCustomCallback'](_0x3f3e('0x79'),'tableColumn',_0x3f3e('0x48'),_0x384969),_0x28e424['_suggestionFactory']['registerCustomCallback'](_0x3f3e('0x55'),_0x3f3e('0x51'),'join',_0x384969),_0x28e424['_suggestionFactory']['registerCustomCallback']('insertion','tableRow',_0x3f3e('0x48'),_0x3acd1c),_0x28e424['_suggestionFactory'][_0x3f3e('0xf')](_0x3f3e('0x55'),_0x3f3e('0x6'),_0x3f3e('0x48'),_0x3acd1c);}[_0x3f3e('0x27')](){const _0x123c94=this[_0x3f3e('0x81')],_0x3e8167=_0x123c94[_0x3f3e('0x0')]['document']['selection'];return(_0x116122,_0x3d872d)=>{_0x123c94[_0x3f3e('0x0')][_0x3f3e('0x10')](_0x3da5d7=>{const {commandName:_0x298b7d,commandParams:_0x5f357f}=_0x3d872d;let _0x47de8b=_0x116122[0x0][_0x3f3e('0xb')][_0x3f3e('0x4')];_0x5f357f&&_0x5f357f[0x0]&&!0x1===_0x5f357f[0x0]['forceValue']&&(_0x47de8b=_0x116122[0x0]['start'][_0x3f3e('0x4a')]);const _0x151b50=_0x3da5d7[_0x3f3e('0x14')](_0x47de8b);if('$graveyard'==_0x151b50[_0x3f3e('0x5a')][_0x3f3e('0x3d')])return;const _0x9d170a=Array['from'](_0x3e8167[_0x3f3e('0x42')]())[_0x3f3e('0x7a')](_0x591385=>_0x173c35[_0x3f3e('0x4b')](_0x591385));_0x3da5d7[_0x3f3e('0x4e')](_0x151b50),_0x123c94[_0x3f3e('0xa')][_0x3f3e('0x70')](_0x298b7d)[_0x3f3e('0x13')](),_0x5f357f[_0x3f3e('0x1c')]({'forceDefaultExecution':!0x0}),_0x123c94[_0x3f3e('0x7b')](_0x298b7d,..._0x5f357f);const _0x3b39ff=_0x9d170a[_0x3f3e('0x38')](_0x1b01cc=>_0x3f3e('0x7e')!=_0x1b01cc[_0x3f3e('0x5a')]['rootName']);_0x3b39ff[_0x3f3e('0x8')]>0x0&&_0x3da5d7[_0x3f3e('0x4e')](_0x3b39ff);for(const _0x284567 of _0x9d170a)_0x284567['detach']();});};}[_0x3f3e('0x6e')](_0x502908){const _0x52766a=this['editor'][_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));let _0x2dd73d=Number[_0x3f3e('0x1a')],_0x4f5bfe=Number[_0x3f3e('0x44')],_0x548ec3=Number['MAX_SAFE_INTEGER'],_0x1c0ebc=Number[_0x3f3e('0x44')];for(const _0x45ce3b of _0x502908){if(_0x3f3e('0x7e')==_0x45ce3b[_0x3f3e('0x5a')][_0x3f3e('0x3d')])continue;const {row:_0x54a41a,column:_0x319b21}=_0x52766a[_0x3f3e('0x53')](_0x45ce3b),_0x54235d=_0x45ce3b[_0x3f3e('0x7d')](_0x3f3e('0x82'))?_0x45ce3b['getAttribute'](_0x3f3e('0x82'))-0x1:0x0,_0x50412f=_0x45ce3b[_0x3f3e('0x7d')](_0x3f3e('0x2a'))?_0x45ce3b[_0x3f3e('0x41')](_0x3f3e('0x2a'))-0x1:0x0;_0x2dd73d=_0x54a41a<_0x2dd73d?_0x54a41a:_0x2dd73d,_0x4f5bfe=_0x54a41a+_0x54235d>_0x4f5bfe?_0x54a41a+_0x54235d:_0x4f5bfe,_0x548ec3=_0x319b21<_0x548ec3?_0x319b21:_0x548ec3,_0x1c0ebc=_0x319b21+_0x50412f>_0x1c0ebc?_0x319b21+_0x50412f:_0x1c0ebc;}return{'minRow':_0x2dd73d,'maxRow':_0x4f5bfe,'minColumn':_0x548ec3,'maxColumn':_0x1c0ebc};}['_setupColumnsRowsFixing'](){const _0xc5e428=this['editor'],_0x1226b1=_0xc5e428['plugins'][_0x3f3e('0x70')](_0x3f3e('0x5d')),_0x26a90b=_0xc5e428[_0x3f3e('0x5b')][_0x3f3e('0x70')](_0x3f3e('0x7f'));this[_0x3f3e('0xd')]=new Set(),_0xc5e428['model']['document']['on']('change:data',()=>{const _0x4292ab=Array[_0x3f3e('0x73')](_0xc5e428[_0x3f3e('0x0')][_0x3f3e('0x61')][_0x3f3e('0x12')][_0x3f3e('0x4d')]());for(const {name:_0x40f829,data:_0x5838d6}of _0x4292ab){const {group:_0x432d28,id:_0xbb5f2a,subType:_0x2b7e93}=_0x1226b1[_0x3f3e('0x3e')](_0x40f829);if('suggestion'!=_0x432d28)continue;if(null!=_0x5838d6['oldRange'])continue;const _0x577da4=_0x1226b1[_0x3f3e('0x74')](_0xbb5f2a);this[_0x3f3e('0x1e')][_0x3f3e('0x64')](_0x2b7e93)&&this[_0x3f3e('0xd')][_0x3f3e('0x20')](_0x577da4);}},{'priority':_0x3f3e('0x45')});const _0x52db95=(_0x400b55,_0x1641e4)=>{let _0x2852d6=!0x1;const _0x323a08=_0x1641e4[_0x3f3e('0x47')](_0x400b55),_0x41b8a7=_0x400b55[_0x3f3e('0x30')](_0x3f3e('0x69')),_0x285bbe=_0x26a90b[_0x3f3e('0x53')](_0x400b55);for(const _0x45764a of this[_0x3f3e('0xd')]){const _0x1fc23a=_0x45764a[_0x3f3e('0x6f')],_0x57e8d6=_0x1fc23a[_0x3f3e('0x11')]('tablePaste'),_0x105aa1=_0x1fc23a['substr'](_0x57e8d6?0xa:0x5),_0x53ed40=_0x105aa1[_0x3f3e('0x17')](),_0x4bd829=_0x53ed40[_0x3f3e('0x29')](0x0,0x3)+'span',_0x2e7281='min'+_0x105aa1,_0x2597ce=_0x3f3e('0x3a')+_0x105aa1;if(!_0x45764a[_0x3f3e('0x85')])continue;if(_0x41b8a7!=_0x45764a[_0x3f3e('0xc')]()[_0x3f3e('0x24')]['findAncestor'](_0x3f3e('0x69')))continue;if(_0x45764a[_0x3f3e('0x52')](_0x323a08))continue;const _0x33ad26=_0x400b55[_0x3f3e('0x7d')](_0x4bd829)?_0x400b55[_0x3f3e('0x41')](_0x4bd829)-0x1:0x0,_0x4124df=this[_0x3f3e('0x35')](_0x45764a),_0x24e606=_0x4124df[_0x2e7281],_0x287e53=_0x4124df[_0x2597ce];_0x24e606<=_0x285bbe[_0x53ed40]&&_0x285bbe[_0x53ed40]+_0x33ad26<=_0x287e53&&(_0x45764a[_0x3f3e('0x22')](_0x323a08),_0x2852d6=!0x0);}return _0x2852d6;};_0xc5e428['model'][_0x3f3e('0x61')]['registerPostFixer'](_0x59deba=>{let _0x4944d1=!0x1;for(const _0x349411 of _0xc5e428[_0x3f3e('0x0')][_0x3f3e('0x61')][_0x3f3e('0x12')][_0x3f3e('0x83')]())if(_0x3f3e('0x88')==_0x349411[_0x3f3e('0x4f')]){if(_0x3f3e('0x6')==_0x349411[_0x3f3e('0x1d')])for(const _0x1e8396 of _0x349411['position'][_0x3f3e('0x4a')][_0x3f3e('0x18')]())_0x4944d1=_0x4944d1||_0x52db95(_0x1e8396,_0x59deba);else _0x3f3e('0x2d')==_0x349411['name']&&(_0x4944d1=_0x4944d1||_0x52db95(_0x349411[_0x3f3e('0x3')][_0x3f3e('0x4a')],_0x59deba));}return _0x4944d1;});}['_getSuggestionCoords'](_0x2fa648){return this[_0x3f3e('0x6e')](_0x2fa648[_0x3f3e('0x42')]()['map'](_0x547807=>_0x547807[_0x3f3e('0x24')]['nodeAfter']));}}function oe(_0x12d69e){return Array[_0x3f3e('0x73')](new Set(_0x12d69e)['values']());}
23
+ const _0x5864=['showSuggestionHighlights','getRanges','_acceptFormatSuggestionCallbackFactory','min','selectTableColumn','insertion','afterInit','insertTableRowBelow','registerCustomCallback','getItems','getColumnIndexes','commands','root','end','join','createRangeOn','data','tableCell','rowspan','$graveyard','element','MIN_SAFE_INTEGER','enableCommand','selection','insertTableColumnRight','*Remove:*\x20%0','nodeBefore','name','batch','ELEMENT_TABLE_WITH_TEXT','createTableWalker','execute','createPositionAt','addMarker:suggestion','maxRow','length','cell','ELEMENT_TABLE_ROW_WITH_TEXT','getContainedElement','deletion','getAttribute','change:data','ELEMENT_TABLE_COLUMN_WITH_TEXT','first','markMultiRangeInsertion','classes','getRowIndexes','getChangedMarkers','tableRow','accept','plugins','type','selectTableRow','get','registerPostFixer','values','_splitMarkerName','toLowerCase','removeTableColumn','start','insertTableRowAbove','options','getChanges','addRange','position','textProxy','discard','isIntersectingWithRange','TableEditing','insertTableColumnLeft','isArray','_getSuggestionCoords','ELEMENT_TABLE_ROW','_suggestionFactory','createRangeIn','above','model','colspan','fromRange','max','_setupColumnsRowsFixing','insert','findAncestor','oldRange','from','getSelectionAffectedTableCells','substr','markMultiRangeDeletion','differ','has','rootName','maxColumn','nodeAfter','ELEMENT_TABLE_COLUMN','some','change','locale','table','forceValue','addClass','getCellLocation','isInContent','_tableSuggestions','suggestion','MAX_SAFE_INTEGER','setSelection','add','_descriptionFactory','filter','writer','subType','order','detach','includes','refresh','toViewElement','removeTableRow','isEqual','enqueueChange','getChildren','_getCoordsForCells','last','map','TrackChangesEditing','_tablePostFixingSubtypes','*Insert:*\x20%0','editor','highest','span','minColumn','hasAttribute','minRow','getSuggestion','document','tableColumn','left','removeClass'];(function(_0x20a10e,_0x5864d7){const _0x51223a=function(_0xa908d8){while(--_0xa908d8){_0x20a10e['push'](_0x20a10e['shift']());}};_0x51223a(++_0x5864d7);}(_0x5864,0xed));const _0x5122=function(_0x20a10e,_0x5864d7){_0x20a10e=_0x20a10e-0x0;let _0x51223a=_0x5864[_0x20a10e];return _0x51223a;};import{Plugin as _0x208c04}from'ckeditor5/src/core';import{LiveRange as _0x2f294c}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3ca9e5}from'ckeditor5/src/widget';import{getTranslation as _0x5a6c0f}from'../utils/common-translations';export default class ft extends _0x208c04{constructor(_0xa5de45){super(_0xa5de45),this[_0x5122('0x18')]=[_0x5122('0x55'),_0x5122('0x22')];}[_0x5122('0x2b')](){const _0x505e0b=this[_0x5122('0x1a')],_0x407a9f=_0x505e0b[_0x5122('0x71')][_0x5122('0x21')][_0x5122('0x3c')];if(!_0x505e0b[_0x5122('0x57')][_0x5122('0x7e')](_0x5122('0x69')))return;const _0x720761=_0x505e0b[_0x5122('0x85')],_0x54d845=_0x505e0b[_0x5122('0x57')]['get'](_0x5122('0x17')),_0x568726=_0x505e0b['plugins'][_0x5122('0x5a')]('TableUtils');_0x54d845[_0x5122('0x7')]['registerElementLabel']('table',_0x1194a3=>_0x5a6c0f(_0x720761,'ELEMENT_TABLE',_0x1194a3)),this['_setupColumnsRowsFixing'](),_0x54d845['enableCommand']('insertTable'),_0x54d845[_0x5122('0x3b')](_0x5122('0x59')),_0x54d845[_0x5122('0x3b')](_0x5122('0x29'));for(const _0x4b0885 of[_0x5122('0x61'),_0x5122('0x2c')]){const _0x2832eb=_0x505e0b[_0x5122('0x30')]['get'](_0x4b0885);_0x54d845[_0x5122('0x3b')](_0x4b0885,_0x39c120=>{_0x505e0b[_0x5122('0x71')][_0x5122('0x84')](_0xc874b=>{_0x39c120();const _0x180737=_0x5122('0x70')===_0x2832eb[_0x5122('0xb')],_0x5d5113=_0x568726[_0x5122('0x7a')](_0x407a9f),_0x24fa66=_0x568726[_0x5122('0x53')](_0x5d5113),_0x1b8fcf=_0x180737?_0x24fa66[_0x5122('0x50')]-0x1:_0x24fa66['last']+0x1,_0x47345e=_0x5d5113[0x0]['findAncestor'](_0x5122('0x86')),_0x216455=_0x568726['createTableWalker'](_0x47345e,{'startRow':_0x1b8fcf,'endRow':_0x1b8fcf}),_0xe8ab34=Array[_0x5122('0x79')](_0x216455)['map'](_0xd619c5=>_0xc874b[_0x5122('0x34')](_0xd619c5[_0x5122('0x49')]));_0x54d845[_0x5122('0x51')](_0xe8ab34,_0x5122('0x55'));});});}for(const _0x3dfae6 of[_0x5122('0x6a'),_0x5122('0x3d')]){const _0x17b126=_0x505e0b['commands'][_0x5122('0x5a')](_0x3dfae6);_0x54d845['enableCommand'](_0x3dfae6,_0x41b734=>{_0x505e0b['model']['change'](_0x180a8f=>{_0x41b734();const _0x12f6cf=_0x5122('0x23')===_0x17b126[_0x5122('0xb')],_0x34de81=_0x568726['getSelectionAffectedTableCells'](_0x407a9f),_0x5a6eab=_0x568726[_0x5122('0x2f')](_0x34de81),_0x481c02=_0x12f6cf?_0x5a6eab['first']-0x1:_0x5a6eab[_0x5122('0x15')]+0x1,_0x321978=_0x34de81[0x0][_0x5122('0x77')](_0x5122('0x86')),_0x1d1997=_0x568726[_0x5122('0x43')](_0x321978,{'startRow':0x0,'column':_0x481c02,'includeAllSlots':!0x1}),_0x34b682=Array['from'](_0x1d1997)[_0x5122('0x16')](_0x118cef=>_0x180a8f[_0x5122('0x34')](_0x118cef['cell']));_0x54d845[_0x5122('0x51')](_0x34b682,_0x5122('0x22'));});});}for(const _0x324b4f of[_0x5122('0x10'),'removeTableColumn']){const _0x5894f4=_0x324b4f['substr'](0xb),_0x1eceb6=_0x5894f4['toLowerCase'](),_0x2f5940=_0x1eceb6[_0x5122('0x7b')](0x0,0x3)+_0x5122('0x1c'),_0xac7cec='table'+_0x5894f4,_0x3a1808=_0x5122('0x28')+_0x5894f4,_0xbeaf9f=_0x5122('0x74')+_0x5894f4;_0x54d845[_0x5122('0x3b')](_0x324b4f,()=>{_0x505e0b['model'][_0x5122('0x84')](_0x4dc7d4=>{const _0x314ef3=_0x568726[_0x5122('0x7a')](_0x407a9f),_0x51988e=_0x314ef3[0x0][_0x5122('0x77')](_0x5122('0x86'));let _0x526bbd;if(_0x5122('0x10')==_0x324b4f){const _0x4f26ca=_0x568726[_0x5122('0x53')](_0x314ef3);_0x526bbd={'startRow':_0x4f26ca[_0x5122('0x50')],'endRow':_0x4f26ca[_0x5122('0x15')],'includeAllSlots':!0x0};}else{const _0x25e103=_0x568726['getColumnIndexes'](_0x314ef3);_0x526bbd={'startColumn':_0x25e103[_0x5122('0x50')],'endColumn':_0x25e103[_0x5122('0x15')],'includeAllSlots':!0x0};}const _0x36c6c1=_0x568726[_0x5122('0x43')](_0x51988e,_0x526bbd),_0x23bfa6=Array[_0x5122('0x79')](_0x36c6c1)['map'](({cell:_0x15621b})=>_0x15621b),_0x447fb0=oe(_0x23bfa6['filter'](_0x146157=>_0x146157['hasAttribute'](_0x2f5940))),_0x4ab0f1=oe(_0x23bfa6['filter'](_0x49ea5b=>!_0x49ea5b['hasAttribute'](_0x2f5940)))[_0x5122('0x16')](_0xc6239e=>_0x4dc7d4['createRangeOn'](_0xc6239e)),_0x8d84fa=_0x54d845[_0x5122('0x7c')](_0x4ab0f1,_0xac7cec);if(_0x8d84fa&&(_0x5122('0x55')==_0x8d84fa[_0x5122('0xa')]||'tableColumn'==_0x8d84fa[_0x5122('0xa')])){const _0x1ee52e=this['_getSuggestionCoords'](_0x8d84fa);for(const _0xfc5fc1 of _0x447fb0){const _0x3e4043=_0x4dc7d4[_0x5122('0x34')](_0xfc5fc1),_0xe921d1=_0x568726['getCellLocation'](_0xfc5fc1),_0x41189e=_0xfc5fc1['getAttribute'](_0x2f5940)-0x1,_0x143a8e=_0x1ee52e[_0x3a1808],_0x5dc162=_0x1ee52e[_0xbeaf9f];_0x143a8e<=_0xe921d1[_0x1eceb6]&&_0xe921d1[_0x1eceb6]+_0x41189e<=_0x5dc162&&_0x8d84fa[_0x5122('0x64')](_0x3e4043);}}});});}function _0x13a5dc(_0x237626){const _0x2ffd03=Array['from'](_0x407a9f['getRanges']())[_0x5122('0x16')](_0x1d225a=>_0x2f294c[_0x5122('0x73')](_0x1d225a));_0x505e0b[_0x5122('0x71')][_0x5122('0x84')](_0x2ffd45=>{const _0x281c52=_0x2ffd45[_0x5122('0x41')];_0x237626=_0x237626[_0x5122('0x8')](_0x314e07=>_0x5122('0x38')!=_0x314e07[_0x5122('0x31')][_0x5122('0x7f')]),_0x2ffd45[_0x5122('0x5')](_0x237626),_0x505e0b['commands'][_0x5122('0x5a')](_0x5122('0x10'))['refresh'](),_0x505e0b[_0x5122('0x44')](_0x5122('0x10'),{'forceDefaultExecution':!0x0}),_0x505e0b[_0x5122('0x71')]['enqueueChange'](()=>{_0x505e0b['model'][_0x5122('0x12')](_0x281c52,_0xc4c2a=>{const _0x288f90=_0x2ffd03['filter'](_0x914dbb=>_0x5122('0x38')!=_0x914dbb[_0x5122('0x31')][_0x5122('0x7f')]);_0x288f90[_0x5122('0x48')]>0x0&&_0xc4c2a[_0x5122('0x5')](_0x288f90);for(const _0x4844e6 of _0x2ffd03)_0x4844e6[_0x5122('0xc')]();});});});}function _0x1b11dd(_0x24650f){_0x505e0b[_0x5122('0x71')][_0x5122('0x84')](_0x134416=>{const _0x5721c5=Array[_0x5122('0x79')](_0x407a9f[_0x5122('0x26')]())[_0x5122('0x16')](_0x1ebd6b=>_0x2f294c[_0x5122('0x73')](_0x1ebd6b)),_0x4fe07e=[];for(const _0x9a64c1 of _0x24650f)for(const _0x13dd6c of _0x9a64c1['getItems']({'shallow':!0x0}))_0x4fe07e['push'](_0x13dd6c);for(const _0x51e17d of _0x4fe07e)_0x5122('0x38')!=_0x51e17d[_0x5122('0x31')][_0x5122('0x7f')]&&(_0x134416['setSelection'](_0x134416[_0x5122('0x45')](_0x51e17d,0x0)),_0x505e0b[_0x5122('0x30')][_0x5122('0x5a')](_0x5122('0x5f'))[_0x5122('0xe')](),_0x505e0b['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x4d6a83=_0x5721c5[_0x5122('0x8')](_0x9ddf16=>_0x5122('0x38')!=_0x9ddf16[_0x5122('0x31')]['rootName']);_0x4d6a83['length']>0x0&&_0x134416[_0x5122('0x5')](_0x4d6a83);for(const _0x5dff35 of _0x5721c5)_0x5dff35['detach']();});}function _0x2e21ae(_0x73be21,_0x4f40bb){return _0x4f40bb['every'](_0x6a8b3=>_0x73be21['some'](_0x1069bb=>_0x1069bb[_0x5122('0x32')][_0x5122('0x11')](_0x6a8b3[_0x5122('0x60')])||_0x6a8b3['end'][_0x5122('0x11')](_0x1069bb[_0x5122('0x60')])));}function _0xbf2ecb(_0x24ad88,_0xe18ea9){return _0x24ad88[_0x5122('0x83')](_0x33d20e=>_0xe18ea9[_0x5122('0x83')](_0x270bb8=>_0x33d20e[_0x5122('0x32')]['isTouching'](_0x270bb8[_0x5122('0x60')])));}_0x505e0b[_0x5122('0x35')]['downcastDispatcher']['on'](_0x5122('0x46'),(_0x50a1ae,_0xe7c5e2,_0x210ad7)=>{if(!_0x210ad7[_0x5122('0x62')][_0x5122('0x25')])return;const _0x3eb079=_0xe7c5e2['item'];if(!_0x3eb079)return;const _0x1322ad=_0x210ad7['mapper'][_0x5122('0xf')](_0x3eb079);function _0x465a48(_0xbdb571){return Array[_0x5122('0x6b')](_0xbdb571)?_0xbdb571:[_0xbdb571];}_0x1322ad&&'tableCell'===_0x3eb079[_0x5122('0x40')]&&_0x3ca9e5(_0x1322ad,_0x210ad7[_0x5122('0x9')],(_0x441709,_0x164a1e,_0x4ad64a)=>_0x4ad64a[_0x5122('0x88')](_0x465a48(_0x164a1e['classes']),_0x441709),(_0x1df8a7,_0x30a744,_0x3cbcb1)=>_0x3cbcb1[_0x5122('0x24')](_0x465a48(_0x30a744[_0x5122('0x52')]),_0x1df8a7));},{'priority':_0x5122('0x1b')}),_0x54d845[_0x5122('0x7')]['registerDescriptionCallback'](_0x8de01b=>{if('insertion'!=_0x8de01b[_0x5122('0x58')]&&_0x5122('0x4c')!=_0x8de01b[_0x5122('0x58')])return;const _0x5a0efa=_0x8de01b[_0x5122('0x4b')]();if(null!=_0x5a0efa&&_0x5a0efa['is'](_0x5122('0x39'),_0x5122('0x86'))){if('insertion'==_0x8de01b[_0x5122('0x58')]){const _0x43cc90=_0x8de01b[_0x5122('0x2e')]()[_0x5122('0x8')](_0x1dd729=>_0x1dd729['is'](_0x5122('0x66')))[_0x5122('0x16')](_0x5945f9=>_0x5945f9[_0x5122('0x35')]);if(_0x43cc90[_0x5122('0x48')])return{'type':_0x5122('0x2a'),'content':_0x5a6c0f(_0x720761,_0x5122('0x19'),_0x5a6c0f(_0x720761,_0x5122('0x42'),'\x22'+_0x43cc90[_0x5122('0x33')]('\x20')+'\x22'))};}if(_0x5122('0x4c')==_0x8de01b[_0x5122('0x58')]){const _0x52abe2=_0x8de01b[_0x5122('0x2e')]()['filter'](_0x3b397b=>_0x3b397b['is'](_0x5122('0x66')))[_0x5122('0x16')](_0x19e670=>_0x19e670[_0x5122('0x35')]);if(_0x52abe2[_0x5122('0x48')])return{'type':_0x5122('0x4c'),'content':_0x5a6c0f(_0x720761,_0x5122('0x3e'),_0x5a6c0f(_0x720761,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x52abe2[_0x5122('0x33')]('\x20')+'\x22'))};}}}),_0x54d845[_0x5122('0x7')]['registerDescriptionCallback'](_0x369517=>{if(_0x5122('0x55')==_0x369517[_0x5122('0xa')]){const _0x7378de=_0x369517[_0x5122('0x2e')]()[_0x5122('0x8')](_0x49229b=>_0x49229b['is'](_0x5122('0x66')))[_0x5122('0x16')](_0x5b7ffe=>_0x5b7ffe['data']),_0x4c347a=this[_0x5122('0x6c')](_0x369517),_0x7d8f21=_0x4c347a[_0x5122('0x47')]-_0x4c347a[_0x5122('0x1f')]+0x1;if(_0x5122('0x2a')==_0x369517[_0x5122('0x58')])return _0x7378de[_0x5122('0x48')]?{'type':_0x5122('0x2a'),'content':_0x5a6c0f(_0x720761,_0x5122('0x19'),_0x5a6c0f(_0x720761,_0x5122('0x4a'),[_0x7d8f21,'\x22'+_0x7378de[_0x5122('0x33')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x5a6c0f(_0x720761,_0x5122('0x19'),_0x5a6c0f(_0x720761,_0x5122('0x6d'),_0x7d8f21))};if(_0x5122('0x4c')==_0x369517[_0x5122('0x58')])return _0x7378de[_0x5122('0x48')]?{'type':_0x5122('0x4c'),'content':_0x5a6c0f(_0x720761,_0x5122('0x3e'),_0x5a6c0f(_0x720761,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x7d8f21,'\x22'+_0x7378de[_0x5122('0x33')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x5a6c0f(_0x720761,'*Remove:*\x20%0',_0x5a6c0f(_0x720761,_0x5122('0x6d'),_0x7d8f21))};}if(_0x5122('0x22')==_0x369517[_0x5122('0xa')]){const _0x4b4948=_0x369517[_0x5122('0x2e')]()['filter'](_0x24901a=>_0x24901a['is'](_0x5122('0x66')))[_0x5122('0x16')](_0x4e57f3=>_0x4e57f3[_0x5122('0x35')]),_0x1c64c1=this[_0x5122('0x6c')](_0x369517),_0x35d952=_0x1c64c1[_0x5122('0x80')]-_0x1c64c1[_0x5122('0x1d')]+0x1;if('insertion'==_0x369517[_0x5122('0x58')])return _0x4b4948[_0x5122('0x48')]?{'type':'insertion','content':_0x5a6c0f(_0x720761,_0x5122('0x19'),_0x5a6c0f(_0x720761,_0x5122('0x4f'),[_0x35d952,'\x22'+_0x4b4948[_0x5122('0x33')]('\x20')+'\x22']))}:{'type':_0x5122('0x2a'),'content':_0x5a6c0f(_0x720761,'*Insert:*\x20%0',_0x5a6c0f(_0x720761,_0x5122('0x82'),_0x35d952))};if(_0x5122('0x4c')==_0x369517[_0x5122('0x58')])return _0x4b4948[_0x5122('0x48')]?{'type':_0x5122('0x4c'),'content':_0x5a6c0f(_0x720761,'*Remove:*\x20%0',_0x5a6c0f(_0x720761,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x35d952,'\x22'+_0x4b4948[_0x5122('0x33')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x5a6c0f(_0x720761,'*Remove:*\x20%0',_0x5a6c0f(_0x720761,_0x5122('0x82'),_0x35d952))};}}),_0x54d845[_0x5122('0x6e')][_0x5122('0x2d')](_0x5122('0x2a'),_0x5122('0x55'),_0x5122('0x67'),_0x13a5dc),_0x54d845['_suggestionFactory']['registerCustomCallback'](_0x5122('0x4c'),_0x5122('0x55'),_0x5122('0x56'),_0x13a5dc),_0x54d845[_0x5122('0x6e')][_0x5122('0x2d')](_0x5122('0x2a'),_0x5122('0x22'),_0x5122('0x67'),_0x1b11dd),_0x54d845['_suggestionFactory']['registerCustomCallback']('deletion',_0x5122('0x22'),'accept',_0x1b11dd),_0x54d845[_0x5122('0x6e')]['registerCustomCallback'](_0x5122('0x2a'),_0x5122('0x22'),'join',_0x2e21ae),_0x54d845[_0x5122('0x6e')][_0x5122('0x2d')](_0x5122('0x4c'),_0x5122('0x22'),'join',_0x2e21ae),_0x54d845[_0x5122('0x6e')][_0x5122('0x2d')]('insertion','tableRow',_0x5122('0x33'),_0xbf2ecb),_0x54d845[_0x5122('0x6e')][_0x5122('0x2d')](_0x5122('0x4c'),'tableRow','join',_0xbf2ecb);}[_0x5122('0x27')](){const _0x36bc76=this[_0x5122('0x1a')],_0x26a64f=_0x36bc76[_0x5122('0x71')][_0x5122('0x21')]['selection'];return(_0xc2d5bc,_0x1cb86b)=>{_0x36bc76[_0x5122('0x71')]['change'](_0x50f705=>{const {commandName:_0x2bb597,commandParams:_0x563e1d}=_0x1cb86b;let _0x12deae=_0xc2d5bc[0x0][_0x5122('0x32')][_0x5122('0x3f')];_0x563e1d&&_0x563e1d[0x0]&&!0x1===_0x563e1d[0x0][_0x5122('0x87')]&&(_0x12deae=_0xc2d5bc[0x0][_0x5122('0x60')][_0x5122('0x81')]);const _0x29f14d=_0x50f705[_0x5122('0x6f')](_0x12deae);if('$graveyard'==_0x29f14d[_0x5122('0x31')][_0x5122('0x7f')])return;const _0x3aeddb=Array[_0x5122('0x79')](_0x26a64f['getRanges']())[_0x5122('0x16')](_0x5c8ab5=>_0x2f294c[_0x5122('0x73')](_0x5c8ab5));_0x50f705[_0x5122('0x5')](_0x29f14d),_0x36bc76[_0x5122('0x30')][_0x5122('0x5a')](_0x2bb597)[_0x5122('0xe')](),_0x563e1d['push']({'forceDefaultExecution':!0x0}),_0x36bc76[_0x5122('0x44')](_0x2bb597,..._0x563e1d);const _0x488876=_0x3aeddb['filter'](_0x280e75=>_0x5122('0x38')!=_0x280e75[_0x5122('0x31')][_0x5122('0x7f')]);_0x488876[_0x5122('0x48')]>0x0&&_0x50f705['setSelection'](_0x488876);for(const _0x169f62 of _0x3aeddb)_0x169f62['detach']();});};}['_getCoordsForCells'](_0x471ff5){const _0x22d1f6=this[_0x5122('0x1a')]['plugins'][_0x5122('0x5a')]('TableUtils');let _0x4d5e20=Number[_0x5122('0x4')],_0x32b8ac=Number['MIN_SAFE_INTEGER'],_0x1c50d3=Number[_0x5122('0x4')],_0x37fe7e=Number[_0x5122('0x3a')];for(const _0x5b819c of _0x471ff5){if('$graveyard'==_0x5b819c[_0x5122('0x31')][_0x5122('0x7f')])continue;const {row:_0x22be42,column:_0x3b01d1}=_0x22d1f6[_0x5122('0x0')](_0x5b819c),_0x2e26d3=_0x5b819c['hasAttribute'](_0x5122('0x37'))?_0x5b819c[_0x5122('0x4d')](_0x5122('0x37'))-0x1:0x0,_0x1c9853=_0x5b819c[_0x5122('0x1e')](_0x5122('0x72'))?_0x5b819c[_0x5122('0x4d')](_0x5122('0x72'))-0x1:0x0;_0x4d5e20=_0x22be42<_0x4d5e20?_0x22be42:_0x4d5e20,_0x32b8ac=_0x22be42+_0x2e26d3>_0x32b8ac?_0x22be42+_0x2e26d3:_0x32b8ac,_0x1c50d3=_0x3b01d1<_0x1c50d3?_0x3b01d1:_0x1c50d3,_0x37fe7e=_0x3b01d1+_0x1c9853>_0x37fe7e?_0x3b01d1+_0x1c9853:_0x37fe7e;}return{'minRow':_0x4d5e20,'maxRow':_0x32b8ac,'minColumn':_0x1c50d3,'maxColumn':_0x37fe7e};}[_0x5122('0x75')](){const _0x3b53dd=this[_0x5122('0x1a')],_0x348af8=_0x3b53dd[_0x5122('0x57')][_0x5122('0x5a')](_0x5122('0x17')),_0x2719fb=_0x3b53dd['plugins'][_0x5122('0x5a')]('TableUtils');this[_0x5122('0x2')]=new Set(),_0x3b53dd[_0x5122('0x71')][_0x5122('0x21')]['on'](_0x5122('0x4e'),()=>{const _0xfc194b=Array[_0x5122('0x79')](_0x3b53dd[_0x5122('0x71')]['document']['differ'][_0x5122('0x54')]());for(const {name:_0x19523e,data:_0x4c8785}of _0xfc194b){const {group:_0x50e927,id:_0x149be4,subType:_0x4e76d8}=_0x348af8[_0x5122('0x5d')](_0x19523e);if(_0x5122('0x3')!=_0x50e927)continue;if(null!=_0x4c8785[_0x5122('0x78')])continue;const _0x517868=_0x348af8[_0x5122('0x20')](_0x149be4);this[_0x5122('0x18')][_0x5122('0xd')](_0x4e76d8)&&this[_0x5122('0x2')][_0x5122('0x6')](_0x517868);}},{'priority':'low'});const _0x23206a=(_0x261749,_0x25ab4a)=>{let _0x5307f3=!0x1;const _0x530351=_0x25ab4a['createRangeOn'](_0x261749),_0x44d717=_0x261749['findAncestor'](_0x5122('0x86')),_0x47dba8=_0x2719fb[_0x5122('0x0')](_0x261749);for(const _0x312dd3 of this[_0x5122('0x2')]){const _0x50856e=_0x312dd3[_0x5122('0xa')],_0x5bbb87=_0x50856e['startsWith']('tablePaste'),_0x5881e0=_0x50856e[_0x5122('0x7b')](_0x5bbb87?0xa:0x5),_0x10aea1=_0x5881e0[_0x5122('0x5e')](),_0x23c0b2=_0x10aea1['substr'](0x0,0x3)+'span',_0x1d033e=_0x5122('0x28')+_0x5881e0,_0x4cf195='max'+_0x5881e0;if(!_0x312dd3[_0x5122('0x1')])continue;if(_0x44d717!=_0x312dd3['getFirstRange']()[_0x5122('0x60')]['findAncestor'](_0x5122('0x86')))continue;if(_0x312dd3[_0x5122('0x68')](_0x530351))continue;const _0x5bfa33=_0x261749['hasAttribute'](_0x23c0b2)?_0x261749[_0x5122('0x4d')](_0x23c0b2)-0x1:0x0,_0x1cba5a=this[_0x5122('0x6c')](_0x312dd3),_0x220f04=_0x1cba5a[_0x1d033e],_0x1e2343=_0x1cba5a[_0x4cf195];_0x220f04<=_0x47dba8[_0x10aea1]&&_0x47dba8[_0x10aea1]+_0x5bfa33<=_0x1e2343&&(_0x312dd3[_0x5122('0x64')](_0x530351),_0x5307f3=!0x0);}return _0x5307f3;};_0x3b53dd[_0x5122('0x71')][_0x5122('0x21')][_0x5122('0x5b')](_0x1e340b=>{let _0x1309e8=!0x1;for(const _0x3cba40 of _0x3b53dd[_0x5122('0x71')][_0x5122('0x21')][_0x5122('0x7d')][_0x5122('0x63')]())if(_0x5122('0x76')==_0x3cba40['type']){if(_0x5122('0x55')==_0x3cba40[_0x5122('0x40')])for(const _0x550bfe of _0x3cba40[_0x5122('0x65')]['nodeAfter'][_0x5122('0x13')]())_0x1309e8=_0x1309e8||_0x23206a(_0x550bfe,_0x1e340b);else _0x5122('0x36')==_0x3cba40[_0x5122('0x40')]&&(_0x1309e8=_0x1309e8||_0x23206a(_0x3cba40[_0x5122('0x65')][_0x5122('0x81')],_0x1e340b));}return _0x1309e8;});}[_0x5122('0x6c')](_0x29a8c3){return this[_0x5122('0x14')](_0x29a8c3[_0x5122('0x26')]()[_0x5122('0x16')](_0x385686=>_0x385686[_0x5122('0x60')][_0x5122('0x81')]));}}function oe(_0x1299a8){return Array[_0x5122('0x79')](new Set(_0x1299a8)[_0x5122('0x5c')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cba=['editor','plugins','requires','get','TableCaptionEditing','TrackChangesEditing'];(function(_0x3ebd05,_0x1cbab1){const _0xe6f0d0=function(_0x1f72a2){while(--_0x1f72a2){_0x3ebd05['push'](_0x3ebd05['shift']());}};_0xe6f0d0(++_0x1cbab1);}(_0x1cba,0x16b));const _0xe6f0=function(_0x3ebd05,_0x1cbab1){_0x3ebd05=_0x3ebd05-0x0;let _0xe6f0d0=_0x1cba[_0x3ebd05];return _0xe6f0d0;};import{Plugin as _0x21b2c8}from'ckeditor5/src/core';import _0x5decf5 from'./table';export default class wt extends _0x21b2c8{static get[_0xe6f0('0x5')](){return[_0x5decf5];}['afterInit'](){const _0x460c60=this[_0xe6f0('0x3')];if(!_0x460c60[_0xe6f0('0x4')]['has'](_0xe6f0('0x1')))return;_0x460c60[_0xe6f0('0x4')][_0xe6f0('0x0')](_0xe6f0('0x2'))['enableCommand']('toggleTableCaption');}}
23
+ const _0x481b=['enableCommand','toggleTableCaption','plugins','editor','get','TableCaptionEditing','TrackChangesEditing','requires'];(function(_0x205824,_0x481b03){const _0x2fd044=function(_0x3e1fee){while(--_0x3e1fee){_0x205824['push'](_0x205824['shift']());}};_0x2fd044(++_0x481b03);}(_0x481b,0xeb));const _0x2fd0=function(_0x205824,_0x481b03){_0x205824=_0x205824-0x0;let _0x2fd044=_0x481b[_0x205824];return _0x2fd044;};import{Plugin as _0x31ab1e}from'ckeditor5/src/core';import _0xd7d6d0 from'./table';export default class wt extends _0x31ab1e{static get[_0x2fd0('0x4')](){return[_0xd7d6d0];}['afterInit'](){const _0x30b824=this[_0x2fd0('0x0')];if(!_0x30b824[_0x2fd0('0x7')]['has'](_0x2fd0('0x2')))return;_0x30b824[_0x2fd0('0x7')][_0x2fd0('0x1')](_0x2fd0('0x3'))[_0x2fd0('0x5')](_0x2fd0('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4965=['root','markerAttributes','suggestion:formatBlock:tablePasteCell','tablePaste','stop','differ','column','elementToElement','insertRows','keys','$graveyard','editingDowncast','registerCustomCallback','tableCellBorderColor','isEqual','markerName','previous','forceDefaultExecution','tablePasteChainId','commands','markMultiRangeInsertion','getSuggestions','getChild','start','endRow','_suggestionFactory','tableCell','setAttribute','removeMarker','end','tableCellSuggestion','locale','markMultiRangeDeletion','suggestionUnloaded','suggestion-td','_getCoordsForCells','columnInsertionRanges','rowInsertionRanges','cell','getMarkers','author','insertContent','rootName','filter','position','getItems','plugins','_splitMarkerName','setAttributes','removeMarkers','findAncestor','oldRange','insert','deletion','getShiftedBy','registerDescriptionCallback','options','ck-suggestion-marker','attributes','trackChanges','removeRows','subType','tableCellBackgroundColor','first','row','markerToHighlight','find','insertColumns','getRows','content','rows','model','tablePasteRow','activeMarkers','length','editor','getAttributes','tablePasteColumn','change','getColumnIndexes','from','markMultiRangeBlockFormat','createTableWalker','deletionRanges','set','getSelectionAffectedTableCells','register','paragraph','*Replace\x20table\x20cells*','listenTo','suggestionLoaded','containsRange','add','push','some','remove','low','createRangeOn','redo','hasSuggestion','for','_tablePostFixingSubtypes','tableCellBorderStyle','fill','documentSelection','endColumn','batch','selection','registerPostFixer','_replaceTableSlotCell','getSuggestionCallback','insertion','getChangedMarkers','getRange','getRowIndexes','getContainedElement','entries','high','discard','map','tableCellPadding','previousSibling','conversion','_createdBatches','createRange','getChanges','document','columnInsertionIndexes','getRanges','TableClipboard','formatBlock','afterInit','getChildren','TableUtils','getAllAdjacentSuggestions','rowInsertionIndexes','fromEntries','cells','get','isInContent','updateMarker','next','last','startsWith','element','name','createRangeIn','suggestion','Users','TrackChangesEditing','tableCellVerticalAlignment','value','_descriptionFactory','tablePasteCell','includes','ck-suggestion-marker--active','isEmpty','accept','newRange','tableCellBorderWidth','table','type','has','columns','move'];(function(_0x549487,_0x4965c9){const _0x37e9b0=function(_0xea6451){while(--_0xea6451){_0x549487['push'](_0x549487['shift']());}};_0x37e9b0(++_0x4965c9);}(_0x4965,0x1c7));const _0x37e9=function(_0x549487,_0x4965c9){_0x549487=_0x549487-0x0;let _0x37e9b0=_0x4965[_0x549487];return _0x37e9b0;};import{getTranslation as _0x5eb071}from'../utils/common-translations';import{Plugin as _0x3db960}from'ckeditor5/src/core';import _0x24a371 from'./table';import{uid as _0x4e8dfa,priorities as _0x40eb59}from'ckeditor5/src/utils';const ne=[_0x37e9('0x22'),_0x37e9('0x35'),_0x37e9('0x8e'),'tableCellHorizontalAlignment',_0x37e9('0x19'),_0x37e9('0x66'),_0x37e9('0xa0')],le=Object[_0x37e9('0xb')](ne[_0x37e9('0x9f')](_0x4f20ae=>[_0x4f20ae,null]));export default class mt extends _0x3db960{static get['requires'](){return[_0x24a371];}[_0x37e9('0x6')](){const _0x4253ce=this[_0x37e9('0x73')];if(!_0x4253ce[_0x37e9('0x56')]['has']('TableClipboard'))return;const _0x2e279c=_0x4253ce[_0x37e9('0x56')]['get'](_0x37e9('0x18')),_0x1e5ab3=_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x8')),_0x1a74b1=_0x4253ce[_0x37e9('0x56')]['get'](_0x24a371),_0x288fe6=_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x4'));_0x1a74b1[_0x37e9('0x8d')][_0x37e9('0x85')](_0x37e9('0x70'),'tablePasteColumn'),_0x4253ce['model']['schema'][_0x37e9('0x7e')](_0x37e9('0x46'),{'allowIn':'tableCell','allowContentOf':_0x37e9('0x42'),'isLimit':!0x0}),_0x4253ce[_0x37e9('0xa2')][_0x37e9('0x2f')]({'model':_0x37e9('0x46'),'view':'suggestion-td'});let _0x5916e8=null;_0x4253ce['model']['on'](_0x37e9('0x51'),(_0x24d3dd,_0x25556e)=>{const [_0x3b4ac0,_0x581407]=_0x25556e,_0x1b5117=_0x25556e[_0x25556e[_0x37e9('0x72')]-0x1];_0x1b5117&&_0x1b5117[_0x37e9('0x39')]||_0x2e279c['_isForcedDefaultExecutionBlock']||this[_0x37e9('0x73')]['commands'][_0x37e9('0xd')](_0x37e9('0x63'))[_0x37e9('0x1a')]&&function(_0x143d52,_0x1c2e53,_0x180aee,_0x18fce9,_0x11e8b6){if(_0x1c2e53&&!_0x1c2e53['is'](_0x37e9('0x90')))return!0x1;const _0x435b79=_0x11e8b6['getTableIfOnlyTableInContent'](_0x143d52,_0x180aee);if(!_0x435b79||!ae(_0x435b79,null,_0x18fce9))return!0x1;const _0x23533b=_0x18fce9[_0x37e9('0x7d')](_0x180aee[_0x37e9('0x1')][_0x37e9('0x93')]);if(!_0x23533b['length'])return!0x1;const _0x462111=_0x23533b[0x0][_0x37e9('0x5a')](_0x37e9('0x23')),_0x280b2f=_0x18fce9[_0x37e9('0x9a')](_0x23533b),_0x2005a6=_0x18fce9[_0x37e9('0x77')](_0x23533b),_0x3487b9={'startRow':_0x280b2f[_0x37e9('0x67')],'endRow':_0x280b2f[_0x37e9('0x11')],'startColumn':_0x2005a6['first'],'endColumn':_0x2005a6[_0x37e9('0x11')]};return 0x1==_0x23533b[_0x37e9('0x72')]&&(_0x3487b9[_0x37e9('0x40')]+=_0x18fce9[_0x37e9('0x6c')](_0x435b79)-0x1,_0x3487b9[_0x37e9('0x91')]+=_0x18fce9['getColumns'](_0x435b79)-0x1),ae(_0x462111,_0x3487b9,_0x18fce9);}(_0x3b4ac0,_0x581407,_0x4253ce['model'],_0x1e5ab3,_0x288fe6)&&(_0x24d3dd[_0x37e9('0x2c')](),_0x5916e8={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4253ce['model'][_0x37e9('0x76')](()=>{_0x4253ce[_0x37e9('0x6f')]['insertContent'](_0x25556e[0x0],_0x25556e[0x1],_0x25556e[0x2],_0x25556e[0x3],{'forceDefaultExecution':!0x0});const _0x7fd24e=_0x4e8dfa(),{rowInsertionRanges:_0x56c02e,columnInsertionRanges:_0x63746c,insertionRanges:_0x3c71e0,deletionRanges:_0x227316,cells:_0x23951a}=_0x5916e8;_0x56c02e[_0x37e9('0x72')]&&_0x2e279c[_0x37e9('0x3c')](_0x56c02e,_0x37e9('0x70'),{'tablePasteChainId':_0x7fd24e}),_0x63746c[_0x37e9('0x72')]&&_0x2e279c[_0x37e9('0x3c')](_0x63746c,'tablePasteColumn',{'tablePasteChainId':_0x7fd24e}),_0x3c71e0[_0x37e9('0x72')]&&_0x2e279c['markMultiRangeInsertion'](_0x3c71e0,'tablePaste',{'tablePasteChainId':_0x7fd24e,'skipNestingCheck':!0x0}),_0x227316['length']&&_0x2e279c[_0x37e9('0x48')](_0x227316,_0x37e9('0x2b'),{'tablePasteChainId':_0x7fd24e,'skipNestingCheck':!0x0});const _0x656f2a=_0x2e279c[_0x37e9('0x79')](_0x23951a[_0x37e9('0x9f')](({element:_0x35016a})=>_0x35016a),{'formatGroupId':_0x4e8dfa()},[],_0x37e9('0x1c'),{'tablePasteChainId':_0x7fd24e});if(_0x656f2a){const _0x2ea1fd=_0x656f2a['getMarkers'](),_0x475ee8=[];for(const {element:_0x986f8f,attributes:_0x3083cf}of _0x23951a){if(!_0x3083cf)continue;const _0x176c13=_0x4253ce['model'][_0x37e9('0x89')](_0x986f8f),_0x5b0695=_0x2ea1fd[_0x37e9('0x6a')](_0x4f072f=>_0x4f072f['getRange']()[_0x37e9('0x36')](_0x176c13));_0x5b0695&&_0x475ee8[_0x37e9('0x85')]([_0x5b0695['name'],_0x3083cf]);}_0x475ee8[_0x37e9('0x72')]&&_0x656f2a[_0x37e9('0x43')]('markerAttributes',Object[_0x37e9('0xb')](_0x475ee8));}_0x5916e8=null;}));},{'priority':_0x40eb59['high']+0xa}),_0x4253ce[_0x37e9('0x56')][_0x37e9('0xd')](_0x37e9('0x4'))['on'](_0x37e9('0x95'),(_0x1cb7b4,_0xc04fbd)=>{const [_0x38e5f3,_0x349ecc,,_0x491140]=_0xc04fbd;if(!_0x5916e8)return;_0x1cb7b4[_0x37e9('0x2c')]();const _0x35b300=_0x38e5f3[_0x37e9('0x4e')],_0x318c71=_0x349ecc,_0x5a11f9=se(_0x35b300),_0x3e9ab7=se(_0x318c71);_0x1cb7b4['return']=_0x35b300;let _0x34bff6=null,_0xa5f95c=null;if(_0x3e9ab7||_0x5a11f9){if(_0x5a11f9&&!_0x3e9ab7){_0x491140[_0x37e9('0x87')](_0x35b300[_0x37e9('0x3e')](0x0));for(const _0x2aa121 of Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x7')]()))_0x491140[_0x37e9('0x5c')](_0x2aa121,_0x35b300,'end');const _0x5e0f65=_0x5916e8[_0x37e9('0xa')][_0x37e9('0x1d')](_0x38e5f3[_0x37e9('0x68')]),_0x35aba1=_0x5916e8['columnInsertionIndexes']['includes'](_0x38e5f3[_0x37e9('0x2e')]);_0x5e0f65||_0x35aba1||(_0x34bff6=_0x491140[_0x37e9('0x15')](_0x35b300));}else _0x3e9ab7&&!_0x5a11f9&&(_0xa5f95c=_0x491140[_0x37e9('0x15')](_0x35b300));}else{const _0x429a57=_0x491140['createElement'](_0x37e9('0x46')),_0x33ec43=_0x491140['createElement'](_0x37e9('0x46'));_0x491140['wrap'](_0x491140[_0x37e9('0x15')](_0x35b300),_0x33ec43),_0x491140[_0x37e9('0x5c')](_0x429a57,_0x35b300,0x0);for(const _0x3d74ba of Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x7')]()))_0x491140[_0x37e9('0x5c')](_0x3d74ba,_0x429a57,_0x37e9('0x45'));_0x34bff6=_0x491140[_0x37e9('0x89')](_0x429a57),_0xa5f95c=_0x491140[_0x37e9('0x89')](_0x33ec43);}const _0x294ed6=Array[_0x37e9('0x78')](_0x318c71[_0x37e9('0x74')]())[_0x37e9('0x53')](([_0x3d855e])=>ne[_0x37e9('0x1d')](_0x3d855e));_0x5916e8[_0x37e9('0xc')][_0x37e9('0x85')]({'element':_0x35b300,'attributes':_0x294ed6[_0x37e9('0x72')]?Object['fromEntries'](_0x294ed6):null}),_0x34bff6&&_0x5916e8['insertionRanges']['push'](_0x34bff6),_0xa5f95c&&_0x5916e8[_0x37e9('0x7b')][_0x37e9('0x85')](_0xa5f95c);},{'priority':_0x37e9('0x9d')}),_0x1e5ab3['on'](_0x37e9('0x6b'),(_0x18ea41,_0x5d4ccd)=>{const [_0x21c536,_0xff1713={}]=_0x5d4ccd;if(!_0x5916e8)return;const _0x1b4a21=_0xff1713['at']||0x0,_0x531b26=_0xff1713[_0x37e9('0x26')]||0x1;_0x5916e8[_0x37e9('0x2')]=new Array(_0x531b26)[_0x37e9('0x8f')](_0x1b4a21)[_0x37e9('0x9f')]((_0x229cae,_0x4ae602)=>_0x229cae+_0x4ae602);for(const {cell:_0x4d8a35}of _0x1e5ab3[_0x37e9('0x7a')](_0x21c536,{'startColumn':_0x1b4a21,'endColumn':_0x1b4a21+_0x531b26-0x1}))_0x5916e8[_0x37e9('0x4c')][_0x37e9('0x85')](_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x89')](_0x4d8a35));},{'priority':_0x37e9('0x88')}),_0x1e5ab3['on'](_0x37e9('0x30'),(_0x57451,_0x12e903)=>{const [_0x4e78fd,_0x7a28b4={}]=_0x12e903;if(!_0x5916e8)return;const _0x51901b=_0x7a28b4['at']||0x0,_0x62b8f3=_0x7a28b4[_0x37e9('0x6e')]||0x1;_0x5916e8[_0x37e9('0xa')]=new Array(_0x62b8f3)[_0x37e9('0x8f')](_0x51901b)[_0x37e9('0x9f')]((_0x34fe3e,_0x2b9303)=>_0x34fe3e+_0x2b9303);for(const {cell:_0x2dc90e}of _0x1e5ab3['createTableWalker'](_0x4e78fd,{'startRow':_0x51901b,'endRow':_0x51901b+_0x62b8f3-0x1}))_0x5916e8[_0x37e9('0x4d')][_0x37e9('0x85')](_0x4253ce['model']['createRangeOn'](_0x2dc90e));},{'priority':_0x37e9('0x88')}),_0x2e279c[_0x37e9('0x1b')][_0x37e9('0x5f')](_0x491bd7=>{if(_0x491bd7[_0x37e9('0x65')]&&_0x491bd7[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b')))return _0x491bd7['previous']?{}:{'type':_0x37e9('0x97'),'content':_0x5eb071(_0x4253ce[_0x37e9('0x47')],_0x37e9('0x80'))};});const _0xb2809c=()=>{};for(const _0x32d296 of[_0x37e9('0x2b'),'tablePasteColumn',_0x37e9('0x70'),_0x37e9('0x1c')])_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x37e9('0x97'),_0x32d296,'join',_0xb2809c),_0x2e279c[_0x37e9('0x41')]['registerCustomCallback'](_0x37e9('0x5d'),_0x32d296,'join',_0xb2809c);_0x2e279c['_suggestionFactory']['registerCustomCallback'](_0x37e9('0x5'),_0x37e9('0x1c'),'discard',_0xb2809c),_0x2e279c[_0x37e9('0x41')]['registerCustomCallback']('formatBlock',_0x37e9('0x1c'),_0x37e9('0x20'),(_0x48e2c3,_0x18a823,_0x10422b)=>{const _0x580989=_0x48e2c3[_0x37e9('0x9f')](_0xcf75be=>_0xcf75be['getContainedElement']())['filter'](_0x480b94=>_0x480b94),_0x527031=new Map(_0x580989[_0x37e9('0x9f')](_0xa38a70=>[_0xa38a70,null]));if(_0x5916e8)for(const {element:_0x15763a,attributes:_0x1778b9}of _0x5916e8[_0x37e9('0xc')])_0x1778b9&&_0x527031[_0x37e9('0x7c')](_0x15763a,_0x1778b9);else{if(_0x10422b&&_0x10422b['markerAttributes'])for(const [_0x2fa651,_0x3edb90]of Object[_0x37e9('0x9c')](_0x10422b[_0x37e9('0x29')])){const _0x13416a=_0x4253ce['model']['markers']['get'](_0x2fa651),_0x4a41d8=_0x13416a?_0x13416a[_0x37e9('0x99')]()['getContainedElement']():null;_0x4a41d8&&_0x527031['set'](_0x4a41d8,_0x3edb90);}}_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x76')](_0x268acb=>{for(const [_0x2bd061,_0x48e5e8]of _0x527031)_0x268acb[_0x37e9('0x58')]({...le,..._0x48e5e8},_0x2bd061);});});const _0x1f2807=(_0x1457b0,_0x30bd47)=>{_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x1457b0,_0x37e9('0x2b'),_0x30bd47,(_0x2c9be5,_0x461b13,_0x2c16f5)=>{_0x4253ce[_0x37e9('0x6f')]['change'](_0x3929a9=>{const _0x116561=[];for(const _0x29c513 of _0x2c9be5){const _0x3b976c=_0x29c513[_0x37e9('0x3f')]['nodeAfter'];_0x3b976c['is'](_0x37e9('0x13'),_0x37e9('0x46'))&&_0x116561[_0x37e9('0x85')](_0x3b976c);}_0x2e279c[_0x37e9('0x41')][_0x37e9('0x96')](_0x1457b0,null,_0x30bd47)(_0x2c9be5,_0x461b13,_0x2c16f5);for(const _0x5746ea of _0x116561)_0x37e9('0x32')!=_0x5746ea[_0x37e9('0x28')][_0x37e9('0x52')]&&_0x3929a9['unwrap'](_0x5746ea);});});};_0x1f2807('insertion',_0x37e9('0x20')),_0x1f2807(_0x37e9('0x97'),_0x37e9('0x9e')),_0x1f2807('deletion',_0x37e9('0x20')),_0x1f2807(_0x37e9('0x5d'),_0x37e9('0x9e')),_0x2e279c[_0x37e9('0x41')][_0x37e9('0x34')](_0x37e9('0x97'),_0x37e9('0x70'),_0x37e9('0x9e'),_0x234fc1=>{const _0x2f7c4=_0x234fc1[_0x37e9('0x9f')](_0x574493=>_0x574493[_0x37e9('0x9b')]()),_0x3e82be=_0x2f7c4[0x0][_0x37e9('0x5a')](_0x37e9('0x23')),{minRow:_0x2bf49e,maxRow:_0x5c11b5}=_0x1a74b1[_0x37e9('0x4b')](_0x2f7c4);_0x1e5ab3[_0x37e9('0x64')](_0x3e82be,{'at':_0x2bf49e,'rows':_0x5c11b5-_0x2bf49e+0x1});}),_0x2e279c['_suggestionFactory'][_0x37e9('0x34')]('insertion',_0x37e9('0x75'),_0x37e9('0x9e'),_0x15ca62=>{const _0x5b3e17=_0x15ca62['map'](_0xcc8af9=>_0xcc8af9['getContainedElement']()),_0x7e3c67=_0x5b3e17[0x0][_0x37e9('0x5a')]('table'),{minColumn:_0x5e8890,maxColumn:_0x2a7919}=_0x1a74b1[_0x37e9('0x4b')](_0x5b3e17);_0x1e5ab3['removeColumns'](_0x7e3c67,{'at':_0x5e8890,'columns':_0x2a7919-_0x5e8890+0x1});});const _0x1a887e=(_0x1012a3,_0x3db8a7)=>{if(!_0x3db8a7['subType']||!_0x3db8a7[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b')))return;const _0x3e3574=_0x3db8a7['attributes'][_0x37e9('0x3a')],_0x140a41=_0x2e279c[_0x37e9('0x3d')]()[_0x37e9('0x53')](_0x255f73=>_0x255f73[_0x37e9('0xe')]&&_0x255f73[_0x37e9('0x62')]&&_0x255f73['attributes'][_0x37e9('0x3a')]==_0x3e3574);_0x140a41[_0x37e9('0x72')]&&_0x3db8a7['getAllAdjacentSuggestions']()[_0x37e9('0x72')]!=_0x140a41[_0x37e9('0x72')]&&_0x140a41['reduce']((_0x6a499c,_0x39388f)=>(_0x6a499c[_0x37e9('0x10')]=_0x39388f,_0x39388f[_0x37e9('0x38')]=_0x6a499c,_0x39388f));};function _0x20e094(_0x1734d6,{showActiveMarker:_0x2510bc=!0x0}={}){const {id:_0x388a3b}=_0x2e279c['_splitMarkerName'](_0x1734d6['markerName']),_0x1e6cf2=[_0x37e9('0x61'),'ck-suggestion-marker-insertion'],_0xa3a81d=_0x2e279c[_0x37e9('0x71')][_0x37e9('0x1d')](_0x1734d6[_0x37e9('0x37')]);return _0xa3a81d&&_0x1e6cf2[_0x37e9('0x85')](_0x37e9('0x1e')),{'classes':_0x1e6cf2,'attributes':{'data-suggestion':_0x388a3b},'priority':_0xa3a81d&&_0x2510bc?0xbc2:0xbb8};}_0x2e279c['on'](_0x37e9('0x82'),_0x1a887e,{'priority':_0x37e9('0x9d')}),_0x2e279c['on'](_0x37e9('0x49'),_0x1a887e,{'priority':'high'}),_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x1')][_0x37e9('0x94')](()=>{let _0x496c3d=!0x1;const _0x554180=Array[_0x37e9('0x78')](_0x4253ce[_0x37e9('0x6f')][_0x37e9('0x1')]['differ'][_0x37e9('0x98')]());for(const {name:_0x3587c6,data:_0x13218d}of _0x554180){const {group:_0x518e3b,type:_0x5a7f17,id:_0x5afa7a}=_0x2e279c[_0x37e9('0x57')](_0x3587c6);if(_0x37e9('0x16')!=_0x518e3b||_0x37e9('0x5d')!=_0x5a7f17||_0x13218d[_0x37e9('0x5b')])continue;if(!_0x2e279c[_0x37e9('0x8b')](_0x5afa7a))continue;const _0x25b74b=_0x2e279c['getSuggestion'](_0x5afa7a)[_0x37e9('0x3')](),_0x761f66=_0x4253ce[_0x37e9('0x56')]['get'](_0x37e9('0x17'))['me'];for(const _0x56249e of _0x2e279c['getSuggestions']()){if(!_0x56249e[_0x37e9('0xe')]||_0x56249e[_0x37e9('0x50')]!=_0x761f66)continue;if(_0x37e9('0x5')!=_0x56249e[_0x37e9('0x24')]||'tablePasteCell'!=_0x56249e[_0x37e9('0x65')])continue;if(_0x56249e['getRanges']()['every'](_0x4747e6=>_0x25b74b[_0x37e9('0x86')](_0x3f7c19=>_0x3f7c19[_0x37e9('0x83')](_0x4747e6,!0x0))))for(const _0x3d7bd6 of _0x56249e[_0x37e9('0x9')]())_0x3d7bd6[_0x37e9('0xe')]&&(_0x3d7bd6[_0x37e9('0x9e')](),_0x496c3d=!0x0);}}return _0x496c3d;}),_0x4253ce[_0x37e9('0x6f')]['document'][_0x37e9('0x94')](_0x5974c2=>{const _0x57932a=_0x4253ce[_0x37e9('0x3b')][_0x37e9('0xd')](_0x37e9('0x8a'));if(!_0x57932a||!_0x57932a[_0x37e9('0xa3')][_0x37e9('0x25')](_0x5974c2[_0x37e9('0x92')]))return!0x1;let _0x2fa8ee=!0x1;const _0x153775=_0x4253ce['plugins'][_0x37e9('0xd')](_0x37e9('0x17'))['me'],_0x5d0d2d=_0x4253ce['model']['document'][_0x37e9('0x2d')][_0x37e9('0x0')](),_0x24be8d=Array[_0x37e9('0x78')](_0x4253ce['model'][_0x37e9('0x1')][_0x37e9('0x2d')][_0x37e9('0x98')]())[_0x37e9('0x53')](({name:_0x259e13,data:_0x53d742})=>{const {group:_0x2d48b0,subType:_0x1fbced,authorId:_0x1f3ac5}=_0x2e279c[_0x37e9('0x57')](_0x259e13);return'suggestion'==_0x2d48b0&&_0x37e9('0x2b')==_0x1fbced&&_0x1f3ac5==_0x153775['id']&&!_0x53d742[_0x37e9('0x5b')];});for(const _0x1b08c4 of _0x5d0d2d){if(_0x37e9('0x5c')!=_0x1b08c4[_0x37e9('0x24')]||_0x37e9('0x46')!=_0x1b08c4[_0x37e9('0x14')]||0x1!=_0x1b08c4[_0x37e9('0x72')])continue;const _0x153b45=_0x5974c2[_0x37e9('0xa4')](_0x1b08c4['position'],_0x1b08c4[_0x37e9('0x54')][_0x37e9('0x5e')](0x1));if(!_0x24be8d[_0x37e9('0x6a')](({data:_0x543480})=>_0x543480[_0x37e9('0x21')][_0x37e9('0x36')](_0x153b45)))for(const {name:_0x1ebe52,data:_0x17a5d4}of _0x24be8d)if(_0x153b45['containsRange'](_0x17a5d4['newRange'])){_0x5974c2[_0x37e9('0xf')](_0x1ebe52,{'range':_0x153b45}),_0x2fa8ee=!0x0;break;}}return _0x2fa8ee;}),_0x4253ce['model']['document'][_0x37e9('0x94')](_0x38e943=>{let _0x2f168c=!0x1;const _0x26c79e=_0x4253ce['plugins'][_0x37e9('0xd')](_0x37e9('0x17'))['me'],_0x11163c=_0x2e279c[_0x37e9('0x3d')]()['filter'](_0x2bc92c=>_0x2bc92c[_0x37e9('0xe')]&&_0x2bc92c['author']==_0x26c79e),_0x4a607c=new Set(),_0x1421a7=new Set();for(const _0x2c96df of _0x11163c)if('tablePaste'==_0x2c96df[_0x37e9('0x65')])for(const _0x4b93ce of _0x2c96df[_0x37e9('0x4f')]()){const _0x5dbfbf=_0x4b93ce[_0x37e9('0x99')]()[_0x37e9('0x9b')]();if(_0x5dbfbf){if(_0x5dbfbf['is'](_0x37e9('0x13'),_0x37e9('0x46'))&&se(_0x5dbfbf)){_0x2c96df[_0x37e9('0x44')](_0x4b93ce[_0x37e9('0x14')]),_0x4a607c[_0x37e9('0x84')](_0x5dbfbf),_0x2f168c=!0x0;const _0x168a69=_0x5dbfbf['nextSibling'],_0x5ecf2d=_0x5dbfbf[_0x37e9('0xa1')],_0x1bfee1=_0x168a69&&_0x168a69['is'](_0x37e9('0x13'),_0x37e9('0x46')),_0x1a099b=_0x5ecf2d&&_0x5ecf2d['is'](_0x37e9('0x13'),_0x37e9('0x46'));_0x1bfee1&&!_0x4a607c['has'](_0x168a69)&&_0x1421a7[_0x37e9('0x84')](_0x168a69),_0x1a099b&&!_0x4a607c['has'](_0x5ecf2d)&&_0x1421a7[_0x37e9('0x84')](_0x5ecf2d);}else _0x5dbfbf['is'](_0x37e9('0x13'),'paragraph')&&_0x5dbfbf[_0x37e9('0x1f')]&&(_0x2c96df[_0x37e9('0x44')](_0x4b93ce[_0x37e9('0x14')]),_0x2f168c=!0x0);}}else{if(_0x37e9('0x1c')==_0x2c96df['subType']){if(!_0x2c96df[_0x37e9('0x62')]||!_0x2c96df['attributes']['tablePasteChainId'])continue;const _0x2601a9=_0x2c96df['attributes'][_0x37e9('0x29')];if(_0x2601a9&&Object[_0x37e9('0x31')](_0x2601a9)[_0x37e9('0x72')])continue;const _0x2d8362=_0x2c96df[_0x37e9('0x62')][_0x37e9('0x3a')];let _0x36b22d=!0x0,_0x5b167d=!0x0;for(const _0x40f51e of _0x11163c)if(_0x40f51e[_0x37e9('0x65')]&&_0x40f51e[_0x37e9('0x65')][_0x37e9('0x12')](_0x37e9('0x2b'))){if(!_0x40f51e[_0x37e9('0x62')][_0x37e9('0x3a')]){_0x5b167d=!0x1;break;}if(_0x40f51e['id']!=_0x2c96df['id']&&_0x40f51e[_0x37e9('0x62')]['tablePasteChainId']==_0x2d8362){_0x36b22d=!0x1;break;}}_0x5b167d&&_0x36b22d&&(_0x2c96df[_0x37e9('0x59')](),_0x2f168c=!0x0);}}for(const _0x57b896 of _0x4a607c)_0x38e943[_0x37e9('0x87')](_0x57b896);for(const _0x423758 of _0x1421a7)_0x38e943['unwrap'](_0x423758);return _0x2f168c;}),_0x4253ce[_0x37e9('0xa2')][_0x37e9('0x8c')](_0x37e9('0x33'))[_0x37e9('0x69')]({'model':_0x37e9('0x2a'),'view':_0x20e094,'converterPriority':_0x37e9('0x9d')}),_0x4253ce['conversion'][_0x37e9('0x8c')]('dataDowncast')[_0x37e9('0x69')]({'model':_0x37e9('0x2a'),'view':(_0x216283,_0x818373)=>{if(_0x818373[_0x37e9('0x60')]['showSuggestionHighlights'])return _0x20e094(_0x216283,{'showActiveMarker':!0x1});},'converterPriority':'high'});const _0x1a4a1d=_0x4253ce['editing']['view'];this[_0x37e9('0x81')](_0x1a4a1d['document'],'clipboardOutput',(_0x4f5f72,_0x68ae16)=>{const _0x201a20=[];for(const _0x4df24d of _0x1a4a1d['createRangeIn'](_0x68ae16[_0x37e9('0x6d')])[_0x37e9('0x55')]())_0x4df24d['is']('element',_0x37e9('0x4a'))&&_0x201a20['push'](_0x4df24d);_0x1a4a1d[_0x37e9('0x76')](_0x278d20=>{for(const _0x57ff8f of _0x201a20)_0x278d20[_0x37e9('0x27')](_0x278d20['createRangeIn'](_0x57ff8f),_0x278d20['createPositionBefore'](_0x57ff8f)),_0x278d20[_0x37e9('0x87')](_0x57ff8f);});});}}function se(_0x457520){if(_0x457520['isEmpty'])return!0x0;const _0x1ab9e1=_0x457520[_0x37e9('0x3e')](0x0);return _0x1ab9e1['is'](_0x37e9('0x13'),_0x37e9('0x7f'))&&_0x1ab9e1[_0x37e9('0x1f')];}function ae(_0x29eec7,_0xe9ad11={},_0x4f57fc){for(const {isAnchor:_0xd74ae6,cellHeight:_0x294f22,cellWidth:_0x46256a}of _0x4f57fc[_0x37e9('0x7a')](_0x29eec7,{'includeAllSlots':!0x0,..._0xe9ad11}))if(!_0xd74ae6||0x1!=_0x294f22||0x1!=_0x46256a)return!0x1;return!0x0;}
23
+ const _0x4b03=['nodeAfter','*Replace\x20table\x20cells*','isEmpty','tablePasteChainId','insertionRanges','createTableWalker','element','row','removeMarker','deletion','_suggestionFactory','removeColumns','ck-suggestion-marker--active','getRanges','trackChanges','name','tableCellBorderStyle','suggestion','getItems','getColumns','clipboardOutput','markerName','documentSelection','set','registerDescriptionCallback','registerPostFixer','change','getChangedMarkers','getSelectionAffectedTableCells','getRowIndexes','end','some','type','_createdBatches','insert','paragraph','differ','getContainedElement','markerAttributes','subType','return','first','document','discard','endRow','tablePasteCell','tableCellBorderColor','TrackChangesEditing','rowInsertionIndexes','listenTo','view','plugins','containsRange','markerToHighlight','previousSibling','nextSibling','schema','getChanges','start','suggestionLoaded','getRange','redo','requires','updateMarker','showSuggestionHighlights','removeMarkers','getShiftedBy','formatBlock','accept','$graveyard','rowInsertionRanges','getSuggestions','stop','cell','oldRange','attributes','low','previous','forceDefaultExecution','getChildren','tableCell','last','wrap','tableCellVerticalAlignment','tableCellSuggestion','tablePasteRow','tablePaste','filter','high','rows','tablePasteColumn','suggestion-td','reduce','includes','_descriptionFactory','insertRows','position','_isForcedDefaultExecutionBlock','getTableIfOnlyTableInContent','commands','map','_replaceTableSlotCell','createRangeIn','getChild','table','push','root','tableCellHorizontalAlignment','get','newRange','markMultiRangeDeletion','elementToElement','move','fill','getRows','startsWith','createPositionBefore','Users','fromEntries','isInContent','rootName','columnInsertionRanges','from','hasSuggestion','author','_splitMarkerName','columnInsertionIndexes','removeRows','TableUtils','deletionRanges','find','suggestion:formatBlock:tablePasteCell','insertColumns','getAttributes','has','register','markMultiRangeInsertion','getAllAdjacentSuggestions','tableCellBorderWidth','options','createRange','findAncestor','remove','getSuggestionCallback','createElement','columns','createRangeOn','getColumnIndexes','length','keys','for','cells','tableCellPadding','dataDowncast','registerCustomCallback','getMarkers','insertion','insertContent','markMultiRangeBlockFormat','editor','TableClipboard','unwrap','add','content','join','isEqual','setAttributes','value','model','conversion'];(function(_0x56a170,_0x4b0376){const _0x34b1c2=function(_0xd499d2){while(--_0xd499d2){_0x56a170['push'](_0x56a170['shift']());}};_0x34b1c2(++_0x4b0376);}(_0x4b03,0x1d0));const _0x34b1=function(_0x56a170,_0x4b0376){_0x56a170=_0x56a170-0x0;let _0x34b1c2=_0x4b03[_0x56a170];return _0x34b1c2;};import{getTranslation as _0x224e57}from'../utils/common-translations';import{Plugin as _0xa3052f}from'ckeditor5/src/core';import _0x3dac4d from'./table';import{uid as _0x27d298,priorities as _0x14a098}from'ckeditor5/src/utils';const ne=[_0x34b1('0xe'),_0x34b1('0x5c'),_0x34b1('0x3e'),_0x34b1('0x99'),_0x34b1('0x81'),'tableCellBackgroundColor',_0x34b1('0x1c')],le=Object[_0x34b1('0xa4')](ne[_0x34b1('0x92')](_0x3d9584=>[_0x3d9584,null]));export default class mt extends _0xa3052f{static get[_0x34b1('0x6c')](){return[_0x3dac4d];}['afterInit'](){const _0x1a2db5=this[_0x34b1('0x23')];if(!_0x1a2db5[_0x34b1('0x61')][_0x34b1('0xa')](_0x34b1('0x24')))return;const _0x5ce15c=_0x1a2db5[_0x34b1('0x61')]['get'](_0x34b1('0x5d')),_0xaeac72=_0x1a2db5[_0x34b1('0x61')][_0x34b1('0x9a')](_0x34b1('0x4')),_0x33a721=_0x1a2db5['plugins'][_0x34b1('0x9a')](_0x3dac4d),_0x5af848=_0x1a2db5[_0x34b1('0x61')][_0x34b1('0x9a')](_0x34b1('0x24'));_0x33a721['_tablePostFixingSubtypes'][_0x34b1('0x97')]('tablePasteRow',_0x34b1('0x88')),_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x66')][_0x34b1('0xb')](_0x34b1('0x82'),{'allowIn':_0x34b1('0x7e'),'allowContentOf':_0x34b1('0x7e'),'isLimit':!0x0}),_0x1a2db5[_0x34b1('0x2d')][_0x34b1('0x9d')]({'model':_0x34b1('0x82'),'view':_0x34b1('0x89')});let _0x1508b3=null;_0x1a2db5['model']['on'](_0x34b1('0x21'),(_0xb3a8ec,_0x26d01a)=>{const [_0x2d7e33,_0x26a530]=_0x26d01a,_0x3fa77d=_0x26d01a[_0x26d01a[_0x34b1('0x18')]-0x1];_0x3fa77d&&_0x3fa77d[_0x34b1('0x7c')]||_0x5ce15c[_0x34b1('0x8f')]||this[_0x34b1('0x23')][_0x34b1('0x91')]['get'](_0x34b1('0x3c'))[_0x34b1('0x2b')]&&function(_0x2de4c5,_0x21ddd9,_0x57cb00,_0x509381,_0x50e655){if(_0x21ddd9&&!_0x21ddd9['is'](_0x34b1('0x44')))return!0x1;const _0x2e7cd6=_0x50e655[_0x34b1('0x90')](_0x2de4c5,_0x57cb00);if(!_0x2e7cd6||!ae(_0x2e7cd6,null,_0x509381))return!0x1;const _0x39687c=_0x509381[_0x34b1('0x4a')](_0x57cb00[_0x34b1('0x58')]['selection']);if(!_0x39687c[_0x34b1('0x18')])return!0x1;const _0x7ae198=_0x39687c[0x0][_0x34b1('0x11')](_0x34b1('0x96')),_0xfce058=_0x509381[_0x34b1('0x4b')](_0x39687c),_0x118557=_0x509381[_0x34b1('0x17')](_0x39687c),_0x29b6b1={'startRow':_0xfce058[_0x34b1('0x57')],'endRow':_0xfce058[_0x34b1('0x7f')],'startColumn':_0x118557[_0x34b1('0x57')],'endColumn':_0x118557[_0x34b1('0x7f')]};return 0x1==_0x39687c[_0x34b1('0x18')]&&(_0x29b6b1[_0x34b1('0x5a')]+=_0x509381[_0x34b1('0xa0')](_0x2e7cd6)-0x1,_0x29b6b1['endColumn']+=_0x509381[_0x34b1('0x41')](_0x2e7cd6)-0x1),ae(_0x7ae198,_0x29b6b1,_0x509381);}(_0x2d7e33,_0x26a530,_0x1a2db5[_0x34b1('0x2c')],_0xaeac72,_0x5af848)&&(_0xb3a8ec['stop'](),_0x1508b3={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1a2db5['model'][_0x34b1('0x48')](()=>{_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x21')](_0x26d01a[0x0],_0x26d01a[0x1],_0x26d01a[0x2],_0x26d01a[0x3],{'forceDefaultExecution':!0x0});const _0x3d34f5=_0x27d298(),{rowInsertionRanges:_0x15761a,columnInsertionRanges:_0x1a952f,insertionRanges:_0x12b284,deletionRanges:_0x4993ee,cells:_0x228af0}=_0x1508b3;_0x15761a[_0x34b1('0x18')]&&_0x5ce15c[_0x34b1('0xc')](_0x15761a,_0x34b1('0x83'),{'tablePasteChainId':_0x3d34f5}),_0x1a952f[_0x34b1('0x18')]&&_0x5ce15c[_0x34b1('0xc')](_0x1a952f,_0x34b1('0x88'),{'tablePasteChainId':_0x3d34f5}),_0x12b284['length']&&_0x5ce15c[_0x34b1('0xc')](_0x12b284,'tablePaste',{'tablePasteChainId':_0x3d34f5,'skipNestingCheck':!0x0}),_0x4993ee[_0x34b1('0x18')]&&_0x5ce15c[_0x34b1('0x9c')](_0x4993ee,'tablePaste',{'tablePasteChainId':_0x3d34f5,'skipNestingCheck':!0x0});const _0x5dd8cd=_0x5ce15c[_0x34b1('0x22')](_0x228af0['map'](({element:_0x4878a7})=>_0x4878a7),{'formatGroupId':_0x27d298()},[],_0x34b1('0x5b'),{'tablePasteChainId':_0x3d34f5});if(_0x5dd8cd){const _0x3d475e=_0x5dd8cd[_0x34b1('0x1f')](),_0x5928e2=[];for(const {element:_0x56908b,attributes:_0x184555}of _0x228af0){if(!_0x184555)continue;const _0x4d36ec=_0x1a2db5['model'][_0x34b1('0x16')](_0x56908b),_0xa7dd22=_0x3d475e['find'](_0x131d35=>_0x131d35[_0x34b1('0x6a')]()[_0x34b1('0x29')](_0x4d36ec));_0xa7dd22&&_0x5928e2['push']([_0xa7dd22[_0x34b1('0x3d')],_0x184555]);}_0x5928e2['length']&&_0x5dd8cd['setAttribute'](_0x34b1('0x54'),Object[_0x34b1('0xa4')](_0x5928e2));}_0x1508b3=null;}));},{'priority':_0x14a098[_0x34b1('0x86')]+0xa}),_0x1a2db5[_0x34b1('0x61')][_0x34b1('0x9a')](_0x34b1('0x24'))['on'](_0x34b1('0x93'),(_0x1559ba,_0x105870)=>{const [_0x2de128,_0x1c6ec6,,_0x3581fa]=_0x105870;if(!_0x1508b3)return;_0x1559ba[_0x34b1('0x76')]();const _0x1fb37a=_0x2de128[_0x34b1('0x77')],_0x4f8e2e=_0x1c6ec6,_0x5cff53=se(_0x1fb37a),_0x7e6d7f=se(_0x4f8e2e);_0x1559ba[_0x34b1('0x56')]=_0x1fb37a;let _0x53f802=null,_0x4f8107=null;if(_0x7e6d7f||_0x5cff53){if(_0x5cff53&&!_0x7e6d7f){_0x3581fa['remove'](_0x1fb37a['getChild'](0x0));for(const _0x5a2957 of Array[_0x34b1('0xa8')](_0x4f8e2e[_0x34b1('0x7d')]()))_0x3581fa[_0x34b1('0x50')](_0x5a2957,_0x1fb37a,'end');const _0x40e56e=_0x1508b3[_0x34b1('0x5e')]['includes'](_0x2de128[_0x34b1('0x35')]),_0x3c0322=_0x1508b3[_0x34b1('0x2')][_0x34b1('0x8b')](_0x2de128['column']);_0x40e56e||_0x3c0322||(_0x53f802=_0x3581fa[_0x34b1('0x94')](_0x1fb37a));}else _0x7e6d7f&&!_0x5cff53&&(_0x4f8107=_0x3581fa[_0x34b1('0x94')](_0x1fb37a));}else{const _0x42a8ed=_0x3581fa[_0x34b1('0x14')]('tableCellSuggestion'),_0x5c0372=_0x3581fa['createElement'](_0x34b1('0x82'));_0x3581fa[_0x34b1('0x80')](_0x3581fa[_0x34b1('0x94')](_0x1fb37a),_0x5c0372),_0x3581fa['insert'](_0x42a8ed,_0x1fb37a,0x0);for(const _0xc7d27 of Array[_0x34b1('0xa8')](_0x4f8e2e[_0x34b1('0x7d')]()))_0x3581fa[_0x34b1('0x50')](_0xc7d27,_0x42a8ed,_0x34b1('0x4c'));_0x53f802=_0x3581fa[_0x34b1('0x16')](_0x42a8ed),_0x4f8107=_0x3581fa['createRangeOn'](_0x5c0372);}const _0x68318f=Array[_0x34b1('0xa8')](_0x4f8e2e[_0x34b1('0x9')]())[_0x34b1('0x85')](([_0x4242e0])=>ne[_0x34b1('0x8b')](_0x4242e0));_0x1508b3[_0x34b1('0x1b')][_0x34b1('0x97')]({'element':_0x1fb37a,'attributes':_0x68318f[_0x34b1('0x18')]?Object[_0x34b1('0xa4')](_0x68318f):null}),_0x53f802&&_0x1508b3[_0x34b1('0x32')][_0x34b1('0x97')](_0x53f802),_0x4f8107&&_0x1508b3[_0x34b1('0x5')][_0x34b1('0x97')](_0x4f8107);},{'priority':_0x34b1('0x86')}),_0xaeac72['on'](_0x34b1('0x8'),(_0x34ce12,_0x13e536)=>{const [_0x11195e,_0x5cdd33={}]=_0x13e536;if(!_0x1508b3)return;const _0x34a920=_0x5cdd33['at']||0x0,_0x5be945=_0x5cdd33[_0x34b1('0x15')]||0x1;_0x1508b3[_0x34b1('0x2')]=new Array(_0x5be945)[_0x34b1('0x9f')](_0x34a920)[_0x34b1('0x92')]((_0x29a551,_0x322fbd)=>_0x29a551+_0x322fbd);for(const {cell:_0x562fb1}of _0xaeac72['createTableWalker'](_0x11195e,{'startColumn':_0x34a920,'endColumn':_0x34a920+_0x5be945-0x1}))_0x1508b3[_0x34b1('0xa7')][_0x34b1('0x97')](_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x16')](_0x562fb1));},{'priority':_0x34b1('0x7a')}),_0xaeac72['on'](_0x34b1('0x8d'),(_0x12001c,_0x53522e)=>{const [_0x56b2a3,_0x1b398d={}]=_0x53522e;if(!_0x1508b3)return;const _0x52a775=_0x1b398d['at']||0x0,_0x1b4f4d=_0x1b398d[_0x34b1('0x87')]||0x1;_0x1508b3[_0x34b1('0x5e')]=new Array(_0x1b4f4d)[_0x34b1('0x9f')](_0x52a775)[_0x34b1('0x92')]((_0x5714b6,_0x542a49)=>_0x5714b6+_0x542a49);for(const {cell:_0x2b7263}of _0xaeac72[_0x34b1('0x33')](_0x56b2a3,{'startRow':_0x52a775,'endRow':_0x52a775+_0x1b4f4d-0x1}))_0x1508b3[_0x34b1('0x74')][_0x34b1('0x97')](_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x16')](_0x2b7263));},{'priority':_0x34b1('0x7a')}),_0x5ce15c[_0x34b1('0x8c')][_0x34b1('0x46')](_0x314ea2=>{if(_0x314ea2['subType']&&_0x314ea2[_0x34b1('0x55')]['startsWith'](_0x34b1('0x84')))return _0x314ea2['previous']?{}:{'type':_0x34b1('0x20'),'content':_0x224e57(_0x1a2db5['locale'],_0x34b1('0x2f'))};});const _0x210324=()=>{};for(const _0x2879c9 of['tablePaste',_0x34b1('0x88'),_0x34b1('0x83'),'tablePasteCell'])_0x5ce15c['_suggestionFactory'][_0x34b1('0x1e')](_0x34b1('0x20'),_0x2879c9,_0x34b1('0x28'),_0x210324),_0x5ce15c[_0x34b1('0x38')][_0x34b1('0x1e')]('deletion',_0x2879c9,'join',_0x210324);_0x5ce15c[_0x34b1('0x38')][_0x34b1('0x1e')]('formatBlock','tablePasteCell',_0x34b1('0x59'),_0x210324),_0x5ce15c[_0x34b1('0x38')][_0x34b1('0x1e')](_0x34b1('0x71'),_0x34b1('0x5b'),_0x34b1('0x72'),(_0x406f1a,_0x477505,_0x26b9ec)=>{const _0x1bb5a6=_0x406f1a[_0x34b1('0x92')](_0x2d30d5=>_0x2d30d5[_0x34b1('0x53')]())[_0x34b1('0x85')](_0x3b54e8=>_0x3b54e8),_0x2528fb=new Map(_0x1bb5a6['map'](_0x3a364d=>[_0x3a364d,null]));if(_0x1508b3)for(const {element:_0x2a3a1d,attributes:_0x1b98d8}of _0x1508b3[_0x34b1('0x1b')])_0x1b98d8&&_0x2528fb[_0x34b1('0x45')](_0x2a3a1d,_0x1b98d8);else{if(_0x26b9ec&&_0x26b9ec['markerAttributes'])for(const [_0xac8a10,_0x4a7550]of Object['entries'](_0x26b9ec[_0x34b1('0x54')])){const _0x30571c=_0x1a2db5['model']['markers'][_0x34b1('0x9a')](_0xac8a10),_0x2882f1=_0x30571c?_0x30571c['getRange']()[_0x34b1('0x53')]():null;_0x2882f1&&_0x2528fb[_0x34b1('0x45')](_0x2882f1,_0x4a7550);}}_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x48')](_0x572ae2=>{for(const [_0x2bba89,_0xef5825]of _0x2528fb)_0x572ae2[_0x34b1('0x2a')]({...le,..._0xef5825},_0x2bba89);});});const _0x51544e=(_0x228933,_0x4aa192)=>{_0x5ce15c[_0x34b1('0x38')]['registerCustomCallback'](_0x228933,'tablePaste',_0x4aa192,(_0x4ab897,_0xc3ca8d,_0x2ddb28)=>{_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x48')](_0x302a05=>{const _0x4f52c5=[];for(const _0x51ff3e of _0x4ab897){const _0x394f9f=_0x51ff3e[_0x34b1('0x68')][_0x34b1('0x2e')];_0x394f9f['is']('element','tableCellSuggestion')&&_0x4f52c5['push'](_0x394f9f);}_0x5ce15c['_suggestionFactory'][_0x34b1('0x13')](_0x228933,null,_0x4aa192)(_0x4ab897,_0xc3ca8d,_0x2ddb28);for(const _0xb2b877 of _0x4f52c5)_0x34b1('0x73')!=_0xb2b877[_0x34b1('0x98')][_0x34b1('0xa6')]&&_0x302a05[_0x34b1('0x25')](_0xb2b877);});});};_0x51544e(_0x34b1('0x20'),_0x34b1('0x72')),_0x51544e(_0x34b1('0x20'),'discard'),_0x51544e('deletion',_0x34b1('0x72')),_0x51544e(_0x34b1('0x37'),_0x34b1('0x59')),_0x5ce15c[_0x34b1('0x38')][_0x34b1('0x1e')](_0x34b1('0x20'),_0x34b1('0x83'),_0x34b1('0x59'),_0x1c50a9=>{const _0x3af8d0=_0x1c50a9[_0x34b1('0x92')](_0x19e832=>_0x19e832[_0x34b1('0x53')]()),_0x2b0e19=_0x3af8d0[0x0]['findAncestor'](_0x34b1('0x96')),{minRow:_0x5c03fa,maxRow:_0x5134e0}=_0x33a721['_getCoordsForCells'](_0x3af8d0);_0xaeac72[_0x34b1('0x3')](_0x2b0e19,{'at':_0x5c03fa,'rows':_0x5134e0-_0x5c03fa+0x1});}),_0x5ce15c['_suggestionFactory'][_0x34b1('0x1e')]('insertion',_0x34b1('0x88'),_0x34b1('0x59'),_0x277ef3=>{const _0x4fe0c5=_0x277ef3[_0x34b1('0x92')](_0x48710d=>_0x48710d[_0x34b1('0x53')]()),_0x586137=_0x4fe0c5[0x0][_0x34b1('0x11')](_0x34b1('0x96')),{minColumn:_0x13a5f6,maxColumn:_0x529267}=_0x33a721['_getCoordsForCells'](_0x4fe0c5);_0xaeac72[_0x34b1('0x39')](_0x586137,{'at':_0x13a5f6,'columns':_0x529267-_0x13a5f6+0x1});});const _0x31c0d4=(_0x19abde,_0x59cb01)=>{if(!_0x59cb01[_0x34b1('0x55')]||!_0x59cb01[_0x34b1('0x55')]['startsWith']('tablePaste'))return;const _0x32416e=_0x59cb01[_0x34b1('0x79')]['tablePasteChainId'],_0xc77285=_0x5ce15c[_0x34b1('0x75')]()[_0x34b1('0x85')](_0x1171ff=>_0x1171ff[_0x34b1('0xa5')]&&_0x1171ff[_0x34b1('0x79')]&&_0x1171ff[_0x34b1('0x79')]['tablePasteChainId']==_0x32416e);_0xc77285['length']&&_0x59cb01[_0x34b1('0xd')]()[_0x34b1('0x18')]!=_0xc77285[_0x34b1('0x18')]&&_0xc77285[_0x34b1('0x8a')]((_0x1fc5be,_0x1ebf1a)=>(_0x1fc5be['next']=_0x1ebf1a,_0x1ebf1a[_0x34b1('0x7b')]=_0x1fc5be,_0x1ebf1a));};function _0x311b80(_0x145cce,{showActiveMarker:_0x31d76=!0x0}={}){const {id:_0x5c3509}=_0x5ce15c['_splitMarkerName'](_0x145cce[_0x34b1('0x43')]),_0x5d8010=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x32086e=_0x5ce15c['activeMarkers'][_0x34b1('0x8b')](_0x145cce[_0x34b1('0x43')]);return _0x32086e&&_0x5d8010[_0x34b1('0x97')](_0x34b1('0x3a')),{'classes':_0x5d8010,'attributes':{'data-suggestion':_0x5c3509},'priority':_0x32086e&&_0x31d76?0xbc2:0xbb8};}_0x5ce15c['on'](_0x34b1('0x69'),_0x31c0d4,{'priority':_0x34b1('0x86')}),_0x5ce15c['on']('suggestionUnloaded',_0x31c0d4,{'priority':_0x34b1('0x86')}),_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x58')]['registerPostFixer'](()=>{let _0x485393=!0x1;const _0x5e522a=Array[_0x34b1('0xa8')](_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x58')][_0x34b1('0x52')][_0x34b1('0x49')]());for(const {name:_0x3b0fb0,data:_0x42d58f}of _0x5e522a){const {group:_0x3b7585,type:_0x52df8e,id:_0x5adf52}=_0x5ce15c[_0x34b1('0x1')](_0x3b0fb0);if(_0x34b1('0x3f')!=_0x3b7585||_0x34b1('0x37')!=_0x52df8e||_0x42d58f['oldRange'])continue;if(!_0x5ce15c[_0x34b1('0xa9')](_0x5adf52))continue;const _0xdcf5a=_0x5ce15c['getSuggestion'](_0x5adf52)[_0x34b1('0x3b')](),_0x12c3f6=_0x1a2db5[_0x34b1('0x61')][_0x34b1('0x9a')](_0x34b1('0xa3'))['me'];for(const _0xa37f87 of _0x5ce15c[_0x34b1('0x75')]()){if(!_0xa37f87[_0x34b1('0xa5')]||_0xa37f87['author']!=_0x12c3f6)continue;if('formatBlock'!=_0xa37f87[_0x34b1('0x4e')]||_0x34b1('0x5b')!=_0xa37f87[_0x34b1('0x55')])continue;if(_0xa37f87['getRanges']()['every'](_0x480560=>_0xdcf5a[_0x34b1('0x4d')](_0x77e562=>_0x77e562['containsRange'](_0x480560,!0x0))))for(const _0xb76e72 of _0xa37f87[_0x34b1('0xd')]())_0xb76e72[_0x34b1('0xa5')]&&(_0xb76e72['discard'](),_0x485393=!0x0);}}return _0x485393;}),_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x58')][_0x34b1('0x47')](_0x53b311=>{const _0x4d7e0c=_0x1a2db5[_0x34b1('0x91')]['get'](_0x34b1('0x6b'));if(!_0x4d7e0c||!_0x4d7e0c[_0x34b1('0x4f')]['has'](_0x53b311['batch']))return!0x1;let _0x1cffc7=!0x1;const _0xd44fc4=_0x1a2db5['plugins'][_0x34b1('0x9a')](_0x34b1('0xa3'))['me'],_0x28b985=_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x58')]['differ'][_0x34b1('0x67')](),_0x4c3a19=Array[_0x34b1('0xa8')](_0x1a2db5[_0x34b1('0x2c')]['document'][_0x34b1('0x52')][_0x34b1('0x49')]())[_0x34b1('0x85')](({name:_0x5eb327,data:_0x25f8d6})=>{const {group:_0x394501,subType:_0x185ff2,authorId:_0x1fd069}=_0x5ce15c[_0x34b1('0x1')](_0x5eb327);return'suggestion'==_0x394501&&_0x34b1('0x84')==_0x185ff2&&_0x1fd069==_0xd44fc4['id']&&!_0x25f8d6[_0x34b1('0x78')];});for(const _0x2804a0 of _0x28b985){if(_0x34b1('0x50')!=_0x2804a0[_0x34b1('0x4e')]||_0x34b1('0x82')!=_0x2804a0[_0x34b1('0x3d')]||0x1!=_0x2804a0[_0x34b1('0x18')])continue;const _0x1e1c1c=_0x53b311[_0x34b1('0x10')](_0x2804a0['position'],_0x2804a0[_0x34b1('0x8e')][_0x34b1('0x70')](0x1));if(!_0x4c3a19[_0x34b1('0x6')](({data:_0x514646})=>_0x514646[_0x34b1('0x9b')][_0x34b1('0x29')](_0x1e1c1c)))for(const {name:_0x43b4e7,data:_0x3e1fc3}of _0x4c3a19)if(_0x1e1c1c[_0x34b1('0x62')](_0x3e1fc3[_0x34b1('0x9b')])){_0x53b311[_0x34b1('0x6d')](_0x43b4e7,{'range':_0x1e1c1c}),_0x1cffc7=!0x0;break;}}return _0x1cffc7;}),_0x1a2db5[_0x34b1('0x2c')][_0x34b1('0x58')]['registerPostFixer'](_0x556f51=>{let _0x5ed4cf=!0x1;const _0x1ba57a=_0x1a2db5[_0x34b1('0x61')][_0x34b1('0x9a')](_0x34b1('0xa3'))['me'],_0x295d17=_0x5ce15c['getSuggestions']()[_0x34b1('0x85')](_0x46a9f6=>_0x46a9f6[_0x34b1('0xa5')]&&_0x46a9f6[_0x34b1('0x0')]==_0x1ba57a),_0x589141=new Set(),_0x2d8887=new Set();for(const _0x598e48 of _0x295d17)if(_0x34b1('0x84')==_0x598e48[_0x34b1('0x55')])for(const _0xaf15f2 of _0x598e48[_0x34b1('0x1f')]()){const _0x2cf568=_0xaf15f2['getRange']()[_0x34b1('0x53')]();if(_0x2cf568){if(_0x2cf568['is'](_0x34b1('0x34'),_0x34b1('0x82'))&&se(_0x2cf568)){_0x598e48[_0x34b1('0x36')](_0xaf15f2['name']),_0x589141[_0x34b1('0x26')](_0x2cf568),_0x5ed4cf=!0x0;const _0x438b32=_0x2cf568[_0x34b1('0x65')],_0x54ea5d=_0x2cf568[_0x34b1('0x64')],_0x4fab5b=_0x438b32&&_0x438b32['is'](_0x34b1('0x34'),_0x34b1('0x82')),_0x2d4efe=_0x54ea5d&&_0x54ea5d['is'](_0x34b1('0x34'),_0x34b1('0x82'));_0x4fab5b&&!_0x589141['has'](_0x438b32)&&_0x2d8887['add'](_0x438b32),_0x2d4efe&&!_0x589141[_0x34b1('0xa')](_0x54ea5d)&&_0x2d8887[_0x34b1('0x26')](_0x54ea5d);}else _0x2cf568['is']('element','paragraph')&&_0x2cf568[_0x34b1('0x30')]&&(_0x598e48['removeMarker'](_0xaf15f2[_0x34b1('0x3d')]),_0x5ed4cf=!0x0);}}else{if(_0x34b1('0x5b')==_0x598e48[_0x34b1('0x55')]){if(!_0x598e48[_0x34b1('0x79')]||!_0x598e48[_0x34b1('0x79')][_0x34b1('0x31')])continue;const _0x2bf9be=_0x598e48[_0x34b1('0x79')][_0x34b1('0x54')];if(_0x2bf9be&&Object[_0x34b1('0x19')](_0x2bf9be)[_0x34b1('0x18')])continue;const _0x52497d=_0x598e48[_0x34b1('0x79')][_0x34b1('0x31')];let _0x3d26a7=!0x0,_0x361805=!0x0;for(const _0x4b0280 of _0x295d17)if(_0x4b0280[_0x34b1('0x55')]&&_0x4b0280['subType'][_0x34b1('0xa1')](_0x34b1('0x84'))){if(!_0x4b0280[_0x34b1('0x79')]['tablePasteChainId']){_0x361805=!0x1;break;}if(_0x4b0280['id']!=_0x598e48['id']&&_0x4b0280[_0x34b1('0x79')][_0x34b1('0x31')]==_0x52497d){_0x3d26a7=!0x1;break;}}_0x361805&&_0x3d26a7&&(_0x598e48[_0x34b1('0x6f')](),_0x5ed4cf=!0x0);}}for(const _0x2fc8c2 of _0x589141)_0x556f51[_0x34b1('0x12')](_0x2fc8c2);for(const _0x119c5f of _0x2d8887)_0x556f51[_0x34b1('0x25')](_0x119c5f);return _0x5ed4cf;}),_0x1a2db5[_0x34b1('0x2d')]['for']('editingDowncast')[_0x34b1('0x63')]({'model':_0x34b1('0x7'),'view':_0x311b80,'converterPriority':'high'}),_0x1a2db5['conversion'][_0x34b1('0x1a')](_0x34b1('0x1d'))[_0x34b1('0x63')]({'model':_0x34b1('0x7'),'view':(_0x3b05da,_0x153708)=>{if(_0x153708[_0x34b1('0xf')][_0x34b1('0x6e')])return _0x311b80(_0x3b05da,{'showActiveMarker':!0x1});},'converterPriority':_0x34b1('0x86')});const _0x226789=_0x1a2db5['editing'][_0x34b1('0x60')];this[_0x34b1('0x5f')](_0x226789[_0x34b1('0x58')],_0x34b1('0x42'),(_0x4c37a4,_0x3aea1c)=>{const _0x4f25ff=[];for(const _0x565cd6 of _0x226789['createRangeIn'](_0x3aea1c[_0x34b1('0x27')])[_0x34b1('0x40')]())_0x565cd6['is'](_0x34b1('0x34'),_0x34b1('0x89'))&&_0x4f25ff[_0x34b1('0x97')](_0x565cd6);_0x226789[_0x34b1('0x48')](_0x41bfa0=>{for(const _0x5112fb of _0x4f25ff)_0x41bfa0[_0x34b1('0x9e')](_0x41bfa0['createRangeIn'](_0x5112fb),_0x41bfa0[_0x34b1('0xa2')](_0x5112fb)),_0x41bfa0['remove'](_0x5112fb);});});}}function se(_0x1cddaa){if(_0x1cddaa[_0x34b1('0x30')])return!0x0;const _0x427475=_0x1cddaa[_0x34b1('0x95')](0x0);return _0x427475['is'](_0x34b1('0x34'),_0x34b1('0x51'))&&_0x427475[_0x34b1('0x30')];}function ae(_0x1cc8b6,_0x212e9a={},_0x45beee){for(const {isAnchor:_0xa4faf,cellHeight:_0x1aa8e6,cellWidth:_0xa713d7}of _0x45beee[_0x34b1('0x33')](_0x1cc8b6,{'includeAllSlots':!0x0,..._0x212e9a}))if(!_0xa4faf||0x1!=_0x1aa8e6||0x1!=_0xa713d7)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc27b=['stop','removeAttribute','from','markerNameToElements','createRange','commandName','getSuggestion','options','value','activeMarkers','plugins','editing','writer','item','index','first','getAttribute','editor','childCount','ck-suggestion-marker--active','showSuggestionHighlights','addClass','createPositionAfter','ck-suggestion-marker-','headingColumns','TrackChangesEditing','consume','forceValue','parent','mapper','getCellLocation','format','document','getColumnIndexes','registerDescriptionCallback','data','downcastDispatcher','bindElementToMarker','registerCustomCallback','FORMAT_HEADER_ROW','FORMAT_REGULAR_COLUMN','markBlockFormat','toViewElement','TableUtils','cell','setAttribute','formatBlock','last','end','commands','setTableColumnHeader','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','markerName','removeClass','has','get','_descriptionFactory','removeMarker:suggestion','createPositionBefore','unbindElementFromMarkerName','getChild','setTableRowHeader','commandParams','markerRange','start','TableEditing','isBefore','locale','selection','data-suggestion','FORMAT_REGULAR_ROW','nodeAfter','change','nodeBefore','highest','addMarker:suggestion','enableCommand','getSelectionAffectedTableCells','includes','model','_splitMarkerName'];(function(_0x4fbfff,_0xc27b0c){const _0x58d270=function(_0xd89335){while(--_0xd89335){_0x4fbfff['push'](_0x4fbfff['shift']());}};_0x58d270(++_0xc27b0c);}(_0xc27b,0x1b3));const _0x58d2=function(_0x4fbfff,_0xc27b0c){_0x4fbfff=_0x4fbfff-0x0;let _0x58d270=_0xc27b[_0x4fbfff];return _0x58d270;};import{Plugin as _0x50960e}from'ckeditor5/src/core';import _0x4c3b87 from'./table';import{getTranslation as _0x28223f}from'../utils/common-translations';export default class lt extends _0x50960e{static get['requires'](){return[_0x4c3b87];}['afterInit'](){const _0x8a490a=this[_0x58d2('0x4a')];if(!_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1e')](_0x58d2('0x29')))return;const _0x33e578=_0x8a490a[_0x58d2('0x2b')],_0x35fec0=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x58d2('0x0')),_0x3f1d78=_0x8a490a['plugins']['get'](_0x58d2('0x12')),_0x5d1360=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x4c3b87);function _0x348943({showActiveMarker:_0x5b5716=!0x0,setDataAttribute:_0xac96ea=!0x0}={}){return(_0x44aa88,_0x561795,_0x298495)=>{const {type:_0x21afe7,id:_0xde6682}=_0x35fec0[_0x58d2('0x38')](_0x561795['markerName']),_0x10ff88=_0x35fec0[_0x58d2('0x3f')](_0xde6682);if(!_0x10ff88[_0x58d2('0xa')]||_0x58d2('0x19')!=_0x10ff88[_0x58d2('0xa')][_0x58d2('0x3e')])return;if(_0x561795[_0x58d2('0x46')])return void _0x44aa88[_0x58d2('0x39')]();if(!_0x298495['consumable'][_0x58d2('0x1')](_0x561795[_0x58d2('0x27')],_0x44aa88['name']))return;const _0x2cf89b=_0x561795[_0x58d2('0x27')][_0x58d2('0x28')][_0x58d2('0x2f')],_0x58fc67=_0x561795[_0x58d2('0x27')][_0x58d2('0x17')][_0x58d2('0x31')],_0x18a71f=_0x2cf89b[_0x58d2('0x3')][_0x58d2('0x3')],{column:_0x11b992}=_0x3f1d78['getCellLocation'](_0x2cf89b),{column:_0x4d9a9a}=_0x3f1d78[_0x58d2('0x5')](_0x58fc67);for(let _0x319ebe=_0x11b992;_0x319ebe<=_0x4d9a9a;_0x319ebe++){const _0x2bc82b=_0x3f1d78['createTableWalker'](_0x18a71f,{'column':_0x319ebe,'includeAllSlots':!0x1});for(const _0x17a04c of _0x2bc82b){const _0x47cea2=_0x17a04c[_0x58d2('0x13')],_0x154701=_0x298495[_0x58d2('0x4')][_0x58d2('0x11')](_0x47cea2);_0x298495[_0x58d2('0x45')][_0x58d2('0x4e')](_0x58d2('0x50')+_0x21afe7,_0x154701),_0xac96ea&&_0x298495[_0x58d2('0x45')][_0x58d2('0x14')]('data-suggestion',_0xde6682,_0x154701),_0x298495[_0x58d2('0x4')][_0x58d2('0xc')](_0x154701,_0x561795[_0x58d2('0x1c')]),_0x5b5716&&(_0x35fec0[_0x58d2('0x42')][_0x58d2('0x36')](_0x561795[_0x58d2('0x1c')])?_0x298495[_0x58d2('0x45')][_0x58d2('0x4e')](_0x58d2('0x4c'),_0x154701):_0x298495[_0x58d2('0x45')][_0x58d2('0x1d')]('ck-suggestion-marker--active',_0x154701));}}};}_0x35fec0['enableCommand'](_0x58d2('0x25'),(_0x2f0793,_0x2c5cdb)=>{const _0x522a9c=_0x3f1d78[_0x58d2('0x35')](_0x8a490a[_0x58d2('0x37')]['document']['selection']),_0x5f178f=_0x3f1d78['getRowIndexes'](_0x522a9c),_0x1440bb=_0x522a9c[0x0]['findAncestor']('table'),_0x140163=_0x1440bb[_0x58d2('0x49')]('headingRows')||0x0,_0x5aeb1a=_0x2c5cdb&&null!==_0x2c5cdb['forceValue']?_0x2c5cdb['forceValue']:!_0x8a490a[_0x58d2('0x18')][_0x58d2('0x1f')](_0x58d2('0x25'))[_0x58d2('0x41')],_0x4c43f0=_0x5aeb1a?_0x5f178f[_0x58d2('0x16')]:_0x5f178f[_0x58d2('0x48')],_0x441b80=_0x1440bb[_0x58d2('0x24')](_0x4c43f0);let _0x51c332;if(_0x5aeb1a){const _0xa20f0e=_0x1440bb['getChild'](_0x140163);if(_0x441b80[_0x58d2('0x47')]<_0xa20f0e[_0x58d2('0x47')])return;_0x51c332=_0x8a490a[_0x58d2('0x37')]['createRange'](_0x8a490a['model'][_0x58d2('0x22')](_0xa20f0e[_0x58d2('0x24')](0x0)),_0x8a490a['model'][_0x58d2('0x4f')](_0x441b80[_0x58d2('0x24')](_0x441b80[_0x58d2('0x4b')]-0x1)));}else{const _0x3f026f=_0x1440bb['getChild'](_0x140163-0x1);if(!_0x3f026f)return;_0x51c332=_0x8a490a['model']['createRange'](_0x8a490a['model'][_0x58d2('0x22')](_0x441b80['getChild'](0x0)),_0x8a490a[_0x58d2('0x37')]['createPositionAfter'](_0x3f026f[_0x58d2('0x24')](_0x3f026f['childCount']-0x1)));}_0x8a490a[_0x58d2('0x37')][_0x58d2('0x30')](()=>{_0x35fec0[_0x58d2('0x10')](_0x51c332,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x5aeb1a}]},[],_0x58d2('0x25'));});}),_0x35fec0[_0x58d2('0x34')](_0x58d2('0x19'),(_0x5e7136,_0xf16269)=>{const _0xddc4c9=_0x8a490a[_0x58d2('0x43')][_0x58d2('0x1f')](_0x58d2('0x12')),_0x21b96b=_0xddc4c9[_0x58d2('0x35')](_0x8a490a[_0x58d2('0x37')][_0x58d2('0x7')][_0x58d2('0x2c')]),_0x3a319a=_0xddc4c9[_0x58d2('0x8')](_0x21b96b),_0x5d2536=_0x21b96b[0x0]['findAncestor']('table'),_0x4ca885=_0x5d2536['getAttribute'](_0x58d2('0x51'))||0x0,_0x227936=_0xf16269&&null!==_0xf16269[_0x58d2('0x2')]?_0xf16269[_0x58d2('0x2')]:!_0x8a490a[_0x58d2('0x18')][_0x58d2('0x1f')](_0x58d2('0x19'))['value'];let _0x143c31;const _0x353c9b=_0x5d2536[_0x58d2('0x24')](0x0),_0x3fe4e0=_0x227936?_0x3a319a[_0x58d2('0x16')]:_0x3a319a[_0x58d2('0x48')],_0x27d670=_0xddc4c9['createTableWalker'](_0x5d2536,{'startRow':0x0,'column':_0x3fe4e0,'includeAllSlots':!0x1}),_0x5dc0f3=Array[_0x58d2('0x3b')](_0x27d670)[0x0][_0x58d2('0x13')];if(_0x227936){const _0x428bfc=_0x353c9b['getChild'](_0x4ca885);if(_0x5dc0f3[_0x58d2('0x2a')](_0x428bfc))return;_0x143c31=_0x8a490a[_0x58d2('0x37')][_0x58d2('0x3d')](_0x8a490a[_0x58d2('0x37')][_0x58d2('0x22')](_0x428bfc),_0x8a490a[_0x58d2('0x37')][_0x58d2('0x4f')](_0x5dc0f3));}else{const _0x8ad23a=_0x353c9b['getChild'](_0x4ca885-0x1);if(!_0x8ad23a)return;_0x143c31=_0x8a490a[_0x58d2('0x37')][_0x58d2('0x3d')](_0x8a490a[_0x58d2('0x37')]['createPositionBefore'](_0x5dc0f3),_0x8a490a[_0x58d2('0x37')]['createPositionAfter'](_0x8ad23a));}_0x8a490a['model']['change'](()=>{_0x35fec0['markBlockFormat'](_0x143c31,{'commandName':_0x58d2('0x19'),'commandParams':[{'forceValue':_0x227936}]},[],_0x58d2('0x19'));});}),_0x8a490a[_0x58d2('0x44')][_0x58d2('0xb')]['on']('addMarker:suggestion',_0x348943(),{'priority':_0x58d2('0x32')}),_0x8a490a[_0x58d2('0xa')]['downcastDispatcher']['on'](_0x58d2('0x33'),(_0x51ed2d,_0x5b9eeb,_0x2be7f7)=>{_0x2be7f7[_0x58d2('0x40')][_0x58d2('0x4d')]&&_0x348943({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x51ed2d,_0x5b9eeb,_0x2be7f7);},{'priority':_0x58d2('0x32')}),_0x8a490a[_0x58d2('0x44')]['downcastDispatcher']['on'](_0x58d2('0x21'),(_0x2c1f0a,_0x524abe,_0x3a04de)=>{const {type:_0x41fe44,id:_0x5886bb}=_0x35fec0[_0x58d2('0x38')](_0x524abe[_0x58d2('0x1c')]),_0x22242a=_0x35fec0[_0x58d2('0x3f')](_0x5886bb);if(!_0x22242a[_0x58d2('0xa')]||_0x58d2('0x19')!=_0x22242a[_0x58d2('0xa')]['commandName'])return;const _0x3e1f13=_0x3a04de[_0x58d2('0x4')][_0x58d2('0x3c')](_0x524abe[_0x58d2('0x1c')]);if(_0x3e1f13)for(const _0x44cea4 of _0x3e1f13)_0x3a04de['writer'][_0x58d2('0x1d')](_0x58d2('0x50')+_0x41fe44,_0x44cea4),_0x3a04de[_0x58d2('0x45')][_0x58d2('0x1d')]('ck-suggestion-marker--active',_0x44cea4),_0x3a04de['writer'][_0x58d2('0x3a')](_0x58d2('0x2d'),_0x44cea4),_0x3a04de[_0x58d2('0x4')][_0x58d2('0x23')](_0x44cea4,_0x524abe[_0x58d2('0x1c')]);},{'priority':_0x58d2('0x32')}),_0x35fec0[_0x58d2('0x20')][_0x58d2('0x9')](_0x8db9c3=>{const {data:_0x4ea25d}=_0x8db9c3;if(_0x4ea25d){if('setTableRowHeader'==_0x4ea25d['commandName']){const _0x496a55=_0x4ea25d[_0x58d2('0x26')][0x0][_0x58d2('0x2')];return _0x11ac09(_0x28223f(_0x33e578,_0x496a55?_0x58d2('0xe'):_0x58d2('0x2e')));}if(_0x58d2('0x19')==_0x4ea25d[_0x58d2('0x3e')]){const _0x1d5399=_0x4ea25d['commandParams'][0x0][_0x58d2('0x2')];return _0x11ac09(_0x28223f(_0x33e578,_0x1d5399?'FORMAT_HEADER_COLUMN':_0x58d2('0xf')));}}function _0x11ac09(_0x224bd8){return{'type':_0x58d2('0x6'),'content':_0x28223f(_0x33e578,'*Format:*\x20%0',_0x224bd8)};}});const _0xddb052=_0x5d1360[_0x58d2('0x1a')]();_0x35fec0['_suggestionFactory'][_0x58d2('0xd')](_0x58d2('0x15'),'setTableRowHeader','accept',_0xddb052),_0x35fec0[_0x58d2('0x1b')]['registerCustomCallback'](_0x58d2('0x15'),_0x58d2('0x19'),'accept',_0xddb052);}}
23
+ const _0x2b33=['createPositionAfter','document','FORMAT_HEADER_ROW','getRowIndexes','item','includes','showSuggestionHighlights','commandParams','getCellLocation','markerName','highest','parent','commands','removeClass','markerRange','findAncestor','commandName','_splitMarkerName','formatBlock','nodeAfter','index','ck-suggestion-marker--active','setTableColumnHeader','childCount','model','has','unbindElementFromMarkerName','getColumnIndexes','forceValue','last','bindElementToMarker','cell','writer','_descriptionFactory','selection','removeMarker:suggestion','markerNameToElements','from','consume','removeAttribute','TrackChangesEditing','plugins','headingRows','getSuggestion','change','mapper','isBefore','consumable','afterInit','markBlockFormat','setTableRowHeader','editor','getAttribute','FORMAT_REGULAR_COLUMN','accept','getSelectionAffectedTableCells','getChild','ck-suggestion-marker-','FORMAT_REGULAR_ROW','data','nodeBefore','value','get','registerDescriptionCallback','end','createPositionBefore','editing','FORMAT_HEADER_COLUMN','registerCustomCallback','name','table','downcastDispatcher','setAttribute','toViewElement','createTableWalker','TableUtils','format','TableEditing','headingColumns','_suggestionFactory','addMarker:suggestion','first','data-suggestion','createRange'];(function(_0x392a7a,_0x2b3383){const _0x5ab863=function(_0xecdf78){while(--_0xecdf78){_0x392a7a['push'](_0x392a7a['shift']());}};_0x5ab863(++_0x2b3383);}(_0x2b33,0x154));const _0x5ab8=function(_0x392a7a,_0x2b3383){_0x392a7a=_0x392a7a-0x0;let _0x5ab863=_0x2b33[_0x392a7a];return _0x5ab863;};import{Plugin as _0x2367d6}from'ckeditor5/src/core';import _0x459239 from'./table';import{getTranslation as _0x53723f}from'../utils/common-translations';export default class lt extends _0x2367d6{static get['requires'](){return[_0x459239];}[_0x5ab8('0x2c')](){const _0x8de842=this[_0x5ab8('0x2f')];if(!_0x8de842[_0x5ab8('0x25')][_0x5ab8('0x15')](_0x5ab8('0x49')))return;const _0x4862a4=_0x8de842['locale'],_0xadc9f8=_0x8de842[_0x5ab8('0x25')][_0x5ab8('0x3a')](_0x5ab8('0x24')),_0x250678=_0x8de842[_0x5ab8('0x25')][_0x5ab8('0x3a')](_0x5ab8('0x47')),_0x1b232f=_0x8de842[_0x5ab8('0x25')][_0x5ab8('0x3a')](_0x459239);function _0x449cce({showActiveMarker:_0x373968=!0x0,setDataAttribute:_0x288ce5=!0x0}={}){return(_0x10e18b,_0x1503aa,_0x479807)=>{const {type:_0x18efa3,id:_0x30ce1c}=_0xadc9f8[_0x5ab8('0xd')](_0x1503aa[_0x5ab8('0x5')]),_0x5e38af=_0xadc9f8[_0x5ab8('0x27')](_0x30ce1c);if(!_0x5e38af[_0x5ab8('0x37')]||_0x5ab8('0x12')!=_0x5e38af[_0x5ab8('0x37')][_0x5ab8('0xc')])return;if(_0x1503aa[_0x5ab8('0x0')])return void _0x10e18b['stop']();if(!_0x479807[_0x5ab8('0x2b')][_0x5ab8('0x22')](_0x1503aa[_0x5ab8('0xa')],_0x10e18b[_0x5ab8('0x41')]))return;const _0x5baa16=_0x1503aa[_0x5ab8('0xa')]['start'][_0x5ab8('0xf')],_0x48fa45=_0x1503aa[_0x5ab8('0xa')][_0x5ab8('0x3c')][_0x5ab8('0x38')],_0x559fa6=_0x5baa16[_0x5ab8('0x7')][_0x5ab8('0x7')],{column:_0x3987ff}=_0x250678['getCellLocation'](_0x5baa16),{column:_0x25828d}=_0x250678[_0x5ab8('0x4')](_0x48fa45);for(let _0x5a6e9a=_0x3987ff;_0x5a6e9a<=_0x25828d;_0x5a6e9a++){const _0x35d88c=_0x250678[_0x5ab8('0x46')](_0x559fa6,{'column':_0x5a6e9a,'includeAllSlots':!0x1});for(const _0x519737 of _0x35d88c){const _0x4ce3cf=_0x519737[_0x5ab8('0x1b')],_0x45d821=_0x479807[_0x5ab8('0x29')][_0x5ab8('0x45')](_0x4ce3cf);_0x479807[_0x5ab8('0x1c')]['addClass'](_0x5ab8('0x35')+_0x18efa3,_0x45d821),_0x288ce5&&_0x479807[_0x5ab8('0x1c')][_0x5ab8('0x44')](_0x5ab8('0x4e'),_0x30ce1c,_0x45d821),_0x479807[_0x5ab8('0x29')][_0x5ab8('0x1a')](_0x45d821,_0x1503aa[_0x5ab8('0x5')]),_0x373968&&(_0xadc9f8['activeMarkers'][_0x5ab8('0x1')](_0x1503aa[_0x5ab8('0x5')])?_0x479807['writer']['addClass'](_0x5ab8('0x11'),_0x45d821):_0x479807[_0x5ab8('0x1c')][_0x5ab8('0x9')](_0x5ab8('0x11'),_0x45d821));}}};}_0xadc9f8['enableCommand'](_0x5ab8('0x2e'),(_0x246574,_0x5e337c)=>{const _0x41e855=_0x250678['getSelectionAffectedTableCells'](_0x8de842['model'][_0x5ab8('0x51')][_0x5ab8('0x1e')]),_0x28fe64=_0x250678[_0x5ab8('0x53')](_0x41e855),_0x33f04d=_0x41e855[0x0][_0x5ab8('0xb')]('table'),_0xab57ca=_0x33f04d[_0x5ab8('0x30')](_0x5ab8('0x26'))||0x0,_0xe4ff35=_0x5e337c&&null!==_0x5e337c[_0x5ab8('0x18')]?_0x5e337c[_0x5ab8('0x18')]:!_0x8de842[_0x5ab8('0x8')][_0x5ab8('0x3a')](_0x5ab8('0x2e'))[_0x5ab8('0x39')],_0x2f99ae=_0xe4ff35?_0x28fe64[_0x5ab8('0x19')]:_0x28fe64[_0x5ab8('0x4d')],_0xd0aa05=_0x33f04d[_0x5ab8('0x34')](_0x2f99ae);let _0x129b66;if(_0xe4ff35){const _0x1ecdd8=_0x33f04d[_0x5ab8('0x34')](_0xab57ca);if(_0xd0aa05[_0x5ab8('0x10')]<_0x1ecdd8[_0x5ab8('0x10')])return;_0x129b66=_0x8de842['model'][_0x5ab8('0x4f')](_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x3d')](_0x1ecdd8['getChild'](0x0)),_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x50')](_0xd0aa05[_0x5ab8('0x34')](_0xd0aa05[_0x5ab8('0x13')]-0x1)));}else{const _0x364f2e=_0x33f04d[_0x5ab8('0x34')](_0xab57ca-0x1);if(!_0x364f2e)return;_0x129b66=_0x8de842['model'][_0x5ab8('0x4f')](_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x3d')](_0xd0aa05['getChild'](0x0)),_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x50')](_0x364f2e[_0x5ab8('0x34')](_0x364f2e[_0x5ab8('0x13')]-0x1)));}_0x8de842['model'][_0x5ab8('0x28')](()=>{_0xadc9f8[_0x5ab8('0x2d')](_0x129b66,{'commandName':_0x5ab8('0x2e'),'commandParams':[{'forceValue':_0xe4ff35}]},[],_0x5ab8('0x2e'));});}),_0xadc9f8['enableCommand']('setTableColumnHeader',(_0x478c92,_0x100ad9)=>{const _0x5bc45e=_0x8de842['plugins'][_0x5ab8('0x3a')](_0x5ab8('0x47')),_0x1c1866=_0x5bc45e[_0x5ab8('0x33')](_0x8de842['model']['document'][_0x5ab8('0x1e')]),_0x167ac6=_0x5bc45e[_0x5ab8('0x17')](_0x1c1866),_0x1f5812=_0x1c1866[0x0][_0x5ab8('0xb')](_0x5ab8('0x42')),_0x5970cd=_0x1f5812[_0x5ab8('0x30')](_0x5ab8('0x4a'))||0x0,_0x422195=_0x100ad9&&null!==_0x100ad9['forceValue']?_0x100ad9[_0x5ab8('0x18')]:!_0x8de842[_0x5ab8('0x8')][_0x5ab8('0x3a')](_0x5ab8('0x12'))[_0x5ab8('0x39')];let _0xd7bbe;const _0x20161f=_0x1f5812[_0x5ab8('0x34')](0x0),_0x243700=_0x422195?_0x167ac6[_0x5ab8('0x19')]:_0x167ac6[_0x5ab8('0x4d')],_0x1358a5=_0x5bc45e[_0x5ab8('0x46')](_0x1f5812,{'startRow':0x0,'column':_0x243700,'includeAllSlots':!0x1}),_0x234a9f=Array[_0x5ab8('0x21')](_0x1358a5)[0x0]['cell'];if(_0x422195){const _0x2295ec=_0x20161f[_0x5ab8('0x34')](_0x5970cd);if(_0x234a9f[_0x5ab8('0x2a')](_0x2295ec))return;_0xd7bbe=_0x8de842[_0x5ab8('0x14')]['createRange'](_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x3d')](_0x2295ec),_0x8de842['model'][_0x5ab8('0x50')](_0x234a9f));}else{const _0xbd1a80=_0x20161f['getChild'](_0x5970cd-0x1);if(!_0xbd1a80)return;_0xd7bbe=_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x4f')](_0x8de842[_0x5ab8('0x14')]['createPositionBefore'](_0x234a9f),_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x50')](_0xbd1a80));}_0x8de842[_0x5ab8('0x14')][_0x5ab8('0x28')](()=>{_0xadc9f8[_0x5ab8('0x2d')](_0xd7bbe,{'commandName':_0x5ab8('0x12'),'commandParams':[{'forceValue':_0x422195}]},[],_0x5ab8('0x12'));});}),_0x8de842[_0x5ab8('0x3e')]['downcastDispatcher']['on'](_0x5ab8('0x4c'),_0x449cce(),{'priority':_0x5ab8('0x6')}),_0x8de842[_0x5ab8('0x37')][_0x5ab8('0x43')]['on']('addMarker:suggestion',(_0xb2457c,_0x298bf6,_0x3c511e)=>{_0x3c511e['options'][_0x5ab8('0x2')]&&_0x449cce({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0xb2457c,_0x298bf6,_0x3c511e);},{'priority':_0x5ab8('0x6')}),_0x8de842[_0x5ab8('0x3e')]['downcastDispatcher']['on'](_0x5ab8('0x1f'),(_0x6b8d25,_0x57d00b,_0x3c2dca)=>{const {type:_0x21f25f,id:_0x530e35}=_0xadc9f8[_0x5ab8('0xd')](_0x57d00b['markerName']),_0x352628=_0xadc9f8[_0x5ab8('0x27')](_0x530e35);if(!_0x352628[_0x5ab8('0x37')]||_0x5ab8('0x12')!=_0x352628[_0x5ab8('0x37')]['commandName'])return;const _0x206744=_0x3c2dca[_0x5ab8('0x29')][_0x5ab8('0x20')](_0x57d00b[_0x5ab8('0x5')]);if(_0x206744)for(const _0x2779c6 of _0x206744)_0x3c2dca[_0x5ab8('0x1c')]['removeClass'](_0x5ab8('0x35')+_0x21f25f,_0x2779c6),_0x3c2dca[_0x5ab8('0x1c')][_0x5ab8('0x9')](_0x5ab8('0x11'),_0x2779c6),_0x3c2dca[_0x5ab8('0x1c')][_0x5ab8('0x23')](_0x5ab8('0x4e'),_0x2779c6),_0x3c2dca[_0x5ab8('0x29')][_0x5ab8('0x16')](_0x2779c6,_0x57d00b[_0x5ab8('0x5')]);},{'priority':'highest'}),_0xadc9f8[_0x5ab8('0x1d')][_0x5ab8('0x3b')](_0x57bff8=>{const {data:_0x568cc1}=_0x57bff8;if(_0x568cc1){if('setTableRowHeader'==_0x568cc1[_0x5ab8('0xc')]){const _0xb30fb4=_0x568cc1[_0x5ab8('0x3')][0x0][_0x5ab8('0x18')];return _0x13b21e(_0x53723f(_0x4862a4,_0xb30fb4?_0x5ab8('0x52'):_0x5ab8('0x36')));}if(_0x5ab8('0x12')==_0x568cc1[_0x5ab8('0xc')]){const _0x115b1b=_0x568cc1['commandParams'][0x0][_0x5ab8('0x18')];return _0x13b21e(_0x53723f(_0x4862a4,_0x115b1b?_0x5ab8('0x3f'):_0x5ab8('0x31')));}}function _0x13b21e(_0x5c7401){return{'type':_0x5ab8('0x48'),'content':_0x53723f(_0x4862a4,'*Format:*\x20%0',_0x5c7401)};}});const _0x55bd69=_0x1b232f['_acceptFormatSuggestionCallbackFactory']();_0xadc9f8[_0x5ab8('0x4b')]['registerCustomCallback']('formatBlock',_0x5ab8('0x2e'),_0x5ab8('0x32'),_0x55bd69),_0xadc9f8['_suggestionFactory'][_0x5ab8('0x40')](_0x5ab8('0xe'),_0x5ab8('0x12'),_0x5ab8('0x32'),_0x55bd69);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x568c=['commands','TableUtils','length','author','trackChanges','add','deletion','getCellLocation','model','from','mergeTableCellRight','change','document','highest','_tablePostFixingSubtypes','selection','format','table','cell','get','isInContent','_suggestionFactory','has','*Split\x20cell:*\x20horizontally','stop','getSuggestions','getSelectionAffectedTableCells','$graveyard','execute','createTableWalker','splitTableCellVertically','findAncestor','push','mergeTableCellUp','root','mergeTableCellDown','TrackChangesEditing','size','getFirstPosition','mergeTableCellLeft','registerCustomCallback','_areMergableCells','mergeTableCells','type','accept','getRanges','splitTableCellHorizontally','set:isEnabled','locale','getAncestors','plugins','filter','createRangeOn','_descriptionFactory','_areSelectedCellsMergable','insertion','markMultiRangeBlockFormat','formatBlock','subType','enableCommand','value','editor','afterInit','element','setSelection','detach','containsRange','commandName','fromRange','tableCell','map','TableEditing','registerDescriptionCallback','refresh','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20vertically','find'];(function(_0x425813,_0x568c8c){const _0x25c9fe=function(_0x292eea){while(--_0x292eea){_0x425813['push'](_0x425813['shift']());}};_0x25c9fe(++_0x568c8c);}(_0x568c,0x17a));const _0x25c9=function(_0x425813,_0x568c8c){_0x425813=_0x425813-0x0;let _0x25c9fe=_0x568c[_0x425813];return _0x25c9fe;};import{Plugin as _0x1f3155}from'ckeditor5/src/core';import _0x323306 from'./table';import{LiveRange as _0x3a2684}from'ckeditor5/src/engine';import{getTranslation as _0x5131cf}from'../utils/common-translations';export default class gt extends _0x1f3155{static get['requires'](){return[_0x323306];}[_0x25c9('0x45')](){const _0x343791=this[_0x25c9('0x44')],_0x1dca36=_0x343791[_0x25c9('0xf')][_0x25c9('0x13')][_0x25c9('0x16')],_0x1b0782=_0x343791[_0x25c9('0x37')];if(!_0x343791[_0x25c9('0x39')][_0x25c9('0x1d')](_0x25c9('0x1')))return;const _0x4a921c=_0x343791[_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x2b')),_0x38176a=_0x343791['plugins'][_0x25c9('0x1a')]('TableUtils'),_0x2739df=_0x343791['plugins']['get'](_0x323306);_0x2739df[_0x25c9('0x15')][_0x25c9('0x27')](_0x25c9('0x31')),_0x4a921c[_0x25c9('0x42')]('mergeTableCells',()=>{const _0x5a8118=_0x38176a[_0x25c9('0x21')](_0x343791[_0x25c9('0xf')][_0x25c9('0x13')][_0x25c9('0x16')]);_0x343791[_0x25c9('0xf')][_0x25c9('0x12')](()=>{_0x4a921c[_0x25c9('0x3f')](_0x5a8118,{'commandName':_0x25c9('0x31'),'commandParams':[]},[],_0x25c9('0x31'));});}),_0x343791[_0x25c9('0x7')]['get'](_0x25c9('0x31'))['on'](_0x25c9('0x23'),(_0x46616f,_0x13ec2d)=>{_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x25c9('0xb'))[_0x25c9('0x43')]&&(_0x13ec2d[_0x25c9('0x9')]>0x0&&_0x13ec2d[_0x13ec2d[_0x25c9('0x9')]-0x1]&&_0x13ec2d[_0x13ec2d['length']-0x1]['forceDefaultExecution']||_0x4a921c[_0x25c9('0x4')]||this[_0x25c9('0x3d')]()||_0x46616f[_0x25c9('0x1f')]());},{'priority':_0x25c9('0x14')});for(const _0x2c1021 of['mergeTableCellUp',_0x25c9('0x11'),'mergeTableCellDown',_0x25c9('0x2e')]){const _0x363fe2=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x2c1021);_0x4a921c['enableCommand'](_0x2c1021,()=>{const _0x44ca3d=_0x343791[_0x25c9('0xf')][_0x25c9('0x13')]['selection']['getFirstPosition']()[_0x25c9('0x38')]()[_0x25c9('0x6')](_0x17f42b=>_0x17f42b['is']('element','tableCell')),_0x394e60=_0x363fe2[_0x25c9('0x43')];_0x343791['model'][_0x25c9('0x12')](()=>{_0x4a921c['markMultiRangeBlockFormat']([_0x44ca3d,_0x394e60],{'commandName':'mergeTableCells','commandParams':[]},[],_0x25c9('0x31'));});});}for(const _0x3e4bad of[_0x25c9('0x25'),_0x25c9('0x35')]){const _0x679544=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x3e4bad);_0x4a921c[_0x25c9('0x42')](_0x3e4bad,()=>{const _0x490761=_0x38176a[_0x25c9('0x21')](_0x343791[_0x25c9('0xf')]['document'][_0x25c9('0x16')])[0x0],_0x110ce7=_0x490761[_0x25c9('0x26')](_0x25c9('0x18')),{column:_0x549d6e,row:_0x3db495}=_0x38176a[_0x25c9('0xe')](_0x490761);let _0xd93858=[];if('horizontally'==_0x679544['direction']){const _0x34cbf8=_0x38176a[_0x25c9('0x24')](_0x110ce7,{'startRow':_0x3db495,'endRow':_0x3db495,'includeAllSlots':!0x0});_0xd93858=Array[_0x25c9('0x10')](_0x34cbf8)['map'](_0x1cd17f=>_0x1cd17f[_0x25c9('0x19')]);}else{const _0x211866=_0x38176a[_0x25c9('0x24')](_0x110ce7,{'column':_0x549d6e,'includeAllSlots':!0x0});_0xd93858=Array[_0x25c9('0x10')](_0x211866)[_0x25c9('0x0')](_0x372fec=>_0x372fec['cell']);}_0x343791[_0x25c9('0xf')]['change'](_0x689228=>{_0x4a921c['markBlockFormat'](_0x689228[_0x25c9('0x3b')](_0x490761),{'commandName':_0x3e4bad,'commandParams':[]},_0xd93858,_0x3e4bad);});});}_0x4a921c[_0x25c9('0x3c')][_0x25c9('0x2')](_0x4368cd=>{const {data:_0xa6c06c}=_0x4368cd;if(_0xa6c06c)return _0x25c9('0x31')==_0xa6c06c[_0x25c9('0x4a')]?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,'*Merge\x20cells*')}:void 0x0;}),_0x4a921c[_0x25c9('0x3c')][_0x25c9('0x2')](_0x18bd93=>{const {data:_0x259d5d}=_0x18bd93;if(_0x259d5d)return'splitTableCellVertically'==_0x259d5d['commandName']?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,_0x25c9('0x5'))}:_0x25c9('0x35')==_0x259d5d['commandName']?{'type':_0x25c9('0x17'),'content':_0x5131cf(_0x1b0782,_0x25c9('0x1e'))}:void 0x0;});const _0xff0729=_0x2739df['_acceptFormatSuggestionCallbackFactory']();for(const _0x7eedd5 of[_0x25c9('0x28'),'mergeTableCellRight',_0x25c9('0x2a'),_0x25c9('0x2e')])_0x4a921c[_0x25c9('0x1c')]['registerCustomCallback'](_0x25c9('0x40'),_0x7eedd5,_0x25c9('0x33'),_0xff0729);for(const _0x48f48a of[_0x25c9('0x25'),'splitTableCellHorizontally'])_0x4a921c[_0x25c9('0x1c')][_0x25c9('0x2f')](_0x25c9('0x40'),_0x48f48a,'accept',_0xff0729);_0x4a921c[_0x25c9('0x1c')][_0x25c9('0x2f')](_0x25c9('0x40'),_0x25c9('0x31'),_0x25c9('0x33'),_0x5aaa28=>{_0x343791[_0x25c9('0xf')]['change'](_0x5ad402=>{const _0x5e5077=Array[_0x25c9('0x10')](_0x1dca36[_0x25c9('0x34')]())[_0x25c9('0x0')](_0x2023ae=>_0x3a2684[_0x25c9('0x4b')](_0x2023ae));_0x5ad402['setSelection'](_0x5aaa28),_0x343791[_0x25c9('0x7')]['get'](_0x25c9('0x31'))[_0x25c9('0x3')](),_0x343791[_0x25c9('0x23')](_0x25c9('0x31'),{'forceDefaultExecution':!0x0});const _0x2935b7=_0x5e5077[_0x25c9('0x3a')](_0x556a6b=>_0x25c9('0x22')!=_0x556a6b[_0x25c9('0x29')]['rootName']);_0x2935b7[_0x25c9('0x9')]>0x0&&_0x5ad402[_0x25c9('0x47')](_0x2935b7);for(const _0x4c6693 of _0x5e5077)_0x4c6693[_0x25c9('0x48')]();});});for(const _0x3c73a8 of[_0x25c9('0x28'),_0x25c9('0x2a'),_0x25c9('0x2e'),_0x25c9('0x11')]){const _0xbf0731=_0x343791[_0x25c9('0x7')][_0x25c9('0x1a')](_0x3c73a8);_0xbf0731['on'](_0x25c9('0x36'),(_0x1a62a4,_0x4fedb3,_0x18bc68)=>{if(_0x18bc68){const _0x31fc4f=_0x343791['model'][_0x25c9('0x13')]['selection'][_0x25c9('0x2d')]()[_0x25c9('0x38')]()[_0x25c9('0x6')](_0x44b061=>_0x44b061['is'](_0x25c9('0x46'),_0x25c9('0x4c')));this['_areMergableCells'](_0xbf0731[_0x25c9('0x43')],_0x31fc4f)||(_0x1a62a4['return']=!0x1,_0x1a62a4[_0x25c9('0x1f')]());}},{'priority':'low'});}}[_0x25c9('0x3d')](){const _0x496224=this[_0x25c9('0x44')][_0x25c9('0x7')][_0x25c9('0x1a')](_0x25c9('0x31')),_0x18910f=this[_0x25c9('0x44')][_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x8'));if(!_0x496224['isEnabled'])return!0x1;const _0x4565be=_0x18910f[_0x25c9('0x21')](this[_0x25c9('0x44')][_0x25c9('0xf')]['document'][_0x25c9('0x16')]);for(const _0x23d1db of _0x4565be)for(const _0x16ca71 of _0x4565be)if(_0x23d1db!=_0x16ca71&&!this[_0x25c9('0x30')](_0x23d1db,_0x16ca71))return!0x1;return!0x0;}['_areMergableCells'](_0x2d9c69,_0x5bbf42){const _0x824934=this[_0x25c9('0x44')][_0x25c9('0x39')][_0x25c9('0x1a')](_0x25c9('0x2b')),_0xd59014=this[_0x25c9('0x44')][_0x25c9('0xf')][_0x25c9('0x3b')](_0x2d9c69),_0x3335f2=this['editor'][_0x25c9('0xf')][_0x25c9('0x3b')](_0x5bbf42),_0x5b5d1c=new Set(),_0x2b2670=new Set();for(const _0x46b607 of _0x824934[_0x25c9('0x20')]())if((_0x25c9('0x3e')==_0x46b607[_0x25c9('0x32')]||_0x25c9('0xd')==_0x46b607[_0x25c9('0x32')]||'mergeTableCells'==_0x46b607[_0x25c9('0x41')])&&_0x46b607[_0x25c9('0x1b')])for(const _0x48e629 of _0x46b607[_0x25c9('0x34')]())_0x48e629[_0x25c9('0x49')](_0xd59014,!0x0)&&_0x5b5d1c[_0x25c9('0xc')](_0x46b607[_0x25c9('0x32')]+':'+_0x46b607[_0x25c9('0xa')]['id']),_0x48e629['containsRange'](_0x3335f2,!0x0)&&_0x2b2670[_0x25c9('0xc')](_0x46b607[_0x25c9('0x32')]+':'+_0x46b607[_0x25c9('0xa')]['id']);if(_0x5b5d1c[_0x25c9('0x2c')]!=_0x2b2670[_0x25c9('0x2c')])return!0x1;for(const _0x5e14bd of _0x5b5d1c)if(!_0x2b2670['has'](_0x5e14bd))return!0x1;return!0x0;}}
23
+ const _0x2124=['map','get','TableEditing','*Split\x20cell:*\x20vertically','refresh','has','document','element','commandName','_areSelectedCellsMergable','commands','TrackChangesEditing','splitTableCellHorizontally','format','isInContent','*Split\x20cell:*\x20horizontally','length','fromRange','tableCell','mergeTableCellRight','mergeTableCells','*Merge\x20cells*','author','enableCommand','registerCustomCallback','change','$graveyard','add','mergeTableCellDown','model','getFirstPosition','rootName','selection','TableUtils','createRangeOn','push','value','markMultiRangeBlockFormat','isEnabled','formatBlock','horizontally','markBlockFormat','_areMergableCells','set:isEnabled','locale','_suggestionFactory','createTableWalker','getRanges','registerDescriptionCallback','trackChanges','getSuggestions','splitTableCellVertically','mergeTableCellLeft','type','find','execute','forceDefaultExecution','_descriptionFactory','_tablePostFixingSubtypes','low','subType','table','from','getAncestors','cell','stop','size','getCellLocation','accept','detach','editor','_acceptFormatSuggestionCallbackFactory','getSelectionAffectedTableCells','insertion','mergeTableCellUp','plugins','highest','return'];(function(_0x2339df,_0x212434){const _0xf0a72d=function(_0x291390){while(--_0x291390){_0x2339df['push'](_0x2339df['shift']());}};_0xf0a72d(++_0x212434);}(_0x2124,0xf8));const _0xf0a7=function(_0x2339df,_0x212434){_0x2339df=_0x2339df-0x0;let _0xf0a72d=_0x2124[_0x2339df];return _0xf0a72d;};import{Plugin as _0x340686}from'ckeditor5/src/core';import _0x55a5a5 from'./table';import{LiveRange as _0x1a2760}from'ckeditor5/src/engine';import{getTranslation as _0x32056a}from'../utils/common-translations';export default class gt extends _0x340686{static get['requires'](){return[_0x55a5a5];}['afterInit'](){const _0x5a9a1b=this[_0xf0a7('0x38')],_0x9aec2f=_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0x46')][_0xf0a7('0x12')],_0x54c674=_0x5a9a1b[_0xf0a7('0x1e')];if(!_0x5a9a1b[_0xf0a7('0x3d')][_0xf0a7('0x45')](_0xf0a7('0x42')))return;const _0x2fb56c=_0x5a9a1b['plugins'][_0xf0a7('0x41')](_0xf0a7('0x4b')),_0x420cbc=_0x5a9a1b[_0xf0a7('0x3d')]['get'](_0xf0a7('0x13')),_0x3e40a5=_0x5a9a1b[_0xf0a7('0x3d')][_0xf0a7('0x41')](_0x55a5a5);_0x3e40a5[_0xf0a7('0x2c')][_0xf0a7('0x15')](_0xf0a7('0x6')),_0x2fb56c['enableCommand'](_0xf0a7('0x6'),()=>{const _0x5ee058=_0x420cbc[_0xf0a7('0x3a')](_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0x46')]['selection']);_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0xb')](()=>{_0x2fb56c[_0xf0a7('0x17')](_0x5ee058,{'commandName':_0xf0a7('0x6'),'commandParams':[]},[],_0xf0a7('0x6'));});}),_0x5a9a1b[_0xf0a7('0x4a')]['get'](_0xf0a7('0x6'))['on'](_0xf0a7('0x29'),(_0x392ec1,_0x155e33)=>{_0x5a9a1b[_0xf0a7('0x4a')][_0xf0a7('0x41')](_0xf0a7('0x23'))[_0xf0a7('0x16')]&&(_0x155e33[_0xf0a7('0x2')]>0x0&&_0x155e33[_0x155e33['length']-0x1]&&_0x155e33[_0x155e33[_0xf0a7('0x2')]-0x1][_0xf0a7('0x2a')]||_0x2fb56c['_isForcedDefaultExecutionBlock']||this[_0xf0a7('0x49')]()||_0x392ec1['stop']());},{'priority':_0xf0a7('0x3e')});for(const _0x59a076 of[_0xf0a7('0x3c'),'mergeTableCellRight',_0xf0a7('0xe'),_0xf0a7('0x26')]){const _0x125bb0=_0x5a9a1b[_0xf0a7('0x4a')][_0xf0a7('0x41')](_0x59a076);_0x2fb56c[_0xf0a7('0x9')](_0x59a076,()=>{const _0x4b59e2=_0x5a9a1b['model'][_0xf0a7('0x46')][_0xf0a7('0x12')][_0xf0a7('0x10')]()[_0xf0a7('0x31')]()[_0xf0a7('0x28')](_0x527dbf=>_0x527dbf['is'](_0xf0a7('0x47'),_0xf0a7('0x4'))),_0x900bbe=_0x125bb0['value'];_0x5a9a1b['model'][_0xf0a7('0xb')](()=>{_0x2fb56c['markMultiRangeBlockFormat']([_0x4b59e2,_0x900bbe],{'commandName':_0xf0a7('0x6'),'commandParams':[]},[],_0xf0a7('0x6'));});});}for(const _0x20bc7f of[_0xf0a7('0x25'),_0xf0a7('0x4c')]){const _0x352489=_0x5a9a1b[_0xf0a7('0x4a')][_0xf0a7('0x41')](_0x20bc7f);_0x2fb56c[_0xf0a7('0x9')](_0x20bc7f,()=>{const _0x3abd0b=_0x420cbc[_0xf0a7('0x3a')](_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0x46')][_0xf0a7('0x12')])[0x0],_0x46967e=_0x3abd0b['findAncestor'](_0xf0a7('0x2f')),{column:_0x572c70,row:_0x40199d}=_0x420cbc[_0xf0a7('0x35')](_0x3abd0b);let _0x2a8e97=[];if(_0xf0a7('0x1a')==_0x352489['direction']){const _0x5a27ba=_0x420cbc[_0xf0a7('0x20')](_0x46967e,{'startRow':_0x40199d,'endRow':_0x40199d,'includeAllSlots':!0x0});_0x2a8e97=Array[_0xf0a7('0x30')](_0x5a27ba)[_0xf0a7('0x40')](_0x216dc6=>_0x216dc6[_0xf0a7('0x32')]);}else{const _0x7c9a0c=_0x420cbc[_0xf0a7('0x20')](_0x46967e,{'column':_0x572c70,'includeAllSlots':!0x0});_0x2a8e97=Array[_0xf0a7('0x30')](_0x7c9a0c)[_0xf0a7('0x40')](_0x4ad4e7=>_0x4ad4e7[_0xf0a7('0x32')]);}_0x5a9a1b['model'][_0xf0a7('0xb')](_0x32e3d0=>{_0x2fb56c[_0xf0a7('0x1b')](_0x32e3d0[_0xf0a7('0x14')](_0x3abd0b),{'commandName':_0x20bc7f,'commandParams':[]},_0x2a8e97,_0x20bc7f);});});}_0x2fb56c['_descriptionFactory'][_0xf0a7('0x22')](_0x321daf=>{const {data:_0x144108}=_0x321daf;if(_0x144108)return _0xf0a7('0x6')==_0x144108[_0xf0a7('0x48')]?{'type':_0xf0a7('0x4d'),'content':_0x32056a(_0x54c674,_0xf0a7('0x7'))}:void 0x0;}),_0x2fb56c[_0xf0a7('0x2b')][_0xf0a7('0x22')](_0x44fb81=>{const {data:_0x4cf0ea}=_0x44fb81;if(_0x4cf0ea)return _0xf0a7('0x25')==_0x4cf0ea['commandName']?{'type':'format','content':_0x32056a(_0x54c674,_0xf0a7('0x43'))}:'splitTableCellHorizontally'==_0x4cf0ea[_0xf0a7('0x48')]?{'type':'format','content':_0x32056a(_0x54c674,_0xf0a7('0x1'))}:void 0x0;});const _0x3ab6dc=_0x3e40a5[_0xf0a7('0x39')]();for(const _0x4784a2 of['mergeTableCellUp',_0xf0a7('0x5'),_0xf0a7('0xe'),_0xf0a7('0x26')])_0x2fb56c[_0xf0a7('0x1f')]['registerCustomCallback'](_0xf0a7('0x19'),_0x4784a2,_0xf0a7('0x36'),_0x3ab6dc);for(const _0x4d8259 of[_0xf0a7('0x25'),_0xf0a7('0x4c')])_0x2fb56c[_0xf0a7('0x1f')]['registerCustomCallback']('formatBlock',_0x4d8259,_0xf0a7('0x36'),_0x3ab6dc);_0x2fb56c[_0xf0a7('0x1f')][_0xf0a7('0xa')](_0xf0a7('0x19'),_0xf0a7('0x6'),'accept',_0x50a118=>{_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0xb')](_0x436591=>{const _0xe2fd05=Array['from'](_0x9aec2f[_0xf0a7('0x21')]())[_0xf0a7('0x40')](_0xfdfcca=>_0x1a2760[_0xf0a7('0x3')](_0xfdfcca));_0x436591['setSelection'](_0x50a118),_0x5a9a1b[_0xf0a7('0x4a')]['get'](_0xf0a7('0x6'))[_0xf0a7('0x44')](),_0x5a9a1b[_0xf0a7('0x29')](_0xf0a7('0x6'),{'forceDefaultExecution':!0x0});const _0x4ae2bf=_0xe2fd05['filter'](_0x4e16ff=>_0xf0a7('0xc')!=_0x4e16ff['root'][_0xf0a7('0x11')]);_0x4ae2bf['length']>0x0&&_0x436591['setSelection'](_0x4ae2bf);for(const _0x145779 of _0xe2fd05)_0x145779[_0xf0a7('0x37')]();});});for(const _0x29d51b of[_0xf0a7('0x3c'),'mergeTableCellDown',_0xf0a7('0x26'),_0xf0a7('0x5')]){const _0x29b14f=_0x5a9a1b[_0xf0a7('0x4a')][_0xf0a7('0x41')](_0x29d51b);_0x29b14f['on'](_0xf0a7('0x1d'),(_0x10875c,_0x4e2665,_0x2180f5)=>{if(_0x2180f5){const _0x557a23=_0x5a9a1b[_0xf0a7('0xf')][_0xf0a7('0x46')][_0xf0a7('0x12')][_0xf0a7('0x10')]()[_0xf0a7('0x31')]()[_0xf0a7('0x28')](_0x20ca3b=>_0x20ca3b['is'](_0xf0a7('0x47'),_0xf0a7('0x4')));this[_0xf0a7('0x1c')](_0x29b14f[_0xf0a7('0x16')],_0x557a23)||(_0x10875c[_0xf0a7('0x3f')]=!0x1,_0x10875c[_0xf0a7('0x33')]());}},{'priority':_0xf0a7('0x2d')});}}[_0xf0a7('0x49')](){const _0x43340b=this['editor']['commands']['get'](_0xf0a7('0x6')),_0x1fa5b5=this[_0xf0a7('0x38')][_0xf0a7('0x3d')][_0xf0a7('0x41')](_0xf0a7('0x13'));if(!_0x43340b[_0xf0a7('0x18')])return!0x1;const _0x37f6d7=_0x1fa5b5[_0xf0a7('0x3a')](this['editor'][_0xf0a7('0xf')]['document'][_0xf0a7('0x12')]);for(const _0x40375b of _0x37f6d7)for(const _0x2e9b0f of _0x37f6d7)if(_0x40375b!=_0x2e9b0f&&!this[_0xf0a7('0x1c')](_0x40375b,_0x2e9b0f))return!0x1;return!0x0;}[_0xf0a7('0x1c')](_0x50d3f5,_0x5c2a7b){const _0x15eaf3=this['editor'][_0xf0a7('0x3d')][_0xf0a7('0x41')](_0xf0a7('0x4b')),_0x49e271=this['editor'][_0xf0a7('0xf')]['createRangeOn'](_0x50d3f5),_0x2fa16c=this[_0xf0a7('0x38')]['model'][_0xf0a7('0x14')](_0x5c2a7b),_0x4a80a8=new Set(),_0x328dd6=new Set();for(const _0x4641e9 of _0x15eaf3[_0xf0a7('0x24')]())if((_0xf0a7('0x3b')==_0x4641e9[_0xf0a7('0x27')]||'deletion'==_0x4641e9[_0xf0a7('0x27')]||_0xf0a7('0x6')==_0x4641e9[_0xf0a7('0x2e')])&&_0x4641e9[_0xf0a7('0x0')])for(const _0x465fe1 of _0x4641e9['getRanges']())_0x465fe1['containsRange'](_0x49e271,!0x0)&&_0x4a80a8['add'](_0x4641e9[_0xf0a7('0x27')]+':'+_0x4641e9[_0xf0a7('0x8')]['id']),_0x465fe1['containsRange'](_0x2fa16c,!0x0)&&_0x328dd6[_0xf0a7('0xd')](_0x4641e9[_0xf0a7('0x27')]+':'+_0x4641e9[_0xf0a7('0x8')]['id']);if(_0x4a80a8[_0xf0a7('0x34')]!=_0x328dd6[_0xf0a7('0x34')])return!0x1;for(const _0x568e56 of _0x4a80a8)if(!_0x328dd6[_0xf0a7('0x45')](_0x568e56))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1658=['document','_descriptionFactory','has','createRange','_splitMarkerName','getChangedMarkers','Title','forward','ELEMENT_TITLE','TrackChangesEditing','model','get','registerElementLabel','from','start','isCollapsed','getNearestSelectionRange','schema','updateMarker','end','newRange','title-content','isTouching','removeMarker','nodeBefore'];(function(_0x34f2ba,_0x1658f5){const _0x473fc6=function(_0x5df86d){while(--_0x5df86d){_0x34f2ba['push'](_0x34f2ba['shift']());}};_0x473fc6(++_0x1658f5);}(_0x1658,0x142));const _0x473f=function(_0x34f2ba,_0x1658f5){_0x34f2ba=_0x34f2ba-0x0;let _0x473fc6=_0x1658[_0x34f2ba];return _0x473fc6;};import{Plugin as _0x4ab924}from'ckeditor5/src/core';import{getTranslation as _0x23f868}from'../utils/common-translations';export default class dt extends _0x4ab924{['afterInit'](){const _0x2deee3=this['editor'];if(!_0x2deee3['plugins'][_0x473f('0x5')](_0x473f('0x9')))return;const _0x3a21f2=_0x2deee3['plugins'][_0x473f('0xe')](_0x473f('0xc'));_0x3a21f2[_0x473f('0x4')][_0x473f('0xf')](_0x473f('0x18'),()=>_0x23f868(_0x2deee3['locale'],_0x473f('0xb'))),_0x2deee3['model'][_0x473f('0x3')]['registerPostFixer'](_0x248c7a=>{let _0x1dc887=!0x1;const _0x514acd=Array[_0x473f('0x10')](_0x2deee3[_0x473f('0xd')]['document']['differ'][_0x473f('0x8')]());for(const {name:_0x7941b6,data:_0xabeef6}of _0x514acd){const {group:_0x59ee50}=_0x3a21f2[_0x473f('0x7')](_0x7941b6);if('suggestion'!==_0x59ee50||!_0xabeef6[_0x473f('0x17')])continue;const _0x2f26e4=_0xabeef6['newRange'],_0x45080f=_0x2f26e4[_0x473f('0x16')][_0x473f('0x2')];if(!_0x45080f||!_0x45080f['is']('element','title-content'))continue;if(!_0x2f26e4[_0x473f('0x11')][_0x473f('0x0')](_0x2f26e4[_0x473f('0x16')]))continue;const _0x3248e4=_0x2deee3[_0x473f('0xd')][_0x473f('0x14')][_0x473f('0x13')](_0x2f26e4['end'],_0x473f('0xa'));if(_0x3248e4&&_0x3248e4[_0x473f('0x12')]){const _0x13cfd3=_0x248c7a[_0x473f('0x6')](_0x2f26e4[_0x473f('0x11')],_0x3248e4['start']);_0x13cfd3['isEqual'](_0x2f26e4)||(_0x248c7a[_0x473f('0x15')](_0x7941b6,{'range':_0x13cfd3}),_0x1dc887=!0x0);}_0x1dc887||(_0x248c7a[_0x473f('0x1')](_0x7941b6),_0x1dc887=!0x0);}return _0x1dc887;});}}
23
+ const _0x31cb=['newRange','differ','afterInit','from','end','_descriptionFactory','get','ELEMENT_TITLE','locale','isTouching','title-content','plugins','model','isEqual','nodeBefore','getChangedMarkers','removeMarker','isCollapsed','document','forward','registerElementLabel','schema','Title','suggestion','start','element','TrackChangesEditing'];(function(_0x23a213,_0x31cb41){const _0x10c383=function(_0x486505){while(--_0x486505){_0x23a213['push'](_0x23a213['shift']());}};_0x10c383(++_0x31cb41);}(_0x31cb,0xf9));const _0x10c3=function(_0x23a213,_0x31cb41){_0x23a213=_0x23a213-0x0;let _0x10c383=_0x31cb[_0x23a213];return _0x10c383;};import{Plugin as _0x33de1c}from'ckeditor5/src/core';import{getTranslation as _0xb90678}from'../utils/common-translations';export default class dt extends _0x33de1c{[_0x10c3('0x17')](){const _0x154702=this['editor'];if(!_0x154702['plugins']['has'](_0x10c3('0x10')))return;const _0x307d1c=_0x154702[_0x10c3('0x5')][_0x10c3('0x0')](_0x10c3('0x14'));_0x307d1c[_0x10c3('0x1a')][_0x10c3('0xe')](_0x10c3('0x4'),()=>_0xb90678(_0x154702[_0x10c3('0x2')],_0x10c3('0x1'))),_0x154702[_0x10c3('0x6')][_0x10c3('0xc')]['registerPostFixer'](_0x16c4e9=>{let _0x298e77=!0x1;const _0x49442b=Array[_0x10c3('0x18')](_0x154702[_0x10c3('0x6')][_0x10c3('0xc')][_0x10c3('0x16')][_0x10c3('0x9')]());for(const {name:_0x298da2,data:_0x2a01fa}of _0x49442b){const {group:_0x49620e}=_0x307d1c['_splitMarkerName'](_0x298da2);if(_0x10c3('0x11')!==_0x49620e||!_0x2a01fa[_0x10c3('0x15')])continue;const _0x5bc934=_0x2a01fa[_0x10c3('0x15')],_0x5be08e=_0x5bc934[_0x10c3('0x19')][_0x10c3('0x8')];if(!_0x5be08e||!_0x5be08e['is'](_0x10c3('0x13'),_0x10c3('0x4')))continue;if(!_0x5bc934[_0x10c3('0x12')][_0x10c3('0x3')](_0x5bc934['end']))continue;const _0x4bde98=_0x154702[_0x10c3('0x6')][_0x10c3('0xf')]['getNearestSelectionRange'](_0x5bc934[_0x10c3('0x19')],_0x10c3('0xd'));if(_0x4bde98&&_0x4bde98[_0x10c3('0xb')]){const _0x5458f3=_0x16c4e9['createRange'](_0x5bc934['start'],_0x4bde98[_0x10c3('0x12')]);_0x5458f3[_0x10c3('0x7')](_0x5bc934)||(_0x16c4e9['updateMarker'](_0x298da2,{'range':_0x5458f3}),_0x298e77=!0x0);}_0x298e77||(_0x16c4e9[_0x10c3('0xa')](_0x298da2),_0x298e77=!0x0);}return _0x298e77;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad5=['has','undo','UndoEditing','redo','TrackChangesEditing','editor','get','afterInit','enableCommand'];(function(_0xa65315,_0x4ad5ad){const _0x1286cb=function(_0x1c19a2){while(--_0x1c19a2){_0xa65315['push'](_0xa65315['shift']());}};_0x1286cb(++_0x4ad5ad);}(_0x4ad5,0x8f));const _0x1286=function(_0xa65315,_0x4ad5ad){_0xa65315=_0xa65315-0x0;let _0x1286cb=_0x4ad5[_0xa65315];return _0x1286cb;};import{Plugin as _0x1128f6}from'ckeditor5/src/core';export default class pt extends _0x1128f6{[_0x1286('0x8')](){const _0x38e4f4=this[_0x1286('0x6')],_0x5376ef=_0x38e4f4['plugins'][_0x1286('0x7')](_0x1286('0x5'));_0x38e4f4['plugins'][_0x1286('0x1')](_0x1286('0x3'))&&(_0x5376ef['enableCommand'](_0x1286('0x2')),_0x5376ef[_0x1286('0x0')](_0x1286('0x4')));}}
23
+ const _0x43ca=['UndoEditing','has','redo','editor','plugins','enableCommand','get','afterInit','undo'];(function(_0x7e077e,_0x43caf6){const _0x22de5c=function(_0x15bdee){while(--_0x15bdee){_0x7e077e['push'](_0x7e077e['shift']());}};_0x22de5c(++_0x43caf6);}(_0x43ca,0x85));const _0x22de=function(_0x7e077e,_0x43caf6){_0x7e077e=_0x7e077e-0x0;let _0x22de5c=_0x43ca[_0x7e077e];return _0x22de5c;};import{Plugin as _0x12e87f}from'ckeditor5/src/core';export default class pt extends _0x12e87f{[_0x22de('0x0')](){const _0x1a9d69=this[_0x22de('0x5')],_0x851338=_0x1a9d69['plugins'][_0x22de('0x8')]('TrackChangesEditing');_0x1a9d69[_0x22de('0x6')][_0x22de('0x3')](_0x22de('0x2'))&&(_0x851338[_0x22de('0x7')](_0x22de('0x1')),_0x851338['enableCommand'](_0x22de('0x4')));}}