@ckeditor/ckeditor5-track-changes 32.0.0 → 34.1.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 (114) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/track-changes.js +5 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de.js +1 -0
  8. package/build/translations/el.js +1 -0
  9. package/build/translations/en-au.js +1 -0
  10. package/build/translations/es.js +1 -0
  11. package/build/translations/et.js +1 -0
  12. package/build/translations/fr.js +1 -0
  13. package/build/translations/gl.js +1 -0
  14. package/build/translations/hi.js +1 -0
  15. package/build/translations/hr.js +1 -0
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -0
  18. package/build/translations/nl.js +1 -0
  19. package/build/translations/pl.js +1 -0
  20. package/build/translations/pt-br.js +1 -0
  21. package/build/translations/sk.js +1 -0
  22. package/build/translations/sr-latn.js +1 -0
  23. package/build/translations/sr.js +1 -0
  24. package/build/translations/tk.js +1 -0
  25. package/build/translations/tr.js +1 -0
  26. package/build/translations/zh-cn.js +1 -0
  27. package/build/translations/zh.js +1 -0
  28. package/ckeditor5-metadata.json +3 -0
  29. package/lang/translations/az.po +387 -0
  30. package/lang/translations/cs.po +31 -31
  31. package/lang/translations/da.po +1 -1
  32. package/lang/translations/de.po +1 -1
  33. package/lang/translations/el.po +387 -0
  34. package/lang/translations/en-au.po +6 -6
  35. package/lang/translations/es.po +35 -35
  36. package/lang/translations/fr.po +1 -1
  37. package/lang/translations/gl.po +3 -3
  38. package/lang/translations/hi.po +1 -1
  39. package/lang/translations/hr.po +14 -14
  40. package/lang/translations/id.po +370 -0
  41. package/lang/translations/it.po +1 -1
  42. package/lang/translations/nl.po +9 -9
  43. package/lang/translations/pl.po +1 -1
  44. package/lang/translations/pt-br.po +1 -1
  45. package/lang/translations/sk.po +58 -58
  46. package/lang/translations/sr-latn.po +3 -3
  47. package/lang/translations/sr.po +3 -3
  48. package/lang/translations/tk.po +1 -1
  49. package/lang/translations/tr.po +1 -1
  50. package/lang/translations/zh-cn.po +5 -5
  51. package/package.json +4 -7
  52. package/src/commands/acceptallsuggestionscommand.js +1 -1
  53. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardallsuggestionscommand.js +1 -1
  56. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/index.js +23 -0
  60. package/src/integrations/alignment.js +1 -1
  61. package/src/integrations/basicstyles.js +1 -1
  62. package/src/integrations/blockquote.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/entercommand.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/heading.js +1 -1
  69. package/src/integrations/highlight.js +1 -1
  70. package/src/integrations/horizontalline.js +1 -1
  71. package/src/integrations/image.js +1 -1
  72. package/src/integrations/indent.js +1 -1
  73. package/src/integrations/inputcommand.js +1 -1
  74. package/src/integrations/link.js +1 -1
  75. package/src/integrations/list.js +1 -1
  76. package/src/integrations/mediaembed.js +1 -1
  77. package/src/integrations/mention.js +1 -1
  78. package/src/integrations/pagebreak.js +1 -1
  79. package/src/integrations/paragraph.js +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.js +1 -1
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.js +1 -1
  84. package/src/integrations/table.js +1 -1
  85. package/src/integrations/tableclipboard.js +1 -1
  86. package/src/integrations/tableheadings.js +1 -1
  87. package/src/integrations/tablemergesplit.js +1 -1
  88. package/src/integrations/title.js +1 -1
  89. package/src/integrations/undo.js +1 -1
  90. package/src/integrations/utils.js +1 -1
  91. package/src/suggestion.js +1 -1
  92. package/src/suggestiondescriptionfactory.js +1 -1
  93. package/src/trackchanges.js +1 -1
  94. package/src/trackchangesdata.js +1 -1
  95. package/src/trackchangesediting.js +1 -1
  96. package/src/trackchangesui.js +1 -1
  97. package/src/ui/suggestioncontroller.js +1 -1
  98. package/src/ui/view/basesuggestionthreadview.js +1 -1
  99. package/src/ui/view/suggestionthreadview.js +1 -1
  100. package/src/utils/common-translations.js +23 -0
  101. package/src/utils/getselectedsuggestions.js +1 -1
  102. package/src/utils/hashobject.js +1 -1
  103. package/src/utils/normalizedescription.js +1 -1
  104. package/src/utils/sortsuggestions.js +1 -1
  105. package/theme/icons/track-changes-accept.svg +1 -1
  106. package/theme/icons/track-changes-discard.svg +1 -1
  107. package/theme/icons/track-changes.svg +1 -1
  108. package/theme/integrations/horizontalline.css +0 -15
  109. package/theme/integrations/image.css +0 -55
  110. package/theme/integrations/mediaembed.css +0 -19
  111. package/theme/integrations/pagebreak.css +0 -15
  112. package/theme/integrations/table.css +0 -147
  113. package/theme/suggestion.css +0 -87
  114. package/theme/suggestionmarker.css +0 -161
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17b2=['end','markerNameToElements','unbindElementFromMarkerName','setSelection','get','mapper','deleteForward','$graveyard','fromRange','root','init','createRange','start','removeMarker:suggestion:deletion','high','model','downcastDispatcher','rootName','delete','getFirstRange','unlock','lock','data','isCollapsed','unit','enableCommand','buffer','commands','document','TrackChangesEditing','plugins','showSuggestionHighlights','markerName','editing','selection'];(function(_0x4d40f3,_0x17b247){const _0x4df12d=function(_0x4d74a1){while(--_0x4d74a1){_0x4d40f3['push'](_0x4d40f3['shift']());}};_0x4df12d(++_0x17b247);}(_0x17b2,0x1a8));const _0x4df1=function(_0x4d40f3,_0x17b247){_0x4d40f3=_0x4d40f3-0x0;let _0x4df12d=_0x17b2[_0x4d40f3];return _0x4df12d;};import{Plugin as _0x48dc2b}from'ckeditor5/src/core';import{Delete as _0x3aed60}from'ckeditor5/src/typing';import{LiveRange as _0x2bcf41}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2d107f}from'./utils';export default class H extends _0x48dc2b{static get['requires'](){return[_0x3aed60];}[_0x4df1('0x6')](){const _0x5f39a2=this['editor'],_0xb5869=_0x5f39a2[_0x4df1('0x1a')]['get'](_0x4df1('0x19'));_0xb5869[_0x4df1('0x15')](_0x4df1('0xe'));const _0x2576e5=_0x5f39a2[_0x4df1('0x17')][_0x4df1('0x0')](_0x4df1('0x2'));_0xb5869[_0x4df1('0x15')]('deleteForward',(_0x590197,_0x1e09ee={})=>{const _0xe13c74=_0x5f39a2[_0x4df1('0xb')]['createSelection'](_0x5f39a2[_0x4df1('0xb')][_0x4df1('0x18')][_0x4df1('0x1e')]);_0xe13c74[_0x4df1('0x13')]&&_0x5f39a2[_0x4df1('0xb')]['modifySelection'](_0xe13c74,{'direction':'forward','unit':_0x1e09ee[_0x4df1('0x14')]});const _0x2bc170=_0xe13c74[_0x4df1('0xf')](),_0x1d0fb6=_0x2bcf41[_0x4df1('0x4')](_0x2bc170);let _0x4391f1;_0x590197(_0x1e09ee),_0x4391f1=_0x4df1('0x3')==_0x1d0fb6[_0x4df1('0x5')][_0x4df1('0xd')]?_0x5f39a2[_0x4df1('0xb')][_0x4df1('0x7')](_0x2bc170[_0x4df1('0x8')]):_0x5f39a2['model'][_0x4df1('0x7')](_0x1d0fb6[_0x4df1('0x8')],_0x1d0fb6[_0x4df1('0x1f')]),_0x1d0fb6['detach'](),_0x5f39a2['model']['enqueueChange'](_0x2576e5[_0x4df1('0x16')]['batch'],_0x216ade=>{_0x2576e5[_0x4df1('0x16')][_0x4df1('0x11')](),_0x216ade[_0x4df1('0x22')](_0x216ade[_0x4df1('0x7')](_0x4391f1['end'])),_0x2576e5[_0x4df1('0x16')][_0x4df1('0x10')]();});}),_0x5f39a2[_0x4df1('0x1d')][_0x4df1('0xc')]['on']('addMarker:suggestion:deletion',_0x2d107f(_0x5f39a2,'merge'),{'priority':_0x4df1('0xa')}),_0x5f39a2[_0x4df1('0x12')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x49e476,_0x2bb1ff,_0x4d58fa)=>{_0x4d58fa['options'][_0x4df1('0x1b')]&&_0x2d107f(_0x5f39a2,'merge',{'showActiveMarker':!0x1})(_0x49e476,_0x2bb1ff,_0x4d58fa);},{'priority':_0x4df1('0xa')}),_0x5f39a2[_0x4df1('0x1d')]['downcastDispatcher']['on'](_0x4df1('0x9'),(_0x13f0f3,_0x1d7e7f,_0x38a4d8)=>{const _0x5c59c6=_0x38a4d8[_0x4df1('0x1')][_0x4df1('0x20')](_0x1d7e7f['markerName']);if(_0x5c59c6)for(const _0x161c7d of _0x5c59c6)_0x161c7d['is']('uiElement')&&(_0x38a4d8[_0x4df1('0x1')][_0x4df1('0x21')](_0x161c7d,_0x1d7e7f[_0x4df1('0x1c')]),_0x38a4d8['writer']['remove'](_0x161c7d));},{'priority':_0x4df1('0xa')});}}
23
+ const _0x42b2=['unit','options','$graveyard','markerName','enableCommand','plugins','createSelection','delete','start','TrackChangesEditing','data','root','deleteForward','editing','batch','getFirstRange','addMarker:suggestion:deletion','showSuggestionHighlights','downcastDispatcher','buffer','lock','high','detach','createRange','uiElement','fromRange','end','editor','mapper','commands','selection','unbindElementFromMarkerName','document','isCollapsed','get','model','writer','removeMarker:suggestion:deletion','requires','enqueueChange','setSelection'];(function(_0x228876,_0x42b222){const _0x24e11f=function(_0x6397c4){while(--_0x6397c4){_0x228876['push'](_0x228876['shift']());}};_0x24e11f(++_0x42b222);}(_0x42b2,0xf5));const _0x24e1=function(_0x228876,_0x42b222){_0x228876=_0x228876-0x0;let _0x24e11f=_0x42b2[_0x228876];return _0x24e11f;};import{Plugin as _0x10b0fb}from'ckeditor5/src/core';import{Delete as _0x11af4d}from'ckeditor5/src/typing';import{LiveRange as _0x3b184d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1aa55c}from'./utils';export default class F extends _0x10b0fb{static get[_0x24e1('0x27')](){return[_0x11af4d];}['init'](){const _0x56121d=this[_0x24e1('0x1c')],_0x9e68e1=_0x56121d[_0x24e1('0x6')][_0x24e1('0x23')](_0x24e1('0xa'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0x8'));const _0x420a2f=_0x56121d[_0x24e1('0x1e')][_0x24e1('0x23')](_0x24e1('0xd'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0xd'),(_0x490221,_0x3de92b={})=>{const _0x504c44=_0x56121d[_0x24e1('0x24')][_0x24e1('0x7')](_0x56121d[_0x24e1('0x24')][_0x24e1('0x21')][_0x24e1('0x1f')]);_0x504c44[_0x24e1('0x22')]&&_0x56121d[_0x24e1('0x24')]['modifySelection'](_0x504c44,{'direction':'forward','unit':_0x3de92b[_0x24e1('0x1')]});const _0x233e5c=_0x504c44[_0x24e1('0x10')](),_0x5d76e5=_0x3b184d[_0x24e1('0x1a')](_0x233e5c);let _0x5a5174;_0x490221(_0x3de92b),_0x5a5174=_0x24e1('0x3')==_0x5d76e5[_0x24e1('0xc')]['rootName']?_0x56121d[_0x24e1('0x24')][_0x24e1('0x18')](_0x233e5c[_0x24e1('0x9')]):_0x56121d[_0x24e1('0x24')]['createRange'](_0x5d76e5[_0x24e1('0x9')],_0x5d76e5[_0x24e1('0x1b')]),_0x5d76e5[_0x24e1('0x17')](),_0x56121d['model'][_0x24e1('0x28')](_0x420a2f[_0x24e1('0x14')][_0x24e1('0xf')],_0x2a1592=>{_0x420a2f[_0x24e1('0x14')][_0x24e1('0x15')](),_0x2a1592[_0x24e1('0x0')](_0x2a1592[_0x24e1('0x18')](_0x5a5174[_0x24e1('0x1b')])),_0x420a2f[_0x24e1('0x14')]['unlock']();});}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),_0x1aa55c(_0x56121d,'merge'),{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xb')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),(_0x5ed807,_0x5d4b99,_0x2ea9d8)=>{_0x2ea9d8[_0x24e1('0x2')][_0x24e1('0x12')]&&_0x1aa55c(_0x56121d,'merge',{'showActiveMarker':!0x1})(_0x5ed807,_0x5d4b99,_0x2ea9d8);},{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x26'),(_0x1b8dad,_0x4d9568,_0x4d8bc5)=>{const _0x4301ae=_0x4d8bc5[_0x24e1('0x1d')]['markerNameToElements'](_0x4d9568[_0x24e1('0x4')]);if(_0x4301ae)for(const _0x9ae979 of _0x4301ae)_0x9ae979['is'](_0x24e1('0x19'))&&(_0x4d8bc5[_0x24e1('0x1d')][_0x24e1('0x20')](_0x9ae979,_0x4d9568[_0x24e1('0x4')]),_0x4d8bc5[_0x24e1('0x25')]['remove'](_0x9ae979));},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bde=['enter','requires','editing','isAtStart','isLimit','unbindElementFromMarkerName','end','nextSibling','model','markerName','TrackChangesEditing','ck-suggestion-marker-split','createPositionAt','downcastDispatcher','mapper','createRange','high','isCollapsed','markInsertion','setSelection','removeMarker:suggestion:insertion','getFirstPosition','start','split','writer','document','init','addMarker:suggestion:insertion','change','parent','plugins','getFirstRange','markerNameToElements','get','data','remove'];(function(_0x211fa6,_0x4bde07){const _0x2b2d4a=function(_0x17f459){while(--_0x17f459){_0x211fa6['push'](_0x211fa6['shift']());}};_0x2b2d4a(++_0x4bde07);}(_0x4bde,0xef));const _0x2b2d=function(_0x211fa6,_0x4bde07){_0x211fa6=_0x211fa6-0x0;let _0x2b2d4a=_0x4bde[_0x211fa6];return _0x2b2d4a;};import{Plugin as _0x3ae3f7}from'ckeditor5/src/core';import{Enter as _0x21863f}from'ckeditor5/src/enter';import{LiveRange as _0x405585}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x22de63}from'./utils';export default class W extends _0x3ae3f7{static get[_0x2b2d('0xe')](){return[_0x21863f];}[_0x2b2d('0x3')](){const _0x327094=this['editor'],_0x1af930=_0x327094[_0x2b2d('0x7')][_0x2b2d('0xa')](_0x2b2d('0x17'));_0x1af930['enableCommand'](_0x2b2d('0xd'),_0x3b5c15=>{_0x327094[_0x2b2d('0x15')][_0x2b2d('0x5')](_0x319f6f=>{const _0xf6e59b=_0x327094['model'][_0x2b2d('0x2')]['selection'],_0x88de70=_0xf6e59b[_0x2b2d('0x22')](),_0x38a170=_0xf6e59b[_0x2b2d('0x1e')],_0x273d02=_0x405585['fromRange'](_0xf6e59b[_0x2b2d('0x8')]()),_0xeef2d9=_0x273d02[_0x2b2d('0x23')][_0x2b2d('0x6')],_0x484682=_0x273d02[_0x2b2d('0x13')][_0x2b2d('0x6')],_0x280ee3=!(_0x273d02['start'][_0x2b2d('0x10')]&&_0x273d02[_0x2b2d('0x13')]['isAtEnd']),_0x1d09b4=_0xeef2d9==_0x484682,_0x3330e1=!(_0x327094[_0x2b2d('0x15')]['schema'][_0x2b2d('0x11')](_0xeef2d9)||_0x327094[_0x2b2d('0x15')]['schema'][_0x2b2d('0x11')](_0x484682))&&(_0x38a170||_0x280ee3&&_0x1d09b4);if(_0x3b5c15(),_0x3330e1){const _0x3d390b=_0x327094[_0x2b2d('0x15')][_0x2b2d('0x19')](_0x88de70['parent'][_0x2b2d('0x14')],0x0),_0x2f15db=_0x319f6f[_0x2b2d('0x1c')](_0x88de70,_0x3d390b);_0x1af930[_0x2b2d('0x1f')](_0x2f15db);}else _0x319f6f[_0x2b2d('0x20')](_0x319f6f['createRange'](_0x273d02['end']));_0x273d02['detach']();});}),_0x327094['editing']['downcastDispatcher']['on'](_0x2b2d('0x4'),_0x22de63(_0x327094,_0x2b2d('0x0')),{'priority':_0x2b2d('0x1d')}),_0x327094[_0x2b2d('0xf')][_0x2b2d('0x1a')]['on'](_0x2b2d('0x21'),(_0x507cad,_0x64ac14,_0x211971)=>{const _0x3480b2=_0x211971['mapper'][_0x2b2d('0x9')](_0x64ac14['markerName']);if(_0x3480b2)for(const _0x24e69b of _0x3480b2)_0x24e69b['hasClass'](_0x2b2d('0x18'))&&(_0x211971[_0x2b2d('0x1b')][_0x2b2d('0x12')](_0x24e69b,_0x64ac14[_0x2b2d('0x16')]),_0x211971[_0x2b2d('0x1')][_0x2b2d('0xc')](_0x24e69b));},{'priority':'high'}),_0x327094[_0x2b2d('0xb')][_0x2b2d('0x1a')]['on']('addMarker:suggestion:insertion',(_0x583f76,_0x22798c,_0x475e93)=>{_0x475e93['options']['showSuggestionHighlights']&&_0x22de63(_0x327094,_0x2b2d('0x0'),{'showActiveMarker':!0x1})(_0x583f76,_0x22798c,_0x475e93);},{'priority':_0x2b2d('0x1d')});}}
23
+ const _0x354d=['writer','downcastDispatcher','end','plugins','isAtEnd','model','start','schema','fromRange','TrackChangesEditing','mapper','markerName','requires','editing','createPositionAt','init','nextSibling','enter','markInsertion','addMarker:suggestion:insertion','unbindElementFromMarkerName','markerNameToElements','options','createRange','isLimit','setSelection','parent','high','document','detach','removeMarker:suggestion:insertion','selection','getFirstRange','remove','get','data','isCollapsed','hasClass'];(function(_0x53ac20,_0x354d6d){const _0x26d1b9=function(_0x4bc9dc){while(--_0x4bc9dc){_0x53ac20['push'](_0x53ac20['shift']());}};_0x26d1b9(++_0x354d6d);}(_0x354d,0x1c3));const _0x26d1=function(_0x53ac20,_0x354d6d){_0x53ac20=_0x53ac20-0x0;let _0x26d1b9=_0x354d[_0x53ac20];return _0x26d1b9;};import{Plugin as _0x21ba5c}from'ckeditor5/src/core';import{Enter as _0x28130e}from'ckeditor5/src/enter';import{LiveRange as _0x48b072}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4bd0c5}from'./utils';export default class L extends _0x21ba5c{static get[_0x26d1('0x11')](){return[_0x28130e];}[_0x26d1('0x14')](){const _0x2d4790=this['editor'],_0x377e07=_0x2d4790[_0x26d1('0x8')][_0x26d1('0x1')](_0x26d1('0xe'));_0x377e07['enableCommand'](_0x26d1('0x16'),_0x1f3105=>{_0x2d4790[_0x26d1('0xa')]['change'](_0x25e0bb=>{const _0x2686c8=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x21')][_0x26d1('0x24')],_0x4c6144=_0x2686c8['getFirstPosition'](),_0x29b345=_0x2686c8[_0x26d1('0x3')],_0x2bb750=_0x48b072[_0x26d1('0xd')](_0x2686c8[_0x26d1('0x25')]()),_0x49cd72=_0x2bb750[_0x26d1('0xb')][_0x26d1('0x1f')],_0x4fbbd3=_0x2bb750[_0x26d1('0x7')][_0x26d1('0x1f')],_0x5c38ff=!(_0x2bb750['start']['isAtStart']&&_0x2bb750[_0x26d1('0x7')][_0x26d1('0x9')]),_0x11f94d=_0x49cd72==_0x4fbbd3,_0x5b2b4e=!(_0x2d4790[_0x26d1('0xa')][_0x26d1('0xc')][_0x26d1('0x1d')](_0x49cd72)||_0x2d4790[_0x26d1('0xa')]['schema'][_0x26d1('0x1d')](_0x4fbbd3))&&(_0x29b345||_0x5c38ff&&_0x11f94d);if(_0x1f3105(),_0x5b2b4e){const _0x7e2550=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x13')](_0x4c6144[_0x26d1('0x1f')][_0x26d1('0x15')],0x0),_0x387c53=_0x25e0bb[_0x26d1('0x1c')](_0x4c6144,_0x7e2550);_0x377e07[_0x26d1('0x17')](_0x387c53);}else _0x25e0bb[_0x26d1('0x1e')](_0x25e0bb['createRange'](_0x2bb750[_0x26d1('0x7')]));_0x2bb750[_0x26d1('0x22')]();});}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),_0x4bd0c5(_0x2d4790,'split'),{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x23'),(_0x353abe,_0x2f82a6,_0x5b67ba)=>{const _0x49524d=_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x1a')](_0x2f82a6[_0x26d1('0x10')]);if(_0x49524d)for(const _0x2d7aeb of _0x49524d)_0x2d7aeb[_0x26d1('0x4')]('ck-suggestion-marker-split')&&(_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x19')](_0x2d7aeb,_0x2f82a6['markerName']),_0x5b67ba[_0x26d1('0x5')][_0x26d1('0x0')](_0x2d7aeb));},{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x2')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),(_0x29ec5a,_0x56c78e,_0x257cc4)=>{_0x257cc4[_0x26d1('0x1b')]['showSuggestionHighlights']&&_0x4bd0c5(_0x2d4790,'split',{'showActiveMarker':!0x1})(_0x29ec5a,_0x56c78e,_0x257cc4);},{'priority':_0x26d1('0x20')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x36f48f}from'ckeditor5/src/core';import{normalizeColorOptions as Ht}from'ckeditor5/src/ui';import{normalizeOptions as Jt}from'@ckeditor/ckeditor5-font/src/fontsize/utils';import{getRangesWithAttribute as Rt}from'./utils';const Xt=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class z extends _0x36f48f{['afterInit'](){const {t:t}=this['editor']['locale'];for(const {pluginName:_0x4c771e,commandName:_0x4ca142}of Xt)this['editor']['plugins']['has'](_0x4c771e)&&this['_enableCommand'](_0x4ca142);this['editor']['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0x14eb72=>{const {data:_0x2bb532}=_0x14eb72;if(null!=_0x2bb532){if('fontSize'==_0x2bb532['commandName']){const _0x21e73b=_0x2bb532['commandParams'][0x0]['value'];if(_0x21e73b){const _0x3146c5=Jt(this['editor']['config']['get']('fontSize.options'))['find'](_0x4df6fe=>_0x4df6fe['model']==_0x21e73b)['title'],_0x2a61e3=this['editor']['locale']['_t'](_0x3146c5)['toLowerCase']();return{'type':'format','content':t('*Set\x20font\x20size:*\x20%0',_0x2a61e3)};}return{'type':'format','content':t('*Reset\x20font\x20size*')};}if('fontFamily'==_0x2bb532['commandName']){const _0x3c23e0=_0x2bb532['commandParams'][0x0]['value'];return _0x3c23e0?{'type':'format','content':t('*Set\x20font\x20family:*\x20%0',_0x3c23e0)}:{'type':'format','content':t('*Reset\x20font\x20family*')};}if('fontColor'==_0x2bb532['commandName']){const _0x54bff0=_0x2bb532['commandParams'][0x0]['value'];if(_0x54bff0){const _0x55be4e=Ht(this['editor']['config']['get']('fontColor.colors'))['find'](_0x90ad62=>_0x90ad62['model']==_0x54bff0);let _0x12ecb3=_0x54bff0,_0x4e0a38='';return _0x55be4e&&(_0x12ecb3=_0x55be4e['label'],_0x4e0a38=this['editor']['locale']['_t'](_0x12ecb3)['toLowerCase']()),{'type':'format','content':t('*Set\x20font\x20color:*\x20%0',_0x4e0a38)['trim'](),'color':{'value':_0x54bff0,'title':_0x4e0a38||_0x12ecb3}};}return{'type':'format','content':t('*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x2bb532['commandName']){const _0x5eacf2=_0x2bb532['commandParams'][0x0]['value'];if(_0x5eacf2){const _0x4583c2=Ht(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x17b5d7=>_0x17b5d7['model']==_0x5eacf2);let _0x1639b4=_0x5eacf2,_0x4d968d='';return _0x4583c2&&(_0x1639b4=_0x4583c2['label'],_0x4d968d=this['editor']['locale']['_t'](_0x1639b4)['toLowerCase']()),{'type':'format','content':t('*Set\x20font\x20background\x20color:*\x20%0',_0x4d968d)['trim'](),'color':{'value':_0x5eacf2,'title':_0x4d968d||_0x1639b4}};}return{'type':'format','content':t('*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0x2948d7){const _0x104255=this['editor'];_0x104255['plugins']['get']('TrackChangesEditing')['enableCommand'](_0x2948d7,(_0x2a4d4e,_0x2468e7={})=>{const _0x35c854=_0x104255['model']['document']['selection'],_0xc08a33=_0x2468e7['value'];_0x35c854['isCollapsed']?_0x2a4d4e(_0x2468e7):_0x104255['model']['change'](()=>{const _0x5248b6=Array['from'](_0x35c854['getRanges']());for(const _0x4216cf of _0x5248b6){const _0x45322f=_0xc08a33?[_0x4216cf]:Rt(_0x2948d7,_0x4216cf,_0x104255['model']);for(const _0x3ba1bc of _0x45322f)_0x104255['plugins']['get']('TrackChangesEditing')['markInlineFormat'](_0x3ba1bc,{'commandName':_0x2948d7,'commandParams':[{'value':_0xc08a33}]});}});});}}
23
+ const _0x2cbf=['TrackChangesEditing','FontSizeEditing','getRanges','_enableCommand','trim','*Reset\x20font\x20size*','normalizeSizeOptions','format','fontColor','toLowerCase','has','markInlineFormat','plugins','find','commandParams','*Reset\x20font\x20background\x20color*','change','*Set\x20font\x20family:*\x20%0','afterInit','*Set\x20font\x20color:*\x20%0','_descriptionFactory','from','config','FontBackgroundColorEditing','fontBackgroundColor','registerDescriptionCallback','enableCommand','fontBackgroundColor.colors','value','model','get','commandName','FontFamilyEditing','title','*Set\x20font\x20background\x20color:*\x20%0','document','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','fontSize','fontSize.options','locale','FontColorEditing','editor','*Reset\x20font\x20color*','fontFamily'];(function(_0x6cabdf,_0x2cbf10){const _0x14365=function(_0x2ceb6d){while(--_0x2ceb6d){_0x6cabdf['push'](_0x6cabdf['shift']());}};_0x14365(++_0x2cbf10);}(_0x2cbf,0x80));const _0x1436=function(_0x6cabdf,_0x2cbf10){_0x6cabdf=_0x6cabdf-0x0;let _0x14365=_0x2cbf[_0x6cabdf];return _0x14365;};import{Plugin as _0x1dad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x21c257}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5cc7da}from'./utils';import{getTranslation as _0x3b7f09}from'../utils/common-translations';const zt=[{'pluginName':_0x1436('0x8'),'commandName':_0x1436('0x0')},{'pluginName':_0x1436('0x27'),'commandName':_0x1436('0x6')},{'pluginName':_0x1436('0x3'),'commandName':'fontColor'},{'pluginName':_0x1436('0x1e'),'commandName':'fontBackgroundColor'}];export default class q extends _0x1dad17{[_0x1436('0x19')](){const _0x2828a8=this[_0x1436('0x4')][_0x1436('0x2')];for(const {pluginName:_0xe0ba8b,commandName:_0x38f825}of zt)this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x11')](_0xe0ba8b)&&this['_enableCommand'](_0x38f825);this[_0x1436('0x4')]['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x1b')][_0x1436('0x20')](_0x31ce7d=>{const {data:_0xe3e4cd}=_0x31ce7d;if(null!=_0xe3e4cd){if(_0x1436('0x0')==_0xe3e4cd[_0x1436('0x26')]){const _0x1addd5=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];if(_0x1addd5){const _0x3032f3=this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x25')]('FontSize')[_0x1436('0xd')](this['editor'][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x1')))[_0x1436('0x14')](_0x1ea3b6=>_0x1ea3b6['model']==_0x1addd5)[_0x1436('0x28')],_0x49a518=this[_0x1436('0x4')][_0x1436('0x2')]['_t'](_0x3032f3)[_0x1436('0x10')]();return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2b'),_0x49a518)};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0xc'))};}if(_0x1436('0x6')==_0xe3e4cd['commandName']){const _0x145431=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];return _0x145431?{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x18'),_0x145431)}:{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2c'))};}if(_0x1436('0xf')==_0xe3e4cd[_0x1436('0x26')]){const _0xd876=_0xe3e4cd[_0x1436('0x15')][0x0]['value'];if(_0xd876){const _0x4fa969=_0x21c257(this[_0x1436('0x4')]['config']['get']('fontColor.colors'))[_0x1436('0x14')](_0x3568a9=>_0x3568a9[_0x1436('0x24')]==_0xd876);let _0x21bb41=_0xd876,_0x5e830e='';return _0x4fa969&&(_0x21bb41=_0x4fa969['label'],_0x5e830e=_0x2828a8['_t'](_0x21bb41)[_0x1436('0x10')]()),{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x1a'),_0x5e830e)[_0x1436('0xb')](),'color':{'value':_0xd876,'title':_0x5e830e||_0x21bb41}};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x5'))};}if(_0x1436('0x1f')==_0xe3e4cd[_0x1436('0x26')]){const _0x2c0981=_0xe3e4cd['commandParams'][0x0][_0x1436('0x23')];if(_0x2c0981){const _0x1561d0=_0x21c257(this[_0x1436('0x4')][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x22')))[_0x1436('0x14')](_0x3f0838=>_0x3f0838['model']==_0x2c0981);let _0x59c328=_0x2c0981,_0x3ca64e='';return _0x1561d0&&(_0x59c328=_0x1561d0['label'],_0x3ca64e=_0x2828a8['_t'](_0x59c328)[_0x1436('0x10')]()),{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x29'),_0x3ca64e)[_0x1436('0xb')](),'color':{'value':_0x2c0981,'title':_0x3ca64e||_0x59c328}};}return{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x16'))};}}});}[_0x1436('0xa')](_0x46f259){const _0x1c9a9b=this['editor'];_0x1c9a9b['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x21')](_0x46f259,(_0x42f7eb,_0x5a9d49={})=>{const _0x23ecf2=_0x1c9a9b[_0x1436('0x24')][_0x1436('0x2a')]['selection'],_0x4a163c=_0x5a9d49[_0x1436('0x23')];_0x23ecf2['isCollapsed']?_0x42f7eb(_0x5a9d49):_0x1c9a9b[_0x1436('0x24')][_0x1436('0x17')](()=>{const _0x368d8f=Array[_0x1436('0x1c')](_0x23ecf2[_0x1436('0x9')]());for(const _0x389d64 of _0x368d8f){const _0x1c2072=_0x4a163c?[_0x389d64]:_0x5cc7da(_0x46f259,_0x389d64,_0x1c9a9b[_0x1436('0x24')]);for(const _0x147dda of _0x1c2072)_0x1c9a9b['plugins']['get'](_0x1436('0x7'))[_0x1436('0x12')](_0x147dda,{'commandName':_0x46f259,'commandParams':[{'value':_0x4a163c}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x38156a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x57a6a9}from'./utils';export default class J extends _0x38156a{['afterInit'](){const _0x3b9d82=this['editor'],{t:t}=_0x3b9d82['locale'],_0x5625c0=_0x3b9d82['config']['get']('heading.options');if(!_0x3b9d82['plugins']['has']('HeadingEditing'))return;const _0x47474e=_0x3b9d82['plugins']['get']('TrackChangesEditing');_0x47474e['enableCommand']('heading',(_0x3238d9,_0x11586d)=>{const _0x157258=_0x11586d['value'],_0x46ee09=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x380558=>function(_0x45fdd1,_0x394bcf,_0x33e7b0){return _0x33e7b0['checkChild'](_0x45fdd1['parent'],_0x394bcf)&&!_0x33e7b0['isObject'](_0x45fdd1)&&_0x45fdd1['name']!=_0x394bcf;}(_0x380558,_0x157258,this['editor']['model']['schema']));_0x3b9d82['model']['change'](()=>{for(const _0x427a04 of _0x46ee09)_0x47474e['markBlockFormat'](_0x427a04,{'commandName':'heading','commandParams':[_0x11586d],'formatGroupId':'blockName'},_0x57a6a9(_0x427a04));});});for(const _0x96666f of _0x5625c0)'paragraph'!=_0x96666f['model']&&_0x47474e['_descriptionFactory']['registerElementLabel'](_0x96666f['model'],_0x4821e6=>{const _0x5b9a84=tn(_0x96666f['model']);return null!==_0x5b9a84?_0xa4b300(_0x4821e6,_0x5b9a84):_0x50c7db(_0x4821e6,_0x96666f['title']);});function _0xa4b300(_0x4621e5,_0x19699a){return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},[_0x4621e5,_0x19699a]);}function _0x50c7db(_0x196ff4,_0x5a31b2){return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},[_0x196ff4,_0x5a31b2]);}_0x47474e['_descriptionFactory']['registerDescriptionCallback'](_0x2d5a18=>{const {type:_0x5b30b8,data:_0x37a305}=_0x2d5a18;if('formatBlock'==_0x5b30b8&&_0x37a305&&'heading'==_0x37a305['commandName']){const _0xb491dd=_0x37a305['commandParams'][0x0]['value'],_0x573078=tn(_0xb491dd);if(null!==_0x573078)return{'type':'format','content':t('*Change\x20to:*\x20%0',_0xa4b300(0x1,_0x573078))};const _0x2a0ded=_0x5625c0['find'](_0x2827ee=>_0x2827ee['model']===_0xb491dd)['title'];return{'type':'format','content':t('*Change\x20to:*\x20%0',_0x50c7db(0x1,_0x2a0ded))};}});}}function tn(_0x28ef52){const _0x18f3b1=_0x28ef52['match'](/^heading(\d+)$/);return _0x18f3b1?_0x18f3b1[0x1]:null;}
23
+ const _0x43fb=['ELEMENT_HEADING_CUSTOM','format','checkChild','config','blockName','value','has','*Change\x20to:*\x20%0','commandParams','match','parent','filter','heading','name','get','editor','markBlockFormat','heading.options','TrackChangesEditing','registerDescriptionCallback','registerElementLabel','plugins','_descriptionFactory','ELEMENT_HEADING','change','from','enableCommand','model','document','title','isObject','locale','commandName','find','HeadingEditing'];(function(_0x5b0423,_0x43fb1c){const _0x30e79c=function(_0x1eac43){while(--_0x1eac43){_0x5b0423['push'](_0x5b0423['shift']());}};_0x30e79c(++_0x43fb1c);}(_0x43fb,0x1e2));const _0x30e7=function(_0x5b0423,_0x43fb1c){_0x5b0423=_0x5b0423-0x0;let _0x30e79c=_0x43fb[_0x5b0423];return _0x30e79c;};import{Plugin as _0x2fd95d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5d67f3}from'./utils';import{getTranslation as _0x26633}from'../utils/common-translations';export default class H extends _0x2fd95d{['afterInit'](){const _0x57393a=this['editor'],_0x30ad04=_0x57393a[_0x30e7('0x4')],_0x4a79b0=_0x57393a[_0x30e7('0xb')][_0x30e7('0x16')](_0x30e7('0x19'));if(!_0x57393a[_0x30e7('0x1d')][_0x30e7('0xe')](_0x30e7('0x7')))return;const _0x5186a0=_0x57393a[_0x30e7('0x1d')][_0x30e7('0x16')](_0x30e7('0x1a'));_0x5186a0[_0x30e7('0x22')](_0x30e7('0x14'),(_0x5a4ad7,_0x41a384)=>{const _0x2725c2=_0x41a384['value'],_0x1bb000=Array[_0x30e7('0x21')](this['editor'][_0x30e7('0x0')][_0x30e7('0x1')]['selection']['getSelectedBlocks']())[_0x30e7('0x13')](_0x26e40c=>function(_0x4a1dd9,_0x10ef6c,_0xf10ef9){return _0xf10ef9[_0x30e7('0xa')](_0x4a1dd9[_0x30e7('0x12')],_0x10ef6c)&&!_0xf10ef9[_0x30e7('0x3')](_0x4a1dd9)&&_0x4a1dd9[_0x30e7('0x15')]!=_0x10ef6c;}(_0x26e40c,_0x2725c2,this[_0x30e7('0x17')]['model']['schema']));_0x57393a[_0x30e7('0x0')][_0x30e7('0x20')](()=>{for(const _0x5d8384 of _0x1bb000)_0x5186a0[_0x30e7('0x18')](_0x5d8384,{'commandName':_0x30e7('0x14'),'commandParams':[_0x41a384],'formatGroupId':_0x30e7('0xc')},_0x5d67f3(_0x5d8384));});});for(const _0x5eea1d of _0x4a79b0)'paragraph'!=_0x5eea1d[_0x30e7('0x0')]&&_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1c')](_0x5eea1d[_0x30e7('0x0')],_0x135e21=>{const _0x43d837=Ht(_0x5eea1d[_0x30e7('0x0')]);return null!==_0x43d837?_0x378071(_0x135e21,_0x43d837):_0x3ff5df(_0x135e21,_0x5eea1d['title']);});function _0x378071(_0x544200,_0x310bd5){return _0x26633(_0x30ad04,_0x30e7('0x1f'),[_0x544200,_0x310bd5]);}function _0x3ff5df(_0x1ac647,_0x536f0e){return _0x26633(_0x30ad04,_0x30e7('0x8'),[_0x1ac647,_0x536f0e]);}_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1b')](_0x3c0b69=>{const {type:_0x468d22,data:_0x4b176c}=_0x3c0b69;if('formatBlock'==_0x468d22&&_0x4b176c&&'heading'==_0x4b176c[_0x30e7('0x5')]){const _0x9f701=_0x4b176c[_0x30e7('0x10')][0x0][_0x30e7('0xd')],_0x590297=Ht(_0x9f701);if(null!==_0x590297)return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x378071(0x1,_0x590297))};const _0x2f1c89=_0x4a79b0[_0x30e7('0x6')](_0x2ce1f3=>_0x2ce1f3['model']===_0x9f701)[_0x30e7('0x2')];return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x3ff5df(0x1,_0x2f1c89))};}});}}function Ht(_0x109d51){const _0x45abfa=_0x109d51[_0x30e7('0x11')](/^heading(\d+)$/);return _0x45abfa?_0x45abfa[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4f68ca}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';export default class K extends _0x4f68ca{['afterInit'](){const _0x3dc23a=this['editor'];if(!_0x3dc23a['plugins']['has']('HighlightEditing'))return;const _0x31b8af=_0x3dc23a['plugins']['get']('TrackChangesEditing');_0x31b8af['enableCommand']('highlight',(_0x235093,_0x3ab185={})=>{const _0x204441=_0x3dc23a['model']['document']['selection'],_0x3b90c7=_0x204441['getAttribute']('highlight');let _0x51e0f7=_0x3ab185['value'],_0x16bed3=[];if(_0x204441['isCollapsed']){const _0xdbcdc5=_0x204441['getFirstPosition']();if(!_0x204441['hasAttribute']('highlight'))return void _0x235093(_0x3ab185);{const _0x1bfe9a=_0x56cb82=>_0x56cb82['item']['getAttribute']('highlight')===_0x3b90c7,_0x44fb99=_0xdbcdc5['getLastMatchingPosition'](_0x1bfe9a,{'direction':'backward'}),_0x4516c5=_0xdbcdc5['getLastMatchingPosition'](_0x1bfe9a);_0x16bed3=[_0x3dc23a['model']['createRange'](_0x44fb99,_0x4516c5)],_0x51e0f7==_0x3b90c7&&(_0x51e0f7=null);}}else for(const _0x48052c of _0x204441['getRanges']())_0x51e0f7?_0x16bed3['push'](_0x48052c):_0x16bed3['push'](...Rt('highlight',_0x48052c,_0x3dc23a['model']));_0x3dc23a['model']['change'](()=>{for(const _0x334899 of _0x16bed3)_0x31b8af['markInlineFormat'](_0x334899,{'commandName':'highlight','commandParams':[{'value':_0x51e0f7}]});});});const {t:t}=_0x3dc23a['locale'];_0x31b8af['_descriptionFactory']['registerDescriptionCallback'](_0x2ee754=>{const {type:_0x33d5fb,data:_0x1d9f57}=_0x2ee754;if('formatInline'==_0x33d5fb&&_0x1d9f57&&'highlight'==_0x1d9f57['commandName']){const _0x36a645=_0x1d9f57['commandParams'][0x0]['value'];if(_0x36a645){const _0xceb38a=_0x3dc23a['config']['get']('highlight.options')['find'](_0x46bbc5=>_0x46bbc5['model']==_0x36a645),_0x5ba7bd=_0x3dc23a['locale']['_t'](_0xceb38a['title'])['toLowerCase']();return{'type':'format','content':t('*Set\x20highlight:*\x20%0',_0x5ba7bd),'color':{'value':_0xceb38a['color'],'title':_0xceb38a['title']}};}return{'type':'format','content':t('*Remove\x20highlight*',t({'string':'highlight','id':'FORMAT_HIGHLIGHT'}))};}});}}
23
+ const _0x4cb3=['registerDescriptionCallback','getRanges','formatInline','commandName','backward','getFirstPosition','highlight.options','value','HighlightEditing','get','push','item','format','color','*Set\x20highlight:*\x20%0','getLastMatchingPosition','plugins','change','find','hasAttribute','config','model','getAttribute','document','highlight','commandParams','editor','title'];(function(_0x525586,_0x4cb363){const _0x199050=function(_0x273c15){while(--_0x273c15){_0x525586['push'](_0x525586['shift']());}};_0x199050(++_0x4cb363);}(_0x4cb3,0x1be));const _0x1990=function(_0x525586,_0x4cb363){_0x525586=_0x525586-0x0;let _0x199050=_0x4cb3[_0x525586];return _0x199050;};import{Plugin as _0x16b635}from'ckeditor5/src/core';import{getTranslation as _0x3e9772}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d3587}from'./utils';export default class W extends _0x16b635{['afterInit'](){const _0x290285=this[_0x1990('0x0')];if(!_0x290285[_0x1990('0x12')]['has'](_0x1990('0xa')))return;const _0x3b1fba=_0x290285[_0x1990('0x12')]['get']('TrackChangesEditing');_0x3b1fba['enableCommand'](_0x1990('0x1a'),(_0x3d3477,_0xa400f7={})=>{const _0x68241b=_0x290285['model'][_0x1990('0x19')]['selection'],_0x149ba4=_0x68241b['getAttribute']('highlight');let _0x114987=_0xa400f7[_0x1990('0x9')],_0xe4b497=[];if(_0x68241b['isCollapsed']){const _0x32c840=_0x68241b[_0x1990('0x7')]();if(!_0x68241b[_0x1990('0x15')](_0x1990('0x1a')))return void _0x3d3477(_0xa400f7);{const _0x31a650=_0x51af0a=>_0x51af0a[_0x1990('0xd')][_0x1990('0x18')](_0x1990('0x1a'))===_0x149ba4,_0x2f4ace=_0x32c840[_0x1990('0x11')](_0x31a650,{'direction':_0x1990('0x6')}),_0x485f67=_0x32c840[_0x1990('0x11')](_0x31a650);_0xe4b497=[_0x290285[_0x1990('0x17')]['createRange'](_0x2f4ace,_0x485f67)],_0x114987==_0x149ba4&&(_0x114987=null);}}else for(const _0xf5040e of _0x68241b[_0x1990('0x3')]())_0x114987?_0xe4b497[_0x1990('0xc')](_0xf5040e):_0xe4b497[_0x1990('0xc')](..._0x1d3587(_0x1990('0x1a'),_0xf5040e,_0x290285[_0x1990('0x17')]));_0x290285['model'][_0x1990('0x13')](()=>{for(const _0x4f91c7 of _0xe4b497)_0x3b1fba['markInlineFormat'](_0x4f91c7,{'commandName':'highlight','commandParams':[{'value':_0x114987}]});});});const _0x584dfd=_0x290285['locale'];_0x3b1fba['_descriptionFactory'][_0x1990('0x2')](_0x29422e=>{const {type:_0x95f774,data:_0x15a8ab}=_0x29422e;if(_0x1990('0x4')==_0x95f774&&_0x15a8ab&&_0x1990('0x1a')==_0x15a8ab[_0x1990('0x5')]){const _0x31b04d=_0x15a8ab[_0x1990('0x1b')][0x0]['value'];if(_0x31b04d){const _0x8ed2f3=_0x290285[_0x1990('0x16')][_0x1990('0xb')](_0x1990('0x8'))[_0x1990('0x14')](_0x5c2448=>_0x5c2448['model']==_0x31b04d),_0x10743c=_0x584dfd['_t'](_0x8ed2f3[_0x1990('0x1')])['toLowerCase']();return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,_0x1990('0x10'),_0x10743c),'color':{'value':_0x8ed2f3[_0x1990('0xf')],'title':_0x8ed2f3[_0x1990('0x1')]}};}return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,'*Remove\x20highlight*',_0x3e9772(_0x584dfd,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x546d9d}from'ckeditor5/src/core';import'../../theme/integrations/horizontalline.css';export default class Q extends _0x546d9d{['afterInit'](){const _0x5e3297=this['editor'];if(!_0x5e3297['plugins']['has']('HorizontalLineEditing'))return;_0x5e3297['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x33b906=_0x5e3297['plugins']['get']('TrackChangesEditing'),{t:t}=_0x5e3297['locale'];_0x33b906['_descriptionFactory']['registerElementLabel']('horizontalLine',_0x2d1b0b=>t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2d1b0b)),_0x5e3297['conversion']['for']('dataDowncast')['elementToElement']({'model':'horizontalLine','view':(_0x18df80,{writer:_0x161533,options:_0xfee6c})=>{if(!_0xfee6c['showSuggestionHighlights'])return;const _0x50e9de=_0x161533['createContainerElement']('div'),_0x166981=_0x161533['createEmptyElement']('hr');return _0x161533['addClass']('ck-horizontal-line',_0x50e9de),_0x161533['insert'](_0x161533['createPositionAt'](_0x50e9de,0x0),_0x166981),_0x50e9de;},'converterPriority':'high'});}}
23
+ const _0x48e3=['plugins','insert','high','HorizontalLineEditing','conversion','dataDowncast','afterInit','createEmptyElement','elementToStructure','get','horizontalLine','createContainerElement','enableCommand','showSuggestionHighlights','locale','has','_descriptionFactory'];(function(_0xc290a0,_0x48e3d4){const _0x5b3c9e=function(_0x399f12){while(--_0x399f12){_0xc290a0['push'](_0xc290a0['shift']());}};_0x5b3c9e(++_0x48e3d4);}(_0x48e3,0x97));const _0x5b3c=function(_0xc290a0,_0x48e3d4){_0xc290a0=_0xc290a0-0x0;let _0x5b3c9e=_0x48e3[_0xc290a0];return _0x5b3c9e;};import{Plugin as _0x52f773}from'ckeditor5/src/core';import{getTranslation as _0x22a042}from'../utils/common-translations';export default class z extends _0x52f773{[_0x5b3c('0x8')](){const _0x189aee=this['editor'];if(!_0x189aee['plugins'][_0x5b3c('0x0')](_0x5b3c('0x5')))return;_0x189aee[_0x5b3c('0x2')][_0x5b3c('0xb')]('TrackChangesEditing')[_0x5b3c('0xe')](_0x5b3c('0xc'));const _0x1c8182=_0x189aee[_0x5b3c('0x2')]['get']('TrackChangesEditing'),_0x59ff0d=_0x189aee[_0x5b3c('0x10')];_0x1c8182[_0x5b3c('0x1')]['registerElementLabel'](_0x5b3c('0xc'),_0x5adff1=>_0x22a042(_0x59ff0d,'ELEMENT_HORIZONTAL_LINE',_0x5adff1)),_0x189aee[_0x5b3c('0x6')]['for'](_0x5b3c('0x7'))[_0x5b3c('0xa')]({'model':'horizontalLine','view':(_0x499e90,{writer:_0x32d2be,options:_0x2fb9f5})=>{if(!_0x2fb9f5[_0x5b3c('0xf')])return;const _0x4045a5=_0x32d2be[_0x5b3c('0xd')]('div'),_0x34e0f3=_0x32d2be[_0x5b3c('0x9')]('hr');return _0x32d2be['addClass']('ck-horizontal-line',_0x4045a5),_0x32d2be[_0x5b3c('0x3')](_0x32d2be['createPositionAt'](_0x4045a5,0x0),_0x34e0f3),_0x4045a5;},'converterPriority':_0x5b3c('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x366f31}from'ckeditor5/src/core';import{LivePosition as te}from'ckeditor5/src/engine';import{uid as _0x236ba6}from'ckeditor5/src/utils';import{getCaptionFromImageModelElement as _0x51443d}from'@ckeditor/ckeditor5-image/src/imagecaption/utils';import'../../theme/integrations/image.css';export default class V extends _0x366f31{['afterInit'](){const _0x1fa6a3=this['editor'];if(!_0x1fa6a3['plugins']['has']('ImageEditing'))return;const _0x10823f=_0x1fa6a3['plugins']['get']('TrackChangesEditing'),_0x34af2=_0x1fa6a3['plugins']['get']('ImageUtils'),_0x999d63={},{t:t}=_0x1fa6a3['locale'];if(_0x10823f['enableCommand']('insertImage'),_0x10823f['_descriptionFactory']['registerElementLabel']('imageBlock',_0x234801=>t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x234801)),_0x10823f['_descriptionFactory']['registerElementLabel']('imageInline',_0x4381e1=>t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4381e1)),_0x10823f['_descriptionFactory']['registerElementLabel']('caption',t({'string':'caption','id':'ELEMENT_CAPTION'})),_0x1fa6a3['plugins']['has']('ImageUploadEditing')&&_0x10823f['enableCommand']('uploadImage'),_0x1fa6a3['plugins']['has']('ImageBlockEditing')&&_0x1fa6a3['plugins']['has']('ImageInlineEditing')&&(_0x10823f['enableCommand']('imageTypeInline',(_0x3c92d3,_0xcde06b)=>{const _0x305085=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']);_0x1fa6a3['model']['change'](()=>{_0x10823f['markBlockFormat'](_0x305085,{'commandName':'imageTypeInline','commandParams':[_0xcde06b]},[],'convertBlockImageToInline');});}),_0x10823f['enableCommand']('imageTypeBlock',(_0x326c08,_0x24a7bf)=>{_0x1fa6a3['model']['change'](_0x5e4442=>{let _0x139291=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x324d61=_0x5e4442['createRangeOn'](_0x139291);const _0x377c9a=te['fromPosition'](_0x324d61['start'],'toPrevious'),_0x3473bf=te['fromPosition'](_0x324d61['end'],'toNext');_0x10823f['forceDefaultExecution'](()=>_0x326c08(_0x24a7bf)),_0x139291=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x324d61=_0x5e4442['createRangeOn'](_0x139291);const _0x15bfab=_0x5e4442['createRange'](_0x377c9a,_0x3473bf);_0x377c9a['detach'](),_0x3473bf['detach'](),_0x10823f['markBlockFormat'](_0x139291,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x15bfab['start']['isBefore'](_0x324d61['start'])&&_0x10823f['markInsertion'](_0x5e4442['createRange'](_0x15bfab['start'],_0x324d61['start']),'convertInlineImageToBlock'),_0x324d61['end']['isBefore'](_0x15bfab['end'])&&_0x10823f['markInsertion'](_0x5e4442['createRange'](_0x324d61['end'],_0x15bfab['end']),'convertInlineImageToBlock');});}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x10823f['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x10823f['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x540cc2])=>{const _0x195feb=_0x10823f['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x41e06c=_0x540cc2['start'],_0x302c81=_0x540cc2['end'];const _0x2f128b=_0x1fa6a3['model']['schema']['getNearestSelectionRange'](_0x41e06c,'backward'),_0x38d185=_0x1fa6a3['model']['schema']['getNearestSelectionRange'](_0x302c81,'forward');_0x2f128b['isCollapsed']&&(_0x41e06c=_0x2f128b['start']),_0x38d185['isCollapsed']&&(_0x302c81=_0x38d185['end']),_0x195feb([_0x1fa6a3['model']['createRange'](_0x41e06c,_0x302c81)]);}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x2daf3e),_0x10823f['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x2daf3e)),_0x1fa6a3['plugins']['has']('ImageCaptionEditing')&&(_0x10823f['enableCommand']('toggleImageCaption',(_0x148b76,_0x19a05f)=>{let _0x170f78=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x4c9a43=_0x51443d(_0x170f78);_0x1fa6a3['model']['change'](()=>{if(_0x4c9a43)return void _0x10823f['markDeletion'](_0x1fa6a3['model']['createRangeOn'](_0x4c9a43));const _0x2c20ba=_0x34af2['isBlockImage'](_0x170f78);_0x148b76(_0x19a05f),_0x170f78=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x4c9a43=_0x51443d(_0x170f78),_0x10823f['markInsertion'](_0x1fa6a3['model']['createRangeOn'](_0x4c9a43),_0x2c20ba?null:'imageCaption');});}),_0x10823f['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x2daf3e)),_0x1fa6a3['plugins']['has']('ImageStyleEditing')){_0x10823f['enableCommand']('imageStyle',(_0x1b121b,_0xf0a0fd)=>{const _0x2a3a21=_0x1fa6a3['plugins']['get']('Users')['me'],_0x238034=_0x1fa6a3['commands']['get']('imageStyle');let _0x189d74=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x35a2f0=_0x1fa6a3['model']['createRangeOn'](_0x189d74),_0x47f2d7=_0x238034['value'];if(_0x47f2d7==_0xf0a0fd['value'])return;const _0x4da482={'commandName':'imageStyle','commandParams':[_0xf0a0fd],'formatGroupId':_0x236ba6()};_0x1fa6a3['model']['change'](()=>{if(_0x10823f['getSuggestions']()['filter'](_0x3b123b=>_0x3b123b['isInContent']&&_0x2a3a21==_0x3b123b['author']&&('formatBlock'==_0x3b123b['type']||'formatInline'==_0x3b123b['type'])&&('imageStylePreApply'==_0x3b123b['subType']||'imageStylePostApply'==_0x3b123b['subType'])&&_0x3b123b['getFirstRange']()['isEqual'](_0x35a2f0))['forEach'](_0x49bafa=>_0x10823f['discardSuggestion'](_0x49bafa['head'])),_0x189d74=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),_0x35a2f0=_0x1fa6a3['model']['createRangeOn'](_0x189d74),_0x238034['refresh'](),_0x1fa6a3['commands']['get']('imageTypeInline')['refresh'](),_0x1fa6a3['commands']['get']('imageTypeBlock')['refresh'](),_0x47f2d7=_0x238034['value'],_0x47f2d7!=_0xf0a0fd['value'])return _0x34af2['isInlineImage'](_0x189d74)&&_0x238034['shouldConvertImageType'](_0xf0a0fd['value'],_0x189d74)?(_0x1b121b(_0xf0a0fd),_0x189d74=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']),void _0x10823f['markBlockFormat'](_0x189d74,{..._0x4da482,'commandReversedParams':[{'value':_0x47f2d7||null}]},[],'imageStylePreApply')):void(_0x34af2['isBlockImage'](_0x189d74)?_0x10823f['markBlockFormat'](_0x189d74,_0x4da482,[],'imageStylePostApply'):_0x10823f['markInlineFormat'](_0x35a2f0,_0x4da482,'imageStylePostApply'));});});for(const _0x41c5d2 of _0x1fa6a3['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x999d63[_0x41c5d2['name']]=_0x41c5d2['title']['toLowerCase']();_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',()=>{}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x365f39,_0x2941f6)=>{_0x10823f['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x365f39,{'commandName':_0x2941f6['commandName'],'commandParams':_0x2941f6['commandReversedParams']});}),_0x10823f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',_0x2daf3e);}const _0x15464e=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x33ba78(_0x4200e4,_0x171eb5){const _0x2666be=_0x15464e['findIndex'](({type:_0x277d1d,subType:_0x11d005})=>_0x4200e4['type']==_0x277d1d&&_0x4200e4['subType']==_0x11d005),_0x4411c0=_0x15464e['findIndex'](({type:_0x199eac,subType:_0x2b3031})=>_0x171eb5['type']==_0x199eac&&_0x171eb5['subType']==_0x2b3031);if(_0x2666be<0x0||_0x4411c0<0x0)return!0x1;const _0x41f241=_0x4200e4['getFirstRange'](),_0x3d88e4=_0x171eb5['getFirstRange']();if((0x0==_0x2666be||0x1==_0x2666be)&&0x2==_0x4411c0&&_0x41f241['isIntersecting'](_0x3d88e4))return!0x0;if(0x2==_0x2666be&&0x3==_0x4411c0){const _0xa6a1c4=_0x10823f['_findSuggestions'](_0x41f241,'insertion')['filter'](({suggestion:_0x533a56,meta:_0x47f3fd})=>_0x47f3fd['isOwn']&&'convertInlineImageToBlock'==_0x533a56['subType']);if(_0xa6a1c4['length']>0x1&&_0x3d88e4['end']['isEqual'](_0x41f241['start']))return!0x0;if(0x1==_0xa6a1c4['length']&&(_0x41f241['start']['isEqual'](_0x3d88e4['end'])||_0x41f241['end']['isEqual'](_0x3d88e4['start'])))return!0x0;}if(0x3==_0x2666be&&0x3==_0x4411c0&&_0x41f241['start']['isBefore'](_0x3d88e4['start'])){const _0x4c9203=_0x41f241['end']['nodeAfter'],_0x45b313=_0x3d88e4['start']['nodeBefore'];return _0x34af2['isBlockImage'](_0x4c9203)&&_0x4c9203===_0x45b313;}return!0x1;}function _0x2daf3e(_0x238e87,_0x4e794d){return _0x33ba78(_0x238e87,_0x4e794d)?[_0x238e87,_0x4e794d]:_0x33ba78(_0x4e794d,_0x238e87)?[_0x4e794d,_0x238e87]:null;}_0x1fa6a3['model']['document']['registerPostFixer'](()=>{let _0x519e5e=!0x1;const _0x15c89b=Array['from'](_0x1fa6a3['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x370126,data:_0x95eee3}of _0x15c89b){const {group:_0x5355b3,type:_0x385494,subType:_0x21e6a8,id:_0x454618}=_0x10823f['_splitMarkerName'](_0x370126);if('suggestion'==_0x5355b3&&_0x10823f['hasSuggestion'](_0x454618)){if('formatBlock'==_0x385494&&('imageStylePreApply'==_0x21e6a8||'imageStylePostApply'==_0x21e6a8)){const _0x23c638=_0x10823f['getSuggestion'](_0x454618);if(_0x95eee3['newRange']){const _0xab53c2=_0x23c638['getFirstRange']()['getContainedElement']();if(_0x34af2['isBlockImage'](_0xab53c2))continue;_0x10823f['discardSuggestion'](_0x23c638),_0x519e5e=!0x0;}}if('insertion'==_0x385494&&'imageCaption'==_0x21e6a8&&!_0x95eee3['newRange']){const _0x3457ae=_0x10823f['getSuggestion'](_0x454618);_0x3457ae['next']&&_0x3457ae['next']['isInContent']&&(_0x10823f['discardSuggestion'](_0x3457ae['next']),_0x519e5e=!0x0);}}}return _0x519e5e;}),_0x1fa6a3['plugins']['has']('ImageResize')&&_0x10823f['enableCommand']('resizeImage',(_0x2764db,_0x3c1ada)=>{const _0x414d26=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']);_0x414d26['getAttribute']('width')!=_0x3c1ada['width']&&_0x1fa6a3['model']['change'](()=>{_0x10823f['markBlockFormat'](_0x414d26,{'commandName':'resizeImage','commandParams':[_0x3c1ada]});});}),_0x1fa6a3['plugins']['has']('ImageTextAlternativeEditing')&&_0x10823f['enableCommand']('imageTextAlternative',(_0x48c1bd,_0x6c1d71)=>{const _0xf87f3b=_0x34af2['getClosestSelectedImageElement'](_0x1fa6a3['model']['document']['selection']);(_0xf87f3b['hasAttribute']('alt')?_0xf87f3b['getAttribute']('alt'):'')!=_0x6c1d71['newValue']&&_0x1fa6a3['model']['change'](()=>{_0x10823f['markBlockFormat'](_0xf87f3b,{'commandName':'imageTextAlternative','commandParams':[_0x6c1d71]});});}),_0x10823f['_descriptionFactory']['registerDescriptionCallback'](_0x5cb408=>{if(!!_0x15464e['find'](({type:_0xbf7f35,subType:_0x524444})=>_0x5cb408['type']==_0xbf7f35&&_0x5cb408['subType']==_0x524444))return _0x5cb408['previous']?{}:void 0x0;}),_0x10823f['_descriptionFactory']['registerDescriptionCallback'](_0x329347=>{if('insertion'==_0x329347['type']||'deletion'==_0x329347['type']){const _0x19bee6=_0x329347['getContainedElement']();if(_0x19bee6&&_0x19bee6['is']('element','caption'))return{'type':'insertion'==_0x329347['type']?'addObject':'removeObject','name':_0x19bee6['name'],'quantity':0x1};}}),_0x10823f['_descriptionFactory']['registerDescriptionCallback'](_0x5c1a5e=>'formatBlock'==_0x5c1a5e['type']&&'convertInlineImageToBlock'==_0x5c1a5e['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5c1a5e['type']&&'convertBlockImageToInline'==_0x5c1a5e['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x10823f['_descriptionFactory']['registerDescriptionCallback'](_0x477765=>{const {data:_0x482c51}=_0x477765;if(_0x482c51){if('imageStyle'==_0x482c51['commandName']){const _0x5a1f4c=_0x482c51['commandParams'][0x0]['value'];return _0x1ee4a5('side'===_0x5a1f4c?t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'}):_0x999d63[_0x5a1f4c]||_0x5a1f4c);}if('imageTextAlternative'==_0x482c51['commandName']){const _0x10af19=_0x482c51['commandParams'][0x0]['newValue'];return _0x10af19?{'type':'format','content':t('*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x10af19+'\x22')}:{'type':'format','content':t('*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x482c51['commandName']){const _0x355576=_0x482c51['commandParams'][0x0]['width'];return _0x355576?{'type':'format','content':t('*Set\x20image\x20width:*\x20%0',_0x355576)}:{'type':'format','content':t('*Reset\x20image\x20width*')};}}function _0x1ee4a5(_0x1f6abb){return{'type':'format','content':t('*Format:*\x20%0',_0x1f6abb)};}});}}
23
+ const _0x4a50=['isInlineImage','toggleImageCaption','TrackChangesEditing','filter','registerPostFixer','ImageBlockEditing','getContainedElement','findIndex','suggestion','isIntersecting','*Set\x20image\x20width:*\x20%0','start','addObject','*Set\x20image\x20text\x20alternative:*\x20%0','markBlockFormat','selection','isBlockImage','nodeBefore','schema','find','nodeAfter','head','getAttribute','insertImage','document','ImageEditing','deletion','width','getClosestSelectedImageElement','hasAttribute','createRange','ImageUtils','commands','getChangedMarkers','from','imageStylePreApply','convertInlineImageToBlock','side','toNext','detach','getSuggestion','Users','plugins','imageStyle','_suggestionFactory','isInContent','ELEMENT_CAPTION','end','author','newValue','getCaptionFromImageModelElement','markDeletion','model','*Remove\x20image\x20text\x20alternative*','get','uploadImage','name','chain','editor','removeObject','hasSuggestion','imageStylePostApply','differ','forward','refresh','commandReversedParams','enableCommand','next','isOwn','imageTypeInline','accept','markInsertion','subType','formatInline','imageBlock','type','commandParams','_descriptionFactory','has','ImageUploadEditing','forEach','Inline\x20image\x20to\x20block\x20image','discardSuggestion','resizeImage','ImageStyleEditing','imageCaption','forceDefaultExecution','registerCustomCallback','ELEMENT_INLINE_IMAGE','createRangeOn','isEqual','caption','getSuggestionCallback','formatBlock','isBefore','FORMAT_SIDE_IMAGE','length','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','join','*Format:*\x20%0','isCollapsed','getFirstRange','commandName','format','imageTextAlternative','registerElementLabel','alt','change','shouldConvertImageType','backward','imageTypeBlock','ImageResize','ImageInlineEditing','imageInline','fromPosition','element','ELEMENT_IMAGE','insertion','value','convertBlockImageToInline','discard'];(function(_0x93521a,_0x4a50dd){const _0x284046=function(_0x55fe74){while(--_0x55fe74){_0x93521a['push'](_0x93521a['shift']());}};_0x284046(++_0x4a50dd);}(_0x4a50,0x8a));const _0x2840=function(_0x93521a,_0x4a50dd){_0x93521a=_0x93521a-0x0;let _0x284046=_0x4a50[_0x93521a];return _0x284046;};import{Plugin as _0x3dde7a}from'ckeditor5/src/core';import{LivePosition as _0x1c23e8}from'ckeditor5/src/engine';import{uid as _0x4b86b1}from'ckeditor5/src/utils';import{getTranslation as _0x4ab2ad}from'../utils/common-translations';export default class J extends _0x3dde7a{['afterInit'](){const _0x2e5467=this[_0x2840('0x2a')];if(!_0x2e5467['plugins']['has'](_0x2840('0x9')))return;const _0x4c0ed2=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x6c')),_0x5906f4=_0x2e5467[_0x2840('0x1a')]['get'](_0x2840('0xf')),_0x318a2b={},_0x5d1a05=_0x2e5467['locale'];if(_0x4c0ed2['enableCommand'](_0x2840('0x7')),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x3a'),_0x50d277=>_0x4ab2ad(_0x5d1a05,_0x2840('0x65'),_0x50d277)),_0x4c0ed2['_descriptionFactory'][_0x2840('0x5a')](_0x2840('0x62'),_0x457f66=>_0x4ab2ad(_0x5d1a05,_0x2840('0x48'),_0x457f66)),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x4b'),_0x4ab2ad(_0x5d1a05,_0x2840('0x1e'))),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x3f'))&&_0x4c0ed2['enableCommand'](_0x2840('0x27')),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x6f'))&&_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x61'))&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x35'),(_0xa98013,_0x5392f9)=>{const _0x2bbe51=_0x5906f4[_0x2840('0xc')](_0x2e5467['model'][_0x2840('0x8')]['selection']);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2[_0x2840('0x78')](_0x2bbe51,{'commandName':_0x2840('0x35'),'commandParams':[_0x5392f9]},[],_0x2840('0x68'));});}),_0x4c0ed2[_0x2840('0x32')]('imageTypeBlock',(_0x20ef14,_0x4e302a)=>{_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](_0x524d07=>{let _0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x5d0ac4=_0x1c23e8['fromPosition'](_0x35502c[_0x2840('0x75')],'toPrevious'),_0x570d1f=_0x1c23e8[_0x2840('0x63')](_0x35502c[_0x2840('0x1f')],_0x2840('0x16'));_0x4c0ed2[_0x2840('0x46')](()=>_0x20ef14(_0x4e302a)),_0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x847c26=_0x524d07['createRange'](_0x5d0ac4,_0x570d1f);_0x5d0ac4[_0x2840('0x17')](),_0x570d1f[_0x2840('0x17')](),_0x4c0ed2[_0x2840('0x78')](_0x43e8bc,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x847c26['start'][_0x2840('0x4e')](_0x35502c[_0x2840('0x75')])&&_0x4c0ed2['markInsertion'](_0x524d07[_0x2840('0xe')](_0x847c26[_0x2840('0x75')],_0x35502c['start']),_0x2840('0x14')),_0x35502c['end'][_0x2840('0x4e')](_0x847c26[_0x2840('0x1f')])&&_0x4c0ed2[_0x2840('0x37')](_0x524d07[_0x2840('0xe')](_0x35502c['end'],_0x847c26['end']),_0x2840('0x14'));});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','convertInlineImageToBlock',_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x36'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x69'),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x14'),'join',()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x69'),([_0x38014c])=>{const _0x5c2f9e=_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x66'),'','discard');let _0x1642e3=_0x38014c[_0x2840('0x75')],_0x3b5053=_0x38014c[_0x2840('0x1f')];const _0x3a62c2=_0x2e5467[_0x2840('0x24')][_0x2840('0x2')]['getNearestSelectionRange'](_0x1642e3,_0x2840('0x5e')),_0x51b4a2=_0x2e5467['model']['schema']['getNearestSelectionRange'](_0x3b5053,_0x2840('0x2f'));_0x3a62c2['isCollapsed']&&(_0x1642e3=_0x3a62c2[_0x2840('0x75')]),_0x51b4a2[_0x2840('0x55')]&&(_0x3b5053=_0x51b4a2['end']),_0x5c2f9e([_0x2e5467[_0x2840('0x24')][_0x2840('0xe')](_0x1642e3,_0x3b5053)]);}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'convertInlineImageToBlock',_0x2840('0x29'),_0x3b7d0d),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x29'),_0x3b7d0d)),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageCaptionEditing')&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x6b'),(_0x4dd05c,_0x5b0f96)=>{const _0x2dc753=_0x2e5467[_0x2840('0x1a')]['get']('ImageCaptionUtils');let _0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x312d63)return void _0x4c0ed2[_0x2840('0x23')](_0x2e5467['model'][_0x2840('0x49')](_0x312d63));const _0x490f8c=_0x5906f4[_0x2840('0x0')](_0x1f3e19);_0x4dd05c(_0x5b0f96),_0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19),_0x4c0ed2[_0x2840('0x37')](_0x2e5467[_0x2840('0x24')][_0x2840('0x49')](_0x312d63),_0x490f8c?null:_0x2840('0x45'));});}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x45'),'chain',_0x3b7d0d)),_0x2e5467['plugins']['has'](_0x2840('0x44'))){_0x4c0ed2[_0x2840('0x32')](_0x2840('0x1b'),(_0x1c600e,_0x4ac32e)=>{const _0x4ab8fd=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x19'))['me'],_0x332969=_0x2e5467[_0x2840('0x10')]['get'](_0x2840('0x1b'));let _0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467['model']['document'][_0x2840('0x79')]),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x40df67=_0x332969[_0x2840('0x67')];if(_0x40df67==_0x4ac32e[_0x2840('0x67')])return;const _0x5f1d9e={'commandName':'imageStyle','commandParams':[_0x4ac32e],'formatGroupId':_0x4b86b1()};_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x4c0ed2['getSuggestions']()[_0x2840('0x6d')](_0x4e3160=>_0x4e3160[_0x2840('0x1d')]&&_0x4ab8fd==_0x4e3160[_0x2840('0x20')]&&('formatBlock'==_0x4e3160['type']||'formatInline'==_0x4e3160[_0x2840('0x3b')])&&(_0x2840('0x13')==_0x4e3160['subType']||_0x2840('0x2d')==_0x4e3160[_0x2840('0x38')])&&_0x4e3160[_0x2840('0x56')]()[_0x2840('0x4a')](_0x41c10e))[_0x2840('0x40')](_0x2191b7=>_0x4c0ed2[_0x2840('0x42')](_0x2191b7[_0x2840('0x5')])),_0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x332969[_0x2840('0x30')](),_0x2e5467[_0x2840('0x10')][_0x2840('0x26')](_0x2840('0x35'))[_0x2840('0x30')](),_0x2e5467['commands']['get'](_0x2840('0x5f'))[_0x2840('0x30')](),_0x40df67=_0x332969[_0x2840('0x67')],_0x40df67!=_0x4ac32e[_0x2840('0x67')])return _0x5906f4[_0x2840('0x6a')](_0x910273)&&_0x332969[_0x2840('0x5d')](_0x4ac32e[_0x2840('0x67')],_0x910273)?(_0x1c600e(_0x4ac32e),_0x910273=_0x5906f4['getClosestSelectedImageElement'](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),void _0x4c0ed2['markBlockFormat'](_0x910273,{..._0x5f1d9e,'commandReversedParams':[{'value':_0x40df67||null}]},[],'imageStylePreApply')):void(_0x5906f4['isBlockImage'](_0x910273)?_0x4c0ed2[_0x2840('0x78')](_0x910273,_0x5f1d9e,[],_0x2840('0x2d')):_0x4c0ed2['markInlineFormat'](_0x41c10e,_0x5f1d9e,'imageStylePostApply'));});});for(const _0x20f7c1 of _0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x44'))['normalizedStyles'])_0x318a2b[_0x20f7c1[_0x2840('0x28')]]=_0x20f7c1['title']['toLowerCase']();_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'imageStylePostApply',_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x39'),_0x2840('0x2d'),_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory'][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x36'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x69'),(_0x3fbadf,_0xf87e33)=>{_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))(_0x3fbadf,{'commandName':_0xf87e33['commandName'],'commandParams':_0xf87e33[_0x2840('0x31')]});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','imageStylePreApply',_0x2840('0x29'),_0x3b7d0d);}const _0x1bb794=[{'type':_0x2840('0x4d'),'subType':_0x2840('0x13')},{'type':_0x2840('0x66'),'subType':_0x2840('0x45')},{'type':_0x2840('0x4d'),'subType':_0x2840('0x14')},{'type':_0x2840('0x66'),'subType':_0x2840('0x14')}];function _0x57a7e9(_0x42c0a3,_0x567381){const _0x4578db=_0x1bb794['findIndex'](({type:_0x2e6330,subType:_0x3ab3af})=>_0x42c0a3[_0x2840('0x3b')]==_0x2e6330&&_0x42c0a3[_0x2840('0x38')]==_0x3ab3af),_0x3e768e=_0x1bb794[_0x2840('0x71')](({type:_0x5e8ff2,subType:_0x400323})=>_0x567381['type']==_0x5e8ff2&&_0x567381[_0x2840('0x38')]==_0x400323);if(_0x4578db<0x0||_0x3e768e<0x0)return!0x1;const _0x364e66=_0x42c0a3[_0x2840('0x56')](),_0x168e45=_0x567381[_0x2840('0x56')]();if((0x0==_0x4578db||0x1==_0x4578db)&&0x2==_0x3e768e&&_0x364e66[_0x2840('0x73')](_0x168e45))return!0x0;if(0x2==_0x4578db&&0x3==_0x3e768e){const _0x1b84ea=_0x4c0ed2['_findSuggestions'](_0x364e66,_0x2840('0x66'))[_0x2840('0x6d')](({suggestion:_0x19095d,meta:_0x171db5})=>_0x171db5[_0x2840('0x34')]&&_0x2840('0x14')==_0x19095d[_0x2840('0x38')]);if(_0x1b84ea['length']>0x1&&_0x168e45[_0x2840('0x1f')]['isEqual'](_0x364e66[_0x2840('0x75')]))return!0x0;if(0x1==_0x1b84ea[_0x2840('0x50')]&&(_0x364e66[_0x2840('0x75')][_0x2840('0x4a')](_0x168e45[_0x2840('0x1f')])||_0x364e66[_0x2840('0x1f')][_0x2840('0x4a')](_0x168e45[_0x2840('0x75')])))return!0x0;}if(0x3==_0x4578db&&0x3==_0x3e768e&&_0x364e66[_0x2840('0x75')]['isBefore'](_0x168e45[_0x2840('0x75')])){const _0x2df1ee=_0x364e66[_0x2840('0x1f')][_0x2840('0x4')],_0x46ae90=_0x168e45[_0x2840('0x75')][_0x2840('0x1')];return _0x5906f4[_0x2840('0x0')](_0x2df1ee)&&_0x2df1ee===_0x46ae90;}return!0x1;}function _0x3b7d0d(_0x57144e,_0x584675){return _0x57a7e9(_0x57144e,_0x584675)?[_0x57144e,_0x584675]:_0x57a7e9(_0x584675,_0x57144e)?[_0x584675,_0x57144e]:null;}_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x6e')](()=>{let _0x2ac673=!0x1;const _0x495d58=Array[_0x2840('0x12')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x2e')][_0x2840('0x11')]());for(const {name:_0x4362fd,data:_0x1a6228}of _0x495d58){const {group:_0x5ed58b,type:_0x6e57ac,subType:_0x2c790f,id:_0x227e61}=_0x4c0ed2['_splitMarkerName'](_0x4362fd);if(_0x2840('0x72')==_0x5ed58b&&_0x4c0ed2[_0x2840('0x2c')](_0x227e61)){if('formatBlock'==_0x6e57ac&&(_0x2840('0x13')==_0x2c790f||_0x2840('0x2d')==_0x2c790f)){const _0xc1749b=_0x4c0ed2[_0x2840('0x18')](_0x227e61);if(_0x1a6228['newRange']){const _0x11234e=_0xc1749b['getFirstRange']()[_0x2840('0x70')]();if(_0x5906f4[_0x2840('0x0')](_0x11234e))continue;_0x4c0ed2[_0x2840('0x42')](_0xc1749b),_0x2ac673=!0x0;}}if('insertion'==_0x6e57ac&&_0x2840('0x45')==_0x2c790f&&!_0x1a6228['newRange']){const _0x1c2d74=_0x4c0ed2['getSuggestion'](_0x227e61);_0x1c2d74['next']&&_0x1c2d74[_0x2840('0x33')][_0x2840('0x1d')]&&(_0x4c0ed2[_0x2840('0x42')](_0x1c2d74['next']),_0x2ac673=!0x0);}}}return _0x2ac673;}),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x60'))&&_0x4c0ed2[_0x2840('0x32')](_0x2840('0x43'),(_0xcdeb8,_0x387495)=>{const _0xb75193=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']);_0xb75193['getAttribute'](_0x2840('0xb'))!=_0x387495['width']&&_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2['markBlockFormat'](_0xb75193,{'commandName':_0x2840('0x43'),'commandParams':[_0x387495]});});}),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageTextAlternativeEditing')&&_0x4c0ed2['enableCommand'](_0x2840('0x59'),(_0x5e3934,_0x4d64d8)=>{const _0x31f9bd=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]);(_0x31f9bd[_0x2840('0xd')]('alt')?_0x31f9bd[_0x2840('0x6')](_0x2840('0x5b')):'')!=_0x4d64d8['newValue']&&_0x2e5467['model']['change'](()=>{_0x4c0ed2[_0x2840('0x78')](_0x31f9bd,{'commandName':_0x2840('0x59'),'commandParams':[_0x4d64d8]});});}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0x151b87=>{if(!!_0x1bb794[_0x2840('0x3')](({type:_0x3b41a6,subType:_0x3016ae})=>_0x151b87[_0x2840('0x3b')]==_0x3b41a6&&_0x151b87['subType']==_0x3016ae))return _0x151b87['previous']?{}:void 0x0;}),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x188b79=>{if(_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]||_0x2840('0xa')==_0x188b79['type']){const _0x4cc863=_0x188b79['getContainedElement']();if(_0x4cc863&&_0x4cc863['is'](_0x2840('0x64'),_0x2840('0x4b')))return{'type':_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]?_0x2840('0x76'):_0x2840('0x2b'),'name':_0x4cc863['name'],'quantity':0x1};}}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0xfb62b9=>_0x2840('0x4d')==_0xfb62b9['type']&&_0x2840('0x14')==_0xfb62b9['subType']?{'type':_0x2840('0x58'),'content':_0x2840('0x41')}:'formatBlock'==_0xfb62b9['type']&&_0x2840('0x68')==_0xfb62b9['subType']?{'type':'format','content':_0x2840('0x52')}:void 0x0),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x304024=>{const {data:_0x59f140}=_0x304024;if(_0x59f140){if(_0x2840('0x1b')==_0x59f140[_0x2840('0x57')]){const _0x10626b=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x67')];return _0x326f06(_0x2840('0x15')===_0x10626b?_0x4ab2ad(_0x5d1a05,_0x2840('0x4f')):_0x318a2b[_0x10626b]||_0x10626b);}if(_0x2840('0x59')==_0x59f140[_0x2840('0x57')]){const _0x4fc4c1=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x21')];return _0x4fc4c1?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x77'),'\x22'+_0x4fc4c1+'\x22')}:{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x25'))};}if(_0x2840('0x43')==_0x59f140[_0x2840('0x57')]){const _0x2f777d=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0xb')];return _0x2f777d?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x74'),_0x2f777d)}:{'type':'format','content':_0x4ab2ad(_0x5d1a05,'*Reset\x20image\x20width*')};}}function _0x326f06(_0x21e335){return{'type':'format','content':_0x4ab2ad(_0x5d1a05,_0x2840('0x54'),_0x21e335)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x206d6c}from'ckeditor5/src/core';export default class X extends _0x206d6c{['afterInit'](){const _0xc6b755=this['editor'],_0x112cbb=_0xc6b755['plugins']['get']('TrackChangesEditing');_0xc6b755['plugins']['has']('IndentEditing')&&(_0x112cbb['enableCommand']('indent'),_0x112cbb['enableCommand']('outdent'));const {t:t}=_0xc6b755['locale'];if(_0xc6b755['plugins']['has']('IndentBlock')){for(const _0x46fc5a of['indentBlock','outdentBlock'])_0x112cbb['enableCommand'](_0x46fc5a,()=>{const _0x39bb7c=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x52e3ae=>this['editor']['model']['schema']['checkAttribute'](_0x52e3ae,'blockIndent'));_0xc6b755['model']['change'](()=>{for(const _0x44206c of _0x39bb7c)_0x112cbb['markBlockFormat'](_0x44206c,{'commandName':_0x46fc5a,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x112cbb['_descriptionFactory']['registerDescriptionCallback'](_0x2fedc6=>{const {data:_0x49a2b3}=_0x2fedc6;if(!_0x49a2b3)return;if('indentBlock'!=_0x49a2b3['commandName']&&'outdentBlock'!=_0x49a2b3['commandName'])return;const _0x264174=_0x2fedc6['getItems']()[0x0],_0x585b6c=_0x112cbb['_descriptionFactory']['getItemLabel'](_0x264174['name']);return'indentBlock'==_0x49a2b3['commandName']?{'type':'format','content':t('*Indent:*\x20%0',_0x585b6c)}:'outdentBlock'==_0x49a2b3['commandName']?{'type':'format','content':t('*Outdent:*\x20%0',_0x585b6c)}:void 0x0;});}}}
23
+ const _0x2a53=['from','document','registerDescriptionCallback','change','outdentBlock','plugins','getItems','indentBlock','IndentEditing','filter','checkAttribute','indent','format','selection','outdent','*Indent:*\x20%0','getItemLabel','markBlockFormat','commandName','afterInit','IndentBlock','getSelectedBlocks','has','TrackChangesEditing','enableCommand','model','_descriptionFactory','editor','locale'];(function(_0x502f18,_0x2a53b0){const _0x53a1db=function(_0x5428f8){while(--_0x5428f8){_0x502f18['push'](_0x502f18['shift']());}};_0x53a1db(++_0x2a53b0);}(_0x2a53,0x1b5));const _0x53a1=function(_0x502f18,_0x2a53b0){_0x502f18=_0x502f18-0x0;let _0x53a1db=_0x2a53[_0x502f18];return _0x53a1db;};import{Plugin as _0x5ca99e}from'ckeditor5/src/core';import{getTranslation as _0x60f3ea}from'../utils/common-translations';export default class K extends _0x5ca99e{[_0x53a1('0x11')](){const _0x1c89e8=this[_0x53a1('0x19')],_0x3c46f2=_0x1c89e8[_0x53a1('0x3')]['get'](_0x53a1('0x15'));_0x1c89e8['plugins'][_0x53a1('0x14')](_0x53a1('0x6'))&&(_0x3c46f2[_0x53a1('0x16')](_0x53a1('0x9')),_0x3c46f2[_0x53a1('0x16')](_0x53a1('0xc')));const _0x770fcc=_0x1c89e8[_0x53a1('0x1a')];if(_0x1c89e8[_0x53a1('0x3')][_0x53a1('0x14')](_0x53a1('0x12'))){for(const _0x6f62f3 of['indentBlock',_0x53a1('0x2')])_0x3c46f2[_0x53a1('0x16')](_0x6f62f3,()=>{const _0x8082a4=Array[_0x53a1('0x1b')](this[_0x53a1('0x19')][_0x53a1('0x17')][_0x53a1('0x1c')][_0x53a1('0xb')][_0x53a1('0x13')]())[_0x53a1('0x7')](_0x2a08e9=>this[_0x53a1('0x19')]['model']['schema'][_0x53a1('0x8')](_0x2a08e9,'blockIndent'));_0x1c89e8[_0x53a1('0x17')][_0x53a1('0x1')](()=>{for(const _0x2a00c8 of _0x8082a4)_0x3c46f2[_0x53a1('0xf')](_0x2a00c8,{'commandName':_0x6f62f3,'commandParams':[{'value':''}],'formatGroupId':_0x53a1('0x5')});});});_0x3c46f2[_0x53a1('0x18')][_0x53a1('0x0')](_0xea9527=>{const {data:_0x4b2ee3}=_0xea9527;if(!_0x4b2ee3)return;if(_0x53a1('0x5')!=_0x4b2ee3[_0x53a1('0x10')]&&_0x53a1('0x2')!=_0x4b2ee3[_0x53a1('0x10')])return;const _0xcaeea5=_0xea9527[_0x53a1('0x4')]()[0x0],_0x4ec159=_0x3c46f2[_0x53a1('0x18')][_0x53a1('0xe')](_0xcaeea5['name']);return _0x53a1('0x5')==_0x4b2ee3[_0x53a1('0x10')]?{'type':_0x53a1('0xa'),'content':_0x60f3ea(_0x770fcc,_0x53a1('0xd'),_0x4ec159)}:_0x53a1('0x2')==_0x4b2ee3[_0x53a1('0x10')]?{'type':'format','content':_0x60f3ea(_0x770fcc,'*Outdent:*\x20%0',_0x4ec159)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x595e=['get','requires','init','input','plugins','enableCommand','TrackChangesEditing'];(function(_0x3c321f,_0x595e89){var _0x511cbb=function(_0x3f97d2){while(--_0x3f97d2){_0x3c321f['push'](_0x3c321f['shift']());}};_0x511cbb(++_0x595e89);}(_0x595e,0x161));var _0x511c=function(_0x3c321f,_0x595e89){_0x3c321f=_0x3c321f-0x0;var _0x511cbb=_0x595e[_0x3c321f];return _0x511cbb;};import{Plugin as _0x1af515}from'ckeditor5/src/core';import{Input as _0xebf77}from'ckeditor5/src/typing';export default class Y extends _0x1af515{static get[_0x511c('0x5')](){return[_0xebf77];}[_0x511c('0x6')](){this['editor'][_0x511c('0x1')][_0x511c('0x4')](_0x511c('0x3'))[_0x511c('0x2')](_0x511c('0x0'));}}
23
+ var _0x3c2b=['enableCommand','get','editor','init'];(function(_0x25558d,_0x3c2b7d){var _0x39ec40=function(_0x518237){while(--_0x518237){_0x25558d['push'](_0x25558d['shift']());}};_0x39ec40(++_0x3c2b7d);}(_0x3c2b,0x100));var _0x39ec=function(_0x25558d,_0x3c2b7d){_0x25558d=_0x25558d-0x0;var _0x39ec40=_0x3c2b[_0x25558d];return _0x39ec40;};import{Plugin as _0x5e2cfa}from'ckeditor5/src/core';import{Input as _0x5479ec}from'ckeditor5/src/typing';export default class Q extends _0x5e2cfa{static get['requires'](){return[_0x5479ec];}[_0x39ec('0x3')](){this[_0x39ec('0x2')]['plugins'][_0x39ec('0x1')]('TrackChangesEditing')[_0x39ec('0x0')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x34f7bf}from'ckeditor5/src/core';import{findAttributeRange as _0x531d6f}from'ckeditor5/src/typing';import{getRangesWithAttribute as Rt}from'./utils';export default class Z extends _0x34f7bf{['afterInit'](){const _0x5f590a=this['editor'];if(!_0x5f590a['plugins']['has']('LinkEditing'))return;const _0x26cc9e=_0x5f590a['plugins']['get']('TrackChangesEditing');_0x26cc9e['enableCommand']('link',(_0x37de3d,_0xd53914)=>{const _0x291084=_0x5f590a['model']['document']['selection'];let _0x2e3d8b=[];if(_0x291084['isCollapsed']){if(!_0x291084['hasAttribute']('linkHref'))return void _0x37de3d(_0xd53914);{const _0x270ee8=_0x531d6f(_0x291084['getFirstPosition'](),'linkHref',_0x291084['getAttribute']('linkHref'),_0x5f590a['model']);_0x2e3d8b=[_0x270ee8];}}else _0x2e3d8b=Array['from'](_0x291084['getRanges']());_0x5f590a['model']['change'](()=>{for(const _0x3bf0b6 of _0x2e3d8b)_0x26cc9e['markInlineFormat'](_0x3bf0b6,{'commandName':'link','commandParams':[_0xd53914]});});}),_0x26cc9e['enableCommand']('unlink',()=>{const _0x2f9f5c=this['editor']['model'],_0x308522=_0x2f9f5c['document']['selection'];_0x2f9f5c['change'](()=>{let _0x573fd6=[];if(_0x308522['isCollapsed'])_0x573fd6=[_0x531d6f(_0x308522['getFirstPosition'](),'linkHref',_0x308522['getAttribute']('linkHref'),_0x5f590a['model'])];else _0x573fd6=Rt('linkHref',_0x308522['getFirstRange'](),_0x5f590a['model']);for(const _0x5dde3b of _0x573fd6)_0x26cc9e['markInlineFormat'](_0x5dde3b,{'commandName':'unlink','commandParams':[]});});}),_0x26cc9e['_descriptionFactory']['registerDescriptionCallback'](_0x21cb99=>{const {data:_0x366666}=_0x21cb99,{t:t}=_0x5f590a['locale'];if(_0x366666){if('link'==_0x366666['commandName'])return{'type':'format','content':t('*Set\x20link:*\x20%0','\x22'+_0x366666['commandParams'][0x0]+'\x22')};return'unlink'==_0x366666['commandName']?{'type':'format','content':t('*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x27a0=['hasAttribute','selection','isCollapsed','unlink','*Remove\x20link*','registerDescriptionCallback','change','document','LinkEditing','model','commandParams','format','commandName','*Set\x20link:*\x20%0','getFirstRange','getFirstPosition','TrackChangesEditing','getAttribute','enableCommand','linkHref','link','editor','markInlineFormat'];(function(_0x65646c,_0x27a0c3){const _0x35c6a3=function(_0x1ce8fe){while(--_0x1ce8fe){_0x65646c['push'](_0x65646c['shift']());}};_0x35c6a3(++_0x27a0c3);}(_0x27a0,0x7e));const _0x35c6=function(_0x65646c,_0x27a0c3){_0x65646c=_0x65646c-0x0;let _0x35c6a3=_0x27a0[_0x65646c];return _0x35c6a3;};import{Plugin as _0xb8f7c4}from'ckeditor5/src/core';import{findAttributeRange as _0x29ce8b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x54f21c}from'./utils';import{getTranslation as _0x4f5558}from'../utils/common-translations';export default class V extends _0xb8f7c4{['afterInit'](){const _0x1e7675=this[_0x35c6('0xa')];if(!_0x1e7675['plugins']['has'](_0x35c6('0x14')))return;const _0x539d92=_0x1e7675['plugins']['get'](_0x35c6('0x5'));_0x539d92['enableCommand']('link',(_0x6fa172,_0x86de1e)=>{const _0x31566e=_0x1e7675['model'][_0x35c6('0x13')][_0x35c6('0xd')];let _0x203f46=[];if(_0x31566e['isCollapsed']){if(!_0x31566e[_0x35c6('0xc')](_0x35c6('0x8')))return void _0x6fa172(_0x86de1e);{const _0x188f28=_0x29ce8b(_0x31566e[_0x35c6('0x4')](),_0x35c6('0x8'),_0x31566e[_0x35c6('0x6')](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')]);_0x203f46=[_0x188f28];}}else _0x203f46=Array['from'](_0x31566e['getRanges']());_0x1e7675['model']['change'](()=>{for(const _0x4d0115 of _0x203f46)_0x539d92['markInlineFormat'](_0x4d0115,{'commandName':_0x35c6('0x9'),'commandParams':[_0x86de1e]});});}),_0x539d92[_0x35c6('0x7')](_0x35c6('0xf'),()=>{const _0x4739fd=this[_0x35c6('0xa')]['model'],_0x1b3344=_0x4739fd['document'][_0x35c6('0xd')];_0x4739fd[_0x35c6('0x12')](()=>{let _0x59c7cb=[];if(_0x1b3344[_0x35c6('0xe')])_0x59c7cb=[_0x29ce8b(_0x1b3344[_0x35c6('0x4')](),_0x35c6('0x8'),_0x1b3344['getAttribute'](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')])];else _0x59c7cb=_0x54f21c(_0x35c6('0x8'),_0x1b3344[_0x35c6('0x3')](),_0x1e7675['model']);for(const _0x577b99 of _0x59c7cb)_0x539d92[_0x35c6('0xb')](_0x577b99,{'commandName':_0x35c6('0xf'),'commandParams':[]});});}),_0x539d92['_descriptionFactory'][_0x35c6('0x11')](_0xaec68c=>{const {data:_0xf48e38}=_0xaec68c,_0x36942f=_0x1e7675['locale'];if(_0xf48e38){if(_0x35c6('0x9')==_0xf48e38[_0x35c6('0x1')]){const _0x495a20=_0xf48e38[_0x35c6('0x16')][0x0];return{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x2'),'\x22'+_0x495a20+'\x22')};}return'unlink'==_0xf48e38[_0x35c6('0x1')]?{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x10'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x166682}from'ckeditor5/src/core';export default class tt extends _0x166682{['afterInit'](){const _0x4aeca0=this['editor'];if(!_0x4aeca0['plugins']['has']('ListEditing'))return;const _0x1a7c32=_0x4aeca0['plugins']['get']('TrackChangesEditing'),_0x5b2573=_0x4aeca0['plugins']['has']('TodoListEditing');function _0x193e0d(_0x2d14e5){return()=>{const _0x38f242=_0x4aeca0['model']['document']['selection'],_0x29a18d=_0x4aeca0['commands']['get'](_0x2d14e5);if(_0x29a18d['value'])return void _0x4aeca0['execute']('paragraph',{});const _0x4e4586=_0x2d14e5['slice'](0x0,-0x4),_0x1d0a5e=function(_0x5d30ab,_0x5d9d81,_0x7ea7b1){let _0x3ef630=Array['from'](_0x5d30ab)['filter'](_0x4336b7=>function(_0x402639,_0x6ac0ed){return _0x6ac0ed['checkChild'](_0x402639['parent'],'listItem')&&!_0x6ac0ed['isObject'](_0x402639);}(_0x4336b7,_0x7ea7b1));_0x3ef630=_0x3ef630['filter'](_0x55f56e=>!_0x55f56e['is']('element','listItem')||_0x55f56e['getAttribute']('listType')!=_0x5d9d81);const _0x14380e=new Set();for(const _0x29f0e5 of _0x3ef630)_0x29f0e5['is']('element','listItem')?_0x14380e['add'](Zt(_0x29f0e5)):_0x14380e['add'](_0x29f0e5);return Array['from'](_0x14380e);}(_0x38f242['getSelectedBlocks'](),_0x4e4586,_0x4aeca0['model']['schema']);_0x4aeca0['model']['change'](()=>{for(const _0x204c06 of _0x1d0a5e)_0x1a7c32['markBlockFormat'](_0x204c06,{'commandName':_0x2d14e5,'commandParams':[{'forceValue':!_0x29a18d['value']}],'formatGroupId':'blockName'},$t(_0x204c06));});};}function _0x144840(_0x37c1a2){return()=>{const _0x216bba=function(_0x3966f4){const _0x3ff6ad=(_0x3966f4=Array['from'](_0x3966f4))['findIndex'](_0x35432b=>'listItem'!=_0x35432b['name']);return _0x3ff6ad>-0x1&&(_0x3966f4=_0x3966f4['slice'](0x0,_0x3ff6ad)),_0x3966f4;}(_0x4aeca0['model']['document']['selection']['getSelectedBlocks']()),_0x4a1b7b=_0x4aeca0['model']['createRange'](_0x4aeca0['model']['createPositionAt'](_0x216bba[0x0],'before'),_0x4aeca0['model']['createPositionAt'](_0x216bba[_0x216bba['length']-0x1],'end'));_0x4aeca0['model']['change'](()=>{_0x1a7c32['markBlockFormat'](_0x4a1b7b,{'commandName':_0x37c1a2,'commandParams':[],'formatGroupId':'listIndent'},function(_0x34c958){const _0x4f04f6=new Set();for(const _0x2a2c73 of _0x34c958){let _0x53b967=_0x2a2c73['nextSibling'];for(;_0x53b967&&_0x53b967['getAttribute']('listIndent')>_0x2a2c73['getAttribute']('listIndent');)_0x4f04f6['add'](_0x53b967),_0x53b967=_0x53b967['nextSibling'];}return Array['from'](_0x4f04f6);}(_0x216bba));});};}_0x1a7c32['enableCommand']('numberedList',_0x193e0d('numberedList')),_0x1a7c32['enableCommand']('bulletedList',_0x193e0d('bulletedList')),_0x5b2573&&_0x1a7c32['enableCommand']('todoList',_0x193e0d('todoList')),_0x1a7c32['enableCommand']('indentList',_0x144840('indentList')),_0x1a7c32['enableCommand']('outdentList',_0x144840('outdentList')),_0x5b2573&&_0x1a7c32['enableCommand']('checkTodoList',()=>{const _0x2b0eb7=_0x4aeca0['commands']['get']('checkTodoList'),_0x18c2d7=Array['from'](_0x2b0eb7['_selectedElements']);_0x18c2d7['filter'](_0xa59f01=>_0xa59f01['getAttribute']('todoListChecked')!=_0x2b0eb7['value']),_0x4aeca0['model']['change'](()=>{for(const _0x1b1233 of _0x18c2d7)_0x1a7c32['markBlockFormat'](_0x1b1233,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x2b0eb7['value']}]});});});const {t:t}=_0x4aeca0['locale'];_0x1a7c32['_descriptionFactory']['registerElementLabel']('listItem',_0xc159c9=>t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc159c9)),_0x1a7c32['_descriptionFactory']['registerDescriptionCallback'](_0x365dfc=>{const {data:_0x44d963}=_0x365dfc;if(_0x44d963){if('numberedList'==_0x44d963['commandName']||'bulletedList'==_0x44d963['commandName']||'todoList'==_0x44d963['commandName'])switch(_0x44d963['commandName']['replace']('List','')){case'bulleted':return _0x45eb29(t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'}));case'numbered':return _0x45eb29(t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'}));case'todo':return _0x45eb29(t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'}));}if('indentList'==_0x44d963['commandName'])return{'type':'format','content':t('*Indent:*\x20%0',t({'string':'list\x20item','id':'ELEMENT_LIST_ITEM'}))};if('outdentList'==_0x44d963['commandName'])return{'type':'format','content':t('*Outdent:*\x20%0',t({'string':'list\x20item','id':'ELEMENT_LIST_ITEM'}))};if('checkTodoList'==_0x44d963['commandName'])return _0x44d963['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Check\x20item*')}:{'type':'format','content':t('*Uncheck\x20item*')};}function _0x45eb29(_0x104cac){return{'type':'format','content':t('*Change\x20to:*\x20%0',_0x104cac)};}});}}function Zt(_0x5d6c30){const _0x138f5f=_0x5d6c30['getAttribute']('listIndent');if(0x0==_0x138f5f)return _0x5d6c30;let _0x585881=_0x5d6c30;for(;_0x5d6c30['previousSibling']&&_0x5d6c30['previousSibling']['is']('element','listItem');){const _0x6c8c30=_0x5d6c30['previousSibling']['getAttribute']('listIndent');if(_0x6c8c30==_0x138f5f)_0x585881=_0x5d6c30['previousSibling'];else{if(_0x6c8c30<_0x138f5f)break;}_0x5d6c30=_0x5d6c30['previousSibling'];}return _0x585881;}function $t(_0x54c182){const _0x51494d=[];if(_0x54c182['is']('element','listItem')&&_0x54c182['getAttribute']('listIndent')>0x0){let _0x4c4d88=_0x54c182['nextSibling'];for(;_0x4c4d88&&'listItem'==_0x4c4d88['name']&&_0x4c4d88['getAttribute']('listIndent')==_0x54c182['getAttribute']('listIndent');)_0x51494d['push'](_0x4c4d88),_0x4c4d88=_0x4c4d88['nextSibling'];}return _0x51494d;}
23
+ const _0x1fe0=['_selectedElements','bulletedList','*Outdent:*\x20%0','todo','afterInit','format','slice','blockName','indentList','from','createRange','listIndent','TodoListEditing','*Change\x20to:*\x20%0','checkTodoList','parent','previousSibling','name','checkChild','outdentList','element','TrackChangesEditing','replace','document','*Indent:*\x20%0','listItem','markBlockFormat','nextSibling','List','*Check\x20item*','commands','numberedList','commandParams','todoList','filter','change','selection','findIndex','createPositionAt','ELEMENT_LIST_ITEM','enableCommand','getAttribute','paragraph','has','ELEMENT_NUMBERED_LIST','model','plugins','ListEditing','execute','commandName','listType','registerElementLabel','isObject','before','_descriptionFactory','get','schema','locale','getSelectedBlocks','numbered','value','add'];(function(_0x3fa639,_0x1fe0ab){const _0x322df2=function(_0x589a34){while(--_0x589a34){_0x3fa639['push'](_0x3fa639['shift']());}};_0x322df2(++_0x1fe0ab);}(_0x1fe0,0x16f));const _0x322d=function(_0x3fa639,_0x1fe0ab){_0x3fa639=_0x3fa639-0x0;let _0x322df2=_0x1fe0[_0x3fa639];return _0x322df2;};import{Plugin as _0x19e814}from'ckeditor5/src/core';import{getTranslation as _0x497e4b}from'../utils/common-translations';export default class X extends _0x19e814{[_0x322d('0x9')](){const _0x2bd578=this['editor'],_0x5e0a64=_0x2bd578[_0x322d('0x0')];if(!_0x2bd578[_0x322d('0x33')][_0x322d('0x30')](_0x322d('0x34')))return;const _0x5771ee=_0x2bd578['plugins'][_0x322d('0x3c')](_0x322d('0x1a')),_0x27cb9b=_0x2bd578[_0x322d('0x33')]['has'](_0x322d('0x11'));function _0x5cdba2(_0xbb0a90){return()=>{const _0x376867=_0x2bd578[_0x322d('0x32')][_0x322d('0x1c')][_0x322d('0x29')],_0x4307fa=_0x2bd578[_0x322d('0x23')][_0x322d('0x3c')](_0xbb0a90);if(_0x4307fa[_0x322d('0x3')])return void _0x2bd578[_0x322d('0x35')](_0x322d('0x2f'),{});const _0x13df83=_0xbb0a90[_0x322d('0xb')](0x0,-0x4),_0x1c17f5=function(_0x3177df,_0x1ac696,_0x379d01){let _0x5da8b1=Array['from'](_0x3177df)[_0x322d('0x27')](_0x262c80=>function(_0x1b6bf2,_0x11e7aa){return _0x11e7aa[_0x322d('0x17')](_0x1b6bf2[_0x322d('0x14')],_0x322d('0x1e'))&&!_0x11e7aa[_0x322d('0x39')](_0x1b6bf2);}(_0x262c80,_0x379d01));_0x5da8b1=_0x5da8b1[_0x322d('0x27')](_0x34a5ff=>!_0x34a5ff['is'](_0x322d('0x19'),_0x322d('0x1e'))||_0x34a5ff[_0x322d('0x2e')](_0x322d('0x37'))!=_0x1ac696);const _0x4a94e6=new Set();for(const _0x1938bc of _0x5da8b1)_0x1938bc['is']('element',_0x322d('0x1e'))?_0x4a94e6[_0x322d('0x4')](Mt(_0x1938bc)):_0x4a94e6[_0x322d('0x4')](_0x1938bc);return Array[_0x322d('0xe')](_0x4a94e6);}(_0x376867[_0x322d('0x1')](),_0x13df83,_0x2bd578[_0x322d('0x32')][_0x322d('0x3d')]);_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x445ee3 of _0x1c17f5)_0x5771ee[_0x322d('0x1f')](_0x445ee3,{'commandName':_0xbb0a90,'commandParams':[{'forceValue':!_0x4307fa[_0x322d('0x3')]}],'formatGroupId':_0x322d('0xc')},Pt(_0x445ee3));});};}function _0x10045b(_0x2e81f8){return()=>{const _0xd5cb1f=function(_0x347bb6){const _0x5d6b43=(_0x347bb6=Array[_0x322d('0xe')](_0x347bb6))[_0x322d('0x2a')](_0x22edeb=>'listItem'!=_0x22edeb['name']);return _0x5d6b43>-0x1&&(_0x347bb6=_0x347bb6[_0x322d('0xb')](0x0,_0x5d6b43)),_0x347bb6;}(_0x2bd578[_0x322d('0x32')]['document']['selection']['getSelectedBlocks']()),_0x1a6895=_0x2bd578[_0x322d('0x32')][_0x322d('0xf')](_0x2bd578['model'][_0x322d('0x2b')](_0xd5cb1f[0x0],_0x322d('0x3a')),_0x2bd578[_0x322d('0x32')][_0x322d('0x2b')](_0xd5cb1f[_0xd5cb1f['length']-0x1],'end'));_0x2bd578['model'][_0x322d('0x28')](()=>{_0x5771ee['markBlockFormat'](_0x1a6895,{'commandName':_0x2e81f8,'commandParams':[],'formatGroupId':_0x322d('0x10')},function(_0x37b2b4){const _0x1c0970=new Set();for(const _0x4a725b of _0x37b2b4){let _0x4dbf27=_0x4a725b[_0x322d('0x20')];for(;_0x4dbf27&&_0x4dbf27[_0x322d('0x2e')](_0x322d('0x10'))>_0x4a725b[_0x322d('0x2e')](_0x322d('0x10'));)_0x1c0970[_0x322d('0x4')](_0x4dbf27),_0x4dbf27=_0x4dbf27[_0x322d('0x20')];}return Array[_0x322d('0xe')](_0x1c0970);}(_0xd5cb1f));});};}_0x5771ee[_0x322d('0x2d')](_0x322d('0x24'),_0x5cdba2(_0x322d('0x24'))),_0x5771ee['enableCommand'](_0x322d('0x6'),_0x5cdba2(_0x322d('0x6'))),_0x27cb9b&&_0x5771ee[_0x322d('0x2d')](_0x322d('0x26'),_0x5cdba2(_0x322d('0x26'))),_0x5771ee[_0x322d('0x2d')](_0x322d('0xd'),_0x10045b('indentList')),_0x5771ee[_0x322d('0x2d')](_0x322d('0x18'),_0x10045b(_0x322d('0x18'))),_0x27cb9b&&_0x5771ee['enableCommand']('checkTodoList',()=>{const _0x38cfb4=_0x2bd578[_0x322d('0x23')]['get'](_0x322d('0x13')),_0x1304b5=Array['from'](_0x38cfb4[_0x322d('0x5')]);_0x1304b5['filter'](_0x59233e=>_0x59233e[_0x322d('0x2e')]('todoListChecked')!=_0x38cfb4['value']),_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x16b360 of _0x1304b5)_0x5771ee[_0x322d('0x1f')](_0x16b360,{'commandName':_0x322d('0x13'),'commandParams':[{'forceValue':!_0x38cfb4[_0x322d('0x3')]}]});});}),_0x5771ee['_descriptionFactory'][_0x322d('0x38')](_0x322d('0x1e'),_0xaf9a5c=>_0x497e4b(_0x5e0a64,_0x322d('0x2c'),_0xaf9a5c)),_0x5771ee[_0x322d('0x3b')]['registerDescriptionCallback'](_0xab2249=>{const {data:_0x2fefb2}=_0xab2249;if(_0x2fefb2){if('numberedList'==_0x2fefb2['commandName']||_0x322d('0x6')==_0x2fefb2['commandName']||_0x322d('0x26')==_0x2fefb2[_0x322d('0x36')])switch(_0x2fefb2[_0x322d('0x36')][_0x322d('0x1b')](_0x322d('0x21'),'')){case'bulleted':return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_BULLETED_LIST'));case _0x322d('0x2'):return _0x31c42b(_0x497e4b(_0x5e0a64,_0x322d('0x31')));case _0x322d('0x8'):return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_TODO_LIST'));}if(_0x322d('0xd')==_0x2fefb2['commandName'])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x1d'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x18')==_0x2fefb2[_0x322d('0x36')])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x7'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x13')==_0x2fefb2[_0x322d('0x36')])return _0x2fefb2[_0x322d('0x25')][0x0]['forceValue']?{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x22'))}:{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,'*Uncheck\x20item*')};}function _0x31c42b(_0x55e884){return{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x12'),_0x55e884)};}});}}function Mt(_0x2a0f88){const _0x2e7c4f=_0x2a0f88[_0x322d('0x2e')](_0x322d('0x10'));if(0x0==_0x2e7c4f)return _0x2a0f88;let _0x159558=_0x2a0f88;for(;_0x2a0f88[_0x322d('0x15')]&&_0x2a0f88[_0x322d('0x15')]['is'](_0x322d('0x19'),'listItem');){const _0x3296d8=_0x2a0f88[_0x322d('0x15')]['getAttribute']('listIndent');if(_0x3296d8==_0x2e7c4f)_0x159558=_0x2a0f88[_0x322d('0x15')];else{if(_0x3296d8<_0x2e7c4f)break;}_0x2a0f88=_0x2a0f88[_0x322d('0x15')];}return _0x159558;}function Pt(_0x2ea73b){const _0x49151a=[];if(_0x2ea73b['is'](_0x322d('0x19'),_0x322d('0x1e'))&&_0x2ea73b[_0x322d('0x2e')](_0x322d('0x10'))>0x0){let _0x4c84af=_0x2ea73b[_0x322d('0x20')];for(;_0x4c84af&&'listItem'==_0x4c84af[_0x322d('0x16')]&&_0x4c84af[_0x322d('0x2e')](_0x322d('0x10'))==_0x2ea73b[_0x322d('0x2e')]('listIndent');)_0x49151a['push'](_0x4c84af),_0x4c84af=_0x4c84af[_0x322d('0x20')];}return _0x49151a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x392289}from'ckeditor5/src/core';import'../../theme/integrations/mediaembed.css';export default class it extends _0x392289{['afterInit'](){const _0xba9511=this['editor'];if(!_0xba9511['plugins']['has']('MediaEmbedEditing'))return;const _0x2d1d1a=_0xba9511['plugins']['get']('TrackChangesEditing'),{t:t}=_0xba9511['locale'];_0x2d1d1a['enableCommand']('mediaEmbed'),_0x2d1d1a['_descriptionFactory']['registerElementLabel']('media',_0x662208=>t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x662208)),_0xba9511['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x7d7369,{writer:_0x3f82ee,options:_0x36a445})=>{if(_0x36a445['showSuggestionHighlights'])return _0x3f82ee['createEmptyElement']('div');},'converterPriority':'high'}),_0xba9511['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5a5bd5,_0x420c88,_0xc817e0)=>{_0xc817e0['options']['showSuggestionHighlights']&&_0x5a5bd5['stop']();},{'priority':'high'});}}
23
+ const _0xe202=['conversion','_descriptionFactory','showSuggestionHighlights','locale','MediaEmbedEditing','dataDowncast','plugins','elementToElement','ELEMENT_MEDIA','high','mediaEmbed','afterInit','registerElementLabel','stop','div','get','enableCommand','TrackChangesEditing','downcastDispatcher','createEmptyElement','options','attribute:url:media','media'];(function(_0x279d6c,_0xe20245){const _0x4745cb=function(_0x353cdd){while(--_0x353cdd){_0x279d6c['push'](_0x279d6c['shift']());}};_0x4745cb(++_0xe20245);}(_0xe202,0x10a));const _0x4745=function(_0x279d6c,_0xe20245){_0x279d6c=_0x279d6c-0x0;let _0x4745cb=_0xe202[_0x279d6c];return _0x4745cb;};import{Plugin as _0x143cb7}from'ckeditor5/src/core';import{getTranslation as _0x80f8a0}from'../utils/common-translations';export default class Y extends _0x143cb7{[_0x4745('0x15')](){const _0x26dd46=this['editor'];if(!_0x26dd46[_0x4745('0x10')]['has'](_0x4745('0xe')))return;const _0x50baec=_0x26dd46[_0x4745('0x10')][_0x4745('0x2')](_0x4745('0x4')),_0x58929d=_0x26dd46[_0x4745('0xd')];_0x50baec[_0x4745('0x3')](_0x4745('0x14')),_0x50baec[_0x4745('0xb')][_0x4745('0x16')](_0x4745('0x9'),_0x153282=>_0x80f8a0(_0x58929d,_0x4745('0x12'),_0x153282)),_0x26dd46[_0x4745('0xa')]['for'](_0x4745('0xf'))[_0x4745('0x11')]({'model':_0x4745('0x9'),'view':(_0x5c6e52,{writer:_0x1ab898,options:_0x1b7938})=>{if(_0x1b7938[_0x4745('0xc')])return _0x1ab898[_0x4745('0x6')](_0x4745('0x1'));},'converterPriority':'high'}),_0x26dd46['data'][_0x4745('0x5')]['on'](_0x4745('0x8'),(_0x5a4ea3,_0xe43e7e,_0x538f0c)=>{_0x538f0c[_0x4745('0x7')][_0x4745('0xc')]&&_0x5a4ea3[_0x4745('0x0')]();},{'priority':_0x4745('0x13')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2532=['has','plugins','mention','get','TrackChangesEditing'];(function(_0x246f8f,_0x25325d){const _0x85ed4d=function(_0x30f66f){while(--_0x30f66f){_0x246f8f['push'](_0x246f8f['shift']());}};_0x85ed4d(++_0x25325d);}(_0x2532,0xfd));const _0x85ed=function(_0x246f8f,_0x25325d){_0x246f8f=_0x246f8f-0x0;let _0x85ed4d=_0x2532[_0x246f8f];return _0x85ed4d;};import{Plugin as _0x4d58a3}from'ckeditor5/src/core';export default class st extends _0x4d58a3{['afterInit'](){const _0x4a8aa7=this['editor'];_0x4a8aa7[_0x85ed('0x3')][_0x85ed('0x2')]('MentionEditing')&&_0x4a8aa7[_0x85ed('0x3')][_0x85ed('0x0')](_0x85ed('0x1'))['enableCommand'](_0x85ed('0x4'));}}
23
+ const _0x5a8c=['afterInit','has','MentionEditing','editor','plugins','mention','get'];(function(_0x408390,_0x5a8cb5){const _0x54ac93=function(_0x1bb287){while(--_0x1bb287){_0x408390['push'](_0x408390['shift']());}};_0x54ac93(++_0x5a8cb5);}(_0x5a8c,0x173));const _0x54ac=function(_0x408390,_0x5a8cb5){_0x408390=_0x408390-0x0;let _0x54ac93=_0x5a8c[_0x408390];return _0x54ac93;};import{Plugin as _0x14afb9}from'ckeditor5/src/core';export default class Z extends _0x14afb9{[_0x54ac('0x0')](){const _0x2b0ace=this[_0x54ac('0x3')];_0x2b0ace[_0x54ac('0x4')][_0x54ac('0x1')](_0x54ac('0x2'))&&_0x2b0ace[_0x54ac('0x4')][_0x54ac('0x6')]('TrackChangesEditing')['enableCommand'](_0x54ac('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x27f728}from'ckeditor5/src/core';import'../../theme/integrations/pagebreak.css';export default class nt extends _0x27f728{['afterInit'](){const _0x4b9c54=this['editor'];if(!_0x4b9c54['plugins']['has']('PageBreakEditing'))return;_0x4b9c54['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x1273ac=_0x4b9c54['plugins']['get']('TrackChangesEditing'),{t:t}=_0x4b9c54['locale'];_0x1273ac['_descriptionFactory']['registerElementLabel']('pageBreak',_0x130570=>t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x130570));}}
23
+ const _0x329f=['registerElementLabel','afterInit','get','TrackChangesEditing','_descriptionFactory','ELEMENT_PAGE_BREAK','enableCommand','editor','pageBreak','PageBreakEditing','plugins'];(function(_0x83c45d,_0x329fdc){const _0x4f3ea1=function(_0x2b1320){while(--_0x2b1320){_0x83c45d['push'](_0x83c45d['shift']());}};_0x4f3ea1(++_0x329fdc);}(_0x329f,0x86));const _0x4f3e=function(_0x83c45d,_0x329fdc){_0x83c45d=_0x83c45d-0x0;let _0x4f3ea1=_0x329f[_0x83c45d];return _0x4f3ea1;};import{Plugin as _0x174b6c}from'ckeditor5/src/core';import{getTranslation as _0x34dd78}from'../utils/common-translations';export default class tt extends _0x174b6c{[_0x4f3e('0xa')](){const _0x5f56c0=this[_0x4f3e('0x5')];if(!_0x5f56c0[_0x4f3e('0x8')]['has'](_0x4f3e('0x7')))return;_0x5f56c0[_0x4f3e('0x8')][_0x4f3e('0x0')](_0x4f3e('0x1'))[_0x4f3e('0x4')](_0x4f3e('0x6'));const _0x33ad55=_0x5f56c0[_0x4f3e('0x8')][_0x4f3e('0x0')](_0x4f3e('0x1')),_0x57f24e=_0x5f56c0['locale'];_0x33ad55[_0x4f3e('0x2')][_0x4f3e('0x9')](_0x4f3e('0x6'),_0x1131a0=>_0x34dd78(_0x57f24e,_0x4f3e('0x3'),_0x1131a0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x21352a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5225a4}from'./utils';export default class et extends _0x21352a{['afterInit'](){const _0x5bae99=this['editor'];if(!_0x5bae99['plugins']['has']('Paragraph'))return;const {t:t}=_0x5bae99['locale'],_0x4b364b=_0x5bae99['plugins']['get']('TrackChangesEditing');_0x4b364b['_descriptionFactory']['registerElementLabel']('paragraph',_0x53beda=>t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x53beda)),_0x4b364b['enableCommand']('paragraph',(_0x13cd49,_0x11ef52={})=>{const _0x210516=_0x5bae99['model']['document'],_0x3efe9a=_0x11ef52['selection']||_0x210516['selection'],_0x2150d4=Array['from'](_0x3efe9a['getSelectedBlocks']())['filter'](_0x439d9f=>function(_0x1609b0,_0x28cf51){return _0x28cf51['checkChild'](_0x1609b0['parent'],'paragraph')&&!_0x28cf51['isObject'](_0x1609b0)&&'paragraph'!=_0x1609b0['name'];}(_0x439d9f,this['editor']['model']['schema']));_0x5bae99['model']['change'](()=>{for(const _0x53c6fd of _0x2150d4)_0x4b364b['markBlockFormat'](_0x53c6fd,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x5225a4(_0x53c6fd));});}),_0x4b364b['_descriptionFactory']['registerDescriptionCallback'](_0x15c56f=>{const {data:_0x4e22a1}=_0x15c56f;if(_0x4e22a1&&'paragraph'==_0x4e22a1['commandName'])return{'type':'format','content':t('*Change\x20to:*\x20%0',t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'}))};}),_0x4b364b['enableCommand']('insertParagraph'),_0x5bae99['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',tr(_0x5bae99),{'priority':'highest'}),_0x5bae99['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x58ffc5,_0x4d63d3,_0x20f434)=>{_0x20f434['options']['showSuggestionHighlights']&&tr(_0x5bae99,{'showActiveMarker':!0x1})(_0x58ffc5,_0x4d63d3,_0x20f434);},{'priority':'highest'});const _0x3919ef=_0x4b364b['_descriptionFactory'];_0x3919ef['registerDescriptionCallback'](_0x3c6022=>{if('insertion'!==_0x3c6022['type'])return;const {start:_0x4387de,end:_0x19e0dc}=_0x3c6022['getFirstRange']();if(!_0x4387de['isTouching'](_0x19e0dc)||!_0x4387de['nodeAfter'])return;const _0x313038=_0x5bae99['model']['schema'],_0x2852c3=_0x4387de['nodeAfter'];return _0x313038['isBlock'](_0x2852c3)&&!_0x313038['isLimit'](_0x2852c3)&&_0x313038['checkChild'](_0x2852c3,'$text')?{'type':'insertion','content':t('*Insert:*\x20%0',_0x3919ef['getItemLabel'](_0x2852c3['name'],0x1))}:void 0x0;});}}function tr(_0x15f0db,{showActiveMarker:_0x59bf13=!0x0}={}){return(_0x4abb92,_0x4db541,_0x332b25)=>{const _0x236266=_0x15f0db['plugins']['get']('TrackChangesEditing'),_0x4f7c59=_0x4db541['markerRange']['start'],_0x7ca16d=_0x4db541['markerRange']['end'],_0x3a6e20=_0x15f0db['model']['schema'];if(!_0x4f7c59['isTouching'](_0x7ca16d)||!_0x4f7c59['nodeAfter'])return;const _0x47a7db=_0x4f7c59['nodeAfter'];if(_0x3a6e20['isBlock'](_0x47a7db)&&!_0x3a6e20['isLimit'](_0x47a7db)&&_0x3a6e20['checkChild'](_0x47a7db,'$text')){if(!_0x332b25['consumable']['consume'](_0x4db541['markerRange'],_0x4abb92['name']))return;const _0x54bde3=_0x332b25['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split'}),_0x418ebb=_0x332b25['mapper']['toViewPosition'](_0x7ca16d);_0x59bf13&&_0x236266['activeMarkers']['includes'](_0x4db541['markerName'])&&_0x332b25['writer']['addClass']('ck-suggestion-marker--active',_0x54bde3),_0x332b25['writer']['insert'](_0x418ebb,_0x54bde3),_0x332b25['mapper']['bindElementToMarker'](_0x54bde3,_0x4db541['markerName']);}};}
23
+ const _0x4bbe=['span','insertParagraph','isBlock','checkChild','addClass','ck-suggestion-marker-split','Paragraph','createUIElement','*Insert:*\x20%0','markerName','highest','markBlockFormat','consume','markerRange','bindElementToMarker','addMarker:suggestion:insertion','afterInit','model','registerDescriptionCallback','document','registerElementLabel','TrackChangesEditing','toViewPosition','selection','isObject','data','change','commandName','isTouching','editing','parent','$text','start','format','insert','type','downcastDispatcher','insertion','ck-suggestion-marker--active','schema','mapper','isLimit','consumable','getSelectedBlocks','_descriptionFactory','locale','activeMarkers','writer','get','enableCommand','paragraph','options','has','plugins','end','nodeAfter'];(function(_0x1e769e,_0x4bbea5){const _0x42ddd3=function(_0x7a4299){while(--_0x7a4299){_0x1e769e['push'](_0x1e769e['shift']());}};_0x42ddd3(++_0x4bbea5);}(_0x4bbe,0xe4));const _0x42dd=function(_0x1e769e,_0x4bbea5){_0x1e769e=_0x1e769e-0x0;let _0x42ddd3=_0x4bbe[_0x1e769e];return _0x42ddd3;};import{Plugin as _0x34ca08}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x54facb}from'./utils';import{getTranslation as _0x18d174}from'../utils/common-translations';export default class it extends _0x34ca08{[_0x42dd('0xc')](){const _0x207795=this['editor'];if(!_0x207795[_0x42dd('0x31')][_0x42dd('0x30')](_0x42dd('0x2')))return;const _0x3a9542=_0x207795[_0x42dd('0x29')],_0x5afcba=_0x207795[_0x42dd('0x31')][_0x42dd('0x2c')](_0x42dd('0x11'));_0x5afcba[_0x42dd('0x28')][_0x42dd('0x10')](_0x42dd('0x2e'),_0x5af026=>_0x18d174(_0x3a9542,'ELEMENT_PARAGRAPH',_0x5af026)),_0x5afcba[_0x42dd('0x2d')](_0x42dd('0x2e'),(_0x460680,_0x58a97c={})=>{const _0x29e584=_0x207795['model'][_0x42dd('0xf')],_0x1c49c5=_0x58a97c[_0x42dd('0x13')]||_0x29e584[_0x42dd('0x13')],_0x1a7151=Array['from'](_0x1c49c5[_0x42dd('0x27')]())['filter'](_0x39cf2e=>function(_0x1fef88,_0x498aa6){return _0x498aa6[_0x42dd('0x37')](_0x1fef88[_0x42dd('0x1a')],_0x42dd('0x2e'))&&!_0x498aa6[_0x42dd('0x14')](_0x1fef88)&&_0x42dd('0x2e')!=_0x1fef88['name'];}(_0x39cf2e,this['editor'][_0x42dd('0xd')]['schema']));_0x207795[_0x42dd('0xd')][_0x42dd('0x16')](()=>{for(const _0x22fb99 of _0x1a7151)_0x5afcba[_0x42dd('0x7')](_0x22fb99,{'commandName':_0x42dd('0x2e'),'commandParams':[],'formatGroupId':'blockName'},_0x54facb(_0x22fb99));});}),_0x5afcba[_0x42dd('0x28')][_0x42dd('0xe')](_0xd4b7c=>{const {data:_0x438ebd}=_0xd4b7c;if(_0x438ebd&&_0x42dd('0x2e')==_0x438ebd[_0x42dd('0x17')])return{'type':_0x42dd('0x1d'),'content':_0x18d174(_0x3a9542,'*Change\x20to:*\x20%0',_0x18d174(_0x3a9542,'ELEMENT_PARAGRAPH'))};}),_0x5afcba[_0x42dd('0x2d')](_0x42dd('0x35')),_0x207795[_0x42dd('0x19')][_0x42dd('0x20')]['on'](_0x42dd('0xb'),tr(_0x207795),{'priority':_0x42dd('0x6')}),_0x207795[_0x42dd('0x15')][_0x42dd('0x20')]['on'](_0x42dd('0xb'),(_0x45c09b,_0xcfa50a,_0x101c28)=>{_0x101c28[_0x42dd('0x2f')]['showSuggestionHighlights']&&tr(_0x207795,{'showActiveMarker':!0x1})(_0x45c09b,_0xcfa50a,_0x101c28);},{'priority':_0x42dd('0x6')});const _0x202467=_0x5afcba['_descriptionFactory'];_0x202467[_0x42dd('0xe')](_0x194a35=>{if(_0x42dd('0x21')!==_0x194a35[_0x42dd('0x1f')])return;const {start:_0x32d616,end:_0x52e8a4}=_0x194a35['getFirstRange']();if(!_0x32d616[_0x42dd('0x18')](_0x52e8a4)||!_0x32d616[_0x42dd('0x33')])return;const _0x285ff7=_0x207795['model'][_0x42dd('0x23')],_0x232350=_0x32d616[_0x42dd('0x33')];return _0x285ff7[_0x42dd('0x36')](_0x232350)&&!_0x285ff7['isLimit'](_0x232350)&&_0x285ff7[_0x42dd('0x37')](_0x232350,'$text')?{'type':_0x42dd('0x21'),'content':_0x18d174(_0x3a9542,_0x42dd('0x4'),_0x202467['getItemLabel'](_0x232350['name'],0x1))}:void 0x0;});}}function tr(_0x1aefbc,{showActiveMarker:_0x55a785=!0x0}={}){return(_0x1ad5df,_0x4f0aa3,_0x5755f2)=>{const _0x4335ed=_0x1aefbc[_0x42dd('0x31')]['get'](_0x42dd('0x11')),_0x55158c=_0x4f0aa3[_0x42dd('0x9')][_0x42dd('0x1c')],_0x3b191d=_0x4f0aa3[_0x42dd('0x9')][_0x42dd('0x32')],_0x2f4b5d=_0x1aefbc[_0x42dd('0xd')][_0x42dd('0x23')];if(!_0x55158c['isTouching'](_0x3b191d)||!_0x55158c[_0x42dd('0x33')])return;const _0x225cab=_0x55158c[_0x42dd('0x33')];if(_0x2f4b5d[_0x42dd('0x36')](_0x225cab)&&!_0x2f4b5d[_0x42dd('0x25')](_0x225cab)&&_0x2f4b5d[_0x42dd('0x37')](_0x225cab,_0x42dd('0x1b'))){if(!_0x5755f2[_0x42dd('0x26')][_0x42dd('0x8')](_0x4f0aa3[_0x42dd('0x9')],_0x1ad5df['name']))return;const _0x4f0c69=_0x5755f2['writer'][_0x42dd('0x3')](_0x42dd('0x34'),{'class':_0x42dd('0x1')}),_0xc43b09=_0x5755f2[_0x42dd('0x24')][_0x42dd('0x12')](_0x3b191d);_0x55a785&&_0x4335ed[_0x42dd('0x2a')]['includes'](_0x4f0aa3[_0x42dd('0x5')])&&_0x5755f2[_0x42dd('0x2b')][_0x42dd('0x0')](_0x42dd('0x22'),_0x4f0c69),_0x5755f2[_0x42dd('0x2b')][_0x42dd('0x1e')](_0xc43b09,_0x4f0c69),_0x5755f2[_0x42dd('0x24')][_0x42dd('0xa')](_0x4f0c69,_0x4f0aa3[_0x42dd('0x5')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2037e7}from'ckeditor5/src/core';export default class ot extends _0x2037e7{['afterInit'](){const _0x53a121=this['editor'];if(!_0x53a121['plugins']['has']('RemoveFormatEditing'))return;const _0xa6c8a8=_0x53a121['plugins']['get']('TrackChangesEditing');_0xa6c8a8['enableCommand']('removeFormat',_0x4fc464=>{const _0x1e30b3=_0x53a121['model']['document']['selection'];_0x1e30b3['isCollapsed']?_0x4fc464():_0x53a121['model']['change'](()=>{const _0x415920=Array['from'](_0x1e30b3['getRanges']());for(const _0x4d2dca of _0x415920)for(const _0x898ebf of _0x4d2dca['getItems']())to(_0x898ebf,_0x53a121['model']['schema'])&&_0xa6c8a8['markInlineFormat'](_0x53a121['model']['createRangeOn'](_0x898ebf),{'commandName':'removeFormat','commandParams':[]});});});const {t:t}=_0x53a121['locale'];_0xa6c8a8['_descriptionFactory']['registerDescriptionCallback'](_0x2a92ce=>{const {data:_0x90ddde}=_0x2a92ce;if(_0x90ddde&&'removeFormat'==_0x90ddde['commandName'])return{'type':'format','content':t('*Remove\x20all\x20formatting*')};});}}function to(_0x128bb6,_0x437ff2){for(const [_0x3bd470]of _0x128bb6['getAttributes']()){const _0x33fad3=_0x437ff2['getAttributeProperties'](_0x3bd470);if(_0x33fad3&&_0x33fad3['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x2d98=['getAttributes','locale','get','from','commandName','plugins','isCollapsed','getAttributeProperties','*Remove\x20all\x20formatting*','change','model','removeFormat','document','_descriptionFactory','editor','enableCommand','TrackChangesEditing','afterInit','schema','format','isFormatting'];(function(_0x140f3c,_0x2d98c9){const _0x58a3c1=function(_0x37982d){while(--_0x37982d){_0x140f3c['push'](_0x140f3c['shift']());}};_0x58a3c1(++_0x2d98c9);}(_0x2d98,0x69));const _0x58a3=function(_0x140f3c,_0x2d98c9){_0x140f3c=_0x140f3c-0x0;let _0x58a3c1=_0x2d98[_0x140f3c];return _0x58a3c1;};import{Plugin as _0x37b6c3}from'ckeditor5/src/core';import{getTranslation as _0x7d83fe}from'../utils/common-translations';export default class st extends _0x37b6c3{[_0x58a3('0x11')](){const _0xdacb50=this[_0x58a3('0xe')];if(!_0xdacb50[_0x58a3('0x5')]['has']('RemoveFormatEditing'))return;const _0x58fec8=_0xdacb50['plugins'][_0x58a3('0x2')](_0x58a3('0x10'));_0x58fec8[_0x58a3('0xf')](_0x58a3('0xb'),_0x2f56ac=>{const _0x45195d=_0xdacb50['model'][_0x58a3('0xc')]['selection'];_0x45195d[_0x58a3('0x6')]?_0x2f56ac():_0xdacb50['model'][_0x58a3('0x9')](()=>{const _0xfd8084=Array[_0x58a3('0x3')](_0x45195d['getRanges']());for(const _0x3e3a23 of _0xfd8084)for(const _0x338ce6 of _0x3e3a23['getItems']())oo(_0x338ce6,_0xdacb50[_0x58a3('0xa')][_0x58a3('0x12')])&&_0x58fec8['markInlineFormat'](_0xdacb50[_0x58a3('0xa')]['createRangeOn'](_0x338ce6),{'commandName':_0x58a3('0xb'),'commandParams':[]});});}),_0x58fec8[_0x58a3('0xd')]['registerDescriptionCallback'](_0x328d9a=>{const {data:_0x391190}=_0x328d9a;if(_0x391190&&_0x58a3('0xb')==_0x391190[_0x58a3('0x4')])return{'type':_0x58a3('0x13'),'content':_0x7d83fe(_0xdacb50[_0x58a3('0x1')],_0x58a3('0x8'))};});}}function oo(_0x1765ed,_0x4185c3){for(const [_0x316e1b]of _0x1765ed[_0x58a3('0x0')]()){const _0x54ef0a=_0x4185c3[_0x58a3('0x7')](_0x316e1b);if(_0x54ef0a&&_0x54ef0a[_0x58a3('0x14')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x144d=['afterInit','acceptSuggestion','discardSuggestion','enableCommand','acceptSelectedSuggestions','RestrictedEditingModeEditing','TrackChangesEditing','get','goToPreviousRestrictedEditingException','plugins','acceptAllSuggestions','has'];(function(_0x31de74,_0x144d79){const _0x1123b1=function(_0x2d11b0){while(--_0x2d11b0){_0x31de74['push'](_0x31de74['shift']());}};_0x1123b1(++_0x144d79);}(_0x144d,0x135));const _0x1123=function(_0x31de74,_0x144d79){_0x31de74=_0x31de74-0x0;let _0x1123b1=_0x144d[_0x31de74];return _0x1123b1;};import{Plugin as _0x2ecd99}from'ckeditor5/src/core';export default class rt extends _0x2ecd99{[_0x1123('0x3')](){const _0x20e7ce=this['editor'];if(!_0x20e7ce[_0x1123('0x0')][_0x1123('0x2')](_0x1123('0x8')))return;const _0x23e72f=_0x20e7ce['plugins'][_0x1123('0xa')](_0x1123('0x9'));_0x23e72f[_0x1123('0x6')](_0x1123('0xb')),_0x23e72f[_0x1123('0x6')]('goToNextRestrictedEditingException');const _0x1af34b=_0x20e7ce[_0x1123('0x0')][_0x1123('0xa')](_0x1123('0x8'));_0x1af34b[_0x1123('0x6')]('trackChanges'),_0x1af34b['enableCommand'](_0x1123('0x4')),_0x1af34b[_0x1123('0x6')](_0x1123('0x5')),_0x1af34b['enableCommand'](_0x1123('0x1')),_0x1af34b[_0x1123('0x6')]('discardAllSuggestions'),_0x1af34b[_0x1123('0x6')](_0x1123('0x7')),_0x1af34b[_0x1123('0x6')]('discardSelectedSuggestions');}}
23
+ const _0x3813=['enableCommand','RestrictedEditingModeEditing','goToNextRestrictedEditingException','trackChanges','goToPreviousRestrictedEditingException','editor','get','plugins','has','acceptSelectedSuggestions','acceptAllSuggestions','acceptSuggestion','discardSelectedSuggestions','discardSuggestion','afterInit'];(function(_0x525132,_0x3813ba){const _0x4a91bc=function(_0x41fa91){while(--_0x41fa91){_0x525132['push'](_0x525132['shift']());}};_0x4a91bc(++_0x3813ba);}(_0x3813,0x1be));const _0x4a91=function(_0x525132,_0x3813ba){_0x525132=_0x525132-0x0;let _0x4a91bc=_0x3813[_0x525132];return _0x4a91bc;};import{Plugin as _0x2a33d6}from'ckeditor5/src/core';export default class nt extends _0x2a33d6{[_0x4a91('0x3')](){const _0x573af3=this[_0x4a91('0x9')];if(!_0x573af3['plugins'][_0x4a91('0xc')](_0x4a91('0x5')))return;const _0x1b1618=_0x573af3[_0x4a91('0xb')][_0x4a91('0xa')]('TrackChangesEditing');_0x1b1618[_0x4a91('0x4')](_0x4a91('0x8')),_0x1b1618[_0x4a91('0x4')](_0x4a91('0x6'));const _0x3446a9=_0x573af3['plugins'][_0x4a91('0xa')](_0x4a91('0x5'));_0x3446a9[_0x4a91('0x4')](_0x4a91('0x7')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x0')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x2')),_0x3446a9['enableCommand'](_0x4a91('0xe')),_0x3446a9[_0x4a91('0x4')]('discardAllSuggestions'),_0x3446a9[_0x4a91('0x4')](_0x4a91('0xd')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x1'));}}