@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.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 (159) 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/contexts.json +3 -3
  50. package/lang/translations/ar.po +19 -19
  51. package/lang/translations/bg.po +19 -19
  52. package/lang/translations/bn.po +19 -19
  53. package/lang/translations/ca.po +19 -19
  54. package/lang/translations/cs.po +19 -19
  55. package/lang/translations/da.po +19 -19
  56. package/lang/translations/de.po +19 -19
  57. package/lang/translations/el.po +19 -19
  58. package/lang/translations/es.po +19 -19
  59. package/lang/translations/et.po +19 -19
  60. package/lang/translations/fi.po +19 -19
  61. package/lang/translations/fr.po +19 -19
  62. package/lang/translations/he.po +19 -19
  63. package/lang/translations/hi.po +19 -19
  64. package/lang/translations/hu.po +19 -19
  65. package/lang/translations/id.po +19 -19
  66. package/lang/translations/it.po +19 -19
  67. package/lang/translations/ja.po +19 -19
  68. package/lang/translations/ko.po +19 -19
  69. package/lang/translations/lt.po +19 -19
  70. package/lang/translations/lv.po +19 -19
  71. package/lang/translations/ms.po +19 -19
  72. package/lang/translations/nl.po +19 -19
  73. package/lang/translations/no.po +19 -19
  74. package/lang/translations/pl.po +19 -19
  75. package/lang/translations/pt-br.po +19 -19
  76. package/lang/translations/pt.po +19 -19
  77. package/lang/translations/ro.po +19 -19
  78. package/lang/translations/ru.po +19 -19
  79. package/lang/translations/sk.po +19 -19
  80. package/lang/translations/sr.po +19 -19
  81. package/lang/translations/sv.po +19 -19
  82. package/lang/translations/th.po +19 -19
  83. package/lang/translations/tr.po +19 -19
  84. package/lang/translations/uk.po +19 -19
  85. package/lang/translations/vi.po +19 -19
  86. package/lang/translations/zh-cn.po +19 -19
  87. package/lang/translations/zh.po +19 -19
  88. package/package.json +3 -3
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardsuggestioncommand.js +1 -1
  91. package/src/commands/executeonallsuggestionscommand.js +1 -1
  92. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/index.d.ts +1 -1
  95. package/src/integrations/aiassistant.js +1 -1
  96. package/src/integrations/alignment.js +1 -1
  97. package/src/integrations/basicstyles.js +1 -1
  98. package/src/integrations/blockquote.js +1 -1
  99. package/src/integrations/ckbox.js +1 -1
  100. package/src/integrations/codeblock.js +1 -1
  101. package/src/integrations/comments.js +1 -1
  102. package/src/integrations/deletecommand.js +1 -1
  103. package/src/integrations/documentlist.js +1 -1
  104. package/src/integrations/documentlistproperties.js +1 -1
  105. package/src/integrations/entercommand.js +1 -1
  106. package/src/integrations/findandreplace.js +1 -1
  107. package/src/integrations/font.js +1 -1
  108. package/src/integrations/formatpainter.js +1 -1
  109. package/src/integrations/heading.js +1 -1
  110. package/src/integrations/highlight.js +1 -1
  111. package/src/integrations/horizontalline.js +1 -1
  112. package/src/integrations/htmlembed.js +1 -1
  113. package/src/integrations/image.js +1 -1
  114. package/src/integrations/imagereplace.js +1 -1
  115. package/src/integrations/imagestyle.js +1 -1
  116. package/src/integrations/importword.js +1 -1
  117. package/src/integrations/indent.js +1 -1
  118. package/src/integrations/inputcommand.js +1 -1
  119. package/src/integrations/link.js +1 -1
  120. package/src/integrations/list.js +1 -1
  121. package/src/integrations/listproperties.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.d.ts +0 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tablecaption.js +1 -1
  134. package/src/integrations/tableclipboard.js +1 -1
  135. package/src/integrations/tablecolumnresize.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/tableofcontents.js +1 -1
  139. package/src/integrations/tableproperties.js +1 -1
  140. package/src/integrations/template.js +1 -1
  141. package/src/integrations/title.js +1 -1
  142. package/src/integrations/undo.js +1 -1
  143. package/src/integrations/utils.js +1 -1
  144. package/src/suggestion.js +1 -1
  145. package/src/suggestiondescriptionfactory.d.ts +7 -4
  146. package/src/suggestiondescriptionfactory.js +1 -1
  147. package/src/trackchanges.d.ts +0 -67
  148. package/src/trackchanges.js +1 -1
  149. package/src/trackchangesconfig.d.ts +22 -19
  150. package/src/trackchangesdata.js +1 -1
  151. package/src/trackchangesediting.d.ts +14 -23
  152. package/src/trackchangesediting.js +1 -1
  153. package/src/trackchangesui.js +1 -1
  154. package/src/ui/suggestioncontroller.js +1 -1
  155. package/src/ui/view/basesuggestionthreadview.js +1 -1
  156. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  157. package/src/ui/view/suggestionthreadview.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23d5=['style','TrackChangesEditing','plugins','type','has','inline','editor','getGhsAttributeNameForElement','_descriptionFactory','registerInlineAttribute','ghsAttributes','formatInline','config','registerAttributeLabel','commandParams','_registerLegacyDescription','afterInit','get','StyleUtils','styleName','normalizeConfig','FORMAT_STYLE','DataSchema','commandName','element','enableDefaultIntegration','Style','forceValue','*Remove\x20format:*\x20%0','toLowerCase','add','registerBlockAttribute','GeneralHtmlSupport'];(function(_0xcbafba,_0x23d5a2){const _0x5f05bb=function(_0x1a8042){while(--_0x1a8042){_0xcbafba['push'](_0xcbafba['shift']());}};_0x5f05bb(++_0x23d5a2);}(_0x23d5,0x99));const _0x5f05=function(_0xcbafba,_0x23d5a2){_0xcbafba=_0xcbafba-0x0;let _0x5f05bb=_0x23d5[_0xcbafba];return _0x5f05bb;};import{Plugin as _0x361e83}from'ckeditor5/src/core';import{getTranslation as _0x392df6}from'../utils/common-translations';export default class bt extends _0x361e83{[_0x5f05('0x1c')](){const _0x5ba190=this['editor'];if(!_0x5ba190[_0x5f05('0xe')][_0x5f05('0x10')](_0x5f05('0x5'))||!_0x5ba190[_0x5f05('0xe')][_0x5f05('0x10')](_0x5f05('0x1')))return;const _0x54074d=_0x5ba190['plugins'][_0x5f05('0x1d')](_0x5f05('0xd')),_0x2b7a9b=_0x5ba190['locale'],_0x4282a4=_0x5ba190[_0x5f05('0x18')][_0x5f05('0x1d')]('style'),_0x1fccd6=_0x5ba190[_0x5f05('0xe')][_0x5f05('0x1d')](_0x5f05('0xb')),_0x5f203a=_0x5ba190[_0x5f05('0xe')][_0x5f05('0x1d')](_0x5f05('0x1e'))[_0x5f05('0x20')](_0x5ba190[_0x5f05('0xe')]['get'](_0x5f05('0x1')),_0x4282a4['definitions']);_0x54074d[_0x5f05('0x4')](_0x5f05('0xc'));const _0xe20eb5=new Set();for(const _0x5f5874 of _0x5f203a['block']){const _0x89ddc9=_0x1fccd6[_0x5f05('0x13')](_0x5f5874[_0x5f05('0x3')]);_0xe20eb5['add'](_0x89ddc9);}const _0x111c39=new Set();for(const _0x38ba5c of _0x5f203a[_0x5f05('0x11')]){const _0x18a885=_0x1fccd6[_0x5f05('0x13')](_0x38ba5c['element']);_0x111c39[_0x5f05('0x9')](_0x18a885);for(const _0x242277 of _0x38ba5c[_0x5f05('0x16')])_0x111c39['add'](_0x242277);}for(const _0x264d22 of _0xe20eb5)_0x54074d[_0x5f05('0xa')](_0x264d22),_0x54074d[_0x5f05('0x14')][_0x5f05('0x19')](_0x264d22,_0x392df6(_0x2b7a9b,_0x5f05('0x0')));for(const _0x1b4937 of _0x111c39)_0x54074d[_0x5f05('0x15')](_0x1b4937),_0x54074d['_descriptionFactory']['registerAttributeLabel'](_0x1b4937,_0x392df6(_0x2b7a9b,_0x5f05('0x0')));this[_0x5f05('0x1b')]();}[_0x5f05('0x1b')](){const _0x3f243e=this[_0x5f05('0x12')],_0xc9edc6=_0x3f243e['locale'];_0x3f243e['plugins'][_0x5f05('0x1d')](_0x5f05('0xd'))[_0x5f05('0x14')]['registerDescriptionCallback'](_0x476326=>{if('formatBlock'!=_0x476326['type']&&_0x5f05('0x17')!=_0x476326[_0x5f05('0xf')])return;const {data:_0x5203a3}=_0x476326;return _0x5203a3&&_0x5f05('0xc')===_0x5203a3[_0x5f05('0x2')]?_0x5203a3['commandParams'][0x0][_0x5f05('0x6')]?{'type':'format','content':_0x392df6(_0xc9edc6,'*Set\x20format:*\x20%0',_0x5203a3[_0x5f05('0x1a')][0x0][_0x5f05('0x1f')]['toLowerCase']())}:{'type':'format','content':_0x392df6(_0xc9edc6,_0x5f05('0x7'),_0x5203a3[_0x5f05('0x1a')][0x0]['styleName'][_0x5f05('0x8')]())}:void 0x0;});}}
