@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
@@ -18,79 +18,79 @@ msgstr ""
18
18
 
19
19
  msgctxt "The prefix for a name of a revision created by restoring other revision."
20
20
  msgid "Restored"
21
- msgstr ""
21
+ msgstr "Відновлено"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "Порожній документ"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "Початкова редакція"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "Порівняти з вибраним"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "Назвіть цю редакцію"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "Створювач редакції"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "Автор редакції"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "Назва редакції"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "Назва редакції (необов'язково)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "Зберегти поточну редакцію"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "Відкрити історію редакцій"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "Історія редакцій"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "Запропоновано"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "Додано"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "Видалено"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "Завантаження..."
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "Без змін"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
91
- msgstr[1] ""
92
- msgstr[2] ""
93
- msgstr[3] ""
90
+ msgstr[0] "%0 зміна"
91
+ msgstr[1] "%0 зміни"
92
+ msgstr[2] "%0 змін"
93
+ msgstr[3] "%0 змін"
94
94
 
95
95
  msgctxt "Edit: (2 of 5)"
96
96
  msgid "X_OF_Y_CHANGES"
@@ -98,15 +98,15 @@ msgstr "%0 із %1"
98
98
 
99
99
  msgctxt "The label for a button that highlights previous change in revision viewer."
100
100
  msgid "Show previous change"
101
- msgstr ""
101
+ msgstr "Показати попередню зміну"
102
102
 
103
103
  msgctxt "The label for a button that highlights next change in revision viewer."
104
104
  msgid "Show next change"
105
- msgstr ""
105
+ msgstr "Показати наступну зміну"
106
106
 
107
107
  msgctxt "(Total): 5 changes"
108
108
  msgid "Total"
109
- msgstr ""
109
+ msgstr "Всього"
110
110
 
111
111
  msgctxt "(Edit): 2 of 5"
112
112
  msgid "EDIT_X_OF_Y_REVISIONS"
@@ -114,12 +114,12 @@ msgstr "Редагувати"
114
114
 
115
115
  msgctxt "The label for a button that closes revision viewer and shows editor."
116
116
  msgid "Back to editing"
117
- msgstr ""
117
+ msgstr "Назад до редагування"
118
118
 
119
119
  msgctxt "The label for a button that restores given revision."
120
120
  msgid "Restore this revision"
121
- msgstr ""
121
+ msgstr "Відновити цю редакцію"
122
122
 
123
123
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
124
124
  msgid "PENDING_ACTION_REVISION_HISTORY"
125
- msgstr ""
125
+ msgstr "Незбережена зміна в історії редакцій."
@@ -18,76 +18,76 @@ msgstr ""
18
18
 
19
19
  msgctxt "The prefix for a name of a revision created by restoring other revision."
20
20
  msgid "Restored"
21
- msgstr ""
21
+ msgstr "Được khôi phục"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "Tài liệu trống"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "Bản sửa đổi ban đầu"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "So sánh với bản sửa đổi được chọn"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "Đặt tên cho bản sửa đổi này"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "Người lưu bản sửa đổi"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "Tác giả bản sửa đổi"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "Tên bản sửa đổi"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "Tên của bản sửa đổi (không bắt buộc)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "Lưu bản sửa đổi hiện tại"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "Mở lịch sử sửa đổi"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "Lịch sử sửa đổi"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "Người đề xuất:"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "Người thêm:"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "Người xóa:"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "Đang tải..."
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "Không có nội dung thay đổi"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
90
+ msgstr[0] "%0 nội dung thay đổi"
91
91
 
92
92
  msgctxt "Edit: (2 of 5)"
93
93
  msgid "X_OF_Y_CHANGES"
@@ -95,28 +95,28 @@ msgstr "%0 đến %1"
95
95
 
96
96
  msgctxt "The label for a button that highlights previous change in revision viewer."
97
97
  msgid "Show previous change"
98
- msgstr ""
98
+ msgstr "Hiện nội dung thay đổi trước đó"
99
99
 
100
100
  msgctxt "The label for a button that highlights next change in revision viewer."
101
101
  msgid "Show next change"
102
- msgstr ""
102
+ msgstr "Hiện nội dung thay đổi tiếp theo"
103
103
 
104
104
  msgctxt "(Total): 5 changes"
105
105
  msgid "Total"
106
- msgstr ""
106
+ msgstr "Tổng"
107
107
 
108
108
  msgctxt "(Edit): 2 of 5"
109
109
  msgid "EDIT_X_OF_Y_REVISIONS"
110
- msgstr ""
110
+ msgstr "Chỉnh sửa"
111
111
 
112
112
  msgctxt "The label for a button that closes revision viewer and shows editor."
113
113
  msgid "Back to editing"
114
- msgstr ""
114
+ msgstr "Quay lại chỉnh sửa"
115
115
 
116
116
  msgctxt "The label for a button that restores given revision."
117
117
  msgid "Restore this revision"
118
- msgstr ""
118
+ msgstr "Khôi phục bản sửa đổi"
119
119
 
120
120
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
121
  msgid "PENDING_ACTION_REVISION_HISTORY"
122
- msgstr ""
122
+ msgstr "Nội dung thay đổi chưa lưu trong lịch sử sửa đổi"
@@ -22,72 +22,72 @@ msgstr "已復原"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "空文件"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "初始修訂"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "與所選作比較"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "命名此修訂"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "修訂建立者"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "修訂作者"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "修訂名稱"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "本修訂的名稱(可選)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "儲存目前的修訂"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "開啟修訂記錄"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "修訂記錄"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "建議者"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "新增者"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "刪除者"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "載入中……"
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "無變更"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
90
+ msgstr[0] "%0 變更"
91
91
 
92
92
  msgctxt "Edit: (2 of 5)"
93
93
  msgid "X_OF_Y_CHANGES"
@@ -95,15 +95,15 @@ msgstr "%0/%1"
95
95
 
96
96
  msgctxt "The label for a button that highlights previous change in revision viewer."
97
97
  msgid "Show previous change"
98
- msgstr ""
98
+ msgstr "顯示上個變更"
99
99
 
100
100
  msgctxt "The label for a button that highlights next change in revision viewer."
101
101
  msgid "Show next change"
102
- msgstr ""
102
+ msgstr "顯示下個變更"
103
103
 
104
104
  msgctxt "(Total): 5 changes"
105
105
  msgid "Total"
106
- msgstr ""
106
+ msgstr "總計"
107
107
 
108
108
  msgctxt "(Edit): 2 of 5"
109
109
  msgid "EDIT_X_OF_Y_REVISIONS"
@@ -111,12 +111,12 @@ msgstr "編輯"
111
111
 
112
112
  msgctxt "The label for a button that closes revision viewer and shows editor."
113
113
  msgid "Back to editing"
114
- msgstr ""
114
+ msgstr "返回至編輯"
115
115
 
116
116
  msgctxt "The label for a button that restores given revision."
117
117
  msgid "Restore this revision"
118
- msgstr ""
118
+ msgstr "還原此修訂"
119
119
 
120
120
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
121
  msgid "PENDING_ACTION_REVISION_HISTORY"
122
- msgstr ""
122
+ msgstr "修訂記錄中未儲存的變更"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "34.2.0",
3
+ "version": "35.0.1",
4
4
  "description": "Document revision history feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -25,12 +25,12 @@
25
25
  ],
26
26
  "main": "src/index.js",
27
27
  "dependencies": {
28
- "@ckeditor/ckeditor5-core": "^34.2.0",
29
- "@ckeditor/ckeditor5-ui": "^34.2.0",
30
- "@ckeditor/ckeditor5-undo": "^34.2.0",
31
- "@ckeditor/ckeditor5-editor-classic": "^34.2.0",
32
- "ckeditor5": "^34.2.0",
33
- "ckeditor5-collaboration": "^34.2.0",
28
+ "@ckeditor/ckeditor5-core": "^35.0.1",
29
+ "@ckeditor/ckeditor5-ui": "^35.0.1",
30
+ "@ckeditor/ckeditor5-undo": "^35.0.1",
31
+ "@ckeditor/ckeditor5-editor-classic": "^35.0.1",
32
+ "ckeditor5": "^35.0.1",
33
+ "ckeditor5-collaboration": "^35.0.1",
34
34
  "lodash-es": "^4.17.15",
35
35
  "luxon": "^1.25.0"
36
36
  }
