@ckeditor/ckeditor5-track-changes 35.4.0 → 36.0.1

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 (156) hide show
  1. package/build/track-changes.js +3 -3
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +6 -3
  49. package/lang/translations/ar.po +16 -4
  50. package/lang/translations/az.po +16 -4
  51. package/lang/translations/bg.po +16 -4
  52. package/lang/translations/bn.po +16 -4
  53. package/lang/translations/ca.po +16 -4
  54. package/lang/translations/cs.po +16 -4
  55. package/lang/translations/da.po +16 -4
  56. package/lang/translations/de.po +16 -4
  57. package/lang/translations/el.po +16 -4
  58. package/lang/translations/en-au.po +16 -4
  59. package/lang/translations/en.po +16 -4
  60. package/lang/translations/es.po +16 -4
  61. package/lang/translations/et.po +16 -4
  62. package/lang/translations/fi.po +16 -4
  63. package/lang/translations/fr.po +16 -4
  64. package/lang/translations/gl.po +16 -4
  65. package/lang/translations/he.po +16 -4
  66. package/lang/translations/hi.po +16 -4
  67. package/lang/translations/hr.po +16 -4
  68. package/lang/translations/hu.po +16 -4
  69. package/lang/translations/id.po +16 -4
  70. package/lang/translations/it.po +16 -4
  71. package/lang/translations/ja.po +16 -4
  72. package/lang/translations/ko.po +16 -4
  73. package/lang/translations/lt.po +16 -4
  74. package/lang/translations/lv.po +16 -4
  75. package/lang/translations/ms.po +16 -4
  76. package/lang/translations/nl.po +16 -4
  77. package/lang/translations/no.po +16 -4
  78. package/lang/translations/pl.po +16 -4
  79. package/lang/translations/pt-br.po +16 -4
  80. package/lang/translations/pt.po +16 -4
  81. package/lang/translations/ro.po +16 -4
  82. package/lang/translations/ru.po +16 -4
  83. package/lang/translations/sk.po +16 -4
  84. package/lang/translations/sr-latn.po +32 -20
  85. package/lang/translations/sr.po +33 -21
  86. package/lang/translations/sv.po +16 -4
  87. package/lang/translations/th.po +16 -4
  88. package/lang/translations/tk.po +16 -4
  89. package/lang/translations/tr.po +16 -4
  90. package/lang/translations/tt.po +16 -4
  91. package/lang/translations/uk.po +16 -4
  92. package/lang/translations/ur.po +16 -4
  93. package/lang/translations/vi.po +16 -4
  94. package/lang/translations/zh-cn.po +16 -4
  95. package/lang/translations/zh.po +16 -4
  96. package/package.json +4 -4
  97. package/src/commands/acceptsuggestioncommand.js +2 -2
  98. package/src/commands/discardsuggestioncommand.js +2 -2
  99. package/src/commands/executeonallsuggestionscommand.js +2 -2
  100. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  101. package/src/commands/trackchangescommand.js +2 -2
  102. package/src/index.js +1 -1
  103. package/src/integrations/alignment.js +2 -2
  104. package/src/integrations/basicstyles.js +2 -2
  105. package/src/integrations/blockquote.js +2 -2
  106. package/src/integrations/ckbox.js +2 -2
  107. package/src/integrations/codeblock.js +2 -2
  108. package/src/integrations/comments.js +2 -2
  109. package/src/integrations/deletecommand.js +2 -2
  110. package/src/integrations/documentlist.js +2 -2
  111. package/src/integrations/documentlistproperties.js +2 -2
  112. package/src/integrations/entercommand.js +2 -2
  113. package/src/integrations/findandreplace.js +23 -0
  114. package/src/integrations/font.js +2 -2
  115. package/src/integrations/heading.js +2 -2
  116. package/src/integrations/highlight.js +2 -2
  117. package/src/integrations/horizontalline.js +2 -2
  118. package/src/integrations/htmlembed.js +2 -2
  119. package/src/integrations/image.js +2 -2
  120. package/src/integrations/imagereplace.js +23 -0
  121. package/src/integrations/importword.js +2 -2
  122. package/src/integrations/indent.js +2 -2
  123. package/src/integrations/inputcommand.js +2 -2
  124. package/src/integrations/link.js +2 -2
  125. package/src/integrations/list.js +2 -2
  126. package/src/integrations/listproperties.js +2 -2
  127. package/src/integrations/mediaembed.js +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.js +2 -2
  130. package/src/integrations/paragraph.js +2 -2
  131. package/src/integrations/removeformat.js +2 -2
  132. package/src/integrations/restrictededitingmode.js +2 -2
  133. package/src/integrations/shiftentercommand.js +2 -2
  134. package/src/integrations/standardeditingmode.js +2 -2
  135. package/src/integrations/style.js +2 -2
  136. package/src/integrations/table.js +2 -2
  137. package/src/integrations/tablecaption.js +2 -2
  138. package/src/integrations/tableclipboard.js +2 -2
  139. package/src/integrations/tablecolumnresize.js +2 -2
  140. package/src/integrations/tableheadings.js +2 -2
  141. package/src/integrations/tablemergesplit.js +2 -2
  142. package/src/integrations/tableproperties.js +23 -0
  143. package/src/integrations/title.js +2 -2
  144. package/src/integrations/undo.js +2 -2
  145. package/src/integrations/utils.js +2 -2
  146. package/src/suggestion.js +2 -2
  147. package/src/suggestiondescriptionfactory.js +2 -2
  148. package/src/trackchanges.js +2 -2
  149. package/src/trackchangesdata.js +2 -2
  150. package/src/trackchangesediting.js +2 -2
  151. package/src/trackchangesui.js +2 -2
  152. package/src/ui/suggestioncontroller.js +2 -2
  153. package/src/ui/view/basesuggestionthreadview.js +2 -2
  154. package/src/ui/view/suggestionthreadview.js +2 -2
  155. package/src/utils/common-translations.js +2 -2
  156. package/src/utils/utils.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ef8=['length','handleListStyleCommand','locale','*Format:*\x20set\x20start\x20index\x20to\x20%0','createPositionAt','plugins','from','ELEMENT_','config','ListUtils','_getSuggestionBlocks','replaceAll','markMultiRangeBlockFormat','editor','list.properties','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20regular','*Format:*\x20set\x20order\x20to\x20reversed','listType','_getTranslationKeyForListStyle','map','enableCommand','format','bind','getListTypeFromListStyleType','getAttribute','getSelectedBlocks','reversed','type','handleDescriptions','listStart','model','handleListReversedCommand','document','getSiblingNodes','commandParams','handleListStartCommand','listStyle','toUpperCase','numbered','element','startIndex','registerDescriptionCallback','ListPropertiesEditing','listReversed','createRange','before','get','listItem','selection','*Change\x20to:*\x20%0','_descriptionFactory'];(function(_0xa8d203,_0x3ef8f0){const _0x3fca7e=function(_0x20facb){while(--_0x20facb){_0xa8d203['push'](_0xa8d203['shift']());}};_0x3fca7e(++_0x3ef8f0);}(_0x3ef8,0x90));const _0x3fca=function(_0xa8d203,_0x3ef8f0){_0xa8d203=_0xa8d203-0x0;let _0x3fca7e=_0x3ef8[_0xa8d203];return _0x3fca7e;};import{Plugin as _0x51e460}from'ckeditor5/src/core';import{getTranslation as _0x187586}from'../utils/common-translations';export default class et extends _0x51e460{['afterInit'](){if(!this[_0x3fca('0x19')]['plugins']['has'](_0x3fca('0x3')))return;const _0x45d143=this[_0x3fca('0x19')][_0x3fca('0x14')]['get'](_0x3fca('0x1a')),_0x142d4a=this[_0x3fca('0x19')]['plugins']['get'](_0x3fca('0x1b'));_0x45d143['styles']&&_0x142d4a[_0x3fca('0x21')](_0x3fca('0x31'),this[_0x3fca('0xd')][_0x3fca('0x23')](this)),_0x45d143[_0x3fca('0x27')]&&_0x142d4a[_0x3fca('0x21')]('listReversed',this[_0x3fca('0x2c')][_0x3fca('0x23')](this)),_0x45d143['startIndex']&&_0x142d4a[_0x3fca('0x21')]('listStart',this[_0x3fca('0x30')]['bind'](this)),_0x142d4a[_0x3fca('0xb')][_0x3fca('0x2')](this[_0x3fca('0x29')][_0x3fca('0x23')](this));}[_0x3fca('0xd')](_0x5bc1a8,_0x4d52de){const _0x4d86e7=this[_0x3fca('0x19')][_0x3fca('0x11')]['get'](_0x3fca('0x1b')),_0x3a0d2b=this[_0x3fca('0x16')](_0xadf7d8=>_0xadf7d8['hasAttribute'](_0x3fca('0x1e')));_0x3a0d2b['length']<0x1||this['editor'][_0x3fca('0x2b')]['change'](()=>{_0x4d86e7['markMultiRangeBlockFormat'](_0x3a0d2b,{'commandName':'listStyle','commandParams':[{'type':_0x4d52de['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0xcdaffc,_0x1c835b){const _0x1a1e08=this[_0x3fca('0x19')][_0x3fca('0x11')][_0x3fca('0x7')](_0x3fca('0x1b')),_0x443ff3=this[_0x3fca('0x16')](_0x26e479=>_0x26e479['is'](_0x3fca('0x0'),'listItem')&&'numbered'===_0x26e479[_0x3fca('0x25')](_0x3fca('0x1e')));if(_0x443ff3['length']<0x1)return;const _0x33685d=_0x443ff3[_0x3fca('0x20')](_0x4ac3b2=>this['editor']['model'][_0x3fca('0x5')](this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0x4ac3b2,_0x3fca('0x6')),this[_0x3fca('0x19')]['model']['createPositionAt'](_0x4ac3b2,0x0)));this[_0x3fca('0x19')][_0x3fca('0x2b')]['change'](()=>{_0x1a1e08['markMultiRangeBlockFormat'](_0x33685d,{'commandName':'listReversed','commandParams':[{'reversed':_0x1c835b[_0x3fca('0x27')]}],'formatGroupId':_0x3fca('0x4')});});}[_0x3fca('0x30')](_0x45520a,_0xebe144){const _0x52ebfe=this[_0x3fca('0x19')][_0x3fca('0x11')]['get'](_0x3fca('0x1b')),_0x426d38=this[_0x3fca('0x16')](_0x541739=>_0x541739['is']('element',_0x3fca('0x8'))&&_0x3fca('0x33')===_0x541739['getAttribute'](_0x3fca('0x1e')));if(_0x426d38[_0x3fca('0xc')]<0x1)return;const _0x472ea3=_0x426d38['map'](_0x61ad6f=>this['editor']['model'][_0x3fca('0x5')](this[_0x3fca('0x19')]['model'][_0x3fca('0x10')](_0x61ad6f,_0x3fca('0x6')),this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0x61ad6f,0x0)));this[_0x3fca('0x19')][_0x3fca('0x2b')]['change'](()=>{_0x52ebfe[_0x3fca('0x18')](_0x472ea3,{'commandName':'listStart','commandParams':[{'startIndex':_0xebe144[_0x3fca('0x1')]}],'formatGroupId':_0x3fca('0x2a')});});}[_0x3fca('0x29')](_0x580b40){const _0x30e144=this['editor'][_0x3fca('0xe')],{data:_0x1ddf81}=_0x580b40;if(!_0x1ddf81)return;let _0x3c6cf6,_0x145287;switch(_0x1ddf81['commandName']){case'listStyle':_0x3c6cf6=_0x3fca('0xa'),_0x145287={'type':_0x3fca('0x22'),'content':_0x187586(_0x30e144,_0x3c6cf6,_0x187586(_0x30e144,this[_0x3fca('0x1f')](_0x1ddf81[_0x3fca('0x2f')][0x0][_0x3fca('0x28')])))};break;case _0x3fca('0x4'):_0x3c6cf6=_0x1ddf81[_0x3fca('0x2f')][0x0]['reversed']?_0x3fca('0x1d'):_0x3fca('0x1c'),_0x145287={'type':'format','content':_0x187586(_0x30e144,_0x3c6cf6)};break;case _0x3fca('0x2a'):_0x3c6cf6=_0x3fca('0xf'),_0x145287={'type':_0x3fca('0x22'),'content':_0x187586(_0x30e144,_0x3c6cf6,_0x1ddf81[_0x3fca('0x2f')][0x0]['startIndex'])};}return _0x145287;}[_0x3fca('0x16')](_0x940113){const _0x109183=this[_0x3fca('0x19')][_0x3fca('0x11')][_0x3fca('0x7')](_0x3fca('0x15'));let _0x1c5faf=Array[_0x3fca('0x12')](this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x2d')][_0x3fca('0x9')][_0x3fca('0x26')]())['filter'](_0x940113)['map'](_0xea02cc=>{const _0x32843d=this[_0x3fca('0x19')][_0x3fca('0x2b')][_0x3fca('0x10')](_0xea02cc,0x0);return[..._0x109183['getSiblingNodes'](_0x32843d,'backward'),..._0x109183[_0x3fca('0x2e')](_0x32843d,'forward')];})['flat']();return _0x1c5faf=[...new Set(_0x1c5faf)],_0x1c5faf;}[_0x3fca('0x1f')](_0x4a0d8d){return _0x3fca('0x13')+this[_0x3fca('0x19')]['plugins'][_0x3fca('0x7')](_0x3fca('0x15'))[_0x3fca('0x24')](_0x4a0d8d)['toUpperCase']()+'_LIST_'+_0x4a0d8d[_0x3fca('0x32')]()[_0x3fca('0x17')]('-','_');}}
23
+ const _0x334c=['*Format:*\x20set\x20order\x20to\x20reversed','length','afterInit','toUpperCase','_getSuggestionBlocks','*Format:*\x20set\x20start\x20index\x20to\x20%0','styles','change','listType','_getTranslationKeyForListStyle','get','has','listReversed','handleDescriptions','listStyle','from','forward','map','element','editor','bind','listItem','plugins','listStart','createPositionAt','handleListStartCommand','getSiblingNodes','list.properties','model','document','filter','*Change\x20to:*\x20%0','commandParams','getListTypeFromListStyleType','ELEMENT_','type','config','*Format:*\x20set\x20order\x20to\x20regular','before','startIndex','handleListStyleCommand','registerDescriptionCallback','createRange','TrackChangesEditing','markMultiRangeBlockFormat','ListUtils','format','enableCommand','numbered','_LIST_','reversed','handleListReversedCommand','replaceAll','commandName'];(function(_0x1db66b,_0x334c9a){const _0x1c8254=function(_0x5ca1a5){while(--_0x5ca1a5){_0x1db66b['push'](_0x1db66b['shift']());}};_0x1c8254(++_0x334c9a);}(_0x334c,0xe0));const _0x1c82=function(_0x1db66b,_0x334c9a){_0x1db66b=_0x1db66b-0x0;let _0x1c8254=_0x334c[_0x1db66b];return _0x1c8254;};import{Plugin as _0x3bed93}from'ckeditor5/src/core';import{getTranslation as _0x214301}from'../utils/common-translations';export default class ot extends _0x3bed93{[_0x1c82('0x30')](){if(!this[_0x1c82('0xb')][_0x1c82('0xe')][_0x1c82('0x3')]('ListPropertiesEditing'))return;const _0x30468a=this[_0x1c82('0xb')][_0x1c82('0x1c')][_0x1c82('0x2')](_0x1c82('0x13')),_0x1e9df9=this[_0x1c82('0xb')][_0x1c82('0xe')]['get'](_0x1c82('0x23'));_0x30468a[_0x1c82('0x34')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0x6'),this[_0x1c82('0x20')]['bind'](this)),_0x30468a[_0x1c82('0x2a')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0x4'),this[_0x1c82('0x2b')][_0x1c82('0xc')](this)),_0x30468a[_0x1c82('0x1f')]&&_0x1e9df9[_0x1c82('0x27')](_0x1c82('0xf'),this[_0x1c82('0x11')][_0x1c82('0xc')](this)),_0x1e9df9['_descriptionFactory'][_0x1c82('0x21')](this[_0x1c82('0x5')]['bind'](this));}[_0x1c82('0x20')](_0x7a5068,_0x3780e8){const _0x49b791=this[_0x1c82('0xb')]['plugins']['get'](_0x1c82('0x23')),_0x16d46f=this[_0x1c82('0x32')](_0xabd959=>_0xabd959['hasAttribute'](_0x1c82('0x0')));_0x16d46f['length']<0x1||this[_0x1c82('0xb')][_0x1c82('0x14')]['change'](()=>{_0x49b791['markMultiRangeBlockFormat'](_0x16d46f,{'commandName':_0x1c82('0x6'),'commandParams':[{'type':_0x3780e8[_0x1c82('0x1b')]}],'formatGroupId':_0x1c82('0x6')});});}[_0x1c82('0x2b')](_0x30a9e1,_0x19fa0e){const _0x5a8511=this[_0x1c82('0xb')][_0x1c82('0xe')][_0x1c82('0x2')](_0x1c82('0x23')),_0x48b7c4=this[_0x1c82('0x32')](_0x1e331e=>_0x1e331e['is'](_0x1c82('0xa'),_0x1c82('0xd'))&&_0x1c82('0x28')===_0x1e331e['getAttribute'](_0x1c82('0x0')));if(_0x48b7c4['length']<0x1)return;const _0x42aced=_0x48b7c4['map'](_0x5c961a=>this['editor'][_0x1c82('0x14')][_0x1c82('0x22')](this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x10')](_0x5c961a,_0x1c82('0x1e')),this[_0x1c82('0xb')]['model'][_0x1c82('0x10')](_0x5c961a,0x0)));this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x35')](()=>{_0x5a8511[_0x1c82('0x24')](_0x42aced,{'commandName':_0x1c82('0x4'),'commandParams':[{'reversed':_0x19fa0e[_0x1c82('0x2a')]}],'formatGroupId':_0x1c82('0x4')});});}[_0x1c82('0x11')](_0x4bd291,_0x5c856c){const _0x594fad=this['editor'][_0x1c82('0xe')][_0x1c82('0x2')](_0x1c82('0x23')),_0x8a517d=this[_0x1c82('0x32')](_0x576f20=>_0x576f20['is'](_0x1c82('0xa'),_0x1c82('0xd'))&&'numbered'===_0x576f20['getAttribute']('listType'));if(_0x8a517d[_0x1c82('0x2f')]<0x1)return;const _0x270a29=_0x8a517d[_0x1c82('0x9')](_0xb89c2e=>this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x22')](this[_0x1c82('0xb')][_0x1c82('0x14')]['createPositionAt'](_0xb89c2e,'before'),this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x10')](_0xb89c2e,0x0)));this[_0x1c82('0xb')][_0x1c82('0x14')][_0x1c82('0x35')](()=>{_0x594fad['markMultiRangeBlockFormat'](_0x270a29,{'commandName':_0x1c82('0xf'),'commandParams':[{'startIndex':_0x5c856c[_0x1c82('0x1f')]}],'formatGroupId':_0x1c82('0xf')});});}[_0x1c82('0x5')](_0xccad0d){const _0x50eff3=this[_0x1c82('0xb')]['locale'],{data:_0x3c5fb7}=_0xccad0d;if(!_0x3c5fb7)return;let _0x497b75,_0x500702;switch(_0x3c5fb7[_0x1c82('0x2d')]){case _0x1c82('0x6'):_0x497b75=_0x1c82('0x17'),_0x500702={'type':'format','content':_0x214301(_0x50eff3,_0x497b75,_0x214301(_0x50eff3,this[_0x1c82('0x1')](_0x3c5fb7['commandParams'][0x0][_0x1c82('0x1b')])))};break;case _0x1c82('0x4'):_0x497b75=_0x3c5fb7[_0x1c82('0x18')][0x0][_0x1c82('0x2a')]?_0x1c82('0x2e'):_0x1c82('0x1d'),_0x500702={'type':_0x1c82('0x26'),'content':_0x214301(_0x50eff3,_0x497b75)};break;case'listStart':_0x497b75=_0x1c82('0x33'),_0x500702={'type':_0x1c82('0x26'),'content':_0x214301(_0x50eff3,_0x497b75,_0x3c5fb7[_0x1c82('0x18')][0x0][_0x1c82('0x1f')])};}return _0x500702;}[_0x1c82('0x32')](_0x1f8bc5){const _0x2611db=this[_0x1c82('0xb')][_0x1c82('0xe')]['get'](_0x1c82('0x25'));let _0x39019d=Array[_0x1c82('0x7')](this[_0x1c82('0xb')]['model'][_0x1c82('0x15')]['selection']['getSelectedBlocks']())[_0x1c82('0x16')](_0x1f8bc5)['map'](_0x220bf0=>{const _0x418d06=this[_0x1c82('0xb')]['model'][_0x1c82('0x10')](_0x220bf0,0x0);return[..._0x2611db[_0x1c82('0x12')](_0x418d06,'backward'),..._0x2611db['getSiblingNodes'](_0x418d06,_0x1c82('0x8'))];})['flat']();return _0x39019d=[...new Set(_0x39019d)],_0x39019d;}['_getTranslationKeyForListStyle'](_0x3c692a){return _0x1c82('0x1a')+this[_0x1c82('0xb')]['plugins'][_0x1c82('0x2')](_0x1c82('0x25'))[_0x1c82('0x19')](_0x3c692a)[_0x1c82('0x31')]()+_0x1c82('0x29')+_0x3c692a[_0x1c82('0x31')]()[_0x1c82('0x2c')]('-','_');}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290c=['createEmptyElement','TrackChangesEditing','media','MediaEmbedEditing','mediaEmbed','high','dataDowncast','plugins','div','has','get','afterInit','options','for','showSuggestionHighlights','attribute:url:media','ELEMENT_MEDIA','locale','_descriptionFactory'];(function(_0x42d8de,_0x290ce3){const _0xea88ea=function(_0x18f0a5){while(--_0x18f0a5){_0x42d8de['push'](_0x42d8de['shift']());}};_0xea88ea(++_0x290ce3);}(_0x290c,0x17d));const _0xea88=function(_0x42d8de,_0x290ce3){_0x42d8de=_0x42d8de-0x0;let _0xea88ea=_0x290c[_0x42d8de];return _0xea88ea;};import{Plugin as _0xd79957}from'ckeditor5/src/core';import{getTranslation as _0x3f3364}from'../utils/common-translations';export default class nt extends _0xd79957{[_0xea88('0xa')](){const _0xe43f4a=this['editor'];if(!_0xe43f4a[_0xea88('0x6')][_0xea88('0x8')](_0xea88('0x2')))return;const _0x341913=_0xe43f4a[_0xea88('0x6')][_0xea88('0x9')](_0xea88('0x0')),_0x379a25=_0xe43f4a[_0xea88('0x10')];_0x341913['enableCommand'](_0xea88('0x3')),_0x341913[_0xea88('0x11')]['registerElementLabel']('media',_0x3cde31=>_0x3f3364(_0x379a25,_0xea88('0xf'),_0x3cde31)),_0xe43f4a['conversion'][_0xea88('0xc')](_0xea88('0x5'))['elementToElement']({'model':_0xea88('0x1'),'view':(_0x2c52d2,{writer:_0x591dc3,options:_0x52bea4})=>{if(_0x52bea4[_0xea88('0xd')])return _0x591dc3[_0xea88('0x12')](_0xea88('0x7'));},'converterPriority':_0xea88('0x4')}),_0xe43f4a['data']['downcastDispatcher']['on'](_0xea88('0xe'),(_0x96ab57,_0x36d78a,_0xfe9b34)=>{_0xfe9b34[_0xea88('0xb')]['showSuggestionHighlights']&&_0x96ab57['stop']();},{'priority':_0xea88('0x4')});}}
23
+ const _0xe9ea=['downcastDispatcher','stop','dataDowncast','high','showSuggestionHighlights','_descriptionFactory','registerElementLabel','MediaEmbedEditing','conversion','ELEMENT_MEDIA','locale','plugins','data','options','get','for','afterInit','enableCommand','attribute:url:media','media','editor'];(function(_0x15cae8,_0xe9ea7f){const _0xaff0c5=function(_0x5d127b){while(--_0x5d127b){_0x15cae8['push'](_0x15cae8['shift']());}};_0xaff0c5(++_0xe9ea7f);}(_0xe9ea,0xbf));const _0xaff0=function(_0x15cae8,_0xe9ea7f){_0x15cae8=_0x15cae8-0x0;let _0xaff0c5=_0xe9ea[_0x15cae8];return _0xaff0c5;};import{Plugin as _0xe4af55}from'ckeditor5/src/core';import{getTranslation as _0x55d5b3}from'../utils/common-translations';export default class rt extends _0xe4af55{[_0xaff0('0xe')](){const _0xba8755=this[_0xaff0('0x12')];if(!_0xba8755[_0xaff0('0x9')]['has'](_0xaff0('0x5')))return;const _0x33cdd5=_0xba8755[_0xaff0('0x9')][_0xaff0('0xc')]('TrackChangesEditing'),_0x546d93=_0xba8755[_0xaff0('0x8')];_0x33cdd5[_0xaff0('0xf')]('mediaEmbed'),_0x33cdd5[_0xaff0('0x3')][_0xaff0('0x4')]('media',_0x147c79=>_0x55d5b3(_0x546d93,_0xaff0('0x7'),_0x147c79)),_0xba8755[_0xaff0('0x6')][_0xaff0('0xd')](_0xaff0('0x0'))['elementToElement']({'model':_0xaff0('0x11'),'view':(_0x32d43f,{writer:_0x53006d,options:_0x43284a})=>{if(_0x43284a[_0xaff0('0x2')])return _0x53006d['createEmptyElement']('div');},'converterPriority':_0xaff0('0x1')}),_0xba8755[_0xaff0('0xa')][_0xaff0('0x13')]['on'](_0xaff0('0x10'),(_0x475d8e,_0x402e15,_0x1b3b5d)=>{_0x1b3b5d[_0xaff0('0xb')][_0xaff0('0x2')]&&_0x475d8e[_0xaff0('0x14')]();},{'priority':_0xaff0('0x1')});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44eb=['plugins','has','TrackChangesEditing','get','enableCommand','editor','mention','MentionEditing'];(function(_0x18b7eb,_0x44eb4f){const _0x1854eb=function(_0x462efd){while(--_0x462efd){_0x18b7eb['push'](_0x18b7eb['shift']());}};_0x1854eb(++_0x44eb4f);}(_0x44eb,0xcb));const _0x1854=function(_0x18b7eb,_0x44eb4f){_0x18b7eb=_0x18b7eb-0x0;let _0x1854eb=_0x44eb[_0x18b7eb];return _0x1854eb;};import{Plugin as _0x29d312}from'ckeditor5/src/core';export default class ot extends _0x29d312{['afterInit'](){const _0x22c3eb=this[_0x1854('0x2')];_0x22c3eb[_0x1854('0x5')][_0x1854('0x6')](_0x1854('0x4'))&&_0x22c3eb[_0x1854('0x5')][_0x1854('0x0')](_0x1854('0x7'))[_0x1854('0x1')](_0x1854('0x3'));}}
23
+ const _0x1bfe=['has','afterInit','plugins','get','MentionEditing','enableCommand','editor'];(function(_0x365b05,_0x1bfe96){const _0x232599=function(_0x2a764a){while(--_0x2a764a){_0x365b05['push'](_0x365b05['shift']());}};_0x232599(++_0x1bfe96);}(_0x1bfe,0x148));const _0x2325=function(_0x365b05,_0x1bfe96){_0x365b05=_0x365b05-0x0;let _0x232599=_0x1bfe[_0x365b05];return _0x232599;};import{Plugin as _0x4c5b6d}from'ckeditor5/src/core';export default class at extends _0x4c5b6d{[_0x2325('0x2')](){const _0x380b45=this[_0x2325('0x0')];_0x380b45[_0x2325('0x3')][_0x2325('0x1')](_0x2325('0x5'))&&_0x380b45[_0x2325('0x3')][_0x2325('0x4')]('TrackChangesEditing')[_0x2325('0x6')]('mention');}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18cc=['registerElementLabel','get','TrackChangesEditing','ELEMENT_PAGE_BREAK','editor','_descriptionFactory','plugins','afterInit','pageBreak','locale'];(function(_0x2c145c,_0x18cc20){const _0x10f8ed=function(_0x5df90c){while(--_0x5df90c){_0x2c145c['push'](_0x2c145c['shift']());}};_0x10f8ed(++_0x18cc20);}(_0x18cc,0x11d));const _0x10f8=function(_0x2c145c,_0x18cc20){_0x2c145c=_0x2c145c-0x0;let _0x10f8ed=_0x18cc[_0x2c145c];return _0x10f8ed;};import{Plugin as _0x30d502}from'ckeditor5/src/core';import{getTranslation as _0x19cb8f}from'../utils/common-translations';export default class rt extends _0x30d502{[_0x10f8('0x2')](){const _0x2fa510=this[_0x10f8('0x9')];if(!_0x2fa510['plugins']['has']('PageBreakEditing'))return;_0x2fa510[_0x10f8('0x1')][_0x10f8('0x6')](_0x10f8('0x7'))['enableCommand'](_0x10f8('0x3'));const _0x455143=_0x2fa510[_0x10f8('0x1')]['get']('TrackChangesEditing'),_0x4e7587=_0x2fa510[_0x10f8('0x4')];_0x455143[_0x10f8('0x0')][_0x10f8('0x5')]('pageBreak',_0x306fb9=>_0x19cb8f(_0x4e7587,_0x10f8('0x8'),_0x306fb9));}}
23
+ const _0x4b37=['PageBreakEditing','pageBreak','get','editor','plugins','afterInit','has','locale','enableCommand','TrackChangesEditing'];(function(_0x387145,_0x4b37ca){const _0x19add2=function(_0xa0ed8a){while(--_0xa0ed8a){_0x387145['push'](_0x387145['shift']());}};_0x19add2(++_0x4b37ca);}(_0x4b37,0x151));const _0x19ad=function(_0x387145,_0x4b37ca){_0x387145=_0x387145-0x0;let _0x19add2=_0x4b37[_0x387145];return _0x19add2;};import{Plugin as _0x418dd1}from'ckeditor5/src/core';import{getTranslation as _0x871e5f}from'../utils/common-translations';export default class ct extends _0x418dd1{[_0x19ad('0x8')](){const _0xe0353c=this[_0x19ad('0x6')];if(!_0xe0353c[_0x19ad('0x7')][_0x19ad('0x9')](_0x19ad('0x3')))return;_0xe0353c['plugins']['get'](_0x19ad('0x2'))[_0x19ad('0x1')](_0x19ad('0x4'));const _0x1645a2=_0xe0353c[_0x19ad('0x7')][_0x19ad('0x5')]('TrackChangesEditing'),_0x294786=_0xe0353c[_0x19ad('0x0')];_0x1645a2['_descriptionFactory']['registerElementLabel']('pageBreak',_0xb56393=>_0x871e5f(_0x294786,'ELEMENT_PAGE_BREAK',_0xb56393));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9281=['selection','highest','getFirstRange','parent','*Change\x20to:*\x20%0','insert','model','$text','markBlockFormat','document','TrackChangesEditing','nodeAfter','ck-suggestion-marker--active','enableCommand','insertParagraph','writer','registerElementLabel','type','start','toViewPosition','has','change','markerName','filter','from','end','paragraph','bindElementToMarker','getSelectedBlocks','ELEMENT_PARAGRAPH','name','isObject','editing','schema','editor','ck-suggestion-marker-split','insertion','_descriptionFactory','consume','isBlock','getItemLabel','checkChild','get','isLimit','isTouching','showSuggestionHighlights','locale','commandName','markerRange','afterInit','format','plugins','registerDescriptionCallback','downcastDispatcher'];(function(_0x54bb81,_0x9281f0){const _0x4771bf=function(_0x2cccd5){while(--_0x2cccd5){_0x54bb81['push'](_0x54bb81['shift']());}};_0x4771bf(++_0x9281f0);}(_0x9281,0x1c8));const _0x4771=function(_0x54bb81,_0x9281f0){_0x54bb81=_0x54bb81-0x0;let _0x4771bf=_0x9281[_0x54bb81];return _0x4771bf;};import{Plugin as _0x3ddac3}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x40947d}from'./utils';import{getTranslation as _0x54ef40}from'../utils/common-translations';export default class at extends _0x3ddac3{[_0x4771('0x19')](){const _0x4696ed=this[_0x4771('0xa')];if(!_0x4696ed[_0x4771('0x1b')][_0x4771('0x32')]('Paragraph'))return;const _0x3d1967=_0x4696ed[_0x4771('0x16')],_0x4394b4=_0x4696ed[_0x4771('0x1b')][_0x4771('0x12')](_0x4771('0x28'));_0x4394b4['_descriptionFactory'][_0x4771('0x2e')]('paragraph',_0x56d1c8=>_0x54ef40(_0x3d1967,_0x4771('0x5'),_0x56d1c8)),_0x4394b4[_0x4771('0x2b')]('paragraph',(_0x71c7d0,_0xc64c14={})=>{const _0x2d94a8=_0x4696ed[_0x4771('0x24')][_0x4771('0x27')],_0x54777a=_0xc64c14[_0x4771('0x1e')]||_0x2d94a8[_0x4771('0x1e')],_0x4b0249=Array[_0x4771('0x0')](_0x54777a[_0x4771('0x4')]())[_0x4771('0x35')](_0x4e91bf=>function(_0x556b91,_0x469f69){return _0x469f69[_0x4771('0x11')](_0x556b91[_0x4771('0x21')],_0x4771('0x2'))&&!_0x469f69[_0x4771('0x7')](_0x556b91)&&'paragraph'!=_0x556b91['name'];}(_0x4e91bf,this[_0x4771('0xa')][_0x4771('0x24')]['schema']));_0x4696ed['model'][_0x4771('0x33')](()=>{for(const _0x2cbfc7 of _0x4b0249)_0x4394b4[_0x4771('0x26')](_0x2cbfc7,{'commandName':_0x4771('0x2'),'commandParams':[],'formatGroupId':'blockName'},_0x40947d(_0x2cbfc7));});}),_0x4394b4[_0x4771('0xd')][_0x4771('0x1c')](_0x56b579=>{const {data:_0x432b5d}=_0x56b579;if(_0x432b5d&&'paragraph'==_0x432b5d[_0x4771('0x17')])return{'type':_0x4771('0x1a'),'content':_0x54ef40(_0x3d1967,_0x4771('0x22'),_0x54ef40(_0x3d1967,_0x4771('0x5')))};}),_0x4394b4['enableCommand'](_0x4771('0x2c')),_0x4696ed[_0x4771('0x8')][_0x4771('0x1d')]['on']('addMarker:suggestion:insertion',tr(_0x4696ed),{'priority':'highest'}),_0x4696ed['data'][_0x4771('0x1d')]['on']('addMarker:suggestion:insertion',(_0x162234,_0x45ef10,_0x479c8d)=>{_0x479c8d['options'][_0x4771('0x15')]&&tr(_0x4696ed,{'showActiveMarker':!0x1})(_0x162234,_0x45ef10,_0x479c8d);},{'priority':_0x4771('0x1f')});const _0x937555=_0x4394b4[_0x4771('0xd')];_0x937555['registerDescriptionCallback'](_0x21906f=>{if(_0x4771('0xc')!==_0x21906f[_0x4771('0x2f')])return;const {start:_0x2d2741,end:_0x3860f7}=_0x21906f[_0x4771('0x20')]();if(!_0x2d2741['isTouching'](_0x3860f7)||!_0x2d2741['nodeAfter'])return;const _0x25f8b6=_0x4696ed[_0x4771('0x24')]['schema'],_0x58c5af=_0x2d2741['nodeAfter'];return _0x25f8b6[_0x4771('0xf')](_0x58c5af)&&!_0x25f8b6[_0x4771('0x13')](_0x58c5af)&&_0x25f8b6[_0x4771('0x11')](_0x58c5af,'$text')?{'type':_0x4771('0xc'),'content':_0x54ef40(_0x3d1967,'*Insert:*\x20%0',_0x937555[_0x4771('0x10')](_0x58c5af,0x1))}:void 0x0;});}}function tr(_0x5dbc0e,{showActiveMarker:_0x477636=!0x0}={}){return(_0x34ee15,_0x49a323,_0x485cdf)=>{const _0x4c7b72=_0x5dbc0e[_0x4771('0x1b')][_0x4771('0x12')](_0x4771('0x28')),_0x3c9f1d=_0x49a323[_0x4771('0x18')][_0x4771('0x30')],_0x4966de=_0x49a323[_0x4771('0x18')][_0x4771('0x1')],_0x31a7cd=_0x5dbc0e[_0x4771('0x24')][_0x4771('0x9')];if(!_0x3c9f1d[_0x4771('0x14')](_0x4966de)||!_0x3c9f1d[_0x4771('0x29')])return;const _0x1bbaaf=_0x3c9f1d[_0x4771('0x29')];if(_0x31a7cd[_0x4771('0xf')](_0x1bbaaf)&&!_0x31a7cd['isLimit'](_0x1bbaaf)&&_0x31a7cd[_0x4771('0x11')](_0x1bbaaf,_0x4771('0x25'))){if(!_0x485cdf['consumable'][_0x4771('0xe')](_0x49a323[_0x4771('0x18')],_0x34ee15[_0x4771('0x6')]))return;const _0x176921=_0x485cdf[_0x4771('0x2d')]['createUIElement']('span',{'class':_0x4771('0xb')}),_0x3fd7f0=_0x485cdf['mapper'][_0x4771('0x31')](_0x4966de);_0x477636&&_0x4c7b72['activeMarkers']['includes'](_0x49a323[_0x4771('0x34')])&&_0x485cdf[_0x4771('0x2d')]['addClass'](_0x4771('0x2a'),_0x176921),_0x485cdf[_0x4771('0x2d')][_0x4771('0x23')](_0x3fd7f0,_0x176921),_0x485cdf['mapper'][_0x4771('0x3')](_0x176921,_0x49a323['markerName']);}};}
23
+ const _0x3b6b=['start','activeMarkers','$text','markerName','paragraph','mapper','downcastDispatcher','insert','isTouching','consumable','from','type','has','enableCommand','*Change\x20to:*\x20%0','bindElementToMarker','toViewPosition','*Insert:*\x20%0','writer','isObject','markBlockFormat','locale','commandName','TrackChangesEditing','markerRange','highest','nodeAfter','parent','editor','getSelectedBlocks','span','createUIElement','data','getFirstRange','schema','addMarker:suggestion:insertion','isLimit','plugins','insertion','filter','registerDescriptionCallback','showSuggestionHighlights','registerElementLabel','Paragraph','checkChild','end','selection','blockName','editing','get','isBlock','change','format','insertParagraph','document','_descriptionFactory','model','afterInit','ELEMENT_PARAGRAPH'];(function(_0x44d7dd,_0x3b6b0c){const _0x4a4042=function(_0x4ed941){while(--_0x4ed941){_0x44d7dd['push'](_0x44d7dd['shift']());}};_0x4a4042(++_0x3b6b0c);}(_0x3b6b,0x185));const _0x4a40=function(_0x44d7dd,_0x3b6b0c){_0x44d7dd=_0x44d7dd-0x0;let _0x4a4042=_0x3b6b[_0x44d7dd];return _0x4a4042;};import{Plugin as _0x6989f2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x18e6ee}from'./utils';import{getTranslation as _0x270015}from'../utils/common-translations';export default class ht extends _0x6989f2{[_0x4a40('0x16')](){const _0x454dfc=this[_0x4a40('0x34')];if(!_0x454dfc[_0x4a40('0x2')][_0x4a40('0x24')](_0x4a40('0x8')))return;const _0x1684c6=_0x454dfc[_0x4a40('0x2d')],_0x48f30a=_0x454dfc['plugins'][_0x4a40('0xe')](_0x4a40('0x2f'));_0x48f30a[_0x4a40('0x14')][_0x4a40('0x7')](_0x4a40('0x1c'),_0x2f4043=>_0x270015(_0x1684c6,_0x4a40('0x17'),_0x2f4043)),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x1c'),(_0x456d0e,_0x229568={})=>{const _0x5b0b63=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x13')],_0x5996b3=_0x229568['selection']||_0x5b0b63[_0x4a40('0xb')],_0xdb0db9=Array[_0x4a40('0x22')](_0x5996b3[_0x4a40('0x35')]())[_0x4a40('0x4')](_0x35f839=>function(_0x2b0285,_0xf24dfd){return _0xf24dfd[_0x4a40('0x9')](_0x2b0285[_0x4a40('0x33')],_0x4a40('0x1c'))&&!_0xf24dfd[_0x4a40('0x2b')](_0x2b0285)&&_0x4a40('0x1c')!=_0x2b0285['name'];}(_0x35f839,this['editor'][_0x4a40('0x15')][_0x4a40('0x3a')]));_0x454dfc[_0x4a40('0x15')][_0x4a40('0x10')](()=>{for(const _0x4cd4fb of _0xdb0db9)_0x48f30a[_0x4a40('0x2c')](_0x4cd4fb,{'commandName':_0x4a40('0x1c'),'commandParams':[],'formatGroupId':_0x4a40('0xc')},_0x18e6ee(_0x4cd4fb));});}),_0x48f30a[_0x4a40('0x14')][_0x4a40('0x5')](_0x41d75e=>{const {data:_0x751922}=_0x41d75e;if(_0x751922&&_0x4a40('0x1c')==_0x751922[_0x4a40('0x2e')])return{'type':_0x4a40('0x11'),'content':_0x270015(_0x1684c6,_0x4a40('0x26'),_0x270015(_0x1684c6,_0x4a40('0x17')))};}),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x12')),_0x454dfc[_0x4a40('0xd')][_0x4a40('0x1e')]['on'](_0x4a40('0x0'),ar(_0x454dfc),{'priority':_0x4a40('0x31')}),_0x454dfc[_0x4a40('0x38')]['downcastDispatcher']['on'](_0x4a40('0x0'),(_0x126606,_0x56bb43,_0x5a154d)=>{_0x5a154d['options'][_0x4a40('0x6')]&&ar(_0x454dfc,{'showActiveMarker':!0x1})(_0x126606,_0x56bb43,_0x5a154d);},{'priority':_0x4a40('0x31')});const _0x3dd090=_0x48f30a[_0x4a40('0x14')];_0x3dd090[_0x4a40('0x5')](_0x450f09=>{if(_0x4a40('0x3')!==_0x450f09[_0x4a40('0x23')])return;const {start:_0x4651b0,end:_0x2023c6}=_0x450f09[_0x4a40('0x39')]();if(!_0x4651b0[_0x4a40('0x20')](_0x2023c6)||!_0x4651b0['nodeAfter'])return;const _0x4ff56c=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x3a')],_0x1d8ffa=_0x4651b0[_0x4a40('0x32')];return _0x4ff56c[_0x4a40('0xf')](_0x1d8ffa)&&!_0x4ff56c[_0x4a40('0x1')](_0x1d8ffa)&&_0x4ff56c[_0x4a40('0x9')](_0x1d8ffa,_0x4a40('0x1a'))?{'type':_0x4a40('0x3'),'content':_0x270015(_0x1684c6,_0x4a40('0x29'),_0x3dd090['getItemLabel'](_0x1d8ffa,0x1))}:void 0x0;});}}function ar(_0x220680,{showActiveMarker:_0x2b4a96=!0x0}={}){return(_0x5786e1,_0x4083a3,_0x42d814)=>{const _0x24b54c=_0x220680[_0x4a40('0x2')][_0x4a40('0xe')]('TrackChangesEditing'),_0xf54f1d=_0x4083a3[_0x4a40('0x30')][_0x4a40('0x18')],_0x3485f5=_0x4083a3['markerRange'][_0x4a40('0xa')],_0x33609a=_0x220680[_0x4a40('0x15')][_0x4a40('0x3a')];if(!_0xf54f1d['isTouching'](_0x3485f5)||!_0xf54f1d[_0x4a40('0x32')])return;const _0x4086d0=_0xf54f1d['nodeAfter'];if(_0x33609a['isBlock'](_0x4086d0)&&!_0x33609a[_0x4a40('0x1')](_0x4086d0)&&_0x33609a[_0x4a40('0x9')](_0x4086d0,_0x4a40('0x1a'))){if(!_0x42d814[_0x4a40('0x21')]['consume'](_0x4083a3[_0x4a40('0x30')],_0x5786e1['name']))return;const _0x2cd14f=_0x42d814[_0x4a40('0x2a')][_0x4a40('0x37')](_0x4a40('0x36'),{'class':'ck-suggestion-marker-split'}),_0x15cf20=_0x42d814[_0x4a40('0x1d')][_0x4a40('0x28')](_0x3485f5);_0x2b4a96&&_0x24b54c[_0x4a40('0x19')]['includes'](_0x4083a3['markerName'])&&_0x42d814[_0x4a40('0x2a')]['addClass']('ck-suggestion-marker--active',_0x2cd14f),_0x42d814['writer'][_0x4a40('0x1f')](_0x15cf20,_0x2cd14f),_0x42d814[_0x4a40('0x1d')][_0x4a40('0x27')](_0x2cd14f,_0x4083a3[_0x4a40('0x1b')]);}};}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x424d=['createRangeOn','get','commandName','format','editor','document','getRanges','markInlineFormat','getItems','getAttributes','selection','_descriptionFactory','removeFormat','registerDescriptionCallback','schema','model','locale','getAttributeProperties','plugins','enableCommand','has','afterInit'];(function(_0xee26f7,_0x424d35){const _0x2f55fc=function(_0x1f2372){while(--_0x1f2372){_0xee26f7['push'](_0xee26f7['shift']());}};_0x2f55fc(++_0x424d35);}(_0x424d,0xa2));const _0x2f55=function(_0xee26f7,_0x424d35){_0xee26f7=_0xee26f7-0x0;let _0x2f55fc=_0x424d[_0xee26f7];return _0x2f55fc;};import{Plugin as _0x49f8c9}from'ckeditor5/src/core';import{getTranslation as _0x1952fb}from'../utils/common-translations';export default class ct extends _0x49f8c9{[_0x2f55('0xd')](){const _0x119b7e=this[_0x2f55('0x12')];if(!_0x119b7e['plugins'][_0x2f55('0xc')]('RemoveFormatEditing'))return;const _0x5bcbb2=_0x119b7e[_0x2f55('0xa')][_0x2f55('0xf')]('TrackChangesEditing');_0x5bcbb2[_0x2f55('0xb')](_0x2f55('0x4'),_0x5ebf6f=>{const _0x17143c=_0x119b7e['model'][_0x2f55('0x13')][_0x2f55('0x2')];_0x17143c['isCollapsed']?_0x5ebf6f():_0x119b7e[_0x2f55('0x7')]['change'](()=>{const _0x1060eb=Array['from'](_0x17143c[_0x2f55('0x14')]());for(const _0x247914 of _0x1060eb)for(const _0x47be3e of _0x247914[_0x2f55('0x0')]())to(_0x47be3e,_0x119b7e[_0x2f55('0x7')][_0x2f55('0x6')])&&_0x5bcbb2[_0x2f55('0x15')](_0x119b7e[_0x2f55('0x7')][_0x2f55('0xe')](_0x47be3e),{'commandName':_0x2f55('0x4'),'commandParams':[]});});}),_0x5bcbb2[_0x2f55('0x3')][_0x2f55('0x5')](_0x55d10d=>{const {data:_0x82105b}=_0x55d10d;if(_0x82105b&&'removeFormat'==_0x82105b[_0x2f55('0x10')])return{'type':_0x2f55('0x11'),'content':_0x1952fb(_0x119b7e[_0x2f55('0x8')],'*Remove\x20all\x20formatting*')};});}}function to(_0x3b7a0d,_0x12b47c){for(const [_0x103fda]of _0x3b7a0d[_0x2f55('0x1')]()){const _0x483c09=_0x12b47c[_0x2f55('0x9')](_0x103fda);if(_0x483c09&&_0x483c09['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x4d62=['getAttributes','getAttributeProperties','isFormatting','RemoveFormatEditing','plugins','get','change','from','registerDescriptionCallback','document','_descriptionFactory','model','commandName','isCollapsed','enableCommand','format','removeFormat','*Remove\x20all\x20formatting*'];(function(_0x15051b,_0x4d6246){const _0x3eccf5=function(_0x337cb8){while(--_0x337cb8){_0x15051b['push'](_0x15051b['shift']());}};_0x3eccf5(++_0x4d6246);}(_0x4d62,0xbc));const _0x3ecc=function(_0x15051b,_0x4d6246){_0x15051b=_0x15051b-0x0;let _0x3eccf5=_0x4d62[_0x15051b];return _0x3eccf5;};import{Plugin as _0x30b2d0}from'ckeditor5/src/core';import{getTranslation as _0x38a5f6}from'../utils/common-translations';export default class ut extends _0x30b2d0{['afterInit'](){const _0x516fed=this['editor'];if(!_0x516fed[_0x3ecc('0xe')]['has'](_0x3ecc('0xd')))return;const _0x37025d=_0x516fed[_0x3ecc('0xe')][_0x3ecc('0xf')]('TrackChangesEditing');_0x37025d[_0x3ecc('0x6')](_0x3ecc('0x8'),_0x326e36=>{const _0x182bf8=_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x1')]['selection'];_0x182bf8[_0x3ecc('0x5')]?_0x326e36():_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x10')](()=>{const _0x3a1cea=Array[_0x3ecc('0x11')](_0x182bf8['getRanges']());for(const _0x5ca9ea of _0x3a1cea)for(const _0x597fd5 of _0x5ca9ea['getItems']())to(_0x597fd5,_0x516fed[_0x3ecc('0x3')]['schema'])&&_0x37025d['markInlineFormat'](_0x516fed[_0x3ecc('0x3')]['createRangeOn'](_0x597fd5),{'commandName':_0x3ecc('0x8'),'commandParams':[]});});}),_0x37025d[_0x3ecc('0x2')][_0x3ecc('0x0')](_0x3b0461=>{const {data:_0x512ad0}=_0x3b0461;if(_0x512ad0&&_0x3ecc('0x8')==_0x512ad0[_0x3ecc('0x4')])return{'type':_0x3ecc('0x7'),'content':_0x38a5f6(_0x516fed['locale'],_0x3ecc('0x9'))};});}}function to(_0x72f9a4,_0x5dd230){for(const [_0x585108]of _0x72f9a4[_0x3ecc('0xa')]()){const _0x42f894=_0x5dd230[_0x3ecc('0xb')](_0x585108);if(_0x42f894&&_0x42f894[_0x3ecc('0xc')])return!0x0;}return!0x1;}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5702=['enableCommand','TrackChangesEditing','afterInit','goToPreviousRestrictedEditingException','discardAllSuggestions','has','discardSelectedSuggestions','discardSuggestion','goToNextRestrictedEditingException','plugins','RestrictedEditingModeEditing','get'];(function(_0xe6428f,_0x570220){const _0x59f751=function(_0x20d440){while(--_0x20d440){_0xe6428f['push'](_0xe6428f['shift']());}};_0x59f751(++_0x570220);}(_0x5702,0xa0));const _0x59f7=function(_0xe6428f,_0x570220){_0xe6428f=_0xe6428f-0x0;let _0x59f751=_0x5702[_0xe6428f];return _0x59f751;};import{Plugin as _0x5e5b28}from'ckeditor5/src/core';export default class ht extends _0x5e5b28{[_0x59f7('0xa')](){const _0x144e83=this['editor'];if(!_0x144e83[_0x59f7('0x5')][_0x59f7('0x1')](_0x59f7('0x6')))return;const _0x148417=_0x144e83['plugins']['get'](_0x59f7('0x9'));_0x148417[_0x59f7('0x8')](_0x59f7('0xb')),_0x148417[_0x59f7('0x8')](_0x59f7('0x4'));const _0xd825f5=_0x144e83[_0x59f7('0x5')][_0x59f7('0x7')](_0x59f7('0x6'));_0xd825f5[_0x59f7('0x8')]('trackChanges'),_0xd825f5[_0x59f7('0x8')]('acceptSuggestion'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x3')),_0xd825f5[_0x59f7('0x8')]('acceptAllSuggestions'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x0')),_0xd825f5[_0x59f7('0x8')]('acceptSelectedSuggestions'),_0xd825f5[_0x59f7('0x8')](_0x59f7('0x2'));}}
23
+ const _0x2e63=['discardSuggestion','trackChanges','has','acceptAllSuggestions','editor','afterInit','goToNextRestrictedEditingException','get','discardSelectedSuggestions','TrackChangesEditing','enableCommand','plugins','RestrictedEditingModeEditing','acceptSelectedSuggestions'];(function(_0x100727,_0x2e63e4){const _0x1fe937=function(_0x2dd060){while(--_0x2dd060){_0x100727['push'](_0x100727['shift']());}};_0x1fe937(++_0x2e63e4);}(_0x2e63,0xa7));const _0x1fe9=function(_0x100727,_0x2e63e4){_0x100727=_0x100727-0x0;let _0x1fe937=_0x2e63[_0x100727];return _0x1fe937;};import{Plugin as _0x2b45a8}from'ckeditor5/src/core';export default class ft extends _0x2b45a8{[_0x1fe9('0x6')](){const _0x18c6a7=this[_0x1fe9('0x5')];if(!_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x3')](_0x1fe9('0xd')))return;const _0x262f55=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xa'));_0x262f55[_0x1fe9('0xb')]('goToPreviousRestrictedEditingException'),_0x262f55['enableCommand'](_0x1fe9('0x7'));const _0x4e431b=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xd'));_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x2')),_0x4e431b[_0x1fe9('0xb')]('acceptSuggestion'),_0x4e431b['enableCommand'](_0x1fe9('0x1')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x4')),_0x4e431b[_0x1fe9('0xb')]('discardAllSuggestions'),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x0')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x9'));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31b2=['editing','high','insert','markerRange','ck-suggestion-marker--active','model','editor','toViewPosition','addClass','addMarker:suggestion:deletion','registerElementLabel','addMarker:suggestion:insertion','enableCommand','shiftEnter','createPositionBefore','element','mapper','requires','markerName','get','downcastDispatcher','TrackChangesEditing','getItems','addMarker:suggestion','writer','softBreak','locale','test','split','merge','deletion','span','showSuggestionHighlights','init','consumable','bindElementToMarker','includes','ELEMENT_LINE_BREAK'];(function(_0xa00179,_0x31b221){const _0x141cee=function(_0x373b60){while(--_0x373b60){_0xa00179['push'](_0xa00179['shift']());}};_0x141cee(++_0x31b221);}(_0x31b2,0x8e));const _0x141c=function(_0xa00179,_0x31b221){_0xa00179=_0xa00179-0x0;let _0x141cee=_0x31b2[_0xa00179];return _0x141cee;};import{Plugin as _0x542ffc}from'ckeditor5/src/core';import{ShiftEnter as _0x96e312}from'ckeditor5/src/enter';import{getTranslation as _0x242917}from'../utils/common-translations';export default class ut extends _0x542ffc{static get[_0x141c('0x1b')](){return[_0x96e312];}[_0x141c('0x5')](){const _0x56ed46=this[_0x141c('0x10')],_0x5610a3=_0x56ed46['plugins'][_0x141c('0x1d')](_0x141c('0x1f'));_0x5610a3[_0x141c('0x16')](_0x141c('0x17')),_0x56ed46[_0x141c('0xa')][_0x141c('0x1e')]['on'](_0x141c('0x15'),re(_0x56ed46),{'priority':_0x141c('0xb')}),_0x56ed46[_0x141c('0xa')][_0x141c('0x1e')]['on'](_0x141c('0x13'),re(_0x56ed46),{'priority':_0x141c('0xb')}),_0x56ed46['data'][_0x141c('0x1e')]['on'](_0x141c('0x21'),(_0x570f74,_0x21273d,_0x555944)=>{_0x555944['options'][_0x141c('0x4')]&&re(_0x56ed46,{'showActiveMarker':!0x1})(_0x570f74,_0x21273d,_0x555944);}),_0x5610a3['_descriptionFactory'][_0x141c('0x14')](_0x141c('0x23'),_0x2179a1=>_0x242917(_0x56ed46[_0x141c('0x24')],_0x141c('0x9'),_0x2179a1));}}function re(_0xbbd5af,{showActiveMarker:_0x53ef9f=!0x0}={}){return(_0x427fa9,_0x2afa7f,_0x2daa39)=>{const _0x5cfd8b=_0xbbd5af['plugins'][_0x141c('0x1d')](_0x141c('0x1f'));if(!_0x2daa39[_0x141c('0x6')][_0x141c('0x25')](_0x2afa7f['markerRange'],_0x427fa9['name']))return;const _0x84a606=_0xbbd5af[_0x141c('0xf')];for(const _0x4e6992 of _0x2afa7f[_0x141c('0xd')][_0x141c('0x20')]()){if(!_0x4e6992['is'](_0x141c('0x19'),'softBreak'))continue;const _0x24414a=_0x141c('0x2')==_0x2afa7f[_0x141c('0x1c')]['split'](':')[0x1]?_0x141c('0x1'):_0x141c('0x0'),_0xe04089=_0x2daa39[_0x141c('0x22')]['createUIElement'](_0x141c('0x3'),{'class':'ck-suggestion-marker-'+_0x24414a}),_0x38cc4e=_0x2daa39[_0x141c('0x1a')][_0x141c('0x11')](_0x84a606[_0x141c('0x18')](_0x4e6992));_0x53ef9f&&_0x5cfd8b['activeMarkers'][_0x141c('0x8')](_0x2afa7f['markerName'])&&_0x2daa39[_0x141c('0x22')][_0x141c('0x12')](_0x141c('0xe'),_0xe04089),_0x2daa39['writer'][_0x141c('0xc')](_0x38cc4e,_0xe04089),_0x2daa39[_0x141c('0x1a')][_0x141c('0x7')](_0xe04089,_0x2afa7f['markerName']);}};}
23
+ const _0x336f=['showSuggestionHighlights','merge','insert','activeMarkers','split','TrackChangesEditing','addMarker:suggestion','span','addMarker:suggestion:deletion','ck-suggestion-marker--active','mapper','enableCommand','high','markerRange','_descriptionFactory','options','init','element','get','requires','data','createUIElement','ELEMENT_LINE_BREAK','downcastDispatcher','deletion','writer','softBreak','registerElementLabel','ck-suggestion-marker-','plugins','locale','markerName','bindElementToMarker','editing'];(function(_0xe79977,_0x336fed){const _0x245c59=function(_0x12913c){while(--_0x12913c){_0xe79977['push'](_0xe79977['shift']());}};_0x245c59(++_0x336fed);}(_0x336f,0xa0));const _0x245c=function(_0xe79977,_0x336fed){_0xe79977=_0xe79977-0x0;let _0x245c59=_0x336f[_0xe79977];return _0x245c59;};import{Plugin as _0x253c2f}from'ckeditor5/src/core';import{ShiftEnter as _0x1dd70b}from'ckeditor5/src/enter';import{getTranslation as _0x39c855}from'../utils/common-translations';export default class gt extends _0x253c2f{static get[_0x245c('0x1d')](){return[_0x1dd70b];}[_0x245c('0x1a')](){const _0x2b054e=this['editor'],_0x26d1dd=_0x2b054e[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));_0x26d1dd[_0x245c('0x15')]('shiftEnter'),_0x2b054e['editing'][_0x245c('0x21')]['on']('addMarker:suggestion:insertion',re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x9')][_0x245c('0x21')]['on'](_0x245c('0x12'),re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x1e')][_0x245c('0x21')]['on'](_0x245c('0x10'),(_0x2186f8,_0x54ca18,_0xfc26a2)=>{_0xfc26a2[_0x245c('0x19')][_0x245c('0xa')]&&re(_0x2b054e,{'showActiveMarker':!0x1})(_0x2186f8,_0x54ca18,_0xfc26a2);}),_0x26d1dd[_0x245c('0x18')][_0x245c('0x3')](_0x245c('0x2'),_0x2d1382=>_0x39c855(_0x2b054e[_0x245c('0x6')],_0x245c('0x20'),_0x2d1382));}}function re(_0x4dbb5c,{showActiveMarker:_0x1b88fd=!0x0}={}){return(_0x42d9ab,_0x2fee9d,_0xf02a28)=>{const _0x4d4012=_0x4dbb5c[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));if(!_0xf02a28['consumable']['test'](_0x2fee9d['markerRange'],_0x42d9ab['name']))return;const _0xd67662=_0x4dbb5c['model'];for(const _0x19c872 of _0x2fee9d[_0x245c('0x17')]['getItems']()){if(!_0x19c872['is'](_0x245c('0x1b'),'softBreak'))continue;const _0x53e423=_0x245c('0x0')==_0x2fee9d[_0x245c('0x7')][_0x245c('0xe')](':')[0x1]?_0x245c('0xb'):_0x245c('0xe'),_0x1c6239=_0xf02a28[_0x245c('0x1')][_0x245c('0x1f')](_0x245c('0x11'),{'class':_0x245c('0x4')+_0x53e423}),_0x120c10=_0xf02a28[_0x245c('0x14')]['toViewPosition'](_0xd67662['createPositionBefore'](_0x19c872));_0x1b88fd&&_0x4d4012[_0x245c('0xd')]['includes'](_0x2fee9d[_0x245c('0x7')])&&_0xf02a28[_0x245c('0x1')]['addClass'](_0x245c('0x13'),_0x1c6239),_0xf02a28[_0x245c('0x1')][_0x245c('0xc')](_0x120c10,_0x1c6239),_0xf02a28[_0x245c('0x14')][_0x245c('0x8')](_0x1c6239,_0x2fee9d[_0x245c('0x7')]);}};}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcc1b=['isCollapsed','get','getRanges','_descriptionFactory','markInlineFormat','TrackChangesEditing','registerDescriptionCallback','commandName','format','FORMAT_RESTRICTED_ENABLED','forceValue','enableCommand','change','plugins','model','value','StandardEditingModeEditing','from'];(function(_0x58184e,_0xcc1b8d){const _0x4c8af6=function(_0x35bf27){while(--_0x35bf27){_0x58184e['push'](_0x58184e['shift']());}};_0x4c8af6(++_0xcc1b8d);}(_0xcc1b,0x1d6));const _0x4c8a=function(_0x58184e,_0xcc1b8d){_0x58184e=_0x58184e-0x0;let _0x4c8af6=_0xcc1b[_0x58184e];return _0x4c8af6;};import{Plugin as _0x101a2a}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xadfdcf}from'./utils';import{getTranslation as _0x504ce6}from'../utils/common-translations';export default class ft extends _0x101a2a{['afterInit'](){const _0x3d6b1e=this['editor'],_0x916b84=_0x3d6b1e[_0x4c8a('0xc')],_0x32d7ee=_0x3d6b1e['locale'];if(!_0x3d6b1e['plugins']['has'](_0x4c8a('0xe')))return;const _0x1f972a=_0x3d6b1e[_0x4c8a('0xb')][_0x4c8a('0x11')](_0x4c8a('0x3')),_0x523b46='restrictedEditingException',_0xf6f10b=_0x3d6b1e['commands'][_0x4c8a('0x11')](_0x523b46);_0x1f972a[_0x4c8a('0x9')](_0x523b46,(_0x2a8940,_0x2b6edc={})=>{const _0x3480b1=_0x916b84['document']['selection'];if(_0x3480b1[_0x4c8a('0x10')])return void _0x2a8940(_0x2b6edc);const _0x3323ca=void 0x0!==_0x2b6edc[_0x4c8a('0x8')]?_0x2b6edc[_0x4c8a('0x8')]:!_0xf6f10b[_0x4c8a('0xd')];_0x916b84[_0x4c8a('0xa')](()=>{const _0x568612=Array[_0x4c8a('0xf')](_0x3480b1[_0x4c8a('0x0')]());for(const _0x55ca32 of _0x568612){const _0x1a0287=_0x3323ca?[_0x55ca32]:_0xadfdcf(_0x523b46,_0x55ca32,_0x916b84);for(const _0x411d7f of _0x1a0287)_0x1f972a[_0x4c8a('0x2')](_0x411d7f,{'commandName':_0x523b46,'commandParams':[{'forceValue':_0x3323ca}]});}});}),_0x1f972a[_0x4c8a('0x1')][_0x4c8a('0x4')](_0x5d3a5f=>{const {data:_0x443c5f}=_0x5d3a5f;if(_0x443c5f&&_0x443c5f[_0x4c8a('0x5')]==_0x523b46)return _0x443c5f['commandParams'][0x0][_0x4c8a('0x8')]?{'type':_0x4c8a('0x6'),'content':_0x504ce6(_0x32d7ee,_0x4c8a('0x7'))}:{'type':'format','content':_0x504ce6(_0x32d7ee,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x936f=['commandParams','has','_descriptionFactory','format','value','commandName','from','FORMAT_RESTRICTED_ENABLED','locale','getRanges','markInlineFormat','commands','forceValue','StandardEditingModeEditing','registerDescriptionCallback','isCollapsed','get','model','enableCommand','document','plugins','restrictedEditingException'];(function(_0x503eb2,_0x936fc){const _0x33012f=function(_0x40edba){while(--_0x40edba){_0x503eb2['push'](_0x503eb2['shift']());}};_0x33012f(++_0x936fc);}(_0x936f,0x1b5));const _0x3301=function(_0x503eb2,_0x936fc){_0x503eb2=_0x503eb2-0x0;let _0x33012f=_0x936f[_0x503eb2];return _0x33012f;};import{Plugin as _0x5020a6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x44fda8}from'./utils';import{getTranslation as _0x1b4ae4}from'../utils/common-translations';export default class lt extends _0x5020a6{['afterInit'](){const _0x4f3ca0=this['editor'],_0x5d9425=_0x4f3ca0[_0x3301('0x14')],_0xe69717=_0x4f3ca0[_0x3301('0xb')];if(!_0x4f3ca0[_0x3301('0x1')][_0x3301('0x4')](_0x3301('0x10')))return;const _0x26dfd3=_0x4f3ca0[_0x3301('0x1')][_0x3301('0x13')]('TrackChangesEditing'),_0x500233=_0x3301('0x2'),_0x13860e=_0x4f3ca0[_0x3301('0xe')][_0x3301('0x13')](_0x500233);_0x26dfd3[_0x3301('0x15')](_0x500233,(_0x5e57de,_0x3757d6={})=>{const _0x5bfa16=_0x5d9425[_0x3301('0x0')]['selection'];if(_0x5bfa16[_0x3301('0x12')])return void _0x5e57de(_0x3757d6);const _0x106198=void 0x0!==_0x3757d6[_0x3301('0xf')]?_0x3757d6[_0x3301('0xf')]:!_0x13860e[_0x3301('0x7')];_0x5d9425['change'](()=>{const _0x428e16=Array[_0x3301('0x9')](_0x5bfa16[_0x3301('0xc')]());for(const _0x2a76a6 of _0x428e16){const _0x5d7e5e=_0x106198?[_0x2a76a6]:_0x44fda8(_0x500233,_0x2a76a6,_0x5d9425);for(const _0x342c04 of _0x5d7e5e)_0x26dfd3[_0x3301('0xd')](_0x342c04,{'commandName':_0x500233,'commandParams':[{'forceValue':_0x106198}]});}});}),_0x26dfd3[_0x3301('0x5')][_0x3301('0x11')](_0x159801=>{const {data:_0x28a506}=_0x159801;if(_0x28a506&&_0x28a506[_0x3301('0x8')]==_0x500233)return _0x28a506[_0x3301('0x3')][0x0]['forceValue']?{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,_0x3301('0xa'))}:{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,'FORMAT_RESTRICTED_DISABLED')};});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x376b=['config','*Remove\x20format:*\x20%0','forceValue','getRangesWithClasses','classes','block','modelElements','commandName','style.definitions','includes','createRangeOn','enableCommand','isCollapsed','getRanges','find','from','inline','styleName','format','plugins','TrackChangesEditing','style:','_descriptionFactory','registerDescriptionCallback','style','document','markInlineFormat','getItems','*Format:*\x20%0','selection','name','getAncestors','isBlock','get','Style','markBlockFormat','afterInit','toLowerCase','value','change','element','commandParams','push','model','enabledStyles','getStyleDefinition','commands'];(function(_0x263c83,_0x376bad){const _0x2017b9=function(_0x41ef93){while(--_0x41ef93){_0x263c83['push'](_0x263c83['shift']());}};_0x2017b9(++_0x376bad);}(_0x376b,0x104));const _0x2017=function(_0x263c83,_0x376bad){_0x263c83=_0x263c83-0x0;let _0x2017b9=_0x376b[_0x263c83];return _0x2017b9;};import{Plugin as _0x162f23}from'ckeditor5/src/core';import{normalizeConfig as _0x21dbdc}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x319111}from'../utils/common-translations';export default class gt extends _0x162f23{[_0x2017('0xb')](){const _0x5b8f30=this['editor'];if(!_0x5b8f30[_0x2017('0x29')]['has'](_0x2017('0x9')))return;const _0x2f2a07=_0x5b8f30[_0x2017('0x15')][_0x2017('0x8')](_0x2017('0x2e')),_0x17378b=_0x5b8f30['plugins'][_0x2017('0x8')](_0x2017('0x2a')),_0x5ce19c=_0x5b8f30['locale'],_0xe33746=_0x5b8f30[_0x2017('0x29')]['get']('DataSchema'),_0x4bf06c=_0x21dbdc(_0xe33746,_0x5b8f30[_0x2017('0x16')][_0x2017('0x8')](_0x2017('0x1e')));_0x17378b[_0x2017('0x21')](_0x2017('0x2e'),(_0x226375,{styleName:_0x5bbac1})=>{const _0x141791=_0x5b8f30['model'][_0x2017('0x0')][_0x2017('0x4')],_0xb886fb=this[_0x2017('0x14')](_0x5bbac1,_0x4bf06c);if(!_0xb886fb)return;if(!_0x2f2a07[_0x2017('0x13')][_0x2017('0x1f')](_0x5bbac1))return;if(_0x141791[_0x2017('0x22')]&&!_0xb886fb[_0x2017('0x7')])return void _0x226375({'styleName':_0x5bbac1});const _0x4ad09=!_0x2f2a07[_0x2017('0xd')][_0x2017('0x1f')](_0xb886fb['name']);if(_0xb886fb[_0x2017('0x7')]){const _0x34a407=function(_0x2c819d,_0x531f8e){const _0x140982=new Set();for(const _0x17d203 of _0x2c819d){const _0x25d2d5=_0x17d203[_0x2017('0x6')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x2ee90f of _0x25d2d5)if(_0x531f8e['includes'](_0x2ee90f['name'])){_0x140982['add'](_0x2ee90f);break;}}return _0x140982;}(_0x141791['getSelectedBlocks'](),_0xb886fb[_0x2017('0x1c')]);_0x5b8f30['model'][_0x2017('0xe')](()=>{for(const _0x4a3050 of _0x34a407)_0x17378b[_0x2017('0xa')](_0x4a3050,{'commandName':_0x2017('0x2e'),'commandParams':[{'styleName':_0x5bbac1,'forceValue':_0x4ad09}],'formatGroupId':_0x2017('0x2b')+_0x5bbac1});});}else{let _0x59cdf5=Array[_0x2017('0x25')](_0x141791[_0x2017('0x23')]());if(!_0x4ad09){const _0x3cb783=Array[_0x2017('0x25')](_0xe33746['getDefinitionsForView'](_0xb886fb[_0x2017('0xf')],!0x1))[0x0]['model'],_0x41b1c6=[];for(const _0x541b47 of _0x59cdf5){const _0x4dfe62=this[_0x2017('0x19')](_0x5b8f30[_0x2017('0x12')],_0x541b47,_0xb886fb[_0x2017('0x1a')],_0x3cb783);_0x41b1c6[_0x2017('0x11')](..._0x4dfe62);}_0x59cdf5=_0x41b1c6;}_0x5b8f30['model'][_0x2017('0xe')](()=>{for(const _0xefcb08 of _0x59cdf5)_0x17378b[_0x2017('0x1')](_0xefcb08,{'commandName':'style','commandParams':[{'styleName':_0x5bbac1,'forceValue':_0x4ad09}]});});}}),_0x17378b[_0x2017('0x2c')][_0x2017('0x2d')](_0x2427ed=>{const {data:_0x5ebcb4}=_0x2427ed;if(_0x5ebcb4&&_0x2017('0x2e')===_0x5ebcb4[_0x2017('0x1d')])return _0x5ebcb4['commandParams'][0x0][_0x2017('0x18')]?{'type':_0x2017('0x28'),'content':_0x319111(_0x5ce19c,_0x2017('0x3'),_0x5ebcb4[_0x2017('0x10')][0x0][_0x2017('0x27')][_0x2017('0xc')]())}:{'type':_0x2017('0x28'),'content':_0x319111(_0x5ce19c,_0x2017('0x17'),_0x5ebcb4[_0x2017('0x10')][0x0][_0x2017('0x27')][_0x2017('0xc')]())};});}['getStyleDefinition'](_0x1ae50d,_0x45bbb1){let _0x38fdc8=_0x45bbb1[_0x2017('0x1b')][_0x2017('0x24')](_0x25cfa4=>_0x25cfa4[_0x2017('0x5')]===_0x1ae50d);return _0x38fdc8||(_0x38fdc8=_0x45bbb1[_0x2017('0x26')]['find'](_0x382ab5=>_0x382ab5[_0x2017('0x5')]===_0x1ae50d)),_0x38fdc8;}['getRangesWithClasses'](_0x30ff05,_0x30fbb,_0xd8c3ac,_0x3458bd){const _0x3b2643=[];for(const _0x3a6644 of _0x30fbb[_0x2017('0x2')]()){const _0x4a1723=_0x3a6644['getAttribute'](_0x3458bd);_0x4a1723&&(_0xd8c3ac['every'](_0x1b4045=>_0x4a1723[_0x2017('0x1a')][_0x2017('0x1f')](_0x1b4045))&&_0x3b2643['push'](_0x30ff05[_0x2017('0x20')](_0x3a6644)));}return _0x3b2643;}}
23
+ const _0x1c9a=['enabledStyles','plugins','push','isCollapsed','commandName','getAncestors','block','includes','selection','element','getStyleDefinition','style','styleName','modelElements','change','*Format:*\x20%0','classes','TrackChangesEditing','value','every','add','createRangeOn','enableCommand','find','has','inline','name','markBlockFormat','get','locale','format','toLowerCase','getDefinitionsForView','getAttribute','commands','*Remove\x20format:*\x20%0','model','isBlock','document','getRangesWithClasses','afterInit','style.definitions','_descriptionFactory'];(function(_0x3e7482,_0x1c9aa4){const _0x4ccc7e=function(_0x3d05e7){while(--_0x3d05e7){_0x3e7482['push'](_0x3e7482['shift']());}};_0x4ccc7e(++_0x1c9aa4);}(_0x1c9a,0x16a));const _0x4ccc=function(_0x3e7482,_0x1c9aa4){_0x3e7482=_0x3e7482-0x0;let _0x4ccc7e=_0x1c9a[_0x3e7482];return _0x4ccc7e;};import{Plugin as _0x5e6c2e}from'ckeditor5/src/core';import{normalizeConfig as _0x5ee2d5}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x2e51a1}from'../utils/common-translations';export default class mt extends _0x5e6c2e{[_0x4ccc('0x16')](){const _0x4c527b=this['editor'];if(!_0x4c527b[_0x4ccc('0x1a')][_0x4ccc('0x6')]('Style'))return;const _0x469edb=_0x4c527b[_0x4ccc('0x10')][_0x4ccc('0xa')](_0x4ccc('0x24')),_0x299786=_0x4c527b[_0x4ccc('0x1a')]['get'](_0x4ccc('0x2a')),_0x2eecd8=_0x4c527b[_0x4ccc('0xb')],_0x4823c4=_0x4c527b['plugins'][_0x4ccc('0xa')]('DataSchema'),_0x1ee214=_0x5ee2d5(_0x4823c4,_0x4c527b['config'][_0x4ccc('0xa')](_0x4ccc('0x17')));_0x299786[_0x4ccc('0x4')](_0x4ccc('0x24'),(_0xb0c68c,{styleName:_0x3d13ad})=>{const _0x83b009=_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x14')][_0x4ccc('0x21')],_0x146414=this[_0x4ccc('0x23')](_0x3d13ad,_0x1ee214);if(!_0x146414)return;if(!_0x469edb[_0x4ccc('0x19')][_0x4ccc('0x20')](_0x3d13ad))return;if(_0x83b009[_0x4ccc('0x1c')]&&!_0x146414[_0x4ccc('0x13')])return void _0xb0c68c({'styleName':_0x3d13ad});const _0x269a60=!_0x469edb[_0x4ccc('0x0')][_0x4ccc('0x20')](_0x146414['name']);if(_0x146414[_0x4ccc('0x13')]){const _0x5690f8=function(_0x177309,_0x48ab59){const _0x43b29b=new Set();for(const _0x45bb7b of _0x177309){const _0x4897b0=_0x45bb7b[_0x4ccc('0x1e')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x47b9ab of _0x4897b0)if(_0x48ab59['includes'](_0x47b9ab['name'])){_0x43b29b[_0x4ccc('0x2')](_0x47b9ab);break;}}return _0x43b29b;}(_0x83b009['getSelectedBlocks'](),_0x146414[_0x4ccc('0x26')]);_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0xbddf96 of _0x5690f8)_0x299786[_0x4ccc('0x9')](_0xbddf96,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}],'formatGroupId':'style:'+_0x3d13ad});});}else{let _0x3025c9=Array['from'](_0x83b009['getRanges']());if(!_0x269a60){const _0x4f4289=Array['from'](_0x4823c4[_0x4ccc('0xe')](_0x146414[_0x4ccc('0x22')],!0x1))[0x0]['model'],_0x2dc315=[];for(const _0x4661ef of _0x3025c9){const _0xdb3672=this[_0x4ccc('0x15')](_0x4c527b['model'],_0x4661ef,_0x146414[_0x4ccc('0x29')],_0x4f4289);_0x2dc315[_0x4ccc('0x1b')](..._0xdb3672);}_0x3025c9=_0x2dc315;}_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0x2b1afa of _0x3025c9)_0x299786['markInlineFormat'](_0x2b1afa,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}]});});}}),_0x299786[_0x4ccc('0x18')]['registerDescriptionCallback'](_0xbaafd2=>{const {data:_0xd5d3d6}=_0xbaafd2;if(_0xd5d3d6&&_0x4ccc('0x24')===_0xd5d3d6[_0x4ccc('0x1d')])return _0xd5d3d6['commandParams'][0x0]['forceValue']?{'type':_0x4ccc('0xc'),'content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x28'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')]['toLowerCase']())}:{'type':'format','content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x11'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')][_0x4ccc('0xd')]())};});}[_0x4ccc('0x23')](_0x2c221e,_0x4ed24f){let _0x45a938=_0x4ed24f[_0x4ccc('0x1f')]['find'](_0xc3138e=>_0xc3138e[_0x4ccc('0x8')]===_0x2c221e);return _0x45a938||(_0x45a938=_0x4ed24f[_0x4ccc('0x7')][_0x4ccc('0x5')](_0x78e46b=>_0x78e46b[_0x4ccc('0x8')]===_0x2c221e)),_0x45a938;}['getRangesWithClasses'](_0xeac3b4,_0x396af9,_0x1ce011,_0x27cd09){const _0x5e71bd=[];for(const _0x59df20 of _0x396af9['getItems']()){const _0x14ce12=_0x59df20[_0x4ccc('0xf')](_0x27cd09);_0x14ce12&&(_0x1ce011[_0x4ccc('0x1')](_0x1793ee=>_0x14ce12[_0x4ccc('0x29')]['includes'](_0x1793ee))&&_0x5e71bd['push'](_0xeac3b4[_0x4ccc('0x3')](_0x59df20)));}return _0x5e71bd;}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eb5=['has','end','filter','nodeBefore','data','addRange','refresh','insertion','colspan','getChangedMarkers','last','fromRange','detach','from','textProxy','minRow','ELEMENT_TABLE_ROW_WITH_TEXT','some','addClass','batch','showSuggestionHighlights','registerDescriptionCallback','model','commands','toLowerCase','element','MIN_SAFE_INTEGER','*Remove:*\x20%0','mapper','findAncestor','root','writer','_setupColumnsRowsFixing','hasAttribute','options','ELEMENT_TABLE_WITH_TEXT','maxColumn','getAttribute','type','length','TableUtils','max','rootName','tablePaste','afterInit','differ','createTableWalker','map','table','_acceptFormatSuggestionCallbackFactory','tableColumn','order','selectTableColumn','nodeAfter','removeTableRow','ELEMENT_TABLE','toViewElement','registerCustomCallback','locale','document','change:data','name','tableRow','isArray','execute','get','item','editor','cell','getSelectionAffectedTableCells','getChildren','values','join','substr','ELEMENT_TABLE_COLUMN','first','setSelection','startsWith','removeClass','discard','getCellLocation','MAX_SAFE_INTEGER','_tableSuggestions','ELEMENT_TABLE_ROW','subType','oldRange','enqueueChange','$graveyard','getItems','registerPostFixer','_suggestionFactory','accept','insertTableRowBelow','isEqual','minColumn','enableCommand','createPositionAt','selection','_getSuggestionCoords','removeTableColumn','above','getRanges','getRowIndexes','tableCell','classes','push','TrackChangesEditing','plugins','change','_descriptionFactory','span','getChanges','insert','registerElementLabel','add','downcastDispatcher','_tablePostFixingSubtypes','*Insert:*\x20%0','markMultiRangeInsertion','createRangeOn','low','rowspan','ELEMENT_TABLE_COLUMN_WITH_TEXT','selectTableRow','start','getFirstRange','_splitMarkerName','position','highest','getColumnIndexes','insertTableColumnRight','min','deletion','_getCoordsForCells'];(function(_0x5ecf66,_0x1eb539){const _0x282046=function(_0xfd028b){while(--_0xfd028b){_0x5ecf66['push'](_0x5ecf66['shift']());}};_0x282046(++_0x1eb539);}(_0x1eb5,0x1f2));const _0x2820=function(_0x5ecf66,_0x1eb539){_0x5ecf66=_0x5ecf66-0x0;let _0x282046=_0x1eb5[_0x5ecf66];return _0x282046;};import{Plugin as _0x3f257e}from'ckeditor5/src/core';import{LiveRange as _0x3a116c}from'ckeditor5/src/engine';import{setHighlightHandling as _0xb8b6e8}from'ckeditor5/src/widget';import{getTranslation as _0x374bfe}from'../utils/common-translations';export default class lt extends _0x3f257e{constructor(_0x1bbc71){super(_0x1bbc71),this['_tablePostFixingSubtypes']=[_0x2820('0x64'),'tableColumn'];}[_0x2820('0x52')](){const _0x566efc=this[_0x2820('0x69')],_0x306e74=_0x566efc[_0x2820('0x3c')][_0x2820('0x61')]['selection'];if(!_0x566efc[_0x2820('0xb')][_0x2820('0x26')]('TableEditing'))return;const _0x47f24f=_0x566efc[_0x2820('0x60')],_0x39ecf5=_0x566efc[_0x2820('0xb')][_0x2820('0x67')](_0x2820('0xa')),_0x4781a4=_0x566efc[_0x2820('0xb')]['get'](_0x2820('0x4e'));_0x39ecf5[_0x2820('0xd')][_0x2820('0x11')]('table',_0x3bc4ff=>_0x374bfe(_0x47f24f,_0x2820('0x5d'),_0x3bc4ff)),this[_0x2820('0x46')](),_0x39ecf5[_0x2820('0x85')]('insertTable'),_0x39ecf5['enableCommand'](_0x2820('0x1b')),_0x39ecf5[_0x2820('0x85')](_0x2820('0x5a'));for(const _0x709dbb of['insertTableRowAbove',_0x2820('0x82')]){const _0x1f585a=_0x566efc[_0x2820('0x3d')]['get'](_0x709dbb);_0x39ecf5[_0x2820('0x85')](_0x709dbb,_0x517b40=>{_0x566efc[_0x2820('0x3c')]['change'](_0x3cae51=>{_0x517b40();const _0x12acdc=_0x2820('0x4')===_0x1f585a[_0x2820('0x59')],_0x31100c=_0x4781a4['getSelectionAffectedTableCells'](_0x306e74),_0x1d266c=_0x4781a4['getRowIndexes'](_0x31100c),_0x52c2a8=_0x12acdc?_0x1d266c[_0x2820('0x71')]-0x1:_0x1d266c[_0x2820('0x30')]+0x1,_0x14c7dd=_0x31100c[0x0]['findAncestor']('table'),_0x2430cb=_0x4781a4[_0x2820('0x54')](_0x14c7dd,{'startRow':_0x52c2a8,'endRow':_0x52c2a8}),_0x38ad07=Array[_0x2820('0x33')](_0x2430cb)['map'](_0x1a29bf=>_0x3cae51['createRangeOn'](_0x1a29bf[_0x2820('0x6a')]));_0x39ecf5[_0x2820('0x16')](_0x38ad07,'tableRow');});});}for(const _0x38414d of['insertTableColumnLeft',_0x2820('0x22')]){const _0x4c9a05=_0x566efc[_0x2820('0x3d')][_0x2820('0x67')](_0x38414d);_0x39ecf5[_0x2820('0x85')](_0x38414d,_0x38fe06=>{_0x566efc[_0x2820('0x3c')][_0x2820('0xc')](_0x4fee51=>{_0x38fe06();const _0x3aeba9='left'===_0x4c9a05[_0x2820('0x59')],_0x370ce0=_0x4781a4[_0x2820('0x6b')](_0x306e74),_0x2daa69=_0x4781a4[_0x2820('0x21')](_0x370ce0),_0x219d48=_0x3aeba9?_0x2daa69[_0x2820('0x71')]-0x1:_0x2daa69[_0x2820('0x30')]+0x1,_0x22f224=_0x370ce0[0x0][_0x2820('0x43')](_0x2820('0x56')),_0x11eccd=_0x4781a4['createTableWalker'](_0x22f224,{'startRow':0x0,'column':_0x219d48,'includeAllSlots':!0x1}),_0x1d5ba7=Array[_0x2820('0x33')](_0x11eccd)['map'](_0x2f94b3=>_0x4fee51[_0x2820('0x17')](_0x2f94b3[_0x2820('0x6a')]));_0x39ecf5['markMultiRangeInsertion'](_0x1d5ba7,_0x2820('0x58'));});});}for(const _0xf320ea of[_0x2820('0x5c'),_0x2820('0x3')]){const _0x33f0e1=_0xf320ea[_0x2820('0x6f')](0xb),_0x5e0f6b=_0x33f0e1['toLowerCase'](),_0x27973a=_0x5e0f6b['substr'](0x0,0x3)+_0x2820('0xe'),_0x13107d=_0x2820('0x56')+_0x33f0e1,_0x15362b='min'+_0x33f0e1,_0x161b89=_0x2820('0x4f')+_0x33f0e1;_0x39ecf5[_0x2820('0x85')](_0xf320ea,()=>{_0x566efc[_0x2820('0x3c')][_0x2820('0xc')](_0x387b14=>{const _0xd46883=_0x4781a4[_0x2820('0x6b')](_0x306e74),_0x535499=_0xd46883[0x0]['findAncestor']('table');let _0x2819c2;if(_0x2820('0x5c')==_0xf320ea){const _0x29f3b9=_0x4781a4[_0x2820('0x6')](_0xd46883);_0x2819c2={'startRow':_0x29f3b9[_0x2820('0x71')],'endRow':_0x29f3b9[_0x2820('0x30')],'includeAllSlots':!0x0};}else{const _0x54d59d=_0x4781a4[_0x2820('0x21')](_0xd46883);_0x2819c2={'startColumn':_0x54d59d[_0x2820('0x71')],'endColumn':_0x54d59d['last'],'includeAllSlots':!0x0};}const _0x123a9c=_0x4781a4[_0x2820('0x54')](_0x535499,_0x2819c2),_0x489c46=Array[_0x2820('0x33')](_0x123a9c)[_0x2820('0x55')](({cell:_0x15fa14})=>_0x15fa14),_0x141aa9=se(_0x489c46['filter'](_0x17057d=>_0x17057d['hasAttribute'](_0x27973a))),_0x240d44=se(_0x489c46[_0x2820('0x28')](_0x6da111=>!_0x6da111[_0x2820('0x47')](_0x27973a)))['map'](_0x49b223=>_0x387b14[_0x2820('0x17')](_0x49b223)),_0x3571df=_0x39ecf5['markMultiRangeDeletion'](_0x240d44,_0x13107d);if(_0x3571df&&('tableRow'==_0x3571df[_0x2820('0x7a')]||_0x2820('0x58')==_0x3571df[_0x2820('0x7a')])){const _0x192d64=this['_getSuggestionCoords'](_0x3571df);for(const _0x336c60 of _0x141aa9){const _0x5c394d=_0x387b14[_0x2820('0x17')](_0x336c60),_0x1b2c9f=_0x4781a4[_0x2820('0x76')](_0x336c60),_0x33d6a8=_0x336c60[_0x2820('0x4b')](_0x27973a)-0x1,_0x4cd5c8=_0x192d64[_0x15362b],_0x423756=_0x192d64[_0x161b89];_0x4cd5c8<=_0x1b2c9f[_0x5e0f6b]&&_0x1b2c9f[_0x5e0f6b]+_0x33d6a8<=_0x423756&&_0x3571df[_0x2820('0x2b')](_0x5c394d);}}});});}function _0x41f0f1(_0x50b99a){const _0x2aaf97=Array[_0x2820('0x33')](_0x306e74[_0x2820('0x5')]())['map'](_0x568617=>_0x3a116c[_0x2820('0x31')](_0x568617));_0x566efc[_0x2820('0x3c')][_0x2820('0xc')](_0x24de09=>{const _0x4a0aaf=_0x24de09[_0x2820('0x39')];_0x50b99a=_0x50b99a[_0x2820('0x28')](_0x51db03=>'$graveyard'!=_0x51db03['root'][_0x2820('0x50')]),_0x24de09['setSelection'](_0x50b99a),_0x566efc['commands']['get'](_0x2820('0x5c'))[_0x2820('0x2c')](),_0x566efc[_0x2820('0x66')](_0x2820('0x5c'),{'forceDefaultExecution':!0x0}),_0x566efc[_0x2820('0x3c')][_0x2820('0x7c')](()=>{_0x566efc[_0x2820('0x3c')][_0x2820('0x7c')](_0x4a0aaf,_0x462c85=>{const _0x546b38=_0x2aaf97[_0x2820('0x28')](_0x3bc2c9=>_0x2820('0x7d')!=_0x3bc2c9[_0x2820('0x44')]['rootName']);_0x546b38[_0x2820('0x4d')]>0x0&&_0x462c85[_0x2820('0x72')](_0x546b38);for(const _0x33ae1f of _0x2aaf97)_0x33ae1f[_0x2820('0x32')]();});});});}function _0x32687e(_0x34f0d0){_0x566efc[_0x2820('0x3c')][_0x2820('0xc')](_0x2ac751=>{const _0x20ffc0=Array[_0x2820('0x33')](_0x306e74[_0x2820('0x5')]())[_0x2820('0x55')](_0x145e02=>_0x3a116c['fromRange'](_0x145e02)),_0x39c319=[];for(const _0x8512db of _0x34f0d0)for(const _0x391759 of _0x8512db[_0x2820('0x7e')]({'shallow':!0x0}))_0x39c319[_0x2820('0x9')](_0x391759);for(const _0x56016d of _0x39c319)_0x2820('0x7d')!=_0x56016d['root'][_0x2820('0x50')]&&(_0x2ac751[_0x2820('0x72')](_0x2ac751[_0x2820('0x0')](_0x56016d,0x0)),_0x566efc[_0x2820('0x3d')]['get']('removeTableColumn')[_0x2820('0x2c')](),_0x566efc[_0x2820('0x66')](_0x2820('0x3'),{'forceDefaultExecution':!0x0}));const _0x380a4c=_0x20ffc0[_0x2820('0x28')](_0x13ae5f=>_0x2820('0x7d')!=_0x13ae5f[_0x2820('0x44')][_0x2820('0x50')]);_0x380a4c['length']>0x0&&_0x2ac751['setSelection'](_0x380a4c);for(const _0x140cb5 of _0x20ffc0)_0x140cb5[_0x2820('0x32')]();});}function _0x1da6e7(_0x193027,_0x5157bf){return _0x5157bf['every'](_0x171309=>_0x193027[_0x2820('0x37')](_0x2937ed=>_0x2937ed[_0x2820('0x27')][_0x2820('0x83')](_0x171309['start'])||_0x171309['end'][_0x2820('0x83')](_0x2937ed[_0x2820('0x1c')])));}function _0xd931cd(_0x3d076e,_0xf0811e){return _0x3d076e[_0x2820('0x37')](_0x59a9e6=>_0xf0811e[_0x2820('0x37')](_0x3fa82a=>_0x59a9e6[_0x2820('0x27')]['isTouching'](_0x3fa82a['start'])));}_0x566efc[_0x2820('0x2a')][_0x2820('0x13')]['on']('addMarker:suggestion',(_0x5d3ec3,_0x39d229,_0x436cc8)=>{if(!_0x436cc8[_0x2820('0x48')][_0x2820('0x3a')])return;const _0xfd4397=_0x39d229[_0x2820('0x68')];if(!_0xfd4397)return;const _0x392299=_0x436cc8[_0x2820('0x42')][_0x2820('0x5e')](_0xfd4397);function _0x6bbb97(_0x48fcc7){return Array[_0x2820('0x65')](_0x48fcc7)?_0x48fcc7:[_0x48fcc7];}_0x392299&&_0x2820('0x7')===_0xfd4397[_0x2820('0x63')]&&_0xb8b6e8(_0x392299,_0x436cc8[_0x2820('0x45')],(_0x144d96,_0xbfcab8,_0x28bacc)=>_0x28bacc[_0x2820('0x38')](_0x6bbb97(_0xbfcab8[_0x2820('0x8')]),_0x144d96),(_0x375275,_0x4b9aa1,_0x4f4fc3)=>_0x4f4fc3[_0x2820('0x74')](_0x6bbb97(_0x4b9aa1[_0x2820('0x8')]),_0x375275));},{'priority':_0x2820('0x20')}),_0x39ecf5[_0x2820('0xd')]['registerDescriptionCallback'](_0x326f54=>{if('insertion'!=_0x326f54[_0x2820('0x4c')]&&_0x2820('0x24')!=_0x326f54[_0x2820('0x4c')])return;const _0x3b1bf6=_0x326f54['getContainedElement']();if(null!=_0x3b1bf6&&_0x3b1bf6['is'](_0x2820('0x3f'),_0x2820('0x56'))){if(_0x2820('0x2d')==_0x326f54[_0x2820('0x4c')]){const _0x188923=_0x326f54[_0x2820('0x7e')]()[_0x2820('0x28')](_0x55f41b=>_0x55f41b['is'](_0x2820('0x34')))[_0x2820('0x55')](_0x4bd545=>_0x4bd545[_0x2820('0x2a')]);if(_0x188923[_0x2820('0x4d')])return{'type':'insertion','content':_0x374bfe(_0x47f24f,_0x2820('0x15'),_0x374bfe(_0x47f24f,_0x2820('0x49'),'\x22'+_0x188923[_0x2820('0x6e')]('\x20')+'\x22'))};}if(_0x2820('0x24')==_0x326f54[_0x2820('0x4c')]){const _0x528fe3=_0x326f54['getItems']()[_0x2820('0x28')](_0x569bcd=>_0x569bcd['is'](_0x2820('0x34')))[_0x2820('0x55')](_0x586d19=>_0x586d19[_0x2820('0x2a')]);if(_0x528fe3[_0x2820('0x4d')])return{'type':'deletion','content':_0x374bfe(_0x47f24f,_0x2820('0x41'),_0x374bfe(_0x47f24f,_0x2820('0x49'),'\x22'+_0x528fe3[_0x2820('0x6e')]('\x20')+'\x22'))};}}}),_0x39ecf5[_0x2820('0xd')][_0x2820('0x3b')](_0x4d84b5=>{if('tableRow'==_0x4d84b5['subType']){const _0x415bfe=_0x4d84b5['getItems']()[_0x2820('0x28')](_0x4134e0=>_0x4134e0['is'](_0x2820('0x34')))[_0x2820('0x55')](_0x44f063=>_0x44f063[_0x2820('0x2a')]),_0x2a6c89=this[_0x2820('0x2')](_0x4d84b5),_0x227185=_0x2a6c89['maxRow']-_0x2a6c89[_0x2820('0x35')]+0x1;if(_0x2820('0x2d')==_0x4d84b5[_0x2820('0x4c')])return _0x415bfe[_0x2820('0x4d')]?{'type':_0x2820('0x2d'),'content':_0x374bfe(_0x47f24f,'*Insert:*\x20%0',_0x374bfe(_0x47f24f,_0x2820('0x36'),[_0x227185,'\x22'+_0x415bfe[_0x2820('0x6e')]('\x20')+'\x22']))}:{'type':_0x2820('0x2d'),'content':_0x374bfe(_0x47f24f,_0x2820('0x15'),_0x374bfe(_0x47f24f,_0x2820('0x79'),_0x227185))};if('deletion'==_0x4d84b5['type'])return _0x415bfe[_0x2820('0x4d')]?{'type':_0x2820('0x24'),'content':_0x374bfe(_0x47f24f,'*Remove:*\x20%0',_0x374bfe(_0x47f24f,_0x2820('0x36'),[_0x227185,'\x22'+_0x415bfe[_0x2820('0x6e')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x374bfe(_0x47f24f,_0x2820('0x41'),_0x374bfe(_0x47f24f,'ELEMENT_TABLE_ROW',_0x227185))};}if(_0x2820('0x58')==_0x4d84b5[_0x2820('0x7a')]){const _0x1cde4a=_0x4d84b5[_0x2820('0x7e')]()['filter'](_0x1229c9=>_0x1229c9['is'](_0x2820('0x34')))[_0x2820('0x55')](_0x386218=>_0x386218[_0x2820('0x2a')]),_0x4c011e=this['_getSuggestionCoords'](_0x4d84b5),_0x3a0205=_0x4c011e[_0x2820('0x4a')]-_0x4c011e[_0x2820('0x84')]+0x1;if(_0x2820('0x2d')==_0x4d84b5[_0x2820('0x4c')])return _0x1cde4a[_0x2820('0x4d')]?{'type':_0x2820('0x2d'),'content':_0x374bfe(_0x47f24f,'*Insert:*\x20%0',_0x374bfe(_0x47f24f,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3a0205,'\x22'+_0x1cde4a[_0x2820('0x6e')]('\x20')+'\x22']))}:{'type':_0x2820('0x2d'),'content':_0x374bfe(_0x47f24f,_0x2820('0x15'),_0x374bfe(_0x47f24f,_0x2820('0x70'),_0x3a0205))};if(_0x2820('0x24')==_0x4d84b5['type'])return _0x1cde4a[_0x2820('0x4d')]?{'type':_0x2820('0x24'),'content':_0x374bfe(_0x47f24f,'*Remove:*\x20%0',_0x374bfe(_0x47f24f,_0x2820('0x1a'),[_0x3a0205,'\x22'+_0x1cde4a[_0x2820('0x6e')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x374bfe(_0x47f24f,_0x2820('0x41'),_0x374bfe(_0x47f24f,_0x2820('0x70'),_0x3a0205))};}}),_0x39ecf5[_0x2820('0x80')][_0x2820('0x5f')](_0x2820('0x2d'),'tableRow','discard',_0x41f0f1),_0x39ecf5[_0x2820('0x80')][_0x2820('0x5f')](_0x2820('0x24'),'tableRow',_0x2820('0x81'),_0x41f0f1),_0x39ecf5['_suggestionFactory']['registerCustomCallback']('insertion',_0x2820('0x58'),_0x2820('0x75'),_0x32687e),_0x39ecf5[_0x2820('0x80')]['registerCustomCallback'](_0x2820('0x24'),_0x2820('0x58'),_0x2820('0x81'),_0x32687e),_0x39ecf5[_0x2820('0x80')][_0x2820('0x5f')](_0x2820('0x2d'),_0x2820('0x58'),'join',_0x1da6e7),_0x39ecf5[_0x2820('0x80')][_0x2820('0x5f')](_0x2820('0x24'),_0x2820('0x58'),_0x2820('0x6e'),_0x1da6e7),_0x39ecf5[_0x2820('0x80')]['registerCustomCallback']('insertion',_0x2820('0x64'),_0x2820('0x6e'),_0xd931cd),_0x39ecf5[_0x2820('0x80')][_0x2820('0x5f')](_0x2820('0x24'),_0x2820('0x64'),'join',_0xd931cd);}[_0x2820('0x57')](){const _0x5ecc71=this[_0x2820('0x69')],_0x23b244=_0x5ecc71[_0x2820('0x3c')][_0x2820('0x61')][_0x2820('0x1')];return(_0x27a263,_0x11d987)=>{_0x5ecc71[_0x2820('0x3c')][_0x2820('0xc')](_0x178663=>{const {commandName:_0x547d67,commandParams:_0x5eaff8}=_0x11d987;let _0x1022be=_0x27a263[0x0][_0x2820('0x27')][_0x2820('0x29')];_0x5eaff8&&_0x5eaff8[0x0]&&!0x1===_0x5eaff8[0x0]['forceValue']&&(_0x1022be=_0x27a263[0x0][_0x2820('0x1c')][_0x2820('0x5b')]);const _0x4a9e9b=_0x178663['createRangeIn'](_0x1022be);if('$graveyard'==_0x4a9e9b[_0x2820('0x44')]['rootName'])return;const _0x2d2ce4=Array[_0x2820('0x33')](_0x23b244['getRanges']())['map'](_0x2d5569=>_0x3a116c['fromRange'](_0x2d5569));_0x178663[_0x2820('0x72')](_0x4a9e9b),_0x5ecc71['commands'][_0x2820('0x67')](_0x547d67)['refresh'](),_0x5eaff8[_0x2820('0x9')]({'forceDefaultExecution':!0x0}),_0x5ecc71[_0x2820('0x66')](_0x547d67,..._0x5eaff8);const _0x1d25d6=_0x2d2ce4['filter'](_0x15ef7b=>_0x2820('0x7d')!=_0x15ef7b['root']['rootName']);_0x1d25d6[_0x2820('0x4d')]>0x0&&_0x178663[_0x2820('0x72')](_0x1d25d6);for(const _0x477137 of _0x2d2ce4)_0x477137[_0x2820('0x32')]();});};}[_0x2820('0x25')](_0x5d5da2){const _0x2464fa=this[_0x2820('0x69')][_0x2820('0xb')][_0x2820('0x67')](_0x2820('0x4e'));let _0x1dbdf4=Number[_0x2820('0x77')],_0x1b6fb1=Number[_0x2820('0x40')],_0x5a5148=Number[_0x2820('0x77')],_0x39260a=Number[_0x2820('0x40')];for(const _0x319b4c of _0x5d5da2){if(_0x2820('0x7d')==_0x319b4c[_0x2820('0x44')][_0x2820('0x50')])continue;const {row:_0x1ce506,column:_0x2073ed}=_0x2464fa['getCellLocation'](_0x319b4c),_0x244a3b=_0x319b4c[_0x2820('0x47')](_0x2820('0x19'))?_0x319b4c['getAttribute'](_0x2820('0x19'))-0x1:0x0,_0x2137d1=_0x319b4c[_0x2820('0x47')](_0x2820('0x2e'))?_0x319b4c[_0x2820('0x4b')](_0x2820('0x2e'))-0x1:0x0;_0x1dbdf4=_0x1ce506<_0x1dbdf4?_0x1ce506:_0x1dbdf4,_0x1b6fb1=_0x1ce506+_0x244a3b>_0x1b6fb1?_0x1ce506+_0x244a3b:_0x1b6fb1,_0x5a5148=_0x2073ed<_0x5a5148?_0x2073ed:_0x5a5148,_0x39260a=_0x2073ed+_0x2137d1>_0x39260a?_0x2073ed+_0x2137d1:_0x39260a;}return{'minRow':_0x1dbdf4,'maxRow':_0x1b6fb1,'minColumn':_0x5a5148,'maxColumn':_0x39260a};}[_0x2820('0x46')](){const _0x3bf833=this[_0x2820('0x69')],_0x31841c=_0x3bf833[_0x2820('0xb')]['get'](_0x2820('0xa')),_0x31d9eb=_0x3bf833[_0x2820('0xb')][_0x2820('0x67')]('TableUtils');this[_0x2820('0x78')]=new Set(),_0x3bf833[_0x2820('0x3c')][_0x2820('0x61')]['on'](_0x2820('0x62'),()=>{const _0x55619a=Array[_0x2820('0x33')](_0x3bf833[_0x2820('0x3c')][_0x2820('0x61')][_0x2820('0x53')][_0x2820('0x2f')]());for(const {name:_0x17c584,data:_0x5ae759}of _0x55619a){const {group:_0x1e834d,id:_0x4c4ea2,subType:_0xf2706c}=_0x31841c[_0x2820('0x1e')](_0x17c584);if('suggestion'!=_0x1e834d)continue;if(null!=_0x5ae759[_0x2820('0x7b')])continue;const _0x40e8a8=_0x31841c['getSuggestion'](_0x4c4ea2);this[_0x2820('0x14')]['includes'](_0xf2706c)&&this[_0x2820('0x78')][_0x2820('0x12')](_0x40e8a8);}},{'priority':_0x2820('0x18')});const _0x4942a4=(_0x5f2f56,_0x324be4)=>{let _0x2e6c9f=!0x1;const _0x2cb253=_0x324be4[_0x2820('0x17')](_0x5f2f56),_0x3d74c6=_0x5f2f56['findAncestor'](_0x2820('0x56')),_0x34b28e=_0x31d9eb[_0x2820('0x76')](_0x5f2f56);for(const _0x2154dc of this['_tableSuggestions']){const _0x397a6b=_0x2154dc[_0x2820('0x7a')],_0x5c504a=_0x397a6b[_0x2820('0x73')](_0x2820('0x51')),_0x231037=_0x397a6b[_0x2820('0x6f')](_0x5c504a?0xa:0x5),_0x396014=_0x231037[_0x2820('0x3e')](),_0x5cf069=_0x396014[_0x2820('0x6f')](0x0,0x3)+_0x2820('0xe'),_0x12d9bf=_0x2820('0x23')+_0x231037,_0x3351a7=_0x2820('0x4f')+_0x231037;if(!_0x2154dc['isInContent'])continue;if(_0x3d74c6!=_0x2154dc[_0x2820('0x1d')]()[_0x2820('0x1c')][_0x2820('0x43')](_0x2820('0x56')))continue;if(_0x2154dc['isIntersectingWithRange'](_0x2cb253))continue;const _0x5953ab=_0x5f2f56[_0x2820('0x47')](_0x5cf069)?_0x5f2f56[_0x2820('0x4b')](_0x5cf069)-0x1:0x0,_0x2a496f=this[_0x2820('0x2')](_0x2154dc),_0xf9fa45=_0x2a496f[_0x12d9bf],_0x1d2674=_0x2a496f[_0x3351a7];_0xf9fa45<=_0x34b28e[_0x396014]&&_0x34b28e[_0x396014]+_0x5953ab<=_0x1d2674&&(_0x2154dc[_0x2820('0x2b')](_0x2cb253),_0x2e6c9f=!0x0);}return _0x2e6c9f;};_0x3bf833[_0x2820('0x3c')]['document'][_0x2820('0x7f')](_0x32292d=>{let _0x5cc759=!0x1;for(const _0x116123 of _0x3bf833[_0x2820('0x3c')][_0x2820('0x61')][_0x2820('0x53')][_0x2820('0xf')]())if(_0x2820('0x10')==_0x116123['type']){if('tableRow'==_0x116123['name'])for(const _0x4b492d of _0x116123[_0x2820('0x1f')][_0x2820('0x5b')][_0x2820('0x6c')]())_0x5cc759=_0x5cc759||_0x4942a4(_0x4b492d,_0x32292d);else'tableCell'==_0x116123[_0x2820('0x63')]&&(_0x5cc759=_0x5cc759||_0x4942a4(_0x116123[_0x2820('0x1f')][_0x2820('0x5b')],_0x32292d));}return _0x5cc759;});}[_0x2820('0x2')](_0x3114c0){return this['_getCoordsForCells'](_0x3114c0['getRanges']()[_0x2820('0x55')](_0x5f5a0e=>_0x5f5a0e[_0x2820('0x1c')]['nodeAfter']));}}function se(_0x111810){return Array[_0x2820('0x33')](new Set(_0x111810)[_0x2820('0x6d')]());}
23
+ const _0x27d4=['end','colspan','afterInit','mapper','push','ELEMENT_TABLE_WITH_TEXT','insertTable','isEqual','_acceptFormatSuggestionCallbackFactory','editor','detach','markMultiRangeInsertion','highest','get','nodeBefore','markMultiRangeDeletion','refresh','plugins','createTableWalker','document','ELEMENT_TABLE_COLUMN','values','_setupColumnsRowsFixing','hasAttribute','position','above','options','first','length','TableUtils','some','model','$graveyard','getSelectionAffectedTableCells','fromRange','classes','*Insert:*\x20%0','getContainedElement','getChanges','findAncestor','substr','ELEMENT_TABLE_ROW_WITH_TEXT','includes','getChangedMarkers','setSelection','_getSuggestionCoords','max','deletion','showSuggestionHighlights','root','selection','createPositionAt','_descriptionFactory','discard','differ','locale','minColumn','getChildren','removeClass','_tableSuggestions','filter','registerDescriptionCallback','map','insertTableRowBelow','order','enableCommand','execute','getColumnIndexes','createRangeIn','type','span','insertTableColumnLeft','tableColumn','accept','TrackChangesEditing','rootName','from','forceValue','nodeAfter','minRow','rowspan','oldRange','getFirstRange','insert','enqueueChange','addClass','tableCell','addRange','insertTableRowAbove','data','commands','_getCoordsForCells','name','ELEMENT_TABLE','registerCustomCallback','isInContent','change','last','textProxy','startsWith','maxColumn','getItems','add','removeTableRow','_suggestionFactory','element','tablePaste','tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','getRanges','MIN_SAFE_INTEGER','table','TableEditing','has','registerElementLabel','registerPostFixer','min','getAttribute','cell','item','createRangeOn','_tablePostFixingSubtypes','MAX_SAFE_INTEGER','start','left','subType','*Remove:*\x20%0','toLowerCase','isTouching','join','getCellLocation','insertion','selectTableColumn','removeTableColumn'];(function(_0x2f4ca1,_0x27d4e6){const _0x598831=function(_0x1218e9){while(--_0x1218e9){_0x2f4ca1['push'](_0x2f4ca1['shift']());}};_0x598831(++_0x27d4e6);}(_0x27d4,0x12a));const _0x5988=function(_0x2f4ca1,_0x27d4e6){_0x2f4ca1=_0x2f4ca1-0x0;let _0x598831=_0x27d4[_0x2f4ca1];return _0x598831;};import{Plugin as _0x2f832b}from'ckeditor5/src/core';import{LiveRange as _0x40b883}from'ckeditor5/src/engine';import{setHighlightHandling as _0x13f7fa}from'ckeditor5/src/widget';import{getTranslation as _0x576c85}from'../utils/common-translations';export default class dt extends _0x2f832b{constructor(_0x5195e8){super(_0x5195e8),this[_0x5988('0x5e')]=[_0x5988('0x4f'),'tableColumn'];}[_0x5988('0x6d')](){const _0x3cc866=this[_0x5988('0x74')],_0x8fe794=_0x3cc866[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];if(!_0x3cc866[_0x5988('0x7c')][_0x5988('0x56')](_0x5988('0x55')))return;const _0x4e3e4c=_0x3cc866[_0x5988('0x1b')],_0x23a788=_0x3cc866[_0x5988('0x7c')]['get'](_0x5988('0x2e')),_0xef7949=_0x3cc866[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));_0x23a788[_0x5988('0x18')][_0x5988('0x57')](_0x5988('0x54'),_0xec3ffc=>_0x576c85(_0x4e3e4c,_0x5988('0x41'),_0xec3ffc)),this[_0x5988('0x81')](),_0x23a788[_0x5988('0x25')](_0x5988('0x71')),_0x23a788[_0x5988('0x25')]('selectTableRow'),_0x23a788[_0x5988('0x25')](_0x5988('0x69'));for(const _0x5ab85f of[_0x5988('0x3c'),_0x5988('0x23')]){const _0x364873=_0x3cc866[_0x5988('0x3e')]['get'](_0x5ab85f);_0x23a788[_0x5988('0x25')](_0x5ab85f,_0x1d942b=>{_0x3cc866['model'][_0x5988('0x44')](_0xfcb217=>{_0x1d942b();const _0x556433=_0x5988('0x84')===_0x364873[_0x5988('0x24')],_0x38917d=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x2839ed=_0xef7949['getRowIndexes'](_0x38917d),_0x81d42c=_0x556433?_0x2839ed['first']-0x1:_0x2839ed['last']+0x1,_0x7dd5c3=_0x38917d[0x0][_0x5988('0xb')](_0x5988('0x54')),_0x59c775=_0xef7949[_0x5988('0x7d')](_0x7dd5c3,{'startRow':_0x81d42c,'endRow':_0x81d42c}),_0xdbd52b=Array[_0x5988('0x30')](_0x59c775)[_0x5988('0x22')](_0x3ba11a=>_0xfcb217[_0x5988('0x5d')](_0x3ba11a['cell']));_0x23a788[_0x5988('0x76')](_0xdbd52b,_0x5988('0x4f'));});});}for(const _0x38b0e0 of[_0x5988('0x2b'),'insertTableColumnRight']){const _0x437a72=_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x38b0e0);_0x23a788[_0x5988('0x25')](_0x38b0e0,_0x5b5cc4=>{_0x3cc866[_0x5988('0x3')]['change'](_0x466894=>{_0x5b5cc4();const _0x306279=_0x5988('0x61')===_0x437a72[_0x5988('0x24')],_0x11ff0f=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x4faca0=_0xef7949[_0x5988('0x27')](_0x11ff0f),_0x40fba2=_0x306279?_0x4faca0[_0x5988('0x86')]-0x1:_0x4faca0[_0x5988('0x45')]+0x1,_0x288694=_0x11ff0f[0x0]['findAncestor']('table'),_0x14fa15=_0xef7949[_0x5988('0x7d')](_0x288694,{'startRow':0x0,'column':_0x40fba2,'includeAllSlots':!0x1}),_0x2d4601=Array['from'](_0x14fa15)[_0x5988('0x22')](_0x4e5f03=>_0x466894[_0x5988('0x5d')](_0x4e5f03[_0x5988('0x5b')]));_0x23a788[_0x5988('0x76')](_0x2d4601,'tableColumn');});});}for(const _0x2878be of[_0x5988('0x4b'),_0x5988('0x6a')]){const _0x5eeab8=_0x2878be[_0x5988('0xc')](0xb),_0x3ef6cb=_0x5eeab8[_0x5988('0x64')](),_0x41040f=_0x3ef6cb[_0x5988('0xc')](0x0,0x3)+'span',_0x2c2e67=_0x5988('0x54')+_0x5eeab8,_0x34cbbc=_0x5988('0x59')+_0x5eeab8,_0x3fae05=_0x5988('0x12')+_0x5eeab8;_0x23a788[_0x5988('0x25')](_0x2878be,()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x1a07e0=>{const _0x4ebf23=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x57fc3d=_0x4ebf23[0x0][_0x5988('0xb')](_0x5988('0x54'));let _0x29e710;if(_0x5988('0x4b')==_0x2878be){const _0x365705=_0xef7949[_0x5988('0x51')](_0x4ebf23);_0x29e710={'startRow':_0x365705[_0x5988('0x86')],'endRow':_0x365705['last'],'includeAllSlots':!0x0};}else{const _0xad6073=_0xef7949[_0x5988('0x27')](_0x4ebf23);_0x29e710={'startColumn':_0xad6073[_0x5988('0x86')],'endColumn':_0xad6073[_0x5988('0x45')],'includeAllSlots':!0x0};}const _0x344ef6=_0xef7949[_0x5988('0x7d')](_0x57fc3d,_0x29e710),_0x17570e=Array[_0x5988('0x30')](_0x344ef6)['map'](({cell:_0x28155e})=>_0x28155e),_0x11a24a=le(_0x17570e[_0x5988('0x20')](_0x50de58=>_0x50de58[_0x5988('0x82')](_0x41040f))),_0x11bbc3=le(_0x17570e[_0x5988('0x20')](_0x3d6826=>!_0x3d6826[_0x5988('0x82')](_0x41040f)))['map'](_0x93b4ae=>_0x1a07e0['createRangeOn'](_0x93b4ae)),_0x229ca3=_0x23a788[_0x5988('0x7a')](_0x11bbc3,_0x2c2e67);if(_0x229ca3&&(_0x5988('0x4f')==_0x229ca3[_0x5988('0x62')]||_0x5988('0x2c')==_0x229ca3[_0x5988('0x62')])){const _0x405b5a=this[_0x5988('0x11')](_0x229ca3);for(const _0xef2507 of _0x11a24a){const _0x91edc1=_0x1a07e0[_0x5988('0x5d')](_0xef2507),_0x25e1d5=_0xef7949[_0x5988('0x67')](_0xef2507),_0x25c929=_0xef2507['getAttribute'](_0x41040f)-0x1,_0x4c2891=_0x405b5a[_0x34cbbc],_0x4c54cb=_0x405b5a[_0x3fae05];_0x4c2891<=_0x25e1d5[_0x3ef6cb]&&_0x25e1d5[_0x3ef6cb]+_0x25c929<=_0x4c54cb&&_0x229ca3[_0x5988('0x3b')](_0x91edc1);}}});});}function _0x41ddd0(_0x4d3766){const _0x3ed30c=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())[_0x5988('0x22')](_0x5e478f=>_0x40b883[_0x5988('0x6')](_0x5e478f));_0x3cc866[_0x5988('0x3')]['change'](_0x4dd19b=>{const _0x57cd3a=_0x4dd19b['batch'];_0x4d3766=_0x4d3766[_0x5988('0x20')](_0x502ac1=>_0x5988('0x4')!=_0x502ac1[_0x5988('0x15')]['rootName']),_0x4dd19b[_0x5988('0x10')](_0x4d3766),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x5988('0x4b'))[_0x5988('0x7b')](),_0x3cc866['execute'](_0x5988('0x4b'),{'forceDefaultExecution':!0x0}),_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](_0x57cd3a,_0x523183=>{const _0x359144=_0x3ed30c[_0x5988('0x20')](_0x4865bf=>_0x5988('0x4')!=_0x4865bf[_0x5988('0x15')][_0x5988('0x2f')]);_0x359144[_0x5988('0x0')]>0x0&&_0x523183[_0x5988('0x10')](_0x359144);for(const _0x51dbd4 of _0x3ed30c)_0x51dbd4[_0x5988('0x75')]();});});});}function _0xcdafd9(_0x1d3919){_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x40d2c6=>{const _0x4488c6=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())['map'](_0x1db25f=>_0x40b883[_0x5988('0x6')](_0x1db25f)),_0x7ad5ed=[];for(const _0x418e69 of _0x1d3919)for(const _0x436fd1 of _0x418e69[_0x5988('0x49')]({'shallow':!0x0}))_0x7ad5ed[_0x5988('0x6f')](_0x436fd1);for(const _0x2a93c4 of _0x7ad5ed)_0x5988('0x4')!=_0x2a93c4[_0x5988('0x15')][_0x5988('0x2f')]&&(_0x40d2c6['setSelection'](_0x40d2c6[_0x5988('0x17')](_0x2a93c4,0x0)),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')]('removeTableColumn')['refresh'](),_0x3cc866[_0x5988('0x26')](_0x5988('0x6a'),{'forceDefaultExecution':!0x0}));const _0x3b1fdd=_0x4488c6[_0x5988('0x20')](_0x3e7e68=>_0x5988('0x4')!=_0x3e7e68[_0x5988('0x15')]['rootName']);_0x3b1fdd[_0x5988('0x0')]>0x0&&_0x40d2c6[_0x5988('0x10')](_0x3b1fdd);for(const _0x29c168 of _0x4488c6)_0x29c168[_0x5988('0x75')]();});}function _0x5cdb3f(_0xf32e9e,_0x3a8651){return _0x3a8651['every'](_0x37817c=>_0xf32e9e[_0x5988('0x2')](_0x3ebbe4=>_0x3ebbe4[_0x5988('0x6b')][_0x5988('0x72')](_0x37817c['start'])||_0x37817c['end']['isEqual'](_0x3ebbe4['start'])));}function _0x349d3a(_0x575d2,_0x426a1b){return _0x575d2[_0x5988('0x2')](_0x354649=>_0x426a1b['some'](_0x413d48=>_0x354649[_0x5988('0x6b')][_0x5988('0x65')](_0x413d48[_0x5988('0x60')])));}_0x3cc866[_0x5988('0x3d')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x4fd939,_0x359572,_0x512ffc)=>{if(!_0x512ffc[_0x5988('0x85')][_0x5988('0x14')])return;const _0x45ea72=_0x359572[_0x5988('0x5c')];if(!_0x45ea72)return;const _0x1997af=_0x512ffc[_0x5988('0x6e')]['toViewElement'](_0x45ea72);function _0x1f3fbf(_0x10caea){return Array['isArray'](_0x10caea)?_0x10caea:[_0x10caea];}_0x1997af&&'tableCell'===_0x45ea72[_0x5988('0x40')]&&_0x13f7fa(_0x1997af,_0x512ffc['writer'],(_0x2dde63,_0x2a2dcf,_0x5df9e3)=>_0x5df9e3[_0x5988('0x39')](_0x1f3fbf(_0x2a2dcf[_0x5988('0x7')]),_0x2dde63),(_0x5d100f,_0x2cfdcc,_0x5208c8)=>_0x5208c8[_0x5988('0x1e')](_0x1f3fbf(_0x2cfdcc[_0x5988('0x7')]),_0x5d100f));},{'priority':_0x5988('0x77')}),_0x23a788[_0x5988('0x18')][_0x5988('0x21')](_0x1f63e9=>{if(_0x5988('0x68')!=_0x1f63e9['type']&&_0x5988('0x13')!=_0x1f63e9[_0x5988('0x29')])return;const _0x439ab5=_0x1f63e9[_0x5988('0x9')]();if(null!=_0x439ab5&&_0x439ab5['is'](_0x5988('0x4d'),_0x5988('0x54'))){if(_0x5988('0x68')==_0x1f63e9[_0x5988('0x29')]){const _0x1a1c41=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x146cc2=>_0x146cc2['is'](_0x5988('0x46')))[_0x5988('0x22')](_0xa5f7ba=>_0xa5f7ba[_0x5988('0x3d')]);if(_0x1a1c41[_0x5988('0x0')])return{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x1a1c41[_0x5988('0x66')]('\x20')+'\x22'))};}if('deletion'==_0x1f63e9['type']){const _0x57e4f9=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x22d065=>_0x22d065['is'](_0x5988('0x46')))['map'](_0x5cbe47=>_0x5cbe47['data']);if(_0x57e4f9[_0x5988('0x0')])return{'type':'deletion','content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x57e4f9[_0x5988('0x66')]('\x20')+'\x22'))};}}}),_0x23a788['_descriptionFactory']['registerDescriptionCallback'](_0x96e463=>{if('tableRow'==_0x96e463['subType']){const _0x33f04d=_0x96e463[_0x5988('0x49')]()[_0x5988('0x20')](_0x23688e=>_0x23688e['is']('textProxy'))[_0x5988('0x22')](_0x341d3e=>_0x341d3e['data']),_0x594c80=this[_0x5988('0x11')](_0x96e463),_0x275f46=_0x594c80['maxRow']-_0x594c80[_0x5988('0x33')]+0x1;if(_0x5988('0x68')==_0x96e463['type'])return _0x33f04d[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};if(_0x5988('0x13')==_0x96e463['type'])return _0x33f04d['length']?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};}if(_0x5988('0x2c')==_0x96e463[_0x5988('0x62')]){const _0x336f24=_0x96e463['getItems']()[_0x5988('0x20')](_0x5636f9=>_0x5636f9['is']('textProxy'))[_0x5988('0x22')](_0x410cb5=>_0x410cb5[_0x5988('0x3d')]),_0x264d5b=this[_0x5988('0x11')](_0x96e463),_0x2d2af1=_0x264d5b[_0x5988('0x48')]-_0x264d5b[_0x5988('0x1c')]+0x1;if(_0x5988('0x68')==_0x96e463[_0x5988('0x29')])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,'*Insert:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};if('deletion'==_0x96e463['type'])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};}}),_0x23a788['_suggestionFactory']['registerCustomCallback']('insertion',_0x5988('0x4f'),_0x5988('0x19'),_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')]('deletion','tableRow','accept',_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x68'),'tableColumn',_0x5988('0x19'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x2c'),_0x5988('0x2d'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('insertion',_0x5988('0x2c'),_0x5988('0x66'),_0x5cdb3f),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x13'),_0x5988('0x2c'),'join',_0x5cdb3f),_0x23a788['_suggestionFactory'][_0x5988('0x42')](_0x5988('0x68'),_0x5988('0x4f'),'join',_0x349d3a),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x4f'),_0x5988('0x66'),_0x349d3a);}[_0x5988('0x73')](){const _0x138a55=this[_0x5988('0x74')],_0x3444fb=_0x138a55[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];return(_0x1f155e,_0x27c246)=>{_0x138a55[_0x5988('0x3')][_0x5988('0x44')](_0x498d2c=>{const {commandName:_0x14529e,commandParams:_0x2d10c5}=_0x27c246;let _0x373a08=_0x1f155e[0x0][_0x5988('0x6b')][_0x5988('0x79')];_0x2d10c5&&_0x2d10c5[0x0]&&!0x1===_0x2d10c5[0x0][_0x5988('0x31')]&&(_0x373a08=_0x1f155e[0x0]['start'][_0x5988('0x32')]);const _0x228add=_0x498d2c[_0x5988('0x28')](_0x373a08);if(_0x5988('0x4')==_0x228add[_0x5988('0x15')]['rootName'])return;const _0x168dd5=Array[_0x5988('0x30')](_0x3444fb['getRanges']())['map'](_0x45b054=>_0x40b883[_0x5988('0x6')](_0x45b054));_0x498d2c[_0x5988('0x10')](_0x228add),_0x138a55[_0x5988('0x3e')]['get'](_0x14529e)[_0x5988('0x7b')](),_0x2d10c5[_0x5988('0x6f')]({'forceDefaultExecution':!0x0}),_0x138a55[_0x5988('0x26')](_0x14529e,..._0x2d10c5);const _0xa70b5c=_0x168dd5[_0x5988('0x20')](_0x1a53d4=>_0x5988('0x4')!=_0x1a53d4[_0x5988('0x15')][_0x5988('0x2f')]);_0xa70b5c[_0x5988('0x0')]>0x0&&_0x498d2c[_0x5988('0x10')](_0xa70b5c);for(const _0x9148d2 of _0x168dd5)_0x9148d2[_0x5988('0x75')]();});};}[_0x5988('0x3f')](_0x2e1866){const _0x31be49=this[_0x5988('0x74')][_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));let _0x1532aa=Number['MAX_SAFE_INTEGER'],_0x457fc8=Number[_0x5988('0x53')],_0x32519f=Number[_0x5988('0x5f')],_0x101aba=Number[_0x5988('0x53')];for(const _0x117011 of _0x2e1866){if(_0x5988('0x4')==_0x117011[_0x5988('0x15')][_0x5988('0x2f')])continue;const {row:_0x57e155,column:_0x35bc5e}=_0x31be49['getCellLocation'](_0x117011),_0x2ee11a=_0x117011[_0x5988('0x82')]('rowspan')?_0x117011[_0x5988('0x5a')](_0x5988('0x34'))-0x1:0x0,_0x518c04=_0x117011[_0x5988('0x82')](_0x5988('0x6c'))?_0x117011[_0x5988('0x5a')](_0x5988('0x6c'))-0x1:0x0;_0x1532aa=_0x57e155<_0x1532aa?_0x57e155:_0x1532aa,_0x457fc8=_0x57e155+_0x2ee11a>_0x457fc8?_0x57e155+_0x2ee11a:_0x457fc8,_0x32519f=_0x35bc5e<_0x32519f?_0x35bc5e:_0x32519f,_0x101aba=_0x35bc5e+_0x518c04>_0x101aba?_0x35bc5e+_0x518c04:_0x101aba;}return{'minRow':_0x1532aa,'maxRow':_0x457fc8,'minColumn':_0x32519f,'maxColumn':_0x101aba};}[_0x5988('0x81')](){const _0x33e7f0=this[_0x5988('0x74')],_0x20dbdf=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')]('TrackChangesEditing'),_0x27fa3c=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));this['_tableSuggestions']=new Set(),_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['on']('change:data',()=>{const _0x5e09b7=Array[_0x5988('0x30')](_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x1a')][_0x5988('0xf')]());for(const {name:_0x23883c,data:_0x27d7a7}of _0x5e09b7){const {group:_0x2bc0b6,id:_0x6c61d8,subType:_0x52186c}=_0x20dbdf['_splitMarkerName'](_0x23883c);if('suggestion'!=_0x2bc0b6)continue;if(null!=_0x27d7a7[_0x5988('0x35')])continue;const _0x1a2733=_0x20dbdf['getSuggestion'](_0x6c61d8);this[_0x5988('0x5e')][_0x5988('0xe')](_0x52186c)&&this[_0x5988('0x1f')][_0x5988('0x4a')](_0x1a2733);}},{'priority':'low'});const _0x22e349=(_0x3ceedc,_0x6e9913)=>{let _0x1d227d=!0x1;const _0x5da54f=_0x6e9913[_0x5988('0x5d')](_0x3ceedc),_0x150656=_0x3ceedc[_0x5988('0xb')]('table'),_0x1e853d=_0x27fa3c[_0x5988('0x67')](_0x3ceedc);for(const _0x283cf1 of this['_tableSuggestions']){const _0x58b881=_0x283cf1[_0x5988('0x62')],_0x425452=_0x58b881[_0x5988('0x47')](_0x5988('0x4e')),_0x4baedb=_0x58b881[_0x5988('0xc')](_0x425452?0xa:0x5),_0x34f825=_0x4baedb[_0x5988('0x64')](),_0xb6db91=_0x34f825['substr'](0x0,0x3)+_0x5988('0x2a'),_0x268b33='min'+_0x4baedb,_0x41d33e='max'+_0x4baedb;if(!_0x283cf1[_0x5988('0x43')])continue;if(_0x150656!=_0x283cf1[_0x5988('0x36')]()[_0x5988('0x60')][_0x5988('0xb')](_0x5988('0x54')))continue;if(_0x283cf1['isIntersectingWithRange'](_0x5da54f))continue;const _0x82e995=_0x3ceedc[_0x5988('0x82')](_0xb6db91)?_0x3ceedc[_0x5988('0x5a')](_0xb6db91)-0x1:0x0,_0x1e1847=this[_0x5988('0x11')](_0x283cf1),_0x5149ee=_0x1e1847[_0x268b33],_0x5519e4=_0x1e1847[_0x41d33e];_0x5149ee<=_0x1e853d[_0x34f825]&&_0x1e853d[_0x34f825]+_0x82e995<=_0x5519e4&&(_0x283cf1[_0x5988('0x3b')](_0x5da54f),_0x1d227d=!0x0);}return _0x1d227d;};_0x33e7f0['model'][_0x5988('0x7e')][_0x5988('0x58')](_0xde19ba=>{let _0x45cdad=!0x1;for(const _0x55d79b of _0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['differ'][_0x5988('0xa')]())if(_0x5988('0x37')==_0x55d79b[_0x5988('0x29')]){if('tableRow'==_0x55d79b[_0x5988('0x40')])for(const _0x4146a7 of _0x55d79b[_0x5988('0x83')]['nodeAfter'][_0x5988('0x1d')]())_0x45cdad=_0x45cdad||_0x22e349(_0x4146a7,_0xde19ba);else _0x5988('0x3a')==_0x55d79b[_0x5988('0x40')]&&(_0x45cdad=_0x45cdad||_0x22e349(_0x55d79b[_0x5988('0x83')]['nodeAfter'],_0xde19ba));}return _0x45cdad;});}[_0x5988('0x11')](_0x3eb705){return this['_getCoordsForCells'](_0x3eb705[_0x5988('0x52')]()[_0x5988('0x22')](_0x27e218=>_0x27e218[_0x5988('0x60')][_0x5988('0x32')]));}}function le(_0x3c9284){return Array['from'](new Set(_0x3c9284)[_0x5988('0x80')]());}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25f0=['TableCaptionEditing','get','toggleTableCaption','afterInit','TrackChangesEditing','plugins','enableCommand','editor','requires','has'];(function(_0x3c41f3,_0x25f020){const _0x5b9cea=function(_0x453a7c){while(--_0x453a7c){_0x3c41f3['push'](_0x3c41f3['shift']());}};_0x5b9cea(++_0x25f020);}(_0x25f0,0x161));const _0x5b9c=function(_0x3c41f3,_0x25f020){_0x3c41f3=_0x3c41f3-0x0;let _0x5b9cea=_0x25f0[_0x3c41f3];return _0x5b9cea;};import{Plugin as _0x250d69}from'ckeditor5/src/core';import _0xc0c2e9 from'./table';export default class bt extends _0x250d69{static get[_0x5b9c('0x5')](){return[_0xc0c2e9];}[_0x5b9c('0x0')](){const _0x4f0d6f=this[_0x5b9c('0x4')];if(!_0x4f0d6f['plugins'][_0x5b9c('0x6')](_0x5b9c('0x7')))return;_0x4f0d6f[_0x5b9c('0x2')][_0x5b9c('0x8')](_0x5b9c('0x1'))[_0x5b9c('0x3')](_0x5b9c('0x9'));}}
23
+ const _0x5a09=['get','enableCommand','requires','has','plugins','TrackChangesEditing'];(function(_0x5796d8,_0x5a09c8){const _0x23e14e=function(_0x494bd1){while(--_0x494bd1){_0x5796d8['push'](_0x5796d8['shift']());}};_0x23e14e(++_0x5a09c8);}(_0x5a09,0x1d4));const _0x23e1=function(_0x5796d8,_0x5a09c8){_0x5796d8=_0x5796d8-0x0;let _0x23e14e=_0x5a09[_0x5796d8];return _0x23e14e;};import{Plugin as _0x3c2fe6}from'ckeditor5/src/core';import _0x4d2fa4 from'./table';export default class It extends _0x3c2fe6{static get[_0x23e1('0x2')](){return[_0x4d2fa4];}['afterInit'](){const _0x5bfd65=this['editor'];if(!_0x5bfd65[_0x23e1('0x4')][_0x23e1('0x3')]('TableCaptionEditing'))return;_0x5bfd65['plugins'][_0x23e1('0x0')](_0x23e1('0x5'))[_0x23e1('0x1')]('toggleTableCaption');}}