@ckeditor/ckeditor5-track-changes 35.3.0 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/build/track-changes.js +1 -1
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.3.0",
3
+ "version": "35.3.1",
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.0",
31
- "ckeditor5-collaboration": "^35.3.0",
30
+ "ckeditor5": "^35.3.1",
31
+ "ckeditor5-collaboration": "^35.3.1",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.3.0"
33
+ "@ckeditor/ckeditor5-style": "^35.3.1"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f4e=['acceptSuggestion','refresh','get','TrackChangesEditing','_suggestions','track-changes-accept-suggestion-not-found','isEnabled','execute','plugins'];(function(_0xab4866,_0x4f4ebe){const _0x2c9e7e=function(_0x865bd5){while(--_0x865bd5){_0xab4866['push'](_0xab4866['shift']());}};_0x2c9e7e(++_0x4f4ebe);}(_0x4f4e,0x90));const _0x2c9e=function(_0xab4866,_0x4f4ebe){_0xab4866=_0xab4866-0x0;let _0x2c9e7e=_0x4f4e[_0xab4866];return _0x2c9e7e;};import{Command as _0x291f2a}from'ckeditor5/src/core';import{CKEditorError as _0x5938f5}from'ckeditor5/src/utils';export default class N extends _0x291f2a{constructor(_0x2785c2,_0x53fa34){super(_0x2785c2),this[_0x2c9e('0x4')]=_0x53fa34,this[_0x2c9e('0x1')]();}[_0x2c9e('0x1')](){this[_0x2c9e('0x6')]=!0x0;}[_0x2c9e('0x7')](_0x548a94){const _0x21c253=this['_suggestions'][_0x2c9e('0x2')](_0x548a94);if(!_0x21c253)throw new _0x5938f5(_0x2c9e('0x5'),this);this['editor'][_0x2c9e('0x8')]['get'](_0x2c9e('0x3'))[_0x2c9e('0x0')](_0x21c253);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c2e=['refresh','editor','isEnabled','execute','get','discardSuggestion','_suggestions','track-changes-discard-suggestion-not-found'];(function(_0x1efaa6,_0x5c2ef9){const _0x42a2ff=function(_0x22f67b){while(--_0x22f67b){_0x1efaa6['push'](_0x1efaa6['shift']());}};_0x42a2ff(++_0x5c2ef9);}(_0x5c2e,0xe6));const _0x42a2=function(_0x1efaa6,_0x5c2ef9){_0x1efaa6=_0x1efaa6-0x0;let _0x42a2ff=_0x5c2e[_0x1efaa6];return _0x42a2ff;};import{Command as _0x1d675f}from'ckeditor5/src/core';import{CKEditorError as _0x2fc0f3}from'ckeditor5/src/utils';export default class R extends _0x1d675f{constructor(_0x31a670,_0x44994e){super(_0x31a670),this[_0x42a2('0x0')]=_0x44994e,this[_0x42a2('0x2')]();}[_0x42a2('0x2')](){this[_0x42a2('0x4')]=!0x0;}[_0x42a2('0x5')](_0x578e73){const _0x1bb355=this['_suggestions'][_0x42a2('0x6')](_0x578e73);if(!_0x1bb355)throw new _0x2fc0f3(_0x42a2('0x1'),this);this[_0x42a2('0x3')]['plugins'][_0x42a2('0x6')]('TrackChangesEditing')[_0x42a2('0x7')](_0x1bb355);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48b5=['values','isInContent','from','execute','_command','_suggestions','model','isEnabled','editor','refresh'];(function(_0x383017,_0x48b59f){const _0x3e3045=function(_0x34a5a7){while(--_0x34a5a7){_0x383017['push'](_0x383017['shift']());}};_0x3e3045(++_0x48b59f);}(_0x48b5,0x150));const _0x3e30=function(_0x383017,_0x48b59f){_0x383017=_0x383017-0x0;let _0x3e3045=_0x48b5[_0x383017];return _0x3e3045;};import{Command as _0x4025d8}from'ckeditor5/src/core';import{sortSuggestions as _0xb0e681,executeCommandForSuggestions as _0x4459a5}from'../utils/utils';export default class x extends _0x4025d8{constructor(_0xfc48b2,_0x337fa3,_0x1aba36){super(_0xfc48b2),this[_0x3e30('0x8')]=_0x337fa3,this[_0x3e30('0x9')]=_0x1aba36,this[_0x3e30('0x3')]();}[_0x3e30('0x3')](){const _0x778495=Array[_0x3e30('0x6')](this['_suggestions'][_0x3e30('0x4')]())['some'](_0x3549d1=>_0x3549d1[_0x3e30('0x5')]);this[_0x3e30('0x1')]=this[_0x3e30('0x8')][_0x3e30('0x1')]&&_0x778495;}[_0x3e30('0x7')](){const _0x49c9bf=_0xb0e681(Array[_0x3e30('0x6')](this[_0x3e30('0x9')][_0x3e30('0x4')]()));_0x4459a5(this[_0x3e30('0x2')][_0x3e30('0x0')],this['_command'],_0x49c9bf);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3352=['isEnabled','execute','values','_command','editor','refresh','_selectedSuggestions','_suggestions','from','model','size'];(function(_0x2592f3,_0x3352b1){const _0x5f0db1=function(_0x1c5b5b){while(--_0x1c5b5b){_0x2592f3['push'](_0x2592f3['shift']());}};_0x5f0db1(++_0x3352b1);}(_0x3352,0x101));const _0x5f0d=function(_0x2592f3,_0x3352b1){_0x2592f3=_0x2592f3-0x0;let _0x5f0db1=_0x3352[_0x2592f3];return _0x5f0db1;};import{Command as _0xaafa4d}from'ckeditor5/src/core';import{sortSuggestions as _0x5e7620,getSelectedSuggestions as _0x2585af,executeCommandForSuggestions as _0x3f2262}from'../utils/utils';export default class U extends _0xaafa4d{constructor(_0xfc267c,_0x428fb5,_0xdf3f89){super(_0xfc267c),this[_0x5f0d('0xa')]=_0x428fb5,this['_suggestions']=_0xdf3f89,this[_0x5f0d('0x2')]=new Set(),this[_0x5f0d('0x1')]();}[_0x5f0d('0x1')](){const _0x16b9e3=this[_0x5f0d('0x0')][_0x5f0d('0x5')]['document']['selection'],_0x56da21=Array[_0x5f0d('0x4')](this[_0x5f0d('0x3')][_0x5f0d('0x9')]());this[_0x5f0d('0x2')]=_0x2585af(_0x16b9e3,_0x56da21),this[_0x5f0d('0x7')]=this['_command'][_0x5f0d('0x7')]&&!!this[_0x5f0d('0x2')][_0x5f0d('0x6')];}[_0x5f0d('0x8')](){const _0x236a3b=_0x5e7620(Array[_0x5f0d('0x4')](this[_0x5f0d('0x2')]));_0x3f2262(this[_0x5f0d('0x0')][_0x5f0d('0x5')],this['_command'],_0x236a3b);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c4f=['execute','refresh','TrackChangesCommand','editor','commands','_disableUnsupportedCommands','_enabledCommands','value','forceDisabled','has','affectsData','isEnabled','_enableCommands'];(function(_0x5bd356,_0x2c4fbd){const _0x256a0d=function(_0x3484f7){while(--_0x3484f7){_0x5bd356['push'](_0x5bd356['shift']());}};_0x256a0d(++_0x2c4fbd);}(_0x2c4f,0x1e6));const _0x256a=function(_0x5bd356,_0x2c4fbd){_0x5bd356=_0x5bd356-0x0;let _0x256a0d=_0x2c4f[_0x5bd356];return _0x256a0d;};import{Command as _0x2bde5f}from'ckeditor5/src/core';export default class $ extends _0x2bde5f{constructor(_0x38e1a4,_0x51be8e){super(_0x38e1a4),this[_0x256a('0x1')]=_0x51be8e,this[_0x256a('0x2')]=!0x1,this[_0x256a('0x9')]();}[_0x256a('0x9')](){this[_0x256a('0x6')]=!0x0;}[_0x256a('0x8')](){this[_0x256a('0x2')]=!this[_0x256a('0x2')],this[_0x256a('0x2')]?this['_disableUnsupportedCommands']():this[_0x256a('0x7')]();}[_0x256a('0x0')](){for(const _0x3f3a22 of this[_0x256a('0xb')][_0x256a('0xc')]['commands']())_0x3f3a22[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x3f3a22)&&_0x3f3a22[_0x256a('0x3')](_0x256a('0xa'));}[_0x256a('0x7')](){for(const _0x546a1c of this[_0x256a('0xb')]['commands'][_0x256a('0xc')]())_0x546a1c[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x546a1c)&&_0x546a1c['clearForceDisabled'](_0x256a('0xa'));}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2398=['value','registerDescriptionCallback','left','justify','document','editor','plugins','from','format','right','afterInit','checkAttribute','getSelectedBlocks','get','markBlockFormat','commandName','change','_descriptionFactory','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','filter','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','model','center','has','locale','alignment','schema','FORMAT_JUSTIFY_TEXT'];(function(_0x50558c,_0x239800){const _0x33b294=function(_0x1c0ab6){while(--_0x1c0ab6){_0x50558c['push'](_0x50558c['shift']());}};_0x33b294(++_0x239800);}(_0x2398,0x1b5));const _0x33b2=function(_0x50558c,_0x239800){_0x50558c=_0x50558c-0x0;let _0x33b294=_0x2398[_0x50558c];return _0x33b294;};import{Plugin as _0x16607e}from'ckeditor5/src/core';import{getTranslation as _0x447173}from'../utils/common-translations';export default class j extends _0x16607e{[_0x33b2('0x7')](){const _0x1a6386=this[_0x33b2('0x2')],_0x4d050c=_0x1a6386[_0x33b2('0x18')];if(!_0x1a6386[_0x33b2('0x3')][_0x33b2('0x17')]('AlignmentEditing'))return;const _0xef1312=_0x1a6386[_0x33b2('0x3')][_0x33b2('0xa')](_0x33b2('0x10'));_0xef1312['enableCommand'](_0x33b2('0x19'),(_0x161166,_0x1080b8={})=>{let _0x2fcc00=_0x1080b8[_0x33b2('0x1c')];_0x1080b8[_0x33b2('0x1c')]||(_0x2fcc00='ltr'===_0x1a6386[_0x33b2('0x18')][_0x33b2('0x14')]?_0x33b2('0x1e'):'right');const _0x4f3952=Array[_0x33b2('0x4')](this['editor'][_0x33b2('0x15')][_0x33b2('0x1')]['selection'][_0x33b2('0x9')]())[_0x33b2('0x11')](_0x5b4bde=>function(_0x41f0b0,_0x494690,_0x58b093){const _0x1da0db=_0x41f0b0['getAttribute'](_0x33b2('0x19'))||null;return _0x494690[_0x33b2('0x8')](_0x41f0b0,_0x33b2('0x19'))&&_0x58b093!=_0x1da0db;}(_0x5b4bde,this[_0x33b2('0x2')]['model'][_0x33b2('0x1a')],_0x2fcc00));_0x1a6386['model'][_0x33b2('0xd')](()=>{for(const _0x2d3991 of _0x4f3952)_0xef1312[_0x33b2('0xb')](_0x2d3991,{'commandName':'alignment','commandParams':[{'value':_0x2fcc00}]});});}),_0xef1312[_0x33b2('0xe')][_0x33b2('0x1d')](_0x5c5bfa=>{const {data:_0x2cf62b}=_0x5c5bfa;if(_0x2cf62b&&_0x33b2('0x19')==_0x2cf62b[_0x33b2('0xc')]){const _0x70b32d=_0x2cf62b['commandParams'][0x0][_0x33b2('0x1c')];return{'type':_0x33b2('0x5'),'content':_0x447173(_0x4d050c,_0x33b2('0x12'),function(_0x98b306){switch(_0x98b306){case _0x33b2('0x1e'):return _0x447173(_0x4d050c,_0x33b2('0xf'));case _0x33b2('0x6'):return _0x447173(_0x4d050c,'FORMAT_ALIGN_TO_RIGHT');case _0x33b2('0x16'):return _0x447173(_0x4d050c,_0x33b2('0x13'));case _0x33b2('0x0'):return _0x447173(_0x4d050c,_0x33b2('0x1b'));}}(_0x70b32d))};}});}}
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))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2862=['SuperscriptEditing','FORMAT_STRIKETHROUGH','commandName','slice','code','commands','StrikethroughEditing','FORMAT_BOLD','afterInit','from','FORMAT_UNDERLINE','bold','italic','_descriptionFactory','plugins','underline','FORMAT_ITALIC','document','SubscriptEditing','has','get','value','CodeEditing','toLowerCase','strikethrough','FORMAT_CODE','ItalicEditing','*Remove\x20format:*\x20%0','editor','change','forceValue','getRanges','TrackChangesEditing','subscript','format'];(function(_0x14a19e,_0x2862d1){const _0x5273db=function(_0x513373){while(--_0x513373){_0x14a19e['push'](_0x14a19e['shift']());}};_0x5273db(++_0x2862d1);}(_0x2862,0xba));const _0x5273=function(_0x14a19e,_0x2862d1){_0x14a19e=_0x14a19e-0x0;let _0x5273db=_0x2862[_0x14a19e];return _0x5273db;};import{Plugin as _0x24b114}from'ckeditor5/src/core';import{getTranslation as _0x3c59b6}from'../utils/common-translations';import{getRangesWithAttribute as _0x235de9}from'./utils';const Ot=['BoldEditing',_0x5273('0xf'),'UnderlineEditing',_0x5273('0xb'),_0x5273('0x1e'),_0x5273('0x7'),_0x5273('0x18')];export default class E extends _0x24b114{[_0x5273('0x20')](){const _0x453d03=this[_0x5273('0x11')],_0x1ccc48=_0x453d03['model'],_0x387473=_0x453d03[_0x5273('0x3')][_0x5273('0x9')](_0x5273('0x15')),_0x30e011=_0x453d03['locale'];for(const _0x2bb4f2 of Ot){if(!_0x453d03[_0x5273('0x3')][_0x5273('0x8')](_0x2bb4f2))continue;const _0x250222=_0x2bb4f2[_0x5273('0x1b')](0x0,-0x7)[_0x5273('0xc')](),_0x526c6f=_0x453d03[_0x5273('0x1d')][_0x5273('0x9')](_0x250222);_0x387473['enableCommand'](_0x250222,(_0x3db13e,_0x417278={})=>{const _0x4117e4=_0x1ccc48[_0x5273('0x6')]['selection'];if(_0x4117e4['isCollapsed'])return void _0x3db13e(_0x417278);const _0xbb88e2=void 0x0!==_0x417278['forceValue']?_0x417278[_0x5273('0x13')]:!_0x526c6f[_0x5273('0xa')];_0x1ccc48[_0x5273('0x12')](()=>{const _0x4a29a9=Array[_0x5273('0x21')](_0x4117e4[_0x5273('0x14')]());for(const _0x347a83 of _0x4a29a9){const _0x159ead=_0xbb88e2?[_0x347a83]:_0x235de9(_0x250222,_0x347a83,_0x1ccc48);for(const _0x3fd1ee of _0x159ead)_0x387473['markInlineFormat'](_0x3fd1ee,{'commandName':_0x250222,'commandParams':[{'forceValue':_0xbb88e2}]});}});});}function _0x46ac7a(_0x375e82,_0x73dc14){_0x387473[_0x5273('0x2')]['registerDescriptionCallback'](_0x5b6434=>{const {data:_0x1baa48}=_0x5b6434;if(_0x1baa48&&_0x1baa48[_0x5273('0x1a')]===_0x375e82)return _0x1baa48['commandParams'][0x0][_0x5273('0x13')]?{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,'*Format:*\x20%0',_0x73dc14)}:{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,_0x5273('0x10'),_0x73dc14)};});}_0x46ac7a(_0x5273('0x0'),_0x3c59b6(_0x30e011,_0x5273('0x1f'))),_0x46ac7a(_0x5273('0x1'),_0x3c59b6(_0x30e011,_0x5273('0x5'))),_0x46ac7a(_0x5273('0x4'),_0x3c59b6(_0x30e011,_0x5273('0x22'))),_0x46ac7a(_0x5273('0x1c'),_0x3c59b6(_0x30e011,_0x5273('0xe'))),_0x46ac7a(_0x5273('0xd'),_0x3c59b6(_0x30e011,_0x5273('0x19'))),_0x46ac7a(_0x5273('0x16'),_0x3c59b6(_0x30e011,'FORMAT_SUBSCRIPT')),_0x46ac7a('superscript',_0x3c59b6(_0x30e011,'FORMAT_SUPERSCRIPT'));}}
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')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15ad=['ELEMENT_BLOCK_QUOTE','locale','TrackChangesEditing','get','selection','document','_descriptionFactory','has','afterInit','forceValue','BlockQuoteEditing','from','filter','name','value','blockQuote','plugins','$root','enableCommand','schema','commandParams','editor','markBlockFormat','format','checkChild','change','getSelectedBlocks','model','parent'];(function(_0x4635ee,_0x15ad22){const _0x52f656=function(_0x249e04){while(--_0x249e04){_0x4635ee['push'](_0x4635ee['shift']());}};_0x52f656(++_0x15ad22);}(_0x15ad,0x18b));const _0x52f6=function(_0x4635ee,_0x15ad22){_0x4635ee=_0x4635ee-0x0;let _0x52f656=_0x15ad[_0x4635ee];return _0x52f656;};import{Plugin as _0x3a03dc}from'ckeditor5/src/core';import{getTranslation as _0x4e7c9c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3bb786}from'../utils/utils';export default class O extends _0x3a03dc{[_0x52f6('0x13')](){const _0x351535=this['editor'],_0x51c7a2=_0x351535[_0x52f6('0xc')];if(!_0x351535[_0x52f6('0x1b')][_0x52f6('0x12')](_0x52f6('0x15')))return;const _0x29e68c=_0x351535['plugins'][_0x52f6('0xe')](_0x52f6('0xd')),_0x313683=this[_0x52f6('0x3')]['commands']['get'](_0x52f6('0x1a'));_0x29e68c[_0x52f6('0x0')](_0x52f6('0x1a'),(_0x5e9510,_0x4e8d42={})=>{const _0x5d0136=this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x10')][_0x52f6('0xf')],_0x341797=_0x4e8d42&&void 0x0!==_0x4e8d42['forceValue']?_0x4e8d42[_0x52f6('0x14')]:!_0x313683[_0x52f6('0x19')];let _0x4ab248=[];if(_0x341797){const _0x4fc10c=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x339f44=>Ft(_0x339f44)||function(_0x36f540,_0xbe35ab){const _0x2773f7=_0xbe35ab['checkChild'](_0x36f540['parent'],'blockQuote'),_0x34efe7=_0xbe35ab[_0x52f6('0x6')]([_0x52f6('0x1c'),_0x52f6('0x1a')],_0x36f540);return _0x2773f7&&_0x34efe7;}(_0x339f44,this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x1')]));_0x4ab248=_0x3bb786(_0x4fc10c,_0x351535[_0x52f6('0x9')]);}else{const _0x353fab=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x2bdee0=>Ft(_0x2bdee0));_0x4ab248=_0x3bb786(_0x353fab,_0x351535[_0x52f6('0x9')]);}_0x351535['model'][_0x52f6('0x7')](()=>{for(const _0x10134a of _0x4ab248)_0x29e68c[_0x52f6('0x4')](_0x10134a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x341797}]});});}),_0x29e68c[_0x52f6('0x11')]['registerDescriptionCallback'](_0xffcc50=>{const {data:_0x1bc4c9}=_0xffcc50;if(_0x1bc4c9&&_0x52f6('0x1a')==_0x1bc4c9['commandName']){const _0x1ccdd7=_0x4e7c9c(_0x51c7a2,_0x52f6('0xb'));return _0x1bc4c9[_0x52f6('0x2')][0x0][_0x52f6('0x14')]?{'type':'format','content':_0x4e7c9c(_0x51c7a2,'*Format:*\x20%0',_0x1ccdd7)}:{'type':_0x52f6('0x5'),'content':_0x4e7c9c(_0x51c7a2,'*Remove\x20format:*\x20%0',_0x1ccdd7)};}});}}function Ft(_0x29b85c){return'blockQuote'==_0x29b85c[_0x52f6('0xa')][_0x52f6('0x18')];}
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')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad9=['get','ckbox','commands','enableCommand','editor'];(function(_0x363b8d,_0x4ad99f){const _0x5048d3=function(_0x4f9a9f){while(--_0x4f9a9f){_0x363b8d['push'](_0x363b8d['shift']());}};_0x5048d3(++_0x4ad99f);}(_0x4ad9,0x148));const _0x5048=function(_0x363b8d,_0x4ad99f){_0x363b8d=_0x363b8d-0x0;let _0x5048d3=_0x4ad9[_0x363b8d];return _0x5048d3;};import{Plugin as _0x1e1d88}from'ckeditor5/src/core';export default class P extends _0x1e1d88{['afterInit'](){const _0x2b0cba=this[_0x5048('0x1')];_0x2b0cba[_0x5048('0x4')]['get']('ckbox')&&_0x2b0cba['plugins'][_0x5048('0x2')]('TrackChangesEditing')[_0x5048('0x0')](_0x5048('0x3'));}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b57=['_descriptionFactory','value','filter','registerDescriptionCallback','has','commands','plugins','editor','registerElementLabel','blockName','TrackChangesEditing','formatBlock','indentCodeBlock','label','locale','enableCommand','schema','find','ELEMENT_CODE_BLOCK','model','format','commandName','*Format:*\x20%0','name','codeBlock','language','afterInit','rootElement','from','commandParams','getSelectedBlocks','CodeBlock','markBlockFormat','forceValue','document','change','get'];(function(_0x1599c4,_0x2b57de){const _0x252c99=function(_0x3e2dff){while(--_0x3e2dff){_0x1599c4['push'](_0x1599c4['shift']());}};_0x252c99(++_0x2b57de);}(_0x2b57,0xbe));const _0x252c=function(_0x1599c4,_0x2b57de){_0x1599c4=_0x1599c4-0x0;let _0x252c99=_0x2b57[_0x1599c4];return _0x252c99;};import{Plugin as _0x9f042b}from'ckeditor5/src/core';import{getTranslation as _0x2bb8be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x386e67}from'../utils/utils';export default class G extends _0x9f042b{[_0x252c('0x15')](){const _0x2b036d=this[_0x252c('0x2')];if(!_0x2b036d[_0x252c('0x1')][_0x252c('0x24')](_0x252c('0x1a')))return;const _0x449703=_0x2b036d[_0x252c('0x1')][_0x252c('0x1f')](_0x252c('0x5')),_0x35c3ea=_0x2b036d[_0x252c('0x9')],_0x247999=_0x2b036d['config'][_0x252c('0x1f')](_0x252c('0x13'))['languages'],_0x48b2f8=_0x2b036d[_0x252c('0x0')][_0x252c('0x1f')](_0x252c('0x13'));_0x449703['enableCommand'](_0x252c('0x7')),_0x449703[_0x252c('0xa')]('outdentCodeBlock'),_0x449703[_0x252c('0xa')](_0x252c('0x13'),(_0x11daed,_0x75eb24={})=>{const _0x1cd87b=_0x2b036d['model'],_0x4b526e=_0x2b036d[_0x252c('0xe')][_0x252c('0x1d')]['selection'],_0x2a3d32=_0x75eb24&&void 0x0!==_0x75eb24[_0x252c('0x1c')]?_0x75eb24[_0x252c('0x1c')]:!_0x48b2f8[_0x252c('0x21')];let _0x43e063;_0x75eb24[_0x252c('0x14')]||(_0x75eb24['language']=_0x247999[0x0]['language']),_0x43e063=_0x2a3d32?Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())['filter'](_0x4efb3b=>oo(_0x4efb3b)||function(_0x34a745,_0x5afbb7){if(_0x34a745['is'](_0x252c('0x16'))||_0x5afbb7['isLimit'](_0x34a745))return!0x1;return _0x5afbb7['checkChild'](_0x34a745['parent'],_0x252c('0x13'));}(_0x4efb3b,_0x1cd87b[_0x252c('0xb')])):Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())[_0x252c('0x22')](_0x475a56=>oo(_0x475a56));const _0x4a04b0=_0x386e67(_0x43e063,_0x1cd87b);_0x1cd87b[_0x252c('0x1e')](()=>{for(const _0x29ec39 of _0x4a04b0)_0x449703[_0x252c('0x1b')](_0x29ec39,{'commandName':_0x252c('0x13'),'commandParams':[{..._0x75eb24,'forceValue':_0x2a3d32}],'formatGroupId':_0x252c('0x4')});});}),(_0x449703['_descriptionFactory'][_0x252c('0x3')](_0x252c('0x13'),_0x5bf278=>_0x2bb8be(_0x35c3ea,_0x252c('0xd'),_0x5bf278)),_0x449703[_0x252c('0x20')][_0x252c('0x23')](_0x5c7d40=>{const {type:_0x9f26e6,data:_0x2cd1e5}=_0x5c7d40;if(_0x252c('0x6')==_0x9f26e6&&_0x2cd1e5&&_0x252c('0x13')==_0x2cd1e5[_0x252c('0x10')]){const _0x38ce4c=_0x2cd1e5[_0x252c('0x18')][0x0][_0x252c('0x14')],_0x954e48=_0x247999[_0x252c('0xc')](_0xb22cb4=>_0xb22cb4[_0x252c('0x14')]===_0x38ce4c)[_0x252c('0x8')],_0x12bd1e=_0x35c3ea['_t'](_0x954e48);return _0x2cd1e5['commandParams'][0x0][_0x252c('0x1c')]?{'type':_0x252c('0xf'),'content':_0x2bb8be(_0x35c3ea,_0x252c('0x11'),_0x2bb8be(_0x35c3ea,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x12bd1e+')')}:{'type':'format','content':_0x2bb8be(_0x35c3ea,'*Remove\x20format:*\x20%0',_0x2bb8be(_0x35c3ea,_0x252c('0xd'),0x1))};}}));}}function oo(_0x5bce52){return'codeBlock'==_0x5bce52[_0x252c('0x12')];}
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'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x556c=['afterInit','editor','has','TrackChangesEditing','plugins'];(function(_0x197163,_0x556c3b){const _0x301058=function(_0x601e7f){while(--_0x601e7f){_0x197163['push'](_0x197163['shift']());}};_0x301058(++_0x556c3b);}(_0x556c,0xce));const _0x3010=function(_0x197163,_0x556c3b){_0x197163=_0x197163-0x0;let _0x301058=_0x556c[_0x197163];return _0x301058;};import{Plugin as _0x1f83a7}from'ckeditor5/src/core';export default class F extends _0x1f83a7{[_0x3010('0x4')](){const _0xc8d6db=this[_0x3010('0x0')];if(!_0xc8d6db['plugins'][_0x3010('0x1')]('CommentsEditing'))return;_0xc8d6db[_0x3010('0x3')]['get'](_0x3010('0x2'))['enableCommand']('addCommentThread');}}
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'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4daf=['delete','document','enableCommand','buffer','detach','setSelection','mapper','markerNameToElements','isCollapsed','deleteForward','enqueueChange','model','options','fromRange','commands','modifySelection','unlock','high','removeMarker:suggestion:deletion','end','remove','requires','createRange','showSuggestionHighlights','downcastDispatcher','unit','editing','start','rootName','addMarker:suggestion:deletion','plugins','data','createSelection','TrackChangesEditing','lock','get','writer','markerName','forward'];(function(_0x1f6f6c,_0x4dafc6){const _0x12554c=function(_0x25fd8f){while(--_0x25fd8f){_0x1f6f6c['push'](_0x1f6f6c['shift']());}};_0x12554c(++_0x4dafc6);}(_0x4daf,0xe8));const _0x1255=function(_0x1f6f6c,_0x4dafc6){_0x1f6f6c=_0x1f6f6c-0x0;let _0x12554c=_0x4daf[_0x1f6f6c];return _0x12554c;};import{Plugin as _0x445ee6}from'ckeditor5/src/core';import{Delete as _0x475ea2}from'ckeditor5/src/typing';import{LiveRange as _0x722a8}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x11f1c2}from'./utils';export default class L extends _0x445ee6{static get[_0x1255('0x17')](){return[_0x475ea2];}['init'](){const _0x6495c1=this['editor'],_0x6638e9=_0x6495c1[_0x1255('0x20')][_0x1255('0x25')](_0x1255('0x23'));_0x6638e9[_0x1255('0x4')](_0x1255('0x2'));const _0x1bbf96=_0x6495c1[_0x1255('0x10')][_0x1255('0x25')](_0x1255('0xb'));_0x6638e9[_0x1255('0x4')](_0x1255('0xb'),(_0x49e04f,_0x2dfa6b={})=>{const _0x293073=_0x6495c1['model'][_0x1255('0x22')](_0x6495c1[_0x1255('0xd')][_0x1255('0x3')]['selection']);_0x293073[_0x1255('0xa')]&&_0x6495c1['model'][_0x1255('0x11')](_0x293073,{'direction':_0x1255('0x1'),'unit':_0x2dfa6b[_0x1255('0x1b')]});const _0x317c70=_0x293073['getFirstRange'](),_0xdb741=_0x722a8[_0x1255('0xf')](_0x317c70);let _0x41dc1c;_0x49e04f(_0x2dfa6b),_0x41dc1c='$graveyard'==_0xdb741['root'][_0x1255('0x1e')]?_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0x317c70[_0x1255('0x1d')]):_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0xdb741['start'],_0xdb741[_0x1255('0x15')]),_0xdb741[_0x1255('0x6')](),_0x6495c1[_0x1255('0xd')][_0x1255('0xc')](_0x1bbf96[_0x1255('0x5')]['batch'],_0x52b3f4=>{_0x1bbf96[_0x1255('0x5')][_0x1255('0x24')](),_0x52b3f4[_0x1255('0x7')](_0x52b3f4[_0x1255('0x18')](_0x41dc1c['end'])),_0x1bbf96['buffer'][_0x1255('0x12')]();});}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),_0x11f1c2(_0x6495c1,'merge'),{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x21')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),(_0x52a082,_0x471dde,_0x19d522)=>{_0x19d522[_0x1255('0xe')][_0x1255('0x19')]&&_0x11f1c2(_0x6495c1,'merge',{'showActiveMarker':!0x1})(_0x52a082,_0x471dde,_0x19d522);},{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x14'),(_0x5369b9,_0x39389b,_0x2dd148)=>{const _0x177380=_0x2dd148[_0x1255('0x8')][_0x1255('0x9')](_0x39389b[_0x1255('0x0')]);if(_0x177380)for(const _0x580d23 of _0x177380)_0x580d23['is']('uiElement')&&(_0x2dd148[_0x1255('0x8')]['unbindElementFromMarkerName'](_0x580d23,_0x39389b[_0x1255('0x0')]),_0x2dd148[_0x1255('0x26')][_0x1255('0x16')](_0x580d23));},{'priority':_0x1255('0x13')});}}
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')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a2=['*Format:*\x20remove\x20from\x20%0','registerElementLabel','afterInit','commandName','bulletedList','outdentList','commandParams','listIndent','markBlockFormat','ELEMENT_LIST_ITEM','*Indent:*\x20%0','has','model','indentList','slice','get','format','hasAttribute','previousSibling','forceValue','document','getAttribute','schema','registerDescriptionCallback','getSelectedBlocks','numberedList','splitListItemBefore','*Outdent:*\x20%0','selection','listType','listItemId','DocumentListEditing','filter','push','ELEMENT_NUMBERED_LIST','editor','length','end','_descriptionFactory','add','before','ELEMENT_BULLETED_LIST','*Format:*\x20insert\x20into\x20%0','findIndex','locale','TrackChangesEditing','value','createPositionAt','nextSibling','commands','plugins','from','enableCommand','change'];(function(_0x4ccde3,_0x36a25f){const _0x24f441=function(_0x548049){while(--_0x548049){_0x4ccde3['push'](_0x4ccde3['shift']());}};_0x24f441(++_0x36a25f);}(_0x36a2,0x1a6));const _0x24f4=function(_0x4ccde3,_0x36a25f){_0x4ccde3=_0x4ccde3-0x0;let _0x24f441=_0x36a2[_0x4ccde3];return _0x24f441;};import{Plugin as _0x268d48}from'ckeditor5/src/core';import{getTranslation as _0x267f99}from'../utils/common-translations';export default class q extends _0x268d48{[_0x24f4('0xc')](){const _0x568ffa=this[_0x24f4('0x2d')];if(!_0x568ffa[_0x24f4('0x6')][_0x24f4('0x15')](_0x24f4('0x29')))return;const _0x136945=_0x568ffa[_0x24f4('0x0')],_0x349019=_0x568ffa[_0x24f4('0x6')][_0x24f4('0x19')](_0x24f4('0x1'));function _0x579bd4(_0x3fe125){return()=>{const _0x309576=_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')]['selection'],_0x3d5e78=_0x568ffa[_0x24f4('0x5')][_0x24f4('0x19')](_0x3fe125);if(_0x3d5e78['value']){const _0x1b3d94=_0x309576[_0x24f4('0x22')]();return void _0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5909c4 of _0x1b3d94)_0x349019['markBlockFormat'](_0x5909c4,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78['value']}],'formatGroupId':_0x24f4('0x27')});});}const _0x5ce9fe=_0x3fe125[_0x24f4('0x18')](0x0,-0x4),_0x381a2d=function(_0x4a51fb,_0x438025,_0x555584){let _0x5a0666=Array['from'](_0x4a51fb)['filter'](_0x56c3ed=>function(_0x252fc3,_0x4e4a53){return _0x4e4a53['checkAttribute'](_0x252fc3,_0x24f4('0x28'));}(_0x56c3ed,_0x555584));_0x5a0666=_0x5a0666[_0x24f4('0x2a')](_0x5bdb29=>!_0x5bdb29[_0x24f4('0x1b')](_0x24f4('0x28'))||_0x5bdb29[_0x24f4('0x1f')](_0x24f4('0x27'))!==_0x438025);const _0x3501a8=new Set();for(const _0x51b2a7 of _0x5a0666)_0x51b2a7[_0x24f4('0x1b')](_0x24f4('0x28'))?_0x3501a8[_0x24f4('0x31')](Pt(_0x51b2a7)):_0x3501a8[_0x24f4('0x31')](_0x51b2a7);return Array['from'](_0x3501a8);}(_0x309576[_0x24f4('0x22')](),_0x5ce9fe,_0x568ffa[_0x24f4('0x16')][_0x24f4('0x20')]);_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5c8ab3 of _0x381a2d)_0x349019['markBlockFormat'](_0x5c8ab3,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78[_0x24f4('0x2')]}],'formatGroupId':_0x24f4('0x27')},Gt(_0x5c8ab3));});};}function _0x47e990(_0x114d6b){return()=>{const _0x4c11f2=function(_0x48a50f){const _0x11b5f7=(_0x48a50f=Array['from'](_0x48a50f))[_0x24f4('0x35')](_0x3943d6=>!_0x3943d6[_0x24f4('0x1b')](_0x24f4('0x28')));return _0x11b5f7>-0x1&&(_0x48a50f=_0x48a50f[_0x24f4('0x18')](0x0,_0x11b5f7)),_0x48a50f;}(_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')][_0x24f4('0x26')][_0x24f4('0x22')]()),_0x167364=_0x568ffa[_0x24f4('0x16')]['createRange'](_0x568ffa[_0x24f4('0x16')]['createPositionAt'](_0x4c11f2[0x0],_0x24f4('0x32')),_0x568ffa[_0x24f4('0x16')][_0x24f4('0x3')](_0x4c11f2[_0x4c11f2[_0x24f4('0x2e')]-0x1],_0x24f4('0x2f')));_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{_0x349019[_0x24f4('0x12')](_0x167364,{'commandName':_0x114d6b,'commandParams':[],'formatGroupId':'listIndent'},function(_0x177aaa){const _0x22aa91=new Set();for(const _0x4501e2 of _0x177aaa){let _0x4f43c9=_0x4501e2['nextSibling'];for(;_0x4f43c9&&_0x4f43c9[_0x24f4('0x1f')](_0x24f4('0x11'))>_0x4501e2['getAttribute'](_0x24f4('0x11'));)_0x22aa91[_0x24f4('0x31')](_0x4f43c9),_0x4f43c9=_0x4f43c9[_0x24f4('0x4')];}return Array[_0x24f4('0x7')](_0x22aa91);}(_0x4c11f2));});};}_0x349019[_0x24f4('0x8')]('numberedList',_0x579bd4(_0x24f4('0x23'))),_0x349019[_0x24f4('0x8')](_0x24f4('0xe'),_0x579bd4(_0x24f4('0xe'))),_0x349019[_0x24f4('0x8')]('indentList',_0x47e990(_0x24f4('0x17'))),_0x349019['enableCommand'](_0x24f4('0xf'),_0x47e990(_0x24f4('0xf'))),_0x349019['enableCommand']('splitListItemAfter'),_0x349019[_0x24f4('0x8')](_0x24f4('0x24')),_0x349019[_0x24f4('0x30')][_0x24f4('0xb')](_0x2df12d=>!_0x568ffa['model']['schema']['isObject'](_0x2df12d)&&_0x2df12d['hasAttribute']('listItemId'),_0x43a65d=>_0x267f99(_0x136945,_0x24f4('0x13'),_0x43a65d)),_0x349019['_descriptionFactory'][_0x24f4('0x21')](_0xb88bc=>{const {data:_0x415ef6}=_0xb88bc;if(!_0x415ef6)return;let _0x4fa5b7,_0x504614,_0x53e65a;switch(_0x415ef6[_0x24f4('0xd')]){case _0x24f4('0xe'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x33')))};break;case _0x24f4('0x23'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x2c')))};break;case _0x24f4('0x17'):_0x4fa5b7=_0x24f4('0x14'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};break;case'outdentList':_0x4fa5b7=_0x24f4('0x25'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};}return _0x504614;});}}function Gt(_0x2f696d){const _0x2625c8=[];if(_0x2f696d[_0x24f4('0x1b')](_0x24f4('0x28'))&&_0x2f696d[_0x24f4('0x1f')]('listIndent')>0x0){let _0x2ab62b=_0x2f696d['nextSibling'];for(;_0x2ab62b&&_0x2ab62b[_0x24f4('0x1b')]('listItemId')&&_0x2ab62b[_0x24f4('0x1f')]('listIndent')===_0x2f696d['getAttribute'](_0x24f4('0x11'));)_0x2625c8[_0x24f4('0x2b')](_0x2ab62b),_0x2ab62b=_0x2ab62b[_0x24f4('0x4')];}return _0x2625c8;}function Pt(_0x463195){const _0x1671a5=_0x463195[_0x24f4('0x1f')]('listIndent');if(0x0==_0x1671a5)return _0x463195;let _0x9f0c09=_0x463195;for(;_0x463195['previousSibling']&&_0x463195[_0x24f4('0x1b')](_0x24f4('0x28'));){const _0x3b0271=_0x463195[_0x24f4('0x1c')][_0x24f4('0x1f')](_0x24f4('0x11'));if(_0x3b0271==_0x1671a5)_0x9f0c09=_0x463195[_0x24f4('0x1c')];else{if(_0x3b0271<_0x1671a5)break;}_0x463195=_0x463195[_0x24f4('0x1c')];}return _0x9f0c09;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3449=['requires','markerName','markInsertion','setSelection','mapper','document','TrackChangesEditing','nextSibling','editor','isLimit','plugins','addMarker:suggestion:insertion','enableCommand','high','end','isAtEnd','getFirstPosition','ck-suggestion-marker-split','hasClass','split','options','isCollapsed','downcastDispatcher','selection','unbindElementFromMarkerName','parent','init','start','detach','model','data','change','isAtStart','editing','writer','getFirstRange','schema'];(function(_0x19f8cc,_0x344925){const _0x496c33=function(_0x2c7a07){while(--_0x2c7a07){_0x19f8cc['push'](_0x19f8cc['shift']());}};_0x496c33(++_0x344925);}(_0x3449,0xd1));const _0x496c=function(_0x19f8cc,_0x344925){_0x19f8cc=_0x19f8cc-0x0;let _0x496c33=_0x3449[_0x19f8cc];return _0x496c33;};import{Plugin as _0x3fed90}from'ckeditor5/src/core';import{Enter as _0x434590}from'ckeditor5/src/enter';import{LiveRange as _0x2200b2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2f96d9}from'./utils';export default class H extends _0x3fed90{static get[_0x496c('0xd')](){return[_0x434590];}[_0x496c('0x2')](){const _0x2b0a03=this[_0x496c('0x15')],_0x5094eb=_0x2b0a03[_0x496c('0x17')]['get'](_0x496c('0x13'));_0x5094eb[_0x496c('0x19')]('enter',_0x29804b=>{_0x2b0a03['model'][_0x496c('0x7')](_0xafd79d=>{const _0x10467c=_0x2b0a03[_0x496c('0x5')][_0x496c('0x12')][_0x496c('0x24')],_0x13c406=_0x10467c[_0x496c('0x1d')](),_0x23769b=_0x10467c[_0x496c('0x22')],_0x2a2201=_0x2200b2['fromRange'](_0x10467c[_0x496c('0xb')]()),_0x5cd32c=_0x2a2201[_0x496c('0x3')][_0x496c('0x1')],_0x5a67a2=_0x2a2201[_0x496c('0x1b')][_0x496c('0x1')],_0x2eea92=!(_0x2a2201[_0x496c('0x3')][_0x496c('0x8')]&&_0x2a2201[_0x496c('0x1b')][_0x496c('0x1c')]),_0x18d1e2=_0x5cd32c==_0x5a67a2,_0x182419=!(_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5cd32c)||_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5a67a2))&&(_0x23769b||_0x2eea92&&_0x18d1e2);if(_0x29804b(),_0x182419){const _0x4b9c5d=_0x2b0a03[_0x496c('0x5')]['createPositionAt'](_0x13c406['parent'][_0x496c('0x14')],0x0),_0x1e54b2=_0xafd79d['createRange'](_0x13c406,_0x4b9c5d);_0x5094eb[_0x496c('0xf')](_0x1e54b2);}else _0xafd79d[_0x496c('0x10')](_0xafd79d['createRange'](_0x2a2201['end']));_0x2a2201[_0x496c('0x4')]();});}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on'](_0x496c('0x18'),_0x2f96d9(_0x2b0a03,_0x496c('0x20')),{'priority':'high'}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on']('removeMarker:suggestion:insertion',(_0x3b34c4,_0x4c2003,_0x553ad3)=>{const _0x5c2126=_0x553ad3['mapper']['markerNameToElements'](_0x4c2003[_0x496c('0xe')]);if(_0x5c2126)for(const _0x137d00 of _0x5c2126)_0x137d00[_0x496c('0x1f')](_0x496c('0x1e'))&&(_0x553ad3[_0x496c('0x11')][_0x496c('0x0')](_0x137d00,_0x4c2003[_0x496c('0xe')]),_0x553ad3[_0x496c('0xa')]['remove'](_0x137d00));},{'priority':_0x496c('0x1a')}),_0x2b0a03[_0x496c('0x6')][_0x496c('0x23')]['on'](_0x496c('0x18'),(_0x48f810,_0x1429c8,_0x5b4ea2)=>{_0x5b4ea2[_0x496c('0x21')]['showSuggestionHighlights']&&_0x2f96d9(_0x2b0a03,_0x496c('0x20'),{'showActiveMarker':!0x1})(_0x48f810,_0x1429c8,_0x5b4ea2);},{'priority':_0x496c('0x1a')});}}
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')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5853=['fontBackgroundColor','locale','normalizeSizeOptions','commandParams','title','TrackChangesEditing','label','format','fontSize.options','FontFamilyEditing','get','getRanges','*Set\x20font\x20size:*\x20%0','document','isCollapsed','find','commandName','fontSize','*Set\x20font\x20color:*\x20%0','toLowerCase','editor','from','change','trim','*Reset\x20font\x20size*','plugins','has','_enableCommand','markInlineFormat','fontColor','model','fontFamily','*Reset\x20font\x20color*','value','config','FontSizeEditing','FontBackgroundColorEditing','FontSize','afterInit'];(function(_0x310228,_0x585311){const _0xdd122e=function(_0x2bb7db){while(--_0x2bb7db){_0x310228['push'](_0x310228['shift']());}};_0xdd122e(++_0x585311);}(_0x5853,0x132));const _0xdd12=function(_0x310228,_0x585311){_0x310228=_0x310228-0x0;let _0xdd122e=_0x5853[_0x310228];return _0xdd122e;};import{Plugin as _0x54f879}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1c1157}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4d264f}from'./utils';import{getTranslation as _0xeb842}from'../utils/common-translations';const Jt=[{'pluginName':_0xdd12('0x2'),'commandName':_0xdd12('0x17')},{'pluginName':_0xdd12('0xf'),'commandName':_0xdd12('0x25')},{'pluginName':'FontColorEditing','commandName':_0xdd12('0x23')},{'pluginName':_0xdd12('0x3'),'commandName':_0xdd12('0x6')}];export default class W extends _0x54f879{[_0xdd12('0x5')](){const _0x3a9199=this[_0xdd12('0x1a')][_0xdd12('0x7')];for(const {pluginName:_0x1a1d51,commandName:_0x576828}of Jt)this[_0xdd12('0x1a')][_0xdd12('0x1f')][_0xdd12('0x20')](_0x1a1d51)&&this[_0xdd12('0x21')](_0x576828);this[_0xdd12('0x1a')]['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))['_descriptionFactory']['registerDescriptionCallback'](_0x55587a=>{const {data:_0x418c90}=_0x55587a;if(null!=_0x418c90){if(_0xdd12('0x17')==_0x418c90[_0xdd12('0x16')]){const _0x2f7e89=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];if(_0x2f7e89){const _0x27d958=this[_0xdd12('0x1a')][_0xdd12('0x1f')]['get'](_0xdd12('0x4'))[_0xdd12('0x8')](this[_0xdd12('0x1a')][_0xdd12('0x1')][_0xdd12('0x10')](_0xdd12('0xe')))['find'](_0x141a34=>_0x141a34[_0xdd12('0x24')]==_0x2f7e89)[_0xdd12('0xa')],_0x4b66f0=this['editor']['locale']['_t'](_0x27d958)[_0xdd12('0x19')]();return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x12'),_0x4b66f0)};}return{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x1e'))};}if('fontFamily'==_0x418c90[_0xdd12('0x16')]){const _0x2a55b5=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];return _0x2a55b5?{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Set\x20font\x20family:*\x20%0',_0x2a55b5)}:{'type':'format','content':_0xeb842(_0x3a9199,'*Reset\x20font\x20family*')};}if('fontColor'==_0x418c90[_0xdd12('0x16')]){const _0x596615=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x596615){const _0x136084=_0x1c1157(this['editor'][_0xdd12('0x1')][_0xdd12('0x10')]('fontColor.colors'))[_0xdd12('0x15')](_0x1b6b66=>_0x1b6b66[_0xdd12('0x24')]==_0x596615);let _0xb5fb=_0x596615,_0x437897='';return _0x136084&&(_0xb5fb=_0x136084[_0xdd12('0xc')],_0x437897=_0x3a9199['_t'](_0xb5fb)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x18'),_0x437897)[_0xdd12('0x1d')](),'color':{'value':_0x596615,'title':_0x437897||_0xb5fb}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x26'))};}if(_0xdd12('0x6')==_0x418c90['commandName']){const _0x25182f=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x25182f){const _0x28deb3=_0x1c1157(this[_0xdd12('0x1a')]['config']['get']('fontBackgroundColor.colors'))['find'](_0x931d49=>_0x931d49[_0xdd12('0x24')]==_0x25182f);let _0x5b1ef0=_0x25182f,_0x24fe33='';return _0x28deb3&&(_0x5b1ef0=_0x28deb3[_0xdd12('0xc')],_0x24fe33=_0x3a9199['_t'](_0x5b1ef0)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,'*Set\x20font\x20background\x20color:*\x20%0',_0x24fe33)['trim'](),'color':{'value':_0x25182f,'title':_0x24fe33||_0x5b1ef0}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Reset\x20font\x20background\x20color*')};}}});}[_0xdd12('0x21')](_0x39a216){const _0x6f5698=this['editor'];_0x6f5698[_0xdd12('0x1f')][_0xdd12('0x10')](_0xdd12('0xb'))['enableCommand'](_0x39a216,(_0x1b2b7e,_0xf2ab20={})=>{const _0x337c2b=_0x6f5698[_0xdd12('0x24')][_0xdd12('0x13')]['selection'],_0x1ed9cd=_0xf2ab20[_0xdd12('0x0')];_0x337c2b[_0xdd12('0x14')]?_0x1b2b7e(_0xf2ab20):_0x6f5698[_0xdd12('0x24')][_0xdd12('0x1c')](()=>{const _0x2a435e=Array[_0xdd12('0x1b')](_0x337c2b[_0xdd12('0x11')]());for(const _0x3b0a30 of _0x2a435e){const _0x1d9d2a=_0x1ed9cd?[_0x3b0a30]:_0x4d264f(_0x39a216,_0x3b0a30,_0x6f5698[_0xdd12('0x24')]);for(const _0x43b703 of _0x1d9d2a)_0x6f5698['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))[_0xdd12('0x22')](_0x43b703,{'commandName':_0x39a216,'commandParams':[{'value':_0x1ed9cd}]});}});});}}
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}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b91=['from','enableCommand','heading.options','find','markBlockFormat','isObject','ELEMENT_HEADING','document','get','selection','match','has','title','checkChild','getSelectedBlocks','paragraph','name','formatBlock','registerDescriptionCallback','locale','commandParams','commandName','_descriptionFactory','heading','editor','schema','value','filter','change','config','plugins','model','blockName','*Change\x20to:*\x20%0'];(function(_0x8ce50e,_0x1b913b){const _0x50d2f9=function(_0x1abeac){while(--_0x1abeac){_0x8ce50e['push'](_0x8ce50e['shift']());}};_0x50d2f9(++_0x1b913b);}(_0x1b91,0x88));const _0x50d2=function(_0x8ce50e,_0x1b913b){_0x8ce50e=_0x8ce50e-0x0;let _0x50d2f9=_0x1b91[_0x8ce50e];return _0x50d2f9;};import{Plugin as _0x4744b9}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x157bb3}from'./utils';import{getTranslation as _0x3369eb}from'../utils/common-translations';export default class z extends _0x4744b9{['afterInit'](){const _0x5a51fc=this['editor'],_0x356bb5=_0x5a51fc[_0x50d2('0x13')],_0x43bad0=_0x5a51fc[_0x50d2('0x1d')][_0x50d2('0x8')](_0x50d2('0x2'));if(!_0x5a51fc[_0x50d2('0x1e')][_0x50d2('0xb')]('HeadingEditing'))return;const _0x1f2c53=_0x5a51fc['plugins'][_0x50d2('0x8')]('TrackChangesEditing');_0x1f2c53[_0x50d2('0x1')](_0x50d2('0x17'),(_0x249d5a,_0x234e7b)=>{const _0x5b5a69=_0x234e7b['value'],_0x2f4315=Array[_0x50d2('0x0')](this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x7')][_0x50d2('0x9')][_0x50d2('0xe')]())[_0x50d2('0x1b')](_0x1ca798=>function(_0x1ac385,_0x170861,_0x11390d){return _0x11390d[_0x50d2('0xd')](_0x1ac385['parent'],_0x170861)&&!_0x11390d[_0x50d2('0x5')](_0x1ac385)&&_0x1ac385[_0x50d2('0x10')]!=_0x170861;}(_0x1ca798,_0x5b5a69,this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x19')]));_0x5a51fc[_0x50d2('0x1f')][_0x50d2('0x1c')](()=>{for(const _0x566860 of _0x2f4315)_0x1f2c53[_0x50d2('0x4')](_0x566860,{'commandName':_0x50d2('0x17'),'commandParams':[_0x234e7b],'formatGroupId':_0x50d2('0x20')},_0x157bb3(_0x566860));});});for(const _0x3e08bb of _0x43bad0)_0x50d2('0xf')!=_0x3e08bb['model']&&_0x1f2c53[_0x50d2('0x16')]['registerElementLabel'](_0x3e08bb[_0x50d2('0x1f')],_0xab0ae4=>{const _0x17a0d7=Kt(_0x3e08bb['model']);return null!==_0x17a0d7?_0x26b305(_0xab0ae4,_0x17a0d7):_0xb1e504(_0xab0ae4,_0x3e08bb[_0x50d2('0xc')]);});function _0x26b305(_0x6a02e9,_0x47c13f){return _0x3369eb(_0x356bb5,_0x50d2('0x6'),[_0x6a02e9,_0x47c13f]);}function _0xb1e504(_0x55d158,_0x4f1a3b){return _0x3369eb(_0x356bb5,'ELEMENT_HEADING_CUSTOM',[_0x55d158,_0x4f1a3b]);}_0x1f2c53[_0x50d2('0x16')][_0x50d2('0x12')](_0x505466=>{const {type:_0x15d2c9,data:_0xf3caf6}=_0x505466;if(_0x50d2('0x11')==_0x15d2c9&&_0xf3caf6&&'heading'==_0xf3caf6[_0x50d2('0x15')]){const _0x23989d=_0xf3caf6[_0x50d2('0x14')][0x0][_0x50d2('0x1a')],_0x1b3bc3=Kt(_0x23989d);if(null!==_0x1b3bc3)return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0x26b305(0x1,_0x1b3bc3))};const _0x4aa8c4=_0x43bad0[_0x50d2('0x3')](_0x48af61=>_0x48af61[_0x50d2('0x1f')]===_0x23989d)[_0x50d2('0xc')];return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0xb1e504(0x1,_0x4aa8c4))};}});}}function Kt(_0x4e8443){const _0x5a6796=_0x4e8443[_0x50d2('0xa')](/^heading(\d+)$/);return _0x5a6796?_0x5a6796[0x1]:null;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7006=['toLowerCase','find','change','enableCommand','getAttribute','commandParams','editor','getLastMatchingPosition','plugins','hasAttribute','title','color','isCollapsed','HighlightEditing','_descriptionFactory','registerDescriptionCallback','format','FORMAT_HIGHLIGHT','value','commandName','afterInit','TrackChangesEditing','*Set\x20highlight:*\x20%0','push','formatInline','*Remove\x20highlight*','config','locale','highlight','model','has','getRanges','highlight.options','document','backward','get','getFirstPosition','markInlineFormat','selection'];(function(_0xedcfe0,_0x70064c){const _0x12643e=function(_0x46d8a1){while(--_0x46d8a1){_0xedcfe0['push'](_0xedcfe0['shift']());}};_0x12643e(++_0x70064c);}(_0x7006,0xa2));const _0x1264=function(_0xedcfe0,_0x70064c){_0xedcfe0=_0xedcfe0-0x0;let _0x12643e=_0x7006[_0xedcfe0];return _0x12643e;};import{Plugin as _0x5ecf18}from'ckeditor5/src/core';import{getTranslation as _0x5d45ca}from'../utils/common-translations';import{getRangesWithAttribute as _0x1109fd}from'./utils';export default class J extends _0x5ecf18{[_0x1264('0xe')](){const _0x51c0c6=this[_0x1264('0x0')];if(!_0x51c0c6[_0x1264('0x2')][_0x1264('0x18')](_0x1264('0x7')))return;const _0x28f551=_0x51c0c6[_0x1264('0x2')][_0x1264('0x1d')](_0x1264('0xf'));_0x28f551[_0x1264('0x24')](_0x1264('0x16'),(_0x4e24d9,_0x378768={})=>{const _0x3aa542=_0x51c0c6['model'][_0x1264('0x1b')][_0x1264('0x20')],_0x20deb4=_0x3aa542[_0x1264('0x25')]('highlight');let _0x23f254=_0x378768[_0x1264('0xc')],_0x3f1135=[];if(_0x3aa542[_0x1264('0x6')]){const _0x53a28b=_0x3aa542[_0x1264('0x1e')]();if(!_0x3aa542[_0x1264('0x3')](_0x1264('0x16')))return void _0x4e24d9(_0x378768);{const _0x562814=_0x3601c2=>_0x3601c2['item'][_0x1264('0x25')](_0x1264('0x16'))===_0x20deb4,_0x5512fb=_0x53a28b[_0x1264('0x1')](_0x562814,{'direction':_0x1264('0x1c')}),_0x1cd4b1=_0x53a28b[_0x1264('0x1')](_0x562814);_0x3f1135=[_0x51c0c6[_0x1264('0x17')]['createRange'](_0x5512fb,_0x1cd4b1)],_0x23f254==_0x20deb4&&(_0x23f254=null);}}else for(const _0x4b695b of _0x3aa542[_0x1264('0x19')]())_0x23f254?_0x3f1135[_0x1264('0x11')](_0x4b695b):_0x3f1135[_0x1264('0x11')](..._0x1109fd(_0x1264('0x16'),_0x4b695b,_0x51c0c6['model']));_0x51c0c6[_0x1264('0x17')][_0x1264('0x23')](()=>{for(const _0xb01fe0 of _0x3f1135)_0x28f551[_0x1264('0x1f')](_0xb01fe0,{'commandName':_0x1264('0x16'),'commandParams':[{'value':_0x23f254}]});});});const _0x582371=_0x51c0c6[_0x1264('0x15')];_0x28f551[_0x1264('0x8')][_0x1264('0x9')](_0x1fe4ea=>{const {type:_0x221f56,data:_0xd1c69e}=_0x1fe4ea;if(_0x1264('0x12')==_0x221f56&&_0xd1c69e&&'highlight'==_0xd1c69e[_0x1264('0xd')]){const _0x586652=_0xd1c69e[_0x1264('0x26')][0x0][_0x1264('0xc')];if(_0x586652){const _0x41986d=_0x51c0c6[_0x1264('0x14')][_0x1264('0x1d')](_0x1264('0x1a'))[_0x1264('0x22')](_0xa3cb0f=>_0xa3cb0f['model']==_0x586652),_0x2b966b=_0x582371['_t'](_0x41986d['title'])[_0x1264('0x21')]();return{'type':_0x1264('0xa'),'content':_0x5d45ca(_0x582371,_0x1264('0x10'),_0x2b966b),'color':{'value':_0x41986d[_0x1264('0x5')],'title':_0x41986d[_0x1264('0x4')]}};}return{'type':'format','content':_0x5d45ca(_0x582371,_0x1264('0x13'),_0x5d45ca(_0x582371,_0x1264('0xb')))};}});}}
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')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcf74=['enableCommand','createPositionAt','_descriptionFactory','HorizontalLineEditing','high','addClass','horizontalLine','insert','div','for','createContainerElement','TrackChangesEditing','registerElementLabel','showSuggestionHighlights','ck-horizontal-line','createEmptyElement','editor','plugins','get','ELEMENT_HORIZONTAL_LINE'];(function(_0x2d21e9,_0xcf7416){const _0x78a56b=function(_0x15c67b){while(--_0x15c67b){_0x2d21e9['push'](_0x2d21e9['shift']());}};_0x78a56b(++_0xcf7416);}(_0xcf74,0x121));const _0x78a5=function(_0x2d21e9,_0xcf7416){_0x2d21e9=_0x2d21e9-0x0;let _0x78a56b=_0xcf74[_0x2d21e9];return _0x78a56b;};import{Plugin as _0x2133d6}from'ckeditor5/src/core';import{getTranslation as _0x1107e3}from'../utils/common-translations';export default class K extends _0x2133d6{['afterInit'](){const _0x2be8ed=this[_0x78a5('0x7')];if(!_0x2be8ed['plugins']['has'](_0x78a5('0xe')))return;_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2'))[_0x78a5('0xb')](_0x78a5('0x11'));const _0x41e81e=_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2')),_0x3368fd=_0x2be8ed['locale'];_0x41e81e[_0x78a5('0xd')][_0x78a5('0x3')](_0x78a5('0x11'),_0x5ba4b9=>_0x1107e3(_0x3368fd,_0x78a5('0xa'),_0x5ba4b9)),_0x2be8ed['conversion'][_0x78a5('0x0')]('dataDowncast')['elementToStructure']({'model':_0x78a5('0x11'),'view':(_0x48c68c,{writer:_0x20b545,options:_0x1b2263})=>{if(!_0x1b2263[_0x78a5('0x4')])return;const _0x5d5db4=_0x20b545[_0x78a5('0x1')](_0x78a5('0x13')),_0x3f0f6b=_0x20b545[_0x78a5('0x6')]('hr');return _0x20b545[_0x78a5('0x10')](_0x78a5('0x5'),_0x5d5db4),_0x20b545[_0x78a5('0x12')](_0x20b545[_0x78a5('0xc')](_0x5d5db4,0x0),_0x3f0f6b),_0x5d5db4;},'converterPriority':_0x78a5('0xf')});}}
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')});}}