@ckeditor/ckeditor5-revision-history 35.1.0 → 35.2.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 (37) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/es-co.js +1 -0
  3. package/build/translations/fa.js +1 -1
  4. package/build/translations/tt.js +1 -0
  5. package/lang/translations/es-co.po +124 -0
  6. package/lang/translations/fa.po +1 -1
  7. package/lang/translations/tt.po +122 -0
  8. package/package.json +7 -7
  9. package/src/changeitem.js +1 -1
  10. package/src/editor/revisionviewereditor.js +1 -1
  11. package/src/editor/revisionviewereditorui.js +1 -1
  12. package/src/editor/revisionviewereditoruiview.js +1 -1
  13. package/src/revision.js +1 -1
  14. package/src/revisiondiff.js +1 -1
  15. package/src/revisionhistory.js +1 -1
  16. package/src/revisionsrepository.js +1 -1
  17. package/src/revisiontracker.js +1 -1
  18. package/src/revisionviewer.js +1 -1
  19. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  20. package/src/ui/revision/revisionauthorview.js +1 -1
  21. package/src/ui/revision/revisionnameview.js +1 -1
  22. package/src/ui/revision/revisionview.js +1 -1
  23. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  24. package/src/ui/revision/subrevisionview.js +1 -1
  25. package/src/ui/revision/utils.js +1 -1
  26. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  27. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  28. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  29. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  30. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  31. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  32. package/src/ui/revisionssidebar/utils.js +1 -1
  33. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  34. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  35. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  36. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  37. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c19=['submit','set','remove','revisionHistory','items','length','execute','panelView','isEnabled','init','view','cancel','change:isOpen','get','config','isOpen','RevisionHistoryUI','saveRevision','addMany','render','requires','focus','RevisionTracker','isReadOnly','componentFactory','children','isReady','buttonView','bind','add'];(function(_0x2a10f9,_0x3c1909){const _0x1c48ef=function(_0x237c47){while(--_0x237c47){_0x2a10f9['push'](_0x2a10f9['shift']());}};_0x1c48ef(++_0x3c1909);}(_0x3c19,0x114));const _0x1c48=function(_0x2a10f9,_0x3c1909){_0x2a10f9=_0x2a10f9-0x0;let _0x1c48ef=_0x3c19[_0x2a10f9];return _0x1c48ef;};import{Plugin as _0x27290b}from'ckeditor5/src/core';import{ListView as _0x425400,ListItemView as _0x3c3c61,ButtonView as _0x8f9a5e,createDropdown as _0x2cddde}from'ckeditor5/src/ui';import _0x257c79 from'../../revisiontracker';import _0x58420f from'./revisionhistorysaverevisionformview';import _0x2ed183 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x3f1668}from'../../utils/common-translations';export default class R extends _0x27290b{static get['pluginName'](){return _0x1c48('0xa');}static get[_0x1c48('0xe')](){return[_0x257c79];}[_0x1c48('0x3')](){const _0x5116f3=this['editor'],_0x5c2b8c=_0x5116f3['plugins'][_0x1c48('0x7')](_0x1c48('0x10'));_0x5116f3['ui'][_0x1c48('0x12')][_0x1c48('0x17')]('revisionHistory',_0x309554=>{const _0x3d4c28=_0x2cddde(_0x309554),_0xe6d804=_0x3d4c28[_0x1c48('0x1')][_0x1c48('0x13')],_0x353d96=new _0x425400(_0x309554),_0x26d663=new _0x3c3c61(_0x309554),_0x56e216=new _0x8f9a5e(_0x309554),_0x1020df=new _0x3c3c61(_0x309554),_0x1543a6=new _0x8f9a5e(_0x309554),_0x55ea24=new _0x58420f(_0x309554);function _0x22c9df(){_0xe6d804[_0x1c48('0x1d')]&&_0xe6d804[_0x1c48('0x1a')](0x0),_0xe6d804['add'](_0x353d96);}function _0x1eda39(){_0x3d4c28[_0x1c48('0x9')]=!0x1,_0x5116f3['editing'][_0x1c48('0x4')][_0x1c48('0xf')]();}return _0x3d4c28[_0x1c48('0x16')](_0x1c48('0x2'))['to'](_0x5c2b8c,_0x1c48('0x14'),_0x5c2b8c,_0x1c48('0x2'),_0x5116f3,_0x1c48('0x11'),(_0x2f3533,_0x3c79b2,_0x49d7bf)=>_0x2f3533&&_0x3c79b2&&!_0x49d7bf),_0x3d4c28[_0x1c48('0x15')][_0x1c48('0x19')]({'icon':_0x2ed183,'label':_0x3f1668(_0x309554,'Revision\x20history'),'tooltip':!0x0}),_0x56e216['set']({'label':_0x3f1668(_0x309554,'Save\x20current\x20revision'),'withText':!0x0}),_0x56e216['bind']('isEnabled')['to'](_0x5c2b8c,_0x1c48('0x14'),_0x5c2b8c,_0x1c48('0x2'),_0x5116f3,_0x1c48('0x11'),(_0x1eb495,_0x6d7e06,_0x2f0dbb)=>_0x1eb495&&_0x6d7e06&&!_0x2f0dbb),_0x56e216['on'](_0x1c48('0x0'),()=>function(){_0xe6d804['length']&&_0xe6d804[_0x1c48('0x1a')](0x0),(_0x55ea24['reset'](),_0xe6d804[_0x1c48('0x17')](_0x55ea24),_0x55ea24[_0x1c48('0xf')]());}()),_0x1543a6['set']({'label':_0x3f1668(_0x309554,'Open\x20revision\x20history'),'withText':!0x0}),_0x1543a6['bind'](_0x1c48('0x2'))['to'](_0x5c2b8c,_0x1c48('0x14'),_0x5116f3,_0x1c48('0x11'),(_0x4b0d1e,_0x4281fb)=>_0x4b0d1e&&!_0x4281fb),_0x1543a6['on'](_0x1c48('0x0'),()=>{_0x5116f3[_0x1c48('0x8')][_0x1c48('0x7')](_0x1c48('0x1b'))['showRevisionViewerCallback'](),_0x1eda39();}),_0x26d663[_0x1c48('0x13')][_0x1c48('0x17')](_0x56e216),_0x1020df[_0x1c48('0x13')][_0x1c48('0x17')](_0x1543a6),_0x353d96[_0x1c48('0x1c')][_0x1c48('0xc')]([_0x26d663,_0x1020df]),_0x3d4c28['on'](_0x1c48('0x6'),()=>_0x22c9df()),_0x55ea24['saveButtonView'][_0x1c48('0x16')](_0x1c48('0x2'))['to'](_0x5c2b8c,_0x1c48('0x14'),_0x5c2b8c,'isEnabled',_0x5116f3,_0x1c48('0x11'),(_0x191a78,_0x3899e5,_0x1b159a)=>_0x191a78&&_0x3899e5&&!_0x1b159a),_0x55ea24['on'](_0x1c48('0x18'),()=>(_0x5116f3['plugins'][_0x1c48('0x7')](_0x257c79)[_0x1c48('0xb')]({'name':_0x55ea24['revisionName']}),void _0x1eda39())),_0x55ea24['on'](_0x1c48('0x5'),()=>_0x22c9df()),_0x55ea24[_0x1c48('0xd')](),_0x22c9df(),_0x3d4c28;});}}
