@ckeditor/ckeditor5-revision-history 40.2.0 → 41.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/revision-history.js +2 -2
  4. package/lang/translations/af.po +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/az.po +1 -1
  7. package/lang/translations/bg.po +1 -1
  8. package/lang/translations/bn.po +1 -1
  9. package/lang/translations/bs.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de-ch.po +1 -1
  14. package/lang/translations/de.po +1 -1
  15. package/lang/translations/el.po +1 -1
  16. package/lang/translations/en-au.po +1 -1
  17. package/lang/translations/en-gb.po +1 -1
  18. package/lang/translations/en.po +1 -1
  19. package/lang/translations/es-co.po +1 -1
  20. package/lang/translations/es.po +1 -1
  21. package/lang/translations/et.po +1 -1
  22. package/lang/translations/fa.po +1 -1
  23. package/lang/translations/fi.po +1 -1
  24. package/lang/translations/fr.po +1 -1
  25. package/lang/translations/gl.po +1 -1
  26. package/lang/translations/he.po +1 -1
  27. package/lang/translations/hi.po +1 -1
  28. package/lang/translations/hr.po +1 -1
  29. package/lang/translations/hu.po +1 -1
  30. package/lang/translations/id.po +1 -1
  31. package/lang/translations/it.po +1 -1
  32. package/lang/translations/ja.po +1 -1
  33. package/lang/translations/jv.po +1 -1
  34. package/lang/translations/ko.po +1 -1
  35. package/lang/translations/ku.po +1 -1
  36. package/lang/translations/lt.po +1 -1
  37. package/lang/translations/lv.po +1 -1
  38. package/lang/translations/ms.po +1 -1
  39. package/lang/translations/ne.po +1 -1
  40. package/lang/translations/nl.po +1 -1
  41. package/lang/translations/no.po +1 -1
  42. package/lang/translations/pl.po +1 -1
  43. package/lang/translations/pt-br.po +1 -1
  44. package/lang/translations/pt.po +1 -1
  45. package/lang/translations/ro.po +1 -1
  46. package/lang/translations/ru.po +1 -1
  47. package/lang/translations/sk.po +1 -1
  48. package/lang/translations/sr-latn.po +1 -1
  49. package/lang/translations/sr.po +1 -1
  50. package/lang/translations/sv.po +1 -1
  51. package/lang/translations/th.po +1 -1
  52. package/lang/translations/tk.po +1 -1
  53. package/lang/translations/tr.po +1 -1
  54. package/lang/translations/tt.po +1 -1
  55. package/lang/translations/ug.po +1 -1
  56. package/lang/translations/uk.po +1 -1
  57. package/lang/translations/ur.po +1 -1
  58. package/lang/translations/vi.po +1 -1
  59. package/lang/translations/zh-cn.po +1 -1
  60. package/lang/translations/zh.po +1 -1
  61. package/package.json +6 -6
  62. package/src/augmentation.d.ts +2 -2
  63. package/src/augmentation.js +1 -1
  64. package/src/changeitem.d.ts +4 -4
  65. package/src/changeitem.js +2 -2
  66. package/src/editor/revisionviewereditor.d.ts +4 -4
  67. package/src/editor/revisionviewereditor.js +2 -2
  68. package/src/editor/revisionviewereditorui.d.ts +4 -4
  69. package/src/editor/revisionviewereditorui.js +2 -2
  70. package/src/editor/revisionviewereditoruiview.d.ts +5 -5
  71. package/src/editor/revisionviewereditoruiview.js +2 -2
  72. package/src/index.d.ts +12 -12
  73. package/src/index.js +2 -2
  74. package/src/revision.d.ts +4 -4
  75. package/src/revision.js +2 -2
  76. package/src/revisiondiff.d.ts +4 -4
  77. package/src/revisiondiff.js +2 -2
  78. package/src/revisionhistory.d.ts +7 -7
  79. package/src/revisionhistory.js +2 -2
  80. package/src/revisionhistoryadapter.d.ts +2 -2
  81. package/src/revisionhistoryadapter.js +1 -1
  82. package/src/revisionhistoryconfig.d.ts +1 -1
  83. package/src/revisionhistoryconfig.js +1 -1
  84. package/src/revisionsrepository.d.ts +4 -4
  85. package/src/revisionsrepository.js +2 -2
  86. package/src/revisiontracker.d.ts +6 -6
  87. package/src/revisiontracker.js +2 -2
  88. package/src/revisionviewer.d.ts +1 -1
  89. package/src/revisionviewer.js +2 -2
  90. package/src/ui/revision/createrevisionactionsdropdown.d.ts +3 -3
  91. package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
  92. package/src/ui/revision/revisionauthorview.d.ts +1 -1
  93. package/src/ui/revision/revisionauthorview.js +2 -2
  94. package/src/ui/revision/revisionnameview.d.ts +1 -1
  95. package/src/ui/revision/revisionnameview.js +2 -2
  96. package/src/ui/revision/revisionview.d.ts +7 -7
  97. package/src/ui/revision/revisionview.js +2 -2
  98. package/src/ui/revision/subrevisioncollapserview.d.ts +3 -3
  99. package/src/ui/revision/subrevisioncollapserview.js +2 -2
  100. package/src/ui/revision/subrevisionview.d.ts +4 -4
  101. package/src/ui/revision/subrevisionview.js +2 -2
  102. package/src/ui/revision/utils.d.ts +1 -1
  103. package/src/ui/revision/utils.js +2 -2
  104. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +3 -3
  105. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  106. package/src/ui/revisionhistory/revisionhistoryui.d.ts +3 -3
  107. package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
  108. package/src/ui/revisionssidebar/revisionssidebar.d.ts +4 -4
  109. package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
  110. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
  111. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
  112. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +6 -6
  113. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
  114. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +7 -7
  115. package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
  116. package/src/ui/revisionssidebar/utils.d.ts +1 -1
  117. package/src/ui/revisionssidebar/utils.js +2 -2
  118. package/src/ui/revisionviewer/changedetailsview.d.ts +4 -4
  119. package/src/ui/revisionviewer/changedetailsview.js +2 -2
  120. package/src/ui/revisionviewer/changesnavigationview.d.ts +3 -3
  121. package/src/ui/revisionviewer/changesnavigationview.js +2 -2
  122. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +2 -2
  123. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
  124. package/src/ui/revisionviewer/revisionviewerui.d.ts +4 -4
  125. package/src/ui/revisionviewer/revisionviewerui.js +2 -2
  126. package/src/utils/common-translations.d.ts +2 -2
  127. package/src/utils/common-translations.js +2 -2
  128. package/theme/changesnavigation.css +1 -1
  129. package/theme/revision/revision.css +1 -1
  130. package/theme/revision/revisionactions.css +1 -1
  131. package/theme/revision/revisionauthor.css +1 -1
  132. package/theme/revision/revisionname.css +1 -1
  133. package/theme/revision/subrevision.css +1 -1
  134. package/theme/revision/subrevisioncollapser.css +1 -1
  135. package/theme/revisionhistorysaverevisionform.css +1 -1
  136. package/theme/revisionssidebar/revisionssidebar.css +1 -1
  137. package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
  138. package/theme/revisionssidebar/revisionssidebartimeperiod.css +1 -1
  139. package/theme/revisionviewer.css +1 -1
  140. package/theme/revisionviewerloadingoverlay.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49de=['setTemplate','toggle','set','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-hidden','true','false','click','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','span'];(function(_0x5a5b5b,_0x49dedf){const _0x4ea50c=function(_0x5b35eb){while(--_0x5b35eb){_0x5a5b5b['push'](_0x5a5b5b['shift']());}};_0x4ea50c(++_0x49dedf);}(_0x49de,0x1df));const _0x4ea5=function(_0x5a5b5b,_0x49dedf){_0x5a5b5b=_0x5a5b5b-0x0;let _0x4ea50c=_0x49de[_0x5a5b5b];return _0x4ea50c;};import{View as _0x4c0515}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x4c0515{constructor(_0x3e0555){super(_0x3e0555);const _0x52eb30=this['bindTemplate'];this[_0x4ea5('0x3')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4ea5('0x1')]({'tag':_0x4ea5('0x0'),'attributes':{'class':['ck',_0x4ea5('0xb'),_0x52eb30['if']('isVisible',_0x4ea5('0x5'),_0x4fb9c3=>!_0x4fb9c3),_0x52eb30['if'](_0x4ea5('0x9'),_0x4ea5('0x4'))],'role':'button','aria-pressed':_0x52eb30['to'](_0x4ea5('0x9'),_0x27fc15=>_0x27fc15?_0x4ea5('0x7'):_0x4ea5('0x6'))},'children':[{'tag':'span','attributes':{'class':['ck',_0x4ea5('0xa')]}}],'on':{'click':_0x52eb30['to'](_0x4ea5('0x8'))}});}[_0x4ea5('0x2')](){this[_0x4ea5('0x9')]=!this[_0x4ea5('0x9')];}}
