@ckeditor/ckeditor5-track-changes 35.3.1 → 35.3.2

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 (101) hide show
  1. package/build/track-changes.js +1 -2
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
  56. package/build/translations/ar.js +0 -1
  57. package/build/translations/az.js +0 -1
  58. package/build/translations/bg.js +0 -1
  59. package/build/translations/bn.js +0 -1
  60. package/build/translations/ca.js +0 -1
  61. package/build/translations/cs.js +0 -1
  62. package/build/translations/da.js +0 -1
  63. package/build/translations/de.js +0 -1
  64. package/build/translations/el.js +0 -1
  65. package/build/translations/en-au.js +0 -1
  66. package/build/translations/es.js +0 -1
  67. package/build/translations/et.js +0 -1
  68. package/build/translations/fi.js +0 -1
  69. package/build/translations/fr.js +0 -1
  70. package/build/translations/gl.js +0 -1
  71. package/build/translations/he.js +0 -1
  72. package/build/translations/hi.js +0 -1
  73. package/build/translations/hr.js +0 -1
  74. package/build/translations/hu.js +0 -1
  75. package/build/translations/id.js +0 -1
  76. package/build/translations/it.js +0 -1
  77. package/build/translations/ja.js +0 -1
  78. package/build/translations/ko.js +0 -1
  79. package/build/translations/lt.js +0 -1
  80. package/build/translations/lv.js +0 -1
  81. package/build/translations/ms.js +0 -1
  82. package/build/translations/nl.js +0 -1
  83. package/build/translations/no.js +0 -1
  84. package/build/translations/pl.js +0 -1
  85. package/build/translations/pt-br.js +0 -1
  86. package/build/translations/pt.js +0 -1
  87. package/build/translations/ro.js +0 -1
  88. package/build/translations/ru.js +0 -1
  89. package/build/translations/sk.js +0 -1
  90. package/build/translations/sr-latn.js +0 -1
  91. package/build/translations/sr.js +0 -1
  92. package/build/translations/sv.js +0 -1
  93. package/build/translations/th.js +0 -1
  94. package/build/translations/tk.js +0 -1
  95. package/build/translations/tr.js +0 -1
  96. package/build/translations/tt.js +0 -1
  97. package/build/translations/uk.js +0 -1
  98. package/build/translations/ur.js +0 -1
  99. package/build/translations/vi.js +0 -1
  100. package/build/translations/zh-cn.js +0 -1
  101. package/build/translations/zh.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.3.1",
