@ckeditor/ckeditor5-revision-history 34.1.0 → 35.1.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 (99) hide show
  1. package/README.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/bg.js +1 -0
  5. package/build/translations/bn.js +1 -0
  6. package/build/translations/ca.js +1 -0
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/es.js +1 -1
  10. package/build/translations/et.js +1 -1
  11. package/build/translations/fi.js +1 -0
  12. package/build/translations/fr.js +1 -1
  13. package/build/translations/he.js +1 -1
  14. package/build/translations/hi.js +1 -1
  15. package/build/translations/hu.js +1 -1
  16. package/build/translations/id.js +1 -1
  17. package/build/translations/it.js +1 -1
  18. package/build/translations/ja.js +1 -1
  19. package/build/translations/ko.js +1 -1
  20. package/build/translations/lt.js +1 -0
  21. package/build/translations/ms.js +1 -0
  22. package/build/translations/nl.js +1 -1
  23. package/build/translations/no.js +1 -1
  24. package/build/translations/pl.js +1 -1
  25. package/build/translations/pt-br.js +1 -1
  26. package/build/translations/pt.js +1 -0
  27. package/build/translations/ro.js +1 -1
  28. package/build/translations/ru.js +1 -1
  29. package/build/translations/sr.js +1 -1
  30. package/build/translations/sv.js +1 -0
  31. package/build/translations/th.js +1 -0
  32. package/build/translations/tr.js +1 -1
  33. package/build/translations/uk.js +1 -1
  34. package/build/translations/vi.js +1 -1
  35. package/build/translations/zh.js +1 -1
  36. package/ckeditor5-metadata.json +1 -1
  37. package/lang/translations/ar.po +127 -0
  38. package/lang/translations/bg.po +123 -0
  39. package/lang/translations/bn.po +123 -0
  40. package/lang/translations/ca.po +123 -0
  41. package/lang/translations/da.po +25 -25
  42. package/lang/translations/de.po +3 -3
  43. package/lang/translations/es.po +2 -1
  44. package/lang/translations/et.po +25 -25
  45. package/lang/translations/fi.po +123 -0
  46. package/lang/translations/fr.po +25 -24
  47. package/lang/translations/he.po +28 -28
  48. package/lang/translations/hi.po +25 -25
  49. package/lang/translations/hu.po +19 -19
  50. package/lang/translations/id.po +13 -13
  51. package/lang/translations/it.po +2 -1
  52. package/lang/translations/ja.po +25 -25
  53. package/lang/translations/ko.po +24 -24
  54. package/lang/translations/lt.po +125 -0
  55. package/lang/translations/ms.po +122 -0
  56. package/lang/translations/nl.po +3 -3
  57. package/lang/translations/no.po +25 -25
  58. package/lang/translations/pl.po +5 -5
  59. package/lang/translations/pt-br.po +2 -1
  60. package/lang/translations/pt.po +124 -0
  61. package/lang/translations/ro.po +6 -6
  62. package/lang/translations/ru.po +27 -27
  63. package/lang/translations/sr.po +3 -3
  64. package/lang/translations/sv.po +123 -0
  65. package/lang/translations/th.po +122 -0
  66. package/lang/translations/tr.po +6 -6
  67. package/lang/translations/uk.po +27 -27
  68. package/lang/translations/vi.po +25 -25
  69. package/lang/translations/zh.po +23 -23
  70. package/package.json +7 -7
  71. package/src/changeitem.js +1 -1
  72. package/src/editor/revisionviewereditor.js +1 -1
  73. package/src/editor/revisionviewereditorui.js +1 -1
  74. package/src/editor/revisionviewereditoruiview.js +1 -1
  75. package/src/revision.js +1 -1
  76. package/src/revisiondiff.js +1 -1
  77. package/src/revisionhistory.js +1 -1
  78. package/src/revisionsrepository.js +1 -1
  79. package/src/revisiontracker.js +1 -1
  80. package/src/revisionviewer.js +1 -1
  81. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  82. package/src/ui/revision/revisionauthorview.js +1 -1
  83. package/src/ui/revision/revisionnameview.js +1 -1
  84. package/src/ui/revision/revisionview.js +1 -1
  85. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  86. package/src/ui/revision/subrevisionview.js +1 -1
  87. package/src/ui/revision/utils.js +1 -1
  88. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  89. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  90. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  91. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  92. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  93. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  94. package/src/ui/revisionssidebar/utils.js +1 -1
  95. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  96. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  97. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  98. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  99. 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.1.0",