23
+ const _0x5e98=['plugins','execute','Save\x20current\x20revision','config','editor','componentFactory','length','panelView','init','Revision\x20history','add','saveButtonView','isEnabled','Open\x20revision\x20history','set','revisionHistory','items','pluginName','RevisionTracker','submit','requires','editing','showRevisionViewerCallback','bind','isReadOnly','cancel','isReady','children','RevisionHistoryUI','get','view','remove','focus','change:isOpen','render','revisionName'];(function(_0x1f77d1,_0x5e9843){const _0x231e51=function(_0x126364){while(--_0x126364){_0x1f77d1['push'](_0x1f77d1['shift']());}};_0x231e51(++_0x5e9843);}(_0x5e98,0xe8));const _0x231e=function(_0x1f77d1,_0x5e9843){_0x1f77d1=_0x1f77d1-0x0;let _0x231e51=_0x5e98[_0x1f77d1];return _0x231e51;};import{Plugin as _0x206d4c}from'ckeditor5/src/core';import{ListView as _0x4c5721,ListItemView as _0x49c926,ButtonView as _0x36e303,createDropdown as _0x44e2ce}from'ckeditor5/src/ui';import _0x245fa5 from'../../revisiontracker';import _0x20b8a2 from'./revisionhistorysaverevisionformview';import _0x1ddc94 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x215936}from'../../utils/common-translations';export default class R extends _0x206d4c{static get[_0x231e('0x1')](){return _0x231e('0xc');}static get[_0x231e('0x4')](){return[_0x245fa5];}[_0x231e('0x1c')](){const _0xbda431=this[_0x231e('0x18')],_0x21a9a9=_0xbda431[_0x231e('0x14')][_0x231e('0xd')](_0x231e('0x2'));_0xbda431['ui'][_0x231e('0x19')]['add'](_0x231e('0x23'),_0x233f8b=>{const _0x456f34=_0x44e2ce(_0x233f8b),_0x16086c=_0x456f34[_0x231e('0x1b')][_0x231e('0xb')],_0x286715=new _0x4c5721(_0x233f8b),_0x29e1ba=new _0x49c926(_0x233f8b),_0x3a83ac=new _0x36e303(_0x233f8b),_0x334674=new _0x49c926(_0x233f8b),_0x42cfb1=new _0x36e303(_0x233f8b),_0x10641d=new _0x20b8a2(_0x233f8b);function _0x609eac(){_0x16086c[_0x231e('0x1a')]&&_0x16086c[_0x231e('0xf')](0x0),_0x16086c[_0x231e('0x1e')](_0x286715);}function _0x5cb6e1(){_0x456f34['isOpen']=!0x1,_0xbda431[_0x231e('0x5')][_0x231e('0xe')][_0x231e('0x10')]();}return _0x456f34[_0x231e('0x7')]('isEnabled')['to'](_0x21a9a9,'isReady',_0x21a9a9,_0x231e('0x20'),_0xbda431,_0x231e('0x8'),(_0x4426b8,_0x49d79e,_0x55f5c6)=>_0x4426b8&&_0x49d79e&&!_0x55f5c6),_0x456f34['buttonView'][_0x231e('0x22')]({'icon':_0x1ddc94,'label':_0x215936(_0x233f8b,_0x231e('0x1d')),'tooltip':!0x0}),_0x3a83ac[_0x231e('0x22')]({'label':_0x215936(_0x233f8b,_0x231e('0x16')),'withText':!0x0}),_0x3a83ac[_0x231e('0x7')](_0x231e('0x20'))['to'](_0x21a9a9,_0x231e('0xa'),_0x21a9a9,_0x231e('0x20'),_0xbda431,_0x231e('0x8'),(_0x3dec98,_0x174736,_0x5e1af4)=>_0x3dec98&&_0x174736&&!_0x5e1af4),_0x3a83ac['on'](_0x231e('0x15'),()=>function(){_0x16086c['length']&&_0x16086c[_0x231e('0xf')](0x0),(_0x10641d['reset'](),_0x16086c[_0x231e('0x1e')](_0x10641d),_0x10641d[_0x231e('0x10')]());}()),_0x42cfb1['set']({'label':_0x215936(_0x233f8b,_0x231e('0x21')),'withText':!0x0}),_0x42cfb1[_0x231e('0x7')](_0x231e('0x20'))['to'](_0x21a9a9,_0x231e('0xa'),_0xbda431,_0x231e('0x8'),(_0x427ee6,_0x317caa)=>_0x427ee6&&!_0x317caa),_0x42cfb1['on'](_0x231e('0x15'),()=>{_0xbda431[_0x231e('0x17')]['get'](_0x231e('0x23'))[_0x231e('0x6')](),_0x5cb6e1();}),_0x29e1ba[_0x231e('0xb')][_0x231e('0x1e')](_0x3a83ac),_0x334674['children'][_0x231e('0x1e')](_0x42cfb1),_0x286715[_0x231e('0x0')]['addMany']([_0x29e1ba,_0x334674]),_0x456f34['on'](_0x231e('0x11'),()=>_0x609eac()),_0x10641d[_0x231e('0x1f')][_0x231e('0x7')]('isEnabled')['to'](_0x21a9a9,_0x231e('0xa'),_0x21a9a9,_0x231e('0x20'),_0xbda431,_0x231e('0x8'),(_0x44c11f,_0x518231,_0x3e6e73)=>_0x44c11f&&_0x518231&&!_0x3e6e73),_0x10641d['on'](_0x231e('0x3'),()=>(_0xbda431['plugins'][_0x231e('0xd')](_0x245fa5)['saveRevision']({'name':_0x10641d[_0x231e('0x13')]}),void _0x5cb6e1())),_0x10641d['on'](_0x231e('0x9'),()=>_0x609eac()),_0x10641d[_0x231e('0x12')](),_0x609eac(),_0x456f34;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c5c=['revisionHistory','get','_handleDiffChange','editor','getIndex','add','map','revisionViews','destroy','bind','remove','element','getRevisionsInDiff','restoreRevision','isSelected','revisionHistory.revisionActions','revisionSelected','assign','name','selectRevision','listenTo','_handleEditorDataReady','revisionHistory.viewerSidebarContainer','appendChild','_sidebarView','getLaterVisibleRevision','diff','render','revisionSetName','isVisible','compareAgainstSelected','_revisions','Name\x20this\x20revision','data','defaultRevisionActions','compare','getRevision','getEarlierVisibleRevision','length','_revisionViewer','config','_handleRevisionSelected','_revisionsRepository','highlightRevisions','action','setName','newRevisionId','nameRevision','focus','_handleRevisionSetName','repository','Restore\x20this\x20revision','ready','Compare\x20against\x20selected','init','availableRevisionActions'];(function(_0x1413f4,_0x3c5cce){const _0x56cf64=function(_0xd3af0e){while(--_0xd3af0e){_0x1413f4['push'](_0x1413f4['shift']());}};_0x56cf64(++_0x3c5cce);}(_0x3c5c,0xb8));const _0x56cf=function(_0x1413f4,_0x3c5cce){_0x1413f4=_0x1413f4-0x0;let _0x56cf64=_0x3c5c[_0x1413f4];return _0x56cf64;};import{Plugin as _0x1a0f31}from'ckeditor5/src/core';import _0x303ca9 from'./revisionssidebarview';import _0x496640 from'../../revisionviewer';export default class y extends _0x1a0f31{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[_0x496640];}constructor(_0x2bfa51){super(_0x2bfa51),this[_0x56cf('0x17')]=_0x2bfa51['plugins'][_0x56cf('0x29')](_0x496640),this[_0x56cf('0x1a')]=this[_0x56cf('0x17')][_0x56cf('0x22')],this[_0x56cf('0x8')]=null;}[_0x56cf('0x26')](){const _0x47405e=this['_revisionsRepository'][_0x56cf('0xf')],_0x5583e3=this['_createRevisionActions'](),_0x18490a=this[_0x56cf('0x2b')][_0x56cf('0x18')][_0x56cf('0x29')](_0x56cf('0x6'));this[_0x56cf('0x8')]=new _0x303ca9(this[_0x56cf('0x2b')]['locale'],_0x47405e,_0x5583e3),this[_0x56cf('0x8')]['on'](_0x56cf('0x0'),this['_handleRevisionSelected'][_0x56cf('0x31')](this)),this[_0x56cf('0x8')]['on'](_0x56cf('0xc'),this[_0x56cf('0x21')][_0x56cf('0x31')](this)),this[_0x56cf('0x8')][_0x56cf('0x31')]('isEnabled')['to'](this[_0x56cf('0x17')]),this[_0x56cf('0x8')]['timePeriodViews']['on'](_0x56cf('0x2d'),(_0x1cfbb4,_0x50771a)=>{_0x50771a[_0x56cf('0x2f')]['on'](_0x56cf('0x2d'),(_0x4e08c5,_0x3c2251)=>{_0x3c2251[_0x56cf('0x31')]('isEnabled','isReady')['to'](this[_0x56cf('0x17')]);});}),this['_sidebarView'][_0x56cf('0xb')](),this[_0x56cf('0x4')](this['editor'][_0x56cf('0x11')],_0x56cf('0x24'),this[_0x56cf('0x5')][_0x56cf('0x31')](this)),this[_0x56cf('0x4')](this[_0x56cf('0x17')],'change:diff',this[_0x56cf('0x2a')]['bind'](this)),_0x18490a[_0x56cf('0x7')](this[_0x56cf('0x8')][_0x56cf('0x33')]);}['destroy'](){this[_0x56cf('0x8')][_0x56cf('0x33')][_0x56cf('0x32')](),this[_0x56cf('0x8')][_0x56cf('0x30')]();}[_0x56cf('0x5')](){const _0x1a7b34=this[_0x56cf('0x1a')]['getRevision'](0x0);if(_0x1a7b34){const _0x55b040=this[_0x56cf('0x1a')]['getEarlierVisibleRevision'](_0x1a7b34['id']);this[_0x56cf('0x17')]['compare'](_0x1a7b34,_0x55b040);}}[_0x56cf('0x19')](_0x4f3648,_0x478d25){const _0x291d88=this[_0x56cf('0x1a')][_0x56cf('0x14')](_0x478d25['id']),_0x334d93=this[_0x56cf('0x1a')][_0x56cf('0x15')](_0x291d88['id']);this['_revisionViewer'][_0x56cf('0x13')](_0x291d88,_0x334d93);}[_0x56cf('0x21')](_0x2116bf,_0x42d131){this[_0x56cf('0x1a')][_0x56cf('0x14')](_0x42d131['id'])[_0x56cf('0x1d')](_0x42d131[_0x56cf('0x2')]);}[_0x56cf('0x2a')](_0x50e850,_0x4a3182,_0x2fcbfc){const _0x3d7c6f=this[_0x56cf('0x1a')][_0x56cf('0x34')](_0x2fcbfc);_0x3d7c6f[_0x56cf('0x16')]>0x2?(this['_sidebarView'][_0x56cf('0x1b')](_0x3d7c6f),this['_sidebarView'][_0x56cf('0x3')](null)):(this[_0x56cf('0x8')][_0x56cf('0x1b')]([]),this[_0x56cf('0x8')][_0x56cf('0x3')](_0x3d7c6f[0x0]));}['_createRevisionActions'](){const _0xdbb2c4=this[_0x56cf('0x2b')],_0x455e3e=y[_0x56cf('0x27')],_0x1f17ba=_0xdbb2c4['config'][_0x56cf('0x29')](_0x56cf('0x37'))||y['defaultRevisionActions'];if(_0x1f17ba[_0x56cf('0x16')])return _0x1f17ba[_0x56cf('0x2e')](_0x21e7bf=>{const _0x13e0a0='string'==typeof _0x21e7bf?Object[_0x56cf('0x1')]({},_0x455e3e[_0x21e7bf]):_0x21e7bf;return _0x13e0a0[_0x56cf('0x1c')]=_0x13e0a0[_0x56cf('0x1c')][_0x56cf('0x31')](this,_0xdbb2c4),_0x13e0a0[_0x56cf('0xd')]&&(_0x13e0a0[_0x56cf('0xd')]=_0x13e0a0[_0x56cf('0xd')][_0x56cf('0x31')](this,_0xdbb2c4)),_0x13e0a0;});}}y['availableRevisionActions']={'compareAgainstSelected':{'name':_0x56cf('0x25'),'action':({plugins:_0x222215},_0x3d2a54)=>{const _0x3952ae=_0x222215[_0x56cf('0x29')](_0x496640),_0x442893=_0x3952ae['repository'];let _0x445526=_0x3952ae[_0x56cf('0xa')][_0x56cf('0x1e')],_0x263a0d=_0x3d2a54['id'];_0x442893['getIndex'](_0x445526)>_0x442893[_0x56cf('0x2c')](_0x263a0d)&&([_0x445526,_0x263a0d]=[_0x263a0d,_0x445526]),_0x3952ae[_0x56cf('0x13')](_0x445526,_0x263a0d);},'isVisible':({plugins:_0x510468},_0x15932b)=>{const _0x380bbb=_0x510468['get'](_0x496640);return!(_0x380bbb[_0x56cf('0x22')][_0x56cf('0x34')](_0x380bbb['diff'])['length']>0x2)&&!_0x15932b[_0x56cf('0x36')];}},'restoreRevision':{'name':_0x56cf('0x23'),'action':(_0x651c4d,{id:_0x1d61af})=>{_0x651c4d[_0x56cf('0x18')]['get'](_0x56cf('0x28'))['restoreRevisionCallback'](_0x1d61af);},'isVisible':({plugins:_0x5ee92e},_0x20ebd8)=>!!_0x5ee92e[_0x56cf('0x29')](_0x496640)[_0x56cf('0x22')][_0x56cf('0x9')](_0x20ebd8['id'])},'nameRevision':{'name':_0x56cf('0x10'),'action':({plugins:_0x37b298},{id:_0x1f88b1,revisionNameView:_0x5e63ae})=>{const _0x3a07da=_0x37b298[_0x56cf('0x29')](_0x496640),_0x182bf0=_0x3a07da['repository'][_0x56cf('0x15')](_0x1f88b1);_0x3a07da[_0x56cf('0x13')](_0x1f88b1,_0x182bf0),_0x5e63ae[_0x56cf('0x20')](),_0x5e63ae['fieldView']['select']();}}},y[_0x56cf('0x12')]=[_0x56cf('0xe'),_0x56cf('0x35'),_0x56cf('0x1f')];
23
+ const _0x56c9=['string','compareAgainstSelected','config','getRevision','plugins','bind','map','_handleDiffChange','diff','RevisionsSidebar','restoreRevisionCallback','availableRevisionActions','ready','timePeriodViews','pluginName','length','element','_handleRevisionSetName','_createRevisionActions','getIndex','listenTo','_handleEditorDataReady','select','_revisions','isVisible','_revisionsRepository','getEarlierVisibleRevision','fieldView','isEnabled','locale','isSelected','destroy','change:diff','repository','get','_revisionViewer','revisionHistory.viewerSidebarContainer','getRevisionsInDiff','focus','Restore\x20this\x20revision','highlightRevisions','isReady','selectRevision','requires','compare','appendChild','newRevisionId','_sidebarView','getLaterVisibleRevision','assign','revisionSelected','revisionHistory.revisionActions','data','_handleRevisionSelected','action','revisionViews','nameRevision','add','defaultRevisionActions','setName'];(function(_0x146774,_0x56c9c8){const _0x4a2b8e=function(_0x1d3a17){while(--_0x1d3a17){_0x146774['push'](_0x146774['shift']());}};_0x4a2b8e(++_0x56c9c8);}(_0x56c9,0xb9));const _0x4a2b=function(_0x146774,_0x56c9c8){_0x146774=_0x146774-0x0;let _0x4a2b8e=_0x56c9[_0x146774];return _0x4a2b8e;};import{Plugin as _0x2aa7af}from'ckeditor5/src/core';import _0x104a67 from'./revisionssidebarview';import _0x13dc1e from'../../revisionviewer';export default class y extends _0x2aa7af{static get[_0x4a2b('0x9')](){return _0x4a2b('0x4');}static get[_0x4a2b('0x26')](){return[_0x13dc1e];}constructor(_0xf3e5dd){super(_0xf3e5dd),this[_0x4a2b('0x1e')]=_0xf3e5dd[_0x4a2b('0x3b')][_0x4a2b('0x1d')](_0x13dc1e),this['_revisionsRepository']=this[_0x4a2b('0x1e')][_0x4a2b('0x1c')],this[_0x4a2b('0x2a')]=null;}['init'](){const _0x36ebbb=this[_0x4a2b('0x14')][_0x4a2b('0x12')],_0x305739=this[_0x4a2b('0xd')](),_0x126c6f=this['editor'][_0x4a2b('0x39')]['get'](_0x4a2b('0x1f'));this[_0x4a2b('0x2a')]=new _0x104a67(this['editor'][_0x4a2b('0x18')],_0x36ebbb,_0x305739),this[_0x4a2b('0x2a')]['on'](_0x4a2b('0x2d'),this[_0x4a2b('0x30')][_0x4a2b('0x0')](this)),this[_0x4a2b('0x2a')]['on']('revisionSetName',this[_0x4a2b('0xc')][_0x4a2b('0x0')](this)),this['_sidebarView'][_0x4a2b('0x0')](_0x4a2b('0x17'))['to'](this['_revisionViewer']),this[_0x4a2b('0x2a')][_0x4a2b('0x8')]['on'](_0x4a2b('0x34'),(_0x1adbb2,_0xd7312a)=>{_0xd7312a[_0x4a2b('0x32')]['on'](_0x4a2b('0x34'),(_0x11246c,_0x980313)=>{_0x980313[_0x4a2b('0x0')](_0x4a2b('0x17'),_0x4a2b('0x24'))['to'](this[_0x4a2b('0x1e')]);});}),this[_0x4a2b('0x2a')]['render'](),this['listenTo'](this['editor'][_0x4a2b('0x2f')],_0x4a2b('0x7'),this[_0x4a2b('0x10')][_0x4a2b('0x0')](this)),this[_0x4a2b('0xf')](this[_0x4a2b('0x1e')],_0x4a2b('0x1b'),this[_0x4a2b('0x2')][_0x4a2b('0x0')](this)),_0x126c6f[_0x4a2b('0x28')](this[_0x4a2b('0x2a')][_0x4a2b('0xb')]);}[_0x4a2b('0x1a')](){this['_sidebarView']['element']['remove'](),this['_sidebarView'][_0x4a2b('0x1a')]();}[_0x4a2b('0x10')](){const _0x4150d7=this[_0x4a2b('0x14')][_0x4a2b('0x3a')](0x0);if(_0x4150d7){const _0x9e567=this[_0x4a2b('0x14')][_0x4a2b('0x15')](_0x4150d7['id']);this[_0x4a2b('0x1e')][_0x4a2b('0x27')](_0x4150d7,_0x9e567);}}[_0x4a2b('0x30')](_0x5016d3,_0x1373cb){const _0xa91978=this[_0x4a2b('0x14')][_0x4a2b('0x3a')](_0x1373cb['id']),_0x181de7=this[_0x4a2b('0x14')][_0x4a2b('0x15')](_0xa91978['id']);this[_0x4a2b('0x1e')][_0x4a2b('0x27')](_0xa91978,_0x181de7);}[_0x4a2b('0xc')](_0xe29e7d,_0x3c21b7){this[_0x4a2b('0x14')][_0x4a2b('0x3a')](_0x3c21b7['id'])[_0x4a2b('0x36')](_0x3c21b7['name']);}['_handleDiffChange'](_0x141df1,_0x5726b6,_0x92e32d){const _0x40e7ea=this[_0x4a2b('0x14')][_0x4a2b('0x20')](_0x92e32d);_0x40e7ea[_0x4a2b('0xa')]>0x2?(this[_0x4a2b('0x2a')][_0x4a2b('0x23')](_0x40e7ea),this[_0x4a2b('0x2a')]['selectRevision'](null)):(this['_sidebarView'][_0x4a2b('0x23')]([]),this[_0x4a2b('0x2a')][_0x4a2b('0x25')](_0x40e7ea[0x0]));}['_createRevisionActions'](){const _0xa39b6e=this['editor'],_0x461d5f=y[_0x4a2b('0x6')],_0x3d5a73=_0xa39b6e['config'][_0x4a2b('0x1d')](_0x4a2b('0x2e'))||y[_0x4a2b('0x35')];if(_0x3d5a73[_0x4a2b('0xa')])return _0x3d5a73[_0x4a2b('0x1')](_0x33128b=>{const _0x1ffc70=_0x4a2b('0x37')==typeof _0x33128b?Object[_0x4a2b('0x2c')]({},_0x461d5f[_0x33128b]):_0x33128b;return _0x1ffc70[_0x4a2b('0x31')]=_0x1ffc70['action'][_0x4a2b('0x0')](this,_0xa39b6e),_0x1ffc70[_0x4a2b('0x13')]&&(_0x1ffc70[_0x4a2b('0x13')]=_0x1ffc70['isVisible'][_0x4a2b('0x0')](this,_0xa39b6e)),_0x1ffc70;});}}y[_0x4a2b('0x6')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xbc9a78},_0x29fdf2)=>{const _0x25ffac=_0xbc9a78[_0x4a2b('0x1d')](_0x13dc1e),_0x8b6371=_0x25ffac[_0x4a2b('0x1c')];let _0xe74b95=_0x25ffac[_0x4a2b('0x3')][_0x4a2b('0x29')],_0x24e9da=_0x29fdf2['id'];_0x8b6371['getIndex'](_0xe74b95)>_0x8b6371[_0x4a2b('0xe')](_0x24e9da)&&([_0xe74b95,_0x24e9da]=[_0x24e9da,_0xe74b95]),_0x25ffac[_0x4a2b('0x27')](_0xe74b95,_0x24e9da);},'isVisible':({plugins:_0x59f23e},_0x2adcee)=>{const _0x1c9b93=_0x59f23e[_0x4a2b('0x1d')](_0x13dc1e);return!(_0x1c9b93[_0x4a2b('0x1c')][_0x4a2b('0x20')](_0x1c9b93['diff'])[_0x4a2b('0xa')]>0x2)&&!_0x2adcee[_0x4a2b('0x19')];}},'restoreRevision':{'name':_0x4a2b('0x22'),'action':(_0x47ef11,{id:_0x49af90})=>{_0x47ef11[_0x4a2b('0x39')]['get']('revisionHistory')[_0x4a2b('0x5')](_0x49af90);},'isVisible':({plugins:_0x40a039},_0x386bf4)=>!!_0x40a039[_0x4a2b('0x1d')](_0x13dc1e)[_0x4a2b('0x1c')][_0x4a2b('0x2b')](_0x386bf4['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5bc48a},{id:_0xce1f8c,revisionNameView:_0x5ddba4})=>{const _0x59b124=_0x5bc48a[_0x4a2b('0x1d')](_0x13dc1e),_0x4dbd84=_0x59b124[_0x4a2b('0x1c')][_0x4a2b('0x15')](_0xce1f8c);_0x59b124[_0x4a2b('0x27')](_0xce1f8c,_0x4dbd84),_0x5ddba4[_0x4a2b('0x21')](),_0x5ddba4[_0x4a2b('0x16')][_0x4a2b('0x11')]();}}},y[_0x4a2b('0x35')]=[_0x4a2b('0x38'),'restoreRevision',_0x4a2b('0x33')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e98=['Revision\x20history','ck-revision-history-sidebar__header','setTemplate','ck-reset_all','div','content','ck-revision-history-sidebar__header__label'];(function(_0xdbdf08,_0x3e980a){const _0x57d32c=function(_0x41da6f){while(--_0x41da6f){_0xdbdf08['push'](_0xdbdf08['shift']());}};_0x57d32c(++_0x3e980a);}(_0x3e98,0x9d));const _0x57d3=function(_0xdbdf08,_0x3e980a){_0xdbdf08=_0xdbdf08-0x0;let _0x57d32c=_0x3e98[_0xdbdf08];return _0x57d32c;};import{View as _0x308ad8,IconView as _0x246d3d}from'ckeditor5/src/ui';import{getTranslation as _0x506b6c}from'../../utils/common-translations';import _0x3bd86b from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x308ad8{constructor(_0xaabac0){super(_0xaabac0);const _0x591db0=new _0x246d3d(_0xaabac0);_0x591db0[_0x57d3('0x2')]=_0x3bd86b,this[_0x57d3('0x6')]({'tag':_0x57d3('0x1'),'attributes':{'class':['ck',_0x57d3('0x0'),_0x57d3('0x5')]},'children':[_0x591db0,{'tag':'span','attributes':{'class':['ck',_0x57d3('0x3')]},'children':[_0x506b6c(_0xaabac0,_0x57d3('0x4'))]}]});}}
23
+ const _0x3931=['ck-reset_all','ck-revision-history-sidebar__header','span','content','ck-revision-history-sidebar__header__label','Revision\x20history','setTemplate','div'];(function(_0x48005b,_0x393199){const _0xab307=function(_0x31df41){while(--_0x31df41){_0x48005b['push'](_0x48005b['shift']());}};_0xab307(++_0x393199);}(_0x3931,0x192));const _0xab30=function(_0x48005b,_0x393199){_0x48005b=_0x48005b-0x0;let _0xab307=_0x3931[_0x48005b];return _0xab307;};import{View as _0x29d512,IconView as _0x4bc6ac}from'ckeditor5/src/ui';import{getTranslation as _0x1a6909}from'../../utils/common-translations';import _0x4339af from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x29d512{constructor(_0x5ab3f8){super(_0x5ab3f8);const _0x3f0102=new _0x4bc6ac(_0x5ab3f8);_0x3f0102[_0xab30('0x1')]=_0x4339af,this[_0xab30('0x4')]({'tag':_0xab30('0x5'),'attributes':{'class':['ck',_0xab30('0x6'),_0xab30('0x7')]},'children':[_0x3f0102,{'tag':_0xab30('0x0'),'attributes':{'class':['ck',_0xab30('0x2')]},'children':[_0x1a6909(_0x5ab3f8,_0xab30('0x3'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b9=['_revisionActions','setTemplate','addRevision','setName','uiLanguage','createCollection','ck-revision-history-sidebar__time-period','startDate','localizedPeriodName','div','select','revisionViews','ck-revision-history-sidebar__time-period__revisions','find','locale','delegate','remove','ck-revision-history-sidebar__time-period__label'];(function(_0x2314f8,_0x43b95e){const _0x4cae26=function(_0x5ba87d){while(--_0x5ba87d){_0x2314f8['push'](_0x2314f8['shift']());}};_0x4cae26(++_0x43b95e);}(_0x43b9,0xf7));const _0x4cae=function(_0x2314f8,_0x43b95e){_0x2314f8=_0x2314f8-0x0;let _0x4cae26=_0x43b9[_0x2314f8];return _0x4cae26;};import{View as _0x578bb8}from'ckeditor5/src/ui';import _0x21c032 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x2879ea}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x578bb8{constructor(_0xf5ea11,_0x4f908c,_0x27b7f3){super(_0xf5ea11);const _0x2413ab=_0x2879ea(_0x4f908c,this[_0x4cae('0x1')][_0x4cae('0x9')])[_0x4cae('0xd')];this[_0x4cae('0xc')]=_0x4f908c,this['_revisionActions']=_0x27b7f3,this[_0x4cae('0x10')]=this[_0x4cae('0xa')](),this['revisionViews'][_0x4cae('0x2')](_0x4cae('0xf'))['to'](this),this['revisionViews']['delegate'](_0x4cae('0x8'))['to'](this),this[_0x4cae('0x6')]({'tag':_0x4cae('0xe'),'attributes':{'class':['ck',_0x4cae('0xb')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x4cae('0x4')]},'children':[{'text':_0x2413ab}]},{'tag':_0x4cae('0xe'),'attributes':{'class':['ck',_0x4cae('0x11')]},'children':this[_0x4cae('0x10')]}]});}[_0x4cae('0x7')](_0x597c1d){const _0x4b0a0b=new _0x21c032(this[_0x4cae('0x1')],_0x597c1d,this[_0x4cae('0x5')]);this['revisionViews']['add'](_0x4b0a0b);}['removeRevision'](_0x18df6e){const _0x50defc=this[_0x4cae('0x10')][_0x4cae('0x0')](_0x57b2c9=>_0x57b2c9['id']===_0x18df6e['id']);this['revisionViews'][_0x4cae('0x3')](_0x50defc);}}
23
+ const _0x2725=['select','removeRevision','span','createCollection','uiLanguage','div','ck-revision-history-sidebar__time-period__revisions','_revisionActions','locale','revisionViews','ck-revision-history-sidebar__time-period','startDate','delegate','remove'];(function(_0x353c08,_0x2725fa){const _0x270977=function(_0x2e773e){while(--_0x2e773e){_0x353c08['push'](_0x353c08['shift']());}};_0x270977(++_0x2725fa);}(_0x2725,0x143));const _0x2709=function(_0x353c08,_0x2725fa){_0x353c08=_0x353c08-0x0;let _0x270977=_0x2725[_0x353c08];return _0x270977;};import{View as _0x3fb196}from'ckeditor5/src/ui';import _0x253b09 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x3cbaf4}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x3fb196{constructor(_0x421fe1,_0x58a0f4,_0x301b25){super(_0x421fe1);const _0x2ddb90=_0x3cbaf4(_0x58a0f4,this['locale'][_0x2709('0x3')])['localizedPeriodName'];this[_0x2709('0xa')]=_0x58a0f4,this['_revisionActions']=_0x301b25,this[_0x2709('0x8')]=this[_0x2709('0x2')](),this[_0x2709('0x8')]['delegate'](_0x2709('0xd'))['to'](this),this[_0x2709('0x8')][_0x2709('0xb')]('setName')['to'](this),this['setTemplate']({'tag':_0x2709('0x4'),'attributes':{'class':['ck',_0x2709('0x9')]},'children':[{'tag':_0x2709('0x1'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x2ddb90}]},{'tag':'div','attributes':{'class':['ck',_0x2709('0x5')]},'children':this[_0x2709('0x8')]}]});}['addRevision'](_0x20d8dd){const _0x41bf30=new _0x253b09(this[_0x2709('0x7')],_0x20d8dd,this[_0x2709('0x6')]);this['revisionViews']['add'](_0x41bf30);}[_0x2709('0x0')](_0x143d4a){const _0x43a5fb=this[_0x2709('0x8')]['find'](_0x2f7eb0=>_0x2f7eb0['id']===_0x143d4a['id']);this['revisionViews'][_0x2709('0xc')](_0x43a5fb);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe645=['flat','highlightRevisions','some','createdAt','timePeriodViews','select','add','_addRevision','unhighlight','selectRevision','addRevision','locale','ck-reset','isEnabled','ck-rounded-corners','setName','getTime','_revisions','ck-disabled','revisionSetName','map','ck-revision-history-sidebar','div','deselect','removeRevision','revisionViews','highlight','_removeRevision','render','_getTimePeriodViewByStartDate','fire','ck-revision-history-sidebar__timeline','startDate','createCollection','_revisionActions'];(function(_0x519c7e,_0xe6457c){const _0x272a20=function(_0xee63ed){while(--_0xee63ed){_0x519c7e['push'](_0x519c7e['shift']());}};_0x272a20(++_0xe6457c);}(_0xe645,0x1bb));const _0x272a=function(_0x519c7e,_0xe6457c){_0x519c7e=_0x519c7e-0x0;let _0x272a20=_0xe645[_0x519c7e];return _0x272a20;};import{View as _0x4a11fb}from'ckeditor5/src/ui';import _0x1ce06c from'./revisionssidebartimeperiodview';import _0x3c06f2 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x5e0064}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x4a11fb{constructor(_0x8e6037,_0x44c65f,_0xafe8f2){super(_0x8e6037);const _0x320f47=this['bindTemplate'];this[_0x272a('0x10')]=this[_0x272a('0xa')](),this['timePeriodViews']['delegate']('select')['to'](this),this[_0x272a('0x10')]['delegate']('setName')['to'](this),this[_0x272a('0x1d')]=_0x44c65f,this[_0x272a('0xb')]=_0xafe8f2,this['on'](_0x272a('0x11'),(_0x169199,_0x430648)=>{this[_0x272a('0x7')]('revisionSelected',_0x430648);}),this['on'](_0x272a('0x1b'),(_0x21f74e,_0x2b9e12)=>{this[_0x272a('0x7')](_0x272a('0x1f'),_0x2b9e12);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':_0x272a('0x22'),'attributes':{'class':['ck',_0x272a('0x18'),_0x272a('0x1a'),_0x272a('0x21')]},'children':[new _0x3c06f2(_0x8e6037),{'tag':'div','attributes':{'class':['ck',_0x272a('0x8'),_0x320f47['if'](_0x272a('0x19'),_0x272a('0x1e'),_0x172d3a=>!_0x172d3a)]},'children':this['timePeriodViews']}]});}[_0x272a('0x5')](){super[_0x272a('0x5')]();for(const _0x3fcda9 of this[_0x272a('0x1d')])this[_0x272a('0x13')](_0x3fcda9);this[_0x272a('0x1d')]['on']('add',(_0x27c47d,_0x180dfd)=>{this[_0x272a('0x13')](_0x180dfd);}),this[_0x272a('0x1d')]['on']('remove',(_0x1fad9b,_0x1928ce)=>{this[_0x272a('0x4')](_0x1928ce);});}get[_0x272a('0x2')](){return this['timePeriodViews']['map'](_0x416919=>_0x416919[_0x272a('0x2')][_0x272a('0x20')](_0x2f75ac=>_0x2f75ac))[_0x272a('0xc')]();}[_0x272a('0x15')](_0x49b95a){for(const _0xd1ce5 of this['revisionViews'])_0x49b95a&&_0x49b95a['id']===_0xd1ce5['id']?_0xd1ce5[_0x272a('0x11')]():_0xd1ce5[_0x272a('0x0')]();}[_0x272a('0xd')](_0x14300f){for(const _0x578bbe of this[_0x272a('0x2')])_0x14300f[_0x272a('0xe')](({id:_0x12a93d})=>_0x12a93d===_0x578bbe['id'])?_0x578bbe[_0x272a('0x3')]():_0x578bbe[_0x272a('0x14')]();}['_addRevision'](_0x351095){const _0x3b7272=_0x5e0064(_0x351095['createdAt'])[_0x272a('0x9')];let _0x51c3f7=this['timePeriodViews']['get'](0x0);_0x51c3f7&&_0x51c3f7[_0x272a('0x9')][_0x272a('0x1c')]()===_0x3b7272[_0x272a('0x1c')]()||(_0x51c3f7=new _0x1ce06c(this[_0x272a('0x17')],_0x3b7272,this[_0x272a('0xb')]),this['timePeriodViews'][_0x272a('0x12')](_0x51c3f7)),_0x51c3f7[_0x272a('0x16')](_0x351095);}[_0x272a('0x4')](_0x3b813a){const _0x4d0a58=_0x5e0064(_0x3b813a[_0x272a('0xf')])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4d0a58)[_0x272a('0x1')](_0x3b813a);}[_0x272a('0x6')](_0x220eaf){return this['timePeriodViews']['find'](_0x1a2490=>_0x1a2490['startDate'][_0x272a('0x1c')]()===_0x220eaf[_0x272a('0x1c')]());}}
23
+ const _0x4a04=['timePeriodViews','map','ck-rounded-corners','_addRevision','setName','ck-reset','highlight','addRevision','some','ck-revision-history-sidebar','revisionViews','removeRevision','unhighlight','createCollection','find','startDate','revisionSelected','remove','createdAt','get','render','isEnabled','div','select','_revisions','revisionSetName','_revisionActions','set','locale','deselect','fire','_getTimePeriodViewByStartDate','selectRevision','getTime','setTemplate','_removeRevision','highlightRevisions'];(function(_0x15621a,_0x4a043f){const _0x1a3a29=function(_0x1a7f2c){while(--_0x1a7f2c){_0x15621a['push'](_0x15621a['shift']());}};_0x1a3a29(++_0x4a043f);}(_0x4a04,0xbd));const _0x1a3a=function(_0x15621a,_0x4a043f){_0x15621a=_0x15621a-0x0;let _0x1a3a29=_0x4a04[_0x15621a];return _0x1a3a29;};import{View as _0x333b65}from'ckeditor5/src/ui';import _0x130ac6 from'./revisionssidebartimeperiodview';import _0x44fec1 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x5cb022}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x333b65{constructor(_0x376eb1,_0x332bd3,_0x3daad7){super(_0x376eb1);const _0x3fb57d=this['bindTemplate'];this[_0x1a3a('0x21')]=this[_0x1a3a('0x9')](),this[_0x1a3a('0x21')]['delegate'](_0x1a3a('0x13'))['to'](this),this['timePeriodViews']['delegate'](_0x1a3a('0x0'))['to'](this),this['_revisions']=_0x332bd3,this['_revisionActions']=_0x3daad7,this['on'](_0x1a3a('0x13'),(_0x2cddf8,_0x24f8e6)=>{this[_0x1a3a('0x1a')](_0x1a3a('0xc'),_0x24f8e6);}),this['on'](_0x1a3a('0x0'),(_0x23237,_0x16e059)=>{this[_0x1a3a('0x1a')](_0x1a3a('0x15'),_0x16e059);}),this[_0x1a3a('0x17')](_0x1a3a('0x11'),!0x1),this[_0x1a3a('0x1e')]({'tag':_0x1a3a('0x12'),'attributes':{'class':['ck',_0x1a3a('0x1'),_0x1a3a('0x23'),_0x1a3a('0x5')]},'children':[new _0x44fec1(_0x376eb1),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3fb57d['if'](_0x1a3a('0x11'),'ck-disabled',_0x52eb27=>!_0x52eb27)]},'children':this[_0x1a3a('0x21')]}]});}[_0x1a3a('0x10')](){super[_0x1a3a('0x10')]();for(const _0x505803 of this[_0x1a3a('0x14')])this[_0x1a3a('0x24')](_0x505803);this['_revisions']['on']('add',(_0x327b1f,_0x4bf462)=>{this['_addRevision'](_0x4bf462);}),this[_0x1a3a('0x14')]['on'](_0x1a3a('0xd'),(_0x405b26,_0x5ccbe1)=>{this['_removeRevision'](_0x5ccbe1);});}get['revisionViews'](){return this['timePeriodViews'][_0x1a3a('0x22')](_0x1a6930=>_0x1a6930[_0x1a3a('0x6')]['map'](_0x3fd4e9=>_0x3fd4e9))['flat']();}[_0x1a3a('0x1c')](_0x389d15){for(const _0x20fadd of this[_0x1a3a('0x6')])_0x389d15&&_0x389d15['id']===_0x20fadd['id']?_0x20fadd[_0x1a3a('0x13')]():_0x20fadd[_0x1a3a('0x19')]();}[_0x1a3a('0x20')](_0x59ad88){for(const _0x168963 of this[_0x1a3a('0x6')])_0x59ad88[_0x1a3a('0x4')](({id:_0x5155b5})=>_0x5155b5===_0x168963['id'])?_0x168963[_0x1a3a('0x2')]():_0x168963[_0x1a3a('0x8')]();}[_0x1a3a('0x24')](_0x325902){const _0x421976=_0x5cb022(_0x325902['createdAt'])[_0x1a3a('0xb')];let _0x3cb65d=this[_0x1a3a('0x21')][_0x1a3a('0xf')](0x0);_0x3cb65d&&_0x3cb65d['startDate'][_0x1a3a('0x1d')]()===_0x421976[_0x1a3a('0x1d')]()||(_0x3cb65d=new _0x130ac6(this[_0x1a3a('0x18')],_0x421976,this[_0x1a3a('0x16')]),this['timePeriodViews']['add'](_0x3cb65d)),_0x3cb65d[_0x1a3a('0x3')](_0x325902);}[_0x1a3a('0x1f')](_0x53393b){const _0x1da25b=_0x5cb022(_0x53393b[_0x1a3a('0xe')])['startDate'];this[_0x1a3a('0x1b')](_0x1da25b)[_0x1a3a('0x7')](_0x53393b);}[_0x1a3a('0x1b')](_0xc8c52d){return this[_0x1a3a('0x21')][_0x1a3a('0xa')](_0x2effda=>_0x2effda[_0x1a3a('0xb')]['getTime']()===_0xc8c52d['getTime']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59e1=['toRelativeCalendar','startOf','week','toJSDate','setLocale','day','hasSame','year','local','monthLong','fromJSDate','weekdayLong','month'];(function(_0x5e9537,_0x59e188){const _0x8a9f1d=function(_0x4d7f14){while(--_0x4d7f14){_0x5e9537['push'](_0x5e9537['shift']());}};_0x8a9f1d(++_0x59e188);}(_0x59e1,0x1f1));const _0x8a9f=function(_0x5e9537,_0x59e188){_0x5e9537=_0x5e9537-0x0;let _0x8a9f1d=_0x59e1[_0x5e9537];return _0x8a9f1d;};import{DateTime as _0x180fe3}from'luxon';export function getDateTimePeriodInfo(_0xde5f8f,_0x2fa0d6){_0xde5f8f=_0x180fe3[_0x8a9f('0x7')](_0xde5f8f)[_0x8a9f('0x1')](_0x2fa0d6);const _0x46e2ef=_0x180fe3[_0x8a9f('0x5')](),_0x24a4e7=_0x46e2ef['minus']({'days':0x1})[_0x8a9f('0xb')]('day');let _0x4e9a93,_0x1eb60b;return _0xde5f8f['hasSame'](_0x46e2ef,'day')?(_0x4e9a93=_0xde5f8f[_0x8a9f('0xb')](_0x8a9f('0x2'))[_0x8a9f('0x0')](),_0x1eb60b=_0xde5f8f['toRelativeCalendar']()):_0xde5f8f[_0x8a9f('0x3')](_0x24a4e7,_0x8a9f('0x2'))?(_0x4e9a93=_0x24a4e7[_0x8a9f('0x0')](),_0x1eb60b=_0xde5f8f[_0x8a9f('0xa')]()):_0xde5f8f[_0x8a9f('0x3')](_0x46e2ef,'week')?(_0x4e9a93=_0xde5f8f['startOf'](_0x8a9f('0xc'))['toJSDate'](),_0x1eb60b=_0xde5f8f[_0x8a9f('0x8')]):_0xde5f8f['hasSame'](_0x46e2ef,_0x8a9f('0x4'))?(_0x4e9a93=_0xde5f8f['startOf'](_0x8a9f('0x9'))[_0x8a9f('0x0')](),_0x1eb60b=_0xde5f8f[_0x8a9f('0x6')]):(_0x4e9a93=_0xde5f8f[_0x8a9f('0xb')]('year')[_0x8a9f('0x0')](),_0x1eb60b=_0xde5f8f[_0x8a9f('0x4')]),{'startDate':_0x4e9a93,'localizedPeriodName':_0x1eb60b};}
23
+ const _0x2144=['hasSame','minus','year','toRelativeCalendar','monthLong','startOf','week','day','toJSDate','setLocale'];(function(_0x498d70,_0x214404){const _0x2c4ab1=function(_0x6735b4){while(--_0x6735b4){_0x498d70['push'](_0x498d70['shift']());}};_0x2c4ab1(++_0x214404);}(_0x2144,0x199));const _0x2c4a=function(_0x498d70,_0x214404){_0x498d70=_0x498d70-0x0;let _0x2c4ab1=_0x2144[_0x498d70];return _0x2c4ab1;};import{DateTime as _0x3e9d87}from'luxon';export function getDateTimePeriodInfo(_0x47e8fc,_0x57953c){_0x47e8fc=_0x3e9d87['fromJSDate'](_0x47e8fc)[_0x2c4a('0x0')](_0x57953c);const _0x297155=_0x3e9d87['local'](),_0x5c0e41=_0x297155[_0x2c4a('0x2')]({'days':0x1})[_0x2c4a('0x6')](_0x2c4a('0x8'));let _0x1bd293,_0x16633c;return _0x47e8fc[_0x2c4a('0x1')](_0x297155,_0x2c4a('0x8'))?(_0x1bd293=_0x47e8fc['startOf'](_0x2c4a('0x8'))[_0x2c4a('0x9')](),_0x16633c=_0x47e8fc['toRelativeCalendar']()):_0x47e8fc[_0x2c4a('0x1')](_0x5c0e41,'day')?(_0x1bd293=_0x5c0e41[_0x2c4a('0x9')](),_0x16633c=_0x47e8fc[_0x2c4a('0x4')]()):_0x47e8fc[_0x2c4a('0x1')](_0x297155,_0x2c4a('0x7'))?(_0x1bd293=_0x47e8fc[_0x2c4a('0x6')](_0x2c4a('0x7'))[_0x2c4a('0x9')](),_0x16633c=_0x47e8fc['weekdayLong']):_0x47e8fc['hasSame'](_0x297155,_0x2c4a('0x3'))?(_0x1bd293=_0x47e8fc[_0x2c4a('0x6')]('month')[_0x2c4a('0x9')](),_0x16633c=_0x47e8fc[_0x2c4a('0x5')]):(_0x1bd293=_0x47e8fc[_0x2c4a('0x6')]('year')[_0x2c4a('0x9')](),_0x16633c=_0x47e8fc[_0x2c4a('0x3')]),{'startDate':_0x1bd293,'localizedPeriodName':_0x16633c};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x537b=['setTemplate','author','Added\x20by','div','focus','Suggested\x20by','name','type','set','Removed\x20by','element','span','ck-revision-change__','ck-annotation'];(function(_0x1d6691,_0x537b94){const _0x167bdb=function(_0x12a013){while(--_0x12a013){_0x1d6691['push'](_0x1d6691['shift']());}};_0x167bdb(++_0x537b94);}(_0x537b,0xdf));const _0x167b=function(_0x1d6691,_0x537b94){_0x1d6691=_0x1d6691-0x0;let _0x167bdb=_0x537b[_0x1d6691];return _0x167bdb;};import{View as _0x7d766b}from'ckeditor5/src/ui';import{getTranslation as _0x2cb708}from'../../utils/common-translations';export default class X extends _0x7d766b{constructor(_0x159441,_0x3a3847){super(_0x159441),this['_model']=_0x3a3847;const _0x1dc09c=this['bindTemplate'],_0x315ace=_0x2cb708(_0x159441,_0x3a3847['data']['isSuggestion']?_0x167b('0x6'):'add'==_0x3a3847['type']?_0x167b('0x3'):_0x167b('0xa'));this[_0x167b('0x9')]('type',_0x3a3847[_0x167b('0x8')]),this[_0x167b('0x1')]({'tag':_0x167b('0x4'),'attributes':{'class':[_0x167b('0x0'),'ck-revision-change',_0x1dc09c['to'](_0x167b('0x8'),_0x467a12=>_0x167b('0xd')+_0x467a12)],'tabindex':-0x1},'children':[{'tag':_0x167b('0xc'),'children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x315ace}]},{'text':'\x20'+_0x3a3847[_0x167b('0x2')][_0x167b('0x7')]}]}]});}['focus'](){this[_0x167b('0xb')][_0x167b('0x5')]();}}
23
+ const _0x2975=['author','ck-revision-change__','set','isSuggestion','name','_model','type','data','add','Removed\x20by','setTemplate','element','bindTemplate','ck-revision-change__label','focus'];(function(_0x179dac,_0x2975ee){const _0x5baeed=function(_0x5dcc2a){while(--_0x5dcc2a){_0x179dac['push'](_0x179dac['shift']());}};_0x5baeed(++_0x2975ee);}(_0x2975,0xc7));const _0x5bae=function(_0x179dac,_0x2975ee){_0x179dac=_0x179dac-0x0;let _0x5baeed=_0x2975[_0x179dac];return _0x5baeed;};import{View as _0x3d007c}from'ckeditor5/src/ui';import{getTranslation as _0x37ac91}from'../../utils/common-translations';export default class X extends _0x3d007c{constructor(_0x1e378c,_0x2e9dd1){super(_0x1e378c),this[_0x5bae('0x1')]=_0x2e9dd1;const _0x481891=this[_0x5bae('0x8')],_0xa558f0=_0x37ac91(_0x1e378c,_0x2e9dd1[_0x5bae('0x3')][_0x5bae('0xe')]?'Suggested\x20by':_0x5bae('0x4')==_0x2e9dd1[_0x5bae('0x2')]?'Added\x20by':_0x5bae('0x5'));this[_0x5bae('0xd')]('type',_0x2e9dd1[_0x5bae('0x2')]),this[_0x5bae('0x6')]({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x481891['to'](_0x5bae('0x2'),_0x5a5b5c=>_0x5bae('0xc')+_0x5a5b5c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':[_0x5bae('0x9')]},'children':[{'text':_0xa558f0}]},{'text':'\x20'+_0x2e9dd1[_0x5bae('0xb')][_0x5bae('0x0')]}]}]});}['focus'](){this[_0x5bae('0x7')][_0x5bae('0xa')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d08=['isForwardNavigationEnabled','span','Total','ck-revision-history-ui__changes-navigation__navigation','ck-hidden','isNavigationMode','fire','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','X_OF_Y_CHANGES','Show\x20previous\x20change','setTemplate','forward','execute','ck-revision-history-ui__changes-navigation','Loading...','numberOfChanges','ck-revision-history-ui','backward','EDIT_X_OF_Y_REVISIONS','Show\x20next\x20change','isReady','_isStatusLabelVisible','set','currentChangeNumber','bind','ck-revision-history-ui__changes-navigation__wrapper','div','No\x20changes','NUMBER_OF_CHANGES'];(function(_0x136a6f,_0x3d0877){const _0x29c850=function(_0x22c8b0){while(--_0x22c8b0){_0x136a6f['push'](_0x136a6f['shift']());}};_0x29c850(++_0x3d0877);}(_0x3d08,0xb5));const _0x29c8=function(_0x136a6f,_0x3d0877){_0x136a6f=_0x136a6f-0x0;let _0x29c850=_0x3d08[_0x136a6f];return _0x29c850;};import{View as _0xc828c6,ButtonView as _0x9a764e,ToolbarSeparatorView as _0x35e139}from'ckeditor5/src/ui';import{getTranslation as _0x1f8168}from'../../utils/common-translations';import _0x34a7a7 from'../../../theme/icons/arrow-up.svg';import _0x39b322 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0xc828c6{constructor(_0x59c46b){super(_0x59c46b);const _0x51f19e=this['bindTemplate'],_0x45939e=new _0x9a764e(_0x59c46b),_0x1a5d52=new _0x9a764e(_0x59c46b);this[_0x29c8('0x16')]('isNavigationMode',!0x1),this[_0x29c8('0x16')](_0x29c8('0x14'),!0x1),this[_0x29c8('0x16')](_0x29c8('0x17'),0x0),this[_0x29c8('0x16')](_0x29c8('0xf'),0x0),this['set'](_0x29c8('0x1d'),!0x1),this[_0x29c8('0x16')](_0x29c8('0x6'),!0x1),this['bind']('_isStatusLabelVisible')['to'](this,_0x29c8('0x14'),this,_0x29c8('0xf'),(_0x3cd223,_0x3ecc6e)=>_0x3cd223&&_0x3ecc6e>0x0),this[_0x29c8('0x18')]('_statusText')['to'](this,_0x29c8('0x14'),this,_0x29c8('0x17'),this,_0x29c8('0xf'),this,_0x29c8('0x4'),(_0xc090cc,_0x54bef7,_0x362644,_0x406eae)=>{if(!_0xc090cc)return _0x1f8168(_0x59c46b,_0x29c8('0xe'));if(!_0x362644)return _0x1f8168(_0x59c46b,_0x29c8('0x1b'));const _0x56c2db=_0x1f8168(_0x59c46b,_0x29c8('0x1c'),_0x362644);return _0x406eae?_0x1f8168(_0x59c46b,_0x29c8('0x8'),[_0x54bef7+0x1,_0x362644]):_0x56c2db;}),_0x45939e['set']({'label':_0x1f8168(_0x59c46b,_0x29c8('0x9')),'tooltip':!0x0,'icon':_0x34a7a7}),_0x1a5d52[_0x29c8('0x16')]({'label':_0x1f8168(_0x59c46b,_0x29c8('0x13')),'tooltip':!0x0,'icon':_0x39b322}),_0x45939e[_0x29c8('0x18')]('isEnabled')['to'](this,_0x29c8('0x6')),_0x1a5d52['bind']('isEnabled')['to'](this,_0x29c8('0x1d')),_0x45939e['on'](_0x29c8('0xc'),()=>this[_0x29c8('0x5')](_0x29c8('0xc'),_0x29c8('0x11'))),_0x1a5d52['on'](_0x29c8('0xc'),()=>this['fire'](_0x29c8('0xc'),_0x29c8('0xb'))),this[_0x29c8('0xa')]({'tag':'div','attributes':{'class':['ck',_0x29c8('0x10'),_0x29c8('0xd')]},'children':[{'tag':'span','attributes':{'class':[_0x29c8('0x19')]},'children':[{'tag':_0x29c8('0x0'),'attributes':{'class':[_0x29c8('0x7'),_0x51f19e['if'](_0x29c8('0x15'),_0x29c8('0x3'),_0x5c8cc3=>!_0x5c8cc3)]},'children':[{'text':_0x51f19e['to'](_0x29c8('0x4'),_0x2ccc7f=>_0x2ccc7f?_0x1f8168(_0x59c46b,_0x29c8('0x12'))+':\x20':_0x1f8168(_0x59c46b,_0x29c8('0x1'))+':\x20')}]},{'text':_0x51f19e['to']('_statusText')}]},new _0x35e139(),{'tag':_0x29c8('0x1a'),'attributes':{'class':[_0x29c8('0x2')]},'children':[_0x45939e,_0x1a5d52]}]});}}
23
+ const _0x28d0=['isEnabled','Total','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__navigation','backward','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation','execute','NUMBER_OF_CHANGES','X_OF_Y_CHANGES','_statusText','Loading...','Show\x20next\x20change','bind','set','div','isReady','isForwardNavigationEnabled','isBackwardNavigationEnabled','setTemplate','No\x20changes','forward','ck-hidden','fire','ck-revision-history-ui','numberOfChanges','EDIT_X_OF_Y_REVISIONS','_isStatusLabelVisible','span','currentChangeNumber','isNavigationMode'];(function(_0x19ff17,_0x28d006){const _0x4b9b73=function(_0x2fc09e){while(--_0x2fc09e){_0x19ff17['push'](_0x19ff17['shift']());}};_0x4b9b73(++_0x28d006);}(_0x28d0,0xd1));const _0x4b9b=function(_0x19ff17,_0x28d006){_0x19ff17=_0x19ff17-0x0;let _0x4b9b73=_0x28d0[_0x19ff17];return _0x4b9b73;};import{View as _0x4c3e5f,ButtonView as _0x11bc73,ToolbarSeparatorView as _0x5d3ca3}from'ckeditor5/src/ui';import{getTranslation as _0x40a4c7}from'../../utils/common-translations';import _0x2f8ced from'../../../theme/icons/arrow-up.svg';import _0x399ce2 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x4c3e5f{constructor(_0x3cbde5){super(_0x3cbde5);const _0x47e92c=this['bindTemplate'],_0x1be754=new _0x11bc73(_0x3cbde5),_0x2faef2=new _0x11bc73(_0x3cbde5);this[_0x4b9b('0x16')]('isNavigationMode',!0x1),this[_0x4b9b('0x16')](_0x4b9b('0x18'),!0x1),this[_0x4b9b('0x16')](_0x4b9b('0x6'),0x0),this[_0x4b9b('0x16')]('numberOfChanges',0x0),this[_0x4b9b('0x16')](_0x4b9b('0x19'),!0x1),this[_0x4b9b('0x16')](_0x4b9b('0x1a'),!0x1),this[_0x4b9b('0x15')](_0x4b9b('0x4'))['to'](this,_0x4b9b('0x18'),this,_0x4b9b('0x2'),(_0x40c01c,_0xc1072d)=>_0x40c01c&&_0xc1072d>0x0),this[_0x4b9b('0x15')](_0x4b9b('0x12'))['to'](this,_0x4b9b('0x18'),this,'currentChangeNumber',this,_0x4b9b('0x2'),this,_0x4b9b('0x7'),(_0x13344a,_0x14f463,_0x2983a0,_0xa10b89)=>{if(!_0x13344a)return _0x40a4c7(_0x3cbde5,_0x4b9b('0x13'));if(!_0x2983a0)return _0x40a4c7(_0x3cbde5,_0x4b9b('0x1c'));const _0x5b787f=_0x40a4c7(_0x3cbde5,_0x4b9b('0x10'),_0x2983a0);return _0xa10b89?_0x40a4c7(_0x3cbde5,_0x4b9b('0x11'),[_0x14f463+0x1,_0x2983a0]):_0x5b787f;}),_0x1be754[_0x4b9b('0x16')]({'label':_0x40a4c7(_0x3cbde5,_0x4b9b('0xa')),'tooltip':!0x0,'icon':_0x2f8ced}),_0x2faef2[_0x4b9b('0x16')]({'label':_0x40a4c7(_0x3cbde5,_0x4b9b('0x14')),'tooltip':!0x0,'icon':_0x399ce2}),_0x1be754[_0x4b9b('0x15')](_0x4b9b('0x8'))['to'](this,_0x4b9b('0x1a')),_0x2faef2[_0x4b9b('0x15')](_0x4b9b('0x8'))['to'](this,_0x4b9b('0x19')),_0x1be754['on']('execute',()=>this[_0x4b9b('0x0')]('execute',_0x4b9b('0xc'))),_0x2faef2['on'](_0x4b9b('0xf'),()=>this['fire'](_0x4b9b('0xf'),_0x4b9b('0x1d'))),this[_0x4b9b('0x1b')]({'tag':_0x4b9b('0x17'),'attributes':{'class':['ck',_0x4b9b('0x1'),_0x4b9b('0xe')]},'children':[{'tag':_0x4b9b('0x5'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':[_0x4b9b('0xd'),_0x47e92c['if'](_0x4b9b('0x4'),_0x4b9b('0x1e'),_0x2fb1ad=>!_0x2fb1ad)]},'children':[{'text':_0x47e92c['to'](_0x4b9b('0x7'),_0x212a0c=>_0x212a0c?_0x40a4c7(_0x3cbde5,_0x4b9b('0x3'))+':\x20':_0x40a4c7(_0x3cbde5,_0x4b9b('0x9'))+':\x20')}]},{'text':_0x47e92c['to'](_0x4b9b('0x12'))}]},new _0x5d3ca3(),{'tag':_0x4b9b('0x17'),'attributes':{'class':[_0x4b9b('0xb')]},'children':[_0x1be754,_0x2faef2]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xaba0=['view','removeClass','hide','pluginName','show','ck-editor__editable__loading-overlay','editor','change','document','RevisionViewerLoadingOverlay','addClass','roots'];(function(_0x5e5eb9,_0xaba09){const _0x3dd17f=function(_0x5bc382){while(--_0x5bc382){_0x5e5eb9['push'](_0x5e5eb9['shift']());}};_0x3dd17f(++_0xaba09);}(_0xaba0,0x1f0));const _0x3dd1=function(_0x5e5eb9,_0xaba09){_0x5e5eb9=_0x5e5eb9-0x0;let _0x3dd17f=_0xaba0[_0x5e5eb9];return _0x3dd17f;};import{Plugin as _0x1d44ff}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class ee extends _0x1d44ff{static get[_0x3dd1('0xb')](){return _0x3dd1('0x5');}[_0x3dd1('0x0')](){const _0x4f0f2e=this[_0x3dd1('0x2')]['editing'][_0x3dd1('0x8')];_0x4f0f2e['change'](_0x100396=>{for(const _0x44ef04 of _0x4f0f2e['document'][_0x3dd1('0x7')])_0x100396[_0x3dd1('0x6')]('ck-editor__editable__loading-overlay',_0x44ef04);});}[_0x3dd1('0xa')](){const _0x5875f0=this['editor']['editing'][_0x3dd1('0x8')];_0x5875f0[_0x3dd1('0x3')](_0xb2c837=>{for(const _0x44a6e0 of _0x5875f0[_0x3dd1('0x4')][_0x3dd1('0x7')])_0xb2c837[_0x3dd1('0x9')](_0x3dd1('0x1'),_0x44a6e0);});}}
23
+ const _0xbef3=['change','addClass','hide','roots','editor','show','editing','document','ck-editor__editable__loading-overlay','pluginName','removeClass','view'];(function(_0x2de765,_0xbef328){const _0x1d607a=function(_0x257eb6){while(--_0x257eb6){_0x2de765['push'](_0x2de765['shift']());}};_0x1d607a(++_0xbef328);}(_0xbef3,0x124));const _0x1d60=function(_0x2de765,_0xbef328){_0x2de765=_0x2de765-0x0;let _0x1d607a=_0xbef3[_0x2de765];return _0x1d607a;};import{Plugin as _0x4bfd08}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class ee extends _0x4bfd08{static get[_0x1d60('0x5')](){return'RevisionViewerLoadingOverlay';}[_0x1d60('0x1')](){const _0x41bf4d=this[_0x1d60('0x0')][_0x1d60('0x2')][_0x1d60('0x7')];_0x41bf4d[_0x1d60('0x8')](_0x5c12f0=>{for(const _0x3b64bd of _0x41bf4d[_0x1d60('0x3')]['roots'])_0x5c12f0[_0x1d60('0x9')](_0x1d60('0x4'),_0x3b64bd);});}[_0x1d60('0xa')](){const _0x38fef1=this[_0x1d60('0x0')][_0x1d60('0x2')][_0x1d60('0x7')];_0x38fef1[_0x1d60('0x8')](_0x26860a=>{for(const _0xd11fa4 of _0x38fef1['document'][_0x1d60('0xb')])_0x26860a[_0x1d60('0x6')](_0x1d60('0x4'),_0xd11fa4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3695=['change:isReady','pluginName','numberOfChanges','set','ck-revision-history-ui__back-to-editing','editor','config','componentFactory','restoreRevision','currentChangeNumber','isForwardNavigationEnabled','isEnabled','isNavigationMode','get','closeRevisionViewerCallback','exitToEditing','show','Restore\x20this\x20revision','revisionHistory','bind','requires','init','listenTo','isReady','commands','hide','changesNavigation','showNextChange','execute','add','plugins','Back\x20to\x20editing','isBackwardNavigationEnabled','showPreviousChange'];(function(_0xdb3f76,_0x3695a1){const _0x402ade=function(_0x52577f){while(--_0x52577f){_0xdb3f76['push'](_0xdb3f76['shift']());}};_0x402ade(++_0x3695a1);}(_0x3695,0x9d));const _0x402a=function(_0xdb3f76,_0x3695a1){_0xdb3f76=_0xdb3f76-0x0;let _0x402ade=_0x3695[_0xdb3f76];return _0x402ade;};import{Plugin as _0x4ba7e4}from'ckeditor5/src/core';import{ButtonView as _0x472319}from'ckeditor5/src/ui';import _0x20898d from'./changesnavigationview';import _0x51dcc2 from'./../../revisionviewer';import _0x29f1da from'./revisionviewerloadingoverlay';import{getTranslation as _0xd296ba}from'../../utils/common-translations';import _0x443443 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class m extends _0x4ba7e4{static get[_0x402a('0xe')](){return'RevisionViewerUI';}static get[_0x402a('0x21')](){return[_0x51dcc2,_0x29f1da];}[_0x402a('0x0')](){const _0x2d1058=this[_0x402a('0x12')],_0xf0c2f1=_0x2d1058[_0x402a('0x9')][_0x402a('0x1a')](_0x51dcc2),_0x17d183=_0x2d1058[_0x402a('0x9')]['get'](_0x29f1da);_0x2d1058['ui'][_0x402a('0x14')][_0x402a('0x8')](_0x402a('0x1c'),_0x477bc8=>{const _0x25fd3d=new _0x472319(_0x477bc8);return _0x25fd3d[_0x402a('0x10')]({'label':_0xd296ba(_0x477bc8,_0x402a('0xa')),'icon':_0x443443,'withText':!0x0,'tooltip':!0x0,'class':_0x402a('0x11')}),this['listenTo'](_0x25fd3d,_0x402a('0x7'),()=>{_0x2d1058[_0x402a('0x13')][_0x402a('0x1a')](_0x402a('0x1f'))[_0x402a('0x1b')]();}),_0x25fd3d;}),_0x2d1058['ui']['componentFactory']['add'](_0x402a('0x15'),_0x242cf0=>{const _0x3958bd=new _0x472319(_0x242cf0);return _0x3958bd[_0x402a('0x10')]({'label':_0xd296ba(_0x242cf0,_0x402a('0x1e')),'withText':!0x0,'tooltip':!0x0}),_0x3958bd[_0x402a('0x20')](_0x402a('0x18'))['to'](_0x2d1058['commands'][_0x402a('0x1a')]('restoreRevision')),this[_0x402a('0x1')](_0x3958bd,_0x402a('0x7'),()=>_0x2d1058[_0x402a('0x7')]('restoreRevision')),_0x3958bd;}),_0x2d1058['ui']['componentFactory'][_0x402a('0x8')](_0x402a('0x5'),_0x7e07ae=>{const _0x160a00=new _0x20898d(_0x7e07ae),_0x2374fa=_0x2d1058[_0x402a('0x3')][_0x402a('0x1a')](_0x402a('0xc')),_0x5ee84b=_0x2d1058[_0x402a('0x3')][_0x402a('0x1a')](_0x402a('0x6'));return _0x160a00[_0x402a('0x20')](_0x402a('0xb'))['to'](_0x2374fa,_0x402a('0x18')),_0x160a00[_0x402a('0x20')](_0x402a('0x17'))['to'](_0x5ee84b,_0x402a('0x18')),_0x160a00['bind'](_0x402a('0x2'),_0x402a('0x16'),_0x402a('0xf'),_0x402a('0x19'))['to'](_0xf0c2f1),this[_0x402a('0x1')](_0x160a00,_0x402a('0x7'),(_0x3e2639,_0x57143c)=>{_0x2d1058['execute']('forward'===_0x57143c?_0x402a('0x6'):_0x402a('0xc'));}),_0x160a00;}),_0x17d183[_0x402a('0x1d')](),_0xf0c2f1['on'](_0x402a('0xd'),(_0x31b8f6,_0x7a7ec7,_0x3bcac4)=>{_0x3bcac4?_0x17d183[_0x402a('0x4')]():_0x17d183[_0x402a('0x1d')]();});}}
23
+ const _0x171d=['commands','init','hide','bind','add','exitToEditing','isBackwardNavigationEnabled','listenTo','currentChangeNumber','showNextChange','changesNavigation','isEnabled','show','restoreRevision','numberOfChanges','showPreviousChange','set','forward','requires','pluginName','componentFactory','isNavigationMode','isReady','plugins','Back\x20to\x20editing','RevisionViewerUI','get','execute','closeRevisionViewerCallback'];(function(_0x3c4791,_0x171dad){const _0x511321=function(_0x37aa55){while(--_0x37aa55){_0x3c4791['push'](_0x3c4791['shift']());}};_0x511321(++_0x171dad);}(_0x171d,0x161));const _0x5113=function(_0x3c4791,_0x171dad){_0x3c4791=_0x3c4791-0x0;let _0x511321=_0x171d[_0x3c4791];return _0x511321;};import{Plugin as _0x377cb2}from'ckeditor5/src/core';import{ButtonView as _0x5a77cc}from'ckeditor5/src/ui';import _0x3446d0 from'./changesnavigationview';import _0xe55b0e from'./../../revisionviewer';import _0x2c9443 from'./revisionviewerloadingoverlay';import{getTranslation as _0x28503f}from'../../utils/common-translations';import _0x5a1473 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class m extends _0x377cb2{static get[_0x5113('0xe')](){return _0x5113('0x14');}static get[_0x5113('0xd')](){return[_0xe55b0e,_0x2c9443];}[_0x5113('0x19')](){const _0x326377=this['editor'],_0x4c5b2e=_0x326377['plugins'][_0x5113('0x15')](_0xe55b0e),_0x1e6173=_0x326377[_0x5113('0x12')][_0x5113('0x15')](_0x2c9443);_0x326377['ui'][_0x5113('0xf')][_0x5113('0x1c')](_0x5113('0x0'),_0x2da0dc=>{const _0xd5d78a=new _0x5a77cc(_0x2da0dc);return _0xd5d78a[_0x5113('0xb')]({'label':_0x28503f(_0x2da0dc,_0x5113('0x13')),'icon':_0x5a1473,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x5113('0x2')](_0xd5d78a,_0x5113('0x16'),()=>{_0x326377['config'][_0x5113('0x15')]('revisionHistory')[_0x5113('0x17')]();}),_0xd5d78a;}),_0x326377['ui']['componentFactory']['add'](_0x5113('0x8'),_0x2f272c=>{const _0x17ccc8=new _0x5a77cc(_0x2f272c);return _0x17ccc8[_0x5113('0xb')]({'label':_0x28503f(_0x2f272c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x17ccc8[_0x5113('0x1b')]('isEnabled')['to'](_0x326377[_0x5113('0x18')][_0x5113('0x15')](_0x5113('0x8'))),this[_0x5113('0x2')](_0x17ccc8,_0x5113('0x16'),()=>_0x326377['execute'](_0x5113('0x8'))),_0x17ccc8;}),_0x326377['ui'][_0x5113('0xf')][_0x5113('0x1c')](_0x5113('0x5'),_0x1adb79=>{const _0x417d66=new _0x3446d0(_0x1adb79),_0x96a3ae=_0x326377['commands'][_0x5113('0x15')](_0x5113('0xa')),_0x4b4272=_0x326377[_0x5113('0x18')][_0x5113('0x15')]('showNextChange');return _0x417d66[_0x5113('0x1b')](_0x5113('0x1'))['to'](_0x96a3ae,_0x5113('0x6')),_0x417d66[_0x5113('0x1b')]('isForwardNavigationEnabled')['to'](_0x4b4272,'isEnabled'),_0x417d66[_0x5113('0x1b')](_0x5113('0x11'),_0x5113('0x3'),_0x5113('0x9'),_0x5113('0x10'))['to'](_0x4c5b2e),this['listenTo'](_0x417d66,'execute',(_0x19a3d7,_0x414473)=>{_0x326377[_0x5113('0x16')](_0x5113('0xc')===_0x414473?_0x5113('0x4'):_0x5113('0xa'));}),_0x417d66;}),_0x1e6173[_0x5113('0x7')](),_0x4c5b2e['on']('change:isReady',(_0x34f043,_0x1a7629,_0xf24f9a)=>{_0xf24f9a?_0x1e6173[_0x5113('0x1a')]():_0x1e6173[_0x5113('0x7')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x55ffac,_0x38a82b,_0x3aaab5){const t=_0x55ffac['t'];switch(_0x38a82b){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'},_0x3aaab5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3aaab5);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'});}}
23
+ export function getTranslation(_0x4297a4,_0x56ac07,_0x5de4a8){const t=_0x4297a4['t'];switch(_0x56ac07){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'},_0x5de4a8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5de4a8);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'});}}