@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231227.0 → 0.0.0-nightly-20231229.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 (32) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +5 -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.d.ts +2 -2
  7. package/src/editor/revisionviewereditoruiview.js +1 -1
  8. package/src/revision.js +1 -1
  9. package/src/revisiondiff.js +1 -1
  10. package/src/revisionhistory.js +1 -1
  11. package/src/revisionsrepository.js +1 -1
  12. package/src/revisiontracker.js +1 -1
  13. package/src/revisionviewer.js +1 -1
  14. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  15. package/src/ui/revision/revisionauthorview.js +1 -1
  16. package/src/ui/revision/revisionnameview.js +1 -1
  17. package/src/ui/revision/revisionview.js +1 -1
  18. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  19. package/src/ui/revision/subrevisionview.js +1 -1
  20. package/src/ui/revision/utils.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  22. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  26. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  27. package/src/ui/revisionssidebar/utils.js +1 -1
  28. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  29. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  31. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  32. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ce0=['set','showRevisionViewerCallback','buttonView','revisionHistory','isReady','RevisionTracker','Revision\x20history','get','length','revisionName','remove','editing','RevisionHistoryUI','Open\x20revision\x20history','isReadOnly','focus','componentFactory','config','bind','editor','render','history','submit','children','plugins','panelView','isEnabled','reset','execute','items','view','saveRevision','add'];(function(_0x389b8d,_0x3ce041){const _0x1c88c3=function(_0x2db010){while(--_0x2db010){_0x389b8d['push'](_0x389b8d['shift']());}};_0x1c88c3(++_0x3ce041);}(_0x3ce0,0x152));const _0x1c88=function(_0x389b8d,_0x3ce041){_0x389b8d=_0x389b8d-0x0;let _0x1c88c3=_0x3ce0[_0x389b8d];return _0x1c88c3;};import{Plugin as _0x5084d5,icons as _0xb10efb}from'ckeditor5/src/core.js';import{ListView as _0x1b62bd,ListItemView as _0x225380,ButtonView as _0x16111f,createDropdown as _0x2b7e4b}from'ckeditor5/src/ui.js';import _0x25cb95 from'../../revisiontracker.js';import _0x590676 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2b08d5}from'../../utils/common-translations.js';export default class u extends _0x5084d5{static get['pluginName'](){return _0x1c88('0x4');}static get['requires'](){return[_0x25cb95];}['init'](){const _0x2fa47c=this[_0x1c88('0xb')],_0x535b78=_0x2fa47c['plugins'][_0x1c88('0x20')](_0x1c88('0x1e'));_0x2fa47c['ui'][_0x1c88('0x8')][_0x1c88('0x18')](_0x1c88('0x1c'),_0x203ecd=>{const _0x5d23de=_0x2b7e4b(_0x203ecd),_0x35e5e7=_0x5d23de[_0x1c88('0x11')][_0x1c88('0xf')],_0x177f71=new _0x1b62bd(_0x203ecd),_0x487a4b=new _0x225380(_0x203ecd),_0x534ac2=new _0x16111f(_0x203ecd),_0x353de3=new _0x225380(_0x203ecd),_0x5d7167=new _0x16111f(_0x203ecd),_0x370d90=new _0x590676(_0x203ecd);function _0x104470(){_0x35e5e7[_0x1c88('0x0')]&&_0x35e5e7[_0x1c88('0x2')](0x0),_0x35e5e7[_0x1c88('0x18')](_0x177f71);}function _0x14d57c(){_0x5d23de['isOpen']=!0x1,_0x2fa47c[_0x1c88('0x3')][_0x1c88('0x16')][_0x1c88('0x7')]();}return _0x5d23de[_0x1c88('0xa')](_0x1c88('0x12'))['to'](_0x535b78,'isReady',_0x535b78,_0x1c88('0x12'),_0x2fa47c,'isReadOnly',(_0x215582,_0x53ac93,_0x515a25)=>_0x215582&&_0x53ac93&&!_0x515a25),_0x5d23de[_0x1c88('0x1b')][_0x1c88('0x19')]({'icon':_0xb10efb[_0x1c88('0xd')],'label':_0x2b08d5(_0x203ecd,_0x1c88('0x1f')),'tooltip':!0x0}),_0x534ac2[_0x1c88('0x19')]({'label':_0x2b08d5(_0x203ecd,'Save\x20current\x20revision'),'withText':!0x0}),_0x534ac2[_0x1c88('0xa')](_0x1c88('0x12'))['to'](_0x535b78,_0x1c88('0x1d'),_0x535b78,_0x1c88('0x12'),_0x2fa47c,'isReadOnly',(_0xc099e6,_0x2205d4,_0x2eb40b)=>_0xc099e6&&_0x2205d4&&!_0x2eb40b),_0x534ac2['on'](_0x1c88('0x14'),()=>function(){_0x35e5e7[_0x1c88('0x0')]&&_0x35e5e7[_0x1c88('0x2')](0x0),(_0x370d90[_0x1c88('0x13')](),_0x35e5e7[_0x1c88('0x18')](_0x370d90),_0x370d90[_0x1c88('0x7')]());}()),_0x5d7167['set']({'label':_0x2b08d5(_0x203ecd,_0x1c88('0x5')),'withText':!0x0}),_0x5d7167[_0x1c88('0xa')](_0x1c88('0x12'))['to'](_0x535b78,_0x1c88('0x1d'),_0x2fa47c,_0x1c88('0x6'),(_0xa5b249,_0xa6bf13)=>_0xa5b249&&!_0xa6bf13),_0x5d7167['on']('execute',()=>{_0x2fa47c[_0x1c88('0x9')][_0x1c88('0x20')](_0x1c88('0x1c'))[_0x1c88('0x1a')](),_0x14d57c();}),_0x487a4b[_0x1c88('0xf')][_0x1c88('0x18')](_0x534ac2),_0x353de3[_0x1c88('0xf')][_0x1c88('0x18')](_0x5d7167),_0x177f71[_0x1c88('0x15')]['addMany']([_0x487a4b,_0x353de3]),_0x5d23de['on']('change:isOpen',()=>_0x104470()),_0x370d90['saveButtonView']['bind'](_0x1c88('0x12'))['to'](_0x535b78,_0x1c88('0x1d'),_0x535b78,_0x1c88('0x12'),_0x2fa47c,'isReadOnly',(_0x482cf4,_0x11ee98,_0xea8381)=>_0x482cf4&&_0x11ee98&&!_0xea8381),_0x370d90['on'](_0x1c88('0xe'),()=>(_0x2fa47c[_0x1c88('0x10')][_0x1c88('0x20')](_0x25cb95)[_0x1c88('0x17')]({'name':_0x370d90[_0x1c88('0x1')]}),void _0x14d57c())),_0x370d90['on']('cancel',()=>_0x104470()),_0x370d90[_0x1c88('0xc')](),_0x104470(),_0x5d23de;});}}
