@ckeditor/ckeditor5-track-changes 40.0.0 → 40.2.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 (232) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/LICENSE.md +3 -3
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tk.js +1 -1
  45. package/build/translations/tr.js +1 -1
  46. package/build/translations/tt.js +1 -1
  47. package/build/translations/uk.js +1 -1
  48. package/build/translations/ur.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/lang/contexts.json +20 -1
  53. package/lang/translations/ar.po +78 -2
  54. package/lang/translations/az.po +77 -1
  55. package/lang/translations/bg.po +78 -2
  56. package/lang/translations/bn.po +78 -2
  57. package/lang/translations/ca.po +78 -2
  58. package/lang/translations/cs.po +78 -2
  59. package/lang/translations/da.po +78 -2
  60. package/lang/translations/de.po +78 -2
  61. package/lang/translations/el.po +78 -2
  62. package/lang/translations/en-au.po +78 -2
  63. package/lang/translations/en.po +78 -2
  64. package/lang/translations/es.po +78 -2
  65. package/lang/translations/et.po +78 -2
  66. package/lang/translations/fi.po +78 -2
  67. package/lang/translations/fr.po +78 -2
  68. package/lang/translations/gl.po +90 -14
  69. package/lang/translations/he.po +78 -2
  70. package/lang/translations/hi.po +78 -2
  71. package/lang/translations/hr.po +78 -2
  72. package/lang/translations/hu.po +78 -2
  73. package/lang/translations/id.po +78 -2
  74. package/lang/translations/it.po +78 -2
  75. package/lang/translations/ja.po +78 -2
  76. package/lang/translations/ko.po +78 -2
  77. package/lang/translations/lt.po +78 -2
  78. package/lang/translations/lv.po +78 -2
  79. package/lang/translations/ms.po +78 -2
  80. package/lang/translations/nl.po +78 -2
  81. package/lang/translations/no.po +78 -2
  82. package/lang/translations/pl.po +78 -2
  83. package/lang/translations/pt-br.po +96 -20
  84. package/lang/translations/pt.po +78 -2
  85. package/lang/translations/ro.po +78 -2
  86. package/lang/translations/ru.po +78 -2
  87. package/lang/translations/sk.po +78 -2
  88. package/lang/translations/sq.po +77 -1
  89. package/lang/translations/sr-latn.po +78 -2
  90. package/lang/translations/sr.po +78 -2
  91. package/lang/translations/sv.po +78 -2
  92. package/lang/translations/th.po +78 -2
  93. package/lang/translations/tk.po +77 -1
  94. package/lang/translations/tr.po +78 -2
  95. package/lang/translations/tt.po +77 -1
  96. package/lang/translations/uk.po +78 -2
  97. package/lang/translations/ur.po +77 -1
  98. package/lang/translations/vi.po +78 -2
  99. package/lang/translations/zh-cn.po +78 -2
  100. package/lang/translations/zh.po +78 -2
  101. package/package.json +3 -3
  102. package/src/augmentation.d.ts +40 -40
  103. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  104. package/src/commands/acceptsuggestioncommand.js +1 -1
  105. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  106. package/src/commands/discardsuggestioncommand.js +1 -1
  107. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonallsuggestionscommand.js +1 -1
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  110. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  111. package/src/commands/trackchangescommand.d.ts +26 -26
  112. package/src/commands/trackchangescommand.js +1 -1
  113. package/src/index.d.ts +16 -16
  114. package/src/integrations/aiassistant.d.ts +17 -17
  115. package/src/integrations/aiassistant.js +1 -1
  116. package/src/integrations/alignment.d.ts +17 -17
  117. package/src/integrations/alignment.js +1 -1
  118. package/src/integrations/basicstyles.d.ts +17 -17
  119. package/src/integrations/basicstyles.js +1 -1
  120. package/src/integrations/blockquote.d.ts +17 -17
  121. package/src/integrations/blockquote.js +1 -1
  122. package/src/integrations/ckbox.d.ts +17 -17
  123. package/src/integrations/ckbox.js +1 -1
  124. package/src/integrations/codeblock.d.ts +17 -17
  125. package/src/integrations/codeblock.js +1 -1
  126. package/src/integrations/comments.d.ts +14 -14
  127. package/src/integrations/comments.js +1 -1
  128. package/src/integrations/deletecommand.d.ts +17 -17
  129. package/src/integrations/deletecommand.js +1 -1
  130. package/src/integrations/documentlist.d.ts +17 -17
  131. package/src/integrations/documentlist.js +1 -1
  132. package/src/integrations/documentlistproperties.d.ts +29 -29
  133. package/src/integrations/documentlistproperties.js +1 -1
  134. package/src/integrations/entercommand.d.ts +16 -16
  135. package/src/integrations/entercommand.js +1 -1
  136. package/src/integrations/findandreplace.d.ts +21 -21
  137. package/src/integrations/findandreplace.js +1 -1
  138. package/src/integrations/font.d.ts +17 -17
  139. package/src/integrations/font.js +1 -1
  140. package/src/integrations/formatpainter.d.ts +17 -17
  141. package/src/integrations/formatpainter.js +1 -1
  142. package/src/integrations/heading.d.ts +17 -17
  143. package/src/integrations/heading.js +1 -1
  144. package/src/integrations/highlight.d.ts +17 -17
  145. package/src/integrations/highlight.js +1 -1
  146. package/src/integrations/horizontalline.d.ts +17 -17
  147. package/src/integrations/horizontalline.js +1 -1
  148. package/src/integrations/htmlembed.d.ts +17 -17
  149. package/src/integrations/htmlembed.js +1 -1
  150. package/src/integrations/image.d.ts +17 -17
  151. package/src/integrations/image.js +1 -1
  152. package/src/integrations/imagereplace.d.ts +17 -23
  153. package/src/integrations/imagereplace.js +1 -1
  154. package/src/integrations/imagestyle.d.ts +17 -0
  155. package/src/integrations/imagestyle.js +23 -0
  156. package/src/integrations/importword.d.ts +18 -18
  157. package/src/integrations/importword.js +1 -1
  158. package/src/integrations/indent.d.ts +17 -17
  159. package/src/integrations/indent.js +1 -1
  160. package/src/integrations/inputcommand.d.ts +16 -16
  161. package/src/integrations/inputcommand.js +1 -1
  162. package/src/integrations/link.d.ts +17 -17
  163. package/src/integrations/link.js +1 -1
  164. package/src/integrations/list.d.ts +17 -17
  165. package/src/integrations/list.js +1 -1
  166. package/src/integrations/listproperties.d.ts +29 -29
  167. package/src/integrations/listproperties.js +1 -1
  168. package/src/integrations/mediaembed.d.ts +17 -17
  169. package/src/integrations/mediaembed.js +1 -1
  170. package/src/integrations/mention.d.ts +17 -17
  171. package/src/integrations/mention.js +1 -1
  172. package/src/integrations/pagebreak.d.ts +17 -17
  173. package/src/integrations/pagebreak.js +1 -1
  174. package/src/integrations/paragraph.d.ts +17 -17
  175. package/src/integrations/paragraph.js +1 -1
  176. package/src/integrations/removeformat.d.ts +17 -17
  177. package/src/integrations/removeformat.js +1 -1
  178. package/src/integrations/restrictededitingmode.d.ts +17 -17
  179. package/src/integrations/restrictededitingmode.js +1 -1
  180. package/src/integrations/shiftentercommand.d.ts +16 -16
  181. package/src/integrations/shiftentercommand.js +1 -1
  182. package/src/integrations/standardeditingmode.d.ts +17 -17
  183. package/src/integrations/standardeditingmode.js +1 -1
  184. package/src/integrations/style.d.ts +17 -18
  185. package/src/integrations/style.js +1 -1
  186. package/src/integrations/table.d.ts +42 -42
  187. package/src/integrations/table.js +1 -1
  188. package/src/integrations/tablecaption.d.ts +22 -22
  189. package/src/integrations/tablecaption.js +1 -1
  190. package/src/integrations/tableclipboard.d.ts +19 -19
  191. package/src/integrations/tableclipboard.js +1 -1
  192. package/src/integrations/tablecolumnresize.d.ts +26 -26
  193. package/src/integrations/tablecolumnresize.js +1 -1
  194. package/src/integrations/tableheadings.d.ts +22 -22
  195. package/src/integrations/tableheadings.js +1 -1
  196. package/src/integrations/tablemergesplit.d.ts +22 -22
  197. package/src/integrations/tablemergesplit.js +1 -1
  198. package/src/integrations/tableofcontents.d.ts +17 -17
  199. package/src/integrations/tableofcontents.js +1 -1
  200. package/src/integrations/tableproperties.d.ts +27 -27
  201. package/src/integrations/tableproperties.js +1 -1
  202. package/src/integrations/template.d.ts +17 -17
  203. package/src/integrations/template.js +1 -1
  204. package/src/integrations/title.d.ts +17 -17
  205. package/src/integrations/title.js +1 -1
  206. package/src/integrations/undo.d.ts +17 -17
  207. package/src/integrations/undo.js +1 -1
  208. package/src/integrations/utils.d.ts +21 -21
  209. package/src/integrations/utils.js +1 -1
  210. package/src/suggestion.d.ts +291 -276
  211. package/src/suggestion.js +1 -1
  212. package/src/suggestiondescriptionfactory.d.ts +183 -163
  213. package/src/suggestiondescriptionfactory.js +1 -1
  214. package/src/trackchanges.d.ts +180 -244
  215. package/src/trackchanges.js +1 -1
  216. package/src/trackchangesconfig.d.ts +78 -75
  217. package/src/trackchangesdata.d.ts +41 -41
  218. package/src/trackchangesdata.js +1 -1
  219. package/src/trackchangesediting.d.ts +524 -468
  220. package/src/trackchangesediting.js +1 -1
  221. package/src/trackchangesui.d.ts +38 -38
  222. package/src/trackchangesui.js +1 -1
  223. package/src/ui/suggestioncontroller.d.ts +37 -37
  224. package/src/ui/suggestioncontroller.js +1 -1
  225. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  226. package/src/ui/view/basesuggestionthreadview.js +1 -1
  227. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  228. package/src/ui/view/suggestionthreadview.js +1 -1
  229. package/src/utils/common-translations.d.ts +9 -9
  230. package/src/utils/common-translations.js +1 -1
  231. package/src/utils/utils.d.ts +30 -30
  232. package/src/utils/utils.js +1 -1