23
+ const _0xcb95=['span','click','false','setTemplate','ck-revision-history-sidebar__subrevision-collapser_collapsed','true','ck-hidden','_isCollapsed','isVisible','ck-revision-history-sidebar__subrevision-collapser'];(function(_0x18257d,_0xcb9534){const _0x1679f5=function(_0x5991c6){while(--_0x5991c6){_0x18257d['push'](_0x18257d['shift']());}};_0x1679f5(++_0xcb9534);}(_0xcb95,0xc9));const _0x1679=function(_0x18257d,_0xcb9534){_0x18257d=_0x18257d-0x0;let _0x1679f5=_0xcb95[_0x18257d];return _0x1679f5;};import{View as _0x4209f9}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x4209f9{constructor(_0x1dfb2d){super(_0x1dfb2d);const _0x45f353=this['bindTemplate'];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1679('0x2')]({'tag':_0x1679('0x9'),'attributes':{'class':['ck',_0x1679('0x8'),_0x45f353['if'](_0x1679('0x7'),_0x1679('0x5'),_0xe0b28b=>!_0xe0b28b),_0x45f353['if'](_0x1679('0x6'),_0x1679('0x3'))],'role':'button','aria-pressed':_0x45f353['to'](_0x1679('0x6'),_0x51e568=>_0x51e568?_0x1679('0x1'):_0x1679('0x4'))},'children':[{'tag':_0x1679('0x9'),'attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser__inner']}}],'on':{'click':_0x45f353['to'](_0x1679('0x0'))}});}['toggle'](){this[_0x1679('0x6')]=!this[_0x1679('0x6')];}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revision/subrevisionview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  import '../../../theme/revision/subrevision.css';
11
- import type Revision from '../../revision';
11
+ import type Revision from '../../revision.js';
12
12
  /**
13
13
  * TODO
14
14
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc23b=['fire','span','set','creator','_createdAtFormatted','isSelected','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision','uiLanguage','setTemplate','select','ck-revision-history-sidebar__revision_selected','createdAt','ck-reset','bind','_parentRevisionId'];(function(_0x32df2f,_0xc23bcd){const _0x2d303d=function(_0x574d59){while(--_0x574d59){_0x32df2f['push'](_0x32df2f['shift']());}};_0x2d303d(++_0xc23bcd);}(_0xc23b,0x139));const _0x2d30=function(_0x32df2f,_0xc23bcd){_0x32df2f=_0x32df2f-0x0;let _0x2d303d=_0xc23b[_0x32df2f];return _0x2d303d;};import{View as _0x34e273}from'ckeditor5/src/ui';import _0x44af6d from'./revisionauthorview';import{dateToPrettyFormat as _0x568adf}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x34e273{constructor(_0x5515f4,_0x49d1f4,_0x3959dd){super(_0x5515f4);const _0x21eb64=this['bindTemplate'];this['id']=_0x49d1f4['id'],this['bind'](_0x2d30('0x6'))['to'](_0x49d1f4),this[_0x2d30('0xc')](_0x2d30('0xf'),!0x1),this[_0x2d30('0x8')](_0x2d30('0xe'))['to'](this,_0x2d30('0x6'),_0x1ce1ae=>_0x1ce1ae?_0x568adf(_0x5515f4[_0x2d30('0x2')],_0x1ce1ae):void 0x0),this[_0x2d30('0x9')]=_0x3959dd,this[_0x2d30('0x3')]({'tag':'div','attributes':{'class':['ck',_0x2d30('0x7'),_0x2d30('0x1'),_0x2d30('0x10'),_0x21eb64['if'](_0x2d30('0xf'),_0x2d30('0x5'))]},'children':[{'tag':_0x2d30('0xb'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x21eb64['to'](_0x2d30('0xe'))}]},{'tag':'ul','attributes':{'class':['ck',_0x2d30('0x0')]},'children':[new _0x44af6d(_0x5515f4,_0x49d1f4[_0x2d30('0xd')],!0x0)]}],'on':{'click':_0x21eb64['to'](this[_0x2d30('0x4')]['bind'](this))}});}[_0x2d30('0x4')](){this[_0x2d30('0xf')]=!0x0,this[_0x2d30('0xa')](_0x2d30('0x4'),{'parentId':this[_0x2d30('0x9')]});}['deselect'](){this[_0x2d30('0xf')]=!0x1;}}
23
+ const _0x83bc=['deselect','bindTemplate','ck-revision-history-sidebar__revision','_parentRevisionId','ck-revision-history-sidebar__revision-authors','creator','isSelected','_createdAtFormatted','select','fire','ck-reset','div','span','bind','uiLanguage','set','ck-revision-history-sidebar__revision_selected'];(function(_0x3c8b07,_0x83bc69){const _0x2498df=function(_0x26bfb5){while(--_0x26bfb5){_0x3c8b07['push'](_0x3c8b07['shift']());}};_0x2498df(++_0x83bc69);}(_0x83bc,0x162));const _0x2498=function(_0x3c8b07,_0x83bc69){_0x3c8b07=_0x3c8b07-0x0;let _0x2498df=_0x83bc[_0x3c8b07];return _0x2498df;};import{View as _0x4da183}from'ckeditor5/src/ui.js';import _0x26670a from'./revisionauthorview.js';import{dateToPrettyFormat as _0x31bd26}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class ts extends _0x4da183{constructor(_0x2f99f4,_0x1ef096,_0x96c903){super(_0x2f99f4);const _0x5d0558=this[_0x2498('0x4')];this['id']=_0x1ef096['id'],this['bind']('createdAt')['to'](_0x1ef096),this[_0x2498('0x1')]('isSelected',!0x1),this[_0x2498('0x10')](_0x2498('0xa'))['to'](this,'createdAt',_0x3b284c=>_0x3b284c?_0x31bd26(_0x2f99f4[_0x2498('0x0')],_0x3b284c):void 0x0),this[_0x2498('0x6')]=_0x96c903,this['setTemplate']({'tag':_0x2498('0xe'),'attributes':{'class':['ck',_0x2498('0xd'),_0x2498('0x5'),'ck-revision-history-sidebar__subrevision',_0x5d0558['if'](_0x2498('0x9'),_0x2498('0x2'))]},'children':[{'tag':_0x2498('0xf'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x5d0558['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck',_0x2498('0x7')]},'children':[new _0x26670a(_0x2f99f4,_0x1ef096[_0x2498('0x8')],!0x0)]}],'on':{'click':_0x5d0558['to'](this[_0x2498('0xb')][_0x2498('0x10')](this))}});}[_0x2498('0xb')](){this[_0x2498('0x9')]=!0x0,this[_0x2498('0xc')](_0x2498('0xb'),{'parentId':this[_0x2498('0x6')]});}[_0x2498('0x3')](){this[_0x2498('0x9')]=!0x1;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e1a=['numeric','toLocaleDateString','long'];(function(_0x2c1ee4,_0x3e1a3f){var _0x2d7378=function(_0x383933){while(--_0x383933){_0x2c1ee4['push'](_0x2c1ee4['shift']());}};_0x2d7378(++_0x3e1a3f);}(_0x3e1a,0x11d));var _0x2d73=function(_0x2c1ee4,_0x3e1a3f){_0x2c1ee4=_0x2c1ee4-0x0;var _0x2d7378=_0x3e1a[_0x2c1ee4];return _0x2d7378;};export function dateToPrettyFormat(_0x180275,_0x95b08a){return _0x95b08a[_0x2d73('0x1')](_0x180275,{'month':_0x2d73('0x2'),'day':_0x2d73('0x0')})+',\x20'+_0x95b08a['toLocaleTimeString'](_0x180275,{'hour':_0x2d73('0x0'),'minute':'numeric'});}
23
+ var _0x1030=['toLocaleTimeString','long','numeric'];(function(_0x595e99,_0x10300b){var _0x309ee8=function(_0x2d7f06){while(--_0x2d7f06){_0x595e99['push'](_0x595e99['shift']());}};_0x309ee8(++_0x10300b);}(_0x1030,0x1db));var _0x309e=function(_0x595e99,_0x10300b){_0x595e99=_0x595e99-0x0;var _0x309ee8=_0x1030[_0x595e99];return _0x309ee8;};export function dateToPrettyFormat(_0x3ae831,_0x27ef9c){return _0x27ef9c['toLocaleDateString'](_0x3ae831,{'month':_0x309e('0x0'),'day':_0x309e('0x1')})+',\x20'+_0x27ef9c[_0x309e('0x2')](_0x3ae831,{'hour':'numeric','minute':_0x309e('0x1')});}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { ButtonView, LabeledFieldView, View, type InputTextView } from 'ckeditor5/src/ui';
6
- import { type BaseEvent, FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
5
+ import { ButtonView, LabeledFieldView, View, type InputTextView } from 'ckeditor5/src/ui.js';
6
+ import { type BaseEvent, FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
7
7
  import '../../../theme/revisionhistorysaverevisionform.css';
8
8
  import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4530=['cancel','keystrokes','add','submit','value','_createRevisionNameInput','_createButton','fieldView','ck-button-save','Name\x20of\x20the\x20revision\x20(optional)','revisionName','arrowdown','Cancel','render','arrowright','ck-responsive-form','_focusables','tab','delegate','input','set','stopPropagation','arrowleft','cancelButtonView','locale','Save','ck-button-cancel','_focusCycler','focusTracker','trim','saveButtonView','220','arrowup','element','revisionNameInputValue','revisionNameInputView','label','ck-revision-history-save-revision-form','shift\x20+\x20tab','extendTemplate'];(function(_0x7aec03,_0x45302c){const _0x452a16=function(_0x4ebdc3){while(--_0x4ebdc3){_0x7aec03['push'](_0x7aec03['shift']());}};_0x452a16(++_0x45302c);}(_0x4530,0x84));const _0x452a=function(_0x7aec03,_0x45302c){_0x7aec03=_0x7aec03-0x0;let _0x452a16=_0x4530[_0x7aec03];return _0x452a16;};import{icons as _0x4aa547}from'ckeditor5/src/core';import{ButtonView as _0x135933,FocusCycler as _0x2d0a96,LabeledFieldView as _0x312856,View as _0x1db0f6,ViewCollection as _0x3330a1,createLabeledInputText as _0x325d76,injectCssTransitionDisabler as _0x4c1a90,submitHandler as _0x3247f6}from'ckeditor5/src/ui';import{FocusTracker as _0x359349,KeystrokeHandler as _0x3674d7}from'ckeditor5/src/utils';import{getTranslation as _0x41851c}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x1db0f6{constructor(_0x244c90){super(_0x244c90),this['focusTracker']=new _0x359349(),this['keystrokes']=new _0x3674d7(),this[_0x452a('0x8')](_0x452a('0x16'),''),this[_0x452a('0x17')]=this['_createRevisionNameInput'](),this[_0x452a('0x12')]=this[_0x452a('0x22')](_0x41851c(_0x244c90,_0x452a('0xd')),_0x4aa547['check'],_0x452a('0x24')),this[_0x452a('0x12')]['type']=_0x452a('0x1f'),this[_0x452a('0xb')]=this[_0x452a('0x22')](_0x41851c(_0x244c90,_0x452a('0x0')),_0x4aa547['cancel'],_0x452a('0xe'),_0x452a('0x1c')),this[_0x452a('0x4')]=new _0x3330a1(),this[_0x452a('0xf')]=new _0x2d0a96({'focusables':this[_0x452a('0x4')],'focusTracker':this[_0x452a('0x10')],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':_0x452a('0x1a'),'focusNext':_0x452a('0x5')}}),this['setTemplate']({'tag':'form','attributes':{'class':['ck',_0x452a('0x19'),_0x452a('0x3')],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x452a('0x12')],this[_0x452a('0xb')]]}),_0x4c1a90(this);}[_0x452a('0x1')](){super['render'](),_0x3247f6({'view':this}),([this[_0x452a('0x17')],this[_0x452a('0x12')],this[_0x452a('0xb')]]['forEach'](_0x914f93=>{this[_0x452a('0x4')][_0x452a('0x1e')](_0x914f93),this[_0x452a('0x10')][_0x452a('0x1e')](_0x914f93[_0x452a('0x15')]);}),this[_0x452a('0x1d')]['listenTo'](this[_0x452a('0x15')]));const _0x5cc283=_0x5998cc=>_0x5998cc[_0x452a('0x9')]();this[_0x452a('0x1d')][_0x452a('0x8')](_0x452a('0x2'),_0x5cc283),this[_0x452a('0x1d')]['set'](_0x452a('0xa'),_0x5cc283),this[_0x452a('0x1d')][_0x452a('0x8')](_0x452a('0x14'),_0x5cc283),this[_0x452a('0x1d')][_0x452a('0x8')](_0x452a('0x27'),_0x5cc283);}['focus'](){this[_0x452a('0xf')]['focusFirst']();}get[_0x452a('0x26')](){return this[_0x452a('0x17')][_0x452a('0x23')][_0x452a('0x15')]['value'][_0x452a('0x11')]();}set[_0x452a('0x26')](_0x1317af){this[_0x452a('0x17')]['fieldView']['element']['value']=_0x1317af[_0x452a('0x11')]();}['reset'](){this[_0x452a('0x17')][_0x452a('0x23')][_0x452a('0x15')]['value']='';}[_0x452a('0x21')](){const _0x4e9f54=new _0x312856(this[_0x452a('0xc')],_0x325d76),_0x50f989=_0x4e9f54[_0x452a('0x23')];return _0x50f989[_0x452a('0x1b')]({'attributes':{'maxlength':_0x452a('0x13')}}),_0x4e9f54[_0x452a('0x18')]=_0x41851c(this[_0x452a('0xc')],_0x452a('0x25')),_0x50f989['on'](_0x452a('0x7'),()=>{this[_0x452a('0x16')]=_0x50f989[_0x452a('0x15')][_0x452a('0x20')][_0x452a('0x11')]();}),_0x4e9f54;}[_0x452a('0x22')](_0x3574f0,_0xeb549d,_0x25e978,_0x4975dd){const _0x10f6a0=new _0x135933(this[_0x452a('0xc')]);return _0x10f6a0['set']({'label':_0x3574f0,'icon':_0xeb549d,'tooltip':!0x0}),_0x10f6a0[_0x452a('0x1b')]({'attributes':{'class':_0x25e978}}),_0x4975dd&&_0x10f6a0[_0x452a('0x6')]('execute')['to'](this,_0x4975dd),_0x10f6a0;}}
23
+ const _0x4429=['focusFirst','ck-button-cancel','label','220','extendTemplate','ck-revision-history-save-revision-form','form','forEach','arrowright','fieldView','tab','keystrokes','revisionName','_createButton','cancel','focusTracker','revisionNameInputView','element','Save','locale','set','arrowup','setTemplate','reset','delegate','value','trim','_focusCycler','render','cancelButtonView','type','_createRevisionNameInput','add','shift\x20+\x20tab','revisionNameInputValue','Cancel','ck-responsive-form','_focusables','arrowleft','execute','saveButtonView'];(function(_0x3433ec,_0x44299a){const _0x330da3=function(_0x1ad428){while(--_0x1ad428){_0x3433ec['push'](_0x3433ec['shift']());}};_0x330da3(++_0x44299a);}(_0x4429,0x13f));const _0x330d=function(_0x3433ec,_0x44299a){_0x3433ec=_0x3433ec-0x0;let _0x330da3=_0x4429[_0x3433ec];return _0x330da3;};import{icons as _0xf6a4fd}from'ckeditor5/src/core.js';import{ButtonView as _0x243f51,FocusCycler as _0x10d811,LabeledFieldView as _0x2c54f4,View as _0x1cd241,ViewCollection as _0x4f61e5,createLabeledInputText as _0x58aa42,injectCssTransitionDisabler as _0x581c48,submitHandler as _0x954e81}from'ckeditor5/src/ui.js';import{FocusTracker as _0xc07465,KeystrokeHandler as _0x8fcbbf}from'ckeditor5/src/utils.js';import{getTranslation as _0x201d6a}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x1cd241{constructor(_0x4e708d){super(_0x4e708d),this['focusTracker']=new _0xc07465(),this[_0x330d('0x14')]=new _0x8fcbbf(),this['set']('revisionNameInputValue',''),this[_0x330d('0x19')]=this[_0x330d('0x28')](),this[_0x330d('0x8')]=this[_0x330d('0x16')](_0x201d6a(_0x4e708d,_0x330d('0x1b')),_0xf6a4fd['check'],'ck-button-save'),this['saveButtonView'][_0x330d('0x27')]='submit',this[_0x330d('0x26')]=this['_createButton'](_0x201d6a(_0x4e708d,_0x330d('0x3')),_0xf6a4fd[_0x330d('0x17')],_0x330d('0xa'),_0x330d('0x17')),this[_0x330d('0x5')]=new _0x4f61e5(),this[_0x330d('0x24')]=new _0x10d811({'focusables':this[_0x330d('0x5')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x330d('0x14')],'actions':{'focusPrevious':_0x330d('0x1'),'focusNext':_0x330d('0x13')}}),this[_0x330d('0x1f')]({'tag':_0x330d('0xf'),'attributes':{'class':['ck',_0x330d('0xe'),_0x330d('0x4')],'tabindex':'-1'},'children':[this['revisionNameInputView'],this[_0x330d('0x8')],this[_0x330d('0x26')]]}),_0x581c48(this);}['render'](){super[_0x330d('0x25')](),_0x954e81({'view':this}),([this[_0x330d('0x19')],this[_0x330d('0x8')],this[_0x330d('0x26')]][_0x330d('0x10')](_0x2f00eb=>{this[_0x330d('0x5')][_0x330d('0x0')](_0x2f00eb),this[_0x330d('0x18')][_0x330d('0x0')](_0x2f00eb['element']);}),this[_0x330d('0x14')]['listenTo'](this[_0x330d('0x1a')]));const _0x48075e=_0x4c48f5=>_0x4c48f5['stopPropagation']();this[_0x330d('0x14')][_0x330d('0x1d')](_0x330d('0x11'),_0x48075e),this['keystrokes'][_0x330d('0x1d')](_0x330d('0x6'),_0x48075e),this[_0x330d('0x14')]['set'](_0x330d('0x1e'),_0x48075e),this['keystrokes']['set']('arrowdown',_0x48075e);}['focus'](){this[_0x330d('0x24')][_0x330d('0x9')]();}get['revisionName'](){return this[_0x330d('0x19')][_0x330d('0x12')][_0x330d('0x1a')][_0x330d('0x22')][_0x330d('0x23')]();}set[_0x330d('0x15')](_0x46fb0d){this[_0x330d('0x19')][_0x330d('0x12')][_0x330d('0x1a')]['value']=_0x46fb0d[_0x330d('0x23')]();}[_0x330d('0x20')](){this['revisionNameInputView'][_0x330d('0x12')]['element'][_0x330d('0x22')]='';}[_0x330d('0x28')](){const _0x170942=new _0x2c54f4(this[_0x330d('0x1c')],_0x58aa42),_0x5501ad=_0x170942[_0x330d('0x12')];return _0x5501ad[_0x330d('0xd')]({'attributes':{'maxlength':_0x330d('0xc')}}),_0x170942[_0x330d('0xb')]=_0x201d6a(this[_0x330d('0x1c')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x5501ad['on']('input',()=>{this[_0x330d('0x2')]=_0x5501ad[_0x330d('0x1a')][_0x330d('0x22')][_0x330d('0x23')]();}),_0x170942;}[_0x330d('0x16')](_0xd605e6,_0xf609c6,_0x5e22f8,_0x43e985){const _0x4ea8f3=new _0x243f51(this[_0x330d('0x1c')]);return _0x4ea8f3[_0x330d('0x1d')]({'label':_0xd605e6,'icon':_0xf609c6,'tooltip':!0x0}),_0x4ea8f3[_0x330d('0xd')]({'attributes':{'class':_0x5e22f8}}),_0x43e985&&_0x4ea8f3[_0x330d('0x21')](_0x330d('0x7'))['to'](this,_0x43e985),_0x4ea8f3;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionhistory/revisionhistoryui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import RevisionTracker from '../../revisiontracker';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import RevisionTracker from '../../revisiontracker.js';
10
10
  /**
11
11
  * TODO
12
12
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a7c=['revisionHistory','isReadOnly','showRevisionViewerCallback','config','plugins','add','change:isOpen','panelView','Revision\x20history','children','length','isEnabled','init','componentFactory','set','isOpen','execute','editor','render','get','items','saveButtonView','submit','focus','reset','cancel','view','Save\x20current\x20revision','editing','bind','revisionName','isReady','Open\x20revision\x20history','remove','history'];(function(_0x38ceb1,_0x4a7c22){const _0x649d11=function(_0x3d8630){while(--_0x3d8630){_0x38ceb1['push'](_0x38ceb1['shift']());}};_0x649d11(++_0x4a7c22);}(_0x4a7c,0x152));const _0x649d=function(_0x38ceb1,_0x4a7c22){_0x38ceb1=_0x38ceb1-0x0;let _0x649d11=_0x4a7c[_0x38ceb1];return _0x649d11;};import{Plugin as _0x5e13df,icons as _0x3306f2}from'ckeditor5/src/core';import{ListView as _0x5290fa,ListItemView as _0x1ec77c,ButtonView as _0x24ed31,createDropdown as _0x3910d0}from'ckeditor5/src/ui';import _0x391d88 from'../../revisiontracker';import _0x17dcd7 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x563d13}from'../../utils/common-translations';export default class u extends _0x5e13df{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x391d88];}[_0x649d('0x18')](){const _0x57169c=this[_0x649d('0x1d')],_0x598692=_0x57169c[_0x649d('0x10')][_0x649d('0x1f')]('RevisionTracker');_0x57169c['ui'][_0x649d('0x19')][_0x649d('0x11')](_0x649d('0xc'),_0x30167c=>{const _0x302840=_0x3910d0(_0x30167c),_0x2acc5c=_0x302840[_0x649d('0x13')][_0x649d('0x15')],_0x45f6ce=new _0x5290fa(_0x30167c),_0x23ea27=new _0x1ec77c(_0x30167c),_0x3a959f=new _0x24ed31(_0x30167c),_0x10d212=new _0x1ec77c(_0x30167c),_0x279aa0=new _0x24ed31(_0x30167c),_0x5a9b5a=new _0x17dcd7(_0x30167c);function _0x2944d1(){_0x2acc5c[_0x649d('0x16')]&&_0x2acc5c[_0x649d('0xa')](0x0),_0x2acc5c[_0x649d('0x11')](_0x45f6ce);}function _0x5efc8b(){_0x302840[_0x649d('0x1b')]=!0x1,_0x57169c[_0x649d('0x5')][_0x649d('0x3')][_0x649d('0x0')]();}return _0x302840[_0x649d('0x6')](_0x649d('0x17'))['to'](_0x598692,_0x649d('0x8'),_0x598692,_0x649d('0x17'),_0x57169c,'isReadOnly',(_0x24368d,_0x1bf8fc,_0x1e57d8)=>_0x24368d&&_0x1bf8fc&&!_0x1e57d8),_0x302840['buttonView']['set']({'icon':_0x3306f2[_0x649d('0xb')],'label':_0x563d13(_0x30167c,_0x649d('0x14')),'tooltip':!0x0}),_0x3a959f[_0x649d('0x1a')]({'label':_0x563d13(_0x30167c,_0x649d('0x4')),'withText':!0x0}),_0x3a959f[_0x649d('0x6')](_0x649d('0x17'))['to'](_0x598692,_0x649d('0x8'),_0x598692,'isEnabled',_0x57169c,_0x649d('0xd'),(_0x11228c,_0x3206a4,_0x1e8ecf)=>_0x11228c&&_0x3206a4&&!_0x1e8ecf),_0x3a959f['on'](_0x649d('0x1c'),()=>function(){_0x2acc5c[_0x649d('0x16')]&&_0x2acc5c[_0x649d('0xa')](0x0),(_0x5a9b5a[_0x649d('0x1')](),_0x2acc5c[_0x649d('0x11')](_0x5a9b5a),_0x5a9b5a[_0x649d('0x0')]());}()),_0x279aa0[_0x649d('0x1a')]({'label':_0x563d13(_0x30167c,_0x649d('0x9')),'withText':!0x0}),_0x279aa0[_0x649d('0x6')](_0x649d('0x17'))['to'](_0x598692,_0x649d('0x8'),_0x57169c,_0x649d('0xd'),(_0x1d8de1,_0x3cd30d)=>_0x1d8de1&&!_0x3cd30d),_0x279aa0['on'](_0x649d('0x1c'),()=>{_0x57169c[_0x649d('0xf')][_0x649d('0x1f')]('revisionHistory')[_0x649d('0xe')](),_0x5efc8b();}),_0x23ea27['children'][_0x649d('0x11')](_0x3a959f),_0x10d212[_0x649d('0x15')]['add'](_0x279aa0),_0x45f6ce[_0x649d('0x20')]['addMany']([_0x23ea27,_0x10d212]),_0x302840['on'](_0x649d('0x12'),()=>_0x2944d1()),_0x5a9b5a[_0x649d('0x21')][_0x649d('0x6')](_0x649d('0x17'))['to'](_0x598692,_0x649d('0x8'),_0x598692,'isEnabled',_0x57169c,'isReadOnly',(_0x370472,_0x463c8e,_0x18c8a1)=>_0x370472&&_0x463c8e&&!_0x18c8a1),_0x5a9b5a['on'](_0x649d('0x22'),()=>(_0x57169c[_0x649d('0x10')][_0x649d('0x1f')](_0x391d88)['saveRevision']({'name':_0x5a9b5a[_0x649d('0x7')]}),void _0x5efc8b())),_0x5a9b5a['on'](_0x649d('0x2'),()=>_0x2944d1()),_0x5a9b5a[_0x649d('0x1e')](),_0x2944d1(),_0x302840;});}}
23
+ const _0x5429=['set','change:isOpen','RevisionTracker','showRevisionViewerCallback','cancel','Save\x20current\x20revision','isOpen','pluginName','RevisionHistoryUI','Revision\x20history','get','saveRevision','config','isEnabled','focus','plugins','addMany','items','isReadOnly','saveButtonView','isReady','editor','Open\x20revision\x20history','remove','execute','length','componentFactory','bind','editing','add','revisionHistory','render','history'];(function(_0x384dbb,_0x54297f){const _0x14388e=function(_0x315d93){while(--_0x315d93){_0x384dbb['push'](_0x384dbb['shift']());}};_0x14388e(++_0x54297f);}(_0x5429,0x150));const _0x1438=function(_0x384dbb,_0x54297f){_0x384dbb=_0x384dbb-0x0;let _0x14388e=_0x5429[_0x384dbb];return _0x14388e;};import{Plugin as _0x4662d1,icons as _0x592961}from'ckeditor5/src/core.js';import{ListView as _0xd60e25,ListItemView as _0x482863,ButtonView as _0x481740,createDropdown as _0x57098b}from'ckeditor5/src/ui.js';import _0x57aaa6 from'../../revisiontracker.js';import _0x289ad from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x13cd3b}from'../../utils/common-translations.js';export default class u extends _0x4662d1{static get[_0x1438('0x1')](){return _0x1438('0x2');}static get['requires'](){return[_0x57aaa6];}['init'](){const _0x3199f9=this[_0x1438('0xf')],_0x4890ac=_0x3199f9[_0x1438('0x9')][_0x1438('0x4')](_0x1438('0x1d'));_0x3199f9['ui'][_0x1438('0x14')][_0x1438('0x17')]('revisionHistory',_0x1c524c=>{const _0x54b842=_0x57098b(_0x1c524c),_0x4e6c08=_0x54b842['panelView']['children'],_0x376cfd=new _0xd60e25(_0x1c524c),_0x2327eb=new _0x482863(_0x1c524c),_0x53a212=new _0x481740(_0x1c524c),_0x52a978=new _0x482863(_0x1c524c),_0x2fd735=new _0x481740(_0x1c524c),_0x541a95=new _0x289ad(_0x1c524c);function _0x5e052d(){_0x4e6c08[_0x1438('0x13')]&&_0x4e6c08[_0x1438('0x11')](0x0),_0x4e6c08['add'](_0x376cfd);}function _0x224f7c(){_0x54b842[_0x1438('0x0')]=!0x1,_0x3199f9[_0x1438('0x16')]['view'][_0x1438('0x8')]();}return _0x54b842[_0x1438('0x15')](_0x1438('0x7'))['to'](_0x4890ac,_0x1438('0xe'),_0x4890ac,_0x1438('0x7'),_0x3199f9,_0x1438('0xc'),(_0x47516c,_0x2ba75a,_0x5e5efe)=>_0x47516c&&_0x2ba75a&&!_0x5e5efe),_0x54b842['buttonView'][_0x1438('0x1b')]({'icon':_0x592961[_0x1438('0x1a')],'label':_0x13cd3b(_0x1c524c,_0x1438('0x3')),'tooltip':!0x0}),_0x53a212['set']({'label':_0x13cd3b(_0x1c524c,_0x1438('0x20')),'withText':!0x0}),_0x53a212[_0x1438('0x15')](_0x1438('0x7'))['to'](_0x4890ac,_0x1438('0xe'),_0x4890ac,'isEnabled',_0x3199f9,_0x1438('0xc'),(_0x550674,_0x2cd786,_0x11a0d8)=>_0x550674&&_0x2cd786&&!_0x11a0d8),_0x53a212['on'](_0x1438('0x12'),()=>function(){_0x4e6c08['length']&&_0x4e6c08[_0x1438('0x11')](0x0),(_0x541a95['reset'](),_0x4e6c08['add'](_0x541a95),_0x541a95['focus']());}()),_0x2fd735[_0x1438('0x1b')]({'label':_0x13cd3b(_0x1c524c,_0x1438('0x10')),'withText':!0x0}),_0x2fd735[_0x1438('0x15')](_0x1438('0x7'))['to'](_0x4890ac,_0x1438('0xe'),_0x3199f9,_0x1438('0xc'),(_0x4871bf,_0x4dd976)=>_0x4871bf&&!_0x4dd976),_0x2fd735['on'](_0x1438('0x12'),()=>{_0x3199f9[_0x1438('0x6')][_0x1438('0x4')](_0x1438('0x18'))[_0x1438('0x1e')](),_0x224f7c();}),_0x2327eb['children'][_0x1438('0x17')](_0x53a212),_0x52a978['children'][_0x1438('0x17')](_0x2fd735),_0x376cfd[_0x1438('0xb')][_0x1438('0xa')]([_0x2327eb,_0x52a978]),_0x54b842['on'](_0x1438('0x1c'),()=>_0x5e052d()),_0x541a95[_0x1438('0xd')][_0x1438('0x15')](_0x1438('0x7'))['to'](_0x4890ac,'isReady',_0x4890ac,'isEnabled',_0x3199f9,_0x1438('0xc'),(_0x5b665e,_0xe4ee63,_0x2be5be)=>_0x5b665e&&_0xe4ee63&&!_0x2be5be),_0x541a95['on']('submit',()=>(_0x3199f9['plugins']['get'](_0x57aaa6)[_0x1438('0x5')]({'name':_0x541a95['revisionName']}),void _0x224f7c())),_0x541a95['on'](_0x1438('0x1f'),()=>_0x5e052d()),_0x541a95[_0x1438('0x19')](),_0x5e052d(),_0x54b842;});}}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionsidebar/revisionsidebar
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import RevisionViewer from '../../revisionviewer';
10
- import type { default as RevisionView } from '../revision/revisionview';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import RevisionViewer from '../../revisionviewer.js';
10
+ import type { default as RevisionView } from '../revision/revisionview.js';
11
11
  /**
12
12
  * TODO
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34ab=['compareAgainstSelected','_handleEditorDataReady','ready','length','getRevisionsInDiff','Name\x20this\x20revision','map','revisionHistory.viewerSidebarContainer','_handleRevisionSelected','listenTo','editor','restoreRevisionCallback','get','requires','action','plugins','getLaterVisibleRevision','highlightRevisions','getEarlierVisibleRevision','name','_revisionsRepository','diff','data','isReady','getRevision','render','destroy','_handleRevisionSetName','bind','config','element','timePeriodViews','repository','isSelected','_createRevisionActions','_sidebarView','_revisionViewer','getIndex','nameRevision','pluginName','isVisible','Restore\x20this\x20revision','assign','compare','add','init','defaultRevisionActions','_handleDiffChange','availableRevisionActions','revisionSetName','_revisions','isEnabled','revisionHistory'];(function(_0x3cd0b9,_0x34ab38){const _0xcd11d0=function(_0x5163f6){while(--_0x5163f6){_0x3cd0b9['push'](_0x3cd0b9['shift']());}};_0xcd11d0(++_0x34ab38);}(_0x34ab,0x163));const _0xcd11=function(_0x3cd0b9,_0x34ab38){_0x3cd0b9=_0x3cd0b9-0x0;let _0xcd11d0=_0x34ab[_0x3cd0b9];return _0xcd11d0;};import{Plugin as _0x27ecd2}from'ckeditor5/src/core';import _0x5b955f from'./revisionssidebarview';import _0x49a3e7 from'../../revisionviewer';export default class w extends _0x27ecd2{static get[_0xcd11('0x2')](){return'RevisionsSidebar';}static get[_0xcd11('0x1d')](){return[_0x49a3e7];}constructor(_0x2f33ab){super(_0x2f33ab),this[_0xcd11('0x34')]=_0x2f33ab[_0xcd11('0x1f')][_0xcd11('0x1c')](_0x49a3e7),this[_0xcd11('0x24')]=this[_0xcd11('0x34')]['repository'],this['_sidebarView']=null;}[_0xcd11('0x8')](){const _0x29568e=this[_0xcd11('0x24')][_0xcd11('0xd')],_0x24f2be=this[_0xcd11('0x32')](),_0x206bc3=this['editor']['config']['get'](_0xcd11('0x17'));this['_sidebarView']=new _0x5b955f(this[_0xcd11('0x1a')]['locale'],_0x29568e,_0x24f2be),this[_0xcd11('0x33')]['on']('revisionSelected',this['_handleRevisionSelected'][_0xcd11('0x2c')](this)),this['_sidebarView']['on'](_0xcd11('0xc'),this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind'](_0xcd11('0xe'))['to'](this['_revisionViewer']),this[_0xcd11('0x33')][_0xcd11('0x2f')]['on']('add',(_0x546988,_0x45edfc)=>{_0x45edfc['revisionViews']['on'](_0xcd11('0x7'),(_0x40da78,_0x3f8a01)=>{_0x3f8a01[_0xcd11('0x2c')]('isEnabled',_0xcd11('0x27'))['to'](this[_0xcd11('0x34')]);});}),this[_0xcd11('0x33')][_0xcd11('0x29')](),this[_0xcd11('0x19')](this[_0xcd11('0x1a')][_0xcd11('0x26')],_0xcd11('0x12'),this[_0xcd11('0x11')][_0xcd11('0x2c')](this)),this[_0xcd11('0x19')](this['_revisionViewer'],'change:diff',this[_0xcd11('0xa')]['bind'](this)),_0x206bc3['appendChild'](this[_0xcd11('0x33')]['element']);}[_0xcd11('0x2a')](){this[_0xcd11('0x33')][_0xcd11('0x2e')]['remove'](),this[_0xcd11('0x33')][_0xcd11('0x2a')]();}['_handleEditorDataReady'](){const _0x18113d=this[_0xcd11('0x24')][_0xcd11('0x28')](0x0);if(_0x18113d){const _0x5cd10a=this[_0xcd11('0x24')][_0xcd11('0x22')](_0x18113d['id']);this[_0xcd11('0x34')][_0xcd11('0x6')](_0x18113d,_0x5cd10a);}}[_0xcd11('0x18')](_0x295bbd,_0x258e2e){const _0x20fc15=this['_revisionsRepository'][_0xcd11('0x28')](_0x258e2e['id']),_0xba0aaf=this[_0xcd11('0x24')][_0xcd11('0x22')](_0x20fc15['id']);this['_revisionViewer'][_0xcd11('0x6')](_0x20fc15,_0xba0aaf);}[_0xcd11('0x2b')](_0x2f7ef6,_0x5095a4){this['_revisionsRepository']['getRevision'](_0x5095a4['id'])['setName'](_0x5095a4[_0xcd11('0x23')]);}[_0xcd11('0xa')](_0x2e9001,_0x532098,_0x2e6dc6){const _0x5ed797=this['_revisionsRepository'][_0xcd11('0x14')](_0x2e6dc6);_0x5ed797[_0xcd11('0x13')]>0x2?(this[_0xcd11('0x33')][_0xcd11('0x21')](_0x5ed797),this[_0xcd11('0x33')]['selectRevision'](null)):(this[_0xcd11('0x33')][_0xcd11('0x21')]([]),this[_0xcd11('0x33')]['selectRevision'](_0x5ed797[0x0]));}[_0xcd11('0x32')](){const _0x1e8054=this[_0xcd11('0x1a')],_0x3edd66=w[_0xcd11('0xb')],_0x5f4b2d=_0x1e8054[_0xcd11('0x2d')]['get']('revisionHistory.revisionActions')||w[_0xcd11('0x9')];if(_0x5f4b2d[_0xcd11('0x13')])return _0x5f4b2d[_0xcd11('0x16')](_0x1e9cb6=>{const _0x581059='string'==typeof _0x1e9cb6?Object[_0xcd11('0x5')]({},_0x3edd66[_0x1e9cb6]):_0x1e9cb6;return _0x581059[_0xcd11('0x1e')]=_0x581059[_0xcd11('0x1e')][_0xcd11('0x2c')](this,_0x1e8054),_0x581059[_0xcd11('0x3')]&&(_0x581059[_0xcd11('0x3')]=_0x581059[_0xcd11('0x3')][_0xcd11('0x2c')](this,_0x1e8054)),_0x581059;});}}w[_0xcd11('0xb')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x15cf76},_0x7a2143)=>{const _0x4e1341=_0x15cf76[_0xcd11('0x1c')](_0x49a3e7),_0x456a16=_0x4e1341[_0xcd11('0x30')];let _0x4b3c79=_0x4e1341[_0xcd11('0x25')]['newRevisionId'],_0x3a6008=_0x7a2143['id'];_0x456a16[_0xcd11('0x0')](_0x4b3c79)>_0x456a16[_0xcd11('0x0')](_0x3a6008)&&([_0x4b3c79,_0x3a6008]=[_0x3a6008,_0x4b3c79]),_0x4e1341[_0xcd11('0x6')](_0x4b3c79,_0x3a6008);},'isVisible':({plugins:_0x528d92},_0x1a0edc)=>{const _0x25e0f3=_0x528d92['get'](_0x49a3e7);return!(_0x25e0f3[_0xcd11('0x30')][_0xcd11('0x14')](_0x25e0f3[_0xcd11('0x25')])[_0xcd11('0x13')]>0x2)&&!_0x1a0edc[_0xcd11('0x31')];}},'restoreRevision':{'name':_0xcd11('0x4'),'action':(_0x48389a,{id:_0x433b20})=>{_0x48389a[_0xcd11('0x2d')]['get'](_0xcd11('0xf'))[_0xcd11('0x1b')](_0x433b20);},'isVisible':({plugins:_0x12f053},_0x4b5fdf)=>!!_0x12f053[_0xcd11('0x1c')](_0x49a3e7)[_0xcd11('0x30')][_0xcd11('0x20')](_0x4b5fdf['id'])},'nameRevision':{'name':_0xcd11('0x15'),'action':({plugins:_0x352e6c},{id:_0x2b977f,revisionNameView:_0x40fe8b})=>{const _0x3acb98=_0x352e6c[_0xcd11('0x1c')](_0x49a3e7),_0x5d310a=_0x3acb98[_0xcd11('0x30')][_0xcd11('0x22')](_0x2b977f);_0x3acb98[_0xcd11('0x6')](_0x2b977f,_0x5d310a),_0x40fe8b['focus'](),_0x40fe8b['fieldView']['select']();}}},w[_0xcd11('0x9')]=[_0xcd11('0x10'),'restoreRevision',_0xcd11('0x1')];
23
+ const _0x4ed4=['availableRevisionActions','_createRevisionActions','isEnabled','locale','_handleEditorDataReady','repository','isSelected','ready','pluginName','config','revisionHistory.revisionActions','compareAgainstSelected','isVisible','render','requires','get','_sidebarView','listenTo','data','editor','_handleRevisionSelected','add','plugins','getRevision','compare','setName','_revisionsRepository','_revisions','selectRevision','getEarlierVisibleRevision','diff','revisionViews','revisionHistory','timePeriodViews','bind','highlightRevisions','revisionHistory.viewerSidebarContainer','_handleRevisionSetName','destroy','getLaterVisibleRevision','select','defaultRevisionActions','_revisionViewer','focus','change:diff','Name\x20this\x20revision','name','length','Compare\x20against\x20selected','RevisionsSidebar','restoreRevisionCallback','map','action','revisionSetName','appendChild','_handleDiffChange','getIndex','revisionSelected','remove','fieldView','getRevisionsInDiff','newRevisionId','string'];(function(_0x566fe1,_0x4ed406){const _0x254512=function(_0x5a57c6){while(--_0x5a57c6){_0x566fe1['push'](_0x566fe1['shift']());}};_0x254512(++_0x4ed406);}(_0x4ed4,0x7a));const _0x2545=function(_0x566fe1,_0x4ed406){_0x566fe1=_0x566fe1-0x0;let _0x254512=_0x4ed4[_0x566fe1];return _0x254512;};import{Plugin as _0x4bec7e}from'ckeditor5/src/core.js';import _0x8d186b from'./revisionssidebarview.js';import _0x506576 from'../../revisionviewer.js';export default class w extends _0x4bec7e{static get[_0x2545('0xc')](){return _0x2545('0x35');}static get[_0x2545('0x12')](){return[_0x506576];}constructor(_0x4fa52a){super(_0x4fa52a),this[_0x2545('0x2e')]=_0x4fa52a[_0x2545('0x1a')][_0x2545('0x13')](_0x506576),this['_revisionsRepository']=this[_0x2545('0x2e')][_0x2545('0x9')],this[_0x2545('0x14')]=null;}['init'](){const _0x2f6b42=this[_0x2545('0x1e')][_0x2545('0x1f')],_0x4decab=this[_0x2545('0x5')](),_0x160643=this[_0x2545('0x17')][_0x2545('0xd')][_0x2545('0x13')](_0x2545('0x28'));this['_sidebarView']=new _0x8d186b(this[_0x2545('0x17')][_0x2545('0x7')],_0x2f6b42,_0x4decab),this[_0x2545('0x14')]['on'](_0x2545('0x3d'),this[_0x2545('0x18')]['bind'](this)),this['_sidebarView']['on'](_0x2545('0x39'),this[_0x2545('0x29')][_0x2545('0x26')](this)),this['_sidebarView'][_0x2545('0x26')]('isEnabled')['to'](this['_revisionViewer']),this[_0x2545('0x14')][_0x2545('0x25')]['on']('add',(_0x445a30,_0x29edb3)=>{_0x29edb3[_0x2545('0x23')]['on'](_0x2545('0x19'),(_0x534422,_0x533e13)=>{_0x533e13[_0x2545('0x26')](_0x2545('0x6'),'isReady')['to'](this['_revisionViewer']);});}),this[_0x2545('0x14')][_0x2545('0x11')](),this[_0x2545('0x15')](this[_0x2545('0x17')][_0x2545('0x16')],_0x2545('0xb'),this[_0x2545('0x8')]['bind'](this)),this['listenTo'](this[_0x2545('0x2e')],_0x2545('0x30'),this[_0x2545('0x3b')][_0x2545('0x26')](this)),_0x160643[_0x2545('0x3a')](this[_0x2545('0x14')]['element']);}[_0x2545('0x2a')](){this[_0x2545('0x14')]['element'][_0x2545('0x3e')](),this['_sidebarView']['destroy']();}[_0x2545('0x8')](){const _0xba302c=this[_0x2545('0x1e')]['getRevision'](0x0);if(_0xba302c){const _0x227d07=this[_0x2545('0x1e')]['getEarlierVisibleRevision'](_0xba302c['id']);this[_0x2545('0x2e')]['compare'](_0xba302c,_0x227d07);}}[_0x2545('0x18')](_0x1b4db3,_0xbecfd4){const _0x710dd0=this['_revisionsRepository'][_0x2545('0x1b')](_0xbecfd4['id']),_0x104c3f=this[_0x2545('0x1e')][_0x2545('0x21')](_0x710dd0['id']);this[_0x2545('0x2e')][_0x2545('0x1c')](_0x710dd0,_0x104c3f);}[_0x2545('0x29')](_0x5ca73d,_0x172a5b){this['_revisionsRepository'][_0x2545('0x1b')](_0x172a5b['id'])[_0x2545('0x1d')](_0x172a5b[_0x2545('0x32')]);}['_handleDiffChange'](_0x49dffd,_0x1788dc,_0x2b467e){const _0x5eeb9c=this['_revisionsRepository'][_0x2545('0x1')](_0x2b467e);_0x5eeb9c[_0x2545('0x33')]>0x2?(this[_0x2545('0x14')][_0x2545('0x27')](_0x5eeb9c),this[_0x2545('0x14')][_0x2545('0x20')](null)):(this[_0x2545('0x14')][_0x2545('0x27')]([]),this['_sidebarView']['selectRevision'](_0x5eeb9c[0x0]));}[_0x2545('0x5')](){const _0x1469cb=this[_0x2545('0x17')],_0x2df44f=w[_0x2545('0x4')],_0x4b275d=_0x1469cb[_0x2545('0xd')][_0x2545('0x13')](_0x2545('0xe'))||w[_0x2545('0x2d')];if(_0x4b275d[_0x2545('0x33')])return _0x4b275d[_0x2545('0x37')](_0x27edaf=>{const _0x3c1b3b=_0x2545('0x3')==typeof _0x27edaf?Object['assign']({},_0x2df44f[_0x27edaf]):_0x27edaf;return _0x3c1b3b[_0x2545('0x38')]=_0x3c1b3b['action']['bind'](this,_0x1469cb),_0x3c1b3b[_0x2545('0x10')]&&(_0x3c1b3b[_0x2545('0x10')]=_0x3c1b3b[_0x2545('0x10')][_0x2545('0x26')](this,_0x1469cb)),_0x3c1b3b;});}}w[_0x2545('0x4')]={'compareAgainstSelected':{'name':_0x2545('0x34'),'action':({plugins:_0x2ab9d2},_0x5b1a5e)=>{const _0x1515f1=_0x2ab9d2[_0x2545('0x13')](_0x506576),_0x110da5=_0x1515f1[_0x2545('0x9')];let _0x199bf8=_0x1515f1['diff'][_0x2545('0x2')],_0x4e66fd=_0x5b1a5e['id'];_0x110da5[_0x2545('0x3c')](_0x199bf8)>_0x110da5[_0x2545('0x3c')](_0x4e66fd)&&([_0x199bf8,_0x4e66fd]=[_0x4e66fd,_0x199bf8]),_0x1515f1[_0x2545('0x1c')](_0x199bf8,_0x4e66fd);},'isVisible':({plugins:_0x265665},_0x1bc8d5)=>{const _0x4e9dca=_0x265665['get'](_0x506576);return!(_0x4e9dca['repository'][_0x2545('0x1')](_0x4e9dca[_0x2545('0x22')])['length']>0x2)&&!_0x1bc8d5[_0x2545('0xa')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x331714,{id:_0x2f5fa5})=>{_0x331714['config'][_0x2545('0x13')](_0x2545('0x24'))[_0x2545('0x36')](_0x2f5fa5);},'isVisible':({plugins:_0x1e9112},_0x513188)=>!!_0x1e9112['get'](_0x506576)[_0x2545('0x9')][_0x2545('0x2b')](_0x513188['id'])},'nameRevision':{'name':_0x2545('0x31'),'action':({plugins:_0x569b51},{id:_0x468d7c,revisionNameView:_0xead0c6})=>{const _0x3c943c=_0x569b51['get'](_0x506576),_0x366215=_0x3c943c[_0x2545('0x9')]['getEarlierVisibleRevision'](_0x468d7c);_0x3c943c[_0x2545('0x1c')](_0x468d7c,_0x366215),_0xead0c6[_0x2545('0x2f')](),_0xead0c6[_0x2545('0x0')][_0x2545('0x2c')]();}}},w[_0x2545('0x2d')]=[_0x2545('0xf'),'restoreRevision','nameRevision'];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import '../../../theme/revisionssidebar/revisionssidebarheader.css';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ff9=['ck-revision-history-sidebar__header__label','Revision\x20history','ck-reset_all','span','history','setTemplate','div','content'];(function(_0x341c39,_0x3ff90d){const _0xa22ccb=function(_0x39fb63){while(--_0x39fb63){_0x341c39['push'](_0x341c39['shift']());}};_0xa22ccb(++_0x3ff90d);}(_0x3ff9,0x13f));const _0xa22c=function(_0x341c39,_0x3ff90d){_0x341c39=_0x341c39-0x0;let _0xa22ccb=_0x3ff9[_0x341c39];return _0xa22ccb;};import{View as _0x2aa78d,IconView as _0x413a4c}from'ckeditor5/src/ui';import{getTranslation as _0x2effae}from'../../utils/common-translations';import{icons as _0x268658}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x2aa78d{constructor(_0x5dcb37){super(_0x5dcb37);const _0x29bc0c=new _0x413a4c();_0x29bc0c[_0xa22c('0x0')]=_0x268658[_0xa22c('0x5')],this[_0xa22c('0x6')]({'tag':_0xa22c('0x7'),'attributes':{'class':['ck',_0xa22c('0x3'),'ck-revision-history-sidebar__header']},'children':[_0x29bc0c,{'tag':_0xa22c('0x4'),'attributes':{'class':['ck',_0xa22c('0x1')]},'children':[_0x2effae(_0x5dcb37,_0xa22c('0x2'))]}]});}}
23
+ const _0x550d=['span','content','ck-reset_all','setTemplate','history','ck-revision-history-sidebar__header','div','Revision\x20history'];(function(_0x59cd84,_0x550d4f){const _0x59014e=function(_0x40e617){while(--_0x40e617){_0x59cd84['push'](_0x59cd84['shift']());}};_0x59014e(++_0x550d4f);}(_0x550d,0x1dd));const _0x5901=function(_0x59cd84,_0x550d4f){_0x59cd84=_0x59cd84-0x0;let _0x59014e=_0x550d[_0x59cd84];return _0x59014e;};import{View as _0x2af064,IconView as _0x19f495}from'ckeditor5/src/ui.js';import{getTranslation as _0x52c574}from'../../utils/common-translations.js';import{icons as _0x925b3e}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x2af064{constructor(_0x3d14fa){super(_0x3d14fa);const _0x678172=new _0x19f495();_0x678172[_0x5901('0x4')]=_0x925b3e[_0x5901('0x7')],this[_0x5901('0x6')]({'tag':_0x5901('0x1'),'attributes':{'class':['ck',_0x5901('0x5'),_0x5901('0x0')]},'children':[_0x678172,{'tag':_0x5901('0x3'),'attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x52c574(_0x3d14fa,_0x5901('0x2'))]}]});}}
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionsidebar/revisionsidebartimeperiodview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
10
- import RevisionView from '../revision/revisionview';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
+ import RevisionView from '../revision/revisionview.js';
11
11
  import '../../../theme/revisionssidebar/revisionssidebartimeperiod.css';
12
- import type { RevisionAction } from './revisionssidebar';
13
- import type Revision from '../../revision';
12
+ import type { RevisionAction } from './revisionssidebar.js';
13
+ import type Revision from '../../revision.js';
14
14
  /**
15
15
  * TODO
16
16
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aea=['delegate','select','_revisionActions','addRevision','removeRevision','remove','setName','locale','add','revisionViews','span','ck-revision-history-sidebar__time-period__revisions','find','createCollection','ck-revision-history-sidebar__time-period__label','div','localizedPeriodName','setTemplate'];(function(_0x616aa0,_0x4aea35){const _0x1e2966=function(_0x594bcb){while(--_0x594bcb){_0x616aa0['push'](_0x616aa0['shift']());}};_0x1e2966(++_0x4aea35);}(_0x4aea,0x7d));const _0x1e29=function(_0x616aa0,_0x4aea35){_0x616aa0=_0x616aa0-0x0;let _0x1e2966=_0x4aea[_0x616aa0];return _0x1e2966;};import{View as _0x5e1f04}from'ckeditor5/src/ui';import _0x71ff72 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x379398}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x5e1f04{constructor(_0x3d48bc,_0x3dd204,_0x31865b){super(_0x3d48bc);const _0x35d251=_0x379398(_0x3dd204,this['locale']['uiLanguage'])[_0x1e29('0x11')];this['startDate']=_0x3dd204,this[_0x1e29('0xa')]=this[_0x1e29('0xe')](),this[_0x1e29('0x3')]=_0x31865b,this[_0x1e29('0xa')]['delegate'](_0x1e29('0x2'))['to'](this),this[_0x1e29('0xa')][_0x1e29('0x1')](_0x1e29('0x7'))['to'](this),this[_0x1e29('0x0')]({'tag':_0x1e29('0x10'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x1e29('0xb'),'attributes':{'class':['ck',_0x1e29('0xf')]},'children':[{'text':_0x35d251}]},{'tag':_0x1e29('0x10'),'attributes':{'class':['ck',_0x1e29('0xc')]},'children':this[_0x1e29('0xa')]}]});}[_0x1e29('0x4')](_0x573b2e){const _0x8beeb9=new _0x71ff72(this[_0x1e29('0x8')],_0x573b2e,this[_0x1e29('0x3')]);this['revisionViews'][_0x1e29('0x9')](_0x8beeb9);}[_0x1e29('0x5')](_0x5e0196){const _0x2d93c1=this['revisionViews'][_0x1e29('0xd')](_0x2362a8=>_0x2362a8['id']===_0x5e0196['id']);this['revisionViews'][_0x1e29('0x6')](_0x2d93c1);}}
23
+ const _0x5f1f=['ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period','revisionViews','ck-revision-history-sidebar__time-period__label','createCollection','locale','remove','startDate','uiLanguage','_revisionActions','select','delegate','setTemplate','addRevision','removeRevision','div','add','span','find'];(function(_0x54a72a,_0x5f1f63){const _0x54cfb2=function(_0x51f779){while(--_0x51f779){_0x54a72a['push'](_0x54a72a['shift']());}};_0x54cfb2(++_0x5f1f63);}(_0x5f1f,0x1c7));const _0x54cf=function(_0x54a72a,_0x5f1f63){_0x54a72a=_0x54a72a-0x0;let _0x54cfb2=_0x5f1f[_0x54a72a];return _0x54cfb2;};import{View as _0x109b92}from'ckeditor5/src/ui.js';import _0x275066 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2d867c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x109b92{constructor(_0x2ef736,_0x3c53e9,_0x5b3172){super(_0x2ef736);const _0x26da56=_0x2d867c(_0x3c53e9,this[_0x54cf('0x6')][_0x54cf('0x9')])['localizedPeriodName'];this[_0x54cf('0x8')]=_0x3c53e9,this['revisionViews']=this[_0x54cf('0x5')](),this[_0x54cf('0xa')]=_0x5b3172,this['revisionViews'][_0x54cf('0xc')](_0x54cf('0xb'))['to'](this),this[_0x54cf('0x3')][_0x54cf('0xc')]('setName')['to'](this),this[_0x54cf('0xd')]({'tag':'div','attributes':{'class':['ck',_0x54cf('0x2')]},'children':[{'tag':_0x54cf('0x12'),'attributes':{'class':['ck',_0x54cf('0x4')]},'children':[{'text':_0x26da56}]},{'tag':_0x54cf('0x10'),'attributes':{'class':['ck',_0x54cf('0x1')]},'children':this[_0x54cf('0x3')]}]});}[_0x54cf('0xe')](_0x200a33){const _0x2e80f9=new _0x275066(this[_0x54cf('0x6')],_0x200a33,this[_0x54cf('0xa')]);this[_0x54cf('0x3')][_0x54cf('0x11')](_0x2e80f9);}[_0x54cf('0xf')](_0x572c8c){const _0x54b488=this[_0x54cf('0x3')][_0x54cf('0x0')](_0x49a8dc=>_0x49a8dc['id']===_0x572c8c['id']);this[_0x54cf('0x3')][_0x54cf('0x7')](_0x54b488);}}
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionsidebar/revisionsidebarview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import type { Locale, Collection } from 'ckeditor5/src/utils';
10
- import RevisionsSidebarTimePeriodView from './revisionssidebartimeperiodview';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import type { Locale, Collection } from 'ckeditor5/src/utils.js';
10
+ import RevisionsSidebarTimePeriodView from './revisionssidebartimeperiodview.js';
11
11
  import '../../../theme/revisionssidebar/revisionssidebar.css';
12
- import type { default as RevisionView } from '../revision/revisionview';
13
- import type { RevisionAction } from './revisionssidebar';
14
- import type Revision from '../../revision';
12
+ import type { default as RevisionView } from '../revision/revisionview.js';
13
+ import type { RevisionAction } from './revisionssidebar.js';
14
+ import type Revision from '../../revision.js';
15
15
  /**
16
16
  * TODO
17
17
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3814=['unhighlight','fire','ck-rounded-corners','select','highlightRevisions','_revisions','_addRevision','_removeRevision','some','ck-disabled','uiLanguage','highlight','bindTemplate','ck-revision-history-sidebar','timePeriodViews','selectRevision','render','map','setName','ck-reset','delegate','startDate','add','locale','createdAt','remove','revisionViews','revisionSelected','ck-revision-history-sidebar__timeline','div','find','getTime','removeRevision','flat','deselect','_revisionActions','isEnabled','revisionSetName','_getTimePeriodViewByStartDate','get'];(function(_0x2a8548,_0x381482){const _0x34a2b0=function(_0x171c35){while(--_0x171c35){_0x2a8548['push'](_0x2a8548['shift']());}};_0x34a2b0(++_0x381482);}(_0x3814,0x116));const _0x34a2=function(_0x2a8548,_0x381482){_0x2a8548=_0x2a8548-0x0;let _0x34a2b0=_0x3814[_0x2a8548];return _0x34a2b0;};import{View as _0x1302dd}from'ckeditor5/src/ui';import _0x1d8532 from'./revisionssidebartimeperiodview';import _0x2ada08 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x65e9b0}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1302dd{constructor(_0x3d6472,_0x4ad00f,_0x3f9119){super(_0x3d6472);const _0xc4ec16=this[_0x34a2('0xe')];this[_0x34a2('0x10')]=this['createCollection'](),this['timePeriodViews'][_0x34a2('0x16')](_0x34a2('0x5'))['to'](this),this['timePeriodViews'][_0x34a2('0x16')](_0x34a2('0x14'))['to'](this),this['_revisions']=_0x4ad00f,this[_0x34a2('0x25')]=_0x3f9119,this['on'](_0x34a2('0x5'),(_0x95ee42,_0x3a56ad)=>{this[_0x34a2('0x3')](_0x34a2('0x1d'),_0x3a56ad);}),this['on'](_0x34a2('0x14'),(_0x41d79c,_0x341ee1)=>{this['fire'](_0x34a2('0x27'),_0x341ee1);}),this['set'](_0x34a2('0x26'),!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x34a2('0x15'),_0x34a2('0x4'),_0x34a2('0xf')]},'children':[new _0x2ada08(_0x3d6472),{'tag':_0x34a2('0x1f'),'attributes':{'class':['ck',_0x34a2('0x1e'),_0xc4ec16['if'](_0x34a2('0x26'),_0x34a2('0xb'),_0x3dd8b3=>!_0x3dd8b3)]},'children':this[_0x34a2('0x10')]}]});}[_0x34a2('0x12')](){super['render']();for(const _0x466167 of this['_revisions'])this['_addRevision'](_0x466167);this[_0x34a2('0x7')]['on'](_0x34a2('0x18'),(_0x51bc8b,_0x357c12)=>{this[_0x34a2('0x8')](_0x357c12);}),this[_0x34a2('0x7')]['on'](_0x34a2('0x1b'),(_0x3137c1,_0x5807aa)=>{this[_0x34a2('0x9')](_0x5807aa);});}get[_0x34a2('0x1c')](){return this[_0x34a2('0x10')][_0x34a2('0x13')](_0x47c97e=>_0x47c97e[_0x34a2('0x1c')][_0x34a2('0x13')](_0x12440d=>_0x12440d))[_0x34a2('0x23')]();}[_0x34a2('0x11')](_0x3a130c){for(const _0x30fc52 of this[_0x34a2('0x1c')])_0x3a130c&&_0x3a130c['id']===_0x30fc52['id']?_0x30fc52['select']():_0x30fc52[_0x34a2('0x24')]();}[_0x34a2('0x6')](_0x3cdbda){for(const _0xf37a91 of this[_0x34a2('0x1c')])_0x3cdbda[_0x34a2('0xa')](({id:_0x491b1f})=>_0x491b1f===_0xf37a91['id'])?_0xf37a91[_0x34a2('0xd')]():_0xf37a91[_0x34a2('0x2')]();}[_0x34a2('0x8')](_0x3615e2){const _0x2939a5=_0x65e9b0(_0x3615e2['createdAt'],this[_0x34a2('0x19')]['uiLanguage'])[_0x34a2('0x17')];let _0x66d98=this['timePeriodViews'][_0x34a2('0x1')](0x0);_0x66d98&&_0x66d98[_0x34a2('0x17')][_0x34a2('0x21')]()===_0x2939a5[_0x34a2('0x21')]()||(_0x66d98=new _0x1d8532(this[_0x34a2('0x19')],_0x2939a5,this['_revisionActions']),this[_0x34a2('0x10')]['add'](_0x66d98)),_0x66d98['addRevision'](_0x3615e2);}['_removeRevision'](_0xcb1765){const _0x511346=_0x65e9b0(_0xcb1765[_0x34a2('0x1a')],this['locale'][_0x34a2('0xc')])['startDate'];this[_0x34a2('0x0')](_0x511346)[_0x34a2('0x22')](_0xcb1765);}[_0x34a2('0x0')](_0x2afeef){return this[_0x34a2('0x10')][_0x34a2('0x20')](_0x2f8293=>_0x2f8293[_0x34a2('0x17')]['getTime']()===_0x2afeef['getTime']());}}
23
+ const _0x1f71=['render','_revisions','isEnabled','flat','some','ck-reset','getTime','_addRevision','ck-rounded-corners','timePeriodViews','add','fire','createCollection','revisionViews','removeRevision','_getTimePeriodViewByStartDate','get','ck-revision-history-sidebar','delegate','remove','selectRevision','setName','ck-revision-history-sidebar__timeline','uiLanguage','map','createdAt','setTemplate','bindTemplate','highlight','select','_revisionActions','ck-disabled','unhighlight','div','startDate','locale','revisionSetName'];(function(_0x8b77d9,_0x1f7109){const _0x8bad8e=function(_0x9a8f6b){while(--_0x9a8f6b){_0x8b77d9['push'](_0x8b77d9['shift']());}};_0x8bad8e(++_0x1f7109);}(_0x1f71,0x88));const _0x8bad=function(_0x8b77d9,_0x1f7109){_0x8b77d9=_0x8b77d9-0x0;let _0x8bad8e=_0x1f71[_0x8b77d9];return _0x8bad8e;};import{View as _0x308ca5}from'ckeditor5/src/ui.js';import _0x5c35a7 from'./revisionssidebartimeperiodview.js';import _0x4eefcd from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x591e2d}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x308ca5{constructor(_0x4a38a9,_0x540cd4,_0x276085){super(_0x4a38a9);const _0xca5815=this[_0x8bad('0x2')];this[_0x8bad('0x15')]=this[_0x8bad('0x18')](),this[_0x8bad('0x15')][_0x8bad('0x1e')](_0x8bad('0x4'))['to'](this),this[_0x8bad('0x15')][_0x8bad('0x1e')](_0x8bad('0x21'))['to'](this),this[_0x8bad('0xd')]=_0x540cd4,this['_revisionActions']=_0x276085,this['on'](_0x8bad('0x4'),(_0x361a72,_0x2b1a82)=>{this[_0x8bad('0x17')]('revisionSelected',_0x2b1a82);}),this['on'](_0x8bad('0x21'),(_0x1a0327,_0xdb9469)=>{this['fire'](_0x8bad('0xb'),_0xdb9469);}),this['set'](_0x8bad('0xe'),!0x1),this[_0x8bad('0x1')]({'tag':_0x8bad('0x8'),'attributes':{'class':['ck',_0x8bad('0x11'),_0x8bad('0x14'),_0x8bad('0x1d')]},'children':[new _0x4eefcd(_0x4a38a9),{'tag':_0x8bad('0x8'),'attributes':{'class':['ck',_0x8bad('0x22'),_0xca5815['if'](_0x8bad('0xe'),_0x8bad('0x6'),_0x21a6a3=>!_0x21a6a3)]},'children':this[_0x8bad('0x15')]}]});}[_0x8bad('0xc')](){super['render']();for(const _0x5ab06b of this[_0x8bad('0xd')])this[_0x8bad('0x13')](_0x5ab06b);this['_revisions']['on'](_0x8bad('0x16'),(_0x2999b5,_0x4b081f)=>{this[_0x8bad('0x13')](_0x4b081f);}),this[_0x8bad('0xd')]['on'](_0x8bad('0x1f'),(_0x110fe1,_0x2e89e4)=>{this['_removeRevision'](_0x2e89e4);});}get[_0x8bad('0x19')](){return this['timePeriodViews'][_0x8bad('0x24')](_0x543ad9=>_0x543ad9[_0x8bad('0x19')][_0x8bad('0x24')](_0x5bca1d=>_0x5bca1d))[_0x8bad('0xf')]();}[_0x8bad('0x20')](_0xcd8705){for(const _0x3fa27a of this[_0x8bad('0x19')])_0xcd8705&&_0xcd8705['id']===_0x3fa27a['id']?_0x3fa27a[_0x8bad('0x4')]():_0x3fa27a['deselect']();}['highlightRevisions'](_0x202399){for(const _0x59406d of this[_0x8bad('0x19')])_0x202399[_0x8bad('0x10')](({id:_0x29c089})=>_0x29c089===_0x59406d['id'])?_0x59406d[_0x8bad('0x3')]():_0x59406d[_0x8bad('0x7')]();}[_0x8bad('0x13')](_0x9f9a23){const _0x5448bb=_0x591e2d(_0x9f9a23['createdAt'],this['locale'][_0x8bad('0x23')])[_0x8bad('0x9')];let _0x5c69f4=this[_0x8bad('0x15')][_0x8bad('0x1c')](0x0);_0x5c69f4&&_0x5c69f4[_0x8bad('0x9')]['getTime']()===_0x5448bb['getTime']()||(_0x5c69f4=new _0x5c35a7(this[_0x8bad('0xa')],_0x5448bb,this[_0x8bad('0x5')]),this[_0x8bad('0x15')]['add'](_0x5c69f4)),_0x5c69f4['addRevision'](_0x9f9a23);}['_removeRevision'](_0x772d66){const _0x19ac5e=_0x591e2d(_0x772d66[_0x8bad('0x0')],this[_0x8bad('0xa')][_0x8bad('0x23')])['startDate'];this[_0x8bad('0x1b')](_0x19ac5e)[_0x8bad('0x1a')](_0x772d66);}[_0x8bad('0x1b')](_0x3ce062){return this[_0x8bad('0x15')]['find'](_0x174d27=>_0x174d27[_0x8bad('0x9')][_0x8bad('0x12')]()===_0x3ce062[_0x8bad('0x12')]());}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export declare function getDateTimePeriodInfo(jsDate: Date, locale: string): DateTimePeriod;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x283d=['fromJSDate','setLocale','toRelativeCalendar','startOf','minus','week','toJSDate','hasSame','weekdayLong','year','local','day'];(function(_0xee76d7,_0x283d9e){const _0x146a4c=function(_0x3ebe75){while(--_0x3ebe75){_0xee76d7['push'](_0xee76d7['shift']());}};_0x146a4c(++_0x283d9e);}(_0x283d,0xa2));const _0x146a=function(_0xee76d7,_0x283d9e){_0xee76d7=_0xee76d7-0x0;let _0x146a4c=_0x283d[_0xee76d7];return _0x146a4c;};import{DateTime as _0x38a7b6}from'luxon';export function getDateTimePeriodInfo(_0x4764d8,_0x5619f6){const _0x39504e=_0x38a7b6[_0x146a('0x6')](_0x4764d8)[_0x146a('0x7')](_0x5619f6),_0x896eb1=_0x38a7b6[_0x146a('0x4')](),_0xe7aea7=_0x896eb1[_0x146a('0xa')]({'days':0x1})[_0x146a('0x9')]('day');let _0x4a65e5,_0x1419ee;return _0x39504e[_0x146a('0x1')](_0x896eb1,'day')?(_0x4a65e5=_0x39504e[_0x146a('0x9')]('day')[_0x146a('0x0')](),_0x1419ee=_0x39504e[_0x146a('0x8')]()):_0x39504e[_0x146a('0x1')](_0xe7aea7,_0x146a('0x5'))?(_0x4a65e5=_0xe7aea7[_0x146a('0x0')](),_0x1419ee=_0x39504e[_0x146a('0x8')]()):_0x39504e['hasSame'](_0x896eb1,_0x146a('0xb'))?(_0x4a65e5=_0x39504e[_0x146a('0x9')](_0x146a('0xb'))['toJSDate'](),_0x1419ee=_0x39504e[_0x146a('0x2')]||''):_0x39504e['hasSame'](_0x896eb1,_0x146a('0x3'))?(_0x4a65e5=_0x39504e[_0x146a('0x9')]('month')[_0x146a('0x0')](),_0x1419ee=_0x39504e['monthLong']||''):(_0x4a65e5=_0x39504e[_0x146a('0x9')](_0x146a('0x3'))['toJSDate'](),_0x1419ee=String(_0x39504e['year'])),{'startDate':_0x4a65e5,'localizedPeriodName':_0x1419ee};}
23
+ const _0x49a1=['toJSDate','local','hasSame','week','weekdayLong','year','setLocale','toRelativeCalendar','day','minus','month','startOf','monthLong'];(function(_0x3e0f4a,_0x49a13e){const _0x18f8c4=function(_0x53f266){while(--_0x53f266){_0x3e0f4a['push'](_0x3e0f4a['shift']());}};_0x18f8c4(++_0x49a13e);}(_0x49a1,0x168));const _0x18f8=function(_0x3e0f4a,_0x49a13e){_0x3e0f4a=_0x3e0f4a-0x0;let _0x18f8c4=_0x49a1[_0x3e0f4a];return _0x18f8c4;};import{DateTime as _0x43e22e}from'luxon';export function getDateTimePeriodInfo(_0x1d281f,_0x560245){const _0x1f4159=_0x43e22e['fromJSDate'](_0x1d281f)[_0x18f8('0xa')](_0x560245),_0xa00a4f=_0x43e22e[_0x18f8('0x5')](),_0x36a4b2=_0xa00a4f[_0x18f8('0x0')]({'days':0x1})['startOf']('day');let _0x53752a,_0x38528b;return _0x1f4159[_0x18f8('0x6')](_0xa00a4f,_0x18f8('0xc'))?(_0x53752a=_0x1f4159[_0x18f8('0x2')](_0x18f8('0xc'))['toJSDate'](),_0x38528b=_0x1f4159[_0x18f8('0xb')]()):_0x1f4159['hasSame'](_0x36a4b2,_0x18f8('0xc'))?(_0x53752a=_0x36a4b2[_0x18f8('0x4')](),_0x38528b=_0x1f4159[_0x18f8('0xb')]()):_0x1f4159['hasSame'](_0xa00a4f,_0x18f8('0x7'))?(_0x53752a=_0x1f4159['startOf'](_0x18f8('0x7'))[_0x18f8('0x4')](),_0x38528b=_0x1f4159[_0x18f8('0x8')]||''):_0x1f4159['hasSame'](_0xa00a4f,'year')?(_0x53752a=_0x1f4159[_0x18f8('0x2')](_0x18f8('0x1'))[_0x18f8('0x4')](),_0x38528b=_0x1f4159[_0x18f8('0x3')]||''):(_0x53752a=_0x1f4159[_0x18f8('0x2')](_0x18f8('0x9'))[_0x18f8('0x4')](),_0x38528b=String(_0x1f4159['year'])),{'startDate':_0x53752a,'localizedPeriodName':_0x38528b};}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionviewer/changedetailsview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
10
- import type ChangeItem from '../../changeitem';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
+ import type ChangeItem from '../../changeitem.js';
11
11
  export default class ChangeDetailsView extends View {
12
12
  changeId: string;
13
13
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d8e=['focus','set','data','div','bindTemplate','setTemplate','span','Suggested\x20by','name','_model','Removed\x20by','element','Added\x20by','add','changeId','type','author','isSuggestion','ck-annotation'];(function(_0x7e8534,_0x2d8e4e){const _0x4f398a=function(_0x1df273){while(--_0x1df273){_0x7e8534['push'](_0x7e8534['shift']());}};_0x4f398a(++_0x2d8e4e);}(_0x2d8e,0x85));const _0x4f39=function(_0x7e8534,_0x2d8e4e){_0x7e8534=_0x7e8534-0x0;let _0x4f398a=_0x2d8e[_0x7e8534];return _0x4f398a;};import{View as _0x21f3dd}from'ckeditor5/src/ui';import{getTranslation as _0x3145b9}from'../../utils/common-translations';export default class Z extends _0x21f3dd{constructor(_0x284e94,_0x376d79){super(_0x284e94),this[_0x4f39('0x9')]=_0x376d79,this[_0x4f39('0xe')]=_0x376d79['id'];const _0x62a062=this[_0x4f39('0x4')],_0x5e28d4=_0x3145b9(_0x284e94,_0x376d79[_0x4f39('0x2')][_0x4f39('0x11')]?_0x4f39('0x7'):_0x4f39('0xd')==_0x376d79[_0x4f39('0xf')]?_0x4f39('0xc'):_0x4f39('0xa'));this[_0x4f39('0x1')]('type',_0x376d79[_0x4f39('0xf')]),this[_0x4f39('0x5')]({'tag':_0x4f39('0x3'),'attributes':{'class':[_0x4f39('0x12'),'ck-revision-change',_0x62a062['to'](_0x4f39('0xf'),_0x29f285=>'ck-revision-change__'+_0x29f285)],'tabindex':-0x1},'children':[{'tag':_0x4f39('0x6'),'children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5e28d4}]},{'text':'\x20'+_0x376d79[_0x4f39('0x10')][_0x4f39('0x8')]}]}]});}[_0x4f39('0x0')](){this[_0x4f39('0xb')][_0x4f39('0x0')]();}}
23
+ const _0xd08d=['ck-annotation','author','span','setTemplate','name','ck-revision-change','data','Removed\x20by','focus','ck-revision-change__label','changeId','add','Added\x20by','Suggested\x20by','_model','element','type','set','bindTemplate','isSuggestion'];(function(_0x320716,_0xd08dda){const _0xc1119b=function(_0x51894d){while(--_0x51894d){_0x320716['push'](_0x320716['shift']());}};_0xc1119b(++_0xd08dda);}(_0xd08d,0x136));const _0xc111=function(_0x320716,_0xd08dda){_0x320716=_0x320716-0x0;let _0xc1119b=_0xd08d[_0x320716];return _0xc1119b;};import{View as _0x117256}from'ckeditor5/src/ui.js';import{getTranslation as _0x255613}from'../../utils/common-translations.js';export default class Z extends _0x117256{constructor(_0x3df85e,_0xe8e588){super(_0x3df85e),this[_0xc111('0x4')]=_0xe8e588,this[_0xc111('0x0')]=_0xe8e588['id'];const _0x5e6868=this[_0xc111('0x8')],_0x5e4911=_0x255613(_0x3df85e,_0xe8e588[_0xc111('0x10')][_0xc111('0x9')]?_0xc111('0x3'):_0xc111('0x1')==_0xe8e588[_0xc111('0x6')]?_0xc111('0x2'):_0xc111('0x11'));this[_0xc111('0x7')](_0xc111('0x6'),_0xe8e588[_0xc111('0x6')]),this[_0xc111('0xd')]({'tag':'div','attributes':{'class':[_0xc111('0xa'),_0xc111('0xf'),_0x5e6868['to']('type',_0x8d3968=>'ck-revision-change__'+_0x8d3968)],'tabindex':-0x1},'children':[{'tag':_0xc111('0xc'),'children':[{'tag':_0xc111('0xc'),'attributes':{'class':[_0xc111('0x13')]},'children':[{'text':_0x5e4911}]},{'text':'\x20'+_0xe8e588[_0xc111('0xb')][_0xc111('0xe')]}]}]});}['focus'](){this[_0xc111('0x5')][_0xc111('0x12')]();}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module revision-history/ui/revisionviewer/changenaviagationview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  import '../../../theme/changesnavigation.css';
11
11
  /**
12
12
  * TODO