3
+ "version": "35.1.0",
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.1.0",
29
- "@ckeditor/ckeditor5-ui": "^34.1.0",
30
- "@ckeditor/ckeditor5-undo": "^34.1.0",
31
- "@ckeditor/ckeditor5-editor-classic": "^34.1.0",
32
- "ckeditor5": "^34.1.0",
33
- "ckeditor5-collaboration": "^34.1.0",
28
+ "@ckeditor/ckeditor5-core": "^35.1.0",
29
+ "@ckeditor/ckeditor5-ui": "^35.1.0",
30
+ "@ckeditor/ckeditor5-undo": "^35.1.0",
31
+ "@ckeditor/ckeditor5-editor-classic": "^35.1.0",
32
+ "ckeditor5": "^35.1.0",
33
+ "ckeditor5-collaboration": "^35.1.0",
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 _0x22fc=['data','createdAt','author','type','toJSON','set'];(function(_0x38ea4d,_0x22fc43){var _0x307ae8=function(_0x5ebcf4){while(--_0x5ebcf4){_0x38ea4d['push'](_0x38ea4d['shift']());}};_0x307ae8(++_0x22fc43);}(_0x22fc,0x153));var _0x307a=function(_0x38ea4d,_0x22fc43){_0x38ea4d=_0x38ea4d-0x0;var _0x307ae8=_0x22fc[_0x38ea4d];return _0x307ae8;};import{ObservableMixin as _0xa0083d,mix as _0x57821d,uid as _0x24f0d3}from'ckeditor5/src/utils';export default class h{constructor(_0x1b5204){this['id']=_0x1b5204['id']||_0x24f0d3(),this[_0x307a('0x5')]=_0x1b5204[_0x307a('0x5')],this['type']=_0x1b5204[_0x307a('0x0')],this[_0x307a('0x3')]=_0x1b5204['data']||{},this[_0x307a('0x2')](_0x307a('0x4'),_0x1b5204['createdAt']);}[_0x307a('0x1')](){return{'id':this['id'],'authorId':this['author']['id'],'type':this[_0x307a('0x0')],'data':this[_0x307a('0x3')],'createdAt':this['createdAt']};}}_0x57821d(h,_0xa0083d);
23
+ var _0x3089=['data','toJSON','author','type','createdAt'];(function(_0x46ffab,_0x308939){var _0x3cfd0c=function(_0x17e47f){while(--_0x17e47f){_0x46ffab['push'](_0x46ffab['shift']());}};_0x3cfd0c(++_0x308939);}(_0x3089,0x18e));var _0x3cfd=function(_0x46ffab,_0x308939){_0x46ffab=_0x46ffab-0x0;var _0x3cfd0c=_0x3089[_0x46ffab];return _0x3cfd0c;};import{ObservableMixin as _0x145e4a,mix as _0x2cefee,uid as _0x307969}from'ckeditor5/src/utils';export default class h{constructor(_0x191823){this['id']=_0x191823['id']||_0x307969(),this[_0x3cfd('0x4')]=_0x191823['author'],this[_0x3cfd('0x0')]=_0x191823[_0x3cfd('0x0')],this[_0x3cfd('0x2')]=_0x191823[_0x3cfd('0x2')]||{},this['set'](_0x3cfd('0x1'),_0x191823[_0x3cfd('0x1')]);}[_0x3cfd('0x3')](){return{'id':this['id'],'authorId':this[_0x3cfd('0x4')]['id'],'type':this[_0x3cfd('0x0')],'data':this[_0x3cfd('0x2')],'createdAt':this['createdAt']};}}_0x2cefee(h,_0x145e4a);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13e3=['updateSourceElement','create','initialData','initPlugins','get','locale','data','init','ready','document','config','sourceElement','view','destroy','model','editing','fire'];(function(_0xa1a107,_0x13e368){const _0x2f36ba=function(_0x5bda90){while(--_0x5bda90){_0xa1a107['push'](_0xa1a107['shift']());}};_0x2f36ba(++_0x13e368);}(_0x13e3,0x8e));const _0x2f36=function(_0xa1a107,_0x13e368){_0xa1a107=_0xa1a107-0x0;let _0x2f36ba=_0x13e3[_0xa1a107];return _0x2f36ba;};import{Editor as _0x4a9ed3,DataApiMixin as _0x3564fb,ElementApiMixin as _0x5ea074}from'ckeditor5/src/core';import{mix as _0x279f48}from'ckeditor5/src/utils';import _0x1b64ec from'./revisionviewereditorui';import _0x3226e1 from'./revisionviewereditoruiview';export default class m extends _0x4a9ed3{constructor(_0x30fbe8,_0x1e81c6){super(_0x1e81c6),this[_0x2f36('0x5')]=_0x30fbe8,this[_0x2f36('0x8')][_0x2f36('0x3')]['createRoot']();const _0x5245f7=new _0x3226e1(this[_0x2f36('0x10')],this[_0x2f36('0x9')][_0x2f36('0x6')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x1b64ec(this,_0x5245f7);}[_0x2f36('0x7')](){return this[_0x2f36('0xb')](),this['ui'][_0x2f36('0x7')](),super[_0x2f36('0x7')]();}static async[_0x2f36('0xc')](_0x5a5189,_0x42f3a5){const _0x39f3be=new this(_0x5a5189,_0x42f3a5);return await _0x39f3be[_0x2f36('0xe')](),await _0x39f3be['ui'][_0x2f36('0x1')](_0x5a5189),await _0x39f3be[_0x2f36('0x0')][_0x2f36('0x1')](_0x39f3be[_0x2f36('0x4')][_0x2f36('0xf')](_0x2f36('0xd'))),_0x39f3be[_0x2f36('0xa')](_0x2f36('0x2')),_0x39f3be;}}_0x279f48(m,_0x3564fb),_0x279f48(m,_0x5ea074);
23
+ const _0x926f=['view','createRoot','create','init','get','sourceElement','destroy','document','editing','config','updateSourceElement','model','initPlugins','data','fire','locale'];(function(_0x42d53f,_0x926fd7){const _0x29522e=function(_0x33c19d){while(--_0x33c19d){_0x42d53f['push'](_0x42d53f['shift']());}};_0x29522e(++_0x926fd7);}(_0x926f,0x17d));const _0x2952=function(_0x42d53f,_0x926fd7){_0x42d53f=_0x42d53f-0x0;let _0x29522e=_0x926f[_0x42d53f];return _0x29522e;};import{Editor as _0x535044,DataApiMixin as _0x21ef81,ElementApiMixin as _0x20c361}from'ckeditor5/src/core';import{mix as _0x3f30b6}from'ckeditor5/src/utils';import _0x2f9dae from'./revisionviewereditorui';import _0x425398 from'./revisionviewereditoruiview';export default class w extends _0x535044{constructor(_0x36ff67,_0x1245d2){super(_0x1245d2),this[_0x2952('0x8')]=_0x36ff67,this[_0x2952('0xe')][_0x2952('0xa')][_0x2952('0x4')]();const _0x551b0a=new _0x425398(this[_0x2952('0x2')],this[_0x2952('0xb')][_0x2952('0x3')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x2f9dae(this,_0x551b0a);}[_0x2952('0x9')](){return this[_0x2952('0xd')](),this['ui'][_0x2952('0x9')](),super[_0x2952('0x9')]();}static async[_0x2952('0x5')](_0x290242,_0x4c1ebe){const _0x1a8cfa=new this(_0x290242,_0x4c1ebe);return await _0x1a8cfa[_0x2952('0xf')](),await _0x1a8cfa['ui'][_0x2952('0x6')](_0x290242),await _0x1a8cfa[_0x2952('0x0')]['init'](_0x1a8cfa[_0x2952('0xc')][_0x2952('0x7')]('initialData')),_0x1a8cfa[_0x2952('0x1')]('ready'),_0x1a8cfa;}}_0x3f30b6(w,_0x21ef81),_0x3f30b6(w,_0x20c361);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f08=['focusTracker','render','toolbar','ready','fillFromConfig','editor','_initToolbar','view','fire','element','setEditableElement','init','keystrokes','viewportTopOffset','detachDomRoot','_elementReplacer','editing','bind','isFocused','get','stickyPanel','attachDomRoot','replace','limiterElement','editable','name','document','restore','destroy','_toolbarConfig','isActive'];(function(_0x224fda,_0x5f0892){const _0x29dbbe=function(_0x53da14){while(--_0x53da14){_0x224fda['push'](_0x224fda['shift']());}};_0x29dbbe(++_0x5f0892);}(_0x5f08,0x6c));const _0x29db=function(_0x224fda,_0x5f0892){_0x224fda=_0x224fda-0x0;let _0x29dbbe=_0x5f08[_0x224fda];return _0x29dbbe;};import{EditorUI as _0x13715f}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0x40904b,normalizeToolbarConfig as _0x42ef1b}from'ckeditor5/src/ui';import{ElementReplacer as _0x366bed}from'ckeditor5/src/utils';export default class it extends _0x13715f{constructor(_0x4c4ee3,_0x3e6543){super(_0x4c4ee3),this['view']=_0x3e6543,this[_0x29db('0xe')]=_0x42ef1b(_0x4c4ee3['config'][_0x29db('0x4')]('toolbar')),this[_0x29db('0x0')]=new _0x366bed();}get[_0x29db('0x19')](){return this[_0x29db('0x17')][_0x29db('0x19')];}[_0x29db('0x1b')](_0x5d4b09){const _0x225f2a=this[_0x29db('0x15')],_0x506920=this[_0x29db('0x17')],_0x1268c8=_0x225f2a[_0x29db('0x1')][_0x29db('0x17')],_0x2b6366=_0x506920[_0x29db('0x9')],_0x3509fd=_0x1268c8[_0x29db('0xb')]['getRoot']();_0x2b6366[_0x29db('0xa')]=_0x3509fd['rootName'],_0x506920[_0x29db('0x11')]();const _0x1e4ccf=_0x2b6366[_0x29db('0x19')];this[_0x29db('0x1a')](_0x2b6366['name'],_0x1e4ccf),this[_0x29db('0x10')]['add'](_0x1e4ccf),_0x506920['editable'][_0x29db('0x2')](_0x29db('0x3'))['to'](this[_0x29db('0x10')]),_0x1268c8[_0x29db('0x6')](_0x1e4ccf),this[_0x29db('0x0')][_0x29db('0x7')](_0x5d4b09,this[_0x29db('0x19')]),this[_0x29db('0x16')](),this[_0x29db('0x18')](_0x29db('0x13'));}['destroy'](){const _0x179edc=this[_0x29db('0x17')],_0x29701c=this['editor']['editing']['view'];this[_0x29db('0x0')][_0x29db('0xc')](),_0x29701c[_0x29db('0x1e')](_0x179edc[_0x29db('0x9')][_0x29db('0xa')]),_0x179edc[_0x29db('0xd')](),super[_0x29db('0xd')]();}[_0x29db('0x16')](){const _0x3dc0fa=this[_0x29db('0x15')],_0x5aa8b1=this[_0x29db('0x17')],_0x8d888a=_0x3dc0fa[_0x29db('0x1')]['view'];_0x5aa8b1[_0x29db('0x5')]['bind'](_0x29db('0xf'))['to'](this[_0x29db('0x10')],_0x29db('0x3')),_0x5aa8b1['stickyPanel'][_0x29db('0x8')]=_0x5aa8b1[_0x29db('0x19')],_0x5aa8b1[_0x29db('0x5')][_0x29db('0x2')](_0x29db('0x1d'))['to'](this,'viewportOffset',({top:_0x334b4d})=>_0x334b4d),_0x5aa8b1['toolbar'][_0x29db('0x14')](this[_0x29db('0xe')],this['componentFactory']),_0x40904b({'origin':_0x8d888a,'originFocusTracker':this[_0x29db('0x10')],'originKeystrokeHandler':_0x3dc0fa[_0x29db('0x1c')],'toolbar':_0x5aa8b1[_0x29db('0x12')]});}}
23
+ const _0x5a72=['render','document','isFocused','view','get','viewportTopOffset','fire','focusTracker','isActive','toolbar','editor','addToolbar','_initToolbar','bind','element','componentFactory','destroy','attachDomRoot','name','editable','_toolbarConfig','rootName','restore','_elementReplacer','editing','viewportOffset','fillFromConfig','init','detachDomRoot','stickyPanel'];(function(_0x4cabef,_0x5a726e){const _0x3a35ab=function(_0x4721e7){while(--_0x4721e7){_0x4cabef['push'](_0x4cabef['shift']());}};_0x3a35ab(++_0x5a726e);}(_0x5a72,0x1a6));const _0x3a35=function(_0x4cabef,_0x5a726e){_0x4cabef=_0x4cabef-0x0;let _0x3a35ab=_0x5a72[_0x4cabef];return _0x3a35ab;};import{EditorUI as _0x1de126}from'ckeditor5/src/core';import{normalizeToolbarConfig as _0x34323b}from'ckeditor5/src/ui';import{ElementReplacer as _0x218059}from'ckeditor5/src/utils';export default class ot extends _0x1de126{constructor(_0x7593b,_0x3c7d36){super(_0x7593b),this[_0x3a35('0x1')]=_0x3c7d36,this[_0x3a35('0x12')]=_0x34323b(_0x7593b['config'][_0x3a35('0x2')](_0x3a35('0x7'))),this[_0x3a35('0x15')]=new _0x218059();}get[_0x3a35('0xc')](){return this[_0x3a35('0x1')][_0x3a35('0xc')];}[_0x3a35('0x19')](_0x50e1ac){const _0x2ec3d9=this[_0x3a35('0x8')],_0x1c8c18=this[_0x3a35('0x1')],_0x3b5805=_0x2ec3d9[_0x3a35('0x16')][_0x3a35('0x1')],_0x30353b=_0x1c8c18[_0x3a35('0x11')],_0x46325e=_0x3b5805[_0x3a35('0x1d')]['getRoot']();_0x30353b[_0x3a35('0x10')]=_0x46325e[_0x3a35('0x13')],_0x1c8c18[_0x3a35('0x1c')]();const _0x4899fe=_0x30353b[_0x3a35('0xc')];this['setEditableElement'](_0x30353b[_0x3a35('0x10')],_0x4899fe),_0x1c8c18['editable'][_0x3a35('0xb')](_0x3a35('0x0'))['to'](this[_0x3a35('0x5')]),_0x3b5805[_0x3a35('0xf')](_0x4899fe),this['_elementReplacer']['replace'](_0x50e1ac,this['element']),this[_0x3a35('0xa')](),this[_0x3a35('0x4')]('ready');}['destroy'](){const _0x3f7e38=this[_0x3a35('0x1')],_0x5163af=this[_0x3a35('0x8')][_0x3a35('0x16')][_0x3a35('0x1')];this[_0x3a35('0x15')][_0x3a35('0x14')](),_0x5163af[_0x3a35('0x1a')](_0x3f7e38['editable'][_0x3a35('0x10')]),_0x3f7e38[_0x3a35('0xe')](),super['destroy']();}[_0x3a35('0xa')](){const _0x186fef=this[_0x3a35('0x1')];_0x186fef[_0x3a35('0x1b')][_0x3a35('0xb')](_0x3a35('0x6'))['to'](this['focusTracker'],_0x3a35('0x0')),_0x186fef['stickyPanel']['limiterElement']=_0x186fef[_0x3a35('0xc')],_0x186fef[_0x3a35('0x1b')][_0x3a35('0xb')](_0x3a35('0x3'))['to'](this,_0x3a35('0x17'),({top:_0x24a6fa})=>_0x24a6fa),_0x186fef[_0x3a35('0x7')][_0x3a35('0x18')](this['_toolbarConfig'],this[_0x3a35('0xd')]),this[_0x3a35('0x9')](_0x186fef[_0x3a35('0x7')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3938=['stickyPanel','toolbar','top','add','shouldToolbarGroupWhenFull','render','editable'];(function(_0x3aa1e5,_0x39388d){var _0x740c92=function(_0x24fe1e){while(--_0x24fe1e){_0x3aa1e5['push'](_0x3aa1e5['shift']());}};_0x740c92(++_0x39388d);}(_0x3938,0x15a));var _0x740c=function(_0x3aa1e5,_0x39388d){_0x3aa1e5=_0x3aa1e5-0x0;var _0x740c92=_0x3938[_0x3aa1e5];return _0x740c92;};import{BoxedEditorUIView as _0x5609e9,InlineEditableUIView as _0xea37a,StickyPanelView as _0x4d9b2d,ToolbarView as _0x44f55c}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class rt extends _0x5609e9{constructor(_0x57b684,_0x5afa54,_0x8e1fab={}){super(_0x57b684),this[_0x740c('0x4')]=new _0x4d9b2d(_0x57b684),this[_0x740c('0x5')]=new _0x44f55c(_0x57b684,{'shouldGroupWhenFull':_0x8e1fab[_0x740c('0x1')]}),this[_0x740c('0x3')]=new _0xea37a(_0x57b684,_0x5afa54);}[_0x740c('0x2')](){super['render'](),this[_0x740c('0x4')]['content'][_0x740c('0x0')](this[_0x740c('0x5')]),this[_0x740c('0x6')][_0x740c('0x0')](this[_0x740c('0x4')]),this['main']['add'](this['editable']);}}
23
+ var _0x4ea0=['stickyPanel','add','toolbar','content','editable','shouldToolbarGroupWhenFull','top','render'];(function(_0xd26fd0,_0x4ea065){var _0x50b7c1=function(_0x87bbe5){while(--_0x87bbe5){_0xd26fd0['push'](_0xd26fd0['shift']());}};_0x50b7c1(++_0x4ea065);}(_0x4ea0,0x9b));var _0x50b7=function(_0xd26fd0,_0x4ea065){_0xd26fd0=_0xd26fd0-0x0;var _0x50b7c1=_0x4ea0[_0xd26fd0];return _0x50b7c1;};import{BoxedEditorUIView as _0x38aa75,InlineEditableUIView as _0x3fedee,StickyPanelView as _0x4aae67,ToolbarView as _0x29a2fb}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x38aa75{constructor(_0x28bdc2,_0x1bfaf0,_0x2db95b={}){super(_0x28bdc2),this['stickyPanel']=new _0x4aae67(_0x28bdc2),this[_0x50b7('0x7')]=new _0x29a2fb(_0x28bdc2,{'shouldGroupWhenFull':_0x2db95b[_0x50b7('0x2')]}),this[_0x50b7('0x1')]=new _0x3fedee(_0x28bdc2,_0x1bfaf0);}[_0x50b7('0x4')](){super[_0x50b7('0x4')](),this[_0x50b7('0x5')][_0x50b7('0x0')][_0x50b7('0x6')](this[_0x50b7('0x7')]),this[_0x50b7('0x3')][_0x50b7('0x6')](this[_0x50b7('0x5')]),this['main'][_0x50b7('0x6')](this[_0x50b7('0x1')]);}}
package/src/revision.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30b3=['toVersion','setAttribute','setName','map','set','creator','_update','name','creatorId','authorsIds','diffData','authors','fromVersion','toJSON','attributes','createdAt','fire','removeAttribute'];(function(_0x2e5365,_0x30b3db){const _0x32f09a=function(_0x49aa77){while(--_0x49aa77){_0x2e5365['push'](_0x2e5365['shift']());}};_0x32f09a(++_0x30b3db);}(_0x30b3,0x126));const _0x32f0=function(_0x2e5365,_0x30b3db){_0x2e5365=_0x2e5365-0x0;let _0x32f09a=_0x30b3[_0x2e5365];return _0x32f09a;};import{ObservableMixin as _0x2fafe8,mix as _0x5819fb,uid as _0xcffe2b}from'ckeditor5/src/utils';import{cloneDeep as _0x46ee41,set as _0x6f0b3d,unset as _0x52b3d4}from'lodash-es';export default class n{constructor(_0x21fd51){this['id']=_0x21fd51['id']||_0xcffe2b(),this[_0x32f0('0x10')]('name',_0x21fd51[_0x32f0('0x1')]||''),this[_0x32f0('0x11')]=_0x21fd51['creator']||null,this[_0x32f0('0x5')]=_0x21fd51[_0x32f0('0x5')]||[],this[_0x32f0('0x10')]('createdAt',_0x21fd51[_0x32f0('0x9')]||new Date()),this[_0x32f0('0x4')]=_0x21fd51[_0x32f0('0x4')]||null,this[_0x32f0('0x10')](_0x32f0('0x8'),_0x21fd51[_0x32f0('0x8')]||{}),this[_0x32f0('0xc')]=_0x21fd51['toVersion']||0x0,this[_0x32f0('0x6')]=_0x21fd51[_0x32f0('0x6')]||0x0;}[_0x32f0('0xe')](_0x296b2c){this[_0x32f0('0x0')]({'name':_0x296b2c});}[_0x32f0('0xd')](_0x5b190e,_0x1e2938){const _0x2cd543=_0x46ee41(this[_0x32f0('0x8')]);_0x6f0b3d(_0x2cd543,_0x5b190e,_0x1e2938),this[_0x32f0('0x0')]({'attributes':_0x2cd543});}[_0x32f0('0xb')](_0x51860f){const _0x379d74=_0x46ee41(this['attributes']);_0x52b3d4(_0x379d74,_0x51860f),this[_0x32f0('0x0')]({'attributes':_0x379d74});}[_0x32f0('0x0')](_0x4e5941,_0x238354=!0x1){let _0x4d9d65=!0x1;const _0x626fbf={'id':this['id']};for(const _0xaa7e5 of[_0x32f0('0x1'),_0x32f0('0x9'),_0x32f0('0x4'),'authors',_0x32f0('0x8'),_0x32f0('0xc'),'fromVersion',_0x32f0('0x2')]){const _0x314875=_0x4e5941[_0xaa7e5];void 0x0!==_0x314875&&_0x314875!==this[_0xaa7e5]&&(this[_0xaa7e5]=_0x314875,_0x626fbf[_0xaa7e5]=_0x314875,_0x4d9d65=!0x0);}_0x4d9d65&&(_0x626fbf[_0x32f0('0x5')]&&(_0x626fbf[_0x32f0('0x3')]=_0x626fbf[_0x32f0('0x5')][_0x32f0('0xf')](_0xaef568=>_0xaef568['id']),delete _0x626fbf[_0x32f0('0x5')]),this[_0x32f0('0xa')](_0x32f0('0x0'),_0x626fbf,_0x238354));}[_0x32f0('0x7')](){return{'id':this['id'],'name':this[_0x32f0('0x1')],'creatorId':this[_0x32f0('0x11')]?this[_0x32f0('0x11')]['id']:null,'authorsIds':this[_0x32f0('0x5')][_0x32f0('0xf')](_0x4b042a=>_0x4b042a['id']),'diffData':this[_0x32f0('0x4')],'createdAt':this['createdAt'],'attributes':this[_0x32f0('0x8')],'fromVersion':this['fromVersion'],'toVersion':this[_0x32f0('0xc')]};}}_0x5819fb(n,_0x2fafe8);
23
+ const _0x4604=['fire','map','setAttribute','set','fromVersion','toVersion','toJSON','authors','diffData','createdAt','creatorId','name','_update','attributes','creator','setName'];(function(_0x21ece6,_0x460482){const _0x40c1ac=function(_0x18413c){while(--_0x18413c){_0x21ece6['push'](_0x21ece6['shift']());}};_0x40c1ac(++_0x460482);}(_0x4604,0xf2));const _0x40c1=function(_0x21ece6,_0x460482){_0x21ece6=_0x21ece6-0x0;let _0x40c1ac=_0x4604[_0x21ece6];return _0x40c1ac;};import{ObservableMixin as _0x18afb8,mix as _0x2e51b8,uid as _0x68c9f5}from'ckeditor5/src/utils';import{cloneDeep as _0x7c1a8d,set as _0x2e9a79,unset as _0x199ff0}from'lodash-es';export default class n{constructor(_0x37b413){this['id']=_0x37b413['id']||_0x68c9f5(),this[_0x40c1('0x1')]('name',_0x37b413[_0x40c1('0x9')]||''),this[_0x40c1('0xc')]=_0x37b413['creator']||null,this[_0x40c1('0x5')]=_0x37b413[_0x40c1('0x5')]||[],this[_0x40c1('0x1')]('createdAt',_0x37b413[_0x40c1('0x7')]||new Date()),this[_0x40c1('0x6')]=_0x37b413['diffData']||null,this[_0x40c1('0x1')](_0x40c1('0xb'),_0x37b413['attributes']||{}),this['toVersion']=_0x37b413[_0x40c1('0x3')]||0x0,this[_0x40c1('0x2')]=_0x37b413[_0x40c1('0x2')]||0x0;}[_0x40c1('0xd')](_0x32c357){this[_0x40c1('0xa')]({'name':_0x32c357});}[_0x40c1('0x0')](_0x593366,_0x31d76d){const _0x108dcc=_0x7c1a8d(this[_0x40c1('0xb')]);_0x2e9a79(_0x108dcc,_0x593366,_0x31d76d),this['_update']({'attributes':_0x108dcc});}['removeAttribute'](_0x1add1a){const _0x22c3b0=_0x7c1a8d(this[_0x40c1('0xb')]);_0x199ff0(_0x22c3b0,_0x1add1a),this['_update']({'attributes':_0x22c3b0});}[_0x40c1('0xa')](_0x5abf09,_0x3a6c7e=!0x1){let _0x2db556=!0x1;const _0x2f1966={'id':this['id']};for(const _0x1f55ee of[_0x40c1('0x9'),_0x40c1('0x7'),_0x40c1('0x6'),_0x40c1('0x5'),_0x40c1('0xb'),_0x40c1('0x3'),_0x40c1('0x2'),_0x40c1('0x8')]){const _0x656ddc=_0x5abf09[_0x1f55ee];void 0x0!==_0x656ddc&&_0x656ddc!==this[_0x1f55ee]&&(this[_0x1f55ee]=_0x656ddc,_0x2f1966[_0x1f55ee]=_0x656ddc,_0x2db556=!0x0);}_0x2db556&&(_0x2f1966['authors']&&(_0x2f1966['authorsIds']=_0x2f1966['authors'][_0x40c1('0xf')](_0xa699c1=>_0xa699c1['id']),delete _0x2f1966['authors']),this[_0x40c1('0xe')]('_update',_0x2f1966,_0x3a6c7e));}[_0x40c1('0x4')](){return{'id':this['id'],'name':this[_0x40c1('0x9')],'creatorId':this[_0x40c1('0xc')]?this['creator']['id']:null,'authorsIds':this['authors'][_0x40c1('0xf')](_0x3fdddf=>_0x3fdddf['id']),'diffData':this[_0x40c1('0x6')],'createdAt':this[_0x40c1('0x7')],'attributes':this[_0x40c1('0xb')],'fromVersion':this['fromVersion'],'toVersion':this[_0x40c1('0x3')]};}}_0x2e51b8(n,_0x18afb8);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41d5=['_setData','newRevisionId','add','oldRevisionId','changes'];(function(_0x38ea9b,_0x41d5c1){const _0x569e7b=function(_0x2bf434){while(--_0x2bf434){_0x38ea9b['push'](_0x38ea9b['shift']());}};_0x569e7b(++_0x41d5c1);}(_0x41d5,0x153));const _0x569e=function(_0x38ea9b,_0x41d5c1){_0x38ea9b=_0x38ea9b-0x0;let _0x569e7b=_0x41d5[_0x38ea9b];return _0x569e7b;};import{Collection as _0x108858}from'ckeditor5/src/utils';export default class f{constructor(_0x475238,_0x3abd01){this[_0x569e('0x2')]=_0x475238,this[_0x569e('0x4')]=_0x3abd01,this['changes']=new _0x108858();}[_0x569e('0x1')](_0x32e1a7){for(const _0x584d24 of _0x32e1a7['changes'])this[_0x569e('0x0')][_0x569e('0x3')](_0x584d24);}}
23
+ const _0x98d1=['_setData','changes','newRevisionId','add'];(function(_0x19c473,_0x98d1ac){const _0x2692b6=function(_0x533980){while(--_0x533980){_0x19c473['push'](_0x19c473['shift']());}};_0x2692b6(++_0x98d1ac);}(_0x98d1,0xd0));const _0x2692=function(_0x19c473,_0x98d1ac){_0x19c473=_0x19c473-0x0;let _0x2692b6=_0x98d1[_0x19c473];return _0x2692b6;};import{Collection as _0x34c4d9}from'ckeditor5/src/utils';export default class f{constructor(_0x378fb1,_0x3f66b3){this[_0x2692('0x2')]=_0x378fb1,this['oldRevisionId']=_0x3f66b3,this['changes']=new _0x34c4d9();}[_0x2692('0x0')](_0x30502a){for(const _0x10a178 of _0x30502a[_0x2692('0x1')])this[_0x2692('0x1')][_0x2692('0x3')](_0x10a178);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42d3=['restrictedEditingException','showRevisionViewerCallback','style','PaginationLookup','config','editor','concat','CommentsRepository','WebSocketGateway','set','numeric','get','change','function','includes','has','locale','constructor','_restoreRevision','addRevisionData','Annotations','Users','TrackChangesEditing','users','_closeRevisionViewer','toLocaleDateString','enableReadOnlyMode','push','repository','_enhanceShowRevisionViewerCallback','getMarkersGroup','removeMarker','RevisionViewer','extraPlugins','requires','adapter','toolbar','find','isReady','revisionHistory.restoreRevisionCallback','revision-history-viewer-opened','_showRevisionViewer','Restored','markers','revisionHistory.editorContainer','_viewerEditor','Autosave','pluginName','_update','RevisionHistory','display','revisionHistory.showRevisionViewerCallback','indexOf','RevisionsRepository','commands','from','every','filter','plugins','name','isReadOnly','_enhanceCloseRevisionViewerCallback','bind','then','define','revisionHistory.viewerContainer','disableReadOnlyMode','creator','isAnonymous','_recalculatePageBreaks','RestrictedEditingMode','map','getRevisions','revisionHistory','initialData','catch','toLocaleTimeString','long','createdAt','save','context','_getRevisionViewerEditorConfig','RevisionTracker','revisionHistory.closeRevisionViewerCallback','uiLanguage','isEnabled','getRevision','names','data','model','restoreRevision','getRevisionData'];(function(_0x4ee109,_0x42d32f){const _0x3952d7=function(_0x4c8cc9){while(--_0x4c8cc9){_0x4ee109['push'](_0x4ee109['shift']());}};_0x3952d7(++_0x42d32f);}(_0x42d3,0x1af));const _0x3952=function(_0x4ee109,_0x42d32f){_0x4ee109=_0x4ee109-0x0;let _0x3952d7=_0x42d3[_0x4ee109];return _0x3952d7;};import{Plugin as _0x5f55bb}from'ckeditor5/src/core';import{CKEditorError as _0x3fc622,uid as _0x503712}from'ckeditor5/src/utils';import _0x2bf713 from'./revisiontracker';import _0x19b527 from'./ui/revisionhistory/revisionhistoryui';import _0x5dab90 from'./revisionviewer';import _0x126f9b from'./ui/revisionviewer/revisionviewerui';import _0x4f9b59 from'./ui/revisionssidebar/revisionssidebar';import _0x279484 from'./editor/revisionviewereditor';import{getTranslation as _0x2601ea}from'./utils/common-translations';const g=['RevisionTracker','RevisionHistoryUI',_0x3952('0x25'),_0x3952('0x24'),_0x3952('0x33'),_0x3952('0x7'),_0x3952('0x4b')];export default class k extends _0x5f55bb{static get[_0x3952('0x4c')](){return _0x3952('0x4e');}static get['requires'](){return[_0x2bf713,_0x19b527];}constructor(..._0x5117ee){if(super(..._0x5117ee),!this[_0x3952('0x22')][_0x3952('0x21')]['get'](_0x3952('0xa')))throw new _0x3fc622('revision-history-missing-configuration',this);this['_viewerEditor']=null,this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x1')](_0x3952('0x50'),_0x2f5241=>this[_0x3952('0x46')](_0x2f5241)),this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x1')](_0x3952('0x14'),_0x301e33=>this[_0x3952('0x35')](_0x301e33)),this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x1')](_0x3952('0x44'),_0x57f918=>this[_0x3952('0x2f')](_0x57f918)),this[_0x3952('0x3a')](),this[_0x3952('0x5a')]();}set[_0x3952('0x40')](_0x36b4c0){this['editor']['plugins'][_0x3952('0x28')](_0x3952('0x13'))['adapter']=_0x36b4c0;}get[_0x3952('0x40')](){return this[_0x3952('0x22')][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x13'))[_0x3952('0x40')];}['addRevisionData'](..._0x419692){return this[_0x3952('0x22')][_0x3952('0x57')]['get']('RevisionTracker')[_0x3952('0x30')](..._0x419692);}['getRevision'](..._0x45817d){return this[_0x3952('0x22')][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x52'))[_0x3952('0x17')](..._0x45817d);}['getRevisions'](..._0x23e855){return this['editor'][_0x3952('0x57')][_0x3952('0x28')]('RevisionsRepository')['getRevisions'](..._0x23e855);}[_0x3952('0x12')](){const _0x128e5c={},_0x414bdf=this[_0x3952('0x22')],_0x118561=_0x414bdf['plugins'][_0x3952('0x28')](_0x3952('0x13')),_0x27054c=_0x414bdf[_0x3952('0x57')][_0x3952('0x28')]('Users')[_0x3952('0x34')];for(const _0xd8b96d of _0x414bdf[_0x3952('0x21')][_0x3952('0x18')]())_0x128e5c[_0xd8b96d]=_0x414bdf['config'][_0x3952('0x28')](_0xd8b96d);delete _0x128e5c[_0x3952('0x11')],_0x128e5c[_0x3952('0xb')]='',_0x128e5c[_0x3952('0x41')]=['exitToEditing',_0x3952('0x1b'),'changesNavigation'];const _0x247788=this[_0x3952('0x22')][_0x3952('0x2e')]['builtinPlugins']||[],_0x3648bb=_0x128e5c[_0x3952('0x3e')]||[];delete _0x128e5c[_0x3952('0x3e')];const _0x5d3bf5=_0x247788[_0x3952('0x23')](_0x128e5c[_0x3952('0x57')])[_0x3952('0x23')](_0x3648bb)[_0x3952('0x8')](_0x110ed1=>'string'==typeof _0x110ed1?_0x247788[_0x3952('0x42')](_0x45475a=>_0x45475a[_0x3952('0x4c')]==_0x110ed1):_0x110ed1);return _0x128e5c[_0x3952('0x57')]=Array['from'](new Set(_0x5d3bf5))[_0x3952('0x56')](_0x328680=>C(_0x328680,_0x414bdf[_0x3952('0x57')],[])),(_0x128e5c[_0x3952('0x57')][_0x3952('0x38')](_0x5dab90,_0x126f9b,class extends _0x5f55bb{static get[_0x3952('0x3f')](){return[_0x5dab90,_0x3952('0x32')];}['init'](){const _0x11020c=this['editor'][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x32'));for(const _0x19c022 of _0x27054c)_0x19c022[_0x3952('0x5')]||_0x11020c['getUser'](_0x19c022['id'])||_0x11020c['addUser'](_0x19c022);const _0x3144d9=_0x118561['repository'][_0x3952('0x9')]();let _0x23610c=null;const _0xb50d87=this[_0x3952('0x22')]['plugins'][_0x3952('0x28')](_0x3952('0x3d'));_0xb50d87[_0x3952('0x40')]=_0x118561[_0x3952('0x40')],_0xb50d87[_0x3952('0x5b')]('isEnabled')['to'](_0x118561),this[_0x3952('0x22')][_0x3952('0x53')][_0x3952('0x28')](_0x3952('0x1b'))[_0x3952('0x5b')](_0x3952('0x16'))['to'](_0x414bdf,_0x3952('0x59'),_0x36c748=>!_0x36c748);for(const _0x12f18c of _0x3144d9){const _0x1d7e23=null===_0x12f18c[_0x3952('0x4')];if(_0x1d7e23&&_0x12f18c['toVersion']===_0x12f18c['fromVersion'])continue;const _0x52ccab=_0x12f18c['toJSON']();_0xb50d87['addRevisionData'](_0x52ccab,(_0x27ac34,_0x25def3,_0x5628ff)=>{if(_0x1d7e23){if(_0x23610c)_0x23610c[_0x3952('0x4d')](_0x27ac34,_0x25def3);else{if(!_0x25def3){const _0xd7a7d0=_0x5628ff['toJSON']();_0xd7a7d0['id']=_0x503712(),_0x118561['saveRevision'](_0xd7a7d0,_0x5628ff['toVersion'])[_0x3952('0x0')](_0x14790f=>{_0x23610c=_0x14790f;});}}}else _0x12f18c[_0x3952('0x4d')](_0x27ac34,_0x25def3);});}}},_0x4f9b59),_0x128e5c);}[_0x3952('0x3a')](){const _0x3870e9=this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')](_0x3952('0xa'))[_0x3952('0x1e')];this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x26')]('revisionHistory.showRevisionViewerCallback',async()=>{this['editor'][_0x3952('0x37')]('revision-history-viewer-opened');const _0x2edd02=this['editor'][_0x3952('0x57')][_0x3952('0x28')]('RevisionTracker');this[_0x3952('0x22')][_0x3952('0x57')]['has'](_0x3952('0x4b'))?await this['editor'][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x4b'))[_0x3952('0x10')]():await _0x2edd02['update'](),this[_0x3952('0x22')][_0x3952('0x57')]['has'](_0x3952('0x20'))&&this[_0x3952('0x22')][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x20'))[_0x3952('0x6')]();const _0xbedda5=this[_0x3952('0x12')]();return _0x3870e9(_0xbedda5)[_0x3952('0x0')](_0x4ea0e7=>{this['_viewerEditor']=_0x4ea0e7,this[_0x3952('0x22')]['plugins'][_0x3952('0x2c')](_0x3952('0x31'))&&this[_0x3952('0x22')][_0x3952('0x57')]['get']('Annotations')['refreshVisibility']();})[_0x3952('0xc')](_0x5e690f=>{console['error'](_0x5e690f),this[_0x3952('0x22')][_0x3952('0x3')]('revision-history-viewer-opened');});});}[_0x3952('0x5a')](){const _0x287cf6=this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')](_0x3952('0xa'))['closeRevisionViewerCallback'];this['editor'][_0x3952('0x21')][_0x3952('0x26')](_0x3952('0x14'),()=>(this['editor'][_0x3952('0x57')][_0x3952('0x2c')](_0x3952('0x20'))&&this[_0x3952('0x22')][_0x3952('0x57')]['get'](_0x3952('0x20'))[_0x3952('0x6')](),_0x287cf6(this[_0x3952('0x4a')])['then'](()=>{this[_0x3952('0x22')][_0x3952('0x3')](_0x3952('0x45')),this[_0x3952('0x4a')]=null,this[_0x3952('0x22')][_0x3952('0x57')][_0x3952('0x2c')]('Annotations')&&(this['editor']['plugins'][_0x3952('0x28')](_0x3952('0x31'))['refreshVisibility'](),this[_0x3952('0x22')][_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x31'))['refreshPositioning']());})));}[_0x3952('0x46')](_0x283f5f){const _0x2ae7d0=this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')](_0x3952('0x49')),_0x7f9bb8=this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')](_0x3952('0x2')),_0x303072=this[_0x3952('0x22')][_0x3952('0x21')]['get']('revisionHistory.viewerEditorElement');return _0x279484['create'](_0x303072,_0x283f5f)[_0x3952('0x0')](_0x5f355a=>(_0x7f9bb8[_0x3952('0x1f')][_0x3952('0x4f')]='block',_0x2ae7d0['style'][_0x3952('0x4f')]='none',_0x5f355a));}[_0x3952('0x35')](_0x3d474d){const _0x283628=this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')](_0x3952('0x49'));return this[_0x3952('0x22')][_0x3952('0x21')][_0x3952('0x28')]('revisionHistory.viewerContainer')[_0x3952('0x1f')]['display']='none',_0x283628[_0x3952('0x1f')][_0x3952('0x4f')]='',_0x3d474d['destroy']();}async[_0x3952('0x2f')](_0x5cdf63){const _0x2ae946=this[_0x3952('0x22')],_0x2cc9b4=this['_viewerEditor']['plugins'][_0x3952('0x28')](_0x3952('0x3d')),_0x2bbe38=_0x2ae946[_0x3952('0x57')][_0x3952('0x28')](_0x3952('0x13')),_0x4d6a2f=_0x2cc9b4[_0x3952('0x39')][_0x3952('0x17')](_0x5cdf63);let _0x2f2b0c,_0x511c95;try{_0x2f2b0c=await _0x2cc9b4[_0x3952('0x1c')](_0x4d6a2f);}catch(_0x133796){return void console['error'](_0x133796);}_0x2ae946[_0x3952('0x1a')][_0x3952('0x29')](_0xb7f703=>{for(const _0x247ebb of Array[_0x3952('0x54')](_0x2ae946[_0x3952('0x1a')][_0x3952('0x48')][_0x3952('0x3b')](_0x3952('0x1d'))))_0xb7f703[_0x3952('0x3c')](_0x247ebb);}),_0x2cc9b4[_0x3952('0x43')]=!0x1,_0x2ae946[_0x3952('0x19')][_0x3952('0x26')](_0x2f2b0c,{'suppressErrorInCollaboration':!0x0});const _0xb1f2a0=_0x2601ea(_0x2ae946[_0x3952('0x2d')],_0x3952('0x47'));if(_0x4d6a2f[_0x3952('0x58')])_0x511c95=-0x1==_0x4d6a2f[_0x3952('0x58')][_0x3952('0x51')](_0xb1f2a0)?_0xb1f2a0+':\x20'+_0x4d6a2f[_0x3952('0x58')]:_0x4d6a2f[_0x3952('0x58')];else _0x511c95=_0xb1f2a0+':\x20'+(_0x4d6a2f[_0x3952('0xf')][_0x3952('0x36')](_0x2ae946['locale'][_0x3952('0x15')],{'month':_0x3952('0xe'),'day':_0x3952('0x27')})+',\x20'+_0x4d6a2f[_0x3952('0xf')][_0x3952('0xd')](_0x2ae946[_0x3952('0x2d')]['uiLanguage'],{'hour':_0x3952('0x27'),'minute':'numeric'}));return await _0x2bbe38['saveRevision']({'name':_0x511c95}),_0x2cc9b4[_0x3952('0x43')]=!0x0,_0x2ae946['config'][_0x3952('0x28')]('revisionHistory')['closeRevisionViewerCallback']();}}function C(_0x163f13,_0x3fb179,_0xf4ccb9){const _0x3d911f=_0x3952('0x2a')==typeof _0x163f13?_0x163f13['pluginName']||_0x163f13[_0x3952('0x58')]:_0x163f13;if(_0xf4ccb9['includes'](_0x3d911f))return!0x0;if(_0xf4ccb9[_0x3952('0x38')](_0x3d911f),g[_0x3952('0x2b')](_0x3d911f))return!0x1;const _0x12713d=((_0x3952('0x2a')==typeof _0x163f13?_0x163f13:_0x3fb179[_0x3952('0x2c')](_0x3d911f)?_0x3fb179[_0x3952('0x28')](_0x3d911f):{})[_0x3952('0x3f')]||[])[_0x3952('0x55')](_0x42725e=>C(_0x42725e,_0x3fb179,_0xf4ccb9));return _0x12713d||g[_0x3952('0x38')](_0x3d911f),_0x12713d;}
23
+ const _0x2489=['RealTimeCollaborativeTrackChanges','constructor','locale','RevisionTracker','concat','then','refreshVisibility','builtinPlugins','revisionHistory.editorContainer','revisionHistory.restoreRevisionCallback','RealTimeCollaborativeComments','data','RevisionsRepository','editor','Annotations','disableReadOnlyMode','_closeRevisionViewer','restoreRevision','error','closeRevisionViewerCallback','saveRevision','plugins','context','from','requires','update','style','map','names','long','adapter','showRevisionViewerCallback','toLocaleTimeString','isAnonymous','RealTimeCollaborativeEditing','revisionHistory.viewerContainer','enableReadOnlyMode','_showRevisionViewer','initialData','Users','addUser','removeMarker','isReady','toJSON','_recalculatePageBreaks','getRevisions','restrictedEditingException','isEnabled','creator','_restoreRevision','model','refreshPositioning','getRevisionData','addRevisionData','Restored','catch','getRevision','revision-history-missing-configuration','extraPlugins','Autosave','createdAt','string','markers','_update','RevisionHistoryUI','name','none','pluginName','bind','block','get','_getRevisionViewerEditorConfig','display','config','set','function','toVersion','every','create','includes','PaginationLookup','getUser','revisionHistory','_viewerEditor','RevisionHistory','save','_enhanceCloseRevisionViewerCallback','revisionHistory.showRevisionViewerCallback','revision-history-viewer-opened','has','users','revisionHistory.closeRevisionViewerCallback','_enhanceShowRevisionViewerCallback','init','indexOf','exitToEditing','fromVersion','push','repository','define'];(function(_0x4529ad,_0x24899d){const _0x52328b=function(_0x402193){while(--_0x402193){_0x4529ad['push'](_0x4529ad['shift']());}};_0x52328b(++_0x24899d);}(_0x2489,0x186));const _0x5232=function(_0x4529ad,_0x24899d){_0x4529ad=_0x4529ad-0x0;let _0x52328b=_0x2489[_0x4529ad];return _0x52328b;};import{Plugin as _0x5b307a}from'ckeditor5/src/core';import{CKEditorError as _0x143882,uid as _0x18e705}from'ckeditor5/src/utils';import _0x471444 from'./revisiontracker';import _0x4ef510 from'./ui/revisionhistory/revisionhistoryui';import _0x557c4c from'./revisionviewer';import _0x7f24f9 from'./ui/revisionviewer/revisionviewerui';import _0x11d8ea from'./ui/revisionssidebar/revisionssidebar';import _0x5ad8a3 from'./editor/revisionviewereditor';import{getTranslation as _0x13b96b}from'./utils/common-translations';const g=[_0x5232('0x20')],k=[_0x5232('0xd'),_0x5232('0x4a'),_0x5232('0x2c'),_0x5232('0x14'),_0x5232('0xa'),'RestrictedEditingMode',_0x5232('0x45')];export default class C extends _0x5b307a{static get[_0x5232('0x4d')](){return _0x5232('0x5e');}static get[_0x5232('0x22')](){return[_0x471444,_0x4ef510];}constructor(..._0x3268b2){if(super(..._0x3268b2),!this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c')))throw new _0x143882(_0x5232('0x43'),this);this['_viewerEditor']=null,this[_0x5232('0x17')]['config'][_0x5232('0x9')](_0x5232('0x61'),_0x279f14=>this[_0x5232('0x2f')](_0x279f14)),this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x9')](_0x5232('0x1'),_0x13ba39=>this[_0x5232('0x1a')](_0x13ba39)),this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x9')](_0x5232('0x13'),_0x3bd974=>this[_0x5232('0x3b')](_0x3bd974)),this['_enhanceShowRevisionViewerCallback'](),this[_0x5232('0x60')]();}set[_0x5232('0x28')](_0xffdd29){this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))[_0x5232('0x28')]=_0xffdd29;}get[_0x5232('0x28')](){return this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))[_0x5232('0x28')];}[_0x5232('0x3f')](..._0x359b40){return this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd'))['addRevisionData'](..._0x359b40);}[_0x5232('0x42')](..._0x40aeac){return this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionsRepository')[_0x5232('0x42')](..._0x40aeac);}[_0x5232('0x37')](..._0x2d932f){return this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x16'))[_0x5232('0x37')](..._0x2d932f);}[_0x5232('0x51')](){const _0x1706dc={},_0x950ab=this[_0x5232('0x17')],_0x229d93=_0x950ab[_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0xd')),_0x1f462f=_0x950ab['plugins'][_0x5232('0x50')](_0x5232('0x31'))[_0x5232('0x0')];for(const _0x414f3d of _0x950ab['config'][_0x5232('0x26')]())g[_0x5232('0x59')](_0x414f3d)||(_0x1706dc[_0x414f3d]=_0x950ab[_0x5232('0x53')][_0x5232('0x50')](_0x414f3d));_0x1706dc[_0x5232('0x30')]='',_0x1706dc['toolbar']=[_0x5232('0x5'),_0x5232('0x1b'),'changesNavigation'];const _0x156bdc=this['editor'][_0x5232('0xb')][_0x5232('0x11')]||[],_0x4544d3=_0x1706dc[_0x5232('0x44')]||[];delete _0x1706dc[_0x5232('0x44')];const _0x400bd8=_0x156bdc['concat'](_0x1706dc[_0x5232('0x1f')])[_0x5232('0xe')](_0x4544d3)[_0x5232('0x25')](_0x59ca39=>_0x5232('0x47')==typeof _0x59ca39?_0x156bdc['find'](_0x3cee16=>_0x3cee16[_0x5232('0x4d')]==_0x59ca39):_0x59ca39);return _0x1706dc[_0x5232('0x1f')]=Array[_0x5232('0x21')](new Set(_0x400bd8))['filter'](_0x4fd614=>b(_0x4fd614,_0x950ab[_0x5232('0x1f')],[])),(_0x1706dc['plugins'][_0x5232('0x7')](_0x557c4c,_0x7f24f9,class extends _0x5b307a{static get['requires'](){return[_0x557c4c,_0x5232('0x31')];}[_0x5232('0x3')](){const _0x3515a1=this[_0x5232('0x17')][_0x5232('0x1f')]['get'](_0x5232('0x31'));for(const _0xca80f4 of _0x1f462f)_0xca80f4[_0x5232('0x2b')]||_0x3515a1[_0x5232('0x5b')](_0xca80f4['id'])||_0x3515a1[_0x5232('0x32')](_0xca80f4);const _0x2cf3d9=_0x229d93[_0x5232('0x8')][_0x5232('0x37')]();let _0x391350=null;const _0x2b0942=this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionViewer');_0x2b0942['adapter']=_0x229d93[_0x5232('0x28')],_0x2b0942['bind'](_0x5232('0x39'))['to'](_0x229d93),this[_0x5232('0x17')]['commands'][_0x5232('0x50')]('restoreRevision')[_0x5232('0x4e')]('isEnabled')['to'](_0x950ab,'isReadOnly',_0x128f6e=>!_0x128f6e);for(const _0x3f4340 of _0x2cf3d9){const _0x189767=null===_0x3f4340[_0x5232('0x3a')];if(_0x189767&&_0x3f4340['toVersion']===_0x3f4340[_0x5232('0x6')])continue;const _0xc4a082=_0x3f4340['toJSON']();_0x2b0942[_0x5232('0x3f')](_0xc4a082,(_0x4861de,_0x33b4ac,_0x1855b2)=>{if(_0x189767){if(_0x391350)_0x391350[_0x5232('0x49')](_0x4861de,_0x33b4ac);else{if(!_0x33b4ac){const _0x2f2b67=_0x1855b2[_0x5232('0x35')]();_0x2f2b67['id']=_0x18e705(),_0x229d93[_0x5232('0x1e')](_0x2f2b67,_0x1855b2[_0x5232('0x56')])[_0x5232('0xf')](_0x33fab9=>{_0x391350=_0x33fab9;});}}}else _0x3f4340[_0x5232('0x49')](_0x4861de,_0x33b4ac);});}}},_0x11d8ea),_0x1706dc);}[_0x5232('0x2')](){const _0x450840=this['editor'][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c'))[_0x5232('0x29')];this['editor'][_0x5232('0x53')][_0x5232('0x54')](_0x5232('0x61'),async()=>{this[_0x5232('0x17')][_0x5232('0x2e')]('revision-history-viewer-opened');const _0x24f26d=this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')]('RevisionTracker');this[_0x5232('0x17')]['plugins'][_0x5232('0x63')](_0x5232('0x45'))?await this['editor'][_0x5232('0x1f')]['get']('Autosave')[_0x5232('0x5f')]():await _0x24f26d[_0x5232('0x23')](),this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')]('PaginationLookup')&&this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x5a'))[_0x5232('0x36')]();const _0x3c94a6=this[_0x5232('0x51')]();return _0x450840(_0x3c94a6)[_0x5232('0xf')](_0x29b5ab=>{this[_0x5232('0x5d')]=_0x29b5ab,this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x18'))&&this['editor']['plugins'][_0x5232('0x50')]('Annotations')['refreshVisibility']();})[_0x5232('0x41')](_0x4ddc91=>{console[_0x5232('0x1c')](_0x4ddc91),this[_0x5232('0x17')]['disableReadOnlyMode'](_0x5232('0x62'));});});}[_0x5232('0x60')](){const _0x1be9a0=this[_0x5232('0x17')][_0x5232('0x53')]['get'](_0x5232('0x5c'))['closeRevisionViewerCallback'];this[_0x5232('0x17')][_0x5232('0x53')]['set'](_0x5232('0x1'),()=>(this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x5a'))&&this['editor'][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x5a'))[_0x5232('0x36')](),_0x1be9a0(this['_viewerEditor'])[_0x5232('0xf')](()=>{this[_0x5232('0x17')][_0x5232('0x19')](_0x5232('0x62')),this[_0x5232('0x5d')]=null,this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x63')](_0x5232('0x18'))&&(this['editor']['plugins'][_0x5232('0x50')](_0x5232('0x18'))[_0x5232('0x10')](),this[_0x5232('0x17')][_0x5232('0x1f')][_0x5232('0x50')](_0x5232('0x18'))[_0x5232('0x3d')]());})));}[_0x5232('0x2f')](_0x5319ef){const _0x5de3f0=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x12')),_0x210198=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x2d')),_0xb7ac75=this[_0x5232('0x17')][_0x5232('0x53')][_0x5232('0x50')]('revisionHistory.viewerEditorElement');return _0x5ad8a3[_0x5232('0x58')](_0xb7ac75,_0x5319ef)[_0x5232('0xf')](_0x3868c5=>(_0x210198[_0x5232('0x24')][_0x5232('0x52')]=_0x5232('0x4f'),_0x5de3f0['style']['display']=_0x5232('0x4c'),_0x3868c5));}[_0x5232('0x1a')](_0x2621b0){const _0x1cee56=this[_0x5232('0x17')]['config'][_0x5232('0x50')](_0x5232('0x12'));return this['editor'][_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x2d'))[_0x5232('0x24')][_0x5232('0x52')]='none',_0x1cee56['style'][_0x5232('0x52')]='',_0x2621b0['destroy']();}async['_restoreRevision'](_0x2d4930){const _0x318625=this[_0x5232('0x17')],_0x54a92f=this['_viewerEditor']['plugins'][_0x5232('0x50')]('RevisionViewer'),_0x5564cc=_0x318625['plugins'][_0x5232('0x50')](_0x5232('0xd')),_0x40d452=_0x54a92f[_0x5232('0x8')][_0x5232('0x42')](_0x2d4930);let _0x4b582f,_0x34f280;try{_0x4b582f=await _0x54a92f[_0x5232('0x3e')](_0x40d452);}catch(_0x549d82){return void console['error'](_0x549d82);}_0x318625[_0x5232('0x3c')]['change'](_0x499d7b=>{for(const _0x2d732d of Array[_0x5232('0x21')](_0x318625[_0x5232('0x3c')][_0x5232('0x48')]['getMarkersGroup'](_0x5232('0x38'))))_0x499d7b[_0x5232('0x33')](_0x2d732d);}),_0x54a92f[_0x5232('0x34')]=!0x1,_0x318625[_0x5232('0x15')][_0x5232('0x54')](_0x4b582f,{'suppressErrorInCollaboration':!0x0});const _0x408079=_0x13b96b(_0x318625[_0x5232('0xc')],_0x5232('0x40'));if(_0x40d452[_0x5232('0x4b')])_0x34f280=-0x1==_0x40d452['name'][_0x5232('0x4')](_0x408079)?_0x408079+':\x20'+_0x40d452[_0x5232('0x4b')]:_0x40d452['name'];else _0x34f280=_0x408079+':\x20'+(_0x40d452[_0x5232('0x46')]['toLocaleDateString'](_0x318625[_0x5232('0xc')]['uiLanguage'],{'month':_0x5232('0x27'),'day':'numeric'})+',\x20'+_0x40d452[_0x5232('0x46')][_0x5232('0x2a')](_0x318625[_0x5232('0xc')]['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5564cc[_0x5232('0x1e')]({'name':_0x34f280}),_0x54a92f[_0x5232('0x34')]=!0x0,_0x318625[_0x5232('0x53')][_0x5232('0x50')](_0x5232('0x5c'))[_0x5232('0x1d')]();}}function b(_0x2fd9c5,_0x16f155,_0x331218){const _0x3dc38e=_0x5232('0x55')==typeof _0x2fd9c5?_0x2fd9c5['pluginName']||_0x2fd9c5[_0x5232('0x4b')]:_0x2fd9c5;if(_0x331218[_0x5232('0x59')](_0x3dc38e))return!0x0;if(_0x331218['push'](_0x3dc38e),k['includes'](_0x3dc38e))return!0x1;const _0x463a24=((_0x5232('0x55')==typeof _0x2fd9c5?_0x2fd9c5:_0x16f155[_0x5232('0x63')](_0x3dc38e)?_0x16f155[_0x5232('0x50')](_0x3dc38e):{})[_0x5232('0x22')]||[])[_0x5232('0x57')](_0x483807=>b(_0x483807,_0x16f155,_0x331218));return _0x463a24||k[_0x5232('0x7')](_0x3dc38e),_0x463a24;}