@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231031.0 → 0.0.0-nightly-20231101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bb7=['ck-button-save','_createButton','Name\x20of\x20the\x20revision\x20(optional)','trim','set','revisionName','ck-revision-history-save-revision-form','saveButtonView','cancelButtonView','fieldView','form','setTemplate','check','shift\x20+\x20tab','locale','_focusables','extendTemplate','tab','input','keystrokes','ck-responsive-form','listenTo','_focusCycler','focus','arrowup','revisionNameInputValue','forEach','arrowdown','220','type','ck-button-cancel','element','revisionNameInputView','add','render','arrowright','reset','label','focusFirst','focusTracker','_createRevisionNameInput','value','stopPropagation','cancel'];(function(_0x1697c7,_0x5bb789){const _0x39b9cb=function(_0x3541e4){while(--_0x3541e4){_0x1697c7['push'](_0x1697c7['shift']());}};_0x39b9cb(++_0x5bb789);}(_0x5bb7,0xc2));const _0x39b9=function(_0x1697c7,_0x5bb789){_0x1697c7=_0x1697c7-0x0;let _0x39b9cb=_0x5bb7[_0x1697c7];return _0x39b9cb;};import{icons as _0x5108c6}from'ckeditor5/src/core';import{ButtonView as _0x2d8032,FocusCycler as _0x2c94ac,LabeledFieldView as _0x145fd6,View as _0x4a5f2c,ViewCollection as _0x1aa701,createLabeledInputText as _0xa59985,injectCssTransitionDisabler as _0x524750,submitHandler as _0x27858e}from'ckeditor5/src/ui';import{FocusTracker as _0x57f331,KeystrokeHandler as _0x5bf669}from'ckeditor5/src/utils';import{getTranslation as _0x4e5c56}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x4a5f2c{constructor(_0x2e4d40){super(_0x2e4d40),this[_0x39b9('0x15')]=new _0x57f331(),this[_0x39b9('0x1')]=new _0x5bf669(),this['set'](_0x39b9('0x7'),''),this[_0x39b9('0xe')]=this[_0x39b9('0x16')](),this[_0x39b9('0x21')]=this[_0x39b9('0x1b')](_0x4e5c56(_0x2e4d40,'Save'),_0x5108c6[_0x39b9('0x26')],_0x39b9('0x1a')),this[_0x39b9('0x21')][_0x39b9('0xb')]='submit',this['cancelButtonView']=this['_createButton'](_0x4e5c56(_0x2e4d40,'Cancel'),_0x5108c6[_0x39b9('0x19')],_0x39b9('0xc'),'cancel'),this[_0x39b9('0x29')]=new _0x1aa701(),this[_0x39b9('0x4')]=new _0x2c94ac({'focusables':this['_focusables'],'focusTracker':this[_0x39b9('0x15')],'keystrokeHandler':this[_0x39b9('0x1')],'actions':{'focusPrevious':_0x39b9('0x27'),'focusNext':_0x39b9('0x2b')}}),this[_0x39b9('0x25')]({'tag':_0x39b9('0x24'),'attributes':{'class':['ck',_0x39b9('0x20'),_0x39b9('0x2')],'tabindex':'-1'},'children':[this[_0x39b9('0xe')],this[_0x39b9('0x21')],this[_0x39b9('0x22')]]}),_0x524750(this);}[_0x39b9('0x10')](){super[_0x39b9('0x10')](),_0x27858e({'view':this}),([this['revisionNameInputView'],this[_0x39b9('0x21')],this[_0x39b9('0x22')]][_0x39b9('0x8')](_0x24b968=>{this['_focusables'][_0x39b9('0xf')](_0x24b968),this[_0x39b9('0x15')][_0x39b9('0xf')](_0x24b968[_0x39b9('0xd')]);}),this[_0x39b9('0x1')][_0x39b9('0x3')](this[_0x39b9('0xd')]));const _0x23fecb=_0x2861c7=>_0x2861c7[_0x39b9('0x18')]();this[_0x39b9('0x1')]['set'](_0x39b9('0x11'),_0x23fecb),this[_0x39b9('0x1')]['set']('arrowleft',_0x23fecb),this[_0x39b9('0x1')][_0x39b9('0x1e')](_0x39b9('0x6'),_0x23fecb),this[_0x39b9('0x1')][_0x39b9('0x1e')](_0x39b9('0x9'),_0x23fecb);}[_0x39b9('0x5')](){this['_focusCycler'][_0x39b9('0x14')]();}get[_0x39b9('0x1f')](){return this[_0x39b9('0xe')][_0x39b9('0x23')][_0x39b9('0xd')][_0x39b9('0x17')]['trim']();}set[_0x39b9('0x1f')](_0x4bae11){this[_0x39b9('0xe')]['fieldView'][_0x39b9('0xd')][_0x39b9('0x17')]=_0x4bae11['trim']();}[_0x39b9('0x12')](){this[_0x39b9('0xe')]['fieldView']['element'][_0x39b9('0x17')]='';}['_createRevisionNameInput'](){const _0x61e597=new _0x145fd6(this[_0x39b9('0x28')],_0xa59985),_0xac25a5=_0x61e597[_0x39b9('0x23')];return _0xac25a5['extendTemplate']({'attributes':{'maxlength':_0x39b9('0xa')}}),_0x61e597[_0x39b9('0x13')]=_0x4e5c56(this['locale'],_0x39b9('0x1c')),_0xac25a5['on'](_0x39b9('0x0'),()=>{this[_0x39b9('0x7')]=_0xac25a5[_0x39b9('0xd')][_0x39b9('0x17')][_0x39b9('0x1d')]();}),_0x61e597;}[_0x39b9('0x1b')](_0x49edb7,_0x1116c1,_0x1f82ca,_0x1a7274){const _0x59443b=new _0x2d8032(this[_0x39b9('0x28')]);return _0x59443b[_0x39b9('0x1e')]({'label':_0x49edb7,'icon':_0x1116c1,'tooltip':!0x0}),_0x59443b[_0x39b9('0x2a')]({'attributes':{'class':_0x1f82ca}}),_0x1a7274&&_0x59443b['delegate']('execute')['to'](this,_0x1a7274),_0x59443b;}}
23
+ const _0x5970=['set','setTemplate','input','ck-button-save','extendTemplate','locale','ck-revision-history-save-revision-form','_focusables','_createRevisionNameInput','listenTo','keystrokes','delegate','add','cancel','ck-button-cancel','forEach','arrowleft','type','render','saveButtonView','trim','fieldView','220','submit','stopPropagation','label','reset','element','value','arrowright','arrowup','_createButton','revisionNameInputView','ck-responsive-form','cancelButtonView','focusTracker','revisionNameInputValue','revisionName','form','_focusCycler','arrowdown','check'];(function(_0x2aaa54,_0x59705a){const _0xd09fb9=function(_0x30d764){while(--_0x30d764){_0x2aaa54['push'](_0x2aaa54['shift']());}};_0xd09fb9(++_0x59705a);}(_0x5970,0x117));const _0xd09f=function(_0x2aaa54,_0x59705a){_0x2aaa54=_0x2aaa54-0x0;let _0xd09fb9=_0x5970[_0x2aaa54];return _0xd09fb9;};import{icons as _0x51839b}from'ckeditor5/src/core';import{ButtonView as _0x245b4a,FocusCycler as _0x5de9c3,LabeledFieldView as _0x3effe2,View as _0x505819,ViewCollection as _0x1e13db,createLabeledInputText as _0x20d600,injectCssTransitionDisabler as _0xca4c5d,submitHandler as _0x191955}from'ckeditor5/src/ui';import{FocusTracker as _0x46ee38,KeystrokeHandler as _0x4800cd}from'ckeditor5/src/utils';import{getTranslation as _0x2d39cb}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x505819{constructor(_0x1630e3){super(_0x1630e3),this[_0xd09f('0x8')]=new _0x46ee38(),this[_0xd09f('0x19')]=new _0x4800cd(),this[_0xd09f('0xf')](_0xd09f('0x9'),''),this[_0xd09f('0x5')]=this[_0xd09f('0x17')](),this[_0xd09f('0x22')]=this[_0xd09f('0x4')](_0x2d39cb(_0x1630e3,'Save'),_0x51839b[_0xd09f('0xe')],_0xd09f('0x12')),this['saveButtonView'][_0xd09f('0x20')]=_0xd09f('0x26'),this[_0xd09f('0x7')]=this[_0xd09f('0x4')](_0x2d39cb(_0x1630e3,'Cancel'),_0x51839b['cancel'],_0xd09f('0x1d'),_0xd09f('0x1c')),this[_0xd09f('0x16')]=new _0x1e13db(),this[_0xd09f('0xc')]=new _0x5de9c3({'focusables':this[_0xd09f('0x16')],'focusTracker':this[_0xd09f('0x8')],'keystrokeHandler':this[_0xd09f('0x19')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this[_0xd09f('0x10')]({'tag':_0xd09f('0xb'),'attributes':{'class':['ck',_0xd09f('0x15'),_0xd09f('0x6')],'tabindex':'-1'},'children':[this[_0xd09f('0x5')],this[_0xd09f('0x22')],this[_0xd09f('0x7')]]}),_0xca4c5d(this);}[_0xd09f('0x21')](){super[_0xd09f('0x21')](),_0x191955({'view':this}),([this['revisionNameInputView'],this[_0xd09f('0x22')],this[_0xd09f('0x7')]][_0xd09f('0x1e')](_0x39501c=>{this['_focusables'][_0xd09f('0x1b')](_0x39501c),this[_0xd09f('0x8')][_0xd09f('0x1b')](_0x39501c[_0xd09f('0x0')]);}),this['keystrokes'][_0xd09f('0x18')](this[_0xd09f('0x0')]));const _0x521f29=_0x96c8e3=>_0x96c8e3[_0xd09f('0x27')]();this[_0xd09f('0x19')][_0xd09f('0xf')](_0xd09f('0x2'),_0x521f29),this[_0xd09f('0x19')]['set'](_0xd09f('0x1f'),_0x521f29),this['keystrokes'][_0xd09f('0xf')](_0xd09f('0x3'),_0x521f29),this['keystrokes'][_0xd09f('0xf')](_0xd09f('0xd'),_0x521f29);}['focus'](){this[_0xd09f('0xc')]['focusFirst']();}get[_0xd09f('0xa')](){return this['revisionNameInputView'][_0xd09f('0x24')]['element']['value'][_0xd09f('0x23')]();}set[_0xd09f('0xa')](_0x665f63){this['revisionNameInputView'][_0xd09f('0x24')]['element'][_0xd09f('0x1')]=_0x665f63[_0xd09f('0x23')]();}[_0xd09f('0x29')](){this[_0xd09f('0x5')][_0xd09f('0x24')][_0xd09f('0x0')]['value']='';}[_0xd09f('0x17')](){const _0x2657f8=new _0x3effe2(this[_0xd09f('0x14')],_0x20d600),_0x501b11=_0x2657f8[_0xd09f('0x24')];return _0x501b11[_0xd09f('0x13')]({'attributes':{'maxlength':_0xd09f('0x25')}}),_0x2657f8[_0xd09f('0x28')]=_0x2d39cb(this[_0xd09f('0x14')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x501b11['on'](_0xd09f('0x11'),()=>{this['revisionNameInputValue']=_0x501b11[_0xd09f('0x0')][_0xd09f('0x1')][_0xd09f('0x23')]();}),_0x2657f8;}[_0xd09f('0x4')](_0x3c9932,_0x3fcf68,_0x439b52,_0x5ab056){const _0x13a55e=new _0x245b4a(this[_0xd09f('0x14')]);return _0x13a55e[_0xd09f('0xf')]({'label':_0x3c9932,'icon':_0x3fcf68,'tooltip':!0x0}),_0x13a55e['extendTemplate']({'attributes':{'class':_0x439b52}}),_0x5ab056&&_0x13a55e[_0xd09f('0x1a')]('execute')['to'](this,_0x5ab056),_0x13a55e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x330b=['isEnabled','componentFactory','addMany','showRevisionViewerCallback','init','focus','saveRevision','config','isOpen','RevisionTracker','buttonView','change:isOpen','add','length','children','saveButtonView','Revision\x20history','RevisionHistoryUI','editor','set','render','revisionHistory','remove','isReady','submit','requires','execute','view','editing','Open\x20revision\x20history','reset','plugins','history','bind','isReadOnly','cancel','get','items'];(function(_0x6050fe,_0x330b41){const _0xad4a73=function(_0x5632d6){while(--_0x5632d6){_0x6050fe['push'](_0x6050fe['shift']());}};_0xad4a73(++_0x330b41);}(_0x330b,0x7d));const _0xad4a=function(_0x6050fe,_0x330b41){_0x6050fe=_0x6050fe-0x0;let _0xad4a73=_0x330b[_0x6050fe];return _0xad4a73;};import{Plugin as _0x23302a,icons as _0x5d7ab0}from'ckeditor5/src/core';import{ListView as _0x5cb763,ListItemView as _0xf49cb8,ButtonView as _0x5de73b,createDropdown as _0x1372ff}from'ckeditor5/src/ui';import _0x1af8c1 from'../../revisiontracker';import _0xb1d151 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x1e7935}from'../../utils/common-translations';export default class u extends _0x23302a{static get['pluginName'](){return _0xad4a('0x6');}static get[_0xad4a('0xe')](){return[_0x1af8c1];}[_0xad4a('0x1f')](){const _0x13daaf=this[_0xad4a('0x7')],_0x4d2b08=_0x13daaf[_0xad4a('0x14')][_0xad4a('0x19')](_0xad4a('0x24'));_0x13daaf['ui'][_0xad4a('0x1c')]['add'](_0xad4a('0xa'),_0x3c5e16=>{const _0x889af3=_0x1372ff(_0x3c5e16),_0x7c58dc=_0x889af3['panelView'][_0xad4a('0x3')],_0x459cc0=new _0x5cb763(_0x3c5e16),_0x45af0c=new _0xf49cb8(_0x3c5e16),_0x38151f=new _0x5de73b(_0x3c5e16),_0x3c90e2=new _0xf49cb8(_0x3c5e16),_0xd1f6e3=new _0x5de73b(_0x3c5e16),_0x20e5e8=new _0xb1d151(_0x3c5e16);function _0x1bfa9b(){_0x7c58dc[_0xad4a('0x2')]&&_0x7c58dc[_0xad4a('0xb')](0x0),_0x7c58dc[_0xad4a('0x1')](_0x459cc0);}function _0xc5b1ed(){_0x889af3[_0xad4a('0x23')]=!0x1,_0x13daaf[_0xad4a('0x11')][_0xad4a('0x10')][_0xad4a('0x20')]();}return _0x889af3[_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,'isEnabled',_0x13daaf,_0xad4a('0x17'),(_0x46bfb8,_0x590b5e,_0x43c92f)=>_0x46bfb8&&_0x590b5e&&!_0x43c92f),_0x889af3[_0xad4a('0x25')][_0xad4a('0x8')]({'icon':_0x5d7ab0[_0xad4a('0x15')],'label':_0x1e7935(_0x3c5e16,_0xad4a('0x5')),'tooltip':!0x0}),_0x38151f[_0xad4a('0x8')]({'label':_0x1e7935(_0x3c5e16,'Save\x20current\x20revision'),'withText':!0x0}),_0x38151f[_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,_0xad4a('0x1b'),_0x13daaf,_0xad4a('0x17'),(_0x25311d,_0x536a03,_0xf0f5c)=>_0x25311d&&_0x536a03&&!_0xf0f5c),_0x38151f['on'](_0xad4a('0xf'),()=>function(){_0x7c58dc['length']&&_0x7c58dc[_0xad4a('0xb')](0x0),(_0x20e5e8[_0xad4a('0x13')](),_0x7c58dc[_0xad4a('0x1')](_0x20e5e8),_0x20e5e8[_0xad4a('0x20')]());}()),_0xd1f6e3[_0xad4a('0x8')]({'label':_0x1e7935(_0x3c5e16,_0xad4a('0x12')),'withText':!0x0}),_0xd1f6e3[_0xad4a('0x16')](_0xad4a('0x1b'))['to'](_0x4d2b08,_0xad4a('0xc'),_0x13daaf,_0xad4a('0x17'),(_0x4520a4,_0x3322fd)=>_0x4520a4&&!_0x3322fd),_0xd1f6e3['on']('execute',()=>{_0x13daaf[_0xad4a('0x22')]['get']('revisionHistory')[_0xad4a('0x1e')](),_0xc5b1ed();}),_0x45af0c[_0xad4a('0x3')][_0xad4a('0x1')](_0x38151f),_0x3c90e2[_0xad4a('0x3')]['add'](_0xd1f6e3),_0x459cc0[_0xad4a('0x1a')][_0xad4a('0x1d')]([_0x45af0c,_0x3c90e2]),_0x889af3['on'](_0xad4a('0x0'),()=>_0x1bfa9b()),_0x20e5e8[_0xad4a('0x4')][_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,_0xad4a('0x1b'),_0x13daaf,'isReadOnly',(_0x2f06cd,_0x5724dc,_0x482766)=>_0x2f06cd&&_0x5724dc&&!_0x482766),_0x20e5e8['on'](_0xad4a('0xd'),()=>(_0x13daaf[_0xad4a('0x14')]['get'](_0x1af8c1)[_0xad4a('0x21')]({'name':_0x20e5e8['revisionName']}),void _0xc5b1ed())),_0x20e5e8['on'](_0xad4a('0x18'),()=>_0x1bfa9b()),_0x20e5e8[_0xad4a('0x9')](),_0x1bfa9b(),_0x889af3;});}}
23
+ const _0x5687=['isOpen','Open\x20revision\x20history','Save\x20current\x20revision','children','set','editing','isReady','panelView','change:isOpen','requires','buttonView','RevisionTracker','revisionName','Revision\x20history','remove','bind','get','length','history','config','plugins','execute','view','items','focus','RevisionHistoryUI','showRevisionViewerCallback','addMany','add','isReadOnly','saveButtonView','reset','revisionHistory','componentFactory','submit','isEnabled'];(function(_0x333e19,_0x568735){const _0x5b4a0c=function(_0x4b5e5f){while(--_0x4b5e5f){_0x333e19['push'](_0x333e19['shift']());}};_0x5b4a0c(++_0x568735);}(_0x5687,0x13b));const _0x5b4a=function(_0x333e19,_0x568735){_0x333e19=_0x333e19-0x0;let _0x5b4a0c=_0x5687[_0x333e19];return _0x5b4a0c;};import{Plugin as _0x2f5fdd,icons as _0x251228}from'ckeditor5/src/core';import{ListView as _0x5c7209,ListItemView as _0x30d731,ButtonView as _0x2c1471,createDropdown as _0x435c2c}from'ckeditor5/src/ui';import _0x38e988 from'../../revisiontracker';import _0x140e72 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x3875fc}from'../../utils/common-translations';export default class u extends _0x2f5fdd{static get['pluginName'](){return _0x5b4a('0x22');}static get[_0x5b4a('0x12')](){return[_0x38e988];}['init'](){const _0x53c740=this['editor'],_0x58c187=_0x53c740['plugins'][_0x5b4a('0x19')](_0x5b4a('0x14'));_0x53c740['ui'][_0x5b4a('0x6')]['add'](_0x5b4a('0x5'),_0x15227a=>{const _0x4e9455=_0x435c2c(_0x15227a),_0xe4ff03=_0x4e9455[_0x5b4a('0x10')][_0x5b4a('0xc')],_0x10fed9=new _0x5c7209(_0x15227a),_0x198d1b=new _0x30d731(_0x15227a),_0x491a91=new _0x2c1471(_0x15227a),_0x38c1f1=new _0x30d731(_0x15227a),_0x1c48e9=new _0x2c1471(_0x15227a),_0x5cdb6e=new _0x140e72(_0x15227a);function _0x219a64(){_0xe4ff03[_0x5b4a('0x1a')]&&_0xe4ff03[_0x5b4a('0x17')](0x0),_0xe4ff03['add'](_0x10fed9);}function _0x3341d5(){_0x4e9455[_0x5b4a('0x9')]=!0x1,_0x53c740[_0x5b4a('0xe')][_0x5b4a('0x1f')][_0x5b4a('0x21')]();}return _0x4e9455[_0x5b4a('0x18')](_0x5b4a('0x8'))['to'](_0x58c187,'isReady',_0x58c187,_0x5b4a('0x8'),_0x53c740,_0x5b4a('0x2'),(_0x19e096,_0xf1714c,_0x2cb3e7)=>_0x19e096&&_0xf1714c&&!_0x2cb3e7),_0x4e9455[_0x5b4a('0x13')][_0x5b4a('0xd')]({'icon':_0x251228[_0x5b4a('0x1b')],'label':_0x3875fc(_0x15227a,_0x5b4a('0x16')),'tooltip':!0x0}),_0x491a91[_0x5b4a('0xd')]({'label':_0x3875fc(_0x15227a,_0x5b4a('0xb')),'withText':!0x0}),_0x491a91[_0x5b4a('0x18')](_0x5b4a('0x8'))['to'](_0x58c187,_0x5b4a('0xf'),_0x58c187,_0x5b4a('0x8'),_0x53c740,_0x5b4a('0x2'),(_0x1dc76e,_0x17b462,_0x3eaac0)=>_0x1dc76e&&_0x17b462&&!_0x3eaac0),_0x491a91['on']('execute',()=>function(){_0xe4ff03[_0x5b4a('0x1a')]&&_0xe4ff03['remove'](0x0),(_0x5cdb6e[_0x5b4a('0x4')](),_0xe4ff03[_0x5b4a('0x1')](_0x5cdb6e),_0x5cdb6e[_0x5b4a('0x21')]());}()),_0x1c48e9[_0x5b4a('0xd')]({'label':_0x3875fc(_0x15227a,_0x5b4a('0xa')),'withText':!0x0}),_0x1c48e9[_0x5b4a('0x18')](_0x5b4a('0x8'))['to'](_0x58c187,_0x5b4a('0xf'),_0x53c740,_0x5b4a('0x2'),(_0x4e72d0,_0x539c03)=>_0x4e72d0&&!_0x539c03),_0x1c48e9['on'](_0x5b4a('0x1e'),()=>{_0x53c740[_0x5b4a('0x1c')][_0x5b4a('0x19')]('revisionHistory')[_0x5b4a('0x23')](),_0x3341d5();}),_0x198d1b[_0x5b4a('0xc')][_0x5b4a('0x1')](_0x491a91),_0x38c1f1[_0x5b4a('0xc')][_0x5b4a('0x1')](_0x1c48e9),_0x10fed9[_0x5b4a('0x20')][_0x5b4a('0x0')]([_0x198d1b,_0x38c1f1]),_0x4e9455['on'](_0x5b4a('0x11'),()=>_0x219a64()),_0x5cdb6e[_0x5b4a('0x3')]['bind']('isEnabled')['to'](_0x58c187,'isReady',_0x58c187,_0x5b4a('0x8'),_0x53c740,_0x5b4a('0x2'),(_0x4b435f,_0x3975ae,_0x28f474)=>_0x4b435f&&_0x3975ae&&!_0x28f474),_0x5cdb6e['on'](_0x5b4a('0x7'),()=>(_0x53c740[_0x5b4a('0x1d')][_0x5b4a('0x19')](_0x38e988)['saveRevision']({'name':_0x5cdb6e[_0x5b4a('0x15')]}),void _0x3341d5())),_0x5cdb6e['on']('cancel',()=>_0x219a64()),_0x5cdb6e['render'](),_0x219a64(),_0x4e9455;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4258=['assign','availableRevisionActions','revisionHistory.revisionActions','change:diff','restoreRevision','restoreRevisionCallback','get','requires','isEnabled','destroy','selectRevision','_createRevisionActions','_sidebarView','ready','init','revisionSetName','_revisionsRepository','listenTo','timePeriodViews','pluginName','repository','isVisible','add','_revisionViewer','diff','_revisions','fieldView','compare','getRevisionsInDiff','setName','_handleRevisionSelected','revisionViews','bind','isSelected','highlightRevisions','_handleDiffChange','nameRevision','RevisionsSidebar','data','getRevision','string','action','name','locale','_handleRevisionSetName','getLaterVisibleRevision','length','element','getIndex','defaultRevisionActions','getEarlierVisibleRevision','_handleEditorDataReady','plugins','appendChild','Name\x20this\x20revision','isReady','editor','render','config'];(function(_0x75c891,_0x4258cf){const _0x17cc79=function(_0xb3e64b){while(--_0xb3e64b){_0x75c891['push'](_0x75c891['shift']());}};_0x17cc79(++_0x4258cf);}(_0x4258,0x82));const _0x17cc=function(_0x75c891,_0x4258cf){_0x75c891=_0x75c891-0x0;let _0x17cc79=_0x4258[_0x75c891];return _0x17cc79;};import{Plugin as _0x54fb36}from'ckeditor5/src/core';import _0x3ff7fd from'./revisionssidebarview';import _0x232b2c from'../../revisionviewer';export default class w extends _0x54fb36{static get[_0x17cc('0x7')](){return _0x17cc('0x19');}static get[_0x17cc('0x36')](){return[_0x232b2c];}constructor(_0x549826){super(_0x549826),this['_revisionViewer']=_0x549826[_0x17cc('0x28')][_0x17cc('0x35')](_0x232b2c),this[_0x17cc('0x4')]=this[_0x17cc('0xb')][_0x17cc('0x8')],this[_0x17cc('0x0')]=null;}[_0x17cc('0x2')](){const _0x58bbf7=this['_revisionsRepository'][_0x17cc('0xd')],_0x113116=this[_0x17cc('0x3a')](),_0x51e79b=this[_0x17cc('0x2c')][_0x17cc('0x2e')][_0x17cc('0x35')]('revisionHistory.viewerSidebarContainer');this[_0x17cc('0x0')]=new _0x3ff7fd(this['editor'][_0x17cc('0x1f')],_0x58bbf7,_0x113116),this['_sidebarView']['on']('revisionSelected',this[_0x17cc('0x12')][_0x17cc('0x14')](this)),this[_0x17cc('0x0')]['on'](_0x17cc('0x3'),this[_0x17cc('0x20')][_0x17cc('0x14')](this)),this[_0x17cc('0x0')]['bind'](_0x17cc('0x37'))['to'](this[_0x17cc('0xb')]),this[_0x17cc('0x0')][_0x17cc('0x6')]['on'](_0x17cc('0xa'),(_0x5de8b8,_0x42ef96)=>{_0x42ef96[_0x17cc('0x13')]['on'](_0x17cc('0xa'),(_0x2ca422,_0x18f4b2)=>{_0x18f4b2[_0x17cc('0x14')](_0x17cc('0x37'),_0x17cc('0x2b'))['to'](this[_0x17cc('0xb')]);});}),this[_0x17cc('0x0')][_0x17cc('0x2d')](),this['listenTo'](this[_0x17cc('0x2c')][_0x17cc('0x1a')],_0x17cc('0x1'),this['_handleEditorDataReady'][_0x17cc('0x14')](this)),this[_0x17cc('0x5')](this[_0x17cc('0xb')],_0x17cc('0x32'),this[_0x17cc('0x17')][_0x17cc('0x14')](this)),_0x51e79b[_0x17cc('0x29')](this[_0x17cc('0x0')][_0x17cc('0x23')]);}[_0x17cc('0x38')](){this[_0x17cc('0x0')][_0x17cc('0x23')]['remove'](),this[_0x17cc('0x0')][_0x17cc('0x38')]();}[_0x17cc('0x27')](){const _0x281255=this['_revisionsRepository']['getRevision'](0x0);if(_0x281255){const _0x52c374=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x281255['id']);this[_0x17cc('0xb')][_0x17cc('0xf')](_0x281255,_0x52c374);}}[_0x17cc('0x12')](_0x15d861,_0x1f9156){const _0xcd30bf=this[_0x17cc('0x4')][_0x17cc('0x1b')](_0x1f9156['id']),_0x6fb67=this[_0x17cc('0x4')][_0x17cc('0x26')](_0xcd30bf['id']);this['_revisionViewer']['compare'](_0xcd30bf,_0x6fb67);}[_0x17cc('0x20')](_0x414177,_0x193d3d){this[_0x17cc('0x4')][_0x17cc('0x1b')](_0x193d3d['id'])[_0x17cc('0x11')](_0x193d3d[_0x17cc('0x1e')]);}[_0x17cc('0x17')](_0xe578a7,_0x3d393c,_0x3c938c){const _0x1d9aa7=this[_0x17cc('0x4')][_0x17cc('0x10')](_0x3c938c);_0x1d9aa7['length']>0x2?(this['_sidebarView'][_0x17cc('0x16')](_0x1d9aa7),this[_0x17cc('0x0')][_0x17cc('0x39')](null)):(this[_0x17cc('0x0')][_0x17cc('0x16')]([]),this[_0x17cc('0x0')]['selectRevision'](_0x1d9aa7[0x0]));}[_0x17cc('0x3a')](){const _0x3b1b3e=this['editor'],_0x29a708=w[_0x17cc('0x30')],_0xc157e7=_0x3b1b3e[_0x17cc('0x2e')][_0x17cc('0x35')](_0x17cc('0x31'))||w[_0x17cc('0x25')];if(_0xc157e7[_0x17cc('0x22')])return _0xc157e7['map'](_0x558d09=>{const _0x37bd8f=_0x17cc('0x1c')==typeof _0x558d09?Object[_0x17cc('0x2f')]({},_0x29a708[_0x558d09]):_0x558d09;return _0x37bd8f[_0x17cc('0x1d')]=_0x37bd8f['action']['bind'](this,_0x3b1b3e),_0x37bd8f[_0x17cc('0x9')]&&(_0x37bd8f[_0x17cc('0x9')]=_0x37bd8f[_0x17cc('0x9')][_0x17cc('0x14')](this,_0x3b1b3e)),_0x37bd8f;});}}w[_0x17cc('0x30')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x563a3b},_0x479b93)=>{const _0x2bc18a=_0x563a3b['get'](_0x232b2c),_0x117c7e=_0x2bc18a['repository'];let _0x47ba32=_0x2bc18a[_0x17cc('0xc')]['newRevisionId'],_0x4e42df=_0x479b93['id'];_0x117c7e[_0x17cc('0x24')](_0x47ba32)>_0x117c7e['getIndex'](_0x4e42df)&&([_0x47ba32,_0x4e42df]=[_0x4e42df,_0x47ba32]),_0x2bc18a[_0x17cc('0xf')](_0x47ba32,_0x4e42df);},'isVisible':({plugins:_0x33ec48},_0x6ead7e)=>{const _0x54064b=_0x33ec48[_0x17cc('0x35')](_0x232b2c);return!(_0x54064b[_0x17cc('0x8')][_0x17cc('0x10')](_0x54064b[_0x17cc('0xc')])[_0x17cc('0x22')]>0x2)&&!_0x6ead7e[_0x17cc('0x15')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x459f08,{id:_0x24f994})=>{_0x459f08[_0x17cc('0x2e')][_0x17cc('0x35')]('revisionHistory')[_0x17cc('0x34')](_0x24f994);},'isVisible':({plugins:_0x3f4c78},_0x2581f4)=>!!_0x3f4c78[_0x17cc('0x35')](_0x232b2c)[_0x17cc('0x8')][_0x17cc('0x21')](_0x2581f4['id'])},'nameRevision':{'name':_0x17cc('0x2a'),'action':({plugins:_0x541f4d},{id:_0x25f26e,revisionNameView:_0x5e845a})=>{const _0xb8bd54=_0x541f4d[_0x17cc('0x35')](_0x232b2c),_0x2e9b4f=_0xb8bd54[_0x17cc('0x8')][_0x17cc('0x26')](_0x25f26e);_0xb8bd54[_0x17cc('0xf')](_0x25f26e,_0x2e9b4f),_0x5e845a['focus'](),_0x5e845a[_0x17cc('0xe')]['select']();}}},w[_0x17cc('0x25')]=['compareAgainstSelected',_0x17cc('0x33'),_0x17cc('0x18')];
23
+ const _0x4c5c=['_revisionsRepository','newRevisionId','render','Name\x20this\x20revision','destroy','availableRevisionActions','getEarlierVisibleRevision','_revisionViewer','diff','isReady','map','revisionSelected','isEnabled','selectRevision','length','_handleDiffChange','repository','string','compareAgainstSelected','listenTo','revisionHistory','get','compare','revisionSetName','_sidebarView','element','init','locale','isVisible','RevisionsSidebar','restoreRevision','remove','timePeriodViews','config','getRevisionsInDiff','assign','Restore\x20this\x20revision','highlightRevisions','defaultRevisionActions','data','action','_createRevisionActions','restoreRevisionCallback','change:diff','Compare\x20against\x20selected','isSelected','_handleRevisionSelected','appendChild','_handleEditorDataReady','add','_handleRevisionSetName','revisionHistory.viewerSidebarContainer','plugins','editor','_revisions','bind','getRevision','getLaterVisibleRevision'];(function(_0x3c305e,_0x4c5c4b){const _0x5b4603=function(_0x3a11b1){while(--_0x3a11b1){_0x3c305e['push'](_0x3c305e['shift']());}};_0x5b4603(++_0x4c5c4b);}(_0x4c5c,0x161));const _0x5b46=function(_0x3c305e,_0x4c5c4b){_0x3c305e=_0x3c305e-0x0;let _0x5b4603=_0x4c5c[_0x3c305e];return _0x5b4603;};import{Plugin as _0x54446d}from'ckeditor5/src/core';import _0x1d8f06 from'./revisionssidebarview';import _0x535fad from'../../revisionviewer';export default class w extends _0x54446d{static get['pluginName'](){return _0x5b46('0x18');}static get['requires'](){return[_0x535fad];}constructor(_0x53bf9b){super(_0x53bf9b),this[_0x5b46('0x2')]=_0x53bf9b[_0x5b46('0x2f')][_0x5b46('0x10')](_0x535fad),this[_0x5b46('0x35')]=this[_0x5b46('0x2')][_0x5b46('0xb')],this[_0x5b46('0x13')]=null;}[_0x5b46('0x15')](){const _0x24c386=this[_0x5b46('0x35')][_0x5b46('0x31')],_0x10f484=this['_createRevisionActions'](),_0x2450cd=this[_0x5b46('0x30')]['config'][_0x5b46('0x10')](_0x5b46('0x2e'));this[_0x5b46('0x13')]=new _0x1d8f06(this[_0x5b46('0x30')][_0x5b46('0x16')],_0x24c386,_0x10f484),this[_0x5b46('0x13')]['on'](_0x5b46('0x6'),this[_0x5b46('0x29')][_0x5b46('0x32')](this)),this[_0x5b46('0x13')]['on'](_0x5b46('0x12'),this[_0x5b46('0x2d')]['bind'](this)),this[_0x5b46('0x13')][_0x5b46('0x32')](_0x5b46('0x7'))['to'](this[_0x5b46('0x2')]),this[_0x5b46('0x13')][_0x5b46('0x1b')]['on'](_0x5b46('0x2c'),(_0x16f58f,_0x7a24ff)=>{_0x7a24ff['revisionViews']['on'](_0x5b46('0x2c'),(_0x1d08df,_0x5e8463)=>{_0x5e8463[_0x5b46('0x32')](_0x5b46('0x7'),_0x5b46('0x4'))['to'](this[_0x5b46('0x2')]);});}),this['_sidebarView'][_0x5b46('0x37')](),this[_0x5b46('0xe')](this[_0x5b46('0x30')][_0x5b46('0x22')],'ready',this[_0x5b46('0x2b')][_0x5b46('0x32')](this)),this[_0x5b46('0xe')](this['_revisionViewer'],_0x5b46('0x26'),this[_0x5b46('0xa')][_0x5b46('0x32')](this)),_0x2450cd[_0x5b46('0x2a')](this[_0x5b46('0x13')][_0x5b46('0x14')]);}[_0x5b46('0x39')](){this[_0x5b46('0x13')][_0x5b46('0x14')][_0x5b46('0x1a')](),this[_0x5b46('0x13')][_0x5b46('0x39')]();}['_handleEditorDataReady'](){const _0x5612aa=this[_0x5b46('0x35')][_0x5b46('0x33')](0x0);if(_0x5612aa){const _0x5afdb8=this['_revisionsRepository'][_0x5b46('0x1')](_0x5612aa['id']);this[_0x5b46('0x2')]['compare'](_0x5612aa,_0x5afdb8);}}[_0x5b46('0x29')](_0x5c4ccf,_0x224db9){const _0x4b5ac5=this['_revisionsRepository'][_0x5b46('0x33')](_0x224db9['id']),_0xff8656=this[_0x5b46('0x35')][_0x5b46('0x1')](_0x4b5ac5['id']);this['_revisionViewer']['compare'](_0x4b5ac5,_0xff8656);}['_handleRevisionSetName'](_0x36dd01,_0x2ee110){this[_0x5b46('0x35')][_0x5b46('0x33')](_0x2ee110['id'])['setName'](_0x2ee110['name']);}[_0x5b46('0xa')](_0x153cdd,_0x4bba22,_0x183662){const _0x2b6923=this[_0x5b46('0x35')][_0x5b46('0x1d')](_0x183662);_0x2b6923[_0x5b46('0x9')]>0x2?(this[_0x5b46('0x13')][_0x5b46('0x20')](_0x2b6923),this[_0x5b46('0x13')][_0x5b46('0x8')](null)):(this[_0x5b46('0x13')][_0x5b46('0x20')]([]),this['_sidebarView'][_0x5b46('0x8')](_0x2b6923[0x0]));}[_0x5b46('0x24')](){const _0x4fd006=this[_0x5b46('0x30')],_0x5e85b3=w[_0x5b46('0x0')],_0x586df1=_0x4fd006[_0x5b46('0x1c')][_0x5b46('0x10')]('revisionHistory.revisionActions')||w[_0x5b46('0x21')];if(_0x586df1[_0x5b46('0x9')])return _0x586df1[_0x5b46('0x5')](_0x308262=>{const _0x2db063=_0x5b46('0xc')==typeof _0x308262?Object[_0x5b46('0x1e')]({},_0x5e85b3[_0x308262]):_0x308262;return _0x2db063[_0x5b46('0x23')]=_0x2db063['action'][_0x5b46('0x32')](this,_0x4fd006),_0x2db063[_0x5b46('0x17')]&&(_0x2db063[_0x5b46('0x17')]=_0x2db063[_0x5b46('0x17')][_0x5b46('0x32')](this,_0x4fd006)),_0x2db063;});}}w[_0x5b46('0x0')]={'compareAgainstSelected':{'name':_0x5b46('0x27'),'action':({plugins:_0x533feb},_0x8da180)=>{const _0xf93375=_0x533feb[_0x5b46('0x10')](_0x535fad),_0x97cc3b=_0xf93375[_0x5b46('0xb')];let _0x4bb681=_0xf93375[_0x5b46('0x3')][_0x5b46('0x36')],_0xf30c38=_0x8da180['id'];_0x97cc3b['getIndex'](_0x4bb681)>_0x97cc3b['getIndex'](_0xf30c38)&&([_0x4bb681,_0xf30c38]=[_0xf30c38,_0x4bb681]),_0xf93375[_0x5b46('0x11')](_0x4bb681,_0xf30c38);},'isVisible':({plugins:_0x41ae9d},_0x2bcba8)=>{const _0x1fad91=_0x41ae9d[_0x5b46('0x10')](_0x535fad);return!(_0x1fad91[_0x5b46('0xb')]['getRevisionsInDiff'](_0x1fad91[_0x5b46('0x3')])['length']>0x2)&&!_0x2bcba8[_0x5b46('0x28')];}},'restoreRevision':{'name':_0x5b46('0x1f'),'action':(_0x5935d5,{id:_0x25b683})=>{_0x5935d5[_0x5b46('0x1c')][_0x5b46('0x10')](_0x5b46('0xf'))[_0x5b46('0x25')](_0x25b683);},'isVisible':({plugins:_0x47097c},_0x15cd94)=>!!_0x47097c[_0x5b46('0x10')](_0x535fad)['repository'][_0x5b46('0x34')](_0x15cd94['id'])},'nameRevision':{'name':_0x5b46('0x38'),'action':({plugins:_0x2c0158},{id:_0x22f7c7,revisionNameView:_0x40e81e})=>{const _0x57b4d9=_0x2c0158[_0x5b46('0x10')](_0x535fad),_0x2c8a1e=_0x57b4d9[_0x5b46('0xb')][_0x5b46('0x1')](_0x22f7c7);_0x57b4d9['compare'](_0x22f7c7,_0x2c8a1e),_0x40e81e['focus'](),_0x40e81e['fieldView']['select']();}}},w[_0x5b46('0x21')]=[_0x5b46('0xd'),_0x5b46('0x19'),'nameRevision'];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2757=['Revision\x20history','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','history','ck-reset_all','span','div'];(function(_0x23ddf2,_0x27571a){const _0x4fd107=function(_0x3d59b6){while(--_0x3d59b6){_0x23ddf2['push'](_0x23ddf2['shift']());}};_0x4fd107(++_0x27571a);}(_0x2757,0xfa));const _0x4fd1=function(_0x23ddf2,_0x27571a){_0x23ddf2=_0x23ddf2-0x0;let _0x4fd107=_0x2757[_0x23ddf2];return _0x4fd107;};import{View as _0x7bbef6,IconView as _0x3ad2ab}from'ckeditor5/src/ui';import{getTranslation as _0x3f71cc}from'../../utils/common-translations';import{icons as _0x42b368}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x7bbef6{constructor(_0x114bf9){super(_0x114bf9);const _0xc0f134=new _0x3ad2ab();_0xc0f134['content']=_0x42b368[_0x4fd1('0x5')],this['setTemplate']({'tag':_0x4fd1('0x1'),'attributes':{'class':['ck',_0x4fd1('0x6'),_0x4fd1('0x3')]},'children':[_0xc0f134,{'tag':_0x4fd1('0x0'),'attributes':{'class':['ck',_0x4fd1('0x4')]},'children':[_0x3f71cc(_0x114bf9,_0x4fd1('0x2'))]}]});}}
23
+ const _0x1ca2=['content','Revision\x20history','setTemplate','ck-reset_all','history','ck-revision-history-sidebar__header','span','ck-revision-history-sidebar__header__label'];(function(_0x426c06,_0x1ca22d){const _0x469e46=function(_0x45b0b2){while(--_0x45b0b2){_0x426c06['push'](_0x426c06['shift']());}};_0x469e46(++_0x1ca22d);}(_0x1ca2,0x17b));const _0x469e=function(_0x426c06,_0x1ca22d){_0x426c06=_0x426c06-0x0;let _0x469e46=_0x1ca2[_0x426c06];return _0x469e46;};import{View as _0x160a06,IconView as _0x5458b3}from'ckeditor5/src/ui';import{getTranslation as _0x32d558}from'../../utils/common-translations';import{icons as _0x33a4d4}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x160a06{constructor(_0x595318){super(_0x595318);const _0x4ffa7b=new _0x5458b3();_0x4ffa7b[_0x469e('0x5')]=_0x33a4d4[_0x469e('0x1')],this[_0x469e('0x7')]({'tag':'div','attributes':{'class':['ck',_0x469e('0x0'),_0x469e('0x2')]},'children':[_0x4ffa7b,{'tag':_0x469e('0x3'),'attributes':{'class':['ck',_0x469e('0x4')]},'children':[_0x32d558(_0x595318,_0x469e('0x6'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18c1=['removeRevision','startDate','localizedPeriodName','div','ck-revision-history-sidebar__time-period','_revisionActions','createCollection','select','locale','setName','uiLanguage','ck-revision-history-sidebar__time-period__revisions','remove','addRevision','delegate','ck-revision-history-sidebar__time-period__label','revisionViews'];(function(_0xdbf4d0,_0x18c101){const _0x4bc6c7=function(_0x4bbbc6){while(--_0x4bbbc6){_0xdbf4d0['push'](_0xdbf4d0['shift']());}};_0x4bc6c7(++_0x18c101);}(_0x18c1,0x9d));const _0x4bc6=function(_0xdbf4d0,_0x18c101){_0xdbf4d0=_0xdbf4d0-0x0;let _0x4bc6c7=_0x18c1[_0xdbf4d0];return _0x4bc6c7;};import{View as _0x46aafc}from'ckeditor5/src/ui';import _0x4e5a1a from'../revision/revisionview';import{getDateTimePeriodInfo as _0xb841f8}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x46aafc{constructor(_0x3897ab,_0x38358b,_0x934f35){super(_0x3897ab);const _0x4292d0=_0xb841f8(_0x38358b,this[_0x4bc6('0x4')][_0x4bc6('0x6')])[_0x4bc6('0xf')];this[_0x4bc6('0xe')]=_0x38358b,this[_0x4bc6('0xc')]=this[_0x4bc6('0x2')](),this[_0x4bc6('0x1')]=_0x934f35,this[_0x4bc6('0xc')]['delegate'](_0x4bc6('0x3'))['to'](this),this[_0x4bc6('0xc')][_0x4bc6('0xa')](_0x4bc6('0x5'))['to'](this),this['setTemplate']({'tag':_0x4bc6('0x10'),'attributes':{'class':['ck',_0x4bc6('0x0')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x4bc6('0xb')]},'children':[{'text':_0x4292d0}]},{'tag':_0x4bc6('0x10'),'attributes':{'class':['ck',_0x4bc6('0x7')]},'children':this[_0x4bc6('0xc')]}]});}[_0x4bc6('0x9')](_0x42cb38){const _0x5bfcc1=new _0x4e5a1a(this['locale'],_0x42cb38,this[_0x4bc6('0x1')]);this[_0x4bc6('0xc')]['add'](_0x5bfcc1);}[_0x4bc6('0xd')](_0x144d18){const _0xe9a41=this['revisionViews']['find'](_0x18221e=>_0x18221e['id']===_0x144d18['id']);this['revisionViews'][_0x4bc6('0x8')](_0xe9a41);}}
23
+ const _0x3fff=['setName','localizedPeriodName','div','removeRevision','ck-revision-history-sidebar__time-period__label','uiLanguage','_revisionActions','createCollection','locale','add','addRevision','revisionViews','find','remove','ck-revision-history-sidebar__time-period'];(function(_0x38c2d6,_0x3fff78){const _0x573a1d=function(_0x2fad33){while(--_0x2fad33){_0x38c2d6['push'](_0x38c2d6['shift']());}};_0x573a1d(++_0x3fff78);}(_0x3fff,0x152));const _0x573a=function(_0x38c2d6,_0x3fff78){_0x38c2d6=_0x38c2d6-0x0;let _0x573a1d=_0x3fff[_0x38c2d6];return _0x573a1d;};import{View as _0x3ad9a7}from'ckeditor5/src/ui';import _0x31e117 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x2112d1}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x3ad9a7{constructor(_0x169cf2,_0x1d6e0c,_0x2a5d76){super(_0x169cf2);const _0x59e7a0=_0x2112d1(_0x1d6e0c,this[_0x573a('0x0')][_0x573a('0xc')])[_0x573a('0x8')];this['startDate']=_0x1d6e0c,this['revisionViews']=this[_0x573a('0xe')](),this[_0x573a('0xd')]=_0x2a5d76,this[_0x573a('0x3')]['delegate']('select')['to'](this),this[_0x573a('0x3')]['delegate'](_0x573a('0x7'))['to'](this),this['setTemplate']({'tag':_0x573a('0x9'),'attributes':{'class':['ck',_0x573a('0x6')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x573a('0xb')]},'children':[{'text':_0x59e7a0}]},{'tag':_0x573a('0x9'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}[_0x573a('0x2')](_0x472f0d){const _0xf0e517=new _0x31e117(this[_0x573a('0x0')],_0x472f0d,this[_0x573a('0xd')]);this[_0x573a('0x3')][_0x573a('0x1')](_0xf0e517);}[_0x573a('0xa')](_0x56e562){const _0x5640a4=this[_0x573a('0x3')][_0x573a('0x4')](_0x5bdb52=>_0x5bdb52['id']===_0x56e562['id']);this[_0x573a('0x3')][_0x573a('0x5')](_0x5640a4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x65d3=['some','revisionSetName','ck-revision-history-sidebar','getTime','ck-disabled','_getTimePeriodViewByStartDate','_revisions','removeRevision','ck-reset','setTemplate','highlight','_addRevision','get','delegate','createdAt','_removeRevision','ck-rounded-corners','timePeriodViews','locale','deselect','render','map','ck-revision-history-sidebar__timeline','highlightRevisions','remove','createCollection','_revisionActions','setName','set','add','select','div','isEnabled','startDate','revisionViews','selectRevision','uiLanguage','addRevision','fire'];(function(_0x3db4a5,_0x65d3eb){const _0x434b2=function(_0x573add){while(--_0x573add){_0x3db4a5['push'](_0x3db4a5['shift']());}};_0x434b2(++_0x65d3eb);}(_0x65d3,0x167));const _0x434b=function(_0x3db4a5,_0x65d3eb){_0x3db4a5=_0x3db4a5-0x0;let _0x434b2=_0x65d3[_0x3db4a5];return _0x434b2;};import{View as _0x1fdd4c}from'ckeditor5/src/ui';import _0x3a2131 from'./revisionssidebartimeperiodview';import _0x3f7325 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x4ecbaa}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1fdd4c{constructor(_0x158364,_0x10d662,_0xf370d){super(_0x158364);const _0x59a4ac=this['bindTemplate'];this['timePeriodViews']=this[_0x434b('0x11')](),this[_0x434b('0x9')][_0x434b('0x5')]('select')['to'](this),this[_0x434b('0x9')][_0x434b('0x5')]('setName')['to'](this),this[_0x434b('0x25')]=_0x10d662,this['_revisionActions']=_0xf370d,this['on'](_0x434b('0x16'),(_0x34bc2f,_0x7649ea)=>{this[_0x434b('0x1e')]('revisionSelected',_0x7649ea);}),this['on'](_0x434b('0x13'),(_0xf3ee80,_0x10fb9b)=>{this[_0x434b('0x1e')](_0x434b('0x20'),_0x10fb9b);}),this[_0x434b('0x14')](_0x434b('0x18'),!0x1),this[_0x434b('0x1')]({'tag':'div','attributes':{'class':['ck',_0x434b('0x0'),_0x434b('0x8'),_0x434b('0x21')]},'children':[new _0x3f7325(_0x158364),{'tag':_0x434b('0x17'),'attributes':{'class':['ck',_0x434b('0xe'),_0x59a4ac['if'](_0x434b('0x18'),_0x434b('0x23'),_0x3ee4a6=>!_0x3ee4a6)]},'children':this[_0x434b('0x9')]}]});}[_0x434b('0xc')](){super['render']();for(const _0x479bb1 of this[_0x434b('0x25')])this[_0x434b('0x3')](_0x479bb1);this['_revisions']['on'](_0x434b('0x15'),(_0x1ddf6e,_0x123d54)=>{this[_0x434b('0x3')](_0x123d54);}),this[_0x434b('0x25')]['on'](_0x434b('0x10'),(_0x3e6f3e,_0x4f2614)=>{this[_0x434b('0x7')](_0x4f2614);});}get[_0x434b('0x1a')](){return this[_0x434b('0x9')]['map'](_0x408351=>_0x408351[_0x434b('0x1a')][_0x434b('0xd')](_0x10dceb=>_0x10dceb))['flat']();}[_0x434b('0x1b')](_0x557a7){for(const _0x4c1bb3 of this[_0x434b('0x1a')])_0x557a7&&_0x557a7['id']===_0x4c1bb3['id']?_0x4c1bb3[_0x434b('0x16')]():_0x4c1bb3[_0x434b('0xb')]();}[_0x434b('0xf')](_0x7dad3b){for(const _0x452e9f of this[_0x434b('0x1a')])_0x7dad3b[_0x434b('0x1f')](({id:_0x23a400})=>_0x23a400===_0x452e9f['id'])?_0x452e9f[_0x434b('0x2')]():_0x452e9f['unhighlight']();}['_addRevision'](_0x3687e6){const _0x2520ac=_0x4ecbaa(_0x3687e6[_0x434b('0x6')],this['locale'][_0x434b('0x1c')])[_0x434b('0x19')];let _0x367fb8=this['timePeriodViews'][_0x434b('0x4')](0x0);_0x367fb8&&_0x367fb8[_0x434b('0x19')][_0x434b('0x22')]()===_0x2520ac[_0x434b('0x22')]()||(_0x367fb8=new _0x3a2131(this['locale'],_0x2520ac,this[_0x434b('0x12')]),this[_0x434b('0x9')]['add'](_0x367fb8)),_0x367fb8[_0x434b('0x1d')](_0x3687e6);}['_removeRevision'](_0x570df1){const _0x46bb6b=_0x4ecbaa(_0x570df1[_0x434b('0x6')],this[_0x434b('0xa')][_0x434b('0x1c')])[_0x434b('0x19')];this[_0x434b('0x24')](_0x46bb6b)[_0x434b('0x26')](_0x570df1);}[_0x434b('0x24')](_0x21ba50){return this[_0x434b('0x9')]['find'](_0x309eb7=>_0x309eb7['startDate'][_0x434b('0x22')]()===_0x21ba50['getTime']());}}
23
+ const _0x1553=['add','removeRevision','deselect','delegate','createCollection','div','_revisionActions','createdAt','_revisions','revisionSetName','fire','startDate','ck-reset','ck-revision-history-sidebar__timeline','bindTemplate','map','revisionSelected','ck-revision-history-sidebar','addRevision','get','highlightRevisions','_addRevision','ck-disabled','render','find','set','_removeRevision','getTime','locale','ck-rounded-corners','_getTimePeriodViewByStartDate','unhighlight','select','uiLanguage','isEnabled','setName','revisionViews','selectRevision','timePeriodViews','setTemplate'];(function(_0x219afd,_0x155337){const _0x1fd25d=function(_0x6a081e){while(--_0x6a081e){_0x219afd['push'](_0x219afd['shift']());}};_0x1fd25d(++_0x155337);}(_0x1553,0xf1));const _0x1fd2=function(_0x219afd,_0x155337){_0x219afd=_0x219afd-0x0;let _0x1fd25d=_0x1553[_0x219afd];return _0x1fd25d;};import{View as _0x2fd6fc}from'ckeditor5/src/ui';import _0xb1a506 from'./revisionssidebartimeperiodview';import _0x3bf3bd from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x39d341}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x2fd6fc{constructor(_0x17d920,_0x93dc2c,_0x20be1f){super(_0x17d920);const _0x3bc0e0=this[_0x1fd2('0xd')];this['timePeriodViews']=this[_0x1fd2('0x3')](),this['timePeriodViews'][_0x1fd2('0x2')]('select')['to'](this),this[_0x1fd2('0x25')][_0x1fd2('0x2')](_0x1fd2('0x22'))['to'](this),this[_0x1fd2('0x7')]=_0x93dc2c,this[_0x1fd2('0x5')]=_0x20be1f,this['on'](_0x1fd2('0x1f'),(_0x582e8e,_0x4bf0b7)=>{this[_0x1fd2('0x9')](_0x1fd2('0xf'),_0x4bf0b7);}),this['on'](_0x1fd2('0x22'),(_0x6fb124,_0x355df2)=>{this[_0x1fd2('0x9')](_0x1fd2('0x8'),_0x355df2);}),this[_0x1fd2('0x18')](_0x1fd2('0x21'),!0x1),this[_0x1fd2('0x26')]({'tag':_0x1fd2('0x4'),'attributes':{'class':['ck',_0x1fd2('0xb'),_0x1fd2('0x1c'),_0x1fd2('0x10')]},'children':[new _0x3bf3bd(_0x17d920),{'tag':_0x1fd2('0x4'),'attributes':{'class':['ck',_0x1fd2('0xc'),_0x3bc0e0['if'](_0x1fd2('0x21'),_0x1fd2('0x15'),_0x3103c2=>!_0x3103c2)]},'children':this['timePeriodViews']}]});}[_0x1fd2('0x16')](){super[_0x1fd2('0x16')]();for(const _0x47ef10 of this[_0x1fd2('0x7')])this['_addRevision'](_0x47ef10);this['_revisions']['on'](_0x1fd2('0x27'),(_0x29d946,_0x641dce)=>{this[_0x1fd2('0x14')](_0x641dce);}),this[_0x1fd2('0x7')]['on']('remove',(_0x1adfae,_0x59e1ee)=>{this[_0x1fd2('0x19')](_0x59e1ee);});}get[_0x1fd2('0x23')](){return this[_0x1fd2('0x25')][_0x1fd2('0xe')](_0x203623=>_0x203623[_0x1fd2('0x23')][_0x1fd2('0xe')](_0x4672f3=>_0x4672f3))['flat']();}[_0x1fd2('0x24')](_0x87b9e4){for(const _0x1951e3 of this[_0x1fd2('0x23')])_0x87b9e4&&_0x87b9e4['id']===_0x1951e3['id']?_0x1951e3['select']():_0x1951e3[_0x1fd2('0x1')]();}[_0x1fd2('0x13')](_0x5aa643){for(const _0x174607 of this[_0x1fd2('0x23')])_0x5aa643['some'](({id:_0x7f88b1})=>_0x7f88b1===_0x174607['id'])?_0x174607['highlight']():_0x174607[_0x1fd2('0x1e')]();}[_0x1fd2('0x14')](_0x7fd29a){const _0x541c43=_0x39d341(_0x7fd29a[_0x1fd2('0x6')],this['locale'][_0x1fd2('0x20')])[_0x1fd2('0xa')];let _0x34cffd=this[_0x1fd2('0x25')][_0x1fd2('0x12')](0x0);_0x34cffd&&_0x34cffd[_0x1fd2('0xa')][_0x1fd2('0x1a')]()===_0x541c43['getTime']()||(_0x34cffd=new _0xb1a506(this[_0x1fd2('0x1b')],_0x541c43,this['_revisionActions']),this[_0x1fd2('0x25')][_0x1fd2('0x27')](_0x34cffd)),_0x34cffd[_0x1fd2('0x11')](_0x7fd29a);}[_0x1fd2('0x19')](_0x534370){const _0x41b0ff=_0x39d341(_0x534370[_0x1fd2('0x6')],this[_0x1fd2('0x1b')][_0x1fd2('0x20')])[_0x1fd2('0xa')];this[_0x1fd2('0x1d')](_0x41b0ff)[_0x1fd2('0x0')](_0x534370);}[_0x1fd2('0x1d')](_0x1f2660){return this[_0x1fd2('0x25')][_0x1fd2('0x17')](_0x2cce12=>_0x2cce12[_0x1fd2('0xa')][_0x1fd2('0x1a')]()===_0x1f2660[_0x1fd2('0x1a')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4029=['year','toRelativeCalendar','toJSDate','hasSame','weekdayLong','week','month','fromJSDate','startOf','day','setLocale','monthLong'];(function(_0x42dd56,_0x40291e){const _0x257adc=function(_0x13aa25){while(--_0x13aa25){_0x42dd56['push'](_0x42dd56['shift']());}};_0x257adc(++_0x40291e);}(_0x4029,0x17d));const _0x257a=function(_0x42dd56,_0x40291e){_0x42dd56=_0x42dd56-0x0;let _0x257adc=_0x4029[_0x42dd56];return _0x257adc;};import{DateTime as _0x311369}from'luxon';export function getDateTimePeriodInfo(_0x8f0ec4,_0x5357b5){const _0x14cf26=_0x311369[_0x257a('0xa')](_0x8f0ec4)[_0x257a('0x1')](_0x5357b5),_0x38a5ac=_0x311369['local'](),_0x5864be=_0x38a5ac['minus']({'days':0x1})['startOf'](_0x257a('0x0'));let _0x14b96c,_0xb2b509;return _0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x0'))?(_0x14b96c=_0x14cf26['startOf'](_0x257a('0x0'))['toJSDate'](),_0xb2b509=_0x14cf26[_0x257a('0x4')]()):_0x14cf26[_0x257a('0x6')](_0x5864be,'day')?(_0x14b96c=_0x5864be[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x4')]()):_0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x8'))?(_0x14b96c=_0x14cf26['startOf'](_0x257a('0x8'))[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x7')]||''):_0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x3'))?(_0x14b96c=_0x14cf26[_0x257a('0xb')](_0x257a('0x9'))[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x2')]||''):(_0x14b96c=_0x14cf26[_0x257a('0xb')](_0x257a('0x3'))[_0x257a('0x5')](),_0xb2b509=String(_0x14cf26[_0x257a('0x3')])),{'startDate':_0x14b96c,'localizedPeriodName':_0xb2b509};}
23
+ const _0x4f03=['local','toJSDate','year','monthLong','week','setLocale','toRelativeCalendar','startOf','day','fromJSDate','hasSame','month'];(function(_0x14373f,_0x4f0393){const _0x41aa07=function(_0x16b1f0){while(--_0x16b1f0){_0x14373f['push'](_0x14373f['shift']());}};_0x41aa07(++_0x4f0393);}(_0x4f03,0xb8));const _0x41aa=function(_0x14373f,_0x4f0393){_0x14373f=_0x14373f-0x0;let _0x41aa07=_0x4f03[_0x14373f];return _0x41aa07;};import{DateTime as _0x15de74}from'luxon';export function getDateTimePeriodInfo(_0x4f8af9,_0x5a4d45){const _0x2f3c11=_0x15de74[_0x41aa('0x5')](_0x4f8af9)[_0x41aa('0x1')](_0x5a4d45),_0x5bb9ff=_0x15de74[_0x41aa('0x8')](),_0x3988dc=_0x5bb9ff['minus']({'days':0x1})[_0x41aa('0x3')](_0x41aa('0x4'));let _0x50aacd,_0x5461e6;return _0x2f3c11[_0x41aa('0x6')](_0x5bb9ff,'day')?(_0x50aacd=_0x2f3c11['startOf'](_0x41aa('0x4'))[_0x41aa('0x9')](),_0x5461e6=_0x2f3c11[_0x41aa('0x2')]()):_0x2f3c11['hasSame'](_0x3988dc,_0x41aa('0x4'))?(_0x50aacd=_0x3988dc[_0x41aa('0x9')](),_0x5461e6=_0x2f3c11[_0x41aa('0x2')]()):_0x2f3c11[_0x41aa('0x6')](_0x5bb9ff,_0x41aa('0x0'))?(_0x50aacd=_0x2f3c11[_0x41aa('0x3')](_0x41aa('0x0'))[_0x41aa('0x9')](),_0x5461e6=_0x2f3c11['weekdayLong']||''):_0x2f3c11[_0x41aa('0x6')](_0x5bb9ff,_0x41aa('0xa'))?(_0x50aacd=_0x2f3c11['startOf'](_0x41aa('0x7'))[_0x41aa('0x9')](),_0x5461e6=_0x2f3c11[_0x41aa('0xb')]||''):(_0x50aacd=_0x2f3c11[_0x41aa('0x3')](_0x41aa('0xa'))[_0x41aa('0x9')](),_0x5461e6=String(_0x2f3c11[_0x41aa('0xa')])),{'startDate':_0x50aacd,'localizedPeriodName':_0x5461e6};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5618=['bindTemplate','Removed\x20by','set','author','setTemplate','add','name','isSuggestion','Suggested\x20by','data','focus','ck-revision-change','type','span','ck-revision-change__label','ck-annotation','div'];(function(_0x49f590,_0x5618dd){const _0x521279=function(_0x2a20c0){while(--_0x2a20c0){_0x49f590['push'](_0x49f590['shift']());}};_0x521279(++_0x5618dd);}(_0x5618,0x19a));const _0x5212=function(_0x49f590,_0x5618dd){_0x49f590=_0x49f590-0x0;let _0x521279=_0x5618[_0x49f590];return _0x521279;};import{View as _0x24abd5}from'ckeditor5/src/ui';import{getTranslation as _0x3ebc20}from'../../utils/common-translations';export default class Z extends _0x24abd5{constructor(_0x562f3b,_0x7ae782){super(_0x562f3b),this['_model']=_0x7ae782,this['changeId']=_0x7ae782['id'];const _0x30d3a8=this[_0x5212('0xf')],_0x463c5b=_0x3ebc20(_0x562f3b,_0x7ae782[_0x5212('0x7')][_0x5212('0x5')]?_0x5212('0x6'):_0x5212('0x3')==_0x7ae782[_0x5212('0xa')]?'Added\x20by':_0x5212('0x10'));this[_0x5212('0x0')](_0x5212('0xa'),_0x7ae782[_0x5212('0xa')]),this[_0x5212('0x2')]({'tag':_0x5212('0xe'),'attributes':{'class':[_0x5212('0xd'),_0x5212('0x9'),_0x30d3a8['to']('type',_0x10064e=>'ck-revision-change__'+_0x10064e)],'tabindex':-0x1},'children':[{'tag':_0x5212('0xb'),'children':[{'tag':'span','attributes':{'class':[_0x5212('0xc')]},'children':[{'text':_0x463c5b}]},{'text':'\x20'+_0x7ae782[_0x5212('0x1')][_0x5212('0x4')]}]}]});}[_0x5212('0x8')](){this['element'][_0x5212('0x8')]();}}
23
+ const _0x50d9=['_model','name','ck-revision-change__label','focus','data','element','add','author','changeId','bindTemplate','Added\x20by','span','set','setTemplate','ck-revision-change','div','type','isSuggestion','ck-revision-change__','ck-annotation'];(function(_0x191a9f,_0x50d9c7){const _0x239fa7=function(_0x8a9eaa){while(--_0x8a9eaa){_0x191a9f['push'](_0x191a9f['shift']());}};_0x239fa7(++_0x50d9c7);}(_0x50d9,0xcd));const _0x239f=function(_0x191a9f,_0x50d9c7){_0x191a9f=_0x191a9f-0x0;let _0x239fa7=_0x50d9[_0x191a9f];return _0x239fa7;};import{View as _0x1c17b5}from'ckeditor5/src/ui';import{getTranslation as _0x4016ff}from'../../utils/common-translations';export default class Z extends _0x1c17b5{constructor(_0x5dbf39,_0x3d59be){super(_0x5dbf39),this[_0x239f('0xf')]=_0x3d59be,this[_0x239f('0x3')]=_0x3d59be['id'];const _0x25aadd=this[_0x239f('0x4')],_0x2867a9=_0x4016ff(_0x5dbf39,_0x3d59be[_0x239f('0x13')][_0x239f('0xc')]?'Suggested\x20by':_0x239f('0x1')==_0x3d59be[_0x239f('0xb')]?_0x239f('0x5'):'Removed\x20by');this[_0x239f('0x7')](_0x239f('0xb'),_0x3d59be[_0x239f('0xb')]),this[_0x239f('0x8')]({'tag':_0x239f('0xa'),'attributes':{'class':[_0x239f('0xe'),_0x239f('0x9'),_0x25aadd['to'](_0x239f('0xb'),_0x3dbcf4=>_0x239f('0xd')+_0x3dbcf4)],'tabindex':-0x1},'children':[{'tag':_0x239f('0x6'),'children':[{'tag':_0x239f('0x6'),'attributes':{'class':[_0x239f('0x11')]},'children':[{'text':_0x2867a9}]},{'text':'\x20'+_0x3d59be[_0x239f('0x2')][_0x239f('0x10')]}]}]});}[_0x239f('0x12')](){this[_0x239f('0x0')][_0x239f('0x12')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x344c=['fire','isBackwardNavigationEnabled','backward','isForwardNavigationEnabled','isReady','isNavigationMode','div','Loading...','Total','numberOfChanges','_statusText','set','No\x20changes','X_OF_Y_CHANGES','isEnabled','execute','Show\x20previous\x20change','Show\x20next\x20change','bindTemplate','currentChangeNumber','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation','bind','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui','span'];(function(_0x52c789,_0x344cf9){const _0x23c11a=function(_0x5c4c3e){while(--_0x5c4c3e){_0x52c789['push'](_0x52c789['shift']());}};_0x23c11a(++_0x344cf9);}(_0x344c,0x1c0));const _0x23c1=function(_0x52c789,_0x344cf9){_0x52c789=_0x52c789-0x0;let _0x23c11a=_0x344c[_0x52c789];return _0x23c11a;};import{View as _0x487f18,ButtonView as _0x304ec8,ToolbarSeparatorView as _0x4d443c}from'ckeditor5/src/ui';import{getTranslation as _0x3b0b5b}from'../../utils/common-translations';import _0x56ff4 from'../../../theme/icons/arrow-up.svg';import _0x1cc724 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x487f18{constructor(_0x573572){super(_0x573572);const _0x1885c3=this[_0x23c1('0x2')],_0x5a5083=new _0x304ec8(_0x573572),_0x47f6bc=new _0x304ec8(_0x573572);this[_0x23c1('0x16')](_0x23c1('0x10'),!0x1),this[_0x23c1('0x16')](_0x23c1('0xf'),!0x1),this[_0x23c1('0x16')](_0x23c1('0x3'),0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this[_0x23c1('0x16')](_0x23c1('0xc'),!0x1),this[_0x23c1('0x6')](_0x23c1('0x4'))['to'](this,_0x23c1('0xf'),this,_0x23c1('0x14'),(_0x342fd0,_0x5681d2)=>_0x342fd0&&_0x5681d2>0x0),this['bind'](_0x23c1('0x15'))['to'](this,_0x23c1('0xf'),this,_0x23c1('0x3'),this,_0x23c1('0x14'),this,_0x23c1('0x10'),(_0x2f1d76,_0x53f1d2,_0x50aefd,_0xc115e0)=>{if(!_0x2f1d76)return _0x3b0b5b(_0x573572,_0x23c1('0x12'));if(!_0x50aefd)return _0x3b0b5b(_0x573572,_0x23c1('0x17'));const _0x15735c=_0x3b0b5b(_0x573572,'NUMBER_OF_CHANGES',_0x50aefd);return _0xc115e0?_0x3b0b5b(_0x573572,_0x23c1('0x18'),[_0x53f1d2+0x1,_0x50aefd]):_0x15735c;}),_0x5a5083['set']({'label':_0x3b0b5b(_0x573572,_0x23c1('0x0')),'tooltip':!0x0,'icon':_0x56ff4}),_0x47f6bc[_0x23c1('0x16')]({'label':_0x3b0b5b(_0x573572,_0x23c1('0x1')),'tooltip':!0x0,'icon':_0x1cc724}),_0x5a5083[_0x23c1('0x6')](_0x23c1('0x19'))['to'](this,'isBackwardNavigationEnabled'),_0x47f6bc[_0x23c1('0x6')](_0x23c1('0x19'))['to'](this,_0x23c1('0xe')),_0x5a5083['on'](_0x23c1('0x1a'),()=>this[_0x23c1('0xb')](_0x23c1('0x1a'),_0x23c1('0xd'))),_0x47f6bc['on'](_0x23c1('0x1a'),()=>this[_0x23c1('0xb')](_0x23c1('0x1a'),'forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x23c1('0x9'),_0x23c1('0x5')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':_0x23c1('0xa'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x1885c3['if'](_0x23c1('0x4'),'ck-hidden',_0x513221=>!_0x513221)]},'children':[{'text':_0x1885c3['to'](_0x23c1('0x10'),_0x5a026d=>_0x5a026d?_0x3b0b5b(_0x573572,_0x23c1('0x8'))+':\x20':_0x3b0b5b(_0x573572,_0x23c1('0x13'))+':\x20')}]},{'text':_0x1885c3['to'](_0x23c1('0x15'))}]},new _0x4d443c(),{'tag':_0x23c1('0x11'),'attributes':{'class':[_0x23c1('0x7')]},'children':[_0x5a5083,_0x47f6bc]}]});}}
23
+ const _0x9412=['execute','currentChangeNumber','div','Total','span','Loading...','_statusText','isBackwardNavigationEnabled','_isStatusLabelVisible','Show\x20previous\x20change','set','isEnabled','ck-revision-history-ui__changes-navigation__wrapper','numberOfChanges','NUMBER_OF_CHANGES','bind','EDIT_X_OF_Y_REVISIONS','isReady','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__navigation','isNavigationMode','isForwardNavigationEnabled','forward','ck-revision-history-ui__changes-navigation','ck-hidden','bindTemplate','ck-revision-history-ui__changes-navigation__label'];(function(_0x4f4272,_0x9412d0){const _0x580e89=function(_0x2d032f){while(--_0x2d032f){_0x4f4272['push'](_0x4f4272['shift']());}};_0x580e89(++_0x9412d0);}(_0x9412,0x1b1));const _0x580e=function(_0x4f4272,_0x9412d0){_0x4f4272=_0x4f4272-0x0;let _0x580e89=_0x9412[_0x4f4272];return _0x580e89;};import{View as _0x3ce56e,ButtonView as _0x44efd3,ToolbarSeparatorView as _0x579b44}from'ckeditor5/src/ui';import{getTranslation as _0x4b663b}from'../../utils/common-translations';import _0x400b05 from'../../../theme/icons/arrow-up.svg';import _0x450313 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x3ce56e{constructor(_0x5c5076){super(_0x5c5076);const _0x911ed8=this[_0x580e('0x18')],_0xfc5558=new _0x44efd3(_0x5c5076),_0x5bb83d=new _0x44efd3(_0x5c5076);this[_0x580e('0x9')](_0x580e('0x13'),!0x1),this['set']('isReady',!0x1),this[_0x580e('0x9')](_0x580e('0x0'),0x0),this[_0x580e('0x9')](_0x580e('0xc'),0x0),this[_0x580e('0x9')](_0x580e('0x14'),!0x1),this[_0x580e('0x9')](_0x580e('0x6'),!0x1),this[_0x580e('0xe')](_0x580e('0x7'))['to'](this,_0x580e('0x10'),this,_0x580e('0xc'),(_0x4d6e04,_0x5b963b)=>_0x4d6e04&&_0x5b963b>0x0),this['bind'](_0x580e('0x5'))['to'](this,_0x580e('0x10'),this,'currentChangeNumber',this,_0x580e('0xc'),this,'isNavigationMode',(_0x514a2d,_0x5ac403,_0x42f13d,_0x341325)=>{if(!_0x514a2d)return _0x4b663b(_0x5c5076,_0x580e('0x4'));if(!_0x42f13d)return _0x4b663b(_0x5c5076,'No\x20changes');const _0x4a1210=_0x4b663b(_0x5c5076,_0x580e('0xd'),_0x42f13d);return _0x341325?_0x4b663b(_0x5c5076,'X_OF_Y_CHANGES',[_0x5ac403+0x1,_0x42f13d]):_0x4a1210;}),_0xfc5558[_0x580e('0x9')]({'label':_0x4b663b(_0x5c5076,_0x580e('0x8')),'tooltip':!0x0,'icon':_0x400b05}),_0x5bb83d[_0x580e('0x9')]({'label':_0x4b663b(_0x5c5076,_0x580e('0x11')),'tooltip':!0x0,'icon':_0x450313}),_0xfc5558[_0x580e('0xe')](_0x580e('0xa'))['to'](this,_0x580e('0x6')),_0x5bb83d[_0x580e('0xe')](_0x580e('0xa'))['to'](this,_0x580e('0x14')),_0xfc5558['on'](_0x580e('0x1a'),()=>this['fire']('execute','backward')),_0x5bb83d['on'](_0x580e('0x1a'),()=>this['fire'](_0x580e('0x1a'),_0x580e('0x15'))),this['setTemplate']({'tag':_0x580e('0x1'),'attributes':{'class':['ck','ck-revision-history-ui',_0x580e('0x16')]},'children':[{'tag':_0x580e('0x3'),'attributes':{'class':[_0x580e('0xb')]},'children':[{'tag':_0x580e('0x3'),'attributes':{'class':[_0x580e('0x19'),_0x911ed8['if'](_0x580e('0x7'),_0x580e('0x17'),_0x539b28=>!_0x539b28)]},'children':[{'text':_0x911ed8['to'](_0x580e('0x13'),_0x51ff45=>_0x51ff45?_0x4b663b(_0x5c5076,_0x580e('0xf'))+':\x20':_0x4b663b(_0x5c5076,_0x580e('0x2'))+':\x20')}]},{'text':_0x911ed8['to'](_0x580e('0x5'))}]},new _0x579b44(),{'tag':'div','attributes':{'class':[_0x580e('0x12')]},'children':[_0xfc5558,_0x5bb83d]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40aa=['pluginName','ck-editor__editable__loading-overlay','change','roots','editing','RevisionViewerLoadingOverlay','hide','addClass','editor','document','view'];(function(_0x323533,_0x40aa6b){const _0x27aca8=function(_0x572b95){while(--_0x572b95){_0x323533['push'](_0x323533['shift']());}};_0x27aca8(++_0x40aa6b);}(_0x40aa,0x137));const _0x27ac=function(_0x323533,_0x40aa6b){_0x323533=_0x323533-0x0;let _0x27aca8=_0x40aa[_0x323533];return _0x27aca8;};import{Plugin as _0x4e37d5}from'ckeditor5/src/core';const oe=_0x27ac('0x9');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4e37d5{static get[_0x27ac('0x8')](){return _0x27ac('0x2');}['show'](){const _0x423968=this[_0x27ac('0x5')][_0x27ac('0x1')]['view'];_0x423968['change'](_0x1ad78d=>{for(const _0x5e221b of _0x423968[_0x27ac('0x6')][_0x27ac('0x0')])_0x1ad78d[_0x27ac('0x4')](oe,_0x5e221b);});}[_0x27ac('0x3')](){const _0x248e8c=this['editor'][_0x27ac('0x1')][_0x27ac('0x7')];_0x248e8c[_0x27ac('0xa')](_0x41ad1e=>{for(const _0x2b61fc of _0x248e8c[_0x27ac('0x6')][_0x27ac('0x0')])_0x41ad1e['removeClass'](oe,_0x2b61fc);});}}
23
+ const _0xfe22=['ck-editor__editable__loading-overlay','view','pluginName','change','roots','document','editor','hide','addClass','removeClass','editing','RevisionViewerLoadingOverlay','show'];(function(_0x1c3fd1,_0xfe22b7){const _0x1b8bd0=function(_0x2a2039){while(--_0x2a2039){_0x1c3fd1['push'](_0x1c3fd1['shift']());}};_0x1b8bd0(++_0xfe22b7);}(_0xfe22,0xda));const _0x1b8b=function(_0x1c3fd1,_0xfe22b7){_0x1c3fd1=_0x1c3fd1-0x0;let _0x1b8bd0=_0xfe22[_0x1c3fd1];return _0x1b8bd0;};import{Plugin as _0x270bbf}from'ckeditor5/src/core';const oe=_0x1b8b('0x3');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x270bbf{static get[_0x1b8b('0x5')](){return _0x1b8b('0x1');}[_0x1b8b('0x2')](){const _0x162943=this['editor'][_0x1b8b('0x0')][_0x1b8b('0x4')];_0x162943['change'](_0x352ac7=>{for(const _0x355441 of _0x162943[_0x1b8b('0x8')][_0x1b8b('0x7')])_0x352ac7[_0x1b8b('0xb')](oe,_0x355441);});}[_0x1b8b('0xa')](){const _0x448133=this[_0x1b8b('0x9')][_0x1b8b('0x0')][_0x1b8b('0x4')];_0x448133[_0x1b8b('0x6')](_0x10df57=>{for(const _0x4bd488 of _0x448133[_0x1b8b('0x8')][_0x1b8b('0x7')])_0x10df57[_0x1b8b('0xc')](oe,_0x4bd488);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe8=['componentFactory','revisionHistory','forward','showNextChange','change:isReady','plugins','requires','showPreviousChange','commands','isEnabled','ck-revision-history-ui__back-to-editing','bind','isForwardNavigationEnabled','get','init','execute','numberOfChanges','changesNavigation','listenTo','hide','editor','RevisionViewerUI','config','isNavigationMode','isReady','set','show','exitToEditing','add'];(function(_0x3584f5,_0x2fe89d){const _0x3c5ad1=function(_0x3854b6){while(--_0x3854b6){_0x3584f5['push'](_0x3584f5['shift']());}};_0x3c5ad1(++_0x2fe89d);}(_0x2fe8,0x145));const _0x3c5a=function(_0x3584f5,_0x2fe89d){_0x3584f5=_0x3584f5-0x0;let _0x3c5ad1=_0x2fe8[_0x3584f5];return _0x3c5ad1;};import{Plugin as _0x1362ec}from'ckeditor5/src/core';import{ButtonView as _0x2ef211}from'ckeditor5/src/ui';import _0x252577 from'./changesnavigationview';import _0x5ec261 from'./../../revisionviewer';import _0x4958e0 from'./revisionviewerloadingoverlay';import{getTranslation as _0x1b12ce}from'../../utils/common-translations';import _0x5a4b25 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x1362ec{static get['pluginName'](){return _0x3c5a('0xf');}static get[_0x3c5a('0x0')](){return[_0x5ec261,_0x4958e0];}[_0x3c5a('0x8')](){const _0x142036=this[_0x3c5a('0xe')],_0x258dbb=_0x142036[_0x3c5a('0x1c')]['get'](_0x5ec261),_0x13ec3a=_0x142036[_0x3c5a('0x1c')][_0x3c5a('0x7')](_0x4958e0);_0x142036['ui']['componentFactory']['add'](_0x3c5a('0x15'),_0x17983d=>{const _0x570699=new _0x2ef211(_0x17983d);return _0x570699[_0x3c5a('0x13')]({'label':_0x1b12ce(_0x17983d,'Back\x20to\x20editing'),'icon':_0x5a4b25,'withText':!0x0,'tooltip':!0x0,'class':_0x3c5a('0x4')}),this['listenTo'](_0x570699,_0x3c5a('0x9'),()=>{_0x142036[_0x3c5a('0x10')][_0x3c5a('0x7')](_0x3c5a('0x18'))['closeRevisionViewerCallback']();}),_0x570699;}),_0x142036['ui'][_0x3c5a('0x17')][_0x3c5a('0x16')]('restoreRevision',_0x424a6b=>{const _0x294979=new _0x2ef211(_0x424a6b);return _0x294979[_0x3c5a('0x13')]({'label':_0x1b12ce(_0x424a6b,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x294979[_0x3c5a('0x5')](_0x3c5a('0x3'))['to'](_0x142036[_0x3c5a('0x2')][_0x3c5a('0x7')]('restoreRevision')),this['listenTo'](_0x294979,_0x3c5a('0x9'),()=>_0x142036[_0x3c5a('0x9')]('restoreRevision')),_0x294979;}),_0x142036['ui'][_0x3c5a('0x17')][_0x3c5a('0x16')](_0x3c5a('0xb'),_0x4a805a=>{const _0x114659=new _0x252577(_0x4a805a),_0x555105=_0x142036[_0x3c5a('0x2')][_0x3c5a('0x7')](_0x3c5a('0x1')),_0x39e88d=_0x142036['commands'][_0x3c5a('0x7')](_0x3c5a('0x1a'));return _0x114659[_0x3c5a('0x5')]('isBackwardNavigationEnabled')['to'](_0x555105,_0x3c5a('0x3')),_0x114659[_0x3c5a('0x5')](_0x3c5a('0x6'))['to'](_0x39e88d,'isEnabled'),_0x114659[_0x3c5a('0x5')](_0x3c5a('0x12'),'currentChangeNumber',_0x3c5a('0xa'),_0x3c5a('0x11'))['to'](_0x258dbb),this[_0x3c5a('0xc')](_0x114659,_0x3c5a('0x9'),(_0x116c20,_0xecd8b8)=>{_0x142036[_0x3c5a('0x9')](_0x3c5a('0x19')===_0xecd8b8?'showNextChange':'showPreviousChange');}),_0x114659;}),_0x13ec3a[_0x3c5a('0x14')](),_0x258dbb['on'](_0x3c5a('0x1b'),(_0x2132c8,_0x15cfd0,_0x39378f)=>{_0x39378f?_0x13ec3a[_0x3c5a('0xd')]():_0x13ec3a['show']();});}}
23
+ const _0x38b7=['hide','forward','init','add','Back\x20to\x20editing','isBackwardNavigationEnabled','componentFactory','isReady','isEnabled','requires','closeRevisionViewerCallback','numberOfChanges','showPreviousChange','config','Restore\x20this\x20revision','pluginName','isNavigationMode','exitToEditing','bind','showNextChange','show','listenTo','revisionHistory','execute','change:isReady','editor','RevisionViewerUI','isForwardNavigationEnabled','plugins','get','commands','restoreRevision'];(function(_0x380a2c,_0x38b777){const _0x2bc063=function(_0x1b9d51){while(--_0x1b9d51){_0x380a2c['push'](_0x380a2c['shift']());}};_0x2bc063(++_0x38b777);}(_0x38b7,0x14f));const _0x2bc0=function(_0x380a2c,_0x38b777){_0x380a2c=_0x380a2c-0x0;let _0x2bc063=_0x38b7[_0x380a2c];return _0x2bc063;};import{Plugin as _0x1b8b3a}from'ckeditor5/src/core';import{ButtonView as _0x39fbf6}from'ckeditor5/src/ui';import _0x5006a2 from'./changesnavigationview';import _0x59454f from'./../../revisionviewer';import _0x1f8d8e from'./revisionviewerloadingoverlay';import{getTranslation as _0x1dd8a6}from'../../utils/common-translations';import _0xd7658b from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x1b8b3a{static get[_0x2bc0('0x0')](){return _0x2bc0('0xb');}static get[_0x2bc0('0x1a')](){return[_0x59454f,_0x1f8d8e];}[_0x2bc0('0x13')](){const _0x57a5c9=this[_0x2bc0('0xa')],_0x59b90e=_0x57a5c9[_0x2bc0('0xd')]['get'](_0x59454f),_0x4497d8=_0x57a5c9[_0x2bc0('0xd')]['get'](_0x1f8d8e);_0x57a5c9['ui'][_0x2bc0('0x17')][_0x2bc0('0x14')](_0x2bc0('0x2'),_0x56da6a=>{const _0x3be648=new _0x39fbf6(_0x56da6a);return _0x3be648['set']({'label':_0x1dd8a6(_0x56da6a,_0x2bc0('0x15')),'icon':_0xd7658b,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x2bc0('0x6')](_0x3be648,_0x2bc0('0x8'),()=>{_0x57a5c9[_0x2bc0('0x1e')]['get'](_0x2bc0('0x7'))[_0x2bc0('0x1b')]();}),_0x3be648;}),_0x57a5c9['ui'][_0x2bc0('0x17')]['add'](_0x2bc0('0x10'),_0x2122c7=>{const _0x366e85=new _0x39fbf6(_0x2122c7);return _0x366e85['set']({'label':_0x1dd8a6(_0x2122c7,_0x2bc0('0x1f')),'withText':!0x0,'tooltip':!0x0}),_0x366e85[_0x2bc0('0x3')](_0x2bc0('0x19'))['to'](_0x57a5c9[_0x2bc0('0xf')][_0x2bc0('0xe')](_0x2bc0('0x10'))),this[_0x2bc0('0x6')](_0x366e85,_0x2bc0('0x8'),()=>_0x57a5c9[_0x2bc0('0x8')](_0x2bc0('0x10'))),_0x366e85;}),_0x57a5c9['ui']['componentFactory']['add']('changesNavigation',_0x506166=>{const _0xc39bae=new _0x5006a2(_0x506166),_0x597e1a=_0x57a5c9[_0x2bc0('0xf')][_0x2bc0('0xe')](_0x2bc0('0x1d')),_0x2003b2=_0x57a5c9[_0x2bc0('0xf')][_0x2bc0('0xe')](_0x2bc0('0x4'));return _0xc39bae[_0x2bc0('0x3')](_0x2bc0('0x16'))['to'](_0x597e1a,_0x2bc0('0x19')),_0xc39bae[_0x2bc0('0x3')](_0x2bc0('0xc'))['to'](_0x2003b2,'isEnabled'),_0xc39bae['bind'](_0x2bc0('0x18'),'currentChangeNumber',_0x2bc0('0x1c'),_0x2bc0('0x1'))['to'](_0x59b90e),this[_0x2bc0('0x6')](_0xc39bae,_0x2bc0('0x8'),(_0xae3718,_0x28585f)=>{_0x57a5c9[_0x2bc0('0x8')](_0x2bc0('0x12')===_0x28585f?_0x2bc0('0x4'):'showPreviousChange');}),_0xc39bae;}),_0x4497d8[_0x2bc0('0x5')](),_0x59b90e['on'](_0x2bc0('0x9'),(_0x34be25,_0x3a0a5a,_0x39c3dd)=>{_0x39c3dd?_0x4497d8[_0x2bc0('0x11')]():_0x4497d8[_0x2bc0('0x5')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1377cc,_0x278b77,_0x2e04f8){const t=_0x1377cc['t'];switch(_0x278b77){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'},_0x2e04f8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e04f8);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 _0x278b77;}}
23
+ export function getTranslation(_0x4ce1d1,_0x393761,_0x4ba75d){const t=_0x4ce1d1['t'];switch(_0x393761){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'},_0x4ba75d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4ba75d);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 _0x393761;}}