@ckeditor/ckeditor5-track-changes 35.4.0 → 36.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2909=['TrackChangesEditing','get','plugins','track-changes-discard-suggestion-not-found','_suggestions','isEnabled','editor','refresh'];(function(_0x3f9aa4,_0x29093f){const _0x4a4632=function(_0x3d2c3a){while(--_0x3d2c3a){_0x3f9aa4['push'](_0x3f9aa4['shift']());}};_0x4a4632(++_0x29093f);}(_0x2909,0x16f));const _0x4a46=function(_0x3f9aa4,_0x29093f){_0x3f9aa4=_0x3f9aa4-0x0;let _0x4a4632=_0x2909[_0x3f9aa4];return _0x4a4632;};import{Command as _0x234fb5}from'ckeditor5/src/core';import{CKEditorError as _0x1de2a8}from'ckeditor5/src/utils';export default class x extends _0x234fb5{constructor(_0x5bdf4d,_0x493db7){super(_0x5bdf4d),this['_suggestions']=_0x493db7,this['refresh']();}[_0x4a46('0x0')](){this[_0x4a46('0x6')]=!0x0;}['execute'](_0x10dde9){const _0x227242=this[_0x4a46('0x5')]['get'](_0x10dde9);if(!_0x227242)throw new _0x1de2a8(_0x4a46('0x4'),this);this[_0x4a46('0x7')][_0x4a46('0x3')][_0x4a46('0x2')](_0x4a46('0x1'))['discardSuggestion'](_0x227242);}}
23
+ const _0x204e=['execute','get','isEnabled','TrackChangesEditing','refresh','discardSuggestion','_suggestions'];(function(_0x62de29,_0x204ee3){const _0x1fa1b7=function(_0x2db483){while(--_0x2db483){_0x62de29['push'](_0x62de29['shift']());}};_0x1fa1b7(++_0x204ee3);}(_0x204e,0x7d));const _0x1fa1=function(_0x62de29,_0x204ee3){_0x62de29=_0x62de29-0x0;let _0x1fa1b7=_0x204e[_0x62de29];return _0x1fa1b7;};import{Command as _0xe894a4}from'ckeditor5/src/core';import{CKEditorError as _0x555366}from'ckeditor5/src/utils';export default class x extends _0xe894a4{constructor(_0x3e7844,_0x563bc4){super(_0x3e7844),this[_0x1fa1('0x0')]=_0x563bc4,this[_0x1fa1('0x5')]();}[_0x1fa1('0x5')](){this[_0x1fa1('0x3')]=!0x0;}[_0x1fa1('0x1')](_0xa1797e){const _0x2e2c7f=this[_0x1fa1('0x0')][_0x1fa1('0x2')](_0xa1797e);if(!_0x2e2c7f)throw new _0x555366('track-changes-discard-suggestion-not-found',this);this['editor']['plugins']['get'](_0x1fa1('0x4'))[_0x1fa1('0x6')](_0x2e2c7f);}}
@@ -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 _0x39bf=['isEnabled','some','_suggestions','editor','from','isInContent','refresh','_command','values'];(function(_0x40e9a8,_0x39bfe9){const _0x2398cb=function(_0x39ab1a){while(--_0x39ab1a){_0x40e9a8['push'](_0x40e9a8['shift']());}};_0x2398cb(++_0x39bfe9);}(_0x39bf,0x174));const _0x2398=function(_0x40e9a8,_0x39bfe9){_0x40e9a8=_0x40e9a8-0x0;let _0x2398cb=_0x39bf[_0x40e9a8];return _0x2398cb;};import{Command as _0x56814a}from'ckeditor5/src/core';import{sortSuggestions as _0x4d7905,executeCommandForSuggestions as _0x347504}from'../utils/utils';export default class U extends _0x56814a{constructor(_0x364c19,_0x8b1bc9,_0xa0c15c){super(_0x364c19),this[_0x2398('0x4')]=_0x8b1bc9,this[_0x2398('0x8')]=_0xa0c15c,this[_0x2398('0x3')]();}[_0x2398('0x3')](){const _0xe507b7=Array['from'](this[_0x2398('0x8')]['values']())[_0x2398('0x7')](_0x377192=>_0x377192[_0x2398('0x2')]);this['isEnabled']=this[_0x2398('0x4')][_0x2398('0x6')]&&_0xe507b7;}['execute'](){const _0x2bc0e5=_0x4d7905(Array[_0x2398('0x1')](this['_suggestions'][_0x2398('0x5')]()));_0x347504(this[_0x2398('0x0')]['model'],this[_0x2398('0x4')],_0x2bc0e5);}}
23
+ const _0x6f1b=['_suggestions','from','editor','_command','refresh','values','some','isInContent','isEnabled'];(function(_0x34861c,_0x6f1bc2){const _0x2efd9f=function(_0x1c9840){while(--_0x1c9840){_0x34861c['push'](_0x34861c['shift']());}};_0x2efd9f(++_0x6f1bc2);}(_0x6f1b,0x140));const _0x2efd=function(_0x34861c,_0x6f1bc2){_0x34861c=_0x34861c-0x0;let _0x2efd9f=_0x6f1b[_0x34861c];return _0x2efd9f;};import{Command as _0x2d983f}from'ckeditor5/src/core';import{sortSuggestions as _0x222fbe,executeCommandForSuggestions as _0x35438b}from'../utils/utils';export default class U extends _0x2d983f{constructor(_0x3a0951,_0x540f66,_0x9c9b19){super(_0x3a0951),this['_command']=_0x540f66,this[_0x2efd('0x4')]=_0x9c9b19,this[_0x2efd('0x8')]();}[_0x2efd('0x8')](){const _0x1626f8=Array[_0x2efd('0x5')](this[_0x2efd('0x4')][_0x2efd('0x0')]())[_0x2efd('0x1')](_0x54bc03=>_0x54bc03[_0x2efd('0x2')]);this['isEnabled']=this['_command'][_0x2efd('0x3')]&&_0x1626f8;}['execute'](){const _0x86ede4=_0x222fbe(Array[_0x2efd('0x5')](this[_0x2efd('0x4')][_0x2efd('0x0')]()));_0x35438b(this[_0x2efd('0x6')]['model'],this[_0x2efd('0x7')],_0x86ede4);}}
@@ -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 _0x45ae=['model','_command','values','size','_selectedSuggestions','_suggestions','from','isEnabled','refresh','editor','execute','document','selection'];(function(_0x5562e6,_0x45aeb8){const _0x3b7bb1=function(_0x5d7834){while(--_0x5d7834){_0x5562e6['push'](_0x5562e6['shift']());}};_0x3b7bb1(++_0x45aeb8);}(_0x45ae,0x1cb));const _0x3b7b=function(_0x5562e6,_0x45aeb8){_0x5562e6=_0x5562e6-0x0;let _0x3b7bb1=_0x45ae[_0x5562e6];return _0x3b7bb1;};import{Command as _0x492249}from'ckeditor5/src/core';import{sortSuggestions as _0x2f91ae,getSelectedSuggestions as _0x321165,executeCommandForSuggestions as _0x449fa5}from'../utils/utils';export default class j extends _0x492249{constructor(_0x1ae7e6,_0x1964b8,_0x3347d8){super(_0x1ae7e6),this[_0x3b7b('0xa')]=_0x1964b8,this[_0x3b7b('0x1')]=_0x3347d8,this[_0x3b7b('0x0')]=new Set(),this[_0x3b7b('0x4')]();}[_0x3b7b('0x4')](){const _0x649dd5=this[_0x3b7b('0x5')]['model'][_0x3b7b('0x7')][_0x3b7b('0x8')],_0x305724=Array[_0x3b7b('0x2')](this[_0x3b7b('0x1')][_0x3b7b('0xb')]());this[_0x3b7b('0x0')]=_0x321165(_0x649dd5,_0x305724),this[_0x3b7b('0x3')]=this[_0x3b7b('0xa')][_0x3b7b('0x3')]&&!!this[_0x3b7b('0x0')][_0x3b7b('0xc')];}[_0x3b7b('0x6')](){const _0x154ae0=_0x2f91ae(Array[_0x3b7b('0x2')](this[_0x3b7b('0x0')]));_0x449fa5(this['editor'][_0x3b7b('0x9')],this[_0x3b7b('0xa')],_0x154ae0);}}
23
+ const _0x533b=['selection','size','isEnabled','model','refresh','_command','editor','execute','from','_selectedSuggestions','_suggestions','values','document'];(function(_0x313498,_0x533bfe){const _0x40946f=function(_0x768fa0){while(--_0x768fa0){_0x313498['push'](_0x313498['shift']());}};_0x40946f(++_0x533bfe);}(_0x533b,0x132));const _0x4094=function(_0x313498,_0x533bfe){_0x313498=_0x313498-0x0;let _0x40946f=_0x533b[_0x313498];return _0x40946f;};import{Command as _0x2cb900}from'ckeditor5/src/core';import{sortSuggestions as _0x1bcd38,getSelectedSuggestions as _0x2f55c0,executeCommandForSuggestions as _0x15cdee}from'../utils/utils';export default class j extends _0x2cb900{constructor(_0x1ab89e,_0x4c3d5d,_0x2f58ac){super(_0x1ab89e),this[_0x4094('0xb')]=_0x4c3d5d,this[_0x4094('0x3')]=_0x2f58ac,this[_0x4094('0x2')]=new Set(),this[_0x4094('0xa')]();}[_0x4094('0xa')](){const _0xb3689f=this[_0x4094('0xc')][_0x4094('0x9')][_0x4094('0x5')][_0x4094('0x6')],_0x1c57d7=Array[_0x4094('0x1')](this[_0x4094('0x3')][_0x4094('0x4')]());this[_0x4094('0x2')]=_0x2f55c0(_0xb3689f,_0x1c57d7),this[_0x4094('0x8')]=this[_0x4094('0xb')]['isEnabled']&&!!this[_0x4094('0x2')][_0x4094('0x7')];}[_0x4094('0x0')](){const _0x4505ce=_0x1bcd38(Array['from'](this[_0x4094('0x2')]));_0x15cdee(this['editor'][_0x4094('0x9')],this[_0x4094('0xb')],_0x4505ce);}}
@@ -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 _0x20ce=['refresh','affectsData','isEnabled','value','TrackChangesCommand','execute','commands','editor','_disableUnsupportedCommands','has','_enableCommands','_enabledCommands'];(function(_0xd2276b,_0x20ceab){const _0x5dcbf4=function(_0x59dd81){while(--_0x59dd81){_0xd2276b['push'](_0xd2276b['shift']());}};_0x5dcbf4(++_0x20ceab);}(_0x20ce,0x9b));const _0x5dcb=function(_0xd2276b,_0x20ceab){_0xd2276b=_0xd2276b-0x0;let _0x5dcbf4=_0x20ce[_0xd2276b];return _0x5dcbf4;};import{Command as _0x588db7}from'ckeditor5/src/core';export default class N extends _0x588db7{constructor(_0x3758ba,_0x2d0493){super(_0x3758ba),this[_0x5dcb('0x0')]=_0x2d0493,this['value']=!0x1,this[_0x5dcb('0x1')]();}[_0x5dcb('0x1')](){this[_0x5dcb('0x3')]=!0x0;}[_0x5dcb('0x6')](){this[_0x5dcb('0x4')]=!this['value'],this[_0x5dcb('0x4')]?this[_0x5dcb('0x9')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x2ccd7e of this[_0x5dcb('0x8')]['commands'][_0x5dcb('0x7')]())_0x2ccd7e[_0x5dcb('0x2')]&&!this[_0x5dcb('0x0')][_0x5dcb('0xa')](_0x2ccd7e)&&_0x2ccd7e['forceDisabled'](_0x5dcb('0x5'));}[_0x5dcb('0xb')](){for(const _0x34f17b of this[_0x5dcb('0x8')][_0x5dcb('0x7')][_0x5dcb('0x7')]())_0x34f17b[_0x5dcb('0x2')]&&!this[_0x5dcb('0x0')][_0x5dcb('0xa')](_0x34f17b)&&_0x34f17b['clearForceDisabled'](_0x5dcb('0x5'));}}
23
+ const _0x45f6=['_disableUnsupportedCommands','_enableCommands','editor','TrackChangesCommand','execute','value','refresh','_enabledCommands','affectsData','commands','isEnabled','forceDisabled','clearForceDisabled'];(function(_0x344299,_0x45f659){const _0x5b87ca=function(_0x46d64a){while(--_0x46d64a){_0x344299['push'](_0x344299['shift']());}};_0x5b87ca(++_0x45f659);}(_0x45f6,0x13f));const _0x5b87=function(_0x344299,_0x45f659){_0x344299=_0x344299-0x0;let _0x5b87ca=_0x45f6[_0x344299];return _0x5b87ca;};import{Command as _0x4a1ceb}from'ckeditor5/src/core';export default class N extends _0x4a1ceb{constructor(_0x76e053,_0x16b708){super(_0x76e053),this[_0x5b87('0x0')]=_0x16b708,this[_0x5b87('0xb')]=!0x1,this[_0x5b87('0xc')]();}[_0x5b87('0xc')](){this[_0x5b87('0x3')]=!0x0;}[_0x5b87('0xa')](){this[_0x5b87('0xb')]=!this['value'],this[_0x5b87('0xb')]?this[_0x5b87('0x6')]():this[_0x5b87('0x7')]();}[_0x5b87('0x6')](){for(const _0x270a21 of this['editor'][_0x5b87('0x2')]['commands']())_0x270a21['affectsData']&&!this[_0x5b87('0x0')]['has'](_0x270a21)&&_0x270a21[_0x5b87('0x4')](_0x5b87('0x9'));}['_enableCommands'](){for(const _0x23bafb of this[_0x5b87('0x8')][_0x5b87('0x2')][_0x5b87('0x2')]())_0x23bafb[_0x5b87('0x1')]&&!this[_0x5b87('0x0')]['has'](_0x23bafb)&&_0x23bafb[_0x5b87('0x5')](_0x5b87('0x9'));}}
package/src/index.js CHANGED
@@ -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
  *
