@ckeditor/ckeditor5-revision-history 43.2.0-alpha.7 → 43.3.0-alpha.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.
- package/build/revision-history.js +1 -1
- package/build/translations/ast.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -1
- package/build/translations/hy.js +1 -0
- package/build/translations/it.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/lt.js +1 -1
- package/build/translations/nb.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/uz.js +1 -0
- package/dist/index.js +6 -6
- package/dist/revisionhistory.d.ts +8 -0
- package/dist/revisionsrepository.d.ts +8 -0
- package/dist/revisiontracker.d.ts +43 -0
- package/dist/revisionviewer.d.ts +8 -0
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
- package/dist/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
- package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
- package/dist/ui/revisionviewer/revisionviewerui.d.ts +8 -0
- package/lang/translations/af.po +3 -9
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +130 -0
- package/lang/translations/az.po +3 -9
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +4 -10
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -11
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +3 -9
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +3 -9
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +130 -0
- package/lang/translations/es-co.po +4 -11
- package/lang/translations/es.po +4 -11
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +130 -0
- package/lang/translations/fa.po +4 -11
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -11
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +130 -0
- package/lang/translations/he.po +4 -11
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +130 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -11
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +5 -10
- package/lang/translations/kk.po +130 -0
- package/lang/translations/km.po +129 -0
- package/lang/translations/kn.po +130 -0
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +3 -9
- package/lang/translations/lt.po +4 -11
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +130 -0
- package/lang/translations/ne.po +3 -9
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +130 -0
- package/lang/translations/pl.po +4 -11
- package/lang/translations/pt-br.po +4 -11
- package/lang/translations/pt.po +4 -11
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -11
- package/lang/translations/si.po +130 -0
- package/lang/translations/sk.po +4 -11
- package/lang/translations/sl.po +132 -0
- package/lang/translations/sq.po +130 -0
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +3 -9
- package/lang/translations/tk.po +3 -9
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +3 -9
- package/lang/translations/ug.po +4 -11
- package/lang/translations/uk.po +4 -11
- package/lang/translations/ur.po +3 -9
- package/lang/translations/uz.po +130 -0
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +8 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.d.ts +8 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +43 -0
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +8 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +8 -0
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/lang/translations/uk.po
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
10
|
"Language: uk\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
13
|
|
|
20
14
|
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
@@ -95,7 +89,6 @@ msgid_plural "%0 changes"
|
|
|
95
89
|
msgstr[0] "%0 зміна"
|
|
96
90
|
msgstr[1] "%0 зміни"
|
|
97
91
|
msgstr[2] "%0 змін"
|
|
98
|
-
msgstr[3] "%0 змін"
|
|
99
92
|
|
|
100
93
|
msgctxt "Edit: (2 of 5)"
|
|
101
94
|
msgid "X_OF_Y_CHANGES"
|
package/lang/translations/ur.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
10
|
"Language: ur\n"
|
|
17
11
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: uz\n"
|
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
15
|
+
msgid "Restored"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The name for an initial revision that is empty."
|
|
19
|
+
msgid "Empty document"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
23
|
+
msgid "Initial revision"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
27
|
+
msgid "Compare against selected"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
31
|
+
msgid "Name this revision"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The label for the user who saved the revision."
|
|
35
|
+
msgid "Revision creator"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
39
|
+
msgid "Revision author"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The label for the revision name."
|
|
43
|
+
msgid "Revision name"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
47
|
+
msgid "Name of the revision"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The part of a toolbar form field label that indicates the field is optional."
|
|
51
|
+
msgid "optional"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
55
|
+
msgid "Save current revision"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
59
|
+
msgid "Open revision history"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
63
|
+
msgid "Revision history"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
67
|
+
msgid "Suggested by"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
71
|
+
msgid "Added by"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
75
|
+
msgid "Removed by"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
79
|
+
msgid "Loading..."
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
83
|
+
msgid "No changes"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
87
|
+
msgid "NUMBER_OF_CHANGES"
|
|
88
|
+
msgid_plural "%0 changes"
|
|
89
|
+
msgstr[0] ""
|
|
90
|
+
msgstr[1] ""
|
|
91
|
+
|
|
92
|
+
msgctxt "Edit: (2 of 5)"
|
|
93
|
+
msgid "X_OF_Y_CHANGES"
|
|
94
|
+
msgstr ""
|
|
95
|
+
|
|
96
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
97
|
+
msgid "Show previous change"
|
|
98
|
+
msgstr ""
|
|
99
|
+
|
|
100
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
101
|
+
msgid "Show next change"
|
|
102
|
+
msgstr ""
|
|
103
|
+
|
|
104
|
+
msgctxt "(Total): 5 changes"
|
|
105
|
+
msgid "Total"
|
|
106
|
+
msgstr ""
|
|
107
|
+
|
|
108
|
+
msgctxt "(Edit): 2 of 5"
|
|
109
|
+
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
110
|
+
msgstr ""
|
|
111
|
+
|
|
112
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
113
|
+
msgid "Back to editing"
|
|
114
|
+
msgstr ""
|
|
115
|
+
|
|
116
|
+
msgctxt "The label for a button that restores given revision."
|
|
117
|
+
msgid "Restore this revision"
|
|
118
|
+
msgstr ""
|
|
119
|
+
|
|
120
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
121
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
122
|
+
msgstr ""
|
|
123
|
+
|
|
124
|
+
msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
|
|
125
|
+
msgid "Enter the revision name"
|
|
126
|
+
msgstr ""
|
|
127
|
+
|
|
128
|
+
msgctxt "An error text displayed when user attempted to save a revision without providing its name."
|
|
129
|
+
msgid "The revision name cannot be empty."
|
|
130
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
10
|
"Language: vi\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
10
|
"Language: zh_CN\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/lang/translations/zh.po
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
-
#
|
|
10
|
-
# To learn more, check out the official contributor's guide:
|
|
11
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
7
|
#
|
|
13
8
|
msgid ""
|
|
14
9
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
10
|
"Language: zh_TW\n"
|
|
17
11
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
12
|
"Content-Type: text/plain; charset=UTF-8\n"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.3.0-alpha.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/)",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
43
|
-
"@ckeditor/ckeditor5-editor-classic": "43.
|
|
44
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
45
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
46
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
47
|
-
"ckeditor5": "43.
|
|
48
|
-
"ckeditor5-collaboration": "43.
|
|
42
|
+
"@ckeditor/ckeditor5-core": "43.3.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-classic": "43.3.0-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-engine": "43.3.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-ui": "43.3.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-utils": "43.3.0-alpha.0",
|
|
47
|
+
"ckeditor5": "43.3.0-alpha.0",
|
|
48
|
+
"ckeditor5-collaboration": "43.3.0-alpha.0",
|
|
49
49
|
"lodash-es": "4.17.21",
|
|
50
50
|
"luxon": "1.28.1"
|
|
51
51
|
},
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x316d(_0x3f5ae9,_0x317a60){var _0x42d39a=_0x42d3();return _0x316d=function(_0x316d39,_0x521d28){_0x316d39=_0x316d39-0x1a3;var _0x24ade7=_0x42d39a[_0x316d39];return _0x24ade7;},_0x316d(_0x3f5ae9,_0x317a60);}var _0x45fe85=_0x316d;(function(_0xcee50b,_0x1a5de7){var _0xa2c8c6=_0x316d,_0x3870e9=_0xcee50b();while(!![]){try{var _0x5656c4=parseInt(_0xa2c8c6(0x1b2))/0x1*(parseInt(_0xa2c8c6(0x1b1))/0x2)+parseInt(_0xa2c8c6(0x1a8))/0x3*(-parseInt(_0xa2c8c6(0x1ac))/0x4)+-parseInt(_0xa2c8c6(0x1a5))/0x5*(parseInt(_0xa2c8c6(0x1b4))/0x6)+-parseInt(_0xa2c8c6(0x1ad))/0x7*(parseInt(_0xa2c8c6(0x1a3))/0x8)+-parseInt(_0xa2c8c6(0x1b3))/0x9+parseInt(_0xa2c8c6(0x1a6))/0xa+-parseInt(_0xa2c8c6(0x1aa))/0xb*(-parseInt(_0xa2c8c6(0x1ab))/0xc);if(_0x5656c4===_0x1a5de7)break;else _0x3870e9['push'](_0x3870e9['shift']());}catch(_0x2c440d){_0x3870e9['push'](_0x3870e9['shift']());}}}(_0x42d3,0x82ae4));function _0x42d3(){var _0x9a3483=['createdAt','252192zNrhDM','rootName','10McofVi','5987330GQJNuX','type','271842ZNknCm','set','11690470lpnPVJ','12UllyOU','4MZampB','56erQcLD','toJSON','data','author','8506vipODW','2LCGjQW','5957685ZGQMWO','389910lFfxCh'];_0x42d3=function(){return _0x9a3483;};return _0x42d3();}import{ObservableMixin as _0x57c798,uid as _0x55c994}from'ckeditor5/src/utils.js';export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57c798(){constructor(_0x3a3d37){var _0x5b2bc2=_0x316d;super(),this['id']=_0x3a3d37['id']||_0x55c994(),this[_0x5b2bc2(0x1b0)]=_0x3a3d37[_0x5b2bc2(0x1b0)],this[_0x5b2bc2(0x1a7)]=_0x3a3d37[_0x5b2bc2(0x1a7)],this[_0x5b2bc2(0x1af)]=_0x3a3d37[_0x5b2bc2(0x1af)]||{},this[_0x5b2bc2(0x1a4)]=_0x3a3d37[_0x5b2bc2(0x1a4)],this[_0x5b2bc2(0x1a9)](_0x5b2bc2(0x1b5),_0x3a3d37[_0x5b2bc2(0x1b5)]);}[_0x45fe85(0x1ae)](){var _0x4f64e4=_0x45fe85;return{'id':this['id'],'authorId':this[_0x4f64e4(0x1b0)]['id'],'type':this[_0x4f64e4(0x1a7)],'data':this[_0x4f64e4(0x1af)],'createdAt':this[_0x4f64e4(0x1b5)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x396c20=_0xfcfd;(function(_0x21f71a,_0x4c8e1a){const _0x332f22=_0xfcfd,_0x53fa6a=_0x21f71a();while(!![]){try{const _0x30f131=-parseInt(_0x332f22(0xdc))/0x1+parseInt(_0x332f22(0xd1))/0x2+parseInt(_0x332f22(0xd2))/0x3*(-parseInt(_0x332f22(0xdb))/0x4)+-parseInt(_0x332f22(0xcd))/0x5*(parseInt(_0x332f22(0xdd))/0x6)+parseInt(_0x332f22(0xcb))/0x7*(parseInt(_0x332f22(0xc8))/0x8)+-parseInt(_0x332f22(0xc7))/0x9+parseInt(_0x332f22(0xd5))/0xa;if(_0x30f131===_0x4c8e1a)break;else _0x53fa6a['push'](_0x53fa6a['shift']());}catch(_0x64ca4a){_0x53fa6a['push'](_0x53fa6a['shift']());}}}(_0x5505,0x5631d));import{Editor as _0x17b376,ElementApiMixin as _0x2a32b1}from'ckeditor5/src/core.js';import _0x573f1b from'./revisionviewereditorui.js';import _0x29ebce from'./revisionviewereditoruiview.js';function _0x5505(){const _0x4084b3=['init','editing','398156vXEznz','36WcgFGS','config','createRoot','11286890TKsgoM','fire','get','model','updateSourceElement','view','45636NBYReh','342653nhyumU','294nxBLEP','_ui','sourceElement','ready','locale','initPlugins','data','5594121wBHqHr','5066176kGuScf','create','initialData','7BDGHsz','document','51720iZKOPm','destroy'];_0x5505=function(){return _0x4084b3;};return _0x5505();}function _0xfcfd(_0x686e27,_0x59c5fb){const _0x550575=_0x5505();return _0xfcfd=function(_0xfcfdac,_0xce7a5b){_0xfcfdac=_0xfcfdac-0xc4;let _0x214651=_0x550575[_0xfcfdac];return _0x214651;},_0xfcfd(_0x686e27,_0x59c5fb);}export default class g extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a32b1(_0x17b376){get['ui'](){const _0x5e442c=_0xfcfd;return this[_0x5e442c(0xde)];}constructor(_0x4144cf,_0x55d576){const _0x1094ca=_0xfcfd;super(_0x55d576),this[_0x1094ca(0xdf)]=_0x4144cf,this[_0x1094ca(0xd8)][_0x1094ca(0xcc)][_0x1094ca(0xd4)]();const _0x3f48de=new _0x29ebce(this[_0x1094ca(0xc4)],this[_0x1094ca(0xd0)][_0x1094ca(0xda)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x1094ca(0xde)]=new _0x573f1b(this,_0x3f48de);}[_0x396c20(0xce)](){const _0xd81319=_0x396c20;return this[_0xd81319(0xd9)](),this['ui'][_0xd81319(0xce)](),super[_0xd81319(0xce)]();}static async[_0x396c20(0xc9)](_0x4b8260,_0x4c0239){const _0xcbd3=_0x396c20,_0x1fc2e6=new this(_0x4b8260,_0x4c0239);return await _0x1fc2e6[_0xcbd3(0xc5)](),await _0x1fc2e6['ui'][_0xcbd3(0xcf)](_0x4b8260),await _0x1fc2e6[_0xcbd3(0xc6)][_0xcbd3(0xcf)](_0x1fc2e6[_0xcbd3(0xd3)][_0xcbd3(0xd7)](_0xcbd3(0xca))||''),_0x1fc2e6[_0xcbd3(0xd6)](_0xcbd3(0xe0)),_0x1fc2e6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4a1936=_0x1541;function _0x465d(){const _0x33929c=['attachDomRoot','toolbar','componentFactory','8qiJkwu','15QPlqSa','limiterElement','destroy','isFocused','replace','addToolbar','ready','2298933LPvytc','document','_initToolbar','restore','editable','getRoot','_view','viewportOffset','detachDomRoot','focusTracker','bind','name','isActive','14334471jdOjqT','setEditableElement','editor','get','fire','54413UMtWIn','1768266QuZriY','stickyPanel','rootName','view','init','config','2759712utKstB','render','viewportTopOffset','editing','element','_toolbarConfig','477940XUPWKc','fillFromConfig','156106mpFNbf','_elementReplacer'];_0x465d=function(){return _0x33929c;};return _0x465d();}(function(_0x5a763e,_0x3b9951){const _0x45d362=_0x1541,_0x3e0ce5=_0x5a763e();while(!![]){try{const _0x22c76c=parseInt(_0x45d362(0xcc))/0x1+-parseInt(_0x45d362(0xdb))/0x2*(parseInt(_0x45d362(0xe1))/0x3)+-parseInt(_0x45d362(0xd3))/0x4+parseInt(_0x45d362(0xd9))/0x5+-parseInt(_0x45d362(0xcd))/0x6+parseInt(_0x45d362(0xe8))/0x7+-parseInt(_0x45d362(0xe0))/0x8*(-parseInt(_0x45d362(0xf5))/0x9);if(_0x22c76c===_0x3b9951)break;else _0x3e0ce5['push'](_0x3e0ce5['shift']());}catch(_0x55d2bf){_0x3e0ce5['push'](_0x3e0ce5['shift']());}}}(_0x465d,0xa9fab));function _0x1541(_0x190e24,_0x238ada){const _0x465da9=_0x465d();return _0x1541=function(_0x154197,_0x3645b4){_0x154197=_0x154197-0xcb;let _0x5121a1=_0x465da9[_0x154197];return _0x5121a1;},_0x1541(_0x190e24,_0x238ada);}import{EditorUI as _0x3859aa,normalizeToolbarConfig as _0x468296}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x328bad}from'ckeditor5/src/utils.js';export default class st extends _0x3859aa{get[_0x4a1936(0xd0)](){const _0x12749c=_0x4a1936;return this[_0x12749c(0xee)];}constructor(_0x4eb1c9,_0x2ee78d){const _0xe8eafe=_0x4a1936;super(_0x4eb1c9),this[_0xe8eafe(0xee)]=_0x2ee78d,this[_0xe8eafe(0xd8)]=_0x468296(_0x4eb1c9[_0xe8eafe(0xd2)][_0xe8eafe(0xf8)](_0xe8eafe(0xde))),this[_0xe8eafe(0xdc)]=new _0x328bad();}get[_0x4a1936(0xd7)](){const _0x3509ff=_0x4a1936;return this[_0x3509ff(0xd0)][_0x3509ff(0xd7)];}[_0x4a1936(0xd1)](_0x4d6bae){const _0x349562=_0x4a1936,_0x1917c6=this[_0x349562(0xf7)],_0x517592=this[_0x349562(0xd0)],_0x3f4da5=_0x1917c6[_0x349562(0xd6)][_0x349562(0xd0)],_0x20fe75=_0x517592[_0x349562(0xec)],_0x361238=_0x3f4da5[_0x349562(0xe9)][_0x349562(0xed)]();_0x20fe75[_0x349562(0xf3)]=_0x361238[_0x349562(0xcf)],_0x517592[_0x349562(0xd4)]();const _0x2988a4=_0x20fe75[_0x349562(0xd7)];this[_0x349562(0xf6)](_0x20fe75[_0x349562(0xf3)],_0x2988a4),_0x517592[_0x349562(0xec)][_0x349562(0xf2)](_0x349562(0xe4))['to'](this[_0x349562(0xf1)]),_0x3f4da5[_0x349562(0xdd)](_0x2988a4),this[_0x349562(0xdc)][_0x349562(0xe5)](_0x4d6bae,this[_0x349562(0xd7)]),this[_0x349562(0xea)](),this[_0x349562(0xcb)](_0x349562(0xe7));}[_0x4a1936(0xe3)](){const _0x219134=_0x4a1936;super[_0x219134(0xe3)]();const _0x3b660a=this[_0x219134(0xd0)],_0xc250b5=this[_0x219134(0xf7)][_0x219134(0xd6)][_0x219134(0xd0)];this[_0x219134(0xdc)][_0x219134(0xeb)](),_0xc250b5[_0x219134(0xf0)](_0x3b660a[_0x219134(0xec)][_0x219134(0xf3)]),_0x3b660a[_0x219134(0xe3)]();}[_0x4a1936(0xea)](){const _0x2eb0a0=_0x4a1936,_0x4eb8cc=this[_0x2eb0a0(0xd0)];_0x4eb8cc[_0x2eb0a0(0xce)][_0x2eb0a0(0xf2)](_0x2eb0a0(0xf4))['to'](this[_0x2eb0a0(0xf1)],_0x2eb0a0(0xe4)),_0x4eb8cc[_0x2eb0a0(0xce)][_0x2eb0a0(0xe2)]=_0x4eb8cc[_0x2eb0a0(0xd7)],_0x4eb8cc[_0x2eb0a0(0xce)][_0x2eb0a0(0xf2)](_0x2eb0a0(0xd5))['to'](this,_0x2eb0a0(0xef),({top:_0x4faa31})=>_0x4faa31),_0x4eb8cc[_0x2eb0a0(0xde)][_0x2eb0a0(0xda)](this[_0x2eb0a0(0xd8)],this[_0x2eb0a0(0xdf)]),this[_0x2eb0a0(0xe6)](_0x4eb8cc[_0x2eb0a0(0xde)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x445cad=_0x9e7f;(function(_0x512b11,_0x2e4b39){var _0x1b6979=_0x9e7f,_0x43707d=_0x512b11();while(!![]){try{var _0x4ff69c=-parseInt(_0x1b6979(0x72))/0x1+-parseInt(_0x1b6979(0x79))/0x2*(parseInt(_0x1b6979(0x6f))/0x3)+-parseInt(_0x1b6979(0x69))/0x4*(parseInt(_0x1b6979(0x73))/0x5)+parseInt(_0x1b6979(0x6b))/0x6*(parseInt(_0x1b6979(0x77))/0x7)+-parseInt(_0x1b6979(0x6e))/0x8+-parseInt(_0x1b6979(0x78))/0x9*(parseInt(_0x1b6979(0x66))/0xa)+parseInt(_0x1b6979(0x68))/0xb*(parseInt(_0x1b6979(0x67))/0xc);if(_0x4ff69c===_0x2e4b39)break;else _0x43707d['push'](_0x43707d['shift']());}catch(_0x79865f){_0x43707d['push'](_0x43707d['shift']());}}}(_0x2df9,0x546e8));import{BoxedEditorUIView as _0x5d0339,InlineEditableUIView as _0x37c2ff,StickyPanelView as _0x2609ad,ToolbarView as _0x3cb8c4}from'ckeditor5/src/ui.js';function _0x9e7f(_0x4bd1e5,_0x3fa9ca){var _0x2df994=_0x2df9();return _0x9e7f=function(_0x9e7f7b,_0xd63bf){_0x9e7f7b=_0x9e7f7b-0x64;var _0x554a11=_0x2df994[_0x9e7f7b];return _0x554a11;},_0x9e7f(_0x4bd1e5,_0x3fa9ca);}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x2df9(){var _0x46b256=['10qVWVGt','render','content','add','7clCKBa','1267236hlKlnh','2vqkxNd','shouldToolbarGroupWhenFull','toolbar','20lTbeNG','14493012hofdKe','11ywTWZk','162148VjRfgd','_editable','950718vAgGtx','stickyPanel','main','605120nyFOnx','1125597iTEElC','editable','top','206851UcfIyR'];_0x2df9=function(){return _0x46b256;};return _0x2df9();}export default class ot extends _0x5d0339{get[_0x445cad(0x70)](){var _0x273d1a=_0x445cad;return this[_0x273d1a(0x6a)];}constructor(_0x43f660,_0x3b14aa,_0x5155ea={}){var _0x478b9f=_0x445cad;super(_0x43f660),this[_0x478b9f(0x6c)]=new _0x2609ad(_0x43f660),this[_0x478b9f(0x65)]=new _0x3cb8c4(_0x43f660,{'shouldGroupWhenFull':_0x5155ea[_0x478b9f(0x64)]}),this[_0x478b9f(0x6a)]=new _0x37c2ff(_0x43f660,_0x3b14aa);}[_0x445cad(0x74)](){var _0x1da74c=_0x445cad;super[_0x1da74c(0x74)](),this[_0x1da74c(0x6c)][_0x1da74c(0x75)][_0x1da74c(0x76)](this[_0x1da74c(0x65)]),this[_0x1da74c(0x71)][_0x1da74c(0x76)](this[_0x1da74c(0x6c)]),this[_0x1da74c(0x6d)][_0x1da74c(0x76)](this[_0x1da74c(0x70)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5687b6,_0x44ae27){var _0x39a698=_0x4079,_0x673939=_0x5687b6();while(!![]){try{var _0x6eb636=parseInt(_0x39a698(0x15c))/0x1+-parseInt(_0x39a698(0x15a))/0x2+-parseInt(_0x39a698(0x161))/0x3*(parseInt(_0x39a698(0x160))/0x4)+parseInt(_0x39a698(0x15d))/0x5+parseInt(_0x39a698(0x15b))/0x6+parseInt(_0x39a698(0x159))/0x7*(parseInt(_0x39a698(0x15f))/0x8)+-parseInt(_0x39a698(0x15e))/0x9*(parseInt(_0x39a698(0x158))/0xa);if(_0x6eb636===_0x44ae27)break;else _0x673939['push'](_0x673939['shift']());}catch(_0x2eed82){_0x673939['push'](_0x673939['shift']());}}}(_0x3a0c,0x346b5));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';function _0x4079(_0x24915a,_0x3af5d7){var _0x3a0c6e=_0x3a0c();return _0x4079=function(_0x40797e,_0x43cfca){_0x40797e=_0x40797e-0x158;var _0x5b9a70=_0x3a0c6e[_0x40797e];return _0x5b9a70;},_0x4079(_0x24915a,_0x3af5d7);}export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';function _0x3a0c(){var _0x2b2e71=['2871009psOFSp','56mwnkpq','5436BQdBYs','9KUzrJc','10isPWSs','3353gfrdSE','8330GTlLvL','79482PKWIaD','368607zOrlZp','783725GUIyrS'];_0x3a0c=function(){return _0x2b2e71;};return _0x3a0c();}export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5974ad=_0x1e61;(function(_0x2c6510,_0x1050be){const _0xfedfb1=_0x1e61,_0x25457f=_0x2c6510();while(!![]){try{const _0x1c65bd=parseInt(_0xfedfb1(0x200))/0x1+parseInt(_0xfedfb1(0x1fd))/0x2*(-parseInt(_0xfedfb1(0x204))/0x3)+-parseInt(_0xfedfb1(0x1f9))/0x4*(-parseInt(_0xfedfb1(0x201))/0x5)+-parseInt(_0xfedfb1(0x207))/0x6*(-parseInt(_0xfedfb1(0x203))/0x7)+-parseInt(_0xfedfb1(0x1ef))/0x8+-parseInt(_0xfedfb1(0x1ec))/0x9*(-parseInt(_0xfedfb1(0x1f1))/0xa)+-parseInt(_0xfedfb1(0x1f6))/0xb;if(_0x1c65bd===_0x1050be)break;else _0x25457f['push'](_0x25457f['shift']());}catch(_0x2e31fb){_0x25457f['push'](_0x25457f['shift']());}}}(_0x1848,0x85eda));import{ObservableMixin as _0x31cc1d,uid as _0x5883ad}from'ckeditor5/src/utils.js';function _0x1848(){const _0x725272=['4RPmrnT','setAttribute','name','fromVersion','1092456pgFDJi','setName','authorsIds','108049HPkfMG','2727185gHytxG','attributes','28qixdYR','3lDDDpP','createdAt','removeAttribute','1167666TEnOeT','creatorId','813636PifuYa','toJSON','fire','2896800TQblSl','toVersion','40dNKYue','_update','authors','map','set','3703128sBsfvH','diffData','creator'];_0x1848=function(){return _0x725272;};return _0x1848();}import{cloneDeep as _0x34f7f9,set as _0x3a5bc8,unset as _0x36c9ad}from'lodash-es';function _0x1e61(_0x1d3a1b,_0x2d3c97){const _0x1848b6=_0x1848();return _0x1e61=function(_0x1e614a,_0x5a5805){_0x1e614a=_0x1e614a-0x1ec;let _0x24dc2d=_0x1848b6[_0x1e614a];return _0x24dc2d;},_0x1e61(_0x1d3a1b,_0x2d3c97);}export default class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x31cc1d(){constructor(_0x27ef9c){const _0x124873=_0x1e61;super(),this['id']=_0x27ef9c['id']||_0x5883ad(),this[_0x124873(0x1f8)]=_0x27ef9c[_0x124873(0x1f8)]||null,this[_0x124873(0x1f3)]=_0x27ef9c[_0x124873(0x1f3)]||[],this[_0x124873(0x1f7)]=_0x27ef9c[_0x124873(0x1f7)]||null,this[_0x124873(0x1f0)]=_0x27ef9c[_0x124873(0x1f0)]||0x0,this[_0x124873(0x1fc)]=_0x27ef9c[_0x124873(0x1fc)]||0x0,this[_0x124873(0x1f5)](_0x124873(0x1fb),_0x27ef9c[_0x124873(0x1fb)]||''),this[_0x124873(0x1f5)](_0x124873(0x205),_0x27ef9c[_0x124873(0x205)]||new Date()),this[_0x124873(0x1f5)](_0x124873(0x202),_0x27ef9c[_0x124873(0x202)]||{});}[_0x5974ad(0x1fe)](_0x22dd39){const _0xa54dac=_0x5974ad;this[_0xa54dac(0x1f2)]({'name':_0x22dd39});}[_0x5974ad(0x1fa)](_0x339ddc,_0x4878b4){const _0x5e3f2d=_0x5974ad,_0x17cc2b=_0x34f7f9(this[_0x5e3f2d(0x202)]);_0x3a5bc8(_0x17cc2b,_0x339ddc,_0x4878b4),this[_0x5e3f2d(0x1f2)]({'attributes':_0x17cc2b});}[_0x5974ad(0x206)](_0x389fec){const _0x124121=_0x5974ad,_0x4bf79a=_0x34f7f9(this[_0x124121(0x202)]);_0x36c9ad(_0x4bf79a,_0x389fec),this[_0x124121(0x1f2)]({'attributes':_0x4bf79a});}[_0x5974ad(0x1f2)](_0x5630b8,_0x376f74=!0x1){const _0x524907=_0x5974ad;let _0x7f4d0c=!0x1;const _0x4213d1={'id':this['id']},_0x22f9a7=[_0x524907(0x1fb),_0x524907(0x205),_0x524907(0x1f7),_0x524907(0x1f3),_0x524907(0x202),_0x524907(0x1f0),_0x524907(0x1fc),_0x524907(0x208)];for(const _0x4c113b of _0x22f9a7){const _0x3bd77b=_0x5630b8[_0x4c113b];void 0x0!==_0x3bd77b&&_0x3bd77b!==this[_0x4c113b]&&(this[_0x4c113b]=_0x3bd77b,_0x4213d1[_0x4c113b]=_0x3bd77b,_0x7f4d0c=!0x0);}_0x7f4d0c&&(_0x4213d1[_0x524907(0x1f3)]&&(_0x4213d1[_0x524907(0x1ff)]=_0x4213d1[_0x524907(0x1f3)][_0x524907(0x1f4)](_0xbd480d=>_0xbd480d['id']),delete _0x4213d1[_0x524907(0x1f3)]),this[_0x524907(0x1ee)](_0x524907(0x1f2),_0x4213d1,_0x376f74));}[_0x5974ad(0x1ed)](){const _0x20ce87=_0x5974ad;return{'id':this['id'],'name':this[_0x20ce87(0x1fb)],'creatorId':this[_0x20ce87(0x1f8)]?this[_0x20ce87(0x1f8)]['id']:null,'authorsIds':this[_0x20ce87(0x1f3)][_0x20ce87(0x1f4)](_0xa197b7=>_0xa197b7['id']),'diffData':this[_0x20ce87(0x1f7)],'createdAt':this[_0x20ce87(0x205)],'attributes':this[_0x20ce87(0x202)],'fromVersion':this[_0x20ce87(0x1fc)],'toVersion':this[_0x20ce87(0x1f0)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x12db(_0x50bbb7,_0x4a7f3e){const _0x450c4a=_0x450c();return _0x12db=function(_0x12db48,_0x5bbbda){_0x12db48=_0x12db48-0x162;let _0x8fb70=_0x450c4a[_0x12db48];return _0x8fb70;},_0x12db(_0x50bbb7,_0x4a7f3e);}const _0x55a19c=_0x12db;(function(_0x1414a5,_0x315ff6){const _0xae41dd=_0x12db,_0x22eb94=_0x1414a5();while(!![]){try{const _0x5f0eef=parseInt(_0xae41dd(0x16c))/0x1+parseInt(_0xae41dd(0x164))/0x2+parseInt(_0xae41dd(0x163))/0x3*(parseInt(_0xae41dd(0x16e))/0x4)+-parseInt(_0xae41dd(0x167))/0x5+-parseInt(_0xae41dd(0x168))/0x6*(parseInt(_0xae41dd(0x169))/0x7)+-parseInt(_0xae41dd(0x162))/0x8+parseInt(_0xae41dd(0x16a))/0x9;if(_0x5f0eef===_0x315ff6)break;else _0x22eb94['push'](_0x22eb94['shift']());}catch(_0x32f9ef){_0x22eb94['push'](_0x22eb94['shift']());}}}(_0x450c,0x675ee));function _0x450c(){const _0xb16fd0=['422384SXTqyF','_setChanges','56kxEpOo','add','4200376EYzRRC','110463YvJBLV','27938NHAaTP','oldRevisionId','newRevisionId','2464790oUVaBS','78138pLcLTd','161sypBJU','7101837DVQmOa','changes'];_0x450c=function(){return _0xb16fd0;};return _0x450c();}import{Collection as _0x3cbd19}from'ckeditor5/src/utils.js';export default class f{constructor(_0x1cce64,_0x2ba450){const _0xe34c6=_0x12db;this[_0xe34c6(0x166)]=_0x1cce64,this[_0xe34c6(0x165)]=_0x2ba450,this[_0xe34c6(0x16b)]=new _0x3cbd19();}[_0x55a19c(0x16d)](_0x3a9edc){const _0x1de339=_0x55a19c;for(const _0x4b2c04 of _0x3a9edc)this[_0x1de339(0x16b)][_0x1de339(0x16f)](_0x4b2c04);}}
|
package/src/revisionhistory.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
|
22
22
|
*/
|
|
23
23
|
export default class RevisionHistory extends Plugin {
|
|
24
24
|
static get pluginName(): "RevisionHistory";
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
static get isOfficialPlugin(): true;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
static get isPremiumPlugin(): true;
|
|
25
33
|
static get requires(): readonly [typeof RevisionTracker, typeof RevisionHistoryUI];
|
|
26
34
|
constructor(editor: Editor);
|
|
27
35
|
/**
|
package/src/revisionhistory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1fc27a=_0x2617;function _0x57a4(){const _0x465217=['9FVUohK','Restored','createRangeIn','restoreRevision','requires','revision-history-missing-configuration','836400geYbEa','_showRevisionViewer','changesNavigation','toolbar','refreshVisibility','701550cplSqa','setSelection','30qsuSNS','save','revisionHistory','block','translations','_recalculatePageBreaks','remove','detachRoot','toVersion','getRevisions','result','getRevisionData','addUser','revisionHistory.closeRevisionViewerCallback','update','create','RestrictedEditingMode','70170ePwBFY','getRoot','markers','saveRevision','_closeRevisionViewer','then','restrictedEditingException','from','removeAttribute','includes','insert','end','pluginName','RevisionTracker','RevisionViewerIntegration','removeMarker','config','$graveyard','_enhanceShowRevisionViewerCallback','editor','fromVersion','keys','showRevisionViewerCallback','PaginationLookup','change','RevisionViewer','catch','init','getMarkersGroup','revisionHistory.editorContainer','lazyRoots','name','revisionHistory.viewerEditorElement','has','isAttached','3296660BiLvhH','enableReadOnlyMode','getRevision','_restoreRevision','define','isAnonymous','roots','none','enqueueChange','toLocaleDateString','getRevisionRootsAttributes','_cleanUp','display','closeRevisionViewerCallback','_viewerEditor','3001602TWWfev','locale','bind','addRevisionData','_update','set','RevisionHistory','isEnabled','creator','repository','4896003GXpahY','setAttribute','uiLanguage','parse','data','_getRevisionViewerEditorConfig','adapter','isOpen','getUser','13212200fhYMtr','RevisionHistoryUI','toJSON','selection','Autosave','isReadOnly','Users','getAttributeKeys','addRoot','Dialog','toLocaleTimeString','revisionHistory.viewerContainer','style','exitToEditing','isReady','numeric','hide','revisionHistory.requireRevisionName','createdAt','_enhanceCloseRevisionViewerCallback','RevisionsRepository','revisionHistory.restoreRevisionCallback','revision-history-viewer-opened','get','users','indexOf','Annotations','model','destroy','revisionHistory.showRevisionViewerCallback','push','refreshPositioning','commands','disableReadOnlyMode','rootName','removeSelectionAttribute','document','plugins','long','error'];_0x57a4=function(){return _0x465217;};return _0x57a4();}function _0x2617(_0x44a0c1,_0x5f5b7c){const _0x57a414=_0x57a4();return _0x2617=function(_0x2617cb,_0x447a8a){_0x2617cb=_0x2617cb-0x12f;let _0x18c22e=_0x57a414[_0x2617cb];return _0x18c22e;},_0x2617(_0x44a0c1,_0x5f5b7c);}(function(_0x49118b,_0x408378){const _0x324237=_0x2617,_0x53a8c5=_0x49118b();while(!![]){try{const _0x583f62=parseInt(_0x324237(0x146))/0x1+-parseInt(_0x324237(0x14d))/0x2*(-parseInt(_0x324237(0x15e))/0x3)+parseInt(_0x324237(0x181))/0x4+-parseInt(_0x324237(0x14b))/0x5+-parseInt(_0x324237(0x190))/0x6+parseInt(_0x324237(0x19a))/0x7+parseInt(_0x324237(0x1a3))/0x8*(-parseInt(_0x324237(0x140))/0x9);if(_0x583f62===_0x408378)break;else _0x53a8c5['push'](_0x53a8c5['shift']());}catch(_0x2db21a){_0x53a8c5['push'](_0x53a8c5['shift']());}}}(_0x57a4,0x663b6));import{Plugin as _0xd10c42}from'ckeditor5/src/core.js';import{CKEditorError as _0x2530bc,uid as _0x15d8da}from'ckeditor5/src/utils.js';import _0x36c3c0 from'./revisiontracker.js';import _0x3992fa from'./ui/revisionhistory/revisionhistoryui.js';import _0x328a6f from'./revisionviewer.js';import _0x498464 from'./ui/revisionviewer/revisionviewerui.js';import _0x6744fc from'./ui/revisionssidebar/revisionssidebar.js';import _0x3194e from'./editor/revisionviewereditor.js';import{getTranslation as _0x93fcb6}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x1b7f8a}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x1fc27a(0x1a4),_0x1fc27a(0x15d)];class k extends _0xd10c42{static get[_0x1fc27a(0x16a)](){const _0x3f52dc=_0x1fc27a;return _0x3f52dc(0x16c);}constructor(_0x3f1b02){const _0xe77b06=_0x1fc27a;super(_0x3f1b02),this[_0xe77b06(0x157)]=_0xe77b06(0x169);}}export default class H extends _0xd10c42{static get[_0x1fc27a(0x16a)](){const _0x15b5f4=_0x1fc27a;return _0x15b5f4(0x196);}static get[_0x1fc27a(0x144)](){return[_0x36c3c0,_0x3992fa];}constructor(_0x2ae4cb){const _0x4a46e0=_0x1fc27a;if(super(_0x2ae4cb),!this[_0x4a46e0(0x171)][_0x4a46e0(0x16e)][_0x4a46e0(0x12f)](_0x4a46e0(0x14f)))throw new _0x2530bc(_0x4a46e0(0x145),this);this[_0x4a46e0(0x18f)]=null,this[_0x4a46e0(0x171)][_0x4a46e0(0x16e)][_0x4a46e0(0x185)](_0x4a46e0(0x135),_0x2aefd0=>this[_0x4a46e0(0x147)]({..._0x2aefd0,'translations':this[_0x4a46e0(0x171)][_0x4a46e0(0x191)][_0x4a46e0(0x151)]})),this[_0x4a46e0(0x171)][_0x4a46e0(0x16e)][_0x4a46e0(0x185)](_0x4a46e0(0x15a),_0x29ee39=>this[_0x4a46e0(0x162)](_0x29ee39)),this[_0x4a46e0(0x171)][_0x4a46e0(0x16e)][_0x4a46e0(0x185)](_0x4a46e0(0x1b8),_0x4f746f=>this[_0x4a46e0(0x184)](_0x4f746f)),this[_0x4a46e0(0x171)][_0x4a46e0(0x16e)][_0x4a46e0(0x185)](_0x4a46e0(0x1b4),!0x1),this[_0x4a46e0(0x170)](),this[_0x4a46e0(0x1b6)]();}set[_0x1fc27a(0x1a0)](_0x23dcf6){const _0x27fa5c=_0x1fc27a;this[_0x27fa5c(0x171)][_0x27fa5c(0x13d)][_0x27fa5c(0x12f)](_0x27fa5c(0x16b))[_0x27fa5c(0x1a0)]=_0x23dcf6;}get[_0x1fc27a(0x1a0)](){const _0x4bf881=_0x1fc27a;return this[_0x4bf881(0x171)][_0x4bf881(0x13d)][_0x4bf881(0x12f)](_0x4bf881(0x16b))[_0x4bf881(0x1a0)];}[_0x1fc27a(0x193)](_0x185fc1){const _0xce5035=_0x1fc27a;return this[_0xce5035(0x171)][_0xce5035(0x13d)][_0xce5035(0x12f)](_0xce5035(0x16b))[_0xce5035(0x193)](_0x185fc1);}[_0x1fc27a(0x183)](_0x16cf77){const _0x218baa=_0x1fc27a;return this[_0x218baa(0x171)][_0x218baa(0x13d)][_0x218baa(0x12f)](_0x218baa(0x1b7))[_0x218baa(0x183)](_0x16cf77);}[_0x1fc27a(0x156)](_0x4b253a){const _0x234eb3=_0x1fc27a;return this[_0x234eb3(0x171)][_0x234eb3(0x13d)][_0x234eb3(0x12f)](_0x234eb3(0x1b7))[_0x234eb3(0x156)](_0x4b253a||{'toJSON':!0x1});}[_0x1fc27a(0x19f)](){const _0x3f9311=_0x1fc27a,_0x2db766=this[_0x3f9311(0x171)],_0x420c14=_0x1b7f8a(_0x2db766,p),_0x19f436=_0x2db766[_0x3f9311(0x13d)][_0x3f9311(0x12f)](_0x3f9311(0x16b)),_0x5abd09=_0x2db766[_0x3f9311(0x13d)][_0x3f9311(0x12f)](_0x3f9311(0x1a9))[_0x3f9311(0x130)];return _0x420c14[_0x3f9311(0x149)]=[_0x3f9311(0x1b0),_0x3f9311(0x143),_0x3f9311(0x148)],delete _0x420c14[_0x3f9311(0x17c)],(_0x420c14[_0x3f9311(0x13d)][_0x3f9311(0x136)](k,_0x328a6f,_0x498464,class extends _0xd10c42{static get[_0x3f9311(0x144)](){const _0x35f4ba=_0x3f9311;return[_0x328a6f,_0x35f4ba(0x1a9)];}[_0x3f9311(0x179)](){const _0x652f40=_0x3f9311,_0x3d9d67=this[_0x652f40(0x171)][_0x652f40(0x13d)][_0x652f40(0x12f)](_0x652f40(0x1a9));for(const _0x1be303 of _0x5abd09)_0x1be303[_0x652f40(0x186)]||_0x3d9d67[_0x652f40(0x1a2)](_0x1be303['id'])||_0x3d9d67[_0x652f40(0x159)](_0x1be303);const _0x361127=_0x19f436[_0x652f40(0x199)][_0x652f40(0x156)]();let _0x8a83b2=null;const _0x6daf05=this[_0x652f40(0x171)][_0x652f40(0x13d)][_0x652f40(0x12f)](_0x652f40(0x177));_0x6daf05[_0x652f40(0x1a0)]=_0x19f436[_0x652f40(0x1a0)],_0x6daf05[_0x652f40(0x192)](_0x652f40(0x197))['to'](_0x19f436),this[_0x652f40(0x171)][_0x652f40(0x138)][_0x652f40(0x12f)](_0x652f40(0x143))[_0x652f40(0x192)](_0x652f40(0x197))['to'](_0x2db766,_0x652f40(0x1a8),_0x409d5d=>!_0x409d5d);for(const _0x30b1cb of _0x361127){const _0x256f38=null===_0x30b1cb[_0x652f40(0x198)];if(_0x256f38&&_0x30b1cb[_0x652f40(0x155)]===_0x30b1cb[_0x652f40(0x172)])continue;const _0x3aabfe=_0x30b1cb[_0x652f40(0x1a5)]();_0x6daf05[_0x652f40(0x193)](_0x3aabfe,(_0x4cdf7c,_0x17bdd4,_0x54824c)=>{const _0x326088=_0x652f40;if(_0x256f38){if(_0x8a83b2)_0x8a83b2[_0x326088(0x194)](_0x4cdf7c,_0x17bdd4);else{if(!_0x17bdd4){const _0x47ab57=_0x54824c[_0x326088(0x1a5)]();_0x47ab57['id']=_0x15d8da(),_0x19f436[_0x326088(0x161)](_0x47ab57,_0x54824c[_0x326088(0x155)])[_0x326088(0x163)](_0x2f3708=>{_0x8a83b2=_0x2f3708;});}}}else _0x30b1cb[_0x326088(0x194)](_0x4cdf7c,_0x17bdd4);});}}},_0x6744fc),_0x420c14);}[_0x1fc27a(0x170)](){const _0x32664f=_0x1fc27a,_0x4613a2=this[_0x32664f(0x171)][_0x32664f(0x16e)][_0x32664f(0x12f)](_0x32664f(0x14f))[_0x32664f(0x174)];this[_0x32664f(0x171)][_0x32664f(0x16e)][_0x32664f(0x195)](_0x32664f(0x135),async()=>{const _0x55758c=_0x32664f;this[_0x55758c(0x171)][_0x55758c(0x182)](_0x55758c(0x1b9));const _0x1e5930=this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x12f)](_0x55758c(0x16b));if(this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x17f)](_0x55758c(0x1a7))){const _0x55a954=this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x12f)](_0x55758c(0x1a7));await _0x55a954[_0x55758c(0x14e)]();}else await _0x1e5930[_0x55758c(0x15b)]();if(this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x17f)](_0x55758c(0x175))&&this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x12f)](_0x55758c(0x175))[_0x55758c(0x152)](),this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x17f)](_0x55758c(0x1ac))){const _0x1dee1a=this[_0x55758c(0x171)][_0x55758c(0x13d)][_0x55758c(0x12f)](_0x55758c(0x1ac));_0x1dee1a[_0x55758c(0x1a1)]&&_0x1dee1a[_0x55758c(0x1b3)]();}const _0xd5588f=this[_0x55758c(0x19f)]();return _0x4613a2(_0xd5588f)[_0x55758c(0x163)](_0x57b9e3=>{const _0x5222b6=_0x55758c;return(this[_0x5222b6(0x18f)]=_0x57b9e3,this[_0x5222b6(0x171)][_0x5222b6(0x13d)][_0x5222b6(0x17f)](_0x5222b6(0x132)))&&this[_0x5222b6(0x171)][_0x5222b6(0x13d)][_0x5222b6(0x12f)](_0x5222b6(0x132))[_0x5222b6(0x14a)](),_0x57b9e3;})[_0x55758c(0x178)](_0x1ca7bb=>(console[_0x55758c(0x13f)](_0x1ca7bb),this[_0x55758c(0x171)][_0x55758c(0x139)](_0x55758c(0x1b9)),null));});}[_0x1fc27a(0x1b6)](){const _0x39fcef=_0x1fc27a,_0x44d594=this[_0x39fcef(0x171)][_0x39fcef(0x16e)][_0x39fcef(0x12f)](_0x39fcef(0x14f))[_0x39fcef(0x18e)];this[_0x39fcef(0x171)][_0x39fcef(0x16e)][_0x39fcef(0x195)](_0x39fcef(0x15a),()=>(this[_0x39fcef(0x171)][_0x39fcef(0x13d)][_0x39fcef(0x17f)](_0x39fcef(0x175))&&this[_0x39fcef(0x171)][_0x39fcef(0x13d)][_0x39fcef(0x12f)](_0x39fcef(0x175))[_0x39fcef(0x152)](),this[_0x39fcef(0x18f)][_0x39fcef(0x13d)][_0x39fcef(0x12f)](_0x39fcef(0x177))[_0x39fcef(0x18c)](),_0x44d594(this[_0x39fcef(0x18f)])[_0x39fcef(0x163)](()=>{const _0x160f1e=_0x39fcef;if(this[_0x160f1e(0x171)][_0x160f1e(0x139)](_0x160f1e(0x1b9)),this[_0x160f1e(0x18f)]=null,this[_0x160f1e(0x171)][_0x160f1e(0x13d)][_0x160f1e(0x17f)](_0x160f1e(0x132))){const _0x14e5c5=this[_0x160f1e(0x171)][_0x160f1e(0x13d)][_0x160f1e(0x12f)](_0x160f1e(0x132));_0x14e5c5[_0x160f1e(0x14a)](),_0x14e5c5[_0x160f1e(0x137)]();}})));}[_0x1fc27a(0x147)](_0x286db7){const _0x429384=_0x1fc27a,_0x20f555=this[_0x429384(0x171)][_0x429384(0x16e)][_0x429384(0x12f)](_0x429384(0x17b)),_0x32611b=this[_0x429384(0x171)][_0x429384(0x16e)][_0x429384(0x12f)](_0x429384(0x1ae)),_0x3ccc5d=this[_0x429384(0x171)][_0x429384(0x16e)][_0x429384(0x12f)](_0x429384(0x17e));return _0x3194e[_0x429384(0x15c)](_0x3ccc5d,_0x286db7)[_0x429384(0x163)](_0x56ce76=>(_0x32611b[_0x429384(0x1af)][_0x429384(0x18d)]=_0x429384(0x150),_0x20f555[_0x429384(0x1af)][_0x429384(0x18d)]=_0x429384(0x188),_0x56ce76));}[_0x1fc27a(0x162)](_0x27fcd1){const _0xc08d4e=_0x1fc27a,_0x422365=this[_0xc08d4e(0x171)][_0xc08d4e(0x16e)][_0xc08d4e(0x12f)](_0xc08d4e(0x17b));return this[_0xc08d4e(0x171)][_0xc08d4e(0x16e)][_0xc08d4e(0x12f)](_0xc08d4e(0x1ae))[_0xc08d4e(0x1af)][_0xc08d4e(0x18d)]=_0xc08d4e(0x188),_0x422365[_0xc08d4e(0x1af)][_0xc08d4e(0x18d)]='',_0x27fcd1[_0xc08d4e(0x134)]();}async[_0x1fc27a(0x184)](_0x30b62d){const _0x5d4246=_0x1fc27a,_0xcdfb19=this[_0x5d4246(0x171)],_0x85953=this[_0x5d4246(0x18f)][_0x5d4246(0x13d)][_0x5d4246(0x12f)](_0x5d4246(0x177)),_0x1fbddd=_0xcdfb19[_0x5d4246(0x13d)][_0x5d4246(0x12f)](_0x5d4246(0x16b)),_0x56dea3=_0x85953[_0x5d4246(0x199)][_0x5d4246(0x183)](_0x30b62d);let _0x50e97f,_0x77c277,_0x39cbeb;try{_0x50e97f=await _0x85953[_0x5d4246(0x158)](_0x56dea3),_0x77c277=await _0x85953[_0x5d4246(0x18b)](_0x56dea3);}catch(_0x36fd9e){return void console[_0x5d4246(0x13f)](_0x36fd9e);}_0xcdfb19[_0x5d4246(0x133)][_0x5d4246(0x176)](_0x38db6e=>{const _0x11fda8=_0x5d4246;for(const _0x2ec823 of Array[_0x11fda8(0x165)](_0xcdfb19[_0x11fda8(0x133)][_0x11fda8(0x160)][_0x11fda8(0x17a)](_0x11fda8(0x164))))_0x38db6e[_0x11fda8(0x16d)](_0x2ec823);}),_0x85953[_0x5d4246(0x1b1)]=!0x1,_0xcdfb19[_0x5d4246(0x133)][_0x5d4246(0x189)](_0x555454=>{const _0x454396=_0x5d4246;_0x555454[_0x454396(0x14c)](null),_0x555454[_0x454396(0x13b)](_0xcdfb19[_0x454396(0x133)][_0x454396(0x13c)][_0x454396(0x1a6)][_0x454396(0x1aa)]());const _0x1033e3=Object[_0x454396(0x173)](_0x50e97f);for(const _0x23af33 of _0xcdfb19[_0x454396(0x133)][_0x454396(0x13c)][_0x454396(0x187)])_0x454396(0x16f)!=_0x23af33[_0x454396(0x13a)]&&_0x23af33[_0x454396(0x180)]()&&!_0x1033e3[_0x454396(0x167)](_0x23af33[_0x454396(0x13a)])&&_0x555454[_0x454396(0x154)](_0x23af33);for(const _0x3a690a of _0x1033e3){let _0x5cd8b3=_0xcdfb19[_0x454396(0x133)][_0x454396(0x13c)][_0x454396(0x15f)](_0x3a690a);_0x5cd8b3&&_0x5cd8b3[_0x454396(0x180)]()||(_0x5cd8b3=_0x555454[_0x454396(0x1ab)](_0x3a690a));const _0xf59f9=_0x77c277[_0x3a690a],_0x1bf413=Object[_0x454396(0x173)](_0xf59f9),_0x15db5f=_0x50e97f[_0x3a690a];for(const _0x4d6a46 of _0x5cd8b3[_0x454396(0x1aa)]())_0x1bf413[_0x454396(0x167)](_0x4d6a46)||_0x555454[_0x454396(0x166)](_0x4d6a46,_0x5cd8b3);for(const _0x12825f of _0x1bf413)_0x555454[_0x454396(0x19b)](_0x12825f,_0x77c277[_0x3a690a][_0x12825f],_0x5cd8b3);_0x555454[_0x454396(0x153)](_0x555454[_0x454396(0x142)](_0x5cd8b3)),_0x555454[_0x454396(0x168)](_0xcdfb19[_0x454396(0x19e)][_0x454396(0x19d)](_0x15db5f,_0x5cd8b3),_0x5cd8b3,0x0);}});const _0x49799e=_0x93fcb6(_0xcdfb19[_0x5d4246(0x191)],_0x5d4246(0x141));if(_0x56dea3[_0x5d4246(0x17d)])_0x39cbeb=-0x1==_0x56dea3[_0x5d4246(0x17d)][_0x5d4246(0x131)](_0x49799e)?_0x49799e+':\x20'+_0x56dea3[_0x5d4246(0x17d)]:_0x56dea3[_0x5d4246(0x17d)];else _0x39cbeb=_0x49799e+':\x20'+(_0x56dea3[_0x5d4246(0x1b5)][_0x5d4246(0x18a)](_0xcdfb19[_0x5d4246(0x191)][_0x5d4246(0x19c)],{'month':_0x5d4246(0x13e),'day':_0x5d4246(0x1b2)})+',\x20'+_0x56dea3[_0x5d4246(0x1b5)][_0x5d4246(0x1ad)](_0xcdfb19[_0x5d4246(0x191)][_0x5d4246(0x19c)],{'hour':_0x5d4246(0x1b2),'minute':_0x5d4246(0x1b2)}));return await _0x1fbddd[_0x5d4246(0x161)]({'name':_0x39cbeb}),_0x85953[_0x5d4246(0x1b1)]=!0x0,_0xcdfb19[_0x5d4246(0x16e)][_0x5d4246(0x12f)](_0x5d4246(0x14f))[_0x5d4246(0x18e)]();}}
|
|
23
|
+
const _0x5eaefa=_0xc457;(function(_0x1213bf,_0x57e615){const _0x41d17c=_0xc457,_0x1a4d8b=_0x1213bf();while(!![]){try{const _0x441c86=parseInt(_0x41d17c(0x18d))/0x1+-parseInt(_0x41d17c(0x132))/0x2+-parseInt(_0x41d17c(0x1b5))/0x3*(parseInt(_0x41d17c(0x19d))/0x4)+-parseInt(_0x41d17c(0x141))/0x5+-parseInt(_0x41d17c(0x12c))/0x6+parseInt(_0x41d17c(0x177))/0x7*(-parseInt(_0x41d17c(0x198))/0x8)+parseInt(_0x41d17c(0x190))/0x9*(parseInt(_0x41d17c(0x160))/0xa);if(_0x441c86===_0x57e615)break;else _0x1a4d8b['push'](_0x1a4d8b['shift']());}catch(_0x49b97b){_0x1a4d8b['push'](_0x1a4d8b['shift']());}}}(_0x34e5,0x414ce));function _0xc457(_0x1d5e68,_0xacb939){const _0x34e5b1=_0x34e5();return _0xc457=function(_0xc4573e,_0x527876){_0xc4573e=_0xc4573e-0x12a;let _0x13dbdf=_0x34e5b1[_0xc4573e];return _0x13dbdf;},_0xc457(_0x1d5e68,_0xacb939);}import{Plugin as _0x56f763}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ca426,uid as _0x3c4c4d}from'ckeditor5/src/utils.js';import _0x24fcc4 from'./revisiontracker.js';import _0x41b0dc from'./ui/revisionhistory/revisionhistoryui.js';import _0xbcb7e0 from'./revisionviewer.js';import _0x1342f5 from'./ui/revisionviewer/revisionviewerui.js';function _0x34e5(){const _0x3ab4d1=['_update','Dialog','from','RevisionHistoryUI','getUser','long','removeSelectionAttribute','isOpen','toJSON','525415CjPtqR','get','fromVersion','9021897FYoCGK','_showRevisionViewer','saveRevision','revision-history-missing-configuration','document','change','numeric','getAttributeKeys','568YkJWia','showRevisionViewerCallback','revisionHistory','restoreRevision','isAnonymous','212vaCUyN','_closeRevisionViewer','insert','isReady','revisionHistory.editorContainer','translations','_viewerEditor','revisionHistory.requireRevisionName','catch','Users','roots','_enhanceShowRevisionViewerCallback','detachRoot','display','creator','getRevisions','getMarkersGroup','getRoot','define','rootName','toLocaleDateString','adapter','exitToEditing','refreshPositioning','2154FUehBp','RevisionHistory','has','revisionHistory.showRevisionViewerCallback','then','1881102lZQfDt','keys','Restored','commands','changesNavigation','style','765852SVatDa','remove','repository','removeMarker','selection','RevisionsRepository','disableReadOnlyMode','getRevisionData','name','end','block','includes','error','addRoot','update','1550915YsPDYe','hide','$graveyard','addRevisionData','isEnabled','editor','Annotations','none','push','parse','users','getRevision','_recalculatePageBreaks','isPremiumPlugin','PaginationLookup','RevisionTracker','requires','_cleanUp','lazyRoots','RevisionViewer','removeAttribute','uiLanguage','enqueueChange','createdAt','revisionHistory.viewerEditorElement','createRangeIn','_getRevisionViewerEditorConfig','setAttribute','isReadOnly','result','toolbar','10nWffry','addUser','isOfficialPlugin','locale','revision-history-viewer-opened','_restoreRevision','data','init','markers','getRevisionRootsAttributes','destroy','revisionHistory.viewerContainer','pluginName','setSelection','model','restrictedEditingException','refreshVisibility','revisionHistory.closeRevisionViewerCallback','_enhanceCloseRevisionViewerCallback','indexOf','config','isAttached','set','21266zSsDdN','RevisionViewerIntegration','save','bind','toVersion','enableReadOnlyMode','create','revisionHistory.restoreRevisionCallback','closeRevisionViewerCallback','toLocaleTimeString','plugins','RestrictedEditingMode','Autosave'];_0x34e5=function(){return _0x3ab4d1;};return _0x34e5();}import _0x11c002 from'./ui/revisionssidebar/revisionssidebar.js';import _0x1ffcda from'./editor/revisionviewereditor.js';import{getTranslation as _0x8b906a}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x198a0b}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x5eaefa(0x187),_0x5eaefa(0x182)];class k extends _0x56f763{static get[_0x5eaefa(0x16c)](){const _0x2e62bf=_0x5eaefa;return _0x2e62bf(0x178);}static get[_0x5eaefa(0x162)](){return!0x0;}static get[_0x5eaefa(0x14e)](){return!0x0;}constructor(_0x4e6943){const _0x1f7713=_0x5eaefa;super(_0x4e6943),this[_0x1f7713(0x15e)]=_0x1f7713(0x13b);}}export default class H extends _0x56f763{static get[_0x5eaefa(0x16c)](){const _0x20b4c=_0x5eaefa;return _0x20b4c(0x1b6);}static get[_0x5eaefa(0x162)](){return!0x0;}static get[_0x5eaefa(0x14e)](){return!0x0;}static get[_0x5eaefa(0x151)](){return[_0x24fcc4,_0x41b0dc];}constructor(_0x2d9085){const _0xf11b01=_0x5eaefa;if(super(_0x2d9085),!this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x18e)](_0xf11b01(0x19a)))throw new _0x1ca426(_0xf11b01(0x193),this);this[_0xf11b01(0x1a3)]=null,this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x12a),_0x825c59=>this[_0xf11b01(0x191)]({..._0x825c59,'translations':this[_0xf11b01(0x146)][_0xf11b01(0x163)][_0xf11b01(0x1a2)]})),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x171),_0x2e8749=>this[_0xf11b01(0x19e)](_0x2e8749)),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x17e),_0x11e064=>this[_0xf11b01(0x165)](_0x11e064)),this[_0xf11b01(0x146)][_0xf11b01(0x174)][_0xf11b01(0x1af)](_0xf11b01(0x1a4),!0x1),this[_0xf11b01(0x1a8)](),this[_0xf11b01(0x172)]();}set[_0x5eaefa(0x1b2)](_0x4156e6){const _0x21ea86=_0x5eaefa;this[_0x21ea86(0x146)][_0x21ea86(0x181)][_0x21ea86(0x18e)](_0x21ea86(0x150))[_0x21ea86(0x1b2)]=_0x4156e6;}get[_0x5eaefa(0x1b2)](){const _0x5be3ba=_0x5eaefa;return this[_0x5be3ba(0x146)][_0x5be3ba(0x181)][_0x5be3ba(0x18e)](_0x5be3ba(0x150))[_0x5be3ba(0x1b2)];}[_0x5eaefa(0x144)](_0x271f7f){const _0x1ed7fd=_0x5eaefa;return this[_0x1ed7fd(0x146)][_0x1ed7fd(0x181)][_0x1ed7fd(0x18e)](_0x1ed7fd(0x150))[_0x1ed7fd(0x144)](_0x271f7f);}[_0x5eaefa(0x14c)](_0x3c9295){const _0x33a942=_0x5eaefa;return this[_0x33a942(0x146)][_0x33a942(0x181)][_0x33a942(0x18e)](_0x33a942(0x137))[_0x33a942(0x14c)](_0x3c9295);}[_0x5eaefa(0x1ac)](_0x67e2b7){const _0x198e00=_0x5eaefa;return this[_0x198e00(0x146)][_0x198e00(0x181)][_0x198e00(0x18e)](_0x198e00(0x137))[_0x198e00(0x1ac)](_0x67e2b7||{'toJSON':!0x1});}[_0x5eaefa(0x15b)](){const _0x2e0963=_0x5eaefa,_0x410ce3=this[_0x2e0963(0x146)],_0x5c6dbb=_0x198a0b(_0x410ce3,p),_0x12fd7f=_0x410ce3[_0x2e0963(0x181)][_0x2e0963(0x18e)](_0x2e0963(0x150)),_0x51362c=_0x410ce3[_0x2e0963(0x181)][_0x2e0963(0x18e)](_0x2e0963(0x1a6))[_0x2e0963(0x14b)];return _0x5c6dbb[_0x2e0963(0x15f)]=[_0x2e0963(0x1b3),_0x2e0963(0x19b),_0x2e0963(0x130)],delete _0x5c6dbb[_0x2e0963(0x153)],(_0x5c6dbb[_0x2e0963(0x181)][_0x2e0963(0x149)](k,_0xbcb7e0,_0x1342f5,class extends _0x56f763{static get[_0x2e0963(0x151)](){const _0x5510d2=_0x2e0963;return[_0xbcb7e0,_0x5510d2(0x1a6)];}[_0x2e0963(0x167)](){const _0x293059=_0x2e0963,_0x1919e9=this[_0x293059(0x146)][_0x293059(0x181)][_0x293059(0x18e)](_0x293059(0x1a6));for(const _0x59c70f of _0x51362c)_0x59c70f[_0x293059(0x19c)]||_0x1919e9[_0x293059(0x188)](_0x59c70f['id'])||_0x1919e9[_0x293059(0x161)](_0x59c70f);const _0x7232a=_0x12fd7f[_0x293059(0x134)][_0x293059(0x1ac)]();let _0x107c9b=null;const _0x160177=this[_0x293059(0x146)][_0x293059(0x181)][_0x293059(0x18e)](_0x293059(0x154));_0x160177[_0x293059(0x1b2)]=_0x12fd7f[_0x293059(0x1b2)],_0x160177[_0x293059(0x17a)](_0x293059(0x145))['to'](_0x12fd7f),this[_0x293059(0x146)][_0x293059(0x12f)][_0x293059(0x18e)](_0x293059(0x19b))[_0x293059(0x17a)](_0x293059(0x145))['to'](_0x410ce3,_0x293059(0x15d),_0x340a67=>!_0x340a67);for(const _0x17322a of _0x7232a){const _0xb95bc0=null===_0x17322a[_0x293059(0x1ab)];if(_0xb95bc0&&_0x17322a[_0x293059(0x17b)]===_0x17322a[_0x293059(0x18f)])continue;const _0x531052=_0x17322a[_0x293059(0x18c)]();_0x160177[_0x293059(0x144)](_0x531052,(_0x2d2e84,_0x31be99,_0x2968fc)=>{const _0x53d085=_0x293059;if(_0xb95bc0){if(_0x107c9b)_0x107c9b[_0x53d085(0x184)](_0x2d2e84,_0x31be99);else{if(!_0x31be99){const _0x1e4033=_0x2968fc[_0x53d085(0x18c)]();_0x1e4033['id']=_0x3c4c4d(),_0x12fd7f[_0x53d085(0x192)](_0x1e4033,_0x2968fc[_0x53d085(0x17b)])[_0x53d085(0x12b)](_0x53c0fd=>{_0x107c9b=_0x53c0fd;});}}}else _0x17322a[_0x53d085(0x184)](_0x2d2e84,_0x31be99);});}}},_0x11c002),_0x5c6dbb);}[_0x5eaefa(0x1a8)](){const _0x492c4e=_0x5eaefa,_0x3b6b2c=this[_0x492c4e(0x146)][_0x492c4e(0x174)][_0x492c4e(0x18e)](_0x492c4e(0x19a))[_0x492c4e(0x199)];this[_0x492c4e(0x146)][_0x492c4e(0x174)][_0x492c4e(0x176)](_0x492c4e(0x12a),async()=>{const _0x410c6a=_0x492c4e;this[_0x410c6a(0x146)][_0x410c6a(0x17c)](_0x410c6a(0x164));const _0x461fbd=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x150));if(this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x183))){const _0x1f423e=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x183));await _0x1f423e[_0x410c6a(0x179)]();}else await _0x461fbd[_0x410c6a(0x140)]();if(this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x14f))&&this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x14f))[_0x410c6a(0x14d)](),this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x1b7)](_0x410c6a(0x185))){const _0x4cf270=this[_0x410c6a(0x146)][_0x410c6a(0x181)][_0x410c6a(0x18e)](_0x410c6a(0x185));_0x4cf270[_0x410c6a(0x18b)]&&_0x4cf270[_0x410c6a(0x142)]();}const _0x5e127d=this[_0x410c6a(0x15b)]();return _0x3b6b2c(_0x5e127d)[_0x410c6a(0x12b)](_0x1b52da=>{const _0x31975a=_0x410c6a;return(this[_0x31975a(0x1a3)]=_0x1b52da,this[_0x31975a(0x146)][_0x31975a(0x181)][_0x31975a(0x1b7)](_0x31975a(0x147)))&&this[_0x31975a(0x146)][_0x31975a(0x181)][_0x31975a(0x18e)](_0x31975a(0x147))[_0x31975a(0x170)](),_0x1b52da;})[_0x410c6a(0x1a5)](_0x181f66=>(console[_0x410c6a(0x13e)](_0x181f66),this[_0x410c6a(0x146)][_0x410c6a(0x138)](_0x410c6a(0x164)),null));});}[_0x5eaefa(0x172)](){const _0x35bec2=_0x5eaefa,_0x5e686c=this[_0x35bec2(0x146)][_0x35bec2(0x174)][_0x35bec2(0x18e)](_0x35bec2(0x19a))[_0x35bec2(0x17f)];this[_0x35bec2(0x146)][_0x35bec2(0x174)][_0x35bec2(0x176)](_0x35bec2(0x171),()=>(this[_0x35bec2(0x146)][_0x35bec2(0x181)][_0x35bec2(0x1b7)](_0x35bec2(0x14f))&&this[_0x35bec2(0x146)][_0x35bec2(0x181)][_0x35bec2(0x18e)](_0x35bec2(0x14f))[_0x35bec2(0x14d)](),this[_0x35bec2(0x1a3)][_0x35bec2(0x181)][_0x35bec2(0x18e)](_0x35bec2(0x154))[_0x35bec2(0x152)](),_0x5e686c(this[_0x35bec2(0x1a3)])[_0x35bec2(0x12b)](()=>{const _0x5e14c7=_0x35bec2;if(this[_0x5e14c7(0x146)][_0x5e14c7(0x138)](_0x5e14c7(0x164)),this[_0x5e14c7(0x1a3)]=null,this[_0x5e14c7(0x146)][_0x5e14c7(0x181)][_0x5e14c7(0x1b7)](_0x5e14c7(0x147))){const _0x1e6571=this[_0x5e14c7(0x146)][_0x5e14c7(0x181)][_0x5e14c7(0x18e)](_0x5e14c7(0x147));_0x1e6571[_0x5e14c7(0x170)](),_0x1e6571[_0x5e14c7(0x1b4)]();}})));}[_0x5eaefa(0x191)](_0x3c6803){const _0x632ae3=_0x5eaefa,_0x37b768=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x1a1)),_0x516e0a=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x16b)),_0xbb578=this[_0x632ae3(0x146)][_0x632ae3(0x174)][_0x632ae3(0x18e)](_0x632ae3(0x159));return _0x1ffcda[_0x632ae3(0x17d)](_0xbb578,_0x3c6803)[_0x632ae3(0x12b)](_0x2207e9=>(_0x516e0a[_0x632ae3(0x131)][_0x632ae3(0x1aa)]=_0x632ae3(0x13c),_0x37b768[_0x632ae3(0x131)][_0x632ae3(0x1aa)]=_0x632ae3(0x148),_0x2207e9));}[_0x5eaefa(0x19e)](_0x476cac){const _0xd7e495=_0x5eaefa,_0x358086=this[_0xd7e495(0x146)][_0xd7e495(0x174)][_0xd7e495(0x18e)](_0xd7e495(0x1a1));return this[_0xd7e495(0x146)][_0xd7e495(0x174)][_0xd7e495(0x18e)](_0xd7e495(0x16b))[_0xd7e495(0x131)][_0xd7e495(0x1aa)]=_0xd7e495(0x148),_0x358086[_0xd7e495(0x131)][_0xd7e495(0x1aa)]='',_0x476cac[_0xd7e495(0x16a)]();}async[_0x5eaefa(0x165)](_0x22e2bf){const _0x501752=_0x5eaefa,_0x413ea6=this[_0x501752(0x146)],_0x48f70e=this[_0x501752(0x1a3)][_0x501752(0x181)][_0x501752(0x18e)](_0x501752(0x154)),_0x135333=_0x413ea6[_0x501752(0x181)][_0x501752(0x18e)](_0x501752(0x150)),_0x237889=_0x48f70e[_0x501752(0x134)][_0x501752(0x14c)](_0x22e2bf);let _0x630d8b,_0x397a06,_0xcff3a8;try{_0x630d8b=await _0x48f70e[_0x501752(0x139)](_0x237889),_0x397a06=await _0x48f70e[_0x501752(0x169)](_0x237889);}catch(_0x384c92){return void console[_0x501752(0x13e)](_0x384c92);}_0x413ea6[_0x501752(0x16e)][_0x501752(0x195)](_0x5ce22f=>{const _0x8d6b9=_0x501752;for(const _0x46d239 of Array[_0x8d6b9(0x186)](_0x413ea6[_0x8d6b9(0x16e)][_0x8d6b9(0x168)][_0x8d6b9(0x1ad)](_0x8d6b9(0x16f))))_0x5ce22f[_0x8d6b9(0x135)](_0x46d239);}),_0x48f70e[_0x501752(0x1a0)]=!0x1,_0x413ea6[_0x501752(0x16e)][_0x501752(0x157)](_0x405131=>{const _0x257aeb=_0x501752;_0x405131[_0x257aeb(0x16d)](null),_0x405131[_0x257aeb(0x18a)](_0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x136)][_0x257aeb(0x197)]());const _0x60e131=Object[_0x257aeb(0x12d)](_0x630d8b);for(const _0x48a586 of _0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x1a7)])_0x257aeb(0x143)!=_0x48a586[_0x257aeb(0x1b0)]&&_0x48a586[_0x257aeb(0x175)]()&&!_0x60e131[_0x257aeb(0x13d)](_0x48a586[_0x257aeb(0x1b0)])&&_0x405131[_0x257aeb(0x1a9)](_0x48a586);for(const _0x4879b9 of _0x60e131){let _0x4ec441=_0x413ea6[_0x257aeb(0x16e)][_0x257aeb(0x194)][_0x257aeb(0x1ae)](_0x4879b9);_0x4ec441&&_0x4ec441[_0x257aeb(0x175)]()||(_0x4ec441=_0x405131[_0x257aeb(0x13f)](_0x4879b9));const _0x13b101=_0x397a06[_0x4879b9],_0x2f2da7=Object[_0x257aeb(0x12d)](_0x13b101),_0x1d6399=_0x630d8b[_0x4879b9];for(const _0x1517fc of _0x4ec441[_0x257aeb(0x197)]())_0x2f2da7[_0x257aeb(0x13d)](_0x1517fc)||_0x405131[_0x257aeb(0x155)](_0x1517fc,_0x4ec441);for(const _0x3561fe of _0x2f2da7)_0x405131[_0x257aeb(0x15c)](_0x3561fe,_0x397a06[_0x4879b9][_0x3561fe],_0x4ec441);_0x405131[_0x257aeb(0x133)](_0x405131[_0x257aeb(0x15a)](_0x4ec441)),_0x405131[_0x257aeb(0x19f)](_0x413ea6[_0x257aeb(0x166)][_0x257aeb(0x14a)](_0x1d6399,_0x4ec441),_0x4ec441,0x0);}});const _0x5d5e11=_0x8b906a(_0x413ea6[_0x501752(0x163)],_0x501752(0x12e));if(_0x237889[_0x501752(0x13a)])_0xcff3a8=-0x1==_0x237889[_0x501752(0x13a)][_0x501752(0x173)](_0x5d5e11)?_0x5d5e11+':\x20'+_0x237889[_0x501752(0x13a)]:_0x237889[_0x501752(0x13a)];else _0xcff3a8=_0x5d5e11+':\x20'+(_0x237889[_0x501752(0x158)][_0x501752(0x1b1)](_0x413ea6[_0x501752(0x163)][_0x501752(0x156)],{'month':_0x501752(0x189),'day':_0x501752(0x196)})+',\x20'+_0x237889[_0x501752(0x158)][_0x501752(0x180)](_0x413ea6[_0x501752(0x163)][_0x501752(0x156)],{'hour':_0x501752(0x196),'minute':_0x501752(0x196)}));return await _0x135333[_0x501752(0x192)]({'name':_0xcff3a8}),_0x48f70e[_0x501752(0x1a0)]=!0x0,_0x413ea6[_0x501752(0x174)][_0x501752(0x18e)](_0x501752(0x19a))[_0x501752(0x17f)]();}}
|
|
@@ -15,6 +15,14 @@ import { default as Revision, type RevisionData, type RevisionJSON } from './rev
|
|
|
15
15
|
export default class RevisionsRepository extends Plugin {
|
|
16
16
|
static get requires(): readonly [typeof Users];
|
|
17
17
|
static get pluginName(): "RevisionsRepository";
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get isOfficialPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get isPremiumPlugin(): true;
|
|
18
26
|
get length(): number;
|
|
19
27
|
constructor(editor: Editor);
|
|
20
28
|
/**
|