package/src/changeitem.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2002=['type','createdAt','toJSON','data','author','set'];(function(_0x113c5c,_0x200262){var _0x1f92f2=function(_0x3cb9bc){while(--_0x3cb9bc){_0x113c5c['push'](_0x113c5c['shift']());}};_0x1f92f2(++_0x200262);}(_0x2002,0xac));var _0x1f92=function(_0x113c5c,_0x200262){_0x113c5c=_0x113c5c-0x0;var _0x1f92f2=_0x2002[_0x113c5c];return _0x1f92f2;};import{ObservableMixin as _0xd7e3c,mix as _0x388e7d,uid as _0x56ee45}from'ckeditor5/src/utils';export default class h{constructor(_0x123156){this['id']=_0x123156['id']||_0x56ee45(),this[_0x1f92('0x0')]=_0x123156[_0x1f92('0x0')],this['type']=_0x123156[_0x1f92('0x2')],this[_0x1f92('0x5')]=_0x123156[_0x1f92('0x5')]||{},this[_0x1f92('0x1')](_0x1f92('0x3'),_0x123156[_0x1f92('0x3')]);}[_0x1f92('0x4')](){return{'id':this['id'],'authorId':this[_0x1f92('0x0')]['id'],'type':this[_0x1f92('0x2')],'data':this[_0x1f92('0x5')],'createdAt':this[_0x1f92('0x3')]};}}_0x388e7d(h,_0xd7e3c);
23
+ var _0x1b62=['toJSON','set','type','author','data','createdAt'];(function(_0x496314,_0x1b62dd){var _0x2c2377=function(_0x315a63){while(--_0x315a63){_0x496314['push'](_0x496314['shift']());}};_0x2c2377(++_0x1b62dd);}(_0x1b62,0x198));var _0x2c23=function(_0x496314,_0x1b62dd){_0x496314=_0x496314-0x0;var _0x2c2377=_0x1b62[_0x496314];return _0x2c2377;};import{ObservableMixin as _0x33e9bf,mix as _0xebb692,uid as _0xc29c62}from'ckeditor5/src/utils';export default class h{constructor(_0x3a9766){this['id']=_0x3a9766['id']||_0xc29c62(),this[_0x2c23('0x3')]=_0x3a9766[_0x2c23('0x3')],this[_0x2c23('0x2')]=_0x3a9766[_0x2c23('0x2')],this['data']=_0x3a9766[_0x2c23('0x4')]||{},this[_0x2c23('0x1')]('createdAt',_0x3a9766['createdAt']);}[_0x2c23('0x0')](){return{'id':this['id'],'authorId':this['author']['id'],'type':this[_0x2c23('0x2')],'data':this[_0x2c23('0x4')],'createdAt':this[_0x2c23('0x5')]};}}_0xebb692(h,_0x33e9bf);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x482e=['get','sourceElement','data','document','updateSourceElement','locale','editing','init','create','fire','destroy'];(function(_0x4c4263,_0x482e13){const _0x4e08f0=function(_0x2e67e4){while(--_0x2e67e4){_0x4c4263['push'](_0x4c4263['shift']());}};_0x4e08f0(++_0x482e13);}(_0x482e,0x1a4));const _0x4e08=function(_0x4c4263,_0x482e13){_0x4c4263=_0x4c4263-0x0;let _0x4e08f0=_0x482e[_0x4c4263];return _0x4e08f0;};import{Editor as _0x5e5d08,DataApiMixin as _0x2585a4,ElementApiMixin as _0x481065}from'ckeditor5/src/core';import{mix as _0x428d35}from'ckeditor5/src/utils';import _0x179543 from'./revisionviewereditorui';import _0x4e38ee from'./revisionviewereditoruiview';export default class m extends _0x5e5d08{constructor(_0x402445,_0x151a1d){super(_0x151a1d),this[_0x4e08('0xa')]=_0x402445,this['model'][_0x4e08('0x1')]['createRoot']();const _0x505b88=new _0x4e38ee(this[_0x4e08('0x3')],this[_0x4e08('0x4')]['view'],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x179543(this,_0x505b88);}[_0x4e08('0x8')](){return this[_0x4e08('0x2')](),this['ui'][_0x4e08('0x8')](),super['destroy']();}static async[_0x4e08('0x6')](_0x591d1e,_0x58d974){const _0x3b5113=new this(_0x591d1e,_0x58d974);return await _0x3b5113['initPlugins'](),await _0x3b5113['ui']['init'](_0x591d1e),await _0x3b5113[_0x4e08('0x0')][_0x4e08('0x5')](_0x3b5113['config'][_0x4e08('0x9')]('initialData')),_0x3b5113[_0x4e08('0x7')]('ready'),_0x3b5113;}}_0x428d35(m,_0x2585a4),_0x428d35(m,_0x481065);
23
+ const _0x23f1=['create','init','config','ready','updateSourceElement','editing','initPlugins','fire','sourceElement','model','data','get','destroy','document','view','createRoot','locale'];(function(_0x18ddce,_0x23f17c){const _0x155a7b=function(_0x5d8ad9){while(--_0x5d8ad9){_0x18ddce['push'](_0x18ddce['shift']());}};_0x155a7b(++_0x23f17c);}(_0x23f1,0xcc));const _0x155a=function(_0x18ddce,_0x23f17c){_0x18ddce=_0x18ddce-0x0;let _0x155a7b=_0x23f1[_0x18ddce];return _0x155a7b;};import{Editor as _0x14c5f6,DataApiMixin as _0x16f5b2,ElementApiMixin as _0x4c6fcb}from'ckeditor5/src/core';import{mix as _0x1ce327}from'ckeditor5/src/utils';import _0x5b1975 from'./revisionviewereditorui';import _0xf67cc5 from'./revisionviewereditoruiview';export default class w extends _0x14c5f6{constructor(_0x4cfbbf,_0xef2a8d){super(_0xef2a8d),this[_0x155a('0x8')]=_0x4cfbbf,this[_0x155a('0x9')][_0x155a('0xd')][_0x155a('0xf')]();const _0xfd2ab0=new _0xf67cc5(this[_0x155a('0x10')],this[_0x155a('0x5')][_0x155a('0xe')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x5b1975(this,_0xfd2ab0);}[_0x155a('0xc')](){return this[_0x155a('0x4')](),this['ui'][_0x155a('0xc')](),super[_0x155a('0xc')]();}static async[_0x155a('0x0')](_0x5c3764,_0x1c0801){const _0x163fd2=new this(_0x5c3764,_0x1c0801);return await _0x163fd2[_0x155a('0x6')](),await _0x163fd2['ui'][_0x155a('0x1')](_0x5c3764),await _0x163fd2[_0x155a('0xa')][_0x155a('0x1')](_0x163fd2[_0x155a('0x2')][_0x155a('0xb')]('initialData')),_0x163fd2[_0x155a('0x7')](_0x155a('0x3')),_0x163fd2;}}_0x1ce327(w,_0x16f5b2),_0x1ce327(w,_0x4c6fcb);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fe7=['_toolbarConfig','destroy','init','setEditableElement','_elementReplacer','toolbar','editable','view','render','stickyPanel','element','keystrokes','name','add','bind','limiterElement','document','ready','isActive','fire','editor','viewportOffset','isFocused','detachDomRoot','rootName','_initToolbar','editing','focusTracker','get','restore','componentFactory','attachDomRoot'];(function(_0x4bba88,_0x1fe717){const _0x4ca66a=function(_0x1d0bef){while(--_0x1d0bef){_0x4bba88['push'](_0x4bba88['shift']());}};_0x4ca66a(++_0x1fe717);}(_0x1fe7,0x1a2));const _0x4ca6=function(_0x4bba88,_0x1fe717){_0x4bba88=_0x4bba88-0x0;let _0x4ca66a=_0x1fe7[_0x4bba88];return _0x4ca66a;};import{EditorUI as _0x2cbd7f}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0x470c4c,normalizeToolbarConfig as _0x8b352a}from'ckeditor5/src/ui';import{ElementReplacer as _0x2d25e0}from'ckeditor5/src/utils';export default class ot extends _0x2cbd7f{constructor(_0x231a6f,_0x36d061){super(_0x231a6f),this[_0x4ca6('0x5')]=_0x36d061,this[_0x4ca6('0x1e')]=_0x8b352a(_0x231a6f['config'][_0x4ca6('0x1a')](_0x4ca6('0x3'))),this[_0x4ca6('0x2')]=new _0x2d25e0();}get[_0x4ca6('0x8')](){return this[_0x4ca6('0x5')]['element'];}[_0x4ca6('0x0')](_0x2a6877){const _0x267651=this['editor'],_0x56b0cd=this[_0x4ca6('0x5')],_0x256674=_0x267651[_0x4ca6('0x18')][_0x4ca6('0x5')],_0x432867=_0x56b0cd[_0x4ca6('0x4')],_0xf58a4a=_0x256674[_0x4ca6('0xe')]['getRoot']();_0x432867[_0x4ca6('0xa')]=_0xf58a4a[_0x4ca6('0x16')],_0x56b0cd[_0x4ca6('0x6')]();const _0xb6db5=_0x432867[_0x4ca6('0x8')];this[_0x4ca6('0x1')](_0x432867[_0x4ca6('0xa')],_0xb6db5),this[_0x4ca6('0x19')][_0x4ca6('0xb')](_0xb6db5),_0x56b0cd[_0x4ca6('0x4')]['bind']('isFocused')['to'](this['focusTracker']),_0x256674[_0x4ca6('0x1d')](_0xb6db5),this[_0x4ca6('0x2')]['replace'](_0x2a6877,this[_0x4ca6('0x8')]),this[_0x4ca6('0x17')](),this[_0x4ca6('0x11')](_0x4ca6('0xf'));}[_0x4ca6('0x1f')](){const _0x488b3c=this[_0x4ca6('0x5')],_0xce772d=this[_0x4ca6('0x12')][_0x4ca6('0x18')][_0x4ca6('0x5')];this['_elementReplacer'][_0x4ca6('0x1b')](),_0xce772d[_0x4ca6('0x15')](_0x488b3c['editable']['name']),_0x488b3c[_0x4ca6('0x1f')](),super['destroy']();}[_0x4ca6('0x17')](){const _0x39a981=this[_0x4ca6('0x12')],_0x16ba56=this[_0x4ca6('0x5')],_0x4c5f94=_0x39a981[_0x4ca6('0x18')][_0x4ca6('0x5')];_0x16ba56[_0x4ca6('0x7')][_0x4ca6('0xc')](_0x4ca6('0x10'))['to'](this[_0x4ca6('0x19')],_0x4ca6('0x14')),_0x16ba56[_0x4ca6('0x7')][_0x4ca6('0xd')]=_0x16ba56[_0x4ca6('0x8')],_0x16ba56['stickyPanel'][_0x4ca6('0xc')]('viewportTopOffset')['to'](this,_0x4ca6('0x13'),({top:_0x2c26f4})=>_0x2c26f4),_0x16ba56[_0x4ca6('0x3')]['fillFromConfig'](this[_0x4ca6('0x1e')],this[_0x4ca6('0x1c')]),_0x470c4c({'origin':_0x4c5f94,'originFocusTracker':this[_0x4ca6('0x19')],'originKeystrokeHandler':_0x39a981[_0x4ca6('0x9')],'toolbar':_0x16ba56[_0x4ca6('0x3')]});}}
23
+ const _0x5300=['limiterElement','init','_initToolbar','destroy','viewportTopOffset','get','render','document','componentFactory','editable','element','focusTracker','toolbar','rootName','isActive','isFocused','setEditableElement','bind','_elementReplacer','add','view','fire','editor','_toolbarConfig','fillFromConfig','detachDomRoot','name','stickyPanel','replace','editing','ready'];(function(_0x140834,_0x530048){const _0x3dbabf=function(_0x29f0ed){while(--_0x29f0ed){_0x140834['push'](_0x140834['shift']());}};_0x3dbabf(++_0x530048);}(_0x5300,0xb8));const _0x3dba=function(_0x140834,_0x530048){_0x140834=_0x140834-0x0;let _0x3dbabf=_0x5300[_0x140834];return _0x3dbabf;};import{EditorUI as _0x29f7f2}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0xeb987b,normalizeToolbarConfig as _0x15a40f}from'ckeditor5/src/ui';import{ElementReplacer as _0x21a9a2}from'ckeditor5/src/utils';export default class ot extends _0x29f7f2{constructor(_0x6af297,_0x43b639){super(_0x6af297),this[_0x3dba('0x16')]=_0x43b639,this[_0x3dba('0x19')]=_0x15a40f(_0x6af297['config'][_0x3dba('0x7')](_0x3dba('0xe'))),this[_0x3dba('0x14')]=new _0x21a9a2();}get['element'](){return this[_0x3dba('0x16')][_0x3dba('0xc')];}[_0x3dba('0x3')](_0x5c3cfc){const _0x2b2392=this[_0x3dba('0x18')],_0xa55ce4=this[_0x3dba('0x16')],_0xfb9b16=_0x2b2392[_0x3dba('0x0')][_0x3dba('0x16')],_0x1f869b=_0xa55ce4[_0x3dba('0xb')],_0x434f97=_0xfb9b16[_0x3dba('0x9')]['getRoot']();_0x1f869b[_0x3dba('0x1c')]=_0x434f97[_0x3dba('0xf')],_0xa55ce4[_0x3dba('0x8')]();const _0x2fc3c1=_0x1f869b['element'];this[_0x3dba('0x12')](_0x1f869b[_0x3dba('0x1c')],_0x2fc3c1),this['focusTracker'][_0x3dba('0x15')](_0x2fc3c1),_0xa55ce4['editable'][_0x3dba('0x13')](_0x3dba('0x11'))['to'](this[_0x3dba('0xd')]),_0xfb9b16['attachDomRoot'](_0x2fc3c1),this[_0x3dba('0x14')][_0x3dba('0x1e')](_0x5c3cfc,this['element']),this[_0x3dba('0x4')](),this[_0x3dba('0x17')](_0x3dba('0x1'));}[_0x3dba('0x5')](){const _0x4dbbe1=this[_0x3dba('0x16')],_0x470f7a=this[_0x3dba('0x18')][_0x3dba('0x0')][_0x3dba('0x16')];this[_0x3dba('0x14')]['restore'](),_0x470f7a[_0x3dba('0x1b')](_0x4dbbe1[_0x3dba('0xb')][_0x3dba('0x1c')]),_0x4dbbe1[_0x3dba('0x5')](),super[_0x3dba('0x5')]();}['_initToolbar'](){const _0x2a9a30=this['editor'],_0x1fee07=this[_0x3dba('0x16')],_0x4aa366=_0x2a9a30[_0x3dba('0x0')][_0x3dba('0x16')];_0x1fee07['stickyPanel'][_0x3dba('0x13')](_0x3dba('0x10'))['to'](this[_0x3dba('0xd')],_0x3dba('0x11')),_0x1fee07[_0x3dba('0x1d')][_0x3dba('0x2')]=_0x1fee07[_0x3dba('0xc')],_0x1fee07['stickyPanel']['bind'](_0x3dba('0x6'))['to'](this,'viewportOffset',({top:_0x1b4508})=>_0x1b4508),_0x1fee07[_0x3dba('0xe')][_0x3dba('0x1a')](this['_toolbarConfig'],this[_0x3dba('0xa')]),_0xeb987b({'origin':_0x4aa366,'originFocusTracker':this[_0x3dba('0xd')],'originKeystrokeHandler':_0x2a9a30['keystrokes'],'toolbar':_0x1fee07['toolbar']});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4bbb=['top','render','toolbar','add','stickyPanel','main'];(function(_0x14bcf9,_0x4bbb99){var _0x531e94=function(_0x3f5e01){while(--_0x3f5e01){_0x14bcf9['push'](_0x14bcf9['shift']());}};_0x531e94(++_0x4bbb99);}(_0x4bbb,0xbb));var _0x531e=function(_0x14bcf9,_0x4bbb99){_0x14bcf9=_0x14bcf9-0x0;var _0x531e94=_0x4bbb[_0x14bcf9];return _0x531e94;};import{BoxedEditorUIView as _0x3c6e74,InlineEditableUIView as _0x3098f3,StickyPanelView as _0x44ef6a,ToolbarView as _0x1966a8}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x3c6e74{constructor(_0x1deb9e,_0x21be8c,_0x5e4e38={}){super(_0x1deb9e),this[_0x531e('0x3')]=new _0x44ef6a(_0x1deb9e),this[_0x531e('0x1')]=new _0x1966a8(_0x1deb9e,{'shouldGroupWhenFull':_0x5e4e38['shouldToolbarGroupWhenFull']}),this['editable']=new _0x3098f3(_0x1deb9e,_0x21be8c);}[_0x531e('0x0')](){super[_0x531e('0x0')](),this[_0x531e('0x3')]['content'][_0x531e('0x2')](this[_0x531e('0x1')]),this[_0x531e('0x5')][_0x531e('0x2')](this[_0x531e('0x3')]),this[_0x531e('0x4')][_0x531e('0x2')](this['editable']);}}
23
+ var _0x19c2=['main','editable','toolbar','render','top','shouldToolbarGroupWhenFull','stickyPanel','add'];(function(_0x5baabe,_0x19c22f){var _0x115952=function(_0x3adf82){while(--_0x3adf82){_0x5baabe['push'](_0x5baabe['shift']());}};_0x115952(++_0x19c22f);}(_0x19c2,0x1e5));var _0x1159=function(_0x5baabe,_0x19c22f){_0x5baabe=_0x5baabe-0x0;var _0x115952=_0x19c2[_0x5baabe];return _0x115952;};import{BoxedEditorUIView as _0x16b1c9,InlineEditableUIView as _0x560475,StickyPanelView as _0x1560a3,ToolbarView as _0x3ae7db}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x16b1c9{constructor(_0x26380f,_0x4abfea,_0x2c1e7c={}){super(_0x26380f),this[_0x1159('0x1')]=new _0x1560a3(_0x26380f),this[_0x1159('0x5')]=new _0x3ae7db(_0x26380f,{'shouldGroupWhenFull':_0x2c1e7c[_0x1159('0x0')]}),this['editable']=new _0x560475(_0x26380f,_0x4abfea);}['render'](){super[_0x1159('0x6')](),this[_0x1159('0x1')]['content'][_0x1159('0x2')](this[_0x1159('0x5')]),this[_0x1159('0x7')]['add'](this[_0x1159('0x1')]),this[_0x1159('0x3')][_0x1159('0x2')](this[_0x1159('0x4')]);}}
package/src/revision.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f62=['authorsIds','_update','toJSON','authors','toVersion','creatorId','setName','diffData','attributes','map','creator','fire','createdAt','removeAttribute','name','set','fromVersion'];(function(_0x4f9335,_0x4f629d){const _0x4e3d82=function(_0x40a796){while(--_0x40a796){_0x4f9335['push'](_0x4f9335['shift']());}};_0x4e3d82(++_0x4f629d);}(_0x4f62,0x1b2));const _0x4e3d=function(_0x4f9335,_0x4f629d){_0x4f9335=_0x4f9335-0x0;let _0x4e3d82=_0x4f62[_0x4f9335];return _0x4e3d82;};import{ObservableMixin as _0x3a1be5,mix as _0x1dbc26,uid as _0x496a56}from'ckeditor5/src/utils';import{cloneDeep as _0x53b895,set as _0x412f2a,unset as _0x305503}from'lodash-es';export default class n{constructor(_0x15053e){this['id']=_0x15053e['id']||_0x496a56(),this[_0x4e3d('0x6')](_0x4e3d('0x5'),_0x15053e[_0x4e3d('0x5')]||''),this['creator']=_0x15053e[_0x4e3d('0x1')]||null,this[_0x4e3d('0xb')]=_0x15053e['authors']||[],this[_0x4e3d('0x6')]('createdAt',_0x15053e[_0x4e3d('0x3')]||new Date()),this[_0x4e3d('0xf')]=_0x15053e[_0x4e3d('0xf')]||null,this[_0x4e3d('0x6')]('attributes',_0x15053e['attributes']||{}),this[_0x4e3d('0xc')]=_0x15053e[_0x4e3d('0xc')]||0x0,this['fromVersion']=_0x15053e[_0x4e3d('0x7')]||0x0;}[_0x4e3d('0xe')](_0x563bdc){this[_0x4e3d('0x9')]({'name':_0x563bdc});}['setAttribute'](_0x23bdc0,_0x41cd21){const _0x4d8514=_0x53b895(this['attributes']);_0x412f2a(_0x4d8514,_0x23bdc0,_0x41cd21),this[_0x4e3d('0x9')]({'attributes':_0x4d8514});}[_0x4e3d('0x4')](_0x4ac3ea){const _0x1b98ce=_0x53b895(this['attributes']);_0x305503(_0x1b98ce,_0x4ac3ea),this[_0x4e3d('0x9')]({'attributes':_0x1b98ce});}[_0x4e3d('0x9')](_0x519509,_0x2b786f=!0x1){let _0x135acb=!0x1;const _0x241b08={'id':this['id']};for(const _0x31f142 of[_0x4e3d('0x5'),_0x4e3d('0x3'),'diffData',_0x4e3d('0xb'),_0x4e3d('0x10'),'toVersion',_0x4e3d('0x7'),_0x4e3d('0xd')]){const _0x3a4288=_0x519509[_0x31f142];void 0x0!==_0x3a4288&&_0x3a4288!==this[_0x31f142]&&(this[_0x31f142]=_0x3a4288,_0x241b08[_0x31f142]=_0x3a4288,_0x135acb=!0x0);}_0x135acb&&(_0x241b08[_0x4e3d('0xb')]&&(_0x241b08[_0x4e3d('0x8')]=_0x241b08['authors'][_0x4e3d('0x0')](_0x244a72=>_0x244a72['id']),delete _0x241b08[_0x4e3d('0xb')]),this[_0x4e3d('0x2')](_0x4e3d('0x9'),_0x241b08,_0x2b786f));}[_0x4e3d('0xa')](){return{'id':this['id'],'name':this[_0x4e3d('0x5')],'creatorId':this[_0x4e3d('0x1')]?this[_0x4e3d('0x1')]['id']:null,'authorsIds':this[_0x4e3d('0xb')]['map'](_0x1e51b6=>_0x1e51b6['id']),'diffData':this[_0x4e3d('0xf')],'createdAt':this[_0x4e3d('0x3')],'attributes':this[_0x4e3d('0x10')],'fromVersion':this[_0x4e3d('0x7')],'toVersion':this[_0x4e3d('0xc')]};}}_0x1dbc26(n,_0x3a1be5);
23
+ const _0x5951=['creator','authors','removeAttribute','_update','map','diffData','set','toJSON','createdAt','toVersion','creatorId','setAttribute','setName','attributes','fromVersion','authorsIds','name'];(function(_0x53b993,_0x5951d8){const _0x237b83=function(_0x2f6aae){while(--_0x2f6aae){_0x53b993['push'](_0x53b993['shift']());}};_0x237b83(++_0x5951d8);}(_0x5951,0x1c4));const _0x237b=function(_0x53b993,_0x5951d8){_0x53b993=_0x53b993-0x0;let _0x237b83=_0x5951[_0x53b993];return _0x237b83;};import{ObservableMixin as _0x445e02,mix as _0x2b2c6e,uid as _0x3d6157}from'ckeditor5/src/utils';import{cloneDeep as _0xe8500f,set as _0x3e2181,unset as _0x5bafa4}from'lodash-es';export default class n{constructor(_0x36f25d){this['id']=_0x36f25d['id']||_0x3d6157(),this['set'](_0x237b('0x6'),_0x36f25d[_0x237b('0x6')]||''),this[_0x237b('0x7')]=_0x36f25d[_0x237b('0x7')]||null,this[_0x237b('0x8')]=_0x36f25d[_0x237b('0x8')]||[],this[_0x237b('0xd')](_0x237b('0xf'),_0x36f25d[_0x237b('0xf')]||new Date()),this['diffData']=_0x36f25d[_0x237b('0xc')]||null,this[_0x237b('0xd')](_0x237b('0x3'),_0x36f25d[_0x237b('0x3')]||{}),this['toVersion']=_0x36f25d[_0x237b('0x10')]||0x0,this[_0x237b('0x4')]=_0x36f25d[_0x237b('0x4')]||0x0;}[_0x237b('0x2')](_0x4dd2c8){this[_0x237b('0xa')]({'name':_0x4dd2c8});}[_0x237b('0x1')](_0xa1caed,_0x4ea587){const _0x4b060b=_0xe8500f(this[_0x237b('0x3')]);_0x3e2181(_0x4b060b,_0xa1caed,_0x4ea587),this[_0x237b('0xa')]({'attributes':_0x4b060b});}[_0x237b('0x9')](_0x77ed9a){const _0x591104=_0xe8500f(this[_0x237b('0x3')]);_0x5bafa4(_0x591104,_0x77ed9a),this[_0x237b('0xa')]({'attributes':_0x591104});}['_update'](_0x49548c,_0x18c4af=!0x1){let _0x37b6ae=!0x1;const _0x4019df={'id':this['id']};for(const _0x305d92 of[_0x237b('0x6'),_0x237b('0xf'),_0x237b('0xc'),_0x237b('0x8'),_0x237b('0x3'),'toVersion',_0x237b('0x4'),_0x237b('0x0')]){const _0x125654=_0x49548c[_0x305d92];void 0x0!==_0x125654&&_0x125654!==this[_0x305d92]&&(this[_0x305d92]=_0x125654,_0x4019df[_0x305d92]=_0x125654,_0x37b6ae=!0x0);}_0x37b6ae&&(_0x4019df['authors']&&(_0x4019df[_0x237b('0x5')]=_0x4019df[_0x237b('0x8')][_0x237b('0xb')](_0x18d322=>_0x18d322['id']),delete _0x4019df[_0x237b('0x8')]),this['fire']('_update',_0x4019df,_0x18c4af));}[_0x237b('0xe')](){return{'id':this['id'],'name':this[_0x237b('0x6')],'creatorId':this['creator']?this[_0x237b('0x7')]['id']:null,'authorsIds':this[_0x237b('0x8')][_0x237b('0xb')](_0x28a86e=>_0x28a86e['id']),'diffData':this['diffData'],'createdAt':this[_0x237b('0xf')],'attributes':this['attributes'],'fromVersion':this[_0x237b('0x4')],'toVersion':this[_0x237b('0x10')]};}}_0x2b2c6e(n,_0x445e02);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3596=['oldRevisionId','_setData','changes','add'];(function(_0x218126,_0x35966c){const _0x5b2c58=function(_0x4b7ec9){while(--_0x4b7ec9){_0x218126['push'](_0x218126['shift']());}};_0x5b2c58(++_0x35966c);}(_0x3596,0xf0));const _0x5b2c=function(_0x218126,_0x35966c){_0x218126=_0x218126-0x0;let _0x5b2c58=_0x3596[_0x218126];return _0x5b2c58;};import{Collection as _0x47ed55}from'ckeditor5/src/utils';export default class f{constructor(_0x33520f,_0x3c8a3e){this['newRevisionId']=_0x33520f,this[_0x5b2c('0x0')]=_0x3c8a3e,this[_0x5b2c('0x2')]=new _0x47ed55();}[_0x5b2c('0x1')](_0x5660f7){for(const _0x581cfb of _0x5660f7['changes'])this[_0x5b2c('0x2')][_0x5b2c('0x3')](_0x581cfb);}}
23
+ const _0x58f0=['oldRevisionId','changes','_setData'];(function(_0x4a311b,_0x58f00a){const _0x3fa1fd=function(_0x20dedd){while(--_0x20dedd){_0x4a311b['push'](_0x4a311b['shift']());}};_0x3fa1fd(++_0x58f00a);}(_0x58f0,0x19b));const _0x3fa1=function(_0x4a311b,_0x58f00a){_0x4a311b=_0x4a311b-0x0;let _0x3fa1fd=_0x58f0[_0x4a311b];return _0x3fa1fd;};import{Collection as _0x26c4c8}from'ckeditor5/src/utils';export default class f{constructor(_0x45d8b6,_0x142844){this['newRevisionId']=_0x45d8b6,this[_0x3fa1('0x0')]=_0x142844,this[_0x3fa1('0x1')]=new _0x26c4c8();}[_0x3fa1('0x2')](_0x372dd4){for(const _0x16d39c of _0x372dd4['changes'])this['changes']['add'](_0x16d39c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5239=['init','_getRevisionViewerEditorConfig','initialData','changesNavigation','getRevisions','define','closeRevisionViewerCallback','from','has','revisionHistory.viewerEditorElement','restoreRevision','_enhanceCloseRevisionViewerCallback','RevisionHistoryUI','createdAt','getMarkersGroup','requires','RevisionTracker','_restoreRevision','showRevisionViewerCallback','RestrictedEditingMode','restrictedEditingException','WebSocketGateway','adapter','_closeRevisionViewer','commands','set','revisionHistory.viewerContainer','bind','isReadOnly','revisionHistory.showRevisionViewerCallback','_recalculatePageBreaks','numeric','none','data','isReady','saveRevision','isAnonymous','Annotations','extraPlugins','names','concat','every','RevisionHistory','catch','config','then','enableReadOnlyMode','push','get','map','includes','revisionHistory','_viewerEditor','long','refreshPositioning','PaginationLookup','getRevision','CommentsRepository','_update','locale','style','Autosave','refreshVisibility','destroy','markers','pluginName','addRevisionData','name','update','save','block','plugins','addUser','filter','repository','users','RevisionsRepository','toVersion','change','RevisionViewer','indexOf','revision-history-viewer-opened','Users','uiLanguage','create','disableReadOnlyMode','fromVersion','toJSON','getUser','TrackChangesEditing','constructor','isEnabled','_enhanceShowRevisionViewerCallback','getRevisionData','display','toLocaleTimeString','editor','find','error','revisionHistory.editorContainer','_showRevisionViewer'];(function(_0x4d159d,_0x52393b){const _0x5a8545=function(_0x1dcaff){while(--_0x1dcaff){_0x4d159d['push'](_0x4d159d['shift']());}};_0x5a8545(++_0x52393b);}(_0x5239,0x1a8));const _0x5a85=function(_0x4d159d,_0x52393b){_0x4d159d=_0x4d159d-0x0;let _0x5a8545=_0x5239[_0x4d159d];return _0x5a8545;};import{Plugin as _0x26aed0}from'ckeditor5/src/core';import{CKEditorError as _0x5b5d71,uid as _0x4ebe7a}from'ckeditor5/src/utils';import _0x4ca213 from'./revisiontracker';import _0x2b8568 from'./ui/revisionhistory/revisionhistoryui';import _0x475853 from'./revisionviewer';import _0x1c38d7 from'./ui/revisionviewer/revisionviewerui';import _0x317c90 from'./ui/revisionssidebar/revisionssidebar';import _0x4103ad from'./editor/revisionviewereditor';import{getTranslation as _0x301904}from'./utils/common-translations';const g=['context'],k=[_0x5a85('0x61'),_0x5a85('0x5d'),_0x5a85('0x1'),_0x5a85('0x25'),_0x5a85('0x45'),_0x5a85('0x64'),_0x5a85('0x29')];export default class C extends _0x26aed0{static get[_0x5a85('0x2d')](){return _0x5a85('0x16');}static get[_0x5a85('0x60')](){return[_0x4ca213,_0x2b8568];}constructor(..._0x39a86b){if(super(..._0x39a86b),!this[_0x5a85('0x4c')][_0x5a85('0x18')][_0x5a85('0x1c')](_0x5a85('0x1f')))throw new _0x5b5d71('revision-history-missing-configuration',this);this['_viewerEditor']=null,this[_0x5a85('0x4c')][_0x5a85('0x18')][_0x5a85('0x56')]('revisionHistory.showRevisionViewerCallback',_0x115d70=>this[_0x5a85('0x50')](_0x115d70)),this['editor']['config'][_0x5a85('0x56')]('revisionHistory.closeRevisionViewerCallback',_0x17aff3=>this['_closeRevisionViewer'](_0x17aff3)),this[_0x5a85('0x4c')]['config'][_0x5a85('0x56')]('revisionHistory.restoreRevisionCallback',_0x84da4c=>this[_0x5a85('0x62')](_0x84da4c)),this[_0x5a85('0x48')](),this[_0x5a85('0x5c')]();}set[_0x5a85('0x2')](_0x219007){this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x1c')]('RevisionTracker')[_0x5a85('0x2')]=_0x219007;}get[_0x5a85('0x2')](){return this[_0x5a85('0x4c')]['plugins']['get'](_0x5a85('0x61'))[_0x5a85('0x2')];}[_0x5a85('0x2e')](..._0x52f8f5){return this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x1c')](_0x5a85('0x61'))['addRevisionData'](..._0x52f8f5);}[_0x5a85('0x24')](..._0x208d0f){return this[_0x5a85('0x4c')][_0x5a85('0x33')][_0x5a85('0x1c')](_0x5a85('0x38'))[_0x5a85('0x24')](..._0x208d0f);}['getRevisions'](..._0x2c96aa){return this[_0x5a85('0x4c')][_0x5a85('0x33')]['get'](_0x5a85('0x38'))[_0x5a85('0x55')](..._0x2c96aa);}[_0x5a85('0x52')](){const _0x1cac64={},_0x1598d0=this['editor'],_0x133150=_0x1598d0[_0x5a85('0x33')]['get'](_0x5a85('0x61')),_0xf366c2=_0x1598d0[_0x5a85('0x33')]['get'](_0x5a85('0x3e'))[_0x5a85('0x37')];for(const _0xe76d49 of _0x1598d0[_0x5a85('0x18')][_0x5a85('0x13')]())g[_0x5a85('0x1e')](_0xe76d49)||(_0x1cac64[_0xe76d49]=_0x1598d0['config'][_0x5a85('0x1c')](_0xe76d49));_0x1cac64[_0x5a85('0x53')]='',_0x1cac64['toolbar']=['exitToEditing',_0x5a85('0x5b'),_0x5a85('0x54')];const _0x5e3d03=this[_0x5a85('0x4c')][_0x5a85('0x46')]['builtinPlugins']||[],_0x5a677a=_0x1cac64['extraPlugins']||[];delete _0x1cac64[_0x5a85('0x12')];const _0x2cf188=_0x5e3d03[_0x5a85('0x14')](_0x1cac64[_0x5a85('0x33')])['concat'](_0x5a677a)[_0x5a85('0x1d')](_0x56bbe1=>'string'==typeof _0x56bbe1?_0x5e3d03[_0x5a85('0x4d')](_0x244a57=>_0x244a57[_0x5a85('0x2d')]==_0x56bbe1):_0x56bbe1);return _0x1cac64[_0x5a85('0x33')]=Array[_0x5a85('0x58')](new Set(_0x2cf188))[_0x5a85('0x35')](_0x22515b=>H(_0x22515b,_0x1598d0[_0x5a85('0x33')],[])),(_0x1cac64[_0x5a85('0x33')][_0x5a85('0x1b')](_0x475853,_0x1c38d7,class extends _0x26aed0{static get[_0x5a85('0x60')](){return[_0x475853,_0x5a85('0x3e')];}[_0x5a85('0x51')](){const _0x158838=this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x1c')]('Users');for(const _0x83bd67 of _0xf366c2)_0x83bd67[_0x5a85('0x10')]||_0x158838[_0x5a85('0x44')](_0x83bd67['id'])||_0x158838[_0x5a85('0x34')](_0x83bd67);const _0x17172a=_0x133150['repository']['getRevisions']();let _0x4710dd=null;const _0x4422c8=this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x1c')](_0x5a85('0x3b'));_0x4422c8[_0x5a85('0x2')]=_0x133150[_0x5a85('0x2')],_0x4422c8[_0x5a85('0x7')](_0x5a85('0x47'))['to'](_0x133150),this[_0x5a85('0x4c')][_0x5a85('0x4')][_0x5a85('0x1c')]('restoreRevision')[_0x5a85('0x7')]('isEnabled')['to'](_0x1598d0,_0x5a85('0x8'),_0x5c13f6=>!_0x5c13f6);for(const _0x13cd8f of _0x17172a){const _0x2345e5=null===_0x13cd8f['creator'];if(_0x2345e5&&_0x13cd8f['toVersion']===_0x13cd8f[_0x5a85('0x42')])continue;const _0x567084=_0x13cd8f['toJSON']();_0x4422c8['addRevisionData'](_0x567084,(_0x50aed4,_0x4e6452,_0xa1e403)=>{if(_0x2345e5){if(_0x4710dd)_0x4710dd[_0x5a85('0x26')](_0x50aed4,_0x4e6452);else{if(!_0x4e6452){const _0x1ff479=_0xa1e403[_0x5a85('0x43')]();_0x1ff479['id']=_0x4ebe7a(),_0x133150['saveRevision'](_0x1ff479,_0xa1e403[_0x5a85('0x39')])[_0x5a85('0x19')](_0x5ae01c=>{_0x4710dd=_0x5ae01c;});}}}else _0x13cd8f[_0x5a85('0x26')](_0x50aed4,_0x4e6452);});}}},_0x317c90),_0x1cac64);}['_enhanceShowRevisionViewerCallback'](){const _0x151abf=this['editor'][_0x5a85('0x18')][_0x5a85('0x1c')](_0x5a85('0x1f'))[_0x5a85('0x63')];this[_0x5a85('0x4c')][_0x5a85('0x18')]['set'](_0x5a85('0x9'),async()=>{this[_0x5a85('0x4c')][_0x5a85('0x1a')]('revision-history-viewer-opened');const _0x11837b=this['editor'][_0x5a85('0x33')]['get'](_0x5a85('0x61'));this[_0x5a85('0x4c')][_0x5a85('0x33')][_0x5a85('0x59')]('Autosave')?await this[_0x5a85('0x4c')][_0x5a85('0x33')]['get'](_0x5a85('0x29'))[_0x5a85('0x31')]():await _0x11837b[_0x5a85('0x30')](),this[_0x5a85('0x4c')][_0x5a85('0x33')][_0x5a85('0x59')]('PaginationLookup')&&this[_0x5a85('0x4c')][_0x5a85('0x33')]['get'](_0x5a85('0x23'))['_recalculatePageBreaks']();const _0x2b162b=this[_0x5a85('0x52')]();return _0x151abf(_0x2b162b)[_0x5a85('0x19')](_0x172be2=>{this[_0x5a85('0x20')]=_0x172be2,this[_0x5a85('0x4c')][_0x5a85('0x33')][_0x5a85('0x59')](_0x5a85('0x11'))&&this['editor']['plugins'][_0x5a85('0x1c')](_0x5a85('0x11'))[_0x5a85('0x2a')]();})[_0x5a85('0x17')](_0x155684=>{console[_0x5a85('0x4e')](_0x155684),this[_0x5a85('0x4c')][_0x5a85('0x41')](_0x5a85('0x3d'));});});}[_0x5a85('0x5c')](){const _0x5c2084=this[_0x5a85('0x4c')]['config']['get'](_0x5a85('0x1f'))[_0x5a85('0x57')];this[_0x5a85('0x4c')][_0x5a85('0x18')][_0x5a85('0x5')]('revisionHistory.closeRevisionViewerCallback',()=>(this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x59')](_0x5a85('0x23'))&&this[_0x5a85('0x4c')]['plugins'][_0x5a85('0x1c')](_0x5a85('0x23'))[_0x5a85('0xa')](),_0x5c2084(this[_0x5a85('0x20')])[_0x5a85('0x19')](()=>{this[_0x5a85('0x4c')][_0x5a85('0x41')]('revision-history-viewer-opened'),this[_0x5a85('0x20')]=null,this['editor'][_0x5a85('0x33')][_0x5a85('0x59')](_0x5a85('0x11'))&&(this[_0x5a85('0x4c')][_0x5a85('0x33')][_0x5a85('0x1c')](_0x5a85('0x11'))[_0x5a85('0x2a')](),this['editor'][_0x5a85('0x33')][_0x5a85('0x1c')](_0x5a85('0x11'))[_0x5a85('0x22')]());})));}[_0x5a85('0x50')](_0x296209){const _0x4382dc=this[_0x5a85('0x4c')]['config'][_0x5a85('0x1c')](_0x5a85('0x4f')),_0x5a011a=this[_0x5a85('0x4c')]['config'][_0x5a85('0x1c')](_0x5a85('0x6')),_0x54d705=this['editor'][_0x5a85('0x18')][_0x5a85('0x1c')](_0x5a85('0x5a'));return _0x4103ad[_0x5a85('0x40')](_0x54d705,_0x296209)[_0x5a85('0x19')](_0x4f947d=>(_0x5a011a[_0x5a85('0x28')][_0x5a85('0x4a')]=_0x5a85('0x32'),_0x4382dc[_0x5a85('0x28')][_0x5a85('0x4a')]=_0x5a85('0xc'),_0x4f947d));}[_0x5a85('0x3')](_0x439772){const _0x57e0f3=this['editor']['config'][_0x5a85('0x1c')]('revisionHistory.editorContainer');return this['editor'][_0x5a85('0x18')][_0x5a85('0x1c')](_0x5a85('0x6'))[_0x5a85('0x28')][_0x5a85('0x4a')]=_0x5a85('0xc'),_0x57e0f3[_0x5a85('0x28')]['display']='',_0x439772[_0x5a85('0x2b')]();}async['_restoreRevision'](_0xe671dd){const _0x401cd0=this[_0x5a85('0x4c')],_0x192f63=this[_0x5a85('0x20')][_0x5a85('0x33')][_0x5a85('0x1c')](_0x5a85('0x3b')),_0x4a3929=_0x401cd0[_0x5a85('0x33')][_0x5a85('0x1c')](_0x5a85('0x61')),_0x238704=_0x192f63[_0x5a85('0x36')][_0x5a85('0x24')](_0xe671dd);let _0x22fa39,_0x63f13a;try{_0x22fa39=await _0x192f63[_0x5a85('0x49')](_0x238704);}catch(_0x4cf744){return void console[_0x5a85('0x4e')](_0x4cf744);}_0x401cd0['model'][_0x5a85('0x3a')](_0xbdfd0d=>{for(const _0x109494 of Array[_0x5a85('0x58')](_0x401cd0['model'][_0x5a85('0x2c')][_0x5a85('0x5f')](_0x5a85('0x0'))))_0xbdfd0d['removeMarker'](_0x109494);}),_0x192f63[_0x5a85('0xe')]=!0x1,_0x401cd0[_0x5a85('0xd')][_0x5a85('0x5')](_0x22fa39,{'suppressErrorInCollaboration':!0x0});const _0x2a20e0=_0x301904(_0x401cd0[_0x5a85('0x27')],'Restored');if(_0x238704['name'])_0x63f13a=-0x1==_0x238704['name'][_0x5a85('0x3c')](_0x2a20e0)?_0x2a20e0+':\x20'+_0x238704[_0x5a85('0x2f')]:_0x238704[_0x5a85('0x2f')];else _0x63f13a=_0x2a20e0+':\x20'+(_0x238704[_0x5a85('0x5e')]['toLocaleDateString'](_0x401cd0[_0x5a85('0x27')][_0x5a85('0x3f')],{'month':_0x5a85('0x21'),'day':_0x5a85('0xb')})+',\x20'+_0x238704[_0x5a85('0x5e')][_0x5a85('0x4b')](_0x401cd0[_0x5a85('0x27')]['uiLanguage'],{'hour':_0x5a85('0xb'),'minute':_0x5a85('0xb')}));return await _0x4a3929[_0x5a85('0xf')]({'name':_0x63f13a}),_0x192f63[_0x5a85('0xe')]=!0x0,_0x401cd0[_0x5a85('0x18')][_0x5a85('0x1c')](_0x5a85('0x1f'))[_0x5a85('0x57')]();}}function H(_0x1299c4,_0x72d7de,_0x53e4cf){const _0x2a6c7e='function'==typeof _0x1299c4?_0x1299c4[_0x5a85('0x2d')]||_0x1299c4['name']:_0x1299c4;if(_0x53e4cf[_0x5a85('0x1e')](_0x2a6c7e))return!0x0;if(_0x53e4cf[_0x5a85('0x1b')](_0x2a6c7e),k[_0x5a85('0x1e')](_0x2a6c7e))return!0x1;const _0xdb0ff5=(('function'==typeof _0x1299c4?_0x1299c4:_0x72d7de['has'](_0x2a6c7e)?_0x72d7de['get'](_0x2a6c7e):{})[_0x5a85('0x60')]||[])[_0x5a85('0x15')](_0x3cefc6=>H(_0x3cefc6,_0x72d7de,_0x53e4cf));return _0xdb0ff5||k[_0x5a85('0x1b')](_0x2a6c7e),_0xdb0ff5;}
23
+ const _0x427d=['create','_recalculatePageBreaks','getMarkersGroup','isEnabled','filter','revisionHistory.editorContainer','markers','display','_showRevisionViewer','define','saveRevision','model','editor','disableReadOnlyMode','revisionHistory.viewerContainer','change','createdAt','uiLanguage','destroy','style','restoreRevision','getRevisions','Restored','config','revisionHistory.viewerEditorElement','context','Annotations','revisionHistory.closeRevisionViewerCallback','includes','fromVersion','long','_enhanceShowRevisionViewerCallback','indexOf','refreshVisibility','toJSON','concat','RevisionsRepository','name','_update','Users','constructor','locale','catch','_closeRevisionViewer','_enhanceCloseRevisionViewerCallback','set','numeric','addRevisionData','then','revisionHistory.showRevisionViewerCallback','get','RevisionHistory','toLocaleTimeString','RevisionViewer','_viewerEditor','bind','repository','requires','push','toolbar','RealTimeCollaborativeTrackChanges','isReady','showRevisionViewerCallback','RevisionTracker','RealTimeCollaborativeComments','map','adapter','_restoreRevision','RealTimeCollaborativeEditing','Autosave','plugins','initialData','save','data','commands','from','users','has','string','closeRevisionViewerCallback','RestrictedEditingMode','getRevisionData','_getRevisionViewerEditorConfig','every','builtinPlugins','PaginationLookup','revisionHistory','getUser','extraPlugins','isAnonymous','toLocaleDateString','update','revisionHistory.restoreRevisionCallback','refreshPositioning','enableReadOnlyMode','revision-history-viewer-opened','toVersion','function','error'];(function(_0x2a2483,_0x427d20){const _0x2b3eef=function(_0x2a4791){while(--_0x2a4791){_0x2a2483['push'](_0x2a2483['shift']());}};_0x2b3eef(++_0x427d20);}(_0x427d,0x115));const _0x2b3e=function(_0x2a2483,_0x427d20){_0x2a2483=_0x2a2483-0x0;let _0x2b3eef=_0x427d[_0x2a2483];return _0x2b3eef;};import{Plugin as _0x56400d}from'ckeditor5/src/core';import{CKEditorError as _0x33f8fa,uid as _0x2e5c56}from'ckeditor5/src/utils';import _0xf6955 from'./revisiontracker';import _0x4ca717 from'./ui/revisionhistory/revisionhistoryui';import _0x3d48ba from'./revisionviewer';import _0x53f593 from'./ui/revisionviewer/revisionviewerui';import _0x338008 from'./ui/revisionssidebar/revisionssidebar';import _0x7b047e from'./editor/revisionviewereditor';import{getTranslation as _0x4e42f3}from'./utils/common-translations';const g=[_0x2b3e('0x2d')],k=[_0x2b3e('0x53'),'RevisionHistoryUI',_0x2b3e('0x58'),_0x2b3e('0x54'),_0x2b3e('0x50'),_0x2b3e('0x1'),_0x2b3e('0x59')];export default class C extends _0x56400d{static get['pluginName'](){return _0x2b3e('0x47');}static get[_0x2b3e('0x4d')](){return[_0xf6955,_0x4ca717];}constructor(..._0x1be638){if(super(..._0x1be638),!this[_0x2b3e('0x20')][_0x2b3e('0x2b')][_0x2b3e('0x46')](_0x2b3e('0x7')))throw new _0x33f8fa('revision-history-missing-configuration',this);this['_viewerEditor']=null,this[_0x2b3e('0x20')][_0x2b3e('0x2b')][_0x2b3e('0x1d')]('revisionHistory.showRevisionViewerCallback',_0x48dcf1=>this[_0x2b3e('0x1c')](_0x48dcf1)),this[_0x2b3e('0x20')][_0x2b3e('0x2b')]['define'](_0x2b3e('0x2f'),_0x574a10=>this['_closeRevisionViewer'](_0x574a10)),this['editor']['config']['define'](_0x2b3e('0xd'),_0x34b6dc=>this[_0x2b3e('0x57')](_0x34b6dc)),this[_0x2b3e('0x33')](),this[_0x2b3e('0x40')]();}set[_0x2b3e('0x56')](_0x1bcbb6){this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x53'))[_0x2b3e('0x56')]=_0x1bcbb6;}get[_0x2b3e('0x56')](){return this[_0x2b3e('0x20')][_0x2b3e('0x5a')]['get'](_0x2b3e('0x53'))[_0x2b3e('0x56')];}[_0x2b3e('0x43')](..._0x4c7a75){return this['editor'][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x53'))[_0x2b3e('0x43')](..._0x4c7a75);}['getRevision'](..._0x837bf5){return this['editor'][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x38'))['getRevision'](..._0x837bf5);}['getRevisions'](..._0x35e978){return this['editor'][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x38'))[_0x2b3e('0x29')](..._0x35e978);}[_0x2b3e('0x3')](){const _0x280ebb={},_0x4da940=this[_0x2b3e('0x20')],_0x1cba5c=_0x4da940[_0x2b3e('0x5a')][_0x2b3e('0x46')]('RevisionTracker'),_0x3d86cd=_0x4da940[_0x2b3e('0x5a')][_0x2b3e('0x46')]('Users')[_0x2b3e('0x60')];for(const _0x14dbf9 of _0x4da940['config']['names']())g['includes'](_0x14dbf9)||(_0x280ebb[_0x14dbf9]=_0x4da940['config']['get'](_0x14dbf9));_0x280ebb[_0x2b3e('0x5b')]='',_0x280ebb[_0x2b3e('0x4f')]=['exitToEditing','restoreRevision','changesNavigation'];const _0x536f58=this['editor'][_0x2b3e('0x3c')][_0x2b3e('0x5')]||[],_0x43af7e=_0x280ebb[_0x2b3e('0x9')]||[];delete _0x280ebb[_0x2b3e('0x9')];const _0x32a7ee=_0x536f58['concat'](_0x280ebb[_0x2b3e('0x5a')])[_0x2b3e('0x37')](_0x43af7e)[_0x2b3e('0x55')](_0x1be884=>_0x2b3e('0x62')==typeof _0x1be884?_0x536f58['find'](_0x4bea33=>_0x4bea33['pluginName']==_0x1be884):_0x1be884);return _0x280ebb[_0x2b3e('0x5a')]=Array[_0x2b3e('0x5f')](new Set(_0x32a7ee))[_0x2b3e('0x18')](_0x37ee0e=>b(_0x37ee0e,_0x4da940['plugins'],[])),(_0x280ebb[_0x2b3e('0x5a')][_0x2b3e('0x4e')](_0x3d48ba,_0x53f593,class extends _0x56400d{static get[_0x2b3e('0x4d')](){return[_0x3d48ba,_0x2b3e('0x3b')];}['init'](){const _0x2da100=this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x3b'));for(const _0x51a414 of _0x3d86cd)_0x51a414[_0x2b3e('0xa')]||_0x2da100[_0x2b3e('0x8')](_0x51a414['id'])||_0x2da100['addUser'](_0x51a414);const _0x3bc672=_0x1cba5c[_0x2b3e('0x4c')][_0x2b3e('0x29')]();let _0x1df40f=null;const _0x414e1b=this[_0x2b3e('0x20')]['plugins'][_0x2b3e('0x46')](_0x2b3e('0x49'));_0x414e1b[_0x2b3e('0x56')]=_0x1cba5c[_0x2b3e('0x56')],_0x414e1b[_0x2b3e('0x4b')](_0x2b3e('0x17'))['to'](_0x1cba5c),this['editor'][_0x2b3e('0x5e')][_0x2b3e('0x46')](_0x2b3e('0x28'))['bind']('isEnabled')['to'](_0x4da940,'isReadOnly',_0x1e7b7c=>!_0x1e7b7c);for(const _0x27b16a of _0x3bc672){const _0x293928=null===_0x27b16a['creator'];if(_0x293928&&_0x27b16a['toVersion']===_0x27b16a[_0x2b3e('0x31')])continue;const _0x5992cb=_0x27b16a[_0x2b3e('0x36')]();_0x414e1b[_0x2b3e('0x43')](_0x5992cb,(_0x5a14bc,_0x3fecb5,_0x343649)=>{if(_0x293928){if(_0x1df40f)_0x1df40f['_update'](_0x5a14bc,_0x3fecb5);else{if(!_0x3fecb5){const _0x226da7=_0x343649[_0x2b3e('0x36')]();_0x226da7['id']=_0x2e5c56(),_0x1cba5c['saveRevision'](_0x226da7,_0x343649[_0x2b3e('0x11')])[_0x2b3e('0x44')](_0x507a13=>{_0x1df40f=_0x507a13;});}}}else _0x27b16a[_0x2b3e('0x3a')](_0x5a14bc,_0x3fecb5);});}}},_0x338008),_0x280ebb);}[_0x2b3e('0x33')](){const _0x55a9b0=this[_0x2b3e('0x20')][_0x2b3e('0x2b')]['get'](_0x2b3e('0x7'))[_0x2b3e('0x52')];this[_0x2b3e('0x20')][_0x2b3e('0x2b')][_0x2b3e('0x41')](_0x2b3e('0x45'),async()=>{this['editor'][_0x2b3e('0xf')](_0x2b3e('0x10'));const _0x4114ef=this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x46')]('RevisionTracker');this['editor']['plugins'][_0x2b3e('0x61')](_0x2b3e('0x59'))?await this['editor']['plugins']['get'](_0x2b3e('0x59'))[_0x2b3e('0x5c')]():await _0x4114ef[_0x2b3e('0xc')](),this[_0x2b3e('0x20')][_0x2b3e('0x5a')]['has'](_0x2b3e('0x6'))&&this[_0x2b3e('0x20')]['plugins'][_0x2b3e('0x46')](_0x2b3e('0x6'))['_recalculatePageBreaks']();const _0x305ffb=this[_0x2b3e('0x3')]();return _0x55a9b0(_0x305ffb)[_0x2b3e('0x44')](_0x1e2c83=>{this[_0x2b3e('0x4a')]=_0x1e2c83,this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x61')](_0x2b3e('0x2e'))&&this[_0x2b3e('0x20')]['plugins'][_0x2b3e('0x46')](_0x2b3e('0x2e'))['refreshVisibility']();})[_0x2b3e('0x3e')](_0x5bf70e=>{console[_0x2b3e('0x13')](_0x5bf70e),this[_0x2b3e('0x20')][_0x2b3e('0x21')](_0x2b3e('0x10'));});});}[_0x2b3e('0x40')](){const _0x2d3a12=this['editor'][_0x2b3e('0x2b')][_0x2b3e('0x46')](_0x2b3e('0x7'))[_0x2b3e('0x0')];this[_0x2b3e('0x20')][_0x2b3e('0x2b')]['set'](_0x2b3e('0x2f'),()=>(this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x61')](_0x2b3e('0x6'))&&this[_0x2b3e('0x20')][_0x2b3e('0x5a')][_0x2b3e('0x46')]('PaginationLookup')[_0x2b3e('0x15')](),_0x2d3a12(this[_0x2b3e('0x4a')])[_0x2b3e('0x44')](()=>{this[_0x2b3e('0x20')][_0x2b3e('0x21')](_0x2b3e('0x10')),this[_0x2b3e('0x4a')]=null,this[_0x2b3e('0x20')][_0x2b3e('0x5a')]['has'](_0x2b3e('0x2e'))&&(this['editor'][_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x2e'))[_0x2b3e('0x35')](),this[_0x2b3e('0x20')]['plugins'][_0x2b3e('0x46')](_0x2b3e('0x2e'))[_0x2b3e('0xe')]());})));}[_0x2b3e('0x1c')](_0x14ad2b){const _0x5a62ee=this['editor'][_0x2b3e('0x2b')]['get'](_0x2b3e('0x19')),_0x2503c1=this[_0x2b3e('0x20')]['config']['get'](_0x2b3e('0x22')),_0xbfbc03=this[_0x2b3e('0x20')]['config'][_0x2b3e('0x46')](_0x2b3e('0x2c'));return _0x7b047e[_0x2b3e('0x14')](_0xbfbc03,_0x14ad2b)[_0x2b3e('0x44')](_0x435bdc=>(_0x2503c1['style'][_0x2b3e('0x1b')]='block',_0x5a62ee['style'][_0x2b3e('0x1b')]='none',_0x435bdc));}[_0x2b3e('0x3f')](_0x1d1145){const _0xc15378=this[_0x2b3e('0x20')][_0x2b3e('0x2b')]['get'](_0x2b3e('0x19'));return this['editor'][_0x2b3e('0x2b')][_0x2b3e('0x46')](_0x2b3e('0x22'))[_0x2b3e('0x27')][_0x2b3e('0x1b')]='none',_0xc15378['style'][_0x2b3e('0x1b')]='',_0x1d1145[_0x2b3e('0x26')]();}async['_restoreRevision'](_0x4b6348){const _0x3336e7=this[_0x2b3e('0x20')],_0x138c8a=this[_0x2b3e('0x4a')][_0x2b3e('0x5a')]['get']('RevisionViewer'),_0xa7d1e7=_0x3336e7[_0x2b3e('0x5a')][_0x2b3e('0x46')](_0x2b3e('0x53')),_0x2de84f=_0x138c8a[_0x2b3e('0x4c')]['getRevision'](_0x4b6348);let _0x59efbd,_0x35cc10;try{_0x59efbd=await _0x138c8a[_0x2b3e('0x2')](_0x2de84f);}catch(_0x46d9dc){return void console[_0x2b3e('0x13')](_0x46d9dc);}_0x3336e7[_0x2b3e('0x1f')][_0x2b3e('0x23')](_0x5dce25=>{for(const _0x17985c of Array['from'](_0x3336e7[_0x2b3e('0x1f')][_0x2b3e('0x1a')][_0x2b3e('0x16')]('restrictedEditingException')))_0x5dce25['removeMarker'](_0x17985c);}),_0x138c8a[_0x2b3e('0x51')]=!0x1,_0x3336e7[_0x2b3e('0x5d')][_0x2b3e('0x41')](_0x59efbd,{'suppressErrorInCollaboration':!0x0});const _0x307329=_0x4e42f3(_0x3336e7['locale'],_0x2b3e('0x2a'));if(_0x2de84f[_0x2b3e('0x39')])_0x35cc10=-0x1==_0x2de84f[_0x2b3e('0x39')][_0x2b3e('0x34')](_0x307329)?_0x307329+':\x20'+_0x2de84f['name']:_0x2de84f[_0x2b3e('0x39')];else _0x35cc10=_0x307329+':\x20'+(_0x2de84f[_0x2b3e('0x24')][_0x2b3e('0xb')](_0x3336e7[_0x2b3e('0x3d')][_0x2b3e('0x25')],{'month':_0x2b3e('0x32'),'day':_0x2b3e('0x42')})+',\x20'+_0x2de84f[_0x2b3e('0x24')][_0x2b3e('0x48')](_0x3336e7['locale'][_0x2b3e('0x25')],{'hour':_0x2b3e('0x42'),'minute':'numeric'}));return await _0xa7d1e7[_0x2b3e('0x1e')]({'name':_0x35cc10}),_0x138c8a[_0x2b3e('0x51')]=!0x0,_0x3336e7[_0x2b3e('0x2b')]['get'](_0x2b3e('0x7'))['closeRevisionViewerCallback']();}}function b(_0x1f4c45,_0x1604ab,_0x30f023){const _0x29b77d='function'==typeof _0x1f4c45?_0x1f4c45['pluginName']||_0x1f4c45['name']:_0x1f4c45;if(_0x30f023[_0x2b3e('0x30')](_0x29b77d))return!0x0;if(_0x30f023[_0x2b3e('0x4e')](_0x29b77d),k[_0x2b3e('0x30')](_0x29b77d))return!0x1;const _0x3ebe42=((_0x2b3e('0x12')==typeof _0x1f4c45?_0x1f4c45:_0x1604ab[_0x2b3e('0x61')](_0x29b77d)?_0x1604ab[_0x2b3e('0x46')](_0x29b77d):{})[_0x2b3e('0x4d')]||[])[_0x2b3e('0x4')](_0x186aee=>b(_0x186aee,_0x1604ab,_0x30f023));return _0x3ebe42||k[_0x2b3e('0x4e')](_0x29b77d),_0x3ebe42;}