@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230830.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 (65) 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/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.d.ts +29 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. 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-20230829.0",
3
+ "version": "0.0.0-nightly-20230830.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-20230829.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20230829.0",
42
+ "ckeditor5": "0.0.0-nightly-20230830.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20230830.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 _0x20c6=['get','canEditAt','refresh','getRanges','plugins','_isEnabledBasedOnSelection','execute','TrackChangesEditing','track-changes-accept-suggestion-not-found','model','_suggestions'];(function(_0x5c243b,_0x20c694){const _0x3a1322=function(_0x58c9df){while(--_0x58c9df){_0x5c243b['push'](_0x5c243b['shift']());}};_0x3a1322(++_0x20c694);}(_0x20c6,0x7c));const _0x3a13=function(_0x5c243b,_0x20c694){_0x5c243b=_0x5c243b-0x0;let _0x3a1322=_0x20c6[_0x5c243b];return _0x3a1322;};import{Command as _0x315274}from'ckeditor5/src/core';import{CKEditorError as _0x2e02fe}from'ckeditor5/src/utils';export default class M extends _0x315274{constructor(_0x1ff8b6,_0x2d45bb){super(_0x1ff8b6),this[_0x3a13('0x7')]=_0x2d45bb,this[_0x3a13('0xa')](),this[_0x3a13('0x2')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x3a13('0x3')](_0x363cce){const _0x17ead6=this['_suggestions'][_0x3a13('0x8')](_0x363cce);if(!_0x17ead6)throw new _0x2e02fe(_0x3a13('0x5'),this);const _0x43ef37=_0x17ead6[_0x3a13('0x0')]();this['editor'][_0x3a13('0x6')][_0x3a13('0x9')](_0x43ef37)&&this['editor'][_0x3a13('0x1')]['get'](_0x3a13('0x4'))['acceptSuggestion'](_0x17ead6);}}
23
+ const _0x46c0=['track-changes-accept-suggestion-not-found','isEnabled','refresh','editor','_suggestions','getRanges','acceptSuggestion','canEditAt','get','execute','plugins'];(function(_0x581d66,_0x46c0de){const _0x128e51=function(_0x217df4){while(--_0x217df4){_0x581d66['push'](_0x581d66['shift']());}};_0x128e51(++_0x46c0de);}(_0x46c0,0x7b));const _0x128e=function(_0x581d66,_0x46c0de){_0x581d66=_0x581d66-0x0;let _0x128e51=_0x46c0[_0x581d66];return _0x128e51;};import{Command as _0x4fc17c}from'ckeditor5/src/core';import{CKEditorError as _0x296a86}from'ckeditor5/src/utils';export default class M extends _0x4fc17c{constructor(_0x3ff585,_0x2f8536){super(_0x3ff585),this['_suggestions']=_0x2f8536,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x128e('0x0')](){this[_0x128e('0xa')]=!0x0;}[_0x128e('0x7')](_0x54f1b1){const _0x557386=this[_0x128e('0x2')]['get'](_0x54f1b1);if(!_0x557386)throw new _0x296a86(_0x128e('0x9'),this);const _0x3a20d0=_0x557386[_0x128e('0x3')]();this[_0x128e('0x1')]['model'][_0x128e('0x5')](_0x3a20d0)&&this['editor'][_0x128e('0x8')][_0x128e('0x6')]('TrackChangesEditing')[_0x128e('0x4')](_0x557386);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ea8=['TrackChangesEditing','execute','_isEnabledBasedOnSelection','canEditAt','refresh','plugins','discardSuggestion','get','getRanges','_suggestions','model'];(function(_0x6c697,_0x1ea856){const _0x5604c4=function(_0x29bc78){while(--_0x29bc78){_0x6c697['push'](_0x6c697['shift']());}};_0x5604c4(++_0x1ea856);}(_0x1ea8,0x65));const _0x5604=function(_0x6c697,_0x1ea856){_0x6c697=_0x6c697-0x0;let _0x5604c4=_0x1ea8[_0x6c697];return _0x5604c4;};import{Command as _0x5eb8e7}from'ckeditor5/src/core';import{CKEditorError as _0x4dff83}from'ckeditor5/src/utils';export default class $ extends _0x5eb8e7{constructor(_0x353b6c,_0x11401f){super(_0x353b6c),this[_0x5604('0x7')]=_0x11401f,this[_0x5604('0x2')](),this[_0x5604('0x0')]=!0x1;}[_0x5604('0x2')](){this['isEnabled']=!0x0;}[_0x5604('0xa')](_0x53c69){const _0x54e0e0=this[_0x5604('0x7')][_0x5604('0x5')](_0x53c69);if(!_0x54e0e0)throw new _0x4dff83('track-changes-discard-suggestion-not-found',this);const _0x22eedc=_0x54e0e0[_0x5604('0x6')]();this['editor'][_0x5604('0x8')][_0x5604('0x1')](_0x22eedc)&&this['editor'][_0x5604('0x3')][_0x5604('0x5')](_0x5604('0x9'))[_0x5604('0x4')](_0x54e0e0);}}
23
+ const _0x14f9=['track-changes-discard-suggestion-not-found','plugins','get','discardSuggestion','refresh','_isEnabledBasedOnSelection','model','canEditAt','isEnabled','execute','_suggestions'];(function(_0xb15eda,_0x14f9b9){const _0x771739=function(_0x397a29){while(--_0x397a29){_0xb15eda['push'](_0xb15eda['shift']());}};_0x771739(++_0x14f9b9);}(_0x14f9,0x92));const _0x7717=function(_0xb15eda,_0x14f9b9){_0xb15eda=_0xb15eda-0x0;let _0x771739=_0x14f9[_0xb15eda];return _0x771739;};import{Command as _0x2f84d2}from'ckeditor5/src/core';import{CKEditorError as _0x5c8faa}from'ckeditor5/src/utils';export default class $ extends _0x2f84d2{constructor(_0x2939c8,_0x3e9fe2){super(_0x2939c8),this['_suggestions']=_0x3e9fe2,this[_0x7717('0x1')](),this[_0x7717('0x2')]=!0x1;}[_0x7717('0x1')](){this[_0x7717('0x5')]=!0x0;}[_0x7717('0x6')](_0x1c389b){const _0x5f4f2c=this[_0x7717('0x7')][_0x7717('0xa')](_0x1c389b);if(!_0x5f4f2c)throw new _0x5c8faa(_0x7717('0x8'),this);const _0x341b6f=_0x5f4f2c['getRanges']();this['editor'][_0x7717('0x3')][_0x7717('0x4')](_0x341b6f)&&this['editor'][_0x7717('0x9')][_0x7717('0xa')]('TrackChangesEditing')[_0x7717('0x0')](_0x5f4f2c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13d1=['getRanges','_command','values','editor','refresh','isEnabled','execute','_suggestions','_isEnabledBasedOnSelection','some','from','model','isInContent'];(function(_0x25c123,_0x13d1da){const _0x58394c=function(_0x1bef4a){while(--_0x1bef4a){_0x25c123['push'](_0x25c123['shift']());}};_0x58394c(++_0x13d1da);}(_0x13d1,0x102));const _0x5839=function(_0x25c123,_0x13d1da){_0x25c123=_0x25c123-0x0;let _0x58394c=_0x13d1[_0x25c123];return _0x58394c;};import{Command as _0x5b5617}from'ckeditor5/src/core';import{sortSuggestions as _0x61d5cc,executeCommandForSuggestions as _0x1eb382}from'../utils/utils';export default class N extends _0x5b5617{constructor(_0x4ac718,_0x13f8f6,_0x8a1112){super(_0x4ac718),this[_0x5839('0x3')]=_0x13f8f6,this[_0x5839('0x9')]=_0x8a1112,this[_0x5839('0x6')](),this[_0x5839('0xa')]=!0x1;}[_0x5839('0x6')](){const _0x31d102=Array['from'](this[_0x5839('0x9')]['values']())[_0x5839('0xb')](_0x12968b=>_0x12968b[_0x5839('0x1')]);this[_0x5839('0x7')]=this[_0x5839('0x3')][_0x5839('0x7')]&&_0x31d102;}[_0x5839('0x8')](){const _0x41ad29=_0x61d5cc(Array[_0x5839('0xc')](this[_0x5839('0x9')][_0x5839('0x4')]()));for(const _0x14ee97 of _0x41ad29){const _0x4848ad=_0x14ee97[_0x5839('0x2')]();if(!this['editor'][_0x5839('0x0')]['canEditAt'](_0x4848ad))return;}_0x1eb382(this[_0x5839('0x5')][_0x5839('0x0')],this[_0x5839('0x3')],_0x41ad29);}}
23
+ const _0x354c=['getRanges','model','_isEnabledBasedOnSelection','canEditAt','refresh','isInContent','values','some','editor','_command','isEnabled','from','_suggestions'];(function(_0x197835,_0x354c75){const _0x3b3964=function(_0x2298e6){while(--_0x2298e6){_0x197835['push'](_0x197835['shift']());}};_0x3b3964(++_0x354c75);}(_0x354c,0xcf));const _0x3b39=function(_0x197835,_0x354c75){_0x197835=_0x197835-0x0;let _0x3b3964=_0x354c[_0x197835];return _0x3b3964;};import{Command as _0x1f4796}from'ckeditor5/src/core';import{sortSuggestions as _0x560916,executeCommandForSuggestions as _0x51bd9f}from'../utils/utils';export default class N extends _0x1f4796{constructor(_0x3c866c,_0x7c92b0,_0x3afe26){super(_0x3c866c),this[_0x3b39('0xa')]=_0x7c92b0,this[_0x3b39('0x0')]=_0x3afe26,this[_0x3b39('0x5')](),this[_0x3b39('0x3')]=!0x1;}[_0x3b39('0x5')](){const _0x26841c=Array['from'](this[_0x3b39('0x0')][_0x3b39('0x7')]())[_0x3b39('0x8')](_0x12ddda=>_0x12ddda[_0x3b39('0x6')]);this[_0x3b39('0xb')]=this[_0x3b39('0xa')][_0x3b39('0xb')]&&_0x26841c;}['execute'](){const _0x3fc13d=_0x560916(Array[_0x3b39('0xc')](this['_suggestions']['values']()));for(const _0x24fbc2 of _0x3fc13d){const _0x534321=_0x24fbc2[_0x3b39('0x1')]();if(!this['editor'][_0x3b39('0x2')][_0x3b39('0x4')](_0x534321))return;}_0x51bd9f(this[_0x3b39('0x9')][_0x3b39('0x2')],this['_command'],_0x3fc13d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d97=['_selectedSuggestions','values','from','size','canEditAt','_command','model','editor','refresh','_suggestions','getRanges','execute','isEnabled'];(function(_0x586b02,_0x3d979e){const _0x1b4285=function(_0x3f26a9){while(--_0x3f26a9){_0x586b02['push'](_0x586b02['shift']());}};_0x1b4285(++_0x3d979e);}(_0x3d97,0x1d7));const _0x1b42=function(_0x586b02,_0x3d979e){_0x586b02=_0x586b02-0x0;let _0x1b4285=_0x3d97[_0x586b02];return _0x1b4285;};import{Command as _0x411b42}from'ckeditor5/src/core';import{sortSuggestions as _0x371933,getSelectedSuggestions as _0x5962fd,executeCommandForSuggestions as _0x1dc05e}from'../utils/utils';export default class R extends _0x411b42{constructor(_0x1e9438,_0x188691,_0x536aea){super(_0x1e9438),this[_0x1b42('0x2')]=_0x188691,this[_0x1b42('0x6')]=_0x536aea,this[_0x1b42('0xa')]=new Set(),this[_0x1b42('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1b42('0x5')](){const _0x53984e=this[_0x1b42('0x4')][_0x1b42('0x3')]['document']['selection'],_0x492156=Array[_0x1b42('0xc')](this[_0x1b42('0x6')][_0x1b42('0xb')]());this[_0x1b42('0xa')]=_0x5962fd(_0x53984e,_0x492156),this[_0x1b42('0x9')]=this['_command'][_0x1b42('0x9')]&&!!this[_0x1b42('0xa')][_0x1b42('0x0')];}[_0x1b42('0x8')](){const _0x1980a5=_0x371933(Array[_0x1b42('0xc')](this[_0x1b42('0xa')]));for(const _0x3350da of _0x1980a5){const _0x6a524a=_0x3350da[_0x1b42('0x7')]();if(!this['editor']['model'][_0x1b42('0x1')](_0x6a524a))return;}_0x1dc05e(this[_0x1b42('0x4')][_0x1b42('0x3')],this[_0x1b42('0x2')],_0x1980a5);}}
23
+ const _0x30d9=['size','_command','_suggestions','getRanges','model','editor','selection','values','from','refresh','isEnabled','canEditAt','_selectedSuggestions','_isEnabledBasedOnSelection'];(function(_0x52a79f,_0x30d90d){const _0x3b86c4=function(_0x53098a){while(--_0x53098a){_0x52a79f['push'](_0x52a79f['shift']());}};_0x3b86c4(++_0x30d90d);}(_0x30d9,0x79));const _0x3b86=function(_0x52a79f,_0x30d90d){_0x52a79f=_0x52a79f-0x0;let _0x3b86c4=_0x30d9[_0x52a79f];return _0x3b86c4;};import{Command as _0x466457}from'ckeditor5/src/core';import{sortSuggestions as _0x1ed225,getSelectedSuggestions as _0x313b05,executeCommandForSuggestions as _0x27f325}from'../utils/utils';export default class R extends _0x466457{constructor(_0x3784ca,_0x591fd5,_0x2c59c6){super(_0x3784ca),this[_0x3b86('0x6')]=_0x591fd5,this['_suggestions']=_0x2c59c6,this[_0x3b86('0x3')]=new Set(),this[_0x3b86('0x0')](),this[_0x3b86('0x4')]=!0x1;}[_0x3b86('0x0')](){const _0x19699f=this[_0x3b86('0xa')][_0x3b86('0x9')]['document'][_0x3b86('0xb')],_0x5a8f34=Array[_0x3b86('0xd')](this[_0x3b86('0x7')][_0x3b86('0xc')]());this[_0x3b86('0x3')]=_0x313b05(_0x19699f,_0x5a8f34),this[_0x3b86('0x1')]=this[_0x3b86('0x6')][_0x3b86('0x1')]&&!!this[_0x3b86('0x3')][_0x3b86('0x5')];}['execute'](){const _0x2841aa=_0x1ed225(Array[_0x3b86('0xd')](this[_0x3b86('0x3')]));for(const _0x81e24d of _0x2841aa){const _0x11ba83=_0x81e24d[_0x3b86('0x8')]();if(!this['editor'][_0x3b86('0x9')][_0x3b86('0x2')](_0x11ba83))return;}_0x27f325(this[_0x3b86('0xa')][_0x3b86('0x9')],this[_0x3b86('0x6')],_0x2841aa);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52f0=['editor','_enabledCommands','_enableCommands','_disableUnsupportedCommands','affectsData','has','value','_isEnabledBasedOnSelection','commands','TrackChangesCommand','execute','forceDisabled'];(function(_0x5e8531,_0x52f096){const _0x1bdb05=function(_0x1614fa){while(--_0x1614fa){_0x5e8531['push'](_0x5e8531['shift']());}};_0x1bdb05(++_0x52f096);}(_0x52f0,0x1f1));const _0x1bdb=function(_0x5e8531,_0x52f096){_0x5e8531=_0x5e8531-0x0;let _0x1bdb05=_0x52f0[_0x5e8531];return _0x1bdb05;};import{Command as _0x396c58}from'ckeditor5/src/core';export default class _ extends _0x396c58{constructor(_0x5a2077,_0x5e82a8){super(_0x5a2077),this[_0x1bdb('0x8')]=_0x5e82a8,this[_0x1bdb('0x1')]=!0x1,this['refresh'](),this[_0x1bdb('0x2')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x1bdb('0x5')](){this[_0x1bdb('0x1')]=!this[_0x1bdb('0x1')],this[_0x1bdb('0x1')]?this['_disableUnsupportedCommands']():this[_0x1bdb('0x9')]();}[_0x1bdb('0xa')](){for(const _0x5d15e5 of this[_0x1bdb('0x7')][_0x1bdb('0x3')][_0x1bdb('0x3')]())_0x5d15e5[_0x1bdb('0xb')]&&!this['_enabledCommands'][_0x1bdb('0x0')](_0x5d15e5)&&_0x5d15e5[_0x1bdb('0x6')](_0x1bdb('0x4'));}[_0x1bdb('0x9')](){for(const _0x4a6567 of this['editor'][_0x1bdb('0x3')]['commands']())_0x4a6567[_0x1bdb('0xb')]&&!this[_0x1bdb('0x8')][_0x1bdb('0x0')](_0x4a6567)&&_0x4a6567['clearForceDisabled'](_0x1bdb('0x4'));}}
23
+ const _0x34f8=['_enableCommands','isEnabled','_isEnabledBasedOnSelection','_enabledCommands','_disableUnsupportedCommands','value','has','affectsData','editor','execute','clearForceDisabled','commands','TrackChangesCommand','forceDisabled','refresh'];(function(_0x5ca4ec,_0x34f82c){const _0x26b312=function(_0x1b6552){while(--_0x1b6552){_0x5ca4ec['push'](_0x5ca4ec['shift']());}};_0x26b312(++_0x34f82c);}(_0x34f8,0x1e9));const _0x26b3=function(_0x5ca4ec,_0x34f82c){_0x5ca4ec=_0x5ca4ec-0x0;let _0x26b312=_0x34f8[_0x5ca4ec];return _0x26b312;};import{Command as _0x127e81}from'ckeditor5/src/core';export default class _ extends _0x127e81{constructor(_0x30e00e,_0x2985dc){super(_0x30e00e),this[_0x26b3('0x9')]=_0x2985dc,this['value']=!0x1,this[_0x26b3('0x5')](),this[_0x26b3('0x8')]=!0x1;}[_0x26b3('0x5')](){this[_0x26b3('0x7')]=!0x0;}[_0x26b3('0x0')](){this[_0x26b3('0xb')]=!this[_0x26b3('0xb')],this['value']?this[_0x26b3('0xa')]():this[_0x26b3('0x6')]();}[_0x26b3('0xa')](){for(const _0x4a7731 of this[_0x26b3('0xe')][_0x26b3('0x2')][_0x26b3('0x2')]())_0x4a7731['affectsData']&&!this['_enabledCommands']['has'](_0x4a7731)&&_0x4a7731[_0x26b3('0x4')](_0x26b3('0x3'));}[_0x26b3('0x6')](){for(const _0x40d407 of this[_0x26b3('0xe')][_0x26b3('0x2')]['commands']())_0x40d407[_0x26b3('0xd')]&&!this[_0x26b3('0x9')][_0x26b3('0xc')](_0x40d407)&&_0x40d407[_0x26b3('0x1')]('TrackChangesCommand');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5202=['contentLanguageDirection','selection','registerDescriptionCallback','FORMAT_ALIGN_TO_CENTER','checkAttribute','_descriptionFactory','afterInit','getAttribute','*Format:*\x20%0','FORMAT_ALIGN_TO_LEFT','markBlockFormat','locale','commandParams','model','AlignmentEditing','alignment','center','document','ltr','has','plugins','filter','FORMAT_ALIGN_TO_RIGHT','right','editor','get','value','left','TrackChangesEditing'];(function(_0x59448f,_0x520254){const _0x4f6e32=function(_0x563689){while(--_0x563689){_0x59448f['push'](_0x59448f['shift']());}};_0x4f6e32(++_0x520254);}(_0x5202,0x1db));const _0x4f6e=function(_0x59448f,_0x520254){_0x59448f=_0x59448f-0x0;let _0x4f6e32=_0x5202[_0x59448f];return _0x4f6e32;};import{Plugin as _0x374cb4}from'ckeditor5/src/core';import{getTranslation as _0x7001d8}from'../utils/common-translations';export default class x extends _0x374cb4{[_0x4f6e('0x18')](){const _0x547d72=this[_0x4f6e('0xd')],_0x434c78=_0x547d72[_0x4f6e('0x0')];if(!_0x547d72[_0x4f6e('0x9')][_0x4f6e('0x8')](_0x4f6e('0x3')))return;const _0x33d447=_0x547d72[_0x4f6e('0x9')][_0x4f6e('0xe')](_0x4f6e('0x11'));_0x33d447['enableCommand'](_0x4f6e('0x4'),(_0x153261,_0x234c5c={})=>{let _0x34fcb0=_0x234c5c['value'];_0x234c5c[_0x4f6e('0xf')]||(_0x34fcb0=_0x4f6e('0x7')===_0x547d72[_0x4f6e('0x0')][_0x4f6e('0x12')]?_0x4f6e('0x10'):'right');const _0x3898a8=Array['from'](this[_0x4f6e('0xd')][_0x4f6e('0x2')][_0x4f6e('0x6')][_0x4f6e('0x13')]['getSelectedBlocks']())[_0x4f6e('0xa')](_0x531bb7=>function(_0x3edf5d,_0x5154d1,_0x115c73){const _0x405162=_0x3edf5d[_0x4f6e('0x19')](_0x4f6e('0x4'))||null;return _0x5154d1[_0x4f6e('0x16')](_0x3edf5d,_0x4f6e('0x4'))&&_0x115c73!=_0x405162;}(_0x531bb7,this[_0x4f6e('0xd')]['model']['schema'],_0x34fcb0));_0x547d72['model']['change'](()=>{for(const _0x329b22 of _0x3898a8)_0x33d447[_0x4f6e('0x1c')](_0x329b22,{'commandName':_0x4f6e('0x4'),'commandParams':[{'value':_0x34fcb0}]});});}),_0x33d447[_0x4f6e('0x17')][_0x4f6e('0x14')](_0x5ed11d=>{const {data:_0x14c842}=_0x5ed11d;if(_0x14c842&&_0x4f6e('0x4')==_0x14c842['commandName']){const _0x351a51=_0x14c842[_0x4f6e('0x1')][0x0]['value'];return{'type':'format','content':_0x7001d8(_0x434c78,_0x4f6e('0x1a'),function(_0x30e077){switch(_0x30e077){case _0x4f6e('0x10'):return _0x7001d8(_0x434c78,_0x4f6e('0x1b'));case _0x4f6e('0xc'):return _0x7001d8(_0x434c78,_0x4f6e('0xb'));case _0x4f6e('0x5'):return _0x7001d8(_0x434c78,_0x4f6e('0x15'));case'justify':return _0x7001d8(_0x434c78,'FORMAT_JUSTIFY_TEXT');}}(_0x351a51))};}});}}
23
+ const _0x41aa=['get','registerDescriptionCallback','right','checkAttribute','value','left','selection','editor','FORMAT_JUSTIFY_TEXT','getAttribute','commandName','model','contentLanguageDirection','justify','filter','FORMAT_ALIGN_TO_LEFT','locale','has','FORMAT_ALIGN_TO_RIGHT','from','markBlockFormat','getSelectedBlocks','center','_descriptionFactory','alignment','enableCommand','schema','document','commandParams'];(function(_0xc11b8f,_0x41aa67){const _0x310f04=function(_0xd103da){while(--_0xd103da){_0xc11b8f['push'](_0xc11b8f['shift']());}};_0x310f04(++_0x41aa67);}(_0x41aa,0x96));const _0x310f=function(_0xc11b8f,_0x41aa67){_0xc11b8f=_0xc11b8f-0x0;let _0x310f04=_0x41aa[_0xc11b8f];return _0x310f04;};import{Plugin as _0x3f190a}from'ckeditor5/src/core';import{getTranslation as _0x1b88e4}from'../utils/common-translations';export default class j extends _0x3f190a{['afterInit'](){const _0x18e560=this['editor'],_0x50e8e9=_0x18e560[_0x310f('0xb')];if(!_0x18e560['plugins'][_0x310f('0xc')]('AlignmentEditing'))return;const _0x5a50db=_0x18e560['plugins'][_0x310f('0x18')]('TrackChangesEditing');_0x5a50db[_0x310f('0x14')](_0x310f('0x13'),(_0x1ee7a0,_0x51fe99={})=>{let _0x5edb56=_0x51fe99[_0x310f('0x1c')];_0x51fe99[_0x310f('0x1c')]||(_0x5edb56='ltr'===_0x18e560[_0x310f('0xb')][_0x310f('0x7')]?_0x310f('0x0'):_0x310f('0x1a'));const _0x3f20e9=Array[_0x310f('0xe')](this[_0x310f('0x2')]['model'][_0x310f('0x16')][_0x310f('0x1')][_0x310f('0x10')]())[_0x310f('0x9')](_0x515372=>function(_0x5ada23,_0xf57b70,_0x1fcd6e){const _0x19b97b=_0x5ada23[_0x310f('0x4')](_0x310f('0x13'))||null;return _0xf57b70[_0x310f('0x1b')](_0x5ada23,_0x310f('0x13'))&&_0x1fcd6e!=_0x19b97b;}(_0x515372,this[_0x310f('0x2')][_0x310f('0x6')][_0x310f('0x15')],_0x5edb56));_0x18e560['model']['change'](()=>{for(const _0x1818cf of _0x3f20e9)_0x5a50db[_0x310f('0xf')](_0x1818cf,{'commandName':'alignment','commandParams':[{'value':_0x5edb56}]});});}),_0x5a50db[_0x310f('0x12')][_0x310f('0x19')](_0x3a2d3b=>{const {data:_0x269835}=_0x3a2d3b;if(_0x269835&&_0x310f('0x13')==_0x269835[_0x310f('0x5')]){const _0x10ad90=_0x269835[_0x310f('0x17')][0x0]['value'];return{'type':'format','content':_0x1b88e4(_0x50e8e9,'*Format:*\x20%0',function(_0x2b8132){switch(_0x2b8132){case'left':return _0x1b88e4(_0x50e8e9,_0x310f('0xa'));case'right':return _0x1b88e4(_0x50e8e9,_0x310f('0xd'));case _0x310f('0x11'):return _0x1b88e4(_0x50e8e9,'FORMAT_ALIGN_TO_CENTER');case _0x310f('0x8'):return _0x1b88e4(_0x50e8e9,_0x310f('0x3'));}}(_0x10ad90))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x310a=['TrackChangesEditing','registerDescriptionCallback','change','has','format','StrikethroughEditing','superscript','subscript','FORMAT_STRIKETHROUGH','get','selection','FORMAT_CODE','plugins','FORMAT_UNDERLINE','*Format:*\x20%0','ItalicEditing','CodeEditing','model','getRanges','FORMAT_SUPERSCRIPT','from','commandParams','italic','afterInit','isCollapsed','FORMAT_BOLD','code','bold','enableCommand','forceValue','toLowerCase','strikethrough','slice','editor','UnderlineEditing','SuperscriptEditing','SubscriptEditing','commands','_descriptionFactory'];(function(_0x4d081c,_0x310a9f){const _0x2d92aa=function(_0x10847f){while(--_0x10847f){_0x4d081c['push'](_0x4d081c['shift']());}};_0x2d92aa(++_0x310a9f);}(_0x310a,0x1a7));const _0x2d92=function(_0x4d081c,_0x310a9f){_0x4d081c=_0x4d081c-0x0;let _0x2d92aa=_0x310a[_0x4d081c];return _0x2d92aa;};import{Plugin as _0x4b53b0}from'ckeditor5/src/core';import{getTranslation as _0x17379d}from'../utils/common-translations';import{getRangesWithAttribute as _0x234d62}from'./utils';const Kt=['BoldEditing',_0x2d92('0x15'),_0x2d92('0x1'),_0x2d92('0x16'),_0x2d92('0xb'),_0x2d92('0x3'),_0x2d92('0x2')];export default class U extends _0x4b53b0{[_0x2d92('0x1d')](){const _0x37b597=this[_0x2d92('0x0')],_0x2c18dc=_0x37b597[_0x2d92('0x17')],_0xcb52dd=_0x37b597[_0x2d92('0x12')]['get'](_0x2d92('0x6')),_0x4ec3f9=_0x37b597['locale'];for(const _0x44cace of Kt){if(!_0x37b597[_0x2d92('0x12')][_0x2d92('0x9')](_0x44cace))continue;const _0x12d6e4=_0x44cace[_0x2d92('0x26')](0x0,-0x7)[_0x2d92('0x24')](),_0x3eb741=_0x37b597[_0x2d92('0x4')][_0x2d92('0xf')](_0x12d6e4);_0xcb52dd[_0x2d92('0x22')](_0x12d6e4,(_0x50d80e,_0x417dba={})=>{const _0x1bdd08=_0x2c18dc['document'][_0x2d92('0x10')];if(_0x1bdd08[_0x2d92('0x1e')])return void _0x50d80e(_0x417dba);const _0x29db32=void 0x0!==_0x417dba[_0x2d92('0x23')]?_0x417dba[_0x2d92('0x23')]:!_0x3eb741['value'];_0x2c18dc[_0x2d92('0x8')](()=>{const _0x27cdd3=Array[_0x2d92('0x1a')](_0x1bdd08[_0x2d92('0x18')]());for(const _0x1a3dda of _0x27cdd3){const _0x10a2f5=_0x29db32?[_0x1a3dda]:_0x234d62(_0x12d6e4,_0x1a3dda,_0x2c18dc);for(const _0x305a9b of _0x10a2f5)_0xcb52dd['markInlineFormat'](_0x305a9b,{'commandName':_0x12d6e4,'commandParams':[{'forceValue':_0x29db32}]});}});});}function _0x443771(_0x4adf57,_0x4e7461){_0xcb52dd[_0x2d92('0x5')][_0x2d92('0x7')](_0x3a4f9e=>{const {data:_0x52adcd}=_0x3a4f9e;if(_0x52adcd&&_0x52adcd['commandName']===_0x4adf57)return _0x52adcd[_0x2d92('0x1b')][0x0][_0x2d92('0x23')]?{'type':_0x2d92('0xa'),'content':_0x17379d(_0x4ec3f9,_0x2d92('0x14'),_0x4e7461)}:{'type':_0x2d92('0xa'),'content':_0x17379d(_0x4ec3f9,'*Remove\x20format:*\x20%0',_0x4e7461)};});}_0x443771(_0x2d92('0x21'),_0x17379d(_0x4ec3f9,_0x2d92('0x1f'))),_0x443771(_0x2d92('0x1c'),_0x17379d(_0x4ec3f9,'FORMAT_ITALIC')),_0x443771('underline',_0x17379d(_0x4ec3f9,_0x2d92('0x13'))),_0x443771(_0x2d92('0x20'),_0x17379d(_0x4ec3f9,_0x2d92('0x11'))),_0x443771(_0x2d92('0x25'),_0x17379d(_0x4ec3f9,_0x2d92('0xe'))),_0x443771(_0x2d92('0xd'),_0x17379d(_0x4ec3f9,'FORMAT_SUBSCRIPT')),_0x443771(_0x2d92('0xc'),_0x17379d(_0x4ec3f9,_0x2d92('0x19')));}}
23
+ const _0x27e7=['slice','*Remove\x20format:*\x20%0','FORMAT_STRIKETHROUGH','CodeEditing','superscript','commandParams','change','get','FORMAT_ITALIC','plugins','getRanges','subscript','bold','from','underline','*Format:*\x20%0','selection','value','FORMAT_SUBSCRIPT','italic','commands','BoldEditing','forceValue','FORMAT_CODE','SuperscriptEditing','format','toLowerCase','enableCommand','_descriptionFactory','FORMAT_SUPERSCRIPT','registerDescriptionCallback','ItalicEditing','locale','TrackChangesEditing','afterInit','isCollapsed','commandName','has','editor','markInlineFormat'];(function(_0x23c586,_0x27e709){const _0x3fa104=function(_0x464c0c){while(--_0x464c0c){_0x23c586['push'](_0x23c586['shift']());}};_0x3fa104(++_0x27e709);}(_0x27e7,0xfa));const _0x3fa1=function(_0x23c586,_0x27e709){_0x23c586=_0x23c586-0x0;let _0x3fa104=_0x27e7[_0x23c586];return _0x3fa104;};import{Plugin as _0x5a5dd2}from'ckeditor5/src/core';import{getTranslation as _0x13ede9}from'../utils/common-translations';import{getRangesWithAttribute as _0x1111ab}from'./utils';const Yt=[_0x3fa1('0xb'),_0x3fa1('0x15'),'UnderlineEditing',_0x3fa1('0x21'),'StrikethroughEditing','SubscriptEditing',_0x3fa1('0xe')];export default class x extends _0x5a5dd2{[_0x3fa1('0x18')](){const _0x4cc7f3=this[_0x3fa1('0x1c')],_0x3c5601=_0x4cc7f3['model'],_0x48764e=_0x4cc7f3[_0x3fa1('0x27')][_0x3fa1('0x25')](_0x3fa1('0x17')),_0x27fe1f=_0x4cc7f3[_0x3fa1('0x16')];for(const _0x992666 of Yt){if(!_0x4cc7f3[_0x3fa1('0x27')][_0x3fa1('0x1b')](_0x992666))continue;const _0x4d70c3=_0x992666[_0x3fa1('0x1e')](0x0,-0x7)[_0x3fa1('0x10')](),_0xc47d1c=_0x4cc7f3[_0x3fa1('0xa')][_0x3fa1('0x25')](_0x4d70c3);_0x48764e[_0x3fa1('0x11')](_0x4d70c3,(_0x2ae29e,_0x20aeea={})=>{const _0x2b4bc9=_0x3c5601['document'][_0x3fa1('0x6')];if(_0x2b4bc9[_0x3fa1('0x19')])return void _0x2ae29e(_0x20aeea);const _0x431bcd=void 0x0!==_0x20aeea[_0x3fa1('0xc')]?_0x20aeea['forceValue']:!_0xc47d1c[_0x3fa1('0x7')];_0x3c5601[_0x3fa1('0x24')](()=>{const _0x21584c=Array[_0x3fa1('0x3')](_0x2b4bc9[_0x3fa1('0x0')]());for(const _0x34d004 of _0x21584c){const _0x143e6c=_0x431bcd?[_0x34d004]:_0x1111ab(_0x4d70c3,_0x34d004,_0x3c5601);for(const _0x38fae4 of _0x143e6c)_0x48764e[_0x3fa1('0x1d')](_0x38fae4,{'commandName':_0x4d70c3,'commandParams':[{'forceValue':_0x431bcd}]});}});});}function _0x13e468(_0x57596a,_0xcd14cc){_0x48764e[_0x3fa1('0x12')][_0x3fa1('0x14')](_0x66226=>{const {data:_0x5324b3}=_0x66226;if(_0x5324b3&&_0x5324b3[_0x3fa1('0x1a')]===_0x57596a)return _0x5324b3[_0x3fa1('0x23')][0x0][_0x3fa1('0xc')]?{'type':_0x3fa1('0xf'),'content':_0x13ede9(_0x27fe1f,_0x3fa1('0x5'),_0xcd14cc)}:{'type':'format','content':_0x13ede9(_0x27fe1f,_0x3fa1('0x1f'),_0xcd14cc)};});}_0x13e468(_0x3fa1('0x2'),_0x13ede9(_0x27fe1f,'FORMAT_BOLD')),_0x13e468(_0x3fa1('0x9'),_0x13ede9(_0x27fe1f,_0x3fa1('0x26'))),_0x13e468(_0x3fa1('0x4'),_0x13ede9(_0x27fe1f,'FORMAT_UNDERLINE')),_0x13e468('code',_0x13ede9(_0x27fe1f,_0x3fa1('0xd'))),_0x13e468('strikethrough',_0x13ede9(_0x27fe1f,_0x3fa1('0x20'))),_0x13e468(_0x3fa1('0x1'),_0x13ede9(_0x27fe1f,_0x3fa1('0x8'))),_0x13e468(_0x3fa1('0x22'),_0x13ede9(_0x27fe1f,_0x3fa1('0x13')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcddd=['from','ELEMENT_BLOCK_QUOTE','forceValue','afterInit','format','locale','filter','_descriptionFactory','editor','enableCommand','plugins','parent','commandName','BlockQuoteEditing','model','checkChild','change','*Remove\x20format:*\x20%0','markBlockFormat','blockQuote','document','value','name','schema','commands','get','$root','commandParams'];(function(_0x1ccb89,_0xcddd79){const _0x2a0b5a=function(_0x51f281){while(--_0x51f281){_0x1ccb89['push'](_0x1ccb89['shift']());}};_0x2a0b5a(++_0xcddd79);}(_0xcddd,0xdd));const _0x2a0b=function(_0x1ccb89,_0xcddd79){_0x1ccb89=_0x1ccb89-0x0;let _0x2a0b5a=_0xcddd[_0x1ccb89];return _0x2a0b5a;};import{Plugin as _0x543769}from'ckeditor5/src/core';import{getTranslation as _0xe6d217}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x478fa6}from'../utils/utils';export default class j extends _0x543769{[_0x2a0b('0x6')](){const _0x2e0002=this[_0x2a0b('0xb')],_0x2e5ce7=_0x2e0002[_0x2a0b('0x8')];if(!_0x2e0002[_0x2a0b('0xd')]['has'](_0x2a0b('0x10')))return;const _0x2cf576=_0x2e0002[_0x2a0b('0xd')][_0x2a0b('0x0')]('TrackChangesEditing'),_0xedd0d8=this[_0x2a0b('0xb')][_0x2a0b('0x1b')][_0x2a0b('0x0')](_0x2a0b('0x16'));_0x2cf576[_0x2a0b('0xc')]('blockQuote',(_0x40a88f,_0x553d22={})=>{const _0x151dc3=this[_0x2a0b('0xb')]['model'][_0x2a0b('0x17')]['selection'],_0x194366=_0x553d22&&void 0x0!==_0x553d22[_0x2a0b('0x5')]?_0x553d22[_0x2a0b('0x5')]:!_0xedd0d8[_0x2a0b('0x18')];let _0x480222=[];if(_0x194366){const _0x4d67f6=Array[_0x2a0b('0x3')](_0x151dc3['getSelectedBlocks']())[_0x2a0b('0x9')](_0x285c51=>Xt(_0x285c51)||function(_0x256e1e,_0x7c2e8c){const _0x3dbbba=_0x7c2e8c['checkChild'](_0x256e1e[_0x2a0b('0xe')],_0x2a0b('0x16')),_0x225b71=_0x7c2e8c[_0x2a0b('0x12')]([_0x2a0b('0x1'),_0x2a0b('0x16')],_0x256e1e);return _0x3dbbba&&_0x225b71;}(_0x285c51,this[_0x2a0b('0xb')][_0x2a0b('0x11')][_0x2a0b('0x1a')]));_0x480222=_0x478fa6(_0x4d67f6,_0x2e0002[_0x2a0b('0x11')]);}else{const _0x4093a2=Array[_0x2a0b('0x3')](_0x151dc3['getSelectedBlocks']())[_0x2a0b('0x9')](_0x202add=>Xt(_0x202add));_0x480222=_0x478fa6(_0x4093a2,_0x2e0002['model']);}_0x2e0002['model'][_0x2a0b('0x13')](()=>{for(const _0x4f9010 of _0x480222)_0x2cf576[_0x2a0b('0x15')](_0x4f9010,{'commandName':_0x2a0b('0x16'),'commandParams':[{'forceValue':_0x194366}]});});}),_0x2cf576[_0x2a0b('0xa')]['registerDescriptionCallback'](_0x45fa14=>{const {data:_0x4ac7c9}=_0x45fa14;if(_0x4ac7c9&&_0x2a0b('0x16')==_0x4ac7c9[_0x2a0b('0xf')]){const _0x3edf2c=_0xe6d217(_0x2e5ce7,_0x2a0b('0x4'));return _0x4ac7c9[_0x2a0b('0x2')][0x0][_0x2a0b('0x5')]?{'type':_0x2a0b('0x7'),'content':_0xe6d217(_0x2e5ce7,'*Format:*\x20%0',_0x3edf2c)}:{'type':_0x2a0b('0x7'),'content':_0xe6d217(_0x2e5ce7,_0x2a0b('0x14'),_0x3edf2c)};}});}}function Xt(_0x3fa70b){return _0x2a0b('0x16')==_0x3fa70b['parent'][_0x2a0b('0x19')];}
23
+ const _0x3392=['ELEMENT_BLOCK_QUOTE','afterInit','get','forceValue','parent','markBlockFormat','document','selection','model','format','commands','enableCommand','filter','commandName','editor','getSelectedBlocks','schema','*Remove\x20format:*\x20%0','$root','from','blockQuote','registerDescriptionCallback','has','commandParams','plugins','TrackChangesEditing','BlockQuoteEditing','checkChild'];(function(_0x129563,_0x339232){const _0x319efe=function(_0x4cf0d8){while(--_0x4cf0d8){_0x129563['push'](_0x129563['shift']());}};_0x319efe(++_0x339232);}(_0x3392,0xb2));const _0x319e=function(_0x129563,_0x339232){_0x129563=_0x129563-0x0;let _0x319efe=_0x3392[_0x129563];return _0x319efe;};import{Plugin as _0x893606}from'ckeditor5/src/core';import{getTranslation as _0x56a562}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x421619}from'../utils/utils';export default class U extends _0x893606{[_0x319e('0x13')](){const _0x57b049=this[_0x319e('0x4')],_0x5930ed=_0x57b049['locale'];if(!_0x57b049[_0x319e('0xe')][_0x319e('0xc')](_0x319e('0x10')))return;const _0x2b41a0=_0x57b049[_0x319e('0xe')][_0x319e('0x14')](_0x319e('0xf')),_0x34fb58=this['editor'][_0x319e('0x0')][_0x319e('0x14')](_0x319e('0xa'));_0x2b41a0[_0x319e('0x1')](_0x319e('0xa'),(_0x395bfd,_0x408775={})=>{const _0x3def8a=this[_0x319e('0x4')][_0x319e('0x1a')][_0x319e('0x18')][_0x319e('0x19')],_0x3d1ed7=_0x408775&&void 0x0!==_0x408775[_0x319e('0x15')]?_0x408775[_0x319e('0x15')]:!_0x34fb58['value'];let _0x146657=[];if(_0x3d1ed7){const _0x435f54=Array['from'](_0x3def8a[_0x319e('0x5')]())[_0x319e('0x2')](_0x11ad82=>to(_0x11ad82)||function(_0x1c2692,_0x1f325f){const _0x45850e=_0x1f325f[_0x319e('0x11')](_0x1c2692[_0x319e('0x16')],'blockQuote'),_0x593f16=_0x1f325f[_0x319e('0x11')]([_0x319e('0x8'),'blockQuote'],_0x1c2692);return _0x45850e&&_0x593f16;}(_0x11ad82,this[_0x319e('0x4')][_0x319e('0x1a')][_0x319e('0x6')]));_0x146657=_0x421619(_0x435f54,_0x57b049['model']);}else{const _0x62eca4=Array[_0x319e('0x9')](_0x3def8a[_0x319e('0x5')]())[_0x319e('0x2')](_0x1cb990=>to(_0x1cb990));_0x146657=_0x421619(_0x62eca4,_0x57b049['model']);}_0x57b049[_0x319e('0x1a')]['change'](()=>{for(const _0x3c03bc of _0x146657)_0x2b41a0[_0x319e('0x17')](_0x3c03bc,{'commandName':_0x319e('0xa'),'commandParams':[{'forceValue':_0x3d1ed7}]});});}),_0x2b41a0['_descriptionFactory'][_0x319e('0xb')](_0x4cbb9b=>{const {data:_0x276cc8}=_0x4cbb9b;if(_0x276cc8&&'blockQuote'==_0x276cc8[_0x319e('0x3')]){const _0x259348=_0x56a562(_0x5930ed,_0x319e('0x12'));return _0x276cc8[_0x319e('0xd')][0x0][_0x319e('0x15')]?{'type':'format','content':_0x56a562(_0x5930ed,'*Format:*\x20%0',_0x259348)}:{'type':_0x319e('0x1b'),'content':_0x56a562(_0x5930ed,_0x319e('0x7'),_0x259348)};}});}}function to(_0x46c2c2){return'blockQuote'==_0x46c2c2['parent']['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4de1=['get','ckbox','editor','afterInit','commands'];(function(_0x4e7e48,_0x4de10c){const _0x15571a=function(_0x2e301e){while(--_0x2e301e){_0x4e7e48['push'](_0x4e7e48['shift']());}};_0x15571a(++_0x4de10c);}(_0x4de1,0x1ae));const _0x1557=function(_0x4e7e48,_0x4de10c){_0x4e7e48=_0x4e7e48-0x0;let _0x15571a=_0x4de1[_0x4e7e48];return _0x15571a;};import{Plugin as _0x409ff1}from'ckeditor5/src/core';export default class E extends _0x409ff1{[_0x1557('0x3')](){const _0x48785a=this[_0x1557('0x2')];_0x48785a[_0x1557('0x4')][_0x1557('0x0')](_0x1557('0x1'))&&_0x48785a['plugins'][_0x1557('0x0')]('TrackChangesEditing')['enableCommand'](_0x1557('0x1'));}}
23
+ const _0x33f2=['commands','plugins','enableCommand','get','TrackChangesEditing','ckbox','afterInit'];(function(_0x411410,_0x33f2d4){const _0x51917c=function(_0x5c3f0e){while(--_0x5c3f0e){_0x411410['push'](_0x411410['shift']());}};_0x51917c(++_0x33f2d4);}(_0x33f2,0x175));const _0x5191=function(_0x411410,_0x33f2d4){_0x411410=_0x411410-0x0;let _0x51917c=_0x33f2[_0x411410];return _0x51917c;};import{Plugin as _0x4bfaeb}from'ckeditor5/src/core';export default class O extends _0x4bfaeb{[_0x5191('0x4')](){const _0x33364b=this['editor'];_0x33364b[_0x5191('0x5')][_0x5191('0x1')](_0x5191('0x3'))&&_0x33364b[_0x5191('0x6')]['get'](_0x5191('0x2'))[_0x5191('0x0')](_0x5191('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ed0=['*Format:*\x20%0','from','getSelectedBlocks','config','isLimit','enableCommand','*Remove\x20format:*\x20%0','get','schema','find','value','commands','ELEMENT_CODE_BLOCK','language','CodeBlock','_descriptionFactory','filter','formatBlock','checkChild','commandParams','forceValue','codeBlock','document','blockName','registerElementLabel','editor','plugins','afterInit','commandName','model','outdentCodeBlock','locale','TrackChangesEditing','languages','registerDescriptionCallback','has','format','indentCodeBlock','markBlockFormat'];(function(_0x12f015,_0x4ed0f3){const _0x5f57a5=function(_0x15abd3){while(--_0x15abd3){_0x12f015['push'](_0x12f015['shift']());}};_0x5f57a5(++_0x4ed0f3);}(_0x4ed0,0xb3));const _0x5f57=function(_0x12f015,_0x4ed0f3){_0x12f015=_0x12f015-0x0;let _0x5f57a5=_0x4ed0[_0x12f015];return _0x5f57a5;};import{Plugin as _0x46d262}from'ckeditor5/src/core';import{getTranslation as _0x3d4618}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x43b4cb}from'../utils/utils';export default class O extends _0x46d262{[_0x5f57('0x4')](){const _0x38c82d=this[_0x5f57('0x2')];if(!_0x38c82d[_0x5f57('0x3')][_0x5f57('0xc')](_0x5f57('0x1e')))return;const _0x4dda47=_0x38c82d[_0x5f57('0x3')]['get'](_0x5f57('0x9')),_0x310a14=_0x38c82d[_0x5f57('0x8')],_0xe3bcfa=_0x38c82d[_0x5f57('0x13')][_0x5f57('0x17')](_0x5f57('0x25'))[_0x5f57('0xa')],_0x2f53d3=_0x38c82d[_0x5f57('0x1b')][_0x5f57('0x17')](_0x5f57('0x25'));_0x4dda47[_0x5f57('0x15')](_0x5f57('0xe')),_0x4dda47[_0x5f57('0x15')](_0x5f57('0x7')),_0x4dda47[_0x5f57('0x15')](_0x5f57('0x25'),(_0x5f04a9,_0xac6ac9={})=>{const _0x2c703b=_0x38c82d[_0x5f57('0x6')],_0x2393ef=_0x38c82d[_0x5f57('0x6')][_0x5f57('0x26')]['selection'],_0x1b2b1c=_0xac6ac9&&void 0x0!==_0xac6ac9['forceValue']?_0xac6ac9[_0x5f57('0x24')]:!_0x2f53d3[_0x5f57('0x1a')];let _0x12779a;_0xac6ac9['language']||(_0xac6ac9[_0x5f57('0x1d')]=_0xe3bcfa[0x0][_0x5f57('0x1d')]),_0x12779a=_0x1b2b1c?Array[_0x5f57('0x11')](_0x2393ef['getSelectedBlocks']())[_0x5f57('0x20')](_0x276c65=>oo(_0x276c65)||function(_0x39adba,_0x22cb04){if(_0x39adba['is']('rootElement')||_0x22cb04[_0x5f57('0x14')](_0x39adba))return!0x1;return _0x22cb04[_0x5f57('0x22')](_0x39adba['parent'],_0x5f57('0x25'));}(_0x276c65,_0x2c703b[_0x5f57('0x18')])):Array[_0x5f57('0x11')](_0x2393ef[_0x5f57('0x12')]())[_0x5f57('0x20')](_0x3c15e3=>oo(_0x3c15e3));const _0x17edfb=_0x43b4cb(_0x12779a,_0x2c703b);_0x2c703b['change'](()=>{for(const _0x58f783 of _0x17edfb)_0x4dda47[_0x5f57('0xf')](_0x58f783,{'commandName':_0x5f57('0x25'),'commandParams':[{..._0xac6ac9,'forceValue':_0x1b2b1c}],'formatGroupId':_0x5f57('0x0')});});}),(_0x4dda47['_descriptionFactory'][_0x5f57('0x1')]('codeBlock',_0x3cd6c5=>_0x3d4618(_0x310a14,'ELEMENT_CODE_BLOCK',_0x3cd6c5)),_0x4dda47[_0x5f57('0x1f')][_0x5f57('0xb')](_0x35dd11=>{const _0x50cfb7=_0x310a14['t'],{type:_0xce7639,data:_0x5cfb52}=_0x35dd11;if(_0x5f57('0x21')==_0xce7639&&_0x5cfb52&&'codeBlock'==_0x5cfb52[_0x5f57('0x5')]){const _0x3b1c6f=_0x5cfb52[_0x5f57('0x23')][0x0][_0x5f57('0x1d')],_0x9b6ec5=_0x50cfb7(_0xe3bcfa[_0x5f57('0x19')](_0x115b1e=>_0x115b1e[_0x5f57('0x1d')]===_0x3b1c6f)['label']);return _0x5cfb52[_0x5f57('0x23')][0x0][_0x5f57('0x24')]?{'type':'format','content':_0x3d4618(_0x310a14,_0x5f57('0x10'),_0x3d4618(_0x310a14,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x9b6ec5+')')}:{'type':_0x5f57('0xd'),'content':_0x3d4618(_0x310a14,_0x5f57('0x16'),_0x3d4618(_0x310a14,_0x5f57('0x1c'),0x1))};}}));}}function oo(_0x1a5b7a){return _0x5f57('0x25')==_0x1a5b7a['name'];}
23
+ const _0x1061=['codeBlock','editor','document','label','config','registerElementLabel','ELEMENT_CODE_BLOCK','language','schema','_descriptionFactory','find','name','rootElement','plugins','format','languages','isLimit','enableCommand','*Format:*\x20%0','locale','commandParams','formatBlock','afterInit','filter','get','markBlockFormat','checkChild','getSelectedBlocks','*Remove\x20format:*\x20%0','selection','change','forceValue','commands','registerDescriptionCallback','TrackChangesEditing','outdentCodeBlock','model','parent','from','has','commandName'];(function(_0x43d445,_0x1061eb){const _0x245cf5=function(_0x4291f9){while(--_0x4291f9){_0x43d445['push'](_0x43d445['shift']());}};_0x245cf5(++_0x1061eb);}(_0x1061,0x181));const _0x245c=function(_0x43d445,_0x1061eb){_0x43d445=_0x43d445-0x0;let _0x245cf5=_0x1061[_0x43d445];return _0x245cf5;};import{Plugin as _0x49367f}from'ckeditor5/src/core';import{getTranslation as _0x309601}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3e0ed0}from'../utils/utils';export default class E extends _0x49367f{[_0x245c('0x6')](){const _0x25f499=this[_0x245c('0x1a')];if(!_0x25f499[_0x245c('0x26')][_0x245c('0x17')]('CodeBlock'))return;const _0x4545d2=_0x25f499[_0x245c('0x26')]['get'](_0x245c('0x12')),_0x5abc8e=_0x25f499[_0x245c('0x3')],_0x118a2e=_0x25f499[_0x245c('0x1d')][_0x245c('0x8')]('codeBlock')[_0x245c('0x28')],_0x4f4a94=_0x25f499[_0x245c('0x10')]['get'](_0x245c('0x19'));_0x4545d2[_0x245c('0x1')]('indentCodeBlock'),_0x4545d2[_0x245c('0x1')](_0x245c('0x13')),_0x4545d2[_0x245c('0x1')]('codeBlock',(_0x1c710e,_0x557f4e={})=>{const _0x455f2a=_0x25f499[_0x245c('0x14')],_0x26cace=_0x25f499[_0x245c('0x14')][_0x245c('0x1b')][_0x245c('0xd')],_0x51bcee=_0x557f4e&&void 0x0!==_0x557f4e[_0x245c('0xf')]?_0x557f4e[_0x245c('0xf')]:!_0x4f4a94['value'];let _0x4f363a;_0x557f4e[_0x245c('0x20')]||(_0x557f4e[_0x245c('0x20')]=_0x118a2e[0x0]['language']),_0x4f363a=_0x51bcee?Array[_0x245c('0x16')](_0x26cace[_0x245c('0xb')]())[_0x245c('0x7')](_0x3ab7dd=>oo(_0x3ab7dd)||function(_0x3d4ce2,_0x3af540){if(_0x3d4ce2['is'](_0x245c('0x25'))||_0x3af540[_0x245c('0x0')](_0x3d4ce2))return!0x1;return _0x3af540[_0x245c('0xa')](_0x3d4ce2[_0x245c('0x15')],_0x245c('0x19'));}(_0x3ab7dd,_0x455f2a[_0x245c('0x21')])):Array[_0x245c('0x16')](_0x26cace[_0x245c('0xb')]())[_0x245c('0x7')](_0x45cab6=>oo(_0x45cab6));const _0x18eafe=_0x3e0ed0(_0x4f363a,_0x455f2a);_0x455f2a[_0x245c('0xe')](()=>{for(const _0x3647c9 of _0x18eafe)_0x4545d2[_0x245c('0x9')](_0x3647c9,{'commandName':_0x245c('0x19'),'commandParams':[{..._0x557f4e,'forceValue':_0x51bcee}],'formatGroupId':'blockName'});});}),(_0x4545d2[_0x245c('0x22')][_0x245c('0x1e')]('codeBlock',_0x5893b7=>_0x309601(_0x5abc8e,_0x245c('0x1f'),_0x5893b7)),_0x4545d2[_0x245c('0x22')][_0x245c('0x11')](_0x5b65b8=>{const _0x1a6118=_0x5abc8e['t'],{type:_0x549d43,data:_0x278179}=_0x5b65b8;if(_0x245c('0x5')==_0x549d43&&_0x278179&&_0x245c('0x19')==_0x278179[_0x245c('0x18')]){const _0x3bc96d=_0x278179['commandParams'][0x0][_0x245c('0x20')],_0x43a5d8=_0x1a6118(_0x118a2e[_0x245c('0x23')](_0x2357d5=>_0x2357d5[_0x245c('0x20')]===_0x3bc96d)[_0x245c('0x1c')]);return _0x278179[_0x245c('0x4')][0x0][_0x245c('0xf')]?{'type':_0x245c('0x27'),'content':_0x309601(_0x5abc8e,_0x245c('0x2'),_0x309601(_0x5abc8e,_0x245c('0x1f'),0x1)+'\x20('+_0x43a5d8+')')}:{'type':_0x245c('0x27'),'content':_0x309601(_0x5abc8e,_0x245c('0xc'),_0x309601(_0x5abc8e,_0x245c('0x1f'),0x1))};}}));}}function oo(_0x2da90d){return'codeBlock'==_0x2da90d[_0x245c('0x24')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1326=['enableCommand','TrackChangesEditing','addCommentThread','CommentsEditing','has','afterInit','editor','plugins'];(function(_0x284f0d,_0x1326c2){const _0x152fcc=function(_0x24d470){while(--_0x24d470){_0x284f0d['push'](_0x284f0d['shift']());}};_0x152fcc(++_0x1326c2);}(_0x1326,0x10d));const _0x152f=function(_0x284f0d,_0x1326c2){_0x284f0d=_0x284f0d-0x0;let _0x152fcc=_0x1326[_0x284f0d];return _0x152fcc;};import{Plugin as _0x187ab0}from'ckeditor5/src/core';export default class F extends _0x187ab0{[_0x152f('0x0')](){const _0x446f73=this[_0x152f('0x1')];if(!_0x446f73[_0x152f('0x2')][_0x152f('0x7')](_0x152f('0x6')))return;_0x446f73[_0x152f('0x2')]['get'](_0x152f('0x4'))[_0x152f('0x3')](_0x152f('0x5'));}}
23
+ const _0x52b6=['get','CommentsEditing','afterInit','plugins','TrackChangesEditing','has'];(function(_0x186286,_0x52b62f){const _0x47facb=function(_0x51ec61){while(--_0x51ec61){_0x186286['push'](_0x186286['shift']());}};_0x47facb(++_0x52b62f);}(_0x52b6,0xca));const _0x47fa=function(_0x186286,_0x52b62f){_0x186286=_0x186286-0x0;let _0x47facb=_0x52b6[_0x186286];return _0x47facb;};import{Plugin as _0x4112b1}from'ckeditor5/src/core';export default class F extends _0x4112b1{[_0x47fa('0x4')](){const _0x241a42=this['editor'];if(!_0x241a42[_0x47fa('0x5')][_0x47fa('0x1')](_0x47fa('0x3')))return;_0x241a42[_0x47fa('0x5')][_0x47fa('0x2')](_0x47fa('0x0'))['enableCommand']('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29df=['TrackChangesEditing','getFirstRange','remove','mapper','unbindElementFromMarkerName','addMarker:suggestion:deletion','document','model','markerNameToElements','init','editing','fromRange','end','createRange','unlock','selection','enableCommand','batch','showSuggestionHighlights','delete','modifySelection','forward','downcastDispatcher','merge','buffer','writer','data','removeMarker:suggestion:deletion','setSelection','$graveyard','unit','enqueueChange','high','markerName','plugins','root','deleteForward','requires','lock','start','commands','createSelection'];(function(_0x4bf4d6,_0x29dfe8){const _0x182f3b=function(_0x18f293){while(--_0x18f293){_0x4bf4d6['push'](_0x4bf4d6['shift']());}};_0x182f3b(++_0x29dfe8);}(_0x29df,0x1a3));const _0x182f=function(_0x4bf4d6,_0x29dfe8){_0x4bf4d6=_0x4bf4d6-0x0;let _0x182f3b=_0x29df[_0x4bf4d6];return _0x182f3b;};import{Plugin as _0x3fe8ec}from'ckeditor5/src/core';import{LiveRange as _0x2b1c4c}from'ckeditor5/src/engine';import{Delete as _0x2ccf39}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xb56c8f}from'./utils';export default class G extends _0x3fe8ec{static get[_0x182f('0x26')](){return[_0x2ccf39];}[_0x182f('0xa')](){const _0x2b7530=this['editor'],_0x173a4e=_0x2b7530[_0x182f('0x23')]['get'](_0x182f('0x1'));_0x173a4e['enableCommand'](_0x182f('0x14'));const _0x3fa4c6=_0x2b7530[_0x182f('0x29')]['get'](_0x182f('0x25'));_0x173a4e[_0x182f('0x11')](_0x182f('0x25'),(_0x188f5e,_0x3ca551={})=>{const _0x4cc7e1=_0x2b7530['model'][_0x182f('0x0')](_0x2b7530[_0x182f('0x8')][_0x182f('0x7')][_0x182f('0x10')]);_0x4cc7e1['isCollapsed']&&_0x2b7530[_0x182f('0x8')][_0x182f('0x15')](_0x4cc7e1,{'direction':_0x182f('0x16'),'unit':_0x3ca551[_0x182f('0x1f')]});const _0x538dbf=_0x4cc7e1[_0x182f('0x2')](),_0xba1d98=_0x2b1c4c[_0x182f('0xc')](_0x538dbf);let _0x262b82;_0x188f5e(_0x3ca551),_0x262b82=_0x182f('0x1e')==_0xba1d98[_0x182f('0x24')]['rootName']?_0x2b7530['model']['createRange'](_0x538dbf['start']):_0x2b7530[_0x182f('0x8')][_0x182f('0xe')](_0xba1d98[_0x182f('0x28')],_0xba1d98[_0x182f('0xd')]),_0xba1d98['detach'](),_0x2b7530[_0x182f('0x8')][_0x182f('0x20')](_0x3fa4c6['buffer'][_0x182f('0x12')],_0x17fddb=>{_0x3fa4c6[_0x182f('0x19')][_0x182f('0x27')](),_0x17fddb[_0x182f('0x1d')](_0x17fddb[_0x182f('0xe')](_0x262b82[_0x182f('0xd')])),_0x3fa4c6['buffer'][_0x182f('0xf')]();});}),_0x2b7530[_0x182f('0xb')]['downcastDispatcher']['on'](_0x182f('0x6'),_0xb56c8f(_0x2b7530,'merge'),{'priority':_0x182f('0x21')}),_0x2b7530[_0x182f('0x1b')][_0x182f('0x17')]['on']('addMarker:suggestion:deletion',(_0xf65f6d,_0x1b75b1,_0x5b8ef1)=>{_0x5b8ef1['options'][_0x182f('0x13')]&&_0xb56c8f(_0x2b7530,_0x182f('0x18'),{'showActiveMarker':!0x1})['bind'](this)(_0xf65f6d,_0x1b75b1,_0x5b8ef1);},{'priority':_0x182f('0x21')}),_0x2b7530['editing'][_0x182f('0x17')]['on'](_0x182f('0x1c'),(_0x4dcdc1,_0x4a482c,_0x4c9075)=>{const _0x317bc8=_0x4c9075[_0x182f('0x4')][_0x182f('0x9')](_0x4a482c[_0x182f('0x22')]);if(_0x317bc8)for(const _0x112bc8 of _0x317bc8)_0x112bc8['is']('uiElement')&&(_0x4c9075[_0x182f('0x4')][_0x182f('0x5')](_0x112bc8,_0x4a482c[_0x182f('0x22')]),_0x4c9075[_0x182f('0x1a')][_0x182f('0x3')](_0x112bc8));},{'priority':_0x182f('0x21')});}}
23
+ const _0x402b=['modifySelection','high','markerName','enableCommand','enqueueChange','remove','editing','addMarker:suggestion:deletion','detach','batch','isCollapsed','model','mapper','buffer','forward','document','unit','createSelection','$graveyard','delete','rootName','downcastDispatcher','requires','lock','plugins','fromRange','selection','end','unbindElementFromMarkerName','options','createRange','data','showSuggestionHighlights','merge','deleteForward','markerNameToElements','getFirstRange','editor','removeMarker:suggestion:deletion','root','writer','start','unlock'];(function(_0x34e92c,_0x402b26){const _0x265c58=function(_0x4b42af){while(--_0x4b42af){_0x34e92c['push'](_0x34e92c['shift']());}};_0x265c58(++_0x402b26);}(_0x402b,0x142));const _0x265c=function(_0x34e92c,_0x402b26){_0x34e92c=_0x34e92c-0x0;let _0x265c58=_0x402b[_0x34e92c];return _0x265c58;};import{Plugin as _0x3b8e91}from'ckeditor5/src/core';import{LiveRange as _0x459ee6}from'ckeditor5/src/engine';import{Delete as _0x105e79}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4ec2cd}from'./utils';export default class G extends _0x3b8e91{static get[_0x265c('0x1')](){return[_0x105e79];}['init'](){const _0xa66c34=this[_0x265c('0x10')],_0x3b74da=_0xa66c34[_0x265c('0x3')]['get']('TrackChangesEditing');_0x3b74da[_0x265c('0x19')](_0x265c('0x29'));const _0x74a592=_0xa66c34['commands']['get']('deleteForward');_0x3b74da[_0x265c('0x19')](_0x265c('0xd'),(_0x48a31a,_0x442ad0={})=>{const _0x4899b8=_0xa66c34['model'][_0x265c('0x27')](_0xa66c34[_0x265c('0x21')][_0x265c('0x25')][_0x265c('0x5')]);_0x4899b8[_0x265c('0x20')]&&_0xa66c34['model'][_0x265c('0x16')](_0x4899b8,{'direction':_0x265c('0x24'),'unit':_0x442ad0[_0x265c('0x26')]});const _0x5b25ca=_0x4899b8[_0x265c('0xf')](),_0x41cd34=_0x459ee6[_0x265c('0x4')](_0x5b25ca);let _0xd2e5ea;_0x48a31a(_0x442ad0),_0xd2e5ea=_0x265c('0x28')==_0x41cd34[_0x265c('0x12')][_0x265c('0x2a')]?_0xa66c34['model'][_0x265c('0x9')](_0x5b25ca[_0x265c('0x14')]):_0xa66c34[_0x265c('0x21')][_0x265c('0x9')](_0x41cd34[_0x265c('0x14')],_0x41cd34[_0x265c('0x6')]),_0x41cd34[_0x265c('0x1e')](),_0xa66c34[_0x265c('0x21')][_0x265c('0x1a')](_0x74a592[_0x265c('0x23')][_0x265c('0x1f')],_0x68da9c=>{_0x74a592[_0x265c('0x23')][_0x265c('0x2')](),_0x68da9c['setSelection'](_0x68da9c['createRange'](_0xd2e5ea[_0x265c('0x6')])),_0x74a592[_0x265c('0x23')][_0x265c('0x15')]();});}),_0xa66c34[_0x265c('0x1c')][_0x265c('0x0')]['on'](_0x265c('0x1d'),_0x4ec2cd(_0xa66c34,_0x265c('0xc')),{'priority':'high'}),_0xa66c34[_0x265c('0xa')][_0x265c('0x0')]['on'](_0x265c('0x1d'),(_0x179c09,_0x4e126a,_0x4924a9)=>{_0x4924a9[_0x265c('0x8')][_0x265c('0xb')]&&_0x4ec2cd(_0xa66c34,_0x265c('0xc'),{'showActiveMarker':!0x1})['bind'](this)(_0x179c09,_0x4e126a,_0x4924a9);},{'priority':'high'}),_0xa66c34[_0x265c('0x1c')][_0x265c('0x0')]['on'](_0x265c('0x11'),(_0x42ecde,_0x3dad4d,_0x462932)=>{const _0x396def=_0x462932[_0x265c('0x22')][_0x265c('0xe')](_0x3dad4d['markerName']);if(_0x396def)for(const _0x26c127 of _0x396def)_0x26c127['is']('uiElement')&&(_0x462932[_0x265c('0x22')][_0x265c('0x7')](_0x26c127,_0x3dad4d[_0x265c('0x18')]),_0x462932[_0x265c('0x13')][_0x265c('0x1b')](_0x26c127));},{'priority':_0x265c('0x17')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41fc=['*Change\x20to:*\x20%0','after','mergeListItemForward','ELEMENT_LIST_ITEM','splitListItemBefore','value','model','execute','parent','listIndent','map','registerCustomCallback','_descriptionFactory','has','format','deletion','slice','commandParams','expandListBlocksToCompleteList','*Format:*\x20remove\x20from\x20%0','createRange','createPositionAt','nextSibling','next','editor','hasAttribute','documentList','getFirstRange','numberedList','*Indent:*\x20%0','toUpperCase','*Merge:*\x20%0','*Outdent:*\x20%0','get','ELEMENT_BULLETED_LIST','schema','afterInit','selection','mergeListItemBackward','splitListItemAfter','DocumentListEditing','plugins','markMultiRangeBlockFormat','listType','add','getSelectedBlocks','containsItem','length','_LIST','from','before','listItemId','start','setSelection','indentList','isFirstBlockOfListItem','ELEMENT_','end','commands','change','locale','registerElementLabel','getAttribute','refresh','multipleBlocks','bulletedList','enableCommand','*Format:*\x20insert\x20into\x20%0','forceValue','push','accept','formatBlock','document','markBlockFormat','nodeAfter','detach','commandName','DocumentListUtils','isObject'];(function(_0x484425,_0x41fc3b){const _0x2ce2e7=function(_0x14fdfc){while(--_0x14fdfc){_0x484425['push'](_0x484425['shift']());}};_0x2ce2e7(++_0x41fc3b);}(_0x41fc,0x193));const _0x2ce2=function(_0x484425,_0x41fc3b){_0x484425=_0x484425-0x0;let _0x2ce2e7=_0x41fc[_0x484425];return _0x2ce2e7;};import{Plugin as _0x23a81d}from'ckeditor5/src/core';import{getTranslation as _0x39b779}from'../utils/common-translations';import{LiveRange as _0x50d1a7}from'ckeditor5/src/engine';export default class L extends _0x23a81d{[_0x2ce2('0x1c')](){const _0xc0a849=this[_0x2ce2('0x10')];if(!_0xc0a849[_0x2ce2('0x21')][_0x2ce2('0x5')](_0x2ce2('0x20')))return;const _0x5f1647=_0xc0a849[_0x2ce2('0x34')],_0x4ee244=_0xc0a849[_0x2ce2('0x21')][_0x2ce2('0x19')]('TrackChangesEditing'),_0x2256d5=_0xc0a849[_0x2ce2('0x21')]['get'](_0x2ce2('0x45'));function _0x40cd07(_0x22088d){return()=>{const _0x1d2ef5=_0xc0a849['commands'][_0x2ce2('0x19')](_0x22088d);let _0xe357d8=Array[_0x2ce2('0x29')](_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0x40')][_0x2ce2('0x1d')]['getSelectedBlocks']());if(_0x51c109(_0x22088d)){_0xe357d8=_0x2256d5[_0x2ce2('0xa')](_0xe357d8);const _0x42236f=[];for(const _0x597c2d of _0xe357d8)_0x2256d5[_0x2ce2('0x2f')](_0x597c2d)&&_0x42236f[_0x2ce2('0x3d')](_0x597c2d);_0xe357d8=_0x42236f;}_0xc0a849['model'][_0x2ce2('0x33')](()=>{_0x4ee244[_0x2ce2('0x22')](_0xe357d8,{'commandName':_0x22088d,'commandParams':[{'forceValue':!_0x1d2ef5[_0x2ce2('0x4c')]}],'formatGroupId':_0x2ce2('0x23')},[],_0x2ce2('0x12'));});};}function _0x389494(_0x30e139){return()=>{const _0x3c1c29=function(_0x2e2b58){let _0x388481=Array[_0x2ce2('0x29')](_0x2e2b58);const _0x5cf485=_0x388481['findIndex'](_0x186845=>!_0x186845[_0x2ce2('0x11')](_0x2ce2('0x2b')));return _0x5cf485>-0x1&&(_0x388481=_0x388481[_0x2ce2('0x8')](0x0,_0x5cf485)),_0x388481;}(_0xc0a849['model'][_0x2ce2('0x40')]['selection'][_0x2ce2('0x25')]()),_0x3a0d3d=_0x3c1c29[_0x3c1c29[_0x2ce2('0x27')]-0x1],_0x30f152=_0xc0a849['model'][_0x2ce2('0x1b')][_0x2ce2('0x46')](_0x3a0d3d)?_0x2ce2('0x48'):_0x2ce2('0x31'),_0x4ba7d7=_0xc0a849['model'][_0x2ce2('0xc')](_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0xd')](_0x3c1c29[0x0],_0x2ce2('0x2a')),_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0xd')](_0x3a0d3d,_0x30f152));_0xc0a849['model'][_0x2ce2('0x33')](()=>{_0x4ee244[_0x2ce2('0x41')](_0x4ba7d7,{'commandName':_0x30e139,'commandParams':[],'formatGroupId':_0x2ce2('0x23')},function(_0x2b12a7){const _0x54319e=new Set();for(const _0x5a40e8 of _0x2b12a7){let _0x225e7c=_0x5a40e8[_0x2ce2('0xe')];for(;_0x225e7c&&_0x225e7c[_0x2ce2('0x36')](_0x2ce2('0x1'))>_0x5a40e8[_0x2ce2('0x36')](_0x2ce2('0x1'));)_0x54319e[_0x2ce2('0x24')](_0x225e7c),_0x225e7c=_0x225e7c[_0x2ce2('0xe')];}return Array['from'](_0x54319e);}(_0x3c1c29));});};}function _0x450ef0(_0x5f29cd){return()=>{const _0xd80fba=_0xc0a849['model'][_0x2ce2('0x40')][_0x2ce2('0x1d')][_0x2ce2('0x25')]()[_0x2ce2('0xf')]()['value'],_0x4ec0c9=_0xc0a849['model'][_0x2ce2('0xd')](_0xd80fba,_0x2ce2('0x2a')),_0x8b7ed7=_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0xd')](_0xd80fba,0x0),_0x559191=_0xc0a849[_0x2ce2('0x4d')]['createRange'](_0x4ec0c9,_0x8b7ed7);_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0x33')](()=>{_0x4ee244[_0x2ce2('0x41')](_0x559191,{'commandName':_0x5f29cd,'commandParams':[],'formatGroupId':_0x2ce2('0x23')});});};}function _0x51c109(_0x33a599){const _0xad86f4=_0xc0a849[_0x2ce2('0x32')]['get']('bulletedList')['value'],_0x19b1f7=_0xc0a849['commands'][_0x2ce2('0x19')](_0x2ce2('0x14'))[_0x2ce2('0x4c')];return _0x2ce2('0x14')===_0x33a599?_0xad86f4:_0x19b1f7;}_0x4ee244[_0x2ce2('0x3a')](_0x2ce2('0x14'),_0x40cd07(_0x2ce2('0x14'))),_0x4ee244['enableCommand'](_0x2ce2('0x39'),_0x40cd07(_0x2ce2('0x39'))),_0x4ee244[_0x2ce2('0x3a')](_0x2ce2('0x2e'),_0x389494(_0x2ce2('0x2e'))),_0x4ee244[_0x2ce2('0x3a')]('outdentList',_0x389494('outdentList')),_0x4ee244[_0x2ce2('0x3a')](_0x2ce2('0x1f'),_0x450ef0(_0x2ce2('0x1f'))),_0x4ee244[_0x2ce2('0x3a')](_0x2ce2('0x4b'),_0x450ef0(_0x2ce2('0x4b'))),_0x4ee244[_0x2ce2('0x4')][_0x2ce2('0x35')](function(_0x46dd5b){const _0x5d955b=!_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0x1b')][_0x2ce2('0x46')](_0x46dd5b),_0x14f24c=_0x46dd5b['previousSibling'],_0x23003c=_0x46dd5b[_0x2ce2('0xe')],_0x287557=_0x46dd5b[_0x2ce2('0x36')](_0x2ce2('0x2b')),_0x4a50c=!_0x14f24c||_0x14f24c[_0x2ce2('0x36')](_0x2ce2('0x2b'))!==_0x287557,_0xa15bd8=!_0x23003c||_0x23003c[_0x2ce2('0x36')](_0x2ce2('0x2b'))!==_0x287557;return _0x5d955b&&Boolean(_0x287557)&&_0x4a50c&&_0xa15bd8;},_0x405d58=>_0x39b779(_0x5f1647,_0x2ce2('0x4a'),_0x405d58)),_0x4ee244['_descriptionFactory']['registerDescriptionCallback'](function(_0x571efd){const {data:_0xe241a6}=_0x571efd;if(!_0xe241a6)return;let _0x480791,_0x5b8d7e,_0xcc4ab8,_0x13cd66;switch(_0xe241a6[_0x2ce2('0x44')]){case _0x2ce2('0x39'):_0xcc4ab8=_0xe241a6[_0x2ce2('0x9')][0x0][_0x2ce2('0x3c')],_0x13cd66=_0x51c109(_0xe241a6['commandName']),_0x480791=_0xcc4ab8?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x13cd66&&(_0x480791=_0x2ce2('0x47')),_0x5b8d7e={'type':_0x2ce2('0x6'),'content':_0x39b779(_0x5f1647,_0x480791,_0x39b779(_0x5f1647,_0x2ce2('0x1a')))};break;case _0x2ce2('0x14'):_0xcc4ab8=_0xe241a6[_0x2ce2('0x9')][0x0][_0x2ce2('0x3c')],_0x13cd66=_0x51c109(_0xe241a6[_0x2ce2('0x44')]),_0x480791=_0xcc4ab8?_0x2ce2('0x3b'):_0x2ce2('0xb'),_0x13cd66&&(_0x480791=_0x2ce2('0x47')),_0x5b8d7e={'type':_0x2ce2('0x6'),'content':_0x39b779(_0x5f1647,_0x480791,_0x39b779(_0x5f1647,'ELEMENT_NUMBERED_LIST'))};break;case _0x2ce2('0x2e'):_0x480791=_0x2ce2('0x15'),_0x5b8d7e={'type':_0x2ce2('0x6'),'content':_0x39b779(_0x5f1647,_0x480791,_0x39b779(_0x5f1647,_0x2ce2('0x4a')))};break;case'outdentList':_0x480791=function(_0x232f87){const _0x3611da=_0x232f87[_0x2ce2('0x13')]();let _0x508384=_0x3611da[_0x2ce2('0x2c')][_0x2ce2('0x42')];for(;_0x508384&&_0x3611da[_0x2ce2('0x26')](_0x508384);){if(_0x508384[_0x2ce2('0x36')](_0x2ce2('0x1'))>0x0)return!0x1;_0x508384=_0x508384[_0x2ce2('0xe')];}return!0x0;}(_0x571efd)?_0x39b779(_0x5f1647,_0x2ce2('0xb'),_0x39b779(_0x5f1647,function(_0x569d95){const _0x2d8762=_0x569d95[_0x2ce2('0x13')]()[_0x2ce2('0x2c')]['nodeAfter'];return _0x2ce2('0x30')+_0x2d8762[_0x2ce2('0x36')]('listType')[_0x2ce2('0x16')]()+_0x2ce2('0x28');}(_0x571efd))):_0x39b779(_0x5f1647,_0x2ce2('0x18'),_0x39b779(_0x5f1647,_0x2ce2('0x4a'))),_0x5b8d7e={'type':_0x2ce2('0x6'),'content':_0x480791};break;case _0x2ce2('0x1e'):case _0x2ce2('0x49'):!0x1===_0xe241a6[_0x2ce2('0x38')]&&(_0x480791=_0x2ce2('0x17'),_0x5b8d7e={'type':_0x2ce2('0x7'),'content':_0x39b779(_0x5f1647,_0x480791,_0x39b779(_0x5f1647,'ELEMENT_LIST_ITEM'))});}return _0x5b8d7e;}),_0x4ee244['_suggestionFactory'][_0x2ce2('0x3')](_0x2ce2('0x3f'),_0x2ce2('0x12'),_0x2ce2('0x3e'),function(_0x59ea87,_0x8551fc){const _0x587fcd=[];for(let _0x152d7a of _0x59ea87)_0x152d7a[_0x2ce2('0x2c')][_0x2ce2('0x42')]===_0x152d7a[_0x2ce2('0x31')][_0x2ce2('0x0')]&&(_0x152d7a=_0xc0a849['model'][_0x2ce2('0xc')](_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0xd')](_0x152d7a[_0x2ce2('0x2c')][_0x2ce2('0x42')],0x0))),_0x587fcd[_0x2ce2('0x3d')](_0x152d7a);_0xc0a849['model'][_0x2ce2('0x33')](_0x1f98dc=>{const _0x515884=_0xc0a849[_0x2ce2('0x4d')][_0x2ce2('0x40')][_0x2ce2('0x1d')],_0x2a67c3=Array[_0x2ce2('0x29')](_0x515884['getRanges']())[_0x2ce2('0x2')](_0x56b8b4=>_0x50d1a7['fromRange'](_0x56b8b4));_0x1f98dc[_0x2ce2('0x2d')](_0x587fcd),_0xc0a849['commands'][_0x2ce2('0x19')](_0x8551fc[_0x2ce2('0x44')])[_0x2ce2('0x37')](),_0x8551fc[_0x2ce2('0x9')][_0x2ce2('0x3d')]({'forceDefaultExecution':!0x0}),_0xc0a849[_0x2ce2('0x4e')](_0x8551fc['commandName'],..._0x8551fc[_0x2ce2('0x9')]),_0x1f98dc[_0x2ce2('0x2d')](_0x2a67c3);for(const _0x289cd3 of _0x2a67c3)_0x289cd3[_0x2ce2('0x43')]();});});}}
23
+ const _0x282e=['TrackChangesEditing','getAttribute','selection','ELEMENT_NUMBERED_LIST','*Merge:*\x20%0','ELEMENT_BULLETED_LIST','listIndent','*Change\x20to:*\x20%0','listItemId','commands','listType','ELEMENT_','findIndex','accept','registerCustomCallback','isFirstBlockOfListItem','createPositionAt','change','before','mergeListItemForward','splitListItemBefore','mergeListItemBackward','detach','add','commandParams','getRanges','length','registerElementLabel','indentList','deletion','nextSibling','get','bulletedList','slice','model','document','enableCommand','markMultiRangeBlockFormat','schema','DocumentListEditing','forceValue','start','end','fromRange','format','isObject','nodeAfter','multipleBlocks','formatBlock','splitListItemAfter','from','hasAttribute','markBlockFormat','ELEMENT_LIST_ITEM','*Indent:*\x20%0','toUpperCase','getSelectedBlocks','containsItem','commandName','expandListBlocksToCompleteList','setSelection','push','documentList','_descriptionFactory','plugins','createRange','getFirstRange','value','_LIST','numberedList','*Format:*\x20remove\x20from\x20%0','outdentList','registerDescriptionCallback','refresh'];(function(_0x47fce8,_0x282e68){const _0x48a5a7=function(_0x18aa66){while(--_0x18aa66){_0x47fce8['push'](_0x47fce8['shift']());}};_0x48a5a7(++_0x282e68);}(_0x282e,0x192));const _0x48a5=function(_0x47fce8,_0x282e68){_0x47fce8=_0x47fce8-0x0;let _0x48a5a7=_0x282e[_0x47fce8];return _0x48a5a7;};import{Plugin as _0x2bf46e}from'ckeditor5/src/core';import{getTranslation as _0x2585bc}from'../utils/common-translations';import{LiveRange as _0x1e207a}from'ckeditor5/src/engine';export default class L extends _0x2bf46e{['afterInit'](){const _0x3c5f2c=this['editor'];if(!_0x3c5f2c['plugins']['has'](_0x48a5('0x7')))return;const _0x2d67df=_0x3c5f2c['locale'],_0x4d7b3c=_0x3c5f2c[_0x48a5('0x20')][_0x48a5('0x49')](_0x48a5('0x2a')),_0x5e3bb3=_0x3c5f2c[_0x48a5('0x20')][_0x48a5('0x49')]('DocumentListUtils');function _0x2a171b(_0x4c44df){return()=>{const _0x250acf=_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x4c44df);let _0x19f6ed=Array[_0x48a5('0x12')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')]['selection'][_0x48a5('0x18')]());if(_0x2f6a6a(_0x4c44df)){_0x19f6ed=_0x5e3bb3[_0x48a5('0x1b')](_0x19f6ed);const _0x7cfe66=[];for(const _0x2e8105 of _0x19f6ed)_0x5e3bb3[_0x48a5('0x39')](_0x2e8105)&&_0x7cfe66[_0x48a5('0x1d')](_0x2e8105);_0x19f6ed=_0x7cfe66;}_0x3c5f2c[_0x48a5('0x2')]['change'](()=>{_0x4d7b3c[_0x48a5('0x5')](_0x19f6ed,{'commandName':_0x4c44df,'commandParams':[{'forceValue':!_0x250acf['value']}],'formatGroupId':'listType'},[],'documentList');});};}function _0x1575e8(_0x3df460){return()=>{const _0x1711f9=function(_0x100c61){let _0x288426=Array[_0x48a5('0x12')](_0x100c61);const _0x16272e=_0x288426[_0x48a5('0x36')](_0x4b8b1e=>!_0x4b8b1e[_0x48a5('0x13')](_0x48a5('0x32')));return _0x16272e>-0x1&&(_0x288426=_0x288426[_0x48a5('0x1')](0x0,_0x16272e)),_0x288426;}(_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')][_0x48a5('0x2c')][_0x48a5('0x18')]()),_0x6a899c=_0x1711f9[_0x1711f9[_0x48a5('0x44')]-0x1],_0x2fe3b5=_0x3c5f2c['model']['schema'][_0x48a5('0xd')](_0x6a899c)?'after':_0x48a5('0xa'),_0x27f638=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x1711f9[0x0],_0x48a5('0x3c')),_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x6a899c,_0x2fe3b5));_0x3c5f2c['model'][_0x48a5('0x3b')](()=>{_0x4d7b3c[_0x48a5('0x14')](_0x27f638,{'commandName':_0x3df460,'commandParams':[],'formatGroupId':_0x48a5('0x34')},function(_0x5047cd){const _0x1c36ca=new Set();for(const _0x296e7a of _0x5047cd){let _0x2d0fff=_0x296e7a[_0x48a5('0x48')];for(;_0x2d0fff&&_0x2d0fff[_0x48a5('0x2b')](_0x48a5('0x30'))>_0x296e7a[_0x48a5('0x2b')](_0x48a5('0x30'));)_0x1c36ca[_0x48a5('0x41')](_0x2d0fff),_0x2d0fff=_0x2d0fff['nextSibling'];}return Array[_0x48a5('0x12')](_0x1c36ca);}(_0x1711f9));});};}function _0xcce1c3(_0x5e4e87){return()=>{const _0x46a7fa=_0x3c5f2c[_0x48a5('0x2')]['document'][_0x48a5('0x2c')][_0x48a5('0x18')]()['next']()[_0x48a5('0x23')],_0xe53886=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0x46a7fa,'before'),_0x32cefb=_0x3c5f2c[_0x48a5('0x2')]['createPositionAt'](_0x46a7fa,0x0),_0x78080b=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0xe53886,_0x32cefb);_0x3c5f2c['model']['change'](()=>{_0x4d7b3c['markBlockFormat'](_0x78080b,{'commandName':_0x5e4e87,'commandParams':[],'formatGroupId':_0x48a5('0x34')});});};}function _0x2f6a6a(_0x4ee13e){const _0x3d52d3=_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x48a5('0x0'))['value'],_0x4a1a6e=_0x3c5f2c['commands']['get']('numberedList')[_0x48a5('0x23')];return'numberedList'===_0x4ee13e?_0x3d52d3:_0x4a1a6e;}_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x25'),_0x2a171b(_0x48a5('0x25'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x0'),_0x2a171b(_0x48a5('0x0'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x46'),_0x1575e8(_0x48a5('0x46'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x27'),_0x1575e8(_0x48a5('0x27'))),_0x4d7b3c[_0x48a5('0x4')]('splitListItemAfter',_0xcce1c3(_0x48a5('0x11'))),_0x4d7b3c[_0x48a5('0x4')](_0x48a5('0x3e'),_0xcce1c3('splitListItemBefore')),_0x4d7b3c[_0x48a5('0x1f')][_0x48a5('0x45')](function(_0x4ee0e7){const _0x28cdcc=!_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x6')][_0x48a5('0xd')](_0x4ee0e7),_0x107636=_0x4ee0e7['previousSibling'],_0x527bff=_0x4ee0e7[_0x48a5('0x48')],_0x8bdaea=_0x4ee0e7[_0x48a5('0x2b')](_0x48a5('0x32')),_0x59ed81=!_0x107636||_0x107636['getAttribute']('listItemId')!==_0x8bdaea,_0x594d48=!_0x527bff||_0x527bff[_0x48a5('0x2b')](_0x48a5('0x32'))!==_0x8bdaea;return _0x28cdcc&&Boolean(_0x8bdaea)&&_0x59ed81&&_0x594d48;},_0xf60e50=>_0x2585bc(_0x2d67df,_0x48a5('0x15'),_0xf60e50)),_0x4d7b3c[_0x48a5('0x1f')][_0x48a5('0x28')](function(_0x101d5e){const {data:_0x135a16}=_0x101d5e;if(!_0x135a16)return;let _0x56c703,_0x3ec2ab,_0x3ccd50,_0x2d8991;switch(_0x135a16['commandName']){case _0x48a5('0x0'):_0x3ccd50=_0x135a16['commandParams'][0x0][_0x48a5('0x8')],_0x2d8991=_0x2f6a6a(_0x135a16[_0x48a5('0x1a')]),_0x56c703=_0x3ccd50?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x2d8991&&(_0x56c703=_0x48a5('0x31')),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x2f')))};break;case _0x48a5('0x25'):_0x3ccd50=_0x135a16['commandParams'][0x0]['forceValue'],_0x2d8991=_0x2f6a6a(_0x135a16[_0x48a5('0x1a')]),_0x56c703=_0x3ccd50?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x2d8991&&(_0x56c703=_0x48a5('0x31')),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x2d')))};break;case _0x48a5('0x46'):_0x56c703=_0x48a5('0x16'),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x15')))};break;case _0x48a5('0x27'):_0x56c703=function(_0x335889){const _0x51b86f=_0x335889[_0x48a5('0x22')]();let _0x13e207=_0x51b86f[_0x48a5('0x9')][_0x48a5('0xe')];for(;_0x13e207&&_0x51b86f[_0x48a5('0x19')](_0x13e207);){if(_0x13e207[_0x48a5('0x2b')](_0x48a5('0x30'))>0x0)return!0x1;_0x13e207=_0x13e207[_0x48a5('0x48')];}return!0x0;}(_0x101d5e)?_0x2585bc(_0x2d67df,_0x48a5('0x26'),_0x2585bc(_0x2d67df,function(_0x9f92af){const _0x502013=_0x9f92af[_0x48a5('0x22')]()[_0x48a5('0x9')][_0x48a5('0xe')];return _0x48a5('0x35')+_0x502013['getAttribute'](_0x48a5('0x34'))[_0x48a5('0x17')]()+_0x48a5('0x24');}(_0x101d5e))):_0x2585bc(_0x2d67df,'*Outdent:*\x20%0',_0x2585bc(_0x2d67df,_0x48a5('0x15'))),_0x3ec2ab={'type':_0x48a5('0xc'),'content':_0x56c703};break;case _0x48a5('0x3f'):case _0x48a5('0x3d'):!0x1===_0x135a16[_0x48a5('0xf')]&&(_0x56c703=_0x48a5('0x2e'),_0x3ec2ab={'type':_0x48a5('0x47'),'content':_0x2585bc(_0x2d67df,_0x56c703,_0x2585bc(_0x2d67df,_0x48a5('0x15')))});}return _0x3ec2ab;}),_0x4d7b3c['_suggestionFactory'][_0x48a5('0x38')](_0x48a5('0x10'),_0x48a5('0x1e'),_0x48a5('0x37'),function(_0x5db63b,_0x2bc20a){const _0x5b723e=[];for(let _0xaa4ca9 of _0x5db63b)_0xaa4ca9[_0x48a5('0x9')][_0x48a5('0xe')]===_0xaa4ca9['end']['parent']&&(_0xaa4ca9=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x21')](_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3a')](_0xaa4ca9[_0x48a5('0x9')][_0x48a5('0xe')],0x0))),_0x5b723e['push'](_0xaa4ca9);_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3b')](_0x4e7e64=>{const _0x2a5e60=_0x3c5f2c[_0x48a5('0x2')][_0x48a5('0x3')][_0x48a5('0x2c')],_0x3b6088=Array[_0x48a5('0x12')](_0x2a5e60[_0x48a5('0x43')]())['map'](_0x3dc46f=>_0x1e207a[_0x48a5('0xb')](_0x3dc46f));_0x4e7e64[_0x48a5('0x1c')](_0x5b723e),_0x3c5f2c[_0x48a5('0x33')][_0x48a5('0x49')](_0x2bc20a[_0x48a5('0x1a')])[_0x48a5('0x29')](),_0x2bc20a[_0x48a5('0x42')][_0x48a5('0x1d')]({'forceDefaultExecution':!0x0}),_0x3c5f2c['execute'](_0x2bc20a['commandName'],..._0x2bc20a['commandParams']),_0x4e7e64[_0x48a5('0x1c')](_0x3b6088);for(const _0x43d0ad of _0x3b6088)_0x43d0ad[_0x48a5('0x40')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2406=['length','DocumentListUtils','_getSuggestionBlocksForListStyle','TrackChangesEditing','DocumentListPropertiesUtils','isFirstBlockOfListItem','from','list.properties','change','isListItemBlock','get','push','ELEMENT_','afterInit','listStart','*Format:*\x20set\x20order\x20to\x20regular','commandName','*Format:*\x20set\x20order\x20to\x20reversed','expandListBlocksToCompleteList','config','_getSuggestionBlocks','styles','editor','has','startIndex','listType','handleListReversedCommand','listStyle','type','markMultiRangeBlockFormat','format','_descriptionFactory','bind','getSelectedBlocks','getAttribute','model','toUpperCase','_getTranslationKeyForListStyle','handleListStyleCommand','reversed','locale','selection','*Format:*\x20set\x20start\x20index\x20to\x20%0','commandParams','replace','registerDescriptionCallback','enableCommand','handleListStartCommand','plugins','document','handleDescriptions','filter','listReversed'];(function(_0x3ca1d4,_0x240609){const _0x34526e=function(_0x3f35cb){while(--_0x3f35cb){_0x3ca1d4['push'](_0x3ca1d4['shift']());}};_0x34526e(++_0x240609);}(_0x2406,0x162));const _0x3452=function(_0x3ca1d4,_0x240609){_0x3ca1d4=_0x3ca1d4-0x0;let _0x34526e=_0x2406[_0x3ca1d4];return _0x34526e;};import{Plugin as _0x1f5205}from'ckeditor5/src/core';import{getTranslation as _0x55440d}from'../utils/common-translations';export default class At extends _0x1f5205{[_0x3452('0x1e')](){if(!this[_0x3452('0x27')]['plugins'][_0x3452('0x28')]('DocumentListPropertiesEditing'))return;const _0x2d6e86=this[_0x3452('0x27')][_0x3452('0x24')][_0x3452('0x1b')](_0x3452('0x18')),_0x1bbf3d=this[_0x3452('0x27')][_0x3452('0xc')][_0x3452('0x1b')](_0x3452('0x14'));_0x2d6e86[_0x3452('0x26')]&&_0x1bbf3d[_0x3452('0xa')](_0x3452('0x2c'),this[_0x3452('0x2')][_0x3452('0x31')](this)),_0x2d6e86['reversed']&&_0x1bbf3d[_0x3452('0xa')](_0x3452('0x10'),this[_0x3452('0x2b')][_0x3452('0x31')](this)),_0x2d6e86[_0x3452('0x29')]&&_0x1bbf3d[_0x3452('0xa')](_0x3452('0x1f'),this[_0x3452('0xb')]['bind'](this)),_0x1bbf3d[_0x3452('0x30')][_0x3452('0x9')](this[_0x3452('0xe')][_0x3452('0x31')](this));}[_0x3452('0x2')](_0x49c3bb,_0x4b4af4={}){const _0x59aa53=this[_0x3452('0x27')][_0x3452('0xc')][_0x3452('0x1b')](_0x3452('0x14')),_0x38a0e4=this['_getSuggestionBlocksForListStyle']();this['editor']['model'][_0x3452('0x19')](()=>{_0x59aa53[_0x3452('0x2e')](_0x38a0e4,{'commandName':_0x3452('0x2c'),'commandParams':[{'type':_0x4b4af4[_0x3452('0x2d')]}],'formatGroupId':_0x3452('0x2c')});});}[_0x3452('0x2b')](_0x8df1e9,_0x4c04bb={}){const _0x2d2a95=this['editor'][_0x3452('0xc')][_0x3452('0x1b')]('TrackChangesEditing'),_0x523f2f=this[_0x3452('0x27')]['plugins'][_0x3452('0x1b')](_0x3452('0x12')),_0x475383=this[_0x3452('0x25')](_0x5c8b7b=>_0x523f2f[_0x3452('0x1a')](_0x5c8b7b)&&'numbered'===_0x5c8b7b['getAttribute']('listType'));null!==_0x475383&&this['editor'][_0x3452('0x34')][_0x3452('0x19')](()=>{_0x2d2a95['markMultiRangeBlockFormat'](_0x475383,{'commandName':_0x3452('0x10'),'commandParams':[{'reversed':_0x4c04bb[_0x3452('0x3')]}],'formatGroupId':'listReversed'});});}[_0x3452('0xb')](_0x183f79,_0x85f24a={}){const _0x557b70=this[_0x3452('0x27')][_0x3452('0xc')]['get'](_0x3452('0x14')),_0x4b89e6=this[_0x3452('0x27')]['plugins'][_0x3452('0x1b')](_0x3452('0x12')),_0x52bdbb=this[_0x3452('0x25')](_0x965440=>_0x4b89e6[_0x3452('0x1a')](_0x965440)&&'numbered'===_0x965440[_0x3452('0x33')](_0x3452('0x2a')));null!==_0x52bdbb&&this['editor'][_0x3452('0x34')][_0x3452('0x19')](()=>{_0x557b70[_0x3452('0x2e')](_0x52bdbb,{'commandName':'listStart','commandParams':[{'startIndex':_0x85f24a[_0x3452('0x29')]}],'formatGroupId':_0x3452('0x1f')});});}[_0x3452('0xe')](_0x2765ba){const _0x3d886b=this[_0x3452('0x27')][_0x3452('0x4')],{data:_0x2e0f1a}=_0x2765ba;if(!_0x2e0f1a)return;let _0x32ab18,_0x428a56;switch(_0x2e0f1a[_0x3452('0x21')]){case _0x3452('0x2c'):_0x32ab18='*Change\x20to:*\x20%0',_0x428a56={'type':_0x3452('0x2f'),'content':_0x55440d(_0x3d886b,_0x32ab18,_0x55440d(_0x3d886b,this[_0x3452('0x1')](_0x2e0f1a['commandParams'][0x0][_0x3452('0x2d')])))};break;case _0x3452('0x10'):_0x32ab18=_0x2e0f1a['commandParams'][0x0][_0x3452('0x3')]?_0x3452('0x22'):_0x3452('0x20'),_0x428a56={'type':_0x3452('0x2f'),'content':_0x55440d(_0x3d886b,_0x32ab18)};break;case _0x3452('0x1f'):_0x32ab18=_0x3452('0x6'),_0x428a56={'type':_0x3452('0x2f'),'content':_0x55440d(_0x3d886b,_0x32ab18,_0x2e0f1a[_0x3452('0x7')][0x0]['startIndex'])};}return _0x428a56;}[_0x3452('0x13')](){const _0x32afac=this[_0x3452('0x27')][_0x3452('0xc')]['get'](_0x3452('0x12'));let _0x6e6af4=Array['from'](this[_0x3452('0x27')]['model'][_0x3452('0xd')][_0x3452('0x5')][_0x3452('0x32')]());return _0x6e6af4[_0x3452('0x1c')](..._0x32afac[_0x3452('0x23')](_0x6e6af4)),_0x6e6af4=[...new Set(_0x6e6af4)],_0x6e6af4;}['_getSuggestionBlocks'](_0x23dfb3){const _0x1e3f72=this['editor'][_0x3452('0xc')][_0x3452('0x1b')](_0x3452('0x12'));let _0x4ac931=Array[_0x3452('0x17')](this[_0x3452('0x27')][_0x3452('0x34')][_0x3452('0xd')][_0x3452('0x5')][_0x3452('0x32')]())[_0x3452('0xf')](_0x23dfb3);if(!_0x4ac931[_0x3452('0x11')])return null;_0x4ac931=_0x1e3f72['expandListBlocksToCompleteList'](_0x4ac931);const _0x4e1ef8=[];for(const _0x258f0d of _0x4ac931)_0x1e3f72[_0x3452('0x16')](_0x258f0d)&&_0x4e1ef8[_0x3452('0x1c')](_0x258f0d);return _0x4e1ef8;}[_0x3452('0x1')](_0x5e1573){return _0x3452('0x1d')+this[_0x3452('0x27')]['plugins'][_0x3452('0x1b')](_0x3452('0x15'))['getListTypeFromListStyleType'](_0x5e1573)[_0x3452('0x0')]()+'_LIST_'+_0x5e1573[_0x3452('0x0')]()[_0x3452('0x8')](/-/g,'_');}}
23
+ const _0x18a0=['getSelectedBlocks','DocumentListUtils','ELEMENT_','has','afterInit','from','bind','format','plugins','document','listReversed','numbered','_getTranslationKeyForListStyle','enableCommand','getAttribute','handleListReversedCommand','markMultiRangeBlockFormat','TrackChangesEditing','startIndex','get','handleListStartCommand','getListTypeFromListStyleType','length','editor','filter','selection','type','listStart','*Change\x20to:*\x20%0','isListItemBlock','handleListStyleCommand','reversed','_LIST_','*Format:*\x20set\x20start\x20index\x20to\x20%0','push','config','replace','_descriptionFactory','_getSuggestionBlocks','expandListBlocksToCompleteList','*Format:*\x20set\x20order\x20to\x20reversed','model','DocumentListPropertiesEditing','commandParams','change','listStyle','styles','list.properties','locale','isFirstBlockOfListItem','registerDescriptionCallback','_getSuggestionBlocksForListStyle','handleDescriptions','listType'];(function(_0x38ac19,_0x18a099){const _0x26003d=function(_0x8e6eed){while(--_0x8e6eed){_0x38ac19['push'](_0x38ac19['shift']());}};_0x26003d(++_0x18a099);}(_0x18a0,0x152));const _0x2600=function(_0x38ac19,_0x18a099){_0x38ac19=_0x38ac19-0x0;let _0x26003d=_0x18a0[_0x38ac19];return _0x26003d;};import{Plugin as _0x378473}from'ckeditor5/src/core';import{getTranslation as _0x2e8716}from'../utils/common-translations';export default class At extends _0x378473{[_0x2600('0x2c')](){if(!this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x2b')](_0x2600('0x1c')))return;const _0x274dfb=this[_0x2600('0x9')][_0x2600('0x15')][_0x2600('0x5')](_0x2600('0x21')),_0x56e631=this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x5')](_0x2600('0x3'));_0x274dfb[_0x2600('0x20')]&&_0x56e631[_0x2600('0x35')](_0x2600('0x1f'),this[_0x2600('0x10')][_0x2600('0x2e')](this)),_0x274dfb['reversed']&&_0x56e631[_0x2600('0x35')]('listReversed',this[_0x2600('0x1')][_0x2600('0x2e')](this)),_0x274dfb[_0x2600('0x4')]&&_0x56e631[_0x2600('0x35')]('listStart',this[_0x2600('0x6')][_0x2600('0x2e')](this)),_0x56e631[_0x2600('0x17')][_0x2600('0x24')](this[_0x2600('0x26')][_0x2600('0x2e')](this));}[_0x2600('0x10')](_0x4ac24b,_0x3ddafd={}){const _0x245521=this[_0x2600('0x9')][_0x2600('0x30')]['get'](_0x2600('0x3')),_0x163e5e=this[_0x2600('0x25')]();this[_0x2600('0x9')][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x245521[_0x2600('0x2')](_0x163e5e,{'commandName':_0x2600('0x1f'),'commandParams':[{'type':_0x3ddafd[_0x2600('0xc')]}],'formatGroupId':_0x2600('0x1f')});});}[_0x2600('0x1')](_0x4e1e3b,_0x3a2620={}){const _0x4178f9=this[_0x2600('0x9')][_0x2600('0x30')]['get'](_0x2600('0x3')),_0x3051f8=this['editor'][_0x2600('0x30')]['get']('DocumentListUtils'),_0x52f19a=this[_0x2600('0x18')](_0x2981bd=>_0x3051f8[_0x2600('0xf')](_0x2981bd)&&_0x2600('0x33')===_0x2981bd[_0x2600('0x0')](_0x2600('0x27')));null!==_0x52f19a&&this['editor'][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x4178f9[_0x2600('0x2')](_0x52f19a,{'commandName':_0x2600('0x32'),'commandParams':[{'reversed':_0x3a2620[_0x2600('0x11')]}],'formatGroupId':_0x2600('0x32')});});}['handleListStartCommand'](_0x4258ee,_0x4494b9={}){const _0x12a09f=this['editor'][_0x2600('0x30')][_0x2600('0x5')]('TrackChangesEditing'),_0x128c2c=this[_0x2600('0x9')]['plugins'][_0x2600('0x5')]('DocumentListUtils'),_0x3974fa=this['_getSuggestionBlocks'](_0x5e7a18=>_0x128c2c['isListItemBlock'](_0x5e7a18)&&_0x2600('0x33')===_0x5e7a18[_0x2600('0x0')](_0x2600('0x27')));null!==_0x3974fa&&this[_0x2600('0x9')][_0x2600('0x1b')][_0x2600('0x1e')](()=>{_0x12a09f['markMultiRangeBlockFormat'](_0x3974fa,{'commandName':_0x2600('0xd'),'commandParams':[{'startIndex':_0x4494b9[_0x2600('0x4')]}],'formatGroupId':'listStart'});});}[_0x2600('0x26')](_0x15aa48){const _0x496926=this[_0x2600('0x9')][_0x2600('0x22')],{data:_0x1ff957}=_0x15aa48;if(!_0x1ff957)return;let _0xa30872,_0x5af43a;switch(_0x1ff957['commandName']){case _0x2600('0x1f'):_0xa30872=_0x2600('0xe'),_0x5af43a={'type':_0x2600('0x2f'),'content':_0x2e8716(_0x496926,_0xa30872,_0x2e8716(_0x496926,this[_0x2600('0x34')](_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0xc')])))};break;case _0x2600('0x32'):_0xa30872=_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0x11')]?_0x2600('0x1a'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5af43a={'type':'format','content':_0x2e8716(_0x496926,_0xa30872)};break;case _0x2600('0xd'):_0xa30872=_0x2600('0x13'),_0x5af43a={'type':'format','content':_0x2e8716(_0x496926,_0xa30872,_0x1ff957[_0x2600('0x1d')][0x0][_0x2600('0x4')])};}return _0x5af43a;}[_0x2600('0x25')](){const _0x23fa8=this[_0x2600('0x9')]['plugins'][_0x2600('0x5')](_0x2600('0x29'));let _0x5497cd=Array[_0x2600('0x2d')](this[_0x2600('0x9')]['model'][_0x2600('0x31')]['selection'][_0x2600('0x28')]());return _0x5497cd[_0x2600('0x14')](..._0x23fa8[_0x2600('0x19')](_0x5497cd)),_0x5497cd=[...new Set(_0x5497cd)],_0x5497cd;}[_0x2600('0x18')](_0x1f8d65){const _0x3e4320=this['editor'][_0x2600('0x30')][_0x2600('0x5')](_0x2600('0x29'));let _0x4cd380=Array[_0x2600('0x2d')](this[_0x2600('0x9')]['model']['document'][_0x2600('0xb')][_0x2600('0x28')]())[_0x2600('0xa')](_0x1f8d65);if(!_0x4cd380[_0x2600('0x8')])return null;_0x4cd380=_0x3e4320[_0x2600('0x19')](_0x4cd380);const _0x3d6ecf=[];for(const _0xb5b219 of _0x4cd380)_0x3e4320[_0x2600('0x23')](_0xb5b219)&&_0x3d6ecf[_0x2600('0x14')](_0xb5b219);return _0x3d6ecf;}[_0x2600('0x34')](_0x4b120d){return _0x2600('0x2a')+this[_0x2600('0x9')][_0x2600('0x30')][_0x2600('0x5')]('DocumentListPropertiesUtils')[_0x2600('0x7')](_0x4b120d)['toUpperCase']()+_0x2600('0x12')+_0x4b120d['toUpperCase']()[_0x2600('0x16')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be7=['commands','enter','detach','enableCommand','addMarker:suggestion:insertion','createRange','markInsertion','getFirstPosition','downcastDispatcher','change','createPositionAt','init','bind','fire','editing','mapper','writer','nextSibling','enterBlock','editor','remove','markerName','requires','unbindElementFromMarkerName','split','options','ck-suggestion-marker-split','TrackChangesEditing','selection','getFirstRange','document','model','high','fromRange','get'];(function(_0x44fcce,_0x1be7c5){const _0x1da45b=function(_0x3e7a70){while(--_0x3e7a70){_0x44fcce['push'](_0x44fcce['shift']());}};_0x1da45b(++_0x1be7c5);}(_0x1be7,0x186));const _0x1da4=function(_0x44fcce,_0x1be7c5){_0x44fcce=_0x44fcce-0x0;let _0x1da45b=_0x1be7[_0x44fcce];return _0x1da45b;};import{Plugin as _0x1dff9b}from'ckeditor5/src/core';import{Enter as _0x5cda93}from'ckeditor5/src/enter';import{LiveRange as _0x4b9ed0}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2bef05}from'./utils';export default class q extends _0x1dff9b{static get[_0x1da4('0x11')](){return[_0x5cda93];}[_0x1da4('0x6')](){const _0x16397b=this[_0x1da4('0xe')],_0x58399c=_0x16397b['plugins'][_0x1da4('0x1d')](_0x1da4('0x16')),_0x4a0df4=_0x16397b[_0x1da4('0x1e')][_0x1da4('0x1d')](_0x1da4('0x1f'));_0x58399c[_0x1da4('0x21')]('enter',()=>{_0x16397b['model'][_0x1da4('0x4')](_0x34c854=>{const _0x16a23d=_0x16397b[_0x1da4('0x1a')][_0x1da4('0x19')][_0x1da4('0x17')],_0xc0e54=_0x16a23d[_0x1da4('0x2')](),_0x53612c=_0x4b9ed0[_0x1da4('0x1c')](_0x16a23d[_0x1da4('0x18')]());if(_0x4a0df4[_0x1da4('0xd')](_0x34c854)){const _0xe61cd4=_0x16397b['model'][_0x1da4('0x5')](_0xc0e54['parent'][_0x1da4('0xc')],0x0),_0x1a63e2=_0x34c854[_0x1da4('0x0')](_0xc0e54,_0xe61cd4);_0x58399c[_0x1da4('0x1')](_0x1a63e2);}else _0x34c854['setSelection'](_0x34c854['createRange'](_0x53612c['end']));_0x53612c[_0x1da4('0x20')](),_0x4a0df4[_0x1da4('0x8')]('afterExecute',{'writer':_0x34c854});});}),_0x16397b[_0x1da4('0x9')][_0x1da4('0x3')]['on']('addMarker:suggestion:insertion',_0x2bef05(_0x16397b,_0x1da4('0x13')),{'priority':_0x1da4('0x1b')}),_0x16397b['editing'][_0x1da4('0x3')]['on']('removeMarker:suggestion:insertion',(_0x3f4ec4,_0x2759c0,_0x5b065c)=>{const _0x2ed765=_0x5b065c[_0x1da4('0xa')]['markerNameToElements'](_0x2759c0[_0x1da4('0x10')]);if(_0x2ed765)for(const _0x14e4c0 of _0x2ed765)_0x14e4c0['hasClass'](_0x1da4('0x15'))&&(_0x5b065c[_0x1da4('0xa')][_0x1da4('0x12')](_0x14e4c0,_0x2759c0['markerName']),_0x5b065c[_0x1da4('0xb')][_0x1da4('0xf')](_0x14e4c0));},{'priority':'high'}),_0x16397b['data'][_0x1da4('0x3')]['on'](_0x1da4('0x22'),(_0x53c86e,_0x4ab0d1,_0x4827fd)=>{_0x4827fd[_0x1da4('0x14')]['showSuggestionHighlights']&&_0x2bef05(_0x16397b,_0x1da4('0x13'),{'showActiveMarker':!0x1})[_0x1da4('0x7')](this)(_0x53c86e,_0x4ab0d1,_0x4827fd);},{'priority':_0x1da4('0x1b')});}}
23
+ const _0x503f=['model','selection','detach','markerName','createPositionAt','downcastDispatcher','data','end','unbindElementFromMarkerName','enterBlock','commands','remove','bind','markInsertion','addMarker:suggestion:insertion','showSuggestionHighlights','plugins','parent','document','ck-suggestion-marker-split','change','editor','createRange','get','split','getFirstRange','removeMarker:suggestion:insertion','fromRange','setSelection','high','enter','TrackChangesEditing','hasClass','mapper','nextSibling'];(function(_0x62ceb,_0x503fa9){const _0x324175=function(_0x426147){while(--_0x426147){_0x62ceb['push'](_0x62ceb['shift']());}};_0x324175(++_0x503fa9);}(_0x503f,0x65));const _0x3241=function(_0x62ceb,_0x503fa9){_0x62ceb=_0x62ceb-0x0;let _0x324175=_0x503f[_0x62ceb];return _0x324175;};import{Plugin as _0x2b711e}from'ckeditor5/src/core';import{Enter as _0x158d4f}from'ckeditor5/src/enter';import{LiveRange as _0x2121f9}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a0caa}from'./utils';export default class q extends _0x2b711e{static get['requires'](){return[_0x158d4f];}['init'](){const _0x461bad=this[_0x3241('0x19')],_0x536bc5=_0x461bad[_0x3241('0x14')][_0x3241('0x1b')](_0x3241('0x0')),_0x23262e=_0x461bad[_0x3241('0xe')][_0x3241('0x1b')](_0x3241('0x22'));_0x536bc5['enableCommand'](_0x3241('0x22'),()=>{_0x461bad['model'][_0x3241('0x18')](_0x365acc=>{const _0x485105=_0x461bad[_0x3241('0x4')][_0x3241('0x16')][_0x3241('0x5')],_0x4f5d6f=_0x485105['getFirstPosition'](),_0x37322d=_0x2121f9[_0x3241('0x1f')](_0x485105[_0x3241('0x1d')]());if(_0x23262e[_0x3241('0xd')](_0x365acc)){const _0x480d95=_0x461bad[_0x3241('0x4')][_0x3241('0x8')](_0x4f5d6f[_0x3241('0x15')][_0x3241('0x3')],0x0),_0x5772b7=_0x365acc[_0x3241('0x1a')](_0x4f5d6f,_0x480d95);_0x536bc5[_0x3241('0x11')](_0x5772b7);}else _0x365acc[_0x3241('0x20')](_0x365acc['createRange'](_0x37322d[_0x3241('0xb')]));_0x37322d[_0x3241('0x6')](),_0x23262e['fire']('afterExecute',{'writer':_0x365acc});});}),_0x461bad['editing'][_0x3241('0x9')]['on'](_0x3241('0x12'),_0x2a0caa(_0x461bad,_0x3241('0x1c')),{'priority':_0x3241('0x21')}),_0x461bad['editing'][_0x3241('0x9')]['on'](_0x3241('0x1e'),(_0x17c73c,_0x344453,_0x50ad56)=>{const _0x3ac82a=_0x50ad56[_0x3241('0x2')]['markerNameToElements'](_0x344453[_0x3241('0x7')]);if(_0x3ac82a)for(const _0xbc0c65 of _0x3ac82a)_0xbc0c65[_0x3241('0x1')](_0x3241('0x17'))&&(_0x50ad56[_0x3241('0x2')][_0x3241('0xc')](_0xbc0c65,_0x344453[_0x3241('0x7')]),_0x50ad56['writer'][_0x3241('0xf')](_0xbc0c65));},{'priority':_0x3241('0x21')}),_0x461bad[_0x3241('0xa')]['downcastDispatcher']['on'](_0x3241('0x12'),(_0x467ff0,_0xc5cb71,_0x178dfb)=>{_0x178dfb['options'][_0x3241('0x13')]&&_0x2a0caa(_0x461bad,_0x3241('0x1c'),{'showActiveMarker':!0x1})[_0x3241('0x10')](this)(_0x467ff0,_0xc5cb71,_0x178dfb);},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e59=['findByTextCallback','find','FindAndReplaceEditing','enableCommand','editor','plugins','TrackChangesEditing','getMarkersGroup','_isInDeletionRange','findNext','getIntersection','createRange','bind','afterInit','filter','suggestion:deletion','has','getRange','string','replaceAll','model'];(function(_0x3abf34,_0x5e590e){const _0x161a14=function(_0x4a40a9){while(--_0x4a40a9){_0x3abf34['push'](_0x3abf34['shift']());}};_0x161a14(++_0x5e590e);}(_0x5e59,0x15b));const _0x161a=function(_0x3abf34,_0x5e590e){_0x3abf34=_0x3abf34-0x0;let _0x161a14=_0x5e59[_0x3abf34];return _0x161a14;};import{Plugin as _0x3d64e3}from'ckeditor5/src/core';export default class z extends _0x3d64e3{[_0x161a('0x2')](){if(!this[_0x161a('0xe')][_0x161a('0xf')][_0x161a('0x5')](_0x161a('0xc')))return;const _0xa001b1=this[_0x161a('0xe')]['plugins']['get'](_0x161a('0x10'));_0xa001b1[_0x161a('0xd')](_0x161a('0xb'),this['handleFindCommand'][_0x161a('0x1')](this)),_0xa001b1['enableCommand'](_0x161a('0x13')),_0xa001b1[_0x161a('0xd')]('findPrevious'),_0xa001b1[_0x161a('0xd')]('replace'),_0xa001b1[_0x161a('0xd')](_0x161a('0x8'));}['handleFindCommand'](_0x814032,_0x34a51b,_0x3ecefa={}){const _0x55941f=this[_0x161a('0xe')]['plugins']['get']('FindAndReplaceUtils');void 0x0!==_0x3ecefa&&_0x814032(_0x45c708=>(_0x161a('0x7')==typeof _0x34a51b?_0x55941f[_0x161a('0xa')](_0x34a51b,_0x3ecefa):_0x34a51b)(_0x45c708)[_0x161a('0x3')](_0x49a724=>!0x1===this[_0x161a('0x12')](_0x49a724,_0x45c708['item'])),_0x3ecefa);}['_isInDeletionRange'](_0x1d0e3e,_0x5cee4e){const _0x1744ee=this[_0x161a('0xe')][_0x161a('0x9')][_0x161a('0x0')](this[_0x161a('0xe')][_0x161a('0x9')]['createPositionAt'](_0x5cee4e,_0x1d0e3e['start']),this[_0x161a('0xe')][_0x161a('0x9')]['createPositionAt'](_0x5cee4e,_0x1d0e3e['end']));for(const _0x3df45b of this['editor'][_0x161a('0x9')]['markers'][_0x161a('0x11')](_0x161a('0x4')))if(null!==_0x1744ee[_0x161a('0x14')](_0x3df45b[_0x161a('0x6')]()))return!0x0;return!0x1;}}
23
+ const _0x235b=['editor','start','FindAndReplaceUtils','createRange','TrackChangesEditing','getIntersection','suggestion:deletion','_isInDeletionRange','markers','model','replaceAll','end','string','filter','handleFindCommand','enableCommand','item','afterInit','bind','findPrevious','getRange','get','getMarkersGroup','plugins','createPositionAt','findByTextCallback'];(function(_0x54a0ea,_0x235b2){const _0x3a0a9c=function(_0x267238){while(--_0x267238){_0x54a0ea['push'](_0x54a0ea['shift']());}};_0x3a0a9c(++_0x235b2);}(_0x235b,0x1c7));const _0x3a0a=function(_0x54a0ea,_0x235b2){_0x54a0ea=_0x54a0ea-0x0;let _0x3a0a9c=_0x235b[_0x54a0ea];return _0x3a0a9c;};import{Plugin as _0x418119}from'ckeditor5/src/core';export default class z extends _0x418119{[_0x3a0a('0x4')](){if(!this[_0x3a0a('0xd')][_0x3a0a('0xa')]['has']('FindAndReplaceEditing'))return;const _0x4fca48=this[_0x3a0a('0xd')][_0x3a0a('0xa')]['get'](_0x3a0a('0x11'));_0x4fca48[_0x3a0a('0x2')]('find',this[_0x3a0a('0x1')][_0x3a0a('0x5')](this)),_0x4fca48['enableCommand']('findNext'),_0x4fca48['enableCommand'](_0x3a0a('0x6')),_0x4fca48['enableCommand']('replace'),_0x4fca48[_0x3a0a('0x2')](_0x3a0a('0x17'));}[_0x3a0a('0x1')](_0x11cf91,_0x34be90,_0x3cd2b0={}){const _0x1a712e=this[_0x3a0a('0xd')][_0x3a0a('0xa')][_0x3a0a('0x8')](_0x3a0a('0xf'));void 0x0!==_0x3cd2b0&&_0x11cf91(_0x384ddb=>(_0x3a0a('0x19')==typeof _0x34be90?_0x1a712e[_0x3a0a('0xc')](_0x34be90,_0x3cd2b0):_0x34be90)(_0x384ddb)[_0x3a0a('0x0')](_0x49c7cb=>!0x1===this[_0x3a0a('0x14')](_0x49c7cb,_0x384ddb[_0x3a0a('0x3')])),_0x3cd2b0);}[_0x3a0a('0x14')](_0x398c84,_0x3b961c){const _0x5e9886=this[_0x3a0a('0xd')][_0x3a0a('0x16')][_0x3a0a('0x10')](this['editor']['model'][_0x3a0a('0xb')](_0x3b961c,_0x398c84[_0x3a0a('0xe')]),this[_0x3a0a('0xd')][_0x3a0a('0x16')]['createPositionAt'](_0x3b961c,_0x398c84[_0x3a0a('0x18')]));for(const _0x42a085 of this[_0x3a0a('0xd')]['model'][_0x3a0a('0x15')][_0x3a0a('0x9')](_0x3a0a('0x13')))if(null!==_0x5e9886[_0x3a0a('0x12')](_0x42a085[_0x3a0a('0x7')]()))return!0x0;return!0x1;}}