@@ -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 _0x30b3=['AlignmentEditing','FORMAT_JUSTIFY_TEXT','editor','left','locale','document','get','schema','value','center','checkAttribute','has','change','justify','model','getAttribute','FORMAT_ALIGN_TO_RIGHT','right','commandName','markBlockFormat','*Format:*\x20%0','plugins','alignment','enableCommand','registerDescriptionCallback','afterInit','getSelectedBlocks','selection','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','filter'];(function(_0x1ded47,_0x30b318){const _0x23afac=function(_0x4fa743){while(--_0x4fa743){_0x1ded47['push'](_0x1ded47['shift']());}};_0x23afac(++_0x30b318);}(_0x30b3,0xe1));const _0x23af=function(_0x1ded47,_0x30b318){_0x1ded47=_0x1ded47-0x0;let _0x23afac=_0x30b3[_0x1ded47];return _0x23afac;};import{Plugin as _0x483866}from'ckeditor5/src/core';import{getTranslation as _0x32fab2}from'../utils/common-translations';export default class E extends _0x483866{[_0x23af('0x11')](){const _0x5bdaf8=this[_0x23af('0x19')],_0x3a13fa=_0x5bdaf8[_0x23af('0x1b')];if(!_0x5bdaf8[_0x23af('0xd')][_0x23af('0x3')](_0x23af('0x17')))return;const _0x57b51b=_0x5bdaf8['plugins'][_0x23af('0x1d')](_0x23af('0x15'));_0x57b51b[_0x23af('0xf')](_0x23af('0xe'),(_0xd8f1ff,_0x27fa71={})=>{let _0x4bdf85=_0x27fa71[_0x23af('0x0')];_0x27fa71[_0x23af('0x0')]||(_0x4bdf85='ltr'===_0x5bdaf8[_0x23af('0x1b')]['contentLanguageDirection']?_0x23af('0x1a'):_0x23af('0x9'));const _0x221807=Array['from'](this[_0x23af('0x19')]['model'][_0x23af('0x1c')][_0x23af('0x13')][_0x23af('0x12')]())[_0x23af('0x16')](_0x2cf923=>function(_0x690ff0,_0x322589,_0x49faeb){const _0x219174=_0x690ff0[_0x23af('0x7')]('alignment')||null;return _0x322589[_0x23af('0x2')](_0x690ff0,'alignment')&&_0x49faeb!=_0x219174;}(_0x2cf923,this[_0x23af('0x19')][_0x23af('0x6')][_0x23af('0x1e')],_0x4bdf85));_0x5bdaf8[_0x23af('0x6')][_0x23af('0x4')](()=>{for(const _0x1c3b9f of _0x221807)_0x57b51b[_0x23af('0xb')](_0x1c3b9f,{'commandName':'alignment','commandParams':[{'value':_0x4bdf85}]});});}),_0x57b51b['_descriptionFactory'][_0x23af('0x10')](_0x2389cf=>{const {data:_0x452a1d}=_0x2389cf;if(_0x452a1d&&_0x23af('0xe')==_0x452a1d[_0x23af('0xa')]){const _0x212ad8=_0x452a1d['commandParams'][0x0]['value'];return{'type':'format','content':_0x32fab2(_0x3a13fa,_0x23af('0xc'),function(_0xe66fff){switch(_0xe66fff){case _0x23af('0x1a'):return _0x32fab2(_0x3a13fa,_0x23af('0x14'));case _0x23af('0x9'):return _0x32fab2(_0x3a13fa,_0x23af('0x8'));case _0x23af('0x1'):return _0x32fab2(_0x3a13fa,'FORMAT_ALIGN_TO_CENTER');case _0x23af('0x5'):return _0x32fab2(_0x3a13fa,_0x23af('0x18'));}}(_0x212ad8))};}});}}
23
+ const _0x515c=['has','format','getAttribute','alignment','FORMAT_ALIGN_TO_RIGHT','enableCommand','TrackChangesEditing','get','plugins','right','selection','justify','FORMAT_ALIGN_TO_LEFT','editor','center','_descriptionFactory','markBlockFormat','model','getSelectedBlocks','change','value','commandName','registerDescriptionCallback','filter','left','from','afterInit','document','locale','checkAttribute','commandParams'];(function(_0x304cdc,_0x515c7b){const _0x350a9b=function(_0x548238){while(--_0x548238){_0x304cdc['push'](_0x304cdc['shift']());}};_0x350a9b(++_0x515c7b);}(_0x515c,0x70));const _0x350a=function(_0x304cdc,_0x515c7b){_0x304cdc=_0x304cdc-0x0;let _0x350a9b=_0x515c[_0x304cdc];return _0x350a9b;};import{Plugin as _0x3b31bb}from'ckeditor5/src/core';import{getTranslation as _0x5f46db}from'../utils/common-translations';export default class E extends _0x3b31bb{[_0x350a('0x7')](){const _0x59ac81=this[_0x350a('0x19')],_0x25c55f=_0x59ac81[_0x350a('0x9')];if(!_0x59ac81[_0x350a('0x14')][_0x350a('0xc')]('AlignmentEditing'))return;const _0x595aaa=_0x59ac81[_0x350a('0x14')][_0x350a('0x13')](_0x350a('0x12'));_0x595aaa[_0x350a('0x11')](_0x350a('0xf'),(_0x1ca167,_0x3b7e51={})=>{let _0x162da9=_0x3b7e51[_0x350a('0x1')];_0x3b7e51['value']||(_0x162da9='ltr'===_0x59ac81[_0x350a('0x9')]['contentLanguageDirection']?_0x350a('0x5'):_0x350a('0x15'));const _0x16192f=Array[_0x350a('0x6')](this[_0x350a('0x19')][_0x350a('0x1d')][_0x350a('0x8')][_0x350a('0x16')][_0x350a('0x1e')]())[_0x350a('0x4')](_0x5459d2=>function(_0x3e8452,_0x2ee2fd,_0x79337f){const _0x4ae928=_0x3e8452[_0x350a('0xe')]('alignment')||null;return _0x2ee2fd[_0x350a('0xa')](_0x3e8452,_0x350a('0xf'))&&_0x79337f!=_0x4ae928;}(_0x5459d2,this['editor']['model']['schema'],_0x162da9));_0x59ac81[_0x350a('0x1d')][_0x350a('0x0')](()=>{for(const _0x16a8cc of _0x16192f)_0x595aaa[_0x350a('0x1c')](_0x16a8cc,{'commandName':'alignment','commandParams':[{'value':_0x162da9}]});});}),_0x595aaa[_0x350a('0x1b')][_0x350a('0x3')](_0x5c61f3=>{const {data:_0x4a87b6}=_0x5c61f3;if(_0x4a87b6&&_0x350a('0xf')==_0x4a87b6[_0x350a('0x2')]){const _0x46b811=_0x4a87b6[_0x350a('0xb')][0x0][_0x350a('0x1')];return{'type':_0x350a('0xd'),'content':_0x5f46db(_0x25c55f,'*Format:*\x20%0',function(_0x543a60){switch(_0x543a60){case _0x350a('0x5'):return _0x5f46db(_0x25c55f,_0x350a('0x18'));case'right':return _0x5f46db(_0x25c55f,_0x350a('0x10'));case _0x350a('0x1a'):return _0x5f46db(_0x25c55f,'FORMAT_ALIGN_TO_CENTER');case _0x350a('0x17'):return _0x5f46db(_0x25c55f,'FORMAT_JUSTIFY_TEXT');}}(_0x46b811))};}});}}
@@ -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 _0x59bd=['_descriptionFactory','*Format:*\x20%0','getRanges','superscript','change','markInlineFormat','FORMAT_STRIKETHROUGH','subscript','value','FORMAT_SUPERSCRIPT','ItalicEditing','has','SubscriptEditing','format','model','get','UnderlineEditing','bold','isCollapsed','document','locale','strikethrough','italic','commandParams','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','plugins','commands','toLowerCase','enableCommand','FORMAT_SUBSCRIPT','TrackChangesEditing','FORMAT_ITALIC','registerDescriptionCallback','selection','afterInit','CodeEditing','editor','BoldEditing','forceValue'];(function(_0x3275c7,_0x59bd32){const _0xdbd189=function(_0x13159f){while(--_0x13159f){_0x3275c7['push'](_0x3275c7['shift']());}};_0xdbd189(++_0x59bd32);}(_0x59bd,0x138));const _0xdbd1=function(_0x3275c7,_0x59bd32){_0x3275c7=_0x3275c7-0x0;let _0xdbd189=_0x59bd[_0x3275c7];return _0xdbd189;};import{Plugin as _0x55459a}from'ckeditor5/src/core';import{getTranslation as _0x5c7003}from'../utils/common-translations';import{getRangesWithAttribute as _0x3ab753}from'./utils';const Ht=[_0xdbd1('0x6'),_0xdbd1('0x12'),_0xdbd1('0x18'),_0xdbd1('0x4'),'StrikethroughEditing',_0xdbd1('0x14'),'SuperscriptEditing'];export default class O extends _0x55459a{[_0xdbd1('0x3')](){const _0x52da83=this[_0xdbd1('0x5')],_0x3f51c7=_0x52da83[_0xdbd1('0x16')],_0x5014a3=_0x52da83[_0xdbd1('0x22')][_0xdbd1('0x17')](_0xdbd1('0x27')),_0x5719d3=_0x52da83[_0xdbd1('0x1c')];for(const _0x5fef8a of Ht){if(!_0x52da83['plugins'][_0xdbd1('0x13')](_0x5fef8a))continue;const _0x5ad507=_0x5fef8a['slice'](0x0,-0x7)[_0xdbd1('0x24')](),_0x19901c=_0x52da83[_0xdbd1('0x23')][_0xdbd1('0x17')](_0x5ad507);_0x5014a3[_0xdbd1('0x25')](_0x5ad507,(_0x27a945,_0x3f6508={})=>{const _0x4aaa89=_0x3f51c7[_0xdbd1('0x1b')][_0xdbd1('0x2')];if(_0x4aaa89[_0xdbd1('0x1a')])return void _0x27a945(_0x3f6508);const _0x4da68b=void 0x0!==_0x3f6508[_0xdbd1('0x7')]?_0x3f6508[_0xdbd1('0x7')]:!_0x19901c[_0xdbd1('0x10')];_0x3f51c7[_0xdbd1('0xc')](()=>{const _0x201c8a=Array['from'](_0x4aaa89[_0xdbd1('0xa')]());for(const _0x2462c1 of _0x201c8a){const _0x1b1a3b=_0x4da68b?[_0x2462c1]:_0x3ab753(_0x5ad507,_0x2462c1,_0x3f51c7);for(const _0x582077 of _0x1b1a3b)_0x5014a3[_0xdbd1('0xd')](_0x582077,{'commandName':_0x5ad507,'commandParams':[{'forceValue':_0x4da68b}]});}});});}function _0x34b3e4(_0x2a52cd,_0x5a33dc){_0x5014a3[_0xdbd1('0x8')][_0xdbd1('0x1')](_0x526060=>{const {data:_0x3b8eef}=_0x526060;if(_0x3b8eef&&_0x3b8eef['commandName']===_0x2a52cd)return _0x3b8eef[_0xdbd1('0x1f')][0x0][_0xdbd1('0x7')]?{'type':_0xdbd1('0x15'),'content':_0x5c7003(_0x5719d3,_0xdbd1('0x9'),_0x5a33dc)}:{'type':_0xdbd1('0x15'),'content':_0x5c7003(_0x5719d3,_0xdbd1('0x20'),_0x5a33dc)};});}_0x34b3e4(_0xdbd1('0x19'),_0x5c7003(_0x5719d3,'FORMAT_BOLD')),_0x34b3e4(_0xdbd1('0x1e'),_0x5c7003(_0x5719d3,_0xdbd1('0x0'))),_0x34b3e4('underline',_0x5c7003(_0x5719d3,_0xdbd1('0x21'))),_0x34b3e4('code',_0x5c7003(_0x5719d3,'FORMAT_CODE')),_0x34b3e4(_0xdbd1('0x1d'),_0x5c7003(_0x5719d3,_0xdbd1('0xe'))),_0x34b3e4(_0xdbd1('0xf'),_0x5c7003(_0x5719d3,_0xdbd1('0x26'))),_0x34b3e4(_0xdbd1('0xb'),_0x5c7003(_0x5719d3,_0xdbd1('0x11')));}}
23
+ const _0x390e=['editor','TrackChangesEditing','slice','FORMAT_UNDERLINE','FORMAT_CODE','format','plugins','_descriptionFactory','FORMAT_SUPERSCRIPT','subscript','model','enableCommand','FORMAT_SUBSCRIPT','commands','CodeEditing','afterInit','strikethrough','FORMAT_STRIKETHROUGH','BoldEditing','superscript','*Remove\x20format:*\x20%0','locale','code','getRanges','forceValue','registerDescriptionCallback','SuperscriptEditing','value','commandParams','from','*Format:*\x20%0','underline','FORMAT_ITALIC','toLowerCase','document','StrikethroughEditing','bold','SubscriptEditing','FORMAT_BOLD','has'];(function(_0x567b97,_0x390ed3){const _0x1d1c67=function(_0x506d7e){while(--_0x506d7e){_0x567b97['push'](_0x567b97['shift']());}};_0x1d1c67(++_0x390ed3);}(_0x390e,0x1cf));const _0x1d1c=function(_0x567b97,_0x390ed3){_0x567b97=_0x567b97-0x0;let _0x1d1c67=_0x390e[_0x567b97];return _0x1d1c67;};import{Plugin as _0x349512}from'ckeditor5/src/core';import{getTranslation as _0x2f0101}from'../utils/common-translations';import{getRangesWithAttribute as _0x5559c7}from'./utils';const Kt=[_0x1d1c('0x23'),'ItalicEditing','UnderlineEditing',_0x1d1c('0x1f'),_0x1d1c('0xc'),_0x1d1c('0xe'),_0x1d1c('0x3')];export default class O extends _0x349512{[_0x1d1c('0x20')](){const _0x39e32e=this[_0x1d1c('0x11')],_0x34a1dd=_0x39e32e[_0x1d1c('0x1b')],_0x5538e1=_0x39e32e[_0x1d1c('0x17')]['get'](_0x1d1c('0x12')),_0x21a784=_0x39e32e[_0x1d1c('0x26')];for(const _0x8a89c6 of Kt){if(!_0x39e32e['plugins'][_0x1d1c('0x10')](_0x8a89c6))continue;const _0x4a60b0=_0x8a89c6[_0x1d1c('0x13')](0x0,-0x7)[_0x1d1c('0xa')](),_0xd9aabe=_0x39e32e[_0x1d1c('0x1e')]['get'](_0x4a60b0);_0x5538e1[_0x1d1c('0x1c')](_0x4a60b0,(_0x53e38c,_0x44bd12={})=>{const _0x2ad0bb=_0x34a1dd[_0x1d1c('0xb')]['selection'];if(_0x2ad0bb['isCollapsed'])return void _0x53e38c(_0x44bd12);const _0x3e210b=void 0x0!==_0x44bd12[_0x1d1c('0x1')]?_0x44bd12['forceValue']:!_0xd9aabe[_0x1d1c('0x4')];_0x34a1dd['change'](()=>{const _0xa56b35=Array[_0x1d1c('0x6')](_0x2ad0bb[_0x1d1c('0x0')]());for(const _0x4e12ad of _0xa56b35){const _0x4ef9c9=_0x3e210b?[_0x4e12ad]:_0x5559c7(_0x4a60b0,_0x4e12ad,_0x34a1dd);for(const _0x450b3a of _0x4ef9c9)_0x5538e1['markInlineFormat'](_0x450b3a,{'commandName':_0x4a60b0,'commandParams':[{'forceValue':_0x3e210b}]});}});});}function _0x4669cd(_0x25d6cf,_0x1683bc){_0x5538e1[_0x1d1c('0x18')][_0x1d1c('0x2')](_0x2954b7=>{const {data:_0x4fdb29}=_0x2954b7;if(_0x4fdb29&&_0x4fdb29['commandName']===_0x25d6cf)return _0x4fdb29[_0x1d1c('0x5')][0x0][_0x1d1c('0x1')]?{'type':_0x1d1c('0x16'),'content':_0x2f0101(_0x21a784,_0x1d1c('0x7'),_0x1683bc)}:{'type':'format','content':_0x2f0101(_0x21a784,_0x1d1c('0x25'),_0x1683bc)};});}_0x4669cd(_0x1d1c('0xd'),_0x2f0101(_0x21a784,_0x1d1c('0xf'))),_0x4669cd('italic',_0x2f0101(_0x21a784,_0x1d1c('0x9'))),_0x4669cd(_0x1d1c('0x8'),_0x2f0101(_0x21a784,_0x1d1c('0x14'))),_0x4669cd(_0x1d1c('0x27'),_0x2f0101(_0x21a784,_0x1d1c('0x15'))),_0x4669cd(_0x1d1c('0x21'),_0x2f0101(_0x21a784,_0x1d1c('0x22'))),_0x4669cd(_0x1d1c('0x1a'),_0x2f0101(_0x21a784,_0x1d1c('0x1d'))),_0x4669cd(_0x1d1c('0x24'),_0x2f0101(_0x21a784,_0x1d1c('0x19')));}}
@@ -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 _0x4aa5=['change','forceValue','BlockQuoteEditing','get','_descriptionFactory','getSelectedBlocks','$root','plugins','from','format','name','*Format:*\x20%0','commands','afterInit','has','blockQuote','filter','value','locale','selection','registerDescriptionCallback','editor','*Remove\x20format:*\x20%0','checkChild','commandParams','enableCommand','model','schema'];(function(_0x175f9e,_0x4aa511){const _0x425720=function(_0xa4bb66){while(--_0xa4bb66){_0x175f9e['push'](_0x175f9e['shift']());}};_0x425720(++_0x4aa511);}(_0x4aa5,0xc6));const _0x4257=function(_0x175f9e,_0x4aa511){_0x175f9e=_0x175f9e-0x0;let _0x425720=_0x4aa5[_0x175f9e];return _0x425720;};import{Plugin as _0x42d70e}from'ckeditor5/src/core';import{getTranslation as _0x32fdbf}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xfcb5ce}from'../utils/utils';export default class F extends _0x42d70e{[_0x4257('0xb')](){const _0x195932=this[_0x4257('0x13')],_0x537dfd=_0x195932[_0x4257('0x10')];if(!_0x195932[_0x4257('0x5')][_0x4257('0xc')](_0x4257('0x0')))return;const _0x53bf31=_0x195932[_0x4257('0x5')]['get']('TrackChangesEditing'),_0x1198b3=this['editor'][_0x4257('0xa')][_0x4257('0x1')]('blockQuote');_0x53bf31[_0x4257('0x17')](_0x4257('0xd'),(_0x4a68e9,_0x244d4f={})=>{const _0x3cb4cd=this['editor'][_0x4257('0x18')]['document'][_0x4257('0x11')],_0x2fb854=_0x244d4f&&void 0x0!==_0x244d4f[_0x4257('0x1b')]?_0x244d4f[_0x4257('0x1b')]:!_0x1198b3[_0x4257('0xf')];let _0x2a5686=[];if(_0x2fb854){const _0x769abd=Array[_0x4257('0x6')](_0x3cb4cd[_0x4257('0x3')]())[_0x4257('0xe')](_0x5b6736=>Kt(_0x5b6736)||function(_0x41b596,_0x6b4fa9){const _0x2ad2da=_0x6b4fa9['checkChild'](_0x41b596['parent'],_0x4257('0xd')),_0x48d092=_0x6b4fa9[_0x4257('0x15')]([_0x4257('0x4'),_0x4257('0xd')],_0x41b596);return _0x2ad2da&&_0x48d092;}(_0x5b6736,this[_0x4257('0x13')]['model'][_0x4257('0x19')]));_0x2a5686=_0xfcb5ce(_0x769abd,_0x195932[_0x4257('0x18')]);}else{const _0x3c7726=Array[_0x4257('0x6')](_0x3cb4cd[_0x4257('0x3')]())[_0x4257('0xe')](_0x1ea192=>Kt(_0x1ea192));_0x2a5686=_0xfcb5ce(_0x3c7726,_0x195932[_0x4257('0x18')]);}_0x195932['model'][_0x4257('0x1a')](()=>{for(const _0x3e77e6 of _0x2a5686)_0x53bf31['markBlockFormat'](_0x3e77e6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x2fb854}]});});}),_0x53bf31[_0x4257('0x2')][_0x4257('0x12')](_0x2fa820=>{const {data:_0x3cb3a0}=_0x2fa820;if(_0x3cb3a0&&_0x4257('0xd')==_0x3cb3a0['commandName']){const _0x564143=_0x32fdbf(_0x537dfd,'ELEMENT_BLOCK_QUOTE');return _0x3cb3a0[_0x4257('0x16')][0x0]['forceValue']?{'type':_0x4257('0x7'),'content':_0x32fdbf(_0x537dfd,_0x4257('0x9'),_0x564143)}:{'type':_0x4257('0x7'),'content':_0x32fdbf(_0x537dfd,_0x4257('0x14'),_0x564143)};}});}}function Kt(_0x2d27ab){return _0x4257('0xd')==_0x2d27ab['parent'][_0x4257('0x8')];}
23
+ const _0x41ab=['ELEMENT_BLOCK_QUOTE','selection','markBlockFormat','has','checkChild','afterInit','plugins','schema','*Format:*\x20%0','commandParams','commandName','commands','_descriptionFactory','BlockQuoteEditing','filter','format','from','model','locale','parent','$root','*Remove\x20format:*\x20%0','get','forceValue','TrackChangesEditing','getSelectedBlocks','name','registerDescriptionCallback','blockQuote','editor'];(function(_0x14cfb7,_0x41abd8){const _0x512c6e=function(_0x2b6dc6){while(--_0x2b6dc6){_0x14cfb7['push'](_0x14cfb7['shift']());}};_0x512c6e(++_0x41abd8);}(_0x41ab,0xbb));const _0x512c=function(_0x14cfb7,_0x41abd8){_0x14cfb7=_0x14cfb7-0x0;let _0x512c6e=_0x41ab[_0x14cfb7];return _0x512c6e;};import{Plugin as _0x240b01}from'ckeditor5/src/core';import{getTranslation as _0x3afaa8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1f3006}from'../utils/utils';export default class F extends _0x240b01{[_0x512c('0x1c')](){const _0x15cfb8=this['editor'],_0x92e9de=_0x15cfb8[_0x512c('0xb')];if(!_0x15cfb8[_0x512c('0x1d')][_0x512c('0x1a')](_0x512c('0x6')))return;const _0x47fad3=_0x15cfb8[_0x512c('0x1d')][_0x512c('0xf')](_0x512c('0x11')),_0xeb8993=this[_0x512c('0x16')][_0x512c('0x4')]['get'](_0x512c('0x15'));_0x47fad3['enableCommand'](_0x512c('0x15'),(_0x1aef18,_0x4b8c1a={})=>{const _0x6da7e0=this['editor']['model']['document'][_0x512c('0x18')],_0x470c95=_0x4b8c1a&&void 0x0!==_0x4b8c1a['forceValue']?_0x4b8c1a[_0x512c('0x10')]:!_0xeb8993['value'];let _0x4ba13c=[];if(_0x470c95){const _0x5e04b3=Array[_0x512c('0x9')](_0x6da7e0[_0x512c('0x12')]())[_0x512c('0x7')](_0x2af78e=>Jt(_0x2af78e)||function(_0x4c48c9,_0x239e8b){const _0x180f7b=_0x239e8b[_0x512c('0x1b')](_0x4c48c9['parent'],'blockQuote'),_0x5028c8=_0x239e8b['checkChild']([_0x512c('0xd'),'blockQuote'],_0x4c48c9);return _0x180f7b&&_0x5028c8;}(_0x2af78e,this[_0x512c('0x16')]['model'][_0x512c('0x0')]));_0x4ba13c=_0x1f3006(_0x5e04b3,_0x15cfb8[_0x512c('0xa')]);}else{const _0x345bbc=Array[_0x512c('0x9')](_0x6da7e0[_0x512c('0x12')]())['filter'](_0x480d6f=>Jt(_0x480d6f));_0x4ba13c=_0x1f3006(_0x345bbc,_0x15cfb8[_0x512c('0xa')]);}_0x15cfb8['model']['change'](()=>{for(const _0x1b81d5 of _0x4ba13c)_0x47fad3[_0x512c('0x19')](_0x1b81d5,{'commandName':_0x512c('0x15'),'commandParams':[{'forceValue':_0x470c95}]});});}),_0x47fad3[_0x512c('0x5')][_0x512c('0x14')](_0xe5c4e8=>{const {data:_0x4be866}=_0xe5c4e8;if(_0x4be866&&_0x512c('0x15')==_0x4be866[_0x512c('0x3')]){const _0x1baf50=_0x3afaa8(_0x92e9de,_0x512c('0x17'));return _0x4be866[_0x512c('0x2')][0x0]['forceValue']?{'type':_0x512c('0x8'),'content':_0x3afaa8(_0x92e9de,_0x512c('0x1'),_0x1baf50)}:{'type':'format','content':_0x3afaa8(_0x92e9de,_0x512c('0xe'),_0x1baf50)};}});}}function Jt(_0x4290a2){return _0x512c('0x15')==_0x4290a2[_0x512c('0xc')][_0x512c('0x13')];}
@@ -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 _0x297a=['afterInit','plugins','editor','commands','get','enableCommand','ckbox'];(function(_0x541166,_0x297aee){const _0x4d69c6=function(_0x39c343){while(--_0x39c343){_0x541166['push'](_0x541166['shift']());}};_0x4d69c6(++_0x297aee);}(_0x297a,0x1c5));const _0x4d69=function(_0x541166,_0x297aee){_0x541166=_0x541166-0x0;let _0x4d69c6=_0x297a[_0x541166];return _0x4d69c6;};import{Plugin as _0x385cb4}from'ckeditor5/src/core';export default class P extends _0x385cb4{[_0x4d69('0x2')](){const _0x285f22=this[_0x4d69('0x4')];_0x285f22[_0x4d69('0x5')][_0x4d69('0x6')](_0x4d69('0x1'))&&_0x285f22[_0x4d69('0x3')][_0x4d69('0x6')]('TrackChangesEditing')[_0x4d69('0x0')](_0x4d69('0x1'));}}
23
+ const _0x500b=['afterInit','commands','TrackChangesEditing','editor','get','plugins','enableCommand','ckbox'];(function(_0x71896b,_0x500bf2){const _0x4296fd=function(_0x51b39a){while(--_0x51b39a){_0x71896b['push'](_0x71896b['shift']());}};_0x4296fd(++_0x500bf2);}(_0x500b,0x81));const _0x4296=function(_0x71896b,_0x500bf2){_0x71896b=_0x71896b-0x0;let _0x4296fd=_0x500b[_0x71896b];return _0x4296fd;};import{Plugin as _0x1f80fa}from'ckeditor5/src/core';export default class P extends _0x1f80fa{[_0x4296('0x7')](){const _0xcf72c9=this[_0x4296('0x2')];_0xcf72c9[_0x4296('0x0')][_0x4296('0x3')](_0x4296('0x6'))&&_0xcf72c9[_0x4296('0x4')][_0x4296('0x3')](_0x4296('0x1'))[_0x4296('0x5')](_0x4296('0x6'));}}
@@ -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 _0x332b=['get','TrackChangesEditing','parent','getSelectedBlocks','find','value','outdentCodeBlock','schema','commands','model','selection','plugins','*Remove\x20format:*\x20%0','formatBlock','isLimit','*Format:*\x20%0','blockName','indentCodeBlock','name','commandName','afterInit','markBlockFormat','checkChild','language','enableCommand','format','_descriptionFactory','ELEMENT_CODE_BLOCK','locale','registerElementLabel','config','commandParams','filter','forceValue','from','change','codeBlock','document','languages','label','CodeBlock'];(function(_0x761602,_0x332bca){const _0x3be733=function(_0x8c207c){while(--_0x8c207c){_0x761602['push'](_0x761602['shift']());}};_0x3be733(++_0x332bca);}(_0x332b,0x82));const _0x3be7=function(_0x761602,_0x332bca){_0x761602=_0x761602-0x0;let _0x3be733=_0x332b[_0x761602];return _0x3be733;};import{Plugin as _0x1123c3}from'ckeditor5/src/core';import{getTranslation as _0x4fa398}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2cca61}from'../utils/utils';export default class G extends _0x1123c3{[_0x3be7('0xd')](){const _0x709633=this['editor'];if(!_0x709633[_0x3be7('0x4')]['has'](_0x3be7('0x21')))return;const _0x9e4d4b=_0x709633[_0x3be7('0x4')][_0x3be7('0x22')](_0x3be7('0x23')),_0x4295f7=_0x709633[_0x3be7('0x15')],_0x5d28db=_0x709633[_0x3be7('0x17')][_0x3be7('0x22')]('codeBlock')[_0x3be7('0x1f')],_0x3560de=_0x709633[_0x3be7('0x1')][_0x3be7('0x22')](_0x3be7('0x1d'));_0x9e4d4b[_0x3be7('0x11')](_0x3be7('0xa')),_0x9e4d4b['enableCommand'](_0x3be7('0x28')),_0x9e4d4b[_0x3be7('0x11')]('codeBlock',(_0x2d0daa,_0x559667={})=>{const _0x171f11=_0x709633[_0x3be7('0x2')],_0xbebe50=_0x709633[_0x3be7('0x2')][_0x3be7('0x1e')][_0x3be7('0x3')],_0x497a0a=_0x559667&&void 0x0!==_0x559667['forceValue']?_0x559667[_0x3be7('0x1a')]:!_0x3560de[_0x3be7('0x27')];let _0x33439a;_0x559667[_0x3be7('0x10')]||(_0x559667[_0x3be7('0x10')]=_0x5d28db[0x0][_0x3be7('0x10')]),_0x33439a=_0x497a0a?Array[_0x3be7('0x1b')](_0xbebe50[_0x3be7('0x25')]())[_0x3be7('0x19')](_0x5e14fb=>oo(_0x5e14fb)||function(_0x3e8875,_0x2aa380){if(_0x3e8875['is']('rootElement')||_0x2aa380[_0x3be7('0x7')](_0x3e8875))return!0x1;return _0x2aa380[_0x3be7('0xf')](_0x3e8875[_0x3be7('0x24')],'codeBlock');}(_0x5e14fb,_0x171f11[_0x3be7('0x0')])):Array[_0x3be7('0x1b')](_0xbebe50[_0x3be7('0x25')]())[_0x3be7('0x19')](_0x585850=>oo(_0x585850));const _0x544b45=_0x2cca61(_0x33439a,_0x171f11);_0x171f11[_0x3be7('0x1c')](()=>{for(const _0x541045 of _0x544b45)_0x9e4d4b[_0x3be7('0xe')](_0x541045,{'commandName':_0x3be7('0x1d'),'commandParams':[{..._0x559667,'forceValue':_0x497a0a}],'formatGroupId':_0x3be7('0x9')});});}),(_0x9e4d4b[_0x3be7('0x13')][_0x3be7('0x16')](_0x3be7('0x1d'),_0x5ed2c1=>_0x4fa398(_0x4295f7,'ELEMENT_CODE_BLOCK',_0x5ed2c1)),_0x9e4d4b[_0x3be7('0x13')]['registerDescriptionCallback'](_0x168b27=>{const {type:_0x1f3a53,data:_0x4b3214}=_0x168b27;if(_0x3be7('0x6')==_0x1f3a53&&_0x4b3214&&_0x3be7('0x1d')==_0x4b3214[_0x3be7('0xc')]){const _0x5761d8=_0x4b3214[_0x3be7('0x18')][0x0][_0x3be7('0x10')],_0x2eb7de=_0x5d28db[_0x3be7('0x26')](_0x2ba0b5=>_0x2ba0b5[_0x3be7('0x10')]===_0x5761d8)[_0x3be7('0x20')],_0x51fd53=_0x4295f7['_t'](_0x2eb7de);return _0x4b3214[_0x3be7('0x18')][0x0]['forceValue']?{'type':_0x3be7('0x12'),'content':_0x4fa398(_0x4295f7,_0x3be7('0x8'),_0x4fa398(_0x4295f7,_0x3be7('0x14'),0x1)+'\x20('+_0x51fd53+')')}:{'type':_0x3be7('0x12'),'content':_0x4fa398(_0x4295f7,_0x3be7('0x5'),_0x4fa398(_0x4295f7,_0x3be7('0x14'),0x1))};}}));}}function oo(_0x3dd6b3){return'codeBlock'==_0x3dd6b3[_0x3be7('0xb')];}
23
+ const _0x3f44=['registerElementLabel','ELEMENT_CODE_BLOCK','commandName','from','locale','_descriptionFactory','config','name','commandParams','isLimit','value','formatBlock','CodeBlock','outdentCodeBlock','parent','get','format','TrackChangesEditing','markBlockFormat','model','commands','registerDescriptionCallback','rootElement','indentCodeBlock','codeBlock','checkChild','language','document','plugins','label','has','enableCommand','filter','*Remove\x20format:*\x20%0','languages','find','getSelectedBlocks','afterInit','forceValue','schema'];(function(_0x4b9ac8,_0x3f440c){const _0x22dc80=function(_0xbcbb68){while(--_0xbcbb68){_0x4b9ac8['push'](_0x4b9ac8['shift']());}};_0x22dc80(++_0x3f440c);}(_0x3f44,0x1a1));const _0x22dc=function(_0x4b9ac8,_0x3f440c){_0x4b9ac8=_0x4b9ac8-0x0;let _0x22dc80=_0x3f44[_0x4b9ac8];return _0x22dc80;};import{Plugin as _0x2f35d3}from'ckeditor5/src/core';import{getTranslation as _0x35e857}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5cd25b}from'../utils/utils';export default class G extends _0x2f35d3{[_0x22dc('0x14')](){const _0x1e6cdc=this['editor'];if(!_0x1e6cdc[_0x22dc('0xb')][_0x22dc('0xd')](_0x22dc('0x23')))return;const _0x14046b=_0x1e6cdc[_0x22dc('0xb')][_0x22dc('0x26')](_0x22dc('0x0')),_0x571e0a=_0x1e6cdc[_0x22dc('0x1b')],_0x28ffd5=_0x1e6cdc[_0x22dc('0x1d')][_0x22dc('0x26')]('codeBlock')[_0x22dc('0x11')],_0x1b11fe=_0x1e6cdc[_0x22dc('0x3')][_0x22dc('0x26')]('codeBlock');_0x14046b[_0x22dc('0xe')](_0x22dc('0x6')),_0x14046b[_0x22dc('0xe')](_0x22dc('0x24')),_0x14046b[_0x22dc('0xe')]('codeBlock',(_0x537a1b,_0x1b4e0c={})=>{const _0x479e98=_0x1e6cdc[_0x22dc('0x2')],_0x315aba=_0x1e6cdc['model'][_0x22dc('0xa')]['selection'],_0x2e0e6b=_0x1b4e0c&&void 0x0!==_0x1b4e0c[_0x22dc('0x15')]?_0x1b4e0c[_0x22dc('0x15')]:!_0x1b11fe[_0x22dc('0x21')];let _0xeefbad;_0x1b4e0c[_0x22dc('0x9')]||(_0x1b4e0c[_0x22dc('0x9')]=_0x28ffd5[0x0][_0x22dc('0x9')]),_0xeefbad=_0x2e0e6b?Array[_0x22dc('0x1a')](_0x315aba[_0x22dc('0x13')]())[_0x22dc('0xf')](_0x3abcd3=>oo(_0x3abcd3)||function(_0x51fb23,_0x40ab13){if(_0x51fb23['is'](_0x22dc('0x5'))||_0x40ab13[_0x22dc('0x20')](_0x51fb23))return!0x1;return _0x40ab13[_0x22dc('0x8')](_0x51fb23[_0x22dc('0x25')],_0x22dc('0x7'));}(_0x3abcd3,_0x479e98[_0x22dc('0x16')])):Array['from'](_0x315aba[_0x22dc('0x13')]())[_0x22dc('0xf')](_0xcc264a=>oo(_0xcc264a));const _0x4dce47=_0x5cd25b(_0xeefbad,_0x479e98);_0x479e98['change'](()=>{for(const _0x4277ea of _0x4dce47)_0x14046b[_0x22dc('0x1')](_0x4277ea,{'commandName':_0x22dc('0x7'),'commandParams':[{..._0x1b4e0c,'forceValue':_0x2e0e6b}],'formatGroupId':'blockName'});});}),(_0x14046b[_0x22dc('0x1c')][_0x22dc('0x17')](_0x22dc('0x7'),_0x5adb76=>_0x35e857(_0x571e0a,'ELEMENT_CODE_BLOCK',_0x5adb76)),_0x14046b[_0x22dc('0x1c')][_0x22dc('0x4')](_0x216d00=>{const {type:_0x12375c,data:_0x1f62ae}=_0x216d00;if(_0x22dc('0x22')==_0x12375c&&_0x1f62ae&&_0x22dc('0x7')==_0x1f62ae[_0x22dc('0x19')]){const _0x3d4149=_0x1f62ae[_0x22dc('0x1f')][0x0]['language'],_0x5ce35e=_0x28ffd5[_0x22dc('0x12')](_0x21a7f7=>_0x21a7f7[_0x22dc('0x9')]===_0x3d4149)[_0x22dc('0xc')],_0x532df0=_0x571e0a['_t'](_0x5ce35e);return _0x1f62ae[_0x22dc('0x1f')][0x0][_0x22dc('0x15')]?{'type':_0x22dc('0x27'),'content':_0x35e857(_0x571e0a,'*Format:*\x20%0',_0x35e857(_0x571e0a,_0x22dc('0x18'),0x1)+'\x20('+_0x532df0+')')}:{'type':_0x22dc('0x27'),'content':_0x35e857(_0x571e0a,_0x22dc('0x10'),_0x35e857(_0x571e0a,_0x22dc('0x18'),0x1))};}}));}}function oo(_0x54fa0a){return _0x22dc('0x7')==_0x54fa0a[_0x22dc('0x1e')];}
@@ -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 _0x1508=['has','afterInit','enableCommand','TrackChangesEditing','editor','get','plugins','addCommentThread'];(function(_0x3fadbe,_0x1508b7){const _0x31a896=function(_0x2b5b7d){while(--_0x2b5b7d){_0x3fadbe['push'](_0x3fadbe['shift']());}};_0x31a896(++_0x1508b7);}(_0x1508,0x16f));const _0x31a8=function(_0x3fadbe,_0x1508b7){_0x3fadbe=_0x3fadbe-0x0;let _0x31a896=_0x1508[_0x3fadbe];return _0x31a896;};import{Plugin as _0x41541d}from'ckeditor5/src/core';export default class L extends _0x41541d{[_0x31a8('0x2')](){const _0x2d6c5a=this[_0x31a8('0x5')];if(!_0x2d6c5a[_0x31a8('0x7')][_0x31a8('0x1')]('CommentsEditing'))return;_0x2d6c5a[_0x31a8('0x7')][_0x31a8('0x6')](_0x31a8('0x4'))[_0x31a8('0x3')](_0x31a8('0x0'));}}
23
+ const _0x4b03=['enableCommand','afterInit','has','plugins','editor'];(function(_0x2f0f4b,_0x4b0388){const _0x22c699=function(_0x467480){while(--_0x467480){_0x2f0f4b['push'](_0x2f0f4b['shift']());}};_0x22c699(++_0x4b0388);}(_0x4b03,0x129));const _0x22c6=function(_0x2f0f4b,_0x4b0388){_0x2f0f4b=_0x2f0f4b-0x0;let _0x22c699=_0x4b03[_0x2f0f4b];return _0x22c699;};import{Plugin as _0x222d24}from'ckeditor5/src/core';export default class L extends _0x222d24{[_0x22c6('0x4')](){const _0x4e570a=this[_0x22c6('0x2')];if(!_0x4e570a['plugins'][_0x22c6('0x0')]('CommentsEditing'))return;_0x4e570a[_0x22c6('0x1')]['get']('TrackChangesEditing')[_0x22c6('0x3')]('addCommentThread');}}
@@ -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 _0x2e61=['enableCommand','init','downcastDispatcher','writer','model','requires','showSuggestionHighlights','createRange','enqueueChange','detach','modifySelection','removeMarker:suggestion:deletion','selection','plugins','unbindElementFromMarkerName','buffer','unlock','fromRange','mapper','setSelection','TrackChangesEditing','markerName','data','document','high','markerNameToElements','addMarker:suggestion:deletion','commands','get','editing','createSelection','deleteForward','unit','$graveyard','root','batch','start','forward','isCollapsed','uiElement','end'];(function(_0x1e3ff9,_0x2e6193){const _0x5c293d=function(_0x1d9282){while(--_0x1d9282){_0x1e3ff9['push'](_0x1e3ff9['shift']());}};_0x5c293d(++_0x2e6193);}(_0x2e61,0xe3));const _0x5c29=function(_0x1e3ff9,_0x2e6193){_0x1e3ff9=_0x1e3ff9-0x0;let _0x5c293d=_0x2e61[_0x1e3ff9];return _0x5c293d;};import{Plugin as _0x3b10b8}from'ckeditor5/src/core';import{Delete as _0x51cf02}from'ckeditor5/src/typing';import{LiveRange as _0x1cc968}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x29810b}from'./utils';export default class q extends _0x3b10b8{static get[_0x5c29('0x18')](){return[_0x51cf02];}[_0x5c29('0x14')](){const _0x25a35c=this['editor'],_0x587835=_0x25a35c[_0x5c29('0x20')][_0x5c29('0x6')](_0x5c29('0x27'));_0x587835['enableCommand']('delete');const _0x15b687=_0x25a35c[_0x5c29('0x5')][_0x5c29('0x6')](_0x5c29('0x9'));_0x587835[_0x5c29('0x13')](_0x5c29('0x9'),(_0x2215ff,_0x4b635c={})=>{const _0x2abab2=_0x25a35c[_0x5c29('0x17')][_0x5c29('0x8')](_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1')][_0x5c29('0x1f')]);_0x2abab2[_0x5c29('0x10')]&&_0x25a35c['model'][_0x5c29('0x1d')](_0x2abab2,{'direction':_0x5c29('0xf'),'unit':_0x4b635c[_0x5c29('0xa')]});const _0x3228e1=_0x2abab2['getFirstRange'](),_0x481601=_0x1cc968[_0x5c29('0x24')](_0x3228e1);let _0x1d10be;_0x2215ff(_0x4b635c),_0x1d10be=_0x5c29('0xb')==_0x481601[_0x5c29('0xc')]['rootName']?_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1a')](_0x3228e1[_0x5c29('0xe')]):_0x25a35c[_0x5c29('0x17')]['createRange'](_0x481601[_0x5c29('0xe')],_0x481601[_0x5c29('0x12')]),_0x481601[_0x5c29('0x1c')](),_0x25a35c[_0x5c29('0x17')][_0x5c29('0x1b')](_0x15b687[_0x5c29('0x22')][_0x5c29('0xd')],_0x2dff1f=>{_0x15b687[_0x5c29('0x22')]['lock'](),_0x2dff1f[_0x5c29('0x26')](_0x2dff1f[_0x5c29('0x1a')](_0x1d10be[_0x5c29('0x12')])),_0x15b687[_0x5c29('0x22')][_0x5c29('0x23')]();});}),_0x25a35c[_0x5c29('0x7')][_0x5c29('0x15')]['on']('addMarker:suggestion:deletion',_0x29810b(_0x25a35c,'merge'),{'priority':_0x5c29('0x2')}),_0x25a35c[_0x5c29('0x0')]['downcastDispatcher']['on'](_0x5c29('0x4'),(_0x2bf012,_0x35af91,_0x34ee91)=>{_0x34ee91['options'][_0x5c29('0x19')]&&_0x29810b(_0x25a35c,'merge',{'showActiveMarker':!0x1})(_0x2bf012,_0x35af91,_0x34ee91);},{'priority':_0x5c29('0x2')}),_0x25a35c[_0x5c29('0x7')]['downcastDispatcher']['on'](_0x5c29('0x1e'),(_0x12263c,_0x4090ac,_0x4d6540)=>{const _0x144ae6=_0x4d6540[_0x5c29('0x25')][_0x5c29('0x3')](_0x4090ac[_0x5c29('0x28')]);if(_0x144ae6)for(const _0x29cbfb of _0x144ae6)_0x29cbfb['is'](_0x5c29('0x11'))&&(_0x4d6540[_0x5c29('0x25')][_0x5c29('0x21')](_0x29cbfb,_0x4090ac[_0x5c29('0x28')]),_0x4d6540[_0x5c29('0x16')]['remove'](_0x29cbfb));},{'priority':_0x5c29('0x2')});}}
23
+ const _0xb71f=['data','model','root','options','editing','showSuggestionHighlights','mapper','deleteForward','selection','createSelection','requires','merge','editor','detach','fromRange','unit','start','writer','high','unlock','end','lock','modifySelection','document','buffer','downcastDispatcher','TrackChangesEditing','isCollapsed','getFirstRange','delete','markerName','init','createRange','$graveyard','forward','addMarker:suggestion:deletion','commands','markerNameToElements','enableCommand','uiElement','setSelection','batch','remove','get'];(function(_0x18c722,_0xb71fda){const _0x3bb836=function(_0x4ab56b){while(--_0x4ab56b){_0x18c722['push'](_0x18c722['shift']());}};_0x3bb836(++_0xb71fda);}(_0xb71f,0xcc));const _0x3bb8=function(_0x18c722,_0xb71fda){_0x18c722=_0x18c722-0x0;let _0x3bb836=_0xb71f[_0x18c722];return _0x3bb836;};import{Plugin as _0x45b42f}from'ckeditor5/src/core';import{Delete as _0x24c186}from'ckeditor5/src/typing';import{LiveRange as _0x24d483}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x11b2db}from'./utils';export default class q extends _0x45b42f{static get[_0x3bb8('0x1a')](){return[_0x24c186];}[_0x3bb8('0x3')](){const _0x5d04b7=this[_0x3bb8('0x1c')],_0xc4c474=_0x5d04b7['plugins']['get'](_0x3bb8('0x2a'));_0xc4c474[_0x3bb8('0xa')](_0x3bb8('0x1'));const _0x1d8b8f=_0x5d04b7[_0x3bb8('0x8')][_0x3bb8('0xf')](_0x3bb8('0x17'));_0xc4c474['enableCommand'](_0x3bb8('0x17'),(_0x32b126,_0x4d44e7={})=>{const _0x312bc0=_0x5d04b7[_0x3bb8('0x11')][_0x3bb8('0x19')](_0x5d04b7['model'][_0x3bb8('0x27')][_0x3bb8('0x18')]);_0x312bc0[_0x3bb8('0x2b')]&&_0x5d04b7[_0x3bb8('0x11')][_0x3bb8('0x26')](_0x312bc0,{'direction':_0x3bb8('0x6'),'unit':_0x4d44e7[_0x3bb8('0x1f')]});const _0x37b8df=_0x312bc0[_0x3bb8('0x0')](),_0x3cfcd4=_0x24d483[_0x3bb8('0x1e')](_0x37b8df);let _0x4c3ed4;_0x32b126(_0x4d44e7),_0x4c3ed4=_0x3bb8('0x5')==_0x3cfcd4[_0x3bb8('0x12')]['rootName']?_0x5d04b7[_0x3bb8('0x11')][_0x3bb8('0x4')](_0x37b8df['start']):_0x5d04b7[_0x3bb8('0x11')]['createRange'](_0x3cfcd4[_0x3bb8('0x20')],_0x3cfcd4[_0x3bb8('0x24')]),_0x3cfcd4[_0x3bb8('0x1d')](),_0x5d04b7[_0x3bb8('0x11')]['enqueueChange'](_0x1d8b8f[_0x3bb8('0x28')][_0x3bb8('0xd')],_0x3f8adc=>{_0x1d8b8f[_0x3bb8('0x28')][_0x3bb8('0x25')](),_0x3f8adc[_0x3bb8('0xc')](_0x3f8adc[_0x3bb8('0x4')](_0x4c3ed4[_0x3bb8('0x24')])),_0x1d8b8f[_0x3bb8('0x28')][_0x3bb8('0x23')]();});}),_0x5d04b7[_0x3bb8('0x14')]['downcastDispatcher']['on'](_0x3bb8('0x7'),_0x11b2db(_0x5d04b7,_0x3bb8('0x1b')),{'priority':_0x3bb8('0x22')}),_0x5d04b7[_0x3bb8('0x10')][_0x3bb8('0x29')]['on'](_0x3bb8('0x7'),(_0x50aab4,_0xf88695,_0x2706b5)=>{_0x2706b5[_0x3bb8('0x13')][_0x3bb8('0x15')]&&_0x11b2db(_0x5d04b7,_0x3bb8('0x1b'),{'showActiveMarker':!0x1})(_0x50aab4,_0xf88695,_0x2706b5);},{'priority':'high'}),_0x5d04b7['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x3a2015,_0x483647,_0x2191ed)=>{const _0x17b222=_0x2191ed[_0x3bb8('0x16')][_0x3bb8('0x9')](_0x483647[_0x3bb8('0x2')]);if(_0x17b222)for(const _0x27fabb of _0x17b222)_0x27fabb['is'](_0x3bb8('0xb'))&&(_0x2191ed[_0x3bb8('0x16')]['unbindElementFromMarkerName'](_0x27fabb,_0x483647[_0x3bb8('0x2')]),_0x2191ed[_0x3bb8('0x21')][_0x3bb8('0xe')](_0x27fabb));},{'priority':'high'});}}
@@ -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 _0x4ac4=['commandParams','_suggestionFactory','registerElementLabel','multipleBlocks','ELEMENT_BULLETED_LIST','from','schema','hasAttribute','indentList','getSelectedBlocks','nextSibling','markBlockFormat','refresh','*Indent:*\x20%0','push','selection','expandListBlocksToCompleteList','listType','add','detach','registerDescriptionCallback','end','bulletedList','next','splitListItemBefore','listIndent','isFirstBlockOfListItem','before','enableCommand','value','getRanges','numberedList','listItemId','createRange','commands','format','TrackChangesEditing','outdentList','execute','setSelection','splitListItemAfter','accept','*Change\x20to:*\x20%0','document','get','model','fromRange','*Format:*\x20insert\x20into\x20%0','createPositionAt','previousSibling','markMultiRangeBlockFormat','locale','plugins','formatBlock','start','_descriptionFactory','map','getAttribute','change','isObject','ELEMENT_LIST_ITEM','has','nodeAfter','*Outdent:*\x20%0','commandName'];(function(_0x43735f,_0x4ac441){const _0x5b6beb=function(_0x14346a){while(--_0x14346a){_0x43735f['push'](_0x43735f['shift']());}};_0x5b6beb(++_0x4ac441);}(_0x4ac4,0x17f));const _0x5b6b=function(_0x43735f,_0x4ac441){_0x43735f=_0x43735f-0x0;let _0x5b6beb=_0x4ac4[_0x43735f];return _0x5b6beb;};import{Plugin as _0x4d6535}from'ckeditor5/src/core';import{getTranslation as _0x485f49}from'../utils/common-translations';import{LiveRange as _0x32a7b9}from'ckeditor5/src/engine';export default class z extends _0x4d6535{['afterInit'](){const _0x1e9b6f=this['editor'];if(!_0x1e9b6f[_0x5b6b('0x3b')][_0x5b6b('0x3')]('DocumentListEditing'))return;const _0x31a957=_0x1e9b6f[_0x5b6b('0x3a')],_0x3b6a4e=_0x1e9b6f[_0x5b6b('0x3b')]['get'](_0x5b6b('0x2b')),_0x4cf6e2=_0x1e9b6f['plugins'][_0x5b6b('0x33')]('DocumentListUtils');function _0x4c9ac8(_0x266317){return()=>{const _0x5cfecc=_0x1e9b6f[_0x5b6b('0x29')]['get'](_0x266317);let _0x32e935=Array['from'](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x32')][_0x5b6b('0x16')]['getSelectedBlocks']());if(_0x13d902(_0x266317)){_0x32e935=_0x4cf6e2[_0x5b6b('0x17')](_0x32e935);const _0x41d961=[];for(const _0x37de0a of _0x32e935)_0x4cf6e2[_0x5b6b('0x21')](_0x37de0a)&&_0x41d961[_0x5b6b('0x15')](_0x37de0a);_0x32e935=_0x41d961;}_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](()=>{_0x3b6a4e[_0x5b6b('0x39')](_0x32e935,{'commandName':_0x266317,'commandParams':[{'forceValue':!_0x5cfecc[_0x5b6b('0x24')]}],'formatGroupId':_0x5b6b('0x18')},[],'documentList');});};}function _0x2f8be0(_0x288f57){return()=>{const _0x2da40d=function(_0x3f2e52){const _0x1dd98d=(_0x3f2e52=Array[_0x5b6b('0xc')](_0x3f2e52))['findIndex'](_0x14986c=>!_0x14986c[_0x5b6b('0xe')]('listItemId'));return _0x1dd98d>-0x1&&(_0x3f2e52=_0x3f2e52['slice'](0x0,_0x1dd98d)),_0x3f2e52;}(_0x1e9b6f[_0x5b6b('0x34')]['document'][_0x5b6b('0x16')][_0x5b6b('0x10')]()),_0x171e4c=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x28')](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x2da40d[0x0],_0x5b6b('0x22')),_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x2da40d[_0x2da40d['length']-0x1],_0x5b6b('0x1c')));_0x1e9b6f[_0x5b6b('0x34')]['change'](()=>{_0x3b6a4e[_0x5b6b('0x12')](_0x171e4c,{'commandName':_0x288f57,'commandParams':[],'formatGroupId':_0x5b6b('0x18')},function(_0x7470f4){const _0x32365e=new Set();for(const _0xecf46f of _0x7470f4){let _0x4d2df2=_0xecf46f[_0x5b6b('0x11')];for(;_0x4d2df2&&_0x4d2df2[_0x5b6b('0x40')](_0x5b6b('0x20'))>_0xecf46f[_0x5b6b('0x40')]('listIndent');)_0x32365e[_0x5b6b('0x19')](_0x4d2df2),_0x4d2df2=_0x4d2df2['nextSibling'];}return Array['from'](_0x32365e);}(_0x2da40d));});};}function _0x1594dc(_0x4dedee){return()=>{const _0x56304c=_0x1e9b6f['model'][_0x5b6b('0x32')][_0x5b6b('0x16')]['getSelectedBlocks']()[_0x5b6b('0x1e')]()[_0x5b6b('0x24')],_0x4d8298=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x56304c,'before'),_0x21026c=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x56304c,0x0),_0x38638e=_0x1e9b6f['model'][_0x5b6b('0x28')](_0x4d8298,_0x21026c);_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](()=>{_0x3b6a4e[_0x5b6b('0x12')](_0x38638e,{'commandName':_0x4dedee,'commandParams':[],'formatGroupId':'listType'});});};}function _0x13d902(_0x1ea7ea){const _0x54c903=_0x1e9b6f[_0x5b6b('0x29')][_0x5b6b('0x33')]('bulletedList')[_0x5b6b('0x24')],_0x51bac1=_0x1e9b6f[_0x5b6b('0x29')][_0x5b6b('0x33')](_0x5b6b('0x26'))['value'];return'numberedList'===_0x1ea7ea?_0x54c903:_0x51bac1;}_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x26'),_0x4c9ac8(_0x5b6b('0x26'))),_0x3b6a4e['enableCommand'](_0x5b6b('0x1d'),_0x4c9ac8(_0x5b6b('0x1d'))),_0x3b6a4e[_0x5b6b('0x23')]('indentList',_0x2f8be0(_0x5b6b('0xf'))),_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x2c'),_0x2f8be0('outdentList')),_0x3b6a4e['enableCommand'](_0x5b6b('0x2f'),_0x1594dc('splitListItemAfter')),_0x3b6a4e[_0x5b6b('0x23')](_0x5b6b('0x1f'),_0x1594dc(_0x5b6b('0x1f'))),_0x3b6a4e[_0x5b6b('0x3e')][_0x5b6b('0x9')](function(_0x4f22a9){const _0x20d26c=!_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0xd')][_0x5b6b('0x1')](_0x4f22a9),_0x3ffada=_0x4f22a9[_0x5b6b('0x38')],_0x189cef=_0x4f22a9[_0x5b6b('0x11')],_0x350a33=_0x4f22a9[_0x5b6b('0x40')]('listItemId'),_0x472f58=!_0x3ffada||_0x3ffada[_0x5b6b('0x40')](_0x5b6b('0x27'))!==_0x350a33,_0x177741=!_0x189cef||_0x189cef['getAttribute'](_0x5b6b('0x27'))!==_0x350a33;return _0x20d26c&&_0x350a33&&_0x472f58&&_0x177741;},_0xafa5db=>_0x485f49(_0x31a957,_0x5b6b('0x2'),_0xafa5db)),_0x3b6a4e['_descriptionFactory'][_0x5b6b('0x1b')](function(_0x13a5e3){const {data:_0x4167a5}=_0x13a5e3;if(!_0x4167a5)return;let _0x137cc9,_0x545d38,_0x5357bf,_0x18eff0;switch(_0x4167a5[_0x5b6b('0x6')]){case _0x5b6b('0x1d'):_0x5357bf=_0x4167a5[_0x5b6b('0x7')][0x0]['forceValue'],_0x18eff0=_0x13d902(_0x4167a5[_0x5b6b('0x6')]),_0x137cc9=_0x5357bf?_0x5b6b('0x36'):'*Format:*\x20remove\x20from\x20%0',_0x18eff0&&(_0x137cc9=_0x5b6b('0x31')),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0xb')))};break;case _0x5b6b('0x26'):_0x5357bf=_0x4167a5[_0x5b6b('0x7')][0x0]['forceValue'],_0x18eff0=_0x13d902(_0x4167a5['commandName']),_0x137cc9=_0x5357bf?_0x5b6b('0x36'):'*Format:*\x20remove\x20from\x20%0',_0x18eff0&&(_0x137cc9=_0x5b6b('0x31')),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,'ELEMENT_NUMBERED_LIST'))};break;case _0x5b6b('0xf'):_0x137cc9=_0x5b6b('0x14'),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))};break;case _0x5b6b('0x2c'):_0x137cc9=_0x5b6b('0x5'),_0x545d38={'type':_0x5b6b('0x2a'),'content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x4167a5[_0x5b6b('0xa')]&&(_0x137cc9='*Merge:*\x20%0',_0x545d38={'type':'deletion','content':_0x485f49(_0x31a957,_0x137cc9,_0x485f49(_0x31a957,_0x5b6b('0x2')))});}return _0x545d38;}),_0x3b6a4e[_0x5b6b('0x8')]['registerCustomCallback'](_0x5b6b('0x3c'),'documentList',_0x5b6b('0x30'),function(_0xcdc003,_0x34baf9){const _0x104b01=[];for(let _0x1ff3b9 of _0xcdc003)_0x1ff3b9[_0x5b6b('0x3d')][_0x5b6b('0x4')]===_0x1ff3b9['end']['parent']&&(_0x1ff3b9=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x28')](_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x37')](_0x1ff3b9['start']['nodeAfter'],0x0))),_0x104b01[_0x5b6b('0x15')](_0x1ff3b9);_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x0')](_0x1456f3=>{const _0x32a6d9=_0x1e9b6f[_0x5b6b('0x34')][_0x5b6b('0x32')][_0x5b6b('0x16')],_0x4a1a67=Array[_0x5b6b('0xc')](_0x32a6d9[_0x5b6b('0x25')]())[_0x5b6b('0x3f')](_0x746bda=>_0x32a7b9[_0x5b6b('0x35')](_0x746bda));_0x1456f3[_0x5b6b('0x2e')](_0x104b01),_0x1e9b6f['commands'][_0x5b6b('0x33')](_0x34baf9['commandName'])[_0x5b6b('0x13')](),_0x34baf9[_0x5b6b('0x7')]['push']({'forceDefaultExecution':!0x0}),_0x1e9b6f[_0x5b6b('0x2d')](_0x34baf9['commandName'],..._0x34baf9['commandParams']),_0x1456f3[_0x5b6b('0x2e')](_0x4a1a67);for(const _0x59bd6c of _0x4a1a67)_0x59bd6c[_0x5b6b('0x1a')]();});});}}
23
+ const _0x1976=['end','commandParams','before','_descriptionFactory','format','expandListBlocksToCompleteList','listType','documentList','ELEMENT_BULLETED_LIST','isObject','bulletedList','containsItem','has','DocumentListEditing','commands','createPositionAt','parent','nextSibling','*Merge:*\x20%0','isFirstBlockOfListItem','deletion','map','mergeListItemForward','getSelectedBlocks','setSelection','mergeListItemBackward','plugins','commandName','findIndex','enableCommand','indentList','TrackChangesEditing','change','length','toUpperCase','*Format:*\x20insert\x20into\x20%0','value','listItemId','listIndent','*Indent:*\x20%0','ELEMENT_LIST_ITEM','fromRange','previousSibling','selection','_suggestionFactory','markBlockFormat','*Outdent:*\x20%0','push','*Format:*\x20remove\x20from\x20%0','model','*Change\x20to:*\x20%0','after','schema','execute','getFirstRange','createRange','formatBlock','registerDescriptionCallback','accept','getRanges','DocumentListUtils','detach','_LIST','refresh','get','getAttribute','nodeAfter','numberedList','next','forceValue','from','multipleBlocks','start','hasAttribute','document','registerCustomCallback','add'];(function(_0x3f2b00,_0x197648){const _0x25a1f3=function(_0x2ea73c){while(--_0x2ea73c){_0x3f2b00['push'](_0x3f2b00['shift']());}};_0x25a1f3(++_0x197648);}(_0x1976,0x16d));const _0x25a1=function(_0x3f2b00,_0x197648){_0x3f2b00=_0x3f2b00-0x0;let _0x25a1f3=_0x1976[_0x3f2b00];return _0x25a1f3;};import{Plugin as _0x3c06f8}from'ckeditor5/src/core';import{getTranslation as _0x1cf6cc}from'../utils/common-translations';import{LiveRange as _0x42558f}from'ckeditor5/src/engine';export default class z extends _0x3c06f8{['afterInit'](){const _0x58b6ab=this['editor'];if(!_0x58b6ab[_0x25a1('0x2e')][_0x25a1('0x20')](_0x25a1('0x21')))return;const _0x17eebf=_0x58b6ab['locale'],_0x12d855=_0x58b6ab[_0x25a1('0x2e')]['get'](_0x25a1('0x33')),_0x583837=_0x58b6ab['plugins'][_0x25a1('0x7')](_0x25a1('0x3'));function _0x4cdea4(_0xbcd137){return()=>{const _0x3997aa=_0x58b6ab[_0x25a1('0x22')]['get'](_0xbcd137);let _0x525422=Array['from'](_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x11')][_0x25a1('0x3f')][_0x25a1('0x2b')]());if(_0x954690(_0xbcd137)){_0x525422=_0x583837[_0x25a1('0x19')](_0x525422);const _0x3cb8bc=[];for(const _0x2f1fa9 of _0x525422)_0x583837[_0x25a1('0x27')](_0x2f1fa9)&&_0x3cb8bc['push'](_0x2f1fa9);_0x525422=_0x3cb8bc;}_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x34')](()=>{_0x12d855['markMultiRangeBlockFormat'](_0x525422,{'commandName':_0xbcd137,'commandParams':[{'forceValue':!_0x3997aa[_0x25a1('0x38')]}],'formatGroupId':_0x25a1('0x1a')},[],_0x25a1('0x1b'));});};}function _0x341605(_0xbb3d7){return()=>{const _0x42ca17=function(_0xb500a0){const _0x140d1b=(_0xb500a0=Array[_0x25a1('0xd')](_0xb500a0))[_0x25a1('0x30')](_0x62fd72=>!_0x62fd72[_0x25a1('0x10')](_0x25a1('0x39')));return _0x140d1b>-0x1&&(_0xb500a0=_0xb500a0['slice'](0x0,_0x140d1b)),_0xb500a0;}(_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x11')][_0x25a1('0x3f')][_0x25a1('0x2b')]()),_0x3f44c5=_0x42ca17[_0x42ca17[_0x25a1('0x35')]-0x1],_0x4de6fe=_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x48')][_0x25a1('0x1d')](_0x3f44c5)?_0x25a1('0x47'):'end',_0x23af53=_0x58b6ab[_0x25a1('0x45')]['createRange'](_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x23')](_0x42ca17[0x0],_0x25a1('0x16')),_0x58b6ab[_0x25a1('0x45')]['createPositionAt'](_0x3f44c5,_0x4de6fe));_0x58b6ab['model'][_0x25a1('0x34')](()=>{_0x12d855[_0x25a1('0x41')](_0x23af53,{'commandName':_0xbb3d7,'commandParams':[],'formatGroupId':_0x25a1('0x1a')},function(_0x1b46bd){const _0x18d26d=new Set();for(const _0x2adb32 of _0x1b46bd){let _0x598db3=_0x2adb32[_0x25a1('0x25')];for(;_0x598db3&&_0x598db3[_0x25a1('0x8')](_0x25a1('0x3a'))>_0x2adb32[_0x25a1('0x8')](_0x25a1('0x3a'));)_0x18d26d[_0x25a1('0x13')](_0x598db3),_0x598db3=_0x598db3[_0x25a1('0x25')];}return Array[_0x25a1('0xd')](_0x18d26d);}(_0x42ca17));});};}function _0x1bec41(_0x56d0b4){return()=>{const _0x2214de=_0x58b6ab['model'][_0x25a1('0x11')][_0x25a1('0x3f')]['getSelectedBlocks']()[_0x25a1('0xb')]()['value'],_0x19ba18=_0x58b6ab[_0x25a1('0x45')]['createPositionAt'](_0x2214de,_0x25a1('0x16')),_0x3d0374=_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x23')](_0x2214de,0x0),_0x3032ad=_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x4b')](_0x19ba18,_0x3d0374);_0x58b6ab['model'][_0x25a1('0x34')](()=>{_0x12d855['markBlockFormat'](_0x3032ad,{'commandName':_0x56d0b4,'commandParams':[],'formatGroupId':_0x25a1('0x1a')});});};}function _0x954690(_0x84eb27){const _0x46b616=_0x58b6ab[_0x25a1('0x22')][_0x25a1('0x7')](_0x25a1('0x1e'))[_0x25a1('0x38')],_0x2f9c27=_0x58b6ab[_0x25a1('0x22')][_0x25a1('0x7')](_0x25a1('0xa'))[_0x25a1('0x38')];return _0x25a1('0xa')===_0x84eb27?_0x46b616:_0x2f9c27;}_0x12d855['enableCommand'](_0x25a1('0xa'),_0x4cdea4(_0x25a1('0xa'))),_0x12d855[_0x25a1('0x31')](_0x25a1('0x1e'),_0x4cdea4(_0x25a1('0x1e'))),_0x12d855[_0x25a1('0x31')](_0x25a1('0x32'),_0x341605(_0x25a1('0x32'))),_0x12d855['enableCommand']('outdentList',_0x341605('outdentList')),_0x12d855['enableCommand']('splitListItemAfter',_0x1bec41('splitListItemAfter')),_0x12d855[_0x25a1('0x31')]('splitListItemBefore',_0x1bec41('splitListItemBefore')),_0x12d855[_0x25a1('0x17')]['registerElementLabel'](function(_0x4cb2f0){const _0x1a84e7=!_0x58b6ab[_0x25a1('0x45')]['schema'][_0x25a1('0x1d')](_0x4cb2f0),_0x4cf7af=_0x4cb2f0[_0x25a1('0x3e')],_0x5c0ee1=_0x4cb2f0[_0x25a1('0x25')],_0x19acee=_0x4cb2f0['getAttribute'](_0x25a1('0x39')),_0x5b4299=!_0x4cf7af||_0x4cf7af[_0x25a1('0x8')](_0x25a1('0x39'))!==_0x19acee,_0x158866=!_0x5c0ee1||_0x5c0ee1[_0x25a1('0x8')](_0x25a1('0x39'))!==_0x19acee;return _0x1a84e7&&_0x19acee&&_0x5b4299&&_0x158866;},_0xac8659=>_0x1cf6cc(_0x17eebf,_0x25a1('0x3c'),_0xac8659)),_0x12d855[_0x25a1('0x17')][_0x25a1('0x0')](function(_0x139151){const {data:_0x4626fb}=_0x139151;if(!_0x4626fb)return;let _0x541306,_0x5a0e04,_0x3519d9,_0x430214;switch(_0x4626fb[_0x25a1('0x2f')]){case _0x25a1('0x1e'):_0x3519d9=_0x4626fb[_0x25a1('0x15')][0x0][_0x25a1('0xc')],_0x430214=_0x954690(_0x4626fb[_0x25a1('0x2f')]),_0x541306=_0x3519d9?_0x25a1('0x37'):_0x25a1('0x44'),_0x430214&&(_0x541306=_0x25a1('0x46')),_0x5a0e04={'type':_0x25a1('0x18'),'content':_0x1cf6cc(_0x17eebf,_0x541306,_0x1cf6cc(_0x17eebf,_0x25a1('0x1c')))};break;case _0x25a1('0xa'):_0x3519d9=_0x4626fb['commandParams'][0x0][_0x25a1('0xc')],_0x430214=_0x954690(_0x4626fb[_0x25a1('0x2f')]),_0x541306=_0x3519d9?_0x25a1('0x37'):_0x25a1('0x44'),_0x430214&&(_0x541306=_0x25a1('0x46')),_0x5a0e04={'type':_0x25a1('0x18'),'content':_0x1cf6cc(_0x17eebf,_0x541306,_0x1cf6cc(_0x17eebf,'ELEMENT_NUMBERED_LIST'))};break;case _0x25a1('0x32'):_0x541306=_0x25a1('0x3b'),_0x5a0e04={'type':_0x25a1('0x18'),'content':_0x1cf6cc(_0x17eebf,_0x541306,_0x1cf6cc(_0x17eebf,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x541306=function(_0x53e615){const _0x49f3d1=_0x53e615['getFirstRange']();let _0x1223fa=_0x49f3d1[_0x25a1('0xf')][_0x25a1('0x9')];for(;_0x1223fa&&_0x49f3d1[_0x25a1('0x1f')](_0x1223fa);){if(_0x1223fa['getAttribute'](_0x25a1('0x3a'))>0x0)return!0x1;_0x1223fa=_0x1223fa[_0x25a1('0x25')];}return!0x0;}(_0x139151)?_0x1cf6cc(_0x17eebf,_0x25a1('0x44'),_0x1cf6cc(_0x17eebf,function(_0x368f0a){const _0x4543e6=_0x368f0a[_0x25a1('0x4a')]()[_0x25a1('0xf')][_0x25a1('0x9')];return'ELEMENT_'+_0x4543e6[_0x25a1('0x8')](_0x25a1('0x1a'))[_0x25a1('0x36')]()+_0x25a1('0x5');}(_0x139151))):_0x1cf6cc(_0x17eebf,_0x25a1('0x42'),_0x1cf6cc(_0x17eebf,'ELEMENT_LIST_ITEM')),_0x5a0e04={'type':_0x25a1('0x18'),'content':_0x541306};break;case _0x25a1('0x2d'):case _0x25a1('0x2a'):!0x1===_0x4626fb[_0x25a1('0xe')]&&(_0x541306=_0x25a1('0x26'),_0x5a0e04={'type':_0x25a1('0x28'),'content':_0x1cf6cc(_0x17eebf,_0x541306,_0x1cf6cc(_0x17eebf,'ELEMENT_LIST_ITEM'))});}return _0x5a0e04;}),_0x12d855[_0x25a1('0x40')][_0x25a1('0x12')](_0x25a1('0x4c'),'documentList',_0x25a1('0x1'),function(_0x1f2d54,_0x532fc5){const _0x433c5c=[];for(let _0xf19ed6 of _0x1f2d54)_0xf19ed6[_0x25a1('0xf')][_0x25a1('0x9')]===_0xf19ed6[_0x25a1('0x14')][_0x25a1('0x24')]&&(_0xf19ed6=_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x4b')](_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x23')](_0xf19ed6['start'][_0x25a1('0x9')],0x0))),_0x433c5c[_0x25a1('0x43')](_0xf19ed6);_0x58b6ab[_0x25a1('0x45')]['change'](_0xa72405=>{const _0x49e89f=_0x58b6ab[_0x25a1('0x45')][_0x25a1('0x11')][_0x25a1('0x3f')],_0xc5a90d=Array['from'](_0x49e89f[_0x25a1('0x2')]())[_0x25a1('0x29')](_0x11b12c=>_0x42558f[_0x25a1('0x3d')](_0x11b12c));_0xa72405['setSelection'](_0x433c5c),_0x58b6ab['commands'][_0x25a1('0x7')](_0x532fc5[_0x25a1('0x2f')])[_0x25a1('0x6')](),_0x532fc5[_0x25a1('0x15')][_0x25a1('0x43')]({'forceDefaultExecution':!0x0}),_0x58b6ab[_0x25a1('0x49')](_0x532fc5['commandName'],..._0x532fc5[_0x25a1('0x15')]),_0xa72405[_0x25a1('0x2c')](_0xc5a90d);for(const _0x18b4b5 of _0xc5a90d)_0x18b4b5[_0x25a1('0x4')]();});});}}
@@ -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 _0x333d=['model','TrackChangesEditing','toUpperCase','getSelectedBlocks','get','listReversed','bind','expandListBlocksToCompleteList','format','filter','plugins','change','reversed','document','_LIST_','hasAttribute','replaceAll','list.properties','isListItemBlock','_getSuggestionBlocks','startIndex','type','listStart','DocumentListPropertiesUtils','editor','handleDescriptions','handleListStyleCommand','push','_getTranslationKeyForListStyle','config','DocumentListPropertiesEditing','listType','from','isFirstBlockOfListItem','has','*Format:*\x20set\x20order\x20to\x20regular','enableCommand','getAttribute','commandName','commandParams','DocumentListUtils','numbered','handleListReversedCommand','length','afterInit','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Format:*\x20set\x20order\x20to\x20reversed','*Change\x20to:*\x20%0','markMultiRangeBlockFormat','listStyle'];(function(_0x324731,_0x333df){const _0x228d5e=function(_0x1ab0dc){while(--_0x1ab0dc){_0x324731['push'](_0x324731['shift']());}};_0x228d5e(++_0x333df);}(_0x333d,0x137));const _0x228d=function(_0x324731,_0x333df){_0x324731=_0x324731-0x0;let _0x228d5e=_0x333d[_0x324731];return _0x228d5e;};import{Plugin as _0x528d96}from'ckeditor5/src/core';import{getTranslation as _0x44e777}from'../utils/common-translations';export default class St extends _0x528d96{[_0x228d('0x21')](){if(!this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x17')](_0x228d('0x13')))return;const _0x2b3678=this[_0x228d('0xd')][_0x228d('0x12')]['get'](_0x228d('0x6')),_0x14fbc3=this[_0x228d('0xd')]['plugins'][_0x228d('0x2b')](_0x228d('0x28'));_0x2b3678['styles']&&_0x14fbc3['enableCommand'](_0x228d('0x26'),this[_0x228d('0xf')][_0x228d('0x2d')](this)),_0x2b3678['reversed']&&_0x14fbc3[_0x228d('0x19')](_0x228d('0x2c'),this['handleListReversedCommand']['bind'](this)),_0x2b3678[_0x228d('0x9')]&&_0x14fbc3['enableCommand']('listStart',this['handleListStartCommand'][_0x228d('0x2d')](this)),_0x14fbc3['_descriptionFactory']['registerDescriptionCallback'](this[_0x228d('0xe')][_0x228d('0x2d')](this));}[_0x228d('0xf')](_0x10b5dd,_0x4dc281){const _0xc5860d=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x28')),_0x5cf106=this[_0x228d('0x8')](_0x5264bf=>_0x5264bf[_0x228d('0x4')]('listType'));null!==_0x5cf106&&this[_0x228d('0xd')]['model'][_0x228d('0x0')](()=>{_0xc5860d[_0x228d('0x25')](_0x5cf106,{'commandName':_0x228d('0x26'),'commandParams':[{'type':_0x4dc281[_0x228d('0xa')]}],'formatGroupId':_0x228d('0x26')});});}[_0x228d('0x1f')](_0x583d04,_0x37b376){const _0x60420a=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x28')),_0x460955=this[_0x228d('0xd')]['plugins'][_0x228d('0x2b')]('DocumentListUtils'),_0x24e287=this[_0x228d('0x8')](_0xef0085=>_0x460955[_0x228d('0x7')](_0xef0085)&&_0x228d('0x1e')===_0xef0085[_0x228d('0x1a')](_0x228d('0x14')));null!==_0x24e287&&this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x0')](()=>{_0x60420a[_0x228d('0x25')](_0x24e287,{'commandName':'listReversed','commandParams':[{'reversed':_0x37b376[_0x228d('0x1')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x35cd04,_0x241f48){const _0x278c7e=this[_0x228d('0xd')][_0x228d('0x31')]['get'](_0x228d('0x28')),_0x1828fc=this['editor'][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0x1d')),_0x56df28=this[_0x228d('0x8')](_0x4953a6=>_0x1828fc[_0x228d('0x7')](_0x4953a6)&&_0x228d('0x1e')===_0x4953a6['getAttribute']('listType'));null!==_0x56df28&&this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x0')](()=>{_0x278c7e[_0x228d('0x25')](_0x56df28,{'commandName':_0x228d('0xb'),'commandParams':[{'startIndex':_0x241f48[_0x228d('0x9')]}],'formatGroupId':'listStart'});});}[_0x228d('0xe')](_0x26a96b){const _0x596abb=this['editor']['locale'],{data:_0x89b95c}=_0x26a96b;if(!_0x89b95c)return;let _0x588786,_0x4fa6bf;switch(_0x89b95c[_0x228d('0x1b')]){case _0x228d('0x26'):_0x588786=_0x228d('0x24'),_0x4fa6bf={'type':'format','content':_0x44e777(_0x596abb,_0x588786,_0x44e777(_0x596abb,this[_0x228d('0x11')](_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0xa')])))};break;case _0x228d('0x2c'):_0x588786=_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0x1')]?_0x228d('0x23'):_0x228d('0x18'),_0x4fa6bf={'type':_0x228d('0x2f'),'content':_0x44e777(_0x596abb,_0x588786)};break;case _0x228d('0xb'):_0x588786=_0x228d('0x22'),_0x4fa6bf={'type':_0x228d('0x2f'),'content':_0x44e777(_0x596abb,_0x588786,_0x89b95c[_0x228d('0x1c')][0x0][_0x228d('0x9')])};}return _0x4fa6bf;}[_0x228d('0x8')](_0x1a2949){const _0x18ae23=this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')]('DocumentListUtils');let _0x494aac=Array[_0x228d('0x15')](this[_0x228d('0xd')][_0x228d('0x27')][_0x228d('0x2')]['selection'][_0x228d('0x2a')]())[_0x228d('0x30')](_0x1a2949);if(!_0x494aac[_0x228d('0x20')])return null;_0x494aac=_0x18ae23[_0x228d('0x2e')](_0x494aac);const _0x22f606=[];for(const _0x552351 of _0x494aac)_0x18ae23[_0x228d('0x16')](_0x552351)&&_0x22f606[_0x228d('0x10')](_0x552351);return _0x22f606;}[_0x228d('0x11')](_0x5cfa42){return'ELEMENT_'+this[_0x228d('0xd')][_0x228d('0x31')][_0x228d('0x2b')](_0x228d('0xc'))['getListTypeFromListStyleType'](_0x5cfa42)[_0x228d('0x29')]()+_0x228d('0x3')+_0x5cfa42['toUpperCase']()[_0x228d('0x5')]('-','_');}}
23
+ const _0x2f98=['listStart','handleListStyleCommand','handleListReversedCommand','DocumentListUtils','startIndex','get','config','getListTypeFromListStyleType','change','DocumentListPropertiesEditing','bind','commandParams','_getSuggestionBlocks','plugins','handleDescriptions','editor','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','locale','hasAttribute','registerDescriptionCallback','TrackChangesEditing','afterInit','listReversed','expandListBlocksToCompleteList','listStyle','has','ELEMENT_','_LIST_','enableCommand','handleListStartCommand','toUpperCase','numbered','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','replaceAll','reversed','isListItemBlock','push','listType','filter','format','*Format:*\x20set\x20start\x20index\x20to\x20%0','type','list.properties','from','commandName','getAttribute','model','isFirstBlockOfListItem'];(function(_0x422180,_0x2f98a0){const _0x326650=function(_0xe10119){while(--_0xe10119){_0x422180['push'](_0x422180['shift']());}};_0x326650(++_0x2f98a0);}(_0x2f98,0x17a));const _0x3266=function(_0x422180,_0x2f98a0){_0x422180=_0x422180-0x0;let _0x326650=_0x2f98[_0x422180];return _0x326650;};import{Plugin as _0x2ed9bb}from'ckeditor5/src/core';import{getTranslation as _0x281768}from'../utils/common-translations';export default class vt extends _0x2ed9bb{[_0x3266('0x2c')](){if(!this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x30')](_0x3266('0x1f')))return;const _0x110990=this[_0x3266('0x25')][_0x3266('0x1c')][_0x3266('0x1b')](_0x3266('0x10')),_0x44d893=this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')](_0x3266('0x2b'));_0x110990['styles']&&_0x44d893[_0x3266('0x1')]('listStyle',this[_0x3266('0x17')][_0x3266('0x20')](this)),_0x110990[_0x3266('0x8')]&&_0x44d893[_0x3266('0x1')](_0x3266('0x2d'),this[_0x3266('0x18')]['bind'](this)),_0x110990[_0x3266('0x1a')]&&_0x44d893[_0x3266('0x1')](_0x3266('0x16'),this[_0x3266('0x2')][_0x3266('0x20')](this)),_0x44d893['_descriptionFactory'][_0x3266('0x2a')](this['handleDescriptions']['bind'](this));}[_0x3266('0x17')](_0x2bd987,_0x811887){const _0x4b0e90=this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')](_0x3266('0x2b')),_0x4c3c26=this[_0x3266('0x22')](_0x194303=>_0x194303[_0x3266('0x29')](_0x3266('0xb')));null!==_0x4c3c26&&this[_0x3266('0x25')][_0x3266('0x14')]['change'](()=>{_0x4b0e90[_0x3266('0x6')](_0x4c3c26,{'commandName':_0x3266('0x2f'),'commandParams':[{'type':_0x811887[_0x3266('0xf')]}],'formatGroupId':_0x3266('0x2f')});});}[_0x3266('0x18')](_0x2309ef,_0x38332c){const _0x347583=this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')](_0x3266('0x2b')),_0x1b8f6c=this[_0x3266('0x25')]['plugins'][_0x3266('0x1b')](_0x3266('0x19')),_0x3c6f63=this[_0x3266('0x22')](_0x34492e=>_0x1b8f6c[_0x3266('0x9')](_0x34492e)&&_0x3266('0x4')===_0x34492e['getAttribute'](_0x3266('0xb')));null!==_0x3c6f63&&this[_0x3266('0x25')]['model'][_0x3266('0x1e')](()=>{_0x347583[_0x3266('0x6')](_0x3c6f63,{'commandName':_0x3266('0x2d'),'commandParams':[{'reversed':_0x38332c[_0x3266('0x8')]}],'formatGroupId':_0x3266('0x2d')});});}['handleListStartCommand'](_0x46e5d1,_0x3709a2){const _0x2775ac=this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')]('TrackChangesEditing'),_0xf80cd6=this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')](_0x3266('0x19')),_0x15a1d6=this[_0x3266('0x22')](_0x47e5df=>_0xf80cd6[_0x3266('0x9')](_0x47e5df)&&_0x3266('0x4')===_0x47e5df[_0x3266('0x13')](_0x3266('0xb')));null!==_0x15a1d6&&this['editor'][_0x3266('0x14')][_0x3266('0x1e')](()=>{_0x2775ac['markMultiRangeBlockFormat'](_0x15a1d6,{'commandName':_0x3266('0x16'),'commandParams':[{'startIndex':_0x3709a2[_0x3266('0x1a')]}],'formatGroupId':_0x3266('0x16')});});}[_0x3266('0x24')](_0x57c743){const _0xb87302=this[_0x3266('0x25')][_0x3266('0x28')],{data:_0x34af36}=_0x57c743;if(!_0x34af36)return;let _0x31122e,_0x1cd23e;switch(_0x34af36[_0x3266('0x12')]){case _0x3266('0x2f'):_0x31122e=_0x3266('0x27'),_0x1cd23e={'type':'format','content':_0x281768(_0xb87302,_0x31122e,_0x281768(_0xb87302,this[_0x3266('0x26')](_0x34af36[_0x3266('0x21')][0x0]['type'])))};break;case _0x3266('0x2d'):_0x31122e=_0x34af36[_0x3266('0x21')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3266('0x5'),_0x1cd23e={'type':_0x3266('0xd'),'content':_0x281768(_0xb87302,_0x31122e)};break;case _0x3266('0x16'):_0x31122e=_0x3266('0xe'),_0x1cd23e={'type':_0x3266('0xd'),'content':_0x281768(_0xb87302,_0x31122e,_0x34af36['commandParams'][0x0][_0x3266('0x1a')])};}return _0x1cd23e;}['_getSuggestionBlocks'](_0xff2860){const _0x5c220f=this[_0x3266('0x25')][_0x3266('0x23')]['get']('DocumentListUtils');let _0x410a6f=Array[_0x3266('0x11')](this[_0x3266('0x25')][_0x3266('0x14')]['document']['selection']['getSelectedBlocks']())[_0x3266('0xc')](_0xff2860);if(!_0x410a6f['length'])return null;_0x410a6f=_0x5c220f[_0x3266('0x2e')](_0x410a6f);const _0x15533d=[];for(const _0x3c7de8 of _0x410a6f)_0x5c220f[_0x3266('0x15')](_0x3c7de8)&&_0x15533d[_0x3266('0xa')](_0x3c7de8);return _0x15533d;}[_0x3266('0x26')](_0x4f7592){return _0x3266('0x31')+this[_0x3266('0x25')][_0x3266('0x23')][_0x3266('0x1b')]('DocumentListPropertiesUtils')[_0x3266('0x1d')](_0x4f7592)[_0x3266('0x3')]()+_0x3266('0x0')+_0x4f7592[_0x3266('0x3')]()[_0x3266('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 _0x384f=['remove','split','enter','markerName','writer','fromRange','document','nextSibling','addMarker:suggestion:insertion','afterExecute','plugins','editor','editing','markerNameToElements','fire','showSuggestionHighlights','createRange','detach','enableCommand','parent','model','getFirstPosition','init','removeMarker:suggestion:insertion','enterBlock','createPositionAt','get','ck-suggestion-marker-split','downcastDispatcher','end','unbindElementFromMarkerName','selection','mapper','commands','setSelection','markInsertion'];(function(_0x2d27ef,_0x384f13){const _0x4a4a5d=function(_0x515a82){while(--_0x515a82){_0x2d27ef['push'](_0x2d27ef['shift']());}};_0x4a4a5d(++_0x384f13);}(_0x384f,0x121));const _0x4a4a=function(_0x2d27ef,_0x384f13){_0x2d27ef=_0x2d27ef-0x0;let _0x4a4a5d=_0x384f[_0x2d27ef];return _0x4a4a5d;};import{Plugin as _0x47b7a1}from'ckeditor5/src/core';import{Enter as _0x40930b}from'ckeditor5/src/enter';import{LiveRange as _0x5dae19}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3e7b2d}from'./utils';export default class H extends _0x47b7a1{static get['requires'](){return[_0x40930b];}[_0x4a4a('0x15')](){const _0x5d86a3=this[_0x4a4a('0xa')],_0x114180=_0x5d86a3[_0x4a4a('0x9')][_0x4a4a('0x19')]('TrackChangesEditing'),_0x3c4436=_0x5d86a3[_0x4a4a('0x20')]['get'](_0x4a4a('0x1'));_0x114180[_0x4a4a('0x11')](_0x4a4a('0x1'),()=>{_0x5d86a3[_0x4a4a('0x13')]['change'](_0x19f15b=>{const _0xc6728e=_0x5d86a3['model'][_0x4a4a('0x5')][_0x4a4a('0x1e')],_0x165e1e=_0xc6728e[_0x4a4a('0x14')](),_0x21fd6f=_0x5dae19[_0x4a4a('0x4')](_0xc6728e['getFirstRange']());if(_0x3c4436[_0x4a4a('0x17')](_0x19f15b)){const _0xac1da=_0x5d86a3[_0x4a4a('0x13')][_0x4a4a('0x18')](_0x165e1e[_0x4a4a('0x12')][_0x4a4a('0x6')],0x0),_0x2a04c9=_0x19f15b[_0x4a4a('0xf')](_0x165e1e,_0xac1da);_0x114180[_0x4a4a('0x22')](_0x2a04c9);}else _0x19f15b[_0x4a4a('0x21')](_0x19f15b[_0x4a4a('0xf')](_0x21fd6f[_0x4a4a('0x1c')]));_0x21fd6f[_0x4a4a('0x10')](),_0x3c4436[_0x4a4a('0xd')](_0x4a4a('0x8'),{'writer':_0x19f15b});});}),_0x5d86a3[_0x4a4a('0xb')][_0x4a4a('0x1b')]['on'](_0x4a4a('0x7'),_0x3e7b2d(_0x5d86a3,'split'),{'priority':'high'}),_0x5d86a3[_0x4a4a('0xb')][_0x4a4a('0x1b')]['on'](_0x4a4a('0x16'),(_0x1d7458,_0x1598d9,_0x4da716)=>{const _0x560add=_0x4da716[_0x4a4a('0x1f')][_0x4a4a('0xc')](_0x1598d9[_0x4a4a('0x2')]);if(_0x560add)for(const _0x5d483c of _0x560add)_0x5d483c['hasClass'](_0x4a4a('0x1a'))&&(_0x4da716[_0x4a4a('0x1f')][_0x4a4a('0x1d')](_0x5d483c,_0x1598d9['markerName']),_0x4da716[_0x4a4a('0x3')][_0x4a4a('0x23')](_0x5d483c));},{'priority':'high'}),_0x5d86a3['data']['downcastDispatcher']['on'](_0x4a4a('0x7'),(_0xd96263,_0x494326,_0x12ddf3)=>{_0x12ddf3['options'][_0x4a4a('0xe')]&&_0x3e7b2d(_0x5d86a3,_0x4a4a('0x0'),{'showActiveMarker':!0x1})(_0xd96263,_0x494326,_0x12ddf3);},{'priority':'high'});}}
23
+ const _0x2a1d=['markerNameToElements','requires','showSuggestionHighlights','model','document','writer','addMarker:suggestion:insertion','createRange','markerName','createPositionAt','markInsertion','parent','high','hasClass','commands','enableCommand','ck-suggestion-marker-split','end','afterExecute','options','editing','selection','split','downcastDispatcher','editor','TrackChangesEditing','removeMarker:suggestion:insertion','init','nextSibling','setSelection','get','remove'];(function(_0xf13762,_0x2a1de6){const _0x5394f4=function(_0x266128){while(--_0x266128){_0xf13762['push'](_0xf13762['shift']());}};_0x5394f4(++_0x2a1de6);}(_0x2a1d,0xa3));const _0x5394=function(_0xf13762,_0x2a1de6){_0xf13762=_0xf13762-0x0;let _0x5394f4=_0x2a1d[_0xf13762];return _0x5394f4;};import{Plugin as _0xbe6701}from'ckeditor5/src/core';import{Enter as _0x4f5270}from'ckeditor5/src/enter';import{LiveRange as _0xc539b4}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x44f27c}from'./utils';export default class H extends _0xbe6701{static get[_0x5394('0x1e')](){return[_0x4f5270];}[_0x5394('0x18')](){const _0x25853b=this[_0x5394('0x15')],_0x5eb8e2=_0x25853b['plugins'][_0x5394('0x1b')](_0x5394('0x16')),_0x2b882f=_0x25853b[_0x5394('0xb')][_0x5394('0x1b')]('enter');_0x5eb8e2[_0x5394('0xc')]('enter',()=>{_0x25853b[_0x5394('0x0')]['change'](_0x141039=>{const _0x52d239=_0x25853b[_0x5394('0x0')][_0x5394('0x1')][_0x5394('0x12')],_0x58d808=_0x52d239['getFirstPosition'](),_0x2cadc8=_0xc539b4['fromRange'](_0x52d239['getFirstRange']());if(_0x2b882f['enterBlock'](_0x141039)){const _0x4ad369=_0x25853b[_0x5394('0x0')][_0x5394('0x6')](_0x58d808[_0x5394('0x8')][_0x5394('0x19')],0x0),_0x481065=_0x141039[_0x5394('0x4')](_0x58d808,_0x4ad369);_0x5eb8e2[_0x5394('0x7')](_0x481065);}else _0x141039[_0x5394('0x1a')](_0x141039['createRange'](_0x2cadc8[_0x5394('0xe')]));_0x2cadc8['detach'](),_0x2b882f['fire'](_0x5394('0xf'),{'writer':_0x141039});});}),_0x25853b[_0x5394('0x11')][_0x5394('0x14')]['on'](_0x5394('0x3'),_0x44f27c(_0x25853b,_0x5394('0x13')),{'priority':_0x5394('0x9')}),_0x25853b['editing'][_0x5394('0x14')]['on'](_0x5394('0x17'),(_0x35ce67,_0x242096,_0x15108a)=>{const _0x5024e6=_0x15108a['mapper'][_0x5394('0x1d')](_0x242096['markerName']);if(_0x5024e6)for(const _0x3a35d4 of _0x5024e6)_0x3a35d4[_0x5394('0xa')](_0x5394('0xd'))&&(_0x15108a['mapper']['unbindElementFromMarkerName'](_0x3a35d4,_0x242096[_0x5394('0x5')]),_0x15108a[_0x5394('0x2')][_0x5394('0x1c')](_0x3a35d4));},{'priority':'high'}),_0x25853b['data'][_0x5394('0x14')]['on']('addMarker:suggestion:insertion',(_0x3e623c,_0x4ce530,_0x1f3ee7)=>{_0x1f3ee7[_0x5394('0x10')][_0x5394('0x1f')]&&_0x44f27c(_0x25853b,_0x5394('0x13'),{'showActiveMarker':!0x1})(_0x3e623c,_0x4ce530,_0x1f3ee7);},{'priority':_0x5394('0x9')});}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x7147=['FindAndReplaceUtils','replace','getIntersection','get','findPrevious','end','start','createRange','TrackChangesEditing','suggestion:deletion','findByTextCallback','enableCommand','model','getRange','item','_isInDeletionRange','string','afterInit','markers','has','FindAndReplaceEditing','bind','editor','filter','plugins','createPositionAt','handleFindCommand'];(function(_0x3ce4b6,_0x714772){const _0x187ae3=function(_0x591ee6){while(--_0x591ee6){_0x3ce4b6['push'](_0x3ce4b6['shift']());}};_0x187ae3(++_0x714772);}(_0x7147,0x73));const _0x187a=function(_0x3ce4b6,_0x714772){_0x3ce4b6=_0x3ce4b6-0x0;let _0x187ae3=_0x7147[_0x3ce4b6];return _0x187ae3;};import{Plugin as _0x1cf471}from'ckeditor5/src/core';export default class W extends _0x1cf471{[_0x187a('0xa')](){if(!this[_0x187a('0xf')][_0x187a('0x11')][_0x187a('0xc')](_0x187a('0xd')))return;const _0x3220b6=this[_0x187a('0xf')][_0x187a('0x11')][_0x187a('0x17')](_0x187a('0x1'));_0x3220b6['enableCommand']('find',this[_0x187a('0x13')][_0x187a('0xe')](this)),_0x3220b6[_0x187a('0x4')]('findNext'),_0x3220b6[_0x187a('0x4')](_0x187a('0x18')),_0x3220b6[_0x187a('0x4')](_0x187a('0x15')),_0x3220b6[_0x187a('0x4')]('replaceAll');}[_0x187a('0x13')](_0xa32367,_0x5db8ee,_0x5c1eec){const _0x444aa0=this[_0x187a('0xf')][_0x187a('0x11')][_0x187a('0x17')](_0x187a('0x14'));void 0x0!==_0x5c1eec&&_0xa32367(_0x4c4027=>(_0x187a('0x9')==typeof _0x5db8ee?_0x444aa0[_0x187a('0x3')](_0x5db8ee,_0x5c1eec):_0x5db8ee)(_0x4c4027)[_0x187a('0x10')](_0x5c561f=>!0x1===this[_0x187a('0x8')](_0x5c561f,_0x4c4027[_0x187a('0x7')])),_0x5c1eec);}['_isInDeletionRange'](_0x35a6fe,_0x2881de){const _0x17d15f=this[_0x187a('0xf')][_0x187a('0x5')][_0x187a('0x0')](this[_0x187a('0xf')][_0x187a('0x5')][_0x187a('0x12')](_0x2881de,_0x35a6fe[_0x187a('0x1a')]),this[_0x187a('0xf')][_0x187a('0x5')]['createPositionAt'](_0x2881de,_0x35a6fe[_0x187a('0x19')]));for(const _0x9ed26d of this[_0x187a('0xf')][_0x187a('0x5')][_0x187a('0xb')]['getMarkersGroup'](_0x187a('0x2')))if(null!==_0x17d15f[_0x187a('0x16')](_0x9ed26d[_0x187a('0x6')]()))return!0x0;return!0x1;}}