23
+ const _0xe034=['styleName','_registerLegacyDescription','StyleUtils','afterInit','ghsAttributes','commandParams','toLowerCase','add','locale','inline','TrackChangesEditing','format','registerAttributeLabel','FORMAT_STYLE','type','getGhsAttributeNameForElement','plugins','_registerBlockAttribute','_descriptionFactory','get','GeneralHtmlSupport','block','Style','*Set\x20format:*\x20%0','commandName','has','config','DataSchema','style','_enableDefaultAttributesIntegration','normalizeConfig','_registerInlineAttribute','element'];(function(_0x42fd6b,_0xe03429){const _0x33d3cd=function(_0x42a003){while(--_0x42a003){_0x42fd6b['push'](_0x42fd6b['shift']());}};_0x33d3cd(++_0xe03429);}(_0xe034,0x17d));const _0x33d3=function(_0x42fd6b,_0xe03429){_0x42fd6b=_0x42fd6b-0x0;let _0x33d3cd=_0xe034[_0x42fd6b];return _0x33d3cd;};import{Plugin as _0x216fc2}from'ckeditor5/src/core';import{getTranslation as _0x54daa8}from'../utils/common-translations';export default class bt extends _0x216fc2{[_0x33d3('0x12')](){const _0x56deb2=this['editor'];if(!_0x56deb2[_0x33d3('0x1f')]['has'](_0x33d3('0x4'))||!_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x7')](_0x33d3('0x9')))return;const _0x500693=_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x1')]('TrackChangesEditing'),_0x3778b9=_0x56deb2[_0x33d3('0x17')],_0x552036=_0x56deb2[_0x33d3('0x8')]['get'](_0x33d3('0xa')),_0x4eed23=_0x56deb2['plugins'][_0x33d3('0x1')](_0x33d3('0x2')),_0x1e0a34=_0x56deb2['plugins'][_0x33d3('0x1')](_0x33d3('0x11'))[_0x33d3('0xc')](_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x1')](_0x33d3('0x9')),_0x552036['definitions']);_0x500693[_0x33d3('0xb')](_0x33d3('0xa'));const _0x47e674=new Set();for(const _0x5d4e86 of _0x1e0a34[_0x33d3('0x3')]){const _0x10249f=_0x4eed23[_0x33d3('0x1e')](_0x5d4e86[_0x33d3('0xe')]);_0x47e674[_0x33d3('0x16')](_0x10249f);}const _0x3531d0=new Set();for(const _0x377d54 of _0x1e0a34[_0x33d3('0x18')]){const _0x175025=_0x4eed23['getGhsAttributeNameForElement'](_0x377d54['element']);_0x3531d0[_0x33d3('0x16')](_0x175025);for(const _0x28e169 of _0x377d54[_0x33d3('0x13')])_0x3531d0[_0x33d3('0x16')](_0x28e169);}for(const _0x17ac77 of _0x47e674)_0x500693[_0x33d3('0x20')](_0x17ac77),_0x500693['_descriptionFactory'][_0x33d3('0x1b')](_0x17ac77,_0x54daa8(_0x3778b9,_0x33d3('0x1c')));for(const _0xc47a54 of _0x3531d0)_0x500693[_0x33d3('0xd')](_0xc47a54),_0x500693[_0x33d3('0x0')][_0x33d3('0x1b')](_0xc47a54,_0x54daa8(_0x3778b9,'FORMAT_STYLE'));this[_0x33d3('0x10')]();}[_0x33d3('0x10')](){const _0x1449d8=this['editor'],_0x32561a=_0x1449d8[_0x33d3('0x17')];_0x1449d8[_0x33d3('0x1f')]['get'](_0x33d3('0x19'))[_0x33d3('0x0')]['registerDescriptionCallback'](_0x23c05a=>{if('formatBlock'!=_0x23c05a[_0x33d3('0x1d')]&&'formatInline'!=_0x23c05a[_0x33d3('0x1d')])return;const {data:_0x3ea7de}=_0x23c05a;return _0x3ea7de&&'style'===_0x3ea7de[_0x33d3('0x6')]?_0x3ea7de[_0x33d3('0x14')][0x0]['forceValue']?{'type':_0x33d3('0x1a'),'content':_0x54daa8(_0x32561a,_0x33d3('0x5'),_0x3ea7de[_0x33d3('0x14')][0x0][_0x33d3('0xf')][_0x33d3('0x15')]())}:{'type':'format','content':_0x54daa8(_0x32561a,'*Remove\x20format:*\x20%0',_0x3ea7de[_0x33d3('0x14')][0x0][_0x33d3('0xf')][_0x33d3('0x15')]())}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171e=['createRangeOn','oldRange','document','ELEMENT_TABLE_COLUMN','push','createTableWalker','ELEMENT_TABLE_ROW_WITH_TEXT','_splitMarkerName','selection','getColumnIndexes','minColumn','MAX_SAFE_INTEGER','MIN_SAFE_INTEGER','*Insert:*\x20%0','cell','nodeBefore','writer','removeTableRow','addRange','isIntersectingWithRange','enableCommand','removeClass','_getCoordsForCells','addMarker:suggestion','markMultiRangeInsertion','findAncestor','type','first','ELEMENT_TABLE_ROW','getChangedMarkers','deletion','model','ELEMENT_TABLE_COLUMN_WITH_TEXT','getCellLocation','options','rootName','tableColumn','commands','TrackChangesEditing','substr','insertTableColumnLeft','isEqual','isInContent','batch','addClass','name','start','from','$textProxy','TableUtils','element','change:data','root','data','suggestion','afterInit','length','change','registerCustomCallback','_suggestionFactory','getAttribute','removeTableColumn','span','toLowerCase','some','discard','has','forceValue','_setupColumnsRowsFixing','getChanges','nodeAfter','ELEMENT_TABLE','tableRow','createPositionAt','registerDescriptionCallback','getRanges','getChildren','*Remove:*\x20%0','insert','max','differ','values','getSelectionAffectedTableCells','_acceptFormatSuggestionCallbackFactory','hasAttribute','refresh','startsWith','get','$graveyard','position','last','plugins','ELEMENT_TABLE_WITH_TEXT','low','tablePaste','classes','fromRange','left','showSuggestionHighlights','subType','getRowIndexes','getFirstRange','insertion','add','minRow','detach','tableCell','map','locale','_tableSuggestions','markMultiRangeDeletion','filter','end','accept','order','registerPostFixer','_tablePostFixingSubtypes','getItems','enqueueChange','insertTableRowAbove','table','rowspan','execute','registerElementLabel','includes','selectTableColumn','maxRow','selectTableRow','_getSuggestionCoords','isArray','editor','join','_descriptionFactory','setSelection','TableEditing'];(function(_0x595744,_0x171e49){const _0x3c61dd=function(_0x292f8e){while(--_0x292f8e){_0x595744['push'](_0x595744['shift']());}};_0x3c61dd(++_0x171e49);}(_0x171e,0x1db));const _0x3c61=function(_0x595744,_0x171e49){_0x595744=_0x595744-0x0;let _0x3c61dd=_0x171e[_0x595744];return _0x3c61dd;};import{Plugin as _0x60481e}from'ckeditor5/src/core';import{LiveRange as _0x29fa72}from'ckeditor5/src/engine';import{setHighlightHandling as _0x12fe96}from'ckeditor5/src/widget';import{getTranslation as _0x12178e}from'../utils/common-translations';export default class wt extends _0x60481e{constructor(_0x19913c){super(_0x19913c),this[_0x3c61('0x2e')]=[_0x3c61('0x2'),'tableColumn'],this[_0x3c61('0x27')]=new Set();}[_0x3c61('0x78')](){const _0x416288=this['editor'],_0x576067=_0x416288[_0x3c61('0x60')]['document'][_0x3c61('0x49')];if(!_0x416288[_0x3c61('0x15')][_0x3c61('0x83')](_0x3c61('0x40')))return;const _0x2e6d9a=_0x416288[_0x3c61('0x26')],_0x4d73f6=_0x416288[_0x3c61('0x15')][_0x3c61('0x11')](_0x3c61('0x67')),_0x544af1=_0x416288['plugins'][_0x3c61('0x11')](_0x3c61('0x72'));_0x4d73f6[_0x3c61('0x3e')][_0x3c61('0x35')](_0x3c61('0x32'),_0xc5b46a=>_0x12178e(_0x2e6d9a,_0x3c61('0x1'),_0xc5b46a)),this[_0x3c61('0x85')](),_0x4d73f6[_0x3c61('0x55')]('insertTable'),_0x4d73f6[_0x3c61('0x55')](_0x3c61('0x39')),_0x4d73f6[_0x3c61('0x55')](_0x3c61('0x37'));for(const _0x64ff9c of[_0x3c61('0x31'),'insertTableRowBelow']){const _0x344ba7=_0x416288[_0x3c61('0x66')][_0x3c61('0x11')](_0x64ff9c);_0x4d73f6[_0x3c61('0x55')](_0x64ff9c,_0x44f2d4=>{_0x416288['model']['change'](_0x1080a6=>{_0x44f2d4();const _0x528f69='above'===_0x344ba7[_0x3c61('0x2c')],_0x25f964=_0x544af1['getSelectionAffectedTableCells'](_0x576067),_0x528c35=_0x544af1[_0x3c61('0x1e')](_0x25f964),_0xf4a1cb=_0x528f69?_0x528c35['first']-0x1:_0x528c35[_0x3c61('0x14')]+0x1,_0x46ac24=_0x25f964[0x0]['findAncestor']('table'),_0x46138f=_0x544af1[_0x3c61('0x46')](_0x46ac24,{'startRow':_0xf4a1cb,'endRow':_0xf4a1cb}),_0xe907f0=Array[_0x3c61('0x70')](_0x46138f)[_0x3c61('0x25')](_0x1163b1=>_0x1080a6['createRangeOn'](_0x1163b1[_0x3c61('0x4f')]));_0x4d73f6[_0x3c61('0x59')](_0xe907f0,_0x3c61('0x2'));});});}for(const _0x27c21a of[_0x3c61('0x69'),'insertTableColumnRight']){const _0xd119ab=_0x416288[_0x3c61('0x66')][_0x3c61('0x11')](_0x27c21a);_0x4d73f6['enableCommand'](_0x27c21a,_0x9028=>{_0x416288[_0x3c61('0x60')][_0x3c61('0x7a')](_0x28ddc7=>{_0x9028();const _0x3c7974=_0x3c61('0x1b')===_0xd119ab[_0x3c61('0x2c')],_0x4327c5=_0x544af1[_0x3c61('0xc')](_0x576067),_0x390410=_0x544af1[_0x3c61('0x4a')](_0x4327c5),_0x16115e=_0x3c7974?_0x390410[_0x3c61('0x5c')]-0x1:_0x390410[_0x3c61('0x14')]+0x1,_0x568d48=_0x4327c5[0x0]['findAncestor'](_0x3c61('0x32')),_0x4b12b8=_0x544af1[_0x3c61('0x46')](_0x568d48,{'startRow':0x0,'column':_0x16115e,'includeAllSlots':!0x1}),_0xc40da8=Array[_0x3c61('0x70')](_0x4b12b8)[_0x3c61('0x25')](_0x4546cb=>_0x28ddc7[_0x3c61('0x41')](_0x4546cb[_0x3c61('0x4f')]));_0x4d73f6[_0x3c61('0x59')](_0xc40da8,_0x3c61('0x65'));});});}for(const _0x3a7c8d of[_0x3c61('0x52'),_0x3c61('0x7e')]){const _0x54e9b5=_0x3a7c8d[_0x3c61('0x68')](0xb),_0x12ce7d=_0x54e9b5[_0x3c61('0x80')](),_0x48f575=_0x12ce7d['substr'](0x0,0x3)+_0x3c61('0x7f'),_0xaa534e=_0x3c61('0x32')+_0x54e9b5,_0x37d0e6='min'+_0x54e9b5,_0x4951fe=_0x3c61('0x9')+_0x54e9b5;_0x4d73f6[_0x3c61('0x55')](_0x3a7c8d,()=>{_0x416288['model'][_0x3c61('0x7a')](_0x418f42=>{const _0x33950e=_0x544af1['getSelectionAffectedTableCells'](_0x576067),_0x2fb3e0=_0x33950e[0x0][_0x3c61('0x5a')](_0x3c61('0x32'));let _0x2af938;if(_0x3c61('0x52')==_0x3a7c8d){const _0x4c23a5=_0x544af1[_0x3c61('0x1e')](_0x33950e);_0x2af938={'startRow':_0x4c23a5[_0x3c61('0x5c')],'endRow':_0x4c23a5[_0x3c61('0x14')],'includeAllSlots':!0x0};}else{const _0x44191b=_0x544af1['getColumnIndexes'](_0x33950e);_0x2af938={'startColumn':_0x44191b['first'],'endColumn':_0x44191b[_0x3c61('0x14')],'includeAllSlots':!0x0};}const _0x52ebab=_0x544af1[_0x3c61('0x46')](_0x2fb3e0,_0x2af938),_0x28812c=Array[_0x3c61('0x70')](_0x52ebab)[_0x3c61('0x25')](({cell:_0x2b9eda})=>_0x2b9eda),_0x2c1c20=se(_0x28812c['filter'](_0x9868a4=>_0x9868a4[_0x3c61('0xe')](_0x48f575))),_0x21d43c=se(_0x28812c[_0x3c61('0x29')](_0x1861cd=>!_0x1861cd[_0x3c61('0xe')](_0x48f575)))[_0x3c61('0x25')](_0x49e54f=>_0x418f42[_0x3c61('0x41')](_0x49e54f)),_0x6c8ddc=_0x4d73f6[_0x3c61('0x28')](_0x21d43c,_0xaa534e);if(_0x6c8ddc&&(_0x3c61('0x2')==_0x6c8ddc[_0x3c61('0x1d')]||_0x3c61('0x65')==_0x6c8ddc[_0x3c61('0x1d')])){const _0x347d18=this['_getSuggestionCoords'](_0x6c8ddc);for(const _0x366bc5 of _0x2c1c20){const _0x3c8596=_0x418f42[_0x3c61('0x41')](_0x366bc5),_0x44a5b8=_0x544af1[_0x3c61('0x62')](_0x366bc5),_0x38fa34=_0x366bc5[_0x3c61('0x7d')](_0x48f575)-0x1,_0x1ee7a0=_0x347d18[_0x37d0e6],_0x64d48f=_0x347d18[_0x4951fe];_0x1ee7a0<=_0x44a5b8[_0x12ce7d]&&_0x44a5b8[_0x12ce7d]+_0x38fa34<=_0x64d48f&&_0x6c8ddc[_0x3c61('0x53')](_0x3c8596);}}});});}function _0x11922c(_0x36c976){const _0x26852e=Array[_0x3c61('0x70')](_0x576067[_0x3c61('0x5')]())['map'](_0x52f633=>_0x29fa72[_0x3c61('0x1a')](_0x52f633));_0x416288[_0x3c61('0x60')][_0x3c61('0x7a')](_0x432310=>{const _0x475786=_0x432310[_0x3c61('0x6c')];_0x36c976=_0x36c976[_0x3c61('0x29')](_0x2d4bdb=>_0x3c61('0x12')!=_0x2d4bdb['root'][_0x3c61('0x64')]),_0x432310[_0x3c61('0x3f')](_0x36c976),_0x416288[_0x3c61('0x66')][_0x3c61('0x11')](_0x3c61('0x52'))['refresh'](),_0x416288[_0x3c61('0x34')](_0x3c61('0x52'),{'forceDefaultExecution':!0x0}),_0x416288[_0x3c61('0x60')][_0x3c61('0x30')](()=>{_0x416288['model'][_0x3c61('0x30')](_0x475786,_0x174ddc=>{const _0x158736=_0x26852e[_0x3c61('0x29')](_0x4290c8=>_0x3c61('0x12')!=_0x4290c8[_0x3c61('0x75')][_0x3c61('0x64')]);_0x158736['length']>0x0&&_0x174ddc['setSelection'](_0x158736);for(const _0x375499 of _0x26852e)_0x375499[_0x3c61('0x23')]();});});});}function _0xcfd380(_0x53b61d){_0x416288[_0x3c61('0x60')][_0x3c61('0x7a')](_0x5c7fbd=>{const _0x83ec26=Array[_0x3c61('0x70')](_0x576067['getRanges']())[_0x3c61('0x25')](_0x1bd601=>_0x29fa72[_0x3c61('0x1a')](_0x1bd601)),_0x143bfb=[];for(const _0x114e29 of _0x53b61d)for(const _0x5ab317 of _0x114e29[_0x3c61('0x2f')]({'shallow':!0x0}))_0x143bfb[_0x3c61('0x45')](_0x5ab317);for(const _0x5a67eb of _0x143bfb)_0x3c61('0x12')!=_0x5a67eb['root'][_0x3c61('0x64')]&&(_0x5c7fbd[_0x3c61('0x3f')](_0x5c7fbd[_0x3c61('0x3')](_0x5a67eb,0x0)),_0x416288['commands']['get']('removeTableColumn')[_0x3c61('0xf')](),_0x416288[_0x3c61('0x34')](_0x3c61('0x7e'),{'forceDefaultExecution':!0x0}));const _0x389117=_0x83ec26[_0x3c61('0x29')](_0x4f682b=>'$graveyard'!=_0x4f682b[_0x3c61('0x75')][_0x3c61('0x64')]);_0x389117[_0x3c61('0x79')]>0x0&&_0x5c7fbd['setSelection'](_0x389117);for(const _0x581d58 of _0x83ec26)_0x581d58[_0x3c61('0x23')]();});}function _0x520fcf(_0x3607e1,_0x22c51d){return _0x22c51d['every'](_0x25fa74=>_0x3607e1[_0x3c61('0x81')](_0x479742=>_0x479742[_0x3c61('0x2a')][_0x3c61('0x6a')](_0x25fa74[_0x3c61('0x6f')])||_0x25fa74[_0x3c61('0x2a')][_0x3c61('0x6a')](_0x479742[_0x3c61('0x6f')])));}function _0x2bf585(_0x4cf662,_0x6dc5dd){return _0x4cf662['some'](_0x24731b=>_0x6dc5dd[_0x3c61('0x81')](_0x8e2058=>_0x24731b[_0x3c61('0x2a')]['isTouching'](_0x8e2058[_0x3c61('0x6f')])));}_0x416288[_0x3c61('0x76')]['downcastDispatcher']['on'](_0x3c61('0x58'),(_0x6d7e7a,_0x1506a3,_0x196510)=>{if(!_0x196510[_0x3c61('0x63')][_0x3c61('0x1c')])return;const _0x11e5f3=_0x1506a3['item'];if(!_0x11e5f3)return;const _0x2a5619=_0x196510['mapper']['toViewElement'](_0x11e5f3);function _0x573074(_0x41832e){return Array[_0x3c61('0x3b')](_0x41832e)?_0x41832e:[_0x41832e];}_0x2a5619&&_0x3c61('0x24')===_0x11e5f3[_0x3c61('0x6e')]&&_0x12fe96(_0x2a5619,_0x196510[_0x3c61('0x51')],(_0x341e9a,_0x4dd91d,_0x21a2e9)=>_0x21a2e9[_0x3c61('0x6d')](_0x573074(_0x4dd91d[_0x3c61('0x19')]),_0x341e9a),(_0xc82557,_0x52f032,_0x5d012a)=>_0x5d012a[_0x3c61('0x56')](_0x573074(_0x52f032[_0x3c61('0x19')]),_0xc82557));},{'priority':'highest'}),_0x4d73f6[_0x3c61('0x3e')][_0x3c61('0x4')](_0x571775=>{if(_0x3c61('0x20')!=_0x571775[_0x3c61('0x5b')]&&_0x3c61('0x5f')!=_0x571775[_0x3c61('0x5b')])return;const _0x2336e1=_0x571775['getContainedElement']();if(null!=_0x2336e1&&_0x2336e1['is'](_0x3c61('0x73'),_0x3c61('0x32'))){if('insertion'==_0x571775[_0x3c61('0x5b')]){const _0x5e48a5=_0x571775['getItems']()[_0x3c61('0x29')](_0x71cbd3=>_0x71cbd3['is']('$textProxy'))[_0x3c61('0x25')](_0x30ed64=>_0x30ed64[_0x3c61('0x76')]);if(_0x5e48a5['length'])return{'type':_0x3c61('0x20'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x4e'),_0x12178e(_0x2e6d9a,_0x3c61('0x16'),'\x22'+_0x5e48a5[_0x3c61('0x3d')]('\x20')+'\x22'))};}if('deletion'==_0x571775[_0x3c61('0x5b')]){const _0x7e115b=_0x571775['getItems']()[_0x3c61('0x29')](_0x52b88c=>_0x52b88c['is'](_0x3c61('0x71')))[_0x3c61('0x25')](_0x5dfb2f=>_0x5dfb2f[_0x3c61('0x76')]);if(_0x7e115b[_0x3c61('0x79')])return{'type':_0x3c61('0x5f'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x7'),_0x12178e(_0x2e6d9a,_0x3c61('0x16'),'\x22'+_0x7e115b['join']('\x20')+'\x22'))};}}}),_0x4d73f6[_0x3c61('0x3e')]['registerDescriptionCallback'](_0x12cfb1=>{if(_0x3c61('0x2')==_0x12cfb1['subType']){const _0x4af949=_0x12cfb1[_0x3c61('0x2f')]()[_0x3c61('0x29')](_0x46ff24=>_0x46ff24['is'](_0x3c61('0x71')))['map'](_0x46dbda=>_0x46dbda[_0x3c61('0x76')]),_0x35bcc8=this[_0x3c61('0x3a')](_0x12cfb1),_0x3b5595=_0x35bcc8[_0x3c61('0x38')]-_0x35bcc8[_0x3c61('0x22')]+0x1;if('insertion'==_0x12cfb1[_0x3c61('0x5b')])return _0x4af949[_0x3c61('0x79')]?{'type':_0x3c61('0x20'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x4e'),_0x12178e(_0x2e6d9a,_0x3c61('0x47'),[_0x3b5595,'\x22'+_0x4af949['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x12178e(_0x2e6d9a,_0x3c61('0x4e'),_0x12178e(_0x2e6d9a,_0x3c61('0x5d'),_0x3b5595))};if(_0x3c61('0x5f')==_0x12cfb1[_0x3c61('0x5b')])return _0x4af949['length']?{'type':_0x3c61('0x5f'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x7'),_0x12178e(_0x2e6d9a,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3b5595,'\x22'+_0x4af949[_0x3c61('0x3d')]('\x20')+'\x22']))}:{'type':_0x3c61('0x5f'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x7'),_0x12178e(_0x2e6d9a,_0x3c61('0x5d'),_0x3b5595))};}if(_0x3c61('0x65')==_0x12cfb1['subType']){const _0x5c3213=_0x12cfb1[_0x3c61('0x2f')]()[_0x3c61('0x29')](_0x596ca0=>_0x596ca0['is']('$textProxy'))[_0x3c61('0x25')](_0xb4dc6f=>_0xb4dc6f['data']),_0x513a32=this[_0x3c61('0x3a')](_0x12cfb1),_0x2b7cfc=_0x513a32['maxColumn']-_0x513a32[_0x3c61('0x4b')]+0x1;if(_0x3c61('0x20')==_0x12cfb1[_0x3c61('0x5b')])return _0x5c3213[_0x3c61('0x79')]?{'type':_0x3c61('0x20'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x4e'),_0x12178e(_0x2e6d9a,_0x3c61('0x61'),[_0x2b7cfc,'\x22'+_0x5c3213[_0x3c61('0x3d')]('\x20')+'\x22']))}:{'type':_0x3c61('0x20'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x4e'),_0x12178e(_0x2e6d9a,_0x3c61('0x44'),_0x2b7cfc))};if(_0x3c61('0x5f')==_0x12cfb1[_0x3c61('0x5b')])return _0x5c3213[_0x3c61('0x79')]?{'type':_0x3c61('0x5f'),'content':_0x12178e(_0x2e6d9a,_0x3c61('0x7'),_0x12178e(_0x2e6d9a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2b7cfc,'\x22'+_0x5c3213[_0x3c61('0x3d')]('\x20')+'\x22']))}:{'type':_0x3c61('0x5f'),'content':_0x12178e(_0x2e6d9a,'*Remove:*\x20%0',_0x12178e(_0x2e6d9a,_0x3c61('0x44'),_0x2b7cfc))};}}),_0x4d73f6[_0x3c61('0x7c')]['registerCustomCallback'](_0x3c61('0x20'),_0x3c61('0x2'),_0x3c61('0x82'),_0x11922c),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')]('deletion',_0x3c61('0x2'),_0x3c61('0x2b'),_0x11922c),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')]('insertion','tableColumn',_0x3c61('0x82'),_0xcfd380),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')]('deletion',_0x3c61('0x65'),_0x3c61('0x2b'),_0xcfd380),_0x4d73f6[_0x3c61('0x7c')]['registerCustomCallback'](_0x3c61('0x20'),_0x3c61('0x65'),'join',_0x520fcf),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')](_0x3c61('0x5f'),_0x3c61('0x65'),_0x3c61('0x3d'),_0x520fcf),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')](_0x3c61('0x20'),'tableRow',_0x3c61('0x3d'),_0x2bf585),_0x4d73f6[_0x3c61('0x7c')][_0x3c61('0x7b')](_0x3c61('0x5f'),'tableRow',_0x3c61('0x3d'),_0x2bf585);}[_0x3c61('0xd')](){const _0x1dc002=this['editor'],_0x4875a2=_0x1dc002[_0x3c61('0x60')][_0x3c61('0x43')][_0x3c61('0x49')];return(_0x347900,_0x6e7c94)=>{_0x1dc002[_0x3c61('0x60')][_0x3c61('0x7a')](_0x153090=>{const {commandName:_0x391fc8,commandParams:_0x38684d}=_0x6e7c94;let _0x3211db=_0x347900[0x0][_0x3c61('0x2a')][_0x3c61('0x50')];_0x38684d&&_0x38684d[0x0]&&!0x1===_0x38684d[0x0][_0x3c61('0x84')]&&(_0x3211db=_0x347900[0x0]['start']['nodeAfter']);const _0x4e69ce=_0x153090['createRangeIn'](_0x3211db);if(_0x3c61('0x12')==_0x4e69ce['root'][_0x3c61('0x64')])return;const _0x5b40eb=Array[_0x3c61('0x70')](_0x4875a2[_0x3c61('0x5')]())[_0x3c61('0x25')](_0x5c7ed7=>_0x29fa72['fromRange'](_0x5c7ed7));_0x153090['setSelection'](_0x4e69ce),_0x1dc002[_0x3c61('0x66')][_0x3c61('0x11')](_0x391fc8)['refresh'](),_0x38684d[_0x3c61('0x45')]({'forceDefaultExecution':!0x0}),_0x1dc002['execute'](_0x391fc8,..._0x38684d);const _0x267be0=_0x5b40eb[_0x3c61('0x29')](_0x15ed2e=>_0x3c61('0x12')!=_0x15ed2e[_0x3c61('0x75')][_0x3c61('0x64')]);_0x267be0[_0x3c61('0x79')]>0x0&&_0x153090['setSelection'](_0x267be0);for(const _0x4ac86c of _0x5b40eb)_0x4ac86c[_0x3c61('0x23')]();});};}[_0x3c61('0x57')](_0x7aebab){const _0xe5c4=this[_0x3c61('0x3c')][_0x3c61('0x15')][_0x3c61('0x11')](_0x3c61('0x72'));let _0x1051b9=Number[_0x3c61('0x4c')],_0x1b63dd=Number[_0x3c61('0x4d')],_0x4d4c55=Number[_0x3c61('0x4c')],_0x3aef2e=Number[_0x3c61('0x4d')];for(const _0x4156f8 of _0x7aebab){if('$graveyard'==_0x4156f8[_0x3c61('0x75')][_0x3c61('0x64')])continue;const {row:_0x7ced3a,column:_0x232ff9}=_0xe5c4[_0x3c61('0x62')](_0x4156f8),_0x413f79=_0x4156f8[_0x3c61('0xe')](_0x3c61('0x33'))?_0x4156f8['getAttribute'](_0x3c61('0x33'))-0x1:0x0,_0xa4ca1b=_0x4156f8[_0x3c61('0xe')]('colspan')?_0x4156f8[_0x3c61('0x7d')]('colspan')-0x1:0x0;_0x1051b9=_0x7ced3a<_0x1051b9?_0x7ced3a:_0x1051b9,_0x1b63dd=_0x7ced3a+_0x413f79>_0x1b63dd?_0x7ced3a+_0x413f79:_0x1b63dd,_0x4d4c55=_0x232ff9<_0x4d4c55?_0x232ff9:_0x4d4c55,_0x3aef2e=_0x232ff9+_0xa4ca1b>_0x3aef2e?_0x232ff9+_0xa4ca1b:_0x3aef2e;}return{'minRow':_0x1051b9,'maxRow':_0x1b63dd,'minColumn':_0x4d4c55,'maxColumn':_0x3aef2e};}[_0x3c61('0x85')](){const _0x130a0e=this['editor'],_0x4309b5=_0x130a0e[_0x3c61('0x15')]['get']('TrackChangesEditing'),_0x49d7c2=_0x130a0e['plugins'][_0x3c61('0x11')](_0x3c61('0x72'));_0x130a0e[_0x3c61('0x60')]['document']['on'](_0x3c61('0x74'),()=>{const _0x1552b9=Array['from'](_0x130a0e[_0x3c61('0x60')][_0x3c61('0x43')][_0x3c61('0xa')][_0x3c61('0x5e')]());for(const {name:_0x39eb66,data:_0x231d32}of _0x1552b9){const {group:_0x5dddf9,id:_0xb7eda5,subType:_0x2e1d6f}=_0x4309b5[_0x3c61('0x48')](_0x39eb66);if(_0x3c61('0x77')!=_0x5dddf9)continue;if(null!=_0x231d32[_0x3c61('0x42')])continue;const _0x3cdb91=_0x4309b5['getSuggestion'](_0xb7eda5);this[_0x3c61('0x2e')][_0x3c61('0x36')](_0x2e1d6f)&&this[_0x3c61('0x27')][_0x3c61('0x21')](_0x3cdb91);}},{'priority':_0x3c61('0x17')});const _0x1509e8=(_0x4ba7e0,_0x308687)=>{let _0x1c5044=!0x1;const _0x570e2d=_0x308687['createRangeOn'](_0x4ba7e0),_0x43379e=_0x4ba7e0[_0x3c61('0x5a')](_0x3c61('0x32')),_0x197af7=_0x49d7c2[_0x3c61('0x62')](_0x4ba7e0);for(const _0x19d9ec of this[_0x3c61('0x27')]){const _0x54a5d3=_0x19d9ec['subType'],_0x3c77d5=_0x54a5d3[_0x3c61('0x10')](_0x3c61('0x18')),_0x4d5764=_0x54a5d3['substr'](_0x3c77d5?0xa:0x5),_0x3d7591=_0x4d5764[_0x3c61('0x80')](),_0x2974d0=_0x3d7591[_0x3c61('0x68')](0x0,0x3)+_0x3c61('0x7f'),_0x5204ea='min'+_0x4d5764,_0x2ec4bc=_0x3c61('0x9')+_0x4d5764;if(!_0x19d9ec[_0x3c61('0x6b')])continue;if(_0x43379e!=_0x19d9ec[_0x3c61('0x1f')]()[_0x3c61('0x6f')][_0x3c61('0x5a')](_0x3c61('0x32')))continue;if(_0x19d9ec[_0x3c61('0x54')](_0x570e2d))continue;const _0x3516cb=_0x4ba7e0['hasAttribute'](_0x2974d0)?_0x4ba7e0['getAttribute'](_0x2974d0)-0x1:0x0,_0x294ca0=this[_0x3c61('0x3a')](_0x19d9ec),_0x298af7=_0x294ca0[_0x5204ea],_0xf95421=_0x294ca0[_0x2ec4bc];_0x298af7<=_0x197af7[_0x3d7591]&&_0x197af7[_0x3d7591]+_0x3516cb<=_0xf95421&&(_0x19d9ec[_0x3c61('0x53')](_0x570e2d),_0x1c5044=!0x0);}return _0x1c5044;};_0x130a0e[_0x3c61('0x60')]['document'][_0x3c61('0x2d')](_0x337f70=>{let _0x14e2fb=!0x1;for(const _0x8a4deb of _0x130a0e[_0x3c61('0x60')][_0x3c61('0x43')][_0x3c61('0xa')][_0x3c61('0x86')]())if(_0x3c61('0x8')==_0x8a4deb[_0x3c61('0x5b')]){if('tableRow'==_0x8a4deb[_0x3c61('0x6e')])for(const _0x3db05d of _0x8a4deb[_0x3c61('0x13')]['nodeAfter'][_0x3c61('0x6')]())_0x14e2fb=_0x14e2fb||_0x1509e8(_0x3db05d,_0x337f70);else _0x3c61('0x24')==_0x8a4deb['name']&&(_0x14e2fb=_0x14e2fb||_0x1509e8(_0x8a4deb[_0x3c61('0x13')][_0x3c61('0x0')],_0x337f70));}return _0x14e2fb;});}[_0x3c61('0x3a')](_0x46b9e4){return this[_0x3c61('0x57')](_0x46b9e4[_0x3c61('0x5')]()[_0x3c61('0x25')](_0x37006b=>_0x37006b[_0x3c61('0x6f')][_0x3c61('0x0')]));}}function se(_0x16dcd8){return Array[_0x3c61('0x70')](new Set(_0x16dcd8)[_0x3c61('0xb')]());}
23
+ const _0x3705=['TableUtils','above','locale','suggestion','selection','isArray','startsWith','order','isIntersectingWithRange','element','span','createTableWalker','document','getColumnIndexes','_tablePostFixingSubtypes','substr','*Insert:*\x20%0','createPositionAt','deletion','tableColumn','subType','every','addRange','last','_setupColumnsRowsFixing','maxColumn','from','getAttribute','start','TrackChangesEditing','rowspan','ELEMENT_TABLE_WITH_TEXT','colspan','_tableSuggestions','removeClass','ELEMENT_TABLE_COLUMN_WITH_TEXT','refresh','insertTableRowBelow','removeTableColumn','getChangedMarkers','registerPostFixer','rootName','tableRow','change','has','writer','fromRange','getContainedElement','getRowIndexes','toLowerCase','type','downcastDispatcher','_splitMarkerName','get','insert','$graveyard','forceValue','TableEditing','add','registerDescriptionCallback','table','isEqual','map','createRangeIn','setSelection','tableCell','*Remove:*\x20%0','end','classes','MAX_SAFE_INTEGER','cell','batch','enableCommand','selectTableRow','low','removeTableRow','findAncestor','insertTableRowAbove','getSuggestion','filter','insertTableColumnRight','ELEMENT_TABLE_ROW','getItems','ELEMENT_TABLE','first','minColumn','markMultiRangeInsertion','maxRow','$textProxy','some','addClass','discard','data','join','ELEMENT_TABLE_ROW_WITH_TEXT','includes','max','min','showSuggestionHighlights','_suggestionFactory','plugins','accept','getRanges','nodeAfter','left','ELEMENT_TABLE_COLUMN','push','insertion','_descriptionFactory','editor','name','_acceptFormatSuggestionCallbackFactory','options','hasAttribute','root','enqueueChange','differ','change:data','isInContent','execute','model','getSelectionAffectedTableCells','registerCustomCallback','getChanges','createRangeOn','detach','selectTableColumn','addMarker:suggestion','tablePaste','getChildren','nodeBefore','length','_getCoordsForCells','commands','_getSuggestionCoords','mapper','position','afterInit'];(function(_0x2b8e0a,_0x3705c8){const _0x16cd0b=function(_0xa1e5b){while(--_0xa1e5b){_0x2b8e0a['push'](_0x2b8e0a['shift']());}};_0x16cd0b(++_0x3705c8);}(_0x3705,0x11b));const _0x16cd=function(_0x2b8e0a,_0x3705c8){_0x2b8e0a=_0x2b8e0a-0x0;let _0x16cd0b=_0x3705[_0x2b8e0a];return _0x16cd0b;};import{Plugin as _0x352181}from'ckeditor5/src/core';import{LiveRange as _0x2fd254}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3825de}from'ckeditor5/src/widget';import{getTranslation as _0x200c9c}from'../utils/common-translations';export default class wt extends _0x352181{constructor(_0x592c12){super(_0x592c12),this[_0x16cd('0x7')]=[_0x16cd('0x23'),_0x16cd('0xc')],this['_tableSuggestions']=new Set();}[_0x16cd('0x82')](){const _0x3f94a9=this['editor'],_0x4eaf2d=_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x87')];if(!_0x3f94a9[_0x16cd('0x5d')][_0x16cd('0x25')](_0x16cd('0x32')))return;const _0x3d15be=_0x3f94a9[_0x16cd('0x85')],_0x32e3f3=_0x3f94a9['plugins'][_0x16cd('0x2e')](_0x16cd('0x16')),_0x45af24=_0x3f94a9[_0x16cd('0x5d')][_0x16cd('0x2e')]('TableUtils');_0x32e3f3[_0x16cd('0x65')]['registerElementLabel'](_0x16cd('0x35'),_0x3712e5=>_0x200c9c(_0x3d15be,_0x16cd('0x4c'),_0x3712e5)),this['_setupColumnsRowsFixing'](),_0x32e3f3[_0x16cd('0x41')]('insertTable'),_0x32e3f3[_0x16cd('0x41')](_0x16cd('0x42')),_0x32e3f3[_0x16cd('0x41')](_0x16cd('0x77'));for(const _0x48c45a of[_0x16cd('0x46'),_0x16cd('0x1e')]){const _0xf697bb=_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x48c45a);_0x32e3f3[_0x16cd('0x41')](_0x48c45a,_0x54a879=>{_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x48ff87=>{_0x54a879();const _0x697bb9=_0x16cd('0x84')===_0xf697bb[_0x16cd('0x0')],_0x106502=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0x51564d=_0x45af24['getRowIndexes'](_0x106502),_0x3f700d=_0x697bb9?_0x51564d['first']-0x1:_0x51564d[_0x16cd('0x10')]+0x1,_0x2d20b9=_0x106502[0x0][_0x16cd('0x45')](_0x16cd('0x35')),_0x5507d1=_0x45af24[_0x16cd('0x4')](_0x2d20b9,{'startRow':_0x3f700d,'endRow':_0x3f700d}),_0x169bff=Array[_0x16cd('0x13')](_0x5507d1)[_0x16cd('0x37')](_0x434b89=>_0x48ff87[_0x16cd('0x75')](_0x434b89[_0x16cd('0x3f')]));_0x32e3f3['markMultiRangeInsertion'](_0x169bff,_0x16cd('0x23'));});});}for(const _0x32494f of['insertTableColumnLeft',_0x16cd('0x49')]){const _0x4fad29=_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x32494f);_0x32e3f3[_0x16cd('0x41')](_0x32494f,_0x8646a9=>{_0x3f94a9['model'][_0x16cd('0x24')](_0x54b1a6=>{_0x8646a9();const _0x12d4e4=_0x16cd('0x61')===_0x4fad29[_0x16cd('0x0')],_0x150f47=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0x44fd8b=_0x45af24['getColumnIndexes'](_0x150f47),_0x5cc492=_0x12d4e4?_0x44fd8b[_0x16cd('0x4d')]-0x1:_0x44fd8b[_0x16cd('0x10')]+0x1,_0x2d20e8=_0x150f47[0x0][_0x16cd('0x45')](_0x16cd('0x35')),_0x35b8da=_0x45af24[_0x16cd('0x4')](_0x2d20e8,{'startRow':0x0,'column':_0x5cc492,'includeAllSlots':!0x1}),_0x4d1172=Array[_0x16cd('0x13')](_0x35b8da)[_0x16cd('0x37')](_0x11c5af=>_0x54b1a6[_0x16cd('0x75')](_0x11c5af[_0x16cd('0x3f')]));_0x32e3f3[_0x16cd('0x4f')](_0x4d1172,_0x16cd('0xc'));});});}for(const _0x4acc88 of[_0x16cd('0x44'),_0x16cd('0x1f')]){const _0x2dca30=_0x4acc88[_0x16cd('0x8')](0xb),_0x34d3b3=_0x2dca30[_0x16cd('0x2a')](),_0x455c6c=_0x34d3b3[_0x16cd('0x8')](0x0,0x3)+_0x16cd('0x3'),_0x2edb8c=_0x16cd('0x35')+_0x2dca30,_0x32f846=_0x16cd('0x5a')+_0x2dca30,_0x1cd13c='max'+_0x2dca30;_0x32e3f3[_0x16cd('0x41')](_0x4acc88,()=>{_0x3f94a9['model'][_0x16cd('0x24')](_0x4b6341=>{const _0x552d16=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0xfb190a=_0x552d16[0x0]['findAncestor'](_0x16cd('0x35'));let _0x1f19e9;if(_0x16cd('0x44')==_0x4acc88){const _0x47e91c=_0x45af24[_0x16cd('0x29')](_0x552d16);_0x1f19e9={'startRow':_0x47e91c[_0x16cd('0x4d')],'endRow':_0x47e91c[_0x16cd('0x10')],'includeAllSlots':!0x0};}else{const _0x2cf865=_0x45af24[_0x16cd('0x6')](_0x552d16);_0x1f19e9={'startColumn':_0x2cf865[_0x16cd('0x4d')],'endColumn':_0x2cf865[_0x16cd('0x10')],'includeAllSlots':!0x0};}const _0x5e8a33=_0x45af24['createTableWalker'](_0xfb190a,_0x1f19e9),_0x2b368e=Array[_0x16cd('0x13')](_0x5e8a33)[_0x16cd('0x37')](({cell:_0x3c4ea3})=>_0x3c4ea3),_0x482a58=se(_0x2b368e[_0x16cd('0x48')](_0x29a066=>_0x29a066[_0x16cd('0x6a')](_0x455c6c))),_0x22f0cb=se(_0x2b368e[_0x16cd('0x48')](_0x3e0d88=>!_0x3e0d88[_0x16cd('0x6a')](_0x455c6c)))[_0x16cd('0x37')](_0x2b1bc9=>_0x4b6341[_0x16cd('0x75')](_0x2b1bc9)),_0x46e9c7=_0x32e3f3['markMultiRangeDeletion'](_0x22f0cb,_0x2edb8c);if(_0x46e9c7&&(_0x16cd('0x23')==_0x46e9c7['subType']||_0x16cd('0xc')==_0x46e9c7[_0x16cd('0xd')])){const _0x3b493e=this[_0x16cd('0x7f')](_0x46e9c7);for(const _0x432c8c of _0x482a58){const _0x311b00=_0x4b6341[_0x16cd('0x75')](_0x432c8c),_0x2e60de=_0x45af24['getCellLocation'](_0x432c8c),_0x36cf9e=_0x432c8c[_0x16cd('0x14')](_0x455c6c)-0x1,_0x4a858d=_0x3b493e[_0x32f846],_0x4cdef7=_0x3b493e[_0x1cd13c];_0x4a858d<=_0x2e60de[_0x34d3b3]&&_0x2e60de[_0x34d3b3]+_0x36cf9e<=_0x4cdef7&&_0x46e9c7['addRange'](_0x311b00);}}});});}function _0x159ede(_0x35e285){const _0x2fbd21=Array[_0x16cd('0x13')](_0x4eaf2d[_0x16cd('0x5f')]())['map'](_0x2beec7=>_0x2fd254[_0x16cd('0x27')](_0x2beec7));_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x5b9f50=>{const _0x5054d5=_0x5b9f50[_0x16cd('0x40')];_0x35e285=_0x35e285[_0x16cd('0x48')](_0x23abc7=>_0x16cd('0x30')!=_0x23abc7[_0x16cd('0x6b')][_0x16cd('0x22')]),_0x5b9f50[_0x16cd('0x39')](_0x35e285),_0x3f94a9[_0x16cd('0x7e')]['get'](_0x16cd('0x44'))['refresh'](),_0x3f94a9['execute'](_0x16cd('0x44'),{'forceDefaultExecution':!0x0}),_0x3f94a9[_0x16cd('0x71')]['enqueueChange'](()=>{_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x6c')](_0x5054d5,_0x42d81f=>{const _0x2a1096=_0x2fbd21[_0x16cd('0x48')](_0xeb2d98=>'$graveyard'!=_0xeb2d98[_0x16cd('0x6b')]['rootName']);_0x2a1096[_0x16cd('0x7c')]>0x0&&_0x42d81f[_0x16cd('0x39')](_0x2a1096);for(const _0x44fae7 of _0x2fbd21)_0x44fae7['detach']();});});});}function _0x3ed122(_0x2909af){_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x49eb33=>{const _0x4751af=Array[_0x16cd('0x13')](_0x4eaf2d['getRanges']())[_0x16cd('0x37')](_0x436955=>_0x2fd254[_0x16cd('0x27')](_0x436955)),_0x5a76dd=[];for(const _0x4b79a8 of _0x2909af)for(const _0x35cf62 of _0x4b79a8[_0x16cd('0x4b')]({'shallow':!0x0}))_0x5a76dd[_0x16cd('0x63')](_0x35cf62);for(const _0x27a367 of _0x5a76dd)_0x16cd('0x30')!=_0x27a367['root'][_0x16cd('0x22')]&&(_0x49eb33['setSelection'](_0x49eb33[_0x16cd('0xa')](_0x27a367,0x0)),_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x16cd('0x1f'))[_0x16cd('0x1d')](),_0x3f94a9[_0x16cd('0x70')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x36e52c=_0x4751af[_0x16cd('0x48')](_0x2c01b1=>'$graveyard'!=_0x2c01b1[_0x16cd('0x6b')][_0x16cd('0x22')]);_0x36e52c['length']>0x0&&_0x49eb33[_0x16cd('0x39')](_0x36e52c);for(const _0x16ec35 of _0x4751af)_0x16ec35[_0x16cd('0x76')]();});}function _0x5c35de(_0x8f19f8,_0x50cfe4){return _0x50cfe4[_0x16cd('0xe')](_0xb52208=>_0x8f19f8[_0x16cd('0x52')](_0x27577d=>_0x27577d[_0x16cd('0x3c')][_0x16cd('0x36')](_0xb52208[_0x16cd('0x15')])||_0xb52208[_0x16cd('0x3c')][_0x16cd('0x36')](_0x27577d[_0x16cd('0x15')])));}function _0xbdc88c(_0x43d335,_0x3946e0){return _0x43d335[_0x16cd('0x52')](_0xc2614=>_0x3946e0[_0x16cd('0x52')](_0x5b1305=>_0xc2614['end']['isTouching'](_0x5b1305[_0x16cd('0x15')])));}_0x3f94a9[_0x16cd('0x55')][_0x16cd('0x2c')]['on'](_0x16cd('0x78'),(_0x209dcf,_0x457c5f,_0x4369d1)=>{if(!_0x4369d1[_0x16cd('0x69')][_0x16cd('0x5b')])return;const _0x2d6051=_0x457c5f['item'];if(!_0x2d6051)return;const _0x6cc845=_0x4369d1[_0x16cd('0x80')]['toViewElement'](_0x2d6051);function _0x29d65a(_0x37f9e7){return Array[_0x16cd('0x88')](_0x37f9e7)?_0x37f9e7:[_0x37f9e7];}_0x6cc845&&'tableCell'===_0x2d6051[_0x16cd('0x67')]&&_0x3825de(_0x6cc845,_0x4369d1[_0x16cd('0x26')],(_0x34203e,_0x5d4818,_0x37b04e)=>_0x37b04e[_0x16cd('0x53')](_0x29d65a(_0x5d4818[_0x16cd('0x3d')]),_0x34203e),(_0x21ad38,_0x32b9e8,_0x276ddf)=>_0x276ddf[_0x16cd('0x1b')](_0x29d65a(_0x32b9e8['classes']),_0x21ad38));},{'priority':'highest'}),_0x32e3f3[_0x16cd('0x65')][_0x16cd('0x34')](_0x100d0d=>{if(_0x16cd('0x64')!=_0x100d0d[_0x16cd('0x2b')]&&'deletion'!=_0x100d0d[_0x16cd('0x2b')])return;const _0x5ef19f=_0x100d0d[_0x16cd('0x28')]();if(null!=_0x5ef19f&&_0x5ef19f['is'](_0x16cd('0x2'),_0x16cd('0x35'))){if(_0x16cd('0x64')==_0x100d0d[_0x16cd('0x2b')]){const _0x325dba=_0x100d0d['getItems']()[_0x16cd('0x48')](_0x5d68e7=>_0x5d68e7['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x288be6=>_0x288be6[_0x16cd('0x55')]);if(_0x325dba[_0x16cd('0x7c')])return{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x18'),'\x22'+_0x325dba['join']('\x20')+'\x22'))};}if('deletion'==_0x100d0d[_0x16cd('0x2b')]){const _0x8a6689=_0x100d0d[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x591311=>_0x591311['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x1e6a85=>_0x1e6a85[_0x16cd('0x55')]);if(_0x8a6689['length'])return{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,'*Remove:*\x20%0',_0x200c9c(_0x3d15be,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x8a6689['join']('\x20')+'\x22'))};}}}),_0x32e3f3['_descriptionFactory'][_0x16cd('0x34')](_0x5c74f8=>{if(_0x16cd('0x23')==_0x5c74f8[_0x16cd('0xd')]){const _0x2cfce5=_0x5c74f8[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x4f69c6=>_0x4f69c6['is'](_0x16cd('0x51')))['map'](_0x1ca9ad=>_0x1ca9ad['data']),_0xe83f78=this[_0x16cd('0x7f')](_0x5c74f8),_0x39f971=_0xe83f78[_0x16cd('0x50')]-_0xe83f78['minRow']+0x1;if(_0x16cd('0x64')==_0x5c74f8['type'])return _0x2cfce5['length']?{'type':'insertion','content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x57'),[_0x39f971,'\x22'+_0x2cfce5['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x4a'),_0x39f971))};if(_0x16cd('0xb')==_0x5c74f8[_0x16cd('0x2b')])return _0x2cfce5[_0x16cd('0x7c')]?{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,'*Remove:*\x20%0',_0x200c9c(_0x3d15be,_0x16cd('0x57'),[_0x39f971,'\x22'+_0x2cfce5[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x4a'),_0x39f971))};}if('tableColumn'==_0x5c74f8[_0x16cd('0xd')]){const _0x11265d=_0x5c74f8[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x18433e=>_0x18433e['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x3a31de=>_0x3a31de[_0x16cd('0x55')]),_0x4aaf8d=this['_getSuggestionCoords'](_0x5c74f8),_0x4590cb=_0x4aaf8d[_0x16cd('0x12')]-_0x4aaf8d[_0x16cd('0x4e')]+0x1;if(_0x16cd('0x64')==_0x5c74f8[_0x16cd('0x2b')])return _0x11265d[_0x16cd('0x7c')]?{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x1c'),[_0x4590cb,'\x22'+_0x11265d[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x62'),_0x4590cb))};if(_0x16cd('0xb')==_0x5c74f8['type'])return _0x11265d[_0x16cd('0x7c')]?{'type':'deletion','content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x1c'),[_0x4590cb,'\x22'+_0x11265d[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x62'),_0x4590cb))};}}),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')]('insertion',_0x16cd('0x23'),_0x16cd('0x54'),_0x159ede),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')]('deletion','tableRow','accept',_0x159ede),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')](_0x16cd('0x64'),_0x16cd('0xc'),'discard',_0x3ed122),_0x32e3f3['_suggestionFactory'][_0x16cd('0x73')]('deletion',_0x16cd('0xc'),_0x16cd('0x5e'),_0x3ed122),_0x32e3f3[_0x16cd('0x5c')]['registerCustomCallback'](_0x16cd('0x64'),_0x16cd('0xc'),'join',_0x5c35de),_0x32e3f3['_suggestionFactory'][_0x16cd('0x73')]('deletion',_0x16cd('0xc'),_0x16cd('0x56'),_0x5c35de),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')](_0x16cd('0x64'),'tableRow',_0x16cd('0x56'),_0xbdc88c),_0x32e3f3[_0x16cd('0x5c')]['registerCustomCallback'](_0x16cd('0xb'),_0x16cd('0x23'),_0x16cd('0x56'),_0xbdc88c);}[_0x16cd('0x68')](){const _0x2fa25c=this[_0x16cd('0x66')],_0x4cdc7e=_0x2fa25c[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x87')];return(_0x1d13e4,_0x4fd1f8)=>{_0x2fa25c[_0x16cd('0x71')][_0x16cd('0x24')](_0x27dca1=>{const {commandName:_0x478a02,commandParams:_0x30b394}=_0x4fd1f8;let _0x30f454=_0x1d13e4[0x0][_0x16cd('0x3c')][_0x16cd('0x7b')];_0x30b394&&_0x30b394[0x0]&&!0x1===_0x30b394[0x0][_0x16cd('0x31')]&&(_0x30f454=_0x1d13e4[0x0][_0x16cd('0x15')][_0x16cd('0x60')]);const _0x522fd8=_0x27dca1[_0x16cd('0x38')](_0x30f454);if(_0x16cd('0x30')==_0x522fd8[_0x16cd('0x6b')][_0x16cd('0x22')])return;const _0x4349ca=Array[_0x16cd('0x13')](_0x4cdc7e[_0x16cd('0x5f')]())[_0x16cd('0x37')](_0x400c5d=>_0x2fd254[_0x16cd('0x27')](_0x400c5d));_0x27dca1['setSelection'](_0x522fd8),_0x2fa25c[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x478a02)[_0x16cd('0x1d')](),_0x30b394[_0x16cd('0x63')]({'forceDefaultExecution':!0x0}),_0x2fa25c[_0x16cd('0x70')](_0x478a02,..._0x30b394);const _0xe69820=_0x4349ca[_0x16cd('0x48')](_0xf8cbf8=>'$graveyard'!=_0xf8cbf8[_0x16cd('0x6b')][_0x16cd('0x22')]);_0xe69820[_0x16cd('0x7c')]>0x0&&_0x27dca1[_0x16cd('0x39')](_0xe69820);for(const _0x1185c0 of _0x4349ca)_0x1185c0[_0x16cd('0x76')]();});};}[_0x16cd('0x7d')](_0x2a7e59){const _0xddc812=this[_0x16cd('0x66')][_0x16cd('0x5d')]['get'](_0x16cd('0x83'));let _0x116b88=Number[_0x16cd('0x3e')],_0x10e582=Number['MIN_SAFE_INTEGER'],_0x3252cf=Number[_0x16cd('0x3e')],_0x146183=Number['MIN_SAFE_INTEGER'];for(const _0x557e49 of _0x2a7e59){if('$graveyard'==_0x557e49[_0x16cd('0x6b')][_0x16cd('0x22')])continue;const {row:_0x38e30f,column:_0x85318f}=_0xddc812['getCellLocation'](_0x557e49),_0x3cc85a=_0x557e49[_0x16cd('0x6a')](_0x16cd('0x17'))?_0x557e49['getAttribute'](_0x16cd('0x17'))-0x1:0x0,_0x51b8e0=_0x557e49['hasAttribute']('colspan')?_0x557e49[_0x16cd('0x14')](_0x16cd('0x19'))-0x1:0x0;_0x116b88=_0x38e30f<_0x116b88?_0x38e30f:_0x116b88,_0x10e582=_0x38e30f+_0x3cc85a>_0x10e582?_0x38e30f+_0x3cc85a:_0x10e582,_0x3252cf=_0x85318f<_0x3252cf?_0x85318f:_0x3252cf,_0x146183=_0x85318f+_0x51b8e0>_0x146183?_0x85318f+_0x51b8e0:_0x146183;}return{'minRow':_0x116b88,'maxRow':_0x10e582,'minColumn':_0x3252cf,'maxColumn':_0x146183};}[_0x16cd('0x11')](){const _0x79e0ca=this[_0x16cd('0x66')],_0x36bd8e=_0x79e0ca[_0x16cd('0x5d')][_0x16cd('0x2e')](_0x16cd('0x16')),_0x454244=_0x79e0ca['plugins']['get'](_0x16cd('0x83'));_0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')]['on'](_0x16cd('0x6e'),()=>{const _0x55c355=Array['from'](_0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x6d')][_0x16cd('0x20')]());for(const {name:_0x5b53e6,data:_0x54ed84}of _0x55c355){const {group:_0x29f4c9,id:_0x4a479d,subType:_0x78648f}=_0x36bd8e[_0x16cd('0x2d')](_0x5b53e6);if(_0x16cd('0x86')!=_0x29f4c9)continue;if(null!=_0x54ed84['oldRange'])continue;const _0x688730=_0x36bd8e[_0x16cd('0x47')](_0x4a479d);this[_0x16cd('0x7')][_0x16cd('0x58')](_0x78648f)&&this[_0x16cd('0x1a')][_0x16cd('0x33')](_0x688730);}},{'priority':_0x16cd('0x43')});const _0x3d533d=(_0x2a67d4,_0x5a0f51)=>{let _0xcf7ca7=!0x1;const _0x39abc8=_0x5a0f51['createRangeOn'](_0x2a67d4),_0x50bb44=_0x2a67d4['findAncestor'](_0x16cd('0x35')),_0x249715=_0x454244['getCellLocation'](_0x2a67d4);for(const _0x56312b of this['_tableSuggestions']){const _0x503984=_0x56312b[_0x16cd('0xd')],_0x2d7b2d=_0x503984[_0x16cd('0x89')](_0x16cd('0x79')),_0x1fac69=_0x503984[_0x16cd('0x8')](_0x2d7b2d?0xa:0x5),_0x25a0f7=_0x1fac69[_0x16cd('0x2a')](),_0x5472e3=_0x25a0f7['substr'](0x0,0x3)+_0x16cd('0x3'),_0x59e485=_0x16cd('0x5a')+_0x1fac69,_0x45f7da=_0x16cd('0x59')+_0x1fac69;if(!_0x56312b[_0x16cd('0x6f')])continue;if(_0x50bb44!=_0x56312b['getFirstRange']()['start'][_0x16cd('0x45')]('table'))continue;if(_0x56312b[_0x16cd('0x1')](_0x39abc8))continue;const _0x2520af=_0x2a67d4[_0x16cd('0x6a')](_0x5472e3)?_0x2a67d4[_0x16cd('0x14')](_0x5472e3)-0x1:0x0,_0x69fb97=this[_0x16cd('0x7f')](_0x56312b),_0x1c4b5f=_0x69fb97[_0x59e485],_0x59b717=_0x69fb97[_0x45f7da];_0x1c4b5f<=_0x249715[_0x25a0f7]&&_0x249715[_0x25a0f7]+_0x2520af<=_0x59b717&&(_0x56312b[_0x16cd('0xf')](_0x39abc8),_0xcf7ca7=!0x0);}return _0xcf7ca7;};_0x79e0ca['model']['document'][_0x16cd('0x21')](_0x16c154=>{let _0x488c54=!0x1;for(const _0x256d25 of _0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x6d')][_0x16cd('0x74')]())if(_0x16cd('0x2f')==_0x256d25[_0x16cd('0x2b')]){if(_0x16cd('0x23')==_0x256d25[_0x16cd('0x67')])for(const _0x4baf2e of _0x256d25[_0x16cd('0x81')][_0x16cd('0x60')][_0x16cd('0x7a')]())_0x488c54=_0x488c54||_0x3d533d(_0x4baf2e,_0x16c154);else _0x16cd('0x3a')==_0x256d25[_0x16cd('0x67')]&&(_0x488c54=_0x488c54||_0x3d533d(_0x256d25[_0x16cd('0x81')]['nodeAfter'],_0x16c154));}return _0x488c54;});}[_0x16cd('0x7f')](_0x545fe5){return this[_0x16cd('0x7d')](_0x545fe5[_0x16cd('0x5f')]()['map'](_0x3a4da0=>_0x3a4da0[_0x16cd('0x15')][_0x16cd('0x60')]));}}function se(_0x48ea80){return Array[_0x16cd('0x13')](new Set(_0x48ea80)['values']());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x415a=['plugins','TrackChangesEditing','requires','toggleTableCaption','editor','afterInit','TableCaptionEditing'];(function(_0x254984,_0x415a7a){const _0x3542dd=function(_0x25a63d){while(--_0x25a63d){_0x254984['push'](_0x254984['shift']());}};_0x3542dd(++_0x415a7a);}(_0x415a,0x100));const _0x3542=function(_0x254984,_0x415a7a){_0x254984=_0x254984-0x0;let _0x3542dd=_0x415a[_0x254984];return _0x3542dd;};import{Plugin as _0x1f251d}from'ckeditor5/src/core';import _0x54c332 from'./table';export default class Mt extends _0x1f251d{static get[_0x3542('0x5')](){return[_0x54c332];}[_0x3542('0x1')](){const _0x305443=this[_0x3542('0x0')];if(!_0x305443[_0x3542('0x3')]['has'](_0x3542('0x2')))return;_0x305443[_0x3542('0x3')]['get'](_0x3542('0x4'))['enableCommand'](_0x3542('0x6'));}}
23
+ const _0x20db=['get','requires','toggleTableCaption','plugins','enableCommand','editor','has','TableCaptionEditing','afterInit'];(function(_0xdbe793,_0x20dbb4){const _0x4db885=function(_0xe30dd5){while(--_0xe30dd5){_0xdbe793['push'](_0xdbe793['shift']());}};_0x4db885(++_0x20dbb4);}(_0x20db,0x9d));const _0x4db8=function(_0xdbe793,_0x20dbb4){_0xdbe793=_0xdbe793-0x0;let _0x4db885=_0x20db[_0xdbe793];return _0x4db885;};import{Plugin as _0x20a617}from'ckeditor5/src/core';import _0x38095d from'./table';export default class Nt extends _0x20a617{static get[_0x4db8('0x6')](){return[_0x38095d];}[_0x4db8('0x4')](){const _0x32153e=this[_0x4db8('0x1')];if(!_0x32153e['plugins'][_0x4db8('0x2')](_0x4db8('0x3')))return;_0x32153e[_0x4db8('0x8')][_0x4db8('0x5')]('TrackChangesEditing')[_0x4db8('0x0')](_0x4db8('0x7'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ebd=['markerAttributes','columnInsertionIndexes','newRange','ck-suggestion-marker','markMultiRangeInsertion','markMultiRangeDeletion','fill','isEqual','createPositionBefore','add','conversion','markers','cell','formatBlock','model','filter','createRange','getAttributes','createRangeOn','accept','getColumns','markMultiRangeBlockFormat','nodeAfter','getAllAdjacentSuggestions','reduce','updateMarker','tableCellPadding','plugins','row','name','table','tablePaste','unwrap','discard','removeRows','cells','tableCellVerticalAlignment','setAttributes','Users','columnInsertionRanges','registerDescriptionCallback','endColumn','tableCellBackgroundColor','attributes','length','nextSibling','entries','return','forceDefaultExecution','insertContent','wrap','previous','createRangeIn','getRange','value','keys','get','registerPostFixer','getSuggestions','start','documentSelection','getChild','activeMarkers','insertion','locale','_splitMarkerName','batch','registerCustomCallback','low','_replaceTableSlotCell','getTableIfOnlyTableInContent','every','deletionRanges','columns','suggestion-td','afterInit','tablePasteChainId','rowInsertionRanges','suggestion','elementToElement','removeColumns','tableCellSuggestion','first','requires','last','removeMarker','selection','set','from','suggestion:formatBlock:tablePasteCell','stop','tablePasteColumn','removeMarkers','join','author','document','tableCellBorderColor','tablePasteRow','paragraph','getSuggestion','push','position','has','findAncestor','insertRows','TableUtils','rows','view','isInContent','end','suggestionUnloaded','createElement','startsWith','editor','subType','rowInsertionIndexes','root','type','trackChanges','getMarkers','dataDowncast','change','editing','options','getRows','schema','commands','createTableWalker','some','clipboardOutput','redo','tableCellBorderStyle','for','element','map','insert','high','$graveyard','tableCellBorderWidth','markerName','_suggestionFactory','setAttribute','next','remove','tablePasteCell','getRanges','TrackChangesEditing','ck-suggestion-marker-insertion','deletion','tableCell','markerToHighlight','differ','isEmpty','getRowIndexes','containsRange','tableCellHorizontalAlignment','_createdBatches','endRow','insertionRanges','getColumnIndexes','getContainedElement','fromEntries','includes','_getCoordsForCells','getChangedMarkers','_tablePostFixingSubtypes','TableClipboard','insertColumns','getChanges','column','oldRange','find','_descriptionFactory'];(function(_0x23bc96,_0x1ebd2f){const _0x4a374b=function(_0x3e7040){while(--_0x3e7040){_0x23bc96['push'](_0x23bc96['shift']());}};_0x4a374b(++_0x1ebd2f);}(_0x1ebd,0xfa));const _0x4a37=function(_0x23bc96,_0x1ebd2f){_0x23bc96=_0x23bc96-0x0;let _0x4a374b=_0x1ebd[_0x23bc96];return _0x4a374b;};import{getTranslation as _0x4308f8}from'../utils/common-translations';import{Plugin as _0x31dbff}from'ckeditor5/src/core';import{uid as _0x2016c9,priorities as _0x2e92b9}from'ckeditor5/src/utils';import _0x1a5294 from'./table';const le=[_0x4a37('0x3d'),_0x4a37('0x13'),_0x4a37('0x36'),_0x4a37('0x4e'),_0x4a37('0x84'),_0x4a37('0x8a'),_0x4a37('0x7a')],ae=Object[_0x4a37('0x54')](le[_0x4a37('0x39')](_0x129226=>[_0x129226,null]));export default class At extends _0x31dbff{static get[_0x4a37('0x6')](){return[_0x1a5294];}[_0x4a37('0xab')](){const _0x3a2e20=this[_0x4a37('0x24')];if(!_0x3a2e20[_0x4a37('0x7b')]['has'](_0x4a37('0x59')))return;const _0x12903c=_0x3a2e20[_0x4a37('0x7b')]['get'](_0x4a37('0x45')),_0x1582ee=_0x3a2e20[_0x4a37('0x7b')]['get'](_0x4a37('0x1c')),_0x49c4f0=_0x3a2e20[_0x4a37('0x7b')]['get'](_0x1a5294),_0x408063=_0x3a2e20[_0x4a37('0x7b')][_0x4a37('0x98')](_0x4a37('0x59'));_0x49c4f0[_0x4a37('0x58')][_0x4a37('0x17')]('tablePasteRow',_0x4a37('0xe')),_0x3a2e20['model'][_0x4a37('0x30')]['register'](_0x4a37('0x4'),{'allowIn':_0x4a37('0x48'),'allowContentOf':_0x4a37('0x48'),'isLimit':!0x0}),_0x3a2e20[_0x4a37('0x6a')][_0x4a37('0x2')]({'model':_0x4a37('0x4'),'view':_0x4a37('0xaa')});let _0x5a29ef=null;_0x3a2e20['model']['on'](_0x4a37('0x91'),(_0x4a6a29,_0x4b333b)=>{const [_0x4d069f,_0x343a99]=_0x4b333b,_0xcb9a3b=_0x4b333b[_0x4b333b[_0x4a37('0x8c')]-0x1];_0xcb9a3b&&_0xcb9a3b[_0x4a37('0x90')]||_0x12903c['_isForcedDefaultExecutionBlock']||this[_0x4a37('0x24')][_0x4a37('0x31')][_0x4a37('0x98')](_0x4a37('0x29'))[_0x4a37('0x96')]&&function(_0x5e2b67,_0x45aaf8,_0x464b8d,_0xa6dcab,_0x338d61){if(_0x45aaf8&&!_0x45aaf8['is'](_0x4a37('0x9c')))return!0x1;const _0x2bc066=_0x338d61[_0x4a37('0xa6')](_0x5e2b67,_0x464b8d);if(!_0x2bc066||!fe(_0x2bc066,void 0x0,_0xa6dcab))return!0x1;const _0xd61aa7=_0xa6dcab['getSelectionAffectedTableCells'](_0x464b8d[_0x4a37('0x12')][_0x4a37('0x9')]);if(!_0xd61aa7['length'])return!0x1;const _0x5a5a32=_0xd61aa7[0x0][_0x4a37('0x1a')](_0x4a37('0x7e')),_0x11787f=_0xa6dcab[_0x4a37('0x4c')](_0xd61aa7),_0x3af6e6=_0xa6dcab[_0x4a37('0x52')](_0xd61aa7),_0x32ab99={'startRow':_0x11787f[_0x4a37('0x5')],'endRow':_0x11787f[_0x4a37('0x7')],'startColumn':_0x3af6e6['first'],'endColumn':_0x3af6e6[_0x4a37('0x7')]};return 0x1==_0xd61aa7[_0x4a37('0x8c')]&&(_0x32ab99[_0x4a37('0x50')]+=_0xa6dcab[_0x4a37('0x2f')](_0x2bc066)-0x1,_0x32ab99[_0x4a37('0x89')]+=_0xa6dcab[_0x4a37('0x74')](_0x2bc066)-0x1),fe(_0x5a5a32,_0x32ab99,_0xa6dcab);}(_0x4d069f,_0x343a99,_0x3a2e20['model'],_0x1582ee,_0x408063)&&(_0x4a6a29[_0x4a37('0xd')](),_0x5a29ef={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x2c')](()=>{_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x91')](_0x4b333b[0x0],_0x4b333b[0x1],_0x4b333b[0x2],{'forceDefaultExecution':!0x0});const _0x2c6edd=_0x2016c9(),{rowInsertionRanges:_0x55adf6,columnInsertionRanges:_0x28ee66,insertionRanges:_0x2d588a,deletionRanges:_0x3c4bab,cells:_0x4ff681}=_0x5a29ef;_0x55adf6[_0x4a37('0x8c')]&&_0x12903c[_0x4a37('0x64')](_0x55adf6,_0x4a37('0x14'),{'tablePasteChainId':_0x2c6edd}),_0x28ee66[_0x4a37('0x8c')]&&_0x12903c[_0x4a37('0x64')](_0x28ee66,_0x4a37('0xe'),{'tablePasteChainId':_0x2c6edd}),_0x2d588a[_0x4a37('0x8c')]&&_0x12903c[_0x4a37('0x64')](_0x2d588a,'tablePaste',{'tablePasteChainId':_0x2c6edd,'skipNestingCheck':!0x0}),_0x3c4bab[_0x4a37('0x8c')]&&_0x12903c[_0x4a37('0x65')](_0x3c4bab,_0x4a37('0x7f'),{'tablePasteChainId':_0x2c6edd,'skipNestingCheck':!0x0});const _0x586d96=_0x12903c[_0x4a37('0x75')](_0x4ff681['map'](({element:_0x2d8c6})=>_0x2d8c6),{'formatGroupId':_0x2016c9()},[],_0x4a37('0x43'),{'tablePasteChainId':_0x2c6edd});if(_0x586d96){const _0x5ce368=_0x586d96['getMarkers'](),_0x53bff4=[];for(const {element:_0x381509,attributes:_0x1f8ebb}of _0x4ff681){if(!_0x1f8ebb)continue;const _0x3980a4=_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x72')](_0x381509),_0x7f9c88=_0x5ce368[_0x4a37('0x5e')](_0x5b112e=>_0x5b112e[_0x4a37('0x95')]()[_0x4a37('0x67')](_0x3980a4));_0x7f9c88&&_0x53bff4['push']([_0x7f9c88['name'],_0x1f8ebb]);}_0x53bff4[_0x4a37('0x8c')]&&_0x586d96[_0x4a37('0x40')](_0x4a37('0x60'),Object[_0x4a37('0x54')](_0x53bff4));}_0x5a29ef=null;}));},{'priority':_0x2e92b9[_0x4a37('0x3b')]+0xa}),_0x3a2e20[_0x4a37('0x7b')][_0x4a37('0x98')](_0x4a37('0x59'))['on'](_0x4a37('0xa5'),(_0x3ef9dd,_0x329d58)=>{const [_0x1ff843,_0x2da40d,,_0x525b2f]=_0x329d58;if(!_0x5a29ef)return;_0x3ef9dd['stop']();const _0x5be5ba=_0x1ff843[_0x4a37('0x6c')],_0x387f0c=_0x2da40d,_0x127ed2=ce(_0x5be5ba),_0x2d5dd7=ce(_0x387f0c);_0x3ef9dd[_0x4a37('0x8f')]=_0x5be5ba;let _0x2ef8ea=null,_0x2f4088=null;if(_0x2d5dd7||_0x127ed2){if(_0x127ed2&&!_0x2d5dd7){_0x525b2f[_0x4a37('0x42')](_0x5be5ba[_0x4a37('0x9d')](0x0));for(const _0x51630b of Array[_0x4a37('0xb')](_0x387f0c['getChildren']()))_0x525b2f['insert'](_0x51630b,_0x5be5ba,_0x4a37('0x20'));const _0x13eb44=_0x5a29ef[_0x4a37('0x26')][_0x4a37('0x55')](_0x1ff843[_0x4a37('0x7c')]),_0x1c5783=_0x5a29ef[_0x4a37('0x61')][_0x4a37('0x55')](_0x1ff843[_0x4a37('0x5c')]);_0x13eb44||_0x1c5783||(_0x2ef8ea=_0x525b2f[_0x4a37('0x94')](_0x5be5ba));}else _0x2d5dd7&&!_0x127ed2&&(_0x2f4088=_0x525b2f[_0x4a37('0x94')](_0x5be5ba));}else{const _0x25d3bc=_0x525b2f[_0x4a37('0x22')](_0x4a37('0x4')),_0x508d07=_0x525b2f['createElement'](_0x4a37('0x4'));_0x525b2f[_0x4a37('0x92')](_0x525b2f[_0x4a37('0x94')](_0x5be5ba),_0x508d07),_0x525b2f['insert'](_0x25d3bc,_0x5be5ba,0x0);for(const _0x184d8e of Array['from'](_0x387f0c['getChildren']()))_0x525b2f[_0x4a37('0x3a')](_0x184d8e,_0x25d3bc,_0x4a37('0x20'));_0x2ef8ea=_0x525b2f[_0x4a37('0x72')](_0x25d3bc),_0x2f4088=_0x525b2f['createRangeOn'](_0x508d07);}const _0x54a22c=Array[_0x4a37('0xb')](_0x387f0c[_0x4a37('0x71')]())[_0x4a37('0x6f')](([_0x16e6d0])=>le['includes'](_0x16e6d0));_0x5a29ef['cells'][_0x4a37('0x17')]({'element':_0x5be5ba,'attributes':_0x54a22c[_0x4a37('0x8c')]?Object['fromEntries'](_0x54a22c):null}),_0x2ef8ea&&_0x5a29ef[_0x4a37('0x51')][_0x4a37('0x17')](_0x2ef8ea),_0x2f4088&&_0x5a29ef[_0x4a37('0xa8')][_0x4a37('0x17')](_0x2f4088);},{'priority':_0x4a37('0x3b')}),_0x1582ee['on'](_0x4a37('0x5a'),(_0x8869c4,_0x3caf71)=>{const [_0x229705,_0x8e9cfc={}]=_0x3caf71;if(!_0x5a29ef)return;const _0x1fd747=_0x8e9cfc['at']||0x0,_0x2f1f72=_0x8e9cfc[_0x4a37('0xa9')]||0x1;_0x5a29ef[_0x4a37('0x61')]=new Array(_0x2f1f72)[_0x4a37('0x66')](_0x1fd747)['map']((_0x343e92,_0x404c23)=>_0x343e92+_0x404c23);for(const {cell:_0x2c12ce}of _0x1582ee[_0x4a37('0x32')](_0x229705,{'startColumn':_0x1fd747,'endColumn':_0x1fd747+_0x2f1f72-0x1}))_0x5a29ef[_0x4a37('0x87')]['push'](_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x72')](_0x2c12ce));},{'priority':_0x4a37('0xa4')}),_0x1582ee['on'](_0x4a37('0x1b'),(_0xdd47c2,_0x2d36c7)=>{const [_0x1fc56a,_0x5f0ab2={}]=_0x2d36c7;if(!_0x5a29ef)return;const _0x5f13e5=_0x5f0ab2['at']||0x0,_0x3190a5=_0x5f0ab2[_0x4a37('0x1d')]||0x1;_0x5a29ef[_0x4a37('0x26')]=new Array(_0x3190a5)['fill'](_0x5f13e5)['map']((_0x195a59,_0x53c508)=>_0x195a59+_0x53c508);for(const {cell:_0x487a8e}of _0x1582ee['createTableWalker'](_0x1fc56a,{'startRow':_0x5f13e5,'endRow':_0x5f13e5+_0x3190a5-0x1}))_0x5a29ef[_0x4a37('0x0')][_0x4a37('0x17')](_0x3a2e20[_0x4a37('0x6e')]['createRangeOn'](_0x487a8e));},{'priority':_0x4a37('0xa4')}),_0x12903c[_0x4a37('0x5f')][_0x4a37('0x88')](_0xe147d=>{if(_0xe147d[_0x4a37('0x25')]&&_0xe147d[_0x4a37('0x25')]['startsWith'](_0x4a37('0x7f')))return _0xe147d[_0x4a37('0x93')]?{}:{'type':_0x4a37('0x9f'),'content':_0x4308f8(_0x3a2e20[_0x4a37('0xa0')],'*Replace\x20table\x20cells*')};});const _0x5e5bbd=()=>!0x1;for(const _0x1e1426 of[_0x4a37('0x7f'),'tablePasteColumn',_0x4a37('0x14'),_0x4a37('0x43')])_0x12903c[_0x4a37('0x3f')][_0x4a37('0xa3')]('insertion',_0x1e1426,_0x4a37('0x10'),_0x5e5bbd),_0x12903c[_0x4a37('0x3f')]['registerCustomCallback']('deletion',_0x1e1426,_0x4a37('0x10'),_0x5e5bbd),_0x12903c[_0x4a37('0x3f')]['registerCustomCallback'](_0x4a37('0x6d'),_0x1e1426,_0x4a37('0x10'),_0x5e5bbd);_0x12903c[_0x4a37('0x3f')][_0x4a37('0xa3')]('formatBlock',_0x4a37('0x43'),_0x4a37('0x81'),_0x5e5bbd),_0x12903c[_0x4a37('0x3f')]['registerCustomCallback'](_0x4a37('0x6d'),'tablePasteCell',_0x4a37('0x73'),(_0x2a873c,_0x5134c1,_0x1d72bc)=>{const _0x3809f7=_0x2a873c[_0x4a37('0x39')](_0x12d592=>_0x12d592[_0x4a37('0x53')]())['filter'](_0xc75d6b=>_0xc75d6b),_0x16b922=new Map(_0x3809f7[_0x4a37('0x39')](_0x139433=>[_0x139433,null]));if(_0x5a29ef)for(const {element:_0x223806,attributes:_0x22d5d0}of _0x5a29ef[_0x4a37('0x83')])_0x22d5d0&&_0x16b922['set'](_0x223806,_0x22d5d0);else{if(_0x1d72bc&&_0x1d72bc['markerAttributes'])for(const [_0x3bc92d,_0xaccaae]of Object[_0x4a37('0x8e')](_0x1d72bc['markerAttributes'])){const _0x5b295d=_0x3a2e20['model'][_0x4a37('0x6b')][_0x4a37('0x98')](_0x3bc92d),_0x22d695=_0x5b295d?_0x5b295d[_0x4a37('0x95')]()[_0x4a37('0x53')]():null;_0x22d695&&_0x16b922[_0x4a37('0xa')](_0x22d695,_0xaccaae);}}_0x3a2e20['model'][_0x4a37('0x2c')](_0x21541d=>{for(const [_0x2dfdb3,_0x440125]of _0x16b922)_0x21541d[_0x4a37('0x85')]({...ae,..._0x440125},_0x2dfdb3);});});const _0x488931=(_0x41e6d7,_0x1b3e37)=>{_0x12903c['_suggestionFactory'][_0x4a37('0xa3')](_0x41e6d7,_0x4a37('0x7f'),_0x1b3e37,(_0x12a9df,_0x5a83fd,_0x4c5958)=>{_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x2c')](_0x5da478=>{const _0x3204f5=[];for(const _0x542261 of _0x12a9df){const _0x4b3d50=_0x542261[_0x4a37('0x9b')][_0x4a37('0x76')];_0x4b3d50['is'](_0x4a37('0x38'),_0x4a37('0x4'))&&_0x3204f5[_0x4a37('0x17')](_0x4b3d50);}_0x12903c[_0x4a37('0x3f')]['getSuggestionCallback'](_0x41e6d7,null,_0x1b3e37)(_0x12a9df,_0x5a83fd,_0x4c5958);for(const _0x3e357c of _0x3204f5)_0x4a37('0x3c')!=_0x3e357c[_0x4a37('0x27')]['rootName']&&_0x5da478[_0x4a37('0x80')](_0x3e357c);});});};_0x488931(_0x4a37('0x9f'),_0x4a37('0x73')),_0x488931('insertion','discard'),_0x488931(_0x4a37('0x47'),_0x4a37('0x73')),_0x488931('deletion',_0x4a37('0x81')),_0x12903c[_0x4a37('0x3f')][_0x4a37('0xa3')]('insertion',_0x4a37('0x14'),_0x4a37('0x81'),_0x19a1cf=>{const _0xb27226=_0x19a1cf[_0x4a37('0x39')](_0x2a5cea=>_0x2a5cea[_0x4a37('0x53')]()),_0x2e3657=_0xb27226[0x0][_0x4a37('0x1a')](_0x4a37('0x7e')),{minRow:_0x4bedb3,maxRow:_0x312927}=_0x49c4f0[_0x4a37('0x56')](_0xb27226);_0x1582ee[_0x4a37('0x82')](_0x2e3657,{'at':_0x4bedb3,'rows':_0x312927-_0x4bedb3+0x1});}),_0x12903c[_0x4a37('0x3f')]['registerCustomCallback'](_0x4a37('0x9f'),'tablePasteColumn',_0x4a37('0x81'),_0x272ee6=>{const _0x457662=_0x272ee6[_0x4a37('0x39')](_0x24eca4=>_0x24eca4[_0x4a37('0x53')]()),_0x23359f=_0x457662[0x0][_0x4a37('0x1a')]('table'),{minColumn:_0x520042,maxColumn:_0xbc22c7}=_0x49c4f0[_0x4a37('0x56')](_0x457662);_0x1582ee[_0x4a37('0x3')](_0x23359f,{'at':_0x520042,'columns':_0xbc22c7-_0x520042+0x1});});const _0x299e6e=(_0xc51b85,_0x4a1692)=>{if(!_0x4a1692[_0x4a37('0x25')]||!_0x4a1692[_0x4a37('0x25')][_0x4a37('0x23')](_0x4a37('0x7f')))return;const _0x12706b=_0x4a1692[_0x4a37('0x8b')][_0x4a37('0xac')],_0xa05a4a=_0x12903c[_0x4a37('0x9a')]()[_0x4a37('0x6f')](_0x18e34a=>_0x18e34a[_0x4a37('0x1f')]&&_0x18e34a[_0x4a37('0x8b')]&&_0x18e34a[_0x4a37('0x8b')][_0x4a37('0xac')]==_0x12706b);_0xa05a4a[_0x4a37('0x8c')]&&_0x4a1692[_0x4a37('0x77')]()[_0x4a37('0x8c')]!=_0xa05a4a[_0x4a37('0x8c')]&&_0xa05a4a[_0x4a37('0x78')]((_0x2167f9,_0x35a22c)=>(_0x2167f9[_0x4a37('0x41')]=_0x35a22c,_0x35a22c[_0x4a37('0x93')]=_0x2167f9,_0x35a22c));};function _0x13afa5(_0x30a961,_0x3e2d63=!0x0){const {id:_0x191d01}=_0x12903c[_0x4a37('0xa1')](_0x30a961[_0x4a37('0x3e')]),_0x35bdb1=[_0x4a37('0x63'),_0x4a37('0x46')],_0x1e962d=_0x12903c[_0x4a37('0x9e')][_0x4a37('0x55')](_0x30a961[_0x4a37('0x3e')]);return _0x1e962d&&_0x35bdb1[_0x4a37('0x17')]('ck-suggestion-marker--active'),{'classes':_0x35bdb1,'attributes':{'data-suggestion':_0x191d01},'priority':_0x1e962d&&_0x3e2d63?0xbc2:0xbb8};}_0x12903c['on']('suggestionLoaded',_0x299e6e,{'priority':'high'}),_0x12903c['on'](_0x4a37('0x21'),_0x299e6e,{'priority':_0x4a37('0x3b')}),_0x3a2e20['model'][_0x4a37('0x12')][_0x4a37('0x99')](()=>{let _0x1a828f=!0x1;const _0x409e5b=Array['from'](_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x12')]['differ'][_0x4a37('0x57')]());for(const {name:_0x289424,data:_0x3aa366}of _0x409e5b){const {group:_0x423f58,type:_0x3de911,id:_0x2ca06e}=_0x12903c[_0x4a37('0xa1')](_0x289424);if(_0x4a37('0x1')!=_0x423f58||'deletion'!=_0x3de911||_0x3aa366[_0x4a37('0x5d')])continue;if(!_0x12903c['hasSuggestion'](_0x2ca06e))continue;const _0x4f7dac=_0x12903c[_0x4a37('0x16')](_0x2ca06e)['getRanges'](),_0x3c0921=_0x3a2e20[_0x4a37('0x7b')][_0x4a37('0x98')]('Users')['me'];for(const _0x38c014 of _0x12903c[_0x4a37('0x9a')]()){if(!_0x38c014[_0x4a37('0x1f')]||_0x38c014[_0x4a37('0x11')]!=_0x3c0921)continue;if('formatBlock'!=_0x38c014[_0x4a37('0x28')]||_0x4a37('0x43')!=_0x38c014[_0x4a37('0x25')])continue;if(_0x38c014[_0x4a37('0x44')]()[_0x4a37('0xa7')](_0xf522f4=>_0x4f7dac[_0x4a37('0x33')](_0x25abe3=>_0x25abe3[_0x4a37('0x4d')](_0xf522f4,!0x0))))for(const _0x21991b of _0x38c014[_0x4a37('0x77')]())_0x21991b['isInContent']&&(_0x21991b[_0x4a37('0x81')](),_0x1a828f=!0x0);}}return _0x1a828f;}),_0x3a2e20[_0x4a37('0x6e')]['document']['registerPostFixer'](_0x4481f4=>{const _0x3104f3=_0x3a2e20[_0x4a37('0x31')]['get'](_0x4a37('0x35'));if(!_0x3104f3||!_0x3104f3[_0x4a37('0x4f')][_0x4a37('0x19')](_0x4481f4[_0x4a37('0xa2')]))return!0x1;let _0x1fb19e=!0x1;const _0x5ad08b=_0x3a2e20[_0x4a37('0x7b')]['get'](_0x4a37('0x86'))['me'],_0x3ff5ac=_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x12')][_0x4a37('0x4a')][_0x4a37('0x5b')](),_0x42202e=Array['from'](_0x3a2e20['model']['document'][_0x4a37('0x4a')]['getChangedMarkers']())['filter'](({name:_0x111321,data:_0x33167e})=>{const {group:_0x1e1ab1,subType:_0x45fa6e,authorId:_0x25c5a8}=_0x12903c[_0x4a37('0xa1')](_0x111321);return _0x4a37('0x1')==_0x1e1ab1&&'tablePaste'==_0x45fa6e&&_0x25c5a8==_0x5ad08b['id']&&!_0x33167e[_0x4a37('0x5d')];});for(const _0x1b4a9a of _0x3ff5ac){if(_0x4a37('0x3a')!=_0x1b4a9a[_0x4a37('0x28')]||_0x4a37('0x4')!=_0x1b4a9a[_0x4a37('0x7d')]||0x1!=_0x1b4a9a[_0x4a37('0x8c')])continue;const _0x13aed4=_0x4481f4[_0x4a37('0x70')](_0x1b4a9a[_0x4a37('0x18')],_0x1b4a9a['position']['getShiftedBy'](0x1));if(!_0x42202e[_0x4a37('0x5e')](({data:_0xb1d28})=>_0xb1d28[_0x4a37('0x62')]['isEqual'](_0x13aed4)))for(const {name:_0x530f8e,data:_0x437434}of _0x42202e)if(_0x13aed4['containsRange'](_0x437434['newRange'])){_0x4481f4[_0x4a37('0x79')](_0x530f8e,{'range':_0x13aed4}),_0x1fb19e=!0x0;break;}}return _0x1fb19e;}),_0x3a2e20[_0x4a37('0x6e')][_0x4a37('0x12')][_0x4a37('0x99')](_0x448d5f=>{let _0x5c252d=!0x1;const _0x55f596=_0x3a2e20[_0x4a37('0x7b')][_0x4a37('0x98')]('Users')['me'],_0x5f45d7=_0x12903c[_0x4a37('0x9a')]()[_0x4a37('0x6f')](_0x528ee9=>_0x528ee9['isInContent']&&_0x528ee9[_0x4a37('0x11')]==_0x55f596),_0xa0062=new Set(),_0x50de19=new Set();for(const _0x8d5d1a of _0x5f45d7)if(_0x4a37('0x7f')==_0x8d5d1a[_0x4a37('0x25')])for(const _0xeb4914 of _0x8d5d1a[_0x4a37('0x2a')]()){const _0xbf8be5=_0xeb4914[_0x4a37('0x95')]()[_0x4a37('0x53')]();if(_0xbf8be5){if(_0xbf8be5['is'](_0x4a37('0x38'),_0x4a37('0x4'))&&ce(_0xbf8be5)){_0x8d5d1a[_0x4a37('0x8')](_0xeb4914['name']),_0xa0062[_0x4a37('0x69')](_0xbf8be5),_0x5c252d=!0x0;const _0x1f6f02=_0xbf8be5[_0x4a37('0x8d')],_0x358b8a=_0xbf8be5['previousSibling'],_0x35ad74=_0x1f6f02&&_0x1f6f02['is'](_0x4a37('0x38'),_0x4a37('0x4')),_0x2a58d8=_0x358b8a&&_0x358b8a['is']('element',_0x4a37('0x4'));_0x35ad74&&!_0xa0062[_0x4a37('0x19')](_0x1f6f02)&&_0x50de19[_0x4a37('0x69')](_0x1f6f02),_0x2a58d8&&!_0xa0062[_0x4a37('0x19')](_0x358b8a)&&_0x50de19[_0x4a37('0x69')](_0x358b8a);}else _0xbf8be5['is'](_0x4a37('0x38'),_0x4a37('0x15'))&&_0xbf8be5[_0x4a37('0x4b')]&&(_0x8d5d1a[_0x4a37('0x8')](_0xeb4914['name']),_0x5c252d=!0x0);}}else{if(_0x4a37('0x43')==_0x8d5d1a[_0x4a37('0x25')]){if(!_0x8d5d1a[_0x4a37('0x8b')]||!_0x8d5d1a[_0x4a37('0x8b')][_0x4a37('0xac')])continue;const _0x1108f8=_0x8d5d1a[_0x4a37('0x8b')][_0x4a37('0x60')];if(_0x1108f8&&Object[_0x4a37('0x97')](_0x1108f8)[_0x4a37('0x8c')])continue;const _0x4360c5=_0x8d5d1a['attributes'][_0x4a37('0xac')];let _0x3c724e=!0x0,_0x1afd41=!0x0;for(const _0xfb6240 of _0x5f45d7)if(_0xfb6240['subType']&&_0xfb6240[_0x4a37('0x25')][_0x4a37('0x23')](_0x4a37('0x7f'))){if(!_0xfb6240['attributes'][_0x4a37('0xac')]){_0x1afd41=!0x1;break;}if(_0xfb6240['id']!=_0x8d5d1a['id']&&_0xfb6240['attributes']['tablePasteChainId']==_0x4360c5){_0x3c724e=!0x1;break;}}_0x1afd41&&_0x3c724e&&(_0x8d5d1a[_0x4a37('0xf')](),_0x5c252d=!0x0);}}for(const _0x9b4478 of _0xa0062)_0x448d5f[_0x4a37('0x42')](_0x9b4478);for(const _0x1ceb82 of _0x50de19)_0x448d5f[_0x4a37('0x80')](_0x1ceb82);return _0x5c252d;}),_0x3a2e20[_0x4a37('0x6a')][_0x4a37('0x37')]('editingDowncast')[_0x4a37('0x49')]({'model':_0x4a37('0xc'),'view':(_0x537026,_0x580ca0)=>_0x13afa5(_0x537026),'converterPriority':_0x4a37('0x3b')}),_0x3a2e20[_0x4a37('0x6a')][_0x4a37('0x37')](_0x4a37('0x2b'))[_0x4a37('0x49')]({'model':_0x4a37('0xc'),'view':(_0x2756cf,_0x479f36)=>_0x479f36[_0x4a37('0x2e')]['showSuggestionHighlights']?_0x13afa5(_0x2756cf,!0x1):null,'converterPriority':_0x4a37('0x3b')});const _0x53baef=_0x3a2e20[_0x4a37('0x2d')][_0x4a37('0x1e')];this['listenTo'](_0x53baef[_0x4a37('0x12')],_0x4a37('0x34'),(_0x1d775a,_0x5e8371)=>{const _0x5e29e9=[];for(const _0x13ab3f of _0x53baef[_0x4a37('0x94')](_0x5e8371['content'])['getItems']())_0x13ab3f['is'](_0x4a37('0x38'),_0x4a37('0xaa'))&&_0x5e29e9[_0x4a37('0x17')](_0x13ab3f);_0x53baef[_0x4a37('0x2c')](_0x442de7=>{for(const _0x2065b1 of _0x5e29e9)_0x442de7['move'](_0x442de7[_0x4a37('0x94')](_0x2065b1),_0x442de7[_0x4a37('0x68')](_0x2065b1)),_0x442de7['remove'](_0x2065b1);});});}}function ce(_0xdd20e2){if(_0xdd20e2['isEmpty'])return!0x0;const _0x4810f4=_0xdd20e2['getChild'](0x0);return _0x4810f4['is'](_0x4a37('0x38'),'paragraph')&&_0x4810f4[_0x4a37('0x4b')];}function fe(_0xab62d5,_0x12a31a={},_0x541625){for(const {isAnchor:_0x221e78,cellHeight:_0x5a7afb,cellWidth:_0x17dbf0}of _0x541625[_0x4a37('0x32')](_0xab62d5,{'includeAllSlots':!0x0,..._0x12a31a}))if(!_0x221e78||0x1!=_0x5a7afb||0x1!=_0x17dbf0)return!0x1;return!0x0;}
23
+ const _0xcb61=['getChild','wrap','tablePasteColumn','for','plugins','tableCellBorderWidth','removeMarkers','tablePasteCell','cells','getColumnIndexes','isEmpty','columns','element','isEqual','suggestion-td','oldRange','endColumn','setAttributes','editingDowncast','createTableWalker','change','getSuggestionCallback','tablePaste','nextSibling','markerToHighlight','set','getRange','_createdBatches','createRangeOn','_getCoordsForCells','createPositionBefore','name','getShiftedBy','insertColumns','createRangeIn','cell','startsWith','removeColumns','discard','differ','hasSuggestion','findAncestor','fromEntries','includes','documentSelection','trackChanges','registerPostFixer','getChildren','tablePasteChainId','containsRange','insertRows','forceDefaultExecution','add','_splitMarkerName','low','commands','columnInsertionIndexes','fill','accept','registerCustomCallback','updateMarker','_suggestionFactory','join','author','activeMarkers','insertionRanges','TableUtils','createRange','listenTo','return','push','high','showSuggestionHighlights','insertContent','view','getContainedElement','paragraph','reduce','tablePasteRow','length','getAllAdjacentSuggestions','getRanges','newRange','last','options','tableCell','has','insertion','tableCellBorderColor','unwrap','markerName','table','Users','remove','$graveyard','_tablePostFixingSubtypes','_replaceTableSlotCell','redo','value','TableClipboard','getItems','end','ck-suggestion-marker-insertion','get','markMultiRangeInsertion','position','requires','rowInsertionIndexes','tableCellBackgroundColor','model','filter','columnInsertionRanges','registerDescriptionCallback','from','isInContent','first','attributes','document','editor','register','nodeAfter','previousSibling','subType','insert','_isForcedDefaultExecutionBlock','ck-suggestion-marker','suggestion','deletionRanges','*Replace\x20table\x20cells*','conversion','ck-suggestion-marker--active','markers','_descriptionFactory','stop','getSuggestions','type','map','every','endRow','locale','markerAttributes','tableCellSuggestion','dataDowncast','getMarkers','content','some','tableCellPadding','getChangedMarkers','find','markMultiRangeBlockFormat','elementToElement','keys','getRowIndexes','formatBlock','createElement','removeRows','deletion','getColumns','markMultiRangeDeletion'];(function(_0x9598d5,_0xcb61b9){const _0x96352f=function(_0x3b9cff){while(--_0x3b9cff){_0x9598d5['push'](_0x9598d5['shift']());}};_0x96352f(++_0xcb61b9);}(_0xcb61,0x8b));const _0x9635=function(_0x9598d5,_0xcb61b9){_0x9598d5=_0x9598d5-0x0;let _0x96352f=_0xcb61[_0x9598d5];return _0x96352f;};import{getTranslation as _0x202f80}from'../utils/common-translations';import{Plugin as _0x57dbb0}from'ckeditor5/src/core';import{uid as _0x35db00,priorities as _0x30aedc}from'ckeditor5/src/utils';import _0x24283a from'./table';const le=[_0x9635('0x19'),_0x9635('0x6c'),'tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment',_0x9635('0x80'),_0x9635('0x7')],ae=Object[_0x9635('0x3e')](le[_0x9635('0x9c')](_0x43708e=>[_0x43708e,null]));export default class At extends _0x57dbb0{static get[_0x9635('0x7e')](){return[_0x24283a];}['afterInit'](){const _0x493e2f=this['editor'];if(!_0x493e2f[_0x9635('0x18')][_0x9635('0x6a')](_0x9635('0x77')))return;const _0x585182=_0x493e2f['plugins']['get']('TrackChangesEditing'),_0x2dd5c4=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x56')),_0x4e924c=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x24283a),_0x5d2dfd=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x77'));_0x4e924c[_0x9635('0x73')][_0x9635('0x5a')](_0x9635('0x62'),_0x9635('0x16')),_0x493e2f[_0x9635('0x81')]['schema'][_0x9635('0x8b')](_0x9635('0x2'),{'allowIn':_0x9635('0x69'),'allowContentOf':'tableCell','isLimit':!0x0}),_0x493e2f['conversion'][_0x9635('0xb')]({'model':_0x9635('0x2'),'view':_0x9635('0x22')});let _0x386791=null;_0x493e2f[_0x9635('0x81')]['on']('insertContent',(_0x2c9a69,_0x1ad753)=>{const [_0x536a1c,_0x1eed5d]=_0x1ad753,_0x12d2ce=_0x1ad753[_0x1ad753['length']-0x1];_0x12d2ce&&_0x12d2ce[_0x9635('0x47')]||_0x585182[_0x9635('0x90')]||this[_0x9635('0x8a')][_0x9635('0x4b')][_0x9635('0x7b')](_0x9635('0x41'))[_0x9635('0x76')]&&function(_0x27af42,_0x17f302,_0x1d1d7f,_0x5f3751,_0x3e5d7f){if(_0x17f302&&!_0x17f302['is'](_0x9635('0x40')))return!0x1;const _0x293e1a=_0x3e5d7f['getTableIfOnlyTableInContent'](_0x27af42,_0x1d1d7f);if(!_0x293e1a||!fe(_0x293e1a,void 0x0,_0x5f3751))return!0x1;const _0x4262f0=_0x5f3751['getSelectionAffectedTableCells'](_0x1d1d7f[_0x9635('0x89')]['selection']);if(!_0x4262f0[_0x9635('0x63')])return!0x1;const _0x45b0f7=_0x4262f0[0x0][_0x9635('0x3d')](_0x9635('0x6f')),_0x56a503=_0x5f3751[_0x9635('0xd')](_0x4262f0),_0x14927d=_0x5f3751[_0x9635('0x1d')](_0x4262f0),_0x4acc2a={'startRow':_0x56a503[_0x9635('0x87')],'endRow':_0x56a503['last'],'startColumn':_0x14927d[_0x9635('0x87')],'endColumn':_0x14927d[_0x9635('0x67')]};return 0x1==_0x4262f0[_0x9635('0x63')]&&(_0x4acc2a[_0x9635('0x9e')]+=_0x5f3751['getRows'](_0x293e1a)-0x1,_0x4acc2a[_0x9635('0x24')]+=_0x5f3751[_0x9635('0x12')](_0x293e1a)-0x1),fe(_0x45b0f7,_0x4acc2a,_0x5f3751);}(_0x536a1c,_0x1eed5d,_0x493e2f[_0x9635('0x81')],_0x2dd5c4,_0x5d2dfd)&&(_0x2c9a69[_0x9635('0x99')](),_0x386791={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x493e2f[_0x9635('0x81')][_0x9635('0x28')](()=>{_0x493e2f['model'][_0x9635('0x5d')](_0x1ad753[0x0],_0x1ad753[0x1],_0x1ad753[0x2],{'forceDefaultExecution':!0x0});const _0x57eda3=_0x35db00(),{rowInsertionRanges:_0x14578f,columnInsertionRanges:_0x344f9a,insertionRanges:_0x3d8ab6,deletionRanges:_0x4a814e,cells:_0x474100}=_0x386791;_0x14578f[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x14578f,_0x9635('0x62'),{'tablePasteChainId':_0x57eda3}),_0x344f9a[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x344f9a,'tablePasteColumn',{'tablePasteChainId':_0x57eda3}),_0x3d8ab6[_0x9635('0x63')]&&_0x585182[_0x9635('0x7c')](_0x3d8ab6,_0x9635('0x2a'),{'tablePasteChainId':_0x57eda3,'skipNestingCheck':!0x0}),_0x4a814e[_0x9635('0x63')]&&_0x585182[_0x9635('0x13')](_0x4a814e,_0x9635('0x2a'),{'tablePasteChainId':_0x57eda3,'skipNestingCheck':!0x0});const _0xc54b8e=_0x585182[_0x9635('0xa')](_0x474100['map'](({element:_0xa954d8})=>_0xa954d8),{'formatGroupId':_0x35db00()},[],_0x9635('0x1b'),{'tablePasteChainId':_0x57eda3});if(_0xc54b8e){const _0x3148ab=_0xc54b8e['getMarkers'](),_0xf8cf=[];for(const {element:_0x3e1195,attributes:_0x2501e3}of _0x474100){if(!_0x2501e3)continue;const _0x41a168=_0x493e2f['model'][_0x9635('0x30')](_0x3e1195),_0x37a28d=_0x3148ab[_0x9635('0x9')](_0x4f49eb=>_0x4f49eb[_0x9635('0x2e')]()[_0x9635('0x21')](_0x41a168));_0x37a28d&&_0xf8cf[_0x9635('0x5a')]([_0x37a28d[_0x9635('0x33')],_0x2501e3]);}_0xf8cf[_0x9635('0x63')]&&_0xc54b8e['setAttribute'](_0x9635('0x1'),Object[_0x9635('0x3e')](_0xf8cf));}_0x386791=null;}));},{'priority':_0x30aedc[_0x9635('0x5b')]+0xa}),_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')](_0x9635('0x77'))['on'](_0x9635('0x74'),(_0x3c5b88,_0x313591)=>{const [_0x1fc491,_0x48620d,,_0x17b571]=_0x313591;if(!_0x386791)return;_0x3c5b88[_0x9635('0x99')]();const _0x4d680d=_0x1fc491[_0x9635('0x37')],_0x40a6c4=_0x48620d,_0x1adf78=ce(_0x4d680d),_0x540c48=ce(_0x40a6c4);_0x3c5b88[_0x9635('0x59')]=_0x4d680d;let _0x4066ae=null,_0x51fa4a=null;if(_0x540c48||_0x1adf78){if(_0x1adf78&&!_0x540c48){_0x17b571[_0x9635('0x71')](_0x4d680d['getChild'](0x0));for(const _0x31f79a of Array[_0x9635('0x85')](_0x40a6c4['getChildren']()))_0x17b571['insert'](_0x31f79a,_0x4d680d,'end');const _0x18dca7=_0x386791[_0x9635('0x7f')]['includes'](_0x1fc491['row']),_0x6331e6=_0x386791[_0x9635('0x4c')][_0x9635('0x3f')](_0x1fc491['column']);_0x18dca7||_0x6331e6||(_0x4066ae=_0x17b571[_0x9635('0x36')](_0x4d680d));}else _0x540c48&&!_0x1adf78&&(_0x51fa4a=_0x17b571[_0x9635('0x36')](_0x4d680d));}else{const _0x5d9853=_0x17b571['createElement'](_0x9635('0x2')),_0x4f3cb0=_0x17b571[_0x9635('0xf')]('tableCellSuggestion');_0x17b571[_0x9635('0x15')](_0x17b571[_0x9635('0x36')](_0x4d680d),_0x4f3cb0),_0x17b571[_0x9635('0x8f')](_0x5d9853,_0x4d680d,0x0);for(const _0x41c51c of Array['from'](_0x40a6c4[_0x9635('0x43')]()))_0x17b571[_0x9635('0x8f')](_0x41c51c,_0x5d9853,_0x9635('0x79'));_0x4066ae=_0x17b571['createRangeOn'](_0x5d9853),_0x51fa4a=_0x17b571[_0x9635('0x30')](_0x4f3cb0);}const _0x272dfc=Array[_0x9635('0x85')](_0x40a6c4['getAttributes']())[_0x9635('0x82')](([_0x25f870])=>le[_0x9635('0x3f')](_0x25f870));_0x386791[_0x9635('0x1c')][_0x9635('0x5a')]({'element':_0x4d680d,'attributes':_0x272dfc[_0x9635('0x63')]?Object[_0x9635('0x3e')](_0x272dfc):null}),_0x4066ae&&_0x386791[_0x9635('0x55')][_0x9635('0x5a')](_0x4066ae),_0x51fa4a&&_0x386791[_0x9635('0x93')][_0x9635('0x5a')](_0x51fa4a);},{'priority':_0x9635('0x5b')}),_0x2dd5c4['on'](_0x9635('0x35'),(_0x52ba27,_0x4ae586)=>{const [_0x2996d8,_0x461f5d={}]=_0x4ae586;if(!_0x386791)return;const _0x2e46f9=_0x461f5d['at']||0x0,_0x3d53a1=_0x461f5d[_0x9635('0x1f')]||0x1;_0x386791['columnInsertionIndexes']=new Array(_0x3d53a1)[_0x9635('0x4d')](_0x2e46f9)[_0x9635('0x9c')]((_0x3d16ee,_0x1a3d4e)=>_0x3d16ee+_0x1a3d4e);for(const {cell:_0x3efe63}of _0x2dd5c4[_0x9635('0x27')](_0x2996d8,{'startColumn':_0x2e46f9,'endColumn':_0x2e46f9+_0x3d53a1-0x1}))_0x386791[_0x9635('0x83')][_0x9635('0x5a')](_0x493e2f[_0x9635('0x81')][_0x9635('0x30')](_0x3efe63));},{'priority':_0x9635('0x4a')}),_0x2dd5c4['on'](_0x9635('0x46'),(_0xba1c9b,_0x33fa5e)=>{const [_0x1bd2d1,_0x4e13a3={}]=_0x33fa5e;if(!_0x386791)return;const _0x74d80a=_0x4e13a3['at']||0x0,_0x5f09af=_0x4e13a3['rows']||0x1;_0x386791[_0x9635('0x7f')]=new Array(_0x5f09af)[_0x9635('0x4d')](_0x74d80a)[_0x9635('0x9c')]((_0xdfba5d,_0x698408)=>_0xdfba5d+_0x698408);for(const {cell:_0x6a9f1f}of _0x2dd5c4['createTableWalker'](_0x1bd2d1,{'startRow':_0x74d80a,'endRow':_0x74d80a+_0x5f09af-0x1}))_0x386791['rowInsertionRanges'][_0x9635('0x5a')](_0x493e2f['model'][_0x9635('0x30')](_0x6a9f1f));},{'priority':_0x9635('0x4a')}),_0x585182[_0x9635('0x98')][_0x9635('0x84')](_0x1316c2=>{if(_0x1316c2[_0x9635('0x8e')]&&_0x1316c2[_0x9635('0x8e')][_0x9635('0x38')](_0x9635('0x2a')))return _0x1316c2['previous']?{}:{'type':_0x9635('0x6b'),'content':_0x202f80(_0x493e2f[_0x9635('0x0')],_0x9635('0x94'))};});const _0x25e5c9=()=>!0x1;for(const _0x30b500 of[_0x9635('0x2a'),'tablePasteColumn','tablePasteRow',_0x9635('0x1b')])_0x585182[_0x9635('0x51')][_0x9635('0x4f')]('insertion',_0x30b500,_0x9635('0x52'),_0x25e5c9),_0x585182[_0x9635('0x51')][_0x9635('0x4f')]('deletion',_0x30b500,'join',_0x25e5c9),_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x9635('0xe'),_0x30b500,'join',_0x25e5c9);_0x585182[_0x9635('0x51')]['registerCustomCallback'](_0x9635('0xe'),'tablePasteCell',_0x9635('0x3a'),_0x25e5c9),_0x585182[_0x9635('0x51')][_0x9635('0x4f')](_0x9635('0xe'),_0x9635('0x1b'),'accept',(_0x3857ea,_0x2336a2,_0x2dddcd)=>{const _0x3f9e75=_0x3857ea['map'](_0x1205f2=>_0x1205f2[_0x9635('0x5f')]())[_0x9635('0x82')](_0x2fd004=>_0x2fd004),_0x127162=new Map(_0x3f9e75[_0x9635('0x9c')](_0x4d2a2e=>[_0x4d2a2e,null]));if(_0x386791)for(const {element:_0x3a65d2,attributes:_0x10a15a}of _0x386791[_0x9635('0x1c')])_0x10a15a&&_0x127162[_0x9635('0x2d')](_0x3a65d2,_0x10a15a);else{if(_0x2dddcd&&_0x2dddcd[_0x9635('0x1')])for(const [_0x361dd0,_0x52e30f]of Object['entries'](_0x2dddcd[_0x9635('0x1')])){const _0x193bfb=_0x493e2f[_0x9635('0x81')][_0x9635('0x97')]['get'](_0x361dd0),_0x377319=_0x193bfb?_0x193bfb['getRange']()[_0x9635('0x5f')]():null;_0x377319&&_0x127162[_0x9635('0x2d')](_0x377319,_0x52e30f);}}_0x493e2f[_0x9635('0x81')][_0x9635('0x28')](_0x5d20e9=>{for(const [_0x54e939,_0x307223]of _0x127162)_0x5d20e9[_0x9635('0x25')]({...ae,..._0x307223},_0x54e939);});});const _0x321636=(_0x2813e1,_0x5f522e)=>{_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x2813e1,_0x9635('0x2a'),_0x5f522e,(_0x50ae8e,_0x48a50a,_0x3d9230)=>{_0x493e2f['model'][_0x9635('0x28')](_0x1949d7=>{const _0x310ba9=[];for(const _0x32d5bf of _0x50ae8e){const _0x4205f4=_0x32d5bf['start'][_0x9635('0x8c')];_0x4205f4['is']('element',_0x9635('0x2'))&&_0x310ba9[_0x9635('0x5a')](_0x4205f4);}_0x585182['_suggestionFactory'][_0x9635('0x29')](_0x2813e1,null,_0x5f522e)(_0x50ae8e,_0x48a50a,_0x3d9230);for(const _0x115701 of _0x310ba9)_0x9635('0x72')!=_0x115701['root']['rootName']&&_0x1949d7[_0x9635('0x6d')](_0x115701);});});};_0x321636('insertion',_0x9635('0x4e')),_0x321636(_0x9635('0x6b'),_0x9635('0x3a')),_0x321636('deletion',_0x9635('0x4e')),_0x321636(_0x9635('0x11'),'discard'),_0x585182[_0x9635('0x51')][_0x9635('0x4f')](_0x9635('0x6b'),_0x9635('0x62'),_0x9635('0x3a'),_0x1b711a=>{const _0x331c67=_0x1b711a[_0x9635('0x9c')](_0x491450=>_0x491450['getContainedElement']()),_0x5660f4=_0x331c67[0x0]['findAncestor']('table'),{minRow:_0x55f542,maxRow:_0x2cd0e6}=_0x4e924c[_0x9635('0x31')](_0x331c67);_0x2dd5c4[_0x9635('0x10')](_0x5660f4,{'at':_0x55f542,'rows':_0x2cd0e6-_0x55f542+0x1});}),_0x585182['_suggestionFactory'][_0x9635('0x4f')](_0x9635('0x6b'),_0x9635('0x16'),_0x9635('0x3a'),_0x2383db=>{const _0x3afc6e=_0x2383db[_0x9635('0x9c')](_0x428996=>_0x428996[_0x9635('0x5f')]()),_0x1709b4=_0x3afc6e[0x0][_0x9635('0x3d')](_0x9635('0x6f')),{minColumn:_0x3f7a98,maxColumn:_0x5da1b9}=_0x4e924c['_getCoordsForCells'](_0x3afc6e);_0x2dd5c4[_0x9635('0x39')](_0x1709b4,{'at':_0x3f7a98,'columns':_0x5da1b9-_0x3f7a98+0x1});});const _0x23a326=(_0x509dd2,_0x1b3bc3)=>{if(!_0x1b3bc3['subType']||!_0x1b3bc3['subType'][_0x9635('0x38')](_0x9635('0x2a')))return;const _0x3b839f=_0x1b3bc3[_0x9635('0x88')][_0x9635('0x44')],_0x57825d=_0x585182[_0x9635('0x9a')]()['filter'](_0x18431f=>_0x18431f[_0x9635('0x86')]&&_0x18431f[_0x9635('0x88')]&&_0x18431f['attributes']['tablePasteChainId']==_0x3b839f);_0x57825d[_0x9635('0x63')]&&_0x1b3bc3[_0x9635('0x64')]()[_0x9635('0x63')]!=_0x57825d[_0x9635('0x63')]&&_0x57825d[_0x9635('0x61')]((_0x3e84b9,_0x331d19)=>(_0x3e84b9['next']=_0x331d19,_0x331d19['previous']=_0x3e84b9,_0x331d19));};function _0x3bffab(_0xb6d59f,_0x1d6e66=!0x0){const {id:_0x1a3555}=_0x585182[_0x9635('0x49')](_0xb6d59f['markerName']),_0xd17c23=[_0x9635('0x91'),_0x9635('0x7a')],_0x343ce3=_0x585182[_0x9635('0x54')][_0x9635('0x3f')](_0xb6d59f[_0x9635('0x6e')]);return _0x343ce3&&_0xd17c23['push'](_0x9635('0x96')),{'classes':_0xd17c23,'attributes':{'data-suggestion':_0x1a3555},'priority':_0x343ce3&&_0x1d6e66?0xbc2:0xbb8};}_0x585182['on']('suggestionLoaded',_0x23a326,{'priority':_0x9635('0x5b')}),_0x585182['on']('suggestionUnloaded',_0x23a326,{'priority':'high'}),_0x493e2f[_0x9635('0x81')]['document'][_0x9635('0x42')](()=>{let _0x3c8c35=!0x1;const _0x278e46=Array[_0x9635('0x85')](_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x3b')][_0x9635('0x8')]());for(const {name:_0x255104,data:_0x52777d}of _0x278e46){const {group:_0x4ab8c3,type:_0x14788b,id:_0x35f7e5}=_0x585182['_splitMarkerName'](_0x255104);if(_0x9635('0x92')!=_0x4ab8c3||'deletion'!=_0x14788b||_0x52777d[_0x9635('0x23')])continue;if(!_0x585182[_0x9635('0x3c')](_0x35f7e5))continue;const _0xe8dc05=_0x585182['getSuggestion'](_0x35f7e5)[_0x9635('0x65')](),_0x34f6a4=_0x493e2f['plugins'][_0x9635('0x7b')](_0x9635('0x70'))['me'];for(const _0x1c9dc0 of _0x585182['getSuggestions']()){if(!_0x1c9dc0[_0x9635('0x86')]||_0x1c9dc0[_0x9635('0x53')]!=_0x34f6a4)continue;if('formatBlock'!=_0x1c9dc0['type']||_0x9635('0x1b')!=_0x1c9dc0[_0x9635('0x8e')])continue;if(_0x1c9dc0[_0x9635('0x65')]()[_0x9635('0x9d')](_0x5ea90b=>_0xe8dc05[_0x9635('0x6')](_0x11eb0f=>_0x11eb0f['containsRange'](_0x5ea90b,!0x0))))for(const _0x114b04 of _0x1c9dc0[_0x9635('0x64')]())_0x114b04[_0x9635('0x86')]&&(_0x114b04['discard'](),_0x3c8c35=!0x0);}}return _0x3c8c35;}),_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x42')](_0x2ac6a5=>{const _0x283efd=_0x493e2f[_0x9635('0x4b')]['get'](_0x9635('0x75'));if(!_0x283efd||!_0x283efd[_0x9635('0x2f')]['has'](_0x2ac6a5['batch']))return!0x1;let _0x4081ed=!0x1;const _0x35f9c4=_0x493e2f[_0x9635('0x18')][_0x9635('0x7b')]('Users')['me'],_0x227f8f=_0x493e2f['model'][_0x9635('0x89')][_0x9635('0x3b')]['getChanges'](),_0x871c3a=Array[_0x9635('0x85')](_0x493e2f[_0x9635('0x81')]['document'][_0x9635('0x3b')][_0x9635('0x8')]())[_0x9635('0x82')](({name:_0x49bd1e,data:_0x3d2a1a})=>{const {group:_0x3a05aa,subType:_0x4db568,authorId:_0x52d278}=_0x585182['_splitMarkerName'](_0x49bd1e);return _0x9635('0x92')==_0x3a05aa&&'tablePaste'==_0x4db568&&_0x52d278==_0x35f9c4['id']&&!_0x3d2a1a[_0x9635('0x23')];});for(const _0xbe6666 of _0x227f8f){if(_0x9635('0x8f')!=_0xbe6666[_0x9635('0x9b')]||'tableCellSuggestion'!=_0xbe6666[_0x9635('0x33')]||0x1!=_0xbe6666[_0x9635('0x63')])continue;const _0x483858=_0x2ac6a5[_0x9635('0x57')](_0xbe6666[_0x9635('0x7d')],_0xbe6666[_0x9635('0x7d')][_0x9635('0x34')](0x1));if(!_0x871c3a[_0x9635('0x9')](({data:_0x49f0e6})=>_0x49f0e6[_0x9635('0x66')][_0x9635('0x21')](_0x483858)))for(const {name:_0x1f25c7,data:_0x63b23b}of _0x871c3a)if(_0x483858[_0x9635('0x45')](_0x63b23b[_0x9635('0x66')])){_0x2ac6a5[_0x9635('0x50')](_0x1f25c7,{'range':_0x483858}),_0x4081ed=!0x0;break;}}return _0x4081ed;}),_0x493e2f[_0x9635('0x81')][_0x9635('0x89')][_0x9635('0x42')](_0x296ad1=>{let _0x5074cc=!0x1;const _0x2cdef5=_0x493e2f[_0x9635('0x18')]['get']('Users')['me'],_0x56f8c4=_0x585182[_0x9635('0x9a')]()[_0x9635('0x82')](_0x4d48f5=>_0x4d48f5[_0x9635('0x86')]&&_0x4d48f5[_0x9635('0x53')]==_0x2cdef5),_0x45dc07=new Set(),_0x42fe30=new Set();for(const _0x780bd of _0x56f8c4)if('tablePaste'==_0x780bd[_0x9635('0x8e')])for(const _0x2d04fb of _0x780bd[_0x9635('0x4')]()){const _0x4b65b5=_0x2d04fb[_0x9635('0x2e')]()[_0x9635('0x5f')]();if(_0x4b65b5){if(_0x4b65b5['is'](_0x9635('0x20'),_0x9635('0x2'))&&ce(_0x4b65b5)){_0x780bd['removeMarker'](_0x2d04fb[_0x9635('0x33')]),_0x45dc07[_0x9635('0x48')](_0x4b65b5),_0x5074cc=!0x0;const _0xd9da11=_0x4b65b5[_0x9635('0x2b')],_0xfe3bf5=_0x4b65b5[_0x9635('0x8d')],_0x582582=_0xd9da11&&_0xd9da11['is'](_0x9635('0x20'),'tableCellSuggestion'),_0x3b197c=_0xfe3bf5&&_0xfe3bf5['is'](_0x9635('0x20'),_0x9635('0x2'));_0x582582&&!_0x45dc07[_0x9635('0x6a')](_0xd9da11)&&_0x42fe30['add'](_0xd9da11),_0x3b197c&&!_0x45dc07['has'](_0xfe3bf5)&&_0x42fe30[_0x9635('0x48')](_0xfe3bf5);}else _0x4b65b5['is'](_0x9635('0x20'),_0x9635('0x60'))&&_0x4b65b5['isEmpty']&&(_0x780bd['removeMarker'](_0x2d04fb[_0x9635('0x33')]),_0x5074cc=!0x0);}}else{if('tablePasteCell'==_0x780bd[_0x9635('0x8e')]){if(!_0x780bd[_0x9635('0x88')]||!_0x780bd[_0x9635('0x88')]['tablePasteChainId'])continue;const _0x8f4ea=_0x780bd[_0x9635('0x88')][_0x9635('0x1')];if(_0x8f4ea&&Object[_0x9635('0xc')](_0x8f4ea)[_0x9635('0x63')])continue;const _0x633e5e=_0x780bd[_0x9635('0x88')]['tablePasteChainId'];let _0x38fbeb=!0x0,_0x30aad6=!0x0;for(const _0x46f839 of _0x56f8c4)if(_0x46f839[_0x9635('0x8e')]&&_0x46f839[_0x9635('0x8e')]['startsWith']('tablePaste')){if(!_0x46f839[_0x9635('0x88')]['tablePasteChainId']){_0x30aad6=!0x1;break;}if(_0x46f839['id']!=_0x780bd['id']&&_0x46f839[_0x9635('0x88')][_0x9635('0x44')]==_0x633e5e){_0x38fbeb=!0x1;break;}}_0x30aad6&&_0x38fbeb&&(_0x780bd[_0x9635('0x1a')](),_0x5074cc=!0x0);}}for(const _0x32c3fe of _0x45dc07)_0x296ad1[_0x9635('0x71')](_0x32c3fe);for(const _0x23174c of _0x42fe30)_0x296ad1['unwrap'](_0x23174c);return _0x5074cc;}),_0x493e2f[_0x9635('0x95')][_0x9635('0x17')](_0x9635('0x26'))[_0x9635('0x2c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x40165c,_0x36f8ac)=>_0x3bffab(_0x40165c),'converterPriority':'high'}),_0x493e2f['conversion'][_0x9635('0x17')](_0x9635('0x3'))[_0x9635('0x2c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4d33a3,_0xa3e70)=>_0xa3e70[_0x9635('0x68')][_0x9635('0x5c')]?_0x3bffab(_0x4d33a3,!0x1):null,'converterPriority':_0x9635('0x5b')});const _0x4828d6=_0x493e2f['editing'][_0x9635('0x5e')];this[_0x9635('0x58')](_0x4828d6[_0x9635('0x89')],'clipboardOutput',(_0x4cbe42,_0x56a946)=>{const _0x30355b=[];for(const _0x20b50a of _0x4828d6['createRangeIn'](_0x56a946[_0x9635('0x5')])[_0x9635('0x78')]())_0x20b50a['is']('element',_0x9635('0x22'))&&_0x30355b[_0x9635('0x5a')](_0x20b50a);_0x4828d6[_0x9635('0x28')](_0x1ff4d1=>{for(const _0x12d6cc of _0x30355b)_0x1ff4d1['move'](_0x1ff4d1['createRangeIn'](_0x12d6cc),_0x1ff4d1[_0x9635('0x32')](_0x12d6cc)),_0x1ff4d1['remove'](_0x12d6cc);});});}}function ce(_0xbb52d7){if(_0xbb52d7[_0x9635('0x1e')])return!0x0;const _0x3e457f=_0xbb52d7[_0x9635('0x14')](0x0);return _0x3e457f['is'](_0x9635('0x20'),_0x9635('0x60'))&&_0x3e457f[_0x9635('0x1e')];}function fe(_0x1852bd,_0x2629d6={},_0xdbcafc){for(const {isAnchor:_0x56e91a,cellHeight:_0x920f9f,cellWidth:_0x565b49}of _0xdbcafc[_0x9635('0x27')](_0x1852bd,{'includeAllSlots':!0x0,..._0x2629d6}))if(!_0x56e91a||0x1!=_0x920f9f||0x1!=_0x565b49)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x257f=['TrackChangesEditing','get','resizeTable','change','formatGroupId','tableWidth','has','locale','resizeTableWidth','registerCustomCallback','getAttribute','type','accept','editor','enableCommand','columnWidths','getContainedElement','getSelectedElement','TableColumnResizeEditing','getColumnGroupElement','selection','author','formatInline','formatBlock','subType','plugins','document','getSuggestionCallback','handleResizeTableWidthCommand','registerDescriptionCallback','*Format:*\x20resize\x20table','afterInit','getTableColumnsWidths','model','_suggestionFactory','markBlockFormat','bind','discard','table','handleSuggestionDescription','_descriptionFactory','getSuggestions'];(function(_0x57b156,_0x257fb9){const _0x4640c5=function(_0x2e03a2){while(--_0x2e03a2){_0x57b156['push'](_0x57b156['shift']());}};_0x4640c5(++_0x257fb9);}(_0x257f,0x1d4));const _0x4640=function(_0x57b156,_0x257fb9){_0x57b156=_0x57b156-0x0;let _0x4640c5=_0x257f[_0x57b156];return _0x4640c5;};import{Plugin as _0x178d34}from'ckeditor5/src/core';import{getTranslation as _0x176f7a}from'../utils/common-translations';export default class It extends _0x178d34{[_0x4640('0x19')](){if(!this['editor'][_0x4640('0x13')][_0x4640('0x0')](_0x4640('0xc')))return;const _0x2a1c51=this['editor'][_0x4640('0x13')]['get'](_0x4640('0x24'));_0x2a1c51[_0x4640('0x8')](_0x4640('0x2'),this[_0x4640('0x16')][_0x4640('0x1e')](this)),_0x2a1c51[_0x4640('0x1c')][_0x4640('0x3')](_0x4640('0x11'),_0x4640('0x26'),_0x4640('0x6'),_0x2a1c51['_suggestionFactory'][_0x4640('0x15')](_0x4640('0x11'),null,'discard')),_0x2a1c51[_0x4640('0x1c')][_0x4640('0x3')](_0x4640('0x11'),_0x4640('0x26'),'discard',_0x2a1c51[_0x4640('0x1c')][_0x4640('0x15')](_0x4640('0x11'),null,_0x4640('0x6'))),_0x2a1c51[_0x4640('0x22')][_0x4640('0x17')](this[_0x4640('0x21')][_0x4640('0x1e')](this));}[_0x4640('0x16')](_0x2e8d25,_0x6337af){const _0x94697b=this[_0x4640('0x7')][_0x4640('0x13')][_0x4640('0x25')]('TrackChangesEditing'),_0x29c621=this[_0x4640('0x7')][_0x4640('0x13')][_0x4640('0x25')]('TableColumnResizeEditing'),_0x56885c=_0x6337af[_0x4640('0x20')]||this[_0x4640('0x7')][_0x4640('0x1b')][_0x4640('0x14')][_0x4640('0xe')][_0x4640('0xb')]();this[_0x4640('0x7')][_0x4640('0x1b')][_0x4640('0x27')](()=>{const _0x10202d=_0x29c621[_0x4640('0xd')](_0x56885c);let _0x234b89=_0x10202d?_0x29c621[_0x4640('0x1a')](_0x10202d):null,_0x1c9991=_0x56885c[_0x4640('0x4')]('tableWidth')||null;const _0x413a0d=_0x6337af[_0x4640('0x29')]||_0x1c9991,_0x2ddda0=_0x6337af[_0x4640('0x9')]||_0x234b89,_0x4a404f=this['editor'][_0x4640('0x13')][_0x4640('0x25')]('Users')['me'];for(const _0x4c1ea3 of _0x94697b[_0x4640('0x23')]()){const _0x25fa8d=_0x4c1ea3[_0x4640('0xa')]();if(_0x4640('0x26')===_0x4c1ea3[_0x4640('0x12')]&&_0x25fa8d===_0x56885c){_0x4c1ea3[_0x4640('0xf')]!==_0x4a404f&&_0x4c1ea3[_0x4640('0x1f')]();const _0x20fda2=_0x4c1ea3['data']['commandParams'];_0x1c9991=_0x20fda2[0x0][_0x4640('0x29')],_0x234b89=_0x20fda2[0x0][_0x4640('0x9')];break;}}_0x2e8d25({'table':_0x56885c,'tableWidth':_0x413a0d,'columnWidths':_0x2ddda0}),_0x94697b[_0x4640('0x1d')](_0x56885c,{'commandName':_0x4640('0x2'),'commandParams':[{'tableWidth':_0x1c9991,'columnWidths':_0x234b89}],'formatGroupId':_0x4640('0x26')},[],'resizeTable');});}['handleSuggestionDescription'](_0x4144db){if(_0x4640('0x11')!=_0x4144db['type']&&_0x4640('0x10')!=_0x4144db[_0x4640('0x5')])return;const {data:_0x2dcb7f}=_0x4144db;if(_0x2dcb7f&&_0x4640('0x26')===_0x2dcb7f[_0x4640('0x28')]){const _0x4ee4a1=_0x4640('0x18');return{'type':'format','content':_0x176f7a(this[_0x4640('0x7')][_0x4640('0x1')],_0x4ee4a1)};}}}
23
+ const _0x36b0=['columnWidths','selection','plugins','tableWidth','enableCommand','table','registerCustomCallback','commandParams','discard','data','getSuggestionCallback','getTableColumnsWidths','getSelectedElement','Users','has','getColumnGroupElement','bind','handleResizeTableWidthCommand','resizeTableWidth','model','_suggestionFactory','*Format:*\x20resize\x20table','change','type','author','afterInit','registerDescriptionCallback','_descriptionFactory','TableColumnResizeEditing','accept','markBlockFormat','editor','getSuggestions','get','formatBlock','formatGroupId','resizeTable','TrackChangesEditing','format'];(function(_0x31b373,_0x36b036){const _0x4a9dcb=function(_0x40328a){while(--_0x40328a){_0x31b373['push'](_0x31b373['shift']());}};_0x4a9dcb(++_0x36b036);}(_0x36b0,0x134));const _0x4a9d=function(_0x31b373,_0x36b036){_0x31b373=_0x31b373-0x0;let _0x4a9dcb=_0x36b0[_0x31b373];return _0x4a9dcb;};import{Plugin as _0x4d2719}from'ckeditor5/src/core';import{getTranslation as _0x51b2ef}from'../utils/common-translations';export default class It extends _0x4d2719{[_0x4a9d('0x1d')](){if(!this['editor'][_0x4a9d('0x6')][_0x4a9d('0x12')](_0x4a9d('0x20')))return;const _0x42f062=this['editor'][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x2'));_0x42f062[_0x4a9d('0x8')]('resizeTableWidth',this['handleResizeTableWidthCommand'][_0x4a9d('0x14')](this)),_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xa')]('formatBlock',_0x4a9d('0x1'),'accept',_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xe')](_0x4a9d('0x26'),null,'discard')),_0x42f062['_suggestionFactory'][_0x4a9d('0xa')](_0x4a9d('0x26'),'resizeTable',_0x4a9d('0xc'),_0x42f062[_0x4a9d('0x18')][_0x4a9d('0xe')](_0x4a9d('0x26'),null,_0x4a9d('0x21'))),_0x42f062[_0x4a9d('0x1f')][_0x4a9d('0x1e')](this['handleSuggestionDescription'][_0x4a9d('0x14')](this));}[_0x4a9d('0x15')](_0x5bcbb1,_0x538a1e){const _0x23e0db=this[_0x4a9d('0x23')][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x2')),_0x5af0e6=this[_0x4a9d('0x23')][_0x4a9d('0x6')][_0x4a9d('0x25')](_0x4a9d('0x20')),_0x157606=_0x538a1e[_0x4a9d('0x9')]||this[_0x4a9d('0x23')][_0x4a9d('0x17')]['document'][_0x4a9d('0x5')][_0x4a9d('0x10')]();this['editor']['model'][_0x4a9d('0x1a')](()=>{const _0xa1b066=_0x5af0e6[_0x4a9d('0x13')](_0x157606);let _0xa8aed1=_0xa1b066?_0x5af0e6[_0x4a9d('0xf')](_0xa1b066):null,_0x3c2b8a=_0x157606['getAttribute'](_0x4a9d('0x7'))||null;const _0x322d0c=_0x538a1e[_0x4a9d('0x7')]||_0x3c2b8a,_0x2d4989=_0x538a1e[_0x4a9d('0x4')]||_0xa8aed1,_0x5b8a50=this[_0x4a9d('0x23')]['plugins'][_0x4a9d('0x25')](_0x4a9d('0x11'))['me'];for(const _0x1bd6e8 of _0x23e0db[_0x4a9d('0x24')]()){const _0x392cea=_0x1bd6e8['getContainedElement']();if('resizeTable'===_0x1bd6e8['subType']&&_0x392cea===_0x157606){_0x1bd6e8[_0x4a9d('0x1c')]!==_0x5b8a50&&_0x1bd6e8[_0x4a9d('0xc')]();const _0x2bcfdc=_0x1bd6e8[_0x4a9d('0xd')][_0x4a9d('0xb')];_0x3c2b8a=_0x2bcfdc[0x0][_0x4a9d('0x7')],_0xa8aed1=_0x2bcfdc[0x0][_0x4a9d('0x4')];break;}}_0x5bcbb1({'table':_0x157606,'tableWidth':_0x322d0c,'columnWidths':_0x2d4989}),_0x23e0db[_0x4a9d('0x22')](_0x157606,{'commandName':_0x4a9d('0x16'),'commandParams':[{'tableWidth':_0x3c2b8a,'columnWidths':_0xa8aed1}],'formatGroupId':_0x4a9d('0x1')},[],'resizeTable');});}['handleSuggestionDescription'](_0x2a011f){if(_0x4a9d('0x26')!=_0x2a011f[_0x4a9d('0x1b')]&&'formatInline'!=_0x2a011f[_0x4a9d('0x1b')])return;const {data:_0x5ccd6d}=_0x2a011f;if(_0x5ccd6d&&'resizeTable'===_0x5ccd6d[_0x4a9d('0x0')]){const _0x570087=_0x4a9d('0x19');return{'type':_0x4a9d('0x3'),'content':_0x51b2ef(this[_0x4a9d('0x23')]['locale'],_0x570087)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4058=['editor','format','requires','key','_descriptionFactory','setTableRowHeader','get','forceValue','FORMAT_HEADER_ROW','TrackChangesEditing','plugins','registerDescriptionCallback','*Format:*\x20%0','headingColumns','FORMAT_HEADER_COLUMN','FORMAT_REGULAR_ROW','type','locale','commandName','FORMAT_REGULAR_COLUMN','oldValue','newValue','enableDefaultIntegration','_registerLegacyDescription','formatBlock'];(function(_0x23ec80,_0x4058f){const _0x343025=function(_0x20196a){while(--_0x20196a){_0x23ec80['push'](_0x23ec80['shift']());}};_0x343025(++_0x4058f);}(_0x4058,0xfb));const _0x3430=function(_0x23ec80,_0x4058f){_0x23ec80=_0x23ec80-0x0;let _0x343025=_0x4058[_0x23ec80];return _0x343025;};import{Plugin as _0x125b6b}from'ckeditor5/src/core';import _0x3f3d7f from'./table';import{getTranslation as _0x4a1e6a}from'../utils/common-translations';export default class St extends _0x125b6b{static get[_0x3430('0x1')](){return[_0x3f3d7f];}['afterInit'](){const _0x53d7a2=this[_0x3430('0x18')];if(!_0x53d7a2[_0x3430('0x9')]['has']('TableEditing'))return;const _0x357d39=_0x53d7a2[_0x3430('0x10')],_0x125ed9=_0x53d7a2[_0x3430('0x9')][_0x3430('0x5')]('TrackChangesEditing');function _0x24a3b7(_0x506c5c){return{'type':'format','content':_0x4a1e6a(_0x357d39,_0x3430('0xb'),_0x506c5c)};}_0x125ed9[_0x3430('0x15')](_0x3430('0x4'),[],['headingRows']),_0x125ed9[_0x3430('0x15')]('setTableColumnHeader',[],[_0x3430('0xc')]),_0x125ed9['_descriptionFactory'][_0x3430('0xa')](_0x846fdc=>{const {data:_0x2ae356}=_0x846fdc;if(_0x2ae356)return'headingRows'==_0x2ae356[_0x3430('0x2')]?_0x2ae356[_0x3430('0x14')]>_0x2ae356[_0x3430('0x13')]?_0x24a3b7(_0x4a1e6a(_0x357d39,_0x3430('0x7'))):_0x24a3b7(_0x4a1e6a(_0x357d39,'FORMAT_REGULAR_ROW')):_0x3430('0xc')==_0x2ae356[_0x3430('0x2')]?_0x2ae356[_0x3430('0x14')]>_0x2ae356[_0x3430('0x13')]?_0x24a3b7(_0x4a1e6a(_0x357d39,_0x3430('0xd'))):_0x24a3b7(_0x4a1e6a(_0x357d39,_0x3430('0x12'))):void 0x0;}),this[_0x3430('0x16')]();}[_0x3430('0x16')](){const _0xfa5dae=this[_0x3430('0x18')],_0x407ac8=_0xfa5dae[_0x3430('0x10')];function _0x31b972(_0x14331f){return{'type':_0x3430('0x0'),'content':_0x4a1e6a(_0x407ac8,_0x3430('0xb'),_0x14331f)};}_0xfa5dae[_0x3430('0x9')][_0x3430('0x5')](_0x3430('0x8'))[_0x3430('0x3')]['registerDescriptionCallback'](_0x2e5046=>{if(_0x3430('0x17')!=_0x2e5046[_0x3430('0xf')])return;const {data:_0x44b5bc}=_0x2e5046;if(_0x44b5bc){if(_0x3430('0x4')==_0x44b5bc['commandName']){const _0x5932a8=_0x44b5bc['commandParams'][0x0][_0x3430('0x6')];return _0x31b972(_0x4a1e6a(_0x407ac8,_0x5932a8?'FORMAT_HEADER_ROW':_0x3430('0xe')));}if('setTableColumnHeader'==_0x44b5bc[_0x3430('0x11')]){const _0x539c8f=_0x44b5bc['commandParams'][0x0]['forceValue'];return _0x31b972(_0x4a1e6a(_0x407ac8,_0x539c8f?_0x3430('0xd'):_0x3430('0x12')));}}});}}
23
+ const _0x3152=['_acceptFormatSuggestionCallbackFactory','activeMarkers','type','options','unbindElementFromMarkerName','_handleLegacySuggestions','downcastDispatcher','name','toViewElement','start','registerDescriptionCallback','bindElementToMarker','_descriptionFactory','*Format:*\x20%0','stop','createTableWalker','headingColumns','FORMAT_HEADER_ROW','has','parent','markerName','removeClass','locale','data-suggestion','consumable','addClass','ck-suggestion-marker-','getCellLocation','TableEditing','registerAttributeLabel','forceValue','requires','mapper','TrackChangesEditing','get','FORMAT_HEADER_COLUMN','_suggestionFactory','commandParams','data','setTableRowHeader','ck-suggestion-marker--active','editor','showSuggestionHighlights','addMarker:suggestion','afterInit','setAttribute','highest','editing','accept','_splitMarkerName','getSuggestion','consume','headingRows','registerCustomCallback','markerRange','cell','setTableColumnHeader','plugins','nodeBefore','commandName','_enableDefaultAttributesIntegration','formatBlock','writer'];(function(_0x4c6f5c,_0x3152d4){const _0x18ea90=function(_0xad3d0e){while(--_0xad3d0e){_0x4c6f5c['push'](_0x4c6f5c['shift']());}};_0x18ea90(++_0x3152d4);}(_0x3152,0x1a5));const _0x18ea=function(_0x4c6f5c,_0x3152d4){_0x4c6f5c=_0x4c6f5c-0x0;let _0x18ea90=_0x3152[_0x4c6f5c];return _0x18ea90;};import{Plugin as _0x3731b7}from'ckeditor5/src/core';import _0x1fb8e4 from'./table';import{getTranslation as _0x31e777}from'../utils/common-translations';export default class St extends _0x3731b7{static get[_0x18ea('0x33')](){return[_0x1fb8e4];}[_0x18ea('0x1')](){const _0xaf963a=this[_0x18ea('0x3d')];if(!_0xaf963a[_0x18ea('0xe')][_0x18ea('0x26')](_0x18ea('0x30')))return;const _0x203596=_0xaf963a[_0x18ea('0x2a')],_0x5ccb8d=_0xaf963a[_0x18ea('0xe')]['get']('TrackChangesEditing');_0x5ccb8d[_0x18ea('0x11')](_0x18ea('0x3b'),[],[_0x18ea('0x9')]),_0x5ccb8d[_0x18ea('0x11')](_0x18ea('0xd'),[],[_0x18ea('0x24')]),_0x5ccb8d[_0x18ea('0x20')][_0x18ea('0x31')](_0x18ea('0x9'),_0x31e777(_0x203596,'FORMAT_HEADER_ROW')),_0x5ccb8d['_descriptionFactory'][_0x18ea('0x31')](_0x18ea('0x24'),_0x31e777(_0x203596,_0x18ea('0x37'))),this[_0x18ea('0x19')]();}['_handleLegacySuggestions'](){const _0x35ff09=this[_0x18ea('0x3d')][_0x18ea('0xe')][_0x18ea('0x36')](_0x18ea('0x35')),_0x1ef737=this['editor'][_0x18ea('0xe')][_0x18ea('0x36')]('TableUtils'),_0x14143d=this[_0x18ea('0x3d')][_0x18ea('0xe')][_0x18ea('0x36')](_0x1fb8e4)[_0x18ea('0x14')]();function _0x1aebc6({showActiveMarker:_0x5b43e1=!0x0,setDataAttribute:_0xfaa956=!0x0}={}){return(_0x54925e,_0x2311c6,_0x3500da)=>{const {type:_0x50014c,id:_0x55bd7a}=_0x35ff09[_0x18ea('0x6')](_0x2311c6[_0x18ea('0x28')]),_0x47095f=_0x35ff09[_0x18ea('0x7')](_0x55bd7a),_0x59f67a=_0x47095f[_0x18ea('0x3a')];if(_0x18ea('0x12')!=_0x47095f[_0x18ea('0x16')]||!_0x59f67a||_0x18ea('0xd')!=_0x59f67a[_0x18ea('0x10')])return;if(_0x2311c6['item'])return void _0x54925e[_0x18ea('0x22')]();if(!_0x3500da[_0x18ea('0x2c')][_0x18ea('0x8')](_0x2311c6[_0x18ea('0xb')],_0x54925e[_0x18ea('0x1b')]))return;const _0x15919d=_0x2311c6[_0x18ea('0xb')][_0x18ea('0x1d')]['nodeAfter'],_0x3c7d2d=_0x2311c6[_0x18ea('0xb')]['end'][_0x18ea('0xf')],_0x586651=_0x15919d[_0x18ea('0x27')][_0x18ea('0x27')],{column:_0x460f3a}=_0x1ef737[_0x18ea('0x2f')](_0x15919d),{column:_0x515a3c}=_0x1ef737['getCellLocation'](_0x3c7d2d);for(let _0x1ed140=_0x460f3a;_0x1ed140<=_0x515a3c;_0x1ed140++){const _0x3e0461=_0x1ef737[_0x18ea('0x23')](_0x586651,{'column':_0x1ed140,'includeAllSlots':!0x1});for(const _0xf960e6 of _0x3e0461){const _0x489b2f=_0xf960e6[_0x18ea('0xc')],_0x5c4c98=_0x3500da[_0x18ea('0x34')][_0x18ea('0x1c')](_0x489b2f);_0x3500da[_0x18ea('0x13')][_0x18ea('0x2d')](_0x18ea('0x2e')+_0x50014c,_0x5c4c98),_0xfaa956&&_0x3500da[_0x18ea('0x13')][_0x18ea('0x2')](_0x18ea('0x2b'),_0x55bd7a,_0x5c4c98),_0x3500da[_0x18ea('0x34')][_0x18ea('0x1f')](_0x5c4c98,_0x2311c6[_0x18ea('0x28')]),_0x5b43e1&&(_0x35ff09[_0x18ea('0x15')]['includes'](_0x2311c6[_0x18ea('0x28')])?_0x3500da[_0x18ea('0x13')][_0x18ea('0x2d')](_0x18ea('0x3c'),_0x5c4c98):_0x3500da[_0x18ea('0x13')][_0x18ea('0x29')]('ck-suggestion-marker--active',_0x5c4c98));}}};}_0x35ff09[_0x18ea('0x38')][_0x18ea('0xa')](_0x18ea('0x12'),_0x18ea('0x3b'),_0x18ea('0x5'),_0x14143d),_0x35ff09[_0x18ea('0x38')]['registerCustomCallback'](_0x18ea('0x12'),'setTableColumnHeader',_0x18ea('0x5'),_0x14143d),this[_0x18ea('0x3d')][_0x18ea('0x4')][_0x18ea('0x1a')]['on'](_0x18ea('0x0'),_0x1aebc6(),{'priority':_0x18ea('0x3')}),this[_0x18ea('0x3d')][_0x18ea('0x3a')][_0x18ea('0x1a')]['on'](_0x18ea('0x0'),(_0x5f16a5,_0x66a580,_0x361ec8)=>{_0x361ec8[_0x18ea('0x17')][_0x18ea('0x3e')]&&_0x1aebc6({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5f16a5,_0x66a580,_0x361ec8);},{'priority':_0x18ea('0x3')}),this[_0x18ea('0x3d')][_0x18ea('0x4')][_0x18ea('0x1a')]['on']('removeMarker:suggestion',(_0x59e75b,_0x2db640,_0x490530)=>{const {type:_0x5b88a3,id:_0x4c12d9}=_0x35ff09[_0x18ea('0x6')](_0x2db640[_0x18ea('0x28')]),_0x5eac41=_0x35ff09[_0x18ea('0x7')](_0x4c12d9),_0x4a471c=_0x5eac41['data'];if(_0x18ea('0x12')!=_0x5eac41[_0x18ea('0x16')]||!_0x4a471c||_0x18ea('0xd')!=_0x4a471c['commandName'])return;const _0xb21d32=_0x490530[_0x18ea('0x34')]['markerNameToElements'](_0x2db640[_0x18ea('0x28')]);if(_0xb21d32)for(const _0xe9d53e of _0xb21d32)_0x490530[_0x18ea('0x13')]['removeClass'](_0x18ea('0x2e')+_0x5b88a3,_0xe9d53e),_0x490530[_0x18ea('0x13')][_0x18ea('0x29')](_0x18ea('0x3c'),_0xe9d53e),_0x490530[_0x18ea('0x13')]['removeAttribute'](_0x18ea('0x2b'),_0xe9d53e),_0x490530[_0x18ea('0x34')][_0x18ea('0x18')](_0xe9d53e,_0x2db640['markerName']);},{'priority':_0x18ea('0x3')}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x502ff9=this['editor'],_0x1d4b48=_0x502ff9[_0x18ea('0x2a')];function _0x4dad06(_0x491db6){return{'type':'format','content':_0x31e777(_0x1d4b48,_0x18ea('0x21'),_0x491db6)};}_0x502ff9['plugins'][_0x18ea('0x36')](_0x18ea('0x35'))[_0x18ea('0x20')][_0x18ea('0x1e')](_0x567828=>{if(_0x18ea('0x12')!=_0x567828['type'])return;const {data:_0x4258b0}=_0x567828;if(_0x4258b0){if(_0x18ea('0x3b')==_0x4258b0['commandName']){const _0x1146cf=_0x4258b0[_0x18ea('0x39')][0x0][_0x18ea('0x32')];return _0x4dad06(_0x31e777(_0x1d4b48,_0x1146cf?_0x18ea('0x25'):'FORMAT_REGULAR_ROW'));}if(_0x18ea('0xd')==_0x4258b0['commandName']){const _0x428930=_0x4258b0[_0x18ea('0x39')][0x0]['forceValue'];return _0x4dad06(_0x31e777(_0x1d4b48,_0x428930?_0x18ea('0x37'):'FORMAT_REGULAR_COLUMN'));}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x88dd=['getSuggestions','plugins','isEnabled','insertion','selection','low','findAncestor','editor','subType','deletion','get','set:isEnabled','model','formatInline','change','accept','table','registerCustomCallback','getSelectionAffectedTableCells','getRanges','registerDescriptionCallback','TrackChangesEditing','TableUtils','formatBlock','push','trackChanges','*Split\x20cell:*\x20vertically','has','horizontally','splitTableCellHorizontally','filter','getFirstPosition','rootName','setSelection','getAncestors','type','locale','document','mergeTableCellDown','forceDefaultExecution','cell','isInContent','markBlockFormat','TableEditing','find','mergeTableCellUp','value','detach','createTableWalker','from','size','highest','author','format','enableCommand','mergeTableCells','*Merge\x20cells*','*Split\x20cell:*\x20horizontally','_isForcedDefaultExecutionBlock','direction','containsRange','stop','commands','fromRange','splitTableCellVertically','tableCell','refresh','add','createRangeOn','$graveyard','mergeTableCellLeft','_areSelectedCellsMergable','_suggestionFactory','length','execute','map','mergeTableCellRight','_areMergableCells','commandName','_acceptFormatSuggestionCallbackFactory','element'];(function(_0x4249fe,_0x88dd6c){const _0x1bdd6c=function(_0x194683){while(--_0x194683){_0x4249fe['push'](_0x4249fe['shift']());}};_0x1bdd6c(++_0x88dd6c);}(_0x88dd,0x17a));const _0x1bdd=function(_0x4249fe,_0x88dd6c){_0x4249fe=_0x4249fe-0x0;let _0x1bdd6c=_0x88dd[_0x4249fe];return _0x1bdd6c;};import{Plugin as _0x170782}from'ckeditor5/src/core';import _0xcb868e from'./table';import{LiveRange as _0x30faef}from'ckeditor5/src/engine';import{getTranslation as _0x1b7962}from'../utils/common-translations';export default class yt extends _0x170782{static get['requires'](){return[_0xcb868e];}['afterInit'](){const _0x16f2b0=this['editor'],_0x1d367d=_0x16f2b0[_0x1bdd('0x27')][_0x1bdd('0x40')]['selection'],_0x549c4a=_0x16f2b0[_0x1bdd('0x3f')];if(!_0x16f2b0['plugins'][_0x1bdd('0x36')](_0x1bdd('0x46')))return;const _0xe0838a=_0x16f2b0[_0x1bdd('0x1c')][_0x1bdd('0x25')](_0x1bdd('0x30')),_0x1eed2e=_0x16f2b0[_0x1bdd('0x1c')]['get'](_0x1bdd('0x31')),_0x28209c=_0x16f2b0[_0x1bdd('0x1c')][_0x1bdd('0x25')](_0xcb868e);_0x28209c['_tablePostFixingSubtypes'][_0x1bdd('0x33')]('mergeTableCells'),_0xe0838a[_0x1bdd('0x0')](_0x1bdd('0x1'),()=>{const _0x99efc2=_0x1eed2e[_0x1bdd('0x2d')](_0x16f2b0[_0x1bdd('0x27')]['document']['selection']);_0x16f2b0[_0x1bdd('0x27')]['change'](()=>{_0xe0838a['markMultiRangeBlockFormat'](_0x99efc2,{'commandName':_0x1bdd('0x1'),'commandParams':[]},[],_0x1bdd('0x1'));});}),_0x16f2b0[_0x1bdd('0x8')]['get'](_0x1bdd('0x1'))['on'](_0x1bdd('0x14'),(_0x1fdf9b,_0x5a822a)=>{_0x16f2b0[_0x1bdd('0x8')]['get'](_0x1bdd('0x34'))['value']&&(_0x5a822a[_0x1bdd('0x13')]>0x0&&_0x5a822a[_0x5a822a[_0x1bdd('0x13')]-0x1]&&_0x5a822a[_0x5a822a[_0x1bdd('0x13')]-0x1][_0x1bdd('0x42')]||_0xe0838a[_0x1bdd('0x4')]||this[_0x1bdd('0x11')]()||_0x1fdf9b[_0x1bdd('0x7')]());},{'priority':_0x1bdd('0x4e')});for(const _0xb9f38 of[_0x1bdd('0x48'),_0x1bdd('0x16'),_0x1bdd('0x41'),_0x1bdd('0x10')]){const _0x439ef2=_0x16f2b0[_0x1bdd('0x8')][_0x1bdd('0x25')](_0xb9f38);_0xe0838a[_0x1bdd('0x0')](_0xb9f38,()=>{const _0x36d2b3=_0x16f2b0[_0x1bdd('0x27')][_0x1bdd('0x40')]['selection'][_0x1bdd('0x3a')]()[_0x1bdd('0x3d')]()[_0x1bdd('0x47')](_0x1a47a6=>_0x1a47a6['is'](_0x1bdd('0x1a'),_0x1bdd('0xb'))),_0xe1e76e=_0x439ef2[_0x1bdd('0x49')];_0x16f2b0[_0x1bdd('0x27')][_0x1bdd('0x29')](()=>{_0xe0838a['markMultiRangeBlockFormat']([_0x36d2b3,_0xe1e76e],{'commandName':'mergeTableCells','commandParams':[]},[],_0x1bdd('0x1'));});});}for(const _0x54ed4c of[_0x1bdd('0xa'),_0x1bdd('0x38')]){const _0x1f033c=_0x16f2b0[_0x1bdd('0x8')][_0x1bdd('0x25')](_0x54ed4c);_0xe0838a[_0x1bdd('0x0')](_0x54ed4c,()=>{const _0xd78c54=_0x1eed2e['getSelectionAffectedTableCells'](_0x16f2b0[_0x1bdd('0x27')][_0x1bdd('0x40')]['selection'])[0x0],_0x4ed75c=_0xd78c54[_0x1bdd('0x21')](_0x1bdd('0x2b')),{column:_0x561db1,row:_0x2f5f7c}=_0x1eed2e['getCellLocation'](_0xd78c54);let _0x5937f0=[];if(_0x1bdd('0x37')==_0x1f033c[_0x1bdd('0x5')]){const _0x242cc6=_0x1eed2e['createTableWalker'](_0x4ed75c,{'startRow':_0x2f5f7c,'endRow':_0x2f5f7c,'includeAllSlots':!0x0});_0x5937f0=Array['from'](_0x242cc6)['map'](_0x5d2d50=>_0x5d2d50[_0x1bdd('0x43')]);}else{const _0x1a57da=_0x1eed2e[_0x1bdd('0x4b')](_0x4ed75c,{'column':_0x561db1,'includeAllSlots':!0x0});_0x5937f0=Array[_0x1bdd('0x4c')](_0x1a57da)[_0x1bdd('0x15')](_0x2652d7=>_0x2652d7[_0x1bdd('0x43')]);}_0x16f2b0[_0x1bdd('0x27')]['change'](_0x1b6970=>{_0xe0838a[_0x1bdd('0x45')](_0x1b6970['createRangeOn'](_0xd78c54),{'commandName':_0x54ed4c,'commandParams':[]},_0x5937f0,_0x54ed4c);});});}_0xe0838a['_descriptionFactory'][_0x1bdd('0x2f')](_0x194c5d=>{if(_0x1bdd('0x32')!=_0x194c5d[_0x1bdd('0x3e')]&&'formatInline'!=_0x194c5d['type'])return;const {data:_0x2ff9da}=_0x194c5d;return _0x2ff9da&&_0x1bdd('0x1')==_0x2ff9da[_0x1bdd('0x18')]?{'type':'format','content':_0x1b7962(_0x549c4a,_0x1bdd('0x2'))}:void 0x0;}),_0xe0838a['_descriptionFactory'][_0x1bdd('0x2f')](_0x46ac6c=>{if('formatBlock'!=_0x46ac6c[_0x1bdd('0x3e')]&&_0x1bdd('0x28')!=_0x46ac6c[_0x1bdd('0x3e')])return;const {data:_0x3623ec}=_0x46ac6c;return _0x3623ec?_0x1bdd('0xa')==_0x3623ec[_0x1bdd('0x18')]?{'type':_0x1bdd('0x50'),'content':_0x1b7962(_0x549c4a,_0x1bdd('0x35'))}:_0x1bdd('0x38')==_0x3623ec[_0x1bdd('0x18')]?{'type':_0x1bdd('0x50'),'content':_0x1b7962(_0x549c4a,_0x1bdd('0x3'))}:void 0x0:void 0x0;});const _0x1489a4=_0x28209c[_0x1bdd('0x19')]();for(const _0x27c245 of[_0x1bdd('0x48'),_0x1bdd('0x16'),_0x1bdd('0x41'),_0x1bdd('0x10')])_0xe0838a[_0x1bdd('0x12')][_0x1bdd('0x2c')]('formatBlock',_0x27c245,_0x1bdd('0x2a'),_0x1489a4);for(const _0x3b8051 of[_0x1bdd('0xa'),_0x1bdd('0x38')])_0xe0838a[_0x1bdd('0x12')]['registerCustomCallback'](_0x1bdd('0x32'),_0x3b8051,_0x1bdd('0x2a'),_0x1489a4);_0xe0838a[_0x1bdd('0x12')][_0x1bdd('0x2c')](_0x1bdd('0x32'),_0x1bdd('0x1'),_0x1bdd('0x2a'),_0x53c63d=>{_0x16f2b0[_0x1bdd('0x27')]['change'](_0x1d8cc3=>{const _0x2a1cec=Array[_0x1bdd('0x4c')](_0x1d367d['getRanges']())['map'](_0x140aae=>_0x30faef[_0x1bdd('0x9')](_0x140aae));_0x1d8cc3[_0x1bdd('0x3c')](_0x53c63d),_0x16f2b0[_0x1bdd('0x8')][_0x1bdd('0x25')](_0x1bdd('0x1'))[_0x1bdd('0xc')](),_0x16f2b0['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x40cf0a=_0x2a1cec[_0x1bdd('0x39')](_0x28001f=>_0x1bdd('0xf')!=_0x28001f['root'][_0x1bdd('0x3b')]);_0x40cf0a['length']>0x0&&_0x1d8cc3['setSelection'](_0x40cf0a);for(const _0x5362aa of _0x2a1cec)_0x5362aa[_0x1bdd('0x4a')]();});});for(const _0x445a1b of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft',_0x1bdd('0x16')]){const _0x34cb96=_0x16f2b0['commands']['get'](_0x445a1b);_0x34cb96['on'](_0x1bdd('0x26'),(_0x45ea69,_0x11afe6,_0x27e3f9)=>{if(_0x27e3f9){const _0x1c0a93=_0x16f2b0[_0x1bdd('0x27')][_0x1bdd('0x40')]['selection'][_0x1bdd('0x3a')]()[_0x1bdd('0x3d')]()[_0x1bdd('0x47')](_0x27ba30=>_0x27ba30['is'](_0x1bdd('0x1a'),'tableCell'));this[_0x1bdd('0x17')](_0x34cb96[_0x1bdd('0x49')],_0x1c0a93)||(_0x45ea69['return']=!0x1,_0x45ea69[_0x1bdd('0x7')]());}},{'priority':_0x1bdd('0x20')});}}['_areSelectedCellsMergable'](){const _0x46b721=this['editor'][_0x1bdd('0x8')][_0x1bdd('0x25')](_0x1bdd('0x1')),_0x3d0a95=this['editor'][_0x1bdd('0x1c')]['get']('TableUtils');if(!_0x46b721[_0x1bdd('0x1d')])return!0x1;const _0xebac47=_0x3d0a95[_0x1bdd('0x2d')](this[_0x1bdd('0x22')]['model'][_0x1bdd('0x40')][_0x1bdd('0x1f')]);for(const _0x2831c6 of _0xebac47)for(const _0x2f90d7 of _0xebac47)if(_0x2831c6!=_0x2f90d7&&!this['_areMergableCells'](_0x2831c6,_0x2f90d7))return!0x1;return!0x0;}[_0x1bdd('0x17')](_0x45a1b3,_0x4d2443){const _0x5099b3=this[_0x1bdd('0x22')]['plugins'][_0x1bdd('0x25')](_0x1bdd('0x30')),_0x34a4a8=this[_0x1bdd('0x22')][_0x1bdd('0x27')][_0x1bdd('0xe')](_0x45a1b3),_0x60a164=this[_0x1bdd('0x22')]['model']['createRangeOn'](_0x4d2443),_0x3f9473=new Set(),_0x15cae4=new Set();for(const _0x5f5965 of _0x5099b3[_0x1bdd('0x1b')]())if((_0x1bdd('0x1e')==_0x5f5965[_0x1bdd('0x3e')]||_0x1bdd('0x24')==_0x5f5965[_0x1bdd('0x3e')]||'mergeTableCells'==_0x5f5965[_0x1bdd('0x23')])&&_0x5f5965[_0x1bdd('0x44')])for(const _0x1e5003 of _0x5f5965[_0x1bdd('0x2e')]())_0x1e5003[_0x1bdd('0x6')](_0x34a4a8,!0x0)&&_0x3f9473[_0x1bdd('0xd')](_0x5f5965['type']+':'+_0x5f5965[_0x1bdd('0x4f')]['id']),_0x1e5003[_0x1bdd('0x6')](_0x60a164,!0x0)&&_0x15cae4[_0x1bdd('0xd')](_0x5f5965['type']+':'+_0x5f5965['author']['id']);if(_0x3f9473[_0x1bdd('0x4d')]!=_0x15cae4['size'])return!0x1;for(const _0x54ec43 of _0x3f9473)if(!_0x15cae4[_0x1bdd('0x36')](_0x54ec43))return!0x1;return!0x0;}}
23
+ const _0x14cf=['TrackChangesEditing','refresh','createTableWalker','direction','map','document','selection','registerCustomCallback','mergeTableCells','requires','_areMergableCells','splitTableCellHorizontally','execute','TableEditing','type','plugins','forceDefaultExecution','stop','*Split\x20cell:*\x20vertically','insertion','afterInit','$graveyard','getSelectionAffectedTableCells','filter','element','detach','change','getSuggestions','set:isEnabled','_areSelectedCellsMergable','getRanges','_descriptionFactory','*Merge\x20cells*','formatInline','setSelection','mergeTableCellLeft','value','fromRange','getFirstPosition','add','deletion','return','createRangeOn','accept','registerDescriptionCallback','push','_suggestionFactory','model','editor','_isForcedDefaultExecutionBlock','rootName','_tablePostFixingSubtypes','mergeTableCellUp','mergeTableCellDown','author','from','subType','TableUtils','tableCell','getAncestors','formatBlock','markMultiRangeBlockFormat','isInContent','low','root','find','enableCommand','format','length','table','containsRange','cell','size','mergeTableCellRight','get','has','markBlockFormat','splitTableCellVertically','commands','highest','getCellLocation'];(function(_0xf809d,_0x14cf30){const _0x1f6b20=function(_0x4bdd0d){while(--_0x4bdd0d){_0xf809d['push'](_0xf809d['shift']());}};_0x1f6b20(++_0x14cf30);}(_0x14cf,0x68));const _0x1f6b=function(_0xf809d,_0x14cf30){_0xf809d=_0xf809d-0x0;let _0x1f6b20=_0x14cf[_0xf809d];return _0x1f6b20;};import{Plugin as _0x326d24}from'ckeditor5/src/core';import _0x3ab70f from'./table';import{LiveRange as _0x3ea3e2}from'ckeditor5/src/engine';import{getTranslation as _0x3e9f8a}from'../utils/common-translations';export default class yt extends _0x326d24{static get[_0x1f6b('0x43')](){return[_0x3ab70f];}[_0x1f6b('0x4e')](){const _0x4bec83=this[_0x1f6b('0x19')],_0x427a3b=_0x4bec83['model'][_0x1f6b('0x3f')]['selection'],_0x27da44=_0x4bec83['locale'];if(!_0x4bec83[_0x1f6b('0x49')][_0x1f6b('0x34')](_0x1f6b('0x47')))return;const _0x1089e1=_0x4bec83['plugins']['get'](_0x1f6b('0x3a')),_0x81d198=_0x4bec83[_0x1f6b('0x49')]['get'](_0x1f6b('0x22')),_0x2b6c28=_0x4bec83[_0x1f6b('0x49')]['get'](_0x3ab70f);_0x2b6c28[_0x1f6b('0x1c')][_0x1f6b('0x16')]('mergeTableCells'),_0x1089e1[_0x1f6b('0x2b')](_0x1f6b('0x42'),()=>{const _0x4ea77a=_0x81d198['getSelectionAffectedTableCells'](_0x4bec83[_0x1f6b('0x18')]['document'][_0x1f6b('0x40')]);_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3')](()=>{_0x1089e1['markMultiRangeBlockFormat'](_0x4ea77a,{'commandName':_0x1f6b('0x42'),'commandParams':[]},[],_0x1f6b('0x42'));});}),_0x4bec83['commands'][_0x1f6b('0x33')](_0x1f6b('0x42'))['on'](_0x1f6b('0x46'),(_0x4f6925,_0x295c9d)=>{_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')]('trackChanges')[_0x1f6b('0xd')]&&(_0x295c9d['length']>0x0&&_0x295c9d[_0x295c9d['length']-0x1]&&_0x295c9d[_0x295c9d['length']-0x1][_0x1f6b('0x4a')]||_0x1089e1[_0x1f6b('0x1a')]||this[_0x1f6b('0x6')]()||_0x4f6925[_0x1f6b('0x4b')]());},{'priority':_0x1f6b('0x38')});for(const _0x20428d of[_0x1f6b('0x1d'),'mergeTableCellRight',_0x1f6b('0x1e'),_0x1f6b('0xc')]){const _0x4fc337=_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x20428d);_0x1089e1[_0x1f6b('0x2b')](_0x20428d,()=>{const _0x2bf823=_0x4bec83['model'][_0x1f6b('0x3f')]['selection'][_0x1f6b('0xf')]()[_0x1f6b('0x24')]()['find'](_0x5c9178=>_0x5c9178['is'](_0x1f6b('0x1'),_0x1f6b('0x23'))),_0x16a67a=_0x4fc337[_0x1f6b('0xd')];_0x4bec83[_0x1f6b('0x18')]['change'](()=>{_0x1089e1[_0x1f6b('0x26')]([_0x2bf823,_0x16a67a],{'commandName':_0x1f6b('0x42'),'commandParams':[]},[],_0x1f6b('0x42'));});});}for(const _0x5ae4ac of[_0x1f6b('0x36'),'splitTableCellHorizontally']){const _0x5a9878=_0x4bec83['commands'][_0x1f6b('0x33')](_0x5ae4ac);_0x1089e1[_0x1f6b('0x2b')](_0x5ae4ac,()=>{const _0x4c13d5=_0x81d198[_0x1f6b('0x50')](_0x4bec83['model']['document'][_0x1f6b('0x40')])[0x0],_0x117f9e=_0x4c13d5['findAncestor'](_0x1f6b('0x2e')),{column:_0x38c539,row:_0x2d75c0}=_0x81d198[_0x1f6b('0x39')](_0x4c13d5);let _0x58c829=[];if('horizontally'==_0x5a9878[_0x1f6b('0x3d')]){const _0x1f3e70=_0x81d198[_0x1f6b('0x3c')](_0x117f9e,{'startRow':_0x2d75c0,'endRow':_0x2d75c0,'includeAllSlots':!0x0});_0x58c829=Array[_0x1f6b('0x20')](_0x1f3e70)[_0x1f6b('0x3e')](_0x5ee6e9=>_0x5ee6e9[_0x1f6b('0x30')]);}else{const _0x3e7c7d=_0x81d198[_0x1f6b('0x3c')](_0x117f9e,{'column':_0x38c539,'includeAllSlots':!0x0});_0x58c829=Array[_0x1f6b('0x20')](_0x3e7c7d)[_0x1f6b('0x3e')](_0x44ba34=>_0x44ba34[_0x1f6b('0x30')]);}_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3')](_0x458c45=>{_0x1089e1[_0x1f6b('0x35')](_0x458c45['createRangeOn'](_0x4c13d5),{'commandName':_0x5ae4ac,'commandParams':[]},_0x58c829,_0x5ae4ac);});});}_0x1089e1[_0x1f6b('0x8')][_0x1f6b('0x15')](_0x397dfd=>{if('formatBlock'!=_0x397dfd[_0x1f6b('0x48')]&&'formatInline'!=_0x397dfd[_0x1f6b('0x48')])return;const {data:_0x54864d}=_0x397dfd;return _0x54864d&&_0x1f6b('0x42')==_0x54864d['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,_0x1f6b('0x9'))}:void 0x0;}),_0x1089e1[_0x1f6b('0x8')][_0x1f6b('0x15')](_0x40da4c=>{if(_0x1f6b('0x25')!=_0x40da4c[_0x1f6b('0x48')]&&_0x1f6b('0xa')!=_0x40da4c[_0x1f6b('0x48')])return;const {data:_0x80ca7b}=_0x40da4c;return _0x80ca7b?_0x1f6b('0x36')==_0x80ca7b['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,_0x1f6b('0x4c'))}:_0x1f6b('0x45')==_0x80ca7b['commandName']?{'type':_0x1f6b('0x2c'),'content':_0x3e9f8a(_0x27da44,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x358f28=_0x2b6c28['_acceptFormatSuggestionCallbackFactory']();for(const _0x4d1689 of['mergeTableCellUp',_0x1f6b('0x32'),_0x1f6b('0x1e'),_0x1f6b('0xc')])_0x1089e1[_0x1f6b('0x17')][_0x1f6b('0x41')](_0x1f6b('0x25'),_0x4d1689,_0x1f6b('0x14'),_0x358f28);for(const _0x34d591 of[_0x1f6b('0x36'),'splitTableCellHorizontally'])_0x1089e1[_0x1f6b('0x17')][_0x1f6b('0x41')](_0x1f6b('0x25'),_0x34d591,_0x1f6b('0x14'),_0x358f28);_0x1089e1['_suggestionFactory']['registerCustomCallback'](_0x1f6b('0x25'),_0x1f6b('0x42'),_0x1f6b('0x14'),_0x80a090=>{_0x4bec83[_0x1f6b('0x18')]['change'](_0x5bc9c0=>{const _0xc050bf=Array[_0x1f6b('0x20')](_0x427a3b[_0x1f6b('0x7')]())[_0x1f6b('0x3e')](_0x479511=>_0x3ea3e2[_0x1f6b('0xe')](_0x479511));_0x5bc9c0[_0x1f6b('0xb')](_0x80a090),_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x1f6b('0x42'))[_0x1f6b('0x3b')](),_0x4bec83['execute'](_0x1f6b('0x42'),{'forceDefaultExecution':!0x0});const _0x2dc07b=_0xc050bf[_0x1f6b('0x0')](_0xb54f50=>_0x1f6b('0x4f')!=_0xb54f50[_0x1f6b('0x29')][_0x1f6b('0x1b')]);_0x2dc07b[_0x1f6b('0x2d')]>0x0&&_0x5bc9c0[_0x1f6b('0xb')](_0x2dc07b);for(const _0x3a7481 of _0xc050bf)_0x3a7481[_0x1f6b('0x2')]();});});for(const _0x5accb5 of[_0x1f6b('0x1d'),_0x1f6b('0x1e'),_0x1f6b('0xc'),'mergeTableCellRight']){const _0xae65f2=_0x4bec83[_0x1f6b('0x37')][_0x1f6b('0x33')](_0x5accb5);_0xae65f2['on'](_0x1f6b('0x5'),(_0x233f47,_0x19675a,_0x5091d7)=>{if(_0x5091d7){const _0x242414=_0x4bec83[_0x1f6b('0x18')][_0x1f6b('0x3f')]['selection']['getFirstPosition']()[_0x1f6b('0x24')]()[_0x1f6b('0x2a')](_0x1d0fb5=>_0x1d0fb5['is'](_0x1f6b('0x1'),'tableCell'));this[_0x1f6b('0x44')](_0xae65f2[_0x1f6b('0xd')],_0x242414)||(_0x233f47[_0x1f6b('0x12')]=!0x1,_0x233f47[_0x1f6b('0x4b')]());}},{'priority':_0x1f6b('0x28')});}}[_0x1f6b('0x6')](){const _0x262c64=this[_0x1f6b('0x19')][_0x1f6b('0x37')][_0x1f6b('0x33')](_0x1f6b('0x42')),_0x146b7a=this['editor']['plugins'][_0x1f6b('0x33')](_0x1f6b('0x22'));if(!_0x262c64['isEnabled'])return!0x1;const _0x5a39e9=_0x146b7a[_0x1f6b('0x50')](this[_0x1f6b('0x19')][_0x1f6b('0x18')][_0x1f6b('0x3f')]['selection']);for(const _0x1e6d4e of _0x5a39e9)for(const _0x1e34ba of _0x5a39e9)if(_0x1e6d4e!=_0x1e34ba&&!this['_areMergableCells'](_0x1e6d4e,_0x1e34ba))return!0x1;return!0x0;}['_areMergableCells'](_0x188767,_0xd04016){const _0x22cd64=this['editor']['plugins'][_0x1f6b('0x33')](_0x1f6b('0x3a')),_0x325099=this['editor'][_0x1f6b('0x18')][_0x1f6b('0x13')](_0x188767),_0x972fff=this[_0x1f6b('0x19')][_0x1f6b('0x18')][_0x1f6b('0x13')](_0xd04016),_0x3a461a=new Set(),_0x40821a=new Set();for(const _0x554a80 of _0x22cd64[_0x1f6b('0x4')]())if((_0x1f6b('0x4d')==_0x554a80['type']||_0x1f6b('0x11')==_0x554a80[_0x1f6b('0x48')]||_0x1f6b('0x42')==_0x554a80[_0x1f6b('0x21')])&&_0x554a80[_0x1f6b('0x27')])for(const _0x27e30f of _0x554a80[_0x1f6b('0x7')]())_0x27e30f[_0x1f6b('0x2f')](_0x325099,!0x0)&&_0x3a461a[_0x1f6b('0x10')](_0x554a80['type']+':'+_0x554a80['author']['id']),_0x27e30f[_0x1f6b('0x2f')](_0x972fff,!0x0)&&_0x40821a[_0x1f6b('0x10')](_0x554a80['type']+':'+_0x554a80[_0x1f6b('0x1f')]['id']);if(_0x3a461a[_0x1f6b('0x31')]!=_0x40821a[_0x1f6b('0x31')])return!0x1;for(const _0x539931 of _0x3a461a)if(!_0x40821a[_0x1f6b('0x34')](_0x539931))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1822=['insertTableOfContents','commands','plugins','get','afterInit','editor','registerElementLabel','_descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','enableCommand','tableOfContents','TrackChangesEditing','locale'];(function(_0x4e3a26,_0x182226){const _0x20de1a=function(_0x4cfafe){while(--_0x4cfafe){_0x4e3a26['push'](_0x4e3a26['shift']());}};_0x20de1a(++_0x182226);}(_0x1822,0x1ac));const _0x20de=function(_0x4e3a26,_0x182226){_0x4e3a26=_0x4e3a26-0x0;let _0x20de1a=_0x1822[_0x4e3a26];return _0x20de1a;};import{Plugin as _0x10e132}from'ckeditor5/src/core';import{getTranslation as _0x223149}from'../utils/common-translations';export default class _t extends _0x10e132{[_0x20de('0x5')](){const _0x320693=this[_0x20de('0x6')];if(!_0x320693[_0x20de('0x2')][_0x20de('0x4')](_0x20de('0x1')))return;_0x320693[_0x20de('0x3')][_0x20de('0x4')](_0x20de('0xc'))[_0x20de('0xa')](_0x20de('0x1'));const _0x39a13f=_0x320693[_0x20de('0x3')][_0x20de('0x4')](_0x20de('0xc')),_0x49c9d8=_0x320693[_0x20de('0x0')];_0x39a13f[_0x20de('0x8')][_0x20de('0x7')](_0x20de('0xb'),_0x7ac18c=>_0x223149(_0x49c9d8,_0x20de('0x9'),_0x7ac18c));}}
23
+ const _0x3e6c=['TrackChangesEditing','enableCommand','commands','plugins','afterInit','ELEMENT_TABLE_OF_CONTENTS','get','registerElementLabel','insertTableOfContents','editor','locale'];(function(_0x5159aa,_0x3e6c93){const _0x177358=function(_0x1a5b9e){while(--_0x1a5b9e){_0x5159aa['push'](_0x5159aa['shift']());}};_0x177358(++_0x3e6c93);}(_0x3e6c,0x1ba));const _0x1773=function(_0x5159aa,_0x3e6c93){_0x5159aa=_0x5159aa-0x0;let _0x177358=_0x3e6c[_0x5159aa];return _0x177358;};import{Plugin as _0xe2ed7b}from'ckeditor5/src/core';import{getTranslation as _0x316973}from'../utils/common-translations';export default class _t extends _0xe2ed7b{[_0x1773('0x2')](){const _0x249c8a=this[_0x1773('0x7')];if(!_0x249c8a[_0x1773('0x0')]['get'](_0x1773('0x6')))return;_0x249c8a['plugins'][_0x1773('0x4')](_0x1773('0x9'))[_0x1773('0xa')](_0x1773('0x6'));const _0x5d1331=_0x249c8a[_0x1773('0x1')][_0x1773('0x4')](_0x1773('0x9')),_0x55b9fb=_0x249c8a[_0x1773('0x8')];_0x5d1331['_descriptionFactory'][_0x1773('0x5')]('tableOfContents',_0x5187e6=>_0x316973(_0x55b9fb,_0x1773('0x3'),_0x5187e6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3118=['model','subType','join','setAttribute','batch','locale','tableBorderStyle','formatBlock','*Format:*\x20change\x20table\x20cell\x20properties','has','tableCellBorderWidth','discard','tableCellProperties','tableHeight','_handlePropertyChange','enableCommand','tableBorderWidth','tableProperties','handleSuggestionDescription','removeAttribute','_descriptionFactory','tableBackgroundColor','accept','tableWidth','tableBorderColor','commandParams','findAncestor','registerDescriptionCallback','get','TableUtils','tableCellWidth','getContainedElement','TrackChangesEditing','selection','tableCellBorderColor','getSuggestions','tableAlignment','table','tableCellBackgroundColor','plugins','TableCellPropertiesEditing','_getSuggestion','getSuggestionCallback','_suggestionFactory','TablePropertiesEditing','tableCellPadding','change','registerCustomCallback','editor','afterInit','document','format','getFirstPosition','handleDiscardAction','nodeAfter'];(function(_0x4992f0,_0x3118e){const _0x296abc=function(_0x275f49){while(--_0x275f49){_0x4992f0['push'](_0x4992f0['shift']());}};_0x296abc(++_0x3118e);}(_0x3118,0x199));const _0x296a=function(_0x4992f0,_0x3118e){_0x4992f0=_0x4992f0-0x0;let _0x296abc=_0x3118[_0x4992f0];return _0x296abc;};import{Plugin as _0x516f7c}from'ckeditor5/src/core';import{getTranslation as _0x792fbe}from'../utils/common-translations';export default class Nt extends _0x516f7c{constructor(_0x5c29d0){super(_0x5c29d0),this['tableProperties']=[_0x296a('0x0'),_0x296a('0x25'),_0x296a('0x2f'),_0x296a('0xc'),_0x296a('0x36'),_0x296a('0x2c'),_0x296a('0x34')],this['tableCellProperties']=[_0x296a('0xa'),'tableCellBorderStyle',_0x296a('0x29'),_0x296a('0x15'),_0x296a('0x6'),'tableCellHeight',_0x296a('0xe'),'tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}[_0x296a('0x19')](){const _0x4e1708=this[_0x296a('0x18')][_0x296a('0xf')][_0x296a('0x4')](_0x296a('0x8'));if(this[_0x296a('0x18')][_0x296a('0xf')][_0x296a('0x28')](_0x296a('0x14'))){for(const _0x1c3005 of this[_0x296a('0x30')])_0x4e1708[_0x296a('0x2e')](_0x1c3005,(_0x50ff3e,_0x7cc5f2)=>{const _0x5c009c=this[_0x296a('0x18')]['model'][_0x296a('0x1a')][_0x296a('0x9')][_0x296a('0x1c')]()[_0x296a('0x2')](_0x296a('0xd'));this[_0x296a('0x2d')](_0x1c3005,[_0x5c009c],this[_0x296a('0x30')],'tableProperties',_0x50ff3e,_0x7cc5f2);});_0x4e1708['_suggestionFactory'][_0x296a('0x17')]('formatBlock',_0x296a('0x30'),_0x296a('0x35'),_0x4e1708[_0x296a('0x13')]['getSuggestionCallback'](_0x296a('0x26'),null,_0x296a('0x2a'))),_0x4e1708[_0x296a('0x13')][_0x296a('0x17')](_0x296a('0x26'),'tableProperties','discard',(_0x182c0f,_0xf7e6b1)=>this['handleDiscardAction'](this['tableProperties'],_0x182c0f,_0xf7e6b1)),_0x4e1708['_suggestionFactory'][_0x296a('0x17')](_0x296a('0x26'),_0x296a('0x30'),_0x296a('0x21'),()=>!0x1);}if(this[_0x296a('0x18')]['plugins'][_0x296a('0x28')](_0x296a('0x10'))){for(const _0x1784d1 of this['tableCellProperties'])_0x4e1708['enableCommand'](_0x1784d1,(_0x24e1fe,_0x584e15)=>{const _0x312b79=this['editor'][_0x296a('0xf')][_0x296a('0x4')](_0x296a('0x5'))['getSelectionAffectedTableCells'](this[_0x296a('0x18')]['model'][_0x296a('0x1a')][_0x296a('0x9')]);this['_handlePropertyChange'](_0x1784d1,_0x312b79,this[_0x296a('0x2b')],_0x296a('0x2b'),_0x24e1fe,_0x584e15);});_0x4e1708['_suggestionFactory'][_0x296a('0x17')](_0x296a('0x26'),_0x296a('0x2b'),'accept',_0x4e1708[_0x296a('0x13')][_0x296a('0x12')](_0x296a('0x26'),null,_0x296a('0x2a'))),_0x4e1708[_0x296a('0x13')][_0x296a('0x17')](_0x296a('0x26'),_0x296a('0x2b'),_0x296a('0x2a'),(_0x30b01e,_0x800d2d)=>this[_0x296a('0x1d')](this[_0x296a('0x2b')],_0x30b01e,_0x800d2d)),_0x4e1708[_0x296a('0x13')][_0x296a('0x17')]('formatBlock',_0x296a('0x2b'),_0x296a('0x21'),()=>!0x1);}_0x4e1708[_0x296a('0x33')][_0x296a('0x3')](_0x3c254c=>this[_0x296a('0x31')](_0x3c254c));}['_handlePropertyChange'](_0x2efd0d,_0x30ddf5,_0x35e370,_0x5d2187,_0x123f7a,_0x14bb92){const _0x42d47b=this['editor'][_0x296a('0xf')][_0x296a('0x4')]('TrackChangesEditing');this['editor'][_0x296a('0x1f')]['enqueueChange'](_0x14bb92[_0x296a('0x23')],()=>{for(const _0x403de2 of _0x30ddf5){if(this['_getSuggestion'](_0x403de2,_0x5d2187))_0x123f7a(_0x14bb92);else{const _0x11fa1e={};for(const _0x2adfaa of _0x35e370){const _0x18a93b=_0x403de2['getAttribute'](_0x2adfaa);void 0x0!==_0x18a93b&&(_0x11fa1e[_0x2adfaa]=_0x18a93b);}_0x123f7a(_0x14bb92),_0x42d47b['markBlockFormat'](_0x403de2,{'commandParams':[_0x11fa1e]},[],_0x5d2187);}}});}['handleDiscardAction'](_0x499865,_0x2d6798,_0x2be87d){const _0x55e9fe=_0x2d6798[0x0]['start'][_0x296a('0x1e')],_0x1732a1=_0x2be87d[_0x296a('0x1')][0x0];this[_0x296a('0x18')][_0x296a('0x1f')][_0x296a('0x16')](_0x4ca358=>{for(const _0x36323f of _0x499865)void 0x0!==_0x1732a1[_0x36323f]?_0x4ca358[_0x296a('0x22')](_0x36323f,_0x1732a1[_0x36323f],_0x55e9fe):_0x4ca358[_0x296a('0x32')](_0x36323f,_0x55e9fe);});}[_0x296a('0x31')](_0xa5536a){if(_0xa5536a['data'])switch(_0xa5536a[_0x296a('0x20')]){case'tableProperties':return{'type':_0x296a('0x1b'),'content':_0x792fbe(this[_0x296a('0x18')]['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x792fbe(this[_0x296a('0x18')][_0x296a('0x24')],_0x296a('0x27'))};}}[_0x296a('0x11')](_0x2c49cb,_0x917fdb){const _0x284de=this[_0x296a('0x18')][_0x296a('0xf')][_0x296a('0x4')](_0x296a('0x8'));for(const _0x19e069 of _0x284de[_0x296a('0xb')]({'skipNotAttached':!0x0})){const _0x43561c=_0x19e069[_0x296a('0x7')]();if(_0x19e069[_0x296a('0x20')]===_0x917fdb&&_0x43561c===_0x2c49cb)return _0x19e069;}return null;}}
23
+ const _0x2f64=['nodeAfter','table','selection','locale','formatBlock','*Format:*\x20change\x20table\x20cell\x20properties','model','TablePropertiesEditing','getContainedElement','_descriptionFactory','_getSuggestion','*Format:*\x20change\x20table\x20properties','tableHeight','markBlockFormat','getSuggestionCallback','accept','change','tableProperties','registerDescriptionCallback','getAttribute','tableCellBorderWidth','tableCellProperties','_handlePropertyChange','getSelectionAffectedTableCells','enableCommand','format','commandParams','tableCellBackgroundColor','data','tableCellPadding','TrackChangesEditing','afterInit','tableAlignment','editor','tableWidth','_suggestionFactory','tableCellWidth','registerCustomCallback','join','TableCellPropertiesEditing','findAncestor','tableBorderWidth','plugins','tableBorderStyle','handleDiscardAction','TrackChangesTableProperties','tableCellVerticalAlignment','tableBackgroundColor','removeAttribute','tableCellHorizontalAlignment','setAttribute','tableCellHeight','has','tableCellBorderColor','start','getSuggestions','discard','tableCellBorderStyle','subType','document','handleSuggestionDescription','get'];(function(_0x44fcf3,_0x2f64d4){const _0x59495d=function(_0xc5f88b){while(--_0xc5f88b){_0x44fcf3['push'](_0x44fcf3['shift']());}};_0x59495d(++_0x2f64d4);}(_0x2f64,0x186));const _0x5949=function(_0x44fcf3,_0x2f64d4){_0x44fcf3=_0x44fcf3-0x0;let _0x59495d=_0x2f64[_0x44fcf3];return _0x59495d;};import{Plugin as _0x34f891}from'ckeditor5/src/core';import{getTranslation as _0x7abb16}from'../utils/common-translations';export default class Mt extends _0x34f891{constructor(_0x14bab8){super(_0x14bab8),this[_0x5949('0x3d')]=['tableBorderColor',_0x5949('0x19'),_0x5949('0x17'),_0x5949('0xe'),_0x5949('0x10'),_0x5949('0x38'),_0x5949('0x1d')],this[_0x5949('0x3')]=[_0x5949('0x23'),_0x5949('0x27'),_0x5949('0x2'),_0x5949('0xb'),_0x5949('0x12'),_0x5949('0x21'),_0x5949('0x9'),_0x5949('0x1f'),_0x5949('0x1c')];}static get['pluginName'](){return _0x5949('0x1b');}[_0x5949('0xd')](){const _0x24cc58=this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x2b')](_0x5949('0xc'));if(this[_0x5949('0xf')][_0x5949('0x18')]['has'](_0x5949('0x33'))){for(const _0x41c71f of this['tableProperties'])_0x24cc58['enableCommand'](_0x41c71f,(_0x27f905,_0x2c03c6)=>{const _0x24fda7=this[_0x5949('0xf')][_0x5949('0x32')][_0x5949('0x29')]['selection']['getFirstPosition']()[_0x5949('0x16')](_0x5949('0x2d'));this[_0x5949('0x4')](_0x41c71f,[_0x24fda7],this[_0x5949('0x3d')],_0x5949('0x3d'),_0x27f905,_0x2c03c6);});_0x24cc58['_suggestionFactory'][_0x5949('0x13')]('formatBlock',_0x5949('0x3d'),_0x5949('0x3b'),_0x24cc58['_suggestionFactory'][_0x5949('0x3a')](_0x5949('0x30'),null,_0x5949('0x26'))),_0x24cc58[_0x5949('0x11')]['registerCustomCallback'](_0x5949('0x30'),'tableProperties',_0x5949('0x26'),(_0x3796a4,_0x3ab0a6)=>this[_0x5949('0x1a')](this['tableProperties'],_0x3796a4,_0x3ab0a6)),_0x24cc58[_0x5949('0x11')][_0x5949('0x13')]('formatBlock',_0x5949('0x3d'),_0x5949('0x14'),()=>!0x1);}if(this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x22')](_0x5949('0x15'))){for(const _0x329031 of this[_0x5949('0x3')])_0x24cc58[_0x5949('0x6')](_0x329031,(_0x5a4c18,_0x30ca18)=>{const _0x2bb4e6=this[_0x5949('0xf')][_0x5949('0x18')][_0x5949('0x2b')]('TableUtils')[_0x5949('0x5')](this[_0x5949('0xf')][_0x5949('0x32')][_0x5949('0x29')][_0x5949('0x2e')]);this['_handlePropertyChange'](_0x329031,_0x2bb4e6,this[_0x5949('0x3')],_0x5949('0x3'),_0x5a4c18,_0x30ca18);});_0x24cc58[_0x5949('0x11')][_0x5949('0x13')](_0x5949('0x30'),_0x5949('0x3'),_0x5949('0x3b'),_0x24cc58[_0x5949('0x11')][_0x5949('0x3a')](_0x5949('0x30'),null,_0x5949('0x26'))),_0x24cc58[_0x5949('0x11')][_0x5949('0x13')](_0x5949('0x30'),_0x5949('0x3'),_0x5949('0x26'),(_0x1bac2d,_0x4be01a)=>this[_0x5949('0x1a')](this[_0x5949('0x3')],_0x1bac2d,_0x4be01a)),_0x24cc58[_0x5949('0x11')]['registerCustomCallback']('formatBlock',_0x5949('0x3'),'join',()=>!0x1);}_0x24cc58[_0x5949('0x35')][_0x5949('0x0')](_0x36a902=>this[_0x5949('0x2a')](_0x36a902));}[_0x5949('0x4')](_0x28c75b,_0xa2cc3f,_0x58a798,_0x2c138c,_0x41d129,_0x4c1fc1){const _0xa50b53=this[_0x5949('0xf')]['plugins'][_0x5949('0x2b')](_0x5949('0xc'));this['editor']['model']['enqueueChange'](_0x4c1fc1['batch'],()=>{for(const _0x582951 of _0xa2cc3f){if(this[_0x5949('0x36')](_0x582951,_0x2c138c))_0x41d129(_0x4c1fc1);else{const _0x212143={};for(const _0x3631ee of _0x58a798){const _0xa641fd=_0x582951[_0x5949('0x1')](_0x3631ee);void 0x0!==_0xa641fd&&(_0x212143[_0x3631ee]=_0xa641fd);}_0x41d129(_0x4c1fc1),_0xa50b53[_0x5949('0x39')](_0x582951,{'commandParams':[_0x212143]},[],_0x2c138c);}}});}['handleDiscardAction'](_0x1cd084,_0x8314c5,_0x15b3c6){const _0x53a02d=_0x8314c5[0x0][_0x5949('0x24')][_0x5949('0x2c')],_0x3921e3=_0x15b3c6[_0x5949('0x8')][0x0];this[_0x5949('0xf')]['model'][_0x5949('0x3c')](_0x39f879=>{for(const _0x5b0842 of _0x1cd084)void 0x0!==_0x3921e3[_0x5b0842]?_0x39f879[_0x5949('0x20')](_0x5b0842,_0x3921e3[_0x5b0842],_0x53a02d):_0x39f879[_0x5949('0x1e')](_0x5b0842,_0x53a02d);});}[_0x5949('0x2a')](_0x45c2a3){if(_0x45c2a3[_0x5949('0xa')])switch(_0x45c2a3[_0x5949('0x28')]){case _0x5949('0x3d'):return{'type':_0x5949('0x7'),'content':_0x7abb16(this[_0x5949('0xf')][_0x5949('0x2f')],_0x5949('0x37'))};case _0x5949('0x3'):return{'type':_0x5949('0x7'),'content':_0x7abb16(this[_0x5949('0xf')][_0x5949('0x2f')],_0x5949('0x31'))};}}[_0x5949('0x36')](_0x512b34,_0x19d54f){const _0x26775c=this[_0x5949('0xf')][_0x5949('0x18')]['get']('TrackChangesEditing');for(const _0x35b18a of _0x26775c[_0x5949('0x25')]({'skipNotAttached':!0x0})){const _0x5eb915=_0x35b18a[_0x5949('0x34')]();if(_0x35b18a[_0x5949('0x28')]===_0x19d54f&&_0x5eb915===_0x512b34)return _0x35b18a;}return null;}}