3
+ "version": "35.3.2",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.3.1",
31
- "ckeditor5-collaboration": "^35.3.1",
30
+ "ckeditor5": "^35.3.2",
31
+ "ckeditor5-collaboration": "^35.3.2",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.3.1"
33
+ "@ckeditor/ckeditor5-style": "^35.3.2"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48ab=['plugins','refresh','track-changes-accept-suggestion-not-found','isEnabled','execute','TrackChangesEditing','get','editor','_suggestions'];(function(_0x1d1adb,_0x48aba2){const _0x2de77e=function(_0xed6df6){while(--_0xed6df6){_0x1d1adb['push'](_0x1d1adb['shift']());}};_0x2de77e(++_0x48aba2);}(_0x48ab,0xde));const _0x2de7=function(_0x1d1adb,_0x48aba2){_0x1d1adb=_0x1d1adb-0x0;let _0x2de77e=_0x48ab[_0x1d1adb];return _0x2de77e;};import{Command as _0xe4d689}from'ckeditor5/src/core';import{CKEditorError as _0xeed90d}from'ckeditor5/src/utils';export default class N extends _0xe4d689{constructor(_0x20b8c4,_0x3e1fbe){super(_0x20b8c4),this[_0x2de7('0x2')]=_0x3e1fbe,this[_0x2de7('0x4')]();}[_0x2de7('0x4')](){this[_0x2de7('0x6')]=!0x0;}[_0x2de7('0x7')](_0x11ea3c){const _0x50f029=this[_0x2de7('0x2')][_0x2de7('0x0')](_0x11ea3c);if(!_0x50f029)throw new _0xeed90d(_0x2de7('0x5'),this);this[_0x2de7('0x1')][_0x2de7('0x3')][_0x2de7('0x0')](_0x2de7('0x8'))['acceptSuggestion'](_0x50f029);}}
23
+ const _0xe978=['get','acceptSuggestion','execute','plugins','isEnabled','track-changes-accept-suggestion-not-found','editor','refresh','_suggestions'];(function(_0x1d57e0,_0xe978c3){const _0x3a11c5=function(_0x189af2){while(--_0x189af2){_0x1d57e0['push'](_0x1d57e0['shift']());}};_0x3a11c5(++_0xe978c3);}(_0xe978,0xdf));const _0x3a11=function(_0x1d57e0,_0xe978c3){_0x1d57e0=_0x1d57e0-0x0;let _0x3a11c5=_0xe978[_0x1d57e0];return _0x3a11c5;};import{Command as _0x565f43}from'ckeditor5/src/core';import{CKEditorError as _0x22c194}from'ckeditor5/src/utils';export default class N extends _0x565f43{constructor(_0xf7946d,_0x3dcfa1){super(_0xf7946d),this[_0x3a11('0x1')]=_0x3dcfa1,this[_0x3a11('0x0')]();}[_0x3a11('0x0')](){this[_0x3a11('0x6')]=!0x0;}[_0x3a11('0x4')](_0x1d74b4){const _0x3446e5=this[_0x3a11('0x1')][_0x3a11('0x2')](_0x1d74b4);if(!_0x3446e5)throw new _0x22c194(_0x3a11('0x7'),this);this[_0x3a11('0x8')][_0x3a11('0x5')][_0x3a11('0x2')]('TrackChangesEditing')[_0x3a11('0x3')](_0x3446e5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x100b=['_suggestions','execute','track-changes-discard-suggestion-not-found','editor','refresh','get'];(function(_0x44d330,_0x100b4e){const _0x17ce96=function(_0x30ef7c){while(--_0x30ef7c){_0x44d330['push'](_0x44d330['shift']());}};_0x17ce96(++_0x100b4e);}(_0x100b,0x185));const _0x17ce=function(_0x44d330,_0x100b4e){_0x44d330=_0x44d330-0x0;let _0x17ce96=_0x100b[_0x44d330];return _0x17ce96;};import{Command as _0x3812bf}from'ckeditor5/src/core';import{CKEditorError as _0x426e69}from'ckeditor5/src/utils';export default class R extends _0x3812bf{constructor(_0x10a520,_0x15be49){super(_0x10a520),this['_suggestions']=_0x15be49,this[_0x17ce('0x5')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x17ce('0x2')](_0x5796ec){const _0x43538b=this[_0x17ce('0x1')]['get'](_0x5796ec);if(!_0x43538b)throw new _0x426e69(_0x17ce('0x3'),this);this[_0x17ce('0x4')]['plugins'][_0x17ce('0x0')]('TrackChangesEditing')['discardSuggestion'](_0x43538b);}}
23
+ const _0xdd51=['execute','get','plugins','_suggestions','track-changes-discard-suggestion-not-found','discardSuggestion','editor','TrackChangesEditing','refresh'];(function(_0x195eda,_0xdd510b){const _0x457ba1=function(_0x351a31){while(--_0x351a31){_0x195eda['push'](_0x195eda['shift']());}};_0x457ba1(++_0xdd510b);}(_0xdd51,0xce));const _0x457b=function(_0x195eda,_0xdd510b){_0x195eda=_0x195eda-0x0;let _0x457ba1=_0xdd51[_0x195eda];return _0x457ba1;};import{Command as _0x43a93e}from'ckeditor5/src/core';import{CKEditorError as _0x2e3041}from'ckeditor5/src/utils';export default class R extends _0x43a93e{constructor(_0x8e195f,_0xee949e){super(_0x8e195f),this[_0x457b('0x4')]=_0xee949e,this[_0x457b('0x0')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x457b('0x1')](_0xe81e53){const _0x3e5f42=this[_0x457b('0x4')][_0x457b('0x2')](_0xe81e53);if(!_0x3e5f42)throw new _0x2e3041(_0x457b('0x5'),this);this[_0x457b('0x7')][_0x457b('0x3')][_0x457b('0x2')](_0x457b('0x8'))[_0x457b('0x6')](_0x3e5f42);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae2a=['_suggestions','_command','from','some','execute','isEnabled','isInContent','refresh','editor','values'];(function(_0x3bc7b7,_0xae2adb){const _0x5750d1=function(_0x58d21b){while(--_0x58d21b){_0x3bc7b7['push'](_0x3bc7b7['shift']());}};_0x5750d1(++_0xae2adb);}(_0xae2a,0x15f));const _0x5750=function(_0x3bc7b7,_0xae2adb){_0x3bc7b7=_0x3bc7b7-0x0;let _0x5750d1=_0xae2a[_0x3bc7b7];return _0x5750d1;};import{Command as _0x1a8f39}from'ckeditor5/src/core';import{sortSuggestions as _0x2b0dd7,executeCommandForSuggestions as _0x434c8f}from'../utils/utils';export default class x extends _0x1a8f39{constructor(_0x581b97,_0x56f979,_0x19c4af){super(_0x581b97),this[_0x5750('0x0')]=_0x56f979,this[_0x5750('0x9')]=_0x19c4af,this[_0x5750('0x6')]();}['refresh'](){const _0x4d2b40=Array[_0x5750('0x1')](this[_0x5750('0x9')][_0x5750('0x8')]())[_0x5750('0x2')](_0x196bfe=>_0x196bfe[_0x5750('0x5')]);this[_0x5750('0x4')]=this[_0x5750('0x0')]['isEnabled']&&_0x4d2b40;}[_0x5750('0x3')](){const _0x55043d=_0x2b0dd7(Array[_0x5750('0x1')](this[_0x5750('0x9')]['values']()));_0x434c8f(this[_0x5750('0x7')]['model'],this['_command'],_0x55043d);}}
23
+ const _0x1611=['from','isEnabled','_command','isInContent','model','editor','values','some','_suggestions','refresh'];(function(_0x36c1ce,_0x1611fc){const _0x4f6b5c=function(_0x1be2c5){while(--_0x1be2c5){_0x36c1ce['push'](_0x36c1ce['shift']());}};_0x4f6b5c(++_0x1611fc);}(_0x1611,0x14a));const _0x4f6b=function(_0x36c1ce,_0x1611fc){_0x36c1ce=_0x36c1ce-0x0;let _0x4f6b5c=_0x1611[_0x36c1ce];return _0x4f6b5c;};import{Command as _0x23a51d}from'ckeditor5/src/core';import{sortSuggestions as _0x158b96,executeCommandForSuggestions as _0x55bfc3}from'../utils/utils';export default class x extends _0x23a51d{constructor(_0x3a0616,_0x42993b,_0x4369f8){super(_0x3a0616),this['_command']=_0x42993b,this[_0x4f6b('0x8')]=_0x4369f8,this[_0x4f6b('0x9')]();}['refresh'](){const _0x5dc4da=Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]())[_0x4f6b('0x7')](_0x1070e3=>_0x1070e3[_0x4f6b('0x3')]);this[_0x4f6b('0x1')]=this[_0x4f6b('0x2')][_0x4f6b('0x1')]&&_0x5dc4da;}['execute'](){const _0x35ea21=_0x158b96(Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]()));_0x55bfc3(this[_0x4f6b('0x5')][_0x4f6b('0x4')],this[_0x4f6b('0x2')],_0x35ea21);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11fe=['_selectedSuggestions','model','execute','from','document','selection','size','isEnabled','_suggestions','_command','refresh'];(function(_0x4045ad,_0x11fe45){const _0x541e05=function(_0x18653b){while(--_0x18653b){_0x4045ad['push'](_0x4045ad['shift']());}};_0x541e05(++_0x11fe45);}(_0x11fe,0x172));const _0x541e=function(_0x4045ad,_0x11fe45){_0x4045ad=_0x4045ad-0x0;let _0x541e05=_0x11fe[_0x4045ad];return _0x541e05;};import{Command as _0x15c418}from'ckeditor5/src/core';import{sortSuggestions as _0x16c87f,getSelectedSuggestions as _0x362ba7,executeCommandForSuggestions as _0xb60a6d}from'../utils/utils';export default class U extends _0x15c418{constructor(_0x315dc4,_0x3fc420,_0x1da407){super(_0x315dc4),this[_0x541e('0x2')]=_0x3fc420,this[_0x541e('0x1')]=_0x1da407,this[_0x541e('0x4')]=new Set(),this[_0x541e('0x3')]();}[_0x541e('0x3')](){const _0x4fa441=this['editor'][_0x541e('0x5')][_0x541e('0x8')][_0x541e('0x9')],_0x3be63c=Array[_0x541e('0x7')](this[_0x541e('0x1')]['values']());this[_0x541e('0x4')]=_0x362ba7(_0x4fa441,_0x3be63c),this[_0x541e('0x0')]=this[_0x541e('0x2')][_0x541e('0x0')]&&!!this[_0x541e('0x4')][_0x541e('0xa')];}[_0x541e('0x6')](){const _0x937408=_0x16c87f(Array[_0x541e('0x7')](this[_0x541e('0x4')]));_0xb60a6d(this['editor'][_0x541e('0x5')],this[_0x541e('0x2')],_0x937408);}}
23
+ const _0x2a24=['values','_selectedSuggestions','_command','from','model','selection','_suggestions','isEnabled','editor','document','size','refresh','execute'];(function(_0x471ae4,_0x2a244a){const _0x589a51=function(_0xa9fce8){while(--_0xa9fce8){_0x471ae4['push'](_0x471ae4['shift']());}};_0x589a51(++_0x2a244a);}(_0x2a24,0x18e));const _0x589a=function(_0x471ae4,_0x2a244a){_0x471ae4=_0x471ae4-0x0;let _0x589a51=_0x2a24[_0x471ae4];return _0x589a51;};import{Command as _0x8f9897}from'ckeditor5/src/core';import{sortSuggestions as _0x3327c6,getSelectedSuggestions as _0x37b447,executeCommandForSuggestions as _0x81232a}from'../utils/utils';export default class U extends _0x8f9897{constructor(_0x3026a7,_0xfe9293,_0x106149){super(_0x3026a7),this[_0x589a('0x7')]=_0xfe9293,this['_suggestions']=_0x106149,this[_0x589a('0x6')]=new Set(),this[_0x589a('0x3')]();}[_0x589a('0x3')](){const _0x385232=this[_0x589a('0x0')][_0x589a('0x9')][_0x589a('0x1')][_0x589a('0xa')],_0x12f565=Array[_0x589a('0x8')](this[_0x589a('0xb')][_0x589a('0x5')]());this[_0x589a('0x6')]=_0x37b447(_0x385232,_0x12f565),this['isEnabled']=this[_0x589a('0x7')][_0x589a('0xc')]&&!!this[_0x589a('0x6')][_0x589a('0x2')];}[_0x589a('0x4')](){const _0x13d85b=_0x3327c6(Array[_0x589a('0x8')](this[_0x589a('0x6')]));_0x81232a(this['editor'][_0x589a('0x9')],this[_0x589a('0x7')],_0x13d85b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5121=['TrackChangesCommand','isEnabled','_enableCommands','_disableUnsupportedCommands','clearForceDisabled','value','has','editor','forceDisabled','execute','refresh','_enabledCommands','commands'];(function(_0x55167f,_0x512107){const _0x2c6595=function(_0xe868bf){while(--_0xe868bf){_0x55167f['push'](_0x55167f['shift']());}};_0x2c6595(++_0x512107);}(_0x5121,0x1c9));const _0x2c65=function(_0x55167f,_0x512107){_0x55167f=_0x55167f-0x0;let _0x2c6595=_0x5121[_0x55167f];return _0x2c6595;};import{Command as _0x48b70c}from'ckeditor5/src/core';export default class $ extends _0x48b70c{constructor(_0x9e3962,_0x2504a2){super(_0x9e3962),this['_enabledCommands']=_0x2504a2,this[_0x2c65('0x3')]=!0x1,this['refresh']();}[_0x2c65('0x8')](){this[_0x2c65('0xc')]=!0x0;}[_0x2c65('0x7')](){this[_0x2c65('0x3')]=!this['value'],this[_0x2c65('0x3')]?this[_0x2c65('0x1')]():this[_0x2c65('0x0')]();}[_0x2c65('0x1')](){for(const _0x162795 of this[_0x2c65('0x5')][_0x2c65('0xa')][_0x2c65('0xa')]())_0x162795['affectsData']&&!this[_0x2c65('0x9')]['has'](_0x162795)&&_0x162795[_0x2c65('0x6')](_0x2c65('0xb'));}[_0x2c65('0x0')](){for(const _0x3e0be7 of this[_0x2c65('0x5')][_0x2c65('0xa')][_0x2c65('0xa')]())_0x3e0be7['affectsData']&&!this[_0x2c65('0x9')][_0x2c65('0x4')](_0x3e0be7)&&_0x3e0be7[_0x2c65('0x2')](_0x2c65('0xb'));}}
23
+ const _0x347f=['commands','_enabledCommands','forceDisabled','editor','affectsData','clearForceDisabled','execute','_enableCommands','value','_disableUnsupportedCommands','refresh','has'];(function(_0x2c3cb1,_0x347fc4){const _0x591921=function(_0x12969f){while(--_0x12969f){_0x2c3cb1['push'](_0x2c3cb1['shift']());}};_0x591921(++_0x347fc4);}(_0x347f,0x6f));const _0x5919=function(_0x2c3cb1,_0x347fc4){_0x2c3cb1=_0x2c3cb1-0x0;let _0x591921=_0x347f[_0x2c3cb1];return _0x591921;};import{Command as _0x569861}from'ckeditor5/src/core';export default class $ extends _0x569861{constructor(_0x4356ac,_0x5b0e3d){super(_0x4356ac),this['_enabledCommands']=_0x5b0e3d,this[_0x5919('0x5')]=!0x1,this[_0x5919('0x7')]();}[_0x5919('0x7')](){this['isEnabled']=!0x0;}[_0x5919('0x3')](){this[_0x5919('0x5')]=!this[_0x5919('0x5')],this['value']?this[_0x5919('0x6')]():this[_0x5919('0x4')]();}[_0x5919('0x6')](){for(const _0xbc2ce4 of this[_0x5919('0x0')][_0x5919('0x9')][_0x5919('0x9')]())_0xbc2ce4[_0x5919('0x1')]&&!this[_0x5919('0xa')][_0x5919('0x8')](_0xbc2ce4)&&_0xbc2ce4[_0x5919('0xb')]('TrackChangesCommand');}[_0x5919('0x4')](){for(const _0x3fd49d of this[_0x5919('0x0')]['commands']['commands']())_0x3fd49d[_0x5919('0x1')]&&!this['_enabledCommands'][_0x5919('0x8')](_0x3fd49d)&&_0x3fd49d[_0x5919('0x2')]('TrackChangesCommand');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53cf=['right','justify','getAttribute','commandName','center','plugins','model','FORMAT_JUSTIFY_TEXT','ltr','markBlockFormat','schema','FORMAT_ALIGN_TO_RIGHT','locale','document','editor','_descriptionFactory','format','FORMAT_ALIGN_TO_CENTER','selection','left','alignment','afterInit','value','change','getSelectedBlocks','FORMAT_ALIGN_TO_LEFT'];(function(_0x4caf59,_0x53cf12){const _0x98da20=function(_0x4cc46c){while(--_0x4cc46c){_0x4caf59['push'](_0x4caf59['shift']());}};_0x98da20(++_0x53cf12);}(_0x53cf,0x1a6));const _0x98da=function(_0x4caf59,_0x53cf12){_0x4caf59=_0x4caf59-0x0;let _0x98da20=_0x53cf[_0x4caf59];return _0x98da20;};import{Plugin as _0x229dd9}from'ckeditor5/src/core';import{getTranslation as _0x15a6a2}from'../utils/common-translations';export default class j extends _0x229dd9{[_0x98da('0xf')](){const _0xe6cb47=this[_0x98da('0x8')],_0x3a4da1=_0xe6cb47[_0x98da('0x6')];if(!_0xe6cb47[_0x98da('0x19')]['has']('AlignmentEditing'))return;const _0x1a8b9f=_0xe6cb47[_0x98da('0x19')]['get']('TrackChangesEditing');_0x1a8b9f['enableCommand'](_0x98da('0xe'),(_0x3900ad,_0x3f03ac={})=>{let _0x52c170=_0x3f03ac[_0x98da('0x10')];_0x3f03ac['value']||(_0x52c170=_0x98da('0x2')===_0xe6cb47[_0x98da('0x6')]['contentLanguageDirection']?'left':_0x98da('0x14'));const _0x5d6322=Array['from'](this[_0x98da('0x8')][_0x98da('0x0')][_0x98da('0x7')][_0x98da('0xc')][_0x98da('0x12')]())['filter'](_0x329cbe=>function(_0x4d8603,_0x339c50,_0x8b28c8){const _0xa21198=_0x4d8603[_0x98da('0x16')](_0x98da('0xe'))||null;return _0x339c50['checkAttribute'](_0x4d8603,_0x98da('0xe'))&&_0x8b28c8!=_0xa21198;}(_0x329cbe,this[_0x98da('0x8')]['model'][_0x98da('0x4')],_0x52c170));_0xe6cb47[_0x98da('0x0')][_0x98da('0x11')](()=>{for(const _0x5c969b of _0x5d6322)_0x1a8b9f[_0x98da('0x3')](_0x5c969b,{'commandName':_0x98da('0xe'),'commandParams':[{'value':_0x52c170}]});});}),_0x1a8b9f[_0x98da('0x9')]['registerDescriptionCallback'](_0x2dfd86=>{const {data:_0x19af36}=_0x2dfd86;if(_0x19af36&&_0x98da('0xe')==_0x19af36[_0x98da('0x17')]){const _0x14e6e6=_0x19af36['commandParams'][0x0][_0x98da('0x10')];return{'type':_0x98da('0xa'),'content':_0x15a6a2(_0x3a4da1,'*Format:*\x20%0',function(_0x2ee44c){switch(_0x2ee44c){case _0x98da('0xd'):return _0x15a6a2(_0x3a4da1,_0x98da('0x13'));case _0x98da('0x14'):return _0x15a6a2(_0x3a4da1,_0x98da('0x5'));case _0x98da('0x18'):return _0x15a6a2(_0x3a4da1,_0x98da('0xb'));case _0x98da('0x15'):return _0x15a6a2(_0x3a4da1,_0x98da('0x1'));}}(_0x14e6e6))};}});}}
23
+ const _0x203b=['_descriptionFactory','TrackChangesEditing','enableCommand','model','contentLanguageDirection','locale','schema','document','value','FORMAT_ALIGN_TO_LEFT','editor','get','alignment','left','change','filter','from','plugins','getSelectedBlocks','AlignmentEditing','right','markBlockFormat','checkAttribute','FORMAT_JUSTIFY_TEXT','selection','commandParams','getAttribute'];(function(_0x4aa653,_0x203bb6){const _0x28fcc9=function(_0x38c57d){while(--_0x38c57d){_0x4aa653['push'](_0x4aa653['shift']());}};_0x28fcc9(++_0x203bb6);}(_0x203b,0x19d));const _0x28fc=function(_0x4aa653,_0x203bb6){_0x4aa653=_0x4aa653-0x0;let _0x28fcc9=_0x203b[_0x4aa653];return _0x28fcc9;};import{Plugin as _0x261a64}from'ckeditor5/src/core';import{getTranslation as _0x123a12}from'../utils/common-translations';export default class j extends _0x261a64{['afterInit'](){const _0x383e90=this['editor'],_0x505383=_0x383e90[_0x28fc('0x18')];if(!_0x383e90[_0x28fc('0x9')]['has'](_0x28fc('0xb')))return;const _0x189800=_0x383e90['plugins'][_0x28fc('0x3')](_0x28fc('0x14'));_0x189800[_0x28fc('0x15')](_0x28fc('0x4'),(_0x541aa2,_0x59b65f={})=>{let _0x9b5a12=_0x59b65f['value'];_0x59b65f[_0x28fc('0x0')]||(_0x9b5a12='ltr'===_0x383e90[_0x28fc('0x18')][_0x28fc('0x17')]?_0x28fc('0x5'):'right');const _0x3f2124=Array[_0x28fc('0x8')](this[_0x28fc('0x2')][_0x28fc('0x16')][_0x28fc('0x1a')][_0x28fc('0x10')][_0x28fc('0xa')]())[_0x28fc('0x7')](_0x1c46fc=>function(_0x5bd9a3,_0x47c775,_0x423d68){const _0x33fb41=_0x5bd9a3[_0x28fc('0x12')]('alignment')||null;return _0x47c775[_0x28fc('0xe')](_0x5bd9a3,_0x28fc('0x4'))&&_0x423d68!=_0x33fb41;}(_0x1c46fc,this[_0x28fc('0x2')]['model'][_0x28fc('0x19')],_0x9b5a12));_0x383e90[_0x28fc('0x16')][_0x28fc('0x6')](()=>{for(const _0x5e14b1 of _0x3f2124)_0x189800[_0x28fc('0xd')](_0x5e14b1,{'commandName':_0x28fc('0x4'),'commandParams':[{'value':_0x9b5a12}]});});}),_0x189800[_0x28fc('0x13')]['registerDescriptionCallback'](_0x52452f=>{const {data:_0x4820aa}=_0x52452f;if(_0x4820aa&&'alignment'==_0x4820aa['commandName']){const _0x4458ed=_0x4820aa[_0x28fc('0x11')][0x0][_0x28fc('0x0')];return{'type':'format','content':_0x123a12(_0x505383,'*Format:*\x20%0',function(_0x1a7c0a){switch(_0x1a7c0a){case _0x28fc('0x5'):return _0x123a12(_0x505383,_0x28fc('0x1'));case _0x28fc('0xc'):return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x123a12(_0x505383,_0x28fc('0xf'));}}(_0x4458ed))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47f5=['TrackChangesEditing','subscript','enableCommand','registerDescriptionCallback','FORMAT_SUPERSCRIPT','commandName','format','model','markInlineFormat','SuperscriptEditing','selection','FORMAT_UNDERLINE','StrikethroughEditing','code','document','underline','superscript','isCollapsed','CodeEditing','FORMAT_SUBSCRIPT','plugins','has','slice','FORMAT_ITALIC','_descriptionFactory','UnderlineEditing','commands','italic','FORMAT_STRIKETHROUGH','FORMAT_BOLD','bold','BoldEditing','toLowerCase','forceValue','strikethrough','ItalicEditing','get'];(function(_0x19b645,_0x47f52d){const _0x44b8e8=function(_0x212eb8){while(--_0x212eb8){_0x19b645['push'](_0x19b645['shift']());}};_0x44b8e8(++_0x47f52d);}(_0x47f5,0xd0));const _0x44b8=function(_0x19b645,_0x47f52d){_0x19b645=_0x19b645-0x0;let _0x44b8e8=_0x47f5[_0x19b645];return _0x44b8e8;};import{Plugin as _0x5d4b53}from'ckeditor5/src/core';import{getTranslation as _0x5f2d48}from'../utils/common-translations';import{getRangesWithAttribute as _0x5a3f6d}from'./utils';const Ot=[_0x44b8('0x8'),_0x44b8('0xc'),_0x44b8('0x2'),_0x44b8('0x20'),_0x44b8('0x1a'),'SubscriptEditing',_0x44b8('0x17')];export default class E extends _0x5d4b53{['afterInit'](){const _0x2becee=this['editor'],_0x1c5ed8=_0x2becee[_0x44b8('0x15')],_0x3e5e6e=_0x2becee[_0x44b8('0x22')][_0x44b8('0xd')](_0x44b8('0xe')),_0x3beaf0=_0x2becee['locale'];for(const _0xb5f96 of Ot){if(!_0x2becee[_0x44b8('0x22')][_0x44b8('0x23')](_0xb5f96))continue;const _0x14d911=_0xb5f96[_0x44b8('0x24')](0x0,-0x7)[_0x44b8('0x9')](),_0x2aa4f4=_0x2becee[_0x44b8('0x3')][_0x44b8('0xd')](_0x14d911);_0x3e5e6e[_0x44b8('0x10')](_0x14d911,(_0x18d07e,_0x53ddd4={})=>{const _0x2d02e0=_0x1c5ed8[_0x44b8('0x1c')][_0x44b8('0x18')];if(_0x2d02e0[_0x44b8('0x1f')])return void _0x18d07e(_0x53ddd4);const _0x170da7=void 0x0!==_0x53ddd4[_0x44b8('0xa')]?_0x53ddd4[_0x44b8('0xa')]:!_0x2aa4f4['value'];_0x1c5ed8['change'](()=>{const _0x3ec909=Array['from'](_0x2d02e0['getRanges']());for(const _0x19d6e2 of _0x3ec909){const _0x1b7456=_0x170da7?[_0x19d6e2]:_0x5a3f6d(_0x14d911,_0x19d6e2,_0x1c5ed8);for(const _0x540dc of _0x1b7456)_0x3e5e6e[_0x44b8('0x16')](_0x540dc,{'commandName':_0x14d911,'commandParams':[{'forceValue':_0x170da7}]});}});});}function _0x44968e(_0x1c2064,_0x5515a1){_0x3e5e6e[_0x44b8('0x1')][_0x44b8('0x11')](_0x5ba3f2=>{const {data:_0x25cd68}=_0x5ba3f2;if(_0x25cd68&&_0x25cd68[_0x44b8('0x13')]===_0x1c2064)return _0x25cd68['commandParams'][0x0]['forceValue']?{'type':_0x44b8('0x14'),'content':_0x5f2d48(_0x3beaf0,'*Format:*\x20%0',_0x5515a1)}:{'type':_0x44b8('0x14'),'content':_0x5f2d48(_0x3beaf0,'*Remove\x20format:*\x20%0',_0x5515a1)};});}_0x44968e(_0x44b8('0x7'),_0x5f2d48(_0x3beaf0,_0x44b8('0x6'))),_0x44968e(_0x44b8('0x4'),_0x5f2d48(_0x3beaf0,_0x44b8('0x0'))),_0x44968e(_0x44b8('0x1d'),_0x5f2d48(_0x3beaf0,_0x44b8('0x19'))),_0x44968e(_0x44b8('0x1b'),_0x5f2d48(_0x3beaf0,'FORMAT_CODE')),_0x44968e(_0x44b8('0xb'),_0x5f2d48(_0x3beaf0,_0x44b8('0x5'))),_0x44968e(_0x44b8('0xf'),_0x5f2d48(_0x3beaf0,_0x44b8('0x21'))),_0x44968e(_0x44b8('0x1e'),_0x5f2d48(_0x3beaf0,_0x44b8('0x12')));}}
23
+ const _0x1c45=['plugins','enableCommand','markInlineFormat','TrackChangesEditing','toLowerCase','document','subscript','locale','FORMAT_ITALIC','registerDescriptionCallback','getRanges','forceValue','underline','FORMAT_BOLD','FORMAT_CODE','_descriptionFactory','superscript','model','UnderlineEditing','isCollapsed','bold','*Remove\x20format:*\x20%0','*Format:*\x20%0','FORMAT_STRIKETHROUGH','strikethrough','italic','SubscriptEditing','FORMAT_UNDERLINE','format','CodeEditing','commands','has','commandParams','SuperscriptEditing','ItalicEditing','afterInit','BoldEditing','get','FORMAT_SUBSCRIPT','commandName'];(function(_0x36b7e7,_0x1c4533){const _0x152a12=function(_0x44eac5){while(--_0x44eac5){_0x36b7e7['push'](_0x36b7e7['shift']());}};_0x152a12(++_0x1c4533);}(_0x1c45,0x14a));const _0x152a=function(_0x36b7e7,_0x1c4533){_0x36b7e7=_0x36b7e7-0x0;let _0x152a12=_0x1c45[_0x36b7e7];return _0x152a12;};import{Plugin as _0x48284d}from'ckeditor5/src/core';import{getTranslation as _0x12d815}from'../utils/common-translations';import{getRangesWithAttribute as _0x2dd93a}from'./utils';const Ot=[_0x152a('0x1a'),_0x152a('0x18'),_0x152a('0x8'),_0x152a('0x13'),'StrikethroughEditing',_0x152a('0x10'),_0x152a('0x17')];export default class E extends _0x48284d{[_0x152a('0x19')](){const _0x434197=this['editor'],_0x51e128=_0x434197[_0x152a('0x7')],_0x31d8fd=_0x434197[_0x152a('0x1e')][_0x152a('0x1b')](_0x152a('0x21')),_0x2f9882=_0x434197[_0x152a('0x25')];for(const _0x7c3267 of Ot){if(!_0x434197[_0x152a('0x1e')][_0x152a('0x15')](_0x7c3267))continue;const _0x128ee0=_0x7c3267['slice'](0x0,-0x7)[_0x152a('0x22')](),_0x209e6e=_0x434197[_0x152a('0x14')]['get'](_0x128ee0);_0x31d8fd[_0x152a('0x1f')](_0x128ee0,(_0x3049c6,_0x50669c={})=>{const _0x3ab907=_0x51e128[_0x152a('0x23')]['selection'];if(_0x3ab907[_0x152a('0x9')])return void _0x3049c6(_0x50669c);const _0x1f1dfd=void 0x0!==_0x50669c[_0x152a('0x1')]?_0x50669c[_0x152a('0x1')]:!_0x209e6e['value'];_0x51e128['change'](()=>{const _0x1fccc8=Array['from'](_0x3ab907[_0x152a('0x0')]());for(const _0x4aab2d of _0x1fccc8){const _0x2f1884=_0x1f1dfd?[_0x4aab2d]:_0x2dd93a(_0x128ee0,_0x4aab2d,_0x51e128);for(const _0x287f1c of _0x2f1884)_0x31d8fd[_0x152a('0x20')](_0x287f1c,{'commandName':_0x128ee0,'commandParams':[{'forceValue':_0x1f1dfd}]});}});});}function _0x539e7f(_0x3ff591,_0x51a369){_0x31d8fd[_0x152a('0x5')][_0x152a('0x27')](_0x3d1aba=>{const {data:_0x2e39bd}=_0x3d1aba;if(_0x2e39bd&&_0x2e39bd[_0x152a('0x1d')]===_0x3ff591)return _0x2e39bd[_0x152a('0x16')][0x0][_0x152a('0x1')]?{'type':_0x152a('0x12'),'content':_0x12d815(_0x2f9882,_0x152a('0xc'),_0x51a369)}:{'type':'format','content':_0x12d815(_0x2f9882,_0x152a('0xb'),_0x51a369)};});}_0x539e7f(_0x152a('0xa'),_0x12d815(_0x2f9882,_0x152a('0x3'))),_0x539e7f(_0x152a('0xf'),_0x12d815(_0x2f9882,_0x152a('0x26'))),_0x539e7f(_0x152a('0x2'),_0x12d815(_0x2f9882,_0x152a('0x11'))),_0x539e7f('code',_0x12d815(_0x2f9882,_0x152a('0x4'))),_0x539e7f(_0x152a('0xe'),_0x12d815(_0x2f9882,_0x152a('0xd'))),_0x539e7f(_0x152a('0x24'),_0x12d815(_0x2f9882,_0x152a('0x1c'))),_0x539e7f(_0x152a('0x6'),_0x12d815(_0x2f9882,'FORMAT_SUPERSCRIPT'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b51=['schema','getSelectedBlocks','parent','name','filter','ELEMENT_BLOCK_QUOTE','model','commandParams','format','commands','blockQuote','from','TrackChangesEditing','enableCommand','markBlockFormat','forceValue','$root','change','*Remove\x20format:*\x20%0','BlockQuoteEditing','selection','registerDescriptionCallback','plugins','document','get','editor','commandName'];(function(_0x7efe2d,_0x3b5100){const _0x25f15d=function(_0x4796a5){while(--_0x4796a5){_0x7efe2d['push'](_0x7efe2d['shift']());}};_0x25f15d(++_0x3b5100);}(_0x3b51,0x85));const _0x25f1=function(_0x7efe2d,_0x3b5100){_0x7efe2d=_0x7efe2d-0x0;let _0x25f15d=_0x3b51[_0x7efe2d];return _0x25f15d;};import{Plugin as _0x709022}from'ckeditor5/src/core';import{getTranslation as _0xefdf7a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x28b206}from'../utils/utils';export default class O extends _0x709022{['afterInit'](){const _0x169c8a=this[_0x25f1('0x0')],_0x4fb935=_0x169c8a['locale'];if(!_0x169c8a['plugins']['has'](_0x25f1('0x15')))return;const _0x446e2f=_0x169c8a[_0x25f1('0x18')][_0x25f1('0x1a')](_0x25f1('0xe')),_0x5ddf99=this[_0x25f1('0x0')][_0x25f1('0xb')][_0x25f1('0x1a')]('blockQuote');_0x446e2f[_0x25f1('0xf')]('blockQuote',(_0x503ca4,_0x17b1b1={})=>{const _0x36c70e=this[_0x25f1('0x0')][_0x25f1('0x8')][_0x25f1('0x19')][_0x25f1('0x16')],_0x27d8ef=_0x17b1b1&&void 0x0!==_0x17b1b1['forceValue']?_0x17b1b1['forceValue']:!_0x5ddf99['value'];let _0x3d50ae=[];if(_0x27d8ef){const _0x4f65a0=Array[_0x25f1('0xd')](_0x36c70e['getSelectedBlocks']())[_0x25f1('0x6')](_0x4752f9=>Ft(_0x4752f9)||function(_0x4246c2,_0x1bfb42){const _0x1aa032=_0x1bfb42['checkChild'](_0x4246c2[_0x25f1('0x4')],_0x25f1('0xc')),_0x572806=_0x1bfb42['checkChild']([_0x25f1('0x12'),_0x25f1('0xc')],_0x4246c2);return _0x1aa032&&_0x572806;}(_0x4752f9,this[_0x25f1('0x0')][_0x25f1('0x8')][_0x25f1('0x2')]));_0x3d50ae=_0x28b206(_0x4f65a0,_0x169c8a[_0x25f1('0x8')]);}else{const _0x1c8134=Array[_0x25f1('0xd')](_0x36c70e[_0x25f1('0x3')]())[_0x25f1('0x6')](_0x3f44d6=>Ft(_0x3f44d6));_0x3d50ae=_0x28b206(_0x1c8134,_0x169c8a[_0x25f1('0x8')]);}_0x169c8a[_0x25f1('0x8')][_0x25f1('0x13')](()=>{for(const _0x44a433 of _0x3d50ae)_0x446e2f[_0x25f1('0x10')](_0x44a433,{'commandName':_0x25f1('0xc'),'commandParams':[{'forceValue':_0x27d8ef}]});});}),_0x446e2f['_descriptionFactory'][_0x25f1('0x17')](_0x22d4b8=>{const {data:_0x191ca7}=_0x22d4b8;if(_0x191ca7&&_0x25f1('0xc')==_0x191ca7[_0x25f1('0x1')]){const _0x25ce33=_0xefdf7a(_0x4fb935,_0x25f1('0x7'));return _0x191ca7[_0x25f1('0x9')][0x0][_0x25f1('0x11')]?{'type':_0x25f1('0xa'),'content':_0xefdf7a(_0x4fb935,'*Format:*\x20%0',_0x25ce33)}:{'type':'format','content':_0xefdf7a(_0x4fb935,_0x25f1('0x14'),_0x25ce33)};}});}}function Ft(_0x5918ed){return _0x25f1('0xc')==_0x5918ed['parent'][_0x25f1('0x5')];}
23
+ const _0x4eaa=['has','schema','from','_descriptionFactory','TrackChangesEditing','commands','selection','commandParams','get','blockQuote','name','locale','format','document','plugins','value','editor','*Format:*\x20%0','getSelectedBlocks','model','filter','change','checkChild','afterInit','forceValue'];(function(_0x23187e,_0x4eaabe){const _0x298c72=function(_0x365f17){while(--_0x365f17){_0x23187e['push'](_0x23187e['shift']());}};_0x298c72(++_0x4eaabe);}(_0x4eaa,0xf7));const _0x298c=function(_0x23187e,_0x4eaabe){_0x23187e=_0x23187e-0x0;let _0x298c72=_0x4eaa[_0x23187e];return _0x298c72;};import{Plugin as _0x37c2cb}from'ckeditor5/src/core';import{getTranslation as _0xb69dba}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x113fcf}from'../utils/utils';export default class O extends _0x37c2cb{[_0x298c('0x1')](){const _0x11717f=this[_0x298c('0x13')],_0x3df065=_0x11717f[_0x298c('0xe')];if(!_0x11717f['plugins'][_0x298c('0x3')]('BlockQuoteEditing'))return;const _0x36beaa=_0x11717f[_0x298c('0x11')]['get'](_0x298c('0x7')),_0x329a38=this[_0x298c('0x13')][_0x298c('0x8')][_0x298c('0xb')]('blockQuote');_0x36beaa['enableCommand'](_0x298c('0xc'),(_0x57f199,_0x3f8a79={})=>{const _0x36ed94=this[_0x298c('0x13')]['model'][_0x298c('0x10')][_0x298c('0x9')],_0x4df604=_0x3f8a79&&void 0x0!==_0x3f8a79[_0x298c('0x2')]?_0x3f8a79[_0x298c('0x2')]:!_0x329a38[_0x298c('0x12')];let _0x169612=[];if(_0x4df604){const _0x119130=Array[_0x298c('0x5')](_0x36ed94[_0x298c('0x15')]())[_0x298c('0x17')](_0x43d7d8=>Ft(_0x43d7d8)||function(_0x4d1fa8,_0x2c68fd){const _0x9601a5=_0x2c68fd[_0x298c('0x0')](_0x4d1fa8['parent'],_0x298c('0xc')),_0x3e8886=_0x2c68fd[_0x298c('0x0')](['$root',_0x298c('0xc')],_0x4d1fa8);return _0x9601a5&&_0x3e8886;}(_0x43d7d8,this[_0x298c('0x13')][_0x298c('0x16')][_0x298c('0x4')]));_0x169612=_0x113fcf(_0x119130,_0x11717f[_0x298c('0x16')]);}else{const _0x438db5=Array['from'](_0x36ed94[_0x298c('0x15')]())['filter'](_0x42ce33=>Ft(_0x42ce33));_0x169612=_0x113fcf(_0x438db5,_0x11717f[_0x298c('0x16')]);}_0x11717f[_0x298c('0x16')][_0x298c('0x18')](()=>{for(const _0x3e8c84 of _0x169612)_0x36beaa['markBlockFormat'](_0x3e8c84,{'commandName':_0x298c('0xc'),'commandParams':[{'forceValue':_0x4df604}]});});}),_0x36beaa[_0x298c('0x6')]['registerDescriptionCallback'](_0x79299e=>{const {data:_0x373837}=_0x79299e;if(_0x373837&&_0x298c('0xc')==_0x373837['commandName']){const _0x19b0e6=_0xb69dba(_0x3df065,'ELEMENT_BLOCK_QUOTE');return _0x373837[_0x298c('0xa')][0x0]['forceValue']?{'type':'format','content':_0xb69dba(_0x3df065,_0x298c('0x14'),_0x19b0e6)}:{'type':_0x298c('0xf'),'content':_0xb69dba(_0x3df065,'*Remove\x20format:*\x20%0',_0x19b0e6)};}});}}function Ft(_0x12b7f0){return'blockQuote'==_0x12b7f0['parent'][_0x298c('0xd')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b8d=['editor','afterInit','plugins','commands','enableCommand','ckbox','get','TrackChangesEditing'];(function(_0x459f0c,_0x4b8dd0){const _0x59f599=function(_0x6314b){while(--_0x6314b){_0x459f0c['push'](_0x459f0c['shift']());}};_0x59f599(++_0x4b8dd0);}(_0x4b8d,0x188));const _0x59f5=function(_0x459f0c,_0x4b8dd0){_0x459f0c=_0x459f0c-0x0;let _0x59f599=_0x4b8d[_0x459f0c];return _0x59f599;};import{Plugin as _0x178507}from'ckeditor5/src/core';export default class P extends _0x178507{[_0x59f5('0x1')](){const _0x21ed25=this[_0x59f5('0x0')];_0x21ed25[_0x59f5('0x3')][_0x59f5('0x6')](_0x59f5('0x5'))&&_0x21ed25[_0x59f5('0x2')][_0x59f5('0x6')](_0x59f5('0x7'))[_0x59f5('0x4')](_0x59f5('0x5'));}}
23
+ const _0x5bdb=['editor','get','ckbox','plugins','afterInit','commands','TrackChangesEditing'];(function(_0x16b3a4,_0x5bdbb6){const _0x1958bc=function(_0x278420){while(--_0x278420){_0x16b3a4['push'](_0x16b3a4['shift']());}};_0x1958bc(++_0x5bdbb6);}(_0x5bdb,0xc3));const _0x1958=function(_0x16b3a4,_0x5bdbb6){_0x16b3a4=_0x16b3a4-0x0;let _0x1958bc=_0x5bdb[_0x16b3a4];return _0x1958bc;};import{Plugin as _0x57a205}from'ckeditor5/src/core';export default class P extends _0x57a205{[_0x1958('0x5')](){const _0x2a6ff3=this[_0x1958('0x1')];_0x2a6ff3[_0x1958('0x6')]['get']('ckbox')&&_0x2a6ff3[_0x1958('0x4')][_0x1958('0x2')](_0x1958('0x0'))['enableCommand'](_0x1958('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x551d=['formatBlock','parent','commands','filter','plugins','registerDescriptionCallback','ELEMENT_CODE_BLOCK','enableCommand','blockName','checkChild','codeBlock','_descriptionFactory','markBlockFormat','value','commandParams','registerElementLabel','schema','isLimit','model','getSelectedBlocks','*Remove\x20format:*\x20%0','locale','afterInit','TrackChangesEditing','forceValue','config','find','*Format:*\x20%0','rootElement','from','indentCodeBlock','language','commandName','get'];(function(_0xc4b4e1,_0x551d34){const _0x4246dc=function(_0x38e073){while(--_0x38e073){_0xc4b4e1['push'](_0xc4b4e1['shift']());}};_0x4246dc(++_0x551d34);}(_0x551d,0x97));const _0x4246=function(_0xc4b4e1,_0x551d34){_0xc4b4e1=_0xc4b4e1-0x0;let _0x4246dc=_0x551d[_0xc4b4e1];return _0x4246dc;};import{Plugin as _0x473172}from'ckeditor5/src/core';import{getTranslation as _0x35e816}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2fd8f0}from'../utils/utils';export default class G extends _0x473172{[_0x4246('0x7')](){const _0x1bfe19=this['editor'];if(!_0x1bfe19['plugins']['has']('CodeBlock'))return;const _0x138c4e=_0x1bfe19[_0x4246('0x17')]['get'](_0x4246('0x8')),_0x244676=_0x1bfe19[_0x4246('0x6')],_0x19a9a6=_0x1bfe19[_0x4246('0xa')][_0x4246('0x12')](_0x4246('0x1d'))['languages'],_0x19a0f0=_0x1bfe19[_0x4246('0x15')][_0x4246('0x12')](_0x4246('0x1d'));_0x138c4e['enableCommand'](_0x4246('0xf')),_0x138c4e[_0x4246('0x1a')]('outdentCodeBlock'),_0x138c4e['enableCommand'](_0x4246('0x1d'),(_0x2c3e86,_0x1dbea={})=>{const _0x51e6c6=_0x1bfe19[_0x4246('0x3')],_0x409f40=_0x1bfe19[_0x4246('0x3')]['document']['selection'],_0x3f026b=_0x1dbea&&void 0x0!==_0x1dbea[_0x4246('0x9')]?_0x1dbea[_0x4246('0x9')]:!_0x19a0f0[_0x4246('0x20')];let _0x335b97;_0x1dbea[_0x4246('0x10')]||(_0x1dbea[_0x4246('0x10')]=_0x19a9a6[0x0][_0x4246('0x10')]),_0x335b97=_0x3f026b?Array[_0x4246('0xe')](_0x409f40['getSelectedBlocks']())[_0x4246('0x16')](_0x549db6=>oo(_0x549db6)||function(_0x370b71,_0x1deb54){if(_0x370b71['is'](_0x4246('0xd'))||_0x1deb54[_0x4246('0x2')](_0x370b71))return!0x1;return _0x1deb54[_0x4246('0x1c')](_0x370b71[_0x4246('0x14')],_0x4246('0x1d'));}(_0x549db6,_0x51e6c6[_0x4246('0x1')])):Array[_0x4246('0xe')](_0x409f40[_0x4246('0x4')]())['filter'](_0x3bc6f2=>oo(_0x3bc6f2));const _0x408cb5=_0x2fd8f0(_0x335b97,_0x51e6c6);_0x51e6c6['change'](()=>{for(const _0x3f0f60 of _0x408cb5)_0x138c4e[_0x4246('0x1f')](_0x3f0f60,{'commandName':_0x4246('0x1d'),'commandParams':[{..._0x1dbea,'forceValue':_0x3f026b}],'formatGroupId':_0x4246('0x1b')});});}),(_0x138c4e[_0x4246('0x1e')][_0x4246('0x0')]('codeBlock',_0x270178=>_0x35e816(_0x244676,_0x4246('0x19'),_0x270178)),_0x138c4e[_0x4246('0x1e')][_0x4246('0x18')](_0x1d3d43=>{const {type:_0x21b7f5,data:_0x2a047c}=_0x1d3d43;if(_0x4246('0x13')==_0x21b7f5&&_0x2a047c&&_0x4246('0x1d')==_0x2a047c[_0x4246('0x11')]){const _0x192982=_0x2a047c[_0x4246('0x21')][0x0]['language'],_0x34c7c7=_0x19a9a6[_0x4246('0xb')](_0x1f91d5=>_0x1f91d5[_0x4246('0x10')]===_0x192982)['label'],_0x4ff077=_0x244676['_t'](_0x34c7c7);return _0x2a047c[_0x4246('0x21')][0x0]['forceValue']?{'type':'format','content':_0x35e816(_0x244676,_0x4246('0xc'),_0x35e816(_0x244676,_0x4246('0x19'),0x1)+'\x20('+_0x4ff077+')')}:{'type':'format','content':_0x35e816(_0x244676,_0x4246('0x5'),_0x35e816(_0x244676,_0x4246('0x19'),0x1))};}}));}}function oo(_0x249a80){return _0x4246('0x1d')==_0x249a80['name'];}
23
+ const _0x43ce=['registerElementLabel','locale','editor','label','codeBlock','registerDescriptionCallback','commandParams','outdentCodeBlock','*Format:*\x20%0','model','plugins','isLimit','format','commands','rootElement','change','ELEMENT_CODE_BLOCK','name','filter','*Remove\x20format:*\x20%0','formatBlock','forceValue','commandName','get','language','TrackChangesEditing','afterInit','from','selection','CodeBlock','parent','blockName','enableCommand','checkChild','has','_descriptionFactory','indentCodeBlock'];(function(_0x9103e5,_0x43cef5){const _0x510b39=function(_0x4dac0e){while(--_0x4dac0e){_0x9103e5['push'](_0x9103e5['shift']());}};_0x510b39(++_0x43cef5);}(_0x43ce,0x8a));const _0x510b=function(_0x9103e5,_0x43cef5){_0x9103e5=_0x9103e5-0x0;let _0x510b39=_0x43ce[_0x9103e5];return _0x510b39;};import{Plugin as _0x53ea26}from'ckeditor5/src/core';import{getTranslation as _0x50ad46}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x33967a}from'../utils/utils';export default class G extends _0x53ea26{[_0x510b('0x24')](){const _0xf3a8d4=this[_0x510b('0xc')];if(!_0xf3a8d4[_0x510b('0x14')][_0x510b('0x7')](_0x510b('0x2')))return;const _0x1a0036=_0xf3a8d4['plugins'][_0x510b('0x21')](_0x510b('0x23')),_0x5e288b=_0xf3a8d4[_0x510b('0xb')],_0x427124=_0xf3a8d4['config'][_0x510b('0x21')](_0x510b('0xe'))['languages'],_0x30a649=_0xf3a8d4[_0x510b('0x17')][_0x510b('0x21')](_0x510b('0xe'));_0x1a0036[_0x510b('0x5')](_0x510b('0x9')),_0x1a0036[_0x510b('0x5')](_0x510b('0x11')),_0x1a0036[_0x510b('0x5')](_0x510b('0xe'),(_0x316259,_0x37dce8={})=>{const _0x14ffe9=_0xf3a8d4[_0x510b('0x13')],_0x4261b9=_0xf3a8d4[_0x510b('0x13')]['document'][_0x510b('0x1')],_0x31a8f5=_0x37dce8&&void 0x0!==_0x37dce8[_0x510b('0x1f')]?_0x37dce8[_0x510b('0x1f')]:!_0x30a649['value'];let _0x2ef915;_0x37dce8[_0x510b('0x22')]||(_0x37dce8[_0x510b('0x22')]=_0x427124[0x0]['language']),_0x2ef915=_0x31a8f5?Array['from'](_0x4261b9['getSelectedBlocks']())[_0x510b('0x1c')](_0x3e8d83=>oo(_0x3e8d83)||function(_0x4b15a4,_0x594706){if(_0x4b15a4['is'](_0x510b('0x18'))||_0x594706[_0x510b('0x15')](_0x4b15a4))return!0x1;return _0x594706[_0x510b('0x6')](_0x4b15a4[_0x510b('0x3')],_0x510b('0xe'));}(_0x3e8d83,_0x14ffe9['schema'])):Array[_0x510b('0x0')](_0x4261b9['getSelectedBlocks']())['filter'](_0x2c05ef=>oo(_0x2c05ef));const _0x10fa85=_0x33967a(_0x2ef915,_0x14ffe9);_0x14ffe9[_0x510b('0x19')](()=>{for(const _0x38bd4a of _0x10fa85)_0x1a0036['markBlockFormat'](_0x38bd4a,{'commandName':_0x510b('0xe'),'commandParams':[{..._0x37dce8,'forceValue':_0x31a8f5}],'formatGroupId':_0x510b('0x4')});});}),(_0x1a0036[_0x510b('0x8')][_0x510b('0xa')](_0x510b('0xe'),_0x5eb23f=>_0x50ad46(_0x5e288b,_0x510b('0x1a'),_0x5eb23f)),_0x1a0036[_0x510b('0x8')][_0x510b('0xf')](_0x4a4091=>{const {type:_0x2ac131,data:_0x7e9cd7}=_0x4a4091;if(_0x510b('0x1e')==_0x2ac131&&_0x7e9cd7&&_0x510b('0xe')==_0x7e9cd7[_0x510b('0x20')]){const _0x2b4bfb=_0x7e9cd7[_0x510b('0x10')][0x0][_0x510b('0x22')],_0x3f1394=_0x427124['find'](_0x3e0c2c=>_0x3e0c2c[_0x510b('0x22')]===_0x2b4bfb)[_0x510b('0xd')],_0x52aed4=_0x5e288b['_t'](_0x3f1394);return _0x7e9cd7[_0x510b('0x10')][0x0][_0x510b('0x1f')]?{'type':_0x510b('0x16'),'content':_0x50ad46(_0x5e288b,_0x510b('0x12'),_0x50ad46(_0x5e288b,_0x510b('0x1a'),0x1)+'\x20('+_0x52aed4+')')}:{'type':_0x510b('0x16'),'content':_0x50ad46(_0x5e288b,_0x510b('0x1d'),_0x50ad46(_0x5e288b,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0xf4731c){return _0x510b('0xe')==_0xf4731c[_0x510b('0x1b')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfaad=['enableCommand','CommentsEditing','afterInit','TrackChangesEditing','plugins','get','addCommentThread','editor'];(function(_0x5981b7,_0xfaad70){const _0x4e4be6=function(_0x3beb98){while(--_0x3beb98){_0x5981b7['push'](_0x5981b7['shift']());}};_0x4e4be6(++_0xfaad70);}(_0xfaad,0x1dc));const _0x4e4b=function(_0x5981b7,_0xfaad70){_0x5981b7=_0x5981b7-0x0;let _0x4e4be6=_0xfaad[_0x5981b7];return _0x4e4be6;};import{Plugin as _0x656057}from'ckeditor5/src/core';export default class F extends _0x656057{[_0x4e4b('0x6')](){const _0x1a04fa=this[_0x4e4b('0x3')];if(!_0x1a04fa[_0x4e4b('0x0')]['has'](_0x4e4b('0x5')))return;_0x1a04fa[_0x4e4b('0x0')][_0x4e4b('0x1')](_0x4e4b('0x7'))[_0x4e4b('0x4')](_0x4e4b('0x2'));}}
23
+ const _0x1e5a=['plugins','get','CommentsEditing','editor','has','addCommentThread','enableCommand','TrackChangesEditing'];(function(_0x4e787d,_0x1e5ab0){const _0x278f57=function(_0x37eef7){while(--_0x37eef7){_0x4e787d['push'](_0x4e787d['shift']());}};_0x278f57(++_0x1e5ab0);}(_0x1e5a,0x1ad));const _0x278f=function(_0x4e787d,_0x1e5ab0){_0x4e787d=_0x4e787d-0x0;let _0x278f57=_0x1e5a[_0x4e787d];return _0x278f57;};import{Plugin as _0x1ca0c3}from'ckeditor5/src/core';export default class F extends _0x1ca0c3{['afterInit'](){const _0x2d60c4=this[_0x278f('0x6')];if(!_0x2d60c4['plugins'][_0x278f('0x7')](_0x278f('0x5')))return;_0x2d60c4[_0x278f('0x3')][_0x278f('0x4')](_0x278f('0x2'))[_0x278f('0x1')](_0x278f('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c58=['uiElement','data','get','high','selection','createSelection','root','detach','enqueueChange','lock','markerNameToElements','editor','commands','fromRange','end','unbindElementFromMarkerName','setSelection','requires','delete','$graveyard','isCollapsed','writer','showSuggestionHighlights','downcastDispatcher','getFirstRange','removeMarker:suggestion:deletion','remove','rootName','deleteForward','mapper','init','batch','addMarker:suggestion:deletion','createRange','forward','buffer','model','options','unit','merge','markerName','enableCommand'];(function(_0x38f5e9,_0x2c588b){const _0x525802=function(_0x1f899c){while(--_0x1f899c){_0x38f5e9['push'](_0x38f5e9['shift']());}};_0x525802(++_0x2c588b);}(_0x2c58,0x153));const _0x5258=function(_0x38f5e9,_0x2c588b){_0x38f5e9=_0x38f5e9-0x0;let _0x525802=_0x2c58[_0x38f5e9];return _0x525802;};import{Plugin as _0x291816}from'ckeditor5/src/core';import{Delete as _0x28ad8e}from'ckeditor5/src/typing';import{LiveRange as _0x453077}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x306d3e}from'./utils';export default class L extends _0x291816{static get[_0x5258('0xe')](){return[_0x28ad8e];}[_0x5258('0x1b')](){const _0x22cced=this[_0x5258('0x8')],_0xc61fe7=_0x22cced['plugins'][_0x5258('0x29')]('TrackChangesEditing');_0xc61fe7[_0x5258('0x26')](_0x5258('0xf'));const _0xec38ed=_0x22cced[_0x5258('0x9')]['get']('deleteForward');_0xc61fe7['enableCommand'](_0x5258('0x19'),(_0x2be495,_0x5e1da5={})=>{const _0x523219=_0x22cced[_0x5258('0x21')][_0x5258('0x2')](_0x22cced['model']['document'][_0x5258('0x1')]);_0x523219[_0x5258('0x11')]&&_0x22cced[_0x5258('0x21')]['modifySelection'](_0x523219,{'direction':_0x5258('0x1f'),'unit':_0x5e1da5[_0x5258('0x23')]});const _0xedd2c8=_0x523219[_0x5258('0x15')](),_0x3a08cb=_0x453077[_0x5258('0xa')](_0xedd2c8);let _0x1c91f1;_0x2be495(_0x5e1da5),_0x1c91f1=_0x5258('0x10')==_0x3a08cb[_0x5258('0x3')][_0x5258('0x18')]?_0x22cced[_0x5258('0x21')][_0x5258('0x1e')](_0xedd2c8['start']):_0x22cced[_0x5258('0x21')][_0x5258('0x1e')](_0x3a08cb['start'],_0x3a08cb[_0x5258('0xb')]),_0x3a08cb[_0x5258('0x4')](),_0x22cced[_0x5258('0x21')][_0x5258('0x5')](_0xec38ed[_0x5258('0x20')][_0x5258('0x1c')],_0x3b78fb=>{_0xec38ed[_0x5258('0x20')][_0x5258('0x6')](),_0x3b78fb[_0x5258('0xd')](_0x3b78fb[_0x5258('0x1e')](_0x1c91f1[_0x5258('0xb')])),_0xec38ed[_0x5258('0x20')]['unlock']();});}),_0x22cced['editing'][_0x5258('0x14')]['on']('addMarker:suggestion:deletion',_0x306d3e(_0x22cced,_0x5258('0x24')),{'priority':_0x5258('0x0')}),_0x22cced[_0x5258('0x28')]['downcastDispatcher']['on'](_0x5258('0x1d'),(_0x2416b1,_0x13b092,_0x442ca2)=>{_0x442ca2[_0x5258('0x22')][_0x5258('0x13')]&&_0x306d3e(_0x22cced,_0x5258('0x24'),{'showActiveMarker':!0x1})(_0x2416b1,_0x13b092,_0x442ca2);},{'priority':_0x5258('0x0')}),_0x22cced['editing']['downcastDispatcher']['on'](_0x5258('0x16'),(_0x988867,_0x4e628e,_0x50257c)=>{const _0x891c36=_0x50257c[_0x5258('0x1a')][_0x5258('0x7')](_0x4e628e[_0x5258('0x25')]);if(_0x891c36)for(const _0x57c4f4 of _0x891c36)_0x57c4f4['is'](_0x5258('0x27'))&&(_0x50257c[_0x5258('0x1a')][_0x5258('0xc')](_0x57c4f4,_0x4e628e[_0x5258('0x25')]),_0x50257c[_0x5258('0x12')][_0x5258('0x17')](_0x57c4f4));},{'priority':_0x5258('0x0')});}}
23
+ const _0x5d4f=['merge','batch','high','model','writer','enableCommand','modifySelection','showSuggestionHighlights','getFirstRange','unit','editing','enqueueChange','removeMarker:suggestion:deletion','createSelection','downcastDispatcher','commands','addMarker:suggestion:deletion','createRange','markerName','setSelection','lock','get','selection','detach','isCollapsed','data','document','end','mapper','deleteForward','delete','remove','buffer','markerNameToElements','unbindElementFromMarkerName','TrackChangesEditing'];(function(_0x3d72ec,_0x5d4f74){const _0x4a4636=function(_0x5deb22){while(--_0x5deb22){_0x3d72ec['push'](_0x3d72ec['shift']());}};_0x4a4636(++_0x5d4f74);}(_0x5d4f,0x166));const _0x4a46=function(_0x3d72ec,_0x5d4f74){_0x3d72ec=_0x3d72ec-0x0;let _0x4a4636=_0x5d4f[_0x3d72ec];return _0x4a4636;};import{Plugin as _0x48863e}from'ckeditor5/src/core';import{Delete as _0x2023b5}from'ckeditor5/src/typing';import{LiveRange as _0xcdb73}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2f43a1}from'./utils';export default class L extends _0x48863e{static get['requires'](){return[_0x2023b5];}['init'](){const _0x2906b2=this['editor'],_0x47d8d1=_0x2906b2['plugins'][_0x4a46('0x17')](_0x4a46('0x1'));_0x47d8d1[_0x4a46('0x7')](_0x4a46('0x20'));const _0x3c67c3=_0x2906b2[_0x4a46('0x11')][_0x4a46('0x17')](_0x4a46('0x1f'));_0x47d8d1[_0x4a46('0x7')](_0x4a46('0x1f'),(_0x2c7334,_0xc18467={})=>{const _0x1c09f0=_0x2906b2[_0x4a46('0x5')][_0x4a46('0xf')](_0x2906b2[_0x4a46('0x5')][_0x4a46('0x1c')][_0x4a46('0x18')]);_0x1c09f0[_0x4a46('0x1a')]&&_0x2906b2[_0x4a46('0x5')][_0x4a46('0x8')](_0x1c09f0,{'direction':'forward','unit':_0xc18467[_0x4a46('0xb')]});const _0x11e2d4=_0x1c09f0[_0x4a46('0xa')](),_0x160214=_0xcdb73['fromRange'](_0x11e2d4);let _0x43f32f;_0x2c7334(_0xc18467),_0x43f32f='$graveyard'==_0x160214['root']['rootName']?_0x2906b2[_0x4a46('0x5')][_0x4a46('0x13')](_0x11e2d4['start']):_0x2906b2[_0x4a46('0x5')]['createRange'](_0x160214['start'],_0x160214[_0x4a46('0x1d')]),_0x160214[_0x4a46('0x19')](),_0x2906b2[_0x4a46('0x5')][_0x4a46('0xd')](_0x3c67c3[_0x4a46('0x22')][_0x4a46('0x3')],_0x2d3e07=>{_0x3c67c3[_0x4a46('0x22')][_0x4a46('0x16')](),_0x2d3e07[_0x4a46('0x15')](_0x2d3e07['createRange'](_0x43f32f[_0x4a46('0x1d')])),_0x3c67c3[_0x4a46('0x22')]['unlock']();});}),_0x2906b2[_0x4a46('0xc')]['downcastDispatcher']['on'](_0x4a46('0x12'),_0x2f43a1(_0x2906b2,_0x4a46('0x2')),{'priority':'high'}),_0x2906b2[_0x4a46('0x1b')][_0x4a46('0x10')]['on'](_0x4a46('0x12'),(_0x1b8e39,_0x1b5587,_0x4dcebc)=>{_0x4dcebc['options'][_0x4a46('0x9')]&&_0x2f43a1(_0x2906b2,_0x4a46('0x2'),{'showActiveMarker':!0x1})(_0x1b8e39,_0x1b5587,_0x4dcebc);},{'priority':'high'}),_0x2906b2[_0x4a46('0xc')][_0x4a46('0x10')]['on'](_0x4a46('0xe'),(_0x3d69a0,_0x45efce,_0x1e352d)=>{const _0x15fcf=_0x1e352d[_0x4a46('0x1e')][_0x4a46('0x23')](_0x45efce[_0x4a46('0x14')]);if(_0x15fcf)for(const _0x139a29 of _0x15fcf)_0x139a29['is']('uiElement')&&(_0x1e352d[_0x4a46('0x1e')][_0x4a46('0x0')](_0x139a29,_0x45efce[_0x4a46('0x14')]),_0x1e352d[_0x4a46('0x6')][_0x4a46('0x21')](_0x139a29));},{'priority':_0x4a46('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c4e=['*Format:*\x20remove\x20from\x20%0','schema','createRange','splitListItemAfter','from','enableCommand','_descriptionFactory','value','afterInit','*Format:*\x20insert\x20into\x20%0','document','commands','*Indent:*\x20%0','findIndex','previousSibling','ELEMENT_LIST_ITEM','filter','TrackChangesEditing','getSelectedBlocks','bulletedList','commandParams','editor','ELEMENT_BULLETED_LIST','splitListItemBefore','numberedList','selection','registerDescriptionCallback','nextSibling','plugins','listIndent','checkAttribute','DocumentListEditing','change','model','markBlockFormat','registerElementLabel','before','hasAttribute','end','outdentList','length','push','listType','forceValue','format','getAttribute','ELEMENT_NUMBERED_LIST','slice','locale','listItemId','add','indentList','*Outdent:*\x20%0'];(function(_0x5ebacb,_0x4c4e83){const _0x247473=function(_0x482383){while(--_0x482383){_0x5ebacb['push'](_0x5ebacb['shift']());}};_0x247473(++_0x4c4e83);}(_0x4c4e,0x1f2));const _0x2474=function(_0x5ebacb,_0x4c4e83){_0x5ebacb=_0x5ebacb-0x0;let _0x247473=_0x4c4e[_0x5ebacb];return _0x247473;};import{Plugin as _0x2a1f41}from'ckeditor5/src/core';import{getTranslation as _0x121d50}from'../utils/common-translations';export default class q extends _0x2a1f41{[_0x2474('0x28')](){const _0x461181=this[_0x2474('0x0')];if(!_0x461181[_0x2474('0x7')]['has'](_0x2474('0xa')))return;const _0x4da7e3=_0x461181[_0x2474('0x1b')],_0x537668=_0x461181[_0x2474('0x7')]['get'](_0x2474('0x31'));function _0x263ad3(_0x3092a3){return()=>{const _0x17459f=_0x461181[_0x2474('0xc')][_0x2474('0x2a')][_0x2474('0x4')],_0x4c3246=_0x461181[_0x2474('0x2b')]['get'](_0x3092a3);if(_0x4c3246['value']){const _0x11cc1a=_0x17459f[_0x2474('0x32')]();return void _0x461181[_0x2474('0xc')]['change'](()=>{for(const _0x1a2368 of _0x11cc1a)_0x537668[_0x2474('0xd')](_0x1a2368,{'commandName':_0x3092a3,'commandParams':[{'forceValue':!_0x4c3246[_0x2474('0x27')]}],'formatGroupId':_0x2474('0x15')});});}const _0x59c616=_0x3092a3[_0x2474('0x1a')](0x0,-0x4),_0x3eb133=function(_0x2a3715,_0x2f0415,_0x441048){let _0x17fdc8=Array[_0x2474('0x24')](_0x2a3715)[_0x2474('0x30')](_0x1d93d4=>function(_0x351979,_0x589eed){return _0x589eed[_0x2474('0x9')](_0x351979,_0x2474('0x1c'));}(_0x1d93d4,_0x441048));_0x17fdc8=_0x17fdc8[_0x2474('0x30')](_0x414a2f=>!_0x414a2f[_0x2474('0x10')](_0x2474('0x1c'))||_0x414a2f['getAttribute'](_0x2474('0x15'))!==_0x2f0415);const _0x40bc43=new Set();for(const _0xa3037 of _0x17fdc8)_0xa3037[_0x2474('0x10')](_0x2474('0x1c'))?_0x40bc43['add'](Pt(_0xa3037)):_0x40bc43['add'](_0xa3037);return Array[_0x2474('0x24')](_0x40bc43);}(_0x17459f[_0x2474('0x32')](),_0x59c616,_0x461181[_0x2474('0xc')][_0x2474('0x21')]);_0x461181['model'][_0x2474('0xb')](()=>{for(const _0x3b5a3c of _0x3eb133)_0x537668[_0x2474('0xd')](_0x3b5a3c,{'commandName':_0x3092a3,'commandParams':[{'forceValue':!_0x4c3246['value']}],'formatGroupId':_0x2474('0x15')},Gt(_0x3b5a3c));});};}function _0x4dda83(_0x945d18){return()=>{const _0x512bda=function(_0x2bd8ff){const _0x1dbff5=(_0x2bd8ff=Array[_0x2474('0x24')](_0x2bd8ff))[_0x2474('0x2d')](_0x254355=>!_0x254355[_0x2474('0x10')](_0x2474('0x1c')));return _0x1dbff5>-0x1&&(_0x2bd8ff=_0x2bd8ff[_0x2474('0x1a')](0x0,_0x1dbff5)),_0x2bd8ff;}(_0x461181[_0x2474('0xc')][_0x2474('0x2a')]['selection']['getSelectedBlocks']()),_0x5508d1=_0x461181[_0x2474('0xc')][_0x2474('0x22')](_0x461181[_0x2474('0xc')]['createPositionAt'](_0x512bda[0x0],_0x2474('0xf')),_0x461181[_0x2474('0xc')]['createPositionAt'](_0x512bda[_0x512bda[_0x2474('0x13')]-0x1],_0x2474('0x11')));_0x461181[_0x2474('0xc')][_0x2474('0xb')](()=>{_0x537668[_0x2474('0xd')](_0x5508d1,{'commandName':_0x945d18,'commandParams':[],'formatGroupId':'listIndent'},function(_0x30b370){const _0x1164b1=new Set();for(const _0x306786 of _0x30b370){let _0x29fe4b=_0x306786[_0x2474('0x6')];for(;_0x29fe4b&&_0x29fe4b[_0x2474('0x18')](_0x2474('0x8'))>_0x306786[_0x2474('0x18')](_0x2474('0x8'));)_0x1164b1[_0x2474('0x1d')](_0x29fe4b),_0x29fe4b=_0x29fe4b[_0x2474('0x6')];}return Array[_0x2474('0x24')](_0x1164b1);}(_0x512bda));});};}_0x537668['enableCommand']('numberedList',_0x263ad3('numberedList')),_0x537668[_0x2474('0x25')](_0x2474('0x33'),_0x263ad3(_0x2474('0x33'))),_0x537668[_0x2474('0x25')](_0x2474('0x1e'),_0x4dda83(_0x2474('0x1e'))),_0x537668[_0x2474('0x25')]('outdentList',_0x4dda83('outdentList')),_0x537668[_0x2474('0x25')](_0x2474('0x23')),_0x537668[_0x2474('0x25')](_0x2474('0x2')),_0x537668[_0x2474('0x26')][_0x2474('0xe')](_0x30440d=>!_0x461181[_0x2474('0xc')][_0x2474('0x21')]['isObject'](_0x30440d)&&_0x30440d[_0x2474('0x10')]('listItemId'),_0x190df9=>_0x121d50(_0x4da7e3,_0x2474('0x2f'),_0x190df9)),_0x537668[_0x2474('0x26')][_0x2474('0x5')](_0x2aa62c=>{const {data:_0x8b88e2}=_0x2aa62c;if(!_0x8b88e2)return;let _0x3c43b1,_0x4e8c21,_0x3fd21c;switch(_0x8b88e2['commandName']){case _0x2474('0x33'):_0x3fd21c=_0x8b88e2[_0x2474('0x34')][0x0][_0x2474('0x16')],_0x3c43b1=_0x3fd21c?_0x2474('0x29'):_0x2474('0x20'),_0x4e8c21={'type':_0x2474('0x17'),'content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x1')))};break;case _0x2474('0x3'):_0x3fd21c=_0x8b88e2[_0x2474('0x34')][0x0][_0x2474('0x16')],_0x3c43b1=_0x3fd21c?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x4e8c21={'type':'format','content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x19')))};break;case _0x2474('0x1e'):_0x3c43b1=_0x2474('0x2c'),_0x4e8c21={'type':_0x2474('0x17'),'content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,'ELEMENT_LIST_ITEM'))};break;case _0x2474('0x12'):_0x3c43b1=_0x2474('0x1f'),_0x4e8c21={'type':'format','content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x2f')))};}return _0x4e8c21;});}}function Gt(_0x322378){const _0x57bb04=[];if(_0x322378[_0x2474('0x10')](_0x2474('0x1c'))&&_0x322378[_0x2474('0x18')](_0x2474('0x8'))>0x0){let _0x3a35a8=_0x322378[_0x2474('0x6')];for(;_0x3a35a8&&_0x3a35a8['hasAttribute'](_0x2474('0x1c'))&&_0x3a35a8['getAttribute'](_0x2474('0x8'))===_0x322378[_0x2474('0x18')](_0x2474('0x8'));)_0x57bb04[_0x2474('0x14')](_0x3a35a8),_0x3a35a8=_0x3a35a8[_0x2474('0x6')];}return _0x57bb04;}function Pt(_0x4eb7c4){const _0x3ffc9e=_0x4eb7c4['getAttribute'](_0x2474('0x8'));if(0x0==_0x3ffc9e)return _0x4eb7c4;let _0x41d0f8=_0x4eb7c4;for(;_0x4eb7c4['previousSibling']&&_0x4eb7c4['hasAttribute']('listItemId');){const _0x54893a=_0x4eb7c4[_0x2474('0x2e')][_0x2474('0x18')]('listIndent');if(_0x54893a==_0x3ffc9e)_0x41d0f8=_0x4eb7c4[_0x2474('0x2e')];else{if(_0x54893a<_0x3ffc9e)break;}_0x4eb7c4=_0x4eb7c4[_0x2474('0x2e')];}return _0x41d0f8;}
23
+ const _0x5a64=['splitListItemBefore','listIndent','ELEMENT_BULLETED_LIST','numberedList','createRange','afterInit','listType','enableCommand','schema','outdentList','indentList','*Outdent:*\x20%0','end','change','listItemId','document','editor','bulletedList','commandName','*Format:*\x20remove\x20from\x20%0','forceValue','markBlockFormat','plugins','slice','nextSibling','filter','ELEMENT_LIST_ITEM','length','from','previousSibling','value','getSelectedBlocks','model','ELEMENT_NUMBERED_LIST','get','splitListItemAfter','hasAttribute','createPositionAt','registerElementLabel','has','isObject','getAttribute','commandParams','commands','locale','_descriptionFactory','selection','format','add','*Format:*\x20insert\x20into\x20%0'];(function(_0x586069,_0x5a6467){const _0xeaf632=function(_0x54922d){while(--_0x54922d){_0x586069['push'](_0x586069['shift']());}};_0xeaf632(++_0x5a6467);}(_0x5a64,0x1d7));const _0xeaf6=function(_0x586069,_0x5a6467){_0x586069=_0x586069-0x0;let _0xeaf632=_0x5a64[_0x586069];return _0xeaf632;};import{Plugin as _0x5b5b8d}from'ckeditor5/src/core';import{getTranslation as _0x40978a}from'../utils/common-translations';export default class q extends _0x5b5b8d{[_0xeaf6('0x22')](){const _0x22f0e3=this[_0xeaf6('0x2d')];if(!_0x22f0e3['plugins'][_0xeaf6('0x12')]('DocumentListEditing'))return;const _0x3b6a57=_0x22f0e3[_0xeaf6('0x17')],_0x1f60ad=_0x22f0e3[_0xeaf6('0x1')][_0xeaf6('0xd')]('TrackChangesEditing');function _0x48deb3(_0x50f945){return()=>{const _0x5c882d=_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x2c')][_0xeaf6('0x19')],_0x4e39cb=_0x22f0e3[_0xeaf6('0x16')][_0xeaf6('0xd')](_0x50f945);if(_0x4e39cb['value']){const _0x1692f4=_0x5c882d[_0xeaf6('0xa')]();return void _0x22f0e3['model'][_0xeaf6('0x2a')](()=>{for(const _0x5f59cf of _0x1692f4)_0x1f60ad['markBlockFormat'](_0x5f59cf,{'commandName':_0x50f945,'commandParams':[{'forceValue':!_0x4e39cb[_0xeaf6('0x9')]}],'formatGroupId':'listType'});});}const _0x3f5a10=_0x50f945[_0xeaf6('0x2')](0x0,-0x4),_0x309743=function(_0x249368,_0x197cf2,_0x414c7d){let _0x3dfa7a=Array[_0xeaf6('0x7')](_0x249368)['filter'](_0xeab8b2=>function(_0x3a807b,_0x27a8cc){return _0x27a8cc['checkAttribute'](_0x3a807b,_0xeaf6('0x2b'));}(_0xeab8b2,_0x414c7d));_0x3dfa7a=_0x3dfa7a[_0xeaf6('0x4')](_0x4ba08b=>!_0x4ba08b[_0xeaf6('0xf')]('listItemId')||_0x4ba08b[_0xeaf6('0x14')](_0xeaf6('0x23'))!==_0x197cf2);const _0x4dee32=new Set();for(const _0x1372ef of _0x3dfa7a)_0x1372ef[_0xeaf6('0xf')](_0xeaf6('0x2b'))?_0x4dee32[_0xeaf6('0x1b')](Pt(_0x1372ef)):_0x4dee32[_0xeaf6('0x1b')](_0x1372ef);return Array[_0xeaf6('0x7')](_0x4dee32);}(_0x5c882d['getSelectedBlocks'](),_0x3f5a10,_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x25')]);_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x2a')](()=>{for(const _0x1f6815 of _0x309743)_0x1f60ad[_0xeaf6('0x0')](_0x1f6815,{'commandName':_0x50f945,'commandParams':[{'forceValue':!_0x4e39cb['value']}],'formatGroupId':'listType'},Gt(_0x1f6815));});};}function _0x9f8f1d(_0x38fa37){return()=>{const _0x79f513=function(_0x408e15){const _0x2f908e=(_0x408e15=Array[_0xeaf6('0x7')](_0x408e15))['findIndex'](_0x43dd4b=>!_0x43dd4b[_0xeaf6('0xf')](_0xeaf6('0x2b')));return _0x2f908e>-0x1&&(_0x408e15=_0x408e15['slice'](0x0,_0x2f908e)),_0x408e15;}(_0x22f0e3[_0xeaf6('0xb')]['document'][_0xeaf6('0x19')][_0xeaf6('0xa')]()),_0x559a38=_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x21')](_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x10')](_0x79f513[0x0],'before'),_0x22f0e3['model']['createPositionAt'](_0x79f513[_0x79f513[_0xeaf6('0x6')]-0x1],_0xeaf6('0x29')));_0x22f0e3['model']['change'](()=>{_0x1f60ad[_0xeaf6('0x0')](_0x559a38,{'commandName':_0x38fa37,'commandParams':[],'formatGroupId':_0xeaf6('0x1e')},function(_0x4f9b37){const _0x12d826=new Set();for(const _0x5a6ff0 of _0x4f9b37){let _0xeef9d3=_0x5a6ff0['nextSibling'];for(;_0xeef9d3&&_0xeef9d3['getAttribute'](_0xeaf6('0x1e'))>_0x5a6ff0[_0xeaf6('0x14')]('listIndent');)_0x12d826[_0xeaf6('0x1b')](_0xeef9d3),_0xeef9d3=_0xeef9d3['nextSibling'];}return Array[_0xeaf6('0x7')](_0x12d826);}(_0x79f513));});};}_0x1f60ad['enableCommand'](_0xeaf6('0x20'),_0x48deb3(_0xeaf6('0x20'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x2e'),_0x48deb3(_0xeaf6('0x2e'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x27'),_0x9f8f1d('indentList')),_0x1f60ad['enableCommand'](_0xeaf6('0x26'),_0x9f8f1d(_0xeaf6('0x26'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0xe')),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x1d')),_0x1f60ad[_0xeaf6('0x18')][_0xeaf6('0x11')](_0x363c81=>!_0x22f0e3['model'][_0xeaf6('0x25')][_0xeaf6('0x13')](_0x363c81)&&_0x363c81[_0xeaf6('0xf')](_0xeaf6('0x2b')),_0x2d2892=>_0x40978a(_0x3b6a57,'ELEMENT_LIST_ITEM',_0x2d2892)),_0x1f60ad[_0xeaf6('0x18')]['registerDescriptionCallback'](_0x1b07df=>{const {data:_0x3bad78}=_0x1b07df;if(!_0x3bad78)return;let _0x39f7f1,_0x2abb6d,_0xe91276;switch(_0x3bad78[_0xeaf6('0x2f')]){case _0xeaf6('0x2e'):_0xe91276=_0x3bad78[_0xeaf6('0x15')][0x0]['forceValue'],_0x39f7f1=_0xe91276?_0xeaf6('0x1c'):_0xeaf6('0x30'),_0x2abb6d={'type':'format','content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0x1f')))};break;case'numberedList':_0xe91276=_0x3bad78[_0xeaf6('0x15')][0x0][_0xeaf6('0x31')],_0x39f7f1=_0xe91276?_0xeaf6('0x1c'):_0xeaf6('0x30'),_0x2abb6d={'type':_0xeaf6('0x1a'),'content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0xc')))};break;case _0xeaf6('0x27'):_0x39f7f1='*Indent:*\x20%0',_0x2abb6d={'type':'format','content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0x5')))};break;case'outdentList':_0x39f7f1=_0xeaf6('0x28'),_0x2abb6d={'type':_0xeaf6('0x1a'),'content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,'ELEMENT_LIST_ITEM'))};}return _0x2abb6d;});}}function Gt(_0x4def23){const _0x7b2782=[];if(_0x4def23['hasAttribute']('listItemId')&&_0x4def23[_0xeaf6('0x14')](_0xeaf6('0x1e'))>0x0){let _0x23d0c6=_0x4def23[_0xeaf6('0x3')];for(;_0x23d0c6&&_0x23d0c6[_0xeaf6('0xf')](_0xeaf6('0x2b'))&&_0x23d0c6['getAttribute']('listIndent')===_0x4def23['getAttribute'](_0xeaf6('0x1e'));)_0x7b2782['push'](_0x23d0c6),_0x23d0c6=_0x23d0c6['nextSibling'];}return _0x7b2782;}function Pt(_0x24dc9c){const _0x3cb1a1=_0x24dc9c['getAttribute'](_0xeaf6('0x1e'));if(0x0==_0x3cb1a1)return _0x24dc9c;let _0x3c4f45=_0x24dc9c;for(;_0x24dc9c[_0xeaf6('0x8')]&&_0x24dc9c[_0xeaf6('0xf')](_0xeaf6('0x2b'));){const _0x6dfc8b=_0x24dc9c['previousSibling']['getAttribute'](_0xeaf6('0x1e'));if(_0x6dfc8b==_0x3cb1a1)_0x3c4f45=_0x24dc9c[_0xeaf6('0x8')];else{if(_0x6dfc8b<_0x3cb1a1)break;}_0x24dc9c=_0x24dc9c[_0xeaf6('0x8')];}return _0x3c4f45;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5363=['markerNameToElements','isAtStart','createRange','change','editor','model','high','unbindElementFromMarkerName','addMarker:suggestion:insertion','get','mapper','isCollapsed','markInsertion','editing','end','init','plugins','document','getFirstRange','remove','fromRange','parent','schema','enableCommand','requires','split','downcastDispatcher','isLimit','options','getFirstPosition','start','hasClass','createPositionAt','writer'];(function(_0x3d93ab,_0x536301){const _0x281968=function(_0x2568f2){while(--_0x2568f2){_0x3d93ab['push'](_0x3d93ab['shift']());}};_0x281968(++_0x536301);}(_0x5363,0x166));const _0x2819=function(_0x3d93ab,_0x536301){_0x3d93ab=_0x3d93ab-0x0;let _0x281968=_0x5363[_0x3d93ab];return _0x281968;};import{Plugin as _0x1110c0}from'ckeditor5/src/core';import{Enter as _0x2b3733}from'ckeditor5/src/enter';import{LiveRange as _0x151c10}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4e4fca}from'./utils';export default class H extends _0x1110c0{static get[_0x2819('0x6')](){return[_0x2b3733];}[_0x2819('0x1f')](){const _0x273e8f=this[_0x2819('0x14')],_0x5d2316=_0x273e8f[_0x2819('0x20')][_0x2819('0x19')]('TrackChangesEditing');_0x5d2316[_0x2819('0x5')]('enter',_0x35bf84=>{_0x273e8f['model'][_0x2819('0x13')](_0x2d8d78=>{const _0x4a60af=_0x273e8f[_0x2819('0x15')][_0x2819('0x21')]['selection'],_0x4a45b7=_0x4a60af[_0x2819('0xb')](),_0x11a1cf=_0x4a60af[_0x2819('0x1b')],_0x1ed9dc=_0x151c10[_0x2819('0x2')](_0x4a60af[_0x2819('0x0')]()),_0x182a16=_0x1ed9dc['start']['parent'],_0x17ff27=_0x1ed9dc['end']['parent'],_0x7c410f=!(_0x1ed9dc[_0x2819('0xc')][_0x2819('0x11')]&&_0x1ed9dc[_0x2819('0x1e')]['isAtEnd']),_0x5e6b93=_0x182a16==_0x17ff27,_0x191e0e=!(_0x273e8f[_0x2819('0x15')]['schema'][_0x2819('0x9')](_0x182a16)||_0x273e8f[_0x2819('0x15')][_0x2819('0x4')][_0x2819('0x9')](_0x17ff27))&&(_0x11a1cf||_0x7c410f&&_0x5e6b93);if(_0x35bf84(),_0x191e0e){const _0x4566a0=_0x273e8f[_0x2819('0x15')][_0x2819('0xe')](_0x4a45b7[_0x2819('0x3')]['nextSibling'],0x0),_0xad54bd=_0x2d8d78[_0x2819('0x12')](_0x4a45b7,_0x4566a0);_0x5d2316[_0x2819('0x1c')](_0xad54bd);}else _0x2d8d78['setSelection'](_0x2d8d78[_0x2819('0x12')](_0x1ed9dc[_0x2819('0x1e')]));_0x1ed9dc['detach']();});}),_0x273e8f[_0x2819('0x1d')][_0x2819('0x8')]['on'](_0x2819('0x18'),_0x4e4fca(_0x273e8f,_0x2819('0x7')),{'priority':_0x2819('0x16')}),_0x273e8f[_0x2819('0x1d')][_0x2819('0x8')]['on']('removeMarker:suggestion:insertion',(_0x3c9687,_0x24f9ca,_0x11c43e)=>{const _0x1f9205=_0x11c43e['mapper'][_0x2819('0x10')](_0x24f9ca['markerName']);if(_0x1f9205)for(const _0x5e911b of _0x1f9205)_0x5e911b[_0x2819('0xd')]('ck-suggestion-marker-split')&&(_0x11c43e[_0x2819('0x1a')][_0x2819('0x17')](_0x5e911b,_0x24f9ca['markerName']),_0x11c43e[_0x2819('0xf')][_0x2819('0x1')](_0x5e911b));},{'priority':_0x2819('0x16')}),_0x273e8f['data'][_0x2819('0x8')]['on'](_0x2819('0x18'),(_0x4b8fb5,_0x30922b,_0x14caeb)=>{_0x14caeb[_0x2819('0xa')]['showSuggestionHighlights']&&_0x4e4fca(_0x273e8f,_0x2819('0x7'),{'showActiveMarker':!0x1})(_0x4b8fb5,_0x30922b,_0x14caeb);},{'priority':_0x2819('0x16')});}}
23
+ const _0x482a=['nextSibling','markerName','plugins','createRange','markInsertion','enter','mapper','high','getFirstRange','selection','removeMarker:suggestion:insertion','isLimit','remove','parent','schema','detach','isAtEnd','data','start','model','end','TrackChangesEditing','addMarker:suggestion:insertion','unbindElementFromMarkerName','writer','editing','change','options','downcastDispatcher','document','split','enableCommand','get','editor','markerNameToElements','isCollapsed','createPositionAt'];(function(_0x591a20,_0x482a7c){const _0x6ed273=function(_0x1a36e7){while(--_0x1a36e7){_0x591a20['push'](_0x591a20['shift']());}};_0x6ed273(++_0x482a7c);}(_0x482a,0x1da));const _0x6ed2=function(_0x591a20,_0x482a7c){_0x591a20=_0x591a20-0x0;let _0x6ed273=_0x482a[_0x591a20];return _0x6ed273;};import{Plugin as _0x5543c7}from'ckeditor5/src/core';import{Enter as _0x4337f0}from'ckeditor5/src/enter';import{LiveRange as _0x55c1af}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1e0249}from'./utils';export default class H extends _0x5543c7{static get['requires'](){return[_0x4337f0];}['init'](){const _0x339ca5=this[_0x6ed2('0x3')],_0x2c0d9b=_0x339ca5[_0x6ed2('0x9')][_0x6ed2('0x2')](_0x6ed2('0x1c'));_0x2c0d9b[_0x6ed2('0x1')](_0x6ed2('0xc'),_0x44f294=>{_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x21')](_0x63663d=>{const _0x19609d=_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x24')][_0x6ed2('0x10')],_0x29b9ca=_0x19609d['getFirstPosition'](),_0x49ba98=_0x19609d[_0x6ed2('0x5')],_0x16dfb1=_0x55c1af['fromRange'](_0x19609d[_0x6ed2('0xf')]()),_0x49c662=_0x16dfb1[_0x6ed2('0x19')][_0x6ed2('0x14')],_0x1c5cb0=_0x16dfb1['end']['parent'],_0x32a8c2=!(_0x16dfb1[_0x6ed2('0x19')]['isAtStart']&&_0x16dfb1[_0x6ed2('0x1b')][_0x6ed2('0x17')]),_0x19ae8c=_0x49c662==_0x1c5cb0,_0x2df0ec=!(_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x15')][_0x6ed2('0x12')](_0x49c662)||_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x15')][_0x6ed2('0x12')](_0x1c5cb0))&&(_0x49ba98||_0x32a8c2&&_0x19ae8c);if(_0x44f294(),_0x2df0ec){const _0x59153f=_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x6')](_0x29b9ca['parent'][_0x6ed2('0x7')],0x0),_0x327070=_0x63663d[_0x6ed2('0xa')](_0x29b9ca,_0x59153f);_0x2c0d9b[_0x6ed2('0xb')](_0x327070);}else _0x63663d['setSelection'](_0x63663d[_0x6ed2('0xa')](_0x16dfb1[_0x6ed2('0x1b')]));_0x16dfb1[_0x6ed2('0x16')]();});}),_0x339ca5[_0x6ed2('0x20')][_0x6ed2('0x23')]['on'](_0x6ed2('0x1d'),_0x1e0249(_0x339ca5,_0x6ed2('0x0')),{'priority':_0x6ed2('0xe')}),_0x339ca5[_0x6ed2('0x20')][_0x6ed2('0x23')]['on'](_0x6ed2('0x11'),(_0x21b333,_0x55a3ed,_0x886fa4)=>{const _0x16aa44=_0x886fa4[_0x6ed2('0xd')][_0x6ed2('0x4')](_0x55a3ed[_0x6ed2('0x8')]);if(_0x16aa44)for(const _0x525c10 of _0x16aa44)_0x525c10['hasClass']('ck-suggestion-marker-split')&&(_0x886fa4[_0x6ed2('0xd')][_0x6ed2('0x1e')](_0x525c10,_0x55a3ed[_0x6ed2('0x8')]),_0x886fa4[_0x6ed2('0x1f')][_0x6ed2('0x13')](_0x525c10));},{'priority':'high'}),_0x339ca5[_0x6ed2('0x18')]['downcastDispatcher']['on'](_0x6ed2('0x1d'),(_0x35ed64,_0x163f7b,_0x56d837)=>{_0x56d837[_0x6ed2('0x22')]['showSuggestionHighlights']&&_0x1e0249(_0x339ca5,'split',{'showActiveMarker':!0x1})(_0x35ed64,_0x163f7b,_0x56d837);},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x568c=['markInlineFormat','fontBackgroundColor.colors','plugins','isCollapsed','_descriptionFactory','from','FontFamilyEditing','toLowerCase','editor','FontSize','*Set\x20font\x20size:*\x20%0','afterInit','label','_enableCommand','change','locale','*Set\x20font\x20background\x20color:*\x20%0','fontSize.options','fontBackgroundColor','model','enableCommand','document','selection','get','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','commandName','fontFamily','FontColorEditing','format','find','getRanges','trim','value','config','FontSizeEditing','fontSize','fontColor','commandParams','*Reset\x20font\x20background\x20color*','normalizeSizeOptions','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','fontColor.colors'];(function(_0x3dd27f,_0x568c5a){const _0x50a5e6=function(_0x314a2b){while(--_0x314a2b){_0x3dd27f['push'](_0x3dd27f['shift']());}};_0x50a5e6(++_0x568c5a);}(_0x568c,0x167));const _0x50a5=function(_0x3dd27f,_0x568c5a){_0x3dd27f=_0x3dd27f-0x0;let _0x50a5e6=_0x568c[_0x3dd27f];return _0x50a5e6;};import{Plugin as _0x3ff294}from'ckeditor5/src/core';import{normalizeColorOptions as _0x544f32}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x55ba7f}from'./utils';import{getTranslation as _0x53ad7b}from'../utils/common-translations';const Jt=[{'pluginName':_0x50a5('0x1c'),'commandName':_0x50a5('0x1d')},{'pluginName':_0x50a5('0x2b'),'commandName':_0x50a5('0x14')},{'pluginName':_0x50a5('0x15'),'commandName':_0x50a5('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class W extends _0x3ff294{[_0x50a5('0x4')](){const _0x1657fa=this['editor'][_0x50a5('0x8')];for(const {pluginName:_0x2d52c8,commandName:_0x3f1140}of Jt)this[_0x50a5('0x1')][_0x50a5('0x27')]['has'](_0x2d52c8)&&this[_0x50a5('0x6')](_0x3f1140);this[_0x50a5('0x1')][_0x50a5('0x27')]['get'](_0x50a5('0x11'))[_0x50a5('0x29')][_0x50a5('0x22')](_0x59b9c0=>{const {data:_0x4818bd}=_0x59b9c0;if(null!=_0x4818bd){if(_0x50a5('0x1d')==_0x4818bd[_0x50a5('0x13')]){const _0x4d7a78=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x4d7a78){const _0x4615da=this['editor'][_0x50a5('0x27')]['get'](_0x50a5('0x2'))[_0x50a5('0x21')](this['editor'][_0x50a5('0x1b')]['get'](_0x50a5('0xa')))[_0x50a5('0x17')](_0x4037ce=>_0x4037ce[_0x50a5('0xc')]==_0x4d7a78)['title'],_0x73dc1f=this['editor'][_0x50a5('0x8')]['_t'](_0x4615da)[_0x50a5('0x0')]();return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x3'),_0x73dc1f)};}return{'type':'format','content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20size*')};}if(_0x50a5('0x14')==_0x4818bd['commandName']){const _0x825cda=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];return _0x825cda?{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x23'),_0x825cda)}:{'type':'format','content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20family*')};}if(_0x50a5('0x1e')==_0x4818bd[_0x50a5('0x13')]){const _0x1e73bd=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x1e73bd){const _0x5dedc4=_0x544f32(this[_0x50a5('0x1')]['config'][_0x50a5('0x10')](_0x50a5('0x24')))[_0x50a5('0x17')](_0x293406=>_0x293406[_0x50a5('0xc')]==_0x1e73bd);let _0x18f43b=_0x1e73bd,_0x30d85f='';return _0x5dedc4&&(_0x18f43b=_0x5dedc4['label'],_0x30d85f=_0x1657fa['_t'](_0x18f43b)['toLowerCase']()),{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x12'),_0x30d85f)[_0x50a5('0x19')](),'color':{'value':_0x1e73bd,'title':_0x30d85f||_0x18f43b}};}return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20color*')};}if(_0x50a5('0xb')==_0x4818bd['commandName']){const _0x1e5409=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x1e5409){const _0x422baf=_0x544f32(this['editor'][_0x50a5('0x1b')]['get'](_0x50a5('0x26')))['find'](_0xdd80ee=>_0xdd80ee[_0x50a5('0xc')]==_0x1e5409);let _0x46f162=_0x1e5409,_0x5e20a9='';return _0x422baf&&(_0x46f162=_0x422baf[_0x50a5('0x5')],_0x5e20a9=_0x1657fa['_t'](_0x46f162)['toLowerCase']()),{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x9'),_0x5e20a9)[_0x50a5('0x19')](),'color':{'value':_0x1e5409,'title':_0x5e20a9||_0x46f162}};}return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x20'))};}}});}['_enableCommand'](_0x1c5131){const _0x598bd4=this[_0x50a5('0x1')];_0x598bd4['plugins'][_0x50a5('0x10')](_0x50a5('0x11'))[_0x50a5('0xd')](_0x1c5131,(_0x17e396,_0x248cb0={})=>{const _0x37896a=_0x598bd4[_0x50a5('0xc')][_0x50a5('0xe')][_0x50a5('0xf')],_0x23a83d=_0x248cb0[_0x50a5('0x1a')];_0x37896a[_0x50a5('0x28')]?_0x17e396(_0x248cb0):_0x598bd4[_0x50a5('0xc')][_0x50a5('0x7')](()=>{const _0x43950e=Array[_0x50a5('0x2a')](_0x37896a[_0x50a5('0x18')]());for(const _0x42b695 of _0x43950e){const _0x1ac6fb=_0x23a83d?[_0x42b695]:_0x55ba7f(_0x1c5131,_0x42b695,_0x598bd4[_0x50a5('0xc')]);for(const _0x3ab9c4 of _0x1ac6fb)_0x598bd4[_0x50a5('0x27')][_0x50a5('0x10')](_0x50a5('0x11'))[_0x50a5('0x25')](_0x3ab9c4,{'commandName':_0x1c5131,'commandParams':[{'value':_0x23a83d}]});}});});}}
23
+ const _0x46ad=['toLowerCase','config','from','markInlineFormat','get','fontFamily','label','*Set\x20font\x20size:*\x20%0','model','format','FontSize','value','fontBackgroundColor','FontSizeEditing','*Reset\x20font\x20size*','*Reset\x20font\x20background\x20color*','fontColor','document','commandName','FontColorEditing','*Set\x20font\x20background\x20color:*\x20%0','TrackChangesEditing','afterInit','*Set\x20font\x20color:*\x20%0','enableCommand','_descriptionFactory','registerDescriptionCallback','commandParams','editor','fontSize.options','*Reset\x20font\x20family*','selection','trim','plugins','locale','_enableCommand','title','fontSize','find','FontFamilyEditing','getRanges'];(function(_0x5586df,_0x46ada5){const _0x4033cb=function(_0x4f6c8b){while(--_0x4f6c8b){_0x5586df['push'](_0x5586df['shift']());}};_0x4033cb(++_0x46ada5);}(_0x46ad,0x1cb));const _0x4033=function(_0x5586df,_0x46ada5){_0x5586df=_0x5586df-0x0;let _0x4033cb=_0x46ad[_0x5586df];return _0x4033cb;};import{Plugin as _0x22a1e7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x459539}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5e7957}from'./utils';import{getTranslation as _0x2ff878}from'../utils/common-translations';const Jt=[{'pluginName':_0x4033('0x5'),'commandName':'fontSize'},{'pluginName':_0x4033('0x1f'),'commandName':_0x4033('0x26')},{'pluginName':_0x4033('0xb'),'commandName':_0x4033('0x8')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4033('0x4')}];export default class W extends _0x22a1e7{[_0x4033('0xe')](){const _0x54ad03=this['editor']['locale'];for(const {pluginName:_0x5e91a5,commandName:_0x40d4c4}of Jt)this[_0x4033('0x14')]['plugins']['has'](_0x5e91a5)&&this[_0x4033('0x1b')](_0x40d4c4);this[_0x4033('0x14')]['plugins']['get']('TrackChangesEditing')[_0x4033('0x11')][_0x4033('0x12')](_0x132553=>{const {data:_0x2ec988}=_0x132553;if(null!=_0x2ec988){if(_0x4033('0x1d')==_0x2ec988[_0x4033('0xa')]){const _0x1e6ab9=_0x2ec988['commandParams'][0x0][_0x4033('0x3')];if(_0x1e6ab9){const _0x49b395=this['editor'][_0x4033('0x19')]['get'](_0x4033('0x2'))['normalizeSizeOptions'](this[_0x4033('0x14')][_0x4033('0x22')][_0x4033('0x25')](_0x4033('0x15')))[_0x4033('0x1e')](_0x2d3ab1=>_0x2d3ab1[_0x4033('0x0')]==_0x1e6ab9)[_0x4033('0x1c')],_0x446ce2=this['editor'][_0x4033('0x1a')]['_t'](_0x49b395)[_0x4033('0x21')]();return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x28'),_0x446ce2)};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x6'))};}if(_0x4033('0x26')==_0x2ec988['commandName']){const _0x604097=_0x2ec988['commandParams'][0x0][_0x4033('0x3')];return _0x604097?{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,'*Set\x20font\x20family:*\x20%0',_0x604097)}:{'type':'format','content':_0x2ff878(_0x54ad03,_0x4033('0x16'))};}if(_0x4033('0x8')==_0x2ec988['commandName']){const _0x53c2fe=_0x2ec988[_0x4033('0x13')][0x0][_0x4033('0x3')];if(_0x53c2fe){const _0x4487c6=_0x459539(this[_0x4033('0x14')]['config'][_0x4033('0x25')]('fontColor.colors'))[_0x4033('0x1e')](_0x575c68=>_0x575c68[_0x4033('0x0')]==_0x53c2fe);let _0x3ab053=_0x53c2fe,_0x3d9d41='';return _0x4487c6&&(_0x3ab053=_0x4487c6[_0x4033('0x27')],_0x3d9d41=_0x54ad03['_t'](_0x3ab053)[_0x4033('0x21')]()),{'type':'format','content':_0x2ff878(_0x54ad03,_0x4033('0xf'),_0x3d9d41)[_0x4033('0x18')](),'color':{'value':_0x53c2fe,'title':_0x3d9d41||_0x3ab053}};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x2ec988[_0x4033('0xa')]){const _0xeaeadd=_0x2ec988[_0x4033('0x13')][0x0]['value'];if(_0xeaeadd){const _0x5d5fb6=_0x459539(this['editor'][_0x4033('0x22')]['get']('fontBackgroundColor.colors'))['find'](_0x17f4f5=>_0x17f4f5['model']==_0xeaeadd);let _0x1bf972=_0xeaeadd,_0x476282='';return _0x5d5fb6&&(_0x1bf972=_0x5d5fb6[_0x4033('0x27')],_0x476282=_0x54ad03['_t'](_0x1bf972)[_0x4033('0x21')]()),{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0xc'),_0x476282)[_0x4033('0x18')](),'color':{'value':_0xeaeadd,'title':_0x476282||_0x1bf972}};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x7'))};}}});}[_0x4033('0x1b')](_0x157e2a){const _0x1de73c=this[_0x4033('0x14')];_0x1de73c[_0x4033('0x19')][_0x4033('0x25')](_0x4033('0xd'))[_0x4033('0x10')](_0x157e2a,(_0x17f28f,_0x2fe35a={})=>{const _0x2a06c0=_0x1de73c[_0x4033('0x0')][_0x4033('0x9')][_0x4033('0x17')],_0x2825cb=_0x2fe35a[_0x4033('0x3')];_0x2a06c0['isCollapsed']?_0x17f28f(_0x2fe35a):_0x1de73c[_0x4033('0x0')]['change'](()=>{const _0x25b080=Array[_0x4033('0x23')](_0x2a06c0[_0x4033('0x20')]());for(const _0x5e8dda of _0x25b080){const _0x365204=_0x2825cb?[_0x5e8dda]:_0x5e7957(_0x157e2a,_0x5e8dda,_0x1de73c[_0x4033('0x0')]);for(const _0x5919f5 of _0x365204)_0x1de73c[_0x4033('0x19')][_0x4033('0x25')](_0x4033('0xd'))[_0x4033('0x24')](_0x5919f5,{'commandName':_0x157e2a,'commandParams':[{'value':_0x2825cb}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f8d=['value','editor','commandName','title','HeadingEditing','from','get','config','schema','isObject','model','registerDescriptionCallback','ELEMENT_HEADING_CUSTOM','find','commandParams','heading.options','checkChild','document','change','enableCommand','match','filter','*Change\x20to:*\x20%0','parent','locale','format','blockName','getSelectedBlocks','plugins','heading','has','ELEMENT_HEADING'];(function(_0x234dab,_0x1f8d1c){const _0x55359b=function(_0x5ea5bf){while(--_0x5ea5bf){_0x234dab['push'](_0x234dab['shift']());}};_0x55359b(++_0x1f8d1c);}(_0x1f8d,0xf8));const _0x5535=function(_0x234dab,_0x1f8d1c){_0x234dab=_0x234dab-0x0;let _0x55359b=_0x1f8d[_0x234dab];return _0x55359b;};import{Plugin as _0x549ba3}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x9ef737}from'./utils';import{getTranslation as _0x1018e0}from'../utils/common-translations';export default class z extends _0x549ba3{['afterInit'](){const _0x766ba2=this[_0x5535('0x9')],_0x3a1019=_0x766ba2[_0x5535('0x0')],_0x4ab272=_0x766ba2[_0x5535('0xf')][_0x5535('0xe')](_0x5535('0x17'));if(!_0x766ba2[_0x5535('0x4')][_0x5535('0x6')](_0x5535('0xc')))return;const _0x13105c=_0x766ba2[_0x5535('0x4')][_0x5535('0xe')]('TrackChangesEditing');_0x13105c[_0x5535('0x1b')](_0x5535('0x5'),(_0x1f016d,_0x58b159)=>{const _0x30d59c=_0x58b159['value'],_0x3cd2c5=Array[_0x5535('0xd')](this['editor'][_0x5535('0x12')][_0x5535('0x19')]['selection'][_0x5535('0x3')]())[_0x5535('0x1d')](_0x269f76=>function(_0x3e3cfb,_0x47f2b6,_0x25b0d9){return _0x25b0d9[_0x5535('0x18')](_0x3e3cfb[_0x5535('0x1f')],_0x47f2b6)&&!_0x25b0d9[_0x5535('0x11')](_0x3e3cfb)&&_0x3e3cfb['name']!=_0x47f2b6;}(_0x269f76,_0x30d59c,this[_0x5535('0x9')][_0x5535('0x12')][_0x5535('0x10')]));_0x766ba2[_0x5535('0x12')][_0x5535('0x1a')](()=>{for(const _0x2dc596 of _0x3cd2c5)_0x13105c['markBlockFormat'](_0x2dc596,{'commandName':_0x5535('0x5'),'commandParams':[_0x58b159],'formatGroupId':_0x5535('0x2')},_0x9ef737(_0x2dc596));});});for(const _0x5192fc of _0x4ab272)'paragraph'!=_0x5192fc['model']&&_0x13105c['_descriptionFactory']['registerElementLabel'](_0x5192fc[_0x5535('0x12')],_0x4b050c=>{const _0x21474f=Kt(_0x5192fc['model']);return null!==_0x21474f?_0x1a6ea6(_0x4b050c,_0x21474f):_0x2caad7(_0x4b050c,_0x5192fc[_0x5535('0xb')]);});function _0x1a6ea6(_0x58d579,_0x239227){return _0x1018e0(_0x3a1019,_0x5535('0x7'),[_0x58d579,_0x239227]);}function _0x2caad7(_0x18e279,_0x4e47f6){return _0x1018e0(_0x3a1019,_0x5535('0x14'),[_0x18e279,_0x4e47f6]);}_0x13105c['_descriptionFactory'][_0x5535('0x13')](_0x24afa5=>{const {type:_0x9002dd,data:_0x26979c}=_0x24afa5;if('formatBlock'==_0x9002dd&&_0x26979c&&_0x5535('0x5')==_0x26979c[_0x5535('0xa')]){const _0x13e11f=_0x26979c[_0x5535('0x16')][0x0][_0x5535('0x8')],_0x281b11=Kt(_0x13e11f);if(null!==_0x281b11)return{'type':_0x5535('0x1'),'content':_0x1018e0(_0x3a1019,_0x5535('0x1e'),_0x1a6ea6(0x1,_0x281b11))};const _0x6382a7=_0x4ab272[_0x5535('0x15')](_0x41f85a=>_0x41f85a[_0x5535('0x12')]===_0x13e11f)['title'];return{'type':_0x5535('0x1'),'content':_0x1018e0(_0x3a1019,_0x5535('0x1e'),_0x2caad7(0x1,_0x6382a7))};}});}}function Kt(_0x288a52){const _0x200a8e=_0x288a52[_0x5535('0x1c')](/^heading(\d+)$/);return _0x200a8e?_0x200a8e[0x1]:null;}
23
+ const _0x5978=['document','change','model','enableCommand','registerElementLabel','afterInit','blockName','format','config','commandName','selection','ELEMENT_HEADING_CUSTOM','parent','get','name','paragraph','isObject','commandParams','_descriptionFactory','title','value','editor','filter','HeadingEditing','locale','getSelectedBlocks','has','ELEMENT_HEADING','heading','plugins','TrackChangesEditing','registerDescriptionCallback'];(function(_0xcd9abf,_0x597820){const _0x3aa6f6=function(_0x3f043c){while(--_0x3f043c){_0xcd9abf['push'](_0xcd9abf['shift']());}};_0x3aa6f6(++_0x597820);}(_0x5978,0x99));const _0x3aa6=function(_0xcd9abf,_0x597820){_0xcd9abf=_0xcd9abf-0x0;let _0x3aa6f6=_0x5978[_0xcd9abf];return _0x3aa6f6;};import{Plugin as _0x58d875}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4ec996}from'./utils';import{getTranslation as _0x3d7788}from'../utils/common-translations';export default class z extends _0x58d875{[_0x3aa6('0xc')](){const _0x4981d7=this[_0x3aa6('0x1c')],_0x37894c=_0x4981d7[_0x3aa6('0x1f')],_0x2ba451=_0x4981d7[_0x3aa6('0xf')][_0x3aa6('0x14')]('heading.options');if(!_0x4981d7['plugins'][_0x3aa6('0x1')](_0x3aa6('0x1e')))return;const _0x30945b=_0x4981d7[_0x3aa6('0x4')]['get'](_0x3aa6('0x5'));_0x30945b[_0x3aa6('0xa')](_0x3aa6('0x3'),(_0x1e3fc0,_0x2b62bb)=>{const _0x343060=_0x2b62bb[_0x3aa6('0x1b')],_0x2f2921=Array['from'](this['editor'][_0x3aa6('0x9')][_0x3aa6('0x7')][_0x3aa6('0x11')][_0x3aa6('0x0')]())[_0x3aa6('0x1d')](_0x3aba15=>function(_0x486440,_0x582fa3,_0x1911f6){return _0x1911f6['checkChild'](_0x486440[_0x3aa6('0x13')],_0x582fa3)&&!_0x1911f6[_0x3aa6('0x17')](_0x486440)&&_0x486440[_0x3aa6('0x15')]!=_0x582fa3;}(_0x3aba15,_0x343060,this['editor'][_0x3aa6('0x9')]['schema']));_0x4981d7['model'][_0x3aa6('0x8')](()=>{for(const _0x8b5ec5 of _0x2f2921)_0x30945b['markBlockFormat'](_0x8b5ec5,{'commandName':_0x3aa6('0x3'),'commandParams':[_0x2b62bb],'formatGroupId':_0x3aa6('0xd')},_0x4ec996(_0x8b5ec5));});});for(const _0x2dcac6 of _0x2ba451)_0x3aa6('0x16')!=_0x2dcac6['model']&&_0x30945b[_0x3aa6('0x19')][_0x3aa6('0xb')](_0x2dcac6[_0x3aa6('0x9')],_0x3f4d0f=>{const _0x266ed3=Kt(_0x2dcac6[_0x3aa6('0x9')]);return null!==_0x266ed3?_0x245965(_0x3f4d0f,_0x266ed3):_0x4151f7(_0x3f4d0f,_0x2dcac6[_0x3aa6('0x1a')]);});function _0x245965(_0x41046e,_0x1c2bc3){return _0x3d7788(_0x37894c,_0x3aa6('0x2'),[_0x41046e,_0x1c2bc3]);}function _0x4151f7(_0x4e63db,_0x14ccf0){return _0x3d7788(_0x37894c,_0x3aa6('0x12'),[_0x4e63db,_0x14ccf0]);}_0x30945b[_0x3aa6('0x19')][_0x3aa6('0x6')](_0x5ed5c6=>{const {type:_0x1dee62,data:_0x33a6d6}=_0x5ed5c6;if('formatBlock'==_0x1dee62&&_0x33a6d6&&_0x3aa6('0x3')==_0x33a6d6[_0x3aa6('0x10')]){const _0x4393b2=_0x33a6d6[_0x3aa6('0x18')][0x0][_0x3aa6('0x1b')],_0x34703f=Kt(_0x4393b2);if(null!==_0x34703f)return{'type':_0x3aa6('0xe'),'content':_0x3d7788(_0x37894c,'*Change\x20to:*\x20%0',_0x245965(0x1,_0x34703f))};const _0x481a80=_0x2ba451['find'](_0x47ab23=>_0x47ab23[_0x3aa6('0x9')]===_0x4393b2)[_0x3aa6('0x1a')];return{'type':_0x3aa6('0xe'),'content':_0x3d7788(_0x37894c,'*Change\x20to:*\x20%0',_0x4151f7(0x1,_0x481a80))};}});}}function Kt(_0x608973){const _0x1cdf4a=_0x608973['match'](/^heading(\d+)$/);return _0x1cdf4a?_0x1cdf4a[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46d5=['value','title','TrackChangesEditing','locale','hasAttribute','backward','selection','highlight.options','color','get','createRange','markInlineFormat','change','plugins','FORMAT_HIGHLIGHT','afterInit','model','editor','push','getLastMatchingPosition','format','*Remove\x20highlight*','isCollapsed','getRanges','getFirstPosition','item','config','document','highlight','formatInline','registerDescriptionCallback','has','enableCommand','getAttribute','*Set\x20highlight:*\x20%0'];(function(_0x38573b,_0x46d556){const _0xbb84a3=function(_0x28c55c){while(--_0x28c55c){_0x38573b['push'](_0x38573b['shift']());}};_0xbb84a3(++_0x46d556);}(_0x46d5,0x150));const _0xbb84=function(_0x38573b,_0x46d556){_0x38573b=_0x38573b-0x0;let _0xbb84a3=_0x46d5[_0x38573b];return _0xbb84a3;};import{Plugin as _0x318982}from'ckeditor5/src/core';import{getTranslation as _0xec7bd1}from'../utils/common-translations';import{getRangesWithAttribute as _0xa1d030}from'./utils';export default class J extends _0x318982{[_0xbb84('0x1d')](){const _0x43ca25=this[_0xbb84('0x1f')];if(!_0x43ca25[_0xbb84('0x1b')][_0xbb84('0xa')]('HighlightEditing'))return;const _0x1153f5=_0x43ca25['plugins'][_0xbb84('0x17')](_0xbb84('0x10'));_0x1153f5[_0xbb84('0xb')](_0xbb84('0x7'),(_0x298155,_0x5db409={})=>{const _0x89d13a=_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x6')][_0xbb84('0x14')],_0x37127d=_0x89d13a[_0xbb84('0xc')]('highlight');let _0x474217=_0x5db409[_0xbb84('0xe')],_0x48a6e1=[];if(_0x89d13a[_0xbb84('0x1')]){const _0xd83825=_0x89d13a[_0xbb84('0x3')]();if(!_0x89d13a[_0xbb84('0x12')]('highlight'))return void _0x298155(_0x5db409);{const _0x56859f=_0x29b6fa=>_0x29b6fa[_0xbb84('0x4')][_0xbb84('0xc')]('highlight')===_0x37127d,_0x4fe90a=_0xd83825[_0xbb84('0x21')](_0x56859f,{'direction':_0xbb84('0x13')}),_0x50c8ed=_0xd83825[_0xbb84('0x21')](_0x56859f);_0x48a6e1=[_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x18')](_0x4fe90a,_0x50c8ed)],_0x474217==_0x37127d&&(_0x474217=null);}}else for(const _0x55663b of _0x89d13a[_0xbb84('0x2')]())_0x474217?_0x48a6e1[_0xbb84('0x20')](_0x55663b):_0x48a6e1[_0xbb84('0x20')](..._0xa1d030('highlight',_0x55663b,_0x43ca25['model']));_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x1a')](()=>{for(const _0x5990df of _0x48a6e1)_0x1153f5[_0xbb84('0x19')](_0x5990df,{'commandName':_0xbb84('0x7'),'commandParams':[{'value':_0x474217}]});});});const _0x1c9d23=_0x43ca25[_0xbb84('0x11')];_0x1153f5['_descriptionFactory'][_0xbb84('0x9')](_0x3f63c3=>{const {type:_0x4330c8,data:_0xa57518}=_0x3f63c3;if(_0xbb84('0x8')==_0x4330c8&&_0xa57518&&_0xbb84('0x7')==_0xa57518['commandName']){const _0x42fa88=_0xa57518['commandParams'][0x0][_0xbb84('0xe')];if(_0x42fa88){const _0x248c8c=_0x43ca25[_0xbb84('0x5')]['get'](_0xbb84('0x15'))['find'](_0x32b8ba=>_0x32b8ba[_0xbb84('0x1e')]==_0x42fa88),_0x587e=_0x1c9d23['_t'](_0x248c8c['title'])['toLowerCase']();return{'type':_0xbb84('0x22'),'content':_0xec7bd1(_0x1c9d23,_0xbb84('0xd'),_0x587e),'color':{'value':_0x248c8c[_0xbb84('0x16')],'title':_0x248c8c[_0xbb84('0xf')]}};}return{'type':_0xbb84('0x22'),'content':_0xec7bd1(_0x1c9d23,_0xbb84('0x0'),_0xec7bd1(_0x1c9d23,_0xbb84('0x1c')))};}});}}
23
+ const _0x3cde=['model','getFirstPosition','TrackChangesEditing','getAttribute','highlight','getRanges','formatInline','*Remove\x20highlight*','change','plugins','title','highlight.options','createRange','*Set\x20highlight:*\x20%0','get','format','backward','item','locale','registerDescriptionCallback','value','_descriptionFactory','commandName','selection','push','toLowerCase','hasAttribute','find','editor','commandParams','color'];(function(_0xf30396,_0x3cdeac){const _0x59be4b=function(_0x5da4fb){while(--_0x5da4fb){_0xf30396['push'](_0xf30396['shift']());}};_0x59be4b(++_0x3cdeac);}(_0x3cde,0xa3));const _0x59be=function(_0xf30396,_0x3cdeac){_0xf30396=_0xf30396-0x0;let _0x59be4b=_0x3cde[_0xf30396];return _0x59be4b;};import{Plugin as _0x57e686}from'ckeditor5/src/core';import{getTranslation as _0x6dad33}from'../utils/common-translations';import{getRangesWithAttribute as _0x10096f}from'./utils';export default class J extends _0x57e686{['afterInit'](){const _0xbe53bd=this[_0x59be('0x14')];if(!_0xbe53bd[_0x59be('0x1')]['has']('HighlightEditing'))return;const _0x2f21a9=_0xbe53bd[_0x59be('0x1')][_0x59be('0x6')](_0x59be('0x19'));_0x2f21a9['enableCommand'](_0x59be('0x1b'),(_0x58f94d,_0x294020={})=>{const _0xf3c496=_0xbe53bd[_0x59be('0x17')]['document'][_0x59be('0xf')],_0x3fdab4=_0xf3c496[_0x59be('0x1a')](_0x59be('0x1b'));let _0x452e24=_0x294020[_0x59be('0xc')],_0x2d3c75=[];if(_0xf3c496['isCollapsed']){const _0xc63a3d=_0xf3c496[_0x59be('0x18')]();if(!_0xf3c496[_0x59be('0x12')](_0x59be('0x1b')))return void _0x58f94d(_0x294020);{const _0x2f7283=_0x3431d1=>_0x3431d1[_0x59be('0x9')][_0x59be('0x1a')]('highlight')===_0x3fdab4,_0x6a68c3=_0xc63a3d['getLastMatchingPosition'](_0x2f7283,{'direction':_0x59be('0x8')}),_0x362fbb=_0xc63a3d['getLastMatchingPosition'](_0x2f7283);_0x2d3c75=[_0xbe53bd[_0x59be('0x17')][_0x59be('0x4')](_0x6a68c3,_0x362fbb)],_0x452e24==_0x3fdab4&&(_0x452e24=null);}}else for(const _0x37fac9 of _0xf3c496[_0x59be('0x1c')]())_0x452e24?_0x2d3c75['push'](_0x37fac9):_0x2d3c75[_0x59be('0x10')](..._0x10096f(_0x59be('0x1b'),_0x37fac9,_0xbe53bd[_0x59be('0x17')]));_0xbe53bd['model'][_0x59be('0x0')](()=>{for(const _0x38a847 of _0x2d3c75)_0x2f21a9['markInlineFormat'](_0x38a847,{'commandName':'highlight','commandParams':[{'value':_0x452e24}]});});});const _0xa6c684=_0xbe53bd[_0x59be('0xa')];_0x2f21a9[_0x59be('0xd')][_0x59be('0xb')](_0x5e5005=>{const {type:_0x4f1998,data:_0x4ebb01}=_0x5e5005;if(_0x59be('0x1d')==_0x4f1998&&_0x4ebb01&&_0x59be('0x1b')==_0x4ebb01[_0x59be('0xe')]){const _0x2cfc66=_0x4ebb01[_0x59be('0x15')][0x0]['value'];if(_0x2cfc66){const _0xcb98ff=_0xbe53bd['config'][_0x59be('0x6')](_0x59be('0x3'))[_0x59be('0x13')](_0x534359=>_0x534359[_0x59be('0x17')]==_0x2cfc66),_0x53162c=_0xa6c684['_t'](_0xcb98ff['title'])[_0x59be('0x11')]();return{'type':'format','content':_0x6dad33(_0xa6c684,_0x59be('0x5'),_0x53162c),'color':{'value':_0xcb98ff[_0x59be('0x16')],'title':_0xcb98ff[_0x59be('0x2')]}};}return{'type':_0x59be('0x7'),'content':_0x6dad33(_0xa6c684,_0x59be('0x1e'),_0x6dad33(_0xa6c684,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8dda=['addClass','for','high','HorizontalLineEditing','_descriptionFactory','TrackChangesEditing','plugins','registerElementLabel','editor','createPositionAt','elementToStructure','has','conversion','enableCommand','horizontalLine','ELEMENT_HORIZONTAL_LINE','locale','get'];(function(_0x4ece4d,_0x8dda05){const _0x19d18b=function(_0x39708d){while(--_0x39708d){_0x4ece4d['push'](_0x4ece4d['shift']());}};_0x19d18b(++_0x8dda05);}(_0x8dda,0x1af));const _0x19d1=function(_0x4ece4d,_0x8dda05){_0x4ece4d=_0x4ece4d-0x0;let _0x19d18b=_0x8dda[_0x4ece4d];return _0x19d18b;};import{Plugin as _0x3bb4c3}from'ckeditor5/src/core';import{getTranslation as _0x389f81}from'../utils/common-translations';export default class K extends _0x3bb4c3{['afterInit'](){const _0x554c84=this[_0x19d1('0x9')];if(!_0x554c84[_0x19d1('0x7')][_0x19d1('0xc')](_0x19d1('0x4')))return;_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')]('TrackChangesEditing')[_0x19d1('0xe')](_0x19d1('0xf'));const _0x40eccc=_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')](_0x19d1('0x6')),_0x24ffb0=_0x554c84[_0x19d1('0x11')];_0x40eccc[_0x19d1('0x5')][_0x19d1('0x8')](_0x19d1('0xf'),_0x32e25b=>_0x389f81(_0x24ffb0,_0x19d1('0x10'),_0x32e25b)),_0x554c84[_0x19d1('0xd')][_0x19d1('0x2')]('dataDowncast')[_0x19d1('0xb')]({'model':_0x19d1('0xf'),'view':(_0x2e282f,{writer:_0x513fc5,options:_0x407a69})=>{if(!_0x407a69['showSuggestionHighlights'])return;const _0x3ad637=_0x513fc5['createContainerElement']('div'),_0x4d5cc3=_0x513fc5['createEmptyElement']('hr');return _0x513fc5[_0x19d1('0x1')]('ck-horizontal-line',_0x3ad637),_0x513fc5['insert'](_0x513fc5[_0x19d1('0xa')](_0x3ad637,0x0),_0x4d5cc3),_0x3ad637;},'converterPriority':_0x19d1('0x3')});}}
23
+ const _0x432b=['afterInit','plugins','addClass','TrackChangesEditing','for','createPositionAt','ELEMENT_HORIZONTAL_LINE','horizontalLine','elementToStructure','locale','get','createContainerElement','enableCommand','conversion','editor','has','HorizontalLineEditing','_descriptionFactory'];(function(_0x20de34,_0x432b61){const _0xb53dea=function(_0x3015c1){while(--_0x3015c1){_0x20de34['push'](_0x20de34['shift']());}};_0xb53dea(++_0x432b61);}(_0x432b,0xee));const _0xb53d=function(_0x20de34,_0x432b61){_0x20de34=_0x20de34-0x0;let _0xb53dea=_0x432b[_0x20de34];return _0xb53dea;};import{Plugin as _0x48319b}from'ckeditor5/src/core';import{getTranslation as _0xe55619}from'../utils/common-translations';export default class K extends _0x48319b{[_0xb53d('0xe')](){const _0x51f246=this[_0xb53d('0xa')];if(!_0x51f246[_0xb53d('0xf')][_0xb53d('0xb')](_0xb53d('0xc')))return;_0x51f246[_0xb53d('0xf')]['get']('TrackChangesEditing')[_0xb53d('0x8')](_0xb53d('0x3'));const _0x22560e=_0x51f246['plugins'][_0xb53d('0x6')](_0xb53d('0x11')),_0x348e15=_0x51f246[_0xb53d('0x5')];_0x22560e[_0xb53d('0xd')]['registerElementLabel'](_0xb53d('0x3'),_0x11c2eb=>_0xe55619(_0x348e15,_0xb53d('0x2'),_0x11c2eb)),_0x51f246[_0xb53d('0x9')][_0xb53d('0x0')]('dataDowncast')[_0xb53d('0x4')]({'model':_0xb53d('0x3'),'view':(_0x109093,{writer:_0x5844de,options:_0x85cdf1})=>{if(!_0x85cdf1['showSuggestionHighlights'])return;const _0x100478=_0x5844de[_0xb53d('0x7')]('div'),_0x12e3c2=_0x5844de['createEmptyElement']('hr');return _0x5844de[_0xb53d('0x10')]('ck-horizontal-line',_0x100478),_0x5844de['insert'](_0x5844de[_0xb53d('0x1')](_0x100478,0x0),_0x12e3c2),_0x100478;},'converterPriority':'high'});}}