@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231011.0 → 0.0.0-nightly-20231012.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 _0x4cfb=['cancel','history','add','Revision\x20history','isReadOnly','showRevisionViewerCallback','RevisionTracker','revisionName','set','editor','isEnabled','init','revisionHistory','panelView','addMany','focus','plugins','children','RevisionHistoryUI','remove','isReady','Save\x20current\x20revision','length','submit','execute','get','saveButtonView','componentFactory','bind','saveRevision','change:isOpen','buttonView','config','reset'];(function(_0x426a45,_0x4cfbf5){const _0x51bace=function(_0x31417){while(--_0x31417){_0x426a45['push'](_0x426a45['shift']());}};_0x51bace(++_0x4cfbf5);}(_0x4cfb,0x17b));const _0x51ba=function(_0x426a45,_0x4cfbf5){_0x426a45=_0x426a45-0x0;let _0x51bace=_0x4cfb[_0x426a45];return _0x51bace;};import{Plugin as _0x49e984,icons as _0x28bb98}from'ckeditor5/src/core';import{ListView as _0xb1935c,ListItemView as _0x9bfbb7,ButtonView as _0x399cb8,createDropdown as _0xb46018}from'ckeditor5/src/ui';import _0x320e4a from'../../revisiontracker';import _0x5c93cd from'./revisionhistorysaverevisionformview';import{getTranslation as _0x65dd86}from'../../utils/common-translations';export default class u extends _0x49e984{static get['pluginName'](){return _0x51ba('0xd');}static get['requires'](){return[_0x320e4a];}[_0x51ba('0x6')](){const _0x126fe8=this[_0x51ba('0x4')],_0x2af799=_0x126fe8[_0x51ba('0xb')][_0x51ba('0x14')](_0x51ba('0x1'));_0x126fe8['ui'][_0x51ba('0x16')][_0x51ba('0x1f')]('revisionHistory',_0x2c9e99=>{const _0x823a47=_0xb46018(_0x2c9e99),_0x4487dd=_0x823a47[_0x51ba('0x8')][_0x51ba('0xc')],_0x59056e=new _0xb1935c(_0x2c9e99),_0x2b84b9=new _0x9bfbb7(_0x2c9e99),_0x34d6ce=new _0x399cb8(_0x2c9e99),_0x4d4054=new _0x9bfbb7(_0x2c9e99),_0x50ab1b=new _0x399cb8(_0x2c9e99),_0x39cbf6=new _0x5c93cd(_0x2c9e99);function _0x1a3f4f(){_0x4487dd['length']&&_0x4487dd[_0x51ba('0xe')](0x0),_0x4487dd[_0x51ba('0x1f')](_0x59056e);}function _0x852152(){_0x823a47['isOpen']=!0x1,_0x126fe8['editing']['view'][_0x51ba('0xa')]();}return _0x823a47[_0x51ba('0x17')](_0x51ba('0x5'))['to'](_0x2af799,_0x51ba('0xf'),_0x2af799,_0x51ba('0x5'),_0x126fe8,_0x51ba('0x21'),(_0x4cc760,_0x5e5d99,_0x4e211a)=>_0x4cc760&&_0x5e5d99&&!_0x4e211a),_0x823a47[_0x51ba('0x1a')]['set']({'icon':_0x28bb98[_0x51ba('0x1e')],'label':_0x65dd86(_0x2c9e99,_0x51ba('0x20')),'tooltip':!0x0}),_0x34d6ce[_0x51ba('0x3')]({'label':_0x65dd86(_0x2c9e99,_0x51ba('0x10')),'withText':!0x0}),_0x34d6ce[_0x51ba('0x17')](_0x51ba('0x5'))['to'](_0x2af799,_0x51ba('0xf'),_0x2af799,_0x51ba('0x5'),_0x126fe8,_0x51ba('0x21'),(_0x51c90f,_0x411939,_0x5b0c2d)=>_0x51c90f&&_0x411939&&!_0x5b0c2d),_0x34d6ce['on'](_0x51ba('0x13'),()=>function(){_0x4487dd[_0x51ba('0x11')]&&_0x4487dd[_0x51ba('0xe')](0x0),(_0x39cbf6[_0x51ba('0x1c')](),_0x4487dd[_0x51ba('0x1f')](_0x39cbf6),_0x39cbf6['focus']());}()),_0x50ab1b[_0x51ba('0x3')]({'label':_0x65dd86(_0x2c9e99,'Open\x20revision\x20history'),'withText':!0x0}),_0x50ab1b[_0x51ba('0x17')](_0x51ba('0x5'))['to'](_0x2af799,'isReady',_0x126fe8,'isReadOnly',(_0x4ea4e7,_0x1bb928)=>_0x4ea4e7&&!_0x1bb928),_0x50ab1b['on'](_0x51ba('0x13'),()=>{_0x126fe8[_0x51ba('0x1b')][_0x51ba('0x14')](_0x51ba('0x7'))[_0x51ba('0x0')](),_0x852152();}),_0x2b84b9[_0x51ba('0xc')][_0x51ba('0x1f')](_0x34d6ce),_0x4d4054[_0x51ba('0xc')]['add'](_0x50ab1b),_0x59056e['items'][_0x51ba('0x9')]([_0x2b84b9,_0x4d4054]),_0x823a47['on'](_0x51ba('0x19'),()=>_0x1a3f4f()),_0x39cbf6[_0x51ba('0x15')][_0x51ba('0x17')](_0x51ba('0x5'))['to'](_0x2af799,_0x51ba('0xf'),_0x2af799,'isEnabled',_0x126fe8,_0x51ba('0x21'),(_0x47fbb9,_0x546334,_0x48fc22)=>_0x47fbb9&&_0x546334&&!_0x48fc22),_0x39cbf6['on'](_0x51ba('0x12'),()=>(_0x126fe8[_0x51ba('0xb')][_0x51ba('0x14')](_0x320e4a)[_0x51ba('0x18')]({'name':_0x39cbf6[_0x51ba('0x2')]}),void _0x852152())),_0x39cbf6['on'](_0x51ba('0x1d'),()=>_0x1a3f4f()),_0x39cbf6['render'](),_0x1a3f4f(),_0x823a47;});}}
23
+ const _0x29b8=['cancel','length','showRevisionViewerCallback','saveButtonView','config','change:isOpen','editor','buttonView','isReadOnly','revisionHistory','revisionName','set','panelView','Save\x20current\x20revision','Revision\x20history','addMany','componentFactory','items','render','Open\x20revision\x20history','plugins','saveRevision','get','add','remove','children','focus','view','bind','pluginName','isReady','isEnabled','execute'];(function(_0x4a66ae,_0x29b832){const _0xacd35a=function(_0x648479){while(--_0x648479){_0x4a66ae['push'](_0x4a66ae['shift']());}};_0xacd35a(++_0x29b832);}(_0x29b8,0x19c));const _0xacd3=function(_0x4a66ae,_0x29b832){_0x4a66ae=_0x4a66ae-0x0;let _0xacd35a=_0x29b8[_0x4a66ae];return _0xacd35a;};import{Plugin as _0x3c4539,icons as _0x28f8a0}from'ckeditor5/src/core';import{ListView as _0x290c31,ListItemView as _0x526715,ButtonView as _0x59bd3c,createDropdown as _0x292efe}from'ckeditor5/src/ui';import _0x4711ab from'../../revisiontracker';import _0x43d6b4 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x1a21a9}from'../../utils/common-translations';export default class u extends _0x3c4539{static get[_0xacd3('0xd')](){return'RevisionHistoryUI';}static get['requires'](){return[_0x4711ab];}['init'](){const _0x2800c4=this[_0xacd3('0x17')],_0xd84985=_0x2800c4[_0xacd3('0x4')][_0xacd3('0x6')]('RevisionTracker');_0x2800c4['ui'][_0xacd3('0x0')][_0xacd3('0x7')](_0xacd3('0x1a'),_0x5956f1=>{const _0x171af8=_0x292efe(_0x5956f1),_0x30e966=_0x171af8[_0xacd3('0x1d')][_0xacd3('0x9')],_0x29fc73=new _0x290c31(_0x5956f1),_0xeff1c5=new _0x526715(_0x5956f1),_0x160ee6=new _0x59bd3c(_0x5956f1),_0xdedd0c=new _0x526715(_0x5956f1),_0x36a1e7=new _0x59bd3c(_0x5956f1),_0x38452d=new _0x43d6b4(_0x5956f1);function _0x87e2c(){_0x30e966[_0xacd3('0x12')]&&_0x30e966[_0xacd3('0x8')](0x0),_0x30e966['add'](_0x29fc73);}function _0xd31c4c(){_0x171af8['isOpen']=!0x1,_0x2800c4['editing'][_0xacd3('0xb')]['focus']();}return _0x171af8[_0xacd3('0xc')](_0xacd3('0xf'))['to'](_0xd84985,_0xacd3('0xe'),_0xd84985,_0xacd3('0xf'),_0x2800c4,_0xacd3('0x19'),(_0x3585ab,_0x3af2a0,_0x31c004)=>_0x3585ab&&_0x3af2a0&&!_0x31c004),_0x171af8[_0xacd3('0x18')][_0xacd3('0x1c')]({'icon':_0x28f8a0['history'],'label':_0x1a21a9(_0x5956f1,_0xacd3('0x1f')),'tooltip':!0x0}),_0x160ee6[_0xacd3('0x1c')]({'label':_0x1a21a9(_0x5956f1,_0xacd3('0x1e')),'withText':!0x0}),_0x160ee6[_0xacd3('0xc')](_0xacd3('0xf'))['to'](_0xd84985,'isReady',_0xd84985,_0xacd3('0xf'),_0x2800c4,_0xacd3('0x19'),(_0x51312a,_0x21d7a8,_0xfc532)=>_0x51312a&&_0x21d7a8&&!_0xfc532),_0x160ee6['on'](_0xacd3('0x10'),()=>function(){_0x30e966[_0xacd3('0x12')]&&_0x30e966['remove'](0x0),(_0x38452d['reset'](),_0x30e966[_0xacd3('0x7')](_0x38452d),_0x38452d[_0xacd3('0xa')]());}()),_0x36a1e7[_0xacd3('0x1c')]({'label':_0x1a21a9(_0x5956f1,_0xacd3('0x3')),'withText':!0x0}),_0x36a1e7['bind'](_0xacd3('0xf'))['to'](_0xd84985,'isReady',_0x2800c4,_0xacd3('0x19'),(_0x29a4a2,_0x1b837c)=>_0x29a4a2&&!_0x1b837c),_0x36a1e7['on'](_0xacd3('0x10'),()=>{_0x2800c4[_0xacd3('0x15')][_0xacd3('0x6')](_0xacd3('0x1a'))[_0xacd3('0x13')](),_0xd31c4c();}),_0xeff1c5[_0xacd3('0x9')][_0xacd3('0x7')](_0x160ee6),_0xdedd0c[_0xacd3('0x9')][_0xacd3('0x7')](_0x36a1e7),_0x29fc73[_0xacd3('0x1')][_0xacd3('0x20')]([_0xeff1c5,_0xdedd0c]),_0x171af8['on'](_0xacd3('0x16'),()=>_0x87e2c()),_0x38452d[_0xacd3('0x14')]['bind'](_0xacd3('0xf'))['to'](_0xd84985,_0xacd3('0xe'),_0xd84985,'isEnabled',_0x2800c4,'isReadOnly',(_0x4101b7,_0x14367c,_0xf563f8)=>_0x4101b7&&_0x14367c&&!_0xf563f8),_0x38452d['on']('submit',()=>(_0x2800c4[_0xacd3('0x4')][_0xacd3('0x6')](_0x4711ab)[_0xacd3('0x5')]({'name':_0x38452d[_0xacd3('0x1b')]}),void _0xd31c4c())),_0x38452d['on'](_0xacd3('0x11'),()=>_0x87e2c()),_0x38452d[_0xacd3('0x2')](),_0x87e2c(),_0x171af8;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7ec2=['config','revisionSelected','render','data','bind','diff','Restore\x20this\x20revision','newRevisionId','isReady','restoreRevision','RevisionsSidebar','length','getRevisionsInDiff','_handleDiffChange','highlightRevisions','add','init','_createRevisionActions','change:diff','ready','plugins','revisionHistory.revisionActions','isEnabled','appendChild','destroy','isVisible','action','defaultRevisionActions','element','_handleEditorDataReady','compare','_revisionViewer','_handleRevisionSetName','revisionViews','listenTo','_revisions','name','_sidebarView','repository','setName','compareAgainstSelected','getLaterVisibleRevision','getEarlierVisibleRevision','availableRevisionActions','select','getRevision','Compare\x20against\x20selected','get','restoreRevisionCallback','assign','revisionHistory.viewerSidebarContainer','fieldView','_revisionsRepository','_handleRevisionSelected','getIndex','pluginName','focus','editor','selectRevision','revisionSetName'];(function(_0x160e05,_0x181592){const _0x474979=function(_0x12fab3){while(--_0x12fab3){_0x160e05['push'](_0x160e05['shift']());}};_0x474979(++_0x181592);}(_0x7ec2,0xc0));const _0x1815=function(_0x160e05,_0x181592){_0x160e05=_0x160e05-0x0;let _0x474979=_0x7ec2[_0x160e05];return _0x474979;};import{Plugin as _0xb24d11}from'ckeditor5/src/core';import _0x9cd1fc from'./revisionssidebarview';import _0x419dd7 from'../../revisionviewer';export default class w extends _0xb24d11{static get[_0x1815('0x2b')](){return _0x1815('0x3a');}static get['requires'](){return[_0x419dd7];}constructor(_0x46c704){super(_0x46c704),this[_0x1815('0x13')]=_0x46c704[_0x1815('0x8')]['get'](_0x419dd7),this[_0x1815('0x28')]=this[_0x1815('0x13')][_0x1815('0x1a')],this[_0x1815('0x19')]=null;}[_0x1815('0x4')](){const _0x26e503=this[_0x1815('0x28')][_0x1815('0x17')],_0x307592=this[_0x1815('0x5')](),_0x7d7e25=this[_0x1815('0x2d')][_0x1815('0x30')][_0x1815('0x23')](_0x1815('0x26'));this['_sidebarView']=new _0x9cd1fc(this[_0x1815('0x2d')]['locale'],_0x26e503,_0x307592),this[_0x1815('0x19')]['on'](_0x1815('0x31'),this[_0x1815('0x29')][_0x1815('0x34')](this)),this[_0x1815('0x19')]['on'](_0x1815('0x2f'),this[_0x1815('0x14')]['bind'](this)),this['_sidebarView'][_0x1815('0x34')](_0x1815('0xa'))['to'](this[_0x1815('0x13')]),this['_sidebarView']['timePeriodViews']['on']('add',(_0x2e042f,_0x441762)=>{_0x441762[_0x1815('0x15')]['on'](_0x1815('0x3'),(_0x4c37d3,_0x20e817)=>{_0x20e817[_0x1815('0x34')](_0x1815('0xa'),_0x1815('0x38'))['to'](this[_0x1815('0x13')]);});}),this[_0x1815('0x19')][_0x1815('0x32')](),this[_0x1815('0x16')](this['editor'][_0x1815('0x33')],_0x1815('0x7'),this[_0x1815('0x11')]['bind'](this)),this['listenTo'](this[_0x1815('0x13')],_0x1815('0x6'),this[_0x1815('0x1')][_0x1815('0x34')](this)),_0x7d7e25[_0x1815('0xb')](this[_0x1815('0x19')][_0x1815('0x10')]);}[_0x1815('0xc')](){this[_0x1815('0x19')]['element']['remove'](),this[_0x1815('0x19')]['destroy']();}[_0x1815('0x11')](){const _0x3b0d97=this['_revisionsRepository'][_0x1815('0x21')](0x0);if(_0x3b0d97){const _0x1436aa=this[_0x1815('0x28')][_0x1815('0x1e')](_0x3b0d97['id']);this['_revisionViewer'][_0x1815('0x12')](_0x3b0d97,_0x1436aa);}}[_0x1815('0x29')](_0x2fa74e,_0x6831af){const _0x43cbb3=this[_0x1815('0x28')][_0x1815('0x21')](_0x6831af['id']),_0x5e9dd1=this[_0x1815('0x28')]['getEarlierVisibleRevision'](_0x43cbb3['id']);this[_0x1815('0x13')][_0x1815('0x12')](_0x43cbb3,_0x5e9dd1);}[_0x1815('0x14')](_0x40b5e5,_0x209571){this['_revisionsRepository']['getRevision'](_0x209571['id'])[_0x1815('0x1b')](_0x209571[_0x1815('0x18')]);}[_0x1815('0x1')](_0x410110,_0x3b971d,_0x443e53){const _0x2d043a=this[_0x1815('0x28')][_0x1815('0x0')](_0x443e53);_0x2d043a[_0x1815('0x3b')]>0x2?(this[_0x1815('0x19')][_0x1815('0x2')](_0x2d043a),this['_sidebarView'][_0x1815('0x2e')](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView'][_0x1815('0x2e')](_0x2d043a[0x0]));}['_createRevisionActions'](){const _0x124b79=this[_0x1815('0x2d')],_0x112e1b=w['availableRevisionActions'],_0x5709bf=_0x124b79[_0x1815('0x30')][_0x1815('0x23')](_0x1815('0x9'))||w['defaultRevisionActions'];if(_0x5709bf[_0x1815('0x3b')])return _0x5709bf['map'](_0x49f57b=>{const _0x3d57a8='string'==typeof _0x49f57b?Object[_0x1815('0x25')]({},_0x112e1b[_0x49f57b]):_0x49f57b;return _0x3d57a8[_0x1815('0xe')]=_0x3d57a8[_0x1815('0xe')][_0x1815('0x34')](this,_0x124b79),_0x3d57a8['isVisible']&&(_0x3d57a8['isVisible']=_0x3d57a8[_0x1815('0xd')][_0x1815('0x34')](this,_0x124b79)),_0x3d57a8;});}}w[_0x1815('0x1f')]={'compareAgainstSelected':{'name':_0x1815('0x22'),'action':({plugins:_0x5a1697},_0x461b8e)=>{const _0x182ccc=_0x5a1697[_0x1815('0x23')](_0x419dd7),_0x4753f2=_0x182ccc[_0x1815('0x1a')];let _0x2ef356=_0x182ccc[_0x1815('0x35')][_0x1815('0x37')],_0x232579=_0x461b8e['id'];_0x4753f2['getIndex'](_0x2ef356)>_0x4753f2[_0x1815('0x2a')](_0x232579)&&([_0x2ef356,_0x232579]=[_0x232579,_0x2ef356]),_0x182ccc[_0x1815('0x12')](_0x2ef356,_0x232579);},'isVisible':({plugins:_0x50ecea},_0x31a1ae)=>{const _0x57b211=_0x50ecea[_0x1815('0x23')](_0x419dd7);return!(_0x57b211[_0x1815('0x1a')][_0x1815('0x0')](_0x57b211[_0x1815('0x35')])[_0x1815('0x3b')]>0x2)&&!_0x31a1ae['isSelected'];}},'restoreRevision':{'name':_0x1815('0x36'),'action':(_0x1af8c7,{id:_0x18adf3})=>{_0x1af8c7[_0x1815('0x30')][_0x1815('0x23')]('revisionHistory')[_0x1815('0x24')](_0x18adf3);},'isVisible':({plugins:_0x3d1333},_0x1177ef)=>!!_0x3d1333[_0x1815('0x23')](_0x419dd7)[_0x1815('0x1a')][_0x1815('0x1d')](_0x1177ef['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x516498},{id:_0x596c4c,revisionNameView:_0x143e0e})=>{const _0x1f709f=_0x516498[_0x1815('0x23')](_0x419dd7),_0x257666=_0x1f709f[_0x1815('0x1a')][_0x1815('0x1e')](_0x596c4c);_0x1f709f['compare'](_0x596c4c,_0x257666),_0x143e0e[_0x1815('0x2c')](),_0x143e0e[_0x1815('0x27')][_0x1815('0x20')]();}}},w[_0x1815('0xf')]=[_0x1815('0x1c'),_0x1815('0x39'),'nameRevision'];
23
+ const _0x3054=['name','_createRevisionActions','_handleDiffChange','compare','revisionViews','Name\x20this\x20revision','getLaterVisibleRevision','appendChild','_sidebarView','revisionHistory','_revisionsRepository','getRevision','highlightRevisions','bind','_revisionViewer','listenTo','_handleRevisionSetName','locale','revisionSelected','RevisionsSidebar','isSelected','nameRevision','revisionHistory.revisionActions','repository','action','pluginName','setName','add','restoreRevision','editor','getRevisionsInDiff','timePeriodViews','isEnabled','select','_handleRevisionSelected','revisionHistory.viewerSidebarContainer','focus','getIndex','ready','destroy','_handleEditorDataReady','getEarlierVisibleRevision','init','data','length','render','defaultRevisionActions','availableRevisionActions','isVisible','plugins','get','fieldView'];(function(_0x2f19d8,_0x30546c){const _0x396ddf=function(_0x29dae5){while(--_0x29dae5){_0x2f19d8['push'](_0x2f19d8['shift']());}};_0x396ddf(++_0x30546c);}(_0x3054,0x12a));const _0x396d=function(_0x2f19d8,_0x30546c){_0x2f19d8=_0x2f19d8-0x0;let _0x396ddf=_0x3054[_0x2f19d8];return _0x396ddf;};import{Plugin as _0x574d8c}from'ckeditor5/src/core';import _0x13b4f0 from'./revisionssidebarview';import _0x2f4a08 from'../../revisionviewer';export default class w extends _0x574d8c{static get[_0x396d('0x27')](){return _0x396d('0x21');}static get['requires'](){return[_0x2f4a08];}constructor(_0x132ed3){super(_0x132ed3),this[_0x396d('0x1c')]=_0x132ed3[_0x396d('0xb')][_0x396d('0xc')](_0x2f4a08),this['_revisionsRepository']=this[_0x396d('0x1c')]['repository'],this[_0x396d('0x16')]=null;}[_0x396d('0x4')](){const _0x363beb=this['_revisionsRepository']['_revisions'],_0x3d9cde=this[_0x396d('0xf')](),_0x1dee41=this[_0x396d('0x2b')]['config'][_0x396d('0xc')](_0x396d('0x31'));this[_0x396d('0x16')]=new _0x13b4f0(this['editor'][_0x396d('0x1f')],_0x363beb,_0x3d9cde),this['_sidebarView']['on'](_0x396d('0x20'),this[_0x396d('0x30')][_0x396d('0x1b')](this)),this[_0x396d('0x16')]['on']('revisionSetName',this['_handleRevisionSetName'][_0x396d('0x1b')](this)),this[_0x396d('0x16')][_0x396d('0x1b')](_0x396d('0x2e'))['to'](this[_0x396d('0x1c')]),this[_0x396d('0x16')][_0x396d('0x2d')]['on'](_0x396d('0x29'),(_0x196703,_0x2543ca)=>{_0x2543ca[_0x396d('0x12')]['on'](_0x396d('0x29'),(_0x541b40,_0x498cae)=>{_0x498cae[_0x396d('0x1b')](_0x396d('0x2e'),'isReady')['to'](this['_revisionViewer']);});}),this[_0x396d('0x16')][_0x396d('0x7')](),this[_0x396d('0x1d')](this['editor'][_0x396d('0x5')],_0x396d('0x0'),this[_0x396d('0x2')][_0x396d('0x1b')](this)),this[_0x396d('0x1d')](this['_revisionViewer'],'change:diff',this[_0x396d('0x10')][_0x396d('0x1b')](this)),_0x1dee41[_0x396d('0x15')](this[_0x396d('0x16')]['element']);}[_0x396d('0x1')](){this[_0x396d('0x16')]['element']['remove'](),this[_0x396d('0x16')][_0x396d('0x1')]();}[_0x396d('0x2')](){const _0x4997e7=this[_0x396d('0x18')][_0x396d('0x19')](0x0);if(_0x4997e7){const _0x132098=this[_0x396d('0x18')][_0x396d('0x3')](_0x4997e7['id']);this[_0x396d('0x1c')]['compare'](_0x4997e7,_0x132098);}}[_0x396d('0x30')](_0x40cded,_0x1d6978){const _0x4aebd1=this[_0x396d('0x18')][_0x396d('0x19')](_0x1d6978['id']),_0x2911a3=this['_revisionsRepository'][_0x396d('0x3')](_0x4aebd1['id']);this[_0x396d('0x1c')]['compare'](_0x4aebd1,_0x2911a3);}[_0x396d('0x1e')](_0x2028ee,_0x1e4040){this['_revisionsRepository']['getRevision'](_0x1e4040['id'])[_0x396d('0x28')](_0x1e4040[_0x396d('0xe')]);}[_0x396d('0x10')](_0x10f007,_0x2796a1,_0x1152cc){const _0x6eb1e2=this['_revisionsRepository'][_0x396d('0x2c')](_0x1152cc);_0x6eb1e2['length']>0x2?(this[_0x396d('0x16')][_0x396d('0x1a')](_0x6eb1e2),this[_0x396d('0x16')]['selectRevision'](null)):(this[_0x396d('0x16')][_0x396d('0x1a')]([]),this[_0x396d('0x16')]['selectRevision'](_0x6eb1e2[0x0]));}['_createRevisionActions'](){const _0x5d03f4=this['editor'],_0x5a195e=w[_0x396d('0x9')],_0x3534cf=_0x5d03f4['config'][_0x396d('0xc')](_0x396d('0x24'))||w[_0x396d('0x8')];if(_0x3534cf[_0x396d('0x6')])return _0x3534cf['map'](_0xfe4028=>{const _0x1a6b0b='string'==typeof _0xfe4028?Object['assign']({},_0x5a195e[_0xfe4028]):_0xfe4028;return _0x1a6b0b['action']=_0x1a6b0b[_0x396d('0x26')]['bind'](this,_0x5d03f4),_0x1a6b0b['isVisible']&&(_0x1a6b0b[_0x396d('0xa')]=_0x1a6b0b['isVisible'][_0x396d('0x1b')](this,_0x5d03f4)),_0x1a6b0b;});}}w[_0x396d('0x9')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x162d93},_0x4982ea)=>{const _0x2985c7=_0x162d93[_0x396d('0xc')](_0x2f4a08),_0x52f3fd=_0x2985c7['repository'];let _0x19c2f1=_0x2985c7['diff']['newRevisionId'],_0x565da6=_0x4982ea['id'];_0x52f3fd[_0x396d('0x33')](_0x19c2f1)>_0x52f3fd[_0x396d('0x33')](_0x565da6)&&([_0x19c2f1,_0x565da6]=[_0x565da6,_0x19c2f1]),_0x2985c7[_0x396d('0x11')](_0x19c2f1,_0x565da6);},'isVisible':({plugins:_0x3266fa},_0x553f3c)=>{const _0x22a2e8=_0x3266fa['get'](_0x2f4a08);return!(_0x22a2e8[_0x396d('0x25')]['getRevisionsInDiff'](_0x22a2e8['diff'])[_0x396d('0x6')]>0x2)&&!_0x553f3c[_0x396d('0x22')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x14d280,{id:_0x1c2dbf})=>{_0x14d280['config'][_0x396d('0xc')](_0x396d('0x17'))['restoreRevisionCallback'](_0x1c2dbf);},'isVisible':({plugins:_0x18320f},_0x29858b)=>!!_0x18320f[_0x396d('0xc')](_0x2f4a08)[_0x396d('0x25')][_0x396d('0x14')](_0x29858b['id'])},'nameRevision':{'name':_0x396d('0x13'),'action':({plugins:_0x458c2e},{id:_0x4ddcc1,revisionNameView:_0x488c9d})=>{const _0x3cb07a=_0x458c2e[_0x396d('0xc')](_0x2f4a08),_0x10b47a=_0x3cb07a[_0x396d('0x25')]['getEarlierVisibleRevision'](_0x4ddcc1);_0x3cb07a['compare'](_0x4ddcc1,_0x10b47a),_0x488c9d[_0x396d('0x32')](),_0x488c9d[_0x396d('0xd')][_0x396d('0x2f')]();}}},w[_0x396d('0x8')]=['compareAgainstSelected',_0x396d('0x2a'),_0x396d('0x23')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e38=['ck-revision-history-sidebar__header__label','content','Revision\x20history','div','span','ck-revision-history-sidebar__header'];(function(_0x57f314,_0x2e387f){const _0x5b16c1=function(_0x3d1af0){while(--_0x3d1af0){_0x57f314['push'](_0x57f314['shift']());}};_0x5b16c1(++_0x2e387f);}(_0x2e38,0x1d5));const _0x5b16=function(_0x57f314,_0x2e387f){_0x57f314=_0x57f314-0x0;let _0x5b16c1=_0x2e38[_0x57f314];return _0x5b16c1;};import{View as _0x1a895a,IconView as _0x323324}from'ckeditor5/src/ui';import{getTranslation as _0x36a689}from'../../utils/common-translations';import{icons as _0x86b24c}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x1a895a{constructor(_0x1b65b5){super(_0x1b65b5);const _0x1f6176=new _0x323324();_0x1f6176[_0x5b16('0x0')]=_0x86b24c['history'],this['setTemplate']({'tag':_0x5b16('0x2'),'attributes':{'class':['ck','ck-reset_all',_0x5b16('0x4')]},'children':[_0x1f6176,{'tag':_0x5b16('0x3'),'attributes':{'class':['ck',_0x5b16('0x5')]},'children':[_0x36a689(_0x1b65b5,_0x5b16('0x1'))]}]});}}
23
+ const _0x2566=['history','ck-reset_all','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','content','Revision\x20history','setTemplate','span','div'];(function(_0x1dc654,_0x2566fa){const _0x1e0c3b=function(_0xea9b03){while(--_0xea9b03){_0x1dc654['push'](_0x1dc654['shift']());}};_0x1e0c3b(++_0x2566fa);}(_0x2566,0xe1));const _0x1e0c=function(_0x1dc654,_0x2566fa){_0x1dc654=_0x1dc654-0x0;let _0x1e0c3b=_0x2566[_0x1dc654];return _0x1e0c3b;};import{View as _0xfe04b5,IconView as _0x552eb1}from'ckeditor5/src/ui';import{getTranslation as _0x1bdc81}from'../../utils/common-translations';import{icons as _0x2a4dc1}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0xfe04b5{constructor(_0x40a8d1){super(_0x40a8d1);const _0x2ecb27=new _0x552eb1();_0x2ecb27[_0x1e0c('0x4')]=_0x2a4dc1[_0x1e0c('0x0')],this[_0x1e0c('0x6')]({'tag':_0x1e0c('0x8'),'attributes':{'class':['ck',_0x1e0c('0x1'),_0x1e0c('0x2')]},'children':[_0x2ecb27,{'tag':_0x1e0c('0x7'),'attributes':{'class':['ck',_0x1e0c('0x3')]},'children':[_0x1bdc81(_0x40a8d1,_0x1e0c('0x5'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db7=['add','setName','startDate','uiLanguage','_revisionActions','span','find','div','localizedPeriodName','ck-revision-history-sidebar__time-period__revisions','createCollection','locale','delegate','revisionViews'];(function(_0x3193a9,_0x4db7c0){const _0x1fdcd0=function(_0x1c59af){while(--_0x1c59af){_0x3193a9['push'](_0x3193a9['shift']());}};_0x1fdcd0(++_0x4db7c0);}(_0x4db7,0x134));const _0x1fdc=function(_0x3193a9,_0x4db7c0){_0x3193a9=_0x3193a9-0x0;let _0x1fdcd0=_0x4db7[_0x3193a9];return _0x1fdcd0;};import{View as _0x4d8232}from'ckeditor5/src/ui';import _0x4e4570 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x396522}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x4d8232{constructor(_0x2e5bf4,_0x2a3df5,_0x45d420){super(_0x2e5bf4);const _0x1befc4=_0x396522(_0x2a3df5,this[_0x1fdc('0xb')][_0x1fdc('0x3')])[_0x1fdc('0x8')];this[_0x1fdc('0x2')]=_0x2a3df5,this[_0x1fdc('0xd')]=this[_0x1fdc('0xa')](),this[_0x1fdc('0x4')]=_0x45d420,this[_0x1fdc('0xd')][_0x1fdc('0xc')]('select')['to'](this),this[_0x1fdc('0xd')]['delegate'](_0x1fdc('0x1'))['to'](this),this['setTemplate']({'tag':_0x1fdc('0x7'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x1fdc('0x5'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x1befc4}]},{'tag':'div','attributes':{'class':['ck',_0x1fdc('0x9')]},'children':this[_0x1fdc('0xd')]}]});}['addRevision'](_0x5caacb){const _0x32a780=new _0x4e4570(this[_0x1fdc('0xb')],_0x5caacb,this['_revisionActions']);this[_0x1fdc('0xd')][_0x1fdc('0x0')](_0x32a780);}['removeRevision'](_0x483998){const _0x1aa77b=this[_0x1fdc('0xd')][_0x1fdc('0x6')](_0x210d0d=>_0x210d0d['id']===_0x483998['id']);this[_0x1fdc('0xd')]['remove'](_0x1aa77b);}}
23
+ const _0x2f9c=['ck-revision-history-sidebar__time-period','find','setName','select','localizedPeriodName','revisionViews','startDate','createCollection','div','addRevision','_revisionActions','ck-revision-history-sidebar__time-period__label','locale','add','delegate','removeRevision','setTemplate'];(function(_0x14fc08,_0x2f9c63){const _0x58ada8=function(_0x1fdda2){while(--_0x1fdda2){_0x14fc08['push'](_0x14fc08['shift']());}};_0x58ada8(++_0x2f9c63);}(_0x2f9c,0xbc));const _0x58ad=function(_0x14fc08,_0x2f9c63){_0x14fc08=_0x14fc08-0x0;let _0x58ada8=_0x2f9c[_0x14fc08];return _0x58ada8;};import{View as _0x2c5a1f}from'ckeditor5/src/ui';import _0x37e769 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x237276}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x2c5a1f{constructor(_0x472535,_0x231b79,_0x45b9f5){super(_0x472535);const _0x59e798=_0x237276(_0x231b79,this[_0x58ad('0xb')]['uiLanguage'])[_0x58ad('0x3')];this[_0x58ad('0x5')]=_0x231b79,this['revisionViews']=this[_0x58ad('0x6')](),this[_0x58ad('0x9')]=_0x45b9f5,this[_0x58ad('0x4')][_0x58ad('0xd')](_0x58ad('0x2'))['to'](this),this[_0x58ad('0x4')][_0x58ad('0xd')](_0x58ad('0x1'))['to'](this),this[_0x58ad('0xf')]({'tag':'div','attributes':{'class':['ck',_0x58ad('0x10')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x58ad('0xa')]},'children':[{'text':_0x59e798}]},{'tag':_0x58ad('0x7'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0x58ad('0x4')]}]});}[_0x58ad('0x8')](_0xb79a34){const _0x3a7206=new _0x37e769(this[_0x58ad('0xb')],_0xb79a34,this[_0x58ad('0x9')]);this['revisionViews'][_0x58ad('0xc')](_0x3a7206);}[_0x58ad('0xe')](_0x2df439){const _0x4c0159=this['revisionViews'][_0x58ad('0x0')](_0x5f4d02=>_0x5f4d02['id']===_0x2df439['id']);this[_0x58ad('0x4')]['remove'](_0x4c0159);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c68=['revisionViews','deselect','uiLanguage','_revisionActions','set','addRevision','isEnabled','_removeRevision','ck-disabled','div','fire','createdAt','add','highlightRevisions','ck-rounded-corners','delegate','getTime','setName','_revisions','createCollection','revisionSetName','map','highlight','render','_getTimePeriodViewByStartDate','unhighlight','startDate','find','ck-reset','flat','locale','bindTemplate','select','remove','ck-revision-history-sidebar__timeline','timePeriodViews'];(function(_0x40cd3d,_0x2c685d){const _0x1b3e8a=function(_0x47388e){while(--_0x47388e){_0x40cd3d['push'](_0x40cd3d['shift']());}};_0x1b3e8a(++_0x2c685d);}(_0x2c68,0x174));const _0x1b3e=function(_0x40cd3d,_0x2c685d){_0x40cd3d=_0x40cd3d-0x0;let _0x1b3e8a=_0x2c68[_0x40cd3d];return _0x1b3e8a;};import{View as _0x5cdf3d}from'ckeditor5/src/ui';import _0x4979dd from'./revisionssidebartimeperiodview';import _0x47ab27 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0xb15b94}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x5cdf3d{constructor(_0x924d58,_0xcf8b8f,_0xb1e56e){super(_0x924d58);const _0x3f826d=this[_0x1b3e('0x13')];this[_0x1b3e('0x17')]=this[_0x1b3e('0x7')](),this['timePeriodViews'][_0x1b3e('0x3')](_0x1b3e('0x14'))['to'](this),this[_0x1b3e('0x17')]['delegate'](_0x1b3e('0x5'))['to'](this),this[_0x1b3e('0x6')]=_0xcf8b8f,this[_0x1b3e('0x1b')]=_0xb1e56e,this['on']('select',(_0x18c16d,_0x32a011)=>{this[_0x1b3e('0x22')]('revisionSelected',_0x32a011);}),this['on'](_0x1b3e('0x5'),(_0xfe758,_0x3eb92e)=>{this[_0x1b3e('0x22')](_0x1b3e('0x8'),_0x3eb92e);}),this[_0x1b3e('0x1c')]('isEnabled',!0x1),this['setTemplate']({'tag':_0x1b3e('0x21'),'attributes':{'class':['ck',_0x1b3e('0x10'),_0x1b3e('0x2'),'ck-revision-history-sidebar']},'children':[new _0x47ab27(_0x924d58),{'tag':_0x1b3e('0x21'),'attributes':{'class':['ck',_0x1b3e('0x16'),_0x3f826d['if'](_0x1b3e('0x1e'),_0x1b3e('0x20'),_0x3412a2=>!_0x3412a2)]},'children':this[_0x1b3e('0x17')]}]});}[_0x1b3e('0xb')](){super[_0x1b3e('0xb')]();for(const _0x4a2803 of this[_0x1b3e('0x6')])this['_addRevision'](_0x4a2803);this[_0x1b3e('0x6')]['on'](_0x1b3e('0x0'),(_0x3d39df,_0x15e595)=>{this['_addRevision'](_0x15e595);}),this[_0x1b3e('0x6')]['on'](_0x1b3e('0x15'),(_0x4ba0ba,_0x27dd32)=>{this[_0x1b3e('0x1f')](_0x27dd32);});}get['revisionViews'](){return this['timePeriodViews'][_0x1b3e('0x9')](_0x5d484c=>_0x5d484c[_0x1b3e('0x18')]['map'](_0x10056b=>_0x10056b))[_0x1b3e('0x11')]();}['selectRevision'](_0x216518){for(const _0x17dfe6 of this[_0x1b3e('0x18')])_0x216518&&_0x216518['id']===_0x17dfe6['id']?_0x17dfe6[_0x1b3e('0x14')]():_0x17dfe6[_0x1b3e('0x19')]();}[_0x1b3e('0x1')](_0x554f8a){for(const _0x36d88a of this[_0x1b3e('0x18')])_0x554f8a['some'](({id:_0x47db52})=>_0x47db52===_0x36d88a['id'])?_0x36d88a[_0x1b3e('0xa')]():_0x36d88a[_0x1b3e('0xd')]();}['_addRevision'](_0x193f9b){const _0x5464d6=_0xb15b94(_0x193f9b[_0x1b3e('0x23')],this[_0x1b3e('0x12')]['uiLanguage'])[_0x1b3e('0xe')];let _0x425d06=this['timePeriodViews']['get'](0x0);_0x425d06&&_0x425d06[_0x1b3e('0xe')][_0x1b3e('0x4')]()===_0x5464d6[_0x1b3e('0x4')]()||(_0x425d06=new _0x4979dd(this[_0x1b3e('0x12')],_0x5464d6,this[_0x1b3e('0x1b')]),this[_0x1b3e('0x17')][_0x1b3e('0x0')](_0x425d06)),_0x425d06[_0x1b3e('0x1d')](_0x193f9b);}[_0x1b3e('0x1f')](_0x4b6ed5){const _0x4693e1=_0xb15b94(_0x4b6ed5['createdAt'],this[_0x1b3e('0x12')][_0x1b3e('0x1a')])[_0x1b3e('0xe')];this[_0x1b3e('0xc')](_0x4693e1)['removeRevision'](_0x4b6ed5);}[_0x1b3e('0xc')](_0x526556){return this[_0x1b3e('0x17')][_0x1b3e('0xf')](_0x56f248=>_0x56f248[_0x1b3e('0xe')]['getTime']()===_0x526556[_0x1b3e('0x4')]());}}
23
+ const _0x2a26=['revisionSelected','ck-rounded-corners','createCollection','highlight','flat','select','remove','_getTimePeriodViewByStartDate','locale','get','startDate','highlightRevisions','setName','ck-revision-history-sidebar','_revisions','div','_revisionActions','render','set','unhighlight','uiLanguage','add','_addRevision','bindTemplate','revisionSetName','removeRevision','setTemplate','ck-disabled','getTime','addRevision','timePeriodViews','createdAt','fire','ck-revision-history-sidebar__timeline','map','find','revisionViews','delegate','some','isEnabled'];(function(_0x227333,_0x2a269e){const _0x678205=function(_0xeedd2a){while(--_0xeedd2a){_0x227333['push'](_0x227333['shift']());}};_0x678205(++_0x2a269e);}(_0x2a26,0xf4));const _0x6782=function(_0x227333,_0x2a269e){_0x227333=_0x227333-0x0;let _0x678205=_0x2a26[_0x227333];return _0x678205;};import{View as _0x418746}from'ckeditor5/src/ui';import _0x23a0dd from'./revisionssidebartimeperiodview';import _0x1b4fc5 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x2b6083}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x418746{constructor(_0x4f9bed,_0x1e1e32,_0x1311d2){super(_0x4f9bed);const _0x484d78=this[_0x6782('0x13')];this[_0x6782('0x1a')]=this[_0x6782('0x26')](),this[_0x6782('0x1a')][_0x6782('0x21')](_0x6782('0x1'))['to'](this),this[_0x6782('0x1a')][_0x6782('0x21')](_0x6782('0x8'))['to'](this),this[_0x6782('0xa')]=_0x1e1e32,this[_0x6782('0xc')]=_0x1311d2,this['on'](_0x6782('0x1'),(_0x102314,_0x27f1d1)=>{this[_0x6782('0x1c')](_0x6782('0x24'),_0x27f1d1);}),this['on'](_0x6782('0x8'),(_0x1b3f93,_0x4ec75a)=>{this['fire'](_0x6782('0x14'),_0x4ec75a);}),this[_0x6782('0xe')](_0x6782('0x23'),!0x1),this[_0x6782('0x16')]({'tag':'div','attributes':{'class':['ck','ck-reset',_0x6782('0x25'),_0x6782('0x9')]},'children':[new _0x1b4fc5(_0x4f9bed),{'tag':_0x6782('0xb'),'attributes':{'class':['ck',_0x6782('0x1d'),_0x484d78['if']('isEnabled',_0x6782('0x17'),_0x303764=>!_0x303764)]},'children':this[_0x6782('0x1a')]}]});}[_0x6782('0xd')](){super[_0x6782('0xd')]();for(const _0x27c9f of this['_revisions'])this[_0x6782('0x12')](_0x27c9f);this[_0x6782('0xa')]['on'](_0x6782('0x11'),(_0x2acac3,_0x40da02)=>{this[_0x6782('0x12')](_0x40da02);}),this[_0x6782('0xa')]['on'](_0x6782('0x2'),(_0x3ed177,_0x2e079e)=>{this['_removeRevision'](_0x2e079e);});}get['revisionViews'](){return this[_0x6782('0x1a')][_0x6782('0x1e')](_0x2c235c=>_0x2c235c[_0x6782('0x20')][_0x6782('0x1e')](_0x2e4a45=>_0x2e4a45))[_0x6782('0x0')]();}['selectRevision'](_0x2cc385){for(const _0x4b9ee7 of this[_0x6782('0x20')])_0x2cc385&&_0x2cc385['id']===_0x4b9ee7['id']?_0x4b9ee7[_0x6782('0x1')]():_0x4b9ee7['deselect']();}[_0x6782('0x7')](_0x5bc489){for(const _0x224351 of this[_0x6782('0x20')])_0x5bc489[_0x6782('0x22')](({id:_0x36bc1b})=>_0x36bc1b===_0x224351['id'])?_0x224351[_0x6782('0x27')]():_0x224351[_0x6782('0xf')]();}['_addRevision'](_0x5322b0){const _0x133750=_0x2b6083(_0x5322b0['createdAt'],this[_0x6782('0x4')][_0x6782('0x10')])['startDate'];let _0x364d9d=this[_0x6782('0x1a')][_0x6782('0x5')](0x0);_0x364d9d&&_0x364d9d[_0x6782('0x6')][_0x6782('0x18')]()===_0x133750[_0x6782('0x18')]()||(_0x364d9d=new _0x23a0dd(this['locale'],_0x133750,this[_0x6782('0xc')]),this[_0x6782('0x1a')]['add'](_0x364d9d)),_0x364d9d[_0x6782('0x19')](_0x5322b0);}['_removeRevision'](_0x33fe6e){const _0x4a3d08=_0x2b6083(_0x33fe6e[_0x6782('0x1b')],this[_0x6782('0x4')][_0x6782('0x10')])[_0x6782('0x6')];this[_0x6782('0x3')](_0x4a3d08)[_0x6782('0x15')](_0x33fe6e);}[_0x6782('0x3')](_0x14eac9){return this['timePeriodViews'][_0x6782('0x1f')](_0x4464dd=>_0x4464dd[_0x6782('0x6')]['getTime']()===_0x14eac9[_0x6782('0x18')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x985e=['startOf','toJSDate','month','week','toRelativeCalendar','year','hasSame','fromJSDate','day','setLocale','local','minus'];(function(_0x1a1ed2,_0x985e3){const _0xfc7d03=function(_0x154aa5){while(--_0x154aa5){_0x1a1ed2['push'](_0x1a1ed2['shift']());}};_0xfc7d03(++_0x985e3);}(_0x985e,0xd1));const _0xfc7d=function(_0x1a1ed2,_0x985e3){_0x1a1ed2=_0x1a1ed2-0x0;let _0xfc7d03=_0x985e[_0x1a1ed2];return _0xfc7d03;};import{DateTime as _0x527a9d}from'luxon';export function getDateTimePeriodInfo(_0x5e0e0f,_0x5dc793){const _0x5be193=_0x527a9d[_0xfc7d('0x2')](_0x5e0e0f)[_0xfc7d('0x4')](_0x5dc793),_0x49175d=_0x527a9d[_0xfc7d('0x5')](),_0x23d6ce=_0x49175d[_0xfc7d('0x6')]({'days':0x1})['startOf'](_0xfc7d('0x3'));let _0x2cec1e,_0x4e28c5;return _0x5be193['hasSame'](_0x49175d,'day')?(_0x2cec1e=_0x5be193['startOf'](_0xfc7d('0x3'))[_0xfc7d('0x8')](),_0x4e28c5=_0x5be193[_0xfc7d('0xb')]()):_0x5be193[_0xfc7d('0x1')](_0x23d6ce,'day')?(_0x2cec1e=_0x23d6ce[_0xfc7d('0x8')](),_0x4e28c5=_0x5be193[_0xfc7d('0xb')]()):_0x5be193['hasSame'](_0x49175d,_0xfc7d('0xa'))?(_0x2cec1e=_0x5be193[_0xfc7d('0x7')](_0xfc7d('0xa'))[_0xfc7d('0x8')](),_0x4e28c5=_0x5be193['weekdayLong']||''):_0x5be193[_0xfc7d('0x1')](_0x49175d,_0xfc7d('0x0'))?(_0x2cec1e=_0x5be193[_0xfc7d('0x7')](_0xfc7d('0x9'))[_0xfc7d('0x8')](),_0x4e28c5=_0x5be193['monthLong']||''):(_0x2cec1e=_0x5be193['startOf'](_0xfc7d('0x0'))[_0xfc7d('0x8')](),_0x4e28c5=String(_0x5be193['year'])),{'startDate':_0x2cec1e,'localizedPeriodName':_0x4e28c5};}
23
+ const _0x4756=['month','toJSDate','minus','day','year','monthLong','week','setLocale','weekdayLong','startOf','hasSame','toRelativeCalendar'];(function(_0x1cc37c,_0x475631){const _0x4aa55a=function(_0x4af6cd){while(--_0x4af6cd){_0x1cc37c['push'](_0x1cc37c['shift']());}};_0x4aa55a(++_0x475631);}(_0x4756,0xdc));const _0x4aa5=function(_0x1cc37c,_0x475631){_0x1cc37c=_0x1cc37c-0x0;let _0x4aa55a=_0x4756[_0x1cc37c];return _0x4aa55a;};import{DateTime as _0x486906}from'luxon';export function getDateTimePeriodInfo(_0x5bf1f8,_0x546bfd){const _0x2f552f=_0x486906['fromJSDate'](_0x5bf1f8)[_0x4aa5('0x3')](_0x546bfd),_0xe0abc=_0x486906['local'](),_0x2531cb=_0xe0abc[_0x4aa5('0xa')]({'days':0x1})['startOf'](_0x4aa5('0xb'));let _0x91e379,_0x3ccc9b;return _0x2f552f[_0x4aa5('0x6')](_0xe0abc,_0x4aa5('0xb'))?(_0x91e379=_0x2f552f[_0x4aa5('0x5')](_0x4aa5('0xb'))[_0x4aa5('0x9')](),_0x3ccc9b=_0x2f552f['toRelativeCalendar']()):_0x2f552f['hasSame'](_0x2531cb,_0x4aa5('0xb'))?(_0x91e379=_0x2531cb[_0x4aa5('0x9')](),_0x3ccc9b=_0x2f552f[_0x4aa5('0x7')]()):_0x2f552f[_0x4aa5('0x6')](_0xe0abc,_0x4aa5('0x2'))?(_0x91e379=_0x2f552f[_0x4aa5('0x5')]('week')[_0x4aa5('0x9')](),_0x3ccc9b=_0x2f552f[_0x4aa5('0x4')]||''):_0x2f552f[_0x4aa5('0x6')](_0xe0abc,_0x4aa5('0x0'))?(_0x91e379=_0x2f552f['startOf'](_0x4aa5('0x8'))[_0x4aa5('0x9')](),_0x3ccc9b=_0x2f552f[_0x4aa5('0x1')]||''):(_0x91e379=_0x2f552f[_0x4aa5('0x5')]('year')[_0x4aa5('0x9')](),_0x3ccc9b=String(_0x2f552f['year'])),{'startDate':_0x91e379,'localizedPeriodName':_0x3ccc9b};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f08=['setTemplate','span','set','ck-revision-change__label','ck-revision-change','name','element','type','ck-annotation','Added\x20by','isSuggestion','bindTemplate','_model','focus','add','div','Suggested\x20by'];(function(_0x397f99,_0x4f08fa){const _0x33991f=function(_0x4f5f83){while(--_0x4f5f83){_0x397f99['push'](_0x397f99['shift']());}};_0x33991f(++_0x4f08fa);}(_0x4f08,0x155));const _0x3399=function(_0x397f99,_0x4f08fa){_0x397f99=_0x397f99-0x0;let _0x33991f=_0x4f08[_0x397f99];return _0x33991f;};import{View as _0x3f8b41}from'ckeditor5/src/ui';import{getTranslation as _0x656585}from'../../utils/common-translations';export default class Z extends _0x3f8b41{constructor(_0x2e94a7,_0x25253f){super(_0x2e94a7),this[_0x3399('0xb')]=_0x25253f,this['changeId']=_0x25253f['id'];const _0x223436=this[_0x3399('0xa')],_0x28161f=_0x656585(_0x2e94a7,_0x25253f['data'][_0x3399('0x9')]?_0x3399('0xf'):_0x3399('0xd')==_0x25253f['type']?_0x3399('0x8'):'Removed\x20by');this[_0x3399('0x1')](_0x3399('0x6'),_0x25253f['type']),this[_0x3399('0x10')]({'tag':_0x3399('0xe'),'attributes':{'class':[_0x3399('0x7'),_0x3399('0x3'),_0x223436['to']('type',_0x4081fd=>'ck-revision-change__'+_0x4081fd)],'tabindex':-0x1},'children':[{'tag':_0x3399('0x0'),'children':[{'tag':'span','attributes':{'class':[_0x3399('0x2')]},'children':[{'text':_0x28161f}]},{'text':'\x20'+_0x25253f['author'][_0x3399('0x4')]}]}]});}['focus'](){this[_0x3399('0x5')][_0x3399('0xc')]();}}
23
+ const _0x55de=['changeId','type','ck-annotation','isSuggestion','_model','Suggested\x20by','Removed\x20by','ck-revision-change__','add','bindTemplate','set','span','element','focus','Added\x20by','div','data','author','setTemplate'];(function(_0x2d8aff,_0x55de79){const _0x3442cb=function(_0x365db7){while(--_0x365db7){_0x2d8aff['push'](_0x2d8aff['shift']());}};_0x3442cb(++_0x55de79);}(_0x55de,0x123));const _0x3442=function(_0x2d8aff,_0x55de79){_0x2d8aff=_0x2d8aff-0x0;let _0x3442cb=_0x55de[_0x2d8aff];return _0x3442cb;};import{View as _0x44b9a1}from'ckeditor5/src/ui';import{getTranslation as _0x3500d3}from'../../utils/common-translations';export default class Z extends _0x44b9a1{constructor(_0x2afbc2,_0x2da645){super(_0x2afbc2),this[_0x3442('0x11')]=_0x2da645,this[_0x3442('0xd')]=_0x2da645['id'];const _0x28d29a=this[_0x3442('0x3')],_0x324fe4=_0x3500d3(_0x2afbc2,_0x2da645[_0x3442('0xa')][_0x3442('0x10')]?_0x3442('0x12'):_0x3442('0x2')==_0x2da645[_0x3442('0xe')]?_0x3442('0x8'):_0x3442('0x0'));this[_0x3442('0x4')]('type',_0x2da645[_0x3442('0xe')]),this[_0x3442('0xc')]({'tag':_0x3442('0x9'),'attributes':{'class':[_0x3442('0xf'),'ck-revision-change',_0x28d29a['to'](_0x3442('0xe'),_0x437d5c=>_0x3442('0x1')+_0x437d5c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0x3442('0x5'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x324fe4}]},{'text':'\x20'+_0x2da645[_0x3442('0xb')]['name']}]}]});}[_0x3442('0x7')](){this[_0x3442('0x6')][_0x3442('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4876=['isForwardNavigationEnabled','ck-hidden','_statusText','numberOfChanges','backward','forward','execute','currentChangeNumber','bind','span','Show\x20next\x20change','isEnabled','isReady','No\x20changes','ck-revision-history-ui__changes-navigation__navigation','Show\x20previous\x20change','set','ck-revision-history-ui__changes-navigation__label','Total','EDIT_X_OF_Y_REVISIONS','isBackwardNavigationEnabled','X_OF_Y_CHANGES','_isStatusLabelVisible','div','fire','isNavigationMode','ck-revision-history-ui__changes-navigation__wrapper'];(function(_0x1211e6,_0x4876f5){const _0x378851=function(_0x2f9984){while(--_0x2f9984){_0x1211e6['push'](_0x1211e6['shift']());}};_0x378851(++_0x4876f5);}(_0x4876,0xaf));const _0x3788=function(_0x1211e6,_0x4876f5){_0x1211e6=_0x1211e6-0x0;let _0x378851=_0x4876[_0x1211e6];return _0x378851;};import{View as _0x30a0d7,ButtonView as _0x3bccc0,ToolbarSeparatorView as _0x245bd3}from'ckeditor5/src/ui';import{getTranslation as _0x365b8b}from'../../utils/common-translations';import _0xea7ac4 from'../../../theme/icons/arrow-up.svg';import _0x1dca13 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x30a0d7{constructor(_0x5d4d2b){super(_0x5d4d2b);const _0x43a972=this['bindTemplate'],_0x4d02ab=new _0x3bccc0(_0x5d4d2b),_0x209f99=new _0x3bccc0(_0x5d4d2b);this[_0x3788('0x3')]('isNavigationMode',!0x1),this[_0x3788('0x3')](_0x3788('0x1a'),!0x1),this['set'](_0x3788('0x15'),0x0),this['set'](_0x3788('0x11'),0x0),this[_0x3788('0x3')](_0x3788('0xe'),!0x1),this['set'](_0x3788('0x7'),!0x1),this[_0x3788('0x16')](_0x3788('0x9'))['to'](this,_0x3788('0x1a'),this,_0x3788('0x11'),(_0x5d5506,_0x139cd6)=>_0x5d5506&&_0x139cd6>0x0),this[_0x3788('0x16')](_0x3788('0x10'))['to'](this,_0x3788('0x1a'),this,_0x3788('0x15'),this,_0x3788('0x11'),this,_0x3788('0xc'),(_0x2f31d6,_0x383570,_0x464cf0,_0x14e1e1)=>{if(!_0x2f31d6)return _0x365b8b(_0x5d4d2b,'Loading...');if(!_0x464cf0)return _0x365b8b(_0x5d4d2b,_0x3788('0x0'));const _0xfaf96f=_0x365b8b(_0x5d4d2b,'NUMBER_OF_CHANGES',_0x464cf0);return _0x14e1e1?_0x365b8b(_0x5d4d2b,_0x3788('0x8'),[_0x383570+0x1,_0x464cf0]):_0xfaf96f;}),_0x4d02ab[_0x3788('0x3')]({'label':_0x365b8b(_0x5d4d2b,_0x3788('0x2')),'tooltip':!0x0,'icon':_0xea7ac4}),_0x209f99[_0x3788('0x3')]({'label':_0x365b8b(_0x5d4d2b,_0x3788('0x18')),'tooltip':!0x0,'icon':_0x1dca13}),_0x4d02ab[_0x3788('0x16')]('isEnabled')['to'](this,_0x3788('0x7')),_0x209f99['bind'](_0x3788('0x19'))['to'](this,_0x3788('0xe')),_0x4d02ab['on'](_0x3788('0x14'),()=>this[_0x3788('0xb')](_0x3788('0x14'),_0x3788('0x12'))),_0x209f99['on'](_0x3788('0x14'),()=>this['fire']('execute',_0x3788('0x13'))),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':[_0x3788('0xd')]},'children':[{'tag':_0x3788('0x17'),'attributes':{'class':[_0x3788('0x4'),_0x43a972['if'](_0x3788('0x9'),_0x3788('0xf'),_0x493e44=>!_0x493e44)]},'children':[{'text':_0x43a972['to'](_0x3788('0xc'),_0x2b85a9=>_0x2b85a9?_0x365b8b(_0x5d4d2b,_0x3788('0x6'))+':\x20':_0x365b8b(_0x5d4d2b,_0x3788('0x5'))+':\x20')}]},{'text':_0x43a972['to'](_0x3788('0x10'))}]},new _0x245bd3(),{'tag':_0x3788('0xa'),'attributes':{'class':[_0x3788('0x1')]},'children':[_0x4d02ab,_0x209f99]}]});}}
23
+ const _0x5965=['div','ck-revision-history-ui__changes-navigation','bindTemplate','Loading...','No\x20changes','Show\x20next\x20change','isReady','backward','ck-revision-history-ui','currentChangeNumber','numberOfChanges','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation__navigation','NUMBER_OF_CHANGES','_statusText','Total','isBackwardNavigationEnabled','forward','fire','_isStatusLabelVisible','span','execute','isForwardNavigationEnabled','set','isNavigationMode','isEnabled','ck-hidden','bind'];(function(_0x4d2349,_0x59655a){const _0x347276=function(_0xdf356a){while(--_0xdf356a){_0x4d2349['push'](_0x4d2349['shift']());}};_0x347276(++_0x59655a);}(_0x5965,0x1a8));const _0x3472=function(_0x4d2349,_0x59655a){_0x4d2349=_0x4d2349-0x0;let _0x347276=_0x5965[_0x4d2349];return _0x347276;};import{View as _0xeecc3c,ButtonView as _0x106ef9,ToolbarSeparatorView as _0x112c32}from'ckeditor5/src/ui';import{getTranslation as _0x517f29}from'../../utils/common-translations';import _0x1ebcf4 from'../../../theme/icons/arrow-up.svg';import _0x27917b from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0xeecc3c{constructor(_0x100ad5){super(_0x100ad5);const _0x22776f=this[_0x3472('0x1a')],_0xdedfdf=new _0x106ef9(_0x100ad5),_0x51845d=new _0x106ef9(_0x100ad5);this[_0x3472('0x13')]('isNavigationMode',!0x1),this[_0x3472('0x13')]('isReady',!0x1),this[_0x3472('0x13')](_0x3472('0x5'),0x0),this['set']('numberOfChanges',0x0),this['set'](_0x3472('0x12'),!0x1),this[_0x3472('0x13')](_0x3472('0xc'),!0x1),this[_0x3472('0x17')](_0x3472('0xf'))['to'](this,_0x3472('0x2'),this,'numberOfChanges',(_0x1f3167,_0x228eb3)=>_0x1f3167&&_0x228eb3>0x0),this[_0x3472('0x17')](_0x3472('0xa'))['to'](this,_0x3472('0x2'),this,_0x3472('0x5'),this,_0x3472('0x6'),this,_0x3472('0x14'),(_0x34b5e3,_0x5bf62c,_0x1f326a,_0x23aaee)=>{if(!_0x34b5e3)return _0x517f29(_0x100ad5,_0x3472('0x1b'));if(!_0x1f326a)return _0x517f29(_0x100ad5,_0x3472('0x0'));const _0x4966d5=_0x517f29(_0x100ad5,_0x3472('0x9'),_0x1f326a);return _0x23aaee?_0x517f29(_0x100ad5,'X_OF_Y_CHANGES',[_0x5bf62c+0x1,_0x1f326a]):_0x4966d5;}),_0xdedfdf[_0x3472('0x13')]({'label':_0x517f29(_0x100ad5,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x1ebcf4}),_0x51845d[_0x3472('0x13')]({'label':_0x517f29(_0x100ad5,_0x3472('0x1')),'tooltip':!0x0,'icon':_0x27917b}),_0xdedfdf['bind'](_0x3472('0x15'))['to'](this,'isBackwardNavigationEnabled'),_0x51845d[_0x3472('0x17')](_0x3472('0x15'))['to'](this,_0x3472('0x12')),_0xdedfdf['on']('execute',()=>this[_0x3472('0xe')]('execute',_0x3472('0x3'))),_0x51845d['on'](_0x3472('0x11'),()=>this[_0x3472('0xe')](_0x3472('0x11'),_0x3472('0xd'))),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x3472('0x4'),_0x3472('0x19')]},'children':[{'tag':_0x3472('0x10'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':[_0x3472('0x7'),_0x22776f['if'](_0x3472('0xf'),_0x3472('0x16'),_0xcb6ccf=>!_0xcb6ccf)]},'children':[{'text':_0x22776f['to'](_0x3472('0x14'),_0x54b917=>_0x54b917?_0x517f29(_0x100ad5,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x517f29(_0x100ad5,_0x3472('0xb'))+':\x20')}]},{'text':_0x22776f['to'](_0x3472('0xa'))}]},new _0x112c32(),{'tag':_0x3472('0x18'),'attributes':{'class':[_0x3472('0x8')]},'children':[_0xdedfdf,_0x51845d]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e87=['document','ck-editor__editable__loading-overlay','editor','hide','pluginName','roots','view','editing','RevisionViewerLoadingOverlay','change','show'];(function(_0x23c58d,_0x2e87de){const _0x24c7df=function(_0x5f55fe){while(--_0x5f55fe){_0x23c58d['push'](_0x23c58d['shift']());}};_0x24c7df(++_0x2e87de);}(_0x2e87,0x6d));const _0x24c7=function(_0x23c58d,_0x2e87de){_0x23c58d=_0x23c58d-0x0;let _0x24c7df=_0x2e87[_0x23c58d];return _0x24c7df;};import{Plugin as _0x48a7e7}from'ckeditor5/src/core';const oe=_0x24c7('0x2');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x48a7e7{static get[_0x24c7('0x5')](){return _0x24c7('0x9');}[_0x24c7('0x0')](){const _0x557f07=this[_0x24c7('0x3')][_0x24c7('0x8')]['view'];_0x557f07[_0x24c7('0xa')](_0x24a26e=>{for(const _0x33fbd8 of _0x557f07[_0x24c7('0x1')][_0x24c7('0x6')])_0x24a26e['addClass'](oe,_0x33fbd8);});}[_0x24c7('0x4')](){const _0x2f9f20=this[_0x24c7('0x3')][_0x24c7('0x8')][_0x24c7('0x7')];_0x2f9f20[_0x24c7('0xa')](_0x3d6af9=>{for(const _0x21bab0 of _0x2f9f20[_0x24c7('0x1')]['roots'])_0x3d6af9['removeClass'](oe,_0x21bab0);});}}
23
+ const _0x2fd1=['RevisionViewerLoadingOverlay','editor','removeClass','roots','ck-editor__editable__loading-overlay','pluginName','show','document','hide','view','editing','change'];(function(_0x319776,_0x2fd1f2){const _0x4818ba=function(_0x47ed27){while(--_0x47ed27){_0x319776['push'](_0x319776['shift']());}};_0x4818ba(++_0x2fd1f2);}(_0x2fd1,0x134));const _0x4818=function(_0x319776,_0x2fd1f2){_0x319776=_0x319776-0x0;let _0x4818ba=_0x2fd1[_0x319776];return _0x4818ba;};import{Plugin as _0x95b9b7}from'ckeditor5/src/core';const oe=_0x4818('0x8');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x95b9b7{static get[_0x4818('0x9')](){return _0x4818('0x4');}[_0x4818('0xa')](){const _0x4b7923=this[_0x4818('0x5')][_0x4818('0x2')][_0x4818('0x1')];_0x4b7923[_0x4818('0x3')](_0x642708=>{for(const _0x5787f2 of _0x4b7923[_0x4818('0xb')]['roots'])_0x642708['addClass'](oe,_0x5787f2);});}[_0x4818('0x0')](){const _0x1ea41f=this['editor'][_0x4818('0x2')]['view'];_0x1ea41f[_0x4818('0x3')](_0x3f57de=>{for(const _0x2728bd of _0x1ea41f[_0x4818('0xb')][_0x4818('0x7')])_0x3f57de[_0x4818('0x6')](oe,_0x2728bd);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48e6=['isForwardNavigationEnabled','closeRevisionViewerCallback','show','isEnabled','isReady','restoreRevision','execute','init','Back\x20to\x20editing','set','forward','hide','editor','numberOfChanges','isBackwardNavigationEnabled','exitToEditing','bind','isNavigationMode','showNextChange','RevisionViewerUI','change:isReady','get','plugins','showPreviousChange','config','listenTo','add','revisionHistory','commands','requires'];(function(_0x2dd876,_0x48e6d4){const _0x3a484e=function(_0x232a32){while(--_0x232a32){_0x2dd876['push'](_0x2dd876['shift']());}};_0x3a484e(++_0x48e6d4);}(_0x48e6,0x124));const _0x3a48=function(_0x2dd876,_0x48e6d4){_0x2dd876=_0x2dd876-0x0;let _0x3a484e=_0x48e6[_0x2dd876];return _0x3a484e;};import{Plugin as _0x312d2b}from'ckeditor5/src/core';import{ButtonView as _0x350594}from'ckeditor5/src/ui';import _0xd7efe3 from'./changesnavigationview';import _0x259d30 from'./../../revisionviewer';import _0x4df31a from'./revisionviewerloadingoverlay';import{getTranslation as _0x457b03}from'../../utils/common-translations';import _0x49df70 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x312d2b{static get['pluginName'](){return _0x3a48('0x1b');}static get[_0x3a48('0x7')](){return[_0x259d30,_0x4df31a];}[_0x3a48('0xf')](){const _0x3503ab=this[_0x3a48('0x14')],_0x4ddecd=_0x3503ab['plugins']['get'](_0x259d30),_0x2df846=_0x3503ab[_0x3a48('0x0')][_0x3a48('0x1d')](_0x4df31a);_0x3503ab['ui']['componentFactory'][_0x3a48('0x4')](_0x3a48('0x17'),_0x4a3a30=>{const _0x4dccd4=new _0x350594(_0x4a3a30);return _0x4dccd4[_0x3a48('0x11')]({'label':_0x457b03(_0x4a3a30,_0x3a48('0x10')),'icon':_0x49df70,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4dccd4,'execute',()=>{_0x3503ab[_0x3a48('0x2')]['get'](_0x3a48('0x5'))[_0x3a48('0x9')]();}),_0x4dccd4;}),_0x3503ab['ui']['componentFactory'][_0x3a48('0x4')](_0x3a48('0xd'),_0x5a622f=>{const _0xf91e14=new _0x350594(_0x5a622f);return _0xf91e14[_0x3a48('0x11')]({'label':_0x457b03(_0x5a622f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xf91e14['bind'](_0x3a48('0xb'))['to'](_0x3503ab[_0x3a48('0x6')][_0x3a48('0x1d')]('restoreRevision')),this['listenTo'](_0xf91e14,'execute',()=>_0x3503ab[_0x3a48('0xe')](_0x3a48('0xd'))),_0xf91e14;}),_0x3503ab['ui']['componentFactory'][_0x3a48('0x4')]('changesNavigation',_0x2c6ba4=>{const _0x78bcbb=new _0xd7efe3(_0x2c6ba4),_0x2bf5fe=_0x3503ab[_0x3a48('0x6')][_0x3a48('0x1d')]('showPreviousChange'),_0x34aa51=_0x3503ab['commands'][_0x3a48('0x1d')]('showNextChange');return _0x78bcbb[_0x3a48('0x18')](_0x3a48('0x16'))['to'](_0x2bf5fe,'isEnabled'),_0x78bcbb[_0x3a48('0x18')](_0x3a48('0x8'))['to'](_0x34aa51,_0x3a48('0xb')),_0x78bcbb['bind'](_0x3a48('0xc'),'currentChangeNumber',_0x3a48('0x15'),_0x3a48('0x19'))['to'](_0x4ddecd),this[_0x3a48('0x3')](_0x78bcbb,_0x3a48('0xe'),(_0x342af5,_0x363379)=>{_0x3503ab[_0x3a48('0xe')](_0x3a48('0x12')===_0x363379?_0x3a48('0x1a'):_0x3a48('0x1'));}),_0x78bcbb;}),_0x2df846[_0x3a48('0xa')](),_0x4ddecd['on'](_0x3a48('0x1c'),(_0x41e656,_0x9be40a,_0x51b88b)=>{_0x51b88b?_0x2df846[_0x3a48('0x13')]():_0x2df846['show']();});}}
23
+ const _0x54db=['isNavigationMode','requires','editor','get','Back\x20to\x20editing','ck-revision-history-ui__back-to-editing','config','show','isEnabled','listenTo','execute','showPreviousChange','bind','plugins','hide','numberOfChanges','add','componentFactory','restoreRevision','isBackwardNavigationEnabled','isReady','closeRevisionViewerCallback','showNextChange','set','exitToEditing','commands','currentChangeNumber','Restore\x20this\x20revision'];(function(_0x4c6292,_0x54dbf5){const _0x2d468f=function(_0xfe849a){while(--_0xfe849a){_0x4c6292['push'](_0x4c6292['shift']());}};_0x2d468f(++_0x54dbf5);}(_0x54db,0x1a5));const _0x2d46=function(_0x4c6292,_0x54dbf5){_0x4c6292=_0x4c6292-0x0;let _0x2d468f=_0x54db[_0x4c6292];return _0x2d468f;};import{Plugin as _0x418486}from'ckeditor5/src/core';import{ButtonView as _0xff59c4}from'ckeditor5/src/ui';import _0x4bf641 from'./changesnavigationview';import _0x23f592 from'./../../revisionviewer';import _0x1b8bf6 from'./revisionviewerloadingoverlay';import{getTranslation as _0x425f27}from'../../utils/common-translations';import _0x218da6 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x418486{static get['pluginName'](){return'RevisionViewerUI';}static get[_0x2d46('0x0')](){return[_0x23f592,_0x1b8bf6];}['init'](){const _0x47e3da=this[_0x2d46('0x1')],_0x417877=_0x47e3da[_0x2d46('0xc')]['get'](_0x23f592),_0x3346a8=_0x47e3da[_0x2d46('0xc')][_0x2d46('0x2')](_0x1b8bf6);_0x47e3da['ui'][_0x2d46('0x10')][_0x2d46('0xf')](_0x2d46('0x17'),_0x2f6c04=>{const _0x326ce1=new _0xff59c4(_0x2f6c04);return _0x326ce1[_0x2d46('0x16')]({'label':_0x425f27(_0x2f6c04,_0x2d46('0x3')),'icon':_0x218da6,'withText':!0x0,'tooltip':!0x0,'class':_0x2d46('0x4')}),this[_0x2d46('0x8')](_0x326ce1,_0x2d46('0x9'),()=>{_0x47e3da[_0x2d46('0x5')][_0x2d46('0x2')]('revisionHistory')[_0x2d46('0x14')]();}),_0x326ce1;}),_0x47e3da['ui']['componentFactory'][_0x2d46('0xf')]('restoreRevision',_0x21be23=>{const _0x4d9195=new _0xff59c4(_0x21be23);return _0x4d9195['set']({'label':_0x425f27(_0x21be23,_0x2d46('0x1a')),'withText':!0x0,'tooltip':!0x0}),_0x4d9195[_0x2d46('0xb')](_0x2d46('0x7'))['to'](_0x47e3da[_0x2d46('0x18')][_0x2d46('0x2')](_0x2d46('0x11'))),this[_0x2d46('0x8')](_0x4d9195,_0x2d46('0x9'),()=>_0x47e3da[_0x2d46('0x9')]('restoreRevision')),_0x4d9195;}),_0x47e3da['ui'][_0x2d46('0x10')][_0x2d46('0xf')]('changesNavigation',_0x45a737=>{const _0x21225c=new _0x4bf641(_0x45a737),_0x513604=_0x47e3da['commands'][_0x2d46('0x2')](_0x2d46('0xa')),_0x1be1df=_0x47e3da[_0x2d46('0x18')][_0x2d46('0x2')](_0x2d46('0x15'));return _0x21225c[_0x2d46('0xb')](_0x2d46('0x12'))['to'](_0x513604,_0x2d46('0x7')),_0x21225c[_0x2d46('0xb')]('isForwardNavigationEnabled')['to'](_0x1be1df,_0x2d46('0x7')),_0x21225c[_0x2d46('0xb')](_0x2d46('0x13'),_0x2d46('0x19'),_0x2d46('0xe'),_0x2d46('0x1b'))['to'](_0x417877),this[_0x2d46('0x8')](_0x21225c,_0x2d46('0x9'),(_0x52380f,_0x46bc51)=>{_0x47e3da['execute']('forward'===_0x46bc51?_0x2d46('0x15'):_0x2d46('0xa'));}),_0x21225c;}),_0x3346a8[_0x2d46('0x6')](),_0x417877['on']('change:isReady',(_0x7d9a65,_0x38ce8a,_0x56ac8c)=>{_0x56ac8c?_0x3346a8[_0x2d46('0xd')]():_0x3346a8['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xe20742,_0x5c5b6a,_0x2cdd67){const t=_0xe20742['t'];switch(_0x5c5b6a){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'},_0x2cdd67);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2cdd67);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 _0x5c5b6a;}}
23
+ export function getTranslation(_0x430c89,_0xb70a0c,_0x3c7a79){const t=_0x430c89['t'];switch(_0xb70a0c){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'},_0x3c7a79);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3c7a79);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 _0xb70a0c;}}