@@ -1,42 +1,42 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/table
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:table/table~Table table feature}.
11
- */
12
- export default class TrackChangesTable extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- constructor(editor: Editor);
17
- /**
18
- * @inheritDoc
19
- */
20
- afterInit(): void;
21
- }
22
- /**
23
- * Coordinates for suggestion.
24
- */
25
- export interface SuggestionCoordinates {
26
- /**
27
- * Index of the row at which the suggestion starts.
28
- */
29
- minRow: number;
30
- /**
31
- * Index of the row at which the suggestion ends.
32
- */
33
- maxRow: number;
34
- /**
35
- * Index of the column at which the suggestion starts.
36
- */
37
- minColumn: number;
38
- /**
39
- * Index of the column at which the suggestion ends.
40
- */
41
- maxColumn: number;
42
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/table
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature}.
11
+ */
12
+ export default class TrackChangesTable extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ constructor(editor: Editor);
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ afterInit(): void;
21
+ }
22
+ /**
23
+ * Coordinates for suggestion.
24
+ */
25
+ export interface SuggestionCoordinates {
26
+ /**
27
+ * Index of the row at which the suggestion starts.
28
+ */
29
+ minRow: number;
30
+ /**
31
+ * Index of the row at which the suggestion ends.
32
+ */
33
+ maxRow: number;
34
+ /**
35
+ * Index of the column at which the suggestion starts.
36
+ */
37
+ minColumn: number;
38
+ /**
39
+ * Index of the column at which the suggestion ends.
40
+ */
41
+ maxColumn: number;
42
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1619=['tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','fromRange','deletion','last','map','position','substr','above','removeTableColumn','some','getSuggestion','refresh','options','_suggestionFactory','left','oldRange','change','order','TableUtils','data','showSuggestionHighlights','root','markMultiRangeInsertion','createRangeIn','commands','min','cell','nodeAfter','addRange','_getSuggestionCoords','discard','getCellLocation','isEqual','tableCell','ELEMENT_TABLE_COLUMN','minRow','insertTable','_splitMarkerName','insert','classes','_acceptFormatSuggestionCallbackFactory','start','getSelectionAffectedTableCells','getItems','createPositionAt','hasAttribute','toViewElement','subType','insertion','model','editor','setSelection','ELEMENT_TABLE_ROW','tableColumn','from','getRowIndexes','enqueueChange','accept','maxColumn','tablePaste','nodeBefore','_tableSuggestions','MAX_SAFE_INTEGER','createRangeOn','low','insertTableColumnLeft','getAttribute','get','isArray','afterInit','removeTableRow','selectTableRow','insertTableRowAbove','rowspan','TableEditing','TrackChangesEditing','getChildren','findAncestor','$graveyard','table','createTableWalker','colspan','push','_getCoordsForCells','minColumn','MIN_SAFE_INTEGER','detach','span','*Remove:*\x20%0','*Insert:*\x20%0','document','type','registerPostFixer','toLowerCase','highest','isIntersectingWithRange','insertTableRowBelow','_setupColumnsRowsFixing','getColumnIndexes','enableCommand','batch','element','execute','forceValue','rootName','max','_tablePostFixingSubtypes','join','name','first','registerCustomCallback','downcastDispatcher','length','registerDescriptionCallback','includes','getFirstRange','plugins','_descriptionFactory','differ','end','ELEMENT_TABLE','getContainedElement','$textProxy','filter','addClass','isTouching','add','selectTableColumn','ELEMENT_TABLE_WITH_TEXT','ELEMENT_TABLE_ROW_WITH_TEXT','getRanges'];(function(_0x22961e,_0x161942){const _0x16c3b8=function(_0x2b249f){while(--_0x2b249f){_0x22961e['push'](_0x22961e['shift']());}};_0x16c3b8(++_0x161942);}(_0x1619,0xf5));const _0x16c3=function(_0x22961e,_0x161942){_0x22961e=_0x22961e-0x0;let _0x16c3b8=_0x1619[_0x22961e];return _0x16c3b8;};import{Plugin as _0x37a406}from'ckeditor5/src/core';import{LiveRange as _0x392b59}from'ckeditor5/src/engine';import{setHighlightHandling as _0xe25658}from'ckeditor5/src/widget';import{getTranslation as _0x12deb4}from'../utils/common-translations';export default class dt extends _0x37a406{constructor(_0x4d7730){super(_0x4d7730),this['_tablePostFixingSubtypes']=[_0x16c3('0x13'),_0x16c3('0x49')],this[_0x16c3('0x51')]=new Set();}[_0x16c3('0x59')](){const _0x68df5b=this[_0x16c3('0x46')],_0x58ed94=_0x68df5b[_0x16c3('0x45')][_0x16c3('0x6e')]['selection'];if(!_0x68df5b[_0x16c3('0x4')]['has'](_0x16c3('0x5e')))return;const _0x2db262=_0x68df5b['locale'],_0x4377e4=_0x68df5b[_0x16c3('0x4')][_0x16c3('0x57')](_0x16c3('0x5f')),_0x2b21c9=_0x68df5b[_0x16c3('0x4')][_0x16c3('0x57')](_0x16c3('0x26'));_0x4377e4['_descriptionFactory']['registerElementLabel'](_0x16c3('0x63'),_0x2ac39c=>_0x12deb4(_0x2db262,_0x16c3('0x8'),_0x2ac39c)),this[_0x16c3('0x75')](),_0x4377e4[_0x16c3('0x77')](_0x16c3('0x38')),_0x4377e4['enableCommand'](_0x16c3('0x5b')),_0x4377e4[_0x16c3('0x77')](_0x16c3('0xf'));for(const _0x40dfa1 of[_0x16c3('0x5c'),_0x16c3('0x74')]){const _0x5d33ff=_0x68df5b['commands'][_0x16c3('0x57')](_0x40dfa1);_0x4377e4['enableCommand'](_0x40dfa1,_0x374c88=>{_0x68df5b[_0x16c3('0x45')]['change'](_0x293a3e=>{_0x374c88();const _0x7bc191=_0x16c3('0x1b')===_0x5d33ff['order'],_0x73d61d=_0x2b21c9['getSelectionAffectedTableCells'](_0x58ed94),_0xa6659=_0x2b21c9[_0x16c3('0x4b')](_0x73d61d),_0x643cc7=_0x7bc191?_0xa6659[_0x16c3('0x81')]-0x1:_0xa6659['last']+0x1,_0x6e80da=_0x73d61d[0x0][_0x16c3('0x61')](_0x16c3('0x63')),_0x381917=_0x2b21c9['createTableWalker'](_0x6e80da,{'startRow':_0x643cc7,'endRow':_0x643cc7}),_0x25ba58=Array[_0x16c3('0x4a')](_0x381917)['map'](_0x5a8e07=>_0x293a3e[_0x16c3('0x53')](_0x5a8e07[_0x16c3('0x2e')]));_0x4377e4[_0x16c3('0x2a')](_0x25ba58,_0x16c3('0x13'));});});}for(const _0x118f17 of[_0x16c3('0x55'),'insertTableColumnRight']){const _0x54d4d0=_0x68df5b[_0x16c3('0x2c')][_0x16c3('0x57')](_0x118f17);_0x4377e4[_0x16c3('0x77')](_0x118f17,_0x5f482=>{_0x68df5b[_0x16c3('0x45')][_0x16c3('0x24')](_0x738480=>{_0x5f482();const _0x36993b=_0x16c3('0x22')===_0x54d4d0[_0x16c3('0x25')],_0x51def4=_0x2b21c9['getSelectionAffectedTableCells'](_0x58ed94),_0x1667fc=_0x2b21c9[_0x16c3('0x76')](_0x51def4),_0x59bcbf=_0x36993b?_0x1667fc[_0x16c3('0x81')]-0x1:_0x1667fc[_0x16c3('0x17')]+0x1,_0x86a329=_0x51def4[0x0][_0x16c3('0x61')](_0x16c3('0x63')),_0x2e24eb=_0x2b21c9[_0x16c3('0x64')](_0x86a329,{'startRow':0x0,'column':_0x59bcbf,'includeAllSlots':!0x1}),_0x5180a7=Array['from'](_0x2e24eb)[_0x16c3('0x18')](_0x23d49c=>_0x738480[_0x16c3('0x53')](_0x23d49c[_0x16c3('0x2e')]));_0x4377e4[_0x16c3('0x2a')](_0x5180a7,_0x16c3('0x49'));});});}for(const _0x564349 of['removeTableRow',_0x16c3('0x1c')]){const _0x1b602d=_0x564349[_0x16c3('0x1a')](0xb),_0x551b3f=_0x1b602d['toLowerCase'](),_0x519f49=_0x551b3f[_0x16c3('0x1a')](0x0,0x3)+'span',_0x6d77c5=_0x16c3('0x63')+_0x1b602d,_0x4df3ef=_0x16c3('0x2d')+_0x1b602d,_0x2f671c='max'+_0x1b602d;_0x4377e4['enableCommand'](_0x564349,()=>{_0x68df5b['model'][_0x16c3('0x24')](_0x5ce7ee=>{const _0x598c16=_0x2b21c9[_0x16c3('0x3e')](_0x58ed94),_0x1ea8cf=_0x598c16[0x0]['findAncestor'](_0x16c3('0x63'));let _0x5d3d46;if(_0x16c3('0x5a')==_0x564349){const _0x57bfc2=_0x2b21c9[_0x16c3('0x4b')](_0x598c16);_0x5d3d46={'startRow':_0x57bfc2[_0x16c3('0x81')],'endRow':_0x57bfc2[_0x16c3('0x17')],'includeAllSlots':!0x0};}else{const _0x4c8782=_0x2b21c9[_0x16c3('0x76')](_0x598c16);_0x5d3d46={'startColumn':_0x4c8782['first'],'endColumn':_0x4c8782[_0x16c3('0x17')],'includeAllSlots':!0x0};}const _0x597133=_0x2b21c9[_0x16c3('0x64')](_0x1ea8cf,_0x5d3d46),_0x599069=Array[_0x16c3('0x4a')](_0x597133)[_0x16c3('0x18')](({cell:_0x86c9b1})=>_0x86c9b1),_0x3d28f1=se(_0x599069[_0x16c3('0xb')](_0x42d925=>_0x42d925[_0x16c3('0x41')](_0x519f49))),_0xbbf5c=se(_0x599069[_0x16c3('0xb')](_0x110058=>!_0x110058['hasAttribute'](_0x519f49)))[_0x16c3('0x18')](_0x5ebfce=>_0x5ce7ee[_0x16c3('0x53')](_0x5ebfce)),_0x174217=_0x4377e4['markMultiRangeDeletion'](_0xbbf5c,_0x6d77c5);if(_0x174217&&('tableRow'==_0x174217['subType']||'tableColumn'==_0x174217[_0x16c3('0x43')])){const _0x457ce2=this[_0x16c3('0x31')](_0x174217);for(const _0x4ba175 of _0x3d28f1){const _0x3504e7=_0x5ce7ee[_0x16c3('0x53')](_0x4ba175),_0x52f175=_0x2b21c9[_0x16c3('0x33')](_0x4ba175),_0x4e77c1=_0x4ba175[_0x16c3('0x56')](_0x519f49)-0x1,_0x533a83=_0x457ce2[_0x4df3ef],_0x4693b4=_0x457ce2[_0x2f671c];_0x533a83<=_0x52f175[_0x551b3f]&&_0x52f175[_0x551b3f]+_0x4e77c1<=_0x4693b4&&_0x174217[_0x16c3('0x30')](_0x3504e7);}}});});}function _0x122dde(_0x4371f1){const _0x3415aa=Array['from'](_0x58ed94[_0x16c3('0x12')]())[_0x16c3('0x18')](_0x351848=>_0x392b59[_0x16c3('0x15')](_0x351848));_0x68df5b[_0x16c3('0x45')][_0x16c3('0x24')](_0x14fe4b=>{const _0x53d35d=_0x14fe4b[_0x16c3('0x78')];_0x4371f1=_0x4371f1['filter'](_0x23af3b=>_0x16c3('0x62')!=_0x23af3b['root'][_0x16c3('0x7c')]),_0x14fe4b[_0x16c3('0x47')](_0x4371f1),_0x68df5b[_0x16c3('0x2c')][_0x16c3('0x57')](_0x16c3('0x5a'))[_0x16c3('0x1f')](),_0x68df5b[_0x16c3('0x7a')](_0x16c3('0x5a'),{'forceDefaultExecution':!0x0}),_0x68df5b[_0x16c3('0x45')]['enqueueChange'](()=>{_0x68df5b[_0x16c3('0x45')][_0x16c3('0x4c')](_0x53d35d,_0x25218c=>{const _0x9fd483=_0x3415aa[_0x16c3('0xb')](_0x331d90=>_0x16c3('0x62')!=_0x331d90['root'][_0x16c3('0x7c')]);_0x9fd483['length']>0x0&&_0x25218c['setSelection'](_0x9fd483);for(const _0x3a8231 of _0x3415aa)_0x3a8231[_0x16c3('0x6a')]();});});});}function _0x10253e(_0x3d9236){_0x68df5b[_0x16c3('0x45')][_0x16c3('0x24')](_0x503476=>{const _0x305f12=Array[_0x16c3('0x4a')](_0x58ed94[_0x16c3('0x12')]())[_0x16c3('0x18')](_0x1d68ab=>_0x392b59['fromRange'](_0x1d68ab)),_0x50ba05=[];for(const _0x44547d of _0x3d9236)for(const _0x44faf3 of _0x44547d[_0x16c3('0x3f')]({'shallow':!0x0}))_0x50ba05[_0x16c3('0x66')](_0x44faf3);for(const _0x23c6fb of _0x50ba05)_0x16c3('0x62')!=_0x23c6fb['root']['rootName']&&(_0x503476[_0x16c3('0x47')](_0x503476[_0x16c3('0x40')](_0x23c6fb,0x0)),_0x68df5b[_0x16c3('0x2c')]['get']('removeTableColumn')[_0x16c3('0x1f')](),_0x68df5b['execute'](_0x16c3('0x1c'),{'forceDefaultExecution':!0x0}));const _0x2597e5=_0x305f12[_0x16c3('0xb')](_0xba35ac=>_0x16c3('0x62')!=_0xba35ac[_0x16c3('0x29')]['rootName']);_0x2597e5['length']>0x0&&_0x503476[_0x16c3('0x47')](_0x2597e5);for(const _0x320c0a of _0x305f12)_0x320c0a[_0x16c3('0x6a')]();});}function _0x530253(_0x117884,_0xf06874){return _0xf06874['every'](_0x3b38e7=>_0x117884[_0x16c3('0x1d')](_0x6cd7e3=>_0x6cd7e3[_0x16c3('0x7')]['isEqual'](_0x3b38e7[_0x16c3('0x3d')])||_0x3b38e7[_0x16c3('0x7')][_0x16c3('0x34')](_0x6cd7e3[_0x16c3('0x3d')])));}function _0x332219(_0x1906ed,_0x22a151){return _0x1906ed[_0x16c3('0x1d')](_0x5d927d=>_0x22a151[_0x16c3('0x1d')](_0x24aca2=>_0x5d927d[_0x16c3('0x7')][_0x16c3('0xd')](_0x24aca2[_0x16c3('0x3d')])));}_0x68df5b[_0x16c3('0x27')][_0x16c3('0x83')]['on']('addMarker:suggestion',(_0x3a3eac,_0x8ed327,_0x286b22)=>{if(!_0x286b22[_0x16c3('0x20')][_0x16c3('0x28')])return;const _0x1ab0d9=_0x8ed327['item'];if(!_0x1ab0d9)return;const _0x1e48af=_0x286b22['mapper'][_0x16c3('0x42')](_0x1ab0d9);function _0x44fe93(_0x34d877){return Array[_0x16c3('0x58')](_0x34d877)?_0x34d877:[_0x34d877];}_0x1e48af&&_0x16c3('0x35')===_0x1ab0d9[_0x16c3('0x80')]&&_0xe25658(_0x1e48af,_0x286b22['writer'],(_0x4932af,_0x4ffd8f,_0x1e506c)=>_0x1e506c[_0x16c3('0xc')](_0x44fe93(_0x4ffd8f[_0x16c3('0x3b')]),_0x4932af),(_0x3366e7,_0x2eb532,_0x190dba)=>_0x190dba['removeClass'](_0x44fe93(_0x2eb532['classes']),_0x3366e7));},{'priority':_0x16c3('0x72')}),_0x4377e4[_0x16c3('0x5')][_0x16c3('0x1')](_0x4e02ed=>{if(_0x16c3('0x44')!=_0x4e02ed[_0x16c3('0x6f')]&&'deletion'!=_0x4e02ed[_0x16c3('0x6f')])return;const _0x4081a8=_0x4e02ed[_0x16c3('0x9')]();if(null!=_0x4081a8&&_0x4081a8['is'](_0x16c3('0x79'),_0x16c3('0x63'))){if(_0x16c3('0x44')==_0x4e02ed[_0x16c3('0x6f')]){const _0x71b36f=_0x4e02ed['getItems']()[_0x16c3('0xb')](_0x3f9abe=>_0x3f9abe['is'](_0x16c3('0xa')))[_0x16c3('0x18')](_0x1750e2=>_0x1750e2[_0x16c3('0x27')]);if(_0x71b36f[_0x16c3('0x0')])return{'type':_0x16c3('0x44'),'content':_0x12deb4(_0x2db262,_0x16c3('0x6d'),_0x12deb4(_0x2db262,_0x16c3('0x10'),'\x22'+_0x71b36f[_0x16c3('0x7f')]('\x20')+'\x22'))};}if(_0x16c3('0x16')==_0x4e02ed[_0x16c3('0x6f')]){const _0x55f6fe=_0x4e02ed[_0x16c3('0x3f')]()['filter'](_0x2c1fce=>_0x2c1fce['is'](_0x16c3('0xa')))[_0x16c3('0x18')](_0x3d0cad=>_0x3d0cad[_0x16c3('0x27')]);if(_0x55f6fe[_0x16c3('0x0')])return{'type':_0x16c3('0x16'),'content':_0x12deb4(_0x2db262,_0x16c3('0x6c'),_0x12deb4(_0x2db262,_0x16c3('0x10'),'\x22'+_0x55f6fe[_0x16c3('0x7f')]('\x20')+'\x22'))};}}}),_0x4377e4[_0x16c3('0x5')]['registerDescriptionCallback'](_0x344e07=>{if(_0x16c3('0x13')==_0x344e07[_0x16c3('0x43')]){const _0x28692d=_0x344e07['getItems']()['filter'](_0x462aed=>_0x462aed['is'](_0x16c3('0xa')))[_0x16c3('0x18')](_0x543c50=>_0x543c50[_0x16c3('0x27')]),_0x194726=this['_getSuggestionCoords'](_0x344e07),_0x23a6ec=_0x194726['maxRow']-_0x194726[_0x16c3('0x37')]+0x1;if('insertion'==_0x344e07[_0x16c3('0x6f')])return _0x28692d[_0x16c3('0x0')]?{'type':'insertion','content':_0x12deb4(_0x2db262,'*Insert:*\x20%0',_0x12deb4(_0x2db262,_0x16c3('0x11'),[_0x23a6ec,'\x22'+_0x28692d[_0x16c3('0x7f')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x12deb4(_0x2db262,'*Insert:*\x20%0',_0x12deb4(_0x2db262,_0x16c3('0x48'),_0x23a6ec))};if(_0x16c3('0x16')==_0x344e07[_0x16c3('0x6f')])return _0x28692d[_0x16c3('0x0')]?{'type':'deletion','content':_0x12deb4(_0x2db262,_0x16c3('0x6c'),_0x12deb4(_0x2db262,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x23a6ec,'\x22'+_0x28692d['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x12deb4(_0x2db262,_0x16c3('0x6c'),_0x12deb4(_0x2db262,_0x16c3('0x48'),_0x23a6ec))};}if(_0x16c3('0x49')==_0x344e07[_0x16c3('0x43')]){const _0x159c1d=_0x344e07[_0x16c3('0x3f')]()[_0x16c3('0xb')](_0x40c8c0=>_0x40c8c0['is'](_0x16c3('0xa')))[_0x16c3('0x18')](_0x1b0e03=>_0x1b0e03[_0x16c3('0x27')]),_0x375b40=this['_getSuggestionCoords'](_0x344e07),_0xeef44c=_0x375b40[_0x16c3('0x4e')]-_0x375b40[_0x16c3('0x68')]+0x1;if(_0x16c3('0x44')==_0x344e07[_0x16c3('0x6f')])return _0x159c1d[_0x16c3('0x0')]?{'type':_0x16c3('0x44'),'content':_0x12deb4(_0x2db262,_0x16c3('0x6d'),_0x12deb4(_0x2db262,_0x16c3('0x14'),[_0xeef44c,'\x22'+_0x159c1d[_0x16c3('0x7f')]('\x20')+'\x22']))}:{'type':_0x16c3('0x44'),'content':_0x12deb4(_0x2db262,'*Insert:*\x20%0',_0x12deb4(_0x2db262,_0x16c3('0x36'),_0xeef44c))};if('deletion'==_0x344e07[_0x16c3('0x6f')])return _0x159c1d[_0x16c3('0x0')]?{'type':'deletion','content':_0x12deb4(_0x2db262,_0x16c3('0x6c'),_0x12deb4(_0x2db262,_0x16c3('0x14'),[_0xeef44c,'\x22'+_0x159c1d[_0x16c3('0x7f')]('\x20')+'\x22']))}:{'type':_0x16c3('0x16'),'content':_0x12deb4(_0x2db262,_0x16c3('0x6c'),_0x12deb4(_0x2db262,_0x16c3('0x36'),_0xeef44c))};}}),_0x4377e4['_suggestionFactory'][_0x16c3('0x82')](_0x16c3('0x44'),_0x16c3('0x13'),_0x16c3('0x32'),_0x122dde),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')](_0x16c3('0x16'),_0x16c3('0x13'),'accept',_0x122dde),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')](_0x16c3('0x44'),_0x16c3('0x49'),_0x16c3('0x32'),_0x10253e),_0x4377e4['_suggestionFactory'][_0x16c3('0x82')]('deletion',_0x16c3('0x49'),_0x16c3('0x4d'),_0x10253e),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')](_0x16c3('0x44'),'tableColumn',_0x16c3('0x7f'),_0x530253),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')]('deletion',_0x16c3('0x49'),'join',_0x530253),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')](_0x16c3('0x44'),_0x16c3('0x13'),_0x16c3('0x7f'),_0x332219),_0x4377e4[_0x16c3('0x21')][_0x16c3('0x82')](_0x16c3('0x16'),'tableRow',_0x16c3('0x7f'),_0x332219);}[_0x16c3('0x3c')](){const _0x17ee33=this['editor'],_0x818b98=_0x17ee33[_0x16c3('0x45')][_0x16c3('0x6e')]['selection'];return(_0x338e4a,_0x1f0345)=>{_0x17ee33[_0x16c3('0x45')][_0x16c3('0x24')](_0x3d21bc=>{const {commandName:_0xea5379,commandParams:_0x17083b}=_0x1f0345;let _0x36b33a=_0x338e4a[0x0]['end'][_0x16c3('0x50')];_0x17083b&&_0x17083b[0x0]&&!0x1===_0x17083b[0x0][_0x16c3('0x7b')]&&(_0x36b33a=_0x338e4a[0x0][_0x16c3('0x3d')]['nodeAfter']);const _0x4dbadd=_0x3d21bc[_0x16c3('0x2b')](_0x36b33a);if(_0x16c3('0x62')==_0x4dbadd[_0x16c3('0x29')][_0x16c3('0x7c')])return;const _0x30a0df=Array['from'](_0x818b98[_0x16c3('0x12')]())['map'](_0x33c08c=>_0x392b59[_0x16c3('0x15')](_0x33c08c));_0x3d21bc[_0x16c3('0x47')](_0x4dbadd),_0x17ee33[_0x16c3('0x2c')]['get'](_0xea5379)[_0x16c3('0x1f')](),_0x17083b[_0x16c3('0x66')]({'forceDefaultExecution':!0x0}),_0x17ee33['execute'](_0xea5379,..._0x17083b);const _0x47866d=_0x30a0df[_0x16c3('0xb')](_0x55ac23=>_0x16c3('0x62')!=_0x55ac23['root'][_0x16c3('0x7c')]);_0x47866d[_0x16c3('0x0')]>0x0&&_0x3d21bc[_0x16c3('0x47')](_0x47866d);for(const _0x127f42 of _0x30a0df)_0x127f42['detach']();});};}[_0x16c3('0x67')](_0x5e0c42){const _0xd2341a=this[_0x16c3('0x46')]['plugins'][_0x16c3('0x57')](_0x16c3('0x26'));let _0x2e02ed=Number[_0x16c3('0x52')],_0x379315=Number[_0x16c3('0x69')],_0x5950e8=Number[_0x16c3('0x52')],_0x12e184=Number[_0x16c3('0x69')];for(const _0x54d01b of _0x5e0c42){if(_0x16c3('0x62')==_0x54d01b['root'][_0x16c3('0x7c')])continue;const {row:_0x307df2,column:_0x3828af}=_0xd2341a[_0x16c3('0x33')](_0x54d01b),_0x2f0a8a=_0x54d01b['hasAttribute'](_0x16c3('0x5d'))?_0x54d01b['getAttribute'](_0x16c3('0x5d'))-0x1:0x0,_0x333a27=_0x54d01b['hasAttribute']('colspan')?_0x54d01b[_0x16c3('0x56')](_0x16c3('0x65'))-0x1:0x0;_0x2e02ed=_0x307df2<_0x2e02ed?_0x307df2:_0x2e02ed,_0x379315=_0x307df2+_0x2f0a8a>_0x379315?_0x307df2+_0x2f0a8a:_0x379315,_0x5950e8=_0x3828af<_0x5950e8?_0x3828af:_0x5950e8,_0x12e184=_0x3828af+_0x333a27>_0x12e184?_0x3828af+_0x333a27:_0x12e184;}return{'minRow':_0x2e02ed,'maxRow':_0x379315,'minColumn':_0x5950e8,'maxColumn':_0x12e184};}[_0x16c3('0x75')](){const _0x19b277=this[_0x16c3('0x46')],_0x264948=_0x19b277[_0x16c3('0x4')][_0x16c3('0x57')](_0x16c3('0x5f')),_0x561d65=_0x19b277[_0x16c3('0x4')][_0x16c3('0x57')](_0x16c3('0x26'));_0x19b277['model'][_0x16c3('0x6e')]['on']('change:data',()=>{const _0x4db890=Array[_0x16c3('0x4a')](_0x19b277[_0x16c3('0x45')][_0x16c3('0x6e')][_0x16c3('0x6')]['getChangedMarkers']());for(const {name:_0x48256d,data:_0x59e4e8}of _0x4db890){const {group:_0x313c8d,id:_0x5f3125,subType:_0x547743}=_0x264948[_0x16c3('0x39')](_0x48256d);if('suggestion'!=_0x313c8d)continue;if(null!=_0x59e4e8[_0x16c3('0x23')])continue;const _0x265c03=_0x264948[_0x16c3('0x1e')](_0x5f3125);this[_0x16c3('0x7e')][_0x16c3('0x2')](_0x547743)&&this[_0x16c3('0x51')][_0x16c3('0xe')](_0x265c03);}},{'priority':_0x16c3('0x54')});const _0x44a238=(_0x181ef9,_0x303ec0)=>{let _0x3d3aff=!0x1;const _0x2fb1b2=_0x303ec0[_0x16c3('0x53')](_0x181ef9),_0x2d441e=_0x181ef9[_0x16c3('0x61')](_0x16c3('0x63')),_0x3c788f=_0x561d65[_0x16c3('0x33')](_0x181ef9);for(const _0x26c56c of this['_tableSuggestions']){const _0x2fd725=_0x26c56c['subType'],_0xc25093=_0x2fd725['startsWith'](_0x16c3('0x4f')),_0x5f00e5=_0x2fd725[_0x16c3('0x1a')](_0xc25093?0xa:0x5),_0x4528d4=_0x5f00e5[_0x16c3('0x71')](),_0x54b963=_0x4528d4[_0x16c3('0x1a')](0x0,0x3)+_0x16c3('0x6b'),_0x5725c0='min'+_0x5f00e5,_0x363f2c=_0x16c3('0x7d')+_0x5f00e5;if(!_0x26c56c['isInContent'])continue;if(_0x2d441e!=_0x26c56c[_0x16c3('0x3')]()[_0x16c3('0x3d')][_0x16c3('0x61')](_0x16c3('0x63')))continue;if(_0x26c56c[_0x16c3('0x73')](_0x2fb1b2))continue;const _0x36fb62=_0x181ef9[_0x16c3('0x41')](_0x54b963)?_0x181ef9[_0x16c3('0x56')](_0x54b963)-0x1:0x0,_0x2ce3d6=this['_getSuggestionCoords'](_0x26c56c),_0x513014=_0x2ce3d6[_0x5725c0],_0x14557a=_0x2ce3d6[_0x363f2c];_0x513014<=_0x3c788f[_0x4528d4]&&_0x3c788f[_0x4528d4]+_0x36fb62<=_0x14557a&&(_0x26c56c['addRange'](_0x2fb1b2),_0x3d3aff=!0x0);}return _0x3d3aff;};_0x19b277[_0x16c3('0x45')]['document'][_0x16c3('0x70')](_0x22bd80=>{let _0x3a42f7=!0x1;for(const _0x309b09 of _0x19b277[_0x16c3('0x45')][_0x16c3('0x6e')]['differ']['getChanges']())if(_0x16c3('0x3a')==_0x309b09[_0x16c3('0x6f')]){if('tableRow'==_0x309b09[_0x16c3('0x80')])for(const _0x160ecb of _0x309b09[_0x16c3('0x19')]['nodeAfter'][_0x16c3('0x60')]())_0x3a42f7=_0x3a42f7||_0x44a238(_0x160ecb,_0x22bd80);else _0x16c3('0x35')==_0x309b09[_0x16c3('0x80')]&&(_0x3a42f7=_0x3a42f7||_0x44a238(_0x309b09['position'][_0x16c3('0x2f')],_0x22bd80));}return _0x3a42f7;});}[_0x16c3('0x31')](_0x59df5e){return this[_0x16c3('0x67')](_0x59df5e['getRanges']()[_0x16c3('0x18')](_0x235c75=>_0x235c75[_0x16c3('0x3d')][_0x16c3('0x2f')]));}}function se(_0x3ee864){return Array['from'](new Set(_0x3ee864)['values']());}
23
+ const _0x1293=['_tableSuggestions','forceValue','map','length','type','add','ELEMENT_TABLE','has','document','accept','filter','getColumnIndexes','insertion','enableCommand','afterInit','removeTableColumn','writer','editor','minColumn','data','end','getChanges','toLowerCase','insertTable','rootName','showSuggestionHighlights','_splitMarkerName','every','root','change','getRanges','startsWith','discard','getSelectionAffectedTableCells','join','registerDescriptionCallback','refresh','isArray','substr','change:data','insertTableColumnLeft','getSuggestion','differ','position','getContainedElement','span','highest','_tablePostFixingSubtypes','first','addClass','selection','MIN_SAFE_INTEGER','commands','addRange','registerPostFixer','last','low','nodeAfter','fromRange','markMultiRangeInsertion','downcastDispatcher','colspan','MAX_SAFE_INTEGER','_suggestionFactory','markMultiRangeDeletion','from','*Remove:*\x20%0','TableEditing','deletion','registerElementLabel','_setupColumnsRowsFixing','$graveyard','plugins','getAttribute','detach','above','findAncestor','ELEMENT_TABLE_ROW_WITH_TEXT','insert','_getSuggestionCoords','ELEMENT_TABLE_ROW','_getCoordsForCells','removeTableRow','tableRow','getRowIndexes','ELEMENT_TABLE_WITH_TEXT','get','order','*Insert:*\x20%0','enqueueChange','createTableWalker','model','name','TableUtils','oldRange','rowspan','options','isInContent','addMarker:suggestion','cell','left','TrackChangesEditing','min','ELEMENT_TABLE_COLUMN','isIntersectingWithRange','createRangeOn','tableColumn','getFirstRange','_acceptFormatSuggestionCallbackFactory','table','some','registerCustomCallback','_descriptionFactory','$textProxy','tableCell','mapper','maxColumn','classes','element','execute','isEqual','hasAttribute','getItems','setSelection','ELEMENT_TABLE_COLUMN_WITH_TEXT','push','insertTableColumnRight','getCellLocation','selectTableColumn','subType','createPositionAt','max','includes','start'];(function(_0x15fdfb,_0x12934c){const _0x4d8911=function(_0x4b05c1){while(--_0x4b05c1){_0x15fdfb['push'](_0x15fdfb['shift']());}};_0x4d8911(++_0x12934c);}(_0x1293,0xc0));const _0x4d89=function(_0x15fdfb,_0x12934c){_0x15fdfb=_0x15fdfb-0x0;let _0x4d8911=_0x1293[_0x15fdfb];return _0x4d8911;};import{Plugin as _0x240bab}from'ckeditor5/src/core';import{LiveRange as _0x4b2a7a}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3701f9}from'ckeditor5/src/widget';import{getTranslation as _0x40c305}from'../utils/common-translations';export default class wt extends _0x240bab{constructor(_0x2923b4){super(_0x2923b4),this[_0x4d89('0x7b')]=['tableRow',_0x4d89('0x30')],this['_tableSuggestions']=new Set();}[_0x4d89('0x5a')](){const _0x409da6=this[_0x4d89('0x5d')],_0x41dcfe=_0x409da6['model'][_0x4d89('0x54')]['selection'];if(!_0x409da6[_0x4d89('0xe')][_0x4d89('0x53')](_0x4d89('0x9')))return;const _0xf73bd9=_0x409da6['locale'],_0x12dbb1=_0x409da6[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x2b')),_0x32cd25=_0x409da6[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x23'));_0x12dbb1[_0x4d89('0x36')][_0x4d89('0xb')](_0x4d89('0x33'),_0x11da4f=>_0x40c305(_0xf73bd9,_0x4d89('0x52'),_0x11da4f)),this[_0x4d89('0xc')](),_0x12dbb1['enableCommand'](_0x4d89('0x63')),_0x12dbb1[_0x4d89('0x59')]('selectTableRow'),_0x12dbb1[_0x4d89('0x59')](_0x4d89('0x46'));for(const _0x2bd2ae of['insertTableRowAbove','insertTableRowBelow']){const _0x351f27=_0x409da6[_0x4d89('0x80')][_0x4d89('0x1c')](_0x2bd2ae);_0x12dbb1[_0x4d89('0x59')](_0x2bd2ae,_0x26813a=>{_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x576d9f=>{_0x26813a();const _0x3bc6a4=_0x4d89('0x11')===_0x351f27[_0x4d89('0x1d')],_0x2008ac=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0xc253bd=_0x32cd25[_0x4d89('0x1a')](_0x2008ac),_0x4c1202=_0x3bc6a4?_0xc253bd[_0x4d89('0x7c')]-0x1:_0xc253bd[_0x4d89('0x83')]+0x1,_0x5b3ec1=_0x2008ac[0x0][_0x4d89('0x12')](_0x4d89('0x33')),_0x4ef273=_0x32cd25[_0x4d89('0x20')](_0x5b3ec1,{'startRow':_0x4c1202,'endRow':_0x4c1202}),_0x1d3a6f=Array[_0x4d89('0x7')](_0x4ef273)[_0x4d89('0x4e')](_0x1a8bad=>_0x576d9f[_0x4d89('0x2f')](_0x1a8bad[_0x4d89('0x29')]));_0x12dbb1[_0x4d89('0x1')](_0x1d3a6f,_0x4d89('0x19'));});});}for(const _0x3d9952 of[_0x4d89('0x74'),_0x4d89('0x44')]){const _0x146aa8=_0x409da6['commands'][_0x4d89('0x1c')](_0x3d9952);_0x12dbb1[_0x4d89('0x59')](_0x3d9952,_0x32b8aa=>{_0x409da6[_0x4d89('0x21')]['change'](_0x34a159=>{_0x32b8aa();const _0x5597e3=_0x4d89('0x2a')===_0x146aa8[_0x4d89('0x1d')],_0x209ace=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0x24c282=_0x32cd25['getColumnIndexes'](_0x209ace),_0x32f7c2=_0x5597e3?_0x24c282['first']-0x1:_0x24c282['last']+0x1,_0x12d892=_0x209ace[0x0][_0x4d89('0x12')](_0x4d89('0x33')),_0x12ce50=_0x32cd25[_0x4d89('0x20')](_0x12d892,{'startRow':0x0,'column':_0x32f7c2,'includeAllSlots':!0x1}),_0x2fc124=Array[_0x4d89('0x7')](_0x12ce50)[_0x4d89('0x4e')](_0x5a2da4=>_0x34a159[_0x4d89('0x2f')](_0x5a2da4['cell']));_0x12dbb1[_0x4d89('0x1')](_0x2fc124,_0x4d89('0x30'));});});}for(const _0x288885 of['removeTableRow',_0x4d89('0x5b')]){const _0x1617a5=_0x288885[_0x4d89('0x72')](0xb),_0x41b124=_0x1617a5[_0x4d89('0x62')](),_0x11382a=_0x41b124[_0x4d89('0x72')](0x0,0x3)+_0x4d89('0x79'),_0x4ddfcd=_0x4d89('0x33')+_0x1617a5,_0x3925e3=_0x4d89('0x2c')+_0x1617a5,_0x55c9d6=_0x4d89('0x49')+_0x1617a5;_0x12dbb1['enableCommand'](_0x288885,()=>{_0x409da6[_0x4d89('0x21')]['change'](_0x317dde=>{const _0x2d5dfa=_0x32cd25[_0x4d89('0x6d')](_0x41dcfe),_0x3fb775=_0x2d5dfa[0x0]['findAncestor'](_0x4d89('0x33'));let _0x2a1f41;if(_0x4d89('0x18')==_0x288885){const _0x41ae38=_0x32cd25[_0x4d89('0x1a')](_0x2d5dfa);_0x2a1f41={'startRow':_0x41ae38['first'],'endRow':_0x41ae38[_0x4d89('0x83')],'includeAllSlots':!0x0};}else{const _0x1e8569=_0x32cd25[_0x4d89('0x57')](_0x2d5dfa);_0x2a1f41={'startColumn':_0x1e8569[_0x4d89('0x7c')],'endColumn':_0x1e8569[_0x4d89('0x83')],'includeAllSlots':!0x0};}const _0x2d7f5f=_0x32cd25[_0x4d89('0x20')](_0x3fb775,_0x2a1f41),_0x3c1929=Array[_0x4d89('0x7')](_0x2d7f5f)[_0x4d89('0x4e')](({cell:_0xa6f5a6})=>_0xa6f5a6),_0x24e77b=se(_0x3c1929[_0x4d89('0x56')](_0x11f8d8=>_0x11f8d8[_0x4d89('0x3f')](_0x11382a))),_0x5b53b2=se(_0x3c1929[_0x4d89('0x56')](_0x69a2ad=>!_0x69a2ad[_0x4d89('0x3f')](_0x11382a)))[_0x4d89('0x4e')](_0x2f5792=>_0x317dde['createRangeOn'](_0x2f5792)),_0x1b1c72=_0x12dbb1[_0x4d89('0x6')](_0x5b53b2,_0x4ddfcd);if(_0x1b1c72&&('tableRow'==_0x1b1c72[_0x4d89('0x47')]||_0x4d89('0x30')==_0x1b1c72[_0x4d89('0x47')])){const _0x155456=this[_0x4d89('0x15')](_0x1b1c72);for(const _0x2885cc of _0x24e77b){const _0x2d2d25=_0x317dde[_0x4d89('0x2f')](_0x2885cc),_0x3cc299=_0x32cd25[_0x4d89('0x45')](_0x2885cc),_0x24e44c=_0x2885cc[_0x4d89('0xf')](_0x11382a)-0x1,_0x212354=_0x155456[_0x3925e3],_0x2c8ad8=_0x155456[_0x55c9d6];_0x212354<=_0x3cc299[_0x41b124]&&_0x3cc299[_0x41b124]+_0x24e44c<=_0x2c8ad8&&_0x1b1c72['addRange'](_0x2d2d25);}}});});}function _0x16ec23(_0x5937fb){const _0x7d0513=Array[_0x4d89('0x7')](_0x41dcfe['getRanges']())[_0x4d89('0x4e')](_0x1009bc=>_0x4b2a7a[_0x4d89('0x0')](_0x1009bc));_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x524448=>{const _0x31facc=_0x524448['batch'];_0x5937fb=_0x5937fb[_0x4d89('0x56')](_0x5a52a8=>_0x4d89('0xd')!=_0x5a52a8['root']['rootName']),_0x524448['setSelection'](_0x5937fb),_0x409da6['commands'][_0x4d89('0x1c')](_0x4d89('0x18'))[_0x4d89('0x70')](),_0x409da6[_0x4d89('0x3d')](_0x4d89('0x18'),{'forceDefaultExecution':!0x0}),_0x409da6['model']['enqueueChange'](()=>{_0x409da6[_0x4d89('0x21')][_0x4d89('0x1f')](_0x31facc,_0x272f29=>{const _0x438d9c=_0x7d0513[_0x4d89('0x56')](_0x39e17a=>'$graveyard'!=_0x39e17a[_0x4d89('0x68')][_0x4d89('0x64')]);_0x438d9c['length']>0x0&&_0x272f29[_0x4d89('0x41')](_0x438d9c);for(const _0x31de77 of _0x7d0513)_0x31de77[_0x4d89('0x10')]();});});});}function _0xb2e97d(_0x2b6c0c){_0x409da6[_0x4d89('0x21')][_0x4d89('0x69')](_0x5d2cfc=>{const _0x2c34bd=Array[_0x4d89('0x7')](_0x41dcfe['getRanges']())[_0x4d89('0x4e')](_0x1a15eb=>_0x4b2a7a['fromRange'](_0x1a15eb)),_0x100168=[];for(const _0x43b8a2 of _0x2b6c0c)for(const _0x5e14d7 of _0x43b8a2[_0x4d89('0x40')]({'shallow':!0x0}))_0x100168[_0x4d89('0x43')](_0x5e14d7);for(const _0x37e2e3 of _0x100168)_0x4d89('0xd')!=_0x37e2e3[_0x4d89('0x68')][_0x4d89('0x64')]&&(_0x5d2cfc[_0x4d89('0x41')](_0x5d2cfc[_0x4d89('0x48')](_0x37e2e3,0x0)),_0x409da6[_0x4d89('0x80')][_0x4d89('0x1c')]('removeTableColumn')[_0x4d89('0x70')](),_0x409da6[_0x4d89('0x3d')](_0x4d89('0x5b'),{'forceDefaultExecution':!0x0}));const _0xfb7553=_0x2c34bd[_0x4d89('0x56')](_0x51dd7a=>_0x4d89('0xd')!=_0x51dd7a['root'][_0x4d89('0x64')]);_0xfb7553[_0x4d89('0x4f')]>0x0&&_0x5d2cfc['setSelection'](_0xfb7553);for(const _0x1a361d of _0x2c34bd)_0x1a361d[_0x4d89('0x10')]();});}function _0x3a8033(_0x573895,_0x40a5ac){return _0x40a5ac[_0x4d89('0x67')](_0x2e2c96=>_0x573895[_0x4d89('0x34')](_0x42add0=>_0x42add0[_0x4d89('0x60')][_0x4d89('0x3e')](_0x2e2c96[_0x4d89('0x4b')])||_0x2e2c96[_0x4d89('0x60')]['isEqual'](_0x42add0[_0x4d89('0x4b')])));}function _0x35126d(_0x80ee5b,_0x1b70eb){return _0x80ee5b[_0x4d89('0x34')](_0x541c6a=>_0x1b70eb[_0x4d89('0x34')](_0x19924c=>_0x541c6a['end']['isTouching'](_0x19924c['start'])));}_0x409da6['data'][_0x4d89('0x2')]['on'](_0x4d89('0x28'),(_0x43917d,_0x5430b9,_0x6539e9)=>{if(!_0x6539e9[_0x4d89('0x26')][_0x4d89('0x65')])return;const _0xa5de7f=_0x5430b9['item'];if(!_0xa5de7f)return;const _0x44a18d=_0x6539e9[_0x4d89('0x39')]['toViewElement'](_0xa5de7f);function _0x3f3045(_0x48b230){return Array[_0x4d89('0x71')](_0x48b230)?_0x48b230:[_0x48b230];}_0x44a18d&&_0x4d89('0x38')===_0xa5de7f['name']&&_0x3701f9(_0x44a18d,_0x6539e9[_0x4d89('0x5c')],(_0xc4f89a,_0x552f5e,_0xefc465)=>_0xefc465[_0x4d89('0x7d')](_0x3f3045(_0x552f5e[_0x4d89('0x3b')]),_0xc4f89a),(_0x9b7c88,_0xe63348,_0x28fa47)=>_0x28fa47['removeClass'](_0x3f3045(_0xe63348[_0x4d89('0x3b')]),_0x9b7c88));},{'priority':_0x4d89('0x7a')}),_0x12dbb1[_0x4d89('0x36')][_0x4d89('0x6f')](_0x1537ae=>{if(_0x4d89('0x58')!=_0x1537ae[_0x4d89('0x50')]&&_0x4d89('0xa')!=_0x1537ae['type'])return;const _0x224376=_0x1537ae[_0x4d89('0x78')]();if(null!=_0x224376&&_0x224376['is'](_0x4d89('0x3c'),'table')){if(_0x4d89('0x58')==_0x1537ae['type']){const _0x32f5ab=_0x1537ae[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x50659c=>_0x50659c['is'](_0x4d89('0x37')))[_0x4d89('0x4e')](_0x4b5070=>_0x4b5070['data']);if(_0x32f5ab[_0x4d89('0x4f')])return{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x1b'),'\x22'+_0x32f5ab['join']('\x20')+'\x22'))};}if(_0x4d89('0xa')==_0x1537ae[_0x4d89('0x50')]){const _0x2abda9=_0x1537ae[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x49044c=>_0x49044c['is']('$textProxy'))[_0x4d89('0x4e')](_0x141aa0=>_0x141aa0[_0x4d89('0x5f')]);if(_0x2abda9[_0x4d89('0x4f')])return{'type':'deletion','content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,_0x4d89('0x1b'),'\x22'+_0x2abda9[_0x4d89('0x6e')]('\x20')+'\x22'))};}}}),_0x12dbb1[_0x4d89('0x36')]['registerDescriptionCallback'](_0x39ed0c=>{if(_0x4d89('0x19')==_0x39ed0c['subType']){const _0x5ddbb3=_0x39ed0c[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x437668=>_0x437668['is']('$textProxy'))[_0x4d89('0x4e')](_0x566fb6=>_0x566fb6['data']),_0x3f66ee=this[_0x4d89('0x15')](_0x39ed0c),_0x2eb588=_0x3f66ee['maxRow']-_0x3f66ee['minRow']+0x1;if(_0x4d89('0x58')==_0x39ed0c['type'])return _0x5ddbb3[_0x4d89('0x4f')]?{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2eb588,'\x22'+_0x5ddbb3[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x16'),_0x2eb588))};if('deletion'==_0x39ed0c['type'])return _0x5ddbb3[_0x4d89('0x4f')]?{'type':'deletion','content':_0x40c305(_0xf73bd9,_0x4d89('0x8'),_0x40c305(_0xf73bd9,_0x4d89('0x13'),[_0x2eb588,'\x22'+_0x5ddbb3[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x8'),_0x40c305(_0xf73bd9,_0x4d89('0x16'),_0x2eb588))};}if('tableColumn'==_0x39ed0c[_0x4d89('0x47')]){const _0x463f79=_0x39ed0c[_0x4d89('0x40')]()[_0x4d89('0x56')](_0x19b51a=>_0x19b51a['is'](_0x4d89('0x37')))[_0x4d89('0x4e')](_0x58036c=>_0x58036c[_0x4d89('0x5f')]),_0x226cfa=this[_0x4d89('0x15')](_0x39ed0c),_0x5f3c34=_0x226cfa[_0x4d89('0x3a')]-_0x226cfa[_0x4d89('0x5e')]+0x1;if(_0x4d89('0x58')==_0x39ed0c[_0x4d89('0x50')])return _0x463f79[_0x4d89('0x4f')]?{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5f3c34,'\x22'+_0x463f79[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0x58'),'content':_0x40c305(_0xf73bd9,_0x4d89('0x1e'),_0x40c305(_0xf73bd9,_0x4d89('0x2d'),_0x5f3c34))};if(_0x4d89('0xa')==_0x39ed0c['type'])return _0x463f79['length']?{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,_0x4d89('0x42'),[_0x5f3c34,'\x22'+_0x463f79[_0x4d89('0x6e')]('\x20')+'\x22']))}:{'type':_0x4d89('0xa'),'content':_0x40c305(_0xf73bd9,'*Remove:*\x20%0',_0x40c305(_0xf73bd9,'ELEMENT_TABLE_COLUMN',_0x5f3c34))};}}),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0x58'),_0x4d89('0x19'),_0x4d89('0x6c'),_0x16ec23),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0xa'),_0x4d89('0x19'),'accept',_0x16ec23),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')](_0x4d89('0x58'),'tableColumn','discard',_0xb2e97d),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')](_0x4d89('0xa'),_0x4d89('0x30'),_0x4d89('0x55'),_0xb2e97d),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')](_0x4d89('0x58'),_0x4d89('0x30'),'join',_0x3a8033),_0x12dbb1[_0x4d89('0x5')][_0x4d89('0x35')]('deletion',_0x4d89('0x30'),'join',_0x3a8033),_0x12dbb1['_suggestionFactory'][_0x4d89('0x35')]('insertion',_0x4d89('0x19'),_0x4d89('0x6e'),_0x35126d),_0x12dbb1['_suggestionFactory']['registerCustomCallback'](_0x4d89('0xa'),'tableRow',_0x4d89('0x6e'),_0x35126d);}[_0x4d89('0x32')](){const _0x3b864d=this[_0x4d89('0x5d')],_0x6f4a05=_0x3b864d[_0x4d89('0x21')]['document'][_0x4d89('0x7e')];return(_0x5767e3,_0x39a248)=>{_0x3b864d['model'][_0x4d89('0x69')](_0x486fa7=>{const {commandName:_0x98c039,commandParams:_0x27e9a2}=_0x39a248;let _0x43e3e2=_0x5767e3[0x0][_0x4d89('0x60')]['nodeBefore'];_0x27e9a2&&_0x27e9a2[0x0]&&!0x1===_0x27e9a2[0x0][_0x4d89('0x4d')]&&(_0x43e3e2=_0x5767e3[0x0][_0x4d89('0x4b')][_0x4d89('0x85')]);const _0x402ea8=_0x486fa7['createRangeIn'](_0x43e3e2);if(_0x4d89('0xd')==_0x402ea8[_0x4d89('0x68')]['rootName'])return;const _0x4c6391=Array[_0x4d89('0x7')](_0x6f4a05['getRanges']())[_0x4d89('0x4e')](_0x5ecc5f=>_0x4b2a7a[_0x4d89('0x0')](_0x5ecc5f));_0x486fa7[_0x4d89('0x41')](_0x402ea8),_0x3b864d[_0x4d89('0x80')]['get'](_0x98c039)['refresh'](),_0x27e9a2[_0x4d89('0x43')]({'forceDefaultExecution':!0x0}),_0x3b864d['execute'](_0x98c039,..._0x27e9a2);const _0x460933=_0x4c6391[_0x4d89('0x56')](_0x75bdc5=>_0x4d89('0xd')!=_0x75bdc5[_0x4d89('0x68')][_0x4d89('0x64')]);_0x460933[_0x4d89('0x4f')]>0x0&&_0x486fa7['setSelection'](_0x460933);for(const _0x380fc7 of _0x4c6391)_0x380fc7['detach']();});};}[_0x4d89('0x17')](_0xccbb34){const _0x3b856a=this[_0x4d89('0x5d')][_0x4d89('0xe')]['get'](_0x4d89('0x23'));let _0x4bf7b9=Number[_0x4d89('0x4')],_0x5f432f=Number[_0x4d89('0x7f')],_0x25a89e=Number[_0x4d89('0x4')],_0x50f294=Number['MIN_SAFE_INTEGER'];for(const _0x511de9 of _0xccbb34){if('$graveyard'==_0x511de9[_0x4d89('0x68')]['rootName'])continue;const {row:_0x59e4bf,column:_0x207d79}=_0x3b856a[_0x4d89('0x45')](_0x511de9),_0x3ec24d=_0x511de9['hasAttribute'](_0x4d89('0x25'))?_0x511de9[_0x4d89('0xf')](_0x4d89('0x25'))-0x1:0x0,_0x3353fe=_0x511de9[_0x4d89('0x3f')](_0x4d89('0x3'))?_0x511de9[_0x4d89('0xf')](_0x4d89('0x3'))-0x1:0x0;_0x4bf7b9=_0x59e4bf<_0x4bf7b9?_0x59e4bf:_0x4bf7b9,_0x5f432f=_0x59e4bf+_0x3ec24d>_0x5f432f?_0x59e4bf+_0x3ec24d:_0x5f432f,_0x25a89e=_0x207d79<_0x25a89e?_0x207d79:_0x25a89e,_0x50f294=_0x207d79+_0x3353fe>_0x50f294?_0x207d79+_0x3353fe:_0x50f294;}return{'minRow':_0x4bf7b9,'maxRow':_0x5f432f,'minColumn':_0x25a89e,'maxColumn':_0x50f294};}[_0x4d89('0xc')](){const _0x39c9cc=this[_0x4d89('0x5d')],_0x162b46=_0x39c9cc['plugins']['get'](_0x4d89('0x2b')),_0x3a2a0b=_0x39c9cc[_0x4d89('0xe')][_0x4d89('0x1c')](_0x4d89('0x23'));_0x39c9cc[_0x4d89('0x21')]['document']['on'](_0x4d89('0x73'),()=>{const _0x300056=Array[_0x4d89('0x7')](_0x39c9cc[_0x4d89('0x21')][_0x4d89('0x54')][_0x4d89('0x76')]['getChangedMarkers']());for(const {name:_0x773da,data:_0x5a752f}of _0x300056){const {group:_0x461b9e,id:_0x51b0d5,subType:_0x4b6c87}=_0x162b46[_0x4d89('0x66')](_0x773da);if('suggestion'!=_0x461b9e)continue;if(null!=_0x5a752f[_0x4d89('0x24')])continue;const _0x176694=_0x162b46[_0x4d89('0x75')](_0x51b0d5);this[_0x4d89('0x7b')][_0x4d89('0x4a')](_0x4b6c87)&&this[_0x4d89('0x4c')][_0x4d89('0x51')](_0x176694);}},{'priority':_0x4d89('0x84')});const _0x23c2e6=(_0x3944fd,_0xf5d4a)=>{let _0x1ed122=!0x1;const _0x37fb10=_0xf5d4a[_0x4d89('0x2f')](_0x3944fd),_0x31e7a5=_0x3944fd[_0x4d89('0x12')]('table'),_0xc858dd=_0x3a2a0b[_0x4d89('0x45')](_0x3944fd);for(const _0x41222c of this['_tableSuggestions']){const _0x5ad283=_0x41222c[_0x4d89('0x47')],_0x4b0989=_0x5ad283[_0x4d89('0x6b')]('tablePaste'),_0xfff6d4=_0x5ad283[_0x4d89('0x72')](_0x4b0989?0xa:0x5),_0x38c578=_0xfff6d4[_0x4d89('0x62')](),_0x5a52d2=_0x38c578[_0x4d89('0x72')](0x0,0x3)+_0x4d89('0x79'),_0x44f4c4='min'+_0xfff6d4,_0x4fcef9='max'+_0xfff6d4;if(!_0x41222c[_0x4d89('0x27')])continue;if(_0x31e7a5!=_0x41222c[_0x4d89('0x31')]()[_0x4d89('0x4b')]['findAncestor'](_0x4d89('0x33')))continue;if(_0x41222c[_0x4d89('0x2e')](_0x37fb10))continue;const _0x169f20=_0x3944fd[_0x4d89('0x3f')](_0x5a52d2)?_0x3944fd[_0x4d89('0xf')](_0x5a52d2)-0x1:0x0,_0x2ffd14=this[_0x4d89('0x15')](_0x41222c),_0x22122a=_0x2ffd14[_0x44f4c4],_0x2184a3=_0x2ffd14[_0x4fcef9];_0x22122a<=_0xc858dd[_0x38c578]&&_0xc858dd[_0x38c578]+_0x169f20<=_0x2184a3&&(_0x41222c[_0x4d89('0x81')](_0x37fb10),_0x1ed122=!0x0);}return _0x1ed122;};_0x39c9cc[_0x4d89('0x21')][_0x4d89('0x54')][_0x4d89('0x82')](_0x2cb4f5=>{let _0x3af34b=!0x1;for(const _0x36997f of _0x39c9cc[_0x4d89('0x21')]['document'][_0x4d89('0x76')][_0x4d89('0x61')]())if(_0x4d89('0x14')==_0x36997f['type']){if(_0x4d89('0x19')==_0x36997f[_0x4d89('0x22')])for(const _0x385155 of _0x36997f[_0x4d89('0x77')][_0x4d89('0x85')]['getChildren']())_0x3af34b=_0x3af34b||_0x23c2e6(_0x385155,_0x2cb4f5);else'tableCell'==_0x36997f['name']&&(_0x3af34b=_0x3af34b||_0x23c2e6(_0x36997f[_0x4d89('0x77')][_0x4d89('0x85')],_0x2cb4f5));}return _0x3af34b;});}[_0x4d89('0x15')](_0x4fbc2f){return this['_getCoordsForCells'](_0x4fbc2f[_0x4d89('0x6a')]()[_0x4d89('0x4e')](_0x35e3ab=>_0x35e3ab[_0x4d89('0x4b')][_0x4d89('0x85')]));}}function se(_0x28b4e1){return Array[_0x4d89('0x7')](new Set(_0x28b4e1)['values']());}
@@ -1,22 +1,22 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/tablecaption
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TrackChangesTable from './table';
10
- /**
11
- * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
12
- */
13
- export default class TrackChangesTableCaption extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get requires(): readonly [typeof TrackChangesTable];
18
- /**
19
- * @inheritDoc
20
- */
21
- afterInit(): void;
22
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/tablecaption
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import TrackChangesTable from './table';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
12
+ */
13
+ export default class TrackChangesTableCaption extends Plugin {
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get requires(): readonly [typeof TrackChangesTable];
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ afterInit(): void;
22
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ab4=['requires','afterInit','get','enableCommand','plugins','editor'];(function(_0x14a5dd,_0x2ab414){const _0x3f4d4e=function(_0x33e42c){while(--_0x33e42c){_0x14a5dd['push'](_0x14a5dd['shift']());}};_0x3f4d4e(++_0x2ab414);}(_0x2ab4,0xba));const _0x3f4d=function(_0x14a5dd,_0x2ab414){_0x14a5dd=_0x14a5dd-0x0;let _0x3f4d4e=_0x2ab4[_0x14a5dd];return _0x3f4d4e;};import{Plugin as _0x491d32}from'ckeditor5/src/core';import _0x2fea25 from'./table';export default class At extends _0x491d32{static get[_0x3f4d('0x0')](){return[_0x2fea25];}[_0x3f4d('0x1')](){const _0x1b956a=this[_0x3f4d('0x5')];if(!_0x1b956a[_0x3f4d('0x4')]['has']('TableCaptionEditing'))return;_0x1b956a['plugins'][_0x3f4d('0x2')]('TrackChangesEditing')[_0x3f4d('0x3')]('toggleTableCaption');}}
23
+ const _0x51ab=['plugins','afterInit','toggleTableCaption','enableCommand','TrackChangesEditing','TableCaptionEditing','requires','has','get'];(function(_0x5c0f3c,_0x51ab4b){const _0x1d9461=function(_0x1428b1){while(--_0x1428b1){_0x5c0f3c['push'](_0x5c0f3c['shift']());}};_0x1d9461(++_0x51ab4b);}(_0x51ab,0x1e7));const _0x1d94=function(_0x5c0f3c,_0x51ab4b){_0x5c0f3c=_0x5c0f3c-0x0;let _0x1d9461=_0x51ab[_0x5c0f3c];return _0x1d9461;};import{Plugin as _0x5c290}from'ckeditor5/src/core';import _0x40389c from'./table';export default class Nt extends _0x5c290{static get[_0x1d94('0x5')](){return[_0x40389c];}[_0x1d94('0x0')](){const _0x5955ea=this['editor'];if(!_0x5955ea[_0x1d94('0x8')][_0x1d94('0x6')](_0x1d94('0x4')))return;_0x5955ea[_0x1d94('0x8')][_0x1d94('0x7')](_0x1d94('0x3'))[_0x1d94('0x2')](_0x1d94('0x1'));}}
@@ -1,19 +1,19 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import { Plugin } from 'ckeditor5/src/core';
6
- import TrackChangesTable from './table';
7
- /**
8
- * Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
9
- */
10
- export default class TrackChangesTableClipboard extends Plugin {
11
- /**
12
- * @inheritDoc
13
- */
14
- static get requires(): readonly [typeof TrackChangesTable];
15
- /**
16
- * @inheritDoc
17
- */
18
- afterInit(): void;
19
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import { Plugin } from 'ckeditor5/src/core';
6
+ import TrackChangesTable from './table';
7
+ /**
8
+ * Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
9
+ */
10
+ export default class TrackChangesTableClipboard extends Plugin {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ static get requires(): readonly [typeof TrackChangesTable];
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ afterInit(): void;
19
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9a74=['markerAttributes','tablePasteChainId','unwrap','deletionRanges','high','attributes','getMarkers','tablePasteColumn','forceDefaultExecution','cell','Users','_tablePostFixingSubtypes','insertRows','accept','newRange','tableCell','tablePaste','tableCellVerticalAlignment','suggestion','differ','registerCustomCallback','columnInsertionRanges','author','document','createTableWalker','markerToHighlight','tablePasteRow','isEmpty','formatBlock','low','_isForcedDefaultExecutionBlock','findAncestor','element','ck-suggestion-marker-insertion','isEqual','columnInsertionIndexes','map','rows','endRow','getColumns','registerPostFixer','_suggestionFactory','push','commands','tableCellBorderWidth','TableClipboard','register','markers','from','last','getAllAdjacentSuggestions','subType','getRowIndexes','dataDowncast','createRangeIn','getChangedMarkers','tableCellHorizontalAlignment','plugins','requires','suggestionUnloaded','first','getSuggestion','locale','insert','elementToElement','getChildren','conversion','length','rowInsertionIndexes','view','getSuggestions','tablePasteCell','return','markerName','markMultiRangeInsertion','includes','end','getChild','redo','wrap','table','every','change','removeRows','deletion','rowInsertionRanges','getRange','type','tableCellBorderStyle','fromEntries','options','getShiftedBy','activeMarkers','TableUtils','some','editor','getAttributes','hasSuggestion','position','get','removeMarker','getColumnIndexes','model','getItems','createRangeOn','insertion','startsWith','tableCellBorderColor','_getCoordsForCells','removeColumns','selection','column','_splitMarkerName','suggestion-td','getChanges','discard','find','nextSibling','insertColumns','removeMarkers','next','move','endColumn','tableCellBackgroundColor','add','*Replace\x20table\x20cells*','getSelectionAffectedTableCells','name','reduce','join','markMultiRangeBlockFormat','cells','getRanges','filter','getContainedElement','createPositionBefore','batch','createElement','keys','_descriptionFactory','afterInit','for','$graveyard','oldRange','remove','getRows','insertContent','schema','ck-suggestion-marker--active','containsRange','listenTo','stop','suggestion:formatBlock:tablePasteCell','suggestionLoaded','tableCellSuggestion','isInContent','_createdBatches','getTableIfOnlyTableInContent','trackChanges','has','showSuggestionHighlights'];(function(_0x3a7a31,_0x9a74f4){const _0x373f90=function(_0x4eb29d){while(--_0x4eb29d){_0x3a7a31['push'](_0x3a7a31['shift']());}};_0x373f90(++_0x9a74f4);}(_0x9a74,0x159));const _0x373f=function(_0x3a7a31,_0x9a74f4){_0x3a7a31=_0x3a7a31-0x0;let _0x373f90=_0x9a74[_0x3a7a31];return _0x373f90;};import{getTranslation as _0x34c3ad}from'../utils/common-translations';import{Plugin as _0x249369}from'ckeditor5/src/core';import{uid as _0xc3f4ce,priorities as _0x365b75}from'ckeditor5/src/utils';import _0xeec717 from'./table';const le=[_0x373f('0x15'),_0x373f('0x54'),_0x373f('0x41'),_0x373f('0x21'),_0x373f('0x9b'),_0x373f('0x64'),'tableCellPadding'],ae=Object[_0x373f('0x42')](le[_0x373f('0xd')](_0x149776=>[_0x149776,null]));export default class wt extends _0x249369{static get[_0x373f('0x23')](){return[_0xeec717];}[_0x373f('0x75')](){const _0xb0b07=this['editor'];if(!_0xb0b07[_0x373f('0x22')][_0x373f('0x88')]('TableClipboard'))return;const _0x7be3af=_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')]('TrackChangesEditing'),_0x595255=_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')](_0x373f('0x46')),_0x54f627=_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')](_0xeec717),_0x523add=_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')]('TableClipboard');_0x54f627[_0x373f('0x95')][_0x373f('0x13')](_0x373f('0x3'),'tablePasteColumn'),_0xb0b07['model'][_0x373f('0x7c')][_0x373f('0x17')](_0x373f('0x83'),{'allowIn':_0x373f('0x99'),'allowContentOf':'tableCell','isLimit':!0x0}),_0xb0b07[_0x373f('0x2b')][_0x373f('0x29')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x5d549c=null;_0xb0b07[_0x373f('0x4f')]['on'](_0x373f('0x7b'),(_0x3ca2c9,_0x28f369)=>{const [_0x26f2bd,_0x208c40]=_0x28f369,_0x5ecd37=_0x28f369[_0x28f369[_0x373f('0x2c')]-0x1];_0x5ecd37&&_0x5ecd37[_0x373f('0x92')]||_0x7be3af[_0x373f('0x7')]||this[_0x373f('0x48')]['commands']['get'](_0x373f('0x87'))['value']&&function(_0x406b78,_0x540184,_0x28ad51,_0x134613,_0x18d56b){if(_0x540184&&!_0x540184['is']('documentSelection'))return!0x1;const _0x25109f=_0x18d56b[_0x373f('0x86')](_0x406b78,_0x28ad51);if(!_0x25109f||!fe(_0x25109f,void 0x0,_0x134613))return!0x1;const _0x12d126=_0x134613[_0x373f('0x67')](_0x28ad51[_0x373f('0x0')][_0x373f('0x57')]);if(!_0x12d126[_0x373f('0x2c')])return!0x1;const _0x4dafe5=_0x12d126[0x0][_0x373f('0x8')]('table'),_0x549ff8=_0x134613[_0x373f('0x1d')](_0x12d126),_0x3a1c59=_0x134613[_0x373f('0x4e')](_0x12d126),_0x252ac7={'startRow':_0x549ff8['first'],'endRow':_0x549ff8[_0x373f('0x1a')],'startColumn':_0x3a1c59[_0x373f('0x25')],'endColumn':_0x3a1c59['last']};return 0x1==_0x12d126[_0x373f('0x2c')]&&(_0x252ac7[_0x373f('0xf')]+=_0x134613[_0x373f('0x7a')](_0x25109f)-0x1,_0x252ac7[_0x373f('0x63')]+=_0x134613[_0x373f('0x10')](_0x25109f)-0x1),fe(_0x4dafe5,_0x252ac7,_0x134613);}(_0x26f2bd,_0x208c40,_0xb0b07[_0x373f('0x4f')],_0x595255,_0x523add)&&(_0x3ca2c9[_0x373f('0x80')](),_0x5d549c={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xb0b07[_0x373f('0x4f')][_0x373f('0x3b')](()=>{_0xb0b07['model'][_0x373f('0x7b')](_0x28f369[0x0],_0x28f369[0x1],_0x28f369[0x2],{'forceDefaultExecution':!0x0});const _0x38a548=_0xc3f4ce(),{rowInsertionRanges:_0x2f002a,columnInsertionRanges:_0x25c57d,insertionRanges:_0x1ab9a1,deletionRanges:_0x11388f,cells:_0x450c06}=_0x5d549c;_0x2f002a[_0x373f('0x2c')]&&_0x7be3af[_0x373f('0x33')](_0x2f002a,_0x373f('0x3'),{'tablePasteChainId':_0x38a548}),_0x25c57d['length']&&_0x7be3af[_0x373f('0x33')](_0x25c57d,'tablePasteColumn',{'tablePasteChainId':_0x38a548}),_0x1ab9a1[_0x373f('0x2c')]&&_0x7be3af[_0x373f('0x33')](_0x1ab9a1,_0x373f('0x9a'),{'tablePasteChainId':_0x38a548,'skipNestingCheck':!0x0}),_0x11388f[_0x373f('0x2c')]&&_0x7be3af['markMultiRangeDeletion'](_0x11388f,_0x373f('0x9a'),{'tablePasteChainId':_0x38a548,'skipNestingCheck':!0x0});const _0x114462=_0x7be3af[_0x373f('0x6b')](_0x450c06['map'](({element:_0x481f91})=>_0x481f91),{'formatGroupId':_0xc3f4ce()},[],_0x373f('0x30'),{'tablePasteChainId':_0x38a548});if(_0x114462){const _0x54e85d=_0x114462[_0x373f('0x90')](),_0x1f2c52=[];for(const {element:_0x5336d6,attributes:_0x5aa605}of _0x450c06){if(!_0x5aa605)continue;const _0x230a45=_0xb0b07[_0x373f('0x4f')][_0x373f('0x51')](_0x5336d6),_0x4802f6=_0x54e85d[_0x373f('0x5d')](_0x3f602b=>_0x3f602b[_0x373f('0x3f')]()[_0x373f('0xb')](_0x230a45));_0x4802f6&&_0x1f2c52[_0x373f('0x13')]([_0x4802f6[_0x373f('0x68')],_0x5aa605]);}_0x1f2c52[_0x373f('0x2c')]&&_0x114462['setAttribute'](_0x373f('0x8a'),Object[_0x373f('0x42')](_0x1f2c52));}_0x5d549c=null;}));},{'priority':_0x365b75[_0x373f('0x8e')]+0xa}),_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')](_0x373f('0x16'))['on']('_replaceTableSlotCell',(_0x34a0bd,_0x18f80c)=>{const [_0x3a38fc,_0x58ac8a,,_0x19a12d]=_0x18f80c;if(!_0x5d549c)return;_0x34a0bd[_0x373f('0x80')]();const _0xe758f0=_0x3a38fc[_0x373f('0x93')],_0x309636=_0x58ac8a,_0x346e8e=ce(_0xe758f0),_0x1870f4=ce(_0x309636);_0x34a0bd[_0x373f('0x31')]=_0xe758f0;let _0x582dff=null,_0xae0874=null;if(_0x1870f4||_0x346e8e){if(_0x346e8e&&!_0x1870f4){_0x19a12d[_0x373f('0x79')](_0xe758f0[_0x373f('0x36')](0x0));for(const _0xbf8ed9 of Array['from'](_0x309636[_0x373f('0x2a')]()))_0x19a12d[_0x373f('0x28')](_0xbf8ed9,_0xe758f0,_0x373f('0x35'));const _0x401feb=_0x5d549c[_0x373f('0x2d')][_0x373f('0x34')](_0x3a38fc['row']),_0x5073bb=_0x5d549c[_0x373f('0xc')][_0x373f('0x34')](_0x3a38fc[_0x373f('0x58')]);_0x401feb||_0x5073bb||(_0x582dff=_0x19a12d[_0x373f('0x1f')](_0xe758f0));}else _0x1870f4&&!_0x346e8e&&(_0xae0874=_0x19a12d[_0x373f('0x1f')](_0xe758f0));}else{const _0x2c00f0=_0x19a12d[_0x373f('0x72')](_0x373f('0x83')),_0x2bab0c=_0x19a12d['createElement'](_0x373f('0x83'));_0x19a12d[_0x373f('0x38')](_0x19a12d['createRangeIn'](_0xe758f0),_0x2bab0c),_0x19a12d['insert'](_0x2c00f0,_0xe758f0,0x0);for(const _0x5d683e of Array[_0x373f('0x19')](_0x309636[_0x373f('0x2a')]()))_0x19a12d[_0x373f('0x28')](_0x5d683e,_0x2c00f0,_0x373f('0x35'));_0x582dff=_0x19a12d[_0x373f('0x51')](_0x2c00f0),_0xae0874=_0x19a12d[_0x373f('0x51')](_0x2bab0c);}const _0x15e9bc=Array[_0x373f('0x19')](_0x309636[_0x373f('0x49')]())[_0x373f('0x6e')](([_0x4c927b])=>le[_0x373f('0x34')](_0x4c927b));_0x5d549c[_0x373f('0x6c')][_0x373f('0x13')]({'element':_0xe758f0,'attributes':_0x15e9bc['length']?Object[_0x373f('0x42')](_0x15e9bc):null}),_0x582dff&&_0x5d549c['insertionRanges'][_0x373f('0x13')](_0x582dff),_0xae0874&&_0x5d549c[_0x373f('0x8d')][_0x373f('0x13')](_0xae0874);},{'priority':'high'}),_0x595255['on'](_0x373f('0x5f'),(_0x2168d9,_0x3249f4)=>{const [_0x51b878,_0x503a2f={}]=_0x3249f4;if(!_0x5d549c)return;const _0x36bd3a=_0x503a2f['at']||0x0,_0x3e73da=_0x503a2f['columns']||0x1;_0x5d549c[_0x373f('0xc')]=new Array(_0x3e73da)['fill'](_0x36bd3a)[_0x373f('0xd')]((_0x1579ad,_0x236eb6)=>_0x1579ad+_0x236eb6);for(const {cell:_0x1816b2}of _0x595255['createTableWalker'](_0x51b878,{'startColumn':_0x36bd3a,'endColumn':_0x36bd3a+_0x3e73da-0x1}))_0x5d549c[_0x373f('0x9f')][_0x373f('0x13')](_0xb0b07[_0x373f('0x4f')][_0x373f('0x51')](_0x1816b2));},{'priority':_0x373f('0x6')}),_0x595255['on'](_0x373f('0x96'),(_0x428047,_0x1d0536)=>{const [_0x1b3cb9,_0x15f458={}]=_0x1d0536;if(!_0x5d549c)return;const _0x472abd=_0x15f458['at']||0x0,_0x20d03d=_0x15f458[_0x373f('0xe')]||0x1;_0x5d549c[_0x373f('0x2d')]=new Array(_0x20d03d)['fill'](_0x472abd)['map']((_0x4c4d8e,_0xe3629c)=>_0x4c4d8e+_0xe3629c);for(const {cell:_0xe653d9}of _0x595255[_0x373f('0x1')](_0x1b3cb9,{'startRow':_0x472abd,'endRow':_0x472abd+_0x20d03d-0x1}))_0x5d549c[_0x373f('0x3e')][_0x373f('0x13')](_0xb0b07[_0x373f('0x4f')][_0x373f('0x51')](_0xe653d9));},{'priority':'low'}),_0x7be3af[_0x373f('0x74')]['registerDescriptionCallback'](_0x142499=>{if(_0x142499['subType']&&_0x142499['subType'][_0x373f('0x53')](_0x373f('0x9a')))return _0x142499['previous']?{}:{'type':_0x373f('0x52'),'content':_0x34c3ad(_0xb0b07[_0x373f('0x27')],_0x373f('0x66'))};});const _0xd82c00=()=>!0x1;for(const _0x4decc7 of[_0x373f('0x9a'),'tablePasteColumn',_0x373f('0x3'),'tablePasteCell'])_0x7be3af['_suggestionFactory']['registerCustomCallback'](_0x373f('0x52'),_0x4decc7,_0x373f('0x6a'),_0xd82c00),_0x7be3af[_0x373f('0x12')][_0x373f('0x9e')](_0x373f('0x3d'),_0x4decc7,_0x373f('0x6a'),_0xd82c00),_0x7be3af[_0x373f('0x12')][_0x373f('0x9e')](_0x373f('0x5'),_0x4decc7,_0x373f('0x6a'),_0xd82c00);_0x7be3af[_0x373f('0x12')][_0x373f('0x9e')]('formatBlock','tablePasteCell',_0x373f('0x5c'),_0xd82c00),_0x7be3af['_suggestionFactory'][_0x373f('0x9e')]('formatBlock',_0x373f('0x30'),_0x373f('0x97'),(_0x5547ce,_0x4ff409,_0x3076cd)=>{const _0x277b7e=_0x5547ce[_0x373f('0xd')](_0x5197b8=>_0x5197b8[_0x373f('0x6f')]())[_0x373f('0x6e')](_0x112d65=>_0x112d65),_0x2ee9af=new Map(_0x277b7e[_0x373f('0xd')](_0x13a628=>[_0x13a628,null]));if(_0x5d549c)for(const {element:_0x375be4,attributes:_0x24c83f}of _0x5d549c[_0x373f('0x6c')])_0x24c83f&&_0x2ee9af['set'](_0x375be4,_0x24c83f);else{if(_0x3076cd&&_0x3076cd[_0x373f('0x8a')])for(const [_0x2c869e,_0x16d552]of Object['entries'](_0x3076cd[_0x373f('0x8a')])){const _0x3e2e8b=_0xb0b07[_0x373f('0x4f')][_0x373f('0x18')]['get'](_0x2c869e),_0x3732ed=_0x3e2e8b?_0x3e2e8b['getRange']()[_0x373f('0x6f')]():null;_0x3732ed&&_0x2ee9af['set'](_0x3732ed,_0x16d552);}}_0xb0b07[_0x373f('0x4f')][_0x373f('0x3b')](_0x29ff1a=>{for(const [_0x40e726,_0x22d134]of _0x2ee9af)_0x29ff1a['setAttributes']({...ae,..._0x22d134},_0x40e726);});});const _0x3af0e1=(_0x5ed349,_0x41d0c9)=>{_0x7be3af[_0x373f('0x12')]['registerCustomCallback'](_0x5ed349,_0x373f('0x9a'),_0x41d0c9,(_0xf1e29e,_0x26e56b,_0x30aabd)=>{_0xb0b07[_0x373f('0x4f')][_0x373f('0x3b')](_0x46681d=>{const _0x3ca1b5=[];for(const _0x55c7a5 of _0xf1e29e){const _0x16958f=_0x55c7a5['start']['nodeAfter'];_0x16958f['is']('element',_0x373f('0x83'))&&_0x3ca1b5['push'](_0x16958f);}_0x7be3af[_0x373f('0x12')]['getSuggestionCallback'](_0x5ed349,null,_0x41d0c9)(_0xf1e29e,_0x26e56b,_0x30aabd);for(const _0x4a0a3e of _0x3ca1b5)_0x373f('0x77')!=_0x4a0a3e['root']['rootName']&&_0x46681d[_0x373f('0x8c')](_0x4a0a3e);});});};_0x3af0e1('insertion',_0x373f('0x97')),_0x3af0e1(_0x373f('0x52'),_0x373f('0x5c')),_0x3af0e1(_0x373f('0x3d'),_0x373f('0x97')),_0x3af0e1(_0x373f('0x3d'),_0x373f('0x5c')),_0x7be3af[_0x373f('0x12')][_0x373f('0x9e')](_0x373f('0x52'),_0x373f('0x3'),'discard',_0x998953=>{const _0x91512e=_0x998953['map'](_0xf5ce57=>_0xf5ce57[_0x373f('0x6f')]()),_0x4309ab=_0x91512e[0x0][_0x373f('0x8')](_0x373f('0x39')),{minRow:_0x292d54,maxRow:_0x17b4b0}=_0x54f627[_0x373f('0x55')](_0x91512e);_0x595255[_0x373f('0x3c')](_0x4309ab,{'at':_0x292d54,'rows':_0x17b4b0-_0x292d54+0x1});}),_0x7be3af['_suggestionFactory'][_0x373f('0x9e')]('insertion',_0x373f('0x91'),_0x373f('0x5c'),_0x31baf8=>{const _0x33d2a9=_0x31baf8[_0x373f('0xd')](_0x269430=>_0x269430[_0x373f('0x6f')]()),_0x9aceb5=_0x33d2a9[0x0]['findAncestor'](_0x373f('0x39')),{minColumn:_0x265719,maxColumn:_0x10d7a3}=_0x54f627[_0x373f('0x55')](_0x33d2a9);_0x595255[_0x373f('0x56')](_0x9aceb5,{'at':_0x265719,'columns':_0x10d7a3-_0x265719+0x1});});const _0xbc0bf9=(_0x1e8714,_0x113327)=>{if(!_0x113327[_0x373f('0x1c')]||!_0x113327[_0x373f('0x1c')][_0x373f('0x53')](_0x373f('0x9a')))return;const _0x895f52=_0x113327[_0x373f('0x8f')][_0x373f('0x8b')],_0x53f4fc=_0x7be3af[_0x373f('0x2f')]()[_0x373f('0x6e')](_0x59b6f0=>_0x59b6f0[_0x373f('0x84')]&&_0x59b6f0['attributes']&&_0x59b6f0[_0x373f('0x8f')][_0x373f('0x8b')]==_0x895f52);_0x53f4fc[_0x373f('0x2c')]&&_0x113327[_0x373f('0x1b')]()[_0x373f('0x2c')]!=_0x53f4fc[_0x373f('0x2c')]&&_0x53f4fc[_0x373f('0x69')]((_0x58415d,_0x1472eb)=>(_0x58415d[_0x373f('0x61')]=_0x1472eb,_0x1472eb['previous']=_0x58415d,_0x1472eb));};function _0x6b9c65(_0x4ed7e0,_0xfc4f5=!0x0){const {id:_0x49615c}=_0x7be3af[_0x373f('0x59')](_0x4ed7e0[_0x373f('0x32')]),_0x2c8f98=['ck-suggestion-marker',_0x373f('0xa')],_0x50fe7c=_0x7be3af[_0x373f('0x45')]['includes'](_0x4ed7e0[_0x373f('0x32')]);return _0x50fe7c&&_0x2c8f98[_0x373f('0x13')](_0x373f('0x7d')),{'classes':_0x2c8f98,'attributes':{'data-suggestion':_0x49615c},'priority':_0x50fe7c&&_0xfc4f5?0xbc2:0xbb8};}_0x7be3af['on'](_0x373f('0x82'),_0xbc0bf9,{'priority':_0x373f('0x8e')}),_0x7be3af['on'](_0x373f('0x24'),_0xbc0bf9,{'priority':'high'}),_0xb0b07[_0x373f('0x4f')][_0x373f('0x0')][_0x373f('0x11')](()=>{let _0xed4e20=!0x1;const _0x5ec9ef=Array[_0x373f('0x19')](_0xb0b07['model'][_0x373f('0x0')][_0x373f('0x9d')][_0x373f('0x20')]());for(const {name:_0x4dd123,data:_0x3c2bc5}of _0x5ec9ef){const {group:_0x5408ed,type:_0x4e9b41,id:_0x56b5d2}=_0x7be3af[_0x373f('0x59')](_0x4dd123);if('suggestion'!=_0x5408ed||'deletion'!=_0x4e9b41||_0x3c2bc5[_0x373f('0x78')])continue;if(!_0x7be3af[_0x373f('0x4a')](_0x56b5d2))continue;const _0x4feea7=_0x7be3af[_0x373f('0x26')](_0x56b5d2)[_0x373f('0x6d')](),_0x1f782c=_0xb0b07[_0x373f('0x22')][_0x373f('0x4c')]('Users')['me'];for(const _0x14612d of _0x7be3af['getSuggestions']()){if(!_0x14612d[_0x373f('0x84')]||_0x14612d[_0x373f('0xa0')]!=_0x1f782c)continue;if(_0x373f('0x5')!=_0x14612d[_0x373f('0x40')]||_0x373f('0x30')!=_0x14612d[_0x373f('0x1c')])continue;if(_0x14612d[_0x373f('0x6d')]()[_0x373f('0x3a')](_0x35d35b=>_0x4feea7[_0x373f('0x47')](_0xf95373=>_0xf95373[_0x373f('0x7e')](_0x35d35b,!0x0))))for(const _0x4971cf of _0x14612d[_0x373f('0x1b')]())_0x4971cf[_0x373f('0x84')]&&(_0x4971cf[_0x373f('0x5c')](),_0xed4e20=!0x0);}}return _0xed4e20;}),_0xb0b07[_0x373f('0x4f')][_0x373f('0x0')][_0x373f('0x11')](_0x2d34c0=>{const _0x1ebb33=_0xb0b07[_0x373f('0x14')][_0x373f('0x4c')](_0x373f('0x37'));if(!_0x1ebb33||!_0x1ebb33[_0x373f('0x85')][_0x373f('0x88')](_0x2d34c0[_0x373f('0x71')]))return!0x1;let _0x289d44=!0x1;const _0x2de3b4=_0xb0b07['plugins'][_0x373f('0x4c')](_0x373f('0x94'))['me'],_0x53dc2b=_0xb0b07[_0x373f('0x4f')][_0x373f('0x0')][_0x373f('0x9d')][_0x373f('0x5b')](),_0x3e467b=Array[_0x373f('0x19')](_0xb0b07['model'][_0x373f('0x0')][_0x373f('0x9d')][_0x373f('0x20')]())[_0x373f('0x6e')](({name:_0x2cca88,data:_0x4f2247})=>{const {group:_0x48a26d,subType:_0xcf32d5,authorId:_0x47a426}=_0x7be3af[_0x373f('0x59')](_0x2cca88);return _0x373f('0x9c')==_0x48a26d&&_0x373f('0x9a')==_0xcf32d5&&_0x47a426==_0x2de3b4['id']&&!_0x4f2247[_0x373f('0x78')];});for(const _0x451268 of _0x53dc2b){if(_0x373f('0x28')!=_0x451268[_0x373f('0x40')]||_0x373f('0x83')!=_0x451268[_0x373f('0x68')]||0x1!=_0x451268['length'])continue;const _0x40f937=_0x2d34c0['createRange'](_0x451268[_0x373f('0x4b')],_0x451268[_0x373f('0x4b')][_0x373f('0x44')](0x1));if(!_0x3e467b['find'](({data:_0x40b8e9})=>_0x40b8e9[_0x373f('0x98')][_0x373f('0xb')](_0x40f937)))for(const {name:_0x2baf92,data:_0x1f90ce}of _0x3e467b)if(_0x40f937[_0x373f('0x7e')](_0x1f90ce[_0x373f('0x98')])){_0x2d34c0['updateMarker'](_0x2baf92,{'range':_0x40f937}),_0x289d44=!0x0;break;}}return _0x289d44;}),_0xb0b07['model'][_0x373f('0x0')][_0x373f('0x11')](_0x3015e8=>{let _0xbd5528=!0x1;const _0x2dd6d6=_0xb0b07['plugins'][_0x373f('0x4c')](_0x373f('0x94'))['me'],_0x352a38=_0x7be3af['getSuggestions']()[_0x373f('0x6e')](_0x2c5d9b=>_0x2c5d9b[_0x373f('0x84')]&&_0x2c5d9b[_0x373f('0xa0')]==_0x2dd6d6),_0x125d10=new Set(),_0x3fda72=new Set();for(const _0x234d4c of _0x352a38)if(_0x373f('0x9a')==_0x234d4c[_0x373f('0x1c')])for(const _0x59de88 of _0x234d4c[_0x373f('0x90')]()){const _0x5b9154=_0x59de88[_0x373f('0x3f')]()[_0x373f('0x6f')]();if(_0x5b9154){if(_0x5b9154['is'](_0x373f('0x9'),_0x373f('0x83'))&&ce(_0x5b9154)){_0x234d4c['removeMarker'](_0x59de88[_0x373f('0x68')]),_0x125d10[_0x373f('0x65')](_0x5b9154),_0xbd5528=!0x0;const _0x2ebeee=_0x5b9154[_0x373f('0x5e')],_0x45ac8a=_0x5b9154['previousSibling'],_0x36af02=_0x2ebeee&&_0x2ebeee['is'](_0x373f('0x9'),_0x373f('0x83')),_0x561ea2=_0x45ac8a&&_0x45ac8a['is'](_0x373f('0x9'),_0x373f('0x83'));_0x36af02&&!_0x125d10[_0x373f('0x88')](_0x2ebeee)&&_0x3fda72[_0x373f('0x65')](_0x2ebeee),_0x561ea2&&!_0x125d10['has'](_0x45ac8a)&&_0x3fda72[_0x373f('0x65')](_0x45ac8a);}else _0x5b9154['is']('element','paragraph')&&_0x5b9154[_0x373f('0x4')]&&(_0x234d4c[_0x373f('0x4d')](_0x59de88[_0x373f('0x68')]),_0xbd5528=!0x0);}}else{if(_0x373f('0x30')==_0x234d4c[_0x373f('0x1c')]){if(!_0x234d4c[_0x373f('0x8f')]||!_0x234d4c[_0x373f('0x8f')][_0x373f('0x8b')])continue;const _0x24cfb5=_0x234d4c[_0x373f('0x8f')][_0x373f('0x8a')];if(_0x24cfb5&&Object[_0x373f('0x73')](_0x24cfb5)[_0x373f('0x2c')])continue;const _0xb802c3=_0x234d4c['attributes'][_0x373f('0x8b')];let _0x4d5561=!0x0,_0x2da9b7=!0x0;for(const _0x5b3461 of _0x352a38)if(_0x5b3461['subType']&&_0x5b3461[_0x373f('0x1c')][_0x373f('0x53')]('tablePaste')){if(!_0x5b3461[_0x373f('0x8f')][_0x373f('0x8b')]){_0x2da9b7=!0x1;break;}if(_0x5b3461['id']!=_0x234d4c['id']&&_0x5b3461[_0x373f('0x8f')][_0x373f('0x8b')]==_0xb802c3){_0x4d5561=!0x1;break;}}_0x2da9b7&&_0x4d5561&&(_0x234d4c[_0x373f('0x60')](),_0xbd5528=!0x0);}}for(const _0x35aaff of _0x125d10)_0x3015e8['remove'](_0x35aaff);for(const _0x31581b of _0x3fda72)_0x3015e8[_0x373f('0x8c')](_0x31581b);return _0xbd5528;}),_0xb0b07[_0x373f('0x2b')][_0x373f('0x76')]('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x4441f8,_0x3ce024)=>_0x6b9c65(_0x4441f8),'converterPriority':'high'}),_0xb0b07['conversion'][_0x373f('0x76')](_0x373f('0x1e'))[_0x373f('0x2')]({'model':_0x373f('0x81'),'view':(_0x5bb9de,_0x4f1636)=>_0x4f1636[_0x373f('0x43')][_0x373f('0x89')]?_0x6b9c65(_0x5bb9de,!0x1):null,'converterPriority':_0x373f('0x8e')});const _0x270f9a=_0xb0b07['editing'][_0x373f('0x2e')];this[_0x373f('0x7f')](_0x270f9a[_0x373f('0x0')],'clipboardOutput',(_0x49e9e3,_0x55970d)=>{const _0x1d1543=[];for(const _0x308a75 of _0x270f9a[_0x373f('0x1f')](_0x55970d['content'])[_0x373f('0x50')]())_0x308a75['is'](_0x373f('0x9'),_0x373f('0x5a'))&&_0x1d1543[_0x373f('0x13')](_0x308a75);_0x270f9a[_0x373f('0x3b')](_0x155199=>{for(const _0x196bd5 of _0x1d1543)_0x155199[_0x373f('0x62')](_0x155199['createRangeIn'](_0x196bd5),_0x155199[_0x373f('0x70')](_0x196bd5)),_0x155199[_0x373f('0x79')](_0x196bd5);});});}}function ce(_0x1eeb76){if(_0x1eeb76[_0x373f('0x4')])return!0x0;const _0x21c8a8=_0x1eeb76['getChild'](0x0);return _0x21c8a8['is'](_0x373f('0x9'),'paragraph')&&_0x21c8a8[_0x373f('0x4')];}function fe(_0x1d38b3,_0x19568a={},_0x14f00f){for(const {isAnchor:_0x59b839,cellHeight:_0x3cb4af,cellWidth:_0x4adf09}of _0x14f00f[_0x373f('0x1')](_0x1d38b3,{'includeAllSlots':!0x0,..._0x19568a}))if(!_0x59b839||0x1!=_0x3cb4af||0x1!=_0x4adf09)return!0x1;return!0x0;}
23
+ const _0x18f9=['findAncestor','markMultiRangeBlockFormat','wrap','_splitMarkerName','element','attributes','containsRange','tableCell','first','removeRows','registerCustomCallback','documentSelection','isEqual','insertRows','selection','set','_descriptionFactory','setAttribute','schema','fromEntries','endRow','insertionRanges','getMarkers','startsWith','insertContent','from','getChanges','getItems','TableUtils','insert','endColumn','tableCellBorderColor','high','getRanges','getAllAdjacentSuggestions','previousSibling','newRange','getRange','row','locale','_replaceTableSlotCell','value','suggestion-td','isInContent','conversion','stop','deletionRanges','markerName','formatBlock','paragraph','createRangeIn','tablePaste','accept','get','createTableWalker','fill','Users','getChildren','getChangedMarkers','updateMarker','dataDowncast','hasSuggestion','remove','getSuggestion','view','change','ck-suggestion-marker-insertion','rootName','getContainedElement','createElement','nodeAfter','find','start','length','suggestion:formatBlock:tablePasteCell','getShiftedBy','document','author','afterInit','activeMarkers','_suggestionFactory','low','getSuggestionCallback','*Replace\x20table\x20cells*','editor','tableCellBackgroundColor','cells','join','tableCellBorderWidth','cell','markerToHighlight','oldRange','reduce','discard','filter','columns','commands','tableCellVerticalAlignment','isEmpty','markMultiRangeInsertion','model','showSuggestionHighlights','TableClipboard','end','map','has','suggestionUnloaded','add','getChild','ck-suggestion-marker--active','tablePasteCell','registerPostFixer','tablePasteRow','last','column','subType','differ','getSelectionAffectedTableCells','some','getAttributes','suggestionLoaded','getRows','columnInsertionIndexes','_tablePostFixingSubtypes','nextSibling','editingDowncast','insertion','removeColumns','deletion','includes','rowInsertionRanges','tableCellPadding','type','_createdBatches','next','options','getRowIndexes','name','batch','content','setAttributes','tablePasteChainId','_getCoordsForCells','markerAttributes','return','table','getColumns','tableCellSuggestion','clipboardOutput','rowInsertionIndexes','createRangeOn','suggestion','markMultiRangeDeletion','registerDescriptionCallback','tableCellHorizontalAlignment','position','plugins','tablePasteColumn','redo','elementToElement','columnInsertionRanges','unwrap','previous','editing','markers','getSuggestions','push','removeMarker','forceDefaultExecution','listenTo','insertColumns'];(function(_0x5766b5,_0x18f9ef){const _0x1f0fc0=function(_0x4da1bd){while(--_0x4da1bd){_0x5766b5['push'](_0x5766b5['shift']());}};_0x1f0fc0(++_0x18f9ef);}(_0x18f9,0x1d3));const _0x1f0f=function(_0x5766b5,_0x18f9ef){_0x5766b5=_0x5766b5-0x0;let _0x1f0fc0=_0x18f9[_0x5766b5];return _0x1f0fc0;};import{getTranslation as _0x281b03}from'../utils/common-translations';import{Plugin as _0x317f0a}from'ckeditor5/src/core';import{uid as _0x48d6e4,priorities as _0x239c35}from'ckeditor5/src/utils';import _0x21b405 from'./table';const le=[_0x1f0f('0x86'),_0x1f0f('0x4d'),'tableCellBorderStyle',_0x1f0f('0x1d'),_0x1f0f('0x8f'),_0x1f0f('0x83'),_0x1f0f('0x6')],ae=Object[_0x1f0f('0x41')](le[_0x1f0f('0x96')](_0x53a495=>[_0x53a495,null]));export default class At extends _0x317f0a{static get['requires'](){return[_0x21b405];}[_0x1f0f('0x7c')](){const _0x3b1a44=this[_0x1f0f('0x82')];if(!_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x97')]('TableClipboard'))return;const _0x571782=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')]('TrackChangesEditing'),_0x9fb2f9=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x4a')),_0x339cfa=_0x3b1a44[_0x1f0f('0x1f')]['get'](_0x21b405),_0x3130e8=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x94'));_0x339cfa[_0x1f0f('0xa9')][_0x1f0f('0x29')](_0x1f0f('0x9e'),_0x1f0f('0x20')),_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x40')]['register'](_0x1f0f('0x16'),{'allowIn':_0x1f0f('0x35'),'allowContentOf':_0x1f0f('0x35'),'isLimit':!0x0}),_0x3b1a44[_0x1f0f('0x5a')][_0x1f0f('0x22')]({'model':_0x1f0f('0x16'),'view':_0x1f0f('0x58')});let _0x174a51=null;_0x3b1a44[_0x1f0f('0x92')]['on'](_0x1f0f('0x46'),(_0x3e32cb,_0x41c154)=>{const [_0x15e61d,_0xaa62fa]=_0x41c154,_0x2f3588=_0x41c154[_0x41c154['length']-0x1];_0x2f3588&&_0x2f3588[_0x1f0f('0x2b')]||_0x571782['_isForcedDefaultExecutionBlock']||this[_0x1f0f('0x82')][_0x1f0f('0x8e')][_0x1f0f('0x63')]('trackChanges')[_0x1f0f('0x57')]&&function(_0x2e51af,_0x1ae64d,_0x44e678,_0x45edf0,_0x466d72){if(_0x1ae64d&&!_0x1ae64d['is'](_0x1f0f('0x39')))return!0x1;const _0x43c014=_0x466d72['getTableIfOnlyTableInContent'](_0x2e51af,_0x44e678);if(!_0x43c014||!fe(_0x43c014,void 0x0,_0x45edf0))return!0x1;const _0x5880bc=_0x45edf0[_0x1f0f('0xa3')](_0x44e678[_0x1f0f('0x7a')][_0x1f0f('0x3c')]);if(!_0x5880bc['length'])return!0x1;const _0x136395=_0x5880bc[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),_0x1cf5fb=_0x45edf0[_0x1f0f('0xb')](_0x5880bc),_0x4e1e4d=_0x45edf0['getColumnIndexes'](_0x5880bc),_0x135bf8={'startRow':_0x1cf5fb[_0x1f0f('0x36')],'endRow':_0x1cf5fb[_0x1f0f('0x9f')],'startColumn':_0x4e1e4d['first'],'endColumn':_0x4e1e4d[_0x1f0f('0x9f')]};return 0x1==_0x5880bc['length']&&(_0x135bf8[_0x1f0f('0x42')]+=_0x45edf0[_0x1f0f('0xa7')](_0x43c014)-0x1,_0x135bf8[_0x1f0f('0x4c')]+=_0x45edf0[_0x1f0f('0x15')](_0x43c014)-0x1),fe(_0x136395,_0x135bf8,_0x45edf0);}(_0x15e61d,_0xaa62fa,_0x3b1a44[_0x1f0f('0x92')],_0x9fb2f9,_0x3130e8)&&(_0x3e32cb[_0x1f0f('0x5b')](),_0x174a51={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x6f')](()=>{_0x3b1a44['model'][_0x1f0f('0x46')](_0x41c154[0x0],_0x41c154[0x1],_0x41c154[0x2],{'forceDefaultExecution':!0x0});const _0x35d194=_0x48d6e4(),{rowInsertionRanges:_0x1583d8,columnInsertionRanges:_0x521d34,insertionRanges:_0x1a1a85,deletionRanges:_0x38ffbc,cells:_0x32b3d6}=_0x174a51;_0x1583d8[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x91')](_0x1583d8,_0x1f0f('0x9e'),{'tablePasteChainId':_0x35d194}),_0x521d34[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x91')](_0x521d34,_0x1f0f('0x20'),{'tablePasteChainId':_0x35d194}),_0x1a1a85[_0x1f0f('0x77')]&&_0x571782['markMultiRangeInsertion'](_0x1a1a85,_0x1f0f('0x61'),{'tablePasteChainId':_0x35d194,'skipNestingCheck':!0x0}),_0x38ffbc[_0x1f0f('0x77')]&&_0x571782[_0x1f0f('0x1b')](_0x38ffbc,_0x1f0f('0x61'),{'tablePasteChainId':_0x35d194,'skipNestingCheck':!0x0});const _0xadc5ca=_0x571782[_0x1f0f('0x2f')](_0x32b3d6[_0x1f0f('0x96')](({element:_0x41f0d2})=>_0x41f0d2),{'formatGroupId':_0x48d6e4()},[],_0x1f0f('0x9c'),{'tablePasteChainId':_0x35d194});if(_0xadc5ca){const _0x476aa8=_0xadc5ca[_0x1f0f('0x44')](),_0x541309=[];for(const {element:_0x824eea,attributes:_0x5e00c5}of _0x32b3d6){if(!_0x5e00c5)continue;const _0x1aeb79=_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x19')](_0x824eea),_0x2209ac=_0x476aa8[_0x1f0f('0x75')](_0x23d482=>_0x23d482[_0x1f0f('0x53')]()[_0x1f0f('0x3a')](_0x1aeb79));_0x2209ac&&_0x541309[_0x1f0f('0x29')]([_0x2209ac[_0x1f0f('0xc')],_0x5e00c5]);}_0x541309[_0x1f0f('0x77')]&&_0xadc5ca[_0x1f0f('0x3f')]('markerAttributes',Object['fromEntries'](_0x541309));}_0x174a51=null;}));},{'priority':_0x239c35['high']+0xa}),_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x94'))['on'](_0x1f0f('0x56'),(_0x2ed957,_0x5688b2)=>{const [_0x10f8d9,_0x39694a,,_0x17d2e7]=_0x5688b2;if(!_0x174a51)return;_0x2ed957[_0x1f0f('0x5b')]();const _0x5d56b6=_0x10f8d9[_0x1f0f('0x87')],_0x1feb35=_0x39694a,_0x3e5384=ce(_0x5d56b6),_0x3ee9bf=ce(_0x1feb35);_0x2ed957[_0x1f0f('0x13')]=_0x5d56b6;let _0x5985a3=null,_0x1c9c52=null;if(_0x3ee9bf||_0x3e5384){if(_0x3e5384&&!_0x3ee9bf){_0x17d2e7[_0x1f0f('0x6c')](_0x5d56b6['getChild'](0x0));for(const _0x1cb8bf of Array[_0x1f0f('0x47')](_0x1feb35[_0x1f0f('0x67')]()))_0x17d2e7[_0x1f0f('0x4b')](_0x1cb8bf,_0x5d56b6,_0x1f0f('0x95'));const _0x1de91b=_0x174a51[_0x1f0f('0x18')][_0x1f0f('0x4')](_0x10f8d9[_0x1f0f('0x54')]),_0x45456c=_0x174a51[_0x1f0f('0xa8')][_0x1f0f('0x4')](_0x10f8d9[_0x1f0f('0xa0')]);_0x1de91b||_0x45456c||(_0x5985a3=_0x17d2e7[_0x1f0f('0x60')](_0x5d56b6));}else _0x3ee9bf&&!_0x3e5384&&(_0x1c9c52=_0x17d2e7[_0x1f0f('0x60')](_0x5d56b6));}else{const _0x180d47=_0x17d2e7[_0x1f0f('0x73')](_0x1f0f('0x16')),_0x263103=_0x17d2e7['createElement'](_0x1f0f('0x16'));_0x17d2e7[_0x1f0f('0x30')](_0x17d2e7['createRangeIn'](_0x5d56b6),_0x263103),_0x17d2e7[_0x1f0f('0x4b')](_0x180d47,_0x5d56b6,0x0);for(const _0x29e890 of Array['from'](_0x1feb35[_0x1f0f('0x67')]()))_0x17d2e7[_0x1f0f('0x4b')](_0x29e890,_0x180d47,_0x1f0f('0x95'));_0x5985a3=_0x17d2e7[_0x1f0f('0x19')](_0x180d47),_0x1c9c52=_0x17d2e7[_0x1f0f('0x19')](_0x263103);}const _0x190397=Array[_0x1f0f('0x47')](_0x1feb35[_0x1f0f('0xa5')]())['filter'](([_0x33a152])=>le[_0x1f0f('0x4')](_0x33a152));_0x174a51[_0x1f0f('0x84')]['push']({'element':_0x5d56b6,'attributes':_0x190397[_0x1f0f('0x77')]?Object['fromEntries'](_0x190397):null}),_0x5985a3&&_0x174a51[_0x1f0f('0x43')][_0x1f0f('0x29')](_0x5985a3),_0x1c9c52&&_0x174a51[_0x1f0f('0x5c')]['push'](_0x1c9c52);},{'priority':_0x1f0f('0x4e')}),_0x9fb2f9['on'](_0x1f0f('0x2d'),(_0x582513,_0x53de84)=>{const [_0x9cfcc5,_0x4abab7={}]=_0x53de84;if(!_0x174a51)return;const _0x1c3f8e=_0x4abab7['at']||0x0,_0x5aa5b6=_0x4abab7[_0x1f0f('0x8d')]||0x1;_0x174a51[_0x1f0f('0xa8')]=new Array(_0x5aa5b6)['fill'](_0x1c3f8e)[_0x1f0f('0x96')]((_0x44574b,_0x31d493)=>_0x44574b+_0x31d493);for(const {cell:_0x5b649c}of _0x9fb2f9['createTableWalker'](_0x9cfcc5,{'startColumn':_0x1c3f8e,'endColumn':_0x1c3f8e+_0x5aa5b6-0x1}))_0x174a51[_0x1f0f('0x23')][_0x1f0f('0x29')](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x19')](_0x5b649c));},{'priority':_0x1f0f('0x7f')}),_0x9fb2f9['on'](_0x1f0f('0x3b'),(_0x2265fa,_0x320b66)=>{const [_0x182757,_0x3d1af2={}]=_0x320b66;if(!_0x174a51)return;const _0x2f780b=_0x3d1af2['at']||0x0,_0x1dafd9=_0x3d1af2['rows']||0x1;_0x174a51[_0x1f0f('0x18')]=new Array(_0x1dafd9)[_0x1f0f('0x65')](_0x2f780b)[_0x1f0f('0x96')]((_0x8f8dd8,_0x5551db)=>_0x8f8dd8+_0x5551db);for(const {cell:_0x51d572}of _0x9fb2f9['createTableWalker'](_0x182757,{'startRow':_0x2f780b,'endRow':_0x2f780b+_0x1dafd9-0x1}))_0x174a51[_0x1f0f('0x5')][_0x1f0f('0x29')](_0x3b1a44[_0x1f0f('0x92')]['createRangeOn'](_0x51d572));},{'priority':_0x1f0f('0x7f')}),_0x571782[_0x1f0f('0x3e')][_0x1f0f('0x1c')](_0xca17c3=>{if(_0xca17c3[_0x1f0f('0xa1')]&&_0xca17c3['subType'][_0x1f0f('0x45')](_0x1f0f('0x61')))return _0xca17c3[_0x1f0f('0x25')]?{}:{'type':_0x1f0f('0x1'),'content':_0x281b03(_0x3b1a44[_0x1f0f('0x55')],_0x1f0f('0x81'))};});const _0x3b0900=()=>!0x1;for(const _0x226fb8 of[_0x1f0f('0x61'),_0x1f0f('0x20'),_0x1f0f('0x9e'),'tablePasteCell'])_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x1f0f('0x1'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x3'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900),_0x571782[_0x1f0f('0x7e')]['registerCustomCallback'](_0x1f0f('0x5e'),_0x226fb8,_0x1f0f('0x85'),_0x3b0900);_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x1f0f('0x5e'),_0x1f0f('0x9c'),_0x1f0f('0x8b'),_0x3b0900),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x5e'),_0x1f0f('0x9c'),_0x1f0f('0x62'),(_0x2fb7bf,_0x34ef07,_0x5b94a5)=>{const _0x3fda81=_0x2fb7bf['map'](_0x5eded5=>_0x5eded5[_0x1f0f('0x72')]())[_0x1f0f('0x8c')](_0x13270c=>_0x13270c),_0x346f11=new Map(_0x3fda81[_0x1f0f('0x96')](_0x53afc1=>[_0x53afc1,null]));if(_0x174a51)for(const {element:_0x438190,attributes:_0xd6ef38}of _0x174a51[_0x1f0f('0x84')])_0xd6ef38&&_0x346f11[_0x1f0f('0x3d')](_0x438190,_0xd6ef38);else{if(_0x5b94a5&&_0x5b94a5[_0x1f0f('0x12')])for(const [_0x28154c,_0x25cada]of Object['entries'](_0x5b94a5[_0x1f0f('0x12')])){const _0x294a60=_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x27')]['get'](_0x28154c),_0x11b581=_0x294a60?_0x294a60[_0x1f0f('0x53')]()[_0x1f0f('0x72')]():null;_0x11b581&&_0x346f11['set'](_0x11b581,_0x25cada);}}_0x3b1a44['model'][_0x1f0f('0x6f')](_0x4cb2cd=>{for(const [_0x345bd4,_0x415e25]of _0x346f11)_0x4cb2cd[_0x1f0f('0xf')]({...ae,..._0x415e25},_0x345bd4);});});const _0x1707a4=(_0x940cdf,_0x35a29a)=>{_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x38')](_0x940cdf,_0x1f0f('0x61'),_0x35a29a,(_0x3a8acb,_0x6722ea,_0x276f81)=>{_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x6f')](_0x379bc4=>{const _0x4ba7ae=[];for(const _0x1ead6b of _0x3a8acb){const _0x58e46f=_0x1ead6b[_0x1f0f('0x76')][_0x1f0f('0x74')];_0x58e46f['is']('element',_0x1f0f('0x16'))&&_0x4ba7ae[_0x1f0f('0x29')](_0x58e46f);}_0x571782[_0x1f0f('0x7e')][_0x1f0f('0x80')](_0x940cdf,null,_0x35a29a)(_0x3a8acb,_0x6722ea,_0x276f81);for(const _0x1fe7ae of _0x4ba7ae)'$graveyard'!=_0x1fe7ae['root'][_0x1f0f('0x71')]&&_0x379bc4['unwrap'](_0x1fe7ae);});});};_0x1707a4('insertion',_0x1f0f('0x62')),_0x1707a4(_0x1f0f('0x1'),_0x1f0f('0x8b')),_0x1707a4('deletion',_0x1f0f('0x62')),_0x1707a4(_0x1f0f('0x3'),_0x1f0f('0x8b')),_0x571782['_suggestionFactory'][_0x1f0f('0x38')](_0x1f0f('0x1'),_0x1f0f('0x9e'),_0x1f0f('0x8b'),_0x457190=>{const _0x4e9718=_0x457190[_0x1f0f('0x96')](_0x3d3e26=>_0x3d3e26[_0x1f0f('0x72')]()),_0x38e60c=_0x4e9718[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),{minRow:_0x5534b7,maxRow:_0x402faa}=_0x339cfa[_0x1f0f('0x11')](_0x4e9718);_0x9fb2f9[_0x1f0f('0x37')](_0x38e60c,{'at':_0x5534b7,'rows':_0x402faa-_0x5534b7+0x1});}),_0x571782['_suggestionFactory']['registerCustomCallback']('insertion',_0x1f0f('0x20'),_0x1f0f('0x8b'),_0x3b7f5e=>{const _0x19e393=_0x3b7f5e[_0x1f0f('0x96')](_0x194c37=>_0x194c37[_0x1f0f('0x72')]()),_0x5850ce=_0x19e393[0x0][_0x1f0f('0x2e')](_0x1f0f('0x14')),{minColumn:_0x1efd92,maxColumn:_0x214f5a}=_0x339cfa['_getCoordsForCells'](_0x19e393);_0x9fb2f9[_0x1f0f('0x2')](_0x5850ce,{'at':_0x1efd92,'columns':_0x214f5a-_0x1efd92+0x1});});const _0x3467ef=(_0x453397,_0x97411c)=>{if(!_0x97411c[_0x1f0f('0xa1')]||!_0x97411c['subType']['startsWith'](_0x1f0f('0x61')))return;const _0x17d516=_0x97411c['attributes'][_0x1f0f('0x10')],_0x310202=_0x571782[_0x1f0f('0x28')]()[_0x1f0f('0x8c')](_0x61805f=>_0x61805f[_0x1f0f('0x59')]&&_0x61805f['attributes']&&_0x61805f[_0x1f0f('0x33')]['tablePasteChainId']==_0x17d516);_0x310202[_0x1f0f('0x77')]&&_0x97411c[_0x1f0f('0x50')]()[_0x1f0f('0x77')]!=_0x310202[_0x1f0f('0x77')]&&_0x310202[_0x1f0f('0x8a')]((_0x1502a8,_0x1401df)=>(_0x1502a8[_0x1f0f('0x9')]=_0x1401df,_0x1401df[_0x1f0f('0x25')]=_0x1502a8,_0x1401df));};function _0x345238(_0x1dd131,_0x2370bc=!0x0){const {id:_0x17b596}=_0x571782[_0x1f0f('0x31')](_0x1dd131[_0x1f0f('0x5d')]),_0xa0b805=['ck-suggestion-marker',_0x1f0f('0x70')],_0x365915=_0x571782[_0x1f0f('0x7d')][_0x1f0f('0x4')](_0x1dd131['markerName']);return _0x365915&&_0xa0b805[_0x1f0f('0x29')](_0x1f0f('0x9b')),{'classes':_0xa0b805,'attributes':{'data-suggestion':_0x17b596},'priority':_0x365915&&_0x2370bc?0xbc2:0xbb8};}_0x571782['on'](_0x1f0f('0xa6'),_0x3467ef,{'priority':_0x1f0f('0x4e')}),_0x571782['on'](_0x1f0f('0x98'),_0x3467ef,{'priority':'high'}),_0x3b1a44['model'][_0x1f0f('0x7a')][_0x1f0f('0x9d')](()=>{let _0x185646=!0x1;const _0x1bc8ac=Array['from'](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0xa2')][_0x1f0f('0x68')]());for(const {name:_0x43d084,data:_0x1a4019}of _0x1bc8ac){const {group:_0x51f25e,type:_0x5d0965,id:_0x292ade}=_0x571782[_0x1f0f('0x31')](_0x43d084);if('suggestion'!=_0x51f25e||_0x1f0f('0x3')!=_0x5d0965||_0x1a4019['oldRange'])continue;if(!_0x571782[_0x1f0f('0x6b')](_0x292ade))continue;const _0x550c25=_0x571782[_0x1f0f('0x6d')](_0x292ade)[_0x1f0f('0x4f')](),_0x3176b7=_0x3b1a44[_0x1f0f('0x1f')][_0x1f0f('0x63')](_0x1f0f('0x66'))['me'];for(const _0x36c788 of _0x571782[_0x1f0f('0x28')]()){if(!_0x36c788[_0x1f0f('0x59')]||_0x36c788[_0x1f0f('0x7b')]!=_0x3176b7)continue;if('formatBlock'!=_0x36c788[_0x1f0f('0x7')]||_0x1f0f('0x9c')!=_0x36c788['subType'])continue;if(_0x36c788[_0x1f0f('0x4f')]()['every'](_0xe67984=>_0x550c25[_0x1f0f('0xa4')](_0x509bbf=>_0x509bbf[_0x1f0f('0x34')](_0xe67984,!0x0))))for(const _0x43eb98 of _0x36c788[_0x1f0f('0x50')]())_0x43eb98[_0x1f0f('0x59')]&&(_0x43eb98[_0x1f0f('0x8b')](),_0x185646=!0x0);}}return _0x185646;}),_0x3b1a44['model'][_0x1f0f('0x7a')]['registerPostFixer'](_0x3bbb1a=>{const _0x593206=_0x3b1a44['commands']['get'](_0x1f0f('0x21'));if(!_0x593206||!_0x593206[_0x1f0f('0x8')][_0x1f0f('0x97')](_0x3bbb1a[_0x1f0f('0xd')]))return!0x1;let _0x4355c0=!0x1;const _0x2b6815=_0x3b1a44['plugins'][_0x1f0f('0x63')](_0x1f0f('0x66'))['me'],_0x57c9ee=_0x3b1a44[_0x1f0f('0x92')]['document']['differ'][_0x1f0f('0x48')](),_0x48d10d=Array[_0x1f0f('0x47')](_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0xa2')][_0x1f0f('0x68')]())[_0x1f0f('0x8c')](({name:_0x20a0d0,data:_0x4f8e61})=>{const {group:_0x3b05eb,subType:_0x1e9d5f,authorId:_0x1e7fa8}=_0x571782[_0x1f0f('0x31')](_0x20a0d0);return _0x1f0f('0x1a')==_0x3b05eb&&'tablePaste'==_0x1e9d5f&&_0x1e7fa8==_0x2b6815['id']&&!_0x4f8e61[_0x1f0f('0x89')];});for(const _0xa96b37 of _0x57c9ee){if(_0x1f0f('0x4b')!=_0xa96b37[_0x1f0f('0x7')]||'tableCellSuggestion'!=_0xa96b37[_0x1f0f('0xc')]||0x1!=_0xa96b37[_0x1f0f('0x77')])continue;const _0x2782ca=_0x3bbb1a['createRange'](_0xa96b37[_0x1f0f('0x1e')],_0xa96b37['position'][_0x1f0f('0x79')](0x1));if(!_0x48d10d[_0x1f0f('0x75')](({data:_0x27cad9})=>_0x27cad9[_0x1f0f('0x52')][_0x1f0f('0x3a')](_0x2782ca)))for(const {name:_0x31515d,data:_0x15862f}of _0x48d10d)if(_0x2782ca['containsRange'](_0x15862f['newRange'])){_0x3bbb1a[_0x1f0f('0x69')](_0x31515d,{'range':_0x2782ca}),_0x4355c0=!0x0;break;}}return _0x4355c0;}),_0x3b1a44[_0x1f0f('0x92')][_0x1f0f('0x7a')][_0x1f0f('0x9d')](_0x1d7c7c=>{let _0x348cac=!0x1;const _0x393644=_0x3b1a44[_0x1f0f('0x1f')]['get'](_0x1f0f('0x66'))['me'],_0x2af37c=_0x571782['getSuggestions']()[_0x1f0f('0x8c')](_0xca667e=>_0xca667e[_0x1f0f('0x59')]&&_0xca667e[_0x1f0f('0x7b')]==_0x393644),_0x1e82bf=new Set(),_0x45ad18=new Set();for(const _0x38fe6e of _0x2af37c)if(_0x1f0f('0x61')==_0x38fe6e[_0x1f0f('0xa1')])for(const _0x16c1f7 of _0x38fe6e[_0x1f0f('0x44')]()){const _0x171f37=_0x16c1f7[_0x1f0f('0x53')]()['getContainedElement']();if(_0x171f37){if(_0x171f37['is'](_0x1f0f('0x32'),_0x1f0f('0x16'))&&ce(_0x171f37)){_0x38fe6e[_0x1f0f('0x2a')](_0x16c1f7[_0x1f0f('0xc')]),_0x1e82bf['add'](_0x171f37),_0x348cac=!0x0;const _0x317bdc=_0x171f37[_0x1f0f('0xaa')],_0x9afef5=_0x171f37[_0x1f0f('0x51')],_0x5b36bb=_0x317bdc&&_0x317bdc['is'](_0x1f0f('0x32'),_0x1f0f('0x16')),_0x391114=_0x9afef5&&_0x9afef5['is'](_0x1f0f('0x32'),_0x1f0f('0x16'));_0x5b36bb&&!_0x1e82bf[_0x1f0f('0x97')](_0x317bdc)&&_0x45ad18[_0x1f0f('0x99')](_0x317bdc),_0x391114&&!_0x1e82bf['has'](_0x9afef5)&&_0x45ad18['add'](_0x9afef5);}else _0x171f37['is'](_0x1f0f('0x32'),_0x1f0f('0x5f'))&&_0x171f37[_0x1f0f('0x90')]&&(_0x38fe6e['removeMarker'](_0x16c1f7[_0x1f0f('0xc')]),_0x348cac=!0x0);}}else{if('tablePasteCell'==_0x38fe6e[_0x1f0f('0xa1')]){if(!_0x38fe6e[_0x1f0f('0x33')]||!_0x38fe6e['attributes'][_0x1f0f('0x10')])continue;const _0x35a7b4=_0x38fe6e['attributes'][_0x1f0f('0x12')];if(_0x35a7b4&&Object['keys'](_0x35a7b4)[_0x1f0f('0x77')])continue;const _0x44297c=_0x38fe6e['attributes']['tablePasteChainId'];let _0x34be7d=!0x0,_0x45fdcf=!0x0;for(const _0x42f7c9 of _0x2af37c)if(_0x42f7c9[_0x1f0f('0xa1')]&&_0x42f7c9[_0x1f0f('0xa1')][_0x1f0f('0x45')](_0x1f0f('0x61'))){if(!_0x42f7c9[_0x1f0f('0x33')][_0x1f0f('0x10')]){_0x45fdcf=!0x1;break;}if(_0x42f7c9['id']!=_0x38fe6e['id']&&_0x42f7c9[_0x1f0f('0x33')][_0x1f0f('0x10')]==_0x44297c){_0x34be7d=!0x1;break;}}_0x45fdcf&&_0x34be7d&&(_0x38fe6e['removeMarkers'](),_0x348cac=!0x0);}}for(const _0x450dd4 of _0x1e82bf)_0x1d7c7c[_0x1f0f('0x6c')](_0x450dd4);for(const _0x108d0b of _0x45ad18)_0x1d7c7c[_0x1f0f('0x24')](_0x108d0b);return _0x348cac;}),_0x3b1a44[_0x1f0f('0x5a')]['for'](_0x1f0f('0x0'))[_0x1f0f('0x88')]({'model':_0x1f0f('0x78'),'view':(_0x2b35e7,_0xdbc885)=>_0x345238(_0x2b35e7),'converterPriority':_0x1f0f('0x4e')}),_0x3b1a44['conversion']['for'](_0x1f0f('0x6a'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x252ffb,_0x3cd4ae)=>_0x3cd4ae[_0x1f0f('0xa')][_0x1f0f('0x93')]?_0x345238(_0x252ffb,!0x1):null,'converterPriority':'high'});const _0x44f642=_0x3b1a44[_0x1f0f('0x26')][_0x1f0f('0x6e')];this[_0x1f0f('0x2c')](_0x44f642['document'],_0x1f0f('0x17'),(_0x34d12d,_0x5a7620)=>{const _0xc7ffe4=[];for(const _0x398e70 of _0x44f642[_0x1f0f('0x60')](_0x5a7620[_0x1f0f('0xe')])[_0x1f0f('0x49')]())_0x398e70['is']('element',_0x1f0f('0x58'))&&_0xc7ffe4[_0x1f0f('0x29')](_0x398e70);_0x44f642[_0x1f0f('0x6f')](_0x1a954e=>{for(const _0x330bd4 of _0xc7ffe4)_0x1a954e['move'](_0x1a954e[_0x1f0f('0x60')](_0x330bd4),_0x1a954e['createPositionBefore'](_0x330bd4)),_0x1a954e['remove'](_0x330bd4);});});}}function ce(_0x1aab5b){if(_0x1aab5b[_0x1f0f('0x90')])return!0x0;const _0x474cfa=_0x1aab5b[_0x1f0f('0x9a')](0x0);return _0x474cfa['is'](_0x1f0f('0x32'),_0x1f0f('0x5f'))&&_0x474cfa['isEmpty'];}function fe(_0x52eea8,_0x413d04={},_0x964a5){for(const {isAnchor:_0x1e1b75,cellHeight:_0x345b23,cellWidth:_0x1e6b1d}of _0x964a5[_0x1f0f('0x64')](_0x52eea8,{'includeAllSlots':!0x0,..._0x413d04}))if(!_0x1e1b75||0x1!=_0x345b23||0x1!=_0x1e6b1d)return!0x1;return!0x0;}
@@ -1,26 +1,26 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/tablecolumnresize
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Element } from 'ckeditor5/src/engine';
10
- import type Suggestion from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
12
- /**
13
- * Provides track changes plugin integration for table column resize feature.
14
- */
15
- export default class TrackChangesTableColumnResize extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- afterInit(): void;
20
- handleResizeTableWidthCommand(executeCommand: Function, options: {
21
- table?: Element;
22
- tableWidth?: string;
23
- columnWidths?: string;
24
- }): void;
25
- handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
26
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/tablecolumnresize
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { Element } from 'ckeditor5/src/engine';
10
+ import type Suggestion from '../suggestion';
11
+ import type { Description } from '../suggestiondescriptionfactory';
12
+ /**
13
+ * Provides track changes plugin integration for table column resize feature.
14
+ */
15
+ export default class TrackChangesTableColumnResize extends Plugin {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ afterInit(): void;
20
+ handleResizeTableWidthCommand(executeCommand: Function, options: {
21
+ table?: Element;
22
+ tableWidth?: string;
23
+ columnWidths?: string;
24
+ }): void;
25
+ handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
26
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5692=['editor','discard','get','*Format:*\x20resize\x20table','document','TrackChangesEditing','afterInit','plugins','selection','model','TableColumnResizeEditing','resizeTableWidth','change','formatBlock','enableCommand','getTableColumnsWidths','handleResizeTableWidthCommand','columnWidths','format','resizeColumnWidths','table','commandParams','getContainedElement','resizeTable','locale','handleSuggestionDescription','has','_suggestionFactory','getSuggestionCallback','bind','tableWidth','markBlockFormat','data','getSelectedElement','Users','registerCustomCallback','accept','getSuggestions'];(function(_0x349f15,_0x5692ef){const _0x4f3ec7=function(_0x1c1b4e){while(--_0x1c1b4e){_0x349f15['push'](_0x349f15['shift']());}};_0x4f3ec7(++_0x5692ef);}(_0x5692,0x141));const _0x4f3e=function(_0x349f15,_0x5692ef){_0x349f15=_0x349f15-0x0;let _0x4f3ec7=_0x5692[_0x349f15];return _0x4f3ec7;};import{Plugin as _0x25d384}from'ckeditor5/src/core';import{getTranslation as _0x5ea381}from'../utils/common-translations';export default class yt extends _0x25d384{[_0x4f3e('0x1b')](){if(!this[_0x4f3e('0x15')][_0x4f3e('0x1c')][_0x4f3e('0x9')](_0x4f3e('0x1f')))return;const _0x5e5c39=this[_0x4f3e('0x15')][_0x4f3e('0x1c')][_0x4f3e('0x17')](_0x4f3e('0x1a'));_0x5e5c39['enableCommand'](_0x4f3e('0x20'),this[_0x4f3e('0x25')][_0x4f3e('0xc')](this)),_0x5e5c39[_0x4f3e('0x23')](_0x4f3e('0x2'),this[_0x4f3e('0x25')][_0x4f3e('0xc')](this)),_0x5e5c39['_suggestionFactory'][_0x4f3e('0x12')](_0x4f3e('0x22'),'resizeTable',_0x4f3e('0x13'),_0x5e5c39[_0x4f3e('0xa')][_0x4f3e('0xb')]('formatBlock',null,_0x4f3e('0x16'))),_0x5e5c39[_0x4f3e('0xa')][_0x4f3e('0x12')](_0x4f3e('0x22'),'resizeTable','discard',_0x5e5c39[_0x4f3e('0xa')][_0x4f3e('0xb')](_0x4f3e('0x22'),null,_0x4f3e('0x13'))),_0x5e5c39['_descriptionFactory']['registerDescriptionCallback'](this[_0x4f3e('0x8')][_0x4f3e('0xc')](this));}[_0x4f3e('0x25')](_0xbb22ed,_0x558ee6){const _0x1449d2=this[_0x4f3e('0x15')]['plugins'][_0x4f3e('0x17')](_0x4f3e('0x1a')),_0x2929b3=this['editor'][_0x4f3e('0x1c')][_0x4f3e('0x17')](_0x4f3e('0x1f')),_0x331bc4=_0x558ee6[_0x4f3e('0x3')]||this['editor'][_0x4f3e('0x1e')][_0x4f3e('0x19')][_0x4f3e('0x1d')][_0x4f3e('0x10')]();this[_0x4f3e('0x15')][_0x4f3e('0x1e')][_0x4f3e('0x21')](()=>{const _0x25a394=_0x2929b3['getColumnGroupElement'](_0x331bc4);let _0x40231c=_0x25a394?_0x2929b3[_0x4f3e('0x24')](_0x25a394):null,_0x571693=_0x331bc4['getAttribute'](_0x4f3e('0xd'))||null;const _0x157d31=_0x558ee6['tableWidth']||_0x571693,_0xdf09dc=_0x558ee6['columnWidths']||_0x40231c,_0xf40696=this[_0x4f3e('0x15')]['plugins'][_0x4f3e('0x17')](_0x4f3e('0x11'))['me'];for(const _0x4a53ac of _0x1449d2[_0x4f3e('0x14')]()){const _0x17b4e1=_0x4a53ac[_0x4f3e('0x5')]();if(_0x4f3e('0x6')===_0x4a53ac['subType']&&_0x17b4e1===_0x331bc4){_0x4a53ac['author']!==_0xf40696&&_0x4a53ac[_0x4f3e('0x16')]();const _0x8a3a70=_0x4a53ac[_0x4f3e('0xf')][_0x4f3e('0x4')];_0x571693=_0x8a3a70[0x0][_0x4f3e('0xd')],_0x40231c=_0x8a3a70[0x0][_0x4f3e('0x0')];break;}}_0xbb22ed({'table':_0x331bc4,'tableWidth':_0x157d31,'columnWidths':_0xdf09dc}),_0x1449d2[_0x4f3e('0xe')](_0x331bc4,{'commandName':_0x4f3e('0x20'),'commandParams':[{'tableWidth':_0x571693,'columnWidths':_0x40231c}],'formatGroupId':'resizeTable'},[],'resizeTable');});}[_0x4f3e('0x8')](_0x4bf065){const {data:_0x321943}=_0x4bf065;if(_0x321943&&'resizeTable'===_0x321943['formatGroupId']){const _0x5b2cea=_0x4f3e('0x18');return{'type':_0x4f3e('0x1'),'content':_0x5ea381(this['editor'][_0x4f3e('0x7')],_0x5b2cea)};}}}
23
+ const _0x576b=['TableColumnResizeEditing','accept','handleResizeTableWidthCommand','tableWidth','type','resizeTableWidth','afterInit','resizeTable','_descriptionFactory','getSelectedElement','get','formatGroupId','getColumnGroupElement','format','editor','subType','getSuggestionCallback','registerCustomCallback','Users','columnWidths','bind','discard','handleSuggestionDescription','TrackChangesEditing','document','getContainedElement','change','formatInline','formatBlock','*Format:*\x20resize\x20table','registerDescriptionCallback','has','_suggestionFactory','model','plugins','getAttribute','locale'];(function(_0x10809b,_0x576bc8){const _0xea5c04=function(_0x480a78){while(--_0x480a78){_0x10809b['push'](_0x10809b['shift']());}};_0xea5c04(++_0x576bc8);}(_0x576b,0xa9));const _0xea5c=function(_0x10809b,_0x576bc8){_0x10809b=_0x10809b-0x0;let _0xea5c04=_0x576b[_0x10809b];return _0xea5c04;};import{Plugin as _0xb6a08b}from'ckeditor5/src/core';import{getTranslation as _0x3fb746}from'../utils/common-translations';export default class It extends _0xb6a08b{[_0xea5c('0x16')](){if(!this['editor'][_0xea5c('0xd')][_0xea5c('0xa')](_0xea5c('0x10')))return;const _0x5979f3=this[_0xea5c('0x1e')][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x2'));_0x5979f3['enableCommand'](_0xea5c('0x15'),this['handleResizeTableWidthCommand'][_0xea5c('0x24')](this)),_0x5979f3[_0xea5c('0xb')][_0xea5c('0x21')](_0xea5c('0x7'),'resizeTable','accept',_0x5979f3[_0xea5c('0xb')][_0xea5c('0x20')](_0xea5c('0x7'),null,'discard')),_0x5979f3[_0xea5c('0xb')][_0xea5c('0x21')]('formatBlock',_0xea5c('0x17'),_0xea5c('0x0'),_0x5979f3['_suggestionFactory'][_0xea5c('0x20')](_0xea5c('0x7'),null,_0xea5c('0x11'))),_0x5979f3[_0xea5c('0x18')][_0xea5c('0x9')](this['handleSuggestionDescription']['bind'](this));}[_0xea5c('0x12')](_0x53b425,_0x11b1a5){const _0x7295d5=this['editor'][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x2')),_0x596f66=this[_0xea5c('0x1e')][_0xea5c('0xd')][_0xea5c('0x1a')](_0xea5c('0x10')),_0x2f2926=_0x11b1a5['table']||this[_0xea5c('0x1e')][_0xea5c('0xc')][_0xea5c('0x3')]['selection'][_0xea5c('0x19')]();this['editor']['model'][_0xea5c('0x5')](()=>{const _0x18b0a9=_0x596f66[_0xea5c('0x1c')](_0x2f2926);let _0x1c4d79=_0x18b0a9?_0x596f66['getTableColumnsWidths'](_0x18b0a9):null,_0x16080b=_0x2f2926[_0xea5c('0xe')](_0xea5c('0x13'))||null;const _0xe8f9a8=_0x11b1a5['tableWidth']||_0x16080b,_0xa8cd6b=_0x11b1a5[_0xea5c('0x23')]||_0x1c4d79,_0x2daf61=this[_0xea5c('0x1e')]['plugins'][_0xea5c('0x1a')](_0xea5c('0x22'))['me'];for(const _0x2d4b5b of _0x7295d5['getSuggestions']()){const _0x2abf9e=_0x2d4b5b[_0xea5c('0x4')]();if(_0xea5c('0x17')===_0x2d4b5b[_0xea5c('0x1f')]&&_0x2abf9e===_0x2f2926){_0x2d4b5b['author']!==_0x2daf61&&_0x2d4b5b['discard']();const _0xc1158a=_0x2d4b5b['data']['commandParams'];_0x16080b=_0xc1158a[0x0][_0xea5c('0x13')],_0x1c4d79=_0xc1158a[0x0][_0xea5c('0x23')];break;}}_0x53b425({'table':_0x2f2926,'tableWidth':_0xe8f9a8,'columnWidths':_0xa8cd6b}),_0x7295d5['markBlockFormat'](_0x2f2926,{'commandName':_0xea5c('0x15'),'commandParams':[{'tableWidth':_0x16080b,'columnWidths':_0x1c4d79}],'formatGroupId':_0xea5c('0x17')},[],_0xea5c('0x17'));});}[_0xea5c('0x1')](_0x57fee6){if('formatBlock'!=_0x57fee6[_0xea5c('0x14')]&&_0xea5c('0x6')!=_0x57fee6[_0xea5c('0x14')])return;const {data:_0x3e5cf1}=_0x57fee6;if(_0x3e5cf1&&_0xea5c('0x17')===_0x3e5cf1[_0xea5c('0x1b')]){const _0x4a19e8=_0xea5c('0x8');return{'type':_0xea5c('0x1d'),'content':_0x3fb746(this['editor'][_0xea5c('0xf')],_0x4a19e8)};}}}
@@ -1,22 +1,22 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/tableheadings
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import TrackChangesTable from './table';
10
- /**
11
- * Provides track changes plugin integration for {@link module:table/table~Table table feature} heading rows/columns.
12
- */
13
- export default class TrackChangesTableHeadings extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get requires(): readonly [typeof TrackChangesTable];
18
- /**
19
- * @inheritDoc
20
- */
21
- afterInit(): void;
22
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/tableheadings
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import TrackChangesTable from './table';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} heading rows/columns.
12
+ */
13
+ export default class TrackChangesTableHeadings extends Plugin {
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get requires(): readonly [typeof TrackChangesTable];
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ afterInit(): void;
22
+ }