@ckeditor/ckeditor5-revision-history 37.1.0 → 38.0.0-rc.1

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 (87) hide show
  1. package/build/revision-history.js +1 -1
  2. package/lang/translations/af.po +1 -1
  3. package/lang/translations/ar.po +1 -1
  4. package/lang/translations/az.po +1 -1
  5. package/lang/translations/bg.po +1 -1
  6. package/lang/translations/bn.po +1 -1
  7. package/lang/translations/bs.po +1 -1
  8. package/lang/translations/ca.po +1 -1
  9. package/lang/translations/cs.po +1 -1
  10. package/lang/translations/da.po +1 -1
  11. package/lang/translations/de-ch.po +1 -1
  12. package/lang/translations/de.po +1 -1
  13. package/lang/translations/el.po +1 -1
  14. package/lang/translations/en-au.po +1 -1
  15. package/lang/translations/en-gb.po +1 -1
  16. package/lang/translations/es-co.po +1 -1
  17. package/lang/translations/es.po +1 -1
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fa.po +1 -1
  20. package/lang/translations/fi.po +1 -1
  21. package/lang/translations/fr.po +1 -1
  22. package/lang/translations/gl.po +1 -1
  23. package/lang/translations/he.po +1 -1
  24. package/lang/translations/hi.po +1 -1
  25. package/lang/translations/hr.po +1 -1
  26. package/lang/translations/hu.po +1 -1
  27. package/lang/translations/id.po +1 -1
  28. package/lang/translations/it.po +1 -1
  29. package/lang/translations/ja.po +1 -1
  30. package/lang/translations/jv.po +1 -1
  31. package/lang/translations/ko.po +1 -1
  32. package/lang/translations/ku.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/ne.po +1 -1
  37. package/lang/translations/nl.po +1 -1
  38. package/lang/translations/no.po +1 -1
  39. package/lang/translations/pl.po +1 -1
  40. package/lang/translations/pt-br.po +1 -1
  41. package/lang/translations/pt.po +1 -1
  42. package/lang/translations/ro.po +1 -1
  43. package/lang/translations/ru.po +1 -1
  44. package/lang/translations/sk.po +1 -1
  45. package/lang/translations/sr-latn.po +1 -1
  46. package/lang/translations/sr.po +1 -1
  47. package/lang/translations/sv.po +1 -1
  48. package/lang/translations/th.po +1 -1
  49. package/lang/translations/tk.po +1 -1
  50. package/lang/translations/tr.po +1 -1
  51. package/lang/translations/tt.po +1 -1
  52. package/lang/translations/ug.po +1 -1
  53. package/lang/translations/uk.po +1 -1
  54. package/lang/translations/ur.po +1 -1
  55. package/lang/translations/vi.po +1 -1
  56. package/lang/translations/zh-cn.po +1 -1
  57. package/lang/translations/zh.po +1 -1
  58. package/package.json +6 -6
  59. package/src/changeitem.js +1 -1
  60. package/src/editor/revisionviewereditor.js +1 -1
  61. package/src/editor/revisionviewereditorui.js +1 -1
  62. package/src/editor/revisionviewereditoruiview.js +1 -1
  63. package/src/revision.js +1 -1
  64. package/src/revisiondiff.js +1 -1
  65. package/src/revisionhistory.js +1 -1
  66. package/src/revisionsrepository.js +1 -1
  67. package/src/revisiontracker.js +1 -1
  68. package/src/revisionviewer.js +1 -1
  69. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  70. package/src/ui/revision/revisionauthorview.js +1 -1
  71. package/src/ui/revision/revisionnameview.js +1 -1
  72. package/src/ui/revision/revisionview.js +1 -1
  73. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  74. package/src/ui/revision/subrevisionview.js +1 -1
  75. package/src/ui/revision/utils.js +1 -1
  76. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  77. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  78. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  79. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  80. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  81. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  82. package/src/ui/revisionssidebar/utils.js +1 -1
  83. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  84. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  85. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  86. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  87. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16c8=['isEnabled','render','pluginName','showRevisionViewerCallback','Revision\x20history','set','revisionHistory','change:isOpen','length','requires','Open\x20revision\x20history','cancel','view','componentFactory','get','isReady','buttonView','focus','add','isOpen','init','panelView','plugins','execute','config','isReadOnly','bind','RevisionHistoryUI','submit','addMany','saveButtonView','items','reset','children','remove'];(function(_0x557848,_0x16c875){const _0x183125=function(_0x59c5b6){while(--_0x59c5b6){_0x557848['push'](_0x557848['shift']());}};_0x183125(++_0x16c875);}(_0x16c8,0x1cb));const _0x1831=function(_0x557848,_0x16c875){_0x557848=_0x557848-0x0;let _0x183125=_0x16c8[_0x557848];return _0x183125;};import{Plugin as _0x2f8305}from'ckeditor5/src/core';import{ListView as _0x2209cd,ListItemView as _0x310b50,ButtonView as _0x2121a1,createDropdown as _0x366f81}from'ckeditor5/src/ui';import _0x5665ec from'../../revisiontracker';import _0x40b471 from'./revisionhistorysaverevisionformview';import _0x4dfd0f from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x468117}from'../../utils/common-translations';export default class u extends _0x2f8305{static get[_0x1831('0x21')](){return _0x1831('0x17');}static get[_0x1831('0x5')](){return[_0x5665ec];}[_0x1831('0x10')](){const _0x385c68=this['editor'],_0x2d558c=_0x385c68[_0x1831('0x12')]['get']('RevisionTracker');_0x385c68['ui'][_0x1831('0x9')][_0x1831('0xe')](_0x1831('0x2'),_0x24db32=>{const _0x21c090=_0x366f81(_0x24db32),_0x534e67=_0x21c090[_0x1831('0x11')]['children'],_0x62853b=new _0x2209cd(_0x24db32),_0x4d3a62=new _0x310b50(_0x24db32),_0x4a51fc=new _0x2121a1(_0x24db32),_0x4dd684=new _0x310b50(_0x24db32),_0x24f5ba=new _0x2121a1(_0x24db32),_0x30207c=new _0x40b471(_0x24db32);function _0x333eec(){_0x534e67[_0x1831('0x4')]&&_0x534e67[_0x1831('0x1e')](0x0),_0x534e67[_0x1831('0xe')](_0x62853b);}function _0x1a5d85(){_0x21c090[_0x1831('0xf')]=!0x1,_0x385c68['editing'][_0x1831('0x8')][_0x1831('0xd')]();}return _0x21c090[_0x1831('0x16')](_0x1831('0x1f'))['to'](_0x2d558c,_0x1831('0xb'),_0x2d558c,_0x1831('0x1f'),_0x385c68,_0x1831('0x15'),(_0x22981a,_0x37cdf8,_0x5e2471)=>_0x22981a&&_0x37cdf8&&!_0x5e2471),_0x21c090[_0x1831('0xc')]['set']({'icon':_0x4dfd0f,'label':_0x468117(_0x24db32,_0x1831('0x0')),'tooltip':!0x0}),_0x4a51fc[_0x1831('0x1')]({'label':_0x468117(_0x24db32,'Save\x20current\x20revision'),'withText':!0x0}),_0x4a51fc['bind'](_0x1831('0x1f'))['to'](_0x2d558c,'isReady',_0x2d558c,'isEnabled',_0x385c68,_0x1831('0x15'),(_0x209e16,_0x37c15d,_0x81a351)=>_0x209e16&&_0x37c15d&&!_0x81a351),_0x4a51fc['on']('execute',()=>function(){_0x534e67[_0x1831('0x4')]&&_0x534e67[_0x1831('0x1e')](0x0),(_0x30207c[_0x1831('0x1c')](),_0x534e67[_0x1831('0xe')](_0x30207c),_0x30207c[_0x1831('0xd')]());}()),_0x24f5ba[_0x1831('0x1')]({'label':_0x468117(_0x24db32,_0x1831('0x6')),'withText':!0x0}),_0x24f5ba[_0x1831('0x16')](_0x1831('0x1f'))['to'](_0x2d558c,'isReady',_0x385c68,'isReadOnly',(_0x175824,_0xeee686)=>_0x175824&&!_0xeee686),_0x24f5ba['on'](_0x1831('0x13'),()=>{_0x385c68[_0x1831('0x14')][_0x1831('0xa')](_0x1831('0x2'))[_0x1831('0x22')](),_0x1a5d85();}),_0x4d3a62['children'][_0x1831('0xe')](_0x4a51fc),_0x4dd684[_0x1831('0x1d')]['add'](_0x24f5ba),_0x62853b[_0x1831('0x1b')][_0x1831('0x19')]([_0x4d3a62,_0x4dd684]),_0x21c090['on'](_0x1831('0x3'),()=>_0x333eec()),_0x30207c[_0x1831('0x1a')][_0x1831('0x16')]('isEnabled')['to'](_0x2d558c,'isReady',_0x2d558c,_0x1831('0x1f'),_0x385c68,_0x1831('0x15'),(_0x73ee37,_0x57eb01,_0x529012)=>_0x73ee37&&_0x57eb01&&!_0x529012),_0x30207c['on'](_0x1831('0x18'),()=>(_0x385c68[_0x1831('0x12')][_0x1831('0xa')](_0x5665ec)['saveRevision']({'name':_0x30207c['revisionName']}),void _0x1a5d85())),_0x30207c['on'](_0x1831('0x7'),()=>_0x333eec()),_0x30207c[_0x1831('0x20')](),_0x333eec(),_0x21c090;});}}
