@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231206.0 → 0.0.0-nightly-20231208.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/translations/ar.po +5 -5
  50. package/lang/translations/az.po +4 -4
  51. package/lang/translations/bg.po +5 -5
  52. package/lang/translations/bn.po +5 -5
  53. package/lang/translations/ca.po +5 -5
  54. package/lang/translations/cs.po +5 -5
  55. package/lang/translations/da.po +5 -5
  56. package/lang/translations/de.po +5 -5
  57. package/lang/translations/el.po +5 -5
  58. package/lang/translations/en-au.po +5 -5
  59. package/lang/translations/en.po +5 -5
  60. package/lang/translations/es.po +5 -5
  61. package/lang/translations/et.po +5 -5
  62. package/lang/translations/fi.po +5 -5
  63. package/lang/translations/fr.po +5 -5
  64. package/lang/translations/gl.po +36 -36
  65. package/lang/translations/he.po +5 -5
  66. package/lang/translations/hi.po +5 -5
  67. package/lang/translations/hr.po +5 -5
  68. package/lang/translations/hu.po +5 -5
  69. package/lang/translations/id.po +5 -5
  70. package/lang/translations/it.po +5 -5
  71. package/lang/translations/ja.po +5 -5
  72. package/lang/translations/ko.po +5 -5
  73. package/lang/translations/lt.po +5 -5
  74. package/lang/translations/lv.po +5 -5
  75. package/lang/translations/ms.po +5 -5
  76. package/lang/translations/nl.po +5 -5
  77. package/lang/translations/no.po +5 -5
  78. package/lang/translations/pl.po +5 -5
  79. package/lang/translations/pt-br.po +5 -5
  80. package/lang/translations/pt.po +5 -5
  81. package/lang/translations/ro.po +5 -5
  82. package/lang/translations/ru.po +5 -5
  83. package/lang/translations/sk.po +5 -5
  84. package/lang/translations/sq.po +4 -4
  85. package/lang/translations/sr-latn.po +24 -24
  86. package/lang/translations/sr.po +5 -5
  87. package/lang/translations/sv.po +5 -5
  88. package/lang/translations/th.po +5 -5
  89. package/lang/translations/tk.po +4 -4
  90. package/lang/translations/tr.po +5 -5
  91. package/lang/translations/tt.po +4 -4
  92. package/lang/translations/uk.po +5 -5
  93. package/lang/translations/ur.po +4 -4
  94. package/lang/translations/vi.po +5 -5
  95. package/lang/translations/zh-cn.po +5 -5
  96. package/lang/translations/zh.po +5 -5
  97. package/package.json +3 -3
  98. package/src/commands/acceptsuggestioncommand.js +1 -1
  99. package/src/commands/discardsuggestioncommand.js +1 -1
  100. package/src/commands/executeonallsuggestionscommand.js +1 -1
  101. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  102. package/src/commands/trackchangescommand.js +1 -1
  103. package/src/integrations/aiassistant.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +1 -1
  112. package/src/integrations/documentlistproperties.js +1 -1
  113. package/src/integrations/entercommand.js +1 -1
  114. package/src/integrations/findandreplace.js +1 -1
  115. package/src/integrations/font.js +1 -1
  116. package/src/integrations/formatpainter.js +1 -1
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/imagestyle.js +1 -1
  124. package/src/integrations/importword.js +1 -1
  125. package/src/integrations/indent.js +1 -1
  126. package/src/integrations/inputcommand.js +1 -1
  127. package/src/integrations/link.js +1 -1
  128. package/src/integrations/list.js +1 -1
  129. package/src/integrations/listproperties.js +1 -1
  130. package/src/integrations/mediaembed.js +1 -1
  131. package/src/integrations/mention.js +1 -1
  132. package/src/integrations/pagebreak.js +1 -1
  133. package/src/integrations/paragraph.js +1 -1
  134. package/src/integrations/removeformat.js +1 -1
  135. package/src/integrations/restrictededitingmode.js +1 -1
  136. package/src/integrations/shiftentercommand.js +1 -1
  137. package/src/integrations/standardeditingmode.js +1 -1
  138. package/src/integrations/style.js +1 -1
  139. package/src/integrations/table.js +1 -1
  140. package/src/integrations/tablecaption.js +1 -1
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.js +1 -1
  143. package/src/integrations/tableheadings.js +1 -1
  144. package/src/integrations/tablemergesplit.js +1 -1
  145. package/src/integrations/tableofcontents.js +1 -1
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.js +1 -1
  148. package/src/integrations/title.js +1 -1
  149. package/src/integrations/undo.js +1 -1
  150. package/src/integrations/utils.js +1 -1
  151. package/src/suggestion.js +1 -1
  152. package/src/suggestiondescriptionfactory.js +1 -1
  153. package/src/trackchanges.js +1 -1
  154. package/src/trackchangesdata.js +1 -1
  155. package/src/trackchangesediting.js +1 -1
  156. package/src/trackchangesui.js +1 -1
  157. package/src/ui/suggestioncontroller.js +1 -1
  158. package/src/ui/view/basesuggestionthreadview.js +1 -1
  159. package/src/ui/view/suggestionthreadview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
  161. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x449d=['_registerBlockAttribute','type','_descriptionFactory','formatInline','normalizeConfig','getGhsAttributeNameForElement','TrackChangesEditing','_enableDefaultAttributesIntegration','_registerLegacyDescription','DataSchema','FORMAT_STYLE','forceValue','block','add','formatBlock','styleName','registerDescriptionCallback','GeneralHtmlSupport','toLowerCase','ghsAttributes','registerAttributeLabel','plugins','locale','*Set\x20format:*\x20%0','style','get','has','element','format','definitions','commandName','StyleUtils','commandParams','inline'];(function(_0x48e051,_0x449d9b){const _0x5a930c=function(_0x300a82){while(--_0x300a82){_0x48e051['push'](_0x48e051['shift']());}};_0x5a930c(++_0x449d9b);}(_0x449d,0x196));const _0x5a93=function(_0x48e051,_0x449d9b){_0x48e051=_0x48e051-0x0;let _0x5a930c=_0x449d[_0x48e051];return _0x5a930c;};import{Plugin as _0x3b531a}from'ckeditor5/src/core';import{getTranslation as _0xc74177}from'../utils/common-translations';export default class bt extends _0x3b531a{['afterInit'](){const _0x125140=this['editor'];if(!_0x125140[_0x5a93('0x17')][_0x5a93('0x1c')]('Style')||!_0x125140[_0x5a93('0x17')][_0x5a93('0x1c')](_0x5a93('0xb')))return;const _0x9ef433=_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')](_0x5a93('0x8')),_0x563736=_0x125140[_0x5a93('0x18')],_0x49ae63=_0x125140['config'][_0x5a93('0x1b')](_0x5a93('0x1a')),_0x32ac3c=_0x125140[_0x5a93('0x17')]['get'](_0x5a93('0x13')),_0x5025ec=_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')](_0x5a93('0x21'))[_0x5a93('0x6')](_0x125140[_0x5a93('0x17')][_0x5a93('0x1b')]('DataSchema'),_0x49ae63[_0x5a93('0x1f')]);_0x9ef433[_0x5a93('0x9')](_0x5a93('0x1a'));const _0x5ae308=new Set();for(const _0x20d59b of _0x5025ec[_0x5a93('0xe')]){const _0x2c8ab5=_0x32ac3c[_0x5a93('0x7')](_0x20d59b[_0x5a93('0x1d')]);_0x5ae308[_0x5a93('0xf')](_0x2c8ab5);}const _0x16443f=new Set();for(const _0x25d3fc of _0x5025ec[_0x5a93('0x1')]){const _0x216de2=_0x32ac3c[_0x5a93('0x7')](_0x25d3fc['element']);_0x16443f[_0x5a93('0xf')](_0x216de2);for(const _0x24b2e7 of _0x25d3fc[_0x5a93('0x15')])_0x16443f[_0x5a93('0xf')](_0x24b2e7);}for(const _0x44d9b5 of _0x5ae308)_0x9ef433[_0x5a93('0x2')](_0x44d9b5),_0x9ef433[_0x5a93('0x4')][_0x5a93('0x16')](_0x44d9b5,_0xc74177(_0x563736,_0x5a93('0xc')));for(const _0x5b8d7c of _0x16443f)_0x9ef433['_registerInlineAttribute'](_0x5b8d7c),_0x9ef433[_0x5a93('0x4')]['registerAttributeLabel'](_0x5b8d7c,_0xc74177(_0x563736,_0x5a93('0xc')));this[_0x5a93('0xa')]();}[_0x5a93('0xa')](){const _0x276816=this['editor'],_0x3fcef2=_0x276816[_0x5a93('0x18')];_0x276816[_0x5a93('0x17')][_0x5a93('0x1b')]('TrackChangesEditing')['_descriptionFactory'][_0x5a93('0x12')](_0x27b53f=>{if(_0x5a93('0x10')!=_0x27b53f[_0x5a93('0x3')]&&_0x5a93('0x5')!=_0x27b53f['type'])return;const {data:_0x4a80d4}=_0x27b53f;return _0x4a80d4&&_0x5a93('0x1a')===_0x4a80d4[_0x5a93('0x20')]?_0x4a80d4[_0x5a93('0x0')][0x0][_0x5a93('0xd')]?{'type':_0x5a93('0x1e'),'content':_0xc74177(_0x3fcef2,_0x5a93('0x19'),_0x4a80d4[_0x5a93('0x0')][0x0][_0x5a93('0x11')][_0x5a93('0x14')]())}:{'type':_0x5a93('0x1e'),'content':_0xc74177(_0x3fcef2,'*Remove\x20format:*\x20%0',_0x4a80d4['commandParams'][0x0]['styleName'][_0x5a93('0x14')]())}:void 0x0;});}}
