@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230831.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 (88) hide show
  1. package/build/revision-history.js +1 -1
  2. package/lang/translations/af.po +1 -0
  3. package/lang/translations/ar.po +1 -0
  4. package/lang/translations/az.po +1 -0
  5. package/lang/translations/bg.po +1 -0
  6. package/lang/translations/bn.po +1 -0
  7. package/lang/translations/bs.po +1 -0
  8. package/lang/translations/ca.po +1 -0
  9. package/lang/translations/cs.po +1 -0
  10. package/lang/translations/da.po +1 -0
  11. package/lang/translations/de-ch.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en-gb.po +1 -0
  16. package/lang/translations/en.po +1 -0
  17. package/lang/translations/es-co.po +1 -0
  18. package/lang/translations/es.po +1 -0
  19. package/lang/translations/et.po +1 -0
  20. package/lang/translations/fa.po +1 -0
  21. package/lang/translations/fi.po +1 -0
  22. package/lang/translations/fr.po +1 -0
  23. package/lang/translations/gl.po +1 -0
  24. package/lang/translations/he.po +1 -0
  25. package/lang/translations/hi.po +1 -0
  26. package/lang/translations/hr.po +1 -0
  27. package/lang/translations/hu.po +1 -0
  28. package/lang/translations/id.po +1 -0
  29. package/lang/translations/it.po +1 -0
  30. package/lang/translations/ja.po +1 -0
  31. package/lang/translations/jv.po +1 -0
  32. package/lang/translations/ko.po +1 -0
  33. package/lang/translations/ku.po +1 -0
  34. package/lang/translations/lt.po +1 -0
  35. package/lang/translations/lv.po +1 -0
  36. package/lang/translations/ms.po +1 -0
  37. package/lang/translations/ne.po +1 -0
  38. package/lang/translations/nl.po +1 -0
  39. package/lang/translations/no.po +1 -0
  40. package/lang/translations/pl.po +1 -0
  41. package/lang/translations/pt-br.po +1 -0
  42. package/lang/translations/pt.po +1 -0
  43. package/lang/translations/ro.po +1 -0
  44. package/lang/translations/ru.po +1 -0
  45. package/lang/translations/sk.po +1 -0
  46. package/lang/translations/sr-latn.po +1 -0
  47. package/lang/translations/sr.po +1 -0
  48. package/lang/translations/sv.po +1 -0
  49. package/lang/translations/th.po +1 -0
  50. package/lang/translations/tk.po +1 -0
  51. package/lang/translations/tr.po +1 -0
  52. package/lang/translations/tt.po +1 -0
  53. package/lang/translations/ug.po +1 -0
  54. package/lang/translations/uk.po +1 -0
  55. package/lang/translations/ur.po +1 -0
  56. package/lang/translations/vi.po +1 -0
  57. package/lang/translations/zh-cn.po +1 -0
  58. package/lang/translations/zh.po +1 -0
  59. package/package.json +6 -6
  60. package/src/changeitem.js +1 -1
  61. package/src/editor/revisionviewereditor.js +1 -1
  62. package/src/editor/revisionviewereditorui.js +1 -1
  63. package/src/editor/revisionviewereditoruiview.js +1 -1
  64. package/src/revision.js +1 -1
  65. package/src/revisiondiff.js +1 -1
  66. package/src/revisionhistory.js +1 -1
  67. package/src/revisionsrepository.js +1 -1
  68. package/src/revisiontracker.js +1 -1
  69. package/src/revisionviewer.js +1 -1
  70. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  71. package/src/ui/revision/revisionauthorview.js +1 -1
  72. package/src/ui/revision/revisionnameview.js +1 -1
  73. package/src/ui/revision/revisionview.js +1 -1
  74. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  75. package/src/ui/revision/subrevisionview.js +1 -1
  76. package/src/ui/revision/utils.js +1 -1
  77. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  78. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  79. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  80. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  81. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  82. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  83. package/src/ui/revisionssidebar/utils.js +1 -1
  84. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  85. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  86. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  87. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  88. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1166=['focus','revisionName','remove','buttonView','panelView','items','isEnabled','render','showRevisionViewerCallback','Open\x20revision\x20history','isOpen','children','get','editing','config','cancel','plugins','editor','reset','isReadOnly','RevisionTracker','set','execute','saveButtonView','componentFactory','saveRevision','requires','add','init','length','revisionHistory','addMany','pluginName','Save\x20current\x20revision','submit','bind','isReady','RevisionHistoryUI'];(function(_0x838cec,_0x11660b){const _0x434cc9=function(_0x131f84){while(--_0x131f84){_0x838cec['push'](_0x838cec['shift']());}};_0x434cc9(++_0x11660b);}(_0x1166,0x86));const _0x434c=function(_0x838cec,_0x11660b){_0x838cec=_0x838cec-0x0;let _0x434cc9=_0x1166[_0x838cec];return _0x434cc9;};import{Plugin as _0x297c0b}from'ckeditor5/src/core';import{ListView as _0x678552,ListItemView as _0x10e947,ButtonView as _0x49f130,createDropdown as _0x436761}from'ckeditor5/src/ui';import _0x110614 from'../../revisiontracker';import _0x30562e from'./revisionhistorysaverevisionformview';import _0x4a5138 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x31823d}from'../../utils/common-translations';export default class u extends _0x297c0b{static get[_0x434c('0xc')](){return _0x434c('0x11');}static get[_0x434c('0x6')](){return[_0x110614];}[_0x434c('0x8')](){const _0x5efee0=this[_0x434c('0x23')],_0x2cfa3f=_0x5efee0['plugins'][_0x434c('0x1e')](_0x434c('0x0'));_0x5efee0['ui'][_0x434c('0x4')]['add'](_0x434c('0xa'),_0x40600e=>{const _0x3127e5=_0x436761(_0x40600e),_0x141b96=_0x3127e5[_0x434c('0x16')]['children'],_0x1b36d7=new _0x678552(_0x40600e),_0x337a30=new _0x10e947(_0x40600e),_0x4b208d=new _0x49f130(_0x40600e),_0x17d14a=new _0x10e947(_0x40600e),_0x25c9ce=new _0x49f130(_0x40600e),_0x3b2615=new _0x30562e(_0x40600e);function _0x3983c4(){_0x141b96[_0x434c('0x9')]&&_0x141b96[_0x434c('0x14')](0x0),_0x141b96[_0x434c('0x7')](_0x1b36d7);}function _0x301e3a(){_0x3127e5[_0x434c('0x1c')]=!0x1,_0x5efee0[_0x434c('0x1f')]['view']['focus']();}return _0x3127e5[_0x434c('0xf')](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x1fd41e,_0xbea594,_0x17a1f7)=>_0x1fd41e&&_0xbea594&&!_0x17a1f7),_0x3127e5[_0x434c('0x15')][_0x434c('0x1')]({'icon':_0x4a5138,'label':_0x31823d(_0x40600e,'Revision\x20history'),'tooltip':!0x0}),_0x4b208d['set']({'label':_0x31823d(_0x40600e,_0x434c('0xd')),'withText':!0x0}),_0x4b208d['bind'](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x3d893c,_0x11cf72,_0xb3746f)=>_0x3d893c&&_0x11cf72&&!_0xb3746f),_0x4b208d['on'](_0x434c('0x2'),()=>function(){_0x141b96['length']&&_0x141b96[_0x434c('0x14')](0x0),(_0x3b2615[_0x434c('0x24')](),_0x141b96['add'](_0x3b2615),_0x3b2615[_0x434c('0x12')]());}()),_0x25c9ce['set']({'label':_0x31823d(_0x40600e,_0x434c('0x1b')),'withText':!0x0}),_0x25c9ce[_0x434c('0xf')]('isEnabled')['to'](_0x2cfa3f,'isReady',_0x5efee0,'isReadOnly',(_0x1ab1f9,_0x1d1af0)=>_0x1ab1f9&&!_0x1d1af0),_0x25c9ce['on'](_0x434c('0x2'),()=>{_0x5efee0[_0x434c('0x20')][_0x434c('0x1e')](_0x434c('0xa'))[_0x434c('0x1a')](),_0x301e3a();}),_0x337a30[_0x434c('0x1d')][_0x434c('0x7')](_0x4b208d),_0x17d14a[_0x434c('0x1d')][_0x434c('0x7')](_0x25c9ce),_0x1b36d7[_0x434c('0x17')][_0x434c('0xb')]([_0x337a30,_0x17d14a]),_0x3127e5['on']('change:isOpen',()=>_0x3983c4()),_0x3b2615[_0x434c('0x3')]['bind'](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x5c8bb0,_0xffd71c,_0x34de3e)=>_0x5c8bb0&&_0xffd71c&&!_0x34de3e),_0x3b2615['on'](_0x434c('0xe'),()=>(_0x5efee0[_0x434c('0x22')][_0x434c('0x1e')](_0x110614)[_0x434c('0x5')]({'name':_0x3b2615[_0x434c('0x13')]}),void _0x301e3a())),_0x3b2615['on'](_0x434c('0x21'),()=>_0x3983c4()),_0x3b2615[_0x434c('0x19')](),_0x3983c4(),_0x3127e5;});}}