23
+ const _0x2875=['RevisionHistoryUI','isReadOnly','editing','Save\x20current\x20revision','bind','cancel','view','Revision\x20history','isOpen','componentFactory','isEnabled','editor','config','length','saveButtonView','get','remove','plugins','execute','add','revisionHistory','panelView','RevisionTracker','Open\x20revision\x20history','render','set','change:isOpen','pluginName','focus','children','requires','showRevisionViewerCallback','isReady'];(function(_0x4ea64d,_0x2875fd){const _0x408d0c=function(_0x2188ad){while(--_0x2188ad){_0x4ea64d['push'](_0x4ea64d['shift']());}};_0x408d0c(++_0x2875fd);}(_0x2875,0x1ae));const _0x408d=function(_0x4ea64d,_0x2875fd){_0x4ea64d=_0x4ea64d-0x0;let _0x408d0c=_0x2875[_0x4ea64d];return _0x408d0c;};import{Plugin as _0x58b580}from'ckeditor5/src/core';import{ListView as _0xb91485,ListItemView as _0x3cec79,ButtonView as _0x1b1415,createDropdown as _0x1c5d86}from'ckeditor5/src/ui';import _0x44fa14 from'../../revisiontracker';import _0x5410d5 from'./revisionhistorysaverevisionformview';import _0x2087ab from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x90a9c2}from'../../utils/common-translations';export default class u extends _0x58b580{static get[_0x408d('0x1a')](){return _0x408d('0x20');}static get[_0x408d('0x1d')](){return[_0x44fa14];}['init'](){const _0x1d3e09=this[_0x408d('0xa')],_0x4ad954=_0x1d3e09[_0x408d('0x10')][_0x408d('0xe')](_0x408d('0x15'));_0x1d3e09['ui'][_0x408d('0x8')][_0x408d('0x12')]('revisionHistory',_0x2c247e=>{const _0x1a83fa=_0x1c5d86(_0x2c247e),_0x509189=_0x1a83fa[_0x408d('0x14')]['children'],_0x34a802=new _0xb91485(_0x2c247e),_0x1e0681=new _0x3cec79(_0x2c247e),_0x298f1a=new _0x1b1415(_0x2c247e),_0x3632f6=new _0x3cec79(_0x2c247e),_0x4a1f69=new _0x1b1415(_0x2c247e),_0x231510=new _0x5410d5(_0x2c247e);function _0x11f253(){_0x509189[_0x408d('0xc')]&&_0x509189[_0x408d('0xf')](0x0),_0x509189[_0x408d('0x12')](_0x34a802);}function _0x459f50(){_0x1a83fa[_0x408d('0x7')]=!0x1,_0x1d3e09[_0x408d('0x1')][_0x408d('0x5')]['focus']();}return _0x1a83fa[_0x408d('0x3')](_0x408d('0x9'))['to'](_0x4ad954,'isReady',_0x4ad954,_0x408d('0x9'),_0x1d3e09,_0x408d('0x0'),(_0x38d9dc,_0xde4ece,_0x517c88)=>_0x38d9dc&&_0xde4ece&&!_0x517c88),_0x1a83fa['buttonView'][_0x408d('0x18')]({'icon':_0x2087ab,'label':_0x90a9c2(_0x2c247e,_0x408d('0x6')),'tooltip':!0x0}),_0x298f1a[_0x408d('0x18')]({'label':_0x90a9c2(_0x2c247e,_0x408d('0x2')),'withText':!0x0}),_0x298f1a['bind'](_0x408d('0x9'))['to'](_0x4ad954,_0x408d('0x1f'),_0x4ad954,_0x408d('0x9'),_0x1d3e09,'isReadOnly',(_0x1df262,_0x3b2a4b,_0xc7f273)=>_0x1df262&&_0x3b2a4b&&!_0xc7f273),_0x298f1a['on'](_0x408d('0x11'),()=>function(){_0x509189[_0x408d('0xc')]&&_0x509189['remove'](0x0),(_0x231510['reset'](),_0x509189[_0x408d('0x12')](_0x231510),_0x231510[_0x408d('0x1b')]());}()),_0x4a1f69['set']({'label':_0x90a9c2(_0x2c247e,_0x408d('0x16')),'withText':!0x0}),_0x4a1f69['bind'](_0x408d('0x9'))['to'](_0x4ad954,_0x408d('0x1f'),_0x1d3e09,_0x408d('0x0'),(_0x1134d4,_0x1e64ba)=>_0x1134d4&&!_0x1e64ba),_0x4a1f69['on'](_0x408d('0x11'),()=>{_0x1d3e09[_0x408d('0xb')][_0x408d('0xe')](_0x408d('0x13'))[_0x408d('0x1e')](),_0x459f50();}),_0x1e0681[_0x408d('0x1c')][_0x408d('0x12')](_0x298f1a),_0x3632f6['children']['add'](_0x4a1f69),_0x34a802['items']['addMany']([_0x1e0681,_0x3632f6]),_0x1a83fa['on'](_0x408d('0x19'),()=>_0x11f253()),_0x231510[_0x408d('0xd')][_0x408d('0x3')](_0x408d('0x9'))['to'](_0x4ad954,'isReady',_0x4ad954,'isEnabled',_0x1d3e09,_0x408d('0x0'),(_0x5c0171,_0x5cfec6,_0x3e0e5c)=>_0x5c0171&&_0x5cfec6&&!_0x3e0e5c),_0x231510['on']('submit',()=>(_0x1d3e09[_0x408d('0x10')][_0x408d('0xe')](_0x44fa14)['saveRevision']({'name':_0x231510['revisionName']}),void _0x459f50())),_0x231510['on'](_0x408d('0x4'),()=>_0x11f253()),_0x231510[_0x408d('0x17')](),_0x11f253(),_0x1a83fa;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3687=['getLaterVisibleRevision','defaultRevisionActions','fieldView','compare','pluginName','restoreRevision','revisionSetName','highlightRevisions','Compare\x20against\x20selected','repository','revisionHistory.viewerSidebarContainer','compareAgainstSelected','_handleRevisionSelected','restoreRevisionCallback','requires','isVisible','editor','availableRevisionActions','RevisionsSidebar','getEarlierVisibleRevision','setName','change:diff','isSelected','ready','_revisionViewer','_revisions','init','_handleDiffChange','_handleRevisionSetName','isEnabled','config','data','newRevisionId','element','diff','_sidebarView','render','length','getIndex','plugins','Name\x20this\x20revision','select','add','nameRevision','focus','action','bind','remove','Restore\x20this\x20revision','_createRevisionActions','getRevisionsInDiff','getRevision','_revisionsRepository','locale','get','_handleEditorDataReady','destroy'];(function(_0x45ddbb,_0x368734){const _0x15b804=function(_0x164760){while(--_0x164760){_0x45ddbb['push'](_0x45ddbb['shift']());}};_0x15b804(++_0x368734);}(_0x3687,0x189));const _0x15b8=function(_0x45ddbb,_0x368734){_0x45ddbb=_0x45ddbb-0x0;let _0x15b804=_0x3687[_0x45ddbb];return _0x15b804;};import{Plugin as _0xb6f079}from'ckeditor5/src/core';import _0x5edb21 from'./revisionssidebarview';import _0x2dfa87 from'../../revisionviewer';export default class d extends _0xb6f079{static get[_0x15b8('0xa')](){return _0x15b8('0x18');}static get[_0x15b8('0x14')](){return[_0x2dfa87];}constructor(_0x4ef3a0){super(_0x4ef3a0),this[_0x15b8('0x1e')]=_0x4ef3a0[_0x15b8('0x2d')]['get'](_0x2dfa87),this[_0x15b8('0x1')]=this[_0x15b8('0x1e')][_0x15b8('0xf')],this[_0x15b8('0x29')]=null;}[_0x15b8('0x20')](){const _0x288959=this[_0x15b8('0x1')][_0x15b8('0x1f')],_0x28b7b2=this[_0x15b8('0x37')](),_0x34040d=this[_0x15b8('0x16')][_0x15b8('0x24')][_0x15b8('0x3')](_0x15b8('0x10'));this[_0x15b8('0x29')]=new _0x5edb21(this[_0x15b8('0x16')][_0x15b8('0x2')],_0x288959,_0x28b7b2),this[_0x15b8('0x29')]['on']('revisionSelected',this[_0x15b8('0x12')]['bind'](this)),this[_0x15b8('0x29')]['on'](_0x15b8('0xc'),this[_0x15b8('0x22')][_0x15b8('0x34')](this)),this[_0x15b8('0x29')][_0x15b8('0x34')]('isEnabled')['to'](this[_0x15b8('0x1e')]),this[_0x15b8('0x29')]['timePeriodViews']['on']('add',(_0x960f4,_0x46689e)=>{_0x46689e['revisionViews']['on'](_0x15b8('0x30'),(_0x4a1bfc,_0x39a56e)=>{_0x39a56e[_0x15b8('0x34')](_0x15b8('0x23'),'isReady')['to'](this['_revisionViewer']);});}),this[_0x15b8('0x29')][_0x15b8('0x2a')](),this['listenTo'](this[_0x15b8('0x16')][_0x15b8('0x25')],_0x15b8('0x1d'),this[_0x15b8('0x4')]['bind'](this)),this['listenTo'](this[_0x15b8('0x1e')],_0x15b8('0x1b'),this[_0x15b8('0x21')]['bind'](this)),_0x34040d['appendChild'](this[_0x15b8('0x29')][_0x15b8('0x27')]);}[_0x15b8('0x5')](){this[_0x15b8('0x29')][_0x15b8('0x27')][_0x15b8('0x35')](),this['_sidebarView'][_0x15b8('0x5')]();}[_0x15b8('0x4')](){const _0x595533=this[_0x15b8('0x1')][_0x15b8('0x0')](0x0);if(_0x595533){const _0x1a7c28=this[_0x15b8('0x1')]['getEarlierVisibleRevision'](_0x595533['id']);this[_0x15b8('0x1e')][_0x15b8('0x9')](_0x595533,_0x1a7c28);}}['_handleRevisionSelected'](_0x5efa3a,_0xe35f6f){const _0x2baa1a=this['_revisionsRepository'][_0x15b8('0x0')](_0xe35f6f['id']),_0x3900a2=this[_0x15b8('0x1')][_0x15b8('0x19')](_0x2baa1a['id']);this[_0x15b8('0x1e')][_0x15b8('0x9')](_0x2baa1a,_0x3900a2);}['_handleRevisionSetName'](_0x42fb28,_0x49c4a0){this[_0x15b8('0x1')]['getRevision'](_0x49c4a0['id'])[_0x15b8('0x1a')](_0x49c4a0['name']);}[_0x15b8('0x21')](_0x284d7f,_0x1931d4,_0x4c2450){const _0x3190d9=this[_0x15b8('0x1')][_0x15b8('0x38')](_0x4c2450);_0x3190d9['length']>0x2?(this[_0x15b8('0x29')][_0x15b8('0xd')](_0x3190d9),this['_sidebarView']['selectRevision'](null)):(this[_0x15b8('0x29')][_0x15b8('0xd')]([]),this[_0x15b8('0x29')]['selectRevision'](_0x3190d9[0x0]));}[_0x15b8('0x37')](){const _0x8f3a5c=this[_0x15b8('0x16')],_0x13a475=d[_0x15b8('0x17')],_0x3713bc=_0x8f3a5c['config']['get']('revisionHistory.revisionActions')||d['defaultRevisionActions'];if(_0x3713bc[_0x15b8('0x2b')])return _0x3713bc['map'](_0x4dc29a=>{const _0x14460e='string'==typeof _0x4dc29a?Object['assign']({},_0x13a475[_0x4dc29a]):_0x4dc29a;return _0x14460e[_0x15b8('0x33')]=_0x14460e[_0x15b8('0x33')][_0x15b8('0x34')](this,_0x8f3a5c),_0x14460e[_0x15b8('0x15')]&&(_0x14460e[_0x15b8('0x15')]=_0x14460e[_0x15b8('0x15')][_0x15b8('0x34')](this,_0x8f3a5c)),_0x14460e;});}}d[_0x15b8('0x17')]={'compareAgainstSelected':{'name':_0x15b8('0xe'),'action':({plugins:_0x54727b},_0x40aa8d)=>{const _0x817950=_0x54727b['get'](_0x2dfa87),_0x4cbce9=_0x817950[_0x15b8('0xf')];let _0x319fdd=_0x817950[_0x15b8('0x28')][_0x15b8('0x26')],_0x5e9259=_0x40aa8d['id'];_0x4cbce9[_0x15b8('0x2c')](_0x319fdd)>_0x4cbce9['getIndex'](_0x5e9259)&&([_0x319fdd,_0x5e9259]=[_0x5e9259,_0x319fdd]),_0x817950[_0x15b8('0x9')](_0x319fdd,_0x5e9259);},'isVisible':({plugins:_0x46718c},_0x4aa888)=>{const _0x5707bf=_0x46718c['get'](_0x2dfa87);return!(_0x5707bf[_0x15b8('0xf')][_0x15b8('0x38')](_0x5707bf['diff'])[_0x15b8('0x2b')]>0x2)&&!_0x4aa888[_0x15b8('0x1c')];}},'restoreRevision':{'name':_0x15b8('0x36'),'action':(_0x2a7b4e,{id:_0x4a5770})=>{_0x2a7b4e[_0x15b8('0x24')][_0x15b8('0x3')]('revisionHistory')[_0x15b8('0x13')](_0x4a5770);},'isVisible':({plugins:_0x4004d8},_0x4811cc)=>!!_0x4004d8[_0x15b8('0x3')](_0x2dfa87)[_0x15b8('0xf')][_0x15b8('0x6')](_0x4811cc['id'])},'nameRevision':{'name':_0x15b8('0x2e'),'action':({plugins:_0x4a8f06},{id:_0x448600,revisionNameView:_0x43dc0f})=>{const _0x46b674=_0x4a8f06[_0x15b8('0x3')](_0x2dfa87),_0x51f6c1=_0x46b674[_0x15b8('0xf')][_0x15b8('0x19')](_0x448600);_0x46b674[_0x15b8('0x9')](_0x448600,_0x51f6c1),_0x43dc0f[_0x15b8('0x32')](),_0x43dc0f[_0x15b8('0x8')][_0x15b8('0x2f')]();}}},d[_0x15b8('0x7')]=[_0x15b8('0x11'),_0x15b8('0xb'),_0x15b8('0x31')];
23
+ const _0x29f8=['plugins','listenTo','isVisible','compare','length','getRevisionsInDiff','action','getIndex','bind','_revisionViewer','diff','revisionHistory.revisionActions','newRevisionId','Restore\x20this\x20revision','name','add','repository','assign','revisionHistory.viewerSidebarContainer','map','get','getEarlierVisibleRevision','_handleRevisionSelected','_revisionsRepository','_handleEditorDataReady','fieldView','highlightRevisions','isEnabled','defaultRevisionActions','restoreRevision','Compare\x20against\x20selected','render','isSelected','destroy','setName','pluginName','editor','_createRevisionActions','revisionViews','getRevision','_handleRevisionSetName','revisionHistory','select','element','restoreRevisionCallback','revisionSelected','_revisions','ready','Name\x20this\x20revision','change:diff','remove','compareAgainstSelected','init','getLaterVisibleRevision','isReady','_sidebarView','config','selectRevision','availableRevisionActions'];(function(_0x14246f,_0x29f85b){const _0x54f649=function(_0x298e87){while(--_0x298e87){_0x14246f['push'](_0x14246f['shift']());}};_0x54f649(++_0x29f85b);}(_0x29f8,0xb8));const _0x54f6=function(_0x14246f,_0x29f85b){_0x14246f=_0x14246f-0x0;let _0x54f649=_0x29f8[_0x14246f];return _0x54f649;};import{Plugin as _0x24c043}from'ckeditor5/src/core';import _0x10bac9 from'./revisionssidebarview';import _0x7d1db0 from'../../revisionviewer';export default class d extends _0x24c043{static get[_0x54f6('0x1c')](){return'RevisionsSidebar';}static get['requires'](){return[_0x7d1db0];}constructor(_0x37396d){super(_0x37396d),this[_0x54f6('0x2')]=_0x37396d[_0x54f6('0x34')][_0x54f6('0xd')](_0x7d1db0),this[_0x54f6('0x10')]=this[_0x54f6('0x2')]['repository'],this[_0x54f6('0x30')]=null;}[_0x54f6('0x2d')](){const _0x27bd3a=this[_0x54f6('0x10')][_0x54f6('0x27')],_0x1dfd6d=this[_0x54f6('0x1e')](),_0x2c23b1=this[_0x54f6('0x1d')]['config']['get'](_0x54f6('0xb'));this[_0x54f6('0x30')]=new _0x10bac9(this[_0x54f6('0x1d')]['locale'],_0x27bd3a,_0x1dfd6d),this[_0x54f6('0x30')]['on'](_0x54f6('0x26'),this[_0x54f6('0xf')][_0x54f6('0x1')](this)),this[_0x54f6('0x30')]['on']('revisionSetName',this[_0x54f6('0x21')]['bind'](this)),this[_0x54f6('0x30')]['bind'](_0x54f6('0x14'))['to'](this[_0x54f6('0x2')]),this[_0x54f6('0x30')]['timePeriodViews']['on'](_0x54f6('0x8'),(_0x4a4583,_0x3ab7fb)=>{_0x3ab7fb[_0x54f6('0x1f')]['on'](_0x54f6('0x8'),(_0x55c49a,_0x4241b1)=>{_0x4241b1['bind'](_0x54f6('0x14'),_0x54f6('0x2f'))['to'](this[_0x54f6('0x2')]);});}),this[_0x54f6('0x30')][_0x54f6('0x18')](),this[_0x54f6('0x35')](this[_0x54f6('0x1d')]['data'],_0x54f6('0x28'),this[_0x54f6('0x11')][_0x54f6('0x1')](this)),this['listenTo'](this['_revisionViewer'],_0x54f6('0x2a'),this['_handleDiffChange'][_0x54f6('0x1')](this)),_0x2c23b1['appendChild'](this[_0x54f6('0x30')]['element']);}[_0x54f6('0x1a')](){this['_sidebarView'][_0x54f6('0x24')][_0x54f6('0x2b')](),this[_0x54f6('0x30')][_0x54f6('0x1a')]();}[_0x54f6('0x11')](){const _0x230c82=this[_0x54f6('0x10')][_0x54f6('0x20')](0x0);if(_0x230c82){const _0xb59ea0=this[_0x54f6('0x10')][_0x54f6('0xe')](_0x230c82['id']);this[_0x54f6('0x2')][_0x54f6('0x37')](_0x230c82,_0xb59ea0);}}[_0x54f6('0xf')](_0x2188e0,_0x2bd431){const _0x1cf105=this[_0x54f6('0x10')][_0x54f6('0x20')](_0x2bd431['id']),_0x493863=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1cf105['id']);this[_0x54f6('0x2')][_0x54f6('0x37')](_0x1cf105,_0x493863);}['_handleRevisionSetName'](_0x28b9a1,_0x51d1dc){this[_0x54f6('0x10')][_0x54f6('0x20')](_0x51d1dc['id'])[_0x54f6('0x1b')](_0x51d1dc[_0x54f6('0x7')]);}['_handleDiffChange'](_0x16b20e,_0xd865f0,_0x3a1083){const _0x402bce=this[_0x54f6('0x10')][_0x54f6('0x39')](_0x3a1083);_0x402bce[_0x54f6('0x38')]>0x2?(this['_sidebarView'][_0x54f6('0x13')](_0x402bce),this[_0x54f6('0x30')][_0x54f6('0x32')](null)):(this[_0x54f6('0x30')]['highlightRevisions']([]),this[_0x54f6('0x30')][_0x54f6('0x32')](_0x402bce[0x0]));}[_0x54f6('0x1e')](){const _0x2ec87d=this['editor'],_0x3a6ac0=d[_0x54f6('0x33')],_0xa8984e=_0x2ec87d[_0x54f6('0x31')]['get'](_0x54f6('0x4'))||d[_0x54f6('0x15')];if(_0xa8984e[_0x54f6('0x38')])return _0xa8984e[_0x54f6('0xc')](_0x29a7f5=>{const _0x119e4a='string'==typeof _0x29a7f5?Object[_0x54f6('0xa')]({},_0x3a6ac0[_0x29a7f5]):_0x29a7f5;return _0x119e4a[_0x54f6('0x3a')]=_0x119e4a[_0x54f6('0x3a')][_0x54f6('0x1')](this,_0x2ec87d),_0x119e4a[_0x54f6('0x36')]&&(_0x119e4a['isVisible']=_0x119e4a['isVisible'][_0x54f6('0x1')](this,_0x2ec87d)),_0x119e4a;});}}d[_0x54f6('0x33')]={'compareAgainstSelected':{'name':_0x54f6('0x17'),'action':({plugins:_0x37741a},_0x53b39b)=>{const _0x15b773=_0x37741a[_0x54f6('0xd')](_0x7d1db0),_0x424552=_0x15b773['repository'];let _0x3cfd87=_0x15b773['diff'][_0x54f6('0x5')],_0x599f4e=_0x53b39b['id'];_0x424552[_0x54f6('0x0')](_0x3cfd87)>_0x424552['getIndex'](_0x599f4e)&&([_0x3cfd87,_0x599f4e]=[_0x599f4e,_0x3cfd87]),_0x15b773[_0x54f6('0x37')](_0x3cfd87,_0x599f4e);},'isVisible':({plugins:_0x5b931c},_0x338767)=>{const _0x21fb3a=_0x5b931c[_0x54f6('0xd')](_0x7d1db0);return!(_0x21fb3a[_0x54f6('0x9')][_0x54f6('0x39')](_0x21fb3a[_0x54f6('0x3')])[_0x54f6('0x38')]>0x2)&&!_0x338767[_0x54f6('0x19')];}},'restoreRevision':{'name':_0x54f6('0x6'),'action':(_0x1f34e3,{id:_0x1e68b9})=>{_0x1f34e3[_0x54f6('0x31')]['get'](_0x54f6('0x22'))[_0x54f6('0x25')](_0x1e68b9);},'isVisible':({plugins:_0x17d70b},_0x11026f)=>!!_0x17d70b[_0x54f6('0xd')](_0x7d1db0)[_0x54f6('0x9')][_0x54f6('0x2e')](_0x11026f['id'])},'nameRevision':{'name':_0x54f6('0x29'),'action':({plugins:_0x5f3e8f},{id:_0xcf2e0,revisionNameView:_0x358fc8})=>{const _0x3b92ee=_0x5f3e8f[_0x54f6('0xd')](_0x7d1db0),_0x636523=_0x3b92ee[_0x54f6('0x9')][_0x54f6('0xe')](_0xcf2e0);_0x3b92ee['compare'](_0xcf2e0,_0x636523),_0x358fc8['focus'](),_0x358fc8[_0x54f6('0x12')][_0x54f6('0x23')]();}}},d[_0x54f6('0x15')]=[_0x54f6('0x2c'),_0x54f6('0x16'),'nameRevision'];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x579e=['div','ck-reset_all','ck-revision-history-sidebar__header__label','span','content','Revision\x20history'];(function(_0x185c43,_0x579eaf){const _0x20577b=function(_0x17032b){while(--_0x17032b){_0x185c43['push'](_0x185c43['shift']());}};_0x20577b(++_0x579eaf);}(_0x579e,0xca));const _0x2057=function(_0x185c43,_0x579eaf){_0x185c43=_0x185c43-0x0;let _0x20577b=_0x579e[_0x185c43];return _0x20577b;};import{View as _0x3af641,IconView as _0x2c844f}from'ckeditor5/src/ui';import{getTranslation as _0x239c37}from'../../utils/common-translations';import _0x583a03 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x3af641{constructor(_0x415ae6){super(_0x415ae6);const _0x559825=new _0x2c844f();_0x559825[_0x2057('0x0')]=_0x583a03,this['setTemplate']({'tag':_0x2057('0x2'),'attributes':{'class':['ck',_0x2057('0x3'),'ck-revision-history-sidebar__header']},'children':[_0x559825,{'tag':_0x2057('0x5'),'attributes':{'class':['ck',_0x2057('0x4')]},'children':[_0x239c37(_0x415ae6,_0x2057('0x1'))]}]});}}
23
+ const _0x4b8f=['span','Revision\x20history','setTemplate','ck-revision-history-sidebar__header__label','div','content','ck-reset_all'];(function(_0x2b33eb,_0x4b8fb8){const _0x5b647e=function(_0x563eb0){while(--_0x563eb0){_0x2b33eb['push'](_0x2b33eb['shift']());}};_0x5b647e(++_0x4b8fb8);}(_0x4b8f,0x119));const _0x5b64=function(_0x2b33eb,_0x4b8fb8){_0x2b33eb=_0x2b33eb-0x0;let _0x5b647e=_0x4b8f[_0x2b33eb];return _0x5b647e;};import{View as _0x4ac558,IconView as _0x3f658a}from'ckeditor5/src/ui';import{getTranslation as _0x515b0b}from'../../utils/common-translations';import _0xc55a80 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x4ac558{constructor(_0x451390){super(_0x451390);const _0x52eb24=new _0x3f658a();_0x52eb24[_0x5b64('0x4')]=_0xc55a80,this[_0x5b64('0x1')]({'tag':_0x5b64('0x3'),'attributes':{'class':['ck',_0x5b64('0x5'),'ck-revision-history-sidebar__header']},'children':[_0x52eb24,{'tag':_0x5b64('0x6'),'attributes':{'class':['ck',_0x5b64('0x2')]},'children':[_0x515b0b(_0x451390,_0x5b64('0x0'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6a3f=['localizedPeriodName','remove','_revisionActions','add','createCollection','ck-revision-history-sidebar__time-period__revisions','find','locale','ck-revision-history-sidebar__time-period','revisionViews','select','delegate','setName','div','span'];(function(_0x36aa20,_0x6a3fca){const _0x39853e=function(_0x5adf9d){while(--_0x5adf9d){_0x36aa20['push'](_0x36aa20['shift']());}};_0x39853e(++_0x6a3fca);}(_0x6a3f,0x149));const _0x3985=function(_0x36aa20,_0x6a3fca){_0x36aa20=_0x36aa20-0x0;let _0x39853e=_0x6a3f[_0x36aa20];return _0x39853e;};import{View as _0x26befa}from'ckeditor5/src/ui';import _0x5d20b1 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x844d0e}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class ki extends _0x26befa{constructor(_0xaac78f,_0x5e0c74,_0x24374a){super(_0xaac78f);const _0x3216c4=_0x844d0e(_0x5e0c74,this[_0x3985('0x8')]['uiLanguage'])[_0x3985('0x1')];this['startDate']=_0x5e0c74,this[_0x3985('0xa')]=this[_0x3985('0x5')](),this[_0x3985('0x3')]=_0x24374a,this[_0x3985('0xa')][_0x3985('0xc')](_0x3985('0xb'))['to'](this),this[_0x3985('0xa')][_0x3985('0xc')](_0x3985('0xd'))['to'](this),this['setTemplate']({'tag':_0x3985('0xe'),'attributes':{'class':['ck',_0x3985('0x9')]},'children':[{'tag':_0x3985('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x3216c4}]},{'tag':_0x3985('0xe'),'attributes':{'class':['ck',_0x3985('0x6')]},'children':this['revisionViews']}]});}['addRevision'](_0xf136f5){const _0x426a09=new _0x5d20b1(this['locale'],_0xf136f5,this[_0x3985('0x3')]);this[_0x3985('0xa')][_0x3985('0x4')](_0x426a09);}['removeRevision'](_0x24f560){const _0x3cc899=this['revisionViews'][_0x3985('0x7')](_0x56508c=>_0x56508c['id']===_0x24f560['id']);this[_0x3985('0xa')][_0x3985('0x2')](_0x3cc899);}}
23
+ const _0x522d=['find','uiLanguage','setName','span','div','startDate','remove','delegate','setTemplate','add','ck-revision-history-sidebar__time-period__revisions','revisionViews','locale'];(function(_0x2d01f7,_0x522d78){const _0x53e0bb=function(_0x102781){while(--_0x102781){_0x2d01f7['push'](_0x2d01f7['shift']());}};_0x53e0bb(++_0x522d78);}(_0x522d,0x121));const _0x53e0=function(_0x2d01f7,_0x522d78){_0x2d01f7=_0x2d01f7-0x0;let _0x53e0bb=_0x522d[_0x2d01f7];return _0x53e0bb;};import{View as _0x2bd915}from'ckeditor5/src/ui';import _0xdbe589 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x2c92be}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class ki extends _0x2bd915{constructor(_0x58d6ad,_0x1375dd,_0x4abc73){super(_0x58d6ad);const _0x363339=_0x2c92be(_0x1375dd,this['locale'][_0x53e0('0xb')])['localizedPeriodName'];this[_0x53e0('0x2')]=_0x1375dd,this[_0x53e0('0x8')]=this['createCollection'](),this['_revisionActions']=_0x4abc73,this[_0x53e0('0x8')][_0x53e0('0x4')]('select')['to'](this),this['revisionViews'][_0x53e0('0x4')](_0x53e0('0xc'))['to'](this),this[_0x53e0('0x5')]({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x53e0('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x363339}]},{'tag':_0x53e0('0x1'),'attributes':{'class':['ck',_0x53e0('0x7')]},'children':this[_0x53e0('0x8')]}]});}['addRevision'](_0x2755d7){const _0x4adf1c=new _0xdbe589(this[_0x53e0('0x9')],_0x2755d7,this['_revisionActions']);this[_0x53e0('0x8')][_0x53e0('0x6')](_0x4adf1c);}['removeRevision'](_0x3bef64){const _0x252d2f=this['revisionViews'][_0x53e0('0xa')](_0x21d646=>_0x21d646['id']===_0x3bef64['id']);this[_0x53e0('0x8')][_0x53e0('0x3')](_0x252d2f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cfd=['delegate','startDate','getTime','setName','fire','highlightRevisions','some','addRevision','ck-revision-history-sidebar__timeline','timePeriodViews','createdAt','highlight','revisionSetName','div','render','isEnabled','map','ck-reset','locale','_addRevision','ck-disabled','createCollection','_revisions','uiLanguage','removeRevision','_getTimePeriodViewByStartDate','select','flat','revisionViews','_revisionActions','selectRevision','ck-rounded-corners','deselect','add','revisionSelected','unhighlight'];(function(_0x834123,_0x3cfdd0){const _0x337403=function(_0x483adc){while(--_0x483adc){_0x834123['push'](_0x834123['shift']());}};_0x337403(++_0x3cfdd0);}(_0x3cfd,0x86));const _0x3374=function(_0x834123,_0x3cfdd0){_0x834123=_0x834123-0x0;let _0x337403=_0x3cfd[_0x834123];return _0x337403;};import{View as _0x8f369}from'ckeditor5/src/ui';import _0x1839dc from'./revisionssidebartimeperiodview';import _0x3dab71 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x3703f4}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x8f369{constructor(_0x4a5dea,_0x37a1d2,_0x41374c){super(_0x4a5dea);const _0x373446=this['bindTemplate'];this[_0x3374('0x13')]=this[_0x3374('0x1f')](),this[_0x3374('0x13')][_0x3374('0xa')](_0x3374('0x0'))['to'](this),this['timePeriodViews'][_0x3374('0xa')]('setName')['to'](this),this['_revisions']=_0x37a1d2,this[_0x3374('0x3')]=_0x41374c,this['on'](_0x3374('0x0'),(_0x114894,_0x48f6bb)=>{this['fire'](_0x3374('0x8'),_0x48f6bb);}),this['on'](_0x3374('0xd'),(_0x456483,_0xe5f072)=>{this[_0x3374('0xe')](_0x3374('0x16'),_0xe5f072);}),this['set'](_0x3374('0x19'),!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x3374('0x1b'),_0x3374('0x5'),'ck-revision-history-sidebar']},'children':[new _0x3dab71(_0x4a5dea),{'tag':_0x3374('0x17'),'attributes':{'class':['ck',_0x3374('0x12'),_0x373446['if'](_0x3374('0x19'),_0x3374('0x1e'),_0x487b7a=>!_0x487b7a)]},'children':this['timePeriodViews']}]});}['render'](){super[_0x3374('0x18')]();for(const _0x2f0b29 of this[_0x3374('0x20')])this[_0x3374('0x1d')](_0x2f0b29);this[_0x3374('0x20')]['on'](_0x3374('0x7'),(_0x18a162,_0x3953b6)=>{this['_addRevision'](_0x3953b6);}),this[_0x3374('0x20')]['on']('remove',(_0x17d300,_0x2f3c4e)=>{this['_removeRevision'](_0x2f3c4e);});}get['revisionViews'](){return this[_0x3374('0x13')][_0x3374('0x1a')](_0x4699b5=>_0x4699b5['revisionViews'][_0x3374('0x1a')](_0x4052a8=>_0x4052a8))[_0x3374('0x1')]();}[_0x3374('0x4')](_0x3f31de){for(const _0x2e770c of this[_0x3374('0x2')])_0x3f31de&&_0x3f31de['id']===_0x2e770c['id']?_0x2e770c['select']():_0x2e770c[_0x3374('0x6')]();}[_0x3374('0xf')](_0x56437b){for(const _0x4babd5 of this[_0x3374('0x2')])_0x56437b[_0x3374('0x10')](({id:_0x52cf22})=>_0x52cf22===_0x4babd5['id'])?_0x4babd5[_0x3374('0x15')]():_0x4babd5[_0x3374('0x9')]();}[_0x3374('0x1d')](_0x134805){const _0x28ef80=_0x3703f4(_0x134805[_0x3374('0x14')],this[_0x3374('0x1c')][_0x3374('0x21')])[_0x3374('0xb')];let _0x9a8694=this['timePeriodViews']['get'](0x0);_0x9a8694&&_0x9a8694[_0x3374('0xb')][_0x3374('0xc')]()===_0x28ef80['getTime']()||(_0x9a8694=new _0x1839dc(this[_0x3374('0x1c')],_0x28ef80,this['_revisionActions']),this['timePeriodViews'][_0x3374('0x7')](_0x9a8694)),_0x9a8694[_0x3374('0x11')](_0x134805);}['_removeRevision'](_0x581ff3){const _0x281d86=_0x3703f4(_0x581ff3['createdAt'],this['locale'][_0x3374('0x21')])[_0x3374('0xb')];this['_getTimePeriodViewByStartDate'](_0x281d86)[_0x3374('0x22')](_0x581ff3);}[_0x3374('0x23')](_0x41829d){return this[_0x3374('0x13')]['find'](_0x4b545a=>_0x4b545a[_0x3374('0xb')]['getTime']()===_0x41829d[_0x3374('0xc')]());}}
23
+ const _0x8bb4=['render','revisionSetName','startDate','get','delegate','select','ck-reset','setName','_revisionActions','div','isEnabled','createdAt','flat','timePeriodViews','locale','unhighlight','ck-revision-history-sidebar','createCollection','fire','getTime','remove','add','_getTimePeriodViewByStartDate','ck-rounded-corners','set','revisionViews','_addRevision','ck-revision-history-sidebar__timeline','bindTemplate','_removeRevision','revisionSelected','selectRevision','map','find','deselect','highlightRevisions','some','uiLanguage','_revisions','addRevision'];(function(_0x5a260d,_0x8bb4de){const _0x540b1b=function(_0xac6637){while(--_0xac6637){_0x5a260d['push'](_0x5a260d['shift']());}};_0x540b1b(++_0x8bb4de);}(_0x8bb4,0x1df));const _0x540b=function(_0x5a260d,_0x8bb4de){_0x5a260d=_0x5a260d-0x0;let _0x540b1b=_0x8bb4[_0x5a260d];return _0x540b1b;};import{View as _0x32f84d}from'ckeditor5/src/ui';import _0x4237b1 from'./revisionssidebartimeperiodview';import _0x1f8159 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0xa5aef4}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x32f84d{constructor(_0x53f861,_0x50f67e,_0x54c85f){super(_0x53f861);const _0x527a01=this[_0x540b('0x1d')];this[_0x540b('0xe')]=this[_0x540b('0x12')](),this[_0x540b('0xe')][_0x540b('0x5')](_0x540b('0x6'))['to'](this),this[_0x540b('0xe')][_0x540b('0x5')](_0x540b('0x8'))['to'](this),this[_0x540b('0x27')]=_0x50f67e,this[_0x540b('0x9')]=_0x54c85f,this['on'](_0x540b('0x6'),(_0x4ef844,_0x579f13)=>{this[_0x540b('0x13')](_0x540b('0x1f'),_0x579f13);}),this['on'](_0x540b('0x8'),(_0x9efb30,_0x1fd876)=>{this[_0x540b('0x13')](_0x540b('0x2'),_0x1fd876);}),this[_0x540b('0x19')](_0x540b('0xb'),!0x1),this['setTemplate']({'tag':_0x540b('0xa'),'attributes':{'class':['ck',_0x540b('0x7'),_0x540b('0x18'),_0x540b('0x11')]},'children':[new _0x1f8159(_0x53f861),{'tag':_0x540b('0xa'),'attributes':{'class':['ck',_0x540b('0x1c'),_0x527a01['if'](_0x540b('0xb'),'ck-disabled',_0x18adb1=>!_0x18adb1)]},'children':this[_0x540b('0xe')]}]});}[_0x540b('0x1')](){super[_0x540b('0x1')]();for(const _0x5f0feb of this['_revisions'])this['_addRevision'](_0x5f0feb);this[_0x540b('0x27')]['on'](_0x540b('0x16'),(_0xc87106,_0x5b23db)=>{this[_0x540b('0x1b')](_0x5b23db);}),this[_0x540b('0x27')]['on'](_0x540b('0x15'),(_0xcba005,_0x2e121b)=>{this[_0x540b('0x1e')](_0x2e121b);});}get[_0x540b('0x1a')](){return this[_0x540b('0xe')][_0x540b('0x21')](_0x241ab2=>_0x241ab2[_0x540b('0x1a')][_0x540b('0x21')](_0x5b5cb9=>_0x5b5cb9))[_0x540b('0xd')]();}[_0x540b('0x20')](_0x128b8e){for(const _0xa6a92c of this[_0x540b('0x1a')])_0x128b8e&&_0x128b8e['id']===_0xa6a92c['id']?_0xa6a92c[_0x540b('0x6')]():_0xa6a92c[_0x540b('0x23')]();}[_0x540b('0x24')](_0x2d10c9){for(const _0x51ed5d of this['revisionViews'])_0x2d10c9[_0x540b('0x25')](({id:_0x105407})=>_0x105407===_0x51ed5d['id'])?_0x51ed5d['highlight']():_0x51ed5d[_0x540b('0x10')]();}[_0x540b('0x1b')](_0x3ee97e){const _0x2794db=_0xa5aef4(_0x3ee97e[_0x540b('0xc')],this[_0x540b('0xf')][_0x540b('0x26')])[_0x540b('0x3')];let _0x5edba5=this['timePeriodViews'][_0x540b('0x4')](0x0);_0x5edba5&&_0x5edba5['startDate'][_0x540b('0x14')]()===_0x2794db['getTime']()||(_0x5edba5=new _0x4237b1(this[_0x540b('0xf')],_0x2794db,this[_0x540b('0x9')]),this['timePeriodViews'][_0x540b('0x16')](_0x5edba5)),_0x5edba5[_0x540b('0x0')](_0x3ee97e);}[_0x540b('0x1e')](_0x465f8e){const _0x440d71=_0xa5aef4(_0x465f8e[_0x540b('0xc')],this['locale'][_0x540b('0x26')])['startDate'];this[_0x540b('0x17')](_0x440d71)['removeRevision'](_0x465f8e);}[_0x540b('0x17')](_0x29595c){return this['timePeriodViews'][_0x540b('0x22')](_0x1784d5=>_0x1784d5[_0x540b('0x3')][_0x540b('0x14')]()===_0x29595c['getTime']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x98bb=['setLocale','hasSame','day','weekdayLong','local','startOf','week','toJSDate','fromJSDate','minus','year'];(function(_0x14a55f,_0x98bb96){const _0x533cdd=function(_0x2fee08){while(--_0x2fee08){_0x14a55f['push'](_0x14a55f['shift']());}};_0x533cdd(++_0x98bb96);}(_0x98bb,0xba));const _0x533c=function(_0x14a55f,_0x98bb96){_0x14a55f=_0x14a55f-0x0;let _0x533cdd=_0x98bb[_0x14a55f];return _0x533cdd;};import{DateTime as _0xde285}from'luxon';export function getDateTimePeriodInfo(_0x3e398c,_0x2d0743){const _0x45b92b=_0xde285[_0x533c('0x9')](_0x3e398c)[_0x533c('0x1')](_0x2d0743),_0x2ebd00=_0xde285[_0x533c('0x5')](),_0x588ad8=_0x2ebd00[_0x533c('0xa')]({'days':0x1})[_0x533c('0x6')](_0x533c('0x3'));let _0x5c07cd,_0x4e25df;return _0x45b92b[_0x533c('0x2')](_0x2ebd00,_0x533c('0x3'))?(_0x5c07cd=_0x45b92b[_0x533c('0x6')](_0x533c('0x3'))[_0x533c('0x8')](),_0x4e25df=_0x45b92b['toRelativeCalendar']()):_0x45b92b['hasSame'](_0x588ad8,'day')?(_0x5c07cd=_0x588ad8[_0x533c('0x8')](),_0x4e25df=_0x45b92b['toRelativeCalendar']()):_0x45b92b[_0x533c('0x2')](_0x2ebd00,_0x533c('0x7'))?(_0x5c07cd=_0x45b92b[_0x533c('0x6')](_0x533c('0x7'))['toJSDate'](),_0x4e25df=_0x45b92b[_0x533c('0x4')]||''):_0x45b92b[_0x533c('0x2')](_0x2ebd00,_0x533c('0x0'))?(_0x5c07cd=_0x45b92b[_0x533c('0x6')]('month')[_0x533c('0x8')](),_0x4e25df=_0x45b92b['monthLong']||''):(_0x5c07cd=_0x45b92b['startOf'](_0x533c('0x0'))[_0x533c('0x8')](),_0x4e25df=String(_0x45b92b[_0x533c('0x0')])),{'startDate':_0x5c07cd,'localizedPeriodName':_0x4e25df};}
23
+ const _0x15c7=['week','toRelativeCalendar','day','hasSame','monthLong','toJSDate','fromJSDate','year','startOf','setLocale'];(function(_0x540614,_0x15c74e){const _0x4a25c0=function(_0x4796de){while(--_0x4796de){_0x540614['push'](_0x540614['shift']());}};_0x4a25c0(++_0x15c74e);}(_0x15c7,0x1c5));const _0x4a25=function(_0x540614,_0x15c74e){_0x540614=_0x540614-0x0;let _0x4a25c0=_0x15c7[_0x540614];return _0x4a25c0;};import{DateTime as _0x4bbc8b}from'luxon';export function getDateTimePeriodInfo(_0x125abd,_0x4cf1a8){const _0x45ed24=_0x4bbc8b[_0x4a25('0x3')](_0x125abd)[_0x4a25('0x6')](_0x4cf1a8),_0x393680=_0x4bbc8b['local'](),_0x33e05a=_0x393680['minus']({'days':0x1})['startOf']('day');let _0x382c83,_0x2e19ff;return _0x45ed24[_0x4a25('0x0')](_0x393680,_0x4a25('0x9'))?(_0x382c83=_0x45ed24['startOf'](_0x4a25('0x9'))['toJSDate'](),_0x2e19ff=_0x45ed24['toRelativeCalendar']()):_0x45ed24['hasSame'](_0x33e05a,_0x4a25('0x9'))?(_0x382c83=_0x33e05a[_0x4a25('0x2')](),_0x2e19ff=_0x45ed24[_0x4a25('0x8')]()):_0x45ed24['hasSame'](_0x393680,_0x4a25('0x7'))?(_0x382c83=_0x45ed24[_0x4a25('0x5')](_0x4a25('0x7'))[_0x4a25('0x2')](),_0x2e19ff=_0x45ed24['weekdayLong']||''):_0x45ed24[_0x4a25('0x0')](_0x393680,_0x4a25('0x4'))?(_0x382c83=_0x45ed24[_0x4a25('0x5')]('month')[_0x4a25('0x2')](),_0x2e19ff=_0x45ed24[_0x4a25('0x1')]||''):(_0x382c83=_0x45ed24[_0x4a25('0x5')]('year')[_0x4a25('0x2')](),_0x2e19ff=String(_0x45ed24[_0x4a25('0x4')])),{'startDate':_0x382c83,'localizedPeriodName':_0x2e19ff};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x431c=['ck-revision-change__label','ck-revision-change__','element','ck-revision-change','Removed\x20by','data','isSuggestion','span','Added\x20by','set','author','type','ck-annotation','Suggested\x20by','bindTemplate','setTemplate','_model','div','focus','name'];(function(_0x4177b1,_0x431c6b){const _0x18c0e6=function(_0x3b1f57){while(--_0x3b1f57){_0x4177b1['push'](_0x4177b1['shift']());}};_0x18c0e6(++_0x431c6b);}(_0x431c,0x177));const _0x18c0=function(_0x4177b1,_0x431c6b){_0x4177b1=_0x4177b1-0x0;let _0x18c0e6=_0x431c[_0x4177b1];return _0x18c0e6;};import{View as _0x5da830}from'ckeditor5/src/ui';import{getTranslation as _0x3c2cd2}from'../../utils/common-translations';export default class Q extends _0x5da830{constructor(_0x974f7,_0x39582b){super(_0x974f7),this[_0x18c0('0x1')]=_0x39582b,this['changeId']=_0x39582b['id'];const _0x5b7fc1=this[_0x18c0('0x13')],_0x3d4c16=_0x3c2cd2(_0x974f7,_0x39582b[_0x18c0('0xa')][_0x18c0('0xb')]?_0x18c0('0x12'):'add'==_0x39582b[_0x18c0('0x10')]?_0x18c0('0xd'):_0x18c0('0x9'));this[_0x18c0('0xe')](_0x18c0('0x10'),_0x39582b[_0x18c0('0x10')]),this[_0x18c0('0x0')]({'tag':_0x18c0('0x2'),'attributes':{'class':[_0x18c0('0x11'),_0x18c0('0x8'),_0x5b7fc1['to'](_0x18c0('0x10'),_0x2c5c38=>_0x18c0('0x6')+_0x2c5c38)],'tabindex':-0x1},'children':[{'tag':_0x18c0('0xc'),'children':[{'tag':_0x18c0('0xc'),'attributes':{'class':[_0x18c0('0x5')]},'children':[{'text':_0x3d4c16}]},{'text':'\x20'+_0x39582b[_0x18c0('0xf')][_0x18c0('0x4')]}]}]});}[_0x18c0('0x3')](){this[_0x18c0('0x7')][_0x18c0('0x3')]();}}
23
+ const _0x3492=['ck-annotation','set','type','ck-revision-change__label','element','_model','isSuggestion','changeId','span','name','add','author','data','focus'];(function(_0x2faf60,_0x3492f7){const _0x538724=function(_0x34ebd3){while(--_0x34ebd3){_0x2faf60['push'](_0x2faf60['shift']());}};_0x538724(++_0x3492f7);}(_0x3492,0x12c));const _0x5387=function(_0x2faf60,_0x3492f7){_0x2faf60=_0x2faf60-0x0;let _0x538724=_0x3492[_0x2faf60];return _0x538724;};import{View as _0x440c07}from'ckeditor5/src/ui';import{getTranslation as _0x7ccdbf}from'../../utils/common-translations';export default class Q extends _0x440c07{constructor(_0x294d55,_0x5e0273){super(_0x294d55),this[_0x5387('0xd')]=_0x5e0273,this[_0x5387('0x1')]=_0x5e0273['id'];const _0x42f631=this['bindTemplate'],_0x358e44=_0x7ccdbf(_0x294d55,_0x5e0273[_0x5387('0x6')][_0x5387('0x0')]?'Suggested\x20by':_0x5387('0x4')==_0x5e0273[_0x5387('0xa')]?'Added\x20by':'Removed\x20by');this[_0x5387('0x9')](_0x5387('0xa'),_0x5e0273[_0x5387('0xa')]),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5387('0x8'),'ck-revision-change',_0x42f631['to']('type',_0x24bf6b=>'ck-revision-change__'+_0x24bf6b)],'tabindex':-0x1},'children':[{'tag':_0x5387('0x2'),'children':[{'tag':_0x5387('0x2'),'attributes':{'class':[_0x5387('0xb')]},'children':[{'text':_0x358e44}]},{'text':'\x20'+_0x5e0273[_0x5387('0x5')][_0x5387('0x3')]}]}]});}['focus'](){this[_0x5387('0xc')][_0x5387('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x416d=['X_OF_Y_CHANGES','numberOfChanges','setTemplate','ck-revision-history-ui__changes-navigation__wrapper','No\x20changes','EDIT_X_OF_Y_REVISIONS','NUMBER_OF_CHANGES','isReady','isForwardNavigationEnabled','Show\x20previous\x20change','fire','isEnabled','_isStatusLabelVisible','backward','ck-revision-history-ui__changes-navigation','bindTemplate','_statusText','Show\x20next\x20change','bind','isNavigationMode','ck-hidden','span','ck-revision-history-ui__changes-navigation__navigation','forward','currentChangeNumber','set','div','isBackwardNavigationEnabled','execute'];(function(_0x1d373b,_0x416d89){const _0x3ca8b1=function(_0x4975fb){while(--_0x4975fb){_0x1d373b['push'](_0x1d373b['shift']());}};_0x3ca8b1(++_0x416d89);}(_0x416d,0xde));const _0x3ca8=function(_0x1d373b,_0x416d89){_0x1d373b=_0x1d373b-0x0;let _0x3ca8b1=_0x416d[_0x1d373b];return _0x3ca8b1;};import{View as _0x8f17b9,ButtonView as _0x286c7e,ToolbarSeparatorView as _0x57a3a5}from'ckeditor5/src/ui';import{getTranslation as _0x4b269e}from'../../utils/common-translations';import _0x3d3b89 from'../../../theme/icons/arrow-up.svg';import _0x43d16a from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x8f17b9{constructor(_0x2c643b){super(_0x2c643b);const _0x31b775=this[_0x3ca8('0x19')],_0x2bae66=new _0x286c7e(_0x2c643b),_0x14529f=new _0x286c7e(_0x2c643b);this[_0x3ca8('0x6')](_0x3ca8('0x0'),!0x1),this[_0x3ca8('0x6')](_0x3ca8('0x11'),!0x1),this[_0x3ca8('0x6')](_0x3ca8('0x5'),0x0),this[_0x3ca8('0x6')](_0x3ca8('0xb'),0x0),this[_0x3ca8('0x6')]('isForwardNavigationEnabled',!0x1),this[_0x3ca8('0x6')]('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,_0x3ca8('0x11'),this,'numberOfChanges',(_0x2e624e,_0x245d93)=>_0x2e624e&&_0x245d93>0x0),this[_0x3ca8('0x1c')](_0x3ca8('0x1a'))['to'](this,_0x3ca8('0x11'),this,'currentChangeNumber',this,_0x3ca8('0xb'),this,_0x3ca8('0x0'),(_0x5e8af7,_0x466576,_0x426c9a,_0x1d879a)=>{if(!_0x5e8af7)return _0x4b269e(_0x2c643b,'Loading...');if(!_0x426c9a)return _0x4b269e(_0x2c643b,_0x3ca8('0xe'));const _0x8104e5=_0x4b269e(_0x2c643b,_0x3ca8('0x10'),_0x426c9a);return _0x1d879a?_0x4b269e(_0x2c643b,_0x3ca8('0xa'),[_0x466576+0x1,_0x426c9a]):_0x8104e5;}),_0x2bae66[_0x3ca8('0x6')]({'label':_0x4b269e(_0x2c643b,_0x3ca8('0x13')),'tooltip':!0x0,'icon':_0x3d3b89}),_0x14529f[_0x3ca8('0x6')]({'label':_0x4b269e(_0x2c643b,_0x3ca8('0x1b')),'tooltip':!0x0,'icon':_0x43d16a}),_0x2bae66['bind'](_0x3ca8('0x15'))['to'](this,_0x3ca8('0x8')),_0x14529f[_0x3ca8('0x1c')](_0x3ca8('0x15'))['to'](this,_0x3ca8('0x12')),_0x2bae66['on'](_0x3ca8('0x9'),()=>this[_0x3ca8('0x14')](_0x3ca8('0x9'),_0x3ca8('0x17'))),_0x14529f['on'](_0x3ca8('0x9'),()=>this[_0x3ca8('0x14')](_0x3ca8('0x9'),_0x3ca8('0x4'))),this[_0x3ca8('0xc')]({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui',_0x3ca8('0x18')]},'children':[{'tag':'span','attributes':{'class':[_0x3ca8('0xd')]},'children':[{'tag':_0x3ca8('0x2'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x31b775['if'](_0x3ca8('0x16'),_0x3ca8('0x1'),_0x3e97d0=>!_0x3e97d0)]},'children':[{'text':_0x31b775['to'](_0x3ca8('0x0'),_0x2a32ac=>_0x2a32ac?_0x4b269e(_0x2c643b,_0x3ca8('0xf'))+':\x20':_0x4b269e(_0x2c643b,'Total')+':\x20')}]},{'text':_0x31b775['to'](_0x3ca8('0x1a'))}]},new _0x57a3a5(),{'tag':_0x3ca8('0x7'),'attributes':{'class':[_0x3ca8('0x3')]},'children':[_0x2bae66,_0x14529f]}]});}}
23
+ const _0x4d48=['backward','div','ck-revision-history-ui__changes-navigation','fire','NUMBER_OF_CHANGES','currentChangeNumber','isBackwardNavigationEnabled','Show\x20next\x20change','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','isReady','_statusText','Show\x20previous\x20change','bindTemplate','isNavigationMode','isForwardNavigationEnabled','execute','numberOfChanges','setTemplate','_isStatusLabelVisible','set','ck-revision-history-ui__changes-navigation__navigation','bind','No\x20changes','span','isEnabled'];(function(_0x1676f0,_0x4d487e){const _0xef649a=function(_0x508204){while(--_0x508204){_0x1676f0['push'](_0x1676f0['shift']());}};_0xef649a(++_0x4d487e);}(_0x4d48,0xc2));const _0xef64=function(_0x1676f0,_0x4d487e){_0x1676f0=_0x1676f0-0x0;let _0xef649a=_0x4d48[_0x1676f0];return _0xef649a;};import{View as _0x8a8395,ButtonView as _0x49d37c,ToolbarSeparatorView as _0x59d5f3}from'ckeditor5/src/ui';import{getTranslation as _0x312cb3}from'../../utils/common-translations';import _0x3f4ca8 from'../../../theme/icons/arrow-up.svg';import _0x493ed0 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x8a8395{constructor(_0x4f112d){super(_0x4f112d);const _0x276ccd=this[_0xef64('0x1')],_0x4cc4a9=new _0x49d37c(_0x4f112d),_0x793db2=new _0x49d37c(_0x4f112d);this['set'](_0xef64('0x2'),!0x1),this['set'](_0xef64('0x18'),!0x1),this['set'](_0xef64('0x13'),0x0),this[_0xef64('0x8')](_0xef64('0x5'),0x0),this[_0xef64('0x8')](_0xef64('0x3'),!0x1),this[_0xef64('0x8')](_0xef64('0x14'),!0x1),this[_0xef64('0xa')](_0xef64('0x7'))['to'](this,_0xef64('0x18'),this,_0xef64('0x5'),(_0x3e4599,_0x5467d4)=>_0x3e4599&&_0x5467d4>0x0),this[_0xef64('0xa')]('_statusText')['to'](this,_0xef64('0x18'),this,_0xef64('0x13'),this,_0xef64('0x5'),this,_0xef64('0x2'),(_0x2615ad,_0x4af5f8,_0xa08439,_0x3f9c28)=>{if(!_0x2615ad)return _0x312cb3(_0x4f112d,'Loading...');if(!_0xa08439)return _0x312cb3(_0x4f112d,_0xef64('0xb'));const _0x47a000=_0x312cb3(_0x4f112d,_0xef64('0x12'),_0xa08439);return _0x3f9c28?_0x312cb3(_0x4f112d,_0xef64('0x16'),[_0x4af5f8+0x1,_0xa08439]):_0x47a000;}),_0x4cc4a9[_0xef64('0x8')]({'label':_0x312cb3(_0x4f112d,_0xef64('0x0')),'tooltip':!0x0,'icon':_0x3f4ca8}),_0x793db2[_0xef64('0x8')]({'label':_0x312cb3(_0x4f112d,_0xef64('0x15')),'tooltip':!0x0,'icon':_0x493ed0}),_0x4cc4a9[_0xef64('0xa')](_0xef64('0xd'))['to'](this,_0xef64('0x14')),_0x793db2[_0xef64('0xa')]('isEnabled')['to'](this,_0xef64('0x3')),_0x4cc4a9['on'](_0xef64('0x4'),()=>this[_0xef64('0x11')](_0xef64('0x4'),_0xef64('0xe'))),_0x793db2['on'](_0xef64('0x4'),()=>this[_0xef64('0x11')](_0xef64('0x4'),'forward')),this[_0xef64('0x6')]({'tag':_0xef64('0xf'),'attributes':{'class':['ck','ck-revision-history-ui',_0xef64('0x10')]},'children':[{'tag':_0xef64('0xc'),'attributes':{'class':[_0xef64('0x17')]},'children':[{'tag':_0xef64('0xc'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x276ccd['if'](_0xef64('0x7'),'ck-hidden',_0x1a82d4=>!_0x1a82d4)]},'children':[{'text':_0x276ccd['to'](_0xef64('0x2'),_0x5ad4ad=>_0x5ad4ad?_0x312cb3(_0x4f112d,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x312cb3(_0x4f112d,'Total')+':\x20')}]},{'text':_0x276ccd['to'](_0xef64('0x19'))}]},new _0x59d5f3(),{'tag':_0xef64('0xf'),'attributes':{'class':[_0xef64('0x9')]},'children':[_0x4cc4a9,_0x793db2]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df2=['view','removeClass','roots','hide','document','editing','RevisionViewerLoadingOverlay','pluginName','ck-editor__editable__loading-overlay','change','editor'];(function(_0x5871ef,_0x1df2b4){const _0x506c0a=function(_0x55e787){while(--_0x55e787){_0x5871ef['push'](_0x5871ef['shift']());}};_0x506c0a(++_0x1df2b4);}(_0x1df2,0x1d7));const _0x506c=function(_0x5871ef,_0x1df2b4){_0x5871ef=_0x5871ef-0x0;let _0x506c0a=_0x1df2[_0x5871ef];return _0x506c0a;};import{Plugin as _0x38c65e}from'ckeditor5/src/core';const ee=_0x506c('0xa');import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x38c65e{static get[_0x506c('0x9')](){return _0x506c('0x8');}['show'](){const _0x813ef8=this[_0x506c('0x1')][_0x506c('0x7')]['view'];_0x813ef8[_0x506c('0x0')](_0x54628a=>{for(const _0x53578e of _0x813ef8[_0x506c('0x6')][_0x506c('0x4')])_0x54628a['addClass'](ee,_0x53578e);});}[_0x506c('0x5')](){const _0x46fa92=this[_0x506c('0x1')][_0x506c('0x7')][_0x506c('0x2')];_0x46fa92['change'](_0x47c647=>{for(const _0x402675 of _0x46fa92[_0x506c('0x6')][_0x506c('0x4')])_0x47c647[_0x506c('0x3')](ee,_0x402675);});}}
23
+ const _0x4c83=['addClass','pluginName','roots','RevisionViewerLoadingOverlay','change','show','editor','view','document','editing','removeClass','ck-editor__editable__loading-overlay','hide'];(function(_0x372116,_0x4c8362){const _0x92bff5=function(_0x2cb113){while(--_0x2cb113){_0x372116['push'](_0x372116['shift']());}};_0x92bff5(++_0x4c8362);}(_0x4c83,0x14b));const _0x92bf=function(_0x372116,_0x4c8362){_0x372116=_0x372116-0x0;let _0x92bff5=_0x4c83[_0x372116];return _0x92bff5;};import{Plugin as _0x41a466}from'ckeditor5/src/core';const ee=_0x92bf('0x5');import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x41a466{static get[_0x92bf('0x8')](){return _0x92bf('0xa');}[_0x92bf('0xc')](){const _0x24a5d9=this[_0x92bf('0x0')][_0x92bf('0x3')][_0x92bf('0x1')];_0x24a5d9[_0x92bf('0xb')](_0x2008bc=>{for(const _0x35183b of _0x24a5d9[_0x92bf('0x2')][_0x92bf('0x9')])_0x2008bc[_0x92bf('0x7')](ee,_0x35183b);});}[_0x92bf('0x6')](){const _0x13495d=this['editor'][_0x92bf('0x3')][_0x92bf('0x1')];_0x13495d[_0x92bf('0xb')](_0x5bd233=>{for(const _0x232b91 of _0x13495d[_0x92bf('0x2')][_0x92bf('0x9')])_0x5bd233[_0x92bf('0x4')](ee,_0x232b91);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x237e=['show','get','currentChangeNumber','restoreRevision','isReady','exitToEditing','add','pluginName','set','listenTo','init','componentFactory','showNextChange','execute','requires','isForwardNavigationEnabled','isBackwardNavigationEnabled','change:isReady','showPreviousChange','isEnabled','ck-revision-history-ui__back-to-editing','Back\x20to\x20editing','isNavigationMode','commands','forward','plugins'];(function(_0x1880c9,_0x237ece){const _0xfe9e25=function(_0x337b8d){while(--_0x337b8d){_0x1880c9['push'](_0x1880c9['shift']());}};_0xfe9e25(++_0x237ece);}(_0x237e,0xcb));const _0xfe9e=function(_0x1880c9,_0x237ece){_0x1880c9=_0x1880c9-0x0;let _0xfe9e25=_0x237e[_0x1880c9];return _0xfe9e25;};import{Plugin as _0x343e8c}from'ckeditor5/src/core';import{ButtonView as _0x578ff3}from'ckeditor5/src/ui';import _0x28eb69 from'./changesnavigationview';import _0x422c7a from'./../../revisionviewer';import _0x456bf0 from'./revisionviewerloadingoverlay';import{getTranslation as _0x2f3935}from'../../utils/common-translations';import _0x5b12b6 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class y extends _0x343e8c{static get[_0xfe9e('0xc')](){return'RevisionViewerUI';}static get[_0xfe9e('0x13')](){return[_0x422c7a,_0x456bf0];}[_0xfe9e('0xf')](){const _0x82c424=this['editor'],_0x40c641=_0x82c424['plugins'][_0xfe9e('0x6')](_0x422c7a),_0x101d1e=_0x82c424[_0xfe9e('0x4')]['get'](_0x456bf0);_0x82c424['ui'][_0xfe9e('0x10')][_0xfe9e('0xb')](_0xfe9e('0xa'),_0x264636=>{const _0x57f7c9=new _0x578ff3(_0x264636);return _0x57f7c9[_0xfe9e('0xd')]({'label':_0x2f3935(_0x264636,_0xfe9e('0x0')),'icon':_0x5b12b6,'withText':!0x0,'tooltip':!0x0,'class':_0xfe9e('0x19')}),this[_0xfe9e('0xe')](_0x57f7c9,'execute',()=>{_0x82c424['config'][_0xfe9e('0x6')]('revisionHistory')['closeRevisionViewerCallback']();}),_0x57f7c9;}),_0x82c424['ui'][_0xfe9e('0x10')][_0xfe9e('0xb')](_0xfe9e('0x8'),_0x2d6169=>{const _0x8139ca=new _0x578ff3(_0x2d6169);return _0x8139ca['set']({'label':_0x2f3935(_0x2d6169,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x8139ca['bind']('isEnabled')['to'](_0x82c424[_0xfe9e('0x2')][_0xfe9e('0x6')](_0xfe9e('0x8'))),this['listenTo'](_0x8139ca,_0xfe9e('0x12'),()=>_0x82c424[_0xfe9e('0x12')](_0xfe9e('0x8'))),_0x8139ca;}),_0x82c424['ui']['componentFactory'][_0xfe9e('0xb')]('changesNavigation',_0x313565=>{const _0xd44642=new _0x28eb69(_0x313565),_0x93d4f0=_0x82c424['commands'][_0xfe9e('0x6')](_0xfe9e('0x17')),_0xc7532a=_0x82c424[_0xfe9e('0x2')][_0xfe9e('0x6')]('showNextChange');return _0xd44642['bind'](_0xfe9e('0x15'))['to'](_0x93d4f0,_0xfe9e('0x18')),_0xd44642['bind'](_0xfe9e('0x14'))['to'](_0xc7532a,_0xfe9e('0x18')),_0xd44642['bind'](_0xfe9e('0x9'),_0xfe9e('0x7'),'numberOfChanges',_0xfe9e('0x1'))['to'](_0x40c641),this[_0xfe9e('0xe')](_0xd44642,_0xfe9e('0x12'),(_0xddf1e6,_0x2b67fc)=>{_0x82c424['execute'](_0xfe9e('0x3')===_0x2b67fc?_0xfe9e('0x11'):'showPreviousChange');}),_0xd44642;}),_0x101d1e['show'](),_0x40c641['on'](_0xfe9e('0x16'),(_0x1903b7,_0x1c44b3,_0x362066)=>{_0x362066?_0x101d1e['hide']():_0x101d1e[_0xfe9e('0x5')]();});}}
23
+ const _0xa5c8=['hide','plugins','isEnabled','pluginName','componentFactory','isReady','add','listenTo','exitToEditing','changesNavigation','isForwardNavigationEnabled','revisionHistory','showPreviousChange','get','Restore\x20this\x20revision','bind','editor','show','restoreRevision','isBackwardNavigationEnabled','showNextChange','change:isReady','forward','config','isNavigationMode','init','currentChangeNumber','closeRevisionViewerCallback','commands','execute','ck-revision-history-ui__back-to-editing'];(function(_0xadc8a2,_0xa5c8c5){const _0x20dcda=function(_0x341f5c){while(--_0x341f5c){_0xadc8a2['push'](_0xadc8a2['shift']());}};_0x20dcda(++_0xa5c8c5);}(_0xa5c8,0x91));const _0x20dc=function(_0xadc8a2,_0xa5c8c5){_0xadc8a2=_0xadc8a2-0x0;let _0x20dcda=_0xa5c8[_0xadc8a2];return _0x20dcda;};import{Plugin as _0x3161a7}from'ckeditor5/src/core';import{ButtonView as _0x16c1f0}from'ckeditor5/src/ui';import _0x5c141f from'./changesnavigationview';import _0x156c0e from'./../../revisionviewer';import _0x15a81c from'./revisionviewerloadingoverlay';import{getTranslation as _0x3aba82}from'../../utils/common-translations';import _0x35da04 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class y extends _0x3161a7{static get[_0x20dc('0xd')](){return'RevisionViewerUI';}static get['requires'](){return[_0x156c0e,_0x15a81c];}[_0x20dc('0x4')](){const _0x18ea42=this[_0x20dc('0x1a')],_0x819cd7=_0x18ea42[_0x20dc('0xb')][_0x20dc('0x17')](_0x156c0e),_0x2ebe82=_0x18ea42['plugins'][_0x20dc('0x17')](_0x15a81c);_0x18ea42['ui'][_0x20dc('0xe')]['add'](_0x20dc('0x12'),_0x560130=>{const _0x4184d8=new _0x16c1f0(_0x560130);return _0x4184d8['set']({'label':_0x3aba82(_0x560130,'Back\x20to\x20editing'),'icon':_0x35da04,'withText':!0x0,'tooltip':!0x0,'class':_0x20dc('0x9')}),this[_0x20dc('0x11')](_0x4184d8,_0x20dc('0x8'),()=>{_0x18ea42[_0x20dc('0x2')][_0x20dc('0x17')](_0x20dc('0x15'))[_0x20dc('0x6')]();}),_0x4184d8;}),_0x18ea42['ui'][_0x20dc('0xe')][_0x20dc('0x10')](_0x20dc('0x1c'),_0x1d286a=>{const _0x51d769=new _0x16c1f0(_0x1d286a);return _0x51d769['set']({'label':_0x3aba82(_0x1d286a,_0x20dc('0x18')),'withText':!0x0,'tooltip':!0x0}),_0x51d769['bind']('isEnabled')['to'](_0x18ea42['commands'][_0x20dc('0x17')](_0x20dc('0x1c'))),this['listenTo'](_0x51d769,_0x20dc('0x8'),()=>_0x18ea42['execute'](_0x20dc('0x1c'))),_0x51d769;}),_0x18ea42['ui'][_0x20dc('0xe')]['add'](_0x20dc('0x13'),_0x20a3b2=>{const _0x1184f2=new _0x5c141f(_0x20a3b2),_0x19e01a=_0x18ea42['commands'][_0x20dc('0x17')](_0x20dc('0x16')),_0xac50c=_0x18ea42[_0x20dc('0x7')][_0x20dc('0x17')](_0x20dc('0x1e'));return _0x1184f2['bind'](_0x20dc('0x1d'))['to'](_0x19e01a,_0x20dc('0xc')),_0x1184f2['bind'](_0x20dc('0x14'))['to'](_0xac50c,'isEnabled'),_0x1184f2[_0x20dc('0x19')](_0x20dc('0xf'),_0x20dc('0x5'),'numberOfChanges',_0x20dc('0x3'))['to'](_0x819cd7),this[_0x20dc('0x11')](_0x1184f2,_0x20dc('0x8'),(_0x151adb,_0x48879d)=>{_0x18ea42[_0x20dc('0x8')](_0x20dc('0x1')===_0x48879d?_0x20dc('0x1e'):_0x20dc('0x16'));}),_0x1184f2;}),_0x2ebe82[_0x20dc('0x1b')](),_0x819cd7['on'](_0x20dc('0x0'),(_0x4af4ad,_0x32c41a,_0x244279)=>{_0x244279?_0x2ebe82[_0x20dc('0xa')]():_0x2ebe82['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3d6086,_0x206058,_0x588f82){const t=_0x3d6086['t'];switch(_0x206058){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'},_0x588f82);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x588f82);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 _0x206058;}}
23
+ export function getTranslation(_0x174c8a,_0x5f4670,_0x49e50d){const t=_0x174c8a['t'];switch(_0x5f4670){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'},_0x49e50d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x49e50d);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 _0x5f4670;}}