@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231127.0 → 0.0.0-nightly-20231128.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 _0x4c3c=['isReadOnly','isOpen','add','Save\x20current\x20revision','addMany','focus','remove','Revision\x20history','get','children','submit','saveRevision','revisionName','bind','set','componentFactory','history','buttonView','isEnabled','render','length','revisionHistory','plugins','init','RevisionHistoryUI','execute','reset','config','change:isOpen','pluginName','isReady'];(function(_0x368826,_0x4c3c6f){const _0x43e323=function(_0x2c2f57){while(--_0x2c2f57){_0x368826['push'](_0x368826['shift']());}};_0x43e323(++_0x4c3c6f);}(_0x4c3c,0x149));const _0x43e3=function(_0x368826,_0x4c3c6f){_0x368826=_0x368826-0x0;let _0x43e323=_0x4c3c[_0x368826];return _0x43e323;};import{Plugin as _0x25eab5,icons as _0x338733}from'ckeditor5/src/core';import{ListView as _0x507c1f,ListItemView as _0x1300a7,ButtonView as _0xc43dd8,createDropdown as _0x3a8dfc}from'ckeditor5/src/ui';import _0xa62bfa from'../../revisiontracker';import _0x2d833f from'./revisionhistorysaverevisionformview';import{getTranslation as _0x1e8564}from'../../utils/common-translations';export default class u extends _0x25eab5{static get[_0x43e3('0xa')](){return _0x43e3('0x5');}static get['requires'](){return[_0xa62bfa];}[_0x43e3('0x4')](){const _0x265912=this['editor'],_0x377a81=_0x265912[_0x43e3('0x3')]['get']('RevisionTracker');_0x265912['ui'][_0x43e3('0x1b')][_0x43e3('0xe')]('revisionHistory',_0x50d638=>{const _0x282f59=_0x3a8dfc(_0x50d638),_0x2ef13f=_0x282f59['panelView']['children'],_0x14a21f=new _0x507c1f(_0x50d638),_0x3d7ea3=new _0x1300a7(_0x50d638),_0x3c8688=new _0xc43dd8(_0x50d638),_0x47ce92=new _0x1300a7(_0x50d638),_0x3277ee=new _0xc43dd8(_0x50d638),_0x575b84=new _0x2d833f(_0x50d638);function _0x18edb8(){_0x2ef13f[_0x43e3('0x1')]&&_0x2ef13f[_0x43e3('0x12')](0x0),_0x2ef13f['add'](_0x14a21f);}function _0x21fb36(){_0x282f59[_0x43e3('0xd')]=!0x1,_0x265912['editing']['view'][_0x43e3('0x11')]();}return _0x282f59['bind']('isEnabled')['to'](_0x377a81,_0x43e3('0xb'),_0x377a81,_0x43e3('0x1e'),_0x265912,_0x43e3('0xc'),(_0x6831e6,_0x11dd58,_0x4040cd)=>_0x6831e6&&_0x11dd58&&!_0x4040cd),_0x282f59[_0x43e3('0x1d')][_0x43e3('0x1a')]({'icon':_0x338733[_0x43e3('0x1c')],'label':_0x1e8564(_0x50d638,_0x43e3('0x13')),'tooltip':!0x0}),_0x3c8688['set']({'label':_0x1e8564(_0x50d638,_0x43e3('0xf')),'withText':!0x0}),_0x3c8688[_0x43e3('0x19')](_0x43e3('0x1e'))['to'](_0x377a81,_0x43e3('0xb'),_0x377a81,_0x43e3('0x1e'),_0x265912,'isReadOnly',(_0x39aa73,_0x3fd3e8,_0x24d7eb)=>_0x39aa73&&_0x3fd3e8&&!_0x24d7eb),_0x3c8688['on'](_0x43e3('0x6'),()=>function(){_0x2ef13f[_0x43e3('0x1')]&&_0x2ef13f[_0x43e3('0x12')](0x0),(_0x575b84[_0x43e3('0x7')](),_0x2ef13f[_0x43e3('0xe')](_0x575b84),_0x575b84[_0x43e3('0x11')]());}()),_0x3277ee[_0x43e3('0x1a')]({'label':_0x1e8564(_0x50d638,'Open\x20revision\x20history'),'withText':!0x0}),_0x3277ee[_0x43e3('0x19')](_0x43e3('0x1e'))['to'](_0x377a81,_0x43e3('0xb'),_0x265912,'isReadOnly',(_0x174155,_0x35b968)=>_0x174155&&!_0x35b968),_0x3277ee['on'](_0x43e3('0x6'),()=>{_0x265912[_0x43e3('0x8')][_0x43e3('0x14')](_0x43e3('0x2'))['showRevisionViewerCallback'](),_0x21fb36();}),_0x3d7ea3[_0x43e3('0x15')][_0x43e3('0xe')](_0x3c8688),_0x47ce92[_0x43e3('0x15')][_0x43e3('0xe')](_0x3277ee),_0x14a21f['items'][_0x43e3('0x10')]([_0x3d7ea3,_0x47ce92]),_0x282f59['on'](_0x43e3('0x9'),()=>_0x18edb8()),_0x575b84['saveButtonView'][_0x43e3('0x19')]('isEnabled')['to'](_0x377a81,_0x43e3('0xb'),_0x377a81,_0x43e3('0x1e'),_0x265912,_0x43e3('0xc'),(_0x5eae89,_0x3ad5d5,_0x3c642f)=>_0x5eae89&&_0x3ad5d5&&!_0x3c642f),_0x575b84['on'](_0x43e3('0x16'),()=>(_0x265912[_0x43e3('0x3')][_0x43e3('0x14')](_0xa62bfa)[_0x43e3('0x17')]({'name':_0x575b84[_0x43e3('0x18')]}),void _0x21fb36())),_0x575b84['on']('cancel',()=>_0x18edb8()),_0x575b84[_0x43e3('0x0')](),_0x18edb8(),_0x282f59;});}}
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;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x432b=['newRevisionId','assign','Name\x20this\x20revision','restoreRevision','RevisionsSidebar','revisionHistory','isEnabled','revisionSelected','_handleRevisionSelected','Compare\x20against\x20selected','config','data','get','highlightRevisions','_handleDiffChange','restoreRevisionCallback','_handleEditorDataReady','_revisionsRepository','revisionSetName','add','fieldView','_revisions','getLaterVisibleRevision','focus','_handleRevisionSetName','setName','ready','destroy','getRevision','Restore\x20this\x20revision','defaultRevisionActions','init','availableRevisionActions','render','revisionHistory.viewerSidebarContainer','compare','_sidebarView','compareAgainstSelected','length','getEarlierVisibleRevision','_createRevisionActions','diff','timePeriodViews','isReady','repository','getIndex','action','isSelected','bind','_revisionViewer','getRevisionsInDiff','element','remove','isVisible','editor','name','nameRevision','plugins'];(function(_0x5b86e,_0x432b6d){const _0x41ea24=function(_0x4cead1){while(--_0x4cead1){_0x5b86e['push'](_0x5b86e['shift']());}};_0x41ea24(++_0x432b6d);}(_0x432b,0x65));const _0x41ea=function(_0x5b86e,_0x432b6d){_0x5b86e=_0x5b86e-0x0;let _0x41ea24=_0x432b[_0x5b86e];return _0x41ea24;};import{Plugin as _0x4c031d}from'ckeditor5/src/core';import _0x31d99d from'./revisionssidebarview';import _0x2fda67 from'../../revisionviewer';export default class w extends _0x4c031d{static get['pluginName'](){return _0x41ea('0x13');}static get['requires'](){return[_0x2fda67];}constructor(_0x2ff007){super(_0x2ff007),this[_0x41ea('0x6')]=_0x2ff007[_0x41ea('0xe')][_0x41ea('0x1b')](_0x2fda67),this[_0x41ea('0x20')]=this['_revisionViewer'][_0x41ea('0x1')],this[_0x41ea('0x33')]=null;}[_0x41ea('0x2e')](){const _0x290e5d=this[_0x41ea('0x20')][_0x41ea('0x24')],_0x22c535=this[_0x41ea('0x37')](),_0x1afa5a=this[_0x41ea('0xb')][_0x41ea('0x19')][_0x41ea('0x1b')](_0x41ea('0x31'));this['_sidebarView']=new _0x31d99d(this[_0x41ea('0xb')]['locale'],_0x290e5d,_0x22c535),this['_sidebarView']['on'](_0x41ea('0x16'),this[_0x41ea('0x17')]['bind'](this)),this['_sidebarView']['on'](_0x41ea('0x21'),this['_handleRevisionSetName']['bind'](this)),this[_0x41ea('0x33')]['bind'](_0x41ea('0x15'))['to'](this[_0x41ea('0x6')]),this[_0x41ea('0x33')][_0x41ea('0x39')]['on'](_0x41ea('0x22'),(_0x5b8f6f,_0x558934)=>{_0x558934['revisionViews']['on'](_0x41ea('0x22'),(_0xd43bc7,_0x2a2a77)=>{_0x2a2a77[_0x41ea('0x5')]('isEnabled',_0x41ea('0x0'))['to'](this['_revisionViewer']);});}),this['_sidebarView'][_0x41ea('0x30')](),this['listenTo'](this[_0x41ea('0xb')][_0x41ea('0x1a')],_0x41ea('0x29'),this[_0x41ea('0x1f')][_0x41ea('0x5')](this)),this['listenTo'](this[_0x41ea('0x6')],'change:diff',this['_handleDiffChange'][_0x41ea('0x5')](this)),_0x1afa5a['appendChild'](this[_0x41ea('0x33')]['element']);}[_0x41ea('0x2a')](){this[_0x41ea('0x33')][_0x41ea('0x8')][_0x41ea('0x9')](),this['_sidebarView'][_0x41ea('0x2a')]();}[_0x41ea('0x1f')](){const _0x38e457=this['_revisionsRepository'][_0x41ea('0x2b')](0x0);if(_0x38e457){const _0x3eb5a3=this['_revisionsRepository'][_0x41ea('0x36')](_0x38e457['id']);this['_revisionViewer'][_0x41ea('0x32')](_0x38e457,_0x3eb5a3);}}[_0x41ea('0x17')](_0x9134a8,_0x3b5d88){const _0x34686a=this[_0x41ea('0x20')][_0x41ea('0x2b')](_0x3b5d88['id']),_0x17ba25=this[_0x41ea('0x20')][_0x41ea('0x36')](_0x34686a['id']);this[_0x41ea('0x6')][_0x41ea('0x32')](_0x34686a,_0x17ba25);}[_0x41ea('0x27')](_0xb9cd4c,_0x26785e){this[_0x41ea('0x20')][_0x41ea('0x2b')](_0x26785e['id'])[_0x41ea('0x28')](_0x26785e[_0x41ea('0xc')]);}[_0x41ea('0x1d')](_0x2cf1ea,_0x107c88,_0x7b8099){const _0x43ece5=this[_0x41ea('0x20')][_0x41ea('0x7')](_0x7b8099);_0x43ece5[_0x41ea('0x35')]>0x2?(this[_0x41ea('0x33')]['highlightRevisions'](_0x43ece5),this[_0x41ea('0x33')]['selectRevision'](null)):(this[_0x41ea('0x33')][_0x41ea('0x1c')]([]),this[_0x41ea('0x33')]['selectRevision'](_0x43ece5[0x0]));}[_0x41ea('0x37')](){const _0x4bd95f=this[_0x41ea('0xb')],_0x1e1e23=w[_0x41ea('0x2f')],_0x5826dc=_0x4bd95f['config'][_0x41ea('0x1b')]('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5826dc[_0x41ea('0x35')])return _0x5826dc['map'](_0x136062=>{const _0x399cc6='string'==typeof _0x136062?Object[_0x41ea('0x10')]({},_0x1e1e23[_0x136062]):_0x136062;return _0x399cc6['action']=_0x399cc6[_0x41ea('0x3')][_0x41ea('0x5')](this,_0x4bd95f),_0x399cc6[_0x41ea('0xa')]&&(_0x399cc6['isVisible']=_0x399cc6['isVisible'][_0x41ea('0x5')](this,_0x4bd95f)),_0x399cc6;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':_0x41ea('0x18'),'action':({plugins:_0x22d612},_0x405ef5)=>{const _0x468a51=_0x22d612[_0x41ea('0x1b')](_0x2fda67),_0x3d2dad=_0x468a51[_0x41ea('0x1')];let _0x2889b2=_0x468a51[_0x41ea('0x38')][_0x41ea('0xf')],_0x15bedc=_0x405ef5['id'];_0x3d2dad[_0x41ea('0x2')](_0x2889b2)>_0x3d2dad[_0x41ea('0x2')](_0x15bedc)&&([_0x2889b2,_0x15bedc]=[_0x15bedc,_0x2889b2]),_0x468a51[_0x41ea('0x32')](_0x2889b2,_0x15bedc);},'isVisible':({plugins:_0x23ecd6},_0x209ad5)=>{const _0x42cf14=_0x23ecd6[_0x41ea('0x1b')](_0x2fda67);return!(_0x42cf14[_0x41ea('0x1')][_0x41ea('0x7')](_0x42cf14[_0x41ea('0x38')])[_0x41ea('0x35')]>0x2)&&!_0x209ad5[_0x41ea('0x4')];}},'restoreRevision':{'name':_0x41ea('0x2c'),'action':(_0x23a016,{id:_0x241270})=>{_0x23a016[_0x41ea('0x19')][_0x41ea('0x1b')](_0x41ea('0x14'))[_0x41ea('0x1e')](_0x241270);},'isVisible':({plugins:_0x1f2d29},_0x28a799)=>!!_0x1f2d29[_0x41ea('0x1b')](_0x2fda67)[_0x41ea('0x1')][_0x41ea('0x25')](_0x28a799['id'])},'nameRevision':{'name':_0x41ea('0x11'),'action':({plugins:_0x131077},{id:_0x51dfef,revisionNameView:_0x3fa4f4})=>{const _0x36ce0b=_0x131077[_0x41ea('0x1b')](_0x2fda67),_0x150f68=_0x36ce0b[_0x41ea('0x1')][_0x41ea('0x36')](_0x51dfef);_0x36ce0b[_0x41ea('0x32')](_0x51dfef,_0x150f68),_0x3fa4f4[_0x41ea('0x26')](),_0x3fa4f4[_0x41ea('0x23')]['select']();}}},w[_0x41ea('0x2d')]=[_0x41ea('0x34'),_0x41ea('0x12'),_0x41ea('0xd')];
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')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1079=['div','span','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','Revision\x20history','content','history'];(function(_0x416962,_0x10795b){const _0x32accd=function(_0x2728c7){while(--_0x2728c7){_0x416962['push'](_0x416962['shift']());}};_0x32accd(++_0x10795b);}(_0x1079,0x177));const _0x32ac=function(_0x416962,_0x10795b){_0x416962=_0x416962-0x0;let _0x32accd=_0x1079[_0x416962];return _0x32accd;};import{View as _0x54fd35,IconView as _0x1d1f55}from'ckeditor5/src/ui';import{getTranslation as _0x1991bd}from'../../utils/common-translations';import{icons as _0x192a86}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x54fd35{constructor(_0x881e33){super(_0x881e33);const _0x174b58=new _0x1d1f55();_0x174b58[_0x32ac('0x1')]=_0x192a86[_0x32ac('0x2')],this['setTemplate']({'tag':_0x32ac('0x3'),'attributes':{'class':['ck','ck-reset_all',_0x32ac('0x5')]},'children':[_0x174b58,{'tag':_0x32ac('0x4'),'attributes':{'class':['ck',_0x32ac('0x6')]},'children':[_0x1991bd(_0x881e33,_0x32ac('0x0'))]}]});}}
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'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4798=['find','setName','ck-revision-history-sidebar__time-period','removeRevision','remove','div','localizedPeriodName','setTemplate','uiLanguage','delegate','locale','select','addRevision','revisionViews','_revisionActions','ck-revision-history-sidebar__time-period__revisions'];(function(_0x18b333,_0x479832){const _0x1a6713=function(_0x5bcc4f){while(--_0x5bcc4f){_0x18b333['push'](_0x18b333['shift']());}};_0x1a6713(++_0x479832);}(_0x4798,0xcb));const _0x1a67=function(_0x18b333,_0x479832){_0x18b333=_0x18b333-0x0;let _0x1a6713=_0x4798[_0x18b333];return _0x1a6713;};import{View as _0x31b201}from'ckeditor5/src/ui';import _0x290b24 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x444637}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x31b201{constructor(_0x2be87f,_0x32cf7f,_0x37294a){super(_0x2be87f);const _0x30164b=_0x444637(_0x32cf7f,this[_0x1a67('0xf')][_0x1a67('0xd')])[_0x1a67('0xb')];this['startDate']=_0x32cf7f,this[_0x1a67('0x2')]=this['createCollection'](),this['_revisionActions']=_0x37294a,this[_0x1a67('0x2')][_0x1a67('0xe')](_0x1a67('0x0'))['to'](this),this[_0x1a67('0x2')]['delegate'](_0x1a67('0x6'))['to'](this),this[_0x1a67('0xc')]({'tag':'div','attributes':{'class':['ck',_0x1a67('0x7')]},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x30164b}]},{'tag':_0x1a67('0xa'),'attributes':{'class':['ck',_0x1a67('0x4')]},'children':this[_0x1a67('0x2')]}]});}[_0x1a67('0x1')](_0xe501ed){const _0x1dee21=new _0x290b24(this[_0x1a67('0xf')],_0xe501ed,this[_0x1a67('0x3')]);this['revisionViews']['add'](_0x1dee21);}[_0x1a67('0x8')](_0x332744){const _0x21cc23=this[_0x1a67('0x2')][_0x1a67('0x5')](_0x12c62d=>_0x12c62d['id']===_0x332744['id']);this[_0x1a67('0x2')][_0x1a67('0x9')](_0x21cc23);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3107=['render','_revisions','ck-disabled','highlight','some','_getTimePeriodViewByStartDate','locale','bindTemplate','deselect','fire','ck-revision-history-sidebar__timeline','remove','map','ck-rounded-corners','select','delegate','flat','createCollection','add','isEnabled','_revisionActions','div','ck-revision-history-sidebar','revisionSelected','unhighlight','find','_addRevision','removeRevision','createdAt','uiLanguage','_removeRevision','revisionSetName','revisionViews','startDate','timePeriodViews','get','getTime'];(function(_0x2b6a8c,_0x310739){const _0x1c24ff=function(_0x4fc051){while(--_0x4fc051){_0x2b6a8c['push'](_0x2b6a8c['shift']());}};_0x1c24ff(++_0x310739);}(_0x3107,0x11a));const _0x1c24=function(_0x2b6a8c,_0x310739){_0x2b6a8c=_0x2b6a8c-0x0;let _0x1c24ff=_0x3107[_0x2b6a8c];return _0x1c24ff;};import{View as _0x1b5b8f}from'ckeditor5/src/ui';import _0x23bce7 from'./revisionssidebartimeperiodview';import _0x238862 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x27dc02}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1b5b8f{constructor(_0x55901b,_0x3f3935,_0x22f3e0){super(_0x55901b);const _0x5b2096=this[_0x1c24('0x15')];this[_0x1c24('0xb')]=this[_0x1c24('0x1f')](),this[_0x1c24('0xb')]['delegate'](_0x1c24('0x1c'))['to'](this),this['timePeriodViews'][_0x1c24('0x1d')]('setName')['to'](this),this[_0x1c24('0xf')]=_0x3f3935,this[_0x1c24('0x22')]=_0x22f3e0,this['on'](_0x1c24('0x1c'),(_0x338757,_0x799736)=>{this['fire'](_0x1c24('0x0'),_0x799736);}),this['on']('setName',(_0x573896,_0x16007f)=>{this[_0x1c24('0x17')](_0x1c24('0x8'),_0x16007f);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':_0x1c24('0x23'),'attributes':{'class':['ck','ck-reset',_0x1c24('0x1b'),_0x1c24('0x24')]},'children':[new _0x238862(_0x55901b),{'tag':_0x1c24('0x23'),'attributes':{'class':['ck',_0x1c24('0x18'),_0x5b2096['if'](_0x1c24('0x21'),_0x1c24('0x10'),_0x404e4e=>!_0x404e4e)]},'children':this[_0x1c24('0xb')]}]});}[_0x1c24('0xe')](){super[_0x1c24('0xe')]();for(const _0x5a6a08 of this[_0x1c24('0xf')])this[_0x1c24('0x3')](_0x5a6a08);this[_0x1c24('0xf')]['on'](_0x1c24('0x20'),(_0x5f25e9,_0x2796f1)=>{this[_0x1c24('0x3')](_0x2796f1);}),this[_0x1c24('0xf')]['on'](_0x1c24('0x19'),(_0x33389f,_0x2035a1)=>{this[_0x1c24('0x7')](_0x2035a1);});}get[_0x1c24('0x9')](){return this[_0x1c24('0xb')][_0x1c24('0x1a')](_0x542f3e=>_0x542f3e['revisionViews'][_0x1c24('0x1a')](_0xc3bdbb=>_0xc3bdbb))[_0x1c24('0x1e')]();}['selectRevision'](_0x5a46b8){for(const _0x280031 of this[_0x1c24('0x9')])_0x5a46b8&&_0x5a46b8['id']===_0x280031['id']?_0x280031['select']():_0x280031[_0x1c24('0x16')]();}['highlightRevisions'](_0x425f3d){for(const _0xca077c of this[_0x1c24('0x9')])_0x425f3d[_0x1c24('0x12')](({id:_0x5285ff})=>_0x5285ff===_0xca077c['id'])?_0xca077c[_0x1c24('0x11')]():_0xca077c[_0x1c24('0x1')]();}['_addRevision'](_0x48823b){const _0x3a1790=_0x27dc02(_0x48823b[_0x1c24('0x5')],this['locale']['uiLanguage'])[_0x1c24('0xa')];let _0x520df0=this[_0x1c24('0xb')][_0x1c24('0xc')](0x0);_0x520df0&&_0x520df0[_0x1c24('0xa')][_0x1c24('0xd')]()===_0x3a1790['getTime']()||(_0x520df0=new _0x23bce7(this['locale'],_0x3a1790,this[_0x1c24('0x22')]),this[_0x1c24('0xb')]['add'](_0x520df0)),_0x520df0['addRevision'](_0x48823b);}[_0x1c24('0x7')](_0x1259de){const _0x5b825c=_0x27dc02(_0x1259de['createdAt'],this[_0x1c24('0x14')][_0x1c24('0x6')])[_0x1c24('0xa')];this[_0x1c24('0x13')](_0x5b825c)[_0x1c24('0x4')](_0x1259de);}[_0x1c24('0x13')](_0x190041){return this[_0x1c24('0xb')][_0x1c24('0x2')](_0x4052ec=>_0x4052ec[_0x1c24('0xa')][_0x1c24('0xd')]()===_0x190041[_0x1c24('0xd')]());}}
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')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cb6=['year','day','minus','hasSame','local','fromJSDate','toRelativeCalendar','startOf','toJSDate','week'];(function(_0x19e2c0,_0x5cb602){const _0x379026=function(_0x59433c){while(--_0x59433c){_0x19e2c0['push'](_0x19e2c0['shift']());}};_0x379026(++_0x5cb602);}(_0x5cb6,0xd0));const _0x3790=function(_0x19e2c0,_0x5cb602){_0x19e2c0=_0x19e2c0-0x0;let _0x379026=_0x5cb6[_0x19e2c0];return _0x379026;};import{DateTime as _0x3d726d}from'luxon';export function getDateTimePeriodInfo(_0x86f867,_0x407c2d){const _0x1f5d85=_0x3d726d[_0x3790('0x7')](_0x86f867)['setLocale'](_0x407c2d),_0x4bcc70=_0x3d726d[_0x3790('0x6')](),_0x10fd0c=_0x4bcc70[_0x3790('0x4')]({'days':0x1})['startOf']('day');let _0x2cb30c,_0x140c90;return _0x1f5d85[_0x3790('0x5')](_0x4bcc70,_0x3790('0x3'))?(_0x2cb30c=_0x1f5d85[_0x3790('0x9')](_0x3790('0x3'))[_0x3790('0x0')](),_0x140c90=_0x1f5d85[_0x3790('0x8')]()):_0x1f5d85[_0x3790('0x5')](_0x10fd0c,_0x3790('0x3'))?(_0x2cb30c=_0x10fd0c[_0x3790('0x0')](),_0x140c90=_0x1f5d85[_0x3790('0x8')]()):_0x1f5d85[_0x3790('0x5')](_0x4bcc70,_0x3790('0x1'))?(_0x2cb30c=_0x1f5d85['startOf']('week')['toJSDate'](),_0x140c90=_0x1f5d85['weekdayLong']||''):_0x1f5d85[_0x3790('0x5')](_0x4bcc70,'year')?(_0x2cb30c=_0x1f5d85[_0x3790('0x9')]('month')[_0x3790('0x0')](),_0x140c90=_0x1f5d85['monthLong']||''):(_0x2cb30c=_0x1f5d85[_0x3790('0x9')](_0x3790('0x2'))[_0x3790('0x0')](),_0x140c90=String(_0x1f5d85['year'])),{'startDate':_0x2cb30c,'localizedPeriodName':_0x140c90};}
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};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f24=['ck-annotation','setTemplate','_model','span','bindTemplate','Suggested\x20by','changeId','div','add','data','element','ck-revision-change','focus','type','name'];(function(_0x21d9c4,_0x5f2424){const _0x5d2b7f=function(_0x306eee){while(--_0x306eee){_0x21d9c4['push'](_0x21d9c4['shift']());}};_0x5d2b7f(++_0x5f2424);}(_0x5f24,0xf2));const _0x5d2b=function(_0x21d9c4,_0x5f2424){_0x21d9c4=_0x21d9c4-0x0;let _0x5d2b7f=_0x5f24[_0x21d9c4];return _0x5d2b7f;};import{View as _0x2e4ec2}from'ckeditor5/src/ui';import{getTranslation as _0x6e4b72}from'../../utils/common-translations';export default class Z extends _0x2e4ec2{constructor(_0x10b7f0,_0x5e089e){super(_0x10b7f0),this[_0x5d2b('0x0')]=_0x5e089e,this[_0x5d2b('0x4')]=_0x5e089e['id'];const _0x3fe513=this[_0x5d2b('0x2')],_0x4e57d7=_0x6e4b72(_0x10b7f0,_0x5e089e[_0x5d2b('0x7')]['isSuggestion']?_0x5d2b('0x3'):_0x5d2b('0x6')==_0x5e089e[_0x5d2b('0xb')]?'Added\x20by':'Removed\x20by');this['set'](_0x5d2b('0xb'),_0x5e089e['type']),this[_0x5d2b('0xe')]({'tag':_0x5d2b('0x5'),'attributes':{'class':[_0x5d2b('0xd'),_0x5d2b('0x9'),_0x3fe513['to']('type',_0x2ae2bf=>'ck-revision-change__'+_0x2ae2bf)],'tabindex':-0x1},'children':[{'tag':_0x5d2b('0x1'),'children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4e57d7}]},{'text':'\x20'+_0x5e089e['author'][_0x5d2b('0xc')]}]}]});}[_0x5d2b('0xa')](){this[_0x5d2b('0x8')][_0x5d2b('0xa')]();}}
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']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x541b=['div','_statusText','isForwardNavigationEnabled','fire','Show\x20next\x20change','set','backward','currentChangeNumber','Show\x20previous\x20change','ck-hidden','ck-revision-history-ui__changes-navigation','isEnabled','span','bind','isReady','setTemplate','NUMBER_OF_CHANGES','X_OF_Y_CHANGES','No\x20changes','forward','ck-revision-history-ui','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','EDIT_X_OF_Y_REVISIONS','Total','numberOfChanges','_isStatusLabelVisible','isNavigationMode','execute'];(function(_0x589c52,_0x541be2){const _0x365066=function(_0x77256d){while(--_0x77256d){_0x589c52['push'](_0x589c52['shift']());}};_0x365066(++_0x541be2);}(_0x541b,0x1d8));const _0x3650=function(_0x589c52,_0x541be2){_0x589c52=_0x589c52-0x0;let _0x365066=_0x541b[_0x589c52];return _0x365066;};import{View as _0x49eb54,ButtonView as _0x352a40,ToolbarSeparatorView as _0x469e84}from'ckeditor5/src/ui';import{getTranslation as _0x4b7796}from'../../utils/common-translations';import _0x5c815f from'../../../theme/icons/arrow-up.svg';import _0x5541b8 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x49eb54{constructor(_0x46ea43){super(_0x46ea43);const _0xd29fee=this['bindTemplate'],_0x1cbe8c=new _0x352a40(_0x46ea43),_0x340633=new _0x352a40(_0x46ea43);this[_0x3650('0x1a')]('isNavigationMode',!0x1),this[_0x3650('0x1a')](_0x3650('0x6'),!0x1),this[_0x3650('0x1a')]('currentChangeNumber',0x0),this['set'](_0x3650('0x11'),0x0),this[_0x3650('0x1a')](_0x3650('0x17'),!0x1),this['set'](_0x3650('0xd'),!0x1),this[_0x3650('0x5')](_0x3650('0x12'))['to'](this,_0x3650('0x6'),this,'numberOfChanges',(_0xb5eb07,_0x595df5)=>_0xb5eb07&&_0x595df5>0x0),this[_0x3650('0x5')]('_statusText')['to'](this,'isReady',this,_0x3650('0x1c'),this,_0x3650('0x11'),this,_0x3650('0x13'),(_0x20c27c,_0x4332b3,_0x50836d,_0x366a1c)=>{if(!_0x20c27c)return _0x4b7796(_0x46ea43,'Loading...');if(!_0x50836d)return _0x4b7796(_0x46ea43,_0x3650('0xa'));const _0x19ec6c=_0x4b7796(_0x46ea43,_0x3650('0x8'),_0x50836d);return _0x366a1c?_0x4b7796(_0x46ea43,_0x3650('0x9'),[_0x4332b3+0x1,_0x50836d]):_0x19ec6c;}),_0x1cbe8c[_0x3650('0x1a')]({'label':_0x4b7796(_0x46ea43,_0x3650('0x0')),'tooltip':!0x0,'icon':_0x5c815f}),_0x340633[_0x3650('0x1a')]({'label':_0x4b7796(_0x46ea43,_0x3650('0x19')),'tooltip':!0x0,'icon':_0x5541b8}),_0x1cbe8c[_0x3650('0x5')](_0x3650('0x3'))['to'](this,'isBackwardNavigationEnabled'),_0x340633[_0x3650('0x5')]('isEnabled')['to'](this,_0x3650('0x17')),_0x1cbe8c['on']('execute',()=>this[_0x3650('0x18')](_0x3650('0x14'),_0x3650('0x1b'))),_0x340633['on'](_0x3650('0x14'),()=>this[_0x3650('0x18')](_0x3650('0x14'),_0x3650('0xb'))),this[_0x3650('0x7')]({'tag':_0x3650('0x15'),'attributes':{'class':['ck',_0x3650('0xc'),_0x3650('0x2')]},'children':[{'tag':_0x3650('0x4'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':_0x3650('0x4'),'attributes':{'class':[_0x3650('0xe'),_0xd29fee['if'](_0x3650('0x12'),_0x3650('0x1'),_0x5d9cf0=>!_0x5d9cf0)]},'children':[{'text':_0xd29fee['to']('isNavigationMode',_0x50a523=>_0x50a523?_0x4b7796(_0x46ea43,_0x3650('0xf'))+':\x20':_0x4b7796(_0x46ea43,_0x3650('0x10'))+':\x20')}]},{'text':_0xd29fee['to'](_0x3650('0x16'))}]},new _0x469e84(),{'tag':_0x3650('0x15'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1cbe8c,_0x340633]}]});}}
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]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4716=['editor','pluginName','change','roots','addClass','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay','hide','view','document','show','editing'];(function(_0x37478f,_0x471690){const _0x4dd7f2=function(_0xe41eb8){while(--_0xe41eb8){_0x37478f['push'](_0x37478f['shift']());}};_0x4dd7f2(++_0x471690);}(_0x4716,0x14c));const _0x4dd7=function(_0x37478f,_0x471690){_0x37478f=_0x37478f-0x0;let _0x4dd7f2=_0x4716[_0x37478f];return _0x4dd7f2;};import{Plugin as _0x20bd78}from'ckeditor5/src/core';const oe=_0x4dd7('0x9');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x20bd78{static get[_0x4dd7('0x5')](){return _0x4dd7('0xa');}[_0x4dd7('0x2')](){const _0x325f4a=this[_0x4dd7('0x4')][_0x4dd7('0x3')][_0x4dd7('0x0')];_0x325f4a[_0x4dd7('0x6')](_0x5a90f0=>{for(const _0x43d013 of _0x325f4a[_0x4dd7('0x1')][_0x4dd7('0x7')])_0x5a90f0[_0x4dd7('0x8')](oe,_0x43d013);});}[_0x4dd7('0xb')](){const _0x5a4f7a=this['editor'][_0x4dd7('0x3')]['view'];_0x5a4f7a[_0x4dd7('0x6')](_0x357ba5=>{for(const _0xad3cb5 of _0x5a4f7a['document'][_0x4dd7('0x7')])_0x357ba5['removeClass'](oe,_0xad3cb5);});}}
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);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cc5=['add','RevisionViewerUI','isNavigationMode','ck-revision-history-ui__back-to-editing','Restore\x20this\x20revision','showNextChange','isReady','Back\x20to\x20editing','editor','componentFactory','commands','show','plugins','get','isEnabled','init','revisionHistory','currentChangeNumber','showPreviousChange','execute','restoreRevision','isForwardNavigationEnabled','changesNavigation','requires','listenTo','bind','forward','config'];(function(_0x445fde,_0x1cc5bb){const _0x1c2631=function(_0xcf22a8){while(--_0xcf22a8){_0x445fde['push'](_0x445fde['shift']());}};_0x1c2631(++_0x1cc5bb);}(_0x1cc5,0x183));const _0x1c26=function(_0x445fde,_0x1cc5bb){_0x445fde=_0x445fde-0x0;let _0x1c2631=_0x1cc5[_0x445fde];return _0x1c2631;};import{Plugin as _0x1dd493}from'ckeditor5/src/core';import{ButtonView as _0x128f76}from'ckeditor5/src/ui';import _0x17b8be from'./changesnavigationview';import _0x3346fa from'./../../revisionviewer';import _0x38907a from'./revisionviewerloadingoverlay';import{getTranslation as _0xc1592d}from'../../utils/common-translations';import _0x438622 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x1dd493{static get['pluginName'](){return _0x1c26('0x6');}static get[_0x1c26('0x0')](){return[_0x3346fa,_0x38907a];}[_0x1c26('0x14')](){const _0x5e04a2=this[_0x1c26('0xd')],_0x11f0f6=_0x5e04a2[_0x1c26('0x11')]['get'](_0x3346fa),_0x31c927=_0x5e04a2[_0x1c26('0x11')]['get'](_0x38907a);_0x5e04a2['ui'][_0x1c26('0xe')][_0x1c26('0x5')]('exitToEditing',_0x1042e1=>{const _0x7eb10a=new _0x128f76(_0x1042e1);return _0x7eb10a['set']({'label':_0xc1592d(_0x1042e1,_0x1c26('0xc')),'icon':_0x438622,'withText':!0x0,'tooltip':!0x0,'class':_0x1c26('0x8')}),this[_0x1c26('0x1')](_0x7eb10a,_0x1c26('0x18'),()=>{_0x5e04a2[_0x1c26('0x4')][_0x1c26('0x12')](_0x1c26('0x15'))['closeRevisionViewerCallback']();}),_0x7eb10a;}),_0x5e04a2['ui']['componentFactory'][_0x1c26('0x5')]('restoreRevision',_0xd68063=>{const _0x56d79b=new _0x128f76(_0xd68063);return _0x56d79b['set']({'label':_0xc1592d(_0xd68063,_0x1c26('0x9')),'withText':!0x0,'tooltip':!0x0}),_0x56d79b[_0x1c26('0x2')]('isEnabled')['to'](_0x5e04a2['commands']['get'](_0x1c26('0x19'))),this[_0x1c26('0x1')](_0x56d79b,_0x1c26('0x18'),()=>_0x5e04a2[_0x1c26('0x18')]('restoreRevision')),_0x56d79b;}),_0x5e04a2['ui'][_0x1c26('0xe')][_0x1c26('0x5')](_0x1c26('0x1b'),_0x10d97c=>{const _0x3e348f=new _0x17b8be(_0x10d97c),_0xdf354c=_0x5e04a2[_0x1c26('0xf')][_0x1c26('0x12')]('showPreviousChange'),_0x4847dd=_0x5e04a2[_0x1c26('0xf')]['get'](_0x1c26('0xa'));return _0x3e348f[_0x1c26('0x2')]('isBackwardNavigationEnabled')['to'](_0xdf354c,_0x1c26('0x13')),_0x3e348f[_0x1c26('0x2')](_0x1c26('0x1a'))['to'](_0x4847dd,_0x1c26('0x13')),_0x3e348f[_0x1c26('0x2')](_0x1c26('0xb'),_0x1c26('0x16'),'numberOfChanges',_0x1c26('0x7'))['to'](_0x11f0f6),this[_0x1c26('0x1')](_0x3e348f,_0x1c26('0x18'),(_0x4326f3,_0x38157a)=>{_0x5e04a2[_0x1c26('0x18')](_0x1c26('0x3')===_0x38157a?_0x1c26('0xa'):_0x1c26('0x17'));}),_0x3e348f;}),_0x31c927[_0x1c26('0x10')](),_0x11f0f6['on']('change:isReady',(_0x100f77,_0x62eaa9,_0x49c11a)=>{_0x49c11a?_0x31c927['hide']():_0x31c927[_0x1c26('0x10')]();});}}
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')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3874ac,_0x2b5391,_0x4d1aeb){const t=_0x3874ac['t'];switch(_0x2b5391){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'},_0x4d1aeb);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4d1aeb);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 _0x2b5391;}}
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;}}