@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231013.0 → 0.0.0-nightly-20231015.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  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/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.d.ts +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. 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": "0.0.0-nightly-20231013.0",
3
+ "version": "0.0.0-nightly-20231015.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "0.0.0-nightly-20231013.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231013.0",
42
+ "ckeditor5": "0.0.0-nightly-20231015.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231015.0",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
46
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd4f9=['model','isEnabled','_isEnabledBasedOnSelection','refresh','track-changes-accept-suggestion-not-found','_suggestions','canEditAt','get','plugins','getRanges'];(function(_0x19e748,_0xd4f901){const _0x5b1957=function(_0x2a7e70){while(--_0x2a7e70){_0x19e748['push'](_0x19e748['shift']());}};_0x5b1957(++_0xd4f901);}(_0xd4f9,0xd0));const _0x5b19=function(_0x19e748,_0xd4f901){_0x19e748=_0x19e748-0x0;let _0x5b1957=_0xd4f9[_0x19e748];return _0x5b1957;};import{Command as _0x4746ba}from'ckeditor5/src/core';import{CKEditorError as _0x3f6b88}from'ckeditor5/src/utils';export default class M extends _0x4746ba{constructor(_0x3191b8,_0x588c92){super(_0x3191b8),this[_0x5b19('0x7')]=_0x588c92,this['refresh'](),this[_0x5b19('0x4')]=!0x1;}[_0x5b19('0x5')](){this[_0x5b19('0x3')]=!0x0;}['execute'](_0x229282){const _0x26b7ed=this[_0x5b19('0x7')]['get'](_0x229282);if(!_0x26b7ed)throw new _0x3f6b88(_0x5b19('0x6'),this);const _0x3ca419=_0x26b7ed[_0x5b19('0x1')]();this['editor'][_0x5b19('0x2')][_0x5b19('0x8')](_0x3ca419)&&this['editor'][_0x5b19('0x0')][_0x5b19('0x9')]('TrackChangesEditing')['acceptSuggestion'](_0x26b7ed);}}
23
+ const _0x15e4=['_isEnabledBasedOnSelection','_suggestions','plugins','TrackChangesEditing','track-changes-accept-suggestion-not-found','editor','execute','refresh','getRanges','get','acceptSuggestion','canEditAt','isEnabled'];(function(_0x167fc2,_0x15e437){const _0x3980d3=function(_0x2cce42){while(--_0x2cce42){_0x167fc2['push'](_0x167fc2['shift']());}};_0x3980d3(++_0x15e437);}(_0x15e4,0xc2));const _0x3980=function(_0x167fc2,_0x15e437){_0x167fc2=_0x167fc2-0x0;let _0x3980d3=_0x15e4[_0x167fc2];return _0x3980d3;};import{Command as _0x6d08d7}from'ckeditor5/src/core';import{CKEditorError as _0x1504be}from'ckeditor5/src/utils';export default class M extends _0x6d08d7{constructor(_0x2c15e1,_0x4d05f2){super(_0x2c15e1),this[_0x3980('0x2')]=_0x4d05f2,this[_0x3980('0x8')](),this[_0x3980('0x1')]=!0x1;}[_0x3980('0x8')](){this[_0x3980('0x0')]=!0x0;}[_0x3980('0x7')](_0x1643e9){const _0x469a7c=this['_suggestions'][_0x3980('0xa')](_0x1643e9);if(!_0x469a7c)throw new _0x1504be(_0x3980('0x5'),this);const _0x366a6d=_0x469a7c[_0x3980('0x9')]();this[_0x3980('0x6')]['model'][_0x3980('0xc')](_0x366a6d)&&this[_0x3980('0x6')][_0x3980('0x3')][_0x3980('0xa')](_0x3980('0x4'))[_0x3980('0xb')](_0x469a7c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x392a=['track-changes-discard-suggestion-not-found','editor','plugins','TrackChangesEditing','get','discardSuggestion','refresh','isEnabled','canEditAt'];(function(_0x15ff35,_0x392a90){const _0x2d441b=function(_0x28e430){while(--_0x28e430){_0x15ff35['push'](_0x15ff35['shift']());}};_0x2d441b(++_0x392a90);}(_0x392a,0x69));const _0x2d44=function(_0x15ff35,_0x392a90){_0x15ff35=_0x15ff35-0x0;let _0x2d441b=_0x392a[_0x15ff35];return _0x2d441b;};import{Command as _0x39527e}from'ckeditor5/src/core';import{CKEditorError as _0x3a9f81}from'ckeditor5/src/utils';export default class $ extends _0x39527e{constructor(_0x5d4ec3,_0x1ac087){super(_0x5d4ec3),this['_suggestions']=_0x1ac087,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2d44('0x0')](){this[_0x2d44('0x1')]=!0x0;}['execute'](_0x50b389){const _0x5d8b4f=this['_suggestions'][_0x2d44('0x7')](_0x50b389);if(!_0x5d8b4f)throw new _0x3a9f81(_0x2d44('0x3'),this);const _0x2ad604=_0x5d8b4f['getRanges']();this[_0x2d44('0x4')]['model'][_0x2d44('0x2')](_0x2ad604)&&this[_0x2d44('0x4')][_0x2d44('0x5')][_0x2d44('0x7')](_0x2d44('0x6'))[_0x2d44('0x8')](_0x5d8b4f);}}
23
+ const _0x5d1f=['execute','isEnabled','discardSuggestion','_suggestions','getRanges','TrackChangesEditing','refresh','editor','plugins','canEditAt','get','model','_isEnabledBasedOnSelection'];(function(_0x1b649a,_0x5d1f22){const _0x5ac1f0=function(_0x146551){while(--_0x146551){_0x1b649a['push'](_0x1b649a['shift']());}};_0x5ac1f0(++_0x5d1f22);}(_0x5d1f,0xd7));const _0x5ac1=function(_0x1b649a,_0x5d1f22){_0x1b649a=_0x1b649a-0x0;let _0x5ac1f0=_0x5d1f[_0x1b649a];return _0x5ac1f0;};import{Command as _0x17f57b}from'ckeditor5/src/core';import{CKEditorError as _0x467c17}from'ckeditor5/src/utils';export default class $ extends _0x17f57b{constructor(_0x3020d0,_0x3b1322){super(_0x3020d0),this['_suggestions']=_0x3b1322,this['refresh'](),this[_0x5ac1('0x5')]=!0x1;}[_0x5ac1('0xc')](){this[_0x5ac1('0x7')]=!0x0;}[_0x5ac1('0x6')](_0x5e1c86){const _0x4ad1c5=this[_0x5ac1('0x9')][_0x5ac1('0x3')](_0x5e1c86);if(!_0x4ad1c5)throw new _0x467c17('track-changes-discard-suggestion-not-found',this);const _0x2e6cfd=_0x4ad1c5[_0x5ac1('0xa')]();this[_0x5ac1('0x0')][_0x5ac1('0x4')][_0x5ac1('0x2')](_0x2e6cfd)&&this[_0x5ac1('0x0')][_0x5ac1('0x1')][_0x5ac1('0x3')](_0x5ac1('0xb'))[_0x5ac1('0x8')](_0x4ad1c5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa261=['isInContent','values','editor','_suggestions','model','some','canEditAt','isEnabled','_command'];(function(_0x5d1fad,_0xa2613d){const _0x5a3b35=function(_0x3d826b){while(--_0x3d826b){_0x5d1fad['push'](_0x5d1fad['shift']());}};_0x5a3b35(++_0xa2613d);}(_0xa261,0x1eb));const _0x5a3b=function(_0x5d1fad,_0xa2613d){_0x5d1fad=_0x5d1fad-0x0;let _0x5a3b35=_0xa261[_0x5d1fad];return _0x5a3b35;};import{Command as _0x9acb48}from'ckeditor5/src/core';import{sortSuggestions as _0x43d1ca,executeCommandForSuggestions as _0x202042}from'../utils/utils';export default class N extends _0x9acb48{constructor(_0x519b9b,_0x4efb25,_0xdaf90e){super(_0x519b9b),this[_0x5a3b('0x3')]=_0x4efb25,this[_0x5a3b('0x7')]=_0xdaf90e,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x31b878=Array['from'](this['_suggestions']['values']())[_0x5a3b('0x0')](_0x42739b=>_0x42739b[_0x5a3b('0x4')]);this[_0x5a3b('0x2')]=this[_0x5a3b('0x3')][_0x5a3b('0x2')]&&_0x31b878;}['execute'](){const _0x1c08e9=_0x43d1ca(Array['from'](this[_0x5a3b('0x7')][_0x5a3b('0x5')]()));for(const _0x1db432 of _0x1c08e9){const _0x433f2=_0x1db432['getRanges']();if(!this[_0x5a3b('0x6')][_0x5a3b('0x8')][_0x5a3b('0x1')](_0x433f2))return;}_0x202042(this['editor'][_0x5a3b('0x8')],this[_0x5a3b('0x3')],_0x1c08e9);}}
23
+ const _0x4957=['model','isEnabled','values','from','_command','some','_suggestions','editor','_isEnabledBasedOnSelection','execute','canEditAt'];(function(_0x2a97c9,_0x4957cf){const _0xb2372e=function(_0x1085de){while(--_0x1085de){_0x2a97c9['push'](_0x2a97c9['shift']());}};_0xb2372e(++_0x4957cf);}(_0x4957,0x117));const _0xb237=function(_0x2a97c9,_0x4957cf){_0x2a97c9=_0x2a97c9-0x0;let _0xb2372e=_0x4957[_0x2a97c9];return _0xb2372e;};import{Command as _0x20e136}from'ckeditor5/src/core';import{sortSuggestions as _0x2b055a,executeCommandForSuggestions as _0x369c40}from'../utils/utils';export default class N extends _0x20e136{constructor(_0x57294a,_0x4d1e7b,_0x2a5e37){super(_0x57294a),this[_0xb237('0x0')]=_0x4d1e7b,this[_0xb237('0x2')]=_0x2a5e37,this['refresh'](),this[_0xb237('0x4')]=!0x1;}['refresh'](){const _0x20ab37=Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]())[_0xb237('0x1')](_0xd803c=>_0xd803c['isInContent']);this['isEnabled']=this[_0xb237('0x0')][_0xb237('0x8')]&&_0x20ab37;}[_0xb237('0x5')](){const _0x41d917=_0x2b055a(Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]()));for(const _0x735d86 of _0x41d917){const _0x16efd8=_0x735d86['getRanges']();if(!this['editor'][_0xb237('0x7')][_0xb237('0x6')](_0x16efd8))return;}_0x369c40(this[_0xb237('0x3')]['model'],this['_command'],_0x41d917);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x409d=['_selectedSuggestions','editor','size','getRanges','values','model','_suggestions','canEditAt','from','_command','isEnabled','selection','execute','document'];(function(_0x12c53f,_0x409db5){const _0x599114=function(_0x40e0d3){while(--_0x40e0d3){_0x12c53f['push'](_0x12c53f['shift']());}};_0x599114(++_0x409db5);}(_0x409d,0xb2));const _0x5991=function(_0x12c53f,_0x409db5){_0x12c53f=_0x12c53f-0x0;let _0x599114=_0x409d[_0x12c53f];return _0x599114;};import{Command as _0x1a5e1e}from'ckeditor5/src/core';import{sortSuggestions as _0x4d2809,getSelectedSuggestions as _0x5c4ddf,executeCommandForSuggestions as _0x26b76d}from'../utils/utils';export default class R extends _0x1a5e1e{constructor(_0x32282b,_0x19a484,_0x3024c1){super(_0x32282b),this[_0x5991('0xd')]=_0x19a484,this[_0x5991('0xa')]=_0x3024c1,this[_0x5991('0x4')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5b4568=this[_0x5991('0x5')][_0x5991('0x9')][_0x5991('0x3')][_0x5991('0x1')],_0x37548f=Array[_0x5991('0xc')](this['_suggestions'][_0x5991('0x8')]());this[_0x5991('0x4')]=_0x5c4ddf(_0x5b4568,_0x37548f),this[_0x5991('0x0')]=this[_0x5991('0xd')][_0x5991('0x0')]&&!!this[_0x5991('0x4')][_0x5991('0x6')];}[_0x5991('0x2')](){const _0x5d2af6=_0x4d2809(Array[_0x5991('0xc')](this[_0x5991('0x4')]));for(const _0x43eaa9 of _0x5d2af6){const _0x24fd40=_0x43eaa9[_0x5991('0x7')]();if(!this[_0x5991('0x5')][_0x5991('0x9')][_0x5991('0xb')](_0x24fd40))return;}_0x26b76d(this[_0x5991('0x5')]['model'],this['_command'],_0x5d2af6);}}
23
+ const _0x2b8b=['isEnabled','values','editor','execute','_selectedSuggestions','size','document','_isEnabledBasedOnSelection','from','model','refresh','_suggestions','_command'];(function(_0x8313eb,_0x2b8b4b){const _0x3336e6=function(_0x963f41){while(--_0x963f41){_0x8313eb['push'](_0x8313eb['shift']());}};_0x3336e6(++_0x2b8b4b);}(_0x2b8b,0x86));const _0x3336=function(_0x8313eb,_0x2b8b4b){_0x8313eb=_0x8313eb-0x0;let _0x3336e6=_0x2b8b[_0x8313eb];return _0x3336e6;};import{Command as _0x47fda9}from'ckeditor5/src/core';import{sortSuggestions as _0x264889,getSelectedSuggestions as _0x529e8e,executeCommandForSuggestions as _0x4bb07b}from'../utils/utils';export default class R extends _0x47fda9{constructor(_0x1ca056,_0x3a6fcc,_0x555482){super(_0x1ca056),this[_0x3336('0x8')]=_0x3a6fcc,this[_0x3336('0x7')]=_0x555482,this[_0x3336('0x0')]=new Set(),this[_0x3336('0x6')](),this[_0x3336('0x3')]=!0x1;}['refresh'](){const _0x5bf657=this[_0x3336('0xb')][_0x3336('0x5')][_0x3336('0x2')]['selection'],_0xa65b00=Array[_0x3336('0x4')](this[_0x3336('0x7')][_0x3336('0xa')]());this[_0x3336('0x0')]=_0x529e8e(_0x5bf657,_0xa65b00),this[_0x3336('0x9')]=this[_0x3336('0x8')]['isEnabled']&&!!this[_0x3336('0x0')][_0x3336('0x1')];}[_0x3336('0xc')](){const _0x389177=_0x264889(Array[_0x3336('0x4')](this['_selectedSuggestions']));for(const _0x5cac67 of _0x389177){const _0x2678c1=_0x5cac67['getRanges']();if(!this[_0x3336('0xb')][_0x3336('0x5')]['canEditAt'](_0x2678c1))return;}_0x4bb07b(this[_0x3336('0xb')][_0x3336('0x5')],this[_0x3336('0x8')],_0x389177);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15db=['refresh','_disableUnsupportedCommands','clearForceDisabled','_isEnabledBasedOnSelection','TrackChangesCommand','execute','value','commands','isEnabled','affectsData','forceDisabled','has','_enabledCommands','editor'];(function(_0x474dcc,_0x15db65){const _0x321b50=function(_0x2a408e){while(--_0x2a408e){_0x474dcc['push'](_0x474dcc['shift']());}};_0x321b50(++_0x15db65);}(_0x15db,0x18f));const _0x321b=function(_0x474dcc,_0x15db65){_0x474dcc=_0x474dcc-0x0;let _0x321b50=_0x15db[_0x474dcc];return _0x321b50;};import{Command as _0x556ca1}from'ckeditor5/src/core';export default class _ extends _0x556ca1{constructor(_0x57ccde,_0x360858){super(_0x57ccde),this[_0x321b('0x5')]=_0x360858,this['value']=!0x1,this[_0x321b('0x7')](),this[_0x321b('0xa')]=!0x1;}[_0x321b('0x7')](){this[_0x321b('0x1')]=!0x0;}[_0x321b('0xc')](){this[_0x321b('0xd')]=!this[_0x321b('0xd')],this[_0x321b('0xd')]?this[_0x321b('0x8')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x5d053f of this['editor'][_0x321b('0x0')][_0x321b('0x0')]())_0x5d053f[_0x321b('0x2')]&&!this[_0x321b('0x5')][_0x321b('0x4')](_0x5d053f)&&_0x5d053f[_0x321b('0x3')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x1c927a of this[_0x321b('0x6')][_0x321b('0x0')][_0x321b('0x0')]())_0x1c927a['affectsData']&&!this[_0x321b('0x5')]['has'](_0x1c927a)&&_0x1c927a[_0x321b('0x9')](_0x321b('0xb'));}}
23
+ const _0x3f87=['has','editor','_isEnabledBasedOnSelection','forceDisabled','commands','_enableCommands','refresh','_disableUnsupportedCommands','value','isEnabled','TrackChangesCommand','_enabledCommands','affectsData','execute'];(function(_0x29dcb8,_0x3f872e){const _0x5dcb97=function(_0x49a44b){while(--_0x49a44b){_0x29dcb8['push'](_0x29dcb8['shift']());}};_0x5dcb97(++_0x3f872e);}(_0x3f87,0x113));const _0x5dcb=function(_0x29dcb8,_0x3f872e){_0x29dcb8=_0x29dcb8-0x0;let _0x5dcb97=_0x3f87[_0x29dcb8];return _0x5dcb97;};import{Command as _0x296336}from'ckeditor5/src/core';export default class _ extends _0x296336{constructor(_0x5145a5,_0x1401c2){super(_0x5145a5),this[_0x5dcb('0x2')]=_0x1401c2,this['value']=!0x1,this[_0x5dcb('0xb')](),this[_0x5dcb('0x7')]=!0x1;}[_0x5dcb('0xb')](){this[_0x5dcb('0x0')]=!0x0;}[_0x5dcb('0x4')](){this['value']=!this[_0x5dcb('0xd')],this[_0x5dcb('0xd')]?this['_disableUnsupportedCommands']():this[_0x5dcb('0xa')]();}[_0x5dcb('0xc')](){for(const _0x51fc1d of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0x51fc1d[_0x5dcb('0x3')]&&!this['_enabledCommands'][_0x5dcb('0x5')](_0x51fc1d)&&_0x51fc1d[_0x5dcb('0x8')](_0x5dcb('0x1'));}[_0x5dcb('0xa')](){for(const _0xf91931 of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0xf91931[_0x5dcb('0x3')]&&!this[_0x5dcb('0x2')][_0x5dcb('0x5')](_0xf91931)&&_0xf91931['clearForceDisabled'](_0x5dcb('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6586=['afterInit','editor','get','commands','plugins','showAIAssistant','TrackChangesEditing'];(function(_0x7f18c2,_0x65866b){const _0x5820fb=function(_0x19dc93){while(--_0x19dc93){_0x7f18c2['push'](_0x7f18c2['shift']());}};_0x5820fb(++_0x65866b);}(_0x6586,0x85));const _0x5820=function(_0x7f18c2,_0x65866b){_0x7f18c2=_0x7f18c2-0x0;let _0x5820fb=_0x6586[_0x7f18c2];return _0x5820fb;};import{Plugin as _0x3ff084}from'ckeditor5/src/core';export default class j extends _0x3ff084{[_0x5820('0x0')](){const _0x127cf1=this[_0x5820('0x1')],_0x33ebe6=_0x127cf1[_0x5820('0x4')]['get'](_0x5820('0x6'));_0x127cf1[_0x5820('0x3')][_0x5820('0x2')](_0x5820('0x5'))&&_0x33ebe6['enableCommand'](_0x5820('0x5'));}}
23
+ const _0xc177=['plugins','showAIAssistant','enableCommand','commands','editor','TrackChangesEditing','get','afterInit'];(function(_0x34b9ca,_0xc17790){const _0x2c942e=function(_0x48af03){while(--_0x48af03){_0x34b9ca['push'](_0x34b9ca['shift']());}};_0x2c942e(++_0xc17790);}(_0xc177,0x141));const _0x2c94=function(_0x34b9ca,_0xc17790){_0x34b9ca=_0x34b9ca-0x0;let _0x2c942e=_0xc177[_0x34b9ca];return _0x2c942e;};import{Plugin as _0x474384}from'ckeditor5/src/core';export default class j extends _0x474384{[_0x2c94('0x6')](){const _0x153e5b=this[_0x2c94('0x3')],_0x32ea0d=_0x153e5b[_0x2c94('0x7')][_0x2c94('0x5')](_0x2c94('0x4'));_0x153e5b[_0x2c94('0x2')]['get'](_0x2c94('0x0'))&&_0x32ea0d[_0x2c94('0x1')](_0x2c94('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a7a=['TrackChangesEditing','center','commandName','get','AlignmentEditing','markBlockFormat','left','locale','format','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','ltr','filter','from','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','has','model','alignment','_descriptionFactory','FORMAT_ALIGN_TO_RIGHT','editor','FORMAT_JUSTIFY_TEXT','getSelectedBlocks','plugins','checkAttribute','contentLanguageDirection','getAttribute','value','selection','schema','commandParams'];(function(_0x458a5f,_0x3a7a32){const _0x3f2690=function(_0x284bac){while(--_0x284bac){_0x458a5f['push'](_0x458a5f['shift']());}};_0x3f2690(++_0x3a7a32);}(_0x3a7a,0x76));const _0x3f26=function(_0x458a5f,_0x3a7a32){_0x458a5f=_0x458a5f-0x0;let _0x3f2690=_0x3a7a[_0x458a5f];return _0x3f2690;};import{Plugin as _0x58ec70}from'ckeditor5/src/core';import{getTranslation as _0x18388e}from'../utils/common-translations';export default class x extends _0x58ec70{['afterInit'](){const _0x332ddc=this[_0x3f26('0x1f')],_0x428fe9=_0x332ddc[_0x3f26('0x11')];if(!_0x332ddc[_0x3f26('0x2')][_0x3f26('0x1a')](_0x3f26('0xe')))return;const _0x480c5c=_0x332ddc['plugins'][_0x3f26('0xd')](_0x3f26('0xa'));_0x480c5c['enableCommand'](_0x3f26('0x1c'),(_0x322b04,_0x45fb33={})=>{let _0x46dea3=_0x45fb33[_0x3f26('0x6')];_0x45fb33[_0x3f26('0x6')]||(_0x46dea3=_0x3f26('0x15')===_0x332ddc[_0x3f26('0x11')][_0x3f26('0x4')]?_0x3f26('0x10'):'right');const _0x1217e8=Array[_0x3f26('0x17')](this[_0x3f26('0x1f')][_0x3f26('0x1b')]['document'][_0x3f26('0x7')][_0x3f26('0x1')]())[_0x3f26('0x16')](_0x5136ba=>function(_0xf9bcd8,_0x37a595,_0x4c0092){const _0x386e7c=_0xf9bcd8[_0x3f26('0x5')]('alignment')||null;return _0x37a595[_0x3f26('0x3')](_0xf9bcd8,_0x3f26('0x1c'))&&_0x4c0092!=_0x386e7c;}(_0x5136ba,this['editor'][_0x3f26('0x1b')][_0x3f26('0x8')],_0x46dea3));_0x332ddc[_0x3f26('0x1b')]['change'](()=>{for(const _0x43568f of _0x1217e8)_0x480c5c[_0x3f26('0xf')](_0x43568f,{'commandName':_0x3f26('0x1c'),'commandParams':[{'value':_0x46dea3}]});});}),_0x480c5c[_0x3f26('0x1d')][_0x3f26('0x18')](_0x1eb983=>{const {data:_0x3d6f76}=_0x1eb983;if(_0x3d6f76&&'alignment'==_0x3d6f76[_0x3f26('0xc')]){const _0xf81123=_0x3d6f76[_0x3f26('0x9')][0x0][_0x3f26('0x6')];return{'type':_0x3f26('0x12'),'content':_0x18388e(_0x428fe9,_0x3f26('0x13'),function(_0x5a4b99){switch(_0x5a4b99){case'left':return _0x18388e(_0x428fe9,_0x3f26('0x19'));case'right':return _0x18388e(_0x428fe9,_0x3f26('0x1e'));case _0x3f26('0xb'):return _0x18388e(_0x428fe9,_0x3f26('0x14'));case'justify':return _0x18388e(_0x428fe9,_0x3f26('0x0'));}}(_0xf81123))};}});}}
23
+ const _0x58fe=['document','markBlockFormat','contentLanguageDirection','getAttribute','FORMAT_ALIGN_TO_CENTER','TrackChangesEditing','FORMAT_ALIGN_TO_LEFT','commandParams','editor','enableCommand','right','*Format:*\x20%0','filter','get','plugins','model','FORMAT_JUSTIFY_TEXT','center','justify','registerDescriptionCallback','selection','value','FORMAT_ALIGN_TO_RIGHT','has','ltr','left','commandName','checkAttribute','from','AlignmentEditing','alignment','locale','format','afterInit'];(function(_0x2f66c5,_0x58fe2b){const _0x2c911c=function(_0x2bcc65){while(--_0x2bcc65){_0x2f66c5['push'](_0x2f66c5['shift']());}};_0x2c911c(++_0x58fe2b);}(_0x58fe,0x12b));const _0x2c91=function(_0x2f66c5,_0x58fe2b){_0x2f66c5=_0x2f66c5-0x0;let _0x2c911c=_0x58fe[_0x2f66c5];return _0x2c911c;};import{Plugin as _0x2d613b}from'ckeditor5/src/core';import{getTranslation as _0x39622d}from'../utils/common-translations';export default class x extends _0x2d613b{[_0x2c91('0x6')](){const _0x5e6b81=this[_0x2c91('0xf')],_0x560339=_0x5e6b81[_0x2c91('0x4')];if(!_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x1e')](_0x2c91('0x2')))return;const _0x10bc65=_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x14')](_0x2c91('0xc'));_0x10bc65[_0x2c91('0x10')](_0x2c91('0x3'),(_0x5b2d00,_0x115220={})=>{let _0x2830f2=_0x115220[_0x2c91('0x1c')];_0x115220[_0x2c91('0x1c')]||(_0x2830f2=_0x2c91('0x1f')===_0x5e6b81['locale'][_0x2c91('0x9')]?_0x2c91('0x20'):_0x2c91('0x11'));const _0x51935d=Array[_0x2c91('0x1')](this[_0x2c91('0xf')][_0x2c91('0x16')][_0x2c91('0x7')][_0x2c91('0x1b')]['getSelectedBlocks']())[_0x2c91('0x13')](_0x252a37=>function(_0x3c5273,_0x225b7e,_0x5d8541){const _0x3058f0=_0x3c5273[_0x2c91('0xa')](_0x2c91('0x3'))||null;return _0x225b7e[_0x2c91('0x0')](_0x3c5273,_0x2c91('0x3'))&&_0x5d8541!=_0x3058f0;}(_0x252a37,this[_0x2c91('0xf')]['model']['schema'],_0x2830f2));_0x5e6b81[_0x2c91('0x16')]['change'](()=>{for(const _0x358b25 of _0x51935d)_0x10bc65[_0x2c91('0x8')](_0x358b25,{'commandName':_0x2c91('0x3'),'commandParams':[{'value':_0x2830f2}]});});}),_0x10bc65['_descriptionFactory'][_0x2c91('0x1a')](_0x15c1b7=>{const {data:_0x265468}=_0x15c1b7;if(_0x265468&&_0x2c91('0x3')==_0x265468[_0x2c91('0x21')]){const _0x14a555=_0x265468[_0x2c91('0xe')][0x0]['value'];return{'type':_0x2c91('0x5'),'content':_0x39622d(_0x560339,_0x2c91('0x12'),function(_0x4bbea2){switch(_0x4bbea2){case'left':return _0x39622d(_0x560339,_0x2c91('0xd'));case _0x2c91('0x11'):return _0x39622d(_0x560339,_0x2c91('0x1d'));case _0x2c91('0x18'):return _0x39622d(_0x560339,_0x2c91('0xb'));case _0x2c91('0x19'):return _0x39622d(_0x560339,_0x2c91('0x17'));}}(_0x14a555))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f9f=['CodeEditing','document','forceValue','SubscriptEditing','commandName','FORMAT_SUPERSCRIPT','get','change','FORMAT_BOLD','has','isCollapsed','FORMAT_SUBSCRIPT','FORMAT_CODE','superscript','commands','FORMAT_ITALIC','subscript','bold','from','UnderlineEditing','format','italic','*Format:*\x20%0','code','BoldEditing','StrikethroughEditing','editor','locale','registerDescriptionCallback','FORMAT_STRIKETHROUGH','markInlineFormat','value','plugins','SuperscriptEditing','*Remove\x20format:*\x20%0','afterInit','getRanges','underline','toLowerCase','FORMAT_UNDERLINE'];(function(_0x1715aa,_0x1f9fe3){const _0x417237=function(_0x332418){while(--_0x332418){_0x1715aa['push'](_0x1715aa['shift']());}};_0x417237(++_0x1f9fe3);}(_0x1f9f,0xc5));const _0x4172=function(_0x1715aa,_0x1f9fe3){_0x1715aa=_0x1715aa-0x0;let _0x417237=_0x1f9f[_0x1715aa];return _0x417237;};import{Plugin as _0x4c66a3}from'ckeditor5/src/core';import{getTranslation as _0x4f1bc6}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d68e7}from'./utils';const Zt=[_0x4172('0x1b'),'ItalicEditing',_0x4172('0x16'),_0x4172('0x3'),_0x4172('0x1c'),_0x4172('0x6'),_0x4172('0x24')];export default class U extends _0x4c66a3{[_0x4172('0x26')](){const _0x43f3ee=this[_0x4172('0x1d')],_0x53bca6=_0x43f3ee['model'],_0x233361=_0x43f3ee[_0x4172('0x23')]['get']('TrackChangesEditing'),_0x575f8c=_0x43f3ee[_0x4172('0x1e')];for(const _0x267d94 of Zt){if(!_0x43f3ee[_0x4172('0x23')][_0x4172('0xc')](_0x267d94))continue;const _0x155008=_0x267d94['slice'](0x0,-0x7)[_0x4172('0x1')](),_0x27a882=_0x43f3ee[_0x4172('0x11')][_0x4172('0x9')](_0x155008);_0x233361['enableCommand'](_0x155008,(_0x5a4fdf,_0x38a33e={})=>{const _0x1f5bcd=_0x53bca6[_0x4172('0x4')]['selection'];if(_0x1f5bcd[_0x4172('0xd')])return void _0x5a4fdf(_0x38a33e);const _0x17799a=void 0x0!==_0x38a33e['forceValue']?_0x38a33e[_0x4172('0x5')]:!_0x27a882[_0x4172('0x22')];_0x53bca6[_0x4172('0xa')](()=>{const _0x48e5d2=Array[_0x4172('0x15')](_0x1f5bcd[_0x4172('0x27')]());for(const _0x30d03b of _0x48e5d2){const _0x5c9fa4=_0x17799a?[_0x30d03b]:_0x1d68e7(_0x155008,_0x30d03b,_0x53bca6);for(const _0x2e933f of _0x5c9fa4)_0x233361[_0x4172('0x21')](_0x2e933f,{'commandName':_0x155008,'commandParams':[{'forceValue':_0x17799a}]});}});});}function _0x190b11(_0x17849d,_0x266f2e){_0x233361['_descriptionFactory'][_0x4172('0x1f')](_0x31233c=>{const {data:_0x5a0d24}=_0x31233c;if(_0x5a0d24&&_0x5a0d24[_0x4172('0x7')]===_0x17849d)return _0x5a0d24['commandParams'][0x0][_0x4172('0x5')]?{'type':_0x4172('0x17'),'content':_0x4f1bc6(_0x575f8c,_0x4172('0x19'),_0x266f2e)}:{'type':_0x4172('0x17'),'content':_0x4f1bc6(_0x575f8c,_0x4172('0x25'),_0x266f2e)};});}_0x190b11(_0x4172('0x14'),_0x4f1bc6(_0x575f8c,_0x4172('0xb'))),_0x190b11(_0x4172('0x18'),_0x4f1bc6(_0x575f8c,_0x4172('0x12'))),_0x190b11(_0x4172('0x0'),_0x4f1bc6(_0x575f8c,_0x4172('0x2'))),_0x190b11(_0x4172('0x1a'),_0x4f1bc6(_0x575f8c,_0x4172('0xf'))),_0x190b11('strikethrough',_0x4f1bc6(_0x575f8c,_0x4172('0x20'))),_0x190b11(_0x4172('0x13'),_0x4f1bc6(_0x575f8c,_0x4172('0xe'))),_0x190b11(_0x4172('0x10'),_0x4f1bc6(_0x575f8c,_0x4172('0x8')));}}
23
+ const _0x5ac5=['change','underline','FORMAT_CODE','slice','get','subscript','isCollapsed','forceValue','commandName','FORMAT_BOLD','plugins','*Remove\x20format:*\x20%0','TrackChangesEditing','commands','code','FORMAT_SUPERSCRIPT','markInlineFormat','FORMAT_ITALIC','editor','has','StrikethroughEditing','document','strikethrough','SubscriptEditing','_descriptionFactory','bold','superscript','format','UnderlineEditing','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','enableCommand','from','selection','*Format:*\x20%0','CodeEditing','getRanges','FORMAT_SUBSCRIPT','toLowerCase','BoldEditing','model','commandParams','value'];(function(_0x24b01b,_0x5ac5c8){const _0x3ea4ff=function(_0x578160){while(--_0x578160){_0x24b01b['push'](_0x24b01b['shift']());}};_0x3ea4ff(++_0x5ac5c8);}(_0x5ac5,0xfe));const _0x3ea4=function(_0x24b01b,_0x5ac5c8){_0x24b01b=_0x24b01b-0x0;let _0x3ea4ff=_0x5ac5[_0x24b01b];return _0x3ea4ff;};import{Plugin as _0x44b1be}from'ckeditor5/src/core';import{getTranslation as _0x4ea259}from'../utils/common-translations';import{getRangesWithAttribute as _0x39efad}from'./utils';const Zt=[_0x3ea4('0x0'),'ItalicEditing',_0x3ea4('0x20'),_0x3ea4('0x27'),_0x3ea4('0x18'),_0x3ea4('0x1b'),'SuperscriptEditing'];export default class U extends _0x44b1be{['afterInit'](){const _0x2d7379=this[_0x3ea4('0x16')],_0x1d3fcf=_0x2d7379[_0x3ea4('0x1')],_0x45e9d7=_0x2d7379[_0x3ea4('0xe')][_0x3ea4('0x8')](_0x3ea4('0x10')),_0x170273=_0x2d7379['locale'];for(const _0x42f1a7 of Zt){if(!_0x2d7379['plugins'][_0x3ea4('0x17')](_0x42f1a7))continue;const _0x41fada=_0x42f1a7[_0x3ea4('0x7')](0x0,-0x7)[_0x3ea4('0x2a')](),_0x4158a7=_0x2d7379[_0x3ea4('0x11')][_0x3ea4('0x8')](_0x41fada);_0x45e9d7[_0x3ea4('0x23')](_0x41fada,(_0x1d5d71,_0x38df68={})=>{const _0xc5898c=_0x1d3fcf[_0x3ea4('0x19')][_0x3ea4('0x25')];if(_0xc5898c[_0x3ea4('0xa')])return void _0x1d5d71(_0x38df68);const _0x458369=void 0x0!==_0x38df68[_0x3ea4('0xb')]?_0x38df68[_0x3ea4('0xb')]:!_0x4158a7[_0x3ea4('0x3')];_0x1d3fcf[_0x3ea4('0x4')](()=>{const _0x5026d7=Array[_0x3ea4('0x24')](_0xc5898c[_0x3ea4('0x28')]());for(const _0x2c7bee of _0x5026d7){const _0x274210=_0x458369?[_0x2c7bee]:_0x39efad(_0x41fada,_0x2c7bee,_0x1d3fcf);for(const _0x3f187f of _0x274210)_0x45e9d7[_0x3ea4('0x14')](_0x3f187f,{'commandName':_0x41fada,'commandParams':[{'forceValue':_0x458369}]});}});});}function _0x18acab(_0x31de8e,_0x310b63){_0x45e9d7[_0x3ea4('0x1c')]['registerDescriptionCallback'](_0x396837=>{const {data:_0xdf5272}=_0x396837;if(_0xdf5272&&_0xdf5272[_0x3ea4('0xc')]===_0x31de8e)return _0xdf5272[_0x3ea4('0x2')][0x0]['forceValue']?{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0x26'),_0x310b63)}:{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0xf'),_0x310b63)};});}_0x18acab(_0x3ea4('0x1d'),_0x4ea259(_0x170273,_0x3ea4('0xd'))),_0x18acab('italic',_0x4ea259(_0x170273,_0x3ea4('0x15'))),_0x18acab(_0x3ea4('0x5'),_0x4ea259(_0x170273,_0x3ea4('0x21'))),_0x18acab(_0x3ea4('0x12'),_0x4ea259(_0x170273,_0x3ea4('0x6'))),_0x18acab(_0x3ea4('0x1a'),_0x4ea259(_0x170273,_0x3ea4('0x22'))),_0x18acab(_0x3ea4('0x9'),_0x4ea259(_0x170273,_0x3ea4('0x29'))),_0x18acab(_0x3ea4('0x1e'),_0x4ea259(_0x170273,_0x3ea4('0x13')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bd2=['parent','commandName','format','has','model','value','BlockQuoteEditing','commands','locale','editor','afterInit','registerDescriptionCallback','name','plugins','commandParams','change','forceValue','get','filter','schema','document','markBlockFormat','*Remove\x20format:*\x20%0','$root','checkChild','from','selection','blockQuote','*Format:*\x20%0','enableCommand'];(function(_0x4c59e9,_0x2bd24f){const _0xd0ff26=function(_0x1d659d){while(--_0x1d659d){_0x4c59e9['push'](_0x4c59e9['shift']());}};_0xd0ff26(++_0x2bd24f);}(_0x2bd2,0x1a5));const _0xd0ff=function(_0x4c59e9,_0x2bd24f){_0x4c59e9=_0x4c59e9-0x0;let _0xd0ff26=_0x2bd2[_0x4c59e9];return _0xd0ff26;};import{Plugin as _0x5b5a2e}from'ckeditor5/src/core';import{getTranslation as _0x37f17c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5d5fb3}from'../utils/utils';export default class O extends _0x5b5a2e{[_0xd0ff('0x9')](){const _0xbcb939=this[_0xd0ff('0x8')],_0x518ab8=_0xbcb939[_0xd0ff('0x7')];if(!_0xbcb939['plugins'][_0xd0ff('0x2')](_0xd0ff('0x5')))return;const _0x33ef0d=_0xbcb939[_0xd0ff('0xc')][_0xd0ff('0x10')]('TrackChangesEditing'),_0x2b2aa1=this[_0xd0ff('0x8')][_0xd0ff('0x6')][_0xd0ff('0x10')](_0xd0ff('0x1a'));_0x33ef0d[_0xd0ff('0x1c')]('blockQuote',(_0x5ef6af,_0x40d0f7={})=>{const _0x1b9c56=this[_0xd0ff('0x8')][_0xd0ff('0x3')][_0xd0ff('0x13')][_0xd0ff('0x19')],_0x5cdf32=_0x40d0f7&&void 0x0!==_0x40d0f7['forceValue']?_0x40d0f7['forceValue']:!_0x2b2aa1[_0xd0ff('0x4')];let _0x3d9bca=[];if(_0x5cdf32){const _0x2a4f18=Array[_0xd0ff('0x18')](_0x1b9c56['getSelectedBlocks']())['filter'](_0x11fbc7=>oo(_0x11fbc7)||function(_0xa730e8,_0x13a471){const _0x12569e=_0x13a471[_0xd0ff('0x17')](_0xa730e8[_0xd0ff('0x1d')],'blockQuote'),_0x37a10c=_0x13a471['checkChild']([_0xd0ff('0x16'),_0xd0ff('0x1a')],_0xa730e8);return _0x12569e&&_0x37a10c;}(_0x11fbc7,this[_0xd0ff('0x8')]['model'][_0xd0ff('0x12')]));_0x3d9bca=_0x5d5fb3(_0x2a4f18,_0xbcb939[_0xd0ff('0x3')]);}else{const _0x4fe3e9=Array['from'](_0x1b9c56['getSelectedBlocks']())[_0xd0ff('0x11')](_0x3c6310=>oo(_0x3c6310));_0x3d9bca=_0x5d5fb3(_0x4fe3e9,_0xbcb939[_0xd0ff('0x3')]);}_0xbcb939[_0xd0ff('0x3')][_0xd0ff('0xe')](()=>{for(const _0x27dd33 of _0x3d9bca)_0x33ef0d[_0xd0ff('0x14')](_0x27dd33,{'commandName':_0xd0ff('0x1a'),'commandParams':[{'forceValue':_0x5cdf32}]});});}),_0x33ef0d['_descriptionFactory'][_0xd0ff('0xa')](_0x213e5e=>{const {data:_0x1531a8}=_0x213e5e;if(_0x1531a8&&_0xd0ff('0x1a')==_0x1531a8[_0xd0ff('0x0')]){const _0x1693e1=_0x37f17c(_0x518ab8,'ELEMENT_BLOCK_QUOTE');return _0x1531a8[_0xd0ff('0xd')][0x0][_0xd0ff('0xf')]?{'type':_0xd0ff('0x1'),'content':_0x37f17c(_0x518ab8,_0xd0ff('0x1b'),_0x1693e1)}:{'type':_0xd0ff('0x1'),'content':_0x37f17c(_0x518ab8,_0xd0ff('0x15'),_0x1693e1)};}});}}function oo(_0x3edb5c){return'blockQuote'==_0x3edb5c['parent'][_0xd0ff('0xb')];}
23
+ const _0x36f7=['parent','*Format:*\x20%0','editor','schema','blockQuote','commands','registerDescriptionCallback','getSelectedBlocks','BlockQuoteEditing','has','TrackChangesEditing','filter','checkChild','get','forceValue','name','value','format','selection','locale','change','plugins','ELEMENT_BLOCK_QUOTE','enableCommand','model','_descriptionFactory','*Remove\x20format:*\x20%0','from','commandName'];(function(_0x32a96a,_0x36f7ef){const _0x49a0bf=function(_0x45c079){while(--_0x45c079){_0x32a96a['push'](_0x32a96a['shift']());}};_0x49a0bf(++_0x36f7ef);}(_0x36f7,0x139));const _0x49a0=function(_0x32a96a,_0x36f7ef){_0x32a96a=_0x32a96a-0x0;let _0x49a0bf=_0x36f7[_0x32a96a];return _0x49a0bf;};import{Plugin as _0x57c789}from'ckeditor5/src/core';import{getTranslation as _0x4fbbb0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x42a696}from'../utils/utils';export default class O extends _0x57c789{['afterInit'](){const _0x49ad81=this[_0x49a0('0x8')],_0x574370=_0x49ad81[_0x49a0('0x19')];if(!_0x49ad81[_0x49a0('0x1b')][_0x49a0('0xf')](_0x49a0('0xe')))return;const _0x40da09=_0x49ad81[_0x49a0('0x1b')][_0x49a0('0x13')](_0x49a0('0x10')),_0x1a7149=this[_0x49a0('0x8')][_0x49a0('0xb')][_0x49a0('0x13')](_0x49a0('0xa'));_0x40da09[_0x49a0('0x0')](_0x49a0('0xa'),(_0x3389d3,_0x18b374={})=>{const _0x15fd36=this[_0x49a0('0x8')][_0x49a0('0x1')]['document'][_0x49a0('0x18')],_0x46f9f5=_0x18b374&&void 0x0!==_0x18b374[_0x49a0('0x14')]?_0x18b374['forceValue']:!_0x1a7149[_0x49a0('0x16')];let _0x4c1b85=[];if(_0x46f9f5){const _0x393969=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())['filter'](_0x21dc7d=>oo(_0x21dc7d)||function(_0x34eee2,_0x1e1efa){const _0x32cff1=_0x1e1efa[_0x49a0('0x12')](_0x34eee2['parent'],_0x49a0('0xa')),_0xe769ae=_0x1e1efa[_0x49a0('0x12')](['$root',_0x49a0('0xa')],_0x34eee2);return _0x32cff1&&_0xe769ae;}(_0x21dc7d,this['editor'][_0x49a0('0x1')][_0x49a0('0x9')]));_0x4c1b85=_0x42a696(_0x393969,_0x49ad81[_0x49a0('0x1')]);}else{const _0x56b9d0=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())[_0x49a0('0x11')](_0x5ebcf2=>oo(_0x5ebcf2));_0x4c1b85=_0x42a696(_0x56b9d0,_0x49ad81['model']);}_0x49ad81['model'][_0x49a0('0x1a')](()=>{for(const _0x5376f8 of _0x4c1b85)_0x40da09['markBlockFormat'](_0x5376f8,{'commandName':_0x49a0('0xa'),'commandParams':[{'forceValue':_0x46f9f5}]});});}),_0x40da09[_0x49a0('0x2')][_0x49a0('0xc')](_0x488279=>{const {data:_0x573033}=_0x488279;if(_0x573033&&_0x49a0('0xa')==_0x573033[_0x49a0('0x5')]){const _0x23cefb=_0x4fbbb0(_0x574370,_0x49a0('0x1c'));return _0x573033['commandParams'][0x0][_0x49a0('0x14')]?{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x7'),_0x23cefb)}:{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x3'),_0x23cefb)};}});}}function oo(_0x596862){return _0x49a0('0xa')==_0x596862[_0x49a0('0x6')][_0x49a0('0x15')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ada=['commands','plugins','ckbox','editor'];(function(_0x36193a,_0x8adad9){const _0x1ee254=function(_0x54f751){while(--_0x54f751){_0x36193a['push'](_0x36193a['shift']());}};_0x1ee254(++_0x8adad9);}(_0x8ada,0x147));const _0x1ee2=function(_0x36193a,_0x8adad9){_0x36193a=_0x36193a-0x0;let _0x1ee254=_0x8ada[_0x36193a];return _0x1ee254;};import{Plugin as _0x12f9cc}from'ckeditor5/src/core';export default class E extends _0x12f9cc{['afterInit'](){const _0x304808=this[_0x1ee2('0x0')];_0x304808[_0x1ee2('0x1')]['get'](_0x1ee2('0x3'))&&_0x304808[_0x1ee2('0x2')]['get']('TrackChangesEditing')['enableCommand'](_0x1ee2('0x3'));}}
23
+ const _0x4c08=['plugins','enableCommand','ckbox','get','afterInit','TrackChangesEditing','commands','editor'];(function(_0x49481e,_0x4c08e5){const _0x3c71d1=function(_0x5f49f1){while(--_0x5f49f1){_0x49481e['push'](_0x49481e['shift']());}};_0x3c71d1(++_0x4c08e5);}(_0x4c08,0x198));const _0x3c71=function(_0x49481e,_0x4c08e5){_0x49481e=_0x49481e-0x0;let _0x3c71d1=_0x4c08[_0x49481e];return _0x3c71d1;};import{Plugin as _0x197d47}from'ckeditor5/src/core';export default class E extends _0x197d47{[_0x3c71('0x4')](){const _0x3fd35a=this[_0x3c71('0x7')];_0x3fd35a[_0x3c71('0x6')][_0x3c71('0x3')](_0x3c71('0x2'))&&_0x3fd35a[_0x3c71('0x0')][_0x3c71('0x3')](_0x3c71('0x5'))[_0x3c71('0x1')](_0x3c71('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x360a=['indentCodeBlock','get','CodeBlock','commandName','value','has','plugins','selection','editor','from','checkChild','registerDescriptionCallback','filter','find','formatBlock','isLimit','forceValue','language','commands','schema','*Remove\x20format:*\x20%0','markBlockFormat','parent','TrackChangesEditing','change','outdentCodeBlock','enableCommand','model','ELEMENT_CODE_BLOCK','getSelectedBlocks','rootElement','codeBlock','registerElementLabel','name','blockName','_descriptionFactory'];(function(_0x42ca58,_0x360a48){const _0x55c30a=function(_0x2d3521){while(--_0x2d3521){_0x42ca58['push'](_0x42ca58['shift']());}};_0x55c30a(++_0x360a48);}(_0x360a,0x17c));const _0x55c3=function(_0x42ca58,_0x360a48){_0x42ca58=_0x42ca58-0x0;let _0x55c30a=_0x360a[_0x42ca58];return _0x55c30a;};import{Plugin as _0x7a19a4}from'ckeditor5/src/core';import{getTranslation as _0x5aac30}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3271d1}from'../utils/utils';export default class F extends _0x7a19a4{['afterInit'](){const _0x4cb1d7=this[_0x55c3('0x18')];if(!_0x4cb1d7[_0x55c3('0x16')][_0x55c3('0x15')](_0x55c3('0x12')))return;const _0x1e8e26=_0x4cb1d7[_0x55c3('0x16')][_0x55c3('0x11')](_0x55c3('0x3')),_0x295b55=_0x4cb1d7['locale'],_0xf6cd56=_0x4cb1d7['config'][_0x55c3('0x11')](_0x55c3('0xb'))['languages'],_0x400d5e=_0x4cb1d7[_0x55c3('0x22')][_0x55c3('0x11')](_0x55c3('0xb'));_0x1e8e26['enableCommand'](_0x55c3('0x10')),_0x1e8e26['enableCommand'](_0x55c3('0x5')),_0x1e8e26[_0x55c3('0x6')]('codeBlock',(_0xff95b1,_0x5b7671={})=>{const _0x58b875=_0x4cb1d7[_0x55c3('0x7')],_0x59bc0c=_0x4cb1d7[_0x55c3('0x7')]['document'][_0x55c3('0x17')],_0x4abffc=_0x5b7671&&void 0x0!==_0x5b7671[_0x55c3('0x20')]?_0x5b7671['forceValue']:!_0x400d5e[_0x55c3('0x14')];let _0x4807b9;_0x5b7671[_0x55c3('0x21')]||(_0x5b7671[_0x55c3('0x21')]=_0xf6cd56[0x0][_0x55c3('0x21')]),_0x4807b9=_0x4abffc?Array[_0x55c3('0x19')](_0x59bc0c[_0x55c3('0x9')]())['filter'](_0x5cc744=>co(_0x5cc744)||function(_0x3dc4cc,_0x5b61f5){if(_0x3dc4cc['is'](_0x55c3('0xa'))||_0x5b61f5[_0x55c3('0x1f')](_0x3dc4cc))return!0x1;return _0x5b61f5[_0x55c3('0x1a')](_0x3dc4cc[_0x55c3('0x2')],'codeBlock');}(_0x5cc744,_0x58b875[_0x55c3('0x23')])):Array[_0x55c3('0x19')](_0x59bc0c[_0x55c3('0x9')]())[_0x55c3('0x1c')](_0x1080fe=>co(_0x1080fe));const _0x143a46=_0x3271d1(_0x4807b9,_0x58b875);_0x58b875[_0x55c3('0x4')](()=>{for(const _0x1c7b75 of _0x143a46)_0x1e8e26[_0x55c3('0x1')](_0x1c7b75,{'commandName':_0x55c3('0xb'),'commandParams':[{..._0x5b7671,'forceValue':_0x4abffc}],'formatGroupId':_0x55c3('0xe')});});}),(_0x1e8e26['_descriptionFactory'][_0x55c3('0xc')]('codeBlock',_0x4aa8bd=>_0x5aac30(_0x295b55,_0x55c3('0x8'),_0x4aa8bd)),_0x1e8e26[_0x55c3('0xf')][_0x55c3('0x1b')](_0x488dc8=>{const _0x15da82=_0x295b55['t'],{type:_0x45cf8c,data:_0x380320}=_0x488dc8;if(_0x55c3('0x1e')==_0x45cf8c&&_0x380320&&_0x55c3('0xb')==_0x380320[_0x55c3('0x13')]){const _0x13993f=_0x380320['commandParams'][0x0][_0x55c3('0x21')],_0x25a952=_0x15da82(_0xf6cd56[_0x55c3('0x1d')](_0x1121e3=>_0x1121e3[_0x55c3('0x21')]===_0x13993f)['label']);return _0x380320['commandParams'][0x0][_0x55c3('0x20')]?{'type':'format','content':_0x5aac30(_0x295b55,'*Format:*\x20%0',_0x5aac30(_0x295b55,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x25a952+')')}:{'type':'format','content':_0x5aac30(_0x295b55,_0x55c3('0x0'),_0x5aac30(_0x295b55,_0x55c3('0x8'),0x1))};}}));}}function co(_0x40ed66){return'codeBlock'==_0x40ed66[_0x55c3('0xd')];}
23
+ const _0x10b1=['filter','enableCommand','*Format:*\x20%0','outdentCodeBlock','parent','afterInit','TrackChangesEditing','get','find','rootElement','commandName','name','locale','language','*Remove\x20format:*\x20%0','change','selection','model','value','has','getSelectedBlocks','label','checkChild','config','editor','codeBlock','markBlockFormat','forceValue','from','commands','isLimit','blockName','indentCodeBlock','ELEMENT_CODE_BLOCK','plugins','schema'];(function(_0x1d7c92,_0x10b1cf){const _0xdad329=function(_0x54bd55){while(--_0x54bd55){_0x1d7c92['push'](_0x1d7c92['shift']());}};_0xdad329(++_0x10b1cf);}(_0x10b1,0xdf));const _0xdad3=function(_0x1d7c92,_0x10b1cf){_0x1d7c92=_0x1d7c92-0x0;let _0xdad329=_0x10b1[_0x1d7c92];return _0xdad329;};import{Plugin as _0x2e6b8}from'ckeditor5/src/core';import{getTranslation as _0x5c5895}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x6fdf5a}from'../utils/utils';export default class F extends _0x2e6b8{[_0xdad3('0x22')](){const _0x16008d=this[_0xdad3('0x11')];if(!_0x16008d[_0xdad3('0x1b')][_0xdad3('0xc')]('CodeBlock'))return;const _0x12ad3f=_0x16008d[_0xdad3('0x1b')][_0xdad3('0x0')](_0xdad3('0x23')),_0x372c66=_0x16008d[_0xdad3('0x5')],_0xab6f8=_0x16008d[_0xdad3('0x10')][_0xdad3('0x0')](_0xdad3('0x12'))['languages'],_0x38a8a3=_0x16008d[_0xdad3('0x16')][_0xdad3('0x0')](_0xdad3('0x12'));_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x19')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x20')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x12'),(_0x49fa83,_0x2ccd6c={})=>{const _0x52d964=_0x16008d[_0xdad3('0xa')],_0x147e8a=_0x16008d[_0xdad3('0xa')]['document'][_0xdad3('0x9')],_0xa17082=_0x2ccd6c&&void 0x0!==_0x2ccd6c['forceValue']?_0x2ccd6c[_0xdad3('0x14')]:!_0x38a8a3[_0xdad3('0xb')];let _0x568cfe;_0x2ccd6c[_0xdad3('0x6')]||(_0x2ccd6c[_0xdad3('0x6')]=_0xab6f8[0x0][_0xdad3('0x6')]),_0x568cfe=_0xa17082?Array[_0xdad3('0x15')](_0x147e8a[_0xdad3('0xd')]())['filter'](_0x296c8c=>co(_0x296c8c)||function(_0x31a103,_0x80ce75){if(_0x31a103['is'](_0xdad3('0x2'))||_0x80ce75[_0xdad3('0x17')](_0x31a103))return!0x1;return _0x80ce75[_0xdad3('0xf')](_0x31a103[_0xdad3('0x21')],_0xdad3('0x12'));}(_0x296c8c,_0x52d964[_0xdad3('0x1c')])):Array[_0xdad3('0x15')](_0x147e8a['getSelectedBlocks']())[_0xdad3('0x1d')](_0x320cae=>co(_0x320cae));const _0x1c7afe=_0x6fdf5a(_0x568cfe,_0x52d964);_0x52d964[_0xdad3('0x8')](()=>{for(const _0x150b70 of _0x1c7afe)_0x12ad3f[_0xdad3('0x13')](_0x150b70,{'commandName':'codeBlock','commandParams':[{..._0x2ccd6c,'forceValue':_0xa17082}],'formatGroupId':_0xdad3('0x18')});});}),(_0x12ad3f['_descriptionFactory']['registerElementLabel'](_0xdad3('0x12'),_0x102cdf=>_0x5c5895(_0x372c66,_0xdad3('0x1a'),_0x102cdf)),_0x12ad3f['_descriptionFactory']['registerDescriptionCallback'](_0x8fa6ee=>{const _0x232721=_0x372c66['t'],{type:_0x2a9a7d,data:_0x4e5558}=_0x8fa6ee;if('formatBlock'==_0x2a9a7d&&_0x4e5558&&'codeBlock'==_0x4e5558[_0xdad3('0x3')]){const _0x292bed=_0x4e5558['commandParams'][0x0][_0xdad3('0x6')],_0x5c2f72=_0x232721(_0xab6f8[_0xdad3('0x1')](_0x5a0642=>_0x5a0642[_0xdad3('0x6')]===_0x292bed)[_0xdad3('0xe')]);return _0x4e5558['commandParams'][0x0][_0xdad3('0x14')]?{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x1f'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1)+'\x20('+_0x5c2f72+')')}:{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x7'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1))};}}));}}function co(_0x1a6a84){return'codeBlock'==_0x1a6a84[_0xdad3('0x4')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b2=['editor','enableCommand','TrackChangesEditing','afterInit','plugins','get','CommentsEditing'];(function(_0x20a51f,_0x18b262){const _0x25ccd0=function(_0x418fb6){while(--_0x418fb6){_0x20a51f['push'](_0x20a51f['shift']());}};_0x25ccd0(++_0x18b262);}(_0x18b2,0xed));const _0x25cc=function(_0x20a51f,_0x18b262){_0x20a51f=_0x20a51f-0x0;let _0x25ccd0=_0x18b2[_0x20a51f];return _0x25ccd0;};import{Plugin as _0x5c3257}from'ckeditor5/src/core';export default class G extends _0x5c3257{[_0x25cc('0x4')](){const _0x3f5fdc=this[_0x25cc('0x1')];if(!_0x3f5fdc[_0x25cc('0x5')]['has'](_0x25cc('0x0')))return;_0x3f5fdc[_0x25cc('0x5')][_0x25cc('0x6')](_0x25cc('0x3'))[_0x25cc('0x2')]('addCommentThread');}}
23
+ const _0x5914=['plugins','has','TrackChangesEditing','CommentsEditing','addCommentThread','get'];(function(_0x2b7387,_0x591465){const _0x20f09f=function(_0x28681d){while(--_0x28681d){_0x2b7387['push'](_0x2b7387['shift']());}};_0x20f09f(++_0x591465);}(_0x5914,0x11a));const _0x20f0=function(_0x2b7387,_0x591465){_0x2b7387=_0x2b7387-0x0;let _0x20f09f=_0x5914[_0x2b7387];return _0x20f09f;};import{Plugin as _0x548be4}from'ckeditor5/src/core';export default class G extends _0x548be4{['afterInit'](){const _0x436618=this['editor'];if(!_0x436618['plugins'][_0x20f0('0x1')](_0x20f0('0x3')))return;_0x436618[_0x20f0('0x0')][_0x20f0('0x5')](_0x20f0('0x2'))['enableCommand'](_0x20f0('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad4=['unit','addMarker:suggestion:deletion','removeMarker:suggestion:deletion','downcastDispatcher','editing','bind','lock','data','unbindElementFromMarkerName','model','editor','writer','forward','high','start','rootName','fromRange','enqueueChange','options','mapper','TrackChangesEditing','$graveyard','commands','buffer','markerNameToElements','createRange','detach','showSuggestionHighlights','root','end','requires','setSelection','batch','unlock','markerName','deleteForward','getFirstRange','get','remove','isCollapsed','enableCommand','merge'];(function(_0x2cc11e,_0x4ad4f1){const _0x35e8ed=function(_0x29cbce){while(--_0x29cbce){_0x2cc11e['push'](_0x2cc11e['shift']());}};_0x35e8ed(++_0x4ad4f1);}(_0x4ad4,0x6f));const _0x35e8=function(_0x2cc11e,_0x4ad4f1){_0x2cc11e=_0x2cc11e-0x0;let _0x35e8ed=_0x4ad4[_0x2cc11e];return _0x35e8ed;};import{Plugin as _0x44dd06}from'ckeditor5/src/core';import{LiveRange as _0x21b475}from'ckeditor5/src/engine';import{Delete as _0x57106b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x28fcdb}from'./utils';export default class L extends _0x44dd06{static get[_0x35e8('0x3')](){return[_0x57106b];}['init'](){const _0x4b590f=this[_0x35e8('0x19')],_0x310178=_0x4b590f['plugins'][_0x35e8('0xa')](_0x35e8('0x23'));_0x310178[_0x35e8('0xd')]('delete');const _0xb4316a=_0x4b590f[_0x35e8('0x25')][_0x35e8('0xa')](_0x35e8('0x8'));_0x310178[_0x35e8('0xd')](_0x35e8('0x8'),(_0x54ace8,_0x2b532a={})=>{const _0x521e15=_0x4b590f[_0x35e8('0x18')]['createSelection'](_0x4b590f[_0x35e8('0x18')]['document']['selection']);_0x521e15[_0x35e8('0xc')]&&_0x4b590f['model']['modifySelection'](_0x521e15,{'direction':_0x35e8('0x1b'),'unit':_0x2b532a[_0x35e8('0xf')]});const _0xaef8e5=_0x521e15[_0x35e8('0x9')](),_0x1144a0=_0x21b475[_0x35e8('0x1f')](_0xaef8e5);let _0x5c3927;_0x54ace8(_0x2b532a),_0x5c3927=_0x35e8('0x24')==_0x1144a0[_0x35e8('0x1')][_0x35e8('0x1e')]?_0x4b590f[_0x35e8('0x18')][_0x35e8('0x28')](_0xaef8e5[_0x35e8('0x1d')]):_0x4b590f[_0x35e8('0x18')][_0x35e8('0x28')](_0x1144a0[_0x35e8('0x1d')],_0x1144a0[_0x35e8('0x2')]),_0x1144a0[_0x35e8('0x29')](),_0x4b590f[_0x35e8('0x18')][_0x35e8('0x20')](_0xb4316a[_0x35e8('0x26')][_0x35e8('0x5')],_0x4140ef=>{_0xb4316a[_0x35e8('0x26')][_0x35e8('0x15')](),_0x4140ef[_0x35e8('0x4')](_0x4140ef[_0x35e8('0x28')](_0x5c3927[_0x35e8('0x2')])),_0xb4316a[_0x35e8('0x26')][_0x35e8('0x6')]();});}),_0x4b590f[_0x35e8('0x13')][_0x35e8('0x12')]['on']('addMarker:suggestion:deletion',_0x28fcdb(_0x4b590f,_0x35e8('0xe')),{'priority':_0x35e8('0x1c')}),_0x4b590f[_0x35e8('0x16')][_0x35e8('0x12')]['on'](_0x35e8('0x10'),(_0xf8684f,_0x5c7847,_0x529fb7)=>{_0x529fb7[_0x35e8('0x21')][_0x35e8('0x0')]&&_0x28fcdb(_0x4b590f,_0x35e8('0xe'),{'showActiveMarker':!0x1})[_0x35e8('0x14')](this)(_0xf8684f,_0x5c7847,_0x529fb7);},{'priority':'high'}),_0x4b590f['editing']['downcastDispatcher']['on'](_0x35e8('0x11'),(_0x129392,_0x580e39,_0x9e99a6)=>{const _0x10234b=_0x9e99a6[_0x35e8('0x22')][_0x35e8('0x27')](_0x580e39[_0x35e8('0x7')]);if(_0x10234b)for(const _0x5e2cf6 of _0x10234b)_0x5e2cf6['is']('uiElement')&&(_0x9e99a6['mapper'][_0x35e8('0x17')](_0x5e2cf6,_0x580e39['markerName']),_0x9e99a6[_0x35e8('0x1a')][_0x35e8('0xb')](_0x5e2cf6));},{'priority':'high'});}}
23
+ const _0xadb0=['enqueueChange','editing','unit','document','root','delete','model','options','end','get','commands','unlock','modifySelection','TrackChangesEditing','start','bind','showSuggestionHighlights','createRange','editor','high','detach','markerName','requires','getFirstRange','writer','uiElement','markerNameToElements','setSelection','batch','mapper','createSelection','merge','downcastDispatcher','buffer','isCollapsed','lock','addMarker:suggestion:deletion','deleteForward'];(function(_0x3fbdf1,_0xadb0cd){const _0x18bc5d=function(_0x10a918){while(--_0x10a918){_0x3fbdf1['push'](_0x3fbdf1['shift']());}};_0x18bc5d(++_0xadb0cd);}(_0xadb0,0x74));const _0x18bc=function(_0x3fbdf1,_0xadb0cd){_0x3fbdf1=_0x3fbdf1-0x0;let _0x18bc5d=_0xadb0[_0x3fbdf1];return _0x18bc5d;};import{Plugin as _0x48c157}from'ckeditor5/src/core';import{LiveRange as _0x21aa55}from'ckeditor5/src/engine';import{Delete as _0x2230ed}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3d7f5b}from'./utils';export default class L extends _0x48c157{static get[_0x18bc('0x14')](){return[_0x2230ed];}['init'](){const _0x484327=this[_0x18bc('0x10')],_0x399ceb=_0x484327['plugins']['get'](_0x18bc('0xb'));_0x399ceb['enableCommand'](_0x18bc('0x3'));const _0x1cb624=_0x484327[_0x18bc('0x8')][_0x18bc('0x7')]('deleteForward');_0x399ceb['enableCommand'](_0x18bc('0x23'),(_0x3bf824,_0x1c50ee={})=>{const _0x10d7f4=_0x484327['model'][_0x18bc('0x1c')](_0x484327[_0x18bc('0x4')][_0x18bc('0x1')]['selection']);_0x10d7f4[_0x18bc('0x20')]&&_0x484327[_0x18bc('0x4')][_0x18bc('0xa')](_0x10d7f4,{'direction':'forward','unit':_0x1c50ee[_0x18bc('0x0')]});const _0x452e10=_0x10d7f4[_0x18bc('0x15')](),_0x37bc22=_0x21aa55['fromRange'](_0x452e10);let _0xd96015;_0x3bf824(_0x1c50ee),_0xd96015='$graveyard'==_0x37bc22[_0x18bc('0x2')]['rootName']?_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x452e10[_0x18bc('0xc')]):_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x37bc22[_0x18bc('0xc')],_0x37bc22[_0x18bc('0x6')]),_0x37bc22[_0x18bc('0x12')](),_0x484327['model'][_0x18bc('0x24')](_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x1a')],_0x25afdb=>{_0x1cb624['buffer'][_0x18bc('0x21')](),_0x25afdb[_0x18bc('0x19')](_0x25afdb[_0x18bc('0xf')](_0xd96015[_0x18bc('0x6')])),_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x9')]();});}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),_0x3d7f5b(_0x484327,_0x18bc('0x1d')),{'priority':_0x18bc('0x11')}),_0x484327['data'][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),(_0x181363,_0x43e17c,_0x2cbb88)=>{_0x2cbb88[_0x18bc('0x5')][_0x18bc('0xe')]&&_0x3d7f5b(_0x484327,_0x18bc('0x1d'),{'showActiveMarker':!0x1})[_0x18bc('0xd')](this)(_0x181363,_0x43e17c,_0x2cbb88);},{'priority':'high'}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on']('removeMarker:suggestion:deletion',(_0x3ced3c,_0x4dedd0,_0x42ba37)=>{const _0x4505c2=_0x42ba37[_0x18bc('0x1b')][_0x18bc('0x18')](_0x4dedd0['markerName']);if(_0x4505c2)for(const _0x5c83b4 of _0x4505c2)_0x5c83b4['is'](_0x18bc('0x17'))&&(_0x42ba37[_0x18bc('0x1b')]['unbindElementFromMarkerName'](_0x5c83b4,_0x4dedd0[_0x18bc('0x13')]),_0x42ba37[_0x18bc('0x16')]['remove'](_0x5c83b4));},{'priority':_0x18bc('0x11')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x253f=['length','splitListItemBefore','bulletedList','format','ELEMENT_LIST_ITEM','get','ELEMENT_BULLETED_LIST','setSelection','registerElementLabel','end','push','toUpperCase','getAttribute','previousSibling','splitListItemAfter','refresh','numberedList','expandListBlocksToCompleteList','execute','nextSibling','start','enableCommand','schema','listType','isFirstBlockOfListItem','value','mergeListItemBackward','commands','map','multipleBlocks','after','registerCustomCallback','fromRange','commandParams','forceValue','slice','documentList','before','*Format:*\x20insert\x20into\x20%0','plugins','createRange','list.multiBlock','listIndent','outdentList','hasAttribute','getFirstRange','from','document','next','DocumentListUtils','ELEMENT_','getSelectedBlocks','registerDescriptionCallback','containsItem','createPositionAt','commandName','_descriptionFactory','change','markMultiRangeBlockFormat','indentList','*Outdent:*\x20%0','locale','*Change\x20to:*\x20%0','findIndex','*Format:*\x20remove\x20from\x20%0','getRanges','model','*Indent:*\x20%0','config','add','selection','_suggestionFactory','markBlockFormat','isObject','nodeAfter','afterInit','detach'];(function(_0x3f26da,_0x253f0e){const _0x42400a=function(_0x299186){while(--_0x299186){_0x3f26da['push'](_0x3f26da['shift']());}};_0x42400a(++_0x253f0e);}(_0x253f,0x16d));const _0x4240=function(_0x3f26da,_0x253f0e){_0x3f26da=_0x3f26da-0x0;let _0x42400a=_0x253f[_0x3f26da];return _0x42400a;};import{Plugin as _0x3113e1}from'ckeditor5/src/core';import{getTranslation as _0x58f2a6}from'../utils/common-translations';import{LiveRange as _0x5223b5}from'ckeditor5/src/engine';export default class q extends _0x3113e1{[_0x4240('0x12')](){const _0x142827=this['editor'];if(!_0x142827[_0x4240('0x3b')]['has']('DocumentListEditing'))return;const _0x4db535=_0x142827[_0x4240('0x4')],_0x58f5b8=_0x142827[_0x4240('0x3b')]['get']('TrackChangesEditing'),_0x3df825=_0x142827[_0x4240('0x3b')][_0x4240('0x19')](_0x4240('0x45'));function _0xf72019(_0x2bb30f){return()=>{const _0x30904a=_0x142827[_0x4240('0x2f')]['get'](_0x2bb30f);if(_0x30904a[_0x4240('0x2d')]&&!_0x142827[_0x4240('0xb')][_0x4240('0x19')](_0x4240('0x3d')))return void _0x142827[_0x4240('0x26')]('paragraph',{});let _0x3860b1=Array['from'](_0x142827['model'][_0x4240('0x43')]['selection'][_0x4240('0x47')]());if(_0x40480e(_0x2bb30f)){_0x3860b1=_0x3df825[_0x4240('0x25')](_0x3860b1);const _0xba7b3=[];for(const _0x48307a of _0x3860b1)_0x3df825[_0x4240('0x2c')](_0x48307a)&&_0xba7b3[_0x4240('0x1e')](_0x48307a);_0x3860b1=_0xba7b3;}_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8[_0x4240('0x1')](_0x3860b1,{'commandName':_0x2bb30f,'commandParams':[{'forceValue':!_0x30904a[_0x4240('0x2d')]}],'formatGroupId':'listType'},[],_0x4240('0x38'));});};}function _0x3baf70(_0x5a146e){return()=>{const _0x17595f=function(_0x4eec9a){let _0x14efe1=Array['from'](_0x4eec9a);const _0x528e96=_0x14efe1[_0x4240('0x6')](_0x492b6e=>!_0x492b6e[_0x4240('0x40')]('listItemId'));return _0x528e96>-0x1&&(_0x14efe1=_0x14efe1[_0x4240('0x37')](0x0,_0x528e96)),_0x14efe1;}(_0x142827[_0x4240('0x9')][_0x4240('0x43')][_0x4240('0xd')][_0x4240('0x47')]()),_0x68924c=_0x17595f[_0x17595f[_0x4240('0x14')]-0x1],_0x23062a=_0x142827[_0x4240('0x9')][_0x4240('0x2a')][_0x4240('0x10')](_0x68924c)?_0x4240('0x32'):_0x4240('0x1d'),_0x2c5cd1=_0x142827[_0x4240('0x9')][_0x4240('0x3c')](_0x142827[_0x4240('0x9')]['createPositionAt'](_0x17595f[0x0],_0x4240('0x39')),_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x68924c,_0x23062a));_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8['markBlockFormat'](_0x2c5cd1,{'commandName':_0x5a146e,'commandParams':[],'formatGroupId':'listType'},function(_0x8cd7a3){const _0x4b24d4=new Set();for(const _0x47c38a of _0x8cd7a3){let _0x10bf2c=_0x47c38a[_0x4240('0x27')];for(;_0x10bf2c&&_0x10bf2c[_0x4240('0x20')]('listIndent')>_0x47c38a['getAttribute'](_0x4240('0x3e'));)_0x4b24d4[_0x4240('0xc')](_0x10bf2c),_0x10bf2c=_0x10bf2c[_0x4240('0x27')];}return Array['from'](_0x4b24d4);}(_0x17595f));});};}function _0x55b224(_0x463eef){return()=>{const _0x4a77ff=_0x142827['model'][_0x4240('0x43')][_0x4240('0xd')][_0x4240('0x47')]()[_0x4240('0x44')]()['value'],_0x2dacbe=_0x142827['model'][_0x4240('0x4a')](_0x4a77ff,'before'),_0x3a7f23=_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x4a77ff,0x0),_0x1e5a85=_0x142827[_0x4240('0x9')]['createRange'](_0x2dacbe,_0x3a7f23);_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8[_0x4240('0xf')](_0x1e5a85,{'commandName':_0x463eef,'commandParams':[],'formatGroupId':_0x4240('0x2b')});});};}function _0x40480e(_0x1682f8){const _0x5712df=_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x4240('0x16'))[_0x4240('0x2d')],_0x350639=_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x4240('0x24'))[_0x4240('0x2d')];return'numberedList'===_0x1682f8?_0x5712df:_0x350639;}_0x58f5b8[_0x4240('0x29')](_0x4240('0x24'),_0xf72019(_0x4240('0x24'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x16'),_0xf72019(_0x4240('0x16'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x2'),_0x3baf70('indentList')),_0x58f5b8[_0x4240('0x29')](_0x4240('0x3f'),_0x3baf70('outdentList')),_0x58f5b8[_0x4240('0x29')](_0x4240('0x22'),_0x55b224(_0x4240('0x22'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x15'),_0x55b224(_0x4240('0x15'))),_0x58f5b8[_0x4240('0x4c')][_0x4240('0x1c')](function(_0x35c6bf){const _0x22c415=!_0x142827['model'][_0x4240('0x2a')][_0x4240('0x10')](_0x35c6bf),_0x348890=_0x35c6bf[_0x4240('0x21')],_0x24d73d=_0x35c6bf[_0x4240('0x27')],_0x3066e6=_0x35c6bf['getAttribute']('listItemId'),_0x52c394=!_0x348890||_0x348890[_0x4240('0x20')]('listItemId')!==_0x3066e6,_0x4b014f=!_0x24d73d||_0x24d73d[_0x4240('0x20')]('listItemId')!==_0x3066e6;return _0x22c415&&Boolean(_0x3066e6)&&_0x52c394&&_0x4b014f;},_0x18d3ce=>_0x58f2a6(_0x4db535,_0x4240('0x18'),_0x18d3ce)),_0x58f5b8[_0x4240('0x4c')][_0x4240('0x48')](function(_0x8b1958){const {data:_0x9ef3d}=_0x8b1958;if(!_0x9ef3d)return;let _0x3c349d,_0x4e8b94,_0x5f454f,_0x1db11a;switch(_0x9ef3d[_0x4240('0x4b')]){case _0x4240('0x16'):_0x5f454f=_0x9ef3d[_0x4240('0x35')][0x0][_0x4240('0x36')],_0x1db11a=_0x40480e(_0x9ef3d['commandName']),_0x3c349d=_0x5f454f?'*Format:*\x20insert\x20into\x20%0':_0x4240('0x7'),!_0x1db11a&&_0x142827[_0x4240('0xb')]['get']('list.multiBlock')||(_0x3c349d=_0x4240('0x5')),_0x4e8b94={'type':_0x4240('0x17'),'content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x1a')))};break;case _0x4240('0x24'):_0x5f454f=_0x9ef3d[_0x4240('0x35')][0x0]['forceValue'],_0x1db11a=_0x40480e(_0x9ef3d[_0x4240('0x4b')]),_0x3c349d=_0x5f454f?_0x4240('0x3a'):_0x4240('0x7'),!_0x1db11a&&_0x142827[_0x4240('0xb')][_0x4240('0x19')]('list.multiBlock')||(_0x3c349d='*Change\x20to:*\x20%0'),_0x4e8b94={'type':'format','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,'ELEMENT_NUMBERED_LIST'))};break;case _0x4240('0x2'):_0x3c349d=_0x4240('0xa'),_0x4e8b94={'type':'format','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x18')))};break;case _0x4240('0x3f'):_0x3c349d=function(_0x2a383c){const _0x59dcbb=_0x2a383c[_0x4240('0x41')]();let _0x5cf4b5=_0x59dcbb[_0x4240('0x28')][_0x4240('0x11')];for(;_0x5cf4b5&&_0x59dcbb[_0x4240('0x49')](_0x5cf4b5);){if(_0x5cf4b5[_0x4240('0x20')](_0x4240('0x3e'))>0x0)return!0x1;_0x5cf4b5=_0x5cf4b5[_0x4240('0x27')];}return!0x0;}(_0x8b1958)?_0x58f2a6(_0x4db535,_0x4240('0x7'),_0x58f2a6(_0x4db535,function(_0x4a8f14){const _0x174594=_0x4a8f14['getFirstRange']()[_0x4240('0x28')][_0x4240('0x11')];return _0x4240('0x46')+_0x174594[_0x4240('0x20')](_0x4240('0x2b'))[_0x4240('0x1f')]()+'_LIST';}(_0x8b1958))):_0x58f2a6(_0x4db535,_0x4240('0x3'),_0x58f2a6(_0x4db535,_0x4240('0x18'))),_0x4e8b94={'type':_0x4240('0x17'),'content':_0x3c349d};break;case _0x4240('0x2e'):case'mergeListItemForward':!0x1===_0x9ef3d[_0x4240('0x31')]&&(_0x3c349d='*Merge:*\x20%0',_0x4e8b94={'type':'deletion','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x18')))});}return _0x4e8b94;}),_0x58f5b8[_0x4240('0xe')][_0x4240('0x33')]('formatBlock',_0x4240('0x38'),'accept',function(_0x93ef44,_0x33af72){const _0x281f94=[];for(let _0x2f3727 of _0x93ef44)_0x2f3727[_0x4240('0x28')]['nodeAfter']===_0x2f3727[_0x4240('0x1d')]['parent']&&(_0x2f3727=_0x142827[_0x4240('0x9')][_0x4240('0x3c')](_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x2f3727[_0x4240('0x28')]['nodeAfter'],0x0))),_0x281f94['push'](_0x2f3727);_0x142827['model'][_0x4240('0x0')](_0x4bea56=>{const _0x599e50=_0x142827['model'][_0x4240('0x43')][_0x4240('0xd')],_0x35444b=Array[_0x4240('0x42')](_0x599e50[_0x4240('0x8')]())[_0x4240('0x30')](_0x286764=>_0x5223b5[_0x4240('0x34')](_0x286764));_0x4bea56[_0x4240('0x1b')](_0x281f94),_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x33af72[_0x4240('0x4b')])[_0x4240('0x23')](),_0x33af72[_0x4240('0x35')][_0x4240('0x1e')]({'forceDefaultExecution':!0x0}),_0x142827[_0x4240('0x26')](_0x33af72[_0x4240('0x4b')],..._0x33af72[_0x4240('0x35')]),_0x4bea56[_0x4240('0x1b')](_0x35444b);for(const _0x8f5be9 of _0x35444b)_0x8f5be9[_0x4240('0x13')]();});});}}
23
+ const _0x4e33=['listType','afterInit','markMultiRangeBlockFormat','hasAttribute','registerElementLabel','deletion','ELEMENT_LIST_ITEM','splitListItemAfter','setSelection','*Change\x20to:*\x20%0','toUpperCase','slice','nextSibling','*Format:*\x20insert\x20into\x20%0','DocumentListEditing','_suggestionFactory','getAttribute','*Indent:*\x20%0','getRanges','enableCommand','multipleBlocks','fromRange','containsItem','add','detach','_LIST','isObject','change','forceValue','before','map','end','document','*Merge:*\x20%0','has','from','commandParams','nodeAfter','schema','next','list.multiBlock','commands','formatBlock','selection','indentList','outdentList','*Format:*\x20remove\x20from\x20%0','listItemId','plugins','markBlockFormat','push','model','execute','format','get','mergeListItemForward','start','createPositionAt','createRange','getFirstRange','previousSibling','*Outdent:*\x20%0','ELEMENT_NUMBERED_LIST','documentList','DocumentListUtils','splitListItemBefore','TrackChangesEditing','after','accept','listIndent','value','registerCustomCallback','commandName','numberedList','findIndex','_descriptionFactory','bulletedList','config','editor','parent'];(function(_0x5c2d71,_0x4e3337){const _0xf67101=function(_0x2b8375){while(--_0x2b8375){_0x5c2d71['push'](_0x5c2d71['shift']());}};_0xf67101(++_0x4e3337);}(_0x4e33,0x1e7));const _0xf671=function(_0x5c2d71,_0x4e3337){_0x5c2d71=_0x5c2d71-0x0;let _0xf67101=_0x4e33[_0x5c2d71];return _0xf67101;};import{Plugin as _0x401f41}from'ckeditor5/src/core';import{getTranslation as _0xc721d2}from'../utils/common-translations';import{LiveRange as _0x44e981}from'ckeditor5/src/engine';export default class q extends _0x401f41{[_0xf671('0x4a')](){const _0x5e7abd=this[_0xf671('0x47')];if(!_0x5e7abd[_0xf671('0x29')][_0xf671('0x1b')](_0xf671('0x7')))return;const _0x2edaff=_0x5e7abd['locale'],_0x5605b3=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x3b')),_0x9ef214=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x39'));function _0x548f81(_0xfa39b6){return()=>{const _0x2a0c03=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xfa39b6);if(_0x2a0c03['value']&&!_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')](_0xf671('0x21')))return void _0x5e7abd[_0xf671('0x2d')]('paragraph',{});let _0x49b6bf=Array['from'](_0x5e7abd[_0xf671('0x2c')]['document'][_0xf671('0x24')]['getSelectedBlocks']());if(_0x39230b(_0xfa39b6)){_0x49b6bf=_0x9ef214['expandListBlocksToCompleteList'](_0x49b6bf);const _0x7209c7=[];for(const _0x3c48c5 of _0x49b6bf)_0x9ef214['isFirstBlockOfListItem'](_0x3c48c5)&&_0x7209c7['push'](_0x3c48c5);_0x49b6bf=_0x7209c7;}_0x5e7abd['model'][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x4b')](_0x49b6bf,{'commandName':_0xfa39b6,'commandParams':[{'forceValue':!_0x2a0c03[_0xf671('0x3f')]}],'formatGroupId':_0xf671('0x49')},[],_0xf671('0x38'));});};}function _0x1c93eb(_0x1d089d){return()=>{const _0x50e593=function(_0x3e40a5){let _0x124403=Array[_0xf671('0x1c')](_0x3e40a5);const _0x5e5c94=_0x124403[_0xf671('0x43')](_0x1058d5=>!_0x1058d5[_0xf671('0x4c')](_0xf671('0x28')));return _0x5e5c94>-0x1&&(_0x124403=_0x124403[_0xf671('0x4')](0x0,_0x5e5c94)),_0x124403;}(_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')]['selection']['getSelectedBlocks']()),_0x5cc6ec=_0x50e593[_0x50e593['length']-0x1],_0xdb197d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x1f')][_0xf671('0x13')](_0x5cc6ec)?_0xf671('0x3c'):_0xf671('0x18'),_0x374003=_0x5e7abd['model']['createRange'](_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x50e593[0x0],_0xf671('0x16')),_0x5e7abd['model']['createPositionAt'](_0x5cc6ec,_0xdb197d));_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x374003,{'commandName':_0x1d089d,'commandParams':[],'formatGroupId':_0xf671('0x49')},function(_0x3caae6){const _0x129b0f=new Set();for(const _0x2fcd20 of _0x3caae6){let _0xb2053f=_0x2fcd20[_0xf671('0x5')];for(;_0xb2053f&&_0xb2053f[_0xf671('0x9')]('listIndent')>_0x2fcd20['getAttribute'](_0xf671('0x3e'));)_0x129b0f[_0xf671('0x10')](_0xb2053f),_0xb2053f=_0xb2053f[_0xf671('0x5')];}return Array['from'](_0x129b0f);}(_0x50e593));});};}function _0x3de2c8(_0x4eeead){return()=>{const _0x5a342d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')][_0xf671('0x24')]['getSelectedBlocks']()[_0xf671('0x20')]()[_0xf671('0x3f')],_0x421446=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,_0xf671('0x16')),_0x2a0b85=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,0x0),_0x36a7df=_0x5e7abd['model'][_0xf671('0x33')](_0x421446,_0x2a0b85);_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x36a7df,{'commandName':_0x4eeead,'commandParams':[],'formatGroupId':_0xf671('0x49')});});};}function _0x39230b(_0x574ff0){const _0x106bef=_0x5e7abd[_0xf671('0x22')]['get'](_0xf671('0x45'))[_0xf671('0x3f')],_0x5512cf=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xf671('0x42'))[_0xf671('0x3f')];return _0xf671('0x42')===_0x574ff0?_0x106bef:_0x5512cf;}_0x5605b3[_0xf671('0xc')](_0xf671('0x42'),_0x548f81(_0xf671('0x42'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x45'),_0x548f81(_0xf671('0x45'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x25'),_0x1c93eb(_0xf671('0x25'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x26'),_0x1c93eb(_0xf671('0x26'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x0'),_0x3de2c8(_0xf671('0x0'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x3a'),_0x3de2c8(_0xf671('0x3a'))),_0x5605b3[_0xf671('0x44')][_0xf671('0x4d')](function(_0x4321f1){const _0x5abc4c=!_0x5e7abd['model'][_0xf671('0x1f')][_0xf671('0x13')](_0x4321f1),_0x1dac75=_0x4321f1[_0xf671('0x35')],_0x495b72=_0x4321f1[_0xf671('0x5')],_0x34de51=_0x4321f1[_0xf671('0x9')](_0xf671('0x28')),_0x5bca44=!_0x1dac75||_0x1dac75[_0xf671('0x9')]('listItemId')!==_0x34de51,_0x2841ad=!_0x495b72||_0x495b72['getAttribute']('listItemId')!==_0x34de51;return _0x5abc4c&&Boolean(_0x34de51)&&_0x5bca44&&_0x2841ad;},_0x522517=>_0xc721d2(_0x2edaff,_0xf671('0x4f'),_0x522517)),_0x5605b3['_descriptionFactory']['registerDescriptionCallback'](function(_0x4ed13d){const {data:_0x4b7413}=_0x4ed13d;if(!_0x4b7413)return;let _0x1d7fa3,_0x585e8c,_0x34d46b,_0xa37306;switch(_0x4b7413[_0xf671('0x41')]){case'bulletedList':_0x34d46b=_0x4b7413['commandParams'][0x0][_0xf671('0x15')],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd['config'][_0xf671('0x2f')](_0xf671('0x21'))||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,'ELEMENT_BULLETED_LIST'))};break;case _0xf671('0x42'):_0x34d46b=_0x4b7413[_0xf671('0x1d')][0x0]['forceValue'],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')]('list.multiBlock')||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x37')))};break;case _0xf671('0x25'):_0x1d7fa3=_0xf671('0xa'),_0x585e8c={'type':'format','content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))};break;case _0xf671('0x26'):_0x1d7fa3=function(_0x2adbea){const _0x24d065=_0x2adbea[_0xf671('0x34')]();let _0x49b0f3=_0x24d065[_0xf671('0x31')][_0xf671('0x1e')];for(;_0x49b0f3&&_0x24d065[_0xf671('0xf')](_0x49b0f3);){if(_0x49b0f3['getAttribute'](_0xf671('0x3e'))>0x0)return!0x1;_0x49b0f3=_0x49b0f3[_0xf671('0x5')];}return!0x0;}(_0x4ed13d)?_0xc721d2(_0x2edaff,_0xf671('0x27'),_0xc721d2(_0x2edaff,function(_0x39554d){const _0x1e529a=_0x39554d[_0xf671('0x34')]()[_0xf671('0x31')][_0xf671('0x1e')];return'ELEMENT_'+_0x1e529a[_0xf671('0x9')](_0xf671('0x49'))[_0xf671('0x3')]()+_0xf671('0x12');}(_0x4ed13d))):_0xc721d2(_0x2edaff,_0xf671('0x36'),_0xc721d2(_0x2edaff,_0xf671('0x4f'))),_0x585e8c={'type':_0xf671('0x2e'),'content':_0x1d7fa3};break;case'mergeListItemBackward':case _0xf671('0x30'):!0x1===_0x4b7413[_0xf671('0xd')]&&(_0x1d7fa3=_0xf671('0x1a'),_0x585e8c={'type':_0xf671('0x4e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))});}return _0x585e8c;}),_0x5605b3[_0xf671('0x8')][_0xf671('0x40')](_0xf671('0x23'),_0xf671('0x38'),_0xf671('0x3d'),function(_0x42c2c2,_0x51af88){const _0x590b0c=[];for(let _0x1a9653 of _0x42c2c2)_0x1a9653[_0xf671('0x31')]['nodeAfter']===_0x1a9653[_0xf671('0x18')][_0xf671('0x48')]&&(_0x1a9653=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x33')](_0x5e7abd['model'][_0xf671('0x32')](_0x1a9653[_0xf671('0x31')][_0xf671('0x1e')],0x0))),_0x590b0c[_0xf671('0x2b')](_0x1a9653);_0x5e7abd['model'][_0xf671('0x14')](_0x4eb3ac=>{const _0x59632e=_0x5e7abd[_0xf671('0x2c')]['document']['selection'],_0x4318ae=Array[_0xf671('0x1c')](_0x59632e[_0xf671('0xb')]())[_0xf671('0x17')](_0x40efea=>_0x44e981[_0xf671('0xe')](_0x40efea));_0x4eb3ac[_0xf671('0x1')](_0x590b0c),_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0x51af88[_0xf671('0x41')])['refresh'](),_0x51af88[_0xf671('0x1d')][_0xf671('0x2b')]({'forceDefaultExecution':!0x0}),_0x5e7abd[_0xf671('0x2d')](_0x51af88[_0xf671('0x41')],..._0x51af88[_0xf671('0x1d')]),_0x4eb3ac[_0xf671('0x1')](_0x4318ae);for(const _0x3affd9 of _0x4318ae)_0x3affd9[_0xf671('0x11')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe6b1=['model','numbered','replace','_getTranslationKeyForListStyle','get','_getSuggestionBlocksForListStyle','from','editor','reversed','styles','*Format:*\x20set\x20order\x20to\x20reversed','startIndex','change','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','commandName','handleDescriptions','DocumentListPropertiesUtils','bind','commandParams','getSelectedBlocks','filter','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','TrackChangesEditing','handleListStyleCommand','handleListStartCommand','getListTypeFromListStyleType','listStyle','selection','markMultiRangeBlockFormat','isFirstBlockOfListItem','format','handleListReversedCommand','_LIST_','push','isListItemBlock','afterInit','type','DocumentListPropertiesEditing','getAttribute','enableCommand','registerDescriptionCallback','document','listType','_getSuggestionBlocks','ELEMENT_','DocumentListUtils','listStart','expandListBlocksToCompleteList','plugins','listReversed','config','length'];(function(_0x20509c,_0xe6b14d){const _0x3ec884=function(_0x1b78aa){while(--_0x1b78aa){_0x20509c['push'](_0x20509c['shift']());}};_0x3ec884(++_0xe6b14d);}(_0xe6b1,0xeb));const _0x3ec8=function(_0x20509c,_0xe6b14d){_0x20509c=_0x20509c-0x0;let _0x3ec884=_0xe6b1[_0x20509c];return _0x3ec884;};import{Plugin as _0x376cad}from'ckeditor5/src/core';import{getTranslation as _0x183db1}from'../utils/common-translations';export default class Ct extends _0x376cad{[_0x3ec8('0x12')](){if(!this[_0x3ec8('0x2a')]['plugins'][_0x3ec8('0x4')](_0x3ec8('0x14')))return;const _0x17eea3=this[_0x3ec8('0x2a')][_0x3ec8('0x21')][_0x3ec8('0x27')]('list.properties'),_0x598f04=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5'));_0x17eea3[_0x3ec8('0x2c')]&&_0x598f04[_0x3ec8('0x16')](_0x3ec8('0x9'),this[_0x3ec8('0x6')][_0x3ec8('0x35')](this)),_0x17eea3[_0x3ec8('0x2b')]&&_0x598f04[_0x3ec8('0x16')]('listReversed',this['handleListReversedCommand']['bind'](this)),_0x17eea3[_0x3ec8('0x2e')]&&_0x598f04['enableCommand'](_0x3ec8('0x1d'),this[_0x3ec8('0x7')][_0x3ec8('0x35')](this)),_0x598f04['_descriptionFactory'][_0x3ec8('0x17')](this[_0x3ec8('0x33')][_0x3ec8('0x35')](this));}[_0x3ec8('0x6')](_0xad6f60,_0x2d0d7b={}){const _0x49a752=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x58c222=this[_0x3ec8('0x28')]();this[_0x3ec8('0x2a')]['model'][_0x3ec8('0x2f')](()=>{_0x49a752[_0x3ec8('0xb')](_0x58c222,{'commandName':_0x3ec8('0x9'),'commandParams':[{'type':_0x2d0d7b['type']}],'formatGroupId':_0x3ec8('0x9')});});}[_0x3ec8('0xe')](_0x3349c7,_0x169857={}){const _0x3cb9ad=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x5a5c0e=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')]('DocumentListUtils'),_0x2e2381=this[_0x3ec8('0x1a')](_0x34e4a8=>_0x5a5c0e[_0x3ec8('0x11')](_0x34e4a8)&&_0x3ec8('0x24')===_0x34e4a8[_0x3ec8('0x15')](_0x3ec8('0x19')));null!==_0x2e2381&&this['editor'][_0x3ec8('0x23')][_0x3ec8('0x2f')](()=>{_0x3cb9ad['markMultiRangeBlockFormat'](_0x2e2381,{'commandName':_0x3ec8('0x20'),'commandParams':[{'reversed':_0x169857[_0x3ec8('0x2b')]}],'formatGroupId':_0x3ec8('0x20')});});}['handleListStartCommand'](_0x570ba9,_0x4d4b7b={}){const _0x22456c=this['editor'][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x58c347=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x1c')),_0x1be372=this[_0x3ec8('0x1a')](_0x5e75ce=>_0x58c347[_0x3ec8('0x11')](_0x5e75ce)&&_0x3ec8('0x24')===_0x5e75ce[_0x3ec8('0x15')](_0x3ec8('0x19')));null!==_0x1be372&&this[_0x3ec8('0x2a')][_0x3ec8('0x23')][_0x3ec8('0x2f')](()=>{_0x22456c['markMultiRangeBlockFormat'](_0x1be372,{'commandName':'listStart','commandParams':[{'startIndex':_0x4d4b7b[_0x3ec8('0x2e')]}],'formatGroupId':_0x3ec8('0x1d')});});}[_0x3ec8('0x33')](_0x26cd1d){const _0x1d7ba6=this['editor']['locale'],{data:_0xea5190}=_0x26cd1d;if(!_0xea5190)return;let _0x45c96a,_0x2186db;switch(_0xea5190[_0x3ec8('0x32')]){case _0x3ec8('0x9'):_0x45c96a='*Change\x20to:*\x20%0',_0x2186db={'type':_0x3ec8('0xd'),'content':_0x183db1(_0x1d7ba6,_0x45c96a,_0x183db1(_0x1d7ba6,this[_0x3ec8('0x26')](_0xea5190[_0x3ec8('0x0')][0x0][_0x3ec8('0x13')])))};break;case _0x3ec8('0x20'):_0x45c96a=_0xea5190[_0x3ec8('0x0')][0x0][_0x3ec8('0x2b')]?_0x3ec8('0x2d'):_0x3ec8('0x30'),_0x2186db={'type':'format','content':_0x183db1(_0x1d7ba6,_0x45c96a)};break;case _0x3ec8('0x1d'):_0x45c96a=_0x3ec8('0x3'),_0x2186db={'type':_0x3ec8('0xd'),'content':_0x183db1(_0x1d7ba6,_0x45c96a,_0xea5190['commandParams'][0x0][_0x3ec8('0x2e')])};}return _0x2186db;}['_getSuggestionBlocksForListStyle'](){const _0x287755=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x1c'));let _0x1350ac=Array[_0x3ec8('0x29')](this[_0x3ec8('0x2a')][_0x3ec8('0x23')]['document'][_0x3ec8('0xa')][_0x3ec8('0x1')]());return _0x1350ac['push'](..._0x287755['expandListBlocksToCompleteList'](_0x1350ac)),_0x1350ac=[...new Set(_0x1350ac)],_0x1350ac;}[_0x3ec8('0x1a')](_0x5bd2c9){const _0x5dad4e=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')]['get'](_0x3ec8('0x1c'));let _0x5fc765=Array[_0x3ec8('0x29')](this[_0x3ec8('0x2a')][_0x3ec8('0x23')][_0x3ec8('0x18')][_0x3ec8('0xa')]['getSelectedBlocks']())[_0x3ec8('0x2')](_0x5bd2c9);if(!_0x5fc765[_0x3ec8('0x22')])return null;_0x5fc765=_0x5dad4e[_0x3ec8('0x1e')](_0x5fc765);const _0x1c088a=[];for(const _0x218e24 of _0x5fc765)_0x5dad4e[_0x3ec8('0xc')](_0x218e24)&&_0x1c088a[_0x3ec8('0x10')](_0x218e24);return _0x1c088a;}[_0x3ec8('0x26')](_0x211fc6){return _0x3ec8('0x1b')+this['editor'][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x34'))[_0x3ec8('0x8')](_0x211fc6)[_0x3ec8('0x31')]()+_0x3ec8('0xf')+_0x211fc6[_0x3ec8('0x31')]()[_0x3ec8('0x25')](/-/g,'_');}}
23
+ const _0x3e25=['plugins','document','getAttribute','*Change\x20to:*\x20%0','_getSuggestionBlocksForListStyle','afterInit','getListTypeFromListStyleType','expandListBlocksToCompleteList','toUpperCase','_descriptionFactory','_getSuggestionBlocks','TrackChangesEditing','listStart','styles','*Format:*\x20set\x20order\x20to\x20reversed','from','get','push','markMultiRangeBlockFormat','config','DocumentListPropertiesUtils','bind','DocumentListUtils','filter','isFirstBlockOfListItem','handleListStyleCommand','ELEMENT_','length','getSelectedBlocks','_getTranslationKeyForListStyle','listType','listStyle','startIndex','format','_LIST_','selection','list.properties','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','model','listReversed','commandParams','type','editor','isListItemBlock','enableCommand','numbered','handleListStartCommand','reversed','handleDescriptions','change'];(function(_0x186525,_0x3e25d2){const _0x15c5b8=function(_0x27aa83){while(--_0x27aa83){_0x186525['push'](_0x186525['shift']());}};_0x15c5b8(++_0x3e25d2);}(_0x3e25,0xca));const _0x15c5=function(_0x186525,_0x3e25d2){_0x186525=_0x186525-0x0;let _0x15c5b8=_0x3e25[_0x186525];return _0x15c5b8;};import{Plugin as _0x3f31f8}from'ckeditor5/src/core';import{getTranslation as _0x5a3792}from'../utils/common-translations';export default class Ct extends _0x3f31f8{[_0x15c5('0x7')](){if(!this[_0x15c5('0x2d')][_0x15c5('0x2')]['has'](_0x15c5('0x27')))return;const _0x3e6c03=this[_0x15c5('0x2d')][_0x15c5('0x15')][_0x15c5('0x12')](_0x15c5('0x26')),_0x18899f=this[_0x15c5('0x2d')]['plugins']['get'](_0x15c5('0xd'));_0x3e6c03[_0x15c5('0xf')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0x21'),this[_0x15c5('0x1b')][_0x15c5('0x17')](this)),_0x3e6c03[_0x15c5('0x32')]&&_0x18899f['enableCommand'](_0x15c5('0x2a'),this['handleListReversedCommand']['bind'](this)),_0x3e6c03[_0x15c5('0x22')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0xe'),this['handleListStartCommand'][_0x15c5('0x17')](this)),_0x18899f[_0x15c5('0xb')]['registerDescriptionCallback'](this[_0x15c5('0x0')][_0x15c5('0x17')](this));}[_0x15c5('0x1b')](_0x6b086c,_0x541e1c={}){const _0x129b95=this['editor']['plugins'][_0x15c5('0x12')]('TrackChangesEditing'),_0x3cfc6e=this[_0x15c5('0x6')]();this['editor']['model']['change'](()=>{_0x129b95[_0x15c5('0x14')](_0x3cfc6e,{'commandName':_0x15c5('0x21'),'commandParams':[{'type':_0x541e1c[_0x15c5('0x2c')]}],'formatGroupId':_0x15c5('0x21')});});}['handleListReversedCommand'](_0x5ab3c1,_0x3bb865={}){const _0x12741a=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0xd')),_0xc8b8a5=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18')),_0x144072=this[_0x15c5('0xc')](_0x53aea5=>_0xc8b8a5['isListItemBlock'](_0x53aea5)&&_0x15c5('0x30')===_0x53aea5[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x144072&&this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x1')](()=>{_0x12741a[_0x15c5('0x14')](_0x144072,{'commandName':'listReversed','commandParams':[{'reversed':_0x3bb865[_0x15c5('0x32')]}],'formatGroupId':'listReversed'});});}[_0x15c5('0x31')](_0x260232,_0xca3dc0={}){const _0x2f4bb4=this['editor'][_0x15c5('0x2')]['get'](_0x15c5('0xd')),_0x3b4b73=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0x18')),_0x5ca6b5=this[_0x15c5('0xc')](_0x1aa7d6=>_0x3b4b73[_0x15c5('0x2e')](_0x1aa7d6)&&_0x15c5('0x30')===_0x1aa7d6[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x5ca6b5&&this[_0x15c5('0x2d')][_0x15c5('0x29')]['change'](()=>{_0x2f4bb4[_0x15c5('0x14')](_0x5ca6b5,{'commandName':_0x15c5('0xe'),'commandParams':[{'startIndex':_0xca3dc0[_0x15c5('0x22')]}],'formatGroupId':_0x15c5('0xe')});});}['handleDescriptions'](_0x4ce44c){const _0x13123c=this[_0x15c5('0x2d')]['locale'],{data:_0x30c678}=_0x4ce44c;if(!_0x30c678)return;let _0x3c67a8,_0x39eaad;switch(_0x30c678['commandName']){case'listStyle':_0x3c67a8=_0x15c5('0x5'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x5a3792(_0x13123c,this[_0x15c5('0x1f')](_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x2c')])))};break;case _0x15c5('0x2a'):_0x3c67a8=_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x32')]?_0x15c5('0x10'):'*Format:*\x20set\x20order\x20to\x20regular',_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8)};break;case _0x15c5('0xe'):_0x3c67a8=_0x15c5('0x28'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x22')])};}return _0x39eaad;}[_0x15c5('0x6')](){const _0x340ae1=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')]('DocumentListUtils');let _0x5512dd=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')]['model'][_0x15c5('0x3')][_0x15c5('0x25')]['getSelectedBlocks']());return _0x5512dd[_0x15c5('0x13')](..._0x340ae1[_0x15c5('0x9')](_0x5512dd)),_0x5512dd=[...new Set(_0x5512dd)],_0x5512dd;}[_0x15c5('0xc')](_0x34d9e1){const _0x520bd2=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18'));let _0x361f01=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x3')]['selection'][_0x15c5('0x1e')]())[_0x15c5('0x19')](_0x34d9e1);if(!_0x361f01[_0x15c5('0x1d')])return null;_0x361f01=_0x520bd2[_0x15c5('0x9')](_0x361f01);const _0x263e61=[];for(const _0x46e03e of _0x361f01)_0x520bd2[_0x15c5('0x1a')](_0x46e03e)&&_0x263e61[_0x15c5('0x13')](_0x46e03e);return _0x263e61;}[_0x15c5('0x1f')](_0x10d4ec){return _0x15c5('0x1c')+this['editor']['plugins'][_0x15c5('0x12')](_0x15c5('0x16'))[_0x15c5('0x8')](_0x10d4ec)['toUpperCase']()+_0x15c5('0x24')+_0x10d4ec[_0x15c5('0xa')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e6=['TrackChangesEditing','hasClass','init','afterExecute','split','fire','commands','editing','end','getFirstPosition','getFirstRange','enter','createRange','data','get','model','fromRange','downcastDispatcher','detach','options','ck-suggestion-marker-split','change','mapper','nextSibling','unbindElementFromMarkerName','markInsertion','editor','addMarker:suggestion:insertion','enterBlock','selection','bind','setSelection','remove','markerNameToElements','showSuggestionHighlights','high','writer','markerName'];(function(_0x44bb4d,_0x54e61f){const _0x1fef25=function(_0x53effa){while(--_0x53effa){_0x44bb4d['push'](_0x44bb4d['shift']());}};_0x1fef25(++_0x54e61f);}(_0x54e6,0x184));const _0x1fef=function(_0x44bb4d,_0x54e61f){_0x44bb4d=_0x44bb4d-0x0;let _0x1fef25=_0x54e6[_0x44bb4d];return _0x1fef25;};import{Plugin as _0x1ec230}from'ckeditor5/src/core';import{Enter as _0xac4415}from'ckeditor5/src/enter';import{LiveRange as _0xd2b6eb}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x46049c}from'./utils';export default class z extends _0x1ec230{static get['requires'](){return[_0xac4415];}[_0x1fef('0x20')](){const _0x152fe2=this[_0x1fef('0x12')],_0x233d4b=_0x152fe2['plugins']['get'](_0x1fef('0x1e')),_0x34e769=_0x152fe2[_0x1fef('0x24')][_0x1fef('0x6')](_0x1fef('0x3'));_0x233d4b['enableCommand'](_0x1fef('0x3'),()=>{_0x152fe2[_0x1fef('0x7')][_0x1fef('0xd')](_0x56f53a=>{const _0xba3f74=_0x152fe2[_0x1fef('0x7')]['document'][_0x1fef('0x15')],_0xea046=_0xba3f74[_0x1fef('0x1')](),_0x1074dc=_0xd2b6eb[_0x1fef('0x8')](_0xba3f74[_0x1fef('0x2')]());if(_0x34e769[_0x1fef('0x14')](_0x56f53a)){const _0x5f066b=_0x152fe2[_0x1fef('0x7')]['createPositionAt'](_0xea046['parent'][_0x1fef('0xf')],0x0),_0x160f4e=_0x56f53a[_0x1fef('0x4')](_0xea046,_0x5f066b);_0x233d4b[_0x1fef('0x11')](_0x160f4e);}else _0x56f53a[_0x1fef('0x17')](_0x56f53a[_0x1fef('0x4')](_0x1074dc[_0x1fef('0x0')]));_0x1074dc[_0x1fef('0xa')](),_0x34e769[_0x1fef('0x23')](_0x1fef('0x21'),{'writer':_0x56f53a});});}),_0x152fe2[_0x1fef('0x25')][_0x1fef('0x9')]['on']('addMarker:suggestion:insertion',_0x46049c(_0x152fe2,_0x1fef('0x22')),{'priority':_0x1fef('0x1b')}),_0x152fe2[_0x1fef('0x25')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x38ed0f,_0xbdc301,_0x1df8b6)=>{const _0x3bc0e4=_0x1df8b6[_0x1fef('0xe')][_0x1fef('0x19')](_0xbdc301[_0x1fef('0x1d')]);if(_0x3bc0e4)for(const _0x49355f of _0x3bc0e4)_0x49355f[_0x1fef('0x1f')](_0x1fef('0xc'))&&(_0x1df8b6[_0x1fef('0xe')][_0x1fef('0x10')](_0x49355f,_0xbdc301[_0x1fef('0x1d')]),_0x1df8b6[_0x1fef('0x1c')][_0x1fef('0x18')](_0x49355f));},{'priority':'high'}),_0x152fe2[_0x1fef('0x5')][_0x1fef('0x9')]['on'](_0x1fef('0x13'),(_0xba434,_0x127df0,_0x2f8fca)=>{_0x2f8fca[_0x1fef('0xb')][_0x1fef('0x1a')]&&_0x46049c(_0x152fe2,_0x1fef('0x22'),{'showActiveMarker':!0x1})[_0x1fef('0x16')](this)(_0xba434,_0x127df0,_0x2f8fca);},{'priority':'high'});}}
23
+ const _0x56d3=['editor','bind','fire','unbindElementFromMarkerName','enter','createPositionAt','afterExecute','remove','addMarker:suggestion:insertion','setSelection','split','fromRange','high','get','data','ck-suggestion-marker-split','TrackChangesEditing','enableCommand','selection','markerName','end','markInsertion','writer','editing','detach','change','removeMarker:suggestion:insertion','model','commands','createRange','document','downcastDispatcher','markerNameToElements','parent','options','plugins'];(function(_0x549a36,_0x56d370){const _0x519448=function(_0x2d3b69){while(--_0x2d3b69){_0x549a36['push'](_0x549a36['shift']());}};_0x519448(++_0x56d370);}(_0x56d3,0x1c7));const _0x5194=function(_0x549a36,_0x56d370){_0x549a36=_0x549a36-0x0;let _0x519448=_0x56d3[_0x549a36];return _0x519448;};import{Plugin as _0x113289}from'ckeditor5/src/core';import{Enter as _0x35b610}from'ckeditor5/src/enter';import{LiveRange as _0x2e55c6}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x44dd96}from'./utils';export default class z extends _0x113289{static get['requires'](){return[_0x35b610];}['init'](){const _0x48397d=this[_0x5194('0xd')],_0x3763e1=_0x48397d[_0x5194('0xc')][_0x5194('0x1a')](_0x5194('0x1d')),_0x3aaadb=_0x48397d[_0x5194('0x5')][_0x5194('0x1a')](_0x5194('0x11'));_0x3763e1[_0x5194('0x1e')](_0x5194('0x11'),()=>{_0x48397d[_0x5194('0x4')][_0x5194('0x2')](_0x591c8c=>{const _0x107a7a=_0x48397d[_0x5194('0x4')][_0x5194('0x7')][_0x5194('0x1f')],_0x3b99b2=_0x107a7a['getFirstPosition'](),_0x33d8d7=_0x2e55c6[_0x5194('0x18')](_0x107a7a['getFirstRange']());if(_0x3aaadb['enterBlock'](_0x591c8c)){const _0x1de3b8=_0x48397d['model'][_0x5194('0x12')](_0x3b99b2[_0x5194('0xa')]['nextSibling'],0x0),_0x1a5f93=_0x591c8c[_0x5194('0x6')](_0x3b99b2,_0x1de3b8);_0x3763e1[_0x5194('0x22')](_0x1a5f93);}else _0x591c8c[_0x5194('0x16')](_0x591c8c[_0x5194('0x6')](_0x33d8d7[_0x5194('0x21')]));_0x33d8d7[_0x5194('0x1')](),_0x3aaadb[_0x5194('0xf')](_0x5194('0x13'),{'writer':_0x591c8c});});}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x15'),_0x44dd96(_0x48397d,_0x5194('0x17')),{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x3'),(_0x34211d,_0x1470f6,_0x4ca24d)=>{const _0x4fbccc=_0x4ca24d['mapper'][_0x5194('0x9')](_0x1470f6[_0x5194('0x20')]);if(_0x4fbccc)for(const _0x505d1b of _0x4fbccc)_0x505d1b['hasClass'](_0x5194('0x1c'))&&(_0x4ca24d['mapper'][_0x5194('0x10')](_0x505d1b,_0x1470f6['markerName']),_0x4ca24d[_0x5194('0x23')][_0x5194('0x14')](_0x505d1b));},{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x1b')][_0x5194('0x8')]['on']('addMarker:suggestion:insertion',(_0x47cca1,_0x7f09c,_0x27fc44)=>{_0x27fc44[_0x5194('0xb')]['showSuggestionHighlights']&&_0x44dd96(_0x48397d,_0x5194('0x17'),{'showActiveMarker':!0x1})[_0x5194('0xe')](this)(_0x47cca1,_0x7f09c,_0x27fc44);},{'priority':_0x5194('0x19')});}}
@@ -17,5 +17,5 @@ export default class TrackChangesFindAndReplace extends Plugin {
17
17
  handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
18
  matchCase?: boolean;
19
19
  wholeWords?: boolean;
20
- }): void;
20
+ }): unknown;
21
21
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59a0=['editor','get','model','handleFindCommand','enableCommand','find','end','createRange','item','getIntersection','bind','suggestion:deletion','FindAndReplaceUtils','findPrevious','replace','replaceAll','FindAndReplaceEditing','_isInDeletionRange','plugins','findNext','TrackChangesEditing','filter','findByTextCallback','getRange','string','afterInit'];(function(_0x4d5876,_0x59a06e){const _0x335bc1=function(_0x1c9c20){while(--_0x1c9c20){_0x4d5876['push'](_0x4d5876['shift']());}};_0x335bc1(++_0x59a06e);}(_0x59a0,0x1a9));const _0x335b=function(_0x4d5876,_0x59a06e){_0x4d5876=_0x4d5876-0x0;let _0x335bc1=_0x59a0[_0x4d5876];return _0x335bc1;};import{Plugin as _0x4cde64}from'ckeditor5/src/core';export default class H extends _0x4cde64{[_0x335b('0x10')](){if(!this[_0x335b('0x11')]['plugins']['has'](_0x335b('0x7')))return;const _0x3c311c=this[_0x335b('0x11')]['plugins'][_0x335b('0x12')](_0x335b('0xb'));_0x3c311c[_0x335b('0x15')](_0x335b('0x16'),this[_0x335b('0x14')][_0x335b('0x1')](this)),_0x3c311c[_0x335b('0x15')](_0x335b('0xa')),_0x3c311c[_0x335b('0x15')](_0x335b('0x4')),_0x3c311c['enableCommand'](_0x335b('0x5')),_0x3c311c['enableCommand'](_0x335b('0x6'));}[_0x335b('0x14')](_0x572036,_0x2bcd05,_0x418122={}){const _0x1ec293=this['editor'][_0x335b('0x9')]['get'](_0x335b('0x3'));void 0x0!==_0x418122&&_0x572036(_0x38d62f=>(_0x335b('0xf')==typeof _0x2bcd05?_0x1ec293[_0x335b('0xd')](_0x2bcd05,_0x418122):_0x2bcd05)(_0x38d62f)[_0x335b('0xc')](_0x5200f0=>!0x1===this[_0x335b('0x8')](_0x5200f0,_0x38d62f[_0x335b('0x19')])),_0x418122);}[_0x335b('0x8')](_0x480605,_0x194753){const _0x5cca11=this[_0x335b('0x11')][_0x335b('0x13')][_0x335b('0x18')](this[_0x335b('0x11')][_0x335b('0x13')]['createPositionAt'](_0x194753,_0x480605['start']),this['editor']['model']['createPositionAt'](_0x194753,_0x480605[_0x335b('0x17')]));for(const _0x56d2b0 of this[_0x335b('0x11')][_0x335b('0x13')]['markers']['getMarkersGroup'](_0x335b('0x2')))if(null!==_0x5cca11[_0x335b('0x0')](_0x56d2b0[_0x335b('0xe')]()))return!0x0;return!0x1;}}
23
+ const _0x460d=['createPositionAt','suggestion:deletion','end','filter','findPrevious','find','findNext','FindAndReplaceUtils','plugins','has','getRange','getMarkersGroup','getIntersection','replaceAll','markers','handleFindCommand','editor','string','model','afterInit','enableCommand','_isInDeletionRange','get'];(function(_0x1276f7,_0x460df3){const _0x4d7a0e=function(_0xc342b2){while(--_0xc342b2){_0x1276f7['push'](_0x1276f7['shift']());}};_0x4d7a0e(++_0x460df3);}(_0x460d,0xb1));const _0x4d7a=function(_0x1276f7,_0x460df3){_0x1276f7=_0x1276f7-0x0;let _0x4d7a0e=_0x460d[_0x1276f7];return _0x4d7a0e;};import{Plugin as _0xf9166a}from'ckeditor5/src/core';export default class H extends _0xf9166a{[_0x4d7a('0x3')](){if(!this[_0x4d7a('0x0')]['plugins'][_0x4d7a('0x10')]('FindAndReplaceEditing'))return;const _0x8849f7=this['editor'][_0x4d7a('0xf')][_0x4d7a('0x6')]('TrackChangesEditing');_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xc'),this[_0x4d7a('0x16')]['bind'](this)),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xd')),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xb')),_0x8849f7[_0x4d7a('0x4')]('replace'),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0x14'));}[_0x4d7a('0x16')](_0x38404d,_0x3a5c8f,_0x16fe95={}){const _0x41c1c3=this['editor']['plugins']['get'](_0x4d7a('0xe'));if(void 0x0!==_0x16fe95)return _0x38404d(_0x198586=>(_0x4d7a('0x1')==typeof _0x3a5c8f?_0x41c1c3['findByTextCallback'](_0x3a5c8f,_0x16fe95):_0x3a5c8f)(_0x198586)[_0x4d7a('0xa')](_0x56a4d1=>!0x1===this['_isInDeletionRange'](_0x56a4d1,_0x198586['item'])),_0x16fe95);}[_0x4d7a('0x5')](_0x119382,_0xd538d2){const _0x406982=this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createRange'](this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createPositionAt'](_0xd538d2,_0x119382['start']),this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x7')](_0xd538d2,_0x119382[_0x4d7a('0x9')]));for(const _0x1644ad of this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x15')][_0x4d7a('0x12')](_0x4d7a('0x8')))if(null!==_0x406982[_0x4d7a('0x13')](_0x1644ad[_0x4d7a('0x11')]()))return!0x0;return!0x1;}}