@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +5 -5
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x82f1=['focus','history','add','children','componentFactory','pluginName','editor','get','isOpen','isReadOnly','length','RevisionTracker','bind','reset','isEnabled','submit','isReady','Save\x20current\x20revision','saveRevision','Revision\x20history','revisionHistory','editing','config','RevisionHistoryUI','render','plugins','showRevisionViewerCallback','execute','addMany','items','remove','set'];(function(_0x533ace,_0x82f109){const _0x2ed2c6=function(_0x1fe041){while(--_0x1fe041){_0x533ace['push'](_0x533ace['shift']());}};_0x2ed2c6(++_0x82f109);}(_0x82f1,0x1c1));const _0x2ed2=function(_0x533ace,_0x82f109){_0x533ace=_0x533ace-0x0;let _0x2ed2c6=_0x82f1[_0x533ace];return _0x2ed2c6;};import{Plugin as _0x268f5c,icons as _0x3c9df1}from'ckeditor5/src/core.js';import{ListView as _0x450828,ListItemView as _0x38010c,ButtonView as _0x29a5d9,createDropdown as _0x5eb733}from'ckeditor5/src/ui.js';import _0x5dbb76 from'../../revisiontracker.js';import _0x54ed66 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2019ce}from'../../utils/common-translations.js';export default class u extends _0x268f5c{static get[_0x2ed2('0x4')](){return _0x2ed2('0x16');}static get['requires'](){return[_0x5dbb76];}['init'](){const _0x295df4=this[_0x2ed2('0x5')],_0x15aca2=_0x295df4[_0x2ed2('0x18')]['get'](_0x2ed2('0xa'));_0x295df4['ui'][_0x2ed2('0x3')][_0x2ed2('0x1')](_0x2ed2('0x13'),_0x461ff0=>{const _0x1db7a5=_0x5eb733(_0x461ff0),_0x371a92=_0x1db7a5['panelView'][_0x2ed2('0x2')],_0x3b24fa=new _0x450828(_0x461ff0),_0x1323a9=new _0x38010c(_0x461ff0),_0x27ed97=new _0x29a5d9(_0x461ff0),_0x259d25=new _0x38010c(_0x461ff0),_0x7576e7=new _0x29a5d9(_0x461ff0),_0xff1f0f=new _0x54ed66(_0x461ff0);function _0x36f291(){_0x371a92['length']&&_0x371a92[_0x2ed2('0x1d')](0x0),_0x371a92['add'](_0x3b24fa);}function _0x3b9c1c(){_0x1db7a5[_0x2ed2('0x7')]=!0x1,_0x295df4[_0x2ed2('0x14')]['view'][_0x2ed2('0x1f')]();}return _0x1db7a5[_0x2ed2('0xb')](_0x2ed2('0xd'))['to'](_0x15aca2,_0x2ed2('0xf'),_0x15aca2,'isEnabled',_0x295df4,_0x2ed2('0x8'),(_0x214e77,_0x14c721,_0x36bc0f)=>_0x214e77&&_0x14c721&&!_0x36bc0f),_0x1db7a5['buttonView'][_0x2ed2('0x1e')]({'icon':_0x3c9df1[_0x2ed2('0x0')],'label':_0x2019ce(_0x461ff0,_0x2ed2('0x12')),'tooltip':!0x0}),_0x27ed97[_0x2ed2('0x1e')]({'label':_0x2019ce(_0x461ff0,_0x2ed2('0x10')),'withText':!0x0}),_0x27ed97['bind']('isEnabled')['to'](_0x15aca2,_0x2ed2('0xf'),_0x15aca2,_0x2ed2('0xd'),_0x295df4,_0x2ed2('0x8'),(_0x369131,_0x278c04,_0x5af3c4)=>_0x369131&&_0x278c04&&!_0x5af3c4),_0x27ed97['on'](_0x2ed2('0x1a'),()=>function(){_0x371a92[_0x2ed2('0x9')]&&_0x371a92['remove'](0x0),(_0xff1f0f[_0x2ed2('0xc')](),_0x371a92[_0x2ed2('0x1')](_0xff1f0f),_0xff1f0f[_0x2ed2('0x1f')]());}()),_0x7576e7[_0x2ed2('0x1e')]({'label':_0x2019ce(_0x461ff0,'Open\x20revision\x20history'),'withText':!0x0}),_0x7576e7[_0x2ed2('0xb')]('isEnabled')['to'](_0x15aca2,'isReady',_0x295df4,_0x2ed2('0x8'),(_0x1dc9b5,_0x5de1c8)=>_0x1dc9b5&&!_0x5de1c8),_0x7576e7['on'](_0x2ed2('0x1a'),()=>{_0x295df4[_0x2ed2('0x15')][_0x2ed2('0x6')](_0x2ed2('0x13'))[_0x2ed2('0x19')](),_0x3b9c1c();}),_0x1323a9['children'][_0x2ed2('0x1')](_0x27ed97),_0x259d25['children'][_0x2ed2('0x1')](_0x7576e7),_0x3b24fa[_0x2ed2('0x1c')][_0x2ed2('0x1b')]([_0x1323a9,_0x259d25]),_0x1db7a5['on']('change:isOpen',()=>_0x36f291()),_0xff1f0f['saveButtonView']['bind'](_0x2ed2('0xd'))['to'](_0x15aca2,_0x2ed2('0xf'),_0x15aca2,'isEnabled',_0x295df4,_0x2ed2('0x8'),(_0x2b6020,_0x104860,_0x2cc816)=>_0x2b6020&&_0x104860&&!_0x2cc816),_0xff1f0f['on'](_0x2ed2('0xe'),()=>(_0x295df4[_0x2ed2('0x18')][_0x2ed2('0x6')](_0x5dbb76)[_0x2ed2('0x11')]({'name':_0xff1f0f['revisionName']}),void _0x3b9c1c())),_0xff1f0f['on']('cancel',()=>_0x36f291()),_0xff1f0f[_0x2ed2('0x17')](),_0x36f291(),_0x1db7a5;});}}
23
+ const _0x2a91=['remove','RevisionTracker','focus','reset','requires','Save\x20current\x20revision','execute','plugins','change:isOpen','children','RevisionHistoryUI','bind','set','addMany','render','isEnabled','view','saveRevision','isOpen','history','revisionHistory','pluginName','isReady','get','init','Revision\x20history','Open\x20revision\x20history','submit','editing','isReadOnly','componentFactory','length','add','buttonView','config','showRevisionViewerCallback','panelView'];(function(_0xef0b48,_0x2a918a){const _0x251f08=function(_0xd20b1){while(--_0xd20b1){_0xef0b48['push'](_0xef0b48['shift']());}};_0x251f08(++_0x2a918a);}(_0x2a91,0xa2));const _0x251f=function(_0xef0b48,_0x2a918a){_0xef0b48=_0xef0b48-0x0;let _0x251f08=_0x2a91[_0xef0b48];return _0x251f08;};import{Plugin as _0x510b59,icons as _0x4ed6df}from'ckeditor5/src/core.js';import{ListView as _0x108c98,ListItemView as _0x30f076,ButtonView as _0x3319a2,createDropdown as _0x2022d6}from'ckeditor5/src/ui.js';import _0x4a2fb4 from'../../revisiontracker.js';import _0xc28970 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x2e46cf}from'../../utils/common-translations.js';export default class u extends _0x510b59{static get[_0x251f('0x7')](){return _0x251f('0x21');}static get[_0x251f('0x1b')](){return[_0x4a2fb4];}[_0x251f('0xa')](){const _0x1d9c9f=this['editor'],_0x3028d6=_0x1d9c9f[_0x251f('0x1e')][_0x251f('0x9')](_0x251f('0x18'));_0x1d9c9f['ui'][_0x251f('0x10')]['add'](_0x251f('0x6'),_0x489624=>{const _0x270ee4=_0x2022d6(_0x489624),_0x28c680=_0x270ee4[_0x251f('0x16')][_0x251f('0x20')],_0xe82975=new _0x108c98(_0x489624),_0x10f411=new _0x30f076(_0x489624),_0x2212e5=new _0x3319a2(_0x489624),_0x3f45ee=new _0x30f076(_0x489624),_0xb904=new _0x3319a2(_0x489624),_0x4a5d22=new _0xc28970(_0x489624);function _0x45815f(){_0x28c680['length']&&_0x28c680[_0x251f('0x17')](0x0),_0x28c680[_0x251f('0x12')](_0xe82975);}function _0x1e0851(){_0x270ee4[_0x251f('0x4')]=!0x1,_0x1d9c9f[_0x251f('0xe')][_0x251f('0x2')][_0x251f('0x19')]();}return _0x270ee4['bind']('isEnabled')['to'](_0x3028d6,_0x251f('0x8'),_0x3028d6,_0x251f('0x1'),_0x1d9c9f,_0x251f('0xf'),(_0x28ad63,_0x572f3f,_0x578643)=>_0x28ad63&&_0x572f3f&&!_0x578643),_0x270ee4[_0x251f('0x13')][_0x251f('0x23')]({'icon':_0x4ed6df[_0x251f('0x5')],'label':_0x2e46cf(_0x489624,_0x251f('0xb')),'tooltip':!0x0}),_0x2212e5[_0x251f('0x23')]({'label':_0x2e46cf(_0x489624,_0x251f('0x1c')),'withText':!0x0}),_0x2212e5[_0x251f('0x22')]('isEnabled')['to'](_0x3028d6,_0x251f('0x8'),_0x3028d6,_0x251f('0x1'),_0x1d9c9f,_0x251f('0xf'),(_0x4cebdc,_0x5c0e2a,_0x45b92e)=>_0x4cebdc&&_0x5c0e2a&&!_0x45b92e),_0x2212e5['on'](_0x251f('0x1d'),()=>function(){_0x28c680[_0x251f('0x11')]&&_0x28c680[_0x251f('0x17')](0x0),(_0x4a5d22[_0x251f('0x1a')](),_0x28c680[_0x251f('0x12')](_0x4a5d22),_0x4a5d22[_0x251f('0x19')]());}()),_0xb904[_0x251f('0x23')]({'label':_0x2e46cf(_0x489624,_0x251f('0xc')),'withText':!0x0}),_0xb904[_0x251f('0x22')](_0x251f('0x1'))['to'](_0x3028d6,_0x251f('0x8'),_0x1d9c9f,_0x251f('0xf'),(_0x4fdef0,_0x5a754f)=>_0x4fdef0&&!_0x5a754f),_0xb904['on'](_0x251f('0x1d'),()=>{_0x1d9c9f[_0x251f('0x14')]['get'](_0x251f('0x6'))[_0x251f('0x15')](),_0x1e0851();}),_0x10f411[_0x251f('0x20')][_0x251f('0x12')](_0x2212e5),_0x3f45ee['children']['add'](_0xb904),_0xe82975['items'][_0x251f('0x24')]([_0x10f411,_0x3f45ee]),_0x270ee4['on'](_0x251f('0x1f'),()=>_0x45815f()),_0x4a5d22['saveButtonView'][_0x251f('0x22')](_0x251f('0x1'))['to'](_0x3028d6,_0x251f('0x8'),_0x3028d6,_0x251f('0x1'),_0x1d9c9f,_0x251f('0xf'),(_0xb4d32c,_0x448b85,_0x1fcdf1)=>_0xb4d32c&&_0x448b85&&!_0x1fcdf1),_0x4a5d22['on'](_0x251f('0xd'),()=>(_0x1d9c9f[_0x251f('0x1e')][_0x251f('0x9')](_0x4a2fb4)[_0x251f('0x3')]({'name':_0x4a5d22['revisionName']}),void _0x1e0851())),_0x4a5d22['on']('cancel',()=>_0x45815f()),_0x4a5d22[_0x251f('0x0')](),_0x45815f(),_0x270ee4;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c39=['_revisionViewer','revisionViews','map','_revisionsRepository','restoreRevision','init','compare','pluginName','get','defaultRevisionActions','setName','highlightRevisions','destroy','_createRevisionActions','Compare\x20against\x20selected','compareAgainstSelected','render','isSelected','_sidebarView','Name\x20this\x20revision','assign','revisionHistory','ready','requires','bind','length','name','config','add','selectRevision','RevisionsSidebar','revisionSelected','availableRevisionActions','timePeriodViews','change:diff','getRevision','getIndex','action','revisionHistory.revisionActions','fieldView','focus','_handleRevisionSetName','element','repository','isVisible','Restore\x20this\x20revision','_handleRevisionSelected','restoreRevisionCallback','nameRevision','remove','getEarlierVisibleRevision','editor','getLaterVisibleRevision','_revisions','select','listenTo','getRevisionsInDiff','isEnabled','_handleDiffChange','_handleEditorDataReady','diff','revisionSetName','plugins','locale'];(function(_0x49880c,_0x3c3995){const _0x2c3c57=function(_0x40e022){while(--_0x40e022){_0x49880c['push'](_0x49880c['shift']());}};_0x2c3c57(++_0x3c3995);}(_0x3c39,0x199));const _0x2c3c=function(_0x49880c,_0x3c3995){_0x49880c=_0x49880c-0x0;let _0x2c3c57=_0x3c39[_0x49880c];return _0x2c3c57;};import{Plugin as _0x4776ec}from'ckeditor5/src/core.js';import _0x53813a from'./revisionssidebarview.js';import _0x5d741d from'../../revisionviewer.js';export default class w extends _0x4776ec{static get[_0x2c3c('0x2e')](){return _0x2c3c('0x5');}static get[_0x2c3c('0x3e')](){return[_0x5d741d];}constructor(_0x48edd0){super(_0x48edd0),this[_0x2c3c('0x27')]=_0x48edd0[_0x2c3c('0x25')]['get'](_0x5d741d),this['_revisionsRepository']=this[_0x2c3c('0x27')]['repository'],this[_0x2c3c('0x39')]=null;}[_0x2c3c('0x2c')](){const _0x1e4721=this['_revisionsRepository'][_0x2c3c('0x1c')],_0x430548=this['_createRevisionActions'](),_0x516d94=this['editor'][_0x2c3c('0x2')][_0x2c3c('0x2f')]('revisionHistory.viewerSidebarContainer');this[_0x2c3c('0x39')]=new _0x53813a(this['editor'][_0x2c3c('0x26')],_0x1e4721,_0x430548),this[_0x2c3c('0x39')]['on'](_0x2c3c('0x6'),this[_0x2c3c('0x15')][_0x2c3c('0x3f')](this)),this[_0x2c3c('0x39')]['on'](_0x2c3c('0x24'),this[_0x2c3c('0x10')][_0x2c3c('0x3f')](this)),this[_0x2c3c('0x39')][_0x2c3c('0x3f')](_0x2c3c('0x20'))['to'](this['_revisionViewer']),this['_sidebarView'][_0x2c3c('0x8')]['on'](_0x2c3c('0x3'),(_0x2cd81e,_0x2fd506)=>{_0x2fd506[_0x2c3c('0x28')]['on'](_0x2c3c('0x3'),(_0x4be6a2,_0x48337e)=>{_0x48337e[_0x2c3c('0x3f')](_0x2c3c('0x20'),'isReady')['to'](this[_0x2c3c('0x27')]);});}),this[_0x2c3c('0x39')][_0x2c3c('0x37')](),this[_0x2c3c('0x1e')](this['editor']['data'],_0x2c3c('0x3d'),this[_0x2c3c('0x22')][_0x2c3c('0x3f')](this)),this['listenTo'](this['_revisionViewer'],_0x2c3c('0x9'),this[_0x2c3c('0x21')][_0x2c3c('0x3f')](this)),_0x516d94['appendChild'](this[_0x2c3c('0x39')][_0x2c3c('0x11')]);}[_0x2c3c('0x33')](){this[_0x2c3c('0x39')][_0x2c3c('0x11')][_0x2c3c('0x18')](),this[_0x2c3c('0x39')][_0x2c3c('0x33')]();}[_0x2c3c('0x22')](){const _0x5b16f4=this['_revisionsRepository'][_0x2c3c('0xa')](0x0);if(_0x5b16f4){const _0x205983=this['_revisionsRepository'][_0x2c3c('0x19')](_0x5b16f4['id']);this[_0x2c3c('0x27')][_0x2c3c('0x2d')](_0x5b16f4,_0x205983);}}[_0x2c3c('0x15')](_0x90351,_0x174efb){const _0x585709=this[_0x2c3c('0x2a')][_0x2c3c('0xa')](_0x174efb['id']),_0xbb83b6=this[_0x2c3c('0x2a')][_0x2c3c('0x19')](_0x585709['id']);this[_0x2c3c('0x27')][_0x2c3c('0x2d')](_0x585709,_0xbb83b6);}[_0x2c3c('0x10')](_0x3044b0,_0x2d8456){this[_0x2c3c('0x2a')][_0x2c3c('0xa')](_0x2d8456['id'])[_0x2c3c('0x31')](_0x2d8456[_0x2c3c('0x1')]);}[_0x2c3c('0x21')](_0x363eff,_0x426238,_0x215d61){const _0x162594=this[_0x2c3c('0x2a')][_0x2c3c('0x1f')](_0x215d61);_0x162594['length']>0x2?(this[_0x2c3c('0x39')][_0x2c3c('0x32')](_0x162594),this[_0x2c3c('0x39')][_0x2c3c('0x4')](null)):(this[_0x2c3c('0x39')]['highlightRevisions']([]),this[_0x2c3c('0x39')][_0x2c3c('0x4')](_0x162594[0x0]));}[_0x2c3c('0x34')](){const _0x352bcf=this[_0x2c3c('0x1a')],_0x3b852a=w[_0x2c3c('0x7')],_0x1f0db=_0x352bcf[_0x2c3c('0x2')][_0x2c3c('0x2f')](_0x2c3c('0xd'))||w[_0x2c3c('0x30')];if(_0x1f0db[_0x2c3c('0x0')])return _0x1f0db[_0x2c3c('0x29')](_0x22bbe5=>{const _0x149ba6='string'==typeof _0x22bbe5?Object[_0x2c3c('0x3b')]({},_0x3b852a[_0x22bbe5]):_0x22bbe5;return _0x149ba6[_0x2c3c('0xc')]=_0x149ba6[_0x2c3c('0xc')][_0x2c3c('0x3f')](this,_0x352bcf),_0x149ba6['isVisible']&&(_0x149ba6[_0x2c3c('0x13')]=_0x149ba6[_0x2c3c('0x13')][_0x2c3c('0x3f')](this,_0x352bcf)),_0x149ba6;});}}w[_0x2c3c('0x7')]={'compareAgainstSelected':{'name':_0x2c3c('0x35'),'action':({plugins:_0x17c151},_0x11b0a4)=>{const _0x42c557=_0x17c151[_0x2c3c('0x2f')](_0x5d741d),_0xf70256=_0x42c557[_0x2c3c('0x12')];let _0x3339ce=_0x42c557[_0x2c3c('0x23')]['newRevisionId'],_0x2a486a=_0x11b0a4['id'];_0xf70256['getIndex'](_0x3339ce)>_0xf70256[_0x2c3c('0xb')](_0x2a486a)&&([_0x3339ce,_0x2a486a]=[_0x2a486a,_0x3339ce]),_0x42c557[_0x2c3c('0x2d')](_0x3339ce,_0x2a486a);},'isVisible':({plugins:_0x46df95},_0x5f0812)=>{const _0x17bd6c=_0x46df95[_0x2c3c('0x2f')](_0x5d741d);return!(_0x17bd6c[_0x2c3c('0x12')][_0x2c3c('0x1f')](_0x17bd6c[_0x2c3c('0x23')])[_0x2c3c('0x0')]>0x2)&&!_0x5f0812[_0x2c3c('0x38')];}},'restoreRevision':{'name':_0x2c3c('0x14'),'action':(_0x6b5ea4,{id:_0x179d5f})=>{_0x6b5ea4[_0x2c3c('0x2')][_0x2c3c('0x2f')](_0x2c3c('0x3c'))[_0x2c3c('0x16')](_0x179d5f);},'isVisible':({plugins:_0x5cddb8},_0x2fe866)=>!!_0x5cddb8[_0x2c3c('0x2f')](_0x5d741d)[_0x2c3c('0x12')][_0x2c3c('0x1b')](_0x2fe866['id'])},'nameRevision':{'name':_0x2c3c('0x3a'),'action':({plugins:_0x43d588},{id:_0x324392,revisionNameView:_0x2b650d})=>{const _0x227603=_0x43d588[_0x2c3c('0x2f')](_0x5d741d),_0x263aed=_0x227603[_0x2c3c('0x12')][_0x2c3c('0x19')](_0x324392);_0x227603[_0x2c3c('0x2d')](_0x324392,_0x263aed),_0x2b650d[_0x2c3c('0xf')](),_0x2b650d[_0x2c3c('0xe')][_0x2c3c('0x1d')]();}}},w[_0x2c3c('0x30')]=[_0x2c3c('0x36'),_0x2c3c('0x2b'),_0x2c3c('0x17')];
23
+ const _0x2c75=['_handleRevisionSetName','diff','restoreRevision','revisionHistory.revisionActions','getIndex','focus','action','nameRevision','_revisions','element','getEarlierVisibleRevision','remove','listenTo','locale','length','Compare\x20against\x20selected','_revisionViewer','isSelected','editor','_createRevisionActions','destroy','appendChild','restoreRevisionCallback','setName','name','availableRevisionActions','highlightRevisions','repository','isEnabled','isVisible','select','_handleRevisionSelected','assign','getLaterVisibleRevision','newRevisionId','ready','map','config','getRevision','fieldView','Name\x20this\x20revision','_sidebarView','compare','revisionHistory','revisionSetName','defaultRevisionActions','init','revisionHistory.viewerSidebarContainer','pluginName','add','selectRevision','revisionViews','_revisionsRepository','requires','compareAgainstSelected','_handleEditorDataReady','data','get','getRevisionsInDiff','plugins','bind'];(function(_0x45b246,_0x2c75d2){const _0xf203f2=function(_0x5798b0){while(--_0x5798b0){_0x45b246['push'](_0x45b246['shift']());}};_0xf203f2(++_0x2c75d2);}(_0x2c75,0x189));const _0xf203=function(_0x45b246,_0x2c75d2){_0x45b246=_0x45b246-0x0;let _0xf203f2=_0x2c75[_0x45b246];return _0xf203f2;};import{Plugin as _0x3fc290}from'ckeditor5/src/core.js';import _0x286b1c from'./revisionssidebarview.js';import _0x15eed0 from'../../revisionviewer.js';export default class w extends _0x3fc290{static get[_0xf203('0x15')](){return'RevisionsSidebar';}static get[_0xf203('0x1a')](){return[_0x15eed0];}constructor(_0x1599d2){super(_0x1599d2),this[_0xf203('0x32')]=_0x1599d2[_0xf203('0x20')][_0xf203('0x1e')](_0x15eed0),this[_0xf203('0x19')]=this[_0xf203('0x32')][_0xf203('0x0')],this[_0xf203('0xe')]=null;}[_0xf203('0x13')](){const _0x4f6926=this[_0xf203('0x19')][_0xf203('0x2a')],_0x5380cb=this[_0xf203('0x35')](),_0x1b7139=this[_0xf203('0x34')][_0xf203('0xa')][_0xf203('0x1e')](_0xf203('0x14'));this[_0xf203('0xe')]=new _0x286b1c(this['editor'][_0xf203('0x2f')],_0x4f6926,_0x5380cb),this[_0xf203('0xe')]['on']('revisionSelected',this[_0xf203('0x4')][_0xf203('0x21')](this)),this[_0xf203('0xe')]['on'](_0xf203('0x11'),this['_handleRevisionSetName']['bind'](this)),this['_sidebarView'][_0xf203('0x21')]('isEnabled')['to'](this[_0xf203('0x32')]),this[_0xf203('0xe')]['timePeriodViews']['on']('add',(_0x190794,_0x1b4019)=>{_0x1b4019[_0xf203('0x18')]['on'](_0xf203('0x16'),(_0x3f3a65,_0x57ac08)=>{_0x57ac08[_0xf203('0x21')](_0xf203('0x1'),'isReady')['to'](this[_0xf203('0x32')]);});}),this[_0xf203('0xe')]['render'](),this[_0xf203('0x2e')](this[_0xf203('0x34')][_0xf203('0x1d')],_0xf203('0x8'),this[_0xf203('0x1c')][_0xf203('0x21')](this)),this['listenTo'](this[_0xf203('0x32')],'change:diff',this['_handleDiffChange']['bind'](this)),_0x1b7139[_0xf203('0x37')](this[_0xf203('0xe')]['element']);}[_0xf203('0x36')](){this['_sidebarView'][_0xf203('0x2b')][_0xf203('0x2d')](),this['_sidebarView'][_0xf203('0x36')]();}[_0xf203('0x1c')](){const _0x2c9da4=this[_0xf203('0x19')][_0xf203('0xb')](0x0);if(_0x2c9da4){const _0x561fee=this[_0xf203('0x19')][_0xf203('0x2c')](_0x2c9da4['id']);this[_0xf203('0x32')]['compare'](_0x2c9da4,_0x561fee);}}[_0xf203('0x4')](_0x44ffc0,_0x3c3d5b){const _0x2d1c09=this['_revisionsRepository']['getRevision'](_0x3c3d5b['id']),_0x4b1ec7=this['_revisionsRepository'][_0xf203('0x2c')](_0x2d1c09['id']);this[_0xf203('0x32')]['compare'](_0x2d1c09,_0x4b1ec7);}[_0xf203('0x22')](_0x452f9f,_0x24a512){this[_0xf203('0x19')]['getRevision'](_0x24a512['id'])[_0xf203('0x39')](_0x24a512[_0xf203('0x3a')]);}['_handleDiffChange'](_0x55fbf2,_0x180392,_0x55bec4){const _0x380011=this[_0xf203('0x19')][_0xf203('0x1f')](_0x55bec4);_0x380011[_0xf203('0x30')]>0x2?(this[_0xf203('0xe')]['highlightRevisions'](_0x380011),this[_0xf203('0xe')][_0xf203('0x17')](null)):(this[_0xf203('0xe')][_0xf203('0x3c')]([]),this[_0xf203('0xe')][_0xf203('0x17')](_0x380011[0x0]));}[_0xf203('0x35')](){const _0x4819cd=this['editor'],_0x48c1e1=w[_0xf203('0x3b')],_0x27f553=_0x4819cd['config'][_0xf203('0x1e')](_0xf203('0x25'))||w[_0xf203('0x12')];if(_0x27f553[_0xf203('0x30')])return _0x27f553[_0xf203('0x9')](_0xe99365=>{const _0x124ac8='string'==typeof _0xe99365?Object[_0xf203('0x5')]({},_0x48c1e1[_0xe99365]):_0xe99365;return _0x124ac8[_0xf203('0x28')]=_0x124ac8[_0xf203('0x28')][_0xf203('0x21')](this,_0x4819cd),_0x124ac8[_0xf203('0x2')]&&(_0x124ac8['isVisible']=_0x124ac8[_0xf203('0x2')][_0xf203('0x21')](this,_0x4819cd)),_0x124ac8;});}}w[_0xf203('0x3b')]={'compareAgainstSelected':{'name':_0xf203('0x31'),'action':({plugins:_0x4a707c},_0x351eb8)=>{const _0x210835=_0x4a707c[_0xf203('0x1e')](_0x15eed0),_0x2b56c1=_0x210835['repository'];let _0x41ea54=_0x210835['diff'][_0xf203('0x7')],_0x1d5fe4=_0x351eb8['id'];_0x2b56c1[_0xf203('0x26')](_0x41ea54)>_0x2b56c1[_0xf203('0x26')](_0x1d5fe4)&&([_0x41ea54,_0x1d5fe4]=[_0x1d5fe4,_0x41ea54]),_0x210835[_0xf203('0xf')](_0x41ea54,_0x1d5fe4);},'isVisible':({plugins:_0x4af065},_0x5ad8e6)=>{const _0x2e2665=_0x4af065[_0xf203('0x1e')](_0x15eed0);return!(_0x2e2665[_0xf203('0x0')]['getRevisionsInDiff'](_0x2e2665[_0xf203('0x23')])[_0xf203('0x30')]>0x2)&&!_0x5ad8e6[_0xf203('0x33')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2bbdf4,{id:_0x2e49b2})=>{_0x2bbdf4[_0xf203('0xa')]['get'](_0xf203('0x10'))[_0xf203('0x38')](_0x2e49b2);},'isVisible':({plugins:_0x2188a3},_0x4e60c7)=>!!_0x2188a3[_0xf203('0x1e')](_0x15eed0)[_0xf203('0x0')][_0xf203('0x6')](_0x4e60c7['id'])},'nameRevision':{'name':_0xf203('0xd'),'action':({plugins:_0x16e9a9},{id:_0x4340e6,revisionNameView:_0x2cecd3})=>{const _0x248a1f=_0x16e9a9[_0xf203('0x1e')](_0x15eed0),_0xb257f7=_0x248a1f[_0xf203('0x0')]['getEarlierVisibleRevision'](_0x4340e6);_0x248a1f[_0xf203('0xf')](_0x4340e6,_0xb257f7),_0x2cecd3[_0xf203('0x27')](),_0x2cecd3[_0xf203('0xc')][_0xf203('0x3')]();}}},w['defaultRevisionActions']=[_0xf203('0x1b'),_0xf203('0x24'),_0xf203('0x29')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef1=['setTemplate','Revision\x20history','ck-reset_all','ck-revision-history-sidebar__header','content','history'];(function(_0x48901c,_0x1ef105){const _0x799eae=function(_0x3d4e4a){while(--_0x3d4e4a){_0x48901c['push'](_0x48901c['shift']());}};_0x799eae(++_0x1ef105);}(_0x1ef1,0x195));const _0x799e=function(_0x48901c,_0x1ef105){_0x48901c=_0x48901c-0x0;let _0x799eae=_0x1ef1[_0x48901c];return _0x799eae;};import{View as _0x59fd6d,IconView as _0x539a18}from'ckeditor5/src/ui.js';import{getTranslation as _0x401757}from'../../utils/common-translations.js';import{icons as _0x4acfd4}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x59fd6d{constructor(_0x407667){super(_0x407667);const _0x1616eb=new _0x539a18();_0x1616eb[_0x799e('0x1')]=_0x4acfd4[_0x799e('0x2')],this[_0x799e('0x3')]({'tag':'div','attributes':{'class':['ck',_0x799e('0x5'),_0x799e('0x0')]},'children':[_0x1616eb,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x401757(_0x407667,_0x799e('0x4'))]}]});}}
23
+ const _0x25f4=['ck-revision-history-sidebar__header','Revision\x20history','ck-reset_all','ck-revision-history-sidebar__header__label','content','history','setTemplate','div'];(function(_0x1ef592,_0x25f48b){const _0x51b788=function(_0x4f7bf3){while(--_0x4f7bf3){_0x1ef592['push'](_0x1ef592['shift']());}};_0x51b788(++_0x25f48b);}(_0x25f4,0xe6));const _0x51b7=function(_0x1ef592,_0x25f48b){_0x1ef592=_0x1ef592-0x0;let _0x51b788=_0x25f4[_0x1ef592];return _0x51b788;};import{View as _0x6574f3,IconView as _0x5233d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f0e59}from'../../utils/common-translations.js';import{icons as _0x1dd441}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x6574f3{constructor(_0x2598d4){super(_0x2598d4);const _0x5ac39b=new _0x5233d2();_0x5ac39b[_0x51b7('0x6')]=_0x1dd441[_0x51b7('0x7')],this[_0x51b7('0x0')]({'tag':_0x51b7('0x1'),'attributes':{'class':['ck',_0x51b7('0x4'),_0x51b7('0x2')]},'children':[_0x5ac39b,{'tag':'span','attributes':{'class':['ck',_0x51b7('0x5')]},'children':[_0x2f0e59(_0x2598d4,_0x51b7('0x3'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x449c=['remove','_revisionActions','revisionViews','find','ck-revision-history-sidebar__time-period__label','div','delegate','addRevision','setTemplate','add','startDate','setName','ck-revision-history-sidebar__time-period','locale','removeRevision','select','ck-revision-history-sidebar__time-period__revisions','span'];(function(_0x360fa1,_0x449c70){const _0x1e7534=function(_0x230898){while(--_0x230898){_0x360fa1['push'](_0x360fa1['shift']());}};_0x1e7534(++_0x449c70);}(_0x449c,0x147));const _0x1e75=function(_0x360fa1,_0x449c70){_0x360fa1=_0x360fa1-0x0;let _0x1e7534=_0x449c[_0x360fa1];return _0x1e7534;};import{View as _0x44797b}from'ckeditor5/src/ui.js';import _0x15d9c6 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x31d413}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x44797b{constructor(_0x5eb073,_0x26dc9e,_0xaa1318){super(_0x5eb073);const _0x2ae0a4=_0x31d413(_0x26dc9e,this[_0x1e75('0xa')]['uiLanguage'])['localizedPeriodName'];this[_0x1e75('0x7')]=_0x26dc9e,this[_0x1e75('0x11')]=this['createCollection'](),this[_0x1e75('0x10')]=_0xaa1318,this[_0x1e75('0x11')][_0x1e75('0x3')](_0x1e75('0xc'))['to'](this),this['revisionViews'][_0x1e75('0x3')](_0x1e75('0x8'))['to'](this),this[_0x1e75('0x5')]({'tag':'div','attributes':{'class':['ck',_0x1e75('0x9')]},'children':[{'tag':_0x1e75('0xe'),'attributes':{'class':['ck',_0x1e75('0x1')]},'children':[{'text':_0x2ae0a4}]},{'tag':_0x1e75('0x2'),'attributes':{'class':['ck',_0x1e75('0xd')]},'children':this['revisionViews']}]});}[_0x1e75('0x4')](_0x1a4ae1){const _0x7bf1f6=new _0x15d9c6(this[_0x1e75('0xa')],_0x1a4ae1,this[_0x1e75('0x10')]);this['revisionViews'][_0x1e75('0x6')](_0x7bf1f6);}[_0x1e75('0xb')](_0x94623b){const _0x5dbcf3=this['revisionViews'][_0x1e75('0x0')](_0x56927a=>_0x56927a['id']===_0x94623b['id']);this['revisionViews'][_0x1e75('0xf')](_0x5dbcf3);}}
23
+ const _0x4ed9=['select','revisionViews','div','addRevision','createCollection','startDate','_revisionActions','setName','setTemplate','find','remove','delegate','localizedPeriodName','span','locale','removeRevision','add','uiLanguage'];(function(_0x161680,_0x4ed931){const _0x3d260a=function(_0x47db7c){while(--_0x47db7c){_0x161680['push'](_0x161680['shift']());}};_0x3d260a(++_0x4ed931);}(_0x4ed9,0xc0));const _0x3d26=function(_0x161680,_0x4ed931){_0x161680=_0x161680-0x0;let _0x3d260a=_0x4ed9[_0x161680];return _0x3d260a;};import{View as _0x228d5b}from'ckeditor5/src/ui.js';import _0x5e0e57 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x4bd11b}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x228d5b{constructor(_0x130859,_0x63ec3d,_0x40510f){super(_0x130859);const _0x579acc=_0x4bd11b(_0x63ec3d,this[_0x3d26('0x2')][_0x3d26('0x5')])[_0x3d26('0x0')];this[_0x3d26('0xb')]=_0x63ec3d,this[_0x3d26('0x7')]=this[_0x3d26('0xa')](),this[_0x3d26('0xc')]=_0x40510f,this['revisionViews'][_0x3d26('0x11')](_0x3d26('0x6'))['to'](this),this['revisionViews']['delegate'](_0x3d26('0xd'))['to'](this),this[_0x3d26('0xe')]({'tag':_0x3d26('0x8'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x3d26('0x1'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x579acc}]},{'tag':_0x3d26('0x8'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0x3d26('0x7')]}]});}[_0x3d26('0x9')](_0xa3f228){const _0x1774fb=new _0x5e0e57(this['locale'],_0xa3f228,this['_revisionActions']);this[_0x3d26('0x7')][_0x3d26('0x4')](_0x1774fb);}[_0x3d26('0x3')](_0x15d430){const _0x4442e6=this['revisionViews'][_0x3d26('0xf')](_0x5b7f48=>_0x5b7f48['id']===_0x15d430['id']);this['revisionViews'][_0x3d26('0x10')](_0x4442e6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bff=['locale','some','timePeriodViews','map','isEnabled','div','_revisionActions','uiLanguage','ck-disabled','revisionSelected','add','deselect','_getTimePeriodViewByStartDate','startDate','_revisions','get','remove','set','bindTemplate','selectRevision','_addRevision','ck-rounded-corners','ck-reset','highlight','delegate','setName','createdAt','select','getTime','revisionSetName','fire','highlightRevisions','find','addRevision','render','revisionViews','_removeRevision'];(function(_0x4b3375,_0x2bffb7){const _0x314c1e=function(_0xa93a6b){while(--_0xa93a6b){_0x4b3375['push'](_0x4b3375['shift']());}};_0x314c1e(++_0x2bffb7);}(_0x2bff,0x1a0));const _0x314c=function(_0x4b3375,_0x2bffb7){_0x4b3375=_0x4b3375-0x0;let _0x314c1e=_0x2bff[_0x4b3375];return _0x314c1e;};import{View as _0xab0825}from'ckeditor5/src/ui.js';import _0x539d8f from'./revisionssidebartimeperiodview.js';import _0x35fd9f from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3a81ee}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0xab0825{constructor(_0x59ca11,_0x6e6b88,_0x4f382a){super(_0x59ca11);const _0x271a69=this[_0x314c('0x9')];this[_0x314c('0x1e')]=this['createCollection'](),this[_0x314c('0x1e')][_0x314c('0xf')]('select')['to'](this),this[_0x314c('0x1e')][_0x314c('0xf')](_0x314c('0x10'))['to'](this),this['_revisions']=_0x6e6b88,this[_0x314c('0x22')]=_0x4f382a,this['on'](_0x314c('0x12'),(_0x53a04b,_0x2f7836)=>{this['fire'](_0x314c('0x0'),_0x2f7836);}),this['on']('setName',(_0x4e1d95,_0x50edf9)=>{this[_0x314c('0x15')](_0x314c('0x14'),_0x50edf9);}),this[_0x314c('0x8')](_0x314c('0x20'),!0x1),this['setTemplate']({'tag':_0x314c('0x21'),'attributes':{'class':['ck',_0x314c('0xd'),_0x314c('0xc'),'ck-revision-history-sidebar']},'children':[new _0x35fd9f(_0x59ca11),{'tag':_0x314c('0x21'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x271a69['if'](_0x314c('0x20'),_0x314c('0x24'),_0x39ee0d=>!_0x39ee0d)]},'children':this[_0x314c('0x1e')]}]});}[_0x314c('0x19')](){super[_0x314c('0x19')]();for(const _0x2238b9 of this[_0x314c('0x5')])this['_addRevision'](_0x2238b9);this[_0x314c('0x5')]['on']('add',(_0x2c322d,_0x5e1de1)=>{this['_addRevision'](_0x5e1de1);}),this[_0x314c('0x5')]['on'](_0x314c('0x7'),(_0x10155a,_0x401452)=>{this[_0x314c('0x1b')](_0x401452);});}get[_0x314c('0x1a')](){return this[_0x314c('0x1e')][_0x314c('0x1f')](_0x2dd636=>_0x2dd636[_0x314c('0x1a')][_0x314c('0x1f')](_0x375039=>_0x375039))['flat']();}[_0x314c('0xa')](_0x40c7f3){for(const _0x440bd5 of this['revisionViews'])_0x40c7f3&&_0x40c7f3['id']===_0x440bd5['id']?_0x440bd5[_0x314c('0x12')]():_0x440bd5[_0x314c('0x2')]();}[_0x314c('0x16')](_0xc6217f){for(const _0x371a74 of this[_0x314c('0x1a')])_0xc6217f[_0x314c('0x1d')](({id:_0x126815})=>_0x126815===_0x371a74['id'])?_0x371a74[_0x314c('0xe')]():_0x371a74['unhighlight']();}[_0x314c('0xb')](_0x537e9f){const _0x36265c=_0x3a81ee(_0x537e9f[_0x314c('0x11')],this['locale'][_0x314c('0x23')])['startDate'];let _0x38d285=this[_0x314c('0x1e')][_0x314c('0x6')](0x0);_0x38d285&&_0x38d285[_0x314c('0x4')]['getTime']()===_0x36265c['getTime']()||(_0x38d285=new _0x539d8f(this[_0x314c('0x1c')],_0x36265c,this[_0x314c('0x22')]),this[_0x314c('0x1e')][_0x314c('0x1')](_0x38d285)),_0x38d285[_0x314c('0x18')](_0x537e9f);}[_0x314c('0x1b')](_0x1ca9a6){const _0xbfe331=_0x3a81ee(_0x1ca9a6['createdAt'],this['locale'][_0x314c('0x23')])[_0x314c('0x4')];this[_0x314c('0x3')](_0xbfe331)['removeRevision'](_0x1ca9a6);}[_0x314c('0x3')](_0x1646e7){return this['timePeriodViews'][_0x314c('0x17')](_0x2d6ed3=>_0x2d6ed3[_0x314c('0x4')]['getTime']()===_0x1646e7[_0x314c('0x13')]());}}
23
+ const _0x1730=['_revisions','select','deselect','_addRevision','_revisionActions','startDate','_getTimePeriodViewByStartDate','highlight','add','locale','uiLanguage','setName','some','ck-disabled','revisionSelected','getTime','timePeriodViews','ck-reset','delegate','ck-revision-history-sidebar__timeline','ck-rounded-corners','set','createCollection','unhighlight','div','map','createdAt','revisionViews','removeRevision','find','flat','get','selectRevision','fire','revisionSetName','bindTemplate','addRevision','setTemplate'];(function(_0x5504c2,_0x173074){const _0x34ddc7=function(_0xac8f85){while(--_0xac8f85){_0x5504c2['push'](_0x5504c2['shift']());}};_0x34ddc7(++_0x173074);}(_0x1730,0x1c9));const _0x34dd=function(_0x5504c2,_0x173074){_0x5504c2=_0x5504c2-0x0;let _0x34ddc7=_0x1730[_0x5504c2];return _0x34ddc7;};import{View as _0x457396}from'ckeditor5/src/ui.js';import _0x2bd033 from'./revisionssidebartimeperiodview.js';import _0xf104fe from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x4110d9}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x457396{constructor(_0x2cbb40,_0x5a2e18,_0xcbfb6f){super(_0x2cbb40);const _0x5a60ee=this[_0x34dd('0x22')];this['timePeriodViews']=this[_0x34dd('0x15')](),this[_0x34dd('0xf')][_0x34dd('0x11')]('select')['to'](this),this[_0x34dd('0xf')][_0x34dd('0x11')]('setName')['to'](this),this[_0x34dd('0x25')]=_0x5a2e18,this[_0x34dd('0x3')]=_0xcbfb6f,this['on'](_0x34dd('0x0'),(_0x109e01,_0x39a7b6)=>{this[_0x34dd('0x20')](_0x34dd('0xd'),_0x39a7b6);}),this['on'](_0x34dd('0xa'),(_0x185a03,_0x3f5ab6)=>{this['fire'](_0x34dd('0x21'),_0x3f5ab6);}),this[_0x34dd('0x14')]('isEnabled',!0x1),this[_0x34dd('0x24')]({'tag':_0x34dd('0x17'),'attributes':{'class':['ck',_0x34dd('0x10'),_0x34dd('0x13'),'ck-revision-history-sidebar']},'children':[new _0xf104fe(_0x2cbb40),{'tag':_0x34dd('0x17'),'attributes':{'class':['ck',_0x34dd('0x12'),_0x5a60ee['if']('isEnabled',_0x34dd('0xc'),_0x46576f=>!_0x46576f)]},'children':this[_0x34dd('0xf')]}]});}['render'](){super['render']();for(const _0x22b050 of this['_revisions'])this[_0x34dd('0x2')](_0x22b050);this[_0x34dd('0x25')]['on'](_0x34dd('0x7'),(_0x53fd5,_0x36571d)=>{this[_0x34dd('0x2')](_0x36571d);}),this[_0x34dd('0x25')]['on']('remove',(_0x5bda2f,_0x32cca4)=>{this['_removeRevision'](_0x32cca4);});}get['revisionViews'](){return this[_0x34dd('0xf')][_0x34dd('0x18')](_0x1743e8=>_0x1743e8[_0x34dd('0x1a')][_0x34dd('0x18')](_0x33ac8a=>_0x33ac8a))[_0x34dd('0x1d')]();}[_0x34dd('0x1f')](_0x100dca){for(const _0x312220 of this[_0x34dd('0x1a')])_0x100dca&&_0x100dca['id']===_0x312220['id']?_0x312220['select']():_0x312220[_0x34dd('0x1')]();}['highlightRevisions'](_0x182de6){for(const _0x578fd5 of this[_0x34dd('0x1a')])_0x182de6[_0x34dd('0xb')](({id:_0x234795})=>_0x234795===_0x578fd5['id'])?_0x578fd5[_0x34dd('0x6')]():_0x578fd5[_0x34dd('0x16')]();}['_addRevision'](_0x160c14){const _0x217e22=_0x4110d9(_0x160c14[_0x34dd('0x19')],this['locale'][_0x34dd('0x9')])[_0x34dd('0x4')];let _0x53eba0=this[_0x34dd('0xf')][_0x34dd('0x1e')](0x0);_0x53eba0&&_0x53eba0[_0x34dd('0x4')][_0x34dd('0xe')]()===_0x217e22[_0x34dd('0xe')]()||(_0x53eba0=new _0x2bd033(this['locale'],_0x217e22,this[_0x34dd('0x3')]),this[_0x34dd('0xf')][_0x34dd('0x7')](_0x53eba0)),_0x53eba0[_0x34dd('0x23')](_0x160c14);}['_removeRevision'](_0x3b31fa){const _0x336fa6=_0x4110d9(_0x3b31fa['createdAt'],this[_0x34dd('0x8')]['uiLanguage'])['startDate'];this[_0x34dd('0x5')](_0x336fa6)[_0x34dd('0x1b')](_0x3b31fa);}[_0x34dd('0x5')](_0x10b496){return this['timePeriodViews'][_0x34dd('0x1c')](_0x4c2eef=>_0x4c2eef[_0x34dd('0x4')][_0x34dd('0xe')]()===_0x10b496['getTime']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a55=['toRelativeCalendar','monthLong','local','day','year','setLocale','hasSame','toJSDate','startOf','weekdayLong','fromJSDate','minus'];(function(_0x42712f,_0x3a557c){const _0x2abc06=function(_0x651eaa){while(--_0x651eaa){_0x42712f['push'](_0x42712f['shift']());}};_0x2abc06(++_0x3a557c);}(_0x3a55,0x17b));const _0x2abc=function(_0x42712f,_0x3a557c){_0x42712f=_0x42712f-0x0;let _0x2abc06=_0x3a55[_0x42712f];return _0x2abc06;};import{DateTime as _0x3f779a}from'luxon';export function getDateTimePeriodInfo(_0x304e06,_0xe53861){const _0x489682=_0x3f779a[_0x2abc('0x3')](_0x304e06)[_0x2abc('0xa')](_0xe53861),_0x3f8252=_0x3f779a[_0x2abc('0x7')](),_0x18b312=_0x3f8252[_0x2abc('0x4')]({'days':0x1})[_0x2abc('0x1')](_0x2abc('0x8'));let _0x40592d,_0x5d3925;return _0x489682[_0x2abc('0xb')](_0x3f8252,_0x2abc('0x8'))?(_0x40592d=_0x489682[_0x2abc('0x1')]('day')[_0x2abc('0x0')](),_0x5d3925=_0x489682[_0x2abc('0x5')]()):_0x489682[_0x2abc('0xb')](_0x18b312,_0x2abc('0x8'))?(_0x40592d=_0x18b312[_0x2abc('0x0')](),_0x5d3925=_0x489682[_0x2abc('0x5')]()):_0x489682[_0x2abc('0xb')](_0x3f8252,'week')?(_0x40592d=_0x489682[_0x2abc('0x1')]('week')['toJSDate'](),_0x5d3925=_0x489682[_0x2abc('0x2')]||''):_0x489682[_0x2abc('0xb')](_0x3f8252,_0x2abc('0x9'))?(_0x40592d=_0x489682['startOf']('month')[_0x2abc('0x0')](),_0x5d3925=_0x489682[_0x2abc('0x6')]||''):(_0x40592d=_0x489682[_0x2abc('0x1')](_0x2abc('0x9'))[_0x2abc('0x0')](),_0x5d3925=String(_0x489682[_0x2abc('0x9')])),{'startDate':_0x40592d,'localizedPeriodName':_0x5d3925};}
23
+ const _0x1ced=['toJSDate','startOf','toRelativeCalendar','minus','week','fromJSDate','setLocale','local','weekdayLong','day','year','hasSame'];(function(_0x10cbe6,_0x1ced3a){const _0x5f3f54=function(_0x3528db){while(--_0x3528db){_0x10cbe6['push'](_0x10cbe6['shift']());}};_0x5f3f54(++_0x1ced3a);}(_0x1ced,0xaa));const _0x5f3f=function(_0x10cbe6,_0x1ced3a){_0x10cbe6=_0x10cbe6-0x0;let _0x5f3f54=_0x1ced[_0x10cbe6];return _0x5f3f54;};import{DateTime as _0x384aca}from'luxon';export function getDateTimePeriodInfo(_0x28d1fc,_0x135ce8){const _0x642d8c=_0x384aca[_0x5f3f('0x3')](_0x28d1fc)[_0x5f3f('0x4')](_0x135ce8),_0x4b8227=_0x384aca[_0x5f3f('0x5')](),_0x42266c=_0x4b8227[_0x5f3f('0x1')]({'days':0x1})[_0x5f3f('0xb')](_0x5f3f('0x7'));let _0x30c7b0,_0x20af42;return _0x642d8c[_0x5f3f('0x9')](_0x4b8227,'day')?(_0x30c7b0=_0x642d8c[_0x5f3f('0xb')]('day')[_0x5f3f('0xa')](),_0x20af42=_0x642d8c[_0x5f3f('0x0')]()):_0x642d8c[_0x5f3f('0x9')](_0x42266c,_0x5f3f('0x7'))?(_0x30c7b0=_0x42266c[_0x5f3f('0xa')](),_0x20af42=_0x642d8c[_0x5f3f('0x0')]()):_0x642d8c['hasSame'](_0x4b8227,_0x5f3f('0x2'))?(_0x30c7b0=_0x642d8c[_0x5f3f('0xb')](_0x5f3f('0x2'))['toJSDate'](),_0x20af42=_0x642d8c[_0x5f3f('0x6')]||''):_0x642d8c[_0x5f3f('0x9')](_0x4b8227,_0x5f3f('0x8'))?(_0x30c7b0=_0x642d8c['startOf']('month')[_0x5f3f('0xa')](),_0x20af42=_0x642d8c['monthLong']||''):(_0x30c7b0=_0x642d8c[_0x5f3f('0xb')](_0x5f3f('0x8'))[_0x5f3f('0xa')](),_0x20af42=String(_0x642d8c[_0x5f3f('0x8')])),{'startDate':_0x30c7b0,'localizedPeriodName':_0x20af42};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f14=['author','set','type','ck-revision-change','changeId','ck-revision-change__label','add','focus','name','_model','bindTemplate','Removed\x20by'];(function(_0x5d113a,_0x1f14e5){const _0x33f121=function(_0x4eadd1){while(--_0x4eadd1){_0x5d113a['push'](_0x5d113a['shift']());}};_0x33f121(++_0x1f14e5);}(_0x1f14,0x1eb));const _0x33f1=function(_0x5d113a,_0x1f14e5){_0x5d113a=_0x5d113a-0x0;let _0x33f121=_0x1f14[_0x5d113a];return _0x33f121;};import{View as _0x285f6d}from'ckeditor5/src/ui.js';import{getTranslation as _0x496fc7}from'../../utils/common-translations.js';export default class Z extends _0x285f6d{constructor(_0x1c9948,_0x2f798f){super(_0x1c9948),this[_0x33f1('0xa')]=_0x2f798f,this[_0x33f1('0x5')]=_0x2f798f['id'];const _0x18a6c0=this[_0x33f1('0xb')],_0x11f385=_0x496fc7(_0x1c9948,_0x2f798f['data']['isSuggestion']?'Suggested\x20by':_0x33f1('0x7')==_0x2f798f['type']?'Added\x20by':_0x33f1('0x0'));this[_0x33f1('0x2')]('type',_0x2f798f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation',_0x33f1('0x4'),_0x18a6c0['to'](_0x33f1('0x3'),_0xc3d0b5=>'ck-revision-change__'+_0xc3d0b5)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':[_0x33f1('0x6')]},'children':[{'text':_0x11f385}]},{'text':'\x20'+_0x2f798f[_0x33f1('0x1')][_0x33f1('0x9')]}]}]});}['focus'](){this['element'][_0x33f1('0x8')]();}}
23
+ const _0x244a=['Suggested\x20by','name','data','set','element','Added\x20by','ck-annotation','type','author','ck-revision-change','Removed\x20by','span','add','ck-revision-change__','bindTemplate','div'];(function(_0x2c6e1f,_0x244a6d){const _0xb3b102=function(_0xb68b89){while(--_0xb68b89){_0x2c6e1f['push'](_0x2c6e1f['shift']());}};_0xb3b102(++_0x244a6d);}(_0x244a,0x6f));const _0xb3b1=function(_0x2c6e1f,_0x244a6d){_0x2c6e1f=_0x2c6e1f-0x0;let _0xb3b102=_0x244a[_0x2c6e1f];return _0xb3b102;};import{View as _0x288297}from'ckeditor5/src/ui.js';import{getTranslation as _0x211597}from'../../utils/common-translations.js';export default class Z extends _0x288297{constructor(_0x32ea21,_0xfac47c){super(_0x32ea21),this['_model']=_0xfac47c,this['changeId']=_0xfac47c['id'];const _0x1683a9=this[_0xb3b1('0xf')],_0x1b7f40=_0x211597(_0x32ea21,_0xfac47c[_0xb3b1('0x3')]['isSuggestion']?_0xb3b1('0x1'):_0xb3b1('0xd')==_0xfac47c[_0xb3b1('0x8')]?_0xb3b1('0x6'):_0xb3b1('0xb'));this[_0xb3b1('0x4')](_0xb3b1('0x8'),_0xfac47c[_0xb3b1('0x8')]),this['setTemplate']({'tag':_0xb3b1('0x0'),'attributes':{'class':[_0xb3b1('0x7'),_0xb3b1('0xa'),_0x1683a9['to'](_0xb3b1('0x8'),_0x4984ba=>_0xb3b1('0xe')+_0x4984ba)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0xb3b1('0xc'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1b7f40}]},{'text':'\x20'+_0xfac47c[_0xb3b1('0x9')][_0xb3b1('0x2')]}]}]});}['focus'](){this[_0xb3b1('0x5')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b0=['div','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','setTemplate','isEnabled','ck-revision-history-ui__changes-navigation__label','forward','isReady','isNavigationMode','X_OF_Y_CHANGES','fire','_isStatusLabelVisible','Total','set','Loading...','bindTemplate','numberOfChanges','_statusText','backward','ck-revision-history-ui__changes-navigation','isForwardNavigationEnabled','bind','No\x20changes','EDIT_X_OF_Y_REVISIONS','Show\x20next\x20change','execute','isBackwardNavigationEnabled','currentChangeNumber'];(function(_0x13f692,_0x14b0d2){const _0x33161e=function(_0x5951a2){while(--_0x5951a2){_0x13f692['push'](_0x13f692['shift']());}};_0x33161e(++_0x14b0d2);}(_0x14b0,0xb7));const _0x3316=function(_0x13f692,_0x14b0d2){_0x13f692=_0x13f692-0x0;let _0x33161e=_0x14b0[_0x13f692];return _0x33161e;};import{View as _0xa139d5,ButtonView as _0x28f784,ToolbarSeparatorView as _0x5f3932}from'ckeditor5/src/ui.js';import{getTranslation as _0xc316f4}from'../../utils/common-translations.js';import _0x10b9c4 from'../../../theme/icons/arrow-up.svg';import _0x18371a from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0xa139d5{constructor(_0x26e08a){super(_0x26e08a);const _0x1da452=this[_0x3316('0x0')],_0x5a45fe=new _0x28f784(_0x26e08a),_0x5f1c77=new _0x28f784(_0x26e08a);this[_0x3316('0x1a')](_0x3316('0x15'),!0x1),this[_0x3316('0x1a')]('isReady',!0x1),this[_0x3316('0x1a')]('currentChangeNumber',0x0),this[_0x3316('0x1a')](_0x3316('0x1'),0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this[_0x3316('0x6')](_0x3316('0x18'))['to'](this,_0x3316('0x14'),this,_0x3316('0x1'),(_0x420e16,_0x3c14cf)=>_0x420e16&&_0x3c14cf>0x0),this[_0x3316('0x6')](_0x3316('0x2'))['to'](this,_0x3316('0x14'),this,_0x3316('0xc'),this,_0x3316('0x1'),this,_0x3316('0x15'),(_0x581a4c,_0x34eefe,_0x1f799b,_0x159137)=>{if(!_0x581a4c)return _0xc316f4(_0x26e08a,_0x3316('0x1b'));if(!_0x1f799b)return _0xc316f4(_0x26e08a,_0x3316('0x7'));const _0x31f5aa=_0xc316f4(_0x26e08a,_0x3316('0xe'),_0x1f799b);return _0x159137?_0xc316f4(_0x26e08a,_0x3316('0x16'),[_0x34eefe+0x1,_0x1f799b]):_0x31f5aa;}),_0x5a45fe['set']({'label':_0xc316f4(_0x26e08a,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x10b9c4}),_0x5f1c77[_0x3316('0x1a')]({'label':_0xc316f4(_0x26e08a,_0x3316('0x9')),'tooltip':!0x0,'icon':_0x18371a}),_0x5a45fe[_0x3316('0x6')](_0x3316('0x11'))['to'](this,_0x3316('0xb')),_0x5f1c77[_0x3316('0x6')](_0x3316('0x11'))['to'](this,_0x3316('0x5')),_0x5a45fe['on'](_0x3316('0xa'),()=>this[_0x3316('0x17')](_0x3316('0xa'),_0x3316('0x3'))),_0x5f1c77['on']('execute',()=>this[_0x3316('0x17')](_0x3316('0xa'),_0x3316('0x13'))),this[_0x3316('0x10')]({'tag':_0x3316('0xd'),'attributes':{'class':['ck','ck-revision-history-ui',_0x3316('0x4')]},'children':[{'tag':'span','attributes':{'class':[_0x3316('0xf')]},'children':[{'tag':'span','attributes':{'class':[_0x3316('0x12'),_0x1da452['if'](_0x3316('0x18'),'ck-hidden',_0x19a0ec=>!_0x19a0ec)]},'children':[{'text':_0x1da452['to'](_0x3316('0x15'),_0x25ed81=>_0x25ed81?_0xc316f4(_0x26e08a,_0x3316('0x8'))+':\x20':_0xc316f4(_0x26e08a,_0x3316('0x19'))+':\x20')}]},{'text':_0x1da452['to'](_0x3316('0x2'))}]},new _0x5f3932(),{'tag':_0x3316('0xd'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5a45fe,_0x5f1c77]}]});}}
23
+ const _0xb7e1=['isReady','ck-revision-history-ui__changes-navigation__wrapper','X_OF_Y_CHANGES','Total','_isStatusLabelVisible','forward','bind','Loading...','span','numberOfChanges','isNavigationMode','isBackwardNavigationEnabled','Show\x20next\x20change','_statusText','ck-revision-history-ui','execute','Show\x20previous\x20change','fire','No\x20changes','currentChangeNumber','bindTemplate','set','ck-revision-history-ui__changes-navigation__label','isEnabled','ck-revision-history-ui__changes-navigation__navigation','div','EDIT_X_OF_Y_REVISIONS','backward'];(function(_0x5bf59a,_0xb7e18e){const _0x409853=function(_0x5c9515){while(--_0x5c9515){_0x5bf59a['push'](_0x5bf59a['shift']());}};_0x409853(++_0xb7e18e);}(_0xb7e1,0x1e6));const _0x4098=function(_0x5bf59a,_0xb7e18e){_0x5bf59a=_0x5bf59a-0x0;let _0x409853=_0xb7e1[_0x5bf59a];return _0x409853;};import{View as _0x1c0703,ButtonView as _0x58af4b,ToolbarSeparatorView as _0xcf0128}from'ckeditor5/src/ui.js';import{getTranslation as _0x40724c}from'../../utils/common-translations.js';import _0x31839d from'../../../theme/icons/arrow-up.svg';import _0x5b2483 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x1c0703{constructor(_0x5697b2){super(_0x5697b2);const _0x99f369=this[_0x4098('0xa')],_0x30f610=new _0x58af4b(_0x5697b2),_0x1a8009=new _0x58af4b(_0x5697b2);this[_0x4098('0xb')]('isNavigationMode',!0x1),this[_0x4098('0xb')](_0x4098('0x12'),!0x1),this[_0x4098('0xb')](_0x4098('0x9'),0x0),this[_0x4098('0xb')]('numberOfChanges',0x0),this[_0x4098('0xb')]('isForwardNavigationEnabled',!0x1),this[_0x4098('0xb')](_0x4098('0x1'),!0x1),this[_0x4098('0x18')](_0x4098('0x16'))['to'](this,_0x4098('0x12'),this,_0x4098('0x1b'),(_0x12e02d,_0x4162dd)=>_0x12e02d&&_0x4162dd>0x0),this[_0x4098('0x18')](_0x4098('0x3'))['to'](this,'isReady',this,'currentChangeNumber',this,_0x4098('0x1b'),this,_0x4098('0x0'),(_0x2877b4,_0x57aa48,_0x29150c,_0x9fe3c2)=>{if(!_0x2877b4)return _0x40724c(_0x5697b2,_0x4098('0x19'));if(!_0x29150c)return _0x40724c(_0x5697b2,_0x4098('0x8'));const _0x40e232=_0x40724c(_0x5697b2,'NUMBER_OF_CHANGES',_0x29150c);return _0x9fe3c2?_0x40724c(_0x5697b2,_0x4098('0x14'),[_0x57aa48+0x1,_0x29150c]):_0x40e232;}),_0x30f610[_0x4098('0xb')]({'label':_0x40724c(_0x5697b2,_0x4098('0x6')),'tooltip':!0x0,'icon':_0x31839d}),_0x1a8009[_0x4098('0xb')]({'label':_0x40724c(_0x5697b2,_0x4098('0x2')),'tooltip':!0x0,'icon':_0x5b2483}),_0x30f610['bind'](_0x4098('0xd'))['to'](this,_0x4098('0x1')),_0x1a8009[_0x4098('0x18')](_0x4098('0xd'))['to'](this,'isForwardNavigationEnabled'),_0x30f610['on'](_0x4098('0x5'),()=>this[_0x4098('0x7')](_0x4098('0x5'),_0x4098('0x11'))),_0x1a8009['on'](_0x4098('0x5'),()=>this[_0x4098('0x7')](_0x4098('0x5'),_0x4098('0x17'))),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x4098('0x4'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x4098('0x1a'),'attributes':{'class':[_0x4098('0x13')]},'children':[{'tag':_0x4098('0x1a'),'attributes':{'class':[_0x4098('0xc'),_0x99f369['if'](_0x4098('0x16'),'ck-hidden',_0x451b71=>!_0x451b71)]},'children':[{'text':_0x99f369['to'](_0x4098('0x0'),_0xcaffa2=>_0xcaffa2?_0x40724c(_0x5697b2,_0x4098('0x10'))+':\x20':_0x40724c(_0x5697b2,_0x4098('0x15'))+':\x20')}]},{'text':_0x99f369['to'](_0x4098('0x3'))}]},new _0xcf0128(),{'tag':_0x4098('0xf'),'attributes':{'class':[_0x4098('0xe')]},'children':[_0x30f610,_0x1a8009]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbe=['ck-editor__editable__loading-overlay','change','roots','editor','view','document','show','editing','RevisionViewerLoadingOverlay','hide'];(function(_0x5595d6,_0x2cbe48){const _0x2f1e0e=function(_0x4dd4c2){while(--_0x4dd4c2){_0x5595d6['push'](_0x5595d6['shift']());}};_0x2f1e0e(++_0x2cbe48);}(_0x2cbe,0x1cb));const _0x2f1e=function(_0x5595d6,_0x2cbe48){_0x5595d6=_0x5595d6-0x0;let _0x2f1e0e=_0x2cbe[_0x5595d6];return _0x2f1e0e;};import{Plugin as _0x59995d}from'ckeditor5/src/core.js';const oe=_0x2f1e('0x1');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x59995d{static get['pluginName'](){return _0x2f1e('0x9');}[_0x2f1e('0x7')](){const _0x2ba0a4=this[_0x2f1e('0x4')][_0x2f1e('0x8')][_0x2f1e('0x5')];_0x2ba0a4[_0x2f1e('0x2')](_0x2103d9=>{for(const _0x5cf11d of _0x2ba0a4[_0x2f1e('0x6')][_0x2f1e('0x3')])_0x2103d9['addClass'](oe,_0x5cf11d);});}[_0x2f1e('0x0')](){const _0x5418e5=this[_0x2f1e('0x4')][_0x2f1e('0x8')][_0x2f1e('0x5')];_0x5418e5[_0x2f1e('0x2')](_0x390b8d=>{for(const _0x5374a3 of _0x5418e5[_0x2f1e('0x6')][_0x2f1e('0x3')])_0x390b8d['removeClass'](oe,_0x5374a3);});}}
23
+ const _0x998f=['view','editor','removeClass','roots','hide','show','change','addClass','editing'];(function(_0x522386,_0x998ff4){const _0x401474=function(_0x5ea5c1){while(--_0x5ea5c1){_0x522386['push'](_0x522386['shift']());}};_0x401474(++_0x998ff4);}(_0x998f,0x1bd));const _0x4014=function(_0x522386,_0x998ff4){_0x522386=_0x522386-0x0;let _0x401474=_0x998f[_0x522386];return _0x401474;};import{Plugin as _0x449508}from'ckeditor5/src/core.js';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x449508{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}[_0x4014('0x1')](){const _0x4b8403=this[_0x4014('0x6')][_0x4014('0x4')][_0x4014('0x5')];_0x4b8403[_0x4014('0x2')](_0x14ea00=>{for(const _0x568ab5 of _0x4b8403['document'][_0x4014('0x8')])_0x14ea00[_0x4014('0x3')](oe,_0x568ab5);});}[_0x4014('0x0')](){const _0x2d4d45=this['editor'][_0x4014('0x4')][_0x4014('0x5')];_0x2d4d45[_0x4014('0x2')](_0x4f86bd=>{for(const _0x5e735e of _0x2d4d45['document'][_0x4014('0x8')])_0x4f86bd[_0x4014('0x7')](oe,_0x5e735e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f93=['componentFactory','get','changesNavigation','pluginName','currentChangeNumber','isNavigationMode','numberOfChanges','show','showPreviousChange','isReady','Back\x20to\x20editing','exitToEditing','closeRevisionViewerCallback','isForwardNavigationEnabled','change:isReady','commands','listenTo','showNextChange','isBackwardNavigationEnabled','editor','config','RevisionViewerUI','Restore\x20this\x20revision','bind','requires','ck-revision-history-ui__back-to-editing','isEnabled','add','execute','restoreRevision','set'];(function(_0x2a4575,_0x4f933f){const _0x35f673=function(_0x1cea7a){while(--_0x1cea7a){_0x2a4575['push'](_0x2a4575['shift']());}};_0x35f673(++_0x4f933f);}(_0x4f93,0x115));const _0x35f6=function(_0x2a4575,_0x4f933f){_0x2a4575=_0x2a4575-0x0;let _0x35f673=_0x4f93[_0x2a4575];return _0x35f673;};import{icons as _0x146a99,Plugin as _0x21ee6b}from'ckeditor5/src/core.js';import{ButtonView as _0x3c2029}from'ckeditor5/src/ui.js';import _0x24b8ed from'./changesnavigationview.js';import _0x2006ba from'./../../revisionviewer.js';import _0x2ca0e7 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xee36f9}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x21ee6b{static get[_0x35f6('0x5')](){return _0x35f6('0x17');}static get[_0x35f6('0x1a')](){return[_0x2006ba,_0x2ca0e7];}['init'](){const _0x4227d3=this[_0x35f6('0x15')],_0xaeabd5=_0x4227d3['plugins'][_0x35f6('0x3')](_0x2006ba),_0x48d2ad=_0x4227d3['plugins']['get'](_0x2ca0e7);_0x4227d3['ui'][_0x35f6('0x2')][_0x35f6('0x1d')](_0x35f6('0xd'),_0x4fb42d=>{const _0x2003b3=new _0x3c2029(_0x4fb42d);return _0x2003b3[_0x35f6('0x1')]({'label':_0xee36f9(_0x4fb42d,_0x35f6('0xc')),'icon':_0x146a99['undo'],'withText':!0x0,'tooltip':!0x0,'class':_0x35f6('0x1b')}),this[_0x35f6('0x12')](_0x2003b3,_0x35f6('0x1e'),()=>{_0x4227d3[_0x35f6('0x16')][_0x35f6('0x3')]('revisionHistory')[_0x35f6('0xe')]();}),_0x2003b3;}),_0x4227d3['ui'][_0x35f6('0x2')]['add'](_0x35f6('0x0'),_0x26d3d5=>{const _0x1a01fe=new _0x3c2029(_0x26d3d5);return _0x1a01fe[_0x35f6('0x1')]({'label':_0xee36f9(_0x26d3d5,_0x35f6('0x18')),'withText':!0x0,'tooltip':!0x0}),_0x1a01fe[_0x35f6('0x19')](_0x35f6('0x1c'))['to'](_0x4227d3[_0x35f6('0x11')][_0x35f6('0x3')](_0x35f6('0x0'))),this['listenTo'](_0x1a01fe,_0x35f6('0x1e'),()=>_0x4227d3[_0x35f6('0x1e')](_0x35f6('0x0'))),_0x1a01fe;}),_0x4227d3['ui'][_0x35f6('0x2')][_0x35f6('0x1d')](_0x35f6('0x4'),_0x13ad1a=>{const _0x33d5c7=new _0x24b8ed(_0x13ad1a),_0x1a8017=_0x4227d3[_0x35f6('0x11')][_0x35f6('0x3')](_0x35f6('0xa')),_0x3c49de=_0x4227d3[_0x35f6('0x11')][_0x35f6('0x3')](_0x35f6('0x13'));return _0x33d5c7[_0x35f6('0x19')](_0x35f6('0x14'))['to'](_0x1a8017,_0x35f6('0x1c')),_0x33d5c7['bind'](_0x35f6('0xf'))['to'](_0x3c49de,_0x35f6('0x1c')),_0x33d5c7['bind'](_0x35f6('0xb'),_0x35f6('0x6'),_0x35f6('0x8'),_0x35f6('0x7'))['to'](_0xaeabd5),this['listenTo'](_0x33d5c7,'execute',(_0x5b1912,_0x199220)=>{_0x4227d3['execute']('forward'===_0x199220?'showNextChange':_0x35f6('0xa'));}),_0x33d5c7;}),_0x48d2ad[_0x35f6('0x9')](),_0xaeabd5['on'](_0x35f6('0x10'),(_0x26f1c7,_0x22ac99,_0xaebf4f)=>{_0xaebf4f?_0x48d2ad['hide']():_0x48d2ad[_0x35f6('0x9')]();});}}
23
+ const _0x5d82=['isEnabled','bind','numberOfChanges','forward','exitToEditing','showPreviousChange','componentFactory','change:isReady','editor','show','undo','isReady','get','isNavigationMode','isBackwardNavigationEnabled','init','hide','RevisionViewerUI','restoreRevision','plugins','execute','requires','add','isForwardNavigationEnabled','Back\x20to\x20editing','pluginName','listenTo','revisionHistory','set','commands','showNextChange','ck-revision-history-ui__back-to-editing'];(function(_0x54cda9,_0x5d8210){const _0x29620d=function(_0x5ae3b0){while(--_0x5ae3b0){_0x54cda9['push'](_0x54cda9['shift']());}};_0x29620d(++_0x5d8210);}(_0x5d82,0x1c8));const _0x2962=function(_0x54cda9,_0x5d8210){_0x54cda9=_0x54cda9-0x0;let _0x29620d=_0x5d82[_0x54cda9];return _0x29620d;};import{icons as _0xc890cb,Plugin as _0x1b3819}from'ckeditor5/src/core.js';import{ButtonView as _0x58c94a}from'ckeditor5/src/ui.js';import _0x5c832d from'./changesnavigationview.js';import _0x3fc99f from'./../../revisionviewer.js';import _0x146bc4 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5678fb}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x1b3819{static get[_0x2962('0x11')](){return _0x2962('0x9');}static get[_0x2962('0xd')](){return[_0x3fc99f,_0x146bc4];}[_0x2962('0x7')](){const _0x3a7e8f=this[_0x2962('0x0')],_0x40a1b3=_0x3a7e8f['plugins']['get'](_0x3fc99f),_0x15a48a=_0x3a7e8f[_0x2962('0xb')]['get'](_0x146bc4);_0x3a7e8f['ui'][_0x2962('0x1e')][_0x2962('0xe')](_0x2962('0x1c'),_0x4502b4=>{const _0x3f8d50=new _0x58c94a(_0x4502b4);return _0x3f8d50[_0x2962('0x14')]({'label':_0x5678fb(_0x4502b4,_0x2962('0x10')),'icon':_0xc890cb[_0x2962('0x2')],'withText':!0x0,'tooltip':!0x0,'class':_0x2962('0x17')}),this[_0x2962('0x12')](_0x3f8d50,_0x2962('0xc'),()=>{_0x3a7e8f['config'][_0x2962('0x4')](_0x2962('0x13'))['closeRevisionViewerCallback']();}),_0x3f8d50;}),_0x3a7e8f['ui']['componentFactory'][_0x2962('0xe')](_0x2962('0xa'),_0x408c14=>{const _0x2c79f3=new _0x58c94a(_0x408c14);return _0x2c79f3[_0x2962('0x14')]({'label':_0x5678fb(_0x408c14,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2c79f3['bind'](_0x2962('0x18'))['to'](_0x3a7e8f[_0x2962('0x15')][_0x2962('0x4')]('restoreRevision')),this[_0x2962('0x12')](_0x2c79f3,_0x2962('0xc'),()=>_0x3a7e8f['execute'](_0x2962('0xa'))),_0x2c79f3;}),_0x3a7e8f['ui'][_0x2962('0x1e')][_0x2962('0xe')]('changesNavigation',_0x28969e=>{const _0x322434=new _0x5c832d(_0x28969e),_0x2b9351=_0x3a7e8f[_0x2962('0x15')][_0x2962('0x4')](_0x2962('0x1d')),_0x347f7f=_0x3a7e8f[_0x2962('0x15')][_0x2962('0x4')](_0x2962('0x16'));return _0x322434[_0x2962('0x19')](_0x2962('0x6'))['to'](_0x2b9351,_0x2962('0x18')),_0x322434[_0x2962('0x19')](_0x2962('0xf'))['to'](_0x347f7f,_0x2962('0x18')),_0x322434[_0x2962('0x19')](_0x2962('0x3'),'currentChangeNumber',_0x2962('0x1a'),_0x2962('0x5'))['to'](_0x40a1b3),this[_0x2962('0x12')](_0x322434,_0x2962('0xc'),(_0x11c6b9,_0x32e88c)=>{_0x3a7e8f[_0x2962('0xc')](_0x2962('0x1b')===_0x32e88c?_0x2962('0x16'):_0x2962('0x1d'));}),_0x322434;}),_0x15a48a['show'](),_0x40a1b3['on'](_0x2962('0x1f'),(_0x2237b3,_0x1bf0e4,_0x53ce78)=>{_0x53ce78?_0x15a48a[_0x2962('0x8')]():_0x15a48a[_0x2962('0x1')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x578c6b,_0x49fa4b,_0x1d970d){const t=_0x578c6b['t'];switch(_0x49fa4b){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'},_0x1d970d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1d970d);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 _0x49fa4b;}}
23
+ export function getTranslation(_0x4b7aab,_0x1dfafc,_0x57259f){const t=_0x4b7aab['t'];switch(_0x1dfafc){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'},_0x57259f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x57259f);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 _0x1dfafc;}}