@ckeditor/ckeditor5-revision-history 34.2.0 → 35.0.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 (91) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/bg.js +1 -0
  4. package/build/translations/bn.js +1 -0
  5. package/build/translations/ca.js +1 -0
  6. package/build/translations/da.js +1 -1
  7. package/build/translations/de.js +1 -1
  8. package/build/translations/et.js +1 -1
  9. package/build/translations/fi.js +1 -0
  10. package/build/translations/fr.js +1 -1
  11. package/build/translations/he.js +1 -1
  12. package/build/translations/hi.js +1 -1
  13. package/build/translations/hu.js +1 -1
  14. package/build/translations/id.js +1 -1
  15. package/build/translations/ja.js +1 -1
  16. package/build/translations/ko.js +1 -1
  17. package/build/translations/lt.js +1 -0
  18. package/build/translations/ms.js +1 -0
  19. package/build/translations/nl.js +1 -1
  20. package/build/translations/no.js +1 -1
  21. package/build/translations/pl.js +1 -1
  22. package/build/translations/pt.js +1 -0
  23. package/build/translations/ro.js +1 -1
  24. package/build/translations/ru.js +1 -1
  25. package/build/translations/sr.js +1 -1
  26. package/build/translations/sv.js +1 -0
  27. package/build/translations/th.js +1 -0
  28. package/build/translations/tr.js +1 -1
  29. package/build/translations/uk.js +1 -1
  30. package/build/translations/vi.js +1 -1
  31. package/build/translations/zh.js +1 -1
  32. package/lang/translations/ar.po +127 -0
  33. package/lang/translations/bg.po +123 -0
  34. package/lang/translations/bn.po +123 -0
  35. package/lang/translations/ca.po +123 -0
  36. package/lang/translations/da.po +25 -25
  37. package/lang/translations/de.po +3 -3
  38. package/lang/translations/et.po +25 -25
  39. package/lang/translations/fi.po +123 -0
  40. package/lang/translations/fr.po +24 -24
  41. package/lang/translations/he.po +28 -28
  42. package/lang/translations/hi.po +25 -25
  43. package/lang/translations/hu.po +19 -19
  44. package/lang/translations/id.po +13 -13
  45. package/lang/translations/ja.po +25 -25
  46. package/lang/translations/ko.po +24 -24
  47. package/lang/translations/lt.po +125 -0
  48. package/lang/translations/ms.po +122 -0
  49. package/lang/translations/nl.po +3 -3
  50. package/lang/translations/no.po +25 -25
  51. package/lang/translations/pl.po +5 -5
  52. package/lang/translations/pt.po +124 -0
  53. package/lang/translations/ro.po +6 -6
  54. package/lang/translations/ru.po +27 -27
  55. package/lang/translations/sr.po +3 -3
  56. package/lang/translations/sv.po +123 -0
  57. package/lang/translations/th.po +122 -0
  58. package/lang/translations/tr.po +6 -6
  59. package/lang/translations/uk.po +27 -27
  60. package/lang/translations/vi.po +25 -25
  61. package/lang/translations/zh.po +23 -23
  62. package/package.json +7 -7
  63. package/src/changeitem.js +1 -1
  64. package/src/editor/revisionviewereditor.js +1 -1
  65. package/src/editor/revisionviewereditorui.js +1 -1
  66. package/src/editor/revisionviewereditoruiview.js +1 -1
  67. package/src/revision.js +1 -1
  68. package/src/revisiondiff.js +1 -1
  69. package/src/revisionhistory.js +1 -1
  70. package/src/revisionsrepository.js +1 -1
  71. package/src/revisiontracker.js +1 -1
  72. package/src/revisionviewer.js +1 -1
  73. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  74. package/src/ui/revision/revisionauthorview.js +1 -1
  75. package/src/ui/revision/revisionnameview.js +1 -1
  76. package/src/ui/revision/revisionview.js +1 -1
  77. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  78. package/src/ui/revision/subrevisionview.js +1 -1
  79. package/src/ui/revision/utils.js +1 -1
  80. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  81. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  82. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  83. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  84. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  85. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  86. package/src/ui/revisionssidebar/utils.js +1 -1
  87. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  88. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  89. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  90. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  91. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3189=['_revisionViewer','ready','fieldView','compareAgainstSelected','select','isReady','_handleEditorDataReady','selectRevision','pluginName','change:diff','get','name','length','compare','map','newRevisionId','diff','timePeriodViews','revisionHistory.revisionActions','revisionSetName','getEarlierVisibleRevision','getRevision','string','isEnabled','render','listenTo','_sidebarView','remove','focus','restoreRevision','highlightRevisions','setName','getRevisionsInDiff','locale','element','bind','data','_handleRevisionSelected','action','add','isVisible','repository','availableRevisionActions','RevisionsSidebar','init','isSelected','_handleRevisionSetName','editor','destroy','appendChild','config','requires','revisionHistory.viewerSidebarContainer','_createRevisionActions','getIndex','defaultRevisionActions','Restore\x20this\x20revision','_revisions','_handleDiffChange','_revisionsRepository'];(function(_0x309302,_0x3189cc){const _0x189b86=function(_0x1a05a4){while(--_0x1a05a4){_0x309302['push'](_0x309302['shift']());}};_0x189b86(++_0x3189cc);}(_0x3189,0x130));const _0x189b=function(_0x309302,_0x3189cc){_0x309302=_0x309302-0x0;let _0x189b86=_0x3189[_0x309302];return _0x189b86;};import{Plugin as _0x22934e}from'ckeditor5/src/core';import _0x485c36 from'./revisionssidebarview';import _0x581f08 from'../../revisionviewer';export default class w extends _0x22934e{static get[_0x189b('0x4')](){return _0x189b('0x27');}static get[_0x189b('0x2f')](){return[_0x581f08];}constructor(_0xf9f6f6){super(_0xf9f6f6),this[_0x189b('0x38')]=_0xf9f6f6['plugins'][_0x189b('0x6')](_0x581f08),this[_0x189b('0x37')]=this[_0x189b('0x38')][_0x189b('0x25')],this[_0x189b('0x16')]=null;}[_0x189b('0x28')](){const _0x59953a=this[_0x189b('0x37')][_0x189b('0x35')],_0x25913a=this[_0x189b('0x31')](),_0xecad9b=this[_0x189b('0x2b')]['config']['get'](_0x189b('0x30'));this[_0x189b('0x16')]=new _0x485c36(this[_0x189b('0x2b')][_0x189b('0x1d')],_0x59953a,_0x25913a),this['_sidebarView']['on']('revisionSelected',this[_0x189b('0x21')]['bind'](this)),this[_0x189b('0x16')]['on'](_0x189b('0xf'),this[_0x189b('0x2a')][_0x189b('0x1f')](this)),this[_0x189b('0x16')][_0x189b('0x1f')](_0x189b('0x13'))['to'](this[_0x189b('0x38')]),this[_0x189b('0x16')][_0x189b('0xd')]['on'](_0x189b('0x23'),(_0x2813bc,_0x104fc2)=>{_0x104fc2['revisionViews']['on'](_0x189b('0x23'),(_0x2be25c,_0x225a1e)=>{_0x225a1e[_0x189b('0x1f')]('isEnabled',_0x189b('0x1'))['to'](this['_revisionViewer']);});}),this[_0x189b('0x16')][_0x189b('0x14')](),this[_0x189b('0x15')](this[_0x189b('0x2b')][_0x189b('0x20')],_0x189b('0x39'),this[_0x189b('0x2')][_0x189b('0x1f')](this)),this[_0x189b('0x15')](this[_0x189b('0x38')],_0x189b('0x5'),this[_0x189b('0x36')][_0x189b('0x1f')](this)),_0xecad9b[_0x189b('0x2d')](this[_0x189b('0x16')][_0x189b('0x1e')]);}['destroy'](){this[_0x189b('0x16')][_0x189b('0x1e')][_0x189b('0x17')](),this[_0x189b('0x16')][_0x189b('0x2c')]();}[_0x189b('0x2')](){const _0x251891=this[_0x189b('0x37')][_0x189b('0x11')](0x0);if(_0x251891){const _0x527d5c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x251891['id']);this['_revisionViewer'][_0x189b('0x9')](_0x251891,_0x527d5c);}}[_0x189b('0x21')](_0x506aad,_0x593a4f){const _0x1b885c=this[_0x189b('0x37')][_0x189b('0x11')](_0x593a4f['id']),_0x280855=this[_0x189b('0x37')][_0x189b('0x10')](_0x1b885c['id']);this[_0x189b('0x38')][_0x189b('0x9')](_0x1b885c,_0x280855);}[_0x189b('0x2a')](_0xa5dfff,_0x406d41){this[_0x189b('0x37')][_0x189b('0x11')](_0x406d41['id'])[_0x189b('0x1b')](_0x406d41[_0x189b('0x7')]);}[_0x189b('0x36')](_0x10297,_0x2b8def,_0x1e33c4){const _0x2abafb=this['_revisionsRepository'][_0x189b('0x1c')](_0x1e33c4);_0x2abafb[_0x189b('0x8')]>0x2?(this[_0x189b('0x16')][_0x189b('0x1a')](_0x2abafb),this[_0x189b('0x16')][_0x189b('0x3')](null)):(this[_0x189b('0x16')][_0x189b('0x1a')]([]),this[_0x189b('0x16')][_0x189b('0x3')](_0x2abafb[0x0]));}[_0x189b('0x31')](){const _0x107fc4=this[_0x189b('0x2b')],_0x573b59=w[_0x189b('0x26')],_0x370013=_0x107fc4[_0x189b('0x2e')]['get'](_0x189b('0xe'))||w[_0x189b('0x33')];if(_0x370013[_0x189b('0x8')])return _0x370013[_0x189b('0xa')](_0x58cc6a=>{const _0x5713b7=_0x189b('0x12')==typeof _0x58cc6a?Object['assign']({},_0x573b59[_0x58cc6a]):_0x58cc6a;return _0x5713b7[_0x189b('0x22')]=_0x5713b7[_0x189b('0x22')][_0x189b('0x1f')](this,_0x107fc4),_0x5713b7[_0x189b('0x24')]&&(_0x5713b7['isVisible']=_0x5713b7[_0x189b('0x24')][_0x189b('0x1f')](this,_0x107fc4)),_0x5713b7;});}}w[_0x189b('0x26')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x6c02cc},_0xbd039c)=>{const _0x2d1105=_0x6c02cc['get'](_0x581f08),_0x448fe4=_0x2d1105[_0x189b('0x25')];let _0x3cf5bc=_0x2d1105[_0x189b('0xc')][_0x189b('0xb')],_0x57b1a2=_0xbd039c['id'];_0x448fe4['getIndex'](_0x3cf5bc)>_0x448fe4[_0x189b('0x32')](_0x57b1a2)&&([_0x3cf5bc,_0x57b1a2]=[_0x57b1a2,_0x3cf5bc]),_0x2d1105[_0x189b('0x9')](_0x3cf5bc,_0x57b1a2);},'isVisible':({plugins:_0x5d22e1},_0x54609d)=>{const _0x27e539=_0x5d22e1[_0x189b('0x6')](_0x581f08);return!(_0x27e539[_0x189b('0x25')]['getRevisionsInDiff'](_0x27e539[_0x189b('0xc')])[_0x189b('0x8')]>0x2)&&!_0x54609d[_0x189b('0x29')];}},'restoreRevision':{'name':_0x189b('0x34'),'action':(_0x4207f8,{id:_0x123e10})=>{_0x4207f8['config'][_0x189b('0x6')]('revisionHistory')['restoreRevisionCallback'](_0x123e10);},'isVisible':({plugins:_0x365ce7},_0x4bb1ba)=>!!_0x365ce7[_0x189b('0x6')](_0x581f08)[_0x189b('0x25')]['getLaterVisibleRevision'](_0x4bb1ba['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3c8094},{id:_0x573849,revisionNameView:_0x336fc4})=>{const _0xf70879=_0x3c8094['get'](_0x581f08),_0x42aa36=_0xf70879[_0x189b('0x25')][_0x189b('0x10')](_0x573849);_0xf70879['compare'](_0x573849,_0x42aa36),_0x336fc4[_0x189b('0x18')](),_0x336fc4[_0x189b('0x3a')][_0x189b('0x0')]();}}},w[_0x189b('0x33')]=[_0x189b('0x3b'),_0x189b('0x19'),'nameRevision'];
23
+ const _0x56bd=['action','Restore\x20this\x20revision','revisionHistory','_handleRevisionSelected','render','appendChild','_handleDiffChange','data','focus','RevisionsSidebar','compare','_revisionsRepository','nameRevision','selectRevision','setName','diff','element','_handleEditorDataReady','isVisible','revisionHistory.viewerSidebarContainer','_revisions','fieldView','editor','isReady','get','restoreRevisionCallback','compareAgainstSelected','getEarlierVisibleRevision','getIndex','restoreRevision','map','defaultRevisionActions','assign','pluginName','name','highlightRevisions','repository','getRevision','timePeriodViews','plugins','isSelected','listenTo','length','Compare\x20against\x20selected','revisionSelected','add','_sidebarView','_handleRevisionSetName','change:diff','_createRevisionActions','locale','_revisionViewer','getRevisionsInDiff','Name\x20this\x20revision','availableRevisionActions','destroy','getLaterVisibleRevision','requires','isEnabled','config','revisionViews','bind'];(function(_0x189ab5,_0x56bd23){const _0x2eca4e=function(_0x4a803b){while(--_0x4a803b){_0x189ab5['push'](_0x189ab5['shift']());}};_0x2eca4e(++_0x56bd23);}(_0x56bd,0xcb));const _0x2eca=function(_0x189ab5,_0x56bd23){_0x189ab5=_0x189ab5-0x0;let _0x2eca4e=_0x56bd[_0x189ab5];return _0x2eca4e;};import{Plugin as _0x57b721}from'ckeditor5/src/core';import _0x123f28 from'./revisionssidebarview';import _0x12ac9e from'../../revisionviewer';export default class y extends _0x57b721{static get[_0x2eca('0x10')](){return _0x2eca('0x36');}static get[_0x2eca('0x28')](){return[_0x12ac9e];}constructor(_0x499411){super(_0x499411),this[_0x2eca('0x22')]=_0x499411[_0x2eca('0x16')][_0x2eca('0x7')](_0x12ac9e),this[_0x2eca('0x38')]=this[_0x2eca('0x22')][_0x2eca('0x13')],this[_0x2eca('0x1d')]=null;}['init'](){const _0x17fba1=this['_revisionsRepository'][_0x2eca('0x3')],_0x4e16ef=this[_0x2eca('0x20')](),_0x1e93b3=this['editor']['config']['get'](_0x2eca('0x2'));this[_0x2eca('0x1d')]=new _0x123f28(this['editor'][_0x2eca('0x21')],_0x17fba1,_0x4e16ef),this[_0x2eca('0x1d')]['on'](_0x2eca('0x1b'),this['_handleRevisionSelected'][_0x2eca('0x2c')](this)),this[_0x2eca('0x1d')]['on']('revisionSetName',this[_0x2eca('0x1e')]['bind'](this)),this[_0x2eca('0x1d')][_0x2eca('0x2c')](_0x2eca('0x29'))['to'](this['_revisionViewer']),this[_0x2eca('0x1d')][_0x2eca('0x15')]['on'](_0x2eca('0x1c'),(_0x31f68a,_0x3dd4a1)=>{_0x3dd4a1[_0x2eca('0x2b')]['on'](_0x2eca('0x1c'),(_0x5c7c91,_0x1e5581)=>{_0x1e5581[_0x2eca('0x2c')](_0x2eca('0x29'),_0x2eca('0x6'))['to'](this['_revisionViewer']);});}),this[_0x2eca('0x1d')][_0x2eca('0x31')](),this[_0x2eca('0x18')](this['editor'][_0x2eca('0x34')],'ready',this[_0x2eca('0x0')][_0x2eca('0x2c')](this)),this[_0x2eca('0x18')](this[_0x2eca('0x22')],_0x2eca('0x1f'),this[_0x2eca('0x33')]['bind'](this)),_0x1e93b3[_0x2eca('0x32')](this[_0x2eca('0x1d')][_0x2eca('0x3d')]);}['destroy'](){this[_0x2eca('0x1d')][_0x2eca('0x3d')]['remove'](),this['_sidebarView'][_0x2eca('0x26')]();}[_0x2eca('0x0')](){const _0x4cc81e=this[_0x2eca('0x38')][_0x2eca('0x14')](0x0);if(_0x4cc81e){const _0x3d045b=this[_0x2eca('0x38')][_0x2eca('0xa')](_0x4cc81e['id']);this[_0x2eca('0x22')][_0x2eca('0x37')](_0x4cc81e,_0x3d045b);}}[_0x2eca('0x30')](_0x1aa046,_0x4a19d5){const _0x5f052d=this['_revisionsRepository']['getRevision'](_0x4a19d5['id']),_0x1a1249=this[_0x2eca('0x38')][_0x2eca('0xa')](_0x5f052d['id']);this['_revisionViewer'][_0x2eca('0x37')](_0x5f052d,_0x1a1249);}['_handleRevisionSetName'](_0x349d96,_0x512f91){this[_0x2eca('0x38')][_0x2eca('0x14')](_0x512f91['id'])[_0x2eca('0x3b')](_0x512f91[_0x2eca('0x11')]);}[_0x2eca('0x33')](_0x44bf8d,_0x21b37c,_0x134d9d){const _0x5f2e9b=this['_revisionsRepository'][_0x2eca('0x23')](_0x134d9d);_0x5f2e9b['length']>0x2?(this[_0x2eca('0x1d')][_0x2eca('0x12')](_0x5f2e9b),this[_0x2eca('0x1d')][_0x2eca('0x3a')](null)):(this[_0x2eca('0x1d')]['highlightRevisions']([]),this['_sidebarView'][_0x2eca('0x3a')](_0x5f2e9b[0x0]));}[_0x2eca('0x20')](){const _0x435564=this[_0x2eca('0x5')],_0x41221d=y[_0x2eca('0x25')],_0x265a86=_0x435564[_0x2eca('0x2a')]['get']('revisionHistory.revisionActions')||y[_0x2eca('0xe')];if(_0x265a86[_0x2eca('0x19')])return _0x265a86[_0x2eca('0xd')](_0x3a48dc=>{const _0x17c5ac='string'==typeof _0x3a48dc?Object[_0x2eca('0xf')]({},_0x41221d[_0x3a48dc]):_0x3a48dc;return _0x17c5ac[_0x2eca('0x2d')]=_0x17c5ac[_0x2eca('0x2d')]['bind'](this,_0x435564),_0x17c5ac[_0x2eca('0x1')]&&(_0x17c5ac['isVisible']=_0x17c5ac[_0x2eca('0x1')][_0x2eca('0x2c')](this,_0x435564)),_0x17c5ac;});}}y['availableRevisionActions']={'compareAgainstSelected':{'name':_0x2eca('0x1a'),'action':({plugins:_0x60ed08},_0x33c1c2)=>{const _0x4e5967=_0x60ed08[_0x2eca('0x7')](_0x12ac9e),_0x49a489=_0x4e5967[_0x2eca('0x13')];let _0x335cf9=_0x4e5967['diff']['newRevisionId'],_0x2516ad=_0x33c1c2['id'];_0x49a489[_0x2eca('0xb')](_0x335cf9)>_0x49a489[_0x2eca('0xb')](_0x2516ad)&&([_0x335cf9,_0x2516ad]=[_0x2516ad,_0x335cf9]),_0x4e5967[_0x2eca('0x37')](_0x335cf9,_0x2516ad);},'isVisible':({plugins:_0x35d387},_0x20714a)=>{const _0xec0b3b=_0x35d387[_0x2eca('0x7')](_0x12ac9e);return!(_0xec0b3b[_0x2eca('0x13')][_0x2eca('0x23')](_0xec0b3b[_0x2eca('0x3c')])[_0x2eca('0x19')]>0x2)&&!_0x20714a[_0x2eca('0x17')];}},'restoreRevision':{'name':_0x2eca('0x2e'),'action':(_0x2f7480,{id:_0x29d7af})=>{_0x2f7480['config'][_0x2eca('0x7')](_0x2eca('0x2f'))[_0x2eca('0x8')](_0x29d7af);},'isVisible':({plugins:_0x5dc734},_0x33f6e1)=>!!_0x5dc734['get'](_0x12ac9e)['repository'][_0x2eca('0x27')](_0x33f6e1['id'])},'nameRevision':{'name':_0x2eca('0x24'),'action':({plugins:_0x31986e},{id:_0x1d2722,revisionNameView:_0x4ff6ef})=>{const _0x25d76b=_0x31986e[_0x2eca('0x7')](_0x12ac9e),_0x1572a5=_0x25d76b['repository']['getEarlierVisibleRevision'](_0x1d2722);_0x25d76b['compare'](_0x1d2722,_0x1572a5),_0x4ff6ef[_0x2eca('0x35')](),_0x4ff6ef[_0x2eca('0x4')]['select']();}}},y[_0x2eca('0xe')]=[_0x2eca('0x9'),_0x2eca('0xc'),_0x2eca('0x39')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a24=['setTemplate','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','content'];(function(_0x1c59a6,_0x3a2408){const _0x34c735=function(_0x486b21){while(--_0x486b21){_0x1c59a6['push'](_0x1c59a6['shift']());}};_0x34c735(++_0x3a2408);}(_0x3a24,0xdb));const _0x34c7=function(_0x1c59a6,_0x3a2408){_0x1c59a6=_0x1c59a6-0x0;let _0x34c735=_0x3a24[_0x1c59a6];return _0x34c735;};import{View as _0x44cce9,IconView as _0x1aa77b}from'ckeditor5/src/ui';import{getTranslation as _0x5a4d4a}from'../../utils/common-translations';import _0x4e4efa from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x44cce9{constructor(_0x5d9817){super(_0x5d9817);const _0x15a11d=new _0x1aa77b(_0x5d9817);_0x15a11d[_0x34c7('0x0')]=_0x4e4efa,this[_0x34c7('0x1')]({'tag':'div','attributes':{'class':['ck','ck-reset_all',_0x34c7('0x3')]},'children':[_0x15a11d,{'tag':'span','attributes':{'class':['ck',_0x34c7('0x2')]},'children':[_0x5a4d4a(_0x5d9817,'Revision\x20history')]}]});}}
23
+ const _0x53d6=['ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','span','Revision\x20history','ck-reset_all','setTemplate','content'];(function(_0x48fdea,_0x53d628){const _0x524583=function(_0x461d88){while(--_0x461d88){_0x48fdea['push'](_0x48fdea['shift']());}};_0x524583(++_0x53d628);}(_0x53d6,0x196));const _0x5245=function(_0x48fdea,_0x53d628){_0x48fdea=_0x48fdea-0x0;let _0x524583=_0x53d6[_0x48fdea];return _0x524583;};import{View as _0x34bfc0,IconView as _0x1a61d1}from'ckeditor5/src/ui';import{getTranslation as _0x4573c8}from'../../utils/common-translations';import _0x8ae6d7 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x34bfc0{constructor(_0x164b91){super(_0x164b91);const _0x459b56=new _0x1a61d1(_0x164b91);_0x459b56[_0x5245('0x6')]=_0x8ae6d7,this[_0x5245('0x5')]({'tag':'div','attributes':{'class':['ck',_0x5245('0x4'),_0x5245('0x1')]},'children':[_0x459b56,{'tag':_0x5245('0x2'),'attributes':{'class':['ck',_0x5245('0x0')]},'children':[_0x4573c8(_0x164b91,_0x5245('0x3'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x195b=['span','addRevision','setName','div','revisionViews','add','_revisionActions','locale','delegate','startDate','ck-revision-history-sidebar__time-period__revisions','uiLanguage','remove','ck-revision-history-sidebar__time-period','ck-revision-history-sidebar__time-period__label'];(function(_0x456400,_0x195b8a){const _0x1334d0=function(_0x432161){while(--_0x432161){_0x456400['push'](_0x456400['shift']());}};_0x1334d0(++_0x195b8a);}(_0x195b,0x187));const _0x1334=function(_0x456400,_0x195b8a){_0x456400=_0x456400-0x0;let _0x1334d0=_0x195b[_0x456400];return _0x1334d0;};import{View as _0x3ffc89}from'ckeditor5/src/ui';import _0x1c2611 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x1d0746}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x3ffc89{constructor(_0x4cf354,_0x1825ff,_0x5552e9){super(_0x4cf354);const _0x2d4ba3=_0x1d0746(_0x1825ff,this[_0x1334('0x6')][_0x1334('0xa')])['localizedPeriodName'];this[_0x1334('0x8')]=_0x1825ff,this[_0x1334('0x5')]=_0x5552e9,this[_0x1334('0x3')]=this['createCollection'](),this[_0x1334('0x3')]['delegate']('select')['to'](this),this[_0x1334('0x3')][_0x1334('0x7')](_0x1334('0x1'))['to'](this),this['setTemplate']({'tag':_0x1334('0x2'),'attributes':{'class':['ck',_0x1334('0xc')]},'children':[{'tag':_0x1334('0xe'),'attributes':{'class':['ck',_0x1334('0xd')]},'children':[{'text':_0x2d4ba3}]},{'tag':_0x1334('0x2'),'attributes':{'class':['ck',_0x1334('0x9')]},'children':this[_0x1334('0x3')]}]});}[_0x1334('0x0')](_0x563969){const _0x52b23e=new _0x1c2611(this[_0x1334('0x6')],_0x563969,this['_revisionActions']);this[_0x1334('0x3')][_0x1334('0x4')](_0x52b23e);}['removeRevision'](_0x2adf32){const _0x172421=this[_0x1334('0x3')]['find'](_0x1e84c8=>_0x1e84c8['id']===_0x2adf32['id']);this[_0x1334('0x3')][_0x1334('0xb')](_0x172421);}}
23
+ const _0x315f=['span','_revisionActions','ck-revision-history-sidebar__time-period__revisions','setTemplate','localizedPeriodName','delegate','createCollection','revisionViews','locale','remove','ck-revision-history-sidebar__time-period','select','addRevision','setName','div','add','removeRevision','ck-revision-history-sidebar__time-period__label','uiLanguage'];(function(_0x5336f3,_0x315fdc){const _0x514d36=function(_0x473fec){while(--_0x473fec){_0x5336f3['push'](_0x5336f3['shift']());}};_0x514d36(++_0x315fdc);}(_0x315f,0x79));const _0x514d=function(_0x5336f3,_0x315fdc){_0x5336f3=_0x5336f3-0x0;let _0x514d36=_0x315f[_0x5336f3];return _0x514d36;};import{View as _0x667630}from'ckeditor5/src/ui';import _0x885c6a from'../revision/revisionview';import{getDateTimePeriodInfo as _0x157076}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x667630{constructor(_0x51a0f0,_0x4bc392,_0x107bf3){super(_0x51a0f0);const _0xfc6440=_0x157076(_0x4bc392,this[_0x514d('0x1')][_0x514d('0xb')])[_0x514d('0x10')];this['startDate']=_0x4bc392,this[_0x514d('0xd')]=_0x107bf3,this[_0x514d('0x0')]=this[_0x514d('0x12')](),this[_0x514d('0x0')][_0x514d('0x11')](_0x514d('0x4'))['to'](this),this['revisionViews'][_0x514d('0x11')](_0x514d('0x6'))['to'](this),this[_0x514d('0xf')]({'tag':_0x514d('0x7'),'attributes':{'class':['ck',_0x514d('0x3')]},'children':[{'tag':_0x514d('0xc'),'attributes':{'class':['ck',_0x514d('0xa')]},'children':[{'text':_0xfc6440}]},{'tag':_0x514d('0x7'),'attributes':{'class':['ck',_0x514d('0xe')]},'children':this[_0x514d('0x0')]}]});}[_0x514d('0x5')](_0x11747f){const _0x2ec09c=new _0x885c6a(this[_0x514d('0x1')],_0x11747f,this['_revisionActions']);this[_0x514d('0x0')][_0x514d('0x8')](_0x2ec09c);}[_0x514d('0x9')](_0x47df69){const _0x50a323=this[_0x514d('0x0')]['find'](_0xc9eedc=>_0xc9eedc['id']===_0x47df69['id']);this[_0x514d('0x0')][_0x514d('0x2')](_0x50a323);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xee15=['locale','selectRevision','delegate','remove','map','revisionSelected','unhighlight','_addRevision','removeRevision','ck-revision-history-sidebar','some','set','select','revisionViews','fire','createCollection','render','startDate','find','add','_revisionActions','setName','deselect','flat','bindTemplate','_revisions','revisionSetName','timePeriodViews','ck-reset','_removeRevision','_getTimePeriodViewByStartDate','div','getTime','get','ck-disabled','createdAt','isEnabled','addRevision'];(function(_0x22b212,_0xee15cf){const _0x6cf61f=function(_0x7e53df){while(--_0x7e53df){_0x22b212['push'](_0x22b212['shift']());}};_0x6cf61f(++_0xee15cf);}(_0xee15,0xf5));const _0x6cf6=function(_0x22b212,_0xee15cf){_0x22b212=_0x22b212-0x0;let _0x6cf61f=_0xee15[_0x22b212];return _0x6cf61f;};import{View as _0x5b57ad}from'ckeditor5/src/ui';import _0x450be1 from'./revisionssidebartimeperiodview';import _0xd6ff4d from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x2c8037}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x5b57ad{constructor(_0xe06c0f,_0x578ccd,_0x3725b6){super(_0xe06c0f);const _0x3bf61f=this[_0x6cf6('0x7')];this['timePeriodViews']=this[_0x6cf6('0x24')](),this[_0x6cf6('0xa')][_0x6cf6('0x17')](_0x6cf6('0x21'))['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this[_0x6cf6('0x8')]=_0x578ccd,this[_0x6cf6('0x3')]=_0x3725b6,this['on'](_0x6cf6('0x21'),(_0xaab61c,_0x3f394d)=>{this['fire'](_0x6cf6('0x1a'),_0x3f394d);}),this['on'](_0x6cf6('0x4'),(_0x2f8c78,_0x3b62c4)=>{this[_0x6cf6('0x23')](_0x6cf6('0x9'),_0x3b62c4);}),this[_0x6cf6('0x20')](_0x6cf6('0x13'),!0x1),this['setTemplate']({'tag':_0x6cf6('0xe'),'attributes':{'class':['ck',_0x6cf6('0xb'),'ck-rounded-corners',_0x6cf6('0x1e')]},'children':[new _0xd6ff4d(_0xe06c0f),{'tag':_0x6cf6('0xe'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3bf61f['if'](_0x6cf6('0x13'),_0x6cf6('0x11'),_0x482757=>!_0x482757)]},'children':this[_0x6cf6('0xa')]}]});}[_0x6cf6('0x25')](){super[_0x6cf6('0x25')]();for(const _0x38b714 of this[_0x6cf6('0x8')])this[_0x6cf6('0x1c')](_0x38b714);this[_0x6cf6('0x8')]['on'](_0x6cf6('0x2'),(_0x5dfd5e,_0x19171f)=>{this[_0x6cf6('0x1c')](_0x19171f);}),this[_0x6cf6('0x8')]['on'](_0x6cf6('0x18'),(_0x570168,_0x34dd00)=>{this[_0x6cf6('0xc')](_0x34dd00);});}get[_0x6cf6('0x22')](){return this[_0x6cf6('0xa')]['map'](_0xb63a88=>_0xb63a88[_0x6cf6('0x22')][_0x6cf6('0x19')](_0x1e8d46=>_0x1e8d46))[_0x6cf6('0x6')]();}[_0x6cf6('0x16')](_0x450283){for(const _0x5a5178 of this[_0x6cf6('0x22')])_0x450283&&_0x450283['id']===_0x5a5178['id']?_0x5a5178[_0x6cf6('0x21')]():_0x5a5178[_0x6cf6('0x5')]();}['highlightRevisions'](_0x44d54e){for(const _0x22e0ef of this[_0x6cf6('0x22')])_0x44d54e[_0x6cf6('0x1f')](({id:_0x40ef2d})=>_0x40ef2d===_0x22e0ef['id'])?_0x22e0ef['highlight']():_0x22e0ef[_0x6cf6('0x1b')]();}[_0x6cf6('0x1c')](_0x453a34){const _0x421c2c=_0x2c8037(_0x453a34[_0x6cf6('0x12')])[_0x6cf6('0x0')];let _0x2824b2=this[_0x6cf6('0xa')][_0x6cf6('0x10')](0x0);_0x2824b2&&_0x2824b2['startDate'][_0x6cf6('0xf')]()===_0x421c2c[_0x6cf6('0xf')]()||(_0x2824b2=new _0x450be1(this[_0x6cf6('0x15')],_0x421c2c,this[_0x6cf6('0x3')]),this[_0x6cf6('0xa')]['add'](_0x2824b2)),_0x2824b2[_0x6cf6('0x14')](_0x453a34);}['_removeRevision'](_0x16ab45){const _0x20f3a9=_0x2c8037(_0x16ab45['createdAt'])['startDate'];this[_0x6cf6('0xd')](_0x20f3a9)[_0x6cf6('0x1d')](_0x16ab45);}[_0x6cf6('0xd')](_0x20d9ab){return this[_0x6cf6('0xa')][_0x6cf6('0x1')](_0x40cba4=>_0x40cba4[_0x6cf6('0x0')][_0x6cf6('0xf')]()===_0x20d9ab[_0x6cf6('0xf')]());}}
23
+ const _0x30b2=['set','_removeRevision','deselect','setName','render','find','timePeriodViews','fire','addRevision','delegate','div','remove','map','getTime','some','ck-revision-history-sidebar','flat','get','selectRevision','bindTemplate','revisionViews','select','startDate','createdAt','ck-revision-history-sidebar__timeline','ck-disabled','_getTimePeriodViewByStartDate','locale','add','highlight','isEnabled','highlightRevisions','_addRevision','_revisions'];(function(_0x598b4f,_0x30b255){const _0x72bb91=function(_0x361825){while(--_0x361825){_0x598b4f['push'](_0x598b4f['shift']());}};_0x72bb91(++_0x30b255);}(_0x30b2,0x7b));const _0x72bb=function(_0x598b4f,_0x30b255){_0x598b4f=_0x598b4f-0x0;let _0x72bb91=_0x30b2[_0x598b4f];return _0x72bb91;};import{View as _0x296b40}from'ckeditor5/src/ui';import _0x3e9390 from'./revisionssidebartimeperiodview';import _0x30ecae from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x5403f0}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x296b40{constructor(_0x495a85,_0x1548fa,_0x4d66f1){super(_0x495a85);const _0x3a6bcc=this[_0x72bb('0x20')];this[_0x72bb('0x13')]=this['createCollection'](),this[_0x72bb('0x13')][_0x72bb('0x16')]('select')['to'](this),this[_0x72bb('0x13')][_0x72bb('0x16')](_0x72bb('0x10'))['to'](this),this[_0x72bb('0xc')]=_0x1548fa,this['_revisionActions']=_0x4d66f1,this['on'](_0x72bb('0x0'),(_0x2e83aa,_0x34764f)=>{this['fire']('revisionSelected',_0x34764f);}),this['on']('setName',(_0x29a1dc,_0x2e1266)=>{this[_0x72bb('0x14')]('revisionSetName',_0x2e1266);}),this[_0x72bb('0xd')](_0x72bb('0x9'),!0x1),this['setTemplate']({'tag':_0x72bb('0x17'),'attributes':{'class':['ck','ck-reset','ck-rounded-corners',_0x72bb('0x1c')]},'children':[new _0x30ecae(_0x495a85),{'tag':_0x72bb('0x17'),'attributes':{'class':['ck',_0x72bb('0x3'),_0x3a6bcc['if'](_0x72bb('0x9'),_0x72bb('0x4'),_0x65491b=>!_0x65491b)]},'children':this[_0x72bb('0x13')]}]});}[_0x72bb('0x11')](){super[_0x72bb('0x11')]();for(const _0x42dcfe of this[_0x72bb('0xc')])this[_0x72bb('0xb')](_0x42dcfe);this['_revisions']['on']('add',(_0x433f69,_0xf4bc4)=>{this[_0x72bb('0xb')](_0xf4bc4);}),this[_0x72bb('0xc')]['on'](_0x72bb('0x18'),(_0x388628,_0x18bbbd)=>{this[_0x72bb('0xe')](_0x18bbbd);});}get[_0x72bb('0x21')](){return this[_0x72bb('0x13')][_0x72bb('0x19')](_0x327588=>_0x327588['revisionViews'][_0x72bb('0x19')](_0x16b4a4=>_0x16b4a4))[_0x72bb('0x1d')]();}[_0x72bb('0x1f')](_0x5cce0c){for(const _0x4ed2ef of this[_0x72bb('0x21')])_0x5cce0c&&_0x5cce0c['id']===_0x4ed2ef['id']?_0x4ed2ef[_0x72bb('0x0')]():_0x4ed2ef[_0x72bb('0xf')]();}[_0x72bb('0xa')](_0x21d074){for(const _0x5e48d1 of this[_0x72bb('0x21')])_0x21d074[_0x72bb('0x1b')](({id:_0x50f615})=>_0x50f615===_0x5e48d1['id'])?_0x5e48d1[_0x72bb('0x8')]():_0x5e48d1['unhighlight']();}[_0x72bb('0xb')](_0x3a1eaa){const _0xeec7f2=_0x5403f0(_0x3a1eaa['createdAt'])[_0x72bb('0x1')];let _0x125ea8=this[_0x72bb('0x13')][_0x72bb('0x1e')](0x0);_0x125ea8&&_0x125ea8['startDate'][_0x72bb('0x1a')]()===_0xeec7f2['getTime']()||(_0x125ea8=new _0x3e9390(this[_0x72bb('0x6')],_0xeec7f2,this['_revisionActions']),this['timePeriodViews'][_0x72bb('0x7')](_0x125ea8)),_0x125ea8[_0x72bb('0x15')](_0x3a1eaa);}[_0x72bb('0xe')](_0x4d6acd){const _0x428e60=_0x5403f0(_0x4d6acd[_0x72bb('0x2')])[_0x72bb('0x1')];this['_getTimePeriodViewByStartDate'](_0x428e60)['removeRevision'](_0x4d6acd);}[_0x72bb('0x5')](_0x1d656f){return this['timePeriodViews'][_0x72bb('0x12')](_0x517ce8=>_0x517ce8[_0x72bb('0x1')][_0x72bb('0x1a')]()===_0x1d656f[_0x72bb('0x1a')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3af1=['startOf','toJSDate','fromJSDate','toRelativeCalendar','day','month','week','year','local','hasSame','setLocale','monthLong','minus'];(function(_0x17c52e,_0x3af162){const _0x392d09=function(_0x3c735a){while(--_0x3c735a){_0x17c52e['push'](_0x17c52e['shift']());}};_0x392d09(++_0x3af162);}(_0x3af1,0xc7));const _0x392d=function(_0x17c52e,_0x3af162){_0x17c52e=_0x17c52e-0x0;let _0x392d09=_0x3af1[_0x17c52e];return _0x392d09;};import{DateTime as _0x3a38bc}from'luxon';export function getDateTimePeriodInfo(_0x5507cb,_0x315fae){_0x5507cb=_0x3a38bc[_0x392d('0xb')](_0x5507cb)[_0x392d('0x6')](_0x315fae);const _0x3a088f=_0x3a38bc[_0x392d('0x4')](),_0x38c5b4=_0x3a088f[_0x392d('0x8')]({'days':0x1})[_0x392d('0x9')]('day');let _0x1836ef,_0x923603;return _0x5507cb[_0x392d('0x5')](_0x3a088f,_0x392d('0x0'))?(_0x1836ef=_0x5507cb[_0x392d('0x9')](_0x392d('0x0'))['toJSDate'](),_0x923603=_0x5507cb[_0x392d('0xc')]()):_0x5507cb[_0x392d('0x5')](_0x38c5b4,_0x392d('0x0'))?(_0x1836ef=_0x38c5b4[_0x392d('0xa')](),_0x923603=_0x5507cb[_0x392d('0xc')]()):_0x5507cb[_0x392d('0x5')](_0x3a088f,_0x392d('0x2'))?(_0x1836ef=_0x5507cb['startOf'](_0x392d('0x2'))['toJSDate'](),_0x923603=_0x5507cb['weekdayLong']):_0x5507cb[_0x392d('0x5')](_0x3a088f,_0x392d('0x3'))?(_0x1836ef=_0x5507cb[_0x392d('0x9')](_0x392d('0x1'))[_0x392d('0xa')](),_0x923603=_0x5507cb[_0x392d('0x7')]):(_0x1836ef=_0x5507cb[_0x392d('0x9')](_0x392d('0x3'))[_0x392d('0xa')](),_0x923603=_0x5507cb[_0x392d('0x3')]),{'startDate':_0x1836ef,'localizedPeriodName':_0x923603};}
23
+ const _0x59e7=['local','toRelativeCalendar','hasSame','day','year','toJSDate','week','monthLong','minus','weekdayLong','startOf','setLocale'];(function(_0x40da1a,_0x59e762){const _0x16ea75=function(_0x499f4b){while(--_0x499f4b){_0x40da1a['push'](_0x40da1a['shift']());}};_0x16ea75(++_0x59e762);}(_0x59e7,0x174));const _0x16ea=function(_0x40da1a,_0x59e762){_0x40da1a=_0x40da1a-0x0;let _0x16ea75=_0x59e7[_0x40da1a];return _0x16ea75;};import{DateTime as _0x4b088a}from'luxon';export function getDateTimePeriodInfo(_0x3494c8,_0x2818d0){_0x3494c8=_0x4b088a['fromJSDate'](_0x3494c8)[_0x16ea('0xb')](_0x2818d0);const _0x3bf78d=_0x4b088a[_0x16ea('0x0')](),_0x3daf62=_0x3bf78d[_0x16ea('0x8')]({'days':0x1})[_0x16ea('0xa')](_0x16ea('0x3'));let _0x3e6469,_0x1a31ca;return _0x3494c8[_0x16ea('0x2')](_0x3bf78d,_0x16ea('0x3'))?(_0x3e6469=_0x3494c8[_0x16ea('0xa')](_0x16ea('0x3'))[_0x16ea('0x5')](),_0x1a31ca=_0x3494c8[_0x16ea('0x1')]()):_0x3494c8[_0x16ea('0x2')](_0x3daf62,'day')?(_0x3e6469=_0x3daf62['toJSDate'](),_0x1a31ca=_0x3494c8[_0x16ea('0x1')]()):_0x3494c8[_0x16ea('0x2')](_0x3bf78d,_0x16ea('0x6'))?(_0x3e6469=_0x3494c8[_0x16ea('0xa')](_0x16ea('0x6'))[_0x16ea('0x5')](),_0x1a31ca=_0x3494c8[_0x16ea('0x9')]):_0x3494c8[_0x16ea('0x2')](_0x3bf78d,_0x16ea('0x4'))?(_0x3e6469=_0x3494c8[_0x16ea('0xa')]('month')[_0x16ea('0x5')](),_0x1a31ca=_0x3494c8[_0x16ea('0x7')]):(_0x3e6469=_0x3494c8[_0x16ea('0xa')]('year')[_0x16ea('0x5')](),_0x1a31ca=_0x3494c8[_0x16ea('0x4')]),{'startDate':_0x3e6469,'localizedPeriodName':_0x1a31ca};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7252=['ck-revision-change__label','name','div','ck-revision-change__','focus','type','ck-revision-change','Added\x20by','author','bindTemplate','add','setTemplate','element','isSuggestion','span','data'];(function(_0x2eec8b,_0x7252af){const _0x370bd1=function(_0x4a7fb8){while(--_0x4a7fb8){_0x2eec8b['push'](_0x2eec8b['shift']());}};_0x370bd1(++_0x7252af);}(_0x7252,0x129));const _0x370b=function(_0x2eec8b,_0x7252af){_0x2eec8b=_0x2eec8b-0x0;let _0x370bd1=_0x7252[_0x2eec8b];return _0x370bd1;};import{View as _0x1183e5}from'ckeditor5/src/ui';import{getTranslation as _0x5763b2}from'../../utils/common-translations';export default class X extends _0x1183e5{constructor(_0x5153cf,_0x493075){super(_0x5153cf),this['_model']=_0x493075;const _0x5e095c=this[_0x370b('0x0')],_0xf0a843=_0x5763b2(_0x5153cf,_0x493075[_0x370b('0x6')][_0x370b('0x4')]?'Suggested\x20by':_0x370b('0x1')==_0x493075[_0x370b('0xc')]?_0x370b('0xe'):'Removed\x20by');this['set']('type',_0x493075[_0x370b('0xc')]),this[_0x370b('0x2')]({'tag':_0x370b('0x9'),'attributes':{'class':['ck-annotation',_0x370b('0xd'),_0x5e095c['to'](_0x370b('0xc'),_0x1b669d=>_0x370b('0xa')+_0x1b669d)],'tabindex':-0x1},'children':[{'tag':_0x370b('0x5'),'children':[{'tag':_0x370b('0x5'),'attributes':{'class':[_0x370b('0x7')]},'children':[{'text':_0xf0a843}]},{'text':'\x20'+_0x493075[_0x370b('0xf')][_0x370b('0x8')]}]}]});}[_0x370b('0xb')](){this[_0x370b('0x3')][_0x370b('0xb')]();}}
23
+ const _0x5317=['set','ck-revision-change','setTemplate','author','bindTemplate','add','div','focus','ck-revision-change__','span','_model','data','ck-revision-change__label','Removed\x20by','isSuggestion','Added\x20by','ck-annotation','Suggested\x20by','name','type','element'];(function(_0x3ef641,_0x5317a3){const _0x1a59fc=function(_0x45b5d4){while(--_0x45b5d4){_0x3ef641['push'](_0x3ef641['shift']());}};_0x1a59fc(++_0x5317a3);}(_0x5317,0x16c));const _0x1a59=function(_0x3ef641,_0x5317a3){_0x3ef641=_0x3ef641-0x0;let _0x1a59fc=_0x5317[_0x3ef641];return _0x1a59fc;};import{View as _0x17cce7}from'ckeditor5/src/ui';import{getTranslation as _0x75d83c}from'../../utils/common-translations';export default class X extends _0x17cce7{constructor(_0x82e09b,_0x72b20){super(_0x82e09b),this[_0x1a59('0x3')]=_0x72b20;const _0x27c15e=this[_0x1a59('0x12')],_0x3e9642=_0x75d83c(_0x82e09b,_0x72b20[_0x1a59('0x4')][_0x1a59('0x7')]?_0x1a59('0xa'):_0x1a59('0x13')==_0x72b20['type']?_0x1a59('0x8'):_0x1a59('0x6'));this[_0x1a59('0xe')](_0x1a59('0xc'),_0x72b20[_0x1a59('0xc')]),this[_0x1a59('0x10')]({'tag':_0x1a59('0x14'),'attributes':{'class':[_0x1a59('0x9'),_0x1a59('0xf'),_0x27c15e['to'](_0x1a59('0xc'),_0x4c161e=>_0x1a59('0x1')+_0x4c161e)],'tabindex':-0x1},'children':[{'tag':_0x1a59('0x2'),'children':[{'tag':_0x1a59('0x2'),'attributes':{'class':[_0x1a59('0x5')]},'children':[{'text':_0x3e9642}]},{'text':'\x20'+_0x72b20[_0x1a59('0x11')][_0x1a59('0xb')]}]}]});}[_0x1a59('0x0')](){this[_0x1a59('0xd')][_0x1a59('0x0')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33e1=['isForwardNavigationEnabled','numberOfChanges','EDIT_X_OF_Y_REVISIONS','isEnabled','isBackwardNavigationEnabled','ck-revision-history-ui','execute','ck-revision-history-ui__changes-navigation','bindTemplate','currentChangeNumber','_isStatusLabelVisible','backward','ck-revision-history-ui__changes-navigation__wrapper','set','span','isReady','forward','NUMBER_OF_CHANGES','isNavigationMode','fire','No\x20changes','Total','X_OF_Y_CHANGES','bind','setTemplate','_statusText'];(function(_0x22e66d,_0x33e1d8){const _0x2da030=function(_0x3c06c4){while(--_0x3c06c4){_0x22e66d['push'](_0x22e66d['shift']());}};_0x2da030(++_0x33e1d8);}(_0x33e1,0xf6));const _0x2da0=function(_0x22e66d,_0x33e1d8){_0x22e66d=_0x22e66d-0x0;let _0x2da030=_0x33e1[_0x22e66d];return _0x2da030;};import{View as _0x415ed0,ButtonView as _0x3a9aa9,ToolbarSeparatorView as _0x469d4d}from'ckeditor5/src/ui';import{getTranslation as _0x5c1b4}from'../../utils/common-translations';import _0x520f60 from'../../../theme/icons/arrow-up.svg';import _0xf9ef69 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x415ed0{constructor(_0x1c31fc){super(_0x1c31fc);const _0x50f39a=this[_0x2da0('0x16')],_0x7b5c1a=new _0x3a9aa9(_0x1c31fc),_0x2d3abd=new _0x3a9aa9(_0x1c31fc);this[_0x2da0('0x1')]('isNavigationMode',!0x1),this[_0x2da0('0x1')](_0x2da0('0x3'),!0x1),this[_0x2da0('0x1')](_0x2da0('0x17'),0x0),this[_0x2da0('0x1')](_0x2da0('0xf'),0x0),this[_0x2da0('0x1')]('isForwardNavigationEnabled',!0x1),this[_0x2da0('0x1')](_0x2da0('0x12'),!0x1),this['bind']('_isStatusLabelVisible')['to'](this,_0x2da0('0x3'),this,_0x2da0('0xf'),(_0x396e7b,_0x31f582)=>_0x396e7b&&_0x31f582>0x0),this[_0x2da0('0xb')](_0x2da0('0xd'))['to'](this,_0x2da0('0x3'),this,_0x2da0('0x17'),this,_0x2da0('0xf'),this,'isNavigationMode',(_0xc104f,_0x2285dd,_0x499827,_0x335c4b)=>{if(!_0xc104f)return _0x5c1b4(_0x1c31fc,'Loading...');if(!_0x499827)return _0x5c1b4(_0x1c31fc,_0x2da0('0x8'));const _0x445828=_0x5c1b4(_0x1c31fc,_0x2da0('0x5'),_0x499827);return _0x335c4b?_0x5c1b4(_0x1c31fc,_0x2da0('0xa'),[_0x2285dd+0x1,_0x499827]):_0x445828;}),_0x7b5c1a[_0x2da0('0x1')]({'label':_0x5c1b4(_0x1c31fc,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x520f60}),_0x2d3abd[_0x2da0('0x1')]({'label':_0x5c1b4(_0x1c31fc,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0xf9ef69}),_0x7b5c1a[_0x2da0('0xb')](_0x2da0('0x11'))['to'](this,_0x2da0('0x12')),_0x2d3abd[_0x2da0('0xb')](_0x2da0('0x11'))['to'](this,_0x2da0('0xe')),_0x7b5c1a['on'](_0x2da0('0x14'),()=>this[_0x2da0('0x7')]('execute',_0x2da0('0x19'))),_0x2d3abd['on'](_0x2da0('0x14'),()=>this[_0x2da0('0x7')](_0x2da0('0x14'),_0x2da0('0x4'))),this[_0x2da0('0xc')]({'tag':'div','attributes':{'class':['ck',_0x2da0('0x13'),_0x2da0('0x15')]},'children':[{'tag':_0x2da0('0x2'),'attributes':{'class':[_0x2da0('0x0')]},'children':[{'tag':_0x2da0('0x2'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x50f39a['if'](_0x2da0('0x18'),'ck-hidden',_0x487c57=>!_0x487c57)]},'children':[{'text':_0x50f39a['to'](_0x2da0('0x6'),_0x5374c0=>_0x5374c0?_0x5c1b4(_0x1c31fc,_0x2da0('0x10'))+':\x20':_0x5c1b4(_0x1c31fc,_0x2da0('0x9'))+':\x20')}]},{'text':_0x50f39a['to'](_0x2da0('0xd'))}]},new _0x469d4d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x7b5c1a,_0x2d3abd]}]});}}
23
+ const _0x2957=['numberOfChanges','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','ck-revision-history-ui__changes-navigation','isEnabled','currentChangeNumber','div','EDIT_X_OF_Y_REVISIONS','setTemplate','Loading...','span','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__wrapper','execute','X_OF_Y_CHANGES','bind','fire','isBackwardNavigationEnabled','No\x20changes','isReady','set','forward','backward','NUMBER_OF_CHANGES','_isStatusLabelVisible','Show\x20next\x20change','isForwardNavigationEnabled','isNavigationMode'];(function(_0x214cb4,_0x295770){const _0x169d1b=function(_0xd6059f){while(--_0xd6059f){_0x214cb4['push'](_0x214cb4['shift']());}};_0x169d1b(++_0x295770);}(_0x2957,0xef));const _0x169d=function(_0x214cb4,_0x295770){_0x214cb4=_0x214cb4-0x0;let _0x169d1b=_0x2957[_0x214cb4];return _0x169d1b;};import{View as _0x4d71b1,ButtonView as _0xad7cb4,ToolbarSeparatorView as _0x3282b4}from'ckeditor5/src/ui';import{getTranslation as _0x340ce4}from'../../utils/common-translations';import _0xe74e0e from'../../../theme/icons/arrow-up.svg';import _0x546986 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x4d71b1{constructor(_0x53cffc){super(_0x53cffc);const _0x5325bc=this['bindTemplate'],_0x3fd3c3=new _0xad7cb4(_0x53cffc),_0x2e3db8=new _0xad7cb4(_0x53cffc);this[_0x169d('0x5')](_0x169d('0xc'),!0x1),this[_0x169d('0x5')]('isReady',!0x1),this[_0x169d('0x5')]('currentChangeNumber',0x0),this[_0x169d('0x5')](_0x169d('0xd'),0x0),this[_0x169d('0x5')](_0x169d('0xb'),!0x1),this[_0x169d('0x5')](_0x169d('0x2'),!0x1),this[_0x169d('0x0')](_0x169d('0x9'))['to'](this,_0x169d('0x4'),this,'numberOfChanges',(_0x370bfa,_0x4b09f4)=>_0x370bfa&&_0x4b09f4>0x0),this[_0x169d('0x0')]('_statusText')['to'](this,_0x169d('0x4'),this,_0x169d('0x12'),this,_0x169d('0xd'),this,'isNavigationMode',(_0x362cb9,_0x3c4729,_0x53ffb8,_0x5d1438)=>{if(!_0x362cb9)return _0x340ce4(_0x53cffc,_0x169d('0x16'));if(!_0x53ffb8)return _0x340ce4(_0x53cffc,_0x169d('0x3'));const _0x23260b=_0x340ce4(_0x53cffc,_0x169d('0x8'),_0x53ffb8);return _0x5d1438?_0x340ce4(_0x53cffc,_0x169d('0x1b'),[_0x3c4729+0x1,_0x53ffb8]):_0x23260b;}),_0x3fd3c3[_0x169d('0x5')]({'label':_0x340ce4(_0x53cffc,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0xe74e0e}),_0x2e3db8['set']({'label':_0x340ce4(_0x53cffc,_0x169d('0xa')),'tooltip':!0x0,'icon':_0x546986}),_0x3fd3c3[_0x169d('0x0')](_0x169d('0x11'))['to'](this,_0x169d('0x2')),_0x2e3db8[_0x169d('0x0')](_0x169d('0x11'))['to'](this,_0x169d('0xb')),_0x3fd3c3['on']('execute',()=>this['fire']('execute',_0x169d('0x7'))),_0x2e3db8['on'](_0x169d('0x1a'),()=>this[_0x169d('0x1')](_0x169d('0x1a'),_0x169d('0x6'))),this[_0x169d('0x15')]({'tag':_0x169d('0x13'),'attributes':{'class':['ck',_0x169d('0xe'),_0x169d('0x10')]},'children':[{'tag':_0x169d('0x17'),'attributes':{'class':[_0x169d('0x19')]},'children':[{'tag':'span','attributes':{'class':[_0x169d('0xf'),_0x5325bc['if'](_0x169d('0x9'),'ck-hidden',_0x201a0f=>!_0x201a0f)]},'children':[{'text':_0x5325bc['to']('isNavigationMode',_0x1ab9f6=>_0x1ab9f6?_0x340ce4(_0x53cffc,_0x169d('0x14'))+':\x20':_0x340ce4(_0x53cffc,'Total')+':\x20')}]},{'text':_0x5325bc['to']('_statusText')}]},new _0x3282b4(),{'tag':'div','attributes':{'class':[_0x169d('0x18')]},'children':[_0x3fd3c3,_0x2e3db8]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20ac=['removeClass','document','addClass','view','change','roots','pluginName','editor','RevisionViewerLoadingOverlay','editing','show'];(function(_0x45c45e,_0x20ac23){const _0x129008=function(_0x556044){while(--_0x556044){_0x45c45e['push'](_0x45c45e['shift']());}};_0x129008(++_0x20ac23);}(_0x20ac,0x189));const _0x1290=function(_0x45c45e,_0x20ac23){_0x45c45e=_0x45c45e-0x0;let _0x129008=_0x20ac[_0x45c45e];return _0x129008;};import{Plugin as _0x12813d}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class ee extends _0x12813d{static get[_0x1290('0x9')](){return _0x1290('0x0');}[_0x1290('0x2')](){const _0x55b8fd=this[_0x1290('0xa')][_0x1290('0x1')][_0x1290('0x6')];_0x55b8fd[_0x1290('0x7')](_0x8a2595=>{for(const _0x1bd8bd of _0x55b8fd[_0x1290('0x4')][_0x1290('0x8')])_0x8a2595[_0x1290('0x5')]('ck-editor__editable__loading-overlay',_0x1bd8bd);});}['hide'](){const _0x38284f=this[_0x1290('0xa')]['editing'][_0x1290('0x6')];_0x38284f[_0x1290('0x7')](_0x92c026=>{for(const _0x2d80b9 of _0x38284f[_0x1290('0x4')][_0x1290('0x8')])_0x92c026[_0x1290('0x3')]('ck-editor__editable__loading-overlay',_0x2d80b9);});}}
23
+ const _0x6113=['addClass','RevisionViewerLoadingOverlay','hide','change','ck-editor__editable__loading-overlay','editing','roots','show','view','document','editor'];(function(_0x41e67b,_0x6113af){const _0x183bef=function(_0x37746b){while(--_0x37746b){_0x41e67b['push'](_0x41e67b['shift']());}};_0x183bef(++_0x6113af);}(_0x6113,0x179));const _0x183b=function(_0x41e67b,_0x6113af){_0x41e67b=_0x41e67b-0x0;let _0x183bef=_0x6113[_0x41e67b];return _0x183bef;};import{Plugin as _0x549e34}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x549e34{static get['pluginName'](){return _0x183b('0x9');}[_0x183b('0x4')](){const _0x11748c=this[_0x183b('0x7')][_0x183b('0x2')][_0x183b('0x5')];_0x11748c[_0x183b('0x0')](_0x560b3f=>{for(const _0x44f665 of _0x11748c[_0x183b('0x6')]['roots'])_0x560b3f[_0x183b('0x8')](_0x183b('0x1'),_0x44f665);});}[_0x183b('0xa')](){const _0x242a68=this[_0x183b('0x7')][_0x183b('0x2')][_0x183b('0x5')];_0x242a68[_0x183b('0x0')](_0x2ef8e8=>{for(const _0x17bb38 of _0x242a68[_0x183b('0x6')][_0x183b('0x3')])_0x2ef8e8['removeClass'](_0x183b('0x1'),_0x17bb38);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5041=['restoreRevision','pluginName','closeRevisionViewerCallback','isEnabled','changesNavigation','commands','hide','showNextChange','add','Restore\x20this\x20revision','isBackwardNavigationEnabled','get','ck-revision-history-ui__back-to-editing','execute','listenTo','revisionHistory','bind','plugins','init','currentChangeNumber','componentFactory','config','forward','editor','change:isReady','show','isNavigationMode','showPreviousChange','Back\x20to\x20editing','exitToEditing','RevisionViewerUI'];(function(_0x449f4b,_0x5041d9){const _0xcb353a=function(_0x9519ba){while(--_0x9519ba){_0x449f4b['push'](_0x449f4b['shift']());}};_0xcb353a(++_0x5041d9);}(_0x5041,0x184));const _0xcb35=function(_0x449f4b,_0x5041d9){_0x449f4b=_0x449f4b-0x0;let _0xcb353a=_0x5041[_0x449f4b];return _0xcb353a;};import{Plugin as _0x596f85}from'ckeditor5/src/core';import{ButtonView as _0x31241d}from'ckeditor5/src/ui';import _0x3eafc9 from'./changesnavigationview';import _0x3bc27a from'./../../revisionviewer';import _0x45d005 from'./revisionviewerloadingoverlay';import{getTranslation as _0x4f0e0a}from'../../utils/common-translations';import _0x3e344e from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class d extends _0x596f85{static get[_0xcb35('0x10')](){return _0xcb35('0xe');}static get['requires'](){return[_0x3bc27a,_0x45d005];}[_0xcb35('0x2')](){const _0x42da46=this[_0xcb35('0x7')],_0x2daea3=_0x42da46[_0xcb35('0x1')][_0xcb35('0x1a')](_0x3bc27a),_0x2a06a6=_0x42da46[_0xcb35('0x1')][_0xcb35('0x1a')](_0x45d005);_0x42da46['ui'][_0xcb35('0x4')][_0xcb35('0x17')](_0xcb35('0xd'),_0x53cd17=>{const _0x37b404=new _0x31241d(_0x53cd17);return _0x37b404['set']({'label':_0x4f0e0a(_0x53cd17,_0xcb35('0xc')),'icon':_0x3e344e,'withText':!0x0,'tooltip':!0x0,'class':_0xcb35('0x1b')}),this[_0xcb35('0x1d')](_0x37b404,'execute',()=>{_0x42da46[_0xcb35('0x5')][_0xcb35('0x1a')](_0xcb35('0x1e'))[_0xcb35('0x11')]();}),_0x37b404;}),_0x42da46['ui']['componentFactory'][_0xcb35('0x17')]('restoreRevision',_0x215b0b=>{const _0x78df5f=new _0x31241d(_0x215b0b);return _0x78df5f['set']({'label':_0x4f0e0a(_0x215b0b,_0xcb35('0x18')),'withText':!0x0,'tooltip':!0x0}),_0x78df5f['bind']('isEnabled')['to'](_0x42da46['commands'][_0xcb35('0x1a')](_0xcb35('0xf'))),this[_0xcb35('0x1d')](_0x78df5f,'execute',()=>_0x42da46[_0xcb35('0x1c')](_0xcb35('0xf'))),_0x78df5f;}),_0x42da46['ui'][_0xcb35('0x4')]['add'](_0xcb35('0x13'),_0xa9bdbd=>{const _0x56bd78=new _0x3eafc9(_0xa9bdbd),_0x488ebe=_0x42da46[_0xcb35('0x14')][_0xcb35('0x1a')](_0xcb35('0xb')),_0x498f55=_0x42da46['commands'][_0xcb35('0x1a')](_0xcb35('0x16'));return _0x56bd78['bind'](_0xcb35('0x19'))['to'](_0x488ebe,_0xcb35('0x12')),_0x56bd78[_0xcb35('0x0')]('isForwardNavigationEnabled')['to'](_0x498f55,_0xcb35('0x12')),_0x56bd78[_0xcb35('0x0')]('isReady',_0xcb35('0x3'),'numberOfChanges',_0xcb35('0xa'))['to'](_0x2daea3),this[_0xcb35('0x1d')](_0x56bd78,_0xcb35('0x1c'),(_0x2a772f,_0x4e25ca)=>{_0x42da46[_0xcb35('0x1c')](_0xcb35('0x6')===_0x4e25ca?'showNextChange':_0xcb35('0xb'));}),_0x56bd78;}),_0x2a06a6[_0xcb35('0x9')](),_0x2daea3['on'](_0xcb35('0x8'),(_0x3c26c2,_0x1be00c,_0x4c05f6)=>{_0x4c05f6?_0x2a06a6[_0xcb35('0x15')]():_0x2a06a6[_0xcb35('0x9')]();});}}
23
+ const _0x58a2=['editor','execute','ck-revision-history-ui__back-to-editing','hide','config','isEnabled','forward','RevisionViewerUI','exitToEditing','change:isReady','get','init','changesNavigation','plugins','closeRevisionViewerCallback','numberOfChanges','isReady','requires','revisionHistory','show','add','isForwardNavigationEnabled','bind','set','showNextChange','commands','listenTo','restoreRevision','Restore\x20this\x20revision','componentFactory'];(function(_0x5487de,_0x58a205){const _0x36d4d4=function(_0x1276a5){while(--_0x1276a5){_0x5487de['push'](_0x5487de['shift']());}};_0x36d4d4(++_0x58a205);}(_0x58a2,0x1c7));const _0x36d4=function(_0x5487de,_0x58a205){_0x5487de=_0x5487de-0x0;let _0x36d4d4=_0x58a2[_0x5487de];return _0x36d4d4;};import{Plugin as _0x172507}from'ckeditor5/src/core';import{ButtonView as _0x19ca3e}from'ckeditor5/src/ui';import _0x18c36 from'./changesnavigationview';import _0x1dc249 from'./../../revisionviewer';import _0x428536 from'./revisionviewerloadingoverlay';import{getTranslation as _0x536c9b}from'../../utils/common-translations';import _0xe9f6a9 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class m extends _0x172507{static get['pluginName'](){return _0x36d4('0x2');}static get[_0x36d4('0xc')](){return[_0x1dc249,_0x428536];}[_0x36d4('0x6')](){const _0xd45861=this[_0x36d4('0x19')],_0x3da007=_0xd45861[_0x36d4('0x8')][_0x36d4('0x5')](_0x1dc249),_0x2d6c0a=_0xd45861[_0x36d4('0x8')][_0x36d4('0x5')](_0x428536);_0xd45861['ui']['componentFactory'][_0x36d4('0xf')](_0x36d4('0x3'),_0x2255bc=>{const _0x250a23=new _0x19ca3e(_0x2255bc);return _0x250a23[_0x36d4('0x12')]({'label':_0x536c9b(_0x2255bc,'Back\x20to\x20editing'),'icon':_0xe9f6a9,'withText':!0x0,'tooltip':!0x0,'class':_0x36d4('0x1b')}),this[_0x36d4('0x15')](_0x250a23,'execute',()=>{_0xd45861[_0x36d4('0x1d')]['get'](_0x36d4('0xd'))[_0x36d4('0x9')]();}),_0x250a23;}),_0xd45861['ui']['componentFactory'][_0x36d4('0xf')](_0x36d4('0x16'),_0x2d3e34=>{const _0x2b0383=new _0x19ca3e(_0x2d3e34);return _0x2b0383[_0x36d4('0x12')]({'label':_0x536c9b(_0x2d3e34,_0x36d4('0x17')),'withText':!0x0,'tooltip':!0x0}),_0x2b0383[_0x36d4('0x11')](_0x36d4('0x0'))['to'](_0xd45861['commands'][_0x36d4('0x5')]('restoreRevision')),this['listenTo'](_0x2b0383,_0x36d4('0x1a'),()=>_0xd45861['execute'](_0x36d4('0x16'))),_0x2b0383;}),_0xd45861['ui'][_0x36d4('0x18')]['add'](_0x36d4('0x7'),_0x4abaa=>{const _0x12d752=new _0x18c36(_0x4abaa),_0x2c3341=_0xd45861[_0x36d4('0x14')][_0x36d4('0x5')]('showPreviousChange'),_0x222e02=_0xd45861['commands'][_0x36d4('0x5')](_0x36d4('0x13'));return _0x12d752[_0x36d4('0x11')]('isBackwardNavigationEnabled')['to'](_0x2c3341,_0x36d4('0x0')),_0x12d752[_0x36d4('0x11')](_0x36d4('0x10'))['to'](_0x222e02,_0x36d4('0x0')),_0x12d752[_0x36d4('0x11')](_0x36d4('0xb'),'currentChangeNumber',_0x36d4('0xa'),'isNavigationMode')['to'](_0x3da007),this['listenTo'](_0x12d752,_0x36d4('0x1a'),(_0x200e2d,_0x36bf42)=>{_0xd45861[_0x36d4('0x1a')](_0x36d4('0x1')===_0x36bf42?_0x36d4('0x13'):'showPreviousChange');}),_0x12d752;}),_0x2d6c0a[_0x36d4('0xe')](),_0x3da007['on'](_0x36d4('0x4'),(_0x429283,_0x11e50b,_0x386c25)=>{_0x386c25?_0x2d6c0a[_0x36d4('0x1c')]():_0x2d6c0a['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1593cb,_0x575d3d,_0x14e919){const t=_0x1593cb['t'];switch(_0x575d3d){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'},_0x14e919);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x14e919);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'});}}
23
+ export function getTranslation(_0x37b823,_0xc44b91,_0x3b7fc1){const t=_0x37b823['t'];switch(_0xc44b91){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'},_0x3b7fc1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3b7fc1);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'});}}