23
+ const _0x1c37=['TrackChangesEditing','toLowerCase','GeneralHtmlSupport','formatInline','Style','has','style','add','_enableDefaultAttributesIntegration','definitions','registerDescriptionCallback','_registerInlineAttribute','locale','format','type','*Remove\x20format:*\x20%0','DataSchema','forceValue','_registerLegacyDescription','config','styleName','formatBlock','get','element','commandParams','block','plugins','_descriptionFactory','ghsAttributes','commandName','normalizeConfig','getGhsAttributeNameForElement','registerAttributeLabel'];(function(_0x2d1346,_0x1c3764){const _0x2b0cb6=function(_0x2c60e2){while(--_0x2c60e2){_0x2d1346['push'](_0x2d1346['shift']());}};_0x2b0cb6(++_0x1c3764);}(_0x1c37,0x6f));const _0x2b0c=function(_0x2d1346,_0x1c3764){_0x2d1346=_0x2d1346-0x0;let _0x2b0cb6=_0x1c37[_0x2d1346];return _0x2b0cb6;};import{Plugin as _0x31c207}from'ckeditor5/src/core';import{getTranslation as _0x2c2aa0}from'../utils/common-translations';export default class bt extends _0x31c207{['afterInit'](){const _0xf67d72=this['editor'];if(!_0xf67d72[_0x2b0c('0xe')][_0x2b0c('0x1a')](_0x2b0c('0x19'))||!_0xf67d72[_0x2b0c('0xe')][_0x2b0c('0x1a')](_0x2b0c('0x4')))return;const _0x36dd82=_0xf67d72['plugins'][_0x2b0c('0xa')](_0x2b0c('0x15')),_0x2e0eb0=_0xf67d72[_0x2b0c('0x0')],_0x53679b=_0xf67d72[_0x2b0c('0x7')]['get']('style'),_0x415259=_0xf67d72[_0x2b0c('0xe')][_0x2b0c('0xa')](_0x2b0c('0x17')),_0x26694d=_0xf67d72[_0x2b0c('0xe')][_0x2b0c('0xa')]('StyleUtils')[_0x2b0c('0x12')](_0xf67d72[_0x2b0c('0xe')]['get'](_0x2b0c('0x4')),_0x53679b[_0x2b0c('0x1e')]);_0x36dd82[_0x2b0c('0x1d')](_0x2b0c('0x1b'));const _0x411f79=new Set();for(const _0x4ad6fd of _0x26694d[_0x2b0c('0xd')]){const _0x50692f=_0x415259['getGhsAttributeNameForElement'](_0x4ad6fd[_0x2b0c('0xb')]);_0x411f79[_0x2b0c('0x1c')](_0x50692f);}const _0x1b3afb=new Set();for(const _0x55b700 of _0x26694d['inline']){const _0x3763dd=_0x415259[_0x2b0c('0x13')](_0x55b700[_0x2b0c('0xb')]);_0x1b3afb[_0x2b0c('0x1c')](_0x3763dd);for(const _0x39b244 of _0x55b700[_0x2b0c('0x10')])_0x1b3afb[_0x2b0c('0x1c')](_0x39b244);}for(const _0x2bc914 of _0x411f79)_0x36dd82['_registerBlockAttribute'](_0x2bc914),_0x36dd82[_0x2b0c('0xf')][_0x2b0c('0x14')](_0x2bc914,_0x2c2aa0(_0x2e0eb0,'FORMAT_STYLE'));for(const _0xb22e64 of _0x1b3afb)_0x36dd82[_0x2b0c('0x20')](_0xb22e64),_0x36dd82[_0x2b0c('0xf')]['registerAttributeLabel'](_0xb22e64,_0x2c2aa0(_0x2e0eb0,'FORMAT_STYLE'));this[_0x2b0c('0x6')]();}[_0x2b0c('0x6')](){const _0x5ab9c6=this['editor'],_0x4af97f=_0x5ab9c6[_0x2b0c('0x0')];_0x5ab9c6[_0x2b0c('0xe')]['get'](_0x2b0c('0x15'))['_descriptionFactory'][_0x2b0c('0x1f')](_0x9da54b=>{if(_0x2b0c('0x9')!=_0x9da54b['type']&&_0x2b0c('0x18')!=_0x9da54b[_0x2b0c('0x2')])return;const {data:_0x41d9ea}=_0x9da54b;return _0x41d9ea&&_0x2b0c('0x1b')===_0x41d9ea[_0x2b0c('0x11')]?_0x41d9ea[_0x2b0c('0xc')][0x0][_0x2b0c('0x5')]?{'type':_0x2b0c('0x1'),'content':_0x2c2aa0(_0x4af97f,'*Set\x20format:*\x20%0',_0x41d9ea[_0x2b0c('0xc')][0x0][_0x2b0c('0x8')]['toLowerCase']())}:{'type':_0x2b0c('0x1'),'content':_0x2c2aa0(_0x4af97f,_0x2b0c('0x3'),_0x41d9ea[_0x2b0c('0xc')][0x0][_0x2b0c('0x8')][_0x2b0c('0x16')]())}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfead=['_suggestionFactory','join','showSuggestionHighlights','rootName','$graveyard','maxRow','createPositionAt','accept','createTableWalker','ELEMENT_TABLE_ROW','$textProxy','push','item','_acceptFormatSuggestionCallbackFactory','MAX_SAFE_INTEGER','isIntersectingWithRange','differ','model','locale','TableEditing','getColumnIndexes','batch','tableRow','_descriptionFactory','substr','removeClass','max','forceValue','span','plugins','registerDescriptionCallback','_tablePostFixingSubtypes','createRangeOn','suggestion','above','registerPostFixer','minColumn','_getSuggestionCoords','getChangedMarkers','type','ELEMENT_TABLE_ROW_WITH_TEXT','end','ELEMENT_TABLE_COLUMN_WITH_TEXT','rowspan','MIN_SAFE_INTEGER','tableColumn','downcastDispatcher','change:data','execute','_getCoordsForCells','getItems','insertTableColumnRight','classes','getSuggestion','TableUtils','ELEMENT_TABLE_WITH_TEXT','change','registerCustomCallback','document','toViewElement','length','selectTableColumn','getSelectionAffectedTableCells','insert','start','*Remove:*\x20%0','oldRange','last','data','filter','order','from','enableCommand','removeTableColumn','name','mapper','isTouching','min','writer','getChanges','has','_tableSuggestions','setSelection','tableCell','TrackChangesEditing','some','isArray','detach','getAttribute','includes','editor','root','commands','selectTableRow','*Insert:*\x20%0','findAncestor','afterInit','table','map','values','removeTableRow','isEqual','discard','first','options','_setupColumnsRowsFixing','colspan','createRangeIn','subType','getRanges','nodeAfter','selection','addRange','position','deletion','get','addMarker:suggestion','cell','insertion','ELEMENT_TABLE_COLUMN','nodeBefore','getCellLocation','isInContent','markMultiRangeInsertion','insertTableRowAbove','refresh','add','toLowerCase','enqueueChange','getChildren','getFirstRange','hasAttribute','registerElementLabel','fromRange','maxColumn','minRow'];(function(_0x4e39d9,_0xfeadf0){const _0x59c7d0=function(_0x375a82){while(--_0x375a82){_0x4e39d9['push'](_0x4e39d9['shift']());}};_0x59c7d0(++_0xfeadf0);}(_0xfead,0x1ac));const _0x59c7=function(_0x4e39d9,_0xfeadf0){_0x4e39d9=_0x4e39d9-0x0;let _0x59c7d0=_0xfead[_0x4e39d9];return _0x59c7d0;};import{Plugin as _0x4654fb}from'ckeditor5/src/core';import{LiveRange as _0x1534f3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x191d1b}from'ckeditor5/src/widget';import{getTranslation as _0x526b70}from'../utils/common-translations';export default class wt extends _0x4654fb{constructor(_0x3b9c19){super(_0x3b9c19),this[_0x59c7('0xb')]=[_0x59c7('0x2'),_0x59c7('0x19')],this['_tableSuggestions']=new Set();}[_0x59c7('0x4c')](){const _0x446fb7=this[_0x59c7('0x46')],_0x100ad9=_0x446fb7[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x5b')];if(!_0x446fb7[_0x59c7('0x9')][_0x59c7('0x3c')](_0x59c7('0x87')))return;const _0x174b54=_0x446fb7[_0x59c7('0x86')],_0x1e7cc6=_0x446fb7[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x40')),_0x564a7a=_0x446fb7['plugins']['get']('TableUtils');_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0x70')](_0x59c7('0x4d'),_0x6f873e=>_0x526b70(_0x174b54,'ELEMENT_TABLE',_0x6f873e)),this[_0x59c7('0x55')](),_0x1e7cc6['enableCommand']('insertTable'),_0x1e7cc6[_0x59c7('0x34')](_0x59c7('0x49')),_0x1e7cc6[_0x59c7('0x34')](_0x59c7('0x29'));for(const _0x178e92 of[_0x59c7('0x68'),'insertTableRowBelow']){const _0x312bc9=_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x178e92);_0x1e7cc6[_0x59c7('0x34')](_0x178e92,_0x1403f2=>{_0x446fb7['model'][_0x59c7('0x24')](_0x4e28c0=>{_0x1403f2();const _0x4e90cb=_0x59c7('0xe')===_0x312bc9['order'],_0x391140=_0x564a7a[_0x59c7('0x2a')](_0x100ad9),_0x10407e=_0x564a7a['getRowIndexes'](_0x391140),_0x4fe817=_0x4e90cb?_0x10407e['first']-0x1:_0x10407e[_0x59c7('0x2f')]+0x1,_0x539023=_0x391140[0x0][_0x59c7('0x4b')](_0x59c7('0x4d')),_0x17cf28=_0x564a7a[_0x59c7('0x7c')](_0x539023,{'startRow':_0x4fe817,'endRow':_0x4fe817}),_0x303ae0=Array['from'](_0x17cf28)['map'](_0x48f019=>_0x4e28c0[_0x59c7('0xc')](_0x48f019[_0x59c7('0x61')]));_0x1e7cc6[_0x59c7('0x67')](_0x303ae0,_0x59c7('0x2'));});});}for(const _0x4a3f14 of['insertTableColumnLeft',_0x59c7('0x1f')]){const _0x37675f=_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x4a3f14);_0x1e7cc6['enableCommand'](_0x4a3f14,_0x33a576=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x24')](_0x35b4c4=>{_0x33a576();const _0xad6402='left'===_0x37675f[_0x59c7('0x32')],_0xc46c44=_0x564a7a['getSelectionAffectedTableCells'](_0x100ad9),_0x30fcd3=_0x564a7a[_0x59c7('0x0')](_0xc46c44),_0x2b44d9=_0xad6402?_0x30fcd3['first']-0x1:_0x30fcd3[_0x59c7('0x2f')]+0x1,_0x1d3af2=_0xc46c44[0x0][_0x59c7('0x4b')](_0x59c7('0x4d')),_0x51e2af=_0x564a7a[_0x59c7('0x7c')](_0x1d3af2,{'startRow':0x0,'column':_0x2b44d9,'includeAllSlots':!0x1}),_0x3c4398=Array[_0x59c7('0x33')](_0x51e2af)[_0x59c7('0x4e')](_0x289d4c=>_0x35b4c4['createRangeOn'](_0x289d4c[_0x59c7('0x61')]));_0x1e7cc6[_0x59c7('0x67')](_0x3c4398,_0x59c7('0x19'));});});}for(const _0x32f886 of[_0x59c7('0x50'),'removeTableColumn']){const _0x99e87f=_0x32f886['substr'](0xb),_0x1b2f0d=_0x99e87f[_0x59c7('0x6b')](),_0xfd7c5b=_0x1b2f0d[_0x59c7('0x4')](0x0,0x3)+_0x59c7('0x8'),_0x46f82d=_0x59c7('0x4d')+_0x99e87f,_0x9afee8=_0x59c7('0x39')+_0x99e87f,_0x15aa23=_0x59c7('0x6')+_0x99e87f;_0x1e7cc6[_0x59c7('0x34')](_0x32f886,()=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x24')](_0x5438c0=>{const _0x4151d7=_0x564a7a[_0x59c7('0x2a')](_0x100ad9),_0x554b3b=_0x4151d7[0x0][_0x59c7('0x4b')](_0x59c7('0x4d'));let _0x5cb2e6;if(_0x59c7('0x50')==_0x32f886){const _0x2c150b=_0x564a7a['getRowIndexes'](_0x4151d7);_0x5cb2e6={'startRow':_0x2c150b['first'],'endRow':_0x2c150b['last'],'includeAllSlots':!0x0};}else{const _0x35b426=_0x564a7a['getColumnIndexes'](_0x4151d7);_0x5cb2e6={'startColumn':_0x35b426[_0x59c7('0x53')],'endColumn':_0x35b426[_0x59c7('0x2f')],'includeAllSlots':!0x0};}const _0x1c51cd=_0x564a7a[_0x59c7('0x7c')](_0x554b3b,_0x5cb2e6),_0x1f2e2a=Array['from'](_0x1c51cd)[_0x59c7('0x4e')](({cell:_0x314853})=>_0x314853),_0x2f58e0=se(_0x1f2e2a[_0x59c7('0x31')](_0x34c0a8=>_0x34c0a8[_0x59c7('0x6f')](_0xfd7c5b))),_0x22e0bc=se(_0x1f2e2a[_0x59c7('0x31')](_0x31dee1=>!_0x31dee1[_0x59c7('0x6f')](_0xfd7c5b)))[_0x59c7('0x4e')](_0x347a5e=>_0x5438c0[_0x59c7('0xc')](_0x347a5e)),_0x1a070f=_0x1e7cc6['markMultiRangeDeletion'](_0x22e0bc,_0x46f82d);if(_0x1a070f&&(_0x59c7('0x2')==_0x1a070f[_0x59c7('0x58')]||'tableColumn'==_0x1a070f[_0x59c7('0x58')])){const _0x1f43a3=this[_0x59c7('0x11')](_0x1a070f);for(const _0x463852 of _0x2f58e0){const _0xe1178b=_0x5438c0[_0x59c7('0xc')](_0x463852),_0x2b9d1c=_0x564a7a[_0x59c7('0x65')](_0x463852),_0x2fd818=_0x463852['getAttribute'](_0xfd7c5b)-0x1,_0x1351cf=_0x1f43a3[_0x9afee8],_0x52ff1e=_0x1f43a3[_0x15aa23];_0x1351cf<=_0x2b9d1c[_0x1b2f0d]&&_0x2b9d1c[_0x1b2f0d]+_0x2fd818<=_0x52ff1e&&_0x1a070f[_0x59c7('0x5c')](_0xe1178b);}}});});}function _0x2661f0(_0x4f2cc6){const _0xdce391=Array[_0x59c7('0x33')](_0x100ad9[_0x59c7('0x59')]())[_0x59c7('0x4e')](_0x4418c2=>_0x1534f3[_0x59c7('0x71')](_0x4418c2));_0x446fb7[_0x59c7('0x85')]['change'](_0x3eb95b=>{const _0x1a6843=_0x3eb95b[_0x59c7('0x1')];_0x4f2cc6=_0x4f2cc6[_0x59c7('0x31')](_0x2dd5a2=>_0x59c7('0x78')!=_0x2dd5a2[_0x59c7('0x47')][_0x59c7('0x77')]),_0x3eb95b[_0x59c7('0x3e')](_0x4f2cc6),_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')]('removeTableRow')[_0x59c7('0x69')](),_0x446fb7[_0x59c7('0x1c')](_0x59c7('0x50'),{'forceDefaultExecution':!0x0}),_0x446fb7['model']['enqueueChange'](()=>{_0x446fb7[_0x59c7('0x85')][_0x59c7('0x6c')](_0x1a6843,_0x363b03=>{const _0x5c04f0=_0xdce391['filter'](_0x2cdbdc=>_0x59c7('0x78')!=_0x2cdbdc['root'][_0x59c7('0x77')]);_0x5c04f0['length']>0x0&&_0x363b03['setSelection'](_0x5c04f0);for(const _0x4a1553 of _0xdce391)_0x4a1553[_0x59c7('0x43')]();});});});}function _0x43b253(_0x58ac6b){_0x446fb7['model'][_0x59c7('0x24')](_0x4f7499=>{const _0x1c76c4=Array[_0x59c7('0x33')](_0x100ad9[_0x59c7('0x59')]())[_0x59c7('0x4e')](_0x4c4f0a=>_0x1534f3['fromRange'](_0x4c4f0a)),_0x59c298=[];for(const _0x392caa of _0x58ac6b)for(const _0x7e4b7c of _0x392caa[_0x59c7('0x1e')]({'shallow':!0x0}))_0x59c298[_0x59c7('0x7f')](_0x7e4b7c);for(const _0x448957 of _0x59c298)_0x59c7('0x78')!=_0x448957[_0x59c7('0x47')][_0x59c7('0x77')]&&(_0x4f7499[_0x59c7('0x3e')](_0x4f7499[_0x59c7('0x7a')](_0x448957,0x0)),_0x446fb7[_0x59c7('0x48')][_0x59c7('0x5f')](_0x59c7('0x35'))[_0x59c7('0x69')](),_0x446fb7[_0x59c7('0x1c')](_0x59c7('0x35'),{'forceDefaultExecution':!0x0}));const _0x3dfb83=_0x1c76c4[_0x59c7('0x31')](_0x285756=>_0x59c7('0x78')!=_0x285756[_0x59c7('0x47')]['rootName']);_0x3dfb83['length']>0x0&&_0x4f7499[_0x59c7('0x3e')](_0x3dfb83);for(const _0x3641ca of _0x1c76c4)_0x3641ca[_0x59c7('0x43')]();});}function _0x31e758(_0x1db092,_0x5866a9){return _0x5866a9['every'](_0x35d508=>_0x1db092[_0x59c7('0x41')](_0x13aa6d=>_0x13aa6d['end'][_0x59c7('0x51')](_0x35d508['start'])||_0x35d508[_0x59c7('0x15')][_0x59c7('0x51')](_0x13aa6d[_0x59c7('0x2c')])));}function _0x203660(_0x13ab3d,_0x284e67){return _0x13ab3d[_0x59c7('0x41')](_0x99fa85=>_0x284e67[_0x59c7('0x41')](_0x5e9752=>_0x99fa85[_0x59c7('0x15')][_0x59c7('0x38')](_0x5e9752['start'])));}_0x446fb7[_0x59c7('0x30')][_0x59c7('0x1a')]['on'](_0x59c7('0x60'),(_0x44fbdc,_0x38fa95,_0xe70d1f)=>{if(!_0xe70d1f[_0x59c7('0x54')][_0x59c7('0x76')])return;const _0x13cca7=_0x38fa95[_0x59c7('0x80')];if(!_0x13cca7)return;const _0x270363=_0xe70d1f[_0x59c7('0x37')][_0x59c7('0x27')](_0x13cca7);function _0x499473(_0x54cfee){return Array[_0x59c7('0x42')](_0x54cfee)?_0x54cfee:[_0x54cfee];}_0x270363&&_0x59c7('0x3f')===_0x13cca7[_0x59c7('0x36')]&&_0x191d1b(_0x270363,_0xe70d1f[_0x59c7('0x3a')],(_0x3aae77,_0x16b672,_0x2ffbab)=>_0x2ffbab['addClass'](_0x499473(_0x16b672[_0x59c7('0x20')]),_0x3aae77),(_0x157cdd,_0x52fac6,_0x7fcb39)=>_0x7fcb39[_0x59c7('0x5')](_0x499473(_0x52fac6[_0x59c7('0x20')]),_0x157cdd));},{'priority':'highest'}),_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0xa')](_0x55e123=>{if(_0x59c7('0x62')!=_0x55e123[_0x59c7('0x13')]&&_0x59c7('0x5e')!=_0x55e123[_0x59c7('0x13')])return;const _0x12c751=_0x55e123['getContainedElement']();if(null!=_0x12c751&&_0x12c751['is']('element',_0x59c7('0x4d'))){if(_0x59c7('0x62')==_0x55e123[_0x59c7('0x13')]){const _0x3d0725=_0x55e123['getItems']()[_0x59c7('0x31')](_0x402f68=>_0x402f68['is'](_0x59c7('0x7e')))[_0x59c7('0x4e')](_0x4cbc10=>_0x4cbc10[_0x59c7('0x30')]);if(_0x3d0725['length'])return{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x23'),'\x22'+_0x3d0725['join']('\x20')+'\x22'))};}if(_0x59c7('0x5e')==_0x55e123[_0x59c7('0x13')]){const _0x158a42=_0x55e123[_0x59c7('0x1e')]()['filter'](_0x1add12=>_0x1add12['is'](_0x59c7('0x7e')))['map'](_0x1d8292=>_0x1d8292[_0x59c7('0x30')]);if(_0x158a42['length'])return{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,_0x59c7('0x23'),'\x22'+_0x158a42[_0x59c7('0x75')]('\x20')+'\x22'))};}}}),_0x1e7cc6[_0x59c7('0x3')][_0x59c7('0xa')](_0x2e074f=>{if('tableRow'==_0x2e074f['subType']){const _0x114e9f=_0x2e074f[_0x59c7('0x1e')]()[_0x59c7('0x31')](_0x5bd0f8=>_0x5bd0f8['is']('$textProxy'))[_0x59c7('0x4e')](_0x23507c=>_0x23507c[_0x59c7('0x30')]),_0x58b3dd=this[_0x59c7('0x11')](_0x2e074f),_0x528c26=_0x58b3dd[_0x59c7('0x79')]-_0x58b3dd[_0x59c7('0x73')]+0x1;if(_0x59c7('0x62')==_0x2e074f[_0x59c7('0x13')])return _0x114e9f[_0x59c7('0x28')]?{'type':'insertion','content':_0x526b70(_0x174b54,'*Insert:*\x20%0',_0x526b70(_0x174b54,_0x59c7('0x14'),[_0x528c26,'\x22'+_0x114e9f['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x7d'),_0x528c26))};if('deletion'==_0x2e074f[_0x59c7('0x13')])return _0x114e9f[_0x59c7('0x28')]?{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x528c26,'\x22'+_0x114e9f[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,_0x59c7('0x7d'),_0x528c26))};}if('tableColumn'==_0x2e074f[_0x59c7('0x58')]){const _0x1b5457=_0x2e074f['getItems']()[_0x59c7('0x31')](_0x335902=>_0x335902['is'](_0x59c7('0x7e')))[_0x59c7('0x4e')](_0x4ff835=>_0x4ff835['data']),_0x23da03=this[_0x59c7('0x11')](_0x2e074f),_0x140122=_0x23da03[_0x59c7('0x72')]-_0x23da03[_0x59c7('0x10')]+0x1;if(_0x59c7('0x62')==_0x2e074f[_0x59c7('0x13')])return _0x1b5457[_0x59c7('0x28')]?{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x16'),[_0x140122,'\x22'+_0x1b5457[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':_0x59c7('0x62'),'content':_0x526b70(_0x174b54,_0x59c7('0x4a'),_0x526b70(_0x174b54,_0x59c7('0x63'),_0x140122))};if(_0x59c7('0x5e')==_0x2e074f[_0x59c7('0x13')])return _0x1b5457[_0x59c7('0x28')]?{'type':_0x59c7('0x5e'),'content':_0x526b70(_0x174b54,'*Remove:*\x20%0',_0x526b70(_0x174b54,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x140122,'\x22'+_0x1b5457[_0x59c7('0x75')]('\x20')+'\x22']))}:{'type':_0x59c7('0x5e'),'content':_0x526b70(_0x174b54,_0x59c7('0x2d'),_0x526b70(_0x174b54,'ELEMENT_TABLE_COLUMN',_0x140122))};}}),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x2'),_0x59c7('0x52'),_0x2661f0),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableRow','accept',_0x2661f0),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x19'),_0x59c7('0x52'),_0x43b253),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')]('deletion',_0x59c7('0x19'),_0x59c7('0x7b'),_0x43b253),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x62'),_0x59c7('0x19'),_0x59c7('0x75'),_0x31e758),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableColumn',_0x59c7('0x75'),_0x31e758),_0x1e7cc6['_suggestionFactory'][_0x59c7('0x25')](_0x59c7('0x62'),'tableRow',_0x59c7('0x75'),_0x203660),_0x1e7cc6[_0x59c7('0x74')][_0x59c7('0x25')](_0x59c7('0x5e'),'tableRow',_0x59c7('0x75'),_0x203660);}[_0x59c7('0x81')](){const _0x3ecc96=this[_0x59c7('0x46')],_0xf22af3=_0x3ecc96[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x5b')];return(_0x145ceb,_0x3ed7c6)=>{_0x3ecc96[_0x59c7('0x85')][_0x59c7('0x24')](_0x53dc39=>{const {commandName:_0x4217b4,commandParams:_0x159331}=_0x3ed7c6;let _0x1ab32f=_0x145ceb[0x0][_0x59c7('0x15')][_0x59c7('0x64')];_0x159331&&_0x159331[0x0]&&!0x1===_0x159331[0x0][_0x59c7('0x7')]&&(_0x1ab32f=_0x145ceb[0x0][_0x59c7('0x2c')][_0x59c7('0x5a')]);const _0x12a9ff=_0x53dc39[_0x59c7('0x57')](_0x1ab32f);if(_0x59c7('0x78')==_0x12a9ff[_0x59c7('0x47')][_0x59c7('0x77')])return;const _0x386bcb=Array[_0x59c7('0x33')](_0xf22af3['getRanges']())[_0x59c7('0x4e')](_0x5a11fe=>_0x1534f3['fromRange'](_0x5a11fe));_0x53dc39[_0x59c7('0x3e')](_0x12a9ff),_0x3ecc96[_0x59c7('0x48')][_0x59c7('0x5f')](_0x4217b4)[_0x59c7('0x69')](),_0x159331[_0x59c7('0x7f')]({'forceDefaultExecution':!0x0}),_0x3ecc96[_0x59c7('0x1c')](_0x4217b4,..._0x159331);const _0x4b9968=_0x386bcb[_0x59c7('0x31')](_0x4af98f=>'$graveyard'!=_0x4af98f[_0x59c7('0x47')][_0x59c7('0x77')]);_0x4b9968[_0x59c7('0x28')]>0x0&&_0x53dc39[_0x59c7('0x3e')](_0x4b9968);for(const _0x30a5eb of _0x386bcb)_0x30a5eb[_0x59c7('0x43')]();});};}[_0x59c7('0x1d')](_0x294990){const _0x173c30=this['editor'][_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x22'));let _0x5330c9=Number[_0x59c7('0x82')],_0x100fe7=Number[_0x59c7('0x18')],_0x435617=Number[_0x59c7('0x82')],_0x13c767=Number['MIN_SAFE_INTEGER'];for(const _0x3a5094 of _0x294990){if(_0x59c7('0x78')==_0x3a5094[_0x59c7('0x47')][_0x59c7('0x77')])continue;const {row:_0x75cad9,column:_0x4d09a0}=_0x173c30[_0x59c7('0x65')](_0x3a5094),_0x5df52c=_0x3a5094[_0x59c7('0x6f')](_0x59c7('0x17'))?_0x3a5094[_0x59c7('0x44')]('rowspan')-0x1:0x0,_0x50087e=_0x3a5094[_0x59c7('0x6f')](_0x59c7('0x56'))?_0x3a5094['getAttribute']('colspan')-0x1:0x0;_0x5330c9=_0x75cad9<_0x5330c9?_0x75cad9:_0x5330c9,_0x100fe7=_0x75cad9+_0x5df52c>_0x100fe7?_0x75cad9+_0x5df52c:_0x100fe7,_0x435617=_0x4d09a0<_0x435617?_0x4d09a0:_0x435617,_0x13c767=_0x4d09a0+_0x50087e>_0x13c767?_0x4d09a0+_0x50087e:_0x13c767;}return{'minRow':_0x5330c9,'maxRow':_0x100fe7,'minColumn':_0x435617,'maxColumn':_0x13c767};}[_0x59c7('0x55')](){const _0x24d459=this[_0x59c7('0x46')],_0x513f0e=_0x24d459[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x40')),_0xdfc28a=_0x24d459[_0x59c7('0x9')][_0x59c7('0x5f')](_0x59c7('0x22'));_0x24d459[_0x59c7('0x85')][_0x59c7('0x26')]['on'](_0x59c7('0x1b'),()=>{const _0x51350a=Array['from'](_0x24d459[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x84')][_0x59c7('0x12')]());for(const {name:_0x52acbc,data:_0x515f0d}of _0x51350a){const {group:_0x9f9940,id:_0x1c6a73,subType:_0x7525e2}=_0x513f0e['_splitMarkerName'](_0x52acbc);if(_0x59c7('0xd')!=_0x9f9940)continue;if(null!=_0x515f0d[_0x59c7('0x2e')])continue;const _0x1191c5=_0x513f0e[_0x59c7('0x21')](_0x1c6a73);this['_tablePostFixingSubtypes'][_0x59c7('0x45')](_0x7525e2)&&this[_0x59c7('0x3d')][_0x59c7('0x6a')](_0x1191c5);}},{'priority':'low'});const _0xef9653=(_0x457190,_0x3df0bc)=>{let _0x455c73=!0x1;const _0x10f876=_0x3df0bc[_0x59c7('0xc')](_0x457190),_0x2df15a=_0x457190[_0x59c7('0x4b')](_0x59c7('0x4d')),_0x5a90df=_0xdfc28a['getCellLocation'](_0x457190);for(const _0x1c69a9 of this[_0x59c7('0x3d')]){const _0x47f128=_0x1c69a9['subType'],_0x3977f4=_0x47f128['startsWith']('tablePaste'),_0x59f977=_0x47f128['substr'](_0x3977f4?0xa:0x5),_0x3b3f8b=_0x59f977[_0x59c7('0x6b')](),_0x3b9cd8=_0x3b3f8b['substr'](0x0,0x3)+_0x59c7('0x8'),_0x52b1b0=_0x59c7('0x39')+_0x59f977,_0x2433bb=_0x59c7('0x6')+_0x59f977;if(!_0x1c69a9[_0x59c7('0x66')])continue;if(_0x2df15a!=_0x1c69a9[_0x59c7('0x6e')]()['start']['findAncestor']('table'))continue;if(_0x1c69a9[_0x59c7('0x83')](_0x10f876))continue;const _0x2131a6=_0x457190[_0x59c7('0x6f')](_0x3b9cd8)?_0x457190[_0x59c7('0x44')](_0x3b9cd8)-0x1:0x0,_0x1ebe61=this[_0x59c7('0x11')](_0x1c69a9),_0x890d12=_0x1ebe61[_0x52b1b0],_0x5b7eb8=_0x1ebe61[_0x2433bb];_0x890d12<=_0x5a90df[_0x3b3f8b]&&_0x5a90df[_0x3b3f8b]+_0x2131a6<=_0x5b7eb8&&(_0x1c69a9[_0x59c7('0x5c')](_0x10f876),_0x455c73=!0x0);}return _0x455c73;};_0x24d459['model'][_0x59c7('0x26')][_0x59c7('0xf')](_0x56c1bc=>{let _0x24296e=!0x1;for(const _0x177504 of _0x24d459[_0x59c7('0x85')][_0x59c7('0x26')][_0x59c7('0x84')][_0x59c7('0x3b')]())if(_0x59c7('0x2b')==_0x177504[_0x59c7('0x13')]){if(_0x59c7('0x2')==_0x177504[_0x59c7('0x36')])for(const _0xe1eee9 of _0x177504['position'][_0x59c7('0x5a')][_0x59c7('0x6d')]())_0x24296e=_0x24296e||_0xef9653(_0xe1eee9,_0x56c1bc);else _0x59c7('0x3f')==_0x177504[_0x59c7('0x36')]&&(_0x24296e=_0x24296e||_0xef9653(_0x177504[_0x59c7('0x5d')][_0x59c7('0x5a')],_0x56c1bc));}return _0x24296e;});}['_getSuggestionCoords'](_0x8128d8){return this['_getCoordsForCells'](_0x8128d8[_0x59c7('0x59')]()['map'](_0x3b3577=>_0x3b3577[_0x59c7('0x2c')][_0x59c7('0x5a')]));}}function se(_0xccec15){return Array[_0x59c7('0x33')](new Set(_0xccec15)[_0x59c7('0x4f')]());}
23
+ const _0x4c19=['some','rowspan','getRanges','*Remove:*\x20%0','toViewElement','_acceptFormatSuggestionCallbackFactory','removeTableRow','ELEMENT_TABLE','start','TableUtils','insertion','TrackChangesEditing','push','map','afterInit','plugins','suggestion','findAncestor','from','nodeAfter','markMultiRangeDeletion','registerElementLabel','registerDescriptionCallback','$textProxy','getChildren','span','_suggestionFactory','document','cell','hasAttribute','getSelectionAffectedTableCells','_tablePostFixingSubtypes','getFirstRange','editor','element','isEqual','insert','selectTableRow','isArray','*Insert:*\x20%0','commands','createRangeOn','_getSuggestionCoords','left','above','getColumnIndexes','type','_setupColumnsRowsFixing','refresh','writer','end','registerCustomCallback','_tableSuggestions','maxColumn','tableRow','_getCoordsForCells','startsWith','insertTableColumnRight','position','rootName','fromRange','data','highest','getAttribute','tablePaste','options','createPositionAt','MIN_SAFE_INTEGER','getChangedMarkers','change','change:data','execute','removeTableColumn','locale','markMultiRangeInsertion','addClass','max','model','minColumn','length','downcastDispatcher','showSuggestionHighlights','removeClass','add','ELEMENT_TABLE_WITH_TEXT','colspan','registerPostFixer','getItems','join','detach','name','ELEMENT_TABLE_COLUMN','MAX_SAFE_INTEGER','differ','selectTableColumn','subType','oldRange','enableCommand','batch','getCellLocation','values','insertTableColumnLeft','substr','addRange','get','first','toLowerCase','every','TableEditing','forceValue','last','min','includes','low','maxRow','item','table','createRangeIn','filter','ELEMENT_TABLE_ROW','$graveyard','addMarker:suggestion','enqueueChange','getRowIndexes','has','discard','ELEMENT_TABLE_ROW_WITH_TEXT','deletion','root','mapper','isInContent','accept','_descriptionFactory','createTableWalker','setSelection','tableColumn','getSuggestion','order','insertTable'];(function(_0x399261,_0x4c19fd){const _0x2fd0ec=function(_0x4de193){while(--_0x4de193){_0x399261['push'](_0x399261['shift']());}};_0x2fd0ec(++_0x4c19fd);}(_0x4c19,0x156));const _0x2fd0=function(_0x399261,_0x4c19fd){_0x399261=_0x399261-0x0;let _0x2fd0ec=_0x4c19[_0x399261];return _0x2fd0ec;};import{Plugin as _0x5c2007}from'ckeditor5/src/core';import{LiveRange as _0x26dd57}from'ckeditor5/src/engine';import{setHighlightHandling as _0x363c34}from'ckeditor5/src/widget';import{getTranslation as _0x4b0439}from'../utils/common-translations';export default class wt extends _0x5c2007{constructor(_0x4b22a8){super(_0x4b22a8),this['_tablePostFixingSubtypes']=[_0x2fd0('0x81'),_0x2fd0('0x47')],this['_tableSuggestions']=new Set();}[_0x2fd0('0x59')](){const _0x1a33ac=this[_0x2fd0('0x6c')],_0x2b16d3=_0x1a33ac['model'][_0x2fd0('0x66')]['selection'];if(!_0x1a33ac['plugins'][_0x2fd0('0x3c')](_0x2fd0('0x2c')))return;const _0x26f189=_0x1a33ac[_0x2fd0('0x9')],_0x10db91=_0x1a33ac['plugins'][_0x2fd0('0x28')](_0x2fd0('0x56')),_0x105e92=_0x1a33ac['plugins']['get']('TableUtils');_0x10db91[_0x2fd0('0x44')][_0x2fd0('0x60')](_0x2fd0('0x34'),_0x28e0dc=>_0x4b0439(_0x26f189,_0x2fd0('0x52'),_0x28e0dc)),this[_0x2fd0('0x7a')](),_0x10db91[_0x2fd0('0x21')](_0x2fd0('0x4a')),_0x10db91[_0x2fd0('0x21')](_0x2fd0('0x70')),_0x10db91[_0x2fd0('0x21')](_0x2fd0('0x1e'));for(const _0x57cfc8 of['insertTableRowAbove','insertTableRowBelow']){const _0x356f43=_0x1a33ac[_0x2fd0('0x73')]['get'](_0x57cfc8);_0x10db91['enableCommand'](_0x57cfc8,_0x230ead=>{_0x1a33ac[_0x2fd0('0xd')][_0x2fd0('0x5')](_0x445f64=>{_0x230ead();const _0x160a8a=_0x2fd0('0x77')===_0x356f43[_0x2fd0('0x49')],_0x46d357=_0x105e92[_0x2fd0('0x69')](_0x2b16d3),_0x48d93d=_0x105e92[_0x2fd0('0x3b')](_0x46d357),_0x548789=_0x160a8a?_0x48d93d[_0x2fd0('0x29')]-0x1:_0x48d93d[_0x2fd0('0x2e')]+0x1,_0x225989=_0x46d357[0x0][_0x2fd0('0x5c')](_0x2fd0('0x34')),_0x3abd62=_0x105e92[_0x2fd0('0x45')](_0x225989,{'startRow':_0x548789,'endRow':_0x548789}),_0x5274ad=Array[_0x2fd0('0x5d')](_0x3abd62)[_0x2fd0('0x58')](_0x25e584=>_0x445f64[_0x2fd0('0x74')](_0x25e584[_0x2fd0('0x67')]));_0x10db91[_0x2fd0('0xa')](_0x5274ad,_0x2fd0('0x81'));});});}for(const _0x4ea1f8 of[_0x2fd0('0x25'),_0x2fd0('0x84')]){const _0xe2f5db=_0x1a33ac[_0x2fd0('0x73')][_0x2fd0('0x28')](_0x4ea1f8);_0x10db91[_0x2fd0('0x21')](_0x4ea1f8,_0xb6f201=>{_0x1a33ac['model'][_0x2fd0('0x5')](_0x2a06d1=>{_0xb6f201();const _0x374303=_0x2fd0('0x76')===_0xe2f5db[_0x2fd0('0x49')],_0x52592a=_0x105e92[_0x2fd0('0x69')](_0x2b16d3),_0x5a8ed9=_0x105e92['getColumnIndexes'](_0x52592a),_0x2dc6ce=_0x374303?_0x5a8ed9[_0x2fd0('0x29')]-0x1:_0x5a8ed9['last']+0x1,_0x4a7a6d=_0x52592a[0x0][_0x2fd0('0x5c')](_0x2fd0('0x34')),_0x3bf7e7=_0x105e92[_0x2fd0('0x45')](_0x4a7a6d,{'startRow':0x0,'column':_0x2dc6ce,'includeAllSlots':!0x1}),_0x1ea735=Array['from'](_0x3bf7e7)['map'](_0x21d14a=>_0x2a06d1['createRangeOn'](_0x21d14a['cell']));_0x10db91[_0x2fd0('0xa')](_0x1ea735,_0x2fd0('0x47'));});});}for(const _0x2b20b9 of[_0x2fd0('0x51'),_0x2fd0('0x8')]){const _0xbb12ca=_0x2b20b9[_0x2fd0('0x26')](0xb),_0x1cdb67=_0xbb12ca[_0x2fd0('0x2a')](),_0x2af3ae=_0x1cdb67[_0x2fd0('0x26')](0x0,0x3)+_0x2fd0('0x64'),_0x3066ee='table'+_0xbb12ca,_0x418467=_0x2fd0('0x2f')+_0xbb12ca,_0x43ebac=_0x2fd0('0xc')+_0xbb12ca;_0x10db91[_0x2fd0('0x21')](_0x2b20b9,()=>{_0x1a33ac[_0x2fd0('0xd')][_0x2fd0('0x5')](_0x1e81e6=>{const _0x399132=_0x105e92[_0x2fd0('0x69')](_0x2b16d3),_0x402759=_0x399132[0x0][_0x2fd0('0x5c')]('table');let _0x95fe8c;if('removeTableRow'==_0x2b20b9){const _0x682a99=_0x105e92[_0x2fd0('0x3b')](_0x399132);_0x95fe8c={'startRow':_0x682a99[_0x2fd0('0x29')],'endRow':_0x682a99[_0x2fd0('0x2e')],'includeAllSlots':!0x0};}else{const _0x3946b3=_0x105e92[_0x2fd0('0x78')](_0x399132);_0x95fe8c={'startColumn':_0x3946b3['first'],'endColumn':_0x3946b3[_0x2fd0('0x2e')],'includeAllSlots':!0x0};}const _0x564bb6=_0x105e92[_0x2fd0('0x45')](_0x402759,_0x95fe8c),_0x32ee8b=Array[_0x2fd0('0x5d')](_0x564bb6)[_0x2fd0('0x58')](({cell:_0x43dd59})=>_0x43dd59),_0x39f7cf=se(_0x32ee8b[_0x2fd0('0x36')](_0x10317b=>_0x10317b[_0x2fd0('0x68')](_0x2af3ae))),_0x53032c=se(_0x32ee8b[_0x2fd0('0x36')](_0x357c30=>!_0x357c30[_0x2fd0('0x68')](_0x2af3ae)))[_0x2fd0('0x58')](_0x3df708=>_0x1e81e6[_0x2fd0('0x74')](_0x3df708)),_0x25e28c=_0x10db91[_0x2fd0('0x5f')](_0x53032c,_0x3066ee);if(_0x25e28c&&(_0x2fd0('0x81')==_0x25e28c['subType']||_0x2fd0('0x47')==_0x25e28c[_0x2fd0('0x1f')])){const _0x51e4d6=this[_0x2fd0('0x75')](_0x25e28c);for(const _0x1cf858 of _0x39f7cf){const _0x3fa86c=_0x1e81e6['createRangeOn'](_0x1cf858),_0x9ba377=_0x105e92[_0x2fd0('0x23')](_0x1cf858),_0x133728=_0x1cf858[_0x2fd0('0x8a')](_0x2af3ae)-0x1,_0x19dbdb=_0x51e4d6[_0x418467],_0x17be34=_0x51e4d6[_0x43ebac];_0x19dbdb<=_0x9ba377[_0x1cdb67]&&_0x9ba377[_0x1cdb67]+_0x133728<=_0x17be34&&_0x25e28c[_0x2fd0('0x27')](_0x3fa86c);}}});});}function _0x5e9168(_0x31fda3){const _0x581399=Array[_0x2fd0('0x5d')](_0x2b16d3[_0x2fd0('0x4d')]())[_0x2fd0('0x58')](_0x287593=>_0x26dd57[_0x2fd0('0x87')](_0x287593));_0x1a33ac['model']['change'](_0x274f7a=>{const _0x3cf654=_0x274f7a[_0x2fd0('0x22')];_0x31fda3=_0x31fda3[_0x2fd0('0x36')](_0x512996=>'$graveyard'!=_0x512996['root'][_0x2fd0('0x86')]),_0x274f7a['setSelection'](_0x31fda3),_0x1a33ac[_0x2fd0('0x73')][_0x2fd0('0x28')](_0x2fd0('0x51'))[_0x2fd0('0x7b')](),_0x1a33ac[_0x2fd0('0x7')](_0x2fd0('0x51'),{'forceDefaultExecution':!0x0}),_0x1a33ac[_0x2fd0('0xd')][_0x2fd0('0x3a')](()=>{_0x1a33ac[_0x2fd0('0xd')][_0x2fd0('0x3a')](_0x3cf654,_0x221fe9=>{const _0x2b7d59=_0x581399[_0x2fd0('0x36')](_0x5b8061=>_0x2fd0('0x38')!=_0x5b8061[_0x2fd0('0x40')]['rootName']);_0x2b7d59['length']>0x0&&_0x221fe9[_0x2fd0('0x46')](_0x2b7d59);for(const _0x14e7c8 of _0x581399)_0x14e7c8[_0x2fd0('0x19')]();});});});}function _0x59de36(_0x2f46a1){_0x1a33ac[_0x2fd0('0xd')]['change'](_0x4a9df9=>{const _0x55ae97=Array[_0x2fd0('0x5d')](_0x2b16d3[_0x2fd0('0x4d')]())[_0x2fd0('0x58')](_0x36daa0=>_0x26dd57['fromRange'](_0x36daa0)),_0x4fd34f=[];for(const _0x2e3230 of _0x2f46a1)for(const _0x39137b of _0x2e3230[_0x2fd0('0x17')]({'shallow':!0x0}))_0x4fd34f[_0x2fd0('0x57')](_0x39137b);for(const _0x2b61e5 of _0x4fd34f)'$graveyard'!=_0x2b61e5[_0x2fd0('0x40')][_0x2fd0('0x86')]&&(_0x4a9df9[_0x2fd0('0x46')](_0x4a9df9[_0x2fd0('0x2')](_0x2b61e5,0x0)),_0x1a33ac['commands'][_0x2fd0('0x28')]('removeTableColumn')[_0x2fd0('0x7b')](),_0x1a33ac['execute'](_0x2fd0('0x8'),{'forceDefaultExecution':!0x0}));const _0x3dbb56=_0x55ae97[_0x2fd0('0x36')](_0x2adde3=>_0x2fd0('0x38')!=_0x2adde3[_0x2fd0('0x40')][_0x2fd0('0x86')]);_0x3dbb56[_0x2fd0('0xf')]>0x0&&_0x4a9df9[_0x2fd0('0x46')](_0x3dbb56);for(const _0x258be2 of _0x55ae97)_0x258be2[_0x2fd0('0x19')]();});}function _0x3ad5de(_0x9add1d,_0x2592ac){return _0x2592ac[_0x2fd0('0x2b')](_0x5a28e9=>_0x9add1d[_0x2fd0('0x4b')](_0x41f851=>_0x41f851[_0x2fd0('0x7d')][_0x2fd0('0x6e')](_0x5a28e9[_0x2fd0('0x53')])||_0x5a28e9['end'][_0x2fd0('0x6e')](_0x41f851[_0x2fd0('0x53')])));}function _0x10c26a(_0x4170e0,_0x5190f1){return _0x4170e0[_0x2fd0('0x4b')](_0x28ec82=>_0x5190f1[_0x2fd0('0x4b')](_0x4337ff=>_0x28ec82[_0x2fd0('0x7d')]['isTouching'](_0x4337ff['start'])));}_0x1a33ac[_0x2fd0('0x88')][_0x2fd0('0x10')]['on'](_0x2fd0('0x39'),(_0x2cdb63,_0x2b0d51,_0x5558ce)=>{if(!_0x5558ce[_0x2fd0('0x1')][_0x2fd0('0x11')])return;const _0x3e28e1=_0x2b0d51[_0x2fd0('0x33')];if(!_0x3e28e1)return;const _0x338552=_0x5558ce[_0x2fd0('0x41')][_0x2fd0('0x4f')](_0x3e28e1);function _0x58c561(_0x864c70){return Array[_0x2fd0('0x71')](_0x864c70)?_0x864c70:[_0x864c70];}_0x338552&&'tableCell'===_0x3e28e1[_0x2fd0('0x1a')]&&_0x363c34(_0x338552,_0x5558ce[_0x2fd0('0x7c')],(_0x57fde3,_0x333792,_0x3d3e7e)=>_0x3d3e7e[_0x2fd0('0xb')](_0x58c561(_0x333792['classes']),_0x57fde3),(_0x2f0b94,_0x2dda86,_0x18c197)=>_0x18c197[_0x2fd0('0x12')](_0x58c561(_0x2dda86['classes']),_0x2f0b94));},{'priority':_0x2fd0('0x89')}),_0x10db91[_0x2fd0('0x44')][_0x2fd0('0x61')](_0x341df8=>{if(_0x2fd0('0x55')!=_0x341df8['type']&&_0x2fd0('0x3f')!=_0x341df8[_0x2fd0('0x79')])return;const _0x439ac7=_0x341df8['getContainedElement']();if(null!=_0x439ac7&&_0x439ac7['is'](_0x2fd0('0x6d'),_0x2fd0('0x34'))){if(_0x2fd0('0x55')==_0x341df8['type']){const _0x54011f=_0x341df8[_0x2fd0('0x17')]()[_0x2fd0('0x36')](_0xeca5f=>_0xeca5f['is'](_0x2fd0('0x62')))[_0x2fd0('0x58')](_0x5ace35=>_0x5ace35[_0x2fd0('0x88')]);if(_0x54011f[_0x2fd0('0xf')])return{'type':_0x2fd0('0x55'),'content':_0x4b0439(_0x26f189,'*Insert:*\x20%0',_0x4b0439(_0x26f189,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x54011f[_0x2fd0('0x18')]('\x20')+'\x22'))};}if('deletion'==_0x341df8[_0x2fd0('0x79')]){const _0x51c648=_0x341df8[_0x2fd0('0x17')]()[_0x2fd0('0x36')](_0xda894=>_0xda894['is'](_0x2fd0('0x62')))['map'](_0x1b3431=>_0x1b3431[_0x2fd0('0x88')]);if(_0x51c648[_0x2fd0('0xf')])return{'type':_0x2fd0('0x3f'),'content':_0x4b0439(_0x26f189,'*Remove:*\x20%0',_0x4b0439(_0x26f189,_0x2fd0('0x14'),'\x22'+_0x51c648[_0x2fd0('0x18')]('\x20')+'\x22'))};}}}),_0x10db91[_0x2fd0('0x44')][_0x2fd0('0x61')](_0x368aa1=>{if(_0x2fd0('0x81')==_0x368aa1[_0x2fd0('0x1f')]){const _0x3262f7=_0x368aa1[_0x2fd0('0x17')]()[_0x2fd0('0x36')](_0xb74ff3=>_0xb74ff3['is'](_0x2fd0('0x62')))['map'](_0x1ee206=>_0x1ee206[_0x2fd0('0x88')]),_0x5e44e8=this[_0x2fd0('0x75')](_0x368aa1),_0x35f478=_0x5e44e8[_0x2fd0('0x32')]-_0x5e44e8['minRow']+0x1;if('insertion'==_0x368aa1[_0x2fd0('0x79')])return _0x3262f7[_0x2fd0('0xf')]?{'type':_0x2fd0('0x55'),'content':_0x4b0439(_0x26f189,_0x2fd0('0x72'),_0x4b0439(_0x26f189,_0x2fd0('0x3e'),[_0x35f478,'\x22'+_0x3262f7[_0x2fd0('0x18')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x4b0439(_0x26f189,_0x2fd0('0x72'),_0x4b0439(_0x26f189,_0x2fd0('0x37'),_0x35f478))};if(_0x2fd0('0x3f')==_0x368aa1[_0x2fd0('0x79')])return _0x3262f7[_0x2fd0('0xf')]?{'type':_0x2fd0('0x3f'),'content':_0x4b0439(_0x26f189,_0x2fd0('0x4e'),_0x4b0439(_0x26f189,_0x2fd0('0x3e'),[_0x35f478,'\x22'+_0x3262f7[_0x2fd0('0x18')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x4b0439(_0x26f189,_0x2fd0('0x4e'),_0x4b0439(_0x26f189,'ELEMENT_TABLE_ROW',_0x35f478))};}if(_0x2fd0('0x47')==_0x368aa1[_0x2fd0('0x1f')]){const _0x24a28d=_0x368aa1[_0x2fd0('0x17')]()['filter'](_0xa007af=>_0xa007af['is']('$textProxy'))[_0x2fd0('0x58')](_0x2a1dc7=>_0x2a1dc7[_0x2fd0('0x88')]),_0x2adef8=this[_0x2fd0('0x75')](_0x368aa1),_0x142d6b=_0x2adef8[_0x2fd0('0x80')]-_0x2adef8[_0x2fd0('0xe')]+0x1;if(_0x2fd0('0x55')==_0x368aa1[_0x2fd0('0x79')])return _0x24a28d[_0x2fd0('0xf')]?{'type':_0x2fd0('0x55'),'content':_0x4b0439(_0x26f189,_0x2fd0('0x72'),_0x4b0439(_0x26f189,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x142d6b,'\x22'+_0x24a28d['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x4b0439(_0x26f189,'*Insert:*\x20%0',_0x4b0439(_0x26f189,_0x2fd0('0x1b'),_0x142d6b))};if(_0x2fd0('0x3f')==_0x368aa1['type'])return _0x24a28d['length']?{'type':_0x2fd0('0x3f'),'content':_0x4b0439(_0x26f189,_0x2fd0('0x4e'),_0x4b0439(_0x26f189,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x142d6b,'\x22'+_0x24a28d[_0x2fd0('0x18')]('\x20')+'\x22']))}:{'type':_0x2fd0('0x3f'),'content':_0x4b0439(_0x26f189,_0x2fd0('0x4e'),_0x4b0439(_0x26f189,_0x2fd0('0x1b'),_0x142d6b))};}}),_0x10db91['_suggestionFactory'][_0x2fd0('0x7e')]('insertion',_0x2fd0('0x81'),'discard',_0x5e9168),_0x10db91[_0x2fd0('0x65')][_0x2fd0('0x7e')](_0x2fd0('0x3f'),_0x2fd0('0x81'),_0x2fd0('0x43'),_0x5e9168),_0x10db91['_suggestionFactory'][_0x2fd0('0x7e')](_0x2fd0('0x55'),_0x2fd0('0x47'),_0x2fd0('0x3d'),_0x59de36),_0x10db91[_0x2fd0('0x65')][_0x2fd0('0x7e')]('deletion','tableColumn','accept',_0x59de36),_0x10db91[_0x2fd0('0x65')][_0x2fd0('0x7e')](_0x2fd0('0x55'),_0x2fd0('0x47'),_0x2fd0('0x18'),_0x3ad5de),_0x10db91[_0x2fd0('0x65')]['registerCustomCallback'](_0x2fd0('0x3f'),'tableColumn',_0x2fd0('0x18'),_0x3ad5de),_0x10db91[_0x2fd0('0x65')]['registerCustomCallback'](_0x2fd0('0x55'),_0x2fd0('0x81'),_0x2fd0('0x18'),_0x10c26a),_0x10db91[_0x2fd0('0x65')][_0x2fd0('0x7e')](_0x2fd0('0x3f'),_0x2fd0('0x81'),_0x2fd0('0x18'),_0x10c26a);}[_0x2fd0('0x50')](){const _0xdc8c2d=this[_0x2fd0('0x6c')],_0x4b659d=_0xdc8c2d[_0x2fd0('0xd')][_0x2fd0('0x66')]['selection'];return(_0x415da1,_0x4f494a)=>{_0xdc8c2d[_0x2fd0('0xd')]['change'](_0x508c34=>{const {commandName:_0xc3e43b,commandParams:_0x43124e}=_0x4f494a;let _0x4429c5=_0x415da1[0x0][_0x2fd0('0x7d')]['nodeBefore'];_0x43124e&&_0x43124e[0x0]&&!0x1===_0x43124e[0x0][_0x2fd0('0x2d')]&&(_0x4429c5=_0x415da1[0x0][_0x2fd0('0x53')][_0x2fd0('0x5e')]);const _0x5ccdb8=_0x508c34[_0x2fd0('0x35')](_0x4429c5);if(_0x2fd0('0x38')==_0x5ccdb8[_0x2fd0('0x40')]['rootName'])return;const _0x16cff6=Array[_0x2fd0('0x5d')](_0x4b659d[_0x2fd0('0x4d')]())[_0x2fd0('0x58')](_0xd30fd5=>_0x26dd57[_0x2fd0('0x87')](_0xd30fd5));_0x508c34[_0x2fd0('0x46')](_0x5ccdb8),_0xdc8c2d[_0x2fd0('0x73')][_0x2fd0('0x28')](_0xc3e43b)[_0x2fd0('0x7b')](),_0x43124e[_0x2fd0('0x57')]({'forceDefaultExecution':!0x0}),_0xdc8c2d[_0x2fd0('0x7')](_0xc3e43b,..._0x43124e);const _0x8fdfaf=_0x16cff6[_0x2fd0('0x36')](_0x217bdf=>_0x2fd0('0x38')!=_0x217bdf[_0x2fd0('0x40')][_0x2fd0('0x86')]);_0x8fdfaf[_0x2fd0('0xf')]>0x0&&_0x508c34[_0x2fd0('0x46')](_0x8fdfaf);for(const _0x5c2f79 of _0x16cff6)_0x5c2f79[_0x2fd0('0x19')]();});};}[_0x2fd0('0x82')](_0x43972a){const _0x4b1f54=this[_0x2fd0('0x6c')]['plugins'][_0x2fd0('0x28')](_0x2fd0('0x54'));let _0x5300da=Number[_0x2fd0('0x1c')],_0x1a68c9=Number[_0x2fd0('0x3')],_0x26e0fb=Number[_0x2fd0('0x1c')],_0x559a31=Number[_0x2fd0('0x3')];for(const _0x314c55 of _0x43972a){if(_0x2fd0('0x38')==_0x314c55[_0x2fd0('0x40')][_0x2fd0('0x86')])continue;const {row:_0x44455e,column:_0x9dec06}=_0x4b1f54['getCellLocation'](_0x314c55),_0x2b27f5=_0x314c55['hasAttribute'](_0x2fd0('0x4c'))?_0x314c55[_0x2fd0('0x8a')](_0x2fd0('0x4c'))-0x1:0x0,_0x90daa=_0x314c55[_0x2fd0('0x68')]('colspan')?_0x314c55[_0x2fd0('0x8a')](_0x2fd0('0x15'))-0x1:0x0;_0x5300da=_0x44455e<_0x5300da?_0x44455e:_0x5300da,_0x1a68c9=_0x44455e+_0x2b27f5>_0x1a68c9?_0x44455e+_0x2b27f5:_0x1a68c9,_0x26e0fb=_0x9dec06<_0x26e0fb?_0x9dec06:_0x26e0fb,_0x559a31=_0x9dec06+_0x90daa>_0x559a31?_0x9dec06+_0x90daa:_0x559a31;}return{'minRow':_0x5300da,'maxRow':_0x1a68c9,'minColumn':_0x26e0fb,'maxColumn':_0x559a31};}['_setupColumnsRowsFixing'](){const _0x4f022e=this['editor'],_0x1c5bf2=_0x4f022e[_0x2fd0('0x5a')]['get'](_0x2fd0('0x56')),_0x1d82e4=_0x4f022e['plugins']['get'](_0x2fd0('0x54'));_0x4f022e[_0x2fd0('0xd')][_0x2fd0('0x66')]['on'](_0x2fd0('0x6'),()=>{const _0x1ae7f4=Array['from'](_0x4f022e['model'][_0x2fd0('0x66')]['differ'][_0x2fd0('0x4')]());for(const {name:_0x41ee3b,data:_0xd7a6b}of _0x1ae7f4){const {group:_0x1c83c6,id:_0x45f778,subType:_0x30aea5}=_0x1c5bf2['_splitMarkerName'](_0x41ee3b);if(_0x2fd0('0x5b')!=_0x1c83c6)continue;if(null!=_0xd7a6b[_0x2fd0('0x20')])continue;const _0x1552ed=_0x1c5bf2[_0x2fd0('0x48')](_0x45f778);this[_0x2fd0('0x6a')][_0x2fd0('0x30')](_0x30aea5)&&this[_0x2fd0('0x7f')][_0x2fd0('0x13')](_0x1552ed);}},{'priority':_0x2fd0('0x31')});const _0x567da6=(_0x43b4cf,_0x36eb26)=>{let _0x2297a9=!0x1;const _0x47d328=_0x36eb26[_0x2fd0('0x74')](_0x43b4cf),_0x4e4733=_0x43b4cf[_0x2fd0('0x5c')]('table'),_0xc40ee=_0x1d82e4[_0x2fd0('0x23')](_0x43b4cf);for(const _0x1969bc of this[_0x2fd0('0x7f')]){const _0x30b473=_0x1969bc['subType'],_0x3b3edb=_0x30b473[_0x2fd0('0x83')](_0x2fd0('0x0')),_0x58d621=_0x30b473['substr'](_0x3b3edb?0xa:0x5),_0x12bf8e=_0x58d621[_0x2fd0('0x2a')](),_0x1cc5c6=_0x12bf8e[_0x2fd0('0x26')](0x0,0x3)+'span',_0x487997=_0x2fd0('0x2f')+_0x58d621,_0x46cf2a=_0x2fd0('0xc')+_0x58d621;if(!_0x1969bc[_0x2fd0('0x42')])continue;if(_0x4e4733!=_0x1969bc[_0x2fd0('0x6b')]()['start'][_0x2fd0('0x5c')](_0x2fd0('0x34')))continue;if(_0x1969bc['isIntersectingWithRange'](_0x47d328))continue;const _0x189885=_0x43b4cf[_0x2fd0('0x68')](_0x1cc5c6)?_0x43b4cf['getAttribute'](_0x1cc5c6)-0x1:0x0,_0x176583=this[_0x2fd0('0x75')](_0x1969bc),_0xa09d10=_0x176583[_0x487997],_0x323c18=_0x176583[_0x46cf2a];_0xa09d10<=_0xc40ee[_0x12bf8e]&&_0xc40ee[_0x12bf8e]+_0x189885<=_0x323c18&&(_0x1969bc[_0x2fd0('0x27')](_0x47d328),_0x2297a9=!0x0);}return _0x2297a9;};_0x4f022e[_0x2fd0('0xd')][_0x2fd0('0x66')][_0x2fd0('0x16')](_0x55adc8=>{let _0x4a7cbc=!0x1;for(const _0x2552a8 of _0x4f022e[_0x2fd0('0xd')][_0x2fd0('0x66')][_0x2fd0('0x1d')]['getChanges']())if(_0x2fd0('0x6f')==_0x2552a8['type']){if('tableRow'==_0x2552a8['name'])for(const _0x1e8b52 of _0x2552a8[_0x2fd0('0x85')]['nodeAfter'][_0x2fd0('0x63')]())_0x4a7cbc=_0x4a7cbc||_0x567da6(_0x1e8b52,_0x55adc8);else'tableCell'==_0x2552a8['name']&&(_0x4a7cbc=_0x4a7cbc||_0x567da6(_0x2552a8['position'][_0x2fd0('0x5e')],_0x55adc8));}return _0x4a7cbc;});}[_0x2fd0('0x75')](_0xd5a485){return this[_0x2fd0('0x82')](_0xd5a485['getRanges']()[_0x2fd0('0x58')](_0x466330=>_0x466330['start'][_0x2fd0('0x5e')]));}}function se(_0x59c0b){return Array[_0x2fd0('0x5d')](new Set(_0x59c0b)[_0x2fd0('0x24')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b95=['plugins','TrackChangesEditing','toggleTableCaption','get','requires','enableCommand'];(function(_0x319a70,_0x4b95d0){const _0x39b402=function(_0x561266){while(--_0x561266){_0x319a70['push'](_0x319a70['shift']());}};_0x39b402(++_0x4b95d0);}(_0x4b95,0x134));const _0x39b4=function(_0x319a70,_0x4b95d0){_0x319a70=_0x319a70-0x0;let _0x39b402=_0x4b95[_0x319a70];return _0x39b402;};import{Plugin as _0x38ffcf}from'ckeditor5/src/core';import _0x278b21 from'./table';export default class Nt extends _0x38ffcf{static get[_0x39b4('0x2')](){return[_0x278b21];}['afterInit'](){const _0x3c97c0=this['editor'];if(!_0x3c97c0[_0x39b4('0x4')]['has']('TableCaptionEditing'))return;_0x3c97c0['plugins'][_0x39b4('0x1')](_0x39b4('0x5'))[_0x39b4('0x3')](_0x39b4('0x0'));}}
23
+ const _0x2793=['requires','afterInit','get','editor','TrackChangesEditing','plugins'];(function(_0x261598,_0x2793e9){const _0x142bde=function(_0x3730e3){while(--_0x3730e3){_0x261598['push'](_0x261598['shift']());}};_0x142bde(++_0x2793e9);}(_0x2793,0x104));const _0x142b=function(_0x261598,_0x2793e9){_0x261598=_0x261598-0x0;let _0x142bde=_0x2793[_0x261598];return _0x142bde;};import{Plugin as _0xcc4d49}from'ckeditor5/src/core';import _0x1ea924 from'./table';export default class Nt extends _0xcc4d49{static get[_0x142b('0x4')](){return[_0x1ea924];}[_0x142b('0x5')](){const _0x59a6b6=this[_0x142b('0x1')];if(!_0x59a6b6[_0x142b('0x3')]['has']('TableCaptionEditing'))return;_0x59a6b6['plugins'][_0x142b('0x0')](_0x142b('0x2'))['enableCommand']('toggleTableCaption');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf473=['_descriptionFactory','content','attributes','has','getChanges','getShiftedBy','element','insertRows','set','documentSelection','getSelectionAffectedTableCells','markMultiRangeInsertion','map','batch','suggestionUnloaded','showSuggestionHighlights','markerAttributes','containsRange','newRange','length','tablePasteRow','_createdBatches','paragraph','getAllAdjacentSuggestions','accept','insertContent','endColumn','*Replace\x20table\x20cells*','getAttributes','columns','findAncestor','tableCellVerticalAlignment','conversion','rowInsertionRanges','position','column','ck-suggestion-marker','previous','start','cell','registerDescriptionCallback','isEqual','cells','editor','getColumns','ck-suggestion-marker-insertion','setAttribute','suggestion-td','end','forceDefaultExecution','getContainedElement','markMultiRangeDeletion','activeMarkers','getChildren','_getCoordsForCells','isInContent','_suggestionFactory','TrackChangesEditing','name','editingDowncast','tablePasteCell','value','getChangedMarkers','clipboardOutput','endRow','selection','getSuggestions','tableCellHorizontalAlignment','redo','getRanges','_tablePostFixingSubtypes','suggestion:formatBlock:tablePasteCell','createElement','document','join','getSuggestionCallback','getRows','editing','options','low','root','rows','high','reduce','elementToElement','removeMarker','insertion','listenTo','for','markerName','find','registerCustomCallback','fill','getChild','insert','subType','rowInsertionIndexes','unwrap','wrap','filter','from','oldRange','tableCellPadding','tablePasteChainId','differ','startsWith','return','_replaceTableSlotCell','rootName','registerPostFixer','afterInit','getRange','previousSibling','_splitMarkerName','fromEntries','createTableWalker','remove','register','tableCell','ck-suggestion-marker--active','TableClipboard','markMultiRangeBlockFormat','nextSibling','table','author','removeMarkers','_isForcedDefaultExecutionBlock','deletionRanges','change','markers','tableCellBackgroundColor','getMarkers','formatBlock','getItems','isEmpty','includes','last','tableCellBorderWidth','tablePaste','next','Users','push','createRangeIn','type','createPositionBefore','removeRows','first','updateMarker','tableCellSuggestion','tablePasteColumn','markerToHighlight','model','plugins','get','add','createRangeOn','getTableIfOnlyTableInContent','deletion','schema','discard'];(function(_0x1b4e68,_0xf4732c){const _0x506caa=function(_0x2e6e81){while(--_0x2e6e81){_0x1b4e68['push'](_0x1b4e68['shift']());}};_0x506caa(++_0xf4732c);}(_0xf473,0xd6));const _0x506c=function(_0x1b4e68,_0xf4732c){_0x1b4e68=_0x1b4e68-0x0;let _0x506caa=_0xf473[_0x1b4e68];return _0x506caa;};import{getTranslation as _0x378a0d}from'../utils/common-translations';import{Plugin as _0x3fb493}from'ckeditor5/src/core';import{uid as _0x503416,priorities as _0xb29e5f}from'ckeditor5/src/utils';import _0x49d087 from'./table';const le=[_0x506c('0x53'),'tableCellBorderColor','tableCellBorderStyle',_0x506c('0xd'),_0x506c('0x89'),_0x506c('0x4c'),_0x506c('0x30')],ae=Object[_0x506c('0x3c')](le[_0x506c('0x76')](_0x58ab09=>[_0x58ab09,null]));export default class At extends _0x3fb493{static get['requires'](){return[_0x49d087];}[_0x506c('0x38')](){const _0x219381=this[_0x506c('0x95')];if(!_0x219381[_0x506c('0x62')][_0x506c('0x6d')](_0x506c('0x42')))return;const _0x4f1e92=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x3')),_0x225bf4=_0x219381['plugins'][_0x506c('0x63')]('TableUtils'),_0x3c2562=_0x219381['plugins'][_0x506c('0x63')](_0x49d087),_0xc61a43=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x42'));_0x3c2562[_0x506c('0x10')]['push'](_0x506c('0x7e'),_0x506c('0x5f')),_0x219381['model'][_0x506c('0x68')][_0x506c('0x3f')]('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':_0x506c('0x40'),'isLimit':!0x0}),_0x219381[_0x506c('0x8a')][_0x506c('0x1e')]({'model':'tableCellSuggestion','view':_0x506c('0x99')});let _0x498d4c=null;_0x219381[_0x506c('0x61')]['on'](_0x506c('0x83'),(_0x53c362,_0x1dc20f)=>{const [_0xf5a6f,_0x1e8038]=_0x1dc20f,_0x38a8f4=_0x1dc20f[_0x1dc20f['length']-0x1];_0x38a8f4&&_0x38a8f4[_0x506c('0x9b')]||_0x4f1e92[_0x506c('0x48')]||this['editor']['commands'][_0x506c('0x63')]('trackChanges')[_0x506c('0x7')]&&function(_0x243227,_0x978b59,_0x30d2df,_0x1a134f,_0x231468){if(_0x978b59&&!_0x978b59['is'](_0x506c('0x73')))return!0x1;const _0xf36b65=_0x231468[_0x506c('0x66')](_0x243227,_0x30d2df);if(!_0xf36b65||!fe(_0xf36b65,void 0x0,_0x1a134f))return!0x1;const _0x5de461=_0x1a134f[_0x506c('0x74')](_0x30d2df[_0x506c('0x13')][_0x506c('0xb')]);if(!_0x5de461[_0x506c('0x7d')])return!0x1;const _0x1b70a1=_0x5de461[0x0][_0x506c('0x88')](_0x506c('0x45')),_0x4f88a9=_0x1a134f['getRowIndexes'](_0x5de461),_0x453fde=_0x1a134f['getColumnIndexes'](_0x5de461),_0x3ebb8e={'startRow':_0x4f88a9[_0x506c('0x5c')],'endRow':_0x4f88a9[_0x506c('0x52')],'startColumn':_0x453fde[_0x506c('0x5c')],'endColumn':_0x453fde[_0x506c('0x52')]};return 0x1==_0x5de461[_0x506c('0x7d')]&&(_0x3ebb8e[_0x506c('0xa')]+=_0x1a134f[_0x506c('0x16')](_0xf36b65)-0x1,_0x3ebb8e[_0x506c('0x84')]+=_0x1a134f[_0x506c('0x96')](_0xf36b65)-0x1),fe(_0x1b70a1,_0x3ebb8e,_0x1a134f);}(_0xf5a6f,_0x1e8038,_0x219381['model'],_0x225bf4,_0xc61a43)&&(_0x53c362['stop'](),_0x498d4c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x219381[_0x506c('0x61')][_0x506c('0x4a')](()=>{_0x219381[_0x506c('0x61')]['insertContent'](_0x1dc20f[0x0],_0x1dc20f[0x1],_0x1dc20f[0x2],{'forceDefaultExecution':!0x0});const _0x441d76=_0x503416(),{rowInsertionRanges:_0x36464d,columnInsertionRanges:_0x160b73,insertionRanges:_0x3a7c9d,deletionRanges:_0x5bb216,cells:_0x5f615d}=_0x498d4c;_0x36464d['length']&&_0x4f1e92[_0x506c('0x75')](_0x36464d,'tablePasteRow',{'tablePasteChainId':_0x441d76}),_0x160b73[_0x506c('0x7d')]&&_0x4f1e92[_0x506c('0x75')](_0x160b73,_0x506c('0x5f'),{'tablePasteChainId':_0x441d76}),_0x3a7c9d['length']&&_0x4f1e92['markMultiRangeInsertion'](_0x3a7c9d,'tablePaste',{'tablePasteChainId':_0x441d76,'skipNestingCheck':!0x0}),_0x5bb216['length']&&_0x4f1e92[_0x506c('0x9d')](_0x5bb216,_0x506c('0x54'),{'tablePasteChainId':_0x441d76,'skipNestingCheck':!0x0});const _0x21f143=_0x4f1e92[_0x506c('0x43')](_0x5f615d['map'](({element:_0x5bac81})=>_0x5bac81),{'formatGroupId':_0x503416()},[],_0x506c('0x6'),{'tablePasteChainId':_0x441d76});if(_0x21f143){const _0x1f59ea=_0x21f143[_0x506c('0x4d')](),_0x231a6d=[];for(const {element:_0x5f162e,attributes:_0x1dff5e}of _0x5f615d){if(!_0x1dff5e)continue;const _0x3e6789=_0x219381[_0x506c('0x61')]['createRangeOn'](_0x5f162e),_0x223893=_0x1f59ea[_0x506c('0x24')](_0x1f5db9=>_0x1f5db9[_0x506c('0x39')]()[_0x506c('0x93')](_0x3e6789));_0x223893&&_0x231a6d[_0x506c('0x57')]([_0x223893[_0x506c('0x4')],_0x1dff5e]);}_0x231a6d['length']&&_0x21f143[_0x506c('0x98')](_0x506c('0x7a'),Object[_0x506c('0x3c')](_0x231a6d));}_0x498d4c=null;}));},{'priority':_0xb29e5f['high']+0xa}),_0x219381[_0x506c('0x62')]['get']('TableClipboard')['on'](_0x506c('0x35'),(_0x443e2d,_0x2d4d64)=>{const [_0x43dd74,_0x5b12bf,,_0x14ff4a]=_0x2d4d64;if(!_0x498d4c)return;_0x443e2d['stop']();const _0x52453a=_0x43dd74[_0x506c('0x91')],_0x57113c=_0x5b12bf,_0x5adda4=ce(_0x52453a),_0x480f40=ce(_0x57113c);_0x443e2d[_0x506c('0x34')]=_0x52453a;let _0xb57c6f=null,_0x50ed56=null;if(_0x480f40||_0x5adda4){if(_0x5adda4&&!_0x480f40){_0x14ff4a[_0x506c('0x3e')](_0x52453a[_0x506c('0x27')](0x0));for(const _0x1c754f of Array['from'](_0x57113c[_0x506c('0x9f')]()))_0x14ff4a[_0x506c('0x28')](_0x1c754f,_0x52453a,_0x506c('0x9a'));const _0x41467a=_0x498d4c[_0x506c('0x2a')][_0x506c('0x51')](_0x43dd74['row']),_0x57b238=_0x498d4c['columnInsertionIndexes'][_0x506c('0x51')](_0x43dd74[_0x506c('0x8d')]);_0x41467a||_0x57b238||(_0xb57c6f=_0x14ff4a[_0x506c('0x58')](_0x52453a));}else _0x480f40&&!_0x5adda4&&(_0x50ed56=_0x14ff4a[_0x506c('0x58')](_0x52453a));}else{const _0xde85ca=_0x14ff4a[_0x506c('0x12')](_0x506c('0x5e')),_0x5200af=_0x14ff4a['createElement'](_0x506c('0x5e'));_0x14ff4a[_0x506c('0x2c')](_0x14ff4a[_0x506c('0x58')](_0x52453a),_0x5200af),_0x14ff4a[_0x506c('0x28')](_0xde85ca,_0x52453a,0x0);for(const _0x1f522a of Array[_0x506c('0x2e')](_0x57113c['getChildren']()))_0x14ff4a[_0x506c('0x28')](_0x1f522a,_0xde85ca,'end');_0xb57c6f=_0x14ff4a[_0x506c('0x65')](_0xde85ca),_0x50ed56=_0x14ff4a['createRangeOn'](_0x5200af);}const _0x2363c9=Array[_0x506c('0x2e')](_0x57113c[_0x506c('0x86')]())['filter'](([_0x19db3b])=>le[_0x506c('0x51')](_0x19db3b));_0x498d4c[_0x506c('0x94')][_0x506c('0x57')]({'element':_0x52453a,'attributes':_0x2363c9[_0x506c('0x7d')]?Object[_0x506c('0x3c')](_0x2363c9):null}),_0xb57c6f&&_0x498d4c['insertionRanges'][_0x506c('0x57')](_0xb57c6f),_0x50ed56&&_0x498d4c[_0x506c('0x49')][_0x506c('0x57')](_0x50ed56);},{'priority':_0x506c('0x1c')}),_0x225bf4['on']('insertColumns',(_0xd5cdcc,_0x407534)=>{const [_0x4c91df,_0x1ccffc={}]=_0x407534;if(!_0x498d4c)return;const _0x5bc579=_0x1ccffc['at']||0x0,_0x26e927=_0x1ccffc[_0x506c('0x87')]||0x1;_0x498d4c['columnInsertionIndexes']=new Array(_0x26e927)[_0x506c('0x26')](_0x5bc579)['map']((_0xa535c,_0x10e6c2)=>_0xa535c+_0x10e6c2);for(const {cell:_0x4b90e1}of _0x225bf4[_0x506c('0x3d')](_0x4c91df,{'startColumn':_0x5bc579,'endColumn':_0x5bc579+_0x26e927-0x1}))_0x498d4c['columnInsertionRanges'][_0x506c('0x57')](_0x219381['model'][_0x506c('0x65')](_0x4b90e1));},{'priority':_0x506c('0x19')}),_0x225bf4['on'](_0x506c('0x71'),(_0x5bff75,_0x222177)=>{const [_0x5a16f5,_0xb48285={}]=_0x222177;if(!_0x498d4c)return;const _0x1c75d2=_0xb48285['at']||0x0,_0x2fdcf3=_0xb48285[_0x506c('0x1b')]||0x1;_0x498d4c[_0x506c('0x2a')]=new Array(_0x2fdcf3)[_0x506c('0x26')](_0x1c75d2)[_0x506c('0x76')]((_0x3d3241,_0x33cb70)=>_0x3d3241+_0x33cb70);for(const {cell:_0x2676e8}of _0x225bf4['createTableWalker'](_0x5a16f5,{'startRow':_0x1c75d2,'endRow':_0x1c75d2+_0x2fdcf3-0x1}))_0x498d4c[_0x506c('0x8b')][_0x506c('0x57')](_0x219381[_0x506c('0x61')][_0x506c('0x65')](_0x2676e8));},{'priority':_0x506c('0x19')}),_0x4f1e92[_0x506c('0x6a')][_0x506c('0x92')](_0x1495da=>{if(_0x1495da[_0x506c('0x29')]&&_0x1495da[_0x506c('0x29')][_0x506c('0x33')](_0x506c('0x54')))return _0x1495da[_0x506c('0x8f')]?{}:{'type':_0x506c('0x20'),'content':_0x378a0d(_0x219381['locale'],_0x506c('0x85'))};});const _0x48ee66=()=>!0x1;for(const _0x47c822 of[_0x506c('0x54'),_0x506c('0x5f'),_0x506c('0x7e'),_0x506c('0x6')])_0x4f1e92['_suggestionFactory'][_0x506c('0x25')](_0x506c('0x20'),_0x47c822,_0x506c('0x14'),_0x48ee66),_0x4f1e92['_suggestionFactory']['registerCustomCallback']('deletion',_0x47c822,_0x506c('0x14'),_0x48ee66),_0x4f1e92[_0x506c('0x2')]['registerCustomCallback'](_0x506c('0x4e'),_0x47c822,_0x506c('0x14'),_0x48ee66);_0x4f1e92[_0x506c('0x2')][_0x506c('0x25')](_0x506c('0x4e'),'tablePasteCell',_0x506c('0x69'),_0x48ee66),_0x4f1e92[_0x506c('0x2')][_0x506c('0x25')](_0x506c('0x4e'),'tablePasteCell',_0x506c('0x82'),(_0xb64a49,_0x190754,_0x3364df)=>{const _0x317837=_0xb64a49[_0x506c('0x76')](_0x10e8d7=>_0x10e8d7['getContainedElement']())[_0x506c('0x2d')](_0x47c381=>_0x47c381),_0x1a68e4=new Map(_0x317837[_0x506c('0x76')](_0x3073d7=>[_0x3073d7,null]));if(_0x498d4c)for(const {element:_0x340d7f,attributes:_0x1bd33f}of _0x498d4c[_0x506c('0x94')])_0x1bd33f&&_0x1a68e4[_0x506c('0x72')](_0x340d7f,_0x1bd33f);else{if(_0x3364df&&_0x3364df['markerAttributes'])for(const [_0x1c0719,_0x2e54b4]of Object['entries'](_0x3364df['markerAttributes'])){const _0x616bfd=_0x219381['model'][_0x506c('0x4b')][_0x506c('0x63')](_0x1c0719),_0x1273ca=_0x616bfd?_0x616bfd[_0x506c('0x39')]()[_0x506c('0x9c')]():null;_0x1273ca&&_0x1a68e4[_0x506c('0x72')](_0x1273ca,_0x2e54b4);}}_0x219381[_0x506c('0x61')][_0x506c('0x4a')](_0x313294=>{for(const [_0x53a40b,_0x44aa8c]of _0x1a68e4)_0x313294['setAttributes']({...ae,..._0x44aa8c},_0x53a40b);});});const _0x144065=(_0xe7c500,_0x5b5fa3)=>{_0x4f1e92['_suggestionFactory']['registerCustomCallback'](_0xe7c500,_0x506c('0x54'),_0x5b5fa3,(_0x45e2ca,_0x1adc62,_0x4fccc8)=>{_0x219381[_0x506c('0x61')][_0x506c('0x4a')](_0x30a5c3=>{const _0xa94f6d=[];for(const _0x224599 of _0x45e2ca){const _0x5d4dc4=_0x224599[_0x506c('0x90')]['nodeAfter'];_0x5d4dc4['is'](_0x506c('0x70'),_0x506c('0x5e'))&&_0xa94f6d[_0x506c('0x57')](_0x5d4dc4);}_0x4f1e92[_0x506c('0x2')][_0x506c('0x15')](_0xe7c500,null,_0x5b5fa3)(_0x45e2ca,_0x1adc62,_0x4fccc8);for(const _0xdab19b of _0xa94f6d)'$graveyard'!=_0xdab19b[_0x506c('0x1a')][_0x506c('0x36')]&&_0x30a5c3[_0x506c('0x2b')](_0xdab19b);});});};_0x144065(_0x506c('0x20'),_0x506c('0x82')),_0x144065('insertion','discard'),_0x144065('deletion',_0x506c('0x82')),_0x144065(_0x506c('0x67'),_0x506c('0x69')),_0x4f1e92['_suggestionFactory'][_0x506c('0x25')](_0x506c('0x20'),_0x506c('0x7e'),'discard',_0x45cccc=>{const _0x32f8fe=_0x45cccc['map'](_0x3755bf=>_0x3755bf[_0x506c('0x9c')]()),_0x57f378=_0x32f8fe[0x0][_0x506c('0x88')](_0x506c('0x45')),{minRow:_0x12b5a3,maxRow:_0x1c86d4}=_0x3c2562[_0x506c('0x0')](_0x32f8fe);_0x225bf4[_0x506c('0x5b')](_0x57f378,{'at':_0x12b5a3,'rows':_0x1c86d4-_0x12b5a3+0x1});}),_0x4f1e92['_suggestionFactory']['registerCustomCallback'](_0x506c('0x20'),'tablePasteColumn','discard',_0x27b825=>{const _0x20ae0c=_0x27b825[_0x506c('0x76')](_0x9ed4a3=>_0x9ed4a3[_0x506c('0x9c')]()),_0x566c81=_0x20ae0c[0x0][_0x506c('0x88')](_0x506c('0x45')),{minColumn:_0x19887f,maxColumn:_0x2e4e58}=_0x3c2562[_0x506c('0x0')](_0x20ae0c);_0x225bf4['removeColumns'](_0x566c81,{'at':_0x19887f,'columns':_0x2e4e58-_0x19887f+0x1});});const _0x4c04c5=(_0x1d1da0,_0x382992)=>{if(!_0x382992[_0x506c('0x29')]||!_0x382992[_0x506c('0x29')][_0x506c('0x33')](_0x506c('0x54')))return;const _0x4de366=_0x382992['attributes'][_0x506c('0x31')],_0x59c888=_0x4f1e92[_0x506c('0xc')]()[_0x506c('0x2d')](_0x29dbfa=>_0x29dbfa[_0x506c('0x1')]&&_0x29dbfa[_0x506c('0x6c')]&&_0x29dbfa['attributes']['tablePasteChainId']==_0x4de366);_0x59c888[_0x506c('0x7d')]&&_0x382992[_0x506c('0x81')]()[_0x506c('0x7d')]!=_0x59c888[_0x506c('0x7d')]&&_0x59c888[_0x506c('0x1d')]((_0x58da0a,_0x58fc59)=>(_0x58da0a[_0x506c('0x55')]=_0x58fc59,_0x58fc59[_0x506c('0x8f')]=_0x58da0a,_0x58fc59));};function _0x3b470c(_0x591496,_0x1a38a2=!0x0){const {id:_0x1b0cb0}=_0x4f1e92[_0x506c('0x3b')](_0x591496[_0x506c('0x23')]),_0x486abc=[_0x506c('0x8e'),_0x506c('0x97')],_0xe83e35=_0x4f1e92[_0x506c('0x9e')][_0x506c('0x51')](_0x591496[_0x506c('0x23')]);return _0xe83e35&&_0x486abc[_0x506c('0x57')](_0x506c('0x41')),{'classes':_0x486abc,'attributes':{'data-suggestion':_0x1b0cb0},'priority':_0xe83e35&&_0x1a38a2?0xbc2:0xbb8};}_0x4f1e92['on']('suggestionLoaded',_0x4c04c5,{'priority':'high'}),_0x4f1e92['on'](_0x506c('0x78'),_0x4c04c5,{'priority':'high'}),_0x219381['model']['document']['registerPostFixer'](()=>{let _0x38c96c=!0x1;const _0x5636cd=Array[_0x506c('0x2e')](_0x219381[_0x506c('0x61')][_0x506c('0x13')][_0x506c('0x32')][_0x506c('0x8')]());for(const {name:_0x285aa6,data:_0x16535f}of _0x5636cd){const {group:_0x522d56,type:_0x3f286b,id:_0x49a28b}=_0x4f1e92[_0x506c('0x3b')](_0x285aa6);if('suggestion'!=_0x522d56||'deletion'!=_0x3f286b||_0x16535f[_0x506c('0x2f')])continue;if(!_0x4f1e92['hasSuggestion'](_0x49a28b))continue;const _0x4075d6=_0x4f1e92['getSuggestion'](_0x49a28b)[_0x506c('0xf')](),_0x172951=_0x219381[_0x506c('0x62')][_0x506c('0x63')](_0x506c('0x56'))['me'];for(const _0x204085 of _0x4f1e92[_0x506c('0xc')]()){if(!_0x204085[_0x506c('0x1')]||_0x204085[_0x506c('0x46')]!=_0x172951)continue;if('formatBlock'!=_0x204085[_0x506c('0x59')]||_0x506c('0x6')!=_0x204085[_0x506c('0x29')])continue;if(_0x204085[_0x506c('0xf')]()['every'](_0x329e68=>_0x4075d6['some'](_0x11aaf0=>_0x11aaf0[_0x506c('0x7b')](_0x329e68,!0x0))))for(const _0xc4e061 of _0x204085[_0x506c('0x81')]())_0xc4e061[_0x506c('0x1')]&&(_0xc4e061[_0x506c('0x69')](),_0x38c96c=!0x0);}}return _0x38c96c;}),_0x219381[_0x506c('0x61')][_0x506c('0x13')]['registerPostFixer'](_0x1c782a=>{const _0x2a7a83=_0x219381['commands']['get'](_0x506c('0xe'));if(!_0x2a7a83||!_0x2a7a83[_0x506c('0x7f')][_0x506c('0x6d')](_0x1c782a[_0x506c('0x77')]))return!0x1;let _0x4896fd=!0x1;const _0xc9a092=_0x219381[_0x506c('0x62')][_0x506c('0x63')]('Users')['me'],_0x388d9=_0x219381[_0x506c('0x61')][_0x506c('0x13')]['differ'][_0x506c('0x6e')](),_0x2881b3=Array[_0x506c('0x2e')](_0x219381['model']['document'][_0x506c('0x32')][_0x506c('0x8')]())['filter'](({name:_0x3d0fad,data:_0x3d1a68})=>{const {group:_0x5ee79d,subType:_0x4b3b8f,authorId:_0xbca6f7}=_0x4f1e92[_0x506c('0x3b')](_0x3d0fad);return'suggestion'==_0x5ee79d&&'tablePaste'==_0x4b3b8f&&_0xbca6f7==_0xc9a092['id']&&!_0x3d1a68[_0x506c('0x2f')];});for(const _0x467a3c of _0x388d9){if(_0x506c('0x28')!=_0x467a3c[_0x506c('0x59')]||_0x506c('0x5e')!=_0x467a3c['name']||0x1!=_0x467a3c[_0x506c('0x7d')])continue;const _0x282195=_0x1c782a['createRange'](_0x467a3c[_0x506c('0x8c')],_0x467a3c['position'][_0x506c('0x6f')](0x1));if(!_0x2881b3['find'](({data:_0x18ac85})=>_0x18ac85[_0x506c('0x7c')][_0x506c('0x93')](_0x282195)))for(const {name:_0x2a2716,data:_0x3bec10}of _0x2881b3)if(_0x282195[_0x506c('0x7b')](_0x3bec10[_0x506c('0x7c')])){_0x1c782a[_0x506c('0x5d')](_0x2a2716,{'range':_0x282195}),_0x4896fd=!0x0;break;}}return _0x4896fd;}),_0x219381['model'][_0x506c('0x13')][_0x506c('0x37')](_0x3cbf8f=>{let _0x592c3d=!0x1;const _0x5312a5=_0x219381['plugins']['get']('Users')['me'],_0x4b74b1=_0x4f1e92[_0x506c('0xc')]()[_0x506c('0x2d')](_0x2a8c2d=>_0x2a8c2d['isInContent']&&_0x2a8c2d[_0x506c('0x46')]==_0x5312a5),_0x120fdb=new Set(),_0x517f02=new Set();for(const _0x4d8ccb of _0x4b74b1)if(_0x506c('0x54')==_0x4d8ccb[_0x506c('0x29')])for(const _0x38fedc of _0x4d8ccb[_0x506c('0x4d')]()){const _0x2bbf8c=_0x38fedc[_0x506c('0x39')]()['getContainedElement']();if(_0x2bbf8c){if(_0x2bbf8c['is'](_0x506c('0x70'),_0x506c('0x5e'))&&ce(_0x2bbf8c)){_0x4d8ccb[_0x506c('0x1f')](_0x38fedc[_0x506c('0x4')]),_0x120fdb['add'](_0x2bbf8c),_0x592c3d=!0x0;const _0x17ca4d=_0x2bbf8c[_0x506c('0x44')],_0x52c281=_0x2bbf8c[_0x506c('0x3a')],_0x25db51=_0x17ca4d&&_0x17ca4d['is'](_0x506c('0x70'),_0x506c('0x5e')),_0x5a0d61=_0x52c281&&_0x52c281['is'](_0x506c('0x70'),_0x506c('0x5e'));_0x25db51&&!_0x120fdb['has'](_0x17ca4d)&&_0x517f02[_0x506c('0x64')](_0x17ca4d),_0x5a0d61&&!_0x120fdb[_0x506c('0x6d')](_0x52c281)&&_0x517f02[_0x506c('0x64')](_0x52c281);}else _0x2bbf8c['is'](_0x506c('0x70'),_0x506c('0x80'))&&_0x2bbf8c['isEmpty']&&(_0x4d8ccb[_0x506c('0x1f')](_0x38fedc[_0x506c('0x4')]),_0x592c3d=!0x0);}}else{if(_0x506c('0x6')==_0x4d8ccb[_0x506c('0x29')]){if(!_0x4d8ccb[_0x506c('0x6c')]||!_0x4d8ccb['attributes'][_0x506c('0x31')])continue;const _0x2b73b8=_0x4d8ccb[_0x506c('0x6c')][_0x506c('0x7a')];if(_0x2b73b8&&Object['keys'](_0x2b73b8)[_0x506c('0x7d')])continue;const _0xef1093=_0x4d8ccb[_0x506c('0x6c')]['tablePasteChainId'];let _0x5cc9ba=!0x0,_0x4831f3=!0x0;for(const _0x4c821a of _0x4b74b1)if(_0x4c821a[_0x506c('0x29')]&&_0x4c821a['subType'][_0x506c('0x33')](_0x506c('0x54'))){if(!_0x4c821a['attributes']['tablePasteChainId']){_0x4831f3=!0x1;break;}if(_0x4c821a['id']!=_0x4d8ccb['id']&&_0x4c821a[_0x506c('0x6c')][_0x506c('0x31')]==_0xef1093){_0x5cc9ba=!0x1;break;}}_0x4831f3&&_0x5cc9ba&&(_0x4d8ccb[_0x506c('0x47')](),_0x592c3d=!0x0);}}for(const _0x4fe1e1 of _0x120fdb)_0x3cbf8f[_0x506c('0x3e')](_0x4fe1e1);for(const _0x2ebdf2 of _0x517f02)_0x3cbf8f[_0x506c('0x2b')](_0x2ebdf2);return _0x592c3d;}),_0x219381['conversion'][_0x506c('0x22')](_0x506c('0x5'))['markerToHighlight']({'model':_0x506c('0x11'),'view':(_0x5cf716,_0x1ddb0e)=>_0x3b470c(_0x5cf716),'converterPriority':_0x506c('0x1c')}),_0x219381['conversion'][_0x506c('0x22')]('dataDowncast')[_0x506c('0x60')]({'model':_0x506c('0x11'),'view':(_0x208f8e,_0x3b7023)=>_0x3b7023[_0x506c('0x18')][_0x506c('0x79')]?_0x3b470c(_0x208f8e,!0x1):null,'converterPriority':'high'});const _0x129e22=_0x219381[_0x506c('0x17')]['view'];this[_0x506c('0x21')](_0x129e22[_0x506c('0x13')],_0x506c('0x9'),(_0x1a30bb,_0x4db634)=>{const _0x2e3968=[];for(const _0x529b36 of _0x129e22[_0x506c('0x58')](_0x4db634[_0x506c('0x6b')])[_0x506c('0x4f')]())_0x529b36['is'](_0x506c('0x70'),_0x506c('0x99'))&&_0x2e3968[_0x506c('0x57')](_0x529b36);_0x129e22[_0x506c('0x4a')](_0x39bd3a=>{for(const _0x477bd6 of _0x2e3968)_0x39bd3a['move'](_0x39bd3a[_0x506c('0x58')](_0x477bd6),_0x39bd3a[_0x506c('0x5a')](_0x477bd6)),_0x39bd3a[_0x506c('0x3e')](_0x477bd6);});});}}function ce(_0x53dcc0){if(_0x53dcc0[_0x506c('0x50')])return!0x0;const _0x3b7a8b=_0x53dcc0[_0x506c('0x27')](0x0);return _0x3b7a8b['is'](_0x506c('0x70'),_0x506c('0x80'))&&_0x3b7a8b['isEmpty'];}function fe(_0x16adc4,_0x19b931={},_0x3d5441){for(const {isAnchor:_0x3551b9,cellHeight:_0x25384d,cellWidth:_0x408436}of _0x3d5441[_0x506c('0x3d')](_0x16adc4,{'includeAllSlots':!0x0,..._0x19b931}))if(!_0x3551b9||0x1!=_0x25384d||0x1!=_0x408436)return!0x1;return!0x0;}
23
+ const _0x4739=['author','wrap','TableClipboard','registerCustomCallback','documentSelection','getAttributes','subType','tablePaste','accept','paragraph','from','insertContent','commands','clipboardOutput','end','differ','*Replace\x20table\x20cells*','getChanges','unwrap','markMultiRangeBlockFormat','removeMarker','getChangedMarkers','nodeAfter','discard','name','document','getRange','_replaceTableSlotCell','getSuggestionCallback','set','join','batch','low','createRangeOn','editingDowncast','tablePasteChainId','last','insertRows','add','tableCell','register','insertion','afterInit','createTableWalker','createElement','registerPostFixer','tableCellBorderColor','oldRange','getSelectionAffectedTableCells','has','rootName','fromEntries','getShiftedBy','nextSibling','insertionRanges','columnInsertionRanges','markMultiRangeDeletion','rowInsertionRanges','tablePasteCell','listenTo','conversion','registerDescriptionCallback','_splitMarkerName','tablePasteColumn','suggestionUnloaded','containsRange','get','root','hasSuggestion','deletionRanges','filter','TrackChangesEditing','suggestion','markers','rows','change','markerToHighlight','type','tableCellHorizontalAlignment','cells','getColumnIndexes','find','columnInsertionIndexes','length','options','previous','getRows','push','createRangeIn','requires','content','findAncestor','first','deletion','getItems','map','includes','isEqual','$graveyard','getMarkers','keys','reduce','value','tableCellPadding','getTableIfOnlyTableInContent','createRange','endRow','insert','editor','suggestion:formatBlock:tablePasteCell','entries','startsWith','stop','isEmpty','plugins','tablePasteRow','getSuggestion','elementToElement','getRanges','position','formatBlock','isInContent','getSuggestions','column','remove','locale','for','attributes','activeMarkers','markerName','trackChanges','setAttribute','table','removeColumns','_isForcedDefaultExecutionBlock','markMultiRangeInsertion','newRange','tableCellBorderWidth','selection','view','_suggestionFactory','high','editing','model','Users','tableCellSuggestion','suggestion-td','markerAttributes','updateMarker','getContainedElement','rowInsertionIndexes','element','start','setAttributes','_getCoordsForCells'];(function(_0x482b39,_0x4739fc){const _0x52ccd3=function(_0x268e51){while(--_0x268e51){_0x482b39['push'](_0x482b39['shift']());}};_0x52ccd3(++_0x4739fc);}(_0x4739,0x193));const _0x52cc=function(_0x482b39,_0x4739fc){_0x482b39=_0x482b39-0x0;let _0x52ccd3=_0x4739[_0x482b39];return _0x52ccd3;};import{getTranslation as _0x5b4a3d}from'../utils/common-translations';import{Plugin as _0x5469f2}from'ckeditor5/src/core';import{uid as _0x20d95b,priorities as _0x221b97}from'ckeditor5/src/utils';import _0x54e6bd from'./table';const le=[_0x52cc('0x2c'),_0x52cc('0x6c'),'tableCellBorderStyle',_0x52cc('0x8c'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0x52cc('0xa')],ae=Object[_0x52cc('0x71')](le[_0x52cc('0x2')](_0x439b16=>[_0x439b16,null]));export default class At extends _0x5469f2{static get[_0x52cc('0x97')](){return[_0x54e6bd];}[_0x52cc('0x68')](){const _0x167f8c=this[_0x52cc('0xf')];if(!_0x167f8c[_0x52cc('0x15')]['has'](_0x52cc('0x40')))return;const _0x29954c=_0x167f8c[_0x52cc('0x15')]['get'](_0x52cc('0x85')),_0x41c9e2=_0x167f8c['plugins']['get']('TableUtils'),_0x21721d=_0x167f8c[_0x52cc('0x15')]['get'](_0x54e6bd),_0x1877fc=_0x167f8c[_0x52cc('0x15')][_0x52cc('0x80')]('TableClipboard');_0x21721d['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x167f8c[_0x52cc('0x32')]['schema'][_0x52cc('0x66')](_0x52cc('0x34'),{'allowIn':_0x52cc('0x65'),'allowContentOf':_0x52cc('0x65'),'isLimit':!0x0}),_0x167f8c[_0x52cc('0x7a')][_0x52cc('0x18')]({'model':_0x52cc('0x34'),'view':_0x52cc('0x35')});let _0x32ffb2=null;_0x167f8c[_0x52cc('0x32')]['on']('insertContent',(_0x1b1a79,_0x4f92fa)=>{const [_0x4e0218,_0xa65370]=_0x4f92fa,_0x444877=_0x4f92fa[_0x4f92fa[_0x52cc('0x91')]-0x1];_0x444877&&_0x444877['forceDefaultExecution']||_0x29954c[_0x52cc('0x29')]||this[_0x52cc('0xf')][_0x52cc('0x4a')][_0x52cc('0x80')](_0x52cc('0x25'))[_0x52cc('0x9')]&&function(_0x1ccd70,_0x28a21f,_0x1339c9,_0x16b768,_0x337fdf){if(_0x28a21f&&!_0x28a21f['is'](_0x52cc('0x42')))return!0x1;const _0xacb27a=_0x337fdf[_0x52cc('0xb')](_0x1ccd70,_0x1339c9);if(!_0xacb27a||!fe(_0xacb27a,void 0x0,_0x16b768))return!0x1;const _0x16c154=_0x16b768[_0x52cc('0x6e')](_0x1339c9[_0x52cc('0x57')][_0x52cc('0x2d')]);if(!_0x16c154[_0x52cc('0x91')])return!0x1;const _0x13ea3b=_0x16c154[0x0][_0x52cc('0x99')](_0x52cc('0x27')),_0x3ac8d8=_0x16b768['getRowIndexes'](_0x16c154),_0x88f7fc=_0x16b768[_0x52cc('0x8e')](_0x16c154),_0x2ec5d0={'startRow':_0x3ac8d8[_0x52cc('0x9a')],'endRow':_0x3ac8d8[_0x52cc('0x62')],'startColumn':_0x88f7fc['first'],'endColumn':_0x88f7fc['last']};return 0x1==_0x16c154[_0x52cc('0x91')]&&(_0x2ec5d0[_0x52cc('0xd')]+=_0x16b768[_0x52cc('0x94')](_0xacb27a)-0x1,_0x2ec5d0['endColumn']+=_0x16b768['getColumns'](_0xacb27a)-0x1),fe(_0x13ea3b,_0x2ec5d0,_0x16b768);}(_0x4e0218,_0xa65370,_0x167f8c[_0x52cc('0x32')],_0x41c9e2,_0x1877fc)&&(_0x1b1a79[_0x52cc('0x13')](),_0x32ffb2={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x167f8c[_0x52cc('0x32')][_0x52cc('0x89')](()=>{_0x167f8c['model'][_0x52cc('0x49')](_0x4f92fa[0x0],_0x4f92fa[0x1],_0x4f92fa[0x2],{'forceDefaultExecution':!0x0});const _0x50a28e=_0x20d95b(),{rowInsertionRanges:_0x4e4ee5,columnInsertionRanges:_0x3e55a0,insertionRanges:_0xa5583e,deletionRanges:_0x28063f,cells:_0x55b157}=_0x32ffb2;_0x4e4ee5[_0x52cc('0x91')]&&_0x29954c['markMultiRangeInsertion'](_0x4e4ee5,_0x52cc('0x16'),{'tablePasteChainId':_0x50a28e}),_0x3e55a0[_0x52cc('0x91')]&&_0x29954c[_0x52cc('0x2a')](_0x3e55a0,_0x52cc('0x7d'),{'tablePasteChainId':_0x50a28e}),_0xa5583e['length']&&_0x29954c[_0x52cc('0x2a')](_0xa5583e,_0x52cc('0x45'),{'tablePasteChainId':_0x50a28e,'skipNestingCheck':!0x0}),_0x28063f['length']&&_0x29954c[_0x52cc('0x76')](_0x28063f,_0x52cc('0x45'),{'tablePasteChainId':_0x50a28e,'skipNestingCheck':!0x0});const _0x404d6b=_0x29954c[_0x52cc('0x51')](_0x55b157[_0x52cc('0x2')](({element:_0xe7925a})=>_0xe7925a),{'formatGroupId':_0x20d95b()},[],'tablePasteCell',{'tablePasteChainId':_0x50a28e});if(_0x404d6b){const _0x1c3075=_0x404d6b[_0x52cc('0x6')](),_0x2f8251=[];for(const {element:_0x3e91ae,attributes:_0x4a4b5c}of _0x55b157){if(!_0x4a4b5c)continue;const _0x3f8508=_0x167f8c[_0x52cc('0x32')][_0x52cc('0x5f')](_0x3e91ae),_0x4ed09b=_0x1c3075[_0x52cc('0x8f')](_0x4aa5e0=>_0x4aa5e0[_0x52cc('0x58')]()[_0x52cc('0x4')](_0x3f8508));_0x4ed09b&&_0x2f8251[_0x52cc('0x95')]([_0x4ed09b[_0x52cc('0x56')],_0x4a4b5c]);}_0x2f8251[_0x52cc('0x91')]&&_0x404d6b[_0x52cc('0x26')](_0x52cc('0x36'),Object[_0x52cc('0x71')](_0x2f8251));}_0x32ffb2=null;}));},{'priority':_0x221b97[_0x52cc('0x30')]+0xa}),_0x167f8c[_0x52cc('0x15')][_0x52cc('0x80')]('TableClipboard')['on'](_0x52cc('0x59'),(_0x57c31c,_0x5179b6)=>{const [_0x113e7d,_0x93f9e9,,_0xf91234]=_0x5179b6;if(!_0x32ffb2)return;_0x57c31c[_0x52cc('0x13')]();const _0x18b43d=_0x113e7d['cell'],_0x168b49=_0x93f9e9,_0x1ffb88=ce(_0x18b43d),_0x237706=ce(_0x168b49);_0x57c31c['return']=_0x18b43d;let _0x89f2ef=null,_0x1f5d1e=null;if(_0x237706||_0x1ffb88){if(_0x1ffb88&&!_0x237706){_0xf91234['remove'](_0x18b43d['getChild'](0x0));for(const _0x40d1ff of Array['from'](_0x168b49['getChildren']()))_0xf91234[_0x52cc('0xe')](_0x40d1ff,_0x18b43d,_0x52cc('0x4c'));const _0xd8573a=_0x32ffb2[_0x52cc('0x39')][_0x52cc('0x3')](_0x113e7d['row']),_0x544d5c=_0x32ffb2[_0x52cc('0x90')]['includes'](_0x113e7d[_0x52cc('0x1e')]);_0xd8573a||_0x544d5c||(_0x89f2ef=_0xf91234[_0x52cc('0x96')](_0x18b43d));}else _0x237706&&!_0x1ffb88&&(_0x1f5d1e=_0xf91234['createRangeIn'](_0x18b43d));}else{const _0x4cac11=_0xf91234[_0x52cc('0x6a')](_0x52cc('0x34')),_0x442b75=_0xf91234[_0x52cc('0x6a')](_0x52cc('0x34'));_0xf91234[_0x52cc('0x3f')](_0xf91234[_0x52cc('0x96')](_0x18b43d),_0x442b75),_0xf91234[_0x52cc('0xe')](_0x4cac11,_0x18b43d,0x0);for(const _0x158f35 of Array[_0x52cc('0x48')](_0x168b49['getChildren']()))_0xf91234['insert'](_0x158f35,_0x4cac11,_0x52cc('0x4c'));_0x89f2ef=_0xf91234[_0x52cc('0x5f')](_0x4cac11),_0x1f5d1e=_0xf91234[_0x52cc('0x5f')](_0x442b75);}const _0x2f76aa=Array[_0x52cc('0x48')](_0x168b49[_0x52cc('0x43')]())[_0x52cc('0x84')](([_0x42dd40])=>le[_0x52cc('0x3')](_0x42dd40));_0x32ffb2[_0x52cc('0x8d')][_0x52cc('0x95')]({'element':_0x18b43d,'attributes':_0x2f76aa[_0x52cc('0x91')]?Object[_0x52cc('0x71')](_0x2f76aa):null}),_0x89f2ef&&_0x32ffb2[_0x52cc('0x74')][_0x52cc('0x95')](_0x89f2ef),_0x1f5d1e&&_0x32ffb2[_0x52cc('0x83')][_0x52cc('0x95')](_0x1f5d1e);},{'priority':_0x52cc('0x30')}),_0x41c9e2['on']('insertColumns',(_0x28c6cc,_0x3a34eb)=>{const [_0x15f365,_0xd6376={}]=_0x3a34eb;if(!_0x32ffb2)return;const _0x16dc2d=_0xd6376['at']||0x0,_0x11d1f6=_0xd6376['columns']||0x1;_0x32ffb2['columnInsertionIndexes']=new Array(_0x11d1f6)['fill'](_0x16dc2d)[_0x52cc('0x2')]((_0x9f6bde,_0xcdbb3)=>_0x9f6bde+_0xcdbb3);for(const {cell:_0x522557}of _0x41c9e2['createTableWalker'](_0x15f365,{'startColumn':_0x16dc2d,'endColumn':_0x16dc2d+_0x11d1f6-0x1}))_0x32ffb2[_0x52cc('0x75')][_0x52cc('0x95')](_0x167f8c[_0x52cc('0x32')][_0x52cc('0x5f')](_0x522557));},{'priority':_0x52cc('0x5e')}),_0x41c9e2['on'](_0x52cc('0x63'),(_0x151037,_0x39b1d0)=>{const [_0x266c85,_0x24ce71={}]=_0x39b1d0;if(!_0x32ffb2)return;const _0x145eb9=_0x24ce71['at']||0x0,_0x471d8a=_0x24ce71[_0x52cc('0x88')]||0x1;_0x32ffb2[_0x52cc('0x39')]=new Array(_0x471d8a)['fill'](_0x145eb9)[_0x52cc('0x2')]((_0x17db42,_0x1fa961)=>_0x17db42+_0x1fa961);for(const {cell:_0x2912c7}of _0x41c9e2[_0x52cc('0x69')](_0x266c85,{'startRow':_0x145eb9,'endRow':_0x145eb9+_0x471d8a-0x1}))_0x32ffb2[_0x52cc('0x77')][_0x52cc('0x95')](_0x167f8c[_0x52cc('0x32')]['createRangeOn'](_0x2912c7));},{'priority':_0x52cc('0x5e')}),_0x29954c['_descriptionFactory'][_0x52cc('0x7b')](_0x1d40fc=>{if(_0x1d40fc[_0x52cc('0x44')]&&_0x1d40fc['subType'][_0x52cc('0x12')](_0x52cc('0x45')))return _0x1d40fc['previous']?{}:{'type':_0x52cc('0x67'),'content':_0x5b4a3d(_0x167f8c[_0x52cc('0x20')],_0x52cc('0x4e'))};});const _0x341d4f=()=>!0x1;for(const _0x338851 of['tablePaste',_0x52cc('0x7d'),_0x52cc('0x16'),'tablePasteCell'])_0x29954c[_0x52cc('0x2f')][_0x52cc('0x41')](_0x52cc('0x67'),_0x338851,_0x52cc('0x5c'),_0x341d4f),_0x29954c[_0x52cc('0x2f')]['registerCustomCallback']('deletion',_0x338851,_0x52cc('0x5c'),_0x341d4f),_0x29954c['_suggestionFactory'][_0x52cc('0x41')](_0x52cc('0x1b'),_0x338851,_0x52cc('0x5c'),_0x341d4f);_0x29954c[_0x52cc('0x2f')][_0x52cc('0x41')](_0x52cc('0x1b'),_0x52cc('0x78'),_0x52cc('0x55'),_0x341d4f),_0x29954c[_0x52cc('0x2f')][_0x52cc('0x41')](_0x52cc('0x1b'),'tablePasteCell','accept',(_0x1783a2,_0x5238a8,_0xea226f)=>{const _0x591871=_0x1783a2[_0x52cc('0x2')](_0x1f165b=>_0x1f165b[_0x52cc('0x38')]())[_0x52cc('0x84')](_0x2180a4=>_0x2180a4),_0x8340db=new Map(_0x591871[_0x52cc('0x2')](_0x21d3c2=>[_0x21d3c2,null]));if(_0x32ffb2)for(const {element:_0x1e3977,attributes:_0x344d38}of _0x32ffb2['cells'])_0x344d38&&_0x8340db[_0x52cc('0x5b')](_0x1e3977,_0x344d38);else{if(_0xea226f&&_0xea226f[_0x52cc('0x36')])for(const [_0x2ad7e2,_0x6e685e]of Object[_0x52cc('0x11')](_0xea226f[_0x52cc('0x36')])){const _0x38dc62=_0x167f8c[_0x52cc('0x32')][_0x52cc('0x87')][_0x52cc('0x80')](_0x2ad7e2),_0x1d2381=_0x38dc62?_0x38dc62[_0x52cc('0x58')]()[_0x52cc('0x38')]():null;_0x1d2381&&_0x8340db[_0x52cc('0x5b')](_0x1d2381,_0x6e685e);}}_0x167f8c['model'][_0x52cc('0x89')](_0x2e3203=>{for(const [_0x480812,_0x268c01]of _0x8340db)_0x2e3203[_0x52cc('0x3c')]({...ae,..._0x268c01},_0x480812);});});const _0x4246db=(_0x4e07bc,_0x30f84a)=>{_0x29954c[_0x52cc('0x2f')][_0x52cc('0x41')](_0x4e07bc,_0x52cc('0x45'),_0x30f84a,(_0xe21422,_0x1a440e,_0x3bfa1e)=>{_0x167f8c[_0x52cc('0x32')]['change'](_0x49c939=>{const _0x16e7b9=[];for(const _0x3f825f of _0xe21422){const _0x14642f=_0x3f825f[_0x52cc('0x3b')][_0x52cc('0x54')];_0x14642f['is'](_0x52cc('0x3a'),_0x52cc('0x34'))&&_0x16e7b9[_0x52cc('0x95')](_0x14642f);}_0x29954c[_0x52cc('0x2f')][_0x52cc('0x5a')](_0x4e07bc,null,_0x30f84a)(_0xe21422,_0x1a440e,_0x3bfa1e);for(const _0x428b44 of _0x16e7b9)_0x52cc('0x5')!=_0x428b44[_0x52cc('0x81')][_0x52cc('0x70')]&&_0x49c939[_0x52cc('0x50')](_0x428b44);});});};_0x4246db(_0x52cc('0x67'),_0x52cc('0x46')),_0x4246db(_0x52cc('0x67'),_0x52cc('0x55')),_0x4246db(_0x52cc('0x0'),_0x52cc('0x46')),_0x4246db(_0x52cc('0x0'),_0x52cc('0x55')),_0x29954c[_0x52cc('0x2f')][_0x52cc('0x41')]('insertion',_0x52cc('0x16'),'discard',_0x1e03aa=>{const _0x3311be=_0x1e03aa[_0x52cc('0x2')](_0x575e27=>_0x575e27[_0x52cc('0x38')]()),_0x333c06=_0x3311be[0x0]['findAncestor']('table'),{minRow:_0x4260d1,maxRow:_0x273863}=_0x21721d['_getCoordsForCells'](_0x3311be);_0x41c9e2['removeRows'](_0x333c06,{'at':_0x4260d1,'rows':_0x273863-_0x4260d1+0x1});}),_0x29954c['_suggestionFactory'][_0x52cc('0x41')](_0x52cc('0x67'),'tablePasteColumn','discard',_0x611cdd=>{const _0x9ce072=_0x611cdd['map'](_0x40a89b=>_0x40a89b['getContainedElement']()),_0x18a4fa=_0x9ce072[0x0][_0x52cc('0x99')](_0x52cc('0x27')),{minColumn:_0x8caf62,maxColumn:_0x323c62}=_0x21721d[_0x52cc('0x3d')](_0x9ce072);_0x41c9e2[_0x52cc('0x28')](_0x18a4fa,{'at':_0x8caf62,'columns':_0x323c62-_0x8caf62+0x1});});const _0x2d6195=(_0x4e0a46,_0x300f78)=>{if(!_0x300f78[_0x52cc('0x44')]||!_0x300f78['subType']['startsWith'](_0x52cc('0x45')))return;const _0xb5baa9=_0x300f78[_0x52cc('0x22')][_0x52cc('0x61')],_0x19ef6d=_0x29954c[_0x52cc('0x1d')]()['filter'](_0x1abe6b=>_0x1abe6b['isInContent']&&_0x1abe6b[_0x52cc('0x22')]&&_0x1abe6b[_0x52cc('0x22')][_0x52cc('0x61')]==_0xb5baa9);_0x19ef6d[_0x52cc('0x91')]&&_0x300f78['getAllAdjacentSuggestions']()[_0x52cc('0x91')]!=_0x19ef6d[_0x52cc('0x91')]&&_0x19ef6d[_0x52cc('0x8')]((_0x10f6eb,_0x285dac)=>(_0x10f6eb['next']=_0x285dac,_0x285dac[_0x52cc('0x93')]=_0x10f6eb,_0x285dac));};function _0x5e063b(_0x579941,_0x2429f2=!0x0){const {id:_0x1dc35b}=_0x29954c['_splitMarkerName'](_0x579941[_0x52cc('0x24')]),_0x288f76=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x4493fb=_0x29954c[_0x52cc('0x23')][_0x52cc('0x3')](_0x579941[_0x52cc('0x24')]);return _0x4493fb&&_0x288f76[_0x52cc('0x95')]('ck-suggestion-marker--active'),{'classes':_0x288f76,'attributes':{'data-suggestion':_0x1dc35b},'priority':_0x4493fb&&_0x2429f2?0xbc2:0xbb8};}_0x29954c['on']('suggestionLoaded',_0x2d6195,{'priority':_0x52cc('0x30')}),_0x29954c['on'](_0x52cc('0x7e'),_0x2d6195,{'priority':'high'}),_0x167f8c['model'][_0x52cc('0x57')][_0x52cc('0x6b')](()=>{let _0xe79e70=!0x1;const _0x392116=Array['from'](_0x167f8c['model'][_0x52cc('0x57')][_0x52cc('0x4d')][_0x52cc('0x53')]());for(const {name:_0x3180c5,data:_0x324ee2}of _0x392116){const {group:_0x5153c0,type:_0x26e221,id:_0x2a8dbf}=_0x29954c['_splitMarkerName'](_0x3180c5);if(_0x52cc('0x86')!=_0x5153c0||'deletion'!=_0x26e221||_0x324ee2['oldRange'])continue;if(!_0x29954c[_0x52cc('0x82')](_0x2a8dbf))continue;const _0x51d645=_0x29954c[_0x52cc('0x17')](_0x2a8dbf)[_0x52cc('0x19')](),_0x17ed2f=_0x167f8c['plugins'][_0x52cc('0x80')]('Users')['me'];for(const _0x14fa24 of _0x29954c['getSuggestions']()){if(!_0x14fa24[_0x52cc('0x1c')]||_0x14fa24[_0x52cc('0x3e')]!=_0x17ed2f)continue;if(_0x52cc('0x1b')!=_0x14fa24[_0x52cc('0x8b')]||_0x52cc('0x78')!=_0x14fa24[_0x52cc('0x44')])continue;if(_0x14fa24['getRanges']()['every'](_0xccb460=>_0x51d645['some'](_0x5e4ba2=>_0x5e4ba2[_0x52cc('0x7f')](_0xccb460,!0x0))))for(const _0x56e1d6 of _0x14fa24['getAllAdjacentSuggestions']())_0x56e1d6[_0x52cc('0x1c')]&&(_0x56e1d6[_0x52cc('0x55')](),_0xe79e70=!0x0);}}return _0xe79e70;}),_0x167f8c[_0x52cc('0x32')][_0x52cc('0x57')][_0x52cc('0x6b')](_0xcbe33c=>{const _0x278122=_0x167f8c[_0x52cc('0x4a')][_0x52cc('0x80')]('redo');if(!_0x278122||!_0x278122['_createdBatches'][_0x52cc('0x6f')](_0xcbe33c[_0x52cc('0x5d')]))return!0x1;let _0x16fdb9=!0x1;const _0x323a3a=_0x167f8c[_0x52cc('0x15')][_0x52cc('0x80')](_0x52cc('0x33'))['me'],_0x1d1012=_0x167f8c[_0x52cc('0x32')][_0x52cc('0x57')][_0x52cc('0x4d')][_0x52cc('0x4f')](),_0x42f548=Array[_0x52cc('0x48')](_0x167f8c[_0x52cc('0x32')]['document'][_0x52cc('0x4d')]['getChangedMarkers']())[_0x52cc('0x84')](({name:_0x13d00d,data:_0x29f904})=>{const {group:_0x4385a5,subType:_0xb9db6b,authorId:_0x134401}=_0x29954c[_0x52cc('0x7c')](_0x13d00d);return'suggestion'==_0x4385a5&&_0x52cc('0x45')==_0xb9db6b&&_0x134401==_0x323a3a['id']&&!_0x29f904[_0x52cc('0x6d')];});for(const _0x5e0be1 of _0x1d1012){if(_0x52cc('0xe')!=_0x5e0be1[_0x52cc('0x8b')]||_0x52cc('0x34')!=_0x5e0be1[_0x52cc('0x56')]||0x1!=_0x5e0be1[_0x52cc('0x91')])continue;const _0x51ef55=_0xcbe33c[_0x52cc('0xc')](_0x5e0be1[_0x52cc('0x1a')],_0x5e0be1[_0x52cc('0x1a')][_0x52cc('0x72')](0x1));if(!_0x42f548[_0x52cc('0x8f')](({data:_0x387abd})=>_0x387abd[_0x52cc('0x2b')][_0x52cc('0x4')](_0x51ef55)))for(const {name:_0x5900ab,data:_0x487673}of _0x42f548)if(_0x51ef55[_0x52cc('0x7f')](_0x487673[_0x52cc('0x2b')])){_0xcbe33c[_0x52cc('0x37')](_0x5900ab,{'range':_0x51ef55}),_0x16fdb9=!0x0;break;}}return _0x16fdb9;}),_0x167f8c[_0x52cc('0x32')][_0x52cc('0x57')][_0x52cc('0x6b')](_0x425c5a=>{let _0x26136c=!0x1;const _0x4253a4=_0x167f8c[_0x52cc('0x15')][_0x52cc('0x80')](_0x52cc('0x33'))['me'],_0x2f500c=_0x29954c[_0x52cc('0x1d')]()[_0x52cc('0x84')](_0x3f3cea=>_0x3f3cea[_0x52cc('0x1c')]&&_0x3f3cea[_0x52cc('0x3e')]==_0x4253a4),_0x31769f=new Set(),_0x3ec9e1=new Set();for(const _0x2ab2aa of _0x2f500c)if(_0x52cc('0x45')==_0x2ab2aa['subType'])for(const _0x2d140d of _0x2ab2aa['getMarkers']()){const _0x516763=_0x2d140d[_0x52cc('0x58')]()[_0x52cc('0x38')]();if(_0x516763){if(_0x516763['is'](_0x52cc('0x3a'),_0x52cc('0x34'))&&ce(_0x516763)){_0x2ab2aa[_0x52cc('0x52')](_0x2d140d['name']),_0x31769f['add'](_0x516763),_0x26136c=!0x0;const _0x14b471=_0x516763[_0x52cc('0x73')],_0x26f1be=_0x516763['previousSibling'],_0x47eab8=_0x14b471&&_0x14b471['is'](_0x52cc('0x3a'),_0x52cc('0x34')),_0x1baf46=_0x26f1be&&_0x26f1be['is'](_0x52cc('0x3a'),_0x52cc('0x34'));_0x47eab8&&!_0x31769f[_0x52cc('0x6f')](_0x14b471)&&_0x3ec9e1['add'](_0x14b471),_0x1baf46&&!_0x31769f[_0x52cc('0x6f')](_0x26f1be)&&_0x3ec9e1[_0x52cc('0x64')](_0x26f1be);}else _0x516763['is'](_0x52cc('0x3a'),_0x52cc('0x47'))&&_0x516763[_0x52cc('0x14')]&&(_0x2ab2aa[_0x52cc('0x52')](_0x2d140d[_0x52cc('0x56')]),_0x26136c=!0x0);}}else{if(_0x52cc('0x78')==_0x2ab2aa[_0x52cc('0x44')]){if(!_0x2ab2aa[_0x52cc('0x22')]||!_0x2ab2aa[_0x52cc('0x22')][_0x52cc('0x61')])continue;const _0x32e855=_0x2ab2aa[_0x52cc('0x22')][_0x52cc('0x36')];if(_0x32e855&&Object[_0x52cc('0x7')](_0x32e855)[_0x52cc('0x91')])continue;const _0x583d27=_0x2ab2aa[_0x52cc('0x22')][_0x52cc('0x61')];let _0x364de4=!0x0,_0x2b538c=!0x0;for(const _0x7c5c61 of _0x2f500c)if(_0x7c5c61[_0x52cc('0x44')]&&_0x7c5c61[_0x52cc('0x44')][_0x52cc('0x12')](_0x52cc('0x45'))){if(!_0x7c5c61[_0x52cc('0x22')]['tablePasteChainId']){_0x2b538c=!0x1;break;}if(_0x7c5c61['id']!=_0x2ab2aa['id']&&_0x7c5c61[_0x52cc('0x22')]['tablePasteChainId']==_0x583d27){_0x364de4=!0x1;break;}}_0x2b538c&&_0x364de4&&(_0x2ab2aa['removeMarkers'](),_0x26136c=!0x0);}}for(const _0x287fde of _0x31769f)_0x425c5a[_0x52cc('0x1f')](_0x287fde);for(const _0x5c2a92 of _0x3ec9e1)_0x425c5a[_0x52cc('0x50')](_0x5c2a92);return _0x26136c;}),_0x167f8c[_0x52cc('0x7a')][_0x52cc('0x21')](_0x52cc('0x60'))[_0x52cc('0x8a')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3b46a0,_0x5cbd86)=>_0x5e063b(_0x3b46a0),'converterPriority':_0x52cc('0x30')}),_0x167f8c['conversion']['for']('dataDowncast')[_0x52cc('0x8a')]({'model':_0x52cc('0x10'),'view':(_0x410dc2,_0x1abb91)=>_0x1abb91[_0x52cc('0x92')]['showSuggestionHighlights']?_0x5e063b(_0x410dc2,!0x1):null,'converterPriority':_0x52cc('0x30')});const _0x808aa9=_0x167f8c[_0x52cc('0x31')][_0x52cc('0x2e')];this[_0x52cc('0x79')](_0x808aa9[_0x52cc('0x57')],_0x52cc('0x4b'),(_0x1e49cc,_0x5eb7f2)=>{const _0x4b0ad0=[];for(const _0x35f56f of _0x808aa9['createRangeIn'](_0x5eb7f2[_0x52cc('0x98')])[_0x52cc('0x1')]())_0x35f56f['is']('element','suggestion-td')&&_0x4b0ad0['push'](_0x35f56f);_0x808aa9[_0x52cc('0x89')](_0x2e5ecf=>{for(const _0x1a75a8 of _0x4b0ad0)_0x2e5ecf['move'](_0x2e5ecf[_0x52cc('0x96')](_0x1a75a8),_0x2e5ecf['createPositionBefore'](_0x1a75a8)),_0x2e5ecf[_0x52cc('0x1f')](_0x1a75a8);});});}}function ce(_0x49ff1c){if(_0x49ff1c[_0x52cc('0x14')])return!0x0;const _0x3f3f25=_0x49ff1c['getChild'](0x0);return _0x3f3f25['is'](_0x52cc('0x3a'),_0x52cc('0x47'))&&_0x3f3f25[_0x52cc('0x14')];}function fe(_0x2f682f,_0xdb2dc9={},_0x18486c){for(const {isAnchor:_0x1a2bec,cellHeight:_0x33d9a5,cellWidth:_0xe2db9e}of _0x18486c[_0x52cc('0x69')](_0x2f682f,{'includeAllSlots':!0x0,..._0xdb2dc9}))if(!_0x1a2bec||0x1!=_0x33d9a5||0x1!=_0xe2db9e)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a9f=['_suggestionFactory','_descriptionFactory','TrackChangesEditing','editor','handleSuggestionDescription','getContainedElement','author','getSuggestions','TableColumnResizeEditing','getColumnGroupElement','registerDescriptionCallback','formatGroupId','commandParams','getSelectedElement','plugins','model','resizeTable','bind','subType','has','*Format:*\x20resize\x20table','discard','formatInline','registerCustomCallback','getSuggestionCallback','markBlockFormat','type','resizeTableWidth','afterInit','tableWidth','accept','handleResizeTableWidthCommand','columnWidths','formatBlock','locale','format','getAttribute','get'];(function(_0x119c4e,_0x2a9f34){const _0x464281=function(_0x4b0946){while(--_0x4b0946){_0x119c4e['push'](_0x119c4e['shift']());}};_0x464281(++_0x2a9f34);}(_0x2a9f,0xae));const _0x4642=function(_0x119c4e,_0x2a9f34){_0x119c4e=_0x119c4e-0x0;let _0x464281=_0x2a9f[_0x119c4e];return _0x464281;};import{Plugin as _0x582de2}from'ckeditor5/src/core';import{getTranslation as _0x2bb44e}from'../utils/common-translations';export default class It extends _0x582de2{[_0x4642('0x6')](){if(!this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0x23')]('TableColumnResizeEditing'))return;const _0x1cea41=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x12'));_0x1cea41['enableCommand'](_0x4642('0x5'),this[_0x4642('0x9')]['bind'](this)),_0x1cea41[_0x4642('0x10')][_0x4642('0x1')](_0x4642('0xb'),'resizeTable',_0x4642('0x8'),_0x1cea41[_0x4642('0x10')][_0x4642('0x2')]('formatBlock',null,'discard')),_0x1cea41[_0x4642('0x10')]['registerCustomCallback'](_0x4642('0xb'),'resizeTable',_0x4642('0x25'),_0x1cea41[_0x4642('0x10')][_0x4642('0x2')](_0x4642('0xb'),null,'accept')),_0x1cea41[_0x4642('0x11')][_0x4642('0x1a')](this[_0x4642('0x14')][_0x4642('0x21')](this));}[_0x4642('0x9')](_0x3310de,_0x352de2){const _0x534554=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x12')),_0x4155de=this[_0x4642('0x13')][_0x4642('0x1e')][_0x4642('0xf')](_0x4642('0x18')),_0xf1242d=_0x352de2['table']||this[_0x4642('0x13')][_0x4642('0x1f')]['document']['selection'][_0x4642('0x1d')]();this[_0x4642('0x13')][_0x4642('0x1f')]['change'](()=>{const _0xd3c09e=_0x4155de[_0x4642('0x19')](_0xf1242d);let _0x25db36=_0xd3c09e?_0x4155de['getTableColumnsWidths'](_0xd3c09e):null,_0x8e0807=_0xf1242d[_0x4642('0xe')](_0x4642('0x7'))||null;const _0x387ed8=_0x352de2[_0x4642('0x7')]||_0x8e0807,_0x4bcb15=_0x352de2[_0x4642('0xa')]||_0x25db36,_0x4cc502=this['editor'][_0x4642('0x1e')][_0x4642('0xf')]('Users')['me'];for(const _0x2b7c7c of _0x534554[_0x4642('0x17')]()){const _0x2f8560=_0x2b7c7c[_0x4642('0x15')]();if(_0x4642('0x20')===_0x2b7c7c[_0x4642('0x22')]&&_0x2f8560===_0xf1242d){_0x2b7c7c[_0x4642('0x16')]!==_0x4cc502&&_0x2b7c7c[_0x4642('0x25')]();const _0x237b0a=_0x2b7c7c['data'][_0x4642('0x1c')];_0x8e0807=_0x237b0a[0x0]['tableWidth'],_0x25db36=_0x237b0a[0x0][_0x4642('0xa')];break;}}_0x3310de({'table':_0xf1242d,'tableWidth':_0x387ed8,'columnWidths':_0x4bcb15}),_0x534554[_0x4642('0x3')](_0xf1242d,{'commandName':_0x4642('0x5'),'commandParams':[{'tableWidth':_0x8e0807,'columnWidths':_0x25db36}],'formatGroupId':_0x4642('0x20')},[],'resizeTable');});}[_0x4642('0x14')](_0x57abfd){if(_0x4642('0xb')!=_0x57abfd[_0x4642('0x4')]&&_0x4642('0x0')!=_0x57abfd['type'])return;const {data:_0x1eb43f}=_0x57abfd;if(_0x1eb43f&&_0x4642('0x20')===_0x1eb43f[_0x4642('0x1b')]){const _0x59c2ec=_0x4642('0x24');return{'type':_0x4642('0xd'),'content':_0x2bb44e(this['editor'][_0x4642('0xc')],_0x59c2ec)};}}}
23
+ const _0x4a5d=['TrackChangesEditing','model','getAttribute','editor','_suggestionFactory','handleResizeTableWidthCommand','*Format:*\x20resize\x20table','document','get','resizeTable','afterInit','discard','handleSuggestionDescription','enableCommand','registerCustomCallback','_descriptionFactory','type','getSuggestions','accept','formatInline','has','formatGroupId','subType','resizeTableWidth','format','TableColumnResizeEditing','formatBlock','getColumnGroupElement','plugins','selection','data','getContainedElement','columnWidths','getTableColumnsWidths','tableWidth'];(function(_0x2315a1,_0x4a5d6d){const _0x298a04=function(_0x45d88d){while(--_0x45d88d){_0x2315a1['push'](_0x2315a1['shift']());}};_0x298a04(++_0x4a5d6d);}(_0x4a5d,0xf7));const _0x298a=function(_0x2315a1,_0x4a5d6d){_0x2315a1=_0x2315a1-0x0;let _0x298a04=_0x4a5d[_0x2315a1];return _0x298a04;};import{Plugin as _0x1f91c8}from'ckeditor5/src/core';import{getTranslation as _0x3a0cf6}from'../utils/common-translations';export default class It extends _0x1f91c8{[_0x298a('0x8')](){if(!this['editor'][_0x298a('0x1a')][_0x298a('0x12')](_0x298a('0x17')))return;const _0x21ef87=this[_0x298a('0x1')][_0x298a('0x1a')][_0x298a('0x6')](_0x298a('0x21'));_0x21ef87[_0x298a('0xb')](_0x298a('0x15'),this[_0x298a('0x3')]['bind'](this)),_0x21ef87['_suggestionFactory'][_0x298a('0xc')]('formatBlock','resizeTable',_0x298a('0x10'),_0x21ef87[_0x298a('0x2')]['getSuggestionCallback'](_0x298a('0x18'),null,_0x298a('0x9'))),_0x21ef87[_0x298a('0x2')][_0x298a('0xc')](_0x298a('0x18'),_0x298a('0x7'),'discard',_0x21ef87[_0x298a('0x2')]['getSuggestionCallback'](_0x298a('0x18'),null,'accept')),_0x21ef87[_0x298a('0xd')]['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x14bdb0,_0x59c4f4){const _0x4ab2ee=this['editor'][_0x298a('0x1a')][_0x298a('0x6')](_0x298a('0x21')),_0x8b3baa=this['editor'][_0x298a('0x1a')][_0x298a('0x6')](_0x298a('0x17')),_0x40a084=_0x59c4f4['table']||this[_0x298a('0x1')][_0x298a('0x22')][_0x298a('0x5')][_0x298a('0x1b')]['getSelectedElement']();this[_0x298a('0x1')][_0x298a('0x22')]['change'](()=>{const _0x5a8070=_0x8b3baa[_0x298a('0x19')](_0x40a084);let _0x2c975c=_0x5a8070?_0x8b3baa[_0x298a('0x1f')](_0x5a8070):null,_0x46907a=_0x40a084[_0x298a('0x0')](_0x298a('0x20'))||null;const _0xf86575=_0x59c4f4[_0x298a('0x20')]||_0x46907a,_0x11cddf=_0x59c4f4[_0x298a('0x1e')]||_0x2c975c,_0x16e30b=this['editor']['plugins'][_0x298a('0x6')]('Users')['me'];for(const _0x1b520a of _0x4ab2ee[_0x298a('0xf')]()){const _0x46584c=_0x1b520a[_0x298a('0x1d')]();if(_0x298a('0x7')===_0x1b520a[_0x298a('0x14')]&&_0x46584c===_0x40a084){_0x1b520a['author']!==_0x16e30b&&_0x1b520a[_0x298a('0x9')]();const _0x538c27=_0x1b520a[_0x298a('0x1c')]['commandParams'];_0x46907a=_0x538c27[0x0][_0x298a('0x20')],_0x2c975c=_0x538c27[0x0][_0x298a('0x1e')];break;}}_0x14bdb0({'table':_0x40a084,'tableWidth':_0xf86575,'columnWidths':_0x11cddf}),_0x4ab2ee['markBlockFormat'](_0x40a084,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x46907a,'columnWidths':_0x2c975c}],'formatGroupId':_0x298a('0x7')},[],'resizeTable');});}[_0x298a('0xa')](_0x4e30ff){if('formatBlock'!=_0x4e30ff['type']&&_0x298a('0x11')!=_0x4e30ff[_0x298a('0xe')])return;const {data:_0x75c273}=_0x4e30ff;if(_0x75c273&&_0x298a('0x7')===_0x75c273[_0x298a('0x13')]){const _0x37f07f=_0x298a('0x4');return{'type':_0x298a('0x16'),'content':_0x3a0cf6(this['editor']['locale'],_0x37f07f)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5616=['_enableDefaultAttributesIntegration','commandParams','FORMAT_REGULAR_COLUMN','forceValue','mapper','toViewElement','downcastDispatcher','_suggestionFactory','getSuggestion','removeAttribute','type','TrackChangesEditing','markerNameToElements','removeClass','getCellLocation','registerDescriptionCallback','includes','formatBlock','afterInit','markerName','FORMAT_HEADER_ROW','start','setTableRowHeader','headingRows','_registerLegacyDescription','FORMAT_REGULAR_ROW','commandName','*Format:*\x20%0','highest','removeMarker:suggestion','writer','cell','stop','bindElementToMarker','get','plugins','setAttribute','activeMarkers','headingColumns','parent','consume','createTableWalker','markerRange','accept','FORMAT_HEADER_COLUMN','data-suggestion','registerAttributeLabel','ck-suggestion-marker-','_acceptFormatSuggestionCallbackFactory','editor','unbindElementFromMarkerName','addMarker:suggestion','data','locale','item','nodeAfter','ck-suggestion-marker--active','end','_descriptionFactory','editing','has','setTableColumnHeader','showSuggestionHighlights','addClass'];(function(_0x2210af,_0x5616d2){const _0x52ab55=function(_0xda0f48){while(--_0xda0f48){_0x2210af['push'](_0x2210af['shift']());}};_0x52ab55(++_0x5616d2);}(_0x5616,0xf3));const _0x52ab=function(_0x2210af,_0x5616d2){_0x2210af=_0x2210af-0x0;let _0x52ab55=_0x5616[_0x2210af];return _0x52ab55;};import{Plugin as _0x194b6d}from'ckeditor5/src/core';import _0x5a2f42 from'./table';import{getTranslation as _0x4d859e}from'../utils/common-translations';export default class St extends _0x194b6d{static get['requires'](){return[_0x5a2f42];}[_0x52ab('0x1f')](){const _0x3c5a61=this[_0x52ab('0x3e')];if(!_0x3c5a61['plugins'][_0x52ab('0x9')]('TableEditing'))return;const _0x123705=_0x3c5a61['locale'],_0x31232b=_0x3c5a61[_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18'));_0x31232b['_enableDefaultAttributesIntegration'](_0x52ab('0x23'),[],['headingRows']),_0x31232b[_0x52ab('0xd')](_0x52ab('0xa'),[],[_0x52ab('0x33')]),_0x31232b[_0x52ab('0x7')]['registerAttributeLabel'](_0x52ab('0x24'),_0x4d859e(_0x123705,_0x52ab('0x21'))),_0x31232b['_descriptionFactory'][_0x52ab('0x3b')](_0x52ab('0x33'),_0x4d859e(_0x123705,_0x52ab('0x39'))),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x3ed8c2=this[_0x52ab('0x3e')][_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18')),_0x2e45d4=this[_0x52ab('0x3e')]['plugins'][_0x52ab('0x2f')]('TableUtils'),_0x55550e=this[_0x52ab('0x3e')]['plugins']['get'](_0x5a2f42)[_0x52ab('0x3d')]();function _0x5d7726({showActiveMarker:_0x48f1b4=!0x0,setDataAttribute:_0x2ae272=!0x0}={}){return(_0x46a361,_0x3a3d99,_0x34f98f)=>{const {type:_0x3c7f1e,id:_0x4ba7d8}=_0x3ed8c2['_splitMarkerName'](_0x3a3d99[_0x52ab('0x20')]),_0x11cea3=_0x3ed8c2[_0x52ab('0x15')](_0x4ba7d8),_0x4cca33=_0x11cea3[_0x52ab('0x1')];if(_0x52ab('0x1e')!=_0x11cea3[_0x52ab('0x17')]||!_0x4cca33||_0x52ab('0xa')!=_0x4cca33[_0x52ab('0x27')])return;if(_0x3a3d99[_0x52ab('0x3')])return void _0x46a361[_0x52ab('0x2d')]();if(!_0x34f98f['consumable'][_0x52ab('0x35')](_0x3a3d99[_0x52ab('0x37')],_0x46a361['name']))return;const _0x1597bc=_0x3a3d99[_0x52ab('0x37')][_0x52ab('0x22')][_0x52ab('0x4')],_0x58e784=_0x3a3d99[_0x52ab('0x37')][_0x52ab('0x6')]['nodeBefore'],_0x5d94f7=_0x1597bc[_0x52ab('0x34')][_0x52ab('0x34')],{column:_0x1156be}=_0x2e45d4[_0x52ab('0x1b')](_0x1597bc),{column:_0xfead47}=_0x2e45d4[_0x52ab('0x1b')](_0x58e784);for(let _0x1e8710=_0x1156be;_0x1e8710<=_0xfead47;_0x1e8710++){const _0x4c721c=_0x2e45d4[_0x52ab('0x36')](_0x5d94f7,{'column':_0x1e8710,'includeAllSlots':!0x1});for(const _0x4a03ae of _0x4c721c){const _0x3c2d64=_0x4a03ae[_0x52ab('0x2c')],_0x52c2fb=_0x34f98f['mapper'][_0x52ab('0x12')](_0x3c2d64);_0x34f98f['writer'][_0x52ab('0xc')](_0x52ab('0x3c')+_0x3c7f1e,_0x52c2fb),_0x2ae272&&_0x34f98f['writer'][_0x52ab('0x31')](_0x52ab('0x3a'),_0x4ba7d8,_0x52c2fb),_0x34f98f[_0x52ab('0x11')][_0x52ab('0x2e')](_0x52c2fb,_0x3a3d99[_0x52ab('0x20')]),_0x48f1b4&&(_0x3ed8c2[_0x52ab('0x32')][_0x52ab('0x1d')](_0x3a3d99['markerName'])?_0x34f98f[_0x52ab('0x2b')][_0x52ab('0xc')](_0x52ab('0x5'),_0x52c2fb):_0x34f98f[_0x52ab('0x2b')][_0x52ab('0x1a')](_0x52ab('0x5'),_0x52c2fb));}}};}_0x3ed8c2[_0x52ab('0x14')]['registerCustomCallback'](_0x52ab('0x1e'),_0x52ab('0x23'),_0x52ab('0x38'),_0x55550e),_0x3ed8c2[_0x52ab('0x14')]['registerCustomCallback'](_0x52ab('0x1e'),'setTableColumnHeader',_0x52ab('0x38'),_0x55550e),this[_0x52ab('0x3e')][_0x52ab('0x8')][_0x52ab('0x13')]['on'](_0x52ab('0x0'),_0x5d7726(),{'priority':_0x52ab('0x29')}),this['editor']['data'][_0x52ab('0x13')]['on']('addMarker:suggestion',(_0x2a552d,_0x584ad7,_0x16aa3e)=>{_0x16aa3e['options'][_0x52ab('0xb')]&&_0x5d7726({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2a552d,_0x584ad7,_0x16aa3e);},{'priority':_0x52ab('0x29')}),this[_0x52ab('0x3e')]['editing'][_0x52ab('0x13')]['on'](_0x52ab('0x2a'),(_0x41696a,_0xf5132e,_0x432730)=>{const {type:_0x57afd9,id:_0x384322}=_0x3ed8c2['_splitMarkerName'](_0xf5132e[_0x52ab('0x20')]),_0x1a2e1d=_0x3ed8c2[_0x52ab('0x15')](_0x384322),_0x4e789b=_0x1a2e1d[_0x52ab('0x1')];if('formatBlock'!=_0x1a2e1d[_0x52ab('0x17')]||!_0x4e789b||'setTableColumnHeader'!=_0x4e789b[_0x52ab('0x27')])return;const _0x13e8c5=_0x432730[_0x52ab('0x11')][_0x52ab('0x19')](_0xf5132e['markerName']);if(_0x13e8c5)for(const _0x1873c6 of _0x13e8c5)_0x432730['writer'][_0x52ab('0x1a')](_0x52ab('0x3c')+_0x57afd9,_0x1873c6),_0x432730[_0x52ab('0x2b')][_0x52ab('0x1a')]('ck-suggestion-marker--active',_0x1873c6),_0x432730[_0x52ab('0x2b')][_0x52ab('0x16')](_0x52ab('0x3a'),_0x1873c6),_0x432730[_0x52ab('0x11')][_0x52ab('0x3f')](_0x1873c6,_0xf5132e[_0x52ab('0x20')]);},{'priority':'highest'}),this['_registerLegacyDescription']();}[_0x52ab('0x25')](){const _0x2cd02f=this[_0x52ab('0x3e')],_0x1ec041=_0x2cd02f[_0x52ab('0x2')];function _0x574334(_0x45522c){return{'type':'format','content':_0x4d859e(_0x1ec041,_0x52ab('0x28'),_0x45522c)};}_0x2cd02f[_0x52ab('0x30')][_0x52ab('0x2f')](_0x52ab('0x18'))['_descriptionFactory'][_0x52ab('0x1c')](_0x4ac7ca=>{if(_0x52ab('0x1e')!=_0x4ac7ca['type'])return;const {data:_0x39060a}=_0x4ac7ca;if(_0x39060a){if(_0x52ab('0x23')==_0x39060a[_0x52ab('0x27')]){const _0x2a25d9=_0x39060a['commandParams'][0x0][_0x52ab('0x10')];return _0x574334(_0x4d859e(_0x1ec041,_0x2a25d9?_0x52ab('0x21'):_0x52ab('0x26')));}if('setTableColumnHeader'==_0x39060a[_0x52ab('0x27')]){const _0x44da9d=_0x39060a[_0x52ab('0xe')][0x0][_0x52ab('0x10')];return _0x574334(_0x4d859e(_0x1ec041,_0x44da9d?'FORMAT_HEADER_COLUMN':_0x52ab('0xf')));}}});}}
23
+ const _0x4e77=['format','name','end','FORMAT_REGULAR_ROW','commandName','_handleLegacySuggestions','toViewElement','showSuggestionHighlights','formatBlock','markerRange','registerDescriptionCallback','writer','ck-suggestion-marker-','consumable','nodeBefore','addClass','downcastDispatcher','type','requires','TableEditing','TrackChangesEditing','accept','setAttribute','registerCustomCallback','nodeAfter','setTableRowHeader','mapper','data-suggestion','commandParams','markerName','removeMarker:suggestion','_descriptionFactory','editor','cell','FORMAT_HEADER_COLUMN','getSuggestion','bindElementToMarker','activeMarkers','parent','TableUtils','registerAttributeLabel','setTableColumnHeader','headingColumns','get','markerNameToElements','unbindElementFromMarkerName','consume','FORMAT_REGULAR_COLUMN','data','includes','_acceptFormatSuggestionCallbackFactory','_splitMarkerName','_enableDefaultAttributesIntegration','FORMAT_HEADER_ROW','removeClass','headingRows','removeAttribute','afterInit','highest','ck-suggestion-marker--active','has','plugins','forceValue','locale','addMarker:suggestion','getCellLocation'];(function(_0x3afab9,_0x4e77e3){const _0x5274da=function(_0x1223a6){while(--_0x1223a6){_0x3afab9['push'](_0x3afab9['shift']());}};_0x5274da(++_0x4e77e3);}(_0x4e77,0x15b));const _0x5274=function(_0x3afab9,_0x4e77e3){_0x3afab9=_0x3afab9-0x0;let _0x5274da=_0x4e77[_0x3afab9];return _0x5274da;};import{Plugin as _0x568ab3}from'ckeditor5/src/core';import _0x16126b from'./table';import{getTranslation as _0x55777d}from'../utils/common-translations';export default class St extends _0x568ab3{static get[_0x5274('0x1')](){return[_0x16126b];}[_0x5274('0x28')](){const _0x2889ca=this[_0x5274('0xf')];if(!_0x2889ca[_0x5274('0x2c')][_0x5274('0x2b')](_0x5274('0x2')))return;const _0x1c6f49=_0x2889ca[_0x5274('0x2e')],_0x44e4fd=_0x2889ca[_0x5274('0x2c')][_0x5274('0x1a')]('TrackChangesEditing');_0x44e4fd[_0x5274('0x23')](_0x5274('0x8'),[],[_0x5274('0x26')]),_0x44e4fd['_enableDefaultAttributesIntegration']('setTableColumnHeader',[],[_0x5274('0x19')]),_0x44e4fd['_descriptionFactory']['registerAttributeLabel'](_0x5274('0x26'),_0x55777d(_0x1c6f49,_0x5274('0x24'))),_0x44e4fd[_0x5274('0xe')][_0x5274('0x17')](_0x5274('0x19'),_0x55777d(_0x1c6f49,_0x5274('0x11'))),this[_0x5274('0x36')]();}[_0x5274('0x36')](){const _0x5097ce=this[_0x5274('0xf')][_0x5274('0x2c')]['get']('TrackChangesEditing'),_0x10a4fa=this[_0x5274('0xf')][_0x5274('0x2c')]['get'](_0x5274('0x16')),_0x2aed33=this['editor'][_0x5274('0x2c')][_0x5274('0x1a')](_0x16126b)[_0x5274('0x21')]();function _0x332fd({showActiveMarker:_0x8df70f=!0x0,setDataAttribute:_0x360637=!0x0}={}){return(_0x43e95c,_0x3ed304,_0x36f232)=>{const {type:_0x5ad052,id:_0x2e7804}=_0x5097ce[_0x5274('0x22')](_0x3ed304['markerName']),_0x3910c1=_0x5097ce[_0x5274('0x12')](_0x2e7804),_0x58cf55=_0x3910c1[_0x5274('0x1f')];if(_0x5274('0x39')!=_0x3910c1[_0x5274('0x0')]||!_0x58cf55||_0x5274('0x18')!=_0x58cf55['commandName'])return;if(_0x3ed304['item'])return void _0x43e95c['stop']();if(!_0x36f232[_0x5274('0x3e')][_0x5274('0x1d')](_0x3ed304[_0x5274('0x3a')],_0x43e95c[_0x5274('0x32')]))return;const _0x849e70=_0x3ed304['markerRange']['start'][_0x5274('0x7')],_0x205e83=_0x3ed304['markerRange'][_0x5274('0x33')][_0x5274('0x3f')],_0x26c9ab=_0x849e70[_0x5274('0x15')][_0x5274('0x15')],{column:_0x590471}=_0x10a4fa[_0x5274('0x30')](_0x849e70),{column:_0x4d2897}=_0x10a4fa[_0x5274('0x30')](_0x205e83);for(let _0x366fbd=_0x590471;_0x366fbd<=_0x4d2897;_0x366fbd++){const _0x3daf5a=_0x10a4fa['createTableWalker'](_0x26c9ab,{'column':_0x366fbd,'includeAllSlots':!0x1});for(const _0x57ee45 of _0x3daf5a){const _0x8f0df4=_0x57ee45[_0x5274('0x10')],_0x3af31d=_0x36f232['mapper'][_0x5274('0x37')](_0x8f0df4);_0x36f232['writer'][_0x5274('0x40')](_0x5274('0x3d')+_0x5ad052,_0x3af31d),_0x360637&&_0x36f232[_0x5274('0x3c')][_0x5274('0x5')](_0x5274('0xa'),_0x2e7804,_0x3af31d),_0x36f232[_0x5274('0x9')][_0x5274('0x13')](_0x3af31d,_0x3ed304[_0x5274('0xc')]),_0x8df70f&&(_0x5097ce[_0x5274('0x14')][_0x5274('0x20')](_0x3ed304[_0x5274('0xc')])?_0x36f232[_0x5274('0x3c')][_0x5274('0x40')](_0x5274('0x2a'),_0x3af31d):_0x36f232[_0x5274('0x3c')][_0x5274('0x25')]('ck-suggestion-marker--active',_0x3af31d));}}};}_0x5097ce['_suggestionFactory'][_0x5274('0x6')](_0x5274('0x39'),_0x5274('0x8'),_0x5274('0x4'),_0x2aed33),_0x5097ce['_suggestionFactory'][_0x5274('0x6')]('formatBlock',_0x5274('0x18'),_0x5274('0x4'),_0x2aed33),this[_0x5274('0xf')]['editing'][_0x5274('0x41')]['on']('addMarker:suggestion',_0x332fd(),{'priority':_0x5274('0x29')}),this['editor'][_0x5274('0x1f')][_0x5274('0x41')]['on'](_0x5274('0x2f'),(_0x1f2243,_0x41a484,_0x1e1fe3)=>{_0x1e1fe3['options'][_0x5274('0x38')]&&_0x332fd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1f2243,_0x41a484,_0x1e1fe3);},{'priority':'highest'}),this[_0x5274('0xf')]['editing'][_0x5274('0x41')]['on'](_0x5274('0xd'),(_0x2362c6,_0x163791,_0xb2ec95)=>{const {type:_0x805bd9,id:_0x5f3697}=_0x5097ce[_0x5274('0x22')](_0x163791[_0x5274('0xc')]),_0x496ad6=_0x5097ce[_0x5274('0x12')](_0x5f3697),_0x4edd8f=_0x496ad6[_0x5274('0x1f')];if(_0x5274('0x39')!=_0x496ad6[_0x5274('0x0')]||!_0x4edd8f||_0x5274('0x18')!=_0x4edd8f[_0x5274('0x35')])return;const _0xff9219=_0xb2ec95[_0x5274('0x9')][_0x5274('0x1b')](_0x163791[_0x5274('0xc')]);if(_0xff9219)for(const _0x4f408a of _0xff9219)_0xb2ec95['writer'][_0x5274('0x25')]('ck-suggestion-marker-'+_0x805bd9,_0x4f408a),_0xb2ec95[_0x5274('0x3c')][_0x5274('0x25')](_0x5274('0x2a'),_0x4f408a),_0xb2ec95[_0x5274('0x3c')][_0x5274('0x27')]('data-suggestion',_0x4f408a),_0xb2ec95[_0x5274('0x9')][_0x5274('0x1c')](_0x4f408a,_0x163791[_0x5274('0xc')]);},{'priority':_0x5274('0x29')}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x190111=this[_0x5274('0xf')],_0x414b45=_0x190111[_0x5274('0x2e')];function _0x3077e2(_0x1e2cf9){return{'type':_0x5274('0x31'),'content':_0x55777d(_0x414b45,'*Format:*\x20%0',_0x1e2cf9)};}_0x190111['plugins'][_0x5274('0x1a')](_0x5274('0x3'))[_0x5274('0xe')][_0x5274('0x3b')](_0x292ed5=>{if(_0x5274('0x39')!=_0x292ed5[_0x5274('0x0')])return;const {data:_0x5e6047}=_0x292ed5;if(_0x5e6047){if(_0x5274('0x8')==_0x5e6047[_0x5274('0x35')]){const _0x357785=_0x5e6047[_0x5274('0xb')][0x0][_0x5274('0x2d')];return _0x3077e2(_0x55777d(_0x414b45,_0x357785?_0x5274('0x24'):_0x5274('0x34')));}if('setTableColumnHeader'==_0x5e6047[_0x5274('0x35')]){const _0x2a5fb2=_0x5e6047[_0x5274('0xb')][0x0][_0x5274('0x2d')];return _0x3077e2(_0x55777d(_0x414b45,_0x2a5fb2?_0x5274('0x11'):_0x5274('0x1e')));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34aa=['commands','direction','cell','forceDefaultExecution','mergeTableCellUp','_suggestionFactory','execute','rootName','horizontally','getSelectionAffectedTableCells','_isForcedDefaultExecutionBlock','low','containsRange','$graveyard','_areSelectedCellsMergable','registerDescriptionCallback','format','fromRange','return','find','mergeTableCellDown','from','stop','getAncestors','set:isEnabled','_descriptionFactory','getRanges','enableCommand','setSelection','element','filter','_areMergableCells','type','markBlockFormat','createRangeOn','registerCustomCallback','plugins','*Split\x20cell:*\x20horizontally','markMultiRangeBlockFormat','length','size','table','TrackChangesEditing','root','mergeTableCellRight','document','*Merge\x20cells*','get','*Split\x20cell:*\x20vertically','model','splitTableCellHorizontally','splitTableCellVertically','change','value','isEnabled','map','has','accept','highest','formatInline','tableCell','author','trackChanges','commandName','selection','TableUtils','TableEditing','subType','detach','formatBlock','getCellLocation','isInContent','deletion','_tablePostFixingSubtypes','refresh','mergeTableCellLeft','editor','add','createTableWalker','mergeTableCells'];(function(_0x1fcb57,_0x34aa05){const _0x566c0c=function(_0x16d157){while(--_0x16d157){_0x1fcb57['push'](_0x1fcb57['shift']());}};_0x566c0c(++_0x34aa05);}(_0x34aa,0xe9));const _0x566c=function(_0x1fcb57,_0x34aa05){_0x1fcb57=_0x1fcb57-0x0;let _0x566c0c=_0x34aa[_0x1fcb57];return _0x566c0c;};import{Plugin as _0x3045e1}from'ckeditor5/src/core';import _0x38427c from'./table';import{LiveRange as _0x1476b9}from'ckeditor5/src/engine';import{getTranslation as _0xe6661d}from'../utils/common-translations';export default class yt extends _0x3045e1{static get['requires'](){return[_0x38427c];}['afterInit'](){const _0x3ae54c=this[_0x566c('0x3')],_0xa6d2d0=_0x3ae54c[_0x566c('0x38')]['document']['selection'],_0x617490=_0x3ae54c['locale'];if(!_0x3ae54c[_0x566c('0x2b')]['has'](_0x566c('0x49')))return;const _0x5a8f95=_0x3ae54c[_0x566c('0x2b')][_0x566c('0x36')](_0x566c('0x31')),_0x1f71cd=_0x3ae54c[_0x566c('0x2b')]['get'](_0x566c('0x48')),_0x22deb4=_0x3ae54c[_0x566c('0x2b')][_0x566c('0x36')](_0x38427c);_0x22deb4[_0x566c('0x0')]['push'](_0x566c('0x6')),_0x5a8f95['enableCommand'](_0x566c('0x6'),()=>{const _0x115fd0=_0x1f71cd[_0x566c('0x10')](_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')][_0x566c('0x47')]);_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](()=>{_0x5a8f95[_0x566c('0x2d')](_0x115fd0,{'commandName':_0x566c('0x6'),'commandParams':[]},[],'mergeTableCells');});}),_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x6'))['on'](_0x566c('0xd'),(_0x44ca9d,_0x5cb09e)=>{_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x45'))[_0x566c('0x3c')]&&(_0x5cb09e['length']>0x0&&_0x5cb09e[_0x5cb09e[_0x566c('0x2e')]-0x1]&&_0x5cb09e[_0x5cb09e[_0x566c('0x2e')]-0x1][_0x566c('0xa')]||_0x5a8f95[_0x566c('0x11')]||this[_0x566c('0x15')]()||_0x44ca9d[_0x566c('0x1d')]());},{'priority':_0x566c('0x41')});for(const _0x24d31e of[_0x566c('0xb'),_0x566c('0x33'),_0x566c('0x1b'),'mergeTableCellLeft']){const _0x29af96=_0x3ae54c[_0x566c('0x7')][_0x566c('0x36')](_0x24d31e);_0x5a8f95['enableCommand'](_0x24d31e,()=>{const _0x42df79=_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')]['selection']['getFirstPosition']()[_0x566c('0x1e')]()[_0x566c('0x1a')](_0x1688b8=>_0x1688b8['is'](_0x566c('0x24'),_0x566c('0x43'))),_0x26aabf=_0x29af96['value'];_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](()=>{_0x5a8f95[_0x566c('0x2d')]([_0x42df79,_0x26aabf],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x49ed22 of[_0x566c('0x3a'),_0x566c('0x39')]){const _0x463f84=_0x3ae54c['commands']['get'](_0x49ed22);_0x5a8f95[_0x566c('0x22')](_0x49ed22,()=>{const _0x19af21=_0x1f71cd[_0x566c('0x10')](_0x3ae54c['model']['document'][_0x566c('0x47')])[0x0],_0x3dad7c=_0x19af21['findAncestor'](_0x566c('0x30')),{column:_0x79e72a,row:_0x6a9e50}=_0x1f71cd[_0x566c('0x4d')](_0x19af21);let _0x5337d3=[];if(_0x566c('0xf')==_0x463f84[_0x566c('0x8')]){const _0x5a8331=_0x1f71cd['createTableWalker'](_0x3dad7c,{'startRow':_0x6a9e50,'endRow':_0x6a9e50,'includeAllSlots':!0x0});_0x5337d3=Array[_0x566c('0x1c')](_0x5a8331)[_0x566c('0x3e')](_0x7b32a9=>_0x7b32a9[_0x566c('0x9')]);}else{const _0x293727=_0x1f71cd[_0x566c('0x5')](_0x3dad7c,{'column':_0x79e72a,'includeAllSlots':!0x0});_0x5337d3=Array[_0x566c('0x1c')](_0x293727)[_0x566c('0x3e')](_0x3e9283=>_0x3e9283[_0x566c('0x9')]);}_0x3ae54c[_0x566c('0x38')]['change'](_0x576032=>{_0x5a8f95[_0x566c('0x28')](_0x576032[_0x566c('0x29')](_0x19af21),{'commandName':_0x49ed22,'commandParams':[]},_0x5337d3,_0x49ed22);});});}_0x5a8f95[_0x566c('0x20')][_0x566c('0x16')](_0x3da153=>{if(_0x566c('0x4c')!=_0x3da153[_0x566c('0x27')]&&_0x566c('0x42')!=_0x3da153['type'])return;const {data:_0x5c3abd}=_0x3da153;return _0x5c3abd&&_0x566c('0x6')==_0x5c3abd['commandName']?{'type':'format','content':_0xe6661d(_0x617490,_0x566c('0x35'))}:void 0x0;}),_0x5a8f95[_0x566c('0x20')]['registerDescriptionCallback'](_0x2ec31a=>{if(_0x566c('0x4c')!=_0x2ec31a[_0x566c('0x27')]&&_0x566c('0x42')!=_0x2ec31a['type'])return;const {data:_0x39ee82}=_0x2ec31a;return _0x39ee82?_0x566c('0x3a')==_0x39ee82[_0x566c('0x46')]?{'type':_0x566c('0x17'),'content':_0xe6661d(_0x617490,_0x566c('0x37'))}:_0x566c('0x39')==_0x39ee82[_0x566c('0x46')]?{'type':'format','content':_0xe6661d(_0x617490,_0x566c('0x2c'))}:void 0x0:void 0x0;});const _0x5cd426=_0x22deb4['_acceptFormatSuggestionCallbackFactory']();for(const _0x245969 of[_0x566c('0xb'),_0x566c('0x33'),_0x566c('0x1b'),'mergeTableCellLeft'])_0x5a8f95[_0x566c('0xc')][_0x566c('0x2a')](_0x566c('0x4c'),_0x245969,_0x566c('0x40'),_0x5cd426);for(const _0x3c1cd7 of['splitTableCellVertically','splitTableCellHorizontally'])_0x5a8f95[_0x566c('0xc')]['registerCustomCallback']('formatBlock',_0x3c1cd7,_0x566c('0x40'),_0x5cd426);_0x5a8f95['_suggestionFactory']['registerCustomCallback'](_0x566c('0x4c'),_0x566c('0x6'),_0x566c('0x40'),_0x578968=>{_0x3ae54c[_0x566c('0x38')][_0x566c('0x3b')](_0x545a00=>{const _0x1a36a5=Array['from'](_0xa6d2d0['getRanges']())['map'](_0x288c70=>_0x1476b9[_0x566c('0x18')](_0x288c70));_0x545a00[_0x566c('0x23')](_0x578968),_0x3ae54c['commands'][_0x566c('0x36')]('mergeTableCells')[_0x566c('0x1')](),_0x3ae54c['execute'](_0x566c('0x6'),{'forceDefaultExecution':!0x0});const _0x333929=_0x1a36a5[_0x566c('0x25')](_0x5f3342=>_0x566c('0x14')!=_0x5f3342[_0x566c('0x32')][_0x566c('0xe')]);_0x333929[_0x566c('0x2e')]>0x0&&_0x545a00[_0x566c('0x23')](_0x333929);for(const _0x33b35a of _0x1a36a5)_0x33b35a[_0x566c('0x4b')]();});});for(const _0x484bb0 of[_0x566c('0xb'),'mergeTableCellDown',_0x566c('0x2'),'mergeTableCellRight']){const _0x216a4f=_0x3ae54c['commands'][_0x566c('0x36')](_0x484bb0);_0x216a4f['on'](_0x566c('0x1f'),(_0x2d6f9b,_0x358f65,_0x4bef75)=>{if(_0x4bef75){const _0x3c7b07=_0x3ae54c[_0x566c('0x38')][_0x566c('0x34')]['selection']['getFirstPosition']()[_0x566c('0x1e')]()[_0x566c('0x1a')](_0x11a556=>_0x11a556['is'](_0x566c('0x24'),_0x566c('0x43')));this[_0x566c('0x26')](_0x216a4f['value'],_0x3c7b07)||(_0x2d6f9b[_0x566c('0x19')]=!0x1,_0x2d6f9b['stop']());}},{'priority':_0x566c('0x12')});}}[_0x566c('0x15')](){const _0x26e28a=this[_0x566c('0x3')][_0x566c('0x7')][_0x566c('0x36')](_0x566c('0x6')),_0x3ee1ea=this[_0x566c('0x3')][_0x566c('0x2b')][_0x566c('0x36')](_0x566c('0x48'));if(!_0x26e28a[_0x566c('0x3d')])return!0x1;const _0x429504=_0x3ee1ea['getSelectionAffectedTableCells'](this[_0x566c('0x3')][_0x566c('0x38')][_0x566c('0x34')][_0x566c('0x47')]);for(const _0x5822a0 of _0x429504)for(const _0x41d501 of _0x429504)if(_0x5822a0!=_0x41d501&&!this[_0x566c('0x26')](_0x5822a0,_0x41d501))return!0x1;return!0x0;}['_areMergableCells'](_0x10f961,_0x1de38e){const _0x4718cb=this[_0x566c('0x3')][_0x566c('0x2b')][_0x566c('0x36')]('TrackChangesEditing'),_0x2aea4c=this['editor']['model'][_0x566c('0x29')](_0x10f961),_0x3d3266=this[_0x566c('0x3')]['model'][_0x566c('0x29')](_0x1de38e),_0x1533a1=new Set(),_0x2a7736=new Set();for(const _0x27b1ee of _0x4718cb['getSuggestions']())if(('insertion'==_0x27b1ee[_0x566c('0x27')]||_0x566c('0x4f')==_0x27b1ee[_0x566c('0x27')]||_0x566c('0x6')==_0x27b1ee[_0x566c('0x4a')])&&_0x27b1ee[_0x566c('0x4e')])for(const _0x446e10 of _0x27b1ee[_0x566c('0x21')]())_0x446e10[_0x566c('0x13')](_0x2aea4c,!0x0)&&_0x1533a1[_0x566c('0x4')](_0x27b1ee[_0x566c('0x27')]+':'+_0x27b1ee[_0x566c('0x44')]['id']),_0x446e10[_0x566c('0x13')](_0x3d3266,!0x0)&&_0x2a7736[_0x566c('0x4')](_0x27b1ee[_0x566c('0x27')]+':'+_0x27b1ee[_0x566c('0x44')]['id']);if(_0x1533a1[_0x566c('0x2f')]!=_0x2a7736['size'])return!0x1;for(const _0x5dc4fb of _0x1533a1)if(!_0x2a7736[_0x566c('0x3f')](_0x5dc4fb))return!0x1;return!0x0;}}
23
+ const _0xa479=['detach','from','table','model','TableUtils','setSelection','value','set:isEnabled','createTableWalker','find','_areSelectedCellsMergable','commandName','locale','return','createRangeOn','element','subType','horizontally','getRanges','_areMergableCells','filter','tableCell','refresh','add','mergeTableCellDown','map','getSelectionAffectedTableCells','commands','size','document','getFirstPosition','cell','has','markBlockFormat','registerDescriptionCallback','_acceptFormatSuggestionCallbackFactory','getSuggestions','stop','mergeTableCellUp','author','containsRange','_suggestionFactory','enableCommand','direction','formatBlock','type','formatInline','low','length','insertion','mergeTableCellLeft','accept','selection','editor','plugins','splitTableCellVertically','deletion','_descriptionFactory','get','getAncestors','change','mergeTableCellRight','mergeTableCells','splitTableCellHorizontally','isInContent','*Merge\x20cells*','_isForcedDefaultExecutionBlock','$graveyard','format','execute'];(function(_0x33d8a1,_0xa47932){const _0xd51718=function(_0x2f2cb2){while(--_0x2f2cb2){_0x33d8a1['push'](_0x33d8a1['shift']());}};_0xd51718(++_0xa47932);}(_0xa479,0x13d));const _0xd517=function(_0x33d8a1,_0xa47932){_0x33d8a1=_0x33d8a1-0x0;let _0xd51718=_0xa479[_0x33d8a1];return _0xd51718;};import{Plugin as _0x3aeac5}from'ckeditor5/src/core';import _0x135c6c from'./table';import{LiveRange as _0x5e13cc}from'ckeditor5/src/engine';import{getTranslation as _0x870a3b}from'../utils/common-translations';export default class yt extends _0x3aeac5{static get['requires'](){return[_0x135c6c];}['afterInit'](){const _0x594909=this[_0xd517('0x10')],_0x42408c=_0x594909[_0xd517('0x24')][_0xd517('0x3e')][_0xd517('0xf')],_0x5e72da=_0x594909[_0xd517('0x2d')];if(!_0x594909[_0xd517('0x11')][_0xd517('0x41')]('TableEditing'))return;const _0x20ec45=_0x594909[_0xd517('0x11')][_0xd517('0x15')]('TrackChangesEditing'),_0xc35e09=_0x594909[_0xd517('0x11')][_0xd517('0x15')](_0xd517('0x25')),_0x5633b4=_0x594909[_0xd517('0x11')][_0xd517('0x15')](_0x135c6c);_0x5633b4['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x20ec45[_0xd517('0x5')](_0xd517('0x19'),()=>{const _0x48df2f=_0xc35e09[_0xd517('0x3b')](_0x594909['model'][_0xd517('0x3e')][_0xd517('0xf')]);_0x594909['model'][_0xd517('0x17')](()=>{_0x20ec45['markMultiRangeBlockFormat'](_0x48df2f,{'commandName':_0xd517('0x19'),'commandParams':[]},[],_0xd517('0x19'));});}),_0x594909['commands']['get']('mergeTableCells')['on'](_0xd517('0x20'),(_0x2b8c69,_0x206b45)=>{_0x594909[_0xd517('0x3c')]['get']('trackChanges')[_0xd517('0x27')]&&(_0x206b45[_0xd517('0xb')]>0x0&&_0x206b45[_0x206b45[_0xd517('0xb')]-0x1]&&_0x206b45[_0x206b45['length']-0x1]['forceDefaultExecution']||_0x20ec45[_0xd517('0x1d')]||this[_0xd517('0x2b')]()||_0x2b8c69[_0xd517('0x0')]());},{'priority':'highest'});for(const _0xa610c8 of[_0xd517('0x1'),'mergeTableCellRight',_0xd517('0x39'),_0xd517('0xd')]){const _0x2dd760=_0x594909[_0xd517('0x3c')][_0xd517('0x15')](_0xa610c8);_0x20ec45[_0xd517('0x5')](_0xa610c8,()=>{const _0x490643=_0x594909[_0xd517('0x24')][_0xd517('0x3e')][_0xd517('0xf')][_0xd517('0x3f')]()['getAncestors']()[_0xd517('0x2a')](_0x3af65d=>_0x3af65d['is']('element',_0xd517('0x36'))),_0x264657=_0x2dd760['value'];_0x594909[_0xd517('0x24')]['change'](()=>{_0x20ec45['markMultiRangeBlockFormat']([_0x490643,_0x264657],{'commandName':_0xd517('0x19'),'commandParams':[]},[],_0xd517('0x19'));});});}for(const _0x37fe3a of[_0xd517('0x12'),_0xd517('0x1a')]){const _0x58e193=_0x594909[_0xd517('0x3c')][_0xd517('0x15')](_0x37fe3a);_0x20ec45[_0xd517('0x5')](_0x37fe3a,()=>{const _0x5c4b44=_0xc35e09['getSelectionAffectedTableCells'](_0x594909[_0xd517('0x24')][_0xd517('0x3e')][_0xd517('0xf')])[0x0],_0x3b8dac=_0x5c4b44['findAncestor'](_0xd517('0x23')),{column:_0x266df4,row:_0x275091}=_0xc35e09['getCellLocation'](_0x5c4b44);let _0x3a6428=[];if(_0xd517('0x32')==_0x58e193[_0xd517('0x6')]){const _0x501602=_0xc35e09[_0xd517('0x29')](_0x3b8dac,{'startRow':_0x275091,'endRow':_0x275091,'includeAllSlots':!0x0});_0x3a6428=Array[_0xd517('0x22')](_0x501602)['map'](_0x5021ec=>_0x5021ec['cell']);}else{const _0x2ec8d3=_0xc35e09['createTableWalker'](_0x3b8dac,{'column':_0x266df4,'includeAllSlots':!0x0});_0x3a6428=Array[_0xd517('0x22')](_0x2ec8d3)[_0xd517('0x3a')](_0x5267b4=>_0x5267b4[_0xd517('0x40')]);}_0x594909[_0xd517('0x24')][_0xd517('0x17')](_0x35d09b=>{_0x20ec45[_0xd517('0x42')](_0x35d09b[_0xd517('0x2f')](_0x5c4b44),{'commandName':_0x37fe3a,'commandParams':[]},_0x3a6428,_0x37fe3a);});});}_0x20ec45['_descriptionFactory'][_0xd517('0x43')](_0x228adf=>{if(_0xd517('0x7')!=_0x228adf[_0xd517('0x8')]&&_0xd517('0x9')!=_0x228adf['type'])return;const {data:_0x56cdd}=_0x228adf;return _0x56cdd&&_0xd517('0x19')==_0x56cdd[_0xd517('0x2c')]?{'type':_0xd517('0x1f'),'content':_0x870a3b(_0x5e72da,_0xd517('0x1c'))}:void 0x0;}),_0x20ec45[_0xd517('0x14')][_0xd517('0x43')](_0x47815b=>{if(_0xd517('0x7')!=_0x47815b[_0xd517('0x8')]&&'formatInline'!=_0x47815b['type'])return;const {data:_0x37d507}=_0x47815b;return _0x37d507?_0xd517('0x12')==_0x37d507[_0xd517('0x2c')]?{'type':_0xd517('0x1f'),'content':_0x870a3b(_0x5e72da,'*Split\x20cell:*\x20vertically')}:_0xd517('0x1a')==_0x37d507['commandName']?{'type':_0xd517('0x1f'),'content':_0x870a3b(_0x5e72da,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x4a4c19=_0x5633b4[_0xd517('0x44')]();for(const _0x7664b3 of['mergeTableCellUp','mergeTableCellRight',_0xd517('0x39'),_0xd517('0xd')])_0x20ec45[_0xd517('0x4')]['registerCustomCallback'](_0xd517('0x7'),_0x7664b3,_0xd517('0xe'),_0x4a4c19);for(const _0x4985c1 of[_0xd517('0x12'),_0xd517('0x1a')])_0x20ec45[_0xd517('0x4')]['registerCustomCallback']('formatBlock',_0x4985c1,'accept',_0x4a4c19);_0x20ec45['_suggestionFactory']['registerCustomCallback'](_0xd517('0x7'),'mergeTableCells','accept',_0x18eddf=>{_0x594909[_0xd517('0x24')][_0xd517('0x17')](_0x3a1a37=>{const _0x17cfc3=Array[_0xd517('0x22')](_0x42408c[_0xd517('0x33')]())[_0xd517('0x3a')](_0x3aaff0=>_0x5e13cc['fromRange'](_0x3aaff0));_0x3a1a37[_0xd517('0x26')](_0x18eddf),_0x594909['commands'][_0xd517('0x15')](_0xd517('0x19'))[_0xd517('0x37')](),_0x594909[_0xd517('0x20')]('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x206a7e=_0x17cfc3[_0xd517('0x35')](_0x33022b=>_0xd517('0x1e')!=_0x33022b['root']['rootName']);_0x206a7e['length']>0x0&&_0x3a1a37[_0xd517('0x26')](_0x206a7e);for(const _0xd212f4 of _0x17cfc3)_0xd212f4[_0xd517('0x21')]();});});for(const _0x4c6731 of[_0xd517('0x1'),_0xd517('0x39'),_0xd517('0xd'),_0xd517('0x18')]){const _0x4b5bea=_0x594909['commands'][_0xd517('0x15')](_0x4c6731);_0x4b5bea['on'](_0xd517('0x28'),(_0x5bbcaa,_0x433984,_0x511a9f)=>{if(_0x511a9f){const _0x14e042=_0x594909[_0xd517('0x24')]['document']['selection']['getFirstPosition']()[_0xd517('0x16')]()[_0xd517('0x2a')](_0x518ec5=>_0x518ec5['is'](_0xd517('0x30'),_0xd517('0x36')));this['_areMergableCells'](_0x4b5bea[_0xd517('0x27')],_0x14e042)||(_0x5bbcaa[_0xd517('0x2e')]=!0x1,_0x5bbcaa[_0xd517('0x0')]());}},{'priority':_0xd517('0xa')});}}['_areSelectedCellsMergable'](){const _0x316f12=this[_0xd517('0x10')][_0xd517('0x3c')][_0xd517('0x15')](_0xd517('0x19')),_0x185df9=this['editor']['plugins'][_0xd517('0x15')]('TableUtils');if(!_0x316f12['isEnabled'])return!0x1;const _0x3f2ccb=_0x185df9[_0xd517('0x3b')](this[_0xd517('0x10')][_0xd517('0x24')][_0xd517('0x3e')][_0xd517('0xf')]);for(const _0x59fcc4 of _0x3f2ccb)for(const _0x2bdbb0 of _0x3f2ccb)if(_0x59fcc4!=_0x2bdbb0&&!this[_0xd517('0x34')](_0x59fcc4,_0x2bdbb0))return!0x1;return!0x0;}[_0xd517('0x34')](_0x3f7a1c,_0x4a2c19){const _0x38ec4f=this[_0xd517('0x10')][_0xd517('0x11')][_0xd517('0x15')]('TrackChangesEditing'),_0x210861=this[_0xd517('0x10')][_0xd517('0x24')][_0xd517('0x2f')](_0x3f7a1c),_0x149ca=this['editor'][_0xd517('0x24')][_0xd517('0x2f')](_0x4a2c19),_0x27e4f=new Set(),_0x47a310=new Set();for(const _0x283bc2 of _0x38ec4f[_0xd517('0x45')]())if((_0xd517('0xc')==_0x283bc2[_0xd517('0x8')]||_0xd517('0x13')==_0x283bc2['type']||_0xd517('0x19')==_0x283bc2[_0xd517('0x31')])&&_0x283bc2[_0xd517('0x1b')])for(const _0x43cd46 of _0x283bc2[_0xd517('0x33')]())_0x43cd46[_0xd517('0x3')](_0x210861,!0x0)&&_0x27e4f[_0xd517('0x38')](_0x283bc2['type']+':'+_0x283bc2[_0xd517('0x2')]['id']),_0x43cd46[_0xd517('0x3')](_0x149ca,!0x0)&&_0x47a310['add'](_0x283bc2[_0xd517('0x8')]+':'+_0x283bc2[_0xd517('0x2')]['id']);if(_0x27e4f['size']!=_0x47a310[_0xd517('0x3d')])return!0x1;for(const _0x16313d of _0x27e4f)if(!_0x47a310[_0xd517('0x41')](_0x16313d))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfdf3=['registerElementLabel','plugins','commands','TrackChangesEditing','enableCommand','_descriptionFactory','get','ELEMENT_TABLE_OF_CONTENTS','locale','editor','afterInit'];(function(_0xedbc37,_0xfdf31b){const _0x51729a=function(_0x216244){while(--_0x216244){_0xedbc37['push'](_0xedbc37['shift']());}};_0x51729a(++_0xfdf31b);}(_0xfdf3,0xa2));const _0x5172=function(_0xedbc37,_0xfdf31b){_0xedbc37=_0xedbc37-0x0;let _0x51729a=_0xfdf3[_0xedbc37];return _0x51729a;};import{Plugin as _0x3b60df}from'ckeditor5/src/core';import{getTranslation as _0x357eca}from'../utils/common-translations';export default class Ct extends _0x3b60df{[_0x5172('0x2')](){const _0x4cb39c=this[_0x5172('0x1')];if(!_0x4cb39c[_0x5172('0x5')][_0x5172('0x9')]('insertTableOfContents'))return;_0x4cb39c['plugins'][_0x5172('0x9')](_0x5172('0x6'))[_0x5172('0x7')]('insertTableOfContents');const _0x17b2be=_0x4cb39c[_0x5172('0x4')][_0x5172('0x9')](_0x5172('0x6')),_0x235a28=_0x4cb39c[_0x5172('0x0')];_0x17b2be[_0x5172('0x8')][_0x5172('0x3')]('tableOfContents',_0x544e0b=>_0x357eca(_0x235a28,_0x5172('0xa'),_0x544e0b));}}
23
+ const _0x1b7a=['get','editor','commands','afterInit','insertTableOfContents','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','tableOfContents','plugins'];(function(_0xf1d40f,_0x1b7a86){const _0x375787=function(_0x40e9f9){while(--_0x40e9f9){_0xf1d40f['push'](_0xf1d40f['shift']());}};_0x375787(++_0x1b7a86);}(_0x1b7a,0xa3));const _0x3757=function(_0xf1d40f,_0x1b7a86){_0xf1d40f=_0xf1d40f-0x0;let _0x375787=_0x1b7a[_0xf1d40f];return _0x375787;};import{Plugin as _0x246f92}from'ckeditor5/src/core';import{getTranslation as _0x15cdcc}from'../utils/common-translations';export default class Ct extends _0x246f92{[_0x3757('0x2')](){const _0x566e56=this[_0x3757('0x0')];if(!_0x566e56[_0x3757('0x1')]['get']('insertTableOfContents'))return;_0x566e56['plugins'][_0x3757('0x8')](_0x3757('0x4'))['enableCommand'](_0x3757('0x3'));const _0x521b12=_0x566e56[_0x3757('0x7')][_0x3757('0x8')](_0x3757('0x4')),_0x36cf4c=_0x566e56['locale'];_0x521b12['_descriptionFactory']['registerElementLabel'](_0x3757('0x6'),_0x27abb7=>_0x15cdcc(_0x36cf4c,_0x3757('0x5'),_0x27abb7));}}