23
+ const _0x5369=['submit','items','saveButtonView','view','plugins','isReady','get','showRevisionViewerCallback','revisionHistory','execute','length','config','reset','remove','addMany','children','revisionName','isEnabled','isReadOnly','panelView','isOpen','cancel','add','Open\x20revision\x20history','pluginName','bind','focus','Save\x20current\x20revision','Revision\x20history','editor','requires','set','init'];(function(_0x2f45b8,_0x5369a4){const _0x1f18fa=function(_0x1a2a0e){while(--_0x1a2a0e){_0x2f45b8['push'](_0x2f45b8['shift']());}};_0x1f18fa(++_0x5369a4);}(_0x5369,0x12a));const _0x1f18=function(_0x2f45b8,_0x5369a4){_0x2f45b8=_0x2f45b8-0x0;let _0x1f18fa=_0x5369[_0x2f45b8];return _0x1f18fa;};import{Plugin as _0x17babe,icons as _0x393b14}from'ckeditor5/src/core.js';import{ListView as _0x10b965,ListItemView as _0x38d958,ButtonView as _0x4b17bb,createDropdown as _0x5a6669}from'ckeditor5/src/ui.js';import _0x16e71a from'../../revisiontracker.js';import _0x4ccf55 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x285f2d}from'../../utils/common-translations.js';export default class u extends _0x17babe{static get[_0x1f18('0x17')](){return'RevisionHistoryUI';}static get[_0x1f18('0x1d')](){return[_0x16e71a];}[_0x1f18('0x1f')](){const _0x4f008b=this[_0x1f18('0x1c')],_0x15bfbe=_0x4f008b['plugins'][_0x1f18('0x5')]('RevisionTracker');_0x4f008b['ui']['componentFactory'][_0x1f18('0x15')](_0x1f18('0x7'),_0x23f5df=>{const _0x181ab1=_0x5a6669(_0x23f5df),_0x195b15=_0x181ab1[_0x1f18('0x12')]['children'],_0x50b599=new _0x10b965(_0x23f5df),_0x2a3eec=new _0x38d958(_0x23f5df),_0x4357f6=new _0x4b17bb(_0x23f5df),_0x412150=new _0x38d958(_0x23f5df),_0x200145=new _0x4b17bb(_0x23f5df),_0x397797=new _0x4ccf55(_0x23f5df);function _0x433792(){_0x195b15[_0x1f18('0x9')]&&_0x195b15[_0x1f18('0xc')](0x0),_0x195b15[_0x1f18('0x15')](_0x50b599);}function _0x567ca7(){_0x181ab1[_0x1f18('0x13')]=!0x1,_0x4f008b['editing'][_0x1f18('0x2')][_0x1f18('0x19')]();}return _0x181ab1['bind'](_0x1f18('0x10'))['to'](_0x15bfbe,'isReady',_0x15bfbe,_0x1f18('0x10'),_0x4f008b,'isReadOnly',(_0xd1f5b3,_0x34a5c0,_0x26040f)=>_0xd1f5b3&&_0x34a5c0&&!_0x26040f),_0x181ab1['buttonView'][_0x1f18('0x1e')]({'icon':_0x393b14['history'],'label':_0x285f2d(_0x23f5df,_0x1f18('0x1b')),'tooltip':!0x0}),_0x4357f6[_0x1f18('0x1e')]({'label':_0x285f2d(_0x23f5df,_0x1f18('0x1a')),'withText':!0x0}),_0x4357f6[_0x1f18('0x18')]('isEnabled')['to'](_0x15bfbe,'isReady',_0x15bfbe,_0x1f18('0x10'),_0x4f008b,_0x1f18('0x11'),(_0x14fdc8,_0x39213e,_0xa7a4a)=>_0x14fdc8&&_0x39213e&&!_0xa7a4a),_0x4357f6['on'](_0x1f18('0x8'),()=>function(){_0x195b15[_0x1f18('0x9')]&&_0x195b15[_0x1f18('0xc')](0x0),(_0x397797[_0x1f18('0xb')](),_0x195b15[_0x1f18('0x15')](_0x397797),_0x397797[_0x1f18('0x19')]());}()),_0x200145['set']({'label':_0x285f2d(_0x23f5df,_0x1f18('0x16')),'withText':!0x0}),_0x200145[_0x1f18('0x18')](_0x1f18('0x10'))['to'](_0x15bfbe,_0x1f18('0x4'),_0x4f008b,_0x1f18('0x11'),(_0x1ee897,_0x238220)=>_0x1ee897&&!_0x238220),_0x200145['on'](_0x1f18('0x8'),()=>{_0x4f008b[_0x1f18('0xa')][_0x1f18('0x5')](_0x1f18('0x7'))[_0x1f18('0x6')](),_0x567ca7();}),_0x2a3eec[_0x1f18('0xe')][_0x1f18('0x15')](_0x4357f6),_0x412150[_0x1f18('0xe')]['add'](_0x200145),_0x50b599[_0x1f18('0x0')][_0x1f18('0xd')]([_0x2a3eec,_0x412150]),_0x181ab1['on']('change:isOpen',()=>_0x433792()),_0x397797[_0x1f18('0x1')][_0x1f18('0x18')](_0x1f18('0x10'))['to'](_0x15bfbe,_0x1f18('0x4'),_0x15bfbe,_0x1f18('0x10'),_0x4f008b,_0x1f18('0x11'),(_0x1a89d3,_0x5823c1,_0x48f7a4)=>_0x1a89d3&&_0x5823c1&&!_0x48f7a4),_0x397797['on'](_0x1f18('0x20'),()=>(_0x4f008b[_0x1f18('0x3')][_0x1f18('0x5')](_0x16e71a)['saveRevision']({'name':_0x397797[_0x1f18('0xf')]}),void _0x567ca7())),_0x397797['on'](_0x1f18('0x14'),()=>_0x433792()),_0x397797['render'](),_0x433792(),_0x181ab1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e45=['name','repository','compare','getIndex','string','bind','diff','getRevision','config','defaultRevisionActions','_createRevisionActions','destroy','setName','getRevisionsInDiff','isSelected','get','timePeriodViews','_revisionViewer','getEarlierVisibleRevision','listenTo','Restore\x20this\x20revision','_handleRevisionSelected','revisionSelected','length','focus','element','_handleDiffChange','_revisionsRepository','restoreRevisionCallback','render','editor','remove','nameRevision','selectRevision','isVisible','revisionViews','getLaterVisibleRevision','_sidebarView','RevisionsSidebar','revisionHistory.revisionActions','_handleRevisionSetName','revisionSetName','_revisions','revisionHistory','add','map','isEnabled','appendChild','locale','data','_handleEditorDataReady','ready','availableRevisionActions','action','requires','isReady'];(function(_0x2202be,_0x1e4523){const _0x7c97d9=function(_0x5e9c2b){while(--_0x5e9c2b){_0x2202be['push'](_0x2202be['shift']());}};_0x7c97d9(++_0x1e4523);}(_0x1e45,0xf2));const _0x7c97=function(_0x2202be,_0x1e4523){_0x2202be=_0x2202be-0x0;let _0x7c97d9=_0x1e45[_0x2202be];return _0x7c97d9;};import{Plugin as _0x5c3bf3}from'ckeditor5/src/core.js';import _0x36fb2d from'./revisionssidebarview.js';import _0x250f46 from'../../revisionviewer.js';export default class w extends _0x5c3bf3{static get['pluginName'](){return _0x7c97('0x14');}static get[_0x7c97('0x24')](){return[_0x250f46];}constructor(_0xa9303e){super(_0xa9303e),this[_0x7c97('0x37')]=_0xa9303e['plugins'][_0x7c97('0x35')](_0x250f46),this['_revisionsRepository']=this[_0x7c97('0x37')][_0x7c97('0x27')],this[_0x7c97('0x13')]=null;}['init'](){const _0x490d23=this[_0x7c97('0x9')][_0x7c97('0x18')],_0x3eb425=this[_0x7c97('0x30')](),_0x540e49=this[_0x7c97('0xc')][_0x7c97('0x2e')]['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x36fb2d(this[_0x7c97('0xc')][_0x7c97('0x1e')],_0x490d23,_0x3eb425),this['_sidebarView']['on'](_0x7c97('0x4'),this[_0x7c97('0x3')]['bind'](this)),this[_0x7c97('0x13')]['on'](_0x7c97('0x17'),this[_0x7c97('0x16')]['bind'](this)),this[_0x7c97('0x13')][_0x7c97('0x2b')]('isEnabled')['to'](this['_revisionViewer']),this[_0x7c97('0x13')][_0x7c97('0x36')]['on'](_0x7c97('0x1a'),(_0x43719a,_0x28fc8a)=>{_0x28fc8a[_0x7c97('0x11')]['on']('add',(_0x4ed845,_0x79997f)=>{_0x79997f['bind'](_0x7c97('0x1c'),_0x7c97('0x25'))['to'](this[_0x7c97('0x37')]);});}),this[_0x7c97('0x13')][_0x7c97('0xb')](),this[_0x7c97('0x1')](this[_0x7c97('0xc')][_0x7c97('0x1f')],_0x7c97('0x21'),this[_0x7c97('0x20')][_0x7c97('0x2b')](this)),this[_0x7c97('0x1')](this[_0x7c97('0x37')],'change:diff',this['_handleDiffChange'][_0x7c97('0x2b')](this)),_0x540e49[_0x7c97('0x1d')](this[_0x7c97('0x13')][_0x7c97('0x7')]);}['destroy'](){this[_0x7c97('0x13')][_0x7c97('0x7')][_0x7c97('0xd')](),this[_0x7c97('0x13')][_0x7c97('0x31')]();}[_0x7c97('0x20')](){const _0x53a43f=this[_0x7c97('0x9')][_0x7c97('0x2d')](0x0);if(_0x53a43f){const _0x21b1e0=this[_0x7c97('0x9')][_0x7c97('0x0')](_0x53a43f['id']);this['_revisionViewer'][_0x7c97('0x28')](_0x53a43f,_0x21b1e0);}}['_handleRevisionSelected'](_0x2b503c,_0x1894d8){const _0x1fc44b=this['_revisionsRepository'][_0x7c97('0x2d')](_0x1894d8['id']),_0x41ac07=this[_0x7c97('0x9')][_0x7c97('0x0')](_0x1fc44b['id']);this[_0x7c97('0x37')][_0x7c97('0x28')](_0x1fc44b,_0x41ac07);}['_handleRevisionSetName'](_0x4e5a2d,_0x4e4c97){this['_revisionsRepository']['getRevision'](_0x4e4c97['id'])[_0x7c97('0x32')](_0x4e4c97[_0x7c97('0x26')]);}[_0x7c97('0x8')](_0x351d21,_0x57fb7f,_0x4a1730){const _0xad3e18=this[_0x7c97('0x9')][_0x7c97('0x33')](_0x4a1730);_0xad3e18[_0x7c97('0x5')]>0x2?(this[_0x7c97('0x13')]['highlightRevisions'](_0xad3e18),this[_0x7c97('0x13')][_0x7c97('0xf')](null)):(this[_0x7c97('0x13')]['highlightRevisions']([]),this[_0x7c97('0x13')][_0x7c97('0xf')](_0xad3e18[0x0]));}[_0x7c97('0x30')](){const _0x241f98=this[_0x7c97('0xc')],_0x1e7379=w[_0x7c97('0x22')],_0x14ca0c=_0x241f98[_0x7c97('0x2e')][_0x7c97('0x35')](_0x7c97('0x15'))||w[_0x7c97('0x2f')];if(_0x14ca0c['length'])return _0x14ca0c[_0x7c97('0x1b')](_0x18b62c=>{const _0x2353df=_0x7c97('0x2a')==typeof _0x18b62c?Object['assign']({},_0x1e7379[_0x18b62c]):_0x18b62c;return _0x2353df[_0x7c97('0x23')]=_0x2353df[_0x7c97('0x23')]['bind'](this,_0x241f98),_0x2353df[_0x7c97('0x10')]&&(_0x2353df['isVisible']=_0x2353df[_0x7c97('0x10')][_0x7c97('0x2b')](this,_0x241f98)),_0x2353df;});}}w[_0x7c97('0x22')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x52867f},_0x1ae184)=>{const _0x59630c=_0x52867f[_0x7c97('0x35')](_0x250f46),_0x35c0b3=_0x59630c['repository'];let _0x7bcfba=_0x59630c[_0x7c97('0x2c')]['newRevisionId'],_0x93afb3=_0x1ae184['id'];_0x35c0b3['getIndex'](_0x7bcfba)>_0x35c0b3[_0x7c97('0x29')](_0x93afb3)&&([_0x7bcfba,_0x93afb3]=[_0x93afb3,_0x7bcfba]),_0x59630c['compare'](_0x7bcfba,_0x93afb3);},'isVisible':({plugins:_0xaa3679},_0x5d34b7)=>{const _0x37143b=_0xaa3679[_0x7c97('0x35')](_0x250f46);return!(_0x37143b[_0x7c97('0x27')][_0x7c97('0x33')](_0x37143b[_0x7c97('0x2c')])[_0x7c97('0x5')]>0x2)&&!_0x5d34b7[_0x7c97('0x34')];}},'restoreRevision':{'name':_0x7c97('0x2'),'action':(_0x4be893,{id:_0x110dc4})=>{_0x4be893[_0x7c97('0x2e')][_0x7c97('0x35')](_0x7c97('0x19'))[_0x7c97('0xa')](_0x110dc4);},'isVisible':({plugins:_0x468ed2},_0x205cbd)=>!!_0x468ed2[_0x7c97('0x35')](_0x250f46)[_0x7c97('0x27')][_0x7c97('0x12')](_0x205cbd['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xdaa946},{id:_0x446450,revisionNameView:_0x1dcefb})=>{const _0x13f176=_0xdaa946[_0x7c97('0x35')](_0x250f46),_0x2b1a18=_0x13f176[_0x7c97('0x27')][_0x7c97('0x0')](_0x446450);_0x13f176['compare'](_0x446450,_0x2b1a18),_0x1dcefb[_0x7c97('0x6')](),_0x1dcefb['fieldView']['select']();}}},w[_0x7c97('0x2f')]=['compareAgainstSelected','restoreRevision',_0x7c97('0xe')];
23
+ const _0x1939=['_sidebarView','isReady','string','isEnabled','compare','action','pluginName','isVisible','get','restoreRevision','fieldView','defaultRevisionActions','editor','highlightRevisions','_handleDiffChange','appendChild','_handleRevisionSetName','getIndex','nameRevision','length','remove','restoreRevisionCallback','data','revisionHistory','Name\x20this\x20revision','ready','RevisionsSidebar','revisionViews','isSelected','Compare\x20against\x20selected','_createRevisionActions','_handleEditorDataReady','bind','plugins','_handleRevisionSelected','element','selectRevision','listenTo','change:diff','Restore\x20this\x20revision','revisionSelected','setName','diff','add','getRevision','config','_revisionsRepository','getRevisionsInDiff','repository','destroy','map','availableRevisionActions','getLaterVisibleRevision','render','timePeriodViews','assign','_revisionViewer','init','getEarlierVisibleRevision','revisionHistory.revisionActions'];(function(_0x25414b,_0x193906){const _0x2c69ae=function(_0x1540d1){while(--_0x1540d1){_0x25414b['push'](_0x25414b['shift']());}};_0x2c69ae(++_0x193906);}(_0x1939,0x100));const _0x2c69=function(_0x25414b,_0x193906){_0x25414b=_0x25414b-0x0;let _0x2c69ae=_0x1939[_0x25414b];return _0x2c69ae;};import{Plugin as _0xd129f4}from'ckeditor5/src/core.js';import _0x184647 from'./revisionssidebarview.js';import _0x377d06 from'../../revisionviewer.js';export default class w extends _0xd129f4{static get[_0x2c69('0x32')](){return _0x2c69('0xa');}static get['requires'](){return[_0x377d06];}constructor(_0x4ee8a8){super(_0x4ee8a8),this[_0x2c69('0x28')]=_0x4ee8a8[_0x2c69('0x11')][_0x2c69('0x34')](_0x377d06),this[_0x2c69('0x1e')]=this[_0x2c69('0x28')][_0x2c69('0x20')],this['_sidebarView']=null;}[_0x2c69('0x29')](){const _0x25ff78=this[_0x2c69('0x1e')]['_revisions'],_0x24db0d=this['_createRevisionActions'](),_0x2119b6=this[_0x2c69('0x38')]['config'][_0x2c69('0x34')]('revisionHistory.viewerSidebarContainer');this[_0x2c69('0x2c')]=new _0x184647(this[_0x2c69('0x38')]['locale'],_0x25ff78,_0x24db0d),this[_0x2c69('0x2c')]['on'](_0x2c69('0x18'),this[_0x2c69('0x12')][_0x2c69('0x10')](this)),this[_0x2c69('0x2c')]['on']('revisionSetName',this[_0x2c69('0x0')][_0x2c69('0x10')](this)),this[_0x2c69('0x2c')][_0x2c69('0x10')](_0x2c69('0x2f'))['to'](this['_revisionViewer']),this[_0x2c69('0x2c')][_0x2c69('0x26')]['on'](_0x2c69('0x1b'),(_0x1cb079,_0xcac08e)=>{_0xcac08e[_0x2c69('0xb')]['on'](_0x2c69('0x1b'),(_0x1d2613,_0x265f55)=>{_0x265f55[_0x2c69('0x10')]('isEnabled',_0x2c69('0x2d'))['to'](this[_0x2c69('0x28')]);});}),this['_sidebarView'][_0x2c69('0x25')](),this[_0x2c69('0x15')](this['editor'][_0x2c69('0x6')],_0x2c69('0x9'),this['_handleEditorDataReady'][_0x2c69('0x10')](this)),this[_0x2c69('0x15')](this[_0x2c69('0x28')],_0x2c69('0x16'),this[_0x2c69('0x3a')][_0x2c69('0x10')](this)),_0x2119b6[_0x2c69('0x3b')](this[_0x2c69('0x2c')][_0x2c69('0x13')]);}[_0x2c69('0x21')](){this['_sidebarView']['element'][_0x2c69('0x4')](),this[_0x2c69('0x2c')][_0x2c69('0x21')]();}[_0x2c69('0xf')](){const _0x368934=this[_0x2c69('0x1e')][_0x2c69('0x1c')](0x0);if(_0x368934){const _0x302499=this[_0x2c69('0x1e')][_0x2c69('0x2a')](_0x368934['id']);this['_revisionViewer']['compare'](_0x368934,_0x302499);}}[_0x2c69('0x12')](_0x287692,_0x288804){const _0x1dc228=this['_revisionsRepository'][_0x2c69('0x1c')](_0x288804['id']),_0x1716bb=this[_0x2c69('0x1e')][_0x2c69('0x2a')](_0x1dc228['id']);this[_0x2c69('0x28')]['compare'](_0x1dc228,_0x1716bb);}[_0x2c69('0x0')](_0x134015,_0x312ef9){this[_0x2c69('0x1e')][_0x2c69('0x1c')](_0x312ef9['id'])[_0x2c69('0x19')](_0x312ef9['name']);}[_0x2c69('0x3a')](_0x163303,_0x4d74cb,_0x55abf5){const _0x329e61=this['_revisionsRepository'][_0x2c69('0x1f')](_0x55abf5);_0x329e61[_0x2c69('0x3')]>0x2?(this[_0x2c69('0x2c')][_0x2c69('0x39')](_0x329e61),this[_0x2c69('0x2c')][_0x2c69('0x14')](null)):(this[_0x2c69('0x2c')][_0x2c69('0x39')]([]),this[_0x2c69('0x2c')][_0x2c69('0x14')](_0x329e61[0x0]));}[_0x2c69('0xe')](){const _0x35eefc=this[_0x2c69('0x38')],_0x5edb1c=w[_0x2c69('0x23')],_0x19d5d5=_0x35eefc[_0x2c69('0x1d')][_0x2c69('0x34')](_0x2c69('0x2b'))||w[_0x2c69('0x37')];if(_0x19d5d5[_0x2c69('0x3')])return _0x19d5d5[_0x2c69('0x22')](_0x265777=>{const _0x33a8a4=_0x2c69('0x2e')==typeof _0x265777?Object[_0x2c69('0x27')]({},_0x5edb1c[_0x265777]):_0x265777;return _0x33a8a4[_0x2c69('0x31')]=_0x33a8a4[_0x2c69('0x31')][_0x2c69('0x10')](this,_0x35eefc),_0x33a8a4[_0x2c69('0x33')]&&(_0x33a8a4['isVisible']=_0x33a8a4[_0x2c69('0x33')][_0x2c69('0x10')](this,_0x35eefc)),_0x33a8a4;});}}w[_0x2c69('0x23')]={'compareAgainstSelected':{'name':_0x2c69('0xd'),'action':({plugins:_0x445a68},_0x351964)=>{const _0x479348=_0x445a68[_0x2c69('0x34')](_0x377d06),_0x1b2483=_0x479348[_0x2c69('0x20')];let _0x2b5ba8=_0x479348[_0x2c69('0x1a')]['newRevisionId'],_0x30e5b3=_0x351964['id'];_0x1b2483[_0x2c69('0x1')](_0x2b5ba8)>_0x1b2483['getIndex'](_0x30e5b3)&&([_0x2b5ba8,_0x30e5b3]=[_0x30e5b3,_0x2b5ba8]),_0x479348[_0x2c69('0x30')](_0x2b5ba8,_0x30e5b3);},'isVisible':({plugins:_0x4f7775},_0x4eb48a)=>{const _0x4932cf=_0x4f7775['get'](_0x377d06);return!(_0x4932cf[_0x2c69('0x20')][_0x2c69('0x1f')](_0x4932cf[_0x2c69('0x1a')])['length']>0x2)&&!_0x4eb48a[_0x2c69('0xc')];}},'restoreRevision':{'name':_0x2c69('0x17'),'action':(_0x3ca5d9,{id:_0x4d42f8})=>{_0x3ca5d9['config']['get'](_0x2c69('0x7'))[_0x2c69('0x5')](_0x4d42f8);},'isVisible':({plugins:_0x429ab2},_0x3d8b1f)=>!!_0x429ab2[_0x2c69('0x34')](_0x377d06)['repository'][_0x2c69('0x24')](_0x3d8b1f['id'])},'nameRevision':{'name':_0x2c69('0x8'),'action':({plugins:_0x1b9226},{id:_0x2c802c,revisionNameView:_0x39a709})=>{const _0xf5637e=_0x1b9226[_0x2c69('0x34')](_0x377d06),_0x5c6093=_0xf5637e[_0x2c69('0x20')][_0x2c69('0x2a')](_0x2c802c);_0xf5637e[_0x2c69('0x30')](_0x2c802c,_0x5c6093),_0x39a709['focus'](),_0x39a709[_0x2c69('0x36')]['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected',_0x2c69('0x35'),_0x2c69('0x2')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x557c=['ck-revision-history-sidebar__header','history','span','ck-revision-history-sidebar__header__label'];(function(_0x16996b,_0x557c0e){const _0x46bf70=function(_0x35ce28){while(--_0x35ce28){_0x16996b['push'](_0x16996b['shift']());}};_0x46bf70(++_0x557c0e);}(_0x557c,0xc2));const _0x46bf=function(_0x16996b,_0x557c0e){_0x16996b=_0x16996b-0x0;let _0x46bf70=_0x557c[_0x16996b];return _0x46bf70;};import{View as _0x16e3e3,IconView as _0x129070}from'ckeditor5/src/ui.js';import{getTranslation as _0x53e97a}from'../../utils/common-translations.js';import{icons as _0xe8a8ea}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x16e3e3{constructor(_0x58fc57){super(_0x58fc57);const _0x530439=new _0x129070();_0x530439['content']=_0xe8a8ea[_0x46bf('0x3')],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all',_0x46bf('0x2')]},'children':[_0x530439,{'tag':_0x46bf('0x0'),'attributes':{'class':['ck',_0x46bf('0x1')]},'children':[_0x53e97a(_0x58fc57,'Revision\x20history')]}]});}}
23
+ const _0x1a6b=['ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','span','history','setTemplate'];(function(_0xe93d0a,_0x1a6bfe){const _0x559588=function(_0x28ea09){while(--_0x28ea09){_0xe93d0a['push'](_0xe93d0a['shift']());}};_0x559588(++_0x1a6bfe);}(_0x1a6b,0xa1));const _0x5595=function(_0xe93d0a,_0x1a6bfe){_0xe93d0a=_0xe93d0a-0x0;let _0x559588=_0x1a6b[_0xe93d0a];return _0x559588;};import{View as _0x3541ad,IconView as _0x4d3a8a}from'ckeditor5/src/ui.js';import{getTranslation as _0x845213}from'../../utils/common-translations.js';import{icons as _0x24ff3d}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x3541ad{constructor(_0x442bf2){super(_0x442bf2);const _0xfb1adf=new _0x4d3a8a();_0xfb1adf['content']=_0x24ff3d[_0x5595('0x2')],this[_0x5595('0x3')]({'tag':'div','attributes':{'class':['ck','ck-reset_all',_0x5595('0x4')]},'children':[_0xfb1adf,{'tag':_0x5595('0x1'),'attributes':{'class':['ck',_0x5595('0x0')]},'children':[_0x845213(_0x442bf2,'Revision\x20history')]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ab1=['revisionViews','div','remove','delegate','ck-revision-history-sidebar__time-period__revisions','removeRevision','setName','_revisionActions','span','setTemplate','ck-revision-history-sidebar__time-period__label','uiLanguage','addRevision','locale','add','ck-revision-history-sidebar__time-period','localizedPeriodName','select','startDate','createCollection'];(function(_0x54b803,_0x4ab1e0){const _0xae4df9=function(_0x51c96c){while(--_0x51c96c){_0x54b803['push'](_0x54b803['shift']());}};_0xae4df9(++_0x4ab1e0);}(_0x4ab1,0x1c8));const _0xae4d=function(_0x54b803,_0x4ab1e0){_0x54b803=_0x54b803-0x0;let _0xae4df9=_0x4ab1[_0x54b803];return _0xae4df9;};import{View as _0x2d9e02}from'ckeditor5/src/ui.js';import _0x4a0d49 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2e4f44}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x2d9e02{constructor(_0xb1c9dd,_0x1f6cfe,_0x28902d){super(_0xb1c9dd);const _0x4eaac5=_0x2e4f44(_0x1f6cfe,this[_0xae4d('0x11')][_0xae4d('0xf')])[_0xae4d('0x0')];this[_0xae4d('0x2')]=_0x1f6cfe,this['revisionViews']=this[_0xae4d('0x3')](),this[_0xae4d('0xb')]=_0x28902d,this[_0xae4d('0x4')][_0xae4d('0x7')](_0xae4d('0x1'))['to'](this),this[_0xae4d('0x4')][_0xae4d('0x7')](_0xae4d('0xa'))['to'](this),this[_0xae4d('0xd')]({'tag':_0xae4d('0x5'),'attributes':{'class':['ck',_0xae4d('0x13')]},'children':[{'tag':_0xae4d('0xc'),'attributes':{'class':['ck',_0xae4d('0xe')]},'children':[{'text':_0x4eaac5}]},{'tag':_0xae4d('0x5'),'attributes':{'class':['ck',_0xae4d('0x8')]},'children':this[_0xae4d('0x4')]}]});}[_0xae4d('0x10')](_0x3c722e){const _0x2d1d7=new _0x4a0d49(this[_0xae4d('0x11')],_0x3c722e,this['_revisionActions']);this[_0xae4d('0x4')][_0xae4d('0x12')](_0x2d1d7);}[_0xae4d('0x9')](_0x264253){const _0x591984=this[_0xae4d('0x4')]['find'](_0x250c65=>_0x250c65['id']===_0x264253['id']);this[_0xae4d('0x4')][_0xae4d('0x6')](_0x591984);}}
23
+ const _0x57f5=['find','setName','revisionViews','setTemplate','_revisionActions','removeRevision','localizedPeriodName','div','ck-revision-history-sidebar__time-period','locale','add','delegate','remove','startDate','uiLanguage','ck-revision-history-sidebar__time-period__revisions','createCollection'];(function(_0x1ff982,_0x57f522){const _0x4a5414=function(_0x449f10){while(--_0x449f10){_0x1ff982['push'](_0x1ff982['shift']());}};_0x4a5414(++_0x57f522);}(_0x57f5,0xea));const _0x4a54=function(_0x1ff982,_0x57f522){_0x1ff982=_0x1ff982-0x0;let _0x4a5414=_0x57f5[_0x1ff982];return _0x4a5414;};import{View as _0x3cec11}from'ckeditor5/src/ui.js';import _0xb8b7ff from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x1ef025}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x3cec11{constructor(_0x352393,_0x4e19e7,_0x59a141){super(_0x352393);const _0x72be87=_0x1ef025(_0x4e19e7,this[_0x4a54('0xd')][_0x4a54('0x1')])[_0x4a54('0xa')];this[_0x4a54('0x0')]=_0x4e19e7,this[_0x4a54('0x6')]=this[_0x4a54('0x3')](),this[_0x4a54('0x8')]=_0x59a141,this[_0x4a54('0x6')]['delegate']('select')['to'](this),this['revisionViews'][_0x4a54('0xf')](_0x4a54('0x5'))['to'](this),this[_0x4a54('0x7')]({'tag':_0x4a54('0xb'),'attributes':{'class':['ck',_0x4a54('0xc')]},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x72be87}]},{'tag':_0x4a54('0xb'),'attributes':{'class':['ck',_0x4a54('0x2')]},'children':this['revisionViews']}]});}['addRevision'](_0x573c54){const _0x5a15f0=new _0xb8b7ff(this[_0x4a54('0xd')],_0x573c54,this['_revisionActions']);this[_0x4a54('0x6')][_0x4a54('0xe')](_0x5a15f0);}[_0x4a54('0x9')](_0x1cf719){const _0x48d840=this[_0x4a54('0x6')][_0x4a54('0x4')](_0x3d2dc1=>_0x3d2dc1['id']===_0x1cf719['id']);this[_0x4a54('0x6')][_0x4a54('0x10')](_0x48d840);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a5=['flat','revisionSetName','select','ck-rounded-corners','get','set','remove','setName','locale','ck-revision-history-sidebar','revisionViews','removeRevision','createCollection','highlightRevisions','isEnabled','_getTimePeriodViewByStartDate','_revisionActions','deselect','createdAt','startDate','selectRevision','map','some','getTime','add','setTemplate','addRevision','div','uiLanguage','bindTemplate','highlight','_revisions','render','delegate','find','_removeRevision','ck-revision-history-sidebar__timeline','unhighlight','fire','timePeriodViews','_addRevision'];(function(_0x32430f,_0x22a53c){const _0xd8e16b=function(_0x3242e8){while(--_0x3242e8){_0x32430f['push'](_0x32430f['shift']());}};_0xd8e16b(++_0x22a53c);}(_0x22a5,0x137));const _0xd8e1=function(_0x32430f,_0x22a53c){_0x32430f=_0x32430f-0x0;let _0xd8e16b=_0x22a5[_0x32430f];return _0xd8e16b;};import{View as _0x586015}from'ckeditor5/src/ui.js';import _0x351726 from'./revisionssidebartimeperiodview.js';import _0x37e830 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x49ec7c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x586015{constructor(_0x346ccb,_0x52a241,_0x4053a4){super(_0x346ccb);const _0x2c9605=this[_0xd8e1('0x5')];this[_0xd8e1('0xf')]=this[_0xd8e1('0x1d')](),this['timePeriodViews'][_0xd8e1('0x9')](_0xd8e1('0x13'))['to'](this),this[_0xd8e1('0xf')][_0xd8e1('0x9')](_0xd8e1('0x18'))['to'](this),this[_0xd8e1('0x7')]=_0x52a241,this[_0xd8e1('0x21')]=_0x4053a4,this['on'](_0xd8e1('0x13'),(_0x4d22bb,_0x4d0212)=>{this['fire']('revisionSelected',_0x4d0212);}),this['on'](_0xd8e1('0x18'),(_0x2c031b,_0x5baf2a)=>{this[_0xd8e1('0xe')](_0xd8e1('0x12'),_0x5baf2a);}),this[_0xd8e1('0x16')](_0xd8e1('0x1f'),!0x1),this[_0xd8e1('0x1')]({'tag':_0xd8e1('0x3'),'attributes':{'class':['ck','ck-reset',_0xd8e1('0x14'),_0xd8e1('0x1a')]},'children':[new _0x37e830(_0x346ccb),{'tag':_0xd8e1('0x3'),'attributes':{'class':['ck',_0xd8e1('0xc'),_0x2c9605['if'](_0xd8e1('0x1f'),'ck-disabled',_0xda2614=>!_0xda2614)]},'children':this[_0xd8e1('0xf')]}]});}['render'](){super[_0xd8e1('0x8')]();for(const _0x294f21 of this[_0xd8e1('0x7')])this[_0xd8e1('0x10')](_0x294f21);this[_0xd8e1('0x7')]['on'](_0xd8e1('0x0'),(_0x2568c7,_0x3bcfc9)=>{this[_0xd8e1('0x10')](_0x3bcfc9);}),this['_revisions']['on'](_0xd8e1('0x17'),(_0x5b72b0,_0x5aa36f)=>{this['_removeRevision'](_0x5aa36f);});}get[_0xd8e1('0x1b')](){return this['timePeriodViews']['map'](_0x49b66d=>_0x49b66d[_0xd8e1('0x1b')][_0xd8e1('0x26')](_0x5ad475=>_0x5ad475))[_0xd8e1('0x11')]();}[_0xd8e1('0x25')](_0x284293){for(const _0x57623c of this[_0xd8e1('0x1b')])_0x284293&&_0x284293['id']===_0x57623c['id']?_0x57623c[_0xd8e1('0x13')]():_0x57623c[_0xd8e1('0x22')]();}[_0xd8e1('0x1e')](_0x5b9bcd){for(const _0x5862fb of this['revisionViews'])_0x5b9bcd[_0xd8e1('0x27')](({id:_0x507cd8})=>_0x507cd8===_0x5862fb['id'])?_0x5862fb[_0xd8e1('0x6')]():_0x5862fb[_0xd8e1('0xd')]();}['_addRevision'](_0x5238b2){const _0x33ecac=_0x49ec7c(_0x5238b2['createdAt'],this[_0xd8e1('0x19')]['uiLanguage'])['startDate'];let _0x3bab61=this['timePeriodViews'][_0xd8e1('0x15')](0x0);_0x3bab61&&_0x3bab61['startDate'][_0xd8e1('0x28')]()===_0x33ecac[_0xd8e1('0x28')]()||(_0x3bab61=new _0x351726(this[_0xd8e1('0x19')],_0x33ecac,this[_0xd8e1('0x21')]),this[_0xd8e1('0xf')][_0xd8e1('0x0')](_0x3bab61)),_0x3bab61[_0xd8e1('0x2')](_0x5238b2);}[_0xd8e1('0xb')](_0x48210f){const _0x28b65e=_0x49ec7c(_0x48210f[_0xd8e1('0x23')],this[_0xd8e1('0x19')][_0xd8e1('0x4')])['startDate'];this[_0xd8e1('0x20')](_0x28b65e)[_0xd8e1('0x1c')](_0x48210f);}[_0xd8e1('0x20')](_0xb004eb){return this['timePeriodViews'][_0xd8e1('0xa')](_0x497750=>_0x497750[_0xd8e1('0x24')]['getTime']()===_0xb004eb[_0xd8e1('0x28')]());}}
23
+ const _0x8819=['_addRevision','getTime','isEnabled','find','map','uiLanguage','revisionSetName','get','removeRevision','setTemplate','unhighlight','flat','revisionSelected','_removeRevision','fire','delegate','locale','highlightRevisions','select','timePeriodViews','_getTimePeriodViewByStartDate','ck-reset','some','setName','set','bindTemplate','remove','render','createCollection','_revisionActions','deselect','selectRevision','ck-disabled','div','startDate','_revisions','ck-revision-history-sidebar','revisionViews'];(function(_0x274db1,_0x881947){const _0x494ab0=function(_0x3de1ea){while(--_0x3de1ea){_0x274db1['push'](_0x274db1['shift']());}};_0x494ab0(++_0x881947);}(_0x8819,0x109));const _0x494a=function(_0x274db1,_0x881947){_0x274db1=_0x274db1-0x0;let _0x494ab0=_0x8819[_0x274db1];return _0x494ab0;};import{View as _0x3dd2e2}from'ckeditor5/src/ui.js';import _0x56ddc9 from'./revisionssidebartimeperiodview.js';import _0x2ca6f from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x1ebd0d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x3dd2e2{constructor(_0x38110f,_0x6f3c5e,_0x123eb7){super(_0x38110f);const _0x4fc84b=this[_0x494a('0x1a')];this[_0x494a('0x14')]=this[_0x494a('0x1d')](),this['timePeriodViews'][_0x494a('0x10')](_0x494a('0x13'))['to'](this),this[_0x494a('0x14')]['delegate'](_0x494a('0x18'))['to'](this),this[_0x494a('0x24')]=_0x6f3c5e,this[_0x494a('0x1e')]=_0x123eb7,this['on']('select',(_0x34932a,_0x2f295f)=>{this[_0x494a('0xf')](_0x494a('0xd'),_0x2f295f);}),this['on'](_0x494a('0x18'),(_0x15f25c,_0x475c99)=>{this[_0x494a('0xf')](_0x494a('0x7'),_0x475c99);}),this[_0x494a('0x19')]('isEnabled',!0x1),this[_0x494a('0xa')]({'tag':'div','attributes':{'class':['ck',_0x494a('0x16'),'ck-rounded-corners',_0x494a('0x25')]},'children':[new _0x2ca6f(_0x38110f),{'tag':_0x494a('0x22'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4fc84b['if'](_0x494a('0x3'),_0x494a('0x21'),_0x370cea=>!_0x370cea)]},'children':this[_0x494a('0x14')]}]});}['render'](){super[_0x494a('0x1c')]();for(const _0x39b56f of this[_0x494a('0x24')])this[_0x494a('0x1')](_0x39b56f);this['_revisions']['on']('add',(_0x560098,_0x1e2995)=>{this[_0x494a('0x1')](_0x1e2995);}),this['_revisions']['on'](_0x494a('0x1b'),(_0x22bcfe,_0x4a4eb0)=>{this[_0x494a('0xe')](_0x4a4eb0);});}get['revisionViews'](){return this[_0x494a('0x14')][_0x494a('0x5')](_0x860634=>_0x860634['revisionViews']['map'](_0x21d682=>_0x21d682))[_0x494a('0xc')]();}[_0x494a('0x20')](_0x50ded0){for(const _0x203ba1 of this[_0x494a('0x0')])_0x50ded0&&_0x50ded0['id']===_0x203ba1['id']?_0x203ba1[_0x494a('0x13')]():_0x203ba1[_0x494a('0x1f')]();}[_0x494a('0x12')](_0x148330){for(const _0x573e2c of this[_0x494a('0x0')])_0x148330[_0x494a('0x17')](({id:_0x3de8a0})=>_0x3de8a0===_0x573e2c['id'])?_0x573e2c['highlight']():_0x573e2c[_0x494a('0xb')]();}[_0x494a('0x1')](_0x4ae8e6){const _0x289fc9=_0x1ebd0d(_0x4ae8e6['createdAt'],this[_0x494a('0x11')]['uiLanguage'])['startDate'];let _0x22a2da=this['timePeriodViews'][_0x494a('0x8')](0x0);_0x22a2da&&_0x22a2da[_0x494a('0x23')][_0x494a('0x2')]()===_0x289fc9['getTime']()||(_0x22a2da=new _0x56ddc9(this['locale'],_0x289fc9,this['_revisionActions']),this[_0x494a('0x14')]['add'](_0x22a2da)),_0x22a2da['addRevision'](_0x4ae8e6);}['_removeRevision'](_0x579654){const _0x3e2f7b=_0x1ebd0d(_0x579654['createdAt'],this[_0x494a('0x11')][_0x494a('0x6')])[_0x494a('0x23')];this[_0x494a('0x15')](_0x3e2f7b)[_0x494a('0x9')](_0x579654);}[_0x494a('0x15')](_0x7d268b){return this['timePeriodViews'][_0x494a('0x4')](_0x4c1599=>_0x4c1599['startDate'][_0x494a('0x2')]()===_0x7d268b[_0x494a('0x2')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43b6=['day','startOf','year','weekdayLong','week','toRelativeCalendar','hasSame','fromJSDate','toJSDate','monthLong'];(function(_0x1dbcce,_0x43b630){const _0x2bae84=function(_0x12942c){while(--_0x12942c){_0x1dbcce['push'](_0x1dbcce['shift']());}};_0x2bae84(++_0x43b630);}(_0x43b6,0xe1));const _0x2bae=function(_0x1dbcce,_0x43b630){_0x1dbcce=_0x1dbcce-0x0;let _0x2bae84=_0x43b6[_0x1dbcce];return _0x2bae84;};import{DateTime as _0x418770}from'luxon';export function getDateTimePeriodInfo(_0x2fdd18,_0x290160){const _0x51c9de=_0x418770[_0x2bae('0x2')](_0x2fdd18)['setLocale'](_0x290160),_0x5cc814=_0x418770['local'](),_0x5d2b8a=_0x5cc814['minus']({'days':0x1})[_0x2bae('0x6')](_0x2bae('0x5'));let _0x5ef676,_0x29fb2c;return _0x51c9de[_0x2bae('0x1')](_0x5cc814,'day')?(_0x5ef676=_0x51c9de[_0x2bae('0x6')](_0x2bae('0x5'))[_0x2bae('0x3')](),_0x29fb2c=_0x51c9de[_0x2bae('0x0')]()):_0x51c9de[_0x2bae('0x1')](_0x5d2b8a,'day')?(_0x5ef676=_0x5d2b8a[_0x2bae('0x3')](),_0x29fb2c=_0x51c9de[_0x2bae('0x0')]()):_0x51c9de[_0x2bae('0x1')](_0x5cc814,_0x2bae('0x9'))?(_0x5ef676=_0x51c9de['startOf']('week')[_0x2bae('0x3')](),_0x29fb2c=_0x51c9de[_0x2bae('0x8')]||''):_0x51c9de[_0x2bae('0x1')](_0x5cc814,_0x2bae('0x7'))?(_0x5ef676=_0x51c9de[_0x2bae('0x6')]('month')[_0x2bae('0x3')](),_0x29fb2c=_0x51c9de[_0x2bae('0x4')]||''):(_0x5ef676=_0x51c9de[_0x2bae('0x6')](_0x2bae('0x7'))[_0x2bae('0x3')](),_0x29fb2c=String(_0x51c9de[_0x2bae('0x7')])),{'startDate':_0x5ef676,'localizedPeriodName':_0x29fb2c};}
23
+ const _0x24eb=['year','weekdayLong','minus','day','month','hasSame','startOf','toJSDate','week','monthLong','toRelativeCalendar','setLocale','fromJSDate'];(function(_0x212b9e,_0x24ebd9){const _0x4f317f=function(_0x5b9484){while(--_0x5b9484){_0x212b9e['push'](_0x212b9e['shift']());}};_0x4f317f(++_0x24ebd9);}(_0x24eb,0xef));const _0x4f31=function(_0x212b9e,_0x24ebd9){_0x212b9e=_0x212b9e-0x0;let _0x4f317f=_0x24eb[_0x212b9e];return _0x4f317f;};import{DateTime as _0xc7e6a8}from'luxon';export function getDateTimePeriodInfo(_0x3418d5,_0x31ab02){const _0x5a14ca=_0xc7e6a8[_0x4f31('0x7')](_0x3418d5)[_0x4f31('0x6')](_0x31ab02),_0x495589=_0xc7e6a8['local'](),_0x2425d7=_0x495589[_0x4f31('0xa')]({'days':0x1})[_0x4f31('0x1')](_0x4f31('0xb'));let _0x1fb2fe,_0x374936;return _0x5a14ca[_0x4f31('0x0')](_0x495589,_0x4f31('0xb'))?(_0x1fb2fe=_0x5a14ca['startOf'](_0x4f31('0xb'))['toJSDate'](),_0x374936=_0x5a14ca[_0x4f31('0x5')]()):_0x5a14ca[_0x4f31('0x0')](_0x2425d7,_0x4f31('0xb'))?(_0x1fb2fe=_0x2425d7['toJSDate'](),_0x374936=_0x5a14ca[_0x4f31('0x5')]()):_0x5a14ca[_0x4f31('0x0')](_0x495589,_0x4f31('0x3'))?(_0x1fb2fe=_0x5a14ca[_0x4f31('0x1')](_0x4f31('0x3'))[_0x4f31('0x2')](),_0x374936=_0x5a14ca[_0x4f31('0x9')]||''):_0x5a14ca['hasSame'](_0x495589,_0x4f31('0x8'))?(_0x1fb2fe=_0x5a14ca[_0x4f31('0x1')](_0x4f31('0xc'))[_0x4f31('0x2')](),_0x374936=_0x5a14ca[_0x4f31('0x4')]||''):(_0x1fb2fe=_0x5a14ca[_0x4f31('0x1')](_0x4f31('0x8'))[_0x4f31('0x2')](),_0x374936=String(_0x5a14ca['year'])),{'startDate':_0x1fb2fe,'localizedPeriodName':_0x374936};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5838=['div','span','bindTemplate','ck-revision-change','ck-annotation','setTemplate','Added\x20by','data','name','_model','changeId','add','type','focus','Suggested\x20by','author','element','isSuggestion'];(function(_0x4c3724,_0x583847){const _0x4083c0=function(_0xce88a9){while(--_0xce88a9){_0x4c3724['push'](_0x4c3724['shift']());}};_0x4083c0(++_0x583847);}(_0x5838,0x1a4));const _0x4083=function(_0x4c3724,_0x583847){_0x4c3724=_0x4c3724-0x0;let _0x4083c0=_0x5838[_0x4c3724];return _0x4083c0;};import{View as _0x362b76}from'ckeditor5/src/ui.js';import{getTranslation as _0x47d0a1}from'../../utils/common-translations.js';export default class Z extends _0x362b76{constructor(_0x3d263e,_0x1569aa){super(_0x3d263e),this[_0x4083('0x3')]=_0x1569aa,this[_0x4083('0x4')]=_0x1569aa['id'];const _0x1b4865=this[_0x4083('0xe')],_0x1cda4b=_0x47d0a1(_0x3d263e,_0x1569aa[_0x4083('0x1')][_0x4083('0xb')]?_0x4083('0x8'):_0x4083('0x5')==_0x1569aa[_0x4083('0x6')]?_0x4083('0x0'):'Removed\x20by');this['set']('type',_0x1569aa[_0x4083('0x6')]),this[_0x4083('0x11')]({'tag':_0x4083('0xc'),'attributes':{'class':[_0x4083('0x10'),_0x4083('0xf'),_0x1b4865['to']('type',_0x45c426=>'ck-revision-change__'+_0x45c426)],'tabindex':-0x1},'children':[{'tag':_0x4083('0xd'),'children':[{'tag':_0x4083('0xd'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1cda4b}]},{'text':'\x20'+_0x1569aa[_0x4083('0x9')][_0x4083('0x2')]}]}]});}[_0x4083('0x7')](){this[_0x4083('0xa')]['focus']();}}
23
+ const _0x4d9b=['ck-revision-change','isSuggestion','_model','type','ck-revision-change__','element','div','set','span','ck-revision-change__label','ck-annotation','Removed\x20by','changeId','focus','Suggested\x20by','name','author','Added\x20by'];(function(_0x20b63c,_0x4d9b8a){const _0x42efa6=function(_0x40e6e8){while(--_0x40e6e8){_0x20b63c['push'](_0x20b63c['shift']());}};_0x42efa6(++_0x4d9b8a);}(_0x4d9b,0xed));const _0x42ef=function(_0x20b63c,_0x4d9b8a){_0x20b63c=_0x20b63c-0x0;let _0x42efa6=_0x4d9b[_0x20b63c];return _0x42efa6;};import{View as _0xe40cc6}from'ckeditor5/src/ui.js';import{getTranslation as _0x5959b4}from'../../utils/common-translations.js';export default class Z extends _0xe40cc6{constructor(_0x1410b1,_0x47a8b2){super(_0x1410b1),this[_0x42ef('0x11')]=_0x47a8b2,this[_0x42ef('0x9')]=_0x47a8b2['id'];const _0x2c35a2=this['bindTemplate'],_0x1c065a=_0x5959b4(_0x1410b1,_0x47a8b2['data'][_0x42ef('0x10')]?_0x42ef('0xb'):'add'==_0x47a8b2[_0x42ef('0x0')]?_0x42ef('0xe'):_0x42ef('0x8'));this[_0x42ef('0x4')](_0x42ef('0x0'),_0x47a8b2[_0x42ef('0x0')]),this['setTemplate']({'tag':_0x42ef('0x3'),'attributes':{'class':[_0x42ef('0x7'),_0x42ef('0xf'),_0x2c35a2['to'](_0x42ef('0x0'),_0x1971ff=>_0x42ef('0x1')+_0x1971ff)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0x42ef('0x5'),'attributes':{'class':[_0x42ef('0x6')]},'children':[{'text':_0x1c065a}]},{'text':'\x20'+_0x47a8b2[_0x42ef('0xd')][_0x42ef('0xc')]}]}]});}[_0x42ef('0xa')](){this[_0x42ef('0x2')][_0x42ef('0xa')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c19=['Total','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui','bindTemplate','execute','Show\x20next\x20change','_isStatusLabelVisible','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','isEnabled','span','ck-hidden','ck-revision-history-ui__changes-navigation__navigation','currentChangeNumber','numberOfChanges','Loading...','ck-revision-history-ui__changes-navigation__label','isReady','_statusText','bind','isForwardNavigationEnabled','fire','backward','div','NUMBER_OF_CHANGES','set','ck-revision-history-ui__changes-navigation','isNavigationMode','forward','isBackwardNavigationEnabled'];(function(_0x141498,_0x5c1957){const _0x47bb09=function(_0x5592c5){while(--_0x5592c5){_0x141498['push'](_0x141498['shift']());}};_0x47bb09(++_0x5c1957);}(_0x5c19,0xb8));const _0x47bb=function(_0x141498,_0x5c1957){_0x141498=_0x141498-0x0;let _0x47bb09=_0x5c19[_0x141498];return _0x47bb09;};import{View as _0x13222b,ButtonView as _0x134255,ToolbarSeparatorView as _0x3631d1}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e3980}from'../../utils/common-translations.js';import _0x15601d from'../../../theme/icons/arrow-up.svg';import _0xb9a990 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x13222b{constructor(_0x3d4888){super(_0x3d4888);const _0x4a4cae=this[_0x47bb('0x1d')],_0x28ae8c=new _0x134255(_0x3d4888),_0x1c9c10=new _0x134255(_0x3d4888);this[_0x47bb('0x15')](_0x47bb('0x17'),!0x1),this[_0x47bb('0x15')](_0x47bb('0xd'),!0x1),this['set']('currentChangeNumber',0x0),this['set'](_0x47bb('0xa'),0x0),this[_0x47bb('0x15')](_0x47bb('0x10'),!0x1),this[_0x47bb('0x15')](_0x47bb('0x19'),!0x1),this[_0x47bb('0xf')](_0x47bb('0x2'))['to'](this,_0x47bb('0xd'),this,_0x47bb('0xa'),(_0xc6a06,_0x5bb7c0)=>_0xc6a06&&_0x5bb7c0>0x0),this[_0x47bb('0xf')](_0x47bb('0xe'))['to'](this,'isReady',this,_0x47bb('0x9'),this,_0x47bb('0xa'),this,_0x47bb('0x17'),(_0x288fed,_0x253eea,_0x1c1ba2,_0x5b3a0a)=>{if(!_0x288fed)return _0x3e3980(_0x3d4888,_0x47bb('0xb'));if(!_0x1c1ba2)return _0x3e3980(_0x3d4888,'No\x20changes');const _0x2712be=_0x3e3980(_0x3d4888,_0x47bb('0x14'),_0x1c1ba2);return _0x5b3a0a?_0x3e3980(_0x3d4888,_0x47bb('0x3'),[_0x253eea+0x1,_0x1c1ba2]):_0x2712be;}),_0x28ae8c[_0x47bb('0x15')]({'label':_0x3e3980(_0x3d4888,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x15601d}),_0x1c9c10[_0x47bb('0x15')]({'label':_0x3e3980(_0x3d4888,_0x47bb('0x1')),'tooltip':!0x0,'icon':_0xb9a990}),_0x28ae8c[_0x47bb('0xf')](_0x47bb('0x5'))['to'](this,_0x47bb('0x19')),_0x1c9c10[_0x47bb('0xf')](_0x47bb('0x5'))['to'](this,'isForwardNavigationEnabled'),_0x28ae8c['on']('execute',()=>this[_0x47bb('0x11')]('execute',_0x47bb('0x12'))),_0x1c9c10['on'](_0x47bb('0x0'),()=>this[_0x47bb('0x11')]('execute',_0x47bb('0x18'))),this['setTemplate']({'tag':_0x47bb('0x13'),'attributes':{'class':['ck',_0x47bb('0x1c'),_0x47bb('0x16')]},'children':[{'tag':_0x47bb('0x6'),'attributes':{'class':[_0x47bb('0x4')]},'children':[{'tag':_0x47bb('0x6'),'attributes':{'class':[_0x47bb('0xc'),_0x4a4cae['if'](_0x47bb('0x2'),_0x47bb('0x7'),_0x22f3af=>!_0x22f3af)]},'children':[{'text':_0x4a4cae['to'](_0x47bb('0x17'),_0x4bad7f=>_0x4bad7f?_0x3e3980(_0x3d4888,_0x47bb('0x1b'))+':\x20':_0x3e3980(_0x3d4888,_0x47bb('0x1a'))+':\x20')}]},{'text':_0x4a4cae['to']('_statusText')}]},new _0x3631d1(),{'tag':_0x47bb('0x13'),'attributes':{'class':[_0x47bb('0x8')]},'children':[_0x28ae8c,_0x1c9c10]}]});}}
23
+ const _0xadcb=['forward','_isStatusLabelVisible','isEnabled','currentChangeNumber','ck-hidden','backward','span','bind','ck-revision-history-ui__changes-navigation__wrapper','isBackwardNavigationEnabled','set','div','setTemplate','isReady','execute','isNavigationMode','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','fire','Show\x20previous\x20change','EDIT_X_OF_Y_REVISIONS'];(function(_0x1b94dd,_0xadcb39){const _0x2a1f77=function(_0x1803ea){while(--_0x1803ea){_0x1b94dd['push'](_0x1b94dd['shift']());}};_0x2a1f77(++_0xadcb39);}(_0xadcb,0xd7));const _0x2a1f=function(_0x1b94dd,_0xadcb39){_0x1b94dd=_0x1b94dd-0x0;let _0x2a1f77=_0xadcb[_0x1b94dd];return _0x2a1f77;};import{View as _0x71319f,ButtonView as _0x3e9663,ToolbarSeparatorView as _0x3a1097}from'ckeditor5/src/ui.js';import{getTranslation as _0x55c23b}from'../../utils/common-translations.js';import _0x1600ad from'../../../theme/icons/arrow-up.svg';import _0x13f4df from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x71319f{constructor(_0x5b6480){super(_0x5b6480);const _0x24e026=this['bindTemplate'],_0x3e21ca=new _0x3e9663(_0x5b6480),_0xa91792=new _0x3e9663(_0x5b6480);this[_0x2a1f('0x2')]('isNavigationMode',!0x1),this[_0x2a1f('0x2')](_0x2a1f('0x5'),!0x1),this[_0x2a1f('0x2')](_0x2a1f('0x12'),0x0),this[_0x2a1f('0x2')]('numberOfChanges',0x0),this['set'](_0x2a1f('0xb'),!0x1),this[_0x2a1f('0x2')](_0x2a1f('0x1'),!0x1),this[_0x2a1f('0x16')](_0x2a1f('0x10'))['to'](this,'isReady',this,'numberOfChanges',(_0x2db326,_0x1e4296)=>_0x2db326&&_0x1e4296>0x0),this[_0x2a1f('0x16')]('_statusText')['to'](this,_0x2a1f('0x5'),this,_0x2a1f('0x12'),this,'numberOfChanges',this,_0x2a1f('0x7'),(_0x1bb6e0,_0x5a7cc3,_0x2489bb,_0x1c142c)=>{if(!_0x1bb6e0)return _0x55c23b(_0x5b6480,'Loading...');if(!_0x2489bb)return _0x55c23b(_0x5b6480,'No\x20changes');const _0xfc4916=_0x55c23b(_0x5b6480,'NUMBER_OF_CHANGES',_0x2489bb);return _0x1c142c?_0x55c23b(_0x5b6480,'X_OF_Y_CHANGES',[_0x5a7cc3+0x1,_0x2489bb]):_0xfc4916;}),_0x3e21ca[_0x2a1f('0x2')]({'label':_0x55c23b(_0x5b6480,_0x2a1f('0xd')),'tooltip':!0x0,'icon':_0x1600ad}),_0xa91792['set']({'label':_0x55c23b(_0x5b6480,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x13f4df}),_0x3e21ca[_0x2a1f('0x16')](_0x2a1f('0x11'))['to'](this,_0x2a1f('0x1')),_0xa91792['bind'](_0x2a1f('0x11'))['to'](this,_0x2a1f('0xb')),_0x3e21ca['on'](_0x2a1f('0x6'),()=>this[_0x2a1f('0xc')]('execute',_0x2a1f('0x14'))),_0xa91792['on'](_0x2a1f('0x6'),()=>this[_0x2a1f('0xc')](_0x2a1f('0x6'),_0x2a1f('0xf'))),this[_0x2a1f('0x4')]({'tag':_0x2a1f('0x3'),'attributes':{'class':['ck',_0x2a1f('0x8'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x2a1f('0x15'),'attributes':{'class':[_0x2a1f('0x0')]},'children':[{'tag':_0x2a1f('0x15'),'attributes':{'class':[_0x2a1f('0xa'),_0x24e026['if']('_isStatusLabelVisible',_0x2a1f('0x13'),_0x5ee9a5=>!_0x5ee9a5)]},'children':[{'text':_0x24e026['to']('isNavigationMode',_0x362ac4=>_0x362ac4?_0x55c23b(_0x5b6480,_0x2a1f('0xe'))+':\x20':_0x55c23b(_0x5b6480,'Total')+':\x20')}]},{'text':_0x24e026['to']('_statusText')}]},new _0x3a1097(),{'tag':_0x2a1f('0x3'),'attributes':{'class':[_0x2a1f('0x9')]},'children':[_0x3e21ca,_0xa91792]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a33=['editing','ck-editor__editable__loading-overlay','hide','addClass','pluginName','change','RevisionViewerLoadingOverlay','roots','removeClass','editor','view'];(function(_0x315d43,_0x2a3325){const _0x259f0f=function(_0x4cbf0c){while(--_0x4cbf0c){_0x315d43['push'](_0x315d43['shift']());}};_0x259f0f(++_0x2a3325);}(_0x2a33,0x133));const _0x259f=function(_0x315d43,_0x2a3325){_0x315d43=_0x315d43-0x0;let _0x259f0f=_0x2a33[_0x315d43];return _0x259f0f;};import{Plugin as _0x4fa3fa}from'ckeditor5/src/core.js';const oe=_0x259f('0x2');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4fa3fa{static get[_0x259f('0x5')](){return _0x259f('0x7');}['show'](){const _0xd26b05=this[_0x259f('0xa')][_0x259f('0x1')][_0x259f('0x0')];_0xd26b05[_0x259f('0x6')](_0x261611=>{for(const _0x1ed9ad of _0xd26b05['document'][_0x259f('0x8')])_0x261611[_0x259f('0x4')](oe,_0x1ed9ad);});}[_0x259f('0x3')](){const _0x37dabd=this[_0x259f('0xa')]['editing'][_0x259f('0x0')];_0x37dabd['change'](_0x1b1cf3=>{for(const _0x210c67 of _0x37dabd['document'][_0x259f('0x8')])_0x1b1cf3[_0x259f('0x9')](oe,_0x210c67);});}}
23
+ const _0x15cb=['show','view','addClass','roots','hide','pluginName','editing','editor','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','document'];(function(_0x285456,_0x15cb88){const _0x46548b=function(_0x4ecbad){while(--_0x4ecbad){_0x285456['push'](_0x285456['shift']());}};_0x46548b(++_0x15cb88);}(_0x15cb,0x10d));const _0x4654=function(_0x285456,_0x15cb88){_0x285456=_0x285456-0x0;let _0x46548b=_0x15cb[_0x285456];return _0x46548b;};import{Plugin as _0x4aaf27}from'ckeditor5/src/core.js';const oe=_0x4654('0x4');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4aaf27{static get[_0x4654('0x0')](){return _0x4654('0x3');}[_0x4654('0x6')](){const _0x2b0d31=this['editor'][_0x4654('0x1')][_0x4654('0x7')];_0x2b0d31['change'](_0x209eb1=>{for(const _0x180845 of _0x2b0d31['document'][_0x4654('0x9')])_0x209eb1[_0x4654('0x8')](oe,_0x180845);});}[_0x4654('0xa')](){const _0xc000b4=this[_0x4654('0x2')][_0x4654('0x1')][_0x4654('0x7')];_0xc000b4['change'](_0x34318e=>{for(const _0xe57eb2 of _0xc000b4[_0x4654('0x5')]['roots'])_0x34318e['removeClass'](oe,_0xe57eb2);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2be9=['exitToEditing','isForwardNavigationEnabled','hide','set','commands','execute','showPreviousChange','componentFactory','currentChangeNumber','isNavigationMode','add','ck-revision-history-ui__back-to-editing','Restore\x20this\x20revision','changesNavigation','get','revisionHistory','listenTo','editor','closeRevisionViewerCallback','show','pluginName','restoreRevision','isEnabled','RevisionViewerUI','numberOfChanges','plugins','bind','isBackwardNavigationEnabled','requires','Back\x20to\x20editing','change:isReady'];(function(_0x1c05b7,_0x2be985){const _0x5686ed=function(_0x29007e){while(--_0x29007e){_0x1c05b7['push'](_0x1c05b7['shift']());}};_0x5686ed(++_0x2be985);}(_0x2be9,0xd9));const _0x5686=function(_0x1c05b7,_0x2be985){_0x1c05b7=_0x1c05b7-0x0;let _0x5686ed=_0x2be9[_0x1c05b7];return _0x5686ed;};import{Plugin as _0x15372c}from'ckeditor5/src/core.js';import{ButtonView as _0x5120cb}from'ckeditor5/src/ui.js';import _0xfb3676 from'./changesnavigationview.js';import _0x597dab from'./../../revisionviewer.js';import _0x2f6e71 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x102e44}from'../../utils/common-translations.js';import _0x1514b6 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x15372c{static get[_0x5686('0x14')](){return _0x5686('0x17');}static get[_0x5686('0x1c')](){return[_0x597dab,_0x2f6e71];}['init'](){const _0x5b9be3=this[_0x5686('0x11')],_0x1142e6=_0x5b9be3[_0x5686('0x19')]['get'](_0x597dab),_0x4bcec8=_0x5b9be3[_0x5686('0x19')]['get'](_0x2f6e71);_0x5b9be3['ui'][_0x5686('0x7')][_0x5686('0xa')](_0x5686('0x0'),_0x257123=>{const _0xa01de3=new _0x5120cb(_0x257123);return _0xa01de3[_0x5686('0x3')]({'label':_0x102e44(_0x257123,_0x5686('0x1d')),'icon':_0x1514b6,'withText':!0x0,'tooltip':!0x0,'class':_0x5686('0xb')}),this[_0x5686('0x10')](_0xa01de3,'execute',()=>{_0x5b9be3['config'][_0x5686('0xe')](_0x5686('0xf'))[_0x5686('0x12')]();}),_0xa01de3;}),_0x5b9be3['ui']['componentFactory'][_0x5686('0xa')](_0x5686('0x15'),_0x9c63df=>{const _0x597291=new _0x5120cb(_0x9c63df);return _0x597291['set']({'label':_0x102e44(_0x9c63df,_0x5686('0xc')),'withText':!0x0,'tooltip':!0x0}),_0x597291[_0x5686('0x1a')](_0x5686('0x16'))['to'](_0x5b9be3['commands'][_0x5686('0xe')]('restoreRevision')),this['listenTo'](_0x597291,_0x5686('0x5'),()=>_0x5b9be3[_0x5686('0x5')](_0x5686('0x15'))),_0x597291;}),_0x5b9be3['ui'][_0x5686('0x7')][_0x5686('0xa')](_0x5686('0xd'),_0x417f11=>{const _0xde2970=new _0xfb3676(_0x417f11),_0x358888=_0x5b9be3[_0x5686('0x4')][_0x5686('0xe')](_0x5686('0x6')),_0xfc8e2b=_0x5b9be3['commands'][_0x5686('0xe')]('showNextChange');return _0xde2970[_0x5686('0x1a')](_0x5686('0x1b'))['to'](_0x358888,'isEnabled'),_0xde2970[_0x5686('0x1a')](_0x5686('0x1'))['to'](_0xfc8e2b,'isEnabled'),_0xde2970[_0x5686('0x1a')]('isReady',_0x5686('0x8'),_0x5686('0x18'),_0x5686('0x9'))['to'](_0x1142e6),this['listenTo'](_0xde2970,_0x5686('0x5'),(_0x6dcc22,_0x108a8a)=>{_0x5b9be3['execute']('forward'===_0x108a8a?'showNextChange':_0x5686('0x6'));}),_0xde2970;}),_0x4bcec8[_0x5686('0x13')](),_0x1142e6['on'](_0x5686('0x1e'),(_0x797290,_0x43d69b,_0x26f339)=>{_0x26f339?_0x4bcec8[_0x5686('0x2')]():_0x4bcec8[_0x5686('0x13')]();});}}
23
+ const _0x4079=['changesNavigation','plugins','restoreRevision','hide','undo','isEnabled','componentFactory','listenTo','showNextChange','Back\x20to\x20editing','add','forward','isBackwardNavigationEnabled','commands','RevisionViewerUI','init','set','currentChangeNumber','execute','showPreviousChange','bind','config','closeRevisionViewerCallback','numberOfChanges','isForwardNavigationEnabled','get','Restore\x20this\x20revision'];(function(_0x3b17a3,_0x40793c){const _0x367fef=function(_0x30bbf3){while(--_0x30bbf3){_0x3b17a3['push'](_0x3b17a3['shift']());}};_0x367fef(++_0x40793c);}(_0x4079,0x15c));const _0x367f=function(_0x3b17a3,_0x40793c){_0x3b17a3=_0x3b17a3-0x0;let _0x367fef=_0x4079[_0x3b17a3];return _0x367fef;};import{icons as _0x39ad5d,Plugin as _0x4ad97e}from'ckeditor5/src/core.js';import{ButtonView as _0x3d7899}from'ckeditor5/src/ui.js';import _0x58ece3 from'./changesnavigationview.js';import _0x31f2e6 from'./../../revisionviewer.js';import _0x3caf16 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x38f02f}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x4ad97e{static get['pluginName'](){return _0x367f('0x11');}static get['requires'](){return[_0x31f2e6,_0x3caf16];}[_0x367f('0x12')](){const _0x5d46d6=this['editor'],_0x3c2972=_0x5d46d6[_0x367f('0x4')][_0x367f('0x1')](_0x31f2e6),_0x293ecf=_0x5d46d6['plugins'][_0x367f('0x1')](_0x3caf16);_0x5d46d6['ui'][_0x367f('0x9')][_0x367f('0xd')]('exitToEditing',_0x357486=>{const _0x168719=new _0x3d7899(_0x357486);return _0x168719[_0x367f('0x13')]({'label':_0x38f02f(_0x357486,_0x367f('0xc')),'icon':_0x39ad5d[_0x367f('0x7')],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x367f('0xa')](_0x168719,_0x367f('0x15'),()=>{_0x5d46d6[_0x367f('0x18')][_0x367f('0x1')]('revisionHistory')[_0x367f('0x19')]();}),_0x168719;}),_0x5d46d6['ui'][_0x367f('0x9')]['add']('restoreRevision',_0x457aed=>{const _0x286267=new _0x3d7899(_0x457aed);return _0x286267['set']({'label':_0x38f02f(_0x457aed,_0x367f('0x2')),'withText':!0x0,'tooltip':!0x0}),_0x286267['bind'](_0x367f('0x8'))['to'](_0x5d46d6[_0x367f('0x10')]['get']('restoreRevision')),this['listenTo'](_0x286267,_0x367f('0x15'),()=>_0x5d46d6[_0x367f('0x15')](_0x367f('0x5'))),_0x286267;}),_0x5d46d6['ui'][_0x367f('0x9')][_0x367f('0xd')](_0x367f('0x3'),_0x12ae00=>{const _0x31729b=new _0x58ece3(_0x12ae00),_0x33f165=_0x5d46d6[_0x367f('0x10')][_0x367f('0x1')](_0x367f('0x16')),_0x2836e6=_0x5d46d6[_0x367f('0x10')][_0x367f('0x1')](_0x367f('0xb'));return _0x31729b[_0x367f('0x17')](_0x367f('0xf'))['to'](_0x33f165,_0x367f('0x8')),_0x31729b[_0x367f('0x17')](_0x367f('0x0'))['to'](_0x2836e6,_0x367f('0x8')),_0x31729b['bind']('isReady',_0x367f('0x14'),_0x367f('0x1a'),'isNavigationMode')['to'](_0x3c2972),this['listenTo'](_0x31729b,_0x367f('0x15'),(_0x5bec5b,_0x20c389)=>{_0x5d46d6[_0x367f('0x15')](_0x367f('0xe')===_0x20c389?_0x367f('0xb'):'showPreviousChange');}),_0x31729b;}),_0x293ecf['show'](),_0x3c2972['on']('change:isReady',(_0x1461a5,_0x14fb7b,_0x46f4ce)=>{_0x46f4ce?_0x293ecf[_0x367f('0x6')]():_0x293ecf['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2f940a,_0x864a02,_0x73f141){const t=_0x2f940a['t'];switch(_0x864a02){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'},_0x73f141);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x73f141);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 _0x864a02;}}
23
+ export function getTranslation(_0x7499d2,_0x48e136,_0x1ed50b){const t=_0x7499d2['t'];switch(_0x48e136){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'},_0x1ed50b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1ed50b);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 _0x48e136;}}