@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231128.0 → 0.0.0-nightly-20231129.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 (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f7e=['focus','pluginName','addMany','saveRevision','init','view','saveButtonView','history','children','editing','config','reset','cancel','Save\x20current\x20revision','add','isEnabled','get','length','revisionName','isReadOnly','execute','set','editor','requires','revisionHistory','remove','plugins','showRevisionViewerCallback','change:isOpen','isReady','RevisionTracker','bind'];(function(_0x53bf21,_0x2f7e08){const _0x6a4404=function(_0xb3f9fb){while(--_0xb3f9fb){_0x53bf21['push'](_0x53bf21['shift']());}};_0x6a4404(++_0x2f7e08);}(_0x2f7e,0x1c4));const _0x6a44=function(_0x53bf21,_0x2f7e08){_0x53bf21=_0x53bf21-0x0;let _0x6a4404=_0x2f7e[_0x53bf21];return _0x6a4404;};import{Plugin as _0x39ae83,icons as _0x4d2a58}from'ckeditor5/src/core';import{ListView as _0x14f0bb,ListItemView as _0x3ff37c,ButtonView as _0x27e6e4,createDropdown as _0x316685}from'ckeditor5/src/ui';import _0x1840e8 from'../../revisiontracker';import _0x1d8a79 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x58a2c8}from'../../utils/common-translations';export default class u extends _0x39ae83{static get[_0x6a44('0x1d')](){return'RevisionHistoryUI';}static get[_0x6a44('0x13')](){return[_0x1840e8];}[_0x6a44('0x0')](){const _0x51828d=this[_0x6a44('0x12')],_0x68de38=_0x51828d[_0x6a44('0x16')]['get'](_0x6a44('0x1a'));_0x51828d['ui']['componentFactory'][_0x6a44('0xa')](_0x6a44('0x14'),_0x53834d=>{const _0x4b8a5a=_0x316685(_0x53834d),_0x486a5b=_0x4b8a5a['panelView'][_0x6a44('0x4')],_0x4c60a7=new _0x14f0bb(_0x53834d),_0x44b2b5=new _0x3ff37c(_0x53834d),_0xc3d7bd=new _0x27e6e4(_0x53834d),_0x37446c=new _0x3ff37c(_0x53834d),_0xa015d8=new _0x27e6e4(_0x53834d),_0xf6fed=new _0x1d8a79(_0x53834d);function _0x46909d(){_0x486a5b[_0x6a44('0xd')]&&_0x486a5b['remove'](0x0),_0x486a5b[_0x6a44('0xa')](_0x4c60a7);}function _0x597c5f(){_0x4b8a5a['isOpen']=!0x1,_0x51828d[_0x6a44('0x5')][_0x6a44('0x1')][_0x6a44('0x1c')]();}return _0x4b8a5a[_0x6a44('0x1b')](_0x6a44('0xb'))['to'](_0x68de38,_0x6a44('0x19'),_0x68de38,_0x6a44('0xb'),_0x51828d,_0x6a44('0xf'),(_0x2c66a3,_0x35ef2d,_0x1da262)=>_0x2c66a3&&_0x35ef2d&&!_0x1da262),_0x4b8a5a['buttonView'][_0x6a44('0x11')]({'icon':_0x4d2a58[_0x6a44('0x3')],'label':_0x58a2c8(_0x53834d,'Revision\x20history'),'tooltip':!0x0}),_0xc3d7bd['set']({'label':_0x58a2c8(_0x53834d,_0x6a44('0x9')),'withText':!0x0}),_0xc3d7bd[_0x6a44('0x1b')](_0x6a44('0xb'))['to'](_0x68de38,'isReady',_0x68de38,_0x6a44('0xb'),_0x51828d,_0x6a44('0xf'),(_0x1643ef,_0x142af1,_0x128940)=>_0x1643ef&&_0x142af1&&!_0x128940),_0xc3d7bd['on']('execute',()=>function(){_0x486a5b['length']&&_0x486a5b[_0x6a44('0x15')](0x0),(_0xf6fed[_0x6a44('0x7')](),_0x486a5b[_0x6a44('0xa')](_0xf6fed),_0xf6fed[_0x6a44('0x1c')]());}()),_0xa015d8[_0x6a44('0x11')]({'label':_0x58a2c8(_0x53834d,'Open\x20revision\x20history'),'withText':!0x0}),_0xa015d8[_0x6a44('0x1b')](_0x6a44('0xb'))['to'](_0x68de38,_0x6a44('0x19'),_0x51828d,'isReadOnly',(_0x167800,_0x45ba7f)=>_0x167800&&!_0x45ba7f),_0xa015d8['on'](_0x6a44('0x10'),()=>{_0x51828d[_0x6a44('0x6')][_0x6a44('0xc')]('revisionHistory')[_0x6a44('0x17')](),_0x597c5f();}),_0x44b2b5['children'][_0x6a44('0xa')](_0xc3d7bd),_0x37446c[_0x6a44('0x4')][_0x6a44('0xa')](_0xa015d8),_0x4c60a7['items'][_0x6a44('0x1e')]([_0x44b2b5,_0x37446c]),_0x4b8a5a['on'](_0x6a44('0x18'),()=>_0x46909d()),_0xf6fed[_0x6a44('0x2')][_0x6a44('0x1b')](_0x6a44('0xb'))['to'](_0x68de38,_0x6a44('0x19'),_0x68de38,_0x6a44('0xb'),_0x51828d,_0x6a44('0xf'),(_0x2b3885,_0x2c3304,_0x47b573)=>_0x2b3885&&_0x2c3304&&!_0x47b573),_0xf6fed['on']('submit',()=>(_0x51828d['plugins'][_0x6a44('0xc')](_0x1840e8)[_0x6a44('0x1f')]({'name':_0xf6fed[_0x6a44('0xe')]}),void _0x597c5f())),_0xf6fed['on'](_0x6a44('0x8'),()=>_0x46909d()),_0xf6fed['render'](),_0x46909d(),_0x4b8a5a;});}}
23
+ const _0xd7a0=['revisionHistory','componentFactory','render','execute','config','init','items','add','set','submit','bind','get','revisionName','reset','pluginName','length','cancel','isOpen','saveRevision','isEnabled','isReady','remove','buttonView','Open\x20revision\x20history','panelView','saveButtonView','editor','plugins','RevisionHistoryUI','editing','history','children','showRevisionViewerCallback','focus','view','isReadOnly'];(function(_0x5a6201,_0xd7a05f){const _0x4fdce9=function(_0xdaeb2d){while(--_0xdaeb2d){_0x5a6201['push'](_0x5a6201['shift']());}};_0x4fdce9(++_0xd7a05f);}(_0xd7a0,0x1e0));const _0x4fdc=function(_0x5a6201,_0xd7a05f){_0x5a6201=_0x5a6201-0x0;let _0x4fdce9=_0xd7a0[_0x5a6201];return _0x4fdce9;};import{Plugin as _0x3ca386,icons as _0x25173e}from'ckeditor5/src/core';import{ListView as _0x52d1f3,ListItemView as _0x234182,ButtonView as _0x8a3ad6,createDropdown as _0x137e0f}from'ckeditor5/src/ui';import _0x30bb3b from'../../revisiontracker';import _0x29982a from'./revisionhistorysaverevisionformview';import{getTranslation as _0x47dcde}from'../../utils/common-translations';export default class u extends _0x3ca386{static get[_0x4fdc('0x2')](){return _0x4fdc('0x10');}static get['requires'](){return[_0x30bb3b];}[_0x4fdc('0x1d')](){const _0x491ea8=this[_0x4fdc('0xe')],_0x39bd9a=_0x491ea8['plugins'][_0x4fdc('0x23')]('RevisionTracker');_0x491ea8['ui'][_0x4fdc('0x19')][_0x4fdc('0x1f')](_0x4fdc('0x18'),_0x46325a=>{const _0xd07b1f=_0x137e0f(_0x46325a),_0x2651b8=_0xd07b1f[_0x4fdc('0xc')][_0x4fdc('0x13')],_0x2415cf=new _0x52d1f3(_0x46325a),_0xd85282=new _0x234182(_0x46325a),_0x47b1c3=new _0x8a3ad6(_0x46325a),_0x46d3f3=new _0x234182(_0x46325a),_0x3f22e3=new _0x8a3ad6(_0x46325a),_0x3a8b11=new _0x29982a(_0x46325a);function _0x39126a(){_0x2651b8[_0x4fdc('0x3')]&&_0x2651b8[_0x4fdc('0x9')](0x0),_0x2651b8[_0x4fdc('0x1f')](_0x2415cf);}function _0x5e2ddd(){_0xd07b1f[_0x4fdc('0x5')]=!0x1,_0x491ea8[_0x4fdc('0x11')][_0x4fdc('0x16')]['focus']();}return _0xd07b1f[_0x4fdc('0x22')]('isEnabled')['to'](_0x39bd9a,'isReady',_0x39bd9a,'isEnabled',_0x491ea8,_0x4fdc('0x17'),(_0x15cac3,_0xc64ca6,_0x15d90f)=>_0x15cac3&&_0xc64ca6&&!_0x15d90f),_0xd07b1f[_0x4fdc('0xa')]['set']({'icon':_0x25173e[_0x4fdc('0x12')],'label':_0x47dcde(_0x46325a,'Revision\x20history'),'tooltip':!0x0}),_0x47b1c3[_0x4fdc('0x20')]({'label':_0x47dcde(_0x46325a,'Save\x20current\x20revision'),'withText':!0x0}),_0x47b1c3[_0x4fdc('0x22')](_0x4fdc('0x7'))['to'](_0x39bd9a,'isReady',_0x39bd9a,_0x4fdc('0x7'),_0x491ea8,_0x4fdc('0x17'),(_0x4aca9c,_0x3c0259,_0x2b46ef)=>_0x4aca9c&&_0x3c0259&&!_0x2b46ef),_0x47b1c3['on'](_0x4fdc('0x1b'),()=>function(){_0x2651b8[_0x4fdc('0x3')]&&_0x2651b8[_0x4fdc('0x9')](0x0),(_0x3a8b11[_0x4fdc('0x1')](),_0x2651b8['add'](_0x3a8b11),_0x3a8b11[_0x4fdc('0x15')]());}()),_0x3f22e3[_0x4fdc('0x20')]({'label':_0x47dcde(_0x46325a,_0x4fdc('0xb')),'withText':!0x0}),_0x3f22e3[_0x4fdc('0x22')](_0x4fdc('0x7'))['to'](_0x39bd9a,_0x4fdc('0x8'),_0x491ea8,_0x4fdc('0x17'),(_0xa6a9c9,_0xeaaa94)=>_0xa6a9c9&&!_0xeaaa94),_0x3f22e3['on'](_0x4fdc('0x1b'),()=>{_0x491ea8[_0x4fdc('0x1c')][_0x4fdc('0x23')](_0x4fdc('0x18'))[_0x4fdc('0x14')](),_0x5e2ddd();}),_0xd85282['children']['add'](_0x47b1c3),_0x46d3f3['children'][_0x4fdc('0x1f')](_0x3f22e3),_0x2415cf[_0x4fdc('0x1e')]['addMany']([_0xd85282,_0x46d3f3]),_0xd07b1f['on']('change:isOpen',()=>_0x39126a()),_0x3a8b11[_0x4fdc('0xd')][_0x4fdc('0x22')]('isEnabled')['to'](_0x39bd9a,_0x4fdc('0x8'),_0x39bd9a,_0x4fdc('0x7'),_0x491ea8,_0x4fdc('0x17'),(_0x23cc35,_0x41eafd,_0x2d183c)=>_0x23cc35&&_0x41eafd&&!_0x2d183c),_0x3a8b11['on'](_0x4fdc('0x21'),()=>(_0x491ea8[_0x4fdc('0xf')][_0x4fdc('0x23')](_0x30bb3b)[_0x4fdc('0x6')]({'name':_0x3a8b11[_0x4fdc('0x0')]}),void _0x5e2ddd())),_0x3a8b11['on'](_0x4fdc('0x4'),()=>_0x39126a()),_0x3a8b11[_0x4fdc('0x1a')](),_0x39126a(),_0xd07b1f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x160b=['nameRevision','length','isReady','availableRevisionActions','select','getEarlierVisibleRevision','timePeriodViews','bind','destroy','element','requires','revisionHistory','plugins','_revisionViewer','revisionViews','add','isVisible','getRevisionsInDiff','focus','string','get','revisionHistory.viewerSidebarContainer','locale','remove','setName','compare','revisionSetName','init','repository','getRevision','_sidebarView','data','restoreRevisionCallback','render','_handleEditorDataReady','_revisionsRepository','Name\x20this\x20revision','isSelected','_handleDiffChange','config','highlightRevisions','change:diff','RevisionsSidebar','map','action','getLaterVisibleRevision','editor','defaultRevisionActions','isEnabled','_handleRevisionSetName','newRevisionId','_handleRevisionSelected','appendChild','diff','_revisions','_createRevisionActions','Restore\x20this\x20revision','selectRevision','compareAgainstSelected','restoreRevision','listenTo','ready'];(function(_0x5e9a43,_0x160b38){const _0x538559=function(_0x56e39c){while(--_0x56e39c){_0x5e9a43['push'](_0x5e9a43['shift']());}};_0x538559(++_0x160b38);}(_0x160b,0x1f1));const _0x5385=function(_0x5e9a43,_0x160b38){_0x5e9a43=_0x5e9a43-0x0;let _0x538559=_0x160b[_0x5e9a43];return _0x538559;};import{Plugin as _0x47f647}from'ckeditor5/src/core';import _0xfc9ce4 from'./revisionssidebarview';import _0x12f211 from'../../revisionviewer';export default class w extends _0x47f647{static get['pluginName'](){return _0x5385('0x29');}static get[_0x5385('0x9')](){return[_0x12f211];}constructor(_0x4ee27d){super(_0x4ee27d),this[_0x5385('0xc')]=_0x4ee27d[_0x5385('0xb')][_0x5385('0x13')](_0x12f211),this[_0x5385('0x22')]=this[_0x5385('0xc')][_0x5385('0x1b')],this['_sidebarView']=null;}[_0x5385('0x1a')](){const _0x4ffd21=this['_revisionsRepository'][_0x5385('0x35')],_0x3e72c1=this[_0x5385('0x36')](),_0x238267=this[_0x5385('0x2d')][_0x5385('0x26')][_0x5385('0x13')](_0x5385('0x14'));this[_0x5385('0x1d')]=new _0xfc9ce4(this['editor'][_0x5385('0x15')],_0x4ffd21,_0x3e72c1),this[_0x5385('0x1d')]['on']('revisionSelected',this[_0x5385('0x32')]['bind'](this)),this[_0x5385('0x1d')]['on'](_0x5385('0x19'),this[_0x5385('0x30')]['bind'](this)),this['_sidebarView'][_0x5385('0x6')](_0x5385('0x2f'))['to'](this[_0x5385('0xc')]),this['_sidebarView'][_0x5385('0x5')]['on']('add',(_0x1bb4e7,_0x33099e)=>{_0x33099e[_0x5385('0xd')]['on'](_0x5385('0xe'),(_0x6f3726,_0x4f6e37)=>{_0x4f6e37[_0x5385('0x6')](_0x5385('0x2f'),_0x5385('0x1'))['to'](this[_0x5385('0xc')]);});}),this[_0x5385('0x1d')][_0x5385('0x20')](),this['listenTo'](this[_0x5385('0x2d')][_0x5385('0x1e')],_0x5385('0x3c'),this['_handleEditorDataReady'][_0x5385('0x6')](this)),this[_0x5385('0x3b')](this[_0x5385('0xc')],_0x5385('0x28'),this[_0x5385('0x25')][_0x5385('0x6')](this)),_0x238267[_0x5385('0x33')](this[_0x5385('0x1d')][_0x5385('0x8')]);}[_0x5385('0x7')](){this[_0x5385('0x1d')]['element'][_0x5385('0x16')](),this['_sidebarView'][_0x5385('0x7')]();}[_0x5385('0x21')](){const _0x427d00=this['_revisionsRepository'][_0x5385('0x1c')](0x0);if(_0x427d00){const _0x31fdfd=this[_0x5385('0x22')][_0x5385('0x4')](_0x427d00['id']);this['_revisionViewer'][_0x5385('0x18')](_0x427d00,_0x31fdfd);}}[_0x5385('0x32')](_0x42f9a6,_0x2899e8){const _0x1a4676=this[_0x5385('0x22')][_0x5385('0x1c')](_0x2899e8['id']),_0x5af4e4=this['_revisionsRepository'][_0x5385('0x4')](_0x1a4676['id']);this[_0x5385('0xc')][_0x5385('0x18')](_0x1a4676,_0x5af4e4);}['_handleRevisionSetName'](_0x833f36,_0x401537){this[_0x5385('0x22')]['getRevision'](_0x401537['id'])[_0x5385('0x17')](_0x401537['name']);}[_0x5385('0x25')](_0x376e7d,_0x2d8e01,_0x4569ff){const _0x13321b=this[_0x5385('0x22')][_0x5385('0x10')](_0x4569ff);_0x13321b['length']>0x2?(this['_sidebarView'][_0x5385('0x27')](_0x13321b),this['_sidebarView'][_0x5385('0x38')](null)):(this[_0x5385('0x1d')][_0x5385('0x27')]([]),this['_sidebarView'][_0x5385('0x38')](_0x13321b[0x0]));}[_0x5385('0x36')](){const _0x490f89=this[_0x5385('0x2d')],_0x4575f3=w[_0x5385('0x2')],_0x5de779=_0x490f89[_0x5385('0x26')]['get']('revisionHistory.revisionActions')||w[_0x5385('0x2e')];if(_0x5de779['length'])return _0x5de779[_0x5385('0x2a')](_0x4fc205=>{const _0x2a0dba=_0x5385('0x12')==typeof _0x4fc205?Object['assign']({},_0x4575f3[_0x4fc205]):_0x4fc205;return _0x2a0dba[_0x5385('0x2b')]=_0x2a0dba[_0x5385('0x2b')][_0x5385('0x6')](this,_0x490f89),_0x2a0dba[_0x5385('0xf')]&&(_0x2a0dba[_0x5385('0xf')]=_0x2a0dba[_0x5385('0xf')][_0x5385('0x6')](this,_0x490f89)),_0x2a0dba;});}}w[_0x5385('0x2')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x12b08d},_0xcbc3bb)=>{const _0x2f49eb=_0x12b08d[_0x5385('0x13')](_0x12f211),_0x108a65=_0x2f49eb[_0x5385('0x1b')];let _0x171f49=_0x2f49eb[_0x5385('0x34')][_0x5385('0x31')],_0x8c5670=_0xcbc3bb['id'];_0x108a65['getIndex'](_0x171f49)>_0x108a65['getIndex'](_0x8c5670)&&([_0x171f49,_0x8c5670]=[_0x8c5670,_0x171f49]),_0x2f49eb['compare'](_0x171f49,_0x8c5670);},'isVisible':({plugins:_0x31dd57},_0x43c263)=>{const _0x37d2d1=_0x31dd57[_0x5385('0x13')](_0x12f211);return!(_0x37d2d1[_0x5385('0x1b')]['getRevisionsInDiff'](_0x37d2d1[_0x5385('0x34')])[_0x5385('0x0')]>0x2)&&!_0x43c263[_0x5385('0x24')];}},'restoreRevision':{'name':_0x5385('0x37'),'action':(_0x1fa2a6,{id:_0x3bf99c})=>{_0x1fa2a6[_0x5385('0x26')][_0x5385('0x13')](_0x5385('0xa'))[_0x5385('0x1f')](_0x3bf99c);},'isVisible':({plugins:_0x12175c},_0x378f40)=>!!_0x12175c[_0x5385('0x13')](_0x12f211)[_0x5385('0x1b')][_0x5385('0x2c')](_0x378f40['id'])},'nameRevision':{'name':_0x5385('0x23'),'action':({plugins:_0x1df5d0},{id:_0x52b4c5,revisionNameView:_0x4c1505})=>{const _0x30bf1d=_0x1df5d0[_0x5385('0x13')](_0x12f211),_0x551b52=_0x30bf1d[_0x5385('0x1b')][_0x5385('0x4')](_0x52b4c5);_0x30bf1d['compare'](_0x52b4c5,_0x551b52),_0x4c1505[_0x5385('0x11')](),_0x4c1505['fieldView'][_0x5385('0x3')]();}}},w[_0x5385('0x2e')]=[_0x5385('0x39'),_0x5385('0x3a'),_0x5385('0x3d')];
23
+ const _0xbe62=['revisionSelected','data','getLaterVisibleRevision','requires','_revisions','plugins','repository','revisionHistory.revisionActions','newRevisionId','assign','appendChild','_handleRevisionSetName','RevisionsSidebar','action','_handleRevisionSelected','config','ready','editor','map','availableRevisionActions','_revisionViewer','listenTo','getRevisionsInDiff','name','isEnabled','render','revisionHistory','Restore\x20this\x20revision','restoreRevision','length','compare','getEarlierVisibleRevision','bind','setName','_handleEditorDataReady','_handleDiffChange','_revisionsRepository','isReady','nameRevision','get','change:diff','init','_createRevisionActions','add','string','Name\x20this\x20revision','highlightRevisions','restoreRevisionCallback','focus','pluginName','revisionViews','destroy','Compare\x20against\x20selected','_sidebarView','getIndex','defaultRevisionActions','compareAgainstSelected','selectRevision','remove','getRevision','isVisible','element','fieldView','diff'];(function(_0x4a4ee1,_0xbe62d0){const _0x125fed=function(_0x4065a6){while(--_0x4065a6){_0x4a4ee1['push'](_0x4a4ee1['shift']());}};_0x125fed(++_0xbe62d0);}(_0xbe62,0x19c));const _0x125f=function(_0x4a4ee1,_0xbe62d0){_0x4a4ee1=_0x4a4ee1-0x0;let _0x125fed=_0xbe62[_0x4a4ee1];return _0x125fed;};import{Plugin as _0x316ef0}from'ckeditor5/src/core';import _0x36e63f from'./revisionssidebarview';import _0x38e293 from'../../revisionviewer';export default class w extends _0x316ef0{static get[_0x125f('0x15')](){return _0x125f('0x30');}static get[_0x125f('0x27')](){return[_0x38e293];}constructor(_0x26a5a6){super(_0x26a5a6),this[_0x125f('0x38')]=_0x26a5a6[_0x125f('0x29')][_0x125f('0xb')](_0x38e293),this['_revisionsRepository']=this['_revisionViewer']['repository'],this[_0x125f('0x19')]=null;}[_0x125f('0xd')](){const _0x5b6aa5=this[_0x125f('0x8')][_0x125f('0x28')],_0x297e86=this[_0x125f('0xe')](),_0x3a23bf=this['editor'][_0x125f('0x33')]['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x36e63f(this[_0x125f('0x35')]['locale'],_0x5b6aa5,_0x297e86),this[_0x125f('0x19')]['on'](_0x125f('0x24'),this[_0x125f('0x32')][_0x125f('0x4')](this)),this[_0x125f('0x19')]['on']('revisionSetName',this[_0x125f('0x2f')][_0x125f('0x4')](this)),this[_0x125f('0x19')][_0x125f('0x4')](_0x125f('0x3c'))['to'](this['_revisionViewer']),this[_0x125f('0x19')]['timePeriodViews']['on'](_0x125f('0xf'),(_0x4655a6,_0x26e4ad)=>{_0x26e4ad[_0x125f('0x16')]['on']('add',(_0x1af8a4,_0x22cd94)=>{_0x22cd94[_0x125f('0x4')](_0x125f('0x3c'),_0x125f('0x9'))['to'](this[_0x125f('0x38')]);});}),this['_sidebarView'][_0x125f('0x3d')](),this[_0x125f('0x39')](this[_0x125f('0x35')][_0x125f('0x25')],_0x125f('0x34'),this[_0x125f('0x6')][_0x125f('0x4')](this)),this[_0x125f('0x39')](this[_0x125f('0x38')],_0x125f('0xc'),this[_0x125f('0x7')][_0x125f('0x4')](this)),_0x3a23bf[_0x125f('0x2e')](this['_sidebarView'][_0x125f('0x21')]);}[_0x125f('0x17')](){this[_0x125f('0x19')]['element'][_0x125f('0x1e')](),this[_0x125f('0x19')]['destroy']();}[_0x125f('0x6')](){const _0x3a1073=this[_0x125f('0x8')][_0x125f('0x1f')](0x0);if(_0x3a1073){const _0x2365f7=this[_0x125f('0x8')][_0x125f('0x3')](_0x3a1073['id']);this[_0x125f('0x38')][_0x125f('0x2')](_0x3a1073,_0x2365f7);}}[_0x125f('0x32')](_0x5c830f,_0xf5b125){const _0x10a6df=this[_0x125f('0x8')][_0x125f('0x1f')](_0xf5b125['id']),_0x274c51=this[_0x125f('0x8')][_0x125f('0x3')](_0x10a6df['id']);this[_0x125f('0x38')][_0x125f('0x2')](_0x10a6df,_0x274c51);}[_0x125f('0x2f')](_0x396227,_0x58c7f1){this[_0x125f('0x8')]['getRevision'](_0x58c7f1['id'])[_0x125f('0x5')](_0x58c7f1[_0x125f('0x3b')]);}[_0x125f('0x7')](_0x212ae6,_0x3f3121,_0x2b6989){const _0x4c52fd=this[_0x125f('0x8')][_0x125f('0x3a')](_0x2b6989);_0x4c52fd['length']>0x2?(this['_sidebarView'][_0x125f('0x12')](_0x4c52fd),this[_0x125f('0x19')]['selectRevision'](null)):(this[_0x125f('0x19')][_0x125f('0x12')]([]),this[_0x125f('0x19')][_0x125f('0x1d')](_0x4c52fd[0x0]));}['_createRevisionActions'](){const _0x36bd74=this[_0x125f('0x35')],_0x525c57=w[_0x125f('0x37')],_0x58aa98=_0x36bd74[_0x125f('0x33')][_0x125f('0xb')](_0x125f('0x2b'))||w[_0x125f('0x1b')];if(_0x58aa98[_0x125f('0x1')])return _0x58aa98[_0x125f('0x36')](_0x4568c0=>{const _0x3919f6=_0x125f('0x10')==typeof _0x4568c0?Object[_0x125f('0x2d')]({},_0x525c57[_0x4568c0]):_0x4568c0;return _0x3919f6[_0x125f('0x31')]=_0x3919f6[_0x125f('0x31')][_0x125f('0x4')](this,_0x36bd74),_0x3919f6['isVisible']&&(_0x3919f6[_0x125f('0x20')]=_0x3919f6[_0x125f('0x20')][_0x125f('0x4')](this,_0x36bd74)),_0x3919f6;});}}w[_0x125f('0x37')]={'compareAgainstSelected':{'name':_0x125f('0x18'),'action':({plugins:_0x410bfa},_0x1f0cbc)=>{const _0x4d6d29=_0x410bfa[_0x125f('0xb')](_0x38e293),_0x40cbc4=_0x4d6d29[_0x125f('0x2a')];let _0xb9b67=_0x4d6d29[_0x125f('0x23')][_0x125f('0x2c')],_0x1bf44d=_0x1f0cbc['id'];_0x40cbc4[_0x125f('0x1a')](_0xb9b67)>_0x40cbc4[_0x125f('0x1a')](_0x1bf44d)&&([_0xb9b67,_0x1bf44d]=[_0x1bf44d,_0xb9b67]),_0x4d6d29[_0x125f('0x2')](_0xb9b67,_0x1bf44d);},'isVisible':({plugins:_0x5ed55c},_0x1f5304)=>{const _0x5b713f=_0x5ed55c[_0x125f('0xb')](_0x38e293);return!(_0x5b713f[_0x125f('0x2a')]['getRevisionsInDiff'](_0x5b713f[_0x125f('0x23')])[_0x125f('0x1')]>0x2)&&!_0x1f5304['isSelected'];}},'restoreRevision':{'name':_0x125f('0x3f'),'action':(_0xb96258,{id:_0x17914b})=>{_0xb96258['config'][_0x125f('0xb')](_0x125f('0x3e'))[_0x125f('0x13')](_0x17914b);},'isVisible':({plugins:_0x51ec32},_0x2bed60)=>!!_0x51ec32[_0x125f('0xb')](_0x38e293)['repository'][_0x125f('0x26')](_0x2bed60['id'])},'nameRevision':{'name':_0x125f('0x11'),'action':({plugins:_0x29601c},{id:_0x1fa53b,revisionNameView:_0x3cc64c})=>{const _0x3e522a=_0x29601c[_0x125f('0xb')](_0x38e293),_0x1ac837=_0x3e522a['repository'][_0x125f('0x3')](_0x1fa53b);_0x3e522a[_0x125f('0x2')](_0x1fa53b,_0x1ac837),_0x3cc64c[_0x125f('0x14')](),_0x3cc64c[_0x125f('0x22')]['select']();}}},w[_0x125f('0x1b')]=[_0x125f('0x1c'),_0x125f('0x0'),_0x125f('0xa')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d88=['content','Revision\x20history','history','setTemplate','div'];(function(_0x21c553,_0x1d882c){const _0x31bdec=function(_0xfb2332){while(--_0xfb2332){_0x21c553['push'](_0x21c553['shift']());}};_0x31bdec(++_0x1d882c);}(_0x1d88,0xf1));const _0x31bd=function(_0x21c553,_0x1d882c){_0x21c553=_0x21c553-0x0;let _0x31bdec=_0x1d88[_0x21c553];return _0x31bdec;};import{View as _0xe766,IconView as _0x3f583c}from'ckeditor5/src/ui';import{getTranslation as _0x139d7a}from'../../utils/common-translations';import{icons as _0x1471cf}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0xe766{constructor(_0x5ea861){super(_0x5ea861);const _0x11c933=new _0x3f583c();_0x11c933[_0x31bd('0x4')]=_0x1471cf[_0x31bd('0x1')],this[_0x31bd('0x2')]({'tag':_0x31bd('0x3'),'attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x11c933,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x139d7a(_0x5ea861,_0x31bd('0x0'))]}]});}}
23
+ const _0x4ca6=['ck-reset_all','history','content','div','setTemplate','ck-revision-history-sidebar__header'];(function(_0x25e503,_0x4ca6a4){const _0x28d684=function(_0x11f4bd){while(--_0x11f4bd){_0x25e503['push'](_0x25e503['shift']());}};_0x28d684(++_0x4ca6a4);}(_0x4ca6,0x103));const _0x28d6=function(_0x25e503,_0x4ca6a4){_0x25e503=_0x25e503-0x0;let _0x28d684=_0x4ca6[_0x25e503];return _0x28d684;};import{View as _0x1f3e09,IconView as _0x57b8bd}from'ckeditor5/src/ui';import{getTranslation as _0x555ee8}from'../../utils/common-translations';import{icons as _0x305bde}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x1f3e09{constructor(_0x3422a0){super(_0x3422a0);const _0x2bf58b=new _0x57b8bd();_0x2bf58b[_0x28d6('0x1')]=_0x305bde[_0x28d6('0x0')],this[_0x28d6('0x3')]({'tag':_0x28d6('0x2'),'attributes':{'class':['ck',_0x28d6('0x5'),_0x28d6('0x4')]},'children':[_0x2bf58b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x555ee8(_0x3422a0,'Revision\x20history')]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a79=['startDate','span','div','select','ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period','setName','localizedPeriodName','delegate','ck-revision-history-sidebar__time-period__label','remove','revisionViews','addRevision','uiLanguage','createCollection','_revisionActions','locale'];(function(_0x4ecbd9,_0x3a797c){const _0x5c8fae=function(_0x1ff1a8){while(--_0x1ff1a8){_0x4ecbd9['push'](_0x4ecbd9['shift']());}};_0x5c8fae(++_0x3a797c);}(_0x3a79,0x1af));const _0x5c8f=function(_0x4ecbd9,_0x3a797c){_0x4ecbd9=_0x4ecbd9-0x0;let _0x5c8fae=_0x3a79[_0x4ecbd9];return _0x5c8fae;};import{View as _0xd16f54}from'ckeditor5/src/ui';import _0x22bbb3 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x1f09bd}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0xd16f54{constructor(_0x171c56,_0x53bb93,_0x2c1327){super(_0x171c56);const _0x1abb1e=_0x1f09bd(_0x53bb93,this[_0x5c8f('0xa')][_0x5c8f('0x7')])[_0x5c8f('0x1')];this[_0x5c8f('0xb')]=_0x53bb93,this['revisionViews']=this[_0x5c8f('0x8')](),this[_0x5c8f('0x9')]=_0x2c1327,this['revisionViews'][_0x5c8f('0x2')](_0x5c8f('0xe'))['to'](this),this[_0x5c8f('0x5')]['delegate'](_0x5c8f('0x0'))['to'](this),this['setTemplate']({'tag':_0x5c8f('0xd'),'attributes':{'class':['ck',_0x5c8f('0x10')]},'children':[{'tag':_0x5c8f('0xc'),'attributes':{'class':['ck',_0x5c8f('0x3')]},'children':[{'text':_0x1abb1e}]},{'tag':_0x5c8f('0xd'),'attributes':{'class':['ck',_0x5c8f('0xf')]},'children':this[_0x5c8f('0x5')]}]});}[_0x5c8f('0x6')](_0x1acc7e){const _0x4f10fb=new _0x22bbb3(this[_0x5c8f('0xa')],_0x1acc7e,this['_revisionActions']);this[_0x5c8f('0x5')]['add'](_0x4f10fb);}['removeRevision'](_0x2b4e63){const _0x2eb949=this[_0x5c8f('0x5')]['find'](_0x2575f8=>_0x2575f8['id']===_0x2b4e63['id']);this[_0x5c8f('0x5')][_0x5c8f('0x4')](_0x2eb949);}}
23
+ const _0xa11d=['ck-revision-history-sidebar__time-period__revisions','addRevision','locale','remove','_revisionActions','ck-revision-history-sidebar__time-period__label','ck-revision-history-sidebar__time-period','setTemplate','removeRevision','delegate','select','add','revisionViews','span','uiLanguage','startDate','div'];(function(_0x171add,_0xa11d06){const _0x5a557f=function(_0x295899){while(--_0x295899){_0x171add['push'](_0x171add['shift']());}};_0x5a557f(++_0xa11d06);}(_0xa11d,0xc5));const _0x5a55=function(_0x171add,_0xa11d06){_0x171add=_0x171add-0x0;let _0x5a557f=_0xa11d[_0x171add];return _0x5a557f;};import{View as _0x48fc7b}from'ckeditor5/src/ui';import _0x3ea7fc from'../revision/revisionview';import{getDateTimePeriodInfo as _0x4c7aea}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x48fc7b{constructor(_0x1c8741,_0xf0822e,_0x8a59d0){super(_0x1c8741);const _0x37ab25=_0x4c7aea(_0xf0822e,this[_0x5a55('0x9')][_0x5a55('0x4')])['localizedPeriodName'];this[_0x5a55('0x5')]=_0xf0822e,this[_0x5a55('0x2')]=this['createCollection'](),this[_0x5a55('0xb')]=_0x8a59d0,this[_0x5a55('0x2')][_0x5a55('0x10')](_0x5a55('0x0'))['to'](this),this[_0x5a55('0x2')][_0x5a55('0x10')]('setName')['to'](this),this[_0x5a55('0xe')]({'tag':_0x5a55('0x6'),'attributes':{'class':['ck',_0x5a55('0xd')]},'children':[{'tag':_0x5a55('0x3'),'attributes':{'class':['ck',_0x5a55('0xc')]},'children':[{'text':_0x37ab25}]},{'tag':_0x5a55('0x6'),'attributes':{'class':['ck',_0x5a55('0x7')]},'children':this[_0x5a55('0x2')]}]});}[_0x5a55('0x8')](_0x4d9e20){const _0x2d3b28=new _0x3ea7fc(this[_0x5a55('0x9')],_0x4d9e20,this['_revisionActions']);this[_0x5a55('0x2')][_0x5a55('0x1')](_0x2d3b28);}[_0x5a55('0xf')](_0x151af3){const _0x469002=this[_0x5a55('0x2')]['find'](_0x38aef0=>_0x38aef0['id']===_0x151af3['id']);this[_0x5a55('0x2')][_0x5a55('0xa')](_0x469002);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18ca=['getTime','unhighlight','removeRevision','ck-revision-history-sidebar','bindTemplate','_addRevision','ck-revision-history-sidebar__timeline','addRevision','_removeRevision','render','ck-rounded-corners','map','selectRevision','_getTimePeriodViewByStartDate','locale','createCollection','flat','_revisions','find','isEnabled','select','ck-disabled','revisionViews','ck-reset','add','get','some','highlight','fire','startDate','revisionSetName','timePeriodViews','revisionSelected','createdAt','div','uiLanguage','setName','_revisionActions','remove','delegate','deselect'];(function(_0x48d582,_0x18ca54){const _0x58020f=function(_0x497b00){while(--_0x497b00){_0x48d582['push'](_0x48d582['shift']());}};_0x58020f(++_0x18ca54);}(_0x18ca,0x196));const _0x5802=function(_0x48d582,_0x18ca54){_0x48d582=_0x48d582-0x0;let _0x58020f=_0x18ca[_0x48d582];return _0x58020f;};import{View as _0x497549}from'ckeditor5/src/ui';import _0x51222d from'./revisionssidebartimeperiodview';import _0x44a81c from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x1b39f0}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x497549{constructor(_0x2aa0cd,_0x7a8b70,_0x2fb690){super(_0x2aa0cd);const _0x59873b=this[_0x5802('0x8')];this[_0x5802('0x23')]=this[_0x5802('0x13')](),this[_0x5802('0x23')][_0x5802('0x2')](_0x5802('0x18'))['to'](this),this['timePeriodViews'][_0x5802('0x2')](_0x5802('0x28'))['to'](this),this[_0x5802('0x15')]=_0x7a8b70,this[_0x5802('0x0')]=_0x2fb690,this['on'](_0x5802('0x18'),(_0x5ca3b4,_0x49b5e8)=>{this[_0x5802('0x20')](_0x5802('0x24'),_0x49b5e8);}),this['on']('setName',(_0x1f72d7,_0x4d5215)=>{this[_0x5802('0x20')](_0x5802('0x22'),_0x4d5215);}),this['set'](_0x5802('0x17'),!0x1),this['setTemplate']({'tag':_0x5802('0x26'),'attributes':{'class':['ck',_0x5802('0x1b'),_0x5802('0xe'),_0x5802('0x7')]},'children':[new _0x44a81c(_0x2aa0cd),{'tag':_0x5802('0x26'),'attributes':{'class':['ck',_0x5802('0xa'),_0x59873b['if']('isEnabled',_0x5802('0x19'),_0x25712a=>!_0x25712a)]},'children':this['timePeriodViews']}]});}[_0x5802('0xd')](){super[_0x5802('0xd')]();for(const _0xd7cca6 of this[_0x5802('0x15')])this[_0x5802('0x9')](_0xd7cca6);this[_0x5802('0x15')]['on']('add',(_0x3aef02,_0xe3e9bc)=>{this[_0x5802('0x9')](_0xe3e9bc);}),this['_revisions']['on'](_0x5802('0x1'),(_0x5d5ce8,_0x1fe854)=>{this[_0x5802('0xc')](_0x1fe854);});}get[_0x5802('0x1a')](){return this[_0x5802('0x23')][_0x5802('0xf')](_0x3bca26=>_0x3bca26['revisionViews'][_0x5802('0xf')](_0x2b334c=>_0x2b334c))[_0x5802('0x14')]();}[_0x5802('0x10')](_0x4380ec){for(const _0xcb4051 of this[_0x5802('0x1a')])_0x4380ec&&_0x4380ec['id']===_0xcb4051['id']?_0xcb4051[_0x5802('0x18')]():_0xcb4051[_0x5802('0x3')]();}['highlightRevisions'](_0x36ef33){for(const _0x259f47 of this[_0x5802('0x1a')])_0x36ef33[_0x5802('0x1e')](({id:_0x232a6f})=>_0x232a6f===_0x259f47['id'])?_0x259f47[_0x5802('0x1f')]():_0x259f47[_0x5802('0x5')]();}[_0x5802('0x9')](_0x5caa60){const _0x255f42=_0x1b39f0(_0x5caa60[_0x5802('0x25')],this[_0x5802('0x12')][_0x5802('0x27')])[_0x5802('0x21')];let _0x647e04=this[_0x5802('0x23')][_0x5802('0x1d')](0x0);_0x647e04&&_0x647e04[_0x5802('0x21')][_0x5802('0x4')]()===_0x255f42[_0x5802('0x4')]()||(_0x647e04=new _0x51222d(this[_0x5802('0x12')],_0x255f42,this[_0x5802('0x0')]),this['timePeriodViews'][_0x5802('0x1c')](_0x647e04)),_0x647e04[_0x5802('0xb')](_0x5caa60);}[_0x5802('0xc')](_0x13cf2f){const _0x1f95b9=_0x1b39f0(_0x13cf2f[_0x5802('0x25')],this[_0x5802('0x12')][_0x5802('0x27')])[_0x5802('0x21')];this[_0x5802('0x11')](_0x1f95b9)[_0x5802('0x6')](_0x13cf2f);}[_0x5802('0x11')](_0x5e8948){return this[_0x5802('0x23')][_0x5802('0x16')](_0x8d4539=>_0x8d4539[_0x5802('0x21')][_0x5802('0x4')]()===_0x5e8948[_0x5802('0x4')]());}}
23
+ const _0x3a7d=['set','_revisionActions','_addRevision','highlight','ck-revision-history-sidebar','isEnabled','revisionSetName','createdAt','select','setTemplate','map','deselect','unhighlight','timePeriodViews','ck-revision-history-sidebar__timeline','addRevision','revisionViews','_revisions','startDate','_removeRevision','removeRevision','setName','flat','getTime','locale','uiLanguage','fire','div','ck-rounded-corners','remove','_getTimePeriodViewByStartDate','render','highlightRevisions','revisionSelected','add'];(function(_0x2accac,_0x3a7d49){const _0x217042=function(_0x3b4094){while(--_0x3b4094){_0x2accac['push'](_0x2accac['shift']());}};_0x217042(++_0x3a7d49);}(_0x3a7d,0x117));const _0x2170=function(_0x2accac,_0x3a7d49){_0x2accac=_0x2accac-0x0;let _0x217042=_0x3a7d[_0x2accac];return _0x217042;};import{View as _0x532cbd}from'ckeditor5/src/ui';import _0x387c2e from'./revisionssidebartimeperiodview';import _0x3b489e from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x2200bc}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x532cbd{constructor(_0x50f3ee,_0x4a23cf,_0x3b8974){super(_0x50f3ee);const _0x8de42c=this['bindTemplate'];this[_0x2170('0xe')]=this['createCollection'](),this[_0x2170('0xe')]['delegate']('select')['to'](this),this[_0x2170('0xe')]['delegate'](_0x2170('0x16'))['to'](this),this[_0x2170('0x12')]=_0x4a23cf,this['_revisionActions']=_0x3b8974,this['on'](_0x2170('0x9'),(_0x12cc05,_0x371dd9)=>{this[_0x2170('0x1b')](_0x2170('0x22'),_0x371dd9);}),this['on'](_0x2170('0x16'),(_0x3b5365,_0x1db091)=>{this['fire'](_0x2170('0x7'),_0x1db091);}),this[_0x2170('0x1')](_0x2170('0x6'),!0x1),this[_0x2170('0xa')]({'tag':_0x2170('0x1c'),'attributes':{'class':['ck','ck-reset',_0x2170('0x1d'),_0x2170('0x5')]},'children':[new _0x3b489e(_0x50f3ee),{'tag':_0x2170('0x1c'),'attributes':{'class':['ck',_0x2170('0xf'),_0x8de42c['if'](_0x2170('0x6'),'ck-disabled',_0x620276=>!_0x620276)]},'children':this[_0x2170('0xe')]}]});}[_0x2170('0x20')](){super['render']();for(const _0x351792 of this[_0x2170('0x12')])this[_0x2170('0x3')](_0x351792);this[_0x2170('0x12')]['on'](_0x2170('0x0'),(_0x2cfc20,_0x1a7974)=>{this[_0x2170('0x3')](_0x1a7974);}),this[_0x2170('0x12')]['on'](_0x2170('0x1e'),(_0x10a585,_0x4d8343)=>{this['_removeRevision'](_0x4d8343);});}get['revisionViews'](){return this['timePeriodViews'][_0x2170('0xb')](_0x1cf726=>_0x1cf726[_0x2170('0x11')]['map'](_0x124142=>_0x124142))[_0x2170('0x17')]();}['selectRevision'](_0x40bd50){for(const _0x8ac008 of this[_0x2170('0x11')])_0x40bd50&&_0x40bd50['id']===_0x8ac008['id']?_0x8ac008['select']():_0x8ac008[_0x2170('0xc')]();}[_0x2170('0x21')](_0x1f8411){for(const _0x37e86b of this[_0x2170('0x11')])_0x1f8411['some'](({id:_0x5b24f7})=>_0x5b24f7===_0x37e86b['id'])?_0x37e86b[_0x2170('0x4')]():_0x37e86b[_0x2170('0xd')]();}[_0x2170('0x3')](_0x3adbd5){const _0x237fd0=_0x2200bc(_0x3adbd5['createdAt'],this['locale']['uiLanguage'])[_0x2170('0x13')];let _0x18c406=this[_0x2170('0xe')]['get'](0x0);_0x18c406&&_0x18c406['startDate'][_0x2170('0x18')]()===_0x237fd0[_0x2170('0x18')]()||(_0x18c406=new _0x387c2e(this[_0x2170('0x19')],_0x237fd0,this[_0x2170('0x2')]),this['timePeriodViews'][_0x2170('0x0')](_0x18c406)),_0x18c406[_0x2170('0x10')](_0x3adbd5);}[_0x2170('0x14')](_0x2096dd){const _0x3ac312=_0x2200bc(_0x2096dd[_0x2170('0x8')],this[_0x2170('0x19')][_0x2170('0x1a')])[_0x2170('0x13')];this[_0x2170('0x1f')](_0x3ac312)[_0x2170('0x15')](_0x2096dd);}[_0x2170('0x1f')](_0x2c078e){return this['timePeriodViews']['find'](_0x5d05d7=>_0x5d05d7[_0x2170('0x13')]['getTime']()===_0x2c078e[_0x2170('0x18')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2779=['fromJSDate','setLocale','year','month','weekdayLong','hasSame','toJSDate','startOf','monthLong','week','local','toRelativeCalendar','day'];(function(_0x203899,_0x2779d6){const _0x4a31d4=function(_0x113161){while(--_0x113161){_0x203899['push'](_0x203899['shift']());}};_0x4a31d4(++_0x2779d6);}(_0x2779,0xeb));const _0x4a31=function(_0x203899,_0x2779d6){_0x203899=_0x203899-0x0;let _0x4a31d4=_0x2779[_0x203899];return _0x4a31d4;};import{DateTime as _0x4be9a7}from'luxon';export function getDateTimePeriodInfo(_0x4a8d37,_0x4aaad8){const _0x294e3b=_0x4be9a7[_0x4a31('0xc')](_0x4a8d37)[_0x4a31('0x0')](_0x4aaad8),_0x474795=_0x4be9a7[_0x4a31('0x9')](),_0x3e1313=_0x474795['minus']({'days':0x1})['startOf'](_0x4a31('0xb'));let _0x250136,_0x19e004;return _0x294e3b[_0x4a31('0x4')](_0x474795,_0x4a31('0xb'))?(_0x250136=_0x294e3b['startOf']('day')[_0x4a31('0x5')](),_0x19e004=_0x294e3b[_0x4a31('0xa')]()):_0x294e3b[_0x4a31('0x4')](_0x3e1313,_0x4a31('0xb'))?(_0x250136=_0x3e1313[_0x4a31('0x5')](),_0x19e004=_0x294e3b[_0x4a31('0xa')]()):_0x294e3b[_0x4a31('0x4')](_0x474795,_0x4a31('0x8'))?(_0x250136=_0x294e3b[_0x4a31('0x6')]('week')[_0x4a31('0x5')](),_0x19e004=_0x294e3b[_0x4a31('0x3')]||''):_0x294e3b[_0x4a31('0x4')](_0x474795,'year')?(_0x250136=_0x294e3b[_0x4a31('0x6')](_0x4a31('0x2'))['toJSDate'](),_0x19e004=_0x294e3b[_0x4a31('0x7')]||''):(_0x250136=_0x294e3b[_0x4a31('0x6')](_0x4a31('0x1'))['toJSDate'](),_0x19e004=String(_0x294e3b[_0x4a31('0x1')])),{'startDate':_0x250136,'localizedPeriodName':_0x19e004};}
23
+ const _0x53bc=['local','toJSDate','weekdayLong','fromJSDate','week','day','monthLong','startOf','hasSame','year','month','toRelativeCalendar','minus'];(function(_0x4d1df1,_0x53bc65){const _0x3d6c17=function(_0x267197){while(--_0x267197){_0x4d1df1['push'](_0x4d1df1['shift']());}};_0x3d6c17(++_0x53bc65);}(_0x53bc,0x1a8));const _0x3d6c=function(_0x4d1df1,_0x53bc65){_0x4d1df1=_0x4d1df1-0x0;let _0x3d6c17=_0x53bc[_0x4d1df1];return _0x3d6c17;};import{DateTime as _0x43d77a}from'luxon';export function getDateTimePeriodInfo(_0x3a27d8,_0x4214d3){const _0x17a791=_0x43d77a[_0x3d6c('0x8')](_0x3a27d8)['setLocale'](_0x4214d3),_0x446e8a=_0x43d77a[_0x3d6c('0x5')](),_0x1a3f69=_0x446e8a[_0x3d6c('0x4')]({'days':0x1})[_0x3d6c('0xc')](_0x3d6c('0xa'));let _0x4756b6,_0x1eb027;return _0x17a791['hasSame'](_0x446e8a,_0x3d6c('0xa'))?(_0x4756b6=_0x17a791[_0x3d6c('0xc')](_0x3d6c('0xa'))[_0x3d6c('0x6')](),_0x1eb027=_0x17a791[_0x3d6c('0x3')]()):_0x17a791[_0x3d6c('0x0')](_0x1a3f69,'day')?(_0x4756b6=_0x1a3f69[_0x3d6c('0x6')](),_0x1eb027=_0x17a791[_0x3d6c('0x3')]()):_0x17a791[_0x3d6c('0x0')](_0x446e8a,_0x3d6c('0x9'))?(_0x4756b6=_0x17a791[_0x3d6c('0xc')](_0x3d6c('0x9'))[_0x3d6c('0x6')](),_0x1eb027=_0x17a791[_0x3d6c('0x7')]||''):_0x17a791[_0x3d6c('0x0')](_0x446e8a,_0x3d6c('0x1'))?(_0x4756b6=_0x17a791[_0x3d6c('0xc')](_0x3d6c('0x2'))[_0x3d6c('0x6')](),_0x1eb027=_0x17a791[_0x3d6c('0xb')]||''):(_0x4756b6=_0x17a791[_0x3d6c('0xc')]('year')[_0x3d6c('0x6')](),_0x1eb027=String(_0x17a791[_0x3d6c('0x1')])),{'startDate':_0x4756b6,'localizedPeriodName':_0x1eb027};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2919=['focus','ck-revision-change','span','ck-annotation','name','type','bindTemplate','setTemplate','isSuggestion','set','ck-revision-change__','element','_model','div'];(function(_0x4bf7e4,_0x2919d1){const _0x3c26e7=function(_0x59a966){while(--_0x59a966){_0x4bf7e4['push'](_0x4bf7e4['shift']());}};_0x3c26e7(++_0x2919d1);}(_0x2919,0x1a3));const _0x3c26=function(_0x4bf7e4,_0x2919d1){_0x4bf7e4=_0x4bf7e4-0x0;let _0x3c26e7=_0x2919[_0x4bf7e4];return _0x3c26e7;};import{View as _0x8879cd}from'ckeditor5/src/ui';import{getTranslation as _0x350b5e}from'../../utils/common-translations';export default class Z extends _0x8879cd{constructor(_0x7d7a7c,_0x127cab){super(_0x7d7a7c),this[_0x3c26('0xd')]=_0x127cab,this['changeId']=_0x127cab['id'];const _0x6be4a2=this[_0x3c26('0x7')],_0x52646c=_0x350b5e(_0x7d7a7c,_0x127cab['data'][_0x3c26('0x9')]?'Suggested\x20by':'add'==_0x127cab[_0x3c26('0x6')]?'Added\x20by':'Removed\x20by');this[_0x3c26('0xa')](_0x3c26('0x6'),_0x127cab[_0x3c26('0x6')]),this[_0x3c26('0x8')]({'tag':_0x3c26('0x0'),'attributes':{'class':[_0x3c26('0x4'),_0x3c26('0x2'),_0x6be4a2['to'](_0x3c26('0x6'),_0xe51d57=>_0x3c26('0xb')+_0xe51d57)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0x3c26('0x3'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x52646c}]},{'text':'\x20'+_0x127cab['author'][_0x3c26('0x5')]}]}]});}[_0x3c26('0x1')](){this[_0x3c26('0xc')]['focus']();}}
23
+ const _0x6eca=['type','data','div','author','ck-revision-change__label','span','set','ck-revision-change__','ck-annotation','focus','isSuggestion','element','changeId','name','Added\x20by','bindTemplate','setTemplate','add','Suggested\x20by','Removed\x20by'];(function(_0x5a125b,_0x6ecacd){const _0x3308c2=function(_0xef50ec){while(--_0xef50ec){_0x5a125b['push'](_0x5a125b['shift']());}};_0x3308c2(++_0x6ecacd);}(_0x6eca,0x1de));const _0x3308=function(_0x5a125b,_0x6ecacd){_0x5a125b=_0x5a125b-0x0;let _0x3308c2=_0x6eca[_0x5a125b];return _0x3308c2;};import{View as _0x16ff10}from'ckeditor5/src/ui';import{getTranslation as _0x59f74c}from'../../utils/common-translations';export default class Z extends _0x16ff10{constructor(_0x4e87e2,_0x24c460){super(_0x4e87e2),this['_model']=_0x24c460,this[_0x3308('0xe')]=_0x24c460['id'];const _0x2c8f18=this[_0x3308('0x11')],_0x480f6f=_0x59f74c(_0x4e87e2,_0x24c460[_0x3308('0x3')][_0x3308('0xc')]?_0x3308('0x0'):_0x3308('0x13')==_0x24c460['type']?_0x3308('0x10'):_0x3308('0x1'));this[_0x3308('0x8')](_0x3308('0x2'),_0x24c460[_0x3308('0x2')]),this[_0x3308('0x12')]({'tag':_0x3308('0x4'),'attributes':{'class':[_0x3308('0xa'),'ck-revision-change',_0x2c8f18['to']('type',_0x3418bc=>_0x3308('0x9')+_0x3418bc)],'tabindex':-0x1},'children':[{'tag':_0x3308('0x7'),'children':[{'tag':'span','attributes':{'class':[_0x3308('0x6')]},'children':[{'text':_0x480f6f}]},{'text':'\x20'+_0x24c460[_0x3308('0x5')][_0x3308('0xf')]}]}]});}[_0x3308('0xb')](){this[_0x3308('0xd')][_0x3308('0xb')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x496d=['isReady','ck-revision-history-ui__changes-navigation__label','fire','EDIT_X_OF_Y_REVISIONS','currentChangeNumber','_statusText','numberOfChanges','isForwardNavigationEnabled','Show\x20next\x20change','backward','set','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui__changes-navigation__navigation','isNavigationMode','Loading...','No\x20changes','bind','div','setTemplate','isBackwardNavigationEnabled','ck-revision-history-ui','isEnabled','X_OF_Y_CHANGES','execute','ck-hidden','Show\x20previous\x20change','span','bindTemplate','_isStatusLabelVisible'];(function(_0x20fa8d,_0x496dae){const _0x2910ac=function(_0x340f88){while(--_0x340f88){_0x20fa8d['push'](_0x20fa8d['shift']());}};_0x2910ac(++_0x496dae);}(_0x496d,0x6c));const _0x2910=function(_0x20fa8d,_0x496dae){_0x20fa8d=_0x20fa8d-0x0;let _0x2910ac=_0x496d[_0x20fa8d];return _0x2910ac;};import{View as _0x283f84,ButtonView as _0x382a9b,ToolbarSeparatorView as _0x3ced6c}from'ckeditor5/src/ui';import{getTranslation as _0x58626f}from'../../utils/common-translations';import _0x273d7b from'../../../theme/icons/arrow-up.svg';import _0x3d052f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x283f84{constructor(_0x3992b3){super(_0x3992b3);const _0x1d4928=this[_0x2910('0x6')],_0x449443=new _0x382a9b(_0x3992b3),_0x330838=new _0x382a9b(_0x3992b3);this[_0x2910('0x12')](_0x2910('0x15'),!0x1),this[_0x2910('0x12')](_0x2910('0x8'),!0x1),this[_0x2910('0x12')]('currentChangeNumber',0x0),this[_0x2910('0x12')](_0x2910('0xe'),0x0),this[_0x2910('0x12')](_0x2910('0xf'),!0x1),this['set'](_0x2910('0x1b'),!0x1),this[_0x2910('0x18')](_0x2910('0x7'))['to'](this,_0x2910('0x8'),this,_0x2910('0xe'),(_0x3fc849,_0x197a1e)=>_0x3fc849&&_0x197a1e>0x0),this[_0x2910('0x18')](_0x2910('0xd'))['to'](this,_0x2910('0x8'),this,_0x2910('0xc'),this,_0x2910('0xe'),this,_0x2910('0x15'),(_0x2f0c35,_0x316437,_0x454ea5,_0x389d12)=>{if(!_0x2f0c35)return _0x58626f(_0x3992b3,_0x2910('0x16'));if(!_0x454ea5)return _0x58626f(_0x3992b3,_0x2910('0x17'));const _0x605585=_0x58626f(_0x3992b3,'NUMBER_OF_CHANGES',_0x454ea5);return _0x389d12?_0x58626f(_0x3992b3,_0x2910('0x1'),[_0x316437+0x1,_0x454ea5]):_0x605585;}),_0x449443[_0x2910('0x12')]({'label':_0x58626f(_0x3992b3,_0x2910('0x4')),'tooltip':!0x0,'icon':_0x273d7b}),_0x330838[_0x2910('0x12')]({'label':_0x58626f(_0x3992b3,_0x2910('0x10')),'tooltip':!0x0,'icon':_0x3d052f}),_0x449443[_0x2910('0x18')](_0x2910('0x0'))['to'](this,_0x2910('0x1b')),_0x330838[_0x2910('0x18')](_0x2910('0x0'))['to'](this,_0x2910('0xf')),_0x449443['on'](_0x2910('0x2'),()=>this[_0x2910('0xa')](_0x2910('0x2'),_0x2910('0x11'))),_0x330838['on'](_0x2910('0x2'),()=>this['fire']('execute','forward')),this[_0x2910('0x1a')]({'tag':_0x2910('0x19'),'attributes':{'class':['ck',_0x2910('0x1c'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x2910('0x5'),'attributes':{'class':[_0x2910('0x13')]},'children':[{'tag':_0x2910('0x5'),'attributes':{'class':[_0x2910('0x9'),_0x1d4928['if']('_isStatusLabelVisible',_0x2910('0x3'),_0x179b00=>!_0x179b00)]},'children':[{'text':_0x1d4928['to'](_0x2910('0x15'),_0xecc813=>_0xecc813?_0x58626f(_0x3992b3,_0x2910('0xb'))+':\x20':_0x58626f(_0x3992b3,'Total')+':\x20')}]},{'text':_0x1d4928['to']('_statusText')}]},new _0x3ced6c(),{'tag':_0x2910('0x19'),'attributes':{'class':[_0x2910('0x14')]},'children':[_0x449443,_0x330838]}]});}}
23
+ const _0x393c=['div','isReady','ck-revision-history-ui','EDIT_X_OF_Y_REVISIONS','currentChangeNumber','bind','_isStatusLabelVisible','setTemplate','_statusText','backward','isForwardNavigationEnabled','isEnabled','forward','span','execute','set','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation','fire','bindTemplate','Show\x20next\x20change','Loading...','X_OF_Y_CHANGES','isBackwardNavigationEnabled','numberOfChanges','ck-revision-history-ui__changes-navigation__wrapper','Total','isNavigationMode'];(function(_0x528b3a,_0x393cd7){const _0x6fbcd5=function(_0x531cb5){while(--_0x531cb5){_0x528b3a['push'](_0x528b3a['shift']());}};_0x6fbcd5(++_0x393cd7);}(_0x393c,0x1bf));const _0x6fbc=function(_0x528b3a,_0x393cd7){_0x528b3a=_0x528b3a-0x0;let _0x6fbcd5=_0x393c[_0x528b3a];return _0x6fbcd5;};import{View as _0x25c241,ButtonView as _0x3ecc13,ToolbarSeparatorView as _0x2e8e69}from'ckeditor5/src/ui';import{getTranslation as _0x1c63a3}from'../../utils/common-translations';import _0x18bb47 from'../../../theme/icons/arrow-up.svg';import _0x3600b9 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x25c241{constructor(_0x52d16d){super(_0x52d16d);const _0xd1e624=this[_0x6fbc('0x14')],_0x207b69=new _0x3ecc13(_0x52d16d),_0x282277=new _0x3ecc13(_0x52d16d);this[_0x6fbc('0x10')](_0x6fbc('0x0'),!0x1),this[_0x6fbc('0x10')]('isReady',!0x1),this[_0x6fbc('0x10')](_0x6fbc('0x5'),0x0),this[_0x6fbc('0x10')](_0x6fbc('0x19'),0x0),this[_0x6fbc('0x10')]('isForwardNavigationEnabled',!0x1),this[_0x6fbc('0x10')](_0x6fbc('0x18'),!0x1),this[_0x6fbc('0x6')](_0x6fbc('0x7'))['to'](this,'isReady',this,_0x6fbc('0x19'),(_0x3e65b1,_0x535aa1)=>_0x3e65b1&&_0x535aa1>0x0),this[_0x6fbc('0x6')](_0x6fbc('0x9'))['to'](this,_0x6fbc('0x2'),this,_0x6fbc('0x5'),this,_0x6fbc('0x19'),this,_0x6fbc('0x0'),(_0x40c526,_0x21b98d,_0x43d6bb,_0x3ff381)=>{if(!_0x40c526)return _0x1c63a3(_0x52d16d,_0x6fbc('0x16'));if(!_0x43d6bb)return _0x1c63a3(_0x52d16d,'No\x20changes');const _0x2a9fcd=_0x1c63a3(_0x52d16d,_0x6fbc('0x11'),_0x43d6bb);return _0x3ff381?_0x1c63a3(_0x52d16d,_0x6fbc('0x17'),[_0x21b98d+0x1,_0x43d6bb]):_0x2a9fcd;}),_0x207b69[_0x6fbc('0x10')]({'label':_0x1c63a3(_0x52d16d,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x18bb47}),_0x282277[_0x6fbc('0x10')]({'label':_0x1c63a3(_0x52d16d,_0x6fbc('0x15')),'tooltip':!0x0,'icon':_0x3600b9}),_0x207b69[_0x6fbc('0x6')](_0x6fbc('0xc'))['to'](this,_0x6fbc('0x18')),_0x282277[_0x6fbc('0x6')](_0x6fbc('0xc'))['to'](this,_0x6fbc('0xb')),_0x207b69['on'](_0x6fbc('0xf'),()=>this[_0x6fbc('0x13')](_0x6fbc('0xf'),_0x6fbc('0xa'))),_0x282277['on'](_0x6fbc('0xf'),()=>this[_0x6fbc('0x13')](_0x6fbc('0xf'),_0x6fbc('0xd'))),this[_0x6fbc('0x8')]({'tag':'div','attributes':{'class':['ck',_0x6fbc('0x3'),_0x6fbc('0x12')]},'children':[{'tag':_0x6fbc('0xe'),'attributes':{'class':[_0x6fbc('0x1a')]},'children':[{'tag':_0x6fbc('0xe'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0xd1e624['if'](_0x6fbc('0x7'),'ck-hidden',_0x505737=>!_0x505737)]},'children':[{'text':_0xd1e624['to'](_0x6fbc('0x0'),_0xe2adce=>_0xe2adce?_0x1c63a3(_0x52d16d,_0x6fbc('0x4'))+':\x20':_0x1c63a3(_0x52d16d,_0x6fbc('0x1b'))+':\x20')}]},{'text':_0xd1e624['to'](_0x6fbc('0x9'))}]},new _0x2e8e69(),{'tag':_0x6fbc('0x1'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x207b69,_0x282277]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55d5=['editing','editor','pluginName','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay','show','change','view','document','roots'];(function(_0x50e091,_0x55d508){const _0x4924a4=function(_0x34f0ea){while(--_0x34f0ea){_0x50e091['push'](_0x50e091['shift']());}};_0x4924a4(++_0x55d508);}(_0x55d5,0x1b8));const _0x4924=function(_0x50e091,_0x55d508){_0x50e091=_0x50e091-0x0;let _0x4924a4=_0x55d5[_0x50e091];return _0x4924a4;};import{Plugin as _0x69b8d6}from'ckeditor5/src/core';const oe=_0x4924('0x3');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x69b8d6{static get[_0x4924('0x2')](){return _0x4924('0x4');}[_0x4924('0x5')](){const _0x3c1c1f=this[_0x4924('0x1')][_0x4924('0x0')][_0x4924('0x7')];_0x3c1c1f[_0x4924('0x6')](_0x16dc6d=>{for(const _0x2bcc03 of _0x3c1c1f[_0x4924('0x8')]['roots'])_0x16dc6d['addClass'](oe,_0x2bcc03);});}['hide'](){const _0x51f690=this['editor']['editing'][_0x4924('0x7')];_0x51f690[_0x4924('0x6')](_0x2247b2=>{for(const _0x228b5d of _0x51f690[_0x4924('0x8')][_0x4924('0x9')])_0x2247b2['removeClass'](oe,_0x228b5d);});}}
23
+ const _0x2ecd=['editor','addClass','removeClass','pluginName','view','show','document','editing','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','change','roots'];(function(_0x1dfc07,_0x2ecd98){const _0xdb0de=function(_0x1e98b5){while(--_0x1e98b5){_0x1dfc07['push'](_0x1dfc07['shift']());}};_0xdb0de(++_0x2ecd98);}(_0x2ecd,0xe2));const _0xdb0d=function(_0x1dfc07,_0x2ecd98){_0x1dfc07=_0x1dfc07-0x0;let _0xdb0de=_0x2ecd[_0x1dfc07];return _0xdb0de;};import{Plugin as _0x2ef364}from'ckeditor5/src/core';const oe=_0xdb0d('0xb');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x2ef364{static get[_0xdb0d('0x5')](){return _0xdb0d('0xa');}[_0xdb0d('0x7')](){const _0x576248=this[_0xdb0d('0x2')][_0xdb0d('0x9')][_0xdb0d('0x6')];_0x576248[_0xdb0d('0x0')](_0x42aa01=>{for(const _0x1808c3 of _0x576248[_0xdb0d('0x8')][_0xdb0d('0x1')])_0x42aa01[_0xdb0d('0x3')](oe,_0x1808c3);});}['hide'](){const _0xeeab15=this[_0xdb0d('0x2')]['editing'][_0xdb0d('0x6')];_0xeeab15['change'](_0x18e972=>{for(const _0x3f063f of _0xeeab15['document'][_0xdb0d('0x1')])_0x18e972[_0xdb0d('0x4')](oe,_0x3f063f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8db1=['showPreviousChange','change:isReady','closeRevisionViewerCallback','listenTo','init','isEnabled','revisionHistory','Restore\x20this\x20revision','commands','set','isBackwardNavigationEnabled','isNavigationMode','add','currentChangeNumber','get','hide','plugins','execute','exitToEditing','changesNavigation','forward','restoreRevision','componentFactory','isReady','pluginName','bind','show','Back\x20to\x20editing','config','editor','ck-revision-history-ui__back-to-editing','requires','numberOfChanges'];(function(_0x5aacb5,_0x8db14d){const _0x2eacee=function(_0x1acbf2){while(--_0x1acbf2){_0x5aacb5['push'](_0x5aacb5['shift']());}};_0x2eacee(++_0x8db14d);}(_0x8db1,0x7b));const _0x2eac=function(_0x5aacb5,_0x8db14d){_0x5aacb5=_0x5aacb5-0x0;let _0x2eacee=_0x8db1[_0x5aacb5];return _0x2eacee;};import{Plugin as _0x45ed96}from'ckeditor5/src/core';import{ButtonView as _0x5882ff}from'ckeditor5/src/ui';import _0xcd59a7 from'./changesnavigationview';import _0x2ecddb from'./../../revisionviewer';import _0xc78921 from'./revisionviewerloadingoverlay';import{getTranslation as _0x4ddbb8}from'../../utils/common-translations';import _0x3fb06d from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x45ed96{static get[_0x2eac('0x0')](){return'RevisionViewerUI';}static get[_0x2eac('0x7')](){return[_0x2ecddb,_0xc78921];}[_0x2eac('0xd')](){const _0x4c14ce=this[_0x2eac('0x5')],_0x77a30e=_0x4c14ce[_0x2eac('0x19')]['get'](_0x2ecddb),_0x4acbac=_0x4c14ce[_0x2eac('0x19')][_0x2eac('0x17')](_0xc78921);_0x4c14ce['ui'][_0x2eac('0x1f')][_0x2eac('0x15')](_0x2eac('0x1b'),_0x28f5bb=>{const _0x24e207=new _0x5882ff(_0x28f5bb);return _0x24e207[_0x2eac('0x12')]({'label':_0x4ddbb8(_0x28f5bb,_0x2eac('0x3')),'icon':_0x3fb06d,'withText':!0x0,'tooltip':!0x0,'class':_0x2eac('0x6')}),this[_0x2eac('0xc')](_0x24e207,'execute',()=>{_0x4c14ce[_0x2eac('0x4')]['get'](_0x2eac('0xf'))[_0x2eac('0xb')]();}),_0x24e207;}),_0x4c14ce['ui'][_0x2eac('0x1f')][_0x2eac('0x15')](_0x2eac('0x1e'),_0x1cbb83=>{const _0xf217c5=new _0x5882ff(_0x1cbb83);return _0xf217c5['set']({'label':_0x4ddbb8(_0x1cbb83,_0x2eac('0x10')),'withText':!0x0,'tooltip':!0x0}),_0xf217c5[_0x2eac('0x1')](_0x2eac('0xe'))['to'](_0x4c14ce[_0x2eac('0x11')][_0x2eac('0x17')](_0x2eac('0x1e'))),this[_0x2eac('0xc')](_0xf217c5,_0x2eac('0x1a'),()=>_0x4c14ce[_0x2eac('0x1a')](_0x2eac('0x1e'))),_0xf217c5;}),_0x4c14ce['ui'][_0x2eac('0x1f')][_0x2eac('0x15')](_0x2eac('0x1c'),_0xd9c493=>{const _0x58e58b=new _0xcd59a7(_0xd9c493),_0x1ae378=_0x4c14ce[_0x2eac('0x11')][_0x2eac('0x17')](_0x2eac('0x9')),_0x4ba15e=_0x4c14ce['commands'][_0x2eac('0x17')]('showNextChange');return _0x58e58b[_0x2eac('0x1')](_0x2eac('0x13'))['to'](_0x1ae378,_0x2eac('0xe')),_0x58e58b['bind']('isForwardNavigationEnabled')['to'](_0x4ba15e,_0x2eac('0xe')),_0x58e58b[_0x2eac('0x1')](_0x2eac('0x20'),_0x2eac('0x16'),_0x2eac('0x8'),_0x2eac('0x14'))['to'](_0x77a30e),this[_0x2eac('0xc')](_0x58e58b,_0x2eac('0x1a'),(_0x546ff4,_0x4ce382)=>{_0x4c14ce[_0x2eac('0x1a')](_0x2eac('0x1d')===_0x4ce382?'showNextChange':_0x2eac('0x9'));}),_0x58e58b;}),_0x4acbac[_0x2eac('0x2')](),_0x77a30e['on'](_0x2eac('0xa'),(_0x30296a,_0x34c518,_0x3725c5)=>{_0x3725c5?_0x4acbac[_0x2eac('0x18')]():_0x4acbac[_0x2eac('0x2')]();});}}
23
+ const _0x3525=['closeRevisionViewerCallback','add','isEnabled','get','show','isReady','numberOfChanges','pluginName','restoreRevision','forward','currentChangeNumber','change:isReady','set','componentFactory','config','init','listenTo','execute','editor','isForwardNavigationEnabled','exitToEditing','changesNavigation','Back\x20to\x20editing','bind','Restore\x20this\x20revision','showPreviousChange','isBackwardNavigationEnabled','ck-revision-history-ui__back-to-editing','commands','plugins'];(function(_0x1c4f24,_0x3525cb){const _0x769cd3=function(_0x2d5295){while(--_0x2d5295){_0x1c4f24['push'](_0x1c4f24['shift']());}};_0x769cd3(++_0x3525cb);}(_0x3525,0xdb));const _0x769c=function(_0x1c4f24,_0x3525cb){_0x1c4f24=_0x1c4f24-0x0;let _0x769cd3=_0x3525[_0x1c4f24];return _0x769cd3;};import{Plugin as _0x1f9050}from'ckeditor5/src/core';import{ButtonView as _0x115230}from'ckeditor5/src/ui';import _0x4a681b from'./changesnavigationview';import _0x36e9db from'./../../revisionviewer';import _0x264800 from'./revisionviewerloadingoverlay';import{getTranslation as _0x314cbb}from'../../utils/common-translations';import _0xf8bf4e from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x1f9050{static get[_0x769c('0x1c')](){return'RevisionViewerUI';}static get['requires'](){return[_0x36e9db,_0x264800];}[_0x769c('0x6')](){const _0x368928=this[_0x769c('0x9')],_0x2ea1d7=_0x368928[_0x769c('0x14')]['get'](_0x36e9db),_0x15d5aa=_0x368928[_0x769c('0x14')][_0x769c('0x18')](_0x264800);_0x368928['ui']['componentFactory'][_0x769c('0x16')](_0x769c('0xb'),_0x30c2cb=>{const _0x238325=new _0x115230(_0x30c2cb);return _0x238325[_0x769c('0x3')]({'label':_0x314cbb(_0x30c2cb,_0x769c('0xd')),'icon':_0xf8bf4e,'withText':!0x0,'tooltip':!0x0,'class':_0x769c('0x12')}),this[_0x769c('0x7')](_0x238325,_0x769c('0x8'),()=>{_0x368928[_0x769c('0x5')][_0x769c('0x18')]('revisionHistory')[_0x769c('0x15')]();}),_0x238325;}),_0x368928['ui'][_0x769c('0x4')][_0x769c('0x16')]('restoreRevision',_0x4a636e=>{const _0xc83306=new _0x115230(_0x4a636e);return _0xc83306[_0x769c('0x3')]({'label':_0x314cbb(_0x4a636e,_0x769c('0xf')),'withText':!0x0,'tooltip':!0x0}),_0xc83306[_0x769c('0xe')]('isEnabled')['to'](_0x368928[_0x769c('0x13')]['get']('restoreRevision')),this[_0x769c('0x7')](_0xc83306,_0x769c('0x8'),()=>_0x368928[_0x769c('0x8')](_0x769c('0x1d'))),_0xc83306;}),_0x368928['ui'][_0x769c('0x4')]['add'](_0x769c('0xc'),_0x7efb3c=>{const _0x1c3545=new _0x4a681b(_0x7efb3c),_0x399f6b=_0x368928[_0x769c('0x13')][_0x769c('0x18')](_0x769c('0x10')),_0x3624d2=_0x368928[_0x769c('0x13')][_0x769c('0x18')]('showNextChange');return _0x1c3545[_0x769c('0xe')](_0x769c('0x11'))['to'](_0x399f6b,_0x769c('0x17')),_0x1c3545['bind'](_0x769c('0xa'))['to'](_0x3624d2,_0x769c('0x17')),_0x1c3545['bind'](_0x769c('0x1a'),_0x769c('0x1'),_0x769c('0x1b'),'isNavigationMode')['to'](_0x2ea1d7),this[_0x769c('0x7')](_0x1c3545,'execute',(_0x4aea42,_0x3c3a49)=>{_0x368928[_0x769c('0x8')](_0x769c('0x0')===_0x3c3a49?'showNextChange':_0x769c('0x10'));}),_0x1c3545;}),_0x15d5aa['show'](),_0x2ea1d7['on'](_0x769c('0x2'),(_0x1133ea,_0x30f074,_0x42aff6)=>{_0x42aff6?_0x15d5aa['hide']():_0x15d5aa[_0x769c('0x19')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x407b81,_0xcaa8e6,_0x2a47b5){const t=_0x407b81['t'];switch(_0xcaa8e6){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'},_0x2a47b5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2a47b5);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 _0xcaa8e6;}}
23
+ export function getTranslation(_0x432b74,_0x5dd816,_0xa19f83){const t=_0x432b74['t'];switch(_0x5dd816){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'},_0xa19f83);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xa19f83);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 _0x5dd816;}}