@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240204.0 → 0.0.0-nightly-20240206.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 _0x520a=['_createButton','cancel','focusFirst','Cancel','arrowup','tab','Name\x20of\x20the\x20revision\x20(optional)','listenTo','trim','locale','focusTracker','ck-button-save','focus','value','check','220','Save','_focusCycler','ck-responsive-form','shift\x20+\x20tab','forEach','revisionName','form','execute','stopPropagation','element','label','keystrokes','revisionNameInputValue','reset','cancelButtonView','arrowdown','extendTemplate','setTemplate','revisionNameInputView','ck-button-cancel','arrowleft','set','saveButtonView','_focusables','_createRevisionNameInput','input','fieldView','add','render','ck-revision-history-save-revision-form'];(function(_0x50dbfa,_0x520a0d){const _0x1d09ce=function(_0x38658){while(--_0x38658){_0x50dbfa['push'](_0x50dbfa['shift']());}};_0x1d09ce(++_0x520a0d);}(_0x520a,0x1b7));const _0x1d09=function(_0x50dbfa,_0x520a0d){_0x50dbfa=_0x50dbfa-0x0;let _0x1d09ce=_0x520a[_0x50dbfa];return _0x1d09ce;};import{icons as _0x3a2e64}from'ckeditor5/src/core.js';import{ButtonView as _0x3238ea,FocusCycler as _0x4ddfea,LabeledFieldView as _0x6ac25f,View as _0x567290,ViewCollection as _0x1fba69,createLabeledInputText as _0x36586,injectCssTransitionDisabler as _0x4e52e5,submitHandler as _0x417ada}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e51d4,KeystrokeHandler as _0x552cf8}from'ckeditor5/src/utils.js';import{getTranslation as _0x340ef5}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x567290{constructor(_0x1b6fb5){super(_0x1b6fb5),this[_0x1d09('0x1f')]=new _0x4e51d4(),this[_0x1d09('0x2')]=new _0x552cf8(),this[_0x1d09('0xc')]('revisionNameInputValue',''),this[_0x1d09('0x9')]=this[_0x1d09('0xf')](),this['saveButtonView']=this[_0x1d09('0x15')](_0x340ef5(_0x1b6fb5,_0x1d09('0x25')),_0x3a2e64[_0x1d09('0x23')],_0x1d09('0x20')),this[_0x1d09('0xd')]['type']='submit',this[_0x1d09('0x5')]=this[_0x1d09('0x15')](_0x340ef5(_0x1b6fb5,_0x1d09('0x18')),_0x3a2e64[_0x1d09('0x16')],_0x1d09('0xa'),_0x1d09('0x16')),this[_0x1d09('0xe')]=new _0x1fba69(),this[_0x1d09('0x26')]=new _0x4ddfea({'focusables':this[_0x1d09('0xe')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x1d09('0x2')],'actions':{'focusPrevious':_0x1d09('0x28'),'focusNext':_0x1d09('0x1a')}}),this[_0x1d09('0x8')]({'tag':_0x1d09('0x2b'),'attributes':{'class':['ck',_0x1d09('0x14'),_0x1d09('0x27')],'tabindex':'-1'},'children':[this[_0x1d09('0x9')],this[_0x1d09('0xd')],this[_0x1d09('0x5')]]}),_0x4e52e5(this);}[_0x1d09('0x13')](){super[_0x1d09('0x13')](),_0x417ada({'view':this}),([this['revisionNameInputView'],this[_0x1d09('0xd')],this[_0x1d09('0x5')]][_0x1d09('0x29')](_0x222e98=>{this['_focusables'][_0x1d09('0x12')](_0x222e98),this[_0x1d09('0x1f')][_0x1d09('0x12')](_0x222e98[_0x1d09('0x0')]);}),this['keystrokes'][_0x1d09('0x1c')](this['element']));const _0x190643=_0x256784=>_0x256784[_0x1d09('0x2d')]();this[_0x1d09('0x2')]['set']('arrowright',_0x190643),this['keystrokes'][_0x1d09('0xc')](_0x1d09('0xb'),_0x190643),this[_0x1d09('0x2')][_0x1d09('0xc')](_0x1d09('0x19'),_0x190643),this[_0x1d09('0x2')][_0x1d09('0xc')](_0x1d09('0x6'),_0x190643);}[_0x1d09('0x21')](){this[_0x1d09('0x26')][_0x1d09('0x17')]();}get[_0x1d09('0x2a')](){return this['revisionNameInputView']['fieldView']['element'][_0x1d09('0x22')][_0x1d09('0x1d')]();}set[_0x1d09('0x2a')](_0xfbfd9b){this[_0x1d09('0x9')][_0x1d09('0x11')][_0x1d09('0x0')][_0x1d09('0x22')]=_0xfbfd9b[_0x1d09('0x1d')]();}[_0x1d09('0x4')](){this[_0x1d09('0x9')][_0x1d09('0x11')][_0x1d09('0x0')][_0x1d09('0x22')]='';}[_0x1d09('0xf')](){const _0x259f9b=new _0x6ac25f(this[_0x1d09('0x1e')],_0x36586),_0x4ca2eb=_0x259f9b[_0x1d09('0x11')];return _0x4ca2eb[_0x1d09('0x7')]({'attributes':{'maxlength':_0x1d09('0x24')}}),_0x259f9b[_0x1d09('0x1')]=_0x340ef5(this[_0x1d09('0x1e')],_0x1d09('0x1b')),_0x4ca2eb['on'](_0x1d09('0x10'),()=>{this[_0x1d09('0x3')]=_0x4ca2eb[_0x1d09('0x0')][_0x1d09('0x22')][_0x1d09('0x1d')]();}),_0x259f9b;}[_0x1d09('0x15')](_0xd8ab8f,_0x4e2e94,_0xbc9d84,_0x379e00){const _0x1a04b5=new _0x3238ea(this['locale']);return _0x1a04b5[_0x1d09('0xc')]({'label':_0xd8ab8f,'icon':_0x4e2e94,'tooltip':!0x0}),_0x1a04b5[_0x1d09('0x7')]({'attributes':{'class':_0xbc9d84}}),_0x379e00&&_0x1a04b5['delegate'](_0x1d09('0x2c'))['to'](this,_0x379e00),_0x1a04b5;}}
23
+ const _0x1eba=['render','reset','cancel','ck-button-cancel','_focusCycler','revisionNameInputView','arrowleft','focusTracker','focusFirst','_createRevisionNameInput','revisionName','trim','stopPropagation','delegate','_createButton','ck-responsive-form','focus','_focusables','Name\x20of\x20the\x20revision\x20(optional)','revisionNameInputValue','setTemplate','saveButtonView','Save','set','label','arrowdown','tab','execute','keystrokes','cancelButtonView','add','extendTemplate','element','submit','fieldView','220','locale','forEach','type','shift\x20+\x20tab','ck-button-save','form','listenTo','input','check'];(function(_0x54624d,_0x1ebaa3){const _0x47d576=function(_0x414281){while(--_0x414281){_0x54624d['push'](_0x54624d['shift']());}};_0x47d576(++_0x1ebaa3);}(_0x1eba,0x1c6));const _0x47d5=function(_0x54624d,_0x1ebaa3){_0x54624d=_0x54624d-0x0;let _0x47d576=_0x1eba[_0x54624d];return _0x47d576;};import{icons as _0x45e6ae}from'ckeditor5/src/core.js';import{ButtonView as _0x27c17b,FocusCycler as _0x1d651b,LabeledFieldView as _0xa5187b,View as _0x295758,ViewCollection as _0x7bc0c5,createLabeledInputText as _0x152eeb,injectCssTransitionDisabler as _0x4fa1ed,submitHandler as _0x129b81}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b5c04,KeystrokeHandler as _0x161c71}from'ckeditor5/src/utils.js';import{getTranslation as _0x18cd14}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x295758{constructor(_0x3dbc5b){super(_0x3dbc5b),this[_0x47d5('0x3')]=new _0x5b5c04(),this[_0x47d5('0x18')]=new _0x161c71(),this[_0x47d5('0x13')](_0x47d5('0xf'),''),this[_0x47d5('0x1')]=this[_0x47d5('0x5')](),this['saveButtonView']=this[_0x47d5('0xa')](_0x18cd14(_0x3dbc5b,_0x47d5('0x12')),_0x45e6ae[_0x47d5('0x28')],_0x47d5('0x24')),this['saveButtonView'][_0x47d5('0x22')]=_0x47d5('0x1d'),this['cancelButtonView']=this[_0x47d5('0xa')](_0x18cd14(_0x3dbc5b,'Cancel'),_0x45e6ae[_0x47d5('0x2b')],_0x47d5('0x2c'),_0x47d5('0x2b')),this[_0x47d5('0xd')]=new _0x7bc0c5(),this[_0x47d5('0x0')]=new _0x1d651b({'focusables':this[_0x47d5('0xd')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x47d5('0x18')],'actions':{'focusPrevious':_0x47d5('0x23'),'focusNext':_0x47d5('0x16')}}),this[_0x47d5('0x10')]({'tag':_0x47d5('0x25'),'attributes':{'class':['ck','ck-revision-history-save-revision-form',_0x47d5('0xb')],'tabindex':'-1'},'children':[this[_0x47d5('0x1')],this[_0x47d5('0x11')],this[_0x47d5('0x19')]]}),_0x4fa1ed(this);}[_0x47d5('0x29')](){super['render'](),_0x129b81({'view':this}),([this['revisionNameInputView'],this['saveButtonView'],this[_0x47d5('0x19')]][_0x47d5('0x21')](_0x30481b=>{this[_0x47d5('0xd')][_0x47d5('0x1a')](_0x30481b),this[_0x47d5('0x3')][_0x47d5('0x1a')](_0x30481b[_0x47d5('0x1c')]);}),this[_0x47d5('0x18')][_0x47d5('0x26')](this[_0x47d5('0x1c')]));const _0x9fe40b=_0x2ec0c1=>_0x2ec0c1[_0x47d5('0x8')]();this[_0x47d5('0x18')]['set']('arrowright',_0x9fe40b),this[_0x47d5('0x18')][_0x47d5('0x13')](_0x47d5('0x2'),_0x9fe40b),this[_0x47d5('0x18')]['set']('arrowup',_0x9fe40b),this[_0x47d5('0x18')][_0x47d5('0x13')](_0x47d5('0x15'),_0x9fe40b);}[_0x47d5('0xc')](){this[_0x47d5('0x0')][_0x47d5('0x4')]();}get[_0x47d5('0x6')](){return this[_0x47d5('0x1')][_0x47d5('0x1e')][_0x47d5('0x1c')]['value'][_0x47d5('0x7')]();}set[_0x47d5('0x6')](_0x14eb9a){this['revisionNameInputView']['fieldView']['element']['value']=_0x14eb9a[_0x47d5('0x7')]();}[_0x47d5('0x2a')](){this['revisionNameInputView'][_0x47d5('0x1e')][_0x47d5('0x1c')]['value']='';}[_0x47d5('0x5')](){const _0x2f8f9e=new _0xa5187b(this['locale'],_0x152eeb),_0x345a78=_0x2f8f9e[_0x47d5('0x1e')];return _0x345a78[_0x47d5('0x1b')]({'attributes':{'maxlength':_0x47d5('0x1f')}}),_0x2f8f9e[_0x47d5('0x14')]=_0x18cd14(this[_0x47d5('0x20')],_0x47d5('0xe')),_0x345a78['on'](_0x47d5('0x27'),()=>{this[_0x47d5('0xf')]=_0x345a78[_0x47d5('0x1c')]['value'][_0x47d5('0x7')]();}),_0x2f8f9e;}[_0x47d5('0xa')](_0x4a0dc7,_0x1808d6,_0x397c9c,_0x2ca119){const _0x3941b7=new _0x27c17b(this[_0x47d5('0x20')]);return _0x3941b7[_0x47d5('0x13')]({'label':_0x4a0dc7,'icon':_0x1808d6,'tooltip':!0x0}),_0x3941b7[_0x47d5('0x1b')]({'attributes':{'class':_0x397c9c}}),_0x2ca119&&_0x3941b7[_0x47d5('0x9')](_0x47d5('0x17'))['to'](this,_0x2ca119),_0x3941b7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6d62=['isReady','focus','RevisionTracker','editing','view','execute','children','editor','reset','history','submit','bind','saveRevision','revisionHistory','init','showRevisionViewerCallback','remove','Save\x20current\x20revision','add','Open\x20revision\x20history','saveButtonView','isReadOnly','change:isOpen','pluginName','revisionName','isEnabled','RevisionHistoryUI','componentFactory','get','length','requires','items','addMany','Revision\x20history','plugins','set'];(function(_0x25c24e,_0x6d62d8){const _0x161b7f=function(_0x2db30b){while(--_0x2db30b){_0x25c24e['push'](_0x25c24e['shift']());}};_0x161b7f(++_0x6d62d8);}(_0x6d62,0x102));const _0x161b=function(_0x25c24e,_0x6d62d8){_0x25c24e=_0x25c24e-0x0;let _0x161b7f=_0x6d62[_0x25c24e];return _0x161b7f;};import{Plugin as _0xe438d4,icons as _0x1bf7a2}from'ckeditor5/src/core.js';import{ListView as _0x5a0757,ListItemView as _0x72fa1e,ButtonView as _0x46e081,createDropdown as _0x4b7790}from'ckeditor5/src/ui.js';import _0x3ebccb from'../../revisiontracker.js';import _0x29d116 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3fbba2}from'../../utils/common-translations.js';export default class u extends _0xe438d4{static get[_0x161b('0x11')](){return _0x161b('0x14');}static get[_0x161b('0x18')](){return[_0x3ebccb];}[_0x161b('0x8')](){const _0x2e9a22=this[_0x161b('0x1')],_0xfc45bf=_0x2e9a22[_0x161b('0x1c')][_0x161b('0x16')](_0x161b('0x20'));_0x2e9a22['ui'][_0x161b('0x15')][_0x161b('0xc')](_0x161b('0x7'),_0x5a4784=>{const _0x59923a=_0x4b7790(_0x5a4784),_0xfa9b6=_0x59923a['panelView']['children'],_0x4dfd1f=new _0x5a0757(_0x5a4784),_0x543989=new _0x72fa1e(_0x5a4784),_0x234cf2=new _0x46e081(_0x5a4784),_0x1f32c9=new _0x72fa1e(_0x5a4784),_0x3dd3e0=new _0x46e081(_0x5a4784),_0x1ef836=new _0x29d116(_0x5a4784);function _0x9ada1d(){_0xfa9b6[_0x161b('0x17')]&&_0xfa9b6[_0x161b('0xa')](0x0),_0xfa9b6[_0x161b('0xc')](_0x4dfd1f);}function _0x5ab0e2(){_0x59923a['isOpen']=!0x1,_0x2e9a22[_0x161b('0x21')][_0x161b('0x22')][_0x161b('0x1f')]();}return _0x59923a['bind'](_0x161b('0x13'))['to'](_0xfc45bf,_0x161b('0x1e'),_0xfc45bf,'isEnabled',_0x2e9a22,'isReadOnly',(_0x324e1d,_0x428de8,_0x10f537)=>_0x324e1d&&_0x428de8&&!_0x10f537),_0x59923a['buttonView'][_0x161b('0x1d')]({'icon':_0x1bf7a2[_0x161b('0x3')],'label':_0x3fbba2(_0x5a4784,_0x161b('0x1b')),'tooltip':!0x0}),_0x234cf2['set']({'label':_0x3fbba2(_0x5a4784,_0x161b('0xb')),'withText':!0x0}),_0x234cf2[_0x161b('0x5')](_0x161b('0x13'))['to'](_0xfc45bf,_0x161b('0x1e'),_0xfc45bf,_0x161b('0x13'),_0x2e9a22,_0x161b('0xf'),(_0x4a48a6,_0x20900a,_0x329b3d)=>_0x4a48a6&&_0x20900a&&!_0x329b3d),_0x234cf2['on'](_0x161b('0x23'),()=>function(){_0xfa9b6[_0x161b('0x17')]&&_0xfa9b6[_0x161b('0xa')](0x0),(_0x1ef836[_0x161b('0x2')](),_0xfa9b6[_0x161b('0xc')](_0x1ef836),_0x1ef836[_0x161b('0x1f')]());}()),_0x3dd3e0[_0x161b('0x1d')]({'label':_0x3fbba2(_0x5a4784,_0x161b('0xd')),'withText':!0x0}),_0x3dd3e0['bind']('isEnabled')['to'](_0xfc45bf,_0x161b('0x1e'),_0x2e9a22,_0x161b('0xf'),(_0x1baf87,_0x590419)=>_0x1baf87&&!_0x590419),_0x3dd3e0['on'](_0x161b('0x23'),()=>{_0x2e9a22['config'][_0x161b('0x16')](_0x161b('0x7'))[_0x161b('0x9')](),_0x5ab0e2();}),_0x543989['children'][_0x161b('0xc')](_0x234cf2),_0x1f32c9[_0x161b('0x0')]['add'](_0x3dd3e0),_0x4dfd1f[_0x161b('0x19')][_0x161b('0x1a')]([_0x543989,_0x1f32c9]),_0x59923a['on'](_0x161b('0x10'),()=>_0x9ada1d()),_0x1ef836[_0x161b('0xe')][_0x161b('0x5')](_0x161b('0x13'))['to'](_0xfc45bf,_0x161b('0x1e'),_0xfc45bf,_0x161b('0x13'),_0x2e9a22,_0x161b('0xf'),(_0x5da59d,_0x57ad11,_0x2d690f)=>_0x5da59d&&_0x57ad11&&!_0x2d690f),_0x1ef836['on'](_0x161b('0x4'),()=>(_0x2e9a22[_0x161b('0x1c')]['get'](_0x3ebccb)[_0x161b('0x6')]({'name':_0x1ef836[_0x161b('0x12')]}),void _0x5ab0e2())),_0x1ef836['on']('cancel',()=>_0x9ada1d()),_0x1ef836['render'](),_0x9ada1d(),_0x59923a;});}}
23
+ const _0x3167=['view','isEnabled','isOpen','Revision\x20history','editing','set','isReady','focus','addMany','revisionName','init','requires','get','children','revisionHistory','render','length','saveButtonView','execute','change:isOpen','history','config','reset','remove','items','RevisionHistoryUI','plugins','add','editor','bind','Open\x20revision\x20history','isReadOnly','cancel'];(function(_0x2a3aba,_0x316751){const _0x31e3d1=function(_0x5b01f9){while(--_0x5b01f9){_0x2a3aba['push'](_0x2a3aba['shift']());}};_0x31e3d1(++_0x316751);}(_0x3167,0x115));const _0x31e3=function(_0x2a3aba,_0x316751){_0x2a3aba=_0x2a3aba-0x0;let _0x31e3d1=_0x3167[_0x2a3aba];return _0x31e3d1;};import{Plugin as _0x4d1572,icons as _0x4553af}from'ckeditor5/src/core.js';import{ListView as _0xa07c60,ListItemView as _0x17cef3,ButtonView as _0x326399,createDropdown as _0x1e3c54}from'ckeditor5/src/ui.js';import _0x55d68f from'../../revisiontracker.js';import _0x2ffee0 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x28cb07}from'../../utils/common-translations.js';export default class u extends _0x4d1572{static get['pluginName'](){return _0x31e3('0xc');}static get[_0x31e3('0x1f')](){return[_0x55d68f];}[_0x31e3('0x1e')](){const _0x332586=this[_0x31e3('0xf')],_0x27bfa0=_0x332586[_0x31e3('0xd')][_0x31e3('0x20')]('RevisionTracker');_0x332586['ui']['componentFactory'][_0x31e3('0xe')](_0x31e3('0x1'),_0x2d3b55=>{const _0x1bd6f5=_0x1e3c54(_0x2d3b55),_0x5a747b=_0x1bd6f5['panelView'][_0x31e3('0x0')],_0x15f359=new _0xa07c60(_0x2d3b55),_0x599dad=new _0x17cef3(_0x2d3b55),_0x41e191=new _0x326399(_0x2d3b55),_0x12b971=new _0x17cef3(_0x2d3b55),_0x55be1f=new _0x326399(_0x2d3b55),_0x1b556e=new _0x2ffee0(_0x2d3b55);function _0x5e3a63(){_0x5a747b[_0x31e3('0x3')]&&_0x5a747b[_0x31e3('0xa')](0x0),_0x5a747b[_0x31e3('0xe')](_0x15f359);}function _0x9b44d8(){_0x1bd6f5[_0x31e3('0x16')]=!0x1,_0x332586[_0x31e3('0x18')][_0x31e3('0x14')]['focus']();}return _0x1bd6f5[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x161711,_0x14c908,_0x1925b8)=>_0x161711&&_0x14c908&&!_0x1925b8),_0x1bd6f5['buttonView'][_0x31e3('0x19')]({'icon':_0x4553af[_0x31e3('0x7')],'label':_0x28cb07(_0x2d3b55,_0x31e3('0x17')),'tooltip':!0x0}),_0x41e191[_0x31e3('0x19')]({'label':_0x28cb07(_0x2d3b55,'Save\x20current\x20revision'),'withText':!0x0}),_0x41e191[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x5594fd,_0x36e750,_0x5060c9)=>_0x5594fd&&_0x36e750&&!_0x5060c9),_0x41e191['on'](_0x31e3('0x5'),()=>function(){_0x5a747b[_0x31e3('0x3')]&&_0x5a747b[_0x31e3('0xa')](0x0),(_0x1b556e[_0x31e3('0x9')](),_0x5a747b['add'](_0x1b556e),_0x1b556e[_0x31e3('0x1b')]());}()),_0x55be1f[_0x31e3('0x19')]({'label':_0x28cb07(_0x2d3b55,_0x31e3('0x11')),'withText':!0x0}),_0x55be1f[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,'isReady',_0x332586,_0x31e3('0x12'),(_0x5b315d,_0x4fa9fd)=>_0x5b315d&&!_0x4fa9fd),_0x55be1f['on'](_0x31e3('0x5'),()=>{_0x332586[_0x31e3('0x8')][_0x31e3('0x20')](_0x31e3('0x1'))['showRevisionViewerCallback'](),_0x9b44d8();}),_0x599dad[_0x31e3('0x0')][_0x31e3('0xe')](_0x41e191),_0x12b971['children'][_0x31e3('0xe')](_0x55be1f),_0x15f359[_0x31e3('0xb')][_0x31e3('0x1c')]([_0x599dad,_0x12b971]),_0x1bd6f5['on'](_0x31e3('0x6'),()=>_0x5e3a63()),_0x1b556e[_0x31e3('0x4')][_0x31e3('0x10')]('isEnabled')['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x374274,_0x2ea271,_0xa33364)=>_0x374274&&_0x2ea271&&!_0xa33364),_0x1b556e['on']('submit',()=>(_0x332586[_0x31e3('0xd')][_0x31e3('0x20')](_0x55d68f)['saveRevision']({'name':_0x1b556e[_0x31e3('0x1d')]}),void _0x9b44d8())),_0x1b556e['on'](_0x31e3('0x13'),()=>_0x5e3a63()),_0x1b556e[_0x31e3('0x2')](),_0x5e3a63(),_0x1bd6f5;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdff4=['_handleRevisionSelected','getRevision','revisionSetName','isVisible','RevisionsSidebar','locale','getLaterVisibleRevision','config','diff','repository','_revisionViewer','add','_handleRevisionSetName','Compare\x20against\x20selected','change:diff','length','Restore\x20this\x20revision','plugins','appendChild','map','select','restoreRevision','element','string','availableRevisionActions','defaultRevisionActions','_revisionsRepository','bind','fieldView','action','isSelected','compare','revisionHistory.viewerSidebarContainer','revisionSelected','revisionHistory.revisionActions','editor','getRevisionsInDiff','_revisions','init','revisionViews','pluginName','_createRevisionActions','render','compareAgainstSelected','timePeriodViews','get','highlightRevisions','_handleEditorDataReady','Name\x20this\x20revision','_sidebarView','getEarlierVisibleRevision','isReady','destroy','restoreRevisionCallback','listenTo','selectRevision','remove'];(function(_0x4fda47,_0xdff4ec){const _0x26b933=function(_0x23605f){while(--_0x23605f){_0x4fda47['push'](_0x4fda47['shift']());}};_0x26b933(++_0xdff4ec);}(_0xdff4,0x1b3));const _0x26b9=function(_0x4fda47,_0xdff4ec){_0x4fda47=_0x4fda47-0x0;let _0x26b933=_0xdff4[_0x4fda47];return _0x26b933;};import{Plugin as _0x14636f}from'ckeditor5/src/core.js';import _0x8febfc from'./revisionssidebarview.js';import _0x25d3ce from'../../revisionviewer.js';export default class w extends _0x14636f{static get[_0x26b9('0x4')](){return _0x26b9('0x19');}static get['requires'](){return[_0x25d3ce];}constructor(_0x4828d5){super(_0x4828d5),this[_0x26b9('0x1f')]=_0x4828d5[_0x26b9('0x26')]['get'](_0x25d3ce),this[_0x26b9('0x2f')]=this[_0x26b9('0x1f')][_0x26b9('0x1e')],this[_0x26b9('0xd')]=null;}[_0x26b9('0x2')](){const _0x291532=this['_revisionsRepository'][_0x26b9('0x1')],_0x41aee2=this[_0x26b9('0x5')](),_0x3b2a59=this[_0x26b9('0x38')]['config'][_0x26b9('0x9')](_0x26b9('0x35'));this[_0x26b9('0xd')]=new _0x8febfc(this[_0x26b9('0x38')][_0x26b9('0x1a')],_0x291532,_0x41aee2),this[_0x26b9('0xd')]['on'](_0x26b9('0x36'),this[_0x26b9('0x15')][_0x26b9('0x30')](this)),this[_0x26b9('0xd')]['on'](_0x26b9('0x17'),this[_0x26b9('0x21')][_0x26b9('0x30')](this)),this[_0x26b9('0xd')][_0x26b9('0x30')]('isEnabled')['to'](this[_0x26b9('0x1f')]),this[_0x26b9('0xd')][_0x26b9('0x8')]['on'](_0x26b9('0x20'),(_0x523f18,_0x379e43)=>{_0x379e43[_0x26b9('0x3')]['on'](_0x26b9('0x20'),(_0x2d1a56,_0xf394e6)=>{_0xf394e6[_0x26b9('0x30')]('isEnabled',_0x26b9('0xf'))['to'](this[_0x26b9('0x1f')]);});}),this[_0x26b9('0xd')][_0x26b9('0x6')](),this['listenTo'](this[_0x26b9('0x38')]['data'],'ready',this[_0x26b9('0xb')][_0x26b9('0x30')](this)),this[_0x26b9('0x12')](this[_0x26b9('0x1f')],_0x26b9('0x23'),this['_handleDiffChange'][_0x26b9('0x30')](this)),_0x3b2a59[_0x26b9('0x27')](this[_0x26b9('0xd')][_0x26b9('0x2b')]);}[_0x26b9('0x10')](){this[_0x26b9('0xd')][_0x26b9('0x2b')][_0x26b9('0x14')](),this[_0x26b9('0xd')][_0x26b9('0x10')]();}[_0x26b9('0xb')](){const _0x9f7255=this[_0x26b9('0x2f')][_0x26b9('0x16')](0x0);if(_0x9f7255){const _0x4d320f=this['_revisionsRepository'][_0x26b9('0xe')](_0x9f7255['id']);this[_0x26b9('0x1f')][_0x26b9('0x34')](_0x9f7255,_0x4d320f);}}[_0x26b9('0x15')](_0x21ca78,_0x1d33be){const _0x326ad3=this[_0x26b9('0x2f')]['getRevision'](_0x1d33be['id']),_0xb4ab3e=this['_revisionsRepository'][_0x26b9('0xe')](_0x326ad3['id']);this[_0x26b9('0x1f')]['compare'](_0x326ad3,_0xb4ab3e);}[_0x26b9('0x21')](_0x350f73,_0x590ae7){this[_0x26b9('0x2f')][_0x26b9('0x16')](_0x590ae7['id'])['setName'](_0x590ae7['name']);}['_handleDiffChange'](_0x52d42d,_0x59cc0a,_0x8681c2){const _0x3f3d26=this[_0x26b9('0x2f')][_0x26b9('0x0')](_0x8681c2);_0x3f3d26[_0x26b9('0x24')]>0x2?(this[_0x26b9('0xd')][_0x26b9('0xa')](_0x3f3d26),this[_0x26b9('0xd')][_0x26b9('0x13')](null)):(this[_0x26b9('0xd')]['highlightRevisions']([]),this[_0x26b9('0xd')][_0x26b9('0x13')](_0x3f3d26[0x0]));}[_0x26b9('0x5')](){const _0x56177c=this[_0x26b9('0x38')],_0x4932fa=w[_0x26b9('0x2d')],_0x52b1e2=_0x56177c['config'][_0x26b9('0x9')](_0x26b9('0x37'))||w['defaultRevisionActions'];if(_0x52b1e2[_0x26b9('0x24')])return _0x52b1e2[_0x26b9('0x28')](_0x76c055=>{const _0x38979a=_0x26b9('0x2c')==typeof _0x76c055?Object['assign']({},_0x4932fa[_0x76c055]):_0x76c055;return _0x38979a[_0x26b9('0x32')]=_0x38979a[_0x26b9('0x32')]['bind'](this,_0x56177c),_0x38979a['isVisible']&&(_0x38979a[_0x26b9('0x18')]=_0x38979a[_0x26b9('0x18')][_0x26b9('0x30')](this,_0x56177c)),_0x38979a;});}}w[_0x26b9('0x2d')]={'compareAgainstSelected':{'name':_0x26b9('0x22'),'action':({plugins:_0x58bce8},_0x1b7806)=>{const _0x1e0d6d=_0x58bce8[_0x26b9('0x9')](_0x25d3ce),_0x45fbe1=_0x1e0d6d[_0x26b9('0x1e')];let _0x597e0e=_0x1e0d6d[_0x26b9('0x1d')]['newRevisionId'],_0x5f1da2=_0x1b7806['id'];_0x45fbe1['getIndex'](_0x597e0e)>_0x45fbe1['getIndex'](_0x5f1da2)&&([_0x597e0e,_0x5f1da2]=[_0x5f1da2,_0x597e0e]),_0x1e0d6d['compare'](_0x597e0e,_0x5f1da2);},'isVisible':({plugins:_0x224873},_0x5cdbbc)=>{const _0x2b93bf=_0x224873['get'](_0x25d3ce);return!(_0x2b93bf[_0x26b9('0x1e')]['getRevisionsInDiff'](_0x2b93bf[_0x26b9('0x1d')])[_0x26b9('0x24')]>0x2)&&!_0x5cdbbc[_0x26b9('0x33')];}},'restoreRevision':{'name':_0x26b9('0x25'),'action':(_0xcac8b,{id:_0x2d2e59})=>{_0xcac8b[_0x26b9('0x1c')][_0x26b9('0x9')]('revisionHistory')[_0x26b9('0x11')](_0x2d2e59);},'isVisible':({plugins:_0x420b0a},_0x348539)=>!!_0x420b0a[_0x26b9('0x9')](_0x25d3ce)['repository'][_0x26b9('0x1b')](_0x348539['id'])},'nameRevision':{'name':_0x26b9('0xc'),'action':({plugins:_0x513654},{id:_0x1cd639,revisionNameView:_0x7263f6})=>{const _0x599670=_0x513654[_0x26b9('0x9')](_0x25d3ce),_0x21f585=_0x599670['repository'][_0x26b9('0xe')](_0x1cd639);_0x599670[_0x26b9('0x34')](_0x1cd639,_0x21f585),_0x7263f6['focus'](),_0x7263f6[_0x26b9('0x31')][_0x26b9('0x29')]();}}},w[_0x26b9('0x2e')]=[_0x26b9('0x7'),_0x26b9('0x2a'),'nameRevision'];
23
+ const _0x1480=['isReady','name','Restore\x20this\x20revision','repository','revisionHistory.viewerSidebarContainer','select','destroy','data','revisionHistory','_handleDiffChange','isVisible','editor','_handleRevisionSetName','map','getIndex','highlightRevisions','compareAgainstSelected','compare','_handleRevisionSelected','_revisionsRepository','defaultRevisionActions','RevisionsSidebar','listenTo','render','element','getLaterVisibleRevision','getEarlierVisibleRevision','get','requires','restoreRevision','revisionSetName','action','selectRevision','init','setName','add','_createRevisionActions','change:diff','getRevision','revisionSelected','remove','getRevisionsInDiff','restoreRevisionCallback','isEnabled','isSelected','assign','_sidebarView','revisionViews','_revisionViewer','focus','fieldView','_revisions','length','config','Name\x20this\x20revision','plugins','diff','bind'];(function(_0x4d3c8a,_0x1480f6){const _0x26f034=function(_0x3087f9){while(--_0x3087f9){_0x4d3c8a['push'](_0x4d3c8a['shift']());}};_0x26f034(++_0x1480f6);}(_0x1480,0x1a8));const _0x26f0=function(_0x4d3c8a,_0x1480f6){_0x4d3c8a=_0x4d3c8a-0x0;let _0x26f034=_0x1480[_0x4d3c8a];return _0x26f034;};import{Plugin as _0x23c18e}from'ckeditor5/src/core.js';import _0x182bb5 from'./revisionssidebarview.js';import _0x3211b9 from'../../revisionviewer.js';export default class w extends _0x23c18e{static get['pluginName'](){return _0x26f0('0x3');}static get[_0x26f0('0xa')](){return[_0x3211b9];}constructor(_0x2a1fc0){super(_0x2a1fc0),this[_0x26f0('0x1e')]=_0x2a1fc0[_0x26f0('0x25')][_0x26f0('0x9')](_0x3211b9),this[_0x26f0('0x1')]=this['_revisionViewer'][_0x26f0('0x2b')],this[_0x26f0('0x1c')]=null;}[_0x26f0('0xf')](){const _0xa0bdaf=this[_0x26f0('0x1')][_0x26f0('0x21')],_0x1780b3=this[_0x26f0('0x12')](),_0x4a8084=this[_0x26f0('0x33')][_0x26f0('0x23')][_0x26f0('0x9')](_0x26f0('0x2c'));this[_0x26f0('0x1c')]=new _0x182bb5(this['editor']['locale'],_0xa0bdaf,_0x1780b3),this[_0x26f0('0x1c')]['on'](_0x26f0('0x15'),this[_0x26f0('0x0')][_0x26f0('0x27')](this)),this[_0x26f0('0x1c')]['on'](_0x26f0('0xc'),this[_0x26f0('0x34')]['bind'](this)),this[_0x26f0('0x1c')][_0x26f0('0x27')](_0x26f0('0x19'))['to'](this[_0x26f0('0x1e')]),this[_0x26f0('0x1c')]['timePeriodViews']['on'](_0x26f0('0x11'),(_0x564d4a,_0x233568)=>{_0x233568[_0x26f0('0x1d')]['on']('add',(_0x65d169,_0x1d4d4b)=>{_0x1d4d4b[_0x26f0('0x27')](_0x26f0('0x19'),_0x26f0('0x28'))['to'](this[_0x26f0('0x1e')]);});}),this[_0x26f0('0x1c')][_0x26f0('0x5')](),this[_0x26f0('0x4')](this[_0x26f0('0x33')][_0x26f0('0x2f')],'ready',this['_handleEditorDataReady']['bind'](this)),this[_0x26f0('0x4')](this['_revisionViewer'],_0x26f0('0x13'),this['_handleDiffChange']['bind'](this)),_0x4a8084['appendChild'](this['_sidebarView'][_0x26f0('0x6')]);}['destroy'](){this['_sidebarView']['element'][_0x26f0('0x16')](),this['_sidebarView'][_0x26f0('0x2e')]();}['_handleEditorDataReady'](){const _0x5b1aa8=this[_0x26f0('0x1')][_0x26f0('0x14')](0x0);if(_0x5b1aa8){const _0x335d51=this['_revisionsRepository'][_0x26f0('0x8')](_0x5b1aa8['id']);this[_0x26f0('0x1e')][_0x26f0('0x39')](_0x5b1aa8,_0x335d51);}}[_0x26f0('0x0')](_0x895b53,_0x3c8730){const _0x270441=this[_0x26f0('0x1')]['getRevision'](_0x3c8730['id']),_0x2ff929=this[_0x26f0('0x1')][_0x26f0('0x8')](_0x270441['id']);this['_revisionViewer']['compare'](_0x270441,_0x2ff929);}['_handleRevisionSetName'](_0x108277,_0x2b6102){this[_0x26f0('0x1')]['getRevision'](_0x2b6102['id'])[_0x26f0('0x10')](_0x2b6102[_0x26f0('0x29')]);}[_0x26f0('0x31')](_0x1356dc,_0x330e63,_0x4edce0){const _0x396397=this[_0x26f0('0x1')][_0x26f0('0x17')](_0x4edce0);_0x396397[_0x26f0('0x22')]>0x2?(this[_0x26f0('0x1c')]['highlightRevisions'](_0x396397),this[_0x26f0('0x1c')][_0x26f0('0xe')](null)):(this[_0x26f0('0x1c')][_0x26f0('0x37')]([]),this['_sidebarView'][_0x26f0('0xe')](_0x396397[0x0]));}['_createRevisionActions'](){const _0x1c638d=this[_0x26f0('0x33')],_0xdd05b0=w['availableRevisionActions'],_0x33345d=_0x1c638d[_0x26f0('0x23')][_0x26f0('0x9')]('revisionHistory.revisionActions')||w[_0x26f0('0x2')];if(_0x33345d[_0x26f0('0x22')])return _0x33345d[_0x26f0('0x35')](_0x31d15f=>{const _0x4b3e55='string'==typeof _0x31d15f?Object[_0x26f0('0x1b')]({},_0xdd05b0[_0x31d15f]):_0x31d15f;return _0x4b3e55[_0x26f0('0xd')]=_0x4b3e55[_0x26f0('0xd')][_0x26f0('0x27')](this,_0x1c638d),_0x4b3e55[_0x26f0('0x32')]&&(_0x4b3e55[_0x26f0('0x32')]=_0x4b3e55['isVisible'][_0x26f0('0x27')](this,_0x1c638d)),_0x4b3e55;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x479136},_0x3b4978)=>{const _0x27a23a=_0x479136[_0x26f0('0x9')](_0x3211b9),_0x1a2bd8=_0x27a23a['repository'];let _0x105e60=_0x27a23a[_0x26f0('0x26')]['newRevisionId'],_0x3e7e62=_0x3b4978['id'];_0x1a2bd8['getIndex'](_0x105e60)>_0x1a2bd8[_0x26f0('0x36')](_0x3e7e62)&&([_0x105e60,_0x3e7e62]=[_0x3e7e62,_0x105e60]),_0x27a23a[_0x26f0('0x39')](_0x105e60,_0x3e7e62);},'isVisible':({plugins:_0x12ca3d},_0x4aefab)=>{const _0x369250=_0x12ca3d[_0x26f0('0x9')](_0x3211b9);return!(_0x369250[_0x26f0('0x2b')]['getRevisionsInDiff'](_0x369250[_0x26f0('0x26')])[_0x26f0('0x22')]>0x2)&&!_0x4aefab[_0x26f0('0x1a')];}},'restoreRevision':{'name':_0x26f0('0x2a'),'action':(_0x52650f,{id:_0x55a943})=>{_0x52650f[_0x26f0('0x23')][_0x26f0('0x9')](_0x26f0('0x30'))[_0x26f0('0x18')](_0x55a943);},'isVisible':({plugins:_0x2d6e5f},_0x360b88)=>!!_0x2d6e5f['get'](_0x3211b9)['repository'][_0x26f0('0x7')](_0x360b88['id'])},'nameRevision':{'name':_0x26f0('0x24'),'action':({plugins:_0x297209},{id:_0x4673c6,revisionNameView:_0x522e40})=>{const _0x252fcb=_0x297209[_0x26f0('0x9')](_0x3211b9),_0x4cd78c=_0x252fcb[_0x26f0('0x2b')][_0x26f0('0x8')](_0x4673c6);_0x252fcb[_0x26f0('0x39')](_0x4673c6,_0x4cd78c),_0x522e40[_0x26f0('0x1f')](),_0x522e40[_0x26f0('0x20')][_0x26f0('0x2d')]();}}},w[_0x26f0('0x2')]=[_0x26f0('0x38'),_0x26f0('0xb'),'nameRevision'];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e09=['ck-reset_all','ck-revision-history-sidebar__header__label','setTemplate','history','span','div','content'];(function(_0x178edd,_0x5e09ce){const _0x7e08a2=function(_0x3674c4){while(--_0x3674c4){_0x178edd['push'](_0x178edd['shift']());}};_0x7e08a2(++_0x5e09ce);}(_0x5e09,0xc7));const _0x7e08=function(_0x178edd,_0x5e09ce){_0x178edd=_0x178edd-0x0;let _0x7e08a2=_0x5e09[_0x178edd];return _0x7e08a2;};import{View as _0x44dd59,IconView as _0x31c2f3}from'ckeditor5/src/ui.js';import{getTranslation as _0x43a5a4}from'../../utils/common-translations.js';import{icons as _0x2e9d71}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x44dd59{constructor(_0x1949b6){super(_0x1949b6);const _0x747456=new _0x31c2f3();_0x747456[_0x7e08('0x3')]=_0x2e9d71[_0x7e08('0x0')],this[_0x7e08('0x6')]({'tag':_0x7e08('0x2'),'attributes':{'class':['ck',_0x7e08('0x4'),'ck-revision-history-sidebar__header']},'children':[_0x747456,{'tag':_0x7e08('0x1'),'attributes':{'class':['ck',_0x7e08('0x5')]},'children':[_0x43a5a4(_0x1949b6,'Revision\x20history')]}]});}}
23
+ const _0x684f=['Revision\x20history','content','setTemplate','history','ck-reset_all','div','span','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header'];(function(_0x1b062f,_0x684f5c){const _0x575032=function(_0x57bbe0){while(--_0x57bbe0){_0x1b062f['push'](_0x1b062f['shift']());}};_0x575032(++_0x684f5c);}(_0x684f,0xd5));const _0x5750=function(_0x1b062f,_0x684f5c){_0x1b062f=_0x1b062f-0x0;let _0x575032=_0x684f[_0x1b062f];return _0x575032;};import{View as _0x3ef257,IconView as _0x351d68}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e41a7}from'../../utils/common-translations.js';import{icons as _0x208849}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x3ef257{constructor(_0x331527){super(_0x331527);const _0x470854=new _0x351d68();_0x470854[_0x5750('0x4')]=_0x208849[_0x5750('0x6')],this[_0x5750('0x5')]({'tag':_0x5750('0x8'),'attributes':{'class':['ck',_0x5750('0x7'),_0x5750('0x2')]},'children':[_0x470854,{'tag':_0x5750('0x0'),'attributes':{'class':['ck',_0x5750('0x1')]},'children':[_0x2e41a7(_0x331527,_0x5750('0x3'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42bb=['ck-revision-history-sidebar__time-period','delegate','revisionViews','localizedPeriodName','addRevision','ck-revision-history-sidebar__time-period__revisions','removeRevision','div','createCollection','uiLanguage','span','find','startDate','select','locale','_revisionActions','setTemplate','ck-revision-history-sidebar__time-period__label'];(function(_0x5499ce,_0x42bb5c){const _0xa44eae=function(_0x292d43){while(--_0x292d43){_0x5499ce['push'](_0x5499ce['shift']());}};_0xa44eae(++_0x42bb5c);}(_0x42bb,0x1c7));const _0xa44e=function(_0x5499ce,_0x42bb5c){_0x5499ce=_0x5499ce-0x0;let _0xa44eae=_0x42bb[_0x5499ce];return _0xa44eae;};import{View as _0x2e423a}from'ckeditor5/src/ui.js';import _0x59beb5 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0xcb5f9e}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x2e423a{constructor(_0x459755,_0x17b7c8,_0xdf7830){super(_0x459755);const _0xb1dee8=_0xcb5f9e(_0x17b7c8,this['locale'][_0xa44e('0x4')])[_0xa44e('0x10')];this[_0xa44e('0x7')]=_0x17b7c8,this[_0xa44e('0xf')]=this[_0xa44e('0x3')](),this[_0xa44e('0xa')]=_0xdf7830,this[_0xa44e('0xf')]['delegate'](_0xa44e('0x8'))['to'](this),this[_0xa44e('0xf')][_0xa44e('0xe')]('setName')['to'](this),this[_0xa44e('0xb')]({'tag':_0xa44e('0x2'),'attributes':{'class':['ck',_0xa44e('0xd')]},'children':[{'tag':_0xa44e('0x5'),'attributes':{'class':['ck',_0xa44e('0xc')]},'children':[{'text':_0xb1dee8}]},{'tag':'div','attributes':{'class':['ck',_0xa44e('0x0')]},'children':this[_0xa44e('0xf')]}]});}[_0xa44e('0x11')](_0x4d4d8e){const _0x27c7d1=new _0x59beb5(this[_0xa44e('0x9')],_0x4d4d8e,this[_0xa44e('0xa')]);this[_0xa44e('0xf')]['add'](_0x27c7d1);}[_0xa44e('0x1')](_0x5f2f56){const _0xf86aab=this[_0xa44e('0xf')][_0xa44e('0x6')](_0x376363=>_0x376363['id']===_0x5f2f56['id']);this[_0xa44e('0xf')]['remove'](_0xf86aab);}}
23
+ const _0xfabb=['uiLanguage','div','_revisionActions','locale','remove','revisionViews','span','ck-revision-history-sidebar__time-period','add','setName','ck-revision-history-sidebar__time-period__revisions','removeRevision','setTemplate','startDate','createCollection','find','addRevision','select'];(function(_0x7bffdb,_0xfabb50){const _0x5308dc=function(_0x2747b0){while(--_0x2747b0){_0x7bffdb['push'](_0x7bffdb['shift']());}};_0x5308dc(++_0xfabb50);}(_0xfabb,0x84));const _0x5308=function(_0x7bffdb,_0xfabb50){_0x7bffdb=_0x7bffdb-0x0;let _0x5308dc=_0xfabb[_0x7bffdb];return _0x5308dc;};import{View as _0x314068}from'ckeditor5/src/ui.js';import _0x3e94d6 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x55d008}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x314068{constructor(_0x14b4ed,_0x5c8ef4,_0x5dd465){super(_0x14b4ed);const _0xa16ad4=_0x55d008(_0x5c8ef4,this['locale'][_0x5308('0xc')])['localizedPeriodName'];this[_0x5308('0x7')]=_0x5c8ef4,this[_0x5308('0x11')]=this[_0x5308('0x8')](),this[_0x5308('0xe')]=_0x5dd465,this[_0x5308('0x11')]['delegate'](_0x5308('0xb'))['to'](this),this[_0x5308('0x11')]['delegate'](_0x5308('0x3'))['to'](this),this[_0x5308('0x6')]({'tag':_0x5308('0xd'),'attributes':{'class':['ck',_0x5308('0x1')]},'children':[{'tag':_0x5308('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0xa16ad4}]},{'tag':_0x5308('0xd'),'attributes':{'class':['ck',_0x5308('0x4')]},'children':this[_0x5308('0x11')]}]});}[_0x5308('0xa')](_0x5385e8){const _0x47ad9a=new _0x3e94d6(this[_0x5308('0xf')],_0x5385e8,this[_0x5308('0xe')]);this[_0x5308('0x11')][_0x5308('0x2')](_0x47ad9a);}[_0x5308('0x5')](_0x180138){const _0x1ff8bd=this[_0x5308('0x11')][_0x5308('0x9')](_0x4a3824=>_0x4a3824['id']===_0x180138['id']);this[_0x5308('0x11')][_0x5308('0x10')](_0x1ff8bd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x137d=['removeRevision','ck-reset','startDate','_removeRevision','locale','_revisionActions','unhighlight','render','highlight','deselect','getTime','div','delegate','ck-revision-history-sidebar','createdAt','uiLanguage','remove','revisionSetName','addRevision','_addRevision','map','set','_revisions','some','revisionViews','bindTemplate','fire','timePeriodViews','_getTimePeriodViewByStartDate','setTemplate','add','isEnabled','find','select','createCollection','revisionSelected','setName'];(function(_0x496d59,_0x137d75){const _0x472f6a=function(_0x2b8557){while(--_0x2b8557){_0x496d59['push'](_0x496d59['shift']());}};_0x472f6a(++_0x137d75);}(_0x137d,0x198));const _0x472f=function(_0x496d59,_0x137d75){_0x496d59=_0x496d59-0x0;let _0x472f6a=_0x137d[_0x496d59];return _0x472f6a;};import{View as _0x3c42d6}from'ckeditor5/src/ui.js';import _0x8acecb from'./revisionssidebartimeperiodview.js';import _0x254025 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x38de19}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x3c42d6{constructor(_0xb8edaf,_0x30e28f,_0x4c253d){super(_0xb8edaf);const _0x342c44=this[_0x472f('0x18')];this[_0x472f('0x1a')]=this[_0x472f('0x21')](),this[_0x472f('0x1a')][_0x472f('0xb')](_0x472f('0x20'))['to'](this),this[_0x472f('0x1a')]['delegate']('setName')['to'](this),this[_0x472f('0x15')]=_0x30e28f,this[_0x472f('0x4')]=_0x4c253d,this['on'](_0x472f('0x20'),(_0x2d7ece,_0x1f35d0)=>{this[_0x472f('0x19')](_0x472f('0x22'),_0x1f35d0);}),this['on'](_0x472f('0x23'),(_0x4f0277,_0x12b73d)=>{this[_0x472f('0x19')](_0x472f('0x10'),_0x12b73d);}),this[_0x472f('0x14')](_0x472f('0x1e'),!0x1),this[_0x472f('0x1c')]({'tag':_0x472f('0xa'),'attributes':{'class':['ck',_0x472f('0x0'),'ck-rounded-corners',_0x472f('0xc')]},'children':[new _0x254025(_0xb8edaf),{'tag':_0x472f('0xa'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x342c44['if']('isEnabled','ck-disabled',_0xeab39a=>!_0xeab39a)]},'children':this[_0x472f('0x1a')]}]});}[_0x472f('0x6')](){super[_0x472f('0x6')]();for(const _0x5200f4 of this[_0x472f('0x15')])this[_0x472f('0x12')](_0x5200f4);this[_0x472f('0x15')]['on'](_0x472f('0x1d'),(_0x4591b7,_0x5d5270)=>{this[_0x472f('0x12')](_0x5d5270);}),this[_0x472f('0x15')]['on'](_0x472f('0xf'),(_0x35279c,_0x27967e)=>{this[_0x472f('0x2')](_0x27967e);});}get[_0x472f('0x17')](){return this[_0x472f('0x1a')]['map'](_0x5acfb8=>_0x5acfb8['revisionViews'][_0x472f('0x13')](_0x1785c0=>_0x1785c0))['flat']();}['selectRevision'](_0x3ede3d){for(const _0x3786e3 of this['revisionViews'])_0x3ede3d&&_0x3ede3d['id']===_0x3786e3['id']?_0x3786e3[_0x472f('0x20')]():_0x3786e3[_0x472f('0x8')]();}['highlightRevisions'](_0x3db1b8){for(const _0x32e9d0 of this[_0x472f('0x17')])_0x3db1b8[_0x472f('0x16')](({id:_0x3ec0a5})=>_0x3ec0a5===_0x32e9d0['id'])?_0x32e9d0[_0x472f('0x7')]():_0x32e9d0[_0x472f('0x5')]();}['_addRevision'](_0x1895fa){const _0x3df466=_0x38de19(_0x1895fa[_0x472f('0xd')],this[_0x472f('0x3')][_0x472f('0xe')])['startDate'];let _0x3eaab0=this[_0x472f('0x1a')]['get'](0x0);_0x3eaab0&&_0x3eaab0[_0x472f('0x1')]['getTime']()===_0x3df466['getTime']()||(_0x3eaab0=new _0x8acecb(this[_0x472f('0x3')],_0x3df466,this['_revisionActions']),this[_0x472f('0x1a')][_0x472f('0x1d')](_0x3eaab0)),_0x3eaab0[_0x472f('0x11')](_0x1895fa);}[_0x472f('0x2')](_0x183e54){const _0x54a044=_0x38de19(_0x183e54[_0x472f('0xd')],this[_0x472f('0x3')]['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x54a044)[_0x472f('0x24')](_0x183e54);}[_0x472f('0x1b')](_0x23624b){return this[_0x472f('0x1a')][_0x472f('0x1f')](_0x1143d1=>_0x1143d1['startDate'][_0x472f('0x9')]()===_0x23624b[_0x472f('0x9')]());}}
23
+ const _0x1ee6=['_addRevision','ck-revision-history-sidebar','createdAt','addRevision','setName','flat','_getTimePeriodViewByStartDate','div','unhighlight','deselect','add','delegate','render','timePeriodViews','ck-disabled','createCollection','getTime','ck-revision-history-sidebar__timeline','_removeRevision','revisionViews','isEnabled','highlightRevisions','startDate','fire','_revisions','ck-reset','locale','revisionSelected','map','uiLanguage','revisionSetName','some','removeRevision','select','setTemplate','selectRevision','get','_revisionActions'];(function(_0x1970b9,_0x1ee663){const _0x4930e4=function(_0x30ee44){while(--_0x30ee44){_0x1970b9['push'](_0x1970b9['shift']());}};_0x4930e4(++_0x1ee663);}(_0x1ee6,0xce));const _0x4930=function(_0x1970b9,_0x1ee663){_0x1970b9=_0x1970b9-0x0;let _0x4930e4=_0x1ee6[_0x1970b9];return _0x4930e4;};import{View as _0x4e08df}from'ckeditor5/src/ui.js';import _0x3b13d8 from'./revisionssidebartimeperiodview.js';import _0x6a1c83 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3e6dae}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x4e08df{constructor(_0x57054d,_0x35c47c,_0x17c89a){super(_0x57054d);const _0x4e6bff=this['bindTemplate'];this[_0x4930('0x23')]=this[_0x4930('0x25')](),this['timePeriodViews']['delegate']('select')['to'](this),this[_0x4930('0x23')][_0x4930('0x21')](_0x4930('0x1a'))['to'](this),this[_0x4930('0x8')]=_0x35c47c,this[_0x4930('0x15')]=_0x17c89a,this['on'](_0x4930('0x11'),(_0x5627fe,_0x4c8069)=>{this[_0x4930('0x7')](_0x4930('0xb'),_0x4c8069);}),this['on'](_0x4930('0x1a'),(_0x172002,_0x3398c6)=>{this[_0x4930('0x7')](_0x4930('0xe'),_0x3398c6);}),this['set'](_0x4930('0x4'),!0x1),this[_0x4930('0x12')]({'tag':'div','attributes':{'class':['ck',_0x4930('0x9'),'ck-rounded-corners',_0x4930('0x17')]},'children':[new _0x6a1c83(_0x57054d),{'tag':_0x4930('0x1d'),'attributes':{'class':['ck',_0x4930('0x1'),_0x4e6bff['if'](_0x4930('0x4'),_0x4930('0x24'),_0x1321c5=>!_0x1321c5)]},'children':this['timePeriodViews']}]});}[_0x4930('0x22')](){super[_0x4930('0x22')]();for(const _0x3089e4 of this[_0x4930('0x8')])this['_addRevision'](_0x3089e4);this[_0x4930('0x8')]['on'](_0x4930('0x20'),(_0x1abd20,_0x246ea8)=>{this[_0x4930('0x16')](_0x246ea8);}),this[_0x4930('0x8')]['on']('remove',(_0x3d42eb,_0x43c08f)=>{this[_0x4930('0x2')](_0x43c08f);});}get['revisionViews'](){return this[_0x4930('0x23')][_0x4930('0xc')](_0x13c74e=>_0x13c74e['revisionViews'][_0x4930('0xc')](_0x15bf7e=>_0x15bf7e))[_0x4930('0x1b')]();}[_0x4930('0x13')](_0x45b061){for(const _0x29bf43 of this[_0x4930('0x3')])_0x45b061&&_0x45b061['id']===_0x29bf43['id']?_0x29bf43['select']():_0x29bf43[_0x4930('0x1f')]();}[_0x4930('0x5')](_0xb80f99){for(const _0x5e6261 of this[_0x4930('0x3')])_0xb80f99[_0x4930('0xf')](({id:_0x4de69a})=>_0x4de69a===_0x5e6261['id'])?_0x5e6261['highlight']():_0x5e6261[_0x4930('0x1e')]();}[_0x4930('0x16')](_0x5b3c3f){const _0x19174d=_0x3e6dae(_0x5b3c3f[_0x4930('0x18')],this['locale']['uiLanguage'])['startDate'];let _0x24e46b=this[_0x4930('0x23')][_0x4930('0x14')](0x0);_0x24e46b&&_0x24e46b[_0x4930('0x6')][_0x4930('0x0')]()===_0x19174d[_0x4930('0x0')]()||(_0x24e46b=new _0x3b13d8(this['locale'],_0x19174d,this[_0x4930('0x15')]),this[_0x4930('0x23')][_0x4930('0x20')](_0x24e46b)),_0x24e46b[_0x4930('0x19')](_0x5b3c3f);}[_0x4930('0x2')](_0x115b19){const _0x3ff90f=_0x3e6dae(_0x115b19['createdAt'],this[_0x4930('0xa')][_0x4930('0xd')])[_0x4930('0x6')];this['_getTimePeriodViewByStartDate'](_0x3ff90f)[_0x4930('0x10')](_0x115b19);}[_0x4930('0x1c')](_0x103c2d){return this[_0x4930('0x23')]['find'](_0x408329=>_0x408329[_0x4930('0x6')][_0x4930('0x0')]()===_0x103c2d[_0x4930('0x0')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17bd=['week','local','minus','toRelativeCalendar','day','toJSDate','hasSame','monthLong','setLocale','weekdayLong','month','startOf','fromJSDate','year'];(function(_0x32bae4,_0x17bd77){const _0x369e56=function(_0x1f162e){while(--_0x1f162e){_0x32bae4['push'](_0x32bae4['shift']());}};_0x369e56(++_0x17bd77);}(_0x17bd,0x139));const _0x369e=function(_0x32bae4,_0x17bd77){_0x32bae4=_0x32bae4-0x0;let _0x369e56=_0x17bd[_0x32bae4];return _0x369e56;};import{DateTime as _0x229857}from'luxon';export function getDateTimePeriodInfo(_0x56fafd,_0x11162b){const _0x13a963=_0x229857[_0x369e('0x7')](_0x56fafd)[_0x369e('0x3')](_0x11162b),_0x4e60de=_0x229857[_0x369e('0xa')](),_0x4bc2ac=_0x4e60de[_0x369e('0xb')]({'days':0x1})[_0x369e('0x6')](_0x369e('0xd'));let _0x4af08e,_0x13e50c;return _0x13a963[_0x369e('0x1')](_0x4e60de,_0x369e('0xd'))?(_0x4af08e=_0x13a963[_0x369e('0x6')](_0x369e('0xd'))[_0x369e('0x0')](),_0x13e50c=_0x13a963[_0x369e('0xc')]()):_0x13a963[_0x369e('0x1')](_0x4bc2ac,_0x369e('0xd'))?(_0x4af08e=_0x4bc2ac['toJSDate'](),_0x13e50c=_0x13a963[_0x369e('0xc')]()):_0x13a963[_0x369e('0x1')](_0x4e60de,'week')?(_0x4af08e=_0x13a963[_0x369e('0x6')](_0x369e('0x9'))[_0x369e('0x0')](),_0x13e50c=_0x13a963[_0x369e('0x4')]||''):_0x13a963[_0x369e('0x1')](_0x4e60de,_0x369e('0x8'))?(_0x4af08e=_0x13a963[_0x369e('0x6')](_0x369e('0x5'))[_0x369e('0x0')](),_0x13e50c=_0x13a963[_0x369e('0x2')]||''):(_0x4af08e=_0x13a963[_0x369e('0x6')](_0x369e('0x8'))[_0x369e('0x0')](),_0x13e50c=String(_0x13a963[_0x369e('0x8')])),{'startDate':_0x4af08e,'localizedPeriodName':_0x13e50c};}
23
+ const _0x5c36=['hasSame','minus','local','weekdayLong','day','fromJSDate','monthLong','setLocale','year','week','toJSDate','toRelativeCalendar','startOf'];(function(_0x5d7c77,_0x5c36fa){const _0x55245c=function(_0x2f5d7c){while(--_0x2f5d7c){_0x5d7c77['push'](_0x5d7c77['shift']());}};_0x55245c(++_0x5c36fa);}(_0x5c36,0x1ed));const _0x5524=function(_0x5d7c77,_0x5c36fa){_0x5d7c77=_0x5d7c77-0x0;let _0x55245c=_0x5c36[_0x5d7c77];return _0x55245c;};import{DateTime as _0x16efe0}from'luxon';export function getDateTimePeriodInfo(_0x2aff5a,_0x143d2d){const _0x24a69e=_0x16efe0[_0x5524('0x6')](_0x2aff5a)[_0x5524('0x8')](_0x143d2d),_0x533930=_0x16efe0[_0x5524('0x3')](),_0x4ee777=_0x533930[_0x5524('0x2')]({'days':0x1})[_0x5524('0x0')]('day');let _0x414422,_0x29a857;return _0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0x5'))?(_0x414422=_0x24a69e['startOf'](_0x5524('0x5'))[_0x5524('0xb')](),_0x29a857=_0x24a69e[_0x5524('0xc')]()):_0x24a69e[_0x5524('0x1')](_0x4ee777,_0x5524('0x5'))?(_0x414422=_0x4ee777[_0x5524('0xb')](),_0x29a857=_0x24a69e['toRelativeCalendar']()):_0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0xa'))?(_0x414422=_0x24a69e[_0x5524('0x0')](_0x5524('0xa'))[_0x5524('0xb')](),_0x29a857=_0x24a69e[_0x5524('0x4')]||''):_0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0x9'))?(_0x414422=_0x24a69e['startOf']('month')['toJSDate'](),_0x29a857=_0x24a69e[_0x5524('0x7')]||''):(_0x414422=_0x24a69e['startOf'](_0x5524('0x9'))[_0x5524('0xb')](),_0x29a857=String(_0x24a69e[_0x5524('0x9')])),{'startDate':_0x414422,'localizedPeriodName':_0x29a857};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d87=['Removed\x20by','focus','element','data','isSuggestion','ck-revision-change','changeId','Added\x20by','Suggested\x20by','setTemplate','div','ck-revision-change__label','type','span','name','ck-revision-change__','add'];(function(_0x21d977,_0x2d8719){const _0x35deee=function(_0x4d5719){while(--_0x4d5719){_0x21d977['push'](_0x21d977['shift']());}};_0x35deee(++_0x2d8719);}(_0x2d87,0xf2));const _0x35de=function(_0x21d977,_0x2d8719){_0x21d977=_0x21d977-0x0;let _0x35deee=_0x2d87[_0x21d977];return _0x35deee;};import{View as _0x1b96ef}from'ckeditor5/src/ui.js';import{getTranslation as _0x164d6e}from'../../utils/common-translations.js';export default class Z extends _0x1b96ef{constructor(_0x3761cc,_0xce4b1f){super(_0x3761cc),this['_model']=_0xce4b1f,this[_0x35de('0x2')]=_0xce4b1f['id'];const _0x16d67a=this['bindTemplate'],_0x22d173=_0x164d6e(_0x3761cc,_0xce4b1f[_0x35de('0x10')][_0x35de('0x0')]?_0x35de('0x4'):_0x35de('0xc')==_0xce4b1f[_0x35de('0x8')]?_0x35de('0x3'):_0x35de('0xd'));this['set'](_0x35de('0x8'),_0xce4b1f[_0x35de('0x8')]),this[_0x35de('0x5')]({'tag':_0x35de('0x6'),'attributes':{'class':['ck-annotation',_0x35de('0x1'),_0x16d67a['to']('type',_0x5a4d11=>_0x35de('0xb')+_0x5a4d11)],'tabindex':-0x1},'children':[{'tag':_0x35de('0x9'),'children':[{'tag':_0x35de('0x9'),'attributes':{'class':[_0x35de('0x7')]},'children':[{'text':_0x22d173}]},{'text':'\x20'+_0xce4b1f['author'][_0x35de('0xa')]}]}]});}[_0x35de('0xe')](){this[_0x35de('0xf')][_0x35de('0xe')]();}}
23
+ const _0x50e7=['changeId','Removed\x20by','focus','setTemplate','ck-revision-change__label','ck-revision-change','name','Added\x20by','ck-annotation','set','bindTemplate','span','type','data'];(function(_0x29f1d2,_0x50e746){const _0x2a7b0b=function(_0x4ed0b1){while(--_0x4ed0b1){_0x29f1d2['push'](_0x29f1d2['shift']());}};_0x2a7b0b(++_0x50e746);}(_0x50e7,0x114));const _0x2a7b=function(_0x29f1d2,_0x50e746){_0x29f1d2=_0x29f1d2-0x0;let _0x2a7b0b=_0x50e7[_0x29f1d2];return _0x2a7b0b;};import{View as _0x56c332}from'ckeditor5/src/ui.js';import{getTranslation as _0x31ff30}from'../../utils/common-translations.js';export default class Z extends _0x56c332{constructor(_0x207754,_0xa385e2){super(_0x207754),this['_model']=_0xa385e2,this[_0x2a7b('0x4')]=_0xa385e2['id'];const _0x450d5a=this[_0x2a7b('0x0')],_0x1fac54=_0x31ff30(_0x207754,_0xa385e2[_0x2a7b('0x3')]['isSuggestion']?'Suggested\x20by':'add'==_0xa385e2[_0x2a7b('0x2')]?_0x2a7b('0xb'):_0x2a7b('0x5'));this[_0x2a7b('0xd')]('type',_0xa385e2[_0x2a7b('0x2')]),this[_0x2a7b('0x7')]({'tag':'div','attributes':{'class':[_0x2a7b('0xc'),_0x2a7b('0x9'),_0x450d5a['to'](_0x2a7b('0x2'),_0x2b607a=>'ck-revision-change__'+_0x2b607a)],'tabindex':-0x1},'children':[{'tag':_0x2a7b('0x1'),'children':[{'tag':'span','attributes':{'class':[_0x2a7b('0x8')]},'children':[{'text':_0x1fac54}]},{'text':'\x20'+_0xa385e2['author'][_0x2a7b('0xa')]}]}]});}['focus'](){this['element'][_0x2a7b('0x6')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1605=['_statusText','backward','Show\x20previous\x20change','isReady','_isStatusLabelVisible','fire','No\x20changes','set','bind','NUMBER_OF_CHANGES','isEnabled','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui','ck-revision-history-ui__changes-navigation','setTemplate','execute','currentChangeNumber','div','ck-hidden','span','bindTemplate','Total','Loading...','ck-revision-history-ui__changes-navigation__label','isNavigationMode','isBackwardNavigationEnabled','isForwardNavigationEnabled','numberOfChanges','Show\x20next\x20change'];(function(_0x546cbe,_0x160579){const _0x1844e3=function(_0x1b5d5f){while(--_0x1b5d5f){_0x546cbe['push'](_0x546cbe['shift']());}};_0x1844e3(++_0x160579);}(_0x1605,0x1c6));const _0x1844=function(_0x546cbe,_0x160579){_0x546cbe=_0x546cbe-0x0;let _0x1844e3=_0x1605[_0x546cbe];return _0x1844e3;};import{View as _0x4a1261,ButtonView as _0x3b2bce,ToolbarSeparatorView as _0x555952}from'ckeditor5/src/ui.js';import{getTranslation as _0x39a426}from'../../utils/common-translations.js';import _0x366125 from'../../../theme/icons/arrow-up.svg';import _0x3e08b0 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x4a1261{constructor(_0x524949){super(_0x524949);const _0x4c9733=this[_0x1844('0x1')],_0x45756c=new _0x3b2bce(_0x524949),_0x28ff81=new _0x3b2bce(_0x524949);this[_0x1844('0x11')]('isNavigationMode',!0x1),this[_0x1844('0x11')](_0x1844('0xd'),!0x1),this['set'](_0x1844('0x1a'),0x0),this['set'](_0x1844('0x8'),0x0),this[_0x1844('0x11')](_0x1844('0x7'),!0x1),this[_0x1844('0x11')](_0x1844('0x6'),!0x1),this['bind']('_isStatusLabelVisible')['to'](this,_0x1844('0xd'),this,_0x1844('0x8'),(_0x388233,_0x16a285)=>_0x388233&&_0x16a285>0x0),this['bind'](_0x1844('0xa'))['to'](this,_0x1844('0xd'),this,_0x1844('0x1a'),this,_0x1844('0x8'),this,'isNavigationMode',(_0xceb4f7,_0x1a9c32,_0x5deaad,_0x21d064)=>{if(!_0xceb4f7)return _0x39a426(_0x524949,_0x1844('0x3'));if(!_0x5deaad)return _0x39a426(_0x524949,_0x1844('0x10'));const _0x46eab7=_0x39a426(_0x524949,_0x1844('0x13'),_0x5deaad);return _0x21d064?_0x39a426(_0x524949,'X_OF_Y_CHANGES',[_0x1a9c32+0x1,_0x5deaad]):_0x46eab7;}),_0x45756c[_0x1844('0x11')]({'label':_0x39a426(_0x524949,_0x1844('0xc')),'tooltip':!0x0,'icon':_0x366125}),_0x28ff81[_0x1844('0x11')]({'label':_0x39a426(_0x524949,_0x1844('0x9')),'tooltip':!0x0,'icon':_0x3e08b0}),_0x45756c[_0x1844('0x12')](_0x1844('0x14'))['to'](this,_0x1844('0x6')),_0x28ff81[_0x1844('0x12')](_0x1844('0x14'))['to'](this,_0x1844('0x7')),_0x45756c['on'](_0x1844('0x19'),()=>this[_0x1844('0xf')](_0x1844('0x19'),_0x1844('0xb'))),_0x28ff81['on'](_0x1844('0x19'),()=>this['fire'](_0x1844('0x19'),'forward')),this[_0x1844('0x18')]({'tag':_0x1844('0x1b'),'attributes':{'class':['ck',_0x1844('0x16'),_0x1844('0x17')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':_0x1844('0x0'),'attributes':{'class':[_0x1844('0x4'),_0x4c9733['if'](_0x1844('0xe'),_0x1844('0x1c'),_0x2f03ac=>!_0x2f03ac)]},'children':[{'text':_0x4c9733['to'](_0x1844('0x5'),_0x5e37b0=>_0x5e37b0?_0x39a426(_0x524949,_0x1844('0x15'))+':\x20':_0x39a426(_0x524949,_0x1844('0x2'))+':\x20')}]},{'text':_0x4c9733['to']('_statusText')}]},new _0x555952(),{'tag':_0x1844('0x1b'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x45756c,_0x28ff81]}]});}}
23
+ const _0x1d4d=['Total','bindTemplate','isReady','No\x20changes','ck-revision-history-ui','set','isNavigationMode','div','ck-revision-history-ui__changes-navigation__navigation','isEnabled','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','forward','numberOfChanges','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation','Loading...','NUMBER_OF_CHANGES','setTemplate','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','span','_statusText','ck-revision-history-ui__changes-navigation__wrapper','fire','_isStatusLabelVisible','bind','Show\x20next\x20change','execute','isBackwardNavigationEnabled','Show\x20previous\x20change','backward'];(function(_0xef012c,_0x1d4d4b){const _0x1bcaaa=function(_0x203a8b){while(--_0x203a8b){_0xef012c['push'](_0xef012c['shift']());}};_0x1bcaaa(++_0x1d4d4b);}(_0x1d4d,0xa2));const _0x1bca=function(_0xef012c,_0x1d4d4b){_0xef012c=_0xef012c-0x0;let _0x1bcaaa=_0x1d4d[_0xef012c];return _0x1bcaaa;};import{View as _0x3556c7,ButtonView as _0x4fda9f,ToolbarSeparatorView as _0x4916c5}from'ckeditor5/src/ui.js';import{getTranslation as _0x456232}from'../../utils/common-translations.js';import _0x5c648d from'../../../theme/icons/arrow-up.svg';import _0x406a18 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x3556c7{constructor(_0x2bc464){super(_0x2bc464);const _0x59446c=this[_0x1bca('0x1f')],_0x24237c=new _0x4fda9f(_0x2bc464),_0x453768=new _0x4fda9f(_0x2bc464);this[_0x1bca('0x3')](_0x1bca('0x4'),!0x1),this['set'](_0x1bca('0x0'),!0x1),this['set'](_0x1bca('0x11'),0x0),this[_0x1bca('0x3')](_0x1bca('0xb'),0x0),this[_0x1bca('0x3')](_0x1bca('0x9'),!0x1),this[_0x1bca('0x3')](_0x1bca('0x1b'),!0x1),this[_0x1bca('0x18')](_0x1bca('0x17'))['to'](this,_0x1bca('0x0'),this,_0x1bca('0xb'),(_0x3469c1,_0x19592d)=>_0x3469c1&&_0x19592d>0x0),this['bind'](_0x1bca('0x14'))['to'](this,_0x1bca('0x0'),this,_0x1bca('0x11'),this,_0x1bca('0xb'),this,'isNavigationMode',(_0x969d36,_0x4b0cf0,_0x2b7494,_0x492b60)=>{if(!_0x969d36)return _0x456232(_0x2bc464,_0x1bca('0xe'));if(!_0x2b7494)return _0x456232(_0x2bc464,_0x1bca('0x1'));const _0x5eb412=_0x456232(_0x2bc464,_0x1bca('0xf'),_0x2b7494);return _0x492b60?_0x456232(_0x2bc464,_0x1bca('0xc'),[_0x4b0cf0+0x1,_0x2b7494]):_0x5eb412;}),_0x24237c[_0x1bca('0x3')]({'label':_0x456232(_0x2bc464,_0x1bca('0x1c')),'tooltip':!0x0,'icon':_0x5c648d}),_0x453768[_0x1bca('0x3')]({'label':_0x456232(_0x2bc464,_0x1bca('0x19')),'tooltip':!0x0,'icon':_0x406a18}),_0x24237c['bind'](_0x1bca('0x7'))['to'](this,_0x1bca('0x1b')),_0x453768['bind']('isEnabled')['to'](this,_0x1bca('0x9')),_0x24237c['on'](_0x1bca('0x1a'),()=>this[_0x1bca('0x16')](_0x1bca('0x1a'),_0x1bca('0x1d'))),_0x453768['on'](_0x1bca('0x1a'),()=>this['fire']('execute',_0x1bca('0xa'))),this[_0x1bca('0x10')]({'tag':'div','attributes':{'class':['ck',_0x1bca('0x2'),_0x1bca('0xd')]},'children':[{'tag':_0x1bca('0x13'),'attributes':{'class':[_0x1bca('0x15')]},'children':[{'tag':_0x1bca('0x13'),'attributes':{'class':[_0x1bca('0x8'),_0x59446c['if'](_0x1bca('0x17'),'ck-hidden',_0x17f9f5=>!_0x17f9f5)]},'children':[{'text':_0x59446c['to'](_0x1bca('0x4'),_0x329eca=>_0x329eca?_0x456232(_0x2bc464,_0x1bca('0x12'))+':\x20':_0x456232(_0x2bc464,_0x1bca('0x1e'))+':\x20')}]},{'text':_0x59446c['to'](_0x1bca('0x14'))}]},new _0x4916c5(),{'tag':_0x1bca('0x5'),'attributes':{'class':[_0x1bca('0x6')]},'children':[_0x24237c,_0x453768]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a84=['removeClass','editor','document','addClass','change','pluginName','hide','editing','roots','view'];(function(_0x5b1e0f,_0x1a8490){const _0x45fcb3=function(_0x1d92ea){while(--_0x1d92ea){_0x5b1e0f['push'](_0x5b1e0f['shift']());}};_0x45fcb3(++_0x1a8490);}(_0x1a84,0x1e3));const _0x45fc=function(_0x5b1e0f,_0x1a8490){_0x5b1e0f=_0x5b1e0f-0x0;let _0x45fcb3=_0x1a84[_0x5b1e0f];return _0x45fcb3;};import{Plugin as _0x1e98cd}from'ckeditor5/src/core.js';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x1e98cd{static get[_0x45fc('0x2')](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x43fabb=this[_0x45fc('0x8')][_0x45fc('0x4')][_0x45fc('0x6')];_0x43fabb[_0x45fc('0x1')](_0x17f87a=>{for(const _0x5cb574 of _0x43fabb[_0x45fc('0x9')]['roots'])_0x17f87a[_0x45fc('0x0')](oe,_0x5cb574);});}[_0x45fc('0x3')](){const _0x16eb77=this[_0x45fc('0x8')][_0x45fc('0x4')][_0x45fc('0x6')];_0x16eb77[_0x45fc('0x1')](_0x1f2b24=>{for(const _0x8d7e15 of _0x16eb77['document'][_0x45fc('0x5')])_0x1f2b24[_0x45fc('0x7')](oe,_0x8d7e15);});}}
23
+ const _0x4585=['document','change','ck-editor__editable__loading-overlay','pluginName','view','RevisionViewerLoadingOverlay','editing','hide','roots','editor'];(function(_0x186285,_0x45852b){const _0x4b79ef=function(_0x4d501a){while(--_0x4d501a){_0x186285['push'](_0x186285['shift']());}};_0x4b79ef(++_0x45852b);}(_0x4585,0xca));const _0x4b79=function(_0x186285,_0x45852b){_0x186285=_0x186285-0x0;let _0x4b79ef=_0x4585[_0x186285];return _0x4b79ef;};import{Plugin as _0x4053ad}from'ckeditor5/src/core.js';const oe=_0x4b79('0x0');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4053ad{static get[_0x4b79('0x1')](){return _0x4b79('0x3');}['show'](){const _0x2c969b=this[_0x4b79('0x7')][_0x4b79('0x4')][_0x4b79('0x2')];_0x2c969b[_0x4b79('0x9')](_0x3f8226=>{for(const _0x169b08 of _0x2c969b['document'][_0x4b79('0x6')])_0x3f8226['addClass'](oe,_0x169b08);});}[_0x4b79('0x5')](){const _0x10f210=this[_0x4b79('0x7')]['editing'][_0x4b79('0x2')];_0x10f210[_0x4b79('0x9')](_0x2d6235=>{for(const _0xad4edf of _0x10f210[_0x4b79('0x8')][_0x4b79('0x6')])_0x2d6235['removeClass'](oe,_0xad4edf);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41f4=['init','get','isNavigationMode','ck-revision-history-ui__back-to-editing','Back\x20to\x20editing','isReady','execute','plugins','set','bind','currentChangeNumber','restoreRevision','config','closeRevisionViewerCallback','RevisionViewerUI','show','changesNavigation','add','componentFactory','exitToEditing','editor','undo','isEnabled','showPreviousChange','isForwardNavigationEnabled','isBackwardNavigationEnabled','commands','listenTo','hide','showNextChange','pluginName'];(function(_0x15783c,_0x41f454){const _0x199838=function(_0x369bf0){while(--_0x369bf0){_0x15783c['push'](_0x15783c['shift']());}};_0x199838(++_0x41f454);}(_0x41f4,0xbe));const _0x1998=function(_0x15783c,_0x41f454){_0x15783c=_0x15783c-0x0;let _0x199838=_0x41f4[_0x15783c];return _0x199838;};import{icons as _0x3da154,Plugin as _0x28414b}from'ckeditor5/src/core.js';import{ButtonView as _0x1b86c1}from'ckeditor5/src/ui.js';import _0x7ba6a6 from'./changesnavigationview.js';import _0x24720d from'./../../revisionviewer.js';import _0x228a47 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x46169b}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x28414b{static get[_0x1998('0x1a')](){return _0x1998('0xa');}static get['requires'](){return[_0x24720d,_0x228a47];}[_0x1998('0x1b')](){const _0xc906f=this[_0x1998('0x10')],_0xa1c729=_0xc906f[_0x1998('0x3')]['get'](_0x24720d),_0xdb2dc6=_0xc906f['plugins']['get'](_0x228a47);_0xc906f['ui']['componentFactory']['add'](_0x1998('0xf'),_0x3e88aa=>{const _0x4e1f0a=new _0x1b86c1(_0x3e88aa);return _0x4e1f0a[_0x1998('0x4')]({'label':_0x46169b(_0x3e88aa,_0x1998('0x0')),'icon':_0x3da154[_0x1998('0x11')],'withText':!0x0,'tooltip':!0x0,'class':_0x1998('0x1e')}),this[_0x1998('0x17')](_0x4e1f0a,_0x1998('0x2'),()=>{_0xc906f[_0x1998('0x8')][_0x1998('0x1c')]('revisionHistory')[_0x1998('0x9')]();}),_0x4e1f0a;}),_0xc906f['ui'][_0x1998('0xe')]['add'](_0x1998('0x7'),_0x4d68b1=>{const _0x3f4ff5=new _0x1b86c1(_0x4d68b1);return _0x3f4ff5['set']({'label':_0x46169b(_0x4d68b1,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3f4ff5['bind'](_0x1998('0x12'))['to'](_0xc906f[_0x1998('0x16')][_0x1998('0x1c')](_0x1998('0x7'))),this[_0x1998('0x17')](_0x3f4ff5,_0x1998('0x2'),()=>_0xc906f[_0x1998('0x2')](_0x1998('0x7'))),_0x3f4ff5;}),_0xc906f['ui'][_0x1998('0xe')][_0x1998('0xd')](_0x1998('0xc'),_0x27c20e=>{const _0x3f88c0=new _0x7ba6a6(_0x27c20e),_0x329671=_0xc906f[_0x1998('0x16')][_0x1998('0x1c')](_0x1998('0x13')),_0x3bf763=_0xc906f[_0x1998('0x16')][_0x1998('0x1c')]('showNextChange');return _0x3f88c0[_0x1998('0x5')](_0x1998('0x15'))['to'](_0x329671,_0x1998('0x12')),_0x3f88c0['bind'](_0x1998('0x14'))['to'](_0x3bf763,_0x1998('0x12')),_0x3f88c0[_0x1998('0x5')](_0x1998('0x1'),_0x1998('0x6'),'numberOfChanges',_0x1998('0x1d'))['to'](_0xa1c729),this[_0x1998('0x17')](_0x3f88c0,'execute',(_0x37227d,_0x1b49b7)=>{_0xc906f[_0x1998('0x2')]('forward'===_0x1b49b7?_0x1998('0x19'):_0x1998('0x13'));}),_0x3f88c0;}),_0xdb2dc6[_0x1998('0xb')](),_0xa1c729['on']('change:isReady',(_0x22dcc5,_0x27e983,_0x58daaa)=>{_0x58daaa?_0xdb2dc6[_0x1998('0x18')]():_0xdb2dc6[_0x1998('0xb')]();});}}
23
+ const _0x4e33=['showNextChange','isBackwardNavigationEnabled','requires','set','isNavigationMode','isForwardNavigationEnabled','revisionHistory','componentFactory','plugins','show','pluginName','ck-revision-history-ui__back-to-editing','listenTo','Restore\x20this\x20revision','closeRevisionViewerCallback','bind','exitToEditing','isEnabled','commands','changesNavigation','get','numberOfChanges','showPreviousChange','currentChangeNumber','execute','forward','restoreRevision','add','isReady'];(function(_0x1e1c20,_0x4e3327){const _0x252348=function(_0x10a2d6){while(--_0x10a2d6){_0x1e1c20['push'](_0x1e1c20['shift']());}};_0x252348(++_0x4e3327);}(_0x4e33,0xe2));const _0x2523=function(_0x1e1c20,_0x4e3327){_0x1e1c20=_0x1e1c20-0x0;let _0x252348=_0x4e33[_0x1e1c20];return _0x252348;};import{icons as _0x22817c,Plugin as _0x4aee7d}from'ckeditor5/src/core.js';import{ButtonView as _0x55153b}from'ckeditor5/src/ui.js';import _0x4fa1db from'./changesnavigationview.js';import _0x5340ed from'./../../revisionviewer.js';import _0x3d1c28 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x508190}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x4aee7d{static get[_0x2523('0x10')](){return'RevisionViewerUI';}static get[_0x2523('0x8')](){return[_0x5340ed,_0x3d1c28];}['init'](){const _0x51689a=this['editor'],_0x3009f9=_0x51689a[_0x2523('0xe')][_0x2523('0x1a')](_0x5340ed),_0x4bbecf=_0x51689a['plugins'][_0x2523('0x1a')](_0x3d1c28);_0x51689a['ui'][_0x2523('0xd')][_0x2523('0x4')](_0x2523('0x16'),_0x285e84=>{const _0x46926d=new _0x55153b(_0x285e84);return _0x46926d[_0x2523('0x9')]({'label':_0x508190(_0x285e84,'Back\x20to\x20editing'),'icon':_0x22817c['undo'],'withText':!0x0,'tooltip':!0x0,'class':_0x2523('0x11')}),this[_0x2523('0x12')](_0x46926d,_0x2523('0x1'),()=>{_0x51689a['config']['get'](_0x2523('0xc'))[_0x2523('0x14')]();}),_0x46926d;}),_0x51689a['ui'][_0x2523('0xd')][_0x2523('0x4')](_0x2523('0x3'),_0x484466=>{const _0x5cce07=new _0x55153b(_0x484466);return _0x5cce07[_0x2523('0x9')]({'label':_0x508190(_0x484466,_0x2523('0x13')),'withText':!0x0,'tooltip':!0x0}),_0x5cce07[_0x2523('0x15')](_0x2523('0x17'))['to'](_0x51689a[_0x2523('0x18')][_0x2523('0x1a')](_0x2523('0x3'))),this[_0x2523('0x12')](_0x5cce07,_0x2523('0x1'),()=>_0x51689a[_0x2523('0x1')](_0x2523('0x3'))),_0x5cce07;}),_0x51689a['ui'][_0x2523('0xd')]['add'](_0x2523('0x19'),_0x5b64d7=>{const _0x147cff=new _0x4fa1db(_0x5b64d7),_0x2de86a=_0x51689a[_0x2523('0x18')][_0x2523('0x1a')](_0x2523('0x1c')),_0x3e18c9=_0x51689a[_0x2523('0x18')]['get'](_0x2523('0x6'));return _0x147cff[_0x2523('0x15')](_0x2523('0x7'))['to'](_0x2de86a,_0x2523('0x17')),_0x147cff[_0x2523('0x15')](_0x2523('0xb'))['to'](_0x3e18c9,_0x2523('0x17')),_0x147cff[_0x2523('0x15')](_0x2523('0x5'),_0x2523('0x0'),_0x2523('0x1b'),_0x2523('0xa'))['to'](_0x3009f9),this[_0x2523('0x12')](_0x147cff,_0x2523('0x1'),(_0x25291e,_0x32f8db)=>{_0x51689a[_0x2523('0x1')](_0x2523('0x2')===_0x32f8db?_0x2523('0x6'):_0x2523('0x1c'));}),_0x147cff;}),_0x4bbecf[_0x2523('0xf')](),_0x3009f9['on']('change:isReady',(_0x4b8edc,_0x3ac452,_0x1012b4)=>{_0x1012b4?_0x4bbecf['hide']():_0x4bbecf[_0x2523('0xf')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xb34f96,_0x54f5f0,_0x1a49ff){const t=_0xb34f96['t'];switch(_0x54f5f0){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'},_0x1a49ff);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1a49ff);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 _0x54f5f0;}}
23
+ export function getTranslation(_0x193b73,_0x18bc59,_0x3796de){const t=_0x193b73['t'];switch(_0x18bc59){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'},_0x3796de);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3796de);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 _0x18bc59;}}