@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 _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 _0x3896=['plugins','TrackChangesEditing','_suggestions','editor','discardSuggestion','execute','isEnabled'];(function(_0x15d713,_0x38960b){const _0x3fdcd5=function(_0x3db46f){while(--_0x3db46f){_0x15d713['push'](_0x15d713['shift']());}};_0x3fdcd5(++_0x38960b);}(_0x3896,0xbf));const _0x3fdc=function(_0x15d713,_0x38960b){_0x15d713=_0x15d713-0x0;let _0x3fdcd5=_0x3896[_0x15d713];return _0x3fdcd5;};import{Command as _0x4f131f}from'ckeditor5/src/core';import{CKEditorError as _0x547b73}from'ckeditor5/src/utils';export default class x extends _0x4f131f{constructor(_0x6b306c,_0x436bc0){super(_0x6b306c),this[_0x3fdc('0x0')]=_0x436bc0,this['refresh']();}['refresh'](){this[_0x3fdc('0x4')]=!0x0;}[_0x3fdc('0x3')](_0x3ba1f6){const _0x5bcffd=this[_0x3fdc('0x0')]['get'](_0x3ba1f6);if(!_0x5bcffd)throw new _0x547b73('track-changes-discard-suggestion-not-found',this);this[_0x3fdc('0x1')][_0x3fdc('0x5')]['get'](_0x3fdc('0x6'))[_0x3fdc('0x2')](_0x5bcffd);}}
@@ -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 _0x49a0=['isEnabled','some','from','refresh','editor','_command','_suggestions','values'];(function(_0x3d4019,_0x49a01d){const _0xcaacbf=function(_0x5de4f0){while(--_0x5de4f0){_0x3d4019['push'](_0x3d4019['shift']());}};_0xcaacbf(++_0x49a01d);}(_0x49a0,0x165));const _0xcaac=function(_0x3d4019,_0x49a01d){_0x3d4019=_0x3d4019-0x0;let _0xcaacbf=_0x49a0[_0x3d4019];return _0xcaacbf;};import{Command as _0x5bec75}from'ckeditor5/src/core';import{sortSuggestions as _0x35ac49,executeCommandForSuggestions as _0x2b2724}from'../utils/utils';export default class U extends _0x5bec75{constructor(_0x5c099a,_0x518a36,_0x378acc){super(_0x5c099a),this[_0xcaac('0x0')]=_0x518a36,this[_0xcaac('0x1')]=_0x378acc,this[_0xcaac('0x6')]();}[_0xcaac('0x6')](){const _0x5897dd=Array[_0xcaac('0x5')](this[_0xcaac('0x1')]['values']())[_0xcaac('0x4')](_0x1589c0=>_0x1589c0['isInContent']);this[_0xcaac('0x3')]=this[_0xcaac('0x0')][_0xcaac('0x3')]&&_0x5897dd;}['execute'](){const _0x107e4f=_0x35ac49(Array[_0xcaac('0x5')](this[_0xcaac('0x1')][_0xcaac('0x2')]()));_0x2b2724(this[_0xcaac('0x7')]['model'],this[_0xcaac('0x0')],_0x107e4f);}}
@@ -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 _0x1e54=['document','_suggestions','selection','_command','isEnabled','refresh','_selectedSuggestions','editor','values','model','from','execute'];(function(_0x1589ed,_0x1e54bc){const _0x57b53a=function(_0x248856){while(--_0x248856){_0x1589ed['push'](_0x1589ed['shift']());}};_0x57b53a(++_0x1e54bc);}(_0x1e54,0xbe));const _0x57b5=function(_0x1589ed,_0x1e54bc){_0x1589ed=_0x1589ed-0x0;let _0x57b53a=_0x1e54[_0x1589ed];return _0x57b53a;};import{Command as _0x2c6b3f}from'ckeditor5/src/core';import{sortSuggestions as _0x50493c,getSelectedSuggestions as _0x163a98,executeCommandForSuggestions as _0x91975e}from'../utils/utils';export default class j extends _0x2c6b3f{constructor(_0x2e893f,_0x464b8e,_0x2a5f09){super(_0x2e893f),this[_0x57b5('0x5')]=_0x464b8e,this[_0x57b5('0x3')]=_0x2a5f09,this[_0x57b5('0x8')]=new Set(),this['refresh']();}[_0x57b5('0x7')](){const _0x35986a=this['editor']['model'][_0x57b5('0x2')][_0x57b5('0x4')],_0x9c3817=Array[_0x57b5('0x0')](this[_0x57b5('0x3')][_0x57b5('0xa')]());this[_0x57b5('0x8')]=_0x163a98(_0x35986a,_0x9c3817),this[_0x57b5('0x6')]=this[_0x57b5('0x5')][_0x57b5('0x6')]&&!!this['_selectedSuggestions']['size'];}[_0x57b5('0x1')](){const _0x187c00=_0x50493c(Array[_0x57b5('0x0')](this[_0x57b5('0x8')]));_0x91975e(this[_0x57b5('0x9')][_0x57b5('0xb')],this['_command'],_0x187c00);}}
@@ -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 _0x211b=['_disableUnsupportedCommands','editor','TrackChangesCommand','execute','_enabledCommands','affectsData','has','clearForceDisabled','_enableCommands','value','commands','refresh','isEnabled'];(function(_0x2cf87b,_0x211bff){const _0x214fbf=function(_0x52eba4){while(--_0x52eba4){_0x2cf87b['push'](_0x2cf87b['shift']());}};_0x214fbf(++_0x211bff);}(_0x211b,0x121));const _0x214f=function(_0x2cf87b,_0x211bff){_0x2cf87b=_0x2cf87b-0x0;let _0x214fbf=_0x211b[_0x2cf87b];return _0x214fbf;};import{Command as _0x4d0658}from'ckeditor5/src/core';export default class N extends _0x4d0658{constructor(_0x568464,_0x548063){super(_0x568464),this[_0x214f('0x1')]=_0x548063,this[_0x214f('0x6')]=!0x1,this[_0x214f('0x8')]();}[_0x214f('0x8')](){this[_0x214f('0x9')]=!0x0;}[_0x214f('0x0')](){this[_0x214f('0x6')]=!this[_0x214f('0x6')],this['value']?this[_0x214f('0xa')]():this['_enableCommands']();}[_0x214f('0xa')](){for(const _0x12b3b0 of this[_0x214f('0xb')]['commands'][_0x214f('0x7')]())_0x12b3b0[_0x214f('0x2')]&&!this[_0x214f('0x1')][_0x214f('0x3')](_0x12b3b0)&&_0x12b3b0['forceDisabled'](_0x214f('0xc'));}[_0x214f('0x5')](){for(const _0x22f201 of this[_0x214f('0xb')]['commands'][_0x214f('0x7')]())_0x22f201[_0x214f('0x2')]&&!this[_0x214f('0x1')]['has'](_0x22f201)&&_0x22f201[_0x214f('0x4')]('TrackChangesCommand');}}
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 _0x3a54=['_descriptionFactory','schema','alignment','getSelectedBlocks','*Format:*\x20%0','AlignmentEditing','center','plugins','filter','FORMAT_JUSTIFY_TEXT','afterInit','contentLanguageDirection','model','value','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGN_TO_LEFT','change','getAttribute','markBlockFormat','selection','document','enableCommand','commandParams','format','checkAttribute','justify','left','has','locale'];(function(_0x2d4251,_0x3a54c0){const _0x1dd586=function(_0x27d009){while(--_0x27d009){_0x2d4251['push'](_0x2d4251['shift']());}};_0x1dd586(++_0x3a54c0);}(_0x3a54,0x122));const _0x1dd5=function(_0x2d4251,_0x3a54c0){_0x2d4251=_0x2d4251-0x0;let _0x1dd586=_0x3a54[_0x2d4251];return _0x1dd586;};import{Plugin as _0x45e33f}from'ckeditor5/src/core';import{getTranslation as _0x5aa246}from'../utils/common-translations';export default class E extends _0x45e33f{[_0x1dd5('0xa')](){const _0x20de61=this['editor'],_0x5758cf=_0x20de61[_0x1dd5('0x1c')];if(!_0x20de61[_0x1dd5('0x7')][_0x1dd5('0x1b')](_0x1dd5('0x5')))return;const _0xf35ff0=_0x20de61[_0x1dd5('0x7')]['get']('TrackChangesEditing');_0xf35ff0[_0x1dd5('0x15')]('alignment',(_0x1ae56a,_0x4d1844={})=>{let _0x274477=_0x4d1844[_0x1dd5('0xd')];_0x4d1844[_0x1dd5('0xd')]||(_0x274477='ltr'===_0x20de61[_0x1dd5('0x1c')][_0x1dd5('0xb')]?_0x1dd5('0x1a'):'right');const _0x3af692=Array['from'](this['editor']['model'][_0x1dd5('0x14')][_0x1dd5('0x13')][_0x1dd5('0x3')]())[_0x1dd5('0x8')](_0x3b73a1=>function(_0x8df57d,_0x3c03f6,_0x2991f2){const _0x6f1115=_0x8df57d[_0x1dd5('0x11')](_0x1dd5('0x2'))||null;return _0x3c03f6[_0x1dd5('0x18')](_0x8df57d,'alignment')&&_0x2991f2!=_0x6f1115;}(_0x3b73a1,this['editor'][_0x1dd5('0xc')][_0x1dd5('0x1')],_0x274477));_0x20de61['model'][_0x1dd5('0x10')](()=>{for(const _0xec75e of _0x3af692)_0xf35ff0[_0x1dd5('0x12')](_0xec75e,{'commandName':'alignment','commandParams':[{'value':_0x274477}]});});}),_0xf35ff0[_0x1dd5('0x0')]['registerDescriptionCallback'](_0x55070d=>{const {data:_0x30866d}=_0x55070d;if(_0x30866d&&_0x1dd5('0x2')==_0x30866d['commandName']){const _0x3ffbcd=_0x30866d[_0x1dd5('0x16')][0x0][_0x1dd5('0xd')];return{'type':_0x1dd5('0x17'),'content':_0x5aa246(_0x5758cf,_0x1dd5('0x4'),function(_0x1a8317){switch(_0x1a8317){case _0x1dd5('0x1a'):return _0x5aa246(_0x5758cf,_0x1dd5('0xf'));case'right':return _0x5aa246(_0x5758cf,'FORMAT_ALIGN_TO_RIGHT');case _0x1dd5('0x6'):return _0x5aa246(_0x5758cf,_0x1dd5('0xe'));case _0x1dd5('0x19'):return _0x5aa246(_0x5758cf,_0x1dd5('0x9'));}}(_0x3ffbcd))};}});}}
@@ -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 _0x2917=['FORMAT_CODE','isCollapsed','FORMAT_BOLD','FORMAT_SUPERSCRIPT','code','enableCommand','get','StrikethroughEditing','registerDescriptionCallback','UnderlineEditing','*Format:*\x20%0','forceValue','underline','format','toLowerCase','commandName','_descriptionFactory','model','commandParams','getRanges','value','ItalicEditing','selection','italic','FORMAT_UNDERLINE','TrackChangesEditing','has','FORMAT_ITALIC','plugins','subscript','markInlineFormat','from','*Remove\x20format:*\x20%0'];(function(_0x2bed9e,_0x291761){const _0x368f9c=function(_0x18b676){while(--_0x18b676){_0x2bed9e['push'](_0x2bed9e['shift']());}};_0x368f9c(++_0x291761);}(_0x2917,0x11c));const _0x368f=function(_0x2bed9e,_0x291761){_0x2bed9e=_0x2bed9e-0x0;let _0x368f9c=_0x2917[_0x2bed9e];return _0x368f9c;};import{Plugin as _0x102e63}from'ckeditor5/src/core';import{getTranslation as _0x518a05}from'../utils/common-translations';import{getRangesWithAttribute as _0x43c64e}from'./utils';const Kt=['BoldEditing',_0x368f('0x1'),_0x368f('0x16'),'CodeEditing',_0x368f('0x14'),'SubscriptEditing','SuperscriptEditing'];export default class O extends _0x102e63{['afterInit'](){const _0x5a1032=this['editor'],_0x4f9a8e=_0x5a1032[_0x368f('0x1e')],_0x5a511a=_0x5a1032[_0x368f('0x8')][_0x368f('0x13')](_0x368f('0x5')),_0x3ad0f4=_0x5a1032['locale'];for(const _0x5ade5d of Kt){if(!_0x5a1032[_0x368f('0x8')][_0x368f('0x6')](_0x5ade5d))continue;const _0x2fa4cb=_0x5ade5d['slice'](0x0,-0x7)[_0x368f('0x1b')](),_0x489633=_0x5a1032['commands']['get'](_0x2fa4cb);_0x5a511a[_0x368f('0x12')](_0x2fa4cb,(_0x164ddd,_0xbb09c6={})=>{const _0x7c918d=_0x4f9a8e['document'][_0x368f('0x2')];if(_0x7c918d[_0x368f('0xe')])return void _0x164ddd(_0xbb09c6);const _0x5c208d=void 0x0!==_0xbb09c6[_0x368f('0x18')]?_0xbb09c6[_0x368f('0x18')]:!_0x489633[_0x368f('0x0')];_0x4f9a8e['change'](()=>{const _0x5ea150=Array[_0x368f('0xb')](_0x7c918d[_0x368f('0x20')]());for(const _0x18aaab of _0x5ea150){const _0x1a6a1e=_0x5c208d?[_0x18aaab]:_0x43c64e(_0x2fa4cb,_0x18aaab,_0x4f9a8e);for(const _0x4bc6fb of _0x1a6a1e)_0x5a511a[_0x368f('0xa')](_0x4bc6fb,{'commandName':_0x2fa4cb,'commandParams':[{'forceValue':_0x5c208d}]});}});});}function _0x116502(_0x511ac2,_0x3208bc){_0x5a511a[_0x368f('0x1d')][_0x368f('0x15')](_0x334c0f=>{const {data:_0x34c96c}=_0x334c0f;if(_0x34c96c&&_0x34c96c[_0x368f('0x1c')]===_0x511ac2)return _0x34c96c[_0x368f('0x1f')][0x0][_0x368f('0x18')]?{'type':'format','content':_0x518a05(_0x3ad0f4,_0x368f('0x17'),_0x3208bc)}:{'type':_0x368f('0x1a'),'content':_0x518a05(_0x3ad0f4,_0x368f('0xc'),_0x3208bc)};});}_0x116502('bold',_0x518a05(_0x3ad0f4,_0x368f('0xf'))),_0x116502(_0x368f('0x3'),_0x518a05(_0x3ad0f4,_0x368f('0x7'))),_0x116502(_0x368f('0x19'),_0x518a05(_0x3ad0f4,_0x368f('0x4'))),_0x116502(_0x368f('0x11'),_0x518a05(_0x3ad0f4,_0x368f('0xd'))),_0x116502('strikethrough',_0x518a05(_0x3ad0f4,'FORMAT_STRIKETHROUGH')),_0x116502(_0x368f('0x9'),_0x518a05(_0x3ad0f4,'FORMAT_SUBSCRIPT')),_0x116502('superscript',_0x518a05(_0x3ad0f4,_0x368f('0x10')));}}
@@ -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 _0x1b4c=['checkChild','*Format:*\x20%0','parent','has','*Remove\x20format:*\x20%0','schema','selection','commandName','blockQuote','editor','enableCommand','_descriptionFactory','forceValue','get','commandParams','TrackChangesEditing','format','from','ELEMENT_BLOCK_QUOTE','document','BlockQuoteEditing','filter','plugins','commands','getSelectedBlocks','model','locale'];(function(_0x3605fd,_0x1b4c0c){const _0x2eef24=function(_0x167bbb){while(--_0x167bbb){_0x3605fd['push'](_0x3605fd['shift']());}};_0x2eef24(++_0x1b4c0c);}(_0x1b4c,0x147));const _0x2eef=function(_0x3605fd,_0x1b4c0c){_0x3605fd=_0x3605fd-0x0;let _0x2eef24=_0x1b4c[_0x3605fd];return _0x2eef24;};import{Plugin as _0x1e977b}from'ckeditor5/src/core';import{getTranslation as _0x671534}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x17ad2e}from'../utils/utils';export default class F extends _0x1e977b{['afterInit'](){const _0x160446=this['editor'],_0x11e408=_0x160446[_0x2eef('0x17')];if(!_0x160446[_0x2eef('0x13')][_0x2eef('0x0')](_0x2eef('0x11')))return;const _0x449bf5=_0x160446[_0x2eef('0x13')][_0x2eef('0xa')](_0x2eef('0xc')),_0x51103b=this[_0x2eef('0x6')][_0x2eef('0x14')]['get'](_0x2eef('0x5'));_0x449bf5[_0x2eef('0x7')]('blockQuote',(_0x546122,_0x14f327={})=>{const _0x3b8ac1=this[_0x2eef('0x6')][_0x2eef('0x16')][_0x2eef('0x10')][_0x2eef('0x3')],_0x219f28=_0x14f327&&void 0x0!==_0x14f327['forceValue']?_0x14f327[_0x2eef('0x9')]:!_0x51103b['value'];let _0x1fe443=[];if(_0x219f28){const _0x5a992d=Array[_0x2eef('0xe')](_0x3b8ac1[_0x2eef('0x15')]())['filter'](_0x181630=>Jt(_0x181630)||function(_0xeca325,_0x20a7f4){const _0x1c20fc=_0x20a7f4[_0x2eef('0x18')](_0xeca325[_0x2eef('0x1a')],_0x2eef('0x5')),_0x20c7e4=_0x20a7f4[_0x2eef('0x18')](['$root',_0x2eef('0x5')],_0xeca325);return _0x1c20fc&&_0x20c7e4;}(_0x181630,this[_0x2eef('0x6')][_0x2eef('0x16')][_0x2eef('0x2')]));_0x1fe443=_0x17ad2e(_0x5a992d,_0x160446[_0x2eef('0x16')]);}else{const _0x4fcb89=Array[_0x2eef('0xe')](_0x3b8ac1[_0x2eef('0x15')]())[_0x2eef('0x12')](_0x35236b=>Jt(_0x35236b));_0x1fe443=_0x17ad2e(_0x4fcb89,_0x160446[_0x2eef('0x16')]);}_0x160446['model']['change'](()=>{for(const _0x495396 of _0x1fe443)_0x449bf5['markBlockFormat'](_0x495396,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x219f28}]});});}),_0x449bf5[_0x2eef('0x8')]['registerDescriptionCallback'](_0x3fb95e=>{const {data:_0x5a2b10}=_0x3fb95e;if(_0x5a2b10&&_0x2eef('0x5')==_0x5a2b10[_0x2eef('0x4')]){const _0x3ed595=_0x671534(_0x11e408,_0x2eef('0xf'));return _0x5a2b10[_0x2eef('0xb')][0x0][_0x2eef('0x9')]?{'type':'format','content':_0x671534(_0x11e408,_0x2eef('0x19'),_0x3ed595)}:{'type':_0x2eef('0xd'),'content':_0x671534(_0x11e408,_0x2eef('0x1'),_0x3ed595)};}});}}function Jt(_0x28df61){return _0x2eef('0x5')==_0x28df61[_0x2eef('0x1a')]['name'];}
@@ -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 _0x4f0a=['editor','enableCommand','commands','get','plugins','ckbox','afterInit'];(function(_0xd9e9e5,_0x4f0acd){const _0x542ca6=function(_0x4a33d6){while(--_0x4a33d6){_0xd9e9e5['push'](_0xd9e9e5['shift']());}};_0x542ca6(++_0x4f0acd);}(_0x4f0a,0x9d));const _0x542c=function(_0xd9e9e5,_0x4f0acd){_0xd9e9e5=_0xd9e9e5-0x0;let _0x542ca6=_0x4f0a[_0xd9e9e5];return _0x542ca6;};import{Plugin as _0x447dc1}from'ckeditor5/src/core';export default class P extends _0x447dc1{[_0x542c('0x3')](){const _0x26d7c9=this[_0x542c('0x4')];_0x26d7c9[_0x542c('0x6')][_0x542c('0x0')](_0x542c('0x2'))&&_0x26d7c9[_0x542c('0x1')]['get']('TrackChangesEditing')[_0x542c('0x5')]('ckbox');}}
@@ -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 _0x50de=['config','ELEMENT_CODE_BLOCK','registerElementLabel','value','from','*Format:*\x20%0','formatBlock','codeBlock','filter','CodeBlock','registerDescriptionCallback','forceValue','model','outdentCodeBlock','languages','commandParams','rootElement','schema','format','find','blockName','get','_descriptionFactory','has','plugins','getSelectedBlocks','document','label','enableCommand','*Remove\x20format:*\x20%0','TrackChangesEditing','selection','language','indentCodeBlock'];(function(_0x368a55,_0x50de59){const _0x20aea7=function(_0x31ec41){while(--_0x31ec41){_0x368a55['push'](_0x368a55['shift']());}};_0x20aea7(++_0x50de59);}(_0x50de,0x149));const _0x20ae=function(_0x368a55,_0x50de59){_0x368a55=_0x368a55-0x0;let _0x20aea7=_0x50de[_0x368a55];return _0x20aea7;};import{Plugin as _0x31ed5f}from'ckeditor5/src/core';import{getTranslation as _0x38d278}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x208656}from'../utils/utils';export default class G extends _0x31ed5f{['afterInit'](){const _0x34d95b=this['editor'];if(!_0x34d95b['plugins'][_0x20ae('0x0')](_0x20ae('0x14')))return;const _0x1d349e=_0x34d95b[_0x20ae('0x1')]['get'](_0x20ae('0x7')),_0x3f5034=_0x34d95b['locale'],_0x26b393=_0x34d95b[_0x20ae('0xb')][_0x20ae('0x20')](_0x20ae('0x12'))[_0x20ae('0x19')],_0xd81c82=_0x34d95b['commands'][_0x20ae('0x20')](_0x20ae('0x12'));_0x1d349e[_0x20ae('0x5')](_0x20ae('0xa')),_0x1d349e[_0x20ae('0x5')](_0x20ae('0x18')),_0x1d349e[_0x20ae('0x5')](_0x20ae('0x12'),(_0x2fa085,_0x431ec4={})=>{const _0x4e6386=_0x34d95b['model'],_0x2ed964=_0x34d95b[_0x20ae('0x17')][_0x20ae('0x3')][_0x20ae('0x8')],_0x199a45=_0x431ec4&&void 0x0!==_0x431ec4[_0x20ae('0x16')]?_0x431ec4['forceValue']:!_0xd81c82[_0x20ae('0xe')];let _0xd083b9;_0x431ec4[_0x20ae('0x9')]||(_0x431ec4[_0x20ae('0x9')]=_0x26b393[0x0][_0x20ae('0x9')]),_0xd083b9=_0x199a45?Array['from'](_0x2ed964[_0x20ae('0x2')]())[_0x20ae('0x13')](_0x48d4ec=>oo(_0x48d4ec)||function(_0xeac1db,_0x362eec){if(_0xeac1db['is'](_0x20ae('0x1b'))||_0x362eec['isLimit'](_0xeac1db))return!0x1;return _0x362eec['checkChild'](_0xeac1db['parent'],_0x20ae('0x12'));}(_0x48d4ec,_0x4e6386[_0x20ae('0x1c')])):Array[_0x20ae('0xf')](_0x2ed964['getSelectedBlocks']())[_0x20ae('0x13')](_0x5dcef8=>oo(_0x5dcef8));const _0x271d6a=_0x208656(_0xd083b9,_0x4e6386);_0x4e6386['change'](()=>{for(const _0x26366f of _0x271d6a)_0x1d349e['markBlockFormat'](_0x26366f,{'commandName':'codeBlock','commandParams':[{..._0x431ec4,'forceValue':_0x199a45}],'formatGroupId':_0x20ae('0x1f')});});}),(_0x1d349e[_0x20ae('0x21')][_0x20ae('0xd')](_0x20ae('0x12'),_0x466cdb=>_0x38d278(_0x3f5034,_0x20ae('0xc'),_0x466cdb)),_0x1d349e[_0x20ae('0x21')][_0x20ae('0x15')](_0x56ab75=>{const {type:_0xf1319f,data:_0xcd4a7a}=_0x56ab75;if(_0x20ae('0x11')==_0xf1319f&&_0xcd4a7a&&'codeBlock'==_0xcd4a7a['commandName']){const _0x1796e0=_0xcd4a7a[_0x20ae('0x1a')][0x0]['language'],_0x4a914d=_0x26b393[_0x20ae('0x1e')](_0x103ee1=>_0x103ee1[_0x20ae('0x9')]===_0x1796e0)[_0x20ae('0x4')],_0x25fffc=_0x3f5034['_t'](_0x4a914d);return _0xcd4a7a[_0x20ae('0x1a')][0x0]['forceValue']?{'type':_0x20ae('0x1d'),'content':_0x38d278(_0x3f5034,_0x20ae('0x10'),_0x38d278(_0x3f5034,_0x20ae('0xc'),0x1)+'\x20('+_0x25fffc+')')}:{'type':_0x20ae('0x1d'),'content':_0x38d278(_0x3f5034,_0x20ae('0x6'),_0x38d278(_0x3f5034,_0x20ae('0xc'),0x1))};}}));}}function oo(_0x2ddec6){return _0x20ae('0x12')==_0x2ddec6['name'];}
@@ -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 _0x9eb6=['afterInit','has','enableCommand','CommentsEditing','addCommentThread'];(function(_0x19b2d6,_0x9eb6c2){const _0x1fe110=function(_0x3b3829){while(--_0x3b3829){_0x19b2d6['push'](_0x19b2d6['shift']());}};_0x1fe110(++_0x9eb6c2);}(_0x9eb6,0xd0));const _0x1fe1=function(_0x19b2d6,_0x9eb6c2){_0x19b2d6=_0x19b2d6-0x0;let _0x1fe110=_0x9eb6[_0x19b2d6];return _0x1fe110;};import{Plugin as _0x5f03bb}from'ckeditor5/src/core';export default class L extends _0x5f03bb{[_0x1fe1('0x2')](){const _0x56c4fe=this['editor'];if(!_0x56c4fe['plugins'][_0x1fe1('0x3')](_0x1fe1('0x0')))return;_0x56c4fe['plugins']['get']('TrackChangesEditing')[_0x1fe1('0x4')](_0x1fe1('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 _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 _0x42a9=['merge','deleteForward','delete','uiElement','downcastDispatcher','end','start','plugins','editing','markerName','modifySelection','isCollapsed','buffer','lock','fromRange','high','enqueueChange','TrackChangesEditing','root','commands','enableCommand','$graveyard','selection','addMarker:suggestion:deletion','unit','removeMarker:suggestion:deletion','createRange','mapper','createSelection','init','setSelection','data','get','remove','model'];(function(_0x1bdc09,_0x42a908){const _0x500d00=function(_0x474736){while(--_0x474736){_0x1bdc09['push'](_0x1bdc09['shift']());}};_0x500d00(++_0x42a908);}(_0x42a9,0xd9));const _0x500d=function(_0x1bdc09,_0x42a908){_0x1bdc09=_0x1bdc09-0x0;let _0x500d00=_0x42a9[_0x1bdc09];return _0x500d00;};import{Plugin as _0x588c1c}from'ckeditor5/src/core';import{Delete as _0x51e099}from'ckeditor5/src/typing';import{LiveRange as _0xdd1160}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1b2a2d}from'./utils';export default class q extends _0x588c1c{static get['requires'](){return[_0x51e099];}[_0x500d('0x16')](){const _0x5d6e1b=this['editor'],_0x889166=_0x5d6e1b[_0x500d('0x0')][_0x500d('0x19')](_0x500d('0xa'));_0x889166['enableCommand'](_0x500d('0x1e'));const _0x549610=_0x5d6e1b[_0x500d('0xc')][_0x500d('0x19')](_0x500d('0x1d'));_0x889166[_0x500d('0xd')](_0x500d('0x1d'),(_0x415d4f,_0x8cd354={})=>{const _0x32d6a0=_0x5d6e1b['model'][_0x500d('0x15')](_0x5d6e1b[_0x500d('0x1b')]['document'][_0x500d('0xf')]);_0x32d6a0[_0x500d('0x4')]&&_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x3')](_0x32d6a0,{'direction':'forward','unit':_0x8cd354[_0x500d('0x11')]});const _0x17afed=_0x32d6a0['getFirstRange'](),_0x22c778=_0xdd1160[_0x500d('0x7')](_0x17afed);let _0x23a05e;_0x415d4f(_0x8cd354),_0x23a05e=_0x500d('0xe')==_0x22c778[_0x500d('0xb')]['rootName']?_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x17afed[_0x500d('0x22')]):_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x13')](_0x22c778[_0x500d('0x22')],_0x22c778[_0x500d('0x21')]),_0x22c778['detach'](),_0x5d6e1b[_0x500d('0x1b')][_0x500d('0x9')](_0x549610['buffer']['batch'],_0x400e9c=>{_0x549610[_0x500d('0x5')][_0x500d('0x6')](),_0x400e9c[_0x500d('0x17')](_0x400e9c['createRange'](_0x23a05e[_0x500d('0x21')])),_0x549610[_0x500d('0x5')]['unlock']();});}),_0x5d6e1b[_0x500d('0x1')][_0x500d('0x20')]['on'](_0x500d('0x10'),_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c')),{'priority':_0x500d('0x8')}),_0x5d6e1b[_0x500d('0x18')][_0x500d('0x20')]['on']('addMarker:suggestion:deletion',(_0x3b83d6,_0x36a591,_0x22c231)=>{_0x22c231['options']['showSuggestionHighlights']&&_0x1b2a2d(_0x5d6e1b,_0x500d('0x1c'),{'showActiveMarker':!0x1})(_0x3b83d6,_0x36a591,_0x22c231);},{'priority':_0x500d('0x8')}),_0x5d6e1b['editing'][_0x500d('0x20')]['on'](_0x500d('0x12'),(_0x4d5c55,_0x31f9e8,_0x10b9b0)=>{const _0x41a506=_0x10b9b0['mapper']['markerNameToElements'](_0x31f9e8[_0x500d('0x2')]);if(_0x41a506)for(const _0xc032ae of _0x41a506)_0xc032ae['is'](_0x500d('0x1f'))&&(_0x10b9b0[_0x500d('0x14')]['unbindElementFromMarkerName'](_0xc032ae,_0x31f9e8[_0x500d('0x2')]),_0x10b9b0['writer'][_0x500d('0x1a')](_0xc032ae));},{'priority':_0x500d('0x8')});}}
@@ -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 _0x5a09=['nextSibling','value','editor','toUpperCase','listType','start','registerDescriptionCallback','execute','getRanges','createRange','markMultiRangeBlockFormat','selection','createPositionAt','mergeListItemForward','*Outdent:*\x20%0','format','commandParams','TrackChangesEditing','nodeAfter','map','commandName','_LIST','*Format:*\x20remove\x20from\x20%0','registerCustomCallback','isObject','next','splitListItemBefore','getSelectedBlocks','document','parent','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','from','accept','get','previousSibling','getFirstRange','documentList','numberedList','model','change','refresh','markBlockFormat','outdentList','indentList','length','setSelection','ELEMENT_','detach','registerElementLabel','plugins','end','findIndex','has','commands','deletion','forceValue','push','fromRange','before','locale','multipleBlocks','isFirstBlockOfListItem','*Format:*\x20insert\x20into\x20%0','afterInit','_descriptionFactory','ELEMENT_BULLETED_LIST','enableCommand','slice','expandListBlocksToCompleteList','after','listItemId','getAttribute','splitListItemAfter','bulletedList','listIndent','*Indent:*\x20%0'];(function(_0x19c52a,_0x5a09df){const _0x599237=function(_0x500f17){while(--_0x500f17){_0x19c52a['push'](_0x19c52a['shift']());}};_0x599237(++_0x5a09df);}(_0x5a09,0xd0));const _0x5992=function(_0x19c52a,_0x5a09df){_0x19c52a=_0x19c52a-0x0;let _0x599237=_0x5a09[_0x19c52a];return _0x599237;};import{Plugin as _0x107013}from'ckeditor5/src/core';import{getTranslation as _0x1157b1}from'../utils/common-translations';import{LiveRange as _0x2366fe}from'ckeditor5/src/engine';export default class z extends _0x107013{[_0x5992('0xa')](){const _0x226273=this[_0x5992('0x19')];if(!_0x226273[_0x5992('0x49')][_0x5992('0x4c')]('DocumentListEditing'))return;const _0x273ca2=_0x226273[_0x5992('0x6')],_0x166e61=_0x226273[_0x5992('0x49')][_0x5992('0x39')](_0x5992('0x28')),_0x1b60cd=_0x226273[_0x5992('0x49')][_0x5992('0x39')]('DocumentListUtils');function _0x5b4170(_0x42a91f){return()=>{const _0x312171=_0x226273[_0x5992('0x0')]['get'](_0x42a91f);let _0x748f3a=Array[_0x5992('0x37')](_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')]['getSelectedBlocks']());if(_0x56cc1e(_0x42a91f)){_0x748f3a=_0x1b60cd[_0x5992('0xf')](_0x748f3a);const _0x5d08de=[];for(const _0x5c0184 of _0x748f3a)_0x1b60cd[_0x5992('0x8')](_0x5c0184)&&_0x5d08de[_0x5992('0x3')](_0x5c0184);_0x748f3a=_0x5d08de;}_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x21')](_0x748f3a,{'commandName':_0x42a91f,'commandParams':[{'forceValue':!_0x312171[_0x5992('0x18')]}],'formatGroupId':_0x5992('0x1b')},[],'documentList');});};}function _0x34aecf(_0x154ab8){return()=>{const _0xac663=function(_0x1cea2a){const _0x26ee31=(_0x1cea2a=Array[_0x5992('0x37')](_0x1cea2a))[_0x5992('0x4b')](_0x40a3db=>!_0x40a3db['hasAttribute']('listItemId'));return _0x26ee31>-0x1&&(_0x1cea2a=_0x1cea2a[_0x5992('0xe')](0x0,_0x26ee31)),_0x1cea2a;}(_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection'][_0x5992('0x32')]()),_0x516fcb=_0xac663[_0xac663[_0x5992('0x44')]-0x1],_0x704eb1=_0x226273['model']['schema']['isObject'](_0x516fcb)?_0x5992('0x10'):_0x5992('0x4a'),_0x289602=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0xac663[0x0],_0x5992('0x5')),_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x516fcb,_0x704eb1));_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](()=>{_0x166e61[_0x5992('0x41')](_0x289602,{'commandName':_0x154ab8,'commandParams':[],'formatGroupId':_0x5992('0x1b')},function(_0xc61566){const _0x1dd55c=new Set();for(const _0xea7caa of _0xc61566){let _0x33481b=_0xea7caa[_0x5992('0x17')];for(;_0x33481b&&_0x33481b[_0x5992('0x12')](_0x5992('0x15'))>_0xea7caa[_0x5992('0x12')](_0x5992('0x15'));)_0x1dd55c['add'](_0x33481b),_0x33481b=_0x33481b['nextSibling'];}return Array[_0x5992('0x37')](_0x1dd55c);}(_0xac663));});};}function _0x750ad7(_0xcb8489){return()=>{const _0x25e589=_0x226273[_0x5992('0x3e')][_0x5992('0x33')]['selection']['getSelectedBlocks']()[_0x5992('0x30')]()[_0x5992('0x18')],_0x46eb0d=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,_0x5992('0x5')),_0x5dcebb=_0x226273[_0x5992('0x3e')][_0x5992('0x23')](_0x25e589,0x0),_0x36bc11=_0x226273[_0x5992('0x3e')]['createRange'](_0x46eb0d,_0x5dcebb);_0x226273[_0x5992('0x3e')]['change'](()=>{_0x166e61['markBlockFormat'](_0x36bc11,{'commandName':_0xcb8489,'commandParams':[],'formatGroupId':_0x5992('0x1b')});});};}function _0x56cc1e(_0x2a86d6){const _0x14bd3c=_0x226273['commands'][_0x5992('0x39')](_0x5992('0x14'))['value'],_0x188e1b=_0x226273[_0x5992('0x0')][_0x5992('0x39')]('numberedList')[_0x5992('0x18')];return _0x5992('0x3d')===_0x2a86d6?_0x14bd3c:_0x188e1b;}_0x166e61[_0x5992('0xd')](_0x5992('0x3d'),_0x5b4170(_0x5992('0x3d'))),_0x166e61[_0x5992('0xd')]('bulletedList',_0x5b4170(_0x5992('0x14'))),_0x166e61[_0x5992('0xd')]('indentList',_0x34aecf(_0x5992('0x43'))),_0x166e61[_0x5992('0xd')](_0x5992('0x42'),_0x34aecf(_0x5992('0x42'))),_0x166e61[_0x5992('0xd')](_0x5992('0x13'),_0x750ad7(_0x5992('0x13'))),_0x166e61['enableCommand'](_0x5992('0x31'),_0x750ad7(_0x5992('0x31'))),_0x166e61[_0x5992('0xb')][_0x5992('0x48')](function(_0xf0fce2){const _0x157fdc=!_0x226273[_0x5992('0x3e')]['schema'][_0x5992('0x2f')](_0xf0fce2),_0xc79434=_0xf0fce2[_0x5992('0x3a')],_0x5424b7=_0xf0fce2[_0x5992('0x17')],_0x2efde7=_0xf0fce2[_0x5992('0x12')](_0x5992('0x11')),_0x12adbf=!_0xc79434||_0xc79434[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7,_0xdbb97c=!_0x5424b7||_0x5424b7[_0x5992('0x12')](_0x5992('0x11'))!==_0x2efde7;return _0x157fdc&&_0x2efde7&&_0x12adbf&&_0xdbb97c;},_0x2aaf5a=>_0x1157b1(_0x273ca2,_0x5992('0x35'),_0x2aaf5a)),_0x166e61['_descriptionFactory'][_0x5992('0x1d')](function(_0x2f18a7){const {data:_0x12d989}=_0x2f18a7;if(!_0x12d989)return;let _0x3f2c62,_0x378ed7,_0xb7d7c9,_0x41486d;switch(_0x12d989[_0x5992('0x2b')]){case _0x5992('0x14'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0]['forceValue'],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':'format','content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0xc')))};break;case _0x5992('0x3d'):_0xb7d7c9=_0x12d989[_0x5992('0x27')][0x0][_0x5992('0x2')],_0x41486d=_0x56cc1e(_0x12d989[_0x5992('0x2b')]),_0x3f2c62=_0xb7d7c9?_0x5992('0x9'):_0x5992('0x2d'),_0x41486d&&(_0x3f2c62=_0x5992('0x36')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x3f2c62=_0x5992('0x16'),_0x378ed7={'type':_0x5992('0x26'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))};break;case _0x5992('0x42'):_0x3f2c62=function(_0x32b8d8){const _0x161c81=_0x32b8d8[_0x5992('0x3b')]();let _0x27d58b=_0x161c81['start'][_0x5992('0x29')];for(;_0x27d58b&&_0x161c81['containsItem'](_0x27d58b);){if(_0x27d58b[_0x5992('0x12')](_0x5992('0x15'))>0x0)return!0x1;_0x27d58b=_0x27d58b[_0x5992('0x17')];}return!0x0;}(_0x2f18a7)?_0x1157b1(_0x273ca2,_0x5992('0x2d'),_0x1157b1(_0x273ca2,function(_0x5b78ec){const _0x304d6c=_0x5b78ec[_0x5992('0x3b')]()[_0x5992('0x1c')][_0x5992('0x29')];return _0x5992('0x46')+_0x304d6c['getAttribute'](_0x5992('0x1b'))[_0x5992('0x1a')]()+_0x5992('0x2c');}(_0x2f18a7))):_0x1157b1(_0x273ca2,_0x5992('0x25'),_0x1157b1(_0x273ca2,'ELEMENT_LIST_ITEM')),_0x378ed7={'type':_0x5992('0x26'),'content':_0x3f2c62};break;case'mergeListItemBackward':case _0x5992('0x24'):!0x1===_0x12d989[_0x5992('0x7')]&&(_0x3f2c62='*Merge:*\x20%0',_0x378ed7={'type':_0x5992('0x1'),'content':_0x1157b1(_0x273ca2,_0x3f2c62,_0x1157b1(_0x273ca2,_0x5992('0x35')))});}return _0x378ed7;}),_0x166e61['_suggestionFactory'][_0x5992('0x2e')]('formatBlock',_0x5992('0x3c'),_0x5992('0x38'),function(_0x8384d6,_0x4351a3){const _0x1dd3e9=[];for(let _0x9b2c25 of _0x8384d6)_0x9b2c25[_0x5992('0x1c')]['nodeAfter']===_0x9b2c25[_0x5992('0x4a')][_0x5992('0x34')]&&(_0x9b2c25=_0x226273[_0x5992('0x3e')][_0x5992('0x20')](_0x226273['model']['createPositionAt'](_0x9b2c25['start']['nodeAfter'],0x0))),_0x1dd3e9[_0x5992('0x3')](_0x9b2c25);_0x226273[_0x5992('0x3e')][_0x5992('0x3f')](_0x55346e=>{const _0x6e49=_0x226273[_0x5992('0x3e')]['document'][_0x5992('0x22')],_0x4e42b3=Array[_0x5992('0x37')](_0x6e49[_0x5992('0x1f')]())[_0x5992('0x2a')](_0x1f3c5e=>_0x2366fe[_0x5992('0x4')](_0x1f3c5e));_0x55346e['setSelection'](_0x1dd3e9),_0x226273[_0x5992('0x0')][_0x5992('0x39')](_0x4351a3[_0x5992('0x2b')])[_0x5992('0x40')](),_0x4351a3[_0x5992('0x27')][_0x5992('0x3')]({'forceDefaultExecution':!0x0}),_0x226273[_0x5992('0x1e')](_0x4351a3[_0x5992('0x2b')],..._0x4351a3[_0x5992('0x27')]),_0x55346e[_0x5992('0x45')](_0x4e42b3);for(const _0x3a3aae of _0x4e42b3)_0x3a3aae[_0x5992('0x47')]();});});}}
@@ -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 _0xc050=['config','toUpperCase','handleListReversedCommand','push','editor','isListItemBlock','replaceAll','listReversed','startIndex','DocumentListUtils','_descriptionFactory','isFirstBlockOfListItem','plugins','numbered','model','TrackChangesEditing','getAttribute','filter','DocumentListPropertiesUtils','styles','listStart','_getSuggestionBlocks','get','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','handleDescriptions','handleListStyleCommand','enableCommand','*Format:*\x20set\x20order\x20to\x20regular','getSelectedBlocks','afterInit','list.properties','reversed','locale','change','ELEMENT_','length','_LIST_','listStyle','listType','registerDescriptionCallback','bind','commandName','from','hasAttribute','format','_getTranslationKeyForListStyle','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','expandListBlocksToCompleteList','handleListStartCommand','commandParams','selection'];(function(_0x4b1275,_0xc050d7){const _0x3e9c5d=function(_0x52f5d3){while(--_0x52f5d3){_0x4b1275['push'](_0x4b1275['shift']());}};_0x3e9c5d(++_0xc050d7);}(_0xc050,0x19f));const _0x3e9c=function(_0x4b1275,_0xc050d7){_0x4b1275=_0x4b1275-0x0;let _0x3e9c5d=_0xc050[_0x4b1275];return _0x3e9c5d;};import{Plugin as _0x2049a0}from'ckeditor5/src/core';import{getTranslation as _0x943396}from'../utils/common-translations';export default class vt extends _0x2049a0{[_0x3e9c('0x27')](){if(!this[_0x3e9c('0xd')]['plugins']['has'](_0x3e9c('0x3')))return;const _0x226000=this[_0x3e9c('0xd')][_0x3e9c('0x9')][_0x3e9c('0x1f')](_0x3e9c('0x28')),_0x29d362=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18'));_0x226000[_0x3e9c('0x1c')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x2f'),this['handleListStyleCommand']['bind'](this)),_0x226000[_0x3e9c('0x29')]&&_0x29d362[_0x3e9c('0x24')](_0x3e9c('0x10'),this[_0x3e9c('0xb')][_0x3e9c('0x32')](this)),_0x226000[_0x3e9c('0x11')]&&_0x29d362['enableCommand'](_0x3e9c('0x1d'),this[_0x3e9c('0x6')]['bind'](this)),_0x29d362[_0x3e9c('0x13')][_0x3e9c('0x31')](this[_0x3e9c('0x22')][_0x3e9c('0x32')](this));}[_0x3e9c('0x23')](_0x42a742,_0x34654c){const _0x5b8742=this['editor'][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x18')),_0x2f55cc=this[_0x3e9c('0x1e')](_0x55140d=>_0x55140d[_0x3e9c('0x0')]('listType'));null!==_0x2f55cc&&this['editor'][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x5b8742[_0x3e9c('0x20')](_0x2f55cc,{'commandName':_0x3e9c('0x2f'),'commandParams':[{'type':_0x34654c['type']}],'formatGroupId':_0x3e9c('0x2f')});});}[_0x3e9c('0xb')](_0x57ce91,_0x5e963b){const _0x1155a8=this[_0x3e9c('0xd')]['plugins']['get'](_0x3e9c('0x18')),_0x4be714=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')](_0x3e9c('0x12')),_0x2933e7=this[_0x3e9c('0x1e')](_0x2b25a3=>_0x4be714[_0x3e9c('0xe')](_0x2b25a3)&&_0x3e9c('0x16')===_0x2b25a3[_0x3e9c('0x19')](_0x3e9c('0x30')));null!==_0x2933e7&&this[_0x3e9c('0xd')]['model'][_0x3e9c('0x2b')](()=>{_0x1155a8[_0x3e9c('0x20')](_0x2933e7,{'commandName':'listReversed','commandParams':[{'reversed':_0x5e963b[_0x3e9c('0x29')]}],'formatGroupId':'listReversed'});});}[_0x3e9c('0x6')](_0x9a3029,_0x55256c){const _0x3b89a8=this[_0x3e9c('0xd')][_0x3e9c('0x15')]['get'](_0x3e9c('0x18')),_0x5a26cb=this[_0x3e9c('0xd')][_0x3e9c('0x15')][_0x3e9c('0x1f')]('DocumentListUtils'),_0x2d410b=this[_0x3e9c('0x1e')](_0xf963b1=>_0x5a26cb[_0x3e9c('0xe')](_0xf963b1)&&_0x3e9c('0x16')===_0xf963b1['getAttribute']('listType'));null!==_0x2d410b&&this[_0x3e9c('0xd')][_0x3e9c('0x17')][_0x3e9c('0x2b')](()=>{_0x3b89a8[_0x3e9c('0x20')](_0x2d410b,{'commandName':_0x3e9c('0x1d'),'commandParams':[{'startIndex':_0x55256c[_0x3e9c('0x11')]}],'formatGroupId':_0x3e9c('0x1d')});});}[_0x3e9c('0x22')](_0x57d0c4){const _0x5a3470=this[_0x3e9c('0xd')][_0x3e9c('0x2a')],{data:_0x46bf8d}=_0x57d0c4;if(!_0x46bf8d)return;let _0x333056,_0x347b77;switch(_0x46bf8d[_0x3e9c('0x33')]){case _0x3e9c('0x2f'):_0x333056=_0x3e9c('0x21'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x943396(_0x5a3470,this[_0x3e9c('0x2')](_0x46bf8d[_0x3e9c('0x7')][0x0]['type'])))};break;case _0x3e9c('0x10'):_0x333056=_0x46bf8d[_0x3e9c('0x7')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3e9c('0x25'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056)};break;case'listStart':_0x333056=_0x3e9c('0x4'),_0x347b77={'type':_0x3e9c('0x1'),'content':_0x943396(_0x5a3470,_0x333056,_0x46bf8d[_0x3e9c('0x7')][0x0][_0x3e9c('0x11')])};}return _0x347b77;}[_0x3e9c('0x1e')](_0x49f8e5){const _0x177941=this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x12'));let _0x46cc3c=Array[_0x3e9c('0x34')](this[_0x3e9c('0xd')][_0x3e9c('0x17')]['document'][_0x3e9c('0x8')][_0x3e9c('0x26')]())[_0x3e9c('0x1a')](_0x49f8e5);if(!_0x46cc3c[_0x3e9c('0x2d')])return null;_0x46cc3c=_0x177941[_0x3e9c('0x5')](_0x46cc3c);const _0x101bc4=[];for(const _0x1694a1 of _0x46cc3c)_0x177941[_0x3e9c('0x14')](_0x1694a1)&&_0x101bc4[_0x3e9c('0xc')](_0x1694a1);return _0x101bc4;}[_0x3e9c('0x2')](_0x324902){return _0x3e9c('0x2c')+this[_0x3e9c('0xd')]['plugins'][_0x3e9c('0x1f')](_0x3e9c('0x1b'))['getListTypeFromListStyleType'](_0x324902)[_0x3e9c('0xa')]()+_0x3e9c('0x2e')+_0x324902[_0x3e9c('0xa')]()[_0x3e9c('0xf')]('-','_');}}
@@ -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 _0x1cb8=['parent','init','end','editor','showSuggestionHighlights','split','editing','enter','downcastDispatcher','requires','markerNameToElements','get','plugins','markerName','addMarker:suggestion:insertion','detach','hasClass','model','document','data','afterExecute','remove','fromRange','mapper','getFirstPosition','enableCommand','getFirstRange','setSelection','high','createPositionAt','selection','createRange','ck-suggestion-marker-split','TrackChangesEditing','removeMarker:suggestion:insertion','change','commands'];(function(_0x4745ad,_0x1cb830){const _0x1b7ba2=function(_0x72a749){while(--_0x72a749){_0x4745ad['push'](_0x4745ad['shift']());}};_0x1b7ba2(++_0x1cb830);}(_0x1cb8,0x18f));const _0x1b7b=function(_0x4745ad,_0x1cb830){_0x4745ad=_0x4745ad-0x0;let _0x1b7ba2=_0x1cb8[_0x4745ad];return _0x1b7ba2;};import{Plugin as _0x43beb1}from'ckeditor5/src/core';import{Enter as _0x19d2b9}from'ckeditor5/src/enter';import{LiveRange as _0x2cf92e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x27a8fb}from'./utils';export default class H extends _0x43beb1{static get[_0x1b7b('0x11')](){return[_0x19d2b9];}[_0x1b7b('0x9')](){const _0x5909a2=this[_0x1b7b('0xb')],_0x3a81a1=_0x5909a2[_0x1b7b('0x14')][_0x1b7b('0x13')](_0x1b7b('0x4')),_0x453d07=_0x5909a2[_0x1b7b('0x7')]['get'](_0x1b7b('0xf'));_0x3a81a1[_0x1b7b('0x21')](_0x1b7b('0xf'),()=>{_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x6')](_0x466d28=>{const _0xf092fc=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x1a')][_0x1b7b('0x1')],_0x27a9a4=_0xf092fc[_0x1b7b('0x20')](),_0x2d94c4=_0x2cf92e[_0x1b7b('0x1e')](_0xf092fc[_0x1b7b('0x22')]());if(_0x453d07['enterBlock'](_0x466d28)){const _0x5dbd8a=_0x5909a2[_0x1b7b('0x19')][_0x1b7b('0x0')](_0x27a9a4[_0x1b7b('0x8')]['nextSibling'],0x0),_0x31a034=_0x466d28['createRange'](_0x27a9a4,_0x5dbd8a);_0x3a81a1['markInsertion'](_0x31a034);}else _0x466d28[_0x1b7b('0x23')](_0x466d28[_0x1b7b('0x2')](_0x2d94c4[_0x1b7b('0xa')]));_0x2d94c4[_0x1b7b('0x17')](),_0x453d07['fire'](_0x1b7b('0x1c'),{'writer':_0x466d28});});}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x16'),_0x27a8fb(_0x5909a2,_0x1b7b('0xd')),{'priority':'high'}),_0x5909a2[_0x1b7b('0xe')]['downcastDispatcher']['on'](_0x1b7b('0x5'),(_0x494317,_0x4098ee,_0xac2ee9)=>{const _0x160297=_0xac2ee9[_0x1b7b('0x1f')][_0x1b7b('0x12')](_0x4098ee['markerName']);if(_0x160297)for(const _0x1b8d1d of _0x160297)_0x1b8d1d[_0x1b7b('0x18')](_0x1b7b('0x3'))&&(_0xac2ee9[_0x1b7b('0x1f')]['unbindElementFromMarkerName'](_0x1b8d1d,_0x4098ee[_0x1b7b('0x15')]),_0xac2ee9['writer'][_0x1b7b('0x1d')](_0x1b8d1d));},{'priority':_0x1b7b('0x24')}),_0x5909a2[_0x1b7b('0x1b')][_0x1b7b('0x10')]['on'](_0x1b7b('0x16'),(_0x1ef8c0,_0x2de72e,_0xe2b88b)=>{_0xe2b88b['options'][_0x1b7b('0xc')]&&_0x27a8fb(_0x5909a2,_0x1b7b('0xd'),{'showActiveMarker':!0x1})(_0x1ef8c0,_0x2de72e,_0xe2b88b);},{'priority':_0x1b7b('0x24')});}}
@@ -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 _0x813f=['editor','replace','createPositionAt','find','start','FindAndReplaceEditing','enableCommand','end','get','getRange','suggestion:deletion','has','plugins','item','handleFindCommand','getIntersection','string','model','findByTextCallback','_isInDeletionRange','findPrevious','replaceAll','filter','findNext','TrackChangesEditing'];(function(_0x496a19,_0x813fa0){const _0x3a5277=function(_0x52305c){while(--_0x52305c){_0x496a19['push'](_0x496a19['shift']());}};_0x3a5277(++_0x813fa0);}(_0x813f,0x198));const _0x3a52=function(_0x496a19,_0x813fa0){_0x496a19=_0x496a19-0x0;let _0x3a5277=_0x813f[_0x496a19];return _0x3a5277;};import{Plugin as _0x585ac8}from'ckeditor5/src/core';export default class W extends _0x585ac8{['afterInit'](){if(!this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x3')](_0x3a52('0x16')))return;const _0x3109c1=this[_0x3a52('0x11')]['plugins'][_0x3a52('0x0')](_0x3a52('0x10'));_0x3109c1[_0x3a52('0x17')](_0x3a52('0x14'),this[_0x3a52('0x6')]['bind'](this)),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xf')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xc')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0x12')),_0x3109c1[_0x3a52('0x17')](_0x3a52('0xd'));}['handleFindCommand'](_0x17269d,_0x67dc46,_0x218ced){const _0x3c3428=this[_0x3a52('0x11')][_0x3a52('0x4')][_0x3a52('0x0')]('FindAndReplaceUtils');void 0x0!==_0x218ced&&_0x17269d(_0x169038=>(_0x3a52('0x8')==typeof _0x67dc46?_0x3c3428[_0x3a52('0xa')](_0x67dc46,_0x218ced):_0x67dc46)(_0x169038)[_0x3a52('0xe')](_0x197ebd=>!0x1===this[_0x3a52('0xb')](_0x197ebd,_0x169038[_0x3a52('0x5')])),_0x218ced);}[_0x3a52('0xb')](_0x38a03e,_0x4dcec7){const _0x2cb340=this[_0x3a52('0x11')][_0x3a52('0x9')]['createRange'](this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x15')]),this[_0x3a52('0x11')][_0x3a52('0x9')][_0x3a52('0x13')](_0x4dcec7,_0x38a03e[_0x3a52('0x18')]));for(const _0x5d7c68 of this['editor'][_0x3a52('0x9')]['markers']['getMarkersGroup'](_0x3a52('0x2')))if(null!==_0x2cb340[_0x3a52('0x7')](_0x5d7c68[_0x3a52('0x1')]()))return!0x0;return!0x1;}}