23
+ const _0x5e97=['view','bind','focus','children','isReadOnly','length','isReady','reset','submit','render','componentFactory','init','Revision\x20history','RevisionTracker','config','get','saveButtonView','requires','set','execute','isOpen','panelView','Save\x20current\x20revision','revisionHistory','cancel','saveRevision','RevisionHistoryUI','remove','addMany','add','change:isOpen','buttonView','isEnabled','showRevisionViewerCallback','revisionName','plugins'];(function(_0x21a2cf,_0x5e97c4){const _0x535193=function(_0x11408f){while(--_0x11408f){_0x21a2cf['push'](_0x21a2cf['shift']());}};_0x535193(++_0x5e97c4);}(_0x5e97,0xf1));const _0x5351=function(_0x21a2cf,_0x5e97c4){_0x21a2cf=_0x21a2cf-0x0;let _0x535193=_0x5e97[_0x21a2cf];return _0x535193;};import{Plugin as _0x964671}from'ckeditor5/src/core';import{ListView as _0x3d98b4,ListItemView as _0x15d801,ButtonView as _0x3766fa,createDropdown as _0x34a39e}from'ckeditor5/src/ui';import _0x4fbf91 from'../../revisiontracker';import _0x34b697 from'./revisionhistorysaverevisionformview';import _0x256387 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x378dcc}from'../../utils/common-translations';export default class u extends _0x964671{static get['pluginName'](){return _0x5351('0x1');}static get[_0x5351('0x1c')](){return[_0x4fbf91];}[_0x5351('0x16')](){const _0x261796=this['editor'],_0xef880d=_0x261796[_0x5351('0xa')][_0x5351('0x1a')](_0x5351('0x18'));_0x261796['ui'][_0x5351('0x15')][_0x5351('0x4')](_0x5351('0x22'),_0x4ef101=>{const _0x393d76=_0x34a39e(_0x4ef101),_0x47a944=_0x393d76[_0x5351('0x20')][_0x5351('0xe')],_0x1b55f4=new _0x3d98b4(_0x4ef101),_0x1504af=new _0x15d801(_0x4ef101),_0x559ca6=new _0x3766fa(_0x4ef101),_0x2c707f=new _0x15d801(_0x4ef101),_0x53f1f9=new _0x3766fa(_0x4ef101),_0x47c35b=new _0x34b697(_0x4ef101);function _0x4f3261(){_0x47a944[_0x5351('0x10')]&&_0x47a944[_0x5351('0x2')](0x0),_0x47a944[_0x5351('0x4')](_0x1b55f4);}function _0x4c72d4(){_0x393d76[_0x5351('0x1f')]=!0x1,_0x261796['editing'][_0x5351('0xb')]['focus']();}return _0x393d76[_0x5351('0xc')](_0x5351('0x7'))['to'](_0xef880d,_0x5351('0x11'),_0xef880d,_0x5351('0x7'),_0x261796,_0x5351('0xf'),(_0x3b62c8,_0x30efdb,_0x2231da)=>_0x3b62c8&&_0x30efdb&&!_0x2231da),_0x393d76[_0x5351('0x6')][_0x5351('0x1d')]({'icon':_0x256387,'label':_0x378dcc(_0x4ef101,_0x5351('0x17')),'tooltip':!0x0}),_0x559ca6[_0x5351('0x1d')]({'label':_0x378dcc(_0x4ef101,_0x5351('0x21')),'withText':!0x0}),_0x559ca6[_0x5351('0xc')]('isEnabled')['to'](_0xef880d,_0x5351('0x11'),_0xef880d,'isEnabled',_0x261796,'isReadOnly',(_0x5a9073,_0x52c98a,_0x2090e7)=>_0x5a9073&&_0x52c98a&&!_0x2090e7),_0x559ca6['on'](_0x5351('0x1e'),()=>function(){_0x47a944[_0x5351('0x10')]&&_0x47a944['remove'](0x0),(_0x47c35b[_0x5351('0x12')](),_0x47a944['add'](_0x47c35b),_0x47c35b[_0x5351('0xd')]());}()),_0x53f1f9[_0x5351('0x1d')]({'label':_0x378dcc(_0x4ef101,'Open\x20revision\x20history'),'withText':!0x0}),_0x53f1f9[_0x5351('0xc')](_0x5351('0x7'))['to'](_0xef880d,_0x5351('0x11'),_0x261796,_0x5351('0xf'),(_0x573612,_0x34fc58)=>_0x573612&&!_0x34fc58),_0x53f1f9['on'](_0x5351('0x1e'),()=>{_0x261796[_0x5351('0x19')][_0x5351('0x1a')](_0x5351('0x22'))[_0x5351('0x8')](),_0x4c72d4();}),_0x1504af[_0x5351('0xe')][_0x5351('0x4')](_0x559ca6),_0x2c707f['children'][_0x5351('0x4')](_0x53f1f9),_0x1b55f4['items'][_0x5351('0x3')]([_0x1504af,_0x2c707f]),_0x393d76['on'](_0x5351('0x5'),()=>_0x4f3261()),_0x47c35b[_0x5351('0x1b')][_0x5351('0xc')](_0x5351('0x7'))['to'](_0xef880d,_0x5351('0x11'),_0xef880d,_0x5351('0x7'),_0x261796,_0x5351('0xf'),(_0x356221,_0x1b4489,_0x130d3b)=>_0x356221&&_0x1b4489&&!_0x130d3b),_0x47c35b['on'](_0x5351('0x13'),()=>(_0x261796[_0x5351('0xa')][_0x5351('0x1a')](_0x4fbf91)[_0x5351('0x0')]({'name':_0x47c35b[_0x5351('0x9')]}),void _0x4c72d4())),_0x47c35b['on'](_0x5351('0x23'),()=>_0x4f3261()),_0x47c35b[_0x5351('0x14')](),_0x4f3261(),_0x393d76;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26fd=['getRevisionsInDiff','ready','diff','Compare\x20against\x20selected','plugins','setName','_handleDiffChange','editor','data','_revisionViewer','RevisionsSidebar','element','revisionViews','getEarlierVisibleRevision','_revisions','name','restoreRevisionCallback','revisionHistory','_sidebarView','length','isReady','render','defaultRevisionActions','_revisionsRepository','isEnabled','isSelected','_createRevisionActions','compareAgainstSelected','_handleEditorDataReady','_handleRevisionSelected','selectRevision','appendChild','bind','revisionHistory.revisionActions','fieldView','timePeriodViews','action','destroy','get','listenTo','compare','repository','change:diff','getRevision','init','nameRevision','string','availableRevisionActions','config','map','add','_handleRevisionSetName','newRevisionId','revisionHistory.viewerSidebarContainer','assign','revisionSetName','isVisible'];(function(_0x1cc33a,_0x26fd9d){const _0x3c1cbd=function(_0x194db9){while(--_0x194db9){_0x1cc33a['push'](_0x1cc33a['shift']());}};_0x3c1cbd(++_0x26fd9d);}(_0x26fd,0xdc));const _0x3c1c=function(_0x1cc33a,_0x26fd9d){_0x1cc33a=_0x1cc33a-0x0;let _0x3c1cbd=_0x26fd[_0x1cc33a];return _0x3c1cbd;};import{Plugin as _0x24dfc2}from'ckeditor5/src/core';import _0x33db68 from'./revisionssidebarview';import _0xe60f85 from'../../revisionviewer';export default class w extends _0x24dfc2{static get['pluginName'](){return _0x3c1c('0x12');}static get['requires'](){return[_0xe60f85];}constructor(_0x29ed6b){super(_0x29ed6b),this[_0x3c1c('0x11')]=_0x29ed6b[_0x3c1c('0xc')][_0x3c1c('0x2e')](_0xe60f85),this[_0x3c1c('0x1f')]=this[_0x3c1c('0x11')][_0x3c1c('0x31')],this[_0x3c1c('0x1a')]=null;}[_0x3c1c('0x34')](){const _0x5b182c=this['_revisionsRepository'][_0x3c1c('0x16')],_0x4cebc1=this['_createRevisionActions'](),_0x530a00=this[_0x3c1c('0xf')][_0x3c1c('0x38')]['get'](_0x3c1c('0x4'));this['_sidebarView']=new _0x33db68(this[_0x3c1c('0xf')]['locale'],_0x5b182c,_0x4cebc1),this[_0x3c1c('0x1a')]['on']('revisionSelected',this[_0x3c1c('0x25')][_0x3c1c('0x28')](this)),this[_0x3c1c('0x1a')]['on'](_0x3c1c('0x6'),this['_handleRevisionSetName']['bind'](this)),this[_0x3c1c('0x1a')][_0x3c1c('0x28')](_0x3c1c('0x20'))['to'](this[_0x3c1c('0x11')]),this[_0x3c1c('0x1a')][_0x3c1c('0x2b')]['on'](_0x3c1c('0x1'),(_0x141b4f,_0x48081c)=>{_0x48081c[_0x3c1c('0x14')]['on']('add',(_0x5a6446,_0x3b0edf)=>{_0x3b0edf[_0x3c1c('0x28')](_0x3c1c('0x20'),_0x3c1c('0x1c'))['to'](this[_0x3c1c('0x11')]);});}),this['_sidebarView'][_0x3c1c('0x1d')](),this[_0x3c1c('0x2f')](this[_0x3c1c('0xf')][_0x3c1c('0x10')],_0x3c1c('0x9'),this[_0x3c1c('0x24')][_0x3c1c('0x28')](this)),this[_0x3c1c('0x2f')](this[_0x3c1c('0x11')],_0x3c1c('0x32'),this[_0x3c1c('0xe')][_0x3c1c('0x28')](this)),_0x530a00[_0x3c1c('0x27')](this[_0x3c1c('0x1a')][_0x3c1c('0x13')]);}['destroy'](){this['_sidebarView'][_0x3c1c('0x13')]['remove'](),this[_0x3c1c('0x1a')][_0x3c1c('0x2d')]();}[_0x3c1c('0x24')](){const _0x424b2e=this[_0x3c1c('0x1f')]['getRevision'](0x0);if(_0x424b2e){const _0x3440ad=this[_0x3c1c('0x1f')][_0x3c1c('0x15')](_0x424b2e['id']);this[_0x3c1c('0x11')][_0x3c1c('0x30')](_0x424b2e,_0x3440ad);}}[_0x3c1c('0x25')](_0x2013c6,_0x23f534){const _0x1a1d10=this[_0x3c1c('0x1f')][_0x3c1c('0x33')](_0x23f534['id']),_0x395238=this[_0x3c1c('0x1f')][_0x3c1c('0x15')](_0x1a1d10['id']);this[_0x3c1c('0x11')]['compare'](_0x1a1d10,_0x395238);}[_0x3c1c('0x2')](_0x53dc40,_0x54ee0c){this[_0x3c1c('0x1f')][_0x3c1c('0x33')](_0x54ee0c['id'])[_0x3c1c('0xd')](_0x54ee0c[_0x3c1c('0x17')]);}[_0x3c1c('0xe')](_0x462f04,_0x234d3a,_0x5e1fab){const _0x5d4372=this[_0x3c1c('0x1f')][_0x3c1c('0x8')](_0x5e1fab);_0x5d4372[_0x3c1c('0x1b')]>0x2?(this[_0x3c1c('0x1a')]['highlightRevisions'](_0x5d4372),this['_sidebarView'][_0x3c1c('0x26')](null)):(this[_0x3c1c('0x1a')]['highlightRevisions']([]),this[_0x3c1c('0x1a')][_0x3c1c('0x26')](_0x5d4372[0x0]));}[_0x3c1c('0x22')](){const _0xf52021=this[_0x3c1c('0xf')],_0x283efa=w[_0x3c1c('0x37')],_0x2ec079=_0xf52021['config'][_0x3c1c('0x2e')](_0x3c1c('0x29'))||w[_0x3c1c('0x1e')];if(_0x2ec079[_0x3c1c('0x1b')])return _0x2ec079[_0x3c1c('0x0')](_0x4af6d6=>{const _0x3c62f1=_0x3c1c('0x36')==typeof _0x4af6d6?Object[_0x3c1c('0x5')]({},_0x283efa[_0x4af6d6]):_0x4af6d6;return _0x3c62f1[_0x3c1c('0x2c')]=_0x3c62f1[_0x3c1c('0x2c')]['bind'](this,_0xf52021),_0x3c62f1[_0x3c1c('0x7')]&&(_0x3c62f1['isVisible']=_0x3c62f1[_0x3c1c('0x7')][_0x3c1c('0x28')](this,_0xf52021)),_0x3c62f1;});}}w[_0x3c1c('0x37')]={'compareAgainstSelected':{'name':_0x3c1c('0xb'),'action':({plugins:_0x1e2a30},_0x1f0a4e)=>{const _0x202021=_0x1e2a30[_0x3c1c('0x2e')](_0xe60f85),_0x4abbee=_0x202021[_0x3c1c('0x31')];let _0x5967ee=_0x202021['diff'][_0x3c1c('0x3')],_0x482f16=_0x1f0a4e['id'];_0x4abbee['getIndex'](_0x5967ee)>_0x4abbee['getIndex'](_0x482f16)&&([_0x5967ee,_0x482f16]=[_0x482f16,_0x5967ee]),_0x202021[_0x3c1c('0x30')](_0x5967ee,_0x482f16);},'isVisible':({plugins:_0x56a74a},_0x45344b)=>{const _0x4d213c=_0x56a74a['get'](_0xe60f85);return!(_0x4d213c[_0x3c1c('0x31')][_0x3c1c('0x8')](_0x4d213c[_0x3c1c('0xa')])[_0x3c1c('0x1b')]>0x2)&&!_0x45344b[_0x3c1c('0x21')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x340f2b,{id:_0x1e5388})=>{_0x340f2b[_0x3c1c('0x38')][_0x3c1c('0x2e')](_0x3c1c('0x19'))[_0x3c1c('0x18')](_0x1e5388);},'isVisible':({plugins:_0x1a6528},_0x51a775)=>!!_0x1a6528[_0x3c1c('0x2e')](_0xe60f85)[_0x3c1c('0x31')]['getLaterVisibleRevision'](_0x51a775['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x12af1d},{id:_0x3d4d6c,revisionNameView:_0x57b348})=>{const _0x57a13e=_0x12af1d['get'](_0xe60f85),_0x129a3a=_0x57a13e['repository'][_0x3c1c('0x15')](_0x3d4d6c);_0x57a13e[_0x3c1c('0x30')](_0x3d4d6c,_0x129a3a),_0x57b348['focus'](),_0x57b348[_0x3c1c('0x2a')]['select']();}}},w[_0x3c1c('0x1e')]=[_0x3c1c('0x23'),'restoreRevision',_0x3c1c('0x35')];
23
+ const _0x3dd2=['Compare\x20against\x20selected','change:diff','timePeriodViews','select','nameRevision','diff','availableRevisionActions','highlightRevisions','get','revisionHistory.revisionActions','getRevision','_createRevisionActions','config','fieldView','add','string','editor','_handleEditorDataReady','requires','bind','getEarlierVisibleRevision','revisionViews','getRevisionsInDiff','length','_handleRevisionSelected','RevisionsSidebar','setName','_revisions','revisionHistory.viewerSidebarContainer','repository','_revisionsRepository','compare','locale','element','map','render','defaultRevisionActions','init','compareAgainstSelected','_handleRevisionSetName','revisionHistory','isReady','focus','isSelected','Restore\x20this\x20revision','restoreRevisionCallback','selectRevision','isVisible','name','_handleDiffChange','_sidebarView','action','revisionSetName','_revisionViewer','getIndex','isEnabled'];(function(_0x322656,_0x3dd28d){const _0x5ccfcd=function(_0x4f10cc){while(--_0x4f10cc){_0x322656['push'](_0x322656['shift']());}};_0x5ccfcd(++_0x3dd28d);}(_0x3dd2,0x136));const _0x5ccf=function(_0x322656,_0x3dd28d){_0x322656=_0x322656-0x0;let _0x5ccfcd=_0x3dd2[_0x322656];return _0x5ccfcd;};import{Plugin as _0x57be8d}from'ckeditor5/src/core';import _0x56b21e from'./revisionssidebarview';import _0x5be2c7 from'../../revisionviewer';export default class w extends _0x57be8d{static get['pluginName'](){return _0x5ccf('0x33');}static get[_0x5ccf('0x2c')](){return[_0x5be2c7];}constructor(_0xb1cb38){super(_0xb1cb38),this[_0x5ccf('0x17')]=_0xb1cb38['plugins'][_0x5ccf('0x22')](_0x5be2c7),this[_0x5ccf('0x0')]=this['_revisionViewer']['repository'],this[_0x5ccf('0x14')]=null;}[_0x5ccf('0x7')](){const _0x2a41d6=this[_0x5ccf('0x0')][_0x5ccf('0x35')],_0x233b05=this[_0x5ccf('0x25')](),_0x50ab2c=this[_0x5ccf('0x2a')][_0x5ccf('0x26')][_0x5ccf('0x22')](_0x5ccf('0x36'));this[_0x5ccf('0x14')]=new _0x56b21e(this[_0x5ccf('0x2a')][_0x5ccf('0x2')],_0x2a41d6,_0x233b05),this[_0x5ccf('0x14')]['on']('revisionSelected',this['_handleRevisionSelected'][_0x5ccf('0x2d')](this)),this[_0x5ccf('0x14')]['on'](_0x5ccf('0x16'),this['_handleRevisionSetName'][_0x5ccf('0x2d')](this)),this[_0x5ccf('0x14')]['bind'](_0x5ccf('0x19'))['to'](this[_0x5ccf('0x17')]),this['_sidebarView'][_0x5ccf('0x1c')]['on'](_0x5ccf('0x28'),(_0x36a177,_0x4d5437)=>{_0x4d5437[_0x5ccf('0x2f')]['on'](_0x5ccf('0x28'),(_0x1fde89,_0x3d66fe)=>{_0x3d66fe['bind']('isEnabled',_0x5ccf('0xb'))['to'](this[_0x5ccf('0x17')]);});}),this[_0x5ccf('0x14')][_0x5ccf('0x5')](),this['listenTo'](this[_0x5ccf('0x2a')]['data'],'ready',this['_handleEditorDataReady'][_0x5ccf('0x2d')](this)),this['listenTo'](this[_0x5ccf('0x17')],_0x5ccf('0x1b'),this[_0x5ccf('0x13')]['bind'](this)),_0x50ab2c['appendChild'](this[_0x5ccf('0x14')][_0x5ccf('0x3')]);}['destroy'](){this[_0x5ccf('0x14')][_0x5ccf('0x3')]['remove'](),this['_sidebarView']['destroy']();}[_0x5ccf('0x2b')](){const _0x1fe69c=this['_revisionsRepository']['getRevision'](0x0);if(_0x1fe69c){const _0x5c977b=this[_0x5ccf('0x0')][_0x5ccf('0x2e')](_0x1fe69c['id']);this['_revisionViewer'][_0x5ccf('0x1')](_0x1fe69c,_0x5c977b);}}[_0x5ccf('0x32')](_0x9c2b52,_0x4cb4de){const _0x462c8a=this[_0x5ccf('0x0')][_0x5ccf('0x24')](_0x4cb4de['id']),_0x1215dc=this[_0x5ccf('0x0')][_0x5ccf('0x2e')](_0x462c8a['id']);this[_0x5ccf('0x17')]['compare'](_0x462c8a,_0x1215dc);}[_0x5ccf('0x9')](_0x2fd279,_0x1aafcc){this[_0x5ccf('0x0')]['getRevision'](_0x1aafcc['id'])[_0x5ccf('0x34')](_0x1aafcc[_0x5ccf('0x12')]);}['_handleDiffChange'](_0xb22da0,_0x51dd42,_0x2804da){const _0x2ce732=this[_0x5ccf('0x0')][_0x5ccf('0x30')](_0x2804da);_0x2ce732[_0x5ccf('0x31')]>0x2?(this[_0x5ccf('0x14')][_0x5ccf('0x21')](_0x2ce732),this['_sidebarView'][_0x5ccf('0x10')](null)):(this['_sidebarView'][_0x5ccf('0x21')]([]),this['_sidebarView'][_0x5ccf('0x10')](_0x2ce732[0x0]));}[_0x5ccf('0x25')](){const _0x48a5cb=this[_0x5ccf('0x2a')],_0x509a56=w[_0x5ccf('0x20')],_0x4316f9=_0x48a5cb[_0x5ccf('0x26')]['get'](_0x5ccf('0x23'))||w[_0x5ccf('0x6')];if(_0x4316f9['length'])return _0x4316f9[_0x5ccf('0x4')](_0x29c7f6=>{const _0x43369d=_0x5ccf('0x29')==typeof _0x29c7f6?Object['assign']({},_0x509a56[_0x29c7f6]):_0x29c7f6;return _0x43369d[_0x5ccf('0x15')]=_0x43369d[_0x5ccf('0x15')][_0x5ccf('0x2d')](this,_0x48a5cb),_0x43369d['isVisible']&&(_0x43369d[_0x5ccf('0x11')]=_0x43369d[_0x5ccf('0x11')][_0x5ccf('0x2d')](this,_0x48a5cb)),_0x43369d;});}}w[_0x5ccf('0x20')]={'compareAgainstSelected':{'name':_0x5ccf('0x1a'),'action':({plugins:_0x4a5d83},_0x55d2f9)=>{const _0x4603e0=_0x4a5d83[_0x5ccf('0x22')](_0x5be2c7),_0x13b970=_0x4603e0[_0x5ccf('0x37')];let _0x2f33ea=_0x4603e0[_0x5ccf('0x1f')]['newRevisionId'],_0x2902d7=_0x55d2f9['id'];_0x13b970['getIndex'](_0x2f33ea)>_0x13b970[_0x5ccf('0x18')](_0x2902d7)&&([_0x2f33ea,_0x2902d7]=[_0x2902d7,_0x2f33ea]),_0x4603e0[_0x5ccf('0x1')](_0x2f33ea,_0x2902d7);},'isVisible':({plugins:_0x509086},_0x1de554)=>{const _0x268e2a=_0x509086[_0x5ccf('0x22')](_0x5be2c7);return!(_0x268e2a[_0x5ccf('0x37')][_0x5ccf('0x30')](_0x268e2a['diff'])[_0x5ccf('0x31')]>0x2)&&!_0x1de554[_0x5ccf('0xd')];}},'restoreRevision':{'name':_0x5ccf('0xe'),'action':(_0x4aca8b,{id:_0x46fc1a})=>{_0x4aca8b[_0x5ccf('0x26')][_0x5ccf('0x22')](_0x5ccf('0xa'))[_0x5ccf('0xf')](_0x46fc1a);},'isVisible':({plugins:_0x3ee0fc},_0x5bd623)=>!!_0x3ee0fc[_0x5ccf('0x22')](_0x5be2c7)['repository']['getLaterVisibleRevision'](_0x5bd623['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x41197b},{id:_0x314fe6,revisionNameView:_0xa4a5d7})=>{const _0x30a5c2=_0x41197b[_0x5ccf('0x22')](_0x5be2c7),_0x4a06e9=_0x30a5c2['repository'][_0x5ccf('0x2e')](_0x314fe6);_0x30a5c2['compare'](_0x314fe6,_0x4a06e9),_0xa4a5d7[_0x5ccf('0xc')](),_0xa4a5d7[_0x5ccf('0x27')][_0x5ccf('0x1d')]();}}},w[_0x5ccf('0x6')]=[_0x5ccf('0x8'),'restoreRevision',_0x5ccf('0x1e')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5697=['ck-reset_all','content','Revision\x20history','setTemplate'];(function(_0x34af53,_0x5697c1){const _0x285137=function(_0x596f1c){while(--_0x596f1c){_0x34af53['push'](_0x34af53['shift']());}};_0x285137(++_0x5697c1);}(_0x5697,0x141));const _0x2851=function(_0x34af53,_0x5697c1){_0x34af53=_0x34af53-0x0;let _0x285137=_0x5697[_0x34af53];return _0x285137;};import{View as _0x59ffea,IconView as _0xf755bf}from'ckeditor5/src/ui';import{getTranslation as _0x522a81}from'../../utils/common-translations';import _0x388c54 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x59ffea{constructor(_0x28db53){super(_0x28db53);const _0x16bca1=new _0xf755bf();_0x16bca1[_0x2851('0x0')]=_0x388c54,this[_0x2851('0x2')]({'tag':'div','attributes':{'class':['ck',_0x2851('0x3'),'ck-revision-history-sidebar__header']},'children':[_0x16bca1,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x522a81(_0x28db53,_0x2851('0x1'))]}]});}}
23
+ const _0x8b75=['content','Revision\x20history','ck-revision-history-sidebar__header','ck-reset_all','ck-revision-history-sidebar__header__label','div','setTemplate'];(function(_0x3fa0b3,_0x8b7511){const _0x2155fe=function(_0x5cedd4){while(--_0x5cedd4){_0x3fa0b3['push'](_0x3fa0b3['shift']());}};_0x2155fe(++_0x8b7511);}(_0x8b75,0x16f));const _0x2155=function(_0x3fa0b3,_0x8b7511){_0x3fa0b3=_0x3fa0b3-0x0;let _0x2155fe=_0x8b75[_0x3fa0b3];return _0x2155fe;};import{View as _0x295df8,IconView as _0x2d2338}from'ckeditor5/src/ui';import{getTranslation as _0x2f8308}from'../../utils/common-translations';import _0x37052c from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x295df8{constructor(_0xc1b7c3){super(_0xc1b7c3);const _0x403d14=new _0x2d2338();_0x403d14[_0x2155('0x4')]=_0x37052c,this[_0x2155('0x3')]({'tag':_0x2155('0x2'),'attributes':{'class':['ck',_0x2155('0x0'),_0x2155('0x6')]},'children':[_0x403d14,{'tag':'span','attributes':{'class':['ck',_0x2155('0x1')]},'children':[_0x2f8308(_0xc1b7c3,_0x2155('0x5'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x121b=['createCollection','select','setTemplate','ck-revision-history-sidebar__time-period__label','div','ck-revision-history-sidebar__time-period','_revisionActions','ck-revision-history-sidebar__time-period__revisions','revisionViews','locale','removeRevision','setName','startDate','span','uiLanguage','localizedPeriodName','add','remove'];(function(_0x3a3763,_0x121bb2){const _0x1559f5=function(_0x36a6e3){while(--_0x36a6e3){_0x3a3763['push'](_0x3a3763['shift']());}};_0x1559f5(++_0x121bb2);}(_0x121b,0x158));const _0x1559=function(_0x3a3763,_0x121bb2){_0x3a3763=_0x3a3763-0x0;let _0x1559f5=_0x121b[_0x3a3763];return _0x1559f5;};import{View as _0x2a1cce}from'ckeditor5/src/ui';import _0x52ad2a from'../revision/revisionview';import{getDateTimePeriodInfo as _0x412668}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class _i extends _0x2a1cce{constructor(_0x2eacc3,_0x22948a,_0x375386){super(_0x2eacc3);const _0x125d3a=_0x412668(_0x22948a,this['locale'][_0x1559('0xc')])[_0x1559('0xd')];this[_0x1559('0xa')]=_0x22948a,this['revisionViews']=this[_0x1559('0x10')](),this[_0x1559('0x4')]=_0x375386,this[_0x1559('0x6')]['delegate'](_0x1559('0x11'))['to'](this),this[_0x1559('0x6')]['delegate'](_0x1559('0x9'))['to'](this),this[_0x1559('0x0')]({'tag':_0x1559('0x2'),'attributes':{'class':['ck',_0x1559('0x3')]},'children':[{'tag':_0x1559('0xb'),'attributes':{'class':['ck',_0x1559('0x1')]},'children':[{'text':_0x125d3a}]},{'tag':_0x1559('0x2'),'attributes':{'class':['ck',_0x1559('0x5')]},'children':this[_0x1559('0x6')]}]});}['addRevision'](_0x4a7f1c){const _0x4b15bf=new _0x52ad2a(this[_0x1559('0x7')],_0x4a7f1c,this['_revisionActions']);this['revisionViews'][_0x1559('0xe')](_0x4b15bf);}[_0x1559('0x8')](_0x549b26){const _0x5290f8=this['revisionViews']['find'](_0x507ac4=>_0x507ac4['id']===_0x549b26['id']);this[_0x1559('0x6')][_0x1559('0xf')](_0x5290f8);}}
23
+ const _0x2fc8=['ck-revision-history-sidebar__time-period__label','setName','div','startDate','removeRevision','setTemplate','span','uiLanguage','ck-revision-history-sidebar__time-period__revisions','select','add','addRevision','locale','ck-revision-history-sidebar__time-period','remove','delegate','localizedPeriodName','_revisionActions','find','revisionViews'];(function(_0x2f90b3,_0x2fc8f4){const _0x4ed5c8=function(_0x486da8){while(--_0x486da8){_0x2f90b3['push'](_0x2f90b3['shift']());}};_0x4ed5c8(++_0x2fc8f4);}(_0x2fc8,0x12b));const _0x4ed5=function(_0x2f90b3,_0x2fc8f4){_0x2f90b3=_0x2f90b3-0x0;let _0x4ed5c8=_0x2fc8[_0x2f90b3];return _0x4ed5c8;};import{View as _0x3d81eb}from'ckeditor5/src/ui';import _0x31db0a from'../revision/revisionview';import{getDateTimePeriodInfo as _0x3dea51}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class _i extends _0x3d81eb{constructor(_0x38d0c5,_0x49049f,_0x566a89){super(_0x38d0c5);const _0xbab54f=_0x3dea51(_0x49049f,this['locale'][_0x4ed5('0x8')])[_0x4ed5('0x11')];this[_0x4ed5('0x4')]=_0x49049f,this[_0x4ed5('0x0')]=this['createCollection'](),this[_0x4ed5('0x12')]=_0x566a89,this[_0x4ed5('0x0')][_0x4ed5('0x10')](_0x4ed5('0xa'))['to'](this),this[_0x4ed5('0x0')][_0x4ed5('0x10')](_0x4ed5('0x2'))['to'](this),this[_0x4ed5('0x6')]({'tag':_0x4ed5('0x3'),'attributes':{'class':['ck',_0x4ed5('0xe')]},'children':[{'tag':_0x4ed5('0x7'),'attributes':{'class':['ck',_0x4ed5('0x1')]},'children':[{'text':_0xbab54f}]},{'tag':_0x4ed5('0x3'),'attributes':{'class':['ck',_0x4ed5('0x9')]},'children':this['revisionViews']}]});}[_0x4ed5('0xc')](_0x5c5739){const _0x375152=new _0x31db0a(this[_0x4ed5('0xd')],_0x5c5739,this[_0x4ed5('0x12')]);this['revisionViews'][_0x4ed5('0xb')](_0x375152);}[_0x4ed5('0x5')](_0x5e993a){const _0x20fac2=this[_0x4ed5('0x0')][_0x4ed5('0x13')](_0xe499b7=>_0xe499b7['id']===_0x5e993a['id']);this[_0x4ed5('0x0')][_0x4ed5('0xf')](_0x20fac2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c96=['div','bindTemplate','revisionSelected','createdAt','addRevision','getTime','revisionViews','map','some','find','flat','setName','timePeriodViews','_addRevision','ck-revision-history-sidebar','setTemplate','_revisionActions','selectRevision','get','_revisions','locale','startDate','fire','ck-disabled','select','isEnabled','removeRevision','deselect','ck-revision-history-sidebar__timeline','createCollection','render','highlightRevisions','delegate','_getTimePeriodViewByStartDate','uiLanguage','_removeRevision'];(function(_0x41e351,_0x2c968f){const _0x436af3=function(_0x192d5a){while(--_0x192d5a){_0x41e351['push'](_0x41e351['shift']());}};_0x436af3(++_0x2c968f);}(_0x2c96,0x179));const _0x436a=function(_0x41e351,_0x2c968f){_0x41e351=_0x41e351-0x0;let _0x436af3=_0x2c96[_0x41e351];return _0x436af3;};import{View as _0x1ef7e8}from'ckeditor5/src/ui';import _0x5eb9c2 from'./revisionssidebartimeperiodview';import _0x144a8f from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0xa11972}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1ef7e8{constructor(_0x39da5e,_0x31e0df,_0x51e04f){super(_0x39da5e);const _0x3c6777=this[_0x436a('0x14')];this[_0x436a('0x1f')]=this[_0x436a('0xc')](),this[_0x436a('0x1f')][_0x436a('0xf')](_0x436a('0x7'))['to'](this),this[_0x436a('0x1f')][_0x436a('0xf')](_0x436a('0x1e'))['to'](this),this[_0x436a('0x2')]=_0x31e0df,this[_0x436a('0x23')]=_0x51e04f,this['on'](_0x436a('0x7'),(_0x27acfc,_0x115143)=>{this[_0x436a('0x5')](_0x436a('0x15'),_0x115143);}),this['on'](_0x436a('0x1e'),(_0x2b4b41,_0x16af70)=>{this[_0x436a('0x5')]('revisionSetName',_0x16af70);}),this['set'](_0x436a('0x8'),!0x1),this[_0x436a('0x22')]({'tag':_0x436a('0x13'),'attributes':{'class':['ck','ck-reset','ck-rounded-corners',_0x436a('0x21')]},'children':[new _0x144a8f(_0x39da5e),{'tag':_0x436a('0x13'),'attributes':{'class':['ck',_0x436a('0xb'),_0x3c6777['if'](_0x436a('0x8'),_0x436a('0x6'),_0x11f2fd=>!_0x11f2fd)]},'children':this[_0x436a('0x1f')]}]});}[_0x436a('0xd')](){super['render']();for(const _0x2c04f5 of this[_0x436a('0x2')])this[_0x436a('0x20')](_0x2c04f5);this[_0x436a('0x2')]['on']('add',(_0x4fe9b9,_0x23cfd8)=>{this[_0x436a('0x20')](_0x23cfd8);}),this[_0x436a('0x2')]['on']('remove',(_0x884b1c,_0x2a8d73)=>{this[_0x436a('0x12')](_0x2a8d73);});}get[_0x436a('0x19')](){return this[_0x436a('0x1f')][_0x436a('0x1a')](_0x2207c6=>_0x2207c6['revisionViews'][_0x436a('0x1a')](_0x13a976=>_0x13a976))[_0x436a('0x1d')]();}[_0x436a('0x0')](_0x54527b){for(const _0x452891 of this[_0x436a('0x19')])_0x54527b&&_0x54527b['id']===_0x452891['id']?_0x452891[_0x436a('0x7')]():_0x452891[_0x436a('0xa')]();}[_0x436a('0xe')](_0x1662c5){for(const _0x18eb1d of this[_0x436a('0x19')])_0x1662c5[_0x436a('0x1b')](({id:_0x3a8d84})=>_0x3a8d84===_0x18eb1d['id'])?_0x18eb1d['highlight']():_0x18eb1d['unhighlight']();}[_0x436a('0x20')](_0x27c7e3){const _0x136985=_0xa11972(_0x27c7e3[_0x436a('0x16')],this[_0x436a('0x3')]['uiLanguage'])['startDate'];let _0x3fae56=this['timePeriodViews'][_0x436a('0x1')](0x0);_0x3fae56&&_0x3fae56[_0x436a('0x4')][_0x436a('0x18')]()===_0x136985[_0x436a('0x18')]()||(_0x3fae56=new _0x5eb9c2(this[_0x436a('0x3')],_0x136985,this[_0x436a('0x23')]),this[_0x436a('0x1f')]['add'](_0x3fae56)),_0x3fae56[_0x436a('0x17')](_0x27c7e3);}['_removeRevision'](_0x1e2501){const _0x5c5fc1=_0xa11972(_0x1e2501['createdAt'],this[_0x436a('0x3')][_0x436a('0x11')])[_0x436a('0x4')];this[_0x436a('0x10')](_0x5c5fc1)[_0x436a('0x9')](_0x1e2501);}[_0x436a('0x10')](_0x7b3381){return this['timePeriodViews'][_0x436a('0x1c')](_0x230ba9=>_0x230ba9[_0x436a('0x4')][_0x436a('0x18')]()===_0x7b3381['getTime']());}}
23
+ const _0x373e=['startDate','div','ck-reset','remove','flat','ck-revision-history-sidebar__timeline','setName','uiLanguage','setTemplate','_getTimePeriodViewByStartDate','find','createdAt','select','isEnabled','_removeRevision','add','highlight','removeRevision','ck-revision-history-sidebar','ck-rounded-corners','_addRevision','timePeriodViews','revisionSetName','set','addRevision','bindTemplate','_revisionActions','locale','getTime','createCollection','get','revisionSelected','_revisions','fire','some','revisionViews','selectRevision','delegate','map','highlightRevisions','ck-disabled'];(function(_0x410c46,_0x373e1c){const _0x4c7625=function(_0x2085a7){while(--_0x2085a7){_0x410c46['push'](_0x410c46['shift']());}};_0x4c7625(++_0x373e1c);}(_0x373e,0x175));const _0x4c76=function(_0x410c46,_0x373e1c){_0x410c46=_0x410c46-0x0;let _0x4c7625=_0x373e[_0x410c46];return _0x4c7625;};import{View as _0x4710b6}from'ckeditor5/src/ui';import _0x53fc03 from'./revisionssidebartimeperiodview';import _0x1e0a76 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x2d9baf}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x4710b6{constructor(_0x5d86df,_0x35c31f,_0x16554c){super(_0x5d86df);const _0xfaa072=this[_0x4c76('0x15')];this[_0x4c76('0x11')]=this[_0x4c76('0x19')](),this[_0x4c76('0x11')]['delegate'](_0x4c76('0x8'))['to'](this),this['timePeriodViews'][_0x4c76('0x21')](_0x4c76('0x2'))['to'](this),this[_0x4c76('0x1c')]=_0x35c31f,this[_0x4c76('0x16')]=_0x16554c,this['on'](_0x4c76('0x8'),(_0x32104f,_0xf64e02)=>{this[_0x4c76('0x1d')](_0x4c76('0x1b'),_0xf64e02);}),this['on'](_0x4c76('0x2'),(_0x50c447,_0x3c888c)=>{this[_0x4c76('0x1d')](_0x4c76('0x12'),_0x3c888c);}),this[_0x4c76('0x13')](_0x4c76('0x9'),!0x1),this[_0x4c76('0x4')]({'tag':_0x4c76('0x26'),'attributes':{'class':['ck',_0x4c76('0x27'),_0x4c76('0xf'),_0x4c76('0xe')]},'children':[new _0x1e0a76(_0x5d86df),{'tag':'div','attributes':{'class':['ck',_0x4c76('0x1'),_0xfaa072['if'](_0x4c76('0x9'),_0x4c76('0x24'),_0x17f072=>!_0x17f072)]},'children':this[_0x4c76('0x11')]}]});}['render'](){super['render']();for(const _0x324fc1 of this[_0x4c76('0x1c')])this[_0x4c76('0x10')](_0x324fc1);this[_0x4c76('0x1c')]['on']('add',(_0x10da3c,_0x30069c)=>{this[_0x4c76('0x10')](_0x30069c);}),this[_0x4c76('0x1c')]['on'](_0x4c76('0x28'),(_0x3f27ce,_0x211293)=>{this[_0x4c76('0xa')](_0x211293);});}get[_0x4c76('0x1f')](){return this[_0x4c76('0x11')][_0x4c76('0x22')](_0x2c4d15=>_0x2c4d15['revisionViews'][_0x4c76('0x22')](_0x384431=>_0x384431))[_0x4c76('0x0')]();}[_0x4c76('0x20')](_0x2ea3f4){for(const _0x44be19 of this[_0x4c76('0x1f')])_0x2ea3f4&&_0x2ea3f4['id']===_0x44be19['id']?_0x44be19[_0x4c76('0x8')]():_0x44be19['deselect']();}[_0x4c76('0x23')](_0x2c91e2){for(const _0x4c583d of this[_0x4c76('0x1f')])_0x2c91e2[_0x4c76('0x1e')](({id:_0x18839e})=>_0x18839e===_0x4c583d['id'])?_0x4c583d[_0x4c76('0xc')]():_0x4c583d['unhighlight']();}[_0x4c76('0x10')](_0xe26b52){const _0x1297a2=_0x2d9baf(_0xe26b52['createdAt'],this[_0x4c76('0x17')][_0x4c76('0x3')])[_0x4c76('0x25')];let _0x5c5ad2=this[_0x4c76('0x11')][_0x4c76('0x1a')](0x0);_0x5c5ad2&&_0x5c5ad2[_0x4c76('0x25')][_0x4c76('0x18')]()===_0x1297a2[_0x4c76('0x18')]()||(_0x5c5ad2=new _0x53fc03(this[_0x4c76('0x17')],_0x1297a2,this[_0x4c76('0x16')]),this[_0x4c76('0x11')][_0x4c76('0xb')](_0x5c5ad2)),_0x5c5ad2[_0x4c76('0x14')](_0xe26b52);}[_0x4c76('0xa')](_0x4c179d){const _0x19c8d4=_0x2d9baf(_0x4c179d[_0x4c76('0x7')],this[_0x4c76('0x17')]['uiLanguage'])[_0x4c76('0x25')];this[_0x4c76('0x5')](_0x19c8d4)[_0x4c76('0xd')](_0x4c179d);}[_0x4c76('0x5')](_0x3e8eb0){return this[_0x4c76('0x11')][_0x4c76('0x6')](_0x8a00e4=>_0x8a00e4[_0x4c76('0x25')]['getTime']()===_0x3e8eb0[_0x4c76('0x18')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1112=['fromJSDate','year','minus','monthLong','week','local','toRelativeCalendar','startOf','setLocale','day','toJSDate','hasSame','month','weekdayLong'];(function(_0x35cf1a,_0x1112df){const _0x3c1133=function(_0x218d8c){while(--_0x218d8c){_0x35cf1a['push'](_0x35cf1a['shift']());}};_0x3c1133(++_0x1112df);}(_0x1112,0x146));const _0x3c11=function(_0x35cf1a,_0x1112df){_0x35cf1a=_0x35cf1a-0x0;let _0x3c1133=_0x1112[_0x35cf1a];return _0x3c1133;};import{DateTime as _0x95b415}from'luxon';export function getDateTimePeriodInfo(_0x2ac264,_0x5829ae){const _0x20a93a=_0x95b415[_0x3c11('0xa')](_0x2ac264)[_0x3c11('0x4')](_0x5829ae),_0x5afe41=_0x95b415[_0x3c11('0x1')](),_0x1a6008=_0x5afe41[_0x3c11('0xc')]({'days':0x1})[_0x3c11('0x3')](_0x3c11('0x5'));let _0x1cb4f6,_0x33a109;return _0x20a93a[_0x3c11('0x7')](_0x5afe41,_0x3c11('0x5'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')]('day')[_0x3c11('0x6')](),_0x33a109=_0x20a93a['toRelativeCalendar']()):_0x20a93a[_0x3c11('0x7')](_0x1a6008,_0x3c11('0x5'))?(_0x1cb4f6=_0x1a6008['toJSDate'](),_0x33a109=_0x20a93a[_0x3c11('0x2')]()):_0x20a93a[_0x3c11('0x7')](_0x5afe41,_0x3c11('0x0'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')](_0x3c11('0x0'))[_0x3c11('0x6')](),_0x33a109=_0x20a93a[_0x3c11('0x9')]||''):_0x20a93a['hasSame'](_0x5afe41,_0x3c11('0xb'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')](_0x3c11('0x8'))['toJSDate'](),_0x33a109=_0x20a93a[_0x3c11('0xd')]||''):(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')]('year')[_0x3c11('0x6')](),_0x33a109=String(_0x20a93a['year'])),{'startDate':_0x1cb4f6,'localizedPeriodName':_0x33a109};}
23
+ const _0xab90=['hasSame','setLocale','toJSDate','month','toRelativeCalendar','monthLong','day','week','minus','startOf','year','weekdayLong','fromJSDate'];(function(_0x58d898,_0xab901f){const _0x380733=function(_0x496e5f){while(--_0x496e5f){_0x58d898['push'](_0x58d898['shift']());}};_0x380733(++_0xab901f);}(_0xab90,0x1d9));const _0x3807=function(_0x58d898,_0xab901f){_0x58d898=_0x58d898-0x0;let _0x380733=_0xab90[_0x58d898];return _0x380733;};import{DateTime as _0x3a91cb}from'luxon';export function getDateTimePeriodInfo(_0x10437b,_0x5083cd){const _0x550214=_0x3a91cb[_0x3807('0x7')](_0x10437b)[_0x3807('0x9')](_0x5083cd),_0x4b871f=_0x3a91cb['local'](),_0x4d69c2=_0x4b871f[_0x3807('0x3')]({'days':0x1})[_0x3807('0x4')]('day');let _0x30642e,_0xc5915d;return _0x550214[_0x3807('0x8')](_0x4b871f,_0x3807('0x1'))?(_0x30642e=_0x550214[_0x3807('0x4')](_0x3807('0x1'))[_0x3807('0xa')](),_0xc5915d=_0x550214[_0x3807('0xc')]()):_0x550214[_0x3807('0x8')](_0x4d69c2,_0x3807('0x1'))?(_0x30642e=_0x4d69c2['toJSDate'](),_0xc5915d=_0x550214[_0x3807('0xc')]()):_0x550214[_0x3807('0x8')](_0x4b871f,_0x3807('0x2'))?(_0x30642e=_0x550214[_0x3807('0x4')](_0x3807('0x2'))[_0x3807('0xa')](),_0xc5915d=_0x550214[_0x3807('0x6')]||''):_0x550214[_0x3807('0x8')](_0x4b871f,'year')?(_0x30642e=_0x550214[_0x3807('0x4')](_0x3807('0xb'))[_0x3807('0xa')](),_0xc5915d=_0x550214[_0x3807('0x0')]||''):(_0x30642e=_0x550214[_0x3807('0x4')](_0x3807('0x5'))[_0x3807('0xa')](),_0xc5915d=String(_0x550214[_0x3807('0x5')])),{'startDate':_0x30642e,'localizedPeriodName':_0xc5915d};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28bc=['isSuggestion','author','ck-revision-change__label','changeId','span','set','add','Added\x20by','name','bindTemplate','_model','focus','Suggested\x20by','type','element','ck-annotation','Removed\x20by','data','div'];(function(_0x753f8,_0x28bc53){const _0x511418=function(_0x5291ae){while(--_0x5291ae){_0x753f8['push'](_0x753f8['shift']());}};_0x511418(++_0x28bc53);}(_0x28bc,0x65));const _0x5114=function(_0x753f8,_0x28bc53){_0x753f8=_0x753f8-0x0;let _0x511418=_0x28bc[_0x753f8];return _0x511418;};import{View as _0x2ec2f4}from'ckeditor5/src/ui';import{getTranslation as _0x5773a9}from'../../utils/common-translations';export default class Z extends _0x2ec2f4{constructor(_0x22fcbf,_0x35fec7){super(_0x22fcbf),this[_0x5114('0x4')]=_0x35fec7,this[_0x5114('0x10')]=_0x35fec7['id'];const _0x5b7a79=this[_0x5114('0x3')],_0x4bc9e5=_0x5773a9(_0x22fcbf,_0x35fec7[_0x5114('0xb')][_0x5114('0xd')]?_0x5114('0x6'):_0x5114('0x0')==_0x35fec7[_0x5114('0x7')]?_0x5114('0x1'):_0x5114('0xa'));this[_0x5114('0x12')](_0x5114('0x7'),_0x35fec7[_0x5114('0x7')]),this['setTemplate']({'tag':_0x5114('0xc'),'attributes':{'class':[_0x5114('0x9'),'ck-revision-change',_0x5b7a79['to'](_0x5114('0x7'),_0x295b4c=>'ck-revision-change__'+_0x295b4c)],'tabindex':-0x1},'children':[{'tag':_0x5114('0x11'),'children':[{'tag':_0x5114('0x11'),'attributes':{'class':[_0x5114('0xf')]},'children':[{'text':_0x4bc9e5}]},{'text':'\x20'+_0x35fec7[_0x5114('0xe')][_0x5114('0x2')]}]}]});}[_0x5114('0x5')](){this[_0x5114('0x8')]['focus']();}}
23
+ const _0x270b=['_model','div','span','focus','add','setTemplate','ck-revision-change__','author','data','set','type','changeId','ck-annotation','Suggested\x20by','element','ck-revision-change','ck-revision-change__label','Added\x20by','isSuggestion','bindTemplate'];(function(_0x7b5855,_0x270b6b){const _0x2aad2a=function(_0x290906){while(--_0x290906){_0x7b5855['push'](_0x7b5855['shift']());}};_0x2aad2a(++_0x270b6b);}(_0x270b,0x84));const _0x2aad=function(_0x7b5855,_0x270b6b){_0x7b5855=_0x7b5855-0x0;let _0x2aad2a=_0x270b[_0x7b5855];return _0x2aad2a;};import{View as _0x4ea208}from'ckeditor5/src/ui';import{getTranslation as _0x581b37}from'../../utils/common-translations';export default class Z extends _0x4ea208{constructor(_0x317497,_0x589794){super(_0x317497),this[_0x2aad('0x8')]=_0x589794,this[_0x2aad('0x13')]=_0x589794['id'];const _0x5944bd=this[_0x2aad('0x7')],_0x4b8a67=_0x581b37(_0x317497,_0x589794[_0x2aad('0x10')][_0x2aad('0x6')]?_0x2aad('0x1'):_0x2aad('0xc')==_0x589794[_0x2aad('0x12')]?_0x2aad('0x5'):'Removed\x20by');this[_0x2aad('0x11')](_0x2aad('0x12'),_0x589794[_0x2aad('0x12')]),this[_0x2aad('0xd')]({'tag':_0x2aad('0x9'),'attributes':{'class':[_0x2aad('0x0'),_0x2aad('0x3'),_0x5944bd['to'](_0x2aad('0x12'),_0x4ad205=>_0x2aad('0xe')+_0x4ad205)],'tabindex':-0x1},'children':[{'tag':_0x2aad('0xa'),'children':[{'tag':'span','attributes':{'class':[_0x2aad('0x4')]},'children':[{'text':_0x4b8a67}]},{'text':'\x20'+_0x589794[_0x2aad('0xf')]['name']}]}]});}[_0x2aad('0xb')](){this[_0x2aad('0x2')][_0x2aad('0xb')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f4c=['set','_isStatusLabelVisible','ck-revision-history-ui','isNavigationMode','Show\x20next\x20change','X_OF_Y_CHANGES','span','Loading...','ck-revision-history-ui__changes-navigation__wrapper','ck-hidden','currentChangeNumber','setTemplate','ck-revision-history-ui__changes-navigation','div','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','execute','isForwardNavigationEnabled','forward','ck-revision-history-ui__changes-navigation__label','isBackwardNavigationEnabled','isReady','bind','numberOfChanges','isEnabled','Total'];(function(_0x1a4074,_0x2f4c4b){const _0x87fca6=function(_0x2a9d75){while(--_0x2a9d75){_0x1a4074['push'](_0x1a4074['shift']());}};_0x87fca6(++_0x2f4c4b);}(_0x2f4c,0xd2));const _0x87fc=function(_0x1a4074,_0x2f4c4b){_0x1a4074=_0x1a4074-0x0;let _0x87fca6=_0x2f4c[_0x1a4074];return _0x87fca6;};import{View as _0x1306be,ButtonView as _0x3f933f,ToolbarSeparatorView as _0x59d31e}from'ckeditor5/src/ui';import{getTranslation as _0x132ac8}from'../../utils/common-translations';import _0x3636ba from'../../../theme/icons/arrow-up.svg';import _0x5d7ef8 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class wi extends _0x1306be{constructor(_0x4083a5){super(_0x4083a5);const _0x38df1b=this['bindTemplate'],_0x46628f=new _0x3f933f(_0x4083a5),_0xefdb75=new _0x3f933f(_0x4083a5);this[_0x87fc('0x18')]('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set'](_0x87fc('0x8'),0x0),this[_0x87fc('0x18')](_0x87fc('0x15'),0x0),this[_0x87fc('0x18')]('isForwardNavigationEnabled',!0x1),this[_0x87fc('0x18')]('isBackwardNavigationEnabled',!0x1),this['bind'](_0x87fc('0x19'))['to'](this,_0x87fc('0x13'),this,_0x87fc('0x15'),(_0x38ea09,_0x271f97)=>_0x38ea09&&_0x271f97>0x0),this[_0x87fc('0x14')]('_statusText')['to'](this,_0x87fc('0x13'),this,_0x87fc('0x8'),this,_0x87fc('0x15'),this,_0x87fc('0x1'),(_0x535505,_0x4d69f5,_0x357e51,_0x16d726)=>{if(!_0x535505)return _0x132ac8(_0x4083a5,_0x87fc('0x5'));if(!_0x357e51)return _0x132ac8(_0x4083a5,'No\x20changes');const _0x4c735c=_0x132ac8(_0x4083a5,'NUMBER_OF_CHANGES',_0x357e51);return _0x16d726?_0x132ac8(_0x4083a5,_0x87fc('0x3'),[_0x4d69f5+0x1,_0x357e51]):_0x4c735c;}),_0x46628f[_0x87fc('0x18')]({'label':_0x132ac8(_0x4083a5,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x3636ba}),_0xefdb75['set']({'label':_0x132ac8(_0x4083a5,_0x87fc('0x2')),'tooltip':!0x0,'icon':_0x5d7ef8}),_0x46628f['bind'](_0x87fc('0x16'))['to'](this,_0x87fc('0x12')),_0xefdb75['bind'](_0x87fc('0x16'))['to'](this,_0x87fc('0xf')),_0x46628f['on'](_0x87fc('0xe'),()=>this['fire'](_0x87fc('0xe'),'backward')),_0xefdb75['on'](_0x87fc('0xe'),()=>this['fire']('execute',_0x87fc('0x10'))),this[_0x87fc('0x9')]({'tag':_0x87fc('0xb'),'attributes':{'class':['ck',_0x87fc('0x0'),_0x87fc('0xa')]},'children':[{'tag':_0x87fc('0x4'),'attributes':{'class':[_0x87fc('0x6')]},'children':[{'tag':_0x87fc('0x4'),'attributes':{'class':[_0x87fc('0x11'),_0x38df1b['if'](_0x87fc('0x19'),_0x87fc('0x7'),_0x17367f=>!_0x17367f)]},'children':[{'text':_0x38df1b['to']('isNavigationMode',_0x347ad3=>_0x347ad3?_0x132ac8(_0x4083a5,_0x87fc('0xd'))+':\x20':_0x132ac8(_0x4083a5,_0x87fc('0x17'))+':\x20')}]},{'text':_0x38df1b['to']('_statusText')}]},new _0x59d31e(),{'tag':_0x87fc('0xb'),'attributes':{'class':[_0x87fc('0xc')]},'children':[_0x46628f,_0xefdb75]}]});}}
23
+ const _0x4332=['X_OF_Y_CHANGES','set','numberOfChanges','isReady','bindTemplate','div','bind','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','span','fire','forward','isBackwardNavigationEnabled','currentChangeNumber','ck-revision-history-ui__changes-navigation__label','isNavigationMode','ck-revision-history-ui__changes-navigation','backward','ck-revision-history-ui__changes-navigation__wrapper','isForwardNavigationEnabled','_isStatusLabelVisible','ck-revision-history-ui','execute','_statusText'];(function(_0x59ed34,_0x433258){const _0x5a448d=function(_0x510157){while(--_0x510157){_0x59ed34['push'](_0x59ed34['shift']());}};_0x5a448d(++_0x433258);}(_0x4332,0x1de));const _0x5a44=function(_0x59ed34,_0x433258){_0x59ed34=_0x59ed34-0x0;let _0x5a448d=_0x4332[_0x59ed34];return _0x5a448d;};import{View as _0x122a51,ButtonView as _0x4016fd,ToolbarSeparatorView as _0x2493c1}from'ckeditor5/src/ui';import{getTranslation as _0xfae5f4}from'../../utils/common-translations';import _0x22ce19 from'../../../theme/icons/arrow-up.svg';import _0x5c74b2 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class wi extends _0x122a51{constructor(_0x12bfa7){super(_0x12bfa7);const _0x29f0f2=this[_0x5a44('0x6')],_0x36e0ff=new _0x4016fd(_0x12bfa7),_0x44536d=new _0x4016fd(_0x12bfa7);this[_0x5a44('0x3')](_0x5a44('0x11'),!0x1),this[_0x5a44('0x3')](_0x5a44('0x5'),!0x1),this[_0x5a44('0x3')](_0x5a44('0xf'),0x0),this[_0x5a44('0x3')](_0x5a44('0x4'),0x0),this[_0x5a44('0x3')](_0x5a44('0x15'),!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind'](_0x5a44('0x16'))['to'](this,_0x5a44('0x5'),this,'numberOfChanges',(_0x2050a7,_0x2fb116)=>_0x2050a7&&_0x2fb116>0x0),this[_0x5a44('0x8')](_0x5a44('0x1'))['to'](this,_0x5a44('0x5'),this,_0x5a44('0xf'),this,'numberOfChanges',this,_0x5a44('0x11'),(_0x25f98c,_0x340c50,_0xe0ad4c,_0x30ffc2)=>{if(!_0x25f98c)return _0xfae5f4(_0x12bfa7,'Loading...');if(!_0xe0ad4c)return _0xfae5f4(_0x12bfa7,'No\x20changes');const _0x59370a=_0xfae5f4(_0x12bfa7,'NUMBER_OF_CHANGES',_0xe0ad4c);return _0x30ffc2?_0xfae5f4(_0x12bfa7,_0x5a44('0x2'),[_0x340c50+0x1,_0xe0ad4c]):_0x59370a;}),_0x36e0ff[_0x5a44('0x3')]({'label':_0xfae5f4(_0x12bfa7,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x22ce19}),_0x44536d[_0x5a44('0x3')]({'label':_0xfae5f4(_0x12bfa7,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x5c74b2}),_0x36e0ff['bind']('isEnabled')['to'](this,_0x5a44('0xe')),_0x44536d['bind']('isEnabled')['to'](this,_0x5a44('0x15')),_0x36e0ff['on'](_0x5a44('0x0'),()=>this[_0x5a44('0xc')](_0x5a44('0x0'),_0x5a44('0x13'))),_0x44536d['on']('execute',()=>this[_0x5a44('0xc')]('execute',_0x5a44('0xd'))),this['setTemplate']({'tag':_0x5a44('0x7'),'attributes':{'class':['ck',_0x5a44('0x17'),_0x5a44('0x12')]},'children':[{'tag':'span','attributes':{'class':[_0x5a44('0x14')]},'children':[{'tag':_0x5a44('0xb'),'attributes':{'class':[_0x5a44('0x10'),_0x29f0f2['if']('_isStatusLabelVisible','ck-hidden',_0x2e9284=>!_0x2e9284)]},'children':[{'text':_0x29f0f2['to'](_0x5a44('0x11'),_0x576050=>_0x576050?_0xfae5f4(_0x12bfa7,_0x5a44('0xa'))+':\x20':_0xfae5f4(_0x12bfa7,'Total')+':\x20')}]},{'text':_0x29f0f2['to'](_0x5a44('0x1'))}]},new _0x2493c1(),{'tag':'div','attributes':{'class':[_0x5a44('0x9')]},'children':[_0x36e0ff,_0x44536d]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58cb=['show','hide','RevisionViewerLoadingOverlay','change','editor','roots','editing','view','document'];(function(_0x197870,_0x58cbd8){const _0x13f743=function(_0x4d03d5){while(--_0x4d03d5){_0x197870['push'](_0x197870['shift']());}};_0x13f743(++_0x58cbd8);}(_0x58cb,0xcf));const _0x13f7=function(_0x197870,_0x58cbd8){_0x197870=_0x197870-0x0;let _0x13f743=_0x58cb[_0x197870];return _0x13f743;};import{Plugin as _0x13a704}from'ckeditor5/src/core';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x13a704{static get['pluginName'](){return _0x13f7('0x2');}[_0x13f7('0x0')](){const _0x131a0d=this[_0x13f7('0x4')][_0x13f7('0x6')]['view'];_0x131a0d[_0x13f7('0x3')](_0x390dfd=>{for(const _0x2e63f5 of _0x131a0d[_0x13f7('0x8')]['roots'])_0x390dfd['addClass'](oe,_0x2e63f5);});}[_0x13f7('0x1')](){const _0x377bec=this[_0x13f7('0x4')][_0x13f7('0x6')][_0x13f7('0x7')];_0x377bec[_0x13f7('0x3')](_0x227364=>{for(const _0x31e37e of _0x377bec[_0x13f7('0x8')][_0x13f7('0x5')])_0x227364['removeClass'](oe,_0x31e37e);});}}
23
+ const _0x2e13=['editing','editor','document','removeClass','roots','view','pluginName','RevisionViewerLoadingOverlay','change','show','hide'];(function(_0x1c5c02,_0x2e13cb){const _0x37148f=function(_0x3863a5){while(--_0x3863a5){_0x1c5c02['push'](_0x1c5c02['shift']());}};_0x37148f(++_0x2e13cb);}(_0x2e13,0xdb));const _0x3714=function(_0x1c5c02,_0x2e13cb){_0x1c5c02=_0x1c5c02-0x0;let _0x37148f=_0x2e13[_0x1c5c02];return _0x37148f;};import{Plugin as _0x547d97}from'ckeditor5/src/core';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x547d97{static get[_0x3714('0x7')](){return _0x3714('0x8');}[_0x3714('0xa')](){const _0xf8f29b=this[_0x3714('0x2')][_0x3714('0x1')]['view'];_0xf8f29b[_0x3714('0x9')](_0x1220ec=>{for(const _0x1710ee of _0xf8f29b[_0x3714('0x3')][_0x3714('0x5')])_0x1220ec['addClass'](oe,_0x1710ee);});}[_0x3714('0x0')](){const _0x38904c=this[_0x3714('0x2')]['editing'][_0x3714('0x6')];_0x38904c['change'](_0x34fb2e=>{for(const _0xca0b2f of _0x38904c[_0x3714('0x3')][_0x3714('0x5')])_0x34fb2e[_0x3714('0x4')](oe,_0xca0b2f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5165=['requires','show','Restore\x20this\x20revision','isForwardNavigationEnabled','config','add','commands','listenTo','isReady','restoreRevision','componentFactory','init','ck-revision-history-ui__back-to-editing','showNextChange','currentChangeNumber','plugins','editor','change:isReady','isNavigationMode','changesNavigation','isBackwardNavigationEnabled','numberOfChanges','isEnabled','pluginName','get','RevisionViewerUI','execute','Back\x20to\x20editing','hide','bind','showPreviousChange'];(function(_0x61bf40,_0x516543){const _0xaf8003=function(_0x220fa1){while(--_0x220fa1){_0x61bf40['push'](_0x61bf40['shift']());}};_0xaf8003(++_0x516543);}(_0x5165,0x7d));const _0xaf80=function(_0x61bf40,_0x516543){_0x61bf40=_0x61bf40-0x0;let _0xaf8003=_0x5165[_0x61bf40];return _0xaf8003;};import{Plugin as _0x104426}from'ckeditor5/src/core';import{ButtonView as _0x16ac4c}from'ckeditor5/src/ui';import _0x5064ed from'./changesnavigationview';import _0x556f08 from'./../../revisionviewer';import _0x3bdd1a from'./revisionviewerloadingoverlay';import{getTranslation as _0x460f47}from'../../utils/common-translations';import _0x5f46ec from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x104426{static get[_0xaf80('0x16')](){return _0xaf80('0x18');}static get[_0xaf80('0x1e')](){return[_0x556f08,_0x3bdd1a];}[_0xaf80('0xa')](){const _0x314b07=this[_0xaf80('0xf')],_0x31df74=_0x314b07['plugins'][_0xaf80('0x17')](_0x556f08),_0x5eed95=_0x314b07[_0xaf80('0xe')][_0xaf80('0x17')](_0x3bdd1a);_0x314b07['ui'][_0xaf80('0x9')][_0xaf80('0x4')]('exitToEditing',_0x231439=>{const _0x491d13=new _0x16ac4c(_0x231439);return _0x491d13['set']({'label':_0x460f47(_0x231439,_0xaf80('0x1a')),'icon':_0x5f46ec,'withText':!0x0,'tooltip':!0x0,'class':_0xaf80('0xb')}),this[_0xaf80('0x6')](_0x491d13,_0xaf80('0x19'),()=>{_0x314b07[_0xaf80('0x3')][_0xaf80('0x17')]('revisionHistory')['closeRevisionViewerCallback']();}),_0x491d13;}),_0x314b07['ui'][_0xaf80('0x9')][_0xaf80('0x4')](_0xaf80('0x8'),_0x5cb77d=>{const _0x59f116=new _0x16ac4c(_0x5cb77d);return _0x59f116['set']({'label':_0x460f47(_0x5cb77d,_0xaf80('0x1')),'withText':!0x0,'tooltip':!0x0}),_0x59f116[_0xaf80('0x1c')](_0xaf80('0x15'))['to'](_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')](_0xaf80('0x8'))),this[_0xaf80('0x6')](_0x59f116,_0xaf80('0x19'),()=>_0x314b07[_0xaf80('0x19')]('restoreRevision')),_0x59f116;}),_0x314b07['ui'][_0xaf80('0x9')]['add'](_0xaf80('0x12'),_0x52adf0=>{const _0x29b2c2=new _0x5064ed(_0x52adf0),_0x22fd1c=_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')](_0xaf80('0x1d')),_0x99d0d6=_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')]('showNextChange');return _0x29b2c2[_0xaf80('0x1c')](_0xaf80('0x13'))['to'](_0x22fd1c,_0xaf80('0x15')),_0x29b2c2[_0xaf80('0x1c')](_0xaf80('0x2'))['to'](_0x99d0d6,_0xaf80('0x15')),_0x29b2c2['bind'](_0xaf80('0x7'),_0xaf80('0xd'),_0xaf80('0x14'),_0xaf80('0x11'))['to'](_0x31df74),this[_0xaf80('0x6')](_0x29b2c2,_0xaf80('0x19'),(_0x55f267,_0x4e2d9a)=>{_0x314b07[_0xaf80('0x19')]('forward'===_0x4e2d9a?_0xaf80('0xc'):_0xaf80('0x1d'));}),_0x29b2c2;}),_0x5eed95[_0xaf80('0x0')](),_0x31df74['on'](_0xaf80('0x10'),(_0xa37fec,_0x26e98f,_0x2c2be2)=>{_0x2c2be2?_0x5eed95[_0xaf80('0x1b')]():_0x5eed95['show']();});}}
23
+ const _0x2546=['commands','Restore\x20this\x20revision','showNextChange','revisionHistory','execute','isForwardNavigationEnabled','isEnabled','pluginName','bind','changesNavigation','show','restoreRevision','hide','componentFactory','isReady','closeRevisionViewerCallback','RevisionViewerUI','plugins','isBackwardNavigationEnabled','change:isReady','ck-revision-history-ui__back-to-editing','get','showPreviousChange','Back\x20to\x20editing','forward','add','listenTo','set'];(function(_0x156ff7,_0x254685){const _0x1e4ee6=function(_0x175922){while(--_0x175922){_0x156ff7['push'](_0x156ff7['shift']());}};_0x1e4ee6(++_0x254685);}(_0x2546,0xbe));const _0x1e4e=function(_0x156ff7,_0x254685){_0x156ff7=_0x156ff7-0x0;let _0x1e4ee6=_0x2546[_0x156ff7];return _0x1e4ee6;};import{Plugin as _0x780bb0}from'ckeditor5/src/core';import{ButtonView as _0x4c5739}from'ckeditor5/src/ui';import _0xc3196f from'./changesnavigationview';import _0x19d821 from'./../../revisionviewer';import _0x25f4b2 from'./revisionviewerloadingoverlay';import{getTranslation as _0x38f109}from'../../utils/common-translations';import _0x316de from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x780bb0{static get[_0x1e4e('0xd')](){return _0x1e4e('0x16');}static get['requires'](){return[_0x19d821,_0x25f4b2];}['init'](){const _0x5b002e=this['editor'],_0x3f7f97=_0x5b002e[_0x1e4e('0x17')]['get'](_0x19d821),_0xbea276=_0x5b002e[_0x1e4e('0x17')]['get'](_0x25f4b2);_0x5b002e['ui'][_0x1e4e('0x13')]['add']('exitToEditing',_0x5881bd=>{const _0x5b6b49=new _0x4c5739(_0x5881bd);return _0x5b6b49[_0x1e4e('0x5')]({'label':_0x38f109(_0x5881bd,_0x1e4e('0x1')),'icon':_0x316de,'withText':!0x0,'tooltip':!0x0,'class':_0x1e4e('0x1a')}),this[_0x1e4e('0x4')](_0x5b6b49,'execute',()=>{_0x5b002e['config'][_0x1e4e('0x1b')](_0x1e4e('0x9'))[_0x1e4e('0x15')]();}),_0x5b6b49;}),_0x5b002e['ui']['componentFactory'][_0x1e4e('0x3')](_0x1e4e('0x11'),_0x2cb04c=>{const _0xe06442=new _0x4c5739(_0x2cb04c);return _0xe06442[_0x1e4e('0x5')]({'label':_0x38f109(_0x2cb04c,_0x1e4e('0x7')),'withText':!0x0,'tooltip':!0x0}),_0xe06442[_0x1e4e('0xe')](_0x1e4e('0xc'))['to'](_0x5b002e[_0x1e4e('0x6')][_0x1e4e('0x1b')](_0x1e4e('0x11'))),this['listenTo'](_0xe06442,_0x1e4e('0xa'),()=>_0x5b002e[_0x1e4e('0xa')](_0x1e4e('0x11'))),_0xe06442;}),_0x5b002e['ui'][_0x1e4e('0x13')]['add'](_0x1e4e('0xf'),_0x3125bd=>{const _0x5a7624=new _0xc3196f(_0x3125bd),_0x1172cb=_0x5b002e[_0x1e4e('0x6')][_0x1e4e('0x1b')]('showPreviousChange'),_0x3e9c34=_0x5b002e[_0x1e4e('0x6')]['get'](_0x1e4e('0x8'));return _0x5a7624[_0x1e4e('0xe')](_0x1e4e('0x18'))['to'](_0x1172cb,_0x1e4e('0xc')),_0x5a7624[_0x1e4e('0xe')](_0x1e4e('0xb'))['to'](_0x3e9c34,_0x1e4e('0xc')),_0x5a7624[_0x1e4e('0xe')](_0x1e4e('0x14'),'currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f7f97),this[_0x1e4e('0x4')](_0x5a7624,'execute',(_0x47af62,_0x2dd13f)=>{_0x5b002e[_0x1e4e('0xa')](_0x1e4e('0x2')===_0x2dd13f?_0x1e4e('0x8'):_0x1e4e('0x0'));}),_0x5a7624;}),_0xbea276[_0x1e4e('0x10')](),_0x3f7f97['on'](_0x1e4e('0x19'),(_0x304f6b,_0x40aecc,_0x545296)=>{_0x545296?_0xbea276[_0x1e4e('0x12')]():_0xbea276['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4a69f9,_0x10a709,_0x1315b7){const t=_0x4a69f9['t'];switch(_0x10a709){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x1315b7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1315b7);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x10a709;}}
23
+ export function getTranslation(_0x4cfa92,_0x2a13ea,_0x1e123c){const t=_0x4cfa92['t'];switch(_0x2a13ea){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x1e123c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1e123c);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x2a13ea;}}