@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231206.0 → 0.0.0-nightly-20231207.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 _0x263d=['_registerLegacyDescription','*Set\x20format:*\x20%0','*Remove\x20format:*\x20%0','forceValue','editor','format','has','normalizeConfig','_registerBlockAttribute','ghsAttributes','StyleUtils','commandParams','registerDescriptionCallback','_registerInlineAttribute','get','FORMAT_STYLE','toLowerCase','GeneralHtmlSupport','locale','_descriptionFactory','style','type','plugins','styleName','getGhsAttributeNameForElement','inline','TrackChangesEditing','config','formatInline','commandName','_enableDefaultAttributesIntegration','add','registerAttributeLabel','block','definitions'];(function(_0x4cd614,_0x263d21){const _0x53ae4b=function(_0x59e4c3){while(--_0x59e4c3){_0x4cd614['push'](_0x4cd614['shift']());}};_0x53ae4b(++_0x263d21);}(_0x263d,0x1a7));const _0x53ae=function(_0x4cd614,_0x263d21){_0x4cd614=_0x4cd614-0x0;let _0x53ae4b=_0x263d[_0x4cd614];return _0x53ae4b;};import{Plugin as _0x3fc098}from'ckeditor5/src/core';import{getTranslation as _0x18fdde}from'../utils/common-translations';export default class bt extends _0x3fc098{['afterInit'](){const _0x199621=this[_0x53ae('0x1')];if(!_0x199621[_0x53ae('0x13')][_0x53ae('0x3')]('Style')||!_0x199621[_0x53ae('0x13')]['has']('DataSchema'))return;const _0x1aa68c=_0x199621['plugins']['get'](_0x53ae('0x17')),_0x2f649a=_0x199621[_0x53ae('0xf')],_0x1877c0=_0x199621[_0x53ae('0x18')]['get']('style'),_0x318896=_0x199621[_0x53ae('0x13')][_0x53ae('0xb')](_0x53ae('0xe')),_0x5247f3=_0x199621[_0x53ae('0x13')][_0x53ae('0xb')](_0x53ae('0x7'))[_0x53ae('0x4')](_0x199621[_0x53ae('0x13')]['get']('DataSchema'),_0x1877c0[_0x53ae('0x1f')]);_0x1aa68c[_0x53ae('0x1b')]('style');const _0x2a4fe4=new Set();for(const _0xa02381 of _0x5247f3[_0x53ae('0x1e')]){const _0xa873a9=_0x318896[_0x53ae('0x15')](_0xa02381['element']);_0x2a4fe4[_0x53ae('0x1c')](_0xa873a9);}const _0x1ff0fd=new Set();for(const _0x542b70 of _0x5247f3[_0x53ae('0x16')]){const _0x582c76=_0x318896[_0x53ae('0x15')](_0x542b70['element']);_0x1ff0fd[_0x53ae('0x1c')](_0x582c76);for(const _0x3fdc8d of _0x542b70[_0x53ae('0x6')])_0x1ff0fd[_0x53ae('0x1c')](_0x3fdc8d);}for(const _0x25e97a of _0x2a4fe4)_0x1aa68c[_0x53ae('0x5')](_0x25e97a),_0x1aa68c[_0x53ae('0x10')][_0x53ae('0x1d')](_0x25e97a,_0x18fdde(_0x2f649a,_0x53ae('0xc')));for(const _0x2b1977 of _0x1ff0fd)_0x1aa68c[_0x53ae('0xa')](_0x2b1977),_0x1aa68c['_descriptionFactory'][_0x53ae('0x1d')](_0x2b1977,_0x18fdde(_0x2f649a,'FORMAT_STYLE'));this['_registerLegacyDescription']();}[_0x53ae('0x20')](){const _0x4e6041=this[_0x53ae('0x1')],_0x53900d=_0x4e6041[_0x53ae('0xf')];_0x4e6041[_0x53ae('0x13')][_0x53ae('0xb')](_0x53ae('0x17'))[_0x53ae('0x10')][_0x53ae('0x9')](_0x5928c6=>{if('formatBlock'!=_0x5928c6['type']&&_0x53ae('0x19')!=_0x5928c6[_0x53ae('0x12')])return;const {data:_0x206816}=_0x5928c6;return _0x206816&&_0x53ae('0x11')===_0x206816[_0x53ae('0x1a')]?_0x206816[_0x53ae('0x8')][0x0][_0x53ae('0x0')]?{'type':_0x53ae('0x2'),'content':_0x18fdde(_0x53900d,_0x53ae('0x21'),_0x206816[_0x53ae('0x8')][0x0][_0x53ae('0x14')][_0x53ae('0xd')]())}:{'type':_0x53ae('0x2'),'content':_0x18fdde(_0x53900d,_0x53ae('0x22'),_0x206816[_0x53ae('0x8')][0x0][_0x53ae('0x14')][_0x53ae('0xd')]())}: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 _0x4fd1=['has','subType','registerElementLabel','registerCustomCallback','tableRow','getChangedMarkers','selection','some','removeTableRow','plugins','mapper','get','MAX_SAFE_INTEGER','rootName','toViewElement','root','options','ELEMENT_TABLE_ROW_WITH_TEXT','addClass','values','document','isInContent','colspan','refresh','getItems','last','substr','change','type','toLowerCase','removeTableColumn','$graveyard','cell','insertTableRowBelow','selectTableColumn','insert','getCellLocation','nodeBefore','name','change:data','tableColumn','isTouching','registerPostFixer','_getSuggestionCoords','model','differ','from','_descriptionFactory','fromRange','tableCell','registerDescriptionCallback','createTableWalker','getColumnIndexes','removeClass','element','maxColumn','includes','createPositionAt','map','_tableSuggestions','editor','ELEMENT_TABLE_WITH_TEXT','table','order','start','oldRange','getChanges','first','findAncestor','rowspan','highest','addRange','markMultiRangeInsertion','span','_suggestionFactory','suggestion','_getCoordsForCells','isIntersectingWithRange','TableUtils','forceValue','_splitMarkerName','discard','_setupColumnsRowsFixing','TableEditing','tablePaste','execute','data','MIN_SAFE_INTEGER','$textProxy','_acceptFormatSuggestionCallbackFactory','enqueueChange','nodeAfter','isArray','join','left','getSelectionAffectedTableCells','max','insertTableColumnLeft','length','filter','detach','accept','maxRow','createRangeOn','createRangeIn','writer','every','minRow','enableCommand','insertTableRowAbove','_tablePostFixingSubtypes','above','getAttribute','locale','ELEMENT_TABLE_COLUMN_WITH_TEXT','ELEMENT_TABLE_COLUMN','hasAttribute','getFirstRange','getChildren','getRowIndexes','TrackChangesEditing','*Insert:*\x20%0','getRanges','commands','*Remove:*\x20%0','deletion','isEqual','end','setSelection','addMarker:suggestion','item','getSuggestion','classes','markMultiRangeDeletion','insertTableColumnRight','ELEMENT_TABLE_ROW','insertion'];(function(_0x302fe4,_0x4fd1db){const _0x507608=function(_0xb315c9){while(--_0xb315c9){_0x302fe4['push'](_0x302fe4['shift']());}};_0x507608(++_0x4fd1db);}(_0x4fd1,0x12e));const _0x5076=function(_0x302fe4,_0x4fd1db){_0x302fe4=_0x302fe4-0x0;let _0x507608=_0x4fd1[_0x302fe4];return _0x507608;};import{Plugin as _0x58eec9}from'ckeditor5/src/core';import{LiveRange as _0x187abe}from'ckeditor5/src/engine';import{setHighlightHandling as _0x571d9b}from'ckeditor5/src/widget';import{getTranslation as _0x4a70e5}from'../utils/common-translations';export default class wt extends _0x58eec9{constructor(_0x5160c4){super(_0x5160c4),this['_tablePostFixingSubtypes']=['tableRow',_0x5076('0xc')],this[_0x5076('0x1f')]=new Set();}['afterInit'](){const _0x2299a2=this[_0x5076('0x20')],_0x200bf1=_0x2299a2[_0x5076('0x10')][_0x5076('0x81')][_0x5076('0x73')];if(!_0x2299a2[_0x5076('0x76')][_0x5076('0x6d')](_0x5076('0x37')))return;const _0x1255fb=_0x2299a2[_0x5076('0x55')],_0x4b0edb=_0x2299a2['plugins'][_0x5076('0x78')](_0x5076('0x5c')),_0x20d4d6=_0x2299a2[_0x5076('0x76')][_0x5076('0x78')](_0x5076('0x32'));_0x4b0edb[_0x5076('0x13')][_0x5076('0x6f')](_0x5076('0x22'),_0x1b6979=>_0x4a70e5(_0x1255fb,'ELEMENT_TABLE',_0x1b6979)),this[_0x5076('0x36')](),_0x4b0edb[_0x5076('0x50')]('insertTable'),_0x4b0edb['enableCommand']('selectTableRow'),_0x4b0edb[_0x5076('0x50')](_0x5076('0x6'));for(const _0x3084f8 of[_0x5076('0x51'),_0x5076('0x5')]){const _0x358699=_0x2299a2[_0x5076('0x5f')]['get'](_0x3084f8);_0x4b0edb['enableCommand'](_0x3084f8,_0x263223=>{_0x2299a2[_0x5076('0x10')]['change'](_0x20c612=>{_0x263223();const _0x589f63=_0x5076('0x53')===_0x358699['order'],_0x9767ae=_0x20d4d6[_0x5076('0x43')](_0x200bf1),_0x15ee5f=_0x20d4d6['getRowIndexes'](_0x9767ae),_0x4a3071=_0x589f63?_0x15ee5f[_0x5076('0x27')]-0x1:_0x15ee5f['last']+0x1,_0x438ea3=_0x9767ae[0x0][_0x5076('0x28')](_0x5076('0x22')),_0x37f3f0=_0x20d4d6[_0x5076('0x17')](_0x438ea3,{'startRow':_0x4a3071,'endRow':_0x4a3071}),_0x4f85bf=Array[_0x5076('0x12')](_0x37f3f0)[_0x5076('0x1e')](_0x504e9a=>_0x20c612[_0x5076('0x4b')](_0x504e9a[_0x5076('0x4')]));_0x4b0edb[_0x5076('0x2c')](_0x4f85bf,_0x5076('0x71'));});});}for(const _0x3e46f5 of[_0x5076('0x45'),_0x5076('0x6a')]){const _0x4bc6ff=_0x2299a2[_0x5076('0x5f')][_0x5076('0x78')](_0x3e46f5);_0x4b0edb['enableCommand'](_0x3e46f5,_0x11e4a7=>{_0x2299a2['model'][_0x5076('0x88')](_0x42de54=>{_0x11e4a7();const _0x359b01=_0x5076('0x42')===_0x4bc6ff[_0x5076('0x23')],_0xd2eca6=_0x20d4d6[_0x5076('0x43')](_0x200bf1),_0x2fea31=_0x20d4d6[_0x5076('0x18')](_0xd2eca6),_0x362efc=_0x359b01?_0x2fea31[_0x5076('0x27')]-0x1:_0x2fea31[_0x5076('0x86')]+0x1,_0x9b28a2=_0xd2eca6[0x0][_0x5076('0x28')]('table'),_0x2f0d4a=_0x20d4d6[_0x5076('0x17')](_0x9b28a2,{'startRow':0x0,'column':_0x362efc,'includeAllSlots':!0x1}),_0x8d4d72=Array[_0x5076('0x12')](_0x2f0d4a)['map'](_0x1a8ef1=>_0x42de54[_0x5076('0x4b')](_0x1a8ef1[_0x5076('0x4')]));_0x4b0edb[_0x5076('0x2c')](_0x8d4d72,_0x5076('0xc'));});});}for(const _0x27461c of['removeTableRow',_0x5076('0x2')]){const _0x20d48c=_0x27461c[_0x5076('0x87')](0xb),_0x29e689=_0x20d48c[_0x5076('0x1')](),_0x1a29f0=_0x29e689['substr'](0x0,0x3)+_0x5076('0x2d'),_0xc25ca4=_0x5076('0x22')+_0x20d48c,_0x286912='min'+_0x20d48c,_0x715e66='max'+_0x20d48c;_0x4b0edb[_0x5076('0x50')](_0x27461c,()=>{_0x2299a2['model'][_0x5076('0x88')](_0x1b80e2=>{const _0x59d78a=_0x20d4d6[_0x5076('0x43')](_0x200bf1),_0x2d4133=_0x59d78a[0x0][_0x5076('0x28')]('table');let _0x36d5e2;if(_0x5076('0x75')==_0x27461c){const _0x272723=_0x20d4d6[_0x5076('0x5b')](_0x59d78a);_0x36d5e2={'startRow':_0x272723[_0x5076('0x27')],'endRow':_0x272723[_0x5076('0x86')],'includeAllSlots':!0x0};}else{const _0x481b91=_0x20d4d6['getColumnIndexes'](_0x59d78a);_0x36d5e2={'startColumn':_0x481b91[_0x5076('0x27')],'endColumn':_0x481b91[_0x5076('0x86')],'includeAllSlots':!0x0};}const _0x5cc61d=_0x20d4d6['createTableWalker'](_0x2d4133,_0x36d5e2),_0x2e79d9=Array[_0x5076('0x12')](_0x5cc61d)[_0x5076('0x1e')](({cell:_0x58daa0})=>_0x58daa0),_0x1c8cae=se(_0x2e79d9[_0x5076('0x47')](_0xa74811=>_0xa74811[_0x5076('0x58')](_0x1a29f0))),_0x2003b4=se(_0x2e79d9[_0x5076('0x47')](_0x3929a4=>!_0x3929a4[_0x5076('0x58')](_0x1a29f0)))[_0x5076('0x1e')](_0x16bc18=>_0x1b80e2[_0x5076('0x4b')](_0x16bc18)),_0x396e7c=_0x4b0edb[_0x5076('0x69')](_0x2003b4,_0xc25ca4);if(_0x396e7c&&(_0x5076('0x71')==_0x396e7c['subType']||_0x5076('0xc')==_0x396e7c['subType'])){const _0x22d119=this['_getSuggestionCoords'](_0x396e7c);for(const _0x340a25 of _0x1c8cae){const _0x3a208a=_0x1b80e2[_0x5076('0x4b')](_0x340a25),_0xb7b4d5=_0x20d4d6[_0x5076('0x8')](_0x340a25),_0x3cc7e0=_0x340a25['getAttribute'](_0x1a29f0)-0x1,_0x23e260=_0x22d119[_0x286912],_0xbd35b6=_0x22d119[_0x715e66];_0x23e260<=_0xb7b4d5[_0x29e689]&&_0xb7b4d5[_0x29e689]+_0x3cc7e0<=_0xbd35b6&&_0x396e7c[_0x5076('0x2b')](_0x3a208a);}}});});}function _0xf6366e(_0x509ddf){const _0x1f9fe1=Array['from'](_0x200bf1[_0x5076('0x5e')]())[_0x5076('0x1e')](_0x23989d=>_0x187abe[_0x5076('0x14')](_0x23989d));_0x2299a2['model'][_0x5076('0x88')](_0x1566db=>{const _0x536921=_0x1566db['batch'];_0x509ddf=_0x509ddf[_0x5076('0x47')](_0x19683c=>_0x5076('0x3')!=_0x19683c[_0x5076('0x7c')]['rootName']),_0x1566db['setSelection'](_0x509ddf),_0x2299a2[_0x5076('0x5f')][_0x5076('0x78')](_0x5076('0x75'))[_0x5076('0x84')](),_0x2299a2[_0x5076('0x39')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2299a2[_0x5076('0x10')][_0x5076('0x3e')](()=>{_0x2299a2[_0x5076('0x10')][_0x5076('0x3e')](_0x536921,_0x578124=>{const _0x2c85c2=_0x1f9fe1['filter'](_0x1d4658=>_0x5076('0x3')!=_0x1d4658[_0x5076('0x7c')][_0x5076('0x7a')]);_0x2c85c2[_0x5076('0x46')]>0x0&&_0x578124[_0x5076('0x64')](_0x2c85c2);for(const _0x59204f of _0x1f9fe1)_0x59204f[_0x5076('0x48')]();});});});}function _0x1552e1(_0x61766a){_0x2299a2[_0x5076('0x10')]['change'](_0x470aa3=>{const _0x35f335=Array['from'](_0x200bf1[_0x5076('0x5e')]())[_0x5076('0x1e')](_0x376481=>_0x187abe[_0x5076('0x14')](_0x376481)),_0x55a620=[];for(const _0x1e7b1d of _0x61766a)for(const _0xc16f38 of _0x1e7b1d['getItems']({'shallow':!0x0}))_0x55a620['push'](_0xc16f38);for(const _0x2e5659 of _0x55a620)_0x5076('0x3')!=_0x2e5659[_0x5076('0x7c')][_0x5076('0x7a')]&&(_0x470aa3[_0x5076('0x64')](_0x470aa3[_0x5076('0x1d')](_0x2e5659,0x0)),_0x2299a2[_0x5076('0x5f')]['get'](_0x5076('0x2'))[_0x5076('0x84')](),_0x2299a2['execute'](_0x5076('0x2'),{'forceDefaultExecution':!0x0}));const _0x3c5a42=_0x35f335[_0x5076('0x47')](_0x21ec5a=>'$graveyard'!=_0x21ec5a['root'][_0x5076('0x7a')]);_0x3c5a42[_0x5076('0x46')]>0x0&&_0x470aa3[_0x5076('0x64')](_0x3c5a42);for(const _0x459fc8 of _0x35f335)_0x459fc8[_0x5076('0x48')]();});}function _0xd24f97(_0x19c850,_0x445081){return _0x445081[_0x5076('0x4e')](_0x315f70=>_0x19c850[_0x5076('0x74')](_0x5939c7=>_0x5939c7[_0x5076('0x63')][_0x5076('0x62')](_0x315f70[_0x5076('0x24')])||_0x315f70['end'][_0x5076('0x62')](_0x5939c7[_0x5076('0x24')])));}function _0x3eb459(_0x2a334b,_0x27a0e0){return _0x2a334b[_0x5076('0x74')](_0x4c9882=>_0x27a0e0[_0x5076('0x74')](_0x2d2327=>_0x4c9882[_0x5076('0x63')][_0x5076('0xd')](_0x2d2327[_0x5076('0x24')])));}_0x2299a2[_0x5076('0x3a')]['downcastDispatcher']['on'](_0x5076('0x65'),(_0x529040,_0x43bc0f,_0x1fed23)=>{if(!_0x1fed23[_0x5076('0x7d')]['showSuggestionHighlights'])return;const _0x2d1cfb=_0x43bc0f[_0x5076('0x66')];if(!_0x2d1cfb)return;const _0x24dee4=_0x1fed23[_0x5076('0x77')][_0x5076('0x7b')](_0x2d1cfb);function _0x2751fa(_0x91890){return Array[_0x5076('0x40')](_0x91890)?_0x91890:[_0x91890];}_0x24dee4&&_0x5076('0x15')===_0x2d1cfb[_0x5076('0xa')]&&_0x571d9b(_0x24dee4,_0x1fed23[_0x5076('0x4d')],(_0x4c3f5a,_0x50020d,_0x448953)=>_0x448953[_0x5076('0x7f')](_0x2751fa(_0x50020d[_0x5076('0x68')]),_0x4c3f5a),(_0x44b5dd,_0x5b90b4,_0x1b8122)=>_0x1b8122[_0x5076('0x19')](_0x2751fa(_0x5b90b4[_0x5076('0x68')]),_0x44b5dd));},{'priority':_0x5076('0x2a')}),_0x4b0edb[_0x5076('0x13')][_0x5076('0x16')](_0x812dfd=>{if('insertion'!=_0x812dfd[_0x5076('0x0')]&&_0x5076('0x61')!=_0x812dfd['type'])return;const _0x45fcd0=_0x812dfd['getContainedElement']();if(null!=_0x45fcd0&&_0x45fcd0['is'](_0x5076('0x1a'),'table')){if(_0x5076('0x6c')==_0x812dfd[_0x5076('0x0')]){const _0x2ac9ef=_0x812dfd[_0x5076('0x85')]()[_0x5076('0x47')](_0x239fc1=>_0x239fc1['is'](_0x5076('0x3c')))['map'](_0x87f2cb=>_0x87f2cb[_0x5076('0x3a')]);if(_0x2ac9ef[_0x5076('0x46')])return{'type':'insertion','content':_0x4a70e5(_0x1255fb,_0x5076('0x5d'),_0x4a70e5(_0x1255fb,_0x5076('0x21'),'\x22'+_0x2ac9ef['join']('\x20')+'\x22'))};}if(_0x5076('0x61')==_0x812dfd[_0x5076('0x0')]){const _0x18c26d=_0x812dfd[_0x5076('0x85')]()[_0x5076('0x47')](_0x577328=>_0x577328['is']('$textProxy'))[_0x5076('0x1e')](_0x25ce5c=>_0x25ce5c['data']);if(_0x18c26d[_0x5076('0x46')])return{'type':_0x5076('0x61'),'content':_0x4a70e5(_0x1255fb,'*Remove:*\x20%0',_0x4a70e5(_0x1255fb,_0x5076('0x21'),'\x22'+_0x18c26d[_0x5076('0x41')]('\x20')+'\x22'))};}}}),_0x4b0edb['_descriptionFactory'][_0x5076('0x16')](_0x78beca=>{if(_0x5076('0x71')==_0x78beca[_0x5076('0x6e')]){const _0x4180e0=_0x78beca[_0x5076('0x85')]()[_0x5076('0x47')](_0x1ad391=>_0x1ad391['is']('$textProxy'))[_0x5076('0x1e')](_0x2df006=>_0x2df006[_0x5076('0x3a')]),_0x48610d=this[_0x5076('0xf')](_0x78beca),_0x285a29=_0x48610d[_0x5076('0x4a')]-_0x48610d[_0x5076('0x4f')]+0x1;if('insertion'==_0x78beca[_0x5076('0x0')])return _0x4180e0[_0x5076('0x46')]?{'type':_0x5076('0x6c'),'content':_0x4a70e5(_0x1255fb,_0x5076('0x5d'),_0x4a70e5(_0x1255fb,_0x5076('0x7e'),[_0x285a29,'\x22'+_0x4180e0[_0x5076('0x41')]('\x20')+'\x22']))}:{'type':_0x5076('0x6c'),'content':_0x4a70e5(_0x1255fb,'*Insert:*\x20%0',_0x4a70e5(_0x1255fb,_0x5076('0x6b'),_0x285a29))};if('deletion'==_0x78beca[_0x5076('0x0')])return _0x4180e0[_0x5076('0x46')]?{'type':'deletion','content':_0x4a70e5(_0x1255fb,'*Remove:*\x20%0',_0x4a70e5(_0x1255fb,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x285a29,'\x22'+_0x4180e0[_0x5076('0x41')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x4a70e5(_0x1255fb,_0x5076('0x60'),_0x4a70e5(_0x1255fb,_0x5076('0x6b'),_0x285a29))};}if(_0x5076('0xc')==_0x78beca['subType']){const _0x5cb64d=_0x78beca[_0x5076('0x85')]()[_0x5076('0x47')](_0x4056b4=>_0x4056b4['is'](_0x5076('0x3c')))[_0x5076('0x1e')](_0xaa029=>_0xaa029[_0x5076('0x3a')]),_0x9f0911=this['_getSuggestionCoords'](_0x78beca),_0x125d88=_0x9f0911[_0x5076('0x1b')]-_0x9f0911['minColumn']+0x1;if(_0x5076('0x6c')==_0x78beca[_0x5076('0x0')])return _0x5cb64d[_0x5076('0x46')]?{'type':_0x5076('0x6c'),'content':_0x4a70e5(_0x1255fb,_0x5076('0x5d'),_0x4a70e5(_0x1255fb,_0x5076('0x56'),[_0x125d88,'\x22'+_0x5cb64d['join']('\x20')+'\x22']))}:{'type':_0x5076('0x6c'),'content':_0x4a70e5(_0x1255fb,_0x5076('0x5d'),_0x4a70e5(_0x1255fb,_0x5076('0x57'),_0x125d88))};if(_0x5076('0x61')==_0x78beca['type'])return _0x5cb64d[_0x5076('0x46')]?{'type':_0x5076('0x61'),'content':_0x4a70e5(_0x1255fb,'*Remove:*\x20%0',_0x4a70e5(_0x1255fb,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x125d88,'\x22'+_0x5cb64d['join']('\x20')+'\x22']))}:{'type':_0x5076('0x61'),'content':_0x4a70e5(_0x1255fb,_0x5076('0x60'),_0x4a70e5(_0x1255fb,_0x5076('0x57'),_0x125d88))};}}),_0x4b0edb[_0x5076('0x2e')]['registerCustomCallback'](_0x5076('0x6c'),'tableRow',_0x5076('0x35'),_0xf6366e),_0x4b0edb[_0x5076('0x2e')][_0x5076('0x70')](_0x5076('0x61'),_0x5076('0x71'),_0x5076('0x49'),_0xf6366e),_0x4b0edb['_suggestionFactory'][_0x5076('0x70')](_0x5076('0x6c'),_0x5076('0xc'),_0x5076('0x35'),_0x1552e1),_0x4b0edb[_0x5076('0x2e')]['registerCustomCallback'](_0x5076('0x61'),'tableColumn',_0x5076('0x49'),_0x1552e1),_0x4b0edb[_0x5076('0x2e')]['registerCustomCallback'](_0x5076('0x6c'),_0x5076('0xc'),'join',_0xd24f97),_0x4b0edb[_0x5076('0x2e')][_0x5076('0x70')](_0x5076('0x61'),_0x5076('0xc'),_0x5076('0x41'),_0xd24f97),_0x4b0edb[_0x5076('0x2e')]['registerCustomCallback'](_0x5076('0x6c'),_0x5076('0x71'),_0x5076('0x41'),_0x3eb459),_0x4b0edb[_0x5076('0x2e')][_0x5076('0x70')](_0x5076('0x61'),_0x5076('0x71'),_0x5076('0x41'),_0x3eb459);}[_0x5076('0x3d')](){const _0x4ef5d5=this[_0x5076('0x20')],_0x56741a=_0x4ef5d5[_0x5076('0x10')][_0x5076('0x81')][_0x5076('0x73')];return(_0x332780,_0xbd803f)=>{_0x4ef5d5['model'][_0x5076('0x88')](_0x2a3b40=>{const {commandName:_0x328098,commandParams:_0x36e933}=_0xbd803f;let _0x137bc3=_0x332780[0x0][_0x5076('0x63')][_0x5076('0x9')];_0x36e933&&_0x36e933[0x0]&&!0x1===_0x36e933[0x0][_0x5076('0x33')]&&(_0x137bc3=_0x332780[0x0][_0x5076('0x24')][_0x5076('0x3f')]);const _0x4664ce=_0x2a3b40[_0x5076('0x4c')](_0x137bc3);if('$graveyard'==_0x4664ce[_0x5076('0x7c')][_0x5076('0x7a')])return;const _0x34476f=Array[_0x5076('0x12')](_0x56741a['getRanges']())[_0x5076('0x1e')](_0x52ae58=>_0x187abe['fromRange'](_0x52ae58));_0x2a3b40[_0x5076('0x64')](_0x4664ce),_0x4ef5d5[_0x5076('0x5f')]['get'](_0x328098)['refresh'](),_0x36e933['push']({'forceDefaultExecution':!0x0}),_0x4ef5d5['execute'](_0x328098,..._0x36e933);const _0x297946=_0x34476f[_0x5076('0x47')](_0x40b98c=>'$graveyard'!=_0x40b98c[_0x5076('0x7c')][_0x5076('0x7a')]);_0x297946[_0x5076('0x46')]>0x0&&_0x2a3b40[_0x5076('0x64')](_0x297946);for(const _0x9078a2 of _0x34476f)_0x9078a2[_0x5076('0x48')]();});};}[_0x5076('0x30')](_0x8d4b30){const _0x428953=this[_0x5076('0x20')][_0x5076('0x76')]['get']('TableUtils');let _0x3314be=Number[_0x5076('0x79')],_0x16ffaf=Number[_0x5076('0x3b')],_0x5df434=Number[_0x5076('0x79')],_0x308554=Number[_0x5076('0x3b')];for(const _0x709fec of _0x8d4b30){if(_0x5076('0x3')==_0x709fec[_0x5076('0x7c')][_0x5076('0x7a')])continue;const {row:_0x152559,column:_0x197ba2}=_0x428953[_0x5076('0x8')](_0x709fec),_0x361b00=_0x709fec['hasAttribute'](_0x5076('0x29'))?_0x709fec['getAttribute']('rowspan')-0x1:0x0,_0x23acba=_0x709fec[_0x5076('0x58')](_0x5076('0x83'))?_0x709fec[_0x5076('0x54')](_0x5076('0x83'))-0x1:0x0;_0x3314be=_0x152559<_0x3314be?_0x152559:_0x3314be,_0x16ffaf=_0x152559+_0x361b00>_0x16ffaf?_0x152559+_0x361b00:_0x16ffaf,_0x5df434=_0x197ba2<_0x5df434?_0x197ba2:_0x5df434,_0x308554=_0x197ba2+_0x23acba>_0x308554?_0x197ba2+_0x23acba:_0x308554;}return{'minRow':_0x3314be,'maxRow':_0x16ffaf,'minColumn':_0x5df434,'maxColumn':_0x308554};}['_setupColumnsRowsFixing'](){const _0x154583=this[_0x5076('0x20')],_0x44078b=_0x154583[_0x5076('0x76')][_0x5076('0x78')](_0x5076('0x5c')),_0x3939ca=_0x154583[_0x5076('0x76')]['get'](_0x5076('0x32'));_0x154583[_0x5076('0x10')][_0x5076('0x81')]['on'](_0x5076('0xb'),()=>{const _0x11b566=Array[_0x5076('0x12')](_0x154583['model'][_0x5076('0x81')]['differ'][_0x5076('0x72')]());for(const {name:_0x2263ca,data:_0x2d3c4a}of _0x11b566){const {group:_0x35f296,id:_0x1ce3c3,subType:_0x267334}=_0x44078b[_0x5076('0x34')](_0x2263ca);if(_0x5076('0x2f')!=_0x35f296)continue;if(null!=_0x2d3c4a[_0x5076('0x25')])continue;const _0x52adb2=_0x44078b[_0x5076('0x67')](_0x1ce3c3);this[_0x5076('0x52')][_0x5076('0x1c')](_0x267334)&&this[_0x5076('0x1f')]['add'](_0x52adb2);}},{'priority':'low'});const _0x4c305e=(_0x4d7a50,_0x54867c)=>{let _0x4dd32a=!0x1;const _0x772d0e=_0x54867c[_0x5076('0x4b')](_0x4d7a50),_0x1b76b3=_0x4d7a50[_0x5076('0x28')](_0x5076('0x22')),_0x3f9296=_0x3939ca[_0x5076('0x8')](_0x4d7a50);for(const _0x4e3f38 of this[_0x5076('0x1f')]){const _0x46d56f=_0x4e3f38[_0x5076('0x6e')],_0x4ee39d=_0x46d56f['startsWith'](_0x5076('0x38')),_0x54833d=_0x46d56f[_0x5076('0x87')](_0x4ee39d?0xa:0x5),_0x478f05=_0x54833d['toLowerCase'](),_0x256b65=_0x478f05[_0x5076('0x87')](0x0,0x3)+'span',_0x1ddc46='min'+_0x54833d,_0x1e6e71=_0x5076('0x44')+_0x54833d;if(!_0x4e3f38[_0x5076('0x82')])continue;if(_0x1b76b3!=_0x4e3f38[_0x5076('0x59')]()[_0x5076('0x24')][_0x5076('0x28')](_0x5076('0x22')))continue;if(_0x4e3f38[_0x5076('0x31')](_0x772d0e))continue;const _0x5eec14=_0x4d7a50[_0x5076('0x58')](_0x256b65)?_0x4d7a50[_0x5076('0x54')](_0x256b65)-0x1:0x0,_0x4489af=this[_0x5076('0xf')](_0x4e3f38),_0x1528a3=_0x4489af[_0x1ddc46],_0x7041=_0x4489af[_0x1e6e71];_0x1528a3<=_0x3f9296[_0x478f05]&&_0x3f9296[_0x478f05]+_0x5eec14<=_0x7041&&(_0x4e3f38[_0x5076('0x2b')](_0x772d0e),_0x4dd32a=!0x0);}return _0x4dd32a;};_0x154583[_0x5076('0x10')][_0x5076('0x81')][_0x5076('0xe')](_0xf582ff=>{let _0x395d1b=!0x1;for(const _0x240229 of _0x154583[_0x5076('0x10')][_0x5076('0x81')][_0x5076('0x11')][_0x5076('0x26')]())if(_0x5076('0x7')==_0x240229[_0x5076('0x0')]){if(_0x5076('0x71')==_0x240229[_0x5076('0xa')])for(const _0x404a13 of _0x240229['position'][_0x5076('0x3f')][_0x5076('0x5a')]())_0x395d1b=_0x395d1b||_0x4c305e(_0x404a13,_0xf582ff);else'tableCell'==_0x240229[_0x5076('0xa')]&&(_0x395d1b=_0x395d1b||_0x4c305e(_0x240229['position'][_0x5076('0x3f')],_0xf582ff));}return _0x395d1b;});}[_0x5076('0xf')](_0x481315){return this[_0x5076('0x30')](_0x481315[_0x5076('0x5e')]()[_0x5076('0x1e')](_0x1baa58=>_0x1baa58[_0x5076('0x24')][_0x5076('0x3f')]));}}function se(_0x44a0d0){return Array[_0x5076('0x12')](new Set(_0x44a0d0)[_0x5076('0x80')]());}
@@ -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 _0x27d8=['TableCaptionEditing','get','editor','requires','TrackChangesEditing','plugins','enableCommand','has'];(function(_0x2cb3db,_0x27d8e8){const _0x146e7e=function(_0x272376){while(--_0x272376){_0x2cb3db['push'](_0x2cb3db['shift']());}};_0x146e7e(++_0x27d8e8);}(_0x27d8,0x11f));const _0x146e=function(_0x2cb3db,_0x27d8e8){_0x2cb3db=_0x2cb3db-0x0;let _0x146e7e=_0x27d8[_0x2cb3db];return _0x146e7e;};import{Plugin as _0x4ab4d9}from'ckeditor5/src/core';import _0x98eb01 from'./table';export default class Nt extends _0x4ab4d9{static get[_0x146e('0x4')](){return[_0x98eb01];}['afterInit'](){const _0x22790a=this[_0x146e('0x3')];if(!_0x22790a[_0x146e('0x6')][_0x146e('0x0')](_0x146e('0x1')))return;_0x22790a['plugins'][_0x146e('0x2')](_0x146e('0x5'))[_0x146e('0x7')]('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 _0x45d6=['afterInit','rowInsertionIndexes','deletion','some','createElement','getRanges','rows','paragraph','getChangedMarkers','removeMarker','tablePasteChainId','return','name','first','schema','unwrap','suggestion','getColumns','deletionRanges','*Replace\x20table\x20cells*','plugins','suggestion:formatBlock:tablePasteCell','startsWith','forceDefaultExecution','tableCellHorizontalAlignment','removeColumns','activeMarkers','subType','insertRows','tableCellPadding','high','ck-suggestion-marker','differ','Users','suggestionLoaded','accept','endColumn','editing','suggestionUnloaded','ck-suggestion-marker-insertion','getAttributes','set','editingDowncast','getTableIfOnlyTableInContent','type','registerCustomCallback','cell','markMultiRangeBlockFormat','join','model','setAttributes','change','getShiftedBy','registerDescriptionCallback','content','_isForcedDefaultExecutionBlock','locale','entries','removeMarkers','map','createTableWalker','insertColumns','createRange','element','row','oldRange','tableCell','remove','start','containsRange','registerPostFixer','move','insertion','low','getRowIndexes','_getCoordsForCells','conversion','tableCellBorderWidth','columnInsertionIndexes','getSuggestions','createPositionBefore','stop','isInContent','tableCellSuggestion','previousSibling','insert','push','commands','getMarkers','markerToHighlight','getSuggestion','dataDowncast','discard','register','documentSelection','getContainedElement','findAncestor','markerAttributes','ck-suggestion-marker--active','insertContent','suggestion-td','keys','tablePasteRow','getRows','cells','nodeAfter','_splitMarkerName','isEqual','fromEntries','_replaceTableSlotCell','add','formatBlock','endRow','getAllAdjacentSuggestions','getRange','author','get','from','includes','tableCellBackgroundColor','setAttribute','removeRows','fill','has','document','length','columns','markMultiRangeInsertion','table','createRangeIn','tableCellVerticalAlignment','column','root','last','previous','attributes','tablePaste','markMultiRangeDeletion','hasSuggestion','getSelectionAffectedTableCells','next','newRange','createRangeOn','tableCellBorderStyle','_descriptionFactory','getChild','trackChanges','tablePasteColumn','filter','requires','isEmpty','editor','_suggestionFactory','wrap','getSuggestionCallback','_createdBatches','nextSibling','getChildren','TrackChangesEditing','elementToElement','tablePasteCell','find'];(function(_0x1e6dbe,_0x45d672){const _0x288c9f=function(_0x136f6b){while(--_0x136f6b){_0x1e6dbe['push'](_0x1e6dbe['shift']());}};_0x288c9f(++_0x45d672);}(_0x45d6,0xe3));const _0x288c=function(_0x1e6dbe,_0x45d672){_0x1e6dbe=_0x1e6dbe-0x0;let _0x288c9f=_0x45d6[_0x1e6dbe];return _0x288c9f;};import{getTranslation as _0x5b0105}from'../utils/common-translations';import{Plugin as _0xcde7e9}from'ckeditor5/src/core';import{uid as _0x5b05f8,priorities as _0x4ae691}from'ckeditor5/src/utils';import _0x4821cd from'./table';const le=[_0x288c('0xc'),'tableCellBorderColor',_0x288c('0x4e'),_0x288c('0x79'),_0x288c('0x41'),_0x288c('0x36'),_0x288c('0x7e')],ae=Object[_0x288c('0x2b')](le[_0x288c('0x9c')](_0x11f52a=>[_0x11f52a,null]));export default class At extends _0xcde7e9{static get[_0x288c('0x54')](){return[_0x4821cd];}[_0x288c('0x61')](){const _0x243c05=this[_0x288c('0x56')];if(!_0x243c05[_0x288c('0x75')][_0x288c('0x3a')]('TableClipboard'))return;const _0x3e757e=_0x243c05[_0x288c('0x75')][_0x288c('0x33')](_0x288c('0x5d')),_0x4c1de4=_0x243c05[_0x288c('0x75')][_0x288c('0x33')]('TableUtils'),_0x375e73=_0x243c05['plugins'][_0x288c('0x33')](_0x4821cd),_0x1bd276=_0x243c05[_0x288c('0x75')][_0x288c('0x33')]('TableClipboard');_0x375e73['_tablePostFixingSubtypes'][_0x288c('0x15')]('tablePasteRow',_0x288c('0x52')),_0x243c05[_0x288c('0x92')][_0x288c('0x6f')][_0x288c('0x1c')](_0x288c('0x12'),{'allowIn':'tableCell','allowContentOf':_0x288c('0x1'),'isLimit':!0x0}),_0x243c05[_0x288c('0xb')][_0x288c('0x5e')]({'model':_0x288c('0x12'),'view':_0x288c('0x23')});let _0x21ebb8=null;_0x243c05[_0x288c('0x92')]['on'](_0x288c('0x22'),(_0x4257a5,_0x2fcb6e)=>{const [_0x6ad663,_0xa0c672]=_0x2fcb6e,_0x401c89=_0x2fcb6e[_0x2fcb6e[_0x288c('0x3c')]-0x1];_0x401c89&&_0x401c89[_0x288c('0x78')]||_0x3e757e[_0x288c('0x98')]||this['editor'][_0x288c('0x16')][_0x288c('0x33')](_0x288c('0x51'))['value']&&function(_0x57698f,_0x46329d,_0x2c2a40,_0x9aac43,_0xf45173){if(_0x46329d&&!_0x46329d['is'](_0x288c('0x1d')))return!0x1;const _0x2bf749=_0xf45173[_0x288c('0x8c')](_0x57698f,_0x2c2a40);if(!_0x2bf749||!fe(_0x2bf749,void 0x0,_0x9aac43))return!0x1;const _0x502f76=_0x9aac43[_0x288c('0x4a')](_0x2c2a40['document']['selection']);if(!_0x502f76['length'])return!0x1;const _0xafccd3=_0x502f76[0x0][_0x288c('0x1f')]('table'),_0x3aa429=_0x9aac43[_0x288c('0x9')](_0x502f76),_0xfb4597=_0x9aac43['getColumnIndexes'](_0x502f76),_0x250054={'startRow':_0x3aa429[_0x288c('0x6e')],'endRow':_0x3aa429[_0x288c('0x44')],'startColumn':_0xfb4597[_0x288c('0x6e')],'endColumn':_0xfb4597[_0x288c('0x44')]};return 0x1==_0x502f76[_0x288c('0x3c')]&&(_0x250054[_0x288c('0x2f')]+=_0x9aac43[_0x288c('0x26')](_0x2bf749)-0x1,_0x250054[_0x288c('0x85')]+=_0x9aac43[_0x288c('0x72')](_0x2bf749)-0x1),fe(_0xafccd3,_0x250054,_0x9aac43);}(_0x6ad663,_0xa0c672,_0x243c05[_0x288c('0x92')],_0x4c1de4,_0x1bd276)&&(_0x4257a5[_0x288c('0x10')](),_0x21ebb8={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x243c05[_0x288c('0x92')][_0x288c('0x94')](()=>{_0x243c05['model'][_0x288c('0x22')](_0x2fcb6e[0x0],_0x2fcb6e[0x1],_0x2fcb6e[0x2],{'forceDefaultExecution':!0x0});const _0x4580ce=_0x5b05f8(),{rowInsertionRanges:_0x1cb6ed,columnInsertionRanges:_0x208fb0,insertionRanges:_0x5480a6,deletionRanges:_0x1abf10,cells:_0x5f426d}=_0x21ebb8;_0x1cb6ed[_0x288c('0x3c')]&&_0x3e757e[_0x288c('0x3e')](_0x1cb6ed,_0x288c('0x25'),{'tablePasteChainId':_0x4580ce}),_0x208fb0[_0x288c('0x3c')]&&_0x3e757e[_0x288c('0x3e')](_0x208fb0,_0x288c('0x52'),{'tablePasteChainId':_0x4580ce}),_0x5480a6[_0x288c('0x3c')]&&_0x3e757e[_0x288c('0x3e')](_0x5480a6,_0x288c('0x47'),{'tablePasteChainId':_0x4580ce,'skipNestingCheck':!0x0}),_0x1abf10[_0x288c('0x3c')]&&_0x3e757e[_0x288c('0x48')](_0x1abf10,_0x288c('0x47'),{'tablePasteChainId':_0x4580ce,'skipNestingCheck':!0x0});const _0x52bf9f=_0x3e757e[_0x288c('0x90')](_0x5f426d[_0x288c('0x9c')](({element:_0x2ac63e})=>_0x2ac63e),{'formatGroupId':_0x5b05f8()},[],_0x288c('0x5f'),{'tablePasteChainId':_0x4580ce});if(_0x52bf9f){const _0x4e66bc=_0x52bf9f[_0x288c('0x17')](),_0x57a1cc=[];for(const {element:_0x374126,attributes:_0x31e921}of _0x5f426d){if(!_0x31e921)continue;const _0x2193f4=_0x243c05[_0x288c('0x92')]['createRangeOn'](_0x374126),_0x5f1d18=_0x4e66bc[_0x288c('0x60')](_0x2f9b4e=>_0x2f9b4e[_0x288c('0x31')]()['isEqual'](_0x2193f4));_0x5f1d18&&_0x57a1cc['push']([_0x5f1d18['name'],_0x31e921]);}_0x57a1cc[_0x288c('0x3c')]&&_0x52bf9f[_0x288c('0x37')](_0x288c('0x20'),Object[_0x288c('0x2b')](_0x57a1cc));}_0x21ebb8=null;}));},{'priority':_0x4ae691['high']+0xa}),_0x243c05[_0x288c('0x75')][_0x288c('0x33')]('TableClipboard')['on'](_0x288c('0x2c'),(_0x5d7675,_0x46ddd0)=>{const [_0x5a51f8,_0x1f7505,,_0x1332b9]=_0x46ddd0;if(!_0x21ebb8)return;_0x5d7675[_0x288c('0x10')]();const _0x35f8f2=_0x5a51f8[_0x288c('0x8f')],_0x4834c4=_0x1f7505,_0x1a1e36=ce(_0x35f8f2),_0x1b27a9=ce(_0x4834c4);_0x5d7675[_0x288c('0x6c')]=_0x35f8f2;let _0xca7a74=null,_0x2ba1c1=null;if(_0x1b27a9||_0x1a1e36){if(_0x1a1e36&&!_0x1b27a9){_0x1332b9[_0x288c('0x2')](_0x35f8f2[_0x288c('0x50')](0x0));for(const _0x59ea82 of Array['from'](_0x4834c4['getChildren']()))_0x1332b9['insert'](_0x59ea82,_0x35f8f2,'end');const _0x300a9b=_0x21ebb8[_0x288c('0x62')][_0x288c('0x35')](_0x5a51f8[_0x288c('0xa1')]),_0x3cfa17=_0x21ebb8[_0x288c('0xd')][_0x288c('0x35')](_0x5a51f8[_0x288c('0x42')]);_0x300a9b||_0x3cfa17||(_0xca7a74=_0x1332b9[_0x288c('0x40')](_0x35f8f2));}else _0x1b27a9&&!_0x1a1e36&&(_0x2ba1c1=_0x1332b9[_0x288c('0x40')](_0x35f8f2));}else{const _0x557829=_0x1332b9['createElement'](_0x288c('0x12')),_0x5defa8=_0x1332b9[_0x288c('0x65')](_0x288c('0x12'));_0x1332b9[_0x288c('0x58')](_0x1332b9[_0x288c('0x40')](_0x35f8f2),_0x5defa8),_0x1332b9[_0x288c('0x14')](_0x557829,_0x35f8f2,0x0);for(const _0x27057c of Array[_0x288c('0x34')](_0x4834c4[_0x288c('0x5c')]()))_0x1332b9['insert'](_0x27057c,_0x557829,'end');_0xca7a74=_0x1332b9[_0x288c('0x4d')](_0x557829),_0x2ba1c1=_0x1332b9[_0x288c('0x4d')](_0x5defa8);}const _0x47f688=Array[_0x288c('0x34')](_0x4834c4[_0x288c('0x89')]())[_0x288c('0x53')](([_0x4974d9])=>le[_0x288c('0x35')](_0x4974d9));_0x21ebb8[_0x288c('0x27')][_0x288c('0x15')]({'element':_0x35f8f2,'attributes':_0x47f688[_0x288c('0x3c')]?Object['fromEntries'](_0x47f688):null}),_0xca7a74&&_0x21ebb8['insertionRanges']['push'](_0xca7a74),_0x2ba1c1&&_0x21ebb8[_0x288c('0x73')][_0x288c('0x15')](_0x2ba1c1);},{'priority':_0x288c('0x7f')}),_0x4c1de4['on'](_0x288c('0x9e'),(_0x416e80,_0x4b4ebb)=>{const [_0x1f6320,_0xfd38a1={}]=_0x4b4ebb;if(!_0x21ebb8)return;const _0xe7ccc0=_0xfd38a1['at']||0x0,_0x33853b=_0xfd38a1[_0x288c('0x3d')]||0x1;_0x21ebb8[_0x288c('0xd')]=new Array(_0x33853b)[_0x288c('0x39')](_0xe7ccc0)['map']((_0x3d6c00,_0xd8b9d3)=>_0x3d6c00+_0xd8b9d3);for(const {cell:_0x444d1f}of _0x4c1de4['createTableWalker'](_0x1f6320,{'startColumn':_0xe7ccc0,'endColumn':_0xe7ccc0+_0x33853b-0x1}))_0x21ebb8['columnInsertionRanges'][_0x288c('0x15')](_0x243c05[_0x288c('0x92')][_0x288c('0x4d')](_0x444d1f));},{'priority':_0x288c('0x8')}),_0x4c1de4['on'](_0x288c('0x7d'),(_0x4c4e8a,_0xb9f1ab)=>{const [_0x1571c2,_0x5b48a2={}]=_0xb9f1ab;if(!_0x21ebb8)return;const _0x1308c1=_0x5b48a2['at']||0x0,_0xd0462d=_0x5b48a2[_0x288c('0x67')]||0x1;_0x21ebb8[_0x288c('0x62')]=new Array(_0xd0462d)[_0x288c('0x39')](_0x1308c1)['map']((_0x328072,_0xe647ac)=>_0x328072+_0xe647ac);for(const {cell:_0x3746ae}of _0x4c1de4[_0x288c('0x9d')](_0x1571c2,{'startRow':_0x1308c1,'endRow':_0x1308c1+_0xd0462d-0x1}))_0x21ebb8['rowInsertionRanges'][_0x288c('0x15')](_0x243c05['model'][_0x288c('0x4d')](_0x3746ae));},{'priority':_0x288c('0x8')}),_0x3e757e[_0x288c('0x4f')][_0x288c('0x96')](_0x43688d=>{if(_0x43688d['subType']&&_0x43688d[_0x288c('0x7c')]['startsWith'](_0x288c('0x47')))return _0x43688d[_0x288c('0x45')]?{}:{'type':_0x288c('0x7'),'content':_0x5b0105(_0x243c05[_0x288c('0x99')],_0x288c('0x74'))};});const _0xe54d3b=()=>!0x1;for(const _0x464124 of['tablePaste',_0x288c('0x52'),'tablePasteRow',_0x288c('0x5f')])_0x3e757e['_suggestionFactory'][_0x288c('0x8e')](_0x288c('0x7'),_0x464124,'join',_0xe54d3b),_0x3e757e[_0x288c('0x57')]['registerCustomCallback'](_0x288c('0x63'),_0x464124,'join',_0xe54d3b),_0x3e757e[_0x288c('0x57')][_0x288c('0x8e')](_0x288c('0x2e'),_0x464124,_0x288c('0x91'),_0xe54d3b);_0x3e757e[_0x288c('0x57')][_0x288c('0x8e')](_0x288c('0x2e'),'tablePasteCell',_0x288c('0x1b'),_0xe54d3b),_0x3e757e[_0x288c('0x57')]['registerCustomCallback'](_0x288c('0x2e'),_0x288c('0x5f'),_0x288c('0x84'),(_0x51e6de,_0x51358b,_0x2f0388)=>{const _0x48d6d8=_0x51e6de['map'](_0x441421=>_0x441421['getContainedElement']())[_0x288c('0x53')](_0x40b813=>_0x40b813),_0x4bff3c=new Map(_0x48d6d8[_0x288c('0x9c')](_0x1dcea9=>[_0x1dcea9,null]));if(_0x21ebb8)for(const {element:_0x507c3c,attributes:_0x48dcfb}of _0x21ebb8[_0x288c('0x27')])_0x48dcfb&&_0x4bff3c[_0x288c('0x8a')](_0x507c3c,_0x48dcfb);else{if(_0x2f0388&&_0x2f0388[_0x288c('0x20')])for(const [_0x41c4fa,_0x1f0273]of Object[_0x288c('0x9a')](_0x2f0388[_0x288c('0x20')])){const _0x17455b=_0x243c05['model']['markers'][_0x288c('0x33')](_0x41c4fa),_0x20bd4f=_0x17455b?_0x17455b['getRange']()[_0x288c('0x1e')]():null;_0x20bd4f&&_0x4bff3c[_0x288c('0x8a')](_0x20bd4f,_0x1f0273);}}_0x243c05[_0x288c('0x92')][_0x288c('0x94')](_0x1a30c0=>{for(const [_0xf6a32b,_0x137f99]of _0x4bff3c)_0x1a30c0[_0x288c('0x93')]({...ae,..._0x137f99},_0xf6a32b);});});const _0x47f820=(_0x46da7a,_0x143984)=>{_0x3e757e[_0x288c('0x57')]['registerCustomCallback'](_0x46da7a,_0x288c('0x47'),_0x143984,(_0x5ce3f5,_0x150e39,_0xa8799c)=>{_0x243c05[_0x288c('0x92')]['change'](_0x53d86c=>{const _0x51b8a4=[];for(const _0x26b2f0 of _0x5ce3f5){const _0x1acd02=_0x26b2f0[_0x288c('0x3')][_0x288c('0x28')];_0x1acd02['is'](_0x288c('0xa0'),'tableCellSuggestion')&&_0x51b8a4[_0x288c('0x15')](_0x1acd02);}_0x3e757e[_0x288c('0x57')][_0x288c('0x59')](_0x46da7a,null,_0x143984)(_0x5ce3f5,_0x150e39,_0xa8799c);for(const _0x525ba3 of _0x51b8a4)'$graveyard'!=_0x525ba3[_0x288c('0x43')]['rootName']&&_0x53d86c['unwrap'](_0x525ba3);});});};_0x47f820(_0x288c('0x7'),_0x288c('0x84')),_0x47f820(_0x288c('0x7'),_0x288c('0x1b')),_0x47f820(_0x288c('0x63'),_0x288c('0x84')),_0x47f820(_0x288c('0x63'),'discard'),_0x3e757e[_0x288c('0x57')][_0x288c('0x8e')]('insertion',_0x288c('0x25'),_0x288c('0x1b'),_0x8e6411=>{const _0x336fec=_0x8e6411[_0x288c('0x9c')](_0x38005f=>_0x38005f[_0x288c('0x1e')]()),_0x5d197e=_0x336fec[0x0][_0x288c('0x1f')](_0x288c('0x3f')),{minRow:_0x2547a7,maxRow:_0xbc96ae}=_0x375e73[_0x288c('0xa')](_0x336fec);_0x4c1de4[_0x288c('0x38')](_0x5d197e,{'at':_0x2547a7,'rows':_0xbc96ae-_0x2547a7+0x1});}),_0x3e757e[_0x288c('0x57')][_0x288c('0x8e')](_0x288c('0x7'),_0x288c('0x52'),_0x288c('0x1b'),_0x374248=>{const _0xa743f2=_0x374248[_0x288c('0x9c')](_0x30daa8=>_0x30daa8['getContainedElement']()),_0x3f581a=_0xa743f2[0x0][_0x288c('0x1f')](_0x288c('0x3f')),{minColumn:_0x4d0b26,maxColumn:_0x297bee}=_0x375e73[_0x288c('0xa')](_0xa743f2);_0x4c1de4[_0x288c('0x7a')](_0x3f581a,{'at':_0x4d0b26,'columns':_0x297bee-_0x4d0b26+0x1});});const _0x3947b0=(_0x2208cc,_0x2820dd)=>{if(!_0x2820dd[_0x288c('0x7c')]||!_0x2820dd[_0x288c('0x7c')][_0x288c('0x77')](_0x288c('0x47')))return;const _0x40e691=_0x2820dd[_0x288c('0x46')][_0x288c('0x6b')],_0x3dfdd7=_0x3e757e[_0x288c('0xe')]()[_0x288c('0x53')](_0x1b00cc=>_0x1b00cc[_0x288c('0x11')]&&_0x1b00cc['attributes']&&_0x1b00cc[_0x288c('0x46')][_0x288c('0x6b')]==_0x40e691);_0x3dfdd7[_0x288c('0x3c')]&&_0x2820dd[_0x288c('0x30')]()['length']!=_0x3dfdd7[_0x288c('0x3c')]&&_0x3dfdd7['reduce']((_0x1da742,_0x439736)=>(_0x1da742[_0x288c('0x4b')]=_0x439736,_0x439736[_0x288c('0x45')]=_0x1da742,_0x439736));};function _0x5bb49a(_0x49dfd4,_0x3993bc=!0x0){const {id:_0x21f34d}=_0x3e757e[_0x288c('0x29')](_0x49dfd4['markerName']),_0x2a5676=[_0x288c('0x80'),_0x288c('0x88')],_0x591a7d=_0x3e757e[_0x288c('0x7b')]['includes'](_0x49dfd4['markerName']);return _0x591a7d&&_0x2a5676['push'](_0x288c('0x21')),{'classes':_0x2a5676,'attributes':{'data-suggestion':_0x21f34d},'priority':_0x591a7d&&_0x3993bc?0xbc2:0xbb8};}_0x3e757e['on'](_0x288c('0x83'),_0x3947b0,{'priority':_0x288c('0x7f')}),_0x3e757e['on'](_0x288c('0x87'),_0x3947b0,{'priority':_0x288c('0x7f')}),_0x243c05[_0x288c('0x92')][_0x288c('0x3b')][_0x288c('0x5')](()=>{let _0x3dfaca=!0x1;const _0x1e8e2a=Array[_0x288c('0x34')](_0x243c05['model'][_0x288c('0x3b')][_0x288c('0x81')][_0x288c('0x69')]());for(const {name:_0xb55bec,data:_0x3f757e}of _0x1e8e2a){const {group:_0x1813ca,type:_0x5ad217,id:_0x4bbcf0}=_0x3e757e['_splitMarkerName'](_0xb55bec);if(_0x288c('0x71')!=_0x1813ca||_0x288c('0x63')!=_0x5ad217||_0x3f757e[_0x288c('0x0')])continue;if(!_0x3e757e[_0x288c('0x49')](_0x4bbcf0))continue;const _0x72b903=_0x3e757e[_0x288c('0x19')](_0x4bbcf0)[_0x288c('0x66')](),_0x5d5079=_0x243c05[_0x288c('0x75')]['get'](_0x288c('0x82'))['me'];for(const _0x1319ce of _0x3e757e[_0x288c('0xe')]()){if(!_0x1319ce[_0x288c('0x11')]||_0x1319ce[_0x288c('0x32')]!=_0x5d5079)continue;if('formatBlock'!=_0x1319ce[_0x288c('0x8d')]||'tablePasteCell'!=_0x1319ce[_0x288c('0x7c')])continue;if(_0x1319ce[_0x288c('0x66')]()['every'](_0x5d6cb6=>_0x72b903[_0x288c('0x64')](_0x3fe6ad=>_0x3fe6ad[_0x288c('0x4')](_0x5d6cb6,!0x0))))for(const _0x511a5b of _0x1319ce[_0x288c('0x30')]())_0x511a5b['isInContent']&&(_0x511a5b[_0x288c('0x1b')](),_0x3dfaca=!0x0);}}return _0x3dfaca;}),_0x243c05[_0x288c('0x92')][_0x288c('0x3b')][_0x288c('0x5')](_0x29401c=>{const _0x4ff584=_0x243c05['commands']['get']('redo');if(!_0x4ff584||!_0x4ff584[_0x288c('0x5a')]['has'](_0x29401c['batch']))return!0x1;let _0x2fdef1=!0x1;const _0x136772=_0x243c05['plugins'][_0x288c('0x33')](_0x288c('0x82'))['me'],_0x45fdbe=_0x243c05[_0x288c('0x92')][_0x288c('0x3b')]['differ']['getChanges'](),_0x1e0831=Array[_0x288c('0x34')](_0x243c05[_0x288c('0x92')][_0x288c('0x3b')][_0x288c('0x81')][_0x288c('0x69')]())[_0x288c('0x53')](({name:_0x6ebf40,data:_0x3e85ba})=>{const {group:_0x2f7fe2,subType:_0x500791,authorId:_0x8e9938}=_0x3e757e[_0x288c('0x29')](_0x6ebf40);return _0x288c('0x71')==_0x2f7fe2&&_0x288c('0x47')==_0x500791&&_0x8e9938==_0x136772['id']&&!_0x3e85ba['oldRange'];});for(const _0x39b3f5 of _0x45fdbe){if(_0x288c('0x14')!=_0x39b3f5['type']||_0x288c('0x12')!=_0x39b3f5[_0x288c('0x6d')]||0x1!=_0x39b3f5[_0x288c('0x3c')])continue;const _0x4e8f31=_0x29401c[_0x288c('0x9f')](_0x39b3f5['position'],_0x39b3f5['position'][_0x288c('0x95')](0x1));if(!_0x1e0831[_0x288c('0x60')](({data:_0x2fe013})=>_0x2fe013[_0x288c('0x4c')][_0x288c('0x2a')](_0x4e8f31)))for(const {name:_0x192214,data:_0x1f889a}of _0x1e0831)if(_0x4e8f31['containsRange'](_0x1f889a['newRange'])){_0x29401c['updateMarker'](_0x192214,{'range':_0x4e8f31}),_0x2fdef1=!0x0;break;}}return _0x2fdef1;}),_0x243c05[_0x288c('0x92')][_0x288c('0x3b')]['registerPostFixer'](_0x24ea72=>{let _0x14c3f1=!0x1;const _0x176410=_0x243c05[_0x288c('0x75')][_0x288c('0x33')](_0x288c('0x82'))['me'],_0x677cf5=_0x3e757e[_0x288c('0xe')]()[_0x288c('0x53')](_0x127e00=>_0x127e00['isInContent']&&_0x127e00[_0x288c('0x32')]==_0x176410),_0x29ae04=new Set(),_0x4d0376=new Set();for(const _0x45c9bc of _0x677cf5)if('tablePaste'==_0x45c9bc[_0x288c('0x7c')])for(const _0xc2430b of _0x45c9bc['getMarkers']()){const _0x5adf7f=_0xc2430b[_0x288c('0x31')]()[_0x288c('0x1e')]();if(_0x5adf7f){if(_0x5adf7f['is']('element',_0x288c('0x12'))&&ce(_0x5adf7f)){_0x45c9bc[_0x288c('0x6a')](_0xc2430b[_0x288c('0x6d')]),_0x29ae04[_0x288c('0x2d')](_0x5adf7f),_0x14c3f1=!0x0;const _0x30a8cd=_0x5adf7f[_0x288c('0x5b')],_0x411ff0=_0x5adf7f[_0x288c('0x13')],_0x2ec4ef=_0x30a8cd&&_0x30a8cd['is']('element',_0x288c('0x12')),_0x281375=_0x411ff0&&_0x411ff0['is']('element',_0x288c('0x12'));_0x2ec4ef&&!_0x29ae04['has'](_0x30a8cd)&&_0x4d0376[_0x288c('0x2d')](_0x30a8cd),_0x281375&&!_0x29ae04[_0x288c('0x3a')](_0x411ff0)&&_0x4d0376['add'](_0x411ff0);}else _0x5adf7f['is']('element',_0x288c('0x68'))&&_0x5adf7f['isEmpty']&&(_0x45c9bc['removeMarker'](_0xc2430b[_0x288c('0x6d')]),_0x14c3f1=!0x0);}}else{if('tablePasteCell'==_0x45c9bc[_0x288c('0x7c')]){if(!_0x45c9bc[_0x288c('0x46')]||!_0x45c9bc[_0x288c('0x46')][_0x288c('0x6b')])continue;const _0x475619=_0x45c9bc['attributes'][_0x288c('0x20')];if(_0x475619&&Object[_0x288c('0x24')](_0x475619)[_0x288c('0x3c')])continue;const _0xfd0c6c=_0x45c9bc[_0x288c('0x46')][_0x288c('0x6b')];let _0x131730=!0x0,_0x59725c=!0x0;for(const _0x6ffe8a of _0x677cf5)if(_0x6ffe8a[_0x288c('0x7c')]&&_0x6ffe8a[_0x288c('0x7c')][_0x288c('0x77')]('tablePaste')){if(!_0x6ffe8a[_0x288c('0x46')][_0x288c('0x6b')]){_0x59725c=!0x1;break;}if(_0x6ffe8a['id']!=_0x45c9bc['id']&&_0x6ffe8a[_0x288c('0x46')]['tablePasteChainId']==_0xfd0c6c){_0x131730=!0x1;break;}}_0x59725c&&_0x131730&&(_0x45c9bc[_0x288c('0x9b')](),_0x14c3f1=!0x0);}}for(const _0x5ea877 of _0x29ae04)_0x24ea72[_0x288c('0x2')](_0x5ea877);for(const _0x5426a2 of _0x4d0376)_0x24ea72[_0x288c('0x70')](_0x5426a2);return _0x14c3f1;}),_0x243c05['conversion']['for'](_0x288c('0x8b'))[_0x288c('0x18')]({'model':_0x288c('0x76'),'view':(_0x1a1250,_0xa7e5d2)=>_0x5bb49a(_0x1a1250),'converterPriority':_0x288c('0x7f')}),_0x243c05[_0x288c('0xb')]['for'](_0x288c('0x1a'))[_0x288c('0x18')]({'model':_0x288c('0x76'),'view':(_0x501212,_0x54f024)=>_0x54f024['options']['showSuggestionHighlights']?_0x5bb49a(_0x501212,!0x1):null,'converterPriority':_0x288c('0x7f')});const _0x478071=_0x243c05[_0x288c('0x86')]['view'];this['listenTo'](_0x478071['document'],'clipboardOutput',(_0x3c6a2a,_0x1773c7)=>{const _0x409018=[];for(const _0x31cd94 of _0x478071[_0x288c('0x40')](_0x1773c7[_0x288c('0x97')])['getItems']())_0x31cd94['is']('element',_0x288c('0x23'))&&_0x409018[_0x288c('0x15')](_0x31cd94);_0x478071[_0x288c('0x94')](_0x1ba1bd=>{for(const _0x16c883 of _0x409018)_0x1ba1bd[_0x288c('0x6')](_0x1ba1bd[_0x288c('0x40')](_0x16c883),_0x1ba1bd[_0x288c('0xf')](_0x16c883)),_0x1ba1bd[_0x288c('0x2')](_0x16c883);});});}}function ce(_0x4b3764){if(_0x4b3764[_0x288c('0x55')])return!0x0;const _0x503e5d=_0x4b3764[_0x288c('0x50')](0x0);return _0x503e5d['is'](_0x288c('0xa0'),_0x288c('0x68'))&&_0x503e5d[_0x288c('0x55')];}function fe(_0x850d73,_0x57046d={},_0x5619de){for(const {isAnchor:_0x4e621f,cellHeight:_0x9e47e,cellWidth:_0x25d43c}of _0x5619de[_0x288c('0x9d')](_0x850d73,{'includeAllSlots':!0x0,..._0x57046d}))if(!_0x4e621f||0x1!=_0x9e47e||0x1!=_0x25d43c)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 _0x3d4d=['subType','accept','formatInline','afterInit','TableColumnResizeEditing','change','editor','type','handleResizeTableWidthCommand','_suggestionFactory','getColumnGroupElement','columnWidths','model','*Format:*\x20resize\x20table','TrackChangesEditing','formatGroupId','getTableColumnsWidths','resizeTable','handleSuggestionDescription','discard','document','formatBlock','get','Users','plugins','bind','locale','registerCustomCallback','has','_descriptionFactory','getSuggestions','getSuggestionCallback','tableWidth','table','resizeTableWidth','data','registerDescriptionCallback','format'];(function(_0x1c09fe,_0x3d4da6){const _0x49180c=function(_0x4ef515){while(--_0x4ef515){_0x1c09fe['push'](_0x1c09fe['shift']());}};_0x49180c(++_0x3d4da6);}(_0x3d4d,0xd9));const _0x4918=function(_0x1c09fe,_0x3d4da6){_0x1c09fe=_0x1c09fe-0x0;let _0x49180c=_0x3d4d[_0x1c09fe];return _0x49180c;};import{Plugin as _0x1f78cf}from'ckeditor5/src/core';import{getTranslation as _0x36e12d}from'../utils/common-translations';export default class It extends _0x1f78cf{[_0x4918('0xe')](){if(!this[_0x4918('0x11')][_0x4918('0x23')][_0x4918('0x1')](_0x4918('0xf')))return;const _0x4cd9a1=this[_0x4918('0x11')]['plugins'][_0x4918('0x21')](_0x4918('0x19'));_0x4cd9a1['enableCommand']('resizeTableWidth',this[_0x4918('0x13')][_0x4918('0x24')](this)),_0x4cd9a1[_0x4918('0x14')][_0x4918('0x0')](_0x4918('0x20'),_0x4918('0x1c'),_0x4918('0xc'),_0x4cd9a1[_0x4918('0x14')][_0x4918('0x4')](_0x4918('0x20'),null,_0x4918('0x1e'))),_0x4cd9a1[_0x4918('0x14')][_0x4918('0x0')](_0x4918('0x20'),_0x4918('0x1c'),_0x4918('0x1e'),_0x4cd9a1[_0x4918('0x14')][_0x4918('0x4')]('formatBlock',null,'accept')),_0x4cd9a1[_0x4918('0x2')][_0x4918('0x9')](this[_0x4918('0x1d')][_0x4918('0x24')](this));}[_0x4918('0x13')](_0x2b1f7a,_0x272af1){const _0x4805d4=this[_0x4918('0x11')]['plugins'][_0x4918('0x21')](_0x4918('0x19')),_0x484557=this[_0x4918('0x11')][_0x4918('0x23')]['get'](_0x4918('0xf')),_0xf6d7ce=_0x272af1[_0x4918('0x6')]||this[_0x4918('0x11')][_0x4918('0x17')][_0x4918('0x1f')]['selection']['getSelectedElement']();this[_0x4918('0x11')][_0x4918('0x17')][_0x4918('0x10')](()=>{const _0xf01ed3=_0x484557[_0x4918('0x15')](_0xf6d7ce);let _0x443812=_0xf01ed3?_0x484557[_0x4918('0x1b')](_0xf01ed3):null,_0x3d0577=_0xf6d7ce['getAttribute'](_0x4918('0x5'))||null;const _0x536354=_0x272af1['tableWidth']||_0x3d0577,_0x2060d4=_0x272af1[_0x4918('0x16')]||_0x443812,_0x2e65c9=this[_0x4918('0x11')][_0x4918('0x23')][_0x4918('0x21')](_0x4918('0x22'))['me'];for(const _0x473394 of _0x4805d4[_0x4918('0x3')]()){const _0x5d514c=_0x473394['getContainedElement']();if(_0x4918('0x1c')===_0x473394[_0x4918('0xb')]&&_0x5d514c===_0xf6d7ce){_0x473394['author']!==_0x2e65c9&&_0x473394['discard']();const _0x25b612=_0x473394[_0x4918('0x8')]['commandParams'];_0x3d0577=_0x25b612[0x0][_0x4918('0x5')],_0x443812=_0x25b612[0x0][_0x4918('0x16')];break;}}_0x2b1f7a({'table':_0xf6d7ce,'tableWidth':_0x536354,'columnWidths':_0x2060d4}),_0x4805d4['markBlockFormat'](_0xf6d7ce,{'commandName':_0x4918('0x7'),'commandParams':[{'tableWidth':_0x3d0577,'columnWidths':_0x443812}],'formatGroupId':_0x4918('0x1c')},[],'resizeTable');});}['handleSuggestionDescription'](_0x2cba35){if(_0x4918('0x20')!=_0x2cba35[_0x4918('0x12')]&&_0x4918('0xd')!=_0x2cba35[_0x4918('0x12')])return;const {data:_0xdcb850}=_0x2cba35;if(_0xdcb850&&_0x4918('0x1c')===_0xdcb850[_0x4918('0x1a')]){const _0x59c47d=_0x4918('0x18');return{'type':_0x4918('0xa'),'content':_0x36e12d(this['editor'][_0x4918('0x25')],_0x59c47d)};}}}
@@ -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 _0x3a0c=['markerName','removeMarker:suggestion','start','requires','TableEditing','format','highest','get','registerAttributeLabel','addMarker:suggestion','data-suggestion','locale','setAttribute','removeClass','ck-suggestion-marker-','markerRange','TableUtils','getSuggestion','plugins','*Format:*\x20%0','headingRows','end','_enableDefaultAttributesIntegration','removeAttribute','name','nodeBefore','TrackChangesEditing','consumable','editing','addClass','setTableRowHeader','parent','FORMAT_REGULAR_COLUMN','mapper','formatBlock','forceValue','data','_suggestionFactory','unbindElementFromMarkerName','activeMarkers','commandName','options','registerCustomCallback','afterInit','includes','_acceptFormatSuggestionCallbackFactory','FORMAT_HEADER_COLUMN','_handleLegacySuggestions','nodeAfter','editor','showSuggestionHighlights','markerNameToElements','ck-suggestion-marker--active','has','_registerLegacyDescription','downcastDispatcher','writer','accept','setTableColumnHeader','item','createTableWalker','toViewElement','type','FORMAT_HEADER_ROW','consume','getCellLocation'];(function(_0x2ceaad,_0x3a0c84){const _0x25558f=function(_0x50b660){while(--_0x50b660){_0x2ceaad['push'](_0x2ceaad['shift']());}};_0x25558f(++_0x3a0c84);}(_0x3a0c,0x120));const _0x2555=function(_0x2ceaad,_0x3a0c84){_0x2ceaad=_0x2ceaad-0x0;let _0x25558f=_0x3a0c[_0x2ceaad];return _0x25558f;};import{Plugin as _0x40f77f}from'ckeditor5/src/core';import _0x184d9d from'./table';import{getTranslation as _0x555813}from'../utils/common-translations';export default class St extends _0x40f77f{static get[_0x2555('0x2d')](){return[_0x184d9d];}[_0x2555('0x13')](){const _0x27b043=this[_0x2555('0x19')];if(!_0x27b043['plugins'][_0x2555('0x1d')](_0x2555('0x2e')))return;const _0x17ccb0=_0x27b043[_0x2555('0x35')],_0x1d33eb=_0x27b043[_0x2555('0x3c')][_0x2555('0x31')](_0x2555('0x2'));_0x1d33eb[_0x2555('0x40')]('setTableRowHeader',[],['headingRows']),_0x1d33eb[_0x2555('0x40')](_0x2555('0x22'),[],['headingColumns']),_0x1d33eb['_descriptionFactory'][_0x2555('0x32')](_0x2555('0x3e'),_0x555813(_0x17ccb0,_0x2555('0x27'))),_0x1d33eb['_descriptionFactory'][_0x2555('0x32')]('headingColumns',_0x555813(_0x17ccb0,_0x2555('0x16'))),this[_0x2555('0x17')]();}[_0x2555('0x17')](){const _0x3d6a02=this[_0x2555('0x19')][_0x2555('0x3c')][_0x2555('0x31')](_0x2555('0x2')),_0x4d831d=this[_0x2555('0x19')][_0x2555('0x3c')][_0x2555('0x31')](_0x2555('0x3a')),_0xeb3e69=this['editor']['plugins'][_0x2555('0x31')](_0x184d9d)[_0x2555('0x15')]();function _0x3719d5({showActiveMarker:_0x2c3c74=!0x0,setDataAttribute:_0x140a2f=!0x0}={}){return(_0x1965e0,_0x17bb13,_0x354706)=>{const {type:_0x2944ba,id:_0x49086c}=_0x3d6a02['_splitMarkerName'](_0x17bb13[_0x2555('0x2a')]),_0x2a8b45=_0x3d6a02[_0x2555('0x3b')](_0x49086c),_0x3e19c9=_0x2a8b45[_0x2555('0xc')];if(_0x2555('0xa')!=_0x2a8b45['type']||!_0x3e19c9||_0x2555('0x22')!=_0x3e19c9[_0x2555('0x10')])return;if(_0x17bb13[_0x2555('0x23')])return void _0x1965e0['stop']();if(!_0x354706[_0x2555('0x3')][_0x2555('0x28')](_0x17bb13[_0x2555('0x39')],_0x1965e0[_0x2555('0x0')]))return;const _0x30fdb8=_0x17bb13[_0x2555('0x39')][_0x2555('0x2c')][_0x2555('0x18')],_0x4b870a=_0x17bb13[_0x2555('0x39')][_0x2555('0x3f')][_0x2555('0x1')],_0x3011df=_0x30fdb8[_0x2555('0x7')][_0x2555('0x7')],{column:_0x35530e}=_0x4d831d['getCellLocation'](_0x30fdb8),{column:_0x1753ac}=_0x4d831d[_0x2555('0x29')](_0x4b870a);for(let _0x4fe812=_0x35530e;_0x4fe812<=_0x1753ac;_0x4fe812++){const _0x145c67=_0x4d831d[_0x2555('0x24')](_0x3011df,{'column':_0x4fe812,'includeAllSlots':!0x1});for(const _0x1dfc93 of _0x145c67){const _0x58262e=_0x1dfc93['cell'],_0x5b7ab1=_0x354706[_0x2555('0x9')][_0x2555('0x25')](_0x58262e);_0x354706[_0x2555('0x20')][_0x2555('0x5')](_0x2555('0x38')+_0x2944ba,_0x5b7ab1),_0x140a2f&&_0x354706[_0x2555('0x20')][_0x2555('0x36')](_0x2555('0x34'),_0x49086c,_0x5b7ab1),_0x354706[_0x2555('0x9')]['bindElementToMarker'](_0x5b7ab1,_0x17bb13['markerName']),_0x2c3c74&&(_0x3d6a02[_0x2555('0xf')][_0x2555('0x14')](_0x17bb13[_0x2555('0x2a')])?_0x354706[_0x2555('0x20')][_0x2555('0x5')](_0x2555('0x1c'),_0x5b7ab1):_0x354706['writer'][_0x2555('0x37')](_0x2555('0x1c'),_0x5b7ab1));}}};}_0x3d6a02['_suggestionFactory']['registerCustomCallback'](_0x2555('0xa'),'setTableRowHeader',_0x2555('0x21'),_0xeb3e69),_0x3d6a02[_0x2555('0xd')][_0x2555('0x12')](_0x2555('0xa'),_0x2555('0x22'),_0x2555('0x21'),_0xeb3e69),this[_0x2555('0x19')][_0x2555('0x4')][_0x2555('0x1f')]['on'](_0x2555('0x33'),_0x3719d5(),{'priority':_0x2555('0x30')}),this['editor'][_0x2555('0xc')][_0x2555('0x1f')]['on']('addMarker:suggestion',(_0x3b7561,_0x5bd341,_0x1bdb87)=>{_0x1bdb87[_0x2555('0x11')][_0x2555('0x1a')]&&_0x3719d5({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3b7561,_0x5bd341,_0x1bdb87);},{'priority':_0x2555('0x30')}),this[_0x2555('0x19')][_0x2555('0x4')][_0x2555('0x1f')]['on'](_0x2555('0x2b'),(_0x416928,_0x12c97e,_0x5609e9)=>{const {type:_0x22fe44,id:_0xe159a3}=_0x3d6a02['_splitMarkerName'](_0x12c97e[_0x2555('0x2a')]),_0x3361c8=_0x3d6a02[_0x2555('0x3b')](_0xe159a3),_0x5c215=_0x3361c8[_0x2555('0xc')];if('formatBlock'!=_0x3361c8[_0x2555('0x26')]||!_0x5c215||_0x2555('0x22')!=_0x5c215['commandName'])return;const _0x459cc4=_0x5609e9[_0x2555('0x9')][_0x2555('0x1b')](_0x12c97e['markerName']);if(_0x459cc4)for(const _0x33b526 of _0x459cc4)_0x5609e9['writer']['removeClass'](_0x2555('0x38')+_0x22fe44,_0x33b526),_0x5609e9[_0x2555('0x20')]['removeClass'](_0x2555('0x1c'),_0x33b526),_0x5609e9['writer'][_0x2555('0x41')](_0x2555('0x34'),_0x33b526),_0x5609e9[_0x2555('0x9')][_0x2555('0xe')](_0x33b526,_0x12c97e[_0x2555('0x2a')]);},{'priority':_0x2555('0x30')}),this[_0x2555('0x1e')]();}[_0x2555('0x1e')](){const _0x146184=this[_0x2555('0x19')],_0x4a6622=_0x146184['locale'];function _0x1e939c(_0x403c23){return{'type':_0x2555('0x2f'),'content':_0x555813(_0x4a6622,_0x2555('0x3d'),_0x403c23)};}_0x146184[_0x2555('0x3c')]['get'](_0x2555('0x2'))['_descriptionFactory']['registerDescriptionCallback'](_0x4099a6=>{if(_0x2555('0xa')!=_0x4099a6['type'])return;const {data:_0x33fa46}=_0x4099a6;if(_0x33fa46){if(_0x2555('0x6')==_0x33fa46[_0x2555('0x10')]){const _0x59a084=_0x33fa46['commandParams'][0x0][_0x2555('0xb')];return _0x1e939c(_0x555813(_0x4a6622,_0x59a084?_0x2555('0x27'):'FORMAT_REGULAR_ROW'));}if(_0x2555('0x22')==_0x33fa46[_0x2555('0x10')]){const _0x25961a=_0x33fa46['commandParams'][0x0]['forceValue'];return _0x1e939c(_0x555813(_0x4a6622,_0x25961a?_0x2555('0x16'):_0x2555('0x8')));}}});}}
@@ -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 _0x3276=['locale','element','fromRange','getAncestors','author','insertion','enableCommand','document','add','TableEditing','format','getCellLocation','formatBlock','tableCell','selection','getSelectionAffectedTableCells','containsRange','low','formatInline','detach','execute','forceDefaultExecution','refresh','afterInit','registerCustomCallback','*Split\x20cell:*\x20horizontally','size','getSuggestions','TableUtils','markBlockFormat','$graveyard','createTableWalker','_tablePostFixingSubtypes','set:isEnabled','has','from','horizontally','mergeTableCellDown','type','change','stop','accept','splitTableCellHorizontally','splitTableCellVertically','value','get','commandName','commands','setSelection','filter','map','createRangeOn','requires','_areMergableCells','root','find','push','_descriptionFactory','model','cell','*Split\x20cell:*\x20vertically','return','table','plugins','mergeTableCellUp','registerDescriptionCallback','TrackChangesEditing','deletion','_acceptFormatSuggestionCallbackFactory','isEnabled','mergeTableCellLeft','editor','direction','getRanges','mergeTableCellRight','mergeTableCells','highest','_suggestionFactory','isInContent','getFirstPosition','subType'];(function(_0x1d1f31,_0x32762f){const _0x1e7245=function(_0x3afee2){while(--_0x3afee2){_0x1d1f31['push'](_0x1d1f31['shift']());}};_0x1e7245(++_0x32762f);}(_0x3276,0xde));const _0x1e72=function(_0x1d1f31,_0x32762f){_0x1d1f31=_0x1d1f31-0x0;let _0x1e7245=_0x3276[_0x1d1f31];return _0x1e7245;};import{Plugin as _0x26bdbe}from'ckeditor5/src/core';import _0x54a3cc from'./table';import{LiveRange as _0x182bb2}from'ckeditor5/src/engine';import{getTranslation as _0x387f7e}from'../utils/common-translations';export default class yt extends _0x26bdbe{static get[_0x1e72('0x49')](){return[_0x54a3cc];}[_0x1e72('0x2c')](){const _0x4112be=this['editor'],_0x37b996=_0x4112be[_0x1e72('0x4f')][_0x1e72('0x1c')]['selection'],_0x519e06=_0x4112be[_0x1e72('0x15')];if(!_0x4112be[_0x1e72('0x3')]['has'](_0x1e72('0x1e')))return;const _0x8bf5a1=_0x4112be[_0x1e72('0x3')][_0x1e72('0x42')](_0x1e72('0x6')),_0x108907=_0x4112be[_0x1e72('0x3')][_0x1e72('0x42')]('TableUtils'),_0x33e693=_0x4112be[_0x1e72('0x3')][_0x1e72('0x42')](_0x54a3cc);_0x33e693[_0x1e72('0x35')][_0x1e72('0x4d')](_0x1e72('0xf')),_0x8bf5a1[_0x1e72('0x1b')](_0x1e72('0xf'),()=>{const _0x40483c=_0x108907[_0x1e72('0x24')](_0x4112be['model']['document'][_0x1e72('0x23')]);_0x4112be[_0x1e72('0x4f')][_0x1e72('0x3c')](()=>{_0x8bf5a1['markMultiRangeBlockFormat'](_0x40483c,{'commandName':'mergeTableCells','commandParams':[]},[],_0x1e72('0xf'));});}),_0x4112be[_0x1e72('0x44')][_0x1e72('0x42')](_0x1e72('0xf'))['on'](_0x1e72('0x29'),(_0x5e5403,_0x25cf33)=>{_0x4112be[_0x1e72('0x44')][_0x1e72('0x42')]('trackChanges')[_0x1e72('0x41')]&&(_0x25cf33['length']>0x0&&_0x25cf33[_0x25cf33['length']-0x1]&&_0x25cf33[_0x25cf33['length']-0x1][_0x1e72('0x2a')]||_0x8bf5a1['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x5e5403['stop']());},{'priority':_0x1e72('0x10')});for(const _0x3c7bdd of[_0x1e72('0x4'),_0x1e72('0xe'),_0x1e72('0x3a'),_0x1e72('0xa')]){const _0x11fec8=_0x4112be['commands'][_0x1e72('0x42')](_0x3c7bdd);_0x8bf5a1[_0x1e72('0x1b')](_0x3c7bdd,()=>{const _0x42ea0c=_0x4112be['model']['document'][_0x1e72('0x23')][_0x1e72('0x13')]()[_0x1e72('0x18')]()['find'](_0x8488ba=>_0x8488ba['is'](_0x1e72('0x16'),_0x1e72('0x22'))),_0x1f0dcf=_0x11fec8[_0x1e72('0x41')];_0x4112be['model'][_0x1e72('0x3c')](()=>{_0x8bf5a1['markMultiRangeBlockFormat']([_0x42ea0c,_0x1f0dcf],{'commandName':_0x1e72('0xf'),'commandParams':[]},[],_0x1e72('0xf'));});});}for(const _0x2b2852 of[_0x1e72('0x40'),_0x1e72('0x3f')]){const _0x4a9aae=_0x4112be[_0x1e72('0x44')]['get'](_0x2b2852);_0x8bf5a1[_0x1e72('0x1b')](_0x2b2852,()=>{const _0x5bbc58=_0x108907['getSelectionAffectedTableCells'](_0x4112be[_0x1e72('0x4f')][_0x1e72('0x1c')][_0x1e72('0x23')])[0x0],_0x4a3043=_0x5bbc58['findAncestor'](_0x1e72('0x2')),{column:_0x32c83e,row:_0x8ed260}=_0x108907[_0x1e72('0x20')](_0x5bbc58);let _0x22f17d=[];if(_0x1e72('0x39')==_0x4a9aae[_0x1e72('0xc')]){const _0x3f069d=_0x108907[_0x1e72('0x34')](_0x4a3043,{'startRow':_0x8ed260,'endRow':_0x8ed260,'includeAllSlots':!0x0});_0x22f17d=Array[_0x1e72('0x38')](_0x3f069d)[_0x1e72('0x47')](_0x4ee192=>_0x4ee192[_0x1e72('0x50')]);}else{const _0x5544a7=_0x108907['createTableWalker'](_0x4a3043,{'column':_0x32c83e,'includeAllSlots':!0x0});_0x22f17d=Array[_0x1e72('0x38')](_0x5544a7)[_0x1e72('0x47')](_0x41e571=>_0x41e571['cell']);}_0x4112be[_0x1e72('0x4f')][_0x1e72('0x3c')](_0x8f694a=>{_0x8bf5a1[_0x1e72('0x32')](_0x8f694a[_0x1e72('0x48')](_0x5bbc58),{'commandName':_0x2b2852,'commandParams':[]},_0x22f17d,_0x2b2852);});});}_0x8bf5a1['_descriptionFactory'][_0x1e72('0x5')](_0x2c33e4=>{if('formatBlock'!=_0x2c33e4[_0x1e72('0x3b')]&&_0x1e72('0x27')!=_0x2c33e4['type'])return;const {data:_0x40f5c8}=_0x2c33e4;return _0x40f5c8&&'mergeTableCells'==_0x40f5c8['commandName']?{'type':_0x1e72('0x1f'),'content':_0x387f7e(_0x519e06,'*Merge\x20cells*')}:void 0x0;}),_0x8bf5a1[_0x1e72('0x4e')]['registerDescriptionCallback'](_0x3c2c8a=>{if(_0x1e72('0x21')!=_0x3c2c8a['type']&&_0x1e72('0x27')!=_0x3c2c8a[_0x1e72('0x3b')])return;const {data:_0x53422b}=_0x3c2c8a;return _0x53422b?_0x1e72('0x40')==_0x53422b[_0x1e72('0x43')]?{'type':'format','content':_0x387f7e(_0x519e06,_0x1e72('0x0'))}:_0x1e72('0x3f')==_0x53422b[_0x1e72('0x43')]?{'type':'format','content':_0x387f7e(_0x519e06,_0x1e72('0x2e'))}:void 0x0:void 0x0;});const _0x53f0f3=_0x33e693[_0x1e72('0x8')]();for(const _0x437df0 of[_0x1e72('0x4'),_0x1e72('0xe'),_0x1e72('0x3a'),'mergeTableCellLeft'])_0x8bf5a1['_suggestionFactory']['registerCustomCallback'](_0x1e72('0x21'),_0x437df0,_0x1e72('0x3e'),_0x53f0f3);for(const _0x3d1d48 of[_0x1e72('0x40'),'splitTableCellHorizontally'])_0x8bf5a1['_suggestionFactory'][_0x1e72('0x2d')](_0x1e72('0x21'),_0x3d1d48,_0x1e72('0x3e'),_0x53f0f3);_0x8bf5a1[_0x1e72('0x11')][_0x1e72('0x2d')]('formatBlock','mergeTableCells','accept',_0x290cec=>{_0x4112be[_0x1e72('0x4f')][_0x1e72('0x3c')](_0x12c4bf=>{const _0x590e38=Array[_0x1e72('0x38')](_0x37b996[_0x1e72('0xd')]())[_0x1e72('0x47')](_0x1fa065=>_0x182bb2[_0x1e72('0x17')](_0x1fa065));_0x12c4bf[_0x1e72('0x45')](_0x290cec),_0x4112be['commands'][_0x1e72('0x42')](_0x1e72('0xf'))[_0x1e72('0x2b')](),_0x4112be[_0x1e72('0x29')](_0x1e72('0xf'),{'forceDefaultExecution':!0x0});const _0x1fb38e=_0x590e38[_0x1e72('0x46')](_0x2d9742=>_0x1e72('0x33')!=_0x2d9742[_0x1e72('0x4b')]['rootName']);_0x1fb38e['length']>0x0&&_0x12c4bf[_0x1e72('0x45')](_0x1fb38e);for(const _0x855dd5 of _0x590e38)_0x855dd5[_0x1e72('0x28')]();});});for(const _0x28e3e7 of['mergeTableCellUp','mergeTableCellDown',_0x1e72('0xa'),_0x1e72('0xe')]){const _0x2c5a9b=_0x4112be[_0x1e72('0x44')][_0x1e72('0x42')](_0x28e3e7);_0x2c5a9b['on'](_0x1e72('0x36'),(_0x58c6e4,_0x43e8b4,_0x18352d)=>{if(_0x18352d){const _0x5c5133=_0x4112be[_0x1e72('0x4f')][_0x1e72('0x1c')][_0x1e72('0x23')]['getFirstPosition']()['getAncestors']()[_0x1e72('0x4c')](_0x4266b1=>_0x4266b1['is'](_0x1e72('0x16'),'tableCell'));this['_areMergableCells'](_0x2c5a9b['value'],_0x5c5133)||(_0x58c6e4[_0x1e72('0x1')]=!0x1,_0x58c6e4[_0x1e72('0x3d')]());}},{'priority':_0x1e72('0x26')});}}['_areSelectedCellsMergable'](){const _0x33f6d2=this[_0x1e72('0xb')]['commands'][_0x1e72('0x42')]('mergeTableCells'),_0x556ce3=this[_0x1e72('0xb')]['plugins']['get'](_0x1e72('0x31'));if(!_0x33f6d2[_0x1e72('0x9')])return!0x1;const _0x4e9a6f=_0x556ce3[_0x1e72('0x24')](this['editor'][_0x1e72('0x4f')]['document'][_0x1e72('0x23')]);for(const _0x3f5fc0 of _0x4e9a6f)for(const _0x385161 of _0x4e9a6f)if(_0x3f5fc0!=_0x385161&&!this[_0x1e72('0x4a')](_0x3f5fc0,_0x385161))return!0x1;return!0x0;}['_areMergableCells'](_0xdaffb0,_0xe4a265){const _0x59ca50=this[_0x1e72('0xb')][_0x1e72('0x3')][_0x1e72('0x42')](_0x1e72('0x6')),_0x44dcd1=this[_0x1e72('0xb')][_0x1e72('0x4f')][_0x1e72('0x48')](_0xdaffb0),_0x425fd8=this['editor'][_0x1e72('0x4f')]['createRangeOn'](_0xe4a265),_0x437b24=new Set(),_0x336185=new Set();for(const _0x4796a3 of _0x59ca50[_0x1e72('0x30')]())if((_0x1e72('0x1a')==_0x4796a3[_0x1e72('0x3b')]||_0x1e72('0x7')==_0x4796a3['type']||'mergeTableCells'==_0x4796a3[_0x1e72('0x14')])&&_0x4796a3[_0x1e72('0x12')])for(const _0x32f312 of _0x4796a3[_0x1e72('0xd')]())_0x32f312[_0x1e72('0x25')](_0x44dcd1,!0x0)&&_0x437b24['add'](_0x4796a3[_0x1e72('0x3b')]+':'+_0x4796a3['author']['id']),_0x32f312['containsRange'](_0x425fd8,!0x0)&&_0x336185[_0x1e72('0x1d')](_0x4796a3[_0x1e72('0x3b')]+':'+_0x4796a3[_0x1e72('0x19')]['id']);if(_0x437b24['size']!=_0x336185[_0x1e72('0x2f')])return!0x1;for(const _0x406707 of _0x437b24)if(!_0x336185[_0x1e72('0x37')](_0x406707))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 _0x151b=['locale','insertTableOfContents','ELEMENT_TABLE_OF_CONTENTS','enableCommand','editor','TrackChangesEditing','afterInit','get','_descriptionFactory','plugins'];(function(_0x41c5a7,_0x151bbd){const _0x18e8a5=function(_0x2291ac){while(--_0x2291ac){_0x41c5a7['push'](_0x41c5a7['shift']());}};_0x18e8a5(++_0x151bbd);}(_0x151b,0x178));const _0x18e8=function(_0x41c5a7,_0x151bbd){_0x41c5a7=_0x41c5a7-0x0;let _0x18e8a5=_0x151b[_0x41c5a7];return _0x18e8a5;};import{Plugin as _0x5072ec}from'ckeditor5/src/core';import{getTranslation as _0x27dfda}from'../utils/common-translations';export default class Ct extends _0x5072ec{[_0x18e8('0x0')](){const _0x51b770=this[_0x18e8('0x8')];if(!_0x51b770['commands'][_0x18e8('0x1')]('insertTableOfContents'))return;_0x51b770[_0x18e8('0x3')]['get'](_0x18e8('0x9'))[_0x18e8('0x7')](_0x18e8('0x5'));const _0x84bc4=_0x51b770['plugins'][_0x18e8('0x1')]('TrackChangesEditing'),_0x10f33c=_0x51b770[_0x18e8('0x4')];_0x84bc4[_0x18e8('0x2')]['registerElementLabel']('tableOfContents',_0x2e8367=>_0x27dfda(_0x10f33c,_0x18e8('0x6'),_